@import "fonts.css";

:root {
    /* =========================================
         全站核心字型與版面管理變數（Typography & Theme Tokens）
         集中管理所有頁面之字級、字重、行距與色彩，便於統一調整與自適應縮放
         ========================================= */
    --font-family-base: 'GenSenRoundedTW', '源泉圓體 TW', 'GenSenRounded-TW', 'Zen Maru Gothic', 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* 字級階層標記（Typography Scale - 支援 clamp 自適應響應式縮放） */
    --font-size-2xs: clamp(10px, 1.1vw, 11px);
    --font-size-xs: clamp(11px, 1.25vw, 12px);
    --font-size-sm: clamp(13px, 1.4vw, 14px);
    --font-size-base: clamp(15px, 1.6vw, 16px);
    --font-size-md: clamp(.92rem, min(1.14vw, 2.02dvh), 1.2rem);
    --font-size-lg: clamp(18px, 2.1vw, 20px);
    --font-size-xl: clamp(20px, 2.5vw, 24px);
    --font-size-2xl: clamp(24px, 3.2vw, 30px);
    --font-size-hero: clamp(28px, 4.2vw, 40px);

    /* 行高系統（Line Heights） */
    --lh-tight: 1.25;
    --lh-snug: 1.38;
    --lh-normal: 1.55;
    --lh-relaxed: 1.75;
    --lh-loose: 1.9;

    /* 字距系統（Letter Spacings） */
    --tracking-tight: -0.015em;
    --tracking-normal: 0.02em;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.08em;

    /* 字重系統（Font Weights） */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;

    /* 核心主題配色 */
    --primary-orange: #EE662A;
    --primary-orange-hover: #D8551E;
    --card-border-color: #E8A068;
    --btn-warm-orange: #E59A5C;
    --btn-warm-orange-hover: #D58645;
    --hero-yellow: #FDD100;
    --bubble-cream: #FFE880;
    --bubble-text: #DE8E3D;
    --monitor-bezel: #FABE1A;
    --monitor-border: #F3B209;
    --monitor-stand: #DF9E14;
    --monitor-stand-border: #CE8E0A;
    --monitor-inner-bg: #FAF5EB;
    --bg-color: #F7F7F7;
    --dark-bg: #333333;
    --text-dark: #202020;
    --text-body: #444444;
    --text-muted: #666666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--hero-yellow);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    line-height: var(--lh-normal);
    letter-spacing: var(--tracking-normal);
}

.screen-view {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.screen-view.hidden-view {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    visibility: hidden;
}

/* 頂部通用導航控制列 */
.top-nav-bar {
    width: 100%;
    max-width: 880px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
    z-index: 20;
}

.nav-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    color: #555555;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: var(--fw-bold);
    font-family: var(--font-family-base);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.nav-pill-btn:hover {
    color: var(--primary-orange);
    border-color: var(--card-border-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(232, 160, 104, 0.2);
}

/* =========================================
       畫面 1：Hero 視覺與 3D 氣泡 (18th_GPT_01 暖黃主視覺)
       ========================================= */
.hero-container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hero-yellow);
    perspective: 500px;
    perspective-origin: 50% 50%;
}

.bubble-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
    z-index: 10;
}

/* 氣泡樣式：淡鵝黃底色 #FFE880、暖焦糖色文字 #DE8E3D (純動畫效果，無連結點擊) */
.speech-bubble {
    position: absolute;
    background-color: var(--bubble-cream);
    color: var(--bubble-text);
    border-radius: 18px;
    font-weight: var(--fw-bold);
    white-space: nowrap;
    pointer-events: none;
    cursor: default;
    user-select: none;
    box-shadow: 0 6px 18px -2px rgba(222, 142, 61, 0.24), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    will-change: transform, opacity, filter;
    letter-spacing: 0.02em;
}

.bubble-tail {
    position: absolute;
    width: 16px;
    height: 13px;
    fill: var(--bubble-cream);
    pointer-events: none;
}

.tail-bottom-right {
    bottom: -10px;
    right: 18px;
    transform: scaleX(-1);
}

.tail-bottom-left {
    bottom: -10px;
    left: 18px;
}

