/* =====================================================================
   ORBJT · Mondstation (Konto) · Astronaut · Profilbild · Nav-Konto-Knopf
   ===================================================================== */

/* ---------- Astronaut (SVG) Animationen ---------- */
.astro { overflow: visible; }
.astro .av-flame { transform-box: fill-box; transform-origin: 50% 0; animation: avFlame .12s infinite alternate; }
@keyframes avFlame { to { transform: scaleY(.72) scaleX(.86); } }
.astro .av-blink { animation: avBlink 1.4s infinite; }
.astro .av-led { animation: avBlink 1s steps(2) infinite; }
.astro .av-led:nth-of-type(2n) { animation-delay: .5s; }
@keyframes avBlink { 50% { opacity: .3; } }
.astro .av-prop { transform-box: fill-box; transform-origin: center; animation: avProp .35s linear infinite; }
@keyframes avProp { 50% { transform: scaleX(.1); } }
.astro .av-hover, .astro .av-halo { animation: avHover 2.6s ease-in-out infinite; }
@keyframes avHover { 50% { transform: translateY(-4px); } }
.astro .av-spring { transform-box: fill-box; transform-origin: 50% 100%; animation: avSpring 1.1s ease-in-out infinite; }
@keyframes avSpring { 50% { transform: scaleY(.74); } }
.astro .av-sway { transform-box: fill-box; transform-origin: 20% 0; animation: avSway 2.6s ease-in-out infinite; }
@keyframes avSway { 50% { transform: rotate(7deg); } }
.astro .av-cape { transform-box: fill-box; transform-origin: 50% 0; animation: avCape 3s ease-in-out infinite; }
@keyframes avCape { 50% { transform: skewX(4deg); } }
.astro .av-wing { transform-box: fill-box; transform-origin: 100% 30%; animation: avWing 1.6s ease-in-out infinite; }
.astro .av-wing.r { transform-origin: 0 30%; animation-name: avWingR; }
@keyframes avWing { 50% { transform: rotate(-9deg); } }
@keyframes avWingR { 50% { transform: rotate(9deg); } }
.astro .av-dish { transform-box: fill-box; transform-origin: 50% 100%; animation: avDish 3s ease-in-out infinite; }
@keyframes avDish { 50% { transform: rotate(-18deg); } }
.astro .av-scan { animation: avScan 1.6s ease-in-out infinite alternate; }
@keyframes avScan { to { transform: translateX(24px); } }
.astro .av-eh, .astro .av-ex, .astro .av-bl { display: none; }
.astro .av-eo { transform-box: fill-box; transform-origin: center; transition: transform .07s; }
.astro.blink .av-eo { transform: scaleY(.1); }
.astro.happy .av-eo, .astro.shy .av-eo, .astro.xx .av-eo { display: none; }
.astro.happy .av-eh, .astro.shy .av-eh { display: inline; }
.astro.xx .av-ex { display: inline; }
.astro.xx .av-eh { display: none; }
.astro.happy .av-bl, .astro.shy .av-bl, .astro.wh .av-bl { display: inline; opacity: .45; }
.astro .av-m { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease-b); }
.astro.wh .av-m { transform: scale(.7, 1.8); }
@media (prefers-reduced-motion: reduce) { .astro * { animation: none !important; } }

/* ---------- Nav: Konto-Knopf mit Profilbild ---------- */
.acc-btn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 4px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--text); font-size: 13.5px; font-weight: 600; transition: border-color .3s, background .3s, transform .3s var(--ease-b); max-width: 190px; }
.acc-btn:hover { border-color: var(--a1); transform: translateY(-1px); }
.acc-btn b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.acc-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #232a63, #0a0c1f); box-shadow: inset 0 0 0 1.5px rgba(56, 240, 255, .35); }
.acc-av svg { width: 100%; height: 100%; }
.acc-btn.guest { padding: 0 16px 0 6px; border-color: transparent; background: linear-gradient(115deg, var(--a1), var(--a2)); color: #04050c; box-shadow: 0 0 0 0 rgba(56, 240, 255, .6); animation: accGlow 2.4s ease-in-out infinite; }
.acc-btn.guest .acc-av { background: rgba(4, 5, 12, .25); box-shadow: none; width: 30px; height: 30px; }
.acc-btn.guest .acc-av svg { width: 18px; height: 18px; }
@keyframes accGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(56, 240, 255, .55), 0 0 22px -4px var(--a1); } 50% { box-shadow: 0 0 0 7px rgba(56, 240, 255, 0), 0 0 30px 0 var(--a2); } }
.mnav-row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1240px) { .acc-btn b { display: none; } .acc-btn { padding: 0 4px; } .acc-btn.guest { padding: 0 6px; } }

