/* ============================================================
   PS3 WORLD - EXTRA LOOKS (picked in the footer, js/nav.js)
   ------------------------------------------------------------
   Each look is a class on <html> (look-<name>), set by the small
   script in each page's <head> from the ps3w-look cookie. They
   swap the colour tokens and the few accents style.css doesn't
   take from tokens. Generated; edit the palette, not the rules.
   ============================================================ */

/* ---------- Pink ---------- */
html.look-pink {
  --bg: #100711; --bg-2: #170a18; --card: #1a0d1c; --card-2: #221126; --media-bg: #09040a;
  --panel-top: #1f0f22; --panel-bottom: #100712;
  --border: rgba(255, 140, 200, 0.15); --border-2: rgba(255, 140, 200, 0.26);
  --text: #fdf0f8; --text-2: #d8b4cb; --text-3: #a98aa0;
  --ps-blue: #d6337f; --ps-blue-2: #ff4fa3; --btn-blue-end: #b8236a;
  --ps-cyan: #ffa8d2; --ps-sky: #ff7ec0; --ps-sky-2: #ffc0de; --ps-ice: #ffd3ea; --link: #ff9fcf;
  --kbd-bg: #221126; --kbd-text: #ffd3ea;
  --shadow-glow: 0 0 40px rgba(255, 79, 163, 0.2); --ring: 0 0 0 3px rgba(255, 209, 232, 0.5);
  scrollbar-color: rgba(255, 79, 163, 0.45) var(--bg);
}
html.look-pink body { background: #100711; }
html.look-pink body::before {
  background:
    linear-gradient(rgba(16, 7, 17, 0.9), rgba(16, 7, 17, 0.93)),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 79, 163, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(199, 155, 255, 0.1), transparent),
    #000;
}
html.look-pink ::selection { background: rgba(255, 79, 163, 0.4); }
html.look-pink .page-waves { --pw-a: #c2185b; --pw-b: #ff4fa3; --pw-c: #ffa8d2; --pw-d: #5a1d4e; --pw-e: #1c0a1c; --pw-f: #c79bff; --pw-glow: rgba(255, 79, 163, 0.18); }
html.look-pink hr.solid { border-bottom-color: rgba(255, 79, 163, 0.2); }
html.look-pink header.site { background: rgba(16, 7, 17, 0.95); border-bottom-color: rgba(255, 79, 163, 0.35); }
html.look-pink nav.main > a.active::after,
html.look-pink nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(255, 79, 163, 0.6); }
html.look-pink nav.main .dropdown a:hover,
html.look-pink nav.main .dropdown a:focus-visible { background: rgba(255, 79, 163, 0.12); }
html.look-pink nav.main .dropdown a.active { background: rgba(255, 79, 163, 0.08); }
html.look-pink .hero h1 { background: linear-gradient(180deg, #fff 0%, #ffc0de 60%, #ff4fa3 100%); -webkit-background-clip: text; background-clip: text; }
html.look-pink .btn,
html.look-pink .contact-form button,
html.look-pink .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(255, 79, 163, 0.3); }
html.look-pink .btn:hover,
html.look-pink .btn-manual:hover { box-shadow: 0 0 36px rgba(255, 79, 163, 0.5); }
html.look-pink .btn.btn-ghost:hover { background: rgba(255, 79, 163, 0.1); }
html.look-pink .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(255, 79, 163, 0.14), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-pink .explore-card:hover,
html.look-pink .link-card:hover { border-color: rgba(255, 79, 163, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 79, 163, 0.18), 0 0 30px rgba(255, 79, 163, 0.12); }
html.look-pink .explore-chips a:hover { background: rgba(255, 79, 163, 0.2); }
html.look-pink .feed-item--lead { background: linear-gradient(135deg, rgba(255, 79, 163, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.look-pink .post .post-date { border-color: rgba(255, 79, 163, 0.25); background: rgba(255, 79, 163, 0.07); }
html.look-pink .crumbs { border-color: rgba(255, 79, 163, 0.25); background: rgba(255, 79, 163, 0.06); }
html.look-pink .quick-nav-count { background: rgba(255, 79, 163, 0.12); }
@media (hover: hover) { html.look-pink .quick-nav-links a:hover { background: rgba(255, 79, 163, 0.12); } }
html.look-pink .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(255, 79, 163, 0.4); }
html.look-pink .sb-item.is-current { background: rgba(255, 79, 163, 0.16); }
html.look-pink .scroll-progress { background: linear-gradient(90deg, #ff4fa3, #c79bff, #ffd1e8); box-shadow: 0 0 8px rgba(255, 79, 163, 0.5); }
html.look-pink #backToTop { box-shadow: 0 8px 32px rgba(255, 79, 163, 0.4); }
html.look-pink .lightbox button.close:hover,
html.look-pink .lb-nav:hover { background: rgba(255, 79, 163, 0.25); }
html.look-pink .section-bar,
html.look-pink .mp-toolbar { background: rgba(16, 7, 17, 0.97); }
html.look-pink footer.site { border-top-color: rgba(199, 155, 255, 0.4); }

html.look-pink .logo::after { content: "\1F338"; font-size: 20px; line-height: 1; }

/* ---------- Summer ---------- */
html.look-summer {
  --bg: #04121a; --bg-2: #071a24; --card: #0a1d28; --card-2: #0e2532; --media-bg: #020a0f;
  --panel-top: #0c2230; --panel-bottom: #05121a;
  --border: rgba(120, 210, 230, 0.15); --border-2: rgba(120, 210, 230, 0.26);
  --text: #f2fbff; --text-2: #b4ced9; --text-3: #86a3b0;
  --ps-blue: #0b7f78; --ps-blue-2: #26d7c4; --btn-blue-end: #086a64;
  --ps-cyan: #ffc93c; --ps-sky: #3fe0cf; --ps-sky-2: #ffd77a; --ps-ice: #c4f5ee; --link: #5fe6d6;
  --kbd-bg: #0e2532; --kbd-text: #c4f5ee;
  --shadow-glow: 0 0 40px rgba(38, 215, 196, 0.2); --ring: 0 0 0 3px rgba(255, 159, 28, 0.5);
  scrollbar-color: rgba(38, 215, 196, 0.45) var(--bg);
}
html.look-summer body { background: #04121a; }
html.look-summer body::before {
  background:
    linear-gradient(rgba(4, 18, 26, 0.9), rgba(4, 18, 26, 0.93)),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(38, 215, 196, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(255, 201, 60, 0.1), transparent),
    #000;
}
html.look-summer ::selection { background: rgba(38, 215, 196, 0.4); }
html.look-summer .page-waves { --pw-a: #0b8a80; --pw-b: #26d7c4; --pw-c: #7ff0e4; --pw-d: #0d4d5c; --pw-e: #04161e; --pw-f: #ffc93c; --pw-glow: rgba(38, 215, 196, 0.18); }
html.look-summer hr.solid { border-bottom-color: rgba(38, 215, 196, 0.2); }
html.look-summer header.site { background: rgba(4, 18, 26, 0.95); border-bottom-color: rgba(38, 215, 196, 0.35); }
html.look-summer nav.main > a.active::after,
html.look-summer nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(38, 215, 196, 0.6); }
html.look-summer nav.main .dropdown a:hover,
html.look-summer nav.main .dropdown a:focus-visible { background: rgba(38, 215, 196, 0.12); }
html.look-summer nav.main .dropdown a.active { background: rgba(38, 215, 196, 0.08); }
html.look-summer .hero h1 { background: linear-gradient(180deg, #fff 0%, #fff0a8 60%, #ffc93c 100%); -webkit-background-clip: text; background-clip: text; }
html.look-summer .btn,
html.look-summer .contact-form button,
html.look-summer .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(38, 215, 196, 0.3); }
html.look-summer .btn:hover,
html.look-summer .btn-manual:hover { box-shadow: 0 0 36px rgba(38, 215, 196, 0.5); }
html.look-summer .btn.btn-ghost:hover { background: rgba(38, 215, 196, 0.1); }
html.look-summer .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(38, 215, 196, 0.14), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-summer .explore-card:hover,
html.look-summer .link-card:hover { border-color: rgba(38, 215, 196, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(38, 215, 196, 0.18), 0 0 30px rgba(38, 215, 196, 0.12); }
html.look-summer .explore-chips a:hover { background: rgba(38, 215, 196, 0.2); }
html.look-summer .feed-item--lead { background: linear-gradient(135deg, rgba(38, 215, 196, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.look-summer .post .post-date { border-color: rgba(38, 215, 196, 0.25); background: rgba(38, 215, 196, 0.07); }
html.look-summer .crumbs { border-color: rgba(38, 215, 196, 0.25); background: rgba(38, 215, 196, 0.06); }
html.look-summer .quick-nav-count { background: rgba(38, 215, 196, 0.12); }
@media (hover: hover) { html.look-summer .quick-nav-links a:hover { background: rgba(38, 215, 196, 0.12); } }
html.look-summer .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(38, 215, 196, 0.4); }
html.look-summer .sb-item.is-current { background: rgba(38, 215, 196, 0.16); }
html.look-summer .scroll-progress { background: linear-gradient(90deg, #26d7c4, #ffc93c, #ff9f1c); box-shadow: 0 0 8px rgba(38, 215, 196, 0.5); }
html.look-summer #backToTop { box-shadow: 0 8px 32px rgba(38, 215, 196, 0.4); }
html.look-summer .lightbox button.close:hover,
html.look-summer .lb-nav:hover { background: rgba(38, 215, 196, 0.25); }
html.look-summer .section-bar,
html.look-summer .mp-toolbar { background: rgba(4, 18, 26, 0.97); }
html.look-summer footer.site { border-top-color: rgba(255, 201, 60, 0.4); }

html.look-summer .logo::after { content: "\2600\FE0F"; font-size: 20px; line-height: 1; }

/* ---------- Spring ---------- */
html.look-spring {
  --bg: #06110b; --bg-2: #0a1810; --card: #0d1c13; --card-2: #122519; --media-bg: #030a06;
  --panel-top: #10231a; --panel-bottom: #07120c;
  --border: rgba(140, 220, 170, 0.15); --border-2: rgba(140, 220, 170, 0.26);
  --text: #f1fbf4; --text-2: #b6d3bf; --text-3: #86a590;
  --ps-blue: #23824a; --ps-blue-2: #4cc27a; --btn-blue-end: #1c6e3e;
  --ps-cyan: #b9f27c; --ps-sky: #7ddca0; --ps-sky-2: #c8f5a0; --ps-ice: #d9f8c4; --link: #9fe8b8;
  --kbd-bg: #122519; --kbd-text: #d9f8c4;
  --shadow-glow: 0 0 40px rgba(76, 194, 122, 0.2); --ring: 0 0 0 3px rgba(185, 242, 124, 0.5);
  scrollbar-color: rgba(76, 194, 122, 0.45) var(--bg);
}
html.look-spring body { background: #06110b; }
html.look-spring body::before {
  background:
    linear-gradient(rgba(6, 17, 11, 0.9), rgba(6, 17, 11, 0.93)),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(76, 194, 122, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(255, 158, 196, 0.1), transparent),
    #000;
}
html.look-spring ::selection { background: rgba(76, 194, 122, 0.4); }
html.look-spring .page-waves { --pw-a: #1f7a44; --pw-b: #4cc27a; --pw-c: #b9f27c; --pw-d: #6e2a4a; --pw-e: #0b1a10; --pw-f: #ff9ec4; --pw-glow: rgba(76, 194, 122, 0.18); }
html.look-spring hr.solid { border-bottom-color: rgba(76, 194, 122, 0.2); }
html.look-spring header.site { background: rgba(6, 17, 11, 0.95); border-bottom-color: rgba(76, 194, 122, 0.35); }
html.look-spring nav.main > a.active::after,
html.look-spring nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(76, 194, 122, 0.6); }
html.look-spring nav.main .dropdown a:hover,
html.look-spring nav.main .dropdown a:focus-visible { background: rgba(76, 194, 122, 0.12); }
html.look-spring nav.main .dropdown a.active { background: rgba(76, 194, 122, 0.08); }
html.look-spring .hero h1 { background: linear-gradient(180deg, #fff 0%, #d9f8c4 60%, #4cc27a 100%); -webkit-background-clip: text; background-clip: text; }
html.look-spring .btn,
html.look-spring .contact-form button,
html.look-spring .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(76, 194, 122, 0.3); }
html.look-spring .btn:hover,
html.look-spring .btn-manual:hover { box-shadow: 0 0 36px rgba(76, 194, 122, 0.5); }
html.look-spring .btn.btn-ghost:hover { background: rgba(76, 194, 122, 0.1); }
html.look-spring .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(76, 194, 122, 0.14), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-spring .explore-card:hover,
html.look-spring .link-card:hover { border-color: rgba(76, 194, 122, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(76, 194, 122, 0.18), 0 0 30px rgba(76, 194, 122, 0.12); }
html.look-spring .explore-chips a:hover { background: rgba(76, 194, 122, 0.2); }
html.look-spring .feed-item--lead { background: linear-gradient(135deg, rgba(76, 194, 122, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.look-spring .post .post-date { border-color: rgba(76, 194, 122, 0.25); background: rgba(76, 194, 122, 0.07); }
html.look-spring .crumbs { border-color: rgba(76, 194, 122, 0.25); background: rgba(76, 194, 122, 0.06); }
html.look-spring .quick-nav-count { background: rgba(76, 194, 122, 0.12); }
@media (hover: hover) { html.look-spring .quick-nav-links a:hover { background: rgba(76, 194, 122, 0.12); } }
html.look-spring .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(76, 194, 122, 0.4); }
html.look-spring .sb-item.is-current { background: rgba(76, 194, 122, 0.16); }
html.look-spring .scroll-progress { background: linear-gradient(90deg, #4cc27a, #ff9ec4, #b9f27c); box-shadow: 0 0 8px rgba(76, 194, 122, 0.5); }
html.look-spring #backToTop { box-shadow: 0 8px 32px rgba(76, 194, 122, 0.4); }
html.look-spring .lightbox button.close:hover,
html.look-spring .lb-nav:hover { background: rgba(76, 194, 122, 0.25); }
html.look-spring .section-bar,
html.look-spring .mp-toolbar { background: rgba(6, 17, 11, 0.97); }
html.look-spring footer.site { border-top-color: rgba(255, 158, 196, 0.4); }

html.look-spring .logo::after { content: "\1F337"; font-size: 20px; line-height: 1; }

/* ---------- Autumn ---------- */
html.look-autumn {
  --bg: #120b06; --bg-2: #1a1009; --card: #1d130b; --card-2: #26190f; --media-bg: #0a0603;
  --panel-top: #24170d; --panel-bottom: #120b06;
  --border: rgba(230, 160, 100, 0.15); --border-2: rgba(230, 160, 100, 0.26);
  --text: #fdf5ec; --text-2: #d8c0a6; --text-3: #a8907a;
  --ps-blue: #b8611a; --ps-blue-2: #e8892b; --btn-blue-end: #9a4f12;
  --ps-cyan: #f2c14e; --ps-sky: #f0a050; --ps-sky-2: #f7cf86; --ps-ice: #fadcaa; --link: #f5b46a;
  --kbd-bg: #26190f; --kbd-text: #fadcaa;
  --shadow-glow: 0 0 40px rgba(232, 137, 43, 0.2); --ring: 0 0 0 3px rgba(242, 193, 78, 0.5);
  scrollbar-color: rgba(232, 137, 43, 0.45) var(--bg);
}
html.look-autumn body { background: #120b06; }
html.look-autumn body::before {
  background:
    linear-gradient(rgba(18, 11, 6, 0.9), rgba(18, 11, 6, 0.93)),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 137, 43, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(194, 65, 58, 0.1), transparent),
    #000;
}
html.look-autumn ::selection { background: rgba(232, 137, 43, 0.4); }
html.look-autumn .page-waves { --pw-a: #a8481a; --pw-b: #e8892b; --pw-c: #f2c14e; --pw-d: #5a1e18; --pw-e: #1a0c06; --pw-f: #c2413a; --pw-glow: rgba(232, 137, 43, 0.18); }
html.look-autumn hr.solid { border-bottom-color: rgba(232, 137, 43, 0.2); }
html.look-autumn header.site { background: rgba(18, 11, 6, 0.95); border-bottom-color: rgba(232, 137, 43, 0.35); }
html.look-autumn nav.main > a.active::after,
html.look-autumn nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(232, 137, 43, 0.6); }
html.look-autumn nav.main .dropdown a:hover,
html.look-autumn nav.main .dropdown a:focus-visible { background: rgba(232, 137, 43, 0.12); }
html.look-autumn nav.main .dropdown a.active { background: rgba(232, 137, 43, 0.08); }
html.look-autumn .hero h1 { background: linear-gradient(180deg, #fff 0%, #f7cf86 60%, #e8892b 100%); -webkit-background-clip: text; background-clip: text; }
html.look-autumn .btn,
html.look-autumn .contact-form button,
html.look-autumn .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(232, 137, 43, 0.3); }
html.look-autumn .btn:hover,
html.look-autumn .btn-manual:hover { box-shadow: 0 0 36px rgba(232, 137, 43, 0.5); }
html.look-autumn .btn.btn-ghost:hover { background: rgba(232, 137, 43, 0.1); }
html.look-autumn .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(232, 137, 43, 0.14), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-autumn .explore-card:hover,
html.look-autumn .link-card:hover { border-color: rgba(232, 137, 43, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 137, 43, 0.18), 0 0 30px rgba(232, 137, 43, 0.12); }
html.look-autumn .explore-chips a:hover { background: rgba(232, 137, 43, 0.2); }
html.look-autumn .feed-item--lead { background: linear-gradient(135deg, rgba(232, 137, 43, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.look-autumn .post .post-date { border-color: rgba(232, 137, 43, 0.25); background: rgba(232, 137, 43, 0.07); }
html.look-autumn .crumbs { border-color: rgba(232, 137, 43, 0.25); background: rgba(232, 137, 43, 0.06); }
html.look-autumn .quick-nav-count { background: rgba(232, 137, 43, 0.12); }
@media (hover: hover) { html.look-autumn .quick-nav-links a:hover { background: rgba(232, 137, 43, 0.12); } }
html.look-autumn .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(232, 137, 43, 0.4); }
html.look-autumn .sb-item.is-current { background: rgba(232, 137, 43, 0.16); }
html.look-autumn .scroll-progress { background: linear-gradient(90deg, #e8892b, #c2413a, #f2c14e); box-shadow: 0 0 8px rgba(232, 137, 43, 0.5); }
html.look-autumn #backToTop { box-shadow: 0 8px 32px rgba(232, 137, 43, 0.4); }
html.look-autumn .lightbox button.close:hover,
html.look-autumn .lb-nav:hover { background: rgba(232, 137, 43, 0.25); }
html.look-autumn .section-bar,
html.look-autumn .mp-toolbar { background: rgba(18, 11, 6, 0.97); }
html.look-autumn footer.site { border-top-color: rgba(194, 65, 58, 0.4); }

html.look-autumn .logo::after { content: "\1F342"; font-size: 20px; line-height: 1; }

/* ---------- Crimson ---------- */
html.look-crimson {
  --bg: #0f0506; --bg-2: #16080a; --card: #1a0a0c; --card-2: #230e11; --media-bg: #080304;
  --panel-top: #200c0f; --panel-bottom: #100506;
  --border: rgba(255, 120, 120, 0.15); --border-2: rgba(255, 120, 120, 0.26);
  --text: #fff3f3; --text-2: #d6b4b4; --text-3: #a68888;
  --ps-blue: #c62828; --ps-blue-2: #e5383b; --btn-blue-end: #a51d1d;
  --ps-cyan: #ff8a80; --ps-sky: #ff6b6b; --ps-sky-2: #ffaaa3; --ps-ice: #ffc7c2; --link: #ff9b94;
  --kbd-bg: #230e11; --kbd-text: #ffc7c2;
  --shadow-glow: 0 0 40px rgba(229, 56, 59, 0.2); --ring: 0 0 0 3px rgba(255, 208, 204, 0.5);
  scrollbar-color: rgba(229, 56, 59, 0.45) var(--bg);
}
html.look-crimson body { background: #0f0506; }
html.look-crimson body::before {
  background:
    linear-gradient(rgba(15, 5, 6, 0.9), rgba(15, 5, 6, 0.93)),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(229, 56, 59, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(255, 138, 128, 0.1), transparent),
    #000;
}
html.look-crimson ::selection { background: rgba(229, 56, 59, 0.4); }
html.look-crimson .page-waves { --pw-a: #9e1b1b; --pw-b: #e5383b; --pw-c: #ff8a80; --pw-d: #4a0d10; --pw-e: #160506; --pw-f: #ffb3ad; --pw-glow: rgba(229, 56, 59, 0.18); }
html.look-crimson hr.solid { border-bottom-color: rgba(229, 56, 59, 0.2); }
html.look-crimson header.site { background: rgba(15, 5, 6, 0.95); border-bottom-color: rgba(229, 56, 59, 0.35); }
html.look-crimson nav.main > a.active::after,
html.look-crimson nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(229, 56, 59, 0.6); }
html.look-crimson nav.main .dropdown a:hover,
html.look-crimson nav.main .dropdown a:focus-visible { background: rgba(229, 56, 59, 0.12); }
html.look-crimson nav.main .dropdown a.active { background: rgba(229, 56, 59, 0.08); }
html.look-crimson .hero h1 { background: linear-gradient(180deg, #fff 0%, #ffc7c2 60%, #e5383b 100%); -webkit-background-clip: text; background-clip: text; }
html.look-crimson .btn,
html.look-crimson .contact-form button,
html.look-crimson .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(229, 56, 59, 0.3); }
html.look-crimson .btn:hover,
html.look-crimson .btn-manual:hover { box-shadow: 0 0 36px rgba(229, 56, 59, 0.5); }
html.look-crimson .btn.btn-ghost:hover { background: rgba(229, 56, 59, 0.1); }
html.look-crimson .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(229, 56, 59, 0.14), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-crimson .explore-card:hover,
html.look-crimson .link-card:hover { border-color: rgba(229, 56, 59, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(229, 56, 59, 0.18), 0 0 30px rgba(229, 56, 59, 0.12); }
html.look-crimson .explore-chips a:hover { background: rgba(229, 56, 59, 0.2); }
html.look-crimson .feed-item--lead { background: linear-gradient(135deg, rgba(229, 56, 59, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.look-crimson .post .post-date { border-color: rgba(229, 56, 59, 0.25); background: rgba(229, 56, 59, 0.07); }
html.look-crimson .crumbs { border-color: rgba(229, 56, 59, 0.25); background: rgba(229, 56, 59, 0.06); }
html.look-crimson .quick-nav-count { background: rgba(229, 56, 59, 0.12); }
@media (hover: hover) { html.look-crimson .quick-nav-links a:hover { background: rgba(229, 56, 59, 0.12); } }
html.look-crimson .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(229, 56, 59, 0.4); }
html.look-crimson .sb-item.is-current { background: rgba(229, 56, 59, 0.16); }
html.look-crimson .scroll-progress { background: linear-gradient(90deg, #e5383b, #ff8a80, #ffd0cc); box-shadow: 0 0 8px rgba(229, 56, 59, 0.5); }
html.look-crimson #backToTop { box-shadow: 0 8px 32px rgba(229, 56, 59, 0.4); }
html.look-crimson .lightbox button.close:hover,
html.look-crimson .lb-nav:hover { background: rgba(229, 56, 59, 0.25); }
html.look-crimson .section-bar,
html.look-crimson .mp-toolbar { background: rgba(15, 5, 6, 0.97); }
html.look-crimson footer.site { border-top-color: rgba(255, 138, 128, 0.4); }

/* ---------- Midnight ---------- */
html.look-mono {
  --bg: #000000; --bg-2: #060606; --card: #0c0c0d; --card-2: #141416; --media-bg: #000000;
  --panel-top: #111113; --panel-bottom: #050505;
  --border: rgba(200, 205, 215, 0.15); --border-2: rgba(200, 205, 215, 0.26);
  --text: #f5f6f8; --text-2: #b8bcc4; --text-3: #8a8f98;
  --ps-blue: #3d4450; --ps-blue-2: #c9d1dc; --btn-blue-end: #2c323c;
  --ps-cyan: #e3e8ef; --ps-sky: #c9d1dc; --ps-sky-2: #e3e8ef; --ps-ice: #eef1f5; --link: #d6dce5;
  --kbd-bg: #141416; --kbd-text: #eef1f5;
  --shadow-glow: 0 0 40px rgba(201, 209, 220, 0.2); --ring: 0 0 0 3px rgba(255, 255, 255, 0.5);
  scrollbar-color: rgba(201, 209, 220, 0.45) var(--bg);
}
html.look-mono body { background: #000000; }
html.look-mono body::before {
  background:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.93)),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 209, 220, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(138, 148, 166, 0.1), transparent),
    #000;
}
html.look-mono ::selection { background: rgba(201, 209, 220, 0.4); }
html.look-mono .page-waves { --pw-a: #3a3f48; --pw-b: #6b7280; --pw-c: #c9d1dc; --pw-d: #1a1c20; --pw-e: #050505; --pw-f: #9aa3b2; --pw-glow: rgba(201, 209, 220, 0.18); }
html.look-mono hr.solid { border-bottom-color: rgba(201, 209, 220, 0.2); }
html.look-mono header.site { background: rgba(0, 0, 0, 0.95); border-bottom-color: rgba(201, 209, 220, 0.35); }
html.look-mono nav.main > a.active::after,
html.look-mono nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(201, 209, 220, 0.6); }
html.look-mono nav.main .dropdown a:hover,
html.look-mono nav.main .dropdown a:focus-visible { background: rgba(201, 209, 220, 0.12); }
html.look-mono nav.main .dropdown a.active { background: rgba(201, 209, 220, 0.08); }
html.look-mono .hero h1 { background: linear-gradient(180deg, #fff 0%, #e3e8ef 60%, #9aa3b2 100%); -webkit-background-clip: text; background-clip: text; }
html.look-mono .btn,
html.look-mono .contact-form button,
html.look-mono .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(201, 209, 220, 0.3); }
html.look-mono .btn:hover,
html.look-mono .btn-manual:hover { box-shadow: 0 0 36px rgba(201, 209, 220, 0.5); }
html.look-mono .btn.btn-ghost:hover { background: rgba(201, 209, 220, 0.1); }
html.look-mono .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(201, 209, 220, 0.14), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-mono .explore-card:hover,
html.look-mono .link-card:hover { border-color: rgba(201, 209, 220, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 209, 220, 0.18), 0 0 30px rgba(201, 209, 220, 0.12); }
html.look-mono .explore-chips a:hover { background: rgba(201, 209, 220, 0.2); }
html.look-mono .feed-item--lead { background: linear-gradient(135deg, rgba(201, 209, 220, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.look-mono .post .post-date { border-color: rgba(201, 209, 220, 0.25); background: rgba(201, 209, 220, 0.07); }
html.look-mono .crumbs { border-color: rgba(201, 209, 220, 0.25); background: rgba(201, 209, 220, 0.06); }
html.look-mono .quick-nav-count { background: rgba(201, 209, 220, 0.12); }
@media (hover: hover) { html.look-mono .quick-nav-links a:hover { background: rgba(201, 209, 220, 0.12); } }
html.look-mono .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(201, 209, 220, 0.4); }
html.look-mono .sb-item.is-current { background: rgba(201, 209, 220, 0.16); }
html.look-mono .scroll-progress { background: linear-gradient(90deg, #c9d1dc, #8a94a6, #ffffff); box-shadow: 0 0 8px rgba(201, 209, 220, 0.5); }
html.look-mono #backToTop { box-shadow: 0 8px 32px rgba(201, 209, 220, 0.4); }
html.look-mono .lightbox button.close:hover,
html.look-mono .lb-nav:hover { background: rgba(201, 209, 220, 0.25); }
html.look-mono .section-bar,
html.look-mono .mp-toolbar { background: rgba(0, 0, 0, 0.97); }
html.look-mono footer.site { border-top-color: rgba(138, 148, 166, 0.4); }

/* ---------- White (light) ----------
   The site is drawn dark first, so besides the tokens this look
   flips the hard-coded dark backdrops, white-alpha surfaces and
   white text that sits on a card rather than on a coloured button. */
html.look-white {
  color-scheme: light;
  --bg: #f4f6fa; --bg-2: #eceff5; --card: #ffffff; --card-2: #f1f3f8; --media-bg: #e6e9f0;
  --surface: rgba(20, 30, 50, 0.03); --surface-hover: rgba(20, 30, 50, 0.07);
  --panel-top: #ffffff; --panel-bottom: #f3f5f9;
  --border: rgba(20, 30, 50, 0.12); --border-2: rgba(20, 30, 50, 0.2);
  --text: #141a24; --text-2: #3d4656; --text-3: #5b6474;
  --ps-blue: #0062b8; --ps-blue-2: #0a74d6; --btn-blue-end: #0058a8;
  --ps-cyan: #0a7fa8; --ps-sky: #0a6fc9; --ps-sky-2: #2a7fd0; --ps-ice: #2c6f95;
  --link: #0a5fb4;
  --kbd-bg: #e6eaf2; --kbd-text: #1e2a3a;
  --new-text: #c0392b;
  --gold: #a87900; --gold-bright: #9a6f00; --gold-soft: #8a6a10; --gold-dim: #8a6a10;
  --red: #c62828; --red-soft: #c0392b; --warn: #c0392b; --green: #1e8449; --p3t: #138a52;
  --tag-ports: #c25e00; --tag-emulators: #6d4fd8; --tag-themes: #8e3fd0; --tag-homebrew: #0f8a7a;
  --tag-manuals: #a06a00; --tag-resources: #1d63c9; --tag-avatars: #c72a7c; --tag-saves: #c53030;
  --tag-covers: #c25400; --tag-edits: #a632b8; --tag-translations: #4d7c0f; --tag-site: #55627a;
  --plat-hen: #b86e00; --plat-cfw: #7a44d6; --plat-pc: #0a7fa8; --plat-ofw: #17885a;
  --shadow: 0 8px 28px rgba(20, 30, 50, 0.12);
  --shadow-glow: 0 0 30px rgba(0, 98, 184, 0.1);
  --ring: 0 0 0 3px rgba(0, 98, 184, 0.35);
  scrollbar-color: rgba(20, 30, 50, 0.3) var(--bg);
}
html.look-white body { background: #f4f6fa; }
html.look-white body::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 112, 209, 0.1), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(74, 217, 255, 0.08), transparent),
    #f4f6fa;
}
html.look-white ::selection { background: rgba(0, 98, 184, 0.22); color: inherit; }
html.look-white .page-waves { --pw-a: #7fb6ea; --pw-b: #9cc8f2; --pw-c: #bfe3f7; --pw-d: #d6e4f5; --pw-e: #eef3fa; --pw-f: #a8d8f0; --pw-glow: rgba(0, 112, 209, 0.08); }
html.look-white .pw-wave { opacity: 0.45; }
html.look-white .pw-fade { background: linear-gradient(rgba(244, 246, 250, 0.2), transparent 22%), linear-gradient(transparent 40%, rgba(244, 246, 250, 0.4) 85%); }
html.look-white header.site,
html.look-white header.site.is-scrolled { background: rgba(255, 255, 255, 0.96); border-bottom-color: rgba(20, 30, 50, 0.1); }
html.look-white header.site.is-scrolled { box-shadow: 0 6px 20px rgba(20, 30, 50, 0.08); }
html.look-white nav.main .dropdown { box-shadow: 0 18px 40px rgba(20, 30, 50, 0.16), 0 0 0 1px rgba(20, 30, 50, 0.06); }
html.look-white .hero h1 { background: linear-gradient(180deg, #0d1420 0%, #2a3a55 100%); -webkit-background-clip: text; background-clip: text; }

/* Surfaces that were a white tint on black */
html.look-white .link-card,
html.look-white .post,
html.look-white .side-card { background: var(--card); box-shadow: 0 1px 2px rgba(20, 30, 50, 0.05); }
html.look-white .link-card:hover,
html.look-white .side-card:hover { background: #fbfcfe; box-shadow: 0 10px 28px rgba(20, 30, 50, 0.1), 0 0 0 1px rgba(0, 98, 184, 0.15); }
html.look-white .explore-card:hover { box-shadow: 0 14px 36px rgba(20, 30, 50, 0.12), 0 0 0 1px rgba(0, 98, 184, 0.15); }
html.look-white .essential-resources .resource-item,
html.look-white .btn.btn-ghost,
html.look-white .plat-chip,
html.look-white .tool-info .req-table tbody th,
html.look-white .contact-notice li,
html.look-white .disclaimer-box .disc-text,
html.look-white .a2hs-steps li { background: rgba(20, 30, 50, 0.025); }
html.look-white .essential-resources .resource-item:hover,
html.look-white .feed-item:hover,
html.look-white .a2hs-close { background: rgba(20, 30, 50, 0.06); }
html.look-white .plat-chip .tag-chip-count,
html.look-white .essential-resources .star-icon,
html.look-white .essential-resources .resource-tag,
html.look-white .disclaimer-box .disc-text .highlight { background: rgba(20, 30, 50, 0.06); }
html.look-white .disclaimer-box { --line: rgba(20, 30, 50, 0.06); --line-strong: rgba(20, 30, 50, 0.18); }
html.look-white .quick-nav-group + .quick-nav-group { border-top-color: rgba(20, 30, 50, 0.08); }
html.look-white .explore-chips a { background: rgba(255, 255, 255, 0.85); color: var(--text); }
html.look-white .feed-skel,
html.look-white .qn-view-covers .qn-cover:not(.is-loaded) { background: linear-gradient(90deg, rgba(20, 30, 50, 0.04) 25%, rgba(20, 30, 50, 0.09) 50%, rgba(20, 30, 50, 0.04) 75%) 0 0 / 200% 100%; }
html.look-white .contact-form input[type="file"]::file-selector-button { border-color: rgba(20, 30, 50, 0.18); background: rgba(20, 30, 50, 0.05); }
html.look-white .qs-panel { box-shadow: 0 18px 40px rgba(20, 30, 50, 0.16); }

/* White text that sat on a card: make it the text colour */
html.look-white .essential-resources h2,
html.look-white .essential-resources h3,
html.look-white .essential-resources .resource-item a:hover,
html.look-white .essential-resources .resource-item:hover a,
html.look-white .link-card-title,
html.look-white .explore-link:hover,
html.look-white .explore-card:hover .explore-cta,
html.look-white .quick-nav-title,
html.look-white .quick-nav-links a:hover,
html.look-white .qn-view-list .quick-nav-links a:hover,
html.look-white .qn-view-covers .quick-nav-links a.is-current,
html.look-white .sb-step:hover:not(:disabled),
html.look-white .sb-item:hover,
html.look-white .sb-item.is-current,
html.look-white .fold-toggle:hover,
html.look-white .req-title,
html.look-white a.plat-badge:hover,
html.look-white .plat-chip:hover,
html.look-white .qn-clear:hover,
html.look-white .widget-title,
html.look-white .side-card-title,
html.look-white .feed-title,
html.look-white .a2hs-head h2,
html.look-white .a2hs-steps b,
html.look-white .th-btn:hover,
html.look-white .home-hero .hero-app:hover,
html.look-white .home-hero .hero-app:focus-visible,
html.look-white .home-hero .hero-app strong,
html.look-white .footer-share:hover,
html.look-white .updates-widget .view-more-btn:hover { color: var(--text); }
html.look-white .plat-chip[aria-pressed="true"] { color: var(--text); }
html.look-white .plat-chip[aria-pressed="true"] .tag-chip-count { background: rgba(20, 30, 50, 0.12); color: var(--text); }
html.look-white .sb-item.is-current { background: rgba(0, 98, 184, 0.1); }

/* Lightbox, slideshow and video stay dark: they frame pictures */
html.look-white .lightbox { color-scheme: dark; }
html.look-white footer.site { border-top-color: rgba(20, 30, 50, 0.12); }
html.look-white #backToTop { box-shadow: 0 8px 24px rgba(0, 98, 184, 0.3); }
html.look-white .scroll-progress { background: linear-gradient(90deg, #0062b8, #0a9fd6); box-shadow: none; }
html.look-white .logo img { filter: brightness(0.15); }
@media (max-width: 1000px) { html.look-white header.site { background: rgba(255, 255, 255, 0.98); } }
html.look-white .explore-link,
html.look-white .explore-link:hover { color: var(--text); text-shadow: 0 0 12px rgba(255, 255, 255, 0.9); }
html.look-white .explore-card p { color: var(--text-2); text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 2px rgba(255, 255, 255, 0.9); }
html.look-white .explore-card { background: radial-gradient(120% 120% at 100% 100%, rgba(0, 98, 184, 0.08), transparent 60%), linear-gradient(160deg, var(--panel-top), var(--panel-bottom)); }
html.look-white .explore-card::before { opacity: 0.4; }
html.look-white .explore-card:hover::before { opacity: 0.65; }

/* Sticky bars and page tools */
html.look-white .section-bar,
html.look-white .mp-toolbar { background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 20px rgba(20, 30, 50, 0.08); }
html.look-white .essential-resources .resources-intro,
html.look-white .resources-intro { color: var(--text-2); }
html.look-white .th-date,
html.look-white .wp-look[aria-checked="true"],
html.look-white .wp-chip[aria-pressed="true"],
html.look-white .wp-tab[aria-selected="true"],
html.look-white .wp-row summary:hover .wp-row-name,
html.look-white .sw-opt:hover,
html.look-white .sw-opt[aria-checked="true"],
html.look-white .sw-opt[aria-pressed="true"],
html.look-white .sw-btn:hover,
html.look-white .sw-num,
html.look-white .hc-look[aria-checked="true"],
html.look-white .tag-chip[aria-pressed="true"],
html.look-white .ec-chip:hover,
html.look-white .ec-chip[aria-pressed="true"],
html.look-white .ci-hit-name,
html.look-white .ci-chip:hover,
html.look-white .ci-chip[aria-pressed="true"],
html.look-white .gl-chip:hover,
html.look-white .gl-chip[aria-pressed="true"],
html.look-white .gl-az a:hover,
html.look-white .gl dfn,
html.look-white .xc-chip:hover,
html.look-white .xc-chip[aria-pressed="true"],
html.look-white .qn-view button:not([aria-pressed="true"]) { color: var(--text); }
html.look-white .tag-chip[aria-pressed="true"] .tag-chip-count,
html.look-white .ec-chip[aria-pressed="true"] .ec-chip-count,
html.look-white .ci-chip[aria-pressed="true"] .ci-count,
html.look-white .gl-chip[aria-pressed="true"] .gl-chip-count,
html.look-white .xc-chip[aria-pressed="true"] .xc-count { background: rgba(20, 30, 50, 0.1); color: var(--text); }
html.look-white .ec-code,
html.look-white .ci-models code,
html.look-white .ci-hit-region,
html.look-white .gl-cat,
html.look-white .xc-tag--psn { color: #0a4f96; }
html.look-white .cat-tile .tile-name { color: #fff; }
