:root {
  --ink: #3b2a4a; --ink2: #6a5680; --pink: #ff7eb6; --peach: #ffb36b; --sun: #ffd23f; --mint: #6fdcb9; --sky: #7cc4ff; --lav: #b89cff;
  --card: rgba(255, 255, 255, 0.74); --line: rgba(255, 255, 255, 0.85);
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, -apple-system, "Roboto", sans-serif;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; height: 100dvh; overflow: hidden; background: #cfe8ff; font-family: var(--font); color: var(--ink);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overscroll-behavior: none; }
#c { position: fixed; inset: 0; width: 100vw; height: 100dvh; display: block; touch-action: none; }
#touch { position: fixed; inset: 0; touch-action: none; z-index: 2; display: none; }
body.playing #touch { display: block; }
button { font-family: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
.hidden { display: none !important; }

/* ---------- Zonen-Hinweise ---------- */
#zones { position: fixed; inset: 0; pointer-events: none; z-index: 3; display: none; }
body.playing.zones #zones { display: block; }
body.won #zones, body.won #stick { display: none !important; }
.z { position: absolute; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; font-weight: 900;
  opacity: .28; transition: opacity .15s, background .15s; text-shadow: 0 2px 8px rgba(60, 20, 80, .45); }
.z.on { opacity: 1; }
.zl, .zr { top: 18%; bottom: 22%; width: 30%;
  /* weiche Ober-/Unterkante – sonst wirkt der Zonen-Schleier wie eine harte Farbkante im Himmel */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%); }
.zl { left: 0; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0)); justify-content: flex-start; padding-left: calc(var(--sl) + 14px); }
.zr { right: 0; background: linear-gradient(270deg, rgba(255,255,255,.18), rgba(255,255,255,0)); justify-content: flex-end; padding-right: calc(var(--sr) + 14px); }
.zu, .zd { left: 30%; right: 30%; }
.zu { top: calc(var(--st) + 64px); height: 22%; align-items: flex-start; }
.zd { bottom: calc(var(--sb) + 18px); height: 22%; align-items: flex-end; }
.z.on.zl { background: linear-gradient(90deg, rgba(255,255,255,.42), rgba(255,255,255,0)); }
.z.on.zr { background: linear-gradient(270deg, rgba(255,255,255,.42), rgba(255,255,255,0)); }
.z i { font-style: normal; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.55); }
.z.on i { background: rgba(255, 210, 63, .6); transform: scale(1.1); }
#stick { position: fixed; left: 0; top: 0; width: 140px; height: 140px; border-radius: 50%; z-index: 4; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,.25), rgba(255,255,255,.08)); border: 3px solid rgba(255,255,255,.6); transition: opacity .15s; }
#stick > div { position: absolute; left: 40px; top: 40px; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(60,20,80,.3); }

/* ---------- Zielanzeige (v2.6): Stern über dem Ziel bzw. Randpfeil links/rechts, Lage/Größe/Deckkraft setzt game.js ---------- */
#guide { position: fixed; inset: 0; pointer-events: none; z-index: 3; display: none; }
body.playing #guide { display: block; }
body.won #guide { display: none; }
#guide > div { position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0; will-change: transform, opacity; }
#guide svg { display: block; width: 100%; height: 100%; overflow: visible; }
#guide polygon { fill: #ffd84a; stroke: #3a1e08; stroke-width: 6; stroke-linejoin: round; }
/* Marker: Spitze unten in der Mitte = Ankerpunkt (zeigt AUF das Ziel), sanftes Wippen + Leuchthof */
.gm { width: 64px; height: 64px; margin: -64px 0 0 -32px; transform-origin: 50% 100%; }
.gm .gb { position: absolute; inset: 0; animation: gBob 1.2s ease-in-out infinite alternate; }
.gm .gb::before { content: ''; position: absolute; left: -14%; top: -18%; width: 128%; height: 104%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,210,.85) 0, rgba(255,236,140,.45) 38%, rgba(255,236,140,0) 70%); animation: gGlow 1.2s ease-in-out infinite alternate; }
.gm.clamp .tip { display: none; }
/* Randpfeil: Mitte = Ankerpunkt, schiebt sich sanft nach außen (= dorthin drehen) */
.ge { width: 64px; height: 80px; margin: -40px 0 0 -32px; }
.ge .gc { position: absolute; inset: 0; animation: gNudge .9s ease-in-out infinite; --gd: 1; }
.ge.l .gc { --gd: -1; }
.ge.l svg { transform: scaleX(-1); }
.ge .gh { opacity: .6; }
.ge .gc::before { content: ''; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(255,250,210,.7) 0, rgba(255,236,140,0) 68%); }
/* ▲/▼-Abzeichen: Ziel deutlich höher/tiefer (deckt sich mit steigen/sinken) */
#guide .bdg { position: absolute; display: none; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #fff; border: 3px solid #ffd84a;
  color: #3a1e08; font: normal 900 15px/24px var(--font); text-align: center; box-shadow: 0 2px 8px rgba(60, 20, 80, .35); }