.bubble-sm {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 12px;
}

.bubble-md {
    font-size: 15px;
    padding: 8px 18px;
    border-radius: 16px;
}

.bubble-lg {
    font-size: 17px;
    padding: 10px 22px;
    border-radius: 18px;
}

@keyframes zoomForward {
    0% {
        opacity: 0;
        transform: scale(0.38) translate3d(var(--tx, 0px), var(--ty, 0px), -400px);
        filter: blur(4px);
    }

    18% {
        opacity: var(--target-opacity, 0.85);
        filter: blur(1.5px);
    }

    50% {
        opacity: var(--target-opacity, 0.95);
        filter: blur(0px);
    }

    82% {
        opacity: var(--target-opacity, 0.85);
        transform: scale(1.15) translate3d(calc(var(--tx, 0px) * 1.15), calc(var(--ty, 0px) * 1.15), 100px);
        filter: blur(0px);
    }

    100% {
        opacity: 0;
        transform: scale(1.45) translate3d(calc(var(--tx, 0px) * 1.35), calc(var(--ty, 0px) * 1.35), 260px);
        filter: blur(3px);
    }
}

.anim-zoom {
    animation: zoomForward var(--duration, 6.5s) cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: var(--delay, 0s);
}

/* 中央單位：米黃大對話框 + 黑色長條搜尋鍵 */
.hero-center {
    position: relative;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    width: clamp(85%, 65dvw, 820px);
    margin: auto 0;
}

.hero-speech-card {
    position: relative;
    display: inline-block;
    background-color: #ffefb2;
    padding: clamp(40px, 10dvh, 50px) clamp(40px, 10dvw, 70px);
    border-radius: 100px;
    box-shadow: 0 16px 36px rgba(200, 150, 20, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 246, 196, 0.4);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
    user-select: none;
}

.hero-main-title {
    font-size: clamp(1.8rem, 5.2vw, 2.4rem);
    font-family: var(--font-family-base);
    font-weight: 900;
    color: #264A7E;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-sub-title {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-family: var(--font-family-base);
    font-weight: 900;
    color: #264A7E;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.hero-card-tail {
    position: absolute;
    bottom: -50px;
    right: 100px;
    width: 80px;
    height: 80px;
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(200, 150, 20, 0.12));
}

/* 黑色長條搜尋鍵 + 游標點擊星芒特效 */
.hero-search-bar {
    position: relative;
    width: clamp(85%, 60dvw, 972px);
    max-width: 972px;
    background-color: #1C1917;
    border-radius: 9999px;
    padding: 14px 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 20;
}

.hero-search-bar:hover {
    background-color: #12100E;
    transform: scale(1.02);
}

.hero-search-bar:active {
    transform: scale(0.98);
}

.hero-search-text {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: var(--fw-bold);
    font-family: var(--font-family-base);
    color: #9E9893;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-search-bar:hover .hero-search-text {
    color: #FFFFFF;
}

.hero-cursor-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-cursor-svg {
    width: 30px;
    height: 30px;
    transform: rotate(-12deg);
    transition: transform 0.15s ease;
}

.hero-search-bar:hover .hero-cursor-svg {
    transform: scale(1.1) rotate(-8deg);
}

