:root{font-family:Inter,system-ui,sans-serif;color:#e8eaed;background:#0f1115}*{box-sizing:border-box}body{margin:0;background:#0f1115}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh;width:100%}.sidebar{background:#151922;border-right:1px solid #252a35;padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.brand{font-weight:700;font-size:1.1rem}.sidebar nav{display:flex;flex-direction:column;gap:.5rem}.sidebar nav a{padding:.6rem .75rem;border-radius:8px;color:#b8beca}.sidebar nav a.active,.sidebar nav a:hover{background:#222836;color:#fff}.logout-btn{margin-top:auto;background:#2a3140;color:#fff;border:none;border-radius:8px;padding:.65rem;cursor:pointer}.content{padding:1.5rem 2rem;width:100%;min-width:0;box-sizing:border-box}.page,.dashboard-page,.statistics-page,.settings-page,.embeds-page{width:100%;max-width:none;display:flex;flex-direction:column;gap:1.25rem;min-width:0}.center{min-height:100vh;display:grid;place-items:center}.login-page{background:radial-gradient(circle at top,#1a2030,#0f1115)}.login-card{width:min(420px,92vw);background:#151922;border:1px solid #252a35;border-radius:12px;padding:2rem}.login-card button{width:100%;margin-top:1rem;background:#5865f2;color:#fff;border:none;border-radius:8px;padding:.75rem;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:0;width:100%}.stat-card{background:#151922;border:1px solid #252a35;border-radius:12px;padding:1rem;min-width:0}.stat-label{color:#9aa3b2;font-size:.9rem}.stat-value{font-size:1.6rem;font-weight:700;margin-top:.25rem}.stat-hint{color:#7d8798;font-size:.8rem;margin-top:.25rem}.dashboard-page{display:flex;flex-direction:column;gap:1.25rem}.dashboard-panel,.statistics-leaderboard-panel,.statistics-table-panel{width:100%}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.dashboard-header h1{margin:0;font-size:1.75rem;letter-spacing:-.02em}.dashboard-header .muted{margin:.35rem 0 0}.dashboard-status{display:flex;flex-direction:column;align-items:flex-end;gap:.2rem;padding:.65rem .9rem;background:#151922;border:1px solid #252a35;border-radius:12px;min-width:160px}.dashboard-status-label{color:#7d8798;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}.dashboard-status-value{color:#e8eaed;font-size:.95rem;font-weight:600}.statistics-page{display:flex;flex-direction:column;gap:1.25rem}.statistics-summary{margin-top:0;width:100%}.statistics-body{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;width:100%}@media (min-width: 1200px){.statistics-body{grid-template-columns:minmax(380px,1fr) minmax(0,1.35fr);align-items:start}}.statistics-leaderboard-panel{padding:1.25rem 1.35rem 1.35rem}.statistics-metric-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1rem;padding:.25rem;background:#0f1115;border:1px solid #252a35;border-radius:12px}.statistics-metric-tabs button{flex:1 1 auto;min-width:5.5rem;border:none;background:transparent;color:#9aa3b2;border-radius:9px;padding:.55rem .85rem;cursor:pointer;font-size:.88rem;font-weight:500;transition:background .15s ease,color .15s ease}.statistics-metric-tabs button:hover{color:#e8eaed;background:#1c2230}.statistics-metric-tabs button.active{background:#5865f2;color:#fff}.leaderboard-chart{margin-top:1.25rem}.leaderboard-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;align-items:end;margin-bottom:1.25rem}.leaderboard-podium-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.45rem;padding:1rem .85rem .9rem;border-radius:14px;border:1px solid #252a35;background:linear-gradient(180deg,#1a2030,#151922);min-height:120px}.leaderboard-podium-card.podium-first{min-height:148px;border-color:#f5c54273;background:linear-gradient(180deg,#f5c54224,#151922);box-shadow:0 10px 30px #f5c54214}.leaderboard-podium-card.podium-second{border-color:#c0c0c059;background:linear-gradient(180deg,#c0c0c01a,#151922)}.leaderboard-podium-card.podium-third{border-color:#cd7f3259;background:linear-gradient(180deg,#cd7f321a,#151922)}.leaderboard-podium-rank{width:2rem;height:2rem;display:grid;place-items:center;border-radius:999px;font-size:.9rem;font-weight:700}.podium-first .leaderboard-podium-rank{background:#f5c54233;color:#f5c542}.podium-second .leaderboard-podium-rank{background:#c0c0c02e;color:#d5d8de}.podium-third .leaderboard-podium-rank{background:#cd7f3233;color:#cd7f32}.leaderboard-podium-name{width:100%;font-weight:600;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-podium-value{color:#c5ccd8;font-size:.84rem;font-variant-numeric:tabular-nums}.leaderboard-list{display:flex;flex-direction:column;gap:.8rem}.leaderboard-row{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.85rem;align-items:center}.leaderboard-rank{width:2rem;height:2rem;display:grid;place-items:center;border-radius:10px;background:#0f1115;border:1px solid #252a35;color:#9aa3b2;font-size:.82rem;font-weight:600}.leaderboard-row-body{display:flex;flex-direction:column;gap:.45rem;min-width:0}.leaderboard-row-top{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.leaderboard-name{font-size:.92rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-value{flex-shrink:0;color:#c5ccd8;font-size:.84rem;font-variant-numeric:tabular-nums;padding:.2rem .55rem;border-radius:999px;background:#0f1115;border:1px solid #252a35}.leaderboard-track{height:12px;border-radius:999px;background:#0f1115;overflow:hidden}.leaderboard-fill{height:100%;border-radius:999px;min-width:6px;transition:width .35s ease}.statistics-table-panel{padding:1.25rem 1.35rem 1.35rem}.statistics-table-header{margin-bottom:0}.statistics-toolbar{margin-top:1rem}.statistics-toolbar .statistics-search{flex:1;min-width:220px}.sortable-th{display:inline-flex;align-items:center;gap:.15rem;padding:0;border:none;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;transition:color .15s ease}.sortable-th:hover{color:#e8eaed}.sortable-th.active{color:#aeb7ff}.sortable-th-indicator{font-size:.75rem;opacity:.9}.statistics-table-wrap{margin-top:1rem;border:1px solid #252a35;border-radius:12px;background:#0f1115;max-height:min(70vh,720px);overflow:auto}.statistics-table thead th{position:sticky;top:0;z-index:1;background:#151922;box-shadow:0 1px #252a35}.statistics-table tbody tr{transition:background .15s ease}.statistics-table tbody tr:hover{background:#5865f20f}.statistics-table tbody tr.rank-row-1{background:#f5c5420f}.statistics-table tbody tr.rank-row-2{background:#c0c0c00d}.statistics-table tbody tr.rank-row-3{background:#cd7f320d}.statistics-user-cell{font-weight:500;min-width:180px}.user-cell{display:inline-flex;align-items:center;gap:.65rem;min-width:0;color:inherit;text-decoration:none;transition:color .15s ease}.user-cell:hover,.user-cell:hover .user-cell-name{color:#fff}.user-cell-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0;background:#0f1115;border:1px solid #252a35;object-fit:cover}.user-cell-copy{display:flex;flex-direction:column;gap:.1rem;min-width:0}.user-cell-name{font-weight:600;font-size:.92rem;color:#e8eaed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-cell-handle{font-size:.76rem;color:#7d8798;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-rank{display:inline-grid;place-items:center;min-width:1.6rem;height:1.6rem;padding:0 .35rem;border-radius:8px;font-size:.82rem;font-weight:600;color:#9aa3b2}.table-rank-1{background:#f5c5422e;color:#f5c542}.table-rank-2{background:#c0c0c029;color:#d5d8de}.table-rank-3{background:#cd7f322e;color:#cd7f32}.statistics-table-panel .toolbar{margin-top:.75rem}.statistics-table-panel .table-wrap{margin-top:.75rem;border:none;border-radius:10px;background:#0f1115}.table-empty{text-align:center;color:#7d8798;padding:1.5rem!important}.dashboard-panel{background:#151922;border:1px solid #252a35;border-radius:14px;padding:1.1rem 1.15rem 1.15rem;width:100%;min-width:0;box-sizing:border-box}.dashboard-panel-wide{margin-top:.25rem}.dashboard-panel-header h2{margin:0;font-size:1.05rem}.dashboard-panel-header .muted{margin:.3rem 0 0;font-size:.85rem}.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.dashboard-empty{margin:.75rem 0 0;color:#7d8798;font-size:.9rem}.activity-bars{display:flex;flex-direction:column;gap:.7rem;margin-top:1rem}.activity-bar-row{display:flex;flex-direction:column;gap:.35rem}.activity-bar-meta{display:grid;grid-template-columns:1.5rem minmax(0,1fr) auto;gap:.5rem;align-items:center;font-size:.85rem}.activity-bar-rank{color:#7d8798;font-weight:600;font-size:.8rem}.activity-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-bar-value{color:#c5ccd8;font-variant-numeric:tabular-nums;font-size:.82rem}.activity-bar-track{height:8px;border-radius:999px;background:#0f1115;overflow:hidden}.activity-bar-fill{height:100%;border-radius:999px;min-width:4px;transition:width .35s ease}.activity-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.65rem;align-items:end;min-height:180px;margin-top:1rem;padding-top:.25rem}.activity-chart{margin-top:1rem;display:flex;flex-direction:column;gap:1rem;width:100%}.activity-chart-meta{display:flex;flex-wrap:wrap;gap:.75rem}.activity-chart-stat{display:flex;align-items:baseline;gap:.45rem;padding:.55rem .85rem;border-radius:10px;background:#0f1115;border:1px solid #252a35}.activity-chart-stat-value{font-size:1.15rem;font-weight:700;color:#e8eaed;font-variant-numeric:tabular-nums}.activity-chart-stat-label{font-size:.82rem;color:#9aa3b2}.activity-chart-plot{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.85rem;height:240px;padding:1rem 1rem .85rem;background:linear-gradient(180deg,rgba(88,101,242,.04) 0%,transparent 42%),#0f1115;border:1px solid #252a35;border-radius:14px;position:relative;overflow:hidden}.activity-chart-plot:before{content:"";position:absolute;top:1rem;right:1rem;bottom:3.4rem;left:1rem;background-image:linear-gradient(to top,rgba(255,255,255,.04) 1px,transparent 1px);background-size:100% 25%;pointer-events:none}.activity-chart-col{display:flex;flex-direction:column;align-items:center;min-width:0;height:100%;position:relative;z-index:1}.activity-chart-col.is-today .activity-chart-weekday,.activity-chart-col.is-today .activity-chart-day{color:#e8eaed}.activity-chart-col.is-today .activity-chart-date{background:#5865f224;border-color:#5865f247}.activity-chart-value{flex-shrink:0;min-height:1.4rem;margin-bottom:.35rem;font-size:.88rem;font-weight:700;color:#e8eaed;font-variant-numeric:tabular-nums}.activity-chart-col.is-empty .activity-chart-value{color:#7d8798}.activity-chart-bar-area{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;min-height:0;padding:0 .15rem}.activity-chart-bar{width:min(100%,64px);border-radius:12px 12px 8px 8px;min-height:0;background:linear-gradient(180deg,color-mix(in srgb,var(--activity-color) 78%,white),var(--activity-color));box-shadow:0 8px 22px color-mix(in srgb,var(--activity-color) 34%,transparent);transition:height .4s cubic-bezier(.22,1,.36,1)}.activity-chart-col.is-today .activity-chart-bar{box-shadow:0 10px 28px color-mix(in srgb,var(--activity-color) 48%,transparent)}.activity-chart-col.is-empty .activity-chart-bar{width:min(100%,64px);height:6px!important;border-radius:999px;background:#252a35;box-shadow:none}.activity-chart-date{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:.1rem;margin-top:.65rem;padding:.35rem .5rem;border-radius:8px;border:1px solid transparent;min-width:0;width:100%}.activity-chart-weekday{color:#9aa3b2;font-size:.78rem;font-weight:600;text-transform:capitalize}.activity-chart-day{color:#7d8798;font-size:.72rem;text-align:center;line-height:1.2}.activity-timeline-col{display:flex;flex-direction:column;align-items:center;gap:.45rem;min-width:0}.activity-timeline-bar-wrap{width:100%;max-width:42px;height:120px;display:flex;align-items:flex-end;justify-content:center}.activity-timeline-bar{width:100%;border-radius:8px 8px 4px 4px;min-height:0;transition:height .35s ease}.activity-timeline-label{color:#9aa3b2;font-size:.72rem;text-align:center;line-height:1.2}.activity-timeline-count{color:#e8eaed;font-size:.82rem;font-weight:600;font-variant-numeric:tabular-nums}.toolbar{display:flex;gap:.75rem;margin:1rem 0}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;background:#151922;border:1px solid #252a35;color:#fff;border-radius:8px;padding:.55rem .65rem}.table-wrap{overflow:auto;border:1px solid #252a35;border-radius:12px}table{width:100%;border-collapse:collapse}th,td{padding:.65rem .75rem;border-bottom:1px solid #252a35;text-align:left}th{color:#9aa3b2;font-weight:600}.muted{color:#9aa3b2}.error{color:#ff7b7b}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;width:100%}.form-grid label{display:flex;flex-direction:column;gap:.35rem}.form-grid .full{grid-column:1 / -1}.embed-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:1.5rem;margin-top:1rem;width:100%}.embed-tabs{display:flex;gap:.5rem;grid-column:1 / -1}.embed-tabs button{background:#151922;border:1px solid #252a35;color:#fff;border-radius:8px;padding:.5rem .75rem;cursor:pointer}.embed-tabs button.active{background:#5865f2;border-color:#5865f2}.settings-page,.settings-panel,.settings-tabs{width:100%}.settings-header h1{margin:0;font-size:1.75rem;letter-spacing:-.02em}.settings-subtitle{margin:.35rem 0 0;color:#9aa3b2;font-size:.95rem}.settings-alert{margin-top:1rem;padding:.75rem 1rem;border-radius:10px;font-size:.9rem;border:1px solid #3d2a2a;background:#1a1212}.settings-alert.error{color:#ffb4b4}.error-panel{margin-top:1rem;border-radius:12px;border:1px solid rgba(255,123,123,.45);background:linear-gradient(135deg,#5c1c1cf5,#3a1212f5);color:#ffecec;box-shadow:0 12px 40px #00000040,0 0 0 1px #ffffff0a inset;overflow:hidden}.error-panel-header{display:flex;align-items:flex-start;gap:.75rem;padding:.95rem 1rem .85rem;border-bottom:1px solid rgba(255,123,123,.2)}.error-panel-icon{flex-shrink:0;width:1.5rem;height:1.5rem;display:grid;place-items:center;border-radius:999px;background:#ff7b7b33;color:#ff7b7b;font-size:.85rem;font-weight:700}.error-panel-heading{flex:1;min-width:0}.error-panel-heading h2{margin:0;font-size:.98rem;font-weight:600;color:#ffecec}.error-panel-close{flex-shrink:0;width:1.75rem;height:1.75rem;border:none;border-radius:8px;background:#ffffff14;color:inherit;font-size:1.1rem;line-height:1;cursor:pointer;opacity:.75}.error-panel-close:hover{opacity:1;background:#ffffff24}.error-panel-table{width:100%;border-collapse:collapse}.error-panel-table th,.error-panel-table td{padding:.7rem 1rem;border-bottom:1px solid rgba(255,123,123,.12);text-align:left;vertical-align:top;font-size:.88rem;line-height:1.45}.error-panel-table tr:last-child th,.error-panel-table tr:last-child td{border-bottom:none}.error-panel-table th{width:7.5rem;color:#ffb4b4;font-weight:600;white-space:nowrap}.error-panel-table td{color:#ffe8e8;word-break:break-word}.settings-tabs{display:flex;flex-wrap:wrap;gap:.35rem;margin:1.5rem 0 0;padding:.25rem;background:#0f1115;border:1px solid #252a35;border-radius:12px;width:fit-content}.settings-tabs button{background:transparent;border:none;color:#9aa3b2;border-radius:8px;padding:.55rem 1.1rem;cursor:pointer;font-weight:500;transition:background .15s,color .15s}.settings-tabs button:hover{color:#fff;background:#1c2130}.settings-tabs button.active{background:#5865f2;color:#fff;box-shadow:0 2px 8px #5865f259}.settings-panel{margin-top:1rem;background:#151922;border:1px solid #252a35;border-radius:14px;padding:1.5rem}.settings-section-head{margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid #252a35}.settings-section-head h2{margin:0;font-size:1.1rem;font-weight:600}.settings-section-head p{margin:.4rem 0 0;color:#9aa3b2;font-size:.9rem;line-height:1.45}.settings-card{background:#0f1115;border:1px solid #252a35;border-radius:12px;padding:.25rem 1rem;margin-bottom:1.25rem}.settings-switch-list{display:flex;flex-direction:column;gap:.65rem;margin-top:1rem}.settings-switch-list .settings-card{margin-bottom:0}.settings-form-spaced{margin-top:.25rem}.welcome-section{padding-bottom:.25rem}.welcome-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.25rem}.welcome-section-head .settings-section-head{flex:1;min-width:0}.welcome-section-body{border:none;padding:0;margin:0;min-width:0}.welcome-section-off .welcome-section-body{opacity:.42;filter:grayscale(.35)}.welcome-section-body:disabled{pointer-events:none;cursor:not-allowed}.welcome-section-body:disabled *{cursor:not-allowed}.welcome-mode-tabs{display:inline-flex;gap:.35rem;margin-top:1rem;padding:.25rem;background:#0f1115;border:1px solid #252a35;border-radius:12px}.welcome-mode-tabs button{border:none;background:transparent;color:#9aa3b2;border-radius:9px;padding:.55rem .95rem;cursor:pointer;font-size:.88rem;font-weight:500;transition:background .15s ease,color .15s ease}.welcome-mode-tabs button:hover{color:#e8eaed;background:#1c2230}.welcome-mode-tabs button.active{background:#5865f2;color:#fff}.welcome-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:1.25rem;margin-top:1.25rem;align-items:start}.welcome-editor{display:flex;flex-direction:column;gap:1rem}.welcome-editor-block{background:#0f1115;border:1px solid #252a35;border-radius:14px;padding:1rem 1.05rem 1.05rem}.welcome-editor-block h3{margin:0 0 .75rem;font-size:.95rem}.welcome-editor-sub{margin:-.35rem 0 .85rem;color:#7d8798;font-size:.84rem}.welcome-preview-panel{position:sticky;top:1rem;background:#0f1115;border:1px solid #252a35;border-radius:14px;padding:1rem 1.05rem 1.05rem}.welcome-preview-panel h3{margin:0 0 .85rem;font-size:.95rem}.welcome-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.85rem}.welcome-preview-pill{display:inline-flex;align-items:center;padding:.25rem .55rem;border-radius:999px;background:#5865f224;border:1px solid rgba(88,101,242,.28);color:#aeb7ff;font-size:.76rem;font-weight:600}.welcome-preview-channel{color:#7d8798;font-size:.8rem}.welcome-preview-tabs{display:inline-flex;gap:.25rem;padding:.2rem;background:#151922;border:1px solid #252a35;border-radius:9px}.welcome-preview-tabs button{border:none;background:transparent;color:#9aa3b2;border-radius:7px;padding:.35rem .65rem;font-size:.78rem;cursor:pointer}.welcome-preview-tabs button.active{background:#252a35;color:#fff}.welcome-card-preview{position:relative;border-radius:12px;overflow:hidden;border:1px solid #252a35;background:#151922;aspect-ratio:1024 / 500}.welcome-card-bg{width:100%;height:100%;object-fit:cover;display:block}.welcome-card-scene{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.welcome-card-avatar-wrap{position:absolute;left:37%;top:44%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:28%}.welcome-card-avatar{width:clamp(64px,18%,92px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#5865f2,#7289da);border:4px solid #fff;color:#fff;font-size:1.6rem;font-weight:700;box-shadow:0 8px 24px #00000059}.welcome-card-name,.welcome-card-member{color:#fff;text-align:center;text-shadow:0 2px 8px rgba(0,0,0,.85);font-weight:700;line-height:1.2}.welcome-card-name{margin-top:.55rem;font-size:clamp(.85rem,2.4vw,1.05rem)}.welcome-card-member{margin-top:.2rem;font-size:clamp(.72rem,2vw,.88rem);font-weight:500;opacity:.95}.welcome-card-title{position:absolute;right:8%;top:66%;transform:translateY(-50%);color:#fff;font-weight:800;letter-spacing:.04em;font-size:clamp(.8rem,2.5vw,1.1rem);text-shadow:0 3px 10px rgba(0,0,0,.9)}.welcome-message-preview{display:flex;gap:.75rem;padding:.85rem;border-radius:12px;background:#151922;border:1px solid #252a35}.welcome-message-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:#5865f2;color:#fff;font-weight:700}.welcome-message-body{min-width:0;flex:1}.welcome-message-head{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.welcome-message-author{font-weight:600;color:#fff;font-size:.92rem}.welcome-message-badge{padding:.1rem .35rem;border-radius:4px;background:#5865f2;color:#fff;font-size:.62rem;font-weight:700}.welcome-message-time{color:#7d8798;font-size:.72rem}.welcome-message-content{margin:.35rem 0 0;color:#dcddde;font-size:.92rem;line-height:1.45;word-break:break-word;white-space:pre-wrap}.welcome-preview-note{margin:.75rem 0 0;color:#7d8798;font-size:.8rem;line-height:1.45}.welcome-preview-note.inline{margin-top:.45rem}.welcome-preview-note code{color:#c5ccd8}.settings-hint{margin:1rem 0 0;font-size:.82rem;color:#7d8798;line-height:1.5}.settings-hint code{background:#0f1115;padding:.1rem .35rem;border-radius:4px;font-size:.8rem}.settings-footer{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #252a35;display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.toast-host{position:fixed;top:1.25rem;left:50%;transform:translate(-50%);z-index:1000;width:min(520px,calc(100vw - 2rem));pointer-events:none}.toast{display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 1rem;border-radius:12px;border:1px solid transparent;box-shadow:0 12px 40px #00000059,0 0 0 1px #ffffff0a inset;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:auto;animation:toast-in .35s cubic-bezier(.22,1,.36,1)}.toast-success{background:linear-gradient(135deg,#22543df5,#163a2af5);border-color:#7dcea073;color:#e8fff0}.toast-error{background:linear-gradient(135deg,#5c1c1cf5,#3a1212f5);border-color:#ff7b7b73;color:#ffecec}.toast-icon{flex-shrink:0;width:1.5rem;height:1.5rem;display:grid;place-items:center;border-radius:999px;font-size:.85rem;font-weight:700}.toast-success .toast-icon{background:#7dcea033;color:#7dcea0}.toast-error .toast-icon{background:#ff7b7b33;color:#ff7b7b}.toast-message{margin:0;flex:1;font-size:.92rem;line-height:1.45;padding-top:.1rem}.toast-close{flex-shrink:0;width:1.75rem;height:1.75rem;border:none;border-radius:8px;background:#ffffff14;color:inherit;font-size:1.1rem;line-height:1;cursor:pointer;opacity:.75;transition:opacity .15s ease,background .15s ease}.toast-close:hover{opacity:1;background:#ffffff24}@keyframes toast-in{0%{opacity:0;transform:translateY(-12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.field{display:flex;flex-direction:column;gap:.4rem}.field-label{font-size:.8rem;font-weight:500;color:#9aa3b2;letter-spacing:.01em}.field input,.field select,.field textarea,.form-grid input,.form-grid select,.form-grid textarea{background:#0f1115;border:1px solid #2a3140;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{outline:none;border-color:#5865f2;box-shadow:0 0 0 3px #5865f226}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:.85rem 0}.switch-copy{flex:1;min-width:0}.switch-label{display:block;font-weight:600;font-size:.95rem;color:#e8eaed}.switch-desc{display:block;margin-top:.3rem;font-size:.82rem;color:#9aa3b2;line-height:1.45}.switch{flex-shrink:0;position:relative;width:44px;height:24px;border:none;border-radius:999px;background:#2a3140;cursor:pointer;padding:0;transition:background .2s}.switch.on{background:#5865f2}.switch-thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000059;transition:transform .2s}.switch.on .switch-thumb{transform:translate(20px)}.switch:focus-visible{outline:2px solid #5865f2;outline-offset:2px}.embed-preview .embed-card{background:#151922;border:1px solid #252a35;border-left:4px solid #c0c0c0;border-radius:8px;padding:1rem}.embed-preview img{max-width:100%;margin-top:.75rem;border-radius:8px}.embeds-page h1{margin:0}.embeds-page{width:100%}.embeds-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:1.25rem;background:#0000009e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-dialog{width:min(100%,440px);background:#151922;border:1px solid #252a35;border-radius:14px;box-shadow:0 24px 48px #00000073;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.1rem .85rem;border-bottom:1px solid #252a35}.modal-header h2{margin:0;font-size:1.05rem}.modal-close{border:none;background:transparent;color:#9aa3b2;font-size:1.5rem;line-height:1;cursor:pointer;padding:.15rem .35rem;border-radius:6px}.modal-close:hover{color:#fff;background:#252a35}.modal-body{padding:1rem 1.1rem .25rem}.modal-body .field{margin:0}.modal-body .settings-hint{margin-top:.75rem}.modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:.85rem 1.1rem 1rem;border-top:1px solid #252a35}.textarea-with-emojis{display:flex;flex-direction:column;gap:.45rem}.textarea-with-emojis-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.textarea-with-emojis-actions{position:relative}.emoji-insert-btn{padding:.35rem .7rem;font-size:.82rem}.emoji-picker{position:absolute;top:calc(100% + .35rem);right:0;z-index:30;width:min(340px,80vw);max-height:320px;display:flex;flex-direction:column;gap:.55rem;padding:.65rem;background:#151922;border:1px solid #252a35;border-radius:12px;box-shadow:0 16px 36px #00000073}.emoji-picker-sections{display:flex;flex-direction:column;gap:.65rem;overflow:auto;padding-right:.1rem}.emoji-picker-section h4{margin:0 0 .35rem;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#7d8798}.emoji-picker-search{width:100%}.emoji-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:.25rem;overflow:auto;padding-right:.1rem}.emoji-picker-item{display:grid;place-items:center;width:100%;aspect-ratio:1;border:none;border-radius:8px;background:transparent;cursor:pointer;padding:.2rem}.emoji-picker-item:hover{background:#252a35}.emoji-picker-item img{width:28px;height:28px;object-fit:contain}.emoji-picker-empty{margin:.25rem 0;color:#7d8798;font-size:.82rem}.emoji-picker-note{margin:0 0 .15rem;color:#9aa3b2;font-size:.76rem;line-height:1.4}.discord-emoji-inline{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em;object-fit:contain}.btn-primary{background:#5865f2;color:#fff;border:none;border-radius:10px;padding:.65rem 1.25rem;cursor:pointer;font-weight:500;transition:background .15s,transform .1s}.btn-primary:hover{background:#4752c4}.btn-primary:active{transform:scale(.98)}.btn-ghost{background:#222836;color:#fff;border:1px solid #252a35;border-radius:8px;padding:.55rem 1rem;cursor:pointer}.btn-danger{background:#5c2b2b;color:#ffb4b4;border:1px solid #7a3a3a;border-radius:8px;padding:.45rem .75rem;cursor:pointer}.embed-editor{grid-column:1}.embed-fields-section{border:1px solid #252a35;border-radius:8px;padding:1rem}.embed-fields-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.embed-field-row{display:grid;grid-template-columns:1fr 1fr auto auto;gap:.5rem;margin-bottom:.5rem;align-items:center}.embed-field-inline{display:flex;align-items:center;gap:.35rem;white-space:nowrap;flex-direction:row}.embed-field-inline input{width:auto}.embed-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.embed-preview h3{margin:0 0 .75rem;font-size:1rem;color:#9aa3b2}.embed-author{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.85rem}.embed-author-icon{width:24px;height:24px;border-radius:50%}.embed-desc{white-space:pre-wrap}.embed-field-preview{margin-top:.5rem;font-size:.9rem}.embed-field-preview strong{display:block;font-size:.8rem;color:#9aa3b2}.embed-field-preview.inline{display:inline-block;vertical-align:top;width:32%;margin-right:1%}.embed-thumb{float:right;max-width:80px;margin:0 0 .5rem .5rem;border-radius:6px}.embed-footer{margin-top:.75rem;font-size:.75rem;color:#9aa3b2}.embed-card a{color:#00aff4}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:none;border-bottom:1px solid #252a35}.embed-layout,.form-grid,.embed-field-row,.dashboard-charts,.leaderboard-podium{grid-template-columns:1fr}.leaderboard-podium-card.podium-first{order:-1;min-height:120px}.welcome-layout{grid-template-columns:1fr}.welcome-preview-panel{position:static}.statistics-toolbar{flex-direction:column}.activity-chart-plot{height:200px;gap:.45rem;padding:.85rem .65rem .75rem}.activity-chart-bar,.activity-chart-col.is-empty .activity-chart-bar{width:min(100%,44px)}.activity-chart-weekday{font-size:.7rem}.activity-chart-day{font-size:.65rem}.activity-timeline{gap:.35rem}}.public-page{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at top,#1a2030,#0f1115)}.public-page-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 2rem;border-bottom:1px solid #252a35;background:#151922}.public-page-brand{font-weight:700;font-size:1.05rem}.public-page-nav{display:flex;gap:1rem;color:#b8beca}.public-page-nav a:hover{color:#fff}.public-page-content{flex:1;width:min(760px,92vw);margin:0 auto;padding:2.5rem 0 3rem}.legal-document{background:#151922;border:1px solid #252a35;border-radius:12px;padding:2rem}.legal-document h1{margin:0 0 .5rem;font-size:1.75rem}.legal-document h2{margin:1.75rem 0 .75rem;font-size:1.1rem}.legal-document p,.legal-document li{color:#c5cad3;line-height:1.65}.legal-document ul{margin:.5rem 0 0;padding-left:1.25rem}.legal-document a{color:#8ea4ff}.legal-updated{margin:0 0 1.5rem;font-size:.9rem}.legal-links{margin-top:2rem;padding-top:1rem;border-top:1px solid #252a35}.public-page-footer{padding:1.25rem 2rem 2rem;text-align:center}.login-legal{margin:1.25rem 0 0;text-align:center;font-size:.85rem}.login-legal a{color:#9aa3b2}.login-legal a:hover{color:#fff}@media (max-width: 640px){.public-page-header{flex-direction:column;align-items:flex-start;padding:1rem 1.25rem}.legal-document{padding:1.25rem}}
