/* =====================================================================
   RADIO CHAT — FAZA 1 (UI/UX prototip)
   Čist CSS, bez frameworka. Boje i mere preuzete iz odobrenog mockupa.
   ===================================================================== */

/* ---------- 1. Tokeni ---------- */
:root {
  --bg: #050f19;
  --bg-2: #071322;
  --panel: #0a1520;
  --panel-2: #0e1a29;
  --panel-3: #152233;
  --chat: #0f1a28;
  --head: #07111c;
  --line: #182637;
  --line-2: #233349;
  --text: #eef2f8;
  --text-2: #cfd7e3;
  --muted: #8f9bb0;
  --muted-2: #66738a;

  --violet: #7246f3;
  --violet-2: #8b5cf6;
  --indigo: #1e1987;
  --blue: #3b46f0;
  --periwinkle: #5b6ee1;
  --cyan: #0a9ded;
  --green: #2bc47f;
  --green-2: #39c55e;
  --pink: #e0186a;
  --red: #e50914;
  --amber: #f59e0b;

  --grad-active: linear-gradient(90deg, #8a33c2 0%, #4c30c0 55%, #5b6bd8 100%);
  --grad-send: linear-gradient(135deg, #5a3be6, #9566f2);
  --grad-pink: linear-gradient(90deg, #e0186a, #6a2cc4);
  --grad-side: linear-gradient(90deg, #3a30d1, #1d3fd0);
  --grad-pill: linear-gradient(90deg, #3b3df5, #4f46e5);

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);

  --hdr-h: 56px;
  --mini-h: 64px;
  --mini-space: 0px;
  --bnav-h: 0px;
  --hero-h: 157px;
  --ad-w: clamp(130px, 9.6vw, 160px);

  --font: "Roboto", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-cond: "Bahnschrift SemiBold Condensed", "Bahnschrift Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, var(--font);
  --font-display: "Montserrat", "Segoe UI", var(--font);
  color-scheme: dark;
}

/* ---------- 2. Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.42 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.has-mini { --mini-space: var(--mini-h); }
img, svg { max-width: 100%; }
a { color: #a5b4fc; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; }
p { margin: 0 0 10px; }
:focus-visible { outline: 2px solid #8b7bff; outline-offset: 2px; }
::selection { background: rgba(114, 70, 243, .45); }
* { scrollbar-width: thin; scrollbar-color: #2a3a52 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #243349; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 13px; height: 13px; }
.ic-lg { width: 26px; height: 26px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 10px; }
.noscript { padding: 40px; text-align: center; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.mt { margin-top: 14px; }
.mt-s { margin-top: 8px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[hidden] { display: none !important; }

/* ---------- 3. Kontrole ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid transparent; background: var(--panel-3); color: #fff;
  font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: filter .15s, background-color .15s, border-color .15s, transform .1s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, #6d40f2, #8b5cf6); box-shadow: 0 6px 18px rgba(109, 64, 242, .3); }
.btn-blue { background: linear-gradient(90deg, #4f46e5, #6366f1); }
.btn-pink { background: var(--grad-pink); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.btn-danger { background: #b4232a; }
.btn-success { background: #15803d; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-xs { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 6px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }

.icon-btn {
  width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center;
  border-radius: var(--r); background: transparent; border: 0; color: var(--text-2); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.icon-btn.on { color: #f472b6; }
.icon-btn-sm { width: 28px; height: 28px; }
.icon-btn-sm .ic { width: 16px; height: 16px; }

.input, .select, .textarea {
  width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r-sm);
  background: #152333; border: 1px solid #1e2e42; color: var(--text); font-size: 14px;
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.textarea { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23aab4c3' stroke-width='3' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.input:focus, .select:focus, .textarea:focus { border-color: #6d5cff; box-shadow: 0 0 0 3px rgba(109, 92, 255, .22); }
.input::placeholder, .textarea::placeholder { color: #7c889c; }
.input.is-invalid, .textarea.is-invalid { border-color: #ef4444; }
.input[readonly] { color: var(--text-2); background: #111d2b; }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .ig-btn { flex: none; width: 42px; display: grid; place-items: center; background: #1b2a3e; border: 1px solid #1e2e42; border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-2); cursor: pointer; }
.input-group .ig-btn:hover { color: #fff; background: #22344d; }

.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-weight: 600; font-size: 13px; color: var(--text); }
.hint { color: var(--muted); font-size: 12px; }
.err { color: #f87171; font-size: 12px; min-height: 0; }
.req { color: #f472b6; }
.form-grid { display: grid; gap: 14px; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.tgl { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 6px 0; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl-ui { flex: none; width: 40px; height: 22px; border-radius: 22px; background: #26364c; position: relative; transition: background .2s; margin-top: 1px; }
.tgl-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #cbd5e1; transition: transform .2s, background .2s; }
.tgl input:checked + .tgl-ui { background: var(--violet); }
.tgl input:checked + .tgl-ui::after { transform: translateX(18px); background: #fff; }
.tgl input:focus-visible + .tgl-ui { outline: 2px solid #8b7bff; outline-offset: 2px; }
.tgl input:disabled + .tgl-ui { opacity: .5; }
.tgl-txt { display: grid; gap: 2px; min-width: 0; }
.tgl-txt b { font-weight: 600; font-size: 14px; }
.tgl-txt small { color: var(--muted); font-size: 12.5px; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet); flex: none; cursor: pointer; }

.seg { display: inline-flex; background: #0d1826; border: 1px solid var(--line-2); border-radius: var(--r); padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { height: 30px; padding: 0 12px; border-radius: 6px; border: 0; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.seg button:hover { color: #fff; }
.seg button.on { background: var(--violet); color: #fff; }
.seg-sm button { height: 26px; padding: 0 9px; font-size: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px;
  border-radius: 999px; background: #152031; border: 1px solid #223047; color: #dbe2ee;
  font: 500 13px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s;
}
.pill:hover { border-color: #3a4b66; color: #fff; }
.pill.on { background: var(--grad-pill); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(59, 61, 245, .35); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #142133; border: 1px solid #22324a; color: var(--text-2); font-size: 12.5px; white-space: nowrap; }
.chip button { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.chip button:hover { color: #fff; }
.chip.on { background: rgba(114, 70, 243, .2); border-color: #6d4df0; color: #fff; }
button.chip { cursor: pointer; }

.badge { display: inline-flex; align-items: center; gap: 4px; font: 700 10px/1 var(--font); padding: 3px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; white-space: nowrap; }
.b-dj { background: rgba(37, 99, 235, .22); color: #93c5fd; }
.b-mod { background: rgba(16, 185, 129, .18); color: #6ee7b7; }
.b-admin { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.b-me { background: rgba(139, 92, 246, .22); color: #c4b5fd; }
.b-new { background: #e0186a; color: #fff; }
.b-live { background: var(--red); color: #fff; }
.b-feat { background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; }
.b-ad { background: rgba(245, 158, 11, .18); color: #fbbf24; }

.st-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 12px/1 var(--font); white-space: nowrap; }
.st-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-chip.ok { background: rgba(57, 197, 94, .14); color: #4ade80; }
.st-chip.warn { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.st-chip.bad { background: rgba(239, 68, 68, .14); color: #f87171; }
.st-chip.info { background: rgba(99, 102, 241, .16); color: #a5b4fc; }
.st-chip.off { background: rgba(148, 163, 184, .12); color: #94a3b8; }

input[type=range].range {
  -webkit-appearance: none; appearance: none; flex: 1; min-width: 60px; height: 6px; border-radius: 3px; margin: 0;
  background: linear-gradient(90deg, #7246f3 var(--val, 50%), #1e2b3e var(--val, 50%)); outline: none; cursor: pointer;
}
input[type=range].range::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%; background: #7a4ff5; border: 0; box-shadow: 0 0 0 4px rgba(122, 79, 245, .2), 0 2px 6px rgba(0, 0, 0, .4); }
input[type=range].range::-moz-range-thumb { width: 17px; height: 17px; border-radius: 50%; background: #7a4ff5; border: 0; box-shadow: 0 0 0 4px rgba(122, 79, 245, .2); }
input[type=range].range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(139, 123, 255, .6); }

.field-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: #101c2e; border: 1px solid #223049; border-radius: var(--r); width: min(100%, 320px); color: #c3cad8; }
.field-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 14px; }
.field-search input::placeholder { color: #8a94a8; }
.field-search:focus-within { border-color: #4f46e5; }

.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: rgba(99, 102, 241, .1); border: 1px solid rgba(99, 102, 241, .3); color: #c7d2fe; font-size: 13px; line-height: 1.5; }
.note .ic { color: #a5b4fc; margin-top: 1px; }
.note.warn { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .35); color: #fde68a; }
.note.warn .ic { color: #fbbf24; }
.note.ok { background: rgba(57, 197, 94, .08); border-color: rgba(57, 197, 94, .3); color: #bbf7d0; }
.note.ok .ic { color: #4ade80; }
.note.bad { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .35); color: #fecaca; }
.note.bad .ic { color: #f87171; }
.note b { color: #fff; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; flex: none; }

/* ---------- 4. Ljuska i bočni baneri ---------- */
.shell {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px;
  width: 100%; max-width: 1222px; margin: 0 auto; padding: 0 16px calc(var(--mini-space) + var(--bnav-h));
}
.center { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.view { flex: 1; min-width: 0; outline: none; }
.side-ad { display: none; }
@media (min-width: 1400px) {
  body[data-layout=public] .shell, body[data-layout=radio] .shell { grid-template-columns: var(--ad-w) minmax(0, 1fr) var(--ad-w); max-width: calc(1190px + var(--ad-w) * 2 + 60px); }
  body[data-layout=public] .side-ad, body[data-layout=radio] .side-ad { display: block; }
}
body[data-layout=admin] .shell { max-width: 1480px; }

.side-ad { position: sticky; top: 6px; align-self: start; height: min(calc(100vh - 12px - var(--mini-space)), 820px); margin-top: 6px; }
.ad-tall {
  position: relative; height: 100%; border-radius: 6px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-decoration: none;
  padding: 18% 10px 9%;
  background:
    radial-gradient(60% 30% at 70% 6%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(70% 40% at 20% 30%, rgba(59, 130, 246, .55), transparent 70%),
    linear-gradient(180deg, #4338ca 0%, #6d28d9 24%, #a21caf 50%, #db2777 70%, #f97316 88%, #1e0a2c 100%);
}
.ad-tall::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .07) 22px 25px, transparent 25px 60px);
}
.ad-tall .ad-crowd { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: -1; width: 100%; }
.ad-tall .ad-big { font: 700 clamp(26px, 2.5vw, 40px)/1.04 var(--font-cond); letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 3px 14px rgba(0, 0, 0, .35); }
.ad-tall .ad-size { margin-top: auto; margin-bottom: auto; font: 400 clamp(18px, 1.6vw, 24px)/1 var(--font-cond); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.ad-tall .ad-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 128px; min-height: 38px; padding: 6px 8px; border-radius: 6px; background: linear-gradient(180deg, #5b4ff0, #4338ca); box-shadow: 0 6px 20px rgba(30, 20, 120, .5); font: 700 clamp(12px, 1vw, 15px)/1.1 var(--font-cond); text-transform: uppercase; letter-spacing: .01em; }
.ad-tall:hover .ad-cta { filter: brightness(1.15); }
.ad-label { position: absolute; top: 6px; right: 6px; font: 700 9px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .45); color: #fff; padding: 3px 5px; border-radius: 3px; }

.ad-wide {
  display: none; position: relative; margin-top: 14px; border-radius: 10px; overflow: hidden; min-height: 90px;
  align-items: center; justify-content: center; gap: 18px; padding: 12px 18px; color: #fff; text-decoration: none; text-align: center;
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .07) 22px 25px, transparent 25px 60px),
    linear-gradient(90deg, #4338ca, #7c3aed 35%, #c026d3 65%, #f97316);
}
.ad-wide .ad-big { font: 700 26px/1 var(--font-cond); text-transform: uppercase; }
.ad-wide .ad-size { font: 400 18px/1 var(--font-cond); opacity: .9; }
.ad-wide .ad-cta { padding: 9px 14px; border-radius: 6px; background: #4338ca; font: 700 14px/1 var(--font-cond); text-transform: uppercase; box-shadow: 0 6px 20px rgba(30, 20, 120, .45); }
@media (max-width: 1399px) { body[data-layout=public] .ad-wide { display: flex; } }

/* ---------- 5. Zaglavlje ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr-h);
  display: flex; align-items: center; gap: clamp(12px, 2.6vw, 44px);
  background: var(--bg);
}
.hdr::after { content: ""; position: absolute; left: -16px; right: -16px; bottom: -10px; height: 10px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.brand-ic { width: 35px; height: 31px; flex: none; }
.brand-txt b { display: block; font: 700 21px/1 var(--font); letter-spacing: .01em; }
.brand-txt small { display: block; font-size: 12.5px; color: #cdd5e1; margin-top: 3px; }
.nav { display: flex; gap: 6px; }
.nav a { position: relative; padding: 9px 16px; border-radius: var(--r); color: #e6ebf3; text-decoration: none; font: 500 15px/1.2 var(--font); white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, .05); }
.nav a.active { background: var(--indigo); color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 4px; height: 3px; border-radius: 2px; background: #6b3ce0; }
.hdr-search { margin-left: auto; position: relative; width: clamp(200px, 24vw, 320px); height: 38px; display: flex; align-items: center; background: #131c38; border: 1px solid #232c52; border-radius: var(--r); }
.hdr-search:focus-within { border-color: #4f46e5; }
.hdr-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; padding: 0 12px; font-size: 14px; }
.hdr-search input::placeholder { color: #a8b0c8; }
.hdr-search > button { width: 40px; height: 100%; display: grid; place-items: center; background: none; border: 0; color: #c8cfe6; cursor: pointer; }
.hdr-btn { display: none; }
.search-pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 260px; background: #0f1a2a; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; z-index: 60; max-height: 380px; overflow: auto; }
.search-pop .sp-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; color: inherit; text-decoration: none; }
.search-pop .sp-row:hover, .search-pop .sp-row.on { background: rgba(255, 255, 255, .06); }
.search-pop .sp-empty { padding: 12px; color: var(--muted); text-align: center; }
.search-pop .sp-all { display: block; text-align: center; padding: 8px; font-size: 13px; color: #a5b4fc; text-decoration: none; border-top: 1px solid var(--line); margin-top: 4px; }
mark { background: rgba(139, 92, 246, .35); color: #fff; border-radius: 2px; padding: 0 1px; }

/* ---------- 6. Podnožje ---------- */
.ftr { margin-top: 26px; padding: 22px 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ftr-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 24px; }
.ftr-cols h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.ftr-cols a:not(.brand) { display: block; color: var(--text-2); text-decoration: none; padding: 3px 0; }
.ftr-cols a:not(.brand):hover { color: #fff; }
.ftr-brand p { margin-top: 12px; max-width: 360px; line-height: 1.55; }
.ftr-brand .brand-txt b { font-size: 18px; }
.ftr-role { margin-top: 10px; display: grid; gap: 6px; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
body[data-layout=radio] .ftr, body[data-layout=admin] .ftr { display: none; }

/* ---------- 7. Paneli ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.panel-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 8px 0 14px; background: var(--head); border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.panel-head h2 { font: 700 14.5px/1 var(--font); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-head .row { gap: 2px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.section-title h2 { font: 700 18px/1.2 var(--font); }
.section-title a { color: #a5b4fc; text-decoration: none; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.page-head h1 { font: 700 26px/1.15 var(--font); }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.crumbs { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.empty { padding: 34px 16px; text-align: center; color: var(--muted); }
.empty .ic { width: 40px; height: 40px; color: #34445e; margin-bottom: 8px; }

/* ---------- 8. Hero (baner radija) ---------- */
.hero {
  position: relative; height: var(--hero-h); border-radius: var(--r-lg); overflow: hidden; border: 1px solid #1c2940; isolation: isolate;
  background:
    radial-gradient(28% 70% at 74% -8%, rgba(59, 130, 246, .55), transparent 70%),
    radial-gradient(22% 60% at 92% 10%, rgba(37, 99, 235, .35), transparent 70%),
    radial-gradient(40% 80% at 60% 110%, rgba(220, 38, 38, .45), transparent 70%),
    radial-gradient(30% 50% at 46% 70%, rgba(239, 68, 68, .35), transparent 70%),
    linear-gradient(90deg, #170a1d 0%, #1a0d2b 45%, #121337 75%, #0d1030 100%);
}
.hero-eq { position: absolute; left: 50%; width: 30%; bottom: 0; height: 74%; z-index: -1; opacity: .5; }
.hero-art { position: absolute; inset: 0 auto 0 0; width: min(54%, 640px); z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.hero-art img, .hero-art svg { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.hero-body { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 26px 0 51%; }
.hero-main { min-width: 0; }
.hero-title { font: 800 clamp(26px, 3.2vw, 40px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; margin: 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tagline { font: 400 clamp(17px, 1.7vw, 22px)/1.2 var(--font); margin: 6px 0 12px; color: #f3f4f8; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; max-height: 32px; overflow: hidden; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: rgba(18, 22, 46, .72); border: 1px solid rgba(255, 255, 255, .14); font: 500 14px/1 var(--font); color: #fff; text-decoration: none; white-space: nowrap; }
.tag:hover { border-color: rgba(255, 255, 255, .35); }
.hero-side { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-listeners { display: flex; align-items: center; gap: 10px; }
.hero-listeners .ic { width: 36px; height: 36px; color: #fff; }
.hero-listeners b { display: block; font: 700 22px/1 var(--font); }
.hero-listeners small { display: block; font-size: 13px; color: #d4d9e4; margin-top: 3px; }
.btn-follow { height: 36px; padding: 0 18px; border-radius: 6px; background: var(--grad-pink); border: 0; color: #fff; font: 600 15px/1 var(--font); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 6px 18px rgba(224, 24, 106, .3); white-space: nowrap; }
.btn-follow:hover { filter: brightness(1.1); }
.btn-follow.on { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-follow .ic { width: 19px; height: 19px; }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; border-radius: 6px; }
.socials .ic { width: 24px; height: 24px; }

/* ---------- 9. Stranica radija ---------- */
.radio-page { --rp-h: clamp(440px, calc(100vh - var(--hdr-h) - var(--hero-h) - 30px - var(--mini-space)), 780px); }
.rp-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 275px; gap: 10px; margin-top: 10px; height: var(--rp-h); }
.rp-grid > .panel { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.rp-right { display: contents; }
.np-strip, .rp-tabs, .rp-grid > .info-panel { display: none; }

/* lista radija */
.list-panel .panel-head { padding-right: 6px; }
.list-search { padding: 8px; border-bottom: 1px solid var(--line); }
.list-search .field-search { width: 100%; height: 36px; }
.st-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.st-row { display: flex; align-items: center; gap: 11px; min-height: 43.5px; padding: 4px 12px 4px 11px; border-bottom: 1px solid #0e1a28; color: inherit; text-decoration: none; position: relative; }
.st-row:hover { background: #0e1b2b; }
.st-row.active { background: var(--grad-active); border-radius: 5px; margin: 2px 3px; padding-left: 8px; padding-right: 9px; border-bottom-color: transparent; box-shadow: inset 0 0 0 1px rgba(182, 166, 255, .4), 0 6px 18px rgba(76, 48, 192, .35); }
.st-logo { width: 48px; height: 34px; border-radius: 4px; overflow: hidden; flex: none; background: #000; }
.st-logo svg { width: 100%; height: 100%; display: block; }
.st-txt { flex: 1; min-width: 0; }
.st-txt b { display: block; font: 500 14px/1.2 var(--font); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-txt span { display: block; font-size: 12.5px; line-height: 1.3; color: #aeb8c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.st-row.active .st-txt span { color: #e8e3ff; }
.st-count { flex: none; display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: #e6ebf3; }
.st-count .ic { width: 15px; height: 15px; color: var(--green); }
.st-row.active .st-count .ic { color: #f59e0b; }
.st-eq { flex: none; width: 18px; height: 16px; display: flex; align-items: flex-end; gap: 2px; margin-left: 4px; }
.st-eq i { flex: 1; background: #fff; border-radius: 1px; height: 40%; animation: eq .9s ease-in-out infinite alternate; }
.st-eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.st-eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.st-eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }

/* chat */
.chat-panel { background: var(--chat); position: relative; }
.chat-panel .panel-head { background: var(--head); }
.chat-online { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: 6px; background: none; border: 0; color: #dfe5ee; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chat-online:hover { background: rgba(255, 255, 255, .06); }
.chat-online .ic { width: 19px; height: 19px; }
.chat-modbadge { margin-right: 4px; }
.chat-body { position: relative; flex: 1; min-height: 0; display: flex; overflow: hidden; }
.msgs { flex: 1; min-width: 0; overflow-y: auto; padding: 8px 10px 10px 12px; overscroll-behavior: contain; }
.msg { display: grid; grid-template-columns: 42px 26px minmax(0, 1fr); align-items: start; column-gap: 11px; padding: 2px 6px; border-radius: 6px; position: relative; min-height: 29px; }
.msg:hover { background: rgba(255, 255, 255, .035); }
.msg time { font-size: 13px; color: #8593a7; padding-top: 5px; font-variant-numeric: tabular-nums; }
.msg-ava { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; padding: 0; border: 0; background: none; cursor: pointer; margin-top: 1.5px; display: block; }
.msg-ava svg { width: 100%; height: 100%; display: block; }
.msg-main { padding-top: 3.5px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; min-width: 0; }
.msg-name { font: 600 14.5px/1.45 var(--font); background: none; border: 0; padding: 0; cursor: pointer; margin-right: 10px; }
.msg-name:hover { text-decoration: underline; }
.msg-main .badge { margin: -2px 8px 0 -4px; }
.msg-text { color: #f1f4f9; }
.msg.is-me .msg-text { color: #fff; }
.msg.is-mention { background: rgba(109, 64, 242, .13); box-shadow: inset 3px 0 0 #7c4dff; }
.msg.is-deleted .msg-text { color: #6b778a; font-style: italic; }
.msg.is-sys { grid-template-columns: 42px minmax(0, 1fr); column-gap: 11px; min-height: 24px; }
.msg-sys { color: #8d9bb1; font-size: 13px; padding-top: 4px; }
.msg-sys .ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.msg-sys.mod { color: #fbbf24; }
.msg-sys.ok { color: #6ee7b7; }
.mention { color: #b9a4ff; font-weight: 600; }
.msg-gif { display: block; width: 168px; max-width: 100%; height: 100px; border-radius: 8px; margin-top: 4px; position: relative; overflow: hidden; font: 800 24px/100px var(--font-cond); text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); letter-spacing: .02em; }
.msg-gif::after { content: "GIF"; position: absolute; left: 6px; bottom: 6px; font: 800 9px/1 var(--font); padding: 2px 4px; border-radius: 3px; background: rgba(0, 0, 0, .5); letter-spacing: .06em; }
.msg-tools { display: none; gap: 2px; position: absolute; right: 6px; top: -10px; z-index: 2; background: #16233a; border: 1px solid var(--line-2); border-radius: 7px; padding: 2px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.msg:hover .msg-tools, .msg:focus-within .msg-tools { display: flex; }
.msg-tools button { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 5px; background: none; border: 0; color: #c7cfdc; cursor: pointer; }
.msg-tools button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.msg-tools button.danger:hover { color: #f87171; }
.msg-tools .ic { width: 15px; height: 15px; }
.msgs.no-time .msg { grid-template-columns: 26px minmax(0, 1fr); }
.msgs.no-time .msg time { display: none; }
.msgs.no-time .msg.is-sys { grid-template-columns: minmax(0, 1fr); padding-left: 43px; }
.msgs.fs-s .msg-main, .msgs.fs-s .msg-name { font-size: 13px; }
.msgs.fs-l .msg-main, .msgs.fs-l .msg-name { font-size: 16.5px; }
.msgs.compact .msg { min-height: 24px; padding-top: 0; padding-bottom: 0; }
.msgs.compact .msg-ava { width: 20px; height: 20px; margin-top: 3px; }
.chat-new { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--violet); color: #fff; border: 0; font: 600 13px var(--font); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.chat-note { flex: none; display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 12.5px; color: #fde68a; background: rgba(245, 158, 11, .08); border-top: 1px solid rgba(245, 158, 11, .22); }
.chat-note .ic { width: 15px; height: 15px; }
.chat-note.lock { color: #fecaca; background: rgba(239, 68, 68, .08); border-top-color: rgba(239, 68, 68, .25); }
.composer { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: #0c1724; }
.composer-box { flex: 1; min-width: 0; display: flex; align-items: center; height: 46px; background: #0f1e2b; border: 1px solid #213045; border-radius: var(--r); overflow: hidden; transition: border-color .15s; }
.composer-box:focus-within { border-color: #5b4ff0; }
.composer-box .emoji-btn { width: 50px; height: 100%; flex: none; display: grid; place-items: center; background: none; border: 0; color: #b28cff; cursor: pointer; }
.composer-box .emoji-btn .ic { width: 26px; height: 26px; }
.composer-box input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 15px; padding: 0 6px; }
.composer-box input::placeholder { color: #95a0b3; }
.composer-box input:disabled { cursor: not-allowed; }
.send-btn { width: 46px; height: 46px; flex: none; margin: -1px -1px -1px 0; border: 0; border-radius: 0 var(--r) var(--r) 0; background: var(--grad-send); color: #fff; display: grid; place-items: center; cursor: pointer; }
.send-btn .ic { width: 25px; height: 25px; }
.send-btn:hover { filter: brightness(1.12); }
.composer-tools { display: flex; gap: 8px; flex: none; }
.sq-btn { width: 46px; height: 46px; border-radius: var(--r); background: #0f1a28; border: 1px solid #223047; color: #eef2f8; display: grid; place-items: center; cursor: pointer; font: 800 15px/1 var(--font); flex: none; }
.sq-btn:hover { background: #142237; }
.sq-btn .ic { width: 23px; height: 23px; }
.sq-btn.off { color: #7d8798; }
.composer-more { display: none; }
.char-left { position: absolute; right: 70px; bottom: 2px; font-size: 10px; color: var(--muted); pointer-events: none; }

/* korisnici online (fioka) */
.users { position: absolute; top: 0; right: 0; bottom: 0; width: min(290px, 92%); background: #0c1724; border-left: 1px solid var(--line-2); transform: translateX(102%); transition: transform .22s ease; display: flex; flex-direction: column; z-index: 6; box-shadow: -14px 0 30px rgba(0, 0, 0, .4); visibility: hidden; }
.users.open { transform: none; visibility: visible; }
.users-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 14px; border-bottom: 1px solid var(--line); }
.users-head b { font-size: 14px; }
.users-search { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.users-search .field-search { width: 100%; height: 34px; }
.users-list { flex: 1; overflow-y: auto; padding: 4px 6px 10px; }
.u-group h6 { margin: 12px 8px 4px; font: 700 11px/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.u-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border-radius: 6px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
.u-row:hover { background: rgba(255, 255, 255, .05); }
.u-ava { width: 30px; height: 30px; border-radius: 50%; position: relative; flex: none; }
.u-ava svg { width: 100%; height: 100%; border-radius: 50%; display: block; }
.u-ava::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-2); border: 2px solid #0c1724; }
.u-ava.muted-u::after { background: #f59e0b; }
.u-name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-more { padding: 10px 8px; color: var(--muted); font-size: 12.5px; text-align: center; }

/* plejer */
.player-panel { background: var(--panel); }
.pl-now { display: flex; gap: 12px; padding: 12px 12px 4px; }
.pl-cover { width: 86px; height: 86px; border-radius: 4px; overflow: hidden; flex: none; background: #111; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.pl-cover svg { width: 100%; height: 100%; display: block; }
.pl-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; padding-top: 6px; }
.pl-artist { font: 700 15.5px/1.25 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-title { font-size: 15.5px; line-height: 1.25; margin-top: 6px; color: #eef1f6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-meta .eq { margin-top: auto; }
.pl-station { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
.eq { display: flex; align-items: flex-end; gap: 2.5px; height: 22px; }
.eq i { width: 5px; flex: none; background: var(--cyan); border-radius: 1px; height: 35%; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-duration: .7s; animation-delay: -.2s; }
.eq i:nth-child(3n+1) { animation-duration: 1.2s; animation-delay: -.5s; }
.eq i:nth-child(4n) { animation-duration: .85s; animation-delay: -.8s; }
.eq i:nth-child(5n) { animation-duration: 1.05s; animation-delay: -.35s; }
.is-paused .eq i, .is-paused .st-eq i, .is-paused .eq-mini i { animation-play-state: paused; }
.pl-ctrls { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 10px 0 6px; }
.pl-ctrls .icon-btn { color: #fff; width: 40px; height: 40px; }
.pl-ctrls .icon-btn .ic { width: 22px; height: 22px; }
.pl-play { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 2px solid #7c6cff; background: rgba(124, 108, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 18px rgba(124, 108, 255, .32), inset 0 0 12px rgba(124, 108, 255, .15); transition: transform .1s, background .15s; }
.pl-play:hover { background: rgba(124, 108, 255, .18); }
.pl-play:active { transform: scale(.96); }
.pl-play .ic { width: 22px; height: 22px; }
.pl-vol { display: flex; align-items: center; gap: 10px; padding: 4px 14px 12px 10px; }
.pl-vol .icon-btn { color: #fff; }
.pl-hist-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 6px; border-top: 1px solid var(--line); font: 700 13.5px/1 var(--font); text-transform: uppercase; }
.pl-hist { list-style: none; margin: 0; padding: 0 8px 8px; overflow-y: auto; flex: 1; min-height: 0; }
.pl-hist li { display: flex; align-items: center; gap: 12px; padding: 0 10px; min-height: 24.5px; border-bottom: 1px solid #0f1b2a; font-size: 13.5px; color: #d6dce6; }
.pl-hist li > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-hist li .n { width: 16px; flex: none; text-align: center; color: #c0c8d6; font-variant-numeric: tabular-nums; }
.pl-hist li.now { background: #152233; border-radius: 4px; color: #6b93ec; border-bottom-color: transparent; }
.pl-hist li.now .n { color: #6b93ec; }
.pl-hist li time { color: var(--muted-2); font-size: 11.5px; flex: none; }
.eq-mini { display: flex; align-items: flex-end; gap: 1.5px; width: 16px; height: 13px; flex: none; }
.eq-mini i { flex: 1; background: #8b5cf6; height: 40%; border-radius: 1px; animation: eq .8s ease-in-out infinite alternate; }
.eq-mini i:nth-child(2) { animation-delay: -.3s; }
.eq-mini i:nth-child(3) { animation-delay: -.55s; animation-duration: 1s; }
.eq-mini i:nth-child(4) { animation-delay: -.15s; animation-duration: .65s; }

/* info o radiju (mobilni tab i dijalog) */
.info-grid { display: grid; gap: 14px; }
.info-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.info-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 10px; align-items: center; color: var(--text-2); }
.info-list .ic { width: 17px; height: 17px; color: var(--muted); }
.sched { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sched li { display: flex; gap: 12px; padding: 8px 10px; border-radius: 6px; background: #0e1a29; border: 1px solid var(--line); }
.sched li.now { border-color: #5b4ff0; background: rgba(91, 79, 240, .12); }
.sched time { width: 92px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- 10. Animacije ---------- */
@keyframes eq { 0% { height: 18%; } 50% { height: 70%; } 100% { height: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes sheet { from { transform: translateY(100%); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gifA { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.msg.is-new { animation: slideIn .25s ease; }

/* ---------- 11. Mini-plejer (globalni) ---------- */
.mini { position: fixed; left: 0; right: 0; bottom: var(--bnav-h); z-index: 45; height: var(--mini-h); background: rgba(9, 17, 29, .97); border-top: 1px solid #1f2d42; box-shadow: 0 -10px 30px rgba(0, 0, 0, .4); }
@supports (backdrop-filter: blur(8px)) { .mini { background: rgba(9, 17, 29, .88); backdrop-filter: blur(12px); } }
.mini::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, #8a33c2, #4c30c0, #0a9ded); opacity: .85; }
.mini.is-paused::before { opacity: .3; }
.mini-inner { max-width: 1222px; margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 16px; padding: 0 16px; }
.mini-st { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; color: inherit; text-decoration: none; border-radius: 8px; padding: 4px; margin-left: -4px; }
.mini-st:hover { background: rgba(255, 255, 255, .04); }
.mini-logo { width: 56px; height: 40px; border-radius: 5px; overflow: hidden; flex: none; background: #000; }
.mini-logo svg { width: 100%; height: 100%; display: block; }
.mini-txt { min-width: 0; }
.mini-txt b { display: flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--font); white-space: nowrap; overflow: hidden; }
.mini-txt span { display: block; font-size: 13px; color: #b9c2d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.live { display: inline-flex; align-items: center; gap: 5px; font: 700 10px/1 var(--font); letter-spacing: .08em; color: #fff; background: var(--red); padding: 3px 6px; border-radius: 4px; flex: none; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.is-paused .live { background: #475569; }
.is-paused .live::before { animation: none; }
.mini .eq { height: 20px; }
.mini-ctrls { display: flex; align-items: center; gap: 4px; flex: none; }
.mini-ctrls .icon-btn { color: #fff; }
.mini .pl-play { width: 42px; height: 42px; }
.mini .pl-play .ic { width: 19px; height: 19px; }
.mini-vol { display: flex; align-items: center; gap: 6px; width: 160px; flex: none; }
.mini-vol .icon-btn { color: #fff; }
.mini-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.mini-actions .btn { margin-right: 6px; }

/* ---------- 12. Donja navigacija i fioka ---------- */
.bnav { display: none; }
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(2, 6, 14, .6); animation: fade .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: #0b1622; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; animation: drawerIn .22s ease; box-shadow: var(--shadow); }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-head .brand-txt b { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 12px 24px; }
.drawer-body .field-search { width: 100%; margin-bottom: 10px; }
.drawer-body h5 { margin: 16px 8px 6px; font: 700 11px/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.drawer-nav a, .drawer-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border-radius: 8px; color: #e6ebf3; text-decoration: none; font: 500 15px var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.drawer-nav a:hover, .drawer-nav button:hover { background: rgba(255, 255, 255, .05); }
.drawer-nav a.active { background: var(--indigo); color: #fff; }
.drawer-nav .ic { color: #a78bfa; }
.drawer-role { margin: 16px 8px 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 13. Početna ---------- */
.promo { position: relative; height: clamp(190px, 21vw, 250px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid #1c2940; margin-top: 2px; background: #0b0d1c; }
.promo-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; isolation: isolate; }
.promo-slide.on { opacity: 1; visibility: visible; }
.promo-art { position: absolute; inset: 0; z-index: -2; }
.promo-art svg, .promo-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 10, 22, .92) 0%, rgba(5, 10, 22, .7) 38%, rgba(5, 10, 22, .05) 72%); }
.promo-body { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 clamp(18px, 4vw, 44px); max-width: 640px; }
.promo-kicker { display: flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fbbf24; }
.promo-kicker .ic { width: 16px; height: 16px; }
.promo-title { font: 800 clamp(24px, 3.4vw, 42px)/1.02 var(--font-display); text-transform: uppercase; text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.promo-sub { font-size: clamp(14px, 1.4vw, 17px); color: #e5e9f2; }
.promo-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #d6dce6; font-size: 13.5px; }
.promo-meta span { display: inline-flex; align-items: center; gap: 6px; }
.promo-meta .ic { width: 16px; height: 16px; }
.promo-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.promo-dots { position: absolute; right: 18px; bottom: 14px; display: flex; gap: 6px; z-index: 2; }
.promo-dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.promo-dots button.on { width: 24px; background: #fff; }
.promo-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(5, 10, 22, .55); border: 1px solid rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.promo:hover .promo-nav, .promo-nav:focus-visible { opacity: 1; }
.promo-nav.prev { left: 10px; }
.promo-nav.next { right: 10px; }
.promo .ad-label { top: 10px; right: 12px; }

.home-panel { margin-top: 14px; padding: 16px; background: #081321; border: 1px solid #172438; border-radius: 10px; }
.home-toolbar { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.home-toolbar .field-search { width: min(100%, 320px); }
.genre-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.result-info { margin-top: 12px; color: var(--muted); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.result-info button { background: none; border: 0; color: #a5b4fc; cursor: pointer; padding: 0; font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; margin-top: 14px; }
.card { position: relative; background: #0e1b2c; border: 1px solid #1d2b40; border-radius: var(--r); overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); border-color: #34408a; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.card.is-playing { border-color: #5b4ff0; box-shadow: 0 0 0 1px #5b4ff0, 0 10px 26px rgba(76, 48, 192, .3); }
.card-art { display: block; aspect-ratio: 16 / 8.3; overflow: hidden; background: #000; }
.card-art svg { width: 100%; height: 100%; display: block; transition: transform .35s; }
.card:hover .card-art svg { transform: scale(1.04); }
.card-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.card-body { position: relative; padding: 9px 56px 11px 12px; }
.card-name { display: block; font: 600 16px/1.25 var(--font); color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name::after { content: ""; position: absolute; inset: 0; }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #d6dce6; margin-top: 4px; }
.card-meta .ic { width: 15px; height: 15px; }
.ic-people { color: #f472b6; }
.card-genres { font-size: 13.5px; color: #b8c2d1; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-fab { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: #5b6ee1; border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(91, 110, 225, .45); transition: transform .12s, background .15s; }
.play-fab:hover { transform: translateY(-50%) scale(1.07); background: #6a7cf0; }
.play-fab .ic { width: 18px; height: 18px; }
.play-fab .ic-play { margin-left: 2px; }
.is-playing .play-fab { background: var(--violet); }

.home-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.box { background: #0a1626; border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.box-head h3 { font: 700 15px/1.2 var(--font); display: flex; align-items: center; gap: 8px; }
.box-head h3 .ic { width: 18px; height: 18px; color: #a78bfa; }
.box-head a { color: #a5b4fc; text-decoration: none; font-size: 13px; }
.mini-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mini-rank li a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 8px; color: inherit; text-decoration: none; }
.mini-rank li a:hover { background: rgba(255, 255, 255, .04); }
.mini-rank .rk { width: 22px; font: 800 17px/1 var(--font); color: #6b7a93; text-align: center; flex: none; }
.mini-rank li:nth-child(1) .rk { color: #fbbf24; }
.mini-rank li:nth-child(2) .rk { color: #cbd5e1; }
.mini-rank li:nth-child(3) .rk { color: #f59e0b; }
.cta-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: linear-gradient(135deg, #1d1580 0%, #3b1a9e 50%, #6d28d9 100%); border-color: #4338ca; }
.cta-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }
.cta-card h3 { font: 800 22px/1.15 var(--font-display); }
.cta-card p { color: #ddd6fe; margin: 0; }
.cta-card .btn { align-self: flex-start; background: #fff; color: #3b1a9e; }
.cta-list { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; color: #ede9fe; font-size: 13.5px; }
.cta-list li { display: flex; gap: 8px; align-items: center; }
.cta-list .ic { width: 16px; height: 16px; color: #86efac; }

.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.feat { display: flex; gap: 12px; align-items: center; padding: 14px 12px; background: #0a1626; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.feat .ic { width: 32px; height: 32px; color: #5b5ff5; }
.feat .ic.pink { color: #f43f7a; }
.feat b { display: block; font: 600 14px/1.25 var(--font); }
.feat small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }

/* ---------- 14. Radiji (lista) ---------- */
.list-toolbar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 14px; border-bottom: 1px solid var(--line); }
.list-toolbar .field-search { width: min(100%, 300px); }
.list-toolbar .select { width: auto; min-width: 190px; height: 40px; }
.list-toolbar .grow { flex: 1; }
.big-list { list-style: none; margin: 0; padding: 0; }
.big-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid #0f1b2b; position: relative; }
.big-row:hover { background: #0d1a2a; }
.big-row.active { background: linear-gradient(90deg, rgba(138, 51, 194, .35), rgba(76, 48, 192, .25) 50%, transparent); box-shadow: inset 3px 0 0 #8b5cf6; }
.big-row .st-logo { width: 64px; height: 45px; border-radius: 6px; }
.big-row .st-txt b { font-size: 15.5px; font-weight: 600; }
.big-row .st-txt b a { color: inherit; text-decoration: none; }
.big-row .st-txt b a::after { content: ""; position: absolute; inset: 0; }
.big-row .genres { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.big-row .genres .chip { height: 22px; font-size: 11.5px; padding: 0 8px; }
.stat-mini { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--text-2); min-width: 74px; }
.stat-mini span { display: inline-flex; align-items: center; gap: 5px; }
.stat-mini .ic { width: 15px; height: 15px; }
.stat-mini .g { color: var(--green); }
.stat-mini .v { color: #a78bfa; }
.big-row .row-act { display: flex; gap: 8px; position: relative; z-index: 2; }
.round-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #5b6ee1; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(91, 110, 225, .35); }
.round-play:hover { background: #6a7cf0; }
.round-play .ic { width: 18px; height: 18px; }
.round-play .ic-play { margin-left: 2px; }
.active .round-play, .is-playing .round-play { background: var(--violet); }
.list-grid { padding: 14px; }
.list-grid .card-grid { margin-top: 0; }

/* ---------- 15. Top 10 ---------- */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-row { display: grid; grid-template-columns: 44px 70px minmax(0, 1fr) minmax(120px, 260px) 60px 44px; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #0f1b2b; position: relative; }
.rank-row:hover { background: #0d1a2a; }
.rank-n { font: 800 28px/1 var(--font-display); color: #4b5a73; text-align: center; }
.rank-row:nth-child(1) .rank-n { color: #fbbf24; text-shadow: 0 0 18px rgba(251, 191, 36, .4); }
.rank-row:nth-child(2) .rank-n { color: #e2e8f0; }
.rank-row:nth-child(3) .rank-n { color: #f59e0b; }
.rank-row .st-logo { width: 70px; height: 49px; border-radius: 6px; }
.rank-row .cover { width: 49px; height: 49px; border-radius: 6px; overflow: hidden; justify-self: center; }
.rank-row .cover svg { width: 100%; height: 100%; display: block; }
.rank-bar { display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); }
.rank-bar .bar { height: 8px; border-radius: 4px; background: #172437; overflow: hidden; }
.rank-bar .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4c30c0, #8b5cf6, #0a9ded); }
.trend { display: inline-flex; align-items: center; gap: 3px; font: 700 13px/1 var(--font); }
.trend.up { color: #4ade80; }
.trend.down { color: #f87171; }
.trend.same { color: var(--muted); }
.trend.new { color: #f472b6; font-size: 11px; letter-spacing: .05em; }
.rank-row a.cover-link { color: inherit; text-decoration: none; }
.rank-row .stretch::after { content: ""; position: absolute; inset: 0; }
.rank-row .round-play { position: relative; z-index: 2; }

/* ---------- 16. Statičke stranice ---------- */
.about-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(24px, 5vw, 56px); border: 1px solid #1c2940;
  background: radial-gradient(40% 80% at 85% 20%, rgba(59, 130, 246, .35), transparent 70%), radial-gradient(40% 80% at 10% 100%, rgba(224, 24, 106, .3), transparent 70%), linear-gradient(135deg, #120d33, #0b1430); }
.about-hero h1 { font: 800 clamp(28px, 4.5vw, 48px)/1.05 var(--font-display); max-width: 720px; }
.about-hero p { font-size: clamp(15px, 1.6vw, 18px); color: #d6dce6; max-width: 640px; margin: 14px 0 20px; }
.about-hero .brand-ic { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: clamp(120px, 18vw, 220px); height: auto; opacity: .22; }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.stat-card { background: #0a1626; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.stat-card b { display: block; font: 800 26px/1 var(--font-display); background: linear-gradient(90deg, #c4b5fd, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { color: var(--muted); font-size: 13px; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step-card { background: #0a1626; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.step-card .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-send); font-weight: 800; margin-bottom: 10px; }
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { color: var(--muted); margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.ad-sizes { display: grid; gap: 10px; }
.ad-size-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; background: #0e1a29; border: 1px solid var(--line); }
.ad-size-row .thumb { flex: none; width: 52px; height: 40px; display: grid; place-items: center; }
.ad-size-row .thumb i { display: block; background: linear-gradient(180deg, #6d28d9, #db2777); border-radius: 2px; }
.ad-size-row b { display: block; font-size: 14px; }
.ad-size-row small { color: var(--muted); }

/* ---------- 17. Prijava radija (čarobnjak) ---------- */
.wiz { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; align-items: start; }
.wiz-steps { list-style: none; margin: 0; padding: 10px; background: #0a1626; border: 1px solid var(--line); border-radius: 10px; position: sticky; top: calc(var(--hdr-h) + 10px); }
.wiz-steps li button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 8px; border: 0; background: none; color: var(--muted); text-align: left; cursor: pointer; font: 500 14px var(--font); }
.wiz-steps li button:disabled { cursor: default; }
.wiz-steps .dot { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid #2a3a52; font-weight: 700; font-size: 13px; color: var(--muted); }
.wiz-steps .on button { color: #fff; background: rgba(114, 70, 243, .14); }
.wiz-steps .on .dot { border-color: var(--violet); background: var(--violet); color: #fff; }
.wiz-steps .done .dot { border-color: #22c55e; background: rgba(34, 197, 94, .15); color: #4ade80; }
.wiz-steps .done button { color: var(--text-2); }
.wiz-steps small { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 1px; }
.wiz-body { background: #0a1626; border: 1px solid var(--line); border-radius: 10px; padding: clamp(16px, 2.4vw, 26px); min-width: 0; }
.wiz-body h2 { font-size: 20px; margin-bottom: 4px; }
.wiz-body > p.muted { margin-bottom: 18px; }
.wiz-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wiz-progress { height: 4px; border-radius: 4px; background: #172437; overflow: hidden; margin-bottom: 18px; }
.wiz-progress i { display: block; height: 100%; background: linear-gradient(90deg, #6d40f2, #0a9ded); transition: width .3s; }
.upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upload-box { position: relative; display: grid; place-items: center; border: 1.5px dashed #33445f; border-radius: 10px; background: #0e1a29; color: var(--muted); text-align: center; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.upload-box:hover { border-color: #6d5cff; color: #fff; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box img, .upload-box > svg.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-box .up-txt { display: grid; gap: 4px; justify-items: center; font-size: 12.5px; padding: 8px; }
.upload-logo { width: 140px; height: 100px; }
.upload-banner { width: min(100%, 420px); aspect-ratio: 4 / 1; }
.summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.summary > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.summary > div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.captcha { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 8px; background: #0e1a29; border: 1px solid var(--line-2); max-width: 340px; }
.captcha .check { font-weight: 500; }
.captcha small { color: var(--muted); font-size: 10.5px; text-align: right; line-height: 1.2; display: grid; justify-items: end; gap: 2px; }
.captcha small .ic { width: 22px; height: 22px; color: #5b5ff5; }
.success { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 10px; }
.success .big-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .14); color: #4ade80; box-shadow: 0 0 0 10px rgba(34, 197, 94, .06); }
.success .big-ic .ic { width: 38px; height: 38px; }
.success h2 { font-size: 24px; }
.success p { color: var(--muted); max-width: 520px; }

/* ---------- 18. Administracija ---------- */
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.admin-top .crumbs { margin: 0; }
.admin-role { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.admin { display: grid; grid-template-columns: 250px minmax(0, 1fr); background: #091421; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: calc(100vh - var(--hdr-h) - 60px - var(--mini-space)); }
.admin-side { background: #111c2b; padding: 10px; border-right: 1px solid #16243a; }
.admin-who { display: flex; align-items: center; gap: 10px; padding: 6px 6px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); min-width: 0; }
.admin-who .st-logo { width: 46px; height: 33px; }
.admin-who .plat { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #1e1987, #3b1a9e); flex: none; }
.admin-who .plat svg { width: 26px; height: 24px; }
.admin-who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-who small { display: block; color: var(--muted); font-size: 12px; }
.admin-nav { display: grid; gap: 3px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); color: #dbe2ec; text-decoration: none; font: 500 14px/1.2 var(--font); white-space: nowrap; }
.admin-nav a:hover { background: rgba(255, 255, 255, .05); }
.admin-nav a.active { background: var(--grad-side); color: #fff; box-shadow: 0 6px 18px rgba(58, 48, 209, .35); }
.admin-nav a .ic { width: 19px; height: 19px; }
.admin-nav .cnt { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e0186a; color: #fff; font: 700 11px/20px var(--font); text-align: center; }
.admin-nav .sep { height: 1px; background: var(--line); margin: 8px 4px; }
.admin-nav .new-tag { margin-left: auto; font: 700 9px/1 var(--font); letter-spacing: .06em; padding: 3px 5px; border-radius: 3px; background: #0a9ded; color: #fff; }
.admin-main { padding: 18px 22px 24px; min-width: 0; }
.admin-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-head h1 { font: 600 21px/1.2 var(--font); }
.admin-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.status-online { display: inline-flex; align-items: center; gap: 7px; color: var(--green-2); font-weight: 600; font-size: 14px; }
.status-online::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(57, 197, 94, .15); }
.form-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 14px; }
.form-row > label { font-weight: 600; font-size: 13.5px; }
.form-row.top { align-items: start; }
.form-row.top > label { padding-top: 10px; }
.banner-edit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.banner-prev { position: relative; width: 360px; max-width: 100%; aspect-ratio: 360 / 94; border-radius: 6px; overflow: hidden; border: 1px solid #4b46e5; background: #0b0d1c; }
.banner-prev img, .banner-prev svg { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.divider { border: 0; border-top: 1px solid var(--line-2); margin: 18px 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: #0c1726; overflow: hidden; }
.kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-right: 1px solid var(--line); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi > .ic { width: 36px; height: 36px; flex: none; }
.kpi b { display: block; font: 500 22px/1.15 var(--font); }
.kpi small { display: block; color: #aab4c3; font-size: 13px; }
.kpi .delta { font-size: 12px; font-weight: 600; color: #4ade80; }
.kpi .delta.down { color: #f87171; }
.c-blue { color: #4f6bff; }
.c-green { color: #22c55e; }
.c-cyan { color: #0aa5f2; }
.c-violet { color: #a78bfa; }
.c-pink { color: #f472b6; }
.c-amber { color: #fbbf24; }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adm-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-grid .span2 { grid-column: span 2; }
.abox { background: #0c1726; border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; }
.abox.flush { padding: 0; }
.abox.flush .box-head { padding: 14px 16px 0; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { font: 600 11.5px/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid #132033; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.tbl .t-st { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tbl .t-st .st-logo { width: 44px; height: 31px; }
.tbl .t-st b { display: block; font-weight: 600; }
.tbl .t-st small { color: var(--muted); }
.tbl .t-act { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .ava-cell { display: flex; align-items: center; gap: 10px; }
.tbl .ava-cell svg { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.chart { width: 100%; display: block; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 8px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.hbar { display: grid; gap: 10px; }
.hbar > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-size: 13px; }
.hbar .bar { height: 10px; border-radius: 5px; background: #172437; overflow: hidden; }
.hbar .bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #4c30c0, #8b5cf6); }
.hbar .num { text-align: right; color: var(--text-2); }
.act-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.act-log li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 4px; border-bottom: 1px solid #132033; font-size: 13.5px; }
.act-log li:last-child { border-bottom: 0; }
.act-log .ic-wrap { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #142237; }
.act-log .ic-wrap .ic { width: 16px; height: 16px; }
.act-log time { color: var(--muted-2); font-size: 12px; white-space: nowrap; margin-left: auto; }
.req-card { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #0e1a29; }
.req-card + .req-card { margin-top: 10px; }
.req-card .st-logo { width: 92px; height: 64px; border-radius: 8px; }
.req-card .st-logo img { width: 100%; height: 100%; object-fit: cover; }
.req-card h4 { font-size: 15.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.req-card .meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.req-card .meta span { display: inline-flex; gap: 5px; align-items: center; }
.req-card .meta .ic { width: 14px; height: 14px; }
.req-card .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.slot { border: 1px solid var(--line); border-radius: 10px; background: #0e1a29; overflow: hidden; display: flex; flex-direction: column; }
.slot-prev { height: 120px; display: grid; place-items: center; background: #060d17; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.slot-prev .shape { display: grid; place-items: center; color: #fff; font: 700 13px/1.1 var(--font-cond); text-transform: uppercase; text-align: center; border-radius: 3px; background: linear-gradient(180deg, #4338ca, #a21caf 55%, #f97316); box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.slot-body { padding: 12px 14px 14px; display: grid; gap: 6px; flex: 1; }
.slot-body h4 { font-size: 14.5px; }
.slot-body .meta { font-size: 12.5px; color: var(--muted); }
.slot-body .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); padding: 0; }
.swatch.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; min-height: 42px; border-radius: var(--r-sm); background: #152333; border: 1px solid #1e2e42; align-items: center; }
.tag-input:focus-within { border-color: #6d5cff; }
.tag-input input { flex: 1; min-width: 140px; background: transparent; border: 0; outline: none; color: #fff; height: 28px; padding: 0 6px; font-size: 14px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg { border: 1px solid var(--line); border-radius: 12px; background: #0e1a29; padding: 16px; display: grid; gap: 8px; align-content: start; position: relative; }
.pkg.hot { border-color: #6d40f2; box-shadow: 0 0 0 1px #6d40f2 inset; }
.pkg h4 { font-size: 16px; }
.pkg .price { font: 800 22px/1 var(--font-display); }
.pkg ul { margin: 4px 0 6px; padding-left: 18px; color: var(--text-2); font-size: 13px; display: grid; gap: 4px; }
.stream-test { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code-box { position: relative; background: #060d17; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.code-box pre { margin: 0; padding: 14px 16px; overflow: auto; font: 12.5px/1.6 Consolas, "Cascadia Mono", "SFMono-Regular", Menlo, monospace; color: #c7d2fe; white-space: pre-wrap; word-break: break-all; }
.code-box pre .t { color: #f472b6; }
.code-box pre .a { color: #93c5fd; }
.code-box pre .s { color: #86efac; }
.code-box .code-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); background: #0b1522; font-size: 12px; color: var(--muted); }

/* Vlasništvo podešavanja: radio (ljubičasto) vs. platforma (zaključano, ćilibar) */
.own-tag, .lock-tag { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; white-space: nowrap; }
.own-tag { color: #c4b5fd; background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .35); }
.lock-tag { color: #fbbf24; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .4); }
.own-tag .ic, .lock-tag .ic { width: 13px; height: 13px; }
.abox.owned { border-color: rgba(139, 92, 246, .35); box-shadow: inset 3px 0 0 #7c4dff; }
.abox.locked { border: 1px dashed rgba(245, 158, 11, .55); background: repeating-linear-gradient(135deg, rgba(245, 158, 11, .045) 0 10px, transparent 10px 20px), #0d1520; box-shadow: inset 3px 0 0 #f59e0b; }
.locked-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(245, 158, 11, .2); }
.locked-item + .locked-item { margin-top: 8px; }
.locked-item b { display: block; font-size: 13.5px; }
.locked-item small { color: var(--muted); font-size: 12px; }
.locked-item .ic { color: #fbbf24; }
.lock-legend { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); }

/* Pregled ugrađenog chata */
.embed-prev { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1520px) { .embed-prev { grid-template-columns: minmax(0, 1fr) 360px; } }
.browser-frame { border: 1px solid #263750; border-radius: 12px; overflow: hidden; background: #e9edf3; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #1b2638; }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.browser-bar .dots i:nth-child(2) { background: #f59e0b; }
.browser-bar .dots i:nth-child(3) { background: #22c55e; }
.browser-bar .url { flex: 1; min-width: 0; height: 26px; border-radius: 6px; background: #0e1726; color: #b8c2d1; font-size: 12px; display: flex; align-items: center; gap: 6px; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.browser-bar .url .ic { width: 12px; height: 12px; color: #4ade80; flex: none; }
.browser-bar .url.bad .ic { color: #f87171; }
.site-mock { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; background: #f3f5f9; color: #1f2937; }
.site-mock .sm-text i.img, .site-mock .sm-text i:nth-child(n+5) { display: none; }
.site-mock .sm-text i:last-of-type { margin-bottom: 0; }
.site-mock .sm-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #dde3ec; }
.site-mock .sm-logo { font: 800 16px/1 var(--font-display); color: #b91c1c; letter-spacing: .02em; }
.site-mock .sm-nav { display: flex; gap: 12px; font-size: 12px; color: #6b7280; }
.site-mock .sm-text i { display: block; height: 9px; border-radius: 5px; background: #dfe4ec; margin-bottom: 9px; }
.site-mock .sm-text i.h { height: 16px; width: 70%; background: #cfd6e2; margin-bottom: 14px; }
.site-mock .sm-text i.img { height: 110px; border-radius: 8px; background: linear-gradient(135deg, #e5e7eb, #d1d5db); margin: 14px 0; }
.site-mock iframe { width: 100%; border: 0; border-radius: 10px; display: block; background: #07111c; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); }
.phone-frame { width: 100%; max-width: 380px; margin: 0 auto; padding: 12px; border-radius: 40px; background: #0b0f17; border: 1px solid #2a3446; box-shadow: var(--shadow), inset 0 0 0 2px #1a2232; }
.phone-screen { position: relative; border-radius: 30px; overflow: hidden; background: #f3f5f9; aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; }
.phone-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 90px; height: 22px; border-radius: 14px; background: #0b0f17; transform: translateX(-50%); z-index: 2; }
.phone-site { flex: none; padding: 38px 14px 10px; background: #fff; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.phone-site b { font: 800 13px/1 var(--font-display); color: #b91c1c; }
.phone-site span { width: 18px; height: 2px; background: #6b7280; box-shadow: 0 5px 0 #6b7280, 0 -5px 0 #6b7280; }
.phone-screen iframe { flex: 1; width: 100%; border: 0; display: block; background: #07111c; }
.prev-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-weight: 600; font-size: 13.5px; flex-wrap: wrap; }
.prev-label small { color: var(--muted); font-weight: 400; }

/* ---------- 19. Modali, meniji, obaveštenja ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 14, .66); animation: fade .15s; overflow-y: auto; }
@supports (backdrop-filter: blur(3px)) { .modal-wrap { backdrop-filter: blur(3px); } }
.modal { width: min(100%, var(--mw, 480px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: #0d1826; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; animation: pop .18s ease; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font: 700 17px/1.25 var(--font); flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.modal-head h3 .ic { color: #a78bfa; }
.modal-head h3 .ic.danger { color: #f87171; }
.modal-body { padding: 18px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: #0b1522; flex-wrap: wrap; }
.modal-foot .left { margin-right: auto; }
.menu { position: fixed; z-index: 90; min-width: 230px; max-width: calc(100vw - 16px); background: #101c2d; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; animation: pop .12s ease; max-height: calc(100vh - 20px); overflow-y: auto; }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 6px; background: none; border: 0; color: #e6ebf3; font: 14px var(--font); cursor: pointer; text-align: left; text-decoration: none; }
.menu button:hover, .menu a:hover, .menu button:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.menu .ic { width: 17px; height: 17px; color: #a5b0c2; }
.menu .danger, .menu .danger .ic { color: #f87171; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.menu .m-label { padding: 7px 10px 4px; font: 700 10.5px/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.menu .m-check { margin-left: auto; color: #a78bfa; }
.menu .m-kbd { margin-left: auto; color: var(--muted); font-size: 12px; }
.pop { position: fixed; z-index: 90; background: #101c2d; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; animation: pop .12s ease; max-width: calc(100vw - 16px); }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 34px); gap: 2px; }
.emoji-grid button { width: 34px; height: 34px; border-radius: 6px; border: 0; background: none; font-size: 20px; cursor: pointer; line-height: 1; padding: 0; }
.emoji-grid button:hover { background: rgba(255, 255, 255, .08); }
.pop-title { font: 700 11px/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin: 2px 2px 8px; }
.gif-grid { display: grid; grid-template-columns: repeat(3, 96px); gap: 6px; }
.gif-grid button { height: 64px; border-radius: 8px; border: 0; cursor: pointer; color: #fff; font: 800 15px/1 var(--font-cond); text-shadow: 0 2px 8px rgba(0, 0, 0, .4); letter-spacing: .02em; }
.gif-grid button:hover { outline: 2px solid #fff; }
.gif-a { background: linear-gradient(120deg, #f43f5e, #f59e0b, #f43f5e) 0 0 / 300% 100%; animation: gifA 2.4s linear infinite alternate; }
.gif-b { background: linear-gradient(120deg, #6d28d9, #0ea5e9, #6d28d9) 0 0 / 300% 100%; animation: gifA 2s linear infinite alternate; }
.gif-c { background: linear-gradient(120deg, #16a34a, #84cc16, #16a34a) 0 0 / 300% 100%; animation: gifA 2.6s linear infinite alternate; }
.gif-d { background: linear-gradient(120deg, #db2777, #a855f7, #db2777) 0 0 / 300% 100%; animation: gifA 1.8s linear infinite alternate; }
.gif-e { background: linear-gradient(120deg, #0891b2, #22d3ee, #0891b2) 0 0 / 300% 100%; animation: gifA 2.2s linear infinite alternate; }
.gif-f { background: linear-gradient(120deg, #ea580c, #facc15, #ea580c) 0 0 / 300% 100%; animation: gifA 2s linear infinite alternate; }
.gif-anim span { display: inline-block; animation: bounce 1s ease-in-out infinite; }
.toasts { position: fixed; right: 16px; bottom: calc(var(--mini-space) + var(--bnav-h) + 16px); z-index: 100; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: min(380px, calc(100vw - 32px)); padding: 11px 14px; border-radius: 10px; background: #13213a; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; animation: slideIn .2s ease; }
.toast .ic { width: 18px; height: 18px; color: #a78bfa; }
.toast.ok .ic { color: #4ade80; }
.toast.warn .ic { color: #fbbf24; }
.toast.err .ic { color: #f87171; }
.toast.out { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }

/* korisnički profil (dijalog) */
.profile { display: flex; gap: 16px; align-items: center; }
.profile .big-ava { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px #1b2a40; }
.profile .big-ava svg { width: 100%; height: 100%; display: block; }
.profile h4 { font-size: 19px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.profile p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.act-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.act-grid .btn { justify-content: flex-start; }
.mod-zone { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.mod-zone h5 { font: 700 11px/1 var(--font); color: #6ee7b7; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row label { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; background: #142133; border: 1px solid #22324a; cursor: pointer; font-size: 13.5px; }
.choice-row input:checked + label { background: rgba(114, 70, 243, .2); border-color: #7246f3; color: #fff; }
.choice-row input:focus-visible + label { outline: 2px solid #8b7bff; }
.ava-pick { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.ava-pick button { aspect-ratio: 1; border-radius: 50%; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden; }
.ava-pick button svg { width: 100%; height: 100%; display: block; }
.ava-pick button.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(139, 92, 246, .6); }
.color-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.color-pick button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.color-pick button.on { border-color: #fff; }
.nick-preview { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--chat); border: 1px solid var(--line); font-size: 14.5px; }
.nick-preview svg { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.rules b { color: #fff; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.share-row a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #142133; border: 1px solid var(--line-2); }
.share-row a .ic { width: 26px; height: 26px; }

/* ---------- 20. Mapa ekrana ---------- */
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.screen-card { display: flex; gap: 12px; padding: 14px; border-radius: 10px; background: #0a1626; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; text-align: left; cursor: pointer; font: inherit; }
.screen-card:hover { border-color: #4f46e5; transform: translateY(-1px); }
.screen-card .ic-wrap { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #1e1987, #3b1a9e); color: #c4b5fd; }
.screen-card b { display: block; font-size: 14.5px; }
.screen-card small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.screen-card .num { font: 800 11px/1 var(--font); color: #818cf8; letter-spacing: .06em; }

/* ---------- 21. Popout plejer ---------- */
body[data-layout=popout] .hdr, body[data-layout=popout] .ftr, body[data-layout=popout] .side-ad, body[data-layout=popout] .bnav { display: none !important; }
body[data-layout=popout] .shell { max-width: 520px; padding: 12px; }
.popout { display: grid; gap: 12px; }
.popout .player-panel { display: flex; flex-direction: column; }
.popout .pl-cover { width: 120px; height: 120px; }
.popout .pl-hist { max-height: 300px; }

/* ---------- 22. Embed (iframe) interfejs ---------- */
html.embed-html, body.embed { height: 100%; }
body.embed { overflow: hidden; background: #07111c; min-height: 0; }
.emb { height: 100vh; height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr) auto; grid-template-areas: "top" "player" "banner" "chat" "ticker"; background: var(--chat); }
.emb-top { grid-area: top; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--head); border-bottom: 1px solid var(--line); min-width: 0; }
.emb-top .st-logo { width: 44px; height: 31px; }
.emb-top .t { min-width: 0; flex: 1; }
.emb-top .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emb-top .t small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.emb-top .t small .ic { width: 13px; height: 13px; color: var(--green); }
.rc-mark { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px 0 7px; border-radius: 6px; background: rgba(114, 70, 243, .14); border: 1px solid rgba(139, 92, 246, .35); color: #fff; text-decoration: none; font: 800 11px/1 var(--font); letter-spacing: .04em; white-space: nowrap; }
.rc-mark svg { width: 18px; height: 16px; }
.emb-player { grid-area: player; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--panel); border-bottom: 1px solid var(--line); min-width: 0; }
.emb-player .pl-cover { width: 42px; height: 42px; box-shadow: none; }
.emb-player .pl-play { width: 40px; height: 40px; }
.emb-player .pl-play .ic { width: 18px; height: 18px; }
.emb-player .np { min-width: 0; flex: 1; }
.emb-player .np b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emb-player .np span { display: flex; align-items: center; gap: 8px; color: #b9c2d0; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.emb-player .eq { height: 16px; }
.emb-player .eq i { width: 3px; }
.emb-player .vol { display: none; align-items: center; gap: 6px; width: 120px; }
.emb-player .icon-btn { color: #fff; }
.emb-banner { grid-area: banner; position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 8px 40px 8px 12px; color: #fff; text-decoration: none; overflow: hidden; border-bottom: 1px solid var(--line); }
.emb-banner .ad-label { top: 4px; right: 4px; }
.emb-banner .eb-t { font: 700 17px/1.05 var(--font-cond); text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.emb-banner .eb-s { font-size: 12px; opacity: .92; }
.emb-banner .eb-cta { flex: none; padding: 6px 10px; border-radius: 6px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .3); font: 700 12px/1 var(--font-cond); text-transform: uppercase; white-space: nowrap; }
.emb-chat { grid-area: chat; min-height: 0; display: flex; flex-direction: column; position: relative; }
.emb .panel-head { border-radius: 0; height: 36px; }
.emb .panel-head h2 { font-size: 12.5px; }
.emb-chat .msgs { padding: 6px 8px; }
.emb-chat .composer { padding: 8px; gap: 8px; }
.emb-chat .composer-box { height: 42px; }
.emb-chat .send-btn { width: 42px; height: 42px; }
.emb-chat .composer-box .emoji-btn { width: 42px; }
.emb-ticker { grid-area: ticker; display: flex; align-items: stretch; height: 32px; background: #0b1422; border-top: 1px solid rgba(245, 158, 11, .35); overflow: hidden; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; font: 800 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; position: relative; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; white-space: nowrap; animation: ticker var(--tk-dur, 32s) linear infinite; will-change: transform; }
.ticker-move span { padding: 0 28px; font-size: 13px; color: #fde68a; display: inline-flex; align-items: center; gap: 10px; }
.ticker-move span::before { content: "◆"; color: #f59e0b; font-size: 9px; }
.emb-ticker:hover .ticker-move { animation-play-state: paused; }
.emb-side { display: none; }
.emb-blocked { height: 100vh; height: 100dvh; display: grid; place-items: center; padding: 20px; text-align: center; background: var(--chat); }
.emb-blocked .box { max-width: 420px; display: grid; gap: 10px; justify-items: center; }
.emb-blocked .big-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(239, 68, 68, .12); color: #f87171; }
.emb-blocked .big-ic .ic { width: 30px; height: 30px; }
.emb-blocked h1 { font-size: 18px; }
.emb-blocked p { color: var(--muted); margin: 0; font-size: 13.5px; }
.emb-blocked code { background: #142133; padding: 2px 6px; border-radius: 4px; color: #fca5a5; }
@media (min-width: 600px) {
  .emb { grid-template-columns: minmax(0, 1fr) 270px; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "top top" "chat side" "ticker ticker"; }
  .emb > .emb-player, .emb > .emb-banner { display: none; }
  .emb-side { grid-area: side; display: flex; flex-direction: column; min-height: 0; background: var(--panel); border-left: 1px solid var(--line); }
  .emb-side .pl-now { padding: 12px 12px 4px; }
  .emb-side .pl-ctrls { gap: 26px; padding: 6px 0; }
  .emb-side .pl-vol { padding: 2px 14px 10px 10px; }
  .emb-side .emb-banner { display: flex; flex-direction: column; text-align: center; margin: 10px; min-height: 0; aspect-ratio: 300 / 250; border-radius: 8px; border: 0; padding: 14px; flex: none; }
  .emb-side .emb-banner .eb-t { font-size: 26px; }
  .emb-side .emb-banner .eb-s { font-size: 13px; }
  .emb-side .pl-hist-head { padding-top: 8px; }
}
@media (min-width: 800px) { .emb { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (min-width: 600px) and (max-height: 560px) {
  .emb-side .emb-banner { aspect-ratio: auto; min-height: 90px; }
  .emb-side .pl-hist, .emb-side .pl-hist-head { display: none; }
}
@media (max-width: 380px) {
  .emb-top .rc-mark span { display: none; }
  .emb-banner .eb-cta { display: none; }
}

/* ---------- 23. Responzivnost ---------- */
@media (max-width: 1399px) and (min-width: 1100px) {
  .rp-grid { grid-template-columns: 260px minmax(0, 1fr) 270px; }
}
@media (max-width: 1240px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { padding: 9px 12px; }
  .mini-vol { width: 120px; }
}
@media (max-width: 1099px) {
  .nav { display: none; }
  .hdr-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: #101a2c; border: 1px solid #212c46; color: #fff; cursor: pointer; flex: none; }
  .hdr-search { width: auto; flex: 1; max-width: 420px; }
  .hero-body { padding-left: 46%; padding-right: 18px; }
  .hero-art { width: 52%; }
  .hero-tagline { margin-bottom: 8px; }
  .rp-grid { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto minmax(0, 1fr); height: auto; }
  .rp-grid > .chat-panel { grid-column: 1; grid-row: 1 / span 2; height: var(--rp-h); }
  .rp-grid > .player-panel { grid-column: 2; grid-row: 1; }
  .rp-grid > .list-panel { grid-column: 2; grid-row: 2; }
  .player-panel .pl-hist { max-height: 150px; }
  .home-split { grid-template-columns: minmax(0, 1fr); }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .admin { grid-template-columns: 210px minmax(0, 1fr); }
  .adm-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  .embed-prev { grid-template-columns: minmax(0, 1fr); }
  .wiz { grid-template-columns: 220px minmax(0, 1fr); }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-row { grid-template-columns: 40px 64px minmax(0, 1fr) minmax(100px, 180px) 52px 44px; }
}
@media (max-width: 1099px) and (min-width: 768px) {
  .rp-grid { height: var(--rp-h); }
  .rp-grid > .list-panel { min-height: 0; }
}
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-mock { grid-template-columns: minmax(0, 1fr); }
  .site-mock .sm-text { display: none; }
  .kpis.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis.k4 .kpi:nth-child(2) { border-right: 0; }
  .kpis.k4 .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

.st-count-m, .rank-meta-m, .hero-sub-m { display: none; }
.st-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- mobilni ---- */
@media (max-width: 767px) {
  :root { --hdr-h: 54px; --mini-h: 58px; --bnav-h: 58px; }
  .shell { padding: 0 12px calc(var(--mini-space) + var(--bnav-h) + env(safe-area-inset-bottom)); }
  .hdr { gap: 10px; }
  .hdr::after { left: -12px; right: -12px; }
  .brand-ic { width: 30px; height: 27px; }
  .brand-txt b { font-size: 18px; }
  .brand-txt small { display: none; }
  .hdr-search { display: none; }
  .hdr-burger { margin-left: auto; background: transparent; border: 0; }
  .hdr-burger .ic { width: 26px; height: 26px; }

  .bnav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; height: calc(var(--bnav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #08121e; border-top: 1px solid var(--line); }
  .bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 500 11px/1 var(--font); color: #c9d1dd; text-decoration: none; background: none; border: 0; position: relative; cursor: pointer; }
  .bnav .ic { width: 23px; height: 23px; }
  .bnav .active { color: #fff; font-weight: 700; }
  .bnav .active .ic { color: #a78bfa; filter: drop-shadow(0 0 6px rgba(167, 139, 250, .5)); }
  .bnav-dot { position: absolute; top: 8px; left: calc(50% + 6px); width: 9px; height: 9px; border-radius: 50%; background: #ef4444; border: 2px solid #08121e; }
  .mini { bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom)); }
  .toasts { left: 12px; right: 12px; justify-items: stretch; top: calc(var(--hdr-h) + 6px); bottom: auto; }
  .toast { max-width: none; }

  .ftr-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  /* mini-plejer */
  .mini-inner { gap: 10px; padding: 0 8px 0 10px; }
  .mini-logo { width: 46px; height: 34px; }
  .mini-vol, .mini .eq, .mini-ctrls .prev, .mini-ctrls .next, .mini-actions .btn, .mini-actions .like { display: none; }
  .mini .pl-play { width: 40px; height: 40px; }
  .mini-txt b { font-size: 13.5px; }
  .mini-txt span { font-size: 12.5px; }

  /* hero */
  .radio-page { --hero-h: clamp(92px, 20vh, 170px); }
  .hero { border-radius: 10px; }
  .hero-art { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-art img, .hero-art svg { object-position: left center; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(4, 8, 18, .55) 62%, rgba(4, 8, 18, .94)); }
  .hero-eq, .hero-side, .hero-tags, .hero-tagline { display: none; }
  .hero-body { padding: 0 12px 10px; align-items: flex-end; }
  .hero-title { font: 700 18px/1.2 var(--font); text-transform: none; }
  .hero-sub-m { display: flex !important; align-items: center; gap: 6px; font-size: 12.5px; color: #e6ebf3; margin-top: 3px; }
  .hero-sub-m .ic { width: 14px; height: 14px; color: #f59e0b; }
  .radio-page.typing .hero { height: 0; border: 0; margin: 0; }

  /* stranica radija: chat ima prioritet */
  .radio-page { display: flex; flex-direction: column; height: calc(100vh - var(--hdr-h) - var(--bnav-h) - var(--mini-space) - 6px); height: calc(100dvh - var(--hdr-h) - var(--bnav-h) - var(--mini-space) - env(safe-area-inset-bottom) - 6px); }
  .radio-page .hero { flex: none; transition: height .2s; }
  .np-strip { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 4px 8px 0; }
  .np-strip .pl-play { width: 44px; height: 44px; background: var(--grad-send); border: 0; box-shadow: 0 4px 16px rgba(114, 70, 243, .45); }
  .np-strip .np { flex: 1; min-width: 0; }
  .np-strip .np b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .np-strip .np span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
  .np-strip .eq { height: 13px; }
  .np-strip .eq i { width: 3px; }
  .np-strip .icon-btn { background: #101b2b; border: 1px solid var(--line-2); }
  .rp-tabs { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #0a1520; border: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; border-bottom: 0; }
  .rp-tabs button { height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; background: none; border: 0; color: #c3cad6; font: 500 14px var(--font); cursor: pointer; border-bottom: 2px solid transparent; }
  .rp-tabs button + button { border-left: 1px solid var(--line); }
  .rp-tabs button .ic { width: 17px; height: 17px; }
  .rp-tabs button.on { color: #fff; background: #111d2e; border-bottom-color: #8b5cf6; font-weight: 600; }
  .rp-tabs button.on .ic { color: #a78bfa; }
  .rp-grid { flex: 1; min-height: 0; display: block; margin: 0; height: auto; }
  .rp-grid > .panel { display: none; height: 100%; border-radius: 0 0 var(--r) var(--r); }
  .radio-page[data-tab=chat] .chat-panel, .radio-page[data-tab=pesme] .player-panel, .radio-page[data-tab=info] .info-panel { display: flex; }
  .chat-panel .panel-head { height: 38px; }
  .chat-panel .panel-head h2 { font-size: 13px; }
  .info-panel { flex-direction: column; overflow-y: auto; padding: 14px; }
  .player-panel .pl-hist { max-height: none; }
  .msgs { padding: 6px 6px 8px; }
  .msg { grid-template-columns: 26px minmax(0, 1fr); column-gap: 9px; padding: 2px 4px; }
  .msg time { display: none; }
  .msg.is-sys { grid-template-columns: minmax(0, 1fr); padding-left: 39px; }
  .msg-main, .msg-name { font-size: 14px; }
  .msg-name { margin-right: 8px; }
  .msg-tools { top: -14px; }
  .composer { padding: 8px; gap: 8px; }
  .composer-box { height: 44px; }
  .composer-box .emoji-btn { width: 42px; }
  .send-btn { width: 44px; height: 44px; }
  .composer-tools { display: none; }
  .composer-more { display: grid; width: 44px; height: 44px; }

  /* početna */
  .promo { height: 200px; }
  .promo-body { padding: 0 16px; gap: 6px; }
  .promo-slide::before { background: linear-gradient(90deg, rgba(5, 10, 22, .92), rgba(5, 10, 22, .55)); }
  .promo-nav { display: none; }
  .promo-actions .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .promo-meta { font-size: 12.5px; }
  .home-panel { padding: 12px; }
  .home-toolbar { gap: 10px; }
  .home-toolbar .field-search { width: 100%; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none; width: calc(100% + 24px); }
  .pills::-webkit-scrollbar { display: none; }
  .genre-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 8px 46px 10px 10px; }
  .card-name { font-size: 14.5px; }
  .card-meta, .card-genres { font-size: 12.5px; }
  .play-fab { width: 34px; height: 34px; right: 8px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .ad-wide { gap: 10px; padding: 10px 12px; min-height: 64px; }
  .ad-wide .ad-big { font-size: 19px; }
  .ad-wide .ad-size { font-size: 14px; }
  .ad-wide .ad-cta { font-size: 12px; padding: 8px 10px; }

  /* liste */
  .page-head h1 { font-size: 22px; }
  .list-toolbar { padding: 10px; }
  .list-toolbar .field-search { width: 100%; }
  .list-toolbar .select { flex: 1; min-width: 0; }
  .big-row { grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 10px; padding: 9px 10px; }
  .big-row .round-play { width: 36px; height: 36px; }
  .big-row .st-logo { width: 56px; height: 40px; }
  .big-row .genres, .big-row .stat-mini.chat-stat { display: none; }
  .big-row .row-act .icon-btn { display: none; }
  .big-row .stat-mini { display: none; }
  .big-row .st-count-m { display: flex !important; }
  .rank-row { grid-template-columns: 30px 52px minmax(0, 1fr) 40px; gap: 10px; padding: 10px; }
  .rank-row .rank-bar, .rank-row .trend { display: none; }
  .rank-n { font-size: 20px; }
  .rank-row .st-logo { width: 52px; height: 37px; }
  .rank-row .cover { width: 40px; height: 40px; }
  .rank-meta-m { display: block !important; }

  /* statične */
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero .brand-ic { display: none; }

  /* čarobnjak */
  .wiz { grid-template-columns: minmax(0, 1fr); }
  .wiz-steps { position: static; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 6px; }
  .wiz-steps li button { flex-direction: column; gap: 4px; padding: 6px 2px; font-size: 11px; text-align: center; }
  .wiz-steps li button > span:last-child { display: none; }
  .wiz-steps li.on button > span:last-child { display: block; }
  .wiz-steps small { display: none; }
  .form-2, .form-3 { grid-template-columns: minmax(0, 1fr); }
  .summary > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wiz-foot .btn { flex: 1; }

  /* administracija */
  .admin { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 10px; }
  .admin-side { border-right: 0; border-bottom: 1px solid #16243a; padding: 8px; position: sticky; top: var(--hdr-h); z-index: 20; }
  .admin-who { display: none; }
  .admin-nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { padding: 8px 12px; font-size: 13px; flex: none; }
  .admin-nav .sep { display: none; }
  .admin-nav .cnt, .admin-nav .new-tag { margin-left: 4px; }
  .admin-main { padding: 14px 12px 18px; }
  .admin-head h1 { font-size: 19px; }
  .admin-head .actions { margin-left: 0; width: 100%; }
  .admin-head .actions .btn { flex: 1; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .form-row.top > label { padding-top: 0; }
  .kpis, .kpis.k4 { grid-template-columns: minmax(0, 1fr); }
  .kpi { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .kpi:last-child { border-bottom: 0; }
  .kpis.k4 .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .adm-grid, .adm-grid.g3 { grid-template-columns: minmax(0, 1fr); }
  .adm-grid .span2 { grid-column: auto; }
  .tbl.rsp thead { display: none; }
  .tbl.rsp, .tbl.rsp tbody, .tbl.rsp tr, .tbl.rsp td { display: block; width: 100%; }
  .tbl.rsp tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .tbl.rsp td { border: 0; padding: 4px 0; display: flex; gap: 10px; justify-content: space-between; align-items: center; text-align: right; }
  .tbl.rsp td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; flex: none; }
  .tbl.rsp td.t-first { display: block; text-align: left; padding-bottom: 6px; }
  .tbl.rsp td.t-first::before { display: none; }
  .tbl.rsp td .t-act { justify-content: flex-end; }
  .tbl.rsp .num { text-align: right; }
  .req-card { grid-template-columns: 64px minmax(0, 1fr); }
  .req-card .st-logo { width: 64px; height: 46px; }
  .req-card .acts { grid-column: 1 / -1; justify-content: stretch; }
  .req-card .acts .btn { flex: 1; }
  .banner-prev { width: 100%; }
  .hbar > div { grid-template-columns: 74px minmax(0, 1fr) 40px; }
  .act-grid { grid-template-columns: minmax(0, 1fr); }
  .ava-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phone-frame { max-width: 320px; }

  /* modal kao donji list */
  .modal-wrap { place-items: end center; padding: 0; }
  .modal { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 16px 16px 0 0; animation: sheet .24s ease; border-bottom: 0; }
  .modal-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .modal-foot .btn { flex: 1; }
  .modal-foot .left { flex: none; margin-right: 0; }
  .emoji-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .emoji-grid button { width: auto; }
  .gif-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) and (max-height: 620px) {
  .radio-page { --hero-h: 74px; }
}
@media (max-width: 380px) {
  .shell { padding-left: 10px; padding-right: 10px; }
  .brand-txt b { font-size: 16px; }
  .brand-ic { width: 26px; height: 24px; }
  .card-grid { gap: 8px; }
  .card-body { padding: 7px 40px 9px 9px; }
  .card-name { font-size: 13.5px; }
  .card-genres { display: none; }
  .play-fab { width: 30px; height: 30px; right: 6px; }
  .play-fab .ic { width: 15px; height: 15px; }
  .promo { height: 186px; }
  .promo-title { font-size: 22px; }
  .promo-sub { display: none; }
  .rp-tabs button { font-size: 13px; gap: 5px; }
  .np-strip .icon-btn.share { display: none; }
  .composer-more { width: 40px; }
  .stats-row { grid-template-columns: minmax(0, 1fr); }
  .ad-wide .ad-size { display: none; }
  .mini-txt span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-move { animation: none !important; }
  .ticker-track { overflow-x: auto; }
}
