/* Public redemption UI: clear optical controls, quiet reading surfaces. */
body.redeem-page.style-glass {
    --g-accent: #1762ad;
    --g-accent-hover: #0d5093;
    --g-accent-rgb: 23, 98, 173;
    --g-page: #f8faff;
    --g-wall: linear-gradient(140deg, #fff, #f1f7fd);
    --g-shade-rgb: 45, 67, 91;
    --g-blur: blur(0.4px) saturate(112%);
    --g-blur-strong: blur(14px) saturate(115%);
    --g-card: rgba(255, 255, 255, 0.56);
    --g-glass: rgba(255, 255, 255, 0.035);
    --g-glass-strong: rgba(255, 255, 255, 0.075);
    --g-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.5));
    --g-glass-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.012) 42%, rgba(166, 203, 239, 0.025));
    --g-glass-strong-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.025) 42%, rgba(130, 184, 233, 0.045));
    --g-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 0 0 0.5px rgba(255, 255, 255, 0.7), 0 18px 52px -30px rgba(45, 67, 91, 0.16);
    --g-glass-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.96), inset 1px 0 0.5px rgba(255, 255, 255, 0.55), inset 0 -1.5px 2px -1px rgba(52, 101, 151, 0.17), 0 0 0 0.5px rgba(79, 116, 160, 0.09), 0 8px 18px -13px rgba(45, 67, 91, 0.2);
    --g-btn2-shadow: var(--g-glass-shadow);
    --g-float-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.82));
    --g-float-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 0.5px rgba(255, 255, 255, 0.7), 0 24px 64px -24px rgba(var(--g-shade-rgb), 0.26);
    --g-btn-bg: linear-gradient(145deg, rgba(231, 245, 255, 0.18), rgba(145, 190, 246, 0.035) 47%, rgba(120, 175, 239, 0.08));
    --g-btn-shadow: var(--g-glass-shadow), inset 0 -0.5px 0 rgba(23, 98, 173, 0.1);
    --g-hairline: rgba(var(--g-shade-rgb), 0.13);
    --g-hairline-soft: rgba(var(--g-shade-rgb), 0.065);
    --g-quiet: rgba(78, 112, 149, 0.035);
    --g-quiet-hover: rgba(78, 112, 149, 0.075);
    --g-tint: rgba(var(--g-accent-rgb), 0.045);
    --g-inner-surface: rgba(255, 255, 255, 0.42);
    --g-inner-hover: rgba(255, 255, 255, 0.7);
    --g-success: #167249;
    --g-success-tint: rgba(22, 114, 73, 0.08);
    --g-error: #b43a39;
    --g-error-tint: rgba(180, 58, 57, 0.065);
    --g-warning: #98621c;
    --g-warning-tint: rgba(152, 98, 28, 0.065);
    --g-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
    --c-ink: #243747;
    --c-ink-soft: #526578;
    --c-ink-muted: #627186;
    --c-border: 1px solid var(--g-hairline);
    --c-border-thick: 0 solid transparent;
    --c-shadow-sm: none;
    --c-shadow-md: none;
    --c-shadow-lg: var(--g-card-shadow);
    --c-shadow-xl: var(--g-float-shadow);
    --c-r-sm: 12px;
    --c-r-md: 18px;
    --c-r-lg: 34px;
    --c-tx: 200ms ease;
    --c-bounce: 360ms var(--g-ease);
    --c-paper: var(--g-page);
    --c-paper-2: var(--g-page);
    --c-cream: var(--g-quiet);
    --c-surface: var(--g-inner-surface);
    --c-surface-soft: #f8fafc;
    --c-primary: var(--g-accent);
    --c-primary-2: var(--g-accent-hover);
    --c-secondary: var(--g-error);
    --c-success: var(--g-success-tint);
    --c-info: var(--g-accent);
    --c-pink: var(--g-error-tint);
    --c-accent: var(--g-accent);
    --c-info-box-bg: var(--g-tint);
    --c-warning-box-bg: var(--g-warning-tint);
    --c-yellow: var(--g-accent);
    --c-yellow-2: var(--g-accent-hover);
    --c-coral: var(--g-error);
    --c-mint: var(--g-success-tint);
    --c-sky: var(--g-accent);
    --c-purple: var(--g-accent);
}

