/*! Storefront adapted from GPTibo.
 * MIT License
 *
 * Copyright (c) 2026 GPTibo contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
:root {
  color-scheme: light;
  --bg:#f7f6f2; --paper:#fffefa; --ink:#25241f; --muted:#665f55; --line:#dfddd4;
  --accent:#674726;
  font-family:"Geist","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink); background:var(--bg); -webkit-text-size-adjust:100%;
}
* {box-sizing:border-box}
body,h1,h2,p,ul,dl,dd {margin:0}
[hidden] {display:none!important}
a {color:inherit;text-decoration:none}
button {font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible {outline:3px solid #a36321;outline-offset:3px}
.wrap {width:min(1240px,calc(100% - 96px));margin-inline:auto}
.mast {background:#261b16;color:#f8e8cc;border-bottom:1px solid #4f392c}
.mast-inner {min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand {display:inline-flex;align-items:center;gap:9px}
.brand b {font:700 1.5rem/1.12 "Songti SC",SimSun,Georgia,serif}
.mast nav {display:flex;align-items:center;gap:clamp(12px,2.3vw,34px)}
.mast nav a {color:#dcccba;font-size:.94rem;padding:12px 0}
.mast nav a[aria-current],.mast nav a:hover {color:#ffdda6}
.skip {position:absolute;z-index:5;left:16px;top:8px;transform:translateY(-160%);background:#301d10;color:white;padding:10px}
.skip:focus {transform:none}
.intro {padding:clamp(24px,3.2vw,45px) 0 23px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.intro h1,.detail-info h1 {letter-spacing:-.035em;line-height:1.16;font-weight:690}
.intro h1 {font-size:clamp(2.2rem,3.4vw,3.1rem)}
.intro p {color:var(--muted);margin-top:8px;font-size:1rem;line-height:1.65}
.intro-contact {border-left:1px solid #cdc7bb;padding-left:14px;display:grid;gap:3px;white-space:nowrap}
.intro-contact span {color:var(--muted);font-size:.82rem}
.intro-contact b {font-size:1rem;font-weight:580}
.theme-gpt {--tint:#e4eee7;--tone:#24463d;--surface:#ebf2ee}
.theme-gemini {--tint:#e9eaf9;--tone:#43448a;--surface:#efeefa}
.theme-claude {--tint:#f4e5dc;--tone:#834c37;--surface:#f6eae3}
.theme-google {--tint:#e7effa;--tone:#32547c;--surface:#eff4fa}
.theme-korea {--tint:#eee8f0;--tone:#55425d;--surface:#f3eff4}
.brand-shelf {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.45vw,22px)}
.brand-card {display:block;min-width:0;background:var(--paper);border-radius:17px;border:1px solid #d9d7cf;overflow:hidden;box-shadow:0 2px 6px #27211906;transition:transform .18s,border-color .18s}
.brand-card:hover,.brand-card:focus-visible,.brand-card[aria-current] {border-color:var(--tone)}
.brand-card:hover,.brand-card:focus-visible {transform:translateY(-3px)}
.brand-shelf .art-compact {width:100%;height:auto;aspect-ratio:2.46}
.brand-card-caption {padding:14px clamp(12px,1.35vw,23px) 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.brand-card-caption>div {min-width:0}
.brand-card-caption strong {display:block;line-height:1.09;font-size:clamp(1.35rem,2.02vw,1.88rem)}
.word-gpt {font-family:"Geist","Helvetica Neue",Arial,sans-serif;font-weight:650;letter-spacing:-.056em}
.word-gemini {font-family:"Geist","Helvetica Neue",Arial,sans-serif;font-weight:440;letter-spacing:-.053em}
.word-claude {font-family:Georgia,"Times New Roman",serif;font-weight:530;letter-spacing:-.048em}
.word-google {font-family:"Geist","Helvetica Neue",Arial,sans-serif;font-weight:540;letter-spacing:-.045em}
.brand-card-caption>div>span {display:block;margin-top:6px;color:var(--muted);font-size:.89rem;line-height:1.4}
.from-price {color:var(--tone);display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap}
.price {font-family:"Geist","Helvetica Neue",Arial,sans-serif;font-weight:650;letter-spacing:-.035em;font-size:1.12rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.price small {font-size:.76em;margin-right:.12em;font-weight:500}
.starting {font-size:.76rem}
.store-home {padding:clamp(21px,2.6vw,37px) 0 48px;scroll-margin-top:12px}
.toolbar,.results-label,.category-menu {display:flex;align-items:center}
.toolbar {gap:15px;justify-content:space-between;margin-bottom:14px}
.results-label {gap:10px;flex-shrink:0}
.results-label h2 {font-size:clamp(1.25rem,1.7vw,1.55rem);letter-spacing:-.04em}
#results-count {font-size:.85rem;color:var(--muted)}
.category-menu {overflow:auto;gap:3px;max-width:100%;padding:3px;border-radius:12px;background:#ebe9e2}
.category-menu a {display:grid;place-items:center;white-space:nowrap;padding:6px 13px;border-radius:9px;color:#605b51;font-size:.89rem;min-height:33px}
.category-menu a[aria-current],.category-menu a:hover {color:var(--ink);background:var(--paper)}
.category-menu a[aria-current] {box-shadow:0 1px 4px #2c231219;font-weight:650}
.category-menu a:focus-visible {outline-offset:-2px}
.brand-group,.collection {scroll-margin-top:12px}
.collection {margin-bottom:10px;background:var(--paper);border:1px solid var(--line);border-radius:13px;display:grid;grid-template-columns:minmax(200px,24%) minmax(0,1fr);gap:clamp(12px,1.9vw,30px);padding:17px clamp(14px,1.6vw,25px)}
.collection-main {align-self:start;min-width:0;padding:2px 0}
.collection-head,.detail-kicker {display:flex;align-items:center;gap:10px}
.collection h2 {font-size:1.2rem;line-height:1.25;letter-spacing:-.03em}
.icon-frame {border-radius:9px;background:var(--surface);width:35px;height:35px;display:inline-grid;place-items:center;flex:none}
.icon-frame img {display:block;width:22px;height:22px}
.collection-description {font-size:.88rem;line-height:1.6;color:var(--muted);margin-top:8px;max-width:20em}
.offer-list {list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(10px,2.2vw,34px);align-content:center}
.offer-list li {min-width:0;border-bottom:1px solid #eae7df}
.offer-list li:nth-last-child(1),.offer-list li:nth-last-child(2):nth-child(odd) {border-bottom-color:transparent}
.offer {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:9px 0;min-height:46px}
a.offer:hover {color:var(--tone)}
.offer-static {grid-template-columns:minmax(0,1fr) auto}
.item-name {font-size:.97rem;font-weight:520;line-height:1.43}
.offer-note {display:block;margin-top:.27rem;color:var(--muted);font-size:.79rem;line-height:1.48;font-weight:400}
.detail-link {font-size:0;display:grid;place-items:center;color:#756d61;width:20px;height:24px}
.chev {display:inline-block;border:solid currentColor;border-width:1px 1px 0 0;width:6px;height:6px;transform:rotate(45deg)}
.empty-collection {display:block}
.footer {border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:20px 0 26px;font-size:.88rem;color:var(--muted)}
.crumbs {display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--muted);font-size:.91rem;padding:25px 0}
.crumbs a:hover,.footer a:hover,.back-bottom:hover {text-decoration:underline;text-underline-offset:3px}
.detail-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--paper)}
.detail-visual {position:relative;display:grid;grid-template-rows:minmax(280px,1fr) auto;background:var(--surface);min-width:0}
.detail-visual .art-large {width:100%;height:100%;max-height:none;aspect-ratio:auto}
.detail-signature {display:flex;justify-content:space-between;align-items:baseline;gap:12px;color:var(--tone);padding:14px clamp(18px,2.7vw,44px);background:var(--surface)}
.detail-signature b {font-size:clamp(1.45rem,2.3vw,2.15rem)}
.detail-signature span {font-size:.95rem}
.detail-info {padding:clamp(22px,3.1vw,50px);min-width:0}
.detail-kicker {color:var(--tone);font-size:.94rem;margin-bottom:14px;font-weight:600}
.detail-info h1 {font-size:clamp(1.7rem,2.65vw,2.55rem);line-height:1.28}
.detail-price {margin:14px 0 21px}
.detail-price .price {font-size:clamp(2rem,3.4vw,3rem)}
.specs {border-top:1px solid var(--line);padding:9px 0}
.specs>div {display:flex;justify-content:space-between;gap:15px;padding:6px 0;font-size:1rem}
.specs dt {color:var(--muted)}
.contact {background:#f6f3eb;border:1px solid #ddd5c5;border-radius:13px;padding:18px 20px;margin-top:13px}
.contact h2 {font-size:1.13rem}
.contact p {color:var(--muted);margin:5px 0 14px;font-size:.95rem;line-height:1.55}
.contact-line {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.wechat {font:650 1.32rem Arial,sans-serif;letter-spacing:.035em;user-select:all}
.contact button {color:white;background:#342a21;border:0;border-radius:24px;padding:10px 16px;font-size:.94rem;min-height:42px}
.contact button:hover {background:#524232}
.copy-status:not(:empty) {display:block;margin-top:9px;color:#574532}
.back-bottom {display:inline-block;margin:20px 0 46px;color:var(--accent)}
@media(max-width:980px){
  .wrap {width:calc(100% - 48px)}
  .collection {grid-template-columns:minmax(160px,24%) 1fr}
  .offer-list {column-gap:14px}
  .offer {gap:4px}
  .item-name {font-size:.92rem}
  .brand-card-caption {align-items:flex-start}
  .brand-card-caption>div>span {font-size:.82rem}
}
@media(max-width:760px){
  .brand-shelf {grid-template-columns:repeat(2,minmax(0,1fr))}
  .wrap {width:calc(100% - 32px)}
  .mast-inner {min-height:56px}
  .brand img {width:30px;height:30px}
  .brand b {font-size:1.25rem}
  .mast nav {gap:14px}
  .mast nav a {font-size:.85rem}
  .intro {padding:24px 0 15px}
  .intro-contact {display:none}
  .toolbar {align-items:flex-start;flex-direction:column;gap:10px}
  .collection {grid-template-columns:160px minmax(0,1fr);gap:9px}
  .offer-list {display:block}
  .offer-list li:nth-last-child(2):nth-child(odd) {border-bottom-color:#eae7df}
  .offer {gap:8px}
  .detail-layout {grid-template-columns:1fr}
  .detail-visual {grid-template-rows:clamp(150px,35vw,245px) auto}
  .detail-signature {padding:9px 18px}
  .detail-info {padding:21px}
  .crumbs {padding:16px 0}
}
@media(max-width:570px){
  .intro h1 {font-size:2rem}
  .intro p {font-size:.91rem;line-height:1.5}
  .brand-shelf {gap:7px}
  .brand-card {border-radius:10px}
  .brand-shelf .art-compact {aspect-ratio:2.5}
  .brand-card-caption {display:block;padding:10px 9px}
  .brand-card-caption strong {font-size:clamp(1.06rem,4.15vw,1.3rem)}
  .brand-card-caption>div>span {display:none}
  .from-price {margin-top:3px;gap:2px}
  .from-price .price {font-size:.92rem}
  .from-price .starting {font-size:.68rem}
  .category-menu {width:100%;gap:1px}
  .category-menu a {flex:1;font-size:.82rem;padding:5px 6px;min-height:34px}
  .collection {display:block;padding:13px 14px 4px}
  .collection-main {padding:0 0 8px}
  .collection h2 {font-size:1.1rem}
  .collection-description {margin:4px 0 0;font-size:.84rem}
  .offer-list {border-top:1px solid var(--line)}
  .offer {min-height:44px}
  .detail-kicker {margin-bottom:10px}
}
@media(max-width:355px){
  .wrap {width:calc(100% - 22px)}
  .brand {gap:5px}
  .mast nav {gap:9px}
  .mast nav a {font-size:.8rem}
  .category-menu a {font-size:.77rem;padding-inline:3px}
}
@media(prefers-reduced-motion:reduce){.brand-card {transition:none}.brand-card:hover,.brand-card:focus-visible {transform:none}}
