/* UNINI V4 Aşama 3: geniş oyuncu profilleri ve ince temalı kaydırma çubuğu */
.un-side-menu{scrollbar-width:thin;scrollbar-color:rgba(207,147,235,.46) transparent;scrollbar-gutter:stable}
.un-side-menu::-webkit-scrollbar{width:7px}
.un-side-menu::-webkit-scrollbar-track{background:transparent}
.un-side-menu::-webkit-scrollbar-thumb{border-radius:10px;background:linear-gradient(180deg,rgba(190,100,231,.5),rgba(255,213,133,.3));border:1px solid rgba(255,255,255,.08)}
.un-side-menu::-webkit-scrollbar-thumb:hover{background:rgba(205,135,244,.7)}
.un-locked-identity{padding:18px 19px;margin:14px 0 22px;background:linear-gradient(115deg,rgba(132,58,176,.28),rgba(255,217,132,.08));border:1px solid rgba(234,186,250,.35);border-radius:16px}
.un-locked-identity-label{display:flex;align-items:center;gap:9px;color:#ffe4a1;font-size:13px;font-weight:800;letter-spacing:.01em;margin-bottom:10px}
.un-locked-identity-label .un-icon{width:19px;height:19px}
.un-locked-identity strong{display:block;font-size:22px;overflow-wrap:anywhere}
.un-locked-identity small{display:block;margin-top:9px;font-size:11px;color:#e3c9ee;line-height:1.6}
.un-profile-dialog{width:min(780px,calc(100vw - 30px));max-width:780px;max-height:min(88vh,900px);padding:0;border:1px solid rgba(241,192,255,.66);border-radius:25px;background:linear-gradient(145deg,#411954 0%,#210f34 55%,#160c2b 100%);overflow:auto;box-shadow:0 35px 120px rgba(5,0,15,.85),inset 0 1px rgba(255,255,255,.15);color:#fff;scrollbar-color:rgba(202,124,242,.4) transparent;scrollbar-width:thin}
.un-profile-dialog[open]{animation:un-profile-rise .36s cubic-bezier(.16,1,.3,1) both}
.un-profile-dialog::backdrop{background:rgba(10,3,23,.74);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:un-profile-backdrop .3s both}
@keyframes un-profile-rise{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes un-profile-backdrop{from{opacity:0}to{opacity:1}}
.un-profile-shell{padding:26px 30px 30px}
.un-profile-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(220,172,244,.22);padding-bottom:16px;gap:12px}
.un-profile-kicker{font-size:11px;font-weight:900;color:#ffe09a;letter-spacing:.17em}
.un-profile-close{font-size:27px;line-height:1;border-radius:13px;display:grid;place-items:center;width:41px;height:41px;background:rgba(151,63,195,.25);border:1px solid rgba(228,168,244,.46);color:#fff;transition:.2s}
.un-profile-close:hover{background:#913ebe;transform:rotate(90deg)}
.un-profile-main{display:flex;align-items:center;gap:24px;padding:31px 2px 27px}
.un-profile-avatar{width:132px;height:132px;flex:none;display:grid;place-items:center;padding:8px;border-radius:29px;background:linear-gradient(130deg,rgba(170,68,222,.25),rgba(254,211,118,.16));box-shadow:0 0 40px rgba(204,99,255,.2),inset 0 0 0 1px rgba(245,213,255,.26)}
.un-profile-avatar .community-avatar{width:100%;height:100%;margin:0;border-radius:23px;font-size:57px;box-shadow:0 8px 28px rgba(10,4,30,.35)}
.un-profile-overline{font-size:11px;letter-spacing:.2em;font-weight:900;color:#d7a6fa;margin-bottom:8px}
.un-profile-identity h2{font-size:clamp(28px,4vw,46px);line-height:1.08;letter-spacing:-.04em;margin:0 0 14px;overflow-wrap:anywhere;color:#fff;text-shadow:0 4px 18px rgba(174,78,245,.25)}
.un-profile-role{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;background:rgba(255,217,129,.11);border:1px solid rgba(250,214,132,.4);color:#ffdc8e;border-radius:999px;font-size:12px;font-weight:900}
.un-profile-icon{display:inline-grid;place-items:center;flex:none}.un-profile-icon svg{width:21px;height:21px}
.un-profile-role .un-profile-icon svg{width:17px;height:17px}
.un-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
.un-profile-detail{padding:16px 18px;background:rgba(25,9,41,.55);border:1px solid rgba(220,177,240,.24);border-radius:15px}
.un-profile-detail span{display:block;font-size:10px;font-weight:900;letter-spacing:.1em;color:#cfacd9;margin-bottom:7px}
.un-profile-detail strong{display:block;color:#fff;font-size:14px}
.un-profile-about{padding:21px 23px;border-radius:17px;background:rgba(22,10,38,.58);border:1px solid rgba(225,166,250,.24)}
.un-profile-about h3{margin:0 0 10px;font-size:17px;color:#ffe0a0}
.un-profile-about p{margin:0;font-size:13px;line-height:1.75;color:#ebd6f3;white-space:pre-wrap;overflow-wrap:anywhere}
.un-profile-actions{display:flex;gap:12px;margin-top:23px;flex-wrap:wrap}
.un-profile-action{display:inline-flex;justify-content:center;align-items:center;gap:11px;flex:1;min-width:180px;min-height:51px;padding:12px 17px;color:#fbefff;font-size:13px;font-weight:900;border:1px solid rgba(232,179,247,.55);border-radius:14px;background:rgba(156,67,205,.19);transition:transform .24s,background .24s,box-shadow .24s;cursor:pointer;text-decoration:none}
.un-profile-action.is-primary{background:linear-gradient(115deg,#ae3de7,#6b23b9);box-shadow:0 6px 24px rgba(176,63,238,.28)}
.un-profile-action:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 8px 27px rgba(200,104,242,.3)}
.un-profile-action.is-selected{border-color:#ffe3a0}
.un-profile-action:disabled{opacity:.62;cursor:default}
.un-profile-feedback{padding:12px 14px;margin:13px 0 0;background:rgba(98,64,145,.34);border:1px solid rgba(205,178,255,.38);border-radius:12px;font-size:12px;line-height:1.6;color:#f4e1ff}
.un-profile-feedback.is-error{border-color:rgba(255,142,164,.5);color:#ffd0dc}
.un-profile-chat{margin-top:20px;border-radius:16px;background:rgba(17,6,32,.7);border:1px solid rgba(230,174,247,.27);padding:17px}
.un-profile-chat[hidden],.un-profile-feedback[hidden]{display:none!important}
.un-profile-chat h3{margin:0 0 7px;font-size:16px}.un-profile-chat-note{font-size:12px;color:#d3b9df;line-height:1.6;margin:7px 0 14px}
.un-profile-history{max-height:240px;min-height:40px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;margin:14px 0;scrollbar-color:rgba(210,138,245,.36) transparent;scrollbar-width:thin}
.un-profile-bubble{max-width:90%;align-self:flex-start;padding:10px 12px;background:rgba(116,47,153,.48);border-radius:12px;border:1px solid rgba(233,177,248,.2)}
.un-profile-bubble.mine{align-self:flex-end;background:rgba(115,61,171,.65);border-color:rgba(255,215,131,.37)}
.un-profile-bubble p{margin:0;color:white;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.un-profile-bubble small{display:block;margin-top:6px;color:#cfb7dd;font-size:10px}
.un-profile-chat-form{display:grid;gap:9px}
.un-profile-chat-form textarea{resize:vertical;min-height:75px}
.un-profile-send{justify-self:end;padding:10px 17px;background:linear-gradient(110deg,#af43e6,#6b2cc5);border:1px solid rgba(255,220,148,.45);color:white;border-radius:11px;font-size:12px;font-weight:900}
@media(max-width:630px){.un-profile-shell{padding:17px}.un-profile-top{padding-bottom:12px}.un-profile-kicker{font-size:9px}.un-profile-main{gap:16px;padding:25px 0 20px}.un-profile-avatar{width:88px;height:88px;padding:5px;border-radius:21px}.un-profile-avatar .community-avatar{border-radius:17px;font-size:35px}.un-profile-identity h2{font-size:clamp(22px,6vw,32px)}.un-profile-details{gap:8px}.un-profile-detail{padding:13px 11px}.un-profile-detail strong{font-size:12px}.un-profile-about{padding:16px}.un-profile-action{min-width:140px;font-size:12px;padding:12px}}
@media(max-width:390px){.un-profile-actions{flex-direction:column}.un-profile-action{min-width:100%}}
@media(prefers-reduced-motion:reduce){.un-profile-dialog[open],.un-profile-dialog::backdrop{animation:none!important}}
