/* ==========================================================================
   Rock Channel — design system
   ========================================================================== */

:root {
  --bg: #09090b;
  --bg-2: #0f0f12;
  --surface: #15151a;
  --surface-2: #1c1c23;
  --surface-3: #25252e;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f4f4f6;
  --text-2: #b4b4c0;
  --muted: #7d7d8c;
  --accent: #ff3d2e;
  --accent-2: #ff7a1a;
  --accent-3: #ffb020;
  --accent-soft: rgba(255,61,46,.14);
  --grad: linear-gradient(135deg, #ff2d55 0%, #ff3d2e 35%, #ff7a1a 75%, #ffb020 100%);
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fira Sans Condensed', 'Inter', sans-serif;
  --container: 1320px;
  --header-h: 68px;
  --player-h: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
  min-height: 100vh;
}
body.has-player { --player-h: 78px; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.2em; }
.icon.fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.container.mid { max-width: 1080px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: .85rem; }
.tiny { font-size: .75rem; }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2.5rem }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem } .mb-4 { margin-bottom: 2.5rem }
.flex { display: flex; gap: .75rem; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 1rem; }

/* ───────── Announcement & header ───────── */

.announcement { background: var(--grad); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 7px 16px; }
.announcement a { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,9,11,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font-family: var(--font-display); font-weight: 900; font-size: 1.32rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.logo-word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.main-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--text-2); transition: color .15s, background .15s; white-space: nowrap; }
.main-nav a:hover { color: #fff; background: var(--surface-2); }
.main-nav a.active { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,61,46,.35); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--text-2); background: transparent; border: 0; cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--surface-2); color: #fff; }
.icon-btn .icon { width: 20px; height: 20px; }
.badge-dot { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }

.lang-switch { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.lang-switch a.on { background: var(--surface-3); color: #fff; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: none; z-index: 60;
}
.dropdown.open .dropdown-menu { display: block; animation: pop .14s ease-out; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text-2); font: inherit; font-size: .92rem; background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-2); color: #fff; }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 0; }
.dropdown-head { padding: 8px 12px 10px; display: flex; gap: 10px; align-items: center; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.menu-toggle { display: none; }

.mobile-nav { position: fixed; inset: 0; z-index: 100; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.mobile-nav .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: var(--bg-2); border-right: 1px solid var(--line); padding: 20px; overflow-y: auto; animation: slideIn .2s ease-out; }
.mobile-nav .panel a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; font-weight: 600; color: var(--text-2); }
.mobile-nav .panel a.active, .mobile-nav .panel a:hover { background: var(--surface-2); color: #fff; }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }

.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5,5,7,.85); backdrop-filter: blur(10px); display: none; padding-top: 12vh; }
.search-overlay.open { display: block; }
.search-overlay form { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.search-overlay input { width: 100%; font-size: 1.5rem; padding: 18px 22px 18px 56px; border-radius: 18px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%237d7d8c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 20px center; border: 1px solid var(--line-2); color: #fff; outline: none; }
.search-overlay input:focus { border-color: var(--accent); }
.search-hints { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ───────── Buttons & forms ───────── */

.btn {
  --b: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--b); color: #fff; font: inherit; font-weight: 700; font-size: .93rem; line-height: 1.2;
  cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--surface-3); border-color: rgba(255,255,255,.22); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); border-color: transparent; box-shadow: 0 8px 24px -10px rgba(255,61,46,.7); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.08); box-shadow: 0 10px 30px -8px rgba(255,61,46,.8); border-color: transparent; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-outline { background: transparent; }
