/* =================== Mapa explorável =================== */
.mundo {
  position: relative; height: clamp(400px, 70vh, 780px); overflow: hidden; outline: none;
  border: 5px solid var(--ink); border-radius: 28px; background: #0d0626;
  box-shadow: 0 8px 0 var(--ink), 0 0 70px rgba(140,107,255,.45);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
}
.mundo.arrastando { cursor: grabbing; }
.mundo:focus-visible { box-shadow: 0 8px 0 var(--ink), 0 0 0 4px var(--cyan); }
/* ---- Galáxia 3D (WebGL): canvas + rótulos HTML presos aos braços (js/mundo.js) ---- */
.galaxia { position: absolute; inset: 0; background: #02010a; z-index: 0; isolation: isolate; } /* os pinos 3D nunca passam por cima dos controles e cards */
.galaxia canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.g-rotulos { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.g-carregando { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: 18px 'Lilita One'; color: #9ff4ff; }
.g-pin { pointer-events: none; }
.g-pin-in { pointer-events: auto; transform: scale(var(--gs, 1)); transform-origin: 50% 50%; animation: gflutua 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes gflutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.g-pin .mpin, .g-fallback .mpin { position: relative; left: auto; top: auto; transform: none; animation: none; }
.g-fallback { position: absolute; inset: 0; overflow-y: auto; padding: 70px 16px 70px; }
.g-fallback h3 { font: 20px 'Lilita One'; margin: 10px 0; }
.g-lista { display: flex; flex-wrap: wrap; gap: 18px; }
/* Dica de gestos: uma mão em SVG toca a tela e arrasta. Some na primeira
   interação do aluno com o mapa (`.mundo.usou`, em js/mundo/index.js).
   A centralização usa margin-left, não transform: o transform fica livre
   para as animações abaixo e para o CSS2DRenderer.
   O viewBox do SVG é 261x399 (a arte medida, sem a sobra do crédito), então
   96px de altura = escala 0,24: o traço de 10 vira ~2,4px na tela. */
.mundo-giro360 {
  position: absolute; left: 50%; bottom: 44px; margin-left: -58px; z-index: 5;
  pointer-events: none; width: 116px; height: 100px;
  animation: maoEntra .55s ease-out 1s both;
}
.mundo-giro360 .mao {
  display: block; width: 63px; height: 96px; margin: 0 auto; overflow: visible;
  transition: opacity .45s, visibility .45s;
}
.mundo.usou .mundo-giro360 .mao { opacity: 0; visibility: hidden; }
/* O desenho é uma silhueta com furos entre os dedos, e os dedos têm só
   ~24 unidades de largura: um traço de 10 desenhado por cima ENCOBRE a mão
   (medido: 3% de branco na área preenchida -> lia como mão preta).
   `paint-order: stroke fill` pinta o traço ANTES do branco, então o
   contorno some por baixo e a mão fica 95% branca, mantendo o traço
   cartoon só na borda externa. O `fill` também vai como atributo no
   <path> (js/mundo/index.js) para a mão nunca depender só do CSS. */
.mao-corpo {
  fill: #fff; stroke: var(--ink); stroke-width: 10; stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 2px rgba(10,4,28,.45));
}
.mao-anel {
  fill: none; stroke: var(--cyan); stroke-width: 9;
  transform-box: fill-box; transform-origin: center;   /* cresce em volta do dedo */
}
/* o laço: chega pela esquerda, encosta, arrasta e solta */
.mao-braco { animation: maoArrasta 2.8s ease-in-out infinite; }
.mao-anel { animation: maoOnda 2.8s ease-out infinite; }
@keyframes maoArrasta {
  0%, 14% { transform: translate(-26px, 0) scale(1); }
  22% { transform: translate(-26px, 7px) scale(1, .94); }
  58% { transform: translate(26px, 7px) scale(1, .94); }
  68%, 100% { transform: translate(26px, 0) scale(1); }
}
@keyframes maoOnda {
  0%, 14% { opacity: 0; transform: scale(.35); }
  24% { opacity: .9; transform: scale(.75); }
  58% { opacity: .4; transform: scale(1.25); }
  72%, 100% { opacity: 0; transform: scale(1.35); }
}
@keyframes maoEntra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  /* sem loop: a mão aparece parada e some no primeiro toque */
  .mao-braco, .mao-anel { animation: none; }
}

/* Pinos */
.mundo .mpin .ball { width: 70px; height: 70px; }
.mundo .mpin .ball .ico { font-size: 46px; }
.mundo .mpin .lbl { font-size: 16px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
button.mpin { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.mpin.escola .ball { border-radius: 42% 42% 50% 50% / 38% 38% 62% 62%; }
.mpin.escola.minha .ball { box-shadow: 0 5px 0 var(--ink), 0 0 0 5px #fff, 0 0 30px var(--c); }
.mpin.escola.minha .evst { background: var(--gold); }
.mpin.olimp { position: absolute; display: flex; flex-direction: column; align-items: center; }
.mpin.olimp button.ball { cursor: pointer; padding: 0; }
.mpin.olimp .linkext {
  position: absolute; top: -6px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  transition: transform .15s;
}
.mpin.olimp .linkext:hover { transform: scale(1.15) rotate(-8deg); }
.mpin.olimp .linkext .ico { font-size: 18px; }

/* Controles sobre o mapa */
.mundo-topo {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none;
}
.mundo-titulo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 16px; background: rgba(13,6,38,.85); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); font: 20px "Lilita One"; color: #fff; }
.mundo-titulo .ico { font-size: 28px; }
.mundo-titulo b { font-weight: 400; }
.mundo-pontos { display: flex; gap: 6px; }
.mundo-pontos i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid var(--ink); transition: all .3s; }
.mundo-pontos i.on { background: var(--gold); width: 26px; border-radius: 6px; }
.mundo-dica { position: absolute; left: 14px; bottom: 12px; z-index: 5; margin: 0; max-width: 60%; font-weight: 800; font-size: 13px; color: #d9cffb; text-shadow: 0 2px 0 var(--ink); pointer-events: none; }
.mundo-seta {
  position: absolute; top: 12px; z-index: 6; /* no topo, na linha do título: o centro fica livre para os planetas */
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 18px; cursor: pointer;
  font: 16px "Lilita One"; color: var(--ink); background: linear-gradient(180deg, #ffe07a, var(--gold2));
  border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .15s cubic-bezier(.3,1.6,.5,1);
}
.mundo-seta .ico { font-size: 22px; }
.mundo-seta.esq { left: 12px; }
.mundo-seta.dir { right: 12px; }
.mundo-seta.dir .ico { transform: scaleX(-1); }
.mundo-seta:hover { transform: scale(1.08); }
.mundo-seta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.mundo-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 6; display: flex; flex-direction: column; gap: 6px; }
.mundo-zoom button { width: 42px; height: 42px; border-radius: 12px; border: 3px solid var(--ink); background: #2e1a66; color: #fff; font: 24px/1 "Lilita One"; box-shadow: 0 3px 0 var(--ink); cursor: pointer; display: grid; place-items: center; }
.mundo-zoom button .ico { font-size: 24px; display: block; }
/* iOS: zera o espaçamento/aparência nativos do botão (deixavam o botão retangular e o ícone fora do centro) */
.mundo-zoom button { -webkit-appearance: none; appearance: none; padding: 0; margin: 0; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.mundo-zoom button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.mundo-card {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 7; width: min(360px, calc(100% - 28px));
  padding: 14px; border-radius: 20px; background: linear-gradient(180deg, #2e1a66, #1a0e40); border: 4px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink), inset 0 0 0 3px var(--c); cursor: default;
  animation: popCentro .35s;
}
/* O `pop` de style.css anima `transform: scale()` e por isso CANCELA o
   `translateX(-50%)` do card: ele abriria ancorado em `left:50%`, ou seja
   deslocado para a direita, e só centralizaria no último frame da animação.
   Aqui a centralização vai dentro dos keyframes, então já nasce no centro. */
@keyframes popCentro {
  0%   { transform: translateX(-50%) scale(0); }
  70%  { transform: translateX(-50%) scale(1.25); }
  100% { transform: translateX(-50%) scale(1); }
}
.mundo-card .fechar { position: absolute; top: 8px; right: 8px; background: none; border: 0; cursor: pointer; font-size: 26px; }
.mundo-card .mc-topo { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; padding-right: 28px; }
.mundo-card .mc-ic { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c); border: 3px solid var(--ink); }
.mundo-card .mc-ic .ico { font-size: 36px; }
.mundo-card b { font: 22px "Lilita One"; font-weight: 400; display: block; }
.mundo-card small { font-weight: 700; color: var(--muted); }
.mundo-card p { font-weight: 700; margin: 6px 0 12px; }
@media (max-width: 520px) {
  .mundo { border-radius: 22px; }
  .mundo-seta span { display: none; }
  .mundo-seta { padding: 10px; }
  .mundo-dica { display: none; }
  .mundo-titulo { font-size: 17px; }
}
/* pinos dos outros sistemas ficam ocultos: de longe se vê só o sol de cada sistema */
.g-pin-in { transition: opacity .6s, filter .6s; }
.g-pin-in.longe { opacity: 0; pointer-events: none; }
.g-pin-in.longe .lbl, .g-pin-in.longe .evst { display: none; }


/* ============================================================
   MAPA FULL-SCREEN
   Aplicado só quando o <body> tem `mundo-ativo` (posto pelo
   js/mundo/index.js durante a rota #/mapa).
   Não mexe em mais nada.
   ============================================================ */

body.mundo-ativo {
  height: 100vh;
  height: 100dvh; /* iPhone: altura VISÍVEL (sem a barra do Safari por cima do menu); sem suporte fica o 100vh */
  overflow: hidden;
}

body.mundo-ativo #app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;      /* sobrescreve o min-height:100vh */
}

/* HUD sai do sticky e vira item de flex no topo. */
body.mundo-ativo .hud {
  position: relative;
  top: auto;
  flex: 0 0 auto;
}

/* NAV sai do fixed e vira item de flex na base. */
body.mundo-ativo .nav {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  flex: 0 0 auto;
}

/* O `.screen` do mapa perde tudo que limita e vira coluna rolável:
   o mapa toma a altura toda da área e Agenda/Reinos ficam logo abaixo,
   alcançáveis por scroll. */
body.mundo-ativo > #app > .screen {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  animation: none;         /* evita o translateY(24px) do screenIn */
}

/* O `.mundo` ocupa a altura inteira da área e nunca encolhe:
   `height:100%` = tudo que sobrou entre HUD e NAV. */
body.mundo-ativo .mundo-fullscreen {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  height: 100%;
  min-height: 300px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #02010a;
}

/* A saudação "Olá, fulano!" deixa de ser um bloco no fluxo (empurrava o mapa
   98px pra baixo e estourava embaixo) e vira uma tarja flutuante sobre o 3D,
   logo abaixo do título de camada. Some com o X ou no primeiro toque no mapa. */
body.mundo-ativo .hello {
  position: absolute;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  width: min(540px, calc(100% - 24px));
  margin: 0;
  padding: 10px 48px 10px 12px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(46,26,102,.96), rgba(26,14,64,.96));
  box-shadow: 0 6px 0 var(--ink), 0 0 40px rgba(140,107,255,.45);
  animation: popCentro .35s;   /* mesmo motivo do .mundo-card: tem translateX(-50%) */
}
body.mundo-ativo .hello .mascote-mini { width: 64px; height: 64px; }
body.mundo-ativo .hello .speech {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  color: #fff;
}
body.mundo-ativo .hello .speech::before { display: none; }
body.mundo-ativo .hello .hello-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(255,255,255,.16);
  border: 3px solid var(--ink);
  color: #fff;
  font-size: 18px;
}
body.mundo-ativo .hello .hello-x:active { transform: translateY(2px); }

body.mundo-ativo .mundo-fullscreen .galaxia {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.mundo-ativo .mundo-fullscreen .g-rotulos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Os controles do mundo ficam por cima do canvas. */
body.mundo-ativo .mundo-fullscreen .mundo-topo,
body.mundo-ativo .mundo-fullscreen .mundo-dica,
body.mundo-ativo .mundo-fullscreen .mundo-giro360,
body.mundo-ativo .mundo-fullscreen .mundo-seta,
body.mundo-ativo .mundo-fullscreen .mundo-zoom,
body.mundo-ativo .mundo-fullscreen .mundo-card {
  position: absolute;
}

body.mundo-ativo .mundo-fullscreen .mundo-topo {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
/* As setas ficam na MESMA linha do título da camada ("Eventos", "Olimpíadas"),
   nas pontas esquerda e direita — não mais na altura do meio do mapa. */
body.mundo-ativo .mundo-fullscreen .mundo-seta.esq,
body.mundo-ativo .mundo-fullscreen .mundo-seta.dir {
  top: 14px;
  transform: none;
  z-index: 6;
}
body.mundo-ativo .mundo-fullscreen .mundo-zoom {
  right: 16px;
  bottom: 16px;
  z-index: 5;
}

/* O canvas 3D gerado pelo three.js precisa preencher o container. */
body.mundo-ativo .mundo-fullscreen .galaxia > canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
/* Dock do mapa (como a barra de subsistemas dos RPGs): canto inferior esquerdo, acima da dica da camada.
   Trilha incompleta (quando houver) e o Universo. */
.mundo .mundo-dock { position: absolute; left: 12px; bottom: 40px; z-index: 6; display: flex; flex-direction: column; gap: 10px; }
.mundo .dock-it { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 70px; padding: 8px 4px 6px; border-radius: 16px; background: rgba(13,6,38,.9); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink), 0 0 16px color-mix(in srgb, var(--c, #3ee0ff) 45%, transparent); color: #fff; text-decoration: none; cursor: pointer; font: inherit; transition: transform .15s; }
.mundo .dock-it:hover, .mundo .dock-it:focus-visible { transform: translateX(3px) scale(1.05); }
.mundo .dock-it:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.mundo .dock-ic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c, #3ee0ff); border: 3px solid var(--ink); font-size: 26px; }
.mundo .dock-it b { font: 13px "Lilita One"; letter-spacing: .3px; }
.mundo .dock-it small { font: 800 11px "Nunito"; color: var(--gold); }
.mundo .dock-ponto { position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); animation: dockPulso 1.4s ease-in-out infinite; }
@keyframes dockPulso { 50% { box-shadow: 0 0 0 5px rgba(255,77,109,.35); } }
.mundo .mundo-universo { --c: #3ee0ff; }
@media (max-width: 560px) { .mundo .mundo-dock { bottom: 14px; } .mundo .dock-it { width: 62px; } }


/* ===== ISS no mapa e Central de Comunicação (js/mundo/central.js) ===== */
.mpin.iss { background: none; border: 0; padding: 0; cursor: pointer; }
.mpin.iss .iss-img { display: block; width: 34px; height: 34px; margin: 0 auto; opacity: 0; } /* área de toque; a imagem visível é o sprite 3D */
.mpin.iss .lbl { font-size: 10px; letter-spacing: 1px; }

.central { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 10px; background: rgba(1,4,12,.82); backdrop-filter: blur(4px); animation: ccLiga .35s ease-out; }
@keyframes ccLiga { from { opacity: 0; filter: brightness(3); } }
.cc-painel { position: relative; width: min(1180px, 100%); max-height: 100%; overflow-y: auto; padding: 14px; border-radius: 18px; background: radial-gradient(ellipse at top, #0b1d2e, #050b14 70%); border: 2px solid #1e4d63; box-shadow: 0 0 0 4px #04090f, 0 0 40px rgba(62,224,255,.25), inset 0 0 60px rgba(62,224,255,.06); color: #bff6ff; font-family: ui-monospace, 'Consolas', monospace; }
.cc-painel::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 18px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.cc-topo { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #1e4d63; margin-bottom: 12px; }
.cc-luzes { display: flex; gap: 6px; }
.cc-luzes i { width: 10px; height: 10px; border-radius: 50%; background: #4de08a; box-shadow: 0 0 8px #4de08a; animation: ccPisca 1.2s infinite; }
.cc-luzes i:nth-child(2) { background: #ffc83d; box-shadow: 0 0 8px #ffc83d; animation-delay: .4s; }
.cc-luzes i:nth-child(3) { background: #3ee0ff; box-shadow: 0 0 8px #3ee0ff; animation-delay: .8s; }
@keyframes ccPisca { 50% { opacity: .25; } }
.cc-titulo { flex: 1; min-width: 0; }
.cc-titulo b { display: block; font-size: 18px; letter-spacing: 3px; color: #e8fbff; text-shadow: 0 0 10px rgba(62,224,255,.7); }
.cc-titulo small { font-size: 11px; letter-spacing: 1.5px; color: #6fb8c9; }
.cc-relogio { text-align: right; } .cc-relogio small { display: block; font-size: 10px; color: #6fb8c9; } .cc-relogio b { font-size: 18px; color: #ffc83d; letter-spacing: 2px; }
.cc-fechar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #2a0d14; border: 2px solid #ff4d6d; color: #fff; font-size: 18px; cursor: pointer; }
.cc-grade { display: grid; grid-template-columns: 300px 1fr 300px; gap: 12px; }
@media (max-width: 1000px) { .cc-grade { grid-template-columns: 1fr; } }
.cc-bloco { position: relative; padding: 10px; border-radius: 12px; background: rgba(6,20,30,.85); border: 1px solid #1e4d63; }
.cc-bloco::before, .cc-bloco::after { content: ''; position: absolute; width: 14px; height: 14px; border: 2px solid #3ee0ff; }
.cc-bloco::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; } .cc-bloco::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.cc-bloco h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: 2px; color: #7ff0ff; display: flex; gap: 8px; align-items: center; }
.cc-sonar canvas { display: block; width: 100%; max-width: 300px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: #02100c; box-shadow: inset 0 0 30px rgba(77,224,138,.25), 0 0 0 2px #14402f; }
.cc-legenda { font-size: 10px; color: #6fb8c9; margin: 8px 0 0; }
.cc-vivo { color: #ff4d6d; animation: ccPisca 1s infinite; } .cc-vivo.off { color: #8a99b3; animation: none; }
.cc-mapa-tela canvas { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid #1e4d63; background: #04101a; }
.cc-tele { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.cc-tele div { padding: 6px 8px; border-radius: 8px; background: #04101a; border: 1px solid #16394a; }
.cc-tele small { display: block; font-size: 9px; letter-spacing: 1.5px; color: #6fb8c9; }
.cc-tele b { font-size: 15px; color: #e8fbff; }
.cc-lista { display: grid; gap: 5px; max-height: 330px; overflow-y: auto; padding-right: 4px; }
.cc-canal { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #04101a; border: 1px solid #16394a; border-left: 4px solid var(--c); color: #e8fbff; text-decoration: none; }
.cc-canal:hover, .cc-canal:focus-visible { background: #0b2333; outline: none; box-shadow: 0 0 10px color-mix(in srgb, var(--c) 50%, transparent); }
.cc-pais { font-size: 11px; font-weight: 900; text-align: center; color: var(--c); border: 1px solid var(--c); border-radius: 5px; padding: 2px 0; }
.cc-nome b { display: block; font-size: 13px; letter-spacing: 1px; } .cc-nome small { font-size: 10px; color: #6fb8c9; }
.cc-dist { font-size: 11px; color: #ffc83d; white-space: nowrap; }
.cc-links { display: grid; gap: 5px; margin-top: 8px; }
.cc-links a { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #7ff0ff; }
.cc-links .ico { font-size: 16px; }
.cc-rodape { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #04101a; border: 1px solid #16394a; overflow: hidden; white-space: nowrap; }
.cc-ticker { display: inline-block; color: #4de08a; font-size: 12px; animation: ccTicker 22s linear infinite; padding-left: 100%; }
@keyframes ccTicker { to { transform: translateX(-100%); } }
@media (max-width: 600px) {
  .cc-luzes { display: none; }
  .cc-titulo b { font-size: 14px; letter-spacing: 1.5px; }
  .cc-titulo small { font-size: 9px; letter-spacing: .5px; }
  .cc-relogio b { font-size: 14px; }
  .cc-tele { grid-template-columns: repeat(2, 1fr); }
}
/* ISS atrás da Terra (calculado em js/mundo/index.js) */
.g-pin-in.atras { opacity: 0; pointer-events: none; transition: opacity .25s; }
