/* Extras for the landing + CTF pages, on top of the labs' style.css (navy + gold). */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.grid2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 14px; }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } .hero-inner { grid-template-columns: 1fr !important; } .hero .shield { display: none; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; box-shadow: 0 2px 0 var(--sky2); }
.panel h2 { font-family: var(--display); text-transform: uppercase; font-size: 24px; margin: 0 0 6px; }
.panel label { display: block; font-weight: 600; font-size: 13px; margin: 10px 0 4px; }
.panel .small { font-size: 12.5px; color: var(--muted); }
.panel button { margin-top: 14px; width: 100%; }
.err { color: var(--bad); font-weight: 600; min-height: 1.2em; margin-top: 8px; }
.okbox { background: #e9f7ef; border: 1px solid #b5e0c6; color: var(--ok); border-radius: 8px; padding: 12px 14px; font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 8px 0 8px 40px; border-bottom: 1px dashed var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 7px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.rooms a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.rooms a span { color: var(--muted); font-weight: 500; font-size: 13px; }
details.login { margin-top: 12px; }
details.login summary { cursor: pointer; color: var(--navy3); font-weight: 600; }
/* CTF */
.chals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.chal { text-align: left; background: var(--panel); color: var(--text); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--sky2); border-radius: 10px; padding: 12px 14px; font: inherit; }
.chal b { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.chal .pts { color: var(--navy3); font-weight: 700; font-size: 13px; }
.chal.on { outline: 3px solid var(--gold); }
.chal.solved { background: #e9f7ef; border-color: #b5e0c6; }
.chal.solved .pts::after { content: "  ✓ solved"; color: var(--ok); }
.arena .chat { min-height: 220px; max-height: 420px; overflow-y: auto; }
.row { display: flex; gap: 8px; margin-top: 10px; }
.row input { flex: 1; }
.row button { width: auto; margin: 0; white-space: nowrap; }
table.sb { width: 100%; border-collapse: collapse; }
table.sb td, table.sb th { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
table.sb td.n { text-align: right; font-variant-numeric: tabular-nums; }
.who { font-size: 13px; color: #c9d8ee; }
.big-sb table.sb { font-size: 22px; }
