
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--tabs-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--hdr-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: baseline; gap: 8px; }
.logo-mark { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.logo-mark b { color: var(--accent); }
.logo-sub { font-size: 10px; letter-spacing: .28em; color: var(--muted); font-weight: 600; }
.hdr-icons { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border: 0; background: none;
  display: grid; place-items: center; border-radius: 50%;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: #e10600; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
  box-shadow: 0 0 0 2px var(--hdr-solid);
}
.cart-badge[hidden] { display: none; }
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.tabs { border-top: 1px solid var(--line); background: var(--hdr-bg); }
.tabs-row {
  height: var(--tabs-h); display: flex; gap: 4px; align-items: stretch;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs-row::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.tab .hot { font-size: 10px; font-weight: 700; background: var(--accent); color: var(--on-accent); border-radius: 4px; padding: 0 5px; line-height: 16px; }
@media (min-width: 900px) { .tabs-row { justify-content: center; gap: 12px; } .tab { padding: 0 16px; } }

.search-panel {
  position: fixed; inset: 0; z-index: 60; background: rgba(26, 20, 17, .45);
  display: none; align-items: flex-start; justify-content: center; padding-top: 10px;
}
.search-panel.open { display: flex; }
.search-box {
  width: calc(100% - 24px); max-width: 640px; background: var(--card); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
}
.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 18px; background: var(--surface-2); font-size: 16px;
}
.search-form input:focus { outline: none; border-color: var(--ink); background: var(--card); }
.search-hints { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 5px 13px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; transition: transform .12s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: .88; }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-light { background: var(--card); color: var(--ink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.section { padding: 36px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.eyebrow { font-size: 11px; letter-spacing: .26em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.sec-title { font-family: var(--display); font-weight: 900; font-size: 21.5px; line-height: 1.3; margin: 2px 0 0; }
.sec-more { font-size: 13px; color: var(--muted); white-space: nowrap; }
.sec-more:hover { color: var(--ink); }
.placeholder-tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: #8a5a00;
  background: #fff3d6; border: 1px dashed #e0b860; border-radius: 6px; padding: 1px 8px; vertical-align: middle;
}
.page-head { padding: 26px 0 8px; }
.page-head h1 { font-family: var(--display); font-weight: 900; font-size: 25px; margin: 4px 0 6px; line-height: 1.25; }
.page-head p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .sec-title { font-size: 27px; }
  .page-head h1 { font-size: 34px; }
  .section { padding: 56px 0; }
}

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(216, 54, 31, .55) 0%, rgba(216, 54, 31, 0) 55%),
    linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
}
.hero-inner { display: grid; gap: 18px; padding: 28px 16px 26px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: 32.5px; line-height: 1.18; margin: 8px 0 10px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--hi); }
.hero p { margin: 0 0 18px; color: rgba(255, 255, 255, .78); max-width: 30em; }
.hero .placeholder-tag { background: rgba(255, 243, 214, .14); color: #ffe2a8; border-color: rgba(255, 226, 168, .5); }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-ctas .btn-ghost { color: #fff; }
.hero-stage { position: relative; height: 200px; }
.hero-stage .disc {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 92%; height: 70%; border-radius: 50% 50% 18px 18px / 60% 60% 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
}
.hero-stage img {
  position: absolute; bottom: 4px; border-radius: 18px; background: var(--card);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); object-fit: cover;
}
.hero-stage .p1 { width: 46%; left: 27%; z-index: 3; bottom: 10px; }
.hero-stage .p2 { width: 34%; left: 2%; z-index: 2; transform: rotate(-6deg); }
.hero-stage .p3 { width: 34%; right: 2%; z-index: 2; transform: rotate(6deg); }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 64px 16px; gap: 40px; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 16px; }
  .hero-stage { height: 380px; }
}

