/* 默认：v9 清透日系和纸美学 */
    .phone-frame {
      --p-bg: linear-gradient(180deg, #FBF9F5 0%, #F7F4EE 100%);
      --p-surface: #FFFFFF;
      --p-surface-2: #FAF8F5;
      --p-surface-muted: #F3EFE9;
      --p-border: rgba(235, 229, 220, 0.78);
      --p-text: #1A2027;
      --p-sub: #6B7280;
      --p-accent: #E3563C;
      --p-accent-soft: #FDECE8;
      --p-nav-bg: rgba(255, 255, 255, 0.94);
      --p-hero-bg: linear-gradient(145deg, #FFFFFF 0%, #FFFBF8 100%);
      --p-hero-border: rgba(242, 220, 212, 0.85);
      --p-exam-bg: linear-gradient(145deg, #FFFDFB 0%, #F9F4EC 100%);
      --p-shadow: 0 4px 16px rgba(31, 38, 48, 0.042);

      width: 390px;
      height: 790px;
      background: var(--p-bg);
      color: var(--p-text);
      border-radius: 42px;
      box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25), 0 0 0 9px #181B20, 0 0 0 11px rgba(255, 255, 255, 0.14);
      overflow: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      transition: background 0.35s ease, color 0.25s ease;
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
    }

    /* VIP 尊享版定稿搭配：第 2 款「金箔和纸」温润亮色底 + 「曜石黑金」实体流光主卡！ */
    .phone-frame.vip-pro {
      --p-bg: radial-gradient(circle at 90% 4%, rgba(232, 184, 109, 0.24) 0%, rgba(251, 248, 240, 0) 46%), linear-gradient(180deg, #FCF9F0 0%, #F4ECE0 100%);
      --p-surface: #FFFDF8;
      --p-surface-2: #FBF6EA;
      --p-surface-muted: #F2E9D6;
      --p-border: rgba(212, 168, 92, 0.38);
      --p-nav-bg: rgba(255, 252, 244, 0.96);
      --p-shadow: 0 5px 18px rgba(176, 134, 62, 0.085);
    }
    /* VIP 尊享版夜间护眼模式（深墨柔和底，护眼不刺眼，0 服务器成本） */
    .phone-frame.vip-night {
      --p-bg: linear-gradient(180deg, #12151C 0%, #0D1016 100%);
      --p-surface: #1A1F2B;
      --p-surface-2: #222836;
      --p-surface-muted: #262D3D;
      --p-border: rgba(232, 184, 109, 0.22);
      --p-text: #F4EFE6;
      --p-sub: #9CA6B8;
      --p-accent: #E8B86D;
      --p-accent-soft: rgba(232, 184, 109, 0.16);
      --p-nav-bg: rgba(23, 28, 38, 0.95);
      --p-hero-bg: linear-gradient(145deg, #212735 0%, #171C26 100%);
      --p-hero-border: rgba(232, 184, 109, 0.36);
      --p-exam-bg: linear-gradient(145deg, #1E2431 0%, #161B25 100%);
      --p-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    }
    .phone-frame.vip-night .vip-light-card,
    .phone-frame.vip-night .vip-black-card {
      background: radial-gradient(circle at 88% 12%, rgba(232, 184, 109, 0.24) 0%, rgba(30, 27, 22, 0) 50%), linear-gradient(135deg, #2C261D 0%, #1E1B15 100%);
      color: #FAF3E3;
      border-color: rgba(232, 184, 109, 0.52);
    }
    .phone-frame.vip-night .vip-light-card .text-\[\#231C14\] { color: #FAF3E3 !important; }
    .phone-frame.vip-night .vip-light-card .text-\[\#7A6A53\] { color: #C2B49A !important; }
    .phone-frame.vip-night .vip-light-card .text-\[\#A16B1B\],
    .phone-frame.vip-night .vip-light-card .text-\[\#B87314\] { color: #F5D48B !important; }

    /* VIP 尊享样式 1：亮色·琉璃白金流光卡（Apple Card 钛金白 + 暖霞光鎏金质感，极其通透高级！） */
    .vip-light-card {
      background:
        radial-gradient(circle at 88% 12%, rgba(255, 206, 128, 0.42) 0%, rgba(255, 245, 232, 0) 48%),
        radial-gradient(circle at 12% 90%, rgba(242, 132, 110, 0.16) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(135deg, #FFFFFF 0%, #FFF7E9 55%, #FBEBD2 100%);
      color: #231C14;
      border-radius: 22px;
      border: 1.5px solid rgba(224, 178, 102, 0.78);
      box-shadow: 0 12px 28px rgba(196, 146, 68, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
      position: relative;
      overflow: hidden;
    }
    .vip-light-card::after {
      content: "";
      position: absolute;
      inset: 0;
      width: 46%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
      animation: sweepLight 3.6s ease-in-out infinite;
      pointer-events: none;
    }
    .vip-pill-light {
      background: linear-gradient(135deg, #FFF7E6 0%, #F7E2B8 100%);
      color: #8A5A12;
      border: 1px solid rgba(212, 162, 78, 0.65);
    }
    .logo-light-gold {
      background: linear-gradient(135deg, #F06246 0%, #C93B22 100%);
      color: #FFFDF8;
      box-shadow: 0 0 0 2px #E8BE6E, 0 4px 14px rgba(217, 78, 52, 0.28);
    }

    /* VIP 尊享样式 2：暗色·曜石黑金卡 */
    .vip-black-card {
      background: radial-gradient(circle at 90% 10%, rgba(232, 184, 109, 0.22) 0%, rgba(24, 28, 36, 0) 52%), linear-gradient(145deg, #232732 0%, #14171F 100%);
      color: #FAF6EE;
      border-radius: 22px;
      border: 1px solid rgba(232, 184, 109, 0.42);
      box-shadow: 0 14px 32px rgba(20, 23, 31, 0.22), inset 0 1px 0 rgba(255, 243, 214, 0.16);
      position: relative;
      overflow: hidden;
    }
    .vip-black-card::after {
      content: "";
      position: absolute;
      inset: 0;
      width: 45%;
      background: linear-gradient(90deg, transparent, rgba(255, 238, 198, 0.1), transparent);
      animation: sweepLight 4.2s ease-in-out infinite;
      pointer-events: none;
    }
    .btn-gold {
      background: linear-gradient(135deg, #F3CE84 0%, #CFA04E 100%);
      color: #181612;
      box-shadow: 0 6px 18px rgba(207, 160, 78, 0.32);
    }

    .app-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .app-scroll::-webkit-scrollbar { display: none; }
    .soft-card { background: var(--p-surface); border-radius: 20px; box-shadow: var(--p-shadow); border: 1px solid var(--p-border); }
    .hero-card { background: var(--p-hero-bg); border-radius: 22px; box-shadow: var(--p-shadow); border: 1px solid var(--p-hero-border); }
    .exam-card { background: var(--p-exam-bg); border-radius: 22px; border: 1px solid var(--p-border); }
    .muted-box { background: var(--p-surface-2); border: 1px solid var(--p-border); }
    .sub-text { color: var(--p-sub); }
    .accent-text { color: var(--p-accent); }
    .vip-badge { background: linear-gradient(135deg, #252A36 0%, #151820 100%); color: #F5D48B; border: 1px solid rgba(245, 212, 139, 0.45); }
    .logo-gold-rim { background: linear-gradient(135deg, #232732 0%, #14171F 100%); color: #F5D48B; box-shadow: 0 0 0 1.5px #E2B364, 0 4px 12px rgba(20, 23, 31, 0.25); }
    .tap-btn { transition: transform 0.1s ease, background-color 0.14s ease; cursor: pointer; user-select: none; }
    .tap-btn:active { transform: scale(0.97); }
    .btn-primary { background: linear-gradient(135deg, #E3563C 0%, #C73E26 100%); color: #FFFFFF; box-shadow: 0 6px 16px rgba(209, 68, 44, 0.25); }
    .btn-wechat { background: linear-gradient(135deg, #07C160 0%, #05A852 100%); color: #FFFFFF; }
    .btn-dark { background: linear-gradient(135deg, #252D3A 0%, #171C24 100%); color: #FFFFFF; }
    .btn-secondary { background: var(--p-surface-muted); color: var(--p-text); }
    .btn-success { background: rgba(26, 117, 87, 0.15); color: #1D946C; }
    @keyframes stampDrop { 0% { transform: scale(2.4) rotate(-18deg); opacity: 0; } 65% { transform: scale(0.92) rotate(3deg); opacity: 1; } 100% { transform: scale(1) rotate(0deg); opacity: 1; } }
    @keyframes sweepLight { 0% { transform: translateX(-140%) skewX(-22deg); } 100% { transform: translateX(260%) skewX(-22deg); } }
    .unlock-overlay { position: absolute; inset: 0; z-index: 80; background: rgba(20, 18, 15, 0.72); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; }
    .enroll-card { background: linear-gradient(145deg, #FFFDF7 0%, #F6EAD2 100%); border: 1.5px solid #D9AA5A; border-radius: 26px; padding: 26px 22px; width: 100%; position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.4); color: #1F1B16; }
    .enroll-card::after { content: ""; position: absolute; inset: 0; width: 42%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent); animation: sweepLight 1.35s ease-in-out infinite; pointer-events: none; }
    .stamp-seal { animation: stampDrop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.25s both; }
    .kana-cell { background: var(--p-surface); border-radius: 16px; border: 1px solid var(--p-border); transition: transform 0.08s ease, background-color 0.12s ease; }
    .kana-cell.playing { background: var(--p-accent) !important; color: #FFFFFF !important; border-color: transparent !important; transform: scale(0.94); }
    ruby { ruby-position: over; ruby-align: space-around; }
    ruby rt { font-size: 14px; color: var(--p-sub); font-weight: 600; letter-spacing: 0.04em; }
    .word-hero ruby rt { font-size: 15.5px; color: var(--p-sub); font-weight: 650; letter-spacing: 0.06em; }
    .word-ruby-wrap { display: inline-flex; align-items: flex-end; gap: 1px; }
    .word-ruby-unit { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
    .word-ruby-kana { font-size: 13.5px; font-weight: 600; color: var(--p-sub); margin-bottom: 4px; height: 16px; display: flex; align-items: center; }
    .word-ruby-char { font-size: 34px; font-weight: 700; color: var(--p-text); line-height: 1; }
    .word-ruby-mid { font-size: 13.5px; font-weight: 600; color: var(--p-sub); align-self: flex-start; margin: 0 -2px; line-height: 16px; }
    @keyframes routeFade { from { opacity: 0.65; } to { opacity: 1; } }
    .route-enter { animation: routeFade 0.14s ease-out; }
    .toast-pill {
      position: absolute; top: 54px; left: 50%; transform: translateX(-50%);
      background: rgba(24, 29, 36, 0.92); color: #FFFFFF; font-size: 12px; padding: 7px 14px;
      border-radius: 999px; z-index: 70; pointer-events: none; opacity: 0; transition: opacity 0.18s ease; white-space: nowrap;
    }
    .toast-pill.show { opacity: 1; }
    .modal-backdrop {
      position: absolute; inset: 0; background: rgba(20, 24, 31, 0.52); backdrop-filter: blur(4px);
      z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 16px;
    }
    input[type="range"].audio-slider { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: #E6DFD5; outline: none; }
    input[type="range"].audio-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--p-accent); cursor: pointer; }
