/* ================================================================
   MATA ALIEN
   Mesmas cores e fontes do tema padrão do lucasmori.com (ashes):
   fundo quase preto, vermelho como destaque, Inter + JetBrains Mono.
   O verde é o dos tripulantes do OVNI do site.
================================================================ */

:root{
  --bg:#0b0b0c;
  --bg-soft:#121214;
  --text:#f4f4f5;
  --muted:rgba(255,255,255,.68);
  --muted-2:rgba(255,255,255,.45);
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.16);
  --surface:rgba(255,255,255,.04);
  --surface-hover:rgba(255,255,255,.07);

  --accent:#420000;
  --accent-2:#9e0000;
  --hot:#ff3b30;
  --ember:#de5e03;
  --alien:#8be28f;
  --alien-dark:#3f9b4c;
  --gold:#ffd36b;

  --radius:24px;
  --radius-sm:16px;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --safe-top:env(safe-area-inset-top, 0px);
  --safe-bottom:env(safe-area-inset-bottom, 0px);

  color-scheme:dark;
}

*,
*::before,
*::after{ box-sizing:border-box; }

[hidden]{ display:none !important; }

html,
body{
  height:100%;
  margin:0;
}

body{
  overflow:hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(158,0,0,.16), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(222,94,3,.08), transparent 60%),
    var(--bg);
  color:var(--text);
  font:400 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
  -webkit-touch-callout:none;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
}

button{
  font:inherit;
  color:inherit;
}

a{ color:inherit; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* gradientes não renderizam dentro de <svg> com display:none */
.sprites{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

/* ================================================================
   CAMADAS
================================================================ */

.sky,
.fx{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

.sky{ z-index:0; }

.horizon{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:45vh;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(120% 90% at 50% 130%, rgba(158,0,0,.34), rgba(66,0,0,.12) 45%, transparent 70%);
}

.stage{
  position:fixed;
  inset:0;
  z-index:1;
  overflow:hidden;
  touch-action:none;
}

.stage.is-playing{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='9' stroke='%23000' stroke-opacity='.55' stroke-width='4'/%3E%3Cpath d='M16 2v6M16 24v6M2 16h6M24 16h6' stroke='%23000' stroke-opacity='.55' stroke-width='4'/%3E%3Ccircle cx='16' cy='16' r='9' stroke='%23ff3b30' stroke-width='2'/%3E%3Cpath d='M16 2v6M16 24v6M2 16h6M24 16h6' stroke='%23fff' stroke-width='2'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='1.8' fill='%23ff3b30'/%3E%3C/svg%3E") 16 16, crosshair;
}

/* pausado: as animações dos aliens congelam junto com o relógio do jogo */
.stage.is-paused *{ animation-play-state:paused !important; }

.fx{ z-index:2; }

.flash{
  position:fixed;
  inset:0;
  z-index:3;
  pointer-events:none;
  opacity:0;
  background:radial-gradient(ellipse at center, transparent 35%, rgba(255,30,30,.42) 100%);
}

/* ================================================================
   ALIENS
================================================================ */

.alien{
  --size:76px;
  --beam:139,226,143;

  position:absolute;
  left:0;
  top:0;
  width:var(--size);
  height:var(--size);
  will-change:transform;
  touch-action:none;
}

.alien--gold{
  --skin:#ffd36b;
  --skin-dark:#c98a1c;
  --eye:#3a2400;
  --suit:#8a5a10;
  --beam:255,211,107;
}

.alien--armored{
  --suit:#4f5660;
}

.alien-body{
  position:absolute;
  inset:0;
  animation:
    alien-in .3s cubic-bezier(.2,1.5,.4,1) both,
    alien-bob 1.7s ease-in-out .3s infinite alternate;
}

.alien-body svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}

.alien.flip .skin{ transform:scaleX(-1); }

.alien .crack{
  opacity:0;
  transition:opacity .1s;
}

.alien.is-cracked .crack{ opacity:.95; }

.alien.is-cracked .helmet{ animation:helmet-hit .25s ease-out; }

/* brilho do dourado: gradiente em vez de filter, que custa caro por quadro */
.alien--gold .alien-body::before{
  content:"";
  position:absolute;
  inset:-30%;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,211,107,.45), transparent 62%);
  animation:gold-pulse .8s ease-in-out infinite alternate;
}

