@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

/* =============================================================================
   Genie Gold — the only theme. A meadow that matches the public pages (util/publicPages.js):
   night = starry navy sky, moon, dark hills and fireflies; day = morning sky, sun, clouds, green hills and daisies.
   Natural accents: gold (brand), leaf green (success), sky blue (info), sunset amber (warning), berry red (danger).
   Loaded AFTER the other stylesheets. theme.js always sets data-theme="gold"; data-mode="light" = day.
   ============================================================================= */

/* ── Night ──────────────────────────────────────────────────────── */
[data-theme="gold"] {
  --accent: #e8b647; --accent-2: #f6d26b; --accent-glow: rgba(232,182,71,.22);
  --gradient: linear-gradient(135deg, #f7d774, #e2a92a 55%, #bf8414);
  --gradient-soft: linear-gradient(135deg, rgba(247,215,116,.14), rgba(226,169,42,.05));
  --bg: #0b1022; --bg-deep: #080c1a;
  --surface: rgba(21,27,48,.92); --surface-2: rgba(29,36,60,.92); --surface-3: #283153;
  --border: rgba(233,185,73,.13); --border-soft: rgba(233,185,73,.08);
  --text: #f4ecd9; --muted: #b3aa94; --muted-2: #847c69;
  --on-accent: #2a1c02;
  --tint: rgba(232,182,71,.13); --tint-strong: rgba(232,182,71,.24); --tint-ink: #f3cf73;
  --leaf: #7cc68a; --leaf-soft: rgba(124,198,138,.14);
  --sky: #8cc4ec;  --sky-soft: rgba(140,196,236,.14);
  --sun: #f2b85a;  --sun-soft: rgba(242,184,90,.15);
  --berry: #f08a80; --berry-soft: rgba(240,138,128,.14);
  --plum: #cfa9e6; --plum-soft: rgba(207,169,230,.14);
  --success: #5fb874; --success-soft: var(--leaf-soft);
  --warning: #e8a33a; --warning-soft: var(--sun-soft);
  --danger: #e5675f; --danger-soft: var(--berry-soft);
  --cyan: var(--sky);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.25);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* ── Day ────────────────────────────────────────────────────────── */
[data-theme="gold"][data-mode="light"] {
  --accent: #b07a10; --accent-2: #d4a017; --accent-glow: rgba(176,122,16,.2);
  --gradient-soft: linear-gradient(135deg, rgba(247,215,116,.34), rgba(226,169,42,.10));
  --bg: transparent; --bg-deep: rgba(242,230,204,.7);
  --surface: rgba(255,252,245,.92); --surface-2: rgba(252,246,232,.92); --surface-3: #f1e6cd;
  --border: rgba(140,100,30,.16); --border-soft: rgba(140,100,30,.10);
  --text: #2b2216; --muted: #6b5e48; --muted-2: #998a6e;
  --tint: rgba(197,143,23,.13); --tint-strong: rgba(197,143,23,.24); --tint-ink: #8a5f08;
  --leaf: #2f7d48; --leaf-soft: rgba(63,140,84,.13);
  --sky: #2b6f9e;  --sky-soft: rgba(60,130,190,.12);
  --sun: #a8650c;  --sun-soft: rgba(214,140,30,.15);
  --berry: #b4443c; --berry-soft: rgba(200,80,70,.12);
  --plum: #7a4f9a; --plum-soft: rgba(130,90,170,.12);
  --success: #2f8a52; --warning: #b8741a; --danger: #c0453d;
  --shadow: 0 1px 2px rgba(80,60,20,.05), 0 10px 30px rgba(80,60,20,.08);
  --shadow-lg: 0 24px 60px rgba(80,60,20,.16);
  color-scheme: light;
}

/* ── The scene behind every page (fixed; content scrolls over it) ── */
[data-theme="gold"] body { background: #0b1022; }
[data-theme="gold"][data-mode="light"] body { background: #f8f1e1; }
/* Drawn once on its own fixed layer (cheap to composite) — NOT background-attachment: fixed, which repaints
   on every scroll under the blurred top bar / sidebar and made pages sluggish. */
[data-theme="gold"] body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  transform: translateZ(0); will-change: transform; /* its own layer: scrolling never repaints the sky */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23070b1c'/%3E%3Cstop offset='.6' stop-color='%230d1430'/%3E%3Cstop offset='1' stop-color='%231a1d40'/%3E%3C/linearGradient%3E%3CradialGradient id='m'%3E%3Cstop offset='0' stop-color='%23fffbea'/%3E%3Cstop offset='.25' stop-color='%23f6e7b8'/%3E%3Cstop offset='.45' stop-color='%23ffecaa' stop-opacity='.22'/%3E%3Cstop offset='1' stop-color='%23ffecaa' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1600' height='1000' fill='url(%23s)'/%3E%3Ccircle cx='663' cy='154' r='1.5' fill='%23fff6dc' opacity='0.74'/%3E%3Ccircle cx='148' cy='548' r='0.7' fill='%23fff6dc' opacity='0.57'/%3E%3Ccircle cx='118' cy='519' r='0.9' fill='%23fff6dc' opacity='0.37'/%3E%3Ccircle cx='888' cy='428' r='0.7' fill='%23fff6dc' opacity='0.49'/%3E%3Ccircle cx='1128' cy='434' r='0.7' fill='%23fff6dc' opacity='0.85'/%3E%3Ccircle cx='253' cy='228' r='0.7' fill='%23fff6dc' opacity='0.70'/%3E%3Ccircle cx='812' cy='50' r='0.9' fill='%23fff6dc' opacity='0.38'/%3E%3Ccircle cx='272' cy='296' r='1.5' fill='%23fff6dc' opacity='0.44'/%3E%3Ccircle cx='241' cy='584' r='1.1' fill='%23fff6dc' opacity='0.69'/%3E%3Ccircle cx='1396' cy='185' r='0.7' fill='%23fff6dc' opacity='0.70'/%3E%3Ccircle cx='1308' cy='192' r='1.1' fill='%23fff6dc' opacity='0.41'/%3E%3Ccircle cx='1458' cy='64' r='0.7' fill='%23fff6dc' opacity='0.72'/%3E%3Ccircle cx='1016' cy='696' r='1.5' fill='%23fff6dc' opacity='0.82'/%3E%3Ccircle cx='953' cy='599' r='1.5' fill='%23fff6dc' opacity='0.57'/%3E%3Ccircle cx='508' cy='184' r='0.9' fill='%23fff6dc' opacity='0.40'/%3E%3Ccircle cx='614' cy='537' r='1.5' fill='%23fff6dc' opacity='0.88'/%3E%3Ccircle cx='1493' cy='459' r='1.1' fill='%23fff6dc' opacity='0.72'/%3E%3Ccircle cx='149' cy='120' r='1.5' fill='%23fff6dc' opacity='0.45'/%3E%3Ccircle cx='700' cy='155' r='1.5' fill='%23fff6dc' opacity='0.60'/%3E%3Ccircle cx='1368' cy='79' r='1.1' fill='%23fff6dc' opacity='0.55'/%3E%3Ccircle cx='717' cy='608' r='1.5' fill='%23fff6dc' opacity='0.70'/%3E%3Ccircle cx='934' cy='70' r='0.7' fill='%23fff6dc' opacity='0.92'/%3E%3Ccircle cx='970' cy='713' r='0.7' fill='%23fff6dc' opacity='0.39'/%3E%3Ccircle cx='1436' cy='317' r='1.5' fill='%23fff6dc' opacity='0.52'/%3E%3Ccircle cx='790' cy='684' r='1.1' fill='%23fff6dc' opacity='0.36'/%3E%3Ccircle cx='945' cy='363' r='0.9' fill='%23fff6dc' opacity='0.72'/%3E%3Ccircle cx='1011' cy='60' r='0.9' fill='%23fff6dc' opacity='0.81'/%3E%3Ccircle cx='264' cy='253' r='1.5' fill='%23fff6dc' opacity='0.58'/%3E%3Ccircle cx='1016' cy='82' r='0.9' fill='%23fff6dc' opacity='0.62'/%3E%3Ccircle cx='1125' cy='284' r='0.9' fill='%23fff6dc' opacity='0.84'/%3E%3Ccircle cx='1126' cy='285' r='1.5' fill='%23fff6dc' opacity='0.94'/%3E%3Ccircle cx='1398' cy='389' r='0.9' fill='%23fff6dc' opacity='0.44'/%3E%3Ccircle cx='360' cy='154' r='0.9' fill='%23fff6dc' opacity='0.75'/%3E%3Ccircle cx='24' cy='496' r='0.9' fill='%23fff6dc' opacity='0.51'/%3E%3Ccircle cx='8' cy='149' r='1.5' fill='%23fff6dc' opacity='0.67'/%3E%3Ccircle cx='1248' cy='579' r='1.1' fill='%23fff6dc' opacity='0.92'/%3E%3Ccircle cx='1414' cy='527' r='0.7' fill='%23fff6dc' opacity='0.62'/%3E%3Ccircle cx='1597' cy='696' r='1.5' fill='%23fff6dc' opacity='0.59'/%3E%3Ccircle cx='807' cy='106' r='1.5' fill='%23fff6dc' opacity='0.73'/%3E%3Ccircle cx='127' cy='195' r='0.7' fill='%23fff6dc' opacity='0.94'/%3E%3Ccircle cx='902' cy='166' r='0.7' fill='%23fff6dc' opacity='0.55'/%3E%3Ccircle cx='107' cy='104' r='0.7' fill='%23fff6dc' opacity='0.69'/%3E%3Ccircle cx='1098' cy='103' r='1.1' fill='%23fff6dc' opacity='0.72'/%3E%3Ccircle cx='144' cy='212' r='1.5' fill='%23fff6dc' opacity='0.44'/%3E%3Ccircle cx='516' cy='355' r='1.1' fill='%23fff6dc' opacity='0.63'/%3E%3Ccircle cx='236' cy='499' r='1.5' fill='%23fff6dc' opacity='0.64'/%3E%3Ccircle cx='638' cy='87' r='0.9' fill='%23fff6dc' opacity='0.41'/%3E%3Ccircle cx='701' cy='271' r='1.5' fill='%23fff6dc' opacity='0.85'/%3E%3Ccircle cx='330' cy='528' r='0.7' fill='%23fff6dc' opacity='0.47'/%3E%3Ccircle cx='1081' cy='370' r='0.9' fill='%23fff6dc' opacity='0.76'/%3E%3Ccircle cx='55' cy='540' r='1.1' fill='%23fff6dc' opacity='0.94'/%3E%3Ccircle cx='186' cy='712' r='1.1' fill='%23fff6dc' opacity='0.66'/%3E%3Ccircle cx='342' cy='364' r='0.9' fill='%23fff6dc' opacity='0.67'/%3E%3Ccircle cx='1595' cy='514' r='1.1' fill='%23fff6dc' opacity='0.73'/%3E%3Ccircle cx='1255' cy='199' r='0.9' fill='%23fff6dc' opacity='0.84'/%3E%3Ccircle cx='1515' cy='232' r='0.9' fill='%23fff6dc' opacity='0.66'/%3E%3Ccircle cx='728' cy='29' r='0.7' fill='%23fff6dc' opacity='0.82'/%3E%3Ccircle cx='967' cy='265' r='0.9' fill='%23fff6dc' opacity='0.77'/%3E%3Ccircle cx='705' cy='457' r='1.1' fill='%23fff6dc' opacity='0.92'/%3E%3Ccircle cx='746' cy='82' r='0.9' fill='%23fff6dc' opacity='0.41'/%3E%3Ccircle cx='962' cy='201' r='1.1' fill='%23fff6dc' opacity='0.47'/%3E%3Ccircle cx='1278' cy='624' r='0.7' fill='%23fff6dc' opacity='0.64'/%3E%3Ccircle cx='1337' cy='352' r='0.7' fill='%23fff6dc' opacity='0.85'/%3E%3Ccircle cx='245' cy='397' r='0.9' fill='%23fff6dc' opacity='0.64'/%3E%3Ccircle cx='365' cy='444' r='1.1' fill='%23fff6dc' opacity='0.40'/%3E%3Ccircle cx='1478' cy='405' r='1.5' fill='%23fff6dc' opacity='0.59'/%3E%3Ccircle cx='173' cy='162' r='0.9' fill='%23fff6dc' opacity='0.95'/%3E%3Ccircle cx='56' cy='154' r='1.5' fill='%23fff6dc' opacity='0.83'/%3E%3Ccircle cx='299' cy='626' r='1.5' fill='%23fff6dc' opacity='0.74'/%3E%3Ccircle cx='717' cy='159' r='0.9' fill='%23fff6dc' opacity='0.36'/%3E%3Ccircle cx='1487' cy='665' r='0.7' fill='%23fff6dc' opacity='0.67'/%3E%3Ccircle cx='285' cy='444' r='0.9' fill='%23fff6dc' opacity='0.85'/%3E%3Ccircle cx='432' cy='28' r='1.1' fill='%23fff6dc' opacity='0.48'/%3E%3Ccircle cx='1026' cy='246' r='1.1' fill='%23fff6dc' opacity='0.51'/%3E%3Ccircle cx='858' cy='134' r='0.7' fill='%23fff6dc' opacity='0.90'/%3E%3Ccircle cx='724' cy='469' r='1.5' fill='%23fff6dc' opacity='0.85'/%3E%3Ccircle cx='1027' cy='133' r='0.9' fill='%23fff6dc' opacity='0.66'/%3E%3Ccircle cx='38' cy='450' r='0.9' fill='%23fff6dc' opacity='0.72'/%3E%3Ccircle cx='1589' cy='153' r='0.9' fill='%23fff6dc' opacity='0.43'/%3E%3Ccircle cx='1267' cy='123' r='0.7' fill='%23fff6dc' opacity='0.55'/%3E%3Ccircle cx='1061' cy='543' r='1.5' fill='%23fff6dc' opacity='0.82'/%3E%3Ccircle cx='217' cy='573' r='0.7' fill='%23fff6dc' opacity='0.50'/%3E%3Ccircle cx='567' cy='43' r='0.7' fill='%23fff6dc' opacity='0.65'/%3E%3Ccircle cx='1150' cy='28' r='0.7' fill='%23fff6dc' opacity='0.62'/%3E%3Ccircle cx='1254' cy='517' r='0.9' fill='%23fff6dc' opacity='0.77'/%3E%3Ccircle cx='926' cy='520' r='1.5' fill='%23fff6dc' opacity='0.65'/%3E%3Ccircle cx='507' cy='715' r='1.1' fill='%23fff6dc' opacity='0.90'/%3E%3Ccircle cx='414' cy='458' r='0.9' fill='%23fff6dc' opacity='0.60'/%3E%3Ccircle cx='803' cy='452' r='1.1' fill='%23fff6dc' opacity='0.39'/%3E%3Ccircle cx='492' cy='438' r='0.7' fill='%23fff6dc' opacity='0.48'/%3E%3Ccircle cx='620' cy='125' r='0.9' fill='%23fff6dc' opacity='0.91'/%3E%3Ccircle cx='1317' cy='676' r='1.1' fill='%23fff6dc' opacity='0.44'/%3E%3Ccircle cx='281' cy='478' r='0.9' fill='%23fff6dc' opacity='0.80'/%3E%3Ccircle cx='192' cy='407' r='1.5' fill='%23fff6dc' opacity='0.45'/%3E%3Ccircle cx='1367' cy='229' r='0.9' fill='%23fff6dc' opacity='0.77'/%3E%3Ccircle cx='1055' cy='413' r='1.1' fill='%23fff6dc' opacity='0.60'/%3E%3Ccircle cx='730' cy='326' r='0.7' fill='%23fff6dc' opacity='0.78'/%3E%3Ccircle cx='39' cy='346' r='1.5' fill='%23fff6dc' opacity='0.61'/%3E%3Ccircle cx='37' cy='393' r='1.1' fill='%23fff6dc' opacity='0.66'/%3E%3Ccircle cx='605' cy='524' r='0.7' fill='%23fff6dc' opacity='0.42'/%3E%3Ccircle cx='468' cy='107' r='0.7' fill='%23fff6dc' opacity='0.51'/%3E%3Ccircle cx='81' cy='185' r='1.1' fill='%23fff6dc' opacity='0.80'/%3E%3Ccircle cx='864' cy='692' r='1.1' fill='%23fff6dc' opacity='0.59'/%3E%3Ccircle cx='1098' cy='527' r='1.5' fill='%23fff6dc' opacity='0.77'/%3E%3Ccircle cx='183' cy='285' r='0.7' fill='%23fff6dc' opacity='0.83'/%3E%3Ccircle cx='375' cy='435' r='0.7' fill='%23fff6dc' opacity='0.51'/%3E%3Ccircle cx='34' cy='649' r='0.7' fill='%23fff6dc' opacity='0.83'/%3E%3Ccircle cx='171' cy='622' r='0.9' fill='%23fff6dc' opacity='0.39'/%3E%3Ccircle cx='249' cy='464' r='0.7' fill='%23fff6dc' opacity='0.55'/%3E%3Ccircle cx='1132' cy='427' r='1.1' fill='%23fff6dc' opacity='0.72'/%3E%3Ccircle cx='88' cy='539' r='0.9' fill='%23fff6dc' opacity='0.91'/%3E%3Ccircle cx='330' cy='268' r='0.7' fill='%23fff6dc' opacity='0.46'/%3E%3Ccircle cx='638' cy='643' r='1.1' fill='%23fff6dc' opacity='0.67'/%3E%3Ccircle cx='421' cy='296' r='1.5' fill='%23fff6dc' opacity='0.65'/%3E%3Ccircle cx='364' cy='277' r='1.1' fill='%23fff6dc' opacity='0.83'/%3E%3Ccircle cx='512' cy='37' r='0.7' fill='%23fff6dc' opacity='0.36'/%3E%3Ccircle cx='1035' cy='564' r='0.9' fill='%23fff6dc' opacity='0.66'/%3E%3Ccircle cx='503' cy='457' r='0.7' fill='%23fff6dc' opacity='0.74'/%3E%3Ccircle cx='1331' cy='442' r='1.5' fill='%23fff6dc' opacity='0.68'/%3E%3Ccircle cx='805' cy='518' r='1.1' fill='%23fff6dc' opacity='0.76'/%3E%3Ccircle cx='470' cy='350' r='0.9' fill='%23fff6dc' opacity='0.85'/%3E%3Ccircle cx='1447' cy='651' r='0.9' fill='%23fff6dc' opacity='0.59'/%3E%3Ccircle cx='711' cy='55' r='0.9' fill='%23fff6dc' opacity='0.36'/%3E%3Ccircle cx='1280' cy='261' r='1.5' fill='%23fff6dc' opacity='0.45'/%3E%3Ccircle cx='173' cy='681' r='1.5' fill='%23fff6dc' opacity='0.87'/%3E%3Ccircle cx='1373' cy='288' r='0.9' fill='%23fff6dc' opacity='0.77'/%3E%3Ccircle cx='92' cy='470' r='0.9' fill='%23fff6dc' opacity='0.44'/%3E%3Ccircle cx='913' cy='3' r='1.1' fill='%23fff6dc' opacity='0.57'/%3E%3Ccircle cx='673' cy='560' r='1.1' fill='%23fff6dc' opacity='0.50'/%3E%3Ccircle cx='633' cy='223' r='1.1' fill='%23fff6dc' opacity='0.46'/%3E%3Ccircle cx='1400' cy='230' r='120' fill='url(%23m)'/%3E%3Cpath d='M0 850C250 800 470 835 720 822C990 808 1190 768 1600 812V1000H0Z' fill='%23152c2e'/%3E%3Cpath d='M0 915C290 885 580 905 870 908C1160 911 1380 882 1600 893V1000H0Z' fill='%230f2023'/%3E%3Ccircle cx='130' cy='820' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='130' cy='820' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3Ccircle cx='360' cy='790' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='360' cy='790' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3Ccircle cx='560' cy='835' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='560' cy='835' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3Ccircle cx='820' cy='800' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='820' cy='800' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3Ccircle cx='1010' cy='830' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='1010' cy='830' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3Ccircle cx='1230' cy='786' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='1230' cy='786' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3Ccircle cx='1430' cy='818' r='9' fill='%23f6d26b' opacity='.12'/%3E%3Ccircle cx='1430' cy='818' r='2.4' fill='%23f8dc86' opacity='.9'/%3E%3C/svg%3E") center bottom / cover no-repeat;
}
[data-theme="gold"][data-mode="light"] body::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23a9d2f1'/%3E%3Cstop offset='.25' stop-color='%23d6e9f4'/%3E%3Cstop offset='.55' stop-color='%23f3efe2'/%3E%3Cstop offset='1' stop-color='%23f8f1e1'/%3E%3C/linearGradient%3E%3CradialGradient id='u'%3E%3Cstop offset='0' stop-color='%23fffbe8'/%3E%3Cstop offset='.3' stop-color='%23fff2c4'/%3E%3Cstop offset='.5' stop-color='%23ffe28c' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%23ffe28c' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1600' height='1000' fill='url(%23s)'/%3E%3Ccircle cx='1400' cy='230' r='150' fill='url(%23u)'/%3E%3Cg transform='translate(260 120) scale(1)' fill='%23ffffff'%3E%3Cellipse cx='0' cy='0' rx='90' ry='26' opacity='.9'/%3E%3Ccircle cx='-30' cy='-14' r='28'/%3E%3Ccircle cx='10' cy='-26' r='36'/%3E%3Ccircle cx='50' cy='-10' r='26'/%3E%3C/g%3E%3Cg transform='translate(420 170) scale(0.7)' fill='%23ffffff'%3E%3Cellipse cx='0' cy='0' rx='90' ry='26' opacity='.9'/%3E%3Ccircle cx='-30' cy='-14' r='28'/%3E%3Ccircle cx='10' cy='-26' r='36'/%3E%3Ccircle cx='50' cy='-10' r='26'/%3E%3C/g%3E%3Cg transform='translate(1020 90) scale(0.9)' fill='%23ffffff'%3E%3Cellipse cx='0' cy='0' rx='90' ry='26' opacity='.9'/%3E%3Ccircle cx='-30' cy='-14' r='28'/%3E%3Ccircle cx='10' cy='-26' r='36'/%3E%3Ccircle cx='50' cy='-10' r='26'/%3E%3C/g%3E%3Cg transform='translate(760 210) scale(0.55)' fill='%23ffffff'%3E%3Cellipse cx='0' cy='0' rx='90' ry='26' opacity='.9'/%3E%3Ccircle cx='-30' cy='-14' r='28'/%3E%3Ccircle cx='10' cy='-26' r='36'/%3E%3Ccircle cx='50' cy='-10' r='26'/%3E%3C/g%3E%3Cpath d='M0 850C250 800 470 835 720 822C990 808 1190 768 1600 812V1000H0Z' fill='%23bcd88e'/%3E%3Cpath d='M0 915C290 885 580 905 870 908C1160 911 1380 882 1600 893V1000H0Z' fill='%2397c268'/%3E%3Cg transform='translate(110 940) scale(1)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(300 958) scale(0.8)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(500 944) scale(1.1)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(720 962) scale(0.9)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(930 946) scale(1)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(1150 960) scale(0.8)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(1350 948) scale(1.1)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3Cg transform='translate(1530 958) scale(0.9)'%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-5' rx='2.2' ry='5' fill='%23ffffff' transform='rotate(315)'/%3E%3Ccircle r='2.5' fill='%23f2b632'/%3E%3C/g%3E%3C/svg%3E") center bottom / cover no-repeat;
}

/* ── Top bar + sidebar ──────────────────────────────────────────── */
/* No backdrop blur anywhere in this theme: blur over the full-screen sky made every repaint slow. Near-solid
   colours look the same. */
[data-theme="gold"] *, [data-theme="gold"] *::before, [data-theme="gold"] *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
[data-theme="gold"] .topbar { background: rgba(9,13,30,.9); border-bottom: 1px solid var(--border); }
[data-theme="gold"] .sidebar {
  border-right: 1px solid var(--border);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 200'%3E%3Cg fill='none' stroke='%237fa857' stroke-opacity='.28' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M60 196C58 140 62 80 72 8'/%3E%3Cpath d='M60.0 180q-20.4 -5.1 -34.0 -18.7'/%3E%3Cpath d='M60.0 180q20.4 -5.1 34.0 -18.7'/%3E%3Cpath d='M61.1 164q-19.0 -4.7 -31.6 -17.4'/%3E%3Cpath d='M61.1 164q19.0 -4.7 31.6 -17.4'/%3E%3Cpath d='M62.2 148q-17.5 -4.4 -29.2 -16.1'/%3E%3Cpath d='M62.2 148q17.5 -4.4 29.2 -16.1'/%3E%3Cpath d='M63.3 132q-16.1 -4.0 -26.8 -14.7'/%3E%3Cpath d='M63.3 132q16.1 -4.0 26.8 -14.7'/%3E%3Cpath d='M64.4 116q-14.6 -3.7 -24.4 -13.4'/%3E%3Cpath d='M64.4 116q14.6 -3.7 24.4 -13.4'/%3E%3Cpath d='M65.5 100q-13.2 -3.3 -22.0 -12.1'/%3E%3Cpath d='M65.5 100q13.2 -3.3 22.0 -12.1'/%3E%3Cpath d='M66.6 84q-11.8 -2.9 -19.6 -10.8'/%3E%3Cpath d='M66.6 84q11.8 -2.9 19.6 -10.8'/%3E%3Cpath d='M67.7 68q-10.3 -2.6 -17.2 -9.5'/%3E%3Cpath d='M67.7 68q10.3 -2.6 17.2 -9.5'/%3E%3Cpath d='M68.8 52q-8.9 -2.2 -14.8 -8.1'/%3E%3Cpath d='M68.8 52q8.9 -2.2 14.8 -8.1'/%3E%3Cpath d='M69.9 36q-7.4 -1.9 -12.4 -6.8'/%3E%3Cpath d='M69.9 36q7.4 -1.9 12.4 -6.8'/%3E%3Cpath d='M71.0 20q-6.0 -1.5 -10.0 -5.5'/%3E%3Cpath d='M71.0 20q6.0 -1.5 10.0 -5.5'/%3E%3C/g%3E%3C/svg%3E") left -22px bottom -30px / 118px 196px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 200'%3E%3Cg fill='none' stroke='%237fa857' stroke-opacity='.18' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M60 196C58 140 62 80 72 8'/%3E%3Cpath d='M60.0 180q-20.4 -5.1 -34.0 -18.7'/%3E%3Cpath d='M60.0 180q20.4 -5.1 34.0 -18.7'/%3E%3Cpath d='M61.1 164q-19.0 -4.7 -31.6 -17.4'/%3E%3Cpath d='M61.1 164q19.0 -4.7 31.6 -17.4'/%3E%3Cpath d='M62.2 148q-17.5 -4.4 -29.2 -16.1'/%3E%3Cpath d='M62.2 148q17.5 -4.4 29.2 -16.1'/%3E%3Cpath d='M63.3 132q-16.1 -4.0 -26.8 -14.7'/%3E%3Cpath d='M63.3 132q16.1 -4.0 26.8 -14.7'/%3E%3Cpath d='M64.4 116q-14.6 -3.7 -24.4 -13.4'/%3E%3Cpath d='M64.4 116q14.6 -3.7 24.4 -13.4'/%3E%3Cpath d='M65.5 100q-13.2 -3.3 -22.0 -12.1'/%3E%3Cpath d='M65.5 100q13.2 -3.3 22.0 -12.1'/%3E%3Cpath d='M66.6 84q-11.8 -2.9 -19.6 -10.8'/%3E%3Cpath d='M66.6 84q11.8 -2.9 19.6 -10.8'/%3E%3Cpath d='M67.7 68q-10.3 -2.6 -17.2 -9.5'/%3E%3Cpath d='M67.7 68q10.3 -2.6 17.2 -9.5'/%3E%3Cpath d='M68.8 52q-8.9 -2.2 -14.8 -8.1'/%3E%3Cpath d='M68.8 52q8.9 -2.2 14.8 -8.1'/%3E%3Cpath d='M69.9 36q-7.4 -1.9 -12.4 -6.8'/%3E%3Cpath d='M69.9 36q7.4 -1.9 12.4 -6.8'/%3E%3Cpath d='M71.0 20q-6.0 -1.5 -10.0 -5.5'/%3E%3Cpath d='M71.0 20q6.0 -1.5 10.0 -5.5'/%3E%3C/g%3E%3C/svg%3E") right -34px bottom -46px / 96px 160px no-repeat, rgba(9,13,30,.84);
}
[data-theme="gold"][data-mode="light"] .topbar { background: rgba(255,251,240,.93); }
[data-theme="gold"][data-mode="light"] .sidebar {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 200'%3E%3Cg fill='none' stroke='%237fa857' stroke-opacity='.5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M60 196C58 140 62 80 72 8'/%3E%3Cpath d='M60.0 180q-20.4 -5.1 -34.0 -18.7'/%3E%3Cpath d='M60.0 180q20.4 -5.1 34.0 -18.7'/%3E%3Cpath d='M61.1 164q-19.0 -4.7 -31.6 -17.4'/%3E%3Cpath d='M61.1 164q19.0 -4.7 31.6 -17.4'/%3E%3Cpath d='M62.2 148q-17.5 -4.4 -29.2 -16.1'/%3E%3Cpath d='M62.2 148q17.5 -4.4 29.2 -16.1'/%3E%3Cpath d='M63.3 132q-16.1 -4.0 -26.8 -14.7'/%3E%3Cpath d='M63.3 132q16.1 -4.0 26.8 -14.7'/%3E%3Cpath d='M64.4 116q-14.6 -3.7 -24.4 -13.4'/%3E%3Cpath d='M64.4 116q14.6 -3.7 24.4 -13.4'/%3E%3Cpath d='M65.5 100q-13.2 -3.3 -22.0 -12.1'/%3E%3Cpath d='M65.5 100q13.2 -3.3 22.0 -12.1'/%3E%3Cpath d='M66.6 84q-11.8 -2.9 -19.6 -10.8'/%3E%3Cpath d='M66.6 84q11.8 -2.9 19.6 -10.8'/%3E%3Cpath d='M67.7 68q-10.3 -2.6 -17.2 -9.5'/%3E%3Cpath d='M67.7 68q10.3 -2.6 17.2 -9.5'/%3E%3Cpath d='M68.8 52q-8.9 -2.2 -14.8 -8.1'/%3E%3Cpath d='M68.8 52q8.9 -2.2 14.8 -8.1'/%3E%3Cpath d='M69.9 36q-7.4 -1.9 -12.4 -6.8'/%3E%3Cpath d='M69.9 36q7.4 -1.9 12.4 -6.8'/%3E%3Cpath d='M71.0 20q-6.0 -1.5 -10.0 -5.5'/%3E%3Cpath d='M71.0 20q6.0 -1.5 10.0 -5.5'/%3E%3C/g%3E%3C/svg%3E") left -22px bottom -30px / 118px 196px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 200'%3E%3Cg fill='none' stroke='%237fa857' stroke-opacity='.32' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M60 196C58 140 62 80 72 8'/%3E%3Cpath d='M60.0 180q-20.4 -5.1 -34.0 -18.7'/%3E%3Cpath d='M60.0 180q20.4 -5.1 34.0 -18.7'/%3E%3Cpath d='M61.1 164q-19.0 -4.7 -31.6 -17.4'/%3E%3Cpath d='M61.1 164q19.0 -4.7 31.6 -17.4'/%3E%3Cpath d='M62.2 148q-17.5 -4.4 -29.2 -16.1'/%3E%3Cpath d='M62.2 148q17.5 -4.4 29.2 -16.1'/%3E%3Cpath d='M63.3 132q-16.1 -4.0 -26.8 -14.7'/%3E%3Cpath d='M63.3 132q16.1 -4.0 26.8 -14.7'/%3E%3Cpath d='M64.4 116q-14.6 -3.7 -24.4 -13.4'/%3E%3Cpath d='M64.4 116q14.6 -3.7 24.4 -13.4'/%3E%3Cpath d='M65.5 100q-13.2 -3.3 -22.0 -12.1'/%3E%3Cpath d='M65.5 100q13.2 -3.3 22.0 -12.1'/%3E%3Cpath d='M66.6 84q-11.8 -2.9 -19.6 -10.8'/%3E%3Cpath d='M66.6 84q11.8 -2.9 19.6 -10.8'/%3E%3Cpath d='M67.7 68q-10.3 -2.6 -17.2 -9.5'/%3E%3Cpath d='M67.7 68q10.3 -2.6 17.2 -9.5'/%3E%3Cpath d='M68.8 52q-8.9 -2.2 -14.8 -8.1'/%3E%3Cpath d='M68.8 52q8.9 -2.2 14.8 -8.1'/%3E%3Cpath d='M69.9 36q-7.4 -1.9 -12.4 -6.8'/%3E%3Cpath d='M69.9 36q7.4 -1.9 12.4 -6.8'/%3E%3Cpath d='M71.0 20q-6.0 -1.5 -10.0 -5.5'/%3E%3Cpath d='M71.0 20q6.0 -1.5 10.0 -5.5'/%3E%3C/g%3E%3C/svg%3E") right -34px bottom -46px / 96px 160px no-repeat, rgba(255,251,240,.88);
}
[data-theme="gold"] .s-nav-link { border-radius: 10px; margin: 1px 8px; border-left-color: transparent; }
[data-theme="gold"] .s-nav-link:hover { background: var(--tint); color: var(--text); }
[data-theme="gold"] .s-nav-link.active { border-left-color: transparent; box-shadow: 0 4px 14px var(--accent-glow); }
[data-theme="gold"] .topbar-brand .brand-name span { color: var(--accent); }