body.redeem-page.style-glass.theme-warm {
    --g-page: #fbf9f7;
    --g-wall: linear-gradient(140deg, #fff, #f8f4f0);
}

html:has(body.redeem-page.style-glass),
body.redeem-page.style-glass {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    letter-spacing: 0;
    background: var(--g-page) !important;
}

body.redeem-page.style-glass {
    background: var(--g-wall) !important;
    min-height: 100svh;
}

body.redeem-page.style-glass .bg-scene {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32)),
        url('/static/img/liquid-silk.svg?v=20261002-ios-white-1') center / cover no-repeat;
}

body.redeem-page.style-glass.theme-warm .bg-scene {
    filter: sepia(0.22) saturate(0.8);
}

body.redeem-page.style-glass .bg-scene .orb,
body.redeem-page.style-glass .cartoon-deco {
    display: none;
}

body.redeem-page.style-glass ::selection {
    background: rgba(var(--g-accent-rgb), 0.18);
}

body.redeem-page.style-glass *:focus-visible {
    outline: 3px solid rgba(var(--g-accent-rgb), 0.7);
    outline-offset: 4px;
}

body.redeem-page.style-glass .page-wrap {
    max-width: 1040px;
    padding: 28px 44px 42px;
}

body.redeem-page.style-glass .site-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}

body.redeem-page.style-glass .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--c-ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

body.redeem-page.style-glass .brand-symbol {
    display: inline-flex;
    isolation: isolate;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 13px;
    color: var(--c-ink);
    background: var(--g-glass-bg);
    box-shadow: var(--g-glass-shadow);
    -webkit-backdrop-filter: var(--g-blur);
    backdrop-filter: var(--g-blur);
}

body.redeem-page.style-glass .brand-symbol :is(i, svg) {
    width: 20px;
    height: 20px;
    stroke-width: 1.6;
}

body.redeem-page.style-glass .site-topbar-label {
    font-size: 12px;
    color: var(--c-ink-soft);
}

body.redeem-page.style-glass a.site-topbar-label {
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

body.redeem-page.style-glass a.site-topbar-label:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--c-ink);
}

body.redeem-page.style-glass .container.full-layout {
    max-width: 552px;
    margin: 0 auto;
}

body.redeem-page.style-glass .hero-header {
    gap: 10px;
    margin-bottom: 28px;
}

body.redeem-page.style-glass .hero-header h1 {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.3;
    text-shadow: none;
}

body.redeem-page.style-glass .hero-header h1 .hero-highlight {
    padding: 0;
    margin: 0;
    color: inherit;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    font-weight: inherit;
}

body.redeem-page.style-glass .hero-subtitle {
    max-width: none;
    margin: 0;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--c-ink-soft);
}

