:root{--logo:url(logo.png)}
/* talk with a star — twaslabel.ru
   Layout: liquid glass, as on the label's events site and video studio — coloured light drifts behind everything, every panel is a sheet of dark glass over it.
   Unbounded for the name and headings, Golos Text for reading, JetBrains Mono for labels. Dark first; daylight is one switch away (data-theme on <html>). */
:root {
  --bg: #07050b; --bg-2: #0d0a13; --panel: #15111d; --panel-2: #1e1828; --panel-3: #2b2338;
  --ink: #f6f2fa; --muted: #b3a8c0; --faint: #7e7390;
  --violet: #e5326f; --violet-2: #c9245c; --violet-ink: #ffffff; --lilac: #ff8db4; --lilac-ink: #2a0d18; --glow: #ff3d86;
  --accent: var(--lilac); --accent-ink: var(--lilac-ink); --accent-soft: rgba(255, 107, 154, 0.18);
  --amber: #ffbe5c; --amber-ink: #2b1a03; --amber-soft: rgba(255, 190, 92, 0.16);
  --ok: #4fe0a0; --ok-soft: rgba(79, 224, 160, 0.16); --bad: #ff7272; --bad-soft: rgba(255, 114, 114, 0.15);
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.075); --glass-2: rgba(255, 255, 255, 0.12); --glass-3: rgba(255, 255, 255, 0.18);
  --glass-line: rgba(255, 255, 255, 0.14); --glass-hi: rgba(255, 255, 255, 0.3); --glass-lo: rgba(255, 255, 255, 0.04);
  --glass-field: rgba(0, 0, 0, 0.22); --glass-shadow: rgba(0, 0, 0, 0.42); --veil: rgba(7, 5, 11, 0.55);
  --blob-a: #ff3d86; --blob-b: #7b4dff; --blob-c: #ff9d2e; --blob-d: #22b8ff; --amb-op: 0.5;
  --f-display: "Unbounded", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 24px; --r-s: 16px; --r-l: 34px; --gut: clamp(16px, 4vw, 40px); --rail: 240px;
  --blur: blur(26px) saturate(185%);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #eceef6; --bg-2: #e3e4ef; --panel: #ffffff; --panel-2: #f3f1f8; --panel-3: #e4e0ee;
  --ink: #15121c; --muted: #4a4256; --faint: #7a7188;
  --violet: #d1205f; --violet-2: #b3184f; --lilac: #d1205f; --lilac-ink: #ffffff; --glow: #ff8fbb;
  --accent: #d1205f; --accent-ink: #ffffff; --accent-soft: rgba(209, 32, 95, 0.12);
  --amber: #a85d00; --amber-ink: #ffffff; --amber-soft: rgba(196, 116, 0, 0.13);
  --ok: #0f8a52; --ok-soft: rgba(15, 138, 82, 0.12); --bad: #c62828; --bad-soft: rgba(198, 40, 40, 0.1);
  --line: rgba(40, 20, 60, 0.1); --line-2: rgba(40, 20, 60, 0.18);
  --glass: rgba(255, 255, 255, 0.5); --glass-2: rgba(255, 255, 255, 0.66); --glass-3: rgba(255, 255, 255, 0.8);
  --glass-line: rgba(255, 255, 255, 0.75); --glass-hi: rgba(255, 255, 255, 0.95); --glass-lo: rgba(30, 10, 50, 0.05);
  --glass-field: rgba(255, 255, 255, 0.6); --glass-shadow: rgba(60, 30, 90, 0.14); --veil: rgba(236, 238, 246, 0.5);
  --blob-a: #ff8fbb; --blob-b: #a990ff; --blob-c: #ffc98a; --blob-d: #8fd8ff; --amb-op: 0.75;
  --shadow: 0 18px 44px -22px rgba(60, 30, 90, 0.3);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-body); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; border-radius: 10px; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.14; text-wrap: balance; margin: 0; overflow-wrap: anywhere; }
h3, h4 { font-family: var(--f-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line-2); margin: 10px 0; width: 100%; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.eyebrow { font: 600 12px/1.3 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 90; background: var(--panel); padding: 8px 12px; border-radius: 12px; }
.nm { white-space: nowrap; overflow: hidden; text-overflow: clip; display: block; min-width: 0; max-width: 100%; }
.ic { display: inline-flex; flex: none; line-height: 0; }
.ic svg { display: block; }
.boot, .loading { padding: 90px 0; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--lilac); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* the label's mark: a star built from the letters T, W, A, S; coloured by the text around it */
.logo { display: inline-block; width: 30px; height: 34px; flex: none; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ---------- soft light behind pages that ask for it (events) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.ambient .blob { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(110px); opacity: var(--amb-op); animation: drift 38s ease-in-out infinite alternate; }
.ambient .b1 { background: var(--blob-a); left: -22vmax; top: -30vmax; }
.ambient .b2 { background: var(--blob-b); right: -26vmax; top: 10vmax; animation-duration: 46s; animation-delay: -12s; opacity: calc(var(--amb-op) * 0.7); }
.ambient .b4 { background: var(--blob-d); right: 6vw; bottom: -38vmax; width: 44vmax; height: 44vmax; opacity: calc(var(--amb-op) * 0.35); animation-duration: 60s; animation-delay: -30s; }
.ambient .b3 { background: var(--blob-c); left: 18vw; bottom: -42vmax; opacity: calc(var(--amb-op) * 0.45); animation-duration: 52s; animation-delay: -20s; }
.ambient .covers { position: absolute; inset: -12%; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); filter: blur(80px) saturate(150%); opacity: 0.34; transform: scale(1.05); animation: breathe 30s ease-in-out infinite alternate; }
.ambient .covers img { width: 100%; height: 100%; object-fit: cover; }
.ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, transparent 30%, var(--veil) 100%), linear-gradient(to bottom, transparent 45%, var(--bg)); }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.12); } }
@keyframes breathe { to { transform: scale(1.14) translate(-2%, 1%); } }

/* ---------- panels: the one surface ---------- */
.glass, .card, .ticket, .soon, .kpis > div, .kpi, .role, .banner, .sheet, .rowi, .modgrid figure, .evnav a, .toast, .drop, .empty, .marquee, .lineup span {
  background: var(--panel); border: 1px solid var(--line);
}
.glass, .ticket, .soon, .marquee, .evnav a, .ev-hero .info { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.rim { position: relative; isolation: isolate; }

/* ---------- top bar of public pages ---------- */
.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 30; padding-inline: var(--gut); margin-top: 12px; }
.top-bar { max-width: 1240px; margin: 0 auto; border-radius: 999px; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 10px 8px 22px;
  background: color-mix(in srgb, var(--panel) 62%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-lo), var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; color: var(--ink); }
.brand .logo { width: 26px; height: 30px; color: var(--lilac); }
.brand b { font: 700 12.5px/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; }
.brand i { font: 600 12px/1 var(--f-mono); font-style: normal; color: var(--lilac); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { text-decoration: none; padding: 10px 16px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.nav a:hover { color: var(--ink); background: var(--panel-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--panel-3); }
.top-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.iconbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; text-decoration: none; flex: none; transition: background 0.2s, transform 0.12s; }
.iconbtn:hover { background: var(--panel-3); }
.iconbtn:active { transform: scale(0.95); }
.iconbtn .badge, .tab-i .badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--violet); color: #fff; font: 700 11px/18px var(--f-body); text-align: center; }
.iconbtn.me { padding: 0; overflow: hidden; }
.iconbtn.me .ava { width: 100%; height: 100%; font-size: 16px; }
.burger { display: none; }
.ava { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(160deg, var(--lilac), var(--violet)); color: #fff; display: inline-grid; place-items: center; font: 700 13px/1 var(--f-body); overflow: hidden; flex: none; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava.big { width: 84px; height: 84px; font-size: 34px; }
@media (max-width: 1080px) {
  .burger { display: inline-grid; }
  .top-bar { flex-wrap: wrap; border-radius: 32px; padding-left: 16px; }
  .top-bar .nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 6px 0 4px; border-top: 1px solid var(--line); }
  .top-bar.open .nav { display: flex; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .tools-btn span:last-child { display: none; }
  .tools-btn { width: 44px; padding: 0 !important; }
  .top-bar .themebtn { display: none; }
  .top-bar.open .themebtn { display: inline-grid; }
  .brand b { font-size: 11.5px; }
  .brand { gap: 8px; }
}
.nav .only-m, .login-ic { display: none; }
@media (max-width: 1080px) { .nav .only-m { display: block; } }
@media (max-width: 440px) {
  .brand b { font-size: 10.5px; }
  .brand i { display: none; }
  .top-bar .loginbtn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .loginbtn .login-ic { display: inline-flex; }
  .loginbtn .login-t { display: none; }
}

/* ---------- buttons, per the kit: pills in white, violet, lilac and dark ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 20px; border-radius: 999px; color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 600; font-size: 15px; white-space: nowrap;
  background: var(--panel-3); border: 1.5px solid transparent; transition: transform 0.12s, background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.btn:hover { background: color-mix(in srgb, var(--panel-3) 80%, var(--ink)); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--violet); color: var(--violet-ink); box-shadow: 0 10px 26px -12px var(--violet); }
.btn.primary:hover { background: var(--violet-2); }
.btn.lilac, .btn.amber { background: var(--lilac); color: var(--lilac-ink); }
.btn.lilac:hover, .btn.amber:hover { background: color-mix(in srgb, var(--lilac) 85%, #fff); }
.btn.light { background: #fff; color: #17142b; }
.btn.light:hover { background: #ece6ff; }
.btn.grad { background: linear-gradient(90deg, var(--lilac), var(--violet)); color: #fff; }
.btn.dark { background: var(--bg-2); border-color: var(--line-2); }
.btn.dark:hover, .btn.dark[aria-current="page"] { background: var(--panel-3); }
.btn.ghost { background: transparent; border-color: var(--line-2); }
.btn.ghost:hover { background: var(--panel-2); border-color: var(--ink); }
.btn.small { min-height: 36px; padding: 6px 15px; font-size: 14px; }
.btn.big { min-height: 54px; padding: 12px 28px; font-size: 17px; }
.btn.danger { color: var(--bad); }
.btn.ok { background: var(--ok-soft); color: var(--ok); }
.btn[disabled] { opacity: 0.5; cursor: default; transform: none; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin 0.7s linear infinite; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btnrow.end { justify-content: flex-end; }
.btnrow.between { justify-content: space-between; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--lilac); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* ---------- fields: pills with a quiet outline, a lilac ring on focus ---------- */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > span { font-size: 13.5px; color: var(--muted); padding-left: 14px; }
.field input, .field select, .field textarea, .inp { width: 100%; min-width: 0; border: 1.5px solid var(--line-2); background: var(--glass-field); border-radius: 999px; padding: 10px 18px; min-height: 46px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { min-height: 104px; resize: vertical; border-radius: 22px; padding: 14px 18px; line-height: 1.45; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a7a3bd' d='M6.4 8.600 12 14.200l5.600-5.600L19 10l-7 7-7-7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus, .inp:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder, .inp::placeholder { color: var(--faint); }
.field input[type="file"] { border-radius: 22px; padding: 10px 14px; }
.field input[type="color"] { padding: 4px; width: 64px; }
.field input:disabled { opacity: 0.6; }
.field small { color: var(--faint); font-size: 13px; padding-left: 14px; }
.field.bad input, .field.bad textarea { border-color: var(--bad); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--violet); margin: 2px 0 0; flex: none; }
.searchbox { position: relative; display: block; min-width: 0; }
.searchbox .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.searchbox input { padding-left: 42px; }
.form { display: grid; gap: 16px; }

/* ---------- pills, chips, notes ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font: 600 12px/1.6 var(--f-body); border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.pill.wait { color: var(--amber); background: var(--amber-soft); border-color: transparent; }
.pill.bad { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.pill.acc { color: var(--lilac); background: var(--accent-soft); border-color: transparent; }
.pill.hid { color: var(--ink); background: var(--panel-3); }
.chip { display: inline-flex; align-items: center; padding: 2px 11px; border-radius: 999px; font: 700 11.5px/1.7 var(--f-body); color: #fff; background: #07050b; white-space: nowrap; }
.chip.single { background: #6a2be0; }
.chip.album { background: #c2551a; }
.chip.ep { background: #2f8f3f; }
.chip.genre { background: #07050b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
:root[data-theme="light"] .chip.genre { background: #e5def7; color: #17142b; box-shadow: none; }
.note { font-size: 14px; color: var(--muted); }
.card { border-radius: var(--r); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; min-width: 0; align-content: start; }
.card > h3 { font-size: 19px; }
.card.flat { background: var(--panel-2); border-color: transparent; }
.empty { border-radius: var(--r); padding: 28px 22px; color: var(--muted); text-align: center; border-style: dashed; border-color: var(--line-2); background: transparent; display: grid; gap: 12px; justify-items: center; }
.banner { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 22px; border-radius: var(--r-s); background: var(--amber-soft); border-color: transparent; }
.banner.acc { background: var(--accent-soft); }
.banner.bad { background: var(--bad-soft); }
.banner.ok { background: var(--ok-soft); }
.banner p { max-width: 72ch; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.kpis > div, .kpi { border-radius: var(--r-s); padding: 16px 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.kpis b, .kpi b { font: 800 clamp(22px, 2.6vw, 30px)/1.05 var(--f-body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis span, .kpi span { color: var(--muted); font-size: 13.5px; }
.kpi.accent { background: linear-gradient(140deg, var(--violet), #7b4dff); border-color: transparent; color: #fff; }
.kpi.accent span { color: rgba(255, 255, 255, 0.82); }
.tabs { display: inline-flex; gap: 2px; flex-wrap: wrap; padding: 4px; border-radius: 999px; justify-self: start; max-width: 100%; background: var(--bg-2); border: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 9px 17px; cursor: pointer; color: var(--muted); border-radius: 999px; font-size: 15px; font-weight: 500; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: #fff; background: var(--violet); }
.tabs button .n { font: 700 11px/1 var(--f-body); background: #fff; color: var(--violet); border-radius: 999px; padding: 3px 7px; margin-left: 7px; vertical-align: 1px; }
.tabs button:not([aria-selected="true"]) .n { background: var(--violet); color: #fff; }
/* the big tabs of the releases screen: plain words, the current one bright and underlined */
.bigtabs { display: flex; gap: clamp(14px, 2.4vw, 30px); border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.bigtabs::-webkit-scrollbar { display: none; }
.bigtabs a { text-decoration: none; padding: 4px 0 14px; font: 700 clamp(17px, 2vw, 22px)/1.2 var(--f-body); letter-spacing: -0.02em; color: var(--faint); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.bigtabs a:hover { color: var(--muted); }
.bigtabs a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.bigtabs a .n { font: 700 12px/1 var(--f-body); background: var(--violet); color: #fff; border-radius: 999px; padding: 3px 7px; margin-left: 7px; vertical-align: 3px; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font: 600 11.5px/1.3 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.table .plus { color: var(--ok); } .table .minus { color: var(--ink); }
.scroll { overflow-x: auto; border-radius: var(--r-s); }
.rowlist { display: grid; gap: 8px; }
.rowi { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-s); }
.rowi.off { opacity: 0.6; }
.rowi .t { min-width: 0; }
.rowi .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowi .t small { color: var(--muted); }
.rowi .cv, .rowi .art { width: 54px; border-radius: 12px; }
@media (max-width: 640px) { .rowi { grid-template-columns: auto minmax(0, 1fr); } .rowi > .btnrow { grid-column: 1 / -1; } }
.art { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--panel-3); flex: none; position: relative; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art.none { display: grid; place-items: center; background: radial-gradient(120% 100% at 20% 10%, hsl(var(--h, 270) 85% 62%), hsl(calc(var(--h, 270) - 20) 60% 22%)); container-type: inline-size; }
.art.none span { font: 800 46cqw/1 var(--f-display); color: rgba(255, 255, 255, 0.92); }
.drop { border-radius: var(--r-s); padding: 22px; display: grid; gap: 8px; justify-items: center; text-align: center; border: 1.5px dashed var(--line-2); background: var(--glass-field); cursor: pointer; color: var(--muted); transition: border-color 0.15s, background 0.15s; }
.drop:hover, .drop.over { border-color: var(--lilac); background: var(--accent-soft); color: var(--ink); }
.drop .dz-t { font-weight: 600; color: var(--ink); }
.drop small { font-size: 13px; }
progress { width: 100%; height: 8px; border-radius: 999px; overflow: hidden; border: 0; background: var(--panel-3); accent-color: var(--violet); }
progress::-webkit-progress-bar { background: var(--panel-3); }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--lilac), var(--violet)); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--violet); }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 13px; }
.or::before, .or::after { content: ""; height: 1px; flex: 1; background: var(--line-2); }
.inline { display: flex; gap: 8px; align-items: stretch; }
.inline > input, .inline > .field { flex: 1; min-width: 0; }
.qr { border-radius: 14px; display: block; max-width: 100%; height: auto; }
/* small charts */
.cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(4px, 1vw, 12px); align-items: end; height: 190px; padding-top: 22px; }
.col { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; justify-items: center; gap: 6px; min-width: 0; }
.col i { width: min(100%, 44px); align-self: end; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--lilac), var(--violet)); min-height: 2px; }
.col .v { font: 600 11.5px/1 var(--f-body); color: var(--muted); white-space: nowrap; }
.col .k { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.hbars { display: grid; gap: 9px; }
.hbar { display: grid; grid-template-columns: minmax(84px, 30%) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.hbar .k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .track { height: 10px; border-radius: 999px; background: var(--panel-3); overflow: hidden; }
.hbar .track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lilac), var(--violet)); }
.hbar .v { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }

