@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--green:#245e4c;--ink:#203b32;--muted:#819087;--line:#e4e9e2;--paper:#fbfcf8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}p{line-height:1.9;color:#77867d}button{border:0}h1,h2,h3,p{margin-top:0}h2{font-size:29px;letter-spacing:-1px}h3{font-size:18px}.wrap{max-width:1200px;margin:auto;padding-left:32px;padding-right:32px}.announcement{min-height:33px;background:#eaf0e5;text-align:center;color:#5b735f;font-size:11px;padding:8px 15px;letter-spacing:1px}.header{height:94px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:23px;letter-spacing:-1px}.brand-icon{background:var(--green);color:#fff;border-radius:11px;display:grid;place-items:center;width:38px;height:38px;font-family:serif;font-size:26px}.header nav{display:flex;gap:34px;align-items:center;font-size:13px}.text-button{padding:5px;background:transparent;color:inherit}.outline{background:transparent;border:1px solid #ccd6cc;padding:11px 18px;border-radius:7px;color:var(--ink);font-size:12px}.primary{display:inline-flex;justify-content:center;align-items:center;gap:40px;background:var(--green);color:#fff;padding:15px 25px;border-radius:7px;font-size:13px}.primary:hover,.buy:hover{background:#194936}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:600;color:#668472;margin-bottom:22px}.eyebrow span{display:inline-block;width:7px;height:7px;background:#699977;border-radius:50%;margin-right:8px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center;padding-top:48px;padding-bottom:64px}.hero h1{font-size:65px;line-height:1.23;letter-spacing:-4px;font-weight:600;margin-bottom:24px}.green{color:#66866c}.hero p{font-size:14px;line-height:2;margin-bottom:28px}.hero-notes{display:flex;gap:20px;font-size:10px;color:#859086;margin-top:30px}.hero-art{height:393px;border-radius:100px 12px 12px 12px;position:relative;background:#e6eddf;isolation:isolate}.hero-art:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 10%,#ffffff55,transparent 65%);pointer-events:none;border-radius:inherit}.sun{position:absolute;top:48px;right:70px;width:85px;height:85px;background:#faf6df;border-radius:50%;box-shadow:0 0 70px #fbf9e9}.mountain{position:absolute;bottom:0;width:100%;height:82%;clip-path:polygon(0 80%,12% 60%,23% 69%,44% 11%,53% 26%,65% 5%,80% 44%,100% 34%,100% 100%,0 100%);border-radius:0 0 12px 12px}.back{background:#b4c6ae}.middle{background:#8fa98f;height:60%;clip-path:polygon(0 57%,19% 18%,37% 58%,52% 38%,70% 70%,88% 29%,100% 46%,100% 100%,0 100%)}.front{background:#557c65;height:42%;clip-path:polygon(0 35%,22% 59%,39% 39%,61% 52%,82% 16%,100% 40%,100% 100%,0 100%)}.art-caption{position:absolute;bottom:30px;left:30px;color:#edf2e6;font-size:18px;letter-spacing:2px;z-index:2}.art-caption small{display:block;font-size:8px;letter-spacing:2px;margin-top:9px;opacity:.7}.art-label{position:absolute;left:35px;top:36px;font-size:9px;letter-spacing:3px;writing-mode:vertical-rl;color:#7c947c}.float-card{position:absolute;left:-31px;top:151px;display:flex;align-items:center;gap:13px;background:#fffef2ec;padding:16px 21px;border:1px solid #fff;border-radius:10px;box-shadow:0 15px 35px #304d3212;z-index:3;font-size:12px}.float-card small{display:block;font-size:9px;color:#8c978b;margin-top:5px}.spark{font-size:32px;color:#63866b}.steps{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:26px;padding-bottom:26px;gap:30px}.steps>div{display:flex;align-items:center;gap:16px}.steps>div:first-child{display:block}.steps small{display:block;color:#8c978d;font-size:10px}.steps h3{font-size:15px;margin:6px 0 0}.steps b{font-family:Georgia,serif;font-weight:400;font-size:30px;color:#a0b09b}.steps span{font-size:12px}.steps span small{margin-top:7px}.catalog{padding-top:67px;padding-bottom:55px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading .eyebrow{margin-bottom:12px}.section-heading h2{margin-bottom:12px}.section-heading h2 span{color:#97ae77;margin-left:15px}.section-heading p{font-size:12px;margin-bottom:0}.quiet{color:var(--muted);font-size:12px}.filter-row{display:flex;justify-content:space-between;align-items:center;margin:30px 0 24px;gap:20px}.tabs{display:flex;background:#eef1e9;padding:4px;border-radius:7px;gap:4px}.tabs button{padding:9px 20px;background:transparent;color:#778474;font-size:12px;border-radius:5px}.tabs .active{background:white;color:#31553c;box-shadow:0 1px 4px #263f1610}.search{margin:0;display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:0 13px;border-radius:6px;width:250px;color:#8a9887}.search input{border:0;margin:0;background:transparent;font-size:11px;padding:11px 0;width:100%}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product:hover{transform:translateY(-4px);box-shadow:0 10px 35px #2943290c}.product-art{height:168px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#edf2e9}.art-1{background:#e9eded}.art-2{background:#f2e9df}.art-3{background:#e9edf6}.product-symbol{font-size:76px;font-family:Georgia,serif;color:#4b765c;z-index:1}.art-1 .product-symbol{color:#476361}.art-2 .product-symbol{color:#bd886b}.art-3 .product-symbol{color:#7c8fbb}.product-watermark{position:absolute;font-size:56px;font-weight:800;opacity:.035;bottom:0;right:-4px;letter-spacing:-4px}.tag{position:absolute;left:17px;top:16px;font-size:9px;background:#ffffff9c;padding:5px 8px;border-radius:4px;color:#617361}.product-body{padding:21px}.product-meta{font-size:9px;color:#93a08e;display:flex;justify-content:space-between;margin-bottom:13px}.product-meta span{color:#829573}.product h3{font-size:18px;margin-bottom:10px}.product p{font-size:11px;min-height:37px;margin-bottom:24px}.product-bottom{border-top:1px solid #edf0e9;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:8px}.product-bottom strong{font-size:24px;font-weight:600}.product-bottom small{font-size:9px;color:#9ba497}.buy{font-size:10px;background:#edf2e9;color:#395c42;padding:10px 13px;border-radius:5px}.buy:hover{color:#fff}.sample-note{text-align:center;margin:24px 0 0;font-size:10px;color:#a0a89c}.guide{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:#f0f3eb;border-radius:12px;padding:37px 40px;margin-bottom:65px;max-width:1136px}.guide .eyebrow{margin-bottom:15px}.guide h2{font-size:24px;margin-bottom:12px}.guide p{font-size:12px}.guide .outline{margin-top:8px}details{border-bottom:1px solid #dce3d6;padding:16px 0}summary{cursor:pointer;font-size:12px;list-style:none;display:flex;justify-content:space-between;gap:15px}summary:after{content:'＋';color:#899b7b}details[open] summary:after{content:'−'}details p{margin:12px 0 0}footer{border-top:1px solid var(--line);padding-top:28px;padding-bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:30px}footer .brand{font-size:18px}footer .brand-icon{width:29px;height:29px;font-size:20px}footer p{font-size:10px;margin:10px 0 0}footer>span,footer>a{font-size:10px;color:#939d90}dialog{border:1px solid #dce4d8;border-radius:16px;padding:38px;width:470px;max-width:calc(100vw - 28px);color:var(--ink);box-shadow:0 25px 100px #1736252b}dialog::backdrop{background:#172d2660;backdrop-filter:blur(5px)}dialog h2{font-size:25px;margin-bottom:16px}dialog p{font-size:13px}.close{position:absolute;right:14px;top:10px;font-size:25px;color:#7f8c80;background:transparent}label{display:block;font-size:12px;margin:18px 0;color:#5d7163}input,textarea,select{display:block;border:1px solid #dce3d8;background:#fcfdf9;border-radius:6px;padding:12px;width:100%;margin-top:8px;color:var(--ink)}textarea{resize:vertical;min-height:90px}form>.primary{width:100%;margin-top:8px}.notice{padding:18px;background:#f0f3e9;border:1px solid #e3e8d8;border-radius:8px;font-size:12px;line-height:1.9;margin:24px 0;white-space:pre-wrap}.price-line{display:flex;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line)}.price-line strong{font-size:23px}.success-icon{font-size:30px;color:var(--green)}pre{white-space:pre-wrap;word-break:break-all;background:white;padding:12px;user-select:all}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#244c3d;color:white;padding:13px 24px;border-radius:8px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.show{opacity:1}.empty{padding:60px 25px;color:#8a9789;text-align:center;font-size:13px;grid-column:1/-1}.admin-body{background:#f5f7f2}.sidebar{position:fixed;top:0;bottom:0;left:0;width:218px;background:#fbfcf8;border-right:1px solid var(--line);padding:32px 22px}.sidebar .brand{font-size:21px}.sidebar-label{font-size:10px;color:#a2ad9f;margin:45px 12px 15px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav button{display:flex;gap:14px;align-items:center;text-align:left;background:transparent;padding:13px 16px;border-radius:7px;color:#778773;font-size:13px}.sidebar nav button.active{background:#e5eddf;color:#315b3c;font-weight:600}.sidebar nav button span{font-size:20px}.sidebar-bottom{position:absolute;bottom:30px;display:flex;flex-direction:column;gap:20px;font-size:12px;color:#7f8d7a;padding:0 15px}.sidebar-bottom button{text-align:left;padding:0}.admin-main{margin-left:218px}.admin-header{height:82px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.admin-avatar{width:33px;height:33px;border-radius:50%;background:#e3ebdb;display:grid;place-items:center}.admin-content{padding:38px;max-width:1550px;margin:auto}.admin-content h1{font-size:27px;letter-spacing:-1px;margin-bottom:10px}.admin-content .section-heading{margin-bottom:32px}.admin-content .section-heading p{font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.metric{border:1px solid var(--line);border-radius:10px;background:#fff;padding:23px}.metric span{font-size:12px;color:#86927f}.metric strong{display:block;font-size:30px;font-weight:500;margin:18px 0}.metric small{font-size:10px;color:#a0aa98}.panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:24px;margin-top:22px}.panel h3{font-size:16px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{font-weight:400;color:#8a9784;font-size:11px;background:#f7f9f3}td,th{padding:18px 14px;border-bottom:1px solid #edf0e8}td b{font-weight:500}td small{display:block;font-size:10px;color:#99a18f;margin-top:7px;max-width:280px;overflow:hidden;text-overflow:ellipsis}td .text-button{font-size:11px}td .outline{padding:6px 13px}.status{display:inline-block;font-size:10px;color:#5d7952;background:#eaf0e2;padding:6px 9px;border-radius:5px;white-space:nowrap}.status.pending{color:#a08539;background:#f6f1df}.status.cancelled{color:#969b90;background:#eff0ed}.danger{color:#b27c6a}.toolbar{display:flex;justify-content:space-between;align-items:center;color:#83927c;font-size:12px}.toolbar .primary{padding:12px 20px}.settings{max-width:680px}.settings form>.primary{width:auto}.form-row{display:flex;gap:18px}.form-row>label{flex:1}.check{display:flex;gap:10px;align-items:center}.check input{width:auto;margin:0}.login{max-width:440px;margin:10vh auto;background:white;border:1px solid var(--line);border-radius:16px;padding:40px}.login .brand{margin-bottom:44px}.login h1{font-size:30px}.login p{font-size:12px}.login .eyebrow{margin-bottom:15px}.back-link{display:block;text-align:center;font-size:11px;color:#85937e;margin-top:25px}
@media(min-width:1450px){.hero{padding-top:70px;padding-bottom:80px}.hero-art{height:420px}}@media(max-width:1000px){.hero{gap:35px}.hero h1{font-size:54px}.hero-art{height:340px}.hero-notes{gap:10px;font-size:9px}.product-grid{grid-template-columns:repeat(2,1fr)}.guide{margin-left:32px;margin-right:32px;gap:30px}.steps{gap:15px}.sidebar{width:180px;padding:25px 15px}.admin-main{margin-left:180px}.admin-content{padding:25px}.metrics{gap:12px;grid-template-columns:repeat(2,1fr)}.admin-content h1{font-size:23px}}@media(max-width:650px){.wrap{padding-left:22px;padding-right:22px}.header{height:78px}.brand{font-size:20px}.brand-icon{height:32px;width:32px;font-size:23px}.header nav{gap:15px;font-size:11px}.header nav a:last-child,.header>.outline{display:none}.hero{grid-template-columns:1fr;padding-top:30px;padding-bottom:35px;gap:35px}.hero h1{font-size:56px}.hero-art{height:310px;margin-left:16px}.hero-notes{font-size:10px;gap:18px}.steps{grid-template-columns:1fr 1fr;padding-top:22px;padding-bottom:22px;gap:25px}.steps b{font-size:25px}.catalog{padding-top:42px}.section-heading h2{font-size:23px}.section-heading h2 span{display:none}.section-heading>.quiet{display:none}.filter-row{flex-direction:column;align-items:stretch;gap:15px;margin-top:25px}.tabs button{flex:1;padding:9px 10px}.search{width:100%}.product-grid{grid-template-columns:1fr}.product-art{height:180px}.guide{grid-template-columns:1fr;margin:0 22px 40px;padding:27px 23px;gap:15px}.guide h2{font-size:23px}footer{flex-wrap:wrap;gap:20px}footer>span{font-size:9px}dialog{padding:30px 24px}.sidebar{position:static;width:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:18px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:3px;margin-top:18px;justify-content:space-between}.sidebar nav button{font-size:11px;padding:9px 8px}.sidebar nav button span{display:none}.admin-main{margin-left:0}.admin-header{height:55px;padding:0 22px}.admin-content{padding:25px 18px}.admin-content h1{font-size:21px;line-height:1.6}.admin-content .section-heading>.status{display:none}.metric{padding:18px}.metric strong{font-size:26px}.panel{padding:15px}.login{margin:8vh 20px;padding:30px}}

