/* ==========================================
   HBN 时光咖啡馆 — 核心交互设计系统与样式表
   基于 oklch 颜色体系及极致移动端交互体系打造
   ========================================== */

/* ------------------ 设计变量定义 (Design Tokens) ------------------ */
:root {
    /* HBN 经典人文药剂学色系 (oklch 保证极高明度一致与色相过渡) */
    --hbn-gold-raw-h: 48;
    --hbn-gold: oklch(0.72 0.08 60);       /* 奢华香槟金 */
    --hbn-gold-glow: oklch(0.75 0.12 60 / 0.4);
    
    --cafe-warm: oklch(0.95 0.015 70);    /* 晨光微风暖白/米色 */
    --cafe-ground: oklch(0.91 0.02 70);   /* 米色容器背景 */
    --cafe-brown: oklch(0.25 0.05 45);    /* 经典深浓咖啡液褐 */
    
    --night-black: oklch(0.08 0.01 250);  /* 深夜极曜黑 */
    --night-slate: oklch(0.18 0.015 250); /* 暗曜石面板灰 */
    
    /* 界面字体对 */
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* 动效基准 */
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-spring: all 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ------------------ 基础重置 & 全局排版 ------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #F4EFE6;
    font-family: var(--font-sans);
    color: var(--night-black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 衬线字体系 */
.serif-font {
    font-family: var(--font-serif);
    font-weight: 600;
}

.text-muted {
    opacity: 0.7;
}

/* ------------------ 桌面端磨砂氛围背景 ------------------ */
.ambient-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, #FAF6F0 0%, #EFE8DA 100%);
    filter: blur(60px);
    transition: background 1.2s ease-in-out;
}

/* 当进入晨间/晚间时，环境背景自动晕染 */
body.mode-morning .ambient-backdrop {
    background: radial-gradient(circle at 50% 50%, #FAF6F0 0%, #E9E1D2 100%);
}

body.mode-night .ambient-backdrop {
    background: radial-gradient(circle at 50% 50%, #EADFC9 0%, #DFD2B7 100%);
}

/* ------------------ 模拟器主容器 (PC/Mobile自适应) ------------------ */
.app-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100dvh;
    background-color: var(--cafe-warm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* 移动端默认满屏，无阴影，无圆角，无高/宽限制，完美解决顶部黑条问题 */
    box-shadow: none;
    transition: var(--transition-smooth);
}

/* PC模拟器圆角与外框（当屏幕宽度足够时，在电脑端以标准的手机比例呈现） */
@media (min-width: 768px) {
    body {
        align-items: center;
        justify-content: center;
        overflow-y: auto; /* 当 PC 浏览器窗口过矮时，允许整体上下滚动，绝对不裁剪任何手机框内容 */
    }
    .app-container {
        border-radius: 40px;
        height: 780px; /* 极其舒适的固定高度，完美兼容各类笔记本屏幕 */
        width: 375px;  /* 固定标准 iPhone 宽度，保障内页排版永远舒展美观、绝对不挤压变形 */
        border: 12px solid #1c1c1e; /* 实体手机黑框 */
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
        margin: 24px auto; /* 上下预留舒适的高档呼吸感空隙 */
        flex-shrink: 0; /* 强力防止 Flex 容器挤压尺寸 */
    }
    
    .simulator-status-bar {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    body {
        align-items: stretch;
        justify-content: stretch;
    }
    .app-container {
        height: 100%;
    }
}

/* 模拟状态栏 */
.simulator-status-bar {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px; /* 缩减高度，给Logo和产品图腾出空间 */
    padding: 10px 24px 0 24px;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    pointer-events: none;
}

body.mode-night .simulator-status-bar {
    color: rgba(255, 255, 255, 0.4);
}

.status-notch {
    display: none; /* 彻底隐藏黑色刘海块，展现更具质感的无界全面屏视觉 */
}

/* ------------------ 音乐播放控制器 (极致高奢黑胶唱机 2.0 组件) ------------------ */
.music-player-container {
    position: absolute;
    top: 54px;
    right: 20px;
    z-index: 999;
    width: 82px;
    height: 60px;
    border-radius: 12px;
    background: rgba(20, 16, 12, 0.85); /* 深浓药剂色，与任何背景形成强烈反差 */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--hbn-gold); /* 亮琥珀拉丝金框，极度瞩目 */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 
                inset 0 0 12px rgba(229, 193, 158, 0.15);
    transition: var(--transition-spring);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8px;
    overflow: visible; /* 核心：允许唱针自由溢出，彻底 bypass 圆角裁剪 Bug！ */
}

/* 晨间模式下自适应为高奢的暖磨砂奶油金底盘，与文字和背景高度统一 */
body.mode-morning .music-player-container {
    background: rgba(245, 235, 225, 0.92);
    border-color: var(--cafe-brown);
    box-shadow: 0 10px 30px rgba(78, 38, 22, 0.15), 
                inset 0 0 10px rgba(78, 38, 22, 0.05);
}

/* 物理指示灯 LED */
.turntable-led {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FF5E57; /* 默认暂停状态：暖红呼吸灯 */
    box-shadow: 0 0 4px #FF5E57;
    animation: led-breath 2.5s infinite ease-in-out;
    transition: var(--transition-fast);
}

/* 播放状态下：LED灯常亮金琥珀暖色 */
.music-player-container.playing .turntable-led {
    background: #FFB03A;
    box-shadow: 0 0 8px #FFB03A, 0 0 15px #FFB03A;
    animation: none;
}

@keyframes led-breath {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 黑胶唱盘按钮 */
.music-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.music-toggle:hover {
    transform: scale(1.05);
}

/* 黑胶碟片图标 */
.music-icon-vinyl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

body.mode-morning .music-icon-vinyl {
    filter: drop-shadow(0 3px 6px rgba(78, 38, 22, 0.18));
}

/* 播放状态下：唱片无限旋转 */
.music-player-container.playing .music-icon-vinyl {
    animation: rotate-vinyl-disk 8s linear infinite;
}

@keyframes rotate-vinyl-disk {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 唱针总成封装 */
.tonearm-assembly {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 60px;
    pointer-events: none;
    overflow: visible;
}

/* 物理旋转唱针 */
.music-tonearm {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 48px;
    z-index: 10;
    pointer-events: none;
    transform-origin: 20px 8px; /* 严格以支架轴心为支点旋转 */
    transform: rotate(-22deg); /* 默认暂停状态：唱针偏离唱盘 */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(-1px 3px 4px rgba(0, 0, 0, 0.4));
}

body.mode-morning .music-tonearm {
    filter: drop-shadow(-1px 2px 3px rgba(78, 38, 22, 0.15));
}

/* 播放状态：唱针自动 S 型划入唱片正上方，提供极其直观的物理运行反馈 */
.music-player-container.playing .music-tonearm {
    transform: rotate(5deg);
}

/* 动符粒子发射样式 */
.music-notes-particles {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.floating-note {
    position: absolute;
    color: var(--hbn-gold);
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
    opacity: 0;
    animation: float-note 2.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes float-note {
    0% {
        transform: translate(15px, 15px) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.85;
    }
    100% {
        transform: translate(-30px, -45px) scale(1.1) rotate(-15deg);
        opacity: 0;
    }
}

/* ------------------ 屏体转场与状态机逻辑 ------------------ */
.screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05) translateZ(0);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    overflow: hidden;
}

/* 活动屏切入 */
.screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateZ(0);
    z-index: 20;
}

/* ==========================================
   屏 1：品牌欢迎页 (Shimmer Welcome)
   ========================================== */
/* ==========================================
   屏 1：品牌欢迎页 (Shimmer Welcome - 官方避光棕高奢重构)
   ========================================== */
.screen-welcome {
    background: radial-gradient(circle at 50% 50%, #4E2616 0%, #200F08 100%); /* 官方避光药剂棕 Pantone 2449 C 深度渐变 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HBN Logo SVG 描边动画 */
.logo-wrapper {
    position: relative;
    width: 180px;
    height: 64px;
    margin-bottom: 24px;
}

.hbn-svg-logo {
    width: 100%;
    height: 100%;
}

.logo-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw-logo 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.logo-polygon {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw-logo 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes draw-logo {
    0% { stroke-dashoffset: 600; stroke: #FFF; }
    70% { stroke-dashoffset: 0; stroke: var(--hbn-gold); }
    100% { stroke-dashoffset: 0; stroke: transparent; }
}

/* 官方主Logo实体淡入填充 */
.logo-solid-fill {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.96);
    animation: fill-logo 1.5s 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hbn-svg-logo-filled {
    width: 100%;
    height: 100%;
}

@keyframes fill-logo {
    to { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 15px rgba(229, 193, 158, 0.35)); }
}

.welcome-tagline {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 8px;
    text-indent: 8px;
    color: #FEE1DE; /* 官方燕麦暖桃粉色 Pantone 9281 U */
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in-up 1.2s 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.welcome-line-glow {
    width: 1px;
    height: 0px;
    background: linear-gradient(to bottom, var(--hbn-gold), transparent);
    margin-top: 30px;
    animation: extend-line 2s 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes extend-line {
    to { height: 80px; }
}

.welcome-footer {
    position: absolute;
    bottom: 30px;
    opacity: 0.65;
    letter-spacing: 4px;
    font-size: 10px;
    font-family: var(--font-mono);
    color: #FEE1DE; /* 官方燕麦暖桃粉色 */
}

/* ------------------ 官方高精 inline-SVG Logo 排版排版工具 ------------------ */
.hbn-cafe-title-container {
    display: flex;
    align-items: center; /* 极速垂直对齐，彻底消除高矮视觉差 */
    justify-content: center;
    gap: 10px; /* 拉开间距，呼吸感更强 */
    margin: 12px 0;
    overflow: visible;
}

.inline-hbn-logo {
    height: clamp(28px, 6.5vw, 34px); /* 匹配大标题，调大以和文本更和谐 */
    width: auto;
    fill: currentColor; /* 智能色值继承：深色字下为深褐，浅色字下为纯白 */
    display: block;
    transform: translateY(-2.2px); /* 核心微调：完美抵消 SVG 顶部 7px 空白带来的下沉感 */
    transition: var(--transition-smooth);
}

.cafe-title-text {
    font-size: clamp(24px, 5.8vw, 30px); /* 彻底放大“咖啡馆”三个字，饱满大气，匹配大Logo */
    font-weight: 600;
    color: var(--cafe-warm);
    letter-spacing: 2px;
    display: inline-block;
}

body.mode-night .cafe-title-text {
    color: var(--cafe-warm);
}

.inline-hbn-logo-header {
    height: 13px;
    width: auto;
    fill: currentColor;
    display: inline-block;
    transform: translateY(-1px); /* 顶栏小Logo微调向上 */
    margin-right: 4px;
}

.inline-hbn-logo-product {
    height: 20px; /* 完美比例匹配产品标题大小 */
    width: auto;
    fill: currentColor;
    display: inline-block;
    transform: translate(-5px, -1.5px); /* 核心微调：向左微调 5px 抵消 SVG 内置左侧空白，同时抵消顶部下沉 */
    margin-right: 2px; /* 相应调整右侧间距，维持完美的视觉呼吸比例 */
}

.product-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   屏 2：Hero 开场 (Golden Cafe)
   ========================================== */
.screen-hero {
    background-color: var(--night-black);
    color: var(--cafe-warm);
    display: flex;
    align-items: flex-end;
    padding: 36px 24px;
}

/* 霓虹闪烁的街角咖啡馆氛围 */
.cafe-vibe-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, oklch(0.22 0.04 60) 0%, #030303 100%);
    opacity: 0.85;
}

/* 微晃动的灯光闪烁 */
.cafe-spotlight {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at top, oklch(0.85 0.1 65 / 0.25) 0%, transparent 60%);
    filter: blur(15px);
    animation: flicker-light 5s alternate infinite ease-in-out;
}

@keyframes flicker-light {
    0%, 100% { opacity: 0.9; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(0.95); }
    75% { opacity: 0.85; }
}

/* 浮动背景豆子 */
.hero-interactive-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-interactive-particles span {
    position: absolute;
    color: var(--hbn-gold);
    opacity: 0.12;
    font-size: 20px;
    user-select: none;
    animation: float-particle 8s infinite linear;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    20% { opacity: 0.15; }
    80% { opacity: 0.15; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* 悬浮奢华卡片 */
.hero-main-card {
    position: relative;
    z-index: 10;
    width: 100%;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-sub-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--hbn-gold);
    margin-bottom: 8px;
    display: block;
}

.hero-title {
    font-size: 32px;
    color: var(--cafe-warm);
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 13px;
    color: oklch(0.8 0.01 60);
    max-width: 280px;
    line-height: 1.6;
    margin: 0 auto 24px auto;
}

/* 浮沉咖啡杯 */
.hero-cup-visual {
    width: 120px;
    height: 120px;
    color: var(--hbn-gold);
    margin-bottom: 30px;
    position: relative;
}

.hero-cup-svg {
    width: 100%;
    height: 100%;
}

.cup-steam-particles {
    position: absolute;
    top: -15px;
    left: 40px;
    width: 40px;
    height: 20px;
    display: flex;
    justify-content: space-around;
}

.steam-line {
    width: 1.5px;
    height: 15px;
    background: linear-gradient(to top, var(--hbn-gold), transparent);
    border-radius: 1px;
    animation: rise-steam 2.5s infinite linear;
}

.steam-line:nth-child(2) { animation-delay: 0.8s; }
.steam-line:nth-child(3) { animation-delay: 1.6s; }

@keyframes rise-steam {
    0% { transform: translateY(10px) scaleX(1); opacity: 0; }
    50% { opacity: 0.5; transform: translateY(0px) scaleX(1.3); }
    100% { transform: translateY(-15px) scaleX(0.5); opacity: 0; }
}

.float-anim {
    animation: hover-floating 4s infinite ease-in-out;
}

@keyframes hover-floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ------------------ 通用奢华按钮 ------------------ */
.btn-primary-lux {
    position: relative;
    background: linear-gradient(135deg, var(--hbn-gold) 0%, oklch(0.65 0.08 55) 100%);
    border: none;
    color: var(--night-black);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    height: 54px;
    width: 100%;
    border-radius: 27px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(217, 180, 143, 0.35);
    transition: var(--transition-fast);
}

.btn-primary-lux:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(217, 180, 143, 0.45);
}

.btn-primary-lux:active {
    transform: translateY(1px);
    box-shadow: 0 6px 14px rgba(217, 180, 143, 0.2);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-30deg);
    animation: flash-shine 3.5s infinite linear;
}

@keyframes flash-shine {
    0% { left: -100%; }
    20%, 100% { left: 180%; }
}

/* ==========================================
   屏 3：时光滑动阀门 (The Shutter Slider)
   ========================================== */
.screen-time {
    background-color: var(--night-black);
}

.time-split-shutter {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* 快门一半 */
.shutter-half {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
}

/* 晨光半面 */
.morning-half {
    left: 0;
    background-color: var(--cafe-warm);
    color: var(--night-black);
    width: 50%;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* 夜幕半面 */
.night-half {
    right: 0;
    background-color: var(--night-black);
    color: var(--cafe-warm);
    width: 50%;
}

.shutter-content {
    position: absolute;
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.time-sun, .time-moon {
    font-size: 54px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transition: var(--transition-spring);
}

.shutter-title {
    font-size: 26px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.shutter-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.night-half .shutter-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--hbn-gold);
}

.shutter-sub {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 36px;
}

.shutter-action-hint {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.4;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse-hint 1.5s alternate infinite ease-in-out;
}

@keyframes pulse-hint {
    from { opacity: 0.2; }
    to { opacity: 0.6; }
}

/* 时光分割调节把手 */
.shutter-divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    cursor: grab;
    transition: left 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.handle-dial {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--hbn-gold);
    border: 4px solid var(--night-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: var(--transition-fast);
}

.shutter-divider-handle:hover .handle-dial {
    transform: scale(1.08);
}

.dial-center-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--night-black);
    margin-bottom: 4px;
}

.dial-text-indicator {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: var(--night-black);
    letter-spacing: 1px;
}

/* 滑动时的视口伸缩效果 */
.time-split-shutter.select-morning-active .morning-half {
    width: 100%;
}
.time-split-shutter.select-morning-active .night-half {
    width: 0%;
}
.time-split-shutter.select-morning-active .shutter-divider-handle {
    left: 100%;
}

.time-split-shutter.select-night-active .morning-half {
    width: 0%;
}
.time-split-shutter.select-night-active .night-half {
    width: 100%;
}
.time-split-shutter.select-night-active .shutter-divider-handle {
    left: 0%;
}

/* ==========================================
   屏 4：处方点单菜单 (Apothecary Menu)
   ========================================== */
.screen-menu {
    background-color: var(--cafe-warm);
    color: var(--night-black);
}

body.mode-night .screen-menu {
    background-color: var(--night-black);
    color: var(--cafe-warm);
}

.menu-board-wrapper {
    width: 100%;
    height: 100%;
    padding: 60px 24px 36px 24px;
    display: flex;
    flex-direction: column;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.btn-back {
    background: transparent;
    border: none;
    color: currentColor;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
}

body.mode-night .btn-back {
    background: rgba(255, 255, 255, 0.05);
}

.menu-brand-header {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    opacity: 0.6;
}

.menu-title {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.menu-subtitle {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 36px;
}

/* 核心药剂拉杆容器 */
.menu-sliders-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 单个物理拉杆组件 */
.menu-lever-card {
    display: flex;
    flex-direction: column;
}

.lever-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.lever-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.lever-value-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    color: var(--hbn-gold);
    background: var(--night-black);
    padding: 3px 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

body.mode-night .lever-value-tag {
    background: rgba(255, 255, 255, 0.08);
}

.lever-slider-track-area {
    position: relative;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
}

/* 重构纯HTML input range 为极其奢华的拉杆 */
.custom-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px; /* 试管级粗度 */
    border-radius: 4px;
    outline: none;
    transition: background 0.3s;
    cursor: grab;
}

/* 奢华金属滚轮 thumb */
.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, var(--hbn-gold) 50%, oklch(0.6 0.06 50) 100%);
    border: 2.5px solid var(--cafe-brown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.6);
    cursor: grab;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
    position: relative;
    z-index: 5;
}

.custom-range-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.3);
    box-shadow: 0 0 0 6px var(--hbn-gold-glow), 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.mode-night .custom-range-slider::-webkit-slider-thumb {
    border-color: var(--night-black);
    background: radial-gradient(circle at 35% 35%, #FDFBF7 0%, var(--hbn-gold) 60%, #8B653F 100%);
}

/* 拉杆辅助说明段落 */
.lever-desc-row {
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.5;
    display: flex;
    justify-content: space-between;
}

/* 按钮禁用样式与奢华状态 */
.btn-extract:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

body.mode-night .btn-primary-lux.btn-extract {
    box-shadow: 0 12px 28px rgba(217, 180, 143, 0.15);
}

/* ==========================================
   屏 5：流体物理萃取 (Fluid Extraction)
   ========================================== */
.screen-mixing {
    background-color: var(--night-black);
    color: var(--cafe-warm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 60px 24px 44px 24px;
}

.mixing-header-area {
    text-align: center;
}

.mixing-status-chip {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: var(--hbn-gold);
    border: 1px solid var(--hbn-gold-glow);
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.mixing-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.mixing-sub {
    font-size: 12px;
    opacity: 0.5;
}

/* 实验室精密萃取器结构 */
.extraction-apparatus-visual {
    position: relative;
    width: 200px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* 玻璃滴管 */
.lab-pipette {
    position: absolute;
    top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.pipette-bulb {
    width: 24px;
    height: 32px;
    background: oklch(0.2 0.02 50);
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.pipette-shaft {
    width: 6px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 0 0 3px 3px;
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
}

/* 物理下落粒子 */
.pipette-droplet {
    position: absolute;
    bottom: -6px;
    left: 1px;
    width: 4px;
    height: 8px;
    background: var(--hbn-gold);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
}

.pipette-droplet.dropping {
    animation: drop-liquid 1.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite;
}

@keyframes drop-liquid {
    0% { transform: translateY(0) scaleY(1); opacity: 0; }
    10% { opacity: 1; transform: translateY(0) scaleY(1.4); }
    80% { transform: translateY(180px) scaleY(1); opacity: 1; }
    85% { opacity: 0; transform: translateY(182px) scale(1.5); }
    100% { transform: translateY(0) scale(1); opacity: 0; }
}

/* 玻璃杯物理外框 */
.beaker-vessel-frame {
    position: relative;
    width: 110px;
    height: 140px;
    border: 3.5px solid rgba(255, 255, 255, 0.25);
    border-top: none;
    border-radius: 0 0 45px 45px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    overflow: hidden;
    margin-bottom: 12px;
}

/* 刻度线 */
.beaker-ticks {
    position: absolute;
    right: 8px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-family: var(--font-mono);
    font-size: 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* 液体装载体 */
.beaker-fluid-body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
}

.fluid-liquid-core {
    width: 100%;
    height: 0%; /* 从 JS 动态驱动液面高度 */
    background: linear-gradient(to top, var(--cafe-brown) 0%, oklch(0.35 0.06 45) 100%);
    border-radius: 0 0 41px 41px;
    position: relative;
    transition: height 0.3s ease-out;
}

/* 当切换为A醇路线时，液面变为金黄乳液色 */
body.mode-night .fluid-liquid-core {
    background: linear-gradient(to top, oklch(0.6 0.06 60) 0%, var(--hbn-gold) 100%);
}

/* 液体泡沫表面涟漪 */
.fluid-froth-surface {
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    animation: wave-surface 2s ease-in-out infinite alternate;
}

body.mode-night .fluid-froth-surface {
    background: oklch(0.85 0.05 60);
}

@keyframes wave-surface {
    from { transform: scaleY(0.8); }
    to { transform: scaleY(1.2); }
}

.beaker-burner-pad {
    width: 150px;
    height: 6px;
    background: oklch(0.18 0.01 250);
    border-radius: 3px;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

/* 粒子烟雾 */
.active-ingredients-fumes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.fume-bubble {
    position: absolute;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10.8px;
    font-family: var(--font-sans);
    font-weight: 700;
    opacity: 0;
    animation: rise-bubble 2s ease-out forwards;
}

@keyframes rise-bubble {
    0%   { transform: translateY(340px) scale(0.72); opacity: 0; } /* 从烧杯区域冒出 */
    15%  { opacity: 0.9; }                                          /* 快速浮现，保持长时间可见 */
    72%  { opacity: 0.9; }                                          /* 飘到标题区前才开始淡出 */
    100% { transform: translateY(40px) scale(1.0); opacity: 0; }   /* 慢慢消失在顶部文字处 */
}

/* 萃取进度卡片 */
.mixing-progress-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 36px;
    text-align: center;
    width: 100%;
}

.progress-percentage-label {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 800;
    color: var(--hbn-gold);
    margin-bottom: 4px;
}

.progress-details {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* ==========================================
   屏 6：极曜出品与购买 (The Premium Product Reveal)
   ========================================== */
.screen-result {
    background: radial-gradient(circle at 50% 38%, #2E1C12 0%, #0C0604 100%); /* 官方避光药剂棕 Pantone 2449 C 深度渐变，托起深色瓶身 */
    color: var(--cafe-warm);
    display: flex;
    flex-direction: column;
}

.result-scrollable-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 高光扫过效果 */
.result-highlight-spot {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--hbn-gold-glow) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
    z-index: 2;
}

.result-backdrop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, #030303 90%);
    pointer-events: none;
    z-index: 3;
}

/* 展台区 */
.result-hero-showcase {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    margin-top: 30px;
}

.product-glow-halo {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.72 0.08 60 / 0.15) 0%, transparent 70%);
    filter: blur(10px);
    animation: pulse-halo 4s infinite alternate ease-in-out;
}

@keyframes pulse-halo {
    from { transform: scale(0.9); opacity: 0.6; }
    to { transform: scale(1.15); opacity: 1; }
}

.product-image-container {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brand-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    transform: scale(1.05);
}

/* 曜石出品内容卡片 */
.result-detail-card {
    position: relative;
    z-index: 10;
    width: calc(100% - 40px);
    background: rgba(28, 28, 30, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px 24px;
    margin: -10px 20px 0 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.animate-card-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up-card 0.8s 0.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fade-in-up-card {
    to { opacity: 1; transform: translateY(0); }
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.custom-formula-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--hbn-gold);
    background: rgba(217, 180, 143, 0.08);
    border: 1px solid rgba(217, 180, 143, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.sgs-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    color: oklch(0.65 0.01 250);
    opacity: 0.6;
}

.result-product-title {
    display: flex; /* 改为 flex 容器，实现产品名称行内元素的极致垂直居中 */
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 4.8vw, 22px); /* 响应式流式字号，根据设备宽度自适应调节，杜绝折字 */
    white-space: nowrap; /* 锁定单行，绝不换行 */
    color: var(--cafe-warm);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.result-product-subtitle {
    font-size: 14px;
    font-weight: 800;
    color: var(--hbn-gold);
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.result-desc-paragraph {
    font-size: 13px;
    line-height: 1.65;
    color: oklch(0.82 0.015 60);
    margin-bottom: 24px;
    opacity: 0.85;
}

/* 临床微图表数据组 */
.clinical-micro-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px 12px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-column {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 800;
    color: var(--hbn-gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    opacity: 0.5;
}

.stat-column-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    height: 36px;
    align-self: center;
}

/* 动作栏 */
.result-action-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.btn-secondary-lux {
    flex: 1;
    background: transparent;
    border: 1.5px solid var(--hbn-gold);
    color: var(--hbn-gold);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(11px, 3vw, 13px); /* 响应式字号，完美兼容任何超窄手机屏 */
    white-space: nowrap; /* 锁定单行，杜绝折字 */
    border-radius: 27px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.btn-secondary-lux:hover {
    background: rgba(217, 180, 143, 0.08);
}

.btn-buy-now {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2; /* 紧凑行高，让两行文字完美并排 */
    font-size: clamp(11px, 3.1vw, 13px); /* 允许流式缩放 */
    padding: 0 4px;
}

.recipe-btn-icon {
    opacity: 0.8;
}

.btn-restart {
    background: transparent;
    border: none;
    color: currentColor;
    font-size: 12px;
    margin-top: 24px;
    cursor: pointer;
    opacity: 0.4;
    text-align: center;
    width: 100%;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.btn-restart:hover {
    opacity: 0.8;
}

/* ==========================================
   共享组件：奢华配方揭秘报告弹窗 (Apothecary Lab Report Modal)
   ========================================== */
.recipe-modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.recipe-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.recipe-modal-card {
    width: 100%;
    max-height: 80%;
    background: var(--night-black);
    color: var(--cafe-warm);
    border-radius: 28px 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.recipe-modal-overlay.show .recipe-modal-card {
    transform: translateY(0);
}

.modal-card-header {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title {
    font-size: 20px;
    color: var(--hbn-gold);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.modal-subtitle {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 2px;
    opacity: 0.5;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: currentColor;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    padding: 0 4px;
}

.btn-close-modal:hover {
    opacity: 1;
}

.modal-card-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 列表单个成分卡片 */
.modal-ingredient-item {
    display: flex;
    gap: 16px;
    animation: fade-in-up 0.5s ease-out forwards;
}

.ingredient-idx-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(217, 180, 143, 0.1);
    border: 1px solid rgba(217, 180, 143, 0.2);
    color: var(--hbn-gold);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ingredient-text-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ingredient-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ingredient-title-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ingredient-percentage-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    color: var(--hbn-gold);
    opacity: 0.8;
}

.ingredient-desc-text {
    font-size: 12px;
    opacity: 0.65;
    line-height: 1.6;
}

.modal-card-footer {
    padding: 16px 24px 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.authority-disclaimer {
    font-size: 10px;
    opacity: 0.4;
    letter-spacing: 1px;
}

/* ------------------ 基础动画定义 ------------------ */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 自定义优美的滚动条 */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   白天/晨间主题专属高格调重写 (Daytime/Morning Exquisite Theme Overrides)
   ========================================== */
body.mode-morning .screen-mixing {
    /* 使用更加温暖柔润的拿铁拉花渐变底色，极具护肤奢华感 */
    background: linear-gradient(180deg, #FDFBF7 0%, #EFE8DA 60%, #E3D7C1 100%);
    color: #382415;
}

body.mode-morning .mixing-status-chip {
    color: #7A4623;
    border-color: rgba(122, 70, 35, 0.25);
    background: rgba(255, 255, 255, 0.4);
}

body.mode-morning .beaker-vessel-frame {
    border-color: rgba(74, 46, 27, 0.2);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02), 0 8px 24px rgba(74, 46, 27, 0.05);
}

body.mode-morning .beaker-ticks {
    color: rgba(74, 46, 27, 0.4);
}

body.mode-morning .beaker-burner-pad {
    background: #D5C8B4;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
}

body.mode-morning .pipette-bulb {
    background: #5C4033;
}

body.mode-morning .pipette-shaft {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(74, 46, 27, 0.15);
}

body.mode-morning .mixing-progress-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(122, 70, 35, 0.06);
    box-shadow: 0 10px 30px rgba(74, 46, 27, 0.05);
}

body.mode-morning .progress-percentage-label {
    color: #7A4623;
    text-shadow: 0 2px 8px rgba(122, 70, 35, 0.1);
}

/* 屏 6：晨间出品与展示重写 */
body.mode-morning .screen-result {
    /* 极致流光拿铁拉花背景，与瓶身的琥珀棕完美相融 */
    background: linear-gradient(180deg, #FDFBF7 0%, #EDE4D3 55%, #DDD0B9 100%);
    color: #382415;
}

body.mode-morning .result-backdrop-overlay {
    background: linear-gradient(to bottom, transparent 30%, #DDD0B9 95%);
}

body.mode-morning .product-glow-halo {
    /* 后置阳光滤镜效果，让眼霜瓶身熠熠生辉 */
    background: radial-gradient(circle, rgba(217, 180, 143, 0.45) 0%, rgba(217, 180, 143, 0.0) 70%);
    filter: blur(15px);
}

body.mode-morning .result-detail-card {
    /* 采用高保真毛玻璃乳白卡片，消除原本白卡的刺眼廉价感 */
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(122, 70, 35, 0.08);
    box-shadow: 0 30px 70px rgba(74, 46, 27, 0.12);
}

body.mode-morning .custom-formula-tag {
    color: #7A4623;
    background: rgba(122, 70, 35, 0.05);
    border: 1px solid rgba(122, 70, 35, 0.12);
}

body.mode-morning .sgs-badge {
    color: rgba(74, 46, 27, 0.6);
}

body.mode-morning .result-product-title {
    color: #2F1E15;
}

body.mode-morning .result-product-subtitle {
    color: #7A4623;
}

body.mode-morning .result-desc-paragraph {
    color: #5A4538;
}

body.mode-morning .clinical-micro-stats {
    background: rgba(122, 70, 35, 0.04);
    border-color: rgba(122, 70, 35, 0.06);
}

body.mode-morning .stat-value {
    color: #8B4513;
}

body.mode-morning .stat-label {
    color: #5A4538;
    opacity: 0.8;
}

body.mode-morning .stat-column-divider {
    background: rgba(122, 70, 35, 0.15);
}

body.mode-morning .btn-secondary-lux {
    border-color: #5C4033;
    color: #5C4033;
}

body.mode-morning .btn-secondary-lux:hover {
    background: rgba(74, 46, 27, 0.04);
}

body.mode-morning .btn-primary-lux.btn-buy-now {
    background: linear-gradient(135deg, #5C4033 0%, #2F1E15 100%);
    color: #FDFBF7;
    box-shadow: 0 12px 28px rgba(74, 46, 27, 0.25);
}

body.mode-morning .btn-primary-lux.btn-buy-now:hover {
    box-shadow: 0 16px 36px rgba(74, 46, 27, 0.35);
}

body.mode-morning .btn-restart {
    color: #5C4033;
    opacity: 0.6;
}

body.mode-morning .btn-restart:hover {
    opacity: 0.95;
}

/* 晨间配方弹窗重写 */
body.mode-morning .recipe-modal-card {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: #382415;
    border-top: 1px solid rgba(122, 70, 35, 0.15);
}

body.mode-morning .modal-title {
    color: #2F1E15;
}

body.mode-morning .modal-card-header {
    border-bottom: 1px solid rgba(122, 70, 35, 0.08);
}

body.mode-morning .btn-close-modal {
    color: #382415;
}

body.mode-morning .modal-ingredient-item {
    border-bottom: 1px solid rgba(122, 70, 35, 0.05);
    padding-bottom: 14px;
}

body.mode-morning .modal-ingredient-item:last-child {
    border-bottom: none;
}

body.mode-morning .ingredient-idx-dot {
    background: rgba(122, 70, 35, 0.05);
    border: 1px solid rgba(122, 70, 35, 0.15);
    color: #7A4623;
}

body.mode-morning .ingredient-title-name {
    color: #2F1E15;
}

body.mode-morning .ingredient-percentage-badge {
    color: #7A4623;
    opacity: 0.85;
}

body.mode-morning .ingredient-desc-text {
    color: #5A4538;
}

body.mode-morning .modal-card-footer {
    border-top: 1px solid rgba(122, 70, 35, 0.06);
    background: rgba(122, 70, 35, 0.02);
}

body.mode-morning .authority-disclaimer {
    color: #5A4538;
    opacity: 0.6;
}
