:root{
  --bg:#0b1220;
  --card:#121a2b;
  --text:#e8eefc;
  --muted:#a9b6d6;
  --line:rgba(255,255,255,.08);
  --accent:#7aa7ff;
  --good:#7dffa8;
  --danger:#ff6b6b;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(122,167,255,.15), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(125,255,168,.12), transparent 60%),
              var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.container{width:min(1100px, 92vw); margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.7);
  border-bottom:1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:10px}
.brand{font-weight:900; letter-spacing:.3px}
.nav{display:flex; gap:12px; flex-wrap:wrap}
.nav a{padding:8px 10px; border:1px solid transparent; border-radius:999px; color:var(--muted)}
.nav a:hover{border-color:var(--line); color:var(--text)}

.hero{display:grid; grid-template-columns: 1.25fr .75fr; gap:18px; padding:20px 0 24px}
@media (max-width: 900px){ .hero{grid-template-columns:1fr} }

.title{font-size: clamp(26px, 3.6vw, 40px); margin: 12px 0 6px}
.subtitle{margin:0 0 14px; color:var(--muted)}

.card, .miniCard{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  padding:16px;
}
.miniCard{margin-top:12px}

.row{display:flex; gap:10px; align-items:end; flex-wrap:wrap}
.grow{flex:1}

.field{display:flex; flex-direction:column; gap:6px; color:var(--muted); font-weight:800; min-width: 160px}
.field input{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:900;
}
.field input[readonly]{opacity:.85}

.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  padding:12px 12px;
  border-radius: 14px;
  font-weight:900;
}
.btn:hover{border-color: rgba(255,255,255,.18)}
.btn:active{transform: translateY(1px)}
.btn-primary{border-color: rgba(125,255,168,.5); background: rgba(125,255,168,.12)}
.btn-small{padding:10px 12px; border-radius:12px}
.danger{border-color: rgba(255,107,107,.4) !important; color: var(--danger)}

.divider{height:1px; background: var(--line); margin:14px 0}

.steps{list-style:none; padding:0; margin:12px 0 0; display:flex; flex-direction:column; gap:10px}
.stepItem{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  background: rgba(0,0,0,.12);
}
.stepName{font-weight:950}
.stepMeta{color:var(--muted); font-weight:800; font-size:13px; margin-top:4px}
.stepBtns{display:flex; gap:8px; align-items:center}
.iconBtn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  width:40px; height:40px;
  border-radius:12px;
  display:grid; place-items:center;
  font-weight:900;
}

.actions{margin-top:10px}
.hint{color:var(--muted); margin:12px 0 0}

.cardHeader{display:flex; align-items:center; justify-content:space-between; gap:10px}
.h2{margin:0; font-size:18px}
.h3{margin:0 0 10px; font-size:16px}
.meta{color:var(--muted); font-weight:900}

.timeline{margin:12px 0 0; padding-left: 18px; color: var(--text)}
.timeline li{margin:10px 0}
.timeTag{color: var(--accent); font-weight:950; margin-right:10px}
.small{color:var(--muted); line-height:1.6; margin-top:10px}
.bullets{line-height:1.8}
.timerRead{color:var(--muted); font-weight:900; padding: 10px 0}

.adCard{padding:16px}
.adBox{
  min-height: 180px;
  display:grid; place-items:center;
  border:1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  margin:10px 0 14px;
  background: rgba(0,0,0,.12);
}
.select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:900;
}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  color:var(--muted);
}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.footer__links{display:flex; gap:14px; flex-wrap:wrap}
.footer__links a:hover{color:var(--text)}
.page{padding:22px 0}