/* Operations pages share the game hub’s typography, colors and chrome. */
.ops-page { min-height: 100vh; display: flex; flex-direction: column; }
.ops-page .container { max-width: 1080px; }
.ops-page .topbar { border-bottom: 1px solid #252525; position: static; }
.ops-page .nav-inner { min-height: 72px; height: auto; }
.ops-page .nav-inner nav { position: static; min-height: 0; border: 0; background: transparent; }
.ops-page .nav-inner nav > a, .ops-page .view-link { padding-inline: 12px; }
.ops-shell { padding-top: clamp(48px, 8vw, 100px); padding-bottom: 54px; flex: 1; }
.ops-page .footer-inner > p, .ops-page .footer-inner > a:last-child { color: #a1a1aa; }
.ops-intro { margin-bottom: 28px; animation: ops-enter .4s ease-out both; }
@keyframes ops-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ops-eyebrow { color: #f87171; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 8px; }
.ops-intro h1 { font-size: clamp(36px, 8vw, 72px); line-height: 1.06; font-weight: 900; letter-spacing: -.055em; }
.ops-copy { color: #b3b8c3; font-size: 14px; line-height: 1.6; }
.ops-intro > .ops-copy { margin-top: 14px; font-size: clamp(14px, 2vw, 17px); }
.ops-banner, .ops-panel { border: 1px solid #26303c; border-radius: 8px; background: #0c121c; }
.ops-banner { --signal: #aeb6c4; margin-top: 28px; padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.ops-summary, .ops-panel h2 { font-size: clamp(18px, 3.2vw, 24px); font-weight: 700; line-height: 1.24; letter-spacing: -.02em; }
.ops-banner #checked { margin-top: 4px; color: #b3b8c3; font-size: 13px; }
.ops-banner .button { padding-inline: 14px; box-shadow: none; }
.ops-beacon { display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid color-mix(in srgb, var(--signal) 28%, transparent); color: var(--signal); border-radius: 50%; background: radial-gradient(circle, currentColor 5%, transparent 62%); background: radial-gradient(circle, color-mix(in srgb, var(--signal) 15%, transparent), transparent 62%); }
.ops-beacon span { width: 13px; height: 13px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 13%, transparent); }
[data-state="operational"] { --signal: #72e6a1; }
[data-state="degraded"] { --signal: #ffd285; }
[data-state="outage"] { --signal: #ff9797; }
.ops-panel { margin-block: 18px; padding: clamp(16px, 3.5vw, 28px); }
.ops-panel > h2 { margin-bottom: 16px; }
.ops-gate { max-width: 640px; }
.ops-gate > .button, .ops-gate > .ops-form { margin-top: 18px; }
.service-list, .incident-updates { padding: 0; margin: 0; list-style: none; }
.service-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #25303c; }
.service-row strong { font-size: 14px; }
.service-description { display: block; color: #b3b8c3; font-size: 12px; line-height: 1.4; margin-top: 2px; }
.ops-pill { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-weight: 600; font-size: 12px; color: var(--signal, #b3b8c3); }
.ops-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.incident { border-top: 1px solid #25303c; padding: 14px 0; overflow-wrap: anywhere; }
.incident:last-child { padding-bottom: 0; }
.incident-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.incident-heading h3 { font-size: 16px; }
.incident-updates { margin: 12px 0 0; padding-left: 14px; border-left: 1px solid #394657; }
.incident-updates li { padding: 8px 0; color: #b3b8c3; font-size: 13px; }
.incident-updates strong { color: #fff; margin-right: 10px; }
.incident-updates p, .incident > .ops-copy { white-space: pre-line; margin-top: 5px; }
.ops-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; margin: 0; }
.ops-stats div { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 3px; background: #121b2a; border: 1px solid #25303c; border-radius: 7px; padding: 12px; }
.ops-stats dt { color: #bcc3cf; font-size: 12px; }
.ops-stats dd { font-size: 25px; font-weight: 700; margin: 0; }
.ops-form { display: grid; gap: 13px; margin-top: 12px; max-width: 650px; }
.ops-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.ops-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.ops-form input, .ops-form select, .ops-form textarea { background: #141e2f; color: #fff; border: 1px solid #526077; border-radius: 6px; color-scheme: dark; min-height: 44px; min-width: 0; width: 100%; font: inherit; padding: 9px 11px; }
.ops-form textarea { resize: vertical; }
.ops-form .button { justify-self: start; padding-inline: 16px; }
.ops-form .button:disabled, .ops-banner .button:disabled, .ops-gate .button:disabled { opacity: .60; cursor: progress; transform: none; }
.ops-enrollment { margin-top: 15px; display: grid; justify-items: start; gap: 8px; color: #d5dae4; font-size: 13px; overflow-wrap: anywhere; }
.ops-enrollment img { display: block; background: #fff; border: 6px solid #fff; border-radius: 6px; }
.ops-enrollment code { border-radius: 5px; background: #141e2f; padding: 8px; }
.ops-message { margin-top: 16px; color: #fff; font-size: 14px; }
.ops-message[data-kind="error"] { color: #ffb1b1; }
.ops-message[data-kind="success"] { color: #72e6a1; }
@media (max-width: 640px) {
  .ops-page .nav-inner { gap: 6px; }
  .ops-page .nav-inner nav > a, .ops-page .view-link { padding-inline: 7px; }
  .ops-banner { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; }
  .ops-banner .button { grid-column: 1 / -1; justify-self: stretch; }
  .ops-beacon { width: 44px; height: 44px; }
  .ops-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ops-intro { animation: none; }
}