/* Navigation is a floating control; content gets a quieter frosted surface. */
body.redeem-page.style-glass .top-nav-tabs {
    width: 100%;
    position: relative;
    gap: 14px;
    padding: 0;
    margin: 0 auto 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Ambient light behind the controls gives the clear edges something to refract. */
body.redeem-page.style-glass .top-nav-tabs::before {
    content: '';
    position: absolute;
    inset: 0 -8px;
    background: url('/static/img/glass-light.svg?v=20261002-clear-1') center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 0;
}

body.redeem-page.style-glass .tab-indicator {
    display: none;
}

body.redeem-page.style-glass .top-tab {
    --glass-x: 25%;
    --glass-y: 0%;
    position: relative;
    isolation: isolate;
    z-index: 1;
    flex-direction: column;
    gap: 7px;
    min-height: 90px;
    height: 90px;
    padding: 12px 10px;
    border: 0;
    border-radius: 28px;
    background: var(--g-glass-bg);
    color: var(--c-ink);
    font-size: 13.5px;
    font-weight: 400;
    box-shadow: var(--g-glass-shadow);
    -webkit-backdrop-filter: var(--g-blur);
    backdrop-filter: var(--g-blur);
    transform: none;
    white-space: nowrap;
    transition: transform 200ms var(--g-ease), background 200ms ease, box-shadow 200ms ease;
}

body.redeem-page.style-glass .top-tab :is(i, svg) {
    width: 20px;
    height: 20px;
    stroke-width: 1.85;
    flex-shrink: 0;
}

body.redeem-page.style-glass .top-tab:hover {
    background: var(--g-glass-strong-bg);
    color: var(--c-ink);
    transform: translateY(-1px);
    box-shadow: var(--g-glass-shadow);
}

body.redeem-page.style-glass .top-tab.active {
    background: var(--g-glass-strong-bg);
    color: var(--g-accent-hover);
    font-weight: 500;
    transform: none;
    box-shadow: var(--g-glass-shadow), inset 0 -1px 0 rgba(var(--g-accent-rgb), 0.09);
}

body.redeem-page.style-glass .top-tab.active :is(i, svg) {
    color: var(--g-accent);
}

body.redeem-page.style-glass .top-tab:focus-visible {
    outline: 2px solid var(--g-accent);
    outline-offset: 4px;
}

body.redeem-page.style-glass .tab-panel,
body.redeem-page.style-glass .result-shell {
    border: 0;
    border-radius: 32px;
    background: var(--g-card-bg);
    box-shadow: var(--g-card-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 32px;
}

/* A thin optical rim catches pointer light; it never covers the form. */
body.redeem-page.style-glass :is(.btn, .top-tab, .brand-symbol)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(ellipse at var(--glass-x, 20%) var(--glass-y, 0%), #fff 0%, rgba(255, 255, 255, 0.06) 55%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.95) 8%, rgba(255, 255, 255, 0.08) 45%, rgba(78, 127, 190, 0.18) 80%, rgba(255, 255, 255, 0.68));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* A narrow, clipped reflection follows light without moving the control. */
body.redeem-page.style-glass :is(.btn, .top-tab, .brand-symbol)::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 7% at 28% 0%, rgba(255, 255, 255, 0.8), transparent 100%),
        radial-gradient(ellipse 65% 8% at 70% 100%, rgba(130, 180, 240, 0.075), transparent 100%);
    transform: translate(var(--glass-shift-x, 0px), var(--glass-shift-y, 0px));
    opacity: 0.6;
    z-index: -1;
}

body.redeem-page.style-glass :is(.top-tab, .brand-symbol, .btn) > :is(span, i, svg) {
    position: relative;
    z-index: 1;
}

@keyframes glassPanelIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
}

body.redeem-page.style-glass .tab-panel.active,
body.redeem-page.style-glass .result-shell,
body.redeem-page.style-glass .announcement-dialog {
    animation: glassPanelIn 320ms var(--g-ease) both;
}

body.redeem-page.style-glass .panel-head {
    margin-bottom: 24px;
}

body.redeem-page.style-glass .panel-head-with-meta {
    gap: 12px;
}

body.redeem-page.style-glass .panel-head h2 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

body.redeem-page.style-glass .panel-head p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--c-ink-soft);
}

body.redeem-page.style-glass .panel-meta-row {
    gap: 7px 14px;
}

body.redeem-page.style-glass .panel-meta-pill {
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    font-weight: 400;
    color: var(--c-ink-soft);
}

body.redeem-page.style-glass .panel-meta-pill :is(i, svg) {
    width: 13px;
    height: 13px;
    color: var(--c-ink-muted);
}

body.redeem-page.style-glass .stack-form {
    gap: 20px;
}

body.redeem-page.style-glass .form-group {
    gap: 9px;
}

body.redeem-page.style-glass .form-group label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

body.redeem-page.style-glass .required-star {
    color: var(--c-ink-muted);
}

