/* Cenni Game – Sticker-Look: dicke Kontur, harte Schatten, Pastell */
:root {
  --ink: #2d2250; --cream: #fffdf3; --pink: #ff8fc4; --hot: #ff5fa8; --mint: #8fe6c8; --lilac: #c9b6ff; --sun: #ffe36e; --sky: #a8d4ff; --peach: #ffc2a4;
  --r1: #b9b5bf; --r2: #5fb2ff; --r3: #b06bff; --r4: #ffb020; --r5: #ff3d8f;
  --hud: 64px; --dock: 68px;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --f: 'Fredoka', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--f); color: var(--ink); background: #ffeaf4; overflow-x: hidden; overscroll-behavior: none; -webkit-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
[hidden] { display: none !important; }
button { font-family: inherit; color: inherit; }
img { max-width: 100%; }

/* Hintergrund */
#bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(circle at 1px 1px, rgba(45,34,80,.12) 1.6px, transparent 2px) 0 0 / 24px 24px, linear-gradient(165deg, #ffd6ea 0%, #e3d8ff 45%, #c9f3e3 100%); }
#bg .cl { position: absolute; width: 220px; height: 70px; background: #fff; border-radius: 60px; opacity: .75; filter: drop-shadow(0 6px 0 rgba(45,34,80,.08)); animation: drift 60s linear infinite; }
#bg .cl::before, #bg .cl::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
#bg .cl::before { width: 90px; height: 90px; left: 30px; top: -45px; } #bg .cl::after { width: 120px; height: 110px; left: 90px; top: -60px; }
#bg .c1 { top: 14%; left: -260px; } #bg .c2 { top: 48%; left: -260px; animation-duration: 85s; animation-delay: -40s; transform: scale(.7); } #bg .c3 { top: 78%; left: -260px; animation-duration: 100s; animation-delay: -70s; }
@keyframes drift { to { left: calc(100% + 260px); } }
body.fast #bg .cl { animation: none; display: none; }

