:root{--bg:#f7f8fc;--surface:#ffffff;--surface2:#edf0f8;--line:#e3e7f0;--text:#202541;--muted:#57617a;--accent:#777bdc;--accent-ink:#ffffff;--accent-strong:color-mix(in srgb,#3e43b3 86%,var(--accent));--accent-soft:color-mix(in srgb,var(--accent) 25%,#fbfbff);--radius:20px;color-scheme:light;font-family:Inter,'Segoe UI','Microsoft YaHei',sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:16px}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent-strong);outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}button{border:0}svg{display:block}.wrap{max-width:1200px;margin:auto;padding:0 32px}.header{height:88px;border-bottom:1px solid var(--line);background:#f7f8fcf2;position:relative;z-index:20;backdrop-filter:blur(20px)}.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:750;letter-spacing:1px}.logo-mark{width:36px;height:36px;border-radius:11px;background:var(--accent-strong);color:var(--accent-ink);display:grid;place-items:center;transform:rotate(-8deg);font-size:27px;line-height:1}.logo small{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:2.4px;display:block;line-height:1.2}.navlinks{display:flex;gap:35px;font-size:14px;color:#505a74}.navlinks a:hover,.navlinks .active{color:var(--accent-strong)}.navright{display:flex;align-items:center;gap:22px;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;padding:12px 22px;background:var(--accent-strong);color:var(--accent-ink);font-weight:650;line-height:1.5;transition:.2s}.btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.btn.secondary{border:1px solid var(--line);background:#fafbfe;color:var(--text)}.btn.small{font-size:14px;padding:9px 17px}.btn.danger{background:#f7e3e6;color:#7e3146}.textbtn{background:none;color:var(--accent-strong);padding:0}.announcement{border:1px solid var(--line);border-radius:8px;display:flex;gap:10px;align-items:center;padding:10px 15px;font-size:13px;color:var(--muted);margin-top:28px;background:#fafbfe}.announcement span:first-child{color:var(--accent-strong)}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:40px;padding:62px 0 64px;align-items:center}.eyebrow{color:var(--accent-strong);font-size:12px;letter-spacing:3px;font-weight:600;text-transform:uppercase;margin-bottom:20px;display:flex;gap:12px;align-items:center}.eyebrow:before{content:'';width:25px;height:1px;background:var(--accent-strong)}h1{font-size:58px;line-height:1.2;letter-spacing:-2px;font-weight:550}.hero h1 span{color:var(--accent-strong);display:block}.hero p{color:var(--muted);max-width:440px;margin:22px 0 28px;font-size:15px;line-height:1.9}.actions{display:flex;gap:12px;flex-wrap:wrap}.hero-note{display:flex;gap:20px;margin-top:27px;font-size:12px;color:#57617a}.hero-note span:before{content:'✓';color:var(--accent-strong);margin-right:7px}.hero-art{height:330px;position:relative;border:1px solid var(--line);border-radius:24px;background:radial-gradient(ellipse at 60% 70%,#cfd3ff90,transparent 65%),linear-gradient(140deg,#fafbfe,#e6e9fb);overflow:hidden;isolation:isolate}.hero-art:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#6268b912 1px,transparent 1px),linear-gradient(90deg,#6268b912 1px,transparent 1px);background-size:29px 29px;mask-image:linear-gradient(black,transparent)}.art-top{position:absolute;left:24px;top:20px;color:#5a6380;font-family:monospace;font-size:10px;letter-spacing:2px}.orbit{position:absolute;border:1px solid color-mix(in srgb, var(--accent-strong) 23%, transparent);border-radius:50%;width:390px;height:180px;top:115px;left:65px;transform:rotate(-29deg)}.orbit.two{transform:rotate(33deg);width:300px;left:105px}.art-card{position:absolute;width:220px;height:140px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-13deg);background:linear-gradient(120deg,#fdfdffdd,#e2e5f8f2);border:1px solid #c6cbed;border-radius:17px;box-shadow:0 20px 36px #29337425,inset 0 1px #ffffffad;padding:20px;z-index:2}.art-card .card-name{font-size:11px;letter-spacing:3px;color:var(--accent-strong)}.art-card .infinity{font-size:60px;line-height:1;margin-top:7px;color:#454eb8;font-weight:300}.art-card .card-bottom{display:flex;justify-content:space-between;color:#515b78;font-size:8px;letter-spacing:2px}.float-icon{width:54px;height:54px;position:absolute;display:grid;place-items:center;z-index:3;border:1px solid #d5d9f2;border-radius:15px;font-size:28px;box-shadow:0 8px 20px #29337420}.float-icon.gpt{left:45px;top:67px;background:#e4e7fa;color:#4048a8;transform:rotate(-10deg)}.float-icon.gemini{right:32px;top:78px;background:#e0e8f1;color:#3f5772;transform:rotate(10deg)}.float-icon.claude{right:73px;bottom:39px;background:#eee2da;color:#8a553d;transform:rotate(9deg)}.art-bottom{position:absolute;bottom:19px;left:24px;font-size:10px;letter-spacing:2px;color:#5a6380}.art-status{position:absolute;bottom:20px;right:22px;font-size:10px;color:var(--accent-strong)}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:24px}.benefit{display:flex;gap:13px;align-items:center}.benefit-icon{font-size:22px;color:var(--accent-strong);width:36px}.benefit strong{font-size:14px;font-weight:550}.benefit p{font-size:12px;color:var(--muted);margin-top:3px}.catalog{padding:58px 0}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}.section-title h2{font-size:27px;font-weight:550;letter-spacing:-.5px}.section-title p{font-size:14px;color:var(--muted);margin-top:6px}.tiny-label{font-size:11px;letter-spacing:2px;color:#57617a}.toolbar{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px;align-items:center}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tab{padding:9px 20px;border-radius:9px;background:transparent;color:var(--muted);font-size:14px;border:1px solid transparent}.tab.selected{background:var(--accent-soft);color:var(--accent-strong);border-color:color-mix(in srgb, var(--accent) 25%, transparent)}.tab span{font-size:11px;opacity:.6;margin-left:8px}.search{position:relative;width:230px}.search input{width:100%;border:1px solid var(--line);background:#ffffff;color:var(--text);border-radius:9px;padding:10px 13px;font-size:13px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:25px;position:relative;transition:.25s;display:flex;flex-direction:column;min-height:327px}.product:hover{border-color:#9fbaab;transform:translateY(-4px);box-shadow:0 10px 26px #31564516}.product-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.brand-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:29px;background:#e4e7fa;color:#4048a8}.brand-icon.gemini{background:#e0e8f1;color:#3f5772}.brand-icon.claude{background:#eee2da;color:#8a553d}.badge{font-size:11px;padding:4px 9px;border-radius:6px;background:#f1f3fc;border:1px solid var(--line);color:#57617a}.badge.featured{color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 5%, transparent);border-color:color-mix(in srgb, var(--accent) 16%, transparent)}.product h3{font-size:21px;font-weight:600;letter-spacing:-.4px}.product .summary{font-size:13px;color:var(--muted);margin-top:4px}.product-features{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 23px;font-size:11px;color:#57617a}.product-features span{border:1px solid var(--line);background:#fafbfe;padding:3px 8px;border-radius:5px}.product-bottom{display:flex;align-items:end;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;margin-top:auto}.price{font-size:29px;letter-spacing:-1px;font-weight:600;line-height:1.1}.price small{font-size:15px;margin-right:3px}.price sub{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0;bottom:0}.old{font-size:11px;text-decoration:line-through;color:#59637b;margin-top:6px}.card-link{font-size:12px;color:var(--accent-strong);border:1px solid color-mix(in srgb, var(--accent) 17%, transparent);border-radius:7px;padding:7px 12px}.section-service{padding:10px 0 60px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service{padding:25px;border:1px solid var(--line);border-radius:15px;background:#fafbfe}.service .service-symbol{font-size:24px;color:var(--accent-strong);margin-bottom:16px}.service h3{font-size:16px;margin-bottom:9px}.service p{font-size:13px;color:var(--muted)}.guide{display:grid;grid-template-columns:1fr 1fr;gap:85px;padding:45px 0 70px;border-top:1px solid var(--line)}.guide h2{font-size:28px;line-height:1.5;font-weight:500}.guide p{color:var(--muted);font-size:14px;margin-top:20px}.faq details{border-bottom:1px solid var(--line);padding:18px 0}.faq summary{cursor:pointer;font-size:14px}.faq details p{font-size:13px;margin-top:12px}.footer{border-top:1px solid var(--line);background:#edf0f8;padding:43px 0 22px}.footer-top{display:flex;justify-content:space-between;gap:40px;margin-bottom:35px}.footer p{color:var(--muted);font-size:12px;max-width:420px;margin-top:15px}.footer-links{display:flex;gap:60px;font-size:13px}.footer-links div{display:flex;flex-direction:column;gap:12px}.footer-links strong{font-weight:550;margin-bottom:3px}.footer-links a{color:var(--muted)}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:#57617a}.page{padding:35px 0 70px;min-height:65vh}.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:28px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.detail-art{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:22px;border:1px solid var(--line);background:radial-gradient(ellipse at center,#dfe3fc,transparent 72%),#f1f3fc;position:relative;overflow:hidden;gap:20px}.detail-art:after{content:'';position:absolute;width:290px;height:290px;border:1px solid color-mix(in srgb, var(--accent) 8%, transparent);transform:rotate(30deg);border-radius:55px;pointer-events:none}.detail-art .brand-icon{width:100px;height:100px;font-size:65px;border-radius:26px;z-index:1}.detail-art h2{font-size:32px;z-index:1}.detail-art small{font-size:11px;letter-spacing:4px;color:var(--muted)}.detail-info h1{font-size:32px;letter-spacing:-.7px;margin:14px 0 10px}.muted{color:var(--muted)}.detail-info p{font-size:14px}.detail-price{padding:23px 0;border-bottom:1px solid var(--line);margin-bottom:23px}.detail-price .price{font-size:38px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;font-size:14px}.field label{color:#404a62}.input,.field input,.field textarea,.field select{width:100%;padding:11px 13px;border:1px solid var(--line);background:var(--surface);border-radius:9px;color:var(--text);outline-offset:2px}.field textarea{min-height:100px;resize:vertical}.payment-options{display:flex;gap:10px;margin:10px 0 22px}.payment-choice{border:1px solid var(--line);background:var(--surface);padding:11px 20px;border-radius:10px;display:flex;align-items:center;gap:8px;font-size:14px}.payment-choice.chosen{border-color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 5%, transparent)}.pay-icon{width:25px;height:25px;border-radius:7px;display:inline-grid;place-items:center;background:#1677ff;color:white;font-size:13px}.pay-icon.wechat{background:#22a668}.checkout-total{display:flex;align-items:center;justify-content:space-between;margin:22px 0;font-size:14px}.checkout-total strong{font-size:23px;color:var(--accent-strong)}.full{width:100%}.fine{font-size:12px;color:var(--muted);margin-top:13px;line-height:1.8}.details-body{margin-top:35px;padding:30px;border:1px solid var(--line);border-radius:17px}.details-body h3{font-size:18px;margin:14px 0}.details-body p{white-space:pre-wrap;color:var(--muted);font-size:14px}.details-body ul{color:var(--muted);font-size:14px;padding-left:20px}.panel{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:30px}.narrow{max-width:580px;margin:25px auto}.panel h1{font-size:27px;letter-spacing:0;margin-bottom:12px}.panel h2{font-size:23px}.qr{background:white;padding:14px;border-radius:14px;width:238px;height:238px;object-fit:contain;display:block;margin:22px auto}.center{text-align:center}.status{padding:5px 10px;border-radius:6px;background:color-mix(in srgb, var(--accent) 7%, transparent);color:var(--accent-strong);font-size:12px}.status.reviewing{background:#f7ecd6;color:#684815}.order-amount{font-size:42px;font-weight:600;color:var(--accent-strong);margin-top:15px}.order-meta{border-top:1px solid var(--line);margin:20px 0;padding-top:16px;display:grid;gap:10px;font-size:13px}.order-meta div{display:flex;justify-content:space-between;gap:10px}.order-meta span{color:var(--muted)}.info-box{padding:14px 16px;border:1px solid color-mix(in srgb, var(--accent-strong) 23%, transparent);background:color-mix(in srgb, var(--accent) 3%, transparent);border-radius:10px;font-size:13px;color:#4f5874;margin:17px 0}.error-box{border-color:#e6cfaa;background:#fbf1e2;color:#704921}.empty{padding:65px 20px;text-align:center;color:var(--muted);grid-column:1/-1}.loading{padding:100px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);max-width:90vw;padding:12px 22px;background:#e9ebfb;color:#323967;border-radius:10px;box-shadow:0 8px 25px #26305728;z-index:100;display:none;font-size:14px}.admin-shell{display:grid;grid-template-columns:210px 1fr;gap:30px}.sidebar{display:flex;flex-direction:column;gap:7px;position:sticky;top:115px;height:fit-content}.sidebar button{background:transparent;text-align:left;padding:12px 17px;border-radius:9px;color:var(--muted);font-size:14px}.sidebar button.selected{color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 7%, transparent)}.admin-main{min-width:0}.admin-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.admin-title h1{font-size:27px;letter-spacing:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:13px;padding:20px;background:var(--surface);font-size:13px;color:var(--muted)}.stat strong{display:block;font-size:28px;color:var(--text);margin-top:7px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}table{border-collapse:collapse;width:100%;font-size:13px;background:var(--surface)}th,td{text-align:left;padding:15px 17px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-weight:500;color:var(--muted);background:#fafbfe}tr:last-child td{border-bottom:0}td .textbtn{margin-right:13px;font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.form-grid .wide{grid-column:1/-1}.upload{border:1px dashed #aab2cc;border-radius:10px;padding:20px;text-align:center;background:#fafbfe}.upload input{margin-top:10px;font-size:12px;max-width:100%;border:0;background:transparent;padding:5px}.upload img{width:115px;height:115px;object-fit:contain;background:white;padding:5px;border-radius:7px;margin:10px auto;display:block}.toolbar-row{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--muted);margin:18px 0}.checkbox input{margin-top:6px;accent-color:var(--accent-strong)}.history-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:17px 0;gap:10px}.history-row p{font-size:13px}.history-row small{font-size:11px;color:var(--muted)}.back{margin-bottom:20px}.inline-error{color:#9c3f32;margin:10px 0;font-size:14px;white-space:pre-wrap}.hidden{display:none!important}@media(min-width:1500px){.wrap{max-width:1260px}.hero{gap:80px}}@media(max-width:1000px){.navlinks{gap:20px}.hero h1{font-size:47px}.hero-art{height:310px}.float-icon.gemini{right:16px}.orbit{left:0}.grid{gap:14px}.product{padding:21px}.guide{gap:40px}.navright .btn{display:none}.benefits{gap:15px}.benefit p{font-size:11px}.admin-shell{grid-template-columns:160px 1fr}}@media(max-width:740px){.wrap{padding:0 20px}.header{height:74px}.logo{font-size:19px}.logo-mark{width:31px;height:31px}.navlinks{display:none}.navright{gap:15px;font-size:13px}.announcement{margin-top:20px;font-size:11px}.hero{grid-template-columns:1fr;gap:30px;padding:36px 0}.hero h1{font-size:44px}.hero p{margin:18px 0 24px}.hero-art{height:285px}.hero-note{gap:15px;font-size:11px}.benefits{grid-template-columns:1fr 1fr;gap:22px}.benefit strong{font-size:13px}.catalog{padding:38px 0}.section-title h2{font-size:24px}.tiny-label{display:none}.toolbar{align-items:stretch;flex-direction:column;gap:15px}.tabs{gap:5px}.tab{padding:7px 12px;font-size:13px}.search{width:100%}.grid{grid-template-columns:1fr 1fr;gap:12px}.product{padding:18px;min-height:290px}.product h3{font-size:18px}.product-top{margin-bottom:16px}.brand-icon{width:39px;height:39px;font-size:25px}.badge{font-size:10px;padding:3px 6px}.product .summary{font-size:12px;min-height:40px}.product-features{font-size:10px;margin:12px 0 16px}.product-bottom{align-items:start;gap:10px;flex-direction:column}.price{font-size:25px}.card-link{width:100%;text-align:center}.service-grid{grid-template-columns:1fr}.service{padding:20px}.service .service-symbol{float:left;margin-right:18px}.guide{grid-template-columns:1fr;gap:20px;padding:30px 0 40px}.guide h2{font-size:24px}.footer-top{flex-direction:column}.footer-links{gap:55px}.footer-bottom{flex-direction:column;gap:9px}.detail-grid{grid-template-columns:1fr;gap:25px}.detail-art{min-height:270px}.detail-info h1{font-size:28px}.page{padding-top:25px}.panel{padding:23px}.admin-shell{grid-template-columns:1fr}.sidebar{position:static;flex-direction:row;overflow:auto}.sidebar button{white-space:nowrap;padding:9px 15px}.form-grid{grid-template-columns:1fr}.stats{gap:9px}.stat{padding:14px;font-size:11px}.stat strong{font-size:23px}.section-title p{font-size:13px}.detail-art h2{font-size:28px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:740px){.hero h1{font-size:clamp(30px,9vw,42px);letter-spacing:-1.5px}}

.card-secret {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;margin:20px 0;background:var(--bg);border:1px solid var(--line);border-radius:10px}
.card-secret code {overflow-wrap:anywhere;min-width:0;font-size:16px;user-select:all}
.card-secret button {flex-shrink:0}
.inventory-count {margin:12px 0 22px;color:var(--muted)}


/* Storefront */
.header {
  height: 72px;
  background: #ffffffeb;
  border-bottom-color: #e8ebf4;
}
.logo { gap: 10px; letter-spacing: 0; }
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  transform: none;
  background: linear-gradient(150deg,#6269db,var(--accent-strong));
  box-shadow: 0 3px 8px #4b51b52e;
}
.logo small { letter-spacing: .4px; }
.navlinks .active { font-weight: 700; }
.navright .btn { border-radius: 9px; }
.announcement { margin-top: 24px; background: var(--surface); }
.hero { gap: 52px; padding: 44px 0 48px; }
.hero h1 { font-weight: 740; }
.hero h1 span { color: var(--text); }
.hero-art { height: 274px; }
.art-card .infinity { line-height: 1; font-size: 70px; }
.benefits { padding-block: 20px; }
.service { background: var(--surface); }
.footer { background: #f1f2f9; }

.catalog { max-width: 1030px; margin-inline: auto; padding: 50px 0 54px; }
.catalog-standalone {
  margin-top: 27px;
  padding: clamp(18px,3vw,33px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.catalog .section-title { margin-bottom: 24px; }
.catalog .section-title :is(h1,h2) {
  color: var(--text);
  font-size: clamp(29px,3.5vw,44px);
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: -.045em;
}
.catalog .section-title p { margin-top: 10px; font-size: 15px; }
.catalog .toolbar {
  margin-bottom: 22px;
  padding: 8px;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 3px #20234c04;
}
.catalog .tabs { gap: 4px; }
.catalog .tab {
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.6;
}
.catalog .tab:not(.selected):hover { background: #f1f3fa; }
.catalog .tab.selected { background: var(--accent-soft); border-color: transparent; }
.catalog .tab span {
  margin-left: 7px;
  border-radius: 12px;
  padding: 1px 5px;
  background: #e9ecf4;
  opacity: 1;
  font-variant-numeric: tabular-nums;
}
.catalog .tab.selected span { background: #ffffffa6; }
.catalog .search { flex-shrink: 0; width: min(225px,34%); }
.catalog .search::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.7px solid #67718a;
  pointer-events: none;
}
.catalog .search::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 22px;
  width: 6px;
  height: 1.7px;
  transform: rotate(45deg);
  background: #67718a;
  pointer-events: none;
}
.catalog .search input {
  height: 38px;
  padding: 7px 12px 7px 37px;
  border-color: transparent;
  background: #f3f5fa;
}
.product-groups { display: grid; gap: 30px; }
.product-group + .product-group { padding-top: 22px; border-top: 1px solid var(--line); }
.product-group-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 19px;
  font-weight: 720;
}
.product-group-title span { color: var(--muted); font-size: 12px; font-weight: 500; }
.product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.product {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 3px #25285205, 0 5px 17px #25285207;
}
.product:hover {
  border-color: #c6ccef;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px #30367a16;
}
.product-cover {
  --cover-light: #fff;
  --cover-tint: #f5f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  min-height: 180px;
  aspect-ratio: 1.28;
  padding: 19px 12px;
  text-align: center;
  color: #202640;
  border-bottom: 1px solid #eef0f8;
  background: linear-gradient(155deg,var(--cover-light) 30%,var(--cover-tint));
}
.product-cover:focus-visible { outline-offset: -4px; }
.tone-gemini { --cover-tint: #eef6fc; }
.tone-claude { --cover-tint: #fcf2ec; }
.tone-other { --cover-tint: #eef6f2; }
.cover-mark {
  display: block;
  width: clamp(95px,44%,124px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex: 0 0 auto;
}
.cover-mark-text { font-size: clamp(65px,8vw,105px); line-height: 1; text-align: center; color: var(--accent-strong); }
.product .cover-name {
  font-size: clamp(17px,1.75vw,24px);
  font-weight: 750;
  line-height: 1.23;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 13px 15px 15px;
}
.product-info .summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.product-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.product-meta span {
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f3f9;
  color: #505b78;
  font-size: 12px;
  line-height: 1.55;
}
.product-info .product-bottom {
  align-items: center;
  flex-flow: row wrap;
  gap: 6px 8px;
  border-top: 1px solid #eef0f6;
  padding-top: 10px;
}
.product-info .price {
  color: #232949;
  font-size: 25px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}
.product-info .badge { color: #565e75; background: #f4f5f9; border-color: #e9ecf4; }
.product-info .badge.featured { color: #24604b; background: #eaf6ef; border-color: #daece3; }
.product-availability { color:var(--muted); font-size:12px; line-height:1.45; }
.payment-preview h1 { margin-top:14px; }
.payment-placeholder {
  display:grid; justify-items:center; align-content:center; gap:12px;
  width:min(218px,100%); aspect-ratio:1; margin:20px auto;
  border:1px dashed var(--line); border-radius:12px; background:var(--bg);
  color:var(--muted); font-size:14px;
}
.purchase-page .breadcrumb { margin-bottom:20px; }
.purchase-steps {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
  max-width:540px; margin:0 0 22px; padding:0; list-style:none;
}
.purchase-steps li {
  padding:8px 10px; border:1px solid var(--line); border-radius:8px;
  color:var(--muted); text-align:center; font-size:13px;
}
.purchase-steps li[aria-current="step"] {
  border-color:transparent; background:var(--accent-soft);
  color:var(--accent-strong); font-weight:650;
}
.purchase-grid {
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  gap:23px; align-items:start;
}
.purchase-media,.purchase-panel { min-width:0; }
.purchase-art {
  position:relative; isolation:isolate; overflow:hidden; display:grid; place-items:center;
  width:100%; aspect-ratio:1.38; min-height:280px; max-height:420px;
  border:1px solid var(--line); border-radius:20px; padding:22px;
  background:radial-gradient(ellipse at 50% 42%,#fff 0%,transparent 71%),
    linear-gradient(154deg,#fff 13%,var(--cover-tint,#e9ecfd));
}
.purchase-art::before,.purchase-art::after {
  content:''; position:absolute; z-index:-1; aspect-ratio:1;
  width:70%; border:1px solid color-mix(in srgb,var(--accent) 14%,transparent); border-radius:27%;
  transform:rotate(30deg); pointer-events:none;
}
.purchase-art::after { width:91%; opacity:.45; }
.purchase-art-content { display:grid; justify-items:center; gap:18px; text-align:center; }
.purchase-art-content strong {
  color:var(--text); font-size:clamp(21px,3vw,38px); font-weight:750; line-height:1.2;
  letter-spacing:-.03em; overflow-wrap:anywhere;
}
.purchase-mark { width:clamp(104px,12vw,160px); height:auto; aspect-ratio:1; object-fit:contain; }
.purchase-mark-text { color:var(--accent-strong); font-size:clamp(76px,10vw,130px); line-height:1; }
.purchase-art-card { grid-template-rows:auto minmax(0,1fr); place-items:stretch; padding:clamp(13px,2.7vw,24px); }
.purchase-art-heading {
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding-bottom:8px; border-bottom:1px solid color-mix(in srgb,var(--accent) 22%,var(--line));
  color:var(--muted); font-size:clamp(12px,1.2vw,14px); font-weight:650;
}
.purchase-art-heading span:first-child { color:var(--accent-strong); }
.purchase-art-card .purchase-art-content { align-self:center; gap:clamp(6px,1.4vw,13px); }
.purchase-art-card .purchase-mark { width:clamp(78px,19vw,136px); }
.purchase-art-spec { color:var(--muted); font-size:clamp(12px,1.5vw,15px); line-height:1.45; }
.purchase-facts {
  display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0 0;
}
.purchase-facts div { padding:11px 13px; border:1px solid var(--line); border-radius:9px; background:var(--surface); }
.purchase-facts dt { font-size:12px; color:var(--muted); }
.purchase-facts dd { margin:3px 0 0; font-size:14px; font-weight:640; overflow-wrap:anywhere; }
.purchase-disclaimer { padding:8px 2px 0; font-size:12px; color:var(--muted); }
.purchase-panel { padding:clamp(17px,2.5vw,29px); border-radius:18px; }
.purchase-status { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:9px; }
.purchase-panel h1 { font-size:clamp(24px,3vw,37px); letter-spacing:-.03em; line-height:1.2; }
.purchase-summary { margin-top:9px; font-size:14px; color:var(--muted); overflow-wrap:anywhere; }
.purchase-tags { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 8px; padding:0; list-style:none; }
.purchase-tags li {
  padding:3px 9px; border:1px solid color-mix(in srgb,var(--accent) 22%,var(--line)); border-radius:6px;
  background:color-mix(in srgb,var(--accent) 8%,var(--surface)); color:var(--accent-strong); font-size:12px;
}
.purchase-account { font-size:13px; color:var(--muted); }
.purchase-total {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin:16px 0 18px; padding:12px 14px; border:1px solid var(--line);
  border-radius:11px; background:var(--bg);
}
.purchase-total span { font-size:14px; font-weight:650; }
.purchase-total small { display:block; margin-top:2px; color:var(--muted); font-size:12px; }
.purchase-total strong { white-space:nowrap; font-size:clamp(23px,3.4vw,33px); }
.checkout-method>span { display:block; margin:0 0 6px; font-size:14px; }
.checkout-method .payment-choice { width:100%; padding:9px 11px; }
.checkout-method-note { margin-inline-start:auto; color:var(--muted); font-size:12px; }
.purchase-submit { min-height:45px; }
.purchase-panel #form-error:empty { display:none; }
.purchase-details {
  display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:22px; margin-top:21px;
}
.purchase-details h2 { font-size:20px; margin-bottom:9px; }
.purchase-details :is(p,ul) { color:var(--muted); font-size:14px; white-space:pre-wrap; }
.purchase-details ul { padding-left:20px; }
.purchase-guide { grid-template-columns:repeat(2,minmax(0,1fr)); }
.purchase-guide ol { padding-left:21px; margin:0 0 8px; color:var(--muted); font-size:14px; }
.purchase-guide li + li,.purchase-guide p + p { margin-top:6px; }
.purchase-guide-aftercare { grid-column:1/-1; border-top:1px solid var(--line); padding-top:17px; }
.redeem-address { margin:16px 0; }
.redeem-address-row { display:flex; flex-wrap:wrap; align-items:stretch; gap:8px; }
.redeem-address-row input { flex:1 1 205px; min-width:0; }
.redeem-address .fine { margin-top:6px; }
.preview-panel .fine { margin:10px 0 12px; }
@media (max-width:780px) {
  .purchase-grid,.purchase-details { grid-template-columns:minmax(0,1fr); gap:14px; }
  .purchase-art { min-height:195px; aspect-ratio:1.65; max-height:295px; }
  .purchase-mark { width:clamp(86px,24vw,132px); }
  .purchase-art-content { gap:12px; }
  .purchase-page .breadcrumb,.purchase-steps { margin-bottom:13px; }
  .purchase-steps li { font-size:12px; }
}
.product-buy { width: 100%; min-height: 38px; padding: 8px 10px; font-size: 14px; }
.product-buy:disabled { opacity: 1; color: #59627d; background: #edf0f7; }
.product-buy:disabled:hover { transform: none; filter: none; }
.buy-form { margin-top: 22px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 740px) {
  .header { height: 65px; }
  .hero { gap: 22px; padding: 32px 0; }
  .hero-art { height: 235px; }
  .catalog { padding: 34px 0; }
  .catalog-standalone { margin-top: 16px; padding: 18px 10px; }
  .catalog .section-title { margin-bottom: 17px; }
  .catalog .section-title p { font-size: 14px; }
  .catalog .toolbar { margin-bottom: 15px; gap: 7px; }
  .catalog .tab { padding: 5px 8px; font-size: 12px; }
  .catalog .tab span { margin-left: 4px; font-size: 10px; }
  .catalog .search { width: 100%; }
  .product-groups { gap: 22px; }
  .product-group + .product-group { padding-top: 17px; }
  .product-group-title { font-size: 17px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product { border-radius: 10px; }
  .product-cover { gap: 8px; min-height: 135px; aspect-ratio: 1.06; padding: 10px 7px; }
  .cover-mark { width: clamp(58px,54%,85px); }
  .cover-mark-text { font-size: clamp(45px,11vw,70px); }
  .product .cover-name { font-size: 14px; }
  .product-info { gap: 8px; padding: 9px 8px 8px; }
  .product-info .summary, .product-meta span { font-size: 11px; }
  .product-info .price { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .product:hover { transform: none; }
}

/* Header menus use the same indigo accents as the catalog. */
.header {
  background: rgb(23 27 45 / 93%);
  border-bottom-color: #2e344b;
  color: #f1f2fa;
}
.header .nav { gap: clamp(12px,2vw,26px); }
.header .logo { flex-shrink: 0; }
.header .logo small { color: #bac0d5; }
.header .navlinks { gap: clamp(12px,1.8vw,25px); align-items: center; color: #e1e4f1; }
.header .navlinks > a,
.nav-dropdown > summary,
.header .navright { white-space: nowrap; }
.header .navlinks > a:hover,
.header .navlinks > a.active,
.nav-dropdown[open] > summary { color: #c5caff; }
.header .nav-buy {
  border-radius: 20px;
  background: #c0c6ff;
  color: #222859;
}
.header .navright > a:not(.btn):hover { color: #c5caff; }
.header :is(a,button,summary):focus-visible { outline: 2px solid #c5caff; outline-offset: 4px; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-chevron {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.nav-dropdown[open] .nav-chevron { margin-top: 4px; transform: rotate(225deg); }
.nav-popover {
  position: absolute;
  z-index: 1;
  top: calc(100% + 14px);
  left: -13px;
  width: min(256px,calc(100vw - 36px));
  max-height: min(570px,calc(100dvh - 100px));
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #3b435e;
  border-radius: 13px;
  background: #232a3d;
  box-shadow: 0 12px 25px #11162c40;
}
.nav-popover a {
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 8px;
  color: #f6f7fe;
}
.nav-popover a strong { font-size: 14px; font-weight: 650; }
.nav-popover a span { color: #c2c8db; font-size: 12px; }
.nav-popover a:hover,.nav-popover a:focus-visible { background: #353e59; }
.nav-popover a:focus-visible { outline-offset: -2px; }
.nav-toggle {
  display: none;
  padding: 5px 11px;
  border: 1px solid #59627d;
  border-radius: 8px;
  background: #262d40;
  color: #f1f2fa;
}
.hero h1 span { color: var(--accent-strong); margin-top: 4px; }
.product-info .summary { display: block; overflow-wrap: anywhere; line-height: 1.65; }
.page-intro { margin-bottom: 24px; }
.page-intro h1 { font-size: clamp(28px,4.2vw,43px); }
.page-intro p { margin-top: 10px; }
.topic-tile { display: grid; align-content: start; gap: 8px; }
.topic-tile:hover { border-color: #aeb7df; }
.topic-tile h2 { font-size: 19px; }
.topic-tile p { margin: 0; }
.activation-panel { max-width: 710px; margin: 10px auto; }
.activation-steps { margin: 24px 0; padding-left: 24px; }
.activation-steps li { padding: 8px 0 8px 5px; }
.activation-steps li p { color: var(--muted); }
@media (max-width: 1080px) {
  .header .nav { gap: 14px; }
  .header .navlinks { display: flex; gap: clamp(8px,1.35vw,17px); }
  .header .nav-buy { display: inline-flex; }
  .header .navright { gap: 13px; }
}
@media (max-width: 860px) {
  .header .nav { gap: 9px; padding-inline: 18px; }
  .header .navlinks { gap: 8px; font-size: 13px; }
  .nav-dropdown > summary { gap: 4px; }
  .header .navright { gap: 9px; font-size: 13px; }
  .header .nav-buy { padding-inline: 11px; font-size: 13px; }
}
@media (max-width: 735px) {
  .header .nav-buy { display: none; }
}
@media (max-width: 600px) and (pointer: fine) {
  .header { height: auto; }
  .header .nav {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "brand actions" "links links";
    gap: 6px 10px;
    padding-block: 8px;
  }
  .header .logo { grid-area: brand; }
  .header .navright { grid-area: actions; }
  .header .navlinks { grid-area: links; flex-wrap: wrap; gap: 5px 12px; }
}
@media (max-width: 680px) and (pointer: coarse) {
  .header .nav-toggle { display: inline-flex; }
  .header .nav-buy { display: none; }
  .header .navlinks {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid #3b435e;
    border-radius: 0 0 13px 13px;
    background: #202638;
    box-shadow: 0 12px 25px #11162c40;
  }
  .header .navlinks.navlinks-open { display: flex; flex-direction: column; }
  .header .navlinks > a,.nav-dropdown > summary { padding: 8px 10px; }
  .nav-dropdown > summary { justify-content: space-between; }
  .nav-popover { position: static; width: auto; max-height: none; margin: 1px 5px 6px; box-shadow: none; }
}
@media (max-width: 740px) {
  .hero-note { flex-wrap: wrap; }
  .hero .actions > a { min-height: 42px; }
  .catalog :is(.toolbar,.search,.section-title) { min-width: 0; }
  .catalog-standalone { padding-inline: 9px; }
  .product-info .summary { font-size: 12px; }
  .product-buy { min-height: 42px; }
  .page .panel { padding: 19px; }
  .checkout-total { gap: 10px; }
  .order-meta strong { max-width: 72%; overflow-wrap: anywhere; text-align: right; }
  .qr { max-width: 100%; height: auto; aspect-ratio: 1; }
  .footer-links { flex-wrap: wrap; gap: 22px 45px; }
}
@media (max-width: 355px) {
  .wrap { padding-inline: 14px; }
  .product-grid { grid-template-columns: minmax(0,1fr); }
  .product-cover { aspect-ratio: 1.5; }
  .product-info { padding: 11px 13px 13px; }
}
.order-chat {
  width: min(560px,calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface);
}
.order-chat::backdrop { background: #151a37a0; }
.chat-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chat-heading h2 { font-size: 19px; overflow-wrap: anywhere; }
.chat-messages {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  height: min(310px,37dvh);
  overflow: auto;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.chat-bubble { max-width: 92%; padding: 7px 10px; border-radius: 8px; background: var(--surface2); }
.chat-bubble.merchant-message { align-self: end; background: var(--accent-soft); }
.chat-bubble small { font-size: 11px; color: var(--muted); }
.chat-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.chat-compose label { display: block; font-size: 13px; }
.chat-compose textarea { width: 100%; min-height: 72px; resize: vertical; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.chat-compose .inline-error:empty { display: none; }
.chat-compose .btn { margin-top: 5px; }
