/* V429 - exclusivamente o tambor e o seletor no cabeçalho. */
header > .top > .totem {
  position:relative!important; width:100%!important; min-width:0!important;
  height:100px!important; min-height:0!important; overflow:visible!important;
  border:0!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important; margin:0!important; padding:0!important;
}
/* O carrossel antigo continua no DOM: é usado pela lógica da V428 para atualizar o mapa. */
header > .top > .totem > .t-head,
header > .top > .totem > .board { display:none!important; }
#gm-drum-ui {
  --fuel-accent:#64748B; width:100%;height:100%; position:relative;
  display:flex; flex-flow:row nowrap;align-items:center;justify-content:center;
  gap:clamp(6px,1.3vw,18px);min-width:0;isolation:isolate;overflow:visible;
}
#gm-drum-canvas {
  height:100%; min-width:110px; width:clamp(160px,47%,320px);
  flex:1 1 250px; position:relative; overflow:hidden; touch-action:none;
}
#gm-drum-canvas canvas {display:block;width:100%;height:100%;outline:none;touch-action:none;}
#gm-drum-canvas canvas:focus-visible {outline:1px solid var(--fuel-accent);outline-offset:-2px;}
#gm-drum-ui #fuel-picker {
  position:relative;z-index:110;left:auto;right:auto;top:auto;bottom:auto;
  transform:none; width:clamp(150px,17vw,214px);flex:0 1 214px;
  pointer-events:auto;font-family:Manrope,'Inter',system-ui,sans-serif; min-width:130px;
}
#gm-drum-ui #fuel-trigger {
  appearance:none; width:100%;min-height:62px;padding:2px 3px;
  display:flex;align-items:center;gap:9px;
  border:none!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;text-align:left;color:#f8fafc;
  cursor:pointer; transition:opacity .16s ease;
}
#gm-drum-ui #fuel-trigger:hover{opacity:.83;}
#gm-drum-ui #fuel-trigger:focus-visible,
#fuel-menu .fuel-option:focus-visible{outline:2px solid var(--fuel-accent);outline-offset:2px;}
#gm-drum-ui .fuel-drop {display:block;flex-shrink:0;object-fit:contain;width:27px;height:38px;
 filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));pointer-events:none;}
#gm-drum-ui #fuel-selected-swatch{width:33px;height:46px;}
#gm-drum-ui .fuel-trigger-text {display:flex;flex:1;flex-direction:column;min-width:0;gap:3px;}
#gm-drum-ui .fuel-trigger-label {font-size:9px;line-height:1.15;letter-spacing:.10em;
 color:#b4bac4;font-weight:750;text-transform:uppercase;}
#gm-drum-ui #fuel-current-name {font-size:12px;line-height:1.2;font-weight:720;white-space:normal;color:#fff;}
#gm-drum-ui #fuel-chevron {flex-shrink:0;color:#d6d9df;transition:transform .22s ease;}
#gm-drum-ui #fuel-trigger[aria-expanded="true"] #fuel-chevron{transform:rotate(180deg);}
#fuel-menu {
 position:absolute;z-index:300;top:calc(100% + 7px);left:auto;right:0;
 width:max(100%,230px);padding:5px 0;
 background:rgba(14,16,19,.98);border:none;border-top:1px solid rgba(255,255,255,.16);
 border-radius:0;box-shadow:0 14px 28px rgba(0,0,0,.35);
 max-height:min(370px,64vh);overflow-y:auto;
}
#fuel-menu[hidden]{display:none!important;}
#fuel-menu .fuel-option {
 appearance:none;width:100%;min-height:48px;padding:4px 10px;
 display:flex;align-items:center;gap:10px;background:transparent;
 border:none;border-left:2px solid transparent;color:#f1f4f6;
 font:650 12px/1.2 Manrope,'Inter',system-ui,sans-serif;text-align:left;
 cursor:pointer;transition:background .14s;
}
#fuel-menu .fuel-option .fuel-drop{width:26px;height:36px;}
#fuel-menu .fuel-option:hover, #fuel-menu .fuel-option:focus-visible{background:rgba(255,255,255,.09);}
#fuel-menu .fuel-option[aria-selected="true"]{background:rgba(255,255,255,.05);border-left-color:var(--fuel-accent);}
#fuel-menu .fuel-option-check {margin-left:auto;color:var(--fuel-accent);font-size:14px;}
#fuel-menu .fuel-option[aria-selected="false"] .fuel-option-check{visibility:hidden;}
#gm-drum-ui .screen-reader-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;
 overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