/* Grundbausteine */
.btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 48px; border-radius: 16px; font-weight: 600; font-size: 17px; color: var(--ink); background: var(--sun); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .1s, box-shadow .1s, filter .15s; text-align: center; touch-action: manipulation; position: relative; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
.btn.pink { background: var(--pink); } .btn.mint { background: var(--mint); } .btn.lilac { background: var(--lilac); } .btn.white { background: #fff; } .btn.sky { background: var(--sky); } .btn.dark { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #120c28; }
.btn.gold { background: linear-gradient(180deg, #fff3a0, #ffcf40); }
.btn.sm { padding: 6px 14px; min-height: 38px; font-size: 15px; border-radius: 12px; box-shadow: 0 3px 0 var(--ink); }
.btn.lg { padding: 16px 34px; font-size: 22px; border-radius: 20px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled], .btn.off { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: 0 5px 0 var(--ink); filter: grayscale(.4); }
.btn .ic { width: 22px; height: 22px; }
.card { background: var(--cream); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: clamp(14px, 3vw, 24px); }
.h1 { font-weight: 700; font-size: clamp(28px, 6vw, 44px); margin: 0 0 6px; line-height: 1.05; }
.h2 { font-weight: 700; font-size: clamp(21px, 4.4vw, 28px); margin: 0 0 8px; line-height: 1.1; }
.h3 { font-weight: 600; font-size: 18px; margin: 0 0 6px; }
.note { font-size: 14px; opacity: .78; margin: 4px 0; line-height: 1.35; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .row.c { justify-content: center; } .row.sb { justify-content: space-between; }
.grid { display: grid; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tag.lock { background: #eee; }
.ic { display: inline-block; width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--ink); flex: none; }
.ic.coin { background: radial-gradient(circle at 35% 30%, #fff3a0, #f2b705 70%); position: relative; }
.ic.coin::after { content: "€"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ic.gem { border-radius: 4px; transform: rotate(45deg) scale(.82); background: linear-gradient(135deg, #b8f6ff, #5fb2ff 60%, #b06bff); }
.price { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.price .ic { width: 20px; height: 20px; border-width: 2px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; font-size: 17px; padding: 12px 14px; border-radius: 14px; border: 3px solid var(--ink); background: #fff; color: var(--ink); min-width: 0; width: 100%; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--hot); outline-offset: 1px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--hot); }
.msg { min-height: 1.3em; font-weight: 600; color: #c0185f; } .msg.ok { color: #14805f; }
.shake { animation: shake .4s; } @keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pop { animation: popIn .45s cubic-bezier(.2, 1.5, .4, 1); } @keyframes popIn { from { transform: scale(.6); opacity: 0; } }
.bob { animation: bob 3s ease-in-out infinite; } @keyframes bob { 50% { transform: translateY(-8px); } }

/* HUD */
#hud { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 8px; padding: calc(var(--sat) + 8px) max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left)); background: rgba(255, 253, 243, .94); border-bottom: 3px solid var(--ink); backdrop-filter: blur(6px); }
.hud-me { all: unset; cursor: pointer; position: relative; width: 50px; height: 50px; flex: none; }
.hud-me .av { display: block; width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--ink); background: var(--pink); overflow: hidden; }
.hud-me .av svg { width: 150%; margin: -6% 0 0 -25%; }
.hud-me .lv { position: absolute; right: -6px; bottom: -4px; min-width: 26px; height: 24px; padding: 0 5px; border-radius: 12px; background: var(--sun); border: 2.5px solid var(--ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.hud-xp { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hud-xp b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-xp small { font-size: 11px; font-weight: 500; opacity: .75; }
.bar { height: 13px; border-radius: 9px; border: 2.5px solid var(--ink); background: #fff; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--mint) 0 8px, #b8f3df 8px 16px); transition: width .6s cubic-bezier(.3, 1.3, .5, 1); }
.cur { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 3px 0 var(--ink); white-space: nowrap; }
.cur.bump { animation: bump .4s; } @keyframes bump { 40% { transform: scale(1.18) rotate(-3deg); } }
.hud-gear { all: unset; cursor: pointer; width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; border: 2.5px solid var(--ink); background: var(--lilac); box-shadow: 0 3px 0 var(--ink); font-size: 21px; }
@media (max-width: 520px) { .hud-xp small { display: none; } .cur { font-size: 13px; padding: 3px 8px 3px 4px; } .cur .ic { width: 20px; height: 20px; } .hud-gear { width: 38px; height: 38px; } }

/* Dock */
#dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--sab) + 8px); z-index: 40; display: flex; gap: 4px; padding: 6px; background: var(--cream); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); width: min(520px, calc(100% - 16px)); }
#dock button { all: unset; cursor: pointer; flex: 1; display: grid; justify-items: center; gap: 1px; padding: 5px 2px; border-radius: 15px; position: relative; font-size: 12px; font-weight: 600; }
#dock button i { font-style: normal; font-size: 22px; line-height: 1.1; transition: transform .2s; }
#dock button[aria-current="true"] { background: var(--pink); box-shadow: inset 0 0 0 2.5px var(--ink); }
#dock button[aria-current="true"] i { transform: translateY(-2px) scale(1.1); }
#dock .dot { position: absolute; top: 2px; right: 18%; width: 12px; height: 12px; border-radius: 50%; background: #ff3d6e; border: 2px solid var(--ink); }

/* Ansicht */
#view { min-height: 100%; padding: calc(var(--hud) + var(--sat) + 14px) max(12px, env(safe-area-inset-right)) calc(var(--dock) + var(--sab) + 26px) max(12px, env(safe-area-inset-left)); }
body.bare #view { padding: calc(var(--sat) + 14px) 12px calc(var(--sab) + 20px); }
.wrap { width: min(1120px, 100%); margin: 0 auto; }
.scr-in { animation: scrIn .35s ease-out; } @keyframes scrIn { from { opacity: 0; transform: translateY(14px); } }
.back { margin-bottom: 12px; }
.sect-h { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; flex-wrap: wrap; }
.sect-h img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 4px 0 rgba(45,34,80,.25)); }
.sect-h .h1 { margin: 0; }
.sect-h > div:not(.row) { flex: 1 1 280px; min-width: 0; }

/* ---------- Titel ---------- */
.title { min-height: calc(100svh - 40px); display: grid; align-content: center; justify-items: center; text-align: center; gap: 14px; position: relative; }
.logo { font-weight: 700; font-size: clamp(44px, 12.5vw, 132px); max-width: 100%; line-height: .9; color: #fff; -webkit-text-stroke: 3.5px var(--ink); paint-order: stroke fill; text-shadow: 0 8px 0 var(--ink); transform: rotate(-3deg); margin: 0; letter-spacing: 1px; }
.logo span { display: inline-block; animation: wob 2.8s ease-in-out infinite; }
.logo span:nth-child(2n) { animation-delay: -.7s; color: var(--sun); } .logo span:nth-child(3n) { animation-delay: -1.4s; color: var(--pink); } .logo span:nth-child(5n) { color: var(--mint); }
@keyframes wob { 50% { transform: translateY(-9px) rotate(3deg); } }
.sub { max-width: calc(100% - 8px); font-weight: 600; font-size: clamp(13px, 3.4vw, 21px); background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 6px 18px; box-shadow: 0 4px 0 var(--ink); transform: rotate(1.5deg); }
.lineup { display: flex; justify-content: center; align-items: flex-end; height: clamp(230px, 40vh, 380px); margin: 6px 0 -10px; }
.lineup .gw { height: 100%; aspect-ratio: 300 / 700; margin: 0 -2.5%; cursor: pointer; transition: transform .25s; }
.lineup .gw:nth-child(2) { height: 108%; z-index: 2; }
.lineup .gw svg { width: 100%; height: 100%; overflow: visible; }
.lineup .gw:hover { transform: translateY(-10px) rotate(-2deg); }
.lineup .gw.hop { animation: hop .6s; }
@keyframes hop { 40% { transform: translateY(-40px) scale(1.04); } }
.title .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; z-index: 3; }
.title .ver { font-size: 12px; opacity: .6; }
.spark { position: absolute; pointer-events: none; font-size: 28px; animation: bob 4s ease-in-out infinite; }
.stage-floor { position: absolute; left: 50%; transform: translateX(-50%); width: min(560px, 90%); height: 40px; bottom: 0; border-radius: 50%; background: rgba(45,34,80,.15); }

/* Figuren-Animationen */
.girl .eye { animation: blink 5s infinite; } .girl .eye:nth-of-type(2) { animation-delay: .02s; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.girl .hd { transform-origin: 150px 230px; animation: headbob 4s ease-in-out infinite; }
@keyframes headbob { 50% { transform: rotate(1.5deg); } }
.girl .halo { animation: halo 2s ease-in-out infinite; } @keyframes halo { 50% { transform: translateY(-4px); } }
.girl .wings { transform-origin: 150px 290px; animation: wing 1.6s ease-in-out infinite; } @keyframes wing { 50% { transform: scaleX(1.06); } }
body.fast .girl .hd, body.fast .girl .wings { animation: none; }
.walkin { animation: walkin .9s cubic-bezier(.3, 1.2, .5, 1); } @keyframes walkin { from { transform: translateX(70vw) rotate(4deg); } 60% { transform: translateX(-3%) rotate(-2deg); } }
.walkout { animation: walkout .7s ease-in forwards; } @keyframes walkout { to { transform: translateX(-80vw) rotate(-6deg); opacity: 0; } }
.happy { animation: happy .7s 2; } @keyframes happy { 30% { transform: translateY(-26px); } 60% { transform: translateY(0); } }
.sad { animation: sad .8s; } @keyframes sad { 30%, 70% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* ---------- Login ---------- */
.auth { max-width: 470px; margin: 0 auto; display: grid; gap: 14px; }
.auth .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auth .tabs button { all: unset; cursor: pointer; text-align: center; padding: 10px; border-radius: 14px; border: 3px solid var(--ink); background: #fff; font-weight: 600; }
.auth .tabs button[aria-selected="true"] { background: var(--pink); box-shadow: 0 3px 0 var(--ink); }
.auth form { display: grid; gap: 12px; }
.pwrap { position: relative; } .pwrap input { padding-right: 52px; }
.pwrap .eye-t { all: unset; cursor: pointer; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; font-size: 18px; border-radius: 10px; }
.mode-pill { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; }
.mode-pill i { width: 10px; height: 10px; border-radius: 50%; background: #ffb020; display: inline-block; } .mode-pill.on i { background: #2fb58a; }
.reccode { font-family: ui-monospace, Consolas, monospace; font-size: 24px; letter-spacing: 2px; font-weight: 700; padding: 12px; text-align: center; background: #fff3a8; border: 3px dashed var(--ink); border-radius: 14px; -webkit-user-select: all; user-select: all; }

/* ---------- Lobby / Stadt ---------- */
.welcome { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.welcome .h1 { margin: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.chip { all: unset; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 16px; border: 3px solid var(--ink); background: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
.chip.hot { background: var(--sun); animation: bump 1.6s infinite; }
.town { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: 6px 10px; padding: 10px 0 20px; }
.town::before { content: ""; position: absolute; inset: 40px -20px 0; border-radius: 40px; background: radial-gradient(ellipse at center, rgba(143, 230, 200, .45), transparent 70%); z-index: -1; }
.bld { all: unset; cursor: pointer; position: relative; display: grid; justify-items: center; padding: 0 0 8px; border-radius: 26px; transition: transform .2s; touch-action: manipulation; }
.bld img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: -8% 0 -12%; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 8px 0 rgba(45,34,80,.18)); pointer-events: none; }
.bld:hover img, .bld:focus-visible img { transform: translateY(-8px) scale(1.04); }
.bld:active img { transform: scale(.96); }
.bld:focus-visible { outline: 3px dashed var(--hot); outline-offset: -4px; }
.bld .lab { position: relative; z-index: 2; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 4px 12px; font-weight: 700; font-size: clamp(14px, 3.4vw, 17px); box-shadow: 0 4px 0 var(--ink); text-align: center; max-width: 96%; }
.bld .lab small { display: block; font-weight: 500; font-size: 11.5px; opacity: .75; }
.bld.lk img { filter: grayscale(1) brightness(1.05) opacity(.7); }
.bld.lk .lab { background: #eee; }
.bld .lkb { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); z-index: 3; background: var(--ink); color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 12px; font-size: 14px; white-space: nowrap; }
.bld .ping { position: absolute; top: 8%; right: 12%; z-index: 3; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 15px; background: #ff3d6e; color: #fff; display: grid; place-items: center; font-weight: 700; border: 3px solid var(--ink); animation: bump 1.4s infinite; font-size: 14px; }
.bld.new .lab::after { content: "NEU"; position: absolute; top: -12px; right: -10px; background: var(--hot); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 8px; border: 2px solid var(--ink); }
.street { position: relative; height: 150px; margin: 10px -12px 0; overflow: hidden; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: linear-gradient(#b8b2c8 0 46%, #fff 46% 50%, #b8b2c8 50%); }
.street::after { content: ""; position: absolute; left: 0; right: 0; top: 47%; height: 6%; background: repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 80px); }
.street .walker { position: absolute; bottom: 8px; height: 140px; aspect-ratio: 300 / 700; animation: walk linear forwards; z-index: 2; }
.street .walker svg { width: 100%; height: 100%; animation: step .5s ease-in-out infinite; }
.street .walker.rev svg { transform: scaleX(-1); animation-name: stepr; }
@keyframes step { 50% { transform: translateY(-5px) rotate(1.5deg); } } @keyframes stepr { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateY(-5px) rotate(-1.5deg); } }
@keyframes walk { from { left: -90px; } to { left: calc(100% + 90px); } }
.street .walker.rev { animation-name: walkr; } @keyframes walkr { from { left: calc(100% + 90px); } to { left: -90px; } }
.street .bub { position: absolute; top: -6px; left: 70%; white-space: nowrap; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 1px 7px; font-size: 11px; font-weight: 600; }
.street .lamp { position: absolute; bottom: 60%; width: 8px; height: 60px; background: var(--ink); border-radius: 4px; }
.street .lamp::after { content: ""; position: absolute; top: -14px; left: -9px; width: 26px; height: 18px; border-radius: 50% 50% 6px 6px; background: var(--sun); border: 3px solid var(--ink); }

/* ---------- Räume ---------- */
.room { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(220px, 290px); gap: 14px; align-items: start; }
@media (max-width: 920px) { .room { grid-template-columns: minmax(0, 1fr); } .room .r-stage { order: 1; } .room .r-wish { order: 2; } .room .r-tools { order: 3; } }
.r-stage { position: relative; border: 3px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); min-height: 420px; background: linear-gradient(#fff4fa, #ffe0ef); display: grid; place-items: center; touch-action: none; }
.r-stage .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: repeating-linear-gradient(90deg, #f6d9c4 0 60px, #efcdb4 60px 120px); border-top: 3px solid var(--ink); }
.r-stage .wall-deco { position: absolute; inset: 0 0 22%; pointer-events: none; }
.r-stage .cust { position: relative; z-index: 2; width: min(100%, 520px); display: grid; place-items: center; }
.r-stage .cust svg.girl { width: 100%; height: auto; max-height: 72vh; touch-action: none; }
@media (max-width: 920px) { .r-stage { min-height: 0; } .r-stage .cust svg.girl { max-height: 52vh; } }
.r-stage .say { position: absolute; z-index: 4; top: 12px; left: 12px; right: 12px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 8px 14px; font-weight: 600; box-shadow: 0 4px 0 var(--ink); font-size: 15px; opacity: 0; transform: translateY(-8px); transition: .25s; pointer-events: none; }
.r-stage .say.on { opacity: 1; transform: none; }
.r-stage .say b { color: var(--hot); }
.r-stage .emo { position: absolute; z-index: 5; font-size: 54px; left: 50%; top: 18%; transform: translateX(-50%); animation: emo 1.8s ease-out forwards; pointer-events: none; }
@keyframes emo { 0% { transform: translateX(-50%) scale(0); } 20% { transform: translateX(-50%) scale(1.3); } 100% { transform: translateX(-50%) translateY(-70px); opacity: 0; } }
.r-stage .prog { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 12px; }
.r-stage .zone-hint { position: absolute; z-index: 3; pointer-events: none; border: 3px dashed var(--hot); border-radius: 50%; animation: zh 1s ease-in-out infinite; }
@keyframes zh { 50% { transform: scale(1.08); opacity: .6; } }
.r-stage .timer { position: absolute; z-index: 4; right: 12px; top: 64px; background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; padding: 2px 10px; font-weight: 700; font-size: 14px; }
.r-tools, .r-wish { display: grid; gap: 10px; }
.panel { background: var(--cream); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); padding: 12px; }
.panel .h3 { display: flex; align-items: center; gap: 8px; }
.wish { display: grid; gap: 7px; }
.wish .wi { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 13px; border: 2.5px solid var(--ink); background: #fff; font-weight: 600; font-size: 14.5px; transition: background .25s; }
.wish .wi .sw { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--ink); flex: none; }
.wish .wi .st { margin-left: auto; font-size: 18px; }
.wish .wi.ok { background: #d8f8ea; } .wish .wi.half { background: #fff6cc; }
.wish .who { display: flex; gap: 10px; align-items: center; }
.wish .who .face { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--ink); overflow: hidden; background: var(--lilac); flex: none; }
.wish .who .face svg { width: 100%; height: 100%; }
.wish .who b { display: block; font-size: 16px; } .wish .who small { font-size: 12.5px; opacity: .75; }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cat { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff7d6; font-weight: 600; font-size: 14px; touch-action: manipulation; }
.cat[aria-pressed="true"] { background: var(--pink); box-shadow: 0 3px 0 var(--ink); }
.cat.lk { opacity: .45; cursor: not-allowed; }
.cat .n { font-size: 11px; background: var(--hot); color: #fff; padding: 0 5px; border-radius: 6px; }
.sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 7px; }
.sw-b { all: unset; cursor: pointer; aspect-ratio: 1; border-radius: 13px; border: 3px solid var(--ink); position: relative; box-shadow: 0 3px 0 var(--ink); touch-action: manipulation; transition: transform .12s; }
.sw-b[aria-pressed="true"] { transform: translateY(-3px) scale(1.06); outline: 3px solid var(--hot); outline-offset: 2px; }
.sw-b.lk::after { content: "🔒"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; background: rgba(255,255,255,.55); border-radius: 9px; }
.sw-b .p { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); background: #fff; border: 2px solid var(--ink); border-radius: 7px; font-size: 10px; font-weight: 700; padding: 0 4px; white-space: nowrap; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.tool { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-size: 12px; font-weight: 600; text-align: center; touch-action: manipulation; }
.tool i { font-style: normal; font-size: 26px; }
.tool[aria-pressed="true"] { background: var(--mint); box-shadow: 0 3px 0 var(--ink); transform: translateY(-2px); }
.tool.done { opacity: .45; }
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps span { padding: 4px 10px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; font-size: 13px; font-weight: 600; }
.steps span.on { background: var(--sun); } .steps span.ok { background: var(--mint); }
.cursor-tool { position: fixed; z-index: 60; pointer-events: none; font-size: 40px; transform: translate(-30%, -80%); filter: drop-shadow(0 3px 0 rgba(45,34,80,.4)); }
.ring { position: absolute; border-radius: 50%; border: 4px solid var(--hot); pointer-events: none; z-index: 4; }
.holdbar { position: absolute; z-index: 5; width: 64px; height: 10px; border-radius: 6px; border: 2px solid var(--ink); background: #fff; overflow: hidden; pointer-events: none; transform: translate(-50%, -38px); }
.holdbar i { display: block; height: 100%; background: var(--hot); width: 0; }

/* Ergebnis */
.result { text-align: center; display: grid; gap: 10px; justify-items: center; }
.stars { font-size: 40px; letter-spacing: 4px; }
.stars span { display: inline-block; filter: grayscale(1) opacity(.35); transition: .3s; }
.stars span.on { filter: none; animation: popIn .5s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.payrows { display: grid; gap: 4px; width: min(320px, 100%); font-weight: 600; }
.payrows div { display: flex; justify-content: space-between; padding: 4px 10px; border-radius: 10px; background: #fff; border: 2px solid var(--ink); }
.payrows .tot { background: var(--sun); font-size: 18px; }

/* Nägel */
.hand-wrap { position: relative; z-index: 2; width: min(100%, 460px); }
.hand { width: 100%; height: auto; touch-action: manipulation; }
.hand .nail { cursor: pointer; } .hand .nail:hover rect:first-child { stroke: var(--hot); }
.hand .pol { transition: opacity .3s; }

/* Shop / Inventar-Kacheln */
.tabs-h { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; } .tabs-h::-webkit-scrollbar { display: none; }
.tabs-h button { all: unset; cursor: pointer; flex: none; padding: 8px 14px; border-radius: 14px; border: 3px solid var(--ink); background: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.tabs-h button[aria-selected="true"] { background: var(--pink); box-shadow: 0 3px 0 var(--ink); }
.tabs-h button.lk { opacity: .5; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 44%), 1fr)); gap: 12px; }
.tile { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 10px 8px 12px; border-radius: 18px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); font-weight: 600; font-size: 14px; }
.tile .pic { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: #fff7fb; overflow: hidden; }
.tile .pic svg, .tile .pic img { width: 88%; height: 88%; object-fit: contain; }
.tile.own { background: #f2fff9; }
.tile .rar { position: absolute; top: 6px; left: 6px; font-size: 10.5px; padding: 1px 7px; border-radius: 8px; color: #fff; font-weight: 700; border: 2px solid var(--ink); }
.tile.sel { outline: 4px solid var(--hot); outline-offset: 2px; }
.tile button.pick { all: unset; position: absolute; inset: 0; cursor: pointer; border-radius: 16px; }
.r0 { background: var(--r1); } .r1 { background: var(--r2); } .r2 { background: var(--r3); } .r3 { background: var(--r4); } .r4 { background: var(--r5); }
.glowr3 { box-shadow: 0 4px 0 var(--ink), 0 0 18px #ffb020; } .glowr4 { box-shadow: 0 4px 0 var(--ink), 0 0 22px #ff3d8f; }
.lvlock { position: absolute; inset: 0; border-radius: 15px; background: rgba(255,255,255,.75); display: grid; place-items: center; font-weight: 700; z-index: 3; }

/* Haus */
.house-room { position: relative; height: clamp(260px, 42vw, 380px); border: 3px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); background: linear-gradient(#ffeef7 0 66%, #f2c9a8 66%); margin-bottom: 16px; }
.house-room::before { content: ""; position: absolute; inset: 0 0 34%; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,143,196,.18) 46px 52px); }
.house-room .win { position: absolute; top: 10%; left: 40%; width: 18%; height: 34%; border: 3px solid var(--ink); border-radius: 12px; background: linear-gradient(#bfe9ff, #e8f7ff); }
.house-room img { position: absolute; object-fit: contain; filter: drop-shadow(0 6px 0 rgba(45,34,80,.18)); transition: transform .3s; }
.house-room img.up { animation: happy .6s; }
.upg { display: grid; grid-template-columns: 80px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 18px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); }
.upg img { width: 80px; height: 80px; object-fit: contain; }
.upg .lvls { display: flex; gap: 3px; margin: 4px 0; } .upg .lvls i { width: 16px; height: 8px; border-radius: 4px; border: 2px solid var(--ink); background: #fff; } .upg .lvls i.on { background: var(--hot); }
@media (max-width: 520px) { .upg { grid-template-columns: 60px 1fr; } .upg img { width: 60px; height: 60px; } .upg .btn { grid-column: 1 / -1; } }

/* Mitarbeiter */
.staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.emp { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 10px; border-radius: 18px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); position: relative; }
.emp .face { width: 78px; height: 78px; border-radius: 16px; border: 3px solid var(--ink); background: var(--lilac); overflow: hidden; }
.emp .face svg { width: 100%; height: 100%; }
.emp b { font-size: 16px; } .emp small { display: block; font-size: 12.5px; opacity: .8; }
.emp .acts { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.emp select { font: inherit; font-weight: 600; padding: 6px 8px; border-radius: 10px; border: 2.5px solid var(--ink); background: #fff7d6; }
.emp .work { position: absolute; top: 8px; right: 10px; font-size: 20px; animation: bob 1.4s infinite; }
.pot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.pot b { font-size: 24px; }

/* Kisten */
.crates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 46%), 1fr)); gap: 14px; }
.crate { display: grid; justify-items: center; gap: 6px; padding: 8px 10px 14px; border-radius: 22px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 5px 0 var(--ink); text-align: center; position: relative; overflow: hidden; }
.crate::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg, transparent, var(--cc, #fff3) 10%, transparent 20%, transparent 50%, var(--cc, #fff3) 60%, transparent 70%); animation: spin 8s linear infinite; opacity: .5; }
.crate > * { position: relative; }
.crate img { width: 86%; aspect-ratio: 1; object-fit: contain; transition: transform .3s; }
.crate:hover img { transform: rotate(-4deg) scale(1.05); }
.crate .odds { font-size: 11px; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.crate .odds span { padding: 0 5px; border-radius: 6px; color: #fff; border: 1.5px solid var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.open-scene { position: fixed; inset: 0; z-index: 80; background: radial-gradient(circle at 50% 45%, #5b3fb0, #1a1240 75%); display: grid; place-items: center; overflow: hidden; }
.open-scene canvas.c3 { position: absolute; inset: 0; width: 100%; height: 100%; }
.open-scene .beams { position: absolute; left: 50%; top: 46%; width: 160vmax; height: 160vmax; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.12) 0 8deg, transparent 8deg 20deg); animation: spin 14s linear infinite; opacity: 0; transition: opacity .6s; pointer-events: none; }
.open-scene.lit .beams { opacity: 1; }
.open-scene .tapto { position: absolute; bottom: calc(18% + var(--sab)); left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 22px; text-shadow: 0 3px 0 var(--ink); animation: bob 1.4s infinite; pointer-events: none; white-space: nowrap; }
.open-scene .fallback { width: min(70vw, 360px); cursor: pointer; }
.open-scene .fallback.wig { animation: wig .25s 3; } @keyframes wig { 25% { transform: rotate(-6deg) scale(1.03); } 75% { transform: rotate(6deg) scale(1.03); } }
.loot { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 20px; pointer-events: none; }
.loot .cards { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; pointer-events: auto; }
.lcard { width: min(150px, 28vw); aspect-ratio: 3 / 4; perspective: 800px; cursor: pointer; }
.lcard .in { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); transform-style: preserve-3d; }
.lcard.flip .in { transform: rotateY(180deg); }
.lcard .fr, .lcard .bk { position: absolute; inset: 0; border-radius: 16px; border: 3px solid var(--ink); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; overflow: hidden; }
.lcard .bk { background: repeating-linear-gradient(45deg, #ff8fc4 0 12px, #ff5fa8 12px 24px); font-size: 40px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.lcard .fr { transform: rotateY(180deg); background: #fff; align-content: space-between; padding: 8px 6px; text-align: center; font-weight: 700; font-size: 12.5px; }
.lcard .fr .pic { width: 100%; height: 62%; display: grid; place-items: center; } .lcard .fr .pic svg, .lcard .fr .pic img { max-width: 92%; max-height: 100%; }
.lcard .fr .rb { position: absolute; top: 0; left: 0; right: 0; height: 8px; }
.lcard.r3 .fr { box-shadow: inset 0 0 0 4px #ffb020, 0 0 30px #ffb020; } .lcard.r4 .fr { box-shadow: inset 0 0 0 4px #ff3d8f, 0 0 36px #ff3d8f; background: linear-gradient(160deg, #fff, #ffe6f3); }
.lcard.r2 .fr { box-shadow: inset 0 0 0 4px #b06bff, 0 0 20px #b06bff; }
.lcard.dup .fr::after { content: "Doppelt → Münzen"; position: absolute; bottom: 4px; left: 4px; right: 4px; font-size: 10px; background: var(--sun); border-radius: 6px; border: 1.5px solid var(--ink); }
.loot .cl-btn { pointer-events: auto; }
.rarity-flash { position: absolute; inset: 0; pointer-events: none; animation: rflash .9s ease-out forwards; }
@keyframes rflash { from { opacity: .9; } to { opacity: 0; } }

/* Aufträge */
.quests { display: grid; gap: 10px; }
.q { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); }
.q i { font-style: normal; font-size: 30px; text-align: center; }
.q .bar { margin-top: 4px; }
.q.done { background: #f2fff9; }
.q.claimed { opacity: .55; }
.daily { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.daily div { text-align: center; padding: 8px 2px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; font-size: 12px; font-weight: 600; }
.daily div.got { background: var(--mint); } .daily div.today { background: var(--sun); animation: bump 1.4s infinite; }
.board { display: grid; gap: 6px; }
.board div { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-weight: 600; }
.board div.me { background: var(--sun); }

/* Team */
.chat { display: grid; gap: 6px; max-height: 300px; overflow: auto; padding: 4px; }
.chat p { margin: 0; padding: 6px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); font-size: 14px; -webkit-user-select: text; user-select: text; }
.chat p b { color: var(--hot); }
.members { display: grid; gap: 6px; }
.members div { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-weight: 600; }
.members .mf { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--ink); background: var(--lilac); }
.members .mf svg { width: 100%; height: 100%; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: 3px; background: #fff3a8; border: 3px dashed var(--ink); border-radius: 12px; padding: 4px 14px; -webkit-user-select: all; user-select: all; }

/* Profil / Avatar */
.prof { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .prof { grid-template-columns: 1fr; } }
.avbig { border: 3px solid var(--ink); border-radius: 24px; background: linear-gradient(#e3d8ff, #ffd6ea); box-shadow: 6px 6px 0 var(--ink); display: grid; place-items: center; padding: 10px; }
.avbig svg { width: min(100%, 240px); height: auto; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.statgrid div { padding: 8px 10px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; }
.statgrid b { display: block; font-size: 20px; } .statgrid small { font-size: 12px; opacity: .75; }
.ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 8px; }
.ach div { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-size: 13.5px; font-weight: 600; }
.ach div.no { opacity: .45; filter: grayscale(1); }
.ach i { font-style: normal; font-size: 24px; }

/* Fotostudio */
.shoot { position: relative; }
.shoot .viewf { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.shoot .viewf::before, .shoot .viewf::after { content: ""; position: absolute; width: 40px; height: 40px; border: 4px solid #fff; }
.shoot .viewf::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; } .shoot .viewf::after { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.focus { position: absolute; z-index: 4; left: 50%; top: 40%; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ink); transform: translate(-50%, -50%); pointer-events: none; }
.focus.t { border-color: #8fe6c8; }
.focus-target { position: absolute; z-index: 4; left: 50%; top: 40%; border-radius: 50%; border: 3px dashed rgba(255,255,255,.95); transform: translate(-50%, -50%); pointer-events: none; }
.flash { position: absolute; inset: 0; background: #fff; z-index: 6; animation: rflash .5s ease-out forwards; pointer-events: none; }
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 44%), 1fr)); gap: 14px; }
.polaroid { background: #fff; border: 3px solid var(--ink); padding: 8px 8px 30px; border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); position: relative; transform: rotate(var(--rot, -2deg)); }
.polaroid .ph { aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; border: 2px solid var(--ink); position: relative; }
.polaroid .ph svg { width: 100%; height: 100%; display: block; }
.polaroid small { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 13px; }
.bd-pink { background: linear-gradient(#ffd6ea, #ff8fc4); } .bd-sun { background: linear-gradient(#ffe36e, #ff9a4d); } .bd-sea { background: linear-gradient(#a8d4ff 0 60%, #ffe8b0 60%); } .bd-city { background: linear-gradient(#2d2250, #b06bff); } .bd-gal { background: radial-gradient(circle at 30% 30%, #ff7ad9, #5a3bd6 50%, #140f3a); } .bd-flower { background: radial-gradient(circle at 20% 20%, #fff 0 6%, transparent 7%), radial-gradient(circle at 70% 60%, #ffd1ea 0 8%, transparent 9%), linear-gradient(#c9f3e3, #8fe6c8); } .bd-gold { background: linear-gradient(135deg, #fff3a0, #ffcf40, #fff3a0); }
.bd-pink { background-image: url(img/rooms/bd_pink.webp); background-size: cover; background-position: center; } .bd-sun { background-image: url(img/rooms/bd_sun.webp); background-size: cover; background-position: center; } .bd-sea { background-image: url(img/rooms/bd_sea.webp); background-size: cover; background-position: center; } .bd-flower { background-image: url(img/rooms/bd_flower.webp); background-size: cover; background-position: center; } .bd-city { background-image: url(img/rooms/bd_city.webp); background-size: cover; background-position: center; } .bd-gold { background-image: url(img/rooms/bd_gold.webp); background-size: cover; background-position: center; } .bd-gal { background-image: url(img/rooms/bd_gal.webp); background-size: cover; background-position: center; }
/* Studio-Einrichtung je Ausbaustufe */
.r-stage.int { background: #f3e6f3; }
.r-stage.int .floor { display: none; }
.r-stage .bgi { position: absolute; inset: 0; background: center 62% / cover no-repeat; }
.r-stage .bgi::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, transparent 40%, rgba(45,34,80,.18)); }
.r-stage .bgi.newbg { animation: newbg 1.1s ease-out; }
@keyframes newbg { 0% { filter: brightness(2.2) saturate(0); transform: scale(1.06); } 100% { filter: none; transform: none; } }
.r-stage .tierb { position: absolute; z-index: 4; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border: 2.5px solid var(--ink); border-radius: 12px; padding: 2px 10px; font-size: 12px; font-weight: 600; pointer-events: none; }
/* Kamera-Qualität (cq1-5) und Licht (lq1-5): man sieht den Unterschied */
.cq1 .cust, .ph.cq1 svg { filter: blur(1.4px) saturate(.55) contrast(.88) brightness(var(--lb, 1)); }
.cq2 .cust, .ph.cq2 svg { filter: blur(.8px) saturate(.72) contrast(.94) brightness(var(--lb, 1)); }
.cq3 .cust, .ph.cq3 svg { filter: blur(.3px) saturate(.9) brightness(var(--lb, 1)); }
.cq4 .cust, .ph.cq4 svg { filter: brightness(var(--lb, 1)); }
.cq5 .cust, .ph.cq5 svg { filter: saturate(1.1) contrast(1.06) brightness(var(--lb, 1)) drop-shadow(0 0 6px rgba(255,255,255,.45)); }
.lq1 { --lb: .86; } .lq2 { --lb: .95; } .lq3 { --lb: 1; } .lq4 { --lb: 1.02; } .lq5 { --lb: 1.03; }
.shoot.cq1::after, .shoot.cq2::after, .shoot.cq3::after, .ph.cq1::after, .ph.cq2::after, .ph.cq3::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.shoot.cq1::after, .ph.cq1::after { opacity: .55; box-shadow: inset 0 0 90px rgba(0,0,0,.45); }
.shoot.cq2::after, .ph.cq2::after { opacity: .35; box-shadow: inset 0 0 60px rgba(0,0,0,.25); }
.shoot.cq3::after, .ph.cq3::after { opacity: .15; }
.shoot.lq1::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 70% 20%, rgba(255,240,200,.25), rgba(20,10,40,.28) 70%); }
.shoot.lq5::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 50% 30%, rgba(255,120,200,.12), transparent 60%); mix-blend-mode: screen; }
.panel.gear .gr { display: flex; align-items: center; gap: 10px; margin-top: 6px; } .panel.gear .gr img { width: 46px; height: 46px; object-fit: contain; }
.panel.gear .gr div { display: grid; } .panel.gear .bar { height: 8px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; margin: 4px 0 6px; } .panel.gear .bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff8fc4, #c9b6ff); }

/* Modal, Toast, Effekte */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(45, 34, 80, .55); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(3px); animation: fadeIn .2s; overflow: auto; }
.modal.out { animation: fadeOut .2s forwards; }
@keyframes fadeIn { from { opacity: 0; } } @keyframes fadeOut { to { opacity: 0; } }
.mcard { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--cream); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); padding: clamp(16px, 4vw, 26px); display: grid; gap: 12px; }
.modal.wide .mcard { width: min(860px, 100%); }
.mx { all: unset; cursor: pointer; position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; display: grid; place-items: center; font-weight: 700; z-index: 2; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { all: unset; cursor: pointer; padding: 7px 12px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; font-weight: 600; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--mint); box-shadow: 0 3px 0 var(--ink); }
.slide { display: grid; gap: 4px; font-weight: 600; } .slide input { accent-color: var(--hot); width: 100%; }
.toast { position: fixed; left: 50%; top: calc(var(--hud) + var(--sat) + 12px); transform: translate(-50%, -20px); z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 16px; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: .3s; max-width: min(92vw, 520px); text-align: center; box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.good { background: #14805f; } .toast.bad { background: #c0185f; } .toast.gold { background: linear-gradient(90deg, #ffb020, #ff5fa8); }
.fxcv { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }
.fly { position: fixed; z-index: 96; width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--ink); pointer-events: none; transition: transform .75s cubic-bezier(.5, -.3, .6, 1), opacity .75s; }
.fly.coin { background: radial-gradient(circle at 35% 30%, #fff3a0, #f2b705 70%); } .fly.gem { border-radius: 5px; background: linear-gradient(135deg, #b8f6ff, #5fb2ff 60%, #b06bff); }
.ftxt { position: fixed; z-index: 96; pointer-events: none; font-weight: 700; font-size: 22px; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; animation: ftxt 1.2s ease-out forwards; transform: translate(-50%, -50%); white-space: nowrap; }
.ftxt.coin { color: #ffd447; } .ftxt.xp { color: var(--mint); } .ftxt.bad { color: #ff6d8c; }
@keyframes ftxt { to { transform: translate(-50%, -150%); opacity: 0; } }
.lvlup { text-align: center; }
.lvlup .big { font-size: 90px; font-weight: 700; line-height: 1; color: var(--sun); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--ink); animation: popIn .6s cubic-bezier(.2, 1.6, .4, 1); }
.unl { display: grid; gap: 6px; }
.unl div { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-weight: 600; text-align: left; }
.unl img { width: 52px; height: 52px; object-fit: contain; }

/* Test-Menü */
.testbtn { position: fixed; right: 12px; bottom: calc(var(--dock) + var(--sab) + 22px); z-index: 45; width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--ink); background: var(--mint); font-size: 26px; box-shadow: 0 4px 0 var(--ink); cursor: pointer; }
body.test #bg { background: radial-gradient(circle at 1px 1px, rgba(45,34,80,.12) 1.6px, transparent 2px) 0 0 / 24px 24px, linear-gradient(165deg, #c9f3e3 0%, #e3d8ff 50%, #fff0b8 100%); }
.testband { position: fixed; top: calc(var(--hud) + var(--sat)); left: 0; right: 0; z-index: 39; text-align: center; font-size: 11px; font-weight: 700; background: repeating-linear-gradient(45deg, #ffe36e 0 14px, #ffd447 14px 28px); border-bottom: 2px solid var(--ink); padding: 1px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* Arbeits-Hilfen im Studio */
.girl.still .hd { animation: none; }
.zh ellipse { fill: rgba(255, 95, 168, .08); stroke: #ff5fa8; stroke-width: 2.4; stroke-dasharray: 6 5; animation: zdash 1s linear infinite; pointer-events: none; }
@keyframes zdash { to { stroke-dashoffset: -22; } }
.girl.pose1 { transform: rotate(-3deg) translateY(-4px); } .girl.pose2 { transform: rotate(3deg) scale(1.03); }
.girl.pose0, .girl.pose1, .girl.pose2 { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.shoot .floor { display: none; }
/* Handy: Kopfbereich kompakt, damit die Kundin sofort sichtbar ist */
@media (max-width: 600px) {
  .sect-h { gap: 8px; margin: 0 0 8px; flex-wrap: nowrap; align-items: center; }
  .sect-h img { width: 46px; height: 46px; }
  .sect-h .h1 { font-size: 24px; }
  .sect-h .note { display: none; }
  .sect-h .row { margin-left: auto !important; flex-wrap: nowrap; gap: 6px; }
  .sect-h .row .btn.sm { padding: 5px 9px; font-size: 13px; min-height: 34px; }
  .back { margin-bottom: 6px; min-height: 34px; padding: 4px 12px; }
  #rUp .price, #rUp { font-size: 12px; }
}
.girl.d3 .hd { animation: none; }
/* Spalten dürfen schrumpfen, Kleiderschrank immer 2 Spalten in der Seitenleiste */
.r-tools, .r-wish, .r-stage { min-width: 0; }
@media (min-width: 921px) { .r-tools #dIt { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 920px) { .r-tools #dIt { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)) !important; } }

/* ---------- Cenni City: lebendige Insel ---------- */
.ico { display: inline-block; vertical-align: -5px; flex: none; overflow: visible; }
.chip .ico { width: 22px; height: 22px; }
#dock button i .ico { width: 28px; height: 28px; }
.townwrap { position: relative; margin: 6px -12px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.townwrap::-webkit-scrollbar { display: none; }
.townmap { position: relative; width: max(100%, 860px); margin: 0 auto; user-select: none; }
.townmap > img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), filter .25s; }
.townmap .tbase { position: relative; display: block; height: auto; animation: tfloat 6s ease-in-out infinite; }
@keyframes tfloat { 50% { transform: translateY(-.4%); } }
.townmap .th { animation: tfloat 6s ease-in-out infinite; }
.townmap .th.hov { transform: translateY(-1.1%); filter: brightness(1.06) drop-shadow(0 0 10px rgba(255, 255, 255, .9)); animation: none; }
.townmap .th.pick { transform: scale(1.02) translateY(-1.5%); animation: none; }
.townmap .th.lk { filter: grayscale(.95) brightness(1.12) opacity(.62); }
.townmap .th.lk.hov { filter: grayscale(.8) brightness(1.15) opacity(.75); }
.townmap .th.nope { animation: tnope .4s; }
@keyframes tnope { 25% { transform: translateX(-.4%); } 75% { transform: translateX(.4%); } }
.townmap .th.door { animation: tdoor .45s; }
@keyframes tdoor { 40% { transform: scaleY(1.008) translateY(-.3%); } }
.hs { all: unset; position: absolute; z-index: 30; cursor: pointer; border-radius: 30%; }
.hs:focus-visible { outline: 3px dashed var(--hot); }
.tlab { position: absolute; z-index: 31; transform: translate(-50%, 0); display: grid; justify-items: center; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 2px 10px 3px; box-shadow: 0 3px 0 var(--ink); cursor: pointer; white-space: nowrap; font-size: clamp(11px, 1.05vw, 14px); border-width: 2.5px; transition: transform .2s; }
.tlab b { font-weight: 700; }
.tlab small { font-size: 11px; font-weight: 600; opacity: .7; }
.tlab:hover { transform: translate(-50%, -3px); }
.tlab.lk { background: #eee; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; max-width: 150px; white-space: normal; text-align: center; }
.tlab.new::after { content: "NEU"; position: absolute; top: -12px; right: -12px; background: var(--hot); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 8px; border: 2px solid var(--ink); }
.tlab .ping { position: absolute; top: -14px; left: -14px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: #ff3d6e; color: #fff; display: grid; place-items: center; font-weight: 700; border: 2.5px solid var(--ink); font-size: 12px; animation: bump 1.4s infinite; }
.twalk { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.wk { position: absolute; height: 12%; aspect-ratio: 300 / 700; transform: translate(-50%, -96%); transition: opacity .2s; will-change: left, top; }
.wk svg { width: 100%; height: 100%; overflow: visible; animation: step .5s ease-in-out infinite; filter: drop-shadow(0 3px 0 rgba(45, 34, 80, .18)); }
.wk.rev svg { transform: scaleX(-1); animation-name: stepr; }
.wk .bub { position: absolute; bottom: 100%; left: 50%; transform: translateX(-30%); white-space: nowrap; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 1px 8px; font-size: 11px; font-weight: 600; animation: popIn .3s; }
.fount { position: absolute; z-index: 15; width: 0; height: 0; pointer-events: none; }
.fount i { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: #bfe9ff; border: 1.5px solid #fff; animation: drop 1.4s ease-out infinite; opacity: 0; }
.fount i:nth-child(2) { animation-delay: .23s; --dx: -26px; } .fount i:nth-child(3) { animation-delay: .46s; --dx: 24px; } .fount i:nth-child(4) { animation-delay: .7s; --dx: -14px; } .fount i:nth-child(5) { animation-delay: .93s; --dx: 18px; } .fount i:nth-child(6) { animation-delay: 1.16s; --dx: -30px; }
@keyframes drop { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 45% { transform: translate(calc(var(--dx, 10px) * .6), -22px) scale(.9); } 100% { opacity: 0; transform: translate(var(--dx, 10px), 26px) scale(.5); } }
.smoke { position: absolute; z-index: 18; width: 0; height: 0; pointer-events: none; }
.smoke i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; opacity: 0; animation: smoke 3.2s ease-out infinite; }
.smoke i:nth-child(2) { animation-delay: 1.05s; } .smoke i:nth-child(3) { animation-delay: 2.1s; }
@keyframes smoke { 0% { opacity: .85; transform: translate(0, 0) scale(.5); } 100% { opacity: 0; transform: translate(18px, -70px) scale(2.2); } }
.tclouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tc { position: absolute; width: 16%; aspect-ratio: 3 / 1; background: #fff; border-radius: 999px; opacity: .8; animation: tcloud 70s linear infinite; }
.tc::before { content: ""; position: absolute; width: 45%; aspect-ratio: 1; border-radius: 50%; background: #fff; left: 18%; top: -45%; }
.tc.t1 { top: 4%; left: -20%; } .tc.t2 { top: 72%; left: -20%; animation-duration: 95s; animation-delay: -40s; transform: scale(.75); } .tc.t3 { top: 30%; left: -20%; animation-duration: 120s; animation-delay: -80s; opacity: .55; }
@keyframes tcloud { to { left: 110%; } }
.bird { position: absolute; z-index: 40; width: 22px; height: 10px; pointer-events: none; animation: bird 26s linear infinite; }
.bird::before, .bird::after { content: ""; position: absolute; top: 0; width: 11px; height: 8px; border-top: 3px solid var(--ink); border-radius: 50% 50% 0 0; animation: flap .35s ease-in-out infinite alternate; }
.bird::before { left: 0; transform-origin: right bottom; } .bird::after { right: 0; transform-origin: left bottom; }
.bird.b1 { top: 12%; } .bird.b2 { top: 20%; animation-delay: -13s; animation-duration: 34s; }
@keyframes bird { 0% { left: -5%; } 100% { left: 105%; transform: translateY(-40px); } }
@keyframes flap { to { transform: scaleY(-.6); } }
.tnote { text-align: center; }
@media (max-width: 700px) { .townmap { width: 980px; } .tlab { font-size: 12px; padding: 2px 8px; } }
body.fast .tc, body.fast .bird, body.fast .townmap .tbase, body.fast .townmap .th { animation: none; }

/* Icons statt Emojis im Fließtext: so groß wie die Schrift */
.ico.em { width: 1.2em; height: 1.2em; vertical-align: -.24em; margin: 0 .04em; }
.stars .ico.em { width: 1em; height: 1em; }
.r-stage .emo .ico.em { width: 1.3em; height: 1.3em; }

/* 3D-Gesicht: Blinzeln mit echten geschlossenen Lidern */
.girl.d3 .blink3 { opacity: 0; animation: blink3 5.2s infinite; }
@keyframes blink3 { 0%, 94%, 100% { opacity: 0; } 95.5%, 98% { opacity: 1; } }
body.fast .girl.d3 .blink3 { animation: none; }

/* ---------- Cenni City: Stadtkarte ---------- */
.cityhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.cityhead .h1 { margin: 0; }
.cityhead .chips { padding: 2px; flex: 1; min-width: 0; }
.cmap { position: relative; height: calc(100svh - var(--hud) - var(--dock) - var(--sat) - var(--sab) - 120px); min-height: 360px; margin: 0 -12px; overflow: hidden; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: #cfe9f7; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.cmap:active { cursor: grabbing; }
.cworld { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; background: #4cb8e8; }
.cworld > img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; transition: filter .2s, transform .2s; }
.cworld .cb.hov { filter: brightness(1.08) drop-shadow(0 0 18px #fff); transform: translateY(-.25%); }
.cworld .cb.pick { transform: translateY(-.4%); }
.cworld .cb.lk { filter: grayscale(.9) brightness(1.1) opacity(.75); }
.chs { all: unset; position: absolute; cursor: pointer; }
.cmov { position: absolute; inset: 0; pointer-events: none; }
.cped { position: absolute; aspect-ratio: 300 / 700; transform: translate(-50%, -97%) scale(max(1, calc(.55 / var(--z, 1)))); transform-origin: 50% 97%; transition: opacity .3s; }
.cped svg { width: 100%; height: 100%; overflow: visible; animation: step .45s ease-in-out infinite; }
.cped.rev svg { transform: scaleX(-1); animation-name: stepr; }
.cped .bub { position: absolute; bottom: 100%; left: 50%; transform: translateX(-30%) scale(calc(1 / var(--z, 1))); transform-origin: bottom left; white-space: nowrap; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 1px 8px; font-size: 12px; font-weight: 600; }
.ccar { position: absolute; transform: translate(-50%, -80%); }
.ccar svg { width: 100%; height: 100%; display: block; }
.ccar.rev svg { transform: scaleX(-1); }
.cpin { all: unset; position: absolute; z-index: 200; cursor: pointer; transform: translate(-50%, -100%) scale(calc(1 / var(--z, 1))); transform-origin: 50% 100%; display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; background: #fff; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 4px 0 var(--ink); font-size: 15px; white-space: nowrap; }
.cpin::after { content: ""; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); border: 8px solid transparent; border-top: 10px solid var(--ink); }
.cpin b { font-weight: 700; } .cpin small { font-size: 11px; opacity: .75; font-weight: 600; }
.cpin:hover { background: #fff7d6; }
.cpin.alt { margin-top: calc(-48px / var(--z, 1)); } .cpin.alt::after { bottom: -26px; border-top-width: 24px; border-left-width: 4px; border-right-width: 4px; }
.cpin.lk { background: #eee; }
.cpin.new::before { content: "NEU"; position: absolute; top: -14px; right: -10px; background: var(--hot); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 8px; border: 2px solid var(--ink); }
.cpin .ping { position: absolute; top: -14px; left: -12px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #ff3d6e; color: #fff; display: grid; place-items: center; font-weight: 700; border: 2.5px solid var(--ink); font-size: 12px; }
.cctl { position: absolute; right: 12px; top: 12px; z-index: 300; display: grid; gap: 6px; }
.cctl button { all: unset; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 3px solid var(--ink); background: #fff; font-weight: 700; font-size: 22px; box-shadow: 0 3px 0 var(--ink); }
.cfount { position: absolute; z-index: 9; width: 0; height: 0; pointer-events: none; }
.cfount i { position: absolute; left: -5px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #bfe9ff; border: 2px solid #fff; animation: drop 1.4s ease-out infinite; opacity: 0; }
.cfount i:nth-child(2) { animation-delay: .28s; --dx: -40px; } .cfount i:nth-child(3) { animation-delay: .56s; --dx: 36px; } .cfount i:nth-child(4) { animation-delay: .84s; --dx: -22px; } .cfount i:nth-child(5) { animation-delay: 1.12s; --dx: 28px; }
@media (max-width: 600px) { .cityhead .h1 { font-size: 24px; } .cmap { height: calc(100svh - var(--hud) - var(--dock) - var(--sat) - var(--sab) - 110px); } .cpin { font-size: 13px; padding: 4px 10px 4px 5px; } }

/* Rangliste, Profil-Karten, Auftragsstufen */
.rankhead { display: grid; gap: 8px; margin-bottom: 10px; } .rankhead .h1 { margin: 0; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; margin: 6px 0 14px; }
.pd { all: unset; cursor: pointer; position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 6px 12px; border: 3px solid var(--ink); border-radius: 18px 18px 8px 8px; background: #fff; box-shadow: 0 4px 0 var(--ink); text-align: center; }
.pd.p1 { background: linear-gradient(#fff6c0, #ffd447); padding-top: 18px; } .pd.p2 { background: linear-gradient(#f4f6fb, #dfe4f0); } .pd.p3 { background: linear-gradient(#ffe6d4, #f0b48a); }
.pd.empty { visibility: hidden; }
.pdf { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); background: var(--lilac); } .pd.p1 .pdf { width: 92px; height: 92px; }
.pdf svg, .rlf svg { width: 100%; height: 100%; }
.pd b { font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pd small { font-weight: 700; }
.pdn { position: absolute; top: -14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.rlist { display: grid; gap: 6px; }
.rl { all: unset; cursor: pointer; display: grid; grid-template-columns: 34px 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 12px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-weight: 600; }
.rl.me { background: var(--sun); } .rl:hover { background: #fff7d6; }
.rlf { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--ink); background: var(--lilac); }
.rln { display: grid; } .rln small { font-size: 11px; opacity: .7; }
.rme { text-align: center; font-size: 15px; }
.pcard { display: grid; justify-items: center; gap: 8px; text-align: center; position: relative; }
.pcb { position: absolute; left: -26px; right: -26px; top: -26px; height: 120px; border-bottom: 3px solid var(--ink); }
.pcf { position: relative; width: 170px; height: 170px; border-radius: 50%; overflow: hidden; border: 4px solid var(--pc, #ff8fc4); background: #fff; margin-top: 30px; box-shadow: 0 5px 0 var(--ink); }
.pcf svg { width: 100%; height: 100%; }
.pbio { font-style: italic; margin: 2px 0; }
.pmini { display: grid; gap: 4px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; } .pmini b { font-size: 18px; }
.qt { font-size: 11px; padding: 1px 7px; border-radius: 7px; border: 2px solid var(--ink); background: #fff; vertical-align: 2px; }
.q.tMittel .qt { background: var(--sun); } .q.tSchwer .qt { background: #ff8fa8; color: #fff; }
.q.tSchwer { box-shadow: 0 4px 0 var(--ink), inset 0 0 0 2px #ff8fa8; }
.catinfo { margin-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 10px 12px; margin: 4px 0 12px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; }
.filters label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.filters select { font: inherit; font-weight: 600; padding: 6px 8px; border-radius: 10px; border: 2.5px solid var(--ink); background: #fff7d6; }
.filters .fcols { flex: 1 1 100%; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 6px; }
.filters .fcols .sw-b { border-width: 2.5px; border-radius: 9px; box-shadow: 0 2px 0 var(--ink); }
.filters .fall { font-size: 10px; font-weight: 700; display: grid; place-items: center; background: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 14px 0; font-weight: 600; flex-wrap: wrap; }

/* Antwort-Chips bei der Begrüßung */
.r-stage .qr { position: absolute; z-index: 6; left: 50%; bottom: 44px; transform: translate(-50%, 10px); opacity: 0; transition: .25s; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: min(94%, 520px); }
.r-stage .qr.on { opacity: 1; transform: translate(-50%, 0); }
.r-stage .qr small { background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 12px; align-self: center; }
.r-stage .qr button { all: unset; cursor: pointer; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 3px 0 var(--ink); }
.r-stage .qr button:hover { background: #fff3c4; } .r-stage .qr button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.r-stage .say .price { font-size: 13px; }

@media (max-width: 600px) { .sect-h .lbl { display: none; } .sect-h:has(.row) > img { display: none; } .sect-h > div:not(.row) { flex: 1 1 auto; } .sect-h .h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.r-tools, .r-wish { grid-template-columns: minmax(0, 1fr); } .r-tools > *, .r-wish > * { min-width: 0; }

/* Boutique: Kundin (Zeichnung) + Puppe mit dem neuen Outfit */
.dfit { display: flex; align-items: flex-end; justify-content: center; gap: 3%; width: 100%; padding-top: 54px; }
.dfit .dgirl { flex: 0 0 47%; display: flex; align-items: flex-end; }
.dfit .dgirl svg.girl { width: 100%; height: auto; max-height: 64vh; }
.dfit .dman { flex: 0 0 40%; position: relative; display: flex; flex-direction: column; align-items: center; }
.dfit .dman svg.manq { width: 100%; height: auto; max-height: 58vh; filter: drop-shadow(0 6px 6px rgba(45,34,80,.18)); }
.dfit .dtag { background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; margin-bottom: 6px; white-space: nowrap; }
.dfit .dacc { position: absolute; right: -6px; top: 40%; width: 54px; height: 54px; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 4px; box-shadow: 0 3px 0 var(--ink); }
.dfit .dacc svg { width: 100%; height: 100%; }
@media (max-width: 920px) { .dfit .dgirl svg.girl { max-height: 46vh; } .dfit .dman svg.manq { max-height: 40vh; } }

/* Tutorial (Spotlight) */
.tut { position: fixed; inset: 0; z-index: 9990; pointer-events: none; }
.tut .tut-b { position: fixed; background: rgba(30, 20, 50, .62); pointer-events: auto; }
.tut .tut-ring { position: fixed; border: 3px dashed #fff; border-radius: 18px; pointer-events: none; box-shadow: 0 0 0 4px rgba(255,143,196,.55); animation: tutp 1.4s ease-in-out infinite; }
@keyframes tutp { 50% { box-shadow: 0 0 0 9px rgba(255,143,196,.25); } }
.tut .tut-card { position: fixed; pointer-events: auto; background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); padding: 12px 14px; }
.tut .tut-card.pop { animation: popIn .3s cubic-bezier(.2, 1.5, .4, 1); }
.tut .tut-h { display: flex; align-items: baseline; gap: 8px; } .tut .tut-h b { font-size: 17px; color: var(--hot); flex: 1; } .tut .tut-h small { font-weight: 700; opacity: .6; }
.tut p { margin: 6px 0 10px; font-size: 15px; line-height: 1.4; }
.tut .tut-f { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .tut .tut-f span { flex: 1; }
.tut .tut-w { font-weight: 700; color: var(--hot); }
.lineup { max-width: 100%; } .lineup .gw:has(svg.ill) { aspect-ratio: 47 / 100; margin: 0 -1.5%; } .lineup .gw svg.ill { overflow: hidden; }
.cmap { isolation: isolate; } /* Karten-Ebenen bleiben unter Dialogen und Menüs */

/* Insel-Leben */
.cmap { background: #4cb8e8; }
.cboat { position: absolute; transform: translate(-50%, -80%); animation: bob 2.4s ease-in-out infinite; pointer-events: none; }
.cboat svg { width: 100%; height: 100%; display: block; } .cboat.rev svg { transform: scaleX(-1); }
@keyframes bob { 50% { margin-top: -3px; rotate: 3deg; } }
.csp { position: absolute; z-index: 2; width: 10px; height: 10px; margin: -5px 0 0 -5px; pointer-events: none; animation: twk 3s ease-in-out infinite; transform: scale(calc(1 / var(--z, 1))); }
.csp::before, .csp::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; translate: -50% -50%; } .csp::before { width: 7px; height: 1.6px; } .csp::after { width: 1.6px; height: 7px; }
@keyframes twk { 0%, 82%, 100% { opacity: 0; } 90% { opacity: .9; } }
.clh { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,246,190,.95) 0 8%, rgba(255,240,160,.45) 18%, transparent 62%); animation: lh 2.6s ease-in-out infinite; }
@keyframes lh { 0%, 100% { opacity: .2; transform: scale(.6); } 45% { opacity: 1; transform: scale(1); } }
.cgull { position: absolute; z-index: 420; aspect-ratio: 40 / 16; pointer-events: none; animation: flap .5s ease-in-out infinite alternate; }
.cgull svg { width: 100%; height: 100%; display: block; overflow: visible; } .cgull.rev svg { transform: scaleX(-1); }
@keyframes flap { to { transform: scaleY(.45); } }
.ccloud { position: absolute; z-index: 410; pointer-events: none; border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.42), rgba(255,255,255,.18) 45%, transparent 70%); }
body.fast .ccloud, body.fast .csp { display: none; }

/* Gedrückt-halten-Aktionen */
.holdb { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.holdb .hfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255,255,255,.5); pointer-events: none; }
.holdb.on { transform: scale(.97); }
.load { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 13px; }
.load b { flex: 1; height: 12px; border: 2.5px solid var(--ink); border-radius: 8px; background: #fff; overflow: hidden; }
.load i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff8fc4, #c9b6ff); transition: width .1s; }
.load.heat i { background: linear-gradient(90deg, #ffe36e, #ff8a4d, #e0384f); } .load.heat.hot { animation: shake .3s infinite; }
@keyframes shake { 50% { transform: translateX(2px); } }
.nbar { position: fixed; z-index: 95; width: 90px; height: 14px; border: 2.5px solid var(--ink); border-radius: 8px; background: #fff; overflow: hidden; transform: translate(-50%, -48px); pointer-events: none; }
.nbar b { position: absolute; left: 64.3%; width: 22.9%; top: 0; bottom: 0; background: #8fe6c8; }
.nbar i { position: absolute; left: 0; top: 3px; bottom: 3px; width: 0; background: var(--hot); border-radius: 4px; opacity: .85; }
.focus.hold { border-color: #ffe36e; }
.r-stage .cust { position: relative; }
.wrk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .2s; }
.wrk path { fill: none; stroke: rgba(45,34,80,.55); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .lineup { overflow: hidden; } .lineup .gw { max-width: 30vw; } }

/* Leistung: bewegte Teile der Stadt als eigene Ebenen, ohne teure Filter */
.cped, .ccar, .cboat, .cgull, .ccloud { will-change: left, top; } .ccar, .cboat, .cgull { contain: layout paint; }   /* .cped nicht: Sprechblasen ragen heraus */
.cped svg.mini { display: block; }

/* Meilensteine */
.mile { text-align: center; } .mile .big { font-size: clamp(40px, 9vw, 64px); font-weight: 700; color: var(--hot); line-height: 1.05; text-shadow: 0 4px 0 var(--ink); }
.mile .mtitle { background: #ffe36e; margin-top: 6px; font-size: 15px; }
.milei { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.milei > div { display: grid; justify-items: center; gap: 4px; width: 120px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 8px; box-shadow: 0 4px 0 var(--ink); text-align: center; }
.milei .pic { width: 90px; height: 90px; display: grid; place-items: center; } .milei .pic svg { width: 100%; height: 100%; }
.milei small { font-weight: 600; font-size: 12px; line-height: 1.2; }
.milei.sm > div { width: 96px; box-shadow: none; border-width: 2px; } .milei.sm .pic { width: 64px; height: 64px; }
.milei .next { opacity: .9; } .milei .next b { font-size: 14px; color: var(--hot); margin-top: 18px; }
.milem .mcard { background: linear-gradient(180deg, #fff7d6, var(--cream) 40%); }
.mbar { position: relative; height: 26px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; overflow: hidden; margin-top: 8px; }
.mbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #ffe36e, #ff8fc4); } .mbar span { position: relative; display: block; text-align: center; font-weight: 700; font-size: 13px; line-height: 20px; }
