/* BlazeHub storefront */
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: .9rem; font-weight: 600; padding: .5rem 1rem; }
.announce a { color: inherit; text-decoration: underline; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 1.2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font: 750 1.32rem/1 var(--display); font-stretch: var(--wide); letter-spacing: -.01em; text-decoration: none !important; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.topnav { display: flex; gap: .2rem; align-items: center; }
.topnav a { color: var(--muted); padding: .48rem .75rem; border-radius: var(--r-s); font-size: .95rem; font-weight: 550; text-decoration: none; }
.topnav a:hover { color: var(--text); background: var(--surface); }
.topnav a[aria-current] { color: var(--text); background: var(--surface2); }
.topact { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.cartbtn { position: relative; width: 42px; height: 42px; }
.cartbtn .count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font: 700 .72rem/20px var(--font); text-align: center; padding: 0 5px; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; width: 42px; height: 42px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); width: 230px; display: grid; gap: 2px; padding: .5rem; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow); }
.mnav nav a { padding: .65rem .8rem; border-radius: var(--r-s); color: var(--text); font-weight: 550; }
.mnav nav a:hover, .mnav nav a[aria-current] { background: var(--surface2); text-decoration: none; }
@media (max-width: 820px) {
  .topnav { display: none; }
  .mnav { display: block; }
  .topbar .wrap { height: 62px; gap: .8rem; }
}
@media (max-width: 420px) { .discordbtn span { display: none; } .discordbtn { padding-inline: .7em; } .brand { font-size: 1.15rem; } }

/* ---------- hero ---------- */
.hero { padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(2rem, 4vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font: 760 clamp(2.5rem, 6.2vw, 4.5rem)/1.0 var(--display); font-stretch: 115%; letter-spacing: -.02em; margin: 0 0 1.1rem; max-width: 13ch; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 52ch; margin: 0 0 1.7rem; line-height: 1.6; }
.hero-cta { gap: .7rem; margin-bottom: 1.8rem; }
.accepts { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.accepts .lbl { color: var(--faint); font-size: .86rem; margin-right: .25rem; }
.chip .stackcoins .coin { width: 22px; height: 22px; font-size: .4rem; margin-left: -4px; letter-spacing: -.04em; }
.chip .stackcoins .coin:first-child { margin-left: 0; }
.logo-strip { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.logo-strip .brand { width: 36px; height: 24px; }

/* the spotlight: one product, framed like a trading card, with the only glow on the page */
.hero-art { position: relative; }
.hero-art::before { content: ''; position: absolute; inset: 8% 6% 4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent); filter: blur(36px); opacity: .55; pointer-events: none; }
.spot { position: relative; display: block; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line2)); border-radius: var(--r-xl); padding: 12px; color: var(--text); text-decoration: none !important; box-shadow: var(--shadow); transition: border-color .15s; }
.spot:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line2)); }
.spot-img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--surface2); }
.spot-img img, .spot-img .ph { width: 100%; height: 100%; object-fit: cover; }
.spot-body { display: grid; gap: .3rem; padding: 1rem .55rem .45rem; }
.spot-k { justify-self: start; font-size: .78rem; font-weight: 650; color: var(--accent-text); background: var(--accent-soft); padding: .15em .55em; border-radius: 7px; }
.spot-name { font: 720 1.45rem/1.15 var(--display); font-stretch: var(--wide); }
.spot-tag { color: var(--muted); font-size: .95rem; }
.spot-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .45rem; }
.spot-empty { display: grid; place-items: center; aspect-ratio: 16 / 12; }
/* hero: the delivery card (Design > Home page > Delivery card) */
.hero-art.showcase { min-height: 380px; display: grid; place-items: center; padding: 1.6rem 0 1.8rem; }
.sc-cover { position: absolute; width: 58%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); box-shadow: var(--shadow); background: var(--surface2); }
.sc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-cover-1 { top: 0; right: 2%; transform: rotate(5deg); }
.sc-cover-2 { top: 9%; left: 0; transform: rotate(-6deg); filter: saturate(.85) brightness(.85); }
.sc-stage { position: relative; z-index: 2; width: min(440px, 100%); }
.sc-card { position: relative; padding: 1.15rem 1.15rem 1.25rem; border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line2)); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.sc-top { display: flex; align-items: center; gap: .75rem; }
.sc-top b { display: block; font: 700 1.05rem/1.2 var(--display); font-stretch: var(--wide); }
.sc-top small { display: block; color: var(--muted); font-size: .86rem; }
.sc-ok { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); flex: none; box-shadow: 0 0 0 6px var(--accent-soft); }
.sc-ok .ico { width: 18px; height: 18px; stroke-width: 3; }
.sc-time { font-size: .8rem; color: var(--faint); align-self: flex-start; }
.sc-key { margin-top: 1rem; }
.sc-key .iconbtn { pointer-events: none; }
.sc-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; font-size: .78rem; color: var(--muted); }
.sc-steps li { position: relative; padding-top: .7rem; }
.sc-steps li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--accent); transform-origin: left; }
.sc-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 999px; font-size: .84rem; color: var(--text);
  background: var(--bg2); border: 1px solid var(--line2); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); white-space: nowrap; }
