:root {
  --bg: #07061a;
  --bg2: #120b2e;
  --red: #ff2e63;
  --blue: #2e8bff;
  --cyan: #3ef3ff;
  --text: #f1eeff;
  --muted: #9b93c7;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --head: 'Unbounded', 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body { overflow: hidden; }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }

.screen { position: fixed; inset: 0; display: none; }
.screen.active { display: block; }

/* ===== кнопки ===== */
.btn {
  border: 0; cursor: pointer; border-radius: 14px; padding: 13px 22px; font-weight: 800;
  letter-spacing: .01em; transition: transform .12s, box-shadow .2s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn.primary {
  background: linear-gradient(135deg, var(--red), #ff5ea0 45%, var(--blue));
  box-shadow: 0 8px 30px -6px rgba(255, 46, 99, .55), 0 0 0 1px rgba(255,255,255,.15) inset;
}
.btn.primary:hover { box-shadow: 0 10px 40px -4px rgba(255, 46, 99, .8), 0 0 0 1px rgba(255,255,255,.3) inset; }
.btn.primary:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px var(--line) inset; }
.btn.ghost:hover { background: rgba(255,255,255,.13); }
.btn.big { padding: 16px 34px; font-size: 18px; }
.btn.small { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* ===== меню ===== */
#menu { overflow-y: auto; overflow-x: hidden; }
#menu-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.menu-wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 56px 24px 40px; }
.hero { text-align: center; }
.logo { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; }
.logo .cube { position: absolute; width: 38px; height: 38px; border-radius: 10px; }
.logo .cube.red { left: 4px; top: 4px; background: var(--red); box-shadow: 0 0 30px var(--red); animation: bob 1.1s ease-in-out infinite; }
.logo .cube.blue { right: 4px; bottom: 4px; background: var(--blue); box-shadow: 0 0 30px var(--blue); animation: bob 1.1s ease-in-out infinite .55s; }
.logo .slash { position: absolute; left: -8px; top: 40px; width: 100px; height: 4px; background: #fff; border-radius: 4px; transform: rotate(-45deg); box-shadow: 0 0 18px #fff, 0 0 40px var(--cyan); }
@keyframes bob { 50% { transform: translateY(-5px) scale(1.05); } }
h1 {
  font-family: var(--head); font-weight: 900; font-size: clamp(38px, 7vw, 76px); line-height: .98;
  margin: 0 0 18px; letter-spacing: -.02em; text-transform: uppercase;
}
h1 em {
  font-style: normal; font-weight: 700; font-size: .62em;
  background: linear-gradient(90deg, var(--red), #ff7ab0, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.5; }

.link-form { margin: 36px auto 0; max-width: 760px; }
.input-row {
  display: flex; gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(14, 10, 40, .75); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 20px 60px -20px rgba(46,139,255,.5);
}
.input-row input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text);
  font: 600 16px 'Manrope', sans-serif; padding: 0 12px;
}
.input-row input::placeholder { color: #6f68a0; }
.form-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.file-btn { cursor: pointer; color: var(--cyan); font-weight: 700; }
.file-btn input { display: none; }
.file-btn:hover span { text-decoration: underline; }
.dot-sep { opacity: .5; }

.job {
  margin: 22px auto 0; padding: 18px 20px; border-radius: 18px; background: rgba(14, 10, 40, .8);
  box-shadow: 0 0 0 1px var(--line) inset; text-align: center;
}
.job-steps { display: flex; justify-content: center; gap: 6px 22px; flex-wrap: wrap; font-weight: 700; font-size: 14px; }
.step { color: #5d5690; display: flex; align-items: center; gap: 8px; transition: color .3s; }
.step i { width: 10px; height: 10px; border-radius: 50%; background: #3a3466; transition: all .3s; }
.step.done { color: var(--muted); }
.step.done i { background: var(--cyan); }
.step.now { color: var(--text); }
.step.now i { background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse .6s infinite alternate; }
@keyframes pulse { to { transform: scale(1.4); } }
.job-msg { margin-top: 10px; color: var(--muted); font-size: 14px; min-height: 20px; }
.job.error .job-msg { color: #ff8fa8; }
.job.error .job-eq { display: none; }
.job-eq { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 26px; margin-top: 10px; }
.job-eq span { width: 5px; border-radius: 3px; background: linear-gradient(var(--cyan), var(--blue)); animation: eq .9s ease-in-out infinite; }
.job-eq span:nth-child(2n) { background: linear-gradient(#ff7ab0, var(--red)); }
.job-eq span:nth-child(1) { animation-delay: -.2s } .job-eq span:nth-child(2) { animation-delay: -.5s }
.job-eq span:nth-child(3) { animation-delay: -.1s } .job-eq span:nth-child(4) { animation-delay: -.7s }
.job-eq span:nth-child(5) { animation-delay: -.3s } .job-eq span:nth-child(6) { animation-delay: -.6s }
.job-eq span:nth-child(7) { animation-delay: -.4s }
@keyframes eq { 0%, 100% { height: 5px } 50% { height: 26px } }

.lib-head { display: flex; justify-content: space-between; align-items: center; margin: 54px 0 16px; }
.lib-head h2 { font-family: var(--head); font-size: 20px; margin: 0; font-weight: 700; }
.library { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tcard {
  position: relative; border-radius: 18px; overflow: hidden; cursor: pointer; background: #140e36;
  box-shadow: 0 0 0 1px var(--line) inset; transition: transform .18s, box-shadow .2s;
}
.tcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(62,243,255,.5) inset, 0 14px 40px -12px rgba(46,139,255,.6); }
.tcard .thumb { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.tcard .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #140e36); }
.tcard .thumb .play {
  position: absolute; right: 12px; bottom: 10px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue)); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.5); opacity: 0; transform: scale(.8); transition: all .2s;
}
.tcard:hover .play { opacity: 1; transform: scale(1); }
.tcard .play::before { content: ""; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.tcard .body { padding: 4px 14px 14px; }
.tcard .tt { font-weight: 800; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard .ta { color: var(--muted); font-size: 13px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .tm { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chip { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.08); color: #cfc8f5; }
.chip.best { background: rgba(62,243,255,.14); color: var(--cyan); }
.gen-thumb { display: grid; place-items: center; font-family: var(--head); font-size: 40px; font-weight: 900; }
.empty { color: var(--muted); padding: 30px; text-align: center; grid-column: 1 / -1; border-radius: 18px; background: var(--card); }
.foot { color: #5d5690; font-size: 13px; text-align: center; margin-top: 40px; }

.drop-overlay {
  position: fixed; inset: 0; z-index: 50; display: none; place-items: center; font-family: var(--head);
  font-size: 32px; font-weight: 700; background: rgba(7,6,26,.85); border: 4px dashed var(--cyan);
  pointer-events: none;
}
body.dragging .drop-overlay { display: grid; }

/* ===== модалки ===== */
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(4,3,15,.72); backdrop-filter: blur(8px); padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0 } }
.modal-card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: linear-gradient(160deg, #1a1244, #0e0a2a); border-radius: 24px; padding: 26px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 30px 80px rgba(0,0,0,.6); animation: pop .25s cubic-bezier(.2,1.4,.4,1);
}
@keyframes pop { from { transform: scale(.94); opacity: 0 } }
.modal-card h3 { font-family: var(--head); margin: 0 0 18px; }
.close { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 30px; color: var(--muted); cursor: pointer; line-height: 1; }
.track-top { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-right: 20px; }
.cover { width: 96px; height: 96px; flex: none; border-radius: 16px; background-size: cover; background-position: center; background-color: #241a5a; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.t-artist { color: var(--muted); font-size: 14px; font-weight: 700; }
.t-title { font-family: var(--head); font-size: 20px; font-weight: 700; line-height: 1.2; margin: 3px 0 8px; }
.t-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.sec-label { font-weight: 800; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 8px; }
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.scene-btn { border: 0; cursor: pointer; border-radius: 14px; padding: 10px 8px; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--line) inset; text-align: center; transition: all .15s; }
.scene-btn:hover { background: rgba(255,255,255,.1); }
.scene-btn .scene-ic { height: 46px; display: grid; place-items: center; }
.scene-btn b { display: block; font-size: 14px; margin-top: 4px; }
.scene-btn small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; line-height: 1.3; }
.scene-btn.sel { box-shadow: 0 0 0 2px var(--cyan) inset, 0 0 24px -6px var(--cyan); background: rgba(62,243,255,.1); }
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.diff {
  border: 0; cursor: pointer; border-radius: 14px; padding: 12px 6px; background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 1px var(--line) inset; text-align: center; transition: all .15s;
}
.diff b { display: block; font-size: 14px; }
.diff small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.diff .best { color: var(--cyan); font-weight: 800; }
.diff.sel { box-shadow: 0 0 0 2px var(--dc) inset, 0 0 24px -4px var(--dc); background: color-mix(in srgb, var(--dc) 16%, transparent); }
.diff[data-d=easy] { --dc: #3ee07a; } .diff[data-d=normal] { --dc: #3ef3ff; }
.diff[data-d=hard] { --dc: #ffae2e; } .diff[data-d=expert] { --dc: #ff2e63; }
.board { margin-top: 18px; background: rgba(0,0,0,.2); border-radius: 16px; padding: 14px 16px; }
.board-head { font-weight: 800; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.board ol, .res-board { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.board li, .res-board li { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05); counter-increment: r; }
.board li::before, .res-board li::before { content: counter(r); width: 18px; color: var(--muted); font-weight: 800; }
.board li .n, .res-board li .n { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board li .s, .res-board li .s { font-weight: 800; font-variant-numeric: tabular-nums; }
.board li .r, .res-board li .r { width: 28px; text-align: right; color: var(--cyan); font-weight: 800; }
.board li.me, .res-board li.me { color: var(--cyan); }
.board .none { color: var(--muted); font-size: 14px; padding: 4px 0; border: 0; }
.none::before { display: none !important; }
.res-board .none { color: var(--muted); border: 0; justify-content: center; }
.track-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; }
.track-actions .primary { flex: 1; max-width: 240px; }

.set { display: block; margin-bottom: 18px; }
.set > span { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.set b { color: var(--cyan); }
.set small { display: block; color: var(--muted); margin-top: 6px; font-size: 12px; line-height: 1.4; }
.set input[type=range] { width: 100%; accent-color: var(--red); }
.set input[type=text] { width: 100%; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 10px 12px; font: 600 15px 'Manrope'; outline: 0; }
.set.check { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.set.check input { width: 18px; height: 18px; accent-color: var(--red); }

/* ===== игра ===== */
#game { background: #000; touch-action: none; user-select: none; -webkit-user-select: none; }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; cursor: none; touch-action: none; }
.hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--head); }
.hud-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.08); }
.hud-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--blue)); box-shadow: 0 0 10px var(--cyan); }
.hud-top { position: absolute; left: 20px; right: 20px; top: 16px; display: flex; justify-content: space-between; align-items: flex-start; padding-right: 54px; }
.hud-song { font-family: 'Manrope'; font-weight: 800; font-size: 14px; opacity: .75; max-width: 45vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-song small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.hud-score { text-align: right; }
.hud-score span { display: block; font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(62,243,255,.5); }
.hud-score small { font-size: 13px; color: var(--muted); font-family: 'Manrope'; font-weight: 800; }
.hud-left { position: absolute; left: 20px; bottom: 24px; display: flex; align-items: center; gap: 12px; }
.mult { position: relative; width: 58px; height: 58px; }
.mult svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mult circle { fill: none; stroke-width: 3.5; }
.mult .ring-bg { stroke: rgba(255,255,255,.12); }
.mult .ring { stroke: var(--cyan); stroke-dasharray: 106.8; stroke-dashoffset: 106.8; stroke-linecap: round; transition: stroke-dashoffset .15s; filter: drop-shadow(0 0 4px var(--cyan)); }
.mult span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: 16px; }
.mult.bump { animation: bump .25s; }
@keyframes bump { 40% { transform: scale(1.25) } }
.combo span { display: block; font-size: 34px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.combo small { font-family: 'Manrope'; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.combo.broken span { color: var(--red); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
.hud-energy-label { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-family: Manrope, sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hud-energy { position: absolute; left: 50%; bottom: 22px; width: min(320px, 44vw); height: 8px; transform: translateX(-50%); border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.hud-energy i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, #ff2e63, #ffd02e 35%, #3ee07a 70%, var(--cyan)); background-size: 320px 100%; transition: width .15s; }
.hud-energy.low i { animation: blink .4s infinite alternate; }
@keyframes blink { to { opacity: .35 } }
.pause-btn { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); display: flex; justify-content: center; align-items: center; gap: 5px; cursor: pointer; pointer-events: auto; }
.pause-btn span { width: 4px; height: 15px; background: #fff; border-radius: 2px; }
.countdown { position: absolute; inset: 0; display: grid; place-items: center; font-size: 120px; font-weight: 900; pointer-events: none; text-shadow: 0 0 40px var(--cyan); }
.countdown.go { animation: cd .9s ease-out; }
@keyframes cd { from { transform: scale(1.6); opacity: 0 } 30% { opacity: 1; transform: scale(1) } to { opacity: 0 } }
.loading { position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: 14px; font-family: 'Manrope'; font-weight: 700; color: var(--muted); background: var(--bg); }
.loading.on { display: grid; }

.overlay { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(4,3,15,.78); backdrop-filter: blur(6px); padding: 16px; overflow-y: auto; animation: fade .25s; }
.pause-card { display: flex; flex-direction: column; gap: 12px; width: 260px; text-align: center; }
.pause-card h3, .tut-card h3 { font-family: var(--head); font-size: 34px; margin: 0 0 10px; }
.tut-card { max-width: 720px; text-align: center; }
.tut-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.tut { background: rgba(255,255,255,.05); border-radius: 18px; padding: 20px 14px; box-shadow: 0 0 0 1px var(--line) inset; }
.tut p { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: #d9d3ff; }
.tut-icon { height: 92px; display: grid; place-items: center; }
.tut-block { width: 64px; height: 64px; margin: 0 auto; border-radius: 14px; display: grid; place-items: center; font-size: 34px; }
.tut-block.red { background: var(--red); box-shadow: 0 0 28px var(--red); animation: slashme 1.4s infinite; }
.tut-block.blue { background: var(--blue); box-shadow: 0 0 28px var(--blue); animation: slashme 1.4s infinite .3s; }
.tut-block.bomb { border-radius: 50%; background: radial-gradient(circle at 35% 35%, #555, #111 60%); box-shadow: 0 0 0 3px #333, 0 0 22px rgba(255,46,99,.4); }
@keyframes slashme { 60% { transform: scale(1) } 70% { transform: scale(1.12) rotate(-4deg) } 80% { transform: scale(1) } }
.tut-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 20px; }

.res-card { width: min(560px, 100%); text-align: center; padding: 10px 0; }
.res-status { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 13px; }
.res-status.fail { color: var(--red); }
.res-rank { font-family: var(--head); font-weight: 900; font-size: 120px; line-height: 1.05; margin: 4px 0; background: linear-gradient(135deg, #fff, var(--cyan) 50%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(62,243,255,.5)); animation: rankin .6s cubic-bezier(.2,1.6,.4,1); }
.res-rank.rS, .res-rank.rSS { background-image: linear-gradient(135deg, #fff6c2, #ffd02e 50%, #ff8a2e); filter: drop-shadow(0 0 30px rgba(255,208,46,.6)); }
.res-rank.rD, .res-rank.rF { background-image: linear-gradient(135deg, #ffb1c4, var(--red)); filter: drop-shadow(0 0 30px rgba(255,46,99,.5)); }
@keyframes rankin { from { transform: scale(2.2) rotate(-8deg); opacity: 0 } }
.res-ranktitle { font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; margin: -4px 0 8px; }
.res-flavor { color: #d9d3ff; font-weight: 700; font-size: 14px; margin-top: 6px; }
.res-title { font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.res-score { font-family: var(--head); font-weight: 900; font-size: 44px; font-variant-numeric: tabular-nums; }
.res-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.res-stats div { background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 4px; }
.res-stats b { display: block; font-family: var(--head); font-size: 20px; }
.res-stats small { color: var(--muted); font-size: 11px; font-weight: 700; }
.res-best { min-height: 20px; font-weight: 800; color: var(--cyan); margin-bottom: 10px; }
.res-save { display: flex; gap: 8px; max-width: 400px; margin: 0 auto 12px; }
.res-save input { flex: 1; min-width: 0; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 12px; color: var(--text); padding: 0 14px; font: 700 15px 'Manrope'; outline: 0; }
.res-board { max-width: 400px; margin: 0 auto; text-align: left; }
.res-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; z-index: 100; background: #1e1650; padding: 12px 20px; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 40px rgba(0,0,0,.5), 0 0 0 1px var(--line) inset; transition: all .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .menu-wrap { padding-top: 34px; }
  .input-row { flex-direction: column; }
  .input-row input { padding: 12px; }
  .tagline { font-size: 15px; }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .track-actions { flex-direction: column-reverse; align-items: stretch; }
  .track-actions .primary { max-width: none; }
  .modal-card { padding: 20px; }
  .t-title { font-size: 17px; }
  .cover { width: 76px; height: 76px; }
  .tut-grid { grid-template-columns: 1fr; }
  .tut { display: flex; gap: 14px; align-items: center; text-align: left; padding: 12px; }
  .tut-block { margin: 0; flex: none; width: 48px; height: 48px; font-size: 24px; }
  .tut-icon { flex: none; }
  .scene-btn small { display: none; }
  .hud-energy-label { bottom: 28px; }
  .tut p { margin: 0; }
  .res-rank { font-size: 90px; }
  .res-stats { grid-template-columns: repeat(2, 1fr); }
  .hud-score span { font-size: 22px; }
  .combo span { font-size: 26px; }
  .mult { width: 46px; height: 46px; }
  .hud-left { bottom: 40px; }
  .hud-energy { bottom: 16px; }
}
