/* CRYOTALE PERSONAL PROFILE V1: scoped enhancements only. */
#account-initial{cursor:pointer;padding:0;overflow:hidden}#account-initial img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
#account-initial:hover{border-color:#93faff;box-shadow:0 0 15px #7ae6f244}#account-initial:focus-visible{outline:2px solid #85f1f6;outline-offset:3px}
.profile-link{color:inherit;text-decoration:none;cursor:pointer}.profile-link:hover strong{text-decoration:underline;color:#b3fcff}
.message.user .profile-display-name{font-size:11px;color:#b7ddf2;font-weight:700;margin-bottom:7px;text-align:right;overflow-wrap:anywhere}
.message.user .profile-user-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;overflow:hidden;border-radius:13px;background:linear-gradient(135deg,#1e7184,#244a79);border:1px solid #75e2ed66;color:#f0fdff;font-weight:800;font-size:16px;align-self:flex-start}
.message.user .profile-user-avatar img{height:100%;width:100%;object-fit:cover}
@media(max-width:650px){.message.user .profile-user-avatar{width:32px;height:32px;flex-basis:32px;border-radius:10px}.message.user{gap:7px}.message.user .message-content{max-width:calc(100% - 42px)}}
/* Sidebar and chat-top account controls; isolated from character selector. */
#account-initial .profile-sidebar-avatar{width:100%;height:100%;display:grid;place-items:center;overflow:hidden}
#account-initial .profile-sidebar-avatar img{width:100%;height:100%;object-fit:cover}
.profile-top-wrap{position:relative;flex:0 1 auto;min-width:0;margin-left:auto}
.profile-top-toggle{display:flex;align-items:center;gap:9px;max-width:175px;min-width:44px;height:45px;padding:5px 10px;border:1px solid rgba(110,197,232,.31);border-radius:13px;background:rgba(14,45,68,.86);color:#dff5ff;cursor:pointer}
.profile-top-toggle:hover,.profile-top-toggle:focus-visible{border-color:#83e9f1;outline-color:#83e9f1}
.profile-top-avatar{height:33px;width:33px;border-radius:10px;flex:0 0 33px;background:linear-gradient(135deg,#19566c,#3c5485);display:grid;place-items:center;font-weight:750;overflow:hidden}
.profile-top-avatar img{width:100%;height:100%;object-fit:cover}
.profile-top-name{font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.profile-chevron{font-size:16px;color:#8ac6d9}
.profile-top-menu{position:absolute;z-index:40;right:0;top:calc(100% + 10px);width:190px;padding:7px;background:#0d253b;border:1px solid #507e9e;border-radius:15px;box-shadow:0 18px 40px #0008}
.profile-top-menu[hidden]{display:none!important}
.profile-top-menu button{width:100%;text-align:left;padding:11px 13px;background:transparent;color:#d6f1ff;border:0;border-radius:9px;cursor:pointer;font-size:13px}
.profile-top-menu button:hover,.profile-top-menu button:focus-visible{background:#244b69}
.profile-top-menu button:last-child{color:#ffa7af;border-top:1px solid #395267;border-radius:0;margin-top:3px}
@media(max-width:950px){.profile-top-name,.profile-chevron{display:none}.profile-top-toggle{padding:5px;min-width:45px;justify-content:center}}
@media(max-width:470px){.profile-top-toggle{min-width:39px;height:39px;padding:3px}.profile-top-avatar{width:31px;height:31px;flex-basis:31px}.topbar{gap:7px!important;padding-left:12px!important;padding-right:12px!important}}
