.welcome-profile-page{min-width:0}.welcome-profile-heading{position:relative;margin-bottom:30px;padding-right:135px}.profile-optional{font-size:13px;color:#768979}.welcome-profile-heading h1{font-size:33px;line-height:1.45;margin:12px 0 15px}.welcome-profile-heading p{font-size:15px;color:var(--muted);line-height:1.85}.profile-skip{position:absolute;right:0;top:6px;font-size:13px;color:var(--muted);min-height:44px;display:flex;align-items:center}.profile-saved{font-size:14px;background:#edf5eb;color:#44644b;padding:17px 20px;border-radius:11px;margin-bottom:22px;line-height:1.9}.welcome-profile-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px}.profile-preview{display:flex;align-items:center;gap:27px;padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:30px}.profile-preview>img{width:112px;height:112px;border-radius:30px;object-fit:cover;flex:0 0 112px}.profile-preview strong{font-size:22px}.profile-preview p{font-size:13px;line-height:1.9;color:var(--muted);margin:9px 0}.profile-preview>div>span{font-size:11px;color:#8c968d}.welcome-profile-form fieldset{border:0;padding:0;margin:0 0 30px}.welcome-profile-form legend{font-size:19px;font-weight:650;margin-bottom:11px}.welcome-profile-form legend span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}.profile-avatar-options>p{font-size:13px;color:var(--muted);margin:0 0 18px}.avatar-choice-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 13px}.avatar-choice-grid label{position:relative;cursor:pointer}.avatar-choice-grid label>input{position:absolute;width:1px;height:1px;opacity:0}.avatar-choice-grid label>span{display:flex;flex-direction:column;gap:8px;align-items:center;padding:7px 5px;border:2px solid transparent;border-radius:17px}.avatar-choice-grid label>span>span{font-size:12px;color:var(--muted)}.avatar-choice-grid img{display:block;width:100%;max-width:88px;height:auto;aspect-ratio:1;object-fit:cover;border-radius:16px}.avatar-choice-grid input:checked+span{border-color:var(--accent);background:#edf4ed}.avatar-choice-grid input:focus-visible+span{outline:3px solid #458664;outline-offset:3px}.profile-upload{background:#f6f8f4;border-radius:12px;margin-top:24px;padding:18px 20px}.profile-upload label{display:flex;gap:9px;align-items:center;min-height:44px;font-size:14px}.profile-upload input[type=file]{max-width:100%;min-height:44px;font-size:13px}.profile-upload p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:6px}.interest-choice-grid{display:flex;flex-wrap:wrap;gap:9px}.interest-choice-grid label{cursor:pointer;position:relative}.interest-choice-grid input{position:absolute;opacity:0;width:1px;height:1px}.interest-choice-grid span{border:1px solid var(--line);border-radius:24px;min-height:44px;display:flex;align-items:center;padding:9px 17px;font-size:14px}.interest-choice-grid input:checked+span{border-color:#abc5ad;background:#edf5ed;color:var(--accent)}.interest-choice-grid input:focus-visible+span{outline:3px solid #458664;outline-offset:3px}.interest-count{font-size:12px;color:#819181;margin-top:13px}.profile-bio-label{font-size:18px;font-weight:650;display:block;margin-bottom:13px}.profile-bio-label span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}.welcome-profile-page textarea,.welcome-conversation textarea{width:100%;background:#fff;border:1px solid #cdd8ce;border-radius:11px;font-size:16px;padding:13px 15px;resize:vertical;line-height:1.8;color:var(--ink)}.profile-form-actions{display:flex;align-items:center;gap:23px;margin-top:22px}.profile-form-actions>a{font-size:13px;color:var(--muted);min-height:44px;display:flex;align-items:center}.profile-public-step{padding:30px 32px;background:#f0f5ee;border:1px solid #dce8d8;border-radius:18px;margin-top:25px}.profile-public-step h2{font-size:23px;margin-bottom:12px}.profile-public-step>div>p{font-size:14px;color:#6a7f69;line-height:1.9}.profile-public-step form{margin-top:23px}.profile-public-step form>label:first-of-type{font-size:14px;display:block;margin-bottom:10px;font-weight:650}.publish-preview{font-size:12px;color:var(--muted);line-height:1.9;margin:10px 0}.public-consent{font-size:13px;display:flex;gap:10px;align-items:flex-start;line-height:1.9;margin:20px 0}.public-consent input{width:18px;height:18px;flex:0 0 18px;margin-top:4px}.profile-participation{margin-top:36px}.profile-participation h2{font-size:23px;margin-bottom:20px}.profile-participation>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.profile-participation a{display:block;border-top:2px solid #c3d4c2;padding:18px 0}.profile-participation a strong{font-size:16px;display:block;margin-bottom:8px}.profile-participation a span{font-size:13px;line-height:1.85;color:var(--muted)}.lounge-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 28px}.lounge-heading .back-link{margin-bottom:14px}.lounge-heading h1{font-size:35px;line-height:1.4;margin-bottom:17px}.lounge-heading p{font-size:15px;color:var(--muted);line-height:1.85}.system-welcome-note{font-size:14px;line-height:1.9;background:#ecf4ec;padding:18px 22px;border-radius:13px;color:#647b63}.system-welcome-note>span{font-size:11px;color:var(--accent);margin-right:13px;font-weight:650}.lounge-room{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:44px 0}.welcome-person{position:relative;min-width:0;scroll-margin-top:35px}.person-avatar{display:flex;flex-direction:column;align-items:center;position:relative;margin-bottom:20px;gap:13px}.person-avatar img{width:120px;height:120px;object-fit:cover;border-radius:34px}.welcome-first{font-size:11px;background:#e9f3e6;color:#557349;padding:5px 10px;border-radius:12px}.person-identity{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.person-identity>strong{font-size:18px}.person-identity>time{font-size:11px;color:var(--muted)}.person-interests{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;min-height:37px;margin:6px 0 13px}.person-interests>span{font-size:11px;color:#708571}.welcome-speech{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px 25px;margin-top:12px;min-height:165px}.welcome-speech:before{content:'';position:absolute;top:-7px;left:calc(50% - 7px);width:12px;height:12px;background:white;border-top:1px solid var(--line);border-left:1px solid var(--line);transform:rotate(45deg)}.welcome-speech p{font-size:16px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}.welcome-speech>a{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;min-height:44px;margin-top:6px;text-decoration:underline;text-underline-offset:3px}.person-actions{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 5px}.welcome-wave{display:flex;gap:8px;align-items:center;font-size:13px;background:#eef4ec;color:#4c6c45;border:1px solid #dce7d8;border-radius:20px;padding:8px 13px;min-height:44px}.welcome-wave>span{font-size:20px}.welcome-wave.is-reacted{background:#215b46;color:#fff;border-color:#215b46}.welcome-wave:active>span{animation:welcome-wave .35s ease-in-out}.welcome-reaction-count{font-size:13px;color:#76866f;min-height:44px;display:flex;align-items:center}.welcome-login{font-size:12px;color:var(--accent);min-height:44px;display:inline-flex;align-items:center}.welcome-conversation{border-top:1px solid var(--line);padding:4px 5px}.welcome-conversation summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;color:#50634e;list-style:none}.welcome-conversation summary>span{font-size:11px;color:var(--muted)}.welcome-conversation summary:after{content:'+';font-size:20px;color:#81927b;margin-left:10px}.welcome-conversation[open] summary:after{content:'−'}.welcome-comments{margin:8px 0 17px}.welcome-comment{padding:15px 0;border-bottom:1px solid var(--line)}.welcome-comment strong{font-size:13px}.welcome-comment p{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:7px 0}.welcome-comment time{font-size:10px;color:var(--muted)}.welcome-comment-empty{font-size:13px;color:var(--muted);padding:10px 0}.welcome-conversation form .button{margin-top:11px;font-size:13px;min-height:44px}.welcome-conversation [role=status],.welcome-profile-page [role=status]{font-size:13px;line-height:1.8;margin-top:10px}.lounge-empty{padding:55px 30px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;margin:25px 0}.lounge-empty h2{font-size:24px}.lounge-empty p{max-width:450px;margin:18px auto 24px;line-height:1.9;color:var(--muted);font-size:14px}.lounge-empty .button{margin:5px}.lounge-disclosure{font-size:12px;line-height:1.9;color:var(--muted);margin-top:40px}.existing-photo{display:flex;gap:9px;align-items:center;min-height:44px;margin-top:20px;font-size:14px}.welcome-error{padding:25px 0}.welcome-error h1{font-size:27px;margin-bottom:17px}.welcome-error p{margin:15px 0 25px;color:var(--muted)}
@keyframes welcome-wave{0%,100%{transform:rotate(0)}50%{transform:rotate(18deg)}}
@media(max-width:1000px){.lounge-room{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px}.lounge-heading h1{font-size:31px}}
@media(max-width:720px){.welcome-profile-heading{padding-right:0;margin-bottom:24px}.profile-optional{font-size:12px}.welcome-profile-heading h1{font-size:28px;margin:11px 0 15px}.welcome-profile-heading p{font-size:14px}.profile-skip{position:static;display:inline-flex;margin-top:10px;font-size:13px}.welcome-profile-form{padding:23px 20px;border-radius:15px}.profile-preview{gap:17px;padding-bottom:23px;margin-bottom:25px}.profile-preview>img{width:78px;height:78px;flex-basis:78px;border-radius:23px}.profile-preview strong{font-size:19px}.profile-preview p{font-size:12px;line-height:1.9}.profile-preview>div>span{font-size:10px}.welcome-profile-form legend{font-size:18px}.avatar-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 5px}.avatar-choice-grid label>span{padding:5px 3px;border-radius:14px}.avatar-choice-grid img{border-radius:12px}.avatar-choice-grid label>span>span{font-size:11px}.profile-upload{padding:15px;margin-top:20px}.profile-upload label{font-size:13px}.profile-upload p{font-size:11px}.interest-choice-grid{gap:8px}.interest-choice-grid span{font-size:13px;padding:10px 13px}.profile-bio-label{font-size:17px}.profile-bio-label span{display:block;margin:6px 0 0;font-size:12px}.profile-form-actions{gap:17px;flex-wrap:wrap}.profile-form-actions .button{font-size:13px}.profile-form-actions>a{font-size:12px}.profile-saved{font-size:13px;padding:16px 18px}.profile-public-step{padding:24px 20px;border-radius:15px}.profile-public-step h2{font-size:22px;line-height:1.6}.profile-public-step>div>p{font-size:13px}.public-consent{font-size:12px;line-height:1.9}.profile-participation h2{font-size:23px}.profile-participation>div{display:block}.profile-participation a{padding:19px 0}.profile-participation a strong{font-size:16px}.profile-participation a span{font-size:13px}.lounge-heading{display:block;margin-bottom:24px}.lounge-heading h1{font-size:29px;line-height:1.45;margin-bottom:16px}.lounge-heading p{font-size:14px}.lounge-heading .button{margin-top:19px;font-size:13px}.system-welcome-note{font-size:13px;padding:18px;line-height:1.9}.system-welcome-note>span{display:block;margin-bottom:6px}.lounge-room{display:block;margin-top:34px}.welcome-person{margin:0 0 39px;padding-bottom:24px;border-bottom:1px solid var(--line)}.person-avatar img{width:110px;height:110px;border-radius:31px}.person-avatar{margin-bottom:17px}.person-identity>strong{font-size:18px}.welcome-speech{border-radius:22px;padding:23px 24px;min-height:0}.welcome-speech p{font-size:16px;line-height:1.85}.person-actions{padding:12px 0}.welcome-conversation{padding:4px 0}.welcome-conversation summary{font-size:14px;min-height:47px}.welcome-comment p{font-size:14px}.lounge-disclosure{font-size:11px}.lounge-empty{padding:32px 22px;border-radius:15px}.lounge-empty h2{font-size:23px}.lounge-empty p{font-size:13px;line-height:1.9}}
@media(prefers-reduced-motion:reduce){.welcome-lounge *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.profile-photo-setting{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 27px}
/* indigo card look for the greeting lounge (tokens come from the layout) */
.lounge-heading h1{font-size:30px}
.system-welcome-note{background:#eef3ff;color:#3f4d73}
.system-welcome-note>span{color:var(--ix-primary,#3563f0)}
.lounge-room{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin:28px 0 36px;align-items:start}
.welcome-person{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 22px 8px;box-shadow:0 2px 10px rgba(53,99,240,.06)}
.person-avatar{margin-bottom:12px;gap:10px}
.person-avatar img{width:88px;height:88px;border-radius:50%;box-shadow:0 0 0 4px #eef3ff}
.welcome-first{background:#eef3ff;color:var(--ix-primary-dark,#2748c9);font-weight:650}
.person-interests{margin:4px 0 12px;min-height:0}
.person-interests>span{font-size:11px;color:var(--ix-primary-dark,#2748c9);background:#eef3ff;border-radius:999px;padding:3px 9px}
.welcome-speech{background:#f4f7ff;border:0;border-radius:14px;padding:18px 18px 8px;margin-top:10px;min-height:0}
.welcome-speech:before{background:#f4f7ff;border:0;top:-6px}
.welcome-speech p{font-size:15px;line-height:1.75;white-space:pre-line}
.welcome-speech>a{color:var(--muted)}
.welcome-wave{background:#eef3ff;color:var(--ix-primary-dark,#2748c9);border:1px solid #d9e3ff}
.welcome-wave.is-reacted{background:var(--ix-primary,#3563f0);border-color:var(--ix-primary,#3563f0);color:#fff}
.welcome-conversation summary{color:var(--ink)}
.welcome-conversation summary:after{color:var(--muted)}
.welcome-archive>h2{font-size:20px;margin-top:8px}
.welcome-archive>p{font-size:13px;color:var(--muted);margin:4px 0 14px}
.person-identity .author-identity .avatar-deco{display:none}
.welcome-handle-form{display:grid;gap:8px;margin-top:16px}
.welcome-handle-form label span,.welcome-handle-form p{font-size:13px;color:var(--muted)}
.welcome-handle-current{margin-top:16px}
.public-profile .public-intro{margin:6px 0 0;font-size:15px;color:var(--ink,#191f28)}
.public-profile .public-meta{margin:4px 0 0;font-size:13px;color:var(--muted)}
.handle-field{display:flex;align-items:center;gap:6px}.handle-field b{font-size:18px;color:var(--muted)}.handle-field input{flex:1;min-width:0}
.profile-edit-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;margin:0 0 20px}.profile-edit-head h1{margin:0;font-size:22px}
.pe-links{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px}.pe-links a{color:var(--ix-primary,#3563f0);text-decoration:none;font-weight:600}.pe-links span{font-weight:400;color:var(--muted);font-size:12px}

/* profile page: SNS-style header + owner edit button */
.public-profile-heading{display:flex;align-items:flex-start;gap:20px}.public-profile-heading .pp-main{min-width:0;flex:1}
.public-profile .pp-main h1{margin:2px 0 0;font-size:26px}.public-profile .pp-handle{margin:2px 0 0;font-size:14px;color:var(--muted)}
.public-profile .public-intro{margin:10px 0 0;font-size:15px;line-height:1.6;color:var(--ink,#191f28);overflow-wrap:anywhere}.public-profile .public-intro-empty{color:var(--muted)}
/* pencil icons + small edit sheets */
.pp-avatar{position:relative;flex:none}
.pp-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pp-line h1{margin:0}.pp-intro-line{margin-top:10px;align-items:flex-start}.pp-intro-line .public-intro{margin:0;flex:0 1 auto}.pp-interests{margin-top:12px}
.pp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.pp-chips li{padding:3px 11px;border-radius:999px;background:#eef3ff;color:var(--ix-primary-dark,#2748c9);font-size:13px;font-weight:600}
.profile-sheet{padding:0;border:0;border-radius:20px;width:min(460px,calc(100vw - 32px));max-height:min(86vh,760px);background:#fff;color:var(--ink,#191f28);box-shadow:0 24px 64px rgba(25,31,40,.28);overflow-y:auto;overscroll-behavior:contain}
.profile-sheet::backdrop{background:rgba(25,31,40,.5)}.profile-sheet[open]{display:block}
.ps-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #eef0f4;background:#fff;position:sticky;top:0;z-index:2}
.ps-head h2{margin:0;font-size:16px}.ps-cancel,.ps-done{border:0;background:none;font:inherit;font-size:15px;cursor:pointer;padding:6px 4px}.ps-cancel{color:var(--muted,#6b7684)}.ps-done{color:var(--ix-primary,#3563f0);font-weight:700}
.ps-body{padding:18px 20px 22px}
.ps-avatar{text-align:center}.ps-avatar .profile-preview{display:flex;justify-content:center;margin-bottom:6px}.ps-avatar .profile-preview img{width:96px;height:96px;border-radius:50%;object-fit:cover}
.ps-hint{margin:8px 0 0;font-size:13px;color:var(--muted)}
.ps-avatar .avatar-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ps-avatar .avatar-choice-grid img{width:56px;height:56px}
.ps-label{display:flex;justify-content:space-between;margin:0 4px 8px;font-size:13px;color:var(--muted)}.ps-count{font-size:12px}
.ps-body textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line,#e5e8eb);border-radius:12px;font:inherit;font-size:16px;line-height:1.6;resize:vertical}
.ps-body .profile-interest-options{margin:0;border:0;padding:0}
.ps-photo-delete{padding:0 20px 18px;text-align:center}.ps-link-danger{border:0;background:none;color:#b42318;font:inherit;font-size:13px;cursor:pointer;padding:6px 0 0;text-decoration:underline}
html.ps-lock{overflow:hidden}
@media(max-width:640px){
 .profile-sheet{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:20px 20px 0 0;max-height:92dvh}
 .public-profile-heading{gap:14px}.public-profile .pp-main h1{font-size:22px}
}
.ps-avatar .profile-upload{margin:16px 0 0;padding:12px 14px;border-radius:12px;background:#f4f7ff;text-align:left}
.ps-avatar .profile-upload>label:first-child{display:block;margin-bottom:8px;font-size:14px;font-weight:650}
.ps-avatar .profile-upload>label:first-child input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.ps-avatar .profile-upload input[type=file]{width:100%;font-size:13px}
.ps-avatar .profile-upload input[type=file]::file-selector-button{margin-right:10px;padding:7px 14px;border:1px solid #cfd8ff;border-radius:999px;background:#fff;color:var(--ix-primary-dark,#2748c9);font:inherit;font-weight:650;cursor:pointer}
.ps-avatar .profile-upload p{margin:8px 0 0;font-size:12px;color:var(--muted)}
.ps-avatar .existing-photo{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:12px;font-size:14px}.ps-avatar .existing-photo img{border-radius:50%}
.ps-input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line,#e5e8eb);border-radius:12px;font:inherit;font-size:16px}.ps-label-gap{margin-top:14px}.ps-status{margin:10px 0 0;font-size:13px;color:var(--muted)}.ps-status.is-error{color:#b42318}
body.auction-ui .public-profile-heading>.pp-avatar{flex:0 0 auto}
.pp-edit{display:block;width:100%;margin:6px 0 22px;padding:11px 0;border:1px solid var(--line,#d6dbe3);border-radius:12px;background:#fff;color:var(--ink,#191f28);font-weight:650;cursor:pointer}.pp-edit:hover{background:#f7f9ff;border-color:#cfd8ff}
.public-profile .pp-chips{margin-top:12px}
.ps-rows{padding:6px 8px 14px}.ps-rowbtn{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:14px 12px;border:0;border-bottom:1px solid #f0f2f5;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
button.ps-rowbtn:hover,a.ps-rowbtn:hover{background:#f7f9ff}.ps-rowbtn .ps-k{flex:0 0 56px;font-size:13px;color:var(--muted)}.ps-rowbtn .ps-v{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.ps-rowbtn .ps-dim{color:var(--muted)}.ps-rowbtn i{font-style:normal;color:#aab3c0;font-size:20px}.ps-rowstatic{cursor:default}.ps-lock{font-style:normal;font-size:12px;color:var(--muted)}
.ps-rowbtn-photo img{width:56px;height:56px;border-radius:50%;object-fit:cover}.ps-rowtxt{flex:1;display:flex;flex-direction:column;gap:2px}.ps-rowtxt em{font-style:normal;font-size:12px;color:var(--muted)}
.ps-side{width:48px}
html body.auction-ui .public-profile a.button.pp-message{display:inline-block;width:auto;padding:10px 22px;background:#3563f0;border-color:#3563f0;color:#fff;text-align:center;text-decoration:none}
html body.auction-ui .public-profile a.button.pp-message:hover{background:#2748c9;border-color:#2748c9;color:#fff}
.public-profile .pp-roles{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
html body.auction-ui .public-profile .pp-roles .author-role{padding:3px 11px;border-radius:999px;background:var(--ix-variant,#eef2ff);color:var(--ix-primary-dark,#2748c9);font-size:13px;font-weight:700;line-height:1.5}
