:root{
  --bg:#0b1220;
  --card:#111b2e;
  --text:#eaf1ff;
  --muted:#b7c6e6;
  --accent:#4ea1ff;
  --border:rgba(255,255,255,.10);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(78,161,255,.18), transparent 60%),
              radial-gradient(800px 500px at 80% 20%, rgba(155,89,182,.16), transparent 55%),
              var(--bg);
  color:var(--text);
  min-height:100vh;
  display:flex;
  justify-content:center;
}

.wrap{width:min(920px, 92vw); padding:28px 0}
.top h1{margin:0 0 6px; font-size: clamp(28px, 4vw, 44px); letter-spacing:.3px}
.sub{margin:0 0 18px; color:var(--muted)}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:20px;
  padding:18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:6px 2px 10px;
}

.sliderWrap{display:flex; align-items:center; gap:10px}
input[type="range"]{width:240px}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px; height:26px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:700;
}

.output{
  margin:10px 0 14px;
  padding:16px;
  border-radius:16px;
  background: rgba(0,0,0,.22);
  border:1px solid var(--border);
  font-size: 18px;
  line-height: 1.5;
  min-height: 120px;
  white-space: pre-wrap;
}

.buttons{display:flex; gap:10px; flex-wrap:wrap}
button{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 14px;
  cursor:pointer;
  font-weight:700;
}
button:hover{transform: translateY(-1px)}
button:active{transform: translateY(0px)}

.primary{
  background: linear-gradient(180deg, rgba(78,161,255,.95), rgba(78,161,255,.55));
  border-color: rgba(78,161,255,.55);
  color:#061022;
}
.ghost{color:var(--muted)}
.note{margin:14px 2px 0; color:var(--muted); font-size: 13px}
.foot{margin-top:14px; color:var(--muted); font-size: 13px}
