@font-face{font-family:SkyrimStudy;src:url(/sky-ai/skyrim-v1/roboto-condensed.ttf) format("truetype");font-display:swap}@font-face{font-family:Thai;src:url(/sky-ai/fonts/noto-sans-thai-400.woff2) format("woff2");font-display:swap}:root{font-family:SkyrimStudy,Thai,sans-serif;color:#e6edf5;background:#020307;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button{min-height:44px;padding:8px 12px;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.kbd button:focus-visible,.kbd a:focus-visible{outline:2px solid #e0e9ff;outline-offset:3px}button:focus-visible,a:focus-visible{outline:none}[hidden]{display:none!important}#skills{position:relative;isolation:isolate;height:100dvh;min-height:650px;overflow:hidden;background:#010307}#sky{position:absolute;inset:0;touch-action:none}#sky canvas{display:block;width:100%;height:100%}.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,transparent 28%,#0003 60%,#000a 100%),linear-gradient(#0009,transparent 17%,transparent 67%,#000b)}.login-gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse,#15263b,#02040a 60%);text-align:center}.login-gate h1{margin:0;font-size:64px;font-weight:400;letter-spacing:.15em}.login-gate p{color:#b6c3d4}.login-gate button{min-width:220px;border:1px solid #b8c3d3}.character-hud{position:absolute;z-index:3;top:24px;left:3%;right:3%;display:flex;justify-content:space-between;font-size:15px;pointer-events:none}.perk-count{position:absolute;z-index:3;top:84px;left:50%;transform:translate(-50%);color:#8fabc6;font-size:13px;white-space:nowrap}.constellation-controller{position:absolute;z-index:5;top:20px;left:18%;right:18%}.constellation-heading{display:none}#constellation-options{position:relative;height:64px;overflow:clip;touch-action:pan-y}.constellation-option{position:absolute;top:6px;left:50%;width:180px;min-height:48px;transform:translate(calc(-50% + var(--slot)*200px));opacity:.48;font-size:18px;text-align:center;transition:transform .18s ease-out,opacity .18s ease-out}.constellation-option[aria-pressed=true]{opacity:1;transform:translate(-50%) scale(1.08);color:#fff;text-shadow:0 0 12px #9ecbff66}.exit-link{position:absolute;z-index:5;top:100px;left:18px;color:#d6e2ed}.selection{position:absolute;z-index:3;inset:0;pointer-events:none}.selection.is-dissolved{transform:none}.skill-wheel{position:absolute;left:0;right:0;top:122px;bottom:96px;overflow:hidden;pointer-events:auto;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.skill-wheel.is-dragging{cursor:grabbing}.wheel-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}#skill-options{position:absolute;inset:0}.wheel-item{position:absolute;left:0;top:0;padding:0;min-height:0;transform-origin:50% 50%;will-change:transform,opacity;color:#dbe5f0;text-align:center;touch-action:none}.wheel-art{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.wheel-name{transform-origin:50% 0;position:absolute;left:50%;top:100%;width:min(560px,max(190px,150%));margin-top:4px;transform:translateX(-50%);font-size:28px;line-height:1.3;text-align:center;text-wrap:balance;overflow-wrap:anywhere;pointer-events:none}.wheel-item.is-center{color:#fff}.wheel-item.is-center .wheel-name{text-shadow:0 0 12px #9ecbff66}.wheel-item:not(:disabled){cursor:pointer}.wheel-item:disabled{cursor:default}.wheel-item:disabled .wheel-art{opacity:.4}.wheel-item:disabled .wheel-name{opacity:.6}.bottom-hud{position:absolute;z-index:3;right:0;bottom:0;left:0;padding:12px 28px 9px;background:linear-gradient(transparent,#040508d9 34%)}.controls{display:flex;align-items:center;justify-content:center;gap:15px;min-height:44px;color:#aeb9c7;font-size:12px}.controls kbd{padding:0;margin-right:3px;border:0;color:#e2e8ef;font:inherit}.motion-control{width:40px;color:#8195aa;font-size:16px}.study-label{text-align:center;color:#68788d;font-size:9px}.bottom-hud #overview-button{color:#d5e3ee;text-decoration:underline;text-underline-offset:4px}#overview-hint,#skills[data-mode=overview] #focus-hint{display:none}.overview-prerequisites{position:absolute;z-index:2;inset:0;width:100%;height:100%;pointer-events:none}.overview-prerequisites marker path{fill:none;stroke:#9defff;stroke-width:1.1}.prerequisite-base{fill:none;stroke:#3481cf;stroke-width:1.2;opacity:.1}.prerequisite-beam{fill:none;stroke:#4ee1ff;stroke-width:2.8;stroke-linecap:round;filter:drop-shadow(0 0 3px #4ee1ff)}#render-status{position:absolute;top:120px;right:15%;left:15%;z-index:7;text-align:center;pointer-events:none}#render-status:empty{display:none}.is-dissolved{opacity:0;pointer-events:none;transform:translateY(8px)}@media(max-width:650px){#skills{min-height:100dvh}.character-hud{top:14px;font-size:11px}.constellation-controller{top:42px;left:1%;right:1%}.constellation-option{width:110px;transform:translate(calc(-50% + var(--slot)*120px));font-size:13px}.perk-count{top:105px}.exit-link{top:131px}.skill-wheel{top:128px;bottom:calc(66px + env(safe-area-inset-bottom))}.wheel-name{width:190px;font-size:22px}.bottom-hud{padding:7px 10px calc(8px + env(safe-area-inset-bottom));background:#040508f2}.bottom-hud .controls{justify-content:flex-end}.controls>span,.study-label{display:none}}@media(prefers-reduced-motion:reduce){.constellation-option{transition:none}}.account-switch{position:absolute;z-index:6;top:52px;right:3%;min-height:44px;padding:8px 14px;font-size:13px;color:#d6e2ed}@media(max-width:650px){.account-switch{top:auto;right:auto;left:10px;bottom:calc(8px + env(safe-area-inset-bottom));font-size:12px}}
.constellation-preview{position:absolute;z-index:6;inset:0;pointer-events:none;color:#e9f3fb}
.constellation-preview.is-dissolved{transform:none}
.constellation-preview>*{pointer-events:auto}
.preview-image,.preview-video{display:none!important}
.preview-close{position:absolute;top:122px;left:3%;min-width:44px;min-height:44px;padding:8px 16px;border:1px solid #8fa9c2aa;border-radius:6px;background:#06101a8c;color:#d6e2ed;font-size:15px}
.preview-close:hover{background:#0d1c2ecc;color:#fff}
.preview-title,#preview-title:focus{outline:none}
.skill-wheel.is-detail .wheel-item{outline:none!important}
.detail-body{display:contents}
.detail-info,.detail-topics{pointer-events:auto}
.detail-info{position:absolute;left:calc(var(--detail-x,30vw) - min(210px,22vw));top:calc(var(--detail-bottom,50vh) + 8px);width:min(420px,44vw);display:grid;gap:10px;text-align:center}
.preview-kicker{margin:0;color:#9db4c9;font-size:11px;letter-spacing:.2em}
.detail-info h1{margin:0;color:#fff;font-size:30px;text-wrap:balance}
.detail-info p:not(.preview-kicker){margin:0;line-height:1.5;color:#c9d9e8;text-wrap:pretty}
#buy-button{justify-self:center;min-width:240px;border:1px solid #b8d7ea;background:#e9f4fb;color:#06101a;font-weight:600}
#buy-button:hover:not(:disabled){background:#fff}
#buy-button:disabled{opacity:.72;cursor:default}
#buy-status{min-height:2.7em;margin:0;color:#c6d8e5;font-size:13px}
#open-quest-route{justify-self:center;color:#b9dcff;text-underline-offset:4px}
.detail-topics{position:absolute;left:54vw;right:3vw;top:122px;bottom:96px;display:flex;flex-direction:column}
.detail-topics h2{display:flex;align-items:center;gap:14px;margin:0 0 14px;color:#e0f0ff;font-size:21px;font-weight:600;letter-spacing:.14em;text-shadow:0 0 14px #5aa8ff44}
.detail-topics h2:before{content:"";flex:none;width:48px;height:1px;background:linear-gradient(90deg,transparent,#8fc4ff);box-shadow:0 0 8px #8fc4ff}
#detail-topic-count{opacity:.6;font-weight:400}
.detail-topic-scroll{flex:1;min-height:0;overflow:hidden;display:flex;touch-action:none;cursor:grab;position:relative}
.topic-more{position:absolute;left:12px;width:14px;text-align:center;color:#b9cde0;font-size:16px;line-height:1;opacity:0;transition:opacity .2s;pointer-events:none}
#detail-topic-list{--bulge:48px;list-style:none;position:relative;width:100%;margin:0;padding:0;flex:none}
#detail-topic-list li{display:flex;align-items:center;gap:12px;min-height:44px}
#detail-topic-list.is-arc li{position:absolute;left:0;top:0;width:calc(100% - var(--bulge));will-change:transform,opacity}
.topic-dot{flex:0 0 38px;height:38px;display:grid;place-items:center;border:1.5px solid #8fd0ff;border-radius:50%;background:#10223d;box-shadow:0 0 10px #6fb8ff88;color:#eaf6ff;font-size:14px}
.topic-name{color:#9fb3c7;font-size:17px;line-height:1.25;text-wrap:balance}
#detail-topic-list.is-owned .topic-name{color:#eaf4ff}
#detail-topic-empty{margin:auto 0;color:#9fb3c7}
@keyframes detailIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
.constellation-preview:not(.is-dissolved) .detail-info,.constellation-preview:not(.is-dissolved) .detail-topics h2{animation:detailIn .45s .3s both}
.constellation-preview:not(.is-dissolved) .detail-topic-scroll{animation:detailFade .45s .35s both}
@keyframes detailFade{from{opacity:0}to{opacity:1}}
@media(max-width:650px){
.preview-close{top:128px;left:8px}
.detail-body{-webkit-mask-image:linear-gradient(transparent,#000 24px);mask-image:linear-gradient(transparent,#000 24px);display:block;position:absolute;top:var(--detail-bottom,230px);bottom:calc(66px + env(safe-area-inset-bottom));left:0;right:0;overflow-y:auto;padding:0 16px 16px;pointer-events:auto}
.detail-info{position:static;width:auto;max-width:420px;margin:18px auto 0}
.detail-info h1{font-size:24px}
.detail-topics{position:static;margin-top:20px}
.detail-topic-scroll{overflow:visible;display:block;touch-action:auto;cursor:auto}.topic-more{display:none}
#detail-topic-list{--bulge:0px;display:grid;gap:12px;margin:0}
.topic-name{font-size:16px}
.detail-topics h2{font-size:16px;gap:10px}.detail-topics h2:before{width:32px}
}
#detail-topic-list .topic-target{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0;text-align:left;cursor:pointer}
#detail-topic-list .topic-target:hover .topic-name,html.kbd #detail-topic-list .topic-target:focus-visible .topic-name{color:#fff;opacity:1}
.topic-gallery{position:absolute;z-index:8;left:2%;top:90px;bottom:46px;width:min(30vw,350px);padding:18px 18px 24px;display:flex;flex-direction:column;overflow:hidden;background:rgba(7,10,18,.96);border:1px solid rgba(230,207,147,.35);box-shadow:0 16px 60px #0009;pointer-events:auto}
.topic-gallery-head{display:flex;align-items:start;justify-content:space-between;gap:10px;flex:none}.topic-gallery h2{margin:0;font-size:22px;font-weight:500;line-height:1.35}.topic-gallery-head button{flex:none;font-size:28px;line-height:1;min-width:44px}.topic-gallery p{font-size:13px;line-height:1.5;color:#c9d4e4}.topic-gallery-images{display:grid;align-content:start;gap:10px;min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1}.topic-gallery-images img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;background:#141b29}.topic-gallery #topic-gallery-empty{padding:20px 0;color:#a8b4c9}
#skills:has(.constellation-preview.is-topic-open) .skill-wheel{translate:clamp(140px,17vw,250px) 0;transition:translate .28s ease}
#skills:has(.constellation-preview.is-topic-open) .skill-wheel{opacity:1;pointer-events:none}
.constellation-preview.is-topic-open .detail-info{translate:clamp(140px,17vw,250px) 0;transition:translate .28s ease}
.constellation-preview.is-topic-open .detail-topics{left:72vw;right:1vw}
@media(max-width:950px) and (min-width:651px){.topic-gallery{width:32vw;top:125px}.constellation-preview.is-topic-open .detail-topics{left:70vw}.constellation-preview.is-topic-open .detail-info{left:36vw;width:32vw;translate:0}#skills:has(.constellation-preview.is-topic-open) .skill-wheel{translate:12vw 0}}
@media(max-width:650px){.topic-gallery{position:static;width:100%;max-height:none;margin:12px auto 22px;padding:14px}.topic-gallery h2{font-size:19px}.topic-gallery-images{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));max-height:55vh;flex:none}.topic-gallery-images img{max-height:220px}#skills:has(.constellation-preview.is-topic-open) .skill-wheel{translate:0 0}.constellation-preview.is-topic-open .detail-info{translate:0 0}.constellation-preview.is-topic-open .detail-topics{left:auto;right:auto}}
@media(prefers-reduced-motion:reduce){.constellation-preview .detail-info,.constellation-preview .detail-topics h2,.constellation-preview .detail-topic-scroll{animation:none!important}}
#overview-list{--D:160px;position:absolute;z-index:4;top:112px;bottom:92px;left:0;right:0;overflow:clip;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;outline:none}
.overview-canvas{position:absolute;left:0;top:0;will-change:transform}
#overview-list.is-dragging{cursor:grabbing}
#overview-list:focus-visible{outline:none}
.overview-home{position:absolute;right:16px;bottom:16px;min-height:40px;padding:6px 16px;border:1px solid #8fb9da66;border-radius:999px;background:#06101acc;color:#e0f0ff;font-size:14px}
.overview-home:hover{background:#0d1c2ee6}
.overview-map-option{position:absolute;opacity:var(--f,1);width:var(--D);min-height:0;padding:0;color:#dbe5f0;animation:ovIn .45s calc(var(--i)*50ms) both}
@keyframes ovIn{from{opacity:0}}
.ov-medal{display:block;position:relative;width:var(--D);height:var(--D);border-radius:50%;transition:transform .18s ease-out}
.ov-medal .wheel-art{position:absolute;left:4%;top:4%;width:92%;height:92%;transition:filter .18s,opacity .18s}
.ov-name{position:absolute;left:50%;top:calc(var(--D) - 10px);transform:translateX(-50%);width:max-content;max-width:calc(var(--D)*1.5);padding:4px 14px;border:1px solid #8fb9da33;border-radius:18px;background:#040a16cc;font-size:15px;line-height:1.3;text-align:center}
.ov-text{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis}
.ov-name svg{display:inline-block;vertical-align:-1px;margin-right:4px}.ov-name:has(svg){display:flex;align-items:center;justify-content:center}
.overview-map-option.is-owned .wheel-art{opacity:1;filter:drop-shadow(0 0 5px #5aa8ffcc)}
.overview-map-option[aria-pressed=true] .wheel-art{opacity:1;filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px #e0f0ffaa)}
.overview-map-option[aria-pressed=true] .ov-name{border-color:#e0f0ffaa;color:#fff}
.overview-map-option:disabled{cursor:default}
.overview-map-option:disabled .wheel-art{opacity:.35;filter:none}
.overview-map-option:focus-visible{outline:none!important}
.kbd .overview-map-option:focus-visible:after{content:"";position:absolute;left:calc(var(--D)*-.25);right:calc(var(--D)*-.25);top:-8px;bottom:-50px;border:2px solid #e0e9ff;border-radius:8px;pointer-events:none}
@media(hover:hover) and (pointer:fine){.overview-map-option:not(:disabled):hover .ov-medal{transform:scale(1.06)}.overview-map-option:not(:disabled):hover .wheel-art{opacity:1;filter:drop-shadow(0 0 8px #8fc4ff)}}
.overview-map-option:not(:disabled):active .ov-medal{transform:scale(.98)}
#overview-list.is-picking .overview-map-option:not(.is-picked){opacity:0;transition:opacity .2s}
@media(max-width:650px){#overview-list{top:128px;bottom:calc(66px + env(safe-area-inset-bottom))}.ov-name{font-size:12px;padding:3px 10px;max-width:calc(var(--D)*1.5)}}
@media(prefers-reduced-motion:reduce){.overview-map-option{animation:none}.ov-medal{transition:none}.overview-map-option:not(:disabled):hover .ov-medal,.overview-map-option:not(:disabled):active .ov-medal{transform:none}#overview-list.is-picking .overview-map-option:not(.is-picked){transition:none}}
.kbd .wheel-item:focus-visible{outline:none}
.wheel-focus-ring{position:fixed;z-index:8;display:none;box-sizing:border-box;border:2px solid #e0e9ff;border-radius:8px;pointer-events:none}
.topic-dot svg{display:none;width:15px;height:18px;color:#fff;opacity:.85}
#detail-topic-list:not(.is-owned) .topic-dot{background:#070c18;border:1px solid #ffffff22;box-shadow:none}
#detail-topic-list:not(.is-owned) .topic-num{display:none}
#detail-topic-list:not(.is-owned) .topic-dot svg{display:block}
#detail-topic-list:not(.is-owned) .topic-name{color:#9fb3c7;opacity:.6}
.topic-lock-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#detail-topic-list.is-owned .topic-lock-label{display:none}
#skills[data-mode=overview] #overview-hint{display:none}
html[data-ov-pan]:not([data-ov-panned]) #skills[data-mode=overview] #overview-hint{display:inline-flex;align-items:center;gap:8px;color:#c9d9e8}
@media(max-width:650px){html[data-ov-pan]:not([data-ov-panned]) #skills[data-mode=overview] .controls>#overview-hint{display:inline-flex}}
/* Constellation art colours by ownership: unowned = grey and muted but readable, owned = bright with a blue glow, level-locked = dimmer. */
.wheel-art .art-line{stroke:#7f8ca3;stroke-opacity:.75}
.wheel-art .art-line-glow{display:none;fill:none;pointer-events:none}
.wheel-item.is-center:not(.is-owned) .wheel-art .art-line{stroke-opacity:.5}
.wheel-art .art-line-lit{display:none;fill:none;stroke:#aee0ff;stroke-dasharray:1;stroke-dashoffset:1;opacity:0}
.wheel-art .art-glow{display:none;transform-box:fill-box;transform-origin:center}
.wheel-art .art-glow-inner{display:none}
.wheel-art .art-core{--lit:#eef6ff;fill:#a2abb8}
.wheel-art .art-core.is-root{--lit:#bfe0ff;fill:#c3cad4}
.wheel-art.has-emblem .art-core{transform-box:fill-box;transform-origin:center}
.wheel-art.has-emblem .art-core.is-root{--lit:#eef6ff;fill:#a2abb8}
.wheel-art image{filter:grayscale(1)}
.is-owned .wheel-art .art-line{stroke:#8fc4ff;stroke-opacity:.65}
.is-owned .wheel-art .art-glow{display:inline}
.is-owned .wheel-art .art-core{fill:#eef6ff}
.is-owned .wheel-art .art-core.is-root{fill:#bfe0ff}
.is-owned .wheel-art.has-emblem .art-core.is-root{fill:#eef6ff}
.is-owned .wheel-art image{filter:none}
html[data-skin=astral] #skills .wheel-item.is-center.is-owned .wheel-art.has-emblem:not(.is-lighting) .art-line{stroke:#f3e3b7;stroke-opacity:.95;stroke-linecap:round;filter:drop-shadow(0 0 1px rgba(28,25,48,.85)) drop-shadow(0 0 3px rgba(243,184,85,.75))}
html[data-skin=astral] #skills .wheel-item.is-center.is-owned .wheel-art.has-emblem:not(.is-lighting) .art-line-glow{display:inline;stroke:#f3bb62;stroke-opacity:.3;stroke-linecap:round;filter:blur(.5px)}
html[data-skin=astral] #skills .wheel-item.is-center.is-owned .wheel-art.has-emblem:not(.is-lighting) .art-core{scale:1.12;fill:url(#wheel-gold-sparkle);filter:drop-shadow(0 0 2px rgba(255,249,221,.95)) drop-shadow(0 0 5px rgba(230,163,63,.75))}
html[data-skin=astral] #skills .wheel-item.is-center.is-owned .wheel-art.has-emblem:not(.is-lighting) .art-glow{fill:url(#wheel-sparkle-halo);scale:.42;opacity:1;filter:none}
.is-gated .wheel-art{filter:brightness(.6)}
/* Purchase light-up: stars in Quest order with a bloom, then each line is drawn once both of its stars are lit. */
.wheel-art.is-lighting .art-glow{display:inline;animation:starBloom .55s cubic-bezier(.2,.8,.2,1) var(--d,0s) both}
.wheel-art.is-lighting .art-core{animation:coreLit .4s var(--d,0s) both}
.wheel-art.is-lighting .art-line{animation:lineBase .5s cubic-bezier(.45,0,.25,1) var(--d,0s) both}
.wheel-art.is-lighting .art-line-lit{display:inline;animation:lineDraw .6s cubic-bezier(.45,0,.25,1) var(--d,0s) both}
@keyframes starBloom{0%{opacity:0;transform:scale(.2)}45%{opacity:1;transform:scale(1.8)}100%{transform:scale(1)}}
@keyframes coreLit{to{fill:var(--lit)}}
@keyframes lineDraw{0%{stroke-dashoffset:1;opacity:1}65%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes lineBase{to{stroke:#8fc4ff;stroke-opacity:.65}}
@keyframes artPulse{50%{scale:1.03;filter:drop-shadow(0 0 12px #9fd6ffcc)}}
@keyframes buySwap{from{opacity:.2}}
.wheel-art.is-pulse{animation:artPulse .45s ease-out}
#buy-button.is-swap{animation:buySwap .4s ease-out}
/* Topics: lock -> glowing node, staggered after the stars. */
.topic-num{grid-area:1/1}
.topic-dot svg{grid-area:1/1}
#detail-topic-list.is-lighting:not(.is-owned) .topic-dot{background:#10223d;border:1.5px solid #8fd0ff;box-shadow:0 0 10px #6fb8ff88;animation:topicNode .6s ease-out var(--td,0s) backwards}
#detail-topic-list.is-lighting:not(.is-owned) .topic-num{display:block;animation:fadeIn .35s calc(var(--td,0s) + .2s) backwards}
#detail-topic-list.is-lighting:not(.is-owned) .topic-dot svg{display:block;animation:fadeOut .3s var(--td,0s) forwards}
#detail-topic-list.is-lighting:not(.is-owned) .topic-name{color:#eaf4ff;opacity:1;animation:nameLit .45s var(--td,0s) backwards}
@keyframes topicNode{from{background:#070c18;border:1px solid #ffffff22;box-shadow:none}50%{box-shadow:0 0 22px #b5e1ff}}
@keyframes fadeIn{from{opacity:0}}
@keyframes fadeOut{to{opacity:0}}
@keyframes nameLit{from{color:#9fb3c7;opacity:.6}}
@media(prefers-reduced-motion:reduce){.wheel-art.is-lighting *,#detail-topic-list.is-lighting *,.wheel-art.is-pulse,#buy-button.is-swap{animation:none!important}}

/* Gallery polish: an active topic, a readable image surface, and quiet motion. */
html[data-skin=astral] .topic-gallery{isolation:isolate;padding:22px;border:1px solid rgba(225,198,140,.58);border-radius:6px;background:radial-gradient(circle at 90% 0%,rgba(78,67,124,.22),transparent 48%),linear-gradient(160deg,rgba(12,15,29,.98),rgba(5,9,17,.97));box-shadow:0 18px 55px rgba(0,0,0,.6),inset 0 1px rgba(255,241,201,.13);scrollbar-color:#786b91 transparent;scrollbar-width:thin}
html[data-skin=astral] .topic-gallery::before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;background:linear-gradient(90deg,transparent,#e3c78b 35%,#a69bc7 70%,transparent);pointer-events:none}
html[data-skin=astral] .topic-gallery-head{align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(224,204,164,.2)}
html[data-skin=astral] .topic-gallery .topic-gallery-order{margin:0 0 7px;color:#d5b97c;font-size:10px;letter-spacing:.22em;font-weight:700}
html[data-skin=astral] .topic-gallery h2{font-size:23px;line-height:1.2;color:#f7f0df;letter-spacing:.01em;text-wrap:balance}
html[data-skin=astral] .topic-gallery-head button{display:grid;place-items:center;width:42px;min-width:42px;min-height:42px;padding:0;border:1px solid rgba(225,198,140,.36);border-radius:50%;background:rgba(12,17,30,.7);color:#e7d5aa;font-size:25px;transition:background .18s,border-color .18s,transform .18s}
html[data-skin=astral] .topic-gallery-head button:hover{background:rgba(94,75,130,.48);border-color:#e8d099;transform:rotate(90deg)}
html[data-skin=astral] .topic-gallery #topic-gallery-description{flex:none;margin:16px 0 22px;color:#c7cddd;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
html[data-skin=astral] .topic-gallery-images{gap:14px}
html[data-skin=astral] .topic-gallery-images figure{position:relative;margin:0;padding:6px;border:1px solid rgba(211,195,159,.22);border-radius:4px;background:#141b2b;overflow:hidden}
html[data-skin=astral] .topic-gallery-images img{max-height:340px;border-radius:2px;background:#101625}
html[data-skin=astral] .topic-gallery-images figcaption{position:absolute;right:12px;bottom:12px;padding:4px 8px;border:1px solid rgba(226,207,161,.35);background:rgba(6,9,17,.82);color:#ebd6a3;font-size:11px;letter-spacing:.13em}
html[data-skin=astral] .topic-gallery #topic-gallery-empty{display:grid;place-items:center;gap:12px;min-height:150px;margin:0;padding:24px;border:1px dashed rgba(221,194,140,.34);border-radius:4px;background:radial-gradient(circle at 50% 35%,rgba(94,79,142,.15),transparent 70%);color:#b9bfd0;text-align:center;font-size:13px}
html[data-skin=astral] .topic-gallery #topic-gallery-empty span{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(227,198,137,.4);border-radius:50%;color:#e3c587;font-size:20px}
html[data-skin=astral] #detail-topic-list .topic-target{border-radius:6px;transition:background .18s,opacity .18s}
html[data-skin=astral] #detail-topic-list .topic-target:hover,html[data-skin=astral].kbd #detail-topic-list .topic-target:focus-visible{background:rgba(131,113,169,.12)}
html[data-skin=astral] #detail-topic-list .topic-target[aria-pressed=true]{background:linear-gradient(90deg,rgba(190,153,91,.22),transparent 88%)}
html[data-skin=astral] #detail-topic-list .topic-target[aria-pressed=true] .topic-dot{border-color:#f0d99d;box-shadow:0 0 0 4px rgba(229,198,140,.12),0 0 20px rgba(230,192,114,.45);color:#fff7df}
html[data-skin=astral] #detail-topic-list .topic-target[aria-pressed=true] .topic-name{color:#fff1cd;opacity:1}
.skill-wheel{transition:translate .32s cubic-bezier(.22,.72,.23,1)}
.constellation-preview .detail-info{transition:translate .32s cubic-bezier(.22,.72,.23,1),left .32s cubic-bezier(.22,.72,.23,1),width .32s cubic-bezier(.22,.72,.23,1)}
.constellation-preview .detail-topics{transition:left .32s cubic-bezier(.22,.72,.23,1),right .32s cubic-bezier(.22,.72,.23,1)}
@media(prefers-reduced-motion:no-preference){@keyframes topicGalleryIn{from{opacity:0;translate:-8px 0}to{opacity:1;translate:0 0}}@keyframes topicGalleryOut{to{opacity:0;translate:-8px 0}}@keyframes topicImageIn{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes topicBodyIn{from{opacity:.2}to{opacity:1}}html:not(.motion-paused) .topic-gallery.is-entering{animation:topicGalleryIn .22s .12s cubic-bezier(.22,.72,.23,1) both}html:not(.motion-paused) .topic-gallery.is-closing{animation:topicGalleryOut .18s ease-in both;pointer-events:none}html:not(.motion-paused) .topic-gallery.is-entering .topic-gallery-images figure{animation:topicImageIn .2s ease-out both;animation-delay:calc(120ms + var(--gallery-i)*35ms)}html:not(.motion-paused) .topic-gallery.is-switching .topic-gallery-head>div,html:not(.motion-paused) .topic-gallery.is-switching #topic-gallery-description,html:not(.motion-paused) .topic-gallery.is-switching .topic-gallery-images,html:not(.motion-paused) .topic-gallery.is-switching #topic-gallery-empty{animation:topicBodyIn .18s ease-out both}}
@media(max-width:650px){html[data-skin=astral] .topic-gallery{padding:17px;margin:8px auto 22px}html[data-skin=astral] .topic-gallery h2{font-size:20px}html[data-skin=astral] .topic-gallery #topic-gallery-description{margin:13px 0 17px}html[data-skin=astral] .topic-gallery #topic-gallery-empty{min-height:118px}html[data-skin=astral] .topic-gallery-images{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.skill-wheel,.constellation-preview .detail-info,.constellation-preview .detail-topics,.topic-gallery-head button{transition:none!important}.topic-gallery,.topic-gallery *{animation:none!important}}
html.motion-paused .skill-wheel,html.motion-paused .constellation-preview .detail-info,html.motion-paused .constellation-preview .detail-topics{transition:none!important}

/* The emblem, its saved star positions and their connections share one SVG so they move together. */
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-art{transform-box:view-box;transition:transform .33s cubic-bezier(.22,.72,.23,1),transform-origin .33s cubic-bezier(.22,.72,.23,1)}
@media(prefers-reduced-motion:reduce){html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-art{transition:none}}
html.motion-paused[data-skin=astral] #skills .skill-wheel.is-detail .wheel-art{transition:none}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-line{stroke:#f3e3b7;stroke-opacity:.95;filter:drop-shadow(0 0 1px rgba(28,25,48,.85)) drop-shadow(0 0 3px rgba(243,184,85,.75))}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-line-glow{display:inline;stroke:#f3bb62;stroke-opacity:.3;stroke-linecap:round;filter:blur(.5px)}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art:not(.is-lighting) .art-core{scale:.22;opacity:.72;filter:drop-shadow(0 0 2px rgba(230,207,147,.22))}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-core{scale:1.12;opacity:1;fill:url(#wheel-gold-sparkle);filter:drop-shadow(0 0 2px rgba(255,249,221,.95)) drop-shadow(0 0 5px rgba(230,163,63,.75))}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art:not(.is-lighting) .art-glow{animation:none;scale:.18;transform-box:fill-box;transform-origin:center;opacity:.22;filter:none}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-glow{scale:.42;opacity:1;fill:url(#wheel-sparkle-halo)}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-glow-inner{display:inline;scale:.18;opacity:0;transform-box:fill-box;transform-origin:center;pointer-events:none}
@media(prefers-reduced-motion:no-preference){html:not(.motion-paused)[data-skin=astral] #skills .skill-wheel.is-detail .art-core,html:not(.motion-paused)[data-skin=astral] #skills .skill-wheel.is-detail .art-glow,html:not(.motion-paused)[data-skin=astral] #skills .skill-wheel.is-detail .art-glow-inner{transition:scale .18s ease-out,opacity .18s ease-out}}
html[data-skin=astral] #skills:has(.topic-gallery.is-closing) .art-glow.is-topic-focus,html[data-skin=astral] #skills:has(.topic-gallery.is-closing) .art-glow-inner.is-topic-focus{opacity:0!important}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art .art-emblem{opacity:.58}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art .art-line{stroke-opacity:.44}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art.has-emblem .art-line{stroke-opacity:.85}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art .art-core:not(.is-topic-focus){opacity:.65}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art .art-glow{display:inline}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art .art-glow:not(.is-topic-focus){opacity:.14}
html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-core,html[data-skin=astral] #skills:has(.constellation-preview.is-topic-open) .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-glow{opacity:1}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-core.is-topic-focus{scale:1.28;filter:drop-shadow(0 0 3px rgba(255,249,221,1)) drop-shadow(0 0 8px rgba(230,163,63,.9))}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-glow.is-topic-focus{scale:.72;fill:url(#wheel-sparkle-halo);opacity:1}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center .wheel-art.has-emblem:not(.is-lighting) .art-glow-inner.is-topic-focus{scale:.38;opacity:1}
html[data-skin=astral] #skills .skill-wheel.is-detail .wheel-item.is-center.is-owned .wheel-art .art-emblem{filter:brightness(1.04) drop-shadow(0 0 6px rgba(230,207,147,.2))}
html[data-skin=astral] #skills .detail-info,html[data-skin=astral] #skills .detail-topics{z-index:1}
html[data-skin=astral] #skills #detail-topic-list .topic-target{min-height:44px;padding:2px 10px;border:1px solid rgba(230,207,147,.22);border-radius:6px;background:rgba(8,12,26,.68);box-shadow:none;position:relative}
html[data-skin=astral] #skills #detail-topic-list .topic-target:hover,
html[data-skin=astral].kbd #skills #detail-topic-list .topic-target:focus-visible{border-color:rgba(230,207,147,.62);background:rgba(20,23,39,.86)}
html[data-skin=astral] #skills #detail-topic-list .topic-target[aria-pressed=true]{border-color:rgba(230,207,147,.68);background:rgba(32,28,38,.86)}
html[data-skin=astral].kbd #skills #detail-topic-list .topic-target:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
html[data-skin=astral] #skills #detail-topic-list .topic-target:hover .topic-dot,
html[data-skin=astral].kbd #skills #detail-topic-list .topic-target:focus-visible .topic-dot{border-color:#fff2c9;color:#fff8df}
html[data-skin=astral] #skills #detail-topic-list:not(.is-owned) .topic-name{opacity:.85}

/* A narrow viewport, including tablet windows and a desktop at 200% browser
   zoom, uses the phone's scrollable reading order. Override inline arc positions. */
@media(max-width:960px){
 html[data-skin=astral] #skills .detail-body{display:block;position:absolute;top:var(--detail-bottom,230px);bottom:calc(66px + env(safe-area-inset-bottom));left:0;right:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 44px;scroll-padding-bottom:44px;pointer-events:auto;-webkit-mask-image:none;mask-image:none}
 html[data-skin=astral] #skills .detail-info{position:static;width:100%;max-width:420px;margin:16px auto 0}
 html[data-skin=astral] #skills .detail-topics{position:static;left:auto;right:auto;top:auto!important;bottom:auto;margin:24px auto 0;max-width:520px}
 html[data-skin=astral] #skills .detail-topics h2{margin-bottom:14px!important}
 html[data-skin=astral] #skills .detail-topic-scroll{display:block;overflow:visible;touch-action:auto;cursor:auto}
 html[data-skin=astral] #skills #detail-topic-list{--bulge:0px;display:grid;gap:8px;height:auto!important}
 html[data-skin=astral] #skills #detail-topic-list.is-arc li{position:static!important;left:auto;top:auto;width:auto!important;transform:none!important;opacity:1!important;visibility:visible!important}
 html[data-skin=astral] #skills #detail-topic-list li{min-height:48px}
 html[data-skin=astral] #skills #detail-topic-list .topic-target{min-height:48px;width:100%;padding:4px 10px}
 html[data-skin=astral] #skills .topic-more{display:none}
 html[data-skin=astral] #skills .topic-gallery{position:static;width:100%;max-width:520px;max-height:none;margin:12px auto 22px}
 html[data-skin=astral] #skills .topic-gallery-images{max-height:none;flex:none}
 html[data-skin=astral] #skills .constellation-preview.is-topic-open .detail-info{translate:0 0}
}
@media(max-width:650px){html[data-skin=astral] #skills .topic-gallery{margin-top:22px}}

/* Sign-in gate states: no Sign-in button while the session is still being checked; Retry only after an error */
.login-gate[data-state=loading] button,.login-gate[data-state=signin] #retry-session{display:none}