body.redeem-page.style-glass .form-input,
body.redeem-page.style-glass .inline-code-input {
    height: 54px;
    border: 1px solid rgba(94, 125, 160, 0.16);
    border-radius: 17px;
    color: var(--c-ink);
    background: rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 3px rgba(45, 67, 91, 0.018);
    font-size: 15px;
    font-weight: 400;
    transform: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body.redeem-page.style-glass .form-input::placeholder,
body.redeem-page.style-glass .inline-code-input::placeholder {
    font-weight: 400;
    color: var(--c-ink-muted);
    opacity: 1;
}

body.redeem-page.style-glass .form-input:hover,
body.redeem-page.style-glass .inline-code-input:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(94, 125, 160, 0.25);
    transform: none;
}

body.redeem-page.style-glass .form-input:focus,
body.redeem-page.style-glass .inline-code-input:focus {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(var(--g-accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--g-accent-rgb), 0.09);
    transform: none;
}

body.redeem-page.style-glass .field-icon {
    color: var(--c-ink-muted);
    stroke-width: 1.6;
    width: 18px;
    height: 18px;
}

body.redeem-page.style-glass .field-wrap:focus-within .field-icon {
    color: var(--g-accent);
}

body.redeem-page.style-glass .field-hint {
    font-size: 12px;
    line-height: 1.7;
    color: var(--c-ink-muted);
}

body.redeem-page.style-glass .btn {
    position: relative;
    isolation: isolate;
    -webkit-backdrop-filter: var(--g-blur);
    backdrop-filter: var(--g-blur);
    min-height: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0;
    transition: transform 200ms var(--g-ease), background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body.redeem-page.style-glass .btn :is(i, svg) {
    width: 18px;
    height: 18px;
    stroke-width: 1.7;
}

body.redeem-page.style-glass .btn:active:not(:disabled) {
    transform: scale(0.985);
}

body.redeem-page.style-glass .btn-primary {
    color: #0d5093;
    background: linear-gradient(145deg, rgba(237, 248, 255, 0.66), rgba(149, 200, 249, 0.16));
    box-shadow: var(--g-btn-shadow);
}

body.redeem-page.style-glass .btn-primary:hover:not(:disabled) {
    background: linear-gradient(145deg, rgba(237, 248, 255, 0.8), rgba(149, 200, 249, 0.23));
    box-shadow: var(--g-btn-shadow), 0 8px 18px -15px rgba(var(--g-accent-rgb), 0.2);
    transform: translateY(-1px);
}

body.redeem-page.style-glass .btn-secondary {
    color: var(--c-ink);
    background: var(--g-glass-strong-bg);
    box-shadow: var(--g-btn2-shadow);
}

body.redeem-page.style-glass .btn-secondary:hover:not(:disabled) {
    background: var(--g-glass-strong-bg);
    box-shadow: var(--g-btn2-shadow);
    transform: translateY(-1px);
}

body.redeem-page.style-glass .btn:disabled {
    opacity: 1;
    color: var(--c-ink-muted);
    background: var(--g-quiet);
    box-shadow: inset 0 0 0 1px var(--g-hairline-soft);
    filter: none;
    transform: none;
}

body.redeem-page.style-glass .btn:disabled::before,
body.redeem-page.style-glass .btn:disabled::after {
    opacity: 0.35;
}

body.redeem-page.style-glass .btn[aria-busy="true"] {
    cursor: progress;
}

body.redeem-page.style-glass .btn:focus-visible {
    outline: 3px solid var(--g-accent);
    outline-offset: 4px;
}

body.redeem-page.style-glass .redeem-help {
    margin-top: 24px;
    border-top: 1px solid var(--g-hairline-soft);
    font-size: 12px;
    color: var(--c-ink-soft);
}

body.redeem-page.style-glass .redeem-help summary {
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    padding: 14px 0 0;
}

body.redeem-page.style-glass .redeem-help summary::-webkit-details-marker {
    display: none;
}

body.redeem-page.style-glass .redeem-help summary :is(i, svg) {
    width: 14px;
    height: 14px;
    transition: transform 200ms var(--g-ease);
}

body.redeem-page.style-glass .redeem-help[open] summary :is(i, svg) {
    transform: rotate(180deg);
}

body.redeem-page.style-glass .info-box,
body.redeem-page.style-glass .warning-box {
    gap: 10px;
    padding: 13px 14px;
    border: 0;
    border-radius: 15px;
    box-shadow: none;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--c-ink-soft);
    overflow-wrap: anywhere;
}