.hero-hint-text {
    margin-top: 12px;
    font-size: 13px;
    font-family: var(--font-family-base);
    font-weight: var(--fw-bold);
    color: #7A6400;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

/* 底部長者小精靈角色群背景底圖 (18th_GPT_01) */
.hero-bottom-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: 1040px;
    margin: 0 auto;
    height: clamp(180px, 30vh, 310px);
    background-image: url('../img/hero-bottom-bg.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    pointer-events: none;
    user-select: none;
    z-index: 10;
}

/* =========================================
       畫面 2 & 3 黃色電視螢幕外框 (18th_GPT_02, 03, 04)
       ========================================= */
.monitor-screen-wrapper {
    padding: 0px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.monitor-outer-frame {
    position: relative;
    width: clamp(300px, 80dvw, 1366px);
    background-color: #fdd000;
    border-radius: 44px;
    padding: 20px 35px 10px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
}

/* 螢幕兩側藥丸膠囊反光高光 */
.monitor-highlight-left {
    position: absolute;
    left: 14px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.monitor-highlight-right {
    position: absolute;
    right: 14px;
    top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.pill-capsule {
    width: 7px;
    height: 55px;
    background-color: rgba(255, 239, 178, 1);
    border-radius: 9999px;
}

.pill-dot {
    width: 7px;
    height: 7px;
    background-color: rgba(255, 239, 178, 1);
    border-radius: 50%;
}

.monitor-inner-screen {
    position: relative;
    background-color: #FAF5EB;
    border-color: #d59d63;
    border-radius: 28px;
    padding: 8dvh clamp(4%, 3vw, 180px);
    height: clamp(400px, 67dvh, 623px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 2px 0px rgba(213, 157, 99, 1);
    border: 3px solid #d59d63;
}

#goolaoMessageForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
    padding: 0 1dvw;
    overflow: auto;
}

.monitor-bottom-badge {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.monitor-badge-pill {
    padding: 4px 22px;
    background-color: #F0A724;
    border-radius: 9999px;
    color: #FFFFFF;
    font-weight: var(--fw-bold);
    font-size: 16px;
    font-family: var(--font-family-base);
    letter-spacing: 0.1em;
}

.monitor-stand-neck {
    width: clamp(120px, 5vw, 134px);
    height: clamp(30px, 3vh, 40px);
    background-color: #d4a71c;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.monitor-stand-base {
    width: clamp(25%, 5vw, 440px);
    height: clamp(35px, 4vh, 58px);
    background-color: #f1be20;
    margin: 0 auto;
    border-radius: 14px 14px 0px 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 階段 1：口白畫面 (18th_GPT_02) */
.ella-speech-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: auto 0;
    width: 100%;
}

.ambassador-profile-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.arched-label-svg {
    width: 150px;
    height: 36px;
    margin-bottom: -6px;
    overflow: visible;
}

.avatar-circle-img {
    width: clamp(95px, 10dvw, 158px);
    height: auto;
    display: block;
}

.speech-lines-col {
    flex: 1;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 文字「逐行淡入（Soft Line Fade）」動態效果 (18th_GPT_02 口白文案)：
       每一行依序從下方約 10px、略帶模糊且透明的狀態，慢慢變清楚並淡入，
       行與行之間間隔約 0.28 秒，每行約 1.1 秒平順減速 */
.speech-soft-line {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    line-height: var(--lh-snug);
    letter-spacing: var(--tracking-normal);
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.1s cubic-bezier(0.25, 1, 0.5, 1), filter 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.speech-soft-line.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0px) !important;
}

.speech-skip-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.speech-countdown-text {
    font-family: var(--font-family-base);
    font-size: var(--font-size-xs);
    font-weight: var(--fw-bold);
    color: #A66D00;
}

.speech-skip-btn {
    padding: 6px 18px;
    background-color: #FFFFFF;
    color: #444444;
    border: 1px solid rgba(242, 169, 88, 0.5);
    border-radius: 9999px;
    font-weight: var(--fw-medium);
    font-size: var(--font-size-xs);
    font-family: var(--font-family-base);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.speech-skip-btn:hover {
    background-color: #697aa9;
    color: #FFFFFF;
    border-color: #697aa9;
}

/* 階段 2：問題畫面 (18th_GPT_03) */
.questions-stage-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.questions-grid-12 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 16px;
    margin: auto 0;
    padding-top: 8px;
    padding-bottom: 12px;
}

/* 問題按鈕：滑鼠滑上改為藍底(#697aa9)白字 */
.question-pill-btn {
    background-color: #FFFFFF;
    color: #808080;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    padding: 12px 18px;
    border-radius: 9999px;
    border: 1.5px solid #fbb03b;
    cursor: pointer;
    text-align: center;
    line-height: var(--lh-snug);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    user-select: none;
}

.question-pill-btn:hover {
    background-color: #697aa9 !important;
    color: #FFFFFF !important;
    border-color: #697aa9 !important;
    box-shadow: 0 4px 14px rgba(105, 122, 169, 0.35);
    transform: translateY(-1px);
}

.screen-bottom-gang-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    user-select: none;
    margin-top: 8px;
    margin-bottom: -8dvh;
}

.screen-bottom-gang-img {
    max-height: clamp(8vh, 17vh, 160px);
    object-fit: contain;
    display: block;
}

/* 畫面 3：Goolao AI 回覆區塊 (18th_GPT_04) */
.reply-screen-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    flex: 1;
}

.reply-user-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    padding-right: 15px;
}

.reply-user-bubble {
    position: relative;
    background-color: #999999;
    color: #FFFFFF;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    line-height: 1.3;
    padding: 10px 26px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    max-width: 520px;
}

.reply-user-bubble::after {
    content: '';
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #999999;
}

.reply-ai-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin-bottom: 24px;
    padding-left: 12px;
}

.reply-ai-bubble {
    position: relative;
    background-color: #FFFFFF;
    border: 2px solid #EFA045;
    color: #808080;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    line-height: 1.3;
    padding: 10px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    width: fit-content;
    max-width: 100%;
    line-height: var(--lh-normal);
}

.reply-ai-bubble::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 10px 6px 0;
    border-style: solid;
    border-color: transparent #EFA045 transparent transparent;
}

