/* 夜色玻璃：深墨绿夜色 + 磨砂玻璃卡片 + 青柠强调色。配色固定，不跟随店铺主色。 */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/static/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.theme-glass {
  --bg: #0b1214; --fg: #eeeeec; --muted: #95a4a6; --line: #212a2c; --card: #121b1c; --danger: #e5484d;
  --primary: #51aeb8; --lime: #bed666; --on-lime: #0b1214; --on-primary: #0b1214; --wrap: 72rem;
  --glass-bg: rgba(12, 36, 41, .52); --glass-bg-strong: rgba(14, 42, 48, .7);
  --glass-border: rgba(110, 175, 168, .22); --glass-border-subtle: rgba(110, 175, 168, .11);
  --glass-highlight: rgba(190, 235, 224, .2); --glass-highlight-strong: rgba(205, 248, 238, .26);
  --glass-shadow: rgba(0, 0, 0, .4); --glass-shadow-deep: rgba(0, 0, 0, .6);
  --glass-shadow-ambient: rgba(0, 0, 0, .46); --glass-shadow-lift: rgba(0, 0, 0, .66);
  --glass-edge-glow: rgba(80, 160, 150, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark; font-size: .9375rem; letter-spacing: -.01em; word-spacing: .06em; /* the font's space is narrow (0.17em) */ -webkit-font-smoothing: antialiased;
}
.theme-glass.font-sans { --font: "Plus Jakarta Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
.theme-glass.r-normal { --radius: 12px; }
.theme-glass { --r-card: calc(var(--radius) * 1.5); --r-panel: calc(var(--radius) * 2.33); }
.theme-glass.r-sharp { --r-card: 0px; --r-panel: 0px; }

/* ---- background: dot grid, drifting orbs, vignette ---- */
.theme-glass { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.theme-glass > main { flex: 1 0 auto; }
.theme-glass > .wrap { width: 100%; }
.gl-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 40%, rgba(0, 0, 0, .55) 100%),
    radial-gradient(rgba(150, 200, 190, .07) 1px, transparent 1.2px) 0 0 / 4px 4px,
    linear-gradient(135deg, rgba(0, 59, 69, .14) 0%, rgba(60, 100, 90, .06) 25%, rgba(15, 95, 107, .09) 50%, transparent 75%) 0 0 / 200% 200%,
    var(--bg);
  animation: gl-aurora 25s ease-in-out infinite; }
.gl-orb { position: absolute; border-radius: 50%; }
.gl-orb-a { width: 70vmax; height: 70vmax; left: -20vmax; top: -25vmax; filter: blur(72px);
  background: radial-gradient(circle, rgba(20, 90, 100, .38) 0%, rgba(0, 59, 69, .12) 40%, transparent 68%);
  animation: gl-float-a 22s ease-in-out infinite; }
.gl-orb-b { width: 60vmax; height: 60vmax; right: -18vmax; top: 5vmax; filter: blur(90px);
  background: radial-gradient(circle, rgba(140, 165, 85, .2) 0%, rgba(140, 165, 85, .07) 35%, transparent 62%);
  animation: gl-float-b 30s ease-in-out infinite; }
.gl-orb-c { width: 50vmax; height: 50vmax; left: 25vmax; bottom: -30vmax; filter: blur(64px);
  background: radial-gradient(circle, rgba(60, 140, 130, .22) 0%, rgba(60, 140, 130, .08) 40%, transparent 70%);
  animation: gl-float-a 26s ease-in-out infinite reverse; }
@keyframes gl-aurora { 0%, 100% { background-position: 0 0, 0 0, 0% 50%, 0 0; } 50% { background-position: 0 0, 0 0, 100% 50%, 0 0; } }
@keyframes gl-float-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6vmax, 4vmax); } }
@keyframes gl-float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-5vmax, 6vmax) scale(1.08); } }