body.redeem-page.style-glass .info-box {
    background: var(--g-tint);
}

body.redeem-page.style-glass .warning-box {
    background: var(--g-warning-tint);
}

body.redeem-page.style-glass .redeem-help .info-box {
    margin: 12px 0 0;
    background: var(--g-quiet);
}

body.redeem-page.style-glass .info-box > :is(.info-icon, svg, i),
body.redeem-page.style-glass .warning-box > :is(svg, i) {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

body.redeem-page.style-glass .info-box > :is(.info-icon, svg, i) {
    color: var(--g-accent);
}

body.redeem-page.style-glass .warning-box > :is(svg, i) {
    color: var(--g-warning);
}

body.redeem-page.style-glass .tab-panel > .warning-box {
    margin-top: 20px;
    margin-bottom: 0;
}

body.redeem-page.style-glass :is(.info-box, .warning-box) strong {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 500;
}

body.redeem-page.style-glass .spots-row {
    justify-content: center;
    gap: 6px 22px;
    margin-top: 25px;
}

body.redeem-page.style-glass .spots-badge {
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    font-size: 11.5px;
    font-weight: 400;
    color: var(--c-ink-soft);
}

body.redeem-page.style-glass .spots-badge :is(i, svg) {
    color: var(--c-ink-muted);
    stroke-width: 1.5;
}

body.redeem-page.style-glass .spots-badge .seats-count {
    min-width: 0;
    padding: 0;
    background: transparent;
    color: var(--c-ink-soft);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* ----- 结果卡片 / 记录 ----- */
body.redeem-page.style-glass .warranty-query-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

body.redeem-page.style-glass .warranty-query-btn {
    width: 100%;
}

body.redeem-page.style-glass .warranty-view {
    gap: 20px;
}

body.redeem-page.style-glass .result-card-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 5px;
    align-items: center;
    margin-bottom: 20px;
}

body.redeem-page.style-glass .result-card-header .result-icon {
    grid-row: 1 / 3;
}

body.redeem-page.style-glass .result-message {
    grid-column: 2;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

body.redeem-page.style-glass .result-icon {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.redeem-page.style-glass .result-icon :is(i, svg) {
    width: 22px;
    height: 22px;
}

body.redeem-page.style-glass .result-icon.success {
    background: var(--g-success-tint);
    color: var(--g-success);
}

body.redeem-page.style-glass .result-icon.error {
    background: var(--g-error-tint);
    color: var(--g-error);
}

body.redeem-page.style-glass .result-icon.info {
    background: var(--g-tint);
    color: var(--g-accent);
}

body.redeem-page.style-glass .result-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

body.redeem-page.style-glass .result-details,
body.redeem-page.style-glass .warranty-summary,
body.redeem-page.style-glass .record-card,
body.redeem-page.style-glass .team-card {
    border: 0;
    border-radius: 19px;
    background: var(--g-inner-surface);
    box-shadow: inset 0 0 0 1px var(--g-hairline-soft);
}

body.redeem-page.style-glass .result-details {
    padding: 12px 18px;
    margin-top: 20px;
}

body.redeem-page.style-glass .warranty-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    padding: 18px;
}

body.redeem-page.style-glass .record-card,
body.redeem-page.style-glass .team-card {
    transition: background 180ms ease, box-shadow 180ms ease;
}

body.redeem-page.style-glass .record-card {
    padding: 18px;
}

body.redeem-page.style-glass .record-card:hover,
body.redeem-page.style-glass .team-card:hover {
    background: var(--g-inner-hover);
    box-shadow: inset 0 0 0 1px var(--g-hairline-soft);
    transform: none;
}

body.redeem-page.style-glass .team-card.selected {
    background: var(--g-tint);
    box-shadow: inset 0 0 0 1px rgba(var(--g-accent-rgb), 0.4);
    transform: none;
}

body.redeem-page.style-glass .result-detail-item {
    align-items: baseline;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--g-hairline-soft);
}

body.redeem-page.style-glass .result-detail-item:last-child {
    border-bottom: 0;
}

body.redeem-page.style-glass .result-detail-label {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 400;
}

body.redeem-page.style-glass .result-detail-value,
body.redeem-page.style-glass .record-meta-value {
    font-weight: 500;
    line-height: 1.65;
    font-variant-numeric: tabular-nums;
    word-break: normal;
    overflow-wrap: anywhere;
}

body.redeem-page.style-glass .result-inline-note {
    border: 0;
    border-radius: 15px;
    background: var(--g-quiet);
    padding: 14px;
    font-size: 13px;
    line-height: 1.75;
}

body.redeem-page.style-glass .summary-card-label,
body.redeem-page.style-glass .record-meta-label {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--c-ink-muted);
    font-size: 12px;
    line-height: 1.5;
}