/* 聊天訊息出現動態效果 (Chat Message Pop) */
@keyframes chatBubblePopRight {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    70% {
        opacity: 1;
        transform: scale(1.06);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes chatBubblePopLeft {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    70% {
        opacity: 1;
        transform: scale(1.06);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typingDotBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    40% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

@keyframes chatSpringBounce {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.05);
    }

    80% {
        transform: scale(0.98);
    }

    100% {
        transform: scale(1);
    }
}

.chat-pop-right {
    transform-origin: bottom right;
    animation: chatBubblePopRight 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.chat-pop-left {
    transform-origin: bottom left;
    animation: chatBubblePopLeft 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.chat-spring-bounce {
    animation: chatSpringBounce 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.typing-dots-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #EFA045;
    border-radius: 50%;
    display: inline-block;
}

.typing-dot:nth-child(1) {
    animation: typingDotBounce 1.1s infinite ease-in-out;
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation: typingDotBounce 1.1s infinite ease-in-out;
    animation-delay: 0.18s;
}

.typing-dot:nth-child(3) {
    animation: typingDotBounce 1.1s infinite ease-in-out;
    animation-delay: 0.36s;
}

/* 回覆區塊按鈕：滑鼠滑上改為藍底(#697aa9)白字 */
.reply-actions-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-left: 12px;
    z-index: 10;
    transition: all 0.4s ease;
}

.reply-action-btn {
    background-color: #EF9132;
    color: #FFFFFF;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    padding: 5px 5vw;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.reply-action-btn:hover {
    background-color: #697aa9 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(105, 122, 169, 0.35);
}

/* 左下角長者小精靈插圖 */
.reply-left-monsters {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: clamp(35%, 10vw, 700px);
    pointer-events: none;
    user-select: none;
    z-index: 20;
}

.reply-left-monsters img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右下角長者小精靈插圖 */
.reply-corner-monsters {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: clamp(30%, 10vw, 700px);
    pointer-events: none;
    user-select: none;
    z-index: 20;
}

.reply-corner-monsters img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
       畫面 4：公益真相揭示畫面樣式 (18th_GPT_05 黃色電視框)
       ========================================= */
.revelation-inner-screen {
    background-color: #FAF5EB;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: clamp(24px, 6dvh, 80px) 30px;
}

.revelation-speech-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.revelation-line {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    line-height: var(--lh-snug);
    letter-spacing: var(--tracking-normal);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.revelation-line.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 中間 3 照片白底外框 (18th_GPT_05) */
.revelation-photo-trio-box {
    width: 100%;
    max-width: 780px;
    height: clamp(160px, 22dvh, 220px);
    background: #FFFFFF;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 8px;
    margin: 8px 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.revelation-photo-trio-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.revelation-photo-item {
    flex: 1;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    background: #F3F3F3;
}

.revelation-photo-item img {
    width: auto height: clamp(20dvh, 100%, 220px);
    object-fit: cover;
    display: block;
    filter: brightness(0.98) contrast(1.02);
    transition: transform 0.4s ease;
}

.revelation-photo-item:hover img {
    transform: scale(1.04);
}

/* 下方文案區 (暖橘色文字 #E58828) */
.revelation-slogan-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 5px 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.revelation-slogan-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.revelation-slogan-orange {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-bold);
    color: #E58828;
    letter-spacing: var(--tracking-normal);
    line-height: var(--lh-snug);
}

/* 底部兩顆按鈕 (滑鼠滑上改為藍底 #697aa9 白字) */
.revelation-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    padding-bottom: 2px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.revelation-btn-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.revelation-action-btn {
    flex: 1;
    padding: 5px 20px;
    background-color: #EF9132;
    color: #FFFFFF;
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    font-family: var(--font-family-base);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    min-width: 350px;
}

.revelation-action-btn:hover {
    background-color: #697aa9 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(105, 122, 169, 0.3);
}

/* =========================================
       手機與直式平板狀態列 (18th_GPT_02s ~ 05s)
       ========================================= */
.device-status-bar {
    display: none;
}

/* 手機與直式平板專屬響應式優化 (18th_GPT_01s ~ 05s) */
@media (max-width: 1180px) {
    .monitor-outer-frame {
        width: clamp(300px, 95dvw, 1366px);
    }

    .revelation-photo-trio-box {
        height: clamp(160px, 27dvh, 220px);
    }
}

@media (max-width: 1023px) {
    .device-status-bar {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 10px 10px;
        user-select: none;
        pointer-events: none;
        color: #9E8C70;
    }

    #helpScreen .device-status-bar {
        padding: 4px 5dvw 10px;
    }

    .device-camera-hole {
        width: 13px;
        height: 13px;
        border-radius: 50%;
        border: 2px solid rgba(216, 156, 16, 0.7);
        background: #FAF5EB;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .device-camera-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(51, 51, 51, 0.3);
    }

    .device-status-right {
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: var(--font-family-base);
        font-size: var(--font-size-xs);
        font-weight: var(--fw-bold);
    }

    .device-signal-bars {
        display: flex;
        align-items: flex-end;
        gap: 2px;
        height: 11px;
    }

    .device-signal-bar {
        width: 2.5px;
        background: #9E8C70;
        border-radius: 1px;
    }

    .device-5g {
        font-weight: 900;
        font-family: var(--font-family-base);
        font-size: var(--font-size-xs);
        letter-spacing: -0.5px;
    }

    .device-battery {
        position: relative;
        width: 19px;
        height: 10px;
        border: 1px solid #9E8C70;
        border-radius: 2.5px;
        padding: 1px;
        display: flex;
        gap: 1px;
    }

    .device-battery-seg {
        flex: 1;
        height: 100%;
        background: #9E8C70;
        border-radius: 1px;
    }

    .device-battery-tip {
        position: absolute;
        right: -3px;
        top: 2px;
        bottom: 2px;
        width: 1.5px;
        background: #9E8C70;
        border-radius: 0 1px 1px 0;
    }

    .monitor-screen-wrapper {
        padding: 10dvh 0 0;
    }

    .monitor-outer-frame {
        width: clamp(300px, 92dvw, 715px);
        border-radius: 36px !important;
        padding: 13px !important;
        margin-bottom: 7dvh;
    }

    .monitor-inner-screen {
        border-radius: 24px !important;
        min-height: 75dvh !important;
        padding: 8px 3dvw 5dvh;
    }

    .monitor-badge-pill {
        padding: 2px 15px;
        font-size: var(--font-size-md);
        font-family: var(--font-family-base);
    }

    .reply-ai-bubble {
        padding: 5px 15px;
    }

    .reply-user-bubble {
        padding: 9px 15px;
    }

    .reply-screen-wrap {
        padding: 5dvh 0;
    }

    .monitor-stand-neck,
    .monitor-stand-base,
    .monitor-highlight-left,
    .monitor-highlight-right {
        display: none !important;
    }

    /* Ella 口白區：垂直置中排版 (18th_GPT_02s) */
    .ella-speech-stage {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .speech-lines-col {
        text-align: left !important;
    }

    /* 問題區：4個直排按鈕 + 翻頁 (18th_GPT_03s) */
    .questions-grid-12 {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-width: 360px !important;
        margin: auto !important;
    }

    .question-pill-btn {
        width: 100% !important;
        padding: 12px 18px !important;
    }

    .mobile-pagination-row {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin: 12px 0 6px;
    }

    .mobile-pg-arrow {
        color: #FABE1A;
        font-family: var(--font-family-base);
        font-size: 20px;
        cursor: pointer;
        user-select: none;
        background: none;
        border: none;
        padding: 4px;
    }

    .mobile-pg-label {
        color: #666666;
        font-family: var(--font-family-base);
        font-size: var(--font-size-md);
        font-weight: var(--fw-bold);
        cursor: pointer;
    }

    /* 對話區：按鈕垂直置中堆疊 (18th_GPT_04s) */
    .reply-actions-row {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
    }

    .reply-action-btn {
        width: 100% !important;
    }

    /* 揭示區：單張照片 (18th_GPT_05s) */
    .revelation-photos-trio {
        display: none !important;
    }

    .revelation-photo-single {
        display: block !important;
        width: 100% !important;
        max-width: 270px !important;
        margin: 10px auto !important;
        background: #FFFFFF !important;
        padding: 8px !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    }

    .revelation-photo-single img {
        width: 100% !important;
        aspect-ratio: 4/3 !important;
        object-fit: cover !important;
        border-radius: 2px !important;
        display: block !important;
    }

    .revelation-btn-row {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }

    .revelation-action-btn {
        width: 100% !important;
        min-width: 100%;
    }

    #revPhotoTrioBox {
        display: none;
    }

    .screen-bottom-gang-box {
        margin-bottom: -5dvh;
    }

    .reply-left-monsters,
    .reply-corner-monsters {
        width: clamp(35%, 46vw, 700px);
    }
}

@media (min-width: 1024px) {
    .mobile-pagination-row {
        display: none !important;
    }

    .revelation-photo-single {
        display: none !important;
    }
}

/* =========================================
       畫面 5：留下給 GoolaoGPT 的話表單畫面樣式 (18th_GPT_06 黃色電視框)
       ========================================= */
.form-inner-screen {
    background-color: #FAF5EB;
    border-radius: 28px;
    padding: 38px 44px 32px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0E6D2;
}

.form-intro-banner {
    margin-bottom: 14px;
    text-align: center;
}

.form-intro-badge {
    display: inline-block;
    background: var(--btn-warm-orange);
    color: #FFFFFF;
    font-family: var(--font-family-base);
    font-size: var(--font-size-xs);
    font-weight: var(--fw-bold);
    padding: 2px 10px;
    border-radius: 9999px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.form-intro-text {
    font-size: var(--font-size-xs);
    font-family: var(--font-family-base);
    color: #4B5563;
    font-weight: var(--fw-medium);
    line-height: 1.5;
}

.form-intro-sub {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    color: var(--btn-warm-orange);
    font-weight: var(--fw-bold);
    margin-top: 4px;
}

.form-fields-stack {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    padding-top: 10px;
}

.form-field-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    text-align: left;
}

.form-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.form-label-capsule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-warm-orange);
    color: #FFFFFF;
    font-weight: var(--fw-bold);
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    padding: 8px 25px;
    border-radius: 9999px;
    white-space: nowrap;
    user-select: none;
    box-shadow: 0 2px 6px rgba(229, 154, 92, 0.2);
    letter-spacing: var(--tracking-normal);
}

.form-label-capsule.capsule-email {
    padding: 8px 25px;
}

.form-char-count {
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    color: #6B7280;
    font-family: monospace;
}

.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(239, 145, 50, 0.7);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-family: inherit;
    color: #222222;
    font-weight: var(--fw-regular);
    outline: none;
    resize: none;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-textarea:focus {
    border-color: var(--btn-warm-orange);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(239, 145, 50, 0.15);
}

/* 單選題區塊樣式 */
.form-choice-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-choice-title {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-bold);
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-choice-desc {
    font-size: var(--font-size-md);
    font-family: var(--font-family-base);
    color: #6B7280;
    line-height: 1.5;
}

.form-radio-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.form-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.form-radio-card.selected {
    border-color: var(--btn-warm-orange);
    background: #FFF5EB;
    box-shadow: 0 1px 4px rgba(239, 145, 50, 0.15);
}

.form-radio-card:hover {
    border-color: rgba(239, 145, 50, 0.6);
}

.form-radio-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    margin-top: 1px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-radio-card.selected .form-radio-circle {
    border-color: var(--btn-warm-orange);
}

.form-radio-circle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--btn-warm-orange);
    display: none;
}

