/* Preview requested by the owner: classic profile layout with responsive dimensions. */
.profile-overlay{padding:5px;box-sizing:border-box}.profile-window{width:min(578px,calc(100vw - 10px));min-width:0;max-width:calc(100vw - 10px);max-height:96dvh;box-sizing:border-box;overflow:hidden;background:#efefef}.profile-window:not(.diamond-profile-window){border-color:#915d4a;background:#eee;box-shadow:inset 0 0 0 1px #b89273,0 8px 30px #0006}.profile-window:not(.diamond-profile-window) .profile-title{background:#e4cfcc;color:#363030;font:13px Tahoma;min-height:24px}.profile-window:not(.diamond-profile-window) .profile-title button{background:#b71920;color:white;border:0;width:20px;height:20px;border-radius:2px;font:bold 18px Arial}.profile-scroll{overflow-x:hidden;overflow-y:auto;min-width:0}.profile-cover{height:290px;padding:95px 24px 20px;box-sizing:border-box;isolation:isolate}.profile-cover-blur{background-position:center!important;background-size:cover!important;filter:blur(13px) brightness(.58)!important;transform:scale(1.08);z-index:-1}.profile-cover::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;box-shadow:inset 0 0 10px 4px #fff9}.profile-identity{position:relative;height:100%;min-height:0;box-sizing:border-box;padding:70px 10px 14px;justify-content:center;border:2px solid #e2c122;border-bottom-color:#fff;color:white;gap:6px}.profile-photo{width:138px;height:138px;top:-70px;box-sizing:border-box;border:2px solid #e7c700;background:white}.profile-identity h2{font:bold 22px Tahoma;text-shadow:0 1px 2px #0005;max-width:100%;overflow-wrap:anywhere}.profile-identity p{font:14px Tahoma;line-height:1.5;min-height:20px;max-width:100%}.profile-tabs{margin:8px 9px 0;height:44px;border:1px solid #343434;direction:rtl;flex:none;box-shadow:0 2px 6px #0002}.profile-tabs button{min-width:0;padding:5px;font:bold 14px Tahoma}.profile-window:not(.diamond-profile-window) .profile-tabs button.selected{background:linear-gradient(#d8b5b3,#c29191);color:white;box-shadow:0 1px 5px #7776}.profile-pane{padding:20px 14px 22px;min-height:0;box-sizing:border-box}.profile-statistics{gap:5px;margin:0 0 14px;grid-template-columns:repeat(4,minmax(0,1fr))}.profile-statistics>div{min-height:86px;font:12px Tahoma;gap:6px;padding:4px 0}.profile-statistics b{color:#398c2c;font-size:13px}.profile-message-label{text-align:right;margin:12px 0 6px;color:#777}.profile-message{min-height:68px;padding:12px;font:14px/1.6 Tahoma;box-sizing:border-box}.profile-info-card{height:300px;padding:32px 48px 55px;box-sizing:border-box;border-radius:24px}.profile-info-card p{font-size:18px}.profile-info-symbol{background-image:none!important;width:auto;height:76px;font-size:56px;line-height:76px;text-align:center}.profile-info-symbol::before{content:'🪪'}.profile-info-card[data-info=gender] .profile-info-symbol::before{content:'⚥'}.profile-info-card[data-info=birthday] .profile-info-symbol::before{content:'🎂'}.profile-info-card[data-info=nationality] .profile-info-symbol::before{content:'🚩'}.profile-info-card[data-info=city] .profile-info-symbol::before{content:'📍'}.profile-info-card[data-info=relationship] .profile-info-symbol::before{content:'♥'}.profile-info-card[data-info=work] .profile-info-symbol::before{content:'💼'}.profile-info-nav{gap:7px;max-width:100%}.profile-info-nav button{background:none!important;min-width:24px;width:29px;height:30px;font:20px Arial;opacity:.6;border:0}.profile-info-nav button.selected{opacity:1;border-bottom:2px solid white}.profile-info-nav button::before{content:attr(data-symbol)}.info-arrow{border-radius:50%;border:0;background:#fffddd;color:#796e97;width:36px;height:36px;font:28px Arial}
#profilePhotos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-content:start;padding:18px 13px}#profilePhotos[hidden]{display:none!important}#profilePhotos>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;min-width:0;cursor:pointer}#profilePhotos>button,#profilePhotos>p{grid-column:1/-1}#profileSocialLinks{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:18px 0 0}#profileSocialLinks[hidden]{display:none}.profile-social-link{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:8px;font:bold 31px Arial;color:white!important;text-decoration:none!important;box-shadow:0 1px 3px #0003}.social-facebook{background:linear-gradient(#6395db,#265b9f)}.social-youtube{background:#ed3229;font-size:25px}.social-instagram{background:radial-gradient(at bottom left,#ffc947,#e42d70 50%,#5944b7)}.social-twitter{background:#259be3;font-size:25px}.social-tiktok{background:#111;text-shadow:-1px 0 #25f4ee,1px 0 #fe2c55}
.profile-editor{font:13px/1.5 Tahoma;padding:12px;box-sizing:border-box;direction:rtl}.profile-editor label{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;align-items:center;margin:7px 0}.profile-editor input,.profile-editor textarea{width:100%;min-width:0;border:1px solid #a8a8a8;border-radius:0;background:white;padding:6px;font:13px Tahoma;box-sizing:border-box}.profile-editor input:disabled{background:#eee;color:#777}.profile-editor input[type=file]{font-size:11px}.profile-editor input[type=checkbox]{width:15px;height:15px;flex:none}.profile-editor textarea{min-height:88px}.profile-editor button{font:13px Tahoma;border:1px solid #bbb;background:linear-gradient(white,#eee);border-radius:3px;padding:8px 12px}.profile-editor footer{position:sticky;bottom:0;background:#d0a29e;display:flex;justify-content:flex-start;gap:10px;padding:8px;z-index:2}.profile-editor footer button{min-width:85px}.profile-editor #profileSocialEditor{border:1px solid #ccc;margin:12px 0;padding:10px}.profile-editor #profileSocialEditor label{display:grid;grid-template-columns:16px 76px minmax(0,1fr);gap:6px;direction:ltr}.profile-editor #profileSocialEditor legend{font-size:12px}#profileEditTabs{display:flex;gap:2px;margin:-10px -10px 14px;padding:4px;background:#e4cfcc;border-bottom:1px solid #9a6c61;position:sticky;top:0;z-index:2}#profileEditTabs button{flex:1;min-width:0;padding:7px;font-size:12px}#profileEditTabs button.selected{background:#fff}.profile-editor .profile-media-preview{max-width:100%}.profile-editor #backgroundGallery{max-height:180px;overflow:auto}
#people .person.has-name-background:not([data-diamond=true]) .person-identity{background-size:cover!important;background-position:center!important;image-rendering:auto}
@media(max-width:600px){.profile-cover{height:215px;padding:70px 18px 14px}.profile-photo{width:102px;height:102px;top:-52px}.profile-identity{padding:50px 8px 10px}.profile-identity h2{font-size:18px}.profile-identity p{font-size:12px}.profile-tabs{height:36px;margin-inline:6px}.profile-tabs button{font-size:12px}.profile-pane{padding:18px 12px;min-height:0}.profile-statistics>div{font-size:10px;min-height:79px}.profile-statistics .profile-stat-icon{transform:scale(.85);transform-origin:center}.profile-info-card{height:300px;padding-top:28px}.profile-editor{padding:10px}.profile-editor label{grid-template-columns:82px minmax(0,1fr);gap:5px}.profile-editor #profileSocialEditor{padding:6px}.profile-editor #profileSocialEditor label{grid-template-columns:15px 62px minmax(0,1fr)}.profile-editor #profileSocialEditor input[type=url]{font-size:11px}.profile-social-link{width:34px;height:34px;font-size:28px}}
.profile-editor .profile-editor-actions{position:sticky;bottom:0;background:#d0a29e;display:flex;gap:8px;padding:8px;z-index:2}.profile-editor .profile-editor-actions button{min-width:90px}

.profile-editor #editProfileMood{min-height:28px;height:28px}.profile-editor p:empty{display:none}.profile-editor #profileMediaEditor h3{font-size:12px;margin:5px 0}.profile-editor #profileMediaEditor{margin:10px 0}.profile-editor #profileMediaEditor .profile-media-preview{display:none}.profile-editor label input{padding:4px}.profile-editor #backgroundSection[hidden]{display:none!important}

.profile-editing .profile-cover,.profile-editing .profile-tabs,.profile-editing #editProfileBtn,.profile-editing>.profile-footer{display:none!important}.profile-editing .profile-editor{padding:10px}.profile-editing .profile-editor>p{font-size:12px;margin:6px 0}.profile-editing #profileEditTabs{margin:0 -6px 10px}.profile-editing .profile-editor label{margin-block:5px}.profile-editing .profile-editor input{padding:4px}.profile-editing .profile-editor #profileSocialEditor{margin-block:9px}.profile-editing .profile-editor textarea{min-height:78px}

#profileInfoSymbol{width:84px;height:80px}#profileInfoSymbol::before,.profile-info-nav button::before{content:none!important}

#messages .bubble .bubble-content{flex:1 1 0!important;min-width:0!important;max-width:none!important;width:auto!important}
/* Full-width translucent silver author strip, independent of personal profiles. */
#messages .bubble .bubble-content>.name-tag,#messages .bubble .name-tag.speaker-name{display:flex!important;align-items:center;width:100%!important;max-width:none!important;box-sizing:border-box;background:transparent!important;background-image:none!important;border-radius:3px!important;box-shadow:none!important}

/* Every room action shares the entry/exit timeline layout. */
#messages .room-event{--event-color:#527c8e;--event-tint:#eff6fa;display:flex!important;align-items:center;justify-content:center;gap:8px;direction:rtl;width:fit-content;max-width:calc(100% - 16px);box-sizing:border-box;margin:12px auto;padding:7px 11px;border:1px solid #cbd6de;border:1px solid color-mix(in srgb,var(--event-color) 34%,white);border-radius:20px;background:linear-gradient(100deg,var(--event-tint),#fff);color:var(--event-color);font:13px/1.5 Tahoma;text-align:center;animation:room-presence-in .25s ease-out}
#messages .room-event-enter,#messages .room-event-unsuspend,#messages .room-event-restriction-unmute{--event-color:#237c40;--event-tint:#e8f7eb}
#messages .room-event-exit{--event-color:#ba3344;--event-tint:#fff0f1}
#messages .room-event-renew{--event-color:#187ea1;--event-tint:#e7f5fb}
#messages .room-event-withdraw,#messages .room-event-suspend,#messages .room-event-restriction-mute{--event-color:#a85c20;--event-tint:#fff3e7}
#messages .room-event-unlimited,#messages .room-event-profile,#messages .room-event-poll-close{--event-color:#7950b0;--event-tint:#f3edff}
#messages .room-event-kick,#messages .room-event-ban{--event-color:#b93659;--event-tint:#fff0f4}
#messages .room-event-announcement,#messages .room-event-warning{--event-color:#97600c;--event-tint:#fff7de}
#messages .room-event-poll,#messages .room-event-name-copy{--event-color:#416ab3;--event-tint:#edf3ff}
#messages .room-presence-icon{width:25px;height:25px;flex:none;object-fit:contain}
#messages .room-presence-label{font-size:11px;white-space:nowrap;padding:2px 7px;background:var(--event-color);color:white;border-radius:10px}
#messages .room-presence-name{min-width:0;overflow-wrap:anywhere;unicode-bidi:plaintext;font-weight:bold;white-space:pre-wrap}
#messages .room-event-time{font:10px Tahoma;color:#718079;white-space:nowrap;flex:none}
@keyframes room-presence-in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#messages .room-event{animation:none}}