#guide .bdg.up, #guide .bdg.dn { display: block; }
.gm .bdg { left: 96%; top: 46%; }
.ge .bdg { left: 50%; }
.ge .bdg.up { top: -30px; } .ge .bdg.dn { top: 80px; }
@keyframes gBob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes gGlow { from { opacity: .55; transform: scale(.9); } to { opacity: 1; transform: scale(1.08); } }
@keyframes gNudge { 0%, 100% { transform: translateX(0) scale(1); } 50% { transform: translateX(calc(var(--gd) * 8px)) scale(1.06); } }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; display: none; }
body.playing #hud { display: block; }
.hudtop { position: absolute; top: calc(var(--st) + 10px); left: calc(var(--sl) + 10px); right: calc(var(--sr) + 10px); display: flex; align-items: flex-start; gap: 8px; }
#tasks { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.8);
  box-shadow: 0 4px 14px rgba(60, 30, 90, .18); font-weight: 800; font-size: 18px; white-space: nowrap; }
.chip.done { background: linear-gradient(135deg, #b8ffd8, #eaffb0); }
.chip .ic { font-size: 22px; }
.chip.pop { animation: pop .35s ease-out; }
#timer.warn { background: #ffd0d8; animation: pulse .6s infinite alternate; }
.round { pointer-events: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(60,30,90,.2); font-size: 24px; display: grid; place-items: center; flex: none; }
.round:active { transform: scale(.92); }
#combo { position: absolute; top: calc(var(--st) + 70px); left: 50%; transform: translateX(-50%); font-weight: 900; font-size: 30px; color: #fff;
  text-shadow: 0 3px 0 #ff6fa8, 0 6px 16px rgba(120, 40, 90, .45); opacity: 0; transition: opacity .25s; white-space: nowrap; }
#combo.show { opacity: 1; animation: comboPop .4s ease-out; }
#hint { position: absolute; left: 50%; bottom: calc(var(--sb) + 112px); transform: translateX(-50%); max-width: min(92vw, 560px); text-align: center;
  background: rgba(255,255,255,.9); padding: 12px 20px; border-radius: 22px; font-weight: 800; font-size: 18px; box-shadow: 0 8px 26px rgba(60,30,90,.22);
  opacity: 0; transition: opacity .4s, transform .4s; }
#hint.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
#toast { position: absolute; left: 50%; top: calc(var(--st) + 118px); transform: translateX(-50%) scale(.9); background: linear-gradient(135deg, #fff, #fff4fb);
  padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 18px; box-shadow: 0 8px 26px rgba(60,30,90,.22); opacity: 0; transition: all .3s; white-space: nowrap; max-width: 94vw; overflow: hidden; text-overflow: ellipsis; }
#toast.show { opacity: 1; transform: translateX(-50%) scale(1); }
#count { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); font-size: 110px; font-weight: 900; color: #fff; text-shadow: 0 6px 0 #ff6fa8, 0 12px 30px rgba(120,40,90,.5); opacity: 0; }
#count.show { animation: countIn .9s ease-out forwards; }
/* 🎪 Zufalls-Stunt (v2.3): Knopf bleibt ruhig (Playwright „stable“), animiert wird nur das Innere */
.act { pointer-events: auto; position: absolute; bottom: calc(var(--sb) + 18px); right: calc(var(--sr) + 14px); width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.96), rgba(255,236,250,.82)); border: 3px solid rgba(255,255,255,.95);
  box-shadow: 0 6px 0 rgba(200, 90, 150, .35), 0 10px 26px rgba(80, 30, 90, .28); display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; touch-action: none; overflow: hidden; }
.act b { font-size: 34px; font-weight: 400; position: relative; z-index: 1; }
.act span { font-size: 11px; font-weight: 900; margin-top: 3px; letter-spacing: .6px; color: var(--ink2); position: relative; z-index: 1; }
.act .cd { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2; --cd: 1;
  background: conic-gradient(from 0deg, transparent calc(var(--cd) * 360deg), rgba(90, 50, 120, .38) 0); transition: opacity .2s; }
