/* Shared glass shell. This last stylesheet intentionally preserves the original
   homepage composition and the shop's content and product illustrations. */
:root {
  --ui-body: 16px;
  --ui-lead: 17px;
  --ui-nav: 16px;
  --ui-control: 15px;
  --ui-category: 15px;
  --ui-note: 14px;
  --ui-input: 16px;
  --ui-brand: 32px;
  --shell-width: min(1240px, calc(100% - 112px));
}

html { background: #040916; scroll-padding-top: 110px; }
body, body.landing-mode, body.interior-mode {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: var(--ui-body);
  line-height: 1.65;
  isolation: isolate;
  background: #040916;
  color: #f2f5fc;
  color-scheme: dark;
  --bg: #07101e;
  --text: #f2f5fc;
  --card: rgb(12 20 32 / 30%);
  --muted: #c0cadd;
  --line: rgb(220 234 255 / 19%);
  --soft: rgb(186 211 248 / 8%);
  --blue: #d9e8ff;
  --onblue: #f7faff;
  --tint: rgb(166 199 246 / 13%);
  --green: #b9e3d1;
  --greenbg: rgb(107 169 144 / 15%);
  --glass-fill: rgb(12 20 32 / 30%);
  --glass-edge: rgb(232 242 255 / 30%);
  --glass-line: rgb(213 230 255 / 19%);
  --glass-soft: rgb(180 207 245 / 8%);
  --glass-glint: rgb(222 237 255 / 7%);
  --glass-shadow: transparent;
  --glass-grain: none;
  --control-fill: rgb(174 202 244 / 10%);
  --control-hover: rgb(196 219 255 / 18%);
  --control-selected: rgb(183 212 255 / 23%);
  --control-edge: rgb(222 237 255 / 25%);
  --focus: #d7e8ff;
}
html[lang=en] body { font-family: Arial, Helvetica, "Microsoft YaHei", "微软雅黑", sans-serif; }
button, input { font-family: inherit; }
body.interior-mode::before { content: none; }
body :is(button, a, input, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
body :is(button, a, input) { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

/* Both decoded videos stay mounted. Only opacity changes during navigation. */
.scene-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background-color: #040916;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility 0s linear .24s;
  contain: strict;
}
.scene-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .24s ease, visibility 0s;
}
.scene-home { background-image: url('./assets/black-hole-poster.jpg'); background-position: center 45%; }
.scene-inner { background-image: url('./assets/blue-blackhole-small-poster-4k.jpg'); }
.scene-backdrop > video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .18s ease;
}
.scene-home > video { object-position: center 45%; }
.scene-backdrop.video-ready > video { opacity: 1; }
.scene-shade { position: absolute; inset: 0; z-index: 1; }
.scene-home .scene-shade {
  background: linear-gradient(90deg, #02040b50 0%, #02040b12 27%, transparent 43%, transparent 66%, #02040b1a 82%, #02040b50 100%), linear-gradient(180deg, #02040b16, transparent 27%, transparent 78%, #02040b24);
}
.scene-inner .scene-shade {
  background: linear-gradient(180deg, rgb(3 10 25 / 40%), rgb(4 12 28 / 35%) 45%, rgb(3 9 22 / 40%));
}

/* One persistent header and one blur group, on every route and at every width. */
#header.header {
  height: 88px;
  min-height: 88px;
  flex: 0 0 88px;
  position: sticky;
  top: 0;
  z-index: 30;
  color: #f4f7ff;
  background: rgb(8 16 31 / 24%);
  border: 0;
  border-bottom: 1px solid rgb(224 238 255 / 15%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  backdrop-filter: blur(8px) saturate(112%);
  -webkit-backdrop-filter: blur(8px) saturate(112%);
  transition: background-color .25s ease;
}
.site-header-inner {
  width: var(--shell-width);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.site-brand {
  flex: 0 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--ui-brand);
  font-weight: 750;
  letter-spacing: -1.8px;
  line-height: 1;
  color: #f6f8ff;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.site-nav > a, .site-actions .shell-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgb(224 238 255 / 18%);
  border-top-color: rgb(236 245 255 / 28%);
  border-radius: 20px;
  background: rgb(216 232 255 / 6%);
  color: #d8e1f0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.site-nav > a { padding: 0 17px; font-size: var(--ui-nav); line-height: 1.5; }
.site-nav > a[aria-current=page] {
  background: rgb(207 227 255 / 18%);
  border-color: rgb(229 242 255 / 38%);
  color: #fff;
}
.site-nav > a:hover, .site-actions .shell-button:hover {
  color: #fff;
  background: rgb(214 234 255 / 17%);
  border-color: rgb(229 242 255 / 36%);
}
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-actions .shell-button { flex-shrink: 0; min-width: 44px; gap: 7px; padding: 0 13px; font-size: var(--ui-control); }
.site-actions .shell-theme { padding: 0; width: 44px; }
.site-actions .shell-support { padding-inline: 15px; }
.site-actions .shell-button .icon, .site-actions .shell-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.site-actions .language-control { min-width: 48px; }
.site-header-inner :is(a, button):focus-visible { outline-color: #e6efff; }

/* The same material for actions, filters, fields, and secondary controls. */
body:is(.landing-mode, .interior-mode) :is(.landing-pill, .landing-categories button, .landing-video-toggle, .landing-search-submit, .action, .categories button, .footer-theme, .footer-links button, .dialog-close) {
  color: var(--text);
  background: var(--control-fill);
  background-image: linear-gradient(145deg, rgb(236 246 255 / 6%), transparent 80%);
  border: 1px solid var(--control-edge);
  border-top-color: var(--glass-edge);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  font-size: var(--ui-control);
  min-height: 44px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .14s ease;
}
body:is(.landing-mode, .interior-mode) :is(.landing-pill, .landing-categories button, .landing-video-toggle, .landing-search-submit, .action, .categories button, .footer-theme, .footer-links button, .dialog-close):hover {
  color: var(--text);
  background-color: var(--control-hover);
  border-color: var(--glass-edge);
  filter: none;
}
body:is(.landing-mode, .interior-mode) :is(.landing-pill-primary, .landing-categories button:first-child, .categories button[aria-pressed=true], .action:not(.soft)) {
  background-color: var(--control-selected);
  border-color: rgb(224 239 255 / 43%);
  color: var(--text);
}
body:is(.landing-mode, .interior-mode) :is(.landing-pill, .action, .landing-categories button, .categories button):active { transform: translateY(1px); }
body:is(.landing-mode, .interior-mode) .action { padding: 10px 18px; }
.interior-mode .categories { gap: 8px; }
.interior-mode .categories button { padding-inline: 18px; }
.interior-mode .toolbar { border-bottom-color: var(--line); padding-bottom: 24px; }
.interior-mode .search > .icon {
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.interior-mode .search-clear { z-index: 2; }
.interior-mode .search input {
  border: 1px solid var(--control-edge);
  border-radius: 20px;
  background: rgb(11 25 46 / 62%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  color: var(--text);
  font-size: var(--ui-input);
  min-height: 46px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.interior-mode .search input::placeholder { color: var(--muted); opacity: 1; }
.interior-mode .search-clear { color: var(--text); min-width: 38px; min-height: 38px; border-radius: 16px; }
.interior-mode .search-clear:hover { background: var(--control-hover); }

/* Glass cards use a stable tint rather than a separate live blur per product. */
body.interior-mode, html[data-theme=dark] body.interior-mode {
  --card-radius: 24px;
  --card-inset: 22px;
  --card-fill: rgb(12 20 32 / 30%);
  --card-edge: rgb(224 239 255 / 24%);
  --card-hover: rgb(24 35 49 / 38%);
  --card-inset-fill: rgb(190 215 252 / 5%);
  --card-quiet: rgb(180 211 250 / 9%);
  --card-ink: #f2f5fc;
  --card-muted: #c0cadd;
  --card-selected: rgb(221 238 255 / 68%);
  --card-status: #bce6d5;
  --card-status-fill: rgb(118 183 157 / 16%);
  --card-focus: #d7e8ff;
}
.interior-mode :is(.product-card, .compact-card, .empty-orders, .detail-workspace, .order-guide), .interior-mode .faq details {
  color: var(--card-ink);
  background: linear-gradient(125deg, rgb(227 237 255 / 8%), rgb(12 23 40 / 10%)), var(--card-fill);
  border: 1px solid var(--card-edge);
  border-top-color: var(--glass-edge);
  border-radius: var(--card-radius);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.interior-mode .product-card { overflow: hidden; }
.interior-mode .product-card:focus-within { border-color: var(--card-selected); }
.interior-mode .product-art { border-radius: 23px 23px 0 0; background: transparent; mask-image: none; -webkit-mask-image: none; }
.interior-mode .product-art > img { object-fit: contain; }
/* A single shallow blur under each large group keeps the moving background diffuse
   without recompositing separate filters for every catalog card or FAQ row. */
.interior-mode :is(.product-grid, .compact-grid, .empty-orders, .detail-workspace, .order-guide), .interior-mode .faq > div:last-child {
  backdrop-filter: blur(4px) saturate(112%);
  -webkit-backdrop-filter: blur(4px) saturate(112%);
}
.interior-mode .product-grid, .interior-mode .faq > div:last-child { overflow: hidden; border-radius: 24px; }
.interior-mode .team-scene { background: transparent; }
.interior-mode .tier { border-color: rgb(239 248 255 / 38%); }
.interior-mode .tier-front { color: #dcefe9; background: rgb(68 112 106 / 59%); }
.interior-mode .tier-back { color: #ebe5fc; background: rgb(109 94 140 / 53%); }
.interior-mode .product-heading h3, html[lang=en] .interior-mode .product-heading h3 { letter-spacing: 0; }
.interior-mode .description { color: var(--card-ink); line-height: 1.8; }
.interior-mode .badge { font-size: var(--ui-note); border-radius: 8px; }
.interior-mode .badge.green { color: var(--card-status); background: var(--card-status-fill); }
.interior-mode .product-bottom .action { min-height: 46px; }
.interior-mode .compact-card { border-radius: 22px; }
.interior-mode .compact-card:hover { background-color: var(--card-hover); border-color: var(--glass-edge); }
.interior-mode .mark-claude, html[data-theme=dark] .interior-mode .mark-claude { color: #e1b799; }
.interior-mode .product-mark { border-radius: 12px; }
.interior-mode .order-guide a { border: 1px solid var(--control-edge); border-radius: 20px; padding: 0 16px; background: var(--control-fill); }
.interior-mode .order-guide a:hover { background: var(--control-hover); }
.interior-mode .help-note a { color: var(--muted); text-underline-offset: 5px; }
.interior-mode .help-note a:hover { color: var(--text); text-decoration: underline; }
.interior-mode .intro > p, .interior-mode .page-title p, .interior-mode .detail-title p { color: var(--muted); }
.interior-mode h1 span { color: #c7d3e7; }
.interior-mode .intro { padding-top: 44px; }
.interior-mode .empty-orders { min-height: 400px; }
.interior-mode .receipt-art::before { background: var(--card-quiet); border-color: var(--card-edge); }
.interior-mode .receipt-art > .icon { background: var(--card-fill); border-color: var(--card-edge); color: var(--card-muted); }
.interior-mode .detail-workspace { border-radius: 24px; }
.interior-mode .detail-art { border-radius: 20px; background: var(--card-inset-fill); }
.interior-mode .detail-art > img { background: transparent; }
.interior-mode .plan {
  border-radius: 20px;
  background: var(--card-inset-fill);
  border: 1px solid var(--card-edge);
  color: var(--card-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
}
.interior-mode .plan:hover { background: var(--control-hover); }
.interior-mode .plan.selected { background: var(--control-selected); border-color: var(--card-selected); }
.interior-mode .summary { background: rgb(180 207 245 / 3%); border-left: 1px solid var(--card-edge); }
.interior-mode .summary .summary-help { color: var(--card-ink); text-underline-offset: 5px; }
.interior-mode .summary .summary-help:hover { text-decoration: underline; }
.interior-mode .sms-art { background: transparent; color: var(--card-ink); }
.interior-mode .sms-art > span { background: var(--card-inset-fill); border-color: var(--card-edge); }
.interior-mode .faq details { border-radius: 20px; }
.interior-mode .faq summary { font-size: var(--ui-body); }
.interior-mode .faq details[open] { background-color: var(--card-hover); }
.interior-mode .not-found { padding-block: 70px; }
.interior-mode :is(.order-guide p, .detail-note, .plan p, .summary .summary-disclaimer, .help-note, .breadcrumb, .price-note, .price small) { font-size: var(--ui-note); line-height: 1.8; }
.interior-mode :is(.plan-heading, .plan strong, .plan .plan-status) { font-size: var(--ui-body); line-height: 1.65; }
.interior-mode :is(.order-guide a, .summary > p, .summary dl, .summary-total, .summary .summary-help) { font-size: var(--ui-control); line-height: 1.75; }
.interior-mode .order-guide strong { font-size: var(--ui-body); }

/* Preserve the black-hole image, headline, and viewport grid from the home. */
.landing-mode .landing-discover {
  border-radius: 24px;
  background: linear-gradient(125deg, rgb(227 237 255 / 8%), rgb(12 23 40 / 18%));
  border-color: rgb(224 239 255 / 24%);
  border-top-color: rgb(238 246 255 / 42%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  backdrop-filter: blur(8px) saturate(112%);
  -webkit-backdrop-filter: blur(8px) saturate(112%);
}
.landing-mode .landing-discover::before { content: none; }
.landing-mode .landing-search-field {
  border-radius: 20px;
  background: rgb(215 233 255 / 9%);
  border: 1px solid rgb(228 242 255 / 32%);
  border-top-color: rgb(236 246 255 / 43%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.landing-mode .landing-search-field:focus-within { border-color: #d0e4ff; background: rgb(225 239 255 / 14%); }
.landing-mode .landing-search-submit { border-radius: 15px; }
.landing-mode .landing-pill { min-height: 50px; }
.landing-mode .landing-hero-actions .landing-pill {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.landing-mode .landing-hero-aside > p { font-size: var(--ui-lead); }
.landing-mode .landing-text-link { font-size: var(--ui-control); }
.landing-mode :is(.landing-eyebrow, .landing-panel-kicker, .landing-panel-status) { font-size: var(--ui-note); }
.landing-mode .scene-controls { display: none; }

/* The footer and playback controls share the header's quiet material. */
.interior-mode .footer {
  background: rgb(8 19 35 / 66%);
  border-top: 1px solid var(--line);
  box-shadow: none;
}
.interior-mode .footer-top { gap: 14px 22px; flex-wrap: wrap; }
.interior-mode .footer-top > span { font-size: var(--ui-note); }
.interior-mode .footer-theme { padding: 0 13px; gap: 7px; }
.interior-mode .footer-bottom { font-size: var(--ui-note); gap: 12px 20px; }
.interior-mode .footer-links { gap: 8px; flex-wrap: wrap; }
.interior-mode .footer-links button { padding: 0 13px; }
.interior-mode .demo-note { font-size: var(--ui-note); line-height: 1.7; }
.landing-mode .footer { background: transparent; }
.landing-footer-inner { color: #c1cce0; font-size: var(--ui-note); }
.scene-controls {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgb(229 241 255 / 25%);
  border-top-color: rgb(237 247 255 / 35%);
  border-radius: 23px;
  background: rgb(12 25 44 / 76%);
  color: #eaf1fc;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  backdrop-filter: blur(6px) saturate(112%);
  -webkit-backdrop-filter: blur(6px) saturate(112%);
}
.scene-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgb(226 239 255 / 17%);
  border-radius: 17px;
  color: inherit;
  background: rgb(204 225 255 / 7%);
  font-size: var(--ui-note);
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color .18s ease;
}
.scene-controls button:hover { background: rgb(204 225 255 / 17%); }
.scene-controls button svg { width: 16px; height: 16px; flex-shrink: 0; }
.scene-controls button:focus-visible { outline-color: #e6efff; }

/* The modal has its own foreground glass surface. */
body:is(.landing-mode, .interior-mode) dialog {
  color: var(--text);
  background: rgb(13 27 46 / 92%);
  border: 1px solid var(--glass-edge);
  border-top-color: rgb(230 243 255 / 44%);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 14px 42px rgb(0 0 0 / 18%);
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
}
body:is(.landing-mode, .interior-mode) dialog p { color: var(--muted); font-size: var(--ui-body); line-height: 1.85; }
body:is(.landing-mode, .interior-mode) .dialog-kicker { color: var(--muted); font-size: var(--ui-note); }
body:is(.landing-mode, .interior-mode) dialog .dialog-close { width: 44px; padding: 0; border-radius: 17px; font-size: 25px; }
body dialog::backdrop { background: rgb(1 6 15 / 58%); backdrop-filter: none; }
body dialog a.contact-email { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }

/* Light glass leaves the home image and its white typography intact. */
html[data-theme=light] body.landing-mode {
  --control-fill: rgb(219 236 255 / 17%);
  --control-hover: rgb(225 240 255 / 27%);
  --control-selected: rgb(224 240 255 / 29%);
  --control-edge: rgb(234 245 255 / 37%);
  --glass-edge: rgb(243 249 255 / 49%);
}
html[data-theme=light] .landing-mode .landing-discover {
  background: linear-gradient(125deg, rgb(231 241 255 / 15%), rgb(24 39 61 / 22%));
  border-color: rgb(231 244 255 / 36%);
  border-top-color: rgb(243 249 255 / 52%);
}
html[data-theme=light] .landing-mode .landing-search-field { background: rgb(225 239 255 / 16%); }

/* Interior light glass retains the same nebula and the persistent dark header. */
html[data-theme=light] body.interior-mode {
  color-scheme: light;
  --text: #f2f5fc;
  --muted: #d1d9e8;
  --card-ink: #142238;
  --card-muted: #42556e;
  --card-fill: rgb(229 238 251 / 66%);
  --card-edge: rgb(248 252 255 / 57%);
  --card-hover: rgb(239 245 254 / 72%);
  --card-inset-fill: rgb(255 255 255 / 12%);
  --card-quiet: rgb(28 56 89 / 7%);
  --card-selected: #4b698b;
  --card-status: #285f4b;
  --card-status-fill: rgb(81 148 113 / 14%);
  --glass-glint: rgb(255 255 255 / 14%);
  --glass-edge: rgb(248 252 255 / 58%);
}
html[data-theme=light] .interior-mode :is(.product-card, .compact-card, .empty-orders, .detail-workspace, .order-guide, .faq details) {
  --text: var(--card-ink);
  --muted: var(--card-muted);
  --control-fill: rgb(255 255 255 / 24%);
  --control-hover: rgb(255 255 255 / 51%);
  --control-selected: rgb(255 255 255 / 40%);
  --control-edge: rgb(71 104 144 / 24%);
  --focus: #325d8f;
  --card-focus: #325d8f;
}
html[data-theme=light] .interior-mode .tier-front { color: #244c41; background: rgb(171 206 193 / 78%); }
html[data-theme=light] .interior-mode .tier-back { color: #504166; background: rgb(205 197 225 / 80%); }
html[data-theme=light] .interior-mode .mark-claude { color: #92583d; }
html[data-theme=light] .interior-mode .summary { background: rgb(255 255 255 / 16%); }
html[data-theme=light] .interior-mode dialog { background: rgb(229 238 251 / 94%); color: #142238; --text: #142238; --muted: #42556e; --control-fill: rgb(255 255 255 / 33%); --control-selected: rgb(255 255 255 / 48%); --control-hover: rgb(255 255 255 / 65%); --control-edge: rgb(71 104 144 / 26%); --focus: #325d8f; }

@media (max-width: 1150px) {
  :root { --shell-width: calc(100% - 72px); --ui-brand: 29px; }
  .site-header-inner { gap: 16px; }
  .site-nav { gap: 6px; }
  .site-nav > a { padding-inline: 13px; }
  .site-actions { gap: 6px; }
  .site-actions .shell-support { padding-inline: 12px; }
  .site-actions .support-label { display: none; }
  .site-actions .shell-support { width: 44px; padding: 0; }
}
@media (max-width: 900px) {
  .site-nav > a { padding-inline: 11px; }
  .site-header-inner { gap: 12px; }
}
@media (max-width: 900px) {
  :root { --shell-width: calc(100% - 40px); --ui-brand: 27px; }
  html { scroll-padding-top: 145px; }
  #header.header { height: 130px; min-height: 130px; flex-basis: 130px; }
  .site-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 50px 44px; gap: 10px 12px; align-content: center; }
  .site-brand { font-size: var(--ui-brand); letter-spacing: -1.4px; }
  .site-actions { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .site-nav > a { padding: 0 6px; font-size: 15px; min-height: 44px; }
  .site-actions .shell-button { font-size: 15px; }
  .site-actions .shell-support { display: inline-flex; }
  html[lang=en] .site-nav > a { font-size: 14px; }
}
@media (max-width: 760px) {
  .site-actions .language-control { width: 44px; min-width: 44px; padding: 0; }
  .site-actions .language-control [data-language-label] { display: none; }
  .site-actions .language-control::after { content: "EN"; }
  html[lang=en] .site-actions .language-control::after { content: "中"; }
  .scene-home, .scene-home > video { background-position: 52% center; object-position: 52% center; }
  .scene-home .scene-shade { background: linear-gradient(180deg, #02040b24, #02040b38 50%, #02040b55); }
  .scene-inner .scene-shade { background: linear-gradient(180deg, rgb(3 10 25 / 40%), rgb(4 12 28 / 38%) 45%, rgb(3 9 22 / 40%)); }
}
@media (max-width: 680px) {
  :root { --ui-lead: 16px; --ui-category: 15px; }
  .interior-mode .intro { padding-top: 30px; }
  .interior-mode .categories { gap: 6px; }
  .interior-mode .categories button { padding-inline: 12px; font-size: 15px; }
  .interior-mode .search { width: 100%; }
  .interior-mode .search input { min-height: 48px; }
  .interior-mode .product-card { --card-inset: 20px; }
  .interior-mode .product-grid, .interior-mode .compact-grid { gap: 18px; }
  .interior-mode .summary { border-left: 0; border-top: 1px solid var(--card-edge); }
  .interior-mode .order-guide a { margin-left: 0; }
  .interior-mode .footer-top > span { flex-basis: 100%; }
  .interior-mode .footer-theme { margin-left: auto; }
  .interior-mode .footer-bottom { display: flex; }
  .interior-mode .footer-links { margin-top: 0; }
  .scene-controls { right: 16px; bottom: 14px; padding: 5px; border-radius: 22px; }
  .scene-controls button { padding-inline: 10px; }
  .landing-mode .landing-discover { background: rgb(9 20 38 / 50%); border-radius: 24px; }
  .landing-mode .landing-categories button { font-size: 15px; }
  .landing-mode .landing-panel-controls { align-items: center; }
  .landing-mode .landing-video-toggle { font-size: 14px; }
  .landing-footer-inner { font-size: 14px; line-height: 1.6; }
  body:is(.landing-mode, .interior-mode) dialog { padding: 34px 24px; }
}
@media (max-width: 380px) {
  :root { --shell-width: calc(100% - 28px); --ui-brand: 24px; }
  .site-header-inner { column-gap: 8px; }
  .site-actions { gap: 4px; }
  .site-actions .language-control { min-width: 44px; padding-inline: 9px; }
  .site-nav { gap: 5px; }
  .site-nav > a { font-size: 14px; padding-inline: 3px; }
  html[lang=en] .site-nav > a { font-size: 12px; }
  .landing-mode .landing-categories button { font-size: 14px; }
  .landing-mode .landing-panel-status { font-size: 13px; }
}
@media (max-width: 360px) {
  :root { --ui-brand: 23px; }
  .site-actions .language-control { font-size: 14px; padding-inline: 8px; }
}
/* Dimensions and optical layers from http://105626.xyz/landing.css,
   retrieved 2026-10-28. No added grey backing and no live backdrop sampling. */
body {
  --ref-height: 44px;
  --ref-font: 15px;
  --ref-padding: 20px;
  --ref-gap: 7px;
  --ref-radius: 24px;
  --ref-glass: linear-gradient(140deg, #ffffff12, #ffffff04);
  --ref-selected-glass: linear-gradient(140deg, #ffffff2e, #ffffff12);
  --ref-panel-glass: linear-gradient(115deg, #edf3ff13 0%, #eff5ff05 48%, #d8e8ff0c 100%);
  --ref-edge: #ffffff38;
  --ref-top: #ffffff66;
  --ref-shadow: inset 0 1px 0 #ffffff10;
  --ref-hover-fill: #ffffff1c;
  --ref-transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}
.landing-pill, .interior-mode .action {
  --ref-height: 52px;
  --ref-font: 16px;
  --ref-padding: 27px;
  --ref-gap: 28px;
  --ref-radius: 30px;
}
.landing-pill-primary, .interior-mode .action:not(.soft) {
  --ref-glass: linear-gradient(140deg, #ffffff30, #ffffff12);
  --ref-edge: #ffffff55;
  --ref-top: #ffffffa0;
  --ref-shadow: inset 0 1px 0 #ffffff26, 0 6px 24px #0002;
  --ref-hover-fill: #ffffff18;
}
.landing-pill-secondary, .interior-mode .action.soft {
  --ref-glass: linear-gradient(140deg, #ffffff12, #ffffff03);
  --ref-edge: #ffffff35;
  --ref-top: #ffffff70;
  --ref-shadow: inset 0 1px 0 #ffffff12;
  --ref-hover-fill: #ffffff12;
}
.landing-video-toggle { --ref-padding: 14px; --ref-font: 13px; }
.site-actions .shell-support { --ref-height: 46px; --ref-radius: 26px; }
.landing-search-submit { --ref-height: 43px; --ref-padding: 0px; --ref-radius: 11px; }
.dialog-close { --ref-padding: 0px; --ref-font: 25px; --ref-radius: 17px; }

html body:is(.landing-mode,.interior-mode) :is(
  .site-nav > a, .site-actions .shell-button, .landing-pill, .landing-contact,
  .landing-categories button, .landing-search-submit, .landing-video-toggle,
  .action, .categories button, .order-guide a, .dialog-close
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: var(--ref-height);
  min-height: var(--ref-height);
  min-width: 0;
  padding: 0 var(--ref-padding);
  gap: var(--ref-gap);
  border: 1px solid var(--ref-edge);
  border-top-color: var(--ref-top);
  border-radius: var(--ref-radius);
  background: var(--ref-glass);
  color: #eef1ff;
  box-shadow: var(--ref-shadow);
  font-family: inherit;
  font-size: var(--ref-font);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  transition: var(--ref-transition);
}
html body:is(.landing-mode,.interior-mode) :is(
  .site-nav > a[aria-current=page], .landing-categories button:first-child,
  .categories button[aria-pressed=true]
) {
  background: var(--ref-selected-glass);
  border-color: #ffffff66;
  border-top-color: #ffffffa0;
  color: #fff;
}
html body:is(.landing-mode,.interior-mode) :is(
  .site-nav > a, .site-actions .shell-button, .landing-pill, .landing-contact,
  .landing-categories button, .landing-search-submit, .landing-video-toggle,
  .action, .categories button, .order-guide a, .dialog-close
):hover {
  background-color: var(--ref-hover-fill);
  border-color: #ffffff90;
  color: #fff;
  transform: translateY(-1px);
}
/* Restore the gradient cleared by the legacy soft-button hover shorthand. */
body.interior-mode .action.soft:hover { background-image: var(--ref-glass); }
html body:is(.landing-mode,.interior-mode) :is(
  .site-nav > a, .site-actions .shell-button, .landing-pill,
  .landing-categories button, .landing-search-submit, .landing-video-toggle,
  .action, .categories button, .order-guide a, .dialog-close
):active { transform: none; }
html body:is(.landing-mode,.interior-mode) :is(.landing-video-toggle,.action,.site-actions .shell-button):disabled {
  background-color: transparent;
  border-color: var(--ref-edge);
  border-top-color: var(--ref-top);
  transform: none;
}
html body:is(.landing-mode,.interior-mode) :is(.site-nav > a,.site-actions .shell-button,.landing-categories button,.categories button) {
  width: var(--ref-width, auto);
  flex: 0 0 auto;
}
.site-nav { gap: 32px; }
.landing-mode .landing-categories, .interior-mode .categories { gap: 8px; }
.landing-mode .landing-hero-actions { gap: 12px; }
.landing-mode .landing-pill .icon { width: 18px; height: 18px; flex: 0 0 18px; }
body.interior-mode .product-bottom .action { width: 100%; justify-content: space-between; }

/* Panels use the entrance panel's transparent optical layers. */
html body:is(.landing-mode,.interior-mode) :is(
  .landing-discover,.product-card,.compact-card,.empty-orders,
  .detail-workspace,.order-guide,.faq details
) {
  background: var(--ref-panel-glass);
  border-color: #e4edff2e;
  border-top-color: #f2f7ff66;
  box-shadow: inset 0 1px 0 #ffffff13, inset 0 -1px 0 #ffffff06, 0 12px 40px #00000012;
  transition: var(--ref-transition);
}
body.interior-mode :is(.product-card,.compact-card,.empty-orders,.detail-workspace,.order-guide,.faq details):hover {
  background-color: #ffffff05;
  border-color: #ffffff55;
  border-top-color: #ffffff90;
  transform: none;
}
.interior-mode .product-grid, .interior-mode .faq > div:last-child { overflow: visible; }
body.interior-mode :is(.plan,.summary,.detail-art,.receipt-art > .icon,.sms-art > span) {
  background: var(--ref-glass);
  border-color: var(--ref-edge);
  border-top-color: var(--ref-top);
  box-shadow: var(--ref-shadow);
  transition: var(--ref-transition);
}
body.interior-mode :is(.plan,.summary,.detail-art):hover { background-color: #ffffff08; }
body.interior-mode .plan.selected {
  background: var(--ref-selected-glass);
  border-color: #ffffff66;
  border-top-color: #ffffffa0;
}
body.interior-mode .plan.selected:hover { background-color: #ffffff08; }
html body:is(.landing-mode,.interior-mode) :is(.landing-search-field,.search input) {
  background: linear-gradient(125deg, #ffffff20, #ffffff0b);
  border-color: #ffffff40;
  border-top-color: #ffffff80;
  box-shadow: inset 0 1px 0 #ffffff20, 0 4px 18px #0000000d;
  transition: var(--ref-transition);
}
html body:is(.landing-mode,.interior-mode) :is(.landing-search-field,.search input):hover { background-color: #ffffff08; }
html body:is(.landing-mode,.interior-mode) :is(.landing-search-field:focus-within,.search input:focus) {
  background-color: #ffffff10;
  border-color: #c4d4ff;
}
body.landing-mode .landing-search-field { height: 61px; padding: 7px 8px 7px 20px; border-radius: 16px; }
body.landing-mode .landing-search-submit { width: var(--ref-height); }
body.landing-mode .landing-discover { border-radius: 30px; }
html body:is(.landing-mode,.interior-mode) dialog {
  background: var(--ref-panel-glass), #0c0f16eb;
  border-color: #e4edff2e;
  border-top-color: #f2f7ff66;
  box-shadow: inset 0 1px 0 #ffffff13, 0 12px 40px #00000012;
}

/* The reference header uses a quiet text navigation rather than pills. The
   support control remains a glass button; the four route links stay clean. */
html body:is(.landing-mode,.interior-mode) #header.header {
  border: 0;
  box-shadow: none;
}
html body.landing-mode #header.header { background: transparent; }
html body:is(.landing-mode,.interior-mode) #header .site-nav > a {
  width: auto;
  height: auto;
  min-height: 44px;
  min-width: 0;
  align-self: center;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: #e0e4ef;
  font-size: 16px;
  line-height: 1.5;
  transform: none;
  transition: color .18s ease;
}
html body:is(.landing-mode,.interior-mode) #header .site-nav > a:hover,
html body:is(.landing-mode,.interior-mode) #header .site-nav > a[aria-current=page] {
  border: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: #fff;
  transform: none;
}
html body:is(.landing-mode,.interior-mode) #header .site-nav > a:active {
  transform: none;
}
html body:is(.landing-mode,.interior-mode) #header .site-nav > a:focus-visible {
  outline: 2px solid #d1dfff;
  outline-offset: 4px;
}
html body:is(.landing-mode,.interior-mode) #header .site-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(440px, 100%);
  gap: 0;
}
@media (min-width:901px) {
  html body:is(.landing-mode,.interior-mode) #header .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) minmax(0, 1fr);
    gap: 22px;
  }
  html body:is(.landing-mode,.interior-mode) .site-brand { justify-self: start; }
  html body:is(.landing-mode,.interior-mode) #header .site-nav { justify-self: center; }
  html body:is(.landing-mode,.interior-mode) .site-actions { justify-self: end; }
}

@media (max-width:1150px) {
  html body:is(.landing-mode,.interior-mode) .site-actions .shell-support { width:44px; height:44px; min-height:44px; padding:0; }
  .site-nav { gap: 24px; }
}
@media (max-width:900px) {
  .site-nav { --ref-width:100%; --ref-padding:8px; }
  html body:is(.landing-mode,.interior-mode) #header .site-nav { width:100%; }
  html body:is(.landing-mode,.interior-mode) #header .site-nav > a { padding-inline: 0; }
}
@media (max-width:800px) {
  .landing-pill,.interior-mode .action { --ref-padding:25px; --ref-gap:24px; }
}
@media (max-width:760px) {
  html body:is(.landing-mode,.interior-mode) .site-actions .language-control { width:44px; padding:0; }
}
@media (max-width:680px) {
  .landing-pill,.interior-mode .action { --ref-height:49px; --ref-font:15px; --ref-padding:23px; --ref-gap:20px; }
  .landing-categories,.categories,.site-nav { --ref-font:14px; }
  html body:is(.landing-mode,.interior-mode) #header .site-nav > a { font-size: 15px; }
  .landing-categories { --ref-width:100%; --ref-padding:6px; }
  .categories { --ref-padding:12px; }
  .landing-mode .landing-categories { gap:6px; }
  .site-nav { gap:18px; }
  .landing-mode .landing-hero-actions { gap:10px; }
  body.landing-mode .landing-search-field { height:57px; padding:7px 7px 7px 13px; border-radius:14px; }
  .landing-search-submit { --ref-height:41px; --ref-radius:10px; }
  body.landing-mode .landing-discover { border-radius:25px; }
  .landing-video-toggle { --ref-height:40px; --ref-font:12px; --ref-padding:12px; }
}
@media (max-width:380px) {
  html[lang=en] .site-nav { --ref-font:12px; }
  html body:is(.landing-mode,.interior-mode) #header .site-nav > a { font-size: 14px; }
  html[lang=en] body:is(.landing-mode,.interior-mode) #header .site-nav > a { font-size: 12px; }
  .site-nav { gap:5px; }
}
@media (max-width:360px) {
  .landing-pill,.interior-mode .action { --ref-font:14px; --ref-padding:17px; --ref-gap:14px; }
  .landing-categories { --ref-padding:4px; }
}
@media (min-width:900px) and (min-height:600px) and (max-height:740px) {
  .landing-pill,.interior-mode .action { --ref-height:48px; --ref-font:15px; --ref-padding:24px; }
  .landing-categories,.categories,.site-nav { --ref-height:40px; --ref-font:14px; --ref-padding:18px; }
  body.landing-mode .landing-discover { border-radius:26px; }
  body.landing-mode .landing-search-field { height:53px; padding-block:6px; border-radius:13px; }
  .landing-search-submit { --ref-height:39px; --ref-radius:9px; }
}
/* Keep the confirmed lightweight rendering path on every route. */
html body:is(.landing-mode,.interior-mode) *,
html body:is(.landing-mode,.interior-mode) *::before,
html body:is(.landing-mode,.interior-mode) *::after,
html body:is(.landing-mode,.interior-mode) dialog::backdrop {
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
/* One shallow sampling surface restores the requested homepage frost.
   All controls inside it and every interior route retain lightweight glass. */
html body.landing-mode .landing-discover {
  backdrop-filter: blur(4px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(4px) saturate(125%) !important;
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  html body:is(.landing-mode,.interior-mode) :is(a,button):hover { transform:none !important; }
}
