:root {
  color-scheme: light;
  --paper: #f7f8f7;
  --ink: #172723;
  --muted: #66736d;
  --line: #e2e9e5;
  --white: #fff;
  --accent: #185d46;
  --green: #b9f0d3;
  --radius: 23px;
  font-family: "Inter", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
main { min-height: 65vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
input, button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4cb18a; outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
p { line-height: 1.7; }
small { color: var(--muted); font-size: .78rem; }
[id] { scroll-margin-top: 95px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 6px; left: 10px; z-index: 8; background: white; padding: 8px 16px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.topbar { z-index: 5; position: sticky; top: 0; background: #192421; color: #e8f0ed; }
.topbar-content { min-height: 67px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.topbar nav { display: flex; align-items: center; gap: 37px; color: #c4ceca; font-size: .88rem; font-weight: 600; }
.topbar nav a { display: grid; place-items: center; min-height: 67px; position: relative; white-space: nowrap; }
.topbar nav a:hover, .topbar nav a.current { color: white; }
.nav-contact { border: 0; padding: 0; background: none; font: inherit; color: inherit; white-space: nowrap; }
.nav-contact:hover { color: white; }
.topbar nav a.current::after { content: ""; position: absolute; bottom: 0; height: 2px; background: #80d8b0; width: 100%; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; white-space: nowrap; font-size: 1.15rem; font-weight: 760; letter-spacing: -.035em; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--green); color: #193c31; font-size: 1.14rem; flex: 0 0 auto; }
.topbar .login-link, .account-chip { justify-self: end; text-align: right; color: #e4eee9; font-size: .85rem; font-weight: 650; white-space: nowrap; }
.login-link span { margin-left: 7px; color: #a2d9c2; }
.account-chip { display: flex; align-items: center; gap: 8px; min-width: 0; }
.account-chip span:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.account-chip .brand-mark { width: 27px; height: 27px; font-size: .82rem; border-radius: 50%; }
.store { padding-top: 30px; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 412px; display: grid; align-items: center; border-radius: 28px; color: #f0fff6; background: #153a32; }
.hero-content { position: relative; z-index: 1; padding: 50px 60px 53px; width: 62%; }
.hero-kicker, .eyebrow { display: block; margin-bottom: 13px; color: #8ed7b9; font-size: .72rem; letter-spacing: .14em; font-weight: 800; }
.hero h1 { margin-bottom: 18px; font-size: clamp(2.6rem, 5.5vw, 4.75rem); line-height: 1.05; font-weight: 770; letter-spacing: -.085em; }
.hero h1 span { color: #a9eacc; }
.hero p { max-width: 335px; color: #ccded7; font-size: .98rem; margin-bottom: 25px; }
.hero-actions, .button-group, .product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-catalog { padding: 12px 4px; font-size: .86rem; font-weight: 650; color: #def5e8; }
.hero-catalog span { margin-left: 4px; }
.hero-art { position: absolute; z-index: 0; inset: 0; overflow: hidden; background:
  radial-gradient(ellipse at 79% 44%, #306b5b 0, #214d41 27%, transparent 61%),
  linear-gradient(121deg, #1b2d27 5%, #163d34 58%, #23584a); }
.hero-art::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, rgba(22, 43, 35, .8), transparent 65%); }
.orbit { position: absolute; border: 1px solid #9bedc831; border-radius: 50%; width: 720px; height: 520px; left: 49%; top: -58px; transform: rotate(-32deg); }
.orbit-second { inset: -31px auto auto 53%; width: 570px; height: 490px; border-color: #9bedc845; }
.orbit-third { inset: 7px auto auto 56%; width: 470px; height: 420px; border-color: #9bedc852; }
.hero-token { position: absolute; left: 63%; top: 19%; width: 258px; aspect-ratio: 1; border-radius: 33%; display: grid; place-items: center; transform: rotate(-16deg); background:
  radial-gradient(ellipse at 25% 16%, #e2ffec, #9be5c2 38%, #5ba485 73%, #366c55 100%); border: 1px solid #d0ffdfaa;
  color: #1a483a; filter: drop-shadow(19px 39px 25px #061a1488); box-shadow: inset -12px -16px 27px #23604444, inset 7px 10px 24px #f0ffedb0, 7px 10px 0 #316a54;
}
.hero-token span { color: #144535; font-size: 9.3rem; line-height: 1; text-shadow: 1px 2px #0f3b2c, -1px -2px #d7ffe3; transform: rotate(16deg); }
.button { min-height: 44px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; gap: 8px; padding: 10px 16px; font-size: .88rem; font-weight: 710; text-align: center; white-space: nowrap; transition: background .16s, border-color .16s, transform .16s; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover:not(:disabled) { background: #124b38; }
.button.secondary { background: white; border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: #f3f8f5; border-color: #cddbd3; }
.button.light { background: #c5f2d9; color: #153a2d; }
.button.light:hover:not(:disabled) { background: #dcfae8; }
.button.small { min-height: 36px; border-radius: 10px; padding: 8px 12px; font-size: .8rem; }
.button.full { width: 100%; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--accent); background: none; padding: 8px 0; border: 0; border-radius: 2px; font-weight: 670; font-size: .88rem; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.store-section { margin-top: 45px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 4px; font-size: clamp(1.65rem, 3.1vw, 2.38rem); letter-spacing: -.065em; }
.section-heading p { margin: 0; font-size: .84rem; color: var(--muted); }
.search { height: 44px; min-width: 240px; display: flex; gap: 8px; align-items: center; padding: 0 13px; background: white; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.search:focus-within { outline: 2px solid #55a884; }
.search span { color: #3d6553; font-size: 1.4rem; }
.search input { border: 0; outline: none; padding: 0; width: 100%; color: var(--ink); }
.categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.chip { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: #45544d; font-size: .82rem; font-weight: 650; white-space: nowrap; }
.chip:hover { border-color: #b4cbbf; }
.chip[aria-pressed="true"] { background: #203b31; border-color: #203b31; color: #f3fcf8; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { background: white; position: relative; min-width: 0; border: 1px solid var(--line); padding: 21px; border-radius: 18px; transition: transform .15s, border-color .15s; }
.product:hover { border-color: #bbd2c7; transform: translateY(-2px); }
.product-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
.catalog-art { width: 100px; height: 100px; display: grid; place-items: center; }
.catalog-art img { width: 100%; height: 100%; object-fit: contain; }
.product-fallback { font-size: 4rem; color: var(--accent); }
.product-icon { width: 48px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #25533f; background: #ddf3e8; font-weight: 730; font-size: 1.45rem; }
.card-ink .product-icon { background: #283c35; color: #f5fbf8; }
.card-blue .product-icon { background: #dceffb; color: #28618c; }
.card-peach .product-icon { background: #f8e8df; color: #a25735; }
.card-violet .product-icon { background: #ece7fb; color: #6652a7; }
.stock { color: #59645f; border-radius: 98px; background: #eff1ef; padding: 5px 8px; font-size: .67rem; line-height: 1.3; text-align: center; }
.stock.in-stock { background: #e5f3ea; color: #27624b; }
.product h3 { font-size: 1.23rem; letter-spacing: -.045em; margin-bottom: 5px; }
.product p { color: var(--muted); font-size: .8rem; margin-bottom: 13px; min-height: 1.5em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; line-height: 1.2; gap: 6px; margin-bottom: 14px; font-size: .78rem; color: var(--muted); }
.price-row strong { font-size: 1.34rem; letter-spacing: -.05em; color: var(--ink); }
.price-note { color: #216747; font-weight: 700; }
del { color: #78817b; font-size: .79rem; }
.partner-strip { margin-top: 30px; margin-bottom: 30px; border-radius: var(--radius); background: #e9f1ed; padding: 26px 31px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.partner-strip h2 { margin-bottom: 3px; font-size: 1.2rem; letter-spacing: -.04em; }
.partner-strip p { margin: 0; color: #5b7468; font-size: .84rem; }
.footer-inner { margin-top: 30px; padding: 22px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 17px; justify-content: space-between; flex-wrap: wrap; }
.footer-inner .brand { font-size: 1rem; }
.footer-inner .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; font-size: .83rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-links button.plain-link { border: 0; padding: 0; background: none; color: inherit; font: inherit; }
.footer-inner p { font-size: .72rem; color: var(--muted); margin: 0; }
.plain-link span { margin-left: 4px; }
.loading { text-align: center; padding: 70px 0; color: var(--muted); }
.empty { padding: 27px 16px; border: 1px dashed #d7e0db; border-radius: 12px; font-size: .85rem; color: var(--muted); text-align: center; grid-column: 1 / -1; }
.empty a { color: var(--accent); margin-left: 6px; }

.inside { padding-top: 28px; padding-bottom: 35px; }
.account-hero, .agent-hero { padding: 31px; border-radius: var(--radius); gap: 26px; display: flex; align-items: center; justify-content: space-between; }
.account-hero { background: #e9f4ed; border: 1px solid #e1ece5; }
.identity { display: flex; align-items: center; gap: 17px; }
.identity .brand-mark { height: 60px; width: 60px; font-size: 1.55rem; border-radius: 20px; background: #d0ebdc; }
.identity .eyebrow, .agent-hero .eyebrow { margin-bottom: 5px; }
.identity .eyebrow { color: #446858; }
.identity h1 { margin-bottom: 4px; font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -.055em; word-break: break-all; }
.subtle { color: var(--muted); font-size: .86rem; }
.stats { margin: 0; display: flex; gap: 23px; }
.stats dt, .account-data dt { color: var(--muted); font-size: .77rem; }
.stats dd { margin: 5px 0 0; font-weight: 700; font-size: 1.22rem; white-space: nowrap; }
.account-layout { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.account-sections { display: grid; gap: 15px; }
.side { display: grid; gap: 3px; border-radius: 17px; padding: 7px; background: #edf2ee; color: #354a41; }
.side a { padding: 10px 11px; border-radius: 9px; display: flex; justify-content: space-between; gap: 5px; font-size: .83rem; font-weight: 630; }
.side a:hover { background: white; }
.panel { background: white; padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.panel h2 { margin-bottom: 7px; font-size: 1.3rem; letter-spacing: -.045em; }
.panel h3 { font-size: 1.08rem; letter-spacing: -.035em; margin-bottom: 12px; }
.account-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; justify-content: space-between; }
.account-filters .categories { margin-bottom: 0; }
.account-filters input { max-width: 205px; }
.order-row { border: 0; border-top: 1px solid var(--line); background: white; color: var(--ink); border-radius: 0; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto auto; gap: 11px; padding: 12px 0; text-align: left; align-items: center; font-size: .79rem; }
.order-row:hover { background: #f7faf8; }
.row-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #eaf2ec; font-size: 1rem; }
.order-name { min-width: 0; }
.order-name small, .checkout-item small, .ledger-row small { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.tag { background: #edf1ee; padding: 5px 8px; border-radius: 99px; white-space: nowrap; color: #53665b; }
.order-state { color: #385b4f; font-size: .83rem; font-weight: 680; }
.order-state.pending_payment, .order-state.needs_review { color: #8a5b1b; }
.order-state.delivered, .order-state.refunded { color: #1a704d; }
.chevron { font-size: 1.24rem; color: var(--muted); }
.account-data { display: grid; gap: 12px; margin: 15px 0 20px; }
.account-data div { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.account-data dt { min-width: 65px; }
.account-data dd { margin: 0; color: #283f34; font-size: .87rem; }
.inline-form { display: flex; gap: 9px; align-items: end; flex-wrap: wrap; }
.inline-form label { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); }
.agent-hero { position: relative; background: #193b30; background: radial-gradient(ellipse at 75% 0%, #367258, #234639 56%, #18332a); color: #f3fff8; padding: 35px 40px; }
.agent-hero h1 { font-size: clamp(1.8rem, 4.2vw, 3.15rem); letter-spacing: -.067em; margin: 5px 0 10px; }
.agent-hero p { color: #cee4d8; margin-bottom: 19px; font-size: .9rem; }
.pass-card { color: #203c32; transform: rotate(-7deg); background: linear-gradient(135deg, #d7f4db, #b2dfc5 50%, #9eceb4); border: 1px solid #cee6d5; box-shadow: 8px 12px 32px #0a1f1777; border-radius: 21px; width: min(100%, 250px); padding: 18px 20px; }
.pass-card div { font-size: 1.6rem; color: #275e45; margin-bottom: 12px; }
.pass-card span { display: block; font-weight: 760; font-size: .7rem; letter-spacing: .13em; margin-bottom: 3px; }
.pass-card strong { font-size: 1.18rem; }
.wallet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.wallet-amount { font-size: 1.9rem; margin-bottom: 12px; font-weight: 760; letter-spacing: -.06em; }
.wallet-records { margin-top: 13px; }
.ledger-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: .85rem; padding: 12px 0; border-top: 1px solid var(--line); }
.price-list .ledger-row:first-child { border-top: 0; }
.price-list .ledger-row > span { white-space: nowrap; }
.price-list small { display: inline; margin-left: 3px; }

.simple { padding: 55px 0; display: grid; justify-items: center; }
.narrow { width: min(100%, 440px); padding: 28px; }
.narrow h1 { font-size: 1.85rem; letter-spacing: -.06em; margin-bottom: 9px; }
.login-panel > .brand-mark { margin-bottom: 13px; }
.login-panel .full + .stack { margin-top: 18px; }
.login-switch { margin-top: 10px; }
.stack { display: grid; gap: 13px; }
.stack label, .guest-code { display: grid; gap: 6px; color: #394d44; font-size: .84rem; font-weight: 650; }
input:not([type="checkbox"]):not([type="radio"]) { min-width: 0; min-height: 41px; background: #fbfdfb; padding: 8px 10px; border: 1px solid #dce5df; border-radius: 9px; font-size: .87rem; color: #152a20; }
.search input:not([type="checkbox"]):not([type="radio"]) { min-height: auto; border: 0; background: white; padding: 0; outline: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { color: #394d44; font-size: .84rem; font-weight: 650; margin-bottom: 6px; }
.method-group { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.method-group label { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 11px 9px; }
.method-group label:has(input:checked) { background: #eef8f2; border-color: #a4cbb8; }
.stack label.checkline { display: flex; align-items: flex-start; color: var(--muted); font-size: .8rem; line-height: 1.5; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); }
.form-error { color: #9e3927; font-size: .82rem; margin: 0; }
.form-error:empty { display: none; }
dialog { width: min(500px, calc(100% - 32px)); max-height: calc(100vh - 28px); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: white; box-shadow: 0 24px 90px #12251d2a; }
dialog::backdrop { background: #10221ab3; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.dialog-head h2 { font-size: 1.35rem; letter-spacing: -.045em; margin: 0; }
.icon-button { width: 33px; height: 33px; border-radius: 10px; background: #edf2ed; border: 0; color: #3c554a; font-size: 1.32rem; }
.icon-button:hover { background: #dfe9e2; }
.detail-list { padding-left: 19px; color: var(--muted); font-size: .89rem; line-height: 1.75; }
.details-price { margin-top: 14px; }
dialog.product-dialog { width: min(1160px, calc(100% - 32px)); max-height: none; height: min(860px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: 26px; overflow: hidden; }
.product-dialog > .dialog-head { position: absolute; z-index: 2; top: 16px; right: 16px; margin: 0; }
.product-dialog > .dialog-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-dialog .icon-button { width: 40px; height: 40px; border-radius: 50%; background: #e9ecea; }
.detail-layout { display: grid; grid-template-columns: .85fr 1.15fr; height: 100%; }
.detail-media { display: grid; place-items: center; min-width: 0; padding: 36px; background: radial-gradient(ellipse at center, #dcebe3 0, #f5f6f5 62%); }
.detail-media.card-peach { background: radial-gradient(ellipse at center, #f2dfd3, #f7f5f4 62%); }
.detail-media.card-violet { background: radial-gradient(ellipse at center, #e4dff6, #f6f5f9 62%); }
.detail-media.card-blue { background: radial-gradient(ellipse at center, #d9eaf7, #f4f6f9 62%); }
.detail-media.card-ink { background: radial-gradient(ellipse at center, #dce1df, #f4f5f5 62%); }
.detail-artwork { object-fit: contain; width: 100%; max-width: 420px; height: auto; max-height: 85%; filter: drop-shadow(0 24px 22px #18332620); }
.detail-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.detail-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; padding: 62px 44px 30px; scrollbar-gutter: stable; }
.detail-kicker { margin-bottom: 8px; color: var(--muted); font-size: .88rem; }
.detail-title { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.15; letter-spacing: -.06em; margin: 0 0 22px; }
.detail-price .price-row { margin-bottom: 18px; }
.detail-price .price-row strong { font-size: 2rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--muted); font-size: .82rem; margin-bottom: 32px; }
.detail-meta .available { color: var(--accent); }
.detail-section { margin-top: 30px; }
.detail-section h3 { font-size: 1.05rem; margin-bottom: 14px; letter-spacing: -.02em; }
.detail-section p, .product-instructions { font-size: .91rem; line-height: 1.85; overflow-wrap: anywhere; }
.detail-section p { margin-bottom: 9px; }
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-option { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; background: white; text-align: left; padding: 15px; border: 1px solid #ccd4cf; border-radius: 14px; min-width: 0; color: var(--ink); }
.plan-option[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); background: #f9fcfa; }
.plan-option strong { font-size: 1.1rem; }
.plan-option span { font-size: .79rem; color: var(--muted); line-height: 1.6; }
.plan-option b { font-size: .94rem; font-weight: 550; }
.plan-option small { font-size: .7rem; }
.account-options { display: flex; flex-wrap: wrap; gap: 7px; }
.account-options .chip { padding: 7px 10px; font-size: .75rem; }
.account-verdict { margin: 12px 0 0; padding: 12px; border-radius: 9px; background: #f8f1e4; color: #775824; }
.account-verdict:empty { display: none; }
.account-verdict[data-eligible="true"] { background: #edf7f0; color: #246348; }
.product-instructions { margin: 0; padding-left: 23px; }
.product-instructions li + li { margin-top: 9px; }
.detail-links { margin-top: 26px; }
.detail-links .button { font-size: .8rem; }
.detail-contact { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.support-number { font-size: 2rem; font-weight: 650; letter-spacing: .04em; }
.detail-buybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 30px; border-top: 1px solid var(--line); background: white; }
.detail-buybar > div { display: grid; gap: 4px; font-size: .86rem; min-width: 0; }
.detail-buybar span { color: var(--muted); font-size: .78rem; }
.detail-buybar .button { min-width: 116px; border-radius: 99px; }
.checkout-notice { background: #f7f4ed; padding: 13px; border-radius: 10px; font-size: .78rem; line-height: 1.75; }
.checkout-notice ul { padding-left: 18px; margin: 7px 0 0; }
.checkout-item { background: #edf4ef; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 13px; border-radius: 12px; }
.checkout-item > strong { white-space: nowrap; }
.guest-code { margin-bottom: 10px; }
.payment-box { display: grid; justify-items: center; gap: 9px; margin: 15px 0; }
.delivery { display: grid; gap: 7px; list-style: none; padding: 0; }
.delivery li { display: flex; justify-content: space-between; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; word-break: break-word; min-width: 0; }
.delivery code { display: block; color: #29543f; margin-top: 4px; white-space: pre-wrap; }
.key-display { width: 100%; margin-bottom: 10px; }
.api-list { display: grid; gap: 8px; font-size: .8rem; }
.api-list dt, pre { font-family: "IBM Plex Mono", Consolas, monospace; color: #235141; overflow-wrap: anywhere; }
.api-list dd { margin: 2px 0 0; color: var(--muted); }
pre { background: #f0f5f2; padding: 10px; border-radius: 10px; white-space: pre-wrap; }
.toast { position: fixed; pointer-events: none; z-index: 10; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; transition: .18s; padding: 9px 15px; border-radius: 10px; color: white; background: #24382e; font-size: .86rem; }
.toast[data-show="true"] { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 970px) {
  .shell { width: min(100% - 36px, 1180px); }
  .hero-content { padding: 40px; }
  .hero-token { width: 215px; left: 64%; top: 24%; }
  .hero-token span { font-size: 7.8rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  dialog.product-dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); border-radius: 21px; }
  .detail-layout { display: flex; flex-direction: column; }
  .detail-media { height: 190px; flex: 0 0 190px; padding: 12px; }
  .detail-artwork { max-width: 190px; max-height: 100%; }
  .detail-main { flex: 1; }
  .detail-scroll { padding: 22px 18px; }
  .detail-title { font-size: 1.9rem; margin-bottom: 15px; }
  .detail-section { margin-top: 24px; }
  .detail-section h3 { font-size: 1rem; }
  .plan-option { padding: 12px; }
  .plan-option strong { font-size: 1rem; }
  .detail-buybar { padding: 13px 15px; gap: 8px; }
  .detail-buybar .button { min-width: 90px; padding-inline: 13px; }
  .catalog-art { width: 72px; height: 72px; }
  .shell { width: calc(100% - 24px); }
  .topbar-content { min-height: 55px; position: relative; grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; gap: 18px; }
  .topbar nav a { min-height: 37px; }
  .topbar .brand, .topbar .login-link, .account-chip { margin-top: 9px; }
  .account-chip, .login-link { grid-column: 2; grid-row: 1; }
  .store { padding-top: 14px; }
  .hero { border-radius: 19px; min-height: 354px; align-items: end; }
  .hero-content { width: 100%; padding: 28px 20px; }
  .hero-art::after { background: linear-gradient(90deg, #15372ccb, #15372c16), linear-gradient(0deg, #14352be6, transparent); }
  .hero-token { left: auto; right: 0; top: 40px; width: 148px; }
  .hero-token span { font-size: 5.25rem; }
  .orbit { left: 24%; }
  .hero p { padding-right: 30px; font-size: .84rem; }
  .hero-actions { gap: 8px; }
  .store-section { margin-top: 26px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 10px; }
  .search { min-width: 0; }
  .categories { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .product-grid { gap: 8px; }
  .product { padding: 13px; border-radius: 14px; }
  .product-icon { width: 36px; height: 36px; border-radius: 9px; }
  .product h3 { font-size: 1.06rem; }
  .product p { min-height: 2.5em; }
  .product-actions { gap: 1px 7px; }
  .product-actions .text-button { font-size: .76rem; }
  .stock { font-size: .62rem; padding: 4px; }
  .account-layout { grid-template-columns: 1fr; gap: 10px; }
  .account-hero, .agent-hero { align-items: start; flex-direction: column; padding: 21px; }
  .wallet-grid { grid-template-columns: 1fr; }
  .side { display: flex; overflow: auto; }
  .side a { white-space: nowrap; }
  .pass-card { transform: none; }
  .order-row { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 6px; }
  .order-row .tag, .order-row .chevron { display: none; }
  .partner-strip { padding: 16px; align-items: start; flex-direction: column; }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  .product p { min-height: 0; }
  .panel, dialog { padding: 17px; }
  .stats { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
