:root{--ink:#eef1fb;--body:#a9b1cd;--muted:#6f7897;--line:#94a3b824;--bg:#0a0d17;--surface:#111527;--surface-2:#161b31;--indigo:#818cf8;--indigo-strong:#6366f1;--violet:#a78bfa;--emerald:#34d399;--grad:linear-gradient(135deg, #4f46e5, #7c3aed)}*{box-sizing:border-box}html{scroll-behavior:smooth;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{color:var(--body);background:radial-gradient(70% 50% at 85% -10%, #7c3aed24, transparent 60%), radial-gradient(60% 45% at 0% 0%, #4f46e51f, transparent 55%), var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background-attachment:fixed;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.6}h1,h2,h3,h4{color:var(--ink);letter-spacing:-.02em;margin:0;font-weight:700;line-height:1.15}p{margin:0}ul{margin:0;padding:0;list-style:none}a{color:inherit;text-decoration:none}button,input{font:inherit}img,svg{display:block}::selection{background:#6366f159}body:before,body:after{content:"";z-index:-1;filter:blur(80px);opacity:.5;pointer-events:none;will-change:transform;border-radius:50%;position:fixed}body:before{background:radial-gradient(circle,#7c3aed57,#0000 68%);width:62vmax;height:62vmax;animation:28s ease-in-out infinite alternate blob-drift-a;top:-22vmax;right:-16vmax}body:after{background:radial-gradient(circle,#4f46e54d,#0000 68%);width:52vmax;height:52vmax;animation:36s ease-in-out infinite alternate blob-drift-b;bottom:-20vmax;left:-14vmax}@keyframes blob-drift-a{0%{transform:translate(0)scale(1)}50%{transform:translate(-5vmax,6vmax)scale(1.12)}to{transform:translate(4vmax,-3vmax)scale(.96)}}@keyframes blob-drift-b{0%{transform:translate(0)scale(1.08)}50%{transform:translate(7vmax,-5vmax)scale(.94)}to{transform:translate(-4vmax,4vmax)scale(1.14)}}@media (prefers-reduced-motion:reduce){body:before,body:after{animation:none}}.container{width:min(1040px,92%);margin-inline:auto}.btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:14.5px;font-weight:600;transition:transform .15s,box-shadow .15s,filter .15s;display:inline-flex}.btn-primary{background:var(--grad);color:#fff;box-shadow:0 4px 16px #818cf859}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 24px #818cf873}.btn:disabled{opacity:.6;pointer-events:none}.btn-outline{border-color:var(--line);color:var(--ink);background:var(--surface)}.btn-outline:hover{border-color:#818cf88c}.topbar-progress{background:linear-gradient(90deg,#0000,#818cf8,#a78bfa,#0000) 0 0/50% 100%;height:2px;animation:1s linear infinite slide-progress}@keyframes slide-progress{0%{background-position:-50% 0}to{background-position:150% 0}}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.nav{z-index:50;-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line);background:#0a0d17bf;position:sticky;top:0}.nav-left{align-items:center;gap:14px;min-width:0;display:flex}.nav-inner{justify-content:space-between;align-items:center;height:66px;display:flex}.nav-actions,.nav-user{align-items:center;gap:14px;display:flex}.user-chip{color:var(--ink);align-items:center;gap:9px;font-size:14px;font-weight:600;display:inline-flex}.role-badge{letter-spacing:.07em;text-transform:uppercase;border-radius:999px;padding:3px 9px;font-size:10.5px;font-style:normal;font-weight:700}.role-admin{color:var(--violet);background:#a78bfa1f;border:1px solid #a78bfa59}.role-member{color:#60a5fa;background:#60a5fa1f;border:1px solid #60a5fa59}.auth-wrap{justify-content:center;align-items:center;min-height:calc(100vh - 66px);padding:40px 0;display:flex}.loading-hint{color:var(--muted)}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;width:min(400px,92vw);padding:36px 34px 34px;box-shadow:0 24px 60px #02061780}.auth-card .logo{margin-bottom:26px}.auth-card h1{margin-bottom:8px;font-size:22px}.auth-sub{margin-bottom:24px;font-size:14px}.field{margin-top:16px;display:block}.field span{color:var(--muted);margin-bottom:6px;font-size:12.5px;font-weight:600;display:block}.auth-card input,.user-form input,.user-form select{border:1px solid var(--line);background:var(--bg);width:100%;color:var(--ink);border-radius:10px;outline:none;padding:11px 14px;transition:border-color .15s,box-shadow .15s}.auth-card input:focus,.user-form input:focus,.user-form select:focus,.search-box input:focus{border-color:var(--indigo-strong);box-shadow:0 0 0 3px #818cf82e}.auth-card .btn-block{margin-top:24px}.auth-cancel{width:100%;color:var(--muted);cursor:pointer;background:0 0;border:none;margin-top:14px;padding:8px;font-size:13.5px;font-weight:500;display:block}.auth-cancel:hover{color:var(--indigo)}.logo{letter-spacing:-.02em;color:var(--ink);align-items:center;gap:9px;font-size:18px;font-weight:800;display:inline-flex}.logo-mark{background:var(--grad);color:#fff;border-radius:9px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.page{padding:48px 0 72px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:32px;display:flex}.page-head h1{font-size:clamp(28px,4vw,36px)}.page-head p{margin-top:6px;font-size:15px}.stats{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;transition:transform .2s,border-color .2s}.stat-card:hover{border-color:#818cf873;transform:translateY(-3px)}.stat-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:12.5px;font-weight:600}.stat-value{letter-spacing:-.03em;color:var(--ink);margin-top:6px;font-size:30px;font-weight:800}.stat-meter{background:#94a3b826;border-radius:99px;height:5px;margin-top:12px;overflow:hidden}.stat-meter div{background:var(--grad);border-radius:99px;height:100%}.stat-delta{color:var(--emerald);margin-top:10px;font-size:12.5px;font-weight:500}.stat-delta.neutral{color:var(--muted)}.notice{border:1px solid var(--line);background:var(--surface);border-radius:11px;margin-bottom:18px;padding:11px 16px;font-size:14px}.notice-ok{color:var(--emerald);background:#34d39912;border-color:#34d39959}.notice-err{color:#f87171;background:#f8717112;border-color:#f8717159}.files-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;margin-top:26px}.files-table thead th:first-child{border-top-left-radius:17px}.files-table thead th:last-child{border-top-right-radius:17px}.files-table tbody tr:last-child td:first-child{border-bottom-left-radius:18px}.files-table tbody tr:last-child td:last-child{border-bottom-right-radius:18px}.files-head{justify-content:space-between;align-items:baseline;gap:16px;padding:22px 24px 16px;display:flex}.files-tools{align-items:center;gap:14px;display:flex}.search-box{border:1px solid var(--line);background:var(--surface-2);width:250px;color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 12px;display:flex}.search-box input{min-width:0;color:var(--ink);background:0 0;border:none;outline:none;flex:1;padding:9px 0}.search-box input::placeholder{color:var(--muted)}.search-box button{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:4px 2px;font-size:16px}.search-box button:hover{color:var(--ink)}.files-head h2{font-size:17px}.files-count{color:var(--muted);font-size:13px}.files-table{border-collapse:collapse;width:100%;font-size:14px}.files-table th{text-align:left;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);border-block:1px solid var(--line);background:var(--surface-2);padding:10px 24px;font-size:11.5px;font-weight:700}.files-table td{border-bottom:1px solid var(--line);color:var(--body);white-space:nowrap;padding:14px 24px}.files-table tbody tr:last-child td{border-bottom:none}.files-table tbody tr{transition:background .15s}.files-table tbody tr:hover{background:#818cf80d}.file-cell{align-items:center;gap:12px;min-width:220px;display:flex;position:relative}.file-cell[data-uploader]:after{content:attr(data-uploader);z-index:20;color:var(--ink);white-space:nowrap;opacity:0;pointer-events:none;background:#1d2440;border:1px solid #818cf873;border-radius:8px;padding:5px 11px;font-size:12px;font-weight:500;transition:opacity .15s;position:absolute;top:calc(100% + 7px);left:42px;box-shadow:0 8px 22px #0206178c}.files-table tbody tr:hover .file-cell[data-uploader]:after{opacity:1}.file-name{color:var(--ink);font-weight:600}.kind-icon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.k-red{color:#f87171;background:#f8717124}.k-blue{color:#60a5fa;background:#60a5fa24}.k-amber{color:#fbbf24;background:#fbbf2424}.k-green{color:#34d399;background:#34d39924}.k-violet{color:#a78bfa;background:#a78bfa24}.k-pink{color:#f472b6;background:#f472b624}.pill{cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:4px 11px;font-family:inherit;font-size:12px;font-weight:600;transition:filter .15s,transform .15s;display:inline-flex}.pill:hover{filter:brightness(1.2);transform:translateY(-1px)}.pill-shared{color:var(--emerald);background:#34d3991a;border:1px solid #34d39940}.pill-private{color:var(--muted);background:#94a3b814;border:1px solid #94a3b833}.file-actions{width:1%}.file-actions button,.file-actions .icon-btn{border:1px solid var(--line);width:32px;height:32px;color:var(--body);cursor:pointer;background:0 0;border-radius:9px;justify-content:center;align-items:center;margin-left:6px;transition:color .15s,border-color .15s,transform .15s;display:inline-flex}.file-actions button:first-child,.file-actions .icon-btn:first-child{margin-left:0}.file-actions button:hover,.file-actions .icon-btn:hover{color:var(--indigo);border-color:#818cf880;transform:translateY(-1px)}.file-actions button.danger:hover{color:#f87171;border-color:#f8717180}.empty-cell{text-align:center;color:var(--muted)!important;padding:44px 24px!important}.member-hint{color:var(--muted);margin-top:16px;font-size:13px}.users-panel{margin-top:26px}.users-panel h2{align-items:center;gap:9px;display:inline-flex}.user-form{border-bottom:1px solid var(--line);grid-template-columns:1.4fr 1.4fr .7fr auto;gap:10px;padding:6px 24px 20px;display:grid}.user-form select{cursor:pointer}.users-table td{padding-block:12px}.pw-editor-row td{background:var(--surface-2)}.pw-editor{align-items:center;gap:10px;display:flex}.pw-editor input{border:1px solid var(--line);background:var(--bg);min-width:0;color:var(--ink);border-radius:10px;outline:none;flex:1;padding:10px 14px;transition:border-color .15s,box-shadow .15s}.pw-editor input:focus{border-color:var(--indigo-strong);box-shadow:0 0 0 3px #818cf82e}.btn-sm{padding:8px 16px;font-size:13px}.servers-page .page-head{margin-bottom:26px}.server-form-panel{margin-bottom:20px}.server-form{grid-template-columns:1.2fr 1.2fr .5fr 1fr auto;gap:10px;padding:6px 24px 22px;display:grid}.server-form input,.server-form select{border:1px solid var(--line);background:var(--bg);width:100%;color:var(--ink);border-radius:10px;outline:none;padding:11px 14px;transition:border-color .15s,box-shadow .15s}.server-form input:focus,.server-form select:focus{border-color:var(--indigo-strong);box-shadow:0 0 0 3px #818cf82e}.server-delete{border:1px solid var(--line);width:32px;height:32px;color:var(--body);cursor:pointer;background:0 0;border-radius:9px;justify-content:center;align-items:center;transition:color .15s,border-color .15s,transform .15s;display:inline-flex}.server-delete:hover{color:#f87171;border-color:#f8717180;transform:translateY(-1px)}.server-edit{border:1px solid var(--line);width:32px;height:32px;color:var(--body);cursor:pointer;background:0 0;border-radius:9px;justify-content:center;align-items:center;transition:color .15s,border-color .15s,transform .15s;display:inline-flex}.server-edit:hover{color:var(--violet);border-color:#a78bfa80;transform:translateY(-1px)}.edit-actions{grid-column:1/-1;gap:8px;display:flex}.server-card.editing{display:block}.server-card.editing .server-form{width:100%}.servers-grid{grid-template-columns:1fr;gap:14px;display:grid}.server-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;transition:transform .2s,border-color .2s;display:flex}.server-card:hover{border-color:#818cf873;transform:translateY(-2px)}.server-info{align-items:center;gap:14px;display:flex}.status-dot{background:var(--emerald);border-radius:50%;flex-shrink:0;width:10px;height:10px;animation:2.4s ease-in-out infinite pulse-dot;box-shadow:0 0 0 3px #34d39926}@keyframes pulse-dot{0%,to{box-shadow:0 0 0 3px #34d39926}50%{box-shadow:0 0 0 6px #34d3990d}}.server-info h3{font-size:16px}.server-info p{color:var(--muted);margin-top:2px;font-size:13px}.conn-chips{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.copy-chip{background:var(--surface-2);border:1px solid var(--line);border-radius:11px;align-items:center;gap:10px;padding:9px 12px;display:flex}.chip-label{letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-size:10.5px;font-weight:700}.copy-chip code{color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13.5px;font-weight:600}.copy-chip button{width:28px;height:28px;color:var(--body);cursor:pointer;background:#94a3b814;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;transition:color .15s,border-color .15s,transform .15s;display:inline-flex}.copy-chip button:hover{color:var(--indigo);border-color:#818cf880;transform:translateY(-1px)}.copy-chip button.copied{color:var(--emerald);background:#34d39914;border-color:#34d39973}.servers-footer{color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:26px 0 34px;font-size:12.5px;font-weight:600;display:flex}.slots-layout{grid-template-columns:1.15fr 1fr;align-items:start;gap:22px;display:grid}.machine-panel{flex-direction:column;gap:22px;padding:32px 28px 28px;display:flex;position:relative}.sound-toggle{border:1px solid var(--line);width:32px;height:32px;color:var(--body);cursor:pointer;background:0 0;border-radius:9px;justify-content:center;align-items:center;transition:color .15s,border-color .15s,transform .15s;display:inline-flex;position:absolute;top:14px;right:14px}.sound-toggle:hover{color:var(--violet);border-color:#a78bfa80;transform:translateY(-1px)}.sound-toggle.on{color:var(--violet);border-color:#a78bfa73}.reels-row{justify-content:center;gap:14px;display:flex}.reel{background:var(--surface-2);border:1px solid var(--line);border-radius:16px;justify-content:center;align-items:center;width:92px;height:116px;display:flex;overflow:hidden;box-shadow:inset 0 -18px 30px #02061759,inset 0 2px #ffffff0d}.reel .sym{font-size:52px;line-height:1}.reel.rolling .sym{filter:blur(1px);opacity:.75;animation:.12s linear infinite reel-jitter}@keyframes reel-jitter{0%{transform:translateY(-16%)}50%{transform:translateY(10%)}to{transform:translateY(-16%)}}.sym-seven{color:#fbbf24;font-weight:800}.sym-star{color:#fde047}.sym-diamond{color:#67e8f9}.sym-heart{color:#fb7185}.sym-club{color:#4ade80}.sym-dot{color:#94a3b8}.spin-result{text-align:center;margin:-4px 0 0;font-size:15px;font-weight:600}.result-win{color:var(--emerald)}.result-lose{color:#f87171}.result-neutral{color:var(--muted)}.result-err{color:#f87171}.bet-row{justify-content:center;align-items:stretch;gap:8px;display:flex}.bet-row input{border:1px solid var(--line);background:var(--bg);width:110px;color:var(--ink);text-align:center;border-radius:10px;outline:none;padding:9px 12px;transition:border-color .15s,box-shadow .15s}.bet-row input:focus{border-color:var(--indigo-strong);box-shadow:0 0 0 3px #818cf82e}.btn-chip{border:1px solid var(--line);color:var(--body);cursor:pointer;background:0 0;border-radius:9px;padding:8px 13px;font-size:13px;font-weight:600;transition:color .15s,border-color .15s}.btn-chip:hover{color:var(--indigo);border-color:#818cf880}.spin-btn{letter-spacing:.02em;width:100%;font-size:17px}.coin{letter-spacing:.06em;text-transform:uppercase;color:#fbbf24;font-size:11px;font-style:normal;font-weight:700}.rank{width:24px;height:24px;color:var(--muted);background:#94a3b814;border-radius:7px;justify-content:center;align-items:center;font-size:12.5px;font-weight:800;display:inline-flex}.rank-1{color:#fbbf24;background:#fbbf2429}.rank-2{color:#cbd5e1;background:#cbd5e124}.rank-3{color:#d97706;background:#d9770629}.lb-me td{background:#818cf812}.rig-badge{text-align:center;letter-spacing:.05em;text-transform:uppercase;color:var(--violet);background:#a78bfa1f;border:1px solid #a78bfa66;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;display:inline-block}.rig-badge.small{padding:2px 8px;font-size:9.5px}.lb-player{align-items:center;gap:9px;display:flex}.mini-rig{border:1px solid var(--line);width:24px;height:24px;color:var(--body);cursor:pointer;background:0 0;border-radius:7px;justify-content:center;align-items:center;transition:color .15s,border-color .15s,transform .15s;display:inline-flex}.mini-rig:hover:not(:disabled){color:var(--violet);border-color:#a78bfa8c;transform:translateY(-1px)}.mini-rig:disabled{opacity:.45;cursor:default}.rig-self{color:var(--violet);border-color:#a78bfa73;justify-content:center;align-self:center;align-items:center;gap:6px;display:inline-flex}.rig-self:hover:not(:disabled){color:#c4b5fd;border-color:#a78bfacc}.rig-self:disabled{opacity:.5}@media (width<=700px){.server-card{flex-direction:column;align-items:flex-start;gap:14px}}@media (width<=860px){.user-form,.server-form{grid-template-columns:1fr 1fr}.slots-layout{grid-template-columns:1fr}}@media (width<=900px){.stats{grid-template-columns:repeat(2,1fr)}.files-list th:nth-child(3),.files-list td:nth-child(3){display:none}}@media (width<=620px){.page{padding:32px 0 56px}.stat-value{font-size:24px}.files-list th:nth-child(4),.files-list td:nth-child(4){display:none}.files-list th,.files-list td{padding-inline:16px}}@media (width<=560px){.container{width:94%}.nav-inner{flex-wrap:wrap;row-gap:10px;height:auto;padding-block:12px}.nav-left{gap:10px}.user-chip{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.nav-actions{gap:8px}.nav-actions .btn{padding:8px 14px;font-size:13px}.files-panel{overflow-x:auto}.files-table{min-width:380px}.files-head{flex-wrap:wrap;row-gap:6px}.files-tools{gap:8px}.stat-value{font-size:22px}.user-form,.server-form{grid-template-columns:1fr}.conn-chips{flex-wrap:wrap}.reel{border-radius:13px;width:74px;height:96px}.reel .sym{font-size:42px}.reels-row{gap:10px}.bet-row{flex-wrap:wrap}.bet-row input{width:100%}.lb-panel .files-table{min-width:400px}}.last-seen{color:var(--body);font-size:13px}.last-seen.online{color:#4ade80;font-weight:600}.yt-meme-mount{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.file-thumb{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;flex-shrink:0;width:38px;height:38px;transition:border-color .15s,transform .15s;display:block;overflow:hidden}.file-thumb:hover{border-color:#818cf899;transform:translateY(-1px)}.file-thumb img{object-fit:cover;width:100%;height:100%;display:block}.lightbox{z-index:90;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#04060dcc;justify-content:center;align-items:center;padding:28px;animation:.18s lb-fade;display:flex;position:fixed;inset:0}.lightbox-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;max-width:min(940px,94vw);animation:.22s cubic-bezier(.33,1.4,.5,1) lb-pop;overflow:hidden;box-shadow:0 30px 80px #0000008c}.lightbox-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 16px;display:flex}.lightbox-head .file-name{text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;overflow:hidden}.lightbox-actions{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;display:flex}.lightbox-card img{object-fit:contain;background:var(--surface-2);max-width:100%;max-height:min(72vh,720px);margin-inline:auto;display:block}@keyframes lb-fade{0%{opacity:0}}@keyframes lb-pop{0%{opacity:0;transform:scale(.95)translateY(10px)}}.mc-status{flex-shrink:0;align-items:center;gap:7px;display:inline-flex}.mc-status .status-dot{width:9px;height:9px;box-shadow:none}.mc-status.is-online .status-dot{background:var(--emerald);animation:2.4s ease-in-out infinite pulse-dot}.mc-status.is-offline .status-dot{background:#f87171}.mc-status.is-checking .status-dot{background:var(--muted);animation:1.4s ease-in-out infinite pulse-dot}.mc-count{color:var(--ink);background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:700}
