/* Rjeti.com v1.9.9 — compact profile tabs and galleries. Scoped styles only. */
.r199-profile{overflow:visible;position:relative}
.r199-profile .profile-cover{border-radius:16px 16px 0 0}
.r199-profile .profile-inner{position:relative}
.r199-profile .profile-head{gap:12px;align-items:center}
.r199-profile .profile-head .r199-identity{min-width:0}
.r199-profile .profile-head h1{overflow-wrap:anywhere}
.r199-joined{margin-top:8px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}
.r199-joined svg{color:var(--red)}
.r199-profile .profile-stats{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.r199-profile .profile-stats a:hover{color:var(--red)}
.r199-mutual{display:inline-flex;align-items:center;gap:6px;color:var(--red);font-size:12px;font-weight:700}
.r199-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.r199-actions{position:relative;z-index:11}
.r199-actions>summary{display:grid;place-items:center;cursor:pointer;list-style:none;width:39px;height:39px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:transparent}
.r199-actions>summary::-webkit-details-marker,.r199-report>summary::-webkit-details-marker{display:none}
.r199-actions>summary:hover,.r199-actions[open]>summary{color:var(--red);border-color:var(--red)}
.r199-menu{position:absolute;right:0;top:calc(100% + 7px);width:min(310px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 45px rgba(0,0,0,.15);padding:7px;z-index:45;color:var(--ink)}
.r199-menu-option{display:flex;align-items:center;text-align:left;gap:9px;padding:11px 10px;width:100%;border:0;border-radius:9px;background:transparent;color:var(--ink);font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.r199-menu-option svg{color:var(--red);flex-shrink:0}
.r199-menu-option:hover,.r199-menu-option:focus-visible{background:var(--red-soft);color:var(--red)}
.r199-block-form{margin:0}.r199-report{margin:0}.r199-report-form{display:flex;flex-direction:column;gap:8px;padding:10px 8px 13px;border-bottom:1px solid var(--line)}
.r199-report-form label{font-size:12px;font-weight:700}.r199-report-form textarea{width:100%;min-height:80px;resize:vertical;border-radius:9px;border:1px solid var(--line);color:var(--ink);background:var(--surface);padding:9px}
.r199-copied{margin:5px 9px;font-size:12px;color:var(--red)}
.r199-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px;gap:5px;margin:0 0 18px;align-items:stretch}
.r199-tab{display:flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 5px;border-radius:10px;color:var(--muted);font-size:13px;font-weight:730;white-space:nowrap;transition:background .14s,color .14s}
.r199-tab svg{flex-shrink:0;color:var(--red)}
.r199-tab:hover{color:var(--red);background:var(--red-soft)}
.r199-tab.active{background:var(--red-soft);color:var(--red)}
.r199-tab.active::after{content:'';position:absolute;bottom:5px;height:2px;width:38px;background:var(--red);border-radius:2px}
.r199-tab{position:relative}
.r199-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 14px}
.r199-section-title h2{display:flex;align-items:center;gap:8px;margin:0;font-size:19px}
.r199-section-title h2 svg{color:var(--red)}
.r199-section-title span{font-size:12px;color:var(--muted)}
.r199-count{display:inline-block;padding:3px 8px;border-radius:15px;background:var(--red-soft);color:var(--red);font-size:12px}
.r199-pin-note{color:var(--red);font-weight:680;font-size:12px;display:flex;align-items:center;gap:6px;margin:0 0 11px}
.r199-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
.r199-friend{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;text-decoration:none}
.r199-friend .avatar{width:54px;height:54px;font-size:16px;border-width:2px}
.r199-friend span:not(.avatar){display:flex;flex-direction:column;min-width:0;flex:1}
.r199-friend strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:13px}
.r199-friend small{overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.r199-friend>svg{color:var(--red)}
.r199-friend:hover{border-color:var(--red)}
.r199-mutual-box{padding:16px;margin-bottom:16px}
.r199-mutual-box h3{font-size:15px;display:flex;align-items:center;gap:8px}.r199-mutual-box h3 svg{color:var(--red)}
.r199-mutual-box .r199-people-grid{margin:0}
.r199-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.r199-media-item{display:block;position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.r199-media-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.r199-media-item:hover img{transform:scale(1.035)}
.r199-video-item{aspect-ratio:16/11;background:#18191c}
.r199-video-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#ff435b;background:linear-gradient(135deg,#18191c,#29242a)}
.r199-play{position:absolute;inset:0;display:grid;place-items:center;color:white;filter:drop-shadow(0 1px 2px #000)}
.r199-play svg{width:47px;height:47px;fill:rgba(237,27,47,.84);stroke:white;border-radius:50%}
.r199-pagination{display:flex;justify-content:center;gap:12px;padding:20px 0}
.r199-about{padding:22px}.r199-about h2{display:flex;align-items:center;gap:9px}.r199-about h2 svg{color:var(--red)}
.r199-about-bio{white-space:normal;overflow-wrap:anywhere;line-height:1.7;padding:16px;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}
.r199-info-row{display:flex;align-items:center;gap:13px;padding:14px 4px;border-bottom:1px solid var(--line)}
.r199-info-row svg{color:var(--red)}.r199-info-row div{display:flex;flex-direction:column;gap:4px}
.r199-info-row small{color:var(--muted)}.r199-info-row strong{color:var(--ink)}
.r199-about-note{font-size:12px;color:var(--muted);margin:19px 0 0}
.r199-empty{text-align:center;padding:55px 16px;color:var(--muted)}
.r199-empty svg{color:var(--red);margin-bottom:14px}.r199-empty h3{color:var(--ink);margin:0 0 8px}.r199-empty p{margin:0}
body[data-theme="dark"] .r199-menu,body[data-theme="dark"] .r199-about-bio,body[data-theme="dark"] .r199-media-item{background:#151518;color:#ededee;border-color:#303033}
body[data-theme="dark"] .r199-menu-option{color:#f1f1f2}
body[data-theme="dark"] .r199-actions>summary{background:transparent;color:#f1f1f2;border-color:#333}
body[data-theme="dark"] .r199-tab.active,body[data-theme="dark"] .r199-tab:hover,body[data-theme="dark"] .r199-menu-option:hover{background:rgba(237,27,47,.14);color:#ff4057}
body[data-theme="dark"] .r199-report-form textarea{background:#0d0d0e;border-color:#363638;color:#eee}
body[data-theme="dark"] .r199-friend strong,body[data-theme="dark"] .r199-info-row strong,body[data-theme="dark"] .r199-empty h3{color:#f1f1f2}
@media(max-width:650px){.r199-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;padding:4px}.r199-tab{display:flex;flex-direction:column;gap:3px;padding:9px 2px;min-height:60px;font-size:11px}.r199-tab svg{width:21px;height:21px}.r199-profile .profile-head{align-items:flex-start}.r199-profile .profile-head .r199-header-actions{width:100%;gap:6px}.r199-media-grid{gap:5px}.r199-media-item{border-radius:7px}.r199-people-grid{gap:8px}.r199-friend{padding:10px;gap:7px}.r199-friend .avatar{width:39px;height:39px;font-size:12px}.r199-friend>svg{display:none}.r199-friend strong{font-size:12px}.r199-section-title{flex-wrap:wrap}.r199-mutual-box{padding:12px}}
@media(max-width:385px){.r199-tab{font-size:10px}.r199-people-grid{grid-template-columns:1fr}.r199-header-actions>.btn{padding:9px 11px}.r199-profile .profile-stats{gap:11px}}
