/* Posicionar, batalha e TV. --lay diz ao JS se os paineis estao em cima/embaixo (pe) ou dos lados (lado). */
.posicionar, .batalha { --lay: pe; }
.narra { pointer-events: none; text-align: center; min-height: 0; }
.narra span { display: inline-block; max-width: 100%; padding: 5px 16px 7px; font: 900 clamp(23px, 6.200vw, 38px)/1.02 var(--casco-letra); color: var(--branco); background: rgba(6, 35, 44, .82); border-radius: 10px; corner-shape: bevel; animation: chega .25s cubic-bezier(.2, 1.500, .5, 1); overflow-wrap: anywhere; }
.narra .fogo { background: var(--tinta); color: #FFE9C7; } .narra .agua { background: #1B6A86; } .narra .ouro { background: var(--latao); color: var(--tinta); } .narra .verm { background: var(--verm); } .narra .verde { background: var(--boia2); } .narra .mag { background: var(--magenta); }
.narra .vai { opacity: 0; transform: translateY(-8px); transition: .35s; }
@keyframes chega { from { transform: scale(.7); opacity: 0; } }
.prazo { font: 900 28px/1 var(--casco-letra); background: var(--carta); color: var(--tinta); padding: 8px 12px; border-radius: 7px; flex: none; } .prazo.urgente { background: var(--verm); color: #fff; }
.painel { background: rgba(8, 44, 54, .96); box-shadow: 0 -3px 0 var(--aco); padding: 10px calc(var(--sr) + 12px) calc(var(--sb) + 12px) calc(var(--sl) + 12px); margin-top: auto; display: grid; gap: 10px; }
.dica { font-size: 17px; font-weight: 650; color: var(--nevoa); text-align: center; line-height: 1.150; }

/* ---- posicionar ---- */
.posicionar > .barra h1 { font-size: 25px; }
.prontos { display: flex; gap: 8px; padding: 0 calc(var(--sr) + 12px) 4px calc(var(--sl) + 12px); flex-wrap: wrap; pointer-events: none; }
.marca { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border-radius: 26px; background: rgba(6, 35, 44, .84); } .marca b { line-height: 1; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .marca small { color: var(--nevoa); font-size: 14.500px; } .marca.ok { background: var(--boia2); } .marca .ic { width: 22px; height: 22px; }
@media (max-width: 480px) and (orientation: portrait) { .prontos .marca small { display: none; } }
.aliados { display: flex; gap: 8px; padding: 0 12px; pointer-events: none; } .aliados figcaption { font-size: 14.500px; max-width: 104px; text-shadow: 0 1px 2px #000; }
.bandeja { display: flex; gap: 8px; align-items: stretch; justify-content: center; flex-wrap: wrap; min-height: 66px; }
.peca { display: grid; justify-items: center; align-content: end; gap: 3px; padding: 8px 10px 5px; border-radius: 9px; background: var(--casco2); box-shadow: inset 0 0 0 2px var(--aco); touch-action: none; min-width: 72px; min-height: 60px; cursor: grab; } .peca small { font-size: 14.500px; font-weight: 650; line-height: 1; white-space: nowrap; }
.peca .navio { height: 20px; width: calc(var(--len) * 18px); } .navio { display: block; fill: var(--branco); }
.tudo { align-self: center; grid-column: 1 / -1; color: var(--nevoa); text-align: center; }
.posicionar .atos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .posicionar .atos .btn { padding: 2px 6px 5px; gap: 6px; }
.esperando { display: grid; gap: 10px; justify-items: center; text-align: center; font-weight: 700; font-size: 20px; }
.posicionar .pronto { width: 100%; }
.travada .painel { justify-items: center; } .travada .dica { display: none; }

/* ---- batalha ---- */
.batalha .barra { padding-bottom: 6px; justify-content: space-between; }
.botoes.botoes { flex-wrap: wrap; } .batalha .barra .botoes { flex-wrap: nowrap; gap: 8px; }
.turno { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 16px 4px 5px; border-radius: 30px; background: rgba(6, 35, 44, .86); min-height: 48px; position: relative; }
.turno b { display: block; font: 900 22px/1 var(--casco-letra); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 44vw; } .turno small { display: block; font-size: 14.500px; color: var(--nevoa); line-height: 1; margin-top: 2px; } .turno small:empty { display: none; }
.turno.minha { background: var(--latao); color: var(--tinta); } .turno.minha small { color: #3A2C08; }
.turno[data-s]:not([data-s=""])::after { content: attr(data-s); font: 900 22px/1 var(--casco-letra); } .turno.urgente { background: var(--verm); color: #fff; }
.frotas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 7px; padding: 0 calc(var(--sr) + 10px) 0 calc(var(--sl) + 10px); }
.frota { --cor: var(--aco); position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 6px 8px; min-height: 62px; border-radius: 10px; background: rgba(8, 44, 54, .92); box-shadow: inset 0 0 0 2px var(--aco); text-align: left; }
.frota .dados { min-width: 0; flex: 1; display: grid; gap: 4px; justify-items: start; } .frota b { font-size: 17.500px; line-height: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .frota small { font-size: 14px; line-height: 1; color: var(--nevoa); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.silhuetas { display: flex; flex-wrap: wrap; gap: 3px 5px; align-items: end; } .silhuetas .navio { height: 10px; width: calc(var(--len) * 8px); } .silhuetas span { display: block; } .silhuetas .afundou .navio { fill: var(--sinal); opacity: .8; transform: rotate(14deg) translateY(2px); transform-origin: 30% 100%; clip-path: inset(0 0 25% 0); }
.frota.eu { background: rgba(20, 80, 95, .95); }
.frota.vez { box-shadow: inset 0 0 0 3px var(--latao); }
.frota.vez::before { content: ""; position: absolute; left: 12px; top: -7px; border: 8px solid transparent; border-top-color: var(--latao); border-bottom: 0; }
.mira { position: absolute; left: 4px; bottom: 3px; display: none; z-index: 2; box-shadow: 0 0 0 2px var(--tinta); color: #fff; background: var(--verm); border-radius: 50%; padding: 3px; } .mira .ic { width: 19px; height: 19px; } .frota.alvo .mira { display: block; } .frota.alvo { box-shadow: inset 0 0 0 3px var(--sinal); }
.frota.morta { filter: grayscale(.9) brightness(.7); } .frota.caiu .vigia { opacity: .5; } .frota.t0 { border-left: 6px solid #E0553E; } .frota.t1 { border-left: 6px solid var(--boia); }
.frota .vigia { transform-origin: 18% 30%; } .ataca .vigia, .sofre .vigia { transform: scale(1.520); z-index: 6; } .ataca .vigia { box-shadow: 0 0 0 2px var(--tinta), 0 0 0 6px var(--latao); } .sofre .vigia { box-shadow: 0 0 0 2px var(--tinta), 0 0 0 6px var(--sinal); }
.batalha[data-n="3"] .frota, .batalha[data-n="4"] .frota { flex-direction: column; align-items: center; gap: 5px; padding: 7px 4px; } .batalha[data-n="3"] .dados, .batalha[data-n="4"] .dados { justify-items: center; width: 100%; flex: none; } .batalha[data-n="3"] .silhuetas, .batalha[data-n="4"] .silhuetas { justify-content: center; } .batalha[data-n="3"] .silhuetas .navio, .batalha[data-n="4"] .silhuetas .navio { width: calc(var(--len) * 6px); height: 8px; } .batalha[data-n="4"] .frota b { font-size: 16px; } .batalha[data-n="3"] .mira, .batalha[data-n="4"] .mira { left: auto; right: 5px; top: 5px; bottom: auto; }
.batalha > .narra { position: relative; padding: 10px 12px 0; min-height: 56px; }
.leme { align-self: center; }
.reacoes { position: absolute; z-index: 8; right: calc(var(--sr) + 10px); top: calc(var(--st) + 64px); display: grid; grid-template-columns: repeat(4, 60px); gap: 6px; padding: 10px; background: var(--carta); border-radius: 14px; corner-shape: bevel; box-shadow: 0 0 0 2px var(--tinta), 0 10px 26px rgba(0, 0, 0, .45); } .reacoes button { width: 60px; height: 60px; padding: 5px; border-radius: 10px; } .reacoes button:active { transform: scale(.88); } .reacao { display: block; width: 100%; height: 100%; }
.arsenal { display: grid; gap: 7px; }
.energia { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; height: 11px; } .energia i { background: #0A2E38; box-shadow: inset 0 0 0 1px var(--aco); border-radius: 2px; } .energia i.on { background: var(--latao); box-shadow: none; } .energia i.vai { background: repeating-linear-gradient(135deg, var(--sinal) 0 4px, var(--branco) 4px 7px); }
.armas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; } .armas button { display: grid; justify-items: center; align-content: start; gap: 2px; min-height: 62px; padding: 6px 1px 4px; border-radius: 9px; background: var(--casco2); box-shadow: inset 0 0 0 2px var(--aco); min-width: 0; } .armas .ic { width: 25px; height: 25px; } .armas b { font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -.01em; max-width: 100%; overflow: hidden; } .custo { display: flex; gap: 2px; min-height: 6px; } .custo i { width: 5px; height: 6px; background: var(--latao); border-radius: 1px; } .armas .nao { opacity: .46; } .armas [aria-pressed=true] { background: var(--latao); color: var(--tinta); box-shadow: inset 0 0 0 2px #FFDE93; opacity: 1; } .armas [aria-pressed=true] .custo i { background: var(--tinta); }
[data-vez=outra] .armas button { opacity: .55; }
.comando { display: grid; grid-template-columns: 96px 1fr 112px; gap: 10px; align-items: center; min-height: 108px; } .meio { display: grid; gap: 8px; align-content: center; min-width: 0; }
.rumo { display: flex; justify-content: center; gap: 6px; } 
.mapinha { display: grid; gap: 3px; justify-items: center; width: 96px; } .mapinha canvas { width: 92px; height: 92px; display: block; border-radius: 4px; } .mapinha span { font-size: 14px; line-height: 1; color: var(--nevoa); white-space: nowrap; max-width: 96px; overflow: hidden; text-overflow: ellipsis; } .mapinha.tampada canvas { background: repeating-linear-gradient(45deg, #12485A 0 8px, #0E3C4B 8px 16px); box-shadow: inset 0 0 0 2px var(--aco); } .mapinha { touch-action: none; -webkit-touch-callout: none; }
.fogao { position: relative; width: 104px; height: 104px; justify-self: end; border-radius: 50%; background: #5E1409; display: grid; place-items: center; margin: 4px; box-shadow: 0 0 0 3px var(--tinta); }
.fogao::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--verm); box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .26), inset 0 0 0 2px #E8604A; transition: transform .08s; } .fogao:active:not(:disabled)::before { transform: translateY(3px); } .fogao:disabled::before { background: #1A5464; box-shadow: inset 0 0 0 2px var(--aco); } .fogao:disabled { background: #082E39; }
.fogao .txt { position: relative; display: grid; justify-items: center; line-height: 1; } .fogao b { font: 900 25px/1 var(--casco-letra); color: #fff; } .fogao small { font-size: 17px; font-weight: 800; color: #FFE6DC; margin-top: 4px; } .fogao small:empty { display: none; } .fogao.longo b { font-size: .86em; } .fogao.longo .txt { font-size: 23px; } .fogao:disabled b { font-size: 20px; color: #CFE3E5; } .fogao:disabled small { color: #CFE3E5; }
.fogao.pronto::before { animation: pulsa 1.300s ease-in-out infinite; } @keyframes pulsa { 50% { background: #E64B31; box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .26), inset 0 0 0 2px #FFB199, 0 0 22px 3px rgba(255, 106, 77, .6); } }
.rel { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); } .rel circle { fill: none; stroke-width: 7; } .rel .tr { stroke: rgba(0, 0, 0, .3); } .rel .at { stroke: var(--latao); transition: stroke-dashoffset .25s linear; } .fogao.urgente .rel .at { stroke: #fff; } .fogao[data-s]:not([data-s=""])::after { content: attr(data-s); position: absolute; top: -10px; right: -6px; min-width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--branco); color: var(--verm2); font: 900 24px/1 var(--casco-letra); box-shadow: 0 0 0 2px var(--tinta); animation: chega .2s; }
.treme { animation: treme .4s; } @keyframes treme { 20% { transform: translate(-7px, 3px); } 40% { transform: translate(6px, -3px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }
.batalha[data-plateia=sim] .comando { grid-template-columns: 1fr; min-height: 0; } .batalha[data-plateia=sim] .mapinha, .batalha[data-plateia=sim] .fogao { display: none; }

/* ---- paineis dos lados: celular deitado, tablet e computador ---- */
@media (orientation: landscape), (min-width: 1000px) {
  .posicionar, .batalha { --lay: lado; }
  .batalha { display: grid; grid-template: "vez nar bot" auto "fro nar pan" 1fr / 236px minmax(0, 1fr) 308px; }
  .batalha > .barra { display: contents; } .batalha .turno { grid-area: vez; margin: calc(var(--st) + 10px) 0 8px calc(var(--sl) + 10px); pointer-events: auto; align-self: start; } .turno b { max-width: 158px; } .batalha .barra .botoes { grid-area: bot; justify-content: flex-end; padding: calc(var(--st) + 10px) calc(var(--sr) + 10px) 8px 0; pointer-events: auto; }
  .frotas { grid-area: fro; grid-auto-flow: row; grid-auto-rows: max-content; align-content: start; padding-right: 0; overflow: visible; gap: 9px; } .frota, .batalha[data-n="3"] .frota, .batalha[data-n="4"] .frota { flex-direction: row; align-items: center; padding: 9px 10px; gap: 12px; } .batalha[data-n="3"] .dados, .batalha[data-n="4"] .dados { justify-items: start; flex: 1; } .batalha .silhuetas.silhuetas { justify-content: flex-start; } .batalha .frota .vigia { --d: 60px; } .batalha .silhuetas.silhuetas .navio { width: calc(var(--len) * 9px); height: 11px; } .frota.vez::before { left: -2px; top: 50%; margin-top: -9px; border: 9px solid transparent; border-left-color: var(--latao); border-right: 0; } .ataca .vigia, .sofre .vigia { transform: scale(1.750); } .batalha .frota b { font-size: 20px; } .batalha[data-n="3"] .mira, .batalha[data-n="4"] .mira { right: auto; left: 4px; top: auto; bottom: 3px; }
  .batalha > .narra { grid-area: nar; align-self: start; justify-self: center; padding-top: calc(var(--st) + 12px); } .leme { grid-area: nar; align-self: end; justify-self: center; margin-bottom: 20px; } .reacoes { right: calc(var(--sr) + 320px); top: calc(var(--st) + 12px); }
  .painel { grid-area: pan; } .batalha > .painel { margin: 0; align-self: end; background: none; box-shadow: none; padding: 8px calc(var(--sr) + 12px) calc(var(--sb) + 14px) 4px; gap: 12px; } .armas { grid-template-columns: repeat(3, 1fr); gap: 7px; } .armas button { min-height: 72px; padding-top: 9px; background: rgba(20, 80, 95, .96); } .armas b { font-size: 16px; } .armas .ic { width: 30px; height: 30px; } .energia { height: 14px; background: rgba(6, 35, 44, .8); padding: 2px; border-radius: 4px; }
  .comando { grid-template-columns: 1fr auto; grid-template-areas: "meio meio" "mapa fogo"; } .meio { grid-area: meio; } .mapinha { grid-area: mapa; width: 132px; } .mapinha canvas { width: 128px; height: 128px; } .mapinha span { max-width: 132px; font-size: 16px; text-shadow: 0 1px 2px #000; } .fogao { grid-area: fogo; width: 128px; height: 128px; } .fogao b { font-size: 31px; } .fogao.longo .txt { font-size: 29px; } .dica { background: rgba(6, 35, 44, .84); border-radius: 8px; padding: 8px 10px; color: var(--espuma); }
  .posicionar { display: grid; grid-template: "top top" auto "pro pan" auto "ali pan" auto ". pan" 1fr / 1fr 300px; } .posicionar > .barra { grid-area: top; } .posicionar .prontos { grid-area: pro; align-self: start; flex-direction: column; align-items: flex-start; } .aliados { grid-area: ali; flex-direction: column; } .posicionar > .painel { grid-area: pan; align-self: end; margin: 0 calc(var(--sr) + 10px) calc(var(--sb) + 10px) 0; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--aco); padding: 14px; } .bandeja { flex-direction: column; align-items: stretch; gap: 6px; flex-wrap: nowrap; } .peca { grid-template-columns: 1fr auto; align-items: center; justify-items: start; align-content: center; min-height: 48px; padding: 4px 12px; } .peca .navio { width: calc(var(--len) * 21px); height: 21px; } .posicionar .atos .btn { flex-direction: column; min-height: 58px; font-size: 16.500px; gap: 2px; }
}
/* celular deitado */
@media (orientation: landscape) and (max-height: 520px) {
  .batalha { grid-template-columns: 164px minmax(0, 1fr) 212px; } .batalha .turno { margin-top: calc(var(--st) + 6px); margin-bottom: 5px; padding: 2px 10px 2px 3px; min-height: 42px; gap: 6px; } .turno b { font-size: 18px; max-width: 100px; } .turno .vigia.peq { --d: 34px; } .frotas { gap: 5px; } .frota, .batalha[data-n="3"] .frota, .batalha[data-n="4"] .frota { padding: 4px 6px; gap: 8px; min-height: 52px; } .batalha .frota .vigia { --d: 42px; } .batalha .frota b { font-size: 16.500px; } .batalha .silhuetas.silhuetas .navio { width: calc(var(--len) * 6px); height: 8px; } .batalha[data-n="4"] .frota { min-height: 50px; }
  .batalha .barra .botoes { padding-top: calc(var(--st) + 6px); padding-bottom: 4px; gap: 6px; } .redondo { width: 44px; height: 44px; } .batalha > .painel { gap: 5px; padding: 0 calc(var(--sr) + 8px) calc(var(--sb) + 6px) 2px; } .arsenal { gap: 4px; } .armas { gap: 4px; } .armas button { min-height: 48px; padding: 4px 0 2px; } .armas .ic { width: 21px; height: 21px; } .armas b { font-size: 14px; } .comando { gap: 4px; min-height: 0; } .mapinha { width: 92px; } .mapinha canvas { width: 88px; height: 88px; } .mapinha span { font-size: 14px; } .fogao { width: 96px; height: 96px; } .fogao b { font-size: 23px; } .fogao:disabled b { font-size: 18px; } .dica { padding: 3px 6px; font-size: 14.500px; } .reacoes { right: calc(var(--sr) + 222px); grid-template-columns: repeat(6, 54px); } .reacoes button { width: 54px; height: 54px; } .batalha > .narra { padding-top: calc(var(--st) + 6px); } .narra span { font-size: 25px; }
  .posicionar { grid-template-columns: 1fr 262px; } .posicionar > .barra h1 { font-size: 21px; } .posicionar > .painel { padding: 8px; gap: 6px; grid-row: 1 / 5; grid-column: 2; align-self: stretch; align-content: space-between; margin: calc(var(--st) + 56px) calc(var(--sr) + 8px) calc(var(--sb) + 6px) 0; } .posicionar .dica { display: none; } .peca { min-height: 44px; padding: 2px 10px; } .peca .navio { width: calc(var(--len) * 14px); height: 15px; } .bandeja { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-height: 0; } .peca { grid-template-columns: 1fr; justify-items: center; } .posicionar .atos .btn { min-height: 48px; font-size: 15px; } .posicionar .pronto { min-height: 50px; }
}
/* tablet e telas grandes em pe */
@media (orientation: portrait) and (min-width: 700px) { .batalha .frota .vigia { --d: 70px; } .silhuetas.silhuetas .navio { width: calc(var(--len) * 12px); height: 14px; } .frota b { font-size: 23px; } .comando { grid-template-columns: 170px 1fr 170px; } .mapinha { width: 170px; } .mapinha canvas { width: 166px; height: 166px; } .fogao { width: 150px; height: 150px; } .fogao b { font-size: 36px; } .armas button { min-height: 84px; } .armas .ic { width: 36px; height: 36px; } .armas b { font-size: 18px; } .dica { font-size: 21px; } }
@media (min-width: 1500px) { .batalha { grid-template-columns: 300px minmax(0, 1fr) 340px; } .batalha .frota .vigia { --d: 80px; } .reacoes { right: calc(var(--sr) + 356px); } }

/* ---- TV ---- */
.tv { font-size: clamp(18px, 1.700vw, 32px); } .tv .barra { position: absolute; left: 0; right: 0; top: 0; z-index: 5; opacity: .82; } .tv .vozes { min-height: 46px; font-size: 18px; }
.palcotv { flex: 1; display: grid; align-content: center; justify-items: center; gap: 2vh; padding: calc(var(--st) + 60px) 4vw 4vh; min-height: 0; pointer-events: none; } .tv:not([data-fase=battle]) .palcotv { background: linear-gradient(rgba(6, 35, 44, .62), rgba(6, 35, 44, .82)); pointer-events: auto; } .tv[data-fase=place] .palcotv { background: rgba(6, 35, 44, .84); } [data-tela=tv] #avisos { width: min(92vw, 1000px); font-size: 1.500em; }
.tv .titulao { font-size: clamp(44px, 6.400vw, 124px); text-shadow: .04em .04em 0 var(--tinta); text-align: center; }
.tvsala { display: grid; grid-template-columns: auto 1fr; gap: 5vw; align-items: center; width: 100%; max-width: 1700px; } .tvqr { padding: 2.200vh; display: grid; gap: 1.400vh; justify-items: center; } .qrtv { width: min(60vh, 38vw); height: auto; aspect-ratio: 1; } .tvqr p { font-weight: 800; font-size: 1.1em; } .tvlado { display: grid; gap: 2.600vh; justify-items: start; } .tvlado .titulao { text-align: left; } .codigo.enorme .adrica { font-size: clamp(34px, 4.600vw, 88px); } .tvdica { font-size: 1.150em; font-weight: 700; } .tvcrew { display: flex; flex-wrap: wrap; gap: 14px; } .tv .marca { padding: 5px 18px 5px 5px; gap: 12px; border-radius: 60px; } .tv .marca b { max-width: 9em; font-size: 1.1em; line-height: 1.200; } .tv .marca .vigia { --d: clamp(54px, 4.600vw, 88px); } .marca.vazia { opacity: .6; border: 2px dashed var(--aco); background: none; } .marca.vazia i { width: clamp(50px, 4.400vw, 84px); height: clamp(50px, 4.400vw, 84px); border-radius: 50%; border: 2px dashed var(--aco); } .tv .nota { font-size: 1em; } .tv .prontos { justify-content: center; } .tv .prazo { font-size: 2.600em; }
.veztv { position: absolute; left: 50%; top: calc(var(--st) + 14px); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 6px 28px 6px 8px; border-radius: 60px; background: var(--latao); color: var(--tinta); } .veztv b { font: 900 1.700em/1 var(--casco-letra); white-space: nowrap; } .veztv small { font: 900 1.400em/1 var(--casco-letra); } .veztv small:empty { display: none; } .veztv .vigia { --d: clamp(44px, 3.600vw, 72px); } .veztv.urgente { background: var(--verm); color: #fff; }
.tvn { position: absolute; left: 4vw; right: 4vw; top: calc(var(--st) + 13vh); } .tvn span { font-size: clamp(40px, 5.600vw, 110px); padding: .1em .5em .16em; }
.frotastv { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.200vw; padding: 0 2vw calc(var(--sb) + 2.400vh); } .frotatv { display: flex; align-items: center; gap: 1.100vw; padding: 1.100vh 1vw; background: rgba(8, 44, 54, .94); border-radius: 16px; corner-shape: bevel; box-shadow: inset 0 0 0 2px var(--aco); min-width: 0; } .frotatv .vigia { --d: clamp(64px, 6vw, 118px); } .frotatv > div { display: grid; gap: .28em; min-width: 0; } .frotatv b { font: 900 1.300em/1 var(--casco-letra); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .frotatv small { color: var(--nevoa); font-size: .9em; line-height: 1; } .frotatv .silhuetas { gap: 5px 10px; } .frotatv .silhuetas .navio { height: .86em; width: calc(var(--len) * .78em); } .frotatv.vez { box-shadow: inset 0 0 0 4px var(--latao); } .frotatv.morta { filter: grayscale(.9) brightness(.7); } .frotatv.ataca .vigia, .frotatv.sofre .vigia { transform: scale(1.800) translateY(-18%); }
.entra { font: 900 1.250em/1 var(--casco-letra); background: rgba(6, 35, 44, .84); padding: 10px 16px; border-radius: 26px; }
.tv .redondo { width: 56px; height: 56px; } .tv .vozes { min-height: 56px; } .tv small { font-size: .82em; } .tv .marca small { font-size: .82em; } .tv .lugar dt { font-size: .8em; } .tv .lugar dd { font-size: 1.400em; } .tv .pos { min-width: 44px; height: 44px; border-radius: 22px; font-size: 26px; } .tv .rosto .vigia.enorme { --d: clamp(92px, 8vw, 160px); } .tv .rosto .vigia.grande { --d: clamp(80px, 6.600vw, 130px); }
.tv .placar { max-width: none; } .tv .lugar { grid-template: "r" auto "n" auto "d" auto "f" auto / 1fr; justify-items: center; text-align: center; padding: 18px; } .tv .lugar .mini { width: min(24vh, 15vw); height: min(24vh, 15vw); } .tv .nums .nome { font-size: 1.300em; } .tv .lugar dl { justify-content: center; } .tv .placar { grid-template-columns: repeat(auto-fit, minmax(260px, 20vw)); justify-content: center; }
.tv[data-fase=over] .palcotv { overflow: auto; align-content: safe center; }
@media (orientation: portrait), (max-height: 520px) { .tvsala { grid-template-columns: 1fr; justify-items: center; } .tvlado { justify-items: center; text-align: center; } .qrtv { width: min(60vw, 40vh); } .frotastv { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .palcotv { overflow: auto; } }
