/* Store art direction extends the portal's existing black glass, restrained type and cyan controls. */
.ks-identity-tier-row{display:grid;gap:7px;margin:16px 0;color:#b8cbdc;font-size:12px}
.ks-identity-tier-row>select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #ffffff2b;border-radius:2px;background:#101c29;color:#e6eff7;font:inherit}
.ks-component-owned{display:block;margin:3px 0 5px 38px;color:#9cc8b3;font-size:10px}
.ks .ks-hull-requirement,.ks .ks-owned-overlap{font-size:11px;line-height:1.6;color:#b7c8d8}
.ks .ks-owned-overlap{color:#cbb88b}
.ks-identity-tier-row[hidden]{display:none}
.ks-profile-sample.pf{max-width:100%;width:auto;min-height:220px}
.ks-space{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.8}
main.ks{position:relative;z-index:1}
.ks-motion svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.ks-motion .ks-play-icon{display:none}
.ks-motion[aria-pressed=true] .ks-pause-icon{display:none}
.ks-motion[aria-pressed=true] .ks-play-icon{display:block}
.ks button:focus-visible{outline:1px solid #a8d7ef;outline-offset:4px}
.ks-preview-dialog{width:1120px;padding:0;overflow-x:hidden}
.ks-preview-dialog>header{margin:0;padding:14px 18px}
.ks-preview-body,.ks-has-bundle .ks-preview-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:0;align-items:stretch}
.ks-preview-visual{min-width:0;background:#050910}
#ks-preview-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:12px 15px;background:#070c13;border-bottom:1px solid var(--line);height:auto;line-height:normal;box-shadow:none}
#ks-preview-tabs:empty{display:none}
#ks-preview-tabs button{font-size:11px;min-height:30px;padding:6px 10px;line-height:1.2;box-shadow:none;background:transparent;border:1px solid transparent;color:var(--muted)}
#ks-preview-tabs button[aria-pressed=true]{color:var(--text);background:#ffffff09;border-color:#ffffff24}
.ks-preview-dialog #ks-preview-stage,.ks-has-bundle #ks-preview-stage{height:475px;position:relative;border:0;box-shadow:none;background:radial-gradient(ellipse at 50% 50%,var(--item-tint,#5f9cbb15),#050910 72%);overflow:hidden}
.ks-preview-dialog #ks-preview-stage>img{width:100%;height:100%;object-fit:contain;display:block}
.ks-preview-dialog canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}
.ks-preview-dialog canvas:active{cursor:grabbing}
.ks-preview-dialog{width:1220px;max-height:94vh;max-height:94dvh}
.ks-preview-dialog>header{position:sticky;top:0;z-index:3;background:#0c121a;border-bottom:1px solid var(--line)}
.ks-preview-body,.ks-has-bundle .ks-preview-body{grid-template-columns:minmax(0,1fr) 340px}
.ks-preview-visual{position:sticky;top:53px;align-self:start;z-index:1}
.ks-preview-dialog #ks-preview-stage,.ks-has-bundle #ks-preview-stage{height:clamp(350px,58vh,590px);height:clamp(350px,58dvh,590px)}
.ks-preview-caption{position:absolute;top:19px;left:22px;right:22px;pointer-events:none;text-shadow:0 2px 8px #000;background:linear-gradient(90deg,#08121dd9,transparent);padding:10px 12px;border-left:2px solid var(--item-accent)}
.ks-preview-caption small{display:block;color:var(--item-accent);font-size:10px;line-height:1.4}
.ks-preview-caption strong{display:block;margin-top:3px;font-size:18px;line-height:1.3;color:#edf3f8;font-weight:500}
.ks-preview-caption p{margin:5px 0 0;color:#acbdca;font-size:11px;line-height:1.5}
.ks-decal-art{position:absolute;bottom:18px;left:22px;margin:0;padding:12px;width:132px;background:#08111bed;border:1px solid #ffffff24;pointer-events:none}
.ks-decal-art img{display:block;width:100%;height:102px;object-fit:contain}
.ks-decal-art figcaption{margin-top:8px;text-align:center;font-size:9px;color:#9eafbe}
#ks-demo-actions{display:flex;flex-wrap:wrap;gap:5px;padding:11px 15px;background:#080e17;border-top:1px solid var(--line)}
#ks-demo-actions[hidden]{display:none}
#ks-demo-actions button{min-height:30px;padding:6px 10px;font-size:11px;font-weight:400;box-shadow:none;background:transparent;border-color:#ffffff1c;color:#9eafbe}
#ks-demo-actions button[aria-pressed=true]{border-color:var(--item-accent);color:var(--item-accent);background:#ffffff08}
.ks-view-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;min-height:50px;border-top:1px solid var(--line)}
.ks-preview-dialog #ks-preview-notice{font-size:10px;margin:0;color:var(--muted);line-height:1.5}
#ks-preview-motion{min-height:28px;font-size:10px;padding:5px 8px;box-shadow:none;flex:none}
.ks-detail{padding:26px 24px;border-left:1px solid var(--line);display:flex;flex-direction:column;background:var(--sheen),#060a11;min-width:0}
.ks-detail>h3{font-size:30px;line-height:1.12;color:var(--text);font-weight:500;margin:0 0 13px;overflow-wrap:anywhere}
.ks-detail>p{font-size:12px;color:#a4b1be;line-height:1.65;margin:0 0 22px}
#ks-detail-facts{list-style:none;padding:0;margin:0 0 22px;font-size:11px;line-height:1.6;color:#b9c6d0}
#ks-detail-facts li{border-bottom:1px solid var(--line);padding:10px 0}
#ks-detail-facts li:first-child{border-top:1px solid var(--line)}
.ks-detail-purchase{margin-top:auto;padding-top:18px}
.ks-detail-purchase .ks-price{font-size:25px;color:var(--text);font-weight:500;margin-bottom:15px}
#ks-detail-buy{width:100%;min-height:37px;border-color:#78d2f073;background:linear-gradient(180deg,#ffffff29,#ffffff0a 48%,#0000 49%),linear-gradient(180deg,#1f6f8b,#14495d)}
.ks-detail-purchase p{font-size:10px;line-height:1.6;color:var(--muted);margin:12px 0 0}
.ks-detail-purchase .ks-owned{margin:0 0 10px}
.ks-bundle-contents h3{color:var(--item-accent,#86e6cb);font-size:10px;margin-bottom:8px}
.ks-bundle-contents li{padding:0;font-size:11px;line-height:1.45}
.ks-bundle-contents li:before{display:none}
.ks-bundle-contents li>span{display:block;padding:9px 0}
.ks-bundle-contents li button{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;padding:9px 0;min-height:48px;background:none;border:0;border-radius:0;box-shadow:none;text-align:left;color:#bfcbd5;font-size:11px;line-height:1.45}
.ks-bundle-contents li button img{width:41px;height:32px;object-fit:cover;border:1px solid #ffffff1c;border-radius:2px;flex:none}
.ks-bundle-contents li button[aria-pressed=true],.ks-bundle-contents li button:hover{color:var(--item-accent,#86e6cb)}
.ks-bundle-contents li button{padding:10px 6px;min-height:63px;border-left:2px solid transparent;gap:11px}
.ks-bundle-contents li button[aria-pressed=true]{background:#ffffff05;border-left-color:var(--item-accent)}
.ks-bundle-contents li button img{width:42px;height:42px;object-fit:contain;padding:3px;background:#081019}
.ks-component-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.ks-component-copy strong{font-size:11px;font-weight:500;overflow-wrap:anywhere}
.ks-component-copy small{font-size:10px;line-height:1.4;color:#8d9eac;font-weight:400}
.ks-component-view{font-size:15px;color:#718694;flex:none}
.ks-bundle-contents li button[aria-pressed=true] .ks-component-view{color:var(--item-accent)}
.ks-component-owned{margin-left:61px}
.ks-bundle-terms{font-size:10px;margin:13px 0 0}
.ks-bundle-identity{position:absolute;left:16px;bottom:16px;padding:7px 12px 7px 7px;font-size:11px;background:#071b1bed;border:1px solid #86e6cb70}
.ks-bundle-identity img{width:26px;height:26px}
.ks-profile-sample{position:absolute;inset:34px;display:flex;flex-direction:column;justify-content:flex-end;background:#07111c;border:1px solid var(--item-accent);box-shadow:0 0 0 3px #183b35,inset 0 0 40px #0008;overflow:hidden}
.ks-profile-sample>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.8;object-position:center 30%}
.ks-profile-sample>small{position:absolute;left:18px;top:18px;padding:5px 7px;background:#07111cc9;color:#afc0cb;font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.ks-profile-identity{position:relative;display:flex;align-items:center;gap:15px;padding:22px;background:linear-gradient(transparent,#030a10 24%);padding-top:70px}
.ks-profile-avatar{width:58px;height:58px;display:grid;place-items:center;background:#092120;border:1px solid var(--item-accent);box-shadow:0 0 0 3px #183b35;flex:none}
.ks-profile-avatar img{width:39px;height:39px}
.ks-profile-avatar>span{font-size:25px;color:var(--item-accent)}
.ks-profile-identity h4{font-size:24px;margin:0 0 3px;color:#e6edf5;font-weight:500}
.ks-profile-identity p{font-size:12px;color:var(--item-accent);margin:0}
.ks-profile-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;font-size:9px;color:var(--item-accent);background:#071717ed;border:1px solid var(--item-accent);margin-top:8px}
.ks-profile-badge img{width:15px;height:15px}
.ks-profile-sample [data-highlight=true]{filter:drop-shadow(0 0 7px #86e6cb70)}
.ks-profile-sample[data-kind=frame]{justify-content:center;background:radial-gradient(ellipse at 20% 30%,var(--item-tint),#071019 80%);border-color:#9fb8c344;box-shadow:inset 0 1px #ffffff09,0 14px 36px #0004}
.ks-profile-sample[data-kind=frame] .ks-profile-identity{padding:30px;gap:26px;background:none}
.ks-profile-sample[data-kind=frame] .ks-profile-avatar{width:140px;height:140px;border:0;box-shadow:none}
.ks-profile-sample[data-kind=frame] h4{max-width:220px;overflow-wrap:anywhere;font-size:25px}
@media(max-width:560px){.ks-profile-sample[data-kind=frame] .ks-profile-identity{padding:22px 15px;gap:18px}
.ks-profile-sample[data-kind=frame] .ks-profile-avatar{width:104px;height:104px}
.ks-profile-sample[data-kind=frame] h4{font-size:19px}
}
.ks-checkout-product{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.ks-checkout-product img{width:104px;height:66px;object-fit:cover;border:1px solid var(--line)}
.ks-checkout-product b{display:block;font-size:15px;font-weight:500;color:var(--text)}
.ks-checkout-product span{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.ks-preview-dialog .ks-detail-purchase .ks-price small{margin-left:6px;font-size:11px}
#ks-checkout-bundle li>span{padding:7px 0}
@media(max-width:1000px){.ks-preview-body,.ks-has-bundle .ks-preview-body{grid-template-columns:minmax(0,1fr) 280px}
.ks-detail{padding:22px 18px}
}
@media(max-width:760px){.ks-preview-body,.ks-has-bundle .ks-preview-body{grid-template-columns:1fr}
.ks-detail{border-left:0;border-top:1px solid var(--line)}
.ks-preview-dialog #ks-preview-stage,.ks-has-bundle #ks-preview-stage{height:360px}
.ks-detail-purchase{padding-top:5px}
.ks-profile-sample{inset:25px}
.ks-preview-dialog{width:650px}
}
@media(max-width:560px){.ks-preview-dialog{max-width:calc(100vw - 16px);max-height:94vh;max-height:94dvh}
.ks-preview-dialog #ks-preview-stage,.ks-has-bundle #ks-preview-stage{height:310px}
.ks-preview-dialog>header{padding:12px 14px}
.ks-preview-dialog>header h2{font-size:15px}
.ks-profile-sample{inset:22px 16px}
.ks-profile-identity{padding:65px 15px 17px;gap:12px}
.ks-profile-avatar{width:47px;height:47px}
.ks-profile-identity h4{font-size:20px}
.ks-profile-identity p{font-size:11px}
.ks-profile-badge{font-size:8px}
.ks-view-controls{padding:10px 12px;gap:8px}
.ks-preview-dialog #ks-preview-notice{font-size:9px}
#ks-preview-motion{font-size:9px;max-width:120px}
.ks-detail>h3{font-size:27px}
.ks-checkout-product img{width:88px;height:56px}
}
/* The three paid plans share the Store's glass, fine hardware edges and quiet typography. */
.ks-plans{min-width:0;margin-bottom:26px}
.ks-plans[hidden]{display:none}
.ks-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;margin-top:16px}
.ks-plan{--plan-tint:#284d642b;position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #7895a12e;border-top-color:#a9c2d470;border-radius:2px;background:#060b13;box-shadow:inset 0 1px #ffffff08,0 10px 24px #0003;transition:border-color .18s ease}
.ks-plan[data-tier="2"]{--plan-tint:#5054732b;border-top-color:#c2c6dc70}
.ks-plan[data-tier="3"]{--plan-tint:#6544702b;border-top-color:#c9b1de8c}
.ks-plan:hover,.ks-plan:focus-within{border-color:#9bb5cb70}
.ks-plan[data-current="true"],.ks-plan[aria-current="true"]{border-color:var(--item-accent,#b7c7dd);box-shadow:inset 0 0 0 1px #c5d3ef12,0 12px 28px #0004}
.ks .ks-plan-art{position:relative;display:block;flex:none;width:100%;height:auto;aspect-ratio:1200/760;min-height:0;margin:0;padding:0;overflow:hidden;border:0;border-bottom:1px solid #ffffff0d;border-radius:0;background:#050910;box-shadow:none;text-align:left}
.ks .ks-plan-art:hover{background:#050910;box-shadow:none}
.ks-plan-art:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#040910a3);pointer-events:none}
.ks-plan-art>img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;transition:transform .4s ease;filter:none}
.ks-plan-art:hover>img{transform:scale(1.025)}
.ks-plan-art>span{position:absolute;z-index:1;left:15px;bottom:13px;padding:6px 9px;border:1px solid #b6cddd2b;background:#070d16d9;color:#c5d4e0;font-size:10px;font-weight:400;line-height:1.4}
.ks-plan-body{display:flex;flex:1;flex-direction:column;align-items:stretch;min-width:0;padding:22px 22px 20px;background:radial-gradient(ellipse at 95% 0,var(--plan-tint),transparent 72%),linear-gradient(#0a111bcc,#050911ee)}
.ks-plan-body>.ks-kind{margin:0 0 6px;font-size:8px;letter-spacing:.14em}
.ks-plan-body>h3{margin:0 0 13px;color:#e6edf5;font-size:26px;font-weight:500;letter-spacing:-.01em;line-height:1.2}
.ks-plan-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;color:#e6edf5;font-size:25px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.25}
.ks-plan-price>small{color:#8b9bad;font-size:10px;font-weight:400;white-space:nowrap}
.ks-plan-body>ul{flex:1;list-style:none;margin:18px 0 22px;padding:0;color:#acbdcd;font-size:11px;line-height:1.6}
.ks-plan-body>ul>li{padding:8px 0;border-bottom:1px solid #ffffff0b;overflow-wrap:anywhere}
.ks-plan-body>ul>li:first-child{padding-top:0;color:#d6e2eb}
.ks-plan-body>ul>li:first-child>strong{display:inline-block;margin-right:4px;color:var(--item-accent,#c5d9e6);font-size:20px;font-weight:500;line-height:1}
.ks-plan-body>ul>li:last-child{padding-bottom:0;border:0;color:#8fa5b8}
.ks-plan-body>ul>li>strong{font-weight:500;color:#d7e1ed}
.ks .ks-plan-body>button,.ks-plan-body>.ks-customize-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:37px;padding:9px 12px;margin-top:auto;font-size:11px;font-weight:500;line-height:1.4;text-align:center;white-space:normal}
.ks-plan-body>.ks-customize-link{border-color:#719bad59;background:#112632;color:#b9dce9}
.ks-plan[data-current="true"] .ks-customize-link,.ks-plan[aria-current="true"] .ks-customize-link{border-color:#b9b4d063;background:#302a413d;color:#ddd4ed}
.ks-plan-body>.ks-customize-link:focus-visible{outline:2px solid #a8d7ef;outline-offset:3px}
.ks .ks-plan-terms{max-width:100ch;margin:14px 2px 0;font-size:10px;line-height:1.75;color:#788d9f}
@media(max-width:1000px){.ks-plan-grid{gap:14px}
.ks-plan-body{padding:20px 17px 18px}
.ks-plan-body>h3{font-size:23px}
.ks-plan-body>ul{font-size:10px}
}
@media(max-width:760px){.ks-plan-grid{grid-template-columns:1fr;gap:15px}
.ks-plan{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr)}
.ks .ks-plan-art{height:100%;aspect-ratio:auto;min-height:270px;border-bottom:0;border-right:1px solid #ffffff0d}
.ks-plan-art>img{object-fit:cover}
.ks-plan-body{padding:22px}
.ks-plan-body>ul{font-size:11px;margin:15px 0 18px}
.ks-plan-body>h3{font-size:25px}
.ks-plan-price{font-size:24px}
.ks-plan-art>span{left:12px;right:12px;bottom:13px;text-align:center}
}
@media(max-width:560px){.ks-plan{display:flex}
.ks .ks-plan-art{height:auto;aspect-ratio:1.75;min-height:0;border-right:0;border-bottom:1px solid #ffffff0d}
.ks-plan-art>img{object-fit:cover}
.ks-plan-art>span{left:14px;right:auto;bottom:12px}
.ks-plan-body{padding:20px}
.ks-plan-body>h3{font-size:25px;margin-bottom:10px}
.ks-plan-body>ul{margin:16px 0 20px}
.ks-plan-body>ul>li{padding:8px 0}
.ks-plan-body>ul>li:last-child{padding-bottom:0}
.ks .ks-plan-terms{font-size:10px;line-height:1.7;margin-top:13px}
}
@media(prefers-reduced-motion:reduce){.ks-plan,.ks-plan-art>img{transition:none}
.ks-plan-art:hover>img{transform:none}
}
@media(min-width:761px){.ks-preview-dialog .ks-detail{max-height:calc(94vh - 54px);max-height:calc(94dvh - 54px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#465868 #080d14}
}
@media(max-width:760px){.ks-preview-visual{top:49px}
.ks-preview-caption{top:12px;left:12px;right:12px;padding:7px 9px}
.ks-preview-caption strong{font-size:15px}
.ks-preview-caption p{font-size:10px}
#ks-demo-actions{padding:8px 12px}
#ks-demo-actions button{font-size:10px;padding:6px 8px}
.ks-preview-dialog #ks-preview-stage,.ks-has-bundle #ks-preview-stage{height:clamp(230px,35dvh,330px)}
}
@media(max-height:650px){.ks-preview-dialog #ks-preview-stage,.ks-has-bundle #ks-preview-stage{height:240px}
.ks-preview-caption p{display:none}
}
@media(max-width:760px){.ks-decal-art{left:12px;bottom:12px;width:82px;padding:8px}
.ks-decal-art img{height:60px}
.ks-decal-art figcaption{margin-top:4px;font-size:8px}
}
/* Store layout: hero, section bar, shelves and cards in the portal's black glass with thin lines and small uppercase headers. */
.ks{--item-accent:#a1bfd3;--uri:#c4a6ff}
.ks-icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.ks-i{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}
.ka .ks-primary,.ks-dialog .ks-primary{min-height:38px;padding:8px 18px;border-color:rgba(120,210,240,.5);background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.04) 48%,rgba(0,0,0,0) 49%),linear-gradient(180deg,#1f6f8b,#14495d);color:#fff}
.ka .ks-ghost,.ks-dialog .ks-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid rgba(255,255,255,.16);border-radius:2px;background:rgba(0,0,0,.28);box-shadow:none;color:var(--text);font-size:13px;font-weight:500;line-height:1.3}
.ka a.ks-ghost:hover{color:#fff;border-color:rgba(76,195,230,.55)}
.ks-admin-strip{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin:0 0 12px;padding:7px 12px;border:1px dashed rgba(255,203,129,.26);background:rgba(24,17,6,.42);font-size:12px;color:#cbbd9f}
.ks-admin-label{font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--warm)}
.ks .ks-admin-strip .ks-check{margin:0!important}
.ks-admin-strip input{position:static!important;opacity:1!important;pointer-events:auto!important;width:15px;height:15px;accent-color:#70c4e5}
.ks-admin-strip [role=status]{font-size:11px;color:#8da4b5}
.ks .ks-admin-strip a{margin-left:auto}
.ks-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin:4px 0 14px;padding:0 2px}
.ks .ks-top h1{font-size:30px;letter-spacing:.01em}
.ks .ks-top p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.ks .ks-header-actions{gap:8px 18px}
.ks-availability{margin:0 0 12px}
.ks .ks-pending{display:flex;align-items:center;gap:8px;padding:9px 14px;margin:0 0 12px;font-size:12px}
.ks .ks-pending span{margin-right:auto;color:var(--text)}
.ks .ks-pending button{min-height:28px;padding:5px 10px;font-size:12px}
.ks-kind{display:block;font-size:9px;font-weight:600;letter-spacing:.13em;line-height:1.5;text-transform:uppercase;color:var(--item-accent);margin:0}
.ks-parts{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.ks-parts li{display:inline-flex;align-items:center;gap:6px;padding:4px 9px 4px 7px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);font-size:11px;line-height:1.3;color:#c6d3dd;list-style:none}
.ks-parts .ks-i{color:var(--showcase-accent,var(--item-accent))}
.ks-parts-icons{gap:4px}
.ks-parts-icons li{padding:5px}
.ks .ks-fit{display:flex;align-items:center;gap:6px;margin:0;font-size:11px;line-height:1.45;color:var(--muted)}
.ks .ks-fit-owned{color:#8fdcb4}
.ks .ks-trust{margin:0;font-size:11px;color:var(--muted)}
.ks .ks-saving,.ks-dialog .ks-saving{margin:3px 0 0;font-size:11px;color:#8fdcb4}
.ks-price small{font-size:10px;font-weight:400;color:var(--muted);margin-left:3px;white-space:nowrap}
.ks-price .ks-from{margin:0 3px 0 0;font-size:11px}
/* Hero: live stage on the left, the selected bundle on the right, the other featured bundles below it. */
.ks-hero{--showcase-accent:#a1bfd3;position:relative;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr);grid-template-rows:1fr auto;min-height:470px;margin:0 0 14px;border:1px solid var(--line);background:var(--sheen),rgba(6,9,13,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 36px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%);overflow:hidden}
.ks-hero-stage{position:relative;grid-column:1;grid-row:1/3;min-width:0;min-height:470px;background:radial-gradient(ellipse at 45% 55%,color-mix(in srgb,var(--showcase-accent) 14%,transparent),transparent 62%),#04080d;isolation:isolate}
.ks-hero-stage>img,.ks-hero-stage>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .5s ease}
.ks-hero-stage>canvas{opacity:0;cursor:grab;touch-action:pan-y}
.ks-hero-stage>canvas:active{cursor:grabbing}
.ks-hero.ks-model-ready .ks-hero-stage>canvas{opacity:1}
.ks-hero.ks-model-ready .ks-hero-stage>img{opacity:0;pointer-events:none}
.ks .ks-motion{position:absolute;z-index:2;left:14px;top:14px;padding:7px!important;min-height:0;line-height:0;border:1px solid #ffffff1c;background:#070c14a6;color:#8ca2b3}
.ks-hero-body{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;min-width:0;padding:30px 30px 22px;border-left:1px solid var(--line)}
.ks-hero-body[hidden]{display:none}
.ks-hero-body .ks-kind{color:var(--showcase-accent)}
.ks .ks-hero-body h2{margin:-6px 0 0;font-size:42px;font-weight:500;line-height:1.05;letter-spacing:-.01em;color:#eef4f9}
.ks-hero-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:4px}
.ks-hero-price .ks-price{font-size:28px;font-weight:500;color:#eef4f9;font-variant-numeric:tabular-nums}
.ks-hero-price>span{font-size:11px;color:var(--muted)}
.ks-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ks-hero-body .ks-trust{margin-top:-6px}
.ks-hero-picks{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.ks .ks-hero-picks button{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:0;padding:9px 12px;border:0;border-radius:0;background:rgba(5,8,12,.94);box-shadow:none;text-align:left;font-weight:400}
.ks .ks-hero-picks button:hover{background:rgba(255,255,255,.05);border:0}
.ks-hero-picks img{width:58px;height:36px;flex:none;object-fit:cover;border:1px solid var(--line);opacity:.75}
.ks-hero-picks b{display:block;font-size:12px;font-weight:500;color:var(--text)}
.ks-hero-picks small{display:block;font-size:10px;color:var(--muted)}
.ks .ks-hero-picks button[aria-pressed=true]{background:rgba(255,255,255,.07);box-shadow:inset 2px 0 0 var(--showcase-accent)}
.ks .ks-hero-picks button[aria-pressed=true] img{opacity:1}
/* Section bar */
.ks-nav{position:sticky;top:var(--ks-sticky-top,0px);z-index:30;margin:0 0 16px;border:1px solid var(--line);background:rgba(6,9,13,.9);box-shadow:0 10px 24px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.ks-nav-inner{display:flex;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.ks-nav-inner::-webkit-scrollbar{display:none}
.ks .ks-nav a{flex:none;display:inline-flex;align-items:center;padding:12px 15px 10px;border-bottom:2px solid transparent;font-size:11px;letter-spacing:.09em;line-height:1.2;text-transform:uppercase;white-space:nowrap;color:var(--muted)}
.ks .ks-nav a:hover{color:#fff;background:rgba(255,255,255,.03)}
.ks .ks-nav a[aria-current=true]{color:#fff;border-bottom-color:var(--accent);background:rgba(255,255,255,.04)}
.ks .ks-nav a:last-child{margin-left:auto}
/* Shelves */
.ks-shelf{margin:0 0 16px;border:1px solid var(--line);background:var(--sheen),rgba(6,9,13,.74);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 36px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%);scroll-margin-top:calc(var(--ks-sticky-top,0px) + 58px)}
.ks-shelf-head{display:flex;align-items:baseline;gap:8px 24px;padding:14px 18px 11px;border-bottom:1px solid var(--line)}
.ks .ks-shelf-head h2{flex:none;margin:0;font-size:11px;font-weight:600;letter-spacing:.16em;line-height:1.5;text-transform:uppercase;color:var(--text)}
.ks .ks-shelf-head p{margin:0 0 0 auto;max-width:72ch;font-size:12px;line-height:1.5;color:var(--muted);text-align:right}
.ks-shelf-grid{display:grid;gap:14px;padding:16px 18px 18px}
.ks-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.ks-grid-bundles{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ks-shelf:not(.ks-open) .ks-grid-compact>:nth-child(n+5),.ks-shelf:not(.ks-open) .ks-grid-bundles>:nth-child(n+7){display:none}
.ks .ks-subhead{margin:4px 18px -4px;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.ks .ks-shelf-more{display:flex;margin:-4px auto 16px;min-height:34px;padding:6px 20px;font-weight:500}
.ks .ks-shelf-more[hidden]{display:none}
/* Cards */
.ks-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid rgba(255,255,255,.08);background:rgba(3,6,10,.74);transition:border-color .18s ease}
.ks-card:hover,.ks-card:focus-within{border-color:color-mix(in srgb,var(--item-accent) 55%,transparent)}
.ks .ks-card .ks-art{position:relative;display:block;width:100%;height:auto;min-height:0;aspect-ratio:16/10;margin:0;padding:0;overflow:hidden;border:0;border-bottom:1px solid rgba(255,255,255,.06);border-radius:0;box-shadow:none;background:radial-gradient(ellipse at 50% 58%,color-mix(in srgb,var(--item-accent) 15%,#0a131d),#04080d 74%);cursor:pointer}
.ks .ks-card .ks-art:hover{border-color:rgba(255,255,255,.06);background:radial-gradient(ellipse at 50% 58%,color-mix(in srgb,var(--item-accent) 18%,#0a131d),#04080d 74%)}
.ks-card .ks-art-img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;filter:none;transition:transform .45s ease,opacity .35s ease}
.ks-card .ks-art-img.ks-art-contain{object-fit:contain;padding:9% 14%;filter:drop-shadow(0 10px 14px #0009)}
.ks-card:hover .ks-art-img{transform:scale(1.03)}
.ks .ks-card .ks-card-model{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .35s ease}
.ks .ks-card .ks-art.ks-model-ready .ks-card-model{opacity:1}
.ks .ks-card .ks-art.ks-model-ready .ks-art-img{opacity:0}
.ks-art-tag,.ks-art-owned{position:absolute;z-index:2;top:9px;display:inline-flex;align-items:center;gap:5px;padding:3px 7px;font-size:10px;line-height:1.4;pointer-events:none}
.ks-art-tag{left:9px;background:#060b12d9;border:1px solid rgba(255,255,255,.14);color:#c9d6e0}
.ks-art-owned{right:9px;background:#06140ed9;border:1px solid #63d69e55;color:#9de4bd}
.ks-art-owned .ks-i{width:11px;height:11px;stroke-width:6}
.ks-card-body{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0;padding:12px 14px 14px}
.ks .ks-card h3{margin:0;font-size:15px;font-weight:500;line-height:1.3;letter-spacing:0;color:var(--text);overflow-wrap:anywhere}
.ks-card-action{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}
.ks-card .ks-price{font-size:16px;font-weight:500;line-height:1.2;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.ks .ks-card-action button,.ks .ks-card-action .ks-customize-link{flex:none;width:auto;min-height:30px;margin:0;padding:5px 12px;font-size:12px}
.ks .ks-card .ks-uridium{display:flex;width:100%;min-height:28px;margin:6px 0 0;padding:4px 10px;font-size:11px;font-weight:500;color:var(--uri);background:rgba(90,60,150,.16)!important;border-color:rgba(196,166,255,.32)!important}
.ks .ks-card .ks-extra{margin-top:6px;padding-top:8px;border-top:1px solid var(--line)}
.ks .ks-card .ka-muted{margin:4px 0 0;font-size:11px}
.ks-card-bundle .ks-art{aspect-ratio:16/9!important}
.ks .ks-card-bundle h3{font-size:21px;line-height:1.15}
.ks-card-bundle .ks-card-body{gap:8px;padding:14px 16px 16px}
.ks-card-bundle .ks-price{font-size:19px}
.ks-grid-compact .ks-card-bundle h3{font-size:17px}
.ks-grid-compact .ks-card-bundle .ks-price{font-size:16px}
/* Supporter shelf */
.ks .ks-plans{padding:16px 18px 2px;margin:0}
.ks-plan-grid{margin-top:0}
.ks-plan[data-recommended=true]{border-color:#7fc7e09c;box-shadow:inset 0 0 0 1px #4cc3e630,0 14px 30px #0006}
.ks-plan-flag{position:absolute;z-index:2;top:10px;right:10px;padding:4px 8px;border:1px solid #4cc3e680;background:#0b2532e8;color:#dff6ff;font-size:10px;letter-spacing:.04em;line-height:1.3}
.ks-plan[data-current=true] .ks-plan-flag{border-color:#b9b4d080;background:#231f33e8;color:#e6defa}
.ks .ks-plan-body>button.ks-primary{color:#fff}
.ks .ks-plan-terms{margin:12px 0 0}
.ks-shelf .sr-weekly{margin:16px 18px 18px}
/* Where the money goes */
.ks-funding-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:0;border-bottom:1px solid var(--line)}
.ks .ks-funding-grid .ks-funding{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin:0;padding:16px 18px;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.ks .ks-funding-grid .ks-funding>div{border:0;padding:0}
.ks .ks-funding-grid .ks-funding b,.ks .ks-funding-grid .ks-funding .ka-reserve b{font-size:18px;margin-top:3px}
.ks .ks-funding-grid .ks-funding span{font-size:10px}
.ks .ks-funding-grid .ks-month-progress,.ks .ks-funding-grid .ks-funding-note{grid-column:1/-1}
.ks .ks-funding-grid .ks-funding-note{margin:0;font-size:11px}
.ks .ks-funding-grid .ks-donation{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;margin:0;padding:18px;border:0;border-left:1px solid var(--line);background:rgba(255,255,255,.02)}
.ks .ks-donation h3{margin:0;font-size:16px;font-weight:500;color:var(--text)}
.ks .ks-donation p{margin:0;font-size:12px;color:var(--muted)}
.ks .ks-donation button{margin-top:4px}
.ks .ks-funding-details{margin:0;padding:0;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.ks .ks-funding-details>summary{padding:12px 18px;font-size:12px;color:var(--accent)}
.ks .ks-funding-details>summary:after{content:'+';margin-left:auto;font-size:16px;color:var(--muted)}
.ks .ks-funding-details[open]>summary:after{content:'−'}
.ks .ks-account{margin-top:4px}
@media(max-width:1099px){
 .ks-hero{grid-template-columns:minmax(0,1.35fr) minmax(290px,1fr)}
 .ks .ks-hero-body h2{font-size:34px}
 .ks-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ks-grid-bundles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ks-shelf:not(.ks-open) .ks-grid-compact>:nth-child(n+4),.ks-shelf:not(.ks-open) .ks-grid-bundles>:nth-child(n+5){display:none}
 .ks .ks-shelf-head{flex-wrap:wrap}
 .ks .ks-shelf-head p{margin:0;text-align:left;flex-basis:100%}
}
@media(max-width:860px){
 .ks-hero{display:flex;flex-direction:column;min-height:0}
 .ks-hero-stage{min-height:0;height:auto;aspect-ratio:16/10}
 .ks-hero-body{order:2;padding:20px 18px 16px;border-left:0;border-top:1px solid var(--line)}
 .ks-hero-picks{order:3;display:flex;overflow-x:auto;border-left:0;scrollbar-width:none}
 .ks-hero-picks::-webkit-scrollbar{display:none}
 .ks .ks-hero-picks button{flex:0 0 auto;min-width:160px}
 .ks-funding-grid{grid-template-columns:1fr}
 .ks .ks-funding-grid .ks-donation{border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:760px){
 .ks-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ks-grid-bundles{grid-template-columns:1fr}
 .ks-shelf:not(.ks-open) .ks-grid-compact>:nth-child(4){display:flex}
 .ks-shelf:not(.ks-open) .ks-grid-compact>:nth-child(n+5),.ks-shelf:not(.ks-open) .ks-grid-bundles>:nth-child(n+4){display:none}
 .ks-shelf-grid{padding:12px}
 .ks-shelf-head{padding:12px 12px 10px}
 .ks .ks-subhead{margin:4px 12px -2px}
 .ks .ks-plans{padding:12px 12px 2px}
 .ks-shelf .sr-weekly{margin:12px}
 .ks-card-body{padding:10px 11px 12px}
 .ks .ks-card h3{font-size:14px}
 .ks-card-action{flex-wrap:wrap;gap:6px}
 .ks .ks-card-action button,.ks .ks-card-action .ks-customize-link{width:100%}
 .ks-grid-bundles .ks-card-action{flex-wrap:nowrap}
 .ks-grid-bundles .ks-card-action button{width:auto}
 .ks .ks-top{flex-direction:column;align-items:flex-start}
 .ks .ks-header-actions{justify-content:flex-start}
 .ks .ks-hero-body h2{font-size:32px}
 .ks .ks-nav a{padding:12px 12px 10px}
 .ks .ks-nav a:last-child{margin-left:0}
 .ks .ks-funding-grid .ks-funding{grid-template-columns:1fr 1fr;padding:14px 12px}
}
@media(max-width:420px){
 .ks .ks-pending{flex-wrap:wrap}
 .ks .ks-pending span{flex-basis:100%}
 .ks-parts li{font-size:10.5px;padding:3px 7px 3px 6px}
}
@media(prefers-reduced-motion:reduce){.ks-hero-stage>img,.ks-hero-stage>canvas,.ks-card,.ks-card .ks-art-img,.ks .ks-card .ks-card-model{transition:none}.ks-card:hover .ks-art-img{transform:none}}
.ks .ks-admin-strip .ks-check span{font-size:12px!important;color:#d9e3ea}
.ks-plans+.ks-subhead,.ks .ks-plans~.ks-subhead{margin-top:18px}
.ks-parts-icons{gap:10px;margin:1px 0 2px}
.ks-parts-icons li{padding:0;border:0;background:none}
.ks-parts-icons .ks-i{width:15px;height:15px}
.ks-art-gen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:14px 20px;pointer-events:none}
.ks-art-list{flex-direction:column;align-items:flex-start;gap:7px}
.ks-art-list>span{display:flex;align-items:center;gap:9px;max-width:100%;font-size:12px;line-height:1.3;color:#d9e4ec;text-align:left;overflow-wrap:anywhere}
.ks-art-list .ks-i{width:17px;height:17px;color:var(--item-accent)}
.ks-art-list .ks-art-more{padding-left:26px;font-size:11px;color:var(--muted)}
.ks-art-decals{flex-wrap:wrap;align-content:center;gap:10px 16px;padding:16px 28px}
.ks-art-decals img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 4px 8px #000a)}
/* "For your ships": a compact strip so it reads differently from the full shelves below. */
.ks-grid-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ks-shelf:not(.ks-open) .ks-grid-strip>:nth-child(n+7){display:none}
.ks-grid-strip .ks-card{display:grid;grid-template-columns:clamp(112px,38%,156px) minmax(0,1fr)}
.ks .ks-grid-strip .ks-card .ks-art{aspect-ratio:auto!important;height:100%;min-height:104px;border-bottom:0;border-right:1px solid rgba(255,255,255,.06)}
.ks-grid-strip .ks-parts,.ks-grid-strip .ks-art-tag,.ks-grid-strip .ks-art-owned,.ks .ks-grid-strip .ks-card .ks-uridium{display:none}
.ks-grid-strip .ks-card-body{gap:3px;padding:10px 12px}
.ks .ks-grid-strip .ks-card h3{font-size:14px}
.ks .ks-grid-strip .ks-card .ks-price{font-size:14px}
.ks-grid-strip .ks-card-action{padding-top:6px}
.ks .ks-grid-strip .ks-card-action button{width:auto;min-height:28px;padding:4px 10px;font-size:11px}
@media(max-width:1099px){.ks-grid-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ks-shelf:not(.ks-open) .ks-grid-strip>:nth-child(n+5){display:none}}
@media(max-width:760px){.ks-grid-strip{grid-template-columns:1fr}.ks-shelf:not(.ks-open) .ks-grid-strip>:nth-child(n+4){display:none}.ks-shelf:not(.ks-open) .ks-grid-strip>:nth-child(4){display:none}.ks .ks-grid-strip .ks-card-action{flex-wrap:nowrap}}
/* Bundle reveal: the showcase fills the dialog; name, contents, price and the buy button sit on the stage.
   The contents list slides in from the right on request. */
.ks-reveal[hidden]{display:none!important}
.ks-detail-close{display:none!important}
body .ks-preview-dialog.ks-reveal-mode{width:min(1480px,calc(100vw - 24px));max-width:none!important;height:min(900px,calc(100vh - 24px));height:min(900px,calc(100dvh - 24px));max-height:none!important;overflow:hidden}
.ks-preview-dialog.ks-reveal-mode[open]{display:flex;flex-direction:column}
.ks-reveal-mode>header{position:relative;flex:none}
.ks-reveal-mode .ks-preview-body{position:relative;display:block;flex:1;min-height:0;overflow:hidden}
.ks-reveal-mode .ks-preview-visual{position:absolute;inset:0;display:block;align-self:stretch;justify-self:stretch;background:#04080d}
.ks-reveal-mode #ks-preview-stage{position:absolute;inset:0;height:auto!important;background:radial-gradient(ellipse at 62% 48%,var(--item-tint,#5f9cbb15),#04080d 70%)}
.ks-reveal-mode #ks-preview-tabs{position:absolute;z-index:4;top:12px;left:16px;right:auto;width:auto;max-width:calc(100% - 32px);padding:4px;border:1px solid var(--line);background:#060b12d9}
.ks-reveal-mode.ks-details-open .ks-view-controls{right:min(406px,calc(92% + 16px))}
.ks-preview-dialog #ks-preview-tabs,.ks-preview-dialog #ks-demo-actions{min-height:0;height:auto;line-height:normal}
.ks-reveal-mode .ks-preview-caption{left:auto;right:16px;top:12px;max-width:360px;background:#08121dd9}
.ks-reveal-mode .ks-preview-caption[hidden]{display:none}
.ks-reveal-mode.ks-details-open .ks-preview-caption{right:auto;left:16px;top:64px}
.ks-reveal{display:none}
.ks-reveal-mode .ks-reveal{position:absolute;z-index:3;left:0;top:0;bottom:58px;width:min(430px,36%);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:13px;padding:70px 28px 24px;background:linear-gradient(90deg,rgba(4,7,11,.92),rgba(4,7,11,.78) 60%,rgba(4,7,11,0));pointer-events:none}
.ks-reveal>*{pointer-events:auto}
.ks-reveal .ks-kind{color:var(--item-accent)}
.ks-dialog .ks-reveal h3{margin:-6px 0 0;font-size:42px;font-weight:500;line-height:1.04;letter-spacing:-.01em;color:#eef4f9}
.ks-reveal .ks-parts .ks-i{color:var(--item-accent)}
.ks-reveal-tiers{display:flex;flex-wrap:wrap;gap:6px}
.ks-dialog .ks-reveal-tiers button{flex-direction:column;align-items:flex-start;gap:1px;min-height:0;padding:6px 11px;border-color:rgba(255,255,255,.14);background:rgba(0,0,0,.35);box-shadow:none;font-weight:400;text-align:left}
.ks-reveal-tiers b{font-size:12px;font-weight:500;color:var(--text)}
.ks-reveal-tiers small{font-size:10px;color:var(--muted)}
.ks-dialog .ks-reveal-tiers button[aria-pressed=true]{border-color:var(--item-accent);background:rgba(255,255,255,.07)}
.ks-reveal-price .ks-price{font-size:30px;font-weight:500;line-height:1.1;color:#eef4f9;font-variant-numeric:tabular-nums}
.ks-reveal-price .ks-price small{font-size:11px}
.ks-reveal-actions{display:flex;flex-wrap:wrap;gap:8px}
.ks-dialog #ks-reveal-buy{min-width:150px}
.ks-dialog .ks-reveal-note,.ks-dialog .ks-reveal .ks-trust{margin:0;font-size:11px;line-height:1.5;color:var(--muted)}
.ks-dialog .ks-reveal-note:empty{display:none}
.ks-reveal-mode #ks-demo-actions{position:absolute;z-index:4;left:0;right:0;bottom:0;height:58px;align-items:center;flex-wrap:nowrap;overflow-x:auto;padding:0 16px;border-top:1px solid var(--line);background:#060b12f2;scrollbar-width:thin}
.ks-demo-label{flex:none;margin:0 4px 0 10px;padding-left:12px;border-left:1px solid var(--line);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
#ks-demo-actions button{flex:none}
.ks-reveal-mode .ks-view-controls{position:absolute;z-index:4;right:16px;bottom:68px;min-height:0;padding:0;border:0;gap:12px}
.ks-reveal-mode .ks-view-controls p{text-shadow:0 1px 4px #000}
.ks-reveal-mode .ks-detail{position:absolute;z-index:6;top:0;right:0;bottom:0;width:min(390px,92%);max-height:none;overflow-y:auto;overscroll-behavior:contain;border-left:1px solid var(--line);background:#070c13f7;box-shadow:-24px 0 48px #0009;transform:translateX(104%);visibility:hidden;transition:transform .28s ease,visibility 0s linear .28s}
.ks-reveal-mode.ks-details-open .ks-detail{transform:none;visibility:visible;transition:transform .28s ease}
.ks-dialog.ks-reveal-mode .ks-detail-close{display:inline-flex!important;position:absolute;top:10px;right:10px;width:30px;min-height:30px;padding:0;font-size:20px;font-weight:400;background:transparent;border-color:transparent;box-shadow:none}
.ks-reveal-mode .ks-detail>.ks-kind{padding-right:36px}
.ks-reveal-mode .ks-detail-purchase{margin-top:18px}
/* Hangar, profile and the original hull: the stage shows a scene, so the panel shrinks to name, price and buy. */
.ks-reveal-scene .ks-reveal{top:64px;bottom:auto;left:auto;right:16px;width:auto;max-width:300px;padding:14px 16px;gap:8px;border:1px solid var(--line);background:#060b12eb}
.ks-reveal-scene.ks-details-open .ks-reveal{display:none}
.ks-reveal-scene .ks-reveal :is(.ks-parts,.ks-reveal-tiers,.ks-reveal-note,.ks-trust,#ks-reveal-more){display:none}
.ks-dialog.ks-reveal-scene .ks-reveal h3{font-size:22px;margin:0}
.ks-reveal-scene .ks-reveal-price .ks-price{font-size:20px}
@media(max-width:1099px){.ks-reveal-mode .ks-reveal{width:min(380px,42%);padding:64px 20px 20px}.ks-dialog .ks-reveal h3{font-size:34px}}
@media(max-width:760px){
 body .ks-preview-dialog.ks-reveal-mode{width:100vw;max-width:100vw!important;height:100vh;height:100dvh;max-height:100dvh!important;margin:0;border:0}
 .ks-reveal-mode .ks-preview-body{overflow-y:auto;overscroll-behavior:contain}
 .ks-reveal-mode .ks-preview-visual{position:static;display:flex;flex-direction:column}
 .ks-reveal-mode #ks-preview-tabs{position:static;flex-wrap:nowrap;overflow-x:auto;border:0;border-bottom:1px solid var(--line);background:#070c13}
 .ks-reveal-mode #ks-preview-tabs button{flex:none;white-space:nowrap}
 .ks-reveal-mode #ks-preview-stage{position:relative;flex:none;height:clamp(230px,46dvh,420px)!important}
 .ks-reveal-mode .ks-reveal,.ks-reveal-scene .ks-reveal{position:static;width:auto;max-width:none;padding:16px 16px 14px;gap:11px;border:0;background:none}
 .ks-reveal-scene .ks-reveal :is(.ks-parts,.ks-reveal-tiers,.ks-reveal-note,.ks-trust,#ks-reveal-more){display:flex}
 .ks-dialog .ks-reveal h3,.ks-dialog.ks-reveal-scene .ks-reveal h3{font-size:30px}
 .ks-reveal-mode #ks-demo-actions{position:static;height:auto;padding:10px 12px;flex-wrap:nowrap}
 .ks-demo-label{margin-left:4px}
 .ks-reveal-mode .ks-view-controls{position:static;padding:8px 16px 12px}
 .ks-reveal-mode .ks-detail{position:static;width:auto;transform:none;visibility:visible;display:none;box-shadow:none;border-left:0;border-top:1px solid var(--line);transition:none}
 .ks-reveal-mode.ks-details-open .ks-detail{display:flex}
 .ks-dialog.ks-reveal-mode .ks-detail-close{display:none!important}
}
@media(prefers-reduced-motion:reduce){.ks-reveal-mode .ks-detail,.ks-reveal-mode.ks-details-open .ks-detail{transition:none}}
/* Store search: lives at the right end of the section bar; on phones it takes its own row above the links. */
.ks-nav{display:flex;align-items:stretch}
.ks-nav-inner{flex:1;min-width:0}
.ks-search{position:relative;flex:none;display:flex;align-items:center;padding:6px 8px;border-left:1px solid var(--line)}
.ks-search-field{display:block;margin:0;color:var(--muted)}
.ks-search-field .ks-i{position:absolute;left:19px;top:50%;width:14px;height:14px;margin-top:-7px;stroke-width:5;pointer-events:none}
.ks .ks-search input[type=search]{box-sizing:border-box;display:block;width:210px;height:30px;margin:0;padding:0 30px 0 32px;border:1px solid rgba(255,255,255,.14);border-radius:2px;background:rgba(0,0,0,.4);box-shadow:none;color:var(--text);font:inherit;font-size:13px;line-height:30px;outline:0;transition:border-color .15s ease,width .2s ease;-webkit-appearance:none;appearance:none}
.ks .ks-search input[type=search]:focus{width:250px;border-color:rgba(76,195,230,.6)}
.ks .ks-search input[type=search]::placeholder{color:var(--muted);opacity:1}
.ks .ks-search input[type=search]::-webkit-search-cancel-button{display:none}
.ks .ks-search-field:focus-within{color:var(--text)}
.ks .ks-search-clear{position:absolute;right:12px;top:50%;display:grid;place-items:center;width:24px;height:24px;min-height:0;margin:-12px 0 0;padding:0;border:0;border-radius:2px;background:transparent;box-shadow:none;color:var(--muted);font-size:17px;line-height:1}
.ks .ks-search-clear:hover{color:#fff;background:rgba(255,255,255,.06)}
.ks .ks-search-clear[hidden]{display:none}
.ks .ks-nav a[hidden]{display:none}
.ks-nav-inner.ks-nav-more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent)}
.ks .ks-search-summary{margin:-6px 2px 12px;font-size:13px;color:var(--muted)}
.ks .ks-search-summary[hidden]{display:none}
.ks-shelf[hidden]{display:none}
.ks-searching .ks-hero,.ks-searching .ks-pending,.ks-searching .ks-account,.ks-searching .ks-subhead,.ks-searching .ks-plan-terms,.ks-searching .sr-weekly,.ks-searching .ks-shelf-more{display:none!important}
.ks-searching .ks-plans:not(:has(.ks-plan:not(.ks-miss))){display:none}
.ks-searching .ks-shelf-grid:not(:has(>:not(.ks-miss))){display:none}
.ks .ks-miss{display:none!important}
@media(max-width:760px){
 .ks-nav{flex-direction:column}
 .ks-search{order:-1;padding:8px;border-left:0;border-bottom:1px solid var(--line)}
 .ks-search-field{flex:1}
 .ks .ks-search input[type=search],.ks .ks-search input[type=search]:focus{width:100%;font-size:16px}
}

.ks-purchase-result{margin:20px 0;padding:24px;border:1px solid #68c4a0;border-radius:12px;background:linear-gradient(120deg,#12352e,#111e29);color:#edf8f3}
.ks-purchase-result[hidden]{display:none}.ks-purchase-result h2{margin-top:0}.ks-purchase-name{font-size:1.25rem;font-weight:700}.ks-purchase-result a{display:inline-block;margin-top:8px}
.ks-is-owned{border-color:#68c4a0!important;box-shadow:inset 0 0 0 1px #68c4a033}.ks-owned-tiers{color:#9ce2c0;font-size:.85rem}.ks-pending{border-left:3px solid #d8ad65;margin:16px 0}.ks-order-history{margin:20px 0;padding:18px;border:1px solid #405363;border-radius:10px}.ks-order-history summary{cursor:pointer;font-weight:700}.ks-orders-scroll{overflow-x:auto}.ks-order-history table{width:100%;border-collapse:collapse}.ks-order-history th,.ks-order-history td{text-align:left;padding:12px;border-bottom:1px solid #405363;vertical-align:top}.ks-order-history time{white-space:nowrap}

.ks-order-history table{min-width:680px}.ks-order-history th,.ks-order-history td:nth-child(n+2),.ks-order-history .ks-status{white-space:nowrap;word-break:normal;overflow-wrap:normal}.ks-order-history td:first-child{min-width:180px;word-break:normal;overflow-wrap:normal}

@media(max-width:760px){
 .ks-orders-scroll{overflow:visible}
 .ks-order-history table,.ks-order-history tbody{display:block;width:100%;min-width:0}
 .ks-order-history thead{display:none}
 .ks-order-history tr{display:block;margin-top:14px;padding:12px;border:1px solid #405363;border-radius:8px;background:#101c27}
 .ks-order-history td,.ks-order-history td:first-child,.ks-order-history td:nth-child(n+2){display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;min-width:0;padding:6px 0;border:0;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .ks-order-history td::before{content:attr(data-label);color:#9bafbf;font-size:.8rem;font-weight:400}
 .ks-order-history td:first-child{display:block;padding:0 0 10px;margin-bottom:6px;border-bottom:1px solid #405363;font-weight:600;line-height:1.5}
 .ks-order-history td:first-child::before{display:block;margin-bottom:4px}
 .ks-order-history time{white-space:normal}
 .ks-order-history .ks-status{display:inline-block;margin-left:4px;vertical-align:middle}
}

/* Section bar as tabs (keepalive-store.js selectSection): one shelf, fully opened, right below the bar. */
.ks:not(.ks-searching) .ks-tab-hidden{display:none}
.ks-tabbed .ks-shelf-more{display:none!important}
/* Community boosts: a price list (store-cards.php ksBoostRow), not cards. */
.ks-boost-list{margin:10px 18px 14px;border-top:1px solid var(--line)}
.ks-boost{display:grid;grid-template-columns:minmax(150px,13em) minmax(0,1fr) auto;align-items:baseline;gap:4px 18px;padding:10px 0;border-bottom:1px solid var(--line)}
.ks-boost-name{margin:0;font-size:14px;font-weight:500;color:var(--text)}
.ks-boost-effect{margin:0;font-size:13px;line-height:1.45;color:#c3d0db}
.ks-boost-state{display:block;font-size:12px;color:#4cc3e6}
.ks-boost-buy{display:flex;align-items:center;gap:12px;align-self:center}
.ks-boost-buy .ks-price{font-size:14px;font-weight:500;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.ks .ks-boost-buy button{width:auto;min-height:30px;margin:0;padding:5px 12px;font-size:12px}
.ks-shelf:not(.ks-open) .ks-boost-list>:nth-child(n+6){display:none}
@media (max-width:640px){.ks-boost-list{margin:10px 12px 12px}.ks-boost{grid-template-columns:minmax(0,1fr) auto;gap:2px 12px}.ks-boost-effect{grid-column:1/-1;grid-row:2}}
/* Groups inside a shelf (store-catalog.php $ksGrouped): a small heading per group; the overview shows the first group. */
.ks .ks-subgroup>.ks-subhead{margin:16px 18px -6px}
.ks-subgroup+.ks-subgroup{border-top:1px solid var(--line)}
.ks-shelf:not(.ks-open) .ks-subgroup~.ks-subgroup{display:none}
.ks-searching .ks-subgroup:not(:has([data-search]:not(.ks-miss))){display:none}
