[hidden]{display:none!important}main{min-height:70vh}#logout{margin-left:0;font-size:13px}.heading{margin-bottom:30px}
#gate{max-width:490px;background:radial-gradient(ellipse at top left,#24291e,transparent 60%),var(--panel);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,40px);margin-bottom:60px}
.lock-mark{color:var(--acid)}#gate h2,.board-title h2,.history h2{margin:12px 0 8px;font-size:clamp(22px,3vw,32px);letter-spacing:-.045em;line-height:1.15}#gate p,.notice,.muted,#feed-status{color:var(--muted)}#gate p{margin:6px 0 20px}#gate p:empty{margin:0}#login-form{display:grid;gap:14px}#login-form label{display:grid;gap:5px;font-size:14px}#login-form input{width:100%;min-height:44px;padding:8px 12px;background:#111410;border:1px solid var(--line);border-radius:8px;color:var(--ink);font:inherit}#login-form button{margin-top:4px;background:var(--acid);color:#15180d;font-weight:650;border:0}.board-title,.event-top,.event-footer,.odds-line,.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.board-title{margin-bottom:15px}.board-title h2,.history h2{margin:0}.event-card{display:flex;flex-direction:column;padding:clamp(18px,2.5vw,32px);border:1px solid var(--line);border-radius:14px;background:var(--panel);min-width:0}.event-top,.event-footer,#feed-status,.history-row small{font-size:12px;color:var(--muted)}.event-top{gap:8px;flex-wrap:wrap}.event-top span:first-child{color:var(--acid)}.event-card h3{font:500 clamp(23px,2.5vw,34px)/1.13 Georgia,serif;letter-spacing:-.035em;margin:16px 0 20px;overflow-wrap:anywhere}.outcome{margin:8px 0}.odds-line{font-size:14px}.odds-line strong{font-variant-numeric:tabular-nums}.meter{background:#30332e;height:4px;border-radius:4px;overflow:hidden;margin:7px 0}.meter i{display:block;height:100%;background:var(--acid)}.outcome+.outcome .meter i{background:#9aabc9}.ai{border-top:1px solid var(--line);padding-top:12px;margin:16px 0 12px}.ai b{color:var(--ink)}.event-footer{margin-top:auto;flex-wrap:wrap}.event-footer a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}#events{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));gap:12px}.history{margin:42px 0}.history-row{padding:16px 0;border-bottom:1px solid var(--line);align-items:flex-start}.history-row strong,.history-row small{display:block}.history-row>div:last-child{text-align:right}.history-row p{margin:0}.history h2{margin-bottom:10px}.notice:not(:empty){margin-top:12px!important}footer{padding-block:28px}
@media(max-width:550px){header,header nav{gap:10px}.board-title{align-items:flex-start;flex-direction:column}.history-row{flex-direction:column;gap:4px}.history-row>div:last-child{text-align:left}#logout{font-size:12px;min-height:36px}header .brand{font-size:21px}}

/* The guest form and its heading share one column at every viewport. */
#main:has(#login-form:not([hidden])):has(#gate:not([hidden])) {
  width: min(100% - 32px, 430px);
  margin-inline: auto;
  padding-inline: 0;
}
#main:has(#login-form:not([hidden])):has(#gate:not([hidden])) .heading {
  justify-content: center;
  text-align: center;
  margin: clamp(20px, 5vh, 48px) 0 20px;
}
#main:has(#login-form:not([hidden])):has(#gate:not([hidden])) .heading h1 {
  font-size: clamp(36px, 6vw, 52px);
}
#main:has(#gate:not([hidden])) .rf-help-links { display: none; }
#gate {
  margin-inline: auto;
  padding: clamp(20px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}
#gate #gate-mode {width:100%;margin-top:8px}
#gate #gate-recovery {margin-block: 0 14px}
#gate #gate-recovery a, #gate #gate-plans {text-underline-offset:3px}
#gate p:has(#gate-plans) {text-align:center;margin-bottom:0}
