:root {
  color-scheme: dark;
  --bg: #0a1018;
  --surface: #121a24;
  --surface-2: #17212d;
  --surface-3: #1c2936;
  --line: #2b3944;
  --line-soft: #22313c;
  --text: #e9eceb;
  --subtle: #a6b2b8;
  --dim: #778891;
  --gold: #d5b17b;
  --gold-light: #f1d6a5;
  --cyan: #8fc8d2;
  --violet: #aa9ce3;
  --radius: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .58; }
::selection { color: #0a1018; background: var(--gold-light); }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 12px; background: var(--gold); color: #111; padding: 10px 15px; }
.skip-link:focus { top: 12px; }
.site-shell { width: min(100%, 1800px); margin: 0 auto; border-left: 1px solid #20303b; border-right: 1px solid #20303b; box-shadow: 0 10px 90px #0005; }

/* The shared, lightweight website frame. */
.site-header { min-height: 80px; position: relative; z-index: 10; display: flex; align-items: center; padding: 12px 28px 12px 23px; gap: 20px; background: linear-gradient(180deg,#15222b 0%,#101922 100%); border-bottom: 1px solid #41505a; }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg,transparent,#c6a77855 28%,transparent 80%); pointer-events:none; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-crest { flex: none; width: 51px; height: 55px; display: grid; place-items: center; clip-path: polygon(50% 0,95% 24%,95% 77%,50% 100%,5% 77%,5% 24%); background: #a68a63; position: relative; filter: drop-shadow(0 3px 8px #0a1018); }
.brand-crest::before { content: ""; position: absolute; inset: 3px; clip-path: inherit; background: linear-gradient(155deg,#2b3944,#0c1722 60%,#27323e); }
.brand-crest span { position: relative; font-family: Georgia, serif; font-weight: 900; font-size: 29px; line-height: 1; color: var(--gold-light); text-shadow: 0 0 10px #d1b27748; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.13; gap: 7px; }
.brand-wordmark strong { color: #f0e9da; font-family: Georgia, "Times New Roman", serif; font-size: 26px; letter-spacing: .17em; font-weight: 700; }
.brand-wordmark small { color: #bca88a; font-size: 10px; letter-spacing: .26em; font-weight: 700; white-space: nowrap; }
.header-spacer { flex: 1; }
.header-note { font-size: 11px; letter-spacing: .14em; font-weight: 700; color: #9caeb6; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.note-square { width: 7px; height: 7px; rotate: 45deg; background: #88b9c0; box-shadow: 0 0 0 3px #7aadb31c; }
.header-home { border: 1px solid #8b7960; color: var(--gold-light); border-radius: 5px; padding: 10px 15px; background: #1a2730; font-weight: 700; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
.header-home:hover { background: #243340; border-color: var(--gold); }
.mobile-menu { display: none; width: 40px; height: 40px; border-radius: 5px; background: #172530; border: 1px solid var(--line); padding: 8px; align-items: center; justify-content: center; }
.mobile-menu svg { width: 22px; height: 22px; stroke: var(--gold-light); stroke-width: 2; fill: none; }

.workspace { display: grid; grid-template-columns: 272px minmax(0,1fr) 220px; min-height: 735px; background: radial-gradient(ellipse at 53% 2%,#1d2b34 0%,#111923 45%,#0e151e 100%); }
.nav-panel { padding: 28px 12px 20px; border-right: 1px solid #30404c; background: linear-gradient(160deg,#121c26,#111922 56%,#0f1720); display: flex; flex-direction: column; min-width: 0; }
.panel-eyebrow { color: #b29e7c; font-size: 11px; font-weight: 800; letter-spacing: .21em; display: flex; align-items: center; gap: 9px; padding: 0 13px 17px; white-space: nowrap; }
.tiny-diamond { display: block; width: 7px; height: 7px; transform: rotate(45deg); background: #c6aa7d; }
.eyebrow-rule { height: 1px; flex: 1; min-width: 8px; background: linear-gradient(90deg,#76695266,transparent); }
.tree-group { margin: 1px 0; }
.tree-row { display: flex; align-items: stretch; border-radius: 6px; border: 1px solid transparent; min-height: 41px; position: relative; }
.tree-row:hover { background: #22313c99; }
.tree-row.active { border-color: #75664e; background: linear-gradient(90deg,#3b342953,#1d2a35 85%); }
.tree-row.active::before { content:""; position:absolute; top:7px; bottom:7px; left:0; width:3px; border-radius:3px; background:var(--gold); }
.tree-link { flex: 1; display:flex; align-items:center; gap:10px; font-size: 13px; font-weight: 600; color:#b9c6ca; padding: 9px 2px 9px 12px; min-width:0; }
.tree-row.active .tree-link { color:#f1d7a6; }
.tree-icon { display: grid; place-items:center; flex: none; width:19px; height:19px; color:#8db8bf; }
.tree-icon svg { width:18px; height:18px; }
.tree-label { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.tree-toggle { border: 0; background: transparent; display:grid;place-items:center;width:28px; flex:none; cursor:pointer; color:#91a4ac; padding:0; }
.tree-toggle:hover { color:var(--gold-light); }
.tree-toggle .chevron { width:14px;height:14px; stroke:currentColor;stroke-width:2;fill:none;transition:transform .15s ease; }
.tree-toggle[aria-expanded="true"] .chevron { transform:rotate(90deg); }
.tree-children { position: relative; margin-left: 21px; padding-left: 7px; border-left: 1px solid #33434d; }
.nav-footer { margin-top:auto; border-top: 1px solid #33434d; padding: 23px 8px 3px; display:flex; gap:12px; }
.nav-footer-icon { width:31px;height:31px;display:grid;place-items:center;border-radius:5px;border:1px solid #5d604f;color:var(--gold);background:#1e2a2e;flex:none; }
.nav-footer strong { display:block;color:#d0c5b1;font-size:12px;line-height:1.4;margin-bottom:5px; }
.nav-footer span { color:#8fa0a8;font-size:11px;line-height:1.5;display:block; }
.mobile-backdrop { display:none; }

.content-panel { min-width:0; padding: 24px clamp(20px,3.2vw,48px) 58px; }
.content-topline { display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid #31414b;padding-bottom:17px;min-height:35px;margin-bottom:35px; }
#breadcrumbs { display:flex;flex-wrap:wrap;align-items:center;gap:8px; color:#97a9b2;font-size:12px; }
#breadcrumbs a:hover { color:var(--gold-light); }
#breadcrumbs .crumb-current { color:#ddc093;font-weight:700; }
.crumb-separator { color:#60737e; }
.view-indicator { display:flex;gap:7px;align-items:center; font-size:10px;font-weight:700;letter-spacing:.12em;color:#748b98;white-space:nowrap; }
.view-indicator-icon { font-size:19px;line-height:1; }
.page-eyebrow { color:var(--gold);font-weight:800;font-size:11px;letter-spacing:.2em;text-transform:uppercase;display:flex;align-items:center;gap:10px;margin:0 0 13px; }
.page-eyebrow::before { content:"";background:#a99570;width:16px;height:1px; }
h1, h2, h3, p { margin-top:0; }
h1, h2, h3 { font-family:Georgia,"Times New Roman",serif;letter-spacing:-.02em; }
h1 { font-size:clamp(30px,3.2vw,47px);line-height:1.13;margin-bottom:18px;color:#f3eee3;font-weight:600; }
h2 { font-size:clamp(24px,2.1vw,31px);line-height:1.23;color:#efe9df;font-weight:600; }
h3 { font-size:20px;line-height:1.3;color:#ecdfce;font-weight:600; }
.lead { font-size:16px;line-height:1.8;color:#b8c5c9;max-width:790px; }
.subtle { color:var(--subtle); }
.section-heading { display:flex;align-items:center;gap:14px;margin:39px 0 18px; }
.section-heading h2 { font-size:24px;margin:0; }
.section-rule { height:1px;background:linear-gradient(90deg,#59605c,transparent);flex:1; }
.section-caption { font-size:11px;color:#8eaaac;letter-spacing:.12em;font-weight:700;white-space:nowrap; }

/* Homepage feature: an art-directed, static CSS panel, no video or particle library. */
.hero { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(220px,.83fr);overflow:hidden;min-height:340px;border:1px solid #46515a;border-radius:var(--radius);background:linear-gradient(125deg,#18252f 0%,#121e2a 50%,#242938 100%);position:relative; }
.hero::before { content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 45%,#76858b27,transparent 42%),linear-gradient(transparent 96%,#c4a67515 97%);background-size:auto,100% 33px;pointer-events:none; }
.hero-copy { padding:39px 0 34px clamp(24px,3.1vw,43px);position:relative;z-index:1; }
.hero-mini { display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.18em;font-weight:800;color:#d7be96;margin-bottom:23px; }
.hero-mini::before { content:"";width:7px;height:7px;border:1px solid #dfba82;transform:rotate(45deg); }
.hero h1 { font-size:clamp(30px,3.2vw,48px);line-height:1.11;max-width:580px; }
.hero p { color:#b4c3c8;max-width:485px;font-size:14px;line-height:1.75;margin-bottom:25px; }
.hero-actions,.detail-actions { display:flex;align-items:center;flex-wrap:wrap;gap:11px; }
.button { appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:11px 17px;border-radius:5px;border:1px solid #667985;background:#23333e;color:#e5eced;cursor:pointer;font-size:12px;line-height:1.3;font-weight:800;letter-spacing:.08em; }
.button:hover:not(:disabled) { background:#30434d;border-color:#a7c3c8; }
.button-primary { color:#1b2020;background:linear-gradient(180deg,#e7c994,#caa36b);border-color:#efd6aa; }
.button-primary:hover:not(:disabled) { background:#f0d4a7;border-color:#ffe0ad; }
.button-quiet { background:#1b2836b8;color:#d7e0e4;border-color:#586976; }
.hero-art { position:relative;display:grid;place-items:center;min-height:310px;overflow:hidden; }
.hero-art::before { content:"";position:absolute;width:360px;height:360px;border:1px solid #d6b98541;border-radius:50%;box-shadow:0 0 0 28px #8798b009,0 0 0 57px #8cc5d009,0 0 75px #778e9d18;transform:rotate(-16deg); }
.hero-art::after { content:"";position:absolute;inset:10% 4%;border-top:1px solid #d2b27e26;border-bottom:1px solid #d2b27e22;clip-path:polygon(0 12%,80% 0,100% 30%,100% 70%,20% 100%,0 80%);pointer-events:none; }
.hero-seal { position:relative;width:190px;height:212px;clip-path:polygon(50% 0,93% 21%,93% 75%,50% 100%,7% 75%,7% 21%);background:linear-gradient(140deg,#c5a87d,#35454f 30%,#d1b282 62%,#536875);display:grid;place-items:center;filter:drop-shadow(0 14px 20px #0008); }
.hero-seal::before { content:"";position:absolute;inset:5px;clip-path:inherit;background:radial-gradient(circle at 50% 45%,#2c4052,#121d2b 60%,#192732); }
.hero-seal::after { content:"";position:absolute;inset:17px;clip-path:inherit;border:1px solid #b49c7955; }
.hero-seal span { position:relative;font-family:Georgia,serif;font-size:106px;font-weight:800;color:#d5bc8d;text-shadow:0 3px 0 #3c4553,0 0 35px #98abc038;line-height:1; }
.hero-orbit-label { position:absolute;bottom:18px;right:22px;font-size:10px;font-weight:700;letter-spacing:.16em;color:#a4bec3; }
.feature-switcher { display:flex;gap:9px;align-items:center;justify-content:flex-end;margin-top:15px;color:#9daeb8; }
.switcher-label { font-size:11px;font-weight:700;letter-spacing:.13em;margin-right:auto; }
.switcher-dot { width:19px;height:8px;border:1px solid #6d818a;border-radius:7px;cursor:pointer;background:#24333e; }
.switcher-dot.active { width:31px;border-color:#cfab7e;background:#caa873; }
.switcher-control { border:1px solid #455966;color:#c0d0d5;background:#1b2834;border-radius:5px;cursor:pointer;font-size:14px;width:29px;height:27px;display:grid;place-items:center; }
.switcher-control:hover { border-color:#cab080;color:#f3d7a7; }

.intro-summary { margin: 30px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.summary-item { border:1px solid #30434e;border-radius:7px;padding:16px 17px;background:#15222ba3;min-width:0; }
.summary-item strong { display:block;color:#e8dbc4;font-size:13px;margin-bottom:4px; }
.summary-item span { display:block;color:#95a8af;font-size:12px;line-height:1.5; }

/* Explorer-style tiles. */
.tile-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:15px;align-items:stretch; }
.tile { min-width:0;background:linear-gradient(145deg,#1b2934 0%,#16222d 100%);border:1px solid #394a56;border-radius:9px;display:flex;flex-direction:column;align-items:center;gap:0;padding:28px 20px 23px;text-align:center;position:relative;transition:border-color .13s ease,background .13s ease; }
.tile:hover { border-color:#b79a70;background:linear-gradient(145deg,#273743,#1a2934); }
.tile:focus-visible { outline-offset:3px; }
.tile-icon { height:94px;width:108px;display:grid;place-items:center;position:relative;margin-bottom:16px; }
.tile-icon::before { content:"";position:absolute;width:87px;height:87px;background:radial-gradient(circle,#a1bdd017,#0000 72%);border:1px solid #63778125;border-radius:50%; }
.tile-icon svg { width:85px;height:85px;position:relative;filter:drop-shadow(0 7px 7px #0007); }
.tile-icon.folder { color:#d3b37f; }
.tile-icon.game { color:#c5a97e; }
.tile-icon.frost { color:#8bc6e0; }
.tile-icon.spell { color:#b4a1eb; }
.tile-icon.guide { color:#a9c6c8; }
.tile h3 { margin:0 0 8px;font-family:"Segoe UI",Tahoma,sans-serif;font-size:17px;line-height:1.4;font-weight:700;color:#e9e5dc; }
.tile p { color:#a2b2b8;font-size:12px;line-height:1.65;margin:0 0 11px;max-width:320px; }
.tile small { color:#c7b18f;font-size:10px;letter-spacing:.13em;font-weight:800;margin-top:auto;padding-top:7px; }
.folder-description { max-width:750px;margin:0 0 29px; }
.folder-crumb { color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.15em;margin-bottom:11px; }
.empty-hint { margin-top:28px;padding:15px 18px;border-left:2px solid #9b896b;background:#1a2731;color:#aebbbd;font-size:13px; }

/* Product and guide detail views. */
.detail-header { display:grid;grid-template-columns:110px minmax(0,1fr);gap:22px;align-items:center;border-bottom:1px solid #35434d;padding-bottom:25px;margin-bottom:26px; }
.detail-header .tile-icon { margin:0;width:110px;height:110px; }
.detail-header .tile-icon svg { width:99px;height:99px; }
.detail-header h1 { font-size:clamp(29px,2.8vw,41px);margin-bottom:8px; }
.detail-header p { font-size:14px;line-height:1.7;color:#b0c0c5;margin:0; }
.status-line { display:flex;flex-wrap:wrap;gap:9px;margin:17px 0 23px; }
.status-chip { display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.07em;border:1px solid #4d646a;color:#bbd5d7;border-radius:5px;padding:6px 10px;background:#1a3034; }
.status-chip.gold { color:#e4c496;border-color:#75644c;background:#2a2924; }
.status-chip.violet { color:#c4b8f3;border-color:#635c82;background:#27283c; }
.detail-panel { border:1px solid #344550;border-radius:9px;background:#182530b5;padding:22px 25px;margin:19px 0; }
.detail-panel h2 { font-size:21px;margin:0 0 13px; }
.detail-panel p { color:#b1bec3;font-size:14px;line-height:1.8;margin-bottom:0; }
.feature-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 20px;list-style:none;margin:0;padding:0; }
.feature-list li { color:#c5d1d4;font-size:13px;line-height:1.6;position:relative;padding-left:18px; }
.feature-list li::before { content:"✦";position:absolute;left:0;color:#bea477;font-size:10px;top:3px; }
.release-box { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;border:1px solid #5d5c4b;background:linear-gradient(120deg,#262f32,#1a2b35);padding:20px 22px;border-radius:8px;margin-top:18px; }
.release-box h3 { margin:0 0 5px;font-family:"Segoe UI",Tahoma,sans-serif;font-size:16px; }
.release-box p { font-size:12px;color:#aab9bb;margin:0;max-width:420px; }
.link-pending { cursor:default;background:#29323b;color:#a8b0af;border-color:#53606a; }
.guide-note { margin-top:16px;border:1px solid #394953;padding:15px 18px;background:#15232b;border-radius:6px;font-size:13px;color:#aabcc2; }
.guide-steps { counter-reset:guides;list-style:none;margin:0;padding:0;display:grid;gap:12px; }
.guide-steps li { counter-increment:guides;display:flex;gap:14px;align-items:flex-start;background:#172530;border:1px solid #354650;border-radius:7px;padding:16px; color:#bfccd0;font-size:13px; }
.guide-steps li::before { content:counter(guides,decimal-leading-zero);background:#2c3536;border:1px solid #615a4b;border-radius:4px;color:var(--gold);font-weight:800;font-size:12px;line-height:1;flex:none;padding:9px; }
.guide-steps strong { display:block;color:#eee2ce;margin-bottom:4px; }
.video-placeholder { display:flex;align-items:center;gap:19px;background:#111c26;border:1px dashed #50616b;padding:19px 20px;border-radius:8px;color:#a9babd; }
.play-square { display:grid;place-items:center;width:75px;height:52px;border:1px solid #6a7171;border-radius:7px;background:#25323b;flex:none;color:#d8c19a;font-size:21px; }
.video-placeholder strong { display:block;color:#e3dfd5;font-size:14px;margin-bottom:4px; }
.video-placeholder p { font-size:12px;margin:0; }
.announcement-list { display:grid;gap:11px; }
.announcement { display:grid;grid-template-columns:115px minmax(0,1fr);gap:19px;padding:18px 19px;border:1px solid #35444e;background:#18252e;border-radius:7px; }
.announcement time,.announcement .ann-time { color:#bca27c;font-size:11px;font-weight:800;letter-spacing:.11em; }
.announcement h3 { font-size:15px;font-family:"Segoe UI",sans-serif;font-weight:700;margin:0 0 5px; }
.announcement p { font-size:12px;color:#9dadb4;line-height:1.65;margin:0; }
.about-callout { border-left:2px solid var(--gold);padding:4px 0 4px 19px;margin:29px 0;color:#cbd2d0;font-family:Georgia,serif;font-size:23px;line-height:1.5; }

/* Ad placeholders are deliberately quiet and reserved for later provider integration. */
.sponsor-panel { border-left:1px solid #30404c;padding:28px 15px;background:linear-gradient(155deg,#141e28,#101821);display:flex;flex-direction:column;align-items:center; }
.sponsor-panel .panel-eyebrow { width:100%;padding:0 7px 20px; }
.ad-unit { border:1px solid #4a5d64;position:relative;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(-45deg,#17232d,#17232d 16px,#192630 16px,#192630 32px);color:#8da1aa; }
.ad-vertical { width:160px;min-height:600px;flex-direction:column;gap:15px;text-align:center; }
.ad-placeholder-symbol { color:#7d9798;font-family:Georgia,serif;font-size:45px;line-height:1;opacity:.65; }
.ad-placeholder-label { display:block;font-size:10px;letter-spacing:.17em;font-weight:800;color:#adc1c7; }
.ad-placeholder-size { display:block;font-size:13px;letter-spacing:.07em;font-weight:700;color:#8d9fa9; }
.ad-placeholder-muted { display:block;font-size:11px;color:#798c96; }
.ad-corner { position:absolute;width:12px;height:12px;border-color:#b39a73; }
.ad-corner-tl { top:-1px;left:-1px;border-left:2px solid;border-top:2px solid; }
.ad-corner-tr { top:-1px;right:-1px;border-right:2px solid;border-top:2px solid; }
.ad-corner-bl { bottom:-1px;left:-1px;border-left:2px solid;border-bottom:2px solid; }
.ad-corner-br { bottom:-1px;right:-1px;border-right:2px solid;border-bottom:2px solid; }
.sponsor-footnote { padding:17px 5px;text-align:center;max-width:170px;color:#778c94;font-size:10px;line-height:1.5; }
.bottom-region { border-top:1px solid #3d4b54;background:#101922;padding:25px 30px 0; }
.ad-horizontal { width:min(100%,728px);min-height:90px;margin:0 auto 30px;gap:20px;justify-content:space-around;padding:13px 25px;border-color:#465863; }
.ad-horizontal .ad-placeholder-symbol { font-size:30px; }
.ad-horizontal .ad-placeholder-size { font-size:12px; }
.site-footer { border-top:1px solid #2d3c47;min-height:75px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 3px; }
.footer-brand { display:flex;align-items:center;gap:10px;font-family:Georgia,serif;color:#dac8a8;letter-spacing:.08em;font-weight:700;font-size:14px; }
.footer-mark { width:27px;height:27px;display:grid;place-items:center;border:1px solid #887450;color:#e4c695;background:#1c2a33;border-radius:5px; }
.footer-brand small { display:block;font-family:"Segoe UI",sans-serif;color:#78909a;font-size:10px;letter-spacing:.11em;margin-top:2px; }
.footer-links { display:flex;gap:17px;flex-wrap:wrap;font-size:12px;align-items:center;color:#a7b6bd; }
.footer-links a:hover { color:var(--gold-light); }
.footer-pending { color:#617780; }

@media(max-width:1240px) {
  .workspace { grid-template-columns:247px minmax(0,1fr) 192px; }
  .sponsor-panel { padding-left:10px;padding-right:10px; }
  .header-note { display:none; }
  .hero { grid-template-columns:1.2fr .7fr; }
  .hero-seal { width:153px;height:174px; }
  .hero-seal span { font-size:84px; }
  .hero-art::before { width:270px;height:270px; }
}
@media(max-width:1020px) {
  .workspace { grid-template-columns:245px minmax(0,1fr); }
  .sponsor-panel { display:none; }
  .content-panel { padding:24px 28px 48px; }
  .ad-horizontal { margin-bottom:23px; }
}
@media(max-width:740px) {
  .site-header { padding:12px 15px;gap:10px;min-height:70px; }
  .brand-crest { width:40px;height:45px; }
  .brand-crest span { font-size:24px; }
  .brand-wordmark strong { font-size:21px; }
  .brand-wordmark small { font-size:8px;letter-spacing:.13em; }
  .header-home { display:none; }
  .mobile-menu { display:flex; }
  .workspace { display:block;min-height:70vh; }
  .nav-panel { position:fixed;z-index:25;left:0;top:0;bottom:0;width:min(290px,88vw);transform:translateX(-105%);transition:transform .16s ease;box-shadow:10px 0 24px #0008;overflow:auto; }
  .site-shell.menu-open .nav-panel { transform:translateX(0); }
  .mobile-backdrop[hidden] { display:none; }
  .site-shell.menu-open .mobile-backdrop { display:block;position:fixed;inset:0;z-index:20;background:#04080cca; }
  .content-panel { padding:19px 18px 44px; }
  .content-topline { margin-bottom:25px; }
  .view-indicator { display:none; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { padding:30px 25px 4px; }
  .hero-art { min-height:200px; }
  .hero-art::before { width:230px;height:230px; }
  .hero-seal { width:110px;height:130px; }
  .hero-seal span { font-size:65px; }
  .hero-orbit-label { bottom:12px;right:16px; }
  .intro-summary { grid-template-columns:1fr; }
  .tile-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
  .tile { padding:17px 10px 16px; }
  .tile-icon { transform:scale(.82);height:78px;margin-bottom:4px; }
  .tile h3 { font-size:14px; }
  .tile p { font-size:11px; }
  .detail-header { grid-template-columns:75px minmax(0,1fr);gap:12px; }
  .detail-header .tile-icon { transform:scale(.68);transform-origin:left center;width:75px; }
  .detail-header h1 { font-size:27px; }
  .feature-list { grid-template-columns:1fr; }
  .bottom-region { padding:20px 16px 0; }
  .site-footer { flex-direction:column;align-items:flex-start;gap:15px; }
  .announcement { grid-template-columns:1fr;gap:5px; }
}
@media(max-width:420px) {
  .brand { gap:9px; }
  .brand-wordmark strong { font-size:19px;letter-spacing:.11em; }
  .tile-grid { grid-template-columns:1fr; }
  .tile { padding:22px 15px; }
  .ad-horizontal { gap:10px;padding:10px; }
  .ad-horizontal .ad-placeholder-symbol { display:none; }
  .ad-horizontal .ad-placeholder-size { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important; } }

/* Zugbonk identity: the wise professor is the crest, never a letter Z. */
.brand-crest { width:57px;height:57px;border-radius:50%;clip-path:none;overflow:hidden;background:#263b4e;border:2px solid #b3a17f;box-shadow:0 0 0 3px #172535; }
.brand-crest::before { display:none; }
.brand-crest img { display:block;object-fit:cover;width:100%;height:100%; }
.footer-mark { border-radius:50%;object-fit:cover;border:1px solid #887450;background:#223540; }

/* A quiet illustrated centerpiece, with contrast deliberately retained for text. */
.hero { min-height:380px;grid-template-columns:minmax(0,1.3fr) minmax(170px,.7fr);background-image:linear-gradient(90deg,#0c1625f2 0%,#142236cf 44%,#14233420 100%),url('/assets/workshop.webp');background-size:cover;background-position:center; }
.hero::before { background:linear-gradient(180deg,#07111b12,#09131d73);background-size:auto; }
.hero-copy { padding-top:42px;padding-bottom:42px; }
.hero h1 { text-shadow:0 2px 18px #050d14; }
.hero p { color:#e0e8e8;text-shadow:0 1px 10px #07121a; }
.hero-mini { color:#f1cf9c; }
.hero-art::before,.hero-art::after { display:none; }
.hero-orbit-label { background:#101e2aca;border:1px solid #87928f99;border-radius:5px;padding:7px 11px;color:#e9dfc9; }
.button { border-radius:6px;letter-spacing:.045em;transition:background .12s ease,border-color .12s ease; }
.button:active:not(:disabled) { transform:translateY(1px); }

/* Project artwork lives in each project's introduction only; the rest stays readable. */
.project-cover { position:relative;min-height:245px;overflow:hidden;align-content:center;padding:35px 28px;border:1px solid #53728a;border-radius:10px;margin-bottom:24px;background-size:cover;background-position:center;isolation:isolate; }
.project-cover::before { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071625f7 0%,#091b2ce3 52%,#0a17234c 100%); }
.project-cover.companion-cover { background-image:url('/assets/companion-background.webp'); }
.project-cover.spell-cover { background-image:url('/assets/spelllab-background.webp'); }
.project-cover h1 { font-size:clamp(28px,2.65vw,41px);text-shadow:0 2px 14px #020912; }
.project-cover p { max-width:580px;color:#e1edf4;text-shadow:0 1px 10px #020912; }
.project-cover .tile-icon { background:#172939c2;border-radius:8px;border:1px solid #57758a82; }

/* Gallery scales from a single thumbnail to a full collection without hand-tuning. */
.screenshot-gallery { display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:15px; }
.screenshot-item { min-width:0;padding:0;text-align:left;overflow:hidden;border-radius:8px;border:1px solid #435b68;background:#192a36;cursor:zoom-in; }
.screenshot-item:hover { border-color:#dcc18c;background:#233541; }
.screenshot-frame { display:grid;place-items:center;height:160px;background:#0a121b;overflow:hidden; }
.screenshot-frame img { display:block;width:100%;height:100%;object-fit:contain; }
.screenshot-caption { display:block;padding:11px 13px;color:#d7e0e1;font-size:12px;line-height:1.4;overflow-wrap:anywhere; }
.gallery-empty { display:flex;align-items:center;gap:21px;padding:23px 25px;border-radius:9px;border:1px dashed #536b77;background:linear-gradient(90deg,#172a37,#15212d);color:#a8bfca; }
.gallery-empty-icon { font-size:37px;color:#84a7b9; }
.gallery-empty strong { display:block;color:#e6e0d7;margin-bottom:4px;font-size:15px; }
.gallery-empty p { margin:0;font-size:12px;line-height:1.65;max-width:580px; }

/* Simple control-strip footer and accessible native dialogs. */
.footer-links { gap:8px; }
.footer-links > a,.footer-links > button,.footer-links #footer-social-links a { border:1px solid #536370;background:#1b2935;color:#cbd8df;border-radius:5px;padding:9px 12px;font-size:12px;white-space:nowrap;cursor:pointer; }
.footer-links > a:hover,.footer-links > button:hover,.footer-links #footer-social-links a:hover { background:#2a3b48;color:#f6ddb1;border-color:#bca17b; }
#footer-social-links { display:flex;gap:8px;flex-wrap:wrap; }
.site-dialog { width:min(560px,calc(100vw - 30px));max-height:min(90vh,900px);overflow:auto;border-radius:12px;border:1px solid #71818a;background:linear-gradient(145deg,#1a2b39,#101c28);color:#e8e7df;padding:0;box-shadow:0 24px 80px #000c; }
.site-dialog::backdrop { background:#030910d8;backdrop-filter:blur(3px); }
.dialog-top { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px;border-bottom:1px solid #43545e; }
.dialog-top h2 { margin:0;font-size:24px; }
.dialog-close { flex:none;display:grid;place-items:center;width:32px;height:32px;background:#263a47;border:1px solid #657a82;border-radius:6px;font-size:21px;cursor:pointer; }
.dialog-close:hover { background:#3a5262; }
#info-dialog-body { padding:22px; }
.dialog-intro { color:#b8c8ce;font-size:14px;margin:0 0 18px; }
.modal-rows { display:grid;gap:9px; }
.modal-row { display:flex;align-items:center;gap:13px;padding:12px;border:1px solid #435661;background:#142533;border-radius:7px; }
.row-icon { display:grid;place-items:center;flex:none;width:39px;height:39px;border:1px solid #617882;border-radius:7px;background:#243848;color:#d7bd8e;overflow:hidden; }
.row-icon img { display:block;width:100%;height:100%;object-fit:contain; }
.row-copy { display:grid;gap:1px;min-width:0;flex:1;overflow-wrap:anywhere;font-size:13px; }
.row-copy strong { color:#e9e6dc; }
.row-copy span,.row-copy a { color:#adc5d3; }
.row-copy a:hover { text-decoration:underline; }
.qr-button { border:1px solid #7e7a68;border-radius:5px;background:#2a353c;color:#e8d3ae;padding:9px 11px;font-weight:700;font-size:12px;cursor:pointer; }
.qr-button:hover { background:#364857; }
.modal-empty { padding:22px;border:1px dashed #52646e;border-radius:7px;color:#aab9c3;font-size:13px; }
.qr-view { text-align:center; }
.qr-view img { width:min(100%,340px);max-height:360px;object-fit:contain;border-radius:8px;background:white;padding:10px; }
.qr-view p { color:#b3c0cb;font-size:13px;margin:12px 0 19px; }
.screenshot-lightbox { margin:0;text-align:center; }
.screenshot-lightbox img { display:block;width:100%;max-height:70vh;object-fit:contain;background:#050e17;border-radius:6px; }
.screenshot-lightbox figcaption { color:#c4d2d7;font-size:12px;padding:12px; }
.site-dialog:has(.screenshot-lightbox) { width:min(1100px,calc(100vw - 30px)); }

/* Partner and sponsor directories; logos and descriptions flow automatically. */
.directory-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px; }
.directory-card { display:flex;align-items:flex-start;gap:16px;min-width:0;padding:21px;background:linear-gradient(135deg,#1d2e3c,#14222d);border:1px solid #465c68;border-radius:10px; }
.directory-icon { display:grid;place-items:center;flex:none;width:68px;height:68px;border:1px solid #566f7a;border-radius:9px;background:#112230;color:#ccb37b;font-size:29px;overflow:hidden; }
.directory-icon img { width:100%;height:100%;object-fit:contain; }
.directory-copy { min-width:0;flex:1; }
.directory-copy h2 { font-family:"Segoe UI",Tahoma,sans-serif;font-size:18px;font-weight:700;overflow-wrap:anywhere;margin:0 0 8px; }
.directory-copy p { color:#b5c8cc;font-size:13px;line-height:1.65;overflow-wrap:anywhere;margin-bottom:17px;white-space:pre-wrap; }
.directory-copy .button { min-height:36px;padding:8px 12px;font-size:11px; }

/* Keep both ad positions on all routes, including smaller screens. On mobile,
   the former right-side unit is placed below page content to avoid overlap. */
@media(max-width:1020px) {
  .sponsor-panel { display:flex;grid-column:2;border-left:0;border-top:1px solid #30404c;padding:18px 14px; }
  .ad-vertical { min-height:250px;width:min(100%,340px); }
}

@media(max-width:740px) {
  .sponsor-panel { width:100%;border-top:1px solid #30404c; }
  .ad-vertical { min-height:180px; }
  .brand-crest { width:42px;height:42px; }
  .hero { grid-template-columns:1fr;background-position:65% center;min-height:350px; }
  .hero-copy { padding:30px 25px; }
  .hero-art { min-height:0; }
  .hero-orbit-label { bottom:9px;right:9px; }
  .project-cover { min-height:230px;padding:20px 15px;grid-template-columns:65px 1fr;gap:12px; }
  .gallery-empty { gap:12px;padding:16px; }
  .gallery-empty-icon { font-size:28px; }
  .site-dialog { width:calc(100vw - 18px); }
  #info-dialog-body { padding:15px; }
}