.flash-ribbon { background: var(--accent); color: #fff; }
.flash-ribbon a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; max-width: var(--wrap); margin: 0 auto; }
.flash-ribbon .fr-l { display: flex; flex-direction: column; line-height: 1.35; }
.flash-ribbon .fr-l b { font-size: 15px; }
.flash-ribbon .fr-l span { font-size: 12px; opacity: .9; }
.countdown { display: flex; gap: 4px; align-items: center; font-variant-numeric: tabular-nums; }
.countdown .cd-box { background: rgba(0, 0, 0, .25); border-radius: 6px; padding: 3px 6px; font-weight: 700; font-size: 15px; min-width: 32px; text-align: center; }
.countdown .cd-sep { opacity: .7; font-size: 12px; }
.countdown.big .cd-box { font-size: 23.5px; padding: 6px 10px; min-width: 54px; border-radius: 10px; background: rgba(255, 255, 255, .14); }
.countdown.big .cd-unit { display: block; font-size: 10px; font-weight: 500; opacity: .75; }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-tile {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  min-height: 112px; padding: 14px; border-radius: var(--radius); background: var(--card); overflow: hidden;
  border: 1px solid var(--line);
}
.cat-tile img { position: absolute; right: -8px; top: -4px; width: 92px; opacity: .95; }
.cat-tile b { position: relative; font-size: 16px; }
.cat-tile small { position: relative; display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.cat-tile:hover { border-color: var(--ink); }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .cat-tile { min-height: 150px; } .cat-tile img { width: 130px; } }

.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.p-media { position: relative; }
.p-img { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--card); }
.p-img img { width: 100%; height: 100%; object-fit: contain; }
.p-tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.has-buybar .demo-badge { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .has-buybar .demo-badge { bottom: 12px; } }
.tag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 5px; line-height: 18px; }
.tag-chili { background: var(--accent); color: var(--on-accent); }
.tag-dark { background: var(--ink); color: var(--bg); }
.tag-soft { background: var(--surface-2); color: var(--ink-2); }
.p-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.p-brand { font-size: 10.5px; letter-spacing: .18em; color: var(--muted); font-weight: 700; }
.p-name { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.p-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 16px; color: var(--price); font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; font-weight: 600; }
.price-was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.p-add {
  position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--bg); border: 0; display: grid; place-items: center; z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.p-add svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.p-add:hover { background: var(--accent); }

