
/* os.gmcat.io: main GmCat colours, white + purple (Turtle 2026-11-22) */
html[data-site="os"] { --bg: #ffffff; --panel: #ffffff; --panel2: #f7f4fc; --line: #e1daee; --cream: #2f2340; --muted: #5d5173; --soft: #7a6f90;
  --orange: #5b3f86; --accent-ink: #ffffff; --gold: #5b3f86; --shadow: #cbbdea; --p: #5b3f86; --p-soft: #f1ebfa; }
html[data-site="os"][data-theme="dark"] { --p: #c9b8ff; --p-soft: #2a2140; }
html[data-site="os"] body { background: var(--bg); }
.site-header .brand-gm { background: var(--p); color: #fff; }
html[data-theme="dark"] .site-header .brand-gm { color: #160f2a; }
main h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.o-hero h1 { max-width: 14ch; }
.o-art { margin: 0; width: min(100%, 360px); }
.hero-art .o-art img { width: 100%; height: auto; border-radius: 12px; display: block; filter: none; image-rendering: pixelated;
  box-shadow: 6px 6px 0 var(--shadow), 0 24px 50px color-mix(in srgb, var(--p) 22%, transparent); }
.o-stage { margin: 8px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--p-soft); border: 1px solid var(--line); color: var(--cream); line-height: 1.5; }
.o-sec { margin: 64px 0; }
.o-top { margin: 34px 0 22px; }
.o-top h1 { max-width: 20ch; }
.o-top .lede { max-width: 62ch; }
.o-intro { color: var(--muted); max-width: 64ch; margin: -4px 0 20px; font-size: 1.08rem; }
.o-note { color: var(--soft); font-size: .95rem; }
.o-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.o-prose p { font-size: 1.12rem; line-height: 1.65; margin: 0 0 14px; max-width: 54ch; }
.o-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.o-facts li { background: var(--p-soft); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.o-facts b { font-size: 1.7rem; color: var(--p); letter-spacing: -.02em; line-height: 1.1; }
.o-facts span { color: var(--muted); line-height: 1.45; font-size: .98rem; }
.o-court { margin: 22px 0 0; color: var(--muted); line-height: 1.6; max-width: 90ch; }
.cites { font-size: .68em; line-height: 0; white-space: nowrap; }
.cite { display: inline-block; min-width: 1.5em; padding: 0 .3em; margin-left: 2px; text-align: center; border-radius: 6px; text-decoration: none; font-weight: 700;
  background: var(--p-soft); color: var(--p); border: 1px solid var(--line); line-height: 1.5; }
.cite:hover { background: var(--p); color: var(--bg); }
.o-promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.o-promise { padding: 20px; }
.o-promise h3 { font-size: 1.08rem; margin: 10px 0 6px; }
.o-promise p { margin: 0; color: var(--muted); line-height: 1.5; font-size: .98rem; }
.o-ico { color: var(--p); flex: none; }
.o-promise .o-ico { display: block; width: 44px; height: 44px; padding: 9px; border-radius: 13px; background: var(--p-soft); }
.o-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.o-grid3 .card h3, .o-two .card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.o-grid3 .card p { margin: 0; color: var(--muted); line-height: 1.55; }
.o-more { margin: 20px 0 0; }
.o-diff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.o-diff li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); line-height: 1.55; color: var(--muted); }
.o-diff b { color: var(--cream); }
.o-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.o-steps li { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--panel); }
.o-steps li.now { border-color: var(--p); background: var(--p-soft); }
.o-steps span { display: inline-block; font: 9px/1.6 var(--pixel); text-transform: uppercase; letter-spacing: .06em; color: var(--soft); margin-bottom: 8px; }
.o-steps li.now span { color: var(--p); }
.o-steps b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.o-steps p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.o-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-color: var(--p); background: var(--p-soft); }
.o-cta h2 { margin: 0 0 6px; } .o-cta p { margin: 0; color: var(--muted); } .o-cta .btn-row { margin-top: 0; }
.o-faq { max-width: 780px; }
.o-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.o-faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.o-faq details p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }
.o-sources { border-top: 1px solid var(--line); padding-top: 26px; }
.o-sources ol { margin: 0; padding-left: 1.6em; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.o-sources li { margin: 0 0 8px; scroll-margin-top: 20px; overflow-wrap: anywhere; }
.o-sources li:target { background: var(--p-soft); outline: 6px solid var(--p-soft); border-radius: 4px; }
.o-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.o-toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--p); background: var(--panel); }
.o-toc a:hover { background: var(--p-soft); }
.o-short ul, .o-open, .o-wont { margin: 0; padding-left: 1.2em; line-height: 1.6; }
.o-short li, .o-open li, .o-wont li { margin-bottom: 8px; }
.o-short li::marker, .o-open li::marker, .o-wont li::marker { color: var(--p); }
.o-tried-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.o-tried header, .o-claim header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.o-tried h3, .o-claim h3 { margin: 0; font-size: 1.15rem; }
.o-years { color: var(--soft); font-size: .9rem; }
.o-tried p { margin: 0 0 10px; color: var(--muted); line-height: 1.55; }
.o-tried .o-lesson { margin: 0; color: var(--cream); padding: 10px 12px; background: var(--p-soft); border-radius: 10px; }
.o-claims { display: grid; gap: 0; }
.o-claim { padding: 18px 0; border-top: 1px solid var(--line); }
.o-claim p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 86ch; }
.o-list { margin: 0; padding-left: 1.15em; color: var(--muted); line-height: 1.55; }
.o-list li { margin-bottom: 7px; } .o-list b { color: var(--cream); }
.o-good { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.o-watch { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.o-verdict { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--p-soft); border: 1px solid var(--line); line-height: 1.6; }
.o-made p { color: var(--muted); line-height: 1.6; max-width: 80ch; }
.o-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 0; }
.o-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin: 0 0 12px; }
.o-ideas { list-style: none; margin: 0; padding: 0; }
.o-ideas li { padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.o-ideas b { display: block; } .o-ideas span { color: var(--muted); }
.o-suggest { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; align-items: start; margin: 8px 0 60px; }
.o-form label, .o-form legend { display: block; font-weight: 700; margin: 18px 0 6px; padding: 0; }
.o-form small { font-weight: 400; color: var(--soft); }
.o-form textarea, .o-form select { width: 100%; font: inherit; color: var(--cream); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.o-form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.o-form textarea:focus, .o-form select:focus { outline: 3px solid color-mix(in srgb, var(--p) 35%, transparent); border-color: var(--p); }
.o-form fieldset { border: 0; margin: 18px 0 0; padding: 0; }
.o-form legend { margin-top: 0; }
.o-check { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 4px 18px 4px 0 !important; min-height: 34px; }
.o-check input { width: 20px; height: 20px; accent-color: var(--p); }
.o-count { margin: 4px 0 0; text-align: right; color: var(--soft); font-size: .85rem; }
.o-adults { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--p-soft); line-height: 1.5; }
.o-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.o-status { min-height: 1.5em; margin: 14px 0 0; color: var(--muted); }
.o-status.is-bad { color: #a8322d; font-weight: 600; }
html[data-theme="dark"] .o-status.is-bad { color: #ff9c94; }
.o-thanks { text-align: center; padding: 40px 26px; }
.o-thanks .btn-row { justify-content: center; }
.o-thanks p { color: var(--muted); }
.o-side { display: grid; gap: 16px; }
.o-side h2 { font-size: 1.15rem; margin: 0 0 10px; }
.o-side .o-note { margin: 12px 0 0; }
[hidden] { display: none !important; }
@media (max-width: 980px) { .o-promises { grid-template-columns: 1fr 1fr; } .o-steps { grid-template-columns: 1fr 1fr; } .o-grid3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .o-two, .o-diff, .o-tried-grid, .o-groups, .o-suggest { grid-template-columns: 1fr; } .o-sec { margin: 48px 0; } }
@media (max-width: 520px) { .o-promises, .o-facts, .o-steps { grid-template-columns: 1fr; } .o-art { width: 240px; } }

/* ---------- Day / night (theme.py) ---------- */
html[data-site="os"][data-theme="dark"] { color-scheme: dark;
  --bg: #17131d; --panel: #221c2b; --panel2: #2a2235; --line: #372e44; --cream: #efeaf6; --muted: #aaa0bb; --soft: #8b819c;
  --orange: #f2a582; --accent-ink: #2a1626; --gold: #b8bff0; --shadow: #6f78bf;
  --ok: #72d49a; --warn: #f5c967; --info: #8fb6ef; --purple: #9d6bcc; --green: #72d49a; --pink: #ef8faa; --sky: #8fb6ef;
  --glow1: color-mix(in srgb, var(--shadow) 18%, var(--bg)); --glow2: color-mix(in srgb, var(--orange) 8%, var(--bg));
  --spot1: color-mix(in srgb, var(--shadow) 40%, var(--panel)); --spot2: color-mix(in srgb, var(--shadow) 14%, var(--panel2));
  --footer: color-mix(in srgb, black 30%, var(--bg));
  --bg: #15111d; --panel: #1f1929; --panel2: #262036; --line: #382f4c; --cream: #f1ecfa; --muted: #b3a9c8; --soft: #8f85a6;
  --orange: #a98cf5; --accent-ink: #160f2a; --gold: #c9b8ff; --shadow: #5a3fb0; }
html.theme-anim body, html.theme-anim .card, html.theme-anim .faq, html.theme-anim .chip-btn, html.theme-anim .site-footer, html.theme-anim .policy,
html.theme-anim .btn, html.theme-anim .spot, html.theme-anim .tile, html.theme-anim .mood, html.theme-anim input, html.theme-anim select,
html.theme-anim .step, html.theme-anim .ill { transition: background-color .7s ease, color .7s ease, border-color .7s ease, background .7s ease; }

.site-header .theme-toggle { order: 3; }
.theme-toggle { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cream); background: var(--panel); border: 1px solid var(--line); border-radius: 99px;
  padding: 5px 14px 5px 5px; cursor: pointer; box-shadow: 2px 2px 0 var(--shadow); }
.theme-toggle:hover { border-color: var(--orange); }
.theme-toggle:focus-visible, .sky-stage:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.tt-track { position: relative; width: 52px; height: 28px; border-radius: 99px; background: linear-gradient(180deg, #9fd6ff, #ffe7b0);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cream) 15%, transparent); transition: background .6s ease; }
html[data-theme="dark"] .tt-track { background: linear-gradient(180deg, #1b2350, #3b2a5c); }
.tt-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fffaf0;
  box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .55s cubic-bezier(.6,-0.4,.35,1.4), background .5s ease; overflow: hidden; }
html[data-theme="dark"] .tt-knob { transform: translateX(24px) rotate(360deg); background: #2b2440; }
.tt-knob svg { position: absolute; inset: 3px; width: 16px; height: 16px; transition: opacity .35s ease, transform .5s ease; }
.tt-knob .mini-moon { opacity: 0; transform: scale(.4) rotate(-90deg); }
html[data-theme="dark"] .tt-knob .mini-sun { opacity: 0; transform: scale(.4) rotate(90deg); }
html[data-theme="dark"] .tt-knob .mini-moon { opacity: 1; transform: none; }

.sky-stage { position: relative; display: block; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; border-radius: 24px;
  -webkit-tap-highlight-color: transparent; }
.sky-stage .cat { position: relative; z-index: 1; display: block; }
.sky { position: absolute; z-index: 0; left: 52%; top: 17%; width: 66%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.sky .sun, .sky .moon { position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform .9s cubic-bezier(.55,-0.25,.35,1.25), opacity .7s ease, filter .9s ease; }
.sky .sun { filter: drop-shadow(0 0 18px rgba(255, 196, 64, .65)); animation: sun-spin 40s linear infinite; }
.sky .moon { opacity: 0; transform: translateY(55%) rotate(-50deg) scale(.6); filter: drop-shadow(0 0 16px rgba(240, 232, 200, .45)); }
html[data-theme="dark"] .sky .sun { opacity: 0; transform: translateY(60%) rotate(140deg) scale(.5); animation: none; }
html[data-theme="dark"] .sky .moon { opacity: 1; transform: translate(9%, -4%); }
.stars i { position: absolute; width: 5%; aspect-ratio: 1; background: #fff7d6; opacity: 0; transform: scale(.2);
  transition: opacity .5s ease calc(.45s + var(--d)), transform .5s ease calc(.45s + var(--d)); box-shadow: 0 0 6px #fff1b8; }
html[data-theme="dark"] .stars i { opacity: 1; transform: scale(1); animation: twinkle 2.6s ease-in-out infinite var(--d); }
.cat.boop { animation: boop .6s ease; }
.sky-pair .duo { position: relative; z-index: 1; display: grid; place-items: center; }   /* both cats share one cell, so both get the same size rule (no stretched night cat) */
.sky-pair .duo .cat { grid-area: 1 / 1; transition: opacity .6s ease; }
.sky-pair .duo .cat-night { opacity: 0; }
html[data-theme="dark"] .sky-pair .duo .cat-day { opacity: 0; }
html[data-theme="dark"] .sky-pair .duo .cat-night { opacity: 1; }
html[data-theme="dark"] .hero-art .sky-pair img { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); }   /* no pale halo around the night cat */
@keyframes boop { 0% { transform: translateY(0); } 30% { transform: translateY(-9px) rotate(-2deg); } 60% { transform: translateY(2px); } 100% { transform: none; } }
@keyframes sun-spin { to { rotate: 360deg; } }
@keyframes twinkle { 50% { opacity: .35; } }
@media (max-width: 760px) {
  .site-header .theme-toggle { order: 2; margin-left: auto; }
  .site-header .site-nav { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sky .sun, .sky .moon, .stars i, .tt-knob, .tt-knob svg, .tt-track { transition: none !important; animation: none !important; }
  .cat.boop { animation: none; }
}
