@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');
:root{--ink:#18202b;--muted:#737b88;--line:#e7e8eb;--paper:#f7f8fc;--white:#fff;--blue:#4457f4;--lav:#eceeff;--green:#18a579;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}.site-header{height:76px;background:rgba(255,255,255,.86);border-bottom:1px solid rgba(231,232,235,.85);backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}.header-inner{height:100%;max-width:1240px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand,.footer-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand-mark{width:31px;height:31px;border-radius:10px;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:var(--serif);font-size:18px;font-weight:700}.brand b,.footer-brand b{display:block;letter-spacing:-.03em;font-size:16px}.brand small,.footer-brand small{display:block;font-size:9px;color:#9aa0aa;letter-spacing:.12em;text-transform:uppercase;margin-top:1px}.main-nav{display:flex;gap:33px;margin-left:110px}.main-nav a{color:#8a909a;text-decoration:none;font-size:13px;font-weight:500;transition:.2s}.main-nav a:hover,.main-nav a.active{color:var(--ink)}.main-nav a.active{font-weight:700}.header-actions{display:flex;align-items:center;gap:10px}.ghost{border:0;background:none;color:#737b88;padding:10px 12px;font:inherit;font-size:13px;cursor:pointer}.cart-trigger{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 13px;border-radius:11px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 5px 15px #20273508}.cart-trigger em{display:inline-grid;place-items:center;background:var(--ink);color:#fff;width:18px;height:18px;border-radius:50%;font-size:10px;font-style:normal;margin-left:5px}.cart-icon{font-size:17px;margin-right:3px}.hero-shell{max-width:1240px;margin:0 auto;padding:80px 28px 66px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:78px}.pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:7px 11px;border-radius:30px;color:#79818d;font-size:11px;font-weight:600}.pulse{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #18a57918}.hero h1{font-size:clamp(45px,6vw,77px);line-height:1.03;letter-spacing:-.07em;margin:23px 0 19px;font-weight:700}.hero h1 span{font-family:var(--serif);font-style:italic;font-weight:600;color:var(--blue);letter-spacing:-.08em}.hero-copy>p:not(.pill){font-size:16px;line-height:1.8;color:var(--muted);max-width:470px;margin:0}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:30px}.primary,.dark-button{border:0;background:var(--blue);color:#fff;text-decoration:none;border-radius:11px;padding:13px 17px;font:inherit;font-weight:700;font-size:13px;cursor:pointer;box-shadow:0 8px 18px #4457f42b}.primary span,.dark-button span{margin-left:15px;font-size:16px}.text-link{color:var(--ink);font-size:13px;text-decoration:none;font-weight:600}.text-link span{color:var(--blue);margin-left:5px}.hero-proof{display:flex;align-items:center;gap:12px;margin-top:40px;color:#8b929d;font-size:11px}.hero-proof b{color:var(--ink)}.avatars{display:flex}.avatars i{width:25px;height:25px;border-radius:50%;background:#dce2fa;border:2px solid var(--paper);display:grid;place-items:center;margin-left:-5px;font-size:10px;font-style:normal;color:#5968c9}.avatars i:first-child{margin-left:0;background:#f2d9cb;color:#9b6d55}.avatars i:nth-child(2){background:#d5ecd9;color:#3b8861}.avatars i:nth-child(3){background:#ece0fa;color:#875db3}.avatars i:last-child{background:#fff;border-color:#dfe3eb;color:#8a919b}.hero-visual{height:425px;position:relative;display:grid;place-items:center}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-one{width:370px;height:370px;background:#dfe4ff;right:10px;top:7px}.orb-two{width:230px;height:230px;background:#e9dffd;left:10px;bottom:0}.visual-card{position:absolute;width:260px;height:325px;border-radius:22px;transform:rotate(9deg);box-shadow:0 26px 50px #606bb52e}.card-back{background:#b9c0fa;right:88px;top:55px;opacity:.7}.card-front{background:linear-gradient(145deg,#535ff4,#6e73ee 53%,#b0a3e8);right:143px;top:33px;color:#fff;padding:25px;transform:rotate(-9deg);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.card-front:after{content:'';position:absolute;width:175px;height:175px;border:1px solid #ffffff45;border-radius:50%;right:-65px;top:70px;box-shadow:0 0 0 20px #ffffff0a,0 0 0 40px #ffffff0a}.mini-top,.mini-bottom{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.14em;opacity:.8}.mini-title{font-size:48px;line-height:.88;letter-spacing:-.08em;font-weight:700;z-index:1}.floating-note{position:absolute;background:#fff;border:1px solid #e8e8ee;border-radius:14px;padding:11px 13px;display:flex;gap:9px;align-items:center;box-shadow:0 15px 30px #2832591c;z-index:2}.note-top{right:8px;top:32px}.note-bottom{left:9px;bottom:39px}.note-icon{width:26px;height:26px;border-radius:9px;background:#dff7ec;color:#16a477;display:grid;place-items:center;font-weight:800}.note-icon.purple{background:#eeebff;color:#6d60d9}.floating-note b,.floating-note small{display:block}.floating-note b{font-size:11px}.floating-note small{font-size:9px;color:#8d94a0;margin-top:3px}.trust-row{max-width:1184px;margin:0 auto;padding:23px 28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.trust-row>div{display:flex;align-items:center;gap:11px;border-right:1px solid var(--line);padding-left:24px}.trust-row>div:first-child{padding-left:0}.trust-row>div:last-child{border:0}.trust-icon{width:30px;height:30px;border-radius:9px;background:#e7eafe;color:var(--blue);display:grid;place-items:center;font-size:16px}.trust-row b,.trust-row small{display:block}.trust-row b{font-size:12px}.trust-row small{font-size:10px;color:#9aa0aa;margin-top:4px}.catalog-section{max-width:1240px;margin:0 auto;padding:88px 28px 80px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:32px}.section-kicker{font-size:10px;color:#9aa0aa;letter-spacing:.2em;font-weight:700}.section-heading h2,.orders-section h2{font-size:35px;letter-spacing:-.06em;margin:12px 0 0}.catalog-meta{font-size:11px;color:#9aa0aa}.catalog-meta>span:first-child{font-weight:700;color:var(--ink);font-size:16px}.dot{margin:0 8px;color:#c4c8d0}.catalog-layout{display:grid;grid-template-columns:200px 1fr;gap:42px}.category-panel{border-right:1px solid var(--line);padding-right:24px}.panel-title{font-size:12px;font-weight:700;margin:5px 0 18px}.filters{display:flex;flex-direction:column;gap:5px}.filters button{border:0;background:none;text-align:left;color:#9097a3;padding:9px 11px;border-radius:8px;font:inherit;font-size:12px;cursor:pointer}.filters button:hover,.filters button.active{background:#e9ebff;color:var(--blue);font-weight:700}.panel-tip{margin-top:60px;padding:13px 12px;background:#fff;border:1px solid var(--line);border-radius:12px}.panel-tip span{color:var(--blue);font-size:17px}.panel-tip p{font-size:10px;line-height:1.7;color:#969daa;margin:6px 0 0}.panel-tip a{color:var(--blue);text-decoration:none}.catalog-main{min-width:0}.catalog-toolbar{display:flex;justify-content:space-between;gap:15px;margin-bottom:20px}.search-box{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 12px;flex:1;max-width:310px}.search-box span{font-size:21px;color:#aab0ba}.search-box input{border:0;outline:0;padding:11px 0;width:100%;font:inherit;font-size:12px;color:var(--ink);background:none}.sort-button{border:1px solid var(--line);background:#fff;border-radius:9px;color:#747c89;font:inherit;font-size:11px;padding:0 12px;cursor:pointer}.sort-button span{margin-left:18px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{background:#fff;border:1px solid #e9eaf0;border-radius:15px;padding:18px;display:flex;flex-direction:column;min-height:241px;transition:.25s}.card:hover{transform:translateY(-4px);box-shadow:0 16px 30px #2b376112;border-color:#dce0ff}.card-art{height:74px;border-radius:10px;background:linear-gradient(135deg,#e9ebff,#f5f2ff);display:flex;align-items:center;padding:14px;margin-bottom:16px;color:var(--blue);font-weight:800;font-size:22px;letter-spacing:-.08em}.card-art.green{background:linear-gradient(135deg,#e6f7f0,#f4fbf8);color:#15a177}.card-art.orange{background:linear-gradient(135deg,#fff0e4,#fff9f3);color:#df8b48}.card .tag{font-size:9px;color:#9299a5;letter-spacing:.13em;font-weight:700}.card h3{font-size:15px;line-height:1.35;margin:8px 0 7px;letter-spacing:-.02em}.card p{color:#9299a5;font-size:11px;line-height:1.6;margin:0;min-height:35px}.card-bottom{display:flex;align-items:end;justify-content:space-between;margin-top:auto;padding-top:14px}.price{font-size:20px;font-weight:700;letter-spacing:-.04em}.price small{font-size:10px;color:#a1a7b1;font-weight:400;margin-left:3px}.card button{border:0;background:#eef0ff;color:var(--blue);padding:8px 11px;border-radius:8px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.card button:hover{background:var(--blue);color:#fff}.orders-section{max-width:1184px;margin:0 auto 70px;background:#202936;border-radius:20px;padding:38px 45px;color:#fff;display:flex;justify-content:space-between;align-items:center}.orders-section .section-kicker{color:#8d98ac}.orders-section h2{font-size:28px}.orders-section p{color:#a9b2c0;font-size:12px;margin:10px 0 0}.dark-button{background:#fff;color:var(--ink);box-shadow:none}.dark-button span{color:var(--blue)}footer{max-width:1184px;margin:0 auto;padding:22px 28px 35px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:#a2a8b2;font-size:10px}.cart-drawer{position:fixed;z-index:30;right:0;top:0;width:min(410px,100%);height:100vh;background:#fff;padding:28px;transform:translateX(105%);transition:.28s;display:flex;flex-direction:column;box-shadow:-20px 0 50px #1d263514}.cart-drawer.open{transform:none}.drawer-backdrop{position:fixed;inset:0;background:#1c243a65;z-index:20;opacity:0;pointer-events:none;transition:.28s}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start}.drawer-head h3{font-size:30px;letter-spacing:-.06em;margin:9px 0}.close-button{border:0;background:#f2f3f6;border-radius:9px;width:33px;height:33px;font-size:21px;cursor:pointer}.drawer-items{margin-top:25px}.cart-line{display:flex;justify-content:space-between;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-line strong{display:block;font-size:12px}.cart-line small{display:block;color:#9299a5;font-size:10px;margin-top:5px}.cart-line button{border:0;background:none;color:#9b6a75;font-size:11px;cursor:pointer}.drawer-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.drawer-foot>div{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.drawer-foot small{color:#9aa0aa;font-size:10px}.drawer-foot strong{font-size:25px}.full{width:100%;display:flex;justify-content:space-between;align-items:center}#toast{position:fixed;z-index:50;bottom:28px;left:50%;transform:translateX(-50%);background:#202936;color:#fff;border-radius:10px;padding:11px 17px;font-size:12px;box-shadow:0 10px 25px #1d26352a;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1}@media(max-width:900px){.main-nav{margin-left:0;gap:16px}.hero-grid{gap:30px}.catalog-layout{grid-template-columns:165px 1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.site-header{height:66px}.header-inner{padding:0 17px}.main-nav{display:none}.hero-shell{padding:50px 20px 48px}.hero-grid{display:block}.hero h1{font-size:53px}.hero-visual{height:360px;margin-top:25px}.trust-row{padding:20px;grid-template-columns:repeat(2,1fr);gap:20px}.trust-row>div{border:0;padding:0}.catalog-section{padding:58px 20px}.section-heading{display:block}.catalog-meta{margin-top:12px}.catalog-layout{display:block}.category-panel{border:0;padding:0;margin-bottom:25px}.filters{flex-direction:row;overflow:auto}.filters button{white-space:nowrap}.panel-tip{display:none}.catalog-toolbar{display:block}.search-box{max-width:none;margin-bottom:10px;height:41px}.sort-button{height:38px}.product-grid{grid-template-columns:1fr}.orders-section{margin:0 20px 45px;padding:28px 24px;display:block}.orders-section .dark-button{display:inline-block;margin-top:22px}footer{margin:0 20px;padding:20px 0;display:block}.footer-brand{margin-bottom:13px}.note-top{right:-3px}.note-bottom{left:-3px}.visual-card{width:220px;height:280px}.card-front{right:96px}.card-back{right:55px}}

.auth-page{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 20% 10%,#e9eaff,transparent 30%),var(--paper)}.auth-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:38px;box-shadow:0 20px 55px #27304a12}.auth-card .brand{margin-bottom:55px}.auth-card h1{font-size:35px;letter-spacing:-.06em;margin:12px 0}.auth-card>p{color:var(--muted);font-size:13px;margin-bottom:28px}.auth-card label{display:block;color:#707887;font-size:11px;font-weight:700;margin:15px 0}.auth-card input{display:block;width:100%;margin-top:7px;padding:13px 12px;border:1px solid var(--line);border-radius:9px;outline:0;font:inherit;font-size:13px}.auth-card input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #4457f415}.auth-card .full{margin-top:18px}.auth-switch{text-align:center;color:#9299a5;font-size:12px;margin-top:22px}.auth-switch a{color:var(--blue);text-decoration:none;font-weight:700}#authMessage{font-size:12px;color:var(--blue);margin-top:15px;min-height:18px}.empty-state{grid-column:1/-1;padding:50px;text-align:center;color:#9299a5;background:#fff;border:1px dashed var(--line);border-radius:14px}

.admin-page{background:#f3f5fa}.admin-shell{max-width:1240px;margin:0 auto;padding:58px 28px 90px}.admin-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.admin-heading h1{font-size:46px;letter-spacing:-.07em;margin:12px 0 7px}.admin-heading p{font-size:13px;color:var(--muted);margin:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:21px}.stat-card small{font-size:11px;color:#9299a5}.stat-card strong{display:block;font-size:31px;letter-spacing:-.05em;margin-top:12px}.admin-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.admin-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.panel-header h2{font-size:17px;letter-spacing:-.04em;margin:0}.panel-header .primary{padding:9px 12px;font-size:11px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;color:#9aa0aa;font-weight:500;padding:10px 8px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:13px 8px;border-bottom:1px solid #f0f1f4;vertical-align:middle;white-space:nowrap}td b,td small{display:block}td small{font-size:9px;color:#a3a9b2;margin-top:4px;max-width:180px;overflow:hidden;text-overflow:ellipsis}.status{font-size:9px;padding:4px 7px;border-radius:20px;background:#f1f2f4;color:#757d89}.status.active,.status.delivered{background:#e3f7ee;color:#149468}.status.pending_payment{background:#fff3df;color:#b57a20}.status.cancelled,.status.inactive{background:#fde8e9;color:#b34e58}.table-action{border:0;background:none;color:var(--blue);font:inherit;font-size:10px;cursor:pointer}select{border:1px solid var(--line);border-radius:6px;padding:5px;color:#747c89;font-size:10px;background:#fff}.admin-empty{color:#9aa0aa;font-size:12px;padding:35px 0;text-align:center}#adminToast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#202936;color:#fff;border-radius:10px;padding:11px 17px;font-size:12px;opacity:0;transition:.2s}#adminToast.show{opacity:1}@media(max-width:760px){.admin-shell{padding:38px 17px}.admin-heading{display:block}.admin-heading .sort-button{margin-top:18px;height:36px}.stats-grid{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr}.admin-panel{padding:16px}}

.payment-box{max-width:640px;margin:60px auto;padding:34px;background:#fff;border:1px solid var(--line);border-radius:18px}.payment-box h1{font-size:36px;letter-spacing:-.06em}.payment-box .order-summary{background:#f5f6fb;border-radius:12px;padding:15px;margin:20px 0;font-size:13px}.ticket-form{display:grid;gap:10px}.ticket-form input,.ticket-form textarea{border:1px solid var(--line);border-radius:9px;padding:12px;font:inherit}.ticket-form textarea{min-height:120px;resize:vertical}

.auth-hint{margin-top:18px;padding:11px 12px;background:#f5f6fb;border-radius:9px;color:#9299a5;font-size:10px;line-height:1.8}.auth-hint b{color:#667085}

.header-actions .signed-in{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--blue);background:#eef0ff;border-color:#dfe2ff}

.account-page{background:#f3f5fa;min-height:100vh}.account-shell{max-width:980px;margin:0 auto;padding:64px 25px}.account-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.account-heading h1{font-size:48px;letter-spacing:-.07em;margin:11px 0 7px}.account-heading p{color:var(--muted);font-size:13px;margin:0}.account-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:20px}.tab{border:0;background:none;color:#9aa0aa;padding:12px 17px;font:inherit;font-size:12px;cursor:pointer}.tab.active{color:var(--blue);border-bottom:2px solid var(--blue);font-weight:700}.account-item{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 19px;display:grid;grid-template-columns:1.5fr .6fr .7fr .7fr;align-items:center;gap:12px;margin:9px 0;font-size:12px}.account-item b,.account-item small{display:block}.account-item small{font-size:10px;color:#9aa0aa;margin-top:5px}.account-item a{color:var(--blue);text-decoration:none;text-align:right}.account-item p{grid-column:1/-1;color:#737b88;margin:3px 0 0;line-height:1.6}.account-empty{padding:60px;background:#fff;border:1px dashed var(--line);border-radius:14px;text-align:center;color:#9aa0aa;font-size:13px}.ticket-create{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;margin-bottom:16px}.ticket-create h2{font-size:17px;margin:0 0 15px}.ticket-create form{display:grid;gap:10px}.ticket-create input,.ticket-create textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:11px;font:inherit;font-size:12px}.ticket-create textarea{min-height:90px;resize:vertical}@media(max-width:650px){.account-shell{padding:40px 17px}.account-heading{display:block}.account-heading .sort-button{margin-top:18px}.account-item{grid-template-columns:1fr 1fr}.account-item a{text-align:left}}


.payment-methods{display:flex;gap:8px;margin:16px 0}.method{border:1px solid var(--line);background:#fff;color:#858d99;border-radius:9px;padding:10px 14px;font:inherit;font-size:12px;cursor:pointer}.method.active{background:#eef0ff;color:var(--blue);border-color:#dfe2ff;font-weight:700}.delivery-box{margin-top:22px;padding:16px;background:#e7f8f0;border-radius:12px;color:#176f55}.delivery-box h3{margin:0 0 10px;font-size:14px}.delivery-item{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid #c7ebdc;font-size:11px}.delivery-item:last-child{border-bottom:0}.delivery-item code{font-family:monospace;color:#114f3e;background:#fff;padding:3px 6px;border-radius:5px}

.product-detail{max-width:1000px;margin:0 auto;padding:75px 25px}.product-hero{display:grid;grid-template-columns:320px 1fr;gap:60px;align-items:center}.product-art{height:320px;border-radius:28px;background:linear-gradient(145deg,#5967f4,#a69ee8);color:#fff;font-size:92px;font-weight:700;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 25px 50px #4d57b52b}.product-art span{position:absolute;bottom:25px;left:27px;font-size:11px;letter-spacing:.2em;opacity:.7}.product-hero h1{font-size:48px;letter-spacing:-.07em;line-height:1.05;margin:12px 0}.product-hero p{color:var(--muted);line-height:1.8;font-size:14px}.detail-price{font-size:32px;font-weight:700;margin:25px 0}.detail-price small{font-size:11px;color:#9097a3;font-weight:400;margin-left:8px}.detail-info{border-top:1px solid var(--line);margin-top:70px;padding-top:30px;max-width:650px}.detail-info h2{font-size:18px}.detail-info p{color:var(--muted);font-size:13px;line-height:1.8}.card-link{display:block;text-decoration:none;color:inherit}.card-link h3{color:var(--ink)}@media(max-width:700px){.product-hero{grid-template-columns:1fr;gap:30px}.product-art{height:240px}.product-hero h1{font-size:38px}}

.order-detail-shell{max-width:820px;margin:0 auto;padding:65px 25px}.order-detail-shell h1{font-size:45px;letter-spacing:-.07em;margin:12px 0 28px}.order-detail-head{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.order-detail-head b,.order-detail-head small{display:block}.order-detail-head small{font-size:10px;color:#9aa0aa;margin-top:5px}.detail-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;margin:13px 0}.detail-panel h2{font-size:16px;margin:0 0 15px}.detail-row,.detail-total{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #f0f1f4;font-size:12px}.detail-total{border:0;padding-bottom:0;font-weight:700}.muted{color:#9aa0aa;font-size:12px}.inline{display:inline-block;margin-top:15px}

/* Readable Chinese typography and order cards. */
:root{--sans:'DM Sans','Segoe UI','Microsoft YaHei','PingFang SC','Noto Sans CJK SC',sans-serif}
body{line-height:1.6}button,input,select,textarea{font-family:var(--sans)}
.auth-card h1,.admin-heading h1,.account-heading h1,.order-detail-shell h1,.payment-box h1,.product-hero h1{letter-spacing:0;line-height:1.3}
.auth-card>p{line-height:1.8}.auth-card input{font-weight:400}.primary{line-height:1.5}
.order-lookup{width:min(640px,100%);padding:36px}.order-lookup .brand{margin-bottom:34px}
.lookup-results{margin-top:28px;display:grid;gap:14px;min-width:0}.lookup-caption{font-size:12px;color:var(--muted)}
.lookup-order{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fcfcff;min-width:0;font-size:14px}
.lookup-order-head,.lookup-order-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.lookup-order-head b{font-size:14px;font-weight:600;letter-spacing:.02em;overflow-wrap:anywhere}
.lookup-order time{display:block;margin-top:6px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.lookup-products{font-size:13px;color:#4f5c6d;line-height:1.7;margin:16px 0;overflow-wrap:anywhere}
.lookup-note{font-size:12px;color:#886625;background:#fff5df;border-radius:8px;padding:10px;line-height:1.7}
.lookup-order-foot{border-top:1px solid var(--line);padding-top:14px}.lookup-order-foot strong{font-size:21px;font-weight:600;font-variant-numeric:tabular-nums}
.lookup-order-foot a{color:var(--blue);text-decoration:none;font-size:13px;font-weight:500}.lookup-order-foot a:hover{text-decoration:underline}
.status{display:inline-flex;align-items:center;font-size:11px;line-height:1.5;white-space:nowrap;font-weight:500;letter-spacing:0}
.status.paid,.status.processing{background:#eef0ff;color:#4957b8}.delivery-item{align-items:flex-start;flex-wrap:wrap;font-size:13px}.delivery-item code{overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%;font-size:14px}
.delivery-hint{background:#f4f6ff;border:1px solid #e1e5fa;padding:14px;border-radius:10px;color:#596580;font-size:13px;line-height:1.8}
.admin-form{width:min(540px,calc(100% - 32px));border:1px solid var(--line);border-radius:18px;padding:26px;color:var(--ink);box-shadow:0 25px 80px #18202b30}
.admin-form::backdrop{background:#18202b70;backdrop-filter:blur(3px)}.admin-form h2{font-size:22px;margin:0}.admin-form p{font-size:13px;color:var(--muted);line-height:1.8}
.admin-form label{display:grid;gap:6px;font-size:13px;margin:16px 0}.admin-form input,.admin-form select,.admin-form textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;font:inherit;background:#fff;color:var(--ink)}
.admin-form textarea{min-height:140px;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-error{color:#b34e58!important;min-height:22px}.secondary{background:#f1f3f8;border:1px solid var(--line);border-radius:9px;padding:10px 16px;font:inherit;cursor:pointer;color:var(--ink)}
.table-action{font-size:12px;padding:5px}.admin-panel select{font-size:12px;max-width:150px}.inventory-help{font-size:12px;color:var(--muted);line-height:1.8}.primary:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.auth-page{padding:16px;align-items:start}.order-lookup{padding:26px 20px;margin:20px 0}.lookup-order{padding:16px}.lookup-order-head b{font-size:13px}.lookup-order-foot strong{font-size:20px}.order-detail-shell{padding:32px 16px}.detail-row{flex-wrap:wrap}.payment-box{margin:25px 16px;padding:24px}}

/* Direct product checkout: display left, configuration and payment right. */
.order-entry{text-decoration:none}.buy-now-link{display:inline-flex;align-items:center;gap:12px;color:var(--blue);background:#eef0ff;padding:8px 12px;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none}.buy-now-link:hover{background:var(--blue);color:#fff}
.direct-product-page{background:radial-gradient(ellipse at 10% 12%,#eae8ff 0,transparent 38%),radial-gradient(ellipse at 100% 65%,#e8edff 0,transparent 35%),#f5f6fb;min-height:100vh}
.direct-product-shell{max-width:1280px;margin:auto;padding:26px 28px 70px}.purchase-breadcrumb{display:flex;gap:12px;margin:0 0 22px;font-size:12px;color:#9198a8}.purchase-breadcrumb a{color:#727d94;text-decoration:none}
.purchase-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;background:#ffffffdd;border:1px solid #e2e5f0;border-radius:25px;padding:28px;box-shadow:0 18px 65px #3342700a}
.purchase-visual{border:1px solid #e8e8f2;background:#f6f5fc;border-radius:19px;padding:13px;display:flex;flex-direction:column;min-width:0;align-self:stretch}.product-display{background:linear-gradient(145deg,#323c89 0%,#5d5bc1 48%,#9e8cda 100%);border-radius:13px;min-height:440px;flex:1;position:relative;overflow:hidden;padding:26px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.display-top,.display-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}.display-top{font-size:10px;letter-spacing:.2em;color:#e4e4ff}.display-top>span:last-child{font-size:19px}.display-bottom>span{font-size:32px;letter-spacing:.09em;font-weight:600}.display-bottom small{font-size:9px;letter-spacing:.08em;color:#e8e4ff}
.display-orbit{position:absolute;border:1px solid #ffffff25;border-radius:50%;z-index:-1}.orbit-a{width:540px;height:540px;top:-220px;right:-220px;box-shadow:0 0 0 50px #ffffff05,0 0 0 100px #ffffff04}.orbit-b{width:350px;height:350px;bottom:-190px;left:-150px;box-shadow:0 0 0 30px #ffffff05,0 0 0 60px #ffffff04}.display-emblem{font-size:160px;text-align:center;color:#fff;line-height:1.5;text-shadow:0 18px 65px #b8b3ff77}
.visual-caption{display:flex;align-items:center;gap:7px;padding:18px 6px 7px;color:#7a8196;font-size:11px}.visual-caption>span:last-child{margin-left:auto;font-size:9px;letter-spacing:.1em;color:#9b9daf}.caption-dot{width:6px;height:6px;background:#7e7bd4;border-radius:50%}
.purchase-config{padding:7px 3px;min-width:0}.purchase-eyebrow{font-size:10px;color:#9193b0;letter-spacing:.15em;display:flex;align-items:center;justify-content:space-between}.purchase-eyebrow>span{letter-spacing:0;font-size:11px;color:#7c7ca5}.purchase-config h1{font-size:clamp(23px,2.2vw,31px);line-height:1.5;letter-spacing:0;overflow-wrap:anywhere;margin:10px 0 14px;font-weight:650}.purchase-badges{display:flex;gap:7px;flex-wrap:wrap}.purchase-badge{font-size:11px;line-height:1.6;background:#e7f7f0;color:#138963;border:1px solid #d7efe3;border-radius:6px;padding:3px 9px}.stock-badge{background:#eeedff;color:#6d63bd;border-color:#e4e0fb}.neutral-badge{background:#f2f4fa;color:#7d8597;border-color:#e9ecf4}.purchase-price{font-size:35px;color:#ea5979;font-weight:700;line-height:1.35;margin:18px 0 0;font-variant-numeric:tabular-nums}.purchase-price small{font-size:12px;font-weight:400;color:#9a9cae;margin-left:8px}.purchase-summary{font-size:12px;line-height:1.8;color:#82899b;margin:8px 0 21px;padding-bottom:20px;border-bottom:1px solid #ebedf4}
.purchase-label{font-size:12px;color:#4e566b;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.purchase-label>span{color:#9a9eae;font-size:10px}#buyerEmail{width:100%;border:1px solid #e1e4ee;background:#f7f8fc;border-radius:10px;padding:12px 14px;color:#30384c;line-height:1.5;font-size:14px;outline:none}#buyerEmail:focus{border-color:#9294df;box-shadow:0 0 0 3px #6c6dd911}#buyerEmail::placeholder{color:#a7adbb}
.purchase-quantity-row{display:flex;align-items:center;justify-content:space-between;margin:20px 0;gap:18px}.purchase-quantity-row>p{font-size:10px;line-height:1.9;color:#9ca3b4;margin:14px 0 0;text-align:right}.quantity-stepper{display:flex;align-items:center;background:#f7f8fc;border:1px solid #e1e4ee;border-radius:9px;overflow:hidden;width:158px;height:41px}.quantity-stepper button{width:43px;height:100%;border:0;background:transparent;color:#737d96;font:inherit;font-size:19px;cursor:pointer}.quantity-stepper button:disabled{opacity:.35;cursor:default}.quantity-stepper input{appearance:textfield;-moz-appearance:textfield;min-width:0;width:70px;text-align:center;background:none;border:0;outline:0;font-size:15px;color:#38415b}.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.purchase-payment{padding:0;margin:0;border:0;min-width:0}.purchase-payment legend{font-size:12px;color:#4e566b;padding:0;margin-bottom:9px}.purchase-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.purchase-method{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e2e5ef;background:#fafaff;border-radius:10px;cursor:pointer;position:relative;min-width:0}.purchase-method:has(input:checked){border-color:#9694e0;background:#efefff;box-shadow:0 0 0 1px #b7b4ed22}.purchase-method input{position:absolute;opacity:0;width:1px;height:1px}.purchase-method:has(input:focus-visible){outline:2px solid #6c6bd1;outline-offset:3px}.method-symbol{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;background:#7470cf;color:#fff;border-radius:9px;font-size:16px}.manual-symbol{background:#389e9b}.purchase-method b{display:block;font-size:12px;font-weight:600;color:#47516b}.purchase-method small{display:block;font-size:9px;color:#969bb0;margin-top:2px}.purchase-method i{width:12px;height:12px;flex-shrink:0;border-radius:50%;border:1px solid #cbd0df;margin-left:auto}.purchase-method:has(input:checked) i{border:4px solid #7470cf;background:#fff}
.purchase-total{display:flex;justify-content:space-between;align-items:center;margin-top:21px;padding-top:16px;border-top:1px solid #ebedf4;font-size:13px;color:#778095}.purchase-total small{font-size:11px;color:#a0a5b5;margin-left:8px}.purchase-total strong{font-size:24px;font-weight:650;color:#313b58;font-variant-numeric:tabular-nums}.purchase-submit{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:10px;background:#625acb;color:#fff;padding:14px 18px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;margin-top:13px;box-shadow:0 8px 22px #665bc92b}.purchase-submit:hover{background:#574fbc}.purchase-submit:disabled{opacity:.5;cursor:default}.purchase-notice{font-size:10px;line-height:1.8;color:#a2a6b5;margin:11px 0 0}.purchase-message{font-size:12px;color:#b56a30;line-height:1.8;margin-top:8px;overflow-wrap:anywhere}.purchase-message:empty{margin:0}.purchase-resume{display:block;margin-top:8px;font-size:12px;color:#645fbb}.purchase-resume[hidden]{display:none}
.purchase-details{background:#ffffffd9;border:1px solid #e2e5f0;border-radius:21px;padding:28px 30px;margin-top:20px}.details-heading{display:flex;align-items:center;gap:10px}.details-heading>span{width:30px;height:30px;border-radius:9px;background:#efedff;color:#7b72bd;display:grid;place-items:center;font-size:21px}.details-heading h2{font-size:18px;margin:0;color:#3c4560}.purchase-details p{font-size:13px;line-height:1.9;color:#8a91a3}.purchase-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;margin-top:20px;border-top:1px solid #eef0f6;padding-top:10px}.purchase-details h3{font-size:13px;color:#525d77;margin:13px 0 5px}.purchase-details-grid p{font-size:12px;margin:0}.purchase-empty{background:white;border:1px solid #e2e5ef;border-radius:18px;padding:40px;text-align:center;color:#8991a3}
@media(max-width:950px){.purchase-panel{gap:23px;padding:20px}.product-display{padding:20px}.purchase-methods{grid-template-columns:1fr}.purchase-config h1{font-size:25px}.display-bottom small{display:none}.purchase-label>span{font-size:9px}}
@media(max-width:680px){.direct-product-shell{padding:18px 16px 40px}.purchase-breadcrumb{margin-bottom:15px}.purchase-panel{grid-template-columns:1fr;gap:23px;padding:14px;border-radius:18px}.purchase-visual{padding:9px}.product-display{min-height:275px;max-height:310px;padding:20px}.display-emblem{font-size:110px;line-height:1.1}.display-bottom>span{font-size:25px}.display-bottom small{display:block;font-size:8px}.visual-caption{padding:13px 4px 3px}.purchase-config{padding:0 7px 7px}.purchase-config h1{font-size:24px;line-height:1.5}.purchase-methods{grid-template-columns:1fr 1fr;gap:8px}.purchase-method{gap:7px;padding:10px 9px}.purchase-method i{display:none}.purchase-method small{font-size:8px}.purchase-label>span{font-size:9px}.purchase-details{padding:21px;border-radius:18px}.purchase-details-grid{grid-template-columns:1fr;gap:10px}.purchase-price{font-size:32px}.order-entry{font-size:11px;padding:9px}.purchase-quantity-row>p{font-size:9px}}
/* Product editor and uploaded covers. */
.admin-grid>.admin-panel:first-child{grid-column:1/-1}.admin-product-cell{display:flex;align-items:center;gap:12px}.admin-product-thumb,.admin-product-placeholder{width:46px;height:46px;flex-shrink:0;border-radius:9px;background:#f1f0fa;object-fit:contain}.admin-product-placeholder{display:grid;place-items:center;font-size:22px;color:#8076c5}.edit-product-action{background:#eeedff;border-radius:6px;padding:7px 11px;margin-right:8px}.admin-product-cell b{white-space:normal;max-width:340px;line-height:1.6}.catalog-product-image{width:100%;height:100%;display:block;object-fit:contain;background:#f6f5fa}.card-art:has(.catalog-product-image){padding:0;overflow:hidden}.product-photo-frame{min-height:440px;flex:1;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:13px;overflow:hidden}.product-photo{display:block;width:100%;height:100%;max-height:700px;object-fit:contain}
.product-editor{width:min(850px,calc(100% - 32px));max-height:calc(100dvh - 36px);overflow:auto;padding:28px}.editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.editor-heading p{margin:8px 0 22px}.editor-close{border:0;background:#f1f3f8;border-radius:8px;font-size:24px;width:32px;height:32px;color:#8a90a1;cursor:pointer;flex-shrink:0}.editor-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px}.editor-image-section{padding-top:16px}.editor-preview{height:240px;border-radius:14px;background:linear-gradient(145deg,#f0edff,#f6f7fd);border:1px dashed #d9d4ee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden}.editor-preview>span{font-size:58px;color:#aaa0de}.editor-preview>small{color:#9a94b2;font-size:12px}.editor-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.product-editor .image-picker{display:block;background:#efedff;color:#6a5cbc;text-align:center;border:1px solid #e1dcf5;border-radius:9px;padding:11px;font-weight:600;cursor:pointer}.image-picker input{max-width:100%;font-size:10px!important;margin-top:9px}.product-editor .image-hint{font-size:11px;line-height:1.9;color:#9996ab}.editor-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-pair label{min-width:0;margin-top:0}.editor-fields>label:first-child{margin-top:0}.product-editor .stock-editor-note{font-size:11px;line-height:1.8;background:#faf6ed;border-radius:9px;padding:10px 12px;color:#a18a57;margin:0}.product-editor textarea{min-height:100px}.product-editor .dialog-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:10px}.product-editor .form-error{margin:12px 0 0}
@media(max-width:680px){.editor-layout{grid-template-columns:1fr;gap:20px}.editor-image-section{padding:0}.editor-preview{height:200px}.product-editor{padding:20px}.product-photo-frame{min-height:275px;max-height:360px}.product-photo{max-height:360px}.admin-product-cell b{max-width:170px}}

#productTable table{min-width:720px}#productTable .admin-product-cell>div{min-width:140px}#productTable td:first-child{white-space:normal}

/* Keep long admin lists compact and move through records by page. */
.admin-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 4px 2px;color:#969daa;font-size:11px;border-top:1px solid #eef0f5;margin-top:2px}.admin-pagination strong{min-width:52px;text-align:center;color:#5f6680;font-weight:600}.admin-pagination button{border:1px solid #e0e3ed;background:#fff;color:#646b84;border-radius:7px;padding:6px 10px;font:inherit;cursor:pointer}.admin-pagination button:hover:not(:disabled){border-color:#8a86d8;color:#625acb;background:#f8f7ff}.admin-pagination button:disabled{opacity:.4;cursor:default}.admin-panel>.table-wrap{min-width:0}

/* Consistent 16:9 product covers; preserve uploaded artwork without distortion. */
.card{overflow:hidden}.card-art{position:relative;isolation:isolate;height:auto;aspect-ratio:16/9;margin:-18px -18px 16px;border-radius:0;justify-content:center;overflow:hidden;font-size:32px}
.cover-backdrop{position:absolute;inset:-16px;background-size:cover;background-position:center;filter:blur(18px);opacity:.4;pointer-events:none;z-index:0}
.card-art .catalog-product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:transparent;z-index:1}
.purchase-visual:has(.product-photo){align-self:start}
.product-photo-frame{position:relative;isolation:isolate;display:block;aspect-ratio:16/9;width:100%;height:auto;min-height:0;max-height:none;flex:none;background:#f0eff6}
.product-photo-frame .product-photo{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:contain;z-index:1}
.editor-preview{position:relative;isolation:isolate;aspect-ratio:16/9;height:auto;min-height:0;gap:6px}.editor-preview>span:not(.cover-backdrop),.editor-preview>small{z-index:1}.editor-preview>span:not(.cover-backdrop){font-size:40px}
.editor-preview img{position:absolute;inset:0;object-fit:contain;background:transparent;z-index:1}
@media(max-width:680px){.product-photo-frame{height:auto;min-height:0;max-height:none}.product-photo-frame .product-photo{max-height:none}.editor-preview{height:auto}}

.category-panel{margin-bottom:18px}.category-manager-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.category-manager-head b{display:block;font-size:17px}.category-manager-head small{display:block;color:#969daa;font-size:11px;margin-top:6px}.category-add{border:1px solid var(--line);border-radius:9px;padding:10px 13px;cursor:pointer}.category-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.category-chip{display:flex;align-items:center;gap:9px;border:1px solid #e4e6ef;background:#fafaff;border-radius:10px;padding:8px 10px 8px 13px;font-size:12px}.category-chip button{border:0;background:none;color:var(--blue);font-size:11px;cursor:pointer}.category-chip button:last-child{color:#b17a82}.category-chip button:hover{text-decoration:underline}

@media(max-width:680px){.category-manager-head{align-items:flex-start;flex-direction:column}.category-add{width:100%}}

.category-inline-toggle{justify-self:start;border:0;background:none;color:var(--blue);font:inherit;font-size:12px;padding:3px 0;cursor:pointer}.category-inline-fields{display:grid;gap:8px;background:#f5f4ff;border:1px solid #e9e5f8;border-radius:9px;padding:10px}.category-inline-fields[hidden]{display:none}.category-inline-error{font-size:11px;line-height:1.6;color:#b34e58}.category-inline-error:empty{display:none}.category-chip>span{overflow-wrap:anywhere;min-width:0}.category-chip{max-width:100%}.category-chip button{flex-shrink:0}

/* Distinguish deletion from reversible unlisting. */
.purchase-security-field{margin:19px 0}.purchase-security-field>input,.captcha-row>input,.order-unlock input{width:100%;border:1px solid #e1e4ee;background:#f7f8fc;border-radius:9px;padding:12px 14px;color:#30384c;font:inherit;font-size:14px;min-width:0}.purchase-security-field>input:focus,.captcha-row>input:focus,.order-unlock input:focus{outline:2px solid #c9c3f0;outline-offset:1px}.purchase-security-field>small,.order-lookup label>small{display:block;font-size:11px;color:#969bad;line-height:1.8;margin-top:7px}.captcha-row{display:flex;align-items:center;gap:10px;margin:9px 0 18px;min-width:0}.captcha-row>input{flex:1;width:0}.captcha-refresh{display:flex;align-items:center;gap:7px;flex-shrink:0;border:1px solid #e2dff1;background:#f3f1fa;border-radius:9px;padding:0 8px 0 0;cursor:pointer;min-height:48px;max-width:190px}.captcha-refresh img{display:block;width:150px;height:48px;border-radius:8px;object-fit:contain}.captcha-refresh span{font-size:10px;color:#81769f;white-space:nowrap}.captcha-refresh:focus-visible{outline:2px solid #867ac3;outline-offset:2px}.captcha-refresh:disabled{opacity:.6;cursor:wait}.order-unlock{max-width:470px;margin:20px auto}.order-unlock h2{font-size:24px}.order-unlock>p{font-size:13px;line-height:1.8;color:#8a90a2}.order-unlock label{display:block;font-size:13px;color:#6d7488;margin:18px 0 9px}.order-unlock label>input{display:block;margin-top:9px}.unlock-message{font-size:12px;color:#b45969;line-height:1.8}.order-unlock>a{display:block;margin-top:18px;text-align:center}.order-lookup .captcha-row{margin-top:10px}.order-lookup .captcha-row input{margin-top:0}
@media(max-width:480px){.captcha-refresh img{width:115px;height:43px}.captcha-refresh{min-height:43px;gap:4px;padding-right:6px}.captcha-refresh span{font-size:9px}.captcha-row{gap:7px}.captcha-row>input{padding:12px 9px;font-size:13px}}
.table-action.delete-product-action{color:#c74c5b;background:#fff0f2;border:1px solid #f3d5db;border-radius:7px;padding:8px 10px;margin-left:6px}.delete-product-notice{font-size:12px;line-height:1.9;background:#fff6f5;border:1px solid #f1dcdb;border-radius:10px;color:#8f5960;padding:15px;margin:17px 0}.danger-delete-button{font:inherit;font-size:13px;font-weight:600;background:#bd4658;color:#fff;border:1px solid #bd4658;border-radius:9px;padding:11px 17px;cursor:pointer}.danger-delete-button:disabled{opacity:.5;cursor:default}.product-delete-dialog{max-width:510px}.product-delete-dialog form>p{overflow-wrap:anywhere}.product-delete-dialog .form-error{font-size:12px;line-height:1.8}

/* Alipay checkout presentation. */
.alipay-symbol{background:#00a3ee;color:#fff;font-family:"Microsoft YaHei",sans-serif;font-size:22px;font-weight:700;line-height:1}
.purchase-method:has(input[value="zpay"]:checked){border-color:#00a3ee;background:#effaff;box-shadow:0 0 0 1px #00a3ee22}
.purchase-method:has(input[value="zpay"]:checked) i{border-color:#00a3ee}
.purchase-method:has(input[value="zpay"]:focus-visible){outline-color:#008bd0}
#directCheckout:has(input[value="zpay"]:checked) .purchase-submit{background:#009fe8;box-shadow:0 8px 22px #009fe82b}
#directCheckout:has(input[value="zpay"]:checked) .purchase-submit:hover{background:#008bd0}
.payment-methods .method{display:flex;align-items:center;gap:8px}
.payment-methods .method[data-method="zpay"].active{border-color:#00a3ee;background:#effaff;color:#008bd0}
.payment-box:has(.method[data-method="zpay"].active) #pay{background:#009fe8}

/* Editable storefront identity. */
.brand-mark{overflow:hidden;flex-shrink:0}.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}
.brand b,.footer-brand b{overflow-wrap:anywhere}
.avatar-picker{display:flex;align-items:center;gap:18px;margin:14px 0 22px;flex-wrap:wrap}
.avatar-picker-preview{display:grid;place-items:center;width:76px;height:76px;border-radius:18px;background:#19212d;color:#fff;font:600 30px Georgia;overflow:hidden;flex-shrink:0}
.avatar-picker-preview img{display:block;width:100%;height:100%;object-fit:cover}
.avatar-picker-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;flex:1;min-width:190px}.avatar-picker-actions label{display:grid;gap:8px;font-size:13px;color:#48536b}.avatar-picker-actions input{max-width:100%;font:inherit}.avatar-picker-actions small{flex-basis:100%;color:#8993a6;font-size:12px;line-height:1.6}.avatar-picker-remove{border:1px solid #dce0ed;border-radius:8px;padding:8px 12px;background:#fff;color:#65728a;cursor:pointer}.avatar-picker-remove:disabled{opacity:.5}
.brand-settings-form{max-width:700px}.brand-settings-form>label{display:grid;gap:9px;font-size:13px;color:#48536b}.brand-settings-form>label input{border:1px solid #dce0ed;border-radius:9px;padding:12px;font:inherit;width:100%}.brand-settings-form>p{font-size:13px;line-height:1.8;color:#8590a4}.brand-settings-form [data-brand-message]{min-height:22px;color:#526c91;font-size:13px;margin:10px 0}
@media(max-width:600px){.avatar-picker-actions{min-width:0;flex-basis:100%}.avatar-picker-actions label{max-width:100%}}

.brand>span:last-child,.footer-brand>span:last-child{min-width:0}.brand b,.footer-brand b{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 后台功能标签栏：一行展示，网站名称和头像固定放在最后。 */
.admin-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:6px;background:#fff;border:1px solid var(--line);border-radius:15px;margin:0 0 18px;scrollbar-width:thin}
.admin-tab{flex:0 0 auto;border:0;border-radius:10px;background:transparent;color:#7d8492;padding:11px 15px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;transition:.2s}
.admin-tab:hover{background:#f2f3fb;color:var(--blue)}
.admin-tab.is-active{background:var(--blue);color:#fff;box-shadow:0 7px 16px #4457f42b;font-weight:700}
.admin-tab-panels{min-width:0}
.admin-tab-panel[hidden]{display:none!important}
.admin-tab-panel{min-height:220px}
.admin-tab-panel .table-wrap{max-height:none}
@media(max-width:760px){.admin-tabs{margin-left:-1px;margin-right:-1px;border-radius:12px}.admin-tab{padding:10px 12px;font-size:11px}}

/* 首页公告：放在首屏与服务亮点之间，保持原有留白与视觉层次。 */
.announcement-bar{max-width:1184px;margin:0 auto 28px;padding:18px 24px;display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 28px #2832590a}
.announcement-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#eef0ff;color:var(--blue);font-weight:800;font-size:16px}
.announcement-copy{min-width:0}.announcement-copy strong{display:block;font-size:14px;color:var(--ink);font-weight:800;margin:2px 0 7px}.announcement-copy p{margin:0;color:#5f6b7c;font-size:13px;font-weight:600;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:680px){.announcement-bar{margin:0 20px 22px;padding:15px 16px;border-radius:13px}.announcement-copy strong{font-size:13px}.announcement-copy p{font-size:12px}}

/* Password recovery uses the existing login card and blue accent. */
.auth-forgot{display:flex;justify-content:flex-end;margin:4px 0 12px}.auth-forgot a{color:var(--blue);font-size:12px;text-decoration:none}.auth-forgot a:hover{text-decoration:underline}
.reset-card .brand{margin-bottom:32px}.reset-card h1{font-size:32px}.reset-code-row{display:flex;align-items:stretch;gap:10px;margin-top:7px}.reset-code-row input{min-width:0;flex:1;margin-top:0}.reset-send{flex:0 0 auto;background:#eef0ff;border:1px solid #dfe2ff;border-radius:9px;padding:10px 12px;color:var(--blue);font:inherit;font-size:12px;cursor:pointer}.reset-send:disabled{opacity:.55;cursor:default}#resetMessage{font-size:12px;line-height:1.8;color:#526181;margin-top:15px;min-height:22px}.reset-card .auth-switch{margin-top:18px}
@media(max-width:420px){.reset-card{padding:28px 22px}.reset-send{padding:9px;font-size:11px}}

/* Keep the announcement title clear of the sticky header after support navigation. */
#announcement{scroll-margin-top:100px}

/* Partner promotion link shares the ordinary navigation alignment and palette. */
.main-nav .partner-nav-link{color:#18202b;font-weight:500;background:transparent;padding:0;border-radius:0;box-shadow:none;white-space:nowrap;position:relative;isolation:isolate}.main-nav .partner-nav-link::before{content:"";position:absolute;inset:-9px -16px;z-index:-1;border-radius:999px;background:linear-gradient(135deg,#ffe33f,#ffac18);box-shadow:0 8px 18px #ffb51f2b;pointer-events:none}.main-nav .partner-nav-link:hover,.main-nav .partner-nav-link.active{color:#18202b;transform:none;box-shadow:none}

/* Registration email proof reuses the existing authentication card. */
.registration-code-row{display:flex;gap:10px;align-items:stretch;margin-top:7px}.auth-card .registration-code-row input{min-width:0;flex:1;margin-top:0}.registration-code-send{flex:0 0 auto;border:1px solid #dfe2ff;background:#eef0ff;border-radius:9px;padding:10px 12px;color:var(--blue);font:inherit;font-size:12px;cursor:pointer}.registration-code-send:disabled{opacity:.55;cursor:default}.registration-code-hint{display:block;font-size:11px;font-weight:400;color:#8993a5;line-height:1.7;margin-top:8px}#authMessage{line-height:1.7}.registration-code-send:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media(max-width:420px){.registration-code-row{gap:7px}.registration-code-send{padding:9px;font-size:11px}}

/* Keep a single order lookup button in the home navigation. */
.main-nav{align-items:center}.main-nav .order-entry{color:var(--ink);font-weight:600;white-space:nowrap}.main-nav .order-entry:hover{color:var(--ink);border-color:#d4d8e2}
@media(max-width:680px){.main-nav{display:flex;margin-left:0;gap:0}.main-nav>a:not(.order-entry){display:none}.main-nav .order-entry{font-size:11px;padding:9px}}

/* Readable Markdown product details and matching administrator preview. */
.product-markdown{margin-top:22px;color:#344456;font-size:15px;line-height:1.9;overflow-wrap:anywhere}
.product-markdown p{font-size:inherit;color:inherit;line-height:inherit;margin:0 0 18px}
.product-markdown h1,.product-markdown h2,.product-markdown h3,.product-markdown h4,.product-markdown h5,.product-markdown h6{color:#18202b;line-height:1.45;letter-spacing:0;font-weight:750;margin:32px 0 16px}
.product-markdown h1{font-size:28px}.product-markdown h2{font-size:24px}.product-markdown h3{font-size:20px}.product-markdown h4,.product-markdown h5,.product-markdown h6{font-size:17px}
.product-markdown>:first-child{margin-top:0}.product-markdown>:last-child{margin-bottom:0}.product-markdown strong{font-weight:750;color:#18202b}
.product-markdown ul,.product-markdown ol{padding-left:26px;margin:12px 0 24px}.product-markdown li{margin:7px 0;padding-left:4px}.product-markdown li::marker{color:#909aad}.product-markdown li>p{margin-bottom:7px}
.product-markdown a{color:#168878;text-decoration:underline;text-underline-offset:3px}.product-markdown a:hover{color:#0f665a}
.product-markdown blockquote{margin:20px 0;padding:12px 18px;border-left:3px solid #a3a5e7;background:#f5f5fd;border-radius:0 9px 9px 0}
.product-markdown code{font: .9em Consolas,monospace;background:#f1f2f8;padding:2px 5px;border-radius:4px}.product-markdown pre{overflow:auto;background:#f1f2f8;padding:16px;border-radius:10px}.product-markdown pre code{padding:0;background:none;white-space:pre}
.product-markdown hr{border:0;border-top:1px solid #e2e5ef;margin:24px 0}.product-markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:18px 0}.product-markdown th,.product-markdown td{padding:9px 12px;border:1px solid #e0e4ee;text-align:left}.product-markdown th{background:#f5f6fb;font-weight:700}
.markdown-help{font-size:11px;color:#7f899b;line-height:1.8;margin:6px 0 18px}.description-preview{border:1px solid #e2e5ef;border-radius:11px;padding:14px;background:#fafbff}.description-preview summary{font-size:12px;color:#56617a;cursor:pointer;font-weight:650}.description-preview .product-markdown{font-size:13px;max-height:360px;overflow:auto;padding:4px}.description-preview .product-markdown h1{font-size:23px}.description-preview .product-markdown h2{font-size:21px}.description-preview .product-markdown h3{font-size:18px}.product-editor textarea[name=description]{font-family:Consolas,'Microsoft YaHei',monospace;line-height:1.8;min-height:190px}
@media(max-width:680px){.product-markdown{font-size:14px;line-height:1.85}.product-markdown h1{font-size:24px}.product-markdown h2{font-size:21px}.product-markdown h3{font-size:18px}.product-markdown ul,.product-markdown ol{padding-left:22px}}

/* Read-only admin list queries; date bounds use China calendar days. */
.admin-query{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px;margin:0 0 16px;background:#f7f8fc;border:1px solid #e7e9f1;border-radius:12px;min-width:0}
.admin-query label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#657089;min-width:130px;flex:0 1 150px}
.admin-query label:first-child{flex:1 1 280px;min-width:180px}
.admin-query input,.admin-query select{width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid #dce0ea;border-radius:8px;background:#fff;color:#263047;font:inherit;font-size:13px;height:39px}
.admin-query button{min-height:39px;padding:8px 15px;white-space:nowrap}
.admin-query-count{font-size:12px;color:#657089;padding:10px 0;white-space:nowrap}
.admin-query-error{color:#b42318;font-size:12px;flex-basis:100%}.admin-query-error:empty{display:none}
[data-agent-list]{min-width:0}
@media(max-width:600px){.admin-query{padding:10px;gap:8px}.admin-query label{flex:1 1 125px;min-width:0}.admin-query label:first-child{flex-basis:100%;min-width:0}.admin-query-count{flex-basis:100%;padding:0}.admin-query button{flex:1}.admin-query input[type=date]{max-width:100%}}
.dashboard-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;margin-bottom:18px}.dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.dashboard-kicker{color:#8b93a4;font-size:11px;letter-spacing:.12em}.dashboard-top h2{font-size:19px;margin:5px 0 0}.dashboard-range{display:flex;gap:3px;background:#f5f6fa;border-radius:12px;padding:4px}.dashboard-range button{border:0;background:transparent;border-radius:9px;padding:9px 15px;color:#667085;font:inherit;font-size:12px;cursor:pointer}.dashboard-range button.is-active{background:#fff;color:var(--ink);box-shadow:0 2px 9px #19223814;font-weight:700}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);padding-bottom:24px}.dashboard-kpis article{padding:0 22px;border-right:1px solid #edf0f4}.dashboard-kpis article:first-child{padding-left:0}.dashboard-kpis article:last-child{border-right:0}.dashboard-kpis small,.dashboard-members small{display:block;color:#7e8798;font-size:12px}.dashboard-kpis strong{display:block;font-size:30px;letter-spacing:-.05em;margin:11px 0 7px}.dashboard-kpis span{color:#9aa2af;font-size:12px}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:52px;border-bottom:1px solid var(--line);padding:30px 0}.dashboard-columns h3,.dashboard-members h3{font-size:16px;margin:0 0 20px}.dashboard-bar-row{display:grid;grid-template-columns:100px 105px minmax(80px,1fr) 48px;align-items:center;gap:12px;margin:17px 0;font-size:12px}.dashboard-bar-row>span{color:#556174}.dashboard-bar-row>b{font-size:13px;font-weight:600}.dashboard-bar-row em,.dashboard-channel-row em{font-style:normal;color:#8f97a5;text-align:right}.dashboard-bar{height:9px;background:#f0f1f4;border-radius:99px;overflow:hidden}.dashboard-bar i{display:block;height:100%;background:#cfd3db;border-radius:99px}.dashboard-bar i.main{background:#cfd3db}.dashboard-bar i.accent,.dashboard-channel-row .dashboard-bar i{background:#2e78d3}.dashboard-channel-row{display:grid;grid-template-columns:36px minmax(100px,1fr) 100px minmax(80px,1fr) 48px;align-items:center;gap:10px;margin:12px 0}.dashboard-channel-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eaf2ff;color:#2e78d3;font-weight:800}.dashboard-channel-copy b,.dashboard-channel-copy small{display:block}.dashboard-channel-copy b{font-size:13px}.dashboard-channel-copy small{color:#9aa2af;margin-top:4px}.dashboard-channel-row strong{font-size:13px}.dashboard-members{padding-top:28px}.dashboard-member-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.dashboard-member-grid>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.dashboard-member-grid strong{font-size:23px}.dashboard-member-grid em{font-style:normal;color:#8992a0;font-size:12px}.dashboard-legacy-stats{display:none}.dashboard-error{color:#b42318;font-size:12px;padding:15px 0}
@media(max-width:760px){.dashboard-panel{padding:16px}.dashboard-top{display:block}.dashboard-range{margin-top:16px;overflow:auto}.dashboard-range button{flex:1;padding:9px 10px}.dashboard-kpis{grid-template-columns:1fr 1fr;gap:22px 0}.dashboard-kpis article{padding:0 12px;border-right:0}.dashboard-kpis article:nth-child(odd){padding-left:0}.dashboard-kpis article:nth-child(even){border-left:1px solid #edf0f4}.dashboard-kpis strong{font-size:25px}.dashboard-columns{grid-template-columns:1fr;gap:30px}.dashboard-bar-row{grid-template-columns:85px 82px minmax(60px,1fr) 42px;gap:7px}.dashboard-channel-row{grid-template-columns:32px minmax(70px,1fr) 82px minmax(60px,1fr) 40px;gap:6px}.dashboard-member-grid{grid-template-columns:1fr 1fr;gap:20px}}