body.redeem-page.style-glass .summary-card-value {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.55;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

body.redeem-page.style-glass .records-section-title {
    font-size: 15px;
    font-weight: 500;
}

body.redeem-page.style-glass .records-section-title::before {
    content: none;
}

body.redeem-page.style-glass .record-code,
body.redeem-page.style-glass .inline-code-input {
    font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
    font-weight: 500;
}

body.redeem-page.style-glass .record-card-header {
    gap: 8px 12px;
    margin-bottom: 16px;
}

body.redeem-page.style-glass .record-meta-grid {
    gap: 14px 18px;
}

body.redeem-page.style-glass .record-meta-value.inline {
    flex-wrap: wrap;
}

body.redeem-page.style-glass .record-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--g-hairline-soft);
    gap: 14px;
}

body.redeem-page.style-glass .record-footer-copy {
    font-weight: 400;
}

body.redeem-page.style-glass .record-footer-actions .btn {
    height: 42px;
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
}

body.redeem-page.style-glass .result-card-actions {
    gap: 10px;
    margin-top: 20px;
}

body.redeem-page.style-glass .result-card-actions .btn {
    min-height: 48px;
    height: 48px;
    font-size: 13.5px;
}

body.redeem-page.style-glass .empty-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 30px 22px;
    border: 0;
    border-radius: 20px;
    background: var(--g-quiet);
    font-weight: 400;
}

body.redeem-page.style-glass .empty-result .result-icon {
    margin-bottom: 4px;
}

body.redeem-page.style-glass .empty-result .result-message {
    max-width: 36ch;
    text-wrap: pretty;
}

body.redeem-page.style-glass .badge {
    padding: 4px 9px;
    border: 0;
    box-shadow: none;
    font-weight: 500;
    letter-spacing: 0;
    font-size: 11.5px;
    line-height: 1.4;
    white-space: nowrap;
}

body.redeem-page.style-glass .badge-success {
    background: var(--g-success-tint);
    color: var(--g-success);
}

body.redeem-page.style-glass .badge-error {
    background: var(--g-error-tint);
    color: var(--g-error);
}

body.redeem-page.style-glass .badge-warn {
    background: var(--g-warning-tint);
    color: var(--g-warning);
}

body.redeem-page.style-glass .badge-neutral {
    background: var(--g-quiet);
    color: var(--c-ink-soft);
}

