:root{--bg: #050608;--surface: #0c0e14;--surface-2: #12151d;--border: rgba(255, 255, 255, .06);--border-focus: rgba(201, 169, 98, .45);--text: #f4f4f5;--muted: #71717a;--gold: #c9a962;--gold-dim: rgba(201, 169, 98, .15);--live: #ef4444;--panel-w: 300px;--header-h: 64px;--radius: 14px;--radius-sm: 10px;font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;overflow:hidden}body{background:var(--bg);color:var(--text)}.shell{display:flex;flex-direction:column;height:100vh;background:radial-gradient(ellipse 70% 50% at 50% -20%,rgba(201,169,98,.06),transparent),var(--bg)}.shell-with-sidebar{flex-direction:row}.shell-main{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.shell-body{flex:1;display:grid;grid-template-columns:minmax(0,1fr) var(--panel-w);min-height:0;gap:0;overflow:hidden}.shell-body>.stage,.shell-body>.watch-stage-area{min-width:0;min-height:0;overflow:hidden}.shell-body>.player-panel{position:relative;z-index:2;width:var(--panel-w);max-width:var(--panel-w);flex-shrink:0}.sidebar{width:220px;flex-shrink:0;border-right:1px solid var(--border);background:var(--surface);padding:16px 10px;display:flex;flex-direction:column;gap:8px}.sidebar-section-label{display:block;font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);padding:8px 12px 6px}.sidebar-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font:inherit;font-size:.875rem;font-weight:500;text-align:left;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.sidebar-item svg{width:18px;height:18px;flex-shrink:0}.sidebar-item:hover{background:#ffffff0a;color:var(--text)}.sidebar-item.active{background:#3b82f626;color:#93c5fd}.sidebar-badge{margin-left:auto;font-size:.7rem;padding:2px 7px;border-radius:999px;background:#ef444433;color:#f87171}.bans-page{flex:1;overflow:auto;padding:24px;min-height:0}.bans-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.bans-header h1{font-size:1.35rem;font-weight:600}.bans-subtitle{color:var(--muted);font-size:.875rem;margin-top:4px}.bans-sync{font-size:.75rem;color:var(--muted);margin-top:4px}.bans-search-wrap{position:relative;min-width:280px;flex:1;max-width:420px}.bans-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}.bans-search{width:100%;padding:11px 14px 11px 40px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:.875rem}.bans-search:focus{outline:none;border-color:var(--border-focus)}.bans-error{padding:14px;border-radius:var(--radius-sm);background:#ef44441a;border:1px solid rgba(239,68,68,.3);margin-bottom:16px;display:flex;align-items:center;gap:12px}.bans-error button{margin-left:auto;padding:6px 12px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer}.bans-empty{text-align:center;padding:48px 24px;color:var(--muted);font-size:.9rem}.bans-list{list-style:none;display:flex;flex-direction:column;gap:8px}.bans-row{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);overflow:hidden}.bans-row-head{display:flex;align-items:center;gap:8px;width:100%;padding:8px 8px 8px 0}.bans-row-toggle{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:6px 8px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:8px}.bans-row-toggle:hover{background:#ffffff05}.bans-row-avatar{width:40px;height:40px;border-radius:10px;background:#ef444426;color:#f87171;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.bans-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.bans-row-name{font-weight:600;font-size:.9375rem}.bans-row-reason{font-size:.8125rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bans-row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:.75rem;color:var(--muted);flex-shrink:0;text-align:right;max-width:42%}.btn-unban{flex-shrink:0;padding:8px 14px;border-radius:8px;border:1px solid rgba(34,197,94,.45);background:#22c55e1f;color:#4ade80;font:inherit;font-size:.8125rem;font-weight:600;cursor:pointer;margin-right:4px}.btn-unban:hover:not(:disabled){background:#22c55e38}.btn-unban:disabled{opacity:.6;cursor:wait}.btn-unban-wide{width:100%;margin-right:0}.bans-detail-actions{margin-bottom:4px}.bans-row-chevron{color:var(--muted);transition:transform .15s}.bans-row-chevron.open{transform:rotate(180deg)}.bans-row-detail{padding:12px 16px 16px 68px;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--border)}.bans-detail-item{display:flex;flex-direction:column;gap:4px;font-size:.8125rem;min-width:0}.bans-detail-value{word-break:break-all;overflow-wrap:anywhere;line-height:1.45;color:var(--text)}.bans-detail-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.bans-tokens-block{display:flex;flex-direction:column;gap:8px;padding-top:4px}.bans-tokens-list{list-style:none;display:flex;flex-direction:column;gap:8px}.bans-token-row{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:8px;background:var(--surface-2);border:1px solid var(--border)}.bans-token-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bans-token-badge{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:6px;background:#c9a96226;color:var(--gold)}.bans-token-code{font-size:.7rem;font-family:JetBrains Mono,ui-monospace,monospace;color:#93c5fd;letter-spacing:.04em}.bans-token-label{font-size:.8125rem;color:var(--text);font-weight:500}.bans-token-label-ar{font-size:.75rem;color:var(--muted)}.bans-token-value{font-size:.75rem;word-break:break-all;overflow-wrap:anywhere;color:var(--text);line-height:1.45}.header{flex-shrink:0;height:var(--header-h);display:flex;align-items:center;gap:24px;padding:0 24px;border-bottom:1px solid var(--border);background:#0c0e14eb;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.header-brand{display:flex;align-items:center;gap:14px}.brand-mark{width:40px;height:40px;border-radius:var(--radius-sm);background:linear-gradient(145deg,#1a1814,#0a0a0c);border:1px solid rgba(201,169,98,.35);color:var(--gold);font-size:.75rem;font-weight:700;letter-spacing:.04em;display:flex;align-items:center;justify-content:center}.brand-title{font-size:1rem;font-weight:600;letter-spacing:-.03em;line-height:1.2}.brand-status{display:flex;align-items:center;gap:6px;font-size:.7rem;color:var(--muted);margin-top:2px}.brand-status.offline .status-dot{background:var(--muted);box-shadow:none}.status-dot{width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e80}.header-stats{display:flex;gap:12px;margin-left:auto}.header-right{margin-left:auto;display:flex;align-items:center;gap:14px;min-width:0}.header-pills{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-pill{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:#ffffff08}.header-pill--online{border-color:#22c55e33;background:#22c55e0f}.header-pill--live{border-color:#ef444447;background:#ef444414;max-width:min(220px,28vw)}.header-pill-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e73;flex-shrink:0}.header-pill-dot--live{background:var(--live);box-shadow:0 0 8px #ef444473;animation:pulse 1.4s ease infinite}.header-pill-text{display:inline-flex;align-items:baseline;gap:6px;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);white-space:nowrap}.header-pill-text strong{font-size:.8125rem;font-weight:700;letter-spacing:-.02em;text-transform:none;color:var(--text)}.header-pill--live .header-pill-text strong{color:#fca5a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.header-toolbar{display:flex;align-items:center;gap:4px;height:40px;padding:4px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);flex-shrink:0}.header-toolbar-sep{width:1px;height:22px;margin:0 4px;background:var(--border);flex-shrink:0}.stat{padding:6px 16px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border)}.stat-label{display:block;font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.stat-value{font-size:.875rem;font-weight:600;letter-spacing:-.02em}.stat-live{border-color:#ef444440;background:#ef44440f}.stat-live .stat-value{color:#fca5a5}.header-actions{display:flex;align-items:center;gap:8px}.btn-icon{width:38px;height:38px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .15s,border-color .15s}.btn-icon:hover{color:var(--text);border-color:var(--border-focus)}.btn-icon svg{width:18px;height:18px}.btn-stop{height:32px;padding:0 14px;border:none;border-radius:7px;background:#ef44442e;border:1px solid rgba(239,68,68,.35);color:#fecaca;font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.btn-stop:hover{background:#ef444447;border-color:#ef444480;color:#fff}.btn-stop:active{transform:scale(.98)}.watch-stage-area{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.watch-grid{flex:1;min-height:0;display:grid;gap:10px;padding:16px 16px 16px 24px;height:100%}.watch-grid--1{grid-template-columns:1fr;grid-template-rows:1fr;padding:0}.watch-grid--1 .watch-tile--solo{border:none;border-radius:0}.watch-grid--1 .watch-tile--solo .stage{padding:16px 16px 16px 24px}.watch-grid--2{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.watch-grid--3{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.watch-grid--3 .watch-tile:first-child{grid-column:1 / -1}.watch-grid--4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.watch-grid--6{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}.watch-grid--8{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}.watch-tile{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);background:#000}.watch-tile .stage{flex:1;padding:0;min-height:0}.watch-tile .stage-frame{border:none;border-radius:0;box-shadow:none}.stage--compact .stage-overlay{font-size:.75rem}.stage--compact .stage-toolbar{bottom:8px;right:8px;gap:4px}.stage--compact .stage-toolbar .btn-icon{width:32px;height:32px}.watch-tile-close{position:absolute;top:8px;right:8px;z-index:20;width:28px;height:28px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:#000000a6;color:#fff;font-size:1.1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s}.watch-tile-close:hover{background:#ef4444bf;border-color:#ef444499}.stage{flex:1;min-width:0;min-height:0;padding:16px 16px 16px 24px;display:flex;flex-direction:column}.stage-frame{flex:1;width:100%;min-height:0;position:relative;border-radius:var(--radius);overflow:hidden;background:#000;border:1px solid var(--border);box-shadow:0 0 0 1px #ffffff08 inset,0 24px 48px #00000080}.stage-video-source{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden;clip:rect(0,0,0,0)}.stage-video-source.stage-video-visible{top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:1;clip:auto;object-fit:cover;z-index:1}.stage-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;background:transparent;opacity:0;visibility:hidden;transform:translateZ(0);z-index:1}.stage-canvas.has-video{opacity:1;visibility:visible;z-index:2;transition:opacity .08s ease}.stage-video-source.stage-video-direct{z-index:3;pointer-events:auto}.stage-frame:has(.stage-video-direct) .stage-canvas{opacity:0;visibility:hidden;z-index:0;pointer-events:none}.stage-status-bar{position:absolute;bottom:12px;left:50%;transform:translate(-50%);z-index:5;padding:8px 14px;border-radius:8px;background:#000000bf;border:1px solid var(--border);font-size:.8125rem;color:var(--muted);pointer-events:none}.stage-placeholder-connecting{z-index:4;pointer-events:none}.stage-frame:has(.stage-video-visible) .stage-placeholder-connecting{opacity:0;visibility:hidden;transition:opacity .15s ease}.stage-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px;text-align:center;background:linear-gradient(160deg,#0a0c10,#050608)}.stage-placeholder-icon{width:56px;height:56px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center;color:var(--gold);opacity:.7}.stage-placeholder-icon svg{width:26px;height:26px}.stage-placeholder-title{font-size:1.0625rem;font-weight:600;letter-spacing:-.02em;color:var(--text)}.stage-placeholder-desc{font-size:.875rem;color:var(--muted);max-width:280px;line-height:1.55}.stage-connecting{width:32px;height:32px;border:2px solid var(--border);border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.stage-overlay{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:linear-gradient(transparent,#000000d9);pointer-events:none}.stage-live-tag{display:inline-flex;align-items:center;gap:8px;font-size:.6875rem;font-weight:700;letter-spacing:.12em;color:#fff;padding:5px 10px;border-radius:6px;background:var(--live)}.stage-res-tag{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.625rem;font-weight:500;letter-spacing:.04em;opacity:.92;padding-left:6px;margin-left:2px;border-left:1px solid rgba(255,255,255,.35)}.live-dot{width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 1.4s ease infinite}.stage-talking-tag{display:inline-flex;align-items:center;gap:5px;margin-left:4px;padding:2px 7px;border-radius:4px;background:#00000038;color:#fff3c4;font-size:.625rem;letter-spacing:.1em}.talking-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);animation:pulse .7s ease infinite}@keyframes pulse{50%{opacity:.4}}.stage-player-name{font-size:.9375rem;font-weight:600;letter-spacing:-.02em;text-shadow:0 1px 8px rgba(0,0,0,.8)}.stage-toolbar{position:absolute;top:12px;right:12px;z-index:4;display:flex;gap:8px;padding:6px;border-radius:var(--radius-sm);background:#0000008c;border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.stage-toolbar .btn-icon{width:36px;height:36px}.stage-toolbar .btn-icon-audio.is-active{color:var(--gold);border-color:var(--border-focus);background:var(--gold-dim)}.stage-toolbar .btn-icon-audio.is-indicator-only:not(.is-active){opacity:.55}.stage-toolbar .btn-icon-audio:not(.is-active):hover{color:var(--gold)}.player-panel{display:flex;flex-direction:column;min-height:0;background:var(--surface);border-left:1px solid var(--border)}.player-panel-top{padding:16px 14px 0;border-bottom:1px solid var(--border)}.player-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.player-panel-head h2{font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.player-panel-hint{margin:0 0 10px;font-size:.75rem;color:var(--muted);line-height:1.35}.player-panel-online{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;border:1px solid rgba(34,197,94,.2);background:#22c55e0f;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);flex-shrink:0}.player-panel-online-dot{width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 6px #22c55e73;flex-shrink:0}.player-panel-online strong{font-size:.8125rem;font-weight:700;letter-spacing:-.02em;text-transform:none;color:var(--text)}.player-count{font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--gold-dim);color:var(--gold)}.player-search{padding-bottom:12px}.player-search-field{position:relative}.player-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted);pointer-events:none;z-index:1}.player-search-field input{display:block;width:100%;height:40px;padding:0 12px 0 38px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:.875rem;font-family:inherit;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}.player-search-field input::-webkit-search-decoration,.player-search-field input::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.player-search-field input::placeholder{color:var(--muted)}.player-search-field input:focus{outline:none;border-color:var(--border-focus);box-shadow:0 0 0 3px var(--gold-dim)}.player-list{list-style:none;flex:1;overflow-y:auto;padding:0 10px 14px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.1) transparent}.player-row{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;margin-bottom:4px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:inherit;font-family:inherit;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}.player-row:hover:not(:disabled){background:var(--surface-2);border-color:var(--border)}.player-row.active{background:var(--gold-dim);border-color:#c9a9624d}.player-row.status-locked{opacity:.6}.player-row-avatar{position:relative;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:var(--surface-2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:600;color:var(--text)}.player-status-dot{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;border:2px solid var(--surface)}.player-status-dot.status-ready{background:#4ade80}.player-status-dot.status-pending{background:#fbbf24}.player-status-dot.status-live{background:#ef4444;box-shadow:0 0 6px #ef4444b3}.player-status-dot.status-locked,.player-status-dot.status-cooldown{background:var(--muted)}.player-row-body{flex:1;min-width:0}.player-row-name{display:block;font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}.player-row-meta{display:block;font-size:.75rem;color:var(--muted);margin-top:2px}.player-empty{padding:32px 16px;text-align:center;font-size:.8125rem;color:var(--muted);line-height:1.5}.ctx-menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000}.ctx-menu{position:fixed;z-index:1001;min-width:140px;padding:6px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border);box-shadow:0 12px 40px #0000008c}.ctx-menu-item{display:block;width:100%;padding:10px 12px;border:none;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:.875rem;font-weight:500;text-align:left;cursor:pointer}.ctx-menu-item:hover{background:#ffffff0f}.ctx-menu-item-danger{color:#f87171}.ctx-menu-item-danger:hover{background:#ef44441f}.player-row-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.player-row-info{width:28px;height:28px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--gold);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.player-row-info svg{width:14px;height:14px}.player-row-info:hover{border-color:var(--gold)}.shell-main--profile{overflow:auto;min-height:0;background:var(--bg)}.profile-page{max-width:1080px;margin:0 auto;padding:24px 28px 48px}.profile-page--loading{pointer-events:none}.profile-nav{margin-bottom:20px}.profile-back-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;margin:-8px -12px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font:inherit;font-size:.8125rem;font-weight:500;cursor:pointer;transition:color .15s,background .15s}.profile-back-btn svg{width:18px;height:18px}.profile-back-btn:hover{color:var(--text);background:#ffffff0a}.profile-header-card{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 24px;padding:20px 22px;margin-bottom:20px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:0 1px #ffffff08}.profile-header-main{display:flex;align-items:flex-start;gap:16px;min-width:0;flex:1}.profile-avatar{width:56px;height:56px;border-radius:14px;background:linear-gradient(145deg,var(--gold-dim),var(--surface-2));border:1px solid var(--border-focus);display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:var(--gold);flex-shrink:0}.profile-header-text{min-width:0;flex:1}.profile-name{font-size:1.5rem;font-weight:600;letter-spacing:-.03em;line-height:1.2}.profile-char-name{margin-top:4px;font-size:.875rem;color:var(--muted)}.profile-stats{list-style:none;display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:14px}.profile-stat{display:inline-flex;flex-direction:column;gap:2px;padding:6px 10px;border-radius:8px;background:var(--bg);border:1px solid var(--border);min-width:72px}.profile-stat-label{font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.profile-stat-value{font-size:.8125rem;font-weight:500;color:var(--text)}.profile-header-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.profile-badge{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:6px 10px;border-radius:999px;border:1px solid var(--border);color:var(--muted);background:var(--bg)}.profile-badge--ok{color:#86efac;border-color:#86efac59;background:#22c55e1a}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.profile-grid-full{grid-column:1 / -1}.profile-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;min-height:120px}.profile-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--border)}.profile-card-title{font-size:.8125rem;font-weight:600;letter-spacing:.02em;color:var(--text)}.profile-card-count{font-size:.75rem;font-weight:600;color:var(--gold);padding:2px 8px;border-radius:999px;background:var(--gold-dim);border:1px solid rgba(201,169,98,.2)}.profile-empty{font-size:.8125rem;color:var(--muted);line-height:1.5;padding:8px 0}.profile-mono{font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:.75rem}.profile-link{color:var(--gold);text-decoration:none}.profile-link:hover{text-decoration:underline}.profile-id-rows{list-style:none;display:flex;flex-direction:column;gap:8px;max-height:420px;overflow-y:auto;padding-right:2px}.profile-id-row{display:grid;grid-template-columns:minmax(100px,130px) 1fr;gap:12px 16px;align-items:start;padding:10px 12px;border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--border)}.profile-id-label{font-size:.75rem;font-weight:500;color:var(--muted);padding-top:2px}.profile-id-value-wrap{min-width:0}.profile-id-value{display:block;word-break:break-all;line-height:1.45;color:var(--text)}.profile-inv-tabs{display:flex;gap:6px;margin-bottom:12px;padding:4px;border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--border)}.profile-inv-tab{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border:none;border-radius:8px;background:transparent;color:var(--muted);font-size:.8125rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.profile-inv-tab:hover{color:var(--text);background:#ffffff0a}.profile-inv-tab--active{color:var(--text);background:var(--surface-2);box-shadow:inset 0 0 0 1px #c9a96240}.profile-inv-tab-count{font-size:.6875rem;font-weight:700;color:var(--gold);padding:1px 6px;border-radius:999px;background:var(--gold-dim)}.profile-inventory-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;max-height:420px;overflow-y:auto;padding-right:2px}.profile-inv-item{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--border);min-height:120px}.profile-inv-thumb{width:100%;aspect-ratio:1;max-height:72px;border-radius:8px;background:var(--surface-2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden}.profile-inv-thumb img{width:100%;height:100%;object-fit:contain;padding:6px}.profile-inv-thumb--placeholder{color:var(--gold);font-size:1.25rem;font-weight:700;opacity:.85}.profile-inv-thumb--svg img{padding:4px}.profile-inv-name{font-size:.8125rem;font-weight:500;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-inv-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}.profile-tag{font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 6px;border-radius:4px}.profile-tag--hand{color:#7dd3fc;background:#7dd3fc1f}.profile-tag--bag{color:var(--muted);background:#ffffff0f}.profile-tag--trunk{color:#a78bfa;background:#a78bfa1f}.profile-tag--home{color:#86efac;background:#86efac1f}.profile-tag--chest{color:#fcd34d;background:#fcd34d1f}.profile-inv-qty{font-size:.75rem;font-weight:600;color:var(--gold)}.profile-token-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.profile-token-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--border)}.profile-token-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-token-name{font-size:.8125rem;font-weight:500}.profile-token-code{font-size:.6875rem;color:var(--muted);padding:2px 6px;border-radius:4px;background:#ffffff0a}.profile-token-hash{font-size:.6875rem;color:var(--muted);word-break:break-all;line-height:1.45}.profile-skeleton{border-radius:var(--radius);background:linear-gradient(90deg,var(--surface) 0%,var(--surface-2) 50%,var(--surface) 100%);background-size:200% 100%;animation:profile-shimmer 1.2s ease-in-out infinite}.profile-skeleton-nav{height:36px;width:160px;margin-bottom:20px;border-radius:var(--radius-sm)}.profile-skeleton-hero{height:120px;margin-bottom:20px}.profile-skeleton-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-skeleton-card{height:280px}.profile-skeleton-wide{grid-column:1 / -1;height:200px}@keyframes profile-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(max-width:900px){.profile-page{padding:16px 16px 32px}.profile-grid,.profile-skeleton-grid{grid-template-columns:1fr}.profile-grid-full,.profile-skeleton-wide{grid-column:1}.profile-id-row{grid-template-columns:1fr;gap:4px}}@media(max-width:900px){.shell-with-sidebar{flex-direction:column}.sidebar{width:100%;flex-direction:row;border-right:none;border-bottom:1px solid var(--border);padding:8px}.sidebar-section{display:flex;gap:6px;width:100%}.sidebar-section-label{display:none}.sidebar-item{flex:1;justify-content:center}.shell-body{grid-template-columns:1fr;grid-template-rows:1fr auto}.player-panel{max-height:220px;border-left:none;border-top:1px solid var(--border)}.stage{padding:12px}.watch-grid{padding:12px;gap:8px}.watch-grid--2,.watch-grid--3,.watch-grid--4,.watch-grid--6,.watch-grid--8{grid-template-columns:1fr 1fr;grid-template-rows:repeat(auto-fit,minmax(160px,1fr))}.watch-grid--3 .watch-tile:first-child{grid-column:auto}.header-pills{display:none}.header-right{gap:8px}.header-user-name{max-width:88px}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse 70% 50% at 50% -20%,rgba(201,169,98,.08),transparent),var(--bg)}.login-page-inner{width:100%;max-width:400px}.login-footer{margin-top:28px;padding-top:22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.login-footer-divider{position:absolute;left:28px;right:28px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(201,169,98,.35) 20%,rgba(201,169,98,.5) 50%,rgba(201,169,98,.35) 80%,transparent)}.login-footer{position:relative}.login-footer-discord{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border-radius:999px;color:#e8eaff;font-size:.8125rem;font-weight:600;letter-spacing:.03em;text-decoration:none;background:linear-gradient(135deg,#5865f247,#5865f21f);border:1px solid rgba(88,101,242,.45);box-shadow:0 0 0 1px #ffffff0a inset,0 4px 16px #5865f226;transition:background .2s ease,border-color .2s ease,transform .15s ease,box-shadow .2s ease}.login-footer-discord:hover{color:#fff;background:linear-gradient(135deg,#5865f273,#5865f238);border-color:#7289daa6;box-shadow:0 0 0 1px #ffffff0f inset,0 6px 20px #5865f247;transform:translateY(-1px)}.login-footer-discord:active{transform:translateY(0)}.login-footer-credit{margin:0;display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1.35}.login-footer-made{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);opacity:.75}.login-footer-names{font-size:.8125rem;font-weight:600;letter-spacing:.06em;background:linear-gradient(90deg,#d4b86a,var(--gold),#e8d5a3);-webkit-background-clip:text;background-clip:text;color:transparent}.login-loading{color:var(--muted);font-size:.9375rem}.login-card{width:100%;max-width:400px;padding:32px 28px 26px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);text-align:center;box-shadow:0 0 0 1px #ffffff08 inset,0 24px 48px #00000059}.login-brand .brand-mark{width:56px;height:56px;margin:0 auto 16px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.125rem;color:var(--bg);background:linear-gradient(135deg,var(--gold),#a88b40)}.login-brand h1{font-size:1.25rem;margin-bottom:8px}.login-brand p{color:var(--muted);font-size:.875rem;margin-bottom:24px}.login-error{color:#f87171;font-size:.8125rem;margin-bottom:16px}.login-discord-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px 20px;border-radius:var(--radius-sm);background:#5865f2;color:#fff;font-weight:600;font-size:.9375rem;text-decoration:none;transition:background .15s ease}.login-discord-btn:hover{background:#4752c4}.header-user{display:flex;align-items:center;gap:8px;margin-right:8px}.header-user-chip{display:flex;align-items:center;gap:8px;max-width:180px;padding:0 8px 0 4px;min-width:0}.header-user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid rgba(255,255,255,.12)}.header-user-avatar--fallback{display:flex;align-items:center;justify-content:center;font-size:.6875rem;font-weight:700;color:var(--gold);background:#c9a9621f}.header-user-name{font-size:.8125rem;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.btn-logout{height:32px;padding:0 12px;font-size:.75rem;font-weight:500;border-radius:7px;border:none;background:transparent;color:var(--muted);cursor:pointer;font-family:inherit;white-space:nowrap;transition:color .15s,background .15s}.btn-logout:hover{color:var(--text);background:#ffffff0f}