/* ---------- sheets ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, #0b0a12 62%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: start center; overflow-y: auto; padding: clamp(12px, 5vh, 60px) 12px 40px; }
.sheet { width: 100%; max-width: 720px; border-radius: 32px; padding: clamp(18px, 3.5vw, 30px); display: grid; gap: 18px; background: var(--panel); border-color: var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.sheet.narrow { max-width: 460px; }
.sheet.wide { max-width: 980px; }
.sheet > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet > header h2 { font-size: clamp(20px, 3vw, 26px); min-width: 0; padding-top: 6px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--panel-3); cursor: pointer; display: grid; place-items: center; flex: none; }
.x:hover { background: color-mix(in srgb, var(--panel-3) 80%, var(--ink)); }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); transform: translateX(-50%); z-index: 95; padding: 13px 22px; border-radius: 22px; max-width: min(92vw, 560px); text-align: center; font-size: 15px; background: #fff; color: #17142b; border: 0; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.6); animation: rise 0.25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px); } }
body[data-frame="cab"] .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); }
@media (min-width: 901px) { body[data-frame="cab"] .toast { bottom: 26px; } }

/* ---------- footer, preview strip ---------- */
.foot { padding-block: 34px 46px; color: var(--muted); font-size: 14.5px; }
.foot .wrap { display: grid; gap: 14px; justify-items: center; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.foot-brand .logo { width: 22px; height: 25px; color: var(--lilac); }
.foot-brand b { font: 700 14px/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; }
.foot-brand span { color: var(--muted); }
.foot nav { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: center; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.demo-strip { font-size: 13px; background: var(--violet); color: #fff; display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; padding: 7px var(--gut); text-align: center; }
.demo-strip a, .demo-strip button { color: #fff; font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-size: inherit; }
.page { padding-block: clamp(24px, 5vw, 44px) 80px; display: grid; gap: 22px; align-content: start; }
.page > h1 { font-size: clamp(28px, 4.5vw, 46px); }
.page.narrow { max-width: 640px; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 64ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .marquee { overflow-x: auto; }
  .marquee .grp[aria-hidden] { display: none; }
}

/* ---------- home: header ---------- */
.hero { padding-block: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 34px); display: grid; gap: 18px; }
.hero h1 { font-size: clamp(30px, 6vw, 66px); max-width: 15ch; text-shadow: 0 2px 30px color-mix(in srgb, var(--bg) 50%, transparent); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 60ch; }
.stats { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.stats div { display: grid; gap: 2px; padding: 12px 18px; border-radius: 20px; min-width: 112px; background: linear-gradient(160deg, var(--glass-2), var(--glass) 60%); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-hi), 0 12px 30px -14px var(--glass-shadow); }
.stats b { font: 700 clamp(22px, 3vw, 30px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); }

/* ---------- artists we have brought: the running line ---------- */
.marquee { position: relative; overflow: hidden; width: min(1180px, 100% - 2 * var(--gut)); margin: 16px auto 0; border-radius: 999px; padding-block: clamp(10px, 1.8vw, 16px); }
.marquee .track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.marquee .grp { display: flex; align-items: center; flex: none; }
.marquee a { font: 800 clamp(22px, 3.4vw, 42px)/1.15 var(--f-display); letter-spacing: -0.015em; text-decoration: none; color: var(--ink); padding-inline: 0.42em; white-space: nowrap; transition: color 0.15s; }
.marquee a:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.4px var(--ink); }
.marquee a:hover, .marquee a:focus-visible { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee i { width: 0.9em; height: 1em; flex: none; font-size: clamp(15px, 2vw, 24px); background: var(--accent); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--glass-3), transparent); border-radius: 999px 0 0 999px; }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--glass-3), transparent); border-radius: 0 999px 999px 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- shows ahead ---------- */
.ahead { display: grid; gap: 14px; padding-block: 8px 34px; }
.ahead-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ahead-head h2 { font-size: clamp(20px, 3vw, 26px); }
.ahead-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; }
.soon { position: relative; overflow: hidden; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 16px 10px 10px; border-radius: var(--r); text-decoration: none; color: inherit; transition: transform 0.2s; }
.soon:hover { transform: translateY(-3px); }
.soon .cv { border-radius: 16px; }
.soon .when { display: flex; flex-wrap: wrap; gap: 2px 10px; font: 600 13px/1.3 var(--f-body); color: var(--amber); letter-spacing: 0.02em; }
.soon .when span { white-space: nowrap; }
.soon h3 { font-size: 22px; margin-top: 4px; }
.soon .where { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* the show's own poster as a soft light inside its card */
.tbg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.tbg img, .tbg .grad { position: absolute; inset: -30%; width: 160%; height: 160%; object-fit: cover; filter: blur(34px) saturate(170%); opacity: 0.5; }
.tbg .grad { background: radial-gradient(60% 70% at 15% 40%, hsl(var(--h, 330) 90% 60%), transparent 70%); opacity: 0.35; }
:root[data-theme="light"] .tbg img { opacity: 0.35; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tbg img { opacity: 0.35; } }

/* ---------- covers (photo or a typeset poster when there is none) ---------- */
.cv { position: relative; overflow: hidden; aspect-ratio: 1; width: 100%; background: var(--glass-2); border-radius: 16px; isolation: isolate; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.55); }
.cv img { width: 100%; height: 100%; object-fit: cover; }
.cv::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08); z-index: 2; pointer-events: none; }
.cv.type { --h: 330; container-type: inline-size; background:
    radial-gradient(120% 90% at 18% 8%, hsl(var(--h) 85% 62% / 0.95), transparent 55%),
    radial-gradient(90% 80% at 92% 100%, hsl(calc(var(--h) + 48) 90% 55% / 0.8), transparent 60%),
    linear-gradient(160deg, hsl(calc(var(--h) - 20) 45% 16%), hsl(var(--h) 40% 8%)); }
.cv.type::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px); mix-blend-mode: overlay; }
.cv.type .t { position: absolute; left: 8%; right: 8%; bottom: 9%; font: 800 calc(var(--k, 14) * 1cqw)/1 var(--f-display); color: #fff; text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); z-index: 1; }
.cv.type .d { position: absolute; top: 9%; left: 8%; font: 500 max(8px, 6cqw)/1 var(--f-body); letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.85); z-index: 1; white-space: nowrap; }

/* ---------- timeline ---------- */
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 10px 6px; }
.tl-head h2 { font-size: clamp(20px, 3vw, 26px); }
.years { display: flex; gap: 6px; flex-wrap: wrap; }
.years a { text-decoration: none; font: 500 13px/1 var(--f-body); padding: 9px 13px; border-radius: 999px; color: var(--muted); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-hi); }
.years a:hover { color: var(--ink); background: var(--glass-2); }
.tl { padding-block: 8px 60px; }
.year { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 0 28px; scroll-margin-top: 90px; }
.year > .yl { position: relative; }
.year > .yl span { position: sticky; top: 96px; display: block; font: 800 clamp(40px, 4.4vw, 56px)/0.9 var(--f-display); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); padding-top: 6px; }
.year > .yl small { position: sticky; top: 164px; display: block; margin-top: 10px; font: 500 12px/1.4 var(--f-body); color: var(--faint); }
.spine { position: relative; display: grid; gap: 0; padding-left: 30px; }
.spine::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--glass-3) 4%, var(--glass-3) 96%, transparent); }
@media (max-width: 760px) {
  .year { grid-template-columns: minmax(0, 1fr); }
  .year > .yl span { position: static; font-size: 40px; padding: 18px 0 8px; }
  .year > .yl small { position: static; margin: 0 0 8px; }
  .spine { padding-left: 22px; }
  .spine::before { left: 4px; }
}

