:root{
  --bg:#0b0c10;
  --panel:#121318;
  --muted:#a0a4af;
  --text:#e8ebf2;
  --accent:#6ea8ff;
  --border:#242634;
  --success:#4caf50;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.site-header, .site-footer{
  padding:24px 16px;
  border-bottom:1px solid var(--border);
}
.site-footer{border-top:1px solid var(--border); border-bottom:none; color:var(--muted)}

.container{max-width:960px;margin:0 auto;padding:24px 16px}

.back-link{display:inline-block;margin-bottom:8px}

.subhead{color:var(--muted);margin-top:6px}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:16px;
}
.card{
  display:block;
  padding:16px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:12px;
  transition:transform .08s ease, border-color .08s ease;
}
.card:hover{transform:translateY(-2px);border-color:var(--accent)}
.card h2{margin:0 0 8px 0}
.card-accent{outline:1px dashed var(--accent)}

.banner-wrapper{
  margin:16px 0 24px 0;
  padding:8px;
  border:2px dashed var(--border);
  border-radius:10px;
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.02);
  position:relative;
}
.banner-wrapper::before{
  content:"Banner Area";
  position:absolute;
  top:-10px;
  left:12px;
  padding:0 6px;
  font-size:12px;
  color:var(--muted);
  background:var(--bg);
}

.info-panel{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 14px;
  margin:8px 0 24px 0;
}
.info-panel h3{margin:0 0 6px 0}
.info-panel p{margin:2px 0}

.article h2{margin-top:0}

.tester-form{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:12px;
  align-items:end;
  margin-bottom:12px;
}
.tester-form label{display:flex;flex-direction:column;gap:6px}
.tester-form input{
  background:#0e0f14;
  color:var(--text);
  border:1px solid var(--border);
  border-radius:8px;
  padding:10px 12px;
  outline:none;
}
.tester-form input:focus{border-color:var(--accent)}
.tester-form button{
  height:40px;
  padding:0 16px;
  border-radius:10px;
  background:var(--accent);
  color:#0b0c10;
  border:none;
  cursor:pointer;
  font-weight:600;
}
.tester-form button:hover{filter:brightness(1.05)}
