/* Profile shares JK type scale; the six-photo album is visible without opening settings. */
#phone [data-screen=me] .jk-self-profile{padding:20px;border:1px solid #eee3e7;background:linear-gradient(145deg,#fff,#fcf4f7);border-radius:22px;margin-bottom:20px}
#phone [data-screen=me] .jk-self-profile .jk-profile-hero{display:flex;align-items:center;gap:16px;min-height:0;padding:0;background:transparent;overflow:visible}
#phone [data-screen=me] .jk-self-profile #my-profile-avatar{width:88px;height:110px;flex:0 0 88px;border-radius:17px;font-size:28px}
#phone [data-screen=me] .jk-self-profile .jk-profile-hero>div:last-child{position:static;padding:0;background:none;color:#17171b;min-width:0}
#phone [data-screen=me] .jk-self-profile #my-profile-meta{color:#626269;font-size:14px}
#phone [data-screen=me] #my-profile-title{font-size:23px;line-height:1.35}
#phone [data-screen=me] .jk-profile-intro{font-size:14px;line-height:1.65;margin:12px 0 0;color:#626269}
#phone .jk-profile-album{margin:18px 0 24px}
#phone .jk-profile-album .section-head{align-items:center;gap:10px;margin:0 0 12px}
#phone #my-album-title{margin:0;font-size:18px;line-height:1.4}
#phone #my-album-count{font-size:13px;color:#71717a;margin-left:6px;font-weight:500}
#phone #my-album-status{font-size:12px;line-height:1.5;color:#71717a;margin:4px 0 0}
#phone #my-album-manage{font-size:13px;min-height:44px;white-space:nowrap;padding:10px 12px}
#phone .jk-album-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
#phone .jk-album-tile{position:relative;width:100%;aspect-ratio:1;min-height:44px;overflow:hidden;min-width:0;border:1px solid #e6e2e5;border-radius:11px;padding:0;background:#f6f3f5;color:#817780;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
#phone .jk-album-tile img{width:100%;height:100%;object-fit:cover;display:block}
#phone .jk-album-placeholder{font-size:21px;line-height:1}
#phone .jk-album-tile small{font-size:9px;line-height:1.2}
#phone .jk-album-badge{position:absolute;bottom:3px;left:3px;max-width:calc(100% - 6px);padding:2px 4px;border-radius:5px;background:#17171bdd;color:#fff;font-size:0;line-height:1}
#phone .jk-album-badge::before{content:'★';font-size:11px}
#phone .jk-album-tile:has(.jk-album-placeholder) .jk-album-badge::before{content:'…'}
#phone .jk-album-tile:focus-visible{outline:2px solid #c65578;outline-offset:3px}
#entry-flow[data-profile-mode=edit] .entry-brand,#entry-flow[data-profile-mode=edit] .entry-progress,#entry-flow[data-profile-mode=edit] #jk-story-review-open{display:none!important}
#entry-flow:has([data-entry-step="4"]:not([hidden])) .entry-progress{display:none}
#entry-flow [data-entry-step="4"]{margin:0;width:100%;padding-top:12px}
#entry-flow [data-entry-step="4"] [hidden]{display:none!important}
#entry-flow .jk-profile-edit-head{position:sticky;top:0;z-index:2;background:#fff;padding:6px 0;display:flex;align-items:center;gap:14px;margin:0 0 16px}
#entry-flow .jk-profile-edit-head h2{font-size:23px;line-height:1.4;margin:0;letter-spacing:-.025em}
#entry-flow #profile-cancel{width:auto;min-height:44px;border:1px solid #e7e5e8;border-radius:12px;padding:8px 12px;margin:0;font-size:14px;flex:none;color:#17171b}
#entry-flow [data-entry-step="4"] .entry-label{font-size:14px;line-height:1.5;margin-top:18px;margin-bottom:7px}
#entry-flow [data-entry-step="4"] .entry-label small{font-size:12px;font-weight:400;color:#71717a}
#entry-flow [data-entry-step="4"] .entry-input{font-size:16px;line-height:1.5;border-radius:14px;min-height:48px}
#entry-flow [data-entry-step="4"] p.jk-profile-edit-description{font-size:14px;line-height:1.6;margin-bottom:12px}
#entry-flow #profile-before-talk{padding:12px 13px;resize:vertical}
#entry-flow #profile-intent-open{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
#entry-flow #profile-save{margin:18px 0 8px;min-height:48px;font-size:15px;border-radius:14px}
#entry-flow .jk-profile-extra{margin-top:8px;color:#71717a;font-size:13px}
#entry-flow .jk-profile-extra summary{padding:12px 0;cursor:pointer}
#entry-flow [data-entry-step="4"] .entry-note{font-size:12px;line-height:1.6;margin-top:14px;margin-bottom:12px}
#entry-flow #profile-gate-status{font-size:13px;text-align:left;margin-top:8px}
:is(#profile-intent-dialog,#profile-unsaved-dialog){width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:18px;margin:auto;overflow:auto;box-sizing:border-box;border:1px solid #e4e4e8;border-radius:22px;background:#fff;color:#17171b;color-scheme:light;font:16px/1.5 var(--font-ui);animation:jkProfileArrival .16s ease-out}
:is(#profile-intent-dialog,#profile-unsaved-dialog)::backdrop{background:#18182055}
:is(#profile-intent-dialog,#profile-unsaved-dialog) h2{font-size:18px;line-height:1.5;margin:0}
#profile-intent-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#profile-intent-dialog header button{width:44px;height:44px;flex:none;background:#f4f4f6;color:#17171b;border:0;border-radius:12px;font-size:24px}
.jk-profile-options{display:grid;gap:8px}
.jk-profile-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;border:1px solid #e4e4e8;border-radius:12px;background:#fff;color:#17171b;padding:10px 12px;text-align:left;font:16px/1.5 var(--font-ui)}
.jk-profile-option[aria-pressed=true]{border-color:#cf7d98;background:#faf1f5}
.jk-profile-check{width:20px;height:20px;flex:none;border:1px solid #b7b7bf;border-radius:50%;text-align:center;font-size:13px}
.jk-profile-option[aria-pressed=true] .jk-profile-check{background:#17171b;color:#fff;border-color:#17171b}
#profile-unsaved-dialog p{font-size:14px;color:#626269;line-height:1.6;margin:10px 0 16px}
.jk-profile-confirm-actions{display:grid;gap:10px}
.jk-profile-confirm-actions button{width:100%;min-height:48px;background:#fff;color:#17171b;border:1px solid #e4e4e8;border-radius:12px;font:14px/1.5 var(--font-ui);font-weight:700;padding:10px}
.jk-profile-confirm-actions button:first-child{background:#17171b;color:#fff;border-color:#17171b}
#phone #profile-media-sheet .profile-media-sheet-inner{max-height:85dvh;border-radius:24px 24px 0 0}
#phone #profile-media-sheet :is(button,.profile-media-runtime){font-size:14px}
@keyframes jkProfileArrival{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){:is(#profile-intent-dialog,#profile-unsaved-dialog){animation:none}}
