:root{
  --bg:#050913;
  --bg-gradient:#0a1538;
  --panel:rgba(17,25,48,0.82);
  --glass:rgba(255,255,255,0.04);
  --text:#f1f3fb;
  --muted:#9aa6c7;
  --accent:#6b8cff;
  --accent-soft:rgba(107,140,255,0.25);
  --accent-strong:rgba(107,140,255,0.42);
  --danger:#ff6b6b;
  --border:rgba(255,255,255,0.16);
}
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1400px 700px at 18% 0%, var(--bg-gradient) 0%, var(--bg) 64%);
  color: var(--text);
  letter-spacing: 0.28px;
}
a{ color:inherit; text-decoration:none; }
.container{ max-width:1120px; margin:0 auto; padding:22px; }
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 20px; border-radius:20px;
  background: var(--panel); backdrop-filter: blur(18px);
  border:1px solid var(--border);
}
.left, .right{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.brand{ font-weight:700; letter-spacing:0.9px; }
.badge{
  font-size:12px; padding:6px 10px; border-radius:999px;
  border:1px solid var(--border); background: var(--glass); color: var(--muted);
}
.pill{
  padding:10px 18px; border-radius:999px;
  border:1px solid var(--border); background: var(--glass); color: var(--muted);
  transition: all .2s ease;
}
.pill:hover{ color:var(--text); background: var(--accent-soft); }
.pill:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

.grid{ display:grid; grid-template-columns: 1.25fr 0.75fr; gap:22px; }
@media (max-width:900px){ .grid{ grid-template-columns: 1fr; } }

.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius:22px;
  padding:26px;
  box-shadow: 0 26px 52px rgba(0,0,0,0.45);
}
.title{ font-size:22px; font-weight:700; margin:0 0 16px; }
.muted{ color: var(--muted); }
label{ display:block; font-size:12px; color:var(--muted); margin:16px 0 6px; }

input, select, textarea{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.32);
  color:var(--text);
  font-size:14px;
}
input::placeholder, textarea::placeholder{ color: rgba(154,166,199,0.55); }
textarea{ min-height:130px; resize:vertical; }

.btn{
  padding:14px 20px; border-radius:18px;
  border:1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
  font-weight:600;
  cursor:pointer;
  transition: all .2s ease;
}
.btn:hover{ background: var(--accent-strong); }
.btn.secondary{ background: var(--glass); }
.btn.danger{ background: rgba(255,107,107,0.22); }
.btn:disabled{ opacity:0.45; cursor:not-allowed; }

.row{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.split{ display:flex; gap:16px; }
.split > *{ flex:1; }

.hr{
  height:1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin:24px 0;
}
.textBox{
  font-family: "Georgia", "Times New Roman", serif;
  font-size:18px;
  line-height:2.0;
  white-space:pre-wrap;
}
.hl{ background: rgba(107,140,255,0.35); border-radius:6px; padding:0 4px; }

.choices{ display:grid; gap:16px; margin-top:16px; }
.choice{
  text-align:left;
  padding:18px;
  border-radius:20px;
  border:1px solid var(--border);
  background: var(--glass);
  color:var(--text);
  cursor:pointer;
  transition: all .2s ease;
}
.choice:hover{ background: var(--accent-soft); }
.choice:disabled{ opacity:0.35; cursor:not-allowed; }

.footer{ margin-top:30px; padding:20px 0; text-align:center; color:var(--muted); font-size:13px; }
.notice{ padding:12px 14px; border-radius:16px; border:1px solid var(--border); background: rgba(0,0,0,0.22); }
.error{ color: var(--danger); }
