:focus-visible{outline:3px solid #ffd18f;outline-offset:3px}
body{color:#f6f7fb;background:#060916}
button{background:#ffffff14;color:#f6f7fb;border-color:#ffffff30}
button:hover,.bar button:hover{background:#ffffff1e}
button.primary,#ticker .ticker-title,#ticker button.primary{background:#a95424;color:#fff;border-color:#ffa366}
.brand{color:#ffa366;font-family:Inter,"Segoe UI",system-ui,sans-serif;text-shadow:none}
.sub{color:#b8c4e7;letter-spacing:.14em}
.pill,.bar,.profile,dialog,#notice{border-color:#ffffff2e}
dialog,.pill,.bar,.profile{background:#121831f2;color:#f6f7fb}
small,.profile small{color:#abb5d5}
input,select,textarea{background:#091127;color:#f6f7fb;border-color:#ffffff30}
#ticker{background:#121831f2;border-color:#ffffff2e}
.ticker-msg{color:#f6f7fb}.ticker-msg b{color:#ffa366}
button,input,select,textarea{touch-action:manipulation}
button{min-height:40px}
dialog{overscroll-behavior:contain}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
  #ticker-track{animation:none!important}
}
@media(max-width:760px) and (orientation:portrait){
  header{max-width:100vw;overflow-x:auto}
  header .brand{white-space:nowrap}
  dialog{width:calc(100vw - 16px);max-width:none}
}
@media(max-height:500px) and (orientation:landscape){
  dialog{max-height:calc(100dvh - 8px);width:min(760px,calc(100vw - 16px))}
  header{padding-block:3px}
  #bottom{bottom:2px}
}
