/* Paneli i Beat FM Albania */
:root {
  --bg: #05050f;
  --bg-2: #0a0a1c;
  --card: #0f0f24;
  --card-2: #141430;
  --field: #0b0b1e;
  --line: #222246;
  --line-2: #2e2e5a;
  --text: #f4f4fb;
  --muted: #a3a3c2;
  --faint: #8686a8;
  --accent: #fe633e;
  --accent-2: #ff8a5c;
  --accent-soft: rgba(254, 99, 62, 0.14);
  --ok: #3ddc97;
  --ok-soft: rgba(61, 220, 151, 0.14);
  --err: #ff7a8a;
  --err-soft: rgba(255, 122, 138, 0.12);
  --warn: #ffc21a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 100% -10%, rgba(254, 99, 62, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--font);
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 13px; background: var(--field); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.icon { flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Struktura ───────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 14px;
  background: rgba(10, 10, 28, 0.85);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; flex-direction: column; gap: 6px; padding: 4px 10px 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; object-position: left; }
.brand-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--muted); font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-item:hover { background: var(--card-2); color: var(--text); text-decoration: none; }
.nav-item.active { background: var(--accent-soft); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.nav-item.active .icon { color: var(--accent); }
.sidebar-foot { display: flex; align-items: center; gap: 8px; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.me { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.me-text { display: flex; flex-direction: column; min-width: 0; }
.me-text strong, .me-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-text small { color: var(--faint); font-size: 12px; }
.avatar {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb26b); color: #160700; font-weight: 700;
}
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: rgba(5, 5, 15, 0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.titles { flex: 1; min-width: 0; }
.titles h1 { font-size: 22px; font-weight: 700; }
.titles p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.top-actions { display: flex; gap: 8px; }
.icon-btn.menu-btn { display: none; }
.content { padding: 28px 32px 48px; max-width: 1240px; width: 100%; }
.foot { padding: 0 32px 24px; color: var(--faint); font-size: 12px; }
.backdrop { display: none; }

/* ── Kartat ──────────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.card-head h2 { font-size: 17px; font-weight: 650; }
.card-head p { margin-top: 4px; font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.cols.wide-first { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.cols.appearance { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* ── Statistikat ─────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat {
  display: flex; gap: 14px; align-items: center;
  padding: 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.stat small { display: block; color: var(--muted); font-size: 12px; }
.stat strong { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 650; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: pulse 1.8s infinite; }
.dot.off { background: var(--err); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } }

/* ── Po luhet tani ───────────────────────────────────── */
.now { display: flex; gap: 22px; align-items: center; align-self: start; }
.now-art {
  width: 132px; height: 132px; flex-shrink: 0; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; color: var(--faint);
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 18%, #05051a 19% 100%);
}
.now-art img { width: 100%; height: 100%; object-fit: cover; }
.now-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.now-body h2 { font-size: 22px; overflow-wrap: anywhere; }
.now-body .row { margin-top: 10px; flex-wrap: wrap; }

.copy-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 16px; }
.copy-row code { background: none; border: 0; padding: 0; flex: 1; }
.kv { margin: 0; display: grid; gap: 10px; }
.kv div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.quick-item:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.quick-item .icon { color: var(--accent); margin-top: 2px; }
.quick-item span { display: flex; flex-direction: column; }
.quick-item small { color: var(--muted); font-size: 12.5px; }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline div { display: flex; flex-direction: column; min-width: 0; }
.timeline small { color: var(--faint); font-size: 12px; }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }

/* ── Format ──────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > label, .field .label { font-size: 13px; font-weight: 600; color: #d6d6ea; }
.req { color: var(--accent); }
input[type=text], input[type=url], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--field); color: var(--text); font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; line-height: 1.6; min-height: 120px; }
input:hover, textarea:hover, select:hover { border-color: #3a3a70; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: #6c6c90; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--err); }
.help { font-size: 12.5px; color: var(--faint); }
.error { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--err); }
.counter { align-self: flex-end; font-size: 12px; color: var(--faint); margin-top: -2px; }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.with-suffix { display: flex; align-items: stretch; }
.with-suffix input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.with-suffix span { display: flex; align-items: center; padding: 0 14px; background: var(--card-2); border: 1px solid var(--line-2); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: 14px; }
.color-input { display: flex; gap: 10px; }
.color-input input[type=color] { width: 56px; height: 46px; padding: 4px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--field); cursor: pointer; }
.color-input .hex { max-width: 140px; font-family: var(--mono); text-transform: uppercase; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); cursor: pointer; }
.swatch:hover { transform: scale(1.08); }

/* Ndërprerësi */
.toggle-field { grid-column: 1 / -1; }
.field > .switch-row { font-size: 15px; font-weight: 400; color: var(--text); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); cursor: pointer; }
.switch-text { display: flex; flex-direction: column; gap: 2px; }
.switch-text strong { font-weight: 600; }
.switch-text small { color: var(--faint); font-size: 12.5px; font-weight: 400; }
.switch { appearance: none; position: relative; flex-shrink: 0; width: 46px; height: 26px; border-radius: 26px; background: #2a2a52; cursor: pointer; transition: background 0.2s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }

/* Butonat */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--card-2); color: var(--text);
  font: 600 14.5px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 6px 18px rgba(254, 99, 62, 0.28); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn.danger-ghost { background: transparent; border-color: rgba(255, 122, 138, 0.4); color: var(--err); }
