
:root{
  --bg:#080604;
  --panel:#0d0906;
  --line:rgba(211,162,79,.22);
  --gold:#d2a456;
  --gold2:#f2c97e;
  --paper:#d7b988;
  --red:#9a3128;
  --text:#ede0c9;
  --muted:#b9ab95;
  --shadow:0 20px 60px rgba(0,0,0,.55);
  --frontier-surface-warm-rgb:19,13,8;
  --frontier-surface-amber-rgb:81,48,25;
  --frontier-surface-gold-rgb:181,138,74;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;scroll-behavior:smooth}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
body.frontier-exact:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 50% 0%,rgba(224,172,78,.05),transparent 26%),linear-gradient(#090604,#050403)}
.shell{width:min(1660px,calc(100% - 36px));margin:auto}

/* header */
.fsx-header{position:sticky;top:0;z-index:100;background:radial-gradient(ellipse at 16% 100%,rgba(var(--frontier-surface-amber-rgb),.22),transparent 47%),linear-gradient(0deg,color-mix(in srgb,rgb(var(--frontier-surface-warm-rgb)) 89%,rgb(var(--frontier-surface-amber-rgb)) 11%) 22%,#080604 100%);border-bottom:1px solid rgba(var(--frontier-surface-gold-rgb),.337)}
.fsx-header::after{content:"";position:absolute;bottom:0;left:50%;width:min(620px,72%);height:1px;transform:translateX(-50%);pointer-events:none;background:linear-gradient(90deg,transparent,#d5a95c88,transparent)}
.fsx-header-inner{height:74px;display:grid;grid-template-columns:280px 1fr auto;gap:24px;align-items:center}
.fsx-brand{display:inline-flex;flex-direction:column;align-items:flex-start}
.fsx-brand span{font:900 28px/1 Georgia,serif;letter-spacing:.08em;color:#f0e2cc}
.fsx-brand small{margin-top:4px;font:800 10px/1 system-ui;letter-spacing:.30em;color:var(--gold)}
.fsx-nav{display:flex;justify-content:center;align-items:center;gap:34px}
.fsx-nav>a,.fsx-nav-group>a{position:relative;font:800 12px/1 system-ui;letter-spacing:.12em;text-transform:uppercase;color:#d8c9b5;padding:8px 0}
.fsx-nav>a.active,.fsx-nav>a:hover,.fsx-nav-group:hover>a{color:var(--gold2)}
.fsx-nav>a.active:after{content:"";position:absolute;left:0;right:0;bottom:-17px;height:2px;background:var(--gold)}
.fsx-nav-group{position:relative}
.fsx-dropdown{position:absolute;top:calc(100% + 14px);left:0;min-width:220px;border:1px solid var(--line);background:linear-gradient(#0c0907,#0a0705);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s;padding:8px 0}
.fsx-dropdown a{display:block;padding:10px 14px;color:#cdbca5;font-size:12px}
.fsx-dropdown a:hover{background:rgba(255,255,255,.03);color:var(--gold2)}
.fsx-nav-group:hover .fsx-dropdown{opacity:1;visibility:visible;transform:none}
.fsx-actions{display:flex;align-items:center;gap:10px}
.fsx-login,.fsx-basket,.fsx-burger{border:1px solid var(--line);background:linear-gradient(180deg,rgba(20,15,10,.9),rgba(10,8,6,.95));color:#ead9c1;border-radius:4px;padding:12px 14px;font-size:13px}
.fsx-basket{padding-inline:16px;cursor:pointer}
.fsx-burger{display:none}
.fsx-mobile-links{display:none;padding:0 0 12px}.fsx-mobile-links a{display:block;padding:8px 0;color:#c9b9a1}

/* Hero */
.fsx-hero{position:relative;min-height:640px;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.06)}
.fsx-hero-bg{position:absolute;inset:0;background:url('art/wide-hero.png') center 42%/cover no-repeat;filter:saturate(.95) contrast(1.04) brightness(1.04)}
.fsx-hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at 50% 16%,rgba(255,197,93,.10),transparent 18%),linear-gradient(90deg,rgba(8,6,4,.22),rgba(8,6,4,.05) 18%,rgba(8,6,4,.05) 82%,rgba(8,6,4,.22)),linear-gradient(180deg,rgba(5,4,3,.36),rgba(5,4,3,.20) 35%,rgba(5,4,3,.46) 100%)}
.fsx-hero-shell{position:relative;z-index:2;padding-top:12px}
.fsx-title-wrap{text-align:center;max-width:860px;margin:0 auto;padding-top:16px}
.fsx-kicker{font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:#e2b565;font-weight:900}
.fsx-title-wrap h1{margin:10px 0 6px;font:900 clamp(78px,7.5vw,122px)/.80 Georgia,serif;letter-spacing:-.06em;color:#efe2cb;text-shadow:0 8px 30px rgba(0,0,0,.55)}
.fsx-title-wrap h1 span{display:block;color:#9c3027}
.fsx-title-wrap p{max-width:660px;margin:10px auto 0;color:#d0c2ad;font-size:15px;line-height:1.45;text-shadow:0 2px 10px rgba(0,0,0,.65)}

.fsx-top-grid{display:grid;grid-template-columns:270px minmax(0,1fr) 295px;gap:24px;align-items:end;margin-top:18px;padding-bottom:18px}

/* Categories paper */
.fsx-categories-card{align-self:center;position:relative;background:linear-gradient(rgba(230,204,164,.95),rgba(176,134,81,.94)),url('art/parchment-panel.jpg') center/cover;border:1px solid rgba(84,54,31,.9);box-shadow:var(--shadow);padding:16px 16px 14px;color:#2a190e;transform:rotate(-1.2deg);min-height:288px}
.fsx-categories-card:before{content:"";position:absolute;inset:8px;border:1px solid rgba(62,38,20,.22);pointer-events:none}
.fsx-categories-card h3{margin:4px 0 12px;color:#9e3b2e;font:900 28px/1 Georgia,serif;text-transform:uppercase;padding-bottom:10px;border-bottom:1px solid rgba(60,38,20,.22)}
.fsx-categories-card a{display:grid;grid-template-columns:20px 1fr auto;gap:6px;align-items:center;color:#2b1a0e;font:800 12px/1.2 Georgia,serif;text-transform:uppercase;padding:9px 0;border-bottom:1px solid rgba(60,38,20,.08)}
.fsx-categories-card a span{color:#843026}.fsx-categories-card a b{font-size:17px}
.fsx-categories-cta{grid-template-columns:1fr!important;justify-items:center!important;text-align:center;background:#7a2a21;color:#f1ddbc!important;margin-top:12px;padding:13px 14px!important;border:0!important;font:900 12px/1 system-ui!important;letter-spacing:.14em}

/* Featured stage */
.fsx-featured-stage{position:relative;min-height:330px}
.fsx-feature-card{position:absolute;bottom:32px;width:268px;height:260px;background:#110d09;border:1px solid rgba(216,170,90,.32);box-shadow:var(--shadow);overflow:hidden;transform-style:preserve-3d;transition:transform .35s ease, opacity .35s ease}
.fsx-feature-card a{display:block;width:100%;height:100%}
.fsx-feature-card:after{content:"";position:absolute;inset:7px;border:1px solid rgba(236,194,110,.10);pointer-events:none}
.fsx-feature-card.left{left:90px;transform:translateY(10px) rotateY(16deg) scale(.95);z-index:2}
.fsx-feature-card.center{left:50%;transform:translateX(-50%);width:330px;height:330px;z-index:5}
.fsx-feature-card.right{right:90px;transform:translateY(10px) rotateY(-16deg) scale(.95);z-index:2}
.fsx-card-art{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(.8) contrast(1.02)}
.fsx-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,4,3,.04),transparent 28%),linear-gradient(to top,#090603 6%,rgba(9,6,3,.10) 58%)}
.fsx-card-kicker{position:absolute;z-index:2;top:12px;left:50%;transform:translateX(-50%);padding:6px 12px;border:1px solid rgba(230,185,100,.38);background:rgba(19,14,10,.72);font:900 8px/1 system-ui;letter-spacing:.16em;text-transform:uppercase;color:#ddb166;white-space:nowrap}
.fsx-card-kicker.highlight{font-size:9px;padding:7px 14px}
.fsx-card-copy{position:absolute;left:16px;right:16px;bottom:14px;z-index:2;text-align:center}
.fsx-card-copy h3{margin:8px 0 8px;font:900 26px/.88 Georgia,serif;text-transform:uppercase;color:#eee0c8;text-shadow:0 3px 16px rgba(0,0,0,.78)}
.fsx-card-copy h3 span,.fsx-card-copy h3 [data-card-line1]{display:block}
.fsx-card-copy h3 em{display:block;font-style:normal;color:#af3a2d}
.fsx-card-copy p{margin:0 auto;color:#cabca8;font-size:11px;line-height:1.4;max-width:248px}
.fsx-feature-card.center .fsx-card-copy h3{font-size:31px}.fsx-feature-card.center .fsx-card-copy p{font-size:12px;max-width:270px}
.fsx-price{margin-top:12px;color:#efc87f;font:900 18px/1 Georgia,serif}
.fsx-center-bottom{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
.fsx-card-btn{display:inline-block;padding:11px 18px;background:#8d2f26;border:1px solid rgba(241,204,129,.20);color:#f4e2c4;font:900 11px/1 system-ui;letter-spacing:.12em;text-transform:uppercase}
.fsx-stage-arrow{position:absolute;top:57%;width:46px;height:46px;border-radius:999px;border:1px solid rgba(219,171,89,.45);background:rgba(14,10,7,.86);color:#edc575;display:grid;place-items:center;font-size:30px;z-index:10;cursor:pointer}
.fsx-stage-arrow.left{left:14px}.fsx-stage-arrow.right{right:14px}
.fsx-stage-dots{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);display:flex;gap:6px;z-index:10}
.fsx-stage-dots button{width:9px;height:9px;border-radius:999px;background:#5b5148;border:0;cursor:pointer;padding:0}.fsx-stage-dots button.active{width:24px;background:#c99c55}

/* Side modules */
.fsx-side-widgets{display:grid;gap:16px}
.fsx-module{background:linear-gradient(180deg,rgba(10,8,6,.90),rgba(8,6,4,.95));border:1px solid var(--line);box-shadow:var(--shadow);padding:14px}
.fsx-module-kicker{font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#e0b465;font-weight:900}
.fsx-module h3{margin:6px 0 10px;font:900 22px/1 Georgia,serif;color:#efe0c7}
.fsx-payments-list{display:grid;gap:0}
.fsx-payment-row{display:grid;grid-template-columns:28px 1fr auto auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.06)}
.fsx-payment-row:first-child{border-top:0;padding-top:2px}
.fsx-avatar{width:28px;height:28px;border-radius:999px;overflow:hidden;display:grid;place-items:center;background:#23170f;border:1px solid rgba(204,159,82,.30);color:#ddb166;font:900 12px Georgia,serif}
.fsx-avatar.large{width:70px;height:70px;font-size:24px}.fsx-avatar img{width:100%;height:100%;object-fit:cover}
.fsx-payment-main b{display:block;color:#ecdec6;font-size:12px}.fsx-payment-main small{display:block;margin-top:2px;color:#a7957a;font-size:10px}
.fsx-payment-time,.fsx-payment-value{font-size:10px;color:#988a77;white-space:nowrap}.fsx-payment-value{color:#efc77b;font-weight:900}
.fsx-top-row{display:flex;align-items:center;gap:16px;padding-top:6px}
.fsx-top-main b{display:block;color:#db9a43;font:900 24px/1 Georgia,serif}.fsx-top-main small{display:block;color:#a9977d;font-size:12px;margin-top:8px}.fsx-top-total{margin-top:10px;color:#f0c87c;font:900 24px/1 Georgia,serif}
.fsx-module-btn{display:block;margin-top:14px;text-align:center;padding:11px 12px;border:1px solid rgba(204,159,82,.20);background:rgba(255,255,255,.02);color:#efdfc8;font:900 11px/1 system-ui;letter-spacing:.14em;text-transform:uppercase}

/* Trust row */
.fsx-trust-row{background:linear-gradient(180deg,#0d0a07,#090705);border-block:1px solid rgba(255,255,255,.06)}
.fsx-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.fsx-trust-grid>div{min-height:60px;display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid rgba(255,255,255,.05)}
.fsx-trust-grid>div:last-child{border-right:0}
.fsx-trust-grid i{font-style:normal;color:var(--gold);font-size:20px}.fsx-trust-grid b{display:block;font:900 14px/1 Georgia,serif;text-transform:uppercase}.fsx-trust-grid small{display:block;margin-top:2px;color:#a29179;font-size:10px}

/* Lower section */
.fsx-lower-section{padding:8px 0 26px;background:#0a0705}
.fsx-lower-grid{display:grid;grid-template-columns:1.05fr 1.45fr;gap:10px;align-items:stretch}
.fsx-welcome-card{display:grid;grid-template-columns:320px 1fr;min-height:220px;border:1px solid var(--line);background:#0d0906;overflow:hidden;box-shadow:var(--shadow)}
.fsx-welcome-parchment{position:relative;background:linear-gradient(rgba(225,199,160,.95),rgba(167,127,79,.92)),url('art/parchment-panel.jpg') center/cover;padding:24px 18px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#24170d}
.fsx-welcome-parchment:before{content:"";position:absolute;inset:8px;border:1px solid rgba(61,38,20,.18);pointer-events:none}
.fsx-welcome-parchment h2{margin:0;font:900 32px/.92 Georgia,serif;text-transform:uppercase;color:#1f1209}.fsx-welcome-parchment p{margin:12px auto 0;max-width:245px;color:#2c1f14;font-size:13px;line-height:1.45}.fsx-welcome-parchment a{display:inline-block;margin-top:16px;padding:12px 18px;background:#2a1f16;border:1px solid rgba(0,0,0,.16);color:#f0dcba;font:900 12px/1 system-ui;letter-spacing:.12em;text-transform:uppercase}
.fsx-welcome-art{background:url('art/frontier-riders.jpg') center/cover no-repeat;position:relative}.fsx-welcome-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,6,4,.14),rgba(9,6,4,.36))}

.fsx-all-scripts-panel{border:1px solid var(--line);background:linear-gradient(180deg,rgba(10,8,6,.90),rgba(8,6,4,.95));box-shadow:var(--shadow);padding:10px}
.fsx-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 10px;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:10px}
.fsx-section-head h2{margin:0;font:900 24px/1 Georgia,serif;text-transform:uppercase}.fsx-section-head a{font:900 11px/1 system-ui;letter-spacing:.14em;color:#e8bf74;text-transform:uppercase}
.fsx-products-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.fsx-products-grid-large{grid-template-columns:repeat(4,1fr);gap:12px}
.fsx-product{position:relative;display:block;min-height:180px;border:1px solid rgba(204,159,82,.22);background:#100b08;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.fsx-product-art{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(.82)}
.fsx-product-art.fallback-0{background-image:url('art/rumors-scene.jpg')}.fsx-product-art.fallback-1{background-image:url('art/county-scene.jpg')}.fsx-product-art.fallback-2{background-image:url('art/bounty-scene.jpg')}.fsx-product-art.fallback-3{background-image:url('art/jobs-scene.jpg')}.fsx-product-art.fallback-4{background-image:url('art/bank-scene.jpg')}
.fsx-product-shade{position:absolute;inset:0;background:linear-gradient(to top,#090603 10%,rgba(9,6,3,.18) 60%)}
.fsx-product-copy{position:absolute;left:10px;right:10px;bottom:10px;z-index:2;text-align:center}
.fsx-product-copy small{display:block;color:#d4a051;font:900 8px/1 system-ui;letter-spacing:.16em;text-transform:uppercase}.fsx-product-copy h3{margin:8px 0 8px;font:900 20px/.9 Georgia,serif;text-transform:uppercase;color:#efe1c7}

/* Inner pages */
.fsx-inner-page{padding:26px 0 60px;background:#090604}.fsx-page-head h1{font:900 48px/1 Georgia,serif;text-transform:uppercase;margin:8px 0}.fsx-page-head p{max-width:860px;color:#c5b49c;line-height:1.6}
.fsx-package-layout{display:grid;grid-template-columns:1fr .95fr;gap:24px;padding:16px 0 24px}.fsx-package-info h1{font:900 46px/1 Georgia,serif;text-transform:uppercase;margin:8px 0 12px}.fsx-package-info .longcopy{color:#c6b59d;line-height:1.7}.fsx-package-media .media-stage{border:1px solid var(--line);min-height:520px;background:#0c0907}
.media-slide{display:none}.media-slide.active{display:block}.media-stage img,.media-stage iframe{width:100%;height:100%;min-height:520px;object-fit:cover;border:0}.media-empty{min-height:520px;display:grid;place-items:center;font:900 120px Georgia,serif;color:#473621}.media-thumbs{display:flex;gap:8px;margin-top:8px}.media-thumb{width:92px;height:70px;border:1px solid var(--line);background:#0c0907;padding:0;cursor:pointer}.media-thumb img{width:100%;height:100%;object-fit:cover}.media-thumb.video{display:grid;place-items:center;color:#cfb07a}
.purchase-box{margin-top:20px;padding:20px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(12,9,6,.92),rgba(8,6,4,.95))}.purchase-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.purchase-box .price{font:900 28px/1 Georgia,serif;color:#efc77c}.btn{display:inline-block;padding:13px 20px;border:1px solid var(--line);text-transform:uppercase;font:800 12px/1 system-ui;letter-spacing:.12em}.btn-primary{background:#8d2f26;color:#f3e3c8}.btn-secondary,.disabled{background:#1f1812;color:#887b67}.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.meta-box{padding:14px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.02);color:#c7b49a;font-size:13px}.meta-box b{display:block;color:#efdfc8;margin-bottom:6px}

/* Footer + drawer */
.fsx-footer{border-top:1px solid rgba(255,255,255,.06);background:#070503}.fsx-footer-inner{min-height:62px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#9d8c74;font-size:12px}.fsx-footer-links{display:flex;gap:16px;flex-wrap:wrap}.fsx-footer-links a{color:#c9b69b}
.drawer{position:fixed;top:0;right:0;width:min(420px,100%);height:100%;background:linear-gradient(180deg,#0f0b08,#090705);box-shadow:-18px 0 50px rgba(0,0,0,.45);border-left:1px solid var(--line);transform:translateX(100%);transition:transform .25s ease;z-index:200;padding:18px 18px 24px;display:flex;flex-direction:column}.drawer.open{transform:none}.drawer-head,.drawer-total{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:12px}.drawer-head h3{margin:0;font:900 24px/1 Georgia,serif}.icon-btn{width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:#100c09;color:#f0debf;font-size:22px}.drawer-items{padding:14px 0;overflow:auto;flex:1}.basket-item{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05)}.basket-item strong{display:block}.basket-item small{display:block;margin-top:5px;color:#9f8e75}.drawer-total{padding-top:12px;margin-top:auto}.drawer .btn-primary{margin-top:14px;border:0;cursor:pointer}
.toast{position:fixed;top:88px;left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:999px;background:#15100c;border:1px solid var(--line);box-shadow:var(--shadow);display:none;z-index:150}.toast.show{display:block}

/* subtle interactions */
.card-tilt{transition:transform .18s ease, box-shadow .18s ease}.card-tilt:hover{box-shadow:0 24px 70px rgba(0,0,0,.55)}
.fsx-product:hover{transform:translateY(-4px)}

@media (max-width: 1280px){
  .shell{width:min(100% - 28px,1400px)}
  .fsx-top-grid{grid-template-columns:240px minmax(0,1fr) 270px;gap:18px}
  .fsx-feature-card.left{left:50px}.fsx-feature-card.right{right:50px}
}
@media (max-width: 1100px){
  .fsx-header-inner{grid-template-columns:240px 1fr auto}.fsx-nav{gap:18px}
  .fsx-top-grid{grid-template-columns:1fr;gap:16px;align-items:start}
  .fsx-categories-card{max-width:380px;margin:0 auto}
  .fsx-featured-stage{order:2;min-height:360px}.fsx-side-widgets{order:3;grid-template-columns:1fr 1fr}
  .fsx-trust-grid{grid-template-columns:1fr 1fr}.fsx-trust-grid>div:nth-child(2){border-right:0}.fsx-trust-grid>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.05)}
  .fsx-lower-grid{grid-template-columns:1fr}.fsx-products-grid{grid-template-columns:repeat(3,1fr)}
  .fsx-package-layout{grid-template-columns:1fr}.meta-grid{grid-template-columns:1fr}
}
@media (max-width: 820px){
  .shell{width:min(100% - 18px,1000px)}
  .fsx-header-inner{height:68px;grid-template-columns:1fr auto auto;gap:10px}.fsx-nav{display:none}.fsx-burger{display:inline-block}.fsx-mobile-links{display:block}
  .fsx-brand span{font-size:24px}.fsx-title-wrap h1{font-size:62px}.fsx-title-wrap p{font-size:14px}
  .fsx-featured-stage{min-height:330px}.fsx-feature-card{width:180px;height:220px}.fsx-feature-card.center{width:240px;height:280px}.fsx-feature-card.left{left:8px}.fsx-feature-card.right{right:8px}.fsx-stage-arrow{top:60%;width:42px;height:42px}
  .fsx-card-copy h3{font-size:22px}.fsx-feature-card.center .fsx-card-copy h3{font-size:26px}.fsx-card-copy p,.fsx-feature-card.center .fsx-card-copy p{font-size:10px}
  .fsx-side-widgets{grid-template-columns:1fr}.fsx-welcome-card{grid-template-columns:1fr;min-height:320px}.fsx-welcome-art{min-height:180px}.fsx-products-grid,.fsx-products-grid-large{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .fsx-title-wrap h1{font-size:52px}.fsx-products-grid,.fsx-products-grid-large{grid-template-columns:1fr}.fsx-feature-card{width:150px;height:200px}.fsx-feature-card.center{width:200px;height:250px}.fsx-feature-card.left,.fsx-feature-card.right{opacity:.7}
}


/* V13 fixes */
.fsx-hero{min-height:700px}
.fsx-hero-bg{background-position:center 42%;filter:saturate(.95) contrast(1.04) brightness(1.04)}
.fsx-hero-overlay{background:radial-gradient(circle at 50% 16%,rgba(255,201,95,.12),transparent 20%),linear-gradient(90deg,rgba(8,6,4,.12),rgba(8,6,4,.03) 18%,rgba(8,6,4,.03) 82%,rgba(8,6,4,.12)),linear-gradient(180deg,rgba(5,4,3,.26),rgba(5,4,3,.10) 36%,rgba(5,4,3,.40) 100%)}
.fsx-title-wrap{padding-top:8px}
.fsx-title-wrap h1{text-shadow:0 10px 34px rgba(0,0,0,.46)}
.fsx-top-grid{align-items:center;margin-top:12px;padding-bottom:28px}
.fsx-categories-card{min-height:340px;align-self:end}
.fsx-categories-card a,.fsx-categories-cta{cursor:pointer;transition:background .15s ease,color .15s ease, transform .15s ease}
.fsx-categories-card a:hover,.fsx-categories-card a.is-active{background:rgba(122,42,33,.12);color:#7d281f;transform:translateX(2px)}
.fsx-categories-cta.is-active{background:#7a2a21!important;color:#f1ddbc!important}
.fsx-section-subtitle{margin-top:6px;font-size:12px;letter-spacing:.08em;color:#ae9b7e;text-transform:uppercase}
.fsx-product.is-hidden{display:none!important}
.fsx-product.is-visible{animation:fsxFade .22s ease}
@keyframes fsxFade{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

.fsx-featured-stage{min-height:360px}
.fsx-feature-card{transition:transform .3s ease, opacity .3s ease, box-shadow .3s ease}
.fsx-feature-card.left{left:78px}
.fsx-feature-card.right{right:78px}
.fsx-feature-card.center{box-shadow:0 24px 72px rgba(0,0,0,.68)}
.fsx-feature-card a{cursor:pointer}
.fsx-feature-card:hover .fsx-card-btn{filter:brightness(1.05)}

.card-tilt-light{transition:transform .18s ease, box-shadow .18s ease}
.card-tilt-light:hover{transform:translateY(-3px);box-shadow:0 24px 70px rgba(0,0,0,.55)}

.fsx-side-widgets .store-module,.fsx-module{position:relative}
.fsx-module-btn:hover{background:rgba(255,255,255,.05)}

@media (max-width: 1280px){
  .fsx-hero{min-height:680px}
  .fsx-hero-bg{background-position:center 40%}
  .fsx-feature-card.left{left:44px}.fsx-feature-card.right{right:44px}
}
@media (max-width: 1100px){
  .fsx-hero{min-height:auto}
  .fsx-categories-card{min-height:0;align-self:start}
}
@media (max-width: 820px){
  .fsx-hero-bg{background-position:center 34%}
}

/* V15 flow redesign */
.fsx-main-showcase{display:grid;grid-template-columns:270px minmax(0,1fr);gap:28px;align-items:center;margin-top:18px;padding-bottom:24px}
.fsx-featured-stage-wide{min-height:390px}
.fsx-featured-stage-wide .fsx-feature-card.left{left:12%}.fsx-featured-stage-wide .fsx-feature-card.right{right:12%}.fsx-featured-stage-wide .fsx-feature-card.center{width:350px;height:350px}.fsx-featured-stage-wide .fsx-feature-card.left,.fsx-featured-stage-wide .fsx-feature-card.right{width:280px;height:275px}
.fsx-feature-source{display:none!important}
.fsx-activity-section{padding:18px 0 16px;background:linear-gradient(180deg,#0a0705,#080604);border-bottom:1px solid rgba(255,255,255,.05)}
.fsx-activity-head{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:0 4px 12px}.fsx-activity-head h2{margin:4px 0 0;font:900 30px/1 Georgia,serif;text-transform:uppercase}.fsx-activity-head p{max-width:620px;margin:0;color:#9d8e78;font-size:12px;line-height:1.5;text-align:right}
.fsx-activity-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:12px}.fsx-activity-grid .fsx-module{height:100%}.fsx-activity-grid .fsx-recent-module,.fsx-activity-grid .fsx-top-module{min-height:210px}
.fsx-welcome-art-clean{background-image:url('art/wide-hero.png');background-position:center 54%;background-size:cover}.fsx-welcome-art-clean:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,5,3,.08),rgba(7,5,3,.34))}
@media(max-width:1100px){.fsx-main-showcase{grid-template-columns:1fr;gap:14px}.fsx-categories-card{max-width:420px;margin:auto}.fsx-featured-stage-wide{min-height:370px}.fsx-activity-grid{grid-template-columns:1fr 1fr}.fsx-activity-head{align-items:start;flex-direction:column}.fsx-activity-head p{text-align:left}}
@media(max-width:760px){.fsx-activity-grid{grid-template-columns:1fr}.fsx-main-showcase{padding-bottom:14px}}


/* ============================================================
   V16 — CATEGORY / ALL SCRIPTS / PRODUCT EXPERIENCE
   ============================================================ */
.fs16-page{background:#090604;min-height:calc(100vh - 74px)}
.fs16-kicker{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--gold2);font-weight:900}
.fs16-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:18px;color:#aa9a83;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.fs16-breadcrumb a:hover{color:var(--gold2)}.fs16-breadcrumb b{color:#e6d5bc;font-weight:700}

.fs16-subhero,.fs16-product-hero{position:relative;min-height:310px;display:grid;align-items:end;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.06)}
.fs16-subhero-bg,.fs16-product-hero-bg{position:absolute;inset:0;background:url('art/wide-hero.png') center 48%/cover no-repeat;filter:saturate(.82) contrast(1.05)}
.fs16-subhero-shade,.fs16-product-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,5,3,.92),rgba(7,5,3,.52) 48%,rgba(7,5,3,.27)),linear-gradient(0deg,#090604 0%,rgba(9,6,4,.16) 60%,rgba(0,0,0,.24))}
.fs16-subhero-inner,.fs16-product-hero-inner{position:relative;z-index:2;padding:54px 0 42px}
.fs16-subhero h1,.fs16-product-hero h1{margin:8px 0 12px;font:900 clamp(52px,5.3vw,88px)/.9 Georgia,serif;text-transform:uppercase;letter-spacing:-.035em;color:#f0e2ca;max-width:1050px;text-shadow:0 5px 24px rgba(0,0,0,.58)}
.fs16-hero-copy{max-width:760px;color:#c3b39d;line-height:1.65;font-size:15px}.fs16-hero-copy p:first-child{margin-top:0}.fs16-hero-copy p:last-child{margin-bottom:0}
.fs16-product-hero-meta{display:flex;flex-wrap:wrap;gap:8px}.fs16-product-hero-meta span{padding:7px 10px;border:1px solid rgba(213,165,85,.25);background:rgba(9,6,4,.6);font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#d9b270}

/* category / all scripts structure */
.fs16-category-layout,.fs16-all-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;padding:32px 0 70px;align-items:start}
.fs16-category-rail,.fs16-all-sidebar{position:relative}
.fs16-paper-panel{position:relative;padding:19px 16px 16px;background:linear-gradient(rgba(230,204,164,.97),rgba(174,132,79,.95)),url('art/parchment-panel.jpg') center/cover;border:1px solid rgba(86,54,29,.82);color:#28170d;box-shadow:0 18px 55px rgba(0,0,0,.42);transform:rotate(-.5deg)}
.fs16-paper-panel:after{content:"";position:absolute;inset:8px;border:1px solid rgba(62,38,20,.18);pointer-events:none}
.fs16-paper-title{font:900 26px/1 Georgia,serif;text-transform:uppercase;color:#8e3328;padding:2px 0 13px;border-bottom:1px solid rgba(62,38,20,.22);margin-bottom:5px}
.fs16-rail-link{position:relative;z-index:2;display:grid;grid-template-columns:21px 1fr auto;align-items:center;gap:7px;padding:10px 4px;color:#29190e;border-bottom:1px solid rgba(62,38,20,.08);font-size:11px;text-transform:uppercase}.fs16-rail-link span{color:#8b3025}.fs16-rail-link em{font-style:normal;font-size:15px}.fs16-rail-link:hover,.fs16-rail-link.active{padding-left:9px;background:rgba(125,47,36,.09);color:#7c2a22}
.fs16-sticky-paper{position:sticky;top:96px}
.fs16-side-note{margin-top:18px;padding:18px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(15,11,8,.94),rgba(9,6,4,.96))}.fs16-side-note h3{font:900 21px/1 Georgia,serif;margin:7px 0 9px}.fs16-side-note p{color:#a99880;font-size:12px;line-height:1.55}.fs16-side-note a{color:#e3b86d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}

.fs16-category-toolbar,.fs16-catalogue-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:17px;margin-bottom:17px;border-bottom:1px solid rgba(255,255,255,.07)}
.fs16-category-toolbar h2,.fs16-catalogue-head h2{margin:6px 0 0;font:900 38px/.95 Georgia,serif;text-transform:uppercase}.fs16-result-count{font-size:11px;color:#a9977d;text-transform:uppercase;letter-spacing:.12em}.fs16-catalogue-head a{color:#e4b96f;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.fs16-catalogue-desc{max-width:780px;margin:-3px 0 18px;color:#ae9c84;font-size:13px;line-height:1.6}.fs16-catalogue-desc p:first-child{margin-top:0}

.fs16-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fs16-store-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.fs16-store-card{position:relative;min-height:360px;overflow:hidden;border:1px solid rgba(207,161,81,.23);background:#100b08;box-shadow:0 16px 45px rgba(0,0,0,.38);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.fs16-store-card:hover{transform:translateY(-5px);border-color:rgba(232,188,107,.50);box-shadow:0 25px 60px rgba(0,0,0,.50)}
.fs16-store-card-art{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(.78) contrast(1.03)}.fs16-store-card-art.fallback-0{background-image:url('art/rumors-scene.jpg')}.fs16-store-card-art.fallback-1{background-image:url('art/county-scene.jpg')}.fs16-store-card-art.fallback-2{background-image:url('art/bounty-scene.jpg')}.fs16-store-card-art.fallback-3{background-image:url('art/jobs-scene.jpg')}.fs16-store-card-art.fallback-4{background-image:url('art/bank-scene.jpg')}
.fs16-store-card-shade{position:absolute;inset:0;background:linear-gradient(to top,#080503 7%,rgba(8,5,3,.20) 56%,rgba(0,0,0,.08))}
.fs16-card-badge{position:absolute;z-index:2;left:13px;top:13px;padding:6px 9px;background:rgba(12,8,5,.76);border:1px solid rgba(213,164,82,.30);color:#dcb166;font-size:8px;text-transform:uppercase;letter-spacing:.14em;font-weight:900}
.fs16-store-card-copy{position:absolute;z-index:2;left:16px;right:16px;bottom:15px}.fs16-store-card-copy h3{margin:0 0 8px;font:900 26px/.95 Georgia,serif;text-transform:uppercase;color:#f0dfc4}.fs16-store-card-copy p{min-height:38px;margin:0 0 12px;color:#b9aa94;font-size:11px;line-height:1.45}.fs16-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07)}.fs16-card-bottom strong{color:#efc67a;font:900 18px/1 Georgia,serif}.fs16-card-bottom span{color:#d9b16d;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.11em}
.fs16-empty-state{padding:55px 32px;text-align:center;border:1px solid var(--line);background:linear-gradient(180deg,rgba(13,9,6,.9),rgba(9,6,4,.95))}.fs16-empty-state h3{font:900 30px/1 Georgia,serif;margin:8px 0}.fs16-empty-state p{color:#a89780}

.fs16-all-layout{grid-template-columns:230px minmax(0,1fr)}.fs16-catalogue-section{scroll-margin-top:100px;padding:0 0 42px;margin-bottom:32px;border-bottom:1px solid rgba(255,255,255,.06)}.fs16-catalogue-section:last-child{border-bottom:0}

/* product page */
.fs16-product-hero{min-height:360px}.fs16-product-hero-bg{background-position:center 54%}.fs16-product-hero-shade{background:linear-gradient(90deg,rgba(6,4,3,.92),rgba(6,4,3,.48) 58%,rgba(6,4,3,.16)),linear-gradient(0deg,#090604 0%,rgba(9,6,4,.12) 62%,rgba(0,0,0,.24))}
.fs16-product-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:25px;padding:28px 0 76px;align-items:start}.fs16-product-main{display:grid;gap:18px}.fs16-buy-column{position:relative}.fs16-buy-card{position:sticky;top:95px;padding:20px;border:1px solid rgba(211,163,81,.28);background:linear-gradient(180deg,rgba(14,10,7,.97),rgba(8,6,4,.98));box-shadow:0 22px 60px rgba(0,0,0,.45)}.fs16-buy-card:after{content:"";position:absolute;inset:6px;border:1px solid rgba(223,180,98,.07);pointer-events:none}.fs16-buy-top{position:relative;z-index:2;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.07)}.fs16-buy-top h2{margin:7px 0 0;font:900 29px/.95 Georgia,serif;text-transform:uppercase}.fs16-buy-price{position:relative;z-index:2;margin:20px 0 17px;color:#efc77b;font:900 38px/1 Georgia,serif}.fs16-buy-price small{font:800 11px system-ui;letter-spacing:.12em;color:#9f8d74}.fs16-buy-button{position:relative;z-index:2;width:100%;text-align:center;padding:15px 18px}.fs16-discount{position:relative;z-index:2;display:flex;justify-content:space-between;gap:10px;margin-top:14px;color:#95856e;font-size:11px}.fs16-discount span{color:#e3af63;font-weight:900}
.fs16-buy-list{position:relative;z-index:2;display:grid;gap:11px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.07)}.fs16-buy-list>div{display:grid;grid-template-columns:22px 1fr;gap:9px}.fs16-buy-list>div>span{color:#dcb162;font-weight:900}.fs16-buy-list p{margin:0}.fs16-buy-list b{display:block;color:#dfd0ba;font-size:12px}.fs16-buy-list small{display:block;color:#91816c;font-size:10px;margin-top:2px}.fs16-buy-nav{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:17px}.fs16-buy-nav a{text-align:center;padding:8px 4px;border:1px solid rgba(255,255,255,.06);color:#b9a88f;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.fs16-buy-nav a:hover{color:#e4bb72;border-color:rgba(216,170,91,.24)}
.fs16-product-media-card,.fs16-content-card{padding:16px;border:1px solid rgba(211,163,81,.20);background:linear-gradient(180deg,rgba(12,9,6,.93),rgba(8,6,4,.96));box-shadow:0 16px 45px rgba(0,0,0,.28)}.fs16-section-label{display:flex;align-items:center;gap:10px;margin-bottom:13px;color:#d7b06e;font-size:10px;letter-spacing:.15em;text-transform:uppercase;font-weight:900}.fs16-section-label span{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;border:1px solid rgba(214,166,85,.25);font-size:9px}.fs16-media-stage{min-height:520px;border:1px solid rgba(255,255,255,.07)}.fs16-media-stage img,.fs16-media-stage iframe{min-height:520px}.fs16-media-fallback{background:radial-gradient(circle at 50% 42%,rgba(197,145,65,.18),transparent 30%),#090704;color:#3f2d1b;font-size:86px;letter-spacing:.08em}.fs16-media-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.fs16-media-thumbs .media-thumb{width:100%;height:78px}.fs16-description{color:#c1b099;font-size:14px;line-height:1.78}.fs16-description h1,.fs16-description h2,.fs16-description h3{font-family:Georgia,serif;color:#edddc5}.fs16-description a{color:#e3b96e;text-decoration:underline}.fs16-description img{border:1px solid rgba(255,255,255,.08);margin:16px 0}.fs16-description ul,.fs16-description ol{padding-left:22px}.fs16-description li{margin:7px 0}
.fs16-feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.fs16-feature-row article{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.018)}.fs16-feature-row i{font-style:normal;color:#d5a65d;font-size:24px}.fs16-feature-row b{display:block;font:900 14px Georgia,serif;text-transform:uppercase}.fs16-feature-row span{display:block;color:#998a75;font-size:11px;line-height:1.4;margin-top:4px}
.fs16-support-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.fs16-support-grid>div{padding:14px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.015)}.fs16-support-grid b{display:block;color:#dfbf87;font-size:11px;text-transform:uppercase;letter-spacing:.10em}.fs16-support-grid p{margin:7px 0 0;color:#aa9a83;font-size:12px;line-height:1.5}.fs16-text-link{display:inline-block;margin-top:15px;color:#e3b96f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.10em}
.fs16-browse-more{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 4px}.fs16-browse-more h2{font:900 29px/1 Georgia,serif;text-transform:uppercase;margin:6px 0 0}

.fs16-cms-card{max-width:1000px;margin:32px auto 70px;padding:26px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(13,9,6,.94),rgba(8,6,4,.97));color:#c6b49b;line-height:1.75}

@media(max-width:1250px){.fs16-store-grid,.fs16-store-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.fs16-product-layout{grid-template-columns:minmax(0,1fr) 325px}}
@media(max-width:980px){.fs16-category-layout,.fs16-all-layout{grid-template-columns:1fr}.fs16-category-rail,.fs16-all-sidebar{display:none}.fs16-product-layout{grid-template-columns:1fr}.fs16-buy-card{position:static}.fs16-buy-column{order:-1}.fs16-product-hero{min-height:320px}.fs16-media-stage,.fs16-media-stage img,.fs16-media-stage iframe{min-height:430px}}
@media(max-width:700px){.fs16-subhero,.fs16-product-hero{min-height:270px}.fs16-subhero-inner,.fs16-product-hero-inner{padding:40px 0 32px}.fs16-subhero h1,.fs16-product-hero h1{font-size:46px}.fs16-store-grid,.fs16-store-grid-compact{grid-template-columns:1fr}.fs16-store-card{min-height:390px}.fs16-category-toolbar,.fs16-catalogue-head,.fs16-browse-more{align-items:flex-start;flex-direction:column}.fs16-media-thumbs{grid-template-columns:repeat(3,1fr)}.fs16-feature-row,.fs16-support-grid{grid-template-columns:1fr}.fs16-media-stage,.fs16-media-stage img,.fs16-media-stage iframe{min-height:320px}}


/* ===== VS CODE FULL SITE LOCAL DEV LAYER ===== */
:root{--local-panel:#0d0906;--local-soft:#17100b;--local-success:#9fbd7b}
body.local-site{min-height:100vh}
.local-main{min-height:calc(100vh - 140px)}
.local-hero{position:relative;min-height:640px;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.06)}
.local-hero-bg{position:absolute;inset:0;background:url('art/wide-hero.png') center 42%/cover no-repeat;filter:saturate(.94) contrast(1.04) brightness(.98)}
.local-hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at 50% 16%,rgba(255,201,95,.1),transparent 20%),linear-gradient(90deg,rgba(8,6,4,.2),rgba(8,6,4,.03) 20%,rgba(8,6,4,.03) 80%,rgba(8,6,4,.2)),linear-gradient(180deg,rgba(5,4,3,.22),rgba(5,4,3,.08) 38%,rgba(5,4,3,.48) 100%)}
.local-hero-content{position:relative;z-index:2;padding-top:34px}
.local-hero-title{text-align:center;max-width:880px;margin:auto}.local-hero-title h1{font:900 clamp(78px,7.3vw,120px)/.88 Georgia,serif;letter-spacing:.01em;margin:10px 0 12px;color:#efe2cb;text-shadow:0 8px 30px #0008}.local-hero-title h1 span{display:block;color:#9c3027;margin-top:.035em}.local-hero-title p{max-width:690px;margin:12px auto 8px;color:#d0c2ad;line-height:1.55}
.local-hero-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:28px;align-items:end;margin-top:25px;padding-bottom:28px}
.local-category-board{position:relative;background:linear-gradient(rgba(230,204,164,.95),rgba(176,134,81,.94)),url('art/parchment-panel.jpg') center/cover;border:1px solid #5c3b23;padding:16px;color:#2a190e;box-shadow:0 20px 60px #0009;transform:rotate(-1deg)}
.local-category-board:before{content:"";position:absolute;inset:8px;border:1px solid #3b271533;pointer-events:none}.local-category-board h3{font:900 29px Georgia,serif;color:#9d3c2d;text-transform:uppercase;margin:4px 0 12px;padding-bottom:10px;border-bottom:1px solid #3b271533}.local-category-board a{position:relative;z-index:2;display:grid;grid-template-columns:22px 1fr auto;gap:6px;align-items:center;padding:9px 0;color:#2a190e;text-transform:uppercase;font:800 12px Georgia,serif;border-bottom:1px solid #3b271514}.local-category-board a:hover{color:#8e3025;transform:translateX(2px)}.local-category-board .view-all{display:block;text-align:center;margin-top:12px;background:#77291f;color:#f1ddbc;padding:13px;font:900 11px system-ui;letter-spacing:.13em}
.local-carousel{position:relative;min-height:380px;display:grid;place-items:center;perspective:1300px}.local-feature{position:absolute;width:280px;height:320px;border:1px solid #d2a34e4d;background:#100b08;box-shadow:0 25px 70px #000b;overflow:hidden;transition:.35s}.local-feature.left{transform:translateX(-280px) rotateY(15deg) scale(.92);z-index:2}.local-feature.center{width:350px;height:390px;z-index:5}.local-feature.right{transform:translateX(280px) rotateY(-15deg) scale(.92);z-index:2}.local-feature-art{position:absolute;inset:0;background-position:center;background-size:cover;filter:saturate(.8)}.local-feature-shade{position:absolute;inset:0;background:linear-gradient(to top,#070503 7%,#07050316 60%)}.local-feature-copy{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;text-align:center}.local-feature-copy small{color:#d0a15a;font:900 9px system-ui;letter-spacing:.15em;text-transform:uppercase}.local-feature-copy h3{font:900 30px/.9 Georgia,serif;text-transform:uppercase;margin:8px 0;color:#eee0c6}.local-feature-copy h3 em{display:block;color:#ad392d;font-style:normal}.local-feature-copy p{font-size:11px;line-height:1.45;color:#c7b8a4}.local-feature-copy .local-price{color:#ecc479;font:900 18px Georgia,serif;margin-top:10px}.local-feature-copy .local-btn{display:inline-block;margin-top:10px;padding:11px 16px;background:#8d3026;color:#f5e3c7;font:900 10px system-ui;letter-spacing:.12em;text-transform:uppercase}.local-carousel-arrow{position:absolute;top:55%;z-index:10;width:48px;height:48px;border-radius:999px;border:1px solid #d2a34e66;background:#0d0907e6;color:#e7bf73;font-size:28px;cursor:pointer}.local-carousel-arrow.prev{left:18px}.local-carousel-arrow.next{right:18px}.local-dots{position:absolute;bottom:0;display:flex;gap:6px}.local-dots button{width:8px;height:8px;border:0;border-radius:999px;background:#675c50;padding:0;cursor:pointer}.local-dots button.active{width:24px;background:#cc9e57}
.local-trust{border-block:1px solid #ffffff0d;background:#0b0806}.local-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.local-trust-grid>div{min-height:68px;display:flex;justify-content:center;align-items:center;gap:12px;border-right:1px solid #ffffff0d}.local-trust-grid>div:last-child{border-right:0}.local-trust-grid i{font-style:normal;color:#d0a157;font-size:22px}.local-trust-grid b{display:block;font:900 14px Georgia,serif;text-transform:uppercase}.local-trust-grid small{display:block;color:#9b8c76;font-size:10px}
.local-section{padding:46px 0}.local-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.local-section-head h2{font:900 36px Georgia,serif;text-transform:uppercase;margin:0}.local-section-head p{max-width:600px;color:#a99881;line-height:1.5;margin:0}.local-link{color:#e2b86c;text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:11px}
.local-products{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.local-product{position:relative;min-height:310px;border:1px solid #d2a34e38;background:#110c08;overflow:hidden;box-shadow:0 12px 35px #0008;transition:.2s}.local-product:hover{transform:translateY(-5px);border-color:#d2a34e77}.local-product-art{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(.8)}.local-product-shade{position:absolute;inset:0;background:linear-gradient(to top,#070503 7%,#07050318 63%)}.local-product-copy{position:absolute;left:14px;right:14px;bottom:15px;z-index:2;text-align:center}.local-product-copy small{color:#d1a154;font:900 9px system-ui;letter-spacing:.14em;text-transform:uppercase}.local-product-copy h3{font:900 24px/.9 Georgia,serif;text-transform:uppercase;color:#eee0c7;margin:8px 0}.local-product-copy strong{color:#e9c078;font:900 18px Georgia,serif}
.local-community{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.local-module{border:1px solid #d2a34e30;background:linear-gradient(#0e0a07,#090604);padding:18px}.local-module h3{font:900 25px Georgia,serif;margin:5px 0 14px}.local-purchase{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #ffffff0d}.local-purchase:first-of-type{border-top:0}.local-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#2b1b11;color:#dfb66d;border:1px solid #d2a34e4d}.local-purchase b{font-size:12px}.local-purchase small{display:block;color:#9d8c75;margin-top:3px;font-size:10px}.local-purchase strong{color:#e7bf75;font-size:11px}.local-top{display:flex;align-items:center;gap:16px}.local-top .local-avatar{width:78px;height:78px;font:900 27px Georgia,serif}.local-top h4{font:900 24px Georgia,serif;color:#d9963f;margin:0}.local-top .spent{color:#efc77d;font:900 28px Georgia,serif;margin-top:8px}
.local-page-hero{position:relative;min-height:310px;display:grid;align-items:end;overflow:hidden;border-bottom:1px solid #ffffff0d}.local-page-hero:before{content:"";position:absolute;inset:0;background:url('art/wide-hero.png') center 40%/cover no-repeat;filter:saturate(.84) brightness(.68)}.local-page-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,#090604 0%,#09060466 55%,#09060422)}.local-page-hero-inner{position:relative;z-index:2;padding:0 0 38px}.local-page-hero h1{font:900 clamp(46px,5vw,78px)/.95 Georgia,serif;text-transform:uppercase;margin:8px 0}.local-page-hero p{color:#c2b19a;max-width:760px;line-height:1.55}.local-breadcrumb{color:#d3a65b;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.local-filterbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.local-filter{border:1px solid #d2a34e2f;background:#100c09;color:#bba98f;padding:9px 12px;cursor:pointer;text-transform:uppercase;font:800 10px system-ui;letter-spacing:.1em}.local-filter.active,.local-filter:hover{color:#f1d79e;border-color:#d2a34e66;background:#18110b}
.local-product-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:start}.local-media-main{height:560px;border:1px solid #d2a34e30;background:#0d0906;overflow:hidden}.local-media-main img{width:100%;height:100%;object-fit:cover}.local-thumbs{display:flex;gap:8px;margin-top:9px}.local-thumb{width:100px;height:72px;border:1px solid #d2a34e33;background:#0d0906;padding:0;cursor:pointer;opacity:.65}.local-thumb.active,.local-thumb:hover{opacity:1;border-color:#d2a34e77}.local-thumb img{width:100%;height:100%;object-fit:cover}.local-product-info{position:sticky;top:96px}.local-product-info h1{font:900 50px/.95 Georgia,serif;text-transform:uppercase;margin:10px 0}.local-product-info .desc{color:#baa991;line-height:1.7}.local-buybox{margin-top:20px;border:1px solid #d2a34e33;background:#0c0906;padding:18px}.local-buy-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.local-buy-row .price{font:900 30px Georgia,serif;color:#efc77d}.local-buybtn{border:0;background:#8d3026;color:#f6e4c8;padding:14px 20px;text-transform:uppercase;font:900 12px system-ui;letter-spacing:.11em;cursor:pointer}.local-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.local-meta>div{border:1px solid #ffffff0d;background:#ffffff05;padding:12px;font-size:12px;color:#baa991}.local-meta b{display:block;color:#eee0c8;margin-bottom:5px}.local-tabs{display:flex;gap:10px;margin-top:20px}.local-tab{border:1px solid #d2a34e2b;background:#100c09;color:#bba98f;padding:10px 13px;cursor:pointer}.local-tab.active{color:#efce92;border-color:#d2a34e66}.local-tabpanel{display:none;margin-top:16px;color:#b9a88f;line-height:1.65}.local-tabpanel.active{display:block}
.local-notice{margin-top:12px;padding:12px;border:1px solid #a0bd7b55;background:#a0bd7b10;color:#b8d497;display:none}.local-notice.show{display:block}
.local-checkout-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}.local-checkout-card{border:1px solid #d2a34e2c;background:#0d0906;padding:22px}.local-cartline{display:grid;grid-template-columns:70px 1fr auto auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ffffff0d}.local-cartline img{width:70px;height:60px;object-fit:cover}.local-remove{border:0;background:none;color:#bd7c65;cursor:pointer}.local-total{display:flex;justify-content:space-between;font:900 22px Georgia,serif;margin-top:16px}.local-complete{margin-top:14px;padding:13px;background:#8d3026;color:#fff;border:0;width:100%;font-weight:900;text-transform:uppercase;cursor:pointer}
.local-cart-drawer{position:fixed;right:0;top:0;bottom:0;width:min(420px,100%);background:#0d0906;border-left:1px solid #d2a34e30;z-index:300;transform:translateX(100%);transition:.25s;box-shadow:-18px 0 50px #0008;padding:18px;display:flex;flex-direction:column}.local-cart-drawer.open{transform:none}.local-cart-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #ffffff0d}.local-cart-head h3{font:900 24px Georgia,serif;margin:0}.local-close{width:36px;height:36px;border-radius:50%;border:1px solid #d2a34e33;background:#100c09;color:#e8d8bc;cursor:pointer}.local-cart-items{flex:1;overflow:auto}.local-cart-item{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff0d}.local-cart-item small{display:block;color:#9b8970;margin-top:4px}.local-cart-footer{border-top:1px solid #ffffff0d;padding-top:14px}.local-cart-footer .total{display:flex;justify-content:space-between;font:900 20px Georgia,serif}.local-cart-footer a{display:block;text-align:center;margin-top:12px;background:#8d3026;color:#fff;padding:13px;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.1em}
.local-toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#161009;border:1px solid #d2a34e44;color:#eedec4;padding:11px 16px;z-index:400;transition:.2s}.local-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1200px){.local-products{grid-template-columns:repeat(3,1fr)}.local-hero-grid{grid-template-columns:240px 1fr}.local-feature.left{transform:translateX(-220px) rotateY(15deg) scale(.88)}.local-feature.right{transform:translateX(220px) rotateY(-15deg) scale(.88)}}
@media(max-width:900px){.local-hero-grid{grid-template-columns:1fr}.local-category-board{max-width:400px;margin:auto}.local-products{grid-template-columns:repeat(2,1fr)}.local-trust-grid{grid-template-columns:1fr 1fr}.local-community,.local-product-layout,.local-checkout-grid{grid-template-columns:1fr}.local-product-info{position:static}.local-media-main{height:420px}.local-meta{grid-template-columns:1fr}.local-feature.left{transform:translateX(-170px) rotateY(15deg) scale(.8)}.local-feature.right{transform:translateX(170px) rotateY(-15deg) scale(.8)}}
@media(max-width:600px){.local-products{grid-template-columns:1fr}.local-feature{width:155px;height:220px}.local-feature.center{width:205px;height:285px}.local-feature.left{transform:translateX(-135px) rotateY(15deg) scale(.75)}.local-feature.right{transform:translateX(135px) rotateY(-15deg) scale(.75)}.local-feature-copy h3{font-size:20px}.local-feature-copy p{display:none}.local-cartline{grid-template-columns:55px 1fr auto}.local-cartline .local-remove{grid-column:2}.local-media-main{height:320px}}

/* Tebex Headless storefront states and controls. */
.frontier-system-message{position:relative;z-index:90;padding:9px 18px;text-align:center;border-bottom:1px solid #d2a34e2c;background:#171009;color:#d9c5a4;font:700 12px/1.4 system-ui;letter-spacing:.02em}.frontier-system-message[data-type="error"]{background:#3a1512;color:#f4c5b8;border-color:#b34a3d}.frontier-system-message[data-type="fixture"]{background:#1c1710;color:#e5c889}.frontier-system-error{padding:16px;background:#4a1712;color:#fff;text-align:center}.local-empty-state{grid-column:1/-1;min-height:120px;display:grid;place-items:center;border:1px dashed #d2a34e2c;background:#ffffff03;color:#aa987e;text-align:center;padding:24px}.local-product{position:relative}.local-sale-badge{position:absolute;z-index:3;top:12px;right:12px;background:#8d3026;color:#f8ead4;padding:6px 9px;text-transform:uppercase;font:900 10px/1 system-ui;letter-spacing:.1em}.local-product-copy del,.local-buy-row del{color:#8f7d66;font-size:.68em;margin-right:5px}.local-media-main iframe{width:100%;height:100%;border:0}.local-video-thumb{width:100%;height:100%;display:grid;place-items:center;color:#e6c47e;font:800 11px system-ui}.local-buybtn:disabled,.local-complete:disabled{opacity:.45;cursor:not-allowed}.local-option-warning{margin-bottom:14px;padding:11px;border:1px solid #c58a4250;background:#c58a4210;color:#e2c08b;font-size:12px;line-height:1.5}.local-qty{display:flex;align-items:center;gap:8px;margin-top:9px}.local-qty button{width:28px;height:28px;border:1px solid #d2a34e35;background:#17110c;color:#edddc1;cursor:pointer}.local-promotions{margin:18px 0;border-top:1px solid #ffffff0d;padding-top:12px}.local-promotions h3{font:900 18px Georgia,serif;margin:0 0 10px}.local-promotions label{display:block;color:#b8a78e;font-size:11px;margin:9px 0}.local-promotions label span{display:flex;margin-top:5px}.local-promotions input{min-width:0;flex:1;background:#080604;border:1px solid #d2a34e2f;color:#e9dbc2;padding:10px}.local-promotions form button,.local-applied-code button{border:1px solid #d2a34e42;background:#24170e;color:#e7c982;padding:0 12px;cursor:pointer}.local-applied-code{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #ffffff0a;color:#bca98f;font-size:11px}.local-cartline small{display:block;color:#9f8e75;margin-top:4px}.local-checkout-card>p{color:#b8a78e;line-height:1.6}
@media(max-width:600px){.frontier-system-message{padding:8px 12px}.local-promotions label span{align-items:stretch}.local-promotions form button{min-width:64px}.local-cart-item{align-items:flex-start}.local-media-main iframe{min-height:320px}}


/* ==========================================================
   CENTERED HERO CAROUSEL + CATEGORY RAIL
   ========================================================== */
.local-hero{min-height:700px}
.local-hero-content{padding-top:28px;padding-bottom:26px}
.local-hero-center{max-width:1280px;margin:18px auto 0;display:flex;flex-direction:column;align-items:center}
.local-hero-grid{display:block!important;margin:0!important;padding:0!important}
.local-carousel{width:100%;min-height:430px;max-width:1120px;margin:0 auto;display:grid;place-items:center;perspective:1400px}
.local-feature{width:300px;height:340px;transition:transform .36s cubic-bezier(.2,.75,.2,1),opacity .25s ease,filter .25s ease,border-color .2s ease}
.local-feature.center{width:380px;height:420px;left:50%;transform:translateX(-50%);z-index:6}
.local-feature.left{left:50%;transform:translateX(-405px) rotateY(15deg) translateZ(-70px) scale(.90);z-index:3;opacity:.92}
.local-feature.right{right:auto;left:50%;transform:translateX(105px) rotateY(-15deg) translateZ(-70px) scale(.90);z-index:3;opacity:.92}
.local-feature.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) scale(.76)!important}
.local-feature.center:hover{border-color:#d2a34e7a}
.local-carousel-arrow{top:53%}
.local-carousel-arrow.prev{left:46px}.local-carousel-arrow.next{right:46px}
.local-dots{bottom:2px}
.local-carousel-empty{position:absolute;inset:35px 170px 36px;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #d2a34e35;background:linear-gradient(180deg,#100c09ee,#080604f2);box-shadow:0 20px 60px #0009}
.local-carousel-empty[hidden]{display:none}
.local-carousel-empty h3{font:900 35px Georgia,serif;text-transform:uppercase;margin:10px 0 8px}.local-carousel-empty p{color:#a99881;margin:0 0 18px}.local-carousel-empty a{padding:11px 15px;border:1px solid #d2a34e45;color:#ebc47b;text-transform:uppercase;font:900 10px system-ui;letter-spacing:.12em}
.local-carousel-category-wrap{width:min(1080px,100%);margin:12px auto 0;padding:14px 16px 15px;border:1px solid #d2a34e24;background:linear-gradient(180deg,#0f0b08e8,#090604e8);box-shadow:0 12px 35px #0007;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;backdrop-filter:blur(5px)}
.local-carousel-category-label{min-width:170px}.local-carousel-category-label span{display:block;font:900 17px Georgia,serif;text-transform:uppercase;color:#eee0c7}.local-carousel-category-label small{display:block;color:#8f806d;font-size:10px;margin-top:4px}
.local-carousel-categories{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.local-carousel-category{border:1px solid #d2a34e28;background:#0d0906;color:#b7a58c;padding:9px 12px;cursor:pointer;text-transform:uppercase;font:900 9px system-ui;letter-spacing:.09em;transition:.18s ease;white-space:nowrap}
.local-carousel-category:hover{border-color:#d2a34e5b;color:#efd49d;transform:translateY(-2px)}
.local-carousel-category.active{background:#75271f;border-color:#a95342;color:#f3dfbd;box-shadow:0 7px 18px #0005}
.local-carousel-category .count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;border-radius:999px;background:#ffffff10;color:#d6b67c;font-size:8px}
.local-category-page-link{color:#dcb36b;text-transform:uppercase;font:900 9px system-ui;letter-spacing:.12em;white-space:nowrap}
.local-category-page-link:hover{color:#f2d596}

@media(max-width:1200px){
  .local-carousel{max-width:980px}.local-feature.left{transform:translateX(-335px) rotateY(15deg) translateZ(-60px) scale(.86)}.local-feature.right{transform:translateX(35px) rotateY(-15deg) translateZ(-60px) scale(.86)}.local-carousel-arrow.prev{left:16px}.local-carousel-arrow.next{right:16px}
  .local-carousel-category-wrap{grid-template-columns:1fr}.local-carousel-category-label{text-align:center}.local-category-page-link{text-align:center}
}
@media(max-width:900px){
  .local-hero{min-height:auto}.local-carousel{min-height:390px;overflow:hidden}.local-feature{width:220px;height:275px}.local-feature.center{width:290px;height:350px}.local-feature.left{left:50%;transform:translateX(-315px) rotateY(15deg) scale(.82)}.local-feature.right{left:50%;transform:translateX(25px) rotateY(-15deg) scale(.82)}.local-carousel-empty{inset:40px 70px}
}
@media(max-width:600px){
  .local-hero-title h1{font-size:58px}.local-carousel{min-height:335px}.local-feature{width:150px;height:220px}.local-feature.center{width:215px;height:295px}.local-feature.left{transform:translateX(-245px) rotateY(15deg) scale(.76)}.local-feature.right{transform:translateX(30px) rotateY(-15deg) scale(.76)}.local-carousel-arrow{width:42px;height:42px}.local-carousel-arrow.prev{left:2px}.local-carousel-arrow.next{right:2px}.local-carousel-empty{inset:30px 16px}.local-carousel-category-wrap{padding-inline:10px}.local-carousel-categories{gap:5px}.local-carousel-category{padding:8px 9px;font-size:8px}.local-carousel-category-label span{font-size:15px}
}

.fsx-dropdown-divider{height:1px;background:rgba(255,255,255,.07);margin:6px 10px}

/* Simple scripts nav + Join Discord CTA */
.fsx-nav{gap:32px}.fsx-discord-nav{display:inline-flex!important;align-items:center;gap:8px;padding:10px 14px!important;border:1px solid rgba(114,137,218,.48);background:linear-gradient(180deg,rgba(88,101,242,.18),rgba(88,101,242,.08));border-radius:4px;color:#dfe3ff!important;transition:.18s ease}.fsx-discord-nav:hover{background:linear-gradient(180deg,rgba(88,101,242,.30),rgba(88,101,242,.14));border-color:rgba(114,137,218,.78);transform:translateY(-1px)}.fsx-discord-nav:after{display:none!important}.discord-icon{width:18px;height:18px;display:block;flex:0 0 auto}.fsx-discord-mobile{display:flex!important;align-items:center;gap:9px;color:#dfe3ff!important;border-top:1px solid rgba(88,101,242,.22);margin-top:6px;padding-top:12px!important}.fsx-footer-discord{display:inline-flex;align-items:center;gap:6px}.fsx-footer-discord .discord-icon{width:15px;height:15px}@media(max-width:1100px){.fsx-nav{gap:20px}.fsx-discord-nav{padding:9px 11px!important}}


/* ==========================================================
   V5.4 — WESTERN ARROWHEAD CAROUSEL CONTROLS
   Side controls only: remove the redundant pagination dots and
   use forged-looking arrowheads instead of generic circles.
   ========================================================== */
.local-dots{display:none!important}
.local-carousel-arrow{
  top:53%;
  width:78px;
  height:72px;
  padding:0;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:transparent!important;
  font-size:0!important;
  display:block;
  overflow:visible;
  opacity:.88;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.82));
  transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .2s ease,filter .2s ease;
}
.local-carousel-arrow.prev{left:38px}
.local-carousel-arrow.next{right:38px}
.local-carousel-arrow::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:31px;
  height:45px;
  transform:translate(-50%,-50%);
  background:linear-gradient(90deg,#8c5a24 0%,#e3b75f 40%,#f0ce86 55%,#9a682e 100%);
  clip-path:polygon(100% 0,100% 27%,48% 44%,21% 50%,48% 56%,100% 73%,100% 100%,0 50%);
  box-shadow:inset 0 0 0 1px rgba(255,225,159,.28);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),filter .2s ease;
}
.local-carousel-arrow.next::before{
  transform:translate(-50%,-50%) scaleX(-1);
}
.local-carousel-arrow::after{
  content:"";
  position:absolute;
  top:50%;
  width:31px;
  height:2px;
  margin-top:-1px;
  background:linear-gradient(90deg,rgba(132,82,29,0),#a87434 24%,#e1b55d 76%,rgba(240,204,132,.12));
  opacity:.78;
  box-shadow:0 0 7px rgba(220,171,80,.16);
  transition:width .22s cubic-bezier(.2,.8,.2,1),opacity .2s ease,filter .2s ease;
}
.local-carousel-arrow.prev::after{left:47px}
.local-carousel-arrow.next::after{right:47px;transform:scaleX(-1)}
.local-carousel-arrow:hover{
  opacity:1;
  filter:drop-shadow(0 4px 7px rgba(0,0,0,.9)) drop-shadow(0 0 8px rgba(226,178,88,.26));
}
.local-carousel-arrow.prev:hover{transform:translateX(-5px)}
.local-carousel-arrow.next:hover{transform:translateX(5px)}
.local-carousel-arrow:hover::before{filter:brightness(1.15)}
.local-carousel-arrow:hover::after{width:38px;opacity:1;filter:brightness(1.15)}
.local-carousel-arrow:active{transform:scale(.92)}
.local-carousel-arrow.prev:active{transform:translateX(-3px) scale(.92)}
.local-carousel-arrow.next:active{transform:translateX(3px) scale(.92)}
.local-carousel-arrow:focus-visible{
  outline:1px dashed rgba(237,197,117,.72);
  outline-offset:2px;
}
.local-carousel-arrow[hidden]{display:none!important}
@media(max-width:1200px){
  .local-carousel-arrow.prev{left:8px}.local-carousel-arrow.next{right:8px}
}
@media(max-width:600px){
  .local-carousel-arrow{width:54px;height:58px}
  .local-carousel-arrow::before{width:24px;height:35px}
  .local-carousel-arrow::after{width:22px}
  .local-carousel-arrow.prev::after{left:32px}.local-carousel-arrow.next::after{right:32px}
  .local-carousel-arrow.prev{left:-4px}.local-carousel-arrow.next{right:-4px}
}


/* ==========================================================
   V5.5 — CLICK SIDE CARDS TO ROTATE
   Side cards are carousel controls. Product navigation is kept
   exclusively on the center card's View Script CTA.
   ========================================================== */
.local-feature.left,
.local-feature.right{cursor:pointer}
.local-feature.left > a,
.local-feature.right > a{cursor:pointer}
.local-feature.left:hover,
.local-feature.right:hover{
  border-color:rgba(210,163,78,.58);
  filter:brightness(1.08);
}
.local-feature.left::after,
.local-feature.right::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
  background:linear-gradient(90deg,rgba(220,174,86,.08),transparent 36%,transparent 64%,rgba(220,174,86,.08));
}
.local-feature.left:hover::after,
.local-feature.right:hover::after{opacity:1}
.local-feature.center > a{cursor:default}
.local-feature.center .local-btn{cursor:pointer}


/* ==========================================================
   V5.7 — QUEUED RAPID CAROUSEL INPUT
   Rapid clicks continue carousel movement instead of locking.
   Product navigation remains disabled while cards are travelling.
   ========================================================== */
.local-carousel,
.local-carousel *{
  -webkit-user-select:none;
  user-select:none;
  -webkit-user-drag:none;
}
.local-carousel.is-rotating .local-feature .local-btn{
  pointer-events:none!important;
}
.local-carousel.is-rotating .local-feature.left,
.local-carousel.is-rotating .local-feature.right,
.local-carousel.is-rotating .local-feature.center,
.local-carousel.is-rotating .local-feature.enter-left,
.local-carousel.is-rotating .local-feature.enter-right{
  cursor:pointer!important;
}


/* V5.8 — official Frontier Scripts logo */
.fsx-brand-logo{display:inline-flex;align-items:center;justify-content:flex-start;width:max-content;line-height:0}
.fsx-brand-logo img{display:block;width:218px;height:auto;max-height:54px;object-fit:contain;object-position:left center;filter:drop-shadow(0 3px 8px rgba(0,0,0,.34));transition:filter .22s ease,transform .22s ease}
.fsx-brand-logo:hover img{filter:drop-shadow(0 3px 10px rgba(0,0,0,.42)) drop-shadow(0 0 7px rgba(210,164,86,.12));transform:translateY(-1px)}
@media (max-width:1100px){.fsx-brand-logo img{width:198px}}
@media (max-width:820px){.fsx-brand-logo img{width:178px;max-height:46px}}
@media (max-width:560px){.fsx-brand-logo img{width:158px;max-height:42px}}

/* ===== V5.10 BALANCE PASS: centered catalogue/community headings ===== */
.local-page-hero--catalogue .local-page-hero-inner{text-align:center}
.local-page-hero--catalogue .local-page-hero-inner p{margin-left:auto;margin-right:auto}
.local-community-head{justify-content:center;text-align:center}
.local-community .local-module>.fsx-kicker,.local-community .local-module>h3{text-align:center}
.local-module--leader{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.local-module--leader .local-top{justify-content:center}




/* ===== V5.12 POLISH PASS: centered pages + visible Western leader card ===== */
.local-page-hero--centered .local-page-hero-inner{
    text-align:center;
}
.local-page-hero--centered .local-page-hero-inner p{
    margin-left:auto;
    margin-right:auto;
}

/* Top Purchaser: readable foreground, clearly visible Western atmosphere */
.local-module--leader{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    border-color:rgba(210,163,78,.46);
    box-shadow:
        inset 0 0 0 1px rgba(210,163,78,.06),
        0 18px 50px rgba(0,0,0,.32);
}

/* Inner engraved-style frame */
.local-module--leader > .fsx-kicker::before,
.local-module--leader > .fsx-kicker::after{
    content:"";
    position:absolute;
    top:-63px;
    width:72px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(222,178,91,.55),transparent);
    pointer-events:none;
}
.local-module--leader > .fsx-kicker::before{left:-96px}
.local-module--leader > .fsx-kicker::after{right:-96px}

.local-module--leader::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-3;
    background:
        url('art/bounty-scene.jpg') center 46% / cover no-repeat;
    opacity:.52;
    filter:saturate(.82) sepia(.12) brightness(.90) contrast(1.08);
    transform:scale(1.04);
}

/* Keep the center readable while leaving the scene clearly visible around it */
.local-module--leader::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
        radial-gradient(circle at 68% 56%,
            rgba(213,145,55,.20) 0%,
            rgba(145,85,30,.10) 17%,
            transparent 36%),
        radial-gradient(ellipse at 50% 52%,
            rgba(7,4,2,.42) 0%,
            rgba(7,4,2,.55) 36%,
            rgba(7,4,2,.71) 70%,
            rgba(5,3,2,.84) 100%),
        linear-gradient(180deg,
            rgba(4,3,2,.18),
            rgba(4,3,2,.36));
}

.local-module--leader > *{
    position:relative;
    z-index:2;
}

/* Very subtle glass/plaque behind the actual winner only */
.local-module--leader .local-top{
    position:relative;
    padding:16px 22px;
    border:1px solid rgba(215,166,78,.13);
    background:
        linear-gradient(135deg,rgba(14,9,5,.42),rgba(8,5,3,.26));
    box-shadow:
        inset 0 1px rgba(255,220,150,.025),
        0 16px 38px rgba(0,0,0,.20);
    backdrop-filter:blur(1.5px);
}

.local-module--leader .local-avatar{
    background:
        radial-gradient(circle at 38% 30%,rgba(112,69,30,.56),rgba(41,24,14,.94) 68%);
    border-color:rgba(213,157,69,.68);
    box-shadow:
        0 0 0 1px rgba(216,163,76,.10),
        0 13px 34px rgba(0,0,0,.40),
        0 0 38px rgba(190,120,43,.15);
}

.local-module--leader h3{
    text-shadow:0 4px 18px rgba(0,0,0,.92);
}
.local-module--leader .fsx-kicker,
.local-module--leader h4,
.local-module--leader .spent{
    text-shadow:
        0 2px 5px rgba(0,0,0,.95),
        0 0 15px rgba(0,0,0,.48);
}

/* A soft edge fade prevents the image from fighting with the panel border */
.local-module--leader::selection{
    background:transparent;
}


/* ===== V5.13: centered Related Scripts on every product page ===== */
.local-related-section .local-related-head{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
    margin-bottom:20px;
}
.local-related-section .local-related-head h2{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}
.local-related-section .local-related-head .local-link{
    text-align:center;
    margin:0 auto;
}

.local-related-section .local-related-products{
    grid-template-columns:repeat(3,minmax(0,320px));
    justify-content:center;
    align-items:stretch;
    width:100%;
    margin-left:auto;
    margin-right:auto;
}

@media(max-width:1100px){
    .local-related-section .local-related-products{
        grid-template-columns:repeat(3,minmax(0,280px));
    }
}
@media(max-width:900px){
    .local-related-section .local-related-products{
        grid-template-columns:repeat(2,minmax(0,320px));
    }
}
@media(max-width:600px){
    .local-related-section .local-related-products{
        grid-template-columns:minmax(0,360px);
    }
}


/* ===== V5.21: centered Featured Scripts section on home ===== */
.local-featured-head{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
    margin-bottom:22px;
}
.local-featured-head > div{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}
.local-featured-head h2,
.local-featured-head p,
.local-featured-head .local-link{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}
.local-featured-head p{
    max-width:760px;
}
.local-featured-section .local-products{
    grid-template-columns:repeat(5,minmax(0,320px));
    justify-content:center;
    width:100%;
    margin-left:auto;
    margin-right:auto;
}
@media(max-width:1200px){
    .local-featured-section .local-products{
        grid-template-columns:repeat(3,minmax(0,320px));
    }
}
@media(max-width:900px){
    .local-featured-section .local-products{
        grid-template-columns:repeat(2,minmax(0,320px));
    }
}
@media(max-width:600px){
    .local-featured-section .local-products{
        grid-template-columns:minmax(0,360px);
    }
}


/* ===== V5.22: core correctness + responsive fixes ===== */
.fsx-mobile-links[hidden]{
    display:none!important;
}

/* Switch to the compact header before the full desktop navigation can clip. */
@media(max-width:880px){
    .fsx-header-inner{
        height:68px;
        grid-template-columns:1fr auto auto;
        gap:10px;
    }
    .fsx-nav{display:none}
    .fsx-burger{display:inline-block}
    .fsx-mobile-links{display:block}
    .fsx-brand-logo img{
        width:178px;
        max-height:46px;
    }
}

@media(max-width:560px){
    .fsx-brand-logo img{
        width:158px;
        max-height:42px;
    }
    /* Keep phone headers within the viewport; authentication remains in the burger menu. */
    .fsx-actions>.fsx-auth-action{display:none}
}

/* Keep the long single-word documentation title inside narrow phone shells. */
@media(max-width:600px){
    body[data-page="docs"] .local-page-hero h1{
        font-size:clamp(30px,9.5vw,42px);
        overflow-wrap:anywhere;
    }
}

/* ===== V5.23: mobile/tablet interaction polish ===== */
.local-carousel{touch-action:pan-y}
.local-cart-backdrop{position:fixed;inset:0;z-index:299;background:rgba(3,2,1,.68);opacity:0;pointer-events:none;transition:opacity .25s ease}
.local-cart-backdrop.open{opacity:1;pointer-events:auto}
body.cart-open{overflow:hidden}

@media(max-width:880px){
    .fsx-basket,.fsx-burger{min-height:44px}
    .fsx-burger{min-width:44px;padding:10px}
    .fsx-mobile-links{padding-bottom:10px}
    .fsx-mobile-links a{display:flex;align-items:center;min-height:48px;padding:11px 4px;border-bottom:1px solid rgba(255,255,255,.045)}
    .fsx-mobile-links a:last-child{border-bottom:0}
    .local-carousel-category,.local-filter{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
    .local-category-page-link{min-height:44px;display:flex;align-items:center;justify-content:center}
    .local-tab{min-height:44px}
    .local-close{width:44px;height:44px;font-size:22px}
    .local-cart-drawer{overscroll-behavior:contain;padding:18px max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
    .local-cart-items{overscroll-behavior:contain}
    .local-cart-footer a{min-height:48px;display:flex;align-items:center;justify-content:center}
    .local-remove{min-width:44px;min-height:44px;padding:10px 4px}
    .local-buybtn,.local-complete{min-height:48px}
    .fsx-footer-inner{padding:12px 0}
    .fsx-footer-links a{min-height:44px;display:inline-flex;align-items:center}
}

@media(max-width:600px){
    .local-hero-title h1{font-size:clamp(42px,13.5vw,58px)}
    .local-carousel-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
    .local-carousel-category{width:100%;padding:9px 7px;white-space:normal;line-height:1.25}
    .local-filterbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .local-filter{width:100%;padding:9px 7px;text-align:center;white-space:normal;line-height:1.25}
    .local-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,112px))}
    .local-thumb{width:100%;height:76px}
    .local-tabs{gap:6px}
    .local-tab{flex:1;min-width:0;padding:10px 6px;text-align:center}
    .local-cart-drawer{width:100vw;border-left:0}
    .fsx-footer-inner{min-height:0;flex-direction:column;text-align:center;padding:18px 0 14px}
    .fsx-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:0 8px}
    .fsx-footer-links a{justify-content:center}
}

@media(max-width:430px){
    .local-feature.left .local-feature-copy,.local-feature.right .local-feature-copy{opacity:0}
}

/* ===== V5.24: keep narrow-desktop navigation on one line ===== */
@media(min-width:881px) and (max-width:948px){
    .fsx-header-inner{grid-template-columns:205px minmax(0,1fr) auto;gap:16px}
    .fsx-nav{gap:16px}
    .fsx-nav>a,.fsx-basket{white-space:nowrap}
}

/* Center sparse desktop catalogue results without stretching product cards. */
@media(min-width:901px){
    [data-all-grid]:has(> .local-product:first-child:last-child),
    [data-cat-grid]:has(> .local-product:first-child:last-child){
        grid-template-columns:minmax(0,320px);
        justify-content:center;
    }
    [data-all-grid]:has(> .local-product:nth-child(2):last-child),
    [data-cat-grid]:has(> .local-product:nth-child(2):last-child){
        grid-template-columns:repeat(2,minmax(0,320px));
        justify-content:center;
    }
}

/* ===== V4 live-data presentation and Tebex authentication ===== */
.local-feature-copy p{
    margin:0;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    max-height:4.35em;
}
.local-feature:not(.center) .local-feature-copy p{
    -webkit-line-clamp:2;
    max-height:2.9em;
}
.local-tabpanel h1,.local-tabpanel h2,.local-tabpanel h3{font-family:Georgia,serif;color:#edddc5}
.local-tabpanel ul,.local-tabpanel ol{padding-left:22px}
.local-tabpanel li{margin:7px 0}
.local-tabpanel img{max-width:100%;height:auto}
.local-tabpanel a{color:#e3b96e}
.local-support-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.local-support-actions a{display:inline-flex;align-items:center;min-height:42px;padding:10px 13px;border:1px solid #d2a34e45;background:#100c09;text-transform:uppercase;font:900 10px system-ui;letter-spacing:.1em}
.local-support-note{color:#8f806d;font-size:12px}
.fsx-auth-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;inline-size:120px;max-inline-size:120px;min-height:38px;overflow:hidden;border:1px solid #d2a34e45;background:#120d09;color:#e8c57f;padding:0 10px;text-transform:uppercase;font:900 10px system-ui;letter-spacing:.1em;white-space:nowrap;cursor:pointer}
.fsx-auth-action[hidden]{display:none}
.fsx-mobile-links .fsx-auth-action{width:100%;max-width:none;justify-content:flex-start;text-align:left;margin-top:4px}
.fsx-auth-action.is-cfx-loading{cursor:default}
.fsx-cfx-loading-dot{flex:0 0 22px;width:22px;height:22px;border-radius:50%;border:1px solid #d2a34e26;background:#21170f}
.fsx-cfx-loading-line{flex:0 1 58px;height:7px;border-radius:20px;background:#d2a34e26}
.fsx-auth-action.is-cfx-profile{justify-content:flex-start;padding-inline:9px;text-transform:none;letter-spacing:.02em}
.fsx-cfx-status{flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#82b95d;box-shadow:0 0 0 3px #82b95d18,0 0 8px #82b95d55}
.fsx-cfx-avatar{display:grid;flex:0 0 24px;width:24px;height:24px;place-items:center;overflow:hidden;border:1px solid #d2a34e4d;border-radius:50%;background:linear-gradient(145deg,#2a2118,#100c09);color:#d9bd8a}
.fsx-cfx-avatar img{width:100%;height:100%;object-fit:cover}
.fsx-cfx-avatar svg{width:14px;height:14px;fill:currentColor}
.fsx-cfx-name{min-width:0;overflow:hidden;color:#ead9c1;font:800 11px/1 system-ui;text-overflow:ellipsis;white-space:nowrap}
.local-auth-backdrop{position:fixed;inset:0;z-index:90;background:#000b;opacity:0;visibility:hidden;transition:.2s}
.local-auth-backdrop.open{opacity:1;visibility:visible}
.local-auth-dialog{position:fixed;z-index:91;left:50%;top:50%;width:min(470px,calc(100% - 28px));transform:translate(-50%,-46%);opacity:0;visibility:hidden;border:1px solid #d2a34e55;background:linear-gradient(180deg,#15100c,#090604);box-shadow:0 24px 80px #000;padding:26px;transition:.2s}
.local-auth-dialog.open{transform:translate(-50%,-50%);opacity:1;visibility:visible}
.local-auth-dialog h2{margin:6px 0 10px;font:900 34px Georgia,serif;text-transform:uppercase}
.local-auth-dialog p{color:#b8a78f;line-height:1.65}
.local-auth-actions{display:grid;gap:9px;margin-top:18px}
.local-auth-actions :is(a,button){display:flex;justify-content:center;align-items:center;min-height:48px;border:0;background:#8d3026;color:#f6e4c8;text-transform:uppercase;font:900 11px system-ui;letter-spacing:.11em;cursor:pointer}
.local-auth-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#d6bd91;font-size:26px;cursor:pointer}
.local-auth-help{margin-top:12px!important;color:#857763!important;font-size:11px}
.local-option-warning{margin-bottom:14px;padding:12px;border:1px solid #d2a34e44;background:#d2a34e0b;color:#cdb68f;font-size:12px;line-height:1.55}

/* Shared storefront-card artwork: dedicated 9:10 art fills the frame; live-media
   fallbacks remain fully visible over an atmospheric, edge-filling backdrop. */
.local-feature-art,.local-product-art{
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    background-color:#0d0906;
    isolation:isolate;
    overflow:hidden;
}
.local-feature-art.is-media-fallback,.local-product-art.is-media-fallback{
    background-size:0 0;
}
.local-feature-art.is-media-fallback::before,.local-product-art.is-media-fallback::before,
.local-feature-art.is-media-fallback::after,.local-product-art.is-media-fallback::after{
    content:"";
    position:absolute;
    pointer-events:none;
    background-image:inherit;
    background-position:center;
    background-repeat:no-repeat;
}
.local-feature-art.is-media-fallback::before,.local-product-art.is-media-fallback::before{
    inset:-10%;
    background-size:cover;
    filter:blur(18px) brightness(.42) saturate(.72);
    transform:scale(1.06);
    opacity:.82;
}
.local-feature-art.is-media-fallback::after,.local-product-art.is-media-fallback::after{
    inset:0;
    background-size:contain;
    filter:drop-shadow(0 10px 22px rgba(0,0,0,.5));
}
.local-feature-art.has-card-image,.local-product-art.has-card-image{
    background-size:cover;
}
.local-product.has-card-image{
    aspect-ratio:9/10;
    min-height:0;
}
.local-feature-copy p{
    display:none;
}
.local-media-main img,.local-thumb img,.local-cartline img{
    object-fit:contain;
    object-position:center;
    background:#0d0906;
}
.local-media-main{
    position:relative;
    isolation:isolate;
}
.local-media-main.has-image::before{
    content:"";
    position:absolute;
    inset:-22px;
    z-index:0;
    background-image:var(--product-media-image);
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    filter:blur(22px) brightness(.36) saturate(.72);
    transform:scale(1.04);
    opacity:.9;
    pointer-events:none;
}
.local-media-main.has-image::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:linear-gradient(90deg,rgba(7,5,3,.28),transparent 24%,transparent 76%,rgba(7,5,3,.28));
    pointer-events:none;
}
.local-media-main.has-image img{
    position:relative;
    z-index:1;
    background:transparent;
}
.fsx-auth-action:disabled{cursor:default;color:#b9d29a;border-color:#8fb66b55;background:#10140d}
.fsx-auth-action.is-cfx-profile:disabled{border-color:#8fb66b45;background:linear-gradient(180deg,#14170f,#0c0f09)}
.local-auth-actions :is(a,button){box-shadow:inset 0 0 0 1px #e2b76620,0 10px 28px #0006}

/* Large-PC and ultrawide scaling. Desktop below 1921px keeps the approved V5.24 sizing. */
@media(min-width:1921px){
    .shell{width:min(1960px,calc(100% - 7vw))}
    .fsx-header-inner{height:82px;grid-template-columns:320px minmax(0,1fr) auto;gap:30px}
    .fsx-brand-logo img{width:250px;max-height:62px}
    .fsx-nav{gap:clamp(30px,1.7vw,44px)}
    .fsx-nav>a{font-size:13px}
    .fsx-basket{min-height:44px;padding-inline:19px}
    .fsx-auth-action{min-height:44px;padding-inline:17px}
    .local-hero{min-height:clamp(760px,72vh,900px)}
    .local-hero-content{padding-top:38px;padding-bottom:36px}
    .local-hero-title{max-width:1100px}
    .local-hero-title h1{font-size:clamp(124px,5.2vw,160px)}
    .local-hero-title p{max-width:840px;font-size:17px}
    .local-hero-center{max-width:1680px;margin-top:24px}
    .local-carousel{max-width:1460px;min-height:520px}
    .local-feature{width:330px;height:380px}
    .local-feature.center{width:420px;height:470px}
    .local-feature.left{transform:translateX(-470px) rotateY(15deg) translateZ(-70px) scale(.92)}
    .local-feature.right{transform:translateX(130px) rotateY(-15deg) translateZ(-70px) scale(.92)}
    .local-feature-copy h3{font-size:34px}
    .local-feature-copy p{font-size:12px}
    .local-carousel-arrow.prev{left:75px}.local-carousel-arrow.next{right:75px}
    .local-carousel-category-wrap{width:min(1280px,100%);padding:17px 20px 18px}
    .local-carousel-category-label span{font-size:19px}
    .local-carousel-category{font-size:10px;padding:11px 15px}
    .local-trust-grid>div{min-height:78px}.local-trust-grid b{font-size:16px}.local-trust-grid small{font-size:11px}
    .local-section{padding:60px 0}
    .local-section-head h2{font-size:42px}
    .local-section-head p{max-width:760px;font-size:15px}
    .local-products{gap:18px}.local-product{min-height:380px}.local-product-copy h3{font-size:28px}
    .local-featured-section .local-products{grid-template-columns:repeat(5,minmax(0,360px))}
    .local-related-section .local-related-products{grid-template-columns:repeat(3,minmax(0,360px))}
    [data-all-grid]:has(> .local-product:first-child:last-child),[data-cat-grid]:has(> .local-product:first-child:last-child){grid-template-columns:minmax(0,360px)}
    [data-all-grid]:has(> .local-product:nth-child(2):last-child),[data-cat-grid]:has(> .local-product:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,360px))}
    .local-community{gap:24px}.local-module{padding:24px}.local-module h3{font-size:29px}
    .local-page-hero{min-height:360px}.local-page-hero h1{font-size:clamp(68px,3.5vw,90px)}
    .local-product-layout{grid-template-columns:minmax(0,1.15fr) minmax(470px,.85fr);gap:42px}
    .local-media-main{height:680px}
    .local-product-info h1{font-size:58px}
    .local-product-info .desc,.local-tabpanel{font-size:15px}
    .local-tabs{gap:12px}.local-tab{padding:12px 16px;font-size:14px}
    .local-buybox{padding:22px}.local-buy-row .price{font-size:34px}
    .fsx-footer-inner{min-height:72px;font-size:13px}
}

@media(min-width:3000px){
    .shell{width:min(2240px,calc(100% - 8vw))}
    .fsx-header-inner{height:88px;grid-template-columns:350px minmax(0,1fr) auto}
    .fsx-brand-logo img{width:270px;max-height:66px}
    .local-hero{min-height:920px}
    .local-hero-title{max-width:1220px}.local-hero-title h1{font-size:170px}.local-hero-title p{font-size:19px;max-width:940px}
    .local-hero-center{max-width:1900px}
    .local-carousel{max-width:1640px;min-height:585px}
    .local-feature{width:370px;height:430px}.local-feature.center{width:470px;height:530px}
    .local-feature.left{transform:translateX(-535px) rotateY(15deg) translateZ(-80px) scale(.92)}
    .local-feature.right{transform:translateX(155px) rotateY(-15deg) translateZ(-80px) scale(.92)}
    .local-feature-copy h3{font-size:38px}.local-feature-copy p{font-size:13px}
    .local-carousel-arrow.prev{left:100px}.local-carousel-arrow.next{right:100px}
    .local-carousel-category-wrap{width:min(1450px,100%)}
    .local-section{padding:72px 0}.local-section-head h2{font-size:48px}
    .local-product{min-height:430px}.local-product-copy h3{font-size:31px}
    .local-featured-section .local-products{grid-template-columns:repeat(5,minmax(0,400px))}
    .local-related-section .local-related-products{grid-template-columns:repeat(3,minmax(0,400px))}
    [data-all-grid]:has(> .local-product:first-child:last-child),[data-cat-grid]:has(> .local-product:first-child:last-child){grid-template-columns:minmax(0,400px)}
    [data-all-grid]:has(> .local-product:nth-child(2):last-child),[data-cat-grid]:has(> .local-product:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,400px))}
    .local-product-layout{grid-template-columns:minmax(0,1.18fr) minmax(540px,.82fr);gap:56px}
    .local-media-main{height:760px}.local-product-info h1{font-size:66px}.local-product-info .desc,.local-tabpanel{font-size:16px}
    .local-page-hero{min-height:420px}
}

/* V4 storefront cards: one landscape-first presentation for hero and catalogues. */
.frontier-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(210,163,78,.46);
    background:linear-gradient(155deg,#1b120c,#0c0806 72%);
    color:#eadbc2;
    box-shadow:0 18px 45px rgba(0,0,0,.42);
}
.frontier-card-media{position:relative;flex:none;aspect-ratio:16/9;overflow:hidden;background:#0b0806}
.frontier-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.9)}
/* Homepage-only, non-product carousel filler. Real package cards retain their media and actions. */
body[data-page="home"] .frontier-card--coming-soon{border-color:rgba(210,163,78,.3);background:linear-gradient(155deg,#17110c,#0b0806 72%)}
body[data-page="home"] .frontier-card-media--coming-soon{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 44%,rgba(131,91,42,.24),transparent 63%),linear-gradient(160deg,#21170e,#0a0806 78%)}
body[data-page="home"] .frontier-card-media--coming-soon::before{content:"";position:absolute;inset:12px;border:1px solid rgba(210,163,78,.16);pointer-events:none}
body[data-page="home"] .frontier-card-media--coming-soon img{position:relative;width:min(62%,320px);height:auto;max-height:68%;object-fit:contain;filter:none;opacity:.65}
body[data-page="home"] .frontier-card--coming-soon .frontier-card-content{background:linear-gradient(180deg,#130d09,#0b0806)}
body[data-page="home"] .frontier-card--coming-soon .frontier-card-identity h3{color:#dfc9a5}
body[data-page="home"] .frontier-card-coming-soon-label{margin-top:auto;padding-top:11px;border-top:1px solid rgba(210,163,78,.23);color:#c6a774;text-transform:uppercase;font:900 10px/1.2 system-ui;letter-spacing:.15em}
.frontier-card-sale{position:absolute;top:11px;right:11px;padding:6px 9px;border:1px solid #e3b76d88;background:#7c281eee;color:#ffe4b6;text-transform:uppercase;font:900 10px/1 system-ui;letter-spacing:.12em}
.frontier-card-content{display:flex;flex:1;flex-direction:column;gap:9px;min-width:0;padding:17px 18px 18px;text-align:center}
.frontier-card-category{display:block;color:#d6a85d;text-transform:uppercase;font:900 10px/1.2 system-ui;letter-spacing:.15em}
.frontier-card-identity h3{margin:5px 0 0;color:#f0e1c9;font:900 clamp(20px,1.55vw,27px)/1.05 Georgia,serif;text-transform:uppercase;overflow-wrap:anywhere}
.frontier-card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.85em;max-height:2.85em;margin:0;color:#b9a68b;font:12px/1.43 system-ui}
.frontier-card-frameworks{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;min-height:23px}
.frontier-card-frameworks span{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid #d2a34e35;background:#d2a34e0b;color:#dec494;font:800 9px/1.15 system-ui;letter-spacing:.06em}
.frontier-card-purchase{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid #d2a34e24}
.frontier-card-price{display:flex;align-items:baseline;gap:7px;min-width:0;color:#efc77d}
.frontier-card-price strong{font:900 25px/1 Georgia,serif;color:#f3cf89;white-space:nowrap}
.frontier-card-price del{color:#9a8465;font:700 12px system-ui;white-space:nowrap}
.frontier-card-availability{display:inline-flex;align-items:center;gap:5px;color:#96b286;font:700 8.5px/1.2 system-ui;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.frontier-card-availability:before{content:"";display:block;flex:none;width:5px;height:5px;border-radius:50%;background:#7fa466}
.frontier-card-availability.is-unavailable{color:#c6947d}
.frontier-card-availability.is-unavailable:before{background:#b95d4c}
.frontier-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:3px}
.frontier-card-actions :is(a,button){display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;padding:9px 8px;text-align:center;text-decoration:none;text-transform:uppercase;font:900 10px/1.1 system-ui;letter-spacing:.08em;cursor:pointer}
.frontier-card-view{border:1px solid #d2a34e55;background:#1d140d;color:#f0d39c}
.frontier-card-add{border:1px solid #9c4434;background:#8d3026;color:#f7e5ca}
.frontier-card-actions :is(a,button):focus-visible{outline:2px solid #efc77d;outline-offset:2px}
.frontier-card-actions button:disabled{opacity:.48;cursor:not-allowed}

body:is([data-page="home"],[data-page="all"],[data-page="category"]) .local-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),360px));justify-content:center;gap:22px}
body[data-page="home"] [data-home-products]{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),360px))}
body:is([data-page="all"],[data-page="category"]) .local-products{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),380px))}

body[data-page="home"] .local-carousel{--card-width:540px;--card-height:560px;--side-shift:450px;--side-scale:.65;--exit-shift:790px;min-height:590px;max-width:1370px;overflow:visible}
body[data-page="home"] .local-feature{left:50%;right:auto;width:var(--card-width);height:var(--card-height);border:0;background:none;box-shadow:none;overflow:visible}
body[data-page="home"] .local-feature .frontier-card{height:100%;box-shadow:0 25px 65px rgba(0,0,0,.68)}
body[data-page="home"] .local-feature.center::before,
body[data-page="home"] .local-feature.left::before,
body[data-page="home"] .local-feature.right::before{content:"";position:absolute;left:14%;right:14%;bottom:-14px;height:22px;border-radius:50%;background:rgba(0,0,0,.55);filter:blur(13px);pointer-events:none}
body[data-page="home"] .local-feature.left::before,
body[data-page="home"] .local-feature.right::before{left:17%;right:17%;bottom:-10px;height:18px;background:rgba(0,0,0,.37);filter:blur(11px)}
body[data-page="home"] .local-feature.center{width:var(--card-width);height:var(--card-height);transform:translateX(-50%) translateZ(0);z-index:6;opacity:1}
body[data-page="home"] .local-feature.left{transform:translateX(calc(-50% - var(--side-shift))) rotateY(13deg) translateZ(-70px) scale(var(--side-scale));z-index:3;opacity:.82}
body[data-page="home"] .local-feature.right{transform:translateX(calc(-50% + var(--side-shift))) rotateY(-13deg) translateZ(-70px) scale(var(--side-scale));z-index:3;opacity:.82}
body[data-page="home"] .local-feature.exit-left{transform:translateX(calc(-50% - var(--exit-shift))) rotateY(24deg) translateZ(-180px) scale(.7);z-index:1;opacity:0;pointer-events:none}
body[data-page="home"] .local-feature.exit-right{transform:translateX(calc(-50% + var(--exit-shift))) rotateY(-24deg) translateZ(-180px) scale(.7);z-index:1;opacity:0;pointer-events:none}
body[data-page="home"] .local-feature.enter-left{transform:translateX(calc(-50% - var(--exit-shift))) rotateY(24deg) translateZ(-150px) scale(.7);z-index:2;opacity:.18}
body[data-page="home"] .local-feature.enter-right{transform:translateX(calc(-50% + var(--exit-shift))) rotateY(-24deg) translateZ(-150px) scale(.7);z-index:2;opacity:.18}
body[data-page="home"] .local-feature .frontier-card-identity h3{font-size:27px}
body[data-page="home"] .local-feature:not(.center) .frontier-card-actions{pointer-events:none;opacity:.55}
body[data-page="home"] .local-feature .frontier-card-actions .local-btn{display:flex;margin:0;opacity:1;transform:none;pointer-events:auto;transition:background .2s ease,border-color .2s ease}
body[data-page="home"] .local-feature:not(.center) .frontier-card-actions .local-btn{pointer-events:none}
body[data-page="home"] .local-feature.center>a{cursor:default}
body[data-page="home"] .local-carousel-arrow{top:50%}

@media(max-width:1200px){
    body[data-page="home"] .local-carousel{--card-width:500px;--card-height:540px;--side-shift:410px;--exit-shift:650px;min-height:570px}
}
@media(max-width:820px){
    .frontier-card-actions :is(a,button){min-height:44px}
    body[data-page="home"] .local-carousel{--card-width:440px;--card-height:505px;--side-shift:355px;--exit-shift:570px;min-height:535px;overflow:hidden}
    body[data-page="home"] .local-feature .frontier-card-identity h3{font-size:24px}
    body[data-page="home"] .local-carousel-arrow{z-index:11}
}
@media(max-width:600px){
    body[data-page="home"] .local-carousel{--card-width:min(340px,calc(100vw - 34px));--card-height:448px;--side-shift:270px;--side-scale:.78;--exit-shift:480px;min-height:470px}
    body[data-page="home"] .local-feature .frontier-card-content{gap:6px;padding:12px 13px 13px}
    body[data-page="home"] .local-feature .frontier-card-identity h3{font-size:20px}
    body[data-page="home"] .local-feature .frontier-card-description{font-size:11px;min-height:2.7em;max-height:2.7em}
    body[data-page="home"] .local-feature .frontier-card-price strong{font-size:22px}
    body[data-page="home"] .local-feature .frontier-card-actions :is(a,button){font-size:9px;min-height:44px}
    body[data-page="home"] .local-carousel-arrow{top:106px}
    body[data-page="home"] .local-carousel-arrow.prev{left:2px}
    body[data-page="home"] .local-carousel-arrow.next{right:2px}
}
@media(max-width:390px){
    body[data-page="home"] .local-carousel{--card-width:calc(100vw - 30px);--card-height:440px;--side-shift:255px;min-height:462px}
}
@media(min-width:2200px){
    body[data-page="home"] .local-carousel{--card-width:590px;--card-height:590px;--side-shift:532px;--side-scale:.76;--exit-shift:900px;min-height:620px;max-width:1580px}
body[data-page="home"] .local-feature .frontier-card-identity h3{font-size:30px}
}

/* Beveled bronze carousel controls keep the chevrons distinct from card art. */
body[data-page="home"] .local-carousel-arrow{
  top:calc(50% - 31px);
  width:58px;
  height:62px;
  z-index:12;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(150deg,rgba(208,162,85,.78),rgba(232,190,108,.72) 50%,rgba(156,104,47,.8))!important;
  clip-path:polygon(13% 0,87% 0,100% 50%,87% 100%,13% 100%,0 50%);
  opacity:1;
  filter:drop-shadow(0 4px 7px rgba(0,0,0,.88));
  cursor:pointer;
}
body[data-page="home"] .local-carousel-arrow::before{
  z-index:2;
  width:24px;
  height:32px;
  background:linear-gradient(90deg,#b98236,#f3d58d 52%,#c58d40);
  clip-path:polygon(8% 0,39% 0,96% 50%,39% 100%,8% 100%,65% 50%);
  box-shadow:none;
}
body[data-page="home"] .local-carousel-arrow.prev::before{transform:translate(-50%,-50%) scaleX(-1)}
body[data-page="home"] .local-carousel-arrow.next::before{transform:translate(-50%,-50%)}
body[data-page="home"] .local-carousel-arrow::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:1.5px;
  width:auto;
  height:auto;
  margin:0;
  background:linear-gradient(140deg,rgba(46,30,17,.96),rgba(14,10,7,.98) 65%,rgba(33,21,12,.96));
  clip-path:polygon(13% 0,87% 0,100% 50%,87% 100%,13% 100%,0 50%);
  opacity:1;
  box-shadow:none;
  transform:none;
  transition:none;
}
body[data-page="home"] .local-carousel-arrow:hover{filter:drop-shadow(0 5px 8px rgba(0,0,0,.9))}
body[data-page="home"] .local-carousel-arrow.prev{left:calc(50% - var(--card-width)/2 - 34px)}
body[data-page="home"] .local-carousel-arrow.next{right:calc(50% - var(--card-width)/2 - 34px)}
@media(max-width:600px){
  body[data-page="home"] .local-carousel-arrow{top:calc(50% - 28px);width:52px;height:56px}
  body[data-page="home"] .local-carousel-arrow::before{width:21px;height:28px}
  body[data-page="home"] .local-carousel-arrow.prev{left:2px}
  body[data-page="home"] .local-carousel-arrow.next{right:2px}
}

/* V4 product detail: Tebex media and commerce, with product-specific presentation. */
body[data-page="product"] .local-product-hero{min-height:270px}
body[data-page="product"] .local-product-hero .local-page-hero-inner{text-align:center}
body[data-page="product"] .local-product-hero h1{max-width:1000px;margin-inline:auto;overflow-wrap:anywhere;text-wrap:balance}
body[data-page="product"] .local-product-hero p{max-width:850px;margin:12px auto 0;font-size:15px}
body[data-page="product"] .local-product-main-section{padding-top:42px;padding-bottom:32px}
body[data-page="product"] .local-product-layout{grid-template-columns:minmax(0,1.3fr) minmax(360px,.8fr);gap:clamp(22px,3vw,48px);align-items:start}
body[data-page="product"] .local-product-gallery{min-width:0}
body[data-page="product"] .local-media-main{width:100%;height:auto;aspect-ratio:16/9;display:grid;place-items:center;border-color:#d2a34e52;background:#0b0705;box-shadow:0 25px 70px #0008}
body[data-page="product"] .local-media-main img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
body[data-page="product"] .local-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
body[data-page="product"] .local-thumb{width:110px;height:73px;overflow:hidden}
body[data-page="product"] .local-thumb img{display:block;width:100%;height:100%;object-fit:contain}
body[data-page="product"] .local-product-info{position:sticky;top:100px;min-width:0;padding:22px;border:1px solid #d2a34e45;background:linear-gradient(145deg,#1b120c,#0d0907 62%);box-shadow:0 26px 65px #0008}
body[data-page="product"] .local-product-info>.fsx-kicker,
body[data-page="product"] .local-product-info>h2,
body[data-page="product"] .local-product-info>.desc{text-align:center}
body[data-page="product"] .local-product-info h2{font:900 clamp(31px,2.5vw,47px)/1 Georgia,serif;text-transform:uppercase;color:#f0e1c9;margin:10px 0 12px;overflow-wrap:anywhere}
body[data-page="product"] .local-product-info .desc{margin:0;color:#bead93;line-height:1.6;font-size:14px}
body[data-page="product"] .local-buybox{margin-top:20px;padding:19px;border-color:#d2a34e48;background:#090705}
body[data-page="product"] .local-buybox .local-option-warning{text-align:left}
body[data-page="product"] .local-option-connected{border-color:#8fb66b66;background:#9fbd7b16;color:#b9d29a;font-weight:800;letter-spacing:.08em}
body[data-page="product"] .local-option-connected::before{content:"";display:inline-block;width:7px;height:7px;margin-right:9px;border-radius:50%;background:var(--local-success);vertical-align:1px}
body[data-page="product"] .local-purchase-topline{position:relative;display:flex;justify-content:center;align-items:center;gap:12px;min-height:18px;text-align:center;color:#d2a65f;text-transform:uppercase;font:900 10px/1.3 system-ui;letter-spacing:.14em}
body[data-page="product"] [data-product-availability]{position:absolute;right:0;top:50%;transform:translateY(-50%);color:#a8c18d;white-space:nowrap}
body[data-page="product"] [data-product-availability].is-unavailable{color:#c6947d}
body[data-page="product"] [data-product-availability]:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:currentColor;vertical-align:middle}
body[data-page="product"] .local-buy-row{justify-content:center;margin:18px 0;text-align:center}
body[data-page="product"] .local-buy-row .price{font-size:clamp(30px,2.5vw,39px)}
body[data-page="product"] .local-meta{grid-template-columns:1fr;gap:0;margin:0 0 19px;border-top:1px solid #d2a34e22}
body[data-page="product"] .local-meta>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:11px 2px;border:0;border-bottom:1px solid #d2a34e22;background:transparent;line-height:1.4}
body[data-page="product"] .local-meta b{margin:0;color:#e4c895;font:800 11px/1.4 system-ui;text-transform:uppercase;letter-spacing:.06em}
body[data-page="product"] .local-buybtn{display:block;width:100%;min-height:48px}
body[data-page="product"] .local-product-value-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
body[data-page="product"] .local-product-value-grid>div{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #d2a34e2d;background:#d2a34e09}
body[data-page="product"] .local-product-value-grid>div[hidden]{display:none}
body[data-page="product"] .local-product-value-grid i{font-style:normal;color:#d0a157;font-size:20px}
body[data-page="product"] .local-product-value-grid b{display:block;color:#efdec1;font:900 10px/1.3 system-ui;text-transform:uppercase;letter-spacing:.08em}
body[data-page="product"] .local-product-value-grid small{display:block;margin-top:4px;color:#b9a78d;font:11px/1.4 system-ui;overflow-wrap:anywhere}
@media(max-width:1100px){
  body[data-page="product"] .local-purchase-topline{flex-direction:column;gap:6px}
  body[data-page="product"] [data-product-availability]{position:static;transform:none;align-self:flex-end}
}
body[data-page="product"] .local-product-content-section{padding-top:18px}
body[data-page="product"] .local-tabs{gap:0;margin:0;border-bottom:1px solid #d2a34e3d}
body[data-page="product"] .local-tab{min-width:148px;min-height:47px;border:0;border-bottom:2px solid transparent;background:transparent;color:#aa9579;text-transform:uppercase;font:900 11px system-ui;letter-spacing:.13em}
body[data-page="product"] .local-tab.active{border-bottom-color:#d9ad68;color:#efd7ad;background:#d2a34e0c}
body[data-page="product"] .local-tab:focus-visible,body[data-page="product"] .local-buybtn:focus-visible,body[data-page="product"] .local-thumb:focus-visible{outline:2px solid #efc77d;outline-offset:2px}
body[data-page="product"] .local-tabpanel{max-width:1100px;min-height:130px;margin:0;padding:26px 8px 0;color:#c5b49b;font-size:15px;line-height:1.7}
body[data-page="product"] .local-product-description :is(h1,h2,h3,h4){margin:24px 0 12px;color:#eee0c8}
body[data-page="product"] .local-product-description :is(p,ul,ol){margin:0 0 16px}
body[data-page="product"] .local-product-description img{max-width:100%;height:auto}
body[data-page="product"] .local-configuration-empty,body[data-page="product"] .local-configuration-preview{padding:24px;border:1px solid #d2a34e30;background:linear-gradient(145deg,#1b130d,#0c0907)}
body[data-page="product"] .local-configuration-empty p{margin:10px 0 0;color:#d0bea1}
body[data-page="product"] .local-configuration-preview pre{overflow:auto;margin:16px 0 0;color:#dfcaa7;font:12px/1.55 ui-monospace,monospace}
body[data-page="product"] .local-product-spec-section{padding-top:18px}
body[data-page="product"] .local-product-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;max-width:1100px;margin:0;border-top:1px solid #d2a34e36}
body[data-page="product"] .local-product-specs>div{display:grid;grid-template-columns:minmax(110px,.32fr) minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #d2a34e24}
body[data-page="product"] .local-product-specs dt{color:#d9aa60;text-transform:uppercase;font:900 10px/1.4 system-ui;letter-spacing:.1em}
body[data-page="product"] .local-product-specs dd{min-width:0;margin:0;color:#d7c5a7;font:13px/1.5 system-ui;overflow-wrap:anywhere}
body[data-page="product"] .local-related-section[hidden]{display:none}
body[data-page="product"] .local-related-section{padding-top:8px}
body[data-page="product"] .local-related-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),300px));justify-content:center;gap:18px}
body[data-page="product"] .local-related-products .frontier-card-content{gap:7px;padding:13px}
body[data-page="product"] .local-related-products .frontier-card-identity h3{font-size:22px}
body[data-page="product"] .local-related-products .frontier-card-price strong{font-size:20px}
@media(max-width:900px){
  body[data-page="product"] .local-product-layout{grid-template-columns:1fr}
  body[data-page="product"] .local-product-info{position:static}
}
@media(max-width:600px){
  body[data-page="product"] .local-product-hero{min-height:225px}
  body[data-page="product"] .local-product-hero h1{font-size:clamp(37px,10vw,50px)}
  body[data-page="product"] .local-product-hero p{font-size:13px}
  body[data-page="product"] .local-product-main-section{padding-top:24px;padding-bottom:16px}
  body[data-page="product"] .local-product-info{padding:16px}
  body[data-page="product"] .local-product-info h2{font-size:32px}
  body[data-page="product"] .local-buybox{padding:15px}
  body[data-page="product"] .local-meta>div{grid-template-columns:92px minmax(0,1fr);gap:8px}
  body[data-page="product"] .local-product-value-grid{grid-template-columns:1fr}
  body[data-page="product"] .local-thumb{width:83px;height:58px}
  body[data-page="product"] .local-tab{min-width:0;flex:1}
  body[data-page="product"] .local-tabpanel{padding:20px 2px 0}
  body[data-page="product"] .local-product-specs{grid-template-columns:1fr}
}

/* Product detail grid: the purchase panel shares the full content container. */
body[data-page="product"] .local-product-detail-section{padding-top:42px;padding-bottom:55px}
body[data-page="product"] .local-product-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(360px,.8fr);
  grid-template-areas:"gallery sidebar" "content sidebar" "spec sidebar" "related sidebar";
  column-gap:clamp(22px,3vw,48px);
  row-gap:38px;
  align-items:start;
}
body[data-page="product"] .local-product-gallery{grid-area:gallery}
body[data-page="product"] .local-product-info{
  grid-area:sidebar;
  align-self:start;
  position:sticky;
  top:96px;
  max-height:calc(100vh - 108px);
  overflow-y:auto;
  scrollbar-color:#9d7542 #140e09;
}
body[data-page="product"] .local-product-content-section{grid-area:content;min-width:0;padding:0}
body[data-page="product"] .local-product-spec-section{grid-area:spec;min-width:0;padding:0}
body[data-page="product"] .local-related-section{grid-area:related;min-width:0;padding:0}
body[data-page="product"] .local-tabpanel{max-width:none}
body[data-page="product"] .local-product-specs{max-width:none}
body[data-page="product"] .local-related-products{grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));justify-content:stretch}
@media(max-width:390px){
  body[data-page="product"] .local-product-spec-section .local-section-head>div{min-width:0}
  body[data-page="product"] .local-product-spec-section .local-section-head h2{font-size:clamp(27px,9.7vw,36px)}
}

/* Full customer-file preview, not a snippet: overflow stays inside the editor. */
body[data-page="product"] .local-product-configuration{max-width:none}
.frontier-config-viewer{display:grid;grid-template-columns:175px minmax(0,1fr);min-width:0;border:1px solid #d2a34e48;background:#0a0806;box-shadow:0 20px 55px #0008}
.config-file-list{min-width:0;padding:15px 9px;border-right:1px solid #d2a34e2e;background:linear-gradient(160deg,#19120b,#100c08)}
.config-file-list-title{padding:5px 9px 12px;color:#d8ad69;text-transform:uppercase;font:900 10px/1.2 system-ui;letter-spacing:.13em}
.config-file-list button{display:block;width:100%;min-height:39px;margin:0 0 5px;padding:9px 10px;border:1px solid transparent;background:transparent;color:#e9dcc8;text-align:left;font:700 13px/1.3 ui-monospace,monospace;overflow-wrap:anywhere;cursor:pointer}
.config-file-list button.active{border-color:#d2a34e55;background:#d2a34e16;color:#ffebc4}
.config-file-list button:hover{background:#d2a34e12}
.config-file-list button:focus-visible,.config-code-scroll:focus-visible{outline:2px solid #efc77d;outline-offset:2px}
.config-editor{min-width:0}
.config-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:53px;padding:9px 15px;border-bottom:1px solid #d2a34e30;background:#17110b}
.config-editor-header>div{display:flex;align-items:center;min-width:0;gap:9px}
.config-editor-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#ac915a;box-shadow:0 0 10px #ac915a55}
.config-editor-header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffebc4;font:800 13px/1.2 ui-monospace,monospace}
.config-editor-header small{color:#e7d0a9;text-transform:uppercase;font:800 10px system-ui;letter-spacing:.08em}
.config-code-scroll{min-width:0;height:min(62vh,560px);min-height:280px;overflow:auto;overscroll-behavior:contain;background:#090806;scrollbar-color:#816039 #18120c}
.config-code-lines{width:max-content;min-width:100%;padding:13px 0;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#f6efe2;tab-size:4}
.config-code-row{display:grid;grid-template-columns:49px max-content;min-width:max-content}
.config-line-number{position:sticky;left:0;display:block;padding-right:11px;background:#0d0b08;border-right:1px solid #d2a34e18;color:#cbb999;text-align:right;user-select:none}
.config-line-source{display:block;padding:0 18px;white-space:pre;tab-size:4}
.config-token-comment{color:#cfdfc1}.config-token-string{color:#ffd991}.config-token-keyword{color:#ffe7b5}.config-token-number{color:#f5d7a9}
.config-editor-status{min-height:33px;padding:8px 15px;border-top:1px solid #d2a34e25;color:#9d8b72;font:10px/1.4 system-ui}
.config-code-error{padding:20px;color:#d9a186}
@media(max-width:900px){
  body[data-page="product"] .local-product-detail-grid{grid-template-columns:1fr;grid-template-areas:"gallery" "sidebar" "content" "spec" "related";row-gap:28px}
  body[data-page="product"] .local-product-info{position:static;max-height:none;overflow:visible}
}
@media(max-width:600px){
  body[data-page="product"] .local-product-detail-section{padding-top:24px}
  body[data-page="product"] .local-product-detail-grid{row-gap:24px}
  .frontier-config-viewer{grid-template-columns:1fr}
  .config-file-list{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:8px;border-right:0;border-bottom:1px solid #d2a34e2e}
  .config-file-list-title{flex:none;padding:0 8px 0 3px;white-space:nowrap}
  .config-file-list button{width:auto;min-width:max-content;margin:0;padding:8px 10px}
  .config-editor-header{flex-wrap:wrap}
  .config-code-scroll{height:360px}
}

/* Documentation and Support: informational pages, with Discord as the only support destination. */
body[data-page="docs"] .frontier-info-section,
body[data-page="support"] .frontier-info-section{padding:clamp(38px,5vw,72px) 0 88px}
.frontier-coming-soon{max-width:930px;margin:0 auto;padding:clamp(28px,5vw,66px);border:1px solid #d2a34e44;background:linear-gradient(135deg,#23170eeb,#0c0907 74%);box-shadow:0 24px 70px #0005;text-align:center}
.frontier-coming-soon h2,.frontier-support-layout h2{font:900 clamp(30px,3vw,48px)/1.05 Georgia,serif;text-transform:uppercase;color:#f0dfbe;margin:12px 0 18px}
.frontier-coming-soon p,.frontier-support-primary>p{max-width:650px;margin:0 auto;color:#c6b59b;font-size:clamp(15px,1.1vw,18px);line-height:1.7}
.frontier-info-link{display:inline-flex;align-items:center;gap:12px;margin-top:28px;color:#efc77d;font:900 12px system-ui;letter-spacing:.13em;text-transform:uppercase}
.frontier-info-link:hover,.frontier-support-secondary a:hover{color:#ffe3aa}
.frontier-support-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;max-width:1240px}
.frontier-support-primary,.frontier-support-guide{min-width:0;border:1px solid #d2a34e3d;background:linear-gradient(145deg,#1d130c,#0c0907 76%);padding:clamp(26px,3vw,48px)}
.frontier-support-primary>p{margin:0}
.frontier-discord-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:50px;margin-top:28px;padding:13px 20px;border:1px solid #a84938;background:#8d3026;color:#f8e9cd;font:900 12px system-ui;letter-spacing:.1em;text-align:center;text-transform:uppercase;transition:background .2s ease,border-color .2s ease}
.frontier-discord-cta:hover{background:#a73e30;border-color:#d56c4f}
.frontier-discord-cta:focus-visible,.frontier-info-link:focus-visible,.frontier-support-secondary a:focus-visible{outline:2px solid #efc77d;outline-offset:3px}
.frontier-support-primary .frontier-support-secondary{margin-top:26px;color:#aa997f;font-size:13px}
.frontier-support-secondary a{color:#e5bd74;text-decoration:underline;text-underline-offset:3px}
.frontier-support-guide ul{list-style:none;margin:0;padding:0;color:#c6b59b;line-height:1.55}
.frontier-support-guide li{position:relative;padding:12px 0 12px 23px;border-bottom:1px solid #ffffff12}
.frontier-support-guide li:last-child{border-bottom:0}
.frontier-support-guide li:before{content:"✦";position:absolute;left:0;color:#d2a34e}
@media(max-width:800px){.frontier-support-layout{grid-template-columns:1fr;max-width:720px}}
@media(max-width:600px){
  body[data-page="docs"] .frontier-info-section,body[data-page="support"] .frontier-info-section{padding:32px 0 58px}
  .frontier-coming-soon,.frontier-support-primary,.frontier-support-guide{padding:26px 21px}
  .frontier-discord-cta{width:100%}
}

/* Shared Frontier footer and provisional legal pages. */
.fsx-footer{position:relative;border-top:1px solid rgba(var(--frontier-surface-gold-rgb),.337);background:radial-gradient(ellipse at 16% 0%,rgba(var(--frontier-surface-amber-rgb),.22),transparent 47%),linear-gradient(180deg,rgb(var(--frontier-surface-warm-rgb)),#080604 78%)}
.fsx-footer:before{content:"";position:absolute;top:0;left:50%;width:min(620px,72%);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#d5a95c88,transparent)}
.fsx-footer-inner{display:block;min-height:0;padding:34px 0 18px;color:#ab9a82;font-size:12px}
.fsx-footer-top{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,2fr);align-items:center;gap:35px;padding-bottom:27px}
.fsx-footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.fsx-footer-brand img{display:block;width:198px;max-width:100%;height:auto;max-height:57px;object-fit:contain;object-position:left center}
.fsx-footer-brand span{color:#c99b57;text-transform:uppercase;font:900 10px system-ui;letter-spacing:.21em}
.fsx-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:start;gap:4px 17px;width:min(100%,670px);margin-left:auto}
.fsx-footer-links a{display:inline-flex;align-items:center;min-height:39px;gap:7px;color:#d7c4a5;font:800 11px/1.35 system-ui;letter-spacing:.06em;text-decoration:none}
.fsx-footer-links a:hover{color:#f3d18c}
.fsx-footer-links a:focus-visible{outline:2px solid #edbf70;outline-offset:3px}
.fsx-footer-discord .discord-icon{width:15px;height:15px}
.fsx-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;padding-top:17px;border-top:1px solid #d2a34e24;color:#b4a38b;text-align:center;font:11px/1.5 system-ui;letter-spacing:.02em}
.fsx-footer-bottom span:last-child{color:#e0bc7b;font-weight:800}
@media(max-width:1000px){
  .fsx-footer-top{grid-template-columns:1fr;gap:20px}
  .fsx-footer-links{margin:0;width:100%;max-width:670px}
}
@media(max-width:600px){
  .fsx-footer-inner{padding:28px 0 18px;text-align:left}
  .fsx-footer-top{gap:21px;padding-bottom:22px}
  .fsx-footer-brand{align-items:center}
  .fsx-footer-brand img{width:172px;object-position:center}
  .fsx-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;justify-items:stretch}
  .fsx-footer-links a{justify-content:flex-start;min-height:44px;padding:4px 0}
  .fsx-footer-bottom{font-size:10px}
}

body[data-page="legal"] .frontier-legal-hero{min-height:240px}
body[data-page="legal"] .frontier-legal-hero h1{font-size:clamp(34px,5vw,70px);overflow-wrap:anywhere}
body[data-page="legal"] .frontier-legal-hero p{max-width:700px}
.frontier-legal-section{padding:clamp(35px,5vw,66px) 0 80px}
.frontier-legal-sheet{width:min(100%,940px);margin:auto;padding:clamp(24px,4vw,52px);border:1px solid #d2a34e42;background:linear-gradient(150deg,#1b120c,#0c0907 75%);box-shadow:0 28px 75px #0006}
.frontier-legal-updated{margin:0 0 8px;color:#d8bd91;font:700 12px/1.5 system-ui;letter-spacing:.03em}
.frontier-legal-section-list a{color:#e4bd7c;text-decoration:underline;text-decoration-color:#d2a34e88;text-underline-offset:3px}
.frontier-legal-section-list a:hover{color:#f2d49d}
.frontier-legal-section-list a:focus-visible{outline:2px solid #edbf70;outline-offset:3px}
.frontier-legal-warning{padding:18px 20px;border:1px solid #bb775344;background:#8d30261b;color:#e7c9aa;line-height:1.6}
.frontier-legal-warning strong{display:block;margin-bottom:5px;color:#f0c887;font:900 11px/1.4 system-ui;letter-spacing:.16em;text-transform:uppercase}
.frontier-legal-section-list{margin-top:27px}
.frontier-legal-section-list section{padding:20px 0;border-bottom:1px solid #d2a34e21}
.frontier-legal-section-list section:last-child{border-bottom:0;padding-bottom:0}
.frontier-legal-section-list h2{margin:0 0 7px;color:#efdfc1;font:900 clamp(21px,2vw,27px)/1.15 Georgia,serif;text-transform:uppercase}
.frontier-legal-section-list p{margin:0;color:#bcab92;font-size:14px;line-height:1.65}
@media(max-width:600px){
  body[data-page="legal"] .frontier-legal-hero{min-height:225px}
  .frontier-legal-section{padding:30px 0 58px}
  .frontier-legal-sheet{padding:24px 19px}
}

/* Step 7: compact the shared footer without changing its content or renderer. */
.fsx-footer-inner{padding:15px 0 11px}
.fsx-footer-top{display:flex;align-items:center;justify-content:space-between;gap:26px;padding-bottom:13px}
.fsx-footer-brand{flex:none;align-items:center;justify-content:center;gap:2px;width:198px;max-width:100%;margin:0;text-align:center}
.fsx-footer-brand img{width:198px;max-height:50px;object-position:center}
.fsx-footer-brand span{display:block;width:100%;text-align:center}
.fsx-footer-links{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:clamp(11px,1.35vw,23px);width:auto;max-width:none;margin:0}
.fsx-footer-links a{flex:none;min-height:37px;white-space:nowrap}
.fsx-footer-bottom{padding-top:9px}
@media(max-width:950px){
  .fsx-footer-inner{padding:20px 0 13px}
  .fsx-footer-top{flex-direction:column;gap:12px;padding-bottom:15px}
  .fsx-footer-brand{margin:0 auto}
  .fsx-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:center;gap:0 10px;width:min(100%,650px);margin:0 auto}
  .fsx-footer-links a{min-height:44px;white-space:normal;text-align:center}
}
@media(max-width:600px){
  .fsx-footer-inner{padding:18px 0 12px}
  .fsx-footer-top{gap:10px;padding-bottom:12px}
  .fsx-footer-brand{width:172px}
  .fsx-footer-brand img{width:172px;max-height:44px}
  .fsx-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:0 10px;justify-items:stretch}
  .fsx-footer-links a{justify-content:center;min-height:44px}
  .fsx-footer-bottom{padding-top:8px}
}

/* Keep Tebex's inline payment component within the existing checkout column. */
body[data-page="checkout"] .local-checkout-grid{align-items:start}
body[data-page="checkout"] .local-checkout-card{min-width:0}
@media(min-width:901px){body[data-page="checkout"] .local-checkout-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}
.local-checkout-payment{width:100%;min-width:0;margin-top:20px;padding-top:20px;border-top:1px solid #d2a34e3d;scroll-margin-top:96px}
.local-checkout-status{margin-bottom:14px;padding:11px 13px;border:1px solid #d2a34e3d;background:#d2a34e0b;color:#dfc89e;font-size:12px;line-height:1.5}
.local-checkout-status[data-kind="error"]{border-color:#b34a3d88;background:#3a151233;color:#f4c5b8}
.local-checkout-status[data-kind="success"]{border-color:#82b95d66;background:#82b95d13;color:#b8d497}
.local-checkout-inline,tebex-checkout[inline]{display:block;width:100%;max-width:100%;min-width:0}
.local-checkout-fallback a{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;padding:10px 13px;border:1px solid #d2a34e66;background:#171009;color:#edcc8c;font:800 11px/1.3 system-ui;text-transform:uppercase;letter-spacing:.07em}
@media(max-width:600px){.local-checkout-payment{margin-top:16px;padding-top:16px}}
