/* hearit – dunkel mit Neon. Pink und Cyan leuchten, alles andere bleibt ruhig. */

@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/unbounded-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/unbounded-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/unbounded-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/unbounded-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/manrope-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/manrope-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/manrope-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/manrope-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/manrope-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #08060F;
  --bg2: #120E1F;
  --card: rgba(255, 255, 255, .045);
  --card2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .1);
  --line2: rgba(255, 255, 255, .18);
  --text: #F5F2FF;
  --muted: #A8A1C2;
  --dim: #6F688A;
  --pink: #FF3DCB;
  --cyan: #2EF2FF;
  --violet: #8B5CFF;
  --lime: #B8FF3D;
  --amber: #FFC23D;
  --red: #FF4D6A;
  --grad: linear-gradient(115deg, var(--pink), var(--violet) 55%, var(--cyan));
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body[data-view="game"] { --hwh-display: none; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--cyan); }
img { display: block; }
::selection { background: rgba(255, 61, 203, .45); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ic .fill { fill: currentColor; stroke: none; }
.ic.big { width: 34px; height: 34px; }
.ic.flip { transform: scaleX(-1); }
.muted { color: var(--muted); }

/* ── Hintergrund: langsam treibende Lichter und ein feines Raster ── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .62; will-change: transform; }
.g1 { width: 46vmax; height: 46vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle, rgba(255, 61, 203, .55), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.g2 { width: 50vmax; height: 50vmax; right: -18vmax; top: 10vmax; background: radial-gradient(circle, rgba(46, 242, 255, .38), transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.g3 { width: 40vmax; height: 40vmax; left: 20vmax; bottom: -26vmax; background: radial-gradient(circle, rgba(139, 92, 255, .45), transparent 65%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
.grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-10vmax, 8vmax) scale(.9); } }
body.sounding .g1 { opacity: .75; transition: opacity .3s; }

/* ── Kopf ── */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; max-width: 1040px; margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 6px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; border-radius: 12px; padding: 4px 6px 4px 2px; }
.logo-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(255, 61, 203, .55)); }
.logo-mark path { transform-origin: center; transform-box: fill-box; }
body.sounding .logo-mark path { animation: eq .5s ease-in-out infinite alternate; }
body.sounding .logo-mark path:nth-child(2) { animation-delay: -.2s; }
body.sounding .logo-mark path:nth-child(3) { animation-delay: -.35s; }
body.sounding .logo-mark path:nth-child(4) { animation-delay: -.1s; }
.logo-word { font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.logo-word b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lang {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.lang:hover { color: var(--text); border-color: var(--line2); }

main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 8px 20px 40px; }
.view { max-width: 720px; margin: 0 auto; }
#v-home { max-width: 1000px; }
.view.enter { animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }

/* ── Start ── */
.hero { text-align: center; padding: clamp(28px, 7vh, 72px) 0 10px; }
.hero-title {
  margin: 0 auto; max-width: 15ch;
  font: 800 clamp(34px, 7.2vw, 74px)/1.04 var(--display); letter-spacing: -.035em;
  outline: none;
}
.hero-title em {
  display: block; font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 61, 203, .35));
}
.lede { margin: 18px auto 0; max-width: 34ch; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.hero-eq { display: flex; justify-content: center; align-items: center; gap: 5px; height: 54px; margin: 26px 0 0; }
.hero-eq i {
  width: 6px; height: 100%; border-radius: 6px;
  background: linear-gradient(var(--pink), var(--cyan));
  box-shadow: 0 0 12px rgba(255, 61, 203, .45);
  transform: scaleY(.2); animation: eq 1.1s ease-in-out infinite alternate;
}
.hero-eq i:nth-child(3n) { animation-duration: .8s; }
.hero-eq i:nth-child(3n+1) { animation-duration: 1.3s; animation-delay: -.4s; }
.hero-eq i:nth-child(4n) { animation-delay: -.7s; }
.hero-eq i:nth-child(5n+2) { animation-duration: .95s; animation-delay: -.2s; }
@keyframes eq { from { transform: scaleY(.18); } to { transform: scaleY(1); } }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; }
.mode {
  --acc: var(--pink);
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 22px 22px 20px; min-height: 200px;
  border-radius: 24px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--spring), border-color .3s, box-shadow .3s;
}
.mode::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 60%);
  opacity: .55; transition: opacity .3s;
}
.m-artist { --acc: var(--cyan); }
.m-list { --acc: var(--lime); }
.mode:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 55%, transparent); box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--acc) 60%, transparent); }
.mode:hover::before { opacity: 1; }
.mode:active { transform: translateY(-1px) scale(.99); }
.mode-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: color-mix(in srgb, var(--acc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  color: var(--acc); box-shadow: 0 0 24px -6px var(--acc);
}
.mode-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode-txt { display: flex; flex-direction: column; gap: 6px; }
.mode-txt b { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.mode-txt small { color: var(--muted); font-size: 15px; line-height: 1.45; }
.mode-go { position: absolute; right: 20px; top: 22px; font: 600 22px/1 var(--display); color: var(--acc); transition: transform .3s var(--spring); }
.mode:hover .mode-go { transform: translateX(4px); }

.how { list-style: none; margin: 34px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; }
.how li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.how-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); font: 600 13px/1 var(--display); color: var(--text); }