/* ---- glass materials ---- */
.gl-bar, .gl-box, .gl-card, .gl-step, .gl-pimg, .theme-glass .panel {
  position: relative;
  background: linear-gradient(155deg, var(--glass-bg-strong) 0%, var(--glass-bg) 55%, rgba(12, 36, 41, .42) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.08); backdrop-filter: blur(20px) saturate(1.08);
  border: 1px solid var(--glass-border); border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--glass-border-subtle), 0 2px 6px var(--glass-shadow), 0 6px 18px -4px var(--glass-shadow-ambient),
    0 16px 40px -14px var(--glass-shadow-deep), 0 24px 52px -22px var(--glass-shadow-lift),
    inset 0 1px 0 var(--glass-highlight-strong), inset 0 -1px 0 var(--glass-border-subtle), inset 0 0 28px -12px var(--glass-edge-glow);
}
.gl-box::before, .gl-card::before, .gl-step::before, .gl-panel::before, .gl-buy::before, .theme-glass .panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .5;
  background: linear-gradient(180deg, var(--glass-highlight-strong) 0%, var(--glass-highlight) 18%, transparent 42%),
    radial-gradient(120% 60% at 50% 0%, rgba(60, 140, 130, .07) 0%, transparent 60%);
  mask-image: linear-gradient(#000, transparent 45%); -webkit-mask-image: linear-gradient(#000, transparent 45%);
}
.gl-panel, .gl-buy {
  position: relative; border-radius: var(--r-panel);
  background: linear-gradient(145deg, var(--glass-bg-strong) 0%, var(--glass-bg) 45%, var(--glass-bg-strong) 100%);
  -webkit-backdrop-filter: blur(32px) saturate(1.1); backdrop-filter: blur(32px) saturate(1.1);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 0 1px var(--glass-border-subtle), 0 1px 2px var(--glass-shadow), 0 8px 24px -6px var(--glass-shadow-ambient),
    0 20px 48px -14px var(--glass-shadow-deep), 0 32px 64px -24px var(--glass-shadow-lift),
    inset 0 1px 0 var(--glass-highlight-strong), inset 0 -1px 0 var(--glass-border-subtle), inset 0 0 32px -12px var(--glass-edge-glow);
}