.btn-danger { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.35); color: #fca5a5; }
.btn-danger:hover { background: rgba(239,68,68,.22); border-color: rgba(239,68,68,.5); }
.btn-sm { padding: 7px 14px; font-size: .84rem; }
.btn-xs { padding: 4px 10px; font-size: .76rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-round { width: 44px; height: 44px; padding: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: .82rem; font-weight: 700; color: var(--text-2); letter-spacing: .01em; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field-error { color: #fca5a5; font-size: .8rem; margin: 0; }
.input, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=date], input[type=datetime-local], input[type=tel], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: .95rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
textarea.tall { min-height: 320px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23b4b4c0' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input[type=file] { color: var(--text-2); font-size: .88rem; }
input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: #fff; font-weight: 600; cursor: pointer; }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: .93rem; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.input-group { display: flex; }
.input-group > :first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group > :last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-prefix { display: flex; align-items: center; padding: 0 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-right: 0; color: var(--muted); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 20px; }
legend { padding: 0 8px; font-weight: 800; font-family: var(--font-display); font-size: 1.05rem; }

.dropzone { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); transition: border-color .15s, background .15s; cursor: pointer; position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs .thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .thumb form { position: absolute; top: 4px; right: 4px; }
.thumbs .thumb button { width: 26px; height: 26px; border-radius: 999px; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; }

/* ───────── Cards & surfaces ───────── */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 22px; }
.card-pad-lg { padding: 32px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-title h2, .panel-title h3 { margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.tile-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.tile-media.square { aspect-ratio: 1; }
.tile-media.wide { aspect-ratio: 16/9; }
.tile-media.tall { aspect-ratio: 3/4; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.35); }
.tile-media .ph .icon { width: 42px; height: 42px; stroke-width: 1.5; }
.tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile-title { font-weight: 700; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tile-price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-top: auto; padding-top: 6px; }
.tile-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tile-fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }

.pill, .tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  background: rgba(0,0,0,.55); color: #fff; border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.tag { background: var(--surface-2); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .8rem; color: var(--text-2); }
.tag:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.tag.on { background: var(--accent-soft); border-color: rgba(255,61,46,.45); color: #fff; }
.pill-accent { background: var(--accent); border-color: transparent; }
.pill-grad { background: var(--grad); border-color: transparent; }
.pill-ok { background: rgba(34,197,94,.18); color: #86efac; border-color: rgba(34,197,94,.35); }
.pill-warn { background: rgba(245,158,11,.16); color: #fcd34d; border-color: rgba(245,158,11,.35); }
.pill-danger { background: rgba(239,68,68,.16); color: #fca5a5; border-color: rgba(239,68,68,.35); }
.pill-info { background: rgba(59,130,246,.16); color: #93c5fd; border-color: rgba(59,130,246,.35); }
.pill-muted { background: var(--surface-2); color: var(--muted); }

.avatar { display: inline-grid; place-items: center; border-radius: 999px; overflow: hidden; flex-shrink: 0; font-weight: 800; color: #fff; background: var(--surface-3); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { width: 24px; height: 24px; font-size: .62rem; }
.avatar-sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar-md { width: 44px; height: 44px; font-size: .95rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.avatar-xl { width: 132px; height: 132px; font-size: 2.6rem; }

.stars { color: var(--surface-3); letter-spacing: 1px; white-space: nowrap; }
.stars .on { color: var(--accent-3); }
.stars .half { background: linear-gradient(90deg, var(--accent-3) 50%, var(--surface-3) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.score-ring { --v: 80; position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent-2) calc(var(--v) * 1%), var(--surface-3) 0); flex-shrink: 0; }
.score-ring::before { content: ''; position: absolute; inset: 7px; background: var(--surface); border-radius: 50%; }
.score-ring span { position: relative; font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; }
.score-ring.sm { width: 52px; height: 52px; }
.score-ring.sm::before { inset: 4px; }
.score-ring.sm span { font-size: 1.05rem; }
.score-bar { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* ───────── Alerts ───────── */

.flash-stack { position: fixed; top: calc(var(--header-h) + 14px); right: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 36px)); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: .92rem; box-shadow: var(--shadow-lg); }
.flash-stack .alert { animation: slideDown .25s ease-out; }
.alert-success { border-color: rgba(34,197,94,.4); background: linear-gradient(0deg, rgba(34,197,94,.1), rgba(34,197,94,.1)), var(--surface); }
.alert-error { border-color: rgba(239,68,68,.45); background: linear-gradient(0deg, rgba(239,68,68,.1), rgba(239,68,68,.1)), var(--surface); }
.alert-info { border-color: rgba(59,130,246,.4); background: linear-gradient(0deg, rgba(59,130,246,.1), rgba(59,130,246,.1)), var(--surface); }
.alert-warn { border-color: rgba(245,158,11,.4); background: linear-gradient(0deg, rgba(245,158,11,.1), rgba(245,158,11,.1)), var(--surface); }
.alert .close { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ───────── Page sections ───────── */

main { min-height: 60vh; }
.section { padding: 64px 0; }
.section-sm { padding: 36px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head .kicker { margin-bottom: 6px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--text-2); }
.link-more:hover { color: var(--accent-2); }

.page-hero { position: relative; padding: 56px 0 40px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 300px at 10% -10%, rgba(255,61,46,.22), transparent 60%), radial-gradient(700px 300px at 95% 0%, rgba(255,176,32,.10), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: .2em; }
.page-hero p.lead { font-size: 1.12rem; color: var(--text-2); max-width: 680px; margin: 0; }
.page-hero .actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--text); }

/* ───────── Home hero ───────── */

.hero { position: relative; overflow: hidden; padding: 90px 0 70px; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(255,61,46,.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255,122,26,.16), transparent 60%),
    radial-gradient(500px 300px at 50% 50%, rgba(255,45,85,.08), transparent 70%);
}
.hero-bg::after { content: ''; position: absolute; inset: 0; opacity: .5; 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: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .95; text-transform: uppercase; font-weight: 900; letter-spacing: -.015em; }
.hero .lead { font-size: 1.18rem; color: var(--text-2); max-width: 560px; margin: 20px 0 28px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; padding: 7px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); }
.hero-search input { border: 0; background: transparent; padding: 10px 16px; font-size: 1rem; box-shadow: none !important; }
.hero-stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.hero-stats span { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.hero-collage { position: relative; height: 460px; }
.hero-collage .c { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); background: var(--surface-2); }
.hero-collage .c img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .c1 { width: 62%; height: 64%; top: 0; right: 0; transform: rotate(3deg); }
.hero-collage .c2 { width: 52%; height: 52%; bottom: 0; left: 0; transform: rotate(-4deg); }
.hero-collage .c3 { width: 40%; height: 38%; bottom: 8%; right: 6%; transform: rotate(2deg); }
.hero-collage .c .lbl { position: absolute; left: 12px; bottom: 12px; right: 12px; }
.hero-collage .c .lbl b { display: block; font-weight: 800; }

.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module-card { position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s; min-height: 180px; display: flex; flex-direction: column; }
.module-card:hover { transform: translateY(-3px); border-color: rgba(255,61,46,.4); }
.module-card::after { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,61,46,.22), transparent 70%); transition: opacity .2s; opacity: .6; }
.module-card:hover::after { opacity: 1; }
.module-card .mi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 16px; }
.module-card .mi .icon { width: 24px; height: 24px; }
.module-card h3 { margin-bottom: 6px; }
.module-card p { color: var(--text-2); font-size: .9rem; margin: 0; }
.module-card .go { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .85rem; color: var(--accent-2); display: flex; align-items: center; gap: 6px; }

/* ───────── Toolbar / filters ───────── */

.layout-sidebar { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filter-box + .filter-box { margin-top: 14px; }
.filter-box h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; font-family: var(--font); font-weight: 800; }
.filter-list a { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 8px; color: var(--text-2); font-size: .92rem; }
.filter-list a:hover { background: var(--surface-2); color: #fff; }
.filter-list a.on { background: var(--accent-soft); color: #fff; font-weight: 700; }
.filter-list a small { color: var(--muted); }
.filter-box .field + .field { margin-top: 12px; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 700; cursor: pointer; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs a.on, .tabs button.on { color: #fff; border-bottom-color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty .icon { width: 44px; height: 44px; stroke-width: 1.5; margin: 0 auto 14px; display: block; color: var(--surface-3); }
.empty h3 { color: var(--text); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.pagination a:hover { border-color: var(--line-2); }
.pagination .current { background: var(--grad); border-color: transparent; }

/* ───────── Listing detail ───────── */

.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #000; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: 0 0 82px; height: 66px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); cursor: pointer; opacity: .6; transition: opacity .15s, border-color .15s; }
.gallery-thumbs button.on, .gallery-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price-big { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs div { background: var(--surface); padding: 12px 14px; }
.specs dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.seller-card { display: flex; gap: 14px; align-items: center; }
.prose { font-size: 1.04rem; line-height: 1.75; color: #e0e0e6; overflow-wrap: break-word; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.4em auto; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: var(--radius); border: 0; margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--text); font-size: 1.12rem; font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 12px; }
.prose figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: -1em; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: none; place-items: center; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }

/* ───────── Music ───────── */

.artist-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.artist-hero .banner { position: absolute; inset: 0; background-size: cover; background-position: center; }
.artist-hero .banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,11,.15) 0%, rgba(9,9,11,.7) 60%, var(--bg) 100%); }
.artist-hero .container { position: relative; padding-bottom: 32px; display: flex; gap: 26px; align-items: flex-end; }
.artist-hero .avatar-xl { border: 4px solid var(--bg); box-shadow: var(--shadow-lg); }
.artist-hero h1 { margin: 0 0 4px; text-transform: uppercase; }
.verified { color: #38bdf8; }

.release-layout { display: grid; grid-template-columns: 420px 1fr; gap: 44px; align-items: start; }
.cover { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; color: rgba(255,255,255,.85); }
.tracklist { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.tracklist li { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); transition: background .12s; }
.tracklist li:last-child { border-bottom: 0; }
.tracklist li:hover { background: var(--surface-2); }
.tracklist li.playing { background: var(--accent-soft); }
.tracklist .num { width: 26px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; }
.tracklist .play-btn { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.tracklist .play-btn:hover, .tracklist li.playing .play-btn { background: var(--grad); border-color: transparent; }
.tracklist .play-btn .icon { width: 14px; height: 14px; }
.tracklist .t { flex: 1; min-width: 0; font-weight: 600; }
.tracklist .d { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.buy-box { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 22px; }
.buy-box .price-big { font-size: 2.1rem; }
.nyp { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.nyp input { max-width: 140px; font-weight: 700; font-size: 1.1rem; }

.big-play { width: 64px; height: 64px; border-radius: 999px; background: var(--grad); border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(255,61,46,.8); transition: transform .15s; }
.big-play:hover { transform: scale(1.06); }
.big-play .icon { width: 26px; height: 26px; }
.tile .hover-play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 999px; background: var(--grad); border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; z-index: 3; box-shadow: var(--shadow); }
.tile:hover .hover-play, .tile .hover-play:focus { opacity: 1; transform: none; }

/* Player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 78px; background: rgba(15,15,18,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line-2); display: none; }
body.has-player .player { display: block; }
.player-inner { height: 100%; display: grid; grid-template-columns: minmax(200px, 1fr) 2fr minmax(160px, 1fr); gap: 20px; align-items: center; }
.player-track { display: flex; gap: 12px; align-items: center; min-width: 0; }
.player-track img, .player-track .pc { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface-3); }
.player-track .meta { min-width: 0; }
.player-track .meta b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.player-track .meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8rem; color: var(--muted); }
.player-center { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.player-controls { display: flex; gap: 10px; align-items: center; }
.player-controls .pp { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: #000; border: 0; display: grid; place-items: center; cursor: pointer; }
.player-controls .pp .icon { width: 18px; height: 18px; }
.player-progress { display: flex; align-items: center; gap: 10px; width: 100%; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player-progress .bar { flex: 1; height: 5px; background: var(--surface-3); border-radius: 99px; cursor: pointer; position: relative; }
.player-progress .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); border-radius: 99px; }
.player-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.player-right input[type=range] { width: 100px; accent-color: var(--accent); }

/* ───────── Heroes ───────── */

.hero-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--surface-2); border: 1px solid var(--line); display: block; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: grayscale(.25) contrast(1.05); }
.hero-card:hover img { transform: scale(1.05); filter: none; }
.hero-card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.hero-card h3 { font-size: 1.6rem; text-transform: uppercase; margin: 0; }
.hero-card .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 4rem; font-weight: 900; color: rgba(255,255,255,.2); }
.q-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.q-card .q-head { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.q-num { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; flex-shrink: 0; }
.q-card h3 { margin: 0; font-size: 1.1rem; }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .lite { position: absolute; inset: 0; background-size: cover; background-position: center; cursor: pointer; display: grid; place-items: center; border: 0; width: 100%; }
.video-frame .lite::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .2s; }
.video-frame .lite:hover::before { background: rgba(0,0,0,.05); }
.video-frame .lite span { position: relative; width: 68px; height: 68px; border-radius: 999px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.video-frame .lite .icon { width: 28px; height: 28px; color: #fff; }
.video-frame .soon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, var(--surface) 12px, var(--surface) 24px); font-weight: 700; }
.q-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.q-nav a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; }
.q-nav a.on, .q-nav a:hover { background: var(--grad); border-color: transparent; }

/* ───────── News ───────── */

.news-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.news-big { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; background: var(--surface-2); border: 1px solid var(--line); }
.news-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-big:hover img { transform: scale(1.03); }
.news-big .ov { position: relative; padding: 30px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.92) 45%); width: 100%; padding-top: 120px; }
.news-big h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-row { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s; }
.news-row:hover { border-color: var(--line-2); }
.news-row .nr-img { width: 118px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.news-row .nr-img img { width: 100%; height: 100%; object-fit: cover; }
.news-row h3 { font-size: 1rem; margin: 4px 0 0; line-height: 1.3; font-family: var(--font); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 32px; border: 1px solid var(--line); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.share { display: flex; gap: 8px; }

/* ───────── Reviews ───────── */

.review-hero { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.verdict-box { background: linear-gradient(160deg, rgba(255,61,46,.14), transparent 60%), var(--surface); border: 1px solid rgba(255,61,46,.3); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.score-rows { display: grid; gap: 12px; margin: 18px 0; }
.score-rows .row { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; font-size: .88rem; }
.score-rows .row b { text-align: right; font-variant-numeric: tabular-nums; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pros-cons li { display: flex; gap: 10px; align-items: flex-start; }
.pros-cons .pros li::before { content: '+'; color: var(--ok); font-weight: 900; }
.pros-cons .cons li::before { content: '−'; color: var(--danger); font-weight: 900; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px; background: radial-gradient(600px 240px at 100% 0%, rgba(255,176,32,.25), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(255,45,85,.3), transparent 60%), var(--surface); border: 1px solid var(--line-2); display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--text-2); max-width: 620px; }

/* ───────── Messages ───────── */

.chat-layout { display: grid; grid-template-columns: 340px 1fr; height: calc(100vh - var(--header-h) - 120px - var(--player-h)); min-height: 480px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list a { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.chat-list a:hover { background: var(--surface-2); }
.chat-list a.on { background: var(--accent-soft); }
.chat-list .unread b { color: #fff; }
.chat-list .unread::after { content: ''; width: 9px; height: 9px; border-radius: 9px; background: var(--accent); flex-shrink: 0; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 72%; padding: 10px 14px; border-radius: 16px; background: var(--surface-2); align-self: flex-start; white-space: pre-wrap; word-wrap: break-word; }
.msg.mine { align-self: flex-end; background: linear-gradient(135deg, #e5352a, #e0601a); }
.msg time { display: block; font-size: .7rem; opacity: .6; margin-top: 4px; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-form textarea { min-height: 46px; height: 46px; resize: none; }

/* ───────── Tables & dashboards ───────── */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255,255,255,.015); }
.table .thumb-sm { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.table form { margin: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: relative; overflow: hidden; }
.stat .k { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.stat .v { font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1.1; margin-top: 4px; }
.stat .icon { position: absolute; right: 16px; top: 16px; color: var(--accent-2); opacity: .7; width: 22px; height: 22px; }

.dash { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; padding: 32px 0 60px; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.dash-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 9px; color: var(--text-2); font-weight: 600; font-size: .92rem; }
.dash-nav a:hover { background: var(--surface-2); color: #fff; }
.dash-nav a.on { background: var(--accent-soft); color: #fff; }
.dash-nav .grp { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; padding: 14px 12px 6px; }
.dash-nav .cnt { margin-left: auto; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
.dash-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dash-title h1 { font-size: 2rem; margin: 0; }

.lang-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.lang-tabs button { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; text-transform: uppercase; }
.lang-tabs button.on { background: var(--accent); border-color: transparent; color: #fff; }
.lang-pane { display: none; }
.lang-pane.on { display: block; }

/* Rich text editor */
.rte { border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); overflow: hidden; }
.rte-bar { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; background: var(--surface); }
.rte-bar button { min-width: 32px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font-weight: 700; cursor: pointer; font-size: .85rem; padding: 0 8px; }
.rte-bar button:hover { background: var(--surface-3); color: #fff; }
.rte-area { min-height: 280px; padding: 14px 16px; outline: none; }
.rte-area:empty::before { content: attr(data-placeholder); color: var(--muted); }
.rte textarea { display: none; border: 0; border-radius: 0; min-height: 280px; font-family: ui-monospace, monospace; font-size: .85rem; }
.rte.source .rte-area { display: none; }
.rte.source textarea { display: block; }

/* ───────── Footer ───────── */

.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr; gap: 36px; padding: 56px 0 40px; }
.footer-top h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: var(--font); font-weight: 800; margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-top a { color: var(--text-2); font-size: .92rem; }
.footer-top a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.socials a:hover { background: var(--accent); color: #fff; }
.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
.newsletter-form input { border-radius: 999px; }

/* ───────── Auth ───────── */

.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: radial-gradient(800px 500px at 20% 20%, rgba(255,61,46,.35), transparent 60%), radial-gradient(600px 400px at 90% 90%, rgba(255,176,32,.2), transparent 60%), var(--bg-2); display: flex; align-items: flex-end; padding: 60px; border-right: 1px solid var(--line); }
.auth-side h2 { font-size: clamp(2rem, 4vw, 3.4rem); text-transform: uppercase; font-weight: 900; line-height: .95; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--text-2); }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side li .icon { color: var(--accent-2); }
.auth-form { display: grid; place-items: center; padding: 40px 24px; }
.auth-form .box { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 2.2rem; }

/* ───────── Misc ───────── */

.divider-text { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .8rem; margin: 20px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.kbd { font-family: ui-monospace, monospace; font-size: .8rem; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); }
.code-box { font-family: ui-monospace, monospace; padding: 10px 14px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--accent-2); font-size: 1rem; letter-spacing: .05em; user-select: all; }
.notice { padding: 14px 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); font-size: .92rem; }
.event-date { width: 64px; text-align: center; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); flex-shrink: 0; }
.event-date .m { background: var(--grad); font-size: .7rem; font-weight: 800; text-transform: uppercase; padding: 3px 0; letter-spacing: .1em; }
.event-date .d { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; line-height: 1.3; }
.event-row { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.event-row:hover { border-color: var(--line-2); }
.platform-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.notif { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.notif.unread { background: rgba(255,61,46,.05); }
.notif:last-child { border-bottom: 0; }
.comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment .body { white-space: pre-wrap; word-wrap: break-word; color: #dcdce2; margin-top: 2px; }
.tool-card { position: relative; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); min-height: 170px; }
.tool-card .mi { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 16px; }
.tool-card .mi .icon { width: 26px; height: 26px; }
.loading-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); z-index: 300; width: 0; opacity: 0; transition: width .3s, opacity .3s; }
.loading-bar.on { opacity: 1; width: 70%; transition: width 8s cubic-bezier(.1,.6,.2,1); }
.loading-bar.done { width: 100%; opacity: 0; transition: width .2s, opacity .4s .2s; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; padding: 14px 0; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; color: var(--muted); }
.marquee-track span::after { content: '✦'; margin-left: 48px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Responsive ───────── */

@media (max-width: 1200px) {
  .main-nav a { padding: 8px 9px; font-size: .88rem; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: span 3; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .detail-grid, .release-layout, .review-hero { grid-template-columns: 1fr; }
  .release-layout .cover { max-width: 460px; }
  .verdict-box { position: static; }
  .news-feature { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .dash { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .dash-nav .grp { display: none; }
  .dash-nav a { white-space: nowrap; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 56px 0 44px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-auto { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-auto-sm { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .modules { grid-template-columns: 1fr; }
  .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .chat-layout { grid-template-columns: 1fr; height: auto; }
  .chat-layout.has-active .chat-list { display: none; }
  .chat-layout:not(.has-active) .chat-main { display: none; }
  .chat-body { min-height: 50vh; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: span 2; }
  .player-inner { grid-template-columns: 1fr auto; }
  .player-center .player-progress, .player-right { display: none; }
  .player-center { order: 2; }
  .lang-switch { display: none; }
  .header-actions .hide-sm { display: none; }
  .logo-word { font-size: 1.1rem; }
  .tile-body { padding: 10px 12px 12px; }
  .tile-title { font-size: .92rem; }
  .specs { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .artist-hero .container { flex-direction: column; align-items: flex-start; }
  .artist-hero .avatar-xl { width: 100px; height: 100px; }
  .panel { padding: 20px; }
  .cta-band { padding: 28px; }
  .news-big { min-height: 360px; }
  .score-rows .row { grid-template-columns: 80px 1fr 30px; }
  .table-wrap.stack-sm table, .table-wrap.stack-sm tbody, .table-wrap.stack-sm tr, .table-wrap.stack-sm td { display: block; width: 100%; }
  .table-wrap.stack-sm thead { display: none; }
  .table-wrap.stack-sm tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table-wrap.stack-sm td { border: 0; padding: 5px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .logo-word { display: none; }
  .header-actions { gap: 2px; }
  .header-actions .btn-sm { padding: 7px 12px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 1.6rem; }
}
/* Long (e.g. Greek) nav labels: collapse to the drawer earlier */
@media (max-width: 1360px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: 1fr !important; }
}
html, body { overflow-x: clip; }
