:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#0f172a;background-color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#0f172a0f,#1e40af0f)}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}table{border-collapse:collapse;width:100%}.map-wrapper{position:relative;width:100%}.map-search{position:absolute;top:1rem;left:50%;transform:translate(-50%);z-index:5;width:min(420px,90%)}.map-search input{width:100%;padding:.75rem 1.1rem;border-radius:999px;border:1px solid rgba(148,163,184,.35);font-size:.95rem;background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 12px 30px -18px #0f172a99}.map-search input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb33}.field-error{margin-top:.25rem;color:#dc2626;font-size:.8rem}.file-field input[type=file]{margin-top:.35rem}.file-hint{display:block;margin-top:.35rem;font-size:.8rem;color:#475569}.file-hint a{color:#2563eb}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.auth-card{width:min(420px,100%);background:#fff;border-radius:24px;padding:2.5rem;box-shadow:0 25px 50px -12px #1e40af40;border:1px solid rgba(148,163,184,.12)}.auth-card h1{margin:0 0 .5rem}.auth-subtitle{margin:0 0 1.5rem;color:#475569}.auth-form{display:grid;gap:1rem}.auth-form label{display:grid;gap:.25rem;font-size:.95rem;color:#1e293b}.auth-form input{padding:.75rem 1rem;border:1px solid #cbd5f5;border-radius:12px;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.auth-form input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.auth-form button{margin-top:.5rem;border-radius:12px;border:none;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:.85rem 1.2rem;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.auth-form button:hover{transform:translateY(-1px);box-shadow:0 10px 25px -10px #2563eba6}.auth-form button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.form-error{padding:.75rem;border-radius:12px;background-color:#dc262614;color:#991b1b}.auth-hint{margin-top:1.5rem;color:#64748b;font-size:.9rem}.dashboard-layout{min-height:100vh;padding:2rem;display:flex;flex-direction:column;gap:1.5rem}.dashboard-header{display:flex;justify-content:space-between;align-items:center;gap:1.5rem}.dashboard-header h1{margin:0}.dashboard-header p{margin:.25rem 0 0;color:#475569}.user-card{display:flex;align-items:center;gap:1rem;background:#94a3b833;border-radius:16px;padding:.75rem 1.25rem}.user-email{font-weight:600;display:block}.user-role{font-size:.75rem;letter-spacing:.08em;color:#1d4ed8}.dashboard-content{display:grid;gap:1.5rem;grid-template-columns:1.4fr 1fr}.map-section,.list-section{background:#fff;border-radius:24px;border:1px solid rgba(148,163,184,.18);box-shadow:0 18px 40px -14px #0f172a33;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.map-container{width:100%;min-height:420px;border-radius:18px;overflow:hidden;border:1px solid rgba(148,163,184,.2)}.section-heading h2{margin:0}.section-heading p{margin:.25rem 0 0;color:#64748b}.table-wrapper{overflow-x:auto}table th,table td{padding:.75rem .5rem;text-align:left;border-bottom:1px solid rgba(148,163,184,.2)}table th{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:#475569}.badge{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;background-color:#94a3b84d;font-size:.75rem;font-weight:500}.badge.success{background-color:#22c55e2e;color:#047857}.table-actions{display:flex;gap:.5rem}.table-actions button{padding:.45rem .9rem;border-radius:10px;border:none;background:#2563eb;color:#fff;font-size:.85rem;cursor:pointer;transition:background .2s ease}.table-actions button:hover{background:#1d4ed8}.table-actions .danger{background:#dc2626}.table-actions .danger:hover{background:#b91c1c}.secondary{background:#e2e8f0;color:#1e293b}.secondary:hover{background:#cbd5f1}.danger{background:#dc2626;color:#fff}.drawer{position:fixed;top:0;right:0;height:100vh;width:min(420px,100%);background:#fff;border-left:1px solid rgba(148,163,184,.18);box-shadow:-20px 0 40px -24px #0f172a59;padding:2rem 1.75rem;overflow-y:auto}.character-form{display:flex;flex-direction:column;gap:1.25rem}.character-form h2{margin:0}.form-grid{display:grid;gap:1rem}.form-grid label{display:grid;gap:.35rem;font-size:.9rem;color:#1f2937}.form-grid input,.form-grid textarea{padding:.75rem 1rem;border-radius:12px;border:1px solid rgba(148,163,184,.6);font-size:.95rem}.form-grid input:focus,.form-grid textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.checkbox-field{align-items:center;grid-auto-flow:column;justify-content:start}.form-actions{display:flex;gap:.75rem}.form-actions button{padding:.75rem 1.25rem;border-radius:12px;border:none;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.form-actions button:hover{transform:translateY(-1px);box-shadow:0 10px 25px -12px #2563eb8c}.form-actions .secondary{background:#e2e8f0;color:#1e293b;box-shadow:none}.form-actions .secondary:hover{transform:none}.empty-state{color:#64748b;font-style:italic}.alert{padding:.75rem 1rem;border-radius:12px;font-size:.95rem}.alert.error{background:#dc26261f;color:#7f1d1d;border:1px solid rgba(248,113,113,.4)}.page{min-height:100vh;padding:2rem;display:flex;flex-direction:column;gap:1rem}.panel{background:#fff;border-radius:20px;border:1px solid rgba(148,163,184,.18);padding:1.5rem;box-shadow:0 18px 40px -14px #0f172a33;display:flex;flex-direction:column;gap:1rem}.panel-header{display:flex;align-items:center;justify-content:space-between}.muted{color:#64748b}.error{color:#dc2626}.table.players-table{display:grid;gap:.5rem}.table-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;align-items:center;padding:.75rem 1rem;border-radius:12px;background:#f8fafcb3}.table-head{font-weight:700;color:#475569;background:#2563eb0f}.card{background:#f8fafc;border:1px solid rgba(148,163,184,.2);border-radius:14px;padding:1rem}.value{font-weight:700;color:#0f172a}.capture-list{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.capture-list li{display:flex;justify-content:space-between;background:#f8fafcb3;padding:.6rem .8rem;border-radius:10px}.logout-btn{margin-top:8px;align-self:flex-start;padding:.75rem 1rem;border-radius:12px;border:none;background:#dc2626;color:#fff;font-weight:700;cursor:pointer}.model-preview{grid-column:1 / -1;background:#0f172a;border-radius:16px;padding:12px;border:1px solid rgba(148,163,184,.35);display:flex;flex-direction:column;gap:12px}.model-sliders{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.model-sliders label{display:grid;gap:4px;color:#e2e8f0;font-size:.9rem}.model-sliders input[type=range]{width:100%}.model-sliders span{color:#94a3b8;font-size:.85rem}@media(max-width:1080px){.dashboard-content{grid-template-columns:1fr}.drawer{position:fixed;width:100%;height:auto;max-height:85vh;bottom:0;top:auto;border-left:none;border-top:1px solid rgba(148,163,184,.18);box-shadow:0 -12px 30px -18px #0f172a59}}@media(max-width:768px){.dashboard-layout{padding:1.5rem}.dashboard-header{flex-direction:column;align-items:flex-start}.user-card{width:100%;justify-content:space-between}}