/* ---- typography ---- */
.theme-glass h1, .theme-glass h2, .theme-glass h3 { letter-spacing: -.02em; }
.gl-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gl-eyebrow.gl-sm { font-size: .6875rem; margin-bottom: 4px; }
.gl-display { font-size: clamp(2.125rem, 5vw + .75rem, 4.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; margin: 22px 0 20px; }
.gl-display span { display: block; animation: gl-rise .8s var(--ease) both; }
.gl-display span:nth-child(2) { animation-delay: .08s; } .gl-display span:nth-child(3) { animation-delay: .16s; }
.gl-display .gl-accent { color: var(--primary); }
.gl-display span:last-child { width: fit-content; max-width: 100%; padding-bottom: 6px;
  background: linear-gradient(90deg, var(--lime), rgba(190, 214, 102, .35) 70%, transparent) 0 100% / 100% 4px no-repeat;
  animation: gl-rise .8s var(--ease) both, gl-rule 1.1s .35s var(--ease) both; }
.gl-headline, .theme-glass main > h1 { font-size: clamp(1.625rem, 2.5vw + .75rem, 2.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; margin: 6px 0 28px; }
.gl-title { font-size: clamp(1.0625rem, .5vw + .9rem, 1.3125rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 14px; }
.gl-lead { font-size: clamp(1rem, .25vw + .95rem, 1.1875rem); line-height: 1.6; color: var(--muted); max-width: 34em; margin: 0 0 34px; }
@keyframes gl-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes gl-rule { from { background-size: 0 4px; } to { background-size: 100% 4px; } }
.theme-glass a:not([class]) { color: var(--primary); }
.theme-glass .muted { color: var(--muted); }
.gl-i { width: 1.05em; height: 1.05em; vertical-align: -.16em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- header: floating glass capsule ---- */
.gl-header { position: sticky; top: 12px; z-index: 20; width: min(100% - 24px, var(--wrap)); margin: 12px auto 0; }
.gl-bar { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 12px 0 20px; border-radius: calc(var(--radius) * 1.33);
  background: linear-gradient(180deg, rgba(16, 44, 50, .78), rgba(11, 26, 30, .62));
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.gl-bar .brand { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--primary); min-width: 0; }
.gl-bar .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-nav { display: flex; gap: 4px; margin: 0 auto; }
.gl-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.gl-nav a:hover { color: var(--fg); }
.gl-nav a.on { color: var(--fg); background: rgba(255, 255, 255, .06); }
.theme-glass .cart-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--lime); color: var(--on-lime); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 9px 20px; border-radius: 999px;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .28); transition: filter .2s, transform .2s var(--ease); }
.theme-glass .cart-link:hover { filter: brightness(1.06); transform: translateY(-1px); }
.theme-glass .cart-link .count { background: var(--on-lime); color: var(--lime); margin-left: 0; }
@media (max-width: 640px) {
  .gl-bar { height: 58px; gap: 10px; padding: 0 8px 0 16px; }
  .gl-bar .brand { font-size: 17px; }
  .gl-nav { margin: 0 0 0 auto; }
  .gl-nav a { padding: 6px 10px; }
  .gl-nav .gl-nav-shop { display: none; }
  .theme-glass .cart-link { padding: 8px 14px; }
}
.theme-glass .noticebar { background: rgba(190, 214, 102, .1); color: var(--lime); border-bottom: 1px solid rgba(190, 214, 102, .2); }

/* ---- hero ---- */
.gl-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; min-height: min(78vh, 720px); padding-top: 48px; padding-bottom: 48px; }
.gl-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .06em; color: var(--muted); padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--glass-bg); box-shadow: inset 0 1px 0 var(--glass-highlight); animation: gl-rise .8s var(--ease) both; }
.gl-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf6e; box-shadow: 0 0 0 3px rgba(62, 207, 110, .18); flex: none; }
.gl-live .gl-dot { animation: gl-pulse 2s ease-in-out infinite; }
@keyframes gl-pulse { 50% { box-shadow: 0 0 0 6px rgba(62, 207, 110, 0); } }
.gl-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: gl-rise .8s .2s var(--ease) both; }
.gl-btn-lime, .gl-btn-glass { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 34px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), filter .2s, border-color .2s; }
.gl-btn-lime { background: var(--lime); color: var(--on-lime); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .28); }
.gl-btn-glass { color: var(--fg); border: 1px solid var(--glass-border); background: linear-gradient(145deg, var(--glass-bg-strong), var(--glass-bg));
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .6), inset 0 1px 0 var(--glass-highlight); }
.gl-btn-lime:hover, .gl-btn-glass:hover { transform: translateY(-2px); }
.gl-btn-glass:hover { border-color: rgba(81, 174, 184, .4); }
.gl-panel { padding: 24px; animation: gl-rise .9s .15s var(--ease) both; }
.gl-panel > * { position: relative; }
.gl-panel-img { padding: 10px; }
.gl-panel-img img { display: block; width: 100%; border-radius: calc(var(--r-panel) - 10px); }
.gl-panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.gl-panel-name { font-size: 17px; font-weight: 600; margin-top: 4px; }
.gl-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #6ee79a; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(62, 207, 110, .35); background: rgba(62, 207, 110, .06); }
.gl-points { list-style: none; margin: 0; padding: 6px; border-radius: calc(var(--r-card) - 2px); background: rgba(0, 0, 0, .18); border: 1px solid var(--glass-border-subtle); }
.gl-points li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; }
.gl-points li + li { border-top: 1px solid var(--glass-border-subtle); }
.gl-points strong { display: block; font-weight: 600; }
.gl-points span:not(.gl-ico) { color: var(--muted); font-size: 13.5px; }
.gl-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; flex: none; font-size: 17px; color: var(--lime);
  background: linear-gradient(145deg, rgba(190, 214, 102, .16), rgba(81, 174, 184, .08)); border: 1px solid rgba(190, 214, 102, .22); }
.gl-panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--glass-border-subtle); }
.gl-panel-stats span { display: block; font-size: 12px; color: var(--muted); }
.gl-panel-stats strong { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .gl-hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-top: 44px; }
  .gl-btn-lime, .gl-btn-glass { flex: 1 1 100%; }
}

/* ---- sections ---- */
.theme-glass main { padding-top: 40px; padding-bottom: 96px; }
.gl-hero + main { border-top: 1px solid var(--line); padding-top: 88px; }
.gl-section + .gl-section { margin-top: 112px; }
.gl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.theme-glass .gl-tabs a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--glass-border-subtle);
  background: var(--glass-bg); transition: color .2s, border-color .2s; }
.theme-glass .gl-tabs a:hover { color: var(--fg); }
.theme-glass .gl-tabs a.on { color: var(--fg); border-color: rgba(81, 174, 184, .5); background: rgba(81, 174, 184, .1); }

/* ---- product cards ---- */
.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .gl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gl-grid { grid-template-columns: 1fr; } }
.gl-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--fg);
  transition: transform .42s var(--ease), border-color .32s ease, box-shadow .42s var(--ease); }