/* feixe da nave: aparece quando o alien chega e quando ele está para fugir */
.alien-beam{
  position:absolute;
  left:50%;
  bottom:45%;
  width:150%;
  height:340%;
  transform:translateX(-50%);
  transform-origin:50% 100%;
  pointer-events:none;
  background:linear-gradient(to top, rgba(var(--beam),.5), rgba(var(--beam),.12) 60%, rgba(var(--beam),0));
  clip-path:polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  opacity:0;
  animation:beam-drop .55s ease-out both;
}

.alien.is-leaving .alien-beam{
  animation:beam-warn .3s ease-in-out infinite alternate;
}

.alien.is-leaving .alien-body{
  animation:alien-jitter .14s linear infinite;
}

.alien.is-escaping,
.alien.is-dead{ pointer-events:none; }

.alien.is-escaping .alien-beam{
  animation:beam-out .45s ease-in forwards;
}

.alien.is-escaping .alien-body{
  animation:alien-up .45s cubic-bezier(.5,0,.9,.4) forwards;
}

.alien.is-dead .alien-body{
  animation:alien-pop .22s ease-out forwards;
}

.alien.is-dead .alien-beam{ display:none; }

@keyframes alien-in{
  from{ transform:translateY(-35%) scale(.15, 1.6); opacity:0; }
  to{ transform:none; opacity:1; }
}

@keyframes alien-bob{
  from{ transform:translateY(-3%); }
  to{ transform:translateY(4%); }
}

@keyframes alien-jitter{
  0%{ transform:translate(0, 0); }
  25%{ transform:translate(-2.5%, -1%); }
  50%{ transform:translate(2.5%, 1%); }
  75%{ transform:translate(-1.5%, 1.5%); }
  100%{ transform:translate(0, 0); }
}

@keyframes alien-up{
  to{ transform:translateY(-140%) scale(.25, 1.5); opacity:0; }
}

@keyframes alien-pop{
  0%{ transform:scale(1); opacity:1; }
  100%{ transform:scale(1.45) rotate(8deg); opacity:0; }
}

@keyframes beam-drop{
  0%{ opacity:.9; transform:translateX(-50%) scaleY(0); }
  35%{ opacity:.8; transform:translateX(-50%) scaleY(1); }
  100%{ opacity:0; transform:translateX(-50%) scaleY(1); }
}

@keyframes beam-out{
  0%{ opacity:.95; }
  55%{ opacity:.9; }
  100%{ opacity:0; }
}

@keyframes beam-warn{
  from{ opacity:.12; }
  to{ opacity:.6; }
}

@keyframes gold-pulse{
  from{ opacity:.55; transform:scale(.9); }
  to{ opacity:1; transform:scale(1.08); }
}

@keyframes helmet-hit{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.12); }
  100%{ transform:scale(1); }
}

/* pontos que sobem de onde o alien estava */
.popup{
  position:absolute;
  z-index:2;
  pointer-events:none;
  font:800 18px/1 var(--mono);
  color:#fff;
  white-space:nowrap;
  text-shadow:0 2px 0 rgba(0,0,0,.55), 0 0 18px rgba(139,226,143,.55);
  animation:popup .8s cubic-bezier(.2,.8,.3,1) forwards;
}

.popup--gold{
  color:var(--gold);
  font-size:22px;
  text-shadow:0 2px 0 rgba(0,0,0,.55), 0 0 22px rgba(255,211,107,.7);
}

.popup--combo{
  color:var(--alien);
  font-size:15px;
  letter-spacing:.06em;
}

.popup--bad{
  color:var(--hot);
  text-shadow:0 2px 0 rgba(0,0,0,.55), 0 0 18px rgba(255,59,48,.6);
}

.popup--clang{
  color:#cfe8ff;
  font-size:14px;
  letter-spacing:.08em;
}

@keyframes popup{
  0%{ transform:translate(-50%, -50%) scale(.6); opacity:0; }
  15%{ transform:translate(-50%, -80%) scale(1.15); opacity:1; }
  100%{ transform:translate(-50%, -260%) scale(1); opacity:0; }
}

/* ================================================================
   HUD
================================================================ */

.hud{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:4;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  padding:calc(14px + var(--safe-top)) 16px 0;
  pointer-events:none;
}

.hud > *{ pointer-events:auto; }

.hud-lives,
.hud-time,
.hud-score,
.icon-btn{
  border:1px solid var(--line);
  background:rgba(11,11,12,.62);
  border-radius:999px;
}

.hud-lives{
  justify-self:start;
  display:flex;
  gap:6px;
  padding:9px 13px;
}

.heart{
  width:22px;
  height:22px;
  fill:var(--hot);
  stroke:var(--hot);
  stroke-width:1.5;
  transition:fill .25s, stroke .25s, opacity .25s;
}

