/* CraftAttack-Fanseite – „Abend über der Himmelsinsel“: Nachthimmel, Kirschblüten, Pixel-Akzente */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Tiny5"; src: url("/fonts/tiny5.woff2") format("woff2"); font-weight: 100 900; font-display: swap; size-adjust: 118%; }

:root {
  --bg: #110c22;
  --bg-2: #171030;
  --surface: #1f173c;
  --surface-2: #2a2050;
  --surface-3: #352a63;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f0ff;
  --muted: #b3a8d3;
  --ink: #140e27;
  --cream: #fff6e6;
  --sun: #ffd23a;
  --orange: #ff9a2e;
  --pink: #ff8cc6;
  --grass: #6bd85a;
  --cyan: #4fe0d6;
  --lilac: #b48cff;
  --sky: #8ccaff;
  --coral: #ff6b5e;
  --live: #ff3b3b;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pixel: "Tiny5", ui-monospace, monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }
code, kbd { font-family: var(--pixel); font-size: .9em; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); border-radius: 6px; padding: .05em .4em; white-space: nowrap; }
kbd { box-shadow: 0 2px 0 var(--line-2); }
::selection { background: var(--pink); color: var(--ink); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: .95rem; letter-spacing: .04em; color: var(--sun); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; box-shadow: 0 0 14px currentColor; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.6; max-width: 620px; color: #ddd4f5; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- Kopfzeile */
.nav { position: sticky; top: 0; z-index: 30; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(17, 12, 34, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; font-family: var(--pixel); font-weight: 700; font-size: 1rem; color: var(--ink); background: linear-gradient(135deg, var(--sun), var(--orange)); border-radius: 10px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22), 0 6px 20px -6px var(--orange); transition: transform .4s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { font-family: var(--pixel); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 8px 14px; border-radius: 999px; color: #dcd3f6; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--cream); }
.nav-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; margin: auto; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn: #fff; --btn-ink: var(--ink); --btn-edge: #c9bfe6;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  color: var(--btn-ink); background: var(--btn); border: 0; border-radius: 14px; padding: 12px 22px; cursor: pointer;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 5px 0 var(--btn-edge), 0 14px 30px -14px var(--btn-edge);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 7px 0 var(--btn-edge), 0 18px 34px -14px var(--btn-edge); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18), 0 1px 0 var(--btn-edge); transition-duration: .05s; }
.btn-sun { --btn: var(--sun); --btn-edge: #c49400; }
.btn-orange { --btn: var(--orange); --btn-edge: #c4630a; }
.btn-pink { --btn: var(--pink); --btn-edge: #c4528f; }
.btn-ghost { --btn: rgba(255, 255, 255, .08); --btn-ink: var(--text); --btn-edge: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line-2), 0 5px 0 var(--btn-edge); backdrop-filter: blur(6px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 7px 0 var(--btn-edge); }
.btn-sm { min-height: 38px; font-size: .92rem; padding: 7px 14px; border-radius: 11px; }
.btn.copied { --btn: var(--grass); --btn-edge: #3a9a2c; }
.btn .arrow { transition: transform .25s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------------------------------------------------------------- Sektionen */
main { overflow-x: clip; }
.section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-head .sub { margin: 10px 0 0; color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; }
.section > .wrap { position: relative; z-index: 1; }
.tone-2 { background: var(--bg-2); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden; margin-top: -72px; padding: 150px 0 0;
  background:
    radial-gradient(1200px 600px at 78% 8%, rgba(180, 140, 255, .28), transparent 60%),
    radial-gradient(900px 500px at 8% 90%, rgba(255, 140, 198, .22), transparent 60%),
    linear-gradient(180deg, #0d0920 0%, #1b1240 55%, #3a1f52 100%);
}
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 62% 30%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 82% 22%, #ffe9a8 50%, transparent 51%), radial-gradient(1px 1px at 92% 48%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 58%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 62%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 8%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 36% 74%, #ffd7ef 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .95; } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.wordmark { position: relative; display: inline-block; margin: 0 0 26px; font-family: var(--pixel); font-weight: 700; font-size: clamp(3.6rem, 12vw, 8rem); line-height: .84; letter-spacing: -.01em; }
.wordmark .line { display: block; white-space: nowrap; }
.wordmark .ch { display: inline-block; }
.wordmark .w1 .ch { color: var(--cream); text-shadow: 0 4px 0 #6a4bb3, 0 8px 0 #3b2770, 0 14px 30px rgba(0, 0, 0, .5); }
.wordmark .w2 .ch { color: var(--orange); background: linear-gradient(180deg, var(--sun) 10%, var(--orange) 60%, #ff6a3d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 #9b3d12) drop-shadow(0 8px 0 #4a1d0c) drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); }
.js .wordmark .ch { animation: drop-in .8s var(--spring) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-60px) rotate(-8deg) scale(.8); } }
.sticker { position: absolute; right: -18px; top: -26px; font-family: var(--display); font-style: normal; font-weight: 800; font-size: clamp(.95rem, 2vw, 1.15rem); color: var(--ink); background: var(--pink); padding: 6px 14px; border-radius: 10px; transform: rotate(8deg); box-shadow: 0 4px 0 #b24f87, 0 12px 26px -8px rgba(255, 140, 198, .7); animation: wiggle 4s ease-in-out infinite 1.4s; }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(8deg); } 91% { transform: rotate(14deg) scale(1.08); } 94% { transform: rotate(3deg); } 97% { transform: rotate(10deg); } }
.hero .lead { margin-bottom: 0; }

.ip-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding: 14px 14px 14px 20px; width: fit-content; max-width: 100%; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ip-card .label { font-family: var(--pixel); font-size: .82rem; color: var(--muted); letter-spacing: .03em; }
.ip-card .ip { font-family: var(--pixel); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--sun); }
.live-line { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; font-weight: 600; color: #ddd4f5; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #776c97; flex: none; }
.dot.on { background: var(--grass); box-shadow: 0 0 0 0 rgba(107, 216, 90, .6); animation: pulse 2s infinite; }
.dot.off { background: var(--coral); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(107, 216, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(107, 216, 90, 0); } }

.photo-stack { position: relative; min-height: 440px; }
.photo { position: absolute; margin: 0; padding: 10px 10px 12px; background: var(--cream); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transition: transform .5s var(--spring); }
.photo img { border-radius: 8px; width: 100%; height: auto; }
.photo figcaption { font-family: var(--pixel); font-size: .95rem; padding: 10px 4px 0; }
.photo-1 { width: 88%; right: 0; top: 0; --rot: 3deg; transform: rotate(var(--rot)) translateY(var(--py, 0)); }
.photo-2 { width: 62%; left: 0; bottom: 10px; --rot: -5deg; transform: rotate(var(--rot)) translateY(var(--py, 0)); }
.photo:hover { transform: rotate(0deg) scale(1.03) translateY(var(--py, 0)); z-index: 2; }
.float { animation: float 7s ease-in-out infinite; }
.float.delay { animation-delay: -3.5s; }
@keyframes float { 50% { translate: 0 -12px; } }

/* Kirschblüten */
.petals { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.petal { position: absolute; top: -20px; left: var(--x); width: var(--s); height: var(--s); background: var(--c, #ffb3d9); box-shadow: inset -2px -2px 0 rgba(200, 70, 140, .35); opacity: .85; animation: fall var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); }
  25% { transform: translate3d(calc(var(--drift) * .5), 25vh, 0) rotate(120deg); }
  50% { transform: translate3d(calc(var(--drift) * -.3), 50vh, 0) rotate(220deg); }
  75% { transform: translate3d(var(--drift), 75vh, 0) rotate(300deg); }
  100% { transform: translate3d(calc(var(--drift) * .2), 105vh, 0) rotate(400deg); opacity: .2; }
}

/* Spieler-Parade auf der Wiese */
.parade { position: relative; z-index: 2; margin-top: 56px; }
.parade-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(2px, 1.5vw, 18px); min-height: 230px; padding: 0 16px; }
.parade-guy { position: relative; display: block; width: clamp(104px, 12vw, 150px); height: clamp(180px, 21vw, 250px); flex: none; text-decoration: none; margin-bottom: -6px; }
.parade-guy .skin-box { position: absolute; inset: 0; }
.parade-guy .fallback { position: absolute; left: 50%; bottom: 6px; height: 82%; width: auto; transform: translateX(-50%); image-rendering: pixelated; transition: opacity .4s; }
.skin-ready .fallback { opacity: 0; }
.nametag { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); font-family: var(--pixel); font-size: .88rem; line-height: 1; padding: 5px 8px 6px; color: #fff; background: rgba(0, 0, 0, .5); white-space: nowrap; border-radius: 3px; transition: transform .3s var(--spring), background .2s; }
.nametag .st { color: var(--sun); }
.nametag .st.live { color: #ff6b6b; }
.parade-guy:hover .nametag, .parade-guy:focus-visible .nametag { transform: translate(-50%, -110%) scale(1.08); background: rgba(0, 0, 0, .75); }
.ground { position: relative; z-index: 2; height: 64px; background: url("/img/grass-tile.svg") 0 0 / 64px 64px repeat-x; image-rendering: pixelated; box-shadow: inset 0 -18px 24px -10px rgba(0, 0, 0, .45); }
.ground::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40px; background: linear-gradient(#5b3a22, var(--bg)); }

/* Laufband */
.ticker { position: relative; z-index: 3; overflow: hidden; background: var(--sun); color: var(--ink); transform: rotate(-1.2deg); margin: 34px -10px 0; box-shadow: 0 10px 30px -10px rgba(255, 210, 58, .5); }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { font-family: var(--pixel); font-weight: 700; font-size: 1.15rem; padding: 12px 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
.ticker span::after { content: "✦"; color: #c4630a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Live-Zahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 160px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--spring), border-color .3s; }
.stat::before { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -60px; border-radius: 50%; background: var(--c, var(--lilac)); opacity: .22; filter: blur(30px); transition: opacity .3s, transform .5s var(--ease); }
.stat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.stat:hover::before { opacity: .4; transform: scale(1.2); }
.stat-value { position: relative; font-family: var(--pixel); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.2rem); line-height: 1; color: var(--c, var(--text)); font-variant-numeric: tabular-nums; }
.stat-label { position: relative; font-weight: 600; color: var(--muted); }
.stat-icon { position: relative; width: 34px; height: 34px; color: var(--c); }
.c-grass { --c: var(--grass); } .c-lilac { --c: var(--lilac); } .c-cyan { --c: var(--cyan); } .c-coral { --c: var(--coral); }
.c-sun { --c: var(--sun); } .c-pink { --c: var(--pink); } .c-sky { --c: var(--sky); } .c-orange { --c: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .25s var(--spring), background .2s; }
a.chip:hover { transform: translateY(-2px); background: var(--surface-3); }
.chip img { width: 26px; height: 26px; border-radius: 6px; image-rendering: pixelated; }
.chip.plain { padding-left: 14px; }
.chip b { font-family: var(--pixel); color: var(--sun); font-weight: 600; }
.mini-stats { margin-top: 18px; }
.online-box { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 22px; margin-bottom: 18px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(107, 216, 90, .12), rgba(79, 224, 214, .06)); border: 1px solid rgba(107, 216, 90, .25); }
.online-box h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.empty-note { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .08), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0; color: #cfc5ea; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: .85rem; padding: 4px 10px; border-radius: 8px; color: var(--ink); background: var(--c, var(--lilac)); }
.icon-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.icon-tile svg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- Teilnehmer-Karten */
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.player { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .45s var(--spring), border-color .3s, box-shadow .3s; }
.player:hover, .player:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--pc) 60%, transparent); box-shadow: 0 24px 50px -24px var(--pc); }
.player-art { position: relative; aspect-ratio: 4 / 5; background:
  radial-gradient(120% 70% at 50% 100%, color-mix(in srgb, var(--pc) 55%, transparent), transparent 70%),
  linear-gradient(180deg, color-mix(in srgb, var(--pc) 16%, var(--bg-2)), color-mix(in srgb, var(--pc) 34%, var(--bg-2))); }
.player-art::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.player-art .podium { position: absolute; left: 50%; bottom: 8%; width: 46%; height: 9%; transform: translateX(-50%); background: url("/img/grass-tile.svg") center top / auto 100% repeat-x; image-rendering: pixelated; border-radius: 3px; box-shadow: 0 12px 20px -8px rgba(0, 0, 0, .6); }
.player-art .skin-box { position: absolute; inset: 0 0 10% 0; }
.player-art .fallback { position: absolute; left: 50%; bottom: 14%; height: 72%; width: auto; transform: translateX(-50%); image-rendering: pixelated; transition: opacity .4s; }
.skin3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.skin-ready > .skin3d { opacity: 1; }
.badge { position: absolute; z-index: 2; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--pixel); font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.online { color: var(--grass); }
.badge.live { color: #fff; background: var(--live); animation: live-glow 1.6s ease-in-out infinite; }
.badge.offline { color: #a99fc9; }
@keyframes live-glow { 50% { box-shadow: 0 0 18px rgba(255, 59, 59, .8); } }
.status-pill { position: absolute; z-index: 2; right: 12px; top: 12px; font-family: var(--pixel); font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.player-meta { padding: 14px 16px 16px; }
.player-name { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.01em; line-height: 1.15; overflow-wrap: anywhere; view-transition-name: var(--vt-name, none); }
.player-info { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player-info span { display: inline-flex; align-items: center; gap: 5px; }
.player-info svg { width: 14px; height: 14px; opacity: .8; }
.player .more { position: absolute; right: 14px; bottom: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .07); transition: transform .3s var(--spring), background .2s; }
.player:hover .more { transform: translateX(3px); background: var(--pc); color: var(--ink); }
.player .more svg { width: 14px; height: 14px; }

.filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.field { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.field:focus-within { border-color: var(--lilac); background: var(--surface-2); }
.field input, .field select { font: inherit; font-weight: 600; color: var(--text); background: transparent; border: 0; outline: 0; min-width: 0; }
.field select option { background: var(--surface); }
.field svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.field.search { flex: 1 1 240px; }
.field.search input { width: 100%; }
.toggle { cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--grass); width: 18px; height: 18px; }
.count { margin-left: auto; font-family: var(--pixel); color: var(--muted); }

/* Bestenliste */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.leader { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.leader h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 14px; color: var(--c); }
.leader h3 svg { width: 20px; height: 20px; }
.leader ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.leader li a { display: grid; grid-template-columns: 26px 30px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.leader li a:hover { background: rgba(255, 255, 255, .06); }
.leader .rank { font-family: var(--pixel); color: var(--muted); text-align: center; }
.leader li:first-child .rank { color: var(--sun); }
.leader li img { width: 30px; height: 30px; border-radius: 7px; image-rendering: pixelated; }
.leader .who { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader .val { font-family: var(--pixel); color: #e9e2ff; font-variant-numeric: tabular-nums; }
.leader .none { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- Schritte, Regeln, Karte */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; font-family: var(--pixel); font-weight: 700; font-size: 1.35rem; color: var(--ink); background: var(--c, var(--sun)); border-radius: 12px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.steps li:nth-child(2) { --c: var(--pink); } .steps li:nth-child(3) { --c: var(--cyan); } .steps li:nth-child(4) { --c: var(--grass); }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0; color: #cfc5ea; }
.steps a { color: var(--sun); }

.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rules li { counter-increment: rule; position: relative; padding: 18px 20px 18px 74px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: #cfc5ea; transition: border-color .3s, transform .3s var(--ease); }
.rules li:hover { border-color: var(--line-2); transform: translateX(4px); }
.rules li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-family: var(--pixel); font-weight: 700; font-size: 1.3rem; color: var(--pink); }
.rules strong { display: block; color: var(--text); font-family: var(--display); font-size: 1.1rem; margin-bottom: 2px; }

.split { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 48px); border-radius: 28px; background: linear-gradient(120deg, #ff9a2e, #ff8cc6 55%, #b48cff); color: var(--ink); }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; font-size: 1.12rem; font-weight: 600; opacity: .85; }
.cta-band .btn-row { margin-top: 0; }
.cta-band .btn-ghost { --btn: rgba(20, 14, 39, .12); --btn-ink: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 14, 39, .35), 0 5px 0 rgba(20, 14, 39, .25); }

/* Downloads */
.modlist { margin-top: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.modlist summary { cursor: pointer; padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.modlist summary::-webkit-details-marker { display: none; }
.modlist summary::after { content: "+"; font-family: var(--pixel); font-size: 1.5rem; color: var(--sun); transition: transform .3s var(--ease); }
.modlist[open] summary::after { transform: rotate(45deg); }
.modlist ul { list-style: none; margin: 0; padding: 4px 22px 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.modlist li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--line); }
.modlist li a { font-weight: 700; color: var(--sun); text-decoration: none; }
.modlist li a:hover { text-decoration: underline; }
.modlist li span { color: var(--muted); font-size: .92rem; }
.page-hero { position: relative; overflow: hidden; margin-top: -72px; padding: 150px 0 70px; background:
  radial-gradient(900px 400px at 85% 0%, color-mix(in srgb, var(--accent, var(--lilac)) 35%, transparent), transparent 60%),
  linear-gradient(180deg, #0d0920, var(--bg-2)); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { margin: 0; }

/* ---------------------------------------------------------------- Spielerseite */
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--muted); margin-bottom: 18px; transition: color .2s, gap .25s var(--spring); }
.back:hover { color: var(--text); gap: 12px; }
.profile { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.viewer-card { position: relative; border-radius: 26px; overflow: hidden; background:
  radial-gradient(90% 60% at 50% 95%, color-mix(in srgb, var(--pc) 60%, transparent), transparent 70%),
  linear-gradient(180deg, color-mix(in srgb, var(--pc) 14%, var(--bg-2)), color-mix(in srgb, var(--pc) 32%, var(--bg-2)));
  border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); box-shadow: 0 40px 80px -40px var(--pc); }
.viewer-stage { position: relative; aspect-ratio: 4 / 5; cursor: grab; }
.viewer-stage:active { cursor: grabbing; }
.viewer-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .6s, transform .9s var(--spring); }
.viewer-stage canvas.skin-ready { opacity: 1; transform: none; }
.viewer-stage .fallback { position: absolute; left: 50%; bottom: 12%; height: 74%; width: auto; transform: translateX(-50%); image-rendering: pixelated; transition: opacity .4s; }
.viewer-stage.has-3d .fallback { opacity: 0; }
.viewer-stage .podium { position: absolute; left: 50%; bottom: 6%; width: 44%; height: 7%; transform: translateX(-50%); background: url("/img/grass-tile.svg") center top / auto 100% repeat-x; image-rendering: pixelated; border-radius: 3px; box-shadow: 0 14px 24px -8px rgba(0, 0, 0, .6); }
.viewer-hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .6); pointer-events: none; }
.moves { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.move { font: inherit; font-weight: 700; font-size: .9rem; color: var(--text); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: background .2s, transform .2s var(--spring), color .2s; }
.move:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.move[aria-pressed="true"] { background: var(--pc); color: var(--ink); border-color: transparent; }
.profile-head .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.profile-head .badge { position: static; }
.profile-head h1 { display: flex; align-items: center; gap: 18px; font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: 12px; overflow-wrap: anywhere; }
.profile-head h1 img { width: clamp(48px, 7vw, 72px); height: auto; border-radius: 12px; image-rendering: pixelated; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 26px; color: var(--muted); font-weight: 600; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--pc); }
.key-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.key-stats .stat { min-height: 132px; }
.rank-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--pixel); font-size: .8rem; padding: 3px 9px; border-radius: 999px; background: rgba(255, 210, 58, .16); color: var(--sun); width: fit-content; }
.progress { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--c, var(--lilac)), color-mix(in srgb, var(--c, var(--lilac)) 60%, #fff)); transition: width 1.2s var(--ease); }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.panel { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel h2 .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.panel h2 .icon-tile svg { width: 22px; height: 22px; }
.panel.wide { grid-column: 1 / -1; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 28px; margin-top: 8px; }
.lists > div > .sub-head { margin-top: 18px; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 14px; }
.bar-row .name { font-weight: 600; color: #ddd4f5; }
.bar-row .val { font-family: var(--pixel); font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.bar-row .progress { height: 12px; }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toplist li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.toplist li:last-child { border-bottom: 0; }
.toplist .count { font-family: var(--pixel); color: var(--sun); margin: 0; }
.sub-head { font-family: var(--pixel); font-size: 1rem; color: var(--muted); margin: 22px 0 8px; }
.sub-head:first-of-type { margin-top: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.mini { padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.mini b { display: block; font-family: var(--pixel); font-size: 1.6rem; line-height: 1.1; color: var(--c, var(--text)); font-variant-numeric: tabular-nums; }
.mini span { font-size: .92rem; color: var(--muted); }
.big-number { font-family: var(--pixel); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: var(--c, var(--sun)); }
.empty-card { padding: 40px; text-align: center; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--muted); }
.empty-card h2 { color: var(--text); font-size: 1.6rem; }
.pager { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pager a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: transform .3s var(--spring), border-color .2s; }
.pager a:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pager a.next { flex-direction: row-reverse; padding: 10px 10px 10px 16px; margin-left: auto; }
.pager img { width: 36px; height: 36px; border-radius: 8px; image-rendering: pixelated; }
.pager small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.not-found { text-align: center; padding: 60px 0; }
.skeleton { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- Fußzeile */
.footer { position: relative; padding: 70px 0 50px; background: #0b0818; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 36px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: #d6cdee; text-decoration: none; font-weight: 600; width: fit-content; }
.footer-links a:hover { color: var(--sun); }
.footer small { display: block; color: #8f85b0; font-size: .85rem; line-height: 1.55; }

/* ---------------------------------------------------------------- Einblenden beim Scrollen */
/* über translate/scale statt transform, damit Hover- und Neige-Effekte nicht überschrieben werden */
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal].in { animation: reveal .8s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal="scale"].in { animation-name: reveal-scale; }
@keyframes reveal { from { opacity: 0; translate: 0 28px; } }
@keyframes reveal-scale { from { opacity: 0; scale: .94; } }
.player.pop { animation: pop-in .6s var(--spring) backwards; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes pop-in { from { opacity: 0; translate: 0 24px; scale: .96; } }
.ico { display: inline-flex; flex: none; }
.ico svg, .stat-icon svg, .icon-tile i svg, i[data-icon] svg { display: block; width: 100%; height: 100%; }
.ico { width: 1em; height: 1em; }
.player-info .ico { width: 13px; height: 13px; opacity: .85; }
.leader h3 .ico, .facts .ico { width: 18px; height: 18px; color: var(--c, var(--pc)); }
.icon-tile i { display: block; width: 26px; height: 26px; }
.field i[data-icon] { display: block; width: 17px; height: 17px; color: var(--muted); flex: none; }
.stat-icon { display: block; }

/* Seitenübergänge (Chrome, Safari) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------------------------------------------------------------- Responsiv */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-stack { min-height: 0; height: clamp(260px, 62vw, 420px); max-width: 620px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; }
  .viewer-card { max-width: 460px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-inner { min-height: 64px; gap: 10px; }
  .menu-btn { display: block; }
  .nav-links { position: absolute; left: 12px; right: 12px; top: calc(100% + 4px); flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; margin: 0; border-radius: 18px; background: rgba(23, 16, 48, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { display: none; }
  .nav.open { background: rgba(17, 12, 34, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .hero { margin-top: -64px; padding-top: 104px; }
  .page-hero { margin-top: -64px; padding: 110px 0 50px; }
  .sticker { right: -88px; top: 6px; }
  .ip-card { width: 100%; justify-content: space-between; }
  .ip-card .ip { font-size: 1.45rem; }
  .cards, .steps, .steps.three, .rules, .panel-grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { min-height: 130px; padding: 18px; }
  .players { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .player-meta { padding: 12px 12px 14px; }
  .player-name { font-size: clamp(.86rem, 4.1vw, 1.06rem); letter-spacing: -.02em; }
  .player-info { font-size: .82rem; gap: 2px 10px; }
  .player .more { display: none; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mini { padding: 13px; }
  .mini b { font-size: 1.35rem; }
  .viewer-stage { aspect-ratio: 1 / 1.05; }
  .nametag { font-size: .74rem; padding: 4px 6px 5px; }
  .parade-row { gap: 10px; }
  .wordmark { font-size: clamp(3.4rem, 19vw, 4.6rem); margin-top: 10px; }
  .panel { padding: 20px; }
  .badge, .status-pill { font-size: .74rem; top: 9px; }
  .badge { left: 9px; } .status-pill { right: 9px; }
  .parade { margin-top: 40px; }
  .parade-row { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-top: 40px; margin-top: -40px; scroll-snap-type: x proximity; }
  .parade-row::-webkit-scrollbar { display: none; }
  .parade-guy { scroll-snap-align: center; }
  .ground { height: 48px; background-size: 48px 48px; }
  .modlist ul { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .bar-row .progress { grid-column: 1 / -1; grid-row: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .count { margin-left: 0; width: 100%; }
  .key-stats { gap: 10px; }
  .key-stats .stat { min-height: 118px; }
  .section-head { margin-bottom: 28px; }
}
@media (max-width: 380px) {
  .players { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Animationen aus (Systemeinstellung „Bewegung reduzieren“ oder Schalter in der Fußzeile) */
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
html[data-motion="off"] .petals { display: none; }
html[data-motion="off"] .ticker-track { animation: none; }
html.js[data-motion="off"] [data-reveal]:not(.in) { opacity: 1; }

.motion-toggle { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 8px; padding: 0; font: inherit; font-weight: 600; color: #d6cdee; background: none; border: 0; cursor: pointer; }
.motion-toggle:hover { color: var(--sun); }
.switch { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--surface-3); transition: background .2s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s var(--spring); }
.motion-toggle[aria-pressed="true"] .switch { background: var(--grass); }
.motion-toggle[aria-pressed="true"] .switch::after { transform: translateX(14px); }
.motion-hint { position: fixed; z-index: 40; left: 16px; bottom: 16px; max-width: min(460px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: rgba(31, 23, 60, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .92rem; color: #ddd4f5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.motion-hint[hidden] { display: none; }
.hint-close { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.hint-close:hover { background: rgba(255, 255, 255, .16); }
.head-placeholder { display: inline-block; width: 30px; height: 30px; border-radius: 7px; background: var(--surface-3); flex: none; }