#gm-drum-ui #fuel-picker[data-spinning="true"] #fuel-selected-swatch {
 filter:drop-shadow(0 0 5px var(--fuel-accent));
}
/* Novo logótipo oficial: respeitar a proporção intrínseca do PNG 2048×682. */
header > .top .gm-primary-logo {
 display:block!important;width:min(24vw,284px)!important;max-width:100%!important;
 max-height:88px!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;
}
@media(max-width:1200px){
 header > .top > .totem{height:96px!important;}
 #gm-drum-canvas{flex-basis:245px;}
 header > .top .gm-primary-logo{width:min(34vw,265px)!important;}
}
@media(max-width:850px){
 header > .top > .totem{height:102px!important;}
 #gm-drum-ui{justify-content:center;gap:10px;}
 #gm-drum-canvas{flex:0 1 285px;width:50%;}
 #gm-drum-ui #fuel-picker{flex:0 1 220px;}
 header > .top .gm-primary-logo{width:min(42vw,260px)!important;max-height:75px!important;}
}
@media(max-width:560px){
 header > .top{grid-template-rows:auto 100px!important;}
 header > .top > .totem{height:100px!important;}
 #gm-drum-ui{gap:0;justify-content:space-between;}
 #gm-drum-canvas{flex:1 1 53%;min-width:120px;width:52%;}
 #gm-drum-ui #fuel-picker{flex:0 0 45%;width:45%;min-width:135px;}
 #gm-drum-ui #fuel-trigger{gap:5px;min-height:54px;padding:1px;}
 #gm-drum-ui #fuel-selected-swatch{width:26px;height:38px;}
 #gm-drum-ui #fuel-current-name{font-size:10.5px;}
 #gm-drum-ui .fuel-trigger-label{font-size:8px;}
 #fuel-menu{width:min(225px,85vw);}
 header > .top .gm-primary-logo{width:min(50vw,215px)!important;max-height:66px!important;}
}
@media(max-width:360px){
 #gm-drum-ui #fuel-picker{min-width:128px;flex-basis:44%;}
 #gm-drum-canvas{min-width:100px;}
 #gm-drum-ui #fuel-current-name{font-size:9.5px;}
}
@media(prefers-reduced-motion:reduce){#gm-drum-ui #fuel-chevron{transition:none;}}

/* V430: a representação de reserva ocupa sempre o mesmo local; sem novo card. */
#gm-drum-fallback{position:absolute!important;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;}
#gm-drum-ui[data-render-mode="webgl"] #gm-drum-fallback{display:none!important;}




/* V436 — alinhamento corrigido: tambor mais à esquerda e seletor encostado. */
#gm-drum-ui{
  display:grid!important;
  grid-template-columns:minmax(210px,280px) minmax(176px,230px)!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:6px!important;
  row-gap:0!important;
  transform:translateX(-72px);
}
#gm-drum-canvas{
  flex:none!important;
  width:clamp(210px,22vw,280px)!important;
  min-width:210px!important;
}
#gm-drum-ui #fuel-picker{
  flex:none!important;
  width:clamp(176px,15.8vw,230px)!important;
  min-width:176px!important;
  transform:none!important;
}
#gm-drum-ui #fuel-trigger{gap:8px!important;min-height:60px!important;padding:2px 2px 2px 0!important;}
#gm-drum-ui #fuel-selected-swatch{width:31px!important;height:43px!important;}
#gm-drum-ui #fuel-current-name{font-size:16px!important;line-height:1.08!important;font-weight:800!important;}
#gm-drum-ui .fuel-trigger-label{font-size:10px!important;letter-spacing:.11em!important;}
#gm-drum-canvas {cursor:ns-resize;}
@media(max-width:1200px){
  #gm-drum-ui{transform:translateX(-44px);grid-template-columns:minmax(208px,266px) minmax(170px,220px)!important;column-gap:6px!important;}
}
@media(max-width:850px){
  #gm-drum-ui{transform:translateX(-18px);grid-template-columns:minmax(190px,250px) minmax(166px,214px)!important;column-gap:5px!important;}
  #gm-drum-canvas{width:clamp(190px,42vw,250px)!important;min-width:190px!important;}
  #gm-drum-ui #fuel-picker{width:clamp(166px,34vw,214px)!important;min-width:166px!important;}
}
@media(max-width:560px){
  #gm-drum-ui{transform:none;grid-template-columns:minmax(135px,1fr) minmax(135px,1fr)!important;column-gap:4px!important;justify-content:space-between!important;}
  #gm-drum-canvas{width:100%!important;min-width:135px!important;}
  #gm-drum-ui #fuel-picker{width:100%!important;min-width:135px!important;}
  #gm-drum-ui #fuel-current-name{font-size:13px!important;line-height:1.1!important;}
  #gm-drum-ui .fuel-trigger-label{font-size:8.5px!important;}
  #gm-drum-ui #fuel-selected-swatch{width:25px!important;height:35px!important;}
}
@media(max-width:380px){
  #gm-drum-ui{grid-template-columns:minmax(122px,1fr) minmax(128px,1fr)!important;column-gap:3px!important;}
  #gm-drum-canvas{min-width:122px!important;}
  #gm-drum-ui #fuel-picker{min-width:128px!important;}
  #gm-drum-ui #fuel-current-name{font-size:11.5px!important;}
}