/* one show: a glass ticket */
.show { position: relative; padding-block: 9px; }
.show::before { content: ""; position: absolute; left: -31px; top: 36px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 45%, color-mix(in srgb, var(--accent) 60%, black)); box-shadow: 0 0 0 4px var(--glass-2), 0 0 18px var(--accent); z-index: 1; }
.show.fest::before { background: radial-gradient(circle at 35% 30%, #fff, var(--amber) 45%, color-mix(in srgb, var(--amber) 60%, black)); box-shadow: 0 0 0 4px var(--glass-2), 0 0 18px var(--amber); }
.show.draft .ticket { opacity: 0.55; filter: saturate(0.4); }
@media (max-width: 760px) { .show::before { left: -26px; width: 14px; height: 14px; top: 30px; } }
.ticket { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 156px minmax(0, 1fr) auto; align-items: stretch; border-radius: var(--r); text-decoration: none; color: inherit; transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), box-shadow 0.25s; }
.ticket:hover { transform: translateY(-2px) scale(1.005); box-shadow: inset 0 1px 0 var(--glass-hi), 0 22px 50px -16px var(--glass-shadow), 0 0 0 1px color-mix(in srgb, var(--tint, var(--accent)) 35%, transparent); }
.ticket > .cv { margin: 8px 0 8px 8px; aspect-ratio: 1; height: auto; align-self: center; }
.ticket .body { padding: 16px 18px; display: grid; gap: 6px; align-content: center; min-width: 0; }
.ticket h3 { font-size: clamp(18px, 2.4vw, 26px); }
.ticket .tour { color: var(--muted); font-size: 14px; font-family: var(--f-body); letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; align-items: center; }
.ticket .meta .ic { display: inline-flex; align-items: center; gap: 5px; }
.ticket .strip { display: flex; gap: 5px; margin-top: 4px; }
.ticket .strip img { width: 48px; height: 36px; object-fit: cover; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.stub { position: relative; width: 112px; padding: 16px 14px; display: grid; align-content: center; justify-items: center; gap: 2px; text-align: center; border-left: 1.5px dashed var(--line-2); background: linear-gradient(180deg, var(--glass-2), transparent); }
.stub .dd { font: 700 34px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stub .mm { font: 600 12px/1.2 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.stub .wd { font: 500 11px/1.2 var(--f-body); color: var(--faint); letter-spacing: 0.08em; }
.show.fest .stub .mm { color: var(--amber); }
.flags { position: absolute; top: 18px; right: 126px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.cardtools { position: absolute; left: 16px; bottom: 18px; z-index: 4; display: flex; gap: 4px; opacity: 0; transition: opacity 0.15s; }
.show:hover .cardtools, .cardtools:focus-within { opacity: 1; }
@media (hover: none) { .cardtools { opacity: 0.95; } }
.cardtools button { border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; min-height: 30px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; background: rgba(13, 10, 17, 0.62); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cardtools button:hover { background: rgba(13, 10, 17, 0.85); }
@media (max-width: 760px) {
  .ticket { grid-template-columns: 100px minmax(0, 1fr); }
  .ticket > .cv { grid-row: 1 / 3; margin: 8px 0 8px 8px; }
  .ticket .body { padding: 12px 14px 4px; }
  .stub { width: auto; border-left: 0; border-top: 1.5px dashed var(--line-2); grid-column: 2; display: flex; justify-content: flex-start; align-items: baseline; gap: 8px; padding: 8px 14px 12px; background: none; }
  .stub .dd { font-size: 18px; }
  .flags { right: 10px; top: 10px; }
  .ticket .strip { display: none; }
  .cardtools { left: 12px; bottom: 14px; }
}

/* insert a show between two others (admins) */
.insert { position: relative; height: 0; z-index: 5; }
.insert button { position: absolute; left: -46px; top: -15px; height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--accent); font: 500 13px/1 var(--f-body); cursor: pointer; opacity: 0.45; transition: opacity 0.15s; white-space: nowrap; box-shadow: inset 0 1px 0 var(--glass-hi); }
.insert button b { font: 700 17px/1 var(--f-display); width: 16px; text-align: center; }
.insert button:hover, .insert button:focus-visible { opacity: 1; }
@media (max-width: 760px) { .insert button { left: -36px; } }
@media (hover: none) { .insert button { opacity: 0.85; } }
.fab { position: fixed; right: calc(var(--gut) + env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); z-index: 25; min-height: 52px; padding: 12px 22px; font-size: 15px; }

/* ---------- event page ---------- */
.ev-page { position: relative; isolation: isolate; overflow: hidden; }
.ev-hero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding-block: clamp(24px, 5vw, 48px); align-items: end; }
.ev-hero .cv { border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }
.ev-hero .info { display: grid; gap: 14px; min-width: 0; padding: clamp(16px, 3vw, 28px); border-radius: var(--r); }
.ev-hero h1 { font-size: clamp(30px, 6vw, 72px); }
.ev-hero .tour { font: 500 15px/1.4 var(--f-body); color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.facts div { border-top: 1px solid var(--line-2); padding-top: 8px; display: grid; gap: 2px; min-width: 0; }
.facts dt { font: 500 11px/1.3 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.lineup { display: flex; flex-wrap: wrap; gap: 6px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lineup span { font: 600 14px/1 var(--f-display); padding: 10px 14px; border-radius: 999px; color: var(--amber); white-space: nowrap; }
.about { max-width: 66ch; color: var(--muted); white-space: pre-line; }
@media (max-width: 760px) { .ev-hero { grid-template-columns: minmax(0, 1fr); } .ev-hero .cv { max-width: 380px; } }
.backdrop { position: absolute; inset: 0 0 auto 0; height: min(760px, 95vh); z-index: -1; background: center / cover no-repeat; filter: blur(60px) saturate(1.5); opacity: 0.55; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent); mask-image: linear-gradient(to bottom, #000 35%, transparent); transform: scale(1.15); pointer-events: none; }
.cvbox { position: relative; }
.cvtools { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 3; }
.cvtools .btn { background: rgba(13, 10, 17, 0.6); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.sec { display: grid; gap: 16px; padding-block: 20px 34px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(20px, 3vw, 26px); }
.sec-head h2 small { font: 500 14px/1 var(--f-body); color: var(--faint); margin-left: 8px; }
/* photo report: a tight grid where upright shots take two rows and wide ones two columns */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.gallery figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--glass); min-width: 0; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.6); }
.gallery figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery button.ph { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.pending img { opacity: 0.55; }
.gallery .tag { position: absolute; left: 8px; top: 8px; z-index: 1; }
.gallery .tools { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity 0.15s; z-index: 1; }
.gallery figure:hover .tools, .gallery figure:focus-within .tools { opacity: 1; }
@media (hover: none) { .gallery .tools { opacity: 1; } }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; } }
.tools button { border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; min-height: 30px; padding: 4px 10px; font-size: 13px; cursor: pointer; background: rgba(13, 10, 17, 0.62); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tools button:hover { background: rgba(13, 10, 17, 0.9); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.video { display: grid; gap: 8px; min-width: 0; }
.video .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; max-width: 100%; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .out { position: absolute; inset: 0; display: grid; place-items: center; gap: 6px; text-decoration: none; color: #fff; background: radial-gradient(circle at 50% 40%, rgba(255, 107, 154, 0.4), transparent 60%), #120d16; text-align: center; padding: 16px; }
.video .out b { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #120d16; display: grid; place-items: center; font-size: 20px; box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0, 0, 0, 0.5); }
.video .cap { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.evnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-block: 10px 50px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.evnav a { display: grid; gap: 4px; padding: 14px 18px; border-radius: var(--r); text-decoration: none; min-width: 0; }
.evnav a:hover { background: linear-gradient(160deg, var(--glass-3), var(--glass-2)); }
.evnav a b { font: 700 16px/1.2 var(--f-display); }
.evnav a.next { text-align: right; }

/* shifts */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.role { border-radius: var(--r-s); padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.role h4 { margin: 0; font: 700 16px/1.25 var(--f-display); }
.role .slots { display: flex; gap: 3px; flex-wrap: wrap; }
.role .slots i { width: 14px; height: 6px; border-radius: 3px; background: var(--line-2); }
.role .slots i.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.role .brief { font-size: 14px; color: var(--muted); white-space: pre-line; border-left: 2px solid var(--amber); padding-left: 10px; }
.role .people { display: grid; gap: 6px; }
.person { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; font-size: 14px; padding: 8px 10px; border-radius: 12px; background: var(--glass-field); }
.person .acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.person .acts button { border: 1px solid var(--glass-line); background: var(--glass-2); border-radius: 999px; min-height: 30px; padding: 3px 10px; font-size: 13px; cursor: pointer; }
.person .acts button:hover { border-color: var(--accent); }
.person small { color: var(--muted); display: block; overflow-wrap: anywhere; }


.ev-block { display: grid; gap: 12px; }
.ev-block > header { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ev-block > header h3 { font-size: 20px; white-space: nowrap; }
.modgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.modgrid figure { margin: 0; border-radius: var(--r-s); overflow: hidden; display: grid; }
.modgrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.modgrid figcaption { padding: 8px 10px; display: grid; gap: 6px; font-size: 13px; }
.modgrid figcaption small { color: var(--muted); }
.focuspick { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; cursor: crosshair; background: var(--glass); }
.focuspick img { width: 100%; height: 100%; object-fit: cover; }
.focuspick .dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5); pointer-events: none; }
.coverrow { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 640px) { .coverrow { grid-template-columns: minmax(0, 1fr); } }
.tgbox { min-height: 44px; display: flex; justify-content: center; }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 92px), 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; }
.pickgrid button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--glass); aspect-ratio: 1; }
.pickgrid button img { width: 100%; height: 100%; object-fit: cover; }
.pickgrid button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
/* ---------- photo viewer ---------- */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(5, 3, 8, 0.82); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: #fff; }
.lb header, .lb footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px; font: 500 13px/1.3 var(--f-body); }
.lb footer { padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 12px); }
.lb .stage { display: grid; place-items: center; min-height: 0; padding: 0 8px; position: relative; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb button { border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; border-radius: 999px; min-width: 46px; min-height: 46px; cursor: pointer; font-size: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.lb button:hover { background: rgba(255, 255, 255, 0.22); }
.lb .nav-l, .lb .nav-r { position: absolute; top: 50%; transform: translateY(-50%); }
.lb .nav-l { left: 12px; } .lb .nav-r { right: 12px; }


/* ---------- the front page ---------- */
.landing { display: grid; gap: clamp(26px, 4vw, 44px); padding-block: 18px 30px; overflow: hidden; }
.landing h2 { font-size: clamp(21px, 3vw, 34px); font-weight: 700; text-align: center; }
.landing .sub { text-align: center; color: var(--muted); max-width: 46ch; margin-inline: auto; font-size: clamp(15px, 1.6vw, 17px); }
/* the opening panel: a sheet of glass over drifting light, the name in one row across it, the chrome star to the right */
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-l); padding: clamp(22px, 4vw, 52px); display: grid; gap: clamp(14px, 2vw, 22px);
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), 0 40px 90px -50px var(--glass-shadow); }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-light i { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 26s ease-in-out infinite alternate; }
.hero-light i:nth-child(1) { width: 52%; aspect-ratio: 1; right: -8%; top: 8%; background: var(--blob-a); opacity: 0.55; }
.hero-light i:nth-child(2) { width: 44%; aspect-ratio: 1; right: 18%; bottom: -34%; background: var(--blob-b); opacity: 0.6; animation-delay: -9s; }
.hero-light i:nth-child(3) { width: 30%; aspect-ratio: 1; left: -8%; top: -22%; background: var(--blob-c); opacity: 0.28; animation-delay: -15s; }
.hero-eye { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink); }
.hero-eye span { color: var(--lilac); }
.eyebrow.center { text-align: center; color: var(--lilac); }
.wordmark { font: 800 64px/1 var(--f-display); letter-spacing: -0.035em; margin: 0; white-space: nowrap; overflow: hidden; padding-block: 0.06em; }
.wordmark span { display: inline-block; color: var(--ink); }
.wordmark em { font-style: normal; color: var(--lilac); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.hero-copy { display: grid; gap: clamp(18px, 2.4vw, 28px); align-content: center; }
.hero-lead { font-size: clamp(16px, 1.55vw, 20px); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.hero-cta { gap: 10px; }
.hero-art { position: relative; aspect-ratio: 1.3; display: grid; place-items: center; margin-block: -2% -6%; }
.hero-ring { position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--glass-line); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--blob-a) 55%, transparent), transparent 68%); box-shadow: inset 0 1px 0 var(--glass-hi); }
.hero-star { position: relative; width: min(74%, 440px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)); animation: bob 9s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-14px) rotate(2deg); } }
.hero-facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--glass-line); padding-top: clamp(14px, 2vw, 22px); gap: 12px clamp(12px, 2vw, 28px); }
.hero-facts dt { font: 800 clamp(22px, 2.8vw, 36px)/1.05 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-facts dd { margin: 4px 0 0; color: var(--muted); font-size: clamp(13px, 1.2vw, 15px); line-height: 1.3; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; width: min(86%, 340px); margin: -2% auto -4%; }
  .hero-star { width: 78%; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* площадки: a running line, as on a ticket stub */
.plat-run { overflow: hidden; border-block: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); padding-block: clamp(12px, 1.6vw, 18px); }
.plat-track { display: flex; width: max-content; animation: run 36s linear infinite; }
.plat-set { display: flex; flex: none; }
.plat-set span { display: inline-flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); padding-left: clamp(16px, 2.4vw, 34px); font: 700 clamp(15px, 1.8vw, 22px)/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; }
.plat-set .logo { width: 18px; height: 20px; color: var(--lilac); }
@keyframes run { to { transform: translateX(-50%); } }
/* one account: a grid of doors into the sections */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.cell { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: 8px; min-height: 172px; padding: 20px 20px 22px; border-radius: var(--r); text-decoration: none; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-lo); transition: transform 0.2s, background 0.2s; }
.cell::before { content: ""; position: absolute; right: -30%; top: -50%; width: 80%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: var(--tint, var(--blob-a)); filter: blur(46px); opacity: 0.38; transition: opacity 0.25s; }
.cell:hover { transform: translateY(-3px); background: var(--glass-2); }
.cell:hover::before { opacity: 0.62; }
.cell-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-line); margin-bottom: 6px; }
.cell b { font: 700 clamp(17px, 1.7vw, 21px)/1.15 var(--f-body); }
.cell small { color: var(--muted); font-size: 14.5px; line-height: 1.4; max-width: 34ch; }
.cell-go { position: absolute; right: 16px; top: 18px; color: var(--muted); transition: transform 0.2s, color 0.2s; }
.cell:hover .cell-go { transform: translateX(3px); color: var(--ink); }
.c-rel { grid-column: span 2; grid-row: span 2; --tint: var(--blob-a); }
.c-fin { --tint: var(--blob-c); } .c-doc { --tint: var(--blob-d); } .c-tool { --tint: var(--blob-b); } .c-ev { --tint: var(--blob-a); } .c-shop { --tint: var(--blob-d); }
.c-tool { grid-column: span 2; }
.c-rel b { font-size: clamp(22px, 2.6vw, 32px); }
.mini-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; align-self: end; }
.mini-steps i { font: 600 12px/1 var(--f-mono); font-style: normal; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--muted); }
.mini-steps i.on { background: var(--violet); border-color: transparent; color: #fff; }
.c-rel { grid-template-rows: auto auto auto 1fr; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-rel { grid-row: auto; } }
@media (max-width: 440px) { .cell { min-height: 0; padding: 16px; } .cell small { font-size: 13.5px; } .c-tool { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .plat-track, .hero-star, .hero-light i { animation: none; } }
/* «Наши звёзды» */
.stars-sec { display: grid; gap: 12px; position: relative; padding-block: clamp(20px, 4vw, 50px); isolation: isolate; }
.stars-sec::before, .about-sec::before, .devices::before { content: ""; position: absolute; left: 50%; bottom: -4%; width: min(1100px, 120%); height: 62%; transform: translateX(-50%); z-index: -1; background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 72%); opacity: 0.75; pointer-events: none; }
.stars { position: relative; display: grid; justify-items: center; gap: 0; margin-top: 22px; }
.stars-stage { position: relative; width: 100%; height: clamp(230px, 34vw, 380px); }
.star-card { position: absolute; left: 50%; top: 50%; width: clamp(200px, 30vw, 360px); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 22px;
  transform: translate(calc(-50% + var(--d) * 74%), -50%) scale(calc(1 - var(--a) * 0.24)); opacity: calc(1 - var(--a) * 0.42); z-index: calc(10 - var(--a)); filter: blur(calc(var(--a) * 1.2px)); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s, filter 0.45s; }
.star-card .art { border-radius: 22px; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8); }
.star-card[aria-current="true"] { filter: none; }
.star-info { width: clamp(200px, 30vw, 360px); background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 26px 26px; padding: 26px 20px 18px; margin-top: -14px; display: grid; gap: 8px; text-align: left; box-shadow: var(--shadow); position: relative; z-index: 5; }
.star-info h3 { font-size: clamp(18px, 2.2vw, 24px); }
.star-info .by { color: var(--muted); font-size: 15px; }
.star-nums { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.star-nums span { display: inline-flex; gap: 7px; align-items: center; }
.star-nums .btn { margin-left: auto; }
.star-prev, .star-next { position: absolute; top: clamp(100px, 15vw, 170px); z-index: 12; }
.star-prev { left: 0; } .star-next { right: 0; }
/* dark blocks with four round-icon tiles */
.block { border-radius: var(--r-l); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); padding: clamp(30px, 6vw, 80px) clamp(16px, 5vw, 90px); display: grid; gap: 16px; box-shadow: inset 0 1px 0 var(--glass-lo), 0 30px 80px -50px var(--glass-shadow); }
.block.dotted { background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1.2px, transparent 1.4px); background-size: 22px 22px; }
:root[data-theme="light"] .block.dotted { background-image: radial-gradient(rgba(60, 30, 120, 0.09) 1.2px, transparent 1.4px); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: clamp(14px, 3vw, 34px) 10px; }
.tile { border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); padding: 30px 16px 26px; display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none; align-content: start; transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.tile:hover { transform: translateY(-4px); background: var(--panel-2); border-color: var(--line-2); }
.tile b { font: 700 clamp(17px, 1.9vw, 22px)/1.15 var(--f-body); letter-spacing: -0.02em; margin-top: 12px; }
.tile small { color: var(--muted); font-size: 14px; line-height: 1.4; max-width: 24ch; }
.orb { width: clamp(84px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(90% 90% at 30% 20%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 60%), var(--panel-3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -8px 20px rgba(0, 0, 0, 0.18), 0 14px 30px -16px rgba(0, 0, 0, 0.7); }
.orb .ic { width: 38%; } .orb svg { width: 100%; height: auto; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tile { padding: 20px 10px; } .tile small { font-size: 13px; } }
.tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.tariff { border-radius: var(--r); padding: clamp(18px, 3vw, 30px); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.tariff b { font: 800 clamp(28px, 4vw, 44px)/1 var(--f-body); letter-spacing: -0.03em; }
.tariff p { color: var(--muted); }
.tariff.hot { background: linear-gradient(140deg, #ff3d86, #7b4dff); border-color: transparent; color: #fff; }
.tariff.hot p, .tariff.hot .eyebrow { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 640px) { .tariffs { grid-template-columns: minmax(0, 1fr); } }
/* «О нас» and the hashtag plate */
.about-sec { position: relative; isolation: isolate; display: grid; gap: 16px; justify-items: center; padding-block: clamp(20px, 5vw, 60px) clamp(40px, 8vw, 110px); }
.about-text { max-width: 58ch; text-align: center; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.5; text-wrap: pretty; }
.tagbox { position: relative; width: min(1000px, 100%); margin-top: clamp(20px, 4vw, 44px); border-radius: var(--r-l); background: #0d0a13; border: 1px solid rgba(255, 255, 255, 0.07); padding: clamp(40px, 7vw, 86px) 20px; display: grid; gap: 14px; text-align: center; color: #fff; }
.tagbox h3 { font: 800 clamp(30px, 4.6vw, 52px)/1 var(--f-display); letter-spacing: -0.04em; }
.tagbox p { color: #b9b6cb; }
.tag-star { position: absolute; pointer-events: none; }
.tag-star.s1 { width: clamp(90px, 14vw, 170px); left: clamp(-10px, 1vw, 20px); top: clamp(-70px, -7vw, -40px); transform: rotate(-22deg); }
.tag-star.s2 { width: clamp(130px, 22vw, 270px); right: clamp(-20px, 1vw, 30px); bottom: clamp(-90px, -9vw, -50px); transform: rotate(14deg); }
/* «С любого устройства» */
.devices { position: relative; isolation: isolate; display: grid; gap: 14px; justify-items: center; padding-block: clamp(20px, 5vw, 60px) 10px; }
.devices::before { bottom: auto; top: 0; height: 80%; }
.device-row { margin-top: clamp(26px, 5vw, 60px); width: min(700px, 100%); border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(8px, 2vw, 24px); align-items: center; justify-items: center; padding: 0 clamp(10px, 3vw, 30px); height: clamp(200px, 30vw, 260px); }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: none; color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; transition: border-color 0.2s, background 0.2s; }
.store-btn:hover { border-color: var(--ink); background: var(--panel-2); }
.store-btn small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.store-btn b { display: block; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.2; white-space: nowrap; }
.phone { width: clamp(150px, 22vw, 190px); aspect-ratio: 9 / 18.6; border-radius: 30px; background: #0d0c14; border: 3px solid #4a4862; padding: 7px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 2px #1d1c2a; align-self: center; transform: translateY(-6%); color: #fff; }
.phone-screen { height: 100%; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #d93a8a, #1e1828 46%, #0d0a13); padding: 20px 9px 8px; display: grid; gap: 6px; align-content: start; font-size: 9px; grid-template-rows: auto auto auto auto 1fr; }
.ph-top { display: grid; justify-items: center; gap: 3px; text-align: center; }
.ph-ava { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(160deg, #ffb3cf, #ff3d86); display: grid; place-items: center; }
.ph-ava .logo { width: 20px; height: 22px; color: #fff; }
.ph-top b { font-size: 9.5px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ph-top small { font-size: 7px; opacity: 0.75; }
.ph-card { background: rgba(20, 18, 34, 0.6); border-radius: 12px; padding: 8px; display: grid; gap: 5px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.ph-row span, .ph-line, .ph-btns span { display: inline-flex; align-items: center; gap: 4px; }
.ph-row small { font-size: 7px; opacity: 0.7; font-weight: 400; }
.ph-card > b { font: 800 14px/1.2 var(--f-body); white-space: nowrap; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ph-btns span { justify-content: center; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 4px 2px; font-size: 7.5px; }
.ph-line { background: rgba(20, 18, 34, 0.6); border-radius: 10px; padding: 7px 8px; font-weight: 700; }
.ph-tabs { align-self: end; display: flex; justify-content: space-around; background: rgba(20, 18, 34, 0.75); border-radius: 12px; padding: 6px 4px; }
@media (max-width: 620px) { .device-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: auto; padding: 0 12px 16px; } .device-row .phone { grid-column: 1 / -1; grid-row: 1; transform: translateY(-9%); margin-bottom: -14px; } .store-btn { width: 100%; justify-content: center; } }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.steps b { color: var(--ink); }
/* teasers of the shows ahead */
.ev-teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-block: 16px 10px; }
.ev-teaser { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, background 0.2s; }
.ev-teaser:hover { transform: translateY(-3px); background: var(--panel-2); }
.ev-teaser > div { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.ev-teaser .when { font: 700 13px/1.3 var(--f-body); color: var(--lilac); }
.ev-teaser b { font: 700 20px/1.15 var(--f-body); letter-spacing: -0.02em; }
.ev-teaser small { color: var(--muted); }
.faq { display: grid; gap: 8px; max-width: 860px; margin: 14px auto 0; width: 100%; }
.faq details { border-radius: 24px; background: var(--panel); border: 1px solid var(--line); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 0; font-weight: 600; font-size: clamp(15px, 1.7vw, 18px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.2s; color: var(--lilac); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ---------- the cabinet: a side rail, a big rounded panel with light in the corner ---------- */
.cab { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 26px 14px 18px 22px; display: grid; grid-template-rows: auto 1fr auto; gap: 26px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail nav { display: grid; gap: 2px; align-content: start; }
.rail hr { margin: 14px 8px; }
.rail-i { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: background 0.15s, color 0.15s; min-width: 0; }
.rail-i span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-i:hover { background: var(--panel); }
.rail-i[aria-current="page"] { background: var(--panel-2); }
.rail-i[aria-current="page"] .ic { color: var(--lilac); }
.rail-i.alt { color: var(--lilac); }
.rail-foot { display: grid; gap: 8px; }
.rail-me { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 999px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.rail-me:hover, .rail-me[aria-current="page"] { background: var(--panel-2); }
.rail-me .ava { width: 44px; height: 44px; font-size: 18px; }
.rail-me span:last-child { display: grid; min-width: 0; line-height: 1.25; }
.rail-me b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.rail-me small { color: var(--lilac); font-weight: 600; font-variant-numeric: tabular-nums; }
.cab-main { min-width: 0; padding: 14px 14px 14px 0; display: grid; grid-template-rows: auto 1fr; gap: 0; }
.cab-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: absolute; right: 30px; top: 30px; z-index: 6; }
.cab-brand { display: none; }
.cab-actions { display: flex; gap: 6px; }
.panel { position: relative; isolation: isolate; border-radius: var(--r-l); background: color-mix(in srgb, var(--bg) 58%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); min-height: calc(100vh - 28px); padding: clamp(18px, 3.4vw, 44px); padding-top: clamp(22px, 3vw, 40px); display: grid; gap: 22px; align-content: start; overflow: clip; }
.panel::before { content: ""; position: absolute; right: -14%; top: -260px; width: 70%; height: 560px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%); opacity: 0.6; pointer-events: none; }
.cab.admin .panel::before { background: radial-gradient(50% 50% at 50% 50%, #4d7df2, transparent 70%); opacity: 0.4; }
.page-head { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding-right: 160px; min-height: 46px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.count { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; background: var(--lilac); color: var(--lilac-ink); font: 700 16px/1 var(--f-body); letter-spacing: 0; }
.tabbar { display: none; }
.morelist { display: grid; gap: 2px; }
.notes { display: grid; gap: 8px; }
.note-i { display: grid; gap: 4px; padding: 12px 16px; border-radius: 18px; background: var(--panel-2); text-decoration: none; }
.note-i.new { box-shadow: inset 3px 0 0 var(--lilac); }
.note-i small { color: var(--faint); }
a.note-i:hover { background: var(--panel-3); }
@media (max-width: 900px) {
  .cab { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
  .rail { display: none; }
  .cab-main { padding: 0; }
  .cab-top { position: static; padding: 12px var(--gut) 4px; }
  .cab-brand { display: block; }
  .panel { border-radius: 0; border: 0; min-height: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 14px var(--gut) 30px; overflow: visible; }
  .panel::before { right: -30%; width: 110%; top: -300px; }
  .page-head { padding-right: 0; }
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); z-index: 40; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px; border-radius: 26px; background: color-mix(in srgb, var(--panel) 90%, transparent); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8); }
  .tab-i { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 2px 6px; border-radius: 20px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; background: none; border: 0; cursor: pointer; min-width: 0; }
  .tab-i span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .tab-i[aria-current="page"] { color: #fff; background: var(--violet); }
}

/* ---------- installed as an app (and the preview's «приложение» switch): no marketing chrome on phones, sections under the thumb ---------- */
/* phones: the public sections sit at the thumb in the browser too, not only in the installed app */
@media (max-width: 900px) { body[data-frame="site"] .foot { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); } }
@media (max-width: 900px) {
  html.app body[data-frame="site"] .foot, html.app .top-bar .burger, html.app .top-bar .nav, html.app .top-bar .tools-btn { display: none !important; }
  html.app body[data-frame="site"] main { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
  html.app .top { margin-top: 6px; }
  html.app .top-bar { min-height: 56px; }
  html.app .hero-facts { display: none; }
}
@media (min-width: 901px) { html.app .foot nav a[href*="volunteer"] { display: inline; } }
@media (min-width: 901px) { .c-ev, .c-shop { grid-column: span 2; min-height: 0; } }
@media (max-width: 560px) { .tagbox .tag-star.s2 { width: 84px; right: -10px; bottom: -34px; } .tagbox .tag-star.s1 { width: 64px; } }

/* ---------- pages on a soft violet light: sign-in, shop, tools for guests ---------- */
main.glowpage, main.smart-main, main.ap-main { position: relative; isolation: isolate; }
main.glowpage::before { content: ""; position: absolute; left: 50%; top: -120px; width: min(1200px, 130%); height: 620px; transform: translateX(-50%); z-index: -1; background: radial-gradient(50% 50% at 50% 40%, var(--glow), transparent 72%); opacity: 0.55; pointer-events: none; }
.center { text-align: center; justify-items: center; }
.page.center { justify-items: center; }
.back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 500; justify-self: start; }
.back-link:hover { color: var(--ink); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.5 16.200-4.200-4.200L3.900 13.400l5.600 5.600 11-11-1.400-1.400z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1.5px solid transparent; background: var(--panel-2); color: var(--ink); border-radius: 999px; padding: 6px 14px; min-height: 36px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.seg button:hover { background: var(--panel-3); }
.seg button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.seg button[disabled] { opacity: 0.4; cursor: default; text-decoration: line-through; }
.prefix { display: inline-flex; align-items: center; padding: 0 2px 0 14px; color: var(--faint); font-size: 14px; white-space: nowrap; max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
.inline > .prefix + input { padding-left: 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin: 0; }
.facts div { border-top: 1px solid var(--line-2); padding-top: 8px; display: grid; gap: 2px; min-width: 0; }
.facts dt { font: 600 11px/1.3 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
details > summary { cursor: pointer; }
.num2 { display: grid; justify-items: end; gap: 1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.num2 small { color: var(--faint); font-size: 12.5px; }
.plus { color: var(--ok); }
.bad { color: var(--bad); }
.orb.sm { width: 44px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); flex: none; }
.orb.sm .ic { width: 46%; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 1080px) { .two { grid-template-columns: minmax(0, 1fr); } }
.e { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; background: var(--panel-3); color: var(--muted); font: 700 10.5px/1 var(--f-body); margin-left: 6px; vertical-align: 2px; flex: none; }

/* ---------- TWAS ID ---------- */
.id-page { display: grid; justify-items: center; padding-block: clamp(20px, 5vw, 60px) 70px; }
.id-card { width: min(520px, 100%); display: grid; gap: 16px; justify-items: center; text-align: center; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-l); background: color-mix(in srgb, var(--panel) 88%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.id-card > * { width: 100%; }
.id-card h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.id-sub { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.id-ava { width: 108px !important; height: 108px; border-radius: 50%; background: #0d0a13; color: var(--lilac); display: grid; place-items: center; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7); }
.id-card .tabs { width: auto; justify-self: center; }
.id-card .form { text-align: left; }
.id-card .btn.big { width: 100%; }
.id-part { display: grid; gap: 14px; }
.tg-login { display: grid; gap: 10px; justify-items: center; }
.tg-login .btn { width: 100%; }
.code-field input { text-align: center; font: 700 22px/1.2 var(--f-body); letter-spacing: 0.2em; max-width: 260px; margin-inline: auto; }
.code-field input::placeholder { letter-spacing: 0; font-weight: 500; font-size: 16px; }
.id-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.id-row > div { display: grid; gap: 6px; min-width: 0; flex: 1; }

/* ---------- cabinet: overview ---------- */
.cab-home, .panel > div, .panel > form { display: grid; gap: 20px; align-content: start; min-width: 0; }
.home-grid { display: grid; grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-grid .wallet-card { grid-column: 1 / -1; } }
@media (max-width: 560px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-grid .kpi:last-child { grid-column: 1 / -1; } }
.wallet-card { border-radius: var(--r); padding: 20px 22px; display: grid; gap: 10px; color: #fff; background: linear-gradient(135deg, #ff4f8f 0%, #a23fd8 55%, #4a2a9a 100%); box-shadow: 0 24px 50px -26px var(--violet); }
.wc-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.wc-top span { display: inline-flex; align-items: center; gap: 8px; }
.wc-top a { font-size: 14px; opacity: 0.85; }
.wallet-card > b { font: 800 clamp(30px, 4vw, 42px)/1.05 var(--f-body); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wc-btns .btn { background: rgba(20, 16, 40, 0.34); color: #fff; }
.wc-btns .btn:hover { background: rgba(20, 16, 40, 0.55); }
.todo { display: grid; gap: 8px; }
.todo-i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--r-s); background: var(--panel-2); text-decoration: none; }
a.todo-i:hover { background: var(--panel-3); }
.todo-i > div { display: grid; min-width: 0; }
.todo-i small { color: var(--muted); }
@media (max-width: 520px) { .todo-i { grid-template-columns: auto minmax(0, 1fr); } .todo-i > .btn { grid-column: 1 / -1; } }
.next-rel { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-s); background: var(--panel-2); text-decoration: none; }
.next-rel:hover { background: var(--panel-3); }
.next-rel > div { display: grid; gap: 2px; min-width: 0; }
.next-rel b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-rel small { color: var(--muted); }
.statline { display: flex; flex-wrap: wrap; gap: 8px; }
.statline a { display: grid; gap: 0; padding: 8px 16px; border-radius: 16px; background: var(--panel-2); text-decoration: none; min-width: 96px; }
.statline a:hover { background: var(--panel-3); }
.statline b { font: 800 22px/1.2 var(--f-body); }
.statline span { font-size: 13px; color: var(--muted); }
.mini-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.mini { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, background 0.2s; min-width: 0; }
.mini:hover { transform: translateY(-3px); background: var(--panel-2); }
.mini .ic { color: var(--lilac); margin-bottom: 6px; }
.mini b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- cabinet: releases, as drawn ---------- */
.rel-page { display: grid; gap: 22px; }
.rel-page > .bigtabs { margin-right: 160px; }
@media (max-width: 900px) { .rel-page > .bigtabs { margin-right: 0; } }
.rel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.rel-head-l { display: grid; gap: 14px; min-width: 0; }
.rel-title { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.rel-title h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.linkbtn.plain { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.linkbtn.plain:hover { color: var(--lilac); }
.rel-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rel-filters .inp { width: auto; min-height: 42px; padding-block: 8px; }
.rel-filters .searchbox { flex: 1 1 220px; max-width: 320px; }
.rel-filters .searchbox .inp { width: 100%; }
.rel-filters input[type="month"] { max-width: 180px; }
.sortsel, .inp.mini { appearance: none; -webkit-appearance: none; border-color: transparent !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a7a3bd' d='M6.4 8.600 12 14.200l5.600-5.600L19 10l-7 7-7-7z'/%3E%3C/svg%3E") right 8px center / 16px no-repeat !important; padding-right: 30px !important; font-weight: 500; cursor: pointer; }
.inp.mini { min-height: 36px; padding: 4px 28px 4px 12px; width: auto; background-color: var(--panel-2) !important; }
.add-rel { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 26px 26px 34px; border-radius: 999px; text-decoration: none; color: var(--ink); min-width: 250px;
  background: radial-gradient(120% 140% at 80% 0%, rgba(255, 255, 255, 0.1), transparent 60%), var(--panel-2); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow); transition: transform 0.2s, background 0.2s; }
.add-rel:hover { transform: translateY(-3px); }
.add-rel span { font: 700 20px/1.2 var(--f-body); letter-spacing: -0.02em; }
.add-rel i { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; }
@media (max-width: 760px) { .rel-head { grid-template-columns: minmax(0, 1fr); } .add-rel { padding: 14px 14px 14px 24px; } .add-rel br { display: none; } .add-rel span { font-size: 17px; } .add-rel i { width: 44px; height: 44px; } }
.month { font: 500 15px/1.3 var(--f-body); letter-spacing: 0; color: var(--faint); margin: 8px 0 -6px 10px; }
.rc-list { display: grid; gap: 10px; }
.rc { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: background 0.2s; }
.rc:hover { background: color-mix(in srgb, var(--panel) 70%, var(--panel-2)); }
.rc-art { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.rc-art .art { border-radius: 12px; }
.rc-body { display: grid; gap: 7px; min-width: 0; align-content: start; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 13.5px; }
.rc-meta .date { color: var(--ink); font-weight: 600; }
.rc-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rc-title a { text-decoration: none; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(17px, 1.8vw, 21px); }
.rc-title b { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(17px, 1.8vw, 21px); }
.rc-title .ver { color: var(--muted); font-weight: 600; }
.rc-sub { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 15px; color: var(--ink); align-items: center; }
.rc-sub .str { display: inline-flex; align-items: center; gap: 4px; color: var(--lilac); margin-left: 6px; }
.rc-note { font-size: 14px; color: var(--bad); }
.rc-tools { display: flex; gap: 6px; align-items: center; }
.rc-tools .iconbtn { width: 38px; height: 38px; background: transparent; border-color: transparent; }
.rc-tools .iconbtn:hover { background: var(--panel-3); }
.playbtn { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; flex: none; padding: 0; transition: background 0.15s; }
.playbtn:hover:not([disabled]) { background: var(--panel-3); }
.playbtn[aria-pressed="true"] { background: var(--violet); color: #fff; }
.playbtn.ghost, .playbtn[disabled] { opacity: 0.35; cursor: default; }
.tl-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font-weight: 600; cursor: pointer; margin-top: 4px; }
.tl-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.tracklist { display: grid; gap: 2px; margin-top: 4px; }
.tl-i { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; padding: 7px 10px; border-radius: 12px; font-size: 15px; }
.tl-i:nth-child(odd) { background: var(--panel-2); }
.tl-i .n, .tl-i .d { color: var(--faint); font-variant-numeric: tabular-nums; }
.tl-i small { color: var(--muted); }
@media (max-width: 640px) { .rc { grid-template-columns: 72px minmax(0, 1fr); padding: 14px; gap: 12px; } .rc-tools { grid-column: 1 / -1; justify-content: flex-end; margin-top: -6px; } }

/* ---------- the release editor ---------- */
.rel-edit { display: grid; gap: 20px; }
.rel-edit .page-head h1 { min-width: 0; flex-wrap: nowrap; }
.back { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--panel-2); flex: none; text-decoration: none; }
.back:hover { background: var(--panel-3); }
.saved { color: var(--ok); font-size: 14px; font-weight: 600; min-height: 20px; }
.re-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 16px; align-items: start; }
.re-main, .re-side { display: grid; gap: 14px; min-width: 0; }
.re-side { position: sticky; top: 14px; }
@media (max-width: 1180px) { .re-grid { grid-template-columns: minmax(0, 1fr); } .re-side { position: static; } }
.re-cover { position: relative; border-radius: var(--r); overflow: hidden; background: var(--panel-2); display: block; }
.re-cover .art { border-radius: 0; }
.re-cover.over { outline: 2px dashed var(--lilac); outline-offset: -8px; }
.re-cover.small { width: 150px; border-radius: 18px; flex: none; }
.cover-btn { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7); }
.re-cover progress { position: absolute; left: 12px; right: 12px; bottom: 62px; width: auto; }
.note.center { text-align: center; }
.note.warn { color: var(--amber); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.flow li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11.5px; color: var(--faint); line-height: 1.2; }
.flow li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.flow li:first-child::before { display: none; }
.flow li i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--panel-3); display: grid; place-items: center; color: #fff; z-index: 1; }
.flow li.done i, .flow li.cur i { background: var(--violet); }
.flow li.done::before, .flow li.cur::before { background: var(--violet); }
.flow li.cur { color: var(--ink); font-weight: 600; }
.flow li.cur i { box-shadow: 0 0 0 5px var(--accent-soft); }
.probs { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.probs li::marker { color: var(--amber); }
.tariff-pick { display: grid; gap: 8px; }
.tp { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; border: 1.5px solid var(--line-2); cursor: pointer; }
.tp:has(input:checked) { border-color: var(--lilac); background: var(--accent-soft); }
.tp input { accent-color: var(--violet); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.tp span { display: grid; }
.tp small { color: var(--muted); }
.re-side .btn.big, .re-side > .btn { width: 100%; }
.log ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.log b { color: var(--ink); }
.log small { color: var(--faint); }
.qr-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.qr-row > div { display: grid; gap: 8px; min-width: 0; }
.qr-row .qr { width: 110px; }
.smart-url { color: var(--lilac); overflow-wrap: anywhere; font-size: 13.5px; }
.tracks { display: grid; gap: 10px; }
.tk { border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); }
.tk > summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 14px 16px; }
.tk > summary::-webkit-details-marker { display: none; }
.tk[open] > summary > .ic:last-child { transform: rotate(180deg); }
.tk-n { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font: 700 13px/1 var(--f-body); }
.tk-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 17px; }
.tk-st { display: flex; gap: 6px; }
.tk-move { display: inline-flex; gap: 2px; }
.tk-move button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--panel-3); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.tk-body { display: grid; gap: 14px; padding: 4px 16px 18px; }
.tk-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--bg); }
.tk-file > div { display: grid; min-width: 0; }
.tk-file b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-file small { color: var(--muted); font-size: 13px; }
.tk-file .iconbtn { width: 38px; height: 38px; }
.tk-audio { display: grid; gap: 8px; }
.drop.busy { pointer-events: none; opacity: 0.8; }
.add-track { justify-self: start; }
.plats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
@media (max-width: 640px) { .tk > summary { grid-template-columns: auto minmax(0, 1fr) auto; } .tk-st { display: none; } .tk-move { display: none; } }

/* ---------- money ---------- */
.ledger { display: grid; gap: 2px; }
.lg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.lg:last-child { border-bottom: 0; }
.lg .t { display: grid; min-width: 0; }
.lg .t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.lg .t small { color: var(--faint); font-size: 13px; }
.doc { white-space: pre-wrap; font: 14.5px/1.6 var(--f-body); background: var(--glass-field); border: 1px solid var(--line); border-radius: var(--r-s); padding: 20px; max-height: 420px; overflow: auto; margin: 0; }
.report > summary, .card.report > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.report > summary::-webkit-details-marker { display: none; }
.report > summary > div:first-child { display: grid; min-width: 0; }
.report > summary small { color: var(--muted); }
.report[open] > summary .ic { transform: rotate(180deg); }
.order h3 small { font-weight: 400; font-size: 14px; letter-spacing: 0; }
.oi { display: grid; gap: 8px; }
.oi-i { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.oi-i .art { border-radius: 12px; }
.oi-i > div { display: grid; min-width: 0; }
.oi-i small { color: var(--muted); }
.tk-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.tk-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.tk-card.off { opacity: 0.6; }
.tk-main { padding: 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.tk-main h3 { font-size: 22px; }
.tk-qr { padding: 14px; display: grid; gap: 6px; justify-items: center; align-content: center; background: #fff; color: #17142b; border-left: 2px dashed var(--bg); }
.tk-qr .qr { border-radius: 0; width: 132px; }
.tk-qr .linkbtn { color: #6529e0; font-size: 13px; }
.code { letter-spacing: 0.08em; }
.code.big { font-size: 26px; }
.pics { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; }
.pic { position: relative; border-radius: var(--r-s); overflow: hidden; background: var(--panel-2); display: grid; place-items: center; min-height: 160px; }
.pic.sq { aspect-ratio: 1; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic .btn { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); }
@media (max-width: 560px) { .pics { grid-template-columns: minmax(0, 1fr); } .pic.sq { max-width: 200px; } }
.savebar { position: sticky; bottom: 14px; justify-content: center; z-index: 5; }
.savebar .btn { box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7); }
@media (max-width: 900px) { .savebar { bottom: 96px; } }

/* ---------- shop ---------- */
.shop-hero { display: grid; gap: 10px; }
.shop-hero h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.prod { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.prod:hover { transform: translateY(-4px); border-color: var(--line-2); }
.prod.out { opacity: 0.6; }
.prod-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--panel-2); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img.none { color: rgba(255, 255, 255, 0.9); background: radial-gradient(120% 100% at 20% 10%, hsl(var(--h, 270) 80% 60%), hsl(calc(var(--h, 270) - 24) 60% 20%)); }
.prod-body { display: grid; gap: 5px; padding: 16px 18px 18px; align-content: start; }
.prod-body > b { font: 700 19px/1.2 var(--f-body); letter-spacing: -0.02em; }
.prod-body small { color: var(--muted); font-size: 14px; }
.prod-price { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-top: 6px; }
.prod-price b { font-size: 18px; }
.prod-price s, .pv-price s { color: var(--faint); }
.pv { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(18px, 4vw, 48px); align-items: start; }
.pv-img { border-radius: var(--r-l); overflow: hidden; background: var(--panel); aspect-ratio: 1; display: grid; }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-img .prod-img { aspect-ratio: auto; height: 100%; }
.pv-media { display: grid; gap: 10px; }
.pv-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-thumbs button, .pv-thumbs span { position: relative; width: 68px; height: 68px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--panel-2); cursor: pointer; }
.pv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pv-thumbs button[aria-pressed="true"] { border-color: var(--lilac); }
.pv-thumbs.edit span button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.7); color: #fff; display: grid; place-items: center; }
.pv-thumbs .add { display: grid; place-items: center; border: 1.5px dashed var(--line-2); color: var(--muted); }
.pv-info { display: grid; gap: 16px; align-content: start; }
.pv-info h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
.pv-price { display: flex; gap: 12px; align-items: baseline; }
.pv-price b { font: 800 clamp(26px, 3vw, 36px)/1 var(--f-body); }
.about { max-width: 66ch; color: var(--muted); white-space: pre-line; }
@media (max-width: 800px) { .pv { grid-template-columns: minmax(0, 1fr); } }
.narrow2 { max-width: 860px; }
.cart-i { grid-template-columns: 64px minmax(0, 1fr) auto; }
.cart-i .art { width: 64px; }
.cart-i .price { min-width: 90px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--panel-2); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--panel-3); color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.checkout { display: flex; flex-wrap: wrap; gap: 14px 20px; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-2); }
.checkout > div:first-child { display: grid; }
.total { font: 800 30px/1.1 var(--f-body); }

/* ---------- tickets on a show's page, the door ---------- */
.tk-types { display: grid; gap: 10px; }
.tk-type { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; padding: 18px 22px; border-radius: var(--r); }
.tk-type.off { opacity: 0.6; }
.tt-info { display: grid; gap: 4px; min-width: 0; }
.tt-info h3 { font-size: 20px; }
.tt-buy { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: flex-end; }
.price { font-size: 20px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .tk-type { grid-template-columns: minmax(0, 1fr); } .tt-buy { justify-content: flex-start; } }
.checkin { max-width: 640px; }
.scan-cam { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 4 / 3; display: none; }
.scan-cam.on { display: block; }
.scan-video { width: 100%; height: 100%; object-fit: cover; }
.scan-cam .frame { position: absolute; inset: 18% 22%; border: 3px solid rgba(255, 255, 255, 0.85); border-radius: 22px; box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35); }
.scan-res { border-radius: var(--r); padding: 22px; display: grid; gap: 8px; justify-items: start; min-height: 0; }
.scan-res:empty { display: none; }
.scan-res b { font: 800 28px/1.1 var(--f-body); }
.scan-res.ok { background: #1f9d5b; color: #fff; }
.scan-res.bad { background: #d43c3c; color: #fff; }

/* ---------- tools ---------- */
.tool-page { display: grid; gap: 20px; align-content: start; min-width: 0; }
.tool-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-right: 150px; }
.shellless .tool-head, main.glowpage .tool-head { padding-right: 0; }
.tool-head > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.tool-head h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
@media (max-width: 900px) { .tool-head { padding-right: 0; } }
.tool-group { display: grid; gap: 12px; }
.tool-group h2 { font: 500 15px/1.3 var(--f-body); color: var(--faint); letter-spacing: 0; margin-left: 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.tool { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, background 0.2s; }
.tool:hover { transform: translateY(-3px); background: var(--panel-2); }
.tool > div { display: grid; gap: 2px; min-width: 0; }
.tool b { font-size: 17px; }
.tool small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.tool-tag { position: absolute; top: 12px; right: 14px; font: 600 11px/1 var(--f-body); color: var(--faint); letter-spacing: 0.04em; }
.tool-res { display: grid; gap: 16px; }
.tool-res:empty { display: none; }
.verdict { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.verdict li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 14px; border-radius: 16px; background: var(--panel-2); }
.verdict li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.verdict li.ok i { background: #1f9d5b; } .verdict li.warn i { background: #c98a1a; } .verdict li.bad i { background: #d43c3c; }
.verdict li span { display: grid; gap: 2px; font-weight: 600; color: var(--ink); }
.verdict li small { font-weight: 400; color: var(--muted); font-size: 14px; }
.cover-res { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.cover-prev { position: relative; display: grid; gap: 12px; }
.cover-prev > img { border-radius: var(--r); width: 100%; aspect-ratio: 1; object-fit: contain; background: repeating-conic-gradient(var(--panel-2) 0 25%, var(--panel-3) 0 50%) 0 0 / 20px 20px; }
.cover-prev .round, .cover-prev .tiny { display: inline-block; overflow: hidden; background: var(--panel-2); }
.cover-prev .round { position: absolute; right: -8px; bottom: -8px; width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--bg); }
.cover-prev .tiny { position: absolute; left: -8px; bottom: -8px; width: 46px; height: 46px; border-radius: 8px; border: 4px solid var(--bg); }
.cover-prev .round img, .cover-prev .tiny img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .cover-res { grid-template-columns: minmax(0, 1fr); } .cover-prev { max-width: 320px; } }
.tapbox .btnrow { gap: 18px; }
.tap { min-width: 220px; }
.tap-out { font: 800 28px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.shot { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: start; }
.shot-stage { position: sticky; top: 14px; border-radius: var(--r); overflow: hidden; background: repeating-conic-gradient(var(--panel-2) 0 25%, var(--panel) 0 50%) 0 0 / 24px 24px; display: grid; place-items: center; min-height: 420px; border: 1px solid var(--line); }
.shot-stage::before { content: "Загрузите обложку — здесь появится предпросмотр"; color: var(--muted); padding: 30px; text-align: center; position: absolute; max-width: 240px; }
.shot-stage.on::before { display: none; }
.shot-canvas { width: 100%; height: auto; display: block; position: relative; opacity: 0; }
.shot-stage.on .shot-canvas { opacity: 1; }
.seg.wrap2 { display: flex; }
input[type="range"] { width: 100%; accent-color: var(--violet); }
@media (max-width: 800px) { .shot { grid-template-columns: minmax(0, 1fr); } .shot-stage { position: relative; max-width: 300px; justify-self: center; width: 100%; } }
.link-rows, .split-rows { display: grid; gap: 8px; }
.link-row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) auto; gap: 8px; }
.split-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 96px auto auto; gap: 8px; align-items: center; }
.link-row input, .split-row input, .inc-row input { width: 100%; min-width: 0; border: 1.5px solid var(--line-2); background: var(--glass-field); border-radius: 999px; padding: 9px 16px; min-height: 44px; outline: none; }
.link-row input:focus, .split-row input:focus, .inc-row input:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 640px) { .split-row { grid-template-columns: minmax(0, 1fr) 84px auto auto; } .split-row input:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } .link-row { grid-template-columns: minmax(0, 1fr) auto; } .link-row input:nth-child(2) { grid-column: 1; grid-row: 2; } }
.plan { display: grid; gap: 6px; }
.plan-i { display: grid; grid-template-columns: auto 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.plan-i input { width: 20px; height: 20px; accent-color: var(--violet); }
.plan-i .when, .plan-i .what { display: grid; }
.plan-i .when small, .plan-i .what small { color: var(--muted); font-size: 13.5px; }
.plan-i.done { opacity: 0.55; }
.plan-i.done .what b { text-decoration: line-through; }
.plan-i.day { background: linear-gradient(120deg, var(--violet), #7b4dff); border-color: transparent; color: #fff; }
.plan-i.day small { color: rgba(255, 255, 255, 0.85) !important; }
.inc-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(90px, auto); gap: 8px; align-items: center; }
.inc-row.head { font-size: 12.5px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.inc-row .num { text-align: right; font-variant-numeric: tabular-nums; }
textarea.out { width: 100%; border-radius: 20px; padding: 14px 18px; line-height: 1.5; resize: vertical; min-height: 120px; }

/* ---------- the team's side ---------- */
.mod-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 640px) { .mod-top { grid-template-columns: minmax(0, 1fr); } }
.mod-track { grid-template-columns: auto minmax(0, 1fr) auto; background: var(--panel-2); }
.mod-track .t small { display: block; }
.mod-track .inp, .mod-track input.mono { width: 150px; min-height: 38px; border: 1.5px solid var(--line-2); background: var(--glass-field); border-radius: 999px; padding: 6px 14px; }
.linkbtn.who { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.badges-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.badge-i { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--panel-2); justify-items: start; }
.badge-i .pic { min-height: 60px; height: 60px; width: 100%; background: #0e0d15; border-radius: 12px; padding: 8px; }
.badge-i .pic img { position: static; object-fit: contain; width: 100%; height: 100%; }
.post-cover-prev { border-radius: var(--r-s); overflow: hidden; background: var(--panel-2); min-height: 90px; display: grid; place-items: center; max-width: 420px; }

/* ---------- public: a release link, an artist, articles ---------- */
.smart { position: relative; isolation: isolate; display: grid; justify-items: center; padding: clamp(16px, 4vw, 40px) var(--gut) 50px; overflow: hidden; min-height: 70vh; }
.smart-bg { position: absolute; inset: -10% -10% auto -10%; height: 760px; z-index: -1; background: center / cover no-repeat; filter: blur(70px) saturate(1.5); opacity: 0.5; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.smart-card { width: min(460px, 100%); display: grid; gap: 14px; padding: 18px; border-radius: var(--r-l); background: color-mix(in srgb, var(--panel) 82%, transparent); border: 1px solid var(--line-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); text-align: center; }
.smart-art .art { border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.smart-card h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; margin-top: 6px; }
.smart-card .by { color: var(--muted); font-size: 17px; }
.smart-links { display: grid; gap: 8px; }
.smart { --pa: var(--lilac); --pai: var(--lilac-ink); --br: 999px; container-type: inline-size; width: 100%; }
.smart-body { display: grid; gap: 14px; min-width: 0; align-content: start; }
.smart-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; min-height: 54px; border-radius: var(--br); background: var(--panel-2); border: 1.5px solid transparent; color: var(--ink); text-decoration: none; text-align: left; transition: background 0.15s, transform 0.15s; }
a.smart-link[href]:hover { background: var(--panel-3); transform: translateY(-2px); }
.smart-link b { font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.smart-link .go { flex: none; padding: 8px 16px; border-radius: var(--br); background: var(--pa); color: var(--pai); font-size: 14px; font-weight: 700; white-space: nowrap; }
.smart-link.main, .fl-solid .smart-link { background: var(--pa); color: var(--pai); }
a.smart-link.main[href]:hover, .fl-solid a.smart-link[href]:hover { background: color-mix(in srgb, var(--pa) 86%, #fff); }
.smart-link.main .go, .fl-solid .smart-link .go { background: color-mix(in srgb, var(--pai) 16%, transparent); color: inherit; }
.fl-outline .smart-link:not(.main) { background: transparent; border-color: color-mix(in srgb, var(--pa) 70%, transparent); }
.fl-outline .smart-link:not(.main) .go { background: none; color: var(--pa); padding-inline: 10px; }
.bt-round { --br: 16px; } .bt-square { --br: 4px; }
.smart-note { color: var(--muted); font-size: 15.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.smart-soc { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.smart-soc a { padding: 7px 14px; border-radius: var(--br); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.smart-soc a[href]:hover { border-color: var(--pa); color: var(--pa); }
.smart .banner.acc { border-radius: min(var(--br), 20px); }
/* themes of the card: the site's glass, or its own dark, light or accent-coloured sheet */
.th-dark .smart-card { --ink: #f6f2fa; --muted: #b3a8c0; --faint: #7e7390; --panel-2: #1d1826; --panel-3: #2b2338; --line-2: rgba(255, 255, 255, 0.18); background: #0c0a11; color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.th-light .smart-card { --ink: #15121c; --muted: #4a4256; --faint: #7a7188; --panel-2: #f0edf5; --panel-3: #e4e0ee; --line-2: rgba(40, 20, 60, 0.16); background: #ffffff; color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.th-cover .smart-card { --ink: #ffffff; --muted: rgba(255, 255, 255, 0.82); --faint: rgba(255, 255, 255, 0.6); --panel-2: rgba(255, 255, 255, 0.16); --panel-3: rgba(255, 255, 255, 0.26); --line-2: rgba(255, 255, 255, 0.3); background: color-mix(in srgb, var(--pa) 62%, #0b0810); color: var(--ink); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.th-cover .smart-link:not(.main) .go, .th-cover.fl-soft .smart-link .go { background: #fff; color: #17101c; }
.th-cover .smart-link.main, .th-cover.fl-solid .smart-link { background: #fff; color: #17101c; }
.th-cover.fl-outline .smart-link:not(.main) { border-color: rgba(255, 255, 255, 0.6); }
.th-cover.fl-outline .smart-link:not(.main) .go { background: none; color: #fff; }
.th-dark .smart-card .note, .th-light .smart-card .note, .th-cover .smart-card .note { color: var(--muted); }
.th-light .smart-card .btn.ghost, .th-dark .smart-card .btn.ghost, .th-cover .smart-card .btn.ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.th-light .smart-foot a, .th-light .smart-foot span { color: var(--muted); }
/* backgrounds */
.smart-bg.flat { inset: 0; height: auto; filter: none; opacity: 1; -webkit-mask-image: none; mask-image: none; }
.bg-gradient .smart-bg.flat { background: linear-gradient(160deg, var(--c1, #ff3d86), var(--c2, #7b4dff)); }
.bg-solid .smart-bg.flat { background: var(--c1, #ff3d86); }
/* cover shapes */
.ar-square .smart-art .art { border-radius: 0; }
.ar-disc .smart-art { position: relative; width: min(100%, 340px); margin-inline: auto; }
.ar-disc .smart-art .art { border-radius: 50%; animation: spin 22s linear infinite; }
.ar-disc .smart-art::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); }
@media (prefers-reduced-motion: reduce) { .ar-disc .smart-art .art { animation: none; } }
.ft-body .smart-card h1 { font-family: var(--f-body); letter-spacing: -0.02em; }
.ft-mono .smart-card h1 { font-family: var(--f-mono); letter-spacing: -0.03em; font-weight: 600; }
/* layouts */
.ly-mini .smart-card { width: min(420px, 100%); grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.ly-mini .smart-art { grid-row: 1; }
.ly-mini .smart-body { display: contents; }
.ly-mini .smart-body > h1 { grid-column: 2; grid-row: 1; align-self: center; font-size: clamp(19px, 5cqw, 24px); margin: 0; }
.ly-mini .smart-body > :not(h1) { grid-column: 1 / -1; }
.ly-mini .smart-art .art { border-radius: 16px; }
.ly-mini.ar-square .smart-art .art { border-radius: 0; } .ly-mini.ar-disc .smart-art .art { border-radius: 50%; }
@container (min-width: 780px) {
  .ly-wide .smart-card { width: min(940px, 100%); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 26px; padding: 24px; align-items: start; }
  .ly-wide .smart-art { position: sticky; top: 90px; }
}
.smart.preview { min-height: 0; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); }
.smart.preview .smart-card { padding: 14px; gap: 12px; }
.smart.preview .smart-bg:not(.flat) { height: 420px; }
/* the editor of a release page: the form on the left, the page itself on the right */
.le { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.le-form { display: grid; gap: 18px; min-width: 0; align-content: start; }
.le-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
@media (min-width: 900px) { .le { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); } .le-side { position: sticky; top: 90px; align-self: start; } .sheet .le-side { top: 0; } }
.le-row { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr) auto; align-items: center; }
.le-acts { display: flex; gap: 4px; }
.le-acts .iconbtn { width: 38px; height: 38px; }
.mainbtn[aria-pressed="true"] { background: var(--violet); color: #fff; border-color: transparent; }
.le-row.guess input[type="url"] { border-color: var(--amber); }
.le-guess { grid-column: 1 / -1; color: var(--amber); font-size: 13px; padding-inline: 16px; }
@media (max-width: 640px) { .le-row { grid-template-columns: minmax(0, 1fr); padding: 10px; border-radius: 20px; background: var(--panel-2); } .le-acts { justify-content: flex-end; } }
.le-look { border-radius: var(--r); border: 1px solid var(--line-2); padding: 4px 18px; }
.le-look > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 17px; }
.le-look > summary::-webkit-details-marker { display: none; }
.le-look[open] > summary .ic { transform: rotate(180deg); }
.le-look[open] { padding-bottom: 18px; display: grid; gap: 16px; }
.le-group { display: grid; gap: 8px; }
.le-t { font: 600 12px/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.le-colors { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.le-color { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; }
.le-color input { width: 44px; height: 36px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 12px; background: none; cursor: pointer; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.le-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.le-card { max-width: none; }
.smart-tracks { margin: 0; padding: 0 6px 0 28px; display: grid; gap: 4px; text-align: left; color: var(--muted); }
.smart-tracks li { padding: 4px 0; }
.smart-tracks li span { color: var(--ink); }
.smart-tracks small { float: right; color: var(--faint); font-variant-numeric: tabular-nums; }
.smart-foot { margin-top: 8px; font-size: 13.5px; color: var(--faint); text-align: center; }
.smart-foot a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.smart-foot .logo { width: 16px; height: 18px; }
.ap { --glow: var(--violet); }
.ap-cover { height: clamp(180px, 30vw, 360px); background: radial-gradient(80% 120% at 50% 0%, var(--glow), transparent 70%), var(--bg-2); overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); margin-top: -76px; }
.ap-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.ap-body { display: grid; gap: 24px; padding-bottom: 60px; margin-top: clamp(-90px, -9vw, -50px); position: relative; }
.ap-head { display: flex; gap: clamp(14px, 3vw, 28px); align-items: flex-end; flex-wrap: wrap; }
.ap-head > div { display: grid; gap: 8px; min-width: 0; flex: 1 1 280px; }
.ap-head h1 { font-size: clamp(34px, 7vw, 76px); font-weight: 800; letter-spacing: -0.04em; }
.ap-ava { width: clamp(110px, 18vw, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--bg); background: linear-gradient(160deg, var(--lilac), var(--violet)); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
.ap-ava img { width: 100%; height: 100%; object-fit: cover; }
.ap-ava span { font: 800 64px/1 var(--f-display); color: #fff; }
.ap .sec { padding-block: 6px; }
.ap .sec h2 { font-size: clamp(20px, 3vw, 28px); }
.ap .sec h2 small { font: 500 15px/1 var(--f-body); color: var(--faint); margin-left: 8px; }
.ap-rels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); gap: 16px; }
.ap-rel { display: grid; gap: 4px; text-decoration: none; }
.ap-rel .art { border-radius: 18px; transition: transform 0.2s; margin-bottom: 6px; }
.ap-rel:hover .art { transform: translateY(-4px); }
.ap-rel b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-rel small { color: var(--muted); }
.ap-past { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ap-past a { text-decoration: none; display: block; padding: 8px 12px; border-radius: 12px; }
.ap-past a:hover { background: var(--panel); }
.ap-past small { color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.post-card { display: grid; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s; }
.post-card:hover { transform: translateY(-4px); }
.pc-img { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: var(--panel-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img.none { background: radial-gradient(120% 100% at 20% 10%, hsl(var(--h, 270) 80% 58%), hsl(calc(var(--h, 270) - 24) 60% 18%)); color: rgba(255, 255, 255, 0.9); }
.pc-img.none .logo { width: 60px; height: 68px; }
.pc-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.pc-body b { font: 700 20px/1.2 var(--f-body); letter-spacing: -0.02em; }
.pc-body small { color: var(--muted); }
.post h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
.post-cover { border-radius: var(--r); width: 100%; }
.rich { display: grid; gap: 16px; font-size: 17.5px; line-height: 1.65; }
.rich h2 { font-size: 26px; margin-top: 12px; } .rich h3 { font-size: 20px; margin-top: 8px; }
.rich ul, .rich ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.rich a { color: var(--lilac); }
.rich blockquote { margin: 0; padding: 14px 20px; border-left: 3px solid var(--lilac); background: var(--panel); border-radius: 0 16px 16px 0; color: var(--muted); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .tiles.three { grid-template-columns: minmax(0, 1fr); } }

/* ---------- events on the new palette ---------- */
main.ev-root { position: relative; }
.ev-root .hero { padding: clamp(34px, 6vw, 70px) var(--gut) clamp(18px, 4vw, 34px); display: grid; gap: 18px; min-height: 0; border-radius: 0; background: none; border: 0; text-align: left; justify-items: start; overflow: visible; color: var(--ink); }
.ev-root .hero h1 { font-size: clamp(32px, 6vw, 70px); font-weight: 800; letter-spacing: -0.04em; max-width: 14ch; }
.ev-root .hero h1 em { color: var(--lilac); }
.ev-root .stats div { border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.stats b { font-weight: 800; }
.marquee a { font-weight: 800; letter-spacing: -0.03em; }
.marquee a:hover, .marquee a:focus-visible { color: var(--lilac); -webkit-text-stroke-color: var(--lilac); }
.marquee i { background: var(--lilac); }
.marquee::before { background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { background: linear-gradient(-90deg, var(--bg), transparent); }
.soon .when, .stub .mm { color: var(--lilac); font-weight: 700; }
.soon h3, .ticket h3 { font-weight: 800; letter-spacing: -0.03em; }
.cv.type .t { font-weight: 800; letter-spacing: -0.04em; }
.cv.type .d { font-weight: 600; letter-spacing: 0.08em; }
.year > .yl span { font-weight: 800; -webkit-text-stroke: 1.5px var(--line-2); }
.stub .dd { font-weight: 800; }
.show::before { background: radial-gradient(circle at 35% 30%, #fff, var(--lilac) 45%, var(--violet)); box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--violet); }
.show.fest::before { background: radial-gradient(circle at 35% 30%, #fff, #ffbe5c 45%, #b86a00); box-shadow: 0 0 0 4px var(--bg), 0 0 18px #ffbe5c; }
.show.fest .stub .mm, .lineup span { color: var(--amber); }
.ev-hero h1 { font-weight: 800; letter-spacing: -0.04em; }
.insert button { background: var(--panel-2); color: var(--ink); }
.fab { box-shadow: 0 20px 44px -12px var(--violet); }
.ev-block.card > header h3 { font-size: 22px; }
.role { background: var(--panel-2); }
.role h4 { font-weight: 700; }
.person { background: var(--bg); }
.person .acts button { background: var(--panel-3); border-color: transparent; color: var(--ink); }
.gallery figure, .video .frame { border-radius: 20px; }
.video .out { background: radial-gradient(circle at 50% 40%, rgba(255, 61, 134, 0.5), transparent 60%), #07050b; }
.lb header, .lb footer { font-family: var(--f-body); }
.sec-head h2, .tl-head h2, .ahead-head h2 { font-weight: 800; }
.years a { font-weight: 600; background: var(--panel); border-color: var(--line); }
.years a:hover { background: var(--panel-2); }

.rel-page, .rel-page > *, .panel > * { min-width: 0; }
.bigtabs { max-width: 100%; }
.flow li span { font-size: 10.5px; overflow-wrap: anywhere; }
@media (max-width: 900px) { .cab, .cab-main, .panel { max-width: 100vw; overflow-x: clip; } }
.seg button[aria-pressed="true"]:hover { background: var(--violet); }

/* ---------- alignment pass: one width for sections, nothing hanging over an edge ---------- */
.cab-top { right: calc(14px + clamp(18px, 3.4vw, 44px)); top: calc(14px + clamp(22px, 3vw, 40px)); }
.tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 720px) { .tool-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.kpis b, .kpi b { font-size: clamp(19px, 2vw, 26px); white-space: normal; overflow-wrap: anywhere; }
.tagbox { width: 100%; overflow: hidden; }
.tag-star.s1 { left: 2%; top: -8%; } .tag-star.s2 { right: 1%; bottom: -22%; }
.about-sec { padding-bottom: clamp(20px, 4vw, 44px); }
.le-look > * + * { margin-top: 16px; }
.le-look > summary + * { margin-top: 0; }
.prods { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.landing { gap: clamp(22px, 3.4vw, 40px); }
.stars-sec { padding-block: clamp(10px, 2vw, 24px); }
/* «С любого устройства»: copy on the left, a stack of swapping cards on the right */
.block.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 60px); padding-block: clamp(30px, 5vw, 64px); }
.duo-copy { display: grid; gap: 18px; justify-items: start; }
.landing .duo-copy h2 { text-align: left; }
.duo-text { color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; max-width: 44ch; }
.duo-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.swap { position: relative; height: 270px; perspective: 1000px; margin-right: 8%; }
.swap-card { position: absolute; left: 0; right: 0; bottom: 0; isolation: isolate; overflow: hidden; display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-lo), 0 24px 50px -24px rgba(0, 0, 0, 0.7);
  transform: translate(calc(var(--p, 0) * 22px), calc(var(--p, 0) * -34px)) scale(calc(1 - var(--p, 0) * 0.05)); filter: brightness(calc(1 - var(--p, 0) * 0.16)); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.7s; }
.swap-card::before { content: ""; position: absolute; right: -20%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: var(--tint); filter: blur(46px); opacity: 0.4; }
.swap-card.drop { transform: translate(0, 120%) scale(0.96); transition-duration: 0.5s; }
.swap-top { display: flex; align-items: center; gap: 12px; }
.swap-card b { font: 700 clamp(19px, 2vw, 24px)/1.15 var(--f-body); }
.swap-card small { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
@media (max-width: 760px) { .block.duo { grid-template-columns: minmax(0, 1fr); } .swap { height: 250px; margin: 40px 44px 0 0; } }

/* ---------- light and motion ---------- */
/* spotlight: a soft light under the pointer */
.cell:hover, .tile:hover, .tool:hover, .prod:hover, .kpi:not(.accent):hover, .kpis > div:not(.accent):hover, .tariff:not(.hot):hover, .ev-teaser:hover, .post-card:hover, .swap-card:hover, .rowi:hover, .faq details:hover {
  background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), color-mix(in srgb, var(--lilac) 17%, transparent), transparent 70%); }
/* tilt */
.smart-art, .prod, .post-card, .star-card .art { transition: transform 0.25s ease-out; transform-style: preserve-3d; will-change: transform; }
/* glare: a sweep of light across the main buttons and covers */
.btn.primary, .btn.light, .add-rel, .smart-link { overflow: hidden; }
.btn.primary::before, .btn.light::before, .add-rel::before, .smart-link::before, .prod-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%); transform: translateX(-130%); transition: transform 0.75s ease; }
.btn.primary:hover::before, .btn.light:hover::before, .add-rel:hover::before, a.smart-link[href]:hover::before, .prod:hover .prod-img::after { transform: translateX(130%); }
.smart-link, .prod-img, .add-rel { position: relative; }
/* star border: a point of light running round the main call */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero-cta .btn.primary, .tariff.hot { border: 2px solid transparent; background: linear-gradient(var(--violet), var(--violet)) padding-box, conic-gradient(from var(--ang), transparent 0 62%, #fff 78%, var(--blob-c) 86%, transparent 94%) border-box; animation: ang 4.5s linear infinite; }
.tariff.hot { background: linear-gradient(140deg, #ff3d86, #7b4dff) padding-box, conic-gradient(from var(--ang), transparent 0 62%, #fff 78%, var(--blob-c) 86%, transparent 94%) border-box; }
@keyframes ang { to { --ang: 360deg; } }
/* noise: film grain over the drifting light */
.ambient::before { content: ""; position: absolute; inset: -100px; z-index: 2; opacity: 0.09; mix-blend-mode: overlay; pointer-events: none; animation: grain 0.9s steps(4) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 25% { transform: translate(-30px, 20px); } 50% { transform: translate(24px, -36px); } 75% { transform: translate(-16px, -24px); } }
/* gradient text and shiny text */
.wordmark em { background: linear-gradient(90deg, var(--lilac), var(--blob-c), var(--blob-b), var(--lilac)) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 7s linear infinite; }
.hero-eye, .eyebrow.center, .le-side > .eyebrow { background: linear-gradient(110deg, var(--muted) 40%, var(--ink) 50%, var(--muted) 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 4.5s linear infinite; }
.hero-eye span { -webkit-text-fill-color: var(--lilac); }
@keyframes slide { to { background-position: -300% 0; } }
/* blur text and scroll reveal */
.blurin .bw { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(0.45em); transition: opacity 0.6s, filter 0.6s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 55ms); }
.blurin.in .bw { opacity: 1; filter: none; transform: none; }
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rise.in { opacity: 1; transform: none; }
/* true focus */
.tf { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 700 clamp(16px, 2vw, 22px)/1.2 var(--f-display); }
.tf span { padding: 6px 8px; filter: blur(3px); opacity: 0.55; transition: filter 0.45s, opacity 0.45s; }
.tf span.on { filter: none; opacity: 1; }
.tf-frame { position: absolute; left: 0; top: 0; pointer-events: none; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.45s, height 0.45s;
  background: linear-gradient(var(--lilac), var(--lilac)) 0 0 / 12px 2px, linear-gradient(var(--lilac), var(--lilac)) 0 0 / 2px 12px, linear-gradient(var(--lilac), var(--lilac)) 100% 0 / 12px 2px, linear-gradient(var(--lilac), var(--lilac)) 100% 0 / 2px 12px, linear-gradient(var(--lilac), var(--lilac)) 0 100% / 12px 2px, linear-gradient(var(--lilac), var(--lilac)) 0 100% / 2px 12px, linear-gradient(var(--lilac), var(--lilac)) 100% 100% / 12px 2px, linear-gradient(var(--lilac), var(--lilac)) 100% 100% / 2px 12px; background-repeat: no-repeat; filter: drop-shadow(0 0 8px var(--lilac)); }
/* glass icons: a tilted colour plate behind a frosted one */
.cell-ic, .orb.sm { position: relative; isolation: isolate; background: color-mix(in srgb, var(--ink) 10%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi); transition: transform 0.3s; }
.cell-ic::before, .orb.sm::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: linear-gradient(160deg, var(--tint, var(--blob-a)), color-mix(in srgb, var(--tint, var(--blob-b)) 50%, var(--blob-b))); transform: rotate(14deg) translate(3px, -1px); opacity: 0.85; transition: transform 0.3s; }
.cell:hover .cell-ic::before, .tool:hover .orb.sm::before, .swap-card:hover .cell-ic::before { transform: rotate(24deg) translate(6px, -4px); }
.cell:hover .cell-ic, .tool:hover .orb.sm { transform: translateY(-2px); }
/* pixel card */
.tile { position: relative; overflow: hidden; isolation: isolate; }
.tile .px { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* dock */
.tab-i { transform: scale(var(--dock, 1)); transform-origin: 50% 100%; transition: transform 0.12s ease-out; }
.sparks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 99; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wordmark em, .hero-eye, .eyebrow.center, .le-side > .eyebrow, .hero-cta .btn.primary, .tariff.hot, .ambient::before { animation: none; } }
.wordmark { overflow: visible; }
/* ---------- новые релизы: a row of holographic cards ---------- */
.holo-wrap { display: grid; gap: 14px; margin-top: 18px; }
.holo-row { list-style: none; margin: 0; padding: 26px var(--gut); margin-inline: calc(var(--gut) * -1); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1200px; }
.holo-row::-webkit-scrollbar { display: none; }
.holo-row li { flex: none; width: min(300px, 76vw); scroll-snap-align: center; }
.holo { --px: 50%; --py: 50%; --rx: 0deg; --ry: 0deg; position: relative; isolation: isolate; display: block; aspect-ratio: 0.72; border-radius: 28px; overflow: hidden; text-decoration: none; color: #fff; background: #15111d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.35s ease-out, box-shadow 0.35s; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.14) inset; }
.holo:hover { transition-duration: 0.08s, 0.35s; box-shadow: 0 40px 80px -36px var(--blob-a), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; }
.holo > .art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; z-index: -2; }
.holo > .art img { width: 100%; height: 100%; object-fit: cover; }
.holo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 5, 11, 0.72) 0%, transparent 34%, transparent 58%, rgba(7, 5, 11, 0.85) 100%); }
.holo-shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s; mix-blend-mode: color-dodge;
  background: repeating-linear-gradient(115deg, #ff3d86 0%, #ffbe5c 9%, #4fe0a0 18%, #22b8ff 27%, #7b4dff 36%, #ff3d86 45%) var(--px) var(--py) / 320% 320%; filter: saturate(1.2) brightness(0.75); }
.holo-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.5), transparent 46%); mix-blend-mode: overlay; }
.holo:hover .holo-shine { opacity: 0.42; } .holo:hover .holo-glare { opacity: 1; }
.holo-top { position: absolute; left: 20px; right: 20px; top: 20px; display: grid; gap: 4px; text-align: left; }
.holo-top .eyebrow { color: rgba(255, 255, 255, 0.82); font-size: 11px; }
.holo-top b { font: 700 clamp(19px, 2vw, 23px)/1.12 var(--f-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.holo-top .by { font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.holo-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 9px; border-radius: 20px; background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.2); }
.holo-mini { width: 42px; height: 42px; border-radius: 13px; overflow: hidden; flex: none; }
.holo-mini .art { border-radius: 0; }
.holo-nums { display: grid; gap: 2px; font-size: 13px; font-weight: 600; min-width: 0; margin-right: auto; font-variant-numeric: tabular-nums; }
.holo-nums span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.holo-go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); color: #17101c; font-size: 13.5px; font-weight: 700; flex: none; }
.holo-nav { display: flex; justify-content: center; gap: 8px; }
@media (min-width: 1100px) { .holo-row { justify-content: safe center; } }
/* the whole card is the link; chips of versions sit above it and lead to their own pages */
.holo-hit { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.holo-top, .holo-bar, .holo-stack { pointer-events: none; }
.holo-bar a, .holo-bar .ver-chip { pointer-events: auto; }
.holo.has-ver .holo-bar { padding: 8px; }
.holo-stack { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: row-reverse; }
.holo-stack > span { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; margin-left: -12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75), 0 8px 18px -8px rgba(0, 0, 0, 0.8); }
.holo-stack .art { width: 100%; height: 100%; border-radius: 0; }
.holo.has-ver .holo-top { right: 64px; }
.ver-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ver-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.1; text-decoration: none; color: #17101c; background: rgba(255, 255, 255, 0.9); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; transition: background 0.2s, transform 0.2s; }
.ver-chip:hover { background: #fff; transform: translateY(-1px); }
.ver-chip.more { background: rgba(255, 255, 255, 0.22); color: #fff; }
/* the head of the block: title on the left, two numbers on the right */
.nr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; }
.nr-head h2 { margin: 4px 0 6px; text-align: left; }
.nr-head .eyebrow { text-align: left; }
.nr-head .sub { margin: 0; text-align: left; }
.nr-facts { display: flex; gap: 12px; margin: 0; }
.nr-facts div { padding: 12px 18px; border-radius: var(--r-s); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); min-width: 112px; }
.nr-facts dt { font: 700 clamp(22px, 2.6vw, 30px)/1 var(--f-display); letter-spacing: -0.02em; }
.nr-facts dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.nr { display: grid; gap: 8px; margin-top: 18px; }
/* the newest song: its cover glows behind the panel */
.spot { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(220px, 400px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: center;
  padding: clamp(16px, 2.6vw, 30px); border-radius: var(--r-l); border: 1px solid var(--glass-line); background: var(--glass); box-shadow: inset 0 1px 0 var(--glass-lo), 0 30px 80px -50px var(--glass-shadow); }
.spot::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: var(--spot-bg) center / cover no-repeat; filter: blur(70px) saturate(160%); opacity: 0.55; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, var(--veil) 75%); }
.spot-art .holo { aspect-ratio: 1; border-radius: 24px; }
.spot-art .holo::after { background: none; }
.spot-info { display: grid; gap: 10px; align-content: center; min-width: 0; }
.spot-info h3 { margin: 0; font: 700 clamp(28px, 4.4vw, 54px)/1.02 var(--f-display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.spot-info .by { margin: 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.spot-info > .btn { justify-self: start; margin-top: 6px; }
.spot-nums { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.spot-nums span { display: inline-flex; align-items: center; gap: 6px; }
.spot-vers { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.spot-ver { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; text-decoration: none; color: inherit; background: var(--glass); border: 1px solid var(--glass-line); transition: background 0.2s, transform 0.2s; }
.spot-ver:hover { background: var(--glass-2); transform: translateX(3px); }
.spot-n { font: 600 12px var(--f-mono); color: var(--faint); width: 22px; text-align: center; flex: none; }
.spot-mini { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; flex: none; }
.spot-mini .art { width: 100%; height: 100%; border-radius: 0; }
.spot-t { display: grid; min-width: 0; margin-right: auto; }
.spot-t b, .spot-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-t small { color: var(--muted); font-size: 12.5px; }
.spot-play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) {
  .spot { grid-template-columns: minmax(0, 1fr); padding: 14px; border-radius: 28px; }
  .spot-art { width: min(100%, 340px); justify-self: center; }
  .spot::after { background: linear-gradient(180deg, transparent 25%, var(--veil) 70%); }
  .nr-head { align-items: flex-start; }
  .nr-facts { width: 100%; } .nr-facts div { flex: 1; min-width: 0; padding: 10px 14px; }
}
/* ---------- the badge on a lanyard in the profile ---------- */
.id-head { position: relative; }
.id-head[data-lan] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 20px; align-items: start; overflow: hidden; }
.lan { position: relative; height: 360px; margin-top: calc(clamp(18px, 3vw, 28px) * -1); touch-action: none; }
.lan-strap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lan-strap path { fill: none; stroke: var(--violet); stroke-width: 15; stroke-linecap: round; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35)); }
.lan-card { position: absolute; left: 0; top: 0; width: 180px; transform-origin: 90px 0; display: grid; justify-items: center; gap: 8px; padding: 30px 14px 16px; border-radius: 20px; text-align: center; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  background: linear-gradient(165deg, color-mix(in srgb, var(--blob-a) 55%, var(--panel-2)), var(--panel-2) 46%, color-mix(in srgb, var(--blob-b) 45%, var(--panel-2))); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), 0 26px 40px -22px rgba(0, 0, 0, 0.75); color: #fff; }
.lan-card.held { cursor: grabbing; }
.lan-clip { position: absolute; top: 8px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 6px; background: rgba(7, 5, 11, 0.7); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
.lan-head { display: inline-flex; align-items: center; gap: 6px; }
.lan-head .logo { width: 16px; height: 18px; color: #fff; }
.lan-head b { font: 700 9.5px/1 var(--f-display); white-space: nowrap; }
.lan-card .ava.big { width: 76px; height: 76px; font-size: 30px; border: 3px solid rgba(255, 255, 255, 0.85); }
.lan-name { font: 700 17px/1.15 var(--f-body); overflow-wrap: anywhere; max-width: 100%; }
.lan-card .pill { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: transparent; }
.lan-id { font-size: 10.5px; letter-spacing: 0.08em; opacity: 0.85; }
.lan-bars { width: 100%; height: 22px; border-radius: 4px; opacity: 0.8; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 6px, transparent 6px 10px, #fff 10px 13px, transparent 13px 15px); }
@media (max-width: 760px) { .id-head[data-lan] { grid-template-columns: minmax(0, 1fr); } .lan { height: 330px; margin-top: 0; order: -1; margin-top: calc(clamp(18px, 3vw, 28px) * -1); } }
.holo .art span { display: none; }
.lan { height: 372px; }
@media (max-width: 760px) { .lan { height: 372px; } }
/* ---------- profile: what is filled in, shortcuts, the badge spanning both rows ---------- */
.id-head[data-lan] > .lan { grid-column: 2; grid-row: 1 / span 2; }
.id-extra { display: grid; gap: 14px; min-width: 0; align-content: start; }
.id-fill { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); }
.id-fill progress { width: 100%; height: 8px; }
.id-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.id-step { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; min-height: 36px; border-radius: 999px; border: 1px dashed var(--line-2); background: none; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.id-step:hover { color: var(--ink); border-color: var(--lilac); }
.id-step.ok { border-style: solid; border-color: transparent; background: var(--ok-soft); color: var(--ok); }
.chipbtn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 12px; cursor: pointer; white-space: nowrap; }
.chipbtn:hover { color: var(--ink); }
.id-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.id-q { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; min-width: 0; }
.id-q span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-q:hover { background: var(--panel-3); }
.id-q .ic { color: var(--lilac); }
.set-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.set-i { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 16px 18px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); min-width: 0; }
.set-i select { width: 100%; }
.set-i .check small { display: block; }
@media (max-width: 760px) { .id-head[data-lan] > .lan { grid-column: 1; grid-row: auto; } }
/* ---------- the artist's badge beside the name ---------- */
.ap-lan { flex: 0 0 300px; align-self: flex-start; margin-top: -120px; }
.ap-lan .lan { margin-top: 0; }
@media (max-width: 900px) { .ap-lan { flex: 1 1 100%; margin-top: 0; order: 5; } }
/* ---------- footer: three columns of links beside the label ---------- */
.foot .wrap { justify-items: stretch; text-align: left; gap: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 24px clamp(16px, 3vw, 40px); }
.foot-about { display: grid; gap: 12px; justify-items: start; align-content: start; max-width: 36ch; }
.foot .foot-grid nav { display: grid; gap: 9px; justify-content: start; align-content: start; }
.foot-copy { color: var(--faint); font-size: 13px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
/* ---------- wide screens and tablets ---------- */
@media (min-width: 1700px) { .wrap { max-width: 1400px; } .panel { padding-inline: clamp(44px, 5vw, 96px); } }
@media (min-width: 901px) and (max-width: 1180px) { :root { --rail: 208px; } .rail { padding-inline: 12px 8px; } .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .home-grid .wallet-card { grid-column: 1 / -1; } }
/* the installed app on a tablet or computer keeps the site's layout but drops the marketing footer */
@media (min-width: 901px) { html.app body[data-frame="site"] .foot-grid nav:nth-child(n+2) { display: none; } html.app .foot-grid { grid-template-columns: minmax(0, 1fr); } }
@media (display-mode: standalone) { .top { top: calc(env(safe-area-inset-top, 0px) + 6px); } .demo-strip { display: none; } }
main.glowpage, main.smart-main, main.ap-main, body[data-frame="site"] > #app > main, #app > main { overflow-x: clip; }
/* grid children must be allowed to shrink, or one wide line (the name in one row) pushes the whole page wider than the phone */
.hero > *, .hero-grid > *, .landing > *, .block > *, .duo > *, .bento > *, .panel > *, .cab-main > *, #main > * { min-width: 0; }
.wordmark { max-width: 100%; }
.card > *, .card.report > summary { min-width: 0; }
.card.report { grid-template-columns: minmax(0, 1fr); }
.report table, .card > table { display: block; overflow-x: auto; max-width: 100%; }
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}

/* ---------- the site could not reach its server: a calm card in the label's look ---------- */
.neterr { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; }
.neterr::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(60vmax 60vmax at 12% -8%, rgba(255, 61, 134, 0.34), transparent 60%), radial-gradient(52vmax 52vmax at 100% 12%, rgba(123, 77, 255, 0.3), transparent 60%), radial-gradient(48vmax 48vmax at 30% 112%, rgba(255, 157, 46, 0.2), transparent 60%); }
.ne-card { width: min(540px, 100%); padding: clamp(26px, 6vw, 46px); border-radius: var(--r-l); text-align: center; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); display: grid; gap: 14px; justify-items: center; }
.ne-mark { color: var(--lilac); filter: drop-shadow(0 0 22px rgba(255, 61, 134, 0.55)); animation: ne-float 5s ease-in-out infinite; }
.ne-mark .logo { width: 62px; height: 70px; }
@keyframes ne-float { 50% { transform: translateY(-6px) rotate(-3deg); } }
.ne-code { font: 600 12px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--lilac); }
.ne-card h1 { font-size: clamp(26px, 6vw, 36px); }
.ne-txt { color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.ne-state { font: 500 12px/1.4 var(--f-mono); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.ne-state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: ne-pulse 1.4s ease-in-out infinite; }
@keyframes ne-pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .ne-mark, .ne-state .dot { animation: none; } }

/* the video page of the cabinet */
.vid-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.vid-page .mini-tiles + .rowlist, .vid-page .rowlist + .mini-tiles { margin-top: 12px; }
@media (max-width: 560px) { .vid-page .mini-tiles { grid-template-columns: 1fr; } .vid-page .mini b, .vid-page .mini small { white-space: normal; overflow: visible; text-overflow: clip; } }

/* the label's roster: sign-up hint, cabinet card, public catalog */
.roster-hint { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-s); background: var(--accent-soft); border: 1px solid var(--glass-line); }
.roster-hint .ro-t { font-size: 14.5px; }
.roster-list { display: grid; gap: 8px; }
.roster-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line); }
.roster-i.on { border-color: var(--accent); }
.roster-i .t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.roster-i .t small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.ro-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.ap-cat { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ap-cat li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--glass); }
.ap-cat small { color: var(--muted); text-align: right; }
@media (max-width: 560px) { .roster-i { flex-wrap: wrap; } .roster-i .ro-ic { display: none; } .roster-i .t { flex-basis: 100%; } .roster-i .btn, .roster-i .pill { margin-left: auto; } }

/* sign-in with services */
.social { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.social-btn:hover { border-color: var(--brand); }
.sb-mark { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font: 700 13px/1 var(--f-body); }

/* the label catalog of an artist */
.cat { display: grid; gap: 10px; }
.cat-a { border-radius: var(--r-s); background: var(--glass); border: 1px solid var(--glass-line); }
.cat-a > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.cat-a > summary::-webkit-details-marker { display: none; }
.cat-a[open] > summary svg { transform: rotate(180deg); }
.cat-t { display: grid; gap: 2px; min-width: 0; }
.cat-t small { color: var(--muted); font-size: 13px; }
.cat-b { padding: 0 16px 16px; display: grid; gap: 10px; }
.cat-tr { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.cat-tr li { counter-increment: t; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 4px; border-top: 1px solid var(--line); }
.cat-tr li::before { content: counter(t); width: 22px; color: var(--faint); font: 500 12px var(--f-mono); }
.cat-tr .n { font-weight: 600; flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.cat-tr .with { color: var(--muted); }
.cat-tr code { font: 500 11.5px var(--f-mono); color: var(--faint); }
.cat-tr .d { font: 500 12.5px var(--f-mono); color: var(--muted); min-width: 38px; text-align: right; }
.cat-e { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--glass-3); color: var(--muted); font: 700 10.5px/1 var(--f-body); }
.cat-pl { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-pl .chip { font-size: 12px; padding: 4px 10px; cursor: default; }

/* a release from the label's catalog */
.dl { margin: 0; display: grid; gap: 0; }
.dl-r { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.dl-r:first-child { border-top: 0; }
.dl-r dt { color: var(--muted); flex: none; }
.dl-r dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.cat-tr .cr { flex-basis: 100%; padding-left: 32px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) { .dl-r { flex-direction: column; gap: 2px; } .dl-r dd { text-align: left; } }
.card h3 .count { margin-left: 10px; }

/* Yandex Music numbers */
.ym-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.ym .ym-who { margin-left: 10px; color: var(--muted); font: 500 13px var(--f-body); }
.ym-num { display: grid; gap: 2px; }
.ym-num b { font: 800 clamp(30px, 4vw, 44px)/1.05 var(--f-body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ym-num span { color: var(--muted); }
.ym-num small { color: var(--faint); }
.ym-d { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 600 12.5px var(--f-body); }
.ym-d.up { background: var(--ok-soft); color: var(--ok); }
.ym-d.down { background: var(--bad-soft); color: var(--bad); }
.ym-chip { display: inline-flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; padding: 7px 14px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--glass-line); color: var(--muted); font-size: 13.5px; text-decoration: none; }
.ym-chip b { color: var(--ink); font-size: 16px; }
.ym-chip { width: fit-content; justify-self: start; align-self: start; }

/* report upload: period first, then the file */
.rp-form h4 { margin: 18px 0 8px; font-size: 15px; }
.rp-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rp-opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line, rgba(255,255,255,.14)); border-radius: 12px; cursor: pointer; }
.rp-opt:has(input:checked) { border-color: var(--accent, #ff4fa3); background: rgba(255,255,255,.04); }
.rp-opt span { display: grid; gap: 2px; }
.rp-opt small { opacity: .7; }
.rp-file.off { opacity: .45; pointer-events: none; }
.rp-form .note.ok { color: var(--ok, #5fd38d); }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 640px) { .rp-opts, .rp-opts.three { grid-template-columns: 1fr; } }
.rp-log { list-style: none; margin: 12px 0 0; padding: 0; max-height: 260px; overflow: auto; display: grid; gap: 4px; font-size: 13px; }
.rp-log .ok { color: var(--ok, #2e7d4f); }
.rp-log .no { color: var(--muted, #888); }
.blk-list { display: grid; gap: 4px; max-height: 52vh; overflow: auto; margin: 12px 0; }
.blk-row { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; cursor: pointer; }
.blk-row:hover { background: rgba(127, 127, 127, .1); }
.blk-row input { width: 18px; height: 18px; flex: none; }
.blk-art { width: 44px; height: 44px; flex: none; border-radius: 6px; overflow: hidden; display: block; }
.blk-art img, .blk-art > * { width: 100%; height: 100%; object-fit: cover; }
.blk-t { display: grid; min-width: 0; }
.blk-t b, .blk-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blk-t { flex: 1; }
.blk-row.off .blk-art, .blk-row.off .blk-t { opacity: 0.45; }
.blk-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
@media (max-width: 640px) { .blk-row { flex-wrap: wrap; } .blk-tags { width: 100%; justify-content: flex-start; padding-left: 86px; } }
.sortsel { display: inline-flex; align-items: center; gap: 8px; }
.insights { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 10px; }
.ins { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(127, 127, 127, .09); }
.ins small { opacity: .7; }
.ins b { font-size: 22px; line-height: 1.2; }
.ins.up b { color: var(--ok, #2e7d4f); }
.ins.down b { color: var(--bad, #c0392b); }

/* ---------- bonuses, promo codes, groups, the invite link ---------- */
.old-price { color: var(--faint); text-decoration-thickness: 1.5px; }
.perk-line { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 14px; font-weight: 600; }
.perk-line .ic { color: var(--accent); flex: none; }
.promo-box summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; padding: 4px 0; list-style: none; }
.promo-box summary::-webkit-details-marker { display: none; }
.promo-box summary::after { content: " →"; }
.promo-box[open] summary::after { content: ""; }
.promo-box form { margin-top: 8px; }
.promo-box .inp, .promo-form .inp { text-transform: uppercase; letter-spacing: 0.06em; }
.promo-box .inp::placeholder, .promo-form .inp::placeholder { text-transform: none; letter-spacing: 0; }
.promo-on { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.promo-on .chip { font: 700 13px var(--f-mono); letter-spacing: 0.06em; }
.promo-on small { color: var(--muted); margin-right: auto; }
.promo-form { display: grid; gap: 6px; }
.promo-form .note:empty { display: none; }
.perk-card { display: flex; align-items: center; gap: 16px; border-color: var(--accent); }
.perk-card h3 { margin: 2px 0 4px; }
.perk-card .note { margin: 0; }

/* the invite page */
.invite { display: grid; gap: 16px; }
.invite-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.invite-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; z-index: -1; background: radial-gradient(closest-side, var(--accent-soft), transparent); }
.invite-copy { display: grid; gap: 12px; min-width: 0; }
.invite-copy h2 { margin: 0; font: 700 clamp(24px, 3.4vw, 38px)/1.08 var(--f-display); letter-spacing: -0.025em; }
.invite-copy .lead { margin: 0; font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); }
.invite-link { display: flex; gap: 8px; flex-wrap: wrap; }
.invite-link .inp { flex: 1 1 240px; min-width: 0; font-size: 14px; }
.invite-qr { display: grid; justify-items: center; gap: 8px; padding: 14px; border-radius: var(--r); background: #fff; color: #333; }
.invite-qr canvas { width: 168px; height: 168px; image-rendering: pixelated; }
.invite-qr small { font-size: 12px; }
.invite-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.invite-steps li { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-s); background: var(--glass); border: 1px solid var(--glass-line); }
.invite-steps .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 4px; }
.invite-steps small { color: var(--muted); }
@media (max-width: 760px) {
  .invite-hero { grid-template-columns: minmax(0, 1fr); }
  .invite-qr { justify-self: center; }
  .invite-steps { grid-template-columns: minmax(0, 1fr); }
  .invite-steps li { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .invite-steps .n { grid-row: span 2; margin: 0; }
  .invite-link .btn { flex: 1; justify-content: center; }
}

/* sign-up: who invited you */
.ref-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-s); background: var(--accent-soft); border: 1px solid var(--accent); text-align: left; }
.ref-banner .ic { color: var(--accent); flex: none; }
.ref-banner p { margin: 0; font-size: 14px; }

/* a password with a «show» button inside the field */
.field > .pass-box, .pass-box { position: relative; display: block; padding: 0; font-size: inherit; color: inherit; }
.pass-box input { width: 100%; padding-right: 52px; }
.pass-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: transparent; border: 0; box-shadow: none; }
.pass-eye.on { color: var(--accent); }

/* the team: groups as cards, codes as a table */
.grp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.grp { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--glass); }
.grp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grp .btnrow { margin-top: 4px; }
.promo-table tr.off td { opacity: 0.55; }
.promo-table td .btnrow { flex-wrap: nowrap; justify-content: flex-end; }

/* ---------- contracts: the signature pad, rows of contracts, the beatmaker's page ---------- */
.sign-pad { position: relative; border-radius: var(--r-s); background: #fbfaf6; border: 1.5px dashed rgba(20, 20, 60, 0.35); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.sign-cv { display: block; width: 100%; aspect-ratio: 3 / 1; cursor: crosshair; touch-action: none; }
.sign-hint { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); color: rgba(20, 20, 60, 0.35); font: 600 15px var(--f-body); pointer-events: none; }
.sign-line { position: absolute; left: 6%; right: 6%; bottom: 22%; border-bottom: 1.5px solid rgba(20, 20, 60, 0.25); pointer-events: none; }
.sign-clear { position: absolute; right: 12px; top: 8px; color: #3a3a60; font-size: 13px; }
.sign-show { border-radius: var(--r-s); background: #fbfaf6; padding: 8px; max-width: 420px; }
.sign-show img { display: block; width: 100%; height: auto; }
.form-sub { margin: 10px 0 -2px; font: 600 12px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.note.warn { color: var(--amber); }
.papers { display: grid; gap: 16px; }
.paper-row { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.paper-row .art { width: 48px; height: 48px; border-radius: 10px; }
.paper-row .btnrow { flex-wrap: nowrap; }
.due-card .rowi { grid-template-columns: auto minmax(0, 1fr) auto; }
.due-card { border-color: var(--amber); }
.due-card .rowi .art { width: 44px; height: 44px; border-radius: 9px; flex: none; }
.bs { display: grid; gap: 16px; }
.bs-head { margin-inline: auto; }
.bs .ticks li { margin-bottom: 6px; }
@media (max-width: 640px) {
  .due-card .lbl { display: none; }
  .paper-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .paper-row > .pill { grid-column: 2; justify-self: start; }
  .paper-row > .btnrow, .paper-row > .iconbtn { grid-column: 3; grid-row: 1; }
}

/* ---------- phones: everything in two tidy columns or one, nothing taller than it has to be ---------- */
@media (max-width: 640px) {
  .page-head h1, .tool-head h1 { font-size: 25px; }
  .panel { padding: 10px var(--gut) 24px; gap: 16px; }
  .card { padding: 16px; border-radius: 22px; }
  /* overview */
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .home-grid .wallet-card { grid-column: 1 / -1; }
  .home-grid > .kpi:last-child:nth-child(even) { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpis > div:last-child:nth-child(odd), .kpis > .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kpis > div, .kpi { padding: 13px 15px; }
  .kpis b, .kpi b { font-size: 19px; }
  .statline { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .statline a { min-width: 0; padding: 8px 12px; }
  .statline span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .mini { padding: 14px 15px; border-radius: 20px; }
  .two { grid-template-columns: minmax(0, 1fr) !important; }
  .todo-i { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .todo-i b { overflow-wrap: anywhere; }
  .todo-i > .btn { grid-column: 2 / -1; justify-self: start; }
  .todo-i > .ic { grid-column: auto; }
  /* releases */
  .rel-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .add-rel { min-width: 0; padding: 14px 14px 14px 22px; }
  .add-rel span { font-size: 17px; }
  .rel-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rel-filters .searchbox { grid-column: 1 / -1; max-width: none; }
  .rel-filters .inp, .rel-filters select, .rel-filters input[type="month"] { width: 100%; max-width: none; }
  .re-grid { grid-template-columns: minmax(0, 1fr); }
  .re-side { position: static; display: grid; gap: 12px; }
  .re-side > .re-cover:not(.small) { width: min(62%, 240px); margin-inline: auto; }
  .bigtabs { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-snap-type: x proximity; }
  .bigtabs::-webkit-scrollbar { display: none; }
  /* tabs of the team's pages scroll in a row instead of wrapping */
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; max-width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs > * { flex: none; }
  .po-acts { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .po-acts .field { grid-column: 1 / -1; }
  /* shop */
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prod { border-radius: 20px; }
  .prod-img { aspect-ratio: 1.15; }
  .prod-body { padding: 12px !important; gap: 4px !important; }
  .prod-body > b { font-size: 16px; }
  .prod-body small, .prod-body p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* events */
  .stats { display: flex !important; flex-wrap: nowrap; gap: 8px; width: 100%; }
  .stats > div { flex: 1 1 0; min-width: 0; }
  .stats > div span { overflow-wrap: anywhere; }
  /* profile: the badge after the facts, a little smaller */
  .id-head[data-lan] > .lan { order: 3; height: 330px; margin-top: 0; }
  .id-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-grid { grid-template-columns: minmax(0, 1fr); }
  .ap-lan .lan { height: 330px; }
  /* forms: 16px inputs so iOS does not zoom the page on focus */
  input, select, textarea, .inp { font-size: 16px !important; }
  .grid2 { grid-template-columns: minmax(0, 1fr) !important; }
  .btnrow.between { row-gap: 8px; }
  /* sheets rise from the bottom like in an app */
  .sheet-bg { place-items: end center; padding: 40px 0 0; }
  .sheet, .sheet.narrow, .sheet.wide { max-width: none; border-radius: 28px 28px 0 0; border-bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); max-height: calc(100vh - 40px); overflow-y: auto; animation: rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .sheet::before { content: ""; justify-self: center; width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin-top: -6px; }
  .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important; }
  .hero { padding: 20px 18px 22px; border-radius: 28px; }
  .block { padding: 26px 14px; border-radius: 28px; }
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none !important; } }

/* ---------- the app on a phone: a pinned header, the page slides in, no way «back to the site» ---------- */
html.app .cab-actions a[title="На сайт"] { display: none; }
@media (max-width: 900px) {
  html.app .cab-top { position: sticky; top: 0; z-index: 30; padding: calc(env(safe-area-inset-top, 0px) + 8px) var(--gut) 8px; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid var(--line); }
  html.app .cab-top .iconbtn { width: 40px; height: 40px; }
  html.app .top { position: sticky; top: 0; margin-top: 0; padding: calc(env(safe-area-inset-top, 0px) + 6px) 10px 6px; }
  html.app .top-bar { min-height: 52px; padding-block: 5px; }
  html.app #main > * { animation: pagein 0.26s ease-out; }
  html.app .tabbar { left: 8px; right: 8px; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); }
  html.app .tab-i { min-height: 52px; }
  html.app .demo-strip { position: static; }
  html.app body { overscroll-behavior-y: contain; -webkit-tap-highlight-color: transparent; }
  html.app a, html.app button { -webkit-touch-callout: none; }
  html.app .plat-run { display: none; }
  html.app .landing { padding-top: 8px; }
}
@keyframes pagein { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { html.app #main > * { animation: none; } }
/* phones in landscape and small tablets: the tab bar stays, content gets two columns back */
@media (min-width: 641px) and (max-width: 900px) { .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .home-grid .wallet-card { grid-column: 1 / -1; } .tabbar { max-width: 560px; margin-inline: auto; } }

/* ---------- the release form on tablets and phones: cover and status on top, the form, then what is missing and sending ---------- */
@media (max-width: 1180px) {
  .re-grid > .re-side { display: contents; }
  .re-grid > .re-main { order: 0; }
  .re-side > * { order: 1; }
  .re-side > .re-top { order: -1; }
  .re-side > .re-cover:not(.small) { width: min(62%, 280px); justify-self: center; }
}
.re-dock { display: none; }
@media (max-width: 900px) {
  .rel-edit { padding-bottom: 70px; }
  .re-dock:not([hidden]) { position: fixed; left: 14px; right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); z-index: 39; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 20px;
    background: color-mix(in srgb, var(--panel-2) 92%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7); }
  .dock-t { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; background: none; border: 0; padding: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
  .dock-t > span:last-child { display: grid; min-width: 0; }
  .dock-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .re-dock { transition: opacity 0.2s, transform 0.2s; }
  .re-dock.away { opacity: 0; transform: translateY(16px); pointer-events: none; }
  .dock-t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--amber); color: var(--amber-ink); font-weight: 800; }
  .dock-n.ok { background: var(--ok); color: #04150c; }
  .re-dock .btn { flex: none; }
}

/* ---------- phones and touch screens: the same motion, made light ----------
   What stays: everything that moves by transform or opacity (the star border, the gradient name, the swinging badge, the card stack, the running line, the reveal of headings).
   What goes: blur under glass on big panels and blurred light behind the page — those repaint the whole screen on every frame. */
html.lite .card, html.lite .block, html.lite .hero, html.lite .glass, html.lite .panel, html.lite .ticket, html.lite .marquee, html.lite .plat-run, html.lite .cell-ic, html.lite .orb.sm, html.lite .holo-bar, html.lite .sheet-bg, html.lite .smart-card, html.lite .evnav a, html.lite .soon { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .top-bar, html.lite .tabbar, html.lite .cab-top { -webkit-backdrop-filter: blur(14px) saturate(150%) !important; backdrop-filter: blur(14px) saturate(150%) !important; }
html.lite { --glass: color-mix(in srgb, var(--panel) 86%, transparent); --glass-2: var(--panel-2); }
html.lite .panel { background: transparent; }
/* the light behind the page: soft gradient spots that drift — moved, never blurred */
html.lite .ambient .blob { filter: none; opacity: 1; background: radial-gradient(circle, color-mix(in srgb, var(--c) 70%, transparent) 0%, transparent 62%) !important; will-change: transform; }
html.lite .ambient .b1 { --c: var(--blob-a); } html.lite .ambient .b2 { --c: var(--blob-b); } html.lite .ambient .b3 { --c: var(--blob-c); } html.lite .ambient .b4 { --c: var(--blob-d); }
html.lite .ambient .covers, html.lite .ambient::before { display: none; }
html.lite .hero-light i { filter: none; background: radial-gradient(circle, var(--blob-a), transparent 65%); will-change: transform; }
html.lite .hero-light i:nth-child(2) { background: radial-gradient(circle, var(--blob-b), transparent 65%); }
html.lite .hero-light i:nth-child(3) { background: radial-gradient(circle, var(--blob-c), transparent 65%); }
html.lite .cell::before, html.lite .swap-card::before { filter: none; background: radial-gradient(circle, var(--tint, var(--blob-a)), transparent 65%); opacity: 0.45; }
html.lite .stars-sec::before, html.lite .about-sec::before, html.lite .devices::before, html.lite .panel::before, html.lite main.glowpage::before { filter: none; }
html.lite .smart-bg:not(.flat) { filter: blur(26px) saturate(1.3); }
/* reveal of headings: words rise and fade in, without the blur filter */
html.lite .blurin .bw { filter: none !important; }
/* a tap lights the card under the finger, as the spotlight does under a mouse */
html.lite .lit { background-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--lilac) 22%, transparent), transparent 70%) !important; }
html.lite .cell:active, html.lite .tile:active, html.lite .tool:active, html.lite .prod:active, html.lite .holo:active, html.lite .mini:active, html.lite .id-q:active, html.lite .rowi:active { transform: scale(0.97); transition: transform 0.12s; }
html.lite .btn:active, html.lite .iconbtn:active, html.lite .tab-i:active { transform: scale(0.94); }
/* glare: on touch the main buttons catch the light by themselves every few seconds */
html.lite .hero-cta .btn.primary::before, html.lite .duo .btn.primary::before, html.lite .tariff.hot::before { animation: glare 4.5s ease-in-out infinite; }
html.lite .btn.primary:active::before, html.lite a.smart-link[href]:active::before { transform: translateX(130%); }
@keyframes glare { 0%, 62% { transform: translateX(-130%); } 82%, 100% { transform: translateX(130%); } }
/* holographic release cards: the shine drifts by itself on the card in the middle of the row */
html.lite .holo-shine { inset: -50%; background-size: 100% 100%; background-position: 0 0; mix-blend-mode: soft-light; opacity: 0.55; filter: none; will-change: transform; animation: holo 7s ease-in-out infinite alternate; }
html.lite .holo-glare { opacity: 0.5; --px: 30%; --py: 20%; }
@keyframes holo { from { transform: translate(-18%, -12%) rotate(0deg); } to { transform: translate(18%, 12%) rotate(8deg); } }
html.lite .tf span { filter: blur(2px); }
html.lite .tf span.on { filter: none; }
html.lite .holo-bar { background: rgba(10, 8, 16, 0.6); }
html.lite .sheet-bg { background: rgba(7, 5, 11, 0.72); }
html.lite .lan-strap path { filter: none; }
.tile .px { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { html.lite .holo-shine, html.lite .hero-cta .btn.primary::before, html.lite .duo .btn.primary::before, html.lite .tariff.hot::before { animation: none; } }

/* ---------- looks beyond dark and light: data-tone on <html> over the dark or light base (data-theme) ----------
   mono — black and white on paper; noir — black and white at night, film grain and a vignette;
   contrast — black, white and yellow, no glass, for bright sun and weak eyes; neon — cyan and acid green on deep blue. */

/* ---- Ч/Б: the light base, every colour taken out ---- */
:root[data-tone="mono"] {
  --bg: #f3f3f1; --bg-2: #e9e9e6; --panel: #ffffff; --panel-2: #f1f1ef; --panel-3: #e2e2df;
  --ink: #0b0b0b; --muted: #3f3f3f; --faint: #767676;
  --violet: #111111; --violet-2: #000000; --violet-ink: #ffffff; --lilac: #111111; --lilac-ink: #ffffff; --glow: #9a9a9a;
  --accent: #111111; --accent-ink: #ffffff; --accent-soft: rgba(0, 0, 0, 0.08);
  --amber: #333333; --amber-ink: #ffffff; --amber-soft: rgba(0, 0, 0, 0.07);
  --ok: #111111; --ok-soft: rgba(0, 0, 0, 0.08); --bad: #111111; --bad-soft: rgba(0, 0, 0, 0.1);
  --line: rgba(0, 0, 0, 0.12); --line-2: rgba(0, 0, 0, 0.22);
  --glass: rgba(255, 255, 255, 0.62); --glass-2: rgba(255, 255, 255, 0.78); --glass-line: rgba(0, 0, 0, 0.1); --glass-shadow: rgba(0, 0, 0, 0.12); --veil: rgba(243, 243, 241, 0.55);
  --blob-a: #c9c9c9; --blob-b: #a9a9a9; --blob-c: #e2e2e2; --blob-d: #bdbdbd; --amb-op: 0.55;
}
/* ---- Нуар: the dark base in black and white ---- */
:root[data-tone="noir"] {
  --bg: #050505; --bg-2: #0b0b0b; --panel: #121212; --panel-2: #1a1a1a; --panel-3: #262626;
  --ink: #f3f3f3; --muted: #ababab; --faint: #727272;
  --violet: #ededed; --violet-2: #ffffff; --violet-ink: #050505; --lilac: #f3f3f3; --lilac-ink: #050505; --glow: #ffffff;
  --accent: #f3f3f3; --accent-ink: #050505; --accent-soft: rgba(255, 255, 255, 0.12);
  --amber: #d9d9d9; --amber-ink: #050505; --amber-soft: rgba(255, 255, 255, 0.1);
  --ok: #e8e8e8; --ok-soft: rgba(255, 255, 255, 0.1); --bad: #c4c4c4; --bad-soft: rgba(255, 255, 255, 0.08);
  --blob-a: #3d3d3d; --blob-b: #1e1e1e; --blob-c: #5a5a5a; --blob-d: #2a2a2a; --amb-op: 0.65;
}
/* pictures lose their colour too: covers, photos, the chrome star, the glow behind the newest release */
:root:is([data-tone="mono"], [data-tone="noir"]) :is(img, video, canvas, .art, .ph-ava) { filter: grayscale(1) contrast(1.08); }
:root:is([data-tone="mono"], [data-tone="noir"]) :is(.spot, .ambient .covers, .hero-light, .smart-bg) { filter: grayscale(1); }
:root:is([data-tone="mono"], [data-tone="noir"]) .chip.genre { background: var(--panel-3); color: var(--ink); box-shadow: none; }
:root[data-tone="mono"] .block.dotted { background-image: radial-gradient(rgba(0, 0, 0, 0.09) 1.2px, transparent 1.4px); }
/* noir: a vignette and a little more grain, like a film still */
:root[data-tone="noir"] .ambient::before { opacity: 0.16; }
:root[data-tone="noir"] body::after { content: ""; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }
:root[data-tone="noir"] :is(h1, h2, .wordmark) { letter-spacing: -0.015em; }

/* ---- Контраст: pure black and white, yellow for what can be pressed, no glass and no blur ---- */
:root[data-tone="contrast"] {
  --bg: #000000; --bg-2: #000000; --panel: #000000; --panel-2: #0d0d0d; --panel-3: #1c1c1c;
  --ink: #ffffff; --muted: #ffffff; --faint: #dcdcdc;
  --violet: #ffe500; --violet-2: #fff176; --violet-ink: #000000; --lilac: #ffe500; --lilac-ink: #000000; --glow: #ffe500;
  --accent: #ffe500; --accent-ink: #000000; --accent-soft: rgba(255, 229, 0, 0.2);
  --amber: #ffe500; --amber-ink: #000000; --amber-soft: rgba(255, 229, 0, 0.18);
  --ok: #6dffa8; --ok-soft: rgba(109, 255, 168, 0.18); --bad: #ff7b7b; --bad-soft: rgba(255, 123, 123, 0.18);
  --line: #ffffff; --line-2: #ffffff;
  --glass: #000000; --glass-2: #111111; --glass-3: #1c1c1c; --glass-line: #ffffff; --glass-hi: #ffffff; --glass-lo: transparent; --glass-field: #000000; --glass-shadow: transparent; --veil: rgba(0, 0, 0, 0.88);
  --blob-a: #000000; --blob-b: #000000; --blob-c: #000000; --blob-d: #000000; --amb-op: 0;
  --blur: none; --shadow: none;
}
:root[data-tone="contrast"] .ambient::before, :root[data-tone="contrast"] .hero-light, :root[data-tone="contrast"] .spot::before { display: none; }
:root[data-tone="contrast"] :focus-visible { outline: 3px solid #ffe500; outline-offset: 3px; }
:root[data-tone="contrast"] .btn { border: 2px solid currentColor; }
:root[data-tone="contrast"] .btn.primary { border-color: #ffe500; box-shadow: none; }
:root[data-tone="contrast"] :is(.inp, input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border: 2px solid #ffffff; background: #000000; color: #ffffff; }
:root[data-tone="contrast"] :is(.note, .sub, small, .muted) { color: #ffffff; }
:root[data-tone="contrast"] :is(.prose, .note, .lead, .about) a { color: #ffe500; text-decoration: underline; text-underline-offset: 3px; }
:root[data-tone="contrast"] .holo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.92) 100%); }
:root[data-tone="contrast"] .holo-bar { background: #000000; border: 2px solid #ffffff; }
:root[data-tone="contrast"] :is(.holo-shine, .holo-glare) { display: none; }
:root[data-tone="contrast"] .ver-chip { background: #ffe500; color: #000000; }

/* ---- Неон: deep blue night, cyan and acid green ---- */
:root[data-tone="neon"] {
  --bg: #04050f; --bg-2: #080a1c; --panel: #0d1026; --panel-2: #131737; --panel-3: #1c214d;
  --ink: #ecfdff; --muted: #a2b8d4; --faint: #6c7f9c;
  --violet: #00e5ff; --violet-2: #5ef2ff; --violet-ink: #001216; --lilac: #c6ff00; --lilac-ink: #0b1300; --glow: #00f0ff;
  --accent: #c6ff00; --accent-ink: #0b1300; --accent-soft: rgba(198, 255, 0, 0.16);
  --amber: #ffd23f; --amber-soft: rgba(255, 210, 63, 0.16);
  --blob-a: #00e5ff; --blob-b: #ff00d4; --blob-c: #c6ff00; --blob-d: #3d5afe; --amb-op: 0.5;
}
:root[data-tone="neon"] :is(h1, h2) em, :root[data-tone="neon"] .wordmark em { color: var(--lilac); text-shadow: 0 0 22px rgba(198, 255, 0, 0.55); }
:root[data-tone="neon"] .btn.primary { box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.6), 0 0 26px -4px rgba(0, 229, 255, 0.75); }

/* ---- the picker: a swatch per look ---- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.theme-i { display: grid; gap: 8px; padding: 10px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--glass); color: var(--ink); cursor: pointer; text-align: left; font: inherit; transition: border-color 0.2s, transform 0.2s; }
.theme-i:hover { transform: translateY(-2px); border-color: var(--line-2); }
.theme-i[aria-pressed="true"] { border: 2px solid var(--accent); padding: 9px; }
.theme-i b { font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.theme-i small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.theme-sw { height: 54px; border-radius: 12px; position: relative; overflow: hidden; background: var(--sw-bg); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.3); }
.theme-sw::before { content: ""; position: absolute; left: 10px; bottom: 10px; width: 46%; height: 12px; border-radius: 6px; background: var(--sw-a); }
.theme-sw::after { content: ""; position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--sw-b); }