.sc-chip .ico { width: 15px; height: 15px; color: var(--accent-text); }
.sc-chip b { font-weight: 700; }
.sc-rate { top: -19px; right: -14px; }
.sc-rate .ico { color: var(--copper); fill: currentColor; }
.sc-disc { left: -14px; bottom: -19px; }
@media (max-width: 900px) {
  .hero-art.showcase { min-height: 0; padding: 1.4rem 0 2rem; }
  .sc-cover { display: none; }
  .sc-rate { right: 10px; }
  .sc-disc { left: 10px; }
}
/* one entrance on page load: the card rises, the key settles, the steps fill, the chips land */
@media (prefers-reduced-motion: no-preference) {
  .sc-card { animation: scRise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .sc-steps li::before { animation: scFill .45s ease-out both; }
  .sc-steps li:nth-child(1)::before { animation-delay: .55s; }
  .sc-steps li:nth-child(2)::before { animation-delay: .8s; }
  .sc-steps li:nth-child(3)::before { animation-delay: 1.05s; }
  .sc-chip { animation: scPop .4s cubic-bezier(.2, .8, .3, 1.3) both; animation-delay: 1.2s; }
  .sc-disc { animation-delay: 1.35s; }
}
@keyframes scRise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes scFill { from { transform: scaleX(0); } }
@keyframes scPop { from { opacity: 0; transform: translateY(8px) scale(.9); } }
/* hero: your own picture, or text only */
.hero-pic img { width: 100%; max-height: 460px; object-fit: contain; display: block; border-radius: var(--r-xl); }
.hero-none .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-none .hero h1, .hero-none h1 { margin-inline: auto; max-width: 16ch; }
.hero-none .lede { margin-inline: auto; }
.hero-none .hero-cta, .hero-none .accepts { justify-content: center; }
.spot-empty img { width: 46%; height: auto; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--accent) 35%, transparent)); }

