@font-face{font-family:Inter;src:url(assets/Inter.ttf);font-weight:100 900}@font-face{font-family:Barlow;src:url(assets/BarlowCondensed-Bold.ttf);font-weight:700}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px Inter,Arial,sans-serif;--bg:#171a19;--panel:#202422;--ink:#f1efe7;--sub:#adb1aa;--line:#414641;--accent:#ff7448;--on-accent:#171a19;--green:#9cd09a;--mono:"Consolas",monospace}
.atlas{--bg:#f5f4ed;--panel:#eeeee5;--ink:#172921;--sub:#536458;--line:#c2c8bb;--accent:#1c4cce;--on-accent:white;--green:#326a42}
button,a{font:inherit;color:inherit}button{cursor:pointer}a{text-decoration:none}button{background:none;border:0}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.wrap,.head-inner,footer,.hero-inner{width:min(1232px,calc(100% - 104px));margin-inline:auto}
html {scroll-padding-top:var(--site-header-height, 73px)}
#site-header {position:sticky;top:0;z-index:10;background:var(--bg)}
header{background:var(--bg);border-bottom:1px solid var(--line)}.head-inner{height:72px;display:flex;align-items:center;gap:64px}.wordmark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:132px;height:50px}.wordmark img{display:block;width:100%;height:auto}.atlas .wordmark{background:#172921;border-radius:2px}nav{display:flex;align-items:stretch;height:100%;gap:30px}nav a{position:relative;display:flex;align-items:center;color:var(--sub);font-weight:600;font-size:14px}nav a[aria-current]{color:var(--ink)}nav a[aria-current]:after{content:"";position:absolute;height:2px;bottom:0;left:0;right:0;background:var(--accent)}
.theme-switch{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:12px;color:var(--sub)}.theme-switch i{width:15px;height:15px;border-radius:50%;border:1.5px solid currentColor;background:linear-gradient(90deg,currentColor 50%,transparent 50%)}h1,h2,h3,p,dl,dd{margin:0}.hero{position:relative;isolation:isolate;overflow:hidden}.hero-art{background:url(assets/valley.webp) 55% 44%/cover no-repeat}.field .hero-art{position:absolute;inset:0;z-index:-2}.field .hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101511b8,transparent 75%),linear-gradient(0deg,#10141065,transparent 38%)}
.hero-inner{min-height:clamp(345px,33vw,485px);display:flex;align-items:center;padding-block:40px}.eyebrow{display:flex;align-items:center;gap:12px;font:600 12px var(--mono);letter-spacing:1.5px}.eyebrow i{height:1px;width:22px;background:currentColor;opacity:.65}.signal{color:var(--accent);font-size:18px}.hero h1{font:700 clamp(98px,12.4vw,183px)/.93 Barlow,Impact,sans-serif;letter-spacing:-.035em;margin:14px 0 10px}.hero-copy>p{font-size:clamp(19px,2vw,28px);font-weight:500;letter-spacing:-1px}.actions{display:flex;align-items:center;gap:15px;margin-top:29px}.primary,.secondary{padding:13px 20px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:22px;font-size:14px;font-weight:650}.primary{background:var(--accent);color:var(--on-accent)}.primary span{font-size:18px}.secondary{border:1px solid var(--line)}.field .hero .secondary{border-color:#abb5aa99;background:#191c1966}.primary:hover,.product:hover,.secondary:hover{filter:brightness(1.08)}.atlas .primary:hover{background:#113fae}.primary:disabled{opacity:.55}
.monitor{padding:31px 0 37px}.section-head,.catalog-top,.chart-heading,.count-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head{margin-bottom:21px}h2{font-size:clamp(24px,2.25vw,34px);letter-spacing:-.055em;font-weight:650}.demo-tag,.online,.axis,.wallet>small,.product-data small,.order-number{font-family:var(--mono)}.demo-tag{font-size:11px;color:var(--sub);letter-spacing:.6px}.monitor-grid{display:grid;grid-template-columns:1.05fr 1.65fr .9fr;background:var(--panel);border:1px solid var(--line)}.monitor-grid>div{padding:20px 24px;min-width:0}.monitor-grid>div+div{border-left:1px solid var(--line)}h3,.count-title{font-size:15px;letter-spacing:-.035em;font-weight:600}.online{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:11px;letter-spacing:0}.online i{width:7px;height:7px;border-radius:50%;background:currentColor}.counter{font:700 64px/1.05 Barlow,sans-serif;letter-spacing:-1.5px;margin:8px 0}.counter span{color:var(--sub);font-size:29px;font-weight:700}.capacity{height:3px;background:var(--line);margin:8px 0}.capacity i{display:block;width:56%;height:3px;background:var(--accent)}small,.axis{color:var(--sub);font-size:12px}.period{display:flex;gap:3px}.period button,.filters button{font-size:12px;color:var(--sub);padding:5px 8px}.period button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.plot{display:flex;align-items:flex-end;gap:4px;height:80px;margin-top:12px;background:repeating-linear-gradient(to top,var(--line) 0 1px,transparent 1px 25px)}.bar{height:var(--h);flex:1;background:var(--accent);opacity:.72}.bar:last-child{opacity:1}.axis{display:flex;justify-content:space-between;font-size:10px;margin-top:6px}.details dl{margin-top:10px}.details dl div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.details dl div:last-child{border:0}dt{color:var(--sub)}footer{padding:20px 0 25px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--sub);font-size:11px}.foot-brand{width:94px;height:36px}
.atlas .hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;width:min(1232px,calc(100% - 104px));margin:36px auto 0;padding-bottom:30px;border-bottom:2px solid var(--ink)}.atlas .hero-inner{grid-column:1;grid-row:1;width:100%;min-height:290px;padding:12px 0}.atlas .hero-art{grid-column:2;grid-row:1;background-position:66% center;min-height:275px;border-radius:2px}.atlas .hero h1{font:620 clamp(72px,7.8vw,115px)/1 Inter,sans-serif;letter-spacing:-.085em;margin:26px 0 12px}.atlas .hero h1 span{color:var(--accent)}.atlas .hero-copy>p{font-size:21px}.atlas .hero .secondary{border:0;padding-inline:10px}.atlas .monitor-grid{background:transparent;border-width:1px 0}.atlas .monitor-grid>div:first-child{padding-left:0}.atlas .counter{font:540 63px/1.1 Inter,sans-serif;letter-spacing:-.07em}.atlas .counter span{font:450 25px Inter,sans-serif;letter-spacing:-.04em}.atlas .bar{background:#3868b9}.atlas .bar:last-child{background:var(--accent)}.atlas .monitor{padding-block:30px 45px}
.shop-layout{padding-block:30px 42px}.account{display:flex;justify-content:space-between;align-items:center;padding:32px 36px;min-height:195px;background:linear-gradient(90deg,#161d19ed,#161b1890 70%,#171b19ee),url(assets/valley.webp) center 52%/cover;border:1px solid var(--line)}.account h1{font-size:clamp(38px,4.4vw,64px);letter-spacing:-.07em;font-weight:650;margin:13px 0}.account-intro p{display:flex;align-items:center;gap:10px;color:#d7dad1;font-size:13px}.avatar{background:#d4cec0;color:#343a32;width:24px;height:24px;display:inline-grid;place-items:center;font-weight:750}.profile-divider{color:var(--sub)}.wallet{min-width:202px;border-left:2px solid var(--accent);padding:4px 0 4px 22px;display:grid;gap:3px}.wallet small{color:var(--ink)}.wallet strong{font:700 56px/1.1 Barlow,sans-serif}.wallet>span{color:var(--sub);font-size:11px}.store-nav{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-top:10px}.store-nav button{padding:16px 0;color:var(--sub);font-weight:550}.store-nav button[aria-pressed=true]{color:var(--ink);box-shadow:inset 0 -2px var(--accent)}em{font:11px var(--mono);border:1px solid var(--line);padding:1px 4px}.catalog-top{padding:21px 0 16px}.filters{display:flex;flex-wrap:wrap;gap:4px}.filters button{padding:7px 11px;border-radius:2px}.filters button[aria-pressed=true]{background:var(--panel);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product{text-align:left;background:var(--panel);border:1px solid var(--line);display:grid;grid-template-columns:1fr auto;padding:0;overflow:hidden}.item-art{display:block;background-image:url(assets/goods.png);background-repeat:no-repeat;background-size:300% auto;background-color:#d7d6cf}.pack{background-position:left center}.car{background-position:center center}.crate{background-position:right center}.product .item-art{grid-column:1/-1;height:clamp(145px,13.5vw,200px);background-size:300% auto}.product-data{grid-column:1/-1;display:grid;gap:4px;padding:15px 16px 0}.product-data small{font-size:11px}.product-data strong{font-size:20px;letter-spacing:-.05em}.price{margin:12px 16px 16px;font-size:15px;font-weight:650}.product-arrow{font-size:20px;color:var(--accent);padding:8px 17px 10px}.empty,.orders{margin-block:20px;background:var(--panel);padding:24px}.empty p{margin:8px 0 18px;color:var(--sub)}.orders article{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:15px 0}.orders article:last-child{border:0}.orders article div{display:grid;gap:5px}.orders article strong{margin-left:auto}
.atlas.shop .shop-layout{display:grid;grid-template-columns:minmax(235px,.75fr) minmax(0,2fr);gap:40px;padding-block:38px 44px;align-items:start}.atlas .account{display:block;background:none;border:0;border-top:3px solid var(--ink);padding:22px 0}.atlas .account h1{font-size:clamp(36px,4.4vw,62px);line-height:1.01;max-width:7em;margin:26px 0 16px}.atlas .account-intro p{color:var(--sub)}.atlas .wallet{background:#e6eadf;border:0;border-left:3px solid var(--green);padding:19px;margin-top:29px}.atlas .wallet strong{font:560 42px/1.2 Inter,sans-serif;letter-spacing:-.07em}.atlas .store-nav{margin:0;border-top:1px solid var(--line)}.atlas .products{display:flex;flex-direction:column;gap:0}.atlas .product{grid-template-columns:126px 1fr auto 36px;align-items:center;border:0;border-top:1px solid var(--line);background:none;padding:12px 0;gap:14px}.atlas .product:last-child{border-bottom:1px solid var(--line)}.atlas .product .item-art{width:126px;height:94px;grid-column:auto}.atlas .product-data{grid-column:auto;padding:0;gap:7px}.atlas .price,.atlas .product-arrow{margin:0;padding:0}.atlas .product-arrow{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.atlas .catalog-top{align-items:flex-start;flex-direction:column;padding:20px 0 15px}.atlas .filters button[aria-pressed=true]{background:var(--ink);color:var(--bg);box-shadow:none}.atlas .product:hover{background:var(--panel)}
dialog{background:var(--bg);color:var(--ink);border:1px solid var(--line);padding:0;width:min(415px,93vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#101512b8}.dialog-art{height:180px}.dialog-copy{padding:22px}.dialog-copy h2{margin:10px 0}.dialog-copy p{line-height:1.5;color:var(--sub)}.dialog-price{font-size:26px;font-weight:650;margin:12px 0 2px}.dialog-copy .primary{display:block;width:100%;margin-top:15px}.close{position:absolute;top:10px;right:10px;display:grid;place-items:center;padding:0;border-radius:50%;background:#202722;color:white;width:34px;height:34px}.visible#notice{opacity:1}#notice{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:12px 20px;opacity:0;pointer-events:none;font-size:13px;max-width:90%;width:max-content}
@media(max-width:940px){.wrap,.head-inner,footer,.hero-inner,.atlas .hero{width:calc(100% - 48px)}.head-inner{gap:36px}.monitor-grid{grid-template-columns:1fr 1.5fr}.monitor-grid .details{grid-column:1/-1;border:0;border-top:1px solid var(--line)}.details{display:flex;align-items:center;gap:24px}.details dl{display:flex;gap:25px;margin:0;flex:1}.details dl div{gap:10px;border:0}.atlas.shop .shop-layout{gap:22px;grid-template-columns:215px 1fr}.atlas .product{grid-template-columns:85px 1fr auto 26px;gap:8px}.atlas .product .item-art{width:85px;height:80px}}
@media(max-width:650px){.wrap,.head-inner,footer,.hero-inner,.atlas .hero{width:calc(100% - 32px)}.head-inner{height:60px;gap:17px}.wordmark{width:92px;height:36px}nav{gap:13px}nav a{font-size:11px}.theme-switch{gap:0;padding:10px 3px 10px 7px}.theme-switch span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.hero-inner{min-height:352px;align-items:flex-end;padding-bottom:25px}.field .hero-art{background-position:67% center}.field .hero:before{background:linear-gradient(0deg,#131914f2,#161d1788 48%,transparent)}.hero h1{font-size:clamp(78px,22vw,124px);margin:10px 0 7px}.hero-copy>p{font-size:20px}.eyebrow{font-size:10px;gap:9px}.actions{margin-top:17px;gap:10px}.primary,.secondary{padding:11px 14px;min-height:42px;font-size:13px}.monitor,.atlas .monitor{padding:23px 0 27px}.section-head{margin-bottom:14px}.monitor-grid{grid-template-columns:1fr}.monitor-grid>div{padding:15px 16px}.monitor-grid>div+div{border-left:0;border-top:1px solid var(--line)}.count-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5px 16px}.count-title{grid-column:1;flex-direction:column;align-items:start;gap:5px}.counter{grid-column:2;grid-row:1;text-align:right;font-size:52px;margin:0}.capacity{grid-column:1/-1;margin:3px 0}.count-panel small{grid-column:1/-1;font-size:10px}.plot{height:65px}.details{display:block}.details dl{display:block}.details dl div{border-bottom:1px solid var(--line)}.atlas .hero{display:flex;flex-direction:column-reverse;gap:14px;margin-top:18px;padding-bottom:18px}.atlas .hero-inner{padding:0;min-height:0}.atlas .hero-art{min-height:0;height:124px;background-position:60% 43%}.atlas .hero h1{font-size:66px;margin:9px 0}.atlas .hero-copy>p{font-size:17px}.atlas .actions{margin-top:11px}.atlas .counter{font-size:45px}.atlas .monitor-grid>div{padding-inline:0}.atlas .hero .signal{font-size:13px}
.shop-layout,.atlas.shop .shop-layout{display:block;padding:18px 0 30px}.account{align-items:start;padding:15px;display:block;min-height:0;background-position:65% center}.account h1,.atlas .account h1{font-size:35px;max-width:none;margin:8px 0}.account-intro p{font-size:12px}.wallet,.atlas .wallet{margin-top:13px;padding:9px 0 0;border:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;align-items:center;min-width:0}.wallet>span{grid-column:1;grid-row:2}.wallet strong,.atlas .wallet strong{grid-column:2;grid-row:1/3;font-size:32px}.catalog-top,.atlas .catalog-top{display:block;padding:14px 0 12px}.filters{margin-top:9px;gap:2px}.filters button{font-size:11px;padding:7px 8px}.store-nav button{padding:12px 0}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product .item-art{height:115px}.product-data{padding:10px 9px 0}.product-data strong{font-size:15px}.product-data small{font-size:10px}.price{margin:8px 9px 10px;font-size:13px}.product-arrow{padding:3px 9px 6px}.atlas .account{padding:12px 0}.atlas .wallet{padding:12px;background:#e6eadf}.atlas .product{grid-template-columns:70px 1fr auto 22px;gap:9px;padding:9px 0}.atlas .product .item-art{width:70px;height:65px}.atlas .product-arrow{width:22px;height:22px;font-size:14px}.atlas .price{font-size:13px}.atlas .product-data{gap:4px}.atlas .product-data strong{font-size:15px}footer{font-size:10px}.foot-brand{width:83px;height:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


.field .product .item-art,.dialog-art{position:relative;overflow:hidden}
.field .product .item-art::before,.dialog-art::before{content:"";position:absolute;inset:-30px;background:inherit;filter:blur(45px);opacity:.85}
.field .product .item-art::after,.dialog-art::after{content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);height:100%;aspect-ratio:1;background:inherit;background-size:300% 100%;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}


.hero .project-intro{max-width:39ch;font-size:clamp(17px,1.42vw,22px);line-height:1.42;letter-spacing:-.028em;text-wrap:pretty}
.field .hero h1{letter-spacing:-.035em;line-height:.95}
.field .theme-switch{display:none}
.server-card+.server-card{margin-top:22px}
.server-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:var(--panel);border:1px solid var(--line);border-bottom:0}
.server-heading h3{font:700 40px/.98 Barlow,sans-serif}
.server-heading p{margin:6px 0 0;color:var(--sub);font-size:13px}
.server-heading .primary{min-height:40px;padding:10px 15px}
.atlas .server-heading{background:transparent;border-inline:0;padding-inline:0}
@media(max-width:650px){.server-heading{padding:15px}.server-heading h3{font-size:31px}.server-heading .primary{gap:8px;font-size:12px}.hero .project-intro{max-width:32ch;font-size:16px}.section-head .demo-tag{font-size:9px}.field .hero-inner{min-height:372px}}

body.home .hero h1.project-invitation{font:560 clamp(25px,2.65vw,42px)/1.17 Inter,Arial,sans-serif;letter-spacing:-.047em;max-width:26ch;margin:18px 0 22px;text-wrap:pretty}
body.field.home .hero-inner{min-height:clamp(310px,27vw,390px)}
.shop-title,.stock-meta{display:flex;align-items:center;justify-content:space-between;gap:14px}
.shop-title{margin:24px 0 18px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:0 12px;background:var(--panel);color:var(--sub)}.search-box span{font:24px/1 Arial}.search-box input{color:var(--ink);font:inherit;font-size:14px;width:210px;border:0;background:transparent;height:40px}.search-box input::placeholder{color:var(--sub)}
.stock-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:25px}.departments{border-top:2px solid var(--accent);padding-top:11px}.departments h3{margin-bottom:14px}.dept-buttons{display:grid;gap:3px}.dept-buttons button{min-height:39px;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:8px 10px;color:var(--sub)}.dept-buttons button[aria-pressed=true]{background:var(--panel);color:var(--ink);box-shadow:inset 2px 0 var(--accent)}.dept-buttons small{font:12px var(--mono)}.departments select{display:none}
.stock-meta{padding:2px 0 10px;font-size:13px}.stock-meta small{font:11px var(--mono)}
.stock-image{background:radial-gradient(ellipse at center,#484e46,#242a26 80%);grid-column:1/-1;display:grid;place-items:center;overflow:hidden}.stock-image img{display:block;max-width:100%;width:100%;height:clamp(130px,11vw,178px);object-fit:contain}.stock-card{min-width:0;align-content:start}.stock-card .product-data{align-self:start}.stock-card .product-data strong{line-height:1.12;overflow-wrap:anywhere}.stock-card .price{align-self:end}.stock-list .empty{grid-column:1/-1;margin:0}.shop .account{min-height:160px;padding-block:22px}.detail-image img{height:185px}.dialog-copy .description{font-size:14px;white-space:pre-line;overflow-wrap:anywhere}.option-list{display:grid;gap:9px;margin-top:12px}.option-list label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.option-list select,.departments select{background:var(--panel);color:var(--ink);border:1px solid var(--line);font:inherit;padding:9px}.dialog-copy small{display:block}
.atlas .stock-layout{display:block}.atlas .dept-buttons{display:flex;flex-wrap:wrap;margin-bottom:12px}.atlas .dept-buttons button{gap:8px}.atlas .stock-image{grid-column:auto}.atlas .stock-image img{height:94px}.atlas .detail-image img{height:185px}
@media(max-width:940px){.stock-layout{grid-template-columns:155px minmax(0,1fr);gap:16px}.stock-list .products{gap:9px}.stock-card .product-data strong{font-size:16px}.atlas .shop-title{flex-wrap:wrap}}
@media(max-width:650px){body.home .hero h1.project-invitation{font-size:24px;max-width:24ch;margin:12px 0 14px}body.field.home .hero-inner{min-height:310px}.shop .account{padding:14px;min-height:0}.shop-title{display:grid;gap:10px;margin:17px 0 10px}.search-box input{width:100%;height:36px}.stock-layout{display:block}.departments{border:0;padding:0}.departments h3,.dept-buttons,.atlas .dept-buttons{display:none}.departments select{display:block;width:100%;font-size:13px}.stock-meta{padding:12px 0 7px}.stock-image img{height:110px}.detail-image img{height:146px}.atlas .stock-image img{height:65px}.atlas .detail-image img{height:146px}.stock-card .product-data strong{font-size:15px}.atlas .stock-card .price{align-self:center}}

/* Product configuration and order review */
#detail,.profile-promo-confirm{width:min(900px,94vw);max-width:none;max-height:94dvh;border:1px solid var(--line);box-shadow:0 26px 90px #05080599}
#detail::backdrop,.profile-promo-confirm::backdrop{background:#0b100de0;backdrop-filter:blur(4px)}
.checkout-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.checkout-product{padding:30px 26px 20px;background:var(--panel);border-right:1px solid var(--line);position:relative;display:flex;flex-direction:column}
.checkout-category,.checkout-label{font:12px var(--mono);letter-spacing:1.4px;text-transform:uppercase;color:var(--sub);display:flex;align-items:center;gap:9px}
.checkout-category i{width:18px;height:2px;background:var(--accent)}
.checkout-product h2{margin:12px 0 0;font-size:clamp(28px,3vw,43px);line-height:1.03;max-width:15ch}
.checkout-product #product-title:focus { outline: none; }
.vehicle-plate{margin:12px 0;flex:1;min-height:190px;display:grid;place-items:center;background:radial-gradient(ellipse at center,#869b802d,transparent 69%),linear-gradient(0deg,transparent 95%,#888e7f14 95%),linear-gradient(90deg,transparent 95%,#888e7f14 95%);background-size:auto,22px 22px,22px 22px}
.vehicle-plate img{width:100%;height:235px;object-fit:contain}
.item-notes{border-top:1px solid var(--line);font-size:13px}.item-notes summary{padding:12px 0 4px;cursor:pointer}.item-notes p{color:var(--sub);white-space:pre-line;line-height:1.55;margin:9px 0}
.checkout-panel{padding:32px 26px 24px;align-self:center;min-width:0}
.checkout-label{font-size:10px;letter-spacing:1px}.checkout-panel .stage-title{font-size:clamp(21px,2vw,28px);letter-spacing:-.055em;line-height:1.15;margin:10px 0 23px}.stage-title:focus{outline:0}
.choice-group{border:0;padding:0;margin:0 0 16px;min-width:0}.choice-group legend{font-size:14px;font-weight:600;margin:0 0 8px;padding:0}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(66px,1fr));gap:6px}
.tile{position:relative;cursor:pointer}.tile input{position:absolute;width:1px;height:1px;opacity:0}.tile span{display:grid;gap:4px;padding:9px 8px;border:1px solid var(--line);min-height:52px;text-align:center}.tile b{font-size:15px}.tile small{font-size:11px;color:var(--sub)}.tile input:checked+span{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--bg));color:var(--accent)}.tile input:checked+span small{color:inherit}.tile input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.checkout-total{border-top:1px solid var(--line);padding-top:14px;display:flex;justify-content:space-between;align-items:baseline;gap:8px}.checkout-total span{font-weight:600}.checkout-total strong{font-size:32px;letter-spacing:-.055em;line-height:1.1}.checkout-balance{margin:7px 0 0;color:var(--sub);font-size:12px}.checkout-balance.shortfall{color:var(--accent)}.checkout-action{width:100%;margin:16px 0 0;justify-content:space-between;min-height:44px}.checkout-action:disabled{cursor:not-allowed}
.checkout-lines{margin:0 0 18px}.checkout-lines div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 0;font-size:14px}.checkout-lines dd{text-align:right}.back-link{display:block;padding:11px 0 0;color:var(--sub);margin:auto;font-size:13px}.receipt-check{margin-top:15px;border:1px solid var(--green);color:var(--green);border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.checkout-action:focus-visible,.back-link:focus-visible{outline-offset:0}
@media(max-width:650px){
#detail{width:calc(100% - 16px);max-height:95dvh}.checkout-shell{display:block}.checkout-product{padding:16px 16px 9px;border:0;border-bottom:1px solid var(--line)}.checkout-category{font-size:10px;padding-right:30px}.checkout-product h2{font-size:27px;max-width:100%;padding-right:26px;margin-top:8px}.vehicle-plate{min-height:0;margin:8px 0 2px}.vehicle-plate img{height:104px}.item-notes summary{padding:7px 0 0;font-size:12px}.checkout-panel{padding:15px 16px}.checkout-panel .stage-title{font-size:21px;margin:4px 0 13px}.choice-group{margin-bottom:12px}.choice-group legend{margin-bottom:5px}.tile span{min-height:45px;padding:5px 3px}.checkout-total{padding-top:10px}.checkout-total strong{font-size:28px}.checkout-action{margin-top:10px}.checkout-balance{margin-top:4px}.checkout-lines{margin-bottom:12px}.checkout-lines div{padding:7px 0}
}

.fund-amount{display:grid;gap:6px;padding:16px 18px;border-left:3px solid var(--accent);background:var(--panel)}
.fund-amount small{color:var(--ink);font-weight:600}.fund-amount strong{font-size:clamp(32px,4vw,50px);letter-spacing:-.06em;line-height:1}
.fund-amount span,.fund-note,.fund-success span{font-size:12px;line-height:1.5;color:var(--sub)}
.fund-note{margin-top:12px}.fund-success{display:grid;gap:3px;padding:10px 12px;margin-bottom:8px;border-left:2px solid var(--green);background:var(--panel)}
.fund-success b{color:var(--green);font-size:14px}

.portal-links{padding-bottom:28px}.portal-links>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.portal-links a,.topic-link{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;border:1px solid var(--line)}.portal-links a span,.article-card span,.wallet-link,.back-section{color:var(--accent)}.portal-links a:hover,.article-card:hover{border-color:var(--accent)}
.portal-content{padding-block:26px 48px}.section-banner{display:flex;align-items:end;justify-content:space-between;background:transparent;border:0;border-bottom:1px solid var(--line);padding:10px 0 22px;margin-bottom:20px}.section-banner h1{max-width:22ch;line-height:1.03;font-size:clamp(33px,4.5vw,64px);letter-spacing:-.065em;margin:12px 0 0}.back-section{display:inline-block;margin-bottom:8px;font-size:13px}.listing-tools,.subnav,.portal-actions,.list-pager{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}.listing-tools label,.portal-form label{display:grid;gap:5px;font-size:13px;color:var(--sub)}.listing-tools output{margin-left:auto}.portal-content input,.portal-content select,.portal-content textarea{font:inherit;color:var(--ink);border:1px solid var(--line);background:var(--panel);padding:10px;max-width:100%}.portal-content input:focus,.portal-content textarea:focus{outline-color:var(--accent)}.subnav a,.list-pager button{padding:9px 13px;border:1px solid var(--line)}.subnav a[aria-current=page]{color:var(--accent);border-color:var(--accent)}.list-pager button:disabled{opacity:.45}
.article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.article-card{display:flex;flex-direction:column;justify-content:flex-end;background:var(--panel);border:1px solid var(--line);min-height:150px}.article-card img{width:100%;height:155px;object-fit:cover;display:block;background:#272d28}.article-card>div{padding:16px;flex:1}.article-card h2{font-size:22px;line-height:1.14}.article-card p{color:var(--sub);margin:8px 0 13px;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.article-card span{font-size:13px;font-weight:600}
.reader{display:grid;grid-template-columns:minmax(150px,235px) minmax(0,760px);gap:clamp(24px,5vw,70px)}.reader aside{align-self:start;position:sticky;top:calc(var(--site-header-height, 73px) + 14px);border-left:2px solid var(--accent);max-height:calc(100dvh - var(--site-header-height, 73px) - 28px);overflow:auto}.reader aside a{display:block;font-size:13px;padding:7px 12px;color:var(--sub)}.reader article{min-width:0;font-size:16px;line-height:1.65;overflow-wrap:anywhere}.reader article p{white-space:pre-line;margin:0 0 14px}.reader article h2{font-size:25px;margin:22px 0 10px;scroll-margin-top:15px}.reader figure{margin:15px 0}.reader img{display:block;max-width:100%;max-height:66vh;width:auto;height:auto}.reader article a{color:var(--accent)}.reader pre{padding:12px;background:var(--panel);overflow-x:auto}
.table-scroll{overflow:auto}.portal-content table{border-collapse:collapse;width:100%}.portal-content th,.portal-content td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);font-size:14px}.portal-content th{background:var(--panel)}.map-view h2{margin:15px 0}.map-scroll{width:100%;max-height:65vh;overflow:auto;background:var(--panel);border:1px solid var(--line);margin:12px 0}.map-scroll img{width:100%;display:block}.map-view p{margin:20px 0}.portal-box,.portal-form{padding:20px;margin:16px 0;border:1px solid var(--line);background:var(--panel);max-width:800px}.portal-box p,.portal-form p{line-height:1.5;margin:12px 0}.portal-form{display:grid;gap:12px}.portal-form>button{justify-self:start}.portal-form input,.portal-form textarea,.portal-form select{background:var(--bg);min-width:0}.topic-link{border-width:0 0 1px;padding-inline:0}.post{border-bottom:1px solid var(--line);padding:12px 0}.post small{margin-left:10px}.post p{white-space:pre-wrap;overflow-wrap:anywhere}#form-error{color:var(--accent);margin-top:12px}.wallet-link{font-size:12px;margin-top:4px;justify-self:start}
@media(max-width:750px){.article-list{grid-template-columns:repeat(2,minmax(0,1fr))}.reader{display:block}.reader aside{position:static;display:flex;overflow:auto;gap:6px;max-height:110px;flex-wrap:wrap;margin-bottom:20px}.head-inner{gap:14px}nav{gap:14px}}
@media(max-width:650px){.head-inner{height:auto;min-height:60px;gap:10px}.head-inner nav{gap:10px}.head-inner nav a{font-size:11px}.head-inner .wordmark{width:73px}.atlas .theme-switch{padding:3px}.article-list{gap:7px}.article-card>div{padding:11px}.article-card h2{font-size:17px}.article-card img{height:100px}.article-card p{font-size:12px}.portal-links>div{grid-template-columns:repeat(2,1fr)}.portal-links a{padding:10px}.portal-content{padding-block:15px 25px}.section-banner{margin-bottom:14px}.reader article{font-size:15px}.portal-box,.portal-form{padding:14px}.shop .wallet .wallet-link{grid-row:2;grid-column:1}}

.guide-hero{min-height:190px;align-items:end;padding:26px;background:linear-gradient(90deg,#131a17f0 3%,#17201bed 32%,#17201922),url(assets/valley.webp) 50% 40%/cover;color:#f1efe7}.guide-hero .eyebrow{color:#ffc6ae}.guide-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px}.guide-filters button{border:1px solid var(--line);color:var(--sub);padding:7px 11px;font-size:13px}.guide-filters button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--panel)}.article-card small{display:block;color:var(--sub);font:11px var(--mono);margin-bottom:7px}.reader aside h3{margin:15px 12px 8px}.reader aside input{margin:0 8px 7px;width:calc(100% - 16px);font-size:12px}.reader aside [hidden]{display:none}.reader article h2:target{color:var(--accent)}.reader pre code{white-space:pre-wrap}.map-view>label{display:flex;align-items:center;gap:12px}.map-view .secondary{margin-top:10px}
@media(max-width:650px){.guide-hero{min-height:135px;padding:16px}.guide-filters{gap:4px}.guide-filters button{font-size:12px;padding:6px 8px}.reader aside{display:block;max-height:150px;margin-bottom:16px}.reader aside input{max-width:280px}.reader aside a{padding:5px 10px}}

.reader-toc summary{cursor:pointer;list-style-position:inside;font-weight:600;padding:10px}.reader-toc input{margin-block:5px}.reader aside{scrollbar-width:thin}.article-card img.wide-banner{object-fit:contain;background:#21251f}.demo-tag{text-align:right}
@media(max-width:650px){.section-head .demo-tag{max-width:130px}.reader aside{max-height:230px}}

/* Small, shared corner radii for both layouts. */
:root{--radius-control:4px;--radius-panel:6px}
button:not(.close),input:not([type=radio]):not([type=range]),textarea,select,
.primary,.secondary,.tile>span,.search-box,.subnav a,.portal-links a,
.filters button,.dept-buttons button,.guide-filters button,.topic-link,
.item-notes summary,.reader-toc summary,
.avatar,.capacity,.capacity i,.atlas .wordmark,.fund-success,.fund-amount,
.reader pre,.reader figure img,#notice{border-radius:var(--radius-control)}
.stock-card,.product,.article-card,.account,.portal-box,.portal-form,.empty,
.orders,.guide-hero,.map-scroll,.vehicle-plate,.atlas .hero-art,.atlas .wallet,
dialog{border-radius:var(--radius-panel)}
.product,.article-card,.account{overflow:hidden}
.article-card>img{border-radius:var(--radius-panel) var(--radius-panel) 0 0}
.server-card .server-heading{border-radius:var(--radius-panel) var(--radius-panel) 0 0}
.server-card .monitor-grid{border-radius:0 0 var(--radius-panel) var(--radius-panel);overflow:hidden}
.atlas .stock-card,.atlas .stock-card .stock-image{border-radius:var(--radius-control)}
.products button.product{border-radius:var(--radius-panel)}

.handbook-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #51584b;
  border-radius: 6px;
  background: #242c26;
  color: #f5f2e9;
}
.handbook-cover::before, .handbook-cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.handbook-cover::before {
  background: url(assets/maps/chernarus.webp) 65% 62% / max(100%, 880px) auto;
  filter: saturate(.46) sepia(.22);
}
.handbook-cover::after {
  background: linear-gradient(95deg, #202821 4%, #232c24f2 28%, #222b23a8 47%, #222b230a 76%),
    linear-gradient(0deg, #24322650, #30392624);
}
.handbook-cover-body {padding: clamp(24px, 3.3vw, 48px); max-width: 700px}
.handbook-cover h1 {margin: 0; font: 700 clamp(42px, 5.4vw, 76px)/1.02 Inter,sans-serif; letter-spacing: -.073em}
.handbook-cover p {max-width: 34ch; margin: 13px 0 23px; color: #e0e2d6; line-height: 1.55; font-size: 16px}
.handbook-cover .primary {border-radius: 4px}
.handbook-layout {display: grid; grid-template-columns: minmax(170px, .25fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 68px); margin-top: 34px}
.handbook-topics h2 {margin: 0 0 14px; font-size: 21px}
.topic-buttons {display: grid; gap: 3px}
.topic-buttons button {display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 4px; color: var(--sub); text-align: left; font-weight: 550}
.topic-buttons button span, .index-tools output {font: 13px var(--mono); color: var(--sub)}
.topic-buttons button:hover, .guide-entry:hover {background: var(--panel)}
.topic-buttons button[aria-pressed=true] {box-shadow: inset 3px 0 var(--accent); color: var(--ink); background: var(--panel)}
.index-tools {display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line)}
.index-tools input {width: min(100%, 350px); min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--ink); padding: 11px 14px; font: inherit}
.index-tools input::placeholder {color: var(--sub)}
.index-tools output {white-space: nowrap}
.index-group {display: grid; grid-template-columns: minmax(125px, .38fr) minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line)}
.index-group h2 {display: flex; align-items: baseline; gap: 10px; margin: 9px 0; font-size: clamp(19px, 1.8vw, 25px); letter-spacing: -.05em}
.index-group h2::before {content: ""; display: inline-block; width: 12px; height: 3px; flex: none; background: var(--accent); align-self: start; margin-top: .58em}
.index-group ul {list-style: none; padding: 0; margin: 0; min-width: 0}
.index-group li + li {border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent)}
.guide-entry {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 4px}
.guide-entry strong {display: block; font-size: 18px; font-weight: 600; letter-spacing: -.035em}
.guide-entry small {display: block; margin-top: 4px; color: var(--sub); font-size: 13px; line-height: 1.5}
.guide-entry > span:last-child {color: var(--accent); font-size: 20px}
.guide-empty {padding-block: 30px; color: var(--sub)}
@media (max-width: 850px) {
  .handbook-layout {display: block}
  .handbook-topics {margin-bottom: 18px}
  .handbook-topics h2 {display: none}
  .topic-buttons {display: flex; overflow-x: auto; padding: 4px; gap: 5px}
  .topic-buttons button {border: 1px solid var(--line); flex: none; padding: 8px 11px; font-size: 13px}
  .topic-buttons button[aria-pressed=true] {box-shadow: none; border-color: var(--accent)}
}
@media (max-width: 600px) {
  .handbook-cover::after {background: linear-gradient(90deg,#202821ed,#20282199 66%,#2028214d),linear-gradient(0deg,#202821a8,transparent)}
  .handbook-cover-body {padding: 23px 19px}
  .handbook-cover h1 {font-size: clamp(34px, 9.6vw, 50px)}
  .handbook-cover p {font-size: 14px; margin: 11px 0 18px}
  .handbook-layout {margin-top: 15px}
  .index-tools {padding-bottom: 12px}
  .index-group {display: block; padding: 14px 0 6px}
  .index-group h2 {margin: 0 0 5px}
  .guide-entry {padding: 11px 2px}
  .guide-entry strong {font-size: 16px}
}

.server-actions {display:flex; align-items:center; flex-wrap:wrap; gap:8px}
.server-actions .secondary {min-height:40px; padding:10px 15px}
.start-layout {display:grid; grid-template-columns:minmax(0, .87fr) minmax(0, 1.13fr); gap:clamp(24px,4vw,64px); align-items:start}
.start-intro {
  position:sticky; top:calc(var(--site-header-height, 73px) + 20px); padding:clamp(24px,3vw,46px);
  border:1px solid #50594d; border-radius:var(--radius-panel); color:#f1efe7;
  background:linear-gradient(115deg,#19211bef,#19211bc4 70%,#263127a1),url(assets/maps/chernarus.webp) 68% 54% / 850px auto;
}
.start-intro .eyebrow {color:#f7a17b}
.start-intro h1 {margin:18px 0; font:700 clamp(36px,4.2vw,62px)/1.04 Inter,sans-serif; letter-spacing:-.07em; overflow-wrap:break-word}
.start-intro p {line-height:1.55; max-width:36ch; color:#e0e2d6}
.start-progress {margin-top:40px; display:grid; gap:10px; font:13px var(--mono)}
.start-progress progress {width:100%; height:5px; appearance:none; border:none; border-radius:3px; background:#606a5e; color:#ff9068; overflow:hidden}
.start-progress progress::-webkit-progress-bar {background:#606a5e}
.start-progress progress::-webkit-progress-value {background:#ff9068}
.start-progress progress::-moz-progress-bar {background:#ff9068}
.start-steps {list-style:none; margin:0; padding:0}
.start-step {padding:22px 0; border-top:1px solid var(--line)}
.start-step:first-child {padding-top:8px; border-top:2px solid var(--accent)}
.start-step h2 {display:flex; align-items:baseline; gap:12px; margin:5px 0 12px; font-size:clamp(21px,2vw,29px); line-height:1.16}
.start-step h2 span {font:15px var(--mono); color:var(--accent)}
.start-step p {line-height:1.55; color:var(--sub); max-width:57ch}
.start-resource {display:inline-block; padding-block:8px; margin-top:4px; color:var(--accent); font-weight:600}
.start-resource:hover {text-decoration:underline}
.step-check {display:flex; align-items:center; gap:8px; width:fit-content; min-height:36px; cursor:pointer; font-size:13px; color:var(--sub)}
.step-check input {width:17px; height:17px; margin:0; accent-color:var(--accent)}
.start-example,.other-collections {margin:10px 0; font-size:14px}
.start-example summary,.other-collections summary {cursor:pointer; padding-block:9px}
.start-example img {display:block; width:100%; margin:6px 0; border-radius:4px}
.other-collections {border-top:1px solid var(--line); padding-block:7px; margin:0 0 14px}
.other-collections a {margin-right:16px}
@media (max-width:750px) {
  .start-layout {grid-template-columns:1fr; gap:20px}
  .start-intro {position:static; padding:22px}
  .start-intro h1 {margin:12px 0; font-size:clamp(34px,8vw,52px)}
  .start-intro p {font-size:14px}
  .start-progress {margin-top:20px}
  .start-step {padding:16px 0}
}
@media (max-width:540px) {
  .server-heading {align-items:stretch; flex-direction:column; gap:14px}
  .server-actions {gap:6px}
  .server-actions a {flex:1; text-align:center}
  .server-actions .secondary {font-size:12px; padding:9px 7px}
}

.head-inner {height:auto; min-height:72px; gap:clamp(12px,2vw,30px); padding-block:8px}
#site-nav {display:flex; flex:1; height:auto; flex-wrap:wrap; align-items:center; gap:0 clamp(12px,1.4vw,22px)}
#site-nav a {min-height:38px; font-size:14px; white-space:nowrap}
#site-nav {justify-content:center}
@media (min-width:651px) {
  .field .head-inner {display:grid;grid-template-columns:minmax(min(13%,132px),1fr) minmax(0,max-content) minmax(min(13%,132px),1fr);column-gap:clamp(8px,1.2vw,18px)}
  .field .head-inner .wordmark {justify-self:start;max-width:100%}
  .field .head-inner .account-entry {grid-column:3;justify-self:end}
}
.account-entry {display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:7px 15px; color:var(--accent); border:1px solid currentColor; border-radius:var(--radius-control); font-size:14px; font-weight:650; white-space:nowrap}
@media (hover:hover) {
  .account-entry:hover {background:color-mix(in srgb,var(--accent) 12%,var(--bg))}
}
.account-entry:active {background:color-mix(in srgb,var(--accent) 22%,var(--bg))}
.account-entry:has(.nav-profile-avatar) {position:relative; margin-inline-start:30px}
.nav-profile-avatar {position:absolute; inset-inline-end:calc(100% + 8px); display:grid; width:22px; height:22px; overflow:hidden; border-radius:50%; background:var(--panel); pointer-events:none}
.nav-profile-avatar > :is(img,svg) {grid-area:1 / 1; width:100%; height:100%}
.nav-profile-avatar > img {object-fit:cover}
@media (min-width:651px) {
  .field .head-inner:has(.nav-profile-avatar) {
    grid-template-columns:minmax(120px,1fr) minmax(0,max-content) minmax(120px,1fr);
  }
}
.store-services {margin-top:26px}
.store-services ul {display:grid; gap:7px; padding-left:20px; color:var(--sub); line-height:1.5}
.storefront .portal-actions a {text-align:center}
.map-view .map-edition {color:var(--sub); margin:6px 0 15px}
.portal-tabs {height:auto}
#purchase-history,#payment-history {width:min(680px,94vw); padding:clamp(14px,3vw,28px); overscroll-behavior:contain}
.payment-list {list-style:none; padding:0; margin:16px 0}
.payment-entry {border-top:1px solid var(--line); padding:12px 0}
.payment-meta,.payment-entry small {color:var(--sub)}
.payment-summary {display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; margin-bottom:4px}
.payment-entry summary {cursor:pointer; padding-block:8px; font-size:14px}
.payment-entry dd {overflow-wrap:anywhere}
.history-heading {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px}
body:has(#purchase-history[open],#payment-history[open]) {overflow:hidden}
@media (max-width:1000px) {
  #site-nav {column-gap:15px}
  #site-nav a {min-height:34px; font-size:13px}
}
@media (max-width:650px) {
  .head-inner {display:grid; grid-template-columns:1fr auto auto; gap:2px; padding-block:5px 8px}
  .head-inner .wordmark {width:83px}
  .head-inner .account-entry {grid-column:3; grid-row:1; font-size:13px}
  .head-inner .theme-switch {grid-column:2; grid-row:1}
  #site-nav {grid-column:1/-1; grid-row:2; display:flex; gap:0 14px}
  #site-nav a {font-size:13px; min-height:34px}
  .portal-tabs {gap:6px}
}

.reader.news-feed {display:block; max-width:760px}
.news-feed article + article {margin-top:28px; border-top:1px solid var(--line)}

.cabinet-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.cabinet-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--panel);
}
.cabinet-card:only-child {grid-column: 1 / -1; width: min(100%, 540px)}
.cabinet-card h2, .history-heading h2 {
  margin: 0;
  font: 550 18px/1.25 Inter, sans-serif;
  letter-spacing: -.025em;
}
.cabinet-card-head, .cabinet-card-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.cabinet-card-head, .cabinet-card-foot:has(small) {justify-content: space-between}
.cabinet-card small, .cabinet-metrics dt {font: 400 13px/1.4 Inter, sans-serif; color: var(--sub)}
.cabinet-metrics {display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0}
.cabinet-metrics div + div {padding-left: 20px; border-left: 1px solid var(--line)}
.cabinet-metrics dd, #cabinet-balance {
  font: 500 24px/1.2 Inter, sans-serif;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  margin: 2px 0 0;
}
.cabinet-card-foot {margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line)}
.account-identity > .primary {margin: 8px var(--identity-pad, 20px) 14px; justify-self: start}
.portal-form.topup-form {max-width: 520px; gap: 20px; padding: clamp(16px, 3vw, 28px); border-radius: var(--radius-control)}
.topup-balance {display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--sub)}
.topup-balance strong {font-variant-numeric: tabular-nums; font-size: 20px; color: var(--ink)}
.topup-form .topup-amount, .topup-providers legend {font-weight: 600; font-size: 15px; color: var(--ink)}
.topup-amount input {width: 100%; font-size: 20px; font-variant-numeric: tabular-nums}
.topup-form small {color: var(--sub); font-size: 12px; font-weight: 400}
.topup-providers {min-width: 0; border: 0; padding: 0; margin: 0}
.topup-providers legend {padding: 0; margin-bottom: 8px}
.topup-providers > div {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr)); gap: 8px}
.topup-providers label {display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--ink); cursor: pointer}
.topup-providers input {margin: 0; accent-color: var(--accent)}
.topup-providers small {display: block}
.topup-providers label:has(:checked) {border-color: var(--accent)}
.topup-providers label:has(:disabled) {color: var(--sub); cursor: default}
.topup-form button:disabled {opacity: .55; cursor: default}
.topup-form output:empty {display: none}
.topup-form [hidden], .wallet-return [hidden] {display: none}
.wallet-return {line-height: 1.5}
.wallet-return a {margin: 0; font-size: inherit}
.wallet-retry {padding: 0; color: var(--accent); text-decoration: underline}
.cabinet-card-foot :is(.primary,.secondary) {min-height: 38px; padding: 8px 13px; font: 550 14px/1.35 Inter, sans-serif}
#purchase-history,#payment-history {width: min(620px, calc(100% - 24px)); padding: clamp(16px, 2vw, 22px)}
#purchase-history {width: min(840px, calc(100% - 24px)); max-width: calc(100vw - 24px)}
#purchase-history .orders article strong {white-space: nowrap}
.history-heading h2 {font-size: clamp(18px, 2vw, 22px)}
@media (max-width: 760px) {
  .cabinet-summary {grid-template-columns: 1fr; gap: 10px}
  .cabinet-card {padding: 14px; gap: 10px}
  .cabinet-metrics {gap: 8px 12px}
  .cabinet-metrics div + div {padding-left: 12px}
  .cabinet-card-foot :is(.primary,.secondary), .history-heading button {min-height: 44px}
}

@media (max-width: 760px) {
  .cabinet-card:has(#cabinet-balance) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
  }
  .cabinet-card:has(#cabinet-balance) .cabinet-card-foot {grid-column: 1 / -1; gap: 6px}
  .cabinet-card-foot :is(.primary,.secondary) {padding-inline: 10px}
}

.reader .guide-recipes {display:grid;gap:6px;margin:0 0 20px}
.guide-recipe {border:1px solid var(--line);border-radius:6px;background:var(--panel)}
.guide-recipe summary {padding:12px 16px;cursor:pointer;font-weight:550}
.guide-recipe summary::marker {color:var(--accent)}
.guide-recipe dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;padding:14px 0 16px;margin:0 16px;border-top:1px solid var(--line)}
.guide-recipe dl div:first-child {grid-column:1/-1}
.guide-recipe dt,.reader .guide-equipment {font-size:13px;color:var(--sub)}
.guide-recipe dd {font-size:15px;margin:1px 0 0}
.reader .guide-note {border-inline-start:3px solid var(--accent);background:var(--panel);padding:10px 14px}
.reader article li+li {margin-top:4px}
.reader article h3 {font-size:17px;margin:16px 0 6px}
.reader article :is(ol,ul) {padding-inline-start:24px}
.article-card h2, .section-banner h1 {min-width:0; overflow-wrap:anywhere}

.reader.shop-services-reader {display:block; max-width:760px}

.admin-page .topic-link {gap:12px;align-items:baseline}
.admin-page .topic-link small,.admin-page dt {color:var(--sub)}
.admin-page .portal-box {overflow-wrap:anywhere}
.admin-page dd {margin:0 0 10px}
.admin-page details summary {cursor:pointer}

.admin-product-label {display:flex;align-items:center;gap:12px;min-height:42px}
.admin-product-label img {width:44px;height:36px;object-fit:contain}
.table-scroll-hint {margin:8px 0;color:var(--sub);font-size:12px;text-align:right}
.admin-stock td {vertical-align:middle}
.admin-stock thead {position:relative;z-index:2;transform:translateY(var(--catalog-head-offset,0px))}
.admin-stock thead th {background:var(--panel);box-shadow:inset 0 -1px var(--line)}

.admin-stock thead th {background:var(--panel);box-shadow:inset 0 -1px var(--line)}

.definition {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.definition fieldset {min-width:0;margin:0;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.definition legend {font-weight:600;padding:0 8px}
.definition label {display:grid;gap:5px;margin-block:10px;color:var(--sub);font-size:13px}
.definition .flag {display:flex;align-items:center;gap:8px}
.definition :is(input,textarea,select) {background:var(--bg);border-radius:4px;min-width:0}
.definition .full {grid-column:1/-1}
.admin-preview {max-width:120px;max-height:90px;object-fit:contain}
.definition-row {display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));align-items:end;gap:8px;border-bottom:1px solid var(--line);padding:8px 0}
.definition-row label {margin:0}
.definition h3 {font-size:16px;margin-top:20px}
.definition p {color:var(--sub);font-size:14px}
.definition [hidden]{display:none}
@media(max-width:720px){.definition{grid-template-columns:minmax(0,1fr)}.definition fieldset{padding:14px}.admin-preview{max-height:64px}}

.admin-stock .stock-actions {width:1%; text-align:right; white-space:nowrap}
.stock-edit,.stock-delete {display:inline-grid;place-items:center;vertical-align:middle;width:36px;height:36px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--panel);font:22px/1 "Segoe UI Symbol",sans-serif}
.stock-edit:hover,.stock-edit:focus-visible {color:var(--accent);border-color:currentColor}
@media(pointer:coarse){.stock-edit,.stock-delete{width:44px;height:44px}}

.stock-sort {display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.stock-sort span {color:var(--sub);font-size:12px}
.stock-sort:hover,th[aria-sort] .stock-sort,th[aria-sort] .stock-sort span {color:var(--accent)}
.stock-create {margin:18px 0}
.stock-delete {margin-left:3px;cursor:pointer;padding:0}
.stock-delete:is(:hover,:focus-visible) {border-color:#ec9187;color:#ec9187}
.removal-dialog {width:min(450px,calc(100% - 32px));padding:0;border-radius:10px;box-shadow:0 18px 65px #05080666}
.removal-dialog::backdrop {background:#0b100dcc}
.removal-summary {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:24px}
.removal-icon {width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#ff744813;color:var(--accent)}
.removal-dialog h2 {margin:0;font:600 clamp(18px,2vw,21px)/1.24 Inter,sans-serif;letter-spacing:-.035em;text-wrap:balance}
.removal-dialog p {margin:6px 0 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere;color:var(--sub)}
.removal-dialog output:empty {display:none}
.removal-dialog output:not(:empty) {display:block;margin:0 24px 16px}
.removal-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);padding:15px 24px;background:var(--panel)}
.removal-actions button {width:100%;min-height:42px;padding:8px;border-radius:5px;font:600 14px/1.25 Inter,sans-serif}
.removal-actions button:focus-visible {outline:1px solid var(--ink);outline-offset:2px}
@media(max-width:420px){
  .removal-summary {padding:19px 16px;gap:10px}
  .removal-icon {width:36px;height:36px}
  .removal-actions {padding:12px 16px}
}
.sound-setting {display:inline-flex;align-items:center;gap:5px;min-height:38px;cursor:pointer;font-size:13px;color:var(--sub);white-space:nowrap}
.sound-setting input {accent-color:var(--accent);width:15px;height:15px;margin:0;cursor:pointer}
.sound-controls {display:grid;grid-template-columns:max-content max-content minmax(0,1fr);align-items:center;gap:4px 14px}
.sound-volume {display:flex;align-items:center;gap:6px;min-height:38px;color:var(--sub);font-size:13px}
.sound-volume input {width:clamp(64px,10vw,145px);max-width:100%;accent-color:var(--accent);cursor:pointer}
#ui-volume {appearance:none;-webkit-appearance:none;height:24px;padding:0;border:0;border-radius:0;background:linear-gradient(to right,var(--accent) var(--ui-volume-fill,0%),var(--line) var(--ui-volume-fill,0%)) center / 100% 6px no-repeat}
#ui-volume::-webkit-slider-runnable-track {height:6px;background:transparent}
#ui-volume::-webkit-slider-thumb {-webkit-appearance:none;width:14px;height:14px;margin-top:-4px;border:0;border-radius:50%;background:var(--accent)}
#ui-volume::-moz-range-track {height:6px;background:transparent}
#ui-volume::-moz-range-thumb {width:14px;height:14px;border:0;border-radius:50%;background:var(--accent)}
#ui-volume-value {min-width:4ch;font-variant-numeric:tabular-nums;text-align:right}
@media(max-width:650px) {
  .sound-controls {grid-template-columns:max-content minmax(0,1fr) minmax(88px,.8fr);column-gap:8px}
  .sound-volume {display:grid;grid-template-columns:1fr auto;gap:0 3px;align-content:center}
  .sound-volume input {grid-column:1/-1;grid-row:2;width:100%;margin:0}
  #ui-volume-value {grid-row:1;grid-column:2}
}
#ui-sounds-status {font-size:13px;line-height:1.35;color:var(--sub);overflow-wrap:anywhere}
@media(max-width:420px) {
  .sound-controls {grid-template-columns:minmax(0,1fr) minmax(88px,.8fr)}
  .sound-setting {grid-column:1/-1;min-height:28px}
}
.admin-page output[data-state]:not(:empty) {display:inline-block;padding:8px 12px;border-radius:5px;background:var(--panel);font-size:14px}
.admin-page output[data-state=error] {color:#ffab9b}
.admin-page output[data-state=success] {color:#b1d9ab}
.admin-page .catalog-filters {display:grid;grid-template-columns:minmax(225px,2fr) minmax(145px,1fr) minmax(175px,1.25fr) auto;gap:12px 16px;align-items:end;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.catalog-filters label {min-width:0}
.admin-page .catalog-filters :is(input,select) {box-sizing:border-box;width:100%;min-width:0;height:42px;padding-inline:12px;border-radius:5px;background:var(--bg)}
.catalog-filters output {align-self:end;line-height:42px;color:var(--sub);font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:800px){
  .admin-page .catalog-filters {grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:10px 12px;padding:12px}
  .catalog-filters label:first-of-type {grid-column:1/-1}
  .catalog-filters output {grid-column:1/-1;line-height:1.25}
}
.editor-heading {border-bottom:1px solid var(--line);padding:12px 0 18px;margin:0 0 20px}
.editor-heading h1 {margin:0;font-size:clamp(1.65rem,4vw,2.65rem);line-height:1.12}
.editor-heading p {margin:8px 0 0;color:var(--sub);overflow-wrap:anywhere}
.editor-heading strong {font-weight:550;color:var(--ink)}
.fulfillment details {padding:10px 0;border-bottom:1px solid var(--line)}
.fulfillment details:last-child {border-bottom:0}
.fulfillment summary {cursor:pointer;font-weight:550}
.description-editor {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,32px)}
.definition :is(.vehicle-features,.kit-features) {min-width:0;margin:12px 0;padding:0;border:0;background:transparent}
.definition :is(.vehicle-features,.kit-features) legend {padding:0;color:var(--sub);font:inherit;font-size:13px}
.kit-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;margin:4px 0}
.kit-row input {min-width:0;width:100%;height:34px;padding:4px 8px;font-size:13px}
.kit-features [data-add-kit-row] {margin-top:4px}
.vehicle-feature {display:grid;grid-template-columns:minmax(0,2.1fr) minmax(66px,1fr) auto;align-items:center;gap:6px;max-width:32rem;margin:4px 0}
.vehicle-feature select,.vehicle-feature input {width:100%;height:34px;padding:4px 8px;font-size:13px}
.feature-actions {display:flex;gap:2px}
.feature-actions button {width:30px;height:32px;padding:0;border:1px solid var(--line);border-radius:4px;color:var(--sub)}
.feature-actions button:disabled {opacity:.32;cursor:default}
.vehicle-features [data-add-feature] {margin-top:4px}
.vehicle-features [data-add-feature]:focus {outline:none}
.vehicle-features [data-add-feature]:focus-visible {text-decoration:underline;text-underline-offset:3px}
@media(max-width:420px){
  .vehicle-feature {grid-template-columns:minmax(0,1fr) minmax(64px,.42fr);padding-bottom:4px;border-bottom:1px solid var(--line)}
  .vehicle-feature .feature-actions {grid-column:1/-1;justify-content:flex-end}
  .feature-actions button {width:36px;height:36px}
}
.description-preview {align-self:start;border:1px solid var(--line);border-radius:6px;padding:16px;min-width:0}
.description-preview h2 {margin:0 0 14px;font-size:1rem}
.product-description {overflow-wrap:anywhere;min-width:0;font-size:14px;line-height:1.55}
.product-description p {margin:0 0 .55em;white-space:pre-line}
.product-description h3 {font-size:1rem;font-weight:600;margin:14px 0 8px}
.product-description ul {padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:5px 14px;margin:0}
.product-description li {border-bottom:1px solid var(--line);padding:4px 0}
.product-description .kit-contents {grid-template-columns:minmax(0,1fr);gap:0;white-space:pre-wrap}
.product-terms {margin-top:16px;border-left:2px solid var(--accent);padding-left:12px}
.checkout-shell>.product-description {grid-column:1/-1;border-top:1px solid var(--line);padding:18px clamp(16px,3vw,30px)}
.checkout-shell>.stock-edit {grid-column:1/-1;display:grid;margin:0 clamp(16px,3vw,24px) 16px auto}
.checkout-shell .editable-terms {position:relative;padding-right:56px}
.editable-terms p:last-of-type {margin-bottom:0}
.editable-terms>.stock-edit {position:absolute;right:0;bottom:11px;transform:translateY(50%)}
@media(max-width:720px){.description-editor {grid-template-columns:minmax(0,1fr)}}
.fulfillment details[open] summary {margin-bottom:8px}
.definition small {font-size:.8rem;line-height:1.4}
.definition-row {align-items:end}
.definition-row :is(input,select,textarea) {width:100%}
.definition .portal-actions output {align-self:center}
:is(button,a[href]:not(.wordmark),.tile,summary):is(:active,.is-pressed) {
  opacity:.76;
}
#site-nav a:focus-visible {outline:0;text-decoration:underline;text-underline-offset:5px}
.wordmark { -webkit-tap-highlight-color:transparent }
.wordmark:focus:not(:focus-visible) {outline:none}
.wordmark:focus-visible {outline:1px solid var(--sub);outline-offset:3px;border-radius:3px}
@media(prefers-reduced-motion:no-preference) {
  :is(button,.primary,.secondary,.stock-edit,.tile):is(:active,.is-pressed) {translate:0 1px}
}
button[aria-busy="true"],[aria-busy="true"] button:disabled {cursor:progress}
@media(max-width:600px){
  .definition-row {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
  .definition-row label:first-child {grid-column:1/-1}
}
.admin-stock caption,.admin-stock .stock-actions {padding-inline-end:12px}
.bulk-tools {display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:6px 0 12px}
.bulk-tools output {color:var(--sub);font-size:.875rem}
.bulk-tools button:disabled {opacity:.55;cursor:default}
.bulk-tools button:enabled:hover {border-color:#ec9187;color:#ec9187}
.admin-stock .stock-select {width:1%;padding:0 4px;text-align:center}
.stock-select label {display:inline-grid;place-items:center;min-width:40px;min-height:42px;vertical-align:middle;cursor:pointer}
.stock-select input[type=checkbox] {width:17px;height:17px;min-height:0;margin:0;accent-color:var(--accent);cursor:pointer}
.admin-stock[inert],.stock-create a[inert] {opacity:.5}

/* Product specifications share the same layout in the storefront and admin preview. */
.product-description {container-type:inline-size}
.product-description .spec-intro {color:var(--sub)}
.product-description .spec-sheet {
  display:grid;grid-template-columns:minmax(0,1fr);gap:14px;
  --spec-olive:color-mix(in srgb,var(--ink) 60%,#91a66e);
}
.spec-sheet svg {
  flex:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.55;
  stroke-linejoin:round;stroke-linecap:round;
}
.product-description .spec-mounts {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.product-description .spec-mount {
  display:flex;align-items:center;gap:8px;min-width:0;
  border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent);padding:7px 0;
  font-size:13px;font-weight:500;line-height:1.3;
}
.spec-mount svg,.spec-extra svg {color:var(--spec-olive)}
.spec-mount small {margin-left:auto;font:500 11px/1.2 var(--mono);text-align:right;color:var(--sub)}
.product-description .spec-extra {grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:5px 16px}
.product-description .spec-extra li {display:flex;align-items:baseline;gap:9px;border:0;padding:0;font-size:13px}
.spec-extra svg {align-self:center;width:16px;height:16px}
.spec-extra .spec-note::before {content:"";flex:none;width:4px;height:4px;align-self:baseline;transform:translateY(-2px);border-radius:50%;background:var(--spec-olive)}
.product-description .product-terms {margin-top:18px}
@container(max-width:370px){
  .product-description .spec-mounts {column-gap:12px}
  .product-description .spec-mount {gap:6px;font-size:12px}
  .spec-mount svg {width:16px;height:16px}
  .spec-mount small {font-size:10px}
}

.spec-extra li span::first-letter {text-transform:uppercase}


.home-leaders {padding-block:12px 36px}
.leader-head {display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px}
.leader-head .eyebrow {color:var(--accent);margin-bottom:6px}
.leader-head .secondary {flex-shrink:0;gap:8px}
.leader-list {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px}
.leader-list ol {margin:0;padding:0;list-style:none;min-width:0}
.leader-podium {display:grid;grid-template-rows:minmax(174px,1fr) auto auto;gap:6px}
.leader-list li {min-width:0}
.leader-place,.leader-score {font-variant-numeric:tabular-nums}
.leader-name {overflow-wrap:anywhere}
.leader-winner {display:grid;align-content:end;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:5px 14px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #ac8245;border-radius:7px;padding:20px 22px;color:#fbf2dc;background:#342c23}
.leader-winner::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#16140fe3 0%,#1c191543 48%,transparent),url("assets/leader-watch.webp") 70% 23%/cover}
.leader-winner .leader-place {position:absolute;inset:17px auto auto 22px;display:inline-flex;align-items:center;gap:8px;padding:5px 9px 5px 7px;background:#2a241be8;color:#ffdb8a;border:1px solid #b88d5080;border-radius:3px;text-transform:uppercase;font:600 11px var(--mono);letter-spacing:.07em}
.leader-winner .leader-place::before {content:"";width:15px;height:13px;background:currentColor;clip-path:polygon(0 12%,32% 42%,50% 0,68% 42%,100% 12%,82% 83%,18% 83%,19% 100%,81% 100%,81% 93%,18% 93%)}
.leader-winner .leader-name {font:700 clamp(30px,3.4vw,52px)/1.05 Barlow,Inter,sans-serif;letter-spacing:-.015em;padding-top:45px}
.leader-score {display:flex;align-items:baseline;justify-content:flex-end;gap:6px;min-width:0}
.leader-score strong {font:600 20px/1 var(--mono)}
.leader-winner .leader-score {display:grid;align-self:end;justify-items:end;gap:1px;color:#ffd786}
.leader-winner .leader-score strong {font:700 clamp(32px,3.5vw,49px)/.95 Barlow,Inter,sans-serif}
.leader-winner .leader-score span {font-size:11px;color:#f4dcb2}
.leader-silver,.leader-bronze,.leader-row {display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 16px;border:1px solid var(--line);background:var(--panel);border-radius:4px}
.leader-silver {--medal:#becbd2}
.leader-bronze {--medal:#ce9974}
.leader-silver .leader-place,.leader-bronze .leader-place {font:600 13px var(--mono);text-align:center;border-inline-start:2px solid var(--medal);color:var(--ink)}
.leader-silver .leader-name,.leader-bronze .leader-name {font-weight:620}
.leader-others {display:grid;grid-auto-rows:minmax(39px,1fr);border:1px solid var(--line);border-radius:7px;overflow:hidden}
.leader-row {grid-template-columns:30px minmax(0,1fr) auto;padding:8px 16px;border:0;border-radius:0;background:var(--bg)}
.leader-row + .leader-row {border-top:1px solid var(--line)}
.leader-row:nth-child(odd) {background:var(--panel)}
.leader-row .leader-place {color:var(--sub);font:12px var(--mono)}
.leader-row .leader-name {font-size:14px;font-weight:520}
.leader-row .leader-score strong {font-size:16px}
.leader-date {display:block;margin-top:10px;color:var(--sub);font-size:11px}
@media(max-width:680px){
  .leader-head {align-items:center;gap:8px}
  .leader-head .secondary {font-size:12px;padding:8px;gap:4px}
  .leader-list {grid-template-columns:minmax(0,1fr);gap:9px}
  .leader-podium {grid-template-rows:minmax(162px,1fr) auto auto;gap:5px}
  .leader-winner {padding:16px 17px}
  .leader-winner .leader-place {inset:14px auto auto 17px}
  .leader-silver,.leader-bronze,.leader-row {padding-inline:12px}
}
.choice-group legend:has(.spawn-help) {position:relative;width:100%}
.spawn-help {display:inline}
.spawn-help-button {display:inline-grid;place-items:center;vertical-align:middle;width:26px;height:26px;margin:-4px 0 -4px 2px;padding:0;color:var(--sub)}
.spawn-help-button span {display:grid;place-items:center;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font:600 11px/1 var(--mono)}
.spawn-help-button:hover,.spawn-help-button[aria-expanded=true] {color:var(--accent)}
.spawn-help-text:not([hidden]) {position:absolute;z-index:3;inset-inline-start:0;top:100%;display:block;width:min(275px,100%);background:var(--panel);color:var(--ink);box-shadow:0 4px 16px #0003;border:1px solid var(--line);border-radius:6px;padding:9px 12px;font-size:13px;font-weight:450;line-height:1.45}
@media(pointer:coarse){.spawn-help-button {width:36px;height:32px}}

@media(max-width:650px),(pointer:coarse){.spawn-help-text:not([hidden]){position:static;max-width:100%;margin-block:6px}}

.orders .transport-delivered,.checkout-panel .transport-delivered {color:var(--green);font-weight:600}

html {scrollbar-gutter:stable}
.admin-page .admin-section-heading {align-items:end;display:flex;margin-block:0 18px;padding-block:10px 22px}
.admin-page .admin-section-heading h1 {font-size:clamp(28px,4.5vw,64px);margin-block:12px 0;line-height:1.05}
.admin-page .admin-section-heading + .subnav {height:auto;gap:10px 12px;align-items:center;margin:0 0 18px}
@media(prefers-reduced-motion:no-preference){
  .admin-page .admin-section-heading + .subnav ~ :is(form,section,.purchase-metrics,#purchase-results,.table-scroll) {animation:admin-content-appear .14s ease-out}
  @keyframes admin-content-appear {from {opacity:.8} to {opacity:1}}
}

/* Image selection in the product editor. */
.product-art {margin-top:14px;min-width:0}
.product-art-file {display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center}
.product-art-preview {display:grid;place-items:center;height:72px;padding:5px;border:1px solid var(--line);border-radius:6px;background:var(--bg);overflow:hidden}
.product-art-preview img {width:100%;height:100%;min-height:0;object-fit:contain}
.definition .product-art-file label {margin:0}
.product-art-file input {width:100%}
.definition .product-art-file small,.definition .product-art-text small {font-size:12px}
.definition .product-art-upload {position:relative;display:flex;align-items:center;gap:10px;margin:14px 0 0;padding:10px 12px;border:1px dashed var(--line);border-radius:6px;background:var(--bg);cursor:pointer}
.product-art-upload input[type=file] {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;z-index:1}
.product-art-icon {display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:5px;background:rgba(255,115,68,.1);color:var(--accent)}
.product-art-text {display:grid;gap:2px;min-width:0}
.product-art-text strong {font-size:14px;font-weight:600;color:var(--ink)}
.product-art-text small {color:var(--sub)}
.product-art-pick {margin-left:auto;padding:6px 10px;white-space:nowrap;border:1px solid var(--line);border-radius:4px;color:var(--ink);font-size:12px;font-weight:600}
.product-art-upload:is(:hover,.is-dragging,:has(input:focus-visible)) {border-color:var(--accent)}
.product-art-upload:has(input:focus-visible) {outline:2px solid var(--accent);outline-offset:2px}
.product-art-upload.is-dragging {background:rgba(255,115,68,.09)}
.product-art-upload[aria-busy=true] {opacity:.7}
.product-art-status {display:block;margin-top:6px;font-size:13px;color:var(--sub)}
.product-art-status:empty {display:none}
.product-art-status[data-state=error] {color:#ffad94}
@media(max-width:500px){
  .product-art-file {grid-template-columns:56px minmax(0,1fr);gap:10px}
  .product-art-preview {height:56px}
  .product-art-pick {display:none}
}
#servers > .section-head > .demo-tag { display: none; }

#server-catalog .stock-layout > .departments {
  position: sticky;
  top: calc(var(--site-header-height, 73px) + 12px);
  align-self: start;
  max-height: calc(100dvh - var(--site-header-height, 73px) - 24px);
  overflow-y: auto;
  z-index: 2;
  background: var(--bg);
}
@media (max-width: 650px) {
  #server-catalog .stock-layout > .departments {
    top: var(--site-header-height, 73px);
    padding-block: 6px;
  }
}

/* Cached navigation headers from an earlier server session. */
#site-nav #nav-info { display: none; }

/* Server statistics */
.dz-stats {
  
  --stats-tint: color-mix(in srgb, var(--accent) 10%, var(--panel));
  --stats-row: color-mix(in srgb, var(--panel) 52%, var(--bg));
  min-width: 0;
}
.dz-stats .stats-mast {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  min-height: 220px;
  padding: clamp(22px, 4vw, 48px);
  overflow: hidden;
  color: #faf5e9;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(90deg, #131b18f0 0%, #141c18a6 40%, #1619162b 72%),
    linear-gradient(0deg, #121811bb, #161b1810 72%),
    #242b25 url("assets/leader-watch.webp") 72% 31% / cover no-repeat;
}
.dz-stats .stats-heading { flex: 1 1 340px; min-width: 0; }
.dz-stats .stats-server {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffe4d5;
  font: 700 13px/1.3 var(--mono);
  letter-spacing: .05em;
}
.dz-stats .stats-server::before { content: ""; width: 27px; height: 3px; background: #ff824f; }
.dz-stats .stats-heading h1 {
  margin: 8px 0 0;
  font: 700 clamp(42px, 5.4vw, 78px)/.96 Barlow, Inter, Arial, sans-serif;
  letter-spacing: -.025em;
  color: inherit;
}
.dz-stats .stats-highlight {
  flex: 0 1 auto;
  max-width: min(100%, 380px);
  min-width: 180px;
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px 18px;
  border: 1px solid #ffffff40;
  border-left: 3px solid #ff824f;
  border-radius: 4px;
  color: #fff6eb;
  background: #101713e6;
}
.dz-stats .stats-highlight-label, .dz-stats .stats-highlight small { color: #d8d9cf; font-size: 12px; line-height: 1.35; }
.dz-stats .stats-highlight strong { overflow-wrap: anywhere; color: #fff1db; font: 700 26px/1.05 Barlow, Inter, sans-serif; }
.dz-stats .stats-panel {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.dz-stats .stats-panel h2 { margin: 0 0 16px; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.18; letter-spacing: -.035em; }
.dz-stats .stats-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 0 18px; }
.dz-stats .stats-tools label { display: grid; gap: 6px; color: var(--sub); font-size: 13px; }
.dz-stats .stats-search { flex: 1 1 205px; min-width: 0; }
.dz-stats .stats-sort { flex: 0 1 auto; }
.dz-stats .stats-tools input, .dz-stats .stats-tools select {
  min-width: 0; width: 100%; min-height: 42px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 14px;
}
.dz-stats .stats-tools select { cursor: pointer; }
.dz-stats .stats-panel :is(a, button, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dz-stats table.stats-ranking, .dz-stats .stats-ranking table {
  width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px;
}
.dz-stats .stats-ranking th, .dz-stats .stats-ranking td {
  height: 52px; padding: 7px clamp(6px, 1.4vw, 18px); vertical-align: middle;
  border: 0; border-bottom: 1px solid var(--line); text-align: left;
}
.dz-stats .stats-ranking thead th { height: 39px; color: var(--sub); background: var(--bg); font-size: 12px; font-weight: 600; }
.dz-stats .stats-ranking tbody tr:nth-child(even) { background: var(--stats-row); }
.dz-stats .stats-ranking tbody tr:hover { background: var(--stats-tint); }
.dz-stats .stats-ranking .rank-place { width: 78px; text-align: center; font-variant-numeric: tabular-nums; }
.dz-stats .stats-ranking .rank-name { overflow-wrap: anywhere; font-weight: 650; }
.dz-stats .stats-ranking :is(.rank-kills, .rank-deaths, .rank-kd) { width: clamp(76px, 14%, 150px); text-align: right; font-variant-numeric: tabular-nums; }
.dz-stats .stats-ranking td.rank-kills { color: var(--accent); font-weight: 750; }
.dz-stats .stats-ranking td.rank-deaths { color: var(--sub); }
.dz-stats .rank-medal { display: inline-grid; place-items: center; min-width: 30px; height: 29px; padding-inline: 4px; border-radius: 5px; font: 700 14px/1 var(--mono); color: var(--ink); background: var(--bg); }
.dz-stats .rank-medal[data-rank="1"], .dz-stats tr[data-rank="1"] .rank-medal { color: #ffd389; background: #49361e; }
.dz-stats .rank-medal[data-rank="2"], .dz-stats tr[data-rank="2"] .rank-medal { color: #dce6ef; background: #303842; }
.dz-stats .rank-medal[data-rank="3"], .dz-stats tr[data-rank="3"] .rank-medal { color: #f5c6a0; background: #49352b; }
.dz-stats .kill-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  scrollbar-color: var(--sub) var(--panel);
}
.dz-stats .kill-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dz-stats .kill-table { width: 100%; min-width: 660px; border-collapse: collapse; }
.dz-stats .kill-table :is(th,td) { text-align: left; padding: 10px 16px; border: 0; }
.dz-stats .kill-table th {
  color: var(--sub); background: var(--bg); font-size: 12px; font-weight: 650;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.dz-stats .kill-table th:first-child { box-shadow: inset 3px 0 var(--accent); }
.dz-stats .kill-table tr + tr td { border-top: 1px solid var(--line); }
.dz-stats .kill-table tbody tr:nth-child(even) { background: var(--stats-row); }
.dz-stats .kill-table tbody tr:hover { background: var(--stats-tint); }
.dz-stats .kill-table time { display: grid; gap: 2px; font: 14px/1.3 var(--mono); }
.dz-stats .kill-table time small { color: var(--sub); font-size: 11px; }
.dz-stats .kill-table :is(.kill-player,.kill-victim) { overflow-wrap: anywhere; font-weight: 650; }
.dz-stats .kill-player { color: var(--accent); }
.dz-stats .kill-weapon {
  display: inline-block; max-width: 100%; padding: 3px 7px; border-radius: 4px;
  background: var(--bg); color: var(--sub); font: 13px/1.35 var(--mono); overflow-wrap: anywhere;
}
.dz-stats .kill-table :is(.kill-distance,th:last-child) { text-align: right; white-space: nowrap; }
.dz-stats .kill-distance { font: 650 14px/1.3 var(--mono); }
@media (max-width: 720px) {
  .dz-stats .kill-table :is(th,td) { padding-inline: 10px; }
}
.dz-stats .stats-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--sub); font-size: 13px; }
.dz-stats .stats-pager :is(a, button) { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--bg); font-weight: 600; }
.dz-stats .stats-pager :is(a, button):hover { border-color: var(--accent); color: var(--accent); }
.dz-stats .stats-pager button:disabled { opacity: .5; cursor: default; }
.dz-stats .stats-pager[hidden] { display: none; }
.dz-stats .stats-panel { scroll-margin-top: 12px; }
.dz-stats .stats-ranking tbody th.rank-name { background: transparent; color: var(--ink); font-size: inherit; }
.dz-stats .stats-highlight small { overflow-wrap: anywhere; }
.dz-stats .stats-empty { padding: 24px 12px; margin: 0; color: var(--sub); text-align: center; }
@media (max-width: 720px) {
  .dz-stats .stats-mast { min-height: 180px; gap: 14px; padding: 20px; }
  .dz-stats .stats-heading { flex-basis: 250px; }
  .dz-stats .stats-highlight { min-width: 145px; min-height: 0; padding: 8px 12px; }
  .dz-stats .stats-ranking .rank-place { width: 46px; }
}
@media (max-width: 470px) {
  .dz-stats .stats-mast { align-content: end; background-position: center, center, 62% 25%; }
  .dz-stats .stats-heading { flex-basis: 100%; }
  .dz-stats .stats-panel { padding: 12px; }
  .dz-stats .stats-tools { gap: 8px; }
  .dz-stats .stats-tools label { flex: 1 1 165px; }
  .dz-stats .stats-ranking .rank-place { width: 46px; }
  .dz-stats .stats-ranking .rank-kills { width: 64px; }
  .dz-stats .stats-ranking .rank-deaths { width: 66px; }
  .dz-stats .stats-ranking .rank-kd { width: 44px; }
  .dz-stats .stats-ranking th, .dz-stats .stats-ranking td { padding-inline: 4px; }
}

.vehicle-delivery .delivery-options {display:grid;grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,1fr))}
.vehicle-delivery .delivery-options > section {min-width:0;padding-inline:14px}
.vehicle-delivery .delivery-options > section:first-of-type {padding-inline-start:0}
.vehicle-delivery .delivery-options > section:last-of-type {padding-inline-end:0}
.vehicle-delivery .delivery-options > section + section {border-inline-start:1px solid var(--line)}
.product-delivery .delivery-options h3,.product-access h3 {margin:0 0 10px;font-size:14px}
.compact-delivery-rows :is(.definition-row,.delivery-column-labels) {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 34px;gap:8px}
.vehicle-delivery [data-config-key="rf_transportspawn"] :is(.definition-row,.delivery-column-labels) {grid-template-columns:minmax(0,1fr) 34px}
.product-delivery [data-config-key="request_code"] :is(.definition-row,.delivery-column-labels) {grid-template-columns:minmax(0,1fr) 92px 34px}
.compact-delivery-rows .delivery-column-labels {color:var(--sub);font-size:12px;margin-bottom:6px}
.compact-delivery-rows .definition-row {padding:0;margin:0 0 6px;border:0}
.compact-delivery-rows .definition-row label {grid-column:auto;min-width:0;margin:0}
.compact-delivery-rows .definition-row input {box-sizing:border-box;width:100%;height:34px;padding:6px 9px}
.compact-delivery-rows .definition-row .delivery-remove {display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0;color:var(--sub);font-size:19px;line-height:1}
.compact-delivery-rows .definition-row .delivery-remove:hover {color:var(--accent);border-color:var(--accent)}
.vehicle-delivery .delivery-options > section p {margin:9px 0 0;font-size:12px;line-height:1.45}
.product-delivery [data-add] {margin-top:10px}
.product-access .product-player-search {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.product-access #product-player-search:focus {border-color:var(--sub);outline:1px solid transparent;outline-offset:1px}
.product-access .product-players {padding:0;margin:8px 0;list-style:none;border:1px solid var(--line);border-radius:5px}
.product-players li {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px}
.product-players li + li {border-top:1px solid var(--line)}
.product-players li span {display:grid;min-width:0;gap:4px;overflow-wrap:anywhere}
.product-players code {font:12px var(--mono);color:var(--sub)}
.product-access [data-player-access] li {padding:4px 8px}
.product-access [data-player-access] li > span {display:flex;align-items:baseline;gap:8px}
.product-access [data-player-access] strong {min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-access [data-player-access] code {flex:none;white-space:nowrap}
.product-access [data-player-access] button {flex:none;min-height:29px;padding:4px 8px}
.product-access [data-player-message] {color:var(--accent)}
.product-access [data-player-message]:empty {display:none}
.product-access h3 {margin-top:16px}
@media(max-width:760px) {
  .vehicle-delivery .delivery-options {grid-template-columns:minmax(0,1fr)}
  .vehicle-delivery .delivery-options > section {padding:12px 0}
  .vehicle-delivery .delivery-options > section + section {border-inline-start:0;border-top:1px solid var(--line)}
}

.stock-card.vip-product {border-color:#806542}
.stock-card.vip-product .stock-image {position:relative;background:radial-gradient(ellipse at 48% 72%,#655132,#3b3326 44%,#272823 83%)}
.product-vip-badge {display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border:1px solid #957745;border-radius:4px;background:#272118;color:#f4d496;font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1.25}
.product-vip-badge i {width:13px;height:10px;background:currentColor;clip-path:polygon(0 12%,25% 45%,50% 0,75% 45%,100% 12%,85% 88%,15% 88%)}
.stock-image .product-vip-badge {position:absolute;inset:9px auto auto 9px;z-index:1}
.checkout-product.vip-product .product-vip-badge {align-self:flex-start;margin-bottom:8px}
.checkout-product.vip-product .vehicle-plate {background-image:radial-gradient(ellipse at center,#b8894552,transparent 75%),linear-gradient(0deg,transparent 95%,#888e7f14 95%),linear-gradient(90deg,transparent 95%,#888e7f14 95%)}

.profile-with-promos {display:grid;grid-template-columns:minmax(0,1.86fr) minmax(0,1fr);gap:18px}
.profile-account-main {min-width:0}
.profile-account-main > .cabinet-summary .cabinet-card:only-child {width:100%}
.profile-with-promos #profile-form {margin-bottom:0}
.profile-promo-shelf {min-width:0;padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--panel);scroll-margin-top:85px}
.profile-promo-shelf > h2 {margin:0 0 14px;font-size:19px;letter-spacing:-.025em}
.profile-promo-shelf > [data-promo-loading] {color:var(--sub);font-size:13px}
.profile-promo-shelf > [data-promo-loading]:empty {display:none}
.profile-promo-list {display:grid;gap:8px}
.profile-promo-option {display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:64px;padding:7px 11px 7px 7px;text-align:left;border:1px solid #604e40;border-radius:5px;background:linear-gradient(104deg,#332920 0%,var(--bg) 76%)}
.profile-promo-option:hover {border-color:var(--accent)}
.profile-promo-option img {width:58px;height:46px;object-fit:contain;background:#171b18;border-radius:4px}
.profile-promo-option span {display:grid;gap:3px;overflow-wrap:anywhere}
.profile-promo-option strong {font-size:14px;line-height:1.25}
.profile-promo-option small {font-size:12px;color:var(--sub)}
.profile-promo-option i {font-size:24px;font-style:normal;color:var(--accent)}
.profile-promo-confirm #promo-confirm-title:focus {outline:none}
.profile-promo-confirm [data-promo-reward] {margin:0 0 16px;font-weight:650}
.profile-promo-confirm [data-promo-copy] {margin:0;white-space:pre-line;color:var(--sub)}
.profile-promo-confirm [data-promo-copy]:empty {display:none}
.profile-promo-confirm .promo-claim-error:not(:empty) {display:block;margin-top:10px;color:var(--accent)}
button.profile-promo-close {position:absolute;top:10px;right:10px;display:grid;place-items:center;padding:0;border-radius:50%;background:#202722;color:white;width:34px;height:34px;font:23px/1 Arial,sans-serif}
@media(max-width:650px){.profile-promo-confirm {width:calc(100% - 16px);max-height:95dvh}}
@media(min-width:851px){.profile-promo-shelf {contain:size;min-height:0;overflow:auto}}
@media(max-width:850px){
  .profile-with-promos {grid-template-columns:minmax(0,1fr);gap:12px}
  .profile-with-promos > .profile-account-main {display:contents}
  .profile-with-promos .cabinet-summary {margin-bottom:0}
  .profile-promo-shelf {grid-row:2}
}


.home-social-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.home-social-links a{display:inline-flex;gap:10px;align-items:center;padding:8px 12px;color:#f2eee4;background:#202421;border:1px solid #444a42;border-radius:4px;font-size:13px;font-weight:650;text-decoration:none}
.home-social-links a span{color:#ff744b}
.home-social-links a:hover,.home-social-links a:focus-visible{border-color:#ff744b;color:#ff744b}
.hero .actions .home-social-links a{min-height:42px}
.hero .actions:has(.home-social-links){flex-wrap:wrap}