/* ── Ansichten mit Auswahl ── */
.back { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 6px -4px; padding: 6px 8px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s, transform .2s; }
.back:hover { color: var(--text); transform: translateX(-2px); }
.view-title { margin: 8px 0 4px; font: 800 clamp(30px, 5.5vw, 46px)/1.08 var(--display); letter-spacing: -.03em; outline: none; overflow-wrap: anywhere; }
.view-sub { margin: 0 0 18px; color: var(--muted); font-size: 17px; }
.kicker { margin: 0; color: var(--cyan); font: 600 12px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 6px 20px 20px; margin: 0 0 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.label { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 10px; font: 600 12px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.label .count { color: var(--cyan); letter-spacing: .04em; text-transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; color: var(--text);
  transition: background .2s, border-color .2s, transform .25s var(--spring), box-shadow .25s, color .2s;
}
.chip:hover { border-color: var(--line2); background: rgba(255, 255, 255, .07); }
.chip:active { transform: scale(.95); }
.chip[aria-checked="true"] {
  border-color: transparent; color: #12041A;
  background: linear-gradient(115deg, #FF6FD8, #B48CFF);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 6px 22px -6px rgba(255, 61, 203, .7);
}
.chips.big { display: grid; grid-template-columns: repeat(3, 1fr); }
.chips.big .chip { border-radius: 16px; padding: 12px 14px; text-align: left; }
.chips.big .chip span { display: flex; flex-direction: column; gap: 2px; }
.chips.big .chip b { font-weight: 800; }
.chips.big .chip small { font-weight: 600; font-size: 13px; opacity: .7; }

.note { margin: 0 0 12px; padding: 12px 16px; border-radius: 16px; background: rgba(46, 242, 255, .07); border: 1px solid rgba(46, 242, 255, .28); color: #BFF8FF; font-size: 15px; }
.go-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 10px; text-align: center; }
.pool { margin: 0; color: var(--muted); font-weight: 600; min-height: 1.5em; }
.pool.warn { color: var(--amber); }
.best { margin: 0; color: var(--dim); font-size: 14px; }

/* ── Knöpfe ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 16px; text-decoration: none; line-height: 1.2;
  transition: transform .25s var(--spring), box-shadow .25s, background .2s, border-color .2s, opacity .2s, color .2s;
}
.btn:active:not(:disabled) { transform: scale(.96); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.primary { color: #12041A; background: linear-gradient(115deg, #FF5AD4, #A57BFF 60%, #5DF4FF); box-shadow: 0 10px 30px -10px rgba(255, 61, 203, .8), 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.btn.primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 38px -10px rgba(255, 61, 203, .95), 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.btn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); color: var(--text); }
.btn.ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.btn.danger { color: #FF8FA3; }
.btn.huge { min-height: 58px; padding: 14px 40px; font: 800 18px/1 var(--display); letter-spacing: -.01em; min-width: min(320px, 100%); }
.btn.small { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn small { font-weight: 600; opacity: .65; font-size: 13px; white-space: nowrap; }
.btn-row { display: flex; gap: 10px; align-items: center; }
.btn-row.wrap { flex-wrap: wrap; }
.panel .btn-row { margin-top: 18px; }
.btn-row.center { justify-content: center; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text);
  transition: background .2s, border-color .2s, transform .25s var(--spring), color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: var(--line2); }
.icon-btn:active { transform: scale(.9); }
.icon-btn.add.on { color: #12041A; background: var(--lime); border-color: transparent; box-shadow: 0 0 18px -4px var(--lime); }
.link { background: none; border: 0; padding: 4px 2px; color: var(--cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; background: var(--lime); color: #0B1400; font: 800 12px/1 var(--body); padding: 6px 9px; border-radius: 8px;
  animation: pop .3s var(--spring); pointer-events: none;
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, 6px) scale(.9); } }

/* ── Suche und Listen ── */
.search { position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.search input, .field {
  width: 100%; min-height: 50px; padding: 12px 16px 12px 46px;
  border-radius: 16px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .35);
  font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.field { padding-left: 16px; }
.search input:focus, .field:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(46, 242, 255, .15), 0 0 30px -8px rgba(46, 242, 255, .6); }
input::placeholder { color: var(--dim); }
input[type="search"]::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.rows { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rows .muted { padding: 10px 4px; }
.row-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 14px; text-align: left; transition: background .15s; }
.row-btn:hover, .row-btn:focus-visible { background: rgba(255, 255, 255, .07); }
.row-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.row-txt b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-txt small { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--grad); color: #12041A; font: 800 18px/1 var(--display); }
.song-row { display: flex; align-items: center; gap: 12px; padding: 6px 4px; border-radius: 14px; animation: rowIn .35s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.cov { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: cover; background: linear-gradient(135deg, #2A1F45, #1A2838); }
.cov.broken { visibility: hidden; }

.artist-card { position: relative; overflow: hidden; }
.artist-covers { display: flex; gap: 0; margin: 18px 0 0; }
.artist-covers .cov { width: 64px; height: 64px; border-radius: 14px; margin-right: -16px; border: 2px solid var(--bg2); box-shadow: 0 8px 20px -8px #000; animation: rowIn .4s var(--spring) both; }
.artist-covers .cov:nth-child(2) { animation-delay: .05s; } .artist-covers .cov:nth-child(3) { animation-delay: .1s; }
.artist-covers .cov:nth-child(4) { animation-delay: .15s; } .artist-covers .cov:nth-child(5) { animation-delay: .2s; }
.artist-name { margin: 16px 0 2px; font: 800 clamp(26px, 5vw, 36px)/1.1 var(--display); letter-spacing: -.02em; }
.artist-meta { margin: 0 0 4px; color: var(--muted); }

.pl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pl-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); animation: rowIn .35s var(--ease) both; }
.pl-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--text); text-decoration: none; padding: 4px; border-radius: 12px; }
.pl-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(184, 255, 61, .12); color: var(--lime); border: 1px solid rgba(184, 255, 61, .35); }
.pl-acts { display: flex; gap: 6px; }
#listNew { margin: 4px 0 8px; }

.pl-hero { display: flex; gap: 20px; align-items: center; margin: 10px 0 18px; }
.pl-covers { display: grid; grid-template-columns: 1fr 1fr; width: 132px; height: 132px; flex: none; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #2A1F45, #1A2838); box-shadow: 0 18px 50px -20px rgba(255, 61, 203, .7); }
.pl-covers img { width: 100%; height: 100%; object-fit: cover; }
.pl-covers[data-n="1"], .pl-covers[data-n="2"], .pl-covers[data-n="3"] { grid-template-columns: 1fr; }
.pl-covers[data-n="2"] img:nth-child(n+2), .pl-covers[data-n="3"] img:nth-child(n+2) { display: none; }
.big-msg { font-size: 18px; padding: 20px 0; }
.pl-songs { margin: 20px 0 0; color: var(--muted); }
.pl-songs summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.pl-songs ol { margin: 6px 0 0; padding-left: 24px; }

/* ── Spiel ── */
.game { max-width: 560px; }
.g-head { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; margin: 4px 0 0; }
.g-mid { text-align: center; min-width: 0; }
.g-label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-num { margin: 0; font: 800 18px/1.3 var(--display); }
.g-num .sl { color: var(--dim); margin: 0 3px; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .15); transition: background .3s, transform .3s var(--spring), box-shadow .3s; }
.dot.cur { background: var(--text); transform: scale(1.35); box-shadow: 0 0 10px #fff; }
.dot.ok.s0 { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.dot.ok.s1 { background: var(--cyan); }
.dot.ok.s2, .dot.ok.s3 { background: var(--amber); }
.dot.miss { background: var(--red); }
.g-score { margin: 0; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.g-score b { font: 800 22px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-score small { color: var(--dim); font-size: 12px; font-weight: 600; }

.stage {
  --lvl: 0;
  position: relative; width: min(330px, 78vw); aspect-ratio: 1; margin: 6px auto 0;
  display: grid; place-items: center;
  transition: width .35s var(--ease);
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage::before {
  content: ''; position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 203, .55), rgba(139, 92, 255, .25) 50%, transparent 70%);
  filter: blur(18px); opacity: calc(.35 + var(--lvl) * 1.6); transform: scale(calc(1 + var(--lvl) * .6));
}
.play {
  position: relative; display: grid; place-items: center; align-content: center; gap: 4px;
  width: 50%; aspect-ratio: 1; border-radius: 50%; border: 0;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #FF7FE0, #B84DFF 45%, #5B2BD9 80%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 0 10px rgba(255, 255, 255, .04), 0 0 60px -6px rgba(255, 61, 203, .85), 0 20px 40px -18px #000;
  transition: transform .3s var(--spring), box-shadow .3s, filter .3s;
}
.play:hover:not(:disabled) { transform: scale(1.04); }
.play:active:not(:disabled) { transform: scale(.94); }
.play[data-state="playing"] { transform: scale(calc(1 + var(--lvl) * .12)); transition: transform .08s linear; }
.play[data-state="loading"] { filter: saturate(.4) brightness(.8); cursor: progress; }
.play[data-state="loading"] .ic { animation: spin 1s linear infinite; opacity: .6; }
.play .ic { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.play .ic.big { width: 38%; height: auto; aspect-ratio: 1; margin-left: 6%; }
.play[data-state="playing"] .ic.big { margin-left: 0; width: 32%; }
.play-len { font: 800 clamp(13px, 3.6vw, 15px)/1 var(--display); letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
@keyframes spin { to { transform: rotate(360deg); } }

.ladder { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 8px 0 0; padding: 0; }
.rung {
  position: relative; display: grid; place-items: center; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06);
  color: var(--dim); font: 600 11px/1 var(--display); white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .35s var(--spring);
}
.rung.open { color: var(--text); background: rgba(46, 242, 255, .08); border-color: rgba(46, 242, 255, .3); }
.rung.cur { background: rgba(46, 242, 255, .16); border-color: var(--cyan); box-shadow: 0 0 18px -4px var(--cyan); transform: translateY(-2px); }
.rung.wrong { background: rgba(255, 77, 106, .14); border-color: rgba(255, 77, 106, .55); color: #FFB3C0; }
.rung.skip { background: rgba(255, 194, 61, .1); border-color: rgba(255, 194, 61, .45); border-style: dashed; color: #FFE2A3; }
.rung.hit { background: var(--lime); border-color: transparent; color: #0B1400; box-shadow: 0 0 22px -2px var(--lime); transform: translateY(-3px) scale(1.06); }

.guess-area { margin: 16px 0 0; }
.guess-box { position: relative; z-index: 10; display: flex; align-items: center; }
.guess-box > .ic { position: absolute; left: 17px; color: var(--muted); pointer-events: none; z-index: 1; }
#gInput {
  width: 100%; min-height: 58px; padding: 14px 18px 14px 50px; border-radius: 20px;
  border: 1px solid var(--line2); background: rgba(10, 7, 20, .75); font-size: 17px; font-weight: 600;
  transition: border-color .2s, box-shadow .2s;
}
#gInput:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 61, 203, .15), 0 0 36px -8px rgba(255, 61, 203, .7); }
.guess-box.shake { animation: shake .42s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.sugg {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  max-height: min(340px, 46vh); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 18px; border: 1px solid var(--line2); background: #150F24;
  box-shadow: 0 24px 60px -16px #000, 0 0 0 1px rgba(255, 61, 203, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: dropIn .18s var(--ease);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } }
.sugg-item { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.sugg-item b { font-weight: 800; }
.sugg-item small { color: var(--muted); font-size: 14px; }
.sugg-item[aria-selected="true"] { background: rgba(255, 61, 203, .16); box-shadow: inset 3px 0 0 var(--pink); }
.sugg-item:hover { background: rgba(255, 255, 255, .07); }
.sugg-empty { padding: 12px; color: var(--muted); }
.try-hint { margin: 8px 0 0; min-height: 1.2em; text-align: center; color: var(--amber); font-weight: 800; font-size: 14px; }
.try-hint:empty { margin: 0; min-height: 0; }
.g-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 12px 0 0; }
.g-actions .btn { min-height: 50px; }
.tries { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tries li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 15px; animation: rowIn .3s var(--ease) both; }
.tries li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tries .wrong { background: rgba(255, 77, 106, .1); color: #FFB3C0; }
.tries .skip { background: rgba(255, 194, 61, .08); color: #FFE2A3; }
.tries .ic { width: 16px; height: 16px; }

/* Auflösung */
.reveal {
  --glow: #FF3DCB;
  position: relative; margin: 16px 0 0; padding: 20px; border-radius: 26px;
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid var(--line2);
  animation: revealIn .55s var(--spring) both;
}
.reveal::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(70% 90% at 20% 30%, var(--glow), transparent 70%); opacity: .35; filter: blur(30px); transition: background .6s; }
@keyframes revealIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.rv-cover-wrap { position: relative; width: 150px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #2A1F45, #1A2838); box-shadow: 0 18px 40px -16px var(--glow); }
.rv-cover { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); filter: blur(8px); transition: opacity .5s, transform .7s var(--ease), filter .7s; }
.rv-cover.loaded { opacity: 1; transform: none; filter: none; }
.rv-cover.broken { visibility: hidden; }
.rv-txt { min-width: 0; }
.rv-verdict { margin: 0; font: 800 22px/1.1 var(--display); letter-spacing: -.02em; }
.reveal.good .rv-verdict { color: var(--lime); text-shadow: 0 0 18px rgba(184, 255, 61, .55); }
.reveal.bad .rv-verdict { color: #FF8FA3; }
.rv-pts { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--lime); color: #0B1400; font-size: 14px; vertical-align: 3px; text-shadow: none; animation: pop .5s var(--spring) .15s both; }
.rv-pts:empty { display: none; }
.rv-sub { margin: 4px 0 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.rv-title { margin: 0; font: 800 clamp(19px, 4vw, 24px)/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.rv-artist { margin: 4px 0 12px; color: var(--muted); }
#rvPlay.on { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px -6px var(--cyan); }
#rvNext { grid-column: 1 / -1; width: 100%; }

/* Konfetti */
.burst { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 3px;
  background: var(--c); color: var(--c); font: 800 18px/10px var(--display); font-style: normal; text-align: center;
  animation: fly var(--d) cubic-bezier(.15, .7, .3, 1) forwards;
}
.burst i:not(:empty) { background: none; text-shadow: 0 0 10px var(--c); }
@keyframes fly { 0% { transform: translate(0, 0) rotate(0) scale(.4); opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 60px)) rotate(var(--r)) scale(1); opacity: 0; } }

/* ── Ergebnis ── */
.sum-hero { position: relative; text-align: center; padding: 26px 0 10px; }
.sum-hero .burst { top: 46%; }
.sum-score { margin: 10px 0 0; font: 800 clamp(64px, 16vw, 112px)/1 var(--display); letter-spacing: -.05em; }
.sum-score b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255, 61, 203, .45)); }
.sum-score span { display: block; margin-top: 6px; font-size: 16px; letter-spacing: 0; color: var(--dim); font-weight: 600; }
.sum-best { display: inline-block; margin: 14px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: #0B1400; font: 800 14px/1.2 var(--display); box-shadow: 0 0 24px -4px var(--lime); animation: pop .6s var(--spring) .8s both; }
.sum-grade { margin: 14px 0 2px; font: 800 20px/1.3 var(--display); }
.sum-list { margin: 26px 0 0; }
.sum-list .song-row { background: var(--card); border: 1px solid var(--line); padding: 8px 12px 8px 8px; }
.sum-list .song-row:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms); }
.tag { flex: none; padding: 4px 9px; border-radius: 999px; font: 600 12px/1.2 var(--display); }
.tag.s0 { background: var(--lime); color: #0B1400; }
.tag.s1 { background: var(--cyan); color: #00161A; }
.tag.s2, .tag.s3 { background: var(--amber); color: #1A1000; }
.tag.miss { background: rgba(255, 77, 106, .18); color: #FF8FA3; }
.pts { flex: none; width: 44px; text-align: right; font: 800 15px/1 var(--display); color: var(--muted); }
.song-row.ok .pts { color: var(--text); }

/* ── Fuß, Meldungen, Dialoge ── */
.foot { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px)) 80px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; color: var(--dim); font-size: 13px; }
.foot-note { margin: 0; max-width: 60ch; }
.foot-links { display: flex; gap: 14px; }
.foot .link { color: var(--muted); font-size: 13px; }
body[data-view="game"] .foot { display: none; }
.noscript { text-align: center; padding: 40px; }

.toasts { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 440px); pointer-events: none; }
.toast { padding: 11px 16px; border-radius: 14px; background: rgba(28, 22, 46, .96); border: 1px solid var(--line2); box-shadow: 0 16px 40px -12px #000; font-weight: 600; font-size: 15px; text-align: center; animation: toastIn .35s var(--spring); }
.toast.good { border-color: rgba(184, 255, 61, .5); }
.toast.bad { border-color: rgba(255, 77, 106, .6); }
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

dialog { color: var(--text); background: #151024; border: 1px solid var(--line2); border-radius: 24px; box-shadow: 0 40px 100px -20px #000; padding: 0; }
dialog::backdrop { background: rgba(5, 3, 10, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog[open] { animation: dlgIn .35s var(--spring); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.confirm { width: min(92vw, 400px); padding: 24px; }
.confirm p { margin: 0 0 18px; font-size: 17px; font-weight: 600; }
.confirm .btn-row { justify-content: flex-end; flex-wrap: wrap; }
.confirm .btn.primary.danger { background: linear-gradient(115deg, #FF6B85, #FF3DCB); color: #1A0008; }
.doc { width: min(94vw, 640px); max-height: 86vh; overflow: auto; }
.doc article { padding: 22px 24px 28px; }
.doc h2 { margin: 0 0 10px; font: 800 24px/1.2 var(--display); }
.doc h3 { margin: 20px 0 4px; font-size: 16px; color: var(--cyan); }
.doc p { margin: 0 0 8px; color: #D9D3EE; font-size: 15px; }
.doc form { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 10px 10px 0; background: linear-gradient(#151024 60%, transparent); }
.doc-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); font-size: 24px; line-height: 1; }

/* ── Handy ── */
@media (max-width: 820px) {
  .modes { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .mode { min-height: 0; flex-direction: row; align-items: center; padding: 16px 44px 16px 16px; }
  .mode-txt b { font-size: 20px; }
  .mode-txt small { font-size: 14px; }
  .mode-go { top: 50%; transform: translateY(-50%); right: 16px; }
  .mode:hover .mode-go { transform: translate(4px, -50%); }
  .how { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  main { padding: 4px 14px 32px; }
  .top { padding-left: 14px; padding-right: 14px; }
  .panel { padding: 2px 14px 16px; border-radius: 20px; }
  .chips.big { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .chips.big .chip { padding: 10px; }
  .chips.big .chip small { font-size: 11.5px; }
  .chip { padding: 8px 13px; font-size: 14px; }
  .hero-eq { height: 40px; }
  .ladder { gap: 4px; }
  .rung { height: 30px; font-size: 10px; border-radius: 8px; }
  .reveal { grid-template-columns: 104px 1fr; padding: 14px; gap: 14px; }
  .rv-cover-wrap { width: 104px; border-radius: 14px; }
  .rv-verdict { font-size: 19px; }
  .pl-hero { gap: 14px; }
  .pl-covers { width: 96px; height: 96px; border-radius: 16px; }
  .foot { padding-left: 76px; }
  body.typing .stage { width: 120px; }
  body.typing .ladder { margin-top: 2px; }
  body.typing .g-head .dots { display: none; }
}
@media (max-height: 700px) and (max-width: 560px) { .stage { width: min(250px, 64vw); } }

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