/* Slgrace, design system. Deep navy ground, gold light. No external assets. */
:root {
  --navy: #12204a;
  --navy-2: #182a5e;
  --navy-3: #1d3670;
  --ink: #0a1430;
  --vivid: #1a73e9;
  --vivid-soft: #88b2e9;
  --gold: #f5c451;
  --gold-2: #ffd97a;
  --gold-deep: #c9962e;
  --cream: #fff8e6;
  --paper: #f7f3e8;
  --muted: #a9b6cf;
  --line: rgba(245, 196, 81, 0.22);
  --card: #16294f;
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* header */
.topbar {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border-bottom: 1px solid var(--line);
  /* Phase 9: the header itself no longer sticks, only the slim
     .navrow inside the chrome is sticky (see the Phase 9 block). */
}
.topbar-in { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--cream); flex-direction: row; }
.brand:hover { color: var(--cream); }
.brand-plate {
  background: #fff; border-radius: 10px; padding: 6px 12px; display: inline-flex; align-items: center;
  box-shadow: 0 2px 14px rgba(26, 115, 233, .35), inset 0 0 0 1px rgba(245, 196, 81, .45);
}
.brand-logo { height: 40px; width: auto; display: block; }
.brand-plate.foot .brand-logo { height: 46px; }
.brand-tag { font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.tagline { font-family: var(--serif); font-size: 19px; color: var(--gold-2); margin: 12px 0 6px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav a {
  color: var(--cream); padding: 8px 11px; border-radius: 999px; font-size: 14.5px;
}
.nav a:hover, .nav a.on { background: rgba(245,196,81,.13); color: var(--gold-2); }
.nav a.cta { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #23180a; font-weight: 700; }
.nav a.cta:hover { color: #23180a; filter: brightness(1.06); }

/* hero */
.hero {
  background:
    radial-gradient(900px 340px at 15% -60px, rgba(245,196,81,.20), transparent 60%),
    radial-gradient(700px 300px at 90% -40px, rgba(18,48,88,.9), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--ink));
  border-bottom: 1px solid var(--line);
  padding: 44px 0 30px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08; margin: 0 0 12px; max-width: 760px;
}
.hero h1 .gold { color: var(--gold); }
.hero p { color: var(--muted); max-width: 640px; margin: 0 0 20px; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--gold-deep); border-radius: 999px; padding: 11px 20px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #23180a; font-weight: 700; font-size: 15px; font-family: var(--sans);
}
.btn:hover { filter: brightness(1.07); color: #23180a; }
.btn.ghost { background: transparent; color: var(--gold-2); border-color: var(--line); }
.btn.ghost:hover { background: rgba(245,196,81,.1); color: var(--gold-2); }
.btn.small { padding: 7px 14px; font-size: 13.5px; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* section heads */
.section-head { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 16px; }
.section-head h2 {
  font-family: var(--serif); font-size: 26px; margin: 0; color: var(--cream);
}
.section-head h2::after {
  content: ""; display: block; height: 3px; width: 56px; margin-top: 6px;
  background: linear-gradient(90deg, var(--gold), var(--vivid)); border-radius: 3px;
}
.section-head a { margin-left: auto; font-size: 14px; }

/* river cards, Phase 7: explicit pair rhythm (2 phone / 3 tablet / 4 wide) */
.river { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--navy));
  border: 1px solid rgba(245,196,81,.14); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(245,196,81,.45); }
.card .art { aspect-ratio: 1/1; background: var(--navy-3); position: relative; overflow: hidden; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card .art .noart {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 64px; color: rgba(245,196,81,.5);
  background: radial-gradient(circle at 50% 35%, var(--navy-3), var(--ink));
}
.tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(6,13,30,.82); color: var(--gold-2); border: 1px solid var(--line);
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
.demo-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--gold); color: #23180a; font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; letter-spacing: .4px;
}
.card .body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card h3 { margin: 0; font-size: 17.5px; line-height: 1.3; font-family: var(--serif); }
.card h3 a { color: var(--cream); }
.card h3 a:hover { color: var(--gold-2); }
.card .by { color: var(--muted); font-size: 13.5px; }
.card .by a { color: var(--gold-2); }
.stats { margin-top: auto; display: flex; gap: 14px; color: var(--muted); font-size: 13px; padding-top: 6px; }
.stats b { color: var(--cream); font-weight: 600; }

/* post page */
.post-hero { padding: 30px 0 8px; }
.post-grid { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.post-art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-art img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.post-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); margin: 4px 0 8px; line-height: 1.15; }
.player {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 16px 0;
}
.player audio { width: 100%; }
.track { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(245,196,81,.15); }
.track:last-child { border-bottom: 0; }
.track button { flex: none; }
.track .t { flex: 1; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; margin: 16px 0; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.writeup { color: #e9e2cd; font-size: 16.5px; white-space: pre-wrap; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(201,150,46,.35); }
.share-label { font-size: 13.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-deep); margin-right: 2px; }
.share-btn {
  display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--navy); color: var(--cream); border: 1px solid var(--navy-3);
}
.share-btn:hover { background: var(--navy-3); color: var(--gold-2); }

/* comments */
.comment { border-top: 1px solid rgba(245,196,81,.12); padding: 12px 0; }
.comment .who { color: var(--gold-2); font-weight: 600; font-size: 14px; }
.comment .when { color: var(--muted); font-size: 12.5px; margin-left: 8px; }
.comment p { margin: 4px 0 0; }

/* forms */
.panel {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
label { display: block; font-size: 13.5px; color: var(--muted); margin: 13px 0 5px; }
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%; background: var(--ink); color: var(--cream);
  border: 1px solid rgba(245,196,81,.3); border-radius: 10px;
  padding: 11px 12px; font-size: 15px; font-family: var(--sans);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(245,196,81,.5); border-color: var(--gold); }
textarea { min-height: 90px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13.5px; }
.msg { border-radius: 10px; padding: 11px 13px; margin: 13px 0; font-size: 14.5px; display: none; }
.msg.show { display: block; }
.msg.good { background: rgba(64,160,90,.18); border: 1px solid rgba(64,200,110,.5); }
.msg.bad { background: rgba(190,60,60,.16); border: 1px solid rgba(230,90,90,.5); }
.msg.info { background: rgba(245,196,81,.12); border: 1px solid var(--line); }

/* price doors */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.door {
  background: linear-gradient(180deg, var(--card), var(--navy));
  border: 1px solid rgba(245,196,81,.16); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.door h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.door .price { font-size: 26px; color: var(--gold); font-weight: 700; }
.door p { color: var(--muted); margin: 0; font-size: 14.5px; flex: 1; }

/* desk chat */
.desk-log { display: flex; flex-direction: column; gap: 10px; max-height: 430px; overflow-y: auto; padding: 4px; }
.bubble { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 15px; white-space: pre-wrap; }
.bubble.me { align-self: flex-end; background: var(--navy-3); border: 1px solid var(--line); }
.bubble.desk { align-self: flex-start; background: rgba(245,196,81,.1); border: 1px solid rgba(245,196,81,.3); }
.desk-form { display: flex; gap: 10px; margin-top: 14px; }
.desk-form input { flex: 1; }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid rgba(245,196,81,.12); }
th { color: var(--gold-2); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); color: var(--gold-2); }
.pill.paid, .pill.published { background: rgba(64,160,90,.2); color: #9be2ae; border-color: rgba(64,200,110,.4); }
.pill.desk_queue { background: rgba(245,196,81,.15); }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 52px; background: var(--navy); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; padding: 34px 0 26px; }
footer h4 { font-family: var(--serif); margin: 0 0 10px; color: var(--gold-2); font-size: 17px; }
footer p, footer a { color: var(--muted); font-size: 14.5px; }
footer a:hover { color: var(--gold-2); }
.foot-links { display: flex; flex-direction: column; gap: 7px; }
.foot-base { border-top: 1px solid rgba(245,196,81,.12); padding: 14px 0 20px; color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }

.notice {
  border: 1px solid var(--line); background: rgba(245,196,81,.08);
  border-radius: var(--radius); padding: 14px 16px; color: var(--cream); font-size: 15px;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 560px; margin: 0 auto; }
.avatar-lg { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); background: var(--navy-3); }
.socials a { margin-right: 12px; font-size: 14px; }

@media (max-width: 760px) {
  .post-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .topbar-in { flex-wrap: wrap; }
  .nav { margin-left: 0; }
  .river { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card h3 { font-size: 15.5px; }
}
.foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* ---- Phase 2: banner slots ---- */
.banner-slot { position: relative; margin: 14px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy-2); }
.banner-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-hero img { aspect-ratio: 1200/400; }
.banner-header img { aspect-ratio: 1200/120; }
.banner-inpost img { aspect-ratio: 728/200; }
.banner-sidebar img { aspect-ratio: 300/250; }
.banner-section img, .banner-fullsite img { aspect-ratio: 1200/300; }
.ad-label {
  position: absolute; top: 6px; right: 8px; z-index: 2; font-size: 10px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold-2); background: rgba(6,13,30,.75);
  padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line);
}

/* ---- Phase 2: framed artwork (the designed gold cover frame) ---- */
.post-art { position: relative; box-shadow: 0 0 0 3px var(--gold-deep), 0 0 0 6px rgba(245,196,81,.25), 0 18px 40px rgba(0,0,0,.45); }
.post-art::after {
  content: "SLGRACE"; position: absolute; bottom: 8px; right: 10px;
  font-size: 10px; letter-spacing: 2.4px; color: rgba(255,248,230,.85);
  background: rgba(6,13,30,.55); padding: 2px 7px; border-radius: 999px;
}

/* ---- Phase 2: chat desks widget ---- */
#sg-chat-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; cursor: pointer;
  border: 1px solid var(--gold-deep); border-radius: 999px; padding: 13px 20px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #23180a;
  font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
/* ---- Full-frame desk rooms (owner order 2026-11-22 17:44): a desk is an
   office you step INTO, the room fills the whole screen; Back returns the
   visitor to the exact page + scroll position they left (the page below
   never navigates; body is held with position:fixed while inside). ---- */
body.sg-room-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
/* Post pages (category purity audit side fix, 2026-11-23): the fixed
   chat pill rides higher and the comment form gains scroll room, so
   the pill never crowds the Post Comment button or the form's edge. */
body.post-page #sg-chat-btn { bottom: 92px; }
body.post-page #comment-form { margin-bottom: 120px; }
#sg-chat-btn[hidden] { display: none; }
#sg-chat-panel {
  position: fixed; inset: 0; z-index: 95; width: 100%; height: 100dvh;
  overflow: hidden; border: none; border-radius: 0; padding: 0;
  background:
    radial-gradient(900px 340px at 15% -60px, rgba(245,196,81,.16), transparent 60%),
    radial-gradient(700px 300px at 90% -40px, rgba(26,115,233,.30), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--ink));
}
#sg-chat-panel:not([hidden]) { display: flex; flex-direction: column; }
#sg-chat-panel [hidden] { display: none !important; }
.sg-chat-head {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(6,13,30,.38); font-family: var(--serif); font-size: 19px;
}
#sg-room-back { flex: none; font-family: var(--sans); }
#sg-desk-list { overflow-y: auto; width: 100%; max-width: 680px; margin: 0 auto; padding: 20px 18px 30px; }
#sg-chat-body {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
  width: 100%; max-width: 820px; margin: 0 auto; padding: 12px 18px 16px;
}
#sg-chat-body .desk-log { flex: 1; max-height: none; }
#sg-chat-body .desk-form { flex: none; }

/* ---- The /desk page is itself a TRUE full-frame room (owner order
   2026-11-22 23:31, like WhatsApp): fixed to the whole viewport, a
   header carrying the desk name and a clear Back button, messages
   scrolling inside the room only, the composer pinned to the bottom,
   and nothing of the page behind it. ---- */
body.desk-page { margin: 0; }
.desk-room {
  position: fixed; inset: 0; height: 100dvh; z-index: 95;
  display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(900px 340px at 15% -60px, rgba(245,196,81,.16), transparent 60%),
    radial-gradient(700px 300px at 90% -40px, rgba(26,115,233,.30), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--ink));
}
.desk-room-head {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(6,13,30,.38); font-family: var(--serif); font-size: 19px;
}
#desk-back { flex: none; font-family: var(--sans); }
.desk-room-tabs { flex: none; width: 100%; max-width: 820px; margin: 0 auto; padding: 12px 18px 2px; }
.desk-room .desk-log { flex: 1; max-height: none; width: 100%; max-width: 820px; margin: 0 auto; padding: 12px 18px; }
.desk-room .desk-form { flex: none; width: 100%; max-width: 820px; margin: 0 auto; margin-top: 0; padding: 10px 18px 4px; }
.desk-room-note { flex: none; text-align: center; margin: 0; padding: 2px 16px 12px; }
.sg-desk-pick {
  display: block; width: 100%; text-align: left; margin: 10px 0; cursor: pointer;
  background: var(--card); color: var(--cream); border: 1px solid rgba(245,196,81,.2);
  border-radius: 14px; padding: 16px 18px; font-family: var(--sans);
}
.sg-desk-pick:hover { border-color: rgba(245,196,81,.55); }
.sg-desk-pick b { display: block; font-size: 17px; color: var(--gold-2); }
.sg-desk-pick span { font-size: 14px; color: var(--muted); }

/* ---- Phase 2: prices page ---- */
.price-table td.term { font-weight: 700; color: var(--gold-2); }
.quote-card {
  background: linear-gradient(180deg, var(--card), var(--navy));
  border: 1px solid rgba(245,196,81,.16); border-radius: var(--radius); padding: 22px;
}
.quote-card p { font-family: var(--serif); font-size: 20px; line-height: 1.45; margin: 0 0 10px; }
.quote-card .who { color: var(--gold-2); font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
.chips a, .chips button {
  border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer;
  border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-family: var(--sans);
}
.chips a.on, .chips button.on { background: rgba(245,196,81,.16); color: var(--gold-2); border-color: var(--gold-deep); }

/* ---- Music genre doors (owner order 2026-11-22 18:59) ---- */
.genre-doors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 10px 0 20px; }
.genre-door {
  display: flex; flex-direction: column; gap: 3px; padding: 15px 16px; border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(180deg, var(--card), var(--navy)); border: 1px solid rgba(245,196,81,.16);
  transition: transform .15s ease, border-color .15s ease;
}
.genre-door:hover { transform: translateY(-2px); border-color: rgba(245,196,81,.45); }
.genre-door b { font-family: var(--serif); font-size: 18px; color: var(--cream); }
.genre-door span { font-size: 12.5px; color: var(--muted); letter-spacing: .4px; }
.genre-door.on { border-color: var(--gold-deep); background: rgba(245,196,81,.14); }
.genre-door.on b { color: var(--gold-2); }
.genre-strip { margin-bottom: 8px; }
.genre-chip { border: 1px solid rgba(201,150,46,.5); border-radius: 999px; padding: 1px 8px; font-size: 12px; white-space: nowrap; text-decoration: none; }