.form-radio-card.selected .form-radio-circle-dot {
    display: block;
}

.form-radio-text {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-bold);
    color: #374151;
    line-height: 1.35;
}

.form-input-line {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--btn-warm-orange);
    border-radius: 10px;
    padding: 8px 12px;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-family: inherit;
    color: #202020;
    font-weight: var(--fw-medium);
    outline: none;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-input-line::placeholder {
    color: #D0D0D0;
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
}

.form-input-line:focus {
    border-bottom-color: var(--btn-warm-orange-hover);
}

.form-error-banner {
    display: none;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 11px 16px;
    border-radius: 12px;
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--fw-bold);
    margin-top: 16px;
    width: 100%;
    text-align: left;
}

.form-error-banner.active {
    display: block;
    animation: fadeIn 0.3s;
}

.form-bottom-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    margin-top: 36px;
    width: 100%;
}

.form-agreement-row {
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
    cursor: pointer;
}

.form-checkbox-box {
    width: 30px;
    height: 30px;
    border: 2px solid var(--btn-warm-orange);
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.form-checkbox-box.checked {
    background: #FFF8F3;
}

.form-checkbox-box .v-mark {
    color: var(--btn-warm-orange);
    font-weight: 900;
    font-size: 20px;
    font-family: var(--font-family-base);
    line-height: 1;
    display: none;
}

.form-checkbox-box.checked .v-mark {
    display: block;
}

.agreement-label-text {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--fw-medium);
    color: #222222;
}

