:root{--text:#1a1a1a;--bg:#fff;--border:#d8d8d8;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font:15px/1.4 system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#e5e5e5;--bg:#121212;--border:#333}}*{box-sizing:border-box}body{margin:0}h1,h2{font-weight:600}button,select,input{font:inherit;color:inherit}button{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:4px;padding:.4rem .8rem}input,select{border:1px solid var(--border);background:0 0;border-radius:4px;padding:.3rem .5rem}code{background:#80808026;border-radius:3px;padding:2px 4px;font-family:ui-monospace,Consolas,monospace}.app-header{border-bottom:1px solid #333;align-items:center;gap:1.5rem;padding:.75rem 1.5rem;display:flex}.app-header h1{margin:0;font-size:1.1rem}.app-header nav{gap:.5rem;display:flex}.app-header nav button.active{font-weight:700;text-decoration:underline}.user-info{align-items:center;gap:.75rem;margin-left:auto;display:flex}main{padding:1rem 1.5rem}.login-page{flex-direction:column;justify-content:center;align-items:center;gap:1rem;height:100vh;display:flex}.discord-login-btn{color:#fff;background:#5865f2;border-radius:6px;padding:.6rem 1.2rem;font-weight:600;text-decoration:none}.error{color:#f87171}.toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.search{flex:1;min-width:200px}.hint{opacity:.75;font-size:.9rem}table{border-collapse:collapse;border-radius:8px;width:100%;overflow:hidden}th,td{text-align:left;border-bottom:1px solid #80808026;padding:.45rem .6rem}th{border-bottom:2px solid var(--border);text-transform:uppercase;letter-spacing:.03em;opacity:.65;font-size:.8rem;font-weight:600}td.clickable{cursor:pointer}.stats-summary{font-size:.85rem}.stats-summary-empty{opacity:.5}.stat-mandatory{font-weight:700}.diff-highlight{color:#1a1a1a;background:#ffe600;border-radius:3px;padding:0 .3em}td.diff-cell{background:#ffe600}.diff-removed{color:#1a1a1a;opacity:.85;background:#ffe600;border-radius:3px;padding:0 .3em;text-decoration:line-through}.diff-hint{white-space:nowrap;font-size:.75rem}.diff-new-badge{letter-spacing:.04em;vertical-align:middle;margin-left:.5rem;padding:.1em .4em;font-size:.65rem;font-weight:700}.synergy-expr{opacity:.75;margin-top:.15rem;font-family:ui-monospace,Consolas,monospace;font-size:.8rem}tr:hover td.clickable{text-decoration:underline}.team-header-row{cursor:pointer;-webkit-user-select:none;user-select:none}.team-header-row td{border-bottom:none;padding-top:.75rem;padding-bottom:.75rem}.team-header-row:hover{filter:brightness(1.12)}.team-header{align-items:center;gap:.6rem;display:flex}.team-header h3{margin:0;font-size:1rem}.team-chevron{opacity:.7;font-size:.65rem;transition:transform .15s;display:inline-block}.team-chevron.expanded{transform:rotate(90deg)}.team-count{opacity:.6;font-size:.8rem;font-weight:400}.team-header-row.team-inactive{opacity:.55}.team-inactive-badge{letter-spacing:.04em;white-space:nowrap;background:#80808040;border-radius:3px;padding:.1em .5em;font-size:.7rem;font-weight:700}.team-notes-btn{border:1px solid var(--border);opacity:.5;cursor:pointer;background:0 0;border-radius:50%;width:1.4rem;height:1.4rem;padding:0;font-size:.75rem;line-height:1}.team-notes-btn.has-notes{opacity:1;color:#5865f2;border-color:#5865f2}.squad-notes-textarea{resize:vertical;width:100%;font:inherit;box-sizing:border-box;padding:.5rem}.dc-icon{object-fit:contain;vertical-align:middle;width:1.1rem;height:1.1rem;margin-right:.3em}.team-datacron-badge{opacity:.75;white-space:nowrap;border:1px solid;border-radius:3px;padding:.1em .5em;font-size:.75rem}.team-datacron-badge.warning{color:#c0392b;opacity:1;border-color:#c0392b;font-weight:600}.team-datacron-select{cursor:default}.team-datacron-select select{padding:.1em .3em;font-size:.75rem}.team-datacron-select select.warning{color:#c0392b;border-color:#c0392b;font-weight:600}.team-move-btns{cursor:default;gap:.25rem;margin-left:auto;display:flex}.team-move-btns button{padding:.1rem .4rem;font-size:.75rem;line-height:1}.move-cell{white-space:nowrap;width:1%}.drag-handle{cursor:grab;opacity:.5;font-size:.95rem;line-height:1}.drag-handle:active,tr[draggable=true]:active{cursor:grabbing}.team-header-row.drag-over,tr.drag-over{box-shadow:inset 0 2px 0 var(--text), inset 0 -2px 0 transparent}.modal-backdrop{background:#0009;justify-content:center;align-items:flex-start;padding:2rem 1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:8px;width:100%;max-width:820px;padding:1.5rem}.form-section{border-bottom:1px solid var(--border);margin-bottom:1.25rem;padding-bottom:1.25rem}.form-section:last-of-type{border-bottom:none;padding-bottom:0}.form-section h3{text-transform:uppercase;letter-spacing:.04em;opacity:.6;margin:0 0 .6rem;font-size:.8rem}.form-row{flex-wrap:wrap;gap:1rem;display:flex}.form-row label,.form-full{flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.form-checkbox{align-self:flex-end;align-items:center;padding-bottom:.35rem;flex-direction:row!important;gap:.4rem!important}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.5rem 1.25rem;display:grid}.stat-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.stat-row .diff-hint{flex-basis:100%;margin-left:98px}.stat-label{flex-shrink:0;width:90px;font-size:.85rem}.stat-row .number-input{text-align:right;width:90px}.stat-mandatory-toggle{opacity:.75;white-space:nowrap;align-items:center;gap:.25rem;font-size:.75rem;display:flex}.range-warning{color:#f59e0b;cursor:help;flex-shrink:0}.synergy-display{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.synergy-readout{overflow-wrap:anywhere;background:#8080801f;border-radius:4px;flex:1;min-width:200px;padding:.4rem .6rem;font-size:.8rem}.synergy-editor{max-width:640px}.synergy-clause{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.synergy-and{opacity:.6;flex-shrink:0;width:2.5rem;font-size:.75rem;font-weight:700}.input-with-warning{align-items:center;gap:.35rem;display:inline-flex}.modal-actions{justify-content:flex-end;gap:.5rem;margin-top:1rem;display:flex}button.primary{color:#fff;background:#5865f2;border:none}button.danger{color:#fff;background:#ef4444;border:none}.modal-actions button.danger{margin-right:auto}.admin-view h2{margin-top:1.5rem}.admin-table{margin-bottom:1rem}.hotutils-log{background:var(--bg-alt,#80808014);border:1px solid var(--border);white-space:pre-wrap;border-radius:6px;max-height:320px;margin-bottom:1.5rem;padding:.75rem 1rem;font-size:.8rem;line-height:1.5;overflow-y:auto}.hotutils-log .warning{color:#c0392b;font-weight:600}.loading{justify-content:center;align-items:center;height:100vh;display:flex}.guide-view{max-width:780px}.guide-view>.hint{margin-bottom:1.25rem}.guide-view details{border:1px solid var(--border);border-radius:8px;margin-bottom:.75rem;padding:.85rem 1.1rem}.guide-view summary{cursor:pointer;font-weight:600;list-style:none}.guide-view summary::-webkit-details-marker{display:none}.guide-view summary:before{content:"▶";opacity:.7;margin-right:.6rem;font-size:.7rem;transition:transform .15s;display:inline-block}.guide-view details[open] summary:before{transform:rotate(90deg)}.guide-body{margin-top:.85rem;line-height:1.55}.guide-body h4{margin:1rem 0 .35rem;font-size:.95rem}.guide-body h4:first-child{margin-top:0}.guide-body p{margin:.5rem 0}.guide-body ol,.guide-body ul{margin:.5rem 0;padding-left:1.4rem}.guide-body li{margin-bottom:.35rem}