.lot-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.lot-scroller::-webkit-scrollbar { display: none; }
.lot-scroller > * { scroll-snap-align: start; }
@media (min-width: 900px) { .lot-scroller { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; } }
.lot {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.lot-top { position: relative; background: var(--dark); color: #fff; padding: 14px 14px 12px; }
.lot-no { font-size: 11px; letter-spacing: .3em; color: var(--hi); font-weight: 700; }
.lot-poem { font-family: var(--display); font-weight: 900; font-size: 18px; line-height: 1.45; margin: 4px 0 0; }
.lot-poem q { quotes: none; color: var(--hi); }
.lot-img { aspect-ratio: 4 / 3; background: var(--card); }
.lot-img img { width: 100%; height: 100%; object-fit: contain; }
.lot-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lot-name { font-weight: 700; }
.lot-items { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.lot-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trust a { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; }
.trust b { display: block; font-family: var(--display); font-size: 18px; font-weight: 900; color: var(--accent); line-height: 1.2; }
.trust span { font-size: 12px; color: var(--muted); }

.toolbar { position: sticky; top: calc(var(--header-h) + var(--tabs-h)); z-index: 20; background: var(--bg); padding: 10px 0; }
.tool-search { position: relative; }
.tool-search input { width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); padding: 0 16px 0 42px; font-size: 16px; }
.tool-search input:focus { outline: none; border-color: var(--ink); }
.tool-search svg { position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; }
.chip-row { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.result-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.result-meta select { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 4px 8px; font-size: 13px; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

.pd { display: grid; gap: 18px; padding-top: 12px; }
@media (min-width: 900px) { .pd { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 32px; align-items: start; } .pd-gallery { position: sticky; top: calc(var(--header-h) + var(--tabs-h) + 16px); } }
.crumbs { font-size: 12px; color: var(--muted); padding-top: 12px; }
.crumbs a:hover { color: var(--ink); }
.pd-gallery { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pd-gallery .main { aspect-ratio: 1 / 1; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.pd-brand { font-size: 12px; letter-spacing: .22em; color: var(--muted); font-weight: 700; }
.pd h1 { font-family: var(--display); font-weight: 900; font-size: 21.5px; line-height: 1.35; margin: 4px 0 10px; }
@media (min-width: 900px) { .pd h1 { font-size: 29px; } }
.pd-pricebox { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.pd-pricebox .price { font-size: 25px; }
.pd-per { font-size: 13px; color: var(--muted); }
.notice { border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; margin: 10px 0; }
.notice-warn { background: #fff4e5; color: #7a4a00; border: 1px solid #f3d29a; }
.notice-chili { background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent); }
.tier-label { font-size: 13px; font-weight: 700; margin: 16px 0 8px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier {
  position: relative; border: 1.5px solid var(--line); background: var(--card); border-radius: var(--radius-sm);
  padding: 9px 6px 8px; text-align: center; line-height: 1.3;
}
.tier b { display: block; font-size: 15px; }
.tier span { display: block; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tier i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 700; background: var(--accent); color: var(--on-accent); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
.tier[aria-pressed="true"] { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.tier.tier-combo { grid-column: 1 / -1; margin-top: 6px; padding: 12px 10px 10px; }
.tier.tier-combo span { font-size: 13px; color: var(--ink-2); }
.lot-items .lot-gift { color: var(--accent); font-weight: 700; }
.cl-gift { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: var(--accent); color: var(--on-accent, #fff); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.stepper button { width: 38px; height: 38px; border: 0; background: none; font-size: 17px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--card); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: center;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .06);
}
.buy-bar .bb-price { font-weight: 800; color: var(--price); font-size: 16px; padding-right: 4px; line-height: 1.1; }
.buy-bar .bb-price small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; }
.buy-bar .btn { height: 46px; padding: 0 10px; font-size: 14px; }
@media (min-width: 900px) { .buy-bar { display: none; } }
body.has-buybar { padding-bottom: 76px; }
@media (min-width: 900px) { body.has-buybar { padding-bottom: 0; } }
.pd-section { margin-top: 26px; }
.pd-section h2 { font-size: 16px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pd-desc p { margin: 0 0 10px; color: var(--ink-2); white-space: pre-line; }
.doc-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 700px) { .doc-strip { grid-template-columns: repeat(4, 1fr); } }

.doc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; text-align: left; padding: 0; display: flex; flex-direction: column; }
.doc-card img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; background: #f2eee9; }
.doc-card .dc-b { padding: 8px 9px 10px; font-size: 12px; line-height: 1.4; }
.doc-card .dc-b b { display: block; font-size: 12.5px; }
.doc-card .dc-b span { color: var(--ok); font-weight: 600; }
.doc-card:hover { border-color: var(--ink); }
.doc-group { margin-bottom: 28px; }
.doc-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.doc-group-head img { width: 56px; height: 56px; object-fit: contain; background: var(--card); border-radius: 10px; border: 1px solid var(--line); }
.doc-group-head h2 { font-size: 16px; margin: 0; }
.doc-group-head a { font-size: 12px; color: var(--accent); }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .doc-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .doc-grid { grid-template-columns: repeat(5, 1fr); } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 24px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 14px; }
.fact b { display: block; font-family: var(--display); font-size: 20px; color: var(--hi); line-height: 1.2; }
.fact span { font-size: 12px; opacity: .8; }

.lightbox, .modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background: rgba(15, 10, 8, .72); padding: 16px; }
.lightbox.open, .modal.open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 8px; background: var(--card); }
.lightbox .lb-cap { position: absolute; bottom: 14px; left: 16px; right: 16px; text-align: center; color: #fff; font-size: 13px; }
.lightbox .close, .modal .close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; }
.modal-card { position: relative; width: 100%; max-width: 380px; background: var(--card); color: var(--ink); border-radius: 18px; padding: 26px 22px 20px; text-align: center; }
.modal-card .m-icon { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 23.5px; font-weight: 900; }
.modal-card h3 { margin: 0 0 6px; font-size: 17px; }
.modal-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.modal-card .close { background: var(--surface-2); color: var(--ink); top: 8px; right: 8px; width: 34px; height: 34px; font-size: 17px; }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 90;
  background: var(--ink); color: var(--bg); border-radius: 999px; padding: 10px 18px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; white-space: nowrap; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.demo-badge {
  position: fixed; left: 10px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
  background: #fff3d6; color: #7a4a00; border: 1px solid #e8c77a; border-radius: 999px;
  font-size: 11px; font-weight: 700; padding: 3px 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); pointer-events: none;
}

.flash-hero { background: linear-gradient(150deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--on-accent); position: relative; overflow: hidden; }
.flash-hero::after { content: "10/10"; position: absolute; right: -14px; bottom: -36px; font-family: var(--display); font-weight: 900; font-size: 135px; line-height: 1; color: rgba(255, 255, 255, .08); pointer-events: none; }
.flash-hero .wrap { padding-top: 26px; padding-bottom: 26px; position: relative; z-index: 1; }
.flash-hero h1 { font-family: var(--display); font-weight: 900; font-size: 30.5px; line-height: 1.2; margin: 6px 0 8px; }
.flash-hero p { margin: 0 0 16px; opacity: .9; }
.rule-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.rule-list li { background: rgba(0, 0, 0, .18); border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.combo { display: grid; gap: 14px; background: var(--card); border-radius: 18px; padding: 16px; border: 2px solid var(--ink); }
@media (min-width: 900px) { .combo { grid-template-columns: 1fr 1fr; align-items: center; padding: 24px; } }
.combo-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.combo-imgs img { border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.combo h3 { font-family: var(--display); font-size: 21.5px; margin: 4px 0 6px; }
.price-stack { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; }
.price-stack .price { font-size: 27px; }
.slot { border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; color: var(--muted); background: var(--surface-2); }
.slot b { display: block; color: var(--ink-2); margin-bottom: 4px; }

.acc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; padding: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); }
.acc[open] summary::after { content: "−"; }
.acc .acc-b { padding: 0 16px 16px; color: var(--ink-2); font-size: 14px; }
.acc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc td, .acc th { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.acc th { width: 34%; font-weight: 600; color: var(--ink); }
.acc ul, .acc ol { padding-left: 1.2em; margin: 0; }
.acc li { margin-bottom: 4px; }

.member-card { background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; border-radius: 18px; padding: 20px; position: relative; overflow: hidden; }
.member-card .avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-family: var(--display); font-size: 20px; font-weight: 900; color: var(--hi); }
.member-card .mc-row { display: flex; gap: 14px; align-items: center; }
.member-card h2 { margin: 0; font-size: 18px; }
.member-card p { margin: 2px 0 0; font-size: 13px; opacity: .75; }
.member-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.member-stats div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px; text-align: center; }
.member-stats b { display: block; font-size: 17px; }
.member-stats span { font-size: 11px; opacity: .75; }
.menu-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; }
.menu-list a, .menu-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 15px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 15px; }
.menu-list > :last-child { border-bottom: 0; }
.menu-list small { color: var(--muted); font-size: 12px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.field input { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 16px; background: var(--surface-2); }
.btn-line { background: #06c755; color: #fff; }
.member-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .member-grid { grid-template-columns: 1fr 1.3fr; gap: 28px; } }
.addr { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 10px; }
.cart-line img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; background: var(--card); }
.cart-line .cl-name { font-weight: 600; font-size: 14px; line-height: 1.4; }
.cart-line .cl-sub { font-size: 12px; color: var(--muted); }
.cart-line .rm { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 2px 0 0 -12px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.cart-line .rm svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-line .rm:hover, .cart-line .rm:focus-visible { background: var(--surface-2); color: var(--ink); }
.cart-sum { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cart-sum .row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; }
.cart-sum .row.total { font-size: 17px; font-weight: 800; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cart-layout { display: grid; gap: 16px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }

.site-footer { margin-top: 40px; background: var(--dark); color: rgba(255, 255, 255, .78); padding: 32px 0 90px; font-size: 13px; }
.site-footer .logo-mark { color: #fff; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a:hover { color: #fff; }
.foot-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; opacity: .7; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.info { margin-top: 26px; }
.info-bar {
  position: sticky; top: calc(var(--header-h) + var(--tabs-h)); z-index: 30;
  background: var(--bg); margin: 0 -16px; padding: 0 16px; border-bottom: 1px solid var(--line);
}
.info-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.info-tabs::-webkit-scrollbar { display: none; }
.info-tab {
  flex: 0 0 auto; min-height: 48px; padding: 0 14px; border: 0; background: none; scroll-snap-align: center;
  font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.info-tab:hover { color: var(--ink); }
.info-tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 800; }
.info-tab:focus-visible { outline-offset: -3px; }
.info-panels { padding: 18px 0 8px; min-height: 280px; }
.info-panel:focus-visible { outline-offset: 4px; }
.info-panel[hidden] { display: none; }
.it-h { font-size: 15px; margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.info-panel > .it-h:first-child { margin-top: 0; }
.it-lead { margin: 0 0 12px; color: var(--ink-2); }
.it-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.it-note a { color: var(--accent); }
.it-empty { background: var(--card); border: 1px dashed #e0b860; border-radius: var(--radius); padding: 22px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.it-empty p { margin: 8px 0 0; }
.long-img { max-width: 750px; margin: 0 auto; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.long-img img { width: 100%; height: auto; }
.long-ph { display: grid; justify-items: center; gap: 10px; }
.long-ph-frame {
  width: min(100%, 360px); aspect-ratio: 3 / 5; border: 2px dashed #e0b860; border-radius: var(--radius); background: repeating-linear-gradient(180deg, #fffaf0 0 120px, #fff3d6 120px 122px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; color: #8a5a00;
}
.long-ph-frame img { width: 46%; mix-blend-mode: multiply; margin-bottom: 8px; }
.long-ph-frame b { font-size: 16px; }
.long-ph-frame span { font-size: 12.5px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); font-size: 14px; }
.spec-table th, .spec-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 92px; background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 13px; }
.set-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.set-list a { color: var(--accent); font-weight: 600; }
.set-list li span { display: block; font-size: 13px; color: var(--ink-2); }
.info-panel > .set-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.label-card { display: block; width: 100%; max-width: 520px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; text-align: left; }
.label-card img { width: 100%; height: auto; }
.label-card span { display: block; padding: 8px 12px; font-size: 12.5px; color: var(--muted); }
.label-card:hover { border-color: var(--ink); }
.faq .acc { margin-bottom: 8px; }
@media (min-width: 900px) {
  .info { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
  .info-bar { top: calc(var(--header-h) + var(--tabs-h) + 16px); margin: 0; padding: 0; border: 0; background: none; }
  .info-tabs { flex-direction: column; gap: 4px; overflow: visible; }
  .info-tab { min-height: 46px; text-align: left; padding: 0 16px; border-bottom: 0; border-left: 3px solid transparent; border-radius: 0 10px 10px 0; margin: 0; }
  .info-tab[aria-selected="true"] { border-left-color: var(--accent); background: var(--card); }
  .info-panels { padding-top: 0; }
  .spec-table th { width: 130px; }
}
@media (max-width: 899px) {
  .info-bar { padding: 0 4px; }
  .info-tab { padding: 0 12px; }
  .long-ph-frame { aspect-ratio: auto; min-height: 340px; }
  .it-lead { font-size: 14px; }
}
@media (min-width: 900px) { .info .doc-strip { grid-template-columns: repeat(5, 1fr); } }

.tag-soldout { background: #5b5f66; color: #fff; }
.btn.is-soldout, .btn.is-soldout:hover, button.is-soldout, button.is-soldout:hover { background: #d9dbdf !important; color: #6b6f76 !important; border-color: #d9dbdf !important; box-shadow: none !important; cursor: not-allowed; opacity: 1; transform: none !important; }
.p-add.is-soldout svg { opacity: .55; }
.is-soldout-box { position: relative; }
.lot-img { position: relative; }
.soldout-flag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 18px; padding: 1px 7px; border-radius: 5px; background: #5b5f66; color: #fff; white-space: nowrap; }
.lot-img .soldout-flag { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 13px; line-height: 22px; padding: 2px 10px; }
.lot-list li > .soldout-flag { position: absolute; left: 6px; bottom: 8px; z-index: 2; font-size: 10px; padding: 0 5px; line-height: 16px; }
.lot-list li.is-soldout-box { position: relative; }
.notice-soldout { background: #f1f2f4; color: #3b3f45; border: 1px solid #d5d8dd; }
.cl-soldout { margin-left: 6px; vertical-align: 1px; }
.cart-soldout { font-size: 13px; color: #8a2a12; margin: 8px 0 0; }
.pd-stock.is-out { color: #6b6f76; }
.tonic-lead { margin: 0 auto 18px; padding: 0; max-width: 640px; }
.tonic-lead-b { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: zoom-in; border-radius: var(--radius-sm, 10px); overflow: hidden; }
.tonic-lead-b img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.tonic-lead-z { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; }
.tonic-lead figcaption { display: grid; gap: 2px; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.tonic-lead figcaption b { font-size: 15.5px; color: var(--ink); }
html[data-style="a"] .tonic-lead-b { border-radius: 0; }
.tonic-proof { border-style: solid; }
@media (max-width: 480px) { .tier-select.is-long { font-size: 13px; padding-right: 34px; } }
