:root { color-scheme: light; font-family: Verdana, Arial, sans-serif; color: #202633; background: #f3f5f8; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: #234f96; }
a:focus-visible { outline: 3px solid #fbdb19; outline-offset: 3px; }
.site-header { height: 54px; background: #034c85 url('/header_background.png') center top / auto 74px repeat-x; background-image: image-set(url('/header_background-20261110.webp') type('image/webp'), url('/header_background.png') type('image/png')); }
.header-inner { max-width: 1100px; height: 54px; margin: auto; padding: 0 18px; display: flex; align-items: center; }
.brand { display: block; flex: none; height: 54px; overflow: hidden; }
.brand img { display: block; width: 342px; height: 74px; transform: translateY(2px); }
.chat-shell { background: #fff; }
.chat-heading { max-width: 1100px; margin: auto; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; }
.chat-heading h1 { margin: 0; font-size: 20px; line-height: 1.3; }
.chat-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.language-nav { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: center; flex: none; font-size: 13px; }
.language-nav a { white-space: nowrap; text-decoration: none; }
.language-nav a:hover { text-decoration: underline; }
.language-nav a[aria-current="page"] { color: #202633; font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }
.rules-shortcut { font-size: 13px; white-space: nowrap; }
#coomeet_container { width: 100%; height: max(620px, calc(100dvh - 100px)); overflow: hidden; background: #e9edf2; }
#coomeet_container iframe { display: block; width: 100%; height: 100%; border: 0; }
.chat-noscript { margin: 0; padding: 16px; text-align: center; }
main { max-width: 900px; margin: 0 auto; padding: 24px 16px 48px; }
.chat-status { min-height: 280px; padding: 45px 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #fff; border: 1px solid #d8dee8; box-shadow: 0 8px 30px #152b4310; }
.chat-status h1 { margin: 18px 0 8px; font-size: clamp(23px, 4vw, 34px); line-height: 1.2; }
.chat-status p { max-width: 560px; margin: 0; font-size: 15px; line-height: 1.6; }
.site-copy { padding: 22px 28px; background: #fff; border: 1px solid #e0e5ed; font-size: 15px; line-height: 1.65; }
.site-copy h2 { margin: 0 0 1em; color: #1b344e; font-size: 22px; line-height: 1.3; }
.site-copy p { margin: 0 0 1em; }
.rules-main { max-width: 900px; min-height: calc(100dvh - 115px); }
.rules-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 18px; }
.rules-heading h1 { margin: 0; color: #1b344e; font-size: clamp(24px, 4vw, 32px); line-height: 1.25; }
.rules-copy h2 { margin: 1.4em 0 .4em; }
.rules-copy h2:first-of-type { margin-top: 1em; }
.rules-copy p:last-child { margin-bottom: 0; }
.rules-intro { font-size: 16px; }
footer { border-top: 1px solid #d7dce4; color: #5d6878; font-size: 12px; }
.footer-inner { max-width: 900px; margin: auto; padding: 16px; }
.footer-inner a { margin-left: 12px; }
@media (max-width: 680px) {
  .header-inner { padding: 0 12px; }
  .brand img { width: min(270px, calc(100vw - 24px)); height: auto; transform: translateY(7px); }
  .chat-heading { padding: 9px 12px; }
  .chat-heading h1 { font-size: 17px; }
  .chat-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .language-nav { font-size: 12px; }
  .rules-shortcut { font-size: 12px; }
  #coomeet_container { height: max(580px, calc(100dvh - 96px)); }
  main { padding: 12px 8px 32px; }
  .chat-status { min-height: 250px; padding: 25px 16px; }
  .site-copy { padding: 18px 16px; }
  .rules-heading { margin-bottom: 12px; }
}
