
:root { color-scheme: dark; --bg:#0f172a; --panel:#0b1220; --panel2:#0d1526; --text:#e5e7eb; --muted:#94a3b8; --indigo:#6366f1; --border:#1f2937; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; background:var(--bg); color:var(--text); }
.container { max-width: 1000px; margin: 0 auto; padding: 24px 16px; }
h1 { font-size: 28px; margin: 0 0 4px 0; }
p.small { color: var(--muted); font-size: 13px; margin: 0; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.hero { position: relative; overflow: hidden; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.35); padding: 24px; border:1px solid var(--border);
  background: radial-gradient(1200px 400px at 100% -20%, rgba(99,102,241,0.12), transparent 60%), linear-gradient(135deg, rgba(99,102,241,0.08), var(--bg));
}
.row { display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap: wrap; }
.btn { border: none; border-radius: 16px; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-green { background:#059669; color:white; } .btn-green:hover { background:#10b981; }
.btn-yellow { background:#d97706; color:white; } .btn-yellow:hover { background:#f59e0b; }
.btn-gray { background:#1f2937; color:white; } .btn-gray:hover { background:#374151; }
.grid { display:grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px){ .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--panel2); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.timer { font-variant-numeric: tabular-nums; font-size: 56px; font-weight: 900; letter-spacing: -0.02em; }
.progress { height: 12px; background:#1f2937; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--indigo); width: 0%; transition: width .2s linear; }
.meta { display:flex; justify-content:space-between; font-size:12px; color:var(--muted); margin-top: 6px; }
.label { color: var(--muted); font-size: 12px; }
.stat { font-size: 26px; font-weight: 800; color: var(--indigo); }
.settings-grid { display:grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 900px){ .settings-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.input, select, .range { width:100%; background:#0a1020; border:1px solid var(--border); color:var(--text); padding:8px 10px; border-radius:12px; }
.sm { font-size: 12px; }
.table { width:100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 8px; border-top: 1px solid var(--border); text-align: left; }
.overlay { position:absolute; inset:0; background: rgba(2,6,23,.7); backdrop-filter: blur(2px); display:flex; align-items:center; justify-content:center; z-index: 10; }
.overlay > div { text-align:center; }
.overlay .big { font-size: 72px; font-weight: 900; }
.badge { display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border-radius:999px; background:#0b1220; border:1px solid var(--border); color:var(--muted); font-size:12px; }
header .row { align-items: flex-end; }
hr.sep { border: 0; border-top:1px solid var(--border); margin: 12px 0; opacity: .6; }
.auth { display:flex; gap:10px; flex-wrap:wrap; align-items:center }
.auth input { width: 260px; }
.status { color: var(--muted); font-size: 12px; }