/* ---------- Station: Grundgerüst ---------- */
html.st-lock { overflow: hidden; }
.station { position: fixed; inset: 0; z-index: 9640; display: grid; place-items: center; padding: 70px 20px 30px; overflow-y: auto; opacity: 0; transition: opacity .5s; }
.station.open { opacity: 1; }
.st-sky { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.st-top { position: fixed; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 3; pointer-events: none; }
.st-top > * { pointer-events: auto; }
.st-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(8, 10, 24, .6); backdrop-filter: blur(8px); color: var(--text); font-size: 13px; }
.st-chip svg { width: 16px; height: 16px; }
.st-chip:hover, .st-x:hover { border-color: var(--a1); }
.st-x { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(8, 10, 24, .6); backdrop-filter: blur(8px); color: var(--muted); font-size: 16px; transition: transform .3s, border-color .3s, color .3s; }
.st-x:hover { transform: rotate(90deg); color: var(--text); }
/* Gut sichtbarer Zurück-Knopf oben links + deutlicheres X */
.st-top-l { display: flex; align-items: center; gap: 10px; }
.st-leave { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 700 15px var(--font); color: #06071a; background: var(--grad); background-size: 180% 100%; box-shadow: 0 10px 30px -10px var(--a2), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .3s var(--ease-o), background-position .4s, box-shadow .3s; }
.st-leave:hover { background-position: 100% 0; transform: translateX(-3px); box-shadow: 0 12px 36px -8px var(--a3); }
.st-x { color: var(--text); border-color: rgba(255, 255, 255, .3); background: rgba(8, 10, 24, .8); }
/* Klickbarer Mond in der Szene */
.st-moon-hit { position: fixed; z-index: 1; border-radius: 50%; cursor: pointer; background: transparent; transition: box-shadow .4s, background .4s; }
.st-moon-hit:hover, .st-moon-hit:focus-visible { background: radial-gradient(circle, transparent 52%, color-mix(in srgb, var(--a1) 22%, transparent) 54%, transparent 70%); box-shadow: 0 0 40px -6px var(--a1); }
[dir="rtl"] .st-leave { flex-direction: row-reverse; }
@media (max-width: 560px) { .st-top-l .st-chip span { display: none; } .st-leave { height: 40px; padding: 0 16px; font-size: 14px; } }
.st-labels span { position: fixed; z-index: 1; font: 600 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); pointer-events: none; }
.st-lab-e { left: 26px; bottom: 22px; }
.st-lab-m { right: 26px; top: calc(20vh + 11.5vmin + 16px); transform: translateX(30%); }
@media (max-width: 760px) { .st-labels { display: none; } }

.st-card { position: relative; z-index: 2; width: min(440px, 100%); padding: 18px 26px 24px; border-radius: 30px; text-align: center; display: grid; gap: 10px; justify-items: center;
  background: linear-gradient(180deg, rgba(20, 24, 54, .82), rgba(9, 11, 28, .9)); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px);
  box-shadow: 0 50px 140px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .08); transform: translateY(30px) scale(.96); transition: transform .8s var(--ease-o), width .5s var(--ease-o); }
