/* 官網 V7 第一階段（DEC-0089）：在 V7 原樣 style.css 與研發補充版 rd.css 之上，只放上線需要的差異。
   只套首頁（body.v7-home），不影響其他頁與會員區。 */

/* 由 home.js 切換的內容（情境、方案規模、補一則新消息）一律以 hidden 隱藏，不被 V7 的 display 規則蓋掉 */
.v7-home [hidden]{display:none!important}

/* 研發補充版的審稿標記（粉紅虛線、標籤）只給行銷看，正式頁面不顯示 */
.v7-home .rd-badge{display:none}
.v7-home [data-rd-supplement]:not(.rd-block):not(.rd-skip):not(footer):not(details){outline:0}
.v7-home .rd-block{border:0;padding:0}
.v7-home .rd-coord{margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
.v7-home .rd-price-notice{margin:18px 0 0}

/* V7 的語言切換是 button；這裡用連結（換網址），樣式照 V7 */
.v7-home .languages a{border:0;background:none;border-radius:6px;font-size:12px;padding:7px;min-height:36px;display:inline-flex;align-items:center}
.v7-home .languages a[aria-current=true]{background:var(--ink);color:var(--cream)}
.v7-home.v4 .languages a{min-height:44px}
@media(max-width:430px){.v7-home .languages a{font-size:11px;padding:5px;min-height:35px}}
.v7-home a.menu-account{display:none}
@media(max-width:800px){.v7-home a.menu-account{display:block}}
.v7-home nav#nav-links a.menu-account{background:none;border:0;text-align:left;padding:8px 0;font-weight:700;font-size:14px}

/* 第一階段：990、Business、補充包還不能付款（MaxLee 2026-10-29；費用新版 v3） */
.v7-home .button.phase2-button,.v7-home .button.phase2-button:hover{background:#e3e6da;border-color:#aeb9a2;color:#5b6559;cursor:not-allowed;box-shadow:none;transform:none}

/* 常見問題補上的段落與連結 */
.v7-home .faq-extra{margin:0 0 23px}
.v7-home .faq-extra p{font-size:16px;line-height:1.95;color:var(--muted)}
.v7-home .faq-extra p+p{margin-top:8px}
.v7-home .text-link{text-decoration:underline;text-underline-offset:4px;font-weight:700;color:var(--ink)}
.v7-home .work-accounts-note{margin-top:8px}

/* 購買視窗：準備步驟的兩條路、登入方式（連結樣式照 V7 按鈕） */
.v7-home .prepare-channels{display:grid;gap:14px;margin:22px 0}
.v7-home .prepare-channels .app-preparation{margin:0}
.v7-home .prepare-channels ul{margin:8px 0 0;padding-left:20px;font-size:16px;line-height:1.85}
.v7-home .app-mark.line{background:#06c755;color:#fff;border-color:#06c755}
.v7-home .rd-login-methods a.button{width:100%}
.v7-home .login-handoff{font-size:15px;line-height:1.85;color:var(--muted);margin-top:16px}
.v7-home .rd-login-legal{font-size:14px;line-height:1.85;color:var(--muted);margin-top:14px}
.v7-home .rd-login-legal a{text-decoration:underline;text-underline-offset:4px}
.v7-home .rd-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;margin:18px 0 6px}
.v7-home .rd-divider:before,.v7-home .rd-divider:after{content:'';flex:1;border-top:1px solid var(--line)}
.v7-home .contact-mail{font-weight:700;margin-top:14px;overflow-wrap:anywhere}
.v7-home .contact-mail a{text-decoration:underline;text-underline-offset:4px}

/* 首頁三款形象（DEC-0115，照 Christy V4）。頭像縮圖已裁好臉，不用 CSS 位移。 */
.buddy-showcase{width:100%;min-width:0;max-width:540px;justify-self:center}
.buddy-showcase .hero-v4-art{width:100%;min-height:450px;margin:0}
.buddy-showcase .hero-v4-art>.portrait{width:435px;height:435px;max-width:100%;object-fit:contain;transform:none;border-radius:0}
.buddy-showcase .hero-v4-art>.portrait.look-changed{animation:character-appear .24s ease-out}
.buddy-showcase .identity-card{bottom:6px;left:5px;max-width:245px}
.buddy-showcase .hello-card{top:15px;left:0}
.character-picker{position:relative;margin-top:20px;padding:21px 20px 19px;background:#fffdf6;border:1px solid #ccd3c1;border-radius:18px;box-shadow:3px 5px 0 #2931290b}
.character-picker header{margin:0 0 15px}
.character-picker h2{font-size:21px;line-height:1.5;letter-spacing:-.3px;margin:0}
.character-picker header p{font-size:14px;line-height:1.8;color:#66715d;margin:5px 0 0}
.character-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.character-option{position:relative;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:flex-start;min-height:111px;min-width:0;padding:13px 7px 11px;border:1px solid #d1d9c7;border-radius:11px;background:#f9faf4;color:inherit;font:inherit;cursor:pointer;transition:background .18s,border-color .18s}
.character-option:hover{background:#f0f3e8;border-color:#7d946c}
.character-option[aria-checked=true]{background:#f9edab;border:2px solid #556d42;padding:12px 6px 10px;box-shadow:0 2px 0 #52603c18}
.character-option:focus-visible{outline:3px solid #3c6b9b;outline-offset:4px}
.character-thumb{display:block;width:43px;height:43px;flex-shrink:0;border-radius:50%;background:#e7eadf;border:1px solid #d0d8c7;object-fit:cover}
.character-option-label{font-size:13px;line-height:1.55;font-weight:700;text-align:center;overflow-wrap:anywhere}
.character-selected-mark{position:absolute;top:7px;right:7px;width:17px;height:17px;border-radius:50%;background:#526c42;color:#fff;display:grid;place-items:center;font-size:11px;line-height:1;opacity:0}
.character-option[aria-checked=true] .character-selected-mark{opacity:1}
html[lang=th] .character-picker h2{font-size:20px;letter-spacing:0;line-height:1.65}
html[lang=th] .character-option-label{line-height:1.8}
@keyframes character-appear{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:1199px) and (min-width:981px){.buddy-showcase .hero-v4-art>.portrait{width:390px;height:390px}.buddy-showcase .hero-v4-art{min-height:415px}.character-picker{padding:18px 16px}.character-option-label{font-size:12px}}
@media(max-width:980px){.buddy-showcase{max-width:500px;margin:0 auto}.buddy-showcase .hero-v4-art{min-height:430px}.buddy-showcase .hero-v4-art>.portrait{width:410px;height:410px}}
@media(max-width:600px){.buddy-showcase{max-width:380px}.buddy-showcase .hero-v4-art{min-height:345px}.buddy-showcase .hero-v4-art>.portrait{width:335px;height:335px}.buddy-showcase .identity-card{left:0;bottom:-3px;max-width:210px;padding:11px 14px}.buddy-showcase .identity-card strong{font-size:23px}.buddy-showcase .identity-card p{font-size:13px}.buddy-showcase .hello-card{left:0;top:2px;font-size:13px;padding:10px 13px}.character-picker{padding:19px 13px 14px;margin-top:25px;border-radius:15px}.character-picker h2{font-size:20px}.character-options{gap:7px}.character-option{padding:12px 4px 10px;min-height:109px}.character-option[aria-checked=true]{padding:11px 3px 9px}.character-option-label{font-size:12px}.character-selected-mark{right:5px;top:5px;width:16px;height:16px}.character-thumb{width:39px;height:39px}}
@media(prefers-reduced-motion:reduce){.buddy-showcase .hero-v4-art>.portrait.look-changed{animation:none}.character-option{transition:none}}

/* 招呼泡泡不蓋人物（DEC-0118，Christy）：英文句子長，收窄成兩行；窄桌機三語泡泡往左移；手機三語都把人物往下移，泡泡留在頭的左上方。 */
html[lang=en] .buddy-showcase .hello-card{max-width:166px;left:-4px}
@media(max-width:1199px) and (min-width:801px){.buddy-showcase .hello-card{left:-30px;top:4px}html[lang=en] .buddy-showcase .hello-card{left:-34px;top:0;max-width:160px}}
@media(max-width:970px) and (min-width:801px){.buddy-showcase .hello-card{left:-52px;top:-26px}html[lang=en] .buddy-showcase .hello-card{left:-58px;top:-34px}}
@media(min-width:1200px) and (max-width:1219px){.buddy-showcase .hello-card{left:-14px}}
@media(max-width:600px){.buddy-showcase .hero-v4-art{padding-top:44px;min-height:380px}html[lang=en] .buddy-showcase .hero-v4-art{padding-top:68px;min-height:404px}html[lang=en] .buddy-showcase .hello-card{max-width:150px}}
/* 選項名稱不在單字中間斷開（DEC-0121）：這兩段寬度欄位不夠放 professional，只收間距，不縮字。 */
@media(max-width:840px) and (min-width:801px){.character-picker{padding-left:16px;padding-right:16px}.character-options{gap:6px}.character-option{padding-left:3px;padding-right:3px}.character-option[aria-checked=true]{padding-left:2px;padding-right:2px}}
@media(max-width:340px){.character-picker{padding-left:10px;padding-right:10px}.character-options{gap:5px}.character-option{padding-left:3px;padding-right:3px}.character-option[aria-checked=true]{padding-left:2px;padding-right:2px}}
/* DEC-0126 情境區：主視覺後、成果示範前；照 V4 Mockup。 */
.pain-scenes{padding:64px 0 70px;border-top:1px solid #cdd3c2;background:#f3f0e6}
.pain-scenes .pain-heading{max-width:880px;margin-bottom:30px}
.pain-scenes .eyebrow{color:#566c4d;margin-bottom:10px;font-size:14px}
.pain-scenes h2{font-size:clamp(30px,3.2vw,44px);line-height:1.45;letter-spacing:-.8px;text-wrap:balance}
.pain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.pain-card{margin:0;min-width:0;background:#fffdf7;border:1px solid #d5d7c8;border-radius:18px;overflow:hidden}
.pain-photo{margin:0;aspect-ratio:3/2;background:#e0e6d8;overflow:hidden}
.pain-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .6s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.pain-card:hover .pain-photo img{transform:scale(1.025)}}
.pain-card-copy{padding:24px 23px 27px}
.pain-scenes .pain-card h3{font-size:22px;line-height:1.55;letter-spacing:-.25px;text-wrap:pretty;margin:0 0 12px}
.pain-scenes .pain-card p{font-size:17px;line-height:1.85;color:#5b6559;margin:0;text-wrap:pretty}
.pain-bridge{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:31px;padding-top:27px;border-top:1px solid #cdd3c2}
.pain-bridge p{font-size:20px;font-weight:700;line-height:1.65;max-width:720px}
.pain-bridge .button{flex-shrink:0;gap:14px}
html[lang=th] .pain-scenes h2,html[lang=th] .pain-scenes h3{letter-spacing:0;line-height:1.65}
@media(max-width:979px){.pain-grid{gap:16px}.pain-card-copy{padding:20px 17px 23px}.pain-scenes .pain-card h3{font-size:20px}.pain-scenes .pain-card p{font-size:16px}}
@media(max-width:760px){.pain-scenes{padding:45px 0}.pain-scenes .wrap{width:calc(100% - 36px)}.pain-grid{grid-template-columns:1fr;gap:22px}.pain-card-copy{padding:23px 22px 26px}.pain-scenes .pain-card h3{font-size:23px}.pain-scenes .pain-card p{font-size:17px}.pain-bridge{flex-direction:column;align-items:flex-start;gap:17px}.pain-bridge .button{width:100%;min-height:52px}.pain-scenes .pain-heading{margin-bottom:25px}}
