/* BASED website 0.15.1. Shared shell + store; no historical homepage overrides. */
:root{--web-bg:#0b101b;--web-surface:#131b2a;--web-line:#2b374d;--web-text:#f4f6ff;--web-muted:#b6c2d6;--web-cyan:#79e4d5;--web-blue:#9abaff;--web-violet:#bba1ff}
[tabindex]:focus-visible{outline:2px solid var(--web-cyan);outline-offset:5px}
.home-page,.shop-page,.economy-page,.updates-page{background:var(--web-bg);color:var(--web-text);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.masthead{width:min(100%,1248px);min-height:88px;margin:auto;padding:17px 40px;display:flex;align-items:center;gap:50px;border-bottom:1px solid var(--web-line)}
.site-brand{display:inline-flex;align-items:center;gap:11px;flex:none;color:var(--web-text);font-size:25px;font-weight:850;letter-spacing:-.045em;line-height:1;text-decoration:none}
.site-brand img{width:40px;height:40px;object-fit:contain;border-radius:4px}
.site-brand>span{display:flex;flex-direction:column;gap:6px}.site-brand small{font-size:12px;font-weight:600;letter-spacing:.2em;color:var(--web-muted)}
.site-nav{display:flex;flex:1;align-items:center;gap:27px;min-width:0}.site-nav a{display:inline-flex;align-items:center;min-height:46px;color:var(--web-muted);border-bottom:2px solid transparent;font-size:14px;font-weight:550;white-space:nowrap}
.site-nav a:hover{color:var(--web-text)}.site-nav a[aria-current=page]{border-color:var(--web-violet);color:var(--web-text)}
.header-join{display:inline-flex;align-items:center;gap:14px;min-height:44px;color:var(--web-cyan);font-size:14px;white-space:nowrap}
.header-join:hover{text-decoration:underline;text-underline-offset:5px}
.quiet-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--web-muted);font-size:14px;text-decoration:underline;text-decoration-color:#697b9c;text-underline-offset:5px}
.quiet-link:hover{color:var(--web-text)}
.home-page .button,.shop-page .button{border-radius:4px;box-shadow:none;transform:none;font-size:14px;min-height:48px}
.home-page .primary,.shop-page .primary{background:var(--web-cyan);border-color:var(--web-cyan);color:#102d2b}
.home-page .primary:hover,.shop-page .primary:hover{background:#a3eee3;border-color:#a3eee3}
.page-label{font-size:12px;letter-spacing:.09em;font-weight:650;color:var(--web-violet);text-transform:uppercase;margin:0 0 15px}
.simple-footer{max-width:1248px;padding:28px 40px 34px;margin:auto;display:flex;align-items:center;gap:20px 28px;flex-wrap:wrap;border-top:1px solid var(--web-line);color:var(--web-muted);font-size:13px}
.footer-brand{font-size:23px;letter-spacing:-.04em;color:var(--web-text);font-weight:800;min-height:44px;display:inline-flex;align-items:center;gap:8px}.footer-brand span{font-size:11px;font-weight:550;letter-spacing:.1em;color:var(--web-muted)}
.simple-footer nav{display:flex;gap:24px;margin-left:auto;flex-wrap:wrap}.simple-footer nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}.simple-footer nav a:hover{color:var(--web-cyan)}
.simple-footer>small{flex-basis:100%;font-size:12px;line-height:1.8;color:var(--web-muted)}
/* Separate store. The notice describes the actual mode from the API. */
.shop-page .shop-main{width:100%;max-width:1248px;margin:0 auto;padding:43px 40px 56px}
.shop-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:0 0 24px}.shop-heading h1{font-size:54px;font-weight:750;line-height:1.1;letter-spacing:-.055em;margin:0 0 11px}
.shop-heading .page-label{margin-bottom:13px}.shop-heading .shop-intro{font-size:16px;line-height:1.7;color:var(--web-muted);margin:0}.shop-heading .quiet-link{font-size:13px;flex:none}
.shop-notice{margin:0 0 32px;padding:13px 17px;border-left:3px solid var(--web-violet);background:#1b2139;color:#cbd2e8;font-size:13px;line-height:1.75}
.shop-notice strong{color:#ebe4ff;font-weight:650}.shop-notice .notice-tag{background:none;border:0;padding:0 10px 0 0;color:var(--web-violet);font-size:12px}
.shop-page .account{border:1px solid #46516a;background:#131b2a;border-radius:4px;min-height:46px;max-width:205px;padding:8px 11px;gap:9px;box-shadow:none;color:var(--web-text)}
.shop-page .account b{font-size:13px}.shop-page .account .avatar{background:#27315b;border:0;border-radius:2px;width:26px;height:26px;font-size:13px;color:#c9f9f1}.shop-page .account:hover{border-color:var(--web-violet)}
.shop-page .shop-tabs{display:flex;flex-wrap:wrap;gap:32px;margin:0 0 28px;padding:0;border-bottom:1px solid var(--web-line);overflow:visible}
.shop-tabs button{display:inline-flex;align-items:center;gap:9px;flex:none;width:auto;min-height:54px;padding:10px 0;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;font-size:16px;font-weight:600;color:var(--web-muted);box-shadow:none}
.shop-tabs button span{font-size:12px;color:var(--web-muted);font-weight:450}.shop-tabs button[aria-selected=true]{border-bottom-color:var(--web-cyan);color:var(--web-text);background:transparent}.shop-tabs button:hover{color:var(--web-text);background:transparent}
.shop-category-heading{display:flex;justify-content:space-between;align-items:start;gap:32px;margin-bottom:6px}
.shop-category-heading h2{font-size:27px;font-weight:700;line-height:1.2;letter-spacing:-.035em;margin:0 0 9px}
.shop-category-heading p{font-size:14px;line-height:1.75;color:var(--web-muted);margin:0;max-width:590px}
.shop-search{width:365px;max-width:42%;flex:none}.shop-search .catalog-tools{display:flex;gap:9px;margin:0}
.shop-search .search-field{flex:1;min-width:0;background:#111a2a;border:1px solid #42516b;border-radius:4px;padding:0 11px;display:flex;align-items:center}
.shop-search input{width:100%;min-width:0;height:46px;padding:0;border:0;background:transparent;color:var(--web-text);font-size:14px;outline-offset:2px}
.shop-search input::placeholder{color:var(--web-muted)}.shop-search .sort-field select{min-height:48px;max-width:135px;border:1px solid #42516b;border-radius:4px;background:#111a2a;color:var(--web-text);font-size:13px;padding:8px}
.shop-search .search-field:focus-within{border-color:var(--web-cyan);outline:2px solid var(--web-cyan);outline-offset:3px;box-shadow:none}
.shop-page .result-count{font-size:12px;color:var(--web-muted);margin:17px 0 18px}
.shop-page .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;outline-offset:5px}
.shop-page .product-card{--product-tint:#aeb9df;position:relative;min-width:0;display:flex;flex-direction:column;gap:0;padding:20px;background:var(--web-surface);border:1px solid var(--web-line);border-radius:4px;box-shadow:none;transform:none;overflow:hidden}
.shop-page .product-card:hover{transform:none;box-shadow:none;border-color:#7182a3}
.shop-page .product-card[data-tier=bronze]{--product-tint:#dfac7c}.shop-page .product-card[data-tier=silver]{--product-tint:#d6e4f5}.shop-page .product-card[data-tier=gold]{--product-tint:#efcf85}.shop-page .product-card[data-tier=diamond]{--product-tint:#8ae4f4}
.shop-page .card-kind{order:1;font-size:12px;color:var(--web-muted);letter-spacing:.055em;text-transform:uppercase;margin:0 0 9px}
.shop-page .product-image,.shop-page .role-grid .product-image,.shop-page .crate-grid .product-image{order:0;display:grid;place-items:center;height:154px;margin:-20px -20px 22px;padding:14px;background:#1c2741;border:0;border-bottom:1px solid var(--web-line);border-radius:0}
.shop-page .product-image img,.shop-page .role-grid .product-image img,.shop-page .crate-grid .product-image img{width:120px;height:120px;max-width:100%;object-fit:contain;filter:none;transform:none}
.shop-page .product-card:hover .product-image img{transform:none}
.shop-page .product-summary{order:2}.shop-page .product-card h3{font-size:21px;line-height:1.25;letter-spacing:-.025em;margin:0 0 9px;color:var(--web-text)}
.shop-page .product-card p{font-size:14px;line-height:1.65;color:var(--web-muted);margin:0 0 20px}
.shop-page .card-perks{order:3;display:flex;gap:16px;border-top:1px solid var(--web-line);margin:0 0 21px;padding:13px 0 0;font-size:12px;color:var(--web-muted)}
.shop-page .card-perks>span{flex:1;display:block}.shop-page .card-perks b{display:block;font-size:17px;line-height:1.55;color:var(--web-text);font-weight:650}
.shop-page .product-price{order:4;font-size:29px;font-weight:720;letter-spacing:-.045em;line-height:1.2;color:var(--web-text);margin-top:auto;font-variant-numeric:tabular-nums;min-width:0;overflow-wrap:anywhere}
.shop-page .price-caption{display:block;font-size:12px;font-weight:450;letter-spacing:0;color:var(--web-muted);margin-bottom:6px}
.shop-page .product-price small{display:block;font-size:13px;font-weight:450;letter-spacing:0;line-height:1.6;color:var(--web-muted);margin-top:6px}
.shop-page .product-card button{order:5;min-height:48px;margin-top:19px;padding:11px 12px;display:inline-flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:650;color:var(--web-text);background:#233149;border:1px solid #475979;border-radius:4px;box-shadow:none;transform:none}
.shop-page .product-card button::after{content:'↗';color:var(--web-cyan);font-weight:450}
.shop-page .product-card button:hover{background:#2c3d5a;border-color:var(--web-cyan)}
.shop-page .role-grid .product-image{height:118px;background:#1b2440}.shop-page .role-grid .product-image img{width:80px;height:80px}
.shop-page .crate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-page .crate-grid .product-image{height:182px}.shop-page .crate-grid .product-image img{width:155px;height:155px}
.shop-page .empty-products{grid-column:1/-1;padding:38px 0;background:none;border:0;box-shadow:none}.shop-page .empty-products h3{font-size:24px}.shop-page .empty-products p{color:var(--web-muted);font-size:15px}
.shop-page .last-order{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:16px 18px;margin:20px 0;background:#162b33;border:1px solid #3b5d64;border-radius:4px;font-size:14px}
.shop-page .last-order .button{font-size:13px;min-height:44px;padding:9px 14px}
.crate-filters{display:flex;flex-wrap:wrap;gap:9px;margin:19px 0 0}.crate-filters button{min-height:44px;padding:9px 15px;border:1px solid #46516b;border-radius:4px;background:transparent;color:var(--web-muted);font-size:13px}
.crate-filters button[aria-pressed=true]{border-color:var(--web-cyan);color:#c6f7ed;background:#173237}.crate-filters button:hover{border-color:var(--web-cyan)}
/* Comparison is an optional table, not a second visible catalog. */
.subscription-comparison{margin-top:24px;border-block:1px solid var(--web-line);background:transparent}
.subscription-comparison>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;min-height:66px;font-size:15px;font-weight:600;cursor:pointer;list-style:none}
.subscription-comparison>summary::-webkit-details-marker{display:none}.subscription-comparison>summary::after{content:'+';font-size:23px;font-weight:450;color:var(--web-violet)}.subscription-comparison[open]>summary::after{content:'−'}
.subscription-comparison summary small{margin-left:auto;color:var(--web-muted);font-size:12px;font-weight:450}
#comparison-content{min-width:0;padding:0 0 22px}.comparison-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#6878a2 #131b2a}
#comparison-content table{width:100%;min-width:650px;border-collapse:collapse;font-size:14px;text-align:left;font-variant-numeric:tabular-nums}
#comparison-content th,#comparison-content td{padding:14px 15px;border-top:1px solid var(--web-line);vertical-align:middle}#comparison-content th{font-weight:600;color:var(--web-text)}#comparison-content td{color:var(--web-muted)}#comparison-content th:first-child{padding-left:0}
#comparison-content thead th{color:var(--web-cyan)}#comparison-content p{font-size:13px;color:var(--web-muted);line-height:1.8;margin-bottom:0}
.shop-help{margin-top:22px}.shop-help>summary{font-size:15px;color:var(--web-muted);min-height:58px;padding:18px 0;cursor:pointer}.shop-help>div{max-width:760px;padding-bottom:10px}.shop-help h3{font-size:17px;margin:18px 0 9px}.shop-help p{font-size:14px;line-height:1.8;color:var(--web-muted);margin:0 0 16px}.shop-help a{color:var(--web-cyan);text-decoration:underline;text-underline-offset:4px}
/* Existing native-dialog purchase flow; comfortable reading and touch targets. */
.shop-page dialog{max-width:600px;border:1px solid #586383;border-radius:4px;background:#131b2a;padding:30px;box-shadow:0 24px 80px #0007}
.shop-page .dialog-close{position:sticky;top:0;right:auto;float:right;margin:-14px -10px -30px 0;z-index:2;background:#131b2a;border:1px solid #46516a;border-radius:4px}
.shop-page .dialog-close:hover{background:#29364d;color:#fff}
.shop-page dialog h2{font-size:32px;letter-spacing:-.04em}.shop-page dialog p,.shop-page .detail-features{font-size:15px;line-height:1.8;color:#c4cee1}.shop-page dialog small{font-size:13px}
.shop-page .detail-art{height:154px;margin-top:12px;background:#1b2743;border-radius:4px}.shop-page .detail-art img{width:125px;height:125px;filter:none}
.shop-page .detail-art:has(img[src$='.png']){height:180px}.shop-page .detail-art img[src$='.png']{width:165px;height:165px}
.shop-page .detail-features{padding-left:20px}.shop-page .demo-warning{border-radius:4px;font-size:14px}
.shop-page .crate-contents{display:block}.shop-page .crate-contents>div{border-radius:4px}.shop-page .bundle-option{border:1px solid #43516b;border-radius:4px;margin:13px 0;background:#182237}
.shop-page .bundle-option summary{display:flex;align-items:center;gap:12px;list-style:none;padding:15px;cursor:pointer;min-height:66px}.shop-page .bundle-option summary::-webkit-details-marker{display:none}.shop-page .bundle-option summary::after{content:'+';margin-left:auto;color:var(--web-cyan);font-size:23px}.shop-page .bundle-option[open] summary::after{content:'−'}
.shop-page .bundle-option summary img{width:36px;height:36px;flex:none}.shop-page .bundle-option summary b{font-size:15px;display:block;color:var(--web-text)}.shop-page .bundle-option summary small{font-size:13px;line-height:1.65;margin:5px 0 0;color:var(--web-muted)}
.shop-page .bundle-contents{padding:0 20px 17px 62px;margin:0;font-size:14px;color:#cbd5e7}.shop-page .bundle-contents small{font-size:12px;color:var(--web-muted);margin:0}
.shop-page .order-line{font-size:15px;gap:18px;align-items:center}.shop-page .order-line>span:first-child{color:var(--web-muted)}.shop-page .order-line b{overflow-wrap:anywhere;min-width:0;text-align:right}
.shop-page #change-recipient{min-height:44px;padding:0 8px;border:0;background:none;color:var(--web-cyan);font-size:14px;text-decoration:underline;text-underline-offset:4px}
.shop-page .receipt-id{user-select:all;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.shop-page #copy-receipt{font-size:14px;min-height:44px;border:1px solid #476080;background:#23344e;color:var(--web-text);border-radius:4px;padding:10px 15px;margin:10px 0}
.shop-page .receipt-support{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--web-cyan);text-decoration:underline;text-underline-offset:4px}
.shop-page .catalog-error>a{display:inline-block;color:var(--web-cyan);margin:16px 0 0;text-decoration:underline;text-underline-offset:4px;min-height:44px}
.shop-page:not(.shop-enhanced) :is(.shop-tabs,.catalog-sidebar,.catalog-tools,.shop-search,.product-grid,#store-notice,#category-description,#account,#subscription-comparison,#crate-filters){display:none!important}
/* Existing server-generated error pages share the brand shell. */
.web-error-page main{max-width:760px;margin:clamp(70px,15vh,160px) auto;padding:0 26px}.web-error-page .site-brand{width:max-content;margin-bottom:34px}.web-error-page main h1{font-size:clamp(32px,5vw,48px);letter-spacing:-.035em;line-height:1.2}.web-error-page main p{font-size:16px;color:var(--web-muted);line-height:1.8}.web-error-page main nav{display:flex;flex-wrap:wrap;gap:12px}.web-error-page main nav a{display:inline-flex;align-items:center;min-height:44px;padding:12px 18px;border:1px solid #465b78;border-radius:4px}.web-error-page main nav a:first-child{background:var(--web-cyan);color:#102d2b}
@media(max-width:1100px){.masthead{gap:30px}.site-nav{gap:20px}.shop-heading .quiet-link{max-width:160px;text-align:right;line-height:1.7}.shop-page .product-grid{gap:15px}.shop-page .product-card{padding:17px}.shop-page .product-image,.shop-page .role-grid .product-image,.shop-page .crate-grid .product-image{margin:-17px -17px 19px}.shop-page .product-card h3{font-size:20px}}
@media(max-width:950px){.masthead{padding-inline:30px;gap:25px}.site-nav{gap:18px}.shop-page .shop-main{padding-inline:30px}.shop-page .product-grid,.shop-page .crate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-category-heading{display:block}.shop-search{width:100%;max-width:none;margin-top:19px}.shop-search .search-field{max-width:330px}.shop-search .sort-field select{max-width:none}.simple-footer{padding-inline:30px}}
@media(max-width:720px){
.masthead{padding:16px 22px 0;min-height:0;flex-wrap:wrap;gap:12px 16px}.site-brand{font-size:24px}.site-brand img{width:36px;height:36px}.site-nav{order:3;flex-basis:100%;gap:10px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--web-line)}.site-nav a{font-size:13px;min-height:48px;padding:10px 0}.header-join,.shop-page .account{margin-left:auto}.header-join{font-size:13px;gap:10px}
.simple-footer{padding:22px 22px 28px;gap:14px}.simple-footer nav{margin-left:0;flex-basis:100%;gap:8px 22px}.simple-footer>small{font-size:12px}.footer-brand{font-size:22px}
.shop-page .shop-main{padding:29px 22px 36px}.shop-heading{display:block;margin-bottom:20px}.shop-heading h1{font-size:43px}.shop-heading .shop-intro{font-size:15px}.shop-heading .quiet-link{max-width:none;text-align:left;font-size:13px;margin-top:4px}.shop-heading .page-label{margin-bottom:12px}.shop-notice{font-size:13px;margin-bottom:19px;padding:12px 14px}
.shop-page .shop-tabs{gap:25px;justify-content:space-between;margin-bottom:24px}.shop-tabs button{min-height:50px;font-size:14px;gap:6px}.shop-tabs button span{font-size:12px}.shop-category-heading h2{font-size:25px}.shop-category-heading p{font-size:14px}.shop-search{margin-top:18px}.shop-search .catalog-tools{gap:8px}.shop-search input{font-size:16px}.shop-search .search-field{max-width:none}.shop-search .sort-field select{max-width:140px;font-size:16px}.shop-page .result-count{margin:17px 0 15px}
.shop-page .product-grid,.shop-page .crate-grid{grid-template-columns:1fr;gap:15px}.shop-page .product-card{display:grid;grid-template-columns:94px minmax(0,1fr);gap:0 18px;padding:20px;overflow:visible}.shop-page .card-kind{grid-column:2;grid-row:1;font-size:12px;margin-bottom:7px;letter-spacing:.045em}
.shop-page .product-image,.shop-page .role-grid .product-image,.shop-page .crate-grid .product-image{grid-column:1;grid-row:1/4;align-self:start;width:94px;height:113px;margin:0;padding:8px;border:0;border-radius:4px}.shop-page .product-image img,.shop-page .role-grid .product-image img,.shop-page .crate-grid .product-image img{width:85px;height:94px}
.shop-page .product-summary{grid-column:2;grid-row:2}.shop-page .product-card h3{font-size:21px;margin-bottom:7px}.shop-page .product-card p{font-size:13px;line-height:1.65;margin-bottom:15px}
.shop-page .product-price{grid-column:2;grid-row:3;font-size:26px;margin-top:0}.shop-page .price-caption{font-size:12px;margin-bottom:4px}.shop-page .product-price small{font-size:12px;margin-top:4px}.shop-page .card-perks{grid-column:1/-1;grid-row:4;margin:18px 0 0;padding-top:11px;gap:18px;font-size:12px}.shop-page .card-perks b{display:inline;font-size:16px;margin-right:7px}
.shop-page .product-card button{grid-column:1/-1;grid-row:5;min-height:46px;font-size:14px;margin-top:17px;padding:10px 14px}
.subscription-comparison>summary{font-size:14px;gap:12px}.subscription-comparison summary small{display:none}.subscription-comparison>summary::after{margin-left:auto}.shop-help>summary{font-size:14px}
.shop-page .account{max-width:185px;min-height:44px;padding:8px 10px}.shop-page .account b{font-size:12px}.shop-page .account .avatar{width:23px;height:23px}.shop-page .last-order{font-size:13px;flex-wrap:wrap;gap:12px}
.shop-page dialog{padding:26px 21px;max-height:calc(100dvh - 24px)}.shop-page dialog h2{font-size:29px}.shop-page dialog p,.shop-page .detail-features{font-size:14px}.shop-page .detail-art{height:130px}.shop-page .detail-art img{width:108px;height:108px}.shop-page .bundle-option summary{padding:13px;gap:10px}.shop-page .bundle-contents{padding-left:35px;padding-right:15px}.shop-page .order-line{font-size:14px}
}
@media(max-width:380px){.masthead{padding-inline:18px;gap:12px 10px}.site-brand{font-size:22px;gap:8px}.site-brand img{width:33px;height:33px}.site-nav{gap:8px}.site-nav a{font-size:12px}.shop-page .account{max-width:149px;padding-inline:9px;gap:6px}.shop-page .account .avatar{display:none}.shop-page .shop-main{padding-inline:18px}.shop-page .shop-tabs{gap:17px}.shop-tabs button{font-size:13px}.shop-tabs button span{display:none}.shop-page .product-card{grid-template-columns:74px minmax(0,1fr);gap:0 14px;padding:17px}.shop-page .product-image,.shop-page .role-grid .product-image,.shop-page .crate-grid .product-image{width:74px;height:94px;padding:6px}.shop-page .product-image img,.shop-page .role-grid .product-image img,.shop-page .crate-grid .product-image img{width:67px;height:80px}.shop-page .product-card h3{font-size:20px}.shop-page .product-price{font-size:25px}.shop-page .card-perks{gap:12px}.shop-page .card-perks b{font-size:15px}.shop-search .catalog-tools{flex-wrap:wrap}.shop-search .search-field{flex-basis:100%}.shop-search .sort-field select{max-width:none;min-width:155px}.simple-footer{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){.home-page .button,.shop-page .button{transition:none}}
@media(forced-colors:active){.site-nav a[aria-current=page],.shop-tabs button[aria-selected=true]{outline:2px solid Highlight}.shop-page .product-card{border-color:CanvasText}.shop-page .product-card button{border-color:ButtonText}}