/* ---------- product grid ---------- */
.pagehead-store { padding-top: 2rem; }
.tools { padding-bottom: 1rem; }
.tools-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tools-head .sec-title { margin: 0; }
.search { display: flex; align-items: center; gap: .5rem; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r-s); padding: 0 .75rem; min-width: min(280px, 100%); }
.search .ico { color: var(--faint); }
.search input { border: 0; background: none; min-height: 42px; padding: 0; box-shadow: none !important; }
.search:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1.2rem; max-width: 100%; overflow-x: auto; }
.seg a { padding: .45rem .9rem; border-radius: var(--r-s); color: var(--muted); font-size: .92rem; font-weight: 550; white-space: nowrap; text-decoration: none; }
.seg a:hover { color: var(--text); background: var(--surface2); }
.seg a[aria-current] { background: var(--accent-soft); color: var(--accent-text); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr 1fr; gap: .7rem; } }
@media (max-width: 380px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 8px; color: var(--text); text-decoration: none !important; transition: border-color .15s; }
.pcard:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line2)); }
.pc-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--surface2); }
.pc-img > img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, var(--raise), var(--surface2) 70%); }
.ph img { width: 30%; max-width: 110px; height: auto; opacity: .9; }
.ph.big { aspect-ratio: 16 / 10; }
.pc-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--accent-ink); font-size: .76rem; font-weight: 700; padding: .18em .6em; border-radius: 7px; }
.pc-body { display: flex; flex-direction: column; gap: .3rem; padding: .85rem .6rem .5rem; flex: 1; }
.pc-name { font: 680 1.08rem/1.25 var(--font); font-stretch: 106%; }
.pc-tag { color: var(--muted); font-size: .88rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { margin-top: auto; padding-top: .55rem; display: flex; align-items: center; justify-content: space-between; gap: .3rem .5rem; flex-wrap: wrap; }
.pc-rate { display: inline-flex; align-items: center; gap: .25rem; font-size: .86rem; font-weight: 600; color: var(--text); }
.pc-rate .ico { color: var(--copper); fill: currentColor; width: 15px; height: 15px; }
.pc-rate .muted { font-weight: 450; font-size: .8rem; }
.pcard .pc-body > .stock { margin-top: .4rem; font-size: .8rem; }
.price { font: 720 1.35rem/1 var(--display); font-stretch: var(--wide); color: var(--copper-text); letter-spacing: -.01em; white-space: nowrap; }
.price .from { font: 500 .78rem var(--font); color: var(--muted); margin-right: .3rem; letter-spacing: 0; font-stretch: 100%; }
.price s { font: 400 .86rem var(--font); color: var(--faint); margin-left: .4rem; }
.price.big { font-size: clamp(2rem, 4vw, 2.5rem); }
.was { color: var(--faint); font-size: 1rem; }
@media (max-width: 600px) { .pcard { padding: 6px; border-radius: var(--r); } .pc-img { border-radius: 10px; } .pc-body { padding: .65rem .4rem .35rem; } .pc-tag { display: none; } .price { font-size: 1.15rem; } }

/* ---------- home bands ---------- */
.band { padding-top: clamp(2rem, 5vw, 3.4rem); }
.band.narrow { max-width: 860px; }
.sec-title { font: 730 clamp(1.45rem, 3vw, 1.9rem)/1.1 var(--display); font-stretch: var(--wide); letter-spacing: -.015em; margin: 0 0 1.1rem; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.hl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.2rem 1.2rem 1.1rem; }
.hl h3 { margin: .85rem 0 .3rem; font-size: 1.06rem; }
.hl p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 560px) {
  .hl-grid { gap: .6rem; }
  .hl { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .85rem; align-items: start; padding: .95rem 1rem; }
  .hl .ficon { grid-row: span 2; }
  .hl h3 { margin: .1rem 0 .2rem; }
}
.ficon .ico { width: 22px; height: 22px; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.rvcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.rvcard blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.rvcard figcaption { margin-top: auto; color: var(--faint); font-size: .86rem; }
.dband { display: flex; align-items: center; gap: 1.4rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r-xl); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface) 65%); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.dband h2 { margin: 0 0 .3rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.dband p { margin: 0; color: var(--muted); }
.dband img { width: 72px; height: 72px; flex: none; }
@media (max-width: 680px) { .dband { flex-direction: column; align-items: flex-start; } .dband img { width: 56px; height: 56px; } .dband .btn { width: 100%; } }

/* ---------- questions (accordion) ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 7px; background:
  linear-gradient(var(--accent-text), var(--accent-text)) center / 10px 2px no-repeat,
  linear-gradient(var(--accent-text), var(--accent-text)) center / 2px 10px no-repeat, var(--accent-soft); transition: transform .2s; }
.faq details[open] summary::after { background: linear-gradient(var(--accent-text), var(--accent-text)) center / 10px 2px no-repeat, var(--accent-soft); }
.faq .prose { padding: 0 1.15rem 1.1rem; color: var(--muted); max-width: none; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: .45rem; align-items: center; color: var(--faint); font-size: .88rem; padding: 1.4rem 0 1rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); grid-template-rows: auto 1fr; grid-template-areas: "media side" "body side"; column-gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.pdp > .media { grid-area: media; min-width: 0; }
.pdp > .buybox { grid-area: side; min-width: 0; }
.pdp > .pbody { grid-area: body; min-width: 0; }
@media (min-width: 901px) and (min-height: 700px) { .pdp > .buybox { position: sticky; top: 92px; } }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "media" "side" "body"; row-gap: 1.5rem; } }
.stage { border-radius: var(--r-l); overflow: hidden; background: var(--surface2); border: 1px solid var(--line); }
.slide > a, .slide > a > img { display: block; width: 100%; }
.slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.slide > a[data-lightbox] { cursor: zoom-in; }
.thumbs { display: flex; gap: .55rem; margin-top: .7rem; overflow-x: auto; padding-bottom: 2px; }
.thumb { position: relative; flex: none; width: 76px; height: 54px; padding: 0; border-radius: 11px; overflow: hidden; border: 2px solid transparent; background: var(--surface2); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-selected="true"] { border-color: var(--accent); }
.thumb .tplay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); color: #fff; }
.vfacade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 22%, #050805), #050805 70%); overflow: hidden; }
.vfacade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .15s; }
.vfacade:hover img { opacity: 1; }
.vfacade .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 18px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-size: 1.4rem; }
.vfacade .play .ico { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.vplayer { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.buybox h1 { font: 760 clamp(2rem, 4.4vw, 2.9rem)/1.02 var(--display); font-stretch: 114%; letter-spacing: -.02em; margin: 0 0 .55rem; text-wrap: balance; }
.buybox .tagline { color: var(--muted); font-size: 1.06rem; margin-bottom: .9rem; }
.rate { color: var(--text); text-decoration: none !important; font-size: .92rem; margin-bottom: .4rem; }
.buyform { margin-top: 1rem; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.pricerow { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: .2rem; }
.pricerow .stock { margin-left: auto; }
.vgroup { margin-top: 1rem; }
.vpills { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .5rem; margin-top: .4rem; }
.vpill { position: relative; }
.vpill input { position: absolute; opacity: 0; }
.vpill label { display: flex; flex-direction: column; gap: .12rem; padding: .7rem .85rem; border-radius: var(--r-s); border: 1px solid var(--line2); cursor: pointer; background: var(--bg2); transition: border-color .12s, background .12s; height: 100%; }
.vpill label b { font-weight: 650; font-size: .95rem; }
.vpill label span { font-size: .88rem; color: var(--copper-text); font-weight: 600; }
.vpill label small { color: var(--faint); font-size: .76rem; }
.vpill input:checked + label { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.vpill input:focus-visible + label { box-shadow: var(--focus); }
.vpill input:disabled + label { opacity: .45; cursor: not-allowed; }
.buyrow { display: flex; gap: .55rem; align-items: stretch; margin-top: 1rem; }
.buyrow .btn.grow { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; height: 52px; background: var(--bg2); }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--surface2); }
.qty input { width: 46px; height: 100%; border: 0; border-inline: 1px solid var(--line2); border-radius: 0; text-align: center; background: transparent; min-height: 0; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.youget { list-style: none; padding: 0; margin: 1.2rem 0 1rem; display: grid; gap: .6rem; }
.youget li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.youget li .ico { color: var(--accent-text); margin-top: .2rem; }
.youget li b { color: var(--text); font-weight: 600; }
.askline { display: flex; gap: .55rem; align-items: center; margin: 1.1rem 0 0; font-size: .94rem; color: var(--muted); }
.askline .ico { color: var(--accent-text); }

/* sections under the buy box */
.pbody { padding-top: clamp(1.8rem, 4vw, 2.8rem); }
@media (max-width: 900px) { .pbody { padding-top: .6rem; } }
.pblock { padding: clamp(1.2rem, 3vw, 1.9rem) 0; border-top: 1px solid var(--line); }
.pblock:first-child { border-top: 0; padding-top: 0; }
.pblock .prose { max-width: 72ch; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.fgrid.c1 { grid-template-columns: minmax(0, 1fr); }
.fgrid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 901px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fgrid, .fgrid.c2 { grid-template-columns: minmax(0, 1fr); } }
.ftile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; }
.ftile h3 { margin: .8rem 0 .25rem; font-size: 1.02rem; }
.ftile p { margin: 0; color: var(--muted); font-size: .93rem; }
.psteps { list-style: none; padding: 0; margin: 0; counter-reset: st; display: grid; gap: .8rem; }
.psteps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.psteps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 750 1rem/1 var(--font); }
.psteps h3 { margin: .45rem 0 .2rem; font-size: 1.05rem; }
.psteps .prose { color: var(--muted); }
.specs { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.specs div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 1rem; padding: .8rem 1.1rem; border-top: 1px solid var(--line); }
.specs div:first-child { border-top: 0; }
.specs dt { color: var(--muted); font-size: .92rem; }
.specs dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
@media (max-width: 520px) { .specs div { grid-template-columns: 1fr; gap: .15rem; } }
.clog { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.clog > li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .95rem 1.1rem; }
.clog-head { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; margin-bottom: .3rem; }
.clog-head b { font-family: var(--mono); font-size: .92rem; color: var(--accent-text); background: var(--accent-soft); padding: .1em .5em; border-radius: 6px; }
.clog .prose { color: var(--muted); font-size: .95rem; }
.clog .prose ul { margin: .2rem 0 0; padding-left: 1.2rem; }
.clog .prose li { margin: .15rem 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.shot { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface2); cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .25s; }
.shot:hover img { transform: scale(1.03); }
.vframe { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.callout { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--info-soft); border: 1px solid color-mix(in srgb, var(--info) 30%, transparent); }
.callout > .ico { width: 22px; height: 22px; color: var(--info); margin-top: .1rem; }
.callout.ok { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); } .callout.ok > .ico { color: var(--accent-text); }
.callout.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); } .callout.warn > .ico { color: var(--warn); }
.callout h3 { margin: 0 0 .3rem; }
.callout .prose { max-width: none; }
.callout .prose p:last-child { margin: 0; }
.ctaband { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding: 1.4rem 1.5rem; border-radius: var(--r-l); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 15%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.ctaband h2 { margin: 0 0 .25rem; }
.ctaband p { margin: 0; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .7rem; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.15rem; }
.review p { margin: .45rem 0 .3rem; }
.review .who { font-size: .84rem; color: var(--faint); }
.review .reply { margin-top: .7rem; padding: .65rem .85rem; border-left: 3px solid var(--accent); background: var(--surface2); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: .93rem; }
.review .reply b { color: var(--accent-text); margin-right: .35rem; }
.review.auto { background: transparent; border-style: dashed; }
.review .who .badge { font-size: .72rem; padding: .1em .45em; margin-right: .2rem; }
/* rating summary: the big average and a bar per star count */
.rv-summary { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 2rem; align-items: center; padding: 1.1rem 1.25rem; margin-bottom: 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.rv-big { display: grid; justify-items: start; gap: .25rem; }
.rv-avg { font: 800 3rem/1 var(--display); letter-spacing: -.02em; }
.rv-bars { display: grid; gap: .3rem; min-width: 0; }
.rv-bar { display: grid; grid-template-columns: 2.6rem 1fr 2.6rem; gap: .6rem; align-items: center; }
.rv-bar > span:first-child { display: inline-flex; gap: .2rem; align-items: center; }
.rv-bar .ico { width: 13px; height: 13px; color: var(--copper); fill: currentColor; }
.rv-bar .track { height: 8px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.rv-bar .track i { display: block; height: 100%; border-radius: inherit; background: var(--copper); }
.rv-bar > span:last-child { text-align: right; }
@media (max-width: 520px) { .rv-summary { grid-template-columns: 1fr; } }
.rv-filters { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.rv-filters .seg { margin: 0; }
.rv-pages { margin-top: 1rem; }
.rv-autonote { display: flex; gap: .5rem; align-items: flex-start; margin-top: 1rem; }
.rv-autonote .ico { flex: none; width: 16px; height: 16px; margin-top: .15rem; }
/* tappable stars */
.starpick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; border: 0; padding: 0; margin: 0; }
.starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starpick label { cursor: pointer; padding: .15rem; color: var(--line2); border-radius: 8px; line-height: 0; }
.starpick label .ico { width: 34px; height: 34px; fill: currentColor; transition: transform .12s ease; }
.starpick input:checked ~ label { color: var(--copper); }
.starpick:hover input ~ label { color: var(--line2); }
.starpick:hover label:hover, .starpick:hover label:hover ~ label { color: var(--copper); }
.starpick input:focus-visible + label { box-shadow: var(--focus); }
.starpick label:active .ico { transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .starpick label .ico { transition: none; } }
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta.off { transform: translateY(110%); visibility: hidden; }
  .sticky-cta { transition: transform .2s ease, visibility .2s; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); gap: .8rem; align-items: center; }
  .sticky-cta .sc-name { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta .price { font-size: 1.25rem; }
  .has-sticky { padding-bottom: 80px; }
}

/* picture viewer */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 90vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(2, 6, 3, .86); }
dialog.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: var(--r); object-fit: contain; }
dialog.lightbox [data-close] { position: absolute; top: -48px; right: 0; background: var(--surface); color: var(--text); }

