/* Native ProfileSettingsScreen / SettingsProfileCard dimensions and hierarchy. */
.linked-page #preferences.native-settings{width:min(520px,100vw);max-width:100vw;max-height:var(--shumim-visible-height,100dvh);padding:0;border:1.5px solid var(--line);border-radius:21px 17px 21px 16px;background:var(--forest);color:var(--cream);overflow-y:auto}
.native-settings>.dialog-heading{margin:0;padding:10px 14px;background:var(--chrome);border-bottom:1.5px solid var(--line);position:sticky;top:0;z-index:1}.native-settings>.dialog-heading h2{font-size:26px}.native-settings>.dialog-heading button{min-width:48px;min-height:48px}
.linked-page .native-settings .preference-row{margin:0}.linked-page .native-profile-card{padding:16px}.linked-page .native-own-mood{color:var(--cream)}
.linked-page .native-avatar-picker{top:var(--shumim-visible-top,0px);max-height:var(--shumim-visible-height,100dvh)}
@media(max-width:600px){.linked-page #preferences.native-settings{top:var(--shumim-visible-top,0px);bottom:auto;width:100%;height:var(--shumim-visible-height,100dvh);max-height:var(--shumim-visible-height,100dvh);margin:0;border:0;border-radius:0;padding-bottom:var(--native-safe-bottom)}.linked-page .native-settings>.dialog-heading{padding-top:calc(10px + var(--native-safe-top))}.linked-page .native-avatar-picker{height:var(--shumim-visible-height,100dvh)}}
.primary-page .native-settings{width:min(520px,100vw);max-width:100vw;padding:0;border:1.5px solid var(--line);border-radius:21px 17px 21px 16px;background:var(--forest);color:var(--cream)}
.native-settings>header{margin:0;padding:10px 14px;background:var(--chrome);border-bottom:1.5px solid var(--line);position:sticky;top:0;z-index:1}.native-settings>header h2{font-size:26px}.native-settings>header button{min-width:48px;min-height:48px}
.native-settings-content{display:flex;flex-direction:column;gap:10px;padding:16px 18px}.native-profile-card{display:flex;align-items:center;gap:14px;padding:16px;border:1.5px solid var(--cream);border-radius:21px 17px 21px 16px;background:var(--incoming)}
.native-profile-card .native-own-avatar{width:66px;min-width:66px;height:66px;min-height:66px;padding:0;border:0;border-radius:50%;overflow:hidden;background:var(--surface)}.native-own-avatar img{width:100%;height:100%;object-fit:cover}
.native-profile-card .native-own-name{flex:1;min-width:0;text-align:start;border:0;background:none;padding:0;color:inherit}.native-own-name strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:25px;line-height:1.2}.native-own-name span{display:block;font-size:14px;color:var(--muted);margin-top:3px}
.native-settings-label{margin:3px 4px;font-size:11px;letter-spacing:1px;font-weight:700;color:var(--muted)}.native-profile-status:empty{display:none}.native-profile-status{font-size:14px;line-height:1.4;margin:0}
.native-profile-edit{width:min(440px,calc(100vw - 36px));max-width:calc(100vw - 36px);height:fit-content;position:fixed;top:var(--shumim-visible-top,0px);bottom:calc(100dvh - var(--shumim-visible-top,0px) - var(--shumim-visible-height,100dvh));margin:auto;max-height:min(88dvh,calc(var(--shumim-visible-height,100dvh) - 24px));overflow:auto;padding:20px;border:1.5px solid var(--cream);border-radius:24px 17px 23px 18px;background:var(--incoming);color:var(--cream);font-family:Play,sans-serif;box-shadow:0 8px 24px #0004}
.native-profile-edit form{display:grid;gap:12px}.native-profile-edit h2,.native-profile-edit p{margin:0}.native-profile-edit label{display:grid;gap:6px}.native-profile-edit input{width:100%;min-width:0;font-size:18px}.native-profile-edit p{font-size:14px;line-height:1.5}.native-profile-edit h2{margin:-20px -20px 8px;padding:20px;background:var(--outgoing);border-bottom:1.5px solid var(--cream);font-size:22px;line-height:28px}.native-profile-edit input:not([type=radio]):not([type=checkbox]){background:var(--incoming);color:var(--cream);border:1.5px solid var(--line);border-radius:12px;padding:12px}.native-profile-edit button{position:relative;isolation:isolate;min-height:48px;padding:12px 16px;border:0;border-radius:0;background:var(--cream);color:var(--incoming);font:700 16px/22px Play,sans-serif;clip-path:polygon(6px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 6px),calc(100% - 6px) 100%,3px 100%,0 calc(100% - 3px),0 6px)}.native-profile-edit button.secondary{font-weight:400;color:var(--cream)}.native-profile-edit button.secondary:before{content:'';position:absolute;inset:1px;z-index:-1;background:var(--incoming);clip-path:polygon(5px 0,calc(100% - 2px) 0,100% 2px,100% calc(100% - 5px),calc(100% - 5px) 100%,2px 100%,0 calc(100% - 2px),0 5px)}.native-profile-edit button:focus-visible{outline:0;text-decoration:underline;text-underline-offset:4px}.native-profile-edit::backdrop{background:#0007}.native-profile-edit [role=status]:empty{display:none}
.native-settings .native-own-mood{display:flex;align-items:center;gap:14px;width:100%;text-align:start;padding:14px 16px;background:var(--incoming);color:var(--cream);border:1.5px solid var(--cream);border-radius:21px 17px 21px 16px}
.native-own-mood>span:nth-child(2){flex:1;min-width:0}.native-own-mood small{display:block;font-size:14px;font-weight:400;color:var(--muted)}.native-own-mood strong{display:block;margin-top:3px;font-size:19px;font-weight:400}.native-own-mood small:last-child{margin-top:3px;font-size:12px}.native-own-mood .native-mood-symbol{font-size:29px}.native-mood-chevron{font-size:28px}
.native-mood-picker{max-height:min(88dvh,calc(var(--shumim-visible-height,100dvh) - 24px));overflow-y:auto}.native-mood-choices{display:flex;flex-direction:column;gap:4px;max-height:360px;overflow-y:auto;overscroll-behavior:contain}.native-mood-picker .native-mood-option{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;border-radius:12px;cursor:pointer;font-size:16px;color:var(--cream)}
.native-mood-option:has(:checked){background:var(--sage-wash,rgba(100,140,120,.16))}.native-mood-picker input[type=radio]{width:24px;height:24px;min-width:24px;margin:0;accent-color:var(--sage)}.native-mood-option span{flex:1;min-width:0}
@media(max-width:600px){.primary-page .native-settings{height:100%;max-height:100dvh;margin:0;border:0;border-radius:0;overflow-y:auto;padding-bottom:env(safe-area-inset-bottom)}.native-settings>header{padding-top:calc(10px + env(safe-area-inset-top))}.native-settings-content{padding-bottom:20px}}
