[hidden]{display:none!important}.auth-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:0;border:1px solid #d9ddd6;border-radius:8px;overflow:hidden;background:#fffdfa;box-shadow:0 18px 60px #203e3508;max-width:1050px;margin:0 auto}.auth-story{position:relative;background:#203e35;min-height:640px;overflow:hidden}.auth-story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% center;opacity:.7}.auth-story:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,#102a25e8)}.auth-story>div{position:absolute;z-index:1;left:10%;bottom:9%;right:8%;color:#fff}.auth-story .eyebrow{font-size:10px;color:#eee9df;letter-spacing:.14em}.auth-story p{color:#fff;font-size:30px;line-height:1.6;font-family:Georgia,'Noto Serif TC',serif;margin:20px 0}.auth-story>div>span:last-child{font-size:11px;letter-spacing:.08em}.auth-card{padding:42px 44px;min-width:0;align-self:center}.auth-card h2{font-size:29px;line-height:1.5;margin:18px 0 12px}.auth-subtitle,.auth-card>p{font-size:14px;line-height:1.9;color:#52645c}.auth-card form{margin-top:25px}.auth-card label{display:block;font-size:13px;font-weight:600;margin:19px 0 8px;line-height:1.7}.auth-card input:not([type=checkbox]),.auth-card select{display:block;width:100%;box-sizing:border-box;background:#fff;border:1px solid #b8c4bb;border-radius:4px;min-height:49px;padding:11px 13px;font:inherit;font-size:16px;color:#203e35}.auth-card input:focus,.auth-card select:focus{outline:2px solid #426353;outline-offset:2px}.auth-card input[aria-invalid=true]{border-color:#9b3528}.auth-tabs{display:flex;gap:28px;border-bottom:1px solid #d9ddd6;margin-bottom:32px}.auth-tabs button{border:0;background:none;padding:0 0 13px;font:inherit;font-size:14px;color:#52645c;cursor:pointer}.auth-tabs button[aria-current=page]{color:#203e35;border-bottom:2px solid #203e35;font-weight:700}.password-field{display:flex;position:relative;min-width:0}.auth-card .password-field input{padding-right:65px}.password-toggle{position:absolute;right:5px;top:5px;bottom:5px;border:0;border-radius:3px;background:#edf1eb;color:#274638;font:inherit;font-size:12px;width:51px;cursor:pointer}.auth-submit{width:100%;justify-content:space-between;margin:12px 0;font-size:14px;min-height:51px}.auth-card button:disabled{opacity:.6;cursor:wait}.auth-card fieldset{margin:0;padding:0;border:0;min-width:0}.auth-card fieldset:disabled{opacity:.58}.auth-feedback{color:#9b3528;line-height:1.7;font-size:13px;overflow-wrap:anywhere;margin:14px 0 0;min-height:0}.auth-feedback:empty{display:none}.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.auth-card .text-button,.auth-banner-actions .text-button{font-size:12px;padding:10px 0;min-height:40px}.auth-fine,.auth-policy-version{font-size:11px!important;line-height:1.8!important;color:#596960!important}.auth-agreements{border-top:1px solid #e2e5df;margin-top:24px;padding-top:4px}.auth-card .auth-agreements label{display:flex;gap:10px;align-items:flex-start;font-size:12px;font-weight:400;margin:14px 0}.auth-agreements input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:3px 0;accent-color:#203e35}.auth-agreements a{text-decoration:underline;text-underline-offset:3px}.auth-orbit{width:54px;height:54px;border-radius:50%;background:#e5ece3;display:grid;place-items:center;font-size:27px;color:#294e3c}#registration-availability{font-size:12px;line-height:1.8;background:#edf1eb;border-radius:4px;padding:12px 14px;color:#344f40}.onboarding-heading{display:flex;gap:25px;align-items:center;justify-content:space-between}.onboarding-heading .eyebrow{display:block;margin-bottom:10px}.onboarding-heading strong{display:block;font-size:20px}.profile-completion{margin:20px 0 6px;max-width:420px}.profile-completion .profile-completion-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;color:#536357}.profile-completion .profile-completion-label strong{display:inline;margin:0;font-size:18px;font-weight:600;color:#244c36}.profile-completion progress{display:block;width:100%;height:8px;margin:6px 0 0;border:0;border-radius:99px;background:#d8ddd3;overflow:hidden;-webkit-appearance:none;appearance:none}.profile-completion progress::-webkit-progress-bar{background:#d8ddd3;border-radius:99px}.profile-completion progress::-webkit-progress-value{background:#244c36;border-radius:99px}.profile-completion progress::-moz-progress-bar{background:#244c36;border-radius:99px}.profile-completion .auth-fine{margin:8px 0 0}.auth-banner-actions{display:flex;gap:24px;flex-wrap:wrap}.auth-card [tabindex='-1']:focus{outline:none}.auth-card [role=status]:focus{outline:2px solid #9b3528;outline-offset:3px}
.auth-story-carousel img{opacity:0;transition:opacity .8s ease}.auth-story-carousel img.is-active{opacity:.7}
@media(prefers-reduced-motion:reduce){.auth-story-carousel img{transition:none}}
@media(max-width:850px){.auth-layout{grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}.auth-card{padding:32px 28px}.auth-story p{font-size:25px}.auth-story .eyebrow{font-size:8px}.auth-story>div>span:last-child{font-size:9px}.auth-card h2{font-size:25px}.onboarding-heading{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:600px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:195px}.auth-story img{object-position:center 42%}.auth-story>div{bottom:20px;left:24px}.auth-story p{font-size:23px;line-height:1.4;margin:8px 0}.auth-story .eyebrow{font-size:8px;margin-bottom:6px}.auth-story>div>span:last-child{font-size:9px}.auth-card{padding:26px 22px}.auth-card h2{font-size:25px}.auth-tabs{margin-bottom:20px}.auth-card form{margin-top:18px}.onboarding-heading strong{font-size:18px}.auth-banner-actions{gap:18px}.auth-card .auth-agreements label{font-size:11px}.auth-links{gap:6px}}
.profile-wizard-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.profile-wizard-heading h2{font-size:28px;margin:8px 0 20px}.profile-wizard-heading .eyebrow{font-size:9px}.profile-progress{list-style:none;display:flex;justify-content:space-between;padding:0;margin:10px 0 30px;border-bottom:1px solid #d9ddd6;gap:8px}.profile-progress li{font-size:11px;color:#65756b;display:flex}.profile-progress button{display:flex;align-items:center;gap:8px;padding:0 0 14px;margin:0;border:0;background:none;color:inherit;font:inherit;text-align:inherit}.profile-progress button:hover{color:#294d3b}.profile-progress button:hover>span{border-color:#294d3b}.profile-progress button:focus-visible{outline:2px solid #294d3b;outline-offset:4px;border-radius:4px}.profile-progress li[aria-current]{border-bottom:2px solid #294d3b;color:#294d3b;font-weight:700}.profile-progress button>span{width:24px;height:24px;display:grid;place-items:center;border:1px solid #b6c4b9;border-radius:50%}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.profile-grid>*{min-width:0}.profile-residence{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-auto-flow:column;gap:0 20px}.profile-residence>*{min-width:0}.profile-residence .muted-text{margin:-9px 0 0;line-height:1.7}.profile-option-group{border:0;padding:12px 0;margin:12px 0}.profile-option-group legend{font-size:14px;font-weight:600}.profile-birthday-visibility{grid-column:1/-1;padding:0;margin:0 0 6px}.profile-birthday-visibility legend{margin-bottom:8px;padding:0;font-size:13px;font-weight:400}.profile-choices{display:flex;flex-wrap:wrap;gap:9px}.panel .profile-choices label{display:flex;position:relative;padding:0;margin:0;cursor:pointer;font-size:12px;align-items:center;gap:6px}.profile-choices input{width:16px;height:16px;accent-color:#203e35}.profile-seeking-slot{border:0;padding:0;margin:10px 0 0}.profile-seeking-slot legend{font-size:13px;font-weight:500;margin-bottom:8px}.panel .profile-choices input[type=radio]{display:block;flex:0 0 17px;width:17px;height:17px;min-height:0;padding:0;margin:0 10px 0 0;border:0;accent-color:#203e35}.profile-choices span{padding:9px 12px;border:1px solid #b8c4bb;border-radius:5px;display:block}.profile-choices input:checked+span{background:#203e35;color:#fff;border-color:#203e35}.profile-choices input:focus-visible+span{outline:2px solid #426353;outline-offset:3px}.panel .profile-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.9}.profile-consent input{flex:0 0 18px;margin-top:4px;width:18px;height:18px;accent-color:#203e35}.profile-consent a{text-decoration:underline}.profile-newcomer{margin:24px 0 4px;padding:14px 16px;border:1px solid #eed8cd;border-radius:12px;background:#fdf6f1}.panel .profile-newcomer label{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0;font-size:14px;font-weight:600;line-height:1.6;cursor:pointer}.profile-newcomer input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#203e35}.profile-newcomer .auth-fine{margin:6px 0 0 28px;line-height:1.7}.profile-newcomer-preview{display:inline-flex}.profile-feedback{font-size:13px;line-height:1.8;color:#9b3528}.profile-feedback:empty{display:none}.profile-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px;margin-top:25px}.profile-navigation>.button{width:100%;max-width:160px;min-width:0;margin:0}.profile-navigation>button[type=submit]{grid-column:2;justify-self:end}.profile-feedback:focus{outline:2px solid #9b3528;outline-offset:3px}#profile-wizard-form button:disabled{opacity:.5;cursor:wait}#profile-wizard-form>h3{font-size:22px}#profile-wizard-form>h3~h3{margin-top:32px}#profile-wizard-form>p{font-size:13px;line-height:1.9}
@media(max-width:600px){.profile-grid,.profile-residence{grid-template-columns:1fr}.profile-residence{grid-auto-flow:row}.profile-progress li{font-size:10px}.profile-progress button{flex-direction:column;text-align:center}.profile-progress{gap:5px}.profile-wizard-heading h2{font-size:24px}.profile-choices span{padding:8px 10px}.profile-navigation{gap:12px}.profile-navigation>.button{font-size:13px;padding:12px 8px}.profile-wizard-heading .pill{font-size:10px;white-space:nowrap}}

.auth-card .auth-remember{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:0;font-weight:400;cursor:pointer}.auth-remember input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#203e35}#remember-login-help{margin:0 0 10px}

/* Shared partner and exactly-three room governance. */
.partner-shared,.active-rules,.rule-proposal,.chat-media{min-width:0;overflow-wrap:anywhere}.active-rules{padding:16px;background:#edf2e8;border:1px solid #b9c9b4;border-radius:6px;margin:18px 0}.rule-proposal{padding:18px;background:#fff5df;border:1px solid #cbb686;border-radius:6px;margin:18px 0}.shared-rules{display:grid;gap:10px;margin:16px 0}.shared-rules>div{display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,2fr);gap:12px}.shared-rules dt{font-weight:600}.shared-rules dd{margin:0}.member-authored,.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.member-room details>summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}.member-room fieldset{min-width:0;border:1px solid var(--line);padding:14px;margin:20px 0}.member-room legend{padding:0 6px;font-size:14px}.room-composer [hidden],.retention-fields [hidden]{display:none!important}.room-composer select{max-width:100%;text-overflow:ellipsis}.emoji-picker{margin:12px 0}.emoji-picker [role=group]{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:8px;max-width:420px}.emoji-picker button{min-width:44px;min-height:44px;padding:5px;margin:0;background:var(--paper);border:1px solid var(--line);border-radius:6px;font-size:23px;cursor:pointer}.emoji-picker button:focus-visible{outline:3px solid #597455;outline-offset:2px}.chat-media{padding-top:20px;margin-top:18px;border-top:1px solid var(--line)}.chat-photo-drafts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}.chat-photo-draft{padding:14px;border:1px solid var(--line);border-radius:5px;min-width:0}.chat-photo-draft h5{font-size:14px;margin:0 0 10px}.chat-photo-draft img,[id^=message-photo-] img{display:block;max-width:100%;max-height:360px;width:auto;height:auto;object-fit:contain}.chat-line{min-width:0;overflow-wrap:anywhere}.chat-line p{margin:0}.member-room .button{white-space:normal;text-align:center}.rule-proposal .button,.chat-photo-draft .button{max-width:100%}.chat-photo-draft input[type=file]{max-width:100%}
.target-regions [data-target-rows]{display:grid;gap:10px;margin:8px 0}.target-region-row{display:grid;gap:8px}.target-region-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.target-region-head select{flex:1 1 180px;min-width:0;width:auto}.target-region-head .text-button{flex:0 0 auto}.target-region-choices{margin:0;padding:12px}.target-region-choices legend{font-size:13px}.target-region-choices .chip-list{margin:0 0 10px;gap:8px}.target-region-choices .profile-choices{gap:8px}.target-region-row .auth-fine{margin:0}.target-region-panel{margin:16px 0;padding:14px 16px;border:1px solid var(--line);border-radius:5px}.target-region-panel h3{margin:0 0 6px;font-size:15px}.target-region-panel p{margin:0 0 8px;overflow-wrap:anywhere}.target-region-actions{display:flex;flex-wrap:wrap;gap:4px 20px}

.profile-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;border:0;padding:0;margin:24px 0 12px;min-width:0}
.panel .profile-mode-card{display:block;position:relative;margin:0;min-width:0;cursor:pointer;font-weight:400}
.panel .profile-mode-card>input[type=radio]{position:absolute;left:18px;top:18px;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0}
.profile-mode-surface{--mode-accent:#644382;--mode-deep:#39294e;--mode-end:#965076;--mode-line:#ded1e7;--mode-tint:#f5effa;--mode-glow:#79609424;display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid var(--mode-line);border-radius:20px;background:linear-gradient(155deg,#fffdfa 60%,var(--mode-tint));box-shadow:0 8px 28px var(--mode-glow);transition:border-color .2s,box-shadow .2s,transform .2s}
.profile-mode-card>input[value=partner]+.profile-mode-surface{--mode-accent:#a13758;--mode-deep:#582839;--mode-end:#b54d39;--mode-line:#ebcbd0;--mode-tint:#fff0ef;--mode-glow:#b74b6326}
.profile-mode-illustration{position:relative;display:block;overflow:hidden;aspect-ratio:5/3;background:var(--mode-tint);border-bottom:1px solid var(--mode-line)}
.profile-mode-illustration img{display:block;width:100%;height:100%;object-fit:contain}
.profile-mode-people{display:flex;align-items:center;justify-content:center;background:#fffdfa}
.profile-mode-people>img{width:60%;height:auto;aspect-ratio:1/1;object-fit:contain}
.profile-mode-mark{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:36px;height:36px;background:#fffdfaf2;color:var(--mode-accent);border:1px solid #ffffffcc;border-radius:50%;box-shadow:0 4px 16px #51263518;font-size:21px;font-weight:500}
.profile-mode-copy{display:flex;flex:1;flex-direction:column;gap:14px;padding:26px;color:var(--mode-deep)}
.profile-mode-copy>strong{font-family:Georgia,'Noto Serif TC',serif;font-size:32px;line-height:1.35;letter-spacing:.025em}
.profile-mode-copy>span{font-size:14px;line-height:1.9}
.profile-mode-copy>strong+span{padding-bottom:4px}
.profile-mode-route{border-top:1px solid var(--mode-line);padding-top:16px;margin-top:auto;font-weight:600}
.profile-mode-copy>.profile-mode-select{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--mode-line);border-radius:10px;text-align:center;padding:10px 16px;font-size:14px;font-weight:600;letter-spacing:.04em;margin-top:2px;background:var(--mode-tint);color:var(--mode-accent);transition:background .2s,color .2s,box-shadow .2s}
.profile-mode-card:hover .profile-mode-surface{border-color:var(--mode-accent);box-shadow:0 14px 34px var(--mode-glow);transform:translateY(-3px)}
.profile-mode-card:hover .profile-mode-select,.profile-mode-card>input:checked+.profile-mode-surface .profile-mode-select{background:linear-gradient(115deg,var(--mode-accent),var(--mode-end));color:#fff;border-color:transparent;box-shadow:0 5px 16px var(--mode-glow)}
.profile-mode-card>input:checked+.profile-mode-surface{border-color:var(--mode-accent);box-shadow:0 0 0 2px var(--mode-accent),0 12px 32px var(--mode-glow)}
.profile-mode-card>input:checked+.profile-mode-surface .profile-mode-mark{background:var(--mode-accent);color:#fff;border-color:var(--mode-accent)}
.profile-mode-card>input:focus-visible+.profile-mode-surface{outline:3px solid var(--mode-accent);outline-offset:5px}
.profile-mode-card>input:disabled+.profile-mode-surface{opacity:.6;cursor:wait;transform:none}
.profile-mode-change{padding:16px 20px;background:#fff3db;border:1px solid #d5bc88;border-radius:6px;color:#674b23}
@media(max-width:600px){.profile-mode-options{grid-template-columns:1fr;gap:20px}.profile-mode-copy{padding:22px}.profile-mode-copy>strong{font-size:28px}.profile-progress li{flex:1;min-width:0}.profile-progress button{flex:1;min-width:0;gap:6px}.profile-progress button>span{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.profile-mode-surface,.profile-mode-select{transition:none}.profile-mode-card:hover .profile-mode-surface{transform:none}}

.profile-mode-options>legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* 相處節奏沿用原生單選；選取樣式直接依 checked 更新，不重繪或移動鍵盤焦點。 */
.profile-pace-options{min-width:0;margin:24px 0 28px;padding:0;border:0}
.profile-pace-options>legend{padding:0;font-size:15px;font-weight:600;color:var(--ink)}
.profile-pace-options>p{margin:8px 0 18px;font-size:13px;line-height:1.8;color:#657168}
.profile-pace-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.panel .profile-pace-card{display:block;position:relative;min-width:0;margin:0;font-weight:400;cursor:pointer}
.panel .profile-pace-card>input[type=radio]{position:absolute;top:16px;left:16px;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0}
.profile-pace-surface{--pace-accent:#665481;--pace-deep:#493b60;--pace-line:#ddd3e8;--pace-tint:#f4f0f8;display:flex;flex-direction:column;box-sizing:border-box;height:100%;overflow:hidden;border:2px solid var(--pace-line);border-radius:18px;background:#fffdfa;box-shadow:0 5px 20px #203e3508;transition:border-color .18s,box-shadow .18s,transform .18s}
.profile-pace-card>input[value=slow]+.profile-pace-surface{--pace-accent:#49674e;--pace-deep:#2e4c39;--pace-line:#cfdcca;--pace-tint:#f0f5ec}
.profile-pace-card>input[value=meet-soon]+.profile-pace-surface{--pace-accent:#a0543c;--pace-deep:#6f3d2e;--pace-line:#ebd2c4;--pace-tint:#fcf1e9}
.profile-pace-illustration{display:block;aspect-ratio:8/5;overflow:hidden;background:var(--pace-tint);border-bottom:1px solid var(--pace-line)}
.profile-pace-illustration>img{display:block;width:100%;height:100%;object-fit:contain}
.profile-pace-copy{display:flex;flex:1;flex-direction:column;gap:12px;min-width:0;padding:22px 20px;color:var(--pace-deep)}
.profile-pace-copy>strong{font-family:Georgia,'Noto Serif TC',serif;font-size:23px;line-height:1.5;letter-spacing:.02em}
.profile-pace-description{font-size:14px;line-height:1.9;color:#5d635e;overflow-wrap:anywhere}
.profile-pace-select{display:flex;align-items:center;gap:8px;min-height:28px;margin-top:auto;padding-top:16px;color:var(--pace-accent);font-size:13px;font-weight:600}
.profile-pace-mark{display:grid;place-items:center;box-sizing:border-box;flex:0 0 25px;width:25px;height:25px;border:1.5px solid var(--pace-accent);border-radius:50%;color:transparent;background:#fffdfa;line-height:1}
.profile-pace-selected{display:none}
.profile-pace-card:hover>input:not(:disabled)+.profile-pace-surface{border-color:var(--pace-accent);box-shadow:0 10px 26px #203e3514;transform:translateY(-2px)}
.profile-pace-card>input:checked+.profile-pace-surface{border-color:var(--pace-accent);background:linear-gradient(150deg,#fffdfa 30%,var(--pace-tint));box-shadow:0 0 0 1px var(--pace-accent),0 8px 24px #203e3510}
.profile-pace-card>input:checked+.profile-pace-surface .profile-pace-mark{background:var(--pace-accent);color:#fff}
.profile-pace-card>input:checked+.profile-pace-surface .profile-pace-idle{display:none}
.profile-pace-card>input:checked+.profile-pace-surface .profile-pace-selected{display:inline}
.profile-pace-card>input:focus-visible+.profile-pace-surface{outline:3px solid var(--pace-accent);outline-offset:5px}
.profile-pace-card>input:disabled+.profile-pace-surface{opacity:.6;cursor:wait;transform:none}
@media(max-width:760px){.profile-pace-cards{grid-template-columns:1fr;gap:14px}.profile-pace-surface{flex-direction:row}.profile-pace-illustration{display:flex;align-items:center;flex:0 0 30%;max-width:160px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--pace-line)}.profile-pace-illustration>img{height:auto;aspect-ratio:8/5}.profile-pace-copy{gap:6px;padding:16px}.profile-pace-copy>strong{font-size:20px}.profile-pace-description{font-size:13px;line-height:1.8}.profile-pace-select{padding-top:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.profile-pace-surface{transition:none}.profile-pace-card:hover>input:not(:disabled)+.profile-pace-surface{transform:none}}
@media(forced-colors:active){.profile-pace-surface{border-color:ButtonText;background:Canvas;color:CanvasText;box-shadow:none}.profile-pace-copy,.profile-pace-description,.profile-pace-select{color:CanvasText}.profile-pace-mark{forced-color-adjust:none;border-color:ButtonText;background:Canvas;color:Canvas}.profile-pace-card:hover>input:not(:disabled)+.profile-pace-surface{border-color:Highlight;box-shadow:none}.profile-pace-card>input:checked+.profile-pace-surface{border-color:Highlight;background:Canvas;box-shadow:none}.profile-pace-card>input:checked+.profile-pace-surface .profile-pace-mark{border-color:Highlight;background:Highlight;color:HighlightText}.profile-pace-card>input:focus-visible+.profile-pace-surface{outline-color:Highlight}.profile-pace-card>input:disabled+.profile-pace-surface{opacity:1;border-color:GrayText}}

.profile-gender-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0;padding:0;border:0;margin:24px 0 14px}
.profile-gender-options>legend{margin:0 0 10px;padding:0;color:var(--ink);font-size:14px;font-weight:600}
.panel .profile-gender-card{--gender-accent:#626976;--gender-tint:#f2f2f3;--gender-border:#d2d4d8;display:block;position:relative;margin:0;cursor:pointer;min-width:0;font-weight:400}
.profile-gender-card[data-gender=M]{--gender-accent:#3e6587;--gender-tint:#edf4fa;--gender-border:#c3d3e1}
.profile-gender-card[data-gender=F]{--gender-accent:#995a73;--gender-tint:#fcf0f3;--gender-border:#e4c6d2}
.profile-gender-card[data-gender=self-described]{--gender-accent:#71608d;--gender-tint:#f5f1fa;--gender-border:#d6cce4}
.panel .profile-gender-card>input[type=radio]{position:absolute;left:14px;top:14px;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0}
.profile-gender-surface{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid var(--gender-border);border-radius:12px;background:#fffdfa;color:var(--gender-accent);transition:border-color .15s,box-shadow .15s,background-color .15s}
.profile-gender-illustration{display:block;position:relative;overflow:hidden;height:128px;background:var(--gender-tint)}
.profile-gender-illustration>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.profile-gender-mark{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--gender-border);border-radius:50%;background:#fffdfa;color:var(--gender-accent);font-size:17px;font-weight:700;line-height:1}
.profile-gender-copy{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;padding:12px 10px 14px;text-align:center}
.profile-gender-copy>strong{display:flex;align-items:center;justify-content:center;min-width:0;min-height:3em;max-width:100%;font-size:16px;line-height:1.5;text-wrap:balance}
.profile-gender-select{display:block;border:1px solid var(--gender-border);border-radius:99px;padding:3px 10px;background:var(--gender-tint);font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap}
.profile-gender-card:hover .profile-gender-surface{border-color:var(--gender-accent);box-shadow:0 4px 14px #203e350c}
.profile-gender-card>input:checked+.profile-gender-surface{border-color:var(--gender-accent);background:var(--gender-tint);box-shadow:0 0 0 2px var(--gender-accent)}
.profile-gender-card>input:checked+.profile-gender-surface .profile-gender-mark,.profile-gender-card>input:checked+.profile-gender-surface .profile-gender-select{border-color:var(--gender-accent);background:var(--gender-accent);color:#fff}
.profile-gender-card>input:focus-visible+.profile-gender-surface{outline:3px solid #896828;outline-offset:5px}
.profile-gender-card>input:disabled+.profile-gender-surface{opacity:.6;cursor:wait}
@media(max-width:760px){.profile-gender-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-gender-illustration{height:112px}}
@media(max-width:600px){.profile-progress li{flex:1;min-width:0}.profile-gender-illustration{height:104px}.profile-gender-copy{gap:6px;padding:10px 8px 12px}.profile-gender-copy>strong{font-size:15px}.profile-gender-mark{top:8px;right:8px}}
.interest-groups{display:grid;gap:8px;margin-top:10px}.interest-group{border:1px solid #d9ddd6;border-radius:6px;background:#fffdfa}.interest-group summary{cursor:pointer;padding:12px 14px;font-size:14px;font-weight:600}.interest-group summary span{margin-left:8px;font-size:11px;font-weight:400;color:#627167}.interest-group .profile-choices{padding:2px 14px 14px}@media(max-width:600px){.interest-group summary{padding:11px 12px}.interest-group .profile-choices{padding:2px 12px 12px}}
.photo-draft-group{margin:18px 0}.photo-draft-group h3{font-size:15px;margin:0 0 10px}.photo-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;align-items:start}.photo-slot{margin:0;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--white);overflow:hidden}.photo-slot img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:var(--cream)}.photo-slot figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;padding:4px 8px 2px}.photo-slot figcaption small{flex-basis:100%;font-size:12px;color:var(--muted)}.photo-slot figcaption .text-button{padding:6px 0;font-size:13px}.photo-slot.saved,.photo-slot.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;aspect-ratio:3/4;padding:10px;text-align:center;font-size:13px}.photo-slot.saved{background:var(--cream);color:var(--ink)}.photo-slot.saved small{color:var(--muted)}.photo-slot.empty{width:100%;border:1px dashed #9fac9f;background:var(--paper);color:var(--muted);font-family:inherit;cursor:pointer}.photo-slot.empty span{font-size:26px;line-height:1;color:var(--ink)}.photo-slot.empty:hover,.photo-slot.empty:focus-visible{border-color:var(--ink);color:var(--ink)}

.profile-seeking-group{min-width:0}
.profile-seeking-cards{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 4px;min-width:0}
.panel .profile-seeking-card{display:block;position:relative;flex:0 1 120px;width:120px;max-width:100%;min-width:0;margin:0;padding:0;cursor:pointer;font-weight:500}
.panel .profile-seeking-card>input[type=checkbox],.panel .profile-seeking-card>input[type=radio]{position:absolute;top:10px;right:10px;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0}
.profile-seeking-surface{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;height:100%;min-height:154px;padding:10px;border:2px solid #d4dccf;border-radius:14px;background:#fffdfa;color:#294d3b;transition:border-color .15s,background-color .15s,box-shadow .15s}
.profile-seeking-surface>img{display:block;width:96px;height:96px;max-width:100%;object-fit:contain;border-radius:9px}
.profile-seeking-label{display:block;max-width:100%;font-size:14px;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.profile-seeking-mark{position:absolute;top:7px;right:7px;display:grid;place-items:center;box-sizing:border-box;width:21px;height:21px;border:1px solid #a9b9a9;border-radius:6px;background:#fffdfa;color:transparent;font-size:14px;font-weight:700;line-height:1;transition:background-color .15s,border-color .15s,color .15s}
.profile-seeking-card:hover>input:not(:disabled):not(:checked)+.profile-seeking-surface{border-color:#82947b;box-shadow:0 4px 14px #203e3512}
.profile-seeking-card>input:checked+.profile-seeking-surface{border-color:#294d3b;background:#f0f5eb;box-shadow:0 0 0 1px #294d3b}
.profile-seeking-card>input:checked+.profile-seeking-surface .profile-seeking-label{font-weight:700}
.profile-seeking-card>input:checked+.profile-seeking-surface .profile-seeking-mark{border-color:#294d3b;background:#294d3b;color:#fff}
.profile-seeking-card>input[type=radio]+.profile-seeking-surface .profile-seeking-mark{border-radius:50%}
.profile-seeking-card>input:focus-visible+.profile-seeking-surface{outline:3px solid #896828;outline-offset:4px}
.profile-seeking-card>input:disabled+.profile-seeking-surface{opacity:.55;cursor:wait}
.profile-seeking-card-text .profile-seeking-surface{padding:30px 12px 18px}
@media(max-width:600px){.profile-seeking-cards{gap:10px}.panel .profile-seeking-card{flex-basis:108px;width:108px}.profile-seeking-surface{min-height:138px;padding:10px 8px;gap:6px}.profile-seeking-surface>img{width:80px;height:80px}.profile-seeking-label{font-size:13px}.profile-seeking-mark{top:6px;right:6px;width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.profile-seeking-surface,.profile-seeking-mark{transition:none}}
@media(forced-colors:active){.profile-seeking-surface{border-color:ButtonText;background:Canvas;color:CanvasText;box-shadow:none}.profile-seeking-mark{forced-color-adjust:none;border-color:ButtonText;background:Canvas;color:Canvas}.profile-seeking-card:hover>input:not(:disabled):not(:checked)+.profile-seeking-surface{border-color:Highlight;box-shadow:none}.profile-seeking-card>input:checked+.profile-seeking-surface{border-color:Highlight;background:Canvas;box-shadow:none}.profile-seeking-card>input:checked+.profile-seeking-surface .profile-seeking-mark{border-color:Highlight;background:Highlight;color:HighlightText}.profile-seeking-card>input:focus-visible+.profile-seeking-surface{outline-color:Highlight}.profile-seeking-card>input:disabled+.profile-seeking-surface{opacity:1;border-color:GrayText;color:GrayText}.profile-seeking-card>input:disabled+.profile-seeking-surface .profile-seeking-mark{border-color:GrayText}}
.adult-only-notice{display:flex;align-items:center;gap:14px;margin:0 0 24px;padding:14px 18px;border:1px solid #a65040;border-left-width:5px;border-radius:4px;background:#f7e8e2;color:#6f2a1f;font-size:15px;font-weight:700;line-height:1.75}
.adult-only-badge{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#a65040;color:#fffefa;font-size:14px;font-weight:800;letter-spacing:0}
.adult-only-leave{flex:none;margin-left:auto;min-height:40px;padding:0 16px;border:0;border-radius:4px;background:#a65040;color:#fffefa;font:inherit;font-size:14px;font-weight:800;letter-spacing:.04em;white-space:nowrap;cursor:pointer}
.adult-only-leave:hover{background:#8a3f32}.adult-only-leave:focus-visible{outline:3px solid #6f2a1f;outline-offset:2px}
@media(max-width:600px){.adult-only-notice{gap:12px;padding:12px 14px;font-size:14px}.adult-only-badge{width:38px;height:38px;font-size:13px}.adult-only-leave{min-height:36px;padding:0 12px;font-size:13px}}
.age-gate{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:34px 32px 28px;border:0;border-top:5px solid var(--coral);border-radius:6px;background:var(--white);color:var(--ink);box-shadow:0 24px 64px #16241f40;text-align:center}.age-gate::backdrop{background:#16241fb3}.age-gate .adult-only-badge{margin:0 auto 14px}.age-gate h2{margin:0 0 10px;font-size:26px;letter-spacing:0}.age-gate h2:focus{outline:none}.age-gate p{margin:0 0 22px;color:var(--muted);font-size:14px;line-height:1.9}.age-gate a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}.age-gate-options{display:grid;gap:12px}.age-gate-options .button{width:100%;min-height:54px;gap:12px;padding:12px 18px;font-size:15px;letter-spacing:.03em;white-space:normal;text-align:center}
@media(max-width:600px){.age-gate{padding:28px 20px 22px}.age-gate h2{font-size:22px}}
.age-gate-terms[open]{display:flex;flex-direction:column;width:min(760px,calc(100vw - 32px));height:min(860px,calc(100dvh - 32px));max-height:none;overflow:auto}.age-gate-terms>p{margin-bottom:16px}.terms-gate-text{flex:1;min-height:160px;overflow:auto;overscroll-behavior:contain;padding:4px 24px 20px;border:1px solid var(--line);border-radius:6px;background:var(--paper);text-align:left}.terms-gate-text:focus-visible{outline:2px solid #426353;outline-offset:2px}.terms-gate-text h3{margin:22px 0 2px;font-size:20px;letter-spacing:0}.terms-gate-text section+section{margin-top:18px;border-top:1px solid var(--line)}.terms-gate-text h4{margin:18px 0 6px;font-size:15px;letter-spacing:0}.age-gate .terms-gate-text p{margin:0 0 10px;color:var(--ink);font-size:14px;line-height:1.9}.age-gate .terms-gate-text .muted-text{color:var(--muted);font-size:12px}.age-gate .terms-gate-status{margin:28px 0 8px;color:var(--muted);text-align:center}.terms-gate-text>.button{display:flex;margin:0 auto 12px}.age-gate .terms-gate-hint{margin:12px 0 0;font-size:13px;line-height:1.7}.terms-gate-check{display:flex;gap:10px;align-items:flex-start;margin:8px 0 16px;font-size:14px;line-height:1.7;text-align:left;cursor:pointer}.terms-gate-check input{flex:0 0 18px;width:18px;height:18px;margin:3px 0;accent-color:var(--ink)}.terms-gate-check:has(input:disabled){opacity:.5;cursor:not-allowed}.terms-gate-actions{grid-template-columns:1fr 1fr}.age-gate .button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.age-gate-terms[open]{padding:22px 16px 18px}.terms-gate-text{padding:2px 14px 16px}.terms-gate-text h3{font-size:18px}.age-gate .terms-gate-text p{font-size:13px}.terms-gate-check{font-size:13px}.terms-gate-actions .button{min-height:48px}}
/* 個人設定「修改密碼」頁：會員面板的欄位預設有上外距，密碼欄內要歸零，顯示密碼按鈕才會對齊輸入框。 */
#change-password-form{max-width:520px}#change-password-form label{margin-bottom:7px}#change-password-form .password-field input{margin-top:0;padding-right:65px}#change-password-form [type=submit]{margin-top:14px}
/* 社群登入按鈕（2026-09-29）：依各平台品牌規範配色，Google 白底灰框、Facebook 藍底、LINE 綠底；圖示統一 18px。放在 Email 表單上方，分隔線接在按鈕下方。 */
.social-login{margin:24px 0 0}.social-divider{display:flex;align-items:center;gap:12px;margin:6px 0 0;font-size:12px!important;color:#596960!important}.social-divider:before,.social-divider:after{content:'';flex:1;border-top:1px solid #d9ddd6}.social-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin:0 0 10px;padding:0 16px;border-radius:4px;border:1px solid transparent;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.social-button:focus-visible{outline:2px solid #426353;outline-offset:2px}.social-button .social-icon{display:inline-grid;place-items:center;width:20px;height:20px}.social-button .social-icon img{width:18px;height:18px}.social-button-google{background:#fff;border-color:#747775;color:#1f1f1f}.social-button-google:hover{background:#f8faf8}.social-button-facebook{background:#0866ff;color:#fff}.social-button-facebook:hover{background:#0759e0}.social-button-line{background:#06c755;color:#fff}.social-button-line:hover{background:#05b34c}.social-link-notice{background:#edf1eb;border-radius:4px;padding:12px 14px;font-size:13px!important;color:#344f40!important}.social-email{display:grid;gap:4px;background:#f4f6f2;border:1px solid #d9ddd6;border-radius:4px;padding:14px 16px;margin:6px 0 4px}.social-email span{font-size:12px;color:#596960}.social-email strong{font-size:16px;color:#203e35;overflow-wrap:anywhere}.social-email small{font-size:11px;color:#596960}