.privacy-policy-link {
    color: var(--btn-warm-orange);
    font-family: var(--font-family-base);
    font-weight: var(--fw-bold);
    text-decoration: underline;
    cursor: pointer;
    margin: 0 2px;
}

.form-send-btn {
    padding: 5px 5vw;
    font-family: var(--font-family-base);
    background-color: var(--btn-warm-orange);
    color: #FFFFFF;
    font-weight: var(--fw-bold);
    font-size: var(--font-size-base);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
}

.form-send-btn:hover {
    background-color: #697aa9 !important;
    color: #FFFFFF !important;
    transform: scale(1.03);
}

.form-send-btn:active {
    transform: scale(0.98);
}

.form-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.form-back-dialogue-btn {
    padding: 5px 3vw;
    font-family: var(--font-family-base);
    background-color: #999b9e;
    color: #FFFFFF;
    font-weight: var(--fw-bold);
    font-size: var(--font-size-base);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.form-back-dialogue-btn:hover {
    background-color: #6F6F6F;
}

.form-back-dialogue-btn:active {
    transform: scale(0.98);
}

/* Modal Overlay 通用樣式 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-box-card {
    background: #FFFFFF;
    border: 4px solid var(--btn-warm-orange);
    border-radius: 28px;
    padding: 32px 28px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    text-align: center;
}

.modal-close-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    border: none;
    font-size: 18px;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.modal-close-icon:hover {
    background: #E5E7EB;
    color: #1F2937;
}

@media (max-width: 640px) {
    .hero-container {
        align-items: flex-end;
        padding-bottom: 13dvh;
    }

    .hero-center {
        margin: unset;
    }

    .goolao-form-card {
        padding: 32px 20px;
        border-radius: 24px;
        border-width: 4px;
    }

    .form-field-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .form-input-line-wrap {
        width: 100%;
    }

    .form-input-line {
        font-size: 16px;
    }

    .form-bottom-actions {
        align-items: flex-end;
        width: 100%;
    }

    .form-action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .form-action-buttons .form-send-btn,
    .form-back-dialogue-btn {
        flex: 1;
        width: 100%;
    }
}

/* =========================================
       畫面 6：伸出援手志工畫面樣式 (18th_GPT_07 黃色電視框)
       ========================================= */
.help-inner-screen {
    padding: 5px 0px 6dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* 膠捲圖片左右無限捲動跑馬燈 */
.filmstrip-marquee-wrap {
    width: 100%;
    overflow: hidden;
    background: #ffe976;
    padding: 10px;
    margin: clamp(20px, 5dvh, 100px) 0;
}

.filmstrip-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: filmstripMarquee 26s linear infinite;
}

.filmstrip-marquee-wrap:hover .filmstrip-track {
    animation-play-state: paused;
}

.filmstrip-photo-card {
    width: 210px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
}

.filmstrip-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.98) contrast(1.01);
    transition: transform 0.4s ease;
}

