/* ================================================================
   theme-model.css —— 「是好模型吗？」主题
   浅色气泡背景，时钟居左，人物贴右下角、50% 透明度
   ================================================================ */

body.theme-model {
    background: #e2ecfa;
    justify-content: flex-start;
}

/* ---- 加载闪屏 ---- */
body.theme-model .loading-shimmer {
    background: #e2ecfa;
    color: rgba(88, 118, 160, 0.35);
    text-shadow: 0 0 22px rgba(120, 160, 215, 0.45);
}

/* ---- 右下角人物 ---- */
.theme-char {
    display: none;
}

body.theme-model .theme-char {
    display: block;
    position: fixed;
    right: -1.5vh;
    bottom: -1.5vh;
    height: 64vh;
    width: auto;
    opacity: 0.10;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 8px 30px rgba(90, 130, 190, 0.25));
}

/* ---- 时钟容器：整体靠左 ---- */
body.theme-model .clock-wrapper {
    margin-left: 6vw;
    margin-right: auto;
}

/* ---- 日期 ---- */
body.theme-model .date-display {
    color: rgba(58, 84, 122, 0.92);
    letter-spacing: 5px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(120, 155, 205, 0.30);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    box-shadow:
        0 6px 24px rgba(90, 130, 190, 0.14),
        inset 0 0 18px rgba(255, 255, 255, 0.35);
}

body.theme-model .date-display::before {
    content: '? ';
    color: rgba(88, 122, 170, 0.95);
}

/* ---- 时钟主体 ---- */
body.theme-model .clock {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(120, 155, 205, 0.28);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 44px rgba(90, 130, 190, 0.20),
        0 30px 90px rgba(90, 130, 190, 0.16),
        inset 0 0 40px rgba(255, 255, 255, 0.30);
}

/* ---- 翻牌卡片 ---- */
body.theme-model .flip-card {
    border-radius: 12px;
    box-shadow:
        0 0 10px rgba(120, 155, 205, 0.14),
        0 8px 26px rgba(80, 115, 170, 0.22);
}

body.theme-model .flip-face {
    border-radius: 12px;
    background: linear-gradient(160deg, #ffffff 0%, #f0f5fc 55%, #e2eaf6 100%);
    border: 1px solid rgba(120, 155, 205, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 0 26px rgba(150, 185, 230, 0.10),
        inset 0 -14px 30px rgba(120, 155, 205, 0.10);
}

body.theme-model .flip-back {
    background: linear-gradient(160deg, #f4f8fd, #e6eef8);
    border-color: rgba(140, 175, 220, 0.42);
}

/* ---- 数字：深青蓝 ---- */
body.theme-model .digit {
    color: #2f4d75;
    animation: digitBreathModel 7s ease-in-out infinite;
}

@keyframes digitBreathModel {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(120, 160, 215, 0.30),
            0 2px 4px rgba(70, 105, 155, 0.25);
    }
    50% {
        text-shadow:
            0 0 16px rgba(120, 160, 215, 0.50),
            0 2px 6px rgba(70, 105, 155, 0.30);
    }
}

body.theme-model .flip-card.flipping .digit {
    filter: brightness(1.18);
}

/* ---- 卡片中线 ---- */
body.theme-model .flip-unit::after {
    height: 1.5px;
    background: linear-gradient(90deg,
        transparent,
        rgba(120, 160, 215, 0.45),
        rgba(90, 130, 190, 0.75),
        rgba(120, 160, 215, 0.45),
        transparent);
    box-shadow: 0 0 10px rgba(120, 160, 215, 0.30);
    opacity: 0.8;
}

body.theme-model .flip-unit::before {
    background: radial-gradient(ellipse at center, rgba(120, 160, 215, 0.14) 0%, transparent 70%);
}

/* ---- 冒号 ---- */
body.theme-model .colon {
    color: rgba(70, 105, 155, 0.72);
    animation: colonPulseModel 1.8s ease-in-out infinite alternate;
}

@keyframes colonPulseModel {
    0% {
        opacity: 0.4;
        text-shadow: 0 0 6px rgba(120, 160, 215, 0.25);
    }
    100% {
        opacity: 1;
        text-shadow:
            0 0 12px rgba(140, 180, 230, 0.60),
            0 0 30px rgba(120, 160, 215, 0.30);
    }
}

/* ---- 悬浮按钮 ---- */
body.theme-model .fullscreen-btn,
body.theme-model .settings-btn {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(120, 155, 205, 0.32);
    color: rgba(58, 84, 122, 0.82);
    box-shadow:
        0 6px 22px rgba(90, 130, 190, 0.18),
        0 2px 8px rgba(90, 130, 190, 0.10);
}

body.theme-model .fullscreen-btn:hover,
body.theme-model .settings-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(100, 140, 195, 0.60);
    color: #24405f;
    box-shadow:
        0 0 20px rgba(120, 160, 215, 0.40),
        0 8px 28px rgba(90, 130, 190, 0.22);
}

/* ---- 设置面板 ---- */
body.theme-model .settings-panel {
    background: rgba(250, 252, 255, 0.94);
    border: 1px solid rgba(120, 155, 205, 0.35);
    box-shadow:
        0 0 24px rgba(120, 160, 215, 0.20),
        0 20px 55px rgba(90, 130, 190, 0.25);
}

body.theme-model .panel-title {
    color: rgba(58, 84, 122, 0.85);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

body.theme-model .panel-label {
    color: rgba(88, 118, 160, 0.60);
}

body.theme-model .theme-option {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(120, 155, 205, 0.22);
    color: rgba(47, 77, 117, 0.85);
}

body.theme-model .theme-option:hover {
    background: rgba(140, 180, 230, 0.16);
    border-color: rgba(100, 140, 195, 0.50);
    color: #24405f;
    box-shadow: 0 0 16px rgba(120, 160, 215, 0.28);
}

body.theme-model .theme-option.is-active {
    border-color: rgba(100, 140, 195, 0.62);
    background: rgba(140, 180, 230, 0.22);
    color: #1d3550;
    box-shadow:
        0 0 20px rgba(120, 160, 215, 0.32),
        inset 0 0 14px rgba(140, 180, 230, 0.10);
}

body.theme-model .theme-check {
    color: #3a5a85;
    text-shadow: 0 0 8px rgba(120, 160, 215, 0.70);
}

/* ---- 移动端：时钟回中，人物缩小 ---- */
@media (max-width: 720px) {
    body.theme-model .clock-wrapper {
        margin-left: auto;
        margin-top: 14vh;
    }

    body.theme-model .theme-char {
        height: 42vh;
        right: -1vh;
        bottom: -1vh;
    }
}