/* ----- Toast ----- */
body.redeem-page.style-glass .toast,
body.redeem-page.style-glass .toast.success,
body.redeem-page.style-glass .toast.error,
body.redeem-page.style-glass .toast.warning,
body.redeem-page.style-glass .toast.info {
    align-items: flex-start;
    gap: 9px;
    padding: 12px 16px;
    border: 0;
    border-radius: 22px;
    background: var(--g-float-bg);
    color: var(--c-ink);
    font-size: 13px;
    line-height: 1.65;
    font-weight: 400;
    max-width: min(440px, calc(100vw - 32px));
    overflow-wrap: anywhere;
    box-shadow: var(--g-float-shadow);
    -webkit-backdrop-filter: var(--g-blur-strong);
    backdrop-filter: var(--g-blur-strong);
    transition: transform 300ms var(--g-ease), opacity 180ms ease;
}

body.redeem-page.style-glass .toast :is(i, svg) {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

body.redeem-page.style-glass .toast.success :is(i, svg) { color: var(--g-success); }
body.redeem-page.style-glass .toast.error :is(i, svg) { color: var(--g-error); }
body.redeem-page.style-glass .toast.warning :is(i, svg) { color: var(--g-warning); }
body.redeem-page.style-glass .toast.info :is(i, svg) { color: var(--g-accent); }

/* ----- 公告 / 续期提醒弹窗 ----- */
body.redeem-page.style-glass .announcement-backdrop {
    background: rgba(var(--g-shade-rgb), 0.12);
    -webkit-backdrop-filter: blur(8px) saturate(105%);
    backdrop-filter: blur(8px) saturate(105%);
}

body.redeem-page.style-glass .announcement-dialog {
    border: 0;
    border-radius: 28px;
    background: var(--g-float-bg);
    box-shadow: var(--g-float-shadow);
    -webkit-backdrop-filter: var(--g-blur-strong);
    backdrop-filter: var(--g-blur-strong);
}

body.redeem-page.style-glass .announcement-header {
    padding: 20px 24px 4px;
    border: 0;
    background: transparent;
}

body.redeem-page.style-glass .announcement-header :is(h2, h3) {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

body.redeem-page.style-glass .announcement-header h2::before {
    content: none;
}

body.redeem-page.style-glass .announcement-header :is(h2, h3) :is(i, svg) {
    width: 18px;
    height: 18px;
    color: var(--g-accent);
}

body.redeem-page.style-glass .announcement-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--c-ink-soft);
    box-shadow: none;
}

body.redeem-page.style-glass .announcement-close:hover,
body.redeem-page.style-glass .announcement-close:active {
    background: var(--g-quiet-hover);
    color: var(--c-ink);
    box-shadow: none;
    transform: none;
}

body.redeem-page.style-glass .announcement-close :is(i, svg) {
    width: 17px;
    height: 17px;
}

