:root{
  --bg:#0b1220;
  --card:#111b2f;
  --muted:#a9b7d1;
  --text:#f2f6ff;
  --brand:#3b82f6;
  --brand2:#60a5fa;
  --ok:#22c55e;
  --warn:#f59e0b;
  --danger:#ef4444;
  --border:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
}
*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(59,130,246,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(96,165,250,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:980px; margin:0 auto; padding:18px; }
header{
  padding:22px 16px;
  border:1px solid var(--border);
  background: rgba(17,27,47,.72);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.title{
  display:flex; gap:12px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap;
}
h1{ margin:0; font-size: clamp(20px, 3.8vw, 30px); letter-spacing:.2px; }
.subtitle{ margin:6px 0 0; color:var(--muted); font-size: 15px; }
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border:1px solid var(--border);
  border-radius:999px; color:var(--muted);
  font-size: 13px; background: rgba(255,255,255,.04);
}
.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (min-width: 780px){
  .grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card{
  border:1px solid var(--border);
  background: rgba(17,27,47,.70);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.menuBtn{
  display:block;
  padding:14px 14px;
  transition: transform .06s ease, background .2s ease;
  min-height: 58px;
}
.menuBtn:hover{ background: rgba(255,255,255,.04); }
.menuBtn:active{ transform: scale(.99); }
.menuTop{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font-weight:700;
}
.menuSub{ margin-top:6px; color:var(--muted); font-size: 13px; }
.tag{
  font-size:12px; color: rgba(255,255,255,.85);
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(59,130,246,.14);
}
main{ margin-top:14px; display:grid; gap:12px; }
section{
  scroll-margin-top: 14px;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(17,27,47,.70);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
section h2{ margin:0 0 6px; font-size: 20px; }
.hint{ color:var(--muted); margin:0 0 10px; }
.divider{ height:1px; background: var(--border); margin:14px 0; }
ul{ margin:10px 0 0 18px; color:var(--text); }
li{ margin:6px 0; }
.btnRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight:650;
  min-height: 44px;
  cursor:pointer;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(96,165,250,.85));
  border: none;
}
.btn.success{
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(16,185,129,.85));
  border: none;
}
.btn.warn{
  background: linear-gradient(135deg, rgba(245,158,11,.95), rgba(251,191,36,.85));
  border:none;
}
.btn.danger{
  background: linear-gradient(135deg, rgba(239,68,68,.95), rgba(248,113,113,.85));
  border:none;
}
.small{ font-size:13px; color:var(--muted); }
.twoCol{
  display:grid; gap:12px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px){
  .twoCol{ grid-template-columns: 1fr 1fr; }
}
.box{
  padding:14px; border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
label{ display:block; margin:10px 0 6px; color: var(--muted); font-size: 13px; }
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
textarea{ min-height: 110px; resize: vertical; }
.footer{
  margin:16px 0 0;
  text-align:center;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 0 22px;
}
.topbar{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  margin-top: 12px;
}
.topbar a{ color: var(--muted); font-size: 13px; text-decoration: underline; }
.notice{
  border-left: 4px solid rgba(96,165,250,.95);
  padding:10px 12px;
  background: rgba(59,130,246,.10);
  border-radius: 12px;
  color: rgba(255,255,255,.92);
}
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 12px;
}
.table th, .table td{
  padding:10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align:left;
  vertical-align: top;
}
.table th{
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.badge{
  display:inline-block;
  padding:4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
}
.alert{
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  margin: 10px 0;
}
.alert.ok{ border-left: 4px solid rgba(34,197,94,.95); }
.alert.err{ border-left: 4px solid rgba(239,68,68,.95); }


.socialPill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}

.socialIcon{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  transition: transform .06s ease, background .2s ease;
}

.socialIcon:hover{
  background: rgba(255,255,255,.10);
}

.socialIcon:active{
  transform: scale(.98);
}

.socialIcon svg{
  width:18px;
  height:18px;
  fill: rgba(242,246,255,.92);
}

.socialSep{
  width:1px;
  height:22px;
  background: rgba(255,255,255,.10);
}