@keyframes filmstripMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 下半部：Ella頭像 + 逐行淡入文案 + 伸出援手按鈕 */
.help-bottom-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    width: clamp(74%, 80dvw, 780px);
    margin: auto 13%;
}

.help-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-right: 3vw;
}

.help-arched-svg {
    width: 146px;
    height: 36px;
    margin-bottom: -4px;
    overflow: visible;
}

.help-avatar-circle {
    width: clamp(110px, 10dvw, 158px);
    height: auto;
    display: block;
}

.help-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
}

@media (max-width: 1180px) {
    .help-bottom-flex {
        margin: auto 5dvw;
    }
}

/* 文字「逐行淡入（Soft Line Fade）」動態效果：
       y: 10px / opacity: 0 / filter: blur(4px) -> 清晰，stagger 0.28s，每行 1.1s 平順減速 */
.help-soft-line {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    color: #666666;
    line-height: var(--lh-normal);
    letter-spacing: var(--tracking-normal);
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
    transition: opacity 2.0s cubic-bezier(0.25, 1, 0.5, 1), transform 1.1s cubic-bezier(0.25, 1, 0.5, 1), filter 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.help-soft-line.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0px) !important;
}

.help-cta-col {
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 4px;
}

.help-cta-btn {
    padding: 8px 3vw;
    background-color: #EF9132;
    color: #FFFFFF;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--fw-medium);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: var(--tracking-wide);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.7s ease, transform 0.7s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-cta-btn.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.help-cta-btn:hover {
    background-color: #697aa9 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(105, 122, 169, 0.35);
}