/* ---------- cart & checkout ---------- */
.page-title { font: 760 clamp(2.1rem, 5.4vw, 3.1rem)/1.02 var(--display); font-stretch: 114%; letter-spacing: -.02em; margin: 2rem 0 1.3rem; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 1.6rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } }
.co .summary { position: sticky; top: 88px; }
.line { display: flex; gap: .85rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 58px; height: 58px; border-radius: 12px; background: var(--surface2); overflow: hidden; flex: none; border: 1px solid var(--line); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .nm { font-weight: 600; line-height: 1.3; }
.line .vr { color: var(--muted); font-size: .86rem; }
.totals { display: grid; gap: .45rem; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1rem; padding-top: .7rem; margin-top: .3rem; border-top: 1px solid var(--line); align-items: baseline; }
.totals .grand b { font: 740 1.9rem/1 var(--display); font-stretch: var(--wide); color: var(--copper-text); }
.cosec + .cosec { margin-top: 1.1rem; }
.cosec h2 { font-size: 1.1rem; display: flex; gap: .6rem; align-items: center; }
.cosec h2 .n { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-size: .8rem; font-weight: 700; font-stretch: 100%; }
.methods { display: grid; gap: .55rem; }
.method { position: relative; }
.method input { position: absolute; opacity: 0; }
.method label { display: flex; gap: .85rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line2); border-radius: var(--r); cursor: pointer; background: var(--bg2); }
.method label .mi { width: 40px; height: 40px; border-radius: 11px; background: var(--surface2); display: grid; place-items: center; color: var(--accent-text); flex: none; }
.method label .mn { font-weight: 650; }
.method label .md { font-size: .84rem; color: var(--muted); }
.method label .coins { margin-left: auto; display: flex; }
.method label .coins .coin { width: 26px; height: 26px; font-size: .46rem; margin-left: -4px; box-shadow: 0 0 0 2px var(--bg2); }
.method label .mi:has(.brand) { background: none; }
.method label .mi .brand { width: 40px; height: 27px; border-radius: 5px; }
.method label > .brands { margin-left: auto; justify-content: flex-end; max-width: 50%; }
.method label > .brands .brand { width: 30px; height: 20px; border-radius: 4px; }
@media (max-width: 520px) { .method label .coins, .method label > .brands { display: none; } }
.method input:checked + label { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.method input:focus-visible + label { box-shadow: var(--focus); }
.discordbox { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border-radius: var(--r); background: var(--surface2); border: 1px solid var(--line); }

/* ---------- pay pages ---------- */
.paywrap { max-width: 580px; margin: 0 auto; padding: 2rem 0 3rem; }
.payhead { text-align: center; margin-bottom: 1.4rem; }
.payhead .who { color: var(--muted); font-size: .94rem; }
.payhead .amt { font: 760 clamp(2.8rem, 11vw, 4rem)/1 var(--display); font-stretch: var(--wide); margin: .35rem 0; color: var(--text); letter-spacing: -.02em; }
.payhead .approx { color: var(--muted); font-size: .96rem; display: inline-flex; gap: .4rem; align-items: center; }
.paycard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.paycard .top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.paycard .top h2 { margin: 0; font-size: 1.12rem; display: flex; align-items: center; gap: .6rem; }
.timer { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: var(--r-s); background: var(--copper); color: #241700; font: 600 .95rem/1 var(--mono); }
.timer.late { background: var(--danger); color: #fff; }
.payrows > div { padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.payrows > div:last-child { border-bottom: 0; }
.payrows .k { color: var(--muted); font-size: .86rem; margin-bottom: .2rem; }
.payrows .v { display: flex; gap: .6rem; align-items: center; font-weight: 650; font-size: 1.03rem; }
.payrows .v .mono { font-weight: 500; word-break: break-all; }
.paystatus { display: flex; gap: .7rem; align-items: center; padding: 1rem 1.3rem; background: var(--bg2); font-size: .94rem; }
.picker { display: grid; gap: .75rem; padding: 1.3rem; }
.select-coin { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .5rem; }
.select-coin label { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .85rem .4rem; border: 1px solid var(--line2); border-radius: var(--r-s); cursor: pointer; text-align: center; font-size: .82rem; background: var(--bg2); }
.select-coin label b { font-size: .9rem; }
.select-coin label small { color: var(--muted); font-size: .74rem; line-height: 1.2; }
.select-coin input { position: absolute; opacity: 0; }
.select-coin input:checked + label { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.select-coin input:focus-visible + label { box-shadow: var(--focus); }
.or { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .92rem; margin: 1.6rem 0 1rem; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.manual-steps { counter-reset: m; list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.manual-steps li { display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: start; }
.manual-steps li::before { counter-increment: m; content: counter(m); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: .8rem; font-weight: 700; }

/* ---------- order page ---------- */
.vault-head { padding: 2rem 0 1.2rem; display: flex; gap: 1rem; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.vault-head h1 { font: 760 clamp(2.2rem, 6.4vw, 3.3rem)/1 var(--display); font-stretch: 114%; margin: 0; letter-spacing: -.02em; }
.vault-head .oid { font-family: var(--mono); color: var(--muted); font-size: .92rem; }
.vault { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 900px) { .vault { grid-template-columns: 1fr; } }
.item-block + .item-block { margin-top: 1.2rem; }
.item-block h3 { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }

/* ---------- tickets ---------- */
.thread { display: grid; gap: .9rem; }
.msg { display: flex; gap: .7rem; align-items: flex-start; max-width: 700px; }
.msg .bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 5px var(--r) var(--r) var(--r); padding: .8rem 1rem; min-width: 0; }
.msg .meta { font-size: .8rem; color: var(--faint); margin-bottom: .3rem; display: flex; gap: .5rem; align-items: center; }
.msg.mine { margin-left: auto; flex-direction: row-reverse; }
.msg.mine .bubble { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--r) 5px var(--r) var(--r); }
.msg .body { white-space: pre-wrap; word-break: break-word; font-size: .96rem; }
.msg .body.prose { white-space: normal; }
.msg.system { justify-content: center; max-width: none; }
.msg.system .bubble { background: transparent; border: 1px dashed var(--line2); font-size: .86rem; color: var(--muted); }

/* ---------- account & help ---------- */
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; padding-bottom: 3rem; }
.authbox { max-width: 460px; margin: 3rem auto; }
.authbox .page-title { margin-top: 0; }
.codeinput { font: 600 1.6rem/1 var(--mono) !important; letter-spacing: .4em; text-align: center; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.4rem 0 2.2rem; }
.helpopt h2 { margin: .9rem 0 .35rem; font-size: 1.15rem; }
.helpcard { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.helpcard h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.helpcard p { margin: 0; }
.legal { padding-bottom: 3rem; }
.legal .prose { max-width: 75ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: clamp(3rem, 7vw, 5rem); padding: 2.6rem 0 1.6rem; color: var(--muted); font-size: .92rem; background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(130px, 1fr)); gap: 2rem 1.5rem; }
.foot-brand p { margin: .8rem 0 1rem; max-width: 40ch; }
.foot nav { display: grid; gap: .45rem; align-content: start; }
.foot nav h2 { font: 650 .92rem/1.2 var(--font); font-stretch: 100%; color: var(--text); margin: .3rem 0 .35rem; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.buybox .accepts { gap: .35rem; }
.buybox .accepts .chip { font-size: .78rem; padding: .26rem .5rem; gap: .35rem; }
.buybox .accepts .chip .ico { width: 13px; height: 13px; }
.buybox .accepts .stackcoins .coin { width: 19px; height: 19px; font-size: .36rem; }
.buybox .accepts .logo-strip { gap: 4px; }
.buybox .accepts .logo-strip .brand { width: 30px; height: 20px; border-radius: 4px; }

.bubble .meta .when { margin-left: .55rem; color: var(--faint); font-weight: 400; }

.foot-base .credit { margin-left: .9rem; }
.foot-base .credit a { color: var(--muted); }
.foot-base .credit a:hover { color: var(--accent-text); }
.about-head { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.4rem; }
.about-head img { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 6px; }
.about-head .page-title { margin: 0 0 .2rem; }

/* keys locked to a PC: reset buttons on the order page and the keys page */
.lic-list { margin-top: .8rem; display: grid; gap: .45rem; }
.licrow { display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface2); }
.licrow .grow { display: flex; flex-wrap: wrap; gap: .15rem .5rem; align-items: baseline; min-width: 0; }
.lic-why { flex-basis: 100%; }
.keyrows { display: grid; }
.keyrow { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; }
.keyrow + .keyrow { border-top: 1px solid var(--line); }
.keyrow .grow { min-width: 0; }
.keyrow .mono { font-size: .86em; }
@media (max-width: 560px) { .keyrow { flex-direction: column; align-items: stretch; } .keyrow .row { justify-content: flex-end; } }
.or-line { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; color: var(--faint); font-size: .85rem; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ai-note { display: flex; gap: .4rem; align-items: flex-start; margin-top: .55rem; font-size: .8rem; color: var(--muted); }
.ai-note .ico { width: 14px; height: 14px; margin-top: .15rem; flex: none; }

/* review popup */
.rv-pop { width: min(460px, calc(100vw - 32px)); border: 1px solid var(--line2); border-radius: var(--r-l); padding: 1.4rem 1.4rem 1.2rem; background: var(--bg2); color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.rv-pop::backdrop { background: rgba(4, 8, 5, .62); backdrop-filter: blur(2px); }
.rv-pop h2 { font-size: 1.25rem; margin: 0 2rem .3rem 0; }
.rv-pop .rv-x { position: absolute; top: .7rem; right: .7rem; }
.rv-pop[open] { animation: rvIn .22s ease-out; }
@keyframes rvIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .rv-pop[open] { animation: none; } }
.rv-form textarea { min-height: 84px; }
.disclose summary .ico { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -3px; color: var(--copper); }