.gl-card:hover { transform: translateY(-6px); border-color: rgba(81, 174, 184, .36); }
.gl-card::before { z-index: 1; }
.gl-art { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--glass-border-subtle); }
.gl-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gl-card:hover .gl-art img { transform: scale(1.04); }
.hue-0 { background: linear-gradient(135deg, #0f2a2f 0%, #14535a 55%, #2f8f8f 100%); }
.hue-1 { background: linear-gradient(135deg, #0c2c44 0%, #0f6a92 55%, #26a5c9 100%); }
.hue-2 { background: linear-gradient(135deg, #102440 0%, #1c5a6a 55%, #5c9a4e 100%); }
.hue-3 { background: linear-gradient(135deg, #1b1533 0%, #43307a 55%, #6b4fa8 100%); }
.hue-4 { background: linear-gradient(135deg, #231610 0%, #6b3a20 55%, #c0703f 100%); }
.hue-5 { background: linear-gradient(135deg, #10201c 0%, #3b4f2c 55%, #8ea351 100%); }
.gl-ring { position: absolute; width: 250px; height: 250px; left: 50%; top: 50%; border-radius: 50%; transform: translate(-40%, -50%);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 36px rgba(255, 255, 255, .025), 0 0 0 37px rgba(255, 255, 255, .06); transition: transform .6s var(--ease); }
.gl-card:hover .gl-ring { transform: translate(-40%, -50%) rotate(18deg) scale(1.06); }
.gl-tile { position: relative; width: 112px; height: 112px; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 46px; font-weight: 700; color: rgba(255, 255, 255, .92);
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.gl-go { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 20, 22, .45); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 15px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease); }
.gl-card:hover .gl-go { background: var(--lime); color: var(--on-lime); transform: translateX(2px); }
.gl-card-body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.gl-card-title { font-size: clamp(1.0625rem, .5vw + .9rem, 1.3125rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.gl-card-desc { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gl-card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 20px; }
.gl-badge { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; font-weight: 600; white-space: nowrap;
  color: var(--lime); background: rgba(80, 96, 34, .35); border: 1px solid rgba(190, 214, 102, .45); padding: 4px 11px; border-radius: 8px; }
.gl-outline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--primary); padding: 9px 14px;
  border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(0, 0, 0, .12); transition: border-color .2s, background .2s; }
.gl-card:hover .gl-outline { border-color: rgba(81, 174, 184, .5); background: rgba(81, 174, 184, .08); }

/* ---- steps ---- */
.gl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .gl-steps { grid-template-columns: 1fr; } }
.gl-step { padding: 24px; }
.gl-step > * { position: relative; }
.gl-step strong { display: block; margin: 16px 0 6px; font-size: 16.5px; font-weight: 600; }
.gl-step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- product page ---- */
.gl-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.gl-back:hover { color: var(--fg); }
.gl-ptitle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 30px; }
.gl-ptitle .gl-headline { margin: 0; }
.gl-product { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; }
.gl-product .gl-buy { grid-column: 2; grid-row: 1; position: sticky; top: 96px; }
.gl-product .gl-pmain { grid-column: 1; grid-row: 1; display: grid; gap: 22px; }
@media (max-width: 900px) {
  .gl-product { grid-template-columns: 1fr; }
  .gl-product .gl-buy, .gl-product .gl-pmain { grid-column: 1; grid-row: auto; position: relative; top: 0; }
}
.gl-box { padding: 24px; }
.gl-box > * { position: relative; }
.gl-pimg { overflow: hidden; padding: 0; }
.gl-pimg img { display: block; width: 100%; }
.gl-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 560px) { .gl-checks { grid-template-columns: 1fr; } }
.gl-checks li { display: flex; gap: 10px; align-items: baseline; color: #d6dcdb; }
.gl-checks .gl-i { color: var(--primary); vertical-align: 0; transform: translateY(2px); }
.gl-box .description { color: #d6dcdb; }
.gl-buy { padding: 24px; }
.gl-buy > * { position: relative; }
.gl-buy .gl-eyebrow { margin-bottom: 14px; }
.gl-fine { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* The shared buy form as selectable plan cards: name / price on the left, check dot on the right. */
.theme-glass .buy-form .variant { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "name name dot" "price stock dot";
  gap: 4px 10px; align-items: center; padding: 14px 16px; margin-bottom: 10px; border-radius: var(--radius); border: 2px solid var(--glass-border-subtle);
  background: rgba(0, 0, 0, .16); transition: border-color .2s, background .2s, transform .15s; }
.theme-glass .buy-form .variant:hover { border-color: var(--glass-border); }
.theme-glass .buy-form .variant:active { transform: scale(.985); }
.theme-glass .buy-form .variant:has(input:checked) { border-color: var(--primary); background: rgba(81, 174, 184, .06); box-shadow: 0 0 22px -8px rgba(81, 174, 184, .5); }
.theme-glass .buy-form .grow { grid-area: name; font-size: 16px; font-weight: 500; }
.theme-glass .buy-form .grow .muted { font-size: 13px; }
.theme-glass .buy-form .price { grid-area: price; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; font-weight: 700; color: var(--fg); }
.theme-glass .buy-form .stock { grid-area: stock; font-size: 12.5px; }
.theme-glass .buy-form .variant input[type=radio] { grid-area: dot; appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--glass-border); background: rgba(0, 0, 0, .2); display: grid; place-content: center; cursor: pointer; }
.theme-glass .buy-form .variant input[type=radio]:checked { background: var(--primary); border-color: var(--primary); }
.theme-glass .buy-form .variant input[type=radio]:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #0b1214; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.theme-glass .buy-row { align-items: center; margin-top: 16px; }
.theme-glass .buy-row .qty { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.theme-glass .buy-row button { height: 50px; }

/* ---- shared pages & components ---- */
.theme-glass .panel { padding: 24px; margin-bottom: 20px; }
.theme-glass .panel > * { position: relative; }
.theme-glass button, .theme-glass .btn { background: var(--lime); color: var(--on-lime); font-weight: 600; border-radius: 999px; padding: 11px 26px;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .28); transition: filter .2s, transform .2s var(--ease); }
.theme-glass button:hover:not(:disabled), .theme-glass .btn:hover { transform: translateY(-1px); }
.theme-glass button.secondary, .theme-glass .btn.secondary { color: var(--fg); background: linear-gradient(145deg, var(--glass-bg-strong), var(--glass-bg));
  border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-highlight); }
.theme-glass input, .theme-glass textarea, .theme-glass select { background: rgba(4, 14, 16, .55); border-color: var(--glass-border-subtle); border-radius: var(--radius);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35); }
.theme-glass input:focus, .theme-glass textarea:focus, .theme-glass select:focus { outline: 2px solid rgba(81, 174, 184, .5); border-color: transparent; }
.theme-glass input[type=radio], .theme-glass input[type=checkbox] { box-shadow: none; }
.theme-glass label { color: #cdd5d4; }
.theme-glass th { color: var(--muted); font-weight: 500; font-size: 13px; }
.theme-glass th, .theme-glass td { border-bottom-color: var(--glass-border-subtle); padding: 12px 8px; }
.theme-glass td.num, .theme-glass th.num { font-variant-numeric: tabular-nums; }
.theme-glass .notice { background: rgba(81, 174, 184, .08); border: 1px solid rgba(81, 174, 184, .3); border-radius: var(--radius); }
.theme-glass .error { color: #ffb4b0; background: rgba(229, 72, 77, .1); border: 1px solid rgba(229, 72, 77, .4); border-radius: var(--radius); }
.theme-glass .keys { background: rgba(4, 14, 16, .6); border: 1px solid var(--glass-border-subtle); color: var(--lime); }
.theme-glass .methods label { background: rgba(0, 0, 0, .16); border: 2px solid var(--glass-border-subtle); border-radius: var(--radius); transition: border-color .2s; }
.theme-glass .methods label:has(input:checked) { border-color: var(--primary); background: rgba(81, 174, 184, .06); }
.theme-glass .badge { background: rgba(81, 174, 184, .15); }
.theme-glass .empty { border: 1px dashed var(--glass-border); border-radius: var(--r-card); }
.theme-glass .preview-banner { position: relative; z-index: 30; }

/* ---- footer: thin glass strip ---- */
.gl-footer { border-top: 1px solid transparent; font-size: 12.5px; color: var(--muted);
  background: linear-gradient(90deg, transparent, rgba(81, 174, 184, .35), transparent) top / 100% 1px no-repeat, linear-gradient(180deg, rgba(14, 32, 36, .55), rgba(8, 16, 18, .75));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.gl-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding-top: 16px; padding-bottom: 16px; }
.theme-glass .gl-footer a { color: var(--muted); text-decoration: none; }
.theme-glass .gl-footer a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .theme-glass *, .theme-glass *::before, .theme-glass *::after, .gl-ambient { animation: none !important; transition: none !important; }
}
.theme-glass button + .muted, .theme-glass .btn + .muted { margin-left: 12px; }