@media (max-width: 1023px) {
    .help-bottom-flex {
        width: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .help-cta-col {
        align-self: center;
        width: 100%;
    }

    .help-cta-btn {
        width: 80%;
    }

    .help-text-col {
        text-align: center;
    }

    .help-avatar-circle {
        width: 90px;
        height: 90px;
    }

    .help-arched-svg {
        width: 130px;
        height: 32px;
    }
}

/* 行動裝置全域字級自適應調整（Mobile Global Typography Scaling） */
@media (max-width: 980px) {

    #ellaScreen .monitor-inner-screen {
        padding: 5px clamp(5%, 6vw, 180px) 5dvh;
    }

    .monitor-inner-screen {
        padding: 5px clamp(5%, 6vw, 180px) 6dvh;
    }
}

@media (max-width: 640px) {
    .hero-center {
        width: 100%;
    }

    .hero-speech-card {
        padding: 25px 10dvw;
    }

    .monitor-outer-frame {
        margin-bottom: 3dvh;
    }

    #helpScreen .monitor-inner-screen {
        min-height: 74dvh !important;
        display: block;
        overflow-y: auto;
    }

    .ellaSpeech,
    .reply-screen-wrap,
    .revelation-inner-screen {
        overflow: auto;
    }

    #helpScreen .filmstrip-marquee-wrap {
        margin: 5px 0 30px;
    }

    .revelation-photo-single img {
        aspect-ratio: 5 / 3 !important;
    }

    .form-label-capsule,
    .form-label-capsule.capsule-email {
        padding: 7px 18px;
    }

    .form-radio-cards-row {
        display: block;
    }

    .form-radio-card {
        margin: 10px 0;
    }

    .form-agreement-row {
        align-items: flex-start;
    }

    .form-checkbox-box {
        width: 60px;
    }
}