.salon-app{--ink:#382e31;--muted:#77716d;--accent:#573a48;--line:#e8e0d9;--paper:#fcf9f4;--panel:#f4ede3;background:#ede4dc;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:16px;line-height:1.65}
.salon-app .salon-shell{max-width:460px;min-height:100svh;background:var(--paper);padding:0 24px 36px;margin:0 auto}
.salon-app h1,.salon-app h2,.salon-app h3{font-weight:500}
.salon-app h1,.salon-app .identity h2,.salon-app .match-heading h2,.salon-app .person-top h3,.salon-app .profile-group>h2,.salon-app .detail-title h1{font-family:'Songti SC','STSong','Noto Serif CJK SC',serif}
.salon-app button{transition:background-color .15s,color .15s}
.salon-app button:disabled{cursor:wait;opacity:.55}
.salon-app :focus-visible{outline:2px solid #856575;outline-offset:4px}
.salon-app .primary{background:var(--accent);border-radius:8px;min-height:48px;font-size:16px;color:#fff;padding:12px 18px;letter-spacing:.08em}
.salon-app .primary:hover{background:#674b59}
.salon-app .demo-notice{font-size:12px;line-height:1.5;text-align:center;color:#726354;background:#f1e9dd;padding:7px 10px;margin:0 -24px}
.salon-app .salon-entry{padding:0;margin:0 -24px;min-height:100svh}
.salon-app .entry-cover{position:relative;height:min(62svh,560px);min-height:400px;background:#56483b;overflow:hidden}
.salon-app .entry-photo{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 49%}
.salon-app .entry-intro{position:absolute;top:46px;left:28px;right:28px;color:#fff9ef;text-shadow:0 1px 4px #291e16}
.salon-app .entry-intro .school-name{font-family:'Songti SC','STSong',serif;font-size:25px;line-height:1.4;margin:0}
.salon-app .entry-intro h1{font-size:34px;line-height:1.4;letter-spacing:.04em;margin:0}
.salon-app .entry-intro .entry-words{font-size:14px;line-height:1.9;max-width:330px;margin:18px 0 0}
.salon-app .entry-cover[data-image-state=failed] .entry-photo{display:none}
.salon-app .entry-form{position:relative;z-index:1;background:var(--paper);border-radius:28px 28px 0 0;padding:32px 28px 38px;margin-top:-28px;min-height:300px}
.salon-app .entry-form>label{font-size:16px;display:block;margin:0 0 12px}
.salon-app .entry-input input{display:block;width:100%;height:50px;min-height:50px;border:1px solid #ddd4cd;border-radius:8px;background:transparent;padding:12px;font-size:16px;margin:0 0 18px}
.salon-app .entry-form .entry-hint{font-size:13px;line-height:1.8;color:var(--muted);margin:16px 0 0;letter-spacing:0}
.salon-app .site-head{padding:18px 0 0;color:var(--muted);text-align:center}
.salon-app .site-wordmark{font-size:12px;letter-spacing:.1em}
.salon-app .page-body{padding-top:0;padding-bottom:96px}
.salon-app .identity{position:relative;text-align:center;padding:44px 8px 26px;margin-bottom:0}
.salon-app .identity h2{font-size:31px;line-height:1.5;margin:4px 0 4px;letter-spacing:.04em}
.salon-app .profile-edit{position:absolute;top:5px;right:0;font-size:13px;min-height:44px;color:var(--accent);padding:8px 0 8px 12px}
.salon-app .identity-cohort{font-size:13px;color:var(--muted);margin:0;white-space:break-spaces;overflow-wrap:anywhere}
.salon-app .identity-note{font-size:14px;line-height:1.9;color:#665c60;margin:22px auto 0;max-width:330px}
.salon-app .my-facts{margin:0}
.salon-app .profile-group{background:var(--panel);border-radius:13px;padding:18px 18px 6px;margin:0 0 14px}
.salon-app .profile-group>h2{font-size:17px;color:var(--accent);margin:0 0 14px;line-height:1.6}
.salon-app .profile-group .text-block{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:14px;margin:0;padding:10px 0;border-bottom:1px solid #e8e0d5}
.salon-app .profile-group .text-block:last-child{border-bottom:0}
.salon-app .profile-group .text-block h3{font-family:inherit;font-size:14px;color:#6e6262;font-weight:400;line-height:1.8;margin:0}
.salon-app .profile-group .text-block p{font-size:15px;line-height:1.8;min-width:0;white-space:break-spaces;overflow-wrap:anywhere}
.salon-app .bottom-links{display:flex;justify-content:center;margin:18px 0 4px}
.salon-app .text-action{font-size:14px;color:#6c6267}
.salon-app .bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:460px;display:grid;grid-template-columns:1fr 1fr;background:var(--paper);border-top:1px solid var(--line);padding:8px 18px calc(8px + env(safe-area-inset-bottom));z-index:10}
.salon-app .bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;color:#74696d;font-size:13px;line-height:1.3;padding:4px 0}
.salon-app .bottom-nav img{width:23px;height:23px;opacity:.5}
.salon-app .bottom-nav [aria-selected=true]{color:var(--accent);font-weight:600}
.salon-app .bottom-nav [aria-selected=true] img{opacity:.9}
.salon-app .match-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:26px;margin-bottom:8px}
.salon-app .match-heading h2{font-size:25px;line-height:1.5;white-space:nowrap}
.salon-app .mode-switch{display:flex;gap:2px;background:#f0e9e5;border-radius:7px;padding:3px;flex-shrink:0}
.salon-app .mode-switch button{font-size:12px;min-height:44px;padding:8px 8px;border-radius:5px;color:#70676a;white-space:nowrap}
.salon-app .mode-switch [aria-pressed=true]{background:var(--accent);color:#fff}
.salon-app .match-intro{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 18px}
.salon-app .search-box{border:1px solid #ddd4cd;border-radius:8px;background:transparent;margin:0 0 10px;padding:0 10px}
.salon-app .search-box>img{width:19px;height:19px;opacity:.55;flex-shrink:0}
.salon-app .search-box input{height:46px;font-size:14px}
.salon-app .search-box button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.salon-app .search-box button img{width:18px;height:18px;opacity:.6}
.salon-app .context-row{margin-bottom:12px;justify-content:space-between;gap:8px}
.salon-app .context-row p{font-size:12px}
.salon-app #topLabel{font-size:12px;white-space:nowrap}
.salon-app #topCount{font-size:13px;background:transparent;border:0;min-height:44px;min-width:76px;color:var(--accent)}
.salon-app .notice{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:16px}
.salon-app .people-list{border-top:0}
.salon-app .person-row{position:relative;color:var(--ink);padding:22px 0;border-bottom:1px solid var(--line)}
.salon-app .person-top{align-items:center;gap:8px}
.salon-app .person-top h3{font-size:22px;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.salon-app .person-top h3 span{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;font-size:13px;font-weight:400;color:var(--muted);margin-left:8px}
.salon-app .row-chevron{width:16px;height:16px;opacity:.4;flex-shrink:0}
.salon-app .person-job{font-size:14px;color:#675c61;margin:8px 0 12px;line-height:1.8;display:block;overflow:visible}
.salon-app .supply-line,.salon-app .hit{display:flex;align-items:baseline;gap:10px;font-size:14px;line-height:1.85;margin:5px 0}
.salon-app .supply-line>span:first-child,.salon-app .hit strong{font-size:12px;font-weight:400;color:#80614d;flex:0 0 40px;line-height:1.7}
.salon-app .supply-line>span:last-child,.salon-app .hit>span{min-width:0;overflow-wrap:anywhere}
.salon-app .recommendation-person:first-child{border:1px solid #ece3d9;background:#fdfaf5;border-radius:13px;padding:20px;margin-top:6px;margin-bottom:4px}
.salon-app .reciprocal{background:#f4ece1;border-radius:8px;padding:12px 14px;margin:12px 0}
.salon-app .reciprocal p{display:flex;align-items:baseline;gap:12px;font-size:14px;line-height:1.8;margin:5px 0}
.salon-app .reciprocal p span{flex:0 0 58px;font-size:12px;color:#795a48}
.salon-app .benefit{font-size:13px;color:#73666b;line-height:1.8}
.salon-app .score{font-size:12px;font-weight:400;color:#74676c;margin:14px 0 0;line-height:1.6;white-space:normal}
.salon-app .score strong{font-size:inherit;font-weight:400}
.salon-app .connection-limit{font-size:12px;color:#87755c;line-height:1.8;margin-top:7px}
.salon-app .empty{padding:30px 4px;text-align:center}
.salon-app .empty h3{font-size:18px}
.salon-app .empty p{font-size:14px;color:var(--muted);line-height:1.8}
.salon-app .editor-header{margin:0 -4px;padding:12px 0;background:var(--paper);border-color:var(--line);z-index:20}
.salon-app .editor-header h2{font-size:16px;font-weight:500}
.salon-app .editor-header button{font-size:14px;min-height:44px;padding:8px;color:var(--accent)}
.salon-app .editor-welcome{font-size:14px;line-height:1.8;color:#6b6065;margin:14px 0 8px;text-align:center}
.salon-app #editor>p.small{font-size:12px;line-height:1.8;margin:0 0 24px;text-align:center}
.salon-app .edit-field{margin:22px 0}
.salon-app .edit-field>span{color:#5a454c;font-size:15px;font-weight:500;margin-bottom:8px}
.salon-app .edit-field textarea,.salon-app .edit-field select{border-color:#e0d7cf;border-radius:7px;background:transparent;font-size:16px;line-height:1.8;padding:10px 12px;min-height:64px;color:var(--ink)}
.salon-app .edit-field select{min-height:48px}
.salon-app .edit-field textarea:focus{border-color:#937281}
.salon-app .edit-field small{font-size:13px;line-height:1.75;color:#766a68;margin-top:8px}
.salon-app .err,.salon-app .error{font-size:14px;line-height:1.8;background:#f7e8e2;color:#924c41;border-radius:7px;padding:12px;margin:12px 0}
.salon-app .ok{font-size:14px;line-height:1.8;color:#4a6658;background:#edf0e8;border-radius:7px;padding:12px;margin:12px 0}
.salon-app .profile-shell{padding-top:8px;padding-bottom:40px}
.salon-app .back{font-size:14px;color:#645b60;display:flex;gap:6px;align-items:center;min-height:44px;width:max-content}
.salon-app .back img{width:17px;height:17px;opacity:.65}
.salon-app .detail-title{text-align:center;margin:10px 0 22px}
.salon-app .detail-title h1{font-size:31px;line-height:1.6;white-space:break-spaces;overflow-wrap:anywhere;margin-bottom:4px}
.salon-app .detail-title .identity-note{margin-top:20px;font-size:14px}
.salon-app #matchZone>.section-line{background:var(--panel);border:0;border-radius:13px;padding:20px 18px;margin:22px 0}
.salon-app #matchZone .row-between{display:block}
.salon-app #matchZone h2{font-family:'Songti SC','STSong',serif;font-size:18px;color:var(--accent)}
.salon-app #matchZone .notice{margin:12px 0}
.salon-app .evidence{border-color:#e7dbcf;padding-top:14px;margin-top:16px}
.salon-app .evidence h3{font-size:14px;color:#725b63}
.salon-app .evidence p{font-size:14px;line-height:1.8}
.salon-app .evidence .text-block{margin:12px 0}
.salon-app .evidence .text-block h3{font-size:13px;margin-bottom:5px}
.salon-app .life-details{margin-top:14px;border-color:#e7dbcf}
.salon-app .life-details summary{font-size:14px}
.salon-app .more-recommendations{margin-top:28px;padding-top:20px;border-color:var(--line)}
.salon-app .more-recommendations h2{font-family:'Songti SC','STSong',serif;font-size:18px}
.salon-app #recCount{font-size:13px;background:transparent;border:1px solid var(--line);border-radius:5px;padding:4px}
.salon-app #recTip{font-size:12px;line-height:1.8;margin:10px 0 16px}
@media(max-width:374px){.salon-app .salon-shell{padding-left:18px;padding-right:18px}.salon-app .salon-entry,.salon-app .demo-notice{margin-left:-18px;margin-right:-18px}.salon-app .match-heading h2{font-size:23px}.salon-app .mode-switch button{padding:8px 6px;font-size:12px}.salon-app .profile-group{padding-left:14px;padding-right:14px}.salon-app .profile-group .text-block{grid-template-columns:70px minmax(0,1fr);gap:10px}}
@media(max-height:650px){.salon-app .entry-cover{min-height:320px;height:55svh}.salon-app .entry-intro{top:32px}.salon-app .entry-form{padding-top:24px}.salon-app .identity{padding-top:34px}}
@media(prefers-reduced-motion:reduce){.salon-app button{transition:none}}
/* 已确认的五项使用反馈：不改变原有暖纸与梅色视觉。 */
.salon-app .entry-intro .library-title{max-width:310px;font-size:32px;line-height:1.5;letter-spacing:.06em;text-wrap:balance}
.salon-app .entry-intro .entry-words{margin-top:24px;font-family:"Songti SC","STSong",serif;font-size:15px;letter-spacing:.1em;line-height:1.8}
.salon-app .profile-empty{padding:28px 0}
.salon-app .profile-empty .text-action{margin-top:18px}
.salon-app .match-score{display:flex;align-items:baseline;gap:8px;color:#573a48;font-size:13px;font-weight:500;margin:16px 0 0}
.salon-app .match-score strong{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.03em}
.salon-app .match-reasons{background:#f4ede3;border-radius:13px;padding:20px;margin:18px 0 26px}
.salon-app .match-reasons h2{font-size:21px;margin:0}
.salon-app .match-reasons .match-score{margin:0}
.salon-app .reason-section{padding-top:18px}
.salon-app .reason-section + .reason-section{border-top:1px solid #e6dcd0;margin-top:18px}
.salon-app .reason-section h3{font-size:17px;color:#573a48;margin:0 0 12px}
.salon-app .reason-item h4{font-size:13px;color:#786758;margin:14px 0 5px}
.salon-app .reason-item p{font-size:15px;line-height:1.9;white-space:break-spaces;overflow-wrap:anywhere;margin:0}

.salon-app .library-title span{display:block}
.salon-app .library-title span:last-child{font-size:28px;letter-spacing:.025em}
/* 首次入座：让照片、邀请和动作共同构成一页，而非顶部按钮堆叠。 */
.salon-app #mePane[data-profile-state=empty]:not([hidden]){min-height:calc(100svh - 140px);display:flex;flex-direction:column}
.salon-app #mePane[data-profile-state=empty] .identity{padding:22px 0 18px}
.salon-app #mePane[data-profile-state=empty] #myProfile{flex:1;display:flex}
.salon-app #mePane[data-profile-state=empty] .bottom-links{margin:10px 0 0}
.salon-app .profile-empty{width:100%;padding:0;display:flex;flex-direction:column;justify-content:space-between;gap:22px;text-align:center}
.salon-app .welcome-scene{margin:0;overflow:hidden;border-radius:12px;background:var(--panel);height:clamp(145px,23svh,210px);flex-shrink:0}
.salon-app .welcome-scene img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 58%;color:transparent}
.salon-app .welcome-copy{padding:0 8px}
.salon-app .welcome-eyebrow{font-size:11px;letter-spacing:.16em;color:#8b7968;margin:0 0 12px}
.salon-app .welcome-copy h3{font-family:'Songti SC','STSong',serif;font-size:24px;font-weight:400;line-height:1.5;letter-spacing:.025em;margin:0 0 12px}
.salon-app .welcome-copy>p:last-child{font-size:14px;line-height:1.9;color:var(--muted);margin:0}
.salon-app .welcome-actions{display:grid;gap:6px;margin-top:4px}
.salon-app .profile-empty .text-action{margin-top:0;min-height:44px}
.salon-app .match-reasons{background:transparent;padding:0;margin:24px 0 38px}
.salon-app #matchZone .match-reasons>.row-between{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.salon-app #matchZone .match-reasons h2{font-size:23px}
.salon-app .reason-provenance{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 24px}
.salon-app .reason-section{padding:0;margin-top:28px}
.salon-app .reason-section + .reason-section{border-top:0;margin-top:32px}
.salon-app .reason-section>h3{font-family:'Songti SC','STSong',serif;font-size:21px;font-weight:400;line-height:1.5;margin:0 0 14px}
.salon-app .reason-item{background:var(--panel);border-radius:12px;padding:19px 20px;margin:12px 0}
.salon-app .reason-item h4{font-size:13px;font-weight:500;color:#795f50;letter-spacing:.045em;line-height:1.5;margin:0 0 12px}
.salon-app .reason-item p{font-size:15px;line-height:1.95;letter-spacing:.015em}
.salon-app .reason-item .reason-paragraph + .reason-paragraph{margin-top:13px}
@media(max-height:650px){.salon-app #mePane[data-profile-state=empty]:not([hidden]){min-height:calc(100svh - 132px)}.salon-app #mePane[data-profile-state=empty] .identity{padding:15px 0}.salon-app .profile-empty{gap:18px}.salon-app .welcome-scene{height:145px}.salon-app .welcome-copy h3{font-size:22px}}

.salon-app .reason-pair{font-size:17px;line-height:1.7;color:#7b6b70;margin:8px 0 24px;letter-spacing:.04em;overflow-wrap:anywhere}
.salon-app .detail-tabs{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px 0 12px;background:var(--paper);border-bottom:1px solid var(--line);margin-bottom:20px}
.salon-app .detail-tabs button{min-height:46px;border-radius:7px;font-size:15px;color:var(--muted);background:transparent}
.salon-app .detail-tabs button[aria-selected=true]{background:var(--accent);color:var(--paper);font-weight:500}
.salon-app .detail-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.salon-app #alumniPanel .detail-title{margin-top:24px}
.salon-app #reasonPanel .match-reasons{margin-top:24px}
.salon-app #mePane[data-profile-state] .identity{padding:0 0 26px}
.salon-app .identity-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-height:44px;margin:0 0 12px}
.salon-app .identity-actions button{position:static;min-height:44px;padding:8px 0;font-size:13px}
.salon-app .context-row{justify-content:flex-end}
.salon-app .context-row #listTitle{margin-right:auto}
