:root{
  --bg0:#070A12;
  --bg1:#0B1020;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.09);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.66);
  --muted2:rgba(255,255,255,.46);
  --line:rgba(255,255,255,.12);

  --a:#8B5CF6;
  --b:#22D3EE;
  --c:#F97316;

  --radius:18px;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(1100px 600px at 85% 20%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(900px 500px at 60% 92%, rgba(249,115,22,.14), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit}

.top{
  width:min(1100px, 92vw);
  margin:18px auto 0;
  padding:12px 14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:999px;
  backdrop-filter: blur(14px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{font-weight:800; text-decoration:none; letter-spacing:.2px}
.nav{display:flex; gap:12px}
.nav a{
  text-decoration:none;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:999px;
  color:var(--muted);
}
.nav a:hover{border-color:var(--line); color:var(--text); background:rgba(255,255,255,.04)}

.wrap{
  width:min(1100px, 92vw);
  margin:18px auto 64px;
}

.hero{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:14px;
  align-items:stretch;
  margin-top:14px;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
}

.kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.24em;
  color:var(--muted);
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  padding:8px 10px;
  border-radius:999px;
}

h1{
  margin:12px 0 8px;
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.8px;
}
.sub{margin:0; color:var(--muted); line-height:1.55}

.hero-right{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.stat{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:14px;
}
.stat-label{display:block; color:var(--muted2); font-size:12px}
.stat-value{display:block; font-weight:800; margin-top:6px}

.card{
  margin-top:14px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}

.label{display:block; color:var(--muted); font-size:13px; margin-bottom:10px}

textarea{
  width:100%;
  min-height:160px;
  resize:vertical;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.28);
  color:var(--text);
  outline:none;
  line-height:1.45;
}
textarea:focus{border-color: rgba(34,211,238,.4); box-shadow:0 0 0 4px rgba(34,211,238,.12)}

.row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.btn{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{background:rgba(255,255,255,.09)}
.btn.primary{
  border-color: rgba(34,211,238,.35);
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(139,92,246,.18));
}

.hint{color:var(--muted2); font-size:13px}

.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
}

.panel{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:16px;
}

.panel-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.panel h2{margin:0; font-size:16px; letter-spacing:-.2px}

.small{font-size:12.5px}

.pill{
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  background:rgba(0,0,0,.18);
}

.score{
  display:flex;
  gap:14px;
  align-items:center;
}

.ring{
  width:140px; height:140px;
  border-radius:999px;
  background:
    conic-gradient(from 180deg, rgba(34,211,238,.95) var(--p, 0%), rgba(255,255,255,.08) 0);
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.14);
}
.ring-inner{
  width:108px; height:108px;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.score-num{font-size:34px; font-weight:900; letter-spacing:-.5px}
.score-sub{color:var(--muted2); margin-top:-2px}

.score-meta{flex:1}
.score-line{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.10);
}
.score-line:last-child{border-bottom:none}
.muted{color:var(--muted)}
.muted2{color:var(--muted2)}

.list{
  margin:0;
  padding-left:18px;
  color:var(--text);
}
.list li{margin:8px 0; color:var(--muted)}

.foot{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted2);
  margin-top:16px;
  padding:10px 2px 0;
}

.tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Emergency: make sure overlays can't steal clicks */
*::before,
*::after {
  pointer-events: none !important;
}

/* Ensure the actual content is above any background layers */
header, main, .wrap, .card, .panel, .row, .btn, button {
  position: relative;
  z-index: 10;
}

/* And ensure buttons themselves can receive clicks */
button, .btn {
  pointer-events: auto !important;
}