.heart.is-lost{
  fill:transparent;
  stroke:var(--muted-2);
  opacity:.7;
}

.hud-time{
  min-width:92px;
  padding:6px 18px;
  text-align:center;
  font:700 26px/1.2 var(--mono);
  font-variant-numeric:tabular-nums;
}

.hud-time small{
  margin-left:2px;
  font-size:.55em;
  color:var(--muted-2);
}

.hud-time.is-danger{
  color:var(--hot);
  border-color:rgba(255,59,48,.45);
  animation:danger .5s ease-in-out infinite alternate;
}

@keyframes danger{
  to{ box-shadow:0 0 22px rgba(255,59,48,.35); }
}

.hud-right{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
}

.hud-score{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 8px 7px 16px;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
}

.hud-score strong{
  min-width:4ch;
  font-size:20px;
  text-align:right;
}

.mult{
  padding:3px 8px;
  border-radius:999px;
  background:var(--surface);
  color:var(--muted-2);
  font-size:13px;
  font-weight:700;
  transition:background .2s, color .2s;
}

.mult.is-hot{
  background:rgba(139,226,143,.16);
  color:var(--alien);
}

.icon-btn{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  cursor:pointer;
  transition:background .15s, border-color .15s;
}

.icon-btn:hover{
  background:var(--surface-hover);
  border-color:var(--line-strong);
}

.icon-btn svg{
  width:20px;
  height:20px;
  fill:currentColor;
}

.icon-btn .when-off{ display:none; }
.icon-btn[aria-pressed="true"] .when-on{ display:none; }
.icon-btn[aria-pressed="true"] .when-off{ display:block; }

.hud-bar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:rgba(255,255,255,.06);
}

.hud-bar i{
  display:block;
  height:100%;
  background:linear-gradient(90deg, var(--accent-2), var(--hot));
  transform-origin:0 50%;
  will-change:transform;
}

/* ================================================================
   CONTAGEM 3, 2, 1
================================================================ */

.countdown{
  position:fixed;
  inset:0;
  z-index:5;
  display:grid;
  place-items:center;
  pointer-events:none;
  font:900 clamp(90px, 22vw, 180px)/1 Inter, sans-serif;
  letter-spacing:-.04em;
  color:#fff;
  text-shadow:0 0 50px rgba(255,59,48,.55);
}

.countdown.is-go{
  color:var(--alien);
  text-shadow:0 0 50px rgba(139,226,143,.55);
}

/* ================================================================
   TELAS (menu, pausa, fim)
================================================================ */

.screen{
  position:fixed;
  inset:0;
  z-index:6;
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  padding:calc(24px + var(--safe-top)) 16px calc(20px + var(--safe-bottom));
  background:radial-gradient(ellipse at 50% 40%, rgba(11,11,12,.45), rgba(11,11,12,.86));
  animation:screen-in .28s ease both;
  user-select:text;
  -webkit-user-select:text;
}

.screen-menu{
  background:radial-gradient(ellipse at 50% 35%, rgba(11,11,12,.15), rgba(11,11,12,.7));
}

@keyframes screen-in{
  from{ opacity:0; }
  to{ opacity:1; }
}

/* margin:auto centraliza sem cortar o topo quando a tela é baixa */
.menu,
.panel{
  margin:auto;
  width:100%;
  text-align:center;
}

.menu{ max-width:640px; }

.panel{
  max-width:470px;
  padding:30px 26px 26px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(18,18,20,.86);
  box-shadow:0 22px 70px rgba(0,0,0,.5);
  animation:panel-in .35s cubic-bezier(.2,1.2,.4,1) both;
}

@keyframes panel-in{
  from{ transform:translateY(14px) scale(.97); opacity:0; }
  to{ transform:none; opacity:1; }
}

.hero{
  position:relative;
  width:140px;
  height:150px;
  margin:0 auto 6px;
}

.hero-ufo{
  position:absolute;
  left:50%;
  top:0;
  width:120px;
  margin-left:-60px;
  animation:hover 3.2s ease-in-out infinite alternate;
}

.hero-ufo .ufo-lights circle,
.ufo-lights circle{
  fill:var(--hot);
  animation:lights 1.2s steps(2) infinite;
}

.ufo-lights circle:nth-child(2n){ animation-delay:-.6s; }

.hero-beam{
  position:absolute;
  left:50%;
  top:58px;
  width:110px;
  height:92px;
  margin-left:-55px;
  background:linear-gradient(to bottom, rgba(139,226,143,.42), rgba(139,226,143,.04));
  clip-path:polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  animation:beam-breathe 3.2s ease-in-out infinite alternate;
}

