.community-topbar,.community-shell { width: calc(100% - clamp(28px,8vw,200px)); margin-left:auto; margin-right:auto; }
.community-topbar { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.community-brand { display:flex; align-items:baseline; gap:10px; font-size:25px; font-weight:900; letter-spacing:-1px; color:#f4d17b; text-decoration:none; }
.community-brand span { color:#aeb9c6; font-size:10px; letter-spacing:.18em; font-weight:700; }
.community-account,.community-account #userBox { display:flex; align-items:center; gap:12px; }
.community-account #userAvatar { border-radius:50%; object-fit:cover; background:#253344; }
.community-account #userName { max-width:180px; overflow:hidden; text-overflow:ellipsis; font-size:13px; color:#ecedf0; }
.community-topbar button,.community-shell button,.community-dialog button:not(.rules-close) { cursor:pointer; font:inherit; }
.community-topbar .discord-login { border:1px solid #7f83ed; background:#5865f2; color:white; border-radius:10px; padding:11px 18px; font-size:13px; font-weight:750; }
.community-topbar .discord-login:hover { background:#6975ff; }
.reference-leaderboard .community-topbar #loginBtn { display:inline-flex; align-items:center; justify-content:center; background:#5865f2; border-color:#7f83ed; color:#fff; box-shadow:none; }
.reference-leaderboard .community-topbar #userBox { background:none; border:0; box-shadow:none; height:auto; padding:0; }
.community-logout { padding:7px 10px; background:transparent; border:1px solid #394652; border-radius:7px; color:#aab7c6; font-size:11px!important; }
.community-role { padding:3px 6px; border:1px solid #d6ab5150; border-radius:4px; color:#eac56f; font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.community-shell { display:grid; grid-template-columns:235px minmax(0,1fr); min-height:520px; height:clamp(500px,55vh,650px); border:1px solid #b2924a39; border-radius:19px; background:#101d29; box-shadow:0 24px 65px #0003; overflow:hidden; margin-bottom:18px; font-family:Inter,'Segoe UI',Arial,sans-serif; }
.community-shell [hidden],.community-topbar [hidden],.community-dialog [hidden] { display:none!important; }
.community-sidebar { display:flex; flex-direction:column; min-width:0; padding:22px 14px 15px; border-right:1px solid #ffffff08; background:linear-gradient(165deg,#1b252c,#111c27); }
.community-server { display:flex; align-items:center; gap:10px; padding:0 3px 22px; }
.server-emblem { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; background:linear-gradient(145deg,#f6d780,#b58128); border-radius:11px; color:#2b1d08; font-size:24px; font-weight:900; }
.community-server strong { color:#f1e5ca; font-size:13px; }.community-server small { display:block; margin-top:4px; color:#93a0b0; font-size:10px; }
.channel-label { padding:0 11px; color:#7f8a99; font-size:9px; letter-spacing:.14em; font-weight:800; }
.community-channels { display:flex; flex-direction:column; gap:6px; margin-top:13px; }
.community-channels button { display:flex; align-items:center; gap:10px; width:100%; padding:12px; border:1px solid transparent; border-radius:9px; background:transparent; color:#b0bccb; text-align:left; font-size:13px; font-weight:650; }
.community-channels button>span:first-child { font-size:20px; width:20px; color:#8391a1; line-height:1; }.community-channels button:hover { background:#ffffff05; }
.community-channels button.active { border-color:#e2b65632; background:linear-gradient(100deg,#d4a6401b,#d4a64008); color:#f3d48e; }.community-channels button.active>span:first-child { color:#e5bd68; }
.ticket-unread { margin-left:auto; padding:3px 6px; border-radius:5px; background:#e4b851; color:#211a0b; font-size:10px; font-weight:900; }
.sidebar-note { margin:24px 8px 18px; padding-top:18px; border-top:1px solid #ffffff08; }.sidebar-note strong { font-size:11px; color:#d3bd8e; }.sidebar-note p { margin-top:7px; color:#8191a4; font-size:11px; line-height:1.65; }
.community-sidebar-footer { display:flex; align-items:center; gap:6px; margin-top:auto; padding:10px 8px 0; color:#7e8c9d; font-size:9px; }.community-dot { width:6px; height:6px; background:#72c596; border-radius:50%; }
.manage-chat-admins { background:#ffffff05; border:1px solid #bfa15c30; border-radius:7px; color:#d6b369; padding:8px; font-size:11px!important; margin:0 8px 8px; }
.community-main { display:flex; flex-direction:column; min-width:0; min-height:0; background:radial-gradient(ellipse at 100% 0,#d8b65f05,transparent 65%),#101c28; }
.community-room-header { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:79px; padding:17px 24px; border-bottom:1px solid #ffffff08; flex-shrink:0; }.community-room-header h2 { font-size:17px; color:#e9e7df; font-weight:750; margin:0; letter-spacing:0; }.community-room-header h2 span { color:#d5b367; margin-right:7px; }.community-room-header p { font-size:11px; color:#8394a8; margin:5px 0 0; }
.room-header-actions { display:flex; align-items:center; gap:8px; }.room-privacy { white-space:nowrap; border:1px solid #ffffff0b; border-radius:20px; padding:5px 9px; font-size:9px; color:#9caabd; }.room-header-actions button { border:1px solid #a5894740; background:#ffffff04; color:#ddc384; border-radius:6px; padding:7px 9px; font-size:10px; }
.community-status { flex-shrink:0; margin:0; padding:8px 24px; color:#9eabbd; background:#ffffff03; font-size:11px; line-height:1.5; }.community-status:empty { display:none; }.community-status.error { color:#e5b8a3; background:#bb6e2e0b; }
.community-conversation { display:flex; flex:1; flex-direction:column; min-height:0; }.community-message-feed { flex:1; min-height:0; overflow:auto; padding:20px 24px; scroll-behavior:auto; scrollbar-width:thin; scrollbar-color:#66734633 transparent; }
.community-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100%; text-align:center; padding:25px; }.community-empty-icon { display:grid; place-items:center; width:55px; height:55px; margin-bottom:15px; border-radius:16px; background:#d4a64012; border:1px solid #d4a64026; color:#e5c37c; font-size:29px; }.community-empty h3 { color:#ddd8cb; font-size:18px; margin:0 0 8px; }.community-empty p { max-width:370px; color:#8b9aaf; line-height:1.7; font-size:12px; margin:0; }
.community-message { display:flex; align-items:flex-start; gap:11px; margin:0 0 20px; }.community-message-avatar { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border:1px solid #ffffff12; border-radius:10px; background:linear-gradient(135deg,#293b50,#1b2b3c); color:#d8c69e; font-size:16px; font-weight:800; object-fit:cover; }.community-message-content { min-width:0; }.community-message-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:5px; }.community-message-meta strong { color:#e7e9ec; font-size:12px; }.community-message-meta time { color:#718095; font-size:9px; }.message-role { color:#e8c36c; background:#d4a64012; border:1px solid #d4a64026; border-radius:4px; padding:1px 5px; font-size:8px; text-transform:uppercase; }.community-message-text { color:#bec8d5; font-size:13px; line-height:1.65; overflow-wrap:anywhere; white-space:pre-wrap; }
.community-composer { padding:10px 24px 15px; flex-shrink:0; }.composer-field { display:flex; align-items:flex-end; gap:10px; border:1px solid #41506060; border-radius:11px; background:#192633; padding:11px 12px; }.composer-field:focus-within { border-color:#d5b15c80; }.composer-field textarea { min-width:0; flex:1; border:0; outline:0; resize:none; background:transparent; color:#e0e5ec; font:13px/1.5 inherit; font-family:inherit; font-size:13px; line-height:1.5; max-height:110px; }.composer-field textarea::placeholder { color:#7c8a9b; }.composer-field textarea:disabled { opacity:.65; cursor:not-allowed; }.composer-field button { display:grid; place-items:center; flex-shrink:0; width:36px; height:36px; border:0; background:linear-gradient(145deg,#f0ce77,#bd8a30); color:#271c0a; border-radius:9px; }.composer-field button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }.composer-field button:disabled { background:#2b3846; color:#697789; cursor:not-allowed; }.composer-footer { display:flex; justify-content:space-between; gap:10px; margin-top:9px; color:#8493a6; font-size:10px; line-height:1.5; }.composer-footer>span:last-child { white-space:nowrap; color:#687789; }
.load-older { align-self:center; padding:5px 12px; margin:8px 0 0; border:1px solid #ffffff10; background:#ffffff03; border-radius:6px; color:#adbdce; font-size:10px!important; }
.ticket-directory { flex:1; min-height:0; overflow:auto; padding:24px; }.ticket-directory-heading { display:flex; justify-content:space-between; gap:15px; align-items:center; margin-bottom:20px; }.ticket-directory h3 { font-size:17px; color:#e6dfd0; }.ticket-directory-heading p { margin-top:6px; font-size:11px; color:#92a0b2; }.ticket-directory-heading button,.community-dialog form>button { border:1px solid #e5be64; background:linear-gradient(145deg,#f4d17a,#c08c30); color:#2b1d08; border-radius:9px; padding:10px 14px; font-size:12px; font-weight:750; white-space:nowrap; }
.community-ticket-list { display:flex; flex-direction:column; gap:9px; }.community-ticket-item { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:15px; border:1px solid #ffffff0c; background:#182533; border-radius:10px; text-align:left; }.community-ticket-item strong { color:#e1e6ed; font-size:12px; display:block; overflow-wrap:anywhere; }.community-ticket-item small { display:block; margin-top:6px; color:#8597ab; font-size:10px; }.ticket-state { color:#b6bdc7; border:1px solid #ffffff10; border-radius:5px; padding:3px 6px; font-size:9px; }.ticket-state.open { color:#9cd6b4; border-color:#75b99333; }.ticket-state.unread { color:#f3cf73; border-color:#dab85666; }.ticket-opening { padding:16px; background:#dfb95808; border:1px solid #d1aa4d22; border-radius:11px; margin-bottom:20px; }
.community-dialog { width:min(520px,calc(100% - 32px)); }.community-dialog label { display:block; margin:14px 0 6px; color:#c9d2df; font-size:12px; font-weight:700; }.community-dialog input,.community-dialog textarea { width:100%; border:1px solid #ffffff20; border-radius:9px; background:#0e1a27; color:#e4e9ef; padding:11px; font:13px/1.5 'Segoe UI',sans-serif; resize:vertical; }.community-dialog form>p { color:#e4b597; font-size:12px; }.community-admin-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px; padding:10px; border:1px solid #ffffff10; border-radius:7px; font-size:11px; overflow-wrap:anywhere; }.community-admin-row button { color:#e0b59c; background:transparent; border:1px solid #bc907540; border-radius:5px; padding:4px 8px; font-size:10px; }
@media(max-width:850px) { .community-shell { grid-template-columns:185px minmax(0,1fr); }.community-server strong { font-size:11px; }.community-server small { font-size:9px; }.community-room-header { padding:15px 18px; }.community-message-feed { padding:18px; }.community-composer { padding:10px 18px 14px; }.room-privacy { display:none; } }
@media(max-width:600px) { .community-topbar,.community-shell { width:calc(100% - 28px); }.community-topbar { min-height:70px; }.community-brand { font-size:21px; }.community-brand span { display:none; }.community-topbar .discord-login { padding:9px 11px; font-size:11px; }.community-account #userName { max-width:85px; font-size:11px; }.community-account #communityRole { display:none!important; }.community-shell { grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr); height:610px; min-height:0; border-radius:14px; }.community-sidebar { padding:12px; border-right:0; border-bottom:1px solid #ffffff08; }.community-server,.channel-label,.sidebar-note,.community-sidebar-footer { display:none; }.community-channels { margin:0; flex-direction:row; gap:6px; }.community-channels button { flex:1; width:auto; justify-content:center; padding:10px 5px; font-size:11px; gap:5px; }.community-channels button>span:first-child { font-size:16px; width:auto; }.ticket-unread { margin-left:0; font-size:9px; }.manage-chat-admins { margin:8px 0 0; }.community-room-header { min-height:72px; padding:13px 14px; }.community-room-header h2 { font-size:15px; }.community-room-header p { font-size:10px; line-height:1.5; }.community-room-header .room-header-actions { flex-wrap:wrap; justify-content:flex-end; max-width:115px; }.community-message-feed { padding:16px 13px; }.community-composer { padding:8px 12px 13px; }.community-status { padding:8px 14px; font-size:10px; }.composer-footer { font-size:9px; }.community-message-text { font-size:12px; }.ticket-directory { padding:16px 13px; }.ticket-directory-heading { flex-wrap:wrap; }.community-empty { padding:15px; }.community-empty h3 { font-size:16px; }.community-empty p { font-size:11px; } }

/* Fixed Empire-style chat rail. The leaderboard occupies its own page area. */
.reference-leaderboard { --community-rail:300px; padding-top:72px; }
.reference-leaderboard .community-topbar {
    position:fixed; top:0; left:0; right:0; z-index:100;
    width:100%; min-height:72px; height:72px; margin:0; padding:0 26px;
    background:#101a24f5; border-bottom:1px solid #d7b15b20; backdrop-filter:blur(16px);
}
.reference-leaderboard .community-shell {
    position:fixed; left:0; top:72px; bottom:0; z-index:90;
    display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr);
    width:var(--community-rail); height:calc(100dvh - 72px); min-height:0;
    margin:0; border:0; border-right:1px solid #c8a25624; border-radius:0;
    box-shadow:12px 0 38px #0002; overflow:hidden;
}
.community-drawer-heading,.chat-launcher,.chat-drawer-backdrop { display:none; }
.reference-leaderboard .community-sidebar { display:block; padding:12px 9px; border-right:0; border-bottom:1px solid #ffffff08; }
.reference-leaderboard .community-server,.reference-leaderboard .channel-label,
.reference-leaderboard .sidebar-note,.reference-leaderboard .community-sidebar-footer { display:none; }
.reference-leaderboard .community-channels { flex-direction:row; gap:3px; margin:0; }
.reference-leaderboard .community-channels button { justify-content:center; flex:1; width:auto; gap:5px; padding:10px 4px; font-size:11px; }
.reference-leaderboard .community-channels button>span:first-child { width:auto; font-size:16px; }
.reference-leaderboard .ticket-unread { margin-left:0; padding:2px 4px; font-size:9px; }
.reference-leaderboard .manage-chat-admins { margin:9px 0 0; width:100%; font-size:10px!important; }
.reference-leaderboard .community-room-header { min-height:76px; padding:14px; align-items:flex-start; }
.reference-leaderboard .community-room-header>div:first-child { min-width:0; flex:1; }
.reference-leaderboard .community-room-header h2 { font-size:14px; overflow-wrap:anywhere; }
.reference-leaderboard .community-room-header p { font-size:10px; line-height:1.5; }
.reference-leaderboard .room-header-actions { max-width:85px; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.reference-leaderboard .room-header-actions button { font-size:9px; padding:5px 6px; }
.reference-leaderboard .room-privacy { display:none; }
.reference-leaderboard .community-status { padding:8px 13px; font-size:10px; }
.reference-leaderboard .community-message-feed { padding:16px 12px; }
.reference-leaderboard .community-message { gap:8px; margin-bottom:18px; }
.reference-leaderboard .community-message-avatar { width:27px; height:27px; flex-basis:27px; border-radius:8px; font-size:13px; }
.reference-leaderboard .community-message-meta { gap:5px; }
.reference-leaderboard .community-message-meta strong { font-size:11px; }
.reference-leaderboard .community-message-meta time { font-size:8px; }
.reference-leaderboard .community-message-text { font-size:12px; }
.reference-leaderboard .community-empty { padding:14px 8px; }
.reference-leaderboard .community-empty h3 { font-size:15px; }
.reference-leaderboard .community-empty p { font-size:11px; }
.reference-leaderboard .community-composer { padding:8px 10px 14px; padding-bottom:max(14px,env(safe-area-inset-bottom)); }
.reference-leaderboard .composer-field { padding:9px; gap:7px; }
.reference-leaderboard .composer-field textarea { font-size:12px; }
.reference-leaderboard .composer-field button { width:31px; height:31px; border-radius:8px; }
.reference-leaderboard .composer-footer { font-size:9px; gap:6px; }
.reference-leaderboard .composer-footer>span:last-child { display:none; }
.reference-leaderboard .ticket-directory { padding:15px 12px; }
.reference-leaderboard .ticket-directory-heading { flex-wrap:wrap; gap:12px; }
.reference-leaderboard .ticket-directory h3 { font-size:15px; }
.reference-leaderboard .ticket-directory-heading button { padding:9px 11px; font-size:11px; }
.reference-leaderboard .community-ticket-item { padding:12px; }
@media(min-width:1024px) {
    body.reference-leaderboard { padding-left:var(--community-rail); }
}
@media(min-width:1600px) { .reference-leaderboard { --community-rail:320px; } }
@media(max-width:1023px) {
    body.reference-leaderboard { padding-left:0; }
    body.chat-drawer-open { overflow:hidden; }
    .reference-leaderboard .community-topbar { padding:0 16px; }
    .reference-leaderboard .community-shell {
        top:0; bottom:0; width:min(370px,calc(100vw - 20px)); height:100dvh;
        z-index:220; grid-template-rows:auto auto minmax(0,1fr);
        transform:translateX(-105%); visibility:hidden;
        transition:transform .22s ease,visibility .22s;
        border-right:1px solid #d7b15b45;
    }
    .reference-leaderboard .community-shell.is-open { transform:translateX(0); visibility:visible; }
    .community-drawer-heading { display:flex; align-items:center; justify-content:space-between; padding:15px 16px; padding-top:max(15px,env(safe-area-inset-top)); color:#e8ca86; border-bottom:1px solid #ffffff0b; font-size:14px; background:#15212c; }
    .community-drawer-heading button { display:grid; place-items:center; width:32px; height:32px; border:1px solid #ffffff16; border-radius:8px; color:#c6d0dc; background:#ffffff04; cursor:pointer; }
    .community-drawer-heading svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; }
    .chat-drawer-backdrop:not([hidden]) { display:block; position:fixed; inset:0; z-index:210; border:0; background:#030a14b8; backdrop-filter:blur(3px); cursor:pointer; }
    .chat-launcher { display:flex; flex-direction:column; align-items:center; gap:5px; position:fixed; left:max(15px,env(safe-area-inset-left)); bottom:max(16px,env(safe-area-inset-bottom)); z-index:205; padding:0; border:0; background:none; color:#f9df9b; cursor:pointer; }
    .chat-launcher-label { padding:3px 10px; border-radius:6px; color:#f4d488; background:#121f2ce8; border:1px solid #dab75c30; font-size:11px; font-weight:800; letter-spacing:.05em; }
    .chat-launcher-icon { display:grid; place-items:center; width:53px; height:53px; border:1px solid #ffe3a1; border-radius:17px; background:linear-gradient(145deg,#f7d982,#bf8d30); box-shadow:0 7px 24px #0007; color:#31230d; }
    .chat-launcher-icon svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
    .chat-launcher-unread { position:absolute; right:-5px; top:20px; display:grid; place-items:center; min-width:21px; height:21px; padding:0 4px; border:2px solid #0b1620; border-radius:20px; background:#e1684d; color:#fff; font-size:10px; font-weight:900; }
    .chat-launcher-unread[hidden] { display:none; }
    .reference-leaderboard .pp-footer { padding-bottom:110px; }
}
@media(prefers-reduced-motion:reduce) { .reference-leaderboard .community-shell { transition:none; } }

/* Live community strip */
body.pp-root.reference-leaderboard {padding-top:112px;}
.presence-bar {position:fixed;top:72px;left:0;right:0;height:40px;z-index:99;display:flex;align-items:center;background:#121c24;border-bottom:1px solid #d7ad4233;overflow:hidden;color:#e8edf3;font-size:12px;}
.presence-label {height:100%;display:flex;align-items:center;gap:8px;padding:0 18px;background:#16212a;z-index:1;box-shadow:12px 0 20px #121c24;letter-spacing:1px;font-size:10px;white-space:nowrap;color:#c6b989;}
.presence-label i {width:6px;height:6px;border-radius:50%;background:#58d89c;box-shadow:0 0 8px #58d89c77;}
.presence-label strong {color:#fff;}
.presence-window {overflow:hidden;flex:1;min-width:0;}
.presence-track {display:flex;width:max-content;align-items:center;}
.presence-track.is-moving {animation:community-marquee 36s linear infinite;}
.presence-bar:hover .presence-track,.presence-bar:focus-within .presence-track {animation-play-state:paused;}
.presence-group {display:flex;align-items:center;gap:32px;padding-right:32px;min-width:calc(100vw - 140px);justify-content:space-around;}
.presence-user {display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#eef1f5;font:inherit;background:none;border:0;padding:3px 8px;}
button.presence-user {cursor:pointer;border-radius:20px;}button.presence-user:hover {background:#dfb55122;}
.presence-avatar {width:24px;height:24px;border-radius:50%;background:#3d3424;color:#f0c45c;display:grid;place-items:center;overflow:hidden;font-weight:800;}
.presence-avatar img {width:100%;height:100%;object-fit:cover;}.presence-user small {text-transform:uppercase;color:#e2ba59;font-size:8px;letter-spacing:.6px;}
.presence-empty {padding:0 22px;color:#8998a5;font-size:11px;}
@keyframes community-marquee {to {transform:translateX(-50%);}}
@media(min-width:1024px) {#community.community-shell {top:112px;height:calc(100dvh - 112px);}}
.community-user-list {max-height:260px;overflow:auto;margin:18px 0;display:grid;gap:6px;}
.community-user-row {display:grid;grid-template-columns:1fr auto;text-align:left;padding:12px!important;gap:4px;background:#17232e!important;border:1px solid #c6a04c33!important;color:#f1f4f6!important;border-radius:8px!important;}
.community-user-row small {grid-row:2;color:#9eabba;font-weight:400;font-size:10px;overflow-wrap:anywhere;}.community-user-row>span {grid-column:2;grid-row:1/3;align-self:center;font-size:11px;color:#e5bf67;}
.user-search-field {display:flex;gap:8px;}.user-search-field input {min-width:0;flex:1;}.user-search-field button {margin:0!important;}
#communityRenameForm button {margin-top:12px;}#communityRenameStatus {color:#e8c873;}
@media(prefers-reduced-motion:reduce) {.presence-track.is-moving {animation:none;}.presence-window {overflow-x:auto;}.presence-group[aria-hidden] {display:none;}}
@media(max-width:600px) {.presence-label {padding:0 10px;gap:5px;}.presence-empty {font-size:10px;padding:0 12px;}.presence-group {gap:18px;}.presence-bar {height:36px;}body.pp-root.reference-leaderboard {padding-top:108px;}}

/* BonuQR identity and community media */
.reference-leaderboard .top-card .rank-avatar {background:#0b101a url('bonuq-emblem.png') center/contain no-repeat!important;border-color:#cba64c88;}
.reference-leaderboard .top-card .rank-avatar>span {visibility:hidden;}
.community-account #userAvatar {width:38px!important;height:38px!important;min-width:38px;flex:0 0 38px;object-fit:contain!important;object-position:center;border-radius:8px!important;background:#0a1019;border:1px solid #d6af4b66;display:block;}
.community-composer {position:relative;}
.composer-tools {display:flex;align-items:center;gap:8px;margin-bottom:7px;}
.composer-tools button {border:1px solid #c7a65344;border-radius:7px;background:#1b2731;color:#e9c56f;padding:5px 10px;cursor:pointer;font-size:12px;}
.composer-tools #emojiToggle {font-size:23px;padding:0 7px;line-height:30px;}.composer-tools button:disabled {opacity:.4;cursor:not-allowed;}
.composer-tools small {font-size:9px;color:#91a0ac;}
.emoji-picker {position:absolute;bottom:100%;left:10px;right:10px;z-index:10;background:#16212c;border:1px solid #d5ad4e66;border-radius:12px;padding:10px;box-shadow:0 14px 45px #0009;}
.emoji-picker-heading {display:flex;justify-content:space-between;align-items:center;color:#e5c06b;font-size:12px;margin-bottom:8px;}
.emoji-picker-heading button {background:none;border:0;color:#b1bfcb;font-size:22px;cursor:pointer;}
.emoji-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;max-height:240px;overflow-y:auto;overscroll-behavior:contain;}
.emoji-grid button {background:none;border:0;border-radius:6px;font-size:23px;padding:5px 0;cursor:pointer;line-height:1.3;}.emoji-grid button:hover,.emoji-grid button:focus-visible {background:#d3ac4e33;outline:1px solid #d3ac4e;}
.proof-attachment {display:flex;align-items:center;gap:8px;border:1px solid #c6a34855;border-radius:8px;padding:7px;margin-bottom:8px;}.proof-attachment img {width:48px;height:48px;object-fit:contain;border-radius:4px;}.proof-attachment span {font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;}.proof-attachment button {background:none;color:#e2be6b;border:0;font-size:23px;cursor:pointer;}
.proof-message-image {display:block;margin-top:9px;border:1px solid #b99b4b55;border-radius:9px;overflow:hidden;background:#091019;max-width:100%;}
.proof-message-image img {width:100%;max-height:320px;object-fit:contain;display:block;}

.community-moderation{margin-top:24px;padding-top:20px;border-top:1px solid #665431;display:grid;gap:12px}.community-moderation[hidden]{display:none}.community-moderation h3{margin:0;color:#f1cf7c}.community-moderation textarea{box-sizing:border-box;width:100%;resize:vertical;background:#0b141c;color:#fff;border:1px solid #75603a;border-radius:8px;padding:12px;font:inherit}.community-moderation small,.community-moderation p{color:#b9c4cc;line-height:1.6}.moderation-buttons{display:flex;gap:10px;flex-wrap:wrap}.community-moderation #communityBanUser{background:#8b2e31;color:#fff;border-color:#bf565a}.community-moderation button:disabled{opacity:.4;cursor:not-allowed}.message-muted{font-size:10px;font-weight:800;color:#ffb9ae;background:#5b2928;border:1px solid #96524b;border-radius:4px;padding:2px 5px}.community-banned{overflow:hidden!important;background:#000!important}.community-ban-screen{position:fixed;inset:0;z-index:2147483647;background:#000;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px;text-align:center;box-sizing:border-box;overflow:auto}.community-ban-screen h1{font-size:clamp(28px,5vw,48px);margin:0 0 16px}.community-ban-screen p{max-width:680px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.community-ban-screen strong{margin-top:20px;color:#e7bd67}.community-ban-screen button{margin-top:12px;padding:10px 18px;border-radius:6px;background:#161616;color:#c7c7c7;border:1px solid #444;cursor:pointer}
.community-moderation button{padding:11px 18px;border-radius:8px;border:1px solid #a88744;background:linear-gradient(135deg,#f7dc91,#c89c40);color:#13191f;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.community-moderation #communityMuteUser{background:#172630;color:#efd085;border-color:#655335;text-align:center}

.community-message-delete{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:auto;width:26px;height:26px;padding:4px;background:transparent;color:#b7a17a;border:1px solid transparent;border-radius:5px;cursor:pointer}.community-message-delete:hover,.community-message-delete:focus-visible{color:#ffb3a7;background:#422b2c;border-color:#805046}.community-message-delete svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.community-message-delete:disabled{opacity:.45}.community-message-removed .community-message-text{font-style:italic;color:#b2a489;font-size:12px;line-height:1.65}.community-chat-notice{margin:8px 10px 0;padding:9px 11px;border:1px solid #6f582c;border-radius:7px;background:#28251c;color:#f0cd7e;font-size:11px;line-height:1.5}.community-chat-notice[hidden],.community-slow-status[hidden]{display:none}.community-slow-status{display:block;color:#f1ce7a;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;margin:6px 0;line-height:1.5}#chatControlsForm{display:grid;gap:14px}#chatControlsForm select{box-sizing:border-box;width:100%;padding:12px;background:#101c25;color:#f6da93;border:1px solid #70603c;border-radius:8px;font:inherit}.chat-lock-label{display:flex;align-items:center;gap:12px;padding:14px;background:#111d26;border:1px solid #4b4936;border-radius:8px}#chatControlsForm input[type=checkbox]{width:20px;height:20px;accent-color:#e7c76f;flex:0 0 20px;margin:0}#chatControlsStatus{color:#ebcc80;line-height:1.6}
.community-composer .composer-footer{flex-wrap:wrap}.community-slow-status{flex:1 0 100%;order:3;box-sizing:border-box;padding:8px 10px;background:#28251c;border:1px solid #655332;border-radius:6px;font-size:12px;text-align:center}

.message-lb-rank{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 5px;border:1px solid #85703d;border-radius:5px;background:linear-gradient(145deg,#514125,#2b251b);color:#f9d783;font-size:10px;line-height:1.2;font-weight:800;white-space:nowrap}.message-code-verified{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;flex-shrink:0}.message-code-verified svg{display:block;width:17px;height:17px}.message-code-verified circle{fill:#e9c96e}.message-code-verified path{fill:none;stroke:#17212a;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.code-verification-label{display:flex;gap:10px;align-items:center;background:#17242a;padding:12px;border:1px solid #675738;border-radius:8px}#communityVerifiedCode{flex:0 0 20px;width:20px;height:20px;padding:0;margin:0;accent-color:#e4c56e}.community-moderation h4{margin:12px 0 0;color:#e9d396}

.community-message-sweep{margin-left:2px;color:#ebc86e}.community-message-sweep:hover,.community-message-sweep:focus-visible{color:#ffe39a;background:#3c3420;border-color:#8e7437}
/* Transparent vector Kick branding and a shared, manually controlled stream status. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.kick-header{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:18px;white-space:nowrap}
.kick-stream-status{display:flex;align-items:center;gap:10px}.kick-stream-status>img{display:block;width:84px;height:27px;object-fit:contain;background:transparent}.kick-stream-label{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#acb7bf;min-width:49px}
.kick-status-dot{display:inline-block;width:7px;height:7px;min-width:7px;border-radius:50%;background:#ed535e;box-shadow:0 0 0 3px #ed535e16;flex-shrink:0}.kick-status-dot.is-live{background:#53fc18;box-shadow:0 0 0 3px #53fc1818;animation:kick-live-pulse 1.8s ease-out infinite}
.kick-owner-badge{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;vertical-align:middle;line-height:1}.kick-owner-badge>img{display:block!important;width:12px!important;height:14px!important;min-width:12px!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;margin:0!important}.kick-owner-badge .kick-status-dot{width:5px;height:5px;min-width:5px}.community-message-meta .kick-owner-badge{gap:4px}
.community-topbar .kick-live-switch{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #3c4c3a;border-radius:7px;background:#121f18;color:#c6d3c5;font-size:10px;font-weight:700;white-space:nowrap}.kick-switch-track{display:block;width:28px;height:16px;border-radius:10px;background:#3d464d;position:relative;transition:background .2s}.kick-switch-track:after{content:'';position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:#e4e9eb;transition:transform .2s}.kick-live-switch[aria-checked=true] .kick-switch-track{background:#3cba13}.kick-live-switch[aria-checked=true] .kick-switch-track:after{transform:translateX(12px)}.kick-live-switch:disabled{opacity:.5;cursor:wait}
@keyframes kick-live-pulse{0%{box-shadow:0 0 0 0 #53fc1860}75%,100%{box-shadow:0 0 0 7px #53fc1800}}
@media(prefers-reduced-motion:reduce){.kick-status-dot.is-live{animation:none}}
@media(max-width:1200px){.reference-leaderboard .community-topbar{height:112px;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px 40px;gap:0 12px}.community-brand{grid-column:1;grid-row:1}.community-account{grid-column:2;grid-row:1;justify-content:flex-end}.kick-header{position:static;transform:none;grid-column:1/-1;grid-row:2;justify-self:center;gap:18px}.presence-bar{top:112px}body.pp-root.reference-leaderboard{padding-top:152px}}
@media(min-width:1024px) and (max-width:1200px){#community.community-shell{top:152px;height:calc(100dvh - 152px)}}
@media(max-width:600px){body.pp-root.reference-leaderboard{padding-top:148px}.reference-leaderboard .community-topbar{padding:0 12px}.community-brand{font-size:18px}.community-account,.community-account #userBox{gap:6px!important}.community-account #userName{max-width:70px}.community-account #userAvatar{width:28px!important;height:28px!important;min-width:28px!important;flex-basis:28px!important}.community-topbar .community-logout{padding:7px 6px;font-size:9px}.community-topbar .owner-panel-button{font-size:9px;padding:6px}.kick-stream-status>img{width:68px;height:22px}}
@media(max-width:600px){.community-topbar .member-owner-launch{font-size:9px;padding:6px 7px;white-space:nowrap}.community-account #userName{max-width:48px}}
@media(max-width:380px){.reference-leaderboard .community-topbar{column-gap:6px;padding:0 9px}.community-brand{font-size:16px}.community-account #userName{max-width:36px}.community-account #userBox{gap:4px!important}.community-topbar .member-owner-launch{padding:6px 5px;font-size:8px}.community-topbar .community-logout{padding:6px 4px;font-size:8px}}
.kick-stream-status,.kick-owner-badge{color:inherit;text-decoration:none}.kick-stream-status:hover>img,.kick-owner-badge:hover>img{filter:drop-shadow(0 0 4px #53fc1866)}.kick-stream-status:focus-visible,.kick-owner-badge:focus-visible{outline:2px solid #53fc18;outline-offset:5px;border-radius:2px}.presence-owner{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.presence-owner>.kick-owner-badge{margin-right:8px}

.community-discord-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #8992ff66;border-radius:8px;padding:8px 12px;background:#5865f21c;color:#d7dbff;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;box-sizing:border-box;}
.community-discord-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.community-discord-link:hover{background:#5865f238;border-color:#a7afff;color:#fff;}
.community-discord-link:focus-visible{outline:2px solid #a7afff;outline-offset:3px;}
.community-discord-chat{margin:10px 0;}
.reference-leaderboard .leaderboard-actions .community-discord-hero{background:#5865f21c;border-color:#8992ff66;color:#d7dbff;}
@media(min-width:1201px) and (max-width:1500px),(max-width:600px){.community-discord-header{padding:7px;}.community-discord-header span{display:none;}}