.btn.danger-ghost:hover { background: var(--err-soft); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
.btn.lg { min-height: 50px; font-size: 16px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; list-style: none; }
.icon-btn:hover { background: var(--card-2); color: var(--text); }
.icon-btn.danger:hover { color: var(--err); background: var(--err-soft); }
.file-btn { position: relative; overflow: hidden; align-self: flex-start; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.savebar {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; justify-content: flex-end; align-items: center; gap: 14px;
  padding: 14px 18px; margin: 0 -4px;
  background: rgba(10, 10, 28, 0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius);
}

.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--card-2); color: var(--muted); border: 1px solid var(--line-2); }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(61, 220, 151, 0.3); }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.alert.err { background: var(--err-soft); color: var(--err); border: 1px solid rgba(255, 122, 138, 0.35); }
.alert.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(61, 220, 151, 0.3); }
.alert p + p { margin-top: 4px; }

/* Njoftimet lart djathtas */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 14px 16px; border-radius: 12px; background: #15152f; border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); animation: slide 0.25s ease-out; }
.toast span { flex: 1; }
.toast.ok .icon { color: var(--ok); }
.toast.err { border-color: rgba(255, 122, 138, 0.5); }
.toast.err .icon { color: var(--err); }
.toast-x { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 0; }
.toast.hide { opacity: 0; transform: translateY(-6px); transition: 0.3s; }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }

/* Tabelat */
.table-wrap { overflow-x: auto; margin: 0 -8px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.actions { display: flex; gap: 4px; justify-content: flex-end; }
.who { display: flex; gap: 10px; align-items: center; }
.who small { display: block; color: var(--faint); }
.pop { position: relative; }
.pop summary::-webkit-details-marker { display: none; }
.pop-body { position: absolute; right: 0; top: 44px; z-index: 5; width: 260px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: #15152f; border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.pop-body label { font-size: 13px; font-weight: 600; }

/* Fotot */
.media-row { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.media-thumb { width: 200px; height: 110px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; padding: 12px; }
.media-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.checker { background: repeating-conic-gradient(#14142e 0 25%, #0c0c22 0 50%) 0 0 / 18px 18px; }
.icon-thumb { width: 110px; height: 110px; padding: 0; border-radius: 24px; background: var(--field); }
.icon-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.media-info small { color: var(--faint); }

/* Parapamja e telefonit */
.preview-col .sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.phone { --accent: #fe633e; width: 270px; height: 560px; padding: 10px; border-radius: 42px; background: #1b1b2e; box-shadow: 0 0 0 2px #2e2e48, 0 30px 60px rgba(0, 0, 0, 0.55); }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000010; display: flex; flex-direction: column; }
.ph-art { position: absolute; inset: 0 0 40% 0; display: grid; place-items: center; background: #0b0b24; }
.ph-art::after { content: ""; position: absolute; inset: 50% 0 0 0; background: linear-gradient(transparent, #000010); }
.ph-vinyl { width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #05051a 0 18px, #1e1e42 18px 19px); }
.ph-vinyl i { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 transparent; }
.ph-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 26px 18px 0; }
.ph-top img { height: 26px; max-width: 120px; object-fit: contain; }
.ph-live { display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 16, 0.7); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; }
.ph-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ph-info { position: relative; z-index: 1; margin-top: auto; text-align: center; display: flex; flex-direction: column; gap: 2px; padding: 0 16px; }
.ph-info small { font-size: 8px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); }
.ph-info strong { font-size: 20px; }
.ph-info span { font-size: 12px; color: var(--muted); }
.ph-controls { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 26px; margin: 22px 0 18px; }
.ph-controls span { width: 34px; height: 34px; border-radius: 50%; background: #14142e; }
.ph-controls b { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000010; box-shadow: 0 0 0 3px var(--accent); }
.ph-controls b .icon { fill: #000010; }
.ph-vol { position: relative; z-index: 1; margin: 0 26px 30px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.ph-vol i { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; border-radius: 4px; background: var(--accent); }

.np-result { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); }
.np-result img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.np-result.bad { border-color: rgba(255, 122, 138, 0.4); color: var(--err); }

/* ── Hyrja dhe instalimi ─────────────────────────────── */
.auth-body { display: grid; place-items: center; min-height: 100vh; padding: 24px 16px; }
.auth { width: 100%; max-width: 440px; }
.auth.wide { max-width: 760px; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 24px; }
.auth-brand img { height: 52px; }
.auth .card h2 { font-size: 22px; margin-bottom: 6px; }
.auth .card > .muted { margin-bottom: 20px; }
.auth .btn.lg { width: 100%; }
.checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; font-size: 14px; }
.checks li small { grid-column: 2; color: var(--faint); font-size: 12px; }
.checks .ok .icon { color: var(--ok); }
.checks .warn .icon { color: var(--warn); }
.checks .bad { color: var(--err); }
.section { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.section legend { padding: 0 8px; font-weight: 650; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--field); height: 100%; }
.choice span .icon { color: var(--accent); margin-bottom: 4px; }
.choice small { color: var(--muted); font-size: 12.5px; }
.choice input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Telefon dhe tablet ──────────────────────────────── */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols, .cols.wide-first { grid-template-columns: minmax(0, 1fr); }
  .cols.appearance { grid-template-columns: minmax(0, 1fr); }
  .preview-col .sticky { position: static; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 50; width: 280px; transform: translateX(-100%); transition: transform 0.25s ease; }
  .sidebar.open { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, 0.6); }
  .backdrop.show { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.55); }
  .icon-btn.menu-btn { display: inline-grid; }
  .topbar { padding: 14px 16px; }
  .titles h1 { font-size: 19px; }
  .content { padding: 20px 16px 40px; }
  .foot { padding: 0 16px 20px; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .grid, .choice-row, .checks, .quick { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .stat { padding: 14px; gap: 10px; }
  .stat-icon { width: 38px; height: 38px; }
  .stat strong { font-size: 16px; }
  .card { padding: 18px 16px; }
  .now { flex-direction: column; align-items: flex-start; }
  .now-art { width: 100%; height: 180px; }
  .media-row { flex-direction: column; align-items: flex-start; }
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .savebar { justify-content: stretch; }
  .savebar .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
