/* Slgrace, design system. The Brand Strategy identity (owner order
   2026-11-25): Vivid Blue #1A73E9 + Very Dark Blue #12204A + black,
   white, #88B2E9 and grey; typeface Lato, self-hosted. No external assets. */
@font-face {
  font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/lato-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("/fonts/lato-900.woff2") format("woff2");
}
:root {
  --navy: #12204a;
  --navy-2: #182a5e;
  --navy-3: #1d3670;
  --ink: #0a1430;
  --vivid: #1a73e9;
  --vivid-soft: #88b2e9;
  --royal: #0450C8;
  --royal-hi: #166BD8;
  --royal-deep: #073B8C;
  --ice: #DCE9FC;
  --acc-orange: #E9901A;
  --acc-cyan: #1ADCE9;
  --acc-yellow: #DBE91A;
  --acc-pink: #E91A73;
  --acc-red: #E9291A;
  --gold: #1A73E9;
  --gold-2: #88B2E9;
  --gold-deep: #0F56B8;
  --cream: #FFFFFF;
  --paper: #F6F8FB;
  --muted: #88B2E9;
  --line: rgba(26, 115, 233, 0.22);
  --card: #16294f;
  --radius: 14px;
  --serif: "Lato", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", 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(26, 115, 233, .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(26,115,233,.13); color: var(--gold-2); }
.nav a.cta { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #FFFFFF; font-weight: 700; }
.nav a.cta:hover { color: #FFFFFF; filter: brightness(1.06); }

/* hero */
.hero {
  background:
    radial-gradient(900px 340px at 15% -60px, rgba(26,115,233,.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: #FFFFFF; font-weight: 700; font-size: 15px; font-family: var(--sans);
}
.btn:hover { filter: brightness(1.07); color: #FFFFFF; }
.btn.ghost { background: transparent; color: var(--gold-2); border-color: var(--line); }
.btn.ghost:hover { background: rgba(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.5);
  background: radial-gradient(circle at 50% 35%, var(--navy-3), var(--ink));
}
.tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  /* Badge standard (owner, 2026-11-23): a badge on artwork must be
     premium and well projected, solid ground, bold bright letters,
     readable at a glance on any picture, never faint or thin. */
  background: #060d1e; color: var(--gold-2); border: 1px solid var(--gold-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.demo-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--gold); color: #FFFFFF; font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; letter-spacing: .4px;
}
/* Type badges (owner order 2026-11-23 21:17): one small premium mark
   on every card's artwork saying what the post IS before it opens:
   Video, Audio, Mixtape, News, Quote, Story, Business. Bottom right
   of the art, the one corner no other mark uses (category tag top
   left, demo and featured top right, sponsored chip bottom left),
   and small enough to read as a corner label, never a face cover. */
.type-badge {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px;
  text-transform: uppercase; line-height: 1;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(6,13,30,.85); color: var(--cream);
  border: 1px solid rgba(26,115,233,.35);
}
.type-badge .tb-ico { font-size: 10px; line-height: 1; }
.type-badge.tb-video { background: var(--gold); color: #FFFFFF; border-color: var(--gold); }
.type-badge.tb-audio { color: var(--gold-2); border-color: var(--gold-deep); }
.type-badge.tb-mixtape { background: var(--vivid); color: #fff; border-color: var(--vivid); }
.type-badge.tb-news { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.type-badge.tb-quote { color: var(--gold-2); }
.type-badge.tb-story { color: var(--vivid-soft); border-color: rgba(136,178,233,.55); }
.type-badge.tb-article { color: var(--cream); }
.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(26,115,233,.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: #2A2E37; 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(15,86,184,.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(26,115,233,.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(26,115,233,.3); border-radius: 10px;
  padding: 11px 12px; font-size: 15px; font-family: var(--sans);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.1); border: 1px solid rgba(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.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); display: flex; flex-direction: column; }
.banner-slot img { width: 100%; height: auto; 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; }
/* Sponsored label (owner order 2026-11-23 19:16): the label is a slim
   strip ABOVE the creative, never laid over the picture, so no advert
   write-up can ever cover a person's face. It reads "Sponsored Ad" so
   every visitor knows this space can be sponsored. */
.ad-label {
  display: block; font-size: 10px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold-2); background: #060d1e;
  padding: 5px 10px; border-bottom: 1px solid var(--line);
}

/* Sponsored section house creative (owner order 2026-11-23 19:16):
   the standing invitation when nothing is booked. Pure house design,
   navy and gold, no faces anywhere, labelled Sponsored. */
.river .sponsored-house { grid-column: 1 / -1; }
.sponsored-house {
  position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 26px 24px; border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(120deg, #060d1e, var(--navy-2) 55%, #0d1b3a);
  border: 1px solid var(--gold-deep); color: var(--cream);
}
.sponsored-house-chip {
  position: absolute; top: 10px; right: 12px; font-size: 10px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold-2);
}
.sponsored-house-body { display: block; min-width: 240px; flex: 1; }
.sponsored-house-body b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold-2); margin-bottom: 6px; }
.sponsored-house-body > span { color: var(--cream); opacity: .88; }

/* Sponsored strip (owner order 2026-11-23 21:17): the homepage
   Sponsored section stands SLIM, one low strip of mini rows instead
   of a tall river of full cards. The same sponsored stack feeds it
   and the same Sponsored Ad label stands, carried in the text
   column beside a small thumb, never across any artwork or face. */
.section-head.slim { margin: 22px 0 8px; }
.section-head.slim h2 { font-size: 19px; }
.sponsored-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.sp-item {
  display: flex; align-items: center; gap: 10px; flex: 1 1 0;
  min-width: 210px; max-width: 300px; padding: 6px 10px 6px 6px;
  background: linear-gradient(180deg, var(--card), var(--navy));
  border: 1px solid rgba(26,115,233,.16); border-radius: 10px; color: var(--cream);
}
.sp-item:hover { border-color: rgba(26,115,233,.45); }
.sp-item img, .sp-item .sp-noart { width: 44px; height: 44px; border-radius: 7px; object-fit: cover; flex: none; background: var(--navy-3); }
.sp-item .sp-noart { display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: rgba(26,115,233,.5); }
.sp-body { display: flex; flex-direction: column; min-width: 0; }
.sp-body b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-meta { font-size: 11.5px; color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sponsored-house.slim { padding: 10px 14px; gap: 12px; border-radius: 10px; flex-wrap: nowrap; }
.sponsored-house.slim .sponsored-house-chip { position: static; flex: none; }
.sponsored-house.slim .sponsored-house-body { min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sponsored-house.slim .sponsored-house-body b { display: inline; font-size: 16px; margin: 0 8px 0 0; }
@media (max-width: 640px) {
  .sp-item { min-width: 180px; }
  .sponsored-house.slim .sponsored-house-body > span { display: none; }
}

/* Radio section player controls (listen page, owner order
   2026-11-23 19:18): play and pause plus volume, nothing else. */
.radio-ctl { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.radio-pbtn { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--gold); background: var(--gold); color: #FFFFFF; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.radio-pbtn:active { transform: scale(.97); }
.radio-vol { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }

/* ---- 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(26,115,233,.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,255,255,.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: #FFFFFF;
  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(26,115,233,.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(26,115,233,.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(26,115,233,.2);
  border-radius: 14px; padding: 16px 18px; font-family: var(--sans);
}
.sg-desk-pick:hover { border-color: rgba(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.16);
  transition: transform .15s ease, border-color .15s ease;
}
.genre-door:hover { transform: translateY(-2px); border-color: rgba(26,115,233,.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(26,115,233,.14); }
.genre-door.on b { color: var(--gold-2); }
.genre-strip { margin-bottom: 8px; }
.genre-chip { border: 1px solid rgba(15,86,184,.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(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.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(26,115,233,.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: #FFFFFF;
  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(26,115,233,.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: #F6F8FB; color: #131f3d; }
main a { color: var(--vivid); }
main a:hover { color: #0f56b8; }
main .muted, .panel .muted, .form-note { color: #656565; }
.hero, .hero h1, .hero h2 { color: var(--cream); }
.hero .muted { color: var(--muted); }
.card { background: #fff; border-color: rgba(63,63,63,.14); box-shadow: 0 2px 10px rgba(63,63,63,.06); }
.card:hover { border-color: rgba(15,86,184,.6); }
.card h3 a { color: #131f3d; }
.card h3 a:hover { color: var(--gold-deep); }
.card .by { color: #656565; }
.card .by a { color: var(--gold-deep); }
.stats { color: #656565; }
.stats b { color: #131f3d; }
.panel { background: #fff; border-color: rgba(63,63,63,.14); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
.door { background: #fff; border-color: rgba(63,63,63,.14); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
.door .price { color: var(--gold-deep); }
.door p { color: #656565; }
.quote-card { background: #fff; border-color: rgba(63,63,63,.14); }
.quote-card .who { color: var(--gold-deep); }
.poster { background: #fff; border-color: rgba(63,63,63,.16); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
.poster h3 { color: #131f3d; }
.poster p { color: #656565; }
.poster-price { color: var(--gold-deep); }
.poster-cat { background: var(--navy); border-color: var(--navy); }
.poster-soon { color: var(--gold-deep); border-color: rgba(15,86,184,.55); }
.poster-soon span { color: #656565; }
.cmd-tile { background: #fff; border-color: rgba(63,63,63,.14); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
.cmd-tile .v { color: var(--gold-deep); }
.genre-door { background: #fff; border-color: rgba(63,63,63,.14); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
.genre-door b { color: #131f3d; }
.genre-door span { color: #656565; }
.genre-door.on { background: rgba(15,86,184,.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: #656565; }
details.cmd-card > summary { color: #131f3d; }
.player { background: #fff; border-color: rgba(63,63,63,.14); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
label { color: #656565; }
input, select, textarea { background: #fff; color: #131f3d; border-color: rgba(63,63,63,.28); }
input:focus, select:focus, textarea:focus { border-color: var(--gold-deep); outline: 2px solid rgba(15,86,184,.4); }
th, td { border-bottom-color: rgba(63,63,63,.12); }
th { color: var(--gold-deep); }
.price-table td.term { color: var(--gold-deep); }
.pill { color: var(--gold-deep); border-color: rgba(15,86,184,.55); }
.pill.paid, .pill.published { color: #1d7a3a; background: rgba(64,160,90,.14); border-color: rgba(64,160,90,.4); }
.notice { background: #EAF2FE; color: #131f3d; border-color: rgba(15,86,184,.5); }
.attn { background: #fdf0e4; }
.attn b { color: #b3541e; }
.msg.info { color: #131f3d; }
.chips a, .chips button { color: #131f3d; border-color: rgba(63,63,63,.3); background: #fff; }
.chips a.on, .chips button.on { background: rgba(15,86,184,.16); color: #0F56B8; border-color: var(--gold-deep); }
.cal-days button { background: #fff; color: #131f3d; border-color: rgba(63,63,63,.25); }
.cal-days button.on { color: var(--gold-deep); border-color: var(--gold-deep); }
.cal-days button small { color: #656565; }
main .btn.ghost { color: #1A73E9; border-color: rgba(63,63,63,.35); }
main .btn.ghost:hover { background: rgba(15,86,184,.12); color: #0F56B8; }
.bubble.me { background: #EAF2FE; border-color: rgba(63,63,63,.18); color: #131f3d; }
.bubble.desk { background: #FFFFFF; border-color: rgba(15,86,184,.5); color: #131f3d; }
.bubble a { color: var(--vivid); }
#sg-chat-panel { background: #F6F8FB; }
.sg-chat-head { background: var(--navy); color: var(--cream); }
.sg-desk-pick { background: #fff; color: #131f3d; border-color: rgba(63,63,63,.16); box-shadow: 0 2px 10px rgba(63,63,63,.05); }
.sg-desk-pick:hover { border-color: rgba(15,86,184,.6); }
.sg-desk-pick b { color: var(--gold-deep); }
.sg-desk-pick span { color: #656565; }
.writeup { color: #26314f; }
.comment .who { color: var(--gold-deep); }
.track { border-bottom-color: rgba(63,63,63,.14); }
.radio-progress { background: rgba(63,63,63,.15); }
.radio-times { color: #656565; }
.radio-live { color: var(--gold-deep); }
.rq-row { color: #131f3d; border-bottom-color: rgba(63,63,63,.12); }
.rq-row:hover { background: rgba(26,115,233,.08); }
.rq-row.on { background: rgba(15,86,184,.13); }
.rq-t small { color: #656565; }
.avatar-lg { background: #EAF2FE; }

/* ---- Phase 4: embed-code adverts + mixtape player ---- */
.banner-slot { border-color: rgba(63,63,63,.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(15,86,184,.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 #FFFFFF on #F6F8FB ≈ 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: #656565; }

/* ---- 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(26,115,233,.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(26,115,233,.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: #FFFFFF; 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,255,255,.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(26,115,233,.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(63,63,63,.3);
}
.sup-chip:hover { border-color: var(--gold-deep); }
.sup-chip.on { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #FFFFFF; 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: #EAF2FE; border: 1px solid rgba(15,86,184,.55); border-radius: var(--radius);
  padding: 20px 22px; color: #131f3d; box-shadow: 0 2px 10px rgba(63,63,63,.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: #656565; }

/* ---- 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(26,115,233,.35), inset 0 1px 0 rgba(136,178,233,.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: #FFFFFF; border-color: var(--gold-2);
}
.nav-home.on:hover { color: #FFFFFF; }
.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,255,255,.05); border: 1px solid rgba(26,115,233,.30);
}
.nav a.nav-door:hover { background: rgba(26,115,233,.30); color: #fff; border-color: rgba(26,115,233,.55); }
.nav a.nav-door.on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #FFFFFF; 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(26,115,233,.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(26,115,233,.17), transparent 65%),
    radial-gradient(540px 210px at 82% 22%, rgba(136,178,233,.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(136,178,233,.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: #1A73E9; --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(26,115,233,.35) 322deg, rgba(26,115,233,.8) 344deg, rgba(255,255,255,.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(26,115,233,.30), rgba(26,115,233,.30)),
    conic-gradient(from var(--sg-a),
      transparent 0deg, transparent 250deg,
      rgba(255,255,255,.75) 268deg, transparent 278deg,
      transparent 296deg, rgba(26,220,233,.85) 312deg, transparent 320deg,
      rgba(26,115,233,.25) 330deg, rgba(26,115,233,.75) 344deg,
      #FFFFFF 352deg, rgba(136,178,233,.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(26,115,233,.55) 30%, #FFFFFF 50%, rgba(26,115,233,.85) 62%, transparent);
  background-size: 16% 100%; background-repeat: no-repeat; background-position: 38% 0;
  filter: drop-shadow(0 0 5px rgba(26,115,233,.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(26,115,233,.45);
  box-shadow: 0 14px 34px rgba(6,13,30,.28), inset 0 1px 0 rgba(136,178,233,.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(26,115,233,.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(26,115,233,.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(136,178,233,.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 #F6F8FB (1.87:1, lost), the "All desks"
   bar sat #88B2E9 on #F6F8FB (1.25:1, yellow on yellow), gold word
   text on white sat #0F56B8 (2.66:1), the room note sat #656565 on
   navy (3.00:1). ---- */
:root { --gold-ink: #0F56B8; }
#sg-desk-list .muted { color: var(--navy); font-weight: 700; }
#sg-chat-body > .btn.ghost { color: var(--navy); background: #fff; border-color: rgba(63,63,63,.45); font-weight: 700; }
#sg-chat-body > .btn.ghost:hover { color: var(--navy); background: #fff; border-color: rgba(63,63,63,.65); }
.sg-desk-pick b { color: var(--gold-ink); }
.sg-desk-pick span { color: #3F3F3F; }
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: #3F3F3F; }
.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(63,63,63,.05); border: 1px solid rgba(63,63,63,.45);
  border-radius: 999px; padding: 6px 12px; line-height: 1.2;
}
.mini-btn:hover { border-color: #12204a; background: rgba(63,63,63,.1); }
.mini-btn.play-btn { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); border-color: var(--gold-deep); color: #FFFFFF; }
.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-video { padding: 10px 14px 0; }
.sgp-video[hidden] { display: none; }
.sgp-ytwrap {
  position: relative; width: min(560px, 100%); margin: 0 auto;
  aspect-ratio: 16 / 9; max-height: 44vh; background: #000;
  border-radius: 10px; overflow: hidden;
}
.sgp-ytwrap > div, .sgp-ytwrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.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(26,115,233,.13); }
.sgp-btn.on { color: var(--gold); border-color: rgba(26,115,233,.5); }
.sgp-toggle { font-size: 24px; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #FFFFFF; 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-close { font-size: 14px; color: var(--gold-2); }
.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(26,115,233,.08); }
.sgp-qrow.on { background: rgba(26,115,233,.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(26,115,233,.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(63,63,63,.05); border: 1px solid rgba(63,63,63,.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: #3F3F3F; 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(63,63,63,.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(63,63,63,.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; }

/* ── Scripture ticker (owner order 2026-11-23): the school's calm gold
   ticker pattern, in Slgrace navy and gold. One slim line under the
   topbar, above the hero. Gentle scroll, paused on hover, focus, touch
   or hold; reduced motion gets one still verse rotating on a timer. ── */
.sg-ticker-band { background: var(--navy); border-bottom: 2px solid var(--gold-deep); }
.sg-ticker { display: flex; align-items: stretch; position: relative; overflow: hidden; color: var(--gold-2); }
.sg-ticker-label { position: relative; z-index: 2; flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0 13px; background: rgba(26, 115, 233, .14); color: var(--gold); border-right: 1px solid var(--line); font-family: var(--serif); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.sg-ticker-view { position: relative; overflow: hidden; flex: 1 1 auto; display: flex; align-items: center; min-height: 34px; }
.sg-ticker-track { display: flex; width: max-content; animation: sgTickMove var(--sg-tick-dur, 90s) linear infinite; will-change: transform; }
.sg-tick-group { display: flex; align-items: center; }
.sg-tick { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 10px; white-space: nowrap; font-size: 14px; color: var(--cream); }
.sg-tick b { color: var(--gold); font-weight: 700; white-space: nowrap; }
.sg-tick::after { content: "\2726"; color: var(--gold-deep); margin-left: 10px; font-size: 11px; }
a.sg-tick { text-decoration: none; }
a.sg-tick:hover b, a.sg-tick:focus-visible b { text-decoration: underline; }
.sg-ticker:hover .sg-ticker-track, .sg-ticker:focus-within .sg-ticker-track, .sg-ticker:active .sg-ticker-track, .sg-ticker.paused .sg-ticker-track { animation-play-state: paused; }
@keyframes sgTickMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sg-ticker-static { display: flex; align-items: baseline; gap: 8px; padding: 6px 14px; font-size: 14px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-ticker-static b { color: var(--gold); font-weight: 700; white-space: nowrap; }
.sg-ticker.reduced .sg-ticker-track { display: none; }
.sg-ticker-door { text-align: center; padding: 2px 12px 7px; font-size: 13px; }
.sg-ticker-door a { color: var(--gold-2); font-weight: 600; }
.sg-ticker-door a:hover { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .sg-ticker-track { animation: none; } }

/* ---- Contrast cure 2 + device fit (owner's eyes, live call 2026-11-23
   22:22-22:23): yellow words were still landing on the creamy ground in
   the spots the earlier cures never reached, the share label on every
   post page (video pages included), the ghost button in main, and the
   page-specific inline golds cured in the HTML files in this same pass.
   The rule is the standing Contrast Law: on a cream/light ground, text
   is premium dark navy, thick/bold; the house gold deepens to
   --gold-ink where it carries words on light grounds; yellow/gold text
   lives only on navy/dark grounds. Colour values ONLY here.
   Device fit (same call): the platform sizes itself to the device,
   phone, tablet, laptop, TV. This block is part of the standing
   landing gate from tonight. ---- */
.share-label { color: var(--gold-ink); }
main .btn.ghost { color: var(--gold-ink); }
main .btn.ghost:hover { color: #0B3F86; }

/* Device fit: tablet portrait/landscape, the footer steps down to two
   columns instead of squeezing four; phone, section heads wrap instead
   of squeezing their side note, and wide tables scroll sideways inside
   their panel instead of crushing their words; TV and very wide
   screens, the house opens up, a wider wrap and a fifth river column,
   so the page fills the screen it is given. */
@media (min-width: 761px) and (max-width: 1100px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section-head { flex-wrap: wrap; row-gap: 4px; }
  .section-head .muted { flex-basis: 100%; }
  main table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (min-width: 1800px) {
  .wrap { max-width: 1560px; }
  .river { grid-template-columns: repeat(5, 1fr); }
}

/* ---- Phase 15: THE BRAND STRATEGY IDENTITY (owner order 2026-11-25,
   source of truth: his Brand Strategy document, sent 2026-11-22) ----
   The website dress is rebuilt on the strategy palette, exactly:
   Vivid Blue #1A73E9 (primary, "used lavishly"), Very Dark Blue
   #12204A (primary deep ground), Black #000000; secondary White
   #FFFFFF, Vivid tint #88B2E9, Grey #BCBCBC. GOLD IS GONE from the
   website dress entirely (it survives only in the separate
   mixtape/cover standard, untouched here). Typeface: Lato, the
   strategy's font, self-hosted above in three weights.
   The token sweep carried gold->vivid across the file; this block
   re-specifies the overloaded spots, every pair computed for the
   Contrast Law:
   · CTA pills sit in the vivid family with white words: gradient
     #166BD8 -> #0F56B8 (white 5.1:1 at the lightest point, 6.9:1
     deep), the contrast-safe shades of the vivid blue.
   · Active nav doors invert to the strategy's white panel with
     very-dark-blue words (#12204A on #fff = 15.9:1).
   · Ticker references, player active states and the hero highlight
     take the strategy's own tint #88B2E9 on the deep grounds
     (6.3-9.4:1), never the mid vivid as small text on navy. ---- */
.btn, .nav a.cta, #sg-chat-btn, .sg-search button, .sgp-toggle,
.mini-btn.play-btn, .poster-soon-badge, .sup-chip.on {
  background: linear-gradient(180deg, #166BD8, #0F56B8);
  border-color: #0F56B8; color: #FFFFFF;
}
.btn:hover, .nav a.cta:hover, #sg-chat-btn:hover, .sg-search button:hover,
.sgp-toggle:hover, .mini-btn.play-btn:hover { color: #FFFFFF; }
.nav-home.on, .nav a.nav-door.on {
  background: #FFFFFF; color: #12204A; border-color: #FFFFFF;
}
.nav-home.on:hover, .nav a.nav-door.on:hover { color: #12204A; }
.nav-menu-btn { border-color: rgba(136,178,233,.55); }
.hero h1 .gold { color: #88B2E9; }
.demo-badge { background: #0F56B8; }
.mini-btn.like-btn.on, .mini-btn.follow-btn.on { color: #FFFFFF; }
.sg-ticker-label { background: #0A1430; color: #FFFFFF; }
.sg-tick b { color: #88B2E9; }
.sg-tick::after { color: #88B2E9; }
#sg-player { border-top: 2px solid #1A73E9; }
.sgp-btn.on { color: #88B2E9; border-color: rgba(136,178,233,.5); }
.sgp-like.on { color: #88B2E9; }

/* ---- Phase 16: THE COMPLETED PALETTE (owner correction 2026-11-25
   ~17:10: the strategy palette is "beyond just blue, white, and
   black") ----
   The secondary greys carry the supporting roles in the strategy's
   own values: Mid Grey #656565 for secondary text on white (5.8:1),
   Dark Grey #3F3F3F for the stronger muted text and the border /
   divider tints (10.5:1), Light Grey #BCBCBC for hairlines. The five
   visibility accents appear SPARINGLY, exactly as the strategy
   commands, in small badges and marks only, never on a surface:
   Vivid Yellow #DBE91A on the Demo badge, Vivid Orange #E9901A on
   the Coming Soon badge, Vivid Pink #E91A73 on the Video corner
   badge (black words on each: 15.7 / 8.6 / 4.8:1), Vivid Cyan
   #1ADCE9 in the ticker's diamond marks and one glint of the edge
   light, Vivid Red #E9291A on the radio LIVE dot, where it already
   stood. ---- */
.demo-badge { background: #DBE91A; color: #000000; }
.poster-soon-badge { background: #E9901A; color: #000000; border-color: #B96F0D; }
.type-badge.tb-video { background: #E91A73; color: #000000; border-color: #E91A73; }
.sg-tick::after { color: #1ADCE9; }
.live-dot { background: #E9291A; }
.foot-base { border-top: 1px solid rgba(188,188,188,.35); }
input::placeholder, textarea::placeholder { color: #656565; }

/* ---- Phase 17: OWNER CORRECTION, CONTRAST FIRST + THE REAL BLUE
   DOMINANT + EVERY COLOUR PRESENT (owner, live call 2026-11-25
   ~17:31-17:34, from his phone screenshot of the Phase 15/16 dress) ----
   His ruling: the palette approval stands, the EXECUTION changes.
   (1) No write-up swallowed by its background, anywhere: the light
   blue #88B2E9 body text on dark navy (footer, support band, hero,
   player, desk rooms) is cured at the root, on dark grounds text is
   WHITE, secondary text is the pale ice #DCE9FC (11-13:1 on the deep
   grounds), emphasis takes a bright strategy accent. Two light-ground
   stragglers the earlier cures missed (.card-explain, .radio-vol,
   both #88B2E9 on paper) are deepened to the house slate.
   (2) The real blue he first sent today, the vivid royal blue of the
   Daily Quote frame's VISIT US TODAY pill, sampled #0450C8, is now
   the platform's dominant living colour: topbar, sticky nav row,
   top band, hero field, ticker of buttons and bands run royal, with
   the strategy vivid #1A73E9 as its bright sibling in the gradients.
   The deep #12204A remains only where white/bright text projects on
   it (footer ground, ticker band, player, desk rooms).
   (3) Every strategy colour follows suit, visibly: orange leads the
   accents (support buttons, audio badges, sponsored marks, section
   spectrum), cyan, yellow, pink and red are woven through section
   bars, badges, footer columns, door tops and the edge light.
   Colour and dress ONLY: no copy, route, price or behaviour change.
   Every pair below was computed for the Contrast Law. ---- */

/* (2) the royal stack: topbar, nav row, top band, hero */
.topbar {
  background: linear-gradient(180deg, var(--royal-hi), var(--royal));
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.brand-tag { color: #FFFFFF; }
.navrow {
  background: linear-gradient(180deg, var(--royal-hi), var(--royal));
  border-bottom: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 20px rgba(4,40,110,.35);
}
.topband { background: var(--royal); }
.nav a.nav-door {
  background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.38); color: #FFFFFF;
}
.nav a.nav-door:hover { background: rgba(255,255,255,.24); color: #FFFFFF; border-color: rgba(255,255,255,.6); }
.nav-home {
  background: linear-gradient(180deg, var(--royal-deep), var(--navy));
  border-color: rgba(255,255,255,.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.35), 0 3px 10px rgba(3,30,90,.4);
}
.nav-home:hover { color: #FFFFFF; }
.nav-menu-btn {
  border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.10); color: #FFFFFF;
}
.nav.open .nav-drop {
  background: linear-gradient(180deg, var(--royal), var(--navy));
  border-color: rgba(255,255,255,.3); border-top: 2px solid var(--acc-cyan);
}
.hero {
  background:
    radial-gradient(900px 340px at 15% -60px, rgba(26,220,233,.22), transparent 60%),
    radial-gradient(700px 300px at 90% -40px, rgba(233,144,26,.16), transparent 60%),
    linear-gradient(180deg, var(--royal) 0%, var(--royal-hi) 42%, var(--vivid) 78%, var(--navy) 100%);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.hero::before {
  background:
    radial-gradient(430px 190px at 18% 32%, rgba(26,220,233,.20), transparent 65%),
    radial-gradient(540px 210px at 82% 22%, rgba(255,255,255,.14), transparent 65%);
}
.hero p { color: #FFFFFF; }
.hero .muted { color: var(--ice); }
.hero h1 .gold { color: var(--acc-yellow); }

/* (2) the button family runs royal */
.btn, .nav a.cta, #sg-chat-btn, .sg-search button, .sgp-toggle,
.mini-btn.play-btn, .sup-chip.on, .radio-pbtn {
  background: linear-gradient(180deg, var(--royal-hi), var(--royal));
  border-color: var(--royal);
  color: #FFFFFF;
}
.btn:hover, .nav a.cta:hover, #sg-chat-btn:hover, .sg-search button:hover,
.sgp-toggle:hover, .mini-btn.play-btn:hover { color: #FFFFFF; }
#sg-player { border-top: 3px solid var(--royal); }
.post-art { box-shadow: 0 0 0 3px var(--royal), 0 0 0 6px rgba(26,115,233,.25), 0 18px 40px rgba(0,0,0,.45); }

/* (1) footer + support band: every word projects on the deep ground */
footer { border-top: 3px solid var(--royal); }
footer h4 { color: #FFFFFF; }
footer h4::after {
  content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; margin-top: 7px;
  background: linear-gradient(90deg, var(--royal-hi), var(--acc-cyan));
}
.foot-in > div:nth-child(2) h4::after { background: var(--acc-cyan); }
.foot-in > div:nth-child(3) h4::after { background: var(--acc-orange); }
.foot-in > div:nth-child(4) h4::after { background: var(--acc-pink); }
footer p, footer a { color: #FFFFFF; }
footer a:hover { color: var(--acc-cyan); }
footer .tagline { color: #FFFFFF; }
.foot-base { color: var(--ice); border-top-color: rgba(255,255,255,.22); }
.foot-support p b { color: var(--acc-orange); }
.foot-support .sg-support-form label { color: #FFFFFF; }
.sg-support-form .sup-go {
  background: linear-gradient(180deg, #F5A83D, var(--acc-orange));
  border-color: #B96F0D; color: #000000;
}
.sg-support-form .sup-go:hover { color: #000000; filter: brightness(1.05); }

/* (1) ticker: white words on the calm deep band, cyan diamonds stay */
.sg-tick b { color: #FFFFFF; }
.sg-ticker-door a { color: #FFFFFF; }
.sg-ticker-door a:hover { color: var(--acc-cyan); }

/* (1) player bar: ice secondary, cyan active states */
.sgp-meta span, .sgp-progress, .sgp-likecount, .sgp-qartist, .sgp-qx,
.sgp-close, .sgp-open { color: var(--ice); }
.sgp-queue-head b { color: #FFFFFF; }
.sgp-btn.on { color: var(--acc-cyan); border-color: rgba(26,220,233,.55); }
.sgp-like.on { color: var(--acc-cyan); }

/* (1) Recent Posts jewel frame runs royal, meta in ice */
.fresh-frame {
  background: linear-gradient(180deg, var(--royal), var(--navy));
  border-color: rgba(255,255,255,.35);
}
.fresh-card { background: linear-gradient(180deg, var(--royal-deep), var(--navy)); }
.fresh-meta { color: var(--ice); }
.fresh-frame .muted { color: var(--ice); }

/* (1) sponsored surfaces on dark: white heads, cyan marks, ice meta */
.sponsored-house { border-color: var(--royal); }
.sponsored-house-body b { color: #FFFFFF; }
.sponsored-house-chip { color: var(--acc-cyan); }
.sp-meta { color: var(--ice); }
.tag { color: #FFFFFF; border-color: var(--royal); }
.ad-label { color: #FFFFFF; }

/* (1) desk rooms: the room's own words are cream/ice, never navy */
#sg-chat-panel, .desk-room { color: #EAF2FE; }
#sg-chat-panel #sg-desk-list .muted { color: var(--ice); font-weight: 400; }
.sg-chat-head .btn.ghost, .desk-room-head .btn.ghost {
  color: #FFFFFF; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.07);
}
.sg-chat-head .btn.ghost:hover, .desk-room-head .btn.ghost:hover { color: #FFFFFF; background: rgba(255,255,255,.16); }
.desk-room .form-note a { color: var(--acc-cyan); }
.sg-desk-pick { border-left: 4px solid var(--royal); }

/* (1) the two light-ground stragglers */
.card-explain { color: #3F3F3F; }
.radio-vol { color: #3F3F3F; }

/* (3) accents woven through: section spectrum, badges, doors, cards */
.section-head h2::after {
  background: linear-gradient(90deg, var(--royal), var(--acc-cyan), var(--acc-orange), var(--acc-pink), var(--royal));
  background-size: 220% 100%;
}
.type-badge.tb-audio { color: var(--acc-orange); border-color: var(--acc-orange); }
.type-badge.tb-quote { color: var(--acc-cyan); border-color: rgba(26,220,233,.6); }
.type-badge.tb-story { color: #FFFFFF; border-color: rgba(255,255,255,.55); }
.type-badge.tb-mixtape { background: var(--royal); border-color: var(--royal); }
.genre-doors .genre-door:nth-child(5n+1) { border-top: 4px solid var(--royal); }
.genre-doors .genre-door:nth-child(5n+2) { border-top: 4px solid var(--acc-orange); }
.genre-doors .genre-door:nth-child(5n+3) { border-top: 4px solid var(--acc-pink); }
.genre-doors .genre-door:nth-child(5n+4) { border-top: 4px solid var(--acc-cyan); }
.genre-doors .genre-door:nth-child(5n+5) { border-top: 4px solid var(--acc-yellow); }
.doors .door:nth-child(5n+1) { border-top: 4px solid var(--royal); }
.doors .door:nth-child(5n+2) { border-top: 4px solid var(--acc-orange); }
.doors .door:nth-child(5n+3) { border-top: 4px solid var(--acc-pink); }
.doors .door:nth-child(5n+4) { border-top: 4px solid var(--acc-cyan); }
.doors .door:nth-child(5n+5) { border-top: 4px solid var(--acc-yellow); }
.poster { border-top: 4px solid var(--royal); }
.poster-cover { border-bottom: 3px solid var(--royal); }
.poster-cat { color: #FFFFFF; }
.cmd-tile { border-top: 3px solid var(--royal); }
.sgc-dot.on { background: var(--acc-orange); border-color: var(--acc-orange); }
/* the edge light gains one warm glint in its circuit */
.sg-edge::after, .banner-slot::after, .sg-carousel::after,
.poster::after, .section-head::after {
  background:
    linear-gradient(rgba(26,115,233,.30), rgba(26,115,233,.30)),
    conic-gradient(from var(--sg-a),
      transparent 0deg, transparent 250deg,
      rgba(255,255,255,.75) 268deg, transparent 278deg,
      transparent 296deg, rgba(26,220,233,.85) 312deg, transparent 320deg,
      rgba(233,144,26,.9) 330deg, rgba(26,115,233,.75) 344deg,
      #FFFFFF 352deg, rgba(136,178,233,.9) 357deg, transparent 360deg);
}

/* Phase 17b: separation details, royal elements standing on royal
   grounds get an accent or a white edge so nothing blends away. */
.sg-search button {
  background: linear-gradient(180deg, #F5A83D, var(--acc-orange));
  border-color: #B96F0D; color: #000000;
}
.sg-search button:hover { color: #000000; filter: brightness(1.05); }
.nav a.cta {
  background: linear-gradient(180deg, #F5A83D, var(--acc-orange));
  border-color: #B96F0D; color: #000000; font-weight: 700;
}
.nav a.cta:hover { color: #000000; filter: brightness(1.05); }
.hero .btn { border-color: rgba(255,255,255,.65); box-shadow: 0 4px 14px rgba(3,30,90,.35); }
.hero .btn.ghost {
  background: rgba(255,255,255,.08); color: #FFFFFF; border-color: rgba(255,255,255,.65);
}
.hero .btn.ghost:hover { background: rgba(255,255,255,.18); color: #FFFFFF; }

/* ============================================================
   PHASE 18 — THE DESKS DRESS + CONTRAST ROOT CURE
   Owner order 2026-11-26 ~05:16 WAT, from his phone screenshot
   of the front office: the writing was FADED on its ground —
   "Apply all the house colors, the brand strategy house colors,
   on this section so it comes out very well projected. Make it
   dope."
   ROOT CAUSE: Phase 17 dressed the desk rooms for their deep
   navy ground and set the chat panel's words to ice (#DCE9FC)
   with them — but the front-office panel ground is the Phase-4
   paper (#F6F8FB). Ice on paper computes 1.15:1: the welcome
   line was lost, exactly as photographed. The panel also
   inherited ice for any plain words (1.06:1), its composer mic
   button sat light-blue on paper (2.06:1), and in the rooms the
   ACTIVE desk tab was royal ink on a blue wash over navy
   (1.75:1).
   THE DRESS — colour, border and ground values only; no desk
   route, brain, copy or behaviour changes:
   · Both head bands (front office + desk rooms) run the royal
     gradient of the site chrome; white words (5.1-7.9:1).
   · The panel's own words are the premium ink of the light
     theme (15.3:1); the welcome line stands in a white band
     with a vivid rule, navy words at 15.8:1.
   · Each desk card carries its own strategy accent as its
     rule — Care cyan #1ADCE9, Payments orange #E9901A,
     Enquiries pink #E91A73, Upload vivid #1A73E9, Adverts red
     #E9291A — titles in royal ink (6.9:1), blurbs in dark grey
     (10.5:1); on hover the card's frame takes its accent.
   · In the rooms, the active desk tab stands in the royal
     gradient with white words (5.1:1) and wears its desk's
     accent as an underline.
   SWEEP CURES at the foot — the same faded class found across
   the public pages, colour values only: playlist-picker note,
   post-art watermark, no-art monograms, carousel arrow, paid
   pill, the hero's vivid stop and hero ghost-button grounds.
   Every pair computed in the audit beside this landing:
   hidden_files/desks-dress-2026-11-26/contrast_audit.py
   ============================================================ */
#sg-chat-panel { color: #131F3D; }
.sg-chat-head, .desk-room-head {
  background: linear-gradient(180deg, var(--royal-hi), var(--royal));
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.sg-chat-head .btn.ghost, .desk-room-head .btn.ghost {
  color: #FFFFFF; background: rgba(6,13,30,.30);
}
.sg-chat-head .btn.ghost:hover, .desk-room-head .btn.ghost:hover {
  color: #FFFFFF; background: rgba(6,13,30,.45);
}
.desk-room-head b { color: #FFFFFF; }
#sg-chat-panel #sg-desk-list .muted {
  color: var(--navy); font-weight: 600;
  background: #FFFFFF; border: 1px solid rgba(26,115,233,.28);
  border-left: 5px solid var(--vivid); border-radius: 12px;
  padding: 12px 14px;
}
.sg-desk-pick { border-left: 5px solid var(--royal); }
.sg-desk-pick[data-desk="care"] { border-left-color: var(--acc-cyan); }
.sg-desk-pick[data-desk="payments"] { border-left-color: var(--acc-orange); }
.sg-desk-pick[data-desk="enquiries"] { border-left-color: var(--acc-pink); }
.sg-desk-pick[data-desk="upload"] { border-left-color: var(--vivid); }
.sg-desk-pick[data-desk="adverts"] { border-left-color: var(--acc-red); }
.sg-desk-pick[data-desk="care"]:hover { border-color: var(--acc-cyan); }
.sg-desk-pick[data-desk="payments"]:hover { border-color: var(--acc-orange); }
.sg-desk-pick[data-desk="enquiries"]:hover { border-color: var(--acc-pink); }
.sg-desk-pick[data-desk="upload"]:hover { border-color: var(--vivid); }
.sg-desk-pick[data-desk="adverts"]:hover { border-color: var(--acc-red); }
#sg-chat-panel .desk-form .btn.ghost {
  color: #0F56B8; background: #FFFFFF; border-color: rgba(15,86,184,.55);
}
#sg-chat-panel .desk-form .btn.ghost:hover { color: #0B3F86; background: #FFFFFF; }
.desk-room-tabs.chips button.on {
  background: linear-gradient(180deg, var(--royal-hi), var(--royal));
  color: #FFFFFF; border-color: var(--royal);
}
.desk-room-tabs.chips button.on[data-desk="care"] { box-shadow: inset 0 -3px 0 var(--acc-cyan); }
.desk-room-tabs.chips button.on[data-desk="payments"] { box-shadow: inset 0 -3px 0 var(--acc-orange); }
.desk-room-tabs.chips button.on[data-desk="enquiries"] { box-shadow: inset 0 -3px 0 var(--acc-pink); }
.desk-room-tabs.chips button.on[data-desk="upload"] { box-shadow: inset 0 -3px 0 var(--vivid); }
.desk-room-tabs.chips button.on[data-desk="adverts"] { box-shadow: inset 0 -3px 0 var(--acc-red); }
/* — sweep cures: colour values only — */
.hero { background: linear-gradient(160deg, var(--royal) 0%, var(--royal-hi) 42%, #1A70E0 78%, var(--navy) 100%); }
.hero .btn.ghost { background: rgba(6,13,30,.38); }
.hero .btn.ghost:hover { background: rgba(6,13,30,.50); }
.pill.paid { color: #166830; }
.sgp-picker-in .muted { color: #3F3F3F; }
.post-art::after { color: #FFFFFF; background: rgba(6,13,30,.78); }
.card .art .noart, .sp-item .sp-noart { color: #88B2E9; }
.sgc-arrow { color: #FFFFFF; }

/* ===== Play/view counts — owner switch (2026-11-26) =====
   The counters keep counting on the server; their public displays
   stay hidden until the owner turns "Show play/view counts" on in
   the dashboard (app.js adds .counts-on to the body when it is on). */
.sg-counts { display: none !important; }
body.counts-on .sg-counts { display: flex !important; }
body.counts-on span.sg-counts { display: inline !important; }