.hero-alien{
  position:absolute;
  left:50%;
  bottom:4px;
  width:56px;
  margin-left:-28px;
  animation:float 3.2s ease-in-out infinite alternate;
}

@keyframes hover{
  from{ transform:translateY(0); }
  to{ transform:translateY(6px); }
}

@keyframes float{
  from{ transform:translateY(0) rotate(-4deg); }
  to{ transform:translateY(-22px) rotate(4deg); }
}

@keyframes beam-breathe{
  from{ opacity:.55; }
  to{ opacity:1; }
}

@keyframes lights{
  50%{ fill:#ffb199; }
}

.eyebrow{
  margin:0 0 6px;
  font:500 12px/1.4 var(--mono);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,59,48,.9);
}

.title{
  margin:0;
  font-size:clamp(46px, 11vw, 84px);
  font-weight:900;
  line-height:.95;
  letter-spacing:-.045em;
  text-transform:uppercase;
}

.title span{
  color:var(--alien);
  text-shadow:0 0 38px rgba(139,226,143,.35);
}

.lead{
  max-width:470px;
  margin:14px auto 24px;
  color:var(--muted);
  font-size:17px;
}

.levels{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin:0 0 22px;
  padding:0;
  border:0;
}

.level{
  position:relative;
  display:block;
  cursor:pointer;
}

.level input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.level-card{
  display:flex;
  flex-direction:column;
  gap:4px;
  height:100%;
  padding:14px 14px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:var(--surface);
  text-align:left;
  transition:border-color .18s, background .18s, transform .18s;
}

.level:hover .level-card{
  border-color:var(--line-strong);
  background:var(--surface-hover);
}

.level input:checked + .level-card{
  border-color:rgba(214,1,1,.55);
  background:linear-gradient(135deg, rgba(214,1,1,.22), rgba(214,1,1,.07));
}

.level input:focus-visible + .level-card{
  outline:2px solid var(--hot);
  outline-offset:2px;
}

.level-name{
  font-weight:800;
  font-size:16px;
}

.level-desc{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.level-best{
  margin-top:auto;
  padding-top:6px;
  font:500 11px/1.3 var(--mono);
  color:var(--muted-2);
  letter-spacing:.02em;
}

.level-best.has-record{ color:var(--gold); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:13px 20px;
  border:1px solid transparent;
  border-radius:16px;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  text-decoration:none;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn svg{
  width:18px;
  height:18px;
  fill:currentColor;
  flex:none;
}

.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(1px); }

.btn:focus-visible,
.icon-btn:focus-visible,
.credits a:focus-visible{
  outline:2px solid var(--hot);
  outline-offset:3px;
}

.btn-main{
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff;
  box-shadow:0 18px 42px rgba(255,0,0,.2);
}

.btn-main:hover{ box-shadow:0 18px 48px rgba(255,0,0,.3); }

.btn-ghost{
  border-color:var(--line);
  background:var(--surface);
}

.btn-ghost:hover{
  border-color:var(--line-strong);
  background:var(--surface-hover);
}

.btn-start{
  min-width:240px;
  padding:16px 28px;
  font-size:17px;
}

.howto{
  display:grid;
  gap:6px;
  max-width:520px;
  margin:24px auto 0;
  padding:0;
  list-style:none;
  color:var(--muted-2);
  font-size:14px;
}

.howto b{
  color:var(--muted);
  font-weight:700;
}

.howto .gold{ color:var(--gold); }

.credits{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px 18px;
  margin:28px auto 0;
  max-width:640px;
  color:var(--muted-2);
  font-size:13px;
  text-align:center;
}

.credits a{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px solid transparent;
}

.credits a:hover{
  color:var(--text);
  border-bottom-color:var(--line-strong);
}

.credits svg{
  width:15px;
  height:15px;
}

.panel h2{
  margin:0 0 6px;
  font-size:34px;
  font-weight:900;
  letter-spacing:-.03em;
}

.muted{
  margin:0;
  color:var(--muted);
}

.actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:24px;
}

.actions .btn-main{ flex:1 1 100%; }
.actions .btn-ghost{ flex:1 1 0; white-space:nowrap; }

.end-art{
  position:relative;
  width:64px;
  height:64px;
  margin:-4px auto 8px;
}

.end-art svg{
  position:relative;
  display:block;
  width:100%;
  height:100%;
}

.screen-end.is-win .end-art svg{ animation:float 1.6s ease-in-out infinite alternate; }

