main:has(.profile-layout) { container-type:inline-size; }
.profile-layout { display:grid; grid-template-columns:1fr; gap:24px; align-items:start; max-width:1200px; margin:auto; }
.profile-layout > * { min-width:0; }
.profile-photo-frame { display:block; width:100%; position:relative; aspect-ratio:4/5; border-radius:8px; overflow:hidden; background:#181b20; }
.profile-photo-frame > img { width:100%; height:100%; object-fit:contain; display:block; }
.profile-no-photo { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; color:#aeb8c3; }
.profile-no-photo .material-symbols-outlined { font-size:48px; }
.profile-photo-count { position:absolute; right:12px; bottom:12px; padding:4px 10px; border-radius:6px; color:#fff; background:#111c; font-size:13px; }
.profile-thumbnails { display:flex; gap:8px; margin-top:12px; overflow-x:auto; padding:3px; }
.profile-thumbnails button, .profile-add-photo { flex:0 0 64px; width:64px; height:80px; border-radius:6px; overflow:hidden; border:2px solid transparent; background:#202329; }
.profile-thumbnails button[aria-pressed="true"] { border-color:#75b6ff; outline:2px solid #75b6ff; outline-offset:1px; }
.profile-thumbnails img { width:100%; height:100%; object-fit:cover; }
.profile-add-photo { display:flex; flex-direction:column; justify-content:center; align-items:center; color:#75b6ff; border:1px dashed #626875; font-size:11px; gap:5px; }
.profile-manage { display:inline-flex; padding:12px 0; color:#75b6ff; min-height:44px; }
.profile-information { display:flex; flex-direction:column; gap:24px; }
.profile-identity { display:flex; flex-direction:column; gap:16px; min-width:0; }
.profile-identity h1 { font-size:30px; line-height:1.2; overflow-wrap:anywhere; }
.profile-intention { align-self:flex-start; font-size:14px; border:1px solid #4778a9; color:#91c5ff; padding:6px 12px; border-radius:6px; }
.profile-actions { display:flex; align-items:start; gap:8px; flex-wrap:wrap; }
.profile-actions a, .profile-actions button, .profile-actions summary { min-height:44px; }
.profile-actions > form:first-child { flex:1; }
.profile-actions .profile-settings { flex:0 0 44px; width:44px; height:44px; }
.profile-about { border-top:1px solid #ffffff20; padding-top:24px; }
.profile-about h2 { font-size:19px; font-weight:600; margin-bottom:12px; }
.profile-about p { line-height:1.65; white-space:pre-line; overflow-wrap:anywhere; }
.profile-details { padding-top:24px; border-top:1px solid #ffffff20; }
.profile-details > div:first-of-type { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; }
.profile-details .mt-auto { margin-top:0; }
.profile-details span { overflow-wrap:anywhere; }
.profile-photo-viewer { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; padding:48px 16px 16px; border:0; background:#0c0d10; color:white; }
.profile-photo-viewer::backdrop { background:#000d; }
.profile-photo-viewer img { width:100%; height:100%; object-fit:contain; }
.profile-photo-viewer button { position:absolute; top:4px; right:8px; width:44px; height:44px; }
@media (min-width:1024px) { #app-shell > main:has(.profile-layout) { max-width:1200px; width:100%; } }
.profile-media { width:100%; max-width:430px; margin-inline:auto; }
@container (min-width:760px) { .profile-layout { grid-template-columns:minmax(0,2fr) minmax(0,3fr); } .profile-media { max-width:none; } }
@media (max-width:600px) { main:has(.profile-layout) { padding-left:16px!important; padding-right:16px!important; } .profile-photo-frame { max-height:38dvh; aspect-ratio:4/5; } .profile-thumbnails button { width:52px; height:64px; flex-basis:52px; } .profile-layout { gap:20px; } .profile-information { gap:20px; } .profile-identity h1 { font-size:26px; } .profile-actions > a:not(.profile-settings) { flex:1; } }
@media (max-width:1023px) { body:has(.profile-layout) .hookie-chat-widget { display:none!important; } }
