
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Kanit:wght@400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');
:root{
  --bg:#080807;--bg2:#0e0d0b;--panel:#14130f;--panel2:#191711;--ink:#f2efe8;--muted:rgba(242,239,232,.72);
  --soft:rgba(242,239,232,.065);--line:rgba(242,239,232,.16);--line2:rgba(242,239,232,.34);
  --accent:#b7c49a;--accent2:#d8e1bd;--rust:#a86d48;--warn:#e1b06f;--shadow:0 18px 58px rgba(0,0,0,.28);
  --display:'Barlow Condensed','Arial Narrow',Impact,sans-serif;--body:'Kanit',Arial,Helvetica,sans-serif;--mono:'Space Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
html[data-theme="light"]{--bg:#f2efe8;--bg2:#e7dfcf;--panel:#fbf7ed;--panel2:#eee5d5;--ink:#11100e;--muted:rgba(17,16,14,.66);--soft:rgba(17,16,14,.055);--line:rgba(17,16,14,.16);--line2:rgba(17,16,14,.33);--accent:#526137;--accent2:#2f3b22;--rust:#76523a;--shadow:0 18px 58px rgba(17,16,14,.10)}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body{margin:0;min-height:100vh;background:linear-gradient(180deg,var(--bg),var(--bg2));color:var(--ink);font-family:var(--body);overflow-x:hidden;cursor:auto}a,button,summary,label,input[type="checkbox"],input[type="radio"]{cursor:pointer}input,textarea{cursor:text}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}img{max-width:100%;display:block}.skip{position:absolute;left:-999px;top:auto}.skip:focus{left:16px;top:16px;z-index:4000;background:var(--ink);color:var(--bg);padding:10px 12px}.fit{min-width:0;overflow-wrap:anywhere}.no-caps{text-transform:none}.muted{color:var(--muted)}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(8,8,7,.96);border-bottom:1px solid var(--line);backdrop-filter:none}html[data-theme="light"] .site-header{background:rgba(242,239,232,.96)}.nav-wrap{width:min(1280px,calc(100vw - 44px));margin:0 auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px}.wordmark{font-family:var(--display);font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:clamp(24px,2.2vw,34px);line-height:1;color:var(--ink);white-space:nowrap}.wordmark span{font-family:var(--mono);font-size:9px;letter-spacing:.26em;opacity:.5;margin-left:9px;vertical-align:middle}.main-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}.main-nav a{font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);padding:24px 0 20px;border-bottom:2px solid transparent}.main-nav a:hover,.main-nav a.active,.footer-links a:hover{color:var(--ink);border-bottom-color:var(--accent)}.theme-toggle{border:1px solid var(--line2);background:var(--soft);color:var(--ink);border-radius:999px;padding:9px 12px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.theme-toggle:hover,.theme-toggle:focus{border-color:var(--accent);background:rgba(183,196,154,.14);outline:0}.top-wallet{position:sticky;top:68px;z-index:900;border-bottom:1px solid var(--line);background:var(--bg)}.top-wallet-inner{width:min(1280px,calc(100vw - 44px));margin:0 auto;display:flex;gap:8px;align-items:center;justify-content:flex-end;min-height:42px;overflow-x:auto}.top-wallet span,.wallet-basket{flex:0 0 auto;border:1px solid var(--line);background:var(--soft);padding:7px 10px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.top-wallet b{color:var(--ink)}.wallet-basket:hover{border-color:var(--accent);color:var(--ink)}
.page{width:min(1280px,calc(100vw - 44px));margin:0 auto;padding:32px 0 50px}.page.narrow{width:min(980px,calc(100vw - 44px))}.section{margin-top:24px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.section-head p{max-width:620px;margin:0;font-size:14px}.hero-card,.panel,.card{border:1px solid var(--line);background:linear-gradient(135deg,var(--soft),rgba(0,0,0,0));box-shadow:var(--shadow)}.hero-card.pad,.panel,.card{padding:clamp(18px,2.5vw,26px)}.panel:hover,.card:hover,.card-link:hover{border-color:var(--line2)}.kicker{font-family:var(--mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);font-weight:700}.kicker:before{content:'//';color:var(--accent);margin-right:10px}h1,h2,h3,.display{font-family:var(--display);font-weight:900;text-transform:uppercase;letter-spacing:.01em;margin:0;color:var(--ink)}h1{font-size:clamp(52px,7vw,104px);line-height:.86;letter-spacing:-.024em;margin-top:14px}h2{font-size:clamp(34px,4vw,60px);line-height:.92}h3{font-size:clamp(24px,2.2vw,36px);line-height:.96}p{color:var(--muted);line-height:1.7;font-size:16px}.lead{font-size:clamp(17px,1.6vw,22px);line-height:1.5;max-width:820px;color:var(--ink);opacity:.88;font-weight:600}.small{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);line-height:1.5}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.btn,.submit{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid var(--line2);background:var(--soft);color:var(--ink);padding:11px 15px;font-family:var(--mono);font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.btn:hover,.btn:focus,.submit:hover,.submit:focus{border-color:var(--accent);background:rgba(183,196,154,.13);outline:0}.btn.primary,.submit{background:var(--ink);color:var(--bg);border-color:var(--ink)}.btn.small{min-height:36px;padding:9px 11px;font-size:10px}.tag{display:inline-flex;border:1px solid var(--line);background:var(--soft);padding:6px 8px;font-family:var(--mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.divider{height:1px;background:var(--line);margin:18px 0}.grid{display:grid;gap:14px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card-link{border:1px solid var(--line);background:var(--soft);padding:18px;display:block;min-height:156px}.card-link span{font-family:var(--mono);font-size:11px;letter-spacing:.18em;color:var(--accent)}.field{width:100%;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:12px;outline:0;border-radius:0}.field:focus{border-color:var(--accent)}textarea.field{min-height:96px;resize:vertical}.form-grid{display:grid;gap:10px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-line{display:flex;border:1px solid var(--line2);margin-top:12px}.form-line input{min-width:0;flex:1;border:0;background:transparent;color:var(--ink);padding:14px 13px;outline:0}.form-line button{border:0;border-left:1px solid var(--line2);background:var(--ink);color:var(--bg);font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;padding:0 15px}.form-msg,.box-msg{min-height:20px;color:var(--accent);font-family:var(--mono);font-size:11px;margin-top:10px;letter-spacing:.08em}.check{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:13px;line-height:1.45;margin:12px 0}.status-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.status-pill{border:1px solid var(--line);background:var(--soft);padding:9px 11px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.status-pill b{font-family:var(--display);font-size:22px;color:var(--ink);margin-right:6px}.pill-row{display:flex;gap:8px;flex-wrap:wrap}
/* landing */.landing{min-height:100vh;background:var(--bg);position:relative;overflow:hidden}.landing-bg{position:fixed;inset:0;background:url('Ash-and-joe.JPG') center/cover no-repeat;filter:grayscale(1) contrast(1.05) brightness(.74);opacity:.95}html[data-theme="light"] .landing-bg{filter:grayscale(1) contrast(1.02) brightness(.97);opacity:.82}.landing:after{content:'';position:fixed;inset:0;background:linear-gradient(90deg,rgba(8,8,7,.86),rgba(8,8,7,.40) 54%,rgba(8,8,7,.76));pointer-events:none}html[data-theme="light"] .landing:after{background:linear-gradient(90deg,rgba(242,239,232,.84),rgba(242,239,232,.20) 52%,rgba(242,239,232,.68))}.landing .site-header{position:relative;background:rgba(8,8,7,.62)}html[data-theme="light"] .landing .site-header{background:rgba(242,239,232,.62)}.landing-main{position:relative;z-index:3;min-height:calc(100vh - 69px);width:min(1280px,calc(100vw - 44px));margin:0 auto;padding:84px 0 44px;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:44px;align-items:end}.landing-title{font-size:clamp(64px,10vw,150px);line-height:.82;letter-spacing:-.035em}.landing-title em{font-style:normal;color:transparent;-webkit-text-stroke:1px var(--ink)}.landing-copy p{font-family:var(--mono);font-size:15px;line-height:1.85;color:var(--ink);opacity:.88;max-width:720px}.gate-box{border:1px solid var(--line2);background:rgba(8,8,7,.68);padding:23px;box-shadow:var(--shadow)}html[data-theme="light"] .gate-box{background:rgba(242,239,232,.74)}.gate-box h2{font-size:clamp(32px,3vw,44px);margin-top:12px}.open-site{display:none}.unlocked .open-site{display:inline-flex}
/* home */.home-hero{min-height:calc(100vh - 110px);display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:stretch}.home-main-card{position:relative;overflow:hidden;min-height:560px;padding:clamp(28px,5vw,56px);display:flex;flex-direction:column;justify-content:flex-end}.home-main-card:before{content:'';position:absolute;inset:0;background:url('Ash-and-joe.JPG') center/cover no-repeat;filter:grayscale(1) contrast(1.05) brightness(.78);opacity:.82}.home-main-card:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,7,.91),rgba(8,8,7,.38),rgba(8,8,7,.72))}html[data-theme="light"] .home-main-card:after{background:linear-gradient(90deg,rgba(242,239,232,.88),rgba(242,239,232,.20),rgba(242,239,232,.68))}.home-main-card>*{position:relative;z-index:2}.home-word{font-size:clamp(62px,9vw,130px);line-height:.82;letter-spacing:-.038em}.home-word .outline{color:transparent;-webkit-text-stroke:1px var(--ink)}.home-side{display:grid;gap:12px}.home-route{display:flex;flex-direction:column;justify-content:space-between;min-height:170px}.home-route h2{font-size:clamp(34px,3.5vw,58px)}.home-route.primary-route{background:linear-gradient(135deg,rgba(183,196,154,.14),var(--soft))}.route-thumb{height:74px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(183,196,154,.18),rgba(168,109,72,.11));margin-bottom:14px}.route-thumb.store{background:linear-gradient(90deg,rgba(242,239,232,.08) 1px,transparent 1px),linear-gradient(0deg,rgba(242,239,232,.08) 1px,transparent 1px),linear-gradient(135deg,rgba(183,196,154,.20),rgba(168,109,72,.12));background-size:18px 18px,18px 18px,auto}.route-thumb.crates{background:repeating-linear-gradient(45deg,rgba(183,196,154,.16) 0 12px,transparent 12px 24px),var(--panel)}.route-thumb.arcade{background:linear-gradient(90deg,rgba(183,196,154,.22) 1px,transparent 1px),linear-gradient(0deg,rgba(183,196,154,.16) 1px,transparent 1px),#071008;background-size:22px 22px}.ticker{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);padding:13px 0}.ticker-inner{width:min(1280px,calc(100vw - 44px));margin:0 auto;display:flex;gap:10px 20px;flex-wrap:wrap;justify-content:center}.ticker span{font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
/* shop */.shop-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:center}.store-card-image{min-height:260px;border:1px solid var(--line);background:url('ASH_OLLIE_FTS.JPG') center/cover no-repeat;filter:grayscale(1) contrast(1.04);opacity:.88}.category-dropdowns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.store-category{border:1px solid var(--line);background:var(--soft)}.store-category summary{list-style:none;padding:13px 14px;font-family:var(--display);font-size:28px;text-transform:uppercase;font-weight:900;display:flex;justify-content:space-between;align-items:center}.store-category summary::-webkit-details-marker{display:none}.store-category summary:after{content:'+';font-family:var(--mono);font-size:14px;color:var(--accent)}.store-category[open] summary:after{content:'–'}.subcats{display:grid;gap:0;border-top:1px solid var(--line)}.subcats button{width:100%;text-align:left;border:0;border-top:1px solid var(--line);background:transparent;color:var(--muted);padding:10px 13px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase}.subcats button:hover,.subcats button.active{background:var(--ink);color:var(--bg)}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.filter-row button{border:1px solid var(--line);background:var(--soft);color:var(--muted);padding:8px 10px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase}.filter-row button.active,.filter-row button:hover{border-color:var(--accent);color:var(--ink)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{display:flex;flex-direction:column;gap:10px;min-height:100%}.product-art{height:160px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(183,196,154,.16),rgba(168,109,72,.11));position:relative;overflow:hidden}.product-art:before{content:'';position:absolute;inset:16px;border:1px solid var(--line2);opacity:.55}.product-card h3{font-size:31px}.product-bottom{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:auto}.product-bottom strong{font-family:var(--display);font-size:28px}.is-hidden{display:none!important}.shop-note{border:1px dashed var(--line2);padding:12px;font-family:var(--mono);font-size:11px;line-height:1.55;color:var(--muted);margin-top:14px}
/* crates */.crate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.crate-card{min-height:100%;display:flex;flex-direction:column;gap:12px}.crate-lid{height:118px;border:1px solid var(--line);background:repeating-linear-gradient(90deg,rgba(183,196,154,.16) 0 18px,rgba(168,109,72,.10) 18px 36px),var(--panel);position:relative}.crate-lid:after{content:'';position:absolute;left:14px;right:14px;top:50%;height:1px;background:var(--line2)}.crate-card h3{font-size:32px}.crate-list{padding-left:18px;color:var(--muted);line-height:1.7}.custom-crate-panel{display:grid;grid-template-columns:1fr 360px;gap:16px;align-items:start}.builder-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.builder-options label{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);background:var(--soft);padding:12px;color:var(--muted)}.builder-total{font-family:var(--display);font-size:58px;line-height:.9;color:var(--ink)}
/* profile */.profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px}.profile-rail{position:sticky;top:122px;align-self:start}.avatar-card{display:grid;place-items:center;min-height:280px;border:1px solid var(--line);background:radial-gradient(circle at center,rgba(183,196,154,.20),transparent 45%),var(--panel);font-family:var(--display);font-size:92px}.side-links{display:grid;gap:8px;margin-top:12px}.side-links a{border:1px solid var(--line);background:var(--soft);padding:10px 12px;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.side-links a.active,.side-links a:hover{border-color:var(--accent);color:var(--ink)}.profile-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:stretch}.mini-avatar{border:1px solid var(--line);background:radial-gradient(circle at center,rgba(183,196,154,.20),transparent 42%),var(--panel);display:grid;place-items:center;font-family:var(--display);font-size:72px;min-height:230px}.dash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-card b{display:block;font-family:var(--display);font-size:44px;line-height:.9}.privacy-grid{display:grid;gap:10px}.privacy-grid label{border:1px solid var(--line);padding:12px;display:flex;justify-content:space-between;gap:14px;color:var(--muted)}
/* rewards */.reward-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.roll-card{text-align:center}.joint-stage{height:170px;border:1px solid var(--line);background:radial-gradient(circle at center,rgba(183,196,154,.16),transparent 45%),var(--panel);display:grid;place-items:center;margin:14px 0;overflow:hidden}.joint{width:170px;height:18px;border-radius:999px;background:linear-gradient(90deg,#e8dbc5 0 72%,#6e8a54 72% 100%);box-shadow:0 8px 0 rgba(0,0,0,.16);transform:rotate(-8deg);position:relative}.joint:before{content:'';position:absolute;left:-34px;top:-17px;width:42px;height:42px;border-radius:50%;border:3px solid rgba(232,219,197,.75);opacity:.8}.is-rolling .joint{animation:rollJoint 1s linear infinite}@keyframes rollJoint{0%{transform:rotate(-8deg) translateX(-12px)}50%{transform:rotate(16deg) translateX(12px)}100%{transform:rotate(-8deg) translateX(-12px)}}.mission-list{display:grid;gap:10px}.mission{border:1px solid var(--line);background:var(--soft);padding:12px;display:flex;justify-content:space-between;gap:12px;align-items:center}.progress{height:8px;border:1px solid var(--line);background:var(--panel);overflow:hidden;margin-top:8px}.progress span{display:block;height:100%;background:var(--accent)}
/* community */.community-layout{display:grid;grid-template-columns:1fr 330px;gap:16px}.post-card{display:grid;gap:10px}.post-top{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px}.post-author{display:flex;gap:10px;align-items:center}.post-pfp{width:42px;height:42px;border:1px solid var(--line2);display:grid;place-items:center;background:var(--soft);font-family:var(--display);font-size:22px}.post-author b{display:block;font-family:var(--display);font-size:24px;text-transform:uppercase}.post-author span,.post-time{font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.composer textarea{width:100%;min-height:92px}.post-actions,.post-tags{display:flex;gap:8px;flex-wrap:wrap}.post-tags span{border:1px solid var(--line);padding:6px 8px;font-family:var(--mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
/* cart */.cart-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border:1px solid var(--line);background:var(--soft);padding:12px;margin-bottom:10px}.cart-item b{display:block}.cart-item small{display:block;color:var(--muted);line-height:1.4}.cart-item strong{font-family:var(--display);font-size:28px}.site-footer{border-top:1px solid var(--line);padding:24px 0;background:var(--bg);margin-top:22px}.footer-wrap{width:min(1280px,calc(100vw - 44px));margin:0 auto;display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px}.footer-brand{font-family:var(--display);font-size:28px;text-transform:uppercase;letter-spacing:.14em;font-weight:900}.footer-note{font-size:13px;margin:10px 0 0}.footer-links{display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:flex-end;margin-bottom:12px}.footer-links a{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid transparent}.legal-copy{max-width:760px}.redirect-card{min-height:70vh;display:grid;place-items:center;text-align:center}
@media(max-width:1080px){.nav-wrap{min-height:auto;padding:16px 0;align-items:flex-start}.main-nav{gap:12px}.main-nav a{padding:6px 0}.top-wallet{top:101px}.landing-main,.home-hero,.shop-hero,.custom-crate-panel,.profile-layout,.profile-hero,.reward-layout,.community-layout{grid-template-columns:1fr}.category-dropdowns,.product-grid,.crate-grid,.dash-grid,.grid.three,.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-rail{position:relative;top:auto}.home-main-card{min-height:480px}.footer-wrap{grid-template-columns:1fr}.footer-links{justify-content:flex-start}.store-card-image{min-height:190px}}@media(max-width:640px){.nav-wrap,.page,.landing-main,.footer-wrap,.top-wallet-inner{width:min(100% - 28px,1280px)}.wordmark{font-size:23px}.wordmark span{display:none}.main-nav{width:100%;order:3;display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.main-nav a{flex:0 0 auto}.theme-toggle{padding:8px 10px}.top-wallet{top:126px}.top-wallet-inner{justify-content:flex-start}.landing-main{padding-top:44px;gap:22px}.landing-title,.home-word,h1{font-size:clamp(48px,16vw,82px)}.home-main-card{min-height:430px}.category-dropdowns,.product-grid,.crate-grid,.builder-options,.dash-grid,.grid.two,.grid.three,.grid.four,.form-row{grid-template-columns:1fr}.hero-card.pad,.panel,.card{padding:18px}.section-head{display:block}.form-line{display:grid}.form-line button{border-left:0;border-top:1px solid var(--line2);min-height:46px}.footer-links{display:grid;grid-template-columns:1fr 1fr}.community-layout{gap:12px}.mission{display:grid}.cart-item{display:grid}.store-category summary{font-size:25px}}

/* V72 light-mode contrast tune */
html[data-theme="light"]{--bg:#f4f0e7;--bg2:#e8dfcf;--panel:#fffaf0;--panel2:#eadfcd;--ink:#11100e;--muted:rgba(17,16,14,.70);--soft:rgba(17,16,14,.060);--line:rgba(17,16,14,.18);--line2:rgba(17,16,14,.38);--accent:#4b5a32;--accent2:#1f2a1b;--rust:#70472f;--warn:#8a5a23;--shadow:0 18px 52px rgba(17,16,14,.09)}
html[data-theme="light"] .kicker:before,html[data-theme="light"] .tag,html[data-theme="light"] .card-link span,html[data-theme="light"] .store-category summary:after,html[data-theme="light"] .filter-row button.active,html[data-theme="light"] .form-msg,html[data-theme="light"] .box-msg{color:#3f4a2d}
html[data-theme="light"] .btn:hover,html[data-theme="light"] .btn:focus,html[data-theme="light"] .submit:hover,html[data-theme="light"] .submit:focus,html[data-theme="light"] .theme-toggle:hover,html[data-theme="light"] .theme-toggle:focus{background:rgba(112,71,47,.08);border-color:#70472f}
html[data-theme="light"] .btn.primary,html[data-theme="light"] .submit,html[data-theme="light"] .form-line button{background:#11100e;color:#f4f0e7;border-color:#11100e}
html[data-theme="light"] .field{background:rgba(255,250,240,.84)}

/* V75 wallet/header bug fix: keep the BudBucks/Nugs/Rep/Level/Basket strip in the page flow so it cannot float over hero images while scrolling. */
.top-wallet{position:relative!important;top:auto!important;z-index:40!important;background:var(--bg)!important;border-top:0!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;}
.top-wallet-inner{min-height:44px!important;padding:0!important;overflow-x:auto!important;scrollbar-width:none;}
.top-wallet-inner::-webkit-scrollbar{display:none;}
.top-wallet span,.wallet-basket{min-height:30px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
@media(max-width:1080px){.top-wallet{top:auto!important}.top-wallet-inner{justify-content:flex-start!important}}
@media(max-width:640px){.top-wallet{top:auto!important}.top-wallet-inner{min-height:40px!important}.top-wallet span,.wallet-basket{padding:7px 9px;font-size:9px}}


/* V78 responsive / resizable polish: keep landing and platform pages usable at narrow widths and shorter browser windows. */
html,body{max-width:100%;}
body{min-width:0;}
.landing{overflow-x:hidden!important;overflow-y:auto!important;min-height:100svh;}
.landing-bg,.landing:after{min-height:100svh;}
.landing-main{min-height:min(820px,calc(100svh - 69px));}
.gate-box,.landing-copy,.hero-card,.panel,.card{min-width:0;}
.wordmark,.main-nav a,.top-wallet span,.wallet-basket{max-width:100%;}
.site-header,.top-wallet{width:100%;}
@media(max-height:760px) and (min-width:760px){
  .landing-main{min-height:auto;align-items:center;padding:38px 0 34px;gap:28px;}
  .landing-title{font-size:clamp(54px,8vw,108px);}
  .landing-copy p{font-size:13px;line-height:1.6;}
  .gate-box{padding:18px;}
  .gate-box h2{font-size:34px;}
}
@media(max-width:1180px){
  .landing-main{grid-template-columns:1fr;align-items:start;min-height:auto;padding:clamp(38px,7vh,72px) 0 34px;gap:26px;}
  .landing-copy{max-width:780px;}
  .landing-title{font-size:clamp(58px,12vw,104px);}
  .gate-box{width:min(100%,620px);}
  .home-hero{min-height:auto;}
}
@media(max-width:760px){
  .nav-wrap{gap:12px;}
  .landing .site-header{position:relative;}
  .landing-main{width:min(100% - 24px,1280px);padding:28px 0 26px;}
  .landing-title{font-size:clamp(44px,14.8vw,72px);line-height:.88;}
  .landing-copy p{font-size:13px;line-height:1.55;}
  .gate-box{padding:16px;}
  .gate-box h2{font-size:32px;}
  .form-line{display:grid;}
  .form-line button{border-left:0;border-top:1px solid var(--line2);min-height:46px;}
  .page{padding-top:24px;padding-bottom:38px;}
  .top-wallet-inner{max-width:100%;}
}
@media(max-width:430px){
  .nav-wrap,.page,.footer-wrap,.top-wallet-inner{width:min(100% - 20px,1280px)!important;}
  .wordmark{font-size:20px;letter-spacing:.12em;}
  .theme-toggle{font-size:9px;padding:7px 9px;}
  .main-nav{gap:13px;}
  .main-nav a{font-size:9px;letter-spacing:.14em;}
  .landing-title,.home-word,h1{font-size:clamp(42px,15vw,64px);}
  .button-row .btn{width:100%;}
  .hero-card.pad,.panel,.card{padding:15px;}
}

/* V100 safety audit / launch-readiness guardrails.
   Keeps the light theme readable, reduces the awkward green text in light mode,
   and adds gentle overflow protection without changing the visual direction. */
html[data-theme="light"]{
  --accent:#70472f;
  --accent2:#11100e;
  --warn:#7f5425;
}
html[data-theme="light"] .kicker:before,
html[data-theme="light"] .tag,
html[data-theme="light"] .card-link span,
html[data-theme="light"] .form-msg,
html[data-theme="light"] .box-msg,
html[data-theme="light"] .status-pill b,
html[data-theme="light"] .top-wallet b{
  color:#70472f!important;
}
html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a.active,
html[data-theme="light"] .footer-links a:hover{
  border-bottom-color:#70472f!important;
}
html[data-theme="light"] .btn:hover,
html[data-theme="light"] .btn:focus,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus,
html[data-theme="light"] .wallet-basket:hover{
  border-color:#70472f!important;
}
html[data-theme="light"] .field:focus{border-color:#70472f!important;}
@media(max-width:760px){
  .page{width:min(100% - 24px,1280px)!important;}
  .hero-card,.panel,.card,.shop-hero,.gate-box{max-width:100%;}
  .button-row{align-items:stretch;}
  .button-row .btn{min-width:0;}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important;}
}

/* V102 basket visibility patch: premium header bag icon + mobile-safe checkout visibility. */
.site-cart-shortcut{
  position:relative;
  flex:0 0 auto;
  width:44px;
  min-height:42px;
  border:1px solid var(--line2);
  background:var(--soft);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--ink);
  margin-left:2px;
}
.site-cart-shortcut:hover,.site-cart-shortcut:focus{border-color:var(--accent);background:rgba(183,196,154,.13);outline:0;}
.cart-bag-mark{position:relative;display:block;width:18px;height:16px;border:2px solid currentColor;border-radius:2px;margin-top:4px;}
.cart-bag-mark:before{content:'';position:absolute;left:4px;right:4px;top:-8px;height:8px;border:2px solid currentColor;border-bottom:0;border-radius:9px 9px 0 0;}
.site-cart-shortcut b{position:absolute;right:-8px;top:-8px;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:var(--ink);color:var(--bg);border:1px solid var(--bg);display:grid;place-items:center;font-family:var(--mono);font-size:9px;letter-spacing:0;font-weight:800;line-height:1;}
.site-cart-shortcut:not(.has-items) b{opacity:.72;}
.site-cart-shortcut.has-items{border-color:var(--accent);}
.cart-short-label{display:none;}
.shop-basket-cta b{font-family:var(--mono);margin-left:4px;}
@media(max-width:760px){
  .wordmark{order:1;}
  .site-cart-shortcut{order:2;margin-left:auto;width:42px;min-height:40px;}
  .theme-toggle{order:3;}
  .main-nav{order:4;}
  .site-cart-shortcut b{right:-6px;top:-6px;}
}
html[data-theme="light"] .site-cart-shortcut:hover,html[data-theme="light"] .site-cart-shortcut:focus{border-color:#70472f!important;background:rgba(112,71,47,.08)!important;}


/* V103 theme toggle icon patch: replace text label with a clean sun/moon toggle. */
.theme-toggle{
  width:44px!important;
  min-width:44px!important;
  min-height:42px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  line-height:1!important;
  font-size:0!important;
}
.theme-toggle .theme-icon{
  display:block;
  font-size:19px;
  line-height:1;
  letter-spacing:0;
  transform:translateY(-1px);
}
html[data-theme="light"] .theme-toggle .theme-icon{
  font-size:22px;
  transform:translateY(-2px);
}
@media(max-width:760px){
  .theme-toggle{width:42px!important;min-width:42px!important;min-height:40px!important;}
  .theme-toggle .theme-icon{font-size:18px;}
  html[data-theme="light"] .theme-toggle .theme-icon{font-size:21px;}
}

/* V104 subtle wallet icon strip: keep ecosystem stats visible, but stop the header feeling like a second navigation bar.
   Full labels/stats still live on Profile, Arcade, Rewards and Wallet pages. */
.top-wallet-inner{
  gap:6px!important;
  justify-content:flex-end!important;
}
.top-wallet-inner > span{
  min-height:28px!important;
  padding:5px 9px!important;
  gap:6px!important;
  border-radius:999px!important;
  border-color:var(--line)!important;
  background:rgba(183,196,154,.055)!important;
  font-size:0!important;
  letter-spacing:0!important;
  color:var(--muted)!important;
  cursor:pointer;
}
.top-wallet-inner > span::before{
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
  font-family:var(--mono);
  font-size:11px;
  line-height:1;
  color:var(--muted);
  border:1px solid var(--line2);
  border-radius:50%;
  opacity:.88;
}
.top-wallet-inner > span:nth-of-type(1)::before{content:'B';}
.top-wallet-inner > span:nth-of-type(2)::before{content:'N';}
.top-wallet-inner > span:nth-of-type(3)::before{content:'R';}
.top-wallet-inner > span:nth-of-type(4)::before{content:'L';}
.top-wallet-inner > span b{
  font-family:var(--mono);
  font-size:11px!important;
  letter-spacing:.05em!important;
  line-height:1;
  color:var(--ink)!important;
}
.top-wallet-inner > span:hover,.top-wallet-inner > span:focus{
  border-color:var(--accent)!important;
  background:rgba(183,196,154,.12)!important;
}
.top-wallet-inner > span:hover::before,.top-wallet-inner > span:focus::before{
  color:var(--ink);
  border-color:var(--accent);
}
.top-wallet .wallet-basket{
  display:none!important;
}
html[data-theme="light"] .top-wallet-inner > span{
  background:rgba(112,71,47,.045)!important;
}
html[data-theme="light"] .top-wallet-inner > span:hover,html[data-theme="light"] .top-wallet-inner > span:focus{
  background:rgba(112,71,47,.085)!important;
  border-color:#70472f!important;
}
html[data-theme="light"] .top-wallet-inner > span:hover::before,html[data-theme="light"] .top-wallet-inner > span:focus::before{
  border-color:#70472f!important;
}
@media(max-width:760px){
  .top-wallet-inner{justify-content:flex-start!important;gap:5px!important;}
  .top-wallet-inner > span{padding:5px 8px!important;min-height:27px!important;}
  .top-wallet-inner > span::before{width:15px;height:15px;font-size:10px;}
  .top-wallet-inner > span b{font-size:10px!important;}
}


/* V106 refined header controls: merge ecosystem stats into the main header and make basket/theme feel like one clean utility group. */
.site-header .nav-wrap{
  min-height:74px;
  gap:16px;
}
.wordmark{
  display:inline-flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  line-height:.92;
}
.wordmark span{
  display:block;
  margin-left:2px!important;
  font-size:8px!important;
  line-height:1!important;
  letter-spacing:.34em!important;
  opacity:.52;
}
.header-utility{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}
.header-wallet{
  display:flex;
  align-items:center;
  gap:14px;
  margin-right:6px;
}
.header-stat{
  min-height:auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:0;
  background:transparent;
  border-radius:0;
  padding:0;
  font-family:var(--mono);
  color:var(--muted);
  line-height:1;
}
.header-stat span{
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  display:grid;
  place-items:center;
  letter-spacing:0;
  color:var(--muted);
  background:transparent;
}
.header-stat .stat-icon{
  width:15px;
  height:15px;
  display:block;
}
.header-stat.stat-budbucks span{color:#86a861;background:transparent;}
.header-stat.stat-nugs span{color:#7da36f;background:transparent;}
.header-stat.stat-rep span{color:#a7836d;background:transparent;}
.header-stat.stat-level span{color:#b8ae8a;background:transparent;}
.header-stat b{
  color:var(--ink);
  font-size:11px;
  letter-spacing:.05em;
}
.header-stat:hover,.header-stat:focus{
  color:var(--ink);
  background:transparent;
  outline:0;
  opacity:.8;
}
.site-cart-shortcut,
.theme-toggle{
  width:auto!important;
  min-width:auto!important;
  height:auto!important;
  min-height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ink)!important;
  display:grid!important;
  place-items:center!important;
  position:relative;
  line-height:1!important;
  box-shadow:none!important;
}
.site-cart-shortcut:hover,.site-cart-shortcut:focus,
.theme-toggle:hover,.theme-toggle:focus{
  background:transparent!important;
  opacity:.76;
  outline:0!important;
}
.cart-short-label{display:none!important;}
.cart-bag-mark{
  width:21px!important;
  height:18px!important;
  border-width:2px!important;
  margin:5px 0 0 0!important;
}
.cart-bag-mark:before{
  left:5px!important;
  right:5px!important;
  top:-8px!important;
  height:8px!important;
  border-width:2px!important;
}
.site-cart-shortcut b{
  right:-1px!important;
  top:-1px!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  font-size:8px!important;
  border:1px solid var(--bg)!important;
}
.theme-toggle .theme-icon{
  font-size:28px!important;
  width:auto!important;
  height:auto!important;
  line-height:1!important;
  display:block!important;
  transform:none!important;
}
html[data-theme="light"] .theme-toggle .theme-icon{
  font-size:25px!important;
}
.wallet-merged-header .top-wallet{display:none!important;}
html[data-theme="light"] .header-stat{background:transparent;border-color:transparent;}
html[data-theme="light"] .header-stat:hover,html[data-theme="light"] .header-stat:focus{background:transparent;border-color:transparent;opacity:.78;}
html[data-theme="light"] .site-cart-shortcut:hover,html[data-theme="light"] .site-cart-shortcut:focus,
html[data-theme="light"] .theme-toggle:hover,html[data-theme="light"] .theme-toggle:focus{background:transparent!important;opacity:.72;}
@media(max-width:1160px){
  .site-header .nav-wrap{flex-wrap:wrap;padding:14px 0;}
  .main-nav{order:3;width:100%;justify-content:flex-start;}
  .header-utility{margin-left:0;}
}
@media(max-width:720px){
  .header-wallet{order:3;width:100%;justify-content:flex-start;margin:2px 0 0;overflow-x:auto;scrollbar-width:none;}
  .header-wallet::-webkit-scrollbar{display:none;}
  .header-stat{min-height:26px;padding:3px 7px 3px 4px;}
  .theme-toggle .theme-icon{font-size:26px!important;}
  .cart-bag-mark{width:20px!important;height:17px!important;}
}

/* V107 custom wallet SVG icons: upgrade header stats from letter placeholders to branded lightweight graphics. */
html[data-theme="light"] .header-stat span{background:transparent;}
html[data-theme="light"] .header-stat.stat-budbucks span{color:#6f8d48;background:transparent;}
html[data-theme="light"] .header-stat.stat-nugs span{color:#5b7f50;background:transparent;}
html[data-theme="light"] .header-stat.stat-rep span{color:#8a654f;background:transparent;}
html[data-theme="light"] .header-stat.stat-level span{color:#8a7b54;background:transparent;}
@media(max-width:720px){
  .header-stat .stat-icon{width:13px;height:13px;}
}

/* V108 header coherence cleanup: remove extra circles around utility icons for a cleaner unified header. */
.site-cart-shortcut{margin-left:2px;}
.theme-toggle{margin-left:2px;}
.header-stat:hover .stat-icon,.header-stat:focus .stat-icon{opacity:1;}
.header-stat .stat-icon{opacity:.95;}

/* V109 utility strip simplification: remove all outer stat pills and clean up the basket icon. */
.site-cart-shortcut,
.theme-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.site-cart-shortcut{margin-left:4px;}
.cart-bag-mark{
  width:19px!important;
  height:16px!important;
  margin:0!important;
  border-radius:2px!important;
}
.cart-bag-mark:before{
  left:4px!important;
  right:4px!important;
  top:-7px!important;
  height:7px!important;
}
.site-cart-shortcut b{
  right:-9px!important;
  top:-9px!important;
  min-width:16px!important;
  height:16px!important;
  padding:0 4px!important;
  font-size:7px!important;
}
.theme-toggle .theme-icon{
  font-size:27px!important;
}
.header-stat b{
  font-size:12px;
}
@media(max-width:720px){
  .header-wallet{gap:12px;margin-right:0;}
  .header-stat{padding:0;}
  .site-cart-shortcut b{right:-8px!important;top:-8px!important;}
}


/* V110 backend-ready account/profile layer */
.backend-ready-panel{overflow:hidden;}
.backend-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;}
.backend-card{border:1px solid var(--line);background:rgba(255,255,255,.025);padding:16px;min-height:150px;display:flex;flex-direction:column;gap:10px;}
.backend-card span{font-family:var(--mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);}
.backend-card h3{margin:0;font-size:22px;}
.backend-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.65;}
html[data-theme="light"] .backend-card{background:rgba(17,16,14,.025);}
@media(max-width:900px){.backend-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.backend-card-grid{grid-template-columns:1fr;}.backend-card{min-height:auto;}}

/* V114 platform coherence pass: shared loop panels for Profile, Rewards and Arcade. */
.platform-loop-panel{
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(183,196,154,.055));
  padding:22px;
  margin:22px 0;
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);
  gap:18px;
  align-items:stretch;
}
.platform-loop-copy h2{
  font-size:clamp(30px,3.2vw,54px);
  line-height:.9;
  margin:.25rem 0 .65rem;
}
.platform-loop-copy p{
  color:var(--muted);
  max-width:58ch;
}
.platform-loop-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.platform-loop-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  min-height:132px;
  padding:14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:var(--ink);
}
.platform-loop-card span{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}
.platform-loop-card b{
  font-size:clamp(21px,2vw,31px);
  line-height:.92;
}
.platform-loop-card small{
  color:var(--muted);
  line-height:1.45;
}
.platform-loop-card:hover,.platform-loop-card:focus{
  border-color:var(--line2);
  background:var(--soft);
  outline:0;
}
html[data-theme="light"] .platform-loop-panel{
  background:linear-gradient(135deg,rgba(17,16,14,.025),rgba(112,71,47,.045));
}
html[data-theme="light"] .platform-loop-card{
  background:rgba(17,16,14,.025);
}
@media(max-width:980px){
  .platform-loop-panel{grid-template-columns:1fr;}
  .platform-loop-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .platform-loop-panel{padding:16px;}
  .platform-loop-grid{grid-template-columns:1fr;}
  .platform-loop-card{min-height:104px;}
}


/* V118 Home Platform Showcase: make Street/Home explain the wider ecosystem without becoming a busy dashboard. */
body[data-section="home"] .home-showcase-hero{
  align-items:stretch;
}
body[data-section="home"] .home-showcase-hero .home-main-card{
  min-height:620px;
  position:relative;
  overflow:hidden;
}
body[data-section="home"] .home-showcase-hero .home-main-card:after{
  content:'FTS / PLATFORM / CDXX';
  position:absolute;
  right:22px;
  bottom:18px;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.28em;
  color:var(--muted);
  opacity:.52;
}
body[data-section="home"] .home-status-stack{
  display:grid;
  gap:16px;
}
body[data-section="home"] .home-platform-card{
  display:grid;
  gap:16px;
}
body[data-section="home"] .home-wallet-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body[data-section="home"] .home-wallet-grid div{
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  padding:13px;
}
body[data-section="home"] .home-wallet-grid b{
  display:block;
  font-size:clamp(24px,2.4vw,38px);
  line-height:.9;
}
body[data-section="home"] .home-wallet-grid span{
  display:block;
  margin-top:5px;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}
body[data-section="home"] .home-showcase-section{
  padding-top:52px;
}
body[data-section="home"] .home-showcase-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
body[data-section="home"] .home-showcase-card{
  min-height:245px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.006));
  padding:20px;
  color:var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}
body[data-section="home"] .home-showcase-card:before{
  content:'';
  position:absolute;
  inset:auto 0 0 0;
  height:42%;
  background:linear-gradient(0deg,rgba(183,196,154,.07),transparent);
  opacity:.65;
  pointer-events:none;
}
body[data-section="home"] .home-showcase-card > *{
  position:relative;
  z-index:2;
}
body[data-section="home"] .home-showcase-card.is-large{
  grid-column:span 2;
}
body[data-section="home"] .home-showcase-card span{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}
body[data-section="home"] .home-showcase-card h3{
  font-size:clamp(32px,3.2vw,62px);
  line-height:.86;
  margin:18px 0 10px;
}
body[data-section="home"] .home-showcase-card p{
  color:var(--muted);
  max-width:42ch;
}
body[data-section="home"] .home-showcase-card b{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink);
}
body[data-section="home"] .home-showcase-card:hover,
body[data-section="home"] .home-showcase-card:focus{
  border-color:var(--line2);
  background:var(--soft);
  outline:0;
}
body[data-section="home"] .home-loop-panel{
  margin-top:24px;
  margin-bottom:34px;
}
body[data-section="home"] .home-launch-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  padding-top:30px;
  padding-bottom:30px;
}
body[data-section="home"] .home-launch-strip h2{
  font-size:clamp(30px,3.4vw,56px);
  line-height:.9;
  margin:.25rem 0 .65rem;
}
body[data-section="home"] .home-launch-strip p{
  max-width:72ch;
  color:var(--muted);
}
html[data-theme="light"] body[data-section="home"] .home-wallet-grid div,
html[data-theme="light"] body[data-section="home"] .home-showcase-card{
  background:rgba(17,16,14,.025);
}
html[data-theme="light"] body[data-section="home"] .home-showcase-card:before{
  background:linear-gradient(0deg,rgba(112,71,47,.06),transparent);
}
@media(max-width:980px){
  body[data-section="home"] .home-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body[data-section="home"] .home-showcase-card.is-large{grid-column:span 1;}
  body[data-section="home"] .home-launch-strip{grid-template-columns:1fr;}
}
@media(max-width:640px){
  body[data-section="home"] .home-showcase-hero .home-main-card{min-height:520px;}
  body[data-section="home"] .home-showcase-grid{grid-template-columns:1fr;}
  body[data-section="home"] .home-showcase-card{min-height:190px;}
  body[data-section="home"] .home-wallet-grid{grid-template-columns:1fr 1fr;}
}


/* V119 Home above-the-fold refinement: keep the hero useful without forcing immediate scroll. */
body[data-section="home"] .home-showcase-hero{
  min-height:calc(100svh - 92px);
  gap:18px;
}
body[data-section="home"] .home-showcase-hero .home-main-card{
  min-height:clamp(500px,calc(100svh - 132px),620px);
  padding:clamp(24px,3vw,42px);
}
body[data-section="home"] .home-showcase-hero .home-word{
  font-size:clamp(64px,7.8vw,138px);
  line-height:.82;
}
body[data-section="home"] .home-showcase-hero .lead{
  max-width:760px;
}
body[data-section="home"] .home-status-stack{
  align-content:start;
}
body[data-section="home"] .home-status-stack .home-route{
  min-height:0;
}
body[data-section="home"] .home-status-stack .home-route .route-thumb{
  min-height:70px;
  opacity:.72;
}
body[data-section="home"] .home-status-stack .home-route h2,
body[data-section="home"] .home-profile-cta h2{
  font-size:clamp(30px,3vw,48px);
  line-height:.9;
}
body[data-section="home"] .home-status-stack .home-route p,
body[data-section="home"] .home-profile-cta p{
  font-size:15px;
  line-height:1.55;
}
body[data-section="home"] .home-profile-cta{
  display:grid;
  gap:16px;
  color:var(--ink);
  text-decoration:none;
}
body[data-section="home"] .home-profile-top{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
body[data-section="home"] .home-profile-avatar{
  width:78px;
  height:78px;
  border:1px solid var(--line2);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
  display:grid;
  place-items:center;
  font-size:42px;
  line-height:1;
}
body[data-section="home"] .home-mini-status{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body[data-section="home"] .home-mini-status span{
  border:1px solid var(--line);
  padding:7px 9px;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--muted);
}
body[data-section="home"] .home-mini-status b{
  color:var(--ink);
}
body[data-section="home"] .home-profile-cta:hover,
body[data-section="home"] .home-profile-cta:focus{
  border-color:var(--line2);
  background:var(--soft);
  outline:0;
}
html[data-theme="light"] body[data-section="home"] .home-profile-avatar{
  background:linear-gradient(180deg,rgba(17,16,14,.045),rgba(17,16,14,.012));
}
@media(max-width:1080px){
  body[data-section="home"] .home-showcase-hero{
    min-height:auto;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:500px;
  }
}
@media(max-width:720px){
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:440px;
  }
  body[data-section="home"] .home-profile-top{
    grid-template-columns:62px minmax(0,1fr);
  }
  body[data-section="home"] .home-profile-avatar{
    width:62px;
    height:62px;
    font-size:34px;
  }
}


/* V120 Home fit + final first-screen polish. */
body[data-section="home"] .page:first-child{
  padding-top:22px;
}
body[data-section="home"] .home-showcase-hero{
  min-height:auto!important;
  grid-template-columns:minmax(0,1.62fr) minmax(300px,.72fr);
  gap:16px;
  align-items:stretch;
}
body[data-section="home"] .home-showcase-hero .home-main-card{
  min-height:calc(100svh - 190px)!important;
  max-height:680px;
  padding:clamp(22px,2.4vw,34px)!important;
}
body[data-section="home"] .home-showcase-hero .home-word{
  font-size:clamp(56px,6.4vw,112px)!important;
  line-height:.82;
  max-width:760px;
}
body[data-section="home"] .home-showcase-hero .lead{
  font-size:clamp(18px,1.55vw,26px);
  line-height:1.45;
  max-width:780px;
  margin-top:18px;
}
body[data-section="home"] .home-showcase-hero .home-main-card p:not(.lead){
  max-width:670px;
  line-height:1.55;
  margin-top:16px;
}
body[data-section="home"] .home-showcase-hero .home-main-card .button-row{
  margin-top:20px;
}
body[data-section="home"] .home-status-stack{
  gap:12px!important;
}
body[data-section="home"] .home-status-stack .panel{
  padding:clamp(18px,2vw,26px);
}
body[data-section="home"] .home-status-stack .home-route .route-thumb{
  min-height:56px!important;
  max-height:72px;
  margin-bottom:18px;
}
body[data-section="home"] .home-status-stack .home-route h2,
body[data-section="home"] .home-profile-cta h2{
  font-size:clamp(28px,2.55vw,43px)!important;
  line-height:.9;
  margin:.35rem 0 .7rem;
}
body[data-section="home"] .home-status-stack .home-route p,
body[data-section="home"] .home-profile-cta p{
  font-size:14px!important;
  line-height:1.5!important;
}
body[data-section="home"] .home-profile-cta{
  gap:12px!important;
}
body[data-section="home"] .home-profile-top{
  grid-template-columns:66px minmax(0,1fr)!important;
  gap:13px!important;
}
body[data-section="home"] .home-profile-avatar{
  width:66px!important;
  height:66px!important;
  font-size:34px!important;
}
body[data-section="home"] .home-profile-cta .btn,
body[data-section="home"] .home-status-stack .home-route .btn{
  min-height:44px;
  padding:12px 14px;
}
body[data-section="home"] .home-showcase-section{
  padding-top:44px!important;
}
@media(max-width:1180px){
  body[data-section="home"] .home-showcase-hero{
    grid-template-columns:1fr;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:520px!important;
    max-height:none;
  }
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:720px){
  body[data-section="home"] .page:first-child{
    padding-top:14px;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:auto!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(50px,14vw,76px)!important;
  }
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr;
  }
}


/* V125 Home showcase balance: Stash now sits beside General Store instead of being stranded. */
body[data-section="home"] .home-showcase-grid-v125{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body[data-section="home"] .home-showcase-grid-v125 .home-showcase-card,
body[data-section="home"] .home-showcase-grid-v125 .home-showcase-card.is-large{
  grid-column:auto!important;
}
body[data-section="home"] .home-showcase-grid-v125 .home-showcase-card{
  min-height:230px;
}
body[data-section="home"] .home-showcase-grid-v125 .home-showcase-card:nth-child(1),
body[data-section="home"] .home-showcase-grid-v125 .home-showcase-card:nth-child(2){
  background:
    radial-gradient(circle at 75% 15%,rgba(183,196,154,.08),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.006));
}
@media(max-width:980px){
  body[data-section="home"] .home-showcase-grid-v125{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body[data-section="home"] .home-showcase-grid-v125{grid-template-columns:1fr;}
}


/* V126 mobile/tablet responsive audit pass.
   Goal: protect the launch-critical pages after recent polish without changing features. */
*{box-sizing:border-box;}
html,body{max-width:100%;overflow-x:hidden;}
img,video,canvas,svg{max-width:100%;}
.page, .footer-wrap, .nav-wrap{min-width:0;}
.card,.panel,.hero-card,.profile-panel,.checkout-panel,.home-showcase-card,.platform-loop-card{min-width:0;}
.btn{max-width:100%;}

@media(max-width:1180px){
  .site-header .nav-wrap{
    gap:14px;
  }
  .main-nav{
    flex:1 1 auto;
    min-width:0;
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    justify-content:flex-start;
  }
  .main-nav::-webkit-scrollbar{display:none;}
  .main-nav a{
    flex:0 0 auto;
  }
  .header-utility{
    flex:0 0 auto;
  }
}

@media(max-width:920px){
  .site-header{
    position:sticky;
    top:0;
    z-index:50;
  }
  .site-header .nav-wrap{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px 14px;
    padding-top:14px;
    padding-bottom:10px;
  }
  .wordmark{
    min-width:0;
    font-size:clamp(25px,6vw,38px)!important;
    line-height:.86;
  }
  .wordmark span{
    display:block;
    margin:4px 0 0;
    font-size:9px!important;
  }
  .main-nav{
    grid-column:1/-1;
    order:3;
    width:100%;
    padding:6px 0 2px;
  }
  .main-nav a{
    font-size:9px!important;
    padding:7px 11px!important;
  }
  .header-utility{
    justify-self:end;
    gap:8px!important;
  }
  .header-wallet{
    gap:8px!important;
  }
  .header-stat b{
    font-size:10px!important;
  }
  .header-stat .stat-icon{
    width:12px!important;
    height:12px!important;
  }
}

@media(max-width:700px){
  body{
    font-size:15px;
  }
  main{
    min-width:0;
  }
  .page{
    width:min(100vw - 22px,1440px)!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .hero-card,.panel,.card,.profile-panel,.checkout-panel{
    padding:16px!important;
  }
  .button-row{
    gap:8px!important;
  }
  .button-row .btn,
  .btn{
    min-height:42px;
  }
  .grid.three,.grid.two,.grid.four{
    grid-template-columns:1fr!important;
  }
  .platform-loop-panel{
    grid-template-columns:1fr!important;
    padding:16px!important;
  }
  .platform-loop-grid{
    grid-template-columns:1fr!important;
  }
  .site-footer .footer-wrap{
    grid-template-columns:1fr!important;
    gap:18px;
  }
  .footer-links{
    gap:8px 12px;
  }
}

@media(max-width:460px){
  .site-header .nav-wrap{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .wordmark{
    font-size:24px!important;
    letter-spacing:.12em!important;
  }
  .header-wallet{
    display:none!important;
  }
  .site-cart-shortcut,
  .theme-toggle{
    transform:scale(.92);
  }
  .main-nav a{
    font-size:8px!important;
    letter-spacing:.14em!important;
  }
}

/* Home responsive hardening */
@media(max-width:900px){
  body[data-section="home"] .home-showcase-hero{
    grid-template-columns:1fr!important;
  }
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr 1fr!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:auto!important;
    max-height:none!important;
  }
}
@media(max-width:640px){
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(48px,14vw,72px)!important;
  }
  body[data-section="home"] .home-showcase-grid,
  body[data-section="home"] .home-showcase-grid-v125{
    grid-template-columns:1fr!important;
  }
  body[data-section="home"] .home-launch-strip{
    grid-template-columns:1fr!important;
  }
}

/* Generic form/table protection */
@media(max-width:640px){
  .form-row,
  .form-row.three,
  .radio-grid{
    grid-template-columns:1fr!important;
  }
  input,select,textarea{
    min-width:0;
  }
}


/* V127 header utility alignment fix.
   Keep basket + theme controls on the right side of landing/home/all headers after V126 responsive changes. */
.site-header .nav-wrap{
  position:relative;
}
.header-utility{
  margin-left:auto!important;
  justify-self:end!important;
  align-self:center!important;
  flex:0 0 auto!important;
}
.site-cart-shortcut,
.theme-toggle{
  flex:0 0 auto!important;
}
@media(min-width:921px){
  .site-header .nav-wrap{
    display:flex!important;
    align-items:center!important;
  }
  .main-nav{
    margin-left:auto;
  }
  .header-utility{
    margin-left:18px!important;
  }
}
@media(max-width:920px){
  .site-header .nav-wrap{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .header-utility{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    margin-left:0!important;
  }
  .main-nav{
    grid-column:1/-1!important;
    grid-row:2!important;
  }
}
@media(max-width:460px){
  .header-utility{
    gap:7px!important;
  }
  .site-cart-shortcut,
  .theme-toggle{
    transform:none!important;
  }
  .cart-bag-mark{
    width:18px!important;
    height:15px!important;
  }
  .theme-toggle .theme-icon{
    font-size:24px!important;
  }
}


/* V128 final navigation/micro-polish pass.
   Keep the top nav simple while making links, footer and route cards feel more finished. */
.main-nav a{
  white-space:nowrap;
}
.main-nav a.active{
  color:var(--ink);
}
.main-nav a.active:after{
  opacity:1;
}
.site-header{
  backdrop-filter:saturate(1.1) blur(10px);
}
.footer-links{
  align-content:start;
}
.footer-links a{
  border-bottom:1px solid transparent;
  padding-bottom:2px;
}
.footer-links a:hover,
.footer-links a:focus{
  border-bottom-color:var(--line2);
  color:var(--ink);
  outline:0;
}
.card-link,
.home-showcase-card,
.platform-loop-card,
.profile-action,
.arcade-quick-grid a{
  transition:border-color .16s ease, background .16s ease, transform .16s ease, opacity .16s ease;
}
.card-link:hover,
.home-showcase-card:hover,
.platform-loop-card:hover,
.profile-action:hover,
.arcade-quick-grid a:hover{
  transform:translateY(-1px);
}
.kicker{
  color:var(--accent);
}
html[data-theme="light"] .kicker{
  color:#70472f;
}
@media(max-width:700px){
  .site-footer{
    padding-bottom:28px;
  }
  .footer-links a{
    font-size:10px;
  }
}


/* V129 Home hero image edge fix.
   Removes the lighter strip on the right by forcing the hero image treatment to cover the full card. */
body[data-section="home"] .home-main-card,
body[data-section="home"] .home-showcase-hero .home-main-card{
  background-color:#050505!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
body[data-section="home"] .home-main-card:before,
body[data-section="home"] .home-showcase-hero .home-main-card:before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  background:
    linear-gradient(90deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.28) 48%,rgba(0,0,0,.72) 100%),
    linear-gradient(0deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.08) 48%,rgba(0,0,0,.38) 100%)!important;
  pointer-events:none!important;
  z-index:0!important;
}
body[data-section="home"] .home-main-card > *,
body[data-section="home"] .home-showcase-hero .home-main-card > *{
  position:relative!important;
  z-index:1!important;
}
html[data-theme="light"] body[data-section="home"] .home-main-card:before,
html[data-theme="light"] body[data-section="home"] .home-showcase-hero .home-main-card:before{
  background:
    linear-gradient(90deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.08) 48%,rgba(0,0,0,.38) 100%),
    linear-gradient(0deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.04) 48%,rgba(0,0,0,.18) 100%)!important;
}


/* V130 Home copy/tone refinement.
   Headline returns to a warmer "Welcome to the Street" direction while keeping the cleaner V120/V129 layout. */
body[data-section="home"] .home-word .outline{
  -webkit-text-stroke-width:1px;
}
@media(max-width:720px){
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(46px,13vw,72px)!important;
  }
}


/* V131 copy sharpening support: keep text blocks tight and readable. */
.lead{
  text-wrap:balance;
}
.hero-card p:not(.lead),
.panel p,
.home-showcase-card p,
.platform-loop-copy p{
  text-wrap:pretty;
}


/* V132 public clarity pass: reduce development-sounding copy support and keep routes purposeful. */
.footer-note{
  letter-spacing:.08em;
  text-transform:uppercase;
  font-family:var(--mono);
  font-size:10px;
  color:var(--muted);
}
body[data-section="home"] .home-launch-strip .kicker{
  color:var(--muted);
}
body[data-section="home"] .home-launch-strip{
  opacity:.96;
}


/* V133 cream contrast pass: use off-white as an accent surface, not everywhere. */
.route-thumb,
.store-card-image,
.crate-hero-visual,
.crate-box-art,
.home-profile-avatar,
.profile-avatar-face,
.profile-rail-avatar,
.arcade-avatar,
.stash-art,
.locker-art,
.mini-avatar{
  background-color:#f2efe8!important;
  color:#11100e!important;
}

.route-thumb,
.store-card-image{
  border-color:rgba(242,239,232,.38)!important;
}

html[data-theme="dark"] .route-thumb,
html[data-theme="dark"] .store-card-image{
  filter:grayscale(1) contrast(.92) brightness(1.08);
}

.platform-loop-panel.home-loop-panel{
  background:linear-gradient(135deg,rgba(242,239,232,.08),rgba(242,239,232,.025));
  border-color:rgba(242,239,232,.28);
}

.home-loop-panel .useful-loop-card{
  background:#f2efe8!important;
  color:#11100e!important;
  border-color:rgba(242,239,232,.72)!important;
}

.home-loop-panel .useful-loop-card span,
.home-loop-panel .useful-loop-card small{
  color:rgba(17,16,14,.62)!important;
}

.home-loop-panel .useful-loop-card b{
  color:#11100e!important;
}

html[data-theme="light"] .home-loop-panel .useful-loop-card{
  background:#fffaf0!important;
  color:#11100e!important;
  border-color:rgba(17,16,14,.16)!important;
}

@media(max-width:700px){
  .home-loop-panel .useful-loop-card{
    min-height:112px;
  }
}


/* V137 public route cleanup: keep the footer useful, not overwhelming. */
.site-footer{
  border-top:1px solid var(--line);
}
.site-footer .footer-wrap{
  align-items:start;
}
.footer-note{
  max-width:34ch;
}
.footer-links[aria-label="Primary links"] a{
  color:var(--ink);
}
.footer-links[aria-label="Legal links"]{
  margin-top:10px;
  opacity:.72;
}
.footer-links[aria-label="Legal links"] a{
  font-size:9px;
}
@media(max-width:700px){
  .footer-links[aria-label="Primary links"],
  .footer-links[aria-label="Legal links"]{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
  }
}

/* Parked/hidden route copy should not look like a major launch feature. */
body[data-section="community"] .hero-card{
  max-width:860px;
}


/* V138 ecosystem MVP restore: Community, BudBucks and Spot Map are useful routes again without pretending to be finished social/backend systems. */
body[data-section="community"] .page,
body[data-section="spot-map"] .page{
  width:min(1240px,calc(100vw - 44px));
  padding-top:28px;
}
.community-hero,
.spot-hero,
.budbucks-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:18px;
  align-items:stretch;
}
.community-hero h1,
.spot-hero h1,
.budbucks-hero h1{
  font-size:clamp(58px,7vw,112px);
  line-height:.82;
  letter-spacing:-.04em;
}
.community-status-card,
.budbucks-balance-card,
.spot-map-card{
  border:1px solid var(--line);
  background:#f2efe8;
  color:#11100e;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:250px;
}
.community-status-card span,
.budbucks-balance-card span{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(17,16,14,.58);
}
.community-status-card b,
.budbucks-balance-card b,
.spot-map-card b{
  font-family:var(--display);
  font-size:clamp(44px,5vw,76px);
  line-height:.82;
  text-transform:uppercase;
}
.community-status-card small,
.budbucks-balance-card small{
  color:rgba(17,16,14,.62);
  line-height:1.45;
}
.community-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.community-card{
  min-height:260px;
  border:1px solid var(--line);
  background:linear-gradient(135deg,var(--soft),rgba(0,0,0,0));
  color:var(--ink);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.community-card span{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.community-card h2{
  font-size:clamp(34px,3.6vw,58px);
  line-height:.86;
}
.community-card p{
  color:var(--muted);
}
.community-card b{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.community-card:hover,
.community-card:focus{
  border-color:var(--line2);
  background:var(--soft);
  outline:0;
}
.spot-map-grid{
  flex:1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(3,1fr);
  gap:6px;
  margin-bottom:16px;
}
.spot-map-grid span{
  border:1px solid rgba(17,16,14,.16);
  background:rgba(17,16,14,.045);
}
.spot-map-grid span:nth-child(2),
.spot-map-grid span:nth-child(5),
.spot-map-grid span:nth-child(8){
  background:rgba(17,16,14,.13);
}
.footer-links[aria-label="Primary links"]{
  max-width:760px;
}
@media(max-width:900px){
  .community-hero,
  .spot-hero,
  .budbucks-hero{
    grid-template-columns:1fr;
  }
  .community-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:700px){
  body[data-section="community"] .page,
  body[data-section="spot-map"] .page{
    width:min(100vw - 24px,1240px);
  }
  .community-hero h1,
  .spot-hero h1,
  .budbucks-hero h1{
    font-size:clamp(48px,14vw,78px);
  }
}


/* V139 clean public footer + no development-sounding launch strip. */
.fts-footer-clean{
  border-top:1px solid var(--line);
  background:#050505;
  padding:34px 0 18px;
}
.footer-clean-wrap{
  display:grid!important;
  grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)!important;
  gap:28px!important;
  align-items:start!important;
}
.footer-main .footer-brand{
  font-size:clamp(28px,3vw,44px);
  line-height:.9;
}
.footer-clean-nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  justify-items:start;
}
.footer-clean-nav div{
  display:grid;
  gap:9px;
}
.footer-clean-nav span{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:3px;
}
.footer-clean-nav a{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  text-decoration:none;
}
.footer-clean-nav a:hover,
.footer-clean-nav a:focus{
  color:var(--ink);
  outline:0;
}
.footer-legal-line{
  width:min(1440px,calc(100vw - 44px));
  margin:24px auto 0;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:12px 18px;
}
.footer-legal-line a{
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(242,239,232,.42);
  text-decoration:none;
}
.footer-legal-line a:hover,
.footer-legal-line a:focus{
  color:var(--ink);
}
body[data-section="home"] .home-launch-strip h2{
  max-width:780px;
}
html[data-theme="light"] .fts-footer-clean{
  background:#11100e;
  color:#f2efe8;
}
html[data-theme="light"] .footer-clean-nav a,
html[data-theme="light"] .footer-legal-line a{
  color:rgba(242,239,232,.58);
}
html[data-theme="light"] .footer-clean-nav a:hover,
html[data-theme="light"] .footer-legal-line a:hover{
  color:#f2efe8;
}
@media(max-width:880px){
  .footer-clean-wrap{
    grid-template-columns:1fr!important;
  }
  .footer-clean-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .footer-legal-line{
    justify-content:flex-start;
  }
}
@media(max-width:620px){
  .footer-clean-nav{
    grid-template-columns:1fr;
  }
  .footer-clean-nav div{
    border-top:1px solid var(--line);
    padding-top:14px;
  }
}


/* V141 Wishlist / Requests upgrade.
   Turns Wishlist into the pre-stock demand-testing engine. */
body[data-section="wishlist"] .wishlist-page{
  width:min(1240px,calc(100vw - 44px));
  padding-top:28px;
}
.wishlist-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:18px;
  align-items:stretch;
}
.wishlist-hero h1{
  font-size:clamp(58px,7vw,112px);
  line-height:.82;
  letter-spacing:-.04em;
}
.wishlist-status-card{
  border:1px solid var(--line);
  background:#f2efe8;
  color:#11100e;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:250px;
}
.wishlist-status-card span{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(17,16,14,.58);
}
.wishlist-status-card b{
  font-family:var(--display);
  font-size:clamp(42px,4.6vw,74px);
  line-height:.82;
  text-transform:uppercase;
}
.wishlist-status-card small{
  color:rgba(17,16,14,.62);
  line-height:1.45;
}
.request-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.request-route-card{
  appearance:none;
  border:1px solid var(--line);
  background:linear-gradient(135deg,var(--soft),rgba(0,0,0,0));
  color:var(--ink);
  text-align:left;
  padding:16px;
  min-height:215px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
}
.request-route-card span{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.request-route-card h2{
  font-size:clamp(28px,3vw,46px);
  line-height:.86;
}
.request-route-card p{
  color:var(--muted);
  line-height:1.45;
}
.request-route-card:hover,
.request-route-card:focus{
  border-color:var(--line2);
  background:var(--soft);
  outline:0;
}
.wishlist-shell{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:16px;
}
.wishlist-rail{
  position:sticky;
  top:112px;
  align-self:start;
  border:1px solid var(--line);
  padding:14px;
  display:grid;
  gap:8px;
  background:rgba(255,255,255,.018);
}
.wishlist-rail span{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}
.wish-tag{
  appearance:none;
  border:1px solid var(--line);
  background:transparent;
  color:var(--muted);
  padding:9px 10px;
  text-align:left;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}
.wish-tag.selected,
.wish-tag:hover,
.wish-tag:focus{
  background:#f2efe8;
  color:#11100e;
  border-color:#f2efe8;
  outline:0;
}
.wishlist-form-panel{
  background:linear-gradient(135deg,rgba(242,239,232,.045),rgba(242,239,232,.012));
}
.request-helper{
  border:1px solid var(--line);
  padding:12px;
  display:grid;
  gap:4px;
  background:rgba(255,255,255,.018);
}
.request-helper b{
  color:var(--ink);
}
.request-helper span{
  color:var(--muted);
  line-height:1.45;
}
.request-board-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.request-board-item{
  border:1px solid var(--line);
  padding:12px;
  min-height:120px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:rgba(255,255,255,.018);
}
.request-board-item span{
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--accent);
}
.request-board-item b{
  font-size:clamp(19px,2vw,28px);
  line-height:1;
}
.request-board-item small{
  color:var(--muted);
  line-height:1.35;
}
html[data-theme="light"] .wishlist-status-card,
html[data-theme="light"] .wish-tag.selected,
html[data-theme="light"] .wish-tag:hover,
html[data-theme="light"] .wish-tag:focus{
  background:#f2efe8;
  color:#11100e;
}
html[data-theme="light"] .wishlist-form-panel,
html[data-theme="light"] .wishlist-rail,
html[data-theme="light"] .request-helper,
html[data-theme="light"] .request-board-item{
  background:rgba(255,255,255,.42);
  border-color:rgba(17,16,14,.14);
}
@media(max-width:980px){
  .wishlist-hero,
  .wishlist-shell{
    grid-template-columns:1fr;
  }
  .wishlist-rail{
    position:relative;
    top:auto;
    display:flex;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .wishlist-rail::-webkit-scrollbar{display:none;}
  .wishlist-rail span,
  .wishlist-rail button{
    flex:0 0 auto;
  }
  .request-grid,
  .request-board-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px){
  body[data-section="wishlist"] .wishlist-page{
    width:min(100vw - 24px,1240px);
  }
  .wishlist-hero h1{
    font-size:clamp(48px,14vw,78px);
  }
  .request-grid,
  .request-board-list{
    grid-template-columns:1fr;
  }
}


/* V142 Community + Spot Map MVP polish.
   Turns Spot Map into an interactive local board + future achievement route. */
body[data-section="spot-map"] .spot-page{
  width:min(1320px,calc(100vw - 44px));
  padding-top:28px;
}
.spot-hero-v142{
  grid-template-columns:minmax(0,1fr) minmax(280px,380px);
}
.spot-achievement-card span{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(17,16,14,.58);
}
.spot-map-shell{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:16px;
}
.spot-map-stage{
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(242,239,232,.06),rgba(242,239,232,.014));
  padding:16px;
}
.spot-map-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:12px;
}
.spot-map-toolbar span{
  display:block;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.spot-map-toolbar b{
  font-size:clamp(24px,2.6vw,42px);
  line-height:.9;
}
.spot-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.spot-filter-row button{
  border:1px solid var(--line);
  background:transparent;
  color:var(--muted);
  padding:8px 9px;
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}
.spot-filter-row button.active,
.spot-filter-row button:hover,
.spot-filter-row button:focus{
  background:#f2efe8;
  color:#11100e;
  border-color:#f2efe8;
  outline:0;
}
.spot-map-visual{
  position:relative;
  min-height:500px;
  border:1px solid var(--line2);
  background:
    radial-gradient(circle at 22% 28%,rgba(183,196,154,.10),transparent 17%),
    radial-gradient(circle at 68% 62%,rgba(225,176,111,.08),transparent 19%),
    linear-gradient(135deg,rgba(242,239,232,.045),rgba(242,239,232,.008)),
    #050505;
  overflow:hidden;
}
.spot-grid-lines{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(242,239,232,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(242,239,232,.06) 1px,transparent 1px);
  background-size:48px 48px;
  opacity:.82;
}
.spot-map-visual:before{
  content:'LOCAL / COMMUNITY / MAP';
  position:absolute;
  left:14px;
  top:12px;
  z-index:2;
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(242,239,232,.42);
}
.spot-map-visual:after{
  content:'FOURTWENTYSTREET';
  position:absolute;
  right:14px;
  bottom:12px;
  z-index:2;
  font-family:var(--display);
  font-size:clamp(34px,4vw,72px);
  line-height:.8;
  color:rgba(242,239,232,.05);
}
.spot-pin{
  position:absolute;
  left:var(--x);
  top:var(--y);
  transform:translate(-50%,-50%);
  z-index:4;
  width:54px;
  height:54px;
  border:1px solid #f2efe8;
  background:#f2efe8;
  color:#11100e;
  display:grid;
  place-items:center;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 0 0 8px rgba(242,239,232,.06);
  transition:opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.spot-pin span{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.12em;
  font-weight:800;
}
.spot-pin:hover,
.spot-pin:focus{
  transform:translate(-50%,-50%) scale(1.08);
  box-shadow:0 0 0 12px rgba(242,239,232,.10);
  outline:0;
}
.spot-pin.is-muted{
  opacity:.22;
}
.spot-pin.skate{border-radius:14px;}
.spot-pin.smoke{background:#b7c49a;border-color:#b7c49a;}
.spot-pin.surf{background:#d9e5ee;border-color:#d9e5ee;}
.spot-pin.shop{background:#f2efe8;border-radius:2px;}
.spot-pin.venue{background:#e1b06f;border-color:#e1b06f;}
.spot-pin.route{background:#11100e;color:#f2efe8;border-color:#f2efe8;}
.spot-side-panel,
.spot-form-panel,
.spot-rules-panel{
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(242,239,232,.045),rgba(242,239,232,.014));
  padding:18px;
}
.spot-side-panel h2,
.spot-rules-panel h2{
  font-size:clamp(34px,3.4vw,58px);
  line-height:.86;
}
.spot-side-panel p{
  color:var(--muted);
}
.spot-achievement-list{
  display:grid;
  gap:8px;
  margin-top:18px;
}
.spot-achievement-list article{
  border:1px solid var(--line);
  padding:12px;
  display:grid;
  gap:5px;
  background:rgba(255,255,255,.018);
}
.spot-achievement-list span,
.spot-board-item span{
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.spot-achievement-list b,
.spot-board-item b{
  font-size:clamp(20px,2vw,30px);
  line-height:.9;
}
.spot-achievement-list small,
.spot-board-item small,
.spot-board-item p{
  color:var(--muted);
  line-height:1.35;
}
.spot-submit-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:16px;
}
.spot-rules-list{
  margin:18px 0 0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.8;
}
.spot-board-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}
.spot-board-item{
  border:1px solid var(--line);
  padding:13px;
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:rgba(255,255,255,.018);
}
.feature-community-card{
  background:
    radial-gradient(circle at 72% 18%,rgba(183,196,154,.12),transparent 35%),
    linear-gradient(135deg,rgba(242,239,232,.06),rgba(242,239,232,.014))!important;
  border-color:var(--line2)!important;
}
html[data-theme="light"] .spot-map-stage,
html[data-theme="light"] .spot-side-panel,
html[data-theme="light"] .spot-form-panel,
html[data-theme="light"] .spot-rules-panel,
html[data-theme="light"] .spot-achievement-list article,
html[data-theme="light"] .spot-board-item{
  background:rgba(255,255,255,.42);
  border-color:rgba(17,16,14,.14);
}
html[data-theme="light"] .spot-map-visual{
  background:
    radial-gradient(circle at 22% 28%,rgba(112,71,47,.10),transparent 17%),
    radial-gradient(circle at 68% 62%,rgba(82,97,55,.08),transparent 19%),
    linear-gradient(135deg,rgba(17,16,14,.035),rgba(17,16,14,.006)),
    #f2efe8;
}
html[data-theme="light"] .spot-grid-lines{
  background:
    linear-gradient(rgba(17,16,14,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(17,16,14,.08) 1px,transparent 1px);
  background-size:48px 48px;
}
html[data-theme="light"] .spot-map-visual:before{
  color:rgba(17,16,14,.42);
}
html[data-theme="light"] .spot-map-visual:after{
  color:rgba(17,16,14,.05);
}
@media(max-width:1040px){
  .spot-map-shell,
  .spot-submit-shell{
    grid-template-columns:1fr;
  }
  .spot-map-visual{
    min-height:420px;
  }
}
@media(max-width:720px){
  .spot-map-visual{
    min-height:360px;
  }
  .spot-board-list{
    grid-template-columns:1fr;
  }
  .spot-pin{
    width:46px;
    height:46px;
  }
}


/* V143 Spot Map save fix + backend prep */
.spot-mini-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0;
}
.spot-mini-stats span{
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  padding:8px 10px;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--muted);
}
.spot-mini-stats b{
  color:var(--ink);
}
html[data-theme="light"] .spot-mini-stats span{
  background:rgba(255,255,255,.42);
  border-color:rgba(17,16,14,.14);
}


/* V144 Stash / Cosmetics setup: ownership, loadout and backend-ready cosmetic layer. */
.cosmetic-card{
  position:relative;
}
.cosmetic-card:after{
  content:attr(data-cosmetic-rarity);
  position:absolute;
  right:12px;
  top:12px;
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(242,239,232,.48);
}
[data-stash-unlock].is-owned,
[data-stash-unlock]:disabled{
  opacity:.58;
  cursor:not-allowed;
}
.stash-system-panel{
  border-top:1px solid var(--line);
}
.locker-loadout-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.locker-loadout-slot{
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(242,239,232,.05),rgba(242,239,232,.012));
  padding:13px;
  min-height:130px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.locker-loadout-slot span{
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.locker-loadout-slot b{
  font-size:clamp(20px,2vw,30px);
  line-height:.92;
}
.locker-loadout-slot small{
  color:var(--muted);
  line-height:1.35;
}
.locker-owned-card{
  display:grid;
  gap:8px;
}
.locker-owned-card .btn{
  justify-self:start;
}
html[data-theme="light"] .locker-loadout-slot{
  background:rgba(255,255,255,.42);
  border-color:rgba(17,16,14,.14);
}
html[data-theme="light"] .cosmetic-card:after{
  color:rgba(17,16,14,.48);
}
@media(max-width:780px){
  .locker-loadout-grid{
    grid-template-columns:1fr;
  }
}


/* V145 Profile / Rewards / BudBucks loop polish */
.wallet-flow-strip,
.budbucks-loop-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.budbucks-loop-strip{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.wallet-flow-strip article,
.budbucks-loop-strip article{
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(242,239,232,.055),rgba(242,239,232,.014));
  padding:14px;
  min-height:138px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.wallet-flow-strip span,
.budbucks-loop-strip span{
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.wallet-flow-strip b,
.budbucks-loop-strip b{
  font-family:var(--display);
  font-size:clamp(24px,2.4vw,40px);
  line-height:.86;
  text-transform:uppercase;
}
.wallet-flow-strip small,
.budbucks-loop-strip small{
  color:var(--muted);
  line-height:1.35;
}
.platform-loop-grid{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
}
.profile-action-grid{
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
}
html[data-theme="light"] .wallet-flow-strip article,
html[data-theme="light"] .budbucks-loop-strip article{
  background:rgba(255,255,255,.42);
  border-color:rgba(17,16,14,.14);
}
@media(max-width:880px){
  .wallet-flow-strip,
  .budbucks-loop-strip{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:560px){
  .wallet-flow-strip,
  .budbucks-loop-strip{
    grid-template-columns:1fr;
  }
}


/* V146 Leaderboards polish */
.leaderboard-page{
  width:min(1240px,calc(100vw - 44px));
  padding-top:28px;
}
.leaderboard-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:18px;
  align-items:stretch;
}
.leaderboard-hero h1{
  font-size:clamp(58px,7vw,112px);
  line-height:.82;
  letter-spacing:-.04em;
}
.leader-status-card{
  border:1px solid var(--line);
  background:#f2efe8;
  color:#11100e;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:250px;
}
.leader-status-card span{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(17,16,14,.58);
}
.leader-status-card b{
  font-family:var(--display);
  font-size:clamp(38px,4.5vw,70px);
  line-height:.82;
  text-transform:uppercase;
}
.leader-status-card small{
  color:rgba(17,16,14,.62);
  line-height:1.45;
}
.leaderboard-game-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.leader-game-card{
  min-height:260px;
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(242,239,232,.055),rgba(242,239,232,.014));
  color:var(--ink);
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.leader-game-card span{
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.leader-game-card h2{
  font-size:clamp(28px,3vw,48px);
  line-height:.86;
}
.leader-game-card p{
  color:var(--muted);
  line-height:1.45;
}
.leader-game-card b{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.leader-game-card:hover,
.leader-game-card:focus{
  border-color:var(--line2);
  background:var(--soft);
  outline:0;
}
html[data-theme="light"] .leader-game-card,
html[data-theme="light"] .leaderboard-plan{
  background:rgba(255,255,255,.42);
  border-color:rgba(17,16,14,.14);
}
@media(max-width:980px){
  .leaderboard-hero{
    grid-template-columns:1fr;
  }
  .leaderboard-game-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px){
  .leaderboard-page{
    width:min(100vw - 24px,1240px);
  }
  .leaderboard-game-grid{
    grid-template-columns:1fr;
  }
}


/* V147 low-risk text alignment/overflow guard across cards. */
.card h3,
.panel h2,
.panel h3,
.platform-loop-card b,
.profile-action b,
.community-card h2,
.request-route-card h2,
.leader-game-card h2{
  text-wrap:balance;
}
.card p,
.panel p,
.platform-loop-card small,
.profile-action span,
.community-card p,
.request-route-card p,
.leader-game-card p{
  overflow-wrap:anywhere;
}
.btn,
.card-link,
.profile-action,
.platform-loop-card,
.footer-clean-nav a{
  white-space:normal;
}
@media(min-width:760px){
  .btn,
  .card-link{
    white-space:nowrap;
  }
}

/* V149 mobile responsive polish */
/* Mobile-first safety polish for the public platform shell. */
@media(max-width:900px){
  html,body{max-width:100%;overflow-x:hidden;}
  .nav-wrap,
  .top-wallet-inner,
  .page,
  .page.narrow{width:min(100vw - 24px,1280px)!important;}
  .page,.page.narrow{padding-top:24px;padding-bottom:40px;}
  .section{margin-top:20px;}
  .section-head{align-items:flex-start;}
  .hero-card.pad,.panel,.card{padding:clamp(16px,4.6vw,22px)!important;}
  .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .grid.three{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .form-row,.form-row.three{grid-template-columns:1fr!important;}
  .top-wallet{position:relative!important;top:auto!important;}
  .top-wallet-inner{justify-content:flex-start;min-height:auto;padding:7px 0;scrollbar-width:none;}
  .top-wallet-inner::-webkit-scrollbar{display:none;}
}
@media(max-width:760px){
  .site-header{position:sticky;top:0;}
  .nav-wrap{min-height:auto;padding:10px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;}
  .wordmark{font-size:clamp(23px,7.4vw,30px);letter-spacing:.12em;white-space:normal;line-height:.9;}
  .wordmark span{display:block;margin:3px 0 0;font-size:8px;letter-spacing:.23em;line-height:1.1;}
  .theme-toggle{justify-self:end;min-height:36px;padding:8px 10px;font-size:0;line-height:1;}
  .theme-toggle:after{content:'☾ / ☀';font-size:13px;letter-spacing:.05em;}
  .main-nav{grid-column:1/-1;width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:16px;padding:2px 0 9px;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
  .main-nav::-webkit-scrollbar{display:none;}
  .main-nav a{flex:0 0 auto;padding:8px 0 7px;font-size:9px;letter-spacing:.16em;}
  .top-wallet span,.wallet-basket{font-size:9px;letter-spacing:.1em;padding:7px 8px;}
  h1{font-size:clamp(44px,14vw,76px);line-height:.86;}
  h2{font-size:clamp(32px,10vw,52px);}
  h3{font-size:clamp(24px,8vw,36px);}
  p{font-size:15px;line-height:1.6;}
  .lead{font-size:16px;line-height:1.5;}
  .section-head{display:block;margin-bottom:12px;}
  .section-head .button-row{margin-top:14px;}
  .button-row{display:grid;grid-template-columns:1fr;gap:9px;}
  .btn,.submit{width:100%;min-height:44px;text-align:center;white-space:normal!important;}
  .btn.small{min-height:40px;}
  .form-line{display:grid;grid-template-columns:1fr;}
  .form-line button{border-left:0;border-top:1px solid var(--line2);min-height:44px;}
  .grid.two,.grid.three,.grid.four{grid-template-columns:1fr!important;}
  .card-link{min-height:128px;padding:16px;}
  .status-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .footer-main{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;}
  .footer-clean-nav{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;}
  .footer-clean-nav a{min-height:38px;display:flex;align-items:center;}
}
@media(max-width:520px){
  .nav-wrap,.top-wallet-inner,.page,.page.narrow{width:min(100vw - 20px,1280px)!important;}
  .page,.page.narrow{padding-top:20px;}
  .hero-card.pad,.panel,.card{padding:16px!important;}
  .status-strip{grid-template-columns:1fr;}
  .footer-clean-nav{grid-template-columns:1fr!important;}
}

/* Home / landing mobile fit: keep the first screen punchy instead of oversized. */
@media(max-width:980px){
  .landing-main{grid-template-columns:1fr;align-items:end;gap:24px;padding:56px 0 34px;}
  .home-hero{grid-template-columns:1fr!important;min-height:auto!important;}
  .home-main-card{min-height:520px!important;}
  .home-side{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
  .home-side .panel{min-height:auto;}
}
@media(max-width:700px){
  .landing-main{width:min(100vw - 24px,1280px);min-height:calc(100vh - 98px);padding:44px 0 28px;}
  .landing-title{font-size:clamp(56px,17vw,96px);}
  .gate-box{padding:18px;}
  .home-main-card{min-height:460px!important;padding:22px!important;}
  .home-main-card h1,.home-word{font-size:clamp(52px,16vw,88px)!important;}
  .home-side{grid-template-columns:1fr;}
  .home-showcase-grid,.home-showcase-grid-v125{grid-template-columns:1fr!important;}
  .platform-loop-panel,.home-loop-panel{padding:16px!important;}
}
@media(max-width:430px){
  .home-main-card{min-height:420px!important;}
  .landing-copy p{font-size:13px;line-height:1.65;}
}

/* V150 pre-upload mobile QA safety pass */
/* Final small-device hardening: avoid sideways drift, iOS zoom, cramped touch targets, and clipped text. */
@media(max-width:900px){
  *,*::before,*::after{box-sizing:border-box;}
  html,body{width:100%;max-width:100%;overflow-x:hidden;}
  img,video,svg{max-width:100%;height:auto;}
  .page,.page.narrow,.nav-wrap,.top-wallet-inner{max-width:calc(100vw - 20px)!important;}
  .grid,.panel,.card,.hero-card,.section,.section-head,.footer-main,.footer-clean-nav,
  .home-hero,.home-side,.status-strip,.top-wallet-inner,.main-nav{min-width:0;}
  .panel,.card,.hero-card,.btn,.submit,.tag,.pill,.wallet-basket,.top-wallet span{
    overflow-wrap:anywhere;
  }
  a,button,.btn,.submit,[role="button"],input,select,textarea{
    -webkit-tap-highlight-color:rgba(255,250,240,.16);
  }
  button,.btn,.submit,[role="button"]{touch-action:manipulation;}
  input,select,textarea{font-size:16px!important;}
  label{min-width:0;}
  table{display:block;max-width:100%;overflow-x:auto;}
  [id]{scroll-margin-top:92px;}
}
@media(max-width:760px){
  .site-header{isolation:isolate;}
  .wordmark{max-width:100%;overflow-wrap:normal;}
  .main-nav a{min-height:36px;display:flex;align-items:center;}
  .top-wallet-inner{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .top-wallet span,.wallet-basket{min-height:36px;display:flex;align-items:center;gap:4px;}
  .theme-toggle{display:flex;align-items:center;justify-content:center;min-width:46px;}
  .section:first-child{margin-top:0;}
  .button-row .btn,.button-row .submit{justify-content:center;}
}
@media(max-width:430px){
  .nav-wrap,.top-wallet-inner,.page,.page.narrow{max-width:calc(100vw - 18px)!important;}
  .top-wallet span,.wallet-basket{padding:7px 7px;font-size:8.5px;}
  .main-nav{gap:14px;}
  .main-nav a{font-size:8.5px;}
}
@media(max-width:900px) and (max-height:720px){
  .page,.page.narrow{padding-top:18px!important;}
  .home-main-card{min-height:360px!important;}
  .landing-main{min-height:auto!important;}
  .hero-card.pad,.panel,.card{padding:15px!important;}
}


/* V151 finished-shell foundation: confidence copy/layout guards */
.product-slot-status,
.tag,
.kicker{
  letter-spacing:.08em;
}
.product-card h3,
.card h3,
.section-head h2{
  overflow-wrap:anywhere;
}
@media (max-width: 720px){
  .hero-card .lead,
  .page .lead{
    max-width: 32rem;
  }
  .button-row.compact,
  .button-row{
    gap:.55rem;
  }
  .profile-mini-store,
  .checkout-help-box,
  .store-mode-panel{
    text-align:left;
  }
}


/* V152 responsive QA + contact/store bug fix pass */
.wallet-basket{gap:7px!important;white-space:nowrap;}
.wallet-basket b[data-cart-count]{display:inline-grid!important;place-items:center;min-width:19px;height:19px;margin-left:3px;padding:0 5px;border:1px solid var(--line2);border-radius:999px;background:var(--ink);color:var(--bg);font-size:10px;letter-spacing:0;line-height:1;}
html[data-theme="light"] .wallet-basket b[data-cart-count]{background:var(--ink);color:var(--bg);}

@media(min-width:981px){
  body[data-section="home"] .home-showcase-hero{grid-template-columns:minmax(0,1.55fr) minmax(292px,.70fr)!important;align-items:stretch!important;}
  body[data-section="home"] .home-showcase-hero .home-main-card{min-height:clamp(470px,calc(100svh - 188px),650px)!important;}
  body[data-section="home"] .home-status-stack{grid-template-columns:1fr!important;}
}
@media(min-width:981px) and (max-width:1320px){
  body[data-section="home"] .home-showcase-hero .home-word{font-size:clamp(58px,5.75vw,92px)!important;}
  body[data-section="home"] .home-status-stack .panel{padding:18px!important;}
  body[data-section="home"] .home-status-stack .home-route .route-thumb{min-height:46px!important;margin-bottom:14px!important;}
  body[data-section="home"] .home-status-stack .home-route h2,body[data-section="home"] .home-profile-cta h2{font-size:clamp(28px,2.15vw,36px)!important;}
}
@media(max-width:980px){
  body[data-section="home"] .home-showcase-hero{grid-template-columns:1fr!important;}
  body[data-section="home"] .home-showcase-hero .home-main-card{min-height:auto!important;max-height:none!important;}
  body[data-section="home"] .home-status-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){body[data-section="home"] .home-status-stack{grid-template-columns:1fr!important;}}
@media(max-height:760px) and (min-width:981px){
  body[data-section="home"] .page:first-child{padding-top:16px!important;}
  body[data-section="home"] .home-showcase-hero .home-main-card{min-height:440px!important;padding:24px!important;}
  body[data-section="home"] .home-showcase-hero .home-word{font-size:clamp(54px,5.4vw,86px)!important;}
}

.contact-page-v152{width:min(100vw - 44px,1180px);}
.contact-hero-v152{margin-bottom:22px;}
.contact-route-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;}
.contact-route-strip a{border:1px solid var(--line);padding:10px 12px;color:var(--ink);text-decoration:none;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;}
.contact-layout-v152{display:grid;grid-template-columns:minmax(260px,.42fr) minmax(0,1fr);gap:18px;align-items:start;}
.contact-info-stack{display:grid;gap:12px;}
.contact-info-card h2{font-size:clamp(24px,2.6vw,38px);line-height:.9;margin:.55rem 0 .65rem;}
.contact-info-card p{font-size:14px;line-height:1.55;color:var(--muted);}
.contact-form-v152{display:grid;gap:14px;}
.contact-form-v152 label{display:grid;gap:7px;min-width:0;}
.contact-form-v152 label span{font-family:var(--mono);font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
.contact-form-v152 textarea{min-height:165px;resize:vertical;}
.contact-message-label{grid-column:1/-1;}
.contact-fineprint{margin:0;color:var(--muted);}
@media(max-width:900px){
  .contact-page-v152{width:min(100vw - 24px,1180px)!important;}
  .contact-layout-v152{grid-template-columns:1fr;}
  .contact-info-stack{grid-template-columns:repeat(3,minmax(220px,1fr));overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory;}
  .contact-info-card{scroll-snap-align:start;}
}
@media(max-width:620px){
  .contact-route-strip{display:grid;grid-template-columns:1fr;}
  .contact-info-stack{grid-template-columns:1fr;overflow:visible;}
  .contact-form-v152 textarea{min-height:140px;}
}


/* V153 home + navigation finished-shell polish */
body[data-section="home"] .home-showcase-hero{
  gap:16px!important;
}
@media(min-width:981px){
  body[data-section="home"] .home-showcase-hero{
    grid-template-columns:minmax(0,1.42fr) minmax(330px,.72fr)!important;
    align-items:stretch!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:clamp(430px,calc(100svh - 205px),590px)!important;
    padding:clamp(26px,3.4vw,46px)!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(60px,6.5vw,108px)!important;
  }
  body[data-section="home"] .home-main-card .lead{
    font-size:clamp(18px,1.55vw,27px)!important;
    max-width:980px!important;
  }
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body[data-section="home"] .home-status-stack .panel{
    padding:16px 18px!important;
    min-height:0!important;
  }
  body[data-section="home"] .home-status-stack .home-route{
    min-height:0!important;
  }
  body[data-section="home"] .home-status-stack .route-thumb{
    height:48px!important;
    margin-bottom:10px!important;
  }
  body[data-section="home"] .home-status-stack h2{
    font-size:clamp(28px,2.1vw,38px)!important;
    line-height:.9!important;
  }
  body[data-section="home"] .home-status-stack p{
    font-size:14px!important;
    line-height:1.45!important;
    margin:.55rem 0 .8rem!important;
  }
  body[data-section="home"] .home-profile-top{
    gap:12px!important;
  }
  body[data-section="home"] .home-profile-avatar{
    width:68px!important;
    height:68px!important;
    flex:0 0 68px!important;
  }
}
@media(min-width:981px) and (max-height:790px){
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:405px!important;
    padding:24px 32px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(54px,5.6vw,88px)!important;
  }
  body[data-section="home"] .home-main-card p:not(.lead){font-size:15px!important;margin-top:12px!important;}
  body[data-section="home"] .home-main-card .button-row{margin-top:18px!important;}
  body[data-section="home"] .home-status-stack .route-thumb{height:38px!important;}
  body[data-section="home"] .home-status-stack .panel{padding:14px 16px!important;}
}
@media(max-width:980px){
  body[data-section="home"] .home-showcase-hero .button-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body[data-section="home"] .home-status-stack{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body[data-section="home"] .home-status-stack .route-thumb{height:54px!important;}
}
@media(max-width:720px){
  body[data-section="home"] .home-showcase-hero .button-row,
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr!important;
  }
}
.site-cart-shortcut b[data-cart-count]{
  transform:translate(6px,-7px)!important;
  min-width:18px!important;
  height:18px!important;
  border-radius:999px!important;
}


/* V154 Home/store fit cleanup.
   Critical fixes from live screenshots: home first screen was too tall in resizable desktop,
   shop basket count was touching the label, Top Shelf now reads as featured/premium, and buttons are tighter. */
body[data-section="home"] .page:first-child{
  padding-top:14px!important;
  padding-bottom:14px!important;
}
body[data-section="home"] .home-showcase-hero{
  min-height:calc(100svh - 132px)!important;
  grid-template-columns:minmax(0,1.55fr) minmax(330px,.78fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
body[data-section="home"] .home-showcase-hero .home-main-card{
  min-height:calc(100svh - 160px)!important;
  max-height:610px!important;
  padding:clamp(22px,2.1vw,32px)!important;
  justify-content:center!important;
}
body[data-section="home"] .home-showcase-hero .home-word{
  font-size:clamp(52px,5.55vw,96px)!important;
  line-height:.84!important;
  margin:16px 0 0!important;
  max-width:620px!important;
}
body[data-section="home"] .home-showcase-hero .lead{
  font-size:clamp(17px,1.28vw,22px)!important;
  margin-top:16px!important;
  max-width:720px!important;
}
body[data-section="home"] .home-showcase-hero .home-main-card p:not(.lead){
  font-size:clamp(14px,1vw,17px)!important;
  margin-top:14px!important;
  max-width:640px!important;
}
body[data-section="home"] .home-showcase-hero .button-row{
  margin-top:18px!important;
  gap:10px!important;
}
body[data-section="home"] .home-showcase-hero .button-row .btn{
  min-height:42px!important;
  padding:12px 16px!important;
}
body[data-section="home"] .home-status-stack{
  gap:10px!important;
}
body[data-section="home"] .home-status-stack .panel{
  padding:clamp(15px,1.45vw,22px)!important;
}
body[data-section="home"] .home-status-stack .home-route .route-thumb{
  min-height:46px!important;
  height:46px!important;
  margin-bottom:12px!important;
}
body[data-section="home"] .home-status-stack .home-route h2,
body[data-section="home"] .home-profile-cta h2{
  font-size:clamp(25px,2.2vw,36px)!important;
  margin:.28rem 0 .5rem!important;
}
body[data-section="home"] .home-status-stack .home-route p,
body[data-section="home"] .home-profile-cta p{
  font-size:13px!important;
  line-height:1.45!important;
}
body[data-section="home"] .home-profile-top{
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:12px!important;
}
body[data-section="home"] .home-profile-avatar{
  width:54px!important;
  height:54px!important;
  font-size:28px!important;
}
body[data-section="home"] .home-profile-cta .btn,
body[data-section="home"] .home-status-stack .home-route .btn{
  min-height:40px!important;
  padding:11px 13px!important;
}
@media(max-width:1180px){
  body[data-section="home"] .home-showcase-hero{
    grid-template-columns:1fr!important;
    min-height:auto!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:460px!important;
    max-height:none!important;
  }
  body[data-section="home"] .home-status-stack{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:820px){
  body[data-section="home"] .home-status-stack{
    grid-template-columns:1fr!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:auto!important;
    justify-content:flex-end!important;
  }
}

.cart-count-badge,
.btn [data-cart-count],
.wallet-basket [data-cart-count]{
  display:inline-grid!important;
  place-items:center!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  margin-left:8px!important;
  border:1px solid currentColor!important;
  border-radius:999px!important;
  font-family:var(--mono)!important;
  font-size:9px!important;
  line-height:1!important;
  letter-spacing:0!important;
  vertical-align:middle!important;
}
.wallet-basket{
  gap:8px!important;
}
.shop-hero .button-row .btn{
  white-space:nowrap;
}
.shop-hero .button-row{
  gap:10px!important;
}
.top-shelf-feature .kicker::after{
  content:' / Best of the first run';
  color:var(--muted);
}
.top-shelf-feature h2{
  max-width:9ch;
}
@media(max-width:900px){
  .top-shelf-feature h2{max-width:none;}
}


/* V158 Wishlist one-screen desktop polish + store CTA tightening */
body[data-section="shop"] .store-readiness-cta{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px 16px!important;
}
body[data-section="shop"] .store-readiness-cta span,
body[data-section="shop"] .store-readiness-cta small{
  display:block;
  font-family:var(--mono);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:9px;
  color:var(--muted);
}
body[data-section="shop"] .store-readiness-cta b{
  display:block;
  font-size:clamp(22px,2vw,34px)!important;
  line-height:.95!important;
}

@media (min-width:1100px){
  body[data-section="wishlist"] .wishlist-page{
    width:min(100vw - 44px,1480px)!important;
    padding-top:14px!important;
    display:grid!important;
    grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr)!important;
    grid-template-areas:
      "hero form"
      "routes form"
      "board board"!important;
    gap:12px!important;
  }
  body[data-section="wishlist"] .wishlist-hero{grid-area:hero!important;padding:16px!important;gap:12px!important;grid-template-columns:minmax(0,1fr) minmax(160px,220px)!important;}
  body[data-section="wishlist"] .wishlist-hero h1{font-size:clamp(42px,4.8vw,72px)!important;line-height:.84!important;}
  body[data-section="wishlist"] .wishlist-hero .lead{font-size:15px!important;margin-top:8px!important;}
  body[data-section="wishlist"] .wishlist-hero p:not(.lead){font-size:12px!important;margin-top:8px!important;line-height:1.45!important;}
  body[data-section="wishlist"] .wishlist-hero .button-row{gap:8px!important;margin-top:12px!important;}
  body[data-section="wishlist"] .wishlist-hero .btn{min-height:38px!important;padding:9px 12px!important;font-size:9px!important;}
  body[data-section="wishlist"] .wishlist-status-card{min-height:0!important;padding:13px!important;}
  body[data-section="wishlist"] .wishlist-status-card b{font-size:clamp(28px,3vw,46px)!important;}
  body[data-section="wishlist"] .request-grid{grid-area:routes!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;}
  body[data-section="wishlist"] .request-route-card{min-height:104px!important;padding:12px!important;}
  body[data-section="wishlist"] .request-route-card h2{font-size:clamp(22px,2.2vw,34px)!important;}
  body[data-section="wishlist"] .request-route-card p{font-size:11px!important;line-height:1.35!important;margin:0!important;}
  body[data-section="wishlist"] .wishlist-shell{grid-area:form!important;display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:10px!important;margin:0!important;}
  body[data-section="wishlist"] .wishlist-rail{position:static!important;top:auto!important;padding:10px!important;gap:7px!important;align-self:stretch!important;}
  body[data-section="wishlist"] .wish-tag{padding:8px!important;font-size:8px!important;}
  body[data-section="wishlist"] .wishlist-form-panel{padding:14px!important;}
  body[data-section="wishlist"] .wishlist-form-panel .section-head{margin-bottom:10px!important;padding-bottom:10px!important;}
  body[data-section="wishlist"] .wishlist-form-panel .section-head h2{font-size:clamp(26px,2.6vw,40px)!important;}
  body[data-section="wishlist"] .wishlist-form{gap:8px!important;}
  body[data-section="wishlist"] .wishlist-form .field{min-height:40px!important;padding:10px 11px!important;font-size:14px!important;}
  body[data-section="wishlist"] .wishlist-form .form-row,
  body[data-section="wishlist"] .wishlist-form .form-row.three{gap:8px!important;}
  body[data-section="wishlist"] .request-helper{padding:9px!important;}
  body[data-section="wishlist"] .request-helper span{font-size:11px!important;}
  body[data-section="wishlist"] .wish-btn{min-height:42px!important;}
  body[data-section="wishlist"] .request-board{grid-area:board!important;padding:12px 14px!important;margin:0!important;}
  body[data-section="wishlist"] .request-board .section-head{margin-bottom:8px!important;padding-bottom:8px!important;}
  body[data-section="wishlist"] .request-board .section-head h2{font-size:clamp(24px,2.3vw,36px)!important;}
  body[data-section="wishlist"] .request-board .section-head p{font-size:11px!important;}
  body[data-section="wishlist"] .request-board-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:8px!important;max-height:98px!important;overflow:hidden!important;}
  body[data-section="wishlist"] .request-board-item{min-height:74px!important;padding:9px!important;}
  body[data-section="wishlist"] .request-board-item b{font-size:18px!important;}
  body[data-section="wishlist"] .request-board .button-row{gap:8px!important;}
  body[data-section="wishlist"] .request-board .btn{min-height:36px!important;padding:8px 11px!important;}
}
@media(max-width:720px){
  body[data-section="shop"] .store-readiness-cta{grid-template-columns:1fr!important;}
}


/* V159 Home profile + quick-tabs fit polish.
   Critical live-test fix: keep the Profile & Avatar route visible on the first Home screen
   on desktop/resizable layouts, and turn the lower ticker labels into real click-through tabs. */
body[data-section="home"] .home-quick-tabs a{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  text-decoration:none;
  padding:5px 2px;
}
body[data-section="home"] .home-quick-tabs a:hover,
body[data-section="home"] .home-quick-tabs a:focus{
  color:var(--ink);
  outline:0;
}
body[data-section="home"] .home-quick-tabs a:focus-visible{
  outline:1px solid var(--accent);
  outline-offset:4px;
}
@media(min-width:1181px){
  body[data-section="home"] .home-showcase-hero{
    grid-template-columns:minmax(0,1.48fr) minmax(320px,.74fr)!important;
    min-height:calc(100svh - 142px)!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:calc(100svh - 178px)!important;
    max-height:570px!important;
    padding:clamp(20px,2vw,30px)!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(50px,5.05vw,88px)!important;
    max-width:560px!important;
  }
  body[data-section="home"] .home-showcase-hero .lead{
    font-size:clamp(16px,1.16vw,20px)!important;
    margin-top:13px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card p:not(.lead){
    font-size:14px!important;
    margin-top:11px!important;
    line-height:1.48!important;
  }
  body[data-section="home"] .home-showcase-hero .button-row{
    margin-top:15px!important;
  }
  body[data-section="home"] .home-status-stack{
    align-content:stretch!important;
    grid-template-rows:minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr)!important;
    gap:8px!important;
  }
  body[data-section="home"] .home-status-stack .panel{
    padding:12px 16px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    overflow:hidden!important;
  }
  body[data-section="home"] .home-status-stack .home-route .route-thumb{
    height:34px!important;
    min-height:34px!important;
    margin-bottom:8px!important;
  }
  body[data-section="home"] .home-status-stack .kicker{
    font-size:9px!important;
    letter-spacing:.18em!important;
  }
  body[data-section="home"] .home-status-stack .home-route h2,
  body[data-section="home"] .home-profile-cta h2{
    font-size:clamp(24px,1.75vw,32px)!important;
    margin:.18rem 0 .38rem!important;
  }
  body[data-section="home"] .home-status-stack .home-route p,
  body[data-section="home"] .home-profile-cta p{
    font-size:12.5px!important;
    line-height:1.36!important;
    margin:.35rem 0 .55rem!important;
  }
  body[data-section="home"] .home-profile-top{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:10px!important;
  }
  body[data-section="home"] .home-profile-avatar{
    width:44px!important;
    height:44px!important;
    font-size:22px!important;
  }
  body[data-section="home"] .home-profile-cta .btn,
  body[data-section="home"] .home-status-stack .home-route .btn{
    min-height:34px!important;
    padding:8px 10px!important;
    font-size:9.5px!important;
  }
}
@media(min-width:981px) and (max-height:760px){
  body[data-section="home"] .home-showcase-hero{
    min-height:auto!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:390px!important;
    max-height:460px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(48px,4.6vw,76px)!important;
  }
  body[data-section="home"] .home-status-stack .home-route .route-thumb{
    display:none!important;
  }
  body[data-section="home"] .home-status-stack .panel{
    padding:12px 14px!important;
  }
  body[data-section="home"] .home-status-stack .home-route h2,
  body[data-section="home"] .home-profile-cta h2{
    font-size:clamp(23px,1.55vw,29px)!important;
  }
}
@media(max-width:640px){
  body[data-section="home"] .home-quick-tabs{
    justify-content:flex-start!important;
    overflow-x:auto;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch;
  }
  body[data-section="home"] .home-quick-tabs a{
    flex:0 0 auto;
  }
}

/* V161 Home hero viewport reset: keep the first screen as the hero + three main route cards.
   The quick tab row now begins at the first scroll point instead of cutting into the opening screen. */
@media (min-width:1181px){
  body[data-section="home"] .page:first-child{
    min-height:calc(100svh - 112px)!important;
    padding-top:18px!important;
    padding-bottom:18px!important;
    display:flex!important;
    align-items:stretch!important;
  }
  body[data-section="home"] .home-showcase-hero{
    width:100%!important;
    min-height:0!important;
    grid-template-columns:minmax(0,1.7fr) minmax(360px,.82fr)!important;
    gap:18px!important;
    align-items:stretch!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    min-height:0!important;
    height:100%!important;
    max-height:none!important;
    padding:clamp(24px,3vw,44px)!important;
    justify-content:center!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(58px,5.95vw,104px)!important;
    line-height:.83!important;
    max-width:720px!important;
  }
  body[data-section="home"] .home-showcase-hero .lead{
    font-size:clamp(17px,1.3vw,23px)!important;
    margin-top:18px!important;
    max-width:760px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card p:not(.lead){
    font-size:15px!important;
    line-height:1.55!important;
    max-width:690px!important;
    margin-top:16px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card .button-row{
    margin-top:22px!important;
  }
  body[data-section="home"] .home-status-stack{
    height:100%!important;
    display:grid!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body[data-section="home"] .home-status-stack .panel{
    min-height:0!important;
    padding:clamp(16px,1.55vw,24px)!important;
    overflow:hidden!important;
  }
  body[data-section="home"] .home-status-stack .home-route{
    min-height:0!important;
  }
  body[data-section="home"] .home-status-stack .home-route .route-thumb{
    height:clamp(42px,7vh,66px)!important;
    min-height:0!important;
    margin-bottom:12px!important;
  }
  body[data-section="home"] .home-status-stack .home-route h2,
  body[data-section="home"] .home-profile-cta h2{
    font-size:clamp(26px,2.25vw,40px)!important;
    line-height:.9!important;
    margin:.28rem 0 .45rem!important;
  }
  body[data-section="home"] .home-status-stack .home-route p,
  body[data-section="home"] .home-profile-cta p{
    font-size:13px!important;
    line-height:1.35!important;
    margin:.3rem 0 .75rem!important;
  }
  body[data-section="home"] .home-profile-top{
    grid-template-columns:56px minmax(0,1fr)!important;
    gap:12px!important;
  }
  body[data-section="home"] .home-profile-avatar{
    width:56px!important;
    height:56px!important;
    font-size:28px!important;
  }
  body[data-section="home"] .home-profile-cta .btn,
  body[data-section="home"] .home-status-stack .home-route .btn{
    min-height:40px!important;
    padding:10px 12px!important;
  }
  body[data-section="home"] .ticker{
    margin-top:0!important;
  }
}
@media (min-width:1181px) and (max-height:760px){
  body[data-section="home"] .page:first-child{
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card{
    padding:24px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-word{
    font-size:clamp(52px,5.35vw,88px)!important;
  }
  body[data-section="home"] .home-showcase-hero .lead{
    font-size:17px!important;
    margin-top:14px!important;
  }
  body[data-section="home"] .home-showcase-hero .home-main-card p:not(.lead){
    font-size:14px!important;
    margin-top:12px!important;
  }
  body[data-section="home"] .home-status-stack .home-route .route-thumb{
    height:38px!important;
  }
}


/* V162 Home path + map polish */
.home-path-grid,
.path-grid,
.route-grid {
  align-items: stretch;
}
.home-path-grid a,
.path-grid a,
.route-grid a,
.path-card {
  position: relative;
  overflow: hidden;
}
.home-path-grid a::after,
.path-grid a::after,
.route-grid a::after,
.path-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245,240,230,.18);
  opacity: .25;
  transform: rotate(-8deg);
  pointer-events: none;
}
.path-card[href*="spot-map"],
.home-path-grid a[href*="spot-map"],
.route-grid a[href*="spot-map"] {
  background:
    linear-gradient(135deg, rgba(190,211,155,.08), rgba(255,255,255,.015)),
    rgba(255,255,255,.015);
}
.path-card[href*="spot-map"]::before,
.home-path-grid a[href*="spot-map"]::before,
.route-grid a[href*="spot-map"]::before {
  content: "•  •     •\A    •   •";
  white-space: pre;
  position: absolute;
  right: 24px;
  top: 24px;
  font: 700 13px/1.35 monospace;
  letter-spacing: 12px;
  color: rgba(190,211,155,.36);
  pointer-events: none;
}

/* V162 Store category behavior polish */
.store-category-card,
.category-card,
[data-category-card] {
  cursor: pointer;
}
.store-category-panel a,
.store-category-panel button,
.category-subitem,
.store-subitem,
[data-subcategory],
[data-store-filter] {
  cursor: pointer;
}
.store-category-card:not(.is-open) .store-category-panel,
.category-card:not(.is-open) .store-category-panel,
.store-category-card:not(.is-open) [data-category-panel],
.category-card:not(.is-open) [data-category-panel] {
  display: none;
}
@media (min-width: 900px) {
  .home-path-grid,
  .path-grid,
  .route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 899px) {
  .home-path-grid,
  .path-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }
}


/* V163 Home ecosystem / Spot Map polish */
.home-spotlight-map-v163 {
  width: min(92vw, 1760px);
  margin: clamp(28px, 5vh, 72px) auto;
  border: 1px solid rgba(245,240,230,.20);
  background:
    radial-gradient(circle at 72% 28%, rgba(190,211,155,.10), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.006));
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .58fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 56px);
  overflow: hidden;
}
.home-spotlight-map-v163 h2 {
  margin: 0 0 18px;
  font-size: clamp(54px, 8vw, 128px);
  line-height: .82;
  letter-spacing: -.045em;
}
.home-spotlight-map-v163 p {
  max-width: 760px;
  margin: 0 0 28px;
}
.spotlight-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.spotlight-map-board {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(245,240,230,.22);
  background:
    linear-gradient(90deg, rgba(245,240,230,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245,240,230,.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(190,211,155,.08), rgba(0,0,0,.22));
  background-size: 58px 58px, 58px 58px, auto;
  color: var(--cream, #f4efe7);
  text-decoration: none;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.spotlight-map-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(245,240,230,.18);
  opacity: .65;
  pointer-events: none;
}
.spotlight-map-board strong {
  font-family: inherit;
  font-size: clamp(38px, 4.8vw, 82px);
  line-height: .86;
  letter-spacing: -.035em;
  z-index: 1;
}
.spotlight-map-board em {
  margin-top: 14px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  color: rgba(245,240,230,.64);
  z-index: 1;
}
.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(190,211,155,.95);
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  box-shadow: 0 0 0 8px rgba(190,211,155,.07);
}
.pin-a { top: 26%; left: 22%; }
.pin-b { top: 42%; right: 25%; }
.pin-c { bottom: 30%; left: 46%; }
.map-route {
  position: absolute;
  left: 25%;
  top: 31%;
  width: 48%;
  height: 34%;
  border-top: 2px solid rgba(190,211,155,.28);
  border-right: 2px solid rgba(190,211,155,.24);
  transform: skew(-16deg) rotate(3deg);
  opacity: .75;
}
@media (max-width: 980px) {
  .home-spotlight-map-v163 {
    grid-template-columns: 1fr;
  }
  .spotlight-map-board {
    min-height: 240px;
  }
}
@media (max-width: 620px) {
  .home-spotlight-map-v163 {
    width: calc(100vw - 24px);
    padding: 22px;
  }
  .spotlight-actions .btn,
  .spotlight-actions a {
    width: 100%;
  }
}


/* V165: Home map should be a lower scroll feature, not in the first hero */
.home-spotlight-map-v163 {
  margin-top: clamp(44px, 8vh, 110px);
}
@media (min-width: 1000px) {
  .home-spotlight-map-v163 {
    scroll-margin-top: 96px;
  }
}

/* V165: Featured store tab support */
[data-store-filter="featured"],
[data-subcategory="featured"] {
  color: var(--cream, #f4efe7);
  border-color: rgba(190,211,155,.46) !important;
}


/* V174: public header cleanup. Hide ecosystem stat HUD outside ecosystem pages. */
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) .top-wallet,
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) header .header-wallet,
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) header .header-stat,
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) header [data-budbucks],
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) header [data-nugs],
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) header [data-rep],
body:not(.profile-page):not(.arcade-page):not(.rewards-page):not(.wallet-page) header [data-level] {
  display: none !important;
}


/* V175: header basket icon should visually match sun/moon icon sizing */
.site-header .basket-link,
.site-header .basket-button,
.site-header a[href*="basket"],
.fts-header .basket-link,
.fts-header .basket-button,
.fts-header a[href*="basket"],
header .basket-link,
header .basket-button,
header a[href*="basket"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  line-height: 1;
}

.site-header .basket-link svg,
.site-header .basket-button svg,
.site-header a[href*="basket"] svg,
.fts-header .basket-link svg,
.fts-header .basket-button svg,
.fts-header a[href*="basket"] svg,
header .basket-link svg,
header .basket-button svg,
header a[href*="basket"] svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.site-header .basket-count,
.site-header [data-cart-count],
.fts-header .basket-count,
.fts-header [data-cart-count],
header .basket-count,
header [data-cart-count] {
  transform: translate(8px, -8px);
}


/* V180: Wishlist source repair - remove split-screen experiment effects */
body.wishlist-v180 .wishlist-next-v176,
body.wishlist-v180 .wishlist-screen-divider-v176,
body.wishlist-v180 .wishlist-form-anchor-v176 {
  display: none !important;
}

body.wishlist-v180 main,
body.wishlist-v180 main > section,
body.wishlist-v180 .wishlist-layout,
body.wishlist-v180 .request-layout,
body.wishlist-v180 .wishlist-grid,
body.wishlist-v180 .request-grid {
  max-width: none;
}

body.wishlist-v180 form,
body.wishlist-v180 .request-form,
body.wishlist-v180 .wishlist-form,
body.wishlist-v180 .form-panel,
body.wishlist-v180 .request-panel {
  position: static !important;
  transform: none !important;
}

/* V180: coherent full footer across normal pages and basket, without floating awkwardly */
.fts-footer-v180 {
  width: 100%;
  border-top: 1px solid rgba(245,240,230,.16);
  background: rgba(7,7,7,.96);
  padding: clamp(22px, 3.5vw, 42px) min(5vw, 72px);
  color: rgba(245,240,230,.72);
  display: grid !important;
  grid-template-columns: minmax(220px, .6fr) 1fr minmax(260px, .8fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: end;
}

.fts-footer-v180 .fts-footer-brand strong,
.fts-footer-v180 .fts-footer-brand strong {
  display: block;
  color: var(--cream, #f4efe7);
  font-size: clamp(20px, 2vw, 34px);
  letter-spacing: .24em;
  line-height: .9;
}

.fts-footer-v180 .fts-footer-brand span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .28em;
  color: rgba(245,240,230,.52);
}

.fts-footer-v180 .fts-footer-nav,
.fts-footer-v180 .fts-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
}

.fts-footer-v180 .fts-footer-legal {
  justify-content: flex-end;
}

.fts-footer-v180 a {
  color: rgba(245,240,230,.62);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
}

.fts-footer-v180 a:hover {
  color: var(--cream, #f4efe7);
}

body.basket-page main {
  min-height: calc(100vh - var(--fts-header-h, 96px) - 150px);
}

body.basket-page .fts-footer-v180 {
  margin-top: 0;
}

.legal-shell {
  width: min(92vw, 1440px);
  margin: clamp(40px, 8vh, 110px) auto;
  border: 1px solid rgba(245,240,230,.18);
  padding: clamp(28px, 5vw, 72px);
  background: rgba(255,255,255,.012);
}
.legal-shell h1 {
  font-size: clamp(56px, 8vw, 128px);
  line-height: .84;
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .fts-footer-v180 {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .fts-footer-v180 .fts-footer-nav,
  .fts-footer-v180 .fts-footer-legal {
    justify-content: flex-start;
  }
}


/* V181: undo split-screen wishlist residue */
body.wishlist-v181 .wishlist-next-v176,
body.wishlist-v181 .wishlist-screen-divider-v176,
body.wishlist-v181 .wishlist-form-anchor-v176 {
  display: none !important;
}

/* V181: Basket uses the normal main footer, and basket content gets room to breathe */
body[data-section="basket"],
body.basket-page {
  overflow: auto !important;
}

body[data-section="basket"] main,
body.basket-page main {
  height: auto !important;
  min-height: calc(100vh - 96px) !important;
  overflow: visible !important;
}

body[data-section="basket"] .page.narrow,
body.basket-page .page.narrow {
  height: auto !important;
  min-height: calc(100vh - 170px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding-bottom: clamp(22px, 4vh, 54px) !important;
}

body[data-section="basket"] .basket-commerce-grid,
body.basket-page .basket-commerce-grid {
  flex: 1 1 auto !important;
  align-items: stretch !important;
}

body[data-section="basket"] .basket-panel,
body[data-section="basket"] .checkout-upsell,
body.basket-page .basket-panel,
body.basket-page .checkout-upsell {
  overflow: visible !important;
}

body[data-section="basket"] [data-cart-items],
body.basket-page [data-cart-items] {
  max-height: none !important;
  overflow: visible !important;
}

body[data-section="basket"] .cart-empty,
body.basket-page .cart-empty {
  min-height: 180px !important;
  overflow: visible !important;
}

body[data-section="basket"] .site-footer,
body.basket-page .site-footer,
body[data-section="basket"] .fts-footer-clean,
body.basket-page .fts-footer-clean {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
}

body[data-section="basket"] .footer-main,
body[data-section="basket"] .footer-clean-nav,
body.basket-page .footer-main,
body.basket-page .footer-clean-nav {
  display: block !important;
}

body[data-section="basket"] .footer-clean-wrap,
body.basket-page .footer-clean-wrap {
  display: grid !important;
  grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr) !important;
  align-items: start !important;
}

body[data-section="basket"] .footer-clean-nav,
body.basket-page .footer-clean-nav {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 20px !important;
}

/* Remove V180 custom footer if still present anywhere on basket */
body[data-section="basket"] .fts-footer-v180,
body.basket-page .fts-footer-v180 {
  display: none !important;
}


/* V202 footer navigation completion: Wallet/Gift Cards/BudBucks are now easy to find. */
.footer-clean-nav{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.footer-clean-nav div{min-width:0;}
.footer-clean-nav a{white-space:normal;line-height:1.25;}
.footer-legal-line{justify-content:flex-end;}
@media(max-width:880px){
  .footer-clean-nav{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .footer-clean-nav{grid-template-columns:1fr;}
  .footer-clean-nav div{border-top:1px solid var(--line);padding-top:14px;}
  .footer-legal-line{justify-content:flex-start;}
}
body[data-section="basket"] .footer-main,
body[data-section="basket"] .footer-clean-nav,
body.basket-page .footer-main,
body.basket-page .footer-clean-nav{
  display:grid!important;
}
body[data-section="basket"] .footer-clean-nav,
body.basket-page .footer-clean-nav{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
