/* Neon Headline Rater styles */
:root{
  --bg1:#050510;
  --bg2:#0b0b2a;
  --panel:#0d1021aa;
  --stroke:#1c1f35;
  --text:#e9ecff;
  --muted:#9aa3c7;
  --neon:#7cf0ff;
  --neon2:#a678ff;
  --ok:#00dfa2;
  --warn:#ffd166;
  --bad:#ff5e7a;
  --ring: drop-shadow(0 0 20px rgba(124,240,255,0.45)) drop-shadow(0 0 40px rgba(166,120,255,0.35));
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(124,240,255,0.08), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(166,120,255,0.10), transparent 60%),
              linear-gradient(145deg, var(--bg1), var(--bg2));
  overflow-x:hidden;
}

#stars{
  position:fixed; inset:0; width:100vw; height:100vh; z-index:0; pointer-events:none;
}

.wrap{position:relative; z-index:1; max-width:1100px; margin:0 auto; padding:32px 20px 60px}

.header h1{
  margin:0 0 6px 0; letter-spacing:1px; font-weight:800; font-size:32px;
  text-shadow:0 0 12px rgba(124,240,255,0.35);
}
.tag{margin:0; color:var(--muted)}

.scoreboard{
  margin:24px 0 12px; display:flex; gap:24px; justify-content:center; align-items:center; flex-wrap:wrap;
}

.gauge{
  width:160px; height:160px; border-radius:9999px; position:relative;
  --pct:0;
  background:
    conic-gradient(var(--neon) calc(var(--pct)*1%), rgba(255,255,255,0.08) 0);
  filter:var(--ring);
  border:1px solid #2a2e4d;
  display:grid; place-items:center;
}
.gauge::after{
  content:""; position:absolute; inset:10px; border-radius:inherit;
  background: radial-gradient(100px 60px at 50% 10%, rgba(124,240,255,0.15), transparent 60%),
              linear-gradient(180deg, rgba(17,20,46,0.8), rgba(10,12,30,0.8));
  border:1px solid #31365a;
}
.gauge-inner{position:relative; z-index:1; text-align:center}
.gauge-value{font-size:40px; font-weight:800; line-height:1}
.gauge-label{font-size:12px; color:var(--muted)}

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

.pane{
  background:linear-gradient(180deg, rgba(12,14,33,0.7), rgba(8,10,27,0.7));
  border:1px solid #22264a; border-radius:16px; padding:14px;
  box-shadow:0 10px 40px rgba(0,0,0,0.35), 0 0 80px rgba(124,240,255,0.08) inset;
  backdrop-filter: blur(6px);
}
.pane-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px}
.pane h2{margin:4px 0 8px 0; font-size:16px; color:#d6dbff}
.meta{color:var(--muted); font-size:12px}
textarea{
  width:100%; height:120px; resize:vertical; min-height:100px; max-height:260px;
  font-size:18px; padding:12px 12px; color:var(--text);
  background:#0c0f29; border:1px solid #2c315b; border-radius:12px;
  outline:none; transition:border-color .2s, box-shadow .2s;
}
textarea:focus{border-color:#5a64ff; box-shadow:0 0 0 4px rgba(90,100,255,0.18)}

.tips{list-style:none; padding:8px 2px 0 2px; margin:0; display:flex; gap:8px; flex-wrap:wrap}
.tips li{
  font-size:12px; color:#c7d0ff; background:#121537; border:1px solid #2a2f5d; padding:6px 8px; border-radius:999px;
}

.actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:18px 0 6px}
.btn{
  border:1px solid #2b2f5c; background:#101335; color:#eaf0ff; padding:10px 14px;
  border-radius:12px; cursor:pointer; font-weight:700; letter-spacing:.2px;
  transition: transform .06s ease, box-shadow .2s ease, background .2s;
  box-shadow:0 6px 20px rgba(0,0,0,0.25);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.primary{background:linear-gradient(90deg, #5dd8ff, #a678ff); color:#051023}
.danger{background:linear-gradient(90deg, #ff7b9a, #ff5e7a); color:white}

.footer{margin-top:20px; color:var(--muted); font-size:12px; text-align:center}
.credit{opacity:.8; margin-top:6px}