body.redeem-page.style-glass .announcement-body {
    padding: 12px 24px 22px;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

body.redeem-page.style-glass .announcement-body :is(h1, h2, h3, strong) {
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.redeem-page.style-glass .announcement-body a {
    color: var(--g-accent);
    font-weight: 500;
    text-decoration-thickness: 1px;
}

body.redeem-page.style-glass .announcement-body pre {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--g-quiet);
    overflow-x: auto;
}

body.redeem-page.style-glass .announcement-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

body.redeem-page.style-glass .announcement-body :is(th, td) {
    padding: 9px 10px;
    border-bottom: 1px solid var(--g-hairline-soft);
    text-align: left;
}

body.redeem-page.style-glass .announcement-body code {
    padding: 2px 6px;
    border: 0;
    border-radius: 6px;
    background: var(--g-quiet);
    font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

body.redeem-page.style-glass .announcement-footer {
    padding: 0 24px 22px;
    border: 0;
    background: transparent;
}

body.redeem-page.style-glass .announcement-footer .btn {
    min-height: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 13px;
}

body.redeem-page.style-glass .renewal-reminder-footer {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 10px;
}

body.redeem-page.style-glass .renewal-reminder-footer .btn {
    width: 100%;
    min-width: 0;
    padding: 0 14px;
}

body.redeem-page.style-glass .renewal-reminder-footer .btn-primary {
    grid-column: 1 / -1;
}

/* ----- 降级 ----- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.redeem-page.style-glass {
        --g-card: #fff;
        --g-glass: #f8fafc;
        --g-glass-strong: #f0f6fb;
        --g-card-bg: linear-gradient(#fff, #fff);
        --g-glass-bg: linear-gradient(#f8fafc, #f8fafc);
        --g-glass-strong-bg: linear-gradient(#f0f6fb, #f0f6fb);
        --g-float-bg: linear-gradient(#fff, #fff);
        --g-btn-bg: linear-gradient(#e9f4ff, #e9f4ff);
    }
}

@media (prefers-reduced-transparency: reduce) {
    body.redeem-page.style-glass {
        --g-card: #fff;
        --g-glass: #f8fafc;
        --g-glass-strong: #f0f6fb;
        --g-card-bg: linear-gradient(#fff, #fff);
        --g-glass-bg: linear-gradient(#f8fafc, #f8fafc);
        --g-glass-strong-bg: linear-gradient(#f0f6fb, #f0f6fb);
        --g-float-bg: linear-gradient(#fff, #fff);
        --g-btn-bg: linear-gradient(#e9f4ff, #e9f4ff);
    }
}


/* Quiet, familiar Control Center wells; the controls themselves stay clear. */
body.redeem-page.style-glass .control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    transition: background 180ms ease, color 180ms ease;
}
body.redeem-page.style-glass .top-tab.active .control-icon {
    background: rgba(var(--g-accent-rgb), 0.085);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 0 0 0.5px rgba(var(--g-accent-rgb), 0.045);
}
body.redeem-page.style-glass .control-label {
    line-height: 1.3;
}
body.redeem-page.style-glass #redeemPanel .panel-meta-row {
    display: none;
}
body.redeem-page.style-glass .top-tab:active {
    transform: scale(0.975);
}
@media (max-width: 760px) {
    body.redeem-page.style-glass .page-wrap {
        padding: 20px 20px 38px;
    }
    body.redeem-page.style-glass .site-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 27px;
    }
    body.redeem-page.style-glass .hero-header {
        gap: 10px;
        margin-bottom: 26px;
    }
    body.redeem-page.style-glass .tab-panel,
    body.redeem-page.style-glass .result-shell {
        padding: 27px 24px 23px;
        border-radius: 30px;
    }
    body.redeem-page.style-glass .panel-head h2 {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    body.redeem-page.style-glass .site-topbar-label {
        font-size: 11px;
    }
    body.redeem-page.style-glass .top-nav-tabs {
        width: 100%;
        margin-bottom: 18px;
        gap: 10px;
    }
    body.redeem-page.style-glass .top-tab {
        flex-direction: column;
        gap: 6px;
        height: 88px;
        min-height: 88px;
        padding: 12px 3px;
        border-radius: 26px;
        font-size: 12.5px;
    }
    body.redeem-page.style-glass .panel-head-with-meta {
        gap: 12px;
    }
    body.redeem-page.style-glass .hero-subtitle {
        font-size: 11.5px;
        letter-spacing: 0;
    }
    body.redeem-page.style-glass .form-input,
    body.redeem-page.style-glass .inline-code-input {
        font-size: 16px;
    }
    body.redeem-page.style-glass .warranty-summary {
        grid-template-columns: minmax(0, 1fr);
    }
    body.redeem-page.style-glass .result-detail-item {
        gap: 12px;
    }
    body.redeem-page.style-glass .announcement-dialog {
        border-radius: 24px;
    }
    body.redeem-page.style-glass .renewal-reminder-footer {
        grid-template-columns: minmax(0, 1fr);
    }
    body.redeem-page.style-glass .spots-row {
        gap: 5px 14px;
    }
}

@media (max-width: 350px) {
    body.redeem-page.style-glass .page-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }
    body.redeem-page.style-glass .hero-header h1 {
        font-size: 25px;
    }
    body.redeem-page.style-glass .tab-panel {
        padding-left: 19px;
        padding-right: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.redeem-page.style-glass *,
    body.redeem-page.style-glass *::before,
    body.redeem-page.style-glass *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