.act.ready .cd { opacity: 0; }
/* v2.7 Kunststück-Mission: Knopf leuchtet golden, solange 🎪-Kunststücke gefragt sind */
.act.want { box-shadow: 0 0 0 4px #ffd84a, 0 0 22px 6px rgba(255, 216, 74, .75); animation: wantGlow 1.1s ease-in-out infinite alternate; }
@keyframes wantGlow { from { box-shadow: 0 0 0 3px #ffd84a, 0 0 10px 2px rgba(255, 216, 74, .5); } to { box-shadow: 0 0 0 5px #ffd84a, 0 0 26px 8px rgba(255, 216, 74, .85); } }
.act.ready b { animation: showReady .6s ease-out; }
.act:active b, .act.on b { transform: scale(.88); }
@keyframes showReady { 0% { transform: scale(1); } 35% { transform: scale(1.25) rotate(-10deg); } 70% { transform: scale(.95) rotate(6deg); } 100% { transform: scale(1); } }
body.won .act { display: none; }

/* ---------- Screens ---------- */
#ui { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: auto;
  padding: calc(var(--st) + 14px) calc(var(--sr) + 14px) calc(var(--sb) + 14px) calc(var(--sl) + 14px); animation: fadeIn .35s ease-out; }
.screen.dim { background: radial-gradient(ellipse at center, rgba(60, 30, 90, .15), rgba(60, 30, 90, .45)); }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 30px; box-shadow: 0 16px 50px rgba(70, 30, 100, .25), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 22px; max-width: min(94vw, 560px); width: 100%; max-height: calc(100dvh - var(--st) - var(--sb) - 28px); overflow: auto; animation: cardIn .45s cubic-bezier(.2, 1.4, .4, 1); }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: .2px; }
h2 { font-size: 28px; text-align: center; margin-bottom: 12px; }
p { margin: 6px 0; }
.btn { min-height: 58px; padding: 0 26px; border-radius: 999px; font-weight: 900; font-size: 21px; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #ff8fc2, #ffb36b); box-shadow: 0 6px 0 #d8608f, 0 12px 26px rgba(160, 50, 110, .3); text-shadow: 0 2px 0 rgba(160, 50, 100, .35); transition: transform .08s; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #d8608f, 0 6px 14px rgba(160,50,110,.3); }
.btn.alt { background: linear-gradient(135deg, #8fd0ff, #b89cff); box-shadow: 0 6px 0 #7a70d0, 0 12px 26px rgba(80, 60, 160, .3); text-shadow: 0 2px 0 rgba(60, 40, 140, .35); }
.btn.alt:active { box-shadow: 0 2px 0 #7a70d0; }
.btn.soft { background: rgba(255,255,255,.9); color: var(--ink); text-shadow: none; box-shadow: 0 5px 0 rgba(150, 110, 180, .35), 0 10px 22px rgba(80,40,110,.18); }
.btn.big { min-height: 70px; font-size: 26px; padding: 0 38px; }
.btn.small { min-height: 48px; font-size: 17px; padding: 0 18px; }
.row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.col { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* Aktionsknöpfe immer sichtbar (sticky am Kartenboden) */
.cta { position: sticky; bottom: -22px; margin: 12px -22px -22px; padding: 14px 22px 18px; z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,250,253,.94) 38%); border-radius: 0 0 30px 30px; }
.lvgrid > div { min-width: 0; }
.setgrid { display: flex; flex-direction: column; gap: 10px; }
@media (orientation: landscape) and (max-height: 540px) {
  .card.wide { max-width: min(96vw, 880px); }
  .lvgrid, .setgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .lvhead .big { font-size: 40px; }
  .bigstars { font-size: 48px; margin: 2px 0; }
}

/* Titel */
#title { background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255, 220, 240, .35)); justify-content: space-between; padding-top: calc(var(--st) + 7dvh); padding-bottom: calc(var(--sb) + 5dvh); }
#title .bottom { display: flex; flex-direction: column; align-items: center; }
.logo { text-align: center; filter: drop-shadow(0 8px 20px rgba(120, 50, 120, .35)); }
.logo .t1 { font-size: clamp(42px, 11vw, 84px); font-weight: 900; line-height: .95; color: #fff; letter-spacing: -1px;
  text-shadow: 0 3px 0 #ff7eb6, 0 6px 0 #d8608f, 0 14px 30px rgba(120, 40, 100, .35); }
.logo .t2 { margin: 12px auto 0; font-size: clamp(16px, 4vw, 22px); font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(120,40,100,.5);
  display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.16); }
.logo .neu { margin: 12px auto 0; display: inline-block; padding: 7px 16px; border-radius: 999px; font-weight: 900; font-size: clamp(15px, 3.8vw, 19px); color: #fff;
  background: linear-gradient(135deg, #ff8fc2, #ffb36b); box-shadow: 0 4px 0 #d8608f, 0 8px 20px rgba(160,50,110,.3); animation: breathe 1.8s ease-in-out infinite; }
.logo .bfly .sp { font-style: normal; font-size: .38em; display: inline-block; vertical-align: top; animation: twinkle 1.6s ease-in-out infinite; }
.logo .bfly .s2 { vertical-align: bottom; animation-delay: .8s; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
.logo .bfly { font-size: clamp(54px, 14vw, 96px); display: inline-block; animation: flutter 1.6s ease-in-out infinite; }
.tapgo { margin-top: 34px; font-size: 22px; font-weight: 900; color: #fff; text-shadow: 0 2px 10px rgba(120,40,100,.6); animation: breathe 1.6s ease-in-out infinite;
  padding: 10px 22px; border-radius: 999px; background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.loadbar { margin-top: 18px; width: min(70vw, 320px); height: 12px; border-radius: 999px; background: rgba(255,255,255,.45); overflow: hidden; }
.loadbar > div { height: 100%; width: 0; background: linear-gradient(90deg, #ff8fc2, #ffd23f); border-radius: 999px; transition: width .3s; }
.loadtxt { margin-top: 8px; font-size: 14px; font-weight: 800; color: #fff; text-shadow: 0 1px 6px rgba(120,40,100,.6); }

/* Profile */
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.pcard { position: relative; background: rgba(255,255,255,.9); border-radius: 24px; padding: 14px 10px; text-align: center; box-shadow: 0 6px 0 rgba(150,110,180,.3), 0 10px 22px rgba(80,40,110,.15); min-height: 150px; }
.pcard:active { transform: translateY(3px); }
.avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font-size: 36px; color: #fff; font-weight: 900; box-shadow: inset 0 -4px 0 rgba(0,0,0,.12); }
.pcard .nm { font-weight: 900; font-size: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .st { font-size: 15px; font-weight: 800; color: var(--ink2); }
.pcard .edit { position: absolute; top: 4px; right: 4px; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; }
.pcard.new { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 44px; color: var(--ink2); background: rgba(255,255,255,.55); border: 3px dashed rgba(150,110,180,.5); box-shadow: none; }
.pcard.new span { font-size: 17px; font-weight: 900; }
input.name { width: 100%; min-height: 58px; border-radius: 20px; border: 3px solid #ffd0e6; padding: 0 18px; font-family: inherit; font-size: 24px; font-weight: 800; color: var(--ink); outline: none; background: #fff; text-align: center; -webkit-user-select: text; user-select: text; }
input.name:focus { border-color: var(--pink); }
.colors { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.colors button { width: 52px; height: 52px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 3px 10px rgba(80,40,110,.25); }
.colors button.sel { transform: scale(1.15); box-shadow: 0 0 0 4px var(--ink), 0 3px 10px rgba(80,40,110,.25); }

/* Karte */
#map { justify-content: flex-start; padding-top: calc(var(--st) + 10px); }
.maptop { width: 100%; display: flex; align-items: center; gap: 10px; max-width: 1100px; flex-wrap: wrap; }
.maptop .seg { order: 5; }
.who { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.85); border-radius: 999px; padding: 4px 16px 4px 4px; font-weight: 900; font-size: 18px; box-shadow: 0 4px 14px rgba(60,30,90,.18); min-height: 52px; }
.who .avatar { width: 44px; height: 44px; font-size: 22px; margin: 0; }
.spacer { flex: 1; }
.seg { display: flex; background: rgba(255,255,255,.75); border-radius: 999px; padding: 4px; gap: 4px; box-shadow: 0 4px 14px rgba(60,30,90,.15); margin: 6px auto 0; }
.seg button { min-height: 48px; padding: 0 16px; border-radius: 999px; font-weight: 900; font-size: 17px; color: var(--ink2); }
.seg button.sel { background: linear-gradient(135deg, #ff8fc2, #ffb36b); color: #fff; box-shadow: 0 3px 0 #d8608f; }
.worlds { width: 100%; flex: 1; min-height: 0; display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 12px 8vw 16px; align-items: center; -webkit-overflow-scrolling: touch;
  /* v2.7: pan-x pan-y – waagrecht wischen wechselt die Welt, senkrecht scrollt die Missionsliste (nur pan-x würde sie sperren) */
  touch-action: pan-x pan-y; overscroll-behavior: contain; }
.worlds::-webkit-scrollbar { display: none; }
.wcard { scroll-snap-align: center; flex: none; width: min(78vw, 360px); border-radius: 32px; padding: 18px; color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 10px 0 rgba(0,0,0,.12), 0 18px 40px rgba(60,30,90,.3); min-height: min(58dvh, 420px); max-height: 100%; display: flex; flex-direction: column; }
/* v2.7: Kopf als Zeile (Emoji links, Text in .wtx) – lässt der scrollbaren Missionsliste mehr Platz */
.wcard .whead { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; position: relative; z-index: 1; flex: none; }
.wcard .wtx { min-width: 0; }
.wcard::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at 18% 72%, rgba(255,255,255,.5) 0 2px, transparent 3px), radial-gradient(circle at 72% 58%, rgba(255,255,255,.45) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 44%, rgba(255,255,255,.4) 0 1.5px, transparent 2.5px), radial-gradient(circle at 86% 30%, rgba(255,255,255,.5) 0 2px, transparent 3px),
    radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.35), transparent 55%); }
.wcard::after { content: attr(data-e); position: absolute; right: -18px; top: 26%; font-size: 150px; line-height: 1; opacity: .16; transform: rotate(-12deg); pointer-events: none; }
.wcard .lvwrap, .wcard .wlock { position: relative; z-index: 1; }
.wcard .wlock { position: absolute; z-index: 2; }
.wstars { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.28); font-weight: 900; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.wcard .we { font-size: 64px; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }
.wcard h3 { font-size: 26px; margin: 0; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wcard .tod { font-weight: 800; opacity: .9; font-size: 16px; }
/* v2.7 Missionsliste: scrollt senkrecht im Rest der Karte; weicher Ausblend-Rand + ▼/▲ zeigen „da kommt noch mehr“ */
.wcard .lvwrap { margin-top: auto; flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
.wcard .lv { display: flex; flex-direction: column; gap: 10px; flex: 0 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
  /* nur senkrecht abschotten: waagrechtes Wischen muss an .worlds weitergehen (Weltwechsel) */
  overscroll-behavior-y: contain; overscroll-behavior-x: auto; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 2px 8px; margin: -2px -2px 0; }
.wcard .lv::-webkit-scrollbar { display: none; }
.lvwrap.more-dn .lv { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), rgba(0,0,0,.15)); mask-image: linear-gradient(180deg, #000 calc(100% - 56px), rgba(0,0,0,.15)); }
.lvwrap.more-up .lv { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.15), #000 40px); mask-image: linear-gradient(180deg, rgba(0,0,0,.15), #000 40px); }
.lvwrap.more-up.more-dn .lv { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.15), #000 40px, #000 calc(100% - 56px), rgba(0,0,0,.15)); mask-image: linear-gradient(180deg, rgba(0,0,0,.15), #000 40px, #000 calc(100% - 56px), rgba(0,0,0,.15)); }
.lvwrap .more { position: absolute; left: 50%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink2);
  display: grid; place-items: center; font-size: 15px; font-style: normal; box-shadow: 0 3px 10px rgba(60,30,90,.3); pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 2; }
/* halb auf dem Kartenrand, damit der Pfeil keinen Missionsnamen verdeckt */
.lvwrap .more.dn { bottom: -15px; } .lvwrap .more.up { top: -12px; }
.lvwrap.more-dn .more.dn { opacity: 1; animation: moreBob 1.4s ease-in-out infinite; }
.lvwrap.more-up .more.up { opacity: .9; }
@keyframes moreBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.lvbtn { flex: none; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 22px; min-height: 60px; padding: 8px 14px; font-weight: 900; font-size: 17px; text-align: left; box-shadow: 0 5px 0 rgba(0,0,0,.12); }
.lvbtn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.lvbtn .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffe07a, #ffb36b); color: #fff; font-size: 18px; flex: none; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.lvbtn .nm { flex: 1; line-height: 1.1; }
.lvbtn .stars { font-size: 16px; letter-spacing: -2px; white-space: nowrap; }
.lvbtn.locked { opacity: .55; }
.lvbtn.locked .n { background: #c9c0d8; }
.stars .off { filter: grayscale(1); opacity: .35; }
.wlock { position: absolute; inset: 0; background: rgba(60, 40, 90, .5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 56px; line-height: 1;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); text-align: center; padding: 16px; }
.wlock div { font-size: 19px; font-weight: 900; line-height: 1.25; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
/* v2.7: Fortschritt bis zur Freischaltung (z. B. ⭐⭐○ = 2 von 3 Missionen) */
.wlock .wneed { display: flex; gap: 10px; }
.wlock .wneed i { width: 38px; height: 38px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.8); display: grid; place-items: center; font-size: 22px; font-style: normal; }
.wlock .wneed i.on { border: 3px solid #fff; background: rgba(255,255,255,.3); }
.wlock .wcount { font-size: 16px; opacity: .9; }
.mapbar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding-bottom: 4px; }
.tile { min-width: 76px; min-height: 68px; border-radius: 22px; background: rgba(255,255,255,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 5px 0 rgba(150,110,180,.3), 0 8px 20px rgba(80,40,110,.15); position: relative; padding: 4px 10px; }
.tile span { font-size: 12px; font-weight: 900; color: var(--ink2); }
.tile:active { transform: translateY(3px); }
.dot { position: absolute; top: 6px; right: 8px; width: 14px; height: 14px; border-radius: 50%; background: #ff5f8a; box-shadow: 0 0 0 3px #fff; }

@media (orientation: landscape) and (max-height: 540px) {
  #map { padding-top: calc(var(--st) + 6px); padding-bottom: calc(var(--sb) + 6px); }
  .maptop { flex-wrap: nowrap; }
  .maptop .seg { order: 0; margin: 0 auto; }
  .maptop .spacer { display: none; }
  .worlds { padding: 8px 8vw; align-items: stretch; }
  .wcard { width: min(64vw, 540px); min-height: 0; flex-direction: row; gap: 14px; padding: 14px; align-items: center; }
  .wcard .whead { flex: 0 0 32%; display: block; margin: 0; }
  .wcard .we { font-size: 46px; }
  .wcard h3 { font-size: 22px; margin-top: 6px; }
  .wcard .lvwrap { margin-top: 0; flex: 1; align-self: stretch; }
  .wcard .lv { gap: 8px; flex: 1 1 auto; }
  .wlock { font-size: 38px; gap: 6px; padding: 10px; }
  .wlock div { font-size: 17px; }
  .wlock .wneed i { width: 32px; height: 32px; font-size: 18px; }
  .lvbtn { min-height: 52px; padding: 4px 12px; }
  .mapbar .tile { min-height: 56px; min-width: 74px; font-size: 22px; }
}

/* Level-Karte & Ergebnis */
.lvhead { text-align: center; }
.lvhead .big { font-size: 56px; line-height: 1; }
.tasklist { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.tasklist div { background: rgba(255,255,255,.85); border-radius: 18px; padding: 10px 14px; font-weight: 800; font-size: 18px; line-height: 1.3; }
.goals div { font-weight: 800; font-size: 16px; color: var(--ink2); padding: 3px 0; }
.bigstars { display: flex; justify-content: center; gap: 8px; font-size: 64px; margin: 8px 0; }
.bigstars span { display: inline-block; filter: grayscale(1) opacity(.3); transform: scale(.6); transition: all .4s cubic-bezier(.2,1.6,.4,1); }
.bigstars span.on { filter: none; transform: scale(1); }
.bigstars span:nth-child(2) { transform: translateY(-12px) scale(.6); }
.bigstars span:nth-child(2).on { transform: translateY(-12px) scale(1.15); }
.facts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; }
.facts div { background: rgba(255,255,255,.85); border-radius: 16px; padding: 8px 12px; font-weight: 800; }
.unl { background: linear-gradient(135deg, #fff6c8, #ffe0f0); border-radius: 20px; padding: 10px 14px; margin: 6px 0; font-weight: 900; display: flex; align-items: center; gap: 10px; animation: pop .5s ease-out both; }
.unl .e { font-size: 34px; }
/* v2.7 „Neue Welt offen“ – antippbar wie ein Knopf */
.unl.neww { width: 100%; font-size: 17px; text-align: left; min-height: 56px; background: linear-gradient(135deg, #d8ffd8, #fff3b0); box-shadow: 0 4px 0 rgba(90, 160, 90, .35); }
.unl.neww:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(90, 160, 90, .35); }

/* Garderobe, Album, Abzeichen */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 10px; flex: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 48px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.75); font-weight: 900; font-size: 15px; }
.tabs button.sel { background: linear-gradient(135deg, #8fd0ff, #b89cff); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.item { position: relative; min-height: 96px; border-radius: 22px; background: rgba(255,255,255,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 36px; box-shadow: 0 4px 0 rgba(150,110,180,.3); padding: 6px; }
.item span { font-size: 12px; font-weight: 900; color: var(--ink2); text-align: center; line-height: 1.1; margin-top: 4px; }
.item.sel { box-shadow: 0 0 0 4px #ff7eb6, 0 4px 0 rgba(150,110,180,.3); }
.item.lock { opacity: .6; }
.item.lock::after { content: '🔒'; position: absolute; top: 4px; right: 6px; font-size: 16px; }
.item .req { font-size: 12px; font-weight: 900; color: #b07a00; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
#wardrobe { justify-content: flex-end; }
#wardrobe .card { max-height: 58dvh; display: flex; flex-direction: column; overflow: hidden; }
#wardrobe .grid { overflow-y: auto; flex: 1 1 auto; min-height: 0; padding: 6px 6px 22px; scroll-padding-bottom: 22px; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  /* unten weich ausblenden: zeigt „hier geht's weiter“, ohne dass der Fertig-Knopf etwas verdeckt */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
#wardrobe .row:last-child { flex: none; margin-top: 8px !important; }
/* Tabs: alle vier passen immer (Symbol über Wort), nie abgeschnitten */
#wardrobe .tabs { justify-content: stretch; overflow: visible; }
#wardrobe .tabs button { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 4px 2px; border-radius: 18px; font-size: 13px; line-height: 1.1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; white-space: nowrap; }
#wardrobe .tabs button b { font-size: 20px; line-height: 1; }
/* v2.2 Werkstatt: 6 Reiter, Abschnitte, Farbfelder, Silhouetten für Gesperrtes, NEU-Marken */
#wardrobe .tabs { gap: 4px; }
#wardrobe .tabs button { position: relative; font-size: 12px; padding: 4px 1px; }
.tdot { position: absolute; top: 4px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f8a; box-shadow: 0 0 0 2px #fff; }
.whead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex: none; }
.whead h2 { margin: 0; flex: 1; text-align: left; }
.whead .round { width: 52px; height: 52px; font-size: 26px; }
.sec { grid-column: 1 / -1; font-weight: 900; font-size: 14px; color: var(--ink2); margin: 6px 4px -4px; letter-spacing: .3px; }
.sec:first-child { margin-top: 0; }
.item .ic { display: flex; align-items: center; justify-content: center; min-height: 44px; line-height: 1; font-size: 36px; margin-top: 0; color: inherit; }
.item.lock { opacity: 1; background: rgba(255,255,255,.55); }
.item.lock .ic { filter: brightness(0) opacity(.42); }
.item.lock > span:not(.ic):not(.req) { color: #9a8aa8; }
.item.opt { min-height: 88px; }
.item .wimg { width: 50px; height: 50px; object-fit: contain; }
.item .neu, .neu-mark { position: absolute; top: 5px; left: 6px; background: #ff5f8a; color: #fff; font-style: normal; font-size: 10px; font-weight: 900; border-radius: 999px; padding: 2px 6px; box-shadow: 0 2px 6px rgba(200,40,90,.35); }
.slots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slots button { min-height: 58px; border-radius: 16px; background: rgba(255,255,255,.85); font-size: 12px; font-weight: 900; color: var(--ink2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; line-height: 1.05; padding: 3px 2px; box-shadow: 0 3px 0 rgba(150,110,180,.25); }
.slots button i { width: 24px; height: 24px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.25); }
.slots button.sel { background: linear-gradient(135deg, #8fd0ff, #b89cff); color: #fff; }
.pal { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 2px; }
.sw { min-width: 48px; min-height: 48px; aspect-ratio: 1; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(80,40,110,.25); font-size: 22px; font-weight: 900; color: var(--ink2); background: #fff; }
.sw.sel { box-shadow: 0 0 0 4px var(--ink), 0 2px 8px rgba(80,40,110,.25); transform: scale(1.06); }
.btn.dice { grid-column: 1 / -1; justify-self: center; }
.screen.again, .screen.again .card { animation: none; }
.unl .wimg, .unlitem .wimg { width: 44px; height: 44px; }
.unl .ico { width: 38px; height: 38px; }
.btn.surprise .gift { font-style: normal; display: inline-block; animation: wiggle 1.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0) scale(1); } 70% { transform: rotate(-14deg) scale(1.15); } 80% { transform: rotate(12deg) scale(1.15); } 90% { transform: rotate(-6deg) scale(1.05); } }

/* Freischalt-Karte */
#unlock { justify-content: flex-end; overflow: hidden; }
#unlock .card { max-width: min(94vw, 480px); text-align: center; display: flex; flex-direction: column; gap: 12px; }
.neutitle { font-size: 30px; font-weight: 900; color: #fff; text-shadow: 0 3px 0 #ff6fa8, 0 6px 16px rgba(120,40,90,.45); animation: pop .6s ease-out both; }
.unlitem { display: flex; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(135deg, #fff6c8, #ffe0f0); border-radius: 22px; padding: 12px 16px; text-align: left; animation: pop .6s .15s ease-out both; }
.unlitem .e { font-size: 46px; line-height: 1; display: flex; }
.unlitem .e .ico { width: 52px; height: 52px; }
.unlitem b { display: block; font-size: 22px; }
.unlitem small { font-weight: 800; color: var(--ink2); font-size: 14px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall 2.6s linear infinite; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(105dvh) rotate(720deg); opacity: .9; } }
@media (orientation: landscape) and (max-height: 540px) { .pal { grid-template-columns: repeat(8, 1fr); gap: 6px; } }
@media (orientation: landscape) { #unlock { align-items: flex-end; justify-content: center; } #unlock .card { max-width: 50vw; } }
.item .ico, .unl .ico { width: 42px; height: 42px; display: block; }
@media (orientation: landscape) { #wardrobe { align-items: flex-end; justify-content: center; } #wardrobe .card { max-width: 52vw; max-height: calc(100dvh - var(--st) - var(--sb) - 20px); } }
.album .item.unk { filter: grayscale(1); opacity: .45; }
.fact { background: #fff; border-radius: 20px; padding: 12px 16px; font-weight: 800; margin-top: 10px; text-align: center; }
.badge { min-height: 110px; }
.badge.off { filter: grayscale(1); opacity: .45; }

/* Einstellungen */
.set.stack { flex-direction: column; align-items: stretch; }
.set.stack .opts { justify-content: center; }
.set { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.85); border-radius: 18px; padding: 8px 12px; min-height: 60px; font-weight: 900; font-size: 18px; }
.toggle { width: 78px; height: 48px; border-radius: 999px; background: #d9d0e6; position: relative; transition: background .2s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 4px; left: 4px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: left .2s; }
.toggle.on { background: linear-gradient(135deg, #7ee0c3, #7cc4ff); }
.toggle.on::after { left: 34px; }
input[type=range] { width: 130px; accent-color: #ff7eb6; height: 44px; }
.opts { display: flex; gap: 4px; background: rgba(0,0,0,.05); border-radius: 999px; padding: 3px; flex-wrap: wrap; justify-content: flex-end; }
.opts button { flex: 1 1 auto; }
.opts button { min-height: 48px; padding: 0 12px; border-radius: 999px; font-weight: 900; font-size: 15px; }
.opts button.sel { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.small { font-size: 13px; color: var(--ink2); font-weight: 700; text-align: center; }
.close { position: absolute; top: calc(var(--st) + 12px); right: calc(var(--sr) + 12px); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes comboPop { 0% { transform: translateX(-50%) scale(.6); } 60% { transform: translateX(-50%) scale(1.25); } 100% { transform: translateX(-50%) scale(1); } }
@keyframes countIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); } 30% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.8); } }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes flutter { 0%, 100% { transform: translateY(0) rotate(-6deg) scaleX(1); } 25% { transform: translateY(-8px) rotate(0) scaleX(.7); } 50% { transform: translateY(-4px) rotate(6deg) scaleX(1); } 75% { transform: translateY(-10px) rotate(0) scaleX(.75); } }
@media (max-height: 460px) {
  .act { width: 72px; height: 72px; bottom: calc(var(--sb) + 12px); } .act b { font-size: 28px; } .act span { font-size: 10px; }
  #hint { bottom: calc(var(--sb) + 92px); font-size: 16px; }
  .wcard { min-height: min(62dvh, 300px); padding: 12px; }
  .wcard .we { font-size: 40px; } .wcard h3 { font-size: 22px; }
  .lvbtn { min-height: 50px; }
  .card { padding: 14px; }
  .cta { bottom: -14px; margin: 8px -14px -14px; padding: 10px 14px 12px; }
  .tasklist div { font-size: 16px; padding: 8px 12px; }
  .goals div { font-size: 14px; padding: 1px 0; }
  h2 { font-size: 22px; margin-bottom: 6px; }
  .chip { height: 40px; font-size: 16px; }
  .whead { margin-bottom: 4px; } .whead h2 { font-size: 22px; }
  #wardrobe .tabs { margin-bottom: 6px; } #wardrobe .tabs button { min-height: 48px; }
  .neutitle { font-size: 24px; } .unlitem { padding: 8px 12px; } .unlitem .e { font-size: 38px; }
}

/* ---------- v3.0 Fan-Cam-Clip der Sieger-Flugshow (TikTok-Stil, Hochformat zuerst) ---------- */
body.clip #hud, body.clip #guide { display: none !important; }
#fancam { position: fixed; inset: 0; z-index: 8; pointer-events: none; display: none; overflow: hidden; color: #fff; }
#fancam.on { display: block; pointer-events: auto; touch-action: none; }
.fcBar { position: absolute; top: calc(var(--st) + 10px); left: calc(var(--sl) + 12px); right: calc(var(--sr) + 12px); display: flex; gap: 4px; }
.fcBar i { flex: 1; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; box-shadow: 0 1px 4px rgba(40, 10, 60, .25); }
.fcBar b { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
/* (Leistung: keine CSS-Filter/Text-Clips – nur Transform/Opacity animieren, Schatten werden einmal gemalt) */
.fcName { position: absolute; left: 0; right: 0; top: 27%; text-align: center; opacity: 0; will-change: transform, opacity; }
.fcName b { display: inline-block; font-size: clamp(34px, 11.5vw, 70px); font-weight: 900; letter-spacing: .02em; line-height: 1.05; padding: 0 .2em;
  color: #fff8fd; text-shadow: 0 0 14px rgba(255, 120, 210, .9), 0 0 4px rgba(255, 230, 140, .9), 0 3px 0 rgba(90, 30, 120, .6); transform: skewX(-8deg); }
.fcName i { display: block; font-style: normal; font-weight: 800; font-size: clamp(16px, 4.6vw, 26px); margin-top: 6px; text-shadow: 0 2px 8px rgba(60, 20, 90, .6); }
.fcName.show { animation: fcPop 1.45s cubic-bezier(.2, .9, .3, 1.2) both; }
.fcName.intro.show { animation-duration: 1.9s; }
@keyframes fcPop { 0% { opacity: 0; transform: scale(2.3) rotate(-7deg); } 14% { opacity: 1; transform: scale(.94) rotate(1deg); }
  22% { transform: scale(1.04) rotate(0deg); } 30% { transform: scale(1); } 78% { opacity: 1; transform: scale(1.02); } 100% { opacity: 0; transform: scale(1.12) translateY(-12px); } }
.fcCap { position: absolute; left: calc(var(--sl) + 14px); right: 30%; bottom: calc(var(--sb) + 22px); text-shadow: 0 2px 6px rgba(40, 10, 60, .7); }
.fcCap b { display: block; font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.fcSong { display: inline-block; font-size: 13px; font-weight: 800; white-space: nowrap; opacity: .92; }
.fcFlash { position: absolute; inset: 0; background: #fffdf3; opacity: 0; }
.fcEnd { position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%); text-align: center; opacity: 0; }
.fcEnd.show { animation: fcEnd .7s cubic-bezier(.2, .9, .3, 1.3) both; }
.fcStars { font-size: clamp(44px, 14vw, 84px); text-shadow: 0 0 14px rgba(255, 220, 90, .9); letter-spacing: .06em; }
.fcTime { font-size: clamp(20px, 6vw, 34px); font-weight: 900; text-shadow: 0 2px 8px rgba(60, 20, 90, .7); margin-top: 4px; }
@keyframes fcEnd { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.fcSkip { position: absolute; right: calc(var(--sr) + 14px); bottom: calc(var(--sb) + 22px); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 14px;
  background: rgba(40, 20, 60, .35); animation: fcSkip 3.5s ease forwards; }
@keyframes fcSkip { 0%, 70% { opacity: .9; } 100% { opacity: .35; } }
@media (orientation: landscape) {
  .fcName { top: 20%; } .fcName b { font-size: clamp(34px, 8.5vh, 64px); } .fcCap { right: 45%; bottom: calc(var(--sb) + 14px); }
  .fcEnd { top: 26%; } .fcStars { font-size: clamp(40px, 14vh, 76px); }
}
