:root {
  color-scheme: light;
  --ink: #172b25;
  --muted: #53675e;
  --green: #155845;
  --green-dark: #0c4535;
  --line: #dce6df;
  --canvas: #f7f9f6;
  --white: #fff;
  --radius: 20px;
  --font: Inter, "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-family: var(--font); font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 4px; }
button, input { font: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #168765; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; }
h2 { font-size: 25px; letter-spacing: -.035em; }
h3 { font-size: 18px; }
[hidden] { display: none !important; }
.wrap { width: min(1140px, calc(100% - 68px)); margin-inline: auto; }
.site-main { flex: 1; padding-block: 32px 68px; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 800; white-space: nowrap; }
.brand-symbol { width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); border-radius: 10px; }
.brand-symbol i { display: block; position: relative; width: 17px; height: 12px; border: 1.5px solid #d9f6e5; border-radius: 3px; }
.brand-symbol i::after { content: ""; position: absolute; left: 3px; bottom: 2px; width: 5px; height: 1px; background: #d9f6e5; }
.nav { display: flex; gap: 26px; align-items: center; white-space: nowrap; }
.nav a { text-decoration: none; font-weight: 650; color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a[aria-current] { color: var(--green-dark); }
.nav-account { padding: 7px 16px; border: 1px solid var(--line); border-radius: 100px; }
.nav-account:hover { background: #f0f8f2; }
.hero { display: grid; grid-template-columns: 57% 43%; align-items: stretch; border-radius: 26px; overflow: hidden; min-height: 310px; color: #f6fff8; background: radial-gradient(ellipse at 95% 105%, #266f59, transparent 60%), linear-gradient(113deg, #122d26, #144335); }
.hero-content { align-self: center; padding: 43px clamp(28px, 5.1vw, 68px); position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.1vw, 64px); font-weight: 820; letter-spacing: -.06em; margin-bottom: 15px; white-space: nowrap; }
.hero p { color: #cce1d4; font-size: clamp(14px, 1.7vw, 18px); margin-bottom: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 9px 17px; text-decoration: none; color: #fff; background: var(--green); border: 1px solid transparent; border-radius: 10px; font-weight: 730; cursor: pointer; white-space: nowrap; }
.button:hover { background: var(--green-dark); }
.button:disabled { background: #e1e8e2; color: #54685a; cursor: default; }
.button.secondary { color: var(--green); background: #fff; border-color: var(--line); }
.button.secondary:hover { background: #edf6ef; }
.hero-button { color: #173b2f; background: #d5f4df; border-radius: 11px; }
.hero-button:hover { color: #143b2e; background: #e4fae9; }
.hero-link { margin-left: 15px; color: #d4ece2; font-weight: 650; text-decoration: none; }
.hero-link:hover { text-decoration: underline; }
.hero-art { align-self: stretch; position: relative; min-width: 0; min-height: 235px; isolation: isolate; }
.hero-orbit { position: absolute; inset: 7% -24% -21% -23%; z-index: -1; opacity: .28; background: repeating-radial-gradient(ellipse at 61% 49%, transparent 0 26px, #80b297 27px 28px, transparent 29px 42px); transform: rotate(-19deg); }
.hero-card { position: absolute; width: min(57%, 262px); aspect-ratio: 1.62; border-radius: clamp(10px, 1.5vw, 18px); border: 1px solid #b9ebcf; box-shadow: 0 18px 35px #09271f66; }
.hero-card-back { top: 26%; left: 20%; transform: rotate(13deg); background: linear-gradient(140deg, #3d9174, #6fae91 75%, #7bb49b); opacity: .78; }
.hero-card-front { top: 32%; left: 13%; transform: rotate(-12deg); background: radial-gradient(ellipse at 105% 90%, #9adece, transparent 59%), linear-gradient(129deg, #e1f9e7, #adddc0); }
.hero-chip { position: absolute; top: 20%; left: 12%; width: 13%; height: 18%; border: 1px solid #60957c; border-radius: 25%; background: linear-gradient(110deg, #81b49b 0 22%, #aed4be 22% 35%, #82b99e 35% 63%, #b8ddc5 63% 76%, #7fb59c 76%); }
.hero-card-bars { position: absolute; left: 12%; bottom: 24%; width: 42%; height: 10%; border-top: 4px solid #52876f; border-bottom: 3px solid #70a28a; opacity: .8; }
.hero-card-mark { position: absolute; right: 9%; bottom: 18%; width: 20%; aspect-ratio: 1; display: grid; place-items: center; color: #275746; font-size: clamp(18px, 3vw, 30px); font-weight: 750; border: 1px solid #6fa488; border-radius: 50%; }
.catalog-section { margin-top: 36px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-head > span { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 17px 20px; }
.chips a { color: var(--muted); padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; text-decoration: none; background: #fff; font-size: 13px; }
.chips a:hover, .chips a[aria-current] { border-color: #a4c2ae; color: var(--green-dark); background: #e6f3e9; font-weight: 650; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product-card, .panel { border: 1px solid var(--line); background: white; border-radius: var(--radius); }
.product-card { min-width: 0; overflow: hidden; }
.product-card:hover { border-color: #b1cab8; box-shadow: 0 9px 24px #203e2d0d; }
.product-image-link { display: block; }
.cover { aspect-ratio: 2 / 1; width: 100%; position: relative; isolation: isolate; overflow: hidden; background: #e8f0ea; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-forest { background: linear-gradient(145deg, #d8ebdd, #abcebb); --ticket: #317759; --ticket-light: #61a184; }
.cover-violet { background: linear-gradient(145deg, #eeebfa, #c8c0e7); --ticket: #5f4e8e; --ticket-light: #9081b7; }
.cover-blue { background: linear-gradient(145deg, #e0eff7, #b5d4e8); --ticket: #376a8b; --ticket-light: #6fa1be; }
.cover-orbit { position: absolute; inset: -50% -19%; background: repeating-radial-gradient(ellipse at 49% 47%, transparent 0 12px, #ffffff61 13px 14px, transparent 15px 24px); transform: rotate(13deg); }
.cover-ticket { position: absolute; top: 24%; left: 33%; width: 35%; aspect-ratio: 1.65; border: 1px solid #ffffff8c; border-radius: 9px; transform: rotate(-11deg); background: linear-gradient(138deg, var(--ticket), var(--ticket-light)); box-shadow: 0 7px 16px #172b2540; }
.cover-ticket b { position: absolute; top: 21%; left: 12%; width: 13%; height: 17%; border: 1px solid #ffffffa8; border-radius: 3px; }
.cover-ticket i { position: absolute; left: 12%; bottom: 17%; width: 34%; height: 9%; border-top: 2px solid #ffffffa8; border-bottom: 1px solid #ffffff70; }
.product-card-body { padding: 16px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 12px; }
.stock { color: #275943; font-size: 12px; white-space: nowrap; }
.stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #31845d; border-radius: 50%; vertical-align: .1em; }
.stock-empty { color: var(--muted); }
.stock-empty::before { background: #81928a; }
.product-card h3 { margin: 7px 0 4px; }
.product-card h3 a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.summary { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.money { color: var(--green-dark); font-size: 20px; font-weight: 770; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-link { font-size: 13px; font-weight: 680; text-decoration: none; }
.product-link:hover { text-decoration: underline; }
.empty { grid-column: 1 / -1; padding: 48px 24px; background: #fff; border: 1px dashed #b9ccbd; border-radius: var(--radius); text-align: center; }
.empty p { color: var(--muted); margin: 8px 0; }
.pagination, .link-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 19px; font-size: 13px; }
.pagination { justify-content: center; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { min-height: 64px; }
.footer a { text-decoration: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); margin-bottom: 17px; font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.detail-cover { border-radius: var(--radius); overflow: hidden; }
.detail-cover .cover { aspect-ratio: 1.4; }
.detail-intro h1 { margin: 12px 0 10px; overflow-wrap: anywhere; }
.detail-intro > p { color: var(--muted); margin-bottom: 10px; }
.detail-price { font-size: 36px; margin: 10px 0 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.share-result { margin-top: 8px; }
.detail-description { margin-top: 28px; padding: clamp(19px, 4vw, 38px); }
.detail-description h2 { margin-bottom: 14px; }
.prose figure { margin: 1em 0; }
.prose :is(p, ul, ol, blockquote, h2, h3, h4) { margin-block: .65em; }
.prose :is(img, table) { max-width: 100%; height: auto; }
.prose table { display: block; width: fit-content; overflow-x: auto; border-collapse: collapse; }
.prose :is(th, td) { padding: 7px 11px; border: 1px solid var(--line); }
.prose th { background: #f0f6f1; }
.prose blockquote { margin-inline: 0; padding-left: 12px; border-left: 3px solid #b4d5c2; color: var(--muted); }
.prose { overflow-wrap: anywhere; }
.form-panel, .list-panel { padding: clamp(20px, 4vw, 32px); }
.form-panel h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.intro { color: var(--muted); font-size: 14px; margin: 4px 0 16px; }
.centered { max-width: 648px; margin-inline: auto; }
.narrow { max-width: 510px; }
.checkout-layout, .lookup-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 18px; max-width: 960px; margin-inline: auto; align-items: start; }
.lookup-layout:has(> :only-child) { max-width: 530px; grid-template-columns: 1fr; }
.order-summary { padding: 18px; }
.order-summary .cover { border-radius: 10px; }
.order-summary h2 { margin: 13px 0 5px; font-size: 19px; }
dl { margin: 10px 0 17px; }
dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); white-space: nowrap; }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.field, .form-panel form > p { display: block; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend, .form-panel form > p label { display: block; font-weight: 670; margin-bottom: 5px; }
input:not([type="checkbox"], [type="radio"], [type="range"], [type="hidden"]) { width: 100%; border: 1px solid #cbd9cf; border-radius: 9px; min-height: 42px; padding: 8px 10px; color: var(--ink); background: #fff; font-size: 16px; }
input::placeholder { color: #597063; }
.complaint-panel textarea { box-sizing: border-box; width: 100%; min-height: 130px; resize: vertical; border: 1px solid #cbd9cf; border-radius: 9px; padding: 9px 10px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; }
.complaint-panel textarea:focus-visible { outline: 2px solid #168765; outline-offset: 3px; }
.complaint-panel textarea::placeholder { color: #597063; }
.complaint-panel .field label span { margin-left: 5px; font-size: 12px; font-weight: 500; color: var(--muted); }
input[type="radio"] { accent-color: var(--green); }
.wide { width: 100%; }
.channels > div { display: flex; flex-wrap: wrap; gap: 8px; }
.channels label { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); padding: 6px 9px; border-radius: 9px; font-size: 13px; }
.channels label:has(input:checked) { border-color: #a4c2ae; background: #e7f3e9; }
.helptext, .helptext ul, .errorlist { margin-block: 4px 8px; font-size: 13px; color: var(--muted); }
.errorlist, .notice-error { color: #962c28; }
.notice { padding: 9px 11px; background: #eaf4eb; border: 1px solid #d2e8d7; border-radius: 9px; font-size: 13px; margin-bottom: 12px; }
.notice-error { background: #fff5f3; border-color: #f0c9c5; }
.captcha { max-width: 380px; }
.captcha-head { display: flex; align-items: baseline; justify-content: space-between; }
.puzzle-scene { position: relative; aspect-ratio: 2.5; background-color: #edf2e8; border-radius: 9px; overflow: hidden; }
.puzzle-background { width: 100%; height: 100%; object-fit: fill; }
.puzzle-piece { position: absolute; width: var(--piece-width, 14%); left: 0; top: var(--piece-top, 0%); transform: translateX(var(--piece-shift, 0%)); filter: drop-shadow(0 0 1px #143a31); }
.puzzle-background:not([src]), .puzzle-piece:not([src]) { display: none; }
.captcha-slider {
  --range-track: linear-gradient(to right, #4c9b7f 0%, #4c9b7f var(--range-progress, 0%), #dce9e1 var(--range-progress, 0%), #dce9e1 100%);
  --range-handle: linear-gradient(#d6eee3, #d6eee3) calc(50% - 4px) center / 2px 11px no-repeat, linear-gradient(#d6eee3, #d6eee3) 50% center / 2px 11px no-repeat, linear-gradient(#d6eee3, #d6eee3) calc(50% + 4px) center / 2px 11px no-repeat, linear-gradient(#307d64, #145441);
  appearance: none;
  display: block;
  width: 100%;
  height: 42px;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
}
.captcha-slider:active { cursor: grabbing; }
.captcha-slider:disabled { opacity: .55; cursor: default; }
.captcha-slider::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--range-track); }
.captcha-slider::-moz-range-track { height: 8px; border-radius: 4px; background: var(--range-track); }
.captcha-slider::-webkit-slider-thumb {
  appearance: none;
  width: 44px;
  height: 28px;
  margin-top: -10px;
  border: 1px solid #144d3c;
  border-radius: 5px;
  background: var(--range-handle);
  box-shadow: 0 2px 4px #12392e40, inset 0 1px 0 #ffffff35;
}
.captcha-slider::-moz-range-thumb {
  width: 44px;
  height: 28px;
  border: 1px solid #144d3c;
  border-radius: 5px;
  background: var(--range-handle);
  box-shadow: 0 2px 4px #12392e40, inset 0 1px 0 #ffffff35;
}
.captcha small { color: var(--muted); font-size: 12px; }
.text-button { border: none; border-radius: 5px; padding: 4px 6px; background: transparent; color: var(--green); cursor: pointer; white-space: nowrap; font-weight: 650; font-size: 13px; }
.text-button:hover { background: #e8f3e9; }
.lookup-result { padding-block: 11px; border-bottom: 1px solid var(--line); }
.lookup-result:last-child { border-bottom: 0; }
.lookup-result > div { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lookup-result time { color: var(--muted); font-size: 12px; }
.claim-form { display: flex; margin-top: 9px; gap: 6px; }
.claim-form :is(input, button) { min-width: 0; min-height: 39px; }
.order-status { display: inline-block; border-radius: 100px; font-size: 13px; font-weight: 700; padding: 5px 11px; background: #fff4dc; color: #745414; }
.order-done { color: var(--green-dark); background: #e2f3e8; }
.copy-line { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; align-items: center; min-width: 0; }
code { font-family: "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.card-list-head { margin-top: 14px; }
.card-list-head h2 { font-size: 20px; }
.card-codes { list-style: none; padding: 0; }
.card-codes li { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 7px 10px; margin: 5px 0; background: #eef5ef; border-radius: 8px; }
.scan-panel > img { margin: 10px auto 18px; }
.balances { margin: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.balances > div { padding: 16px; display: grid; gap: 5px; }
.balances span { color: var(--muted); font-size: 13px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.commission-panel { grid-column: 1 / -1; }
.list-panel h2 { font-size: 20px; margin-bottom: 9px; }
.list-entry { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.list-entry:last-child { border: 0; }
.list-entry small, .list-entry > span { display: block; color: var(--muted); font-size: 12px; }
.entry-right { text-align: right; white-space: nowrap; }
.toast { position: fixed; z-index: 5; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); color: white; padding: 9px 14px; border-radius: 100px; background: #12352b; box-shadow: 0 8px 22px #193b2b40; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) {
  .wrap { width: calc(100% - 38px); }
  .hero-content { padding-inline: 33px 0; }
  .hero-card { width: 68%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 26px); }
  .topbar-inner { min-height: 60px; gap: 7px; }
  .brand { min-width: 0; font-size: 15px; gap: 6px; }
  .brand-symbol { flex: none; width: 29px; height: 29px; border-radius: 8px; }
  .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .nav { flex: none; gap: 11px; }
  .nav a { font-size: 12px; }
  .nav-account { padding: 5px 8px; }
  .site-main { padding-block: 17px 37px; }
  .hero { min-height: 223px; grid-template-columns: minmax(0, 1fr); border-radius: 18px; position: relative; isolation: isolate; }
  .hero-content { padding: 21px 14px 24px 19px; }
  .hero h1 { font-size: clamp(26px, 7.7vw, 39px); }
  .hero p { margin-bottom: 20px; max-width: 75%; }
  .hero-art { position: absolute; z-index: -1; top: 6px; right: -72px; bottom: 0; width: 238px; min-height: 0; opacity: .62; }
  .hero-orbit { inset: 3% -20% -6% -34%; opacity: .33; }
  .hero-link { font-size: 13px; margin-left: 7px; }
  .button { min-height: 42px; padding: 8px 11px; font-size: 14px; }
  .catalog-section { margin-top: 23px; }
  .section-head h2 { font-size: 22px; }
  .product-grid { gap: 9px; }
  .product-card { border-radius: 13px; }
  .product-card-body { padding: 9px; }
  .product-card h3 { font-size: 15px; }
  .product-meta, .stock { font-size: 11px; }
  .product-card .summary { font-size: 12px; }
  .money { font-size: 17px; }
  .product-link { font-size: 12px; }
  .detail-price { font-size: 29px; }
  .product-detail, .checkout-layout, .lookup-layout, .account-grid { grid-template-columns: 1fr; gap: 13px; }
  .detail-cover .cover { aspect-ratio: 1.8; }
  .checkout-layout > .order-summary { grid-row: 1; }
  .order-summary .cover { display: none; }
  .order-summary dl { margin-bottom: 0; }
  .balances { gap: 5px; }
  .balances > div { padding: 8px; border-radius: 11px; }
}
@media (max-width: 374px) {
  .topbar-inner { flex-wrap: wrap; gap: 6px; padding-block: 7px; }
  .nav { width: 100%; justify-content: space-between; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
