/* 🎮 lelz Games – dunkler Showroom, 3D-Hüllen, Regal, Booklet. Bewegung nach lelz-motion-style. */
:root {
  --bg: #0b0b10; --card: #16161c; --card2: #1d1d25; --line: rgba(255,255,255,.08); --t1: #f5f5f7; --t2: rgba(235,235,245,.62); --t3: rgba(235,235,245,.38);
  --acc: #0a84ff; --ok: #30d158; --gold: #ffd60a; --warn: #ff9f0a; --bad: #ff453a; --pur: #bf5af2;
  --spring: cubic-bezier(.18, 1.25, .3, 1); --pop: cubic-bezier(.2, 1.5, .4, 1); --out: cubic-bezier(.55, 0, .75, .2); --soft: cubic-bezier(.2, .8, .2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--t1); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background: radial-gradient(1200px 600px at 20% -10%, #1c1a3a 0%, transparent 60%), radial-gradient(900px 500px at 100% 0%, #2a1530 0%, transparent 55%), var(--bg); background-attachment: fixed; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: var(--t1); }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 22px 80px; }

/* ---------- Kopf ---------- */
.top { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 8px 0 26px; }
.top .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.top h1 { margin: 4px 0 0; font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.top .sp { flex: 1; }
.ring { position: relative; width: 66px; height: 66px; flex: none; }
.ring svg { transform: rotate(-90deg); } .ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .bg { stroke: rgba(255,255,255,.09); } .ring .fg { stroke: url(#rg); stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset 1.4s var(--soft) .2s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.kpis { display: flex; gap: 22px; flex-wrap: wrap; }
.kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .kpi span { font-size: 12px; color: var(--t2); }
.btn { height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.1); transition: transform .2s var(--pop), background .2s; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.btn:active { transform: scale(.95); } .btn.pri { background: var(--acc); color: #fff; } .btn.sm { height: 32px; padding: 0 13px; font-size: 13px; } .btn.danger { color: var(--bad); }
.btn.grad { background: linear-gradient(135deg, #5e5ce6, #bf5af2); color: #fff; box-shadow: 0 8px 24px rgba(94,92,230,.35); }
.login { font-size: 12px; color: var(--t3); text-decoration: none; }

/* ---------- Spielt gerade ---------- */
.now { margin: 0 0 34px; }
.now h2, .sec h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; display: flex; align-items: center; gap: 9px; }
.now h2 i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.6s ease-in-out infinite; }
.nowrow { display: flex; gap: 40px; overflow-x: auto; padding: 18px 10px 30px; scrollbar-width: none; } .nowrow::-webkit-scrollbar { display: none; }
.nowit { flex: none; display: grid; gap: 14px; justify-items: center; cursor: pointer; perspective: 1000px; }
.nowit .case { animation: float 6s ease-in-out infinite; } .nowit:nth-child(2) .case { animation-delay: -2s; } .nowit:nth-child(3) .case { animation-delay: -4s; }
.nowit .cap { text-align: center; max-width: 190px; } .nowit .cap b { display: block; font-size: 14px; font-weight: 600; } .nowit .cap span { font-size: 12px; color: var(--t2); }
@keyframes float { 0%, 100% { transform: translateY(0) rotateY(24deg) rotateX(4deg); } 50% { transform: translateY(-10px) rotateY(14deg) rotateX(2deg); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Werkzeugleiste ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 0; margin-bottom: 8px; background: linear-gradient(var(--bg) 70%, transparent); }
.seg { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 10px; padding: 2px; }
.seg button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--t2); transition: background .25s, color .25s; }
.seg button.on { background: rgba(255,255,255,.16); color: var(--t1); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.search { flex: 1; min-width: 160px; height: 36px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); padding: 0 12px 0 34px; font-size: 15px; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3 3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 11px center; }
.chips { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; width: 100%; padding: 2px 0; } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 13px; font-weight: 600; color: var(--t2); display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s, transform .2s var(--pop); }
.chip.on { background: var(--t1); color: #000; } .chip:active { transform: scale(.95); } .chip small { opacity: .6; font-weight: 700; }
.chip .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset; }
.sel { height: 30px; border-radius: 8px; border: 0; background: rgba(255,255,255,.08); padding: 0 8px; font-size: 13px; }

/* ---------- Regal ---------- */
.sec { margin: 26px 0 10px; }
.sec h2 .pl { width: 12px; height: 12px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset; }
.sec h2 small { color: var(--t3); font-weight: 600; font-size: 14px; }
.shelf { position: relative; display: flex; align-items: flex-end; gap: 3px; padding: 22px 20px 0; min-height: 60px; }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 16px; border-radius: 3px;
  background: linear-gradient(#3b3346, #241f2c 60%, #17141c); box-shadow: 0 14px 30px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.12) inset; }
.shelf::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 30px; background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.45), transparent 70%); pointer-events: none; }
.shelf + .shelf { margin-top: 44px; } #list > .shelf:first-child { margin-top: 10px; }
.spine { --sw: 34px; --sh: 226px; position: relative; flex: none; width: var(--sw); height: var(--sh); border-radius: 2px 2px 1px 1px; overflow: hidden; cursor: pointer;
  background: var(--c); box-shadow: inset 2px 0 0 rgba(255,255,255,.14), inset -2px 0 0 rgba(0,0,0,.35), 0 -1px 0 rgba(255,255,255,.06);
  transform-origin: 50% 100%; transition: transform .45s var(--spring), filter .3s; z-index: 1; }
.spine::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: auto 140%; background-position: center; filter: blur(5px) saturate(1.5) brightness(.55); transform: scale(1.4); }
.spine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent 30%, transparent 70%, rgba(0,0,0,.35)); }
.spine .sb { position: absolute; top: 0; left: 0; right: 0; height: 26px; background: var(--c); color: var(--ink); z-index: 2; display: grid; place-items: center; font-size: 8px; font-weight: 900; letter-spacing: .02em; writing-mode: vertical-rl; }
.spine .st { position: absolute; top: 32px; bottom: 26px; left: 0; right: 0; z-index: 2; writing-mode: vertical-rl; display: flex; align-items: center; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: var(--sw); letter-spacing: .01em; }
.spine .sy { position: absolute; bottom: 6px; left: 0; right: 0; z-index: 2; text-align: center; font-size: 8px; font-weight: 700; color: rgba(255,255,255,.7); }
.spine .sk { position: absolute; bottom: 18px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; z-index: 2; }
.spine .sk.done { background: var(--ok); box-shadow: 0 0 6px var(--ok); } .spine .sk.hundred { background: var(--gold); box-shadow: 0 0 8px var(--gold); } .spine .sk.playing { background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: pulse 1.6s infinite; }
.spine:hover { transform: translateY(-12px) rotate(-1.5deg); z-index: 3; filter: brightness(1.12); }
.spine.wish { opacity: .45; } .spine.new { animation: drop .9s var(--spring) both; }
@keyframes drop { from { transform: translateY(-140px) rotate(-8deg); opacity: 0; } }
.s-bd.spine { --sh: 226px; } .s-dvd.spine { --sh: 248px; } .s-sw.spine { --sh: 226px; --sw: 28px; } .s-cd.spine { --sh: 170px; --sw: 24px; } .s-mini.spine { --sh: 180px; --sw: 32px; } .s-box.spine { --sh: 168px; --sw: 52px; }
.divd { flex: none; width: 20px; height: 120px; margin: 0 4px 0 6px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c)); color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.4), inset -2px 0 0 rgba(0,0,0,.2); display: grid; place-items: center; }
.divd span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 900; letter-spacing: .06em; }

