:root {
  color-scheme: dark;
  --bg: #080a16;
  --surface: #111525;
  --surface-raised: #161a2d;
  --surface-soft: #0d1020;
  --ink: #f2f3ff;
  --muted: #969db8;
  --line: rgba(155, 164, 220, .14);
  --purple: #9c7cff;
  --purple-soft: rgba(156, 124, 255, .13);
  --green: #45dfa1;
  --green-soft: rgba(69, 223, 161, .12);
  --red: #ff7588;
  --red-soft: rgba(255, 117, 136, .12);
  --amber: #f3c56c;
  --amber-soft: rgba(243, 197, 108, .12);
  --blue: #6ca9ff;
  --blue-soft: rgba(108, 169, 255, .12);
  --shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  pointer-events: none;
}
.ambient { position: fixed; z-index: -1; width: 480px; height: 480px; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.ambient-one { top: -260px; left: -100px; background: radial-gradient(circle, rgba(106,74,211,.2), transparent 68%); }
.ambient-two { top: 180px; right: -260px; background: radial-gradient(circle, rgba(55,93,190,.13), transparent 68%); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 40px; }
.topbar { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: .02em; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand small { color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(173,149,255,.35); border-radius: 12px; background: linear-gradient(145deg, rgba(156,124,255,.28), rgba(99,75,181,.12)); color: #c3afff; box-shadow: inset 0 0 20px rgba(156,124,255,.08), 0 0 24px rgba(120,89,220,.12); }
.nav-links { display: flex; gap: 24px; margin-left: 18px; }
.nav-links a, .admin-link { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .15s ease; }
.nav-links a:hover, .admin-link:hover { color: var(--ink); }
.live-pill { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(17,21,37,.75); color: var(--muted); font-size: 12px; white-space: nowrap; }
.connection-dot, .pulse-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #5e6479; }
.connection-dot.online, .pulse-dot { background: var(--green); box-shadow: 0 0 9px rgba(69,223,161,.75); }
.connection-dot.offline { background: var(--red); box-shadow: 0 0 9px rgba(255,117,136,.5); }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 54px 0 30px; }
.eyebrow, .section-kicker { margin: 0 0 10px; color: #ad96fa; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-size: clamp(30px, 4.3vw, 46px); line-height: 1.15; letter-spacing: -.035em; }
.hero-description { max-width: 660px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.check-line { display: flex; align-items: center; gap: 8px; padding-bottom: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.check-line strong { color: #d9dced; font-weight: 550; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { position: relative; display: flex; min-height: 122px; align-items: center; gap: 15px; overflow: hidden; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(22,26,45,.95), rgba(13,16,31,.95)); box-shadow: var(--shadow); }
.stat-card::after { position: absolute; right: -32px; bottom: -46px; width: 110px; height: 110px; border-radius: 50%; background: currentColor; content: ""; filter: blur(48px); opacity: .1; }
.stat-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: currentColor; font-size: 15px; font-weight: 800; }
.stat-icon::first-letter { color: white; }
.stat-card p { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; color: var(--ink); font-size: 27px; line-height: 1.1; }
.stat-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.stat-card.purple { color: var(--purple); }.stat-card.green { color: var(--green); }.stat-card.blue { color: var(--blue); }.stat-card.amber { color: var(--amber); }
.stat-card.purple .stat-icon { background: var(--purple-soft); }.stat-card.green .stat-icon { background: var(--green-soft); }.stat-card.blue .stat-icon { background: var(--blue-soft); }.stat-card.amber .stat-icon { background: var(--amber-soft); }
.panel { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(18,22,39,.96), rgba(13,16,29,.96)); box-shadow: var(--shadow); }
.control-card { padding: 23px 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.section-kicker { margin-bottom: 6px; font-size: 9px; }
.section-description { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.sound-state, .frequency, .keyword-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 11px; white-space: nowrap; }
.sound-state.enabled { border-color: rgba(69,223,161,.22); background: var(--green-soft); color: var(--green); }
.control-tip { margin: 13px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.button-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); color: #dce0f2; cursor: pointer; font-size: 12px; font-weight: 650; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(172,155,255,.4); background: rgba(156,124,255,.08); }
.button:disabled { opacity: .42; cursor: not-allowed; }
.button-primary { border-color: rgba(156,124,255,.5); background: linear-gradient(135deg, #8261e9, #6948c7); color: white; box-shadow: 0 8px 22px rgba(94,64,183,.2); }
.button-primary:hover:not(:disabled) { background: linear-gradient(135deg, #9272f3, #7553d2); }
.button-primary[aria-pressed="true"] { border-color: rgba(69,223,161,.35); background: rgba(42,148,108,.65); }
.audio-feedback, .inline-feedback { min-height: 18px; margin: 10px 0 -4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.availability-panel { display: flex; align-items: center; gap: 17px; margin-bottom: 18px; padding: 20px 22px; border: 1px solid rgba(69,223,161,.25); border-radius: 16px; background: var(--green-soft); color: var(--green); }
.availability-panel.ringing { animation: breathe 1.8s ease-in-out infinite; }
.alarm-icon { display: grid; flex: 0 0 auto; place-items: center; width: 45px; height: 45px; border-radius: 13px; background: rgba(69,223,161,.12); }
.availability-panel h2 { margin: 0 0 5px; font-size: 17px; }
.availability-panel p { margin: 0; color: #b5d9c9; font-size: 13px; line-height: 1.55; }
.products-section { padding: 34px 0 26px; }
.product-heading { margin-bottom: 10px; }
.catalog-status { margin: 0 0 15px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.product-card { position: relative; overflow: hidden; min-height: 0; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(20,24,42,.96), rgba(13,16,29,.96)); box-shadow: var(--shadow); }
.product-card::before { position: absolute; top: 0; left: 22px; width: 48px; height: 2px; background: var(--muted); content: ""; opacity: .45; }
.product-card.available { border-color: rgba(69,223,161,.22); background: linear-gradient(145deg, rgba(18,41,39,.65), rgba(13,20,29,.96)); }
.product-card.available::before { background: var(--green); box-shadow: 0 0 12px var(--green); opacity: .8; }
.product-card.out_of_stock { border-color: rgba(255,117,136,.2); }.product-card.out_of_stock::before { background: var(--red); }
.product-card.error { border-color: rgba(243,197,108,.22); }
.product-card.maintenance { border-color: rgba(108,169,255,.24); background: linear-gradient(145deg, rgba(18,29,49,.7), rgba(13,16,29,.96)); }
.product-card.maintenance::before { background: var(--blue); }
.maintenance .status-badge { background: var(--blue-soft); color: var(--blue); }
.frequency.maintenance { border-color: rgba(108,169,255,.25); color: var(--blue); }
.frequency.maintenance .pulse-dot { background: var(--blue); box-shadow: 0 0 9px rgba(108,169,255,.65); }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.status-badge { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.available .status-badge, .admin-task.approved .status-badge { background: var(--green-soft); color: var(--green); }
.out_of_stock .status-badge, .admin-task.rejected .status-badge { background: var(--red-soft); color: var(--red); }
.notice .status-badge, .error .status-badge, .admin-task.pending .status-badge { background: var(--amber-soft); color: var(--amber); }
.product-body { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 14px; margin-top: 14px; }
.product-visual { position: relative; display: grid; width: 92px; height: 100px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.product-image { display: block; width: 100%; height: 100%; max-width: 80px; max-height: 84px; object-fit: contain; }
.product-image-empty { padding: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.product-info { min-width: 0; }
.product-card h3 { min-height: 0; overflow-wrap: anywhere; margin: 0 0 6px; font-size: 15px; line-height: 1.4; letter-spacing: -.01em; }
.product-price { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.product-price strong { color: var(--ink); font-size: 22px; letter-spacing: -.025em; }
.product-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; }
.metric { display: flex; min-width: 0; flex-direction: column; gap: 3px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.025); }
.metric span { color: var(--muted); font-size: 9px; }
.metric strong { overflow-wrap: anywhere; color: #e7e9f8; font-size: 14px; line-height: 1.25; }
.metric small { overflow-wrap: anywhere; color: var(--muted); font-size: 8px; line-height: 1.4; }
.available .metric strong { color: var(--green); }.out_of_stock .metric strong { color: var(--red); }
.product-message { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.available .product-message { color: #9acdb8; }.out_of_stock .product-message { color: #e9a0ab; }
.loading-card { display: grid; place-items: center; color: var(--muted); }
.compare-section { padding: 25px; scroll-margin-top: 20px; }
.compare-heading { align-items: flex-start; }
.keyword-chip { border-color: rgba(156,124,255,.2); background: var(--purple-soft); color: #bca7ff; }
.compare-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 12px; }
.compare-toolbar > p { margin: 0; color: var(--muted); font-size: 11px; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
select { min-height: 34px; padding: 5px 28px 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-raised); color: #d8dcee; font-size: 11px; }
.icon-button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); color: var(--muted); cursor: pointer; }
.icon-button:hover { color: var(--ink); border-color: rgba(156,124,255,.35); }
.icon-button svg { width: 16px; height: 16px; }
.price-table { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(6,8,18,.26); }
.price-table-head, .price-row { display: grid; grid-template-columns: 150px minmax(190px, 1fr) 105px 150px 78px; align-items: center; gap: 14px; padding: 13px 16px; }
.price-table-head { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted); font-size: 10px; }
.price-row { min-height: 76px; border-bottom: 1px solid rgba(155,164,220,.09); transition: background .15s ease; }
.price-row:last-child { border-bottom: 0; }.price-row:hover { background: rgba(156,124,255,.035); }
.price-source { display: flex; min-width: 0; align-items: center; gap: 10px; }
.source-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(156,124,255,.18); border-radius: 9px; background: var(--purple-soft); color: #c2b0ff; font-size: 12px; font-weight: 750; }
.price-source strong, .price-product-name strong { display: block; overflow: hidden; color: #e6e8f6; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.price-source small, .price-product-name small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.price-product-name { min-width: 0; }.price-product-name small { color: var(--amber); white-space: normal; }
.compare-price { color: var(--green); font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.price-time { color: var(--muted); font-size: 10px; line-height: 1.5; }
.buy-link { display: inline-flex; padding: 7px 9px; border: 1px solid rgba(108,169,255,.2); border-radius: 7px; background: var(--blue-soft); color: #98c3ff; font-size: 10px; text-decoration: none; white-space: nowrap; }
.buy-link:hover { border-color: rgba(108,169,255,.4); background: rgba(108,169,255,.18); }
.empty-state { padding: 36px 20px; color: var(--muted); text-align: center; }
.empty-icon { display: grid; width: 42px; height: 42px; margin: 0 auto 12px; place-items: center; border: 1px dashed rgba(156,124,255,.25); border-radius: 12px; color: #a88eff; font-size: 14px; }
.empty-state h3 { margin: 0 0 7px; color: #d8dbeb; font-size: 14px; }.empty-state p { max-width: 470px; margin: 0 auto; font-size: 11px; line-height: 1.7; }
.submit-section { margin-top: 18px; padding: 25px; }
.submit-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(200px, 1fr) auto; align-items: end; gap: 13px; margin-top: 20px; }
.submit-form label, .admin-login-form label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #c9cde0; font-size: 11px; }
.submit-form label b { color: var(--red); }
input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(5,7,16,.48); color: var(--ink); font-size: 12px; transition: border-color .15s ease, background .15s ease; }
input::placeholder { color: #646b84; } input:focus { border-color: rgba(156,124,255,.5); background: rgba(10,12,25,.8); }
.submit-form .consent { grid-column: 1 / 3; flex-direction: row; align-items: flex-start; gap: 9px; color: var(--muted); line-height: 1.6; }
.consent input { width: 15px; min-height: 15px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--purple); }
.submit-form > .button { grid-column: 3; grid-row: 2; min-width: 108px; }
.privacy-note { margin: 8px 0 0; color: #737b96; font-size: 10px; line-height: 1.7; }
.accuracy-note { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid rgba(156,124,255,.45); border-radius: 10px; background: rgba(17,21,37,.48); }
.accuracy-note strong { font-size: 11px; }.accuracy-note p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.accuracy-note code { padding: 1px 4px; border-radius: 4px; background: rgba(156,124,255,.09); color: #c5b5fa; font-size: 10px; }
footer { padding: 26px 0 0; color: #656d87; text-align: center; font-size: 10px; line-height: 1.7; }
.admin-shell { max-width: 980px; }.admin-shell .topbar { justify-content: space-between; }.admin-hero { display: block; padding-bottom: 26px; }
.login-panel, .admin-panel { padding: 25px; }.admin-panel { margin-top: 18px; }
.admin-login-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; margin-top: 20px; }.admin-login-form .button { min-width: 110px; }
.admin-actions { display: flex; align-items: center; gap: 9px; }.small-button { min-height: 34px; padding: 7px 11px; font-size: 10px; }.danger-button { color: #eaa1ac; }.danger-button:hover:not(:disabled) { border-color: rgba(255,117,136,.35); background: var(--red-soft); }
.admin-tasks { display: grid; gap: 11px; margin-top: 20px; }.admin-task { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }.admin-task.pending { border-color: rgba(243,197,108,.2); }
.admin-task-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.admin-task-top > div { min-width: 0; }.admin-task h3 { margin: 0 0 6px; font-size: 14px; }.admin-task-top p { overflow-wrap: anywhere; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.admin-details { display: grid; grid-template-columns: .7fr 1fr 1fr 1.4fr; gap: 10px; margin-top: 15px; }.admin-detail { padding: 10px; border-radius: 8px; background: rgba(0,0,0,.12); }.admin-detail span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; }.admin-detail strong { display: block; overflow-wrap: anywhere; color: #d7dbea; font-size: 10px; font-weight: 550; line-height: 1.5; }
.admin-task-message { margin: 12px 0 0; color: var(--amber); font-size: 10px; line-height: 1.6; }.admin-task-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(69,223,161,.06); } 50% { box-shadow: 0 0 0 7px rgba(69,223,161,.09); } }

@media (max-width: 940px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .button-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-table-head, .price-row { grid-template-columns: 130px minmax(160px, 1fr) 90px 76px; }
  .price-table-head > :nth-child(4), .price-row > :nth-child(4) { display: none; }
  .submit-form { grid-template-columns: 1fr 1fr; }.submit-form > .button { grid-column: 2; grid-row: 2; justify-self: end; }.submit-form .consent { grid-column: 1; }
  .admin-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1160px); padding-top: 17px; }
  .topbar { gap: 12px; }.nav-links { display: none; }.live-pill { padding: 7px 9px; font-size: 10px; }
  .hero { display: block; padding: 38px 0 24px; }.check-line { margin-top: 19px; white-space: normal; }
  .stats-grid { gap: 10px; }.stat-card { min-height: 108px; padding: 16px; gap: 11px; }.stat-icon { width: 35px; height: 35px; }.stat-card strong { font-size: 23px; }
  .product-grid { grid-template-columns: 1fr; }.product-card { padding: 17px; }
  .product-body { grid-template-columns: 74px minmax(0, 1fr); gap: 11px; margin-top: 12px; }
  .product-visual { width: 74px; height: 84px; }.product-image { max-width: 64px; max-height: 72px; }
  .product-card h3 { font-size: 14px; }.product-price strong { font-size: 20px; }
  .metric { padding: 7px; }.metric strong { font-size: 13px; }
  .compare-section, .submit-section, .control-card, .login-panel, .admin-panel { padding: 19px; }
  .compare-toolbar { align-items: flex-start; flex-direction: column; }.toolbar-actions { width: 100%; justify-content: space-between; }
  .price-table { overflow: visible; border: 0; background: transparent; }.price-table-head { display: none; }
  .price-list { display: grid; gap: 10px; }.price-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: rgba(6,8,18,.3); }
  .price-row > :nth-child(4) { display: block; grid-column: 1; grid-row: 3; }.price-source { grid-column: 1; }.price-product-name { grid-column: 1 / -1; grid-row: 2; }.price-product-name strong { white-space: normal; line-height: 1.5; }
  .compare-price { grid-column: 2; grid-row: 1; align-self: center; }.price-action { grid-column: 2; grid-row: 3; }.price-time { align-self: center; }
  .empty-state { border: 1px solid var(--line); border-radius: 11px; }
  .submit-form { grid-template-columns: 1fr; }.submit-form .consent, .submit-form > .button { grid-column: 1; grid-row: auto; }.submit-form > .button { width: 100%; }
  .admin-login-form { grid-template-columns: 1fr; }.admin-task-actions { justify-content: stretch; }.admin-task-actions .button { flex: 1; }
}
@media (max-width: 430px) {
  .brand small { display: none; }.brand-mark { width: 36px; height: 36px; }.brand { font-size: 14px; }
  .button-grid { grid-template-columns: 1fr; }.section-heading { align-items: flex-start; }.section-heading h2 { font-size: 18px; }
  .stat-card { display: block; }.stat-icon { margin-bottom: 11px; }.stat-card small { display: none; }
  .availability-panel { align-items: flex-start; padding: 17px; }.check-line { flex-wrap: wrap; }
  .compare-heading .keyword-chip { margin-top: 2px; }.admin-details { grid-template-columns: 1fr; }.admin-actions { align-items: flex-end; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 站长推荐宣传位 */
.brand-logo { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; object-fit: contain; background: #fff; padding: 3px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 4px 0 20px; }
.promo-card { position: relative; display: flex; align-items: center; gap: 18px; min-width: 0; padding: 22px 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, rgba(20,24,42,.96), rgba(13,16,29,.96)); box-shadow: var(--shadow); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.promo-card::after { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .9; }
.promo-shop { border-color: rgba(91,141,239,.35); }
.promo-shop::after { background: radial-gradient(circle at 100% 0%, rgba(91,141,239,.22), transparent 55%); }
.promo-food { border-color: rgba(245,166,35,.32); }
.promo-food::after { background: radial-gradient(circle at 100% 0%, rgba(245,166,35,.18), transparent 55%); }
.promo-card:hover { transform: translateY(-3px); border-color: rgba(91,141,239,.65); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.promo-food:hover { border-color: rgba(245,166,35,.6); }
.promo-logo { position: relative; z-index: 1; flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: #fff; padding: 4px; }
.promo-logo-icon { display: grid; place-items: center; padding: 0; color: #fff; background: linear-gradient(145deg, #f5a623, #ee6a24); font-size: 30px; font-weight: 800; box-shadow: 0 8px 22px rgba(245,166,35,.28); }
.promo-logo-photo { padding: 0; background: #f9a13b; }
.promo-content { position: relative; z-index: 1; flex: 1; min-width: 0; }
.promo-kicker { margin: 0 0 5px; color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.promo-content h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--ink); font-size: 21px; letter-spacing: .01em; }
.promo-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; color: #bcd2ff; background: rgba(91,141,239,.16); border: 1px solid rgba(91,141,239,.28); font-size: 10px; font-weight: 500; }
.promo-food .promo-badge { color: #ffdca8; background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.3); }
.promo-copy { margin: 0 0 12px; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; line-height: 1.65; }
.promo-action { display: inline-flex; align-items: center; gap: 4px; color: #a9c6ff; font-size: 12px; font-weight: 600; }
.promo-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.promo-card:hover .promo-action svg { transform: translateX(3px); }
button.promo-card { width: 100%; color: inherit; text-align: left; cursor: pointer; appearance: none; }
.promo-food .promo-action { color: #ffd08a; }
.food-qr-dialog { width: fit-content; max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 22px; background: transparent; color: var(--ink); }
.food-qr-dialog::backdrop { background: rgba(3, 5, 12, .84); backdrop-filter: blur(8px); }
.food-qr-card { position: relative; width: min(360px, calc(100vw - 32px)); padding: 28px; border: 1px solid rgba(245, 166, 35, .34); border-radius: 22px; background: linear-gradient(145deg, #191a29, #0d101d); box-shadow: 0 28px 90px rgba(0, 0, 0, .6); text-align: center; }
.food-qr-close { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .04); color: var(--muted); cursor: pointer; }
.food-qr-close:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.food-qr-close svg { width: 17px; height: 17px; }
.food-qr-logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.food-qr-card h2 { margin: 13px 0 7px; font-size: 20px; }
.food-qr-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.food-qr-image { display: block; width: min(258px, 65vw); height: auto; margin: 20px auto 16px; border-radius: 16px; background: #fff; -webkit-touch-callout: default; user-select: auto; }
.food-qr-card .food-qr-tip { color: #ffd08a; }
.food-qr-done { width: 100%; margin-top: 20px; }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .brand-logo { width: 34px; height: 34px; }
  .promo-grid { grid-template-columns: 1fr; gap: 12px; }
  .promo-card { gap: 14px; padding: 18px; border-radius: 15px; }
  .promo-logo { width: 48px; height: 48px; border-radius: 12px; }
  .promo-content h2 { font-size: 18px; }
  .promo-copy { font-size: 11px; }
}

