:root {
  --ink: #182432;
  --muted: #6d7888;
  --line: rgba(45, 67, 91, .11);
  --primary: #4f73f6;
  --purple: #7b63ed;
  --pink: #ff668c;
  --green: #22ae7e;
  --panel: rgba(255, 255, 255, .82);
  --shadow: 0 20px 55px rgba(49, 61, 91, .10);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f5f7fb;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88) 0 70px, transparent 70px),
    radial-gradient(circle at 50% 24%, rgba(255, 213, 224, .62), transparent 32%),
    radial-gradient(circle at 14% 48%, rgba(205, 244, 235, .82), transparent 34%),
    radial-gradient(circle at 88% 55%, rgba(214, 218, 255, .78), transparent 32%),
    linear-gradient(145deg, #f8fbff 5%, #fff7f9 46%, #f1f7ff 100%);
}
.scene::before {
  content: "";
  position: absolute;
  inset: 70px 0 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(83,100,130,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83,100,130,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, transparent 82%);
}
.mesh { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .58; }
.mesh-one { width: 420px; height: 420px; left: -170px; top: 260px; background: radial-gradient(circle at 60% 40%, rgba(97,213,184,.46), rgba(97,213,184,0) 68%); }
.mesh-two { width: 560px; height: 560px; right: -180px; top: 130px; background: radial-gradient(circle, rgba(126,113,245,.27), rgba(126,113,245,0) 67%); }
.mesh-three { width: 510px; height: 260px; left: 34%; bottom: -100px; background: radial-gradient(ellipse, rgba(255,154,180,.30), rgba(255,154,180,0) 70%); }
.light-streak { position:absolute; left:10%; right:8%; top:350px; height:170px; border-radius:50%; border-top:2px solid rgba(255,255,255,.8); transform:rotate(-5deg); filter:drop-shadow(0 -12px 24px rgba(255,255,255,.9)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  background: rgba(255, 255, 255, .90);
  border-bottom: 1px solid rgba(36, 51, 72, .07);
  box-shadow: 0 6px 24px rgba(46, 59, 85, .04);
  backdrop-filter: blur(18px);
}
.header-inner { width: min(1320px, calc(100% - 32px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; }
.brand strong { color: #33b48d; font-size: 21px; letter-spacing: .035em; }
.brand > span:last-child:not(.brand-mark) { display: flex; flex-direction: column; line-height: 1.05; }
.brand small { margin-top: 5px; color: #758994; font-size: 11px; letter-spacing: .11em; }
.brand-mark { position: relative; display: inline-flex; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(145deg, #ff9fb6, #ff6f98); box-shadow: 0 6px 15px rgba(255,97,144,.18); overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; width: 21px; height: 16px; left: 6px; bottom: 3px; background: white; border-radius: 4px 4px 7px 7px; }
.brand-mark i { position: absolute; z-index: 1; width: 2px; height: 6px; top: 17px; background: #354d56; border-radius: 3px; }
.brand-mark i:first-child { left: 11px; }
.brand-mark i:last-child { right: 11px; }
.ui-icon,.panel-icon { display:block; width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.main-nav { display: flex; gap: 0; }
.main-nav a { display:flex; align-items:center; gap:5px; padding:6px 7px; color:#898989; font-size:15.5px; font-weight:400; white-space:nowrap; }
.main-nav a .ui-icon { width:17px; height:17px; color:currentColor; }
.main-nav a:hover,.main-nav .nav-active { color:#479afb; background:transparent; font-weight:600; }
.header-actions { margin-left:auto; display:flex; align-items:center; gap:7px; }
.search-box { width:245px; height:32px; display:flex; align-items:center; gap:7px; padding:0 11px; background:#fff; border:1px solid #cfd5dc; border-radius:12px; }
.search-box .ui-icon { width:16px; height:16px; color:#303942; stroke-width:2; }
.search-box input { width:100%; min-width:0; padding:0; border:0; outline:0; color:var(--ink); background:transparent; font-size:13px; line-height:20px; }
.search-box input::placeholder { color:#7d838b; opacity:1; }
.auth-button { display:inline-flex; align-items:center; gap:4px; min-height:32px; padding:0 10px; border-radius:999px; font-size:14px; font-weight:500; white-space:nowrap; }
.auth-button .ui-icon { width:16px; height:16px; stroke-width:1.8; }
.login-button { border:1px solid #d6dce3; color:#58616d; background:#fff; }
.create-button { color:#fff; background:#1677ff; box-shadow:0 5px 14px rgba(22,119,255,.22); }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 9px; min-width: 136px; cursor: pointer; padding: 5px 9px; border-radius: 14px; background: #f3f7ff; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#7584fb,#a369ef); font-weight: 800; }
.user-copy { display: flex; flex-direction: column; font-size: 13px; }
.user-copy small { color: #83909c; margin-top: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: 180px; padding: 8px; border: 1px solid #e6e9ee; border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
.menu-panel a, .menu-panel button { display: block; width: 100%; padding: 11px 13px; border: 0; border-radius: 9px; background: none; text-align: left; cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: #f1f5fd; }
.menu-panel button { color: #e24f70; }

.page-shell { width:min(1320px,calc(100% - 32px)); min-height:calc(100vh - 112px); margin:0 auto; padding:14px 0 48px; }
.glass-panel { border: 1px solid rgba(255,255,255,.82); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.panel-title { display:flex; align-items:center; gap:6px; min-height:44px; padding:11px 16px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.42); font-size:15.5px; font-weight:500; }
.panel-icon { width:17px; height:17px; color:#202733; stroke-width:1.9; }
.notice { overflow: hidden; background:rgba(255,255,255,.74); }
.notice-body { position:relative; display:block; padding:11px 16px 12px; font-size:13px; line-height:1.5; }
.notice-body::after { content:""; position:absolute; width:310px; height:190px; right:13%; top:-78px; border-radius:50%; background:radial-gradient(circle,rgba(239,177,195,.27),transparent 68%); pointer-events:none; }
.notice-copy,.notice-list { position:relative; z-index:1; }
.notice-body p { margin:0 0 3px; }
.notice-list { display:grid; gap:2px; margin:7px 0 0; padding:0; list-style:none; }
.notice-list li { display:flex; align-items:center; min-height:20px; }
.notice-list span { display:inline-grid; place-items:center; width:19px; height:19px; margin-right:7px; border-radius:5px; color:white; background:#6386ee; font-size:10px; font-weight:800; flex:0 0 auto; }
.catalog { margin-top:10px; overflow:hidden; background:rgba(255,255,255,.76); }
.catalog-body { padding:10px 16px 14px; }
.category-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.category-tab { padding:6px 12px; border:1px solid rgba(66,82,112,.10); border-radius:999px; color:#fff; background:linear-gradient(115deg,#5e7cf3,#af70f3); box-shadow:0 4px 12px rgba(102,101,223,.17); cursor:pointer; font-size:14px; font-weight:500; }
.mini-mark { display:inline-block; width:15px; height:15px; margin-right:6px; border-radius:50%; vertical-align:-2px; background:#fff; box-shadow:inset 0 0 0 4px #262d3e; }
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,310px)); align-items:start; gap:15px; }
.product-card { overflow:hidden; border:1px solid rgba(53,68,93,.08); border-radius:14px; background:#fff; box-shadow:0 7px 25px rgba(100,100,111,.14); transition:transform .2s ease,box-shadow .2s ease; }
.product-card:hover { transform:translateY(-5px); box-shadow:0 20px 42px rgba(39,53,77,.14); }
.product-image-wrap { height:160px; overflow:hidden; background:#f7fafc; }
.product-image-wrap img { width:100%; height:100%; object-fit:cover; }
.product-card-body { display:flex; min-height:145px; flex-direction:column; padding:11px 13px 12px; }
.tag-row { display:flex; gap:7px; flex-wrap:wrap; }
.tag { padding:3px 7px; border-radius:999px; font-size:11px; font-weight:500; }
.tag-green { color:#15966a; background:#e4f8ef; border:1px solid #bfead8; }
.tag-purple { color:#655aec; background:#f0edff; border:1px solid #d9d2ff; }
.tag-blue { color:#287ea8; background:#e6f5fb; }
.tag-soft { color:#6d7085; background:#f0f1f5; }
.product-card h2 { min-height:40px; margin:7px 0 7px; font-size:15px; line-height:1.35; }
.price { display:block; color:var(--pink); font-size:23px; letter-spacing:-.02em; }
.inventory-line { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:6px; color:#7b8491; font-size:13px; }
.inventory-line strong { color:#5e6877; }

.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; border:0; border-radius:13px; color:#fff; background:#7d8794; font-weight:800; cursor:pointer; box-shadow:0 10px 22px rgba(79,77,220,.16); transition:transform .18s ease,filter .18s ease; }
.button:hover:not(:disabled) { transform:translateY(-2px); filter:brightness(1.03); }
.button:disabled { cursor:not-allowed; opacity:.55; box-shadow:none; }
.button-small { min-height:40px; padding:0 16px; font-size:14px; }
.button-primary { background:linear-gradient(110deg,#5b65ee,#258de9); }
.button-wide { width:100%; }
.flash-stack { position:fixed; z-index:80; top:86px; left:50%; transform:translateX(-50%); display:grid; gap:8px; width:min(460px,calc(100% - 28px)); }
.flash { padding:13px 17px; border:1px solid rgba(255,255,255,.8); border-radius:14px; background:rgba(255,255,255,.96); box-shadow:0 14px 35px rgba(15,69,86,.15); font-weight:700; transition:opacity .25s,transform .25s; }
.flash-error { color:#b73558; }.flash-success { color:#128463; }.flash-info { color:#287c9c; }.flash-hide { opacity:0; transform:translateY(-10px); pointer-events:none; }

.auth-page .page-shell { width:100%; min-height:100vh; padding:0; }
.auth-wrap { min-height:100vh; display:grid; place-items:center; padding:54px 20px; background:rgba(255,255,255,.15); }
.auth-brand { position:absolute; top:24px; left:30px; }
.auth-card { width:min(550px,100%); padding:32px 35px 27px; background:rgba(255,255,255,.78); }
.auth-icon { display:grid; place-items:center; margin-bottom:14px; }
.auth-icon .brand-mark { width:61px; height:61px; border-radius:18px; }
.auth-icon .brand-mark::before { width:41px; height:31px; left:10px; bottom:7px; }
.auth-icon .brand-mark i { top:30px; height:11px; }
.auth-icon .brand-mark i:first-child { left:20px; }.auth-icon .brand-mark i:last-child { right:20px; }
.admin-auth-icon { width:62px; height:62px; margin:0 auto 14px; border-radius:18px; color:#fff; background:linear-gradient(145deg,#415ee5,#8761eb); box-shadow:0 12px 24px rgba(69,76,203,.22); font-size:26px; font-weight:900; }
.auth-heading { margin-bottom:18px; text-align:center; }
.auth-heading p { margin:0 0 5px; color:#73808e; font-size:13px; }
.auth-heading h1 { margin:0; font-size:27px; }
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:14px; }
.field span,.form-label { color:#596879; font-size:13px; font-weight:800; }
.field input,.field textarea,.field select { width:100%; padding:0 15px; border:1px solid #dce2e9; border-radius:12px; outline:none; color:var(--ink); background:rgba(255,255,255,.72); transition:border-color .18s,box-shadow .18s; }
.field input,.field select { height:52px; }
.field textarea { padding:13px 14px; resize:vertical; line-height:1.55; }
.field input:focus,.field textarea:focus,.field select:focus { border-color:#708bf1; box-shadow:0 0 0 4px rgba(85,112,235,.10); background:#fff; }
.captcha-row { display:grid; grid-template-columns:1fr 160px; align-items:end; gap:12px; }
.captcha-row .field { margin-bottom:0; }
.captcha-image { width:160px; height:52px; padding:0; overflow:hidden; border:1px solid rgba(232,105,173,.24); border-radius:12px; background:#fff8fc; cursor:pointer; }
.captcha-image img { display:block; width:100%; height:100%; }
.auth-card > .button { margin-top:19px; }.auth-switch { margin:16px 0 0; text-align:center; color:#7c8794; font-size:13px; }.auth-switch a { color:#5864df; font-weight:800; }

.product-detail { display:grid; grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr); align-items:start; padding:8px 14px; background:rgba(255,255,255,.72); }
.detail-image { display:grid; place-items:center; min-height:0; aspect-ratio:1.65; overflow:hidden; border-radius:15px; background:#fff; }
.detail-image img { width:100%; height:100%; object-fit:contain; }
.detail-purchase { padding:0 7px 0 21px; }
.back-link { display:inline-block; margin-bottom:7px; color:#657384; font-size:12px; font-weight:700; }
.detail-purchase h1 { margin:0 0 7px; font-size:22px; line-height:1.28; letter-spacing:-.015em; }
.detail-price { margin:8px 0 5px; color:var(--pink); font-size:30px; font-weight:900; }
.detail-lead { margin:0 0 9px; color:#687687; font-size:12.5px; line-height:1.5; }
.checkout-form { display:grid; gap:8px; }
.form-section { display:grid; gap:5px; }
.stepper { display:grid; grid-template-columns:40px 58px 40px; width:max-content; padding:3px; border:1px solid #e6e9ed; border-radius:10px; background:#fff; box-shadow:0 5px 13px rgba(41,55,75,.06); }
.stepper button { height:31px; border:0; border-radius:7px; color:#fff; background:linear-gradient(135deg,#ff7fa5,#f24e8e); cursor:pointer; font-size:18px; }
.stepper input { width:58px; border:0; outline:0; color:#e84e88; background:transparent; text-align:center; font-weight:900; -moz-appearance:textfield; }
.stepper input::-webkit-inner-spin-button { appearance:none; }
.detail-captcha { grid-template-columns:1fr 135px; max-width:380px; gap:9px; }
.detail-captcha .field { gap:5px; }
.detail-captcha .field input,.detail-captcha .captcha-image { height:44px; }
.detail-captcha .captcha-image { width:135px; }
.payment-options { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:8px; border:1px solid #e6e9ee; border-radius:13px; background:rgba(247,249,252,.8); }
.payment-options legend { padding:0 6px; color:#5d65db; font-size:13px; font-weight:800; }
.pay-option { position:relative; display:flex; align-items:center; gap:8px; min-width:158px; padding:7px 9px; border:2px solid transparent; border-radius:10px; background:#fff; cursor:pointer; }
.pay-option:has(input:checked) { border-color:#5f6ce7; box-shadow:0 0 0 3px rgba(95,108,231,.08); }
.pay-option input { position:absolute; opacity:0; }
.pay-option > span:last-child { display:flex; flex-direction:column; }
.pay-option small { margin-top:1px; color:#7f8b97; font-size:10.5px; }
.pay-logo { display:inline-grid; place-items:center; width:29px; height:29px; border-radius:8px; color:white; font-weight:900; }.alipay-logo { background:#168bea; }
.bsc-logo { color:#f0b90b; background:transparent; }
.bsc-icon { display:block; width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.detail-purchase .button-wide { min-height:42px; }
.product-notes { margin-top:10px; overflow:hidden; background:rgba(255,255,255,.72); }.notes-body { padding:10px 22px 5px; font-size:13px; }.notes-body ul { margin:0; padding-left:20px; line-height:1.7; }

.payment-page { background:#f2f4f8; }.payment-page .scene { display:none; }.payment-page .page-shell { display:grid; place-items:center; width:100%; min-height:calc(100vh - 90px); padding:38px 18px; }
.payment-page .site-footer { color:#84909e; }
.payment-shell { width:min(590px,100%); overflow:hidden; border-radius:23px; background:white; box-shadow:0 25px 65px rgba(39,50,73,.15); }
.payment-head { display:flex; justify-content:space-between; align-items:center; min-height:127px; padding:26px 32px; color:#fff; background:linear-gradient(130deg,#2c65e9,#2677f3); }
.payment-head p { margin:0 0 7px; font-size:23px; font-weight:900; }.payment-head strong { font-size:14px; opacity:.85; }.status-pill { padding:7px 13px; border-radius:999px; background:#ffc400; font-size:13px; font-weight:800; }
.payment-summary { padding:24px 32px; border-bottom:1px solid #e8edf3; }.payment-summary dl,.payment-summary div { margin:0; }.payment-summary div { display:flex; justify-content:space-between; gap:22px; padding:7px 0; }.payment-summary dt { color:#738092; }.payment-summary dd { margin:0; max-width:66%; text-align:right; font-weight:650; }.payment-summary .payment-amount { color:#f04452; font-size:29px; font-weight:900; }
.payment-body { display:flex; flex-direction:column; align-items:center; padding:30px 34px 35px; text-align:center; }.scan-label { display:flex; align-items:center; gap:8px; margin-bottom:17px; color:#159453; font-weight:800; }
.qr-placeholder { position:relative; display:grid; place-items:center; width:236px; height:236px; border:5px solid #20bd61; border-radius:12px; color:#26313a; background:repeating-conic-gradient(#17212b 0 25%,#fff 0 50%) 50%/22px 22px; box-shadow:inset 0 0 0 15px #fff; }.qr-placeholder::after { content:""; position:absolute; inset:56px; border-radius:15px; background:#fff; box-shadow:0 5px 24px rgba(0,0,0,.22); }.qr-placeholder strong,.qr-placeholder small { position:absolute; z-index:2; }.qr-placeholder strong { top:91px; color:#2369dc; font-size:25px; }.qr-placeholder small { top:127px; color:#e14655; font-weight:900; }.qr-corner { position:absolute; z-index:1; width:46px; height:46px; border:9px solid #111; background:#fff; box-shadow:inset 0 0 0 7px #fff,inset 0 0 0 14px #111; }.q1{left:18px;top:18px}.q2{right:18px;top:18px}.q3{left:18px;bottom:18px}
.countdown-copy { margin:19px 0; color:#778291; line-height:1.55; }.countdown-copy strong { color:#ef4752; font-size:20px; }.payment-tip { padding:13px 16px; border-radius:11px; color:#2b68d8; background:#edf4ff; font-size:13px; }.demo-button { margin-top:16px; background:#8792a2; box-shadow:none; }.config-warning { color:#d94d61; font-weight:700; }
.network-badge { padding:8px 13px; border-radius:999px; color:#187a5d; background:#e1f8ef; font-size:13px; font-weight:800; }.crypto-amount { margin:22px 0; color:#148564; font-size:42px; font-weight:900; }.crypto-amount small { font-size:17px; }.address-box { width:100%; display:grid; grid-template-columns:1fr auto; gap:8px; text-align:left; }.address-box span { grid-column:1/-1; color:#788493; font-size:13px; font-weight:800; }.address-box input { min-width:0; height:48px; padding:0 13px; border:1px solid #dce3ea; border-radius:10px; background:#f8fafc; }.address-box button { padding:0 17px; border:0; border-radius:10px; color:#fff; background:#18a77d; font-weight:800; cursor:pointer; }.address-box button:disabled { opacity:.4; cursor:not-allowed; }.chain-warning { color:#d05c67; font-size:13px; line-height:1.55; }
.paid-state { padding:62px 34px; }.success-check { display:grid; place-items:center; width:74px; height:74px; border-radius:50%; color:#fff; background:#20b989; font-size:40px; font-weight:900; }.paid-state h1 { margin:17px 0 7px; }.paid-state p { margin:0 0 22px; color:#71808d; }.cancelled-state .success-check { background:#9aa3af; }
.payment-foot { display:flex; justify-content:space-between; gap:15px; padding:18px 25px; color:#8995a3; background:#fafbfd; font-size:12px; }.payment-foot a { color:#3576df; font-weight:800; }

.orders-panel { min-height:560px; padding:28px; }.orders-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:24px; }.orders-heading h1 { margin:5px 0 0; }.eyebrow { color:#6871e9; font-size:11px; font-weight:900; letter-spacing:.18em; }
.order-list { display:grid; gap:14px; }.order-card { display:grid; grid-template-columns:1fr auto; gap:14px; padding:16px; border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.68); }.order-main { display:flex; align-items:center; gap:15px; }.order-main img { width:108px; height:68px; object-fit:cover; border-radius:11px; }.order-number { color:#71808f; font-size:11px; }.order-main h2 { margin:5px 0; font-size:17px; }.order-main p { margin:0; color:#798694; font-size:12px; }.order-meta { min-width:135px; display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:7px; }.order-meta a { color:#5f58e9; font-size:12px; font-weight:800; }.order-status,.table-status { padding:5px 9px; border-radius:99px; font-size:11px; font-weight:900; }.status-pending,.status-reserved { color:#a96c0d; background:#fff0c9; }.status-fulfilled,.status-sold { color:#15825f; background:#ddf8ed; }.status-cancelled { color:#717985; background:#e9ebef; }.status-paid_review { color:#a33b50; background:#ffe1e7; }.status-available { color:#28795f; background:#e1f7ef; }
.delivery-note { grid-column:1/-1; margin:0; padding:10px 12px; border-radius:10px; color:#426b75; background:#e7f8f8; font-size:13px; }
.delivered-codes { grid-column:1/-1; display:grid; gap:8px; }.delivered-codes > div { display:grid; grid-template-columns:1fr auto; border:1px solid #cfe7df; border-radius:10px; overflow:hidden; background:#f5fffb; }.delivered-codes code { padding:12px; overflow-wrap:anywhere; color:#175b48; }.delivered-codes button { border:0; padding:0 15px; color:#fff; background:#26a77f; cursor:pointer; font-weight:800; }
.empty-state,.error-panel { display:flex; min-height:430px; flex-direction:column; align-items:center; justify-content:center; text-align:center; }.empty-state > span { color:#8174ff; font-size:45px; }.empty-state h2,.error-panel h1 { margin:10px 0 5px; }.empty-state p,.error-panel p { margin:0 0 20px; color:#6f7d8b; }.error-panel { margin:auto; }.error-panel > span { color:#756bf6; font-size:70px; font-weight:900; }
.site-footer { width:min(1320px,calc(100% - 32px)); margin:-32px auto 0; padding:16px 0 22px; display:flex; justify-content:space-between; gap:18px; color:#6f7d8b; font-size:12px; }

.admin-page { background:#f4f6fa; }.admin-page .scene { display:none; }.admin-page .page-shell { width:100%; min-height:100vh; padding:0; }
.admin-layout { display:grid; grid-template-columns:238px 1fr; min-height:100vh; }
.admin-sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:26px 18px 20px; color:#dce3f2; background:#182235; }
.admin-brand { padding:0 10px; }.admin-brand strong { color:#fff; }.admin-caption { margin:8px 10px 30px; color:#7f8ba0; font-size:11px; letter-spacing:.1em; }
.admin-sidebar nav { display:grid; gap:7px; }.admin-sidebar nav a { display:flex; gap:11px; align-items:center; padding:12px 13px; border-radius:11px; color:#aeb8ca; font-weight:700; }.admin-sidebar nav a:hover,.admin-sidebar nav .active { color:#fff; background:linear-gradient(110deg,rgba(89,108,234,.9),rgba(111,77,200,.9)); }.admin-sidebar nav span { font-size:18px; }
.admin-sidebar > form { margin-top:auto; }.admin-sidebar > form button { width:100%; padding:11px; border:1px solid rgba(255,255,255,.1); border-radius:10px; color:#aeb8ca; background:transparent; cursor:pointer; }
.admin-main { min-width:0; padding:28px 32px 50px; }
.admin-topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }.admin-topbar h1 { margin:4px 0 0; font-size:28px; }.admin-user { display:flex; align-items:center; gap:9px; color:#596779; font-weight:700; }
.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:15px; margin-bottom:18px; }.stat-card { position:relative; display:flex; flex-direction:column; min-height:143px; padding:19px; overflow:hidden; border:1px solid #e4e8ef; border-radius:16px; background:#fff; box-shadow:0 8px 25px rgba(42,52,72,.05); }.stat-card::after { content:""; position:absolute; width:100px; height:100px; right:-26px; top:-26px; border-radius:50%; background:#eef0ff; }.stat-card.selected { border-color:#7781ef; box-shadow:0 8px 28px rgba(94,96,214,.13); }.stat-card > span { color:#657185; font-size:13px; font-weight:800; }.stat-card > strong { margin:11px 0 3px; color:#303e54; font-size:35px; }.stat-card > small { color:#8a94a3; }
.admin-grid { display:grid; grid-template-columns:minmax(320px,.72fr) minmax(540px,1.28fr); gap:18px; align-items:start; }.admin-card { padding:20px; border:1px solid #e3e7ed; border-radius:16px; background:#fff; box-shadow:0 8px 25px rgba(42,52,72,.045); }.admin-card-head { display:flex; align-items:start; justify-content:space-between; gap:15px; margin-bottom:18px; }.admin-card-head h2 { margin:4px 0 0; font-size:19px; }.secure-badge { padding:6px 9px; border-radius:99px; color:#1b8565; background:#e5f8f1; font-size:11px; font-weight:800; }.form-help { margin:-3px 0 16px; color:#84909e; font-size:12px; line-height:1.55; }.table-wrap { overflow:auto; }.table-wrap table { width:100%; border-collapse:collapse; white-space:nowrap; font-size:12px; }.table-wrap th { padding:10px 9px; color:#7b8796; background:#f7f8fb; text-align:left; font-weight:800; }.table-wrap td { padding:11px 9px; border-bottom:1px solid #edf0f3; color:#566273; }.table-wrap code { color:#3c4a5d; }.delete-button { border:0; padding:5px 9px; border-radius:7px; color:#d84e68; background:#fff0f3; cursor:pointer; font-size:12px; font-weight:800; }.muted { color:#a6adb6; }.admin-empty { display:grid; place-items:center; min-height:190px; color:#929ca9; font-size:13px; }.recent-orders { margin-top:18px; }

.reveal { animation:rise .55s ease both; }.reveal-delay { animation-delay:.09s; }
@keyframes rise { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:none } }

@media (max-width:980px) {
  .search-box { display:none; }.product-detail { grid-template-columns:1fr; }.detail-image { min-height:auto; aspect-ratio:1.55; }.detail-purchase { padding:15px 7px 5px; }
  .admin-layout { grid-template-columns:76px 1fr; }.admin-sidebar { padding:22px 10px; }.admin-sidebar .brand strong,.admin-caption,.admin-sidebar nav a:not(.active) { font-size:0; }.admin-sidebar nav a { justify-content:center; }.admin-sidebar nav a span { font-size:20px; }.admin-sidebar .brand { justify-content:center; padding:0; }.admin-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .site-header { height:60px; }.header-inner { width:calc(100% - 24px); gap:12px; }.main-nav { display:none; }.brand strong { font-size:20px; }.auth-button { min-height:34px; padding:0 9px; }.auth-button .ui-icon { display:none; }
  .page-shell { width:calc(100% - 18px); padding-top:10px; }.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }.product-image-wrap { height:auto; aspect-ratio:1.55; }.product-card-body { min-height:137px; padding:10px; }.product-card h2 { min-height:57px; font-size:14px; }.price { font-size:22px; }.inventory-line { font-size:12px; }.tag { font-size:10px; padding:3px 7px; }
  .site-footer { width:calc(100% - 28px); flex-direction:column; align-items:center; text-align:center; }.user-copy { display:none; }.user-menu summary { min-width:auto; }
  .admin-layout { display:block; }.admin-sidebar { position:relative; width:100%; height:auto; flex-direction:row; align-items:center; gap:10px; }.admin-sidebar .brand strong { display:none; }.admin-sidebar nav { display:flex; margin-left:auto; }.admin-sidebar nav a { padding:10px; }.admin-sidebar > form { margin:0; }.admin-sidebar > form button { font-size:0; }.admin-sidebar > form button::after { content:"退出"; font-size:12px; }.admin-main { padding:20px 12px 40px; }.admin-topbar { margin-bottom:17px; }.admin-user { font-size:0; }
}
@media (max-width:560px) {
  .header-inner { width:calc(100% - 16px); }.brand-mark { width:32px; height:32px; }.auth-button { padding:0 8px; font-size:12px; }.create-button { font-size:12px; }
  .notice-body { padding:10px 12px 12px; font-size:12px; }.catalog-body { padding:9px 9px 13px; }.category-tab { font-size:12px; }.product-grid { grid-template-columns:1fr; }.product-card h2 { min-height:auto; }
  .auth-wrap { padding:82px 12px 32px; align-items:start; }.auth-brand { left:18px; top:18px; }.auth-card { padding:25px 18px 22px; }.captcha-row { grid-template-columns:1fr 126px; }.captcha-image { width:126px; }.auth-heading h1 { font-size:23px; }
  .product-detail { padding:10px; }.detail-purchase h1 { font-size:21px; }.detail-price { font-size:29px; }.detail-captcha { grid-template-columns:1fr 126px; }.detail-captcha .captcha-image { width:126px; }.pay-option { flex:1 1 145px; min-width:0; }.payment-options { padding:8px; }
  .payment-head { min-height:112px; padding:22px; }.payment-head p { font-size:19px; }.payment-summary { padding:19px 20px; }.payment-summary div { flex-direction:column; gap:2px; }.payment-summary dd { max-width:100%; text-align:left; }.payment-body { padding:25px 20px 30px; }.payment-foot { flex-direction:column; align-items:center; }
  .orders-panel { padding:16px 11px; }.order-card { grid-template-columns:1fr; }.order-main img { width:82px; height:60px; }.order-meta { flex-direction:row; align-items:center; justify-content:space-between; }.order-meta a { margin-left:auto; }.orders-heading { align-items:center; }.orders-heading h1 { font-size:24px; }
  .stat-grid { grid-template-columns:1fr 1fr; }.stat-card { min-height:125px; padding:15px; }.stat-card > strong { font-size:29px; }.admin-card { padding:15px 12px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