/* ---------- Cover-Raster ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 38px 26px; padding: 20px 4px; }
.gi { display: grid; justify-items: center; gap: 12px; cursor: pointer; perspective: 900px; }
.gi .case { transition: transform .6s var(--spring); transform: rotateY(22deg); }
.gi:hover .case { transform: rotateY(4deg) translateY(-8px) scale(1.04); }
.gi .cap { text-align: center; width: 100%; } .gi .cap b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gi .cap span { font-size: 11px; color: var(--t2); }
.gi.new { animation: pop .8s var(--pop) both; } @keyframes pop { from { transform: scale(.4); opacity: 0; } }
.empty { text-align: center; color: var(--t2); padding: 70px 20px; display: grid; gap: 12px; justify-items: center; } .empty b { color: var(--t1); font-size: 20px; }

/* ---------- 3D-Hülle ---------- */
.case { --w: 150px; --h: calc(var(--w) * var(--ar)); --d: calc(var(--w) * var(--dp)); position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; flex: none; }
.s-bd { --ar: 1.26; --dp: .1; } .s-dvd { --ar: 1.4; --dp: .1; } .s-sw { --ar: 1.6; --dp: .1; } .s-cd { --ar: .88; --dp: .075; } .s-mini { --ar: 1.12; --dp: .11; } .s-box { --ar: .74; --dp: .24; }
.cx { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.fc { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front, .back, .tray { inset: 0; border-radius: calc(var(--w) * .025); }
.front { transform: translateZ(calc(var(--d) / 2)); background: #0c0c10; padding: calc(var(--w) * .022); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: #0c0c10; overflow: hidden; }
.sl, .sr { top: 0; height: 100%; width: var(--d); left: calc(50% - var(--d) / 2); background: var(--c); }
.sl { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); } .sr { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(90deg, #111, #222 50%, #111); }
.tp, .bt { left: 0; width: 100%; height: var(--d); top: calc(50% - var(--d) / 2); background: linear-gradient(#202027, #0d0d12); }
.tp { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); } .bt { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.band { flex: none; height: calc(var(--w) * .085); background: var(--c); color: var(--ink); font-weight: 900; font-size: calc(var(--w) * .052); letter-spacing: .03em; display: flex; align-items: center; padding: 0 7%; border-radius: calc(var(--w) * .012) calc(var(--w) * .012) 0 0; }
.s-cd .band { display: none; }
.art { flex: 1; min-height: 0; position: relative; background: #222 var(--img) center / cover; border-radius: 0 0 calc(var(--w) * .012) calc(var(--w) * .012); }
.s-cd .art { border-radius: calc(var(--w) * .012); }
.gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 28%, transparent 45%, transparent 75%, rgba(255,255,255,.07) 100%); border-radius: inherit; }
.sticker { position: absolute; top: 5%; right: 5%; width: 24%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: calc(var(--w) * .062); transform: rotate(12deg); box-shadow: 0 3px 10px rgba(0,0,0,.45); z-index: 2; }
.sticker.done { background: var(--ok); color: #fff; } .sticker.hundred { background: linear-gradient(135deg, #ffe066, #f5a623); color: #3a2600; } .sticker.playing { background: var(--acc); color: #fff; font-size: calc(var(--w) * .04); text-align: center; line-height: 1.05; }
.sl .slt { position: absolute; inset: calc(var(--w) * .1) 0; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: calc(var(--d) * .48); color: var(--ink); white-space: nowrap; overflow: hidden; }
.shadow { position: absolute; left: 6%; right: 6%; bottom: calc(var(--w) * -.12); height: calc(var(--w) * .12); background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%); filter: blur(4px); transform: rotateX(90deg) translateZ(calc(var(--h) / -2)); }

/* Rückseite (nur in der großen Ansicht befüllt) */
.back .bb { position: absolute; inset: 0; padding: 7% 7% 6%; display: flex; flex-direction: column; gap: 4%; background: linear-gradient(170deg, rgba(0,0,0,.25), rgba(0,0,0,.85)), var(--img) center / cover; }
.back .bb::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); z-index: 0; } .back .bb > * { position: relative; z-index: 1; }
.back h5 { margin: 0; font-size: calc(var(--w) * .062); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.back p { margin: 0; font-size: calc(var(--w) * .031); line-height: 1.38; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.back .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; } .back .shots i { aspect-ratio: 16/9; background: #222 center / cover; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.back .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; font-size: calc(var(--w) * .028); color: rgba(255,255,255,.65); border-top: 1px solid rgba(255,255,255,.18); padding-top: 3%; gap: 4%; }
.back .meta b { color: #fff; font-size: calc(var(--w) * .04); }

/* Deckel & Innenleben (aufklappbar) */
.lid { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--d) / 2)); transform-origin: 0 50%; transition: transform 1.1s var(--soft); }
.lid .front { transform: none; }
.lid .inner { inset: 0; transform: rotateY(180deg); background: #e9e9ee; border-radius: calc(var(--w) * .025); padding: 6%; box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset; }
.tray { transform: translateZ(calc(var(--d) / 2 - 1px)); background: radial-gradient(circle at 50% 50%, #1b1b22, #0c0c10 70%); box-shadow: 0 0 0 calc(var(--w) * .02) #141419 inset; display: grid; place-items: center; overflow: hidden; }
.case.open .lid { transform: translateZ(calc(var(--d) / 2)) rotateY(-178deg); }
.booklet { width: 100%; height: 100%; border-radius: 4px; background: #fff var(--img) center / cover; box-shadow: 4px 4px 14px rgba(0,0,0,.25), 1px 0 0 #ccc; position: relative; cursor: pointer; transition: transform .35s var(--pop); overflow: hidden; }
.booklet::after { content: "Booklet öffnen"; position: absolute; left: 0; right: 0; bottom: 0; padding: 22% 8% 8%; font-size: calc(var(--w) * .05); font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.booklet:hover { transform: rotate(-1.5deg) scale(1.02); }
.disc { width: 88%; aspect-ratio: 1; border-radius: 50%; position: relative; background: var(--img) center / cover; box-shadow: 0 6px 20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.15) inset; animation: spin 9s linear infinite paused; }
.case.open .disc { animation-play-state: running; }
.disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, rgba(255,255,255,.0), rgba(255,255,255,.35), rgba(160,200,255,.1), rgba(255,255,255,0) 30%, rgba(255,180,255,.25) 55%, rgba(255,255,255,0) 70%, rgba(255,255,255,.3) 90%, rgba(255,255,255,0)); mix-blend-mode: screen; }
.disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28%; height: 28%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #0c0c10 0 34%, rgba(220,220,230,.85) 35% 56%, rgba(255,255,255,.25) 57% 100%); box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
@keyframes spin { to { transform: rotate(360deg); } }
.modul { width: 34%; aspect-ratio: .86; border-radius: 8% 8% 12% 12%; background: #2a2a30; padding: 8%; box-shadow: 0 6px 18px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 6%; transform: rotate(-4deg); }
.modul i { flex: 1; border-radius: 4px; background: var(--img) center / cover; } .modul b { height: 10%; border-radius: 2px; background: var(--c); }
.dcard { width: 70%; aspect-ratio: 1.58; border-radius: 10px; background: linear-gradient(135deg, #2b2b35, #15151b); box-shadow: 0 8px 24px rgba(0,0,0,.6); display: flex; gap: 8%; padding: 7%; align-items: center; transform: rotate(-5deg); }
.dcard i { width: 36%; aspect-ratio: .75; border-radius: 6px; background: var(--img) center / cover; } .dcard span { display: grid; gap: 6px; font-size: calc(var(--w) * .045); font-weight: 800; } .dcard small { font-size: calc(var(--w) * .03); color: var(--t2); font-weight: 600; letter-spacing: .12em; }

/* ---------- Detail-Bühne ---------- */
#stage { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
#stage .bgx { position: absolute; inset: -40px; background: var(--img) center / cover; filter: blur(50px) saturate(1.4) brightness(.38); transform: scale(1.1); opacity: 0; transition: opacity .7s; }
#stage::before { content: ""; position: absolute; inset: 0; background: rgba(8,8,12,.55); opacity: 0; transition: opacity .5s; }
#stage.on .bgx { opacity: 1; } #stage.on::before { opacity: 1; }
#stage.out .bgx, #stage.out::before { opacity: 0; transition-duration: .45s; }
.room { position: relative; display: grid; place-items: center; perspective: 1500px; touch-action: none; cursor: grab; user-select: none; }
.room:active { cursor: grabbing; }
.room .case { --w: min(300px, 34vw); transition: transform 1s var(--spring); }
.room .cx { transition: transform .9s var(--spring); }
.room.drag .cx { transition: none; }
.room .glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(120,120,255,.3)), transparent 65%); filter: blur(30px); opacity: .7; pointer-events: none; }
.hint { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--t3); pointer-events: none; transition: opacity .4s; }
.close { position: absolute; top: max(16px, env(safe-area-inset-top)); left: 16px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 18px; display: grid; place-items: center; transition: transform .2s var(--pop); }
.close:active { transform: scale(.9); }
.info { position: relative; overflow-y: auto; padding: max(64px, env(safe-area-inset-top)) 34px 40px 10px; opacity: 0; transform: translateX(30px); transition: opacity .6s .25s, transform .8s var(--spring) .2s; scrollbar-width: none; } .info::-webkit-scrollbar { display: none; }
#stage.on .info { opacity: 1; transform: none; } #stage.out .info { opacity: 0; transform: translateX(20px); transition-delay: 0s; transition-duration: .3s; }
.info .pp { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--c); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.info h2 { margin: 12px 0 4px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.info .sub { color: var(--t2); font-size: 14px; }
.info .acts { display: flex; gap: 8px; margin: 18px 0 20px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; } .tags span { font-size: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--t2); }
.desc { font-size: 15px; line-height: 1.55; color: rgba(235,235,245,.82); margin: 0 0 18px; }
.box { background: rgba(255,255,255,.06); border-radius: 16px; padding: 4px 16px; margin: 0 0 14px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.row { display: flex; align-items: center; gap: 12px; min-height: 48px; border-top: 1px solid var(--line); } .row:first-child { border-top: 0; }
.row > span { flex: 1; font-size: 15px; } .row > small { color: var(--t2); font-size: 14px; }
.row input, .row select { height: 32px; border-radius: 8px; border: 0; background: rgba(255,255,255,.1); padding: 0 10px; font-size: 14px; max-width: 160px; }
.row input[type=number] { width: 90px; text-align: right; }
textarea.note { width: 100%; min-height: 80px; resize: vertical; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); padding: 12px; font-size: 15px; line-height: 1.45; margin: 4px 0 12px; outline: none; }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); margin: 18px 0 6px; }
.status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 14px; }
.status button { height: 52px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; align-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--t2); transition: transform .2s var(--pop), background .2s, color .2s; }
.status button i { font-style: normal; font-size: 18px; } .status button.on { background: var(--sc); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--sc) 45%, transparent); } .status button:active { transform: scale(.94); }
.stars { display: flex; gap: 2px; } .stars button { font-size: 22px; color: rgba(255,255,255,.2); transition: transform .25s var(--pop), color .2s; } .stars button.on { color: var(--gold); } .stars button:active { transform: scale(1.3); }
.verdict { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; } .verdict .big { font-size: 34px; } .verdict b { display: block; font-size: 17px; } .verdict span { color: var(--t2); font-size: 13px; }
.fav { font-size: 20px; color: rgba(255,255,255,.3); transition: transform .3s var(--pop), color .2s; } .fav.on { color: #ff375f; transform: scale(1.15); }

/* ---------- Booklet-Leser ---------- */
.reader { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(5,5,8,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .4s; perspective: 2200px; }
.reader.on { opacity: 1; }
.book { position: relative; width: min(440px, 86vw); aspect-ratio: .72; max-height: 80vh; transform-style: preserve-3d; transform: scale(.85) rotateX(12deg); transition: transform .8s var(--spring); }
.reader.on .book { transform: none; }
.page { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform 1s var(--soft); background: #f6f4ef; color: #1b1b1f; border-radius: 3px 10px 10px 3px; box-shadow: 0 30px 70px rgba(0,0,0,.55); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.page::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 26px; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); pointer-events: none; }
.page.flip { transform: rotateY(-180deg); }
.pg { position: absolute; inset: 0; padding: 9% 9% 12%; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pg .hero { display: block; margin: -11% -11% 4px; height: 38%; background: center / cover; flex: none; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.pg h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; } .pg h4 { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a8a93; }
.pg p { margin: 0; font-size: 14px; line-height: 1.6; color: #3a3a40; }
.pg .pno { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; font-size: 11px; color: #9a9aa2; font-weight: 600; }
.pg.coverpg { padding: 0; background: var(--img) center / cover; } .pg.coverpg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75)); }
.pg.coverpg .ct { position: absolute; left: 8%; right: 8%; bottom: 8%; z-index: 1; color: #fff; } .pg.coverpg .ct h3 { color: #fff; font-size: 30px; } .pg.coverpg .ct span { font-size: 13px; opacity: .8; }
.pg .gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pg .gal i { aspect-ratio: 16/9; border-radius: 6px; background: #ddd center / cover; } .pg .gal i:first-child { grid-column: span 2; }
.pg dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14px; } .pg dt { color: #8a8a93; } .pg dd { margin: 0; font-weight: 600; }
.pg .sig { margin-top: auto; font-family: "Snell Roundhand", "Segoe Script", cursive; font-size: 26px; color: #4b4bd6; transform: rotate(-4deg); }
.pg .big { font-size: 46px; }
.rnav { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 0; right: 0; display: flex; justify-content: center; gap: 12px; align-items: center; }
.rnav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 18px; } .rnav span { font-size: 13px; color: var(--t2); min-width: 60px; text-align: center; }

/* ---------- Sheet (Hinzufügen) ---------- */
#sheet { position: fixed; inset: 0; z-index: 80; }
.sh-bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .35s; }
.sh-pane { position: absolute; left: 50%; bottom: 0; width: min(640px, 100%); max-height: 88vh; overflow-y: auto; transform: translate(-50%, 100%); transition: transform .6s var(--spring); background: #1a1a21; border-radius: 26px 26px 0 0; padding: 12px 20px max(24px, env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(0,0,0,.5); }
.sh-pane::before { content: ""; display: block; width: 38px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); margin: 0 auto 14px; }
#sheet.on .sh-bg { opacity: 1; } #sheet.on .sh-pane { transform: translate(-50%, 0); }
.sh-pane h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.res { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px; margin-top: 14px; }
.res button { display: grid; gap: 6px; text-align: left; animation: pop .5s var(--pop) both; } .res img { width: 100%; aspect-ratio: .75; object-fit: cover; border-radius: 8px; background: #222; box-shadow: 0 6px 16px rgba(0,0,0,.4); transition: transform .25s var(--pop); }
.res button:active img { transform: scale(.95); } .res b { font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .res small { font-size: 11px; color: var(--t2); }
.res .own { font-size: 10px; color: var(--ok); font-weight: 700; }
.pick { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; } .pick img { width: 84px; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.5); } .pick b { font-size: 18px; } .pick span { display: block; color: var(--t2); font-size: 13px; }
.opts { display: flex; gap: 7px; flex-wrap: wrap; margin: 4px 0 6px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .8s linear infinite; margin: 30px auto; }

#toast { position: fixed; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); z-index: 99; transform: translate(-50%, 30px); opacity: 0; padding: 10px 16px; border-radius: 999px; background: rgba(40,40,48,.92); backdrop-filter: blur(20px); font-size: 14px; font-weight: 600; transition: transform .5s var(--spring), opacity .3s; pointer-events: none; }
#toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 860px) {
  #stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .room { height: 52vh; min-height: 330px; } .room .case { --w: min(210px, 52vw); }
  .info { overflow: visible; padding: 0 20px 50px; }
  .hint { bottom: 8px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 26px 12px; } .gi .case { --w: calc((100vw - 56px) / 3) !important; }
  .shelf { padding: 18px 10px 0; gap: 2px; } .spine { --sw: 26px; --sh: 172px; } .s-bd.spine { --sh: 172px; } .s-dvd.spine { --sh: 188px; } .s-sw.spine { --sw: 22px; --sh: 172px; } .s-cd.spine { --sh: 130px; --sw: 20px; } .s-box.spine { --sw: 40px; --sh: 128px; } .s-mini.spine { --sh: 138px; --sw: 26px; } .divd { width: 16px; height: 90px; margin: 0 3px 0 4px; }
  .spine .st { font-size: 10.5px; } .kpis { gap: 16px; } .kpi b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; } }