/* ---- Phase 2: owner command centre ---- */
.cmd-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cmd-tile { background: linear-gradient(180deg, var(--card), var(--navy)); border: 1px solid rgba(245,196,81,.16); border-radius: var(--radius); padding: 16px; text-align: center; }
.cmd-tile .v { font-size: 26px; color: var(--gold); font-weight: 700; }
.cmd-tile .k { color: var(--muted); font-size: 13px; }
.attn { border: 1px solid rgba(230,120,60,.55); background: rgba(190,90,30,.12); border-radius: var(--radius); padding: 14px 16px; }
.attn b { color: #ffb37a; }
.cal-days { display: flex; gap: 7px; flex-wrap: wrap; }
.cal-days button {
  border: 1px solid var(--line); background: var(--card); color: var(--cream); cursor: pointer;
  border-radius: 10px; padding: 7px 10px; font-size: 12.5px; font-family: var(--sans); text-align: center;
}
.cal-days button.on { border-color: var(--gold); color: var(--gold-2); }
.cal-days button small { display: block; color: var(--muted); }
details.cmd-card { margin-top: 18px; }
details.cmd-card > summary {
  cursor: pointer; font-family: var(--serif); font-size: 21px; color: var(--cream);
  padding: 14px 4px 4px; list-style: none;
}
details.cmd-card > summary::after { content: ""; display: block; height: 3px; width: 56px; margin-top: 6px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 3px; }
/* v3.1 (owner order 2026-11-22 19:56): every section explains itself in
   one or two plain lines under its title, what it is, what he can do. */
.card-explain { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 2px 4px 10px; max-width: 72ch; }
textarea.brief { min-height: 64px; }

/* ---- Brand alignment (owner's Jan-2023 Brand Strategy): Very Dark Blue #12204A base,
   Vivid Blue #1A73E9 bright accent, gold the luxury accent, real logo lockup. ---- */
.hero { background:
  radial-gradient(900px 340px at 15% -60px, rgba(245,196,81,.20), transparent 60%),
  radial-gradient(700px 300px at 90% -40px, rgba(26,115,233,.35), transparent 60%),
  linear-gradient(180deg, var(--navy-2), var(--ink)); }
.sg-chat-btn { box-shadow: 0 10px 30px rgba(26,115,233,.45), 0 4px 14px rgba(0,0,0,.4); }
.quote-card { border-left: 3px solid var(--vivid); }
a { text-decoration-color: rgba(26,115,233,.0); }
@media (max-width: 640px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand-logo { height: 32px; }
  .brand-tag { font-size: 10.5px; }
}

/* ---- Slgrace Radio & TV (Brand House: Radio + Television, now digital) ---- */
.radio-shell, .tv-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .radio-shell, .tv-shell { grid-template-columns: 1fr; } }
.radio-live { color: var(--gold-2); letter-spacing: 2px; font-size: 12.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #e9291a; box-shadow: 0 0 0 0 rgba(233,41,26,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(233,41,26,0); } 100% { box-shadow: 0 0 0 0 rgba(233,41,26,0); } }
.radio-art { width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin-top: 14px; border: 1px solid var(--line); }
.radio-progress { height: 8px; background: var(--navy-3); border-radius: 99px; overflow: hidden; }
.radio-progress > div { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--vivid)); }
.radio-times { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.radio-controls { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.radio-play { font-size: 20px; width: 58px; height: 58px; border-radius: 50%; padding: 0; }
.rq-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(245,196,81,.12); padding: 10px 6px; cursor: pointer; color: var(--cream); font: inherit; }
.rq-row:hover { background: rgba(26,115,233,.12); }
.rq-row.on { background: rgba(245,196,81,.10); }
.rq-row img, .rq-ph { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--navy-3); color: var(--gold); font-size: 20px; }
.rq-t { display: flex; flex-direction: column; min-width: 0; }
.rq-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq-t small { color: var(--muted); }
.rq-row .pill { margin-left: auto; flex: none; }
.tv-screen { position: relative; padding-top: 56.25%; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.tv-screen > div, .tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.radio-home { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---- Shop stocking: poster-style product cards (navy + gold) ---- */
.shop-tools { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 20px; }
.shop-tools input[type="search"] { max-width: 560px; }
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.poster {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  background:
    radial-gradient(420px 200px at 85% -60px, rgba(26,115,233,.28), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(245,196,81,.25); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 18px;
  transition: transform .15s ease, border-color .15s ease;
}
.poster:hover { transform: translateY(-3px); border-color: rgba(245,196,81,.55); }
.poster-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.poster-cat {
  font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700;
  color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
  background: rgba(6,13,30,.55);
}
.poster-soon-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #23180a;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  border-radius: 999px; padding: 4px 10px;
}
.poster h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.25; color: var(--cream); }
.poster p { color: var(--muted); margin: 0; font-size: 14.5px; flex: 1; }
.poster-price { font-size: 27px; color: var(--gold); font-weight: 700; }
.poster-soon {
  border: 1px dashed rgba(245,196,81,.45); border-radius: 10px; padding: 11px 12px;
  color: var(--gold-2); font-size: 14.5px; font-weight: 600;
}
.poster-soon span { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.poster-cover {
  display: block; width: calc(100% + 36px); max-width: none;
  margin: -18px -18px 2px; aspect-ratio: 148 / 210; object-fit: cover;
  border-bottom: 3px solid var(--gold);
  background: var(--navy);
}
.poster { overflow: hidden; }

/* ---- Phase 4: WHITE BALANCE (owner: "too navy blue, put white") ----
   The ground is now warm paper; cards, panels and dashboards are white;
   navy + gold survive as the premium accents, the topbar, the hero band
   and the footer stay navy, and gold deepens where it sits on white so
   no text is ever swallowed by its background (contrast law). */
body { background: #f7f5ee; color: #131f3d; }
main a { color: var(--vivid); }
main a:hover { color: #0f56b8; }
main .muted, .panel .muted, .form-note { color: #5c6c8f; }
.hero, .hero h1, .hero h2 { color: var(--cream); }
.hero .muted { color: var(--muted); }
.card { background: #fff; border-color: rgba(18,32,74,.14); box-shadow: 0 2px 10px rgba(18,32,74,.06); }
.card:hover { border-color: rgba(201,150,46,.6); }
.card h3 a { color: #131f3d; }
.card h3 a:hover { color: var(--gold-deep); }
.card .by { color: #5c6c8f; }
.card .by a { color: var(--gold-deep); }
.stats { color: #5c6c8f; }
.stats b { color: #131f3d; }
.panel { background: #fff; border-color: rgba(18,32,74,.14); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
.door { background: #fff; border-color: rgba(18,32,74,.14); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
.door .price { color: var(--gold-deep); }
.door p { color: #5c6c8f; }
.quote-card { background: #fff; border-color: rgba(18,32,74,.14); }
.quote-card .who { color: var(--gold-deep); }
.poster { background: #fff; border-color: rgba(18,32,74,.16); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
.poster h3 { color: #131f3d; }
.poster p { color: #5c6c8f; }
.poster-price { color: var(--gold-deep); }
.poster-cat { background: var(--navy); border-color: var(--navy); }
.poster-soon { color: var(--gold-deep); border-color: rgba(201,150,46,.55); }
.poster-soon span { color: #5c6c8f; }
.cmd-tile { background: #fff; border-color: rgba(18,32,74,.14); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
.cmd-tile .v { color: var(--gold-deep); }
.genre-door { background: #fff; border-color: rgba(18,32,74,.14); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
.genre-door b { color: #131f3d; }
.genre-door span { color: #5c6c8f; }
.genre-door.on { background: rgba(201,150,46,.12); border-color: var(--gold-deep); }
.genre-door.on b { color: var(--gold-deep); }
.card .by a.genre-chip { color: var(--gold-deep); }
.cmd-tile .k { color: #5c6c8f; }
details.cmd-card > summary { color: #131f3d; }
.player { background: #fff; border-color: rgba(18,32,74,.14); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
label { color: #5c6c8f; }
input, select, textarea { background: #fff; color: #131f3d; border-color: rgba(18,32,74,.28); }
input:focus, select:focus, textarea:focus { border-color: var(--gold-deep); outline: 2px solid rgba(201,150,46,.4); }
th, td { border-bottom-color: rgba(18,32,74,.12); }
th { color: var(--gold-deep); }
.price-table td.term { color: var(--gold-deep); }
.pill { color: var(--gold-deep); border-color: rgba(201,150,46,.55); }
.pill.paid, .pill.published { color: #1d7a3a; background: rgba(64,160,90,.14); border-color: rgba(64,160,90,.4); }
.notice { background: #fff6e0; color: #131f3d; border-color: rgba(201,150,46,.5); }
.attn { background: #fdf0e4; }
.attn b { color: #b3541e; }
.msg.info { color: #131f3d; }
.chips a, .chips button { color: #131f3d; border-color: rgba(18,32,74,.3); background: #fff; }
.chips a.on, .chips button.on { background: rgba(201,150,46,.16); color: #8a6410; border-color: var(--gold-deep); }
.cal-days button { background: #fff; color: #131f3d; border-color: rgba(18,32,74,.25); }
.cal-days button.on { color: var(--gold-deep); border-color: var(--gold-deep); }
.cal-days button small { color: #5c6c8f; }
main .btn.ghost { color: #a67c1a; border-color: rgba(18,32,74,.35); }
main .btn.ghost:hover { background: rgba(201,150,46,.12); color: #8a6410; }
.bubble.me { background: #e8edf7; border-color: rgba(18,32,74,.18); color: #131f3d; }
.bubble.desk { background: #fff8e6; border-color: rgba(201,150,46,.5); color: #131f3d; }
.bubble a { color: var(--vivid); }
#sg-chat-panel { background: #f7f5ee; }
.sg-chat-head { background: var(--navy); color: var(--cream); }
.sg-desk-pick { background: #fff; color: #131f3d; border-color: rgba(18,32,74,.16); box-shadow: 0 2px 10px rgba(18,32,74,.05); }
.sg-desk-pick:hover { border-color: rgba(201,150,46,.6); }
.sg-desk-pick b { color: var(--gold-deep); }
.sg-desk-pick span { color: #5c6c8f; }
.writeup { color: #26314f; }
.comment .who { color: var(--gold-deep); }
.track { border-bottom-color: rgba(18,32,74,.14); }
.radio-progress { background: rgba(18,32,74,.15); }
.radio-times { color: #5c6c8f; }
.radio-live { color: var(--gold-deep); }
.rq-row { color: #131f3d; border-bottom-color: rgba(18,32,74,.12); }
.rq-row:hover { background: rgba(26,115,233,.08); }
.rq-row.on { background: rgba(201,150,46,.13); }
.rq-t small { color: #5c6c8f; }
.avatar-lg { background: #e8edf7; }

/* ---- Phase 4: embed-code adverts + mixtape player ---- */
.banner-slot { border-color: rgba(18,32,74,.16); background: #fff; }
.banner-slot iframe.ad-embed { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.banner-hero iframe { aspect-ratio: 1200/400; }
.banner-header iframe { aspect-ratio: 1200/120; }
.banner-inpost iframe { aspect-ratio: 728/200; }
.banner-sidebar iframe { aspect-ratio: 300/250; }
.banner-section iframe, .banner-fullsite iframe { aspect-ratio: 1200/300; }
.track.on { background: rgba(201,150,46,.13); border-radius: 8px; }
.track.on .t { font-weight: 600; }
.mix-ts { color: var(--gold-deep); font-weight: 700; }

/* ---- Phase 5: contrast cure (owner screenshot 2026-11-22 18:22) ----
   The Phase-4 white balance changed the ground to warm paper but never
   recoloured the section headings: .section-head h2 still carried the
   old cream (--cream #fff8e6 on #f7f5ee ≈ invisible, the washed-out
   "Mixtapes" title). Page titles now sit in the navy base, and the one
   remaining pale caption colour on light pages (comment timestamps,
   --muted #a9b6cf) is deepened to the same slate the rest of the light
   theme uses. Colour values only; navy bands (topbar, hero, footer)
   keep their cream/gold text untouched. */
.section-head h2 { color: var(--navy); }
.comment .when { color: #5c6c8f; }

/* ---- Phase 5: responsive nav (owner orders 2026-11-22 18:23 + 18:26) ----
   The stacked 17-link nav covered half the phone page. Now, on compact
   widths (phones AND iPads, ≤1024px), the bar is two slim rows: brand +
   ☰ button, then FIVE doors, Home · Music · Videos · TV · Shop (Shop
   is a door: that is where the money flows in). The ☰ opens the FULL
   menu (Radio first, then every other section + Advertise) as a drop
   layer under the bar; tapping ☰ again or any link closes it. Laptop
   and TV widths keep the full row, tightened so it sits in the bar as
   one designed band, no long stacked nav drops down anywhere, and the
   freed space belongs to content and the high advert slots. */
.nav-menu-btn { display: none; }
@media (min-width: 1025px) and (max-width: 1400px) {
  .nav a { padding: 8px 9px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .topbar-in { flex-wrap: wrap; padding: 8px 0; gap: 6px 10px; }
  .brand { order: 1; flex-direction: row; align-items: center; gap: 8px; }
  .brand-logo { height: 30px; }
  .brand-tag { font-size: 10px; letter-spacing: 1.1px; }
  .nav-menu-btn {
    order: 2; margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex: none; border-radius: 50%; cursor: pointer;
    border: 1px solid var(--gold-deep); background: rgba(245,196,81,.08);
    color: var(--gold-2); font-size: 19px; line-height: 1; font-family: var(--sans);
  }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; justify-content: space-between; gap: 2px; }
  .nav a { padding: 7px 8px; font-size: 14px; }
  .nav a.nav-more { display: none; }
  .nav.open {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px;
    width: auto; padding: 12px 16px 16px;
    background: linear-gradient(180deg, var(--navy-2), var(--navy));
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 34px rgba(6,13,30,.45);
    animation: sg-nav-drop .18s ease;
  }
  .nav.open a { padding: 9px 12px; font-size: 15px; }
  .nav.open a.nav-more { display: block; }
}
@keyframes sg-nav-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- Phase 5: colour mix (owner order 2026-11-22 18:26) ----
   Not navy-only: the brand's Vivid Blue #1A73E9 (Brand Strategy) joins
   navy #12204A + gold as a decorating colour on the white ground,
   secondary buttons, active chips, hovers, the playing track, the drop
   menu's top edge, richer and more premium, contrast law intact
   (vivid text on white uses the deepened #0f56b8, ≈7:1). */
::selection { background: rgba(26,115,233,.28); }
.btn:hover { box-shadow: 0 4px 16px rgba(26,115,233,.35); }
main .btn.ghost { color: #0f56b8; border-color: rgba(26,115,233,.55); }
main .btn.ghost:hover { background: rgba(26,115,233,.08); color: #0f56b8; }
.chips a.on, .chips button.on { background: rgba(26,115,233,.12); color: #0f56b8; border-color: var(--vivid); }
.card:hover { box-shadow: 0 8px 22px rgba(26,115,233,.16); }
.poster:hover { box-shadow: 0 8px 22px rgba(26,115,233,.14); }
.door:hover { border-color: rgba(26,115,233,.5); }
.sg-desk-pick:hover { border-color: rgba(26,115,233,.55); }
.track.on { background: rgba(26,115,233,.10); }
.nav a:hover { background: rgba(26,115,233,.30); color: #fff; }
.nav.open { border-top: 2px solid var(--vivid); }

/* ---- Phase 5: search bar + hero carousel (owner order 2026-11-22 18:30) ----
   Top-of-page order: slim header → search bar → the swipe advert. The
   hero slot is a carousel of up to 15 creatives (auto-swipe 5s, arrows,
   dots, manual swipe, click-through); a single creative stays static. */
.sg-search { display: flex; gap: 8px; margin: 12px 0 2px; }
.sg-search input {
  flex: 1; min-width: 0; border-radius: 999px; padding: 10px 16px;
  background: #fff; color: #131f3d; border: 1px solid rgba(245,196,81,.4);
}
.sg-search input:focus { border-color: var(--gold-deep); outline: 2px solid rgba(26,115,233,.45); }
.sg-search button {
  flex: none; border: 1px solid var(--gold-deep); border-radius: 999px; padding: 10px 18px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #23180a; font-weight: 700; font-size: 14.5px; font-family: var(--sans); cursor: pointer;
}
.sg-search button:hover { filter: brightness(1.06); }
.sg-carousel { position: relative; overflow: hidden; border-radius: var(--radius); }
.sgc-track { display: flex; transition: transform .5s ease; }
.sgc-slide { flex: 0 0 100%; min-width: 0; }
.sgc-slide .banner-slot { margin: 0; height: 100%; }
.sgc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: rgba(6,13,30,.72);
  color: var(--gold-2); font-size: 22px; line-height: 1; font-family: var(--sans);
  display: grid; place-items: center; padding: 0 0 3px;
}
.sgc-arrow.prev { left: 10px; }
.sgc-arrow.next { right: 10px; }
.sgc-arrow:hover { background: rgba(26,115,233,.75); color: #fff; }
.sgc-dots {
  position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3;
  display: flex; gap: 7px; justify-content: center;
}
.sgc-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,248,230,.8);
  background: rgba(6,13,30,.45); cursor: pointer; padding: 0;
}
.sgc-dot.on { background: var(--gold); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .sgc-track { transition: none; }
}

/* ---- Phase 7: two-pair rivers + in-flow advert rhythm (owner order
   2026-11-22 18:51) ----
   One giant card per screen is gone. Every post river is a compact
   pair grid: exactly 2 columns on phones, 3 on tablets, 4 on laptop/TV
  , small cover, title, artist, section chip, so a scroll shows pair
   after pair. After every 2 rows (4 posts) an advert board spans the
   full river width, cycling the in-flow creatives: pair, pair, advert,
   pair, pair, advert… Card bodies tighten on phones so the pairs stay
   light and the rhythm reads cleanly. */
@media (min-width: 761px) and (max-width: 1100px) {
  .river { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .card .body { padding: 10px 11px 11px; gap: 5px; }
  .card h3 { font-size: 14.5px; line-height: 1.28; }
  .card .by { font-size: 12px; }
  .card .stats { font-size: 11.5px; gap: 9px; padding-top: 3px; }
  .card .art .noart { font-size: 40px; }
  .tag { font-size: 9.5px; padding: 3px 7px; top: 7px; left: 7px; letter-spacing: 1px; }
  .demo-badge { font-size: 9.5px; padding: 3px 7px; top: 7px; right: 7px; }
}
.river-ad { grid-column: 1 / -1; min-width: 0; }
.river-ad .banner-slot { margin: 0; }
.river-ad .banner-slot img { width: 100%; }

/* ---- Phase 14: Support What We Are Doing (owner order 2026-11-22
   20:15) ----
   The support band rides the navy footer of every page (cream/gold on
   navy, per the contrast law) and a white panel on the homepage (navy
   text, gold-deep accents). One shared form: quick chips + a free
   amount field that takes any figure cleanly. */
.foot-support { border-bottom: 1px solid rgba(245,196,81,.12); padding: 30px 0 26px; margin-bottom: 6px; }
.foot-support h4 { font-size: 20px; }
.foot-support p { max-width: 720px; }
.foot-support p b { color: var(--gold-2); }
.sg-support-form { max-width: 760px; }
.sup-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.sup-chip {
  font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; color: #131f3d; border: 1px solid rgba(18,32,74,.3);
}
.sup-chip:hover { border-color: var(--gold-deep); }
.sup-chip.on { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #23180a; border-color: var(--gold-deep); }
.sup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 14px; }
.sg-support-form .sup-msg { display: none; }
.sg-support-form .sup-msg:not(:empty) {
  display: block; border-radius: 10px; padding: 11px 13px; margin: 13px 0;
  font-size: 14.5px; background: rgba(190,60,60,.16); border: 1px solid rgba(230,90,90,.55);
}
.foot-support .sg-support-form label { color: var(--muted); }
.foot-support .sg-support-form .sup-msg:not(:empty) { color: var(--cream); background: rgba(190,60,60,.28); }
.support-home .sg-support-form .sup-msg:not(:empty) { color: #8c2323; }
.sg-support-form .sup-go { margin-top: 6px; }
.support-thanks { margin-top: 22px; }
.support-thanks-in {
  background: #fff6e0; border: 1px solid rgba(201,150,46,.55); border-radius: var(--radius);
  padding: 20px 22px; color: #131f3d; box-shadow: 0 2px 10px rgba(18,32,74,.06);
}
.support-thanks-in h2 { font-family: var(--serif); margin: 0 0 8px; color: var(--navy); }
.support-thanks-in p { margin: 6px 0; }
.support-thanks-in .muted { color: #5c6c8f; }

/* ---- Phase 8: Naijaloaded-style top (owner order 2026-11-22 20:28) ----
   Three crafts land together: (1) the fixed Top Fixed, Premium banner
   size under the rotating hero; (2) a premium six-door nav, Home
   pinned in a finished gold-edged rectangle that never scrolls, five
   premium pills in a scrollable row beside it, the rest of the house
   in the ☰ drop layer at every width; (3) a calm moving light, a
   soft gold drift across the homepage hero, a shimmer on the section
   rules, a slow sheen across the Home rectangle. Transform/opacity
   only, and every animation dies under prefers-reduced-motion. The
   lights sit behind or beside text, never under it, the contrast
   law holds everywhere. */
.banner-topfixed img { aspect-ratio: 1200/300; }
.banner-topfixed iframe { aspect-ratio: 1200/300; }

.nav { flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; position: relative; }
.nav-home {
  flex: none; position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: .4px; color: var(--cream);
  background: linear-gradient(180deg, #26407e, #16295c);
  border: 1px solid var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(245,196,81,.35), inset 0 1px 0 rgba(255,217,122,.35), 0 3px 10px rgba(6,13,30,.35);
}
.nav-home:hover { color: var(--gold-2); filter: brightness(1.1); }
.nav-home.on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #23180a; border-color: var(--gold-2);
}
.nav-home.on:hover { color: #23180a; }
.nav-scroll {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  overflow-x: auto; overflow-y: hidden; padding: 2px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav a.nav-door {
  flex: none; padding: 8px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--cream);
  background: rgba(255,248,230,.05); border: 1px solid rgba(245,196,81,.30);
}
.nav a.nav-door:hover { background: rgba(26,115,233,.30); color: #fff; border-color: rgba(245,196,81,.55); }
.nav a.nav-door.on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #23180a; border-color: var(--gold-2); font-weight: 700;
}
.nav-drop { display: none; }
.nav.open .nav-drop {
  display: flex; flex-wrap: wrap; gap: 4px;
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  width: min(580px, 94vw); padding: 12px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line); border-top: 2px solid var(--vivid);
  border-radius: 12px; box-shadow: 0 18px 34px rgba(6,13,30,.45);
  animation: sg-nav-drop .18s ease;
}
.nav.open .nav-drop a { padding: 9px 12px; font-size: 15px; }
.nav-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--gold-deep); background: rgba(245,196,81,.08);
  color: var(--gold-2); font-size: 19px; line-height: 1; font-family: var(--sans);
}
@media (max-width: 1024px) {
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
  .nav-home { padding: 8px 16px; font-size: 14.5px; }
  .nav a.nav-door { padding: 7px 13px; font-size: 14px; }
  .nav.open .nav-drop { left: 0; right: 0; width: auto; }
  .nav-menu-btn { order: 2; margin-left: auto; }
  /* The Phase-5 mobile block made the whole open nav the drop layer;
     in Phase 8 the drop is its own layer (.nav-drop) and the bar,
     pinned Home included, never moves. */
  .nav.open {
    position: relative; top: auto; left: auto; right: auto; width: 100%;
    padding: 0; background: none; border-bottom: 0; box-shadow: none;
  }
  .nav.open a.nav-door { padding: 7px 13px; font-size: 14px; }
}
.nav.open { border-top: 0; }

/* ---- Phase 8: the moving light ---- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: -25% -35%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(430px 190px at 18% 32%, rgba(245,196,81,.17), transparent 65%),
    radial-gradient(540px 210px at 82% 22%, rgba(255,217,122,.11), transparent 65%);
  animation: sg-light-drift 12s ease-in-out infinite alternate;
}
@keyframes sg-light-drift { from { transform: translateX(-3.5%); } to { transform: translateX(3.5%); } }
.section-head h2::after {
  background: linear-gradient(90deg, var(--gold), var(--vivid), var(--gold-2), var(--gold));
  background-size: 220% 100%;
  animation: sg-light-shimmer 7s linear infinite;
}
@keyframes sg-light-shimmer { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.nav-home::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,217,122,.30), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: sg-home-sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sg-home-sheen { 0%, 52% { transform: translateX(-160%) skewX(-18deg); } 84%, 100% { transform: translateX(340%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .section-head h2::after, .nav-home::after { animation: none; }
}

/* ---- Phase 9: layout cure, the Naijaloaded model (owner order
   2026-11-22 22:56, from his phone screenshots) ----
   The fault: the whole header stuck, so the logo bar + nav + search +
   hero carousel + Top Fixed banner covered more than half the phone
   screen and never left. The cure: the brand bar, the search bar and
   the advert stack are plain content that scrolls away (the stack
   keeps its navy band via .topband); the ONLY sticky element on the
   page is .navrow, one slim row with exactly six doors (Home pinned
   gold-edged · Music · Videos · Shop · Radio · TV) and the ☰ button,
   whose drop layer now carries every other section of the house. The
   row is mounted at body level by mountChrome: a sticky element can
   only travel inside its parent, so inside the header it could never
   have stayed. No slot, price or booking rule changes, the Top Fixed
   slot merely loses the stickiness its name never promised. */
.navrow {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(6,13,30,.28);
}
.navrow-in { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.navrow .nav { margin-left: 0; flex: 1 1 auto; order: 1; }
.navrow .nav-home { padding: 7px 18px; }
.navrow .nav a.nav-door { padding: 7px 14px; }
.navrow .nav-menu-btn { order: 2; margin-left: 0; }
.topband { background: var(--navy); }
.topband .topstack { padding-top: 12px; padding-bottom: 14px; }
.topband .sg-search { margin-top: 0; }
/* The drop layer now holds the whole house (22 links): cap its height
   and let it scroll internally instead of covering the page. */
.nav.open .nav-drop { max-height: min(70vh, 560px); overflow-y: auto; }
@media (max-width: 1024px) {
  .navrow .nav { width: auto; justify-content: flex-start; }
  .navrow .nav-home { padding: 7px 15px; font-size: 14.5px; }
  .navrow .nav a.nav-door { padding: 7px 12px; font-size: 14px; }
  .navrow .nav.open {
    position: relative; top: auto; left: auto; right: auto; width: auto;
    padding: 0; background: none; border-bottom: 0; box-shadow: none;
  }
  .navrow .nav.open a.nav-door { padding: 7px 12px; font-size: 14px; }
}

/* ---- Phase 10: desktop formatting + the desktop-mode glitch cure
   (owner order 2026-11-22 23:17, from his phone screenshots) ----
   Two cures. (1) THE GLITCH: on his TV page with the phone browser's
   "Desktop site" mode on, the whole chrome (brand, nav, search, both
   banners) packed into a narrow column at the LEFT of the screen with
   empty space to its right, while the content below rendered wide.
   Root cause, by construction: the site never had ONE container
   contract. The bands (.topbar, .navrow, .topband, footer) are bare
   blocks that center their own inner .wrap independently of
   <main class="wrap">, and neither html nor body carries any width
   rule of its own, so when a browser substitutes a virtual viewport
   (desktop mode lays out on a ~980px canvas, narrower than the site's
   1180px cap, then shrink-scales that canvas to the screen), the
   independently resolved boxes and the layout canvas disagree and the
   column can sit left-packed against the canvas edge instead of
   centered on the screen the visitor actually sees. The cure binds
   everything to the one contract: html and body are explicitly
   full-width with an overflow clip (clip, not hidden, so the sticky
   nav row keeps working, clip creates no scroll container), every
   band is explicitly full-width, embeds can never force the canvas
   wider than the screen, and every container on the page, brand bar,
   nav row, advert stack, main, footer, is the same .wrap: full-width
   up to 1180px, centered with auto margins, same edges everywhere.
   (2) DESKTOP NAV: at phone widths nothing changes (Phase 9 is
   approved). At wide widths the sticky row must not sit scanty: the
   .nav-wide copies join the door track in tiers (display: contents,
   so they take the track's own gaps as full doors) while their
   .nav-drop twins (nm-a / nm-b / nm-c) hide at the same widths, a
   door is never in both places at once, and below its tier it is back
   in the menu. The ☰ button keeps its own reserved space at the end
   of the row: it sits OUTSIDE the scrollable door track, the row
   never wraps, and the button can never shrink, doors scroll inside
   their track long before the ☰ could be pushed or clipped. */
html { width: 100%; overflow-x: clip; }
body { width: 100%; overflow-x: clip; }
.topbar, .navrow, .topband, footer { width: 100%; }
iframe, video { max-width: 100%; }
.navrow-in { flex-wrap: nowrap; }
.navrow .nav-menu-btn { flex: 0 0 auto; margin-left: auto; }
.nav-wide { display: none; }
@media (min-width: 1025px) {
  .nav-wide-a { display: contents; }
  .nav-drop a.nm-a { display: none; }
}
@media (min-width: 1280px) {
  .nav-wide-b { display: contents; }
  .nav-drop a.nm-b { display: none; }
}
@media (min-width: 1440px) {
  .nav-wide-c { display: contents; }
  .nav-drop a.nm-c { display: none; }
  .navrow .nav a.nav-door { padding: 7px 12px; }
}

/* ---- Phase 11: the glittering edge light (owner order 2026-11-22
   23:29, "the light must spark like real light and move around the
   edges; make it more premium and standard") ----
   The Phase 8 lights were soft weather: a drift, a shimmer, a sheen.
   This is the light he pictured: a bright gold-and-white SPARK that
   travels the border path of the main frames like light running
   around a picture frame, a glowing trail behind it and tiny glints
   sparkling at its head. ONE system, two forms, pure CSS:
   · .sg-edge (the frame form), a registered angle property turns a
     conic gradient; the gradient is clipped to the border ring by a
     two-layer mask, over a faint still gold ring, with a soft
     blurred halo twin running the same circuit beneath it. It is
     bound to the two top banners, the hero carousel frame, the
     section header bars and the shop product cards, and any future
     frame takes the class and gets the same light.
   · .sg-edge-line (the line form), the same spark running along a
     single edge: the nav row's bottom edge.
   The light lives on borders only, it never covers content or
   text, and it reserves nothing: the ring paints over the border
   the box already has, so no layout ever moves. Only a custom
   property animates. Where a browser cannot register the angle
   property the spark rests and the still gold ring remains. On
   small screens the halo layer rests and the circuit slows, so
   low-end phones stay smooth; under reduced-motion every runner
   rests as a still gold border, the standard, kept. */
@property --sg-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
:root { --edge-gold: #c9a227; --edge-dur: 8s; }
@keyframes sg-edge-run { to { --sg-a: 360deg; } }
.sg-edge, .section-head { position: relative; }
.sg-edge::before, .sg-edge::after,
.banner-slot::before, .banner-slot::after,
.sg-carousel::before, .sg-carousel::after,
.poster::before, .poster::after,
.section-head::before, .section-head::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
/* the halo: a thicker, blurred twin running under the spark */
.sg-edge::before, .banner-slot::before, .sg-carousel::before,
.poster::before, .section-head::before {
  padding: 3px; z-index: 4; opacity: .55; filter: blur(2.5px);
  background: conic-gradient(from var(--sg-a),
    transparent 0deg, transparent 292deg,
    rgba(201,162,39,.35) 322deg, rgba(245,196,81,.8) 344deg, rgba(255,248,230,.9) 354deg,
    transparent 360deg);
  animation: sg-edge-run var(--edge-dur) linear infinite;
}
/* the spark: a crisp ring on a still gold base, glints at its head */
.sg-edge::after, .banner-slot::after, .sg-carousel::after,
.poster::after, .section-head::after {
  padding: 1.5px; z-index: 5;
  background:
    linear-gradient(rgba(201,162,39,.30), rgba(201,162,39,.30)),
    conic-gradient(from var(--sg-a),
      transparent 0deg, transparent 250deg,
      rgba(255,248,230,.75) 268deg, transparent 278deg,
      transparent 296deg, rgba(255,217,122,.8) 312deg, transparent 320deg,
      rgba(201,162,39,.25) 330deg, rgba(245,196,81,.75) 344deg,
      #fffbef 352deg, rgba(255,217,122,.9) 357deg, transparent 360deg);
  animation: sg-edge-run var(--edge-dur) linear infinite;
}
/* inside the carousel the frame carries the light, not each slide */
.sg-carousel .banner-slot::before, .sg-carousel .banner-slot::after { content: none; }
/* the line form: one spark along the nav row's bottom edge */
.sg-edge-line::after, .navrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  pointer-events: none; z-index: 6;
  background-image: linear-gradient(90deg, transparent, rgba(201,162,39,.55) 30%, #fff8e6 50%, rgba(245,196,81,.85) 62%, transparent);
  background-size: 16% 100%; background-repeat: no-repeat; background-position: 38% 0;
  filter: drop-shadow(0 0 5px rgba(245,196,81,.55));
  animation: sg-edge-slide 7s linear infinite;
}
@keyframes sg-edge-slide {
  0% { background-position: -22% 0; }
  12% { background-position: -22% 0; }
  88% { background-position: 122% 0; }
  100% { background-position: 122% 0; }
}
@media (max-width: 760px) {
  :root { --edge-dur: 11s; }
  .sg-edge::before, .banner-slot::before, .sg-carousel::before,
  .poster::before, .section-head::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-edge::before, .sg-edge::after,
  .banner-slot::before, .banner-slot::after,
  .sg-carousel::before, .sg-carousel::after,
  .poster::before, .poster::after,
  .section-head::before, .section-head::after,
  .sg-edge-line::after, .navrow::after { animation: none; }
}

/* ---- Recent Posts swipe frame (owner order 2026-11-23 11:10,
   "VERY PREMIUM WITH LIGHTS") ----
   A navy jewel-box rail in the lower homepage, directly above
   Support. The frame itself takes the house glittering edge light
   (.sg-edge, Phase 11) so the spark runs its border like the top
   frames; inside, a true swipe rail: native touch swipe, desktop
   drag/scroll, neat scroll-snap, hidden scrollbar. Cards are deep
   navy with a slow light sheen sweeping their pictures (the Phase 8
   sheen craft), cream serif titles and gold meta on navy, so every
   word clears the contrast law at both widths. */
.fresh-frame {
  margin: 4px 0 10px; border-radius: 16px; padding: 16px 4px 14px 16px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(201,162,39,.45);
  box-shadow: 0 14px 34px rgba(6,13,30,.28), inset 0 1px 0 rgba(255,217,122,.25);
}
.fresh-rail {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; padding: 4px 12px 8px 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.fresh-rail::-webkit-scrollbar { display: none; }
.fresh-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.fresh-rail.auto { scroll-snap-type: none; }
.fresh-card {
  flex: 0 0 234px; scroll-snap-align: start; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-3), var(--navy-2));
  border: 1px solid rgba(245,196,81,.28);
  box-shadow: 0 6px 18px rgba(6,13,30,.35);
  transition: transform .15s ease, border-color .15s ease;
}
.fresh-card:hover { transform: translateY(-3px); border-color: rgba(245,196,81,.55); }
.fresh-card a { display: block; color: var(--cream); }
.fresh-art { position: relative; display: block; overflow: hidden; background: var(--navy-3); }
.fresh-art img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.fresh-art::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,217,122,.22), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: sg-home-sheen 7.5s ease-in-out infinite;
  pointer-events: none;
}
.fresh-body { display: block; padding: 11px 13px 13px; }
.fresh-body b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--serif); font-size: 16.5px; line-height: 1.3; font-weight: 600; color: var(--cream);
}
.fresh-meta { display: block; margin-top: 5px; font-size: 12.5px; color: var(--gold-2); }
@media (max-width: 760px) {
  .fresh-card { flex-basis: 62vw; }
  .fresh-frame { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fresh-art::after { animation: none; }
}

/* ---- Contrast cure (owner rulings 2026-11-23 00:15 + 00:16, Contrast
   Law applied professionally): on a cream/light ground, text is the
   premium dark navy, bold where it introduces; the house gold deepens
   to --gold-ink where it carries words on light grounds, so it truly
   projects; on a navy ground, text is cream/white or bright gold.
   Colour and weight ONLY: no layout, no copy. Every pair below was
   computed and clears 4.5:1; the p25 pins recompute them from this
   file so the fault cannot silently return. Before this cure: the
   desks intro sat #a9b6cf on #f7f5ee (1.87:1, lost), the "All desks"
   bar sat #ffd97a on #f7f5ee (1.25:1, yellow on yellow), gold word
   text on white sat #c9962e (2.66:1), the room note sat #5c6c8f on
   navy (3.00:1). ---- */
:root { --gold-ink: #86660f; }
#sg-desk-list .muted { color: var(--navy); font-weight: 700; }
#sg-chat-body > .btn.ghost { color: var(--navy); background: #fff; border-color: rgba(18,32,74,.45); font-weight: 700; }
#sg-chat-body > .btn.ghost:hover { color: var(--navy); background: #fff; border-color: rgba(18,32,74,.65); }
.sg-desk-pick b { color: var(--gold-ink); }
.sg-desk-pick span { color: #26386b; }
main .muted, .panel .muted, .form-note, .card .by, .stats, .door p, .poster p, .poster-soon span, .genre-door span, .cmd-tile .k, label, .cal-days button small, .radio-times, .rq-t small, .comment .when, .support-thanks-in .muted { color: #26386b; }
.card h3 a:hover, .card .by a, .card .by a.genre-chip, .door .price, .quote-card .who, .poster-price, .poster-soon, .cmd-tile .v, .genre-door.on b, th, .price-table td.term, .pill, .comment .who, .radio-live, .cal-days button.on, .mix-ts { color: var(--gold-ink); }
main a { color: #0f56b8; }
main a:hover { color: #0b3f86; }
.bubble a { color: #0f56b8; }
.desk-room .form-note { color: var(--cream); }
.desk-room .form-note a { color: var(--gold-2); }
.attn b { color: #9c4715; }

/* ---- Payment proof form (owner order 2026-11-23 03:41): the form
   rides inside a cream desk bubble; its labels are premium dark navy,
   bold, per the Contrast Law, and its fields are full-width white
   inputs with dark text, readable at a glance. ---- */
.proof-form label { display: block; color: #12204a; font-weight: 700; margin: 12px 0 4px; font-size: 14.5px; }
.proof-form select, .proof-form input { width: 100%; }
.proof-form input[type="file"] { padding: 8px; background: #fff; }
.proof-bubble { max-width: 92%; }

/* ---- Slgrace Music Phase 1, the streaming layer: card actions, the
   one player bar, the Up Next list, the playlist picker, and the
   Listen and Playlist pages. The bar sits on the house navy ground,
   so its words are cream and gold, the Contrast Law pairs the house
   already proved. Card buttons sit on the white card ground, so their
   words are premium dark navy, thick. ---- */
.card-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.mini-btn {
  cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: #12204a; background: rgba(18,32,74,.05); border: 1px solid rgba(18,32,74,.45);
  border-radius: 999px; padding: 6px 12px; line-height: 1.2;
}
.mini-btn:hover { border-color: #12204a; background: rgba(18,32,74,.1); }
.mini-btn.play-btn { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); border-color: var(--gold-deep); color: #23180a; }
.mini-btn.play-btn:hover { filter: brightness(1.06); background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); }
.mini-btn.like-btn.on, .mini-btn.follow-btn.on { background: #12204a; color: var(--gold); border-color: #12204a; }
.mini-btn.follow-btn { font-size: 14px; padding: 8px 18px; }

body.sgp-on { padding-bottom: 118px; }
body.sgp-on #sg-chat-btn { bottom: 132px; }
#sg-player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: linear-gradient(180deg, var(--navy-2), var(--ink));
  border-top: 2px solid var(--gold-deep);
  box-shadow: 0 -8px 30px rgba(0,0,0,.45); color: var(--cream);
}
#sg-player[hidden] { display: none; }
.sgp-progress { display: flex; align-items: center; gap: 10px; padding: 6px 14px 0; font-size: 12px; color: var(--gold-2); }
.sgp-seek { flex: 1; accent-color: var(--gold); height: 22px; cursor: pointer; }
.sgp-main { display: flex; align-items: center; gap: 12px; padding: 4px 14px 10px; }
.sgp-art { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; background: var(--navy-3); }
.sgp-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sgp-meta b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cream); }
.sgp-meta span { font-size: 13px; color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgp-controls { display: flex; align-items: center; gap: 4px; flex: none; }
.sgp-btn {
  cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: 999px;
  color: var(--cream); font-size: 19px; padding: 7px 9px; line-height: 1;
}
.sgp-btn:hover { background: rgba(245,196,81,.13); }
.sgp-btn.on { color: var(--gold); border-color: rgba(245,196,81,.5); }
.sgp-toggle { font-size: 24px; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #23180a; width: 48px; height: 48px; border-radius: 999px; }
.sgp-toggle:hover { filter: brightness(1.07); background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); }
.sgp-side { display: flex; align-items: center; gap: 2px; flex: none; }
.sgp-likewrap { display: inline-flex; align-items: center; gap: 2px; }
.sgp-likecount { font-size: 12.5px; color: var(--gold-2); min-width: 14px; }
.sgp-like.on { color: var(--gold); }
.sgp-open { color: var(--gold-2); font-size: 17px; padding: 7px 6px; }
.sgp-vol { width: 74px; accent-color: var(--gold); cursor: pointer; }
.sgp-queue { border-top: 1px solid var(--line); max-height: 240px; overflow-y: auto; padding: 8px 14px 12px; }
.sgp-queue-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.sgp-queue-head b { color: var(--gold-2); font-family: var(--serif); }
.sgp-qrow { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.sgp-qrow:hover { background: rgba(245,196,81,.08); }
.sgp-qrow.on { background: rgba(245,196,81,.14); }
.sgp-qtitle { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.sgp-qartist { color: var(--gold-2); font-size: 13px; }
.sgp-qx { cursor: pointer; background: transparent; border: none; color: var(--gold-2); font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.sgp-qx:hover { background: rgba(245,196,81,.15); }
@media (max-width: 640px) {
  .sgp-vol, .sgp-open { display: none; }
  .sgp-art { width: 44px; height: 44px; }
  body.sgp-on { padding-bottom: 108px; }
  body.sgp-on #sg-chat-btn { bottom: 122px; }
}

#sgp-picker { position: fixed; inset: 0; z-index: 120; background: rgba(6,12,30,.62); display: flex; align-items: flex-end; justify-content: center; }
.sgp-picker-in { background: #fff; color: #12204a; width: min(480px, 100%); max-height: 78dvh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 18px; }
.sgp-picker-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sgp-picker-head b { font-family: var(--serif); font-size: 19px; color: #12204a; }
.sgp-picker-in .sgp-qx { color: #12204a; }
.sgp-pick-row { display: block; width: 100%; text-align: left; cursor: pointer; background: rgba(18,32,74,.05); border: 1px solid rgba(18,32,74,.25); border-radius: 10px; padding: 11px 13px; margin: 7px 0; font-size: 15px; font-weight: 700; color: #12204a; font-family: var(--sans); }
.sgp-pick-row:hover { border-color: #12204a; }
.sgp-pick-row .muted { color: #26386b; font-weight: 400; }
.sgp-picker-new { display: flex; gap: 8px; margin-top: 12px; }
.sgp-picker-new input { flex: 1; padding: 10px 12px; border: 1px solid rgba(18,32,74,.4); border-radius: 10px; font-size: 15px; color: #12204a; }

.pl-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgba(18,32,74,.12); }
.pl-row .pl-t { flex: 1; min-width: 0; }
.pl-row .pl-t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; }
.pl-card { display: block; padding: 16px; }
.pl-card h3 { margin: 0 0 4px; }