/* derrota: o alien sendo resgatado pelo feixe da nave */
.screen-end.is-lose .end-art::before{
  content:"";
  position:absolute;
  left:-20%;
  right:-20%;
  bottom:-10%;
  height:150%;
  background:linear-gradient(to top, rgba(139,226,143,0), rgba(139,226,143,.38) 45%, rgba(139,226,143,.08));
  clip-path:polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  animation:beam-breathe 1.2s ease-in-out infinite alternate;
}

.screen-end.is-lose .end-art svg{ animation:abducted 1.4s ease-in-out infinite alternate; }

@keyframes abducted{
  from{ transform:translateY(2px) rotate(-6deg); }
  to{ transform:translateY(-12px) rotate(6deg); }
}

.screen-end.is-win h2{ color:var(--alien); }
.screen-end.is-lose h2{ color:var(--hot); }

.end-score{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  margin:20px 0 18px;
}

.end-score span{
  font:500 12px/1 var(--mono);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted-2);
}

.end-score strong{
  font:800 54px/1.05 var(--mono);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.03em;
}

.end-bonus{
  font:500 13px/1.3 var(--mono);
  font-style:normal;
  color:var(--alien);
}

.end-bonus:empty{ display:none; }

.end-record{
  margin-top:4px;
  padding:4px 12px;
  border-radius:999px;
  background:rgba(255,211,107,.14);
  color:var(--gold);
  font-style:normal;
  font-weight:800;
  font-size:13px;
  letter-spacing:.04em;
  animation:record 1s ease-in-out infinite alternate;
}

@keyframes record{
  to{ box-shadow:0 0 26px rgba(255,211,107,.35); }
}

.stats{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:8px;
  margin:0;
}

.stats div{
  padding:10px 6px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
}

.stats dt{
  font:500 10px/1.3 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted-2);
}

.stats dd{
  margin:4px 0 0;
  font:700 17px/1.2 var(--mono);
  font-variant-numeric:tabular-nums;
}

.toast{
  position:fixed;
  left:50%;
  bottom:calc(24px + var(--safe-bottom));
  z-index:7;
  padding:10px 18px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:rgba(18,18,20,.95);
  font-size:14px;
  font-weight:600;
  transform:translate(-50%, 20px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s, transform .2s;
}

.toast.is-on{
  opacity:1;
  transform:translate(-50%, 0);
}

.noscript{
  position:fixed;
  inset:auto 0 40%;
  z-index:10;
  text-align:center;
  color:var(--muted);
}

/* ================================================================
   TELAS PEQUENAS
================================================================ */

@media (max-width:620px){
  .levels{ grid-template-columns:1fr; gap:8px; }

  .level-card{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:2px 12px;
    padding:12px 14px;
  }

  .level-name{ grid-column:1; }
  .level-desc{ grid-column:1; }

  .level-best{
    grid-column:2;
    grid-row:1 / span 2;
    margin:0;
    padding:0;
    text-align:right;
  }

  .lead{ font-size:16px; margin-bottom:20px; }
  .hero{ height:128px; transform:scale(.88); margin-bottom:0; }
  .howto{ font-size:13px; }
  .stats{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width:480px){
  .hud{
    gap:6px;
    padding-left:10px;
    padding-right:10px;
  }

  .hud-lives{ gap:3px; padding:8px 10px; }
  .heart{ width:18px; height:18px; }
  .hud-time{ min-width:0; padding:6px 12px; font-size:22px; }
  .hud-score{ padding:6px 6px 6px 12px; gap:6px; }
  .hud-score strong{ min-width:0; font-size:16px; }
  .mult{ font-size:11px; padding:2px 6px; }
  .icon-btn{ width:36px; height:36px; }
  .icon-btn svg{ width:17px; height:17px; }
  .hud-right{ gap:5px; }
  .panel{ padding:24px 18px 20px; }
  .panel h2{ font-size:28px; }
  .end-score strong{ font-size:46px; }
}

@media (max-height:640px) and (min-width:621px){
  .hero{ display:none; }
  .howto{ margin-top:16px; }
}

/* ================================================================
   MENOS MOVIMENTO
================================================================ */

@media (prefers-reduced-motion:reduce){
  .hero-ufo,
  .hero-alien,
  .hero-beam,
  .ufo-lights circle,
  .alien--gold .alien-body::before,
  .hud-time.is-danger,
  .end-record,
  .screen-end .end-art svg,
  .screen-end .end-art::before{
    animation:none;
  }

  .alien-body{ animation:alien-in .01s both; }
  .alien.is-leaving .alien-body{ animation:none; }
}
