/* Solaria Sky Circuit: approved concept 05. Scene first; the archive stays intact. */
@font-face{font-family:'Circuit Oxanium';font-style:normal;font-weight:200 800;font-display:swap;src:url('/fonts/oxanium-variable.ttf') format('truetype')}
@font-face{font-family:'Balthazar';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/balthazar-regular.ttf') format('truetype')}
:root{--bg:#0a111c;--panel:#111e2d;--panel2:#192739;--ink:#f6efdd;--muted:#b8c4d1;--accent:#dfc28b;--accent-deep:#9d263a;--line:#415063;--gold:#dec089;font-family:'DM Sans',sans-serif;font-size:16px}
body{background:radial-gradient(ellipse at 85% 0,#25394a 0,transparent 55%),#0a111c;color:var(--ink)}
body:before{display:none}
.circuit-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.circuit-brand,.circuit-heading,.circuit-spoiler-label{display:none}
.sidebar{background:linear-gradient(180deg,#111925f5,#080e18);border-color:#a78c5b70;box-shadow:none}
.midgard-wiki-brand{border-color:#b49a644d}
.side-label{color:#d7b97c;font-size:12px}
.side-link{font-size:14px;color:#c3ccda;min-height:42px}
.side-link:hover{background:#213147;color:#fff0cd}
.side-link.active{background:linear-gradient(90deg,#ac89402e,transparent);color:#f6dfb6;border-color:#c6a96b}
.topbar{background:#0c1420ed;border-color:#99815770}
.global-search .search-wrap{background:#111d2be0;border-color:#afbdcc77}
.global-search input{color:#f5f0e8;font-size:14px}
.global-search input::placeholder{color:#c9cdd3;opacity:1}
.top-links,.chapter-button{color:#e4d7ba}
.chapter-button{border-color:#b099665e;background:#142132}
.holo{background:linear-gradient(135deg,#182433ec,#0d1623f5);border-color:#8878528c;box-shadow:0 10px 28px #02081238}
.holo:before,.holo:after{border-color:#ba9b61}
.entry-card:hover{border-color:#dfbf7d;box-shadow:0 8px 30px #57d9ec15}
.card-image{background:#080f1b;border-color:#8c7b535e}
.card-image:after{background:linear-gradient(transparent 55%,#0913216e)}
.card-copy p,.editorial-panel p,.page-title p,.lede,.prose{color:#cbd3dc}
.card-copy p{font-size:14px;line-height:1.55}
.card-copy .type,.card-bottom,.gallery-card small,.eyebrow,.chapter-tag{color:#d0b987}
.card-copy .type,.card-bottom,.gallery-card small{font-size:12px}
.card-copy h3,.archive-cards .card-copy h3{font-size:1.3rem}
.gallery-card p{color:#c0cbd5;font-size:14px}
.section-head h2,.article-section h2,.article-heading h1{color:#f5e7c9}
.btn,.filter-tab{border-color:#8b7a5766;background:#111e2d;color:#e9dcc2;font-size:14px}
.btn.primary,.btn:hover,.filter-tab.active{border-color:#be9d66;background:#253448;color:#fff3d7}
.filter-tab:hover{background:#243449;border-color:#b79b65}
.prose{font-size:1rem;line-height:1.85}
.spoiler-toolbar,.spoiler-notice{background:#172233;border-color:#8c7a565c;color:#c7d0da}
.spoiler-toolbar strong{color:#e9d4a5}
.spoiler-toolbar small,.article-meta,.results-bar,.source-notes{font-size:12px}
.spoiler-cover{background:linear-gradient(150deg,#19283a,#080e19);border-color:#a28b59;color:#e9dfc9}
.spoiler-cover span{color:#b5c4d3}
.spoiler-cover small{border-color:#b69c656b;background:#213245;color:#fff0d2}
.search-suggestions,dialog{background:#0d1725;color:#f0e8d6;border-color:#a68e5d}
.search-suggestion:hover{background:#23364a}
.footer{border-color:#a18d604d;color:#aebccb}
.footer a{color:#ddc596}
.ending-setting{display:flex!important;align-items:flex-start;gap:10px;margin:20px 0 4px;font-size:14px;color:#ece0c6;line-height:1.5}
.ending-setting input{width:19px!important;height:19px;flex:0 0 19px;margin:2px 0 0!important;accent-color:#b59b64}
.ending-setting small{display:block;color:#adbdcd;font-size:12px;margin-top:3px}

/* The supplied picture is the page. Controls follow its existing lettering. */
.sky-home{background:#0a1320;min-width:0;overflow-x:clip}
.sky-home .footer{display:none!important}
.sky-home .layout{position:relative;width:100%;margin:0;box-shadow:none}
.sky-home #main,.sky-home .content{padding:0;margin:0;max-width:none;min-height:0}
.sky-home #topbar{position:absolute;inset:0 0 auto;z-index:60;display:block;width:100%;height:5.7vw;padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;pointer-events:none}
.sky-home #topbar>a,.sky-home #topbar>form,.sky-home #topbar>button{pointer-events:auto}
.sky-home .mobile-midgard-brand,.sky-home .top-links,.sky-home #topbar kbd,.sky-home .menu-button{display:none!important}
.sky-home .circuit-brand{position:absolute;left:3%;top:.25vw;width:20%;height:5.3vw;display:flex;align-items:center;gap:12px}
.sky-home .circuit-brand img,.sky-home .circuit-heading>*{opacity:0}
.circuit-brand .circuit-emblem{width:52px;height:auto;object-fit:contain;flex:none}
.circuit-brand .circuit-wordmark{width:235px;max-width:calc(100% - 60px);height:auto;object-fit:contain}
.sky-home .circuit-heading{position:absolute;left:39%;top:0;width:23%;height:4.7vw;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.circuit-heading>span{font:600 32px/1 'Cormorant Garamond',Georgia,serif;color:#f6efdd}
.circuit-heading>small{color:#dfc282;font:500 12px/1 'DM Sans',sans-serif;letter-spacing:.4em}
.sky-home #global-search{position:absolute;left:68.66%;top:1.38vw;width:17.7%;height:2.3vw;max-width:none;margin:0;min-width:0}
.sky-home #global-search .search-wrap{height:100%;min-height:0;gap:0;padding:0;border:0;border-radius:999px;background:transparent}
.sky-home #global-search .icon{width:15%;height:70%;opacity:0;flex:none}
.sky-home #global-query{padding:0 6px 0 0;width:82%;height:80%;min-width:0;font:400 max(14px,.91vw)/1.3 'DM Sans',sans-serif;color:#f4f2ed;background:transparent;border-radius:0 12px 12px 0}
.sky-home #global-query::placeholder{color:transparent}
.sky-home #global-query:focus,.sky-home #global-query:not(:placeholder-shown){background:#16232f;outline:0}
.sky-home #global-query:focus::placeholder{color:#e0e4e5}
.sky-home #global-search:focus-within .search-wrap{outline:2px solid #8ae5f7;outline-offset:2px}
.sky-home .chapter-button{position:absolute;left:88.6%;top:1.15vw;width:10.6%;height:2.7vw;display:flex;justify-content:center;align-items:center;margin:0;padding:0;min-height:32px;border:0;background:transparent;box-shadow:none}
.sky-home .chapter-button>.icon,.sky-home .chapter-regular{display:none}
.sky-home .circuit-spoiler-label{display:flex;align-items:center;gap:4px;padding:6px 3px;background:#172531;color:#f0eee8;font:500 max(14px,.9vw)/1.3 'DM Sans',sans-serif;white-space:nowrap}
.sky-home .circuit-spoiler-label>.icon{width:15px;height:15px;transform:rotate(90deg);stroke:#dfc06d;margin-left:6px}
.sky-home .search-suggestions{right:0;width:min(420px,calc(100vw - 24px));left:auto;top:calc(100% + 10px);max-height:65svh;overflow:auto;border-color:#b69c65;box-shadow:0 18px 40px #0009}
.sky-home .sidebar{display:none!important}
.sidebar{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.sidebar-settings{margin-top:8px}
.sidebar-settings .btn{width:100%;min-height:44px;text-align:left;justify-content:flex-start}
.circuit-viewport{width:100%;overflow:hidden}
.sky-circuit{position:relative;isolation:isolate;width:100%;aspect-ratio:1672/941;height:auto;min-height:0;overflow:hidden;background:#101925}
.sky-backdrop,.circuit-gates,.circuit-leads{position:absolute;inset:0;width:100%;height:100%;display:block}
.sky-backdrop{z-index:-1;pointer-events:none;overflow:hidden}
.sky-backdrop img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill}
.sky-backdrop .quote-edit{clip-path:polygon(91.4% 56.7%,100% 55.6%,100% 72.2%,90.4% 75.2%)}
.circuit-gates,.circuit-leads{pointer-events:none}
.circuit-gates{z-index:5}.circuit-leads{z-index:6}
.circuit-hit{position:absolute;transform:translate(-50%,-50%);display:block;min-height:44px;min-width:44px;border-radius:5px;pointer-events:auto;touch-action:pan-x pan-y pinch-zoom;outline-offset:3px;-webkit-tap-highlight-color:transparent}
.circuit-effects{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;pointer-events:none}
.sign-light{opacity:0;transition:opacity .2s ease-out}
.sign-light.is-lit{opacity:1}
.cloth-layer{opacity:0;filter:brightness(1);transition:filter .22s ease-out}
.cloth-layer.is-focused{filter:saturate(1.35)}
.circuit-hit:hover{background:none;box-shadow:none}
.circuit-hit.is-pressed{background:none;box-shadow:none}
.circuit-hit:focus-visible{outline:none;background:none;box-shadow:none}
.race-skip{position:absolute;top:-100px;left:12px;z-index:80;padding:12px;background:#0c1828;border:1px solid #dac594;color:#fff0ce}
.race-skip:focus{top:12px}
.ending-page .ending-section{margin:32px 0;padding:24px;border:1px solid #8b7a5766;border-radius:8px;background:#101d2c}
.ending-page .ending-section h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:32px;margin:0 0 20px}
.ending-page .ending-section h3{font-size:20px;margin:24px 0 12px}
.ending-page .ending-title small{display:block;font:400 14px/1.5 'DM Sans',sans-serif;color:#c9b890;margin-top:6px}
/* Keep the same stadium on phones. A native swipe reveals the full panorama;
   no added gates, cars, racing controls, or duplicate text. */
@media(max-width:1100px){
 .sky-home #topbar{position:relative;height:122px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:52px 44px;align-items:center;gap:6px 12px;padding:10px 14px;background:linear-gradient(125deg,#0b131d,#1b2a38);border-bottom:1px solid #c1a158;pointer-events:auto}
 .sky-home .circuit-brand{position:static;grid-column:1;grid-row:1;width:auto;height:100%;gap:8px;min-width:0}
 .sky-home .circuit-brand img,.sky-home .circuit-heading>*{opacity:1}
 .circuit-brand .circuit-emblem{width:30px}
 .circuit-brand .circuit-wordmark{width:170px;max-width:calc(100% - 38px)}
 .sky-home .circuit-heading{position:static;grid-column:2;grid-row:1;width:auto;height:100%;gap:4px}
 .circuit-heading>span{font-size:clamp(18px,4.7vw,30px)}
 .circuit-heading>small{font-size:12px;letter-spacing:.35em}
 .sky-home #global-search{position:relative;inset:auto;grid-column:1;grid-row:2;width:100%;height:40px}
 .sky-home #global-search .search-wrap{padding:0 10px;border:1px solid #b9c5cd;background:#152330;min-height:40px;gap:8px}
 .sky-home #global-search .icon{opacity:1;width:18px;height:18px;color:#ebf3f8}
 .sky-home #global-query{height:36px;flex:1;width:100%;font-size:16px;background:transparent!important;padding:0;border-radius:0}
 .sky-home #global-query::placeholder{color:#d3dce1}
 .sky-home .chapter-button{position:static;grid-column:2;grid-row:2;justify-self:end;width:auto;height:44px;min-width:44px;padding:0}
 .sky-home .circuit-spoiler-label{font-size:14px;background:transparent;padding:8px 0}
 .sky-home .search-suggestions{left:0;right:auto;width:min(420px,calc(100vw - 28px))}
 .circuit-viewport{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .sky-circuit{width:1200px;margin-top:-66.7464px}
 .ending-page .ending-section{padding:18px}
}
@media(prefers-reduced-motion:reduce){.sky-home *{scroll-behavior:auto!important}.sidebar,.sign-light,.cloth-layer{transition:none}}
@media(forced-colors:active){.circuit-effects{display:none}.circuit-hit:focus-visible{outline:3px solid Highlight}.circuit-hit{background:Canvas;color:LinkText;border:1px solid LinkText;display:flex;align-items:center;justify-content:center}.circuit-hit .circuit-sr-only{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;text-align:center;font-size:16px}.sky-backdrop{opacity:.15}.sky-home .circuit-brand img,.sky-home .circuit-heading>*{opacity:1}}
@media print{.sky-home .layout{max-width:100%;box-shadow:none}.sky-home #topbar{position:absolute}.circuit-hit:after{content:attr(aria-label);font-size:14px;background:white;color:black}}
