
        :root {
            --primary: #6366f1;
            --primary-d: #4f46e5;
            --primary-soft: rgba(99, 102, 241, .15);
            --accent: #0ea5e9;
            --accent-soft: rgba(14, 165, 233, .12);
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --dark: #0f172a;
            --dark-2: #1e293b;
            --text: #f1f5f9;
            --text-dim: #94a3b8;
            --glass-bg: rgba(15, 23, 42, .55);
            --glass-border: rgba(255, 255, 255, .08);
            --radius: 20px;
            --radius-s: 12px;
            --radius-xs: 8px;
            --shadow: 0 10px 40px -10px rgba(0, 0, 0, .5);
            --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 70px;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: linear-gradient(135deg, #0f172a 0, #1e1b4b 50%, #0f172a 100%);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -webkit-overflow-scrolling: touch;
        }
        ::-webkit-scrollbar {
            width: 4px;
        }
        ::-webkit-scrollbar-track {
            background: transparent;
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, .12);
            border-radius: 2px;
        }
        .container {
            width: 100%;
            max-width: 720px;
            margin: 0 auto;
            padding: 0 16px;
        }
        @media(min-width:640px) {
            .container {
                padding: 0 20px;
            }
        }

        /* ========== 导航栏 ========== */
        .nav {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(15, 23, 42, .88);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
            transition: all var(--transition-smooth);
        }
        .nav .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 54px;
        }
        @media(min-width:640px) {
            .nav .container {
                height: 58px;
            }
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 7px;
            font-weight: 800;
            font-size: 16px;
            letter-spacing: -.5px;
            color: var(--text);
            text-decoration: none;
            flex-shrink: 0;
        }
        @media(min-width:640px) {
            .logo {
                font-size: 17px;
            }
        }
        .logo-icon {
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, var(--primary) 0, var(--accent) 100%);
            border-radius: 7px;
            display: grid;
            place-items: center;
            font-size: 13px;
        }
        @media(min-width:640px) {
            .logo-icon {
                width: 32px;
                height: 32px;
                font-size: 14px;
                border-radius: 8px;
            }
        }
        .nav-links {
            display: none;
            gap: 16px;
            align-items: center;
        }
        @media(min-width:640px) {
            .nav-links {
                display: flex;
                gap: 20px;
            }
        }
        .nav-links a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: color var(--transition-fast);
            position: relative;
            padding: 4px 0;
        }
        .nav-links a:hover {
            color: var(--text);
        }
        .nav-links a.active {
            color: var(--primary);
        }
        .nav-links a.active::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }
        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, .03);
            cursor: pointer;
            gap: 5px;
            transition: all var(--transition-fast);
            flex-shrink: 0;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        .hamburger:active {
            background: rgba(255, 255, 255, .08);
        }
        @media(min-width:640px) {
            .hamburger {
                display: none;
            }
        }
        .hamburger span {
            display: block;
            width: 18px;
            height: 2px;
            background: var(--text-dim);
            border-radius: 2px;
            transition: all var(--transition-fast);
        }
        .hamburger.open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .hamburger.open span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .hamburger.open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }
        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(15, 23, 42, .95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
            padding: 8px 16px 16px;
            z-index: 99;
            flex-direction: column;
            gap: 4px;
            animation: slideDown .25s ease;
        }
        .mobile-menu.show {
            display: flex;
        }
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .mobile-menu a {
            display: block;
            padding: 12px 14px;
            color: var(--text-dim);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: var(--radius-xs);
            transition: all var(--transition-fast);
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-menu a:active {
            background: rgba(255, 255, 255, .05);
            color: var(--text);
        }
        .mobile-menu a.active {
            color: var(--primary);
            background: rgba(99, 102, 241, .08);
        }
        .mini-program-trigger {
            background: linear-gradient(90deg, rgba(16, 185, 129, .15) 0, rgba(5, 150, 105, .15) 100%);
            border: 1px solid rgba(16, 185, 129, .25);
            color: #34d399;
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all var(--transition-fast);
            white-space: nowrap;
            flex-shrink: 0;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 34px;
        }
        @media(min-width:640px) {
            .mini-program-trigger {
                padding: 8px 16px;
                font-size: 13px;
                min-height: auto;
            }
        }
        .mini-program-trigger:active {
            background: rgba(16, 185, 129, .25);
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        /* ========== Hero ========== */
        .hero {
            position: relative;
            padding: 40px 0 28px;
            text-align: center;
            overflow: hidden;
        }
        @media(min-width:640px) {
            .hero {
                padding: 60px 0 36px;
            }
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: -1;
        }
        .hero-bg::before {
            content: "";
            position: absolute;
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, rgba(99, 102, 241, .25) 0, transparent 70%);
            top: -80px;
            right: -80px;
            border-radius: 50%;
        }
        @media(min-width:640px) {
            .hero-bg::before {
                width: 500px;
                height: 500px;
                top: -100px;
                right: -100px;
            }
        }
        .hero-bg::after {
            content: "";
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(14, 165, 233, .2) 0, transparent 70%);
            bottom: -80px;
            left: -80px;
            border-radius: 50%;
        }
        @media(min-width:640px) {
            .hero-bg::after {
                width: 400px;
                height: 400px;
                bottom: -100px;
                left: -100px;
            }
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: rgba(99, 102, 241, .15);
            border: 1px solid rgba(99, 102, 241, .25);
            color: #a5b4fc;
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 500;
            letter-spacing: .5px;
            margin-bottom: 16px;
            backdrop-filter: blur(10px);
        }
        @media(min-width:640px) {
            .hero-badge {
                padding: 8px 18px;
                font-size: 12px;
                margin-bottom: 20px;
            }
        }
        .hero-badge .dot {
            width: 6px;
            height: 6px;
            background: var(--success);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: .5;
                transform: scale(1.4);
            }
        }
        .hero h1 {
            font-size: clamp(24px, 5.5vw, 42px);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #fff 0, #c7d2fe 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        @media(min-width:640px) {
            .hero h1 {
                margin-bottom: 14px;
            }
        }
        .hero h1 .highlight {
            background: linear-gradient(135deg, #fcd34d 0%, #fb923c 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            color: var(--text-dim);
            font-size: clamp(13px, 2.2vw, 17px);
            max-width: 520px;
            margin: 0 auto 16px;
            padding: 0 8px;
        }
        @media(min-width:640px) {
            .hero p {
                margin: 0 auto 20px;
                padding: 0;
            }
        }
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 18px;
            flex-wrap: wrap;
        }
        @media(min-width:640px) {
            .hero-stats {
                gap: 32px;
                margin-top: 24px;
            }
        }
        .hs-item {
            text-align: center;
        }
        .hs-num {
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary) 0, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-variant-numeric: tabular-nums;
        }
        @media(min-width:640px) {
            .hs-num {
                font-size: 28px;
            }
        }
        .hs-label {
            font-size: 10px;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        @media(min-width:640px) {
            .hs-label {
                font-size: 11px;
            }
        }

        /* ========== Cards ========== */
        .card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 18px 14px;
            transition: all var(--transition-smooth);
        }
        @media(min-width:480px) {
            .card {
                padding: 22px 18px;
            }
        }
        @media(min-width:640px) {
            .card {
                padding: 24px;
            }
        }
        .section {
            margin-bottom: 18px;
        }
        @media(min-width:640px) {
            .section {
                margin-bottom: 24px;
            }
        }
        .section-title {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        @media(min-width:640px) {
            .section-title {
                font-size: 19px;
                margin-bottom: 20px;
                gap: 10px;
            }
        }
        .section-title .icon {
            width: 28px;
            height: 28px;
            background: rgba(99, 102, 241, .15);
            border-radius: 10px;
            display: grid;
            place-items: center;
            font-size: 14px;
            color: var(--primary);
            flex-shrink: 0;
        }
        @media(min-width:640px) {
            .section-title .icon {
                width: 32px;
                height: 32px;
                border-radius: var(--radius-s);
                font-size: 15px;
            }
        }

        /* ========== Gender ========== */
        .gender-select {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 16px;
        }
        @media(min-width:640px) {
            .gender-select {
                gap: 12px;
                margin-bottom: 20px;
            }
        }
        .gender-card {
            padding: 16px 12px;
            border-radius: var(--radius-s);
            border: 2px solid var(--glass-border);
            cursor: pointer;
            text-align: center;
            transition: all var(--transition-smooth);
            background: rgba(255, 255, 255, .02);
            user-select: none;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        @media(min-width:480px) {
            .gender-card {
                padding: 18px;
                min-height: auto;
            }
        }
        .gender-card svg {
            width: 28px;
            height: 28px;
            margin-bottom: 4px;
            transition: transform var(--transition-smooth);
            color: var(--text-dim);
        }
        @media(min-width:480px) {
            .gender-card svg {
                width: 34px;
                height: 34px;
                margin-bottom: 6px;
            }
        }
        .gender-card .g-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-dim);
            transition: color var(--transition-smooth);
        }
        @media(min-width:480px) {
            .gender-card .g-label {
                font-size: 14px;
            }
        }
        .gender-card:active {
            border-color: rgba(99, 102, 241, .5);
            background: rgba(99, 102, 241, .06);
        }
        .gender-card.selected {
            border-color: var(--primary);
            background: var(--primary-soft);
        }
        .gender-card.selected svg {
            transform: scale(1.06);
            color: var(--primary);
        }
        .gender-card.selected .g-label {
            color: var(--primary);
        }

        /* ========== Input ========== */
        .input-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
            margin-bottom: 14px;
        }
        @media(min-width:480px) {
            .input-row {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
                margin-bottom: 18px;
            }
        }
        .input-group {
            margin-bottom: 0;
        }
        .input-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-dim);
            letter-spacing: .3px;
        }
        @media(min-width:640px) {
            .input-group label {
                font-size: 13px;
                margin-bottom: 6px;
            }
        }
        .input-wrap {
            position: relative;
        }
        .input-wrap input,
        .input-wrap select {
      width: 100%; padding: 13px 14px; background: rgba(255,255,255,.04);
      border: 1.5px solid var(--glass-border); border-radius: var(--radius-s);
      color: var(--text); font-size: 15px; outline: none; transition: all var(--transition-fast); font-family: inherit;
    }
        @media(min-width:640px) {
            .input-wrap input,
            .input-wrap select {
                padding: 14px 40px 14px 16px;
            }
        }
        .input-wrap input:focus,
        .input-wrap select:focus {
            border-color: var(--primary);
            background: rgba(99, 102, 241, .06);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
        }
        .input-wrap input.input-error {
            border-color: var(--danger);
            box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
            animation: shake .5s ease;
        }
        @keyframes shake {
            0%,
            100% {
                transform: translateX(0);
            }
            20% {
                transform: translateX(-5px);
            }
            40% {
                transform: translateX(5px);
            }
            60% {
                transform: translateX(-3px);
            }
            80% {
                transform: translateX(3px);
            }
        }
        .input-wrap .unit {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            color: var(--text-dim);
            pointer-events: none;
            font-weight: 500;
        }
        @media(min-width:640px) {
            .input-wrap .unit {
                font-size: 13px;
                right: 14px;
            }
        }
        .input-wrap select {
  width: 100%;
  padding: 13px 14px;          /* 使用浏览器默认的内边距即可 */
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-s);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  /* 不设置 appearance，浏览器会自动显示原生箭头 */
}
        .input-wrap select {
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 36px;
            cursor: pointer;
            text-overflow: ellipsis;
        }
        @media(min-width:640px) {
            .input-wrap select {
                padding-right: 40px;
                background-position: right 14px center;
            }
        }
        .input-wrap select option {
            background: var(--dark-2);
            color: var(--text);
            padding: 10px;
            font-size: 14px;
        }

        /* ========== Button ========== */
        .btn-main {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, var(--primary) 0, var(--primary-d) 100%);
            color: #fff;
            border: none;
            border-radius: var(--radius-s);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all var(--transition-fast);
            position: relative;
            overflow: hidden;
            letter-spacing: .3px;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 48px;
        }
        @media(min-width:640px) {
            .btn-main {
                padding: 15px;
                font-size: 16px;
            }
        }
        .btn-main::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
            transition: left .5s;
        }
        .btn-main:active {
            transform: scale(.97);
        }
        .btn-main:disabled {
            opacity: .6;
            cursor: not-allowed;
            pointer-events: none;
        }
        .btn-main.loading .btn-text {
            display: none;
        }
        .btn-main .btn-loading {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .btn-main.loading .btn-loading {
            display: flex;
        }
        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, .3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin .7s linear infinite;
        }
        @media(min-width:640px) {
            .spinner {
                width: 18px;
                height: 18px;
            }
        }
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        .btn-ghost {
            background: transparent;
            border: 1.5px solid var(--glass-border);
            color: var(--text-dim);
            padding: 10px 18px;
            border-radius: var(--radius-s);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition-fast);
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 44px;
            white-space: nowrap;
        }
        @media(min-width:640px) {
            .btn-ghost {
                padding: 10px 20px;
                font-size: 14px;
            }
        }
        .btn-ghost:active {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(99, 102, 241, .06);
        }

        /* ========== Results ========== */
        .results {
            display: none;
            margin-top: 8px;
            animation: fadeUp .45s ease;
        }
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .results.show {
            display: block;
        }
        .result-header {
            text-align: center;
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--glass-border);
        }
        @media(min-width:640px) {
            .result-header {
                margin-bottom: 20px;
                padding-bottom: 20px;
            }
        }
        .result-header .rh-label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-dim);
            margin-bottom: 6px;
        }
        @media(min-width:640px) {
            .result-header .rh-label {
                font-size: 11px;
                letter-spacing: 2px;
                margin-bottom: 8px;
            }
        }
        .bmr-num {
            font-size: 40px;
            font-weight: 800;
            background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-flex;
            align-items: baseline;
            gap: 6px;
            line-height: 1;
        }
        @media(min-width:480px) {
            .bmr-num {
                font-size: 44px;
                gap: 8px;
            }
        }
        @media(min-width:640px) {
            .bmr-num {
                font-size: 48px;
            }
        }
        .bmr-unit {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dim);
            -webkit-text-fill-color: var(--text-dim);
        }
        @media(min-width:480px) {
            .bmr-unit {
                font-size: 16px;
            }
        }
        @media(min-width:640px) {
            .bmr-unit {
                font-size: 17px;
            }
        }
        .formula-tag {
            display: inline-block;
            background: var(--primary-soft);
            color: #a5b4fc;
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 10px;
            font-weight: 600;
            margin-top: 6px;
            border: 1px solid rgba(99, 102, 241, .2);
            transition: all var(--transition-fast);
        }
        @media(min-width:640px) {
            .formula-tag {
                padding: 4px 12px;
                font-size: 11px;
                margin-top: 8px;
            }
        }

        /* ========== 公式切换标签 ========== */
        .formula-tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
            margin-bottom: 16px;
            background: rgba(255, 255, 255, .03);
            border-radius: var(--radius-s);
            padding: 4px;
        }
        @media(min-width:400px) {
            .formula-tabs {
                display: flex;
                gap: 5px;
            }
        }
        @media(min-width:640px) {
            .formula-tabs {
                gap: 6px;
                margin-bottom: 20px;
            }
        }
        .formula-tab {
            padding: 10px 8px;
            border-radius: var(--radius-xs);
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            background: transparent;
            color: var(--text-dim);
            transition: all var(--transition-fast);
            text-align: center;
            white-space: nowrap;
            letter-spacing: .2px;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 42px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1px;
        }
        @media(min-width:400px) {
            .formula-tab {
                flex: 1;
                min-width: 0;
                padding: 9px 6px;
                font-size: 11px;
            }
        }
        @media(min-width:480px) {
            .formula-tab {
                font-size: 12px;
                padding: 10px 8px;
            }
        }
        @media(min-width:640px) {
            .formula-tab {
                padding: 10px 10px;
                font-size: 12px;
            }
        }
        .formula-tab:active {
            background: rgba(255, 255, 255, .06);
            color: var(--text);
        }
        .formula-tab.active {
            background: var(--primary-soft);
            color: #a5b4fc;
            box-shadow: 0 0 0 1px rgba(99, 102, 241, .2);
        }
        .formula-tab .tab-badge {
            font-size: 9px;
            opacity: .7;
            letter-spacing: 0;
        }
        @media(min-width:480px) {
            .formula-tab .tab-badge {
                font-size: 10px;
            }
        }

        /* ========== 体脂率提示 ========== */
        .bf-hint {
            display: none;
            text-align: center;
            padding: 12px 14px;
            background: rgba(245, 158, 11, .08);
            border: 1px solid rgba(245, 158, 11, .2);
            border-radius: var(--radius-s);
            margin-bottom: 14px;
            color: var(--warning);
            font-size: 12px;
            line-height: 1.5;
        }
        @media(min-width:640px) {
            .bf-hint {
                padding: 16px 20px;
                margin-bottom: 16px;
                font-size: 13px;
            }
        }
        .bf-hint.show {
            display: block;
        }

        /* ========== Result grid ========== */
        .result-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin-bottom: 18px;
        }
        @media(min-width:400px) {
            .result-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
        }
        @media(min-width:640px) {
            .result-grid {
                gap: 14px;
                margin-bottom: 24px;
            }
        }
        .res-card {
            padding: 14px;
            border-radius: var(--radius-s);
            background: rgba(255, 255, 255, .03);
            border: 1px solid var(--glass-border);
            position: relative;
            overflow: hidden;
            transition: all var(--transition-fast);
        }
        @media(min-width:480px) {
            .res-card {
                padding: 16px;
            }
        }
        @media(min-width:640px) {
            .res-card {
                padding: 18px;
            }
        }
        .res-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
        }
        .res-card.primary::before {
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }
        .res-card.lose::before {
            background: var(--success);
        }
        .res-card.warning::before {
            background: var(--warning);
        }
        .res-label {
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: var(--text-dim);
            margin-bottom: 6px;
        }
        @media(min-width:640px) {
            .res-label {
                font-size: 10px;
                letter-spacing: 1.5px;
                margin-bottom: 8px;
            }
        }
        .res-value {
            font-size: 20px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
        }
        @media(min-width:480px) {
            .res-value {
                font-size: 21px;
            }
        }
        @media(min-width:640px) {
            .res-value {
                font-size: 22px;
            }
        }
        .res-value.primary {
            color: var(--primary);
        }
        .res-value.success {
            color: var(--success);
        }
        .res-value.warning {
            color: var(--warning);
        }
        .res-note {
            font-size: 10px;
            color: var(--text-dim);
            margin-top: 3px;
        }
        @media(min-width:640px) {
            .res-note {
                font-size: 11px;
                margin-top: 4px;
            }
        }

        /* ========== Progress ring ========== */
        .progress-ring {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            margin: 6px 0 16px;
        }
        @media(min-width:640px) {
            .progress-ring {
                gap: 14px;
                margin: 8px 0 20px;
            }
        }
        .ring-wrap {
            position: relative;
            width: 140px;
            height: 140px;
        }
        @media(min-width:400px) {
            .ring-wrap {
                width: 155px;
                height: 155px;
            }
        }
        @media(min-width:640px) {
            .ring-wrap {
                width: 170px;
                height: 170px;
            }
        }
        .ring-svg {
            width: 100%;
            height: 100%;
            transform: rotate(-90deg);
        }
        .ring-track {
            fill: none;
            stroke: rgba(255, 255, 255, .05);
            stroke-width: 9;
            stroke-linecap: round;
        }
        @media(min-width:640px) {
            .ring-track {
                stroke-width: 10;
            }
        }
        .ring-progress {
            fill: none;
            stroke: url(#ringGrad);
            stroke-width: 9;
            stroke-linecap: round;
            stroke-dasharray: 396;
            stroke-dashoffset: 396;
            transition: stroke-dashoffset 1s cubic-bezier(.4, 0, .2, 1);
        }
        @media(min-width:640px) {
            .ring-progress {
                stroke-width: 10;
                stroke-dasharray: 440;
                stroke-dashoffset: 440;
            }
        }
        .ring-value {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .ring-num {
            font-size: 26px;
            font-weight: 800;
            background: linear-gradient(135deg, #fff 0, #c7d2fe 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }
        @media(min-width:400px) {
            .ring-num {
                font-size: 29px;
            }
        }
        @media(min-width:640px) {
            .ring-num {
                font-size: 32px;
            }
        }
        .ring-label {
            font-size: 10px;
            color: var(--text-dim);
            margin-top: 3px;
        }
        @media(min-width:640px) {
            .ring-label {
                font-size: 11px;
                margin-top: 4px;
            }
        }

        /* ========== Bar chart ========== */
        .bar-chart-wrap {
            padding: 14px;
            border-radius: var(--radius-s);
            background: rgba(255, 255, 255, .03);
            border: 1px solid var(--glass-border);
            margin-bottom: 16px;
        }
        @media(min-width:480px) {
            .bar-chart-wrap {
                padding: 18px;
            }
        }
        @media(min-width:640px) {
            .bar-chart-wrap {
                padding: 20px;
                margin-bottom: 20px;
            }
        }
        .bar-chart-title {
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        @media(min-width:640px) {
            .bar-chart-title {
                font-size: 12px;
                margin-bottom: 14px;
            }
        }
        .bar-chart {
            display: flex;
            align-items: flex-end;
            gap: 6px;
            height: 100px;
            padding-top: 18px;
            border-bottom: 1px solid var(--glass-border);
            margin-bottom: 6px;
        }
        @media(min-width:400px) {
            .bar-chart {
                height: 110px;
                gap: 8px;
            }
        }
        @media(min-width:640px) {
            .bar-chart {
                height: 120px;
                padding-top: 20px;
                margin-bottom: 8px;
            }
        }
        .bar {
            flex: 1;
            background: linear-gradient(180deg, var(--primary) 0, var(--accent) 100%);
            border-radius: 6px 6px 0 0;
            position: relative;
            transition: height .6s cubic-bezier(.4, 0, .2, 1);
            min-height: 3px;
        }
        @media(min-width:640px) {
            .bar {
                border-radius: var(--radius-xs) var(--radius-xs) 0 0;
            }
        }
        .bar-label {
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 9px;
            color: var(--text-dim);
            white-space: nowrap;
            font-weight: 500;
        }
        @media(min-width:400px) {
            .bar-label {
                font-size: 10px;
                bottom: -22px;
            }
        }
        @media(min-width:640px) {
            .bar-label {
                bottom: -24px;
            }
        }
        .bar-value {
            position: absolute;
            top: -18px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 10px;
            font-weight: 600;
            white-space: nowrap;
            color: var(--text);
        }
        @media(min-width:400px) {
            .bar-value {
                font-size: 11px;
                top: -20px;
            }
        }
        @media(min-width:640px) {
            .bar-value {
                top: -22px;
            }
        }
        .bar-legend {
            display: flex;
            justify-content: center;
            gap: 12px;
            font-size: 10px;
            flex-wrap: wrap;
            margin-top: 4px;
        }
        @media(min-width:400px) {
            .bar-legend {
                gap: 16px;
                font-size: 10px;
            }
        }
        @media(min-width:640px) {
            .bar-legend {
                gap: 20px;
                font-size: 11px;
                margin-top: 6px;
            }
        }

        /* ========== 公式对比表 ========== */
        .compare-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            font-size: 12px;
        }
        @media(min-width:640px) {
            .compare-table {
                margin-top: 12px;
                font-size: 13px;
            }
        }
        .compare-table th {
            text-align: left;
            padding: 10px 10px;
            font-weight: 600;
            color: var(--text-dim);
            border-bottom: 1px solid var(--glass-border);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: .8px;
            white-space: nowrap;
        }
        @media(min-width:480px) {
            .compare-table th {
                padding: 11px 12px;
                font-size: 11px;
                letter-spacing: 1px;
            }
        }
        @media(min-width:640px) {
            .compare-table th {
                padding: 12px 14px;
            }
        }
        .compare-table td {
            padding: 10px 10px;
            border-bottom: 1px solid rgba(255, 255, 255, .04);
        }
        @media(min-width:480px) {
            .compare-table td {
                padding: 12px 12px;
            }
        }
        @media(min-width:640px) {
            .compare-table td {
                padding: 13px 14px;
            }
        }
        .compare-table tr:last-child td {
            border-bottom: none;
        }
        .compare-table tr.recommended {
            background: var(--primary-soft);
        }
        .badge {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 50px;
            font-size: 9px;
            font-weight: 600;
        }
        @media(min-width:480px) {
            .badge {
                padding: 2px 8px;
                font-size: 10px;
            }
        }
        .badge-primary {
            background: rgba(99, 102, 241, .2);
            color: #a5b4fc;
        }
        .badge-secondary {
            background: rgba(148, 163, 184, .15);
            color: var(--text-dim);
        }
        .table-scroll-hint {
            display: block;
            text-align: center;
            font-size: 10px;
            color: var(--text-dim);
            margin-top: 4px;
            opacity: .7;
        }
        @media(min-width:480px) {
            .table-scroll-hint {
                display: none;
            }
        }

        /* ========== Guidance ========== */
        .guide-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }
        @media(min-width:400px) {
            .guide-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
                gap: 12px;
            }
        }
        @media(min-width:640px) {
            .guide-grid {
                gap: 14px;
            }
        }
        .guide-card {
            padding: 16px;
            border-radius: var(--radius-s);
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, .02);
            transition: all var(--transition-smooth);
        }
        @media(min-width:640px) {
            .guide-card {
                padding: 20px;
            }
        }
        .guide-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: grid;
            place-items: center;
            font-size: 14px;
            margin-bottom: 10px;
        }
        @media(min-width:640px) {
            .guide-icon {
                width: 36px;
                height: 36px;
                border-radius: 10px;
                font-size: 16px;
                margin-bottom: 12px;
            }
        }
        .guide-icon.lose {
            background: rgba(16, 185, 129, .15);
            color: var(--success);
        }
        .guide-icon.maintain {
            background: rgba(14, 165, 233, .15);
            color: var(--accent);
        }
        .guide-icon.gain {
            background: rgba(245, 158, 11, .15);
            color: var(--warning);
        }
        .guide-card h4 {
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        @media(min-width:640px) {
            .guide-card h4 {
                font-size: 14px;
                margin-bottom: 6px;
            }
        }
        .guide-card p {
            font-size: 11px;
            color: var(--text-dim);
            line-height: 1.5;
        }
        @media(min-width:640px) {
            .guide-card p {
                font-size: 12px;
            }
        }

        /* ========== FAQ ========== */
        .faq-item {
            border-bottom: 1px solid var(--glass-border);
        }
        .faq-q {
            padding: 16px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 600;
            font-size: 13px;
            gap: 12px;
            transition: color var(--transition-fast);
            user-select: none;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 48px;
        }
        @media(min-width:640px) {
            .faq-q {
                padding: 18px 0;
                font-size: 14px;
                gap: 16px;
            }
        }
        .faq-q:active {
            color: var(--primary);
        }
        .faq-icon {
            width: 18px;
            height: 18px;
            position: relative;
            flex-shrink: 0;
        }
        @media(min-width:640px) {
            .faq-icon {
                width: 20px;
                height: 20px;
            }
        }
        .faq-icon::before,
        .faq-icon::after {
            content: "";
            position: absolute;
            background: currentColor;
            border-radius: 2px;
            transition: transform .3s;
        }
        .faq-icon::before {
            width: 10px;
            height: 2px;
            top: 8px;
            left: 4px;
        }
        @media(min-width:640px) {
            .faq-icon::before {
                width: 12px;
                top: 9px;
            }
        }
        .faq-icon::after {
            width: 2px;
            height: 10px;
            top: 4px;
            left: 8px;
        }
        @media(min-width:640px) {
            .faq-icon::after {
                height: 12px;
                top: 4px;
                left: 9px;
            }
        }
        .faq-item.open .faq-icon::after {
            transform: rotate(90deg);
        }
        .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height .35s ease, padding .35s ease;
            color: var(--text-dim);
            font-size: 12px;
            line-height: 1.7;
        }
        @media(min-width:640px) {
            .faq-a {
                font-size: 13px;
            }
        }
        .faq-item.open .faq-a {
            padding-bottom: 16px;
        }
        @media(min-width:640px) {
            .faq-item.open .faq-a {
                padding-bottom: 18px;
            }
        }

        /* ========== Mini Program ========== */
        .mp-promo {
            background: linear-gradient(135deg, rgba(6, 182, 212, .1) 0, rgba(59, 130, 246, .1) 100%);
            border: 1px solid rgba(6, 182, 212, .15);
            border-radius: var(--radius);
            padding: 20px 16px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        @media(min-width:480px) {
            .mp-promo {
                padding: 24px 20px;
            }
        }
        @media(min-width:640px) {
            .mp-promo {
                padding: 28px 24px;
            }
        }
        .mp-promo::before {
            content: "";
            position: absolute;
            top: -50%;
            right: -20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(6, 182, 212, .15) 0, transparent 70%);
            border-radius: 50%;
        }
        @media(min-width:640px) {
            .mp-promo::before {
                width: 300px;
                height: 300px;
            }
        }
        .mp-promo h3 {
            font-size: 16px;
            margin-bottom: 6px;
            position: relative;
        }
        @media(min-width:480px) {
            .mp-promo h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }
        }
        @media(min-width:640px) {
            .mp-promo h3 {
                font-size: 19px;
            }
        }
        .mp-promo p {
            color: var(--text-dim);
            font-size: 12px;
            margin-bottom: 14px;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
        }
        @media(min-width:480px) {
            .mp-promo p {
                font-size: 13px;
                margin-bottom: 16px;
            }
        }
        @media(min-width:640px) {
            .mp-promo p {
                font-size: 14px;
            }
        }
        .app-grid {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin: 16px 0;
            position: relative;
        }
        @media(min-width:640px) {
            .app-grid {
                gap: 32px;
                margin: 20px 0;
            }
        }
        .app-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .qr-placeholder {
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, .05);
            border: 2px dashed rgba(255, 255, 255, .15);
            border-radius: var(--radius-s);
            display: grid;
            place-items: center;
            color: var(--text-dim);
            font-size: 11px;
            text-align: center;
            padding: 8px;
            transition: all var(--transition-fast);
            cursor: pointer;
        }
        @media(min-width:480px) {
            .qr-placeholder {
                width: 115px;
                height: 115px;
                font-size: 12px;
                padding: 10px;
            }
        }
        @media(min-width:640px) {
            .qr-placeholder {
                width: 120px;
                height: 120px;
            }
        }
        .app-name {
            font-size: 13px;
            font-weight: 600;
        }
        @media(min-width:640px) {
            .app-name {
                font-size: 14px;
            }
        }
        .app-desc {
            font-size: 10px;
            color: var(--text-dim);
        }
        @media(min-width:640px) {
            .app-desc {
                font-size: 11px;
            }
        }
        .btn-mp {
            background: linear-gradient(90deg, #06b6d4, #3b82f6);
            color: #fff;
            border: none;
            padding: 11px 22px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition-fast);
            position: relative;
            z-index: 1;
            -webkit-tap-highlight-color: transparent;
            min-height: 44px;
        }
        @media(min-width:640px) {
            .btn-mp {
                padding: 12px 28px;
                font-size: 14px;
            }
        }
        .btn-mp:active {
            transform: scale(.96);
        }

        /* ========== Modal ========== */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .7);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            opacity: 0;
            transition: opacity .3s;
        }
        @media(min-width:640px) {
            .modal-overlay {
                padding: 20px;
            }
        }
        .modal-overlay.show {
            display: flex;
            opacity: 1;
        }
        .modal {
            background: var(--dark-2);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius);
            max-width: 400px;
            width: 100%;
            padding: 24px 20px;
            text-align: center;
            transform: scale(.9) translateY(20px);
            transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
            position: relative;
        }
        @media(min-width:480px) {
            .modal {
                padding: 28px 24px;
            }
        }
        @media(min-width:640px) {
            .modal {
                max-width: 420px;
                padding: 32px 28px;
            }
        }
        .modal-overlay.show .modal {
            transform: scale(1) translateY(0);
        }
        .modal .close {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, .05);
            color: var(--text-dim);
            font-size: 16px;
            cursor: pointer;
            transition: all var(--transition-fast);
            display: grid;
            place-items: center;
            -webkit-tap-highlight-color: transparent;
        }
        @media(min-width:640px) {
            .modal .close {
                top: 14px;
                right: 14px;
                width: 32px;
                height: 32px;
                font-size: 18px;
            }
        }
        .modal .close:active {
            background: rgba(255, 255, 255, .1);
            color: #fff;
        }
        .modal h3 {
            margin-bottom: 10px;
            font-size: 18px;
        }
        @media(min-width:640px) {
            .modal h3 {
                margin-bottom: 12px;
                font-size: 21px;
            }
        }
        .modal p {
            color: var(--text-dim);
            margin-bottom: 20px;
            font-size: 13px;
            line-height: 1.7;
        }
        @media(min-width:640px) {
            .modal p {
                margin-bottom: 24px;
                font-size: 14px;
            }
        }
        .modal-qr {
            width: 130px;
            height: 130px;
            background: rgba(255, 255, 255, .05);
            border: 2px dashed rgba(255, 255, 255, .15);
            border-radius: var(--radius-s);
            margin: 0 auto 16px;
            display: grid;
            place-items: center;
            color: var(--text-dim);
            font-size: 12px;
            padding: 16px;
            text-align: center;
        }
        @media(min-width:480px) {
            .modal-qr {
                width: 150px;
                height: 150px;
                margin: 0 auto 18px;
            }
        }
        @media(min-width:640px) {
            .modal-qr {
                width: 160px;
                height: 160px;
                margin: 0 auto 20px;
                font-size: 13px;
                padding: 20px;
            }
        }

        /* ========== Footer ========== */
        .footer {
            border-top: 1px solid var(--glass-border);
            padding: 24px 0 20px;
            margin-top: 32px;
        }
        @media(min-width:640px) {
            .footer {
                padding: 36px 0 24px;
                margin-top: 40px;
            }
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }
        @media(min-width:480px) {
            .footer-grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 24px;
                margin-bottom: 24px;
            }
        }
        @media(min-width:640px) {
            .footer-grid {
                gap: 28px;
                margin-bottom: 28px;
            }
        }
        .footer h4 {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: var(--text-dim);
            margin-bottom: 10px;
            font-weight: 600;
        }
        @media(min-width:640px) {
            .footer h4 {
                font-size: 12px;
                letter-spacing: 1.5px;
                margin-bottom: 14px;
            }
        }
        .footer a {
            display: block;
            color: var(--text-dim);
            text-decoration: none;
            font-size: 12px;
            margin-bottom: 7px;
            transition: color var(--transition-fast);
            padding: 2px 0;
        }
        @media(min-width:640px) {
            .footer a {
                font-size: 13px;
                margin-bottom: 8px;
            }
        }
        .footer-bottom {
            text-align: center;
            padding-top: 16px;
            border-top: 1px solid var(--glass-border);
            font-size: 10px;
            color: var(--text-dim);
            line-height: 1.8;
        }
        @media(min-width:640px) {
            .footer-bottom {
                padding-top: 20px;
                font-size: 11px;
            }
        }
        .footer-bottom a {
            color: var(--text-dim);
            text-decoration: none;
            transition: color var(--transition-fast);
            display: inline;
        }

        /* ========== Reveal ========== */
        .reveal {
            opacity: 0;
            transform: translateY(16px);
            transition: opacity .5s ease-out, transform .5s ease-out;
        }
        @media(min-width:640px) {
            .reveal {
                transform: translateY(20px);
                transition: opacity .6s ease-out, transform .6s ease-out;
            }
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-d1 {
            transition-delay: .08s;
        }
        .reveal-d2 {
            transition-delay: .16s;
        }
        .reveal-d3 {
            transition-delay: .24s;
        }
        @media(min-width:640px) {
            .reveal-d1 {
                transition-delay: .1s;
            }
            .reveal-d2 {
                transition-delay: .2s;
            }
            .reveal-d3 {
                transition-delay: .3s;
            }
        }

        /* ========== Back to top ========== */
        .back-to-top {
            position: fixed;
            bottom: 72px;
            right: 16px;
            width: 40px;
            height: 40px;
            background: var(--dark-2);
            border: 1px solid var(--glass-border);
            border-radius: 50%;
            display: grid;
            place-items: center;
            cursor: pointer;
            transition: all var(--transition-fast);
            z-index: 89;
            opacity: 0;
            pointer-events: none;
            -webkit-tap-highlight-color: transparent;
        }
        @media(min-width:640px) {
            .back-to-top {
                bottom: 24px;
                right: 24px;
                width: 42px;
                height: 42px;
            }
        }
        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }
        .back-to-top:active {
            background: var(--primary);
            border-color: var(--primary);
            transform: scale(.92);
        }

        /* ========== Toast ========== */
        .toast {
            position: fixed;
            top: 16px;
            left: 50%;
            transform: translateX(-50%) translateY(-120px);
            background: var(--dark-2);
            border: 1px solid var(--glass-border);
            color: #fff;
            padding: 10px 16px;
            border-radius: 24px;
            font-size: 13px;
            z-index: 2000;
            opacity: 0;
            transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
            display: flex;
            align-items: center;
            gap: 7px;
            box-shadow: var(--shadow);
            pointer-events: none;
            max-width: 90vw;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        @media(min-width:640px) {
            .toast {
                top: 20px;
                padding: 12px 20px;
                font-size: 14px;
                border-radius: var(--radius-s);
                max-width: 500px;
            }
        }
        .toast.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
        .toast.error {
            border-color: var(--danger);
            background: rgba(239, 68, 68, .15);
        }
        .toast.success {
            border-color: var(--success);
            background: rgba(16, 185, 129, .12);
        }
        .toast.info {
            border-color: var(--accent);
            background: rgba(14, 165, 233, .12);
        }

        /* ========== Mobile CTA ========== */
        .mobile-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(15, 23, 42, .96);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid var(--glass-border);
            padding: 8px 12px;
            z-index: 90;
            display: flex;
            gap: 8px;
            align-items: center;
        }
        @media(min-width:640px) {
            .mobile-cta {
                display: none;
            }
        }
        .mobile-cta .btn-main {
            font-size: 14px;
            padding: 12px;
            flex: 1;
            min-height: 44px;
        }
        .mobile-cta .btn-ghost {
            padding: 12px 14px;
            font-size: 12px;
            min-height: 44px;
        }
        @supports(padding-bottom:env(safe-area-inset-bottom)) {
            .mobile-cta {
                padding-bottom: calc(8px + env(safe-area-inset-bottom));
            }
            body {
                padding-bottom: calc(68px + env(safe-area-inset-bottom));
            }
        }
        body {
            padding-bottom: 68px;
        }
        @media(min-width:640px) {
            body {
                padding-bottom: 0;
            }
        }

        .hidden {
            display: none !important;
        }

        @media(max-width:900px) and (orientation:landscape) {
            .hero {
                padding: 24px 0 16px;
            }
            .hero h1 {
                font-size: 22px;
            }
            .hero p {
                font-size: 13px;
            }
            .bmr-num {
                font-size: 36px;
            }
            .ring-wrap {
                width: 120px;
                height: 120px;
            }
        }
