/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --blur-xl: 24px;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-2: #74371f;
    --color-5: #efefd2;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --tap: 44px;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .landing-shell {
    width: min(100%, var(--landing-shell-w));
    margin-inline: auto;
    display: grid;
    align-self: stretch;
    border-radius: calc(var(--r-xl) + 2px);
    border: 1px solid var(--border);
    background: var(--surface-1);
    box-shadow: 0 14px 34px rgba(174, 96, 30, 0.06);
    box-sizing: border-box;
    container-type: inline-size;
    container-name: landing-shell;
    max-width: var(--landing-shell-w);
    margin: 0 auto;
    gap: var(--space-5);
    flex: 1 1 auto;
    justify-content: stretch;
    padding: var(--landing-shell-pad-top) var(--landing-inset) var(--landing-shell-pad-bottom);
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .active-rooms-empty-icon {
    position: absolute;
    z-index: 1;
    font-size: 1.65rem;
    line-height: 1;
    inset: 0;
    display: grid;
    place-items: center;
  }
  .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(62, 20, 15, 0.35);
    backdrop-filter: blur(6px);
  }
  .round-results-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .round-countdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(62, 20, 15, 0.35);
    backdrop-filter: blur(8px);
  }
  .navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 50;
    background: rgba(239, 239, 210, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(236, 166, 124, 0.18);
    padding-top: env(safe-area-inset-top, 0);
  }
  .active-rooms-empty-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid rgba(174, 96, 30, 0.28);
    animation: none;
    opacity: 0.45;
  }
  .round-results-overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(62, 20, 15, 0.32);
    backdrop-filter: blur(4px);
  }
  .round-results-modal-foot {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0));
    border-top: 1px solid rgba(213, 143, 35, 0.12);
    background: var(--surface-1);
  }
  .round-results-modal {
    position: relative;
    z-index: 10;
    width: min(100%, 56rem);
    max-height: min(calc(100svh - 2rem), 52rem);
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: var(--surface-1);
    box-shadow: 0 25px 50px -12px rgba(62, 20, 15, 0.2);
    overflow: hidden;
    animation: fadeIn 0.15s ease-out;
  }
  .active-rooms-empty-visual {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .inset-x-0 {
    inset-inline: calc(var(--spacing) * 0);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .z-50 {
    z-index: 50;
  }
  .active-rooms-block {
    width: 100%;
    padding: clamp(var(--space-5), 2vw, var(--space-6));
    border-radius: calc(var(--r-lg) + 4px);
    border: 1px solid rgba(var(--landing-tint-rooms), 0.2);
    background: rgba(var(--landing-tint-rooms), var(--landing-opacity-rooms));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 16px 36px -24px rgba(var(--landing-tint-rooms), 0.28);
    margin: 0;
    backdrop-filter: blur(12px);
    grid-column: 1 / -1;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .landing-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: stretch;
    height: 100%;
    min-height: 24rem;
    justify-self: stretch;
  }
  .landing-faq {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    width: 100%;
    max-width: 100%;
    margin: var(--space-8) 0 0;
    padding: var(--space-6) var(--space-5);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--surface-0);
  }
  .landing-hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 34rem;
    width: 100%;
    margin: 0;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .share-card {
    max-width: 36rem;
    margin: var(--space-8) auto;
    padding: var(--space-6);
  }
  .landing-anon-join-hint {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    text-align: center;
    margin: 0;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .active-rooms-title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
  }
  .landing-hero-links {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    a {
      color: var(--brand-3);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.15s;
      &:hover {
        color: var(--accent);
        text-decoration: underline;
      }
    }
  }
  .landing-faq-title {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--brand-1);
    text-align: center;
    margin: 0 0 var(--space-2);
  }
  .landing-shell-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--brand-1);
    margin: 0;
    text-wrap: balance;
    & span {
      color: var(--brand-3);
    }
  }
  .landing-faq-q {
    font-weight: 700;
    font-size: 0.925rem;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
  }
  .landing-faq-a {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    & a {
      color: var(--accent);
      text-decoration: underline;
    }
  }
  .landing-anon-join-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .landing-anon-join-title {
    font-weight: 700;
    font-size: var(--fs-body);
    color: var(--text);
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .landing-guide-carousel-slide-title {
    font-size: clamp(1rem, 3.8vw, 1.25rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 var(--space-3);
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .stats-summary-meta {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
  }
  .landing-anon-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: 0;
    width: 100%;
    margin-inline: auto;
  }
  .nav-container {
    height: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--safe-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
  }
  .room-stage {
    width: min(100%, 72rem);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    flex: 1;
    min-height: 0;
  }
  .landing-anon-stage {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    width: 100%;
    max-width: 36rem;
    justify-content: center;
    margin-inline: auto;
  }
  .room-postgame {
    width: min(100%, 72rem);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding-top: var(--space-6);
  }
  .container {
    width: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--safe-pad-x);
  }
  .room-join-card {
    width: min(100%, 32rem);
    margin-inline: auto;
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
  }
  .site-footer-inner {
    max-width: var(--container-w);
    margin-inline: auto;
  }
  .legal-doc {
    max-width: var(--content-w);
    width: 100%;
    & h1 {
      font-size: var(--fs-1);
      font-weight: 800;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: var(--space-5);
    }
    & h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
      line-height: 1.25;
      color: var(--text);
      margin-top: var(--space-8);
      margin-bottom: var(--space-4);
    }
    & p {
      font-size: var(--fs-body);
      line-height: 1.7;
      color: var(--text-muted);
      margin-bottom: var(--space-4);
    }
    & ul {
      list-style: disc;
      padding-left: 1.5rem;
      margin-bottom: var(--space-4);
      display: block;
    }
    & li {
      font-size: var(--fs-body);
      line-height: 1.65;
      color: var(--text-muted);
      margin-bottom: var(--space-2);
      display: list-item;
    }
    & a {
      color: var(--accent);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
      &:hover {
        color: var(--brand-2);
      }
    }
    & code {
      font-size: 0.9em;
      padding: 0.15em 0.4em;
      border-radius: 4px;
      background: var(--surface-2);
      color: var(--brand-1);
      font-weight: 600;
    }
    & strong {
      color: var(--text);
      font-weight: 700;
    }
  }
  .landing-guide-carousel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    min-height: 0;
    height: auto;
    align-self: stretch;
  }
  .site-footer-meta {
    margin-top: var(--space-2);
    text-align: center;
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--fs-xs);
  }
  .daily-chart-box {
    display: none;
    margin-top: var(--space-2);
  }
  .landing-anon-support-row {
    margin-top: var(--space-3);
    width: 100%;
  }
  .room-lobby-bar-config {
    width: 100%;
    margin-top: var(--space-2);
  }
  .config-cats-row {
    margin-top: var(--space-1);
    gap: var(--space-1);
  }
  .site-footer {
    margin-top: 0;
    padding: var(--space-2) var(--safe-pad-x) calc(var(--space-3) + env(safe-area-inset-bottom, 0));
    background: transparent;
    border-top: none;
  }
  .host-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    margin-right: 0.3rem;
    border-radius: var(--r-sm);
    background: var(--brand-3);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.3;
    vertical-align: middle;
  }
  .landing-shell-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
    text-align: center;
    padding-bottom: 0;
    border-bottom: none;
  }
  .header-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
  }
  .table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: var(--space-4);
  }
  .log-entry {
    background: var(--surface-1);
    padding: 0.55rem 0.8rem;
    border-radius: var(--r-md);
    border-left: 3px solid var(--primary);
    font-size: var(--fs-sm);
    line-height: 1.4;
    word-break: break-word;
    animation: slideIn 0.25s ease;
    &.system, &.system-msg {
      background: rgba(174, 96, 30, 0.1);
      border-left-color: var(--accent);
      font-style: italic;
      color: var(--accent-text);
    }
    &.chat {
      border-left-color: var(--primary);
    }
    & .sender {
      font-weight: 700;
      margin-bottom: 2px;
      color: var(--accent-text);
    }
    &.results-msg {
      border-left-color: var(--pts-15);
      background: rgba(104, 163, 191, 0.07);
      padding: var(--space-3);
    }
  }
  .legal-note {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-6);
    padding: var(--space-3) var(--space-4);
    border-left: 3px solid var(--accent);
    background: rgba(213, 143, 35, 0.06);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
  }
  .section-header {
    text-align: center;
    & h2 {
      font-size: var(--fs-h2);
      font-weight: 800;
      color: var(--brand-1);
      margin-bottom: var(--space-2);
    }
  }
  .play-nickname {
    & label {
      margin-bottom: var(--space-2);
    }
  }
  .round-results-player-total {
    margin-left: auto;
    font-weight: 800;
    color: var(--accent-text);
    flex-shrink: 0;
  }
  .nav-room-info {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.3px;
    & strong {
      color: var(--accent-text);
      font-weight: 800;
      margin-left: 4px;
      letter-spacing: 1px;
    }
  }
  .support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--tap);
    padding: 0.85rem 1.1rem;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    gap: 0.35rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-sizing: border-box;
  }
  .landing-access-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: 0;
    border-radius: var(--r-lg);
    border: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    justify-content: center;
    backdrop-filter: none;
  }
  .landing-guide-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    box-sizing: border-box;
    overflow: visible;
  }
  .landing-join-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4);
    border: 1px solid rgba(var(--landing-tint-join), 0.22);
    background: rgba(var(--landing-tint-join), var(--landing-opacity-join));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 16px 36px -24px rgba(var(--landing-tint-join), 0.24);
    backdrop-filter: blur(12px);
    box-sizing: border-box;
  }
  .landing-anon-nickname {
    flex: 1;
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: var(--fs-body);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    box-sizing: border-box;
    &::placeholder {
      color: var(--text-muted);
    }
  }
  .landing-guide-close {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    flex: 0 0 auto;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0;
  }
  .landing-guide-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(174, 96, 30, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px -18px rgba(174, 96, 30, 0.35);
    transition: all 0.12s ease;
    min-width: 2.25rem;
    min-height: 2.25rem;
    line-height: 1;
    &:hover {
      background: #fff;
      box-shadow: 0 10px 24px -18px rgba(62, 20, 15, 0.5);
    }
  }
  .lobby-roster-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand-1);
    background: var(--brand-4);
    flex-shrink: 0;
    line-height: 1;
  }
  .letter-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: var(--brand-3);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 900;
    font-family: "Outfit", system-ui, sans-serif;
    line-height: 1;
  }
  .game-logs {
    flex: 1;
    min-height: 6rem;
    max-height: 18rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: 0.65rem;
    border-radius: 14px;
    border: 1px solid rgba(213, 143, 35, 0.08);
    background: rgba(255, 255, 255, 0.55);
    scrollbar-width: thin;
  }
  .modal-content {
    width: min(100%, 28rem);
    max-height: min(calc(100svh - 2rem), 40rem);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 25px 50px -12px rgba(62, 20, 15, 0.2);
    overflow-y: auto;
  }
  .game-chat-send {
    width: 2.75rem;
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: 1.15rem;
    line-height: 1;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    letter-spacing: 0;
    background: var(--brand-3);
    color: #fff;
    border: 0;
    transition: filter 0.15s ease;
    &:hover:not(:disabled) {
      filter: brightness(1.1);
    }
  }
  .landing-anon-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--tap);
    width: 100%;
    border: 0;
    border-radius: var(--r-md);
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
    color: #fff;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  .round-results-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 14px;
    background: var(--surface-1);
    border: 1px solid rgba(213, 143, 35, 0.1);
    min-height: 2.4rem;
    box-shadow: 0 1px 3px rgba(213, 143, 35, 0.06);
  }
  .btn-share-lobby {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: var(--tap);
    min-width: var(--tap);
    padding: 0.65rem 1.1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface-2);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .game-chat-pane {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    @media (min-width: 1024px) {
      flex: 1;
      min-height: 0;
      border-left: 1px solid rgba(213, 143, 35, 0.12);
      padding-left: 1.25rem;
    }
  }
  .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    padding-top: var(--nav-h);
  }
  .btn-join-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border: 0;
    border-radius: var(--r-sm);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
    color: #fff;
    white-space: nowrap;
    transition: filter 0.15s ease;
    &:hover {
      filter: brightness(1.12);
    }
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    & label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    & select, & input:not([type="text"]) {
      min-height: 44px;
      padding: 0.65rem 0.85rem;
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.24);
      background: rgba(255, 255, 255, 0.92);
      font-weight: 600;
      font-size: 0.9rem;
    }
  }
  .room-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    font-family: "Inter", system-ui, sans-serif;
    background-color: var(--brand-5);
  }
  .landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-1) var(--space-3);
    font-size: var(--fs-xs);
    & a {
      min-height: auto;
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 600;
    }
  }
  .landing-anon-nick-row {
    display: grid;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .landing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--space-4), 2vw, var(--space-6));
    width: 100%;
    align-items: stretch;
  }
  .landing-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    width: 100%;
  }
  .landing-anon-identity {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: 0;
    border-radius: var(--r-md);
    border: 0;
    background: transparent;
  }
  .game-over-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
  }
  .sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .landing-guide-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    will-change: transform;
  }
  .landing-guide-carousel-dots {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
  }
  .game-hud-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }
  .room-lobby-bar-intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: min(100%, 14rem);
  }
  .score-item-left {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
    overflow: hidden;
  }
  .legal-page {
    padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem));
    padding-bottom: clamp(2rem, 5vw, 4rem);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .room-lobby {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: clamp(1rem, 2.5vw, 1.25rem);
    flex: 1;
  }
  .round-results-modal-head-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
  }
  .round-results-veto-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
  }
  .config-cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.4rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.12s ease;
    line-height: 1.4;
  }
  .lobby-roster-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    &.is-host {
      border-color: rgba(174, 96, 30, 0.35);
    }
  }
  .landing-anon-join-row {
    display: grid;
    align-items: stretch;
    gap: var(--space-3);
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .stats-summary-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
  }
  .game-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(213, 143, 35, 0.1);
    background: rgba(255, 255, 255, 0.65);
  }
  .game-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
    @media (min-width: 480px) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-3);
    }
  }
  .lobby-roster {
    display: grid;
    gap: var(--space-2);
    grid-template-columns: 1fr;
    @media (min-width: 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .game-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .active-rooms-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding: 1.5rem 0;
  }
  .landing-quick-game {
    display: none;
    @media (max-width: 1023px) {
      display: flex;
      flex-direction: column;
      gap: var(--space-4);
      align-items: center;
    }
  }
  .landing-shell-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
  }
  .stats-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
  }
  .stats-summary-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-radius: calc(var(--r-lg) + 4px);
    border: 1px solid rgba(var(--landing-tint-rooms), 0.2);
    background: rgba(var(--landing-tint-rooms), var(--landing-opacity-rooms));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 16px 36px -24px rgba(var(--landing-tint-rooms), 0.28);
    backdrop-filter: blur(12px);
    text-align: center;
  }
  .daily-ticker-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: calc(var(--r-lg) + 4px);
    border: 1px solid rgba(var(--landing-tint-rooms), 0.2);
    background: rgba(var(--landing-tint-rooms), var(--landing-opacity-rooms));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 16px 36px -24px rgba(var(--landing-tint-rooms), 0.28);
    backdrop-filter: blur(12px);
  }
  .active-rooms-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--r-lg);
    border: 1px solid rgba(116, 55, 31, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    list-style: none;
  }
  .restart-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
    border-radius: 24px;
    border: 1px solid rgba(213, 143, 35, 0.18);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 12px 28px -22px rgba(213, 143, 35, 0.28), 0 14px 34px rgba(62, 20, 15, 0.06);
  }
  .landing-faq-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3);
    border-radius: var(--r-lg);
    background: var(--surface-1);
    border: 1px solid var(--border);
  }
  .room-lobby-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: 18px;
    border: 1px solid rgba(213, 143, 35, 0.12);
    background: rgba(255, 255, 255, 0.72);
  }
  .join-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    border-radius: calc(var(--r-lg) + 4px);
  }
  .game-dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: clamp(1.25rem, 3vw, 1.75rem);
  }
  .game-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    & label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
  }
  .game-over-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .game-over-results-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .room-lobby-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .scoreboard {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .room-lobby-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 0.6rem 0.75rem;
    border-radius: 18px;
    border: 1px solid rgba(213, 143, 35, 0.14);
    background: rgba(255, 255, 255, 0.72);
  }
  .active-rooms-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
  }
  .config-inline-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
  }
  .score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    font-weight: 600;
  }
  .round-results-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(213, 143, 35, 0.12);
  }
  .active-rooms-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
  }
  .landing-anon-join-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }
  .room-lobby-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
  }
  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }
  .nick-reroll {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .game-chat-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(213, 143, 35, 0.12);
    background: rgba(255, 255, 255, 0.72);
  }
  .config-inline-field {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
  }
  .active-rooms-empty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--brand-3);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
    &:hover {
      color: var(--accent);
      text-decoration: underline;
    }
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    & a, .nav-link-action {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 600;
      font-size: var(--fs-sm);
    }
    & a:hover, .nav-link-action:hover {
      color: var(--primary-dark);
    }
  }
  .daily-ticker-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
  .game-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }
  .game-chat-compose {
    display: flex;
    gap: var(--space-2);
    align-items: stretch;
  }
  .nick-field-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
  .badge-mode {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(213, 143, 35, 0.14);
    color: var(--accent-text);
    white-space: nowrap;
    line-height: 1.3;
  }
  .badge-rules {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(62, 20, 15, 0.07);
    color: var(--text-muted);
    white-space: nowrap;
    line-height: 1.3;
  }
  .active-rooms-cards {
    display: none;
    gap: var(--space-3);
  }
  .modal-btns {
    display: flex;
    gap: var(--space-3);
  }
  .round-results-player {
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: var(--surface-1);
    border-radius: 14px;
    border: 1px solid rgba(213, 143, 35, 0.1);
    box-shadow: 0 1px 3px rgba(213, 143, 35, 0.06);
    display: inline-block;
    text-align: left;
  }
  .game-hud-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .nav-link-extra {
    display: none;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-sm);
    @media (min-width: 768px) {
      display: inline-block;
    }
    &:hover {
      color: var(--primary-dark);
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .daily-chart-box--open {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .landing-guide-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.12s ease;
    flex: 0 0 auto;
    &[aria-selected="true"] {
      background: var(--brand-3);
      width: 1.25rem;
    }
  }
  .stats-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(var(--landing-tint-rooms), 0.15);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .landing-anon-room-code {
    flex: 1;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--r-md);
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-align: center;
    letter-spacing: 0.2em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: var(--text);
    &::placeholder {
      color: var(--text-muted);
    }
  }
  .btn {
    min-height: var(--tap);
    width: 100%;
    border: 0;
    border-radius: var(--r-md);
    padding: 0.85rem 1.1rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  .nav-cta {
    width: auto;
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    font-size: var(--fs-sm);
    border-radius: var(--r-md);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-cta--leave {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.28);
    text-transform: none;
    letter-spacing: 0.2px;
    font-weight: 600;
    box-shadow: none;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    width: auto;
    border-radius: var(--r-md);
    transition: background 0.15s, border-color 0.15s;
    &:hover {
      background: rgba(239, 68, 68, 0.22);
      color: #b91c1c;
      border-color: rgba(239, 68, 68, 0.45);
    }
  }
  .game-input {
    min-height: 44px;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.15s ease;
    &:focus {
      outline: 0;
      border-color: var(--brand-3);
      box-shadow: 0 0 0 4px rgba(62, 20, 15, 0.15);
    }
    &:disabled {
      opacity: 0.5;
    }
    &::placeholder {
      color: var(--text-muted);
    }
  }
  .\!min-h-0 {
    min-height: calc(var(--spacing) * 0) !important;
  }
  .\!min-h-\[var\(--tap\)\] {
    min-height: var(--tap) !important;
  }
  .landing-anon-cta--quick {
    width: 100%;
    max-width: 18rem;
  }
  .round-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: max(100%, 32rem);
  }
  .round-results-dismiss-btn {
    width: auto;
    min-width: 8rem;
  }
  .rooms-table {
    width: 100%;
    border-collapse: collapse;
    & th {
      text-align: left;
      padding: 0.85rem 0.6rem;
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }
    & td {
      padding: 0.7rem 0.6rem;
      font-size: 0.875rem;
      color: var(--text);
      vertical-align: middle;
    }
  }
  .active-rooms-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .\!w-\[2\.5rem\] {
    width: 2.5rem !important;
  }
  .\!w-auto {
    width: auto !important;
  }
  .round-results-block {
    width: 100%;
  }
  .w-full {
    width: 100%;
  }
  .active-rooms-empty-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    max-width: 24rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .landing-quick-game-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    max-width: 28rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .room-lobby-lead {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 36ch;
  }
  .game-chat-input {
    flex: 1;
    min-width: 0;
  }
  .lobby-roster-name {
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .round-results-pts {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    min-width: 2.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.8rem;
  }
  .round-results-val {
    min-width: 0;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: manual;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
  }
  .\!min-w-28 {
    min-width: calc(var(--spacing) * 28) !important;
  }
  .\!min-w-\[5\.5rem\] {
    min-width: 5.5rem !important;
  }
  .min-w-\[2\.5rem\] {
    min-width: 2.5rem;
  }
  .daily-ticker-text {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .round-results-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
  }
  .flex-1 {
    flex: 1;
  }
  .daily-ticker-btn {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--brand-3);
    background: transparent;
    color: var(--brand-3);
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
  }
  .lobby-roster-status {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    &.is-ready {
      color: var(--success);
    }
  }
  .daily-ticker-icon {
    flex-shrink: 0;
    font-size: 1rem;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .round-results-veto-btn {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    padding: 0.15rem 0.45rem;
    cursor: pointer;
    transition: background 0.1s;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .game-hud-center {
    align-items: center;
    text-align: center;
  }
  .game-hud-right {
    align-items: flex-end;
    text-align: right;
  }
  .items-center {
    align-items: center;
  }
  .justify-center {
    justify-content: center;
  }
  .config-inline-stop {
    gap: 0.2rem;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .active-rooms-card-join {
    align-self: flex-end;
  }
  .game-hud-room {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .round-results-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .badge {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .room-glass-panel {
    border-radius: 24px;
    border: 1px solid rgba(213, 143, 35, 0.18);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 12px 28px -22px rgba(213, 143, 35, 0.28), 0 14px 34px rgba(62, 20, 15, 0.06);
    backdrop-filter: blur(10px);
  }
  .rounded-\[var\(--r-md\)\] {
    border-radius: var(--r-md);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-\[rgba\(148\,163\,184\,0\.24\)\] {
    border-color: rgba(148,163,184,0.24);
  }
  .border-\[rgba\(236\,166\,124\,0\.18\)\] {
    border-color: rgba(236,166,124,0.18);
  }
  .border-\[var\(--border\)\] {
    border-color: var(--border);
  }
  .bg-5\/96 {
    background-color: color-mix(in srgb, #efefd2 96%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-5) 96%, transparent);
    }
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-white\/88 {
    background-color: color-mix(in srgb, #fff 88%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 88%, transparent);
    }
  }
  .bg-white\/92 {
    background-color: color-mix(in srgb, #fff 92%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 92%, transparent);
    }
  }
  .round-results-td {
    vertical-align: middle;
    padding: var(--space-2) var(--space-1);
  }
  .game-stop-btn {
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.85rem 1.4rem;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .px-\[0\.9rem\] {
    padding-inline: 0.9rem;
  }
  .px-\[0\.35rem\] {
    padding-inline: 0.35rem;
  }
  .py-\[0\.55rem\] {
    padding-block: 0.55rem;
  }
  .py-\[0\.65rem\] {
    padding-block: 0.65rem;
  }
  .pt-20 {
    padding-top: calc(var(--spacing) * 20);
  }
  .pt-safe {
    padding-top: env(safe-area-inset-top, 0);
  }
  .round-results-countdown {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
  }
  .round-results-veto-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
  }
  .round-results-td--total {
    text-align: right;
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .stats-summary-val {
    font-size: var(--fs-1);
    font-weight: 800;
    color: var(--brand-3);
    line-height: 1;
    font-family: var(--font-display);
  }
  .active-rooms-card-code {
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.04em;
  }
  .game-hud-time {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brand-3);
    line-height: 1;
  }
  .round-countdown-num {
    font-size: 6rem;
    font-weight: 900;
    color: var(--brand-3);
    line-height: 1;
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .room-lobby-panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .stats-summary-lbl {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .logo {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: 0.3px;
    text-decoration: none;
    & span {
      color: var(--accent-text);
    }
  }
  .active-rooms-card-host {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
  }
  .game-over-results-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--text);
  }
  .landing-quick-game-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
  }
  .round-results-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
  }
  .round-results-veto-tally {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
  }
  .room-lobby-title {
    font-size: var(--fs-h3);
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .site-footer-brand {
    font-weight: 700;
    color: var(--text);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .btn-danger {
    background: var(--danger);
    color: #fff;
    &:hover:not(:disabled) {
      filter: brightness(1.1);
    }
  }
  .btn-secondary {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
    color: #fff;
  }
  .round-results-pts--0 {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
  }
  .round-results-pts--5 {
    color: var(--pts-5);
    background: rgba(249, 115, 22, 0.12);
  }
  .round-results-pts--10 {
    color: var(--pts-10);
    background: rgba(34, 197, 94, 0.12);
  }
  .round-results-pts--15 {
    color: var(--pts-15);
    background: rgba(139, 92, 246, 0.12);
  }
  .site-footer-sep {
    color: var(--border-strong);
  }
  .italic {
    font-style: italic;
  }
  .no-underline {
    text-decoration-line: none;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-blur-xl {
    --tw-backdrop-blur: blur(var(--blur-xl));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .active-rooms-empty-ring--delay {
    animation-delay: 1.4s;
  }
  .focus\:not-sr-only {
    &:focus {
      position: static;
      width: auto;
      height: auto;
      padding: 0;
      margin: 0;
      overflow: visible;
      clip-path: none;
      white-space: normal;
    }
  }
  .focus\:absolute {
    &:focus {
      position: absolute;
    }
  }
  .focus\:top-4 {
    &:focus {
      top: calc(var(--spacing) * 4);
    }
  }
  .focus\:left-4 {
    &:focus {
      left: calc(var(--spacing) * 4);
    }
  }
  .focus\:z-\[9999\] {
    &:focus {
      z-index: 9999;
    }
  }
  .focus\:rounded-lg {
    &:focus {
      border-radius: var(--radius-lg);
    }
  }
  .focus\:bg-white {
    &:focus {
      background-color: var(--color-white);
    }
  }
  .focus\:p-4 {
    &:focus {
      padding: calc(var(--spacing) * 4);
    }
  }
  .focus\:text-black {
    &:focus {
      color: var(--color-black);
    }
  }
  .focus\:outline-2 {
    &:focus {
      outline-color: var(--color-2);
    }
  }
  .focus\:outline-\[\#1a0a06\] {
    &:focus {
      outline-color: #1a0a06;
    }
  }
  .md\:inline-block {
    @media (width >= 48rem) {
      display: inline-block;
    }
  }
  .md\:h-16 {
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 16);
    }
  }
}
:root {
  --brand-1: #3e140f;
  --brand-2: #74371f;
  --brand-3: #7a4f0f;
  --brand-4: #eee08f;
  --brand-5: #efefd2;
}
html {
  -webkit-tap-highlight-color: transparent;
}
*:focus-visible {
  outline: 3px solid #1a0a06;
  outline-offset: 2px;
}
body {
  font-family: "Inter", "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}
h1, h2, h3, h4 {
  font-family: "Outfit", sans-serif;
}
button {
  width: auto;
}
@container landing-shell (max-width: 480px) {
  .landing-shell {
    --landing-inset: var(--space-4);
    border-radius: var(--r-xl);
  }
  .landing-guide-carousel-panel {
    padding: var(--space-4);
  }
  .landing-guide-carousel-viewport {
    border-radius: var(--r-md);
  }
}
@container landing-shell (max-width: 680px) {
  .landing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-actions {
    min-height: 0;
  }
  .active-rooms-block, #active-rooms-section {
    display: none;
  }
  .landing-shell-header {
    margin-bottom: 0;
    gap: var(--space-1);
  }
  .landing-hero-subtitle {
    font-size: 0.875rem;
  }
  .landing-anon-actions .btn {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }
}
@media (min-width: 1024px) {
  .landing-actions {
    justify-content: start;
    min-height: 0;
  }
  .landing-anon-stage {
    gap: var(--space-7);
  }
  .landing-join-card {
    padding: var(--space-6);
  }
  .landing-anon-actions {
    gap: var(--space-4);
  }
}
@container landing-shell (max-width: 680px) {
  .landing-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.config-inline-field select {
  min-height: 2rem;
  padding: 0.2rem 0.45rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.config-inline-stop input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-3);
}
.config-cat-toggle:has(:checked) {
  border-color: var(--brand-3);
  background: rgba(213, 143, 35, 0.12);
  color: var(--text);
}
.config-cat-toggle input[type="checkbox"] {
  width: 0.8rem;
  height: 0.8rem;
  accent-color: var(--brand-3);
}
.game-field.cat-inactive {
  opacity: 0.35;
  pointer-events: none;
}
@media (max-width: 480px) {
  .room-lobby-bar-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
.btn-share-lobby:active {
  transform: scale(0.96);
  background: var(--surface-3, #e8e4d0);
}
.btn-share-lobby:hover:not(:active) {
  background: var(--surface-3, #e8e4d0);
}
@media (max-width: 480px) {
  .letter-display {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.4rem;
  }
}
.landing-anon-nick-row button[aria-label="Losuj inny pseudonim"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.landing-anon-actions .btn:nth-child(1) {
  grid-column: 1 / -1;
}
@media (max-width: 360px) {
  .landing-anon-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 400px) {
  .game-input {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .game-stop-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}
.daily-ticker-btn:hover {
  background: var(--brand-3);
  color: #fff;
}
@media (max-width: 1023px) {
  .landing-guide-carousel[aria-hidden="true"] .landing-guide-carousel-panel {
    display: none;
  }
  .landing-guide-carousel[aria-hidden="false"] .landing-guide-carousel-slide {
    display: flex !important;
  }
  .landing-guide-carousel[aria-hidden="false"] .landing-guide-carousel-viewport {
    min-height: 12rem;
  }
}
@media (min-width: 1024px) {
  #landing-guide-open {
    display: none;
  }
  .landing-guide-close {
    display: none;
  }
}
.game-over-scoreboard {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(213, 143, 35, 0.18);
  border-radius: 20px;
  padding: var(--space-4);
}
.share-score-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.game-over-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(62, 20, 15, 0.08);
  font-weight: 600;
  font-size: 0.875rem;
  transition: border-color 0.15s;
}
.game-over-score-row--me {
  border-color: rgba(213, 143, 35, 0.3);
  background: rgba(213, 143, 35, 0.06);
}
.share-score-pts {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-text);
  flex-shrink: 0;
}
.game-over-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.game-over-details-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: var(--space-4) 0 var(--space-2);
}
.game-over-round-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: var(--space-4) 0 var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid rgba(213, 143, 35, 0.12);
}
@media (max-width: 1023px) {
  #active-rooms-table-wrap {
    display: none !important;
  }
  #active-rooms-cards-wrap {
    display: flex !important;
    flex-direction: column;
  }
}
.round-results-leave-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.round-results-leave-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
}
@media (max-width: 400px) {
  .modal-content {
    padding: 1rem;
  }
}
@media (min-width: 400px) {
  .settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.restart-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  width: 100%;
}
.restart-action-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  flex: 1 1 0;
  min-width: 10rem;
}
.restart-actions .restart-btn--primary, .restart-actions .restart-btn--secondary, .restart-actions .restart-btn--danger {
  width: 100%;
}
.restart-action-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  line-height: 1.35;
}
.restart-actions-section {
  border-top: 1px solid rgba(213, 143, 35, 0.12);
  padding-top: var(--space-5);
  margin-top: var(--space-2);
  width: 100%;
}
.restart-btn--primary, .restart-btn--secondary, .restart-btn--danger {
  min-height: var(--tap);
  padding: 0.75rem 1.4rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: filter 0.15s, background 0.15s, border-color 0.15s;
}
.restart-btn--primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  color: #fff;
}
.restart-btn--primary:hover:not(:disabled) {
  filter: brightness(1.1);
}
.restart-btn--secondary {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
}
.restart-btn--secondary:hover:not(:disabled) {
  background: var(--surface-1);
}
.restart-btn--danger {
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
}
.restart-btn--danger:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
}
.restart-action-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 var(--space-1);
  line-height: 1.4;
}
:root {
  --brand-1: #3e140f;
  --brand-2: #74371f;
  --brand-3: #7a4f0f;
  --brand-4: #eee08f;
  --brand-5: #efefd2;
  --primary: var(--brand-3);
  --primary-dark: var(--brand-2);
  --accent: var(--brand-3);
  --accent-text: #9a5514;
  --accent-2: var(--brand-4);
  --accent-3: var(--brand-5);
  --background: #f5f0e8;
  --surface-0: #ffffff;
  --surface-1: #fcf9f0;
  --surface-2: #f7f0de;
  --border: rgba(62, 20, 15, 0.08);
  --border-strong: rgba(62, 20, 15, 0.16);
  --text: #1a0a06;
  --text-muted: #7a5540;
  --success: var(--brand-3);
  --danger: var(--brand-1);
  --warning: var(--brand-3);
  --pts-15: #8b5cf6;
  --pts-10: #22c55e;
  --pts-5: #f97316;
  --pts-0: #ef4444;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-11: 2.75rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --room-radius: 24px;
  --nav-h: 64px;
  --container-w: 1200px;
  --landing-shell-w: min(94%, 78rem);
  --landing-inset: clamp(var(--space-7), 5vw, var(--space-12));
  --landing-shell-pad-top: clamp(var(--space-7), 4vw, var(--space-11));
  --landing-shell-pad-bottom: clamp(var(--space-10), 5.5vw, var(--space-14));
  --landing-tint-join: 213, 143, 35;
  --landing-tint-guide: 62, 20, 15;
  --landing-tint-rooms: 116, 55, 31;
  --landing-opacity-join: 0.16;
  --landing-opacity-panel: 0.34;
  --landing-opacity-guide: 0.14;
  --landing-opacity-rooms: 0.14;
  --content-w: 720px;
  --safe-pad-x: clamp(1rem, 4vw, 2rem);
  --fs-1: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  --fs-hero: clamp(1.9rem, 1.3rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-h3: clamp(1.1rem, 0.95rem + 0.7vw, 1.35rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --shadow-md: 0 10px 30px -10px rgba(62, 20, 15, 0.14);
  --shadow-lg: 0 25px 50px -12px rgba(62, 20, 15, 0.18);
  --tap: 44px;
}
.round-results-table th, .round-results-table td {
  padding: var(--space-2) var(--space-1);
  vertical-align: middle;
  text-align: left;
}
.round-results-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: transparent;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  padding-bottom: var(--space-2);
}
.round-results-player-row--me .round-results-player {
  color: var(--accent);
}
.round-results-td--total .round-results-player-total {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: var(--surface-1);
  border-radius: 14px;
  border: 1px solid rgba(213, 143, 35, 0.1);
  box-shadow: 0 1px 3px rgba(213, 143, 35, 0.06);
  font-weight: 800;
  font-size: 0.9rem;
}
.round-results-table--players .round-results-td {
  text-align: center;
}
.round-results-td .round-results-cell:has(.round-results-pts--0:only-child) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  min-height: auto;
  padding: 0.2rem 0.4rem;
}
.round-results-veto-btn:hover {
  background: rgba(213, 143, 35, 0.1);
}
.round-results-veto-btn.is-active {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.14);
}
.page-wrapper > .container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
body.room-phase-lobby .room-stage {
  max-width: 46rem;
}
body.room-phase-playing .room-stage, body.room-phase-results .room-stage {
  max-width: var(--container-w);
}
body.room-phase-playing .game-header {
  grid-template-columns: auto 1fr;
}
body.room-phase-playing .game-header-room {
  display: none;
}
.is-mobile .room-page, .is-capacitor .room-page {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.is-mobile .game-actions, .is-capacitor .game-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: var(--space-3) 0;
  background: linear-gradient( 180deg, transparent, rgba(247, 250, 255, 0.96) 35% );
}
.is-desktop .active-rooms-cards {
  display: none;
}
@media (max-width: 480px) {
  .site-footer-nav {
    gap: var(--space-1) var(--space-2);
  }
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--brand-3);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(1.4rem);
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-ease: initial;
    }
  }
}