/* ── Type ───────────────────────────────────────────────────────── */
[data-theme="gold"] h1,
[data-theme="gold"] h2,
[data-theme="gold"] .brand-word,
[data-theme="gold"] .topbar-brand .brand-name {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -.01em;
}
[data-theme="gold"] .content-header h2 { font-size: 26px; }
[data-theme="gold"] .content-header h2::after {
  content: ""; display: block; width: 46px; height: 3px; margin-top: 8px; border-radius: 3px; background: var(--gradient);
}
[data-theme="gold"] .section-badge { background: var(--tint); color: var(--tint-ink); border-color: var(--tint-strong); }
[data-theme="gold"] .page-tab.active { color: var(--tint-ink); }

/* ── Cards: warm, soft, a little light from above ───────────────── */
[data-theme="gold"] .card,
[data-theme="gold"] .stat-card,
[data-theme="gold"] .list-card,
[data-theme="gold"] .plan-card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 90px), var(--surface);
  border-color: var(--border); box-shadow: var(--shadow);
}
[data-theme="gold"][data-mode="light"] .card,
[data-theme="gold"][data-mode="light"] .stat-card,
[data-theme="gold"][data-mode="light"] .list-card,
[data-theme="gold"][data-mode="light"] .plan-card { background: linear-gradient(180deg, rgba(255,255,255,.7), transparent 90px), var(--surface); }
[data-theme="gold"] .stat-card:hover,
[data-theme="gold"] .list-card:hover,
[data-theme="gold"] .plan-card:hover { border-color: var(--tint-strong); }
[data-theme="gold"] .card-header h3 i { color: var(--accent); }
[data-theme="gold"] .modal, [data-theme="gold"] .theme-panel, [data-theme="gold"] .notif-drawer, [data-theme="gold"] .toast { background: var(--surface-2); border-color: var(--border); }
[data-theme="gold"][data-mode="light"] .modal, [data-theme="gold"][data-mode="light"] .theme-panel,
[data-theme="gold"][data-mode="light"] .notif-drawer, [data-theme="gold"][data-mode="light"] .toast { background: #fffaf0; }
[data-theme="gold"] input, [data-theme="gold"] textarea, [data-theme="gold"] select { border-color: var(--border); }
[data-theme="gold"] input:focus, [data-theme="gold"] textarea:focus, [data-theme="gold"] select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* Banners get a small meadow along the bottom */
[data-theme="gold"] .hero-banner {
  position: relative; overflow: hidden; padding-bottom: 34px; border-color: var(--tint-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22C120 10 260 18 380 14C480 11 540 6 600 12V40H0Z' fill='%2317302f'/%3E%3Cpath d='M0 32C160 24 320 30 440 28C520 27 570 24 600 26V40H0Z' fill='%2311262a'/%3E%3C/svg%3E") bottom / 100% 30px no-repeat, linear-gradient(135deg, rgba(232,182,71,.14), rgba(21,27,48,.92) 60%);
}
[data-theme="gold"][data-mode="light"] .hero-banner {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22C120 10 260 18 380 14C480 11 540 6 600 12V40H0Z' fill='%23bcd88e'/%3E%3Cpath d='M0 32C160 24 320 30 440 28C520 27 570 24 600 26V40H0Z' fill='%2398c46a'/%3E%3C/svg%3E") bottom / 100% 30px no-repeat, linear-gradient(135deg, #fff3cf, #fffaf0 60%);
}

/* ── Dark ink on the gold gradient ──────────────────────────────── */
[data-theme="gold"] .btn:not(.btn-ghost):not(.btn-soft):not(.btn-success):not(.btn-danger),
[data-theme="gold"] .brand-orb,
[data-theme="gold"] .auth-tab.active,
[data-theme="gold"] .avatar,
[data-theme="gold"] .s-nav-link.active,
[data-theme="gold"] .hero-banner .hb-ic,
[data-theme="gold"] .balance-hero,
[data-theme="gold"] .sidebar-role .sr-ic,
[data-theme="gold"] .plan-business,
[data-theme="gold"] .section-tab.active,
[data-theme="gold"] .cvs-btn.on,
[data-theme="gold"] .cal-cell.is-today .cal-daynum,
[data-theme="gold"] .gn-fab,
[data-theme="gold"] .gn-avatar,
[data-theme="gold"] .gn-empty-ic { color: var(--on-accent); }
[data-theme="gold"] ::selection { background: var(--accent); color: var(--on-accent); }
[data-theme="gold"] .btn-ghost { background: var(--surface-2); border-color: var(--border); }
[data-theme="gold"] .btn-ghost:hover { border-color: var(--accent); background: var(--tint); }
[data-theme="gold"] .btn-success { background: var(--success); }
[data-theme="gold"] .btn-danger { background: var(--danger); }

/* ── Natural colours for icons, pills and statuses (both modes) ─── */
[data-theme="gold"] .btn-soft, [data-theme="gold"] .sc-ic.indigo, [data-theme="gold"] .pill.blue, [data-theme="gold"] .plan-pro,
[data-theme="gold"] .status-scheduled, [data-theme="gold"] .cal-rel, [data-theme="gold"] .pr-kw, [data-theme="gold"] .wa-chip.ai.on { background: var(--tint); color: var(--tint-ink); }
[data-theme="gold"] .btn-soft:hover { background: var(--tint-strong); }
[data-theme="gold"] .sc-ic.green, [data-theme="gold"] .pill.green, [data-theme="gold"] .status-succeeded, [data-theme="gold"] .status-published { background: var(--leaf-soft); color: var(--leaf); }
[data-theme="gold"] .sc-ic.cyan, [data-theme="gold"] .pill.cyan, [data-theme="gold"] .status-processing { background: var(--sky-soft); color: var(--sky); }
[data-theme="gold"] .sc-ic.amber, [data-theme="gold"] .pill.amber, [data-theme="gold"] .status-canceled, [data-theme="gold"] .plan-starter { background: var(--sun-soft); color: var(--sun); }
[data-theme="gold"] .sc-ic.red, [data-theme="gold"] .pill.red, [data-theme="gold"] .status-failed { background: var(--berry-soft); color: var(--berry); }
[data-theme="gold"] .sc-ic.violet, [data-theme="gold"] .pill.violet { background: var(--plum-soft); color: var(--plum); }
[data-theme="gold"] .pill.gray, [data-theme="gold"] .status-queued, [data-theme="gold"] .status-draft, [data-theme="gold"] .plan-free { background: var(--surface-3); color: var(--muted); }
[data-theme="gold"] .plan-card-feats li.on i { color: var(--leaf); }
[data-theme="gold"] .alert-error { background: var(--berry-soft); border-color: var(--berry); color: var(--berry); }
[data-theme="gold"] .alert-success { background: var(--leaf-soft); border-color: var(--leaf); color: var(--leaf); }
[data-theme="gold"] .sidebar-ad, [data-theme="gold"] .sidebar-role, [data-theme="gold"] .cal-when { border-color: var(--tint-strong); }
[data-theme="gold"] .notif-item.unread, [data-theme="gold"] .home-step.next { background: var(--tint); }
[data-theme="gold"] .toast.info { border-color: var(--accent); }
[data-theme="gold"] .cal-cell.is-today, [data-theme="gold"] .cal-week-col.is-today { background: linear-gradient(180deg, var(--tint), var(--surface) 60%); }
[data-theme="gold"] .cal-chip.st-scheduled { --c: var(--tint-ink); --c-bg: var(--tint); --c-bg-hover: var(--tint-strong); }
[data-theme="gold"] .ce-plat.on i, [data-theme="gold"] .au-btn, [data-theme="gold"] .ld-avatar, [data-theme="gold"] .in-code { color: var(--tint-ink); }
[data-theme="gold"] .sidebar[data-role="admin"] .sr-ic { background: var(--gradient); }
[data-theme="gold"] ::-webkit-scrollbar-thumb { background: rgba(232,182,71,.22); border-color: transparent; }
[data-theme="gold"] ::-webkit-scrollbar-thumb:hover { background: rgba(232,182,71,.38); }

/* ── Login / register: a small meadow scene on the brand side ───── */
[data-theme="gold"] .auth-shell { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-lg); }
[data-theme="gold"] .auth-brand {
  position: relative; overflow: hidden; border-right-color: var(--border);
  background:
    radial-gradient(150% 60% at 18% 122%, #152d2c 58%, transparent 59%),
    radial-gradient(140% 55% at 92% 126%, #1c3838 58%, transparent 59%),
    radial-gradient(70px 70px at 84% 14%, #fffbea 0 26%, rgba(255,236,170,.28) 42%, transparent 70%),
    radial-gradient(1px 1px at 30px 40px, rgba(255,246,220,.9), transparent 70%) 0 0 / 170px 130px,
    radial-gradient(1px 1px at 120px 95px, rgba(255,246,220,.6), transparent 70%) 0 0 / 170px 130px,
    linear-gradient(180deg, #050918 0%, #101a3a 60%, #2b2a55 100%);
}
[data-theme="gold"][data-mode="light"] .auth-brand {
  background:
    radial-gradient(150% 60% at 18% 122%, #84b355 58%, transparent 59%),
    radial-gradient(140% 55% at 92% 126%, #a9cc72 58%, transparent 59%),
    radial-gradient(90px 90px at 84% 14%, #fff8dc 0 30%, rgba(255,226,140,.4) 50%, transparent 72%),
    radial-gradient(110px 30px at 62% 7%, rgba(255,255,255,.95) 40%, transparent 72%),
    radial-gradient(80px 22px at 44% 12%, rgba(255,255,255,.8) 40%, transparent 72%),
    linear-gradient(180deg, #6faee6 0%, #a9d2f1 55%, #f9e6c8 100%);
}
[data-theme="gold"] .auth-brand h2 { color: #fbf4e2; text-shadow: 0 2px 18px rgba(10,14,40,.5); }
[data-theme="gold"][data-mode="light"] .auth-brand h2 { color: #1d2b45; text-shadow: 0 1px 14px rgba(255,255,255,.6); }
[data-theme="gold"] .auth-brand h2 .hl { filter: drop-shadow(0 2px 10px rgba(120,70,0,.3)); }
[data-theme="gold"][data-mode="light"] .auth-brand h2 .hl { background: linear-gradient(120deg, #d79a14, #a8700f); -webkit-background-clip: text; background-clip: text; filter: none; }
[data-theme="gold"][data-mode="light"] .auth-brand-foot { color: #1f2d14; font-weight: 600; }
[data-theme="gold"] .auth-brand .brand-word { color: #f3cf73; }
[data-theme="gold"][data-mode="light"] .auth-brand .brand-word { color: #94690c; }

/* ── Day/night switch in the top bar (sun at night → go to day; moon by day) ── */
.theme-switch .ts-moon { display: none; }
.theme-switch .ts-sun { color: #f6d26b; }
[data-mode="light"] .theme-switch .ts-sun { display: none; }
[data-mode="light"] .theme-switch .ts-moon { display: inline-block; color: #94690c; }

/* ── "Publish to" chips: a proper platform badge, a gold tick when chosen ── */
[data-theme="gold"] .plat-check { gap: 10px; }
[data-theme="gold"] .plat-check .pc {
  gap: 10px; padding: 7px 12px 7px 7px; border-radius: 14px; color: var(--text); font-weight: 600; font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--border);
}
[data-theme="gold"] .plat-check .pc:hover { border-color: var(--tint-strong); }
[data-theme="gold"] .plat-check .pc span.pt { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; flex: none; }
[data-theme="gold"] .plat-check .pc input {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0 0 0 2px; border-radius: 50%;
  border: 1.5px solid var(--border); background: transparent; cursor: pointer; flex: none;
}
[data-theme="gold"] .plat-check .pc input:checked {
  border-color: transparent;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%232a1c02' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
[data-theme="gold"] .plat-check .pc:has(input:checked) { border-color: var(--accent); background: var(--tint); color: var(--text); box-shadow: 0 0 0 3px var(--accent-glow); }
[data-theme="gold"] .type-opt.active { color: var(--tint-ink); background: var(--tint); }

/* ── Home dashboard (public/ui/js/home.js) ─────────────────────────── */
.hm-head { margin: 4px 0 6px; }
.hm-head h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 32px; letter-spacing: -.01em; }
.hm-head p { color: var(--muted); margin-top: 4px; }
.hm-eyebrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 2px 10px; }
.hm-eyebrow span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hm-eyebrow small { color: var(--muted); font-size: 12.5px; }
.hm-link { background: none; border: 0; color: var(--tint-ink); font-weight: 600; font-size: 13px; cursor: pointer; }
.hm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hm-tile { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; box-shadow: var(--shadow); font: inherit; transition: transform .15s, border-color .2s; }
.hm-tile:hover { transform: translateY(-2px); border-color: var(--tint-strong); }
.hm-tile-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.hm-tile-top small { font-size: 12.5px; font-weight: 600; }
.hm-tile b { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.1; margin-top: 8px; }
.hm-tile em { display: block; font-style: normal; color: var(--muted); font-size: 12px; margin-top: 2px; }
.hm-tile.dark { background: var(--gradient); border-color: transparent; color: var(--on-accent); }
.hm-tile.dark .hm-tile-top, .hm-tile.dark em { color: rgba(42,28,2,.72); }
.hm-priority { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); padding: 12px 16px 14px; margin-bottom: 14px; }
.hm-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hm-pri-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hm-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; background: var(--tint); color: var(--tint-ink); }
.hm-pri-txt { flex: 1; min-width: 220px; }
.hm-pri-txt b { font-size: 15px; }
.hm-pri-txt p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.hm-pri-btns, .hm-idea-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hm-ask { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 12.5px; font-weight: 600; text-decoration: none; transition: border-color .2s, transform .15s; }
.hm-ask:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--text); }
.hm-ask svg { fill: currentColor; }
.hm-copy { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); cursor: pointer; }
.hm-copy:hover { color: var(--tint-ink); border-color: var(--accent); }
.hm-ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hm-idea { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.hm-idea b { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 17px; line-height: 1.3; }
.hm-idea p { color: var(--muted); font-size: 13px; flex: 1; }
.hm-idea-btns { margin-top: 8px; }
.hm-year { padding: 16px 18px; overflow-x: auto; }
.hm-months, .hm-grid { display: grid; grid-template-columns: repeat(53, 12px); gap: 3px; }
.hm-months { font-size: 10.5px; color: var(--muted); margin-bottom: 4px; height: 14px; }
.hm-months span { white-space: nowrap; }
.hm-grid { grid-template-rows: repeat(7, 12px); grid-auto-flow: column; }
.hm-grid i, .hm-legend i { display: block; width: 12px; height: 12px; border-radius: 3px; }
.hm-grid i.l0, .hm-legend i.l0 { background: var(--surface-3); }
.l1 { background: rgba(232,182,71,.4); } .l2 { background: rgba(232,182,71,.7); } .l3 { background: var(--accent); }
.hm-grid i.l1 { background: rgba(232,182,71,.4); } .hm-grid i.l2 { background: rgba(232,182,71,.7); } .hm-grid i.l3 { background: var(--accent); }
.hm-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 8px; font-size: 11px; color: var(--muted); }
.hm-legend i.l1 { background: rgba(232,182,71,.4); } .hm-legend i.l2 { background: rgba(232,182,71,.7); } .hm-legend i.l3 { background: var(--accent); }
@media (max-width: 900px) { .hm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-ideas { grid-template-columns: minmax(0, 1fr); } }

/* ── Guide page (public/ui/js/guide.js) + top-bar "Connect Claude" ── */
.topbar-claude { border-radius: 999px; }
@media (max-width: 760px) { .topbar-claude { display: none; } }
.gd-connect { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); padding: 16px 18px; }
.gd-addr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gd-addr small { color: var(--muted); font-weight: 600; }
.gd-addr code { padding: 6px 12px; border-radius: 10px; background: var(--tint); color: var(--tint-ink); font-size: 13.5px; }
.gd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gd-box { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; background: var(--surface-2); }
.gd-box h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.gd-box ol { margin: 0 0 10px 18px; font-size: 13.5px; } .gd-box li { margin: 4px 0; }
.gd-note { color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.gd-prompt { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border); color: var(--text); }
.gd-code > p:first-child { font-size: 13.5px; margin-bottom: 12px; }
.gd-code details { margin-top: 12px; } .gd-code summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.gd-code pre { margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 340px; overflow: auto; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
@media (max-width: 760px) { .gd-two { grid-template-columns: minmax(0, 1fr); } }

/* Pages that draw their own big heading (Home, Guide) hide the frame's small one */
.main-content:has(.hm-head) > .content-header { display: none; }

/* ── Make a reel (public/ui/js/reels.js) ─────────────────────────── */
.rl-form textarea { min-height: 150px; font-size: 15px; line-height: 1.55; }
.rl-hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.rl-opt { color: var(--muted); font-weight: 500; font-size: 12px; }
.rl-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.rl-cost { color: var(--muted); font-size: 13.5px; }
.rl-cost b { color: var(--tint-ink); }
.rl-expr { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.rl-expr input { width: auto; margin: 0; }
.rl-expr small { color: var(--muted); font-weight: 500; }
.rl-claude { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.rl-claude small { color: var(--muted); }
.rl-locked { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rl-locked > i { font-size: 22px; color: var(--accent); }
.rl-locked div { flex: 1; min-width: 220px; } .rl-locked p { color: var(--muted); font-size: 13px; }
.rl-progress b { font-size: 15px; }
.rl-progress.failed b { color: var(--berry); } .rl-progress.failed p { color: var(--muted); margin: 6px 0 10px; }
.rl-steps { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0 6px; padding: 0; color: var(--muted); font-size: 13.5px; }
.rl-steps li.done { color: var(--leaf); } .rl-steps li.now { color: var(--text); font-weight: 600; }
.rl-progress.done { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.rl-video { width: 220px; aspect-ratio: 9 / 16; border-radius: 16px; background: #000; box-shadow: var(--shadow-lg); }
.rl-done-txt { flex: 1; min-width: 220px; } .rl-done-txt b { color: var(--leaf); } .rl-done-txt p { color: var(--muted); margin: 6px 0 12px; }
.rl-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rl-list { list-style: none; margin: 0; padding: 0; }
.rl-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.rl-list li:last-child { border-bottom: 0; }
.rl-first { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rl-list small { color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .rl-row { grid-template-columns: minmax(0, 1fr); } .rl-video { width: 100%; max-width: 280px; } }

/* reel styles: three cards with a tiny drawing of each look */
.rl-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rl-style { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1.5px solid var(--border); border-radius: 16px; cursor: pointer; background: var(--surface); }
.rl-style input { position: absolute; opacity: 0; pointer-events: none; }
.rl-style:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.rl-style b { font-size: 14px; } .rl-style small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.rl-thumb { position: relative; display: block; width: 100%; align-self: stretch; height: 84px; border-radius: 10px; overflow: hidden; margin-bottom: 6px; background: linear-gradient(170deg, #0d1120, #2b2a55); }
.rl-thumb i { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 4px; }
.rl-style-captions .rl-thumb i:first-child { top: 26px; width: 56%; height: 12px; background: #fff; }
.rl-style-captions .rl-thumb i:last-child { top: 44px; width: 44%; height: 14px; background: #f6c445; transform: translateX(-50%) rotate(-3deg); }
.rl-style-slides .rl-thumb { background: linear-gradient(90deg, #0d1120 50%, #f6c445 50%); }
.rl-style-slides .rl-thumb i:first-child { left: 58%; top: 30px; width: 34%; height: 9px; background: #16110a; transform: none; }
.rl-style-slides .rl-thumb i:last-child { left: 58%; top: 46px; width: 24%; height: 9px; background: #16110a; transform: none; }
.rl-style-photo .rl-thumb { background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.65)), linear-gradient(135deg, #7aa7c7, #c9a46b 55%, #6b8f4e); }
.rl-style-photo .rl-thumb i:first-child { top: 52px; width: 50%; height: 10px; background: #fff; }
.rl-style-photo .rl-thumb i:last-child { top: 66px; width: 32%; height: 10px; background: #f6c445; }
.rl-style-footage .rl-thumb { background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 45%, rgba(0,0,0,.6)), linear-gradient(120deg, #2a1d14, #8a5a32 45%, #1c2733); }
.rl-style-footage .rl-thumb i:first-child { left: 14px; top: 16px; width: 30%; height: 7px; background: #fff; transform: none; }
.rl-style-footage .rl-thumb i:last-child { left: 14px; top: 28px; width: 52%; height: 18px; background: #f5a524; transform: none; border-radius: 3px; }
.rl-photo video { width: 100%; height: 100%; object-fit: cover; opacity: .55; pointer-events: none; }
.rl-photo:has(input:checked) video { opacity: 1; }
.rl-vid { position: absolute; right: 6px; bottom: 6px; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.rl-photo-pick { margin-top: 10px; }
.rl-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 8px; }
.rl-photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: var(--border-soft); }
.rl-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rl-photo input { position: absolute; top: 6px; left: 6px; z-index: 1; accent-color: var(--accent); }
.rl-photo:has(input:checked) { border-color: var(--accent); } .rl-photo:has(input:checked) img { opacity: 1; }
@media (max-width: 760px) { .rl-styles { grid-template-columns: minmax(0, 1fr); } .rl-thumb { height: 64px; } }

/* ── Brand Brain (public/ui/js/brain.js) ─────────────────────────── */
.hm-head h2 em, .br-start h3 em { font-style: italic; color: var(--tint-ink); }
.br-start { text-align: center; padding: 34px 24px; }
.br-start h3 { font-size: 26px; margin-bottom: 6px; } .br-start p { color: var(--muted); margin-bottom: 18px; }
.br-start.br-again { text-align: left; padding: 16px; margin: 12px 0; box-shadow: none; }
.br-big { width: 100%; font-size: 16px; padding: 14px 16px; border-radius: 14px; }
.br-start-foot { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.br-again .br-start-foot { justify-content: flex-start; }
.br-who { display: flex; flex-direction: column; gap: 14px; }
.br-name { display: flex; align-items: center; gap: 12px; } .br-name > div { flex: 1; min-width: 0; }
.br-name b { display: block; font-size: 18px; } .br-name small { color: var(--muted); }
.br-mono { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--tint-ink); color: var(--surface); }
.br-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.br-card { position: relative; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.br-card > small, .br-row > small { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.br-card > .hm-link { position: absolute; top: 10px; right: 12px; font-size: 12px; }
.br-summary { line-height: 1.6; padding-right: 54px; }
.br-kw { margin-top: 8px; font-size: 13px; color: var(--muted); }
.br-kw span { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--tint-ink); color: var(--surface); font-weight: 700; font-size: 12px; }
.br-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.br-chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; background: var(--surface); }
.br-empty { color: var(--muted); font-size: 13px; }
.br-note { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.br-rail { padding: 12px 0; border-top: 1px solid var(--border-soft); }
.br-rail-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.br-rail-head .hm-link { margin-left: auto; font-size: 12px; }
.br-src { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.br-src-default { border-style: dashed; } .br-src-you { color: var(--leaf); border-color: currentColor; }
.br-src-site, .br-src-instagram, .br-src-sentence { color: var(--tint-ink); }
.br-swatch { display: inline-block; width: 18px; height: 18px; border-radius: 6px; vertical-align: middle; margin-right: 8px; border: 1px solid var(--border); }
.br-edit .br-input { width: 100%; } .br-edit-btns { display: flex; gap: 8px; margin-top: 8px; }
.br-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.br-idea { padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--card-bg, var(--surface)); display: flex; flex-direction: column; gap: 8px; }
.br-idea > b { font-size: 15.5px; line-height: 1.35; } .br-topic { color: var(--muted); font-size: 13px; }
.br-tags { display: flex; gap: 6px; flex-wrap: wrap; } .br-tags span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--tint-ink); font-weight: 600; }
.br-beats { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.br-beats li { padding-left: 10px; border-left: 3px solid var(--border); } .br-beats small { display: block; color: var(--muted); font-size: 11px; }
.br-honest { font-size: 11.5px; color: var(--muted); font-style: italic; }
.hm-idea-from { font-size: 11px; color: var(--tint-ink); font-weight: 600; }
@media (max-width: 760px) { .br-grid { grid-template-columns: minmax(0, 1fr); } }

.br-kwdm { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1.5px solid color-mix(in srgb, var(--leaf) 45%, transparent); }
.br-kwdm > i { font-size: 30px; color: #25d366; } .br-kwdm > div { flex: 1; min-width: 240px; } .br-kwdm p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.br-ref { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; } .br-ref p { color: var(--muted); font-size: 13px; }
.br-ref textarea { width: 100%; } .br-ref .btn { align-self: flex-start; }
.br-ref input[type=url] { width: 100%; }
.br-ref-or { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.br-ref-or label { cursor: pointer; margin: 0; }
.br-breakdown { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid var(--border); }
.br-honest span { font-style: normal; }
/* Brand Brain — your look (logo + colours) */
.br-look { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; }
.br-logo-box, .br-colors { padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.br-logo-box { display: flex; gap: 14px; align-items: center; }
.br-logo { width: 84px; height: 84px; flex: none; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); overflow: hidden; }
.br-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.br-file { cursor: pointer; margin: 6px 0 2px; }
img.br-mono { object-fit: contain; background: #fff; padding: 4px; }
.br-colors { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.br-pickers { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.br-pickers label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 0; }
.br-pickers input[type=color] { width: 40px; height: 32px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: none; cursor: pointer; }
.br-pal { display: flex; gap: 6px; }
.br-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); cursor: pointer; padding: 0; }
@media (max-width: 760px) { .br-look { grid-template-columns: minmax(0, 1fr); } }