.station.open .st-card { transform: none; }
.st-card.wide { width: min(500px, 100%); }
.st-card[hidden] { display: none; }
.st-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(56, 240, 255, .55), transparent 35%, transparent 65%, rgba(255, 63, 216, .45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.st-buddy { position: relative; width: 150px; height: 142px; margin: -74px auto -6px; filter: drop-shadow(0 16px 30px rgba(56, 240, 255, .2)); }
.st-buddy svg { width: 100%; height: 100%; }
.bud-note { position: absolute; top: 12%; font-size: 20px; color: var(--a1); text-shadow: 0 0 12px var(--a1); pointer-events: none; animation: budNote 1.8s var(--ease-o) forwards; }
.bud-note:nth-of-type(odd) { color: var(--a3); text-shadow: 0 0 12px var(--a3); }
@keyframes budNote { from { transform: translate(0, 10px) scale(.5) rotate(-10deg); opacity: 0; } 20% { opacity: 1; } to { transform: translate(40px, -50px) scale(1.1) rotate(16deg); opacity: 0; } }
.st-steps { display: flex; gap: 6px; justify-content: center; min-height: 5px; }
.st-steps i { width: 22px; height: 5px; border-radius: 3px; background: var(--line2); transition: all .45s var(--ease-o); }
.st-steps i.done { background: var(--a1); }
.st-steps i.on { width: 40px; background: var(--grad); box-shadow: 0 0 12px rgba(56, 240, 255, .55); }
.st-pane { width: 100%; display: grid; overflow: hidden; padding: 2px; }
.st-in-pane { display: grid; gap: 12px; justify-items: center; width: 100%; }
.st-in-pane.in-r { animation: stInR .55s var(--ease-o); }
.st-in-pane.in-l { animation: stInL .55s var(--ease-o); }
.st-in-pane.in-f { animation: stInF .6s var(--ease-o); }
@keyframes stInR { from { opacity: 0; transform: translateX(46px); } }
@keyframes stInL { from { opacity: 0; transform: translateX(-46px); } }
@keyframes stInF { from { opacity: 0; transform: translateY(14px); } }
.st-h { font-family: var(--font-d); font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.12; margin: 4px 0 0; letter-spacing: -.01em; }
.st-h3 { font-family: var(--font-d); font-size: 1.45rem; margin: 0; }
.st-sub { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 360px; }
.st-sub b { color: var(--text); }
.st-gen { display: inline-block; padding: 2px 8px; border-radius: 8px; background: rgba(56, 240, 255, .12); color: var(--a1) !important; font: 700 15px var(--mono); letter-spacing: .12em; }
.st-fine { margin: 0; color: var(--dim); font-size: 11.5px; line-height: 1.45; max-width: 340px; }
.st-back { justify-self: start; font-size: 13px; color: var(--muted); padding: 4px 2px; transition: color .2s, transform .3s var(--ease-o); }
.st-back:hover { color: var(--text); transform: translateX(-3px); }
.st-link { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.st-link:hover { color: var(--a1); }
.st-inline { color: var(--a1); text-decoration: underline; font-weight: 600; font-size: inherit; }
.st-err { min-height: 18px; font-size: 13px; color: var(--bad); line-height: 1.4; }
.st-err:empty { min-height: 0; }
.st-go { width: 100%; }
.st-go.busy, .btn.busy { pointer-events: none; opacity: .8; }
.st-go.busy { background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3), var(--a1)); background-size: 300% 100%; animation: stBusy 1.2s linear infinite; }
@keyframes stBusy { to { background-position: 300% 0; } }
.st-row { display: flex; gap: 10px; width: 100%; }
.st-row .btn { flex: 1; }
.btn-warn { background: linear-gradient(115deg, #ffb13c, #ff7a3c); color: #1a0d00; border-color: transparent; }
.btn-danger { background: linear-gradient(115deg, #ff4f6d, #c21f5a); color: #fff; border-color: transparent; }

/* ---------- Begrüssung: grosse Knöpfe ---------- */
.st-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 4px; }
.st-cta { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 12px 16px; border-radius: 20px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--text); overflow: hidden; transition: transform .35s var(--ease-b), border-color .3s, box-shadow .3s; }
.st-cta .ic { font-size: 30px; line-height: 1; margin-bottom: 4px; transition: transform .4s var(--ease-b); }
.st-cta b { font: 700 17px var(--font-d); }
.st-cta small { color: var(--muted); font-size: 12px; }
.st-cta:hover { transform: translateY(-4px); }
.st-cta:hover .ic { transform: scale(1.2) rotate(-8deg); }
.st-cta.login { border-color: transparent; background: linear-gradient(135deg, rgba(56, 240, 255, .95), rgba(139, 92, 255, .95)); color: #04050c; animation: accGlow 2.4s ease-in-out infinite; }
.st-cta.login small { color: rgba(4, 5, 12, .7); }
.st-cta.new:hover { border-color: var(--a3); box-shadow: 0 0 30px -8px var(--a3); }
.st-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-o); }
.st-cta:hover::after { transform: translateX(120%); }

/* ---------- Formulare ---------- */
.st-form { display: grid; gap: 12px; width: 100%; text-align: start; }
.st-field { display: grid; gap: 6px; }
.st-field > span { font: 600 12px var(--mono); color: var(--muted); letter-spacing: .06em; }
.st-field small { color: var(--dim); font-weight: 500; letter-spacing: 0; }
.st-in { position: relative; display: flex; align-items: center; }
.st-in .input { width: 100%; font-size: 16px; padding-top: 13px; padding-bottom: 13px; }
.st-at { position: absolute; left: 15px; color: var(--a1); font: 700 16px var(--mono); font-style: normal; pointer-events: none; opacity: .8; }
.st-at + .input { padding-left: 36px; }
.st-avail { position: absolute; right: 13px; font: 600 12px var(--mono); font-style: normal; pointer-events: none; }
.st-avail.ok { color: var(--good); } .st-avail.no { color: var(--bad); } .st-avail.wait { color: var(--dim); }

/* ---------- Code-Pad ---------- */
.pad-dots { display: flex; gap: 10px; justify-content: center; padding: 8px 0 2px; }
.pad-dots i { width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font: 700 12px var(--mono); font-style: normal; color: #04050c; transition: all .25s var(--ease-o); }
.pad-dots i.req { border-color: rgba(56, 240, 255, .5); }
.pad-dots i:not(.req) { border-style: dashed; opacity: .55; }
.pad-dots i.f { background: var(--grad); border-color: transparent; border-style: solid; box-shadow: 0 0 14px rgba(56, 240, 255, .6); opacity: 1; }
.pad-dots i.f:not(:empty) { width: 24px; height: 26px; border-radius: 8px; }
.pad-dots i.pop { animation: padPop .35s var(--ease-b); }
@keyframes padPop { 0% { transform: scale(.3); } 60% { transform: scale(1.4); } }
.pad-dots.bad { animation: padBad .45s; }
.pad-dots.bad i { border-color: var(--bad) !important; }
@keyframes padBad { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pad-str { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); color: var(--dim); min-height: 18px; }
.pad-str .bars { display: flex; gap: 4px; }
.pad-str .bars i { width: 20px; height: 5px; border-radius: 3px; background: var(--line2); transition: background .3s; }
.pad-str.bad { color: var(--bad); } .pad-str.bad .bars i.on { background: var(--bad); }
.pad-str.ok { color: var(--warn); } .pad-str.ok .bars i.on { background: var(--warn); }
.pad-str.good { color: var(--a4); } .pad-str.good .bars i.on { background: var(--a4); }
.pad-str.great { color: var(--good); } .pad-str.great .bars i.on { background: var(--good); box-shadow: 0 0 8px var(--good); }
.pad-keys { display: grid; grid-template-columns: repeat(3, 70px); gap: 11px 20px; justify-content: center; margin: 2px 0; }
.pad-keys button { position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-content: center; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 62%); border: 1px solid var(--line2); color: var(--text); transition: transform .15s, border-color .3s, box-shadow .3s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.pad-keys button b { font: 500 26px/1 var(--font-d); }
.pad-keys button small { font: 600 8.5px var(--mono); letter-spacing: .18em; color: var(--dim); margin-top: 3px; min-height: 9px; }
.pad-keys button:hover { border-color: var(--a1); box-shadow: 0 0 24px -6px var(--a1); }
.pad-keys button:active { transform: scale(.92); }
.pad-keys button.hit { animation: padHit .4s var(--ease-o); }
@keyframes padHit { 0% { transform: scale(.86); background-color: rgba(56, 240, 255, .4); box-shadow: 0 0 36px var(--a1); } }
.pad-keys .fn { background: none; border-color: transparent; color: var(--muted); font-size: 22px; }
.pad-keys .fn svg { width: 25px; height: 25px; }
.pad-keys .fn.on { color: var(--a1); filter: drop-shadow(0 0 8px var(--a1)); }
.st-station-btn { text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px dashed rgba(255, 63, 216, .5); color: var(--text); background: rgba(255, 63, 216, .06); }
.st-station-btn:hover { border-style: solid; color: var(--text); box-shadow: 0 0 22px -6px var(--a3); }

/* ---------- Code-Station ---------- */
.cs-screen { position: relative; width: 100%; padding: 16px 16px 14px; border-radius: 18px; background: #03050c; border: 1px solid rgba(56, 240, 255, .25); overflow: hidden; box-shadow: inset 0 0 40px rgba(56, 240, 255, .08); }
.cs-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(56, 240, 255, .05) 0 1px, transparent 1px 3px); pointer-events: none; }
.cs-lbl { display: flex; align-items: center; gap: 8px; justify-content: center; font: 600 10.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.cs-lbl i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.cs-screen.busy .cs-lbl i { background: var(--a3); animation: avBlink .5s infinite; }
.cs-screen.rx .cs-lbl i { background: var(--good); box-shadow: 0 0 8px var(--good); }
.cs-code { font: 700 clamp(28px, 7vw, 40px)/1.3 var(--mono); letter-spacing: .14em; color: var(--a1); text-shadow: 0 0 18px rgba(56, 240, 255, .7); margin: 8px 0 4px; white-space: nowrap; }
.cs-screen.busy .cs-code { color: var(--a3); text-shadow: 0 0 18px rgba(255, 63, 216, .7); }
.cs-screen.rx .cs-code { animation: csIn .6s var(--ease-b); }
@keyframes csIn { 0% { transform: scale(1.15); filter: brightness(2); } }
.cs-state { font: 500 12.5px var(--mono); color: var(--muted); }
.cs-screen.rx .cs-state { color: var(--good); }
.cs-len { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.cs-len button { display: grid; gap: 2px; padding: 9px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .3s var(--ease-o); }
.cs-len button small { font-weight: 500; font-size: 11px; color: var(--dim); }
.cs-len button.on { background: linear-gradient(115deg, var(--a1), var(--a2)); color: #04050c; }
.cs-len button.on small { color: rgba(4, 5, 12, .65); }
.cs-act { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; width: 100%; }

/* ---------- Konto-Menü ---------- */
.st-me { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); text-align: start; margin-top: 4px; }
.st-me-av { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex: none; background: radial-gradient(circle at 50% 35%, #232a63, #0a0c1f); box-shadow: 0 0 0 2px rgba(56, 240, 255, .4), 0 0 24px -4px var(--a1); }
.st-me-av svg { width: 100%; height: 100%; }
.st-me > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.st-me b { font: 700 17px var(--font-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-me small { color: var(--muted); font-size: 12.5px; }
.st-badge { font: 600 10.5px var(--mono); padding: 5px 9px; border-radius: 999px; background: rgba(61, 255, 162, .12); color: var(--good); white-space: nowrap; }
.st-badge.off { background: rgba(255, 177, 60, .12); color: var(--warn); }
.st-opts { display: grid; gap: 6px; width: 100%; }
.st-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 16px; border: 1px solid transparent; background: rgba(255, 255, 255, .03); color: var(--text); text-align: start; transition: all .3s var(--ease-o); }
.st-opt .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(255, 255, 255, .06); flex: none; transition: transform .4s var(--ease-b); }
.st-opt > span:nth-child(2) { flex: 1; display: grid; gap: 1px; }
.st-opt b { font-size: 14.5px; }
.st-opt small { font-size: 12px; color: var(--dim); }
.st-opt > i { font-style: normal; color: var(--dim); font-size: 20px; transition: transform .3s var(--ease-o), color .3s; }
.st-opt:hover { border-color: var(--line2); background: rgba(255, 255, 255, .06); transform: translateX(3px); }
.st-opt:hover .ic { transform: scale(1.12) rotate(-6deg); }
.st-opt:hover > i { transform: translateX(3px); color: var(--a1); }
.st-opt.hot .ic { background: rgba(56, 240, 255, .15); box-shadow: 0 0 18px -4px var(--a1); animation: avHover 2s ease-in-out infinite; }
.st-opt.warn:hover { border-color: rgba(255, 177, 60, .45); }
.st-opt.warn b { color: #ffd08a; }
.st-opt.danger:hover { border-color: rgba(255, 79, 109, .5); }
.st-opt.danger b { color: #ff8da1; }
.st-warn { display: grid; gap: 8px; justify-items: center; width: 100%; padding: 16px; border-radius: 20px; background: rgba(255, 177, 60, .06); border: 1px solid rgba(255, 177, 60, .25); }
.st-warn.danger { background: rgba(255, 79, 109, .07); border-color: rgba(255, 79, 109, .3); }
.st-warn .ic { font-size: 34px; line-height: 1; animation: avHover 2.2s ease-in-out infinite; }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: start; font-size: 13.5px; color: var(--text); width: 100%; }
.st-list li { padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.st-hold { position: relative; width: 100%; height: 58px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 177, 60, .5); background: rgba(255, 177, 60, .08); color: var(--text); font-weight: 700; font-size: 15px; user-select: none; touch-action: none; }
.st-hold i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #ffb13c, #ff4f6d); }
.st-hold span { position: relative; }
.st-hold.holding { transform: scale(.98); }
.st-hold.done { border-color: var(--good); }

/* ---------- Fertig ---------- */
.st-done { display: grid; gap: 12px; justify-items: center; padding: 6px 0 4px; }
.st-check { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #04050c; background: var(--grad); box-shadow: 0 0 44px rgba(56, 240, 255, .55); animation: padPop .7s var(--ease-b); }
.st-check.bye { background: rgba(255, 255, 255, .08); color: var(--text); box-shadow: none; }
.st-done-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Aliens ---------- */
.aliens { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.alien-ufo { position: absolute; left: 0; top: 0; width: 76px; filter: drop-shadow(0 0 14px rgba(184, 255, 60, .6)); }
.alien-ufo svg { width: 100%; display: block; position: relative; animation: avHover 1s ease-in-out infinite; }
.alien-ufo .beam { position: absolute; left: 50%; top: 70%; width: 70px; height: 0; transform: translateX(-50%); background: linear-gradient(rgba(184, 255, 60, .6), rgba(184, 255, 60, 0)); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); transition: height .4s var(--ease-o); }
.aliens.beaming .beam { height: 90px; }
.aliens.leave .beam { height: 0; }
.alien-bub { position: absolute; transform: translateX(-50%) scale(.3); opacity: 0; width: max-content; max-width: min(320px, 86vw); padding: 12px 16px; border-radius: 18px; background: #b8ff3c; color: #0b1400; text-align: center; display: grid; gap: 2px; box-shadow: 0 16px 40px -10px rgba(184, 255, 60, .6); transition: transform .5s var(--ease-b) .7s, opacity .3s .7s; }
.alien-bub b { font-size: 14px; line-height: 1.35; }
.alien-bub span { font: 800 12px var(--mono); letter-spacing: .2em; animation: alienLaugh .25s steps(2) infinite; }
.alien-bub::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: #b8ff3c; transform: translateX(-50%) rotate(45deg); }
.aliens.beaming .alien-bub { transform: translateX(-50%) scale(1); opacity: 1; }
.aliens.leave .alien-bub { transform: translateX(-50%) scale(.6); opacity: 0; transition-delay: 0s; }
@keyframes alienLaugh { 50% { transform: translateY(-2px) rotate(-2deg); } }

/* ---------- Fussabdruck setzen ---------- */
.st-foot { position: fixed; inset: 0; z-index: 4; opacity: 0; transform-origin: var(--ox, 80%) var(--oy, 20%); transform: scale(.2); transition: transform 1s var(--ease-o), opacity .6s; }
.st-foot.open { opacity: 1; transform: none; }
.st-foot[hidden] { display: none; }
.sf-cv { position: absolute; inset: 0; width: 100%; height: 100%; cursor: none; touch-action: none; }
.sf-head { position: absolute; top: 70px; left: 0; right: 0; text-align: center; padding: 0 20px; pointer-events: none; }
.sf-head .h2 { margin: 10px 0 8px; font-size: clamp(1.8rem, 4vw, 3rem); }
.sf-head p { margin: 0 auto; max-width: 520px; color: var(--muted); font-size: 14.5px; }
.sf-count { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: rgba(8, 10, 24, .7); border: 1px solid var(--line2); font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.sf-count b { color: var(--text); }
.sf-done { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); width: min(460px, calc(100% - 32px)); padding: 18px 20px; border-radius: 22px; text-align: center; display: grid; gap: 8px; justify-items: center; background: rgba(12, 14, 34, .9); border: 1px solid rgba(56, 240, 255, .35); backdrop-filter: blur(12px); box-shadow: 0 30px 80px -20px #000, 0 0 40px -12px var(--a1); animation: stInF .7s var(--ease-b); }
.sf-done b { font: 700 18px var(--font-d); }
.sf-done span { color: var(--muted); font-size: 13.5px; }
.sf-skip { position: absolute; right: 24px; bottom: 30px; }
@media (max-width: 760px) {
  .station { padding: 60px 12px 20px; align-items: start; }
  .st-card { padding: 16px 16px 20px; border-radius: 24px; margin-top: 70px; }
  .st-buddy { width: 124px; height: 118px; margin-top: -62px; }
  .pad-keys { grid-template-columns: repeat(3, 64px); gap: 9px 16px; }
  .pad-keys button { width: 64px; height: 64px; }
  .st-big { grid-template-columns: 1fr; }
  .sf-head { top: 64px; } .sf-head p { font-size: 13px; }
  .sf-skip { right: 14px; bottom: 74px; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .station { align-items: start; }
  .st-card { margin-top: 64px; }
  .pad-keys { grid-template-columns: repeat(3, 60px); gap: 8px 18px; }
  .pad-keys button { width: 60px; height: 60px; }
  .pad-keys button b { font-size: 22px; }
}
.sf-done[hidden], .sf-skip[hidden] { display: none; }
.st-easy { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0; font: 600 12.5px var(--font); color: var(--good); }
.sf-field { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(8, 10, 24, .75); border: 1px solid rgba(56, 240, 255, .35); pointer-events: auto; font: 500 13px var(--mono); color: var(--muted); }
.sf-field b { color: var(--a1); font-weight: 700; }
.sf-field:empty { display: none; }
.sf-head { pointer-events: none; }
.sf-head .sf-field, .sf-head .sf-field * { pointer-events: auto; }
.astro .av-glitch { animation: avGlitch 1.8s steps(1) infinite; }
@keyframes avGlitch { 0%, 88%, 100% { transform: none; } 90% { transform: translate(2px, -1px); } 93% { transform: translate(-2px, 1px); } 96% { transform: translate(1px, 0); } }
.astro .av-portal { transform-box: fill-box; transform-origin: center; animation: avPortal 6s linear infinite; }
@keyframes avPortal { to { transform: rotate(360deg); } }
