:root{
  --bg:#050712;
  --panel:#0b1020;
  --card:rgba(15,23,42,.65);
  --text:#e5e7eb;
  --muted:#9ca3af;
  --border:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
body{
  margin:0;
  background: radial-gradient(1200px 600px at 30% 0%, #1b2a5a 0%, var(--bg) 55%, #02030a 100%);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
}

.wrap{max-width:980px;margin:0 auto;padding:20px}
.top h1{margin:0 0 6px;font-size:28px}
.sub{margin:0;color:var(--muted);font-size:13px;line-height:1.5}

.panel{
  margin-top:14px;
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:16px;
  align-items:start;
}

canvas{
  width:360px;height:640px;
  border:1px solid var(--border);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display:block;
}

.side{display:flex;flex-direction:column;gap:12px}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  backdrop-filter: blur(10px);
}

.row{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08);
}
.row:last-child{border-bottom:none}
.row span{color:var(--muted)}
.row b{font-size:20px}

.label{font-size:12px;color:var(--muted);letter-spacing:.12em;margin-bottom:8px}
.small{font-size:13px;color:var(--muted)}
.small ul{margin:8px 0 0;padding-left:18px}
.small li{margin:6px 0}

.btn{
  width:100%;
  padding:12px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-size:14px;
  cursor:pointer;
}
.btn:hover{background: rgba(255,255,255,.10)}

.foot{margin-top:16px;color:var(--muted);font-size:12px}

@media (max-width: 860px){
  .panel{grid-template-columns:1fr}
  canvas{width:100%;height:auto;aspect-ratio:360/640}
}