/* Hanshan Select — a quiet, editorial subscription storefront. */
:root{--canvas:#f7f3ec;--surface:#fffcf7;--soft:#efe8dd;--line:#e2d9cc;--ink:#332e28;--muted:#85796b;--accent:#a95135;--on-accent:#fff9f0;--header:#fcf9f4}
html[data-theme=dark]{color-scheme:dark;--canvas:#292623;--surface:#33302b;--soft:#3e3831;--line:#51483e;--ink:#f3e9da;--muted:#b9aa97;--accent:#e6ac83;--on-accent:#30231b;--header:#302b26}
body:not(.admin-body){background:var(--canvas);color:var(--ink);--green:var(--accent);--paper:var(--canvas);overflow-x:clip}
body:not(.admin-body) p{color:var(--muted)}
body:not(.admin-body) *{box-shadow:none!important;text-shadow:none!important}
.wrap{max-width:1240px;padding-left:36px;padding-right:36px}
.announcement{min-height:29px;padding:7px 16px;background:var(--soft);color:var(--muted);font-size:10px;letter-spacing:.8px}
.header{height:72px;gap:24px;justify-content:flex-start;position:relative;isolation:isolate;background:var(--header)}
.header::before{content:'';position:absolute;inset:0 calc((100% - 100vw)/2);z-index:-1;background:var(--header);border-bottom:1px solid var(--line)}
.brand{gap:12px;letter-spacing:0;flex-shrink:0}.brand-icon{background:transparent;overflow:hidden;flex-shrink:0;width:34px;height:34px;border-radius:8px}.brand-icon svg{width:100%;height:100%;display:block}.brand-wordmark{display:flex;align-items:center;gap:12px}.brand .site-name{font-size:21px;letter-spacing:1px;font-weight:700;line-height:1.3}.brand-english{font:9px/1.4 Arial,sans-serif;letter-spacing:1.5px;color:var(--muted)}
.redeem-entry{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:9px 12px;background:var(--soft);border:1px solid var(--line);border-radius:999px;color:var(--accent);font-size:11px;font-weight:500}
.redeem-entry svg,.store-nav svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.header .store-nav{margin-left:auto;display:flex;align-items:center;gap:5px}.header .store-nav>a,.header .store-nav>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding:9px 10px;min-height:38px;border:1px solid transparent;border-radius:5px;font-size:12px;color:var(--muted);background:transparent}
.header .store-nav>a:hover,.header .store-nav>button:hover{border-color:var(--line);color:var(--ink)}.header .store-nav .account-link{color:var(--accent)}.header .store-nav .theme-toggle{margin-left:6px;padding:9px}.recharge-link span{font-weight:400}
.hero.compact-hero{padding-top:44px;padding-bottom:44px;display:grid;grid-template-columns:1.4fr 1fr;gap:80px;align-items:center}.hero:before{display:none}.eyebrow{font-size:10px;letter-spacing:1.9px;color:var(--muted);font-weight:400}.eyebrow span{background:var(--accent);width:5px;height:5px}.hero .eyebrow{margin-bottom:16px}.hero h1{font-size:42px;line-height:1.3;letter-spacing:.5px;font-weight:600;margin-bottom:17px;color:var(--ink)}.title-dot{color:var(--accent)}.hero p{font-size:13px;line-height:1.9;margin-bottom:23px}.hero-actions{display:flex;align-items:center;gap:24px;font-size:11px}.hero-actions a:first-child{display:flex;align-items:center;gap:28px;padding:12px 18px;background:var(--accent);color:var(--on-accent);border-radius:5px}.hero-actions a:last-child{color:var(--muted)}
.purchase-flow{padding:23px 25px 0;border:1px solid var(--line);background:var(--surface);border-radius:9px;position:relative}.flow-heading{display:flex;justify-content:space-between;gap:20px;margin-bottom:16px;font:9px monospace;letter-spacing:1px}.flow-kicker{color:var(--accent)}.flow-index{color:var(--muted)}.purchase-flow>h3{font-size:21px;font-weight:500;line-height:1.5;letter-spacing:.5px;margin-bottom:22px}.flow-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.step-id{display:block;font:italic 24px Georgia,serif;color:var(--accent);margin-bottom:12px}.flow-columns h4{font-weight:500;font-size:12px;margin:0 0 6px}.flow-columns p{font-size:10px;margin:0;white-space:nowrap}.flow-guide{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:13px 0;margin-top:20px;font-size:10px;color:var(--muted)}
.catalog{padding-top:30px;padding-bottom:48px;position:relative}.catalog:before{content:'';position:absolute;left:36px;right:36px;top:0;border-top:1px solid var(--line)}.section-heading{align-items:flex-end}.section-heading .eyebrow{margin-bottom:12px}.section-heading h2{font-size:27px;letter-spacing:.2px;font-weight:600;margin-bottom:10px}.section-heading p{font-size:12px}.quiet{font-size:11px;color:var(--muted)}.filter-row{margin:25px 0 22px;gap:20px}.tabs{background:transparent;padding:0;border-radius:0;gap:6px}.tabs button{font-size:11px;padding:10px 16px;border:1px solid transparent;border-radius:5px;color:var(--muted);background:transparent}.tabs button.active{border-color:var(--line);background:var(--surface);color:var(--ink)}.search{background:var(--surface);border:1px solid var(--line);width:260px;border-radius:6px;color:var(--muted);padding:0 13px}.search input{background:transparent;border:0;margin:0;color:var(--ink);font-size:11px;padding:11px 0}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product{background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden;transition:border-color .15s}.product:hover{transform:none;border-color:var(--accent)}.product-body{padding:20px}.product-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:14px;color:var(--muted)}.delivery-tag{border:1px solid var(--line);border-radius:3px;padding:3px 7px}.stock-label{color:var(--muted)}.product h3{font-size:19px;font-weight:600;letter-spacing:-.3px;margin-bottom:9px}.product p{font-size:11px;line-height:1.8;min-height:40px;margin-bottom:18px}.product-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;align-items:flex-end;justify-content:space-between}.product-price>small{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.product-bottom strong{font-size:25px;font-weight:500;font-variant-numeric:tabular-nums}.buy{display:flex;align-items:center;gap:22px;border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--accent);padding:10px 12px;font-size:11px}.buy:hover{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.sample-note{font-size:10px;color:var(--muted);margin-top:23px}
/* Product covers are editable HTML graphics, not generic placeholder icons. */
.subscription-cover{--cover:#ede3d3;--pass:#fff8eb;--cover-ink:#594432;--pass-line:#c9b79c;position:relative;background:var(--cover);color:var(--cover-ink);height:224px;padding:18px 20px;overflow:hidden;border-bottom:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between}
.cover-pro{--cover:#dce5e8;--pass:#354f60;--cover-ink:#3a5666;--pass-line:#5d788a}.cover-claude{--cover:#eee0d9;--pass:#f9ebe1;--cover-ink:#8a503c;--pass-line:#c6a18d}.cover-gemini{--cover:#e6e1ef;--pass:#6b6086;--cover-ink:#5c5073;--pass-line:#9589b0}
.cover-top{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:1}.cover-top>span{font-size:12px;font-weight:700;letter-spacing:.6px}.cover-ai{font-family:Georgia,serif;color:inherit;margin-left:2px}.cover-top>small{font:7px monospace;letter-spacing:1px;opacity:.75}
.subscription-pass{position:relative;align-self:center;width:86%;max-width:260px;min-height:128px;padding:17px 18px;background:var(--pass);border:1px solid var(--pass-line);border-radius:9px;transform:rotate(-6deg);color:var(--cover-ink);display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.subscription-pass:after{content:'';position:absolute;right:16px;top:16px;width:42px;height:29px;border:1px solid currentColor;border-radius:50%;opacity:.14;transform:rotate(-25deg);z-index:-1}.pass-category{font:7px monospace;letter-spacing:1.5px;opacity:.75}.subscription-pass>strong{font-family:Georgia,'Microsoft YaHei',serif;font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:12px 0;overflow-wrap:anywhere}.pass-footer{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.2px}.pass-mark{font-size:18px;line-height:1}.cover-pro .subscription-pass,.cover-gemini .subscription-pass{color:#f4f5f4;transform:rotate(5deg)}.cover-bottom{display:flex;justify-content:space-between;gap:6px;font:6px monospace;letter-spacing:1.2px;opacity:.75;z-index:1}.subscription-cover:after{content:'';position:absolute;width:190px;height:190px;border:1px solid currentColor;border-radius:50%;right:-85px;bottom:-80px;opacity:.08;pointer-events:none}
.guide{max-width:1168px;margin:0 auto 44px;padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:9px;grid-template-columns:1fr 1.25fr;gap:60px}.guide h2{font-size:24px;letter-spacing:.1px;font-weight:500}.guide .eyebrow{font-size:9px}.guide p{font-size:11px}.guide .outline{font-size:11px}.guide-faq details{border-color:var(--line);padding:15px 0}.guide-faq summary{font-size:12px}.guide-faq summary:after{color:var(--muted)}
footer{border-color:var(--line);padding-top:27px;padding-bottom:32px}.footer-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.footer-links button{font-size:11px}.footer-links small{width:100%;text-align:right;font-size:9px;letter-spacing:1px}.footer-links a:hover{color:var(--accent)}footer p{font-size:10px}footer .brand .site-name{font-size:17px}footer .brand-english{font-size:8px}
body:not(.admin-body) :is(.outline,input,textarea,select,dialog){background:var(--surface);color:var(--ink);border-color:var(--line)}body:not(.admin-body) :is(label,.close){color:var(--muted)}body:not(.admin-body) .primary{background:var(--accent);color:var(--on-accent);border-radius:5px}body:not(.admin-body) .notice{background:var(--soft);border-color:var(--line);color:var(--muted)}body:not(.admin-body) pre{background:var(--soft);color:var(--ink);border:1px solid var(--line)}body:not(.admin-body) dialog{border-radius:12px}body:not(.admin-body) .price-line{border-color:var(--line)}body:not(.admin-body) input::placeholder{color:var(--muted)}.auth-switch{display:block;margin:22px auto 0;color:var(--accent)}.wallet-balance{padding:20px;background:var(--soft);border-radius:8px;display:flex;align-items:center;justify-content:space-between}.wallet-balance strong{font-size:28px}.wallet-balance span{color:var(--muted);font-size:12px}.account-actions{display:flex;gap:12px;margin-top:22px}.account-actions>*{flex:1}.account-records{margin-top:18px}.account-record{padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.account-record>small{display:block;overflow-wrap:anywhere;color:var(--muted);margin-top:6px;font-size:10px}.account-record p{margin:7px 0}.record-title{margin-top:26px;font-size:15px}body:not(.admin-body) #toast{background:var(--ink);color:var(--canvas)}
#support-popover{position:fixed;inset:auto;margin:0;padding:7px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);max-width:calc(100vw - 28px)}#support-popover::backdrop{background:transparent}.contact-row{width:100%;display:flex;align-items:center;gap:8px;padding:7px 9px;border:0;border-radius:8px;background:transparent;text-align:left;color:inherit;cursor:pointer}.contact-row:hover,.contact-row:focus-visible{background:var(--soft)}.contact-row svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.contact-row .wechat-icon{color:#43936b}.contact-row .telegram-icon{color:var(--accent)}.contact-row small{display:block;color:var(--muted);font:9px/1.4 monospace;letter-spacing:.5px}.contact-row strong{display:block;font:14px/1.4 ui-monospace,Consolas,monospace;font-weight:400;user-select:text}
html[data-theme=dark] .subscription-cover{--cover:#403a32;--pass:#625340;--cover-ink:#e2ccb0;--pass-line:#8d7658}html[data-theme=dark] .cover-pro{--cover:#333d42;--pass:#4b6777;--cover-ink:#c5d5dd;--pass-line:#7e9aaa}html[data-theme=dark] .cover-claude{--cover:#443730;--pass:#775543;--cover-ink:#f2d3bc;--pass-line:#a57e64}html[data-theme=dark] .cover-gemini{--cover:#3b3543;--pass:#74658d;--cover-ink:#ddd0ed;--pass-line:#a290bc}html[data-theme=dark] dialog::backdrop{background:#171512b3}
@media(min-width:761px) and (max-width:1100px){.header{gap:12px}.header .brand-wordmark{gap:8px}.header .brand .site-name{font-size:18px}.header .brand-english{font-size:8px;letter-spacing:.6px}.header .store-nav{gap:1px}.header .store-nav>a,.header .store-nav>button{padding:8px 5px;font-size:11px}.redeem-entry{font-size:10px;padding:8px}.hero.compact-hero{gap:35px;grid-template-columns:1.15fr 1fr}.hero h1{font-size:36px}.hero p{font-size:12px}.purchase-flow{padding:20px 19px 0}.product-grid{gap:16px}.subscription-cover{height:204px;padding:16px}.subscription-pass{width:92%;padding:15px;min-height:115px}.subscription-pass>strong{font-size:22px}.product-body{padding:16px}.product h3{font-size:17px}.buy{gap:10px;font-size:10px;padding:9px}.product-bottom strong{font-size:23px}}
@media(max-width:1000px){.guide{margin-left:36px;margin-right:36px}}
@media(max-width:760px){.wrap{padding-left:22px;padding-right:22px}.header{height:auto;min-height:101px;flex-wrap:wrap;padding-top:12px;padding-bottom:8px;gap:10px 12px}.header .brand{gap:9px}.header .brand-icon{width:30px;height:30px}.header .brand .site-name{font-size:18px}.header .brand-wordmark{gap:9px}.header .brand-english{font-size:8px;letter-spacing:.7px}.redeem-entry{padding:7px 9px;font-size:10px;gap:4px}.redeem-entry svg{width:14px;height:14px}.header .store-nav{width:100%;margin:0;justify-content:space-between;gap:2px}.header .store-nav>a,.header .store-nav>button{font-size:11px;padding:8px 6px;min-height:35px}.header .store-nav .theme-toggle{position:absolute;top:10px;right:18px;padding:8px;margin:0}.header .store-nav #support svg{display:none}.header .store-nav a:last-child{display:inline-flex}.hero.compact-hero{padding-top:28px;padding-bottom:28px;grid-template-columns:1fr;gap:25px}.hero .eyebrow{font-size:9px;margin-bottom:14px}.hero h1{font-size:34px;margin-bottom:15px}.hero p{font-size:12px;margin-bottom:20px}.hero-actions{font-size:10px;gap:18px}.hero-actions a:first-child{padding:11px 15px;gap:22px}.purchase-flow{padding:18px 20px 0}.purchase-flow>h3{font-size:18px;line-height:1.4;margin-bottom:18px}.purchase-flow>h3 br{display:none}.flow-heading{margin-bottom:13px;font-size:8px}.step-id{font-size:22px;margin-bottom:10px}.flow-guide{padding:12px 0;margin-top:15px}.catalog{padding-top:24px;padding-bottom:32px}.catalog:before{left:22px;right:22px}.section-heading h2{font-size:23px}.section-heading p{font-size:11px}.section-heading .eyebrow{font-size:9px}.filter-row{flex-direction:column;align-items:stretch;gap:13px;margin:22px 0 18px}.tabs button{flex:1;padding:9px 10px}.search{width:100%}.product-grid{grid-template-columns:1fr;gap:20px}.subscription-cover{height:228px;padding:18px 22px}.subscription-pass{max-width:248px;min-height:130px}.product-body{padding:20px}.product h3{font-size:20px}.product p{min-height:0;margin-bottom:20px;font-size:12px}.product-bottom strong{font-size:27px}.buy{padding:11px 16px;font-size:12px}.guide{margin:0 22px 32px;padding:23px;grid-template-columns:1fr;gap:14px}.guide h2{font-size:22px}.footer-links{gap:17px}.footer-links small{text-align:left}footer{gap:23px;flex-wrap:wrap;padding-bottom:26px}.brand-english{font-size:8px}}
@media(max-width:370px){.header .brand-english{display:none}.hero-actions{gap:12px}.flow-columns{gap:8px}.flow-columns p{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* Store architecture: catalog-led commerce, clear service information. */
:root{--canvas:#f6f5f1;--surface:#fffefb;--soft:#eeece5;--line:#e3e0d8;--ink:#2d302f;--muted:#777a74;--accent:#9c573d;--on-accent:#fff;--header:#fffefb}
html[data-theme=dark]{--canvas:#282a29;--surface:#323532;--soft:#3d403b;--line:#4b5049;--ink:#f0f0e8;--muted:#b2b8ab;--accent:#dda880;--on-accent:#28251f;--header:#30322f}
.storefront-pro .wrap{max-width:1320px;padding-left:40px;padding-right:40px}
.storefront-pro .header{height:76px;gap:22px}.storefront-pro .announcement{font-size:10px;padding:7px 18px}.storefront-pro .header .store-nav{gap:9px}.storefront-pro .header .store-nav>a,.storefront-pro .header .store-nav>button{font-size:12px;padding:10px 11px}.storefront-pro .brand .site-name{font-size:21px}.storefront-pro .brand-english{font-size:9px;letter-spacing:1.5px}
.section-overline{display:block;font-size:10px;letter-spacing:1.6px;color:var(--muted);line-height:1.6}
.shop-intro{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:60px;align-items:center;padding-top:34px;padding-bottom:30px}
.intro-copy .section-overline{color:var(--accent);font-size:10px;margin-bottom:15px}.intro-copy h1{font-size:35px;line-height:1.45;letter-spacing:.2px;font-weight:600;margin:0 0 12px;color:var(--ink)}.intro-copy h1 span{white-space:nowrap}.intro-copy p{font-size:13px;margin-bottom:22px}.intro-links{display:flex;align-items:center;gap:25px;font-size:11px}.intro-links .primary{gap:32px;padding:11px 18px;font-size:12px}.intro-links>a:last-child{color:var(--muted)}
.intro-desk{padding:20px 22px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.desk-top{display:flex;align-items:center;gap:11px;font:8px monospace;letter-spacing:1px;color:var(--muted)}.desk-top small{display:block;font:12px 'Microsoft YaHei',sans-serif;color:var(--ink);margin-top:5px;letter-spacing:.4px}.desk-symbol{width:35px;height:35px;border:1px solid var(--line);display:grid;place-items:center;font:italic 25px Georgia,serif;color:var(--accent);border-radius:4px}.intro-desk p{font-size:13px;line-height:1.7;margin:17px 0 12px}.intro-desk button{display:flex;justify-content:space-between;align-items:center;width:100%;color:var(--accent);border-top:1px solid var(--line);padding:12px 0 0;font-size:11px}
.store-promises{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding-top:19px;padding-bottom:19px;position:relative}.store-promises:before,.store-promises:after{content:'';position:absolute;left:40px;right:40px;border-top:1px solid var(--line)}.store-promises:before{top:0}.store-promises:after{bottom:0}.store-promises>div{display:flex;align-items:center;gap:13px}.store-promises>div+div{border-left:1px solid var(--line);padding-left:34px}.store-promises svg{width:25px;height:25px;fill:none;stroke:var(--muted);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.store-promises span{font-size:12px;font-weight:500}.store-promises small{display:block;font-size:10px;color:var(--muted);margin-top:5px;font-weight:400}
.storefront-pro .catalog{padding-top:34px;padding-bottom:40px}.storefront-pro .catalog:before{display:none}.catalog-layout{display:grid;grid-template-columns:174px minmax(0,1fr);gap:32px;align-items:start}.catalog-sidebar{position:sticky;top:24px;padding-top:6px}.sidebar-caption{display:block;font-size:12px;font-weight:600;margin-bottom:17px}.catalog-sidebar .tabs{display:flex;flex-direction:column;gap:5px;background:transparent}.catalog-sidebar .tabs button{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:11px 12px;font-size:12px;border:1px solid transparent;color:var(--muted);border-radius:5px}.catalog-sidebar .tabs button.active{background:var(--soft);color:var(--accent);border-color:var(--line)}.catalog-sidebar .tabs button:hover{border-color:var(--line)}.catalog-sidebar .tabs button span{pointer-events:none;font-size:12px}.sidebar-assist{margin-top:28px;padding:18px 15px;background:var(--surface);border:1px solid var(--line);border-radius:6px}.sidebar-assist small{font-size:10px;color:var(--muted)}.sidebar-assist h3{font-size:18px;font-weight:500;line-height:1.5;margin:13px 0 10px}.sidebar-assist p{font-size:11px;line-height:1.85;margin:0 0 16px}.sidebar-assist button{font-size:11px;background:transparent;color:var(--accent);padding:0}.sidebar-help{display:block;padding:18px 0;font-size:10px;color:var(--muted)}
.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.catalog-heading h2{font-size:25px;line-height:1.4;letter-spacing:.2px;margin:5px 0 0;font-weight:600}.catalog-heading .search{margin:0;width:250px;border-radius:5px}.catalog-heading .search svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:1.5;flex-shrink:0}.catalog-heading .search input{font-size:11px;padding:12px 0}.catalog-status{display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--muted);font-size:10px;padding:19px 0 16px}.catalog-content{min-width:0}.storefront-pro .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.storefront-pro .product{border-radius:7px}.storefront-pro .subscription-cover{height:194px;padding:15px 17px}.storefront-pro .subscription-pass{width:90%;min-height:114px;padding:14px 16px}.storefront-pro .subscription-pass>strong{font-size:23px}.storefront-pro .cover-top>small{font-size:6px;letter-spacing:.5px}.storefront-pro .cover-bottom{font-size:6px;letter-spacing:.4px}.storefront-pro .product-body{padding:18px}.storefront-pro .product-meta{font-size:9px;margin-bottom:12px}.storefront-pro .product h3{font-size:18px}.storefront-pro .product p{font-size:11px;line-height:1.75;min-height:39px}.storefront-pro .product-bottom{align-items:flex-end;padding-top:15px}.storefront-pro .product-bottom strong{font-size:24px}.storefront-pro .buy{font-size:10px;gap:16px;padding:9px 10px}.catalog-notice{display:flex;align-items:baseline;gap:12px;padding:14px 0 0;font-size:10px;color:var(--muted)}.catalog-notice>span{white-space:nowrap}.catalog-notice p{font-size:10px;margin:0;line-height:1.6}
.purchase-section{padding-top:30px;padding-bottom:35px;position:relative}.purchase-section:before{content:'';position:absolute;left:40px;right:40px;top:0;border-top:1px solid var(--line)}.section-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:23px}.section-title-row h2{font-size:24px;font-weight:500;letter-spacing:.2px;margin:7px 0 0}.section-title-row>a{font-size:11px;color:var(--muted)}.order-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden}.order-steps article{position:relative;padding:22px 24px}.order-steps article+article{border-left:1px solid var(--line)}.step-number{display:block;font:italic 26px Georgia,serif;color:var(--accent);margin-bottom:17px}.order-steps h3{font-size:14px;font-weight:500;margin-bottom:9px}.order-steps p{font-size:11px;line-height:1.85;margin:0}
.service-section{padding-top:16px;padding-bottom:36px}.service-layout{display:grid;grid-template-columns:1fr 1.7fr;gap:85px;align-items:start;border-top:1px solid var(--line);padding-top:32px}.service-heading h2{font-size:27px;line-height:1.5;font-weight:500;letter-spacing:.4px;margin:13px 0}.service-heading p{font-size:12px;line-height:1.9;margin-bottom:21px}.service-heading .outline{font-size:11px}.service-section .guide-faq{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:2px 22px}.service-section details{padding:19px 0}.service-section details:last-child{border-bottom:0}.service-section summary{font-size:13px;line-height:1.7}.service-section details p{font-size:12px;line-height:1.9;margin:12px 0 0}
.contact-strip{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:23px;padding-bottom:23px;position:relative;margin-bottom:35px}.contact-strip:before{content:'';position:absolute;left:40px;right:40px;top:0;bottom:0;border:1px solid var(--line);border-radius:7px;background:var(--soft);z-index:-1}.contact-strip>div{display:flex;align-items:center;gap:18px;padding-left:23px}.contact-strip-icon{font:30px Georgia,serif;color:var(--accent)}.contact-strip h3{font-size:18px;font-weight:500;margin-bottom:6px}.contact-strip p{font-size:11px;margin:0}.contact-strip>.primary{margin-right:23px;font-size:11px;padding:12px 18px;gap:28px}
.storefront-pro .store-footer{display:grid;grid-template-columns:1.6fr .8fr 1fr 1.4fr;align-items:start;gap:28px;border-top:1px solid var(--line);padding-top:30px;padding-bottom:20px}.store-footer .brand-wordmark{gap:8px}.store-footer .brand .site-name{font-size:18px}.store-footer .brand-english{font-size:7px;letter-spacing:1px}.store-footer .brand-icon{width:29px;height:29px}.store-footer>div:first-child>p{max-width:235px;font-size:10px;line-height:1.9;margin-top:15px}.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:11px;color:var(--muted)}.footer-column h3{font-size:12px;font-weight:500;color:var(--ink);margin:4px 0 5px}.footer-column button{padding:0;font-size:11px;color:var(--muted)}.footer-column a:hover,.footer-column button:hover{color:var(--accent)}.footer-column .footer-note{font-size:9px;line-height:1.7}.footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:18px;color:var(--muted);font-size:9px}
@media(min-width:761px) and (max-width:1100px){.storefront-pro .wrap{padding-left:28px;padding-right:28px}.storefront-pro .header{gap:12px}.storefront-pro .header .brand .site-name{font-size:18px}.storefront-pro .header .brand-english{font-size:7px;letter-spacing:.5px}.storefront-pro .header .store-nav{gap:0}.storefront-pro .header .store-nav>a,.storefront-pro .header .store-nav>button{font-size:10px;padding:8px 5px}.shop-intro{gap:30px;grid-template-columns:1fr 245px}.intro-copy h1{font-size:29px}.intro-copy h1 span{display:block}.intro-copy p{font-size:12px}.intro-desk{padding:18px}.store-promises{gap:20px}.store-promises>div+div{padding-left:20px}.store-promises:before,.store-promises:after,.purchase-section:before,.contact-strip:before{left:28px;right:28px}.store-promises span{font-size:11px}.store-promises small{font-size:9px}.catalog-layout{grid-template-columns:145px minmax(0,1fr);gap:23px}.storefront-pro .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.catalog-heading h2{font-size:23px}.catalog-heading .search{width:190px}.catalog-status{font-size:9px}.catalog-status>span:last-child{display:none}.storefront-pro .product-body{padding:15px}.storefront-pro .subscription-cover{height:195px;padding:14px}.storefront-pro .product h3{font-size:17px}.storefront-pro .buy{gap:8px;padding:8px;font-size:10px}.storefront-pro .product-bottom strong{font-size:23px}.order-steps article{padding:19px}.service-layout{gap:35px;grid-template-columns:1fr 1.6fr}.service-heading h2{font-size:24px}.storefront-pro .store-footer{grid-template-columns:1.4fr .8fr 1fr;gap:28px}.store-footer>.footer-column:nth-of-type(4){grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap}.store-footer>.footer-column:nth-of-type(4) h3{margin:0 12px 0 0}}
@media(max-width:760px){.storefront-pro .wrap{padding-left:22px;padding-right:22px}.storefront-pro .header{height:auto;min-height:101px;gap:10px 11px}.storefront-pro .header .brand .site-name{font-size:18px}.storefront-pro .header .brand-english{font-size:7px;letter-spacing:.6px}.storefront-pro .header .store-nav{gap:0}.storefront-pro .header .store-nav>a,.storefront-pro .header .store-nav>button{font-size:11px;padding:8px 6px}.storefront-pro .header .store-nav .theme-toggle{top:10px;right:16px;padding:8px}.shop-intro{grid-template-columns:1fr;gap:20px;padding-top:28px;padding-bottom:25px}.intro-copy .section-overline{font-size:9px;margin-bottom:12px}.intro-copy h1{font-size:29px;line-height:1.45;letter-spacing:0}.intro-copy h1 span{display:block}.intro-copy p{font-size:12px;line-height:1.8;margin-bottom:20px}.intro-links{gap:22px;font-size:11px}.intro-links .primary{padding:11px 16px;font-size:11px;gap:25px}.intro-desk{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:14px 16px}.intro-desk .desk-top{gap:9px}.desk-symbol{width:30px;height:30px;font-size:22px}.desk-top small{font-size:11px}.intro-desk p{display:none}.intro-desk button{padding:0;border:0;gap:12px;font-size:11px}.store-promises{gap:10px;padding-top:16px;padding-bottom:16px}.store-promises:before,.store-promises:after,.purchase-section:before{left:22px;right:22px}.store-promises>div{display:block}.store-promises>div+div{padding-left:10px}.store-promises svg{display:block;width:21px;height:21px;margin-bottom:8px}.store-promises span{font-size:10px;line-height:1.6}.store-promises small{font-size:9px;line-height:1.7;margin-top:4px}.storefront-pro .catalog{padding-top:24px;padding-bottom:28px}.catalog-layout{grid-template-columns:1fr;gap:19px}.catalog-sidebar{position:static;padding:0}.sidebar-caption,.sidebar-assist,.sidebar-help{display:none}.catalog-sidebar .tabs{flex-direction:row;gap:6px}.catalog-sidebar .tabs button{justify-content:center;gap:7px;padding:10px 9px;font-size:11px}.catalog-sidebar .tabs button span{display:none}.catalog-heading{flex-wrap:wrap;gap:15px}.catalog-heading>div{flex:1}.catalog-heading h2{font-size:25px;margin-top:5px}.catalog-heading .section-overline{font-size:9px}.catalog-heading .search{width:100%;order:2}.catalog-status{font-size:9px;padding:15px 0}.catalog-status>span:last-child{font-size:8px}.storefront-pro .product-grid{grid-template-columns:1fr;gap:19px}.storefront-pro .subscription-cover{height:218px;padding:18px 22px}.storefront-pro .subscription-pass{width:86%;min-height:127px;padding:16px 19px}.storefront-pro .subscription-pass>strong{font-size:26px}.storefront-pro .cover-top>small{font-size:7px}.storefront-pro .product-body{padding:20px}.storefront-pro .product h3{font-size:20px}.storefront-pro .product-meta{font-size:10px}.storefront-pro .product p{font-size:12px;min-height:0}.storefront-pro .product-bottom strong{font-size:27px}.storefront-pro .buy{font-size:12px;padding:11px 14px;gap:18px}.catalog-notice{gap:9px;font-size:9px}.catalog-notice p{font-size:9px}.purchase-section{padding-top:25px;padding-bottom:25px}.section-title-row{margin-bottom:20px;align-items:start}.section-title-row h2{font-size:23px;line-height:1.5}.section-title-row>a{display:none}.order-steps{grid-template-columns:1fr 1fr}.order-steps article{padding:20px 18px}.order-steps article:nth-child(3){border-left:0}.order-steps article:nth-child(n+3){border-top:1px solid var(--line)}.step-number{font-size:25px;margin-bottom:13px}.order-steps h3{font-size:13px}.order-steps p{font-size:11px}.service-section{padding-top:0;padding-bottom:25px}.service-layout{grid-template-columns:1fr;gap:22px;padding-top:25px}.service-heading h2{font-size:25px;line-height:1.4}.service-heading h2 br{display:none}.service-heading p br{display:none}.service-heading p{font-size:12px;margin-bottom:15px}.service-section .guide-faq{padding:0 17px}.service-section summary{font-size:12px}.service-section details p{font-size:11px}.contact-strip{padding-top:20px;padding-bottom:20px;flex-wrap:wrap;gap:16px;margin-bottom:27px}.contact-strip:before{left:22px;right:22px}.contact-strip>div{padding-left:17px;padding-right:17px;gap:12px}.contact-strip h3{font-size:17px}.contact-strip p{font-size:10px;line-height:1.8}.contact-strip-icon{font-size:26px}.contact-strip>.primary{margin:0 0 0 17px;font-size:11px;padding:10px 16px}.storefront-pro .store-footer{grid-template-columns:1fr 1fr;gap:27px;padding-top:25px}.store-footer>div:first-child{grid-column:1/-1}.store-footer>div:first-child>p{max-width:none;font-size:11px;margin-top:12px}.store-footer>.footer-column:nth-of-type(4){grid-column:1/-1}.footer-column{font-size:11px;gap:12px}.footer-column h3{font-size:13px;margin-top:0}.footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;font-size:9px}}
/* Smaller product covers with proportionate subscription cards. */
.storefront-pro .subscription-cover{height:156px;padding:12px 16px}
.storefront-pro .subscription-pass{width:82%;max-width:220px;min-height:92px;padding:10px 13px}
.storefront-pro .subscription-pass>strong{font-size:20px;margin:7px 0}
.storefront-pro .pass-category{font-size:6px;letter-spacing:1px}
.storefront-pro .pass-footer{font-size:7px}
.storefront-pro .pass-mark{font-size:15px}
.storefront-pro .subscription-pass:after{width:32px;height:23px;top:12px;right:12px}
@media(max-width:760px){.storefront-pro .subscription-cover{height:170px;padding:13px 20px}.storefront-pro .subscription-pass{width:76%;max-width:230px;min-height:100px;padding:12px 15px}.storefront-pro .subscription-pass>strong{font-size:22px}}
/* Square product covers at every screen size. */
.storefront-pro .subscription-cover{height:auto;aspect-ratio:1 / 1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:16px}
.storefront-pro .subscription-pass{justify-self:center;align-self:center;width:84%;max-width:240px}
@media(max-width:760px){.storefront-pro .subscription-cover{height:auto;padding:18px 20px}.storefront-pro .subscription-pass{width:82%;max-width:250px}}
/* Square overall product cards; landscape artwork inside. */
.storefront-pro .product{aspect-ratio:1 / 1;display:grid;grid-template-rows:43% minmax(0,1fr);min-width:0}
.storefront-pro .product .subscription-cover{aspect-ratio:auto;height:100%;min-height:0;padding:10px 13px;display:flex;flex-direction:column;justify-content:space-between}
.storefront-pro .product .subscription-pass{align-self:center;width:76%;max-width:220px;min-height:0;height:auto;padding:7px 11px;transform:rotate(-4deg)}
.storefront-pro .product .subscription-pass>strong{font-size:18px;line-height:1.1;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.storefront-pro .product .pass-category{font-size:5px;letter-spacing:.8px}
.storefront-pro .product .pass-footer{font-size:6px;line-height:1.2}
.storefront-pro .product .pass-mark{font-size:12px}
.storefront-pro .product .cover-top>span{font-size:10px}
.storefront-pro .product .cover-top>small{font-size:5px}
.storefront-pro .product .cover-bottom{display:none}
.storefront-pro .product .product-body{padding:12px 14px;display:flex;flex-direction:column;min-height:0}
.storefront-pro .product .product-meta{font-size:8px;margin-bottom:7px;line-height:1.2}
.storefront-pro .product .delivery-tag{padding:2px 5px}
.storefront-pro .product h3{font-size:16px;line-height:1.25;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.storefront-pro .product p{font-size:10px;line-height:1.4;min-height:0;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.storefront-pro .product .product-bottom{margin-top:auto;padding-top:8px;align-items:center;flex-shrink:0}
.storefront-pro .product .product-price>small{display:none}
.storefront-pro .product .product-bottom strong{font-size:23px;line-height:1.2}
.storefront-pro .product .buy{font-size:10px;padding:7px 9px;gap:12px}
@media(min-width:1200px){.storefront-pro .product .product-body{padding:15px 17px}.storefront-pro .product h3{font-size:18px}.storefront-pro .product .product-meta{font-size:9px;margin-bottom:9px}.storefront-pro .product p{font-size:11px}.storefront-pro .product .subscription-pass>strong{font-size:21px}}
@media(max-width:760px){.storefront-pro .product .product-body{padding:16px 18px}.storefront-pro .product .product-meta{font-size:9px;margin-bottom:9px}.storefront-pro .product h3{font-size:19px;margin-bottom:7px}.storefront-pro .product p{font-size:11px;margin-bottom:10px}.storefront-pro .product .product-bottom{padding-top:10px}.storefront-pro .product .product-bottom strong{font-size:26px}.storefront-pro .product .buy{font-size:11px;padding:9px 12px}.storefront-pro .product .subscription-cover{padding:12px 17px}.storefront-pro .product .subscription-pass{padding:10px 13px}.storefront-pro .product .subscription-pass>strong{font-size:22px;margin:6px 0}}
/* Reference-style vertical cards with two stacked purchase choices. */
.storefront-pro .product{aspect-ratio:auto;display:flex;flex-direction:column;border-radius:17px;border-color:var(--line)}
.storefront-pro .product .subscription-cover{height:174px;aspect-ratio:auto;display:block;padding:18px;flex-shrink:0;position:relative}
.storefront-pro .product .cover-top{position:relative;z-index:2}.storefront-pro .product .cover-top>span{font-size:12px}.storefront-pro .product .cover-top>small{display:none}
.storefront-pro .product .cover-caption{position:absolute;left:18px;top:55px;width:57%;z-index:2;pointer-events:none}
.storefront-pro .product .cover-caption strong{display:block;font:700 25px/1.1 Georgia,'Microsoft YaHei',serif;letter-spacing:-.6px;overflow-wrap:anywhere}
.storefront-pro .product .cover-caption>span{display:block;font-size:9px;letter-spacing:2px;margin-top:11px}
.storefront-pro .product .subscription-pass{position:absolute;right:-13px;top:65px;width:43%;height:88px;min-height:0;max-width:none;transform:rotate(7deg);padding:12px 10px;color:var(--cover-ink);opacity:.9}
.storefront-pro .product .subscription-pass>strong{font-size:12px;white-space:normal;line-height:1.2;margin:4px 0}
.storefront-pro .product .cover-pro .subscription-pass,.storefront-pro .product .cover-gemini .subscription-pass{color:#fff}
.storefront-pro .product .product-body{padding:21px 20px 20px;display:flex;flex-direction:column;flex:1}
.storefront-pro .product .product-meta{font-size:10px;margin-bottom:15px;line-height:1.5}
.storefront-pro .product .delivery-tag{border:0;padding:0;color:var(--muted)}
.storefront-pro .product .stock-label{background:var(--soft);padding:3px 7px;border-radius:8px}
.storefront-pro .product h3{font-size:19px;line-height:1.45;white-space:normal;overflow:visible;margin-bottom:10px}
.storefront-pro .product p{font-size:12px;line-height:1.8;min-height:44px;white-space:normal;overflow:visible;margin:0 0 24px}
.storefront-pro .product .product-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;border-top:0;padding-top:0;gap:18px}
.storefront-pro .product .product-bottom strong{font-size:29px;font-weight:600;line-height:1.25}
.storefront-pro .product .product-actions{display:flex;flex-direction:column;gap:9px;width:100%}
.storefront-pro .product .product-actions .buy{display:flex;align-items:center;justify-content:center;width:100%;font-size:13px;gap:10px;padding:12px;border-radius:8px;min-height:42px}
.storefront-pro .product .self-charge{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.storefront-pro .product .self-charge:hover{opacity:.9}
.storefront-pro .product .assisted-charge{background:transparent;border-color:var(--accent);color:var(--accent)}
.storefront-pro .product .assisted-charge:hover{background:var(--soft);color:var(--accent)}
@media(max-width:760px){.storefront-pro .product .subscription-cover{height:185px;padding:20px}.storefront-pro .product .cover-caption{left:20px;top:60px}.storefront-pro .product .cover-caption strong{font-size:29px}.storefront-pro .product .subscription-pass{height:100px;top:65px;right:10px;width:38%;padding:14px 11px}.storefront-pro .product .product-body{padding:23px}.storefront-pro .product h3{font-size:21px}.storefront-pro .product p{font-size:13px;min-height:0;margin-bottom:25px}.storefront-pro .product .product-meta{font-size:11px}.storefront-pro .product .product-bottom strong{font-size:32px}.storefront-pro .product .product-actions .buy{font-size:14px;padding:13px}}
/* Compact landscape product covers. */
.storefront-pro .product .subscription-cover{height:136px;padding:13px 16px}
.storefront-pro .product .cover-caption{left:16px;top:43px;width:57%}
.storefront-pro .product .cover-caption strong{font-size:23px;line-height:1.08}
.storefront-pro .product .cover-caption>span{font-size:8px;margin-top:8px;letter-spacing:1.4px}
.storefront-pro .product .subscription-pass{height:73px;top:45px;right:5px;width:38%;padding:8px 9px}
.storefront-pro .product .subscription-pass>strong{font-size:11px;margin:3px 0}
.storefront-pro .product .cover-top>span{font-size:11px}
@media(max-width:760px){.storefront-pro .product .subscription-cover{height:140px;padding:14px 18px}.storefront-pro .product .cover-caption{left:18px;top:46px}.storefront-pro .product .cover-caption strong{font-size:25px}.storefront-pro .product .subscription-pass{height:76px;top:48px;right:10px;width:37%;padding:9px 10px}}
/* Match reference storefront covers: 16 / 8 (2:1). */
.storefront-pro .product .subscription-cover{width:100%;height:auto;aspect-ratio:2 / 1;padding:5% 6%;flex-shrink:0;box-sizing:border-box}
.storefront-pro .product .cover-caption{left:6%;top:32%;width:56%}
.storefront-pro .product .subscription-pass{top:33%;right:4%;width:37%;height:55%;min-height:0;padding:7% 8%;padding:8px 10px}
@media(max-width:760px){.storefront-pro .product .subscription-cover{height:auto;aspect-ratio:2 / 1;padding:5% 6%}.storefront-pro .product .cover-caption{left:6%;top:32%}.storefront-pro .product .subscription-pass{top:33%;right:4%;width:37%;height:55%;padding:9px 10px}}
/* Rebalance artwork and details while retaining the two purchase actions. */
.storefront-pro .product .subscription-cover{height:auto;aspect-ratio:1.6 / 1}
.storefront-pro .product .cover-caption{top:35%}
.storefront-pro .product .subscription-pass{top:35%;height:48%}
.storefront-pro .product .product-body{padding:16px 18px}
.storefront-pro .product .product-meta{margin-bottom:10px;font-size:10px}
.storefront-pro .product h3{font-size:18px;line-height:1.35;margin-bottom:7px}
.storefront-pro .product p{min-height:0;font-size:11px;line-height:1.65;margin:0 0 14px}
.storefront-pro .product .product-bottom{gap:12px;margin-top:auto}
.storefront-pro .product .product-bottom strong{font-size:27px;line-height:1.2}
.storefront-pro .product .product-actions{gap:7px}
.storefront-pro .product .product-actions .buy{min-height:36px;padding:8px 12px;font-size:12px;border-radius:6px}
@media(max-width:760px){.storefront-pro .product .subscription-cover{height:auto;aspect-ratio:1.6 / 1}.storefront-pro .product .product-body{padding:17px 20px}.storefront-pro .product h3{font-size:20px}.storefront-pro .product p{font-size:12px;margin-bottom:14px}.storefront-pro .product .product-bottom strong{font-size:29px}.storefront-pro .product .product-actions .buy{min-height:39px;padding:9px 12px;font-size:13px}}
/* Tighten only the product details; preserve the current artwork size. */
.storefront-pro .product .product-body{padding:12px 16px}
.storefront-pro .product .product-meta{margin-bottom:6px;font-size:9px;line-height:1.3}
.storefront-pro .product .stock-label{padding:2px 6px}
.storefront-pro .product h3{font-size:18px;line-height:1.3;margin-bottom:5px}
.storefront-pro .product p{font-size:11px;line-height:1.5;min-height:0;margin:0 0 9px}
.storefront-pro .product .product-bottom{gap:8px;margin-top:0}
.storefront-pro .product .product-bottom strong{font-size:25px;line-height:1.15}
.storefront-pro .product .product-actions{gap:5px}
.storefront-pro .product .product-actions .buy{min-height:33px;padding:6px 10px;font-size:12px}
@media(max-width:760px){.storefront-pro .product .product-body{padding:12px 17px}.storefront-pro .product h3{font-size:19px}.storefront-pro .product p{font-size:11px;line-height:1.5;margin-bottom:9px}.storefront-pro .product .product-bottom strong{font-size:26px}.storefront-pro .product .product-actions .buy{min-height:35px;padding:7px 10px;font-size:12px}}
/* Ultra-compact product information, with price beside the title. */
.storefront-pro .product .product-body{padding:10px 13px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:5px;align-content:start}
.storefront-pro .product .product-meta{grid-column:1/-1;grid-row:1;margin:0;font-size:8px;line-height:1.25}
.storefront-pro .product h3{grid-column:1;grid-row:2;font-size:17px;line-height:1.35;margin:0;align-self:center}
.storefront-pro .product p{grid-column:1/-1;grid-row:3;font-size:10px;line-height:1.45;margin:0 0 2px;min-height:0}
.storefront-pro .product .product-bottom{display:contents}
.storefront-pro .product .product-price{grid-column:2;grid-row:2;align-self:center;text-align:right}
.storefront-pro .product .product-bottom strong{font-size:22px;line-height:1.2}
.storefront-pro .product .product-actions{grid-column:1/-1;grid-row:4;gap:4px}
.storefront-pro .product .product-actions .buy{min-height:30px;padding:5px 9px;font-size:11px}
@media(max-width:760px){.storefront-pro .product .product-body{padding:10px 14px;gap:5px 10px}.storefront-pro .product h3{font-size:18px}.storefront-pro .product p{font-size:10px;margin:0 0 2px}.storefront-pro .product .product-bottom strong{font-size:23px}.storefront-pro .product .product-actions .buy{min-height:31px;padding:5px 10px;font-size:11px}}
/* Remove the metadata row and compact the remaining card details. */
.storefront-pro .product .product-body{padding:8px 12px;row-gap:4px}
.storefront-pro .product h3{grid-row:1}
.storefront-pro .product .product-price{grid-row:1}
.storefront-pro .product p{grid-row:2;margin:0;line-height:1.35}
.storefront-pro .product .product-actions{grid-row:3;gap:4px}
@media(max-width:760px){.storefront-pro .product .product-body{padding:8px 12px;row-gap:4px}.storefront-pro .product p{margin:0;line-height:1.35}}
/* Compact introduction with integrated service links. */
.storefront-pro .shop-intro{display:block;padding-top:25px;padding-bottom:23px}
.storefront-pro .intro-copy .section-overline{margin-bottom:10px;font-size:9px}
.storefront-pro .intro-copy h1{font-size:30px;line-height:1.4;margin-bottom:9px}
.storefront-pro .intro-copy h1 span{display:inline;white-space:normal}
.storefront-pro .intro-copy p{font-size:12px;line-height:1.7;margin-bottom:16px}
.storefront-pro .intro-links{gap:24px;font-size:11px;flex-wrap:wrap}
.storefront-pro .intro-links .primary{padding:10px 16px;font-size:11px;gap:25px}
.storefront-pro .intro-links>a:last-of-type{color:var(--muted)}
.storefront-pro .intro-support{padding:0 0 0 22px;border-left:1px solid var(--line);background:transparent;color:var(--accent);font-size:11px}
.storefront-pro .store-promises{padding-top:13px;padding-bottom:13px;gap:24px}
.storefront-pro .store-promises>div{gap:10px}
.storefront-pro .store-promises svg{width:21px;height:21px}
.storefront-pro .store-promises span{font-size:11px}
.storefront-pro .store-promises small{font-size:9px;margin-top:3px}
.storefront-pro .catalog{padding-top:27px}
@media(max-width:760px){.storefront-pro .shop-intro{padding-top:22px;padding-bottom:20px}.storefront-pro .intro-copy h1{font-size:27px;line-height:1.4;max-width:340px}.storefront-pro .intro-copy h1 span{display:inline}.storefront-pro .intro-copy p{font-size:11px;margin-bottom:15px}.storefront-pro .intro-links{gap:14px;font-size:10px}.storefront-pro .intro-links .primary{padding:10px 12px;font-size:10px;gap:14px}.storefront-pro .intro-support{font-size:10px;padding-left:13px}.storefront-pro .store-promises{gap:9px;padding-top:13px;padding-bottom:13px}.storefront-pro .store-promises span{font-size:10px}.storefront-pro .store-promises small{font-size:8px;line-height:1.65}.storefront-pro .store-promises svg{width:18px;height:18px;margin-bottom:6px}.storefront-pro .catalog{padding-top:22px}}

/* Sales stay in the details, leaving the cover geometry untouched. */
.storefront-pro .product .product-summary{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.storefront-pro .product .product-summary>span:first-child{min-width:0}
.storefront-pro .product .product-sales{flex-shrink:0;white-space:nowrap;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}

/* Compact administration and product media editor. */
.admin-body .sidebar{width:200px;padding:24px 16px}
.admin-body .sidebar .brand{font-size:23px;gap:10px}
.admin-body .sidebar .brand-icon{width:36px;height:36px}
.admin-body .sidebar-label{margin:26px 10px 12px;font-size:11px}
.admin-body .sidebar nav{gap:4px}
.admin-body .sidebar nav button{padding:11px 13px;min-height:42px;font-size:13px;gap:12px;border-radius:7px}
.admin-body .sidebar nav button span{font-size:19px}
.admin-body .admin-main{margin-left:200px}
.admin-body .admin-header{height:65px;padding:0 26px}
.admin-body .admin-content{padding:26px}
.admin-body .admin-content .section-heading{margin-bottom:22px}
.admin-body th,.admin-body td{padding:12px 14px;font-size:12px}
.admin-body td small{margin-top:4px;max-width:330px;font-size:11px}
.admin-body .panel{padding:20px}
.admin-product-name{display:flex;align-items:center;gap:10px}
.admin-product-name img{width:48px;height:30px;object-fit:cover;border:1px solid var(--line);border-radius:4px}
.product-image-editor{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.product-image-editor img{width:128px;aspect-ratio:1.6;object-fit:cover;border:1px solid var(--line);border-radius:6px}
.product-image-editor [hidden]{display:none}
.admin-body button:disabled{opacity:.45;cursor:not-allowed}
.storefront-pro .product .uploaded-cover{padding:0;position:relative;overflow:hidden;aspect-ratio:1.6 / 1}
.storefront-pro .product .uploaded-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:760px){.admin-body .sidebar{position:static;width:100%;padding:16px}.admin-body .sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.admin-body .sidebar nav button{padding:8px 10px;min-height:36px;font-size:12px}.admin-body .sidebar-label{margin:14px 0 8px}.admin-body .admin-main{margin-left:0}.admin-body .admin-content{padding:18px}.admin-body .admin-header{padding:0 18px;height:50px}}
/* Drag handles keep editing controls separate from ordering gestures. */
.admin-body .sort-handle{display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;height:28px;color:var(--muted);font-size:17px;letter-spacing:-3px;cursor:grab;touch-action:none;user-select:none;border-radius:4px;vertical-align:middle}
.admin-body .sort-handle:hover,.admin-body .sort-handle:focus-visible{background:var(--soft);color:var(--accent);outline:1px solid var(--line)}
.admin-body .sidebar nav button .sort-handle{margin-left:auto;font-size:17px}
.admin-body .sort-cell{position:relative;padding-left:42px}
.admin-body .sort-cell>.sort-handle{position:absolute;left:9px;top:50%;transform:translateY(-50%)}
.admin-body .sort-dragging{opacity:.55;background:var(--soft);outline:1px dashed var(--accent);outline-offset:-1px}
.admin-body .sort-active,.admin-body .sort-active *{cursor:grabbing!important}
.admin-body .sort-saving{pointer-events:none;opacity:.7}
.admin-body .sort-hint{font-size:11px;color:var(--muted)}
.admin-body .toolbar .sort-hint{margin-left:auto}
.admin-body .toolbar:has(.sort-hint)>.primary{order:2}
.admin-body .toolbar:has(.sort-hint){flex-wrap:wrap;gap:10px}
.admin-body .user-search{justify-content:flex-start;align-items:flex-end;gap:12px}
.admin-body .user-search label{margin:0;min-width:160px}
.admin-body .user-search label:first-child{flex:1;max-width:400px}
.admin-body .user-search input,.admin-body .user-search select{margin-bottom:0}
.admin-body .user-pagination{justify-content:flex-end;gap:14px;margin-top:16px}
.admin-body .user-history{max-height:260px;overflow:auto;margin-bottom:18px}

.admin-body form.user-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:20px}.admin-body form.user-search>label:first-child{flex:1 1 260px;max-width:400px}.admin-body form.user-search>label{flex:0 1 180px}.admin-body form.user-search>.primary{width:auto;flex:0 0 auto;padding:12px 24px;margin:0}


/* Give every storefront category its own quiet outlined box. */
.storefront-pro .catalog-sidebar .tabs{gap:8px}
.storefront-pro .catalog-sidebar .tabs button{border:1px solid var(--line);border-radius:999px;background:transparent;box-shadow:none}
.storefront-pro .catalog-sidebar .tabs button:hover{border-color:var(--accent);color:var(--accent);background:var(--soft)}
.storefront-pro .catalog-sidebar .tabs button.active{border-color:var(--accent);background:var(--soft);color:var(--accent);box-shadow:none}
.storefront-pro .catalog-sidebar .tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.storefront-pro .catalog-sidebar .sidebar-caption{text-align:left;width:100%}


/* Smooth hover colors only for storefront navigation and category controls. */
.storefront-pro .header .store-nav>a,
.storefront-pro .header .store-nav>button,
.storefront-pro .header .redeem-entry,
.storefront-pro .catalog-sidebar .tabs button{
 transition:background-color 240ms ease,color 240ms ease,border-color 240ms ease!important;
}
@media(prefers-reduced-motion:reduce){
 .storefront-pro .header .store-nav>a,
 .storefront-pro .header .store-nav>button,
 .storefront-pro .header .redeem-entry,
 .storefront-pro .catalog-sidebar .tabs button{transition:none!important}
}

/* Rounded outline around the homepage introduction. */
.storefront-pro .shop-intro{position:relative;margin-top:20px;margin-bottom:12px}
.storefront-pro .shop-intro::before{content:'';position:absolute;inset:0 16px;border:1px solid var(--line);border-radius:24px;pointer-events:none}
@media(max-width:760px){
 .storefront-pro .shop-intro{margin-top:16px;margin-bottom:8px}
 .storefront-pro .shop-intro::before{left:10px;right:10px;border-radius:20px}
}

/* Pill-shaped storefront navigation hover outlines. */
.storefront-pro .header .store-nav>a,
.storefront-pro .header .store-nav>button{border-radius:999px}

/* Match navigation hover colors to the category pills. */
.storefront-pro .header .store-nav>a:hover,
.storefront-pro .header .store-nav>button:hover{
 background:var(--soft);
 color:var(--accent);
 border-color:var(--accent);
}

/* Toasts use the top layer so modal backdrops cannot blur or cover them. */
#toast{inset:auto auto max(30px,env(safe-area-inset-bottom)) 50%;margin:0;border:0;width:max-content;max-width:calc(100vw - 32px);height:auto;line-height:1.6;text-align:center;overflow-wrap:anywhere;white-space:normal}
#toast::backdrop{background:transparent;backdrop-filter:none;pointer-events:none}
.assist-qr{margin:18px auto;text-align:center}
.assist-qr a{display:block;width:208px;max-width:100%;margin:auto;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.assist-qr img{display:block;width:100%;height:auto}
.assist-qr figcaption{margin-top:10px;font-size:13px;line-height:1.6;color:var(--ink)}
.assist-qr figcaption span{display:block;font-size:11px;color:var(--muted)}

/* Keep menu labels aligned even when icon glyphs have different widths. */
.admin-body .sidebar nav button>span:first-child:not(.sort-handle){width:22px;min-width:22px;flex:0 0 22px;text-align:center;line-height:1}
.admin-body .sidebar nav button>.sort-handle{flex:0 0 24px}
@media(min-width:651px){.admin-body .sidebar nav button>span:first-child:not(.sort-handle){display:inline-flex;align-items:center;justify-content:center}}

.assist-hours{text-align:center;margin:16px 0 0;color:var(--muted)}

.payment-options{display:grid;gap:12px;margin:18px 0}.payment-choice{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border:1px solid var(--line);border-radius:12px;text-align:left;background:var(--surface);color:var(--ink)}.payment-choice:disabled{cursor:not-allowed}.payment-choice>span:last-child{margin-left:auto}.payment-choice strong,.payment-choice small{display:block}.payment-choice small{font-size:11px;color:var(--muted);margin-top:4px}.payment-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:white;font-size:20px}.payment-symbol.wechat{background:#21834c}.payment-symbol.alipay{background:#1876c8}.payment-hint{margin-top:20px}.payment-total{text-align:center;font-size:32px;font-weight:700;margin:18px 0}.payment-qr{text-align:center;margin:16px 0}.payment-qr img{display:block;width:220px;max-width:100%;height:auto;margin:auto;background:#fff;border:8px solid white;border-radius:8px}.payment-qr figcaption{font-size:11px;color:var(--muted);margin-top:10px}.payment-reference{text-align:center;overflow-wrap:anywhere;font-size:12px}.payment-admin-preview{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.payment-admin-preview img{width:140px;height:140px;object-fit:contain;background:white}

.payment-config{padding:22px 0;border-top:1px solid var(--line);margin-top:22px}.payment-network{text-align:center}.payment-symbol:not(.alipay){background:#22866b}

.payment-custom-icon{width:36px;height:36px;flex:0 0 36px;object-fit:contain;border-radius:8px}.payment-icon-editor{display:flex;align-items:center;gap:16px}.payment-icon-editor img{width:48px;height:48px;object-fit:contain;border:1px solid var(--line);border-radius:8px}.payment-symbol{flex-shrink:0}

/* Compact payment management; other settings pages keep their layout. */
.admin-body .payments-compact{max-width:none;padding:16px;margin-top:0}
.payment-settings-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.payment-settings-bar>label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;flex-wrap:wrap}
.payment-settings-bar input{width:126px;margin:0;padding:8px 10px}
.payment-settings-bar .primary{padding:10px 18px;white-space:nowrap}
.payments-compact .payment-settings-note{font-size:11px;line-height:1.5;margin:10px 0;color:var(--muted)}
.payment-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.payments-compact .payment-config{margin:0;padding:12px;border:1px solid var(--line);border-radius:9px;min-width:0}
.payment-config-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.payments-compact .payment-config h3{font-size:14px;margin:0}
.payments-compact .check{margin:0;font-size:11px;gap:6px}
.payments-compact .payment-address{font-size:11px;margin:10px 0}
.payments-compact .payment-address input{margin-top:5px;padding:8px 9px;font-size:12px;min-width:0}
.payments-compact .payment-address-note{display:flex;align-items:center;min-height:55px;margin:10px 0;font-size:12px;line-height:1.5}
.payment-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.payment-asset{display:flex;align-items:center;gap:8px;min-width:0}
.payment-asset-thumb{width:42px;height:42px;flex:0 0 42px;border:1px solid var(--line);border-radius:6px;background:#fff}
.payment-asset-thumb img{width:100%;height:100%;object-fit:contain;border-radius:5px}
.payment-asset-controls{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.payments-compact .payment-upload{position:relative;display:block;margin:0;cursor:pointer;border:1px solid var(--line);border-radius:5px;padding:5px 8px;font-size:11px;white-space:nowrap;color:var(--ink)}
.payment-upload input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.payment-upload:focus-within{outline:2px solid var(--green);outline-offset:2px}
.payment-asset-controls .text-button{padding:0;font-size:10px;color:var(--muted)}
.payments-compact .payment-format-note{margin:10px 0 0}
@media(max-width:1050px){.payment-config-grid{grid-template-columns:1fr}.payment-asset-grid{max-width:480px}}
@media(max-width:760px){.payment-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.payment-config-grid{grid-template-columns:1fr}.payment-settings-bar{gap:10px}.payment-settings-bar>label{gap:6px}}

.payment-config-heading h3{flex:1}.payment-config-heading .sort-handle{flex:0 0 20px;min-width:20px;width:20px;height:24px}.payment-config-grid.sort-saving{pointer-events:none}

.payment-back{display:block;margin:0 40px 16px 0;padding:4px 0;color:var(--muted);font-size:13px}

/* Smaller payment-method selection dialog. */
body:not(.admin-body) dialog:has(.payment-options){width:400px;padding:26px 24px;max-width:calc(100vw - 28px)}
dialog:has(.payment-options) h2{font-size:22px;margin-bottom:8px;padding-right:24px}
dialog:has(.payment-options) p{font-size:12px;line-height:1.6;margin-bottom:10px}
dialog:has(.payment-options) .price-line{padding:12px 0}
dialog:has(.payment-options) .price-line strong{font-size:21px}
dialog:has(.payment-options) .payment-hint{margin-top:12px}
dialog:has(.payment-options) .payment-options{gap:8px;margin:12px 0}
dialog:has(.payment-options) .payment-choice{padding:10px 12px;gap:10px;border-radius:10px;font-size:13px;min-height:54px}
dialog:has(.payment-options) .payment-choice small{font-size:10px;margin-top:2px}
dialog:has(.payment-options) .payment-symbol,dialog:has(.payment-options) .payment-custom-icon{width:30px;height:30px;flex-basis:30px;font-size:18px}
dialog:has(.payment-options) #dialog-content>p:last-child{margin-bottom:0;font-size:11px}

/* Compact QR payment dialog. */
body:not(.admin-body) dialog:has(.payment-qr){width:400px;padding:22px 24px;max-width:calc(100vw - 28px)}
dialog:has(.payment-qr) .payment-back{margin-bottom:10px;font-size:12px}
dialog:has(.payment-qr) h2{font-size:21px;margin-bottom:8px;padding-right:20px}
dialog:has(.payment-qr) p{font-size:11px;line-height:1.55;margin-bottom:8px}
dialog:has(.payment-qr) .payment-total{font-size:27px;margin:12px 0 8px}
dialog:has(.payment-qr) .payment-network{margin-bottom:6px;font-size:12px}
dialog:has(.payment-qr) .payment-qr{margin:10px 0}
dialog:has(.payment-qr) .payment-qr img{width:180px;border-width:6px}
dialog:has(.payment-qr) .payment-qr figcaption{font-size:10px;margin-top:6px;line-height:1.5}
dialog:has(.payment-qr) label{margin:10px 0 8px;font-size:11px}
dialog:has(.payment-qr) input{padding:9px 10px;margin-top:5px;font-size:11px}
dialog:has(.payment-qr) .outline{padding:8px 12px;font-size:11px}
dialog:has(.payment-qr) #copy-payment-address{margin-bottom:8px}
dialog:has(.payment-qr) .payment-reference{font-size:10px;margin:8px 0}
dialog:has(.payment-qr) .account-actions{gap:10px;margin-top:12px}
dialog:has(.payment-qr) .account-actions .primary{padding:10px 14px;font-size:12px}
.chain-settings{border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-size:12px}.chain-settings summary{cursor:pointer;color:var(--accent);padding:4px 0}.chain-fields{display:grid;gap:10px;padding-top:12px}.chain-fields label{margin:0;font-size:11px}.chain-fields input{padding:8px;margin-top:5px;font-size:12px;min-width:0}.chain-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chain-fields .quiet{font-size:11px;line-height:1.6}.chain-monitor{padding-top:22px}.chain-monitor .table-scroll{max-height:320px;overflow:auto}.chain-hash{overflow-wrap:anywhere;word-break:break-all}.redeem-link{display:block;text-align:center;text-decoration:none;margin-top:16px}.status.paid{color:var(--accent)}

.payment-config-grid{align-items:start}

/* Compact invoice notice and live payment deadline. */
dialog:has(.payment-qr) .payment-notice{padding:12px 16px;margin:14px 0;font-size:12px;line-height:1.7}
.payment-countdown{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.payment-countdown strong{font-size:18px;font-variant-numeric:tabular-nums;color:var(--accent);letter-spacing:1px}

/* Reserve the QR area while its image loads during checkout transitions. */
dialog:has(.payment-qr) .payment-qr img{aspect-ratio:1;object-fit:contain}

.payment-choice.payment-loading:disabled{opacity:1;border-color:var(--accent)}
.payment-choice.payment-loading small{color:var(--accent)}

.order-filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:14px}.order-filters label{margin:0;flex:1;min-width:180px}.order-filters input,.order-filters select{margin:6px 0 0;padding:10px 12px;font-size:12px}.order-filters>.outline{min-height:39px}.order-filters+#order-filter-count{font-size:12px;margin:0 0 14px}

.admin-body .status.card-disabled{background:#f4ecd9;color:#876521}.admin-body .status.card-used{background:#e6edf2;color:#476679}.admin-body .status.card-available{background:#eaf0e2;color:#5d7952}

.inventory-secret{display:flex;align-items:flex-start;gap:10px;min-width:220px;max-width:380px}.inventory-secret code{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;flex:1;user-select:text;font:12px/1.65 ui-monospace,Consolas,monospace}.inventory-secret button{flex-shrink:0;padding:2px 4px}

.admin-body .status.card-issued{background:#e6edf2;color:#476679}.admin-body .status.card-used{background:#ece8f2;color:#6c5687}

.zovo-heading{display:flex;gap:12px;flex-wrap:wrap}.zovo-config{border:1px solid var(--line);border-radius:12px;padding:18px}.zovo-config label{margin:12px 0}.zovo-config small{line-height:1.8;overflow-wrap:anywhere}.zovo-config [data-config-result]{font-size:12px;min-height:18px}#zovo-direct textarea{font-family:ui-monospace,monospace}#zovo-direct .form-row{flex-wrap:wrap}#zovo-direct .form-row label{min-width:140px}

.admin-body .sidebar{overflow-y:auto}.admin-body .sidebar-bottom{position:static;margin-top:26px;padding-bottom:20px}
