.chessora {
  --chessora-ink: #18211f;
  --chessora-muted: #66716d;
  --chessora-line: #d8ddd8;
  --chessora-panel: #ffffff;
  --chessora-soft: #f4f6f2;
  --chessora-green: #3d7c4a;
  --chessora-green-dark: #285938;
  --chessora-gold: #d9a441;
  --chessora-red: #9f3b36;
  --chessora-board-edge: #101815;
  --chessora-board-inner: #26352f;
  --chessora-board-light: #efd8ad;
  --chessora-board-dark: #9b632c;
  color: var(--chessora-ink);
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px;
}

/* Pawn Realm forum surface. Keep this block late so older forum passes cannot reshape rows. */
html body.view-forum .chessora.chessora-forum-page,
html body .chessora.chessora-forum-page {
  --pr-forum-page: #e9e6df;
  --pr-forum-panel: #ffffff;
  --pr-forum-row: #ffffff;
  --pr-forum-row-alt: #f7f7f7;
  --pr-forum-head: #f0f0f0;
  --pr-forum-line: #d6d6d6;
  --pr-forum-text: #33363b;
  --pr-forum-muted: #5c6066;
  --pr-forum-link: #1b78d8;
  background: transparent !important;
  color: var(--pr-forum-text) !important;
  font-family: "Noto Sans", Arial, sans-serif !important;
  margin: 0 auto !important;
  max-width: 1300px !important;
  padding: 24px 14px 48px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero {
  align-items: center !important;
  background: var(--pr-forum-panel) !important;
  border: 1px solid var(--pr-forum-line) !important;
  border-radius: 6px 6px 0 0 !important;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .16) !important;
  color: var(--pr-forum-text) !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 112px !important;
  overflow: visible !important;
  padding: 30px 50px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero::before,
html body .chessora.chessora-forum-page .chessora-forum-hero::after {
  content: none !important;
}

html body .chessora.chessora-forum-page .chessora-kicker,
html body .chessora.chessora-forum-page .chessora-forum-hero span {
  display: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero h1 {
  color: #3b3f45 !important;
  font-size: clamp(2rem, 3vw, 2.9rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero h1::before {
  color: #60646a;
  content: "\f086";
  font-family: "Font Awesome 5 Free";
  font-size: .92em;
  font-weight: 900;
  margin-right: 18px;
  vertical-align: 0;
}

html body .chessora.chessora-forum-page .chessora-forum-hero-actions {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
}

html body .chessora.chessora-forum-page .chessora-button,
html body .chessora.chessora-forum-page .chessora-button-primary {
  background: #f8f8f8 !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  color: #30343a !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
}

html body .chessora.chessora-forum-page .chessora-button-primary {
  background: #2f80dc !important;
  border-color: #2f80dc !important;
  color: #fff !important;
}

html body .chessora.chessora-forum-page .chessora-forum-layout {
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-feed,
html body .chessora.chessora-forum-page .chessora-forum-cats,
html body .chessora.chessora-forum-page .chessora-forum-section,
html body .chessora.chessora-forum-page .chessora-forum-topic-list,
html body .chessora.chessora-forum-page .chessora-topic-posts,
html body .chessora.chessora-forum-page .chessora-forum-form,
html body .chessora.chessora-forum-page .chessora-forum-empty {
  background: var(--pr-forum-panel) !important;
  border: 1px solid var(--pr-forum-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--pr-forum-text) !important;
  overflow: hidden !important;
}

html body .chessora.chessora-forum-page .chessora-forum-index {
  display: grid !important;
  gap: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section {
  border-top: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section > header,
html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
  align-items: center !important;
  background: linear-gradient(#f7f7f7, #e8e8e8) !important;
  border-bottom: 1px solid var(--pr-forum-line) !important;
  color: #4c5056 !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1fr) 95px 95px 190px !important;
  min-height: 32px !important;
  padding: 8px 50px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
  grid-template-columns: minmax(0, 1fr) 95px 190px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section h2,
html body .chessora.chessora-forum-page .chessora-forum-topic-list h2 {
  color: #4b4f55 !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section p,
html body .chessora.chessora-forum-page .chessora-forum-topic-list p {
  display: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-head-stat,
html body .chessora.chessora-forum-page .chessora-forum-head-last {
  color: #4f5359 !important;
  display: block !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
  text-align: left !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room,
html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  align-items: center !important;
  background: var(--pr-forum-row) !important;
  border: 0 !important;
  border-bottom: 1px solid #eeeeee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--pr-forum-text) !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1fr) 95px 95px 190px !important;
  min-height: 96px !important;
  padding: 20px 50px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  grid-template-columns: minmax(0, 1fr) auto 95px 190px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room:nth-of-type(even),
html body .chessora.chessora-forum-page .chessora-forum-topic-row:nth-of-type(even) {
  background: var(--pr-forum-row-alt) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room:hover,
html body .chessora.chessora-forum-page .chessora-forum-topic-row:hover,
html body .chessora.chessora-forum-page .chessora-forum-cats a:hover {
  background: #eef6ff !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-icon {
  display: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-main strong,
html body .chessora.chessora-forum-page .chessora-forum-topic-row strong {
  color: var(--pr-forum-link) !important;
  display: block !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  margin: 0 0 6px !important;
  overflow-wrap: anywhere !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-main small,
html body .chessora.chessora-forum-page .chessora-forum-topic-row small,
html body .chessora.chessora-forum-page .chessora-forum-last small,
html body .chessora.chessora-forum-page .chessora-forum-room-stat small {
  color: #33363b !important;
  font-size: .95rem !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat,
html body .chessora.chessora-forum-page .chessora-forum-last {
  color: #33363b !important;
  display: grid !important;
  gap: 2px !important;
  justify-items: start !important;
  min-width: 0 !important;
  text-align: left !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat b,
html body .chessora.chessora-forum-page .chessora-forum-last b {
  color: #33363b !important;
  font-size: .95rem !important;
  font-weight: 400 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-staff-badge,
html body .chessora.chessora-forum-page .chessora-forum-pin-badge {
  background: #fff2cc !important;
  border: 1px solid #e6c56a !important;
  border-radius: 999px !important;
  color: #7a5300 !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-head {
  align-items: start !important;
  background: var(--pr-forum-panel) !important;
  border: 1px solid var(--pr-forum-line) !important;
  border-radius: 6px 6px 0 0 !important;
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  padding: 34px 50px 24px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-back {
  align-items: center !important;
  color: #5b9bdc !important;
  display: inline-flex !important;
  font-size: 2.2rem !important;
  justify-content: center !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-topic-title {
  color: #3b3f45 !important;
  font-size: clamp(1.9rem, 3vw, 2.75rem) !important;
  font-weight: 300 !important;
  line-height: 1.16 !important;
  margin: 0 0 8px !important;
  overflow-wrap: anywhere !important;
}

html body .chessora.chessora-forum-page .chessora-topic-head span {
  color: #5c6066 !important;
  display: block !important;
  font-size: .95rem !important;
}

html body .chessora.chessora-forum-page .chessora-forum-pagination {
  align-items: center !important;
  background: var(--pr-forum-panel) !important;
  border-left: 1px solid var(--pr-forum-line) !important;
  border-right: 1px solid var(--pr-forum-line) !important;
  display: flex !important;
  gap: 8px !important;
  padding: 10px 50px 18px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-pagination a,
html body .chessora.chessora-forum-page .chessora-forum-pagination span {
  align-items: center !important;
  border-radius: 7px !important;
  color: var(--pr-forum-link) !important;
  display: inline-flex !important;
  font-size: .9rem !important;
  height: 28px !important;
  justify-content: center !important;
  min-width: 28px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-pagination a.is-active {
  background: #2f80dc !important;
  color: #fff !important;
}

html body .chessora.chessora-forum-page .chessora-forum-page-arrow.is-disabled {
  color: #b6b6b6 !important;
}

html body .chessora.chessora-forum-page .chessora-topic-posts {
  border-top: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post {
  background: var(--pr-forum-panel) !important;
  border: 0 !important;
  border-bottom: 1px solid #ddd !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  padding: 20px 50px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-avatar {
  align-items: center !important;
  background: #e8f1fb !important;
  border-radius: 4px !important;
  color: #5b6470 !important;
  display: inline-flex !important;
  font-size: .85rem !important;
  font-weight: 700 !important;
  height: 30px !important;
  justify-content: center !important;
  width: 44px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post header {
  align-items: center !important;
  display: flex !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post header strong {
  color: #5c6066 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post-body {
  color: #273039 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-form {
  border-radius: 0 0 6px 6px !important;
  display: grid !important;
  gap: 14px !important;
  margin-top: 18px !important;
  padding: 22px 50px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats {
  border-radius: 6px !important;
  padding: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats h2 {
  background: linear-gradient(#f7f7f7, #e8e8e8) !important;
  border-bottom: 1px solid var(--pr-forum-line) !important;
  color: #4c5056 !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 10px 14px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a {
  background: #fff !important;
  border-bottom: 1px solid #ededed !important;
  color: #33363b !important;
  display: grid !important;
  gap: 4px !important;
  padding: 12px 14px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a strong {
  color: var(--pr-forum-link) !important;
  font-size: .96rem !important;
  font-weight: 400 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-game-embed {
  background: #f8f8f8 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #2c333a !important;
}

@media (max-width: 980px) {
  html body .chessora.chessora-forum-page {
    padding: 12px 8px 34px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-layout {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero,
  html body .chessora.chessora-forum-page .chessora-topic-head,
  html body .chessora.chessora-forum-page .chessora-forum-section > header,
  html body .chessora.chessora-forum-page .chessora-forum-topic-list > header,
  html body .chessora.chessora-forum-page .chessora-forum-room,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row,
  html body .chessora.chessora-forum-page .chessora-topic-post,
  html body .chessora.chessora-forum-page .chessora-forum-form {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-section > header,
  html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
    display: none !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-room,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  html body .chessora.chessora-forum-page .chessora-topic-post {
    grid-template-columns: 1fr !important;
  }
}

/* Compact live side rail: keep avatar, identity, status, and clock in fixed lanes. */
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card {
  align-items: center !important;
  column-gap: 8px !important;
  display: grid !important;
  grid-template-areas: "avatar identity online clock" !important;
  grid-template-columns: 34px minmax(0, 1fr) 10px 70px !important;
  min-height: 70px !important;
  padding: 10px 9px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-avatar {
  grid-area: avatar !important;
  height: 34px !important;
  width: 34px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card > div:nth-child(2) {
  grid-area: identity !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card strong {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail [data-player-name] {
  display: block !important;
  font-size: 0.78rem !important;
  line-height: 1.05 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-rating-pill {
  display: inline-flex !important;
  font-size: 0.66rem !important;
  line-height: 1 !important;
  width: fit-content !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-online {
  grid-area: online !important;
  height: 9px !important;
  width: 9px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card time {
  font-size: 0.9rem !important;
  grid-area: clock !important;
  min-width: 70px !important;
  padding: 9px 6px !important;
}

/* Chess.com-style live board and tool rail alignment. */
body.view-game .chessora-game-room:not(.is-creating-game) {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  justify-items: center !important;
  overflow-x: auto !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar {
  display: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: calc(var(--room-board-size) + 96px) minmax(320px, 420px) !important;
  justify-content: center !important;
  max-width: min(100%, calc(var(--room-board-size) + 544px)) !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 18px 16px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
  align-self: stretch !important;
  display: grid !important;
  margin-left: 44px !important;
  max-width: 430px !important;
  min-width: 0 !important;
  min-height: calc(var(--room-board-size) + 92px) !important;
  width: 100% !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel {
  align-self: stretch !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
  min-height: calc(var(--room-board-size) + 92px) !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs {
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button {
  background: rgba(0, 0, 0, 0.18) !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  color: #f7f0dc !important;
  min-height: 80px !important;
  padding: 0 6px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button small,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs .chessora-module-icon {
  display: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button.is-active {
  border-bottom-color: #f0c65e !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves {
  border-top: 1px solid rgba(217, 164, 65, 0.12) !important;
  margin: 0 !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 10px 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
  border-top: 1px solid rgba(217, 164, 65, 0.12) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 12px 16px 10px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
  display: block !important;
  margin: 0 !important;
  padding: 0 16px 14px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-left {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right {
  display: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #f7f0dc !important;
  gap: 6px !important;
  justify-content: flex-start !important;
  min-height: 28px !important;
  padding: 0 !important;
  width: auto !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button::before {
  content: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button img {
  display: block !important;
  height: 18px !important;
  width: 18px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-abort-game],
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-resign-game],
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-draw-offer] {
  display: inline-flex !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button[hidden] {
  display: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame,
body.view-game .chessora-game-room.is-correspondence .chessora-board-frame {
  display: grid !important;
  grid-template-columns: var(--room-board-size) !important;
  grid-template-rows: auto var(--room-board-size) auto !important;
  max-width: var(--room-board-size) !important;
  width: var(--room-board-size) !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row],
body.view-game .chessora-game-room.is-correspondence [data-board-player-row] {
  grid-column: 1 !important;
  width: var(--room-board-size) !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates,
body.view-game .chessora-game-room.is-correspondence .chessora-board-ranks,
body.view-game .chessora-game-room.is-correspondence .chessora-board-coordinates {
  display: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap,
body.view-game .chessora-game-room.is-correspondence .chessora-board-wrap {
  aspect-ratio: 1 / 1 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  height: var(--room-board-size) !important;
  overflow: hidden !important;
  position: relative !important;
  width: var(--room-board-size) !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap,
body.view-game .chessora-game-room.is-correspondence .chessora-board.cg-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: var(--room-board-size) !important;
  width: var(--room-board-size) !important;
}

body.view-game .chessora-game-room .chessora-board-inside-coordinates {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  grid-template-rows: repeat(8, 1fr) !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 4 !important;
}

body.view-game .chessora-game-room .chessora-board-inside-coordinates span {
  color: #5f7f3f !important;
  font-size: clamp(14px, calc(var(--room-board-size) / 42), 18px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

body.view-game .chessora-game-room .chessora-board-inside-coordinates .is-rank {
  align-self: start !important;
  grid-column: 1 !important;
  justify-self: start !important;
  padding: 5px 0 0 5px !important;
}

body.view-game .chessora-game-room .chessora-board-inside-coordinates .is-file {
  align-self: end !important;
  grid-row: 8 !important;
  justify-self: end !important;
  padding: 0 5px 5px 0 !important;
}

body.view-game .chessora-game-room .chessora-player-card.is-turn > time[data-player-clock]::after {
  animation: chessora-clock-hand 6s linear infinite !important;
}

body.view-game .chessora-game-room time[data-player-clock] {
  align-items: center !important;
  display: inline-grid !important;
  gap: 8px !important;
  grid-template-columns: 18px auto !important;
  justify-content: center !important;
  position: relative !important;
}

body.view-game .chessora-game-room time[data-player-clock]::before {
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
  content: "" !important;
  display: block !important;
  height: 16px !important;
  opacity: 0.9 !important;
  width: 16px !important;
}

body.view-game .chessora-game-room time[data-player-clock]::after {
  background: currentColor !important;
  border-radius: 999px !important;
  content: "" !important;
  height: 6px !important;
  left: 14px !important;
  position: absolute !important;
  top: calc(50% - 6px) !important;
  transform-origin: 50% 100% !important;
  width: 2px !important;
}

@keyframes chessora-clock-hand {
  to {
    transform: rotate(360deg);
  }
}

/* Live board player bars: identity and clocks belong with the board, not the side rail. */
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
  grid-template-columns: 20px var(--room-board-size) !important;
  grid-template-rows: auto var(--room-board-size) 22px auto !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row] {
  grid-column: 1 / -1 !important;
  width: calc(var(--room-board-size) + 20px) !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
  grid-row: 1 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
  grid-row: 4 !important;
}

body.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
  grid-row: 1 !important;
}

body.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
  grid-row: 4 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
  background: rgba(12, 17, 15, 0.92) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff7dd !important;
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: 38px minmax(0, 1fr) 10px minmax(74px, auto) !important;
  min-height: 46px !important;
  padding: 6px 8px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card.is-turn {
  box-shadow: inset 4px 0 0 #d4af37 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
  background: rgba(255, 247, 221, 0.12) !important;
  border-radius: 4px !important;
  height: 34px !important;
  width: 34px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card strong {
  align-items: baseline !important;
  color: #fff7dd !important;
  display: flex !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-name] {
  color: #fff7dd !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-rating-pill {
  background: transparent !important;
  border: 0 !important;
  color: #b9c4bd !important;
  display: inline !important;
  font-weight: 700 !important;
  padding: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
  background: #f8f6ef !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #101815 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  min-height: 34px !important;
  min-width: 74px !important;
  padding: 6px 10px !important;
}

/* Final profile redesign polish: light Community Builder surface and real rating chart. */
body.view-profile {
  background: #edf3ef !important;
}

body.view-profile .shell-page,
body.view-profile .shell-component-card {
  background: #edf3ef !important;
}

body.view-profile .chessora.chessora-profile-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(226, 188, 87, 0.16), transparent 34%),
    linear-gradient(180deg, #f6f8f4 0%, #edf3ef 100%) !important;
  border: 0 !important;
  color: #17231d !important;
}

body.view-profile .chessora.chessora-profile-page > .chessora-tabs {
  display: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero {
  background: #fffdf7 !important;
  border: 1px solid rgba(37, 74, 54, 0.16) !important;
  box-shadow: 0 18px 38px rgba(49, 68, 54, 0.14) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-cover {
  background:
    linear-gradient(90deg, rgba(244, 248, 238, 0.12), rgba(244, 248, 238, 0.54)),
    var(--cb-profile-cover, linear-gradient(135deg, #dfeadc 0%, #d0b25e 52%, #f9f6e8 100%)) !important;
}

body.view-profile .chessora.chessora-profile-page :where(.chessora-panel, .chessora-card, .chessora-profile-edit) {
  background: #fffdf7 !important;
  border: 1px solid rgba(37, 74, 54, 0.14) !important;
  box-shadow: 0 12px 28px rgba(50, 70, 56, 0.1) !important;
  color: #17231d !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-rating-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(248, 245, 232, 0.98)) !important;
  overflow: hidden !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-hero {
  align-items: baseline !important;
  display: flex !important;
  gap: 12px !important;
  margin: 8px 0 12px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-hero strong {
  color: #214f72 !important;
  font-size: clamp(3.2rem, 8vw, 5.8rem) !important;
  line-height: 0.95 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-hero span {
  color: #5f6b63 !important;
  font-weight: 800 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark {
  display: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph {
  background: #f6f2e5 !important;
  border: 1px solid rgba(37, 74, 54, 0.12) !important;
  border-radius: 8px !important;
  margin: 0 !important;
  padding: 14px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph svg {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  width: 100% !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph line {
  stroke: rgba(42, 74, 56, 0.16) !important;
  stroke-width: 1 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph polyline {
  fill: none !important;
  stroke: #2f7d5c !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 5 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph circle {
  fill: #fffdf7 !important;
  stroke: #2f7d5c !important;
  stroke-width: 4 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph text {
  fill: #1d2a22 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  paint-order: stroke !important;
  stroke: #f6f2e5 !important;
  stroke-width: 4px !important;
  text-anchor: middle !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph text.is-label {
  fill: #627064 !important;
  font-size: 12px !important;
  stroke-width: 0 !important;
  text-transform: uppercase !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph figcaption {
  color: #647066 !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  margin-top: 8px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-mini .chessora-avatar,
body.view-profile .chessora.chessora-profile-page .chessora-profile-avatar {
  background: #fffdf7 !important;
}

@media (max-width: 560px) {
  body.view-profile .chessora.chessora-profile-page .chessora-rating-hero {
    display: grid !important;
    gap: 4px !important;
  }
}

/* Community Builder profile surface. */
body.view-profile .chessora.chessora-profile-page {
  --cb-surface: #f4f7f1;
  --cb-panel: #fffdf7;
  --cb-panel-strong: #243126;
  --cb-line: rgba(34, 48, 38, 0.14);
  --cb-muted: #6c766d;
  --cb-ink: #16201a;
  --cb-gold: #dca932;
  --cb-green: #3f6e52;
  --cb-blue: #304c6f;
  background: linear-gradient(180deg, #eef4ef 0%, #f8f6ee 100%) !important;
  color: var(--cb-ink) !important;
  max-width: none !important;
  padding: 18px clamp(14px, 3vw, 34px) 48px !important;
}

/* 20260611-broadcast-compact-board-tiles-1 */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: start !important;
  background: #06110e !important;
  border: 1px solid rgba(214, 167, 72, .28) !important;
  border-radius: 10px !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr)) !important;
  overflow: visible !important;
  padding: 10px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  align-content: start !important;
  background: #f6e6c5 !important;
  border: 1px solid rgba(79, 48, 17, .35) !important;
  border-radius: 7px !important;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .22) !important;
  color: #1c150c !important;
  display: grid !important;
  gap: 5px !important;
  grid-template-areas:
    "head"
    "board"
    "white"
    "black" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: 7px !important;
  text-decoration: none !important;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile[hidden] {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  align-items: center !important;
  display: flex !important;
  gap: 6px !important;
  grid-area: head !important;
  justify-content: space-between !important;
  min-height: 22px !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head strong {
  color: #1b1309 !important;
  display: block !important;
  font-size: .86rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-result-badge {
  align-items: center !important;
  background: #fff8ea !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #bd4a0c !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  line-height: 1 !important;
  max-width: 58px !important;
  min-height: 22px !important;
  min-width: 28px !important;
  overflow: hidden !important;
  padding: 3px 6px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  background: #edd39d !important;
  border: 1px solid rgba(82, 51, 19, .55) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24) !important;
  grid-area: board !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  color: #22180c !important;
  display: grid !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  gap: 5px !important;
  grid-template-columns: 8px minmax(0, 1fr) !important;
  line-height: 1.12 !important;
  min-height: 15px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > i {
  border-radius: 999px !important;
  display: block !important;
  height: 8px !important;
  width: 8px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > b {
  color: #d94e0b !important;
  display: block !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white > i {
  background: #fffaf0 !important;
  border: 1px solid rgba(39, 28, 12, .32) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black {
  color: rgba(34, 24, 12, .82) !important;
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black > i {
  background: #14100a !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #d8ecfb !important;
  border-color: #8cc2ee !important;
  box-shadow: inset 0 0 0 2px rgba(84, 161, 219, .42), 0 12px 22px rgba(0, 0, 0, .26) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:focus {
  border-color: #8cc2ee !important;
  box-shadow: 0 13px 24px rgba(0, 0, 0, .28) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > strong,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > b:not(.chessora-broadcast-result-badge) {
  display: none !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
    gap: 8px !important;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)) !important;
    padding: 8px !important;
  }

  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
    padding: 6px !important;
  }
}

/* 20260612-broadcast-player-lineup-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  grid-template-columns: repeat(auto-fill, 224px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 30px 214px 30px !important;
  width: 224px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  height: 214px !important;
  min-height: 214px !important;
  min-width: 214px !important;
  width: 214px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 30px !important;
  overflow: hidden !important;
  padding: 0 6px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta {
  align-items: center !important;
  display: inline-flex !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-name {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-title {
  color: rgba(80, 58, 28, .78) !important;
  flex: 0 0 auto !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-flag {
  flex: 0 0 16px !important;
  height: 11px !important;
  width: 16px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > b {
  color: #d65713 !important;
  font-size: .75rem !important;
  font-weight: 950 !important;
  justify-self: end !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}

/* 20260612-broadcast-player-lineup-wide */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  grid-template-columns: repeat(auto-fill, 224px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 30px 214px 30px !important;
  min-width: 224px !important;
  width: 224px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame {
  height: 214px !important;
  margin: 0 5px !important;
  min-height: 214px !important;
  min-width: 214px !important;
  width: 214px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  height: 214px !important;
  min-height: 214px !important;
  min-width: 214px !important;
  width: 214px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  display: grid !important;
  font-size: .82rem !important;
  gap: 7px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 30px !important;
  min-width: 0 !important;
  padding: 0 7px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta {
  align-items: center !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player .chessora-broadcast-player-flag {
  display: block !important;
  flex: 0 0 18px !important;
  height: 12px !important;
  width: 18px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player .chessora-broadcast-player-name {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player .chessora-broadcast-player-title {
  display: inline !important;
  flex: 0 0 auto !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* 20260612-broadcast-player-flags-visible-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 34px 214px 34px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  height: 34px !important;
  line-height: 1 !important;
  overflow: visible !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span.chessora-broadcast-player-meta {
  align-items: center !important;
  display: grid !important;
  gap: 5px !important;
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta > .chessora-broadcast-player-glyph-flag {
  display: inline-block !important;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 15px !important;
  height: 18px !important;
  line-height: 18px !important;
  min-width: 18px !important;
  text-align: center !important;
  width: 18px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta > img.chessora-broadcast-player-flag {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta > img.chessora-broadcast-player-flag,
html body.view-broadcasts img.chessora-broadcast-player-flag {
  aspect-ratio: 3 / 2 !important;
  background-color: #fffaf0 !important;
  border: 1px solid rgba(37, 27, 12, .32) !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .22) !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
  height: 15px !important;
  max-height: 15px !important;
  max-width: 22px !important;
  min-height: 15px !important;
  min-width: 22px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  overflow: hidden !important;
  visibility: visible !important;
  width: 22px !important;
}

/* 20260612-profile-badge-preview-1 */
body.view-profile.profile-badge-dialog-open {
  overflow: hidden !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure {
  cursor: zoom-in !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure:hover,
body.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure:focus-visible {
  border-color: rgba(236, 186, 66, .78) !important;
  box-shadow: 0 0 0 3px rgba(236, 186, 66, .18), 0 12px 30px rgba(0, 0, 0, .24) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

body.view-profile .chessora-profile-badge-dialog[hidden] {
  display: none !important;
}

body.view-profile .chessora-profile-badge-dialog {
  align-items: center !important;
  display: flex !important;
  inset: 0 !important;
  justify-content: center !important;
  padding: 24px !important;
  position: fixed !important;
  z-index: 10050 !important;
}

body.view-profile .chessora-profile-badge-backdrop {
  background: rgba(2, 8, 6, .74) !important;
  border: 0 !important;
  cursor: zoom-out !important;
  inset: 0 !important;
  padding: 0 !important;
  position: absolute !important;
}

body.view-profile .chessora-profile-badge-card {
  align-items: center !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(236, 186, 66, .13), transparent 34%),
    linear-gradient(145deg, #18291f, #07120e 72%) !important;
  border: 1px solid rgba(236, 186, 66, .48) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
  color: #fff7df !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(190px, 300px) minmax(240px, 1fr) !important;
  max-width: min(760px, calc(100vw - 40px)) !important;
  padding: 26px !important;
  position: relative !important;
  width: 100% !important;
}

body.view-profile .chessora-profile-badge-close {
  align-items: center !important;
  background: rgba(255, 247, 223, .09) !important;
  border: 1px solid rgba(236, 186, 66, .44) !important;
  border-radius: 999px !important;
  color: #fff7df !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  height: 40px !important;
  justify-content: center !important;
  line-height: 1 !important;
  position: absolute !important;
  right: 14px !important;
  top: 14px !important;
  width: 40px !important;
}

body.view-profile .chessora-profile-badge-close:hover,
body.view-profile .chessora-profile-badge-close:focus-visible {
  background: #e4aa2a !important;
  color: #06110d !important;
  outline: none !important;
}

body.view-profile .chessora-profile-badge-art {
  align-items: center !important;
  background: #07120e !important;
  border: 1px solid rgba(236, 186, 66, .34) !important;
  border-radius: 8px !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 280px !important;
  padding: 18px !important;
}

body.view-profile .chessora-profile-badge-art img {
  display: block !important;
  max-height: 260px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  width: auto !important;
}

body.view-profile .chessora-profile-badge-copy {
  padding-right: 34px !important;
}

body.view-profile .chessora-profile-badge-copy span {
  color: #ffd86e !important;
  display: block !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
}

body.view-profile .chessora-profile-badge-copy h2 {
  color: #fff7df !important;
  font-size: clamp(2rem, 5vw, 3.6rem) !important;
  line-height: .96 !important;
  margin: 0 0 16px !important;
}

body.view-profile .chessora-profile-badge-copy p {
  color: rgba(255, 247, 223, .88) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  margin: 0 0 18px !important;
}

body.view-profile .chessora-profile-badge-copy small {
  background: rgba(236, 186, 66, .16) !important;
  border: 1px solid rgba(236, 186, 66, .36) !important;
  border-radius: 999px !important;
  color: #ffd86e !important;
  display: inline-flex !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  padding: 8px 12px !important;
}

@media (max-width: 720px) {
  body.view-profile .chessora-profile-badge-dialog {
    padding: 14px !important;
  }

  body.view-profile .chessora-profile-badge-card {
    gap: 16px !important;
    grid-template-columns: 1fr !important;
    max-height: calc(100vh - 28px) !important;
    overflow: auto !important;
    padding: 18px !important;
  }

  body.view-profile .chessora-profile-badge-art {
    min-height: 210px !important;
  }

  body.view-profile .chessora-profile-badge-art img {
    max-height: 210px !important;
  }
}
/* 20260612-broadcast-player-glyph-flags-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span.chessora-broadcast-player-meta {
  align-items: center !important;
  display: grid !important;
  gap: 5px !important;
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta > .chessora-broadcast-player-glyph-flag {
  display: inline-block !important;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 15px !important;
  height: 18px !important;
  line-height: 18px !important;
  min-width: 18px !important;
  text-align: center !important;
  width: 18px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta > img.chessora-broadcast-player-flag {
  display: none !important;
}

/* 20260612-broadcast-player-flags-visible-1 */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 34px 214px 34px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  height: 34px !important;
  line-height: 1 !important;
  overflow: visible !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span.chessora-broadcast-player-meta {
  align-items: center !important;
  display: grid !important;
  gap: 5px !important;
  grid-template-columns: 22px minmax(0, 1fr) auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta > img.chessora-broadcast-player-flag,
html body.view-broadcasts img.chessora-broadcast-player-flag {
  aspect-ratio: 3 / 2 !important;
  background-color: #fffaf0 !important;
  border: 1px solid rgba(37, 27, 12, .32) !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .22) !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
  height: 15px !important;
  max-height: 15px !important;
  max-width: 22px !important;
  min-height: 15px !important;
  min-width: 22px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  overflow: hidden !important;
  visibility: visible !important;
  width: 22px !important;
}

/* 20260612-broadcast-player-lineup-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  grid-template-columns: repeat(auto-fill, 176px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 26px 166px 26px !important;
  width: 176px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  height: 166px !important;
  min-height: 166px !important;
  min-width: 166px !important;
  width: 166px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 26px !important;
  overflow: hidden !important;
  padding: 0 6px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta {
  align-items: center !important;
  display: inline-flex !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-name {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-title {
  color: rgba(80, 58, 28, .78) !important;
  flex: 0 0 auto !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-flag {
  flex: 0 0 16px !important;
  height: 11px !important;
  width: 16px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > b {
  color: #d65713 !important;
  font-size: .75rem !important;
  font-weight: 950 !important;
  justify-self: end !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}

/* 20260612-broadcast-player-lineup-final */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  grid-template-columns: repeat(auto-fill, 176px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 26px 166px 26px !important;
  width: 176px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  height: 166px !important;
  min-height: 166px !important;
  min-width: 166px !important;
  width: 166px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 26px !important;
  overflow: hidden !important;
  padding: 0 6px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta {
  align-items: center !important;
  display: inline-flex !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-name {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-title {
  color: rgba(80, 58, 28, .78) !important;
  flex: 0 0 auto !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-flag {
  flex: 0 0 16px !important;
  height: 11px !important;
  width: 16px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > b {
  color: #d65713 !important;
  font-size: .75rem !important;
  font-weight: 950 !important;
  justify-self: end !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}

/* 20260611-broadcast-mini-strip-no-overlap-end */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: start !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fill, 176px) !important;
  justify-content: start !important;
  overflow: visible !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  background: #f5e5c5 !important;
  border: 1px solid rgba(79, 48, 17, .26) !important;
  border-radius: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-areas: "black" "board" "white" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 26px 166px 26px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  transform: none !important;
  width: 176px !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:focus,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  border-color: #7eb7df !important;
  box-shadow: inset 0 0 0 2px rgba(92, 158, 205, .30), 0 5px 12px rgba(0, 0, 0, .18) !important;
  transform: none !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #d6ecfb !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  display: grid !important;
  grid-area: board !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
  height: auto !important;
  justify-self: stretch !important;
  margin: 0 5px !important;
  max-width: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  place-self: stretch !important;
  width: calc(100% - 10px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board > span {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board img {
  display: block !important;
  height: 88% !important;
  max-height: 88% !important;
  max-width: 88% !important;
  object-fit: contain !important;
  width: 88% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player {
  align-items: center !important;
  color: #2b332f !important;
  display: grid !important;
  font-size: .74rem !important;
  font-weight: 700 !important;
  gap: 4px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 22px !important;
  line-height: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 4px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-black {
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > i {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > b {
  color: #d94e0b !important;
  display: block !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}

/* 20260611-broadcast-mini-strip-no-overlap-final */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: start !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)) !important;
  overflow: visible !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  background: #f5e5c5 !important;
  border: 1px solid rgba(79, 48, 17, .26) !important;
  border-radius: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-areas: "black" "board" "white" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 22px auto 22px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  transform: none !important;
  width: auto !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:focus,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  border-color: #7eb7df !important;
  box-shadow: inset 0 0 0 2px rgba(92, 158, 205, .30), 0 5px 12px rgba(0, 0, 0, .18) !important;
  transform: none !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #d6ecfb !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  display: grid !important;
  grid-area: board !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
  height: auto !important;
  margin: 0 5px !important;
  max-width: calc(100% - 10px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: calc(100% - 10px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board > span {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board img {
  display: block !important;
  height: 88% !important;
  max-height: 88% !important;
  max-width: 88% !important;
  object-fit: contain !important;
  width: 88% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player {
  align-items: center !important;
  color: #2b332f !important;
  display: grid !important;
  font-size: .74rem !important;
  font-weight: 700 !important;
  gap: 4px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 22px !important;
  line-height: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 4px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-black {
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > i {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > b {
  color: #d94e0b !important;
  display: block !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}

/* 20260611-broadcast-lichess-mini-strip-final */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: flex-start !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  overflow: visible !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  background: #f5e5c5 !important;
  border: 1px solid rgba(79, 48, 17, .24) !important;
  border-radius: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16) !important;
  display: grid !important;
  flex: 0 0 208px !important;
  gap: 0 !important;
  grid-template-areas: "black" "board" "white" !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 22px auto 22px !important;
  min-height: 0 !important;
  min-width: 208px !important;
  overflow: hidden !important;
  padding: 0 !important;
  transform: none !important;
  width: 208px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #cfe6f7 !important;
  border-color: #7eb7df !important;
  box-shadow: inset 0 0 0 2px rgba(92, 158, 205, .36), 0 6px 14px rgba(0, 0, 0, .18) !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  display: grid !important;
  grid-area: board !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
  height: auto !important;
  margin: 0 5px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: calc(100% - 10px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player {
  align-items: center !important;
  color: #233342 !important;
  display: grid !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  gap: 4px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 22px !important;
  line-height: 1 !important;
  min-width: 0 !important;
  padding: 0 4px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-black {
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > i {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > b {
  color: #d94e0b !important;
  display: block !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  min-width: 18px !important;
  text-align: right !important;
}

.chessora-club-disciplinary-form {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  margin-top: 8px;
  width: 100%;
}

.chessora-club-disciplinary-form input[type="text"] {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  font-size: 0.86rem;
  min-width: 0;
  padding: 8px 10px;
  width: 100%;
}

.chessora-club-disciplinary-form .chessora-button {
  justify-self: start;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs {
  margin-inline: auto !important;
  max-width: 1240px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero {
  background: var(--cb-panel) !important;
  border: 1px solid var(--cb-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(16, 28, 22, 0.12) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto !important;
  margin: 18px auto 18px !important;
  max-width: 1240px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-cover,
body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar,
body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats {
  grid-column: 1 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero::before {
  display: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-cover {
  background:
    linear-gradient(90deg, rgba(21, 32, 25, 0.74), rgba(21, 32, 25, 0.2)),
    var(--cb-profile-cover, linear-gradient(135deg, #344a36 0%, #cfaa46 55%, #ece5ce 100%)) !important;
  background-position: center var(--cb-profile-cover-position, 50%) !important;
  background-size: cover !important;
  min-height: clamp(160px, 26vw, 300px) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar {
  align-items: end !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: clamp(112px, 12vw, 148px) minmax(320px, 1fr) minmax(190px, auto) !important;
  margin-top: -58px !important;
  padding: 0 clamp(18px, 3vw, 34px) 22px !important;
  position: relative !important;
  z-index: 1 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar > * {
  inset: auto !important;
  position: relative !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-avatar {
  background: #fffaf0 !important;
  border: 5px solid #fffaf0 !important;
  box-shadow: 0 14px 34px rgba(17, 28, 21, 0.24) !important;
  height: clamp(112px, 12vw, 148px) !important;
  width: clamp(112px, 12vw, 148px) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-avatar img {
  border-radius: 50% !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title {
  min-width: 0 !important;
  padding-bottom: 10px !important;
  width: 100% !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title .chessora-kicker {
  color: var(--cb-green) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1 {
  color: var(--cb-panel-strong) !important;
  font-size: clamp(2rem, 4vw, 4.1rem) !important;
  letter-spacing: 0 !important;
  line-height: 0.98 !important;
  margin: 0 0 10px !important;
  overflow-wrap: anywhere !important;
  white-space: nowrap !important;
  text-shadow: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title span {
  color: var(--cb-muted) !important;
  display: block !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-actions {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  justify-content: flex-end !important;
  padding-bottom: 12px !important;
  position: static !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-actions a,
body.view-profile .chessora.chessora-profile-page .chessora-profile-actions button,
body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-card .chessora-button {
  border-radius: 6px !important;
  min-height: 42px !important;
  white-space: nowrap !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats {
  border-top: 1px solid var(--cb-line) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  position: relative !important;
  z-index: 2 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats span {
  color: var(--cb-muted) !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  padding: 16px 18px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats span + span {
  border-left: 1px solid var(--cb-line) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats strong {
  color: var(--cb-panel-strong) !important;
  font-size: 1.25rem !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-command,
body.view-profile .chessora.chessora-profile-page .chessora-profile-summary,
body.view-profile .chessora.chessora-profile-page .chessora-grid-5,
body.view-profile .chessora.chessora-profile-page .chessora-profile-panels,
body.view-profile .chessora.chessora-profile-page .chessora-profile-edit {
  margin-inline: auto !important;
  max-width: 1240px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-command {
  align-items: start !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-summary-cards {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  margin-inline: auto !important;
  max-width: 1240px !important;
  width: 100% !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-summary-cards article {
  background: #fffdf8 !important;
  border: 1px solid #d8c99e !important;
  border-radius: 8px !important;
  color: #1b180f !important;
  display: grid !important;
  gap: 6px !important;
  min-height: 120px;
  padding: 14px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-summary-cards span {
  color: #7b5a12 !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-summary-cards strong {
  color: #1b180f !important;
  font-size: 1.16rem !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-summary-cards small {
  color: #4f564d !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-main,
body.view-profile .chessora.chessora-profile-page .chessora-profile-rail,
body.view-profile .chessora.chessora-profile-page .chessora-profile-panels {
  display: grid !important;
  gap: 18px !important;
}

body.view-profile .chessora.chessora-profile-page :where(.chessora-panel, .chessora-card, .chessora-profile-edit) {
  background: var(--cb-panel) !important;
  border: 1px solid var(--cb-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(20, 30, 22, 0.08) !important;
  color: var(--cb-ink) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-panel-head h2,
body.view-profile .chessora.chessora-profile-page .chessora-panel h2,
body.view-profile .chessora.chessora-profile-page .chessora-profile-edit h2 {
  color: var(--cb-panel-strong) !important;
  letter-spacing: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-mini {
  align-items: center !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  margin: 12px 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-mini .chessora-avatar {
  height: 58px !important;
  width: 58px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-mini .chessora-avatar img {
  border-radius: 50% !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-mini strong,
body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-mini span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-card p {
  color: var(--cb-muted) !important;
  line-height: 1.5 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-hero strong,
body.view-profile .chessora.chessora-profile-page .chessora-profile-points > strong {
  color: var(--cb-blue) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure,
body.view-profile .chessora.chessora-profile-page .chessora-profile-feed a,
body.view-profile .chessora.chessora-profile-page .chessora-profile-feed .is-empty,
body.view-profile .chessora.chessora-profile-page .chessora-activity-feed > div,
body.view-profile .chessora.chessora-profile-page .chessora-profile-community a,
body.view-profile .chessora.chessora-profile-page .chessora-history-row {
  background: #f8f5ea !important;
  border: 1px solid var(--cb-line) !important;
  border-radius: 8px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure {
  align-items: center !important;
  display: grid !important;
  justify-items: center !important;
  min-height: 150px !important;
  padding: 14px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure img {
  aspect-ratio: 1 !important;
  display: block !important;
  height: auto !important;
  max-height: 92px !important;
  max-width: 92px !important;
  object-fit: contain !important;
  width: min(92px, 100%) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-title {
  align-items: center !important;
  background: linear-gradient(135deg, rgba(229, 176, 57, 0.24), rgba(19, 36, 27, 0.92)) !important;
  border: 1px solid rgba(229, 176, 57, 0.58) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 22px rgba(0, 0, 0, 0.18) !important;
  color: #ffe08a !important;
  display: inline-flex !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  gap: 8px !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin-left: 10px !important;
  padding: 7px 11px !important;
  text-transform: uppercase !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-title img {
  border-radius: 50% !important;
  height: 24px !important;
  object-fit: cover !important;
  width: 24px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-card {
  align-items: center !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(229, 176, 57, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(18, 43, 31, 0.98), rgba(9, 20, 16, 0.98)) !important;
  border: 1px solid rgba(229, 176, 57, 0.42) !important;
  border-radius: 10px !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22) !important;
  color: #fff7df !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  margin: 0 auto 22px !important;
  max-width: 1360px !important;
  padding: 18px !important;
  width: calc(100% - 48px) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-emblem {
  align-items: center !important;
  background: rgba(3, 15, 11, 0.72) !important;
  border: 1px solid rgba(229, 176, 57, 0.34) !important;
  border-radius: 10px !important;
  display: flex !important;
  height: 88px !important;
  justify-content: center !important;
  overflow: hidden !important;
  width: 88px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-emblem img {
  display: block !important;
  height: 76px !important;
  object-fit: contain !important;
  width: 76px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-card h2 {
  color: #fff7df !important;
  font-size: clamp(1.35rem, 2vw, 2rem) !important;
  line-height: 1.1 !important;
  margin: 4px 0 8px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-card p {
  color: rgba(255, 247, 223, 0.82) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 740px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-scope {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(2, minmax(120px, 1fr)) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-scope span {
  background: rgba(255, 247, 223, 0.08) !important;
  border: 1px solid rgba(229, 176, 57, 0.28) !important;
  border-radius: 999px !important;
  color: #ffe08a !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  padding: 9px 12px !important;
  text-align: center !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-tags span,
body.view-profile .chessora.chessora-profile-page .chessora-stat {
  background: #eef4ef !important;
  border-color: rgba(63, 110, 82, 0.18) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-stat strong,
body.view-profile .chessora.chessora-profile-page .chessora-profile-tags strong {
  color: var(--cb-green) !important;
}

@media (max-width: 980px) {
  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-command,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-summary-cards,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-summary,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-panels {
    grid-template-columns: 1fr !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar {
    justify-items: start !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1 {
    white-space: normal !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-actions {
    justify-content: flex-start !important;
    padding-bottom: 0 !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body.view-profile .chessora.chessora-profile-page {
    padding-inline: 10px !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar {
    margin-top: -42px !important;
    padding-inline: 14px !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero {
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: calc(100vw - 28px) !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-avatar {
    height: 96px !important;
    width: 96px !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-actions a,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-actions button {
    justify-content: center !important;
    width: 100% !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats {
    grid-template-columns: 1fr !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats span + span {
    border-left: 0 !important;
    border-top: 1px solid var(--cb-line) !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-title {
    margin-left: 0 !important;
    margin-top: 8px !important;
    width: fit-content !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-card {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    padding: 16px !important;
    width: calc(100vw - 28px) !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-beta-scope {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}

.chessora-guest-limit-modal {
  align-items: center;
  background: rgba(5, 10, 12, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 9999;
}

.chessora-guest-limit-modal[hidden] {
  display: none;
}

.chessora-guest-limit-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #111c18;
  border: 1px solid rgba(214, 162, 59, 0.36);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  color: #f7f0dc;
  display: grid;
  gap: 18px;
  max-width: 720px;
  padding: 24px;
  position: relative;
  width: min(100%, 720px);
}

.chessora-guest-limit-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #f7f0dc;
  display: flex;
  font-size: 1.25rem;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 14px;
  text-decoration: none;
  top: 14px;
  width: 34px;
}

.chessora-guest-limit-icon {
  align-items: center;
  background: linear-gradient(180deg, #f0c65e, #c78b25);
  border-radius: 50%;
  color: #151008;
  display: flex;
  font-size: 1.2rem;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  margin-bottom: 10px;
  width: 42px;
}

.chessora-guest-limit-card h2 {
  color: #fff7dc;
  font-size: 1.75rem;
  margin: 4px 42px 8px 0;
}

.chessora-guest-limit-card p {
  color: #cbd6cd;
  margin: 0;
}

.chessora-guest-register-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-guest-register-form label {
  color: #f7f0dc;
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 6px;
  text-transform: uppercase;
}

.chessora-guest-register-form input {
  background: #f8faf7;
  border: 1px solid rgba(214, 162, 59, 0.34);
  border-radius: 7px;
  color: #111827;
  min-height: 42px;
  padding: 9px 11px;
}

.chessora-guest-register-form .chessora-button {
  justify-content: center;
}

@media (max-width: 680px) {
  .chessora-guest-register-form {
    grid-template-columns: 1fr;
  }
}

/* Game setup: polished open challenges table. */
.chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table {
  background: #ffffff !important;
  border: 1px solid #eadfce !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 48px rgba(43, 34, 20, 0.08) !important;
  margin: 6px 0 0 !important;
  overflow: hidden;
  padding: 0 !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-create-section-head {
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%) !important;
  border: 0 !important;
  border-bottom: 1px solid #efe3d2 !important;
  margin: 0 !important;
  padding: 18px 22px 14px !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-create-section-head strong {
  color: #111827 !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-create-section-head span {
  align-items: center;
  background: #ecfbea !important;
  border: 1px solid #c9efc3 !important;
  border-radius: 999px;
  color: #2f9c42 !important;
  display: inline-flex;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1;
  padding: 7px 11px;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-table {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid;
  overflow: visible;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row {
  align-items: center;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e7dc !important;
  color: #111827 !important;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(190px, 1.35fr) minmax(84px, 0.5fr) minmax(104px, 0.55fr) minmax(130px, 0.75fr) auto;
  min-height: 72px;
  padding: 14px 22px !important;
  text-decoration: none !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row:last-child {
  border-bottom: 0 !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-head {
  background: #fbf7ef !important;
  color: #7a6d5c !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.04em;
  min-height: 42px;
  padding-bottom: 10px !important;
  padding-top: 10px !important;
  text-transform: uppercase;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row:not(.chessora-open-match-head):hover,
.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row:not(.chessora-open-match-head):focus {
  background: #fff9ed !important;
  box-shadow: inset 4px 0 0 #eba31d;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-player {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-left: 18px;
  position: relative;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-player::before {
  background: #38b66b;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #dcf8e8;
  content: "";
  height: 9px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 9px;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-player strong {
  color: #111827 !important;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-player small,
.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row > span:not(.chessora-open-match-player) {
  color: #5f6b7a !important;
  font-size: 0.88rem !important;
  font-weight: 700;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row > span:not(.chessora-open-match-player) {
  align-items: center;
  display: inline-flex;
  min-height: 30px;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row b {
  align-items: center;
  background: linear-gradient(180deg, #fff8e8, #fff1d1) !important;
  border: 1px solid #efb13a !important;
  border-radius: 999px !important;
  color: #c97800 !important;
  display: inline-flex;
  font-size: 0.86rem !important;
  font-weight: 950 !important;
  justify-content: center;
  min-height: 34px;
  min-width: 58px;
  padding: 7px 14px !important;
}

.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row:hover b,
.chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row:focus b {
  background: linear-gradient(180deg, #f5c95c, #e59b18) !important;
  color: #171008 !important;
}

@media (max-width: 760px) {
  .chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-head {
    display: none !important;
  }

  .chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row {
    gap: 8px;
    grid-template-columns: 1fr auto;
    padding: 16px !important;
  }

  .chessora-game-room.is-creating-game .chessora-open-matches .chessora-open-match-row > span:not(.chessora-open-match-player) {
    font-size: 0.82rem !important;
  }
}

.chessora-forum-page,
.chessora-profile-page {
  background: #07100e;
  color: #f4f6f2;
}

.chessora-forum-hero,
.chessora-profile-hero {
  align-items: center;
  background:
    radial-gradient(circle at 14% 0, rgba(214, 167, 72, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  margin: 18px 0;
  padding: 22px;
}

.chessora-forum-hero h1,
.chessora-profile-hero h1 {
  color: #fff7dd;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0 0 8px;
}

.chessora-forum-hero span,
.chessora-profile-hero span,
.chessora-forum-topic small,
.chessora-forum-cats span,
.chessora-profile-panels p {
  color: #aeb8b2;
}

.chessora-forum-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.chessora-forum-feed,
.chessora-forum-cats,
.chessora-profile-panels .chessora-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.chessora-forum-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.chessora-forum-share-tip {
  background: rgba(214, 167, 72, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.chessora-forum-share-tip strong {
  color: #fff7dd;
}

.chessora-forum-share-tip span {
  color: #aeb8b2;
}

.chessora-forum-share-tip code {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 6px;
  color: #f8d985;
  display: inline-block;
  font-weight: 900;
  justify-self: start;
  padding: 5px 8px;
}

.chessora-forum-toolbar strong,
.chessora-forum-cats h2,
.chessora-profile-panels h2 {
  color: #f4f6f2;
  font-size: 1rem;
  margin: 0;
}

.chessora-forum-topic {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: 94px minmax(0, 1fr) 46px;
  min-height: 74px;
  padding: 12px 16px;
  text-decoration: none;
}

.chessora-forum-topic:last-child {
  border-bottom: 0;
}

.chessora-forum-topic > span {
  background: rgba(214, 167, 72, 0.14);
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 999px;
  color: #f8d985;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 6px 9px;
  text-align: center;
}

.chessora-forum-topic h2 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 4px;
}

.chessora-forum-topic p {
  color: #f8d985;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  margin: 7px 0 0;
}

.chessora-forum-topic strong {
  color: #f8d985;
  text-align: right;
}

.chessora-forum-cats {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.chessora-forum-cats a {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-decoration: none;
}

.chessora-forum-cats strong {
  color: #fff7dd;
}

.chessora-profile-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.chessora-profile-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.chessora-profile-actions button {
  align-items: center;
  background: rgba(214, 167, 72, 0.14);
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 7px;
  color: #f8d985;
  cursor: pointer;
  display: flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.chessora-profile-hero .chessora-avatar {
  align-items: center;
  background: linear-gradient(135deg, #2f7f4e, #d6a748);
  border-radius: 8px;
  color: #fff7dd;
  display: flex;
  font-size: 1.45rem;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.chessora-profile-panels {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.chessora-forum-empty,
.chessora-forum-form {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  padding: 16px;
}

.chessora-forum-empty strong,
.chessora-forum-form h2 {
  color: #fff7dd;
  margin: 0;
}

.chessora-forum-empty span,
.chessora-forum-form p,
.chessora-topic-post span {
  color: #aeb8b2;
}

.chessora-forum-form label {
  color: #aeb8b2;
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 6px;
}

.chessora-forum-form input,
.chessora-forum-form select,
.chessora-forum-form textarea {
  background: #f4f6f2;
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 7px;
  color: #111817;
  min-height: 42px;
  padding: 9px 10px;
  width: 100%;
}

.chessora-forum-form textarea {
  line-height: 1.45;
  resize: vertical;
}

.chessora-topic-posts {
  display: grid;
}

.chessora-topic-post {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 16px;
}

.chessora-topic-post:last-child {
  border-bottom: 0;
}

.chessora-topic-avatar {
  align-items: center;
  background: linear-gradient(135deg, #ba8450, #d9a441);
  border-radius: 50%;
  color: #101815;
  display: flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.chessora-topic-post header {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.chessora-topic-post strong {
  color: #fff7dd;
}

.chessora-topic-post p {
  color: #edf2ee;
  line-height: 1.55;
  margin: 0;
}

.chessora-profile-avatar {
  overflow: hidden;
}

.chessora-profile-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-profile-avatar span {
  font-size: 1.6rem;
}

.chessora-profile-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.chessora-profile-summary .chessora-panel,
.chessora-profile-community {
  display: grid;
  gap: 10px;
}

.chessora-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chessora-profile-tags span,
.chessora-profile-latest-challenge,
.chessora-activity-feed a,
.chessora-activity-feed div,
.chessora-profile-community a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 7px;
  color: #f4f6f2;
  padding: 10px 12px;
  text-decoration: none;
}

.chessora-profile-tags strong {
  color: #f8d985;
}

.chessora-activity-feed {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.chessora-activity-feed a,
.chessora-activity-feed div,
.chessora-profile-latest-challenge,
.chessora-profile-community a {
  display: grid;
  gap: 4px;
}

.chessora-profile-latest-challenge {
  text-decoration: none;
}

.chessora-activity-feed strong,
.chessora-profile-community strong {
  color: #fff7dd;
}

.chessora-activity-feed span,
.chessora-profile-community span {
  color: #aeb8b2;
}

.chessora-profile-mini-board {
  aspect-ratio: 1;
  border: 3px solid rgba(38, 53, 47, 0.95);
  border-radius: 5px;
  display: grid;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(8, 1fr);
  overflow: hidden;
  width: 78px;
}

.chessora-profile-mini-board span {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.chessora-profile-mini-board .is-light {
  background: #efd8ad;
}

.chessora-profile-mini-board .is-dark {
  background: #9b632c;
}

.chessora-profile-mini-board img {
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.65));
  height: 96%;
  object-fit: contain;
  width: 96%;
}

.chessora-history-table {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.chessora-history-head,
.chessora-history-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 88px minmax(160px, 1.2fr) 82px minmax(116px, 0.8fr) 80px 54px;
}

.chessora-history-head {
  color: #aeb8b2;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0 12px 10px;
  text-transform: uppercase;
}

.chessora-history-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 7px;
  margin-bottom: 8px;
  padding: 10px 12px;
}

.chessora-history-control,
.chessora-history-result,
.chessora-history-moves {
  display: grid;
  gap: 3px;
}

.chessora-history-control strong {
  align-items: center;
  background: rgba(214, 167, 72, 0.14);
  border-radius: 50%;
  color: #f8d985;
  display: flex;
  font-size: 0.86rem;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.chessora-history-control span,
.chessora-history-result span,
.chessora-history-moves span,
.chessora-history-players span {
  color: #aeb8b2;
  font-size: 0.82rem;
}

.chessora-history-players {
  display: grid;
  gap: 5px;
}

.chessora-history-players span {
  align-items: center;
  display: flex;
  gap: 7px;
}

.chessora-history-players i {
  border-radius: 3px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.chessora-history-players .is-white {
  background: #f4f6f2;
}

.chessora-history-players .is-black {
  background: #111817;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.chessora-history-result strong,
.chessora-history-moves strong {
  color: #fff7dd;
}

.chessora-history-review {
  align-items: center;
  color: #fff7dd;
  display: flex;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

.chessora-history-review .chessora-profile-mini-board {
  width: 54px;
}

.chessora-history-row em {
  color: #8fe076;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.chessora-history-row em.is-negative {
  color: #ff928a;
}

.chessora-profile-edit {
  display: grid;
  gap: 16px;
}

.chessora-profile-edit h2,
.chessora-register-form h2 {
  color: #fff7dd;
  margin: 0 0 4px;
}

.chessora-profile-edit span,
.chessora-register-form p {
  color: #aeb8b2;
}

.chessora-profile-edit-grid,
.chessora-register-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-profile-edit label,
.chessora-register-form label {
  color: #aeb8b2;
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 6px;
}

.chessora-profile-edit input,
.chessora-profile-edit select,
.chessora-profile-edit textarea,
.chessora-register-form input {
  background: #f4f6f2;
  border: 1px solid rgba(214, 167, 72, 0.26);
  border-radius: 7px;
  color: #111817;
  min-height: 42px;
  padding: 9px 10px;
  width: 100%;
}

.chessora-profile-edit-wide {
  grid-column: 1 / -1;
}

.chessora-avatar-picker {
  align-items: center;
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  color: #aeb8b2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 12px;
}

.chessora-avatar-picker legend {
  color: #fff7dd;
  font-weight: 900;
  padding: 0 6px;
}

.chessora-avatar-picker label {
  display: inline-grid;
}

.chessora-avatar-picker input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
}

.chessora-avatar-picker label span {
  align-items: center;
  background: rgba(214, 167, 72, 0.12);
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 50%;
  color: #f8d985;
  display: flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  overflow: hidden;
  width: 44px;
}

.chessora-avatar-picker input:checked + span {
  border-color: #d9a441;
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2);
}

.chessora-avatar-picker img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-register-page {
  background: #07100e;
  color: #f4f6f2;
}

.chessora-register-hero {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(217, 164, 65, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 26px;
}

.chessora-register-hero h1 {
  color: #fff7dd;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
  margin: 0 0 10px;
}

.chessora-register-hero span {
  color: #aeb8b2;
}

.chessora-register-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.chessora-register-form,
.chessora-register-side {
  display: grid;
  gap: 14px;
}

.chessora-register-side article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 16px;
}

.chessora-register-side strong {
  color: #fff7dd;
}

.chessora-register-side span {
  color: #aeb8b2;
  line-height: 1.45;
}

.chessora-register-confidence,
.chessora-home3-visitor-grid,
.chessora-home3-visitor-actions {
  display: grid;
  gap: 10px;
}

.chessora-register-confidence {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-register-confidence span,
.chessora-home3-visitor-grid article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  color: #aeb8b2;
  display: grid;
  gap: 4px;
  line-height: 1.4;
  padding: 12px;
}

.chessora-register-confidence strong,
.chessora-home3-visitor-grid strong {
  color: #fff7dd;
}

.chessora-home3-visitor-path {
  align-items: stretch;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.2fr) auto;
}

.chessora-home3-visitor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-home3-visitor-actions {
  align-content: center;
}

.chessora-home3-visitor-actions a {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(229, 180, 77, .22);
  border-radius: 9px;
  color: #fff7df;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.chessora-home3-visitor-actions a:first-child {
  background: linear-gradient(180deg, #f0c35e, #c58b23);
  border-color: rgba(255, 223, 133, .74);
  color: #11140f;
}

.chessora-profile-page .chessora-tabs,
.chessora-forum-page .chessora-tabs,
.chessora-register-page .chessora-tabs {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.chessora-profile-page .chessora-tabs a,
.chessora-forum-page .chessora-tabs a,
.chessora-register-page .chessora-tabs a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #f4f6f2;
}

.chessora-profile-page .chessora-tabs a.is-active,
.chessora-forum-page .chessora-tabs a.is-active,
.chessora-register-page .chessora-tabs a.is-active {
  background: rgba(217, 164, 65, 0.18);
  border-color: rgba(217, 164, 65, 0.55);
  color: #f8d985;
}

.chessora-profile-page .chessora-profile-actions {
  max-width: 360px;
}

.chessora-profile-page .chessora-profile-actions button,
.chessora-profile-page .chessora-profile-actions a.chessora-button {
  flex: 1 1 108px;
  height: auto;
  min-height: 42px;
  padding: 9px 12px;
  width: auto;
}

.chessora-profile-page .chessora-profile-hero {
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, auto);
}

.chessora-clubs-page {
  background: #07100e;
  color: #f4f6f2;
}

.chessora-clubs-hero {
  align-items: center;
  background: radial-gradient(circle at 10% 0, rgba(111, 190, 74, 0.18), transparent 34%), rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  padding: 22px;
}

.chessora-clubs-hero h1 {
  color: #fff7dd;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 8px;
}

.chessora-clubs-hero span,
.chessora-club-card p,
.chessora-club-card small {
  color: #aeb8b2;
}

.chessora-club-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 290px;
}

.chessora-club-list {
  display: grid;
  gap: 10px;
}

.chessora-club-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding: 14px;
}

.chessora-club-card h2,
.chessora-club-sidebar h2 {
  color: #fff7dd;
  margin: 0 0 5px;
}

.chessora-club-badge {
  align-items: center;
  background: rgba(214, 167, 72, 0.16);
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 8px;
  color: #f8d985;
  display: flex;
  font-size: 1.4rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.chessora-club-sidebar {
  align-content: start;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.chessora-club-concept {
  background: rgba(214, 167, 72, 0.07);
  border-color: rgba(214, 167, 72, 0.22);
}

.chessora-club-sidebar a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.12);
  border-radius: 7px;
  color: #fff7dd;
  font-weight: 900;
  padding: 11px;
  text-decoration: none;
}

@media (max-width: 820px) {
  .chessora-forum-layout,
  .chessora-profile-panels,
  .chessora-profile-summary,
  .chessora-profile-edit-grid,
  .chessora-register-layout,
  .chessora-register-grid,
  .chessora-club-layout,
  .chessora-clubs-hero,
  .chessora-register-hero,
  .chessora-profile-hero,
  .chessora-forum-hero {
    grid-template-columns: 1fr;
  }
}

.chessora * {
  box-sizing: border-box;
}

.chessora-home {
  --home-bg: #020809;
  --home-panel: #0d1214;
  --home-panel-2: #141a1c;
  --home-line: rgba(255, 255, 255, 0.08);
  --home-muted: #9ca7a3;
  --home-gold: #d9a441;
  background: var(--home-bg);
  color: #eef2ee;
  display: grid;
  gap: 0;
  grid-template-columns: 190px minmax(0, 1fr);
  max-width: 100%;
  min-height: calc(100vh - 24px);
  padding: 0;
}

.chessora-home a {
  text-decoration: none;
}

.chessora-home-sidebar {
  background: #050b0d;
  border-right: 1px solid var(--home-line);
  display: grid;
  gap: 18px;
  grid-template-rows: auto 1fr auto;
  padding: 18px 12px;
}

.chessora-home-brand {
  align-items: center;
  color: var(--home-gold);
  display: flex;
  gap: 9px;
  min-height: 40px;
}

.chessora-home-brand span {
  font-size: 1.5rem;
}

.chessora-home-brand strong {
  font-size: 1.18rem;
  letter-spacing: 0.03em;
}

.chessora-home-rail {
  align-content: start;
  display: grid;
  gap: 7px;
}

.chessora-home-rail a {
  align-items: center;
  border-radius: 6px;
  color: #d8dfdc;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px 1fr;
  min-height: 38px;
  padding: 9px 10px;
}

.chessora-home-rail a.is-active,
.chessora-home-rail a:hover,
.chessora-home-rail a:focus {
  background: rgba(217, 164, 65, 0.14);
  color: #fff;
}

.chessora-home-rail span {
  color: var(--home-gold);
  text-align: center;
}

.chessora-premium-box {
  background: #101719;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.chessora-premium-box > span,
.chessora-premium-box strong {
  color: var(--home-gold);
}

.chessora-premium-box p {
  color: var(--home-muted);
  font-size: 0.82rem;
  margin: 0;
}

.chessora-premium-box a {
  background: var(--home-gold);
  border-radius: 6px;
  color: #191108;
  font-weight: 900;
  min-height: 34px;
  padding: 8px 10px;
  text-align: center;
}

.chessora-home-main {
  min-width: 0;
}

.chessora-home-topbar {
  align-items: center;
  background: rgba(5, 10, 12, 0.92);
  border-bottom: 1px solid var(--home-line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 0 22px;
}

.chessora-home-topbar nav {
  align-items: center;
  display: flex;
  gap: 26px;
}

.chessora-home-topbar nav a {
  color: #e7ece9;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 24px 0 20px;
  position: relative;
}

.chessora-home-topbar nav a.is-active::after,
.chessora-home-topbar nav a:hover::after,
.chessora-home-topbar nav a:focus::after {
  background: var(--home-gold);
  border-radius: 3px;
  bottom: 13px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.chessora-home-tools {
  align-items: center;
  display: flex;
  gap: 12px;
}

.chessora-home-tools label {
  align-items: center;
  background: #081013;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  color: #68736f;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  min-height: 38px;
  padding: 0 10px;
  width: min(260px, 22vw);
}

.chessora-home-tools input {
  background: transparent;
  border: 0;
  color: #eef2ee;
  min-width: 0;
  outline: 0;
}

.chessora-home-tools > a:not(.chessora-home-user) {
  color: #eef2ee;
}

.chessora-home-user {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 8px;
}

.chessora-home-user span {
  align-items: center;
  background: linear-gradient(145deg, #dfc09b, #7a4a25);
  border-radius: 50%;
  color: #171008;
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.chessora-home-content {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding: 18px 22px 22px;
}

.chessora-home-center,
.chessora-home-aside {
  display: grid;
  gap: 16px;
}

.chessora-home-hero {
  background:
    radial-gradient(circle at 70% 44%, rgba(217, 164, 65, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(4, 9, 12, 0.98), rgba(4, 9, 12, 0.72) 55%, rgba(4, 9, 12, 0.84)),
    #071012;
  border-bottom: 1px solid var(--home-line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.7fr);
  min-height: 310px;
  overflow: hidden;
  padding: 36px 8px 22px;
  position: relative;
}

.chessora-hero-copy {
  display: grid;
  gap: 14px;
  max-width: 540px;
  padding-left: 4px;
  position: relative;
  z-index: 2;
}

.chessora-home .chessora-kicker {
  color: var(--home-gold);
  font-size: 1.9rem;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.chessora-hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 4.25rem);
  line-height: 0.98;
  margin: 0;
  max-width: 480px;
  text-transform: uppercase;
}

.chessora-hero-copy p {
  color: #b9c3be;
  margin: 0;
  max-width: 430px;
}

.chessora-hero-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chessora-gold-button,
.chessora-dark-button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
}

.chessora-gold-button {
  background: linear-gradient(135deg, #e2b75c, #b77b25);
  color: #171008;
}

.chessora-dark-button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chessora-live-pill {
  align-items: center;
  background: rgba(7, 13, 14, 0.8);
  border: 1px solid var(--home-line);
  border-radius: 7px;
  color: #d7dfdc;
  display: inline-flex;
  font-size: 0.86rem;
  gap: 12px;
  justify-self: start;
  padding: 10px 14px;
}

.chessora-live-pill i {
  background: #6fe05a;
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  margin-right: 6px;
  width: 7px;
}

.chessora-hero-visual {
  align-items: end;
  display: flex;
  justify-content: center;
  min-height: 280px;
  position: relative;
}

.chessora-hero-board,
.chessora-puzzle-board {
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  overflow: hidden;
}

.chessora-hero-board {
  bottom: -22px;
  filter: blur(0.3px);
  opacity: 0.82;
  position: absolute;
  transform: perspective(360px) rotateX(58deg) rotateZ(-4deg);
  width: min(520px, 90%);
}

.chessora-hero-board span,
.chessora-puzzle-board span {
  min-width: 0;
}

.chessora-hero-board .is-light,
.chessora-puzzle-board .is-light {
  background: #ead8b8 url("../images/board/wood/square-light.gif") center / cover;
}

.chessora-hero-board .is-dark,
.chessora-puzzle-board .is-dark {
  background: #8b5f3a url("../images/board/wood/square-dark.gif") center / cover;
}

.chessora-hero-king {
  filter:
    sepia(1)
    saturate(2.4)
    hue-rotate(350deg)
    brightness(1.12)
    drop-shadow(0 26px 24px rgba(0, 0, 0, 0.62));
  height: min(250px, 28vw);
  position: relative;
  z-index: 2;
}

.chessora-hero-piece {
  filter: brightness(0.45) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5));
  opacity: 0.55;
  position: absolute;
  width: 78px;
}

.chessora-hero-piece-a {
  left: 14%;
  top: 31%;
}

.chessora-hero-piece-b {
  right: 12%;
  top: 38%;
}

.chessora-home-section,
.chessora-home-panel,
.chessora-stat-strip {
  background: linear-gradient(180deg, #101719, #0b1113);
  border: 1px solid var(--home-line);
  border-radius: 8px;
}

.chessora-home-section,
.chessora-home-panel {
  padding: 14px;
}

.chessora-section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chessora-section-head h2 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.chessora-section-head a {
  color: #c7b37c;
  font-size: 0.78rem;
}

.chessora-play-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-play-card {
  background: #171d1f;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-height: 150px;
  padding: 14px;
  text-align: center;
}

.chessora-play-card > span {
  color: var(--home-gold);
  font-size: 2rem;
}

.chessora-play-card h3 {
  color: #f4d076;
  font-size: 1rem;
  margin: 0;
}

.chessora-play-card p,
.chessora-play-card small {
  color: var(--home-muted);
  margin: 0;
}

.chessora-play-card a,
.chessora-challenge-card a,
.chessora-tournament-card a {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  margin-top: auto;
  min-height: 34px;
  padding: 8px 10px;
  text-align: center;
}

.chessora-home-lower {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.75fr 1.25fr;
}

.chessora-leaderboard {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.chessora-leaderboard li {
  align-items: center;
  color: #e7ece9;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px 1fr auto;
  list-style: none;
}

.chessora-leaderboard span {
  color: var(--home-muted);
}

.chessora-leaderboard em {
  color: #d9c176;
  font-style: normal;
}

.chessora-player-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-player-strip article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 14px 8px;
}

.chessora-player-strip span {
  align-items: center;
  background: linear-gradient(145deg, #dfc09b, #7a4a25);
  border-radius: 50%;
  color: #171008;
  display: flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.chessora-player-strip strong {
  color: #fff;
  font-size: 0.85rem;
}

.chessora-player-strip small {
  color: var(--home-gold);
  font-weight: 900;
}

.chessora-stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 16px;
}

.chessora-stat-strip div {
  border-left: 1px solid var(--home-line);
  display: grid;
  gap: 4px;
  justify-items: center;
}

.chessora-stat-strip div:first-child {
  border-left: 0;
}

.chessora-stat-strip strong {
  color: var(--home-gold);
  font-size: 1.35rem;
}

.chessora-stat-strip span {
  color: var(--home-muted);
  font-size: 0.82rem;
}

.chessora-challenge-card,
.chessora-tournament-card,
.chessora-news-list article {
  display: grid;
  gap: 12px;
}

.chessora-challenge-card {
  grid-template-columns: 142px 1fr;
}

.chessora-puzzle-board {
  border-radius: 7px;
  width: 142px;
}

.chessora-challenge-card > div:last-child {
  align-content: center;
  display: grid;
  gap: 8px;
}

.chessora-challenge-card strong,
.chessora-tournament-card strong,
.chessora-news-list strong {
  color: #fff;
}

.chessora-challenge-card span,
.chessora-challenge-card small,
.chessora-tournament-card small,
.chessora-news-list span {
  color: var(--home-muted);
}

.chessora-challenge-card a,
.chessora-tournament-card a {
  background: var(--home-gold);
  color: #171008;
}

.chessora-tournament-card {
  align-items: center;
  grid-template-columns: 70px 1fr auto;
}

.chessora-tournament-card > span {
  align-items: center;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.24), rgba(101, 54, 156, 0.14));
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 50%;
  color: var(--home-gold);
  display: flex;
  font-size: 2rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.chessora-tournament-card div {
  display: grid;
  gap: 4px;
}

.chessora-news-list {
  display: grid;
  gap: 12px;
}

.chessora-news-list article {
  grid-template-columns: 72px 1fr;
}

.chessora-news-list img {
  background: #080f11;
  border-radius: 7px;
  filter: sepia(1) saturate(1.8) hue-rotate(350deg);
  height: 58px;
  object-fit: contain;
  padding: 8px;
  width: 72px;
}

.chessora-news-list div {
  display: grid;
  gap: 4px;
}

@media (max-width: 1180px) {
  .chessora-home {
    grid-template-columns: 1fr;
  }

  .chessora-home-sidebar {
    display: none;
  }

  .chessora-home-content {
    grid-template-columns: 1fr;
  }

  .chessora-home-topbar {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
    padding-top: 12px;
  }
}

@media (max-width: 760px) {
  .chessora-home-topbar nav,
  .chessora-home-tools {
    flex-wrap: wrap;
  }

  .chessora-home-tools label {
    width: 100%;
  }

  .chessora-home-hero,
  .chessora-play-grid,
  .chessora-home-lower,
  .chessora-player-strip,
  .chessora-stat-strip,
  .chessora-challenge-card,
  .chessora-tournament-card {
    grid-template-columns: 1fr;
  }

  .chessora-stat-strip div {
    border-left: 0;
    border-top: 1px solid var(--home-line);
    padding-top: 10px;
  }

  .chessora-stat-strip div:first-child {
    border-top: 0;
  }
}

.chessora-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chessora-tabs a,
.chessora-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--chessora-line);
  border-radius: 7px;
  color: var(--chessora-ink);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  text-decoration: none;
}

.chessora-tabs a.is-active {
  background: rgba(217, 164, 65, 0.14);
  border-color: rgba(217, 164, 65, 0.44);
  color: #f8d985;
}

.chessora-button-primary {
  background: linear-gradient(180deg, #d9a441, #a97925);
  border-color: rgba(217, 164, 65, 0.72);
  color: #101614;
  box-shadow: 0 10px 22px rgba(217, 164, 65, 0.16);
}

.chessora-button-danger {
  border-color: #e0b8b4;
  color: var(--chessora-red);
}

.chessora-hero,
.chessora-panel,
.chessora-card,
.chessora-table,
.chessora-profile-head {
  background: var(--chessora-panel);
  border: 1px solid var(--chessora-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(24, 33, 31, 0.08);
}

.chessora-hero {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
}

.chessora-hero h1,
.chessora-page-head h1,
.chessora-profile-head h1 {
  font-size: clamp(2rem, 5vw, 4.25rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.chessora-hero p,
.chessora-card p,
.chessora-panel p,
.chessora-profile-head p,
.chessora-muted {
  color: var(--chessora-muted);
}

.chessora-kicker {
  color: var(--chessora-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.chessora-actions,
.chessora-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chessora-mini-board,
.chessora-board {
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  overflow: hidden;
}

.chessora-mini-board {
  border: 10px solid #29332f;
  border-radius: 8px;
  transform: rotate(2deg);
}

.chessora-mini-board span,
.chessora-square {
  align-items: center;
  display: flex;
  justify-content: center;
}

.chessora-mini-board .is-light,
.chessora-square.is-light {
  background: #ead8b8 url("../images/board/wood/square-light.gif") center / cover;
}

.chessora-mini-board .is-dark,
.chessora-square.is-dark {
  background: #8b5f3a url("../images/board/wood/square-dark.gif") center / cover;
}

.chessora-grid {
  display: grid;
  gap: 16px;
}

.chessora-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chessora-card,
.chessora-panel {
  padding: 18px;
}

.chessora-card h2,
.chessora-panel h2 {
  font-size: 1.25rem;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.chessora-card a {
  color: var(--chessora-green-dark);
  font-weight: 800;
}

.chessora-split,
.chessora-board-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 640px) minmax(320px, 0.42fr);
  justify-content: center;
}

.chessora-create-dashboard {
  background: #101815;
  border: 1px solid #26352f;
  border-radius: 8px;
  color: #eef2ee;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.chessora-create-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.chessora-create-head h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin: 0;
}

.chessora-create-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-create-card {
  background: #17231f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.chessora-create-card div,
.chessora-live-strip {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.chessora-create-card strong,
.chessora-live-strip strong {
  color: #fff;
}

.chessora-create-card span {
  background: rgba(217, 164, 65, 0.16);
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 6px;
  color: #f1d08d;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 8px;
}

.chessora-create-card p,
.chessora-live-strip span {
  color: #aab4b0;
}

.chessora-create-card p {
  margin: 0;
  min-height: 44px;
}

.chessora-live-strip {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}

.chessora-live-strip div {
  display: grid;
  gap: 3px;
}

.chessora-live-strip strong {
  font-size: 1.4rem;
}

.chessora-dashboard-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.chessora-active-games li {
  grid-template-columns: 1fr auto;
}

.chessora-active-games span,
.chessora-active-games small {
  color: var(--chessora-muted);
}

.chessora-active-games a {
  color: var(--chessora-green-dark);
  font-weight: 800;
  grid-row: span 3;
  justify-self: end;
  text-decoration: none;
}

.chessora-setup-list {
  display: grid;
  gap: 10px;
}

.chessora-setup-list div {
  align-items: center;
  background: var(--chessora-soft);
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.chessora-setup-list span {
  color: var(--chessora-muted);
}

.chessora-rating-list,
.chessora-list,
.chessora-list-panels {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.chessora-rating-list div,
.chessora-list li {
  align-items: center;
  background: var(--chessora-soft);
  border-radius: 7px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto auto;
  list-style: none;
  padding: 12px;
}

.chessora-list li {
  align-items: start;
  grid-template-columns: 1fr;
}

.chessora-list span,
.chessora-stat span,
.chessora-stat small {
  color: var(--chessora-muted);
}

.chessora-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-top: 8px;
}

.chessora-page-head,
.chessora-profile-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.chessora-profile-head {
  justify-content: flex-start;
  padding: 24px;
}

.chessora-avatar {
  align-items: center;
  background: var(--chessora-green-dark);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: 0 0 84px;
  font-size: 2.4rem;
  font-weight: 900;
  height: 84px;
  justify-content: center;
}

.chessora-table {
  display: grid;
  overflow: hidden;
}

.chessora-table-row {
  align-items: center;
  border-top: 1px solid var(--chessora-line);
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 0.6fr 1fr 0.8fr 0.8fr auto;
  padding: 12px 14px;
}

.chessora-table-row:first-child {
  border-top: 0;
}

.chessora-table-head {
  background: var(--chessora-soft);
  color: var(--chessora-muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chessora-challenges-page {
  background: #07100e;
  border: 1px solid rgba(214, 167, 72, 0.16);
  color: #f4f6f2;
  margin-top: 18px;
  max-width: 1260px;
}

.chessora-challenges-page .chessora-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.chessora-challenges-page .chessora-tabs a {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e7ece9;
}

.chessora-challenges-page .chessora-tabs a.is-active {
  background: rgba(217, 164, 65, 0.16);
  border-color: rgba(217, 164, 65, 0.46);
  color: #f8d985;
}

.chessora-challenges-page .chessora-page-head {
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.12), rgba(61, 124, 74, 0.05)),
    #0b1411;
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
}

.chessora-challenges-page .chessora-page-head h1 {
  color: #fff7dd;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

.chessora-challenges-page .chessora-kicker {
  color: #75d66e;
}

.chessora-lobby-tabs {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 8px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-self: start;
  padding: 6px;
}

.chessora-lobby-tabs button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #c7d0cc;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
}

.chessora-lobby-tabs button:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff7dd;
}

.chessora-lobby-tabs button.is-active {
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.24), rgba(217, 164, 65, 0.1));
  border-color: rgba(217, 164, 65, 0.44);
  color: #fff7dd;
}

.chessora-lobby-tabs span {
  align-items: center;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 999px;
  color: #f8d985;
  display: inline-flex;
  font-size: 0.72rem;
  justify-content: center;
  min-width: 24px;
  padding: 2px 7px;
}

.chessora-lobby-tabs button.is-active span {
  background: rgba(9, 14, 13, 0.55);
  color: #f9d883;
}

.chessora-lobby-table {
  background: #0b1411;
  border-color: rgba(214, 167, 72, 0.18);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.chessora-lobby-table .chessora-table-row {
  border-color: rgba(255, 255, 255, 0.08);
  color: #dce4df;
  min-height: 76px;
}

.chessora-lobby-table[data-lobby-panel="challenges"] .chessora-table-row {
  grid-template-columns: minmax(190px, 1.25fr) 0.55fr minmax(120px, 0.8fr) 0.55fr minmax(100px, 0.7fr) 116px;
}

.chessora-lobby-table[data-lobby-panel="games"] .chessora-table-row {
  grid-template-columns: minmax(190px, 1.2fr) minmax(190px, 1.2fr) minmax(110px, 0.75fr) 0.55fr 0.45fr 116px;
}

.chessora-lobby-table[data-lobby-panel="players"] .chessora-table-row {
  grid-template-columns: minmax(220px, 1.35fr) 0.55fr minmax(120px, 0.8fr) 100px 116px 1px;
}

.chessora-lobby-table[data-lobby-panel="live-leaderboard"] .chessora-table-row,
.chessora-lobby-table[data-lobby-panel="daily-leaderboard"] .chessora-table-row {
  grid-template-columns: 72px minmax(220px, 1.4fr) minmax(110px, 0.75fr) 0.55fr minmax(110px, 0.7fr) 116px;
}

.chessora-lobby-leaderboards {
  display: grid;
  gap: 16px;
}

.chessora-leaderboard-pool {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.chessora-leaderboard-pool > header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.chessora-leaderboard-pool h2 {
  color: #fff7dd;
  font-size: 1.05rem;
  margin: 0;
}

.chessora-leaderboard-pool > header span {
  color: #75d66e;
  font-size: 0.85rem;
  font-weight: 700;
}

.chessora-lobby-subtable {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.chessora-lobby-subtable .chessora-table-row {
  grid-template-columns: 72px minmax(220px, 1.5fr) 0.55fr minmax(120px, 0.7fr) 116px;
}

.chessora-tournaments-page {
  background: #07100e;
  border: 1px solid rgba(214, 167, 72, 0.16);
  color: #f5f0dc;
  margin-top: 18px;
  max-width: 1260px;
}

.chessora-tournaments-page .chessora-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.chessora-tournaments-page .chessora-tabs a {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e7ece9;
}

.chessora-tournaments-page .chessora-tabs a.is-active {
  background: rgba(217, 164, 65, 0.16);
  border-color: rgba(217, 164, 65, 0.46);
  color: #f8d985;
}

.chessora-tournament-hero {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(217, 164, 65, 0.16), rgba(7, 16, 14, 0.92) 42%, rgba(12, 24, 20, 0.98)),
    radial-gradient(circle at 14% 12%, rgba(249, 216, 131, 0.18), transparent 36%);
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 8px;
  padding: 28px;
}

.chessora-tournament-hero h1 {
  color: #fff7dd;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.chessora-tournament-hero .chessora-kicker {
  color: #f9d883;
}

.chessora-tournament-hero p {
  color: #cbd5cf;
  margin: 0;
}

.chessora-guide-panel {
  background: #fffdf7;
  border: 1px solid rgba(174, 126, 38, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(93, 64, 20, 0.08);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.chessora-guide-panel header {
  display: grid;
  gap: 6px;
}

.chessora-guide-panel header span {
  color: #a06a14;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chessora-guide-panel h2,
.chessora-guide-panel p {
  margin: 0;
}

.chessora-guide-panel h2 {
  color: #20221d;
}

.chessora-guide-panel header p,
.chessora-guide-panel article p {
  color: #58615b;
  line-height: 1.5;
}

.chessora-guide-panel > div {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-guide-panel article {
  background: #183229;
  border: 1px solid rgba(14, 54, 43, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 49, 39, 0.1);
  display: grid;
  gap: 7px;
  padding: 13px;
}

.chessora-guide-panel article strong {
  color: #ffe49a;
}

.chessora-guide-panel article p {
  color: #eef7f1;
}

.chessora-tournament-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 340px) 1fr;
}

.chessora-tournament-create,
.chessora-tournament-list,
.chessora-tournament-detail,
.chessora-team-league-panel {
  background: #0b1411;
  border-color: rgba(214, 167, 72, 0.18);
}

.chessora-tournament-create > p {
  color: #aeb8b2;
  margin-top: -4px;
}

.chessora-tournament-create form,
.chessora-add-player {
  display: grid;
  gap: 12px;
}

.chessora-roster-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chessora-roster-list span {
  background: rgba(217, 164, 65, 0.12);
  border: 1px solid rgba(217, 164, 65, 0.26);
  border-radius: 999px;
  color: #fff7dd;
  font-weight: 800;
  padding: 7px 11px;
}

.chessora-roster-list p {
  color: #aeb8b2;
  margin: 0;
}

.chessora-tournament-create label,
.chessora-add-player label {
  color: #aeb8b2;
  display: grid;
  font-weight: 700;
  gap: 6px;
}

.chessora-tournament-create input,
.chessora-tournament-create select,
.chessora-add-player select,
.chessora-tournament-match-table select {
  background: #121b18;
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 6px;
  color: #fff7dd;
  min-height: 42px;
  padding: 8px 10px;
}

.chessora-form-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.chessora-check {
  align-items: center;
  display: flex !important;
  gap: 8px !important;
}

.chessora-tournament-main {
  display: grid;
  gap: 18px;
}

.chessora-tournament-list header,
.chessora-tournament-detail > header,
.chessora-team-league-panel header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.chessora-tournament-detail > header {
  align-items: flex-start;
  flex-wrap: wrap;
}

.chessora-tournament-list h2,
.chessora-tournament-detail h2,
.chessora-team-league-panel h2 {
  margin: 0;
}

.chessora-tournament-list header span,
.chessora-team-league-panel header span {
  color: #75d66e;
  font-weight: 700;
}

.chessora-tournament-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #dce4df;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr) 90px;
  margin-top: 10px;
  padding: 14px;
  text-decoration: none;
}

.chessora-tournament-row:hover,
.chessora-tournament-row.is-active {
  background: rgba(217, 164, 65, 0.09);
  border-color: rgba(217, 164, 65, 0.3);
}

.chessora-tournament-row strong {
  color: #fff7dd;
}

.chessora-tournament-row span {
  color: #aeb8b2;
}

.chessora-tournament-row mark {
  justify-self: end;
}

.chessora-tournament-columns {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
}

.chessora-tournament-detail h3 {
  color: #fff7dd;
  margin: 18px 0 10px;
}

.chessora-event-room {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.6fr);
  margin: 18px 0;
}

.chessora-event-info,
.chessora-event-stage {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  padding: 16px;
}

.chessora-event-info {
  display: grid;
  gap: 10px;
}

.chessora-event-info strong {
  color: #fff7dd;
}

.chessora-event-info span,
.chessora-event-info small {
  color: #f9d883;
  font-weight: 800;
}

.chessora-event-info p {
  color: #b9c2bc;
  margin: 0;
}

.chessora-event-stage {
  min-height: 170px;
}

.chessora-event-stage-head {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.chessora-event-stage-head span {
  color: #aeb8b2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chessora-event-stage-head strong {
  color: #75d66e;
}

.chessora-event-roster-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
}

.chessora-event-roster-strip span {
  background: rgba(217, 164, 65, 0.12);
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 999px;
  color: #fff7dd;
  font-weight: 800;
  padding: 8px 12px;
}

.chessora-event-tabs {
  margin: 14px 0;
}

.chessora-tournament-table .chessora-table-row {
  grid-template-columns: 46px minmax(160px, 1fr) repeat(6, minmax(44px, 0.35fr));
}

.chessora-tournament-match-table .chessora-table-row {
  grid-template-columns: 70px 120px minmax(140px, 1fr) minmax(140px, 1fr) 100px minmax(220px, 0.8fr);
}

.chessora-tournament-match-table form {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.chessora-bracket-board {
  background:
    linear-gradient(135deg, rgba(32, 110, 80, 0.18), rgba(23, 58, 104, 0.16)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 12px 0 18px;
  overflow-x: auto;
  padding: 18px;
}

.chessora-bracket-lane > header {
  color: #fff7dd;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.chessora-bracket-rounds {
  display: grid;
  gap: 18px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  min-width: max-content;
}

.chessora-bracket-round {
  display: grid;
  gap: 14px;
}

.chessora-bracket-round > strong {
  color: #aeb8b2;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chessora-bracket-match {
  background: rgba(8, 18, 15, 0.82);
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 6px;
  padding: 8px;
  position: relative;
}

.chessora-bracket-match::after {
  background: rgba(214, 167, 72, 0.26);
  content: "";
  height: 1px;
  position: absolute;
  right: -18px;
  top: 50%;
  width: 18px;
}

.chessora-bracket-round:last-child .chessora-bracket-match::after {
  display: none;
}

.chessora-bracket-player {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border-left: 4px solid rgba(174, 184, 178, 0.28);
  border-radius: 6px;
  color: #e8eee9;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 36px;
  padding: 7px 9px;
}

.chessora-bracket-player.is-winner {
  border-left-color: #d9a441;
  color: #fff7dd;
}

.chessora-bracket-player b {
  color: #f9d883;
}

.chessora-bracket-match a {
  color: #f9d883;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.chessora-admin-control {
  background: #07100e;
  color: #e8eee9;
  padding: 22px;
}

.chessora-admin-columns {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  margin: 20px 0;
}

.chessora-admin-control .chessora-card {
  background: #0b1713;
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  color: #dfe8e2;
}

.chessora-card-head {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.chessora-card-head h2 {
  color: #fff7dd;
  margin: 0;
}

.chessora-card-head span {
  color: #75d66e;
  font-weight: 800;
}

.chessora-admin-user-table .chessora-table-row {
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.2fr) 90px 100px;
}

.chessora-admin-chat-table .chessora-table-row {
  grid-template-columns: 120px 160px minmax(260px, 1fr) 110px;
}

.chessora-home-redesign {
  --home2-bg: #07100e;
  --home2-panel: #101916;
  --home2-panel-2: #17211d;
  --home2-line: rgba(217, 164, 65, 0.18);
  --home2-muted: #aeb8b2;
  --home2-gold: #d9a441;
  background:
    linear-gradient(180deg, rgba(217, 164, 65, 0.055), transparent 290px),
    var(--home2-bg);
  color: #eef2ee;
  display: block;
  max-width: 100%;
  min-height: 100vh;
  padding: 0;
}

.chessora-home2-top {
  align-items: center;
  background: rgba(7, 16, 14, 0.95);
  border-bottom: 1px solid var(--home2-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  min-height: 86px;
  padding: 12px clamp(18px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.chessora-home2-logo {
  display: block;
  width: 220px;
}

.chessora-home2-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.chessora-home2-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: center;
}

.chessora-home2-nav a {
  color: #e7ece9;
  font-weight: 900;
  padding: 12px 0;
  position: relative;
}

.chessora-home2-nav a.is-active::after,
.chessora-home2-nav a:hover::after,
.chessora-home2-nav a:focus::after {
  background: var(--home2-gold);
  border-radius: 999px;
  bottom: 3px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.chessora-home2-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.chessora-home2-actions label {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  min-height: 42px;
  padding: 0 12px;
  width: 270px;
}

.chessora-home2-actions input {
  background: transparent;
  border: 0;
  color: #eef2ee;
  min-width: 0;
  outline: 0;
}

.chessora-home2-user {
  align-items: center;
  color: #fff7dd;
  display: flex;
  font-weight: 900;
  gap: 9px;
}

.chessora-home2-user span {
  align-items: center;
  background: linear-gradient(145deg, #e7c16d, #8a5a20);
  border-radius: 8px;
  color: #100d08;
  display: flex;
  font-size: 0.78rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.chessora-home2-shell {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1360px;
  padding: 42px clamp(18px, 4vw, 52px) 44px;
}

.chessora-home2-hero {
  align-items: stretch;
  background:
    linear-gradient(110deg, rgba(16, 25, 22, 0.98), rgba(16, 25, 22, 0.8) 44%, rgba(35, 38, 22, 0.76)),
    #101916;
  border: 1px solid var(--home2-line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  min-height: 500px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
}

.chessora-home2-copy {
  align-content: center;
  display: grid;
  gap: 18px;
}

.chessora-home2-hero-logo {
  display: block;
  height: auto;
  max-width: 320px;
  width: min(42vw, 320px);
}

.chessora-home2-copy p {
  color: var(--home2-gold);
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home2-copy h1 {
  color: #fff7dd;
  font-size: clamp(2.7rem, 5.4vw, 5.8rem);
  line-height: 0.95;
  margin: 0;
  max-width: 780px;
}

.chessora-home2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chessora-home2-hero-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

.chessora-home2-hero-cards a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(217, 164, 65, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 98px;
  padding: 16px;
}

.chessora-home2-hero-cards strong {
  color: #fff7dd;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.06;
}

.chessora-home2-hero-cards span {
  color: var(--home2-muted);
  font-weight: 800;
}

.chessora-home2-board-card {
  align-content: end;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
}

.chessora-home2-board {
  aspect-ratio: 1;
  background: #173629;
  border: 10px solid #204b38;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  max-width: min(520px, 100%);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.chessora-home2-board span.is-light {
  background: #efd8ad url("../images/board/wood/square-light.gif") center / cover;
}

.chessora-home2-board span.is-dark {
  background: #9b632c url("../images/board/wood/square-dark.gif") center / cover;
}

.chessora-home2-board img {
  filter: drop-shadow(0 8px 7px rgba(0, 0, 0, 0.62));
  position: absolute;
  width: 12.5%;
}

.chessora-home2-live {
  align-items: center;
  background: rgba(7, 16, 14, 0.86);
  border: 1px solid var(--home2-line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  max-width: min(520px, 100%);
  padding: 14px 16px;
  width: 100%;
}

.chessora-home2-live strong {
  color: #fff7dd;
}

.chessora-home2-live span,
.chessora-home2-panel small,
.chessora-home2-news span {
  color: var(--home2-muted);
}

.chessora-home2-redesign {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.chessora-home2-playbook,
.chessora-home2-pulse,
.chessora-home2-lanes a {
  background:
    linear-gradient(145deg, rgba(217, 164, 65, 0.075), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--home2-line);
  border-radius: 8px;
}

.chessora-home2-playbook {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.chessora-home2-playbook header {
  display: grid;
  gap: 8px;
  max-width: 880px;
}

.chessora-home2-playbook p,
.chessora-home2-lanes b {
  color: #75d66e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home2-playbook h2 {
  color: #fff7dd;
  font-size: clamp(1.8rem, 3.3vw, 3.7rem);
  line-height: 1.02;
  margin: 0;
}

.chessora-home2-mode-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chessora-home2-mode-grid a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 164, 65, 0.15);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
}

.chessora-home2-mode-grid a:hover,
.chessora-home2-mode-grid a:focus,
.chessora-home2-lanes a:hover,
.chessora-home2-lanes a:focus {
  border-color: rgba(217, 164, 65, 0.5);
  transform: translateY(-1px);
}

.chessora-home2-mode-grid span {
  color: var(--home2-gold);
  font-size: 1.65rem;
  font-weight: 900;
}

.chessora-home2-mode-grid strong,
.chessora-home2-lanes strong {
  color: #fff7dd;
  font-size: 1.12rem;
}

.chessora-home2-mode-grid small,
.chessora-home2-lanes span {
  color: var(--home2-muted);
  line-height: 1.45;
}

.chessora-home2-pulse {
  align-content: stretch;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.chessora-home2-pulse div {
  align-content: center;
  background: rgba(7, 16, 14, 0.58);
  border: 1px solid rgba(217, 164, 65, 0.14);
  border-radius: 8px;
  display: grid;
  min-height: 98px;
  padding: 16px;
}

.chessora-home2-pulse strong {
  color: var(--home2-gold);
  font-size: 2.25rem;
  line-height: 1;
}

.chessora-home2-pulse span {
  color: var(--home2-muted);
  font-weight: 900;
}

.chessora-home2-lanes {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-home2-lanes a {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
}

.chessora-home2-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.chessora-home2-strip div,
.chessora-home2-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--home2-line);
  border-radius: 8px;
}

.chessora-home2-strip div {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  display: grid;
  gap: 5px;
  min-height: 102px;
  padding: 18px 20px;
}

.chessora-home2-strip strong {
  color: var(--home2-gold);
  font-size: 2rem;
}

.chessora-home2-strip span {
  color: var(--home2-muted);
  font-weight: 800;
}

.chessora-home2-grid,
.chessora-home2-bottom {
  display: grid;
  gap: 18px;
}

.chessora-home2-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-home2-bottom {
  grid-template-columns: 0.75fr 1.25fr;
}

.chessora-home2-panel {
  align-content: start;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
}

.chessora-home2-play {
  grid-column: 1 / -1;
  min-height: 0;
}

.chessora-home2-panel header {
  display: grid;
  gap: 6px;
}

.chessora-home2-panel header p {
  color: #75d66e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home2-panel h2 {
  color: #fff7dd;
  font-size: clamp(1.35rem, 1.65vw, 1.85rem);
  line-height: 1.12;
  margin: 0;
}

.chessora-home2-play h2 {
  font-size: clamp(1.75rem, 2.8vw, 3.1rem);
}

.chessora-home2-presets {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.chessora-home2-presets a,
.chessora-home2-event,
.chessora-home2-feature-list span,
.chessora-home2-rankings li,
.chessora-home2-news a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 164, 65, 0.14);
  border-radius: 8px;
}

.chessora-home2-presets a {
  align-content: space-between;
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 14px;
}

.chessora-home2-presets strong,
.chessora-home2-event strong,
.chessora-home2-rankings strong,
.chessora-home2-news strong {
  color: #fff7dd;
  overflow-wrap: anywhere;
}

.chessora-home2-presets span {
  color: var(--home2-gold);
  font-size: 1.35rem;
  font-weight: 900;
}

.chessora-home2-event {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding: 14px;
}

.chessora-home2-event > span {
  align-items: center;
  background: rgba(217, 164, 65, 0.16);
  border: 1px solid rgba(217, 164, 65, 0.26);
  border-radius: 8px;
  color: var(--home2-gold);
  display: flex;
  font-size: 2rem;
  height: 54px;
  justify-content: center;
}

.chessora-home2-event div,
.chessora-home2-news a {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chessora-home2-event a {
  align-self: center;
  background: rgba(217, 164, 65, 0.15);
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 999px;
  justify-self: start;
  padding: 7px 11px;
}

.chessora-home2-stack,
.chessora-home2-open {
  display: grid;
  gap: 10px;
}

.chessora-home2-event a,
.chessora-home2-inline {
  color: var(--home2-gold);
  font-weight: 900;
}

.chessora-home2-feature-list {
  display: grid;
  gap: 10px;
}

.chessora-home2-feature-list span {
  color: #dfe8e2;
  font-weight: 800;
  line-height: 1.35;
  padding: 12px;
}

.chessora-home2-rankings {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.chessora-home2-rankings li {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px 1fr auto;
  list-style: none;
  min-height: 58px;
  padding: 12px;
}

.chessora-home2-rankings b {
  color: var(--home2-gold);
}

.chessora-home2-rankings span {
  color: var(--home2-muted);
}

.chessora-home2-news {
  display: grid;
  gap: 10px;
}

.chessora-home2-news a,
.chessora-home2-open a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 164, 65, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.chessora-home2-open {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-home2-open a {
  min-height: 76px;
}

.chessora-home2-open strong {
  color: #fff7dd;
}

.chessora-home2-open span {
  color: var(--home2-muted);
}

@media (max-width: 1180px) {
  .chessora-home2-top,
  .chessora-home2-hero,
  .chessora-home2-redesign,
  .chessora-home2-grid,
  .chessora-home2-lanes,
  .chessora-home2-bottom {
    grid-template-columns: 1fr;
  }

  .chessora-home2-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .chessora-home2-actions {
    flex-wrap: wrap;
  }

  .chessora-home2-actions label {
    width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .chessora-home2-strip,
  .chessora-home2-presets,
  .chessora-home2-hero-cards,
  .chessora-home2-mode-grid,
  .chessora-home2-open {
    grid-template-columns: 1fr;
  }

  .chessora-home2-hero {
    min-height: 0;
    padding: 22px;
  }

  .chessora-home2-copy h1 {
    font-size: 3rem;
  }
}

.chessora-empty-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #aeb8b2;
  padding: 16px;
}

@media (max-width: 980px) {
  .chessora-tournament-layout,
  .chessora-tournament-columns,
  .chessora-event-room {
    grid-template-columns: 1fr;
  }
}

.chessora-lobby-table[data-lobby-panel="team-leaderboard"] .chessora-table-row {
  grid-template-columns: 72px minmax(220px, 1.25fr) 0.55fr 0.55fr minmax(220px, 1.3fr) 116px;
}

.chessora-lobby-table .chessora-table-row > span:last-child {
  justify-self: end;
}

.chessora-lobby-table .chessora-table-row > span:nth-last-child(2) {
  justify-self: start;
}

.chessora-lobby-table[data-lobby-panel="games"] .chessora-table-row > span:nth-child(5),
.chessora-lobby-table[data-lobby-panel="games"] .chessora-table-head > span:nth-child(5),
.chessora-lobby-table[data-lobby-panel="live-leaderboard"] .chessora-table-row > span:nth-child(1),
.chessora-lobby-table[data-lobby-panel="daily-leaderboard"] .chessora-table-row > span:nth-child(1),
.chessora-lobby-table[data-lobby-panel="team-leaderboard"] .chessora-table-row > span:nth-child(1) {
  justify-self: center;
}

.chessora-lobby-table .chessora-table-head > span {
  align-self: center;
}

.chessora-lobby-table .chessora-table-row:not(.chessora-table-head) {
  background: rgba(255, 255, 255, 0.035);
}

.chessora-lobby-table .chessora-table-row:not(.chessora-table-head):hover {
  background: rgba(217, 164, 65, 0.08);
}

.chessora-lobby-table .chessora-table-head {
  background: rgba(255, 255, 255, 0.055);
  color: #aeb8b2;
}

.chessora-lobby-table strong {
  color: #fff7dd;
}

.chessora-lobby-player {
  display: grid;
  gap: 3px;
}

.chessora-lobby-player small {
  color: #9aa8a1;
}

.chessora-lobby-table mark {
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 999px;
  color: #f8d985;
  font-weight: 900;
  padding: 5px 9px;
}

.chessora-lobby-table .chessora-button {
  justify-content: center;
  min-width: 86px;
}

.chessora-board-area {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0) 42%),
    var(--chessora-board-edge);
  border: 1px solid #202a27;
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(24, 33, 31, 0.22);
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 16px;
}

.chessora-board {
  background:
    linear-gradient(145deg, rgba(255, 232, 190, 0.08), rgba(0, 0, 0, 0) 44%),
    #2a2118;
  border: clamp(8px, 1.4vw, 14px) solid var(--chessora-board-inner);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.2);
  container-type: inline-size;
  justify-self: center;
  min-width: 0;
  padding: clamp(6px, 1vw, 10px);
  width: min(100%, 560px, calc(100vh - 220px));
}

.chessora-square {
  aspect-ratio: 1;
  border: 0;
  color: #18211f;
  cursor: pointer;
  line-height: 1;
  min-width: 0;
  min-height: 0;
  outline: 1px solid rgba(82, 45, 17, 0.11);
  padding: 0;
  position: relative;
  transition: box-shadow 0.12s ease, filter 0.12s ease, transform 0.12s ease;
}

.chessora-square.is-light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, rgba(132, 81, 31, 0.08), rgba(255, 255, 255, 0.16), rgba(132, 81, 31, 0.06)),
    var(--chessora-board-light);
}

.chessora-square.is-dark {
  background:
    linear-gradient(135deg, rgba(255, 221, 160, 0.18), rgba(0, 0, 0, 0.08) 58%),
    linear-gradient(90deg, rgba(92, 48, 17, 0.12), rgba(255, 205, 124, 0.1), rgba(92, 48, 17, 0.16)),
    var(--chessora-board-dark);
}

.chessora-square:hover {
  filter: brightness(1.04);
}

.chessora-square.is-selected {
  box-shadow:
    inset 0 0 0 4px rgba(217, 164, 65, 0.92),
    inset 0 0 0 999px rgba(217, 164, 65, 0.08);
  z-index: 2;
}

.chessora-square.is-target::after,
.chessora-square.is-capture::after {
  border-radius: 50%;
  content: "";
  height: 24%;
  left: 38%;
  position: absolute;
  top: 38%;
  width: 24%;
}

.chessora-square.is-target::after {
  background: rgba(31, 42, 36, 0.3);
}

.chessora-square.is-capture::after {
  border: 4px solid rgba(159, 59, 54, 0.7);
  height: 76%;
  left: 12%;
  top: 12%;
  width: 76%;
}

.chessora-piece {
  display: flex;
  height: 86%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  width: 86%;
}

.chessora-piece.is-white {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.72))
    drop-shadow(0 4px 4px rgba(36, 23, 12, 0.38));
}

.chessora-piece.is-black {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.22))
    drop-shadow(0 5px 5px rgba(20, 15, 10, 0.56));
}

.chessora-square.is-draggable {
  cursor: grab;
}

.chessora-piece[draggable="true"] {
  cursor: grab;
  pointer-events: auto;
}

.chessora-piece.is-dragging {
  cursor: grabbing;
  opacity: 0.72;
  transform: scale(1.04);
}

.chessora-player-bar {
  align-items: center;
  background: #0d1714;
  border-radius: 7px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  width: min(100%, 560px, calc(100vh - 220px));
}

.chessora-player-bar strong,
.chessora-player-bar span {
  color: #fff;
}

.chessora-game-side {
  display: grid;
  gap: 14px;
}

.chessora-moves {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.chessora-moves li {
  background: var(--chessora-soft);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 32px 1fr 1fr;
  list-style: none;
  padding: 10px;
}

.chessora-moves li.is-empty {
  color: var(--chessora-muted);
  display: block;
}

.chessora-moves li.chessora-move-opening {
  align-items: center;
  background: rgba(226, 172, 52, 0.1);
  border: 1px solid rgba(226, 172, 52, 0.26);
  grid-template-columns: auto minmax(0, 1fr);
}

.chessora-move-opening > span {
  color: #e2ac34;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-move-opening > strong {
  color: #fff7df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chessora-share {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.chessora-share span {
  color: var(--chessora-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chessora-share input {
  border: 1px solid var(--chessora-line);
  border-radius: 7px;
  color: var(--chessora-muted);
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.chessora-promotion {
  align-items: center;
  background: rgba(17, 24, 22, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 10000;
}

.chessora-promotion[hidden] {
  display: none;
}

.chessora-promotion-box {
  background: #fff;
  border: 1px solid var(--chessora-line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 20px;
  width: min(92vw, 380px);
}

.chessora-promotion-box h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.chessora-promotion-box div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-promotion-box button {
  background: var(--chessora-green);
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  min-height: 44px;
  padding: 10px;
}

.chessora-game-room {
  --room-bg: #070b0d;
  --room-panel: #0d1214;
  --room-panel-2: #111819;
  --room-line: rgba(255, 255, 255, 0.08);
  --room-muted: #9ca7a3;
  --room-gold: #d6a748;
  --room-board-size: clamp(430px, min(52vw, calc(100vh - 285px)), 640px);
  background: var(--room-bg);
  color: #eef2ee;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(230px, 16vw) minmax(0, 1fr);
  margin: 0;
  max-width: none;
  min-height: calc(100vh - 64px);
  overflow-anchor: none;
  padding: 0;
  width: 100%;
}

.chessora-game-room .chessora-room-sidebar {
  background: linear-gradient(180deg, #0c1113, #070a0c);
  border-right: 1px solid var(--room-line);
  display: grid;
  gap: 10px;
  align-content: start;
  grid-auto-rows: max-content;
  min-height: inherit;
  padding: 10px 8px;
}

.chessora-room-brand {
  align-items: center;
  color: var(--room-gold);
  display: flex;
  gap: 8px;
  text-decoration: none;
}

.chessora-room-brand span {
  align-items: center;
  border: 1px solid rgba(214, 167, 72, 0.35);
  border-radius: 7px;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.chessora-room-brand strong {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.chessora-room-nav {
  display: none;
  gap: 6px;
  align-content: start;
}

.chessora-room-nav a {
  align-items: center;
  border-radius: 6px;
  color: #d6dcda;
  display: flex;
  gap: 10px;
  min-height: 34px;
  padding: 8px 10px;
  text-decoration: none;
}

.chessora-room-nav a.is-active,
.chessora-room-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chessora-room-nav span {
  color: var(--room-gold);
  width: 18px;
}

.chessora-premium {
  background: #121719;
  border: 1px solid var(--room-line);
  border-radius: 7px;
  display: none;
  gap: 8px;
  padding: 12px;
}

.chessora-premium strong {
  color: var(--room-gold);
}

.chessora-premium span {
  color: var(--room-muted);
  font-size: 0.82rem;
}

.chessora-premium button {
  background: var(--room-gold);
  border: 0;
  border-radius: 5px;
  color: #171008;
  font-weight: 800;
  min-height: 34px;
}

.chessora-setup-brief {
  display: grid;
  gap: 10px;
}

.chessora-setup-brief-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.12);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
}

.chessora-setup-brief-row span,
.chessora-setup-brief p,
.chessora-setup-rating-note span {
  color: var(--room-muted);
  font-size: 0.8rem;
}

.chessora-setup-brief .chessora-play-commitment {
  background: rgba(214, 167, 72, 0.09);
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 6px;
  color: #f8d985;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  padding: 9px 10px;
}

.chessora-setup-brief-row strong {
  color: #fff7dd;
}

.chessora-setup-rating-note {
  align-items: center;
  background: linear-gradient(135deg, rgba(214, 167, 72, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 6px;
  display: grid;
  gap: 2px;
  grid-template-columns: auto 1fr;
  padding: 10px;
}

.chessora-setup-rating-note strong {
  color: #f6d382;
  font-size: 1.35rem;
}

.chessora-setup-brief p {
  line-height: 1.45;
  margin: 0;
}

.chessora-open-matches {
  display: grid;
  gap: 10px;
}

.chessora-create-panel > .chessora-open-matches {
  display: none;
}

.chessora-lobby-table {
  margin: 0 6px 8px;
}

.chessora-open-match-list {
  display: grid;
  gap: 8px;
}

.chessora-open-match,
.chessora-open-match-empty {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(214, 167, 72, 0.12), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 7px;
  color: #e7ece9;
  display: grid;
  gap: 9px;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 9px 10px;
  text-decoration: none;
}

.chessora-open-match:hover,
.chessora-open-match:focus {
  border-color: rgba(214, 167, 72, 0.46);
  box-shadow: inset 0 0 0 1px rgba(214, 167, 72, 0.18);
}

.chessora-open-match-pulse {
  background: #73d765;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(115, 215, 101, 0.12);
  height: 8px;
  width: 8px;
}

.chessora-open-match strong,
.chessora-open-match-empty strong {
  color: #fff;
  display: block;
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chessora-open-match small,
.chessora-open-match-empty span {
  color: var(--room-muted);
  display: block;
  font-size: 0.75rem;
}

.chessora-open-match b {
  background: rgba(214, 167, 72, 0.16);
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 5px;
  color: #fff7dd;
  font-size: 0.82rem;
  padding: 5px 7px;
}

.chessora-open-match-empty {
  grid-template-columns: 1fr;
}

.chessora-create-section-head {
  align-items: center;
  border-top: 1px solid var(--room-line);
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  padding-top: 10px;
}

.chessora-create-section-head strong {
  color: #f4f6f2;
  font-size: 0.86rem;
}

.chessora-create-section-head span {
  color: #8fe076;
  font-size: 0.72rem;
  font-weight: 800;
}

.chessora-open-match-table {
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 7px;
  display: grid;
  overflow: hidden;
}

.chessora-open-match-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--room-line);
  color: #e7ece9;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1.4fr) .7fr .7fr .9fr auto;
  min-height: 52px;
  padding: 8px 9px;
  text-decoration: none;
}

.chessora-open-match-head {
  background: rgba(214, 167, 72, 0.1);
  color: #f8d985;
  font-size: 0.74rem;
  font-weight: 900;
  min-height: 36px;
  text-transform: uppercase;
}

.chessora-open-match-head:hover,
.chessora-open-match-head:focus {
  background: rgba(214, 167, 72, 0.1);
}

.chessora-open-match-row:first-child {
  border-top: 0;
}

.chessora-open-match-row:hover,
.chessora-open-match-row:focus {
  background: rgba(214, 167, 72, 0.1);
}

.chessora-open-match-player {
  min-width: 0;
}

.chessora-open-match-player strong,
.chessora-open-match-player small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chessora-open-match-player strong {
  color: #fff;
  font-size: 0.82rem;
}

.chessora-open-match-player small,
.chessora-open-match-row > span:not(.chessora-open-match-player) {
  color: var(--room-muted);
  font-size: 0.74rem;
}

.chessora-open-match-row b {
  background: rgba(214, 167, 72, 0.18);
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 5px;
  color: #fff7dd;
  font-size: 0.76rem;
  padding: 5px 7px;
}

.chessora-game-room .chessora-board-layout {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 284px;
  justify-content: stretch;
  min-width: 0;
  overflow: visible;
  padding: 4px 6px 8px;
}

.chessora-play-stage {
  border: 1px solid var(--room-line);
  border-radius: 7px;
  min-width: 0;
  overflow: hidden;
}

.chessora-match-bar {
  align-items: center;
  background: #0d1113;
  border-bottom: 1px solid var(--room-line);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  min-height: 46px;
  padding: 8px 12px;
}

.chessora-match-bar strong,
.chessora-panel-head h2 {
  color: #f4f6f2;
}

.chessora-match-bar span,
.chessora-game-meta small {
  color: var(--room-muted);
}

.chessora-match-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
}

.chessora-match-actions span {
  background: rgba(112, 184, 74, 0.12);
  border: 1px solid rgba(112, 184, 74, 0.3);
  border-radius: 999px;
  color: #9be07b;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 72px;
  padding: 5px 10px;
  text-align: center;
}

.chessora-match-actions span:not(.is-live) {
  background: rgba(214, 167, 72, 0.12);
  border-color: rgba(214, 167, 72, 0.32);
  color: #efc86d;
}

.chessora-board-exit-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 10px 12px 0;
}

.chessora-board-nav-link,
.chessora-board-nav-menu summary {
  align-items: center;
  background: rgba(214, 167, 72, 0.14);
  border: 1px solid rgba(214, 167, 72, 0.36);
  border-radius: 5px;
  color: #f5d47b;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.chessora-board-nav-link:hover,
.chessora-board-nav-link:focus,
.chessora-board-nav-menu summary:hover,
.chessora-board-nav-menu summary:focus {
  background: linear-gradient(180deg, #f6cf6b, #c88b2a);
  border-color: rgba(255, 231, 153, 0.72);
  color: #101510;
  outline: none;
}

.chessora-board-nav-menu {
  position: relative;
}

.chessora-board-nav-menu summary {
  list-style: none;
}

.chessora-board-nav-menu summary::-webkit-details-marker {
  display: none;
}

.chessora-board-nav-menu nav {
  background: #0b1110;
  border: 1px solid rgba(214, 167, 72, 0.36);
  border-radius: 7px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
}

.chessora-board-nav-menu:not([open]) nav {
  display: none;
}

.chessora-board-nav-menu nav a {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: #f5f0dc;
  font-weight: 800;
  padding: 9px 10px;
  text-decoration: none;
}

.chessora-board-nav-menu nav a:hover,
.chessora-board-nav-menu nav a:focus {
  background: rgba(214, 167, 72, 0.18);
  border-color: rgba(214, 167, 72, 0.42);
  color: #fff;
  outline: none;
}

.chessora-time-controls {
  display: flex;
  gap: 6px;
}

@media (max-width: 720px) {
  .chessora-match-bar {
    grid-template-columns: 1fr;
  }

  .chessora-match-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .chessora-match-actions span {
    min-width: 0;
  }

  .chessora-board-exit-links {
    justify-content: flex-start;
  }

  .chessora-board-nav-menu nav {
    left: 0;
    right: auto;
  }
}

.chessora-match-actions button,
.chessora-time-controls button,
.chessora-game-room .chessora-button,
.chessora-panel-tabs button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--room-line);
  border-radius: 5px;
  color: #e5eae7;
  font-weight: 700;
  min-height: 34px;
  padding: 7px 11px;
}

.chessora-time-controls button.is-active {
  background: rgba(214, 167, 72, 0.18);
  border-color: rgba(214, 167, 72, 0.42);
  color: #fff;
}

.chessora-game-room .chessora-board-area {
  background:
    radial-gradient(circle at 50% 8%, rgba(214, 167, 72, 0.08), transparent 26%),
    #090f0f;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: calc(var(--room-board-size) + 150px);
  overflow-anchor: none;
  padding: 8px 12px 10px;
}

.chessora-board-frame {
  display: grid;
  gap: 3px 6px;
  grid-template-columns: 18px var(--room-board-size);
  grid-template-rows: var(--room-board-size) 18px;
  position: relative;
}

.chessora-board-wrap {
  align-items: center;
  background: #17251f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  height: var(--room-board-size);
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  position: relative;
  width: var(--room-board-size);
}

.chessora-game-room .chessora-board {
  border: 0;
  border-radius: 4px;
  height: 100%;
  padding: 0;
  width: 100%;
}

.chessora-board-flip-corner {
  align-items: center;
  background: rgba(13, 18, 20, 0.92);
  border: 1px solid rgba(214, 167, 72, 0.38);
  border-radius: 6px;
  color: #f6d382;
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  position: absolute;
  bottom: 18px;
  right: -40px;
  width: 32px;
  z-index: 4;
}

.chessora-game-room.is-board-flipped .chessora-board-flip-corner {
  bottom: auto;
  left: -40px;
  right: auto;
  top: 0;
}

.chessora-board-flip-corner:hover {
  background: rgba(214, 167, 72, 0.18);
  color: #fff7dd;
}

.chessora-result-popup {
  background: linear-gradient(180deg, #2d2b28, #201f1d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  color: #f6f2ea;
  display: grid;
  gap: 12px;
  box-sizing: border-box;
  left: 50% !important;
  max-width: none;
  padding: 18px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%) !important;
  width: min(340px, calc(100% - 42px));
  z-index: 8;
}

.chessora-result-popup[hidden] {
  display: none;
}

.chessora-result-close {
  background: transparent;
  border: 0;
  color: #b8b0a8;
  font-size: 1.55rem;
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 6px;
}

.chessora-result-popup h2,
.chessora-result-popup p {
  margin: 0;
}

.chessora-result-popup h2 {
  font-size: 1.45rem;
}

.chessora-result-popup p {
  color: #d2cbc3;
  font-weight: 700;
}

.chessora-result-score {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
}

.chessora-result-score > div {
  align-items: center;
  display: grid;
  gap: 6px;
}

.chessora-result-score strong {
  font-size: 1.35rem;
}

.chessora-result-score small {
  color: #d8d2ca;
  font-weight: 800;
}

.chessora-result-ad-slot {
  background: linear-gradient(135deg, rgba(214, 167, 72, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(214, 167, 72, 0.25);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  min-height: 82px;
  padding: 12px;
  place-items: center;
}

.chessora-result-ad-slot span {
  justify-self: start;
  text-transform: uppercase;
}

.chessora-result-ad-remove {
  background: transparent;
  border: 0;
  color: #48c6ff;
  font-weight: 800;
}

.chessora-board-coordinates {
  color: rgba(231, 236, 233, 0.68);
  display: grid;
  font-size: 0.74rem;
  font-weight: 800;
  grid-template-columns: repeat(8, 1fr);
  justify-items: center;
  text-align: center;
  width: var(--room-board-size);
}

.chessora-board-ranks {
  align-items: center;
  color: rgba(231, 236, 233, 0.68);
  display: grid;
  font-size: 0.74rem;
  font-weight: 800;
  grid-template-rows: repeat(8, 1fr);
  justify-items: center;
}

.chessora-board-coordinates span,
.chessora-board-ranks span {
  display: block;
  line-height: 1;
}

.chessora-game-room .chessora-board {
  border: 1px solid rgba(63, 42, 20, 0.75);
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  flex: 0 0 calc(var(--room-board-size) - 20px);
  height: calc(var(--room-board-size) - 20px);
  padding: 0;
  width: calc(var(--room-board-size) - 20px);
}

.chessora-player-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  border-radius: 7px;
  display: grid;
  gap: 9px;
  grid-template-columns: 38px 1fr auto auto auto;
  min-height: 54px;
  padding: 7px 10px;
  width: var(--room-board-size);
}

.chessora-player-card[data-player-card="b"] {
  order: 1;
}

.chessora-board-frame {
  order: 2;
}

.chessora-player-card[data-player-card="w"] {
  order: 3;
}

.chessora-game-room.is-board-flipped .chessora-player-card[data-player-card="w"] {
  order: 1;
}

.chessora-game-room.is-board-flipped .chessora-player-card[data-player-card="b"] {
  order: 3;
}

.chessora-player-score {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: #f7d788;
  display: flex;
  font-weight: 900;
  min-height: 30px;
  min-width: 38px;
  justify-content: center;
  padding: 5px 8px;
}

.chessora-player-score.has-score {
  background: rgba(217, 164, 65, 0.16);
  border-color: rgba(217, 164, 65, 0.35);
  color: #fff;
}

.chessora-board-notice {
  align-items: center;
  background: rgba(9, 15, 15, 0.9);
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 7px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  color: #fff;
  display: flex;
  font-size: 1.05rem;
  font-weight: 900;
  inset: 50% auto auto 50%;
  justify-content: center;
  max-width: calc(100% - 32px);
  min-height: 62px;
  padding: 14px 18px;
  position: absolute;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: min(360px, calc(100% - 32px));
  z-index: 5;
}

.chessora-board-notice[hidden] {
  display: none;
}

.chessora-board-notice.is-loss {
  background: rgba(52, 11, 13, 0.94);
  border-color: rgba(159, 59, 54, 0.66);
  color: #ffb7b1;
}

.chessora-board-notice.is-fading {
  opacity: 0;
  transform: translate(-50%, -54%);
}

.chessora-board-notice.is-draw,
.chessora-board-notice.is-aborted {
  border-color: rgba(156, 167, 163, 0.44);
}

.chessora-player-card.is-turn {
  background: rgba(214, 167, 72, 0.12);
  border-color: rgba(214, 167, 72, 0.38);
}

.chessora-player-avatar,
.chessora-spectators span {
  align-items: center;
  background: linear-gradient(145deg, #dfc09b, #7a4a25);
  border-radius: 50%;
  color: #15110d;
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.chessora-player-card strong {
  color: #fff;
  display: block;
}

.chessora-captured-pieces {
  align-items: center;
  display: flex;
  gap: 1px;
  min-height: 16px;
  padding-top: 2px;
}

.chessora-captured-pieces[hidden] {
  display: none;
}

.chessora-captured-pieces span {
  color: #d9a441;
  display: inline-block;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}

.chessora-captured-pieces span.is-white {
  color: #f5ead2;
}

.chessora-captured-pieces span.is-black {
  color: #b8c0bc;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 3px rgba(0, 0, 0, 0.9);
}

.chessora-player-card span {
  color: var(--room-muted);
  display: block;
  font-size: 0.78rem;
}

.chessora-player-online {
  background: #2fc35b;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.chessora-player-card time {
  background: linear-gradient(135deg, #9c7537, #d6a748);
  border-radius: 5px;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 900;
  min-width: 88px;
  padding: 7px 10px;
  text-align: center;
}

.chessora-board-actions {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  width: 100%;
}

.chessora-board-actions .chessora-button {
  align-items: center;
  background: linear-gradient(180deg, #18201f, #0f1516);
  border-color: rgba(214, 167, 72, 0.18);
  display: flex;
  gap: 9px;
  justify-content: flex-start;
  min-width: 0;
  padding-inline: 12px;
}

.chessora-game-room .chessora-button span {
  align-items: center;
  background: rgba(214, 167, 72, 0.13);
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 5px;
  color: #f3ca69;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 0.88rem;
  height: 26px;
  justify-content: center;
}

.chessora-game-room .chessora-button.is-draw-locked,
.chessora-game-room .chessora-button.is-draw-locked:disabled {
  background: linear-gradient(180deg, rgba(100, 108, 105, 0.26), rgba(54, 61, 59, 0.28));
  border-color: rgba(165, 174, 169, 0.14);
  color: #8f9995;
  cursor: not-allowed;
  opacity: 1;
}

.chessora-game-room .chessora-button.is-draw-locked span {
  background: rgba(130, 138, 134, 0.12);
  border-color: rgba(165, 174, 169, 0.14);
  color: #9aa39f;
}

.chessora-game-room .chessora-button-danger span {
  background: rgba(148, 44, 44, 0.18);
  border-color: rgba(231, 108, 108, 0.26);
  color: #ffb4b4;
}

.chessora-button-accent {
  background: linear-gradient(180deg, #d8a542, #9e7434) !important;
  color: #111614 !important;
  justify-content: center !important;
}

.chessora-button-accent span {
  background: rgba(17, 22, 20, 0.14) !important;
  border-color: rgba(17, 22, 20, 0.2) !important;
  color: #111614 !important;
}

.chessora-move-controls,
.chessora-postgame-actions {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
  margin-top: 10px;
}

.chessora-postgame-actions {
  grid-template-columns: 1fr;
}

.chessora-move-controls button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--room-line);
  border-radius: 5px;
  color: #dfe6e3;
  font-weight: 900;
  min-height: 34px;
}

.chessora-forum-share-box {
  background: rgba(214, 167, 72, 0.08);
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  margin-top: 9px;
  padding: 10px;
}

.chessora-forum-share-box[hidden] {
  display: none;
}

.chessora-forum-share-box > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chessora-forum-share-box strong {
  color: #fff7dd;
}

.chessora-forum-share-box p {
  color: var(--room-muted);
  font-size: 0.84rem;
  margin: 0;
}

.chessora-forum-share-box textarea {
  background: #f7f7f3;
  border: 0;
  border-radius: 6px;
  color: #121817;
  font: 800 0.82rem/1.35 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  min-height: 72px;
  padding: 8px;
  resize: vertical;
  width: 100%;
}

.chessora-forum-share-box [data-forum-share-close] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--room-line);
  border-radius: 5px;
  color: #e7ece9;
  font-weight: 900;
  height: 28px;
  line-height: 1;
  width: 28px;
}

.chessora-moves strong {
  border-radius: 4px;
  cursor: pointer;
  padding: 2px 4px;
}

.chessora-moves strong.is-replay-current {
  background: rgba(214, 167, 72, 0.24);
  color: #fff7dd;
}

.chessora-game-room .chessora-game-side {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.chessora-game-room .chessora-panel {
  background: linear-gradient(180deg, #101517, #0b1012);
  border: 1px solid var(--room-line);
  border-radius: 7px;
  box-shadow: none;
  color: #e7ece9;
  padding: 12px;
}

.chessora-panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.chessora-panel-head h2 {
  font-size: 0.95rem;
  margin: 0;
}

.chessora-panel-head span {
  color: #77c66e;
  font-size: 0.76rem;
}

.chessora-game-meta {
  align-items: center;
  border-top: 1px solid var(--room-line);
  display: grid;
  gap: 10px;
  grid-template-columns: 24px 1fr;
  padding: 10px 0;
}

.chessora-game-meta > span {
  color: var(--room-gold);
}

.chessora-game-room .chessora-share {
  margin-top: 6px;
}

.chessora-game-room .chessora-share span {
  color: var(--room-muted);
}

.chessora-game-room .chessora-share input,
.chessora-chat-panel input {
  background: #0a0f11;
  border: 1px solid var(--room-line);
  color: #e8ecea;
}

.chessora-panel-tabs {
  border-bottom: 1px solid var(--room-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -12px -12px 10px;
}

.chessora-panel-tabs button {
  border: 0;
  border-radius: 0;
  color: var(--room-muted);
}

.chessora-panel-tabs button.is-active {
  border-bottom: 2px solid var(--room-gold);
  color: #fff;
}

.chessora-create-panel {
  background:
    linear-gradient(180deg, rgba(214, 167, 72, 0.06), transparent 120px),
    linear-gradient(180deg, #101817, #0a1110);
  display: grid;
  gap: 10px;
}

.chessora-create-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -12px -12px 10px;
}

.chessora-create-tabs button {
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 0;
  color: #e9efec;
  display: flex;
  flex-direction: column;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  min-height: 72px;
  padding: 10px 4px;
}

.chessora-create-tabs button span {
  align-items: center;
  color: #c8d0cc;
  display: flex;
  font-size: 0.95rem;
  height: 10px;
  justify-content: center;
  line-height: 1;
}

.chessora-create-tabs button.is-active {
  background: rgba(214, 167, 72, 0.13);
  color: #fff7dd;
}

.chessora-create-tabs button.is-active span {
  color: #f8d985;
}

.chessora-setup-extra-panel,
.chessora-watch-list,
.chessora-player-follow-list {
  display: grid;
  gap: 8px;
}

.chessora-setup-extra-panel {
  border-top: 1px solid var(--room-line);
  padding-top: 10px;
}

.chessora-setup-extra-panel[hidden] {
  display: none;
}

.chessora-watch-row,
.chessora-follow-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 7px;
  color: #f4f0df;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
  text-decoration: none;
}

.chessora-setup-extra-panel .chessora-open-match-empty {
  align-content: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 14px;
}

.chessora-setup-extra-panel .chessora-open-match-empty strong {
  color: #fff7dd;
}

.chessora-setup-extra-panel .chessora-open-match-empty span {
  color: var(--room-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.chessora-watch-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.chessora-watch-row small,
.chessora-follow-row small {
  color: var(--room-muted);
  display: block;
  font-size: 0.76rem;
}

.chessora-watch-row b,
.chessora-follow-row a,
.chessora-follow-row button {
  background: linear-gradient(180deg, #d9a441, #9c7537);
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: 5px;
  color: #101614;
  cursor: pointer;
  font-weight: 900;
  padding: 7px 9px;
  text-decoration: none;
}

.chessora-follow-row button.is-following {
  background: rgba(214, 167, 72, 0.18);
  color: #fff7dd;
}

.chessora-player-action-menu {
  background: #111819;
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  color: #f4f0df;
  display: grid;
  gap: 5px;
  min-width: 190px;
  padding: 8px;
  position: fixed;
  z-index: 2000;
}

.chessora-player-action-menu strong {
  color: #fff7dd;
  padding: 4px 6px 7px;
}

.chessora-player-action-note {
  color: #aeb8b2;
  font-size: .78rem;
  line-height: 1.35;
  padding: 0 6px 5px;
}

.chessora-player-action-menu a,
.chessora-player-action-menu button {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: #eef2ee;
  cursor: pointer;
  font: inherit;
  padding: 8px 9px;
  text-align: left;
  text-decoration: none;
}

.chessora-player-action-menu a:hover,
.chessora-player-action-menu button:hover {
  background: rgba(214, 167, 72, 0.14);
  border-color: rgba(214, 167, 72, 0.28);
}

.chessora-create-select,
.chessora-rated-toggle,
.chessora-opponent-toggle,
.chessora-bot-level-toggle {
  align-items: center;
  background: linear-gradient(180deg, #18211f, #101716);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 7px;
  color: #f3f6f4;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
}

.chessora-rated-toggle,
.chessora-opponent-toggle,
.chessora-bot-level-toggle {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(214, 167, 72, 0.14);
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 42px;
  padding: 4px;
}

.chessora-bot-level-toggle {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-rated-toggle button,
.chessora-opponent-toggle button,
.chessora-bot-level-toggle button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--room-muted);
  font-weight: 900;
  min-height: 34px;
}

.chessora-rated-toggle button.is-active,
.chessora-opponent-toggle button.is-active,
.chessora-bot-level-toggle button.is-active {
  background: rgba(214, 167, 72, 0.18);
  border-color: rgba(214, 167, 72, 0.42);
  color: #fff7dd;
}

.chessora-create-group {
  display: grid;
  gap: 6px;
}

.chessora-create-group > strong,
.chessora-custom-time > strong {
  color: #f4f6f2;
  font-size: 0.84rem;
}

.chessora-create-group > div {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, 1fr);
}

.chessora-create-group button,
.chessora-custom-time button,
.chessora-custom-toggle,
.chessora-start-selected {
  background: linear-gradient(180deg, #1a2422, #101716);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 5px;
  color: #f4f6f2;
  font-weight: 900;
  min-height: 40px;
}

.chessora-custom-toggle {
  text-align: left;
}

.chessora-create-group button.is-active {
  background: rgba(214, 167, 72, 0.16);
  border-color: #d9a441;
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.42);
  color: #fff7dd;
}

.chessora-custom-time {
  border-top: 1px solid var(--room-line);
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.chessora-custom-time[hidden] {
  display: none !important;
}

.chessora-custom-time label {
  display: grid;
  gap: 4px;
}

.chessora-custom-time span,
.chessora-custom-time small {
  color: var(--room-muted);
  font-size: 0.78rem;
}

.chessora-custom-time input {
  background: #0a0f11;
  border: 1px solid var(--room-line);
  border-radius: 5px;
  color: #f4f6f2;
  min-height: 36px;
  padding: 7px 9px;
}

.chessora-custom-time button {
  background: linear-gradient(180deg, #d9a441, #9c7537);
  border-color: rgba(217, 164, 65, 0.45);
  color: #101614;
  font-size: 1rem;
  min-height: 48px;
}

.chessora-start-selected {
  background: linear-gradient(180deg, #d9a441, #9c7537);
  color: #101614;
  font-size: 1rem;
  min-height: 48px;
}

.chessora-game-room.is-creating-game [data-game-live-only],
.chessora-game-room:not(.is-creating-game) [data-game-setup-only],
.chessora-game-room:not(.is-correspondence) [data-correspondence-only] {
  display: none;
}

.chessora-game-room.is-correspondence .chessora-sidebar-spectators {
  display: none;
}

.chessora-correspondence-board-tools {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.chessora-daily-links {
  display: grid;
  gap: 7px;
}

.chessora-daily-links a {
  justify-content: flex-start;
  text-decoration: none;
}

.chessora-daily-note {
  display: grid;
  gap: 6px;
}

.chessora-daily-note span {
  color: var(--room-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.chessora-daily-note textarea {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 6px;
  color: #f4f0df;
  line-height: 1.35;
  min-height: 135px;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.chessora-game-room.is-creating-game .chessora-match-bar,
.chessora-game-room.is-creating-game .chessora-player-card {
  display: none;
}

.chessora-game-room.is-creating-game .chessora-board-area {
  display: none;
}

.chessora-live-setup-cards {
  align-content: center;
  background:
    radial-gradient(circle at 55% 0, rgba(214, 167, 72, 0.1), transparent 34%),
    #090f0f;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: min(590px, calc(100vh - 155px));
  padding: 28px;
}

.chessora-live-setup-cards article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 18px;
}

.chessora-live-setup-cards span {
  align-items: center;
  background: rgba(214, 167, 72, 0.14);
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 8px;
  color: #f8d985;
  display: flex;
  font-size: 1.35rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.chessora-live-setup-cards strong {
  color: #fff7dd;
  font-size: 1.1rem;
}

.chessora-live-setup-cards p {
  color: var(--room-muted);
  line-height: 1.45;
  margin: 0;
}

.chessora-game-room .chessora-playing-zone-guide {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(217, 164, 65, 0.18);
}

.chessora-game-room .chessora-playing-zone-guide > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-game-room .chessora-playing-zone-guide article {
  background: rgba(255, 255, 255, 0.035);
}

.chessora-game-room .chessora-playing-zone-guide header p,
.chessora-game-room .chessora-playing-zone-guide article p {
  color: var(--room-muted);
}

.chessora-game-room.is-creating-game {
  min-height: auto;
}

.chessora-game-room.is-creating-game .chessora-board-layout {
  align-items: stretch;
}

.chessora-game-room.is-creating-game .chessora-play-stage {
  border-color: rgba(217, 164, 65, 0.18);
}

.chessora-game-room .chessora-moves {
  max-height: 245px;
  overflow: auto;
  padding-right: 3px;
}

.chessora-game-room .chessora-moves li {
  background: rgba(255, 255, 255, 0.035);
  color: #dbe1de;
  grid-template-columns: 28px 1fr 1fr;
  min-height: 30px;
  padding: 7px 8px;
}

.chessora-chat-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  max-height: 190px;
  overflow: auto;
}

.chessora-chat-lines p {
  color: var(--room-muted);
  font-size: 0.82rem;
  margin: 0;
}

.chessora-chat-lines strong {
  color: #dfe7ff;
}

.chessora-chat-panel input {
  border-radius: 5px;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

.chessora-chat-form {
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.chessora-chat-form .chessora-button {
  min-height: 36px;
  padding: 7px 10px;
}

.chessora-spectators div {
  display: flex;
  gap: 6px;
}

.chessora-spectators span {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.chessora-sidebar-spectators {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(214, 167, 72, 0.08), transparent 34%),
    #0b1112;
  margin: 0;
  min-height: 132px;
}

.chessora-sidebar-game-info,
.chessora-sidebar-chat,
.chessora-sidebar-spectators {
  padding: 12px;
}

.chessora-sidebar-game-info {
  align-self: start;
  min-height: 92px;
}

.chessora-sidebar-game-info .chessora-panel-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.chessora-sidebar-game-info .chessora-game-meta {
  padding: 0;
}

.chessora-h2h-card {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  text-align: center;
}

.chessora-h2h-card span {
  color: var(--room-muted);
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chessora-h2h-card strong {
  color: #fff7dd;
  font-size: 1.15rem;
}

.chessora-sidebar-spectators {
  align-self: start;
}

.chessora-sidebar-chat .chessora-chat-lines {
  min-height: 240px;
  max-height: 34vh;
}

.chessora-sidebar-chat {
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr) auto auto;
  min-height: 390px;
}

.chessora-chat-warning {
  background: rgba(214, 167, 72, 0.08);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 6px;
  color: #c6cfcb;
  font-size: 0.76rem;
  line-height: 1.35;
  margin: 0 0 10px;
  padding: 8px 9px;
}

.chessora-sidebar-game-info .chessora-game-meta {
  align-items: flex-start;
  grid-template-columns: 28px minmax(0, 1fr);
}

.chessora-sidebar-game-info .chessora-game-meta strong,
.chessora-sidebar-game-info .chessora-game-meta small {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.chessora-sidebar-spectators .chessora-panel-head {
  align-items: flex-start;
  display: grid;
  gap: 3px;
}

.chessora-sidebar-spectators .chessora-panel-head span {
  color: #8fe076;
  font-size: 0.72rem;
}

.chessora-sidebar-spectators div:last-child {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-sidebar-spectators div:last-child span {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(214, 167, 72, 0.18);
  border-radius: 7px;
  color: #f3ead2;
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
}

.chessora-profile-page .chessora-panel,
.chessora-profile-page .chessora-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(214, 167, 72, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  color: #f4f6f2;
}

.chessora-profile-page .chessora-panel h2,
.chessora-profile-page .chessora-card h2,
.chessora-profile-page .chessora-stat strong,
.chessora-profile-page .chessora-activity-feed strong,
.chessora-profile-page .chessora-profile-games strong,
.chessora-profile-page .chessora-profile-community strong {
  color: #fff7dd;
}

.chessora-profile-page .chessora-panel p,
.chessora-profile-page .chessora-stat span,
.chessora-profile-page .chessora-stat small,
.chessora-profile-page .chessora-activity-feed span,
.chessora-profile-page .chessora-profile-games small,
.chessora-profile-page .chessora-profile-community span {
  color: #aeb8b2;
}

.chessora-profile-page .chessora-kicker {
  color: #f8d985;
}

.chessora-correspondence-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(214, 167, 72, 0.12), transparent 30%),
    linear-gradient(135deg, #07100f 0%, #0b1514 52%, #050808 100%);
  color: #f4f0df;
  min-height: 100vh;
  padding: 18px;
}

.chessora-correspondence-hero {
  align-items: end;
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 16px 0;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.chessora-correspondence-hero::before {
  background: linear-gradient(90deg, rgba(214, 167, 72, 0.16), transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.chessora-correspondence-hero > * {
  position: relative;
}

.chessora-correspondence-hero h1 {
  color: #fff7dd;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 0.95;
  margin: 0 0 12px;
  max-width: 780px;
}

.chessora-correspondence-hero p {
  color: #bdc7c1;
  max-width: 650px;
}

.chessora-correspondence-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  min-width: 330px;
  text-align: center;
}

.chessora-correspondence-stats strong {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 8px 8px 0 0;
  color: #f4c65e;
  display: block;
  font-size: 2rem;
  line-height: 1;
  padding: 14px 10px 6px;
}

.chessora-correspondence-stats span {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 0 0 8px 8px;
  border-top: 0;
  color: #b7c1bc;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 7px 8px 10px;
  text-transform: uppercase;
}

.chessora-correspondence-stats strong:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.chessora-correspondence-stats span:nth-of-type(1) {
  grid-column: 1;
  grid-row: 2;
}

.chessora-correspondence-stats strong:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.chessora-correspondence-stats span:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

.chessora-correspondence-stats strong:nth-of-type(3) {
  grid-column: 3;
  grid-row: 1;
}

.chessora-correspondence-stats span:nth-of-type(3) {
  grid-column: 3;
  grid-row: 2;
}

.chessora-correspondence-shell {
  display: grid;
  align-items: start;
  gap: 16px;
  grid-template-columns: minmax(230px, 280px) minmax(390px, 1fr) minmax(260px, 320px);
}

.chessora-correspondence-left,
.chessora-correspondence-right {
  display: grid;
  gap: 14px;
  align-content: start;
}

.chessora-correspondence-card,
.chessora-correspondence-board-card,
.chessora-correspondence-active {
  background: rgba(11, 18, 18, 0.92);
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

.chessora-correspondence-card {
  padding: 14px;
}

.chessora-correspondence-card .chessora-panel-head a,
.chessora-correspondence-card .chessora-panel-head span {
  color: #8fe076;
  font-size: 0.78rem;
}

.chessora-turn-list,
.chessora-correspondence-lobby,
.chessora-correspondence-active > div:last-child {
  display: grid;
  gap: 8px;
}

.chessora-turn-list article,
.chessora-correspondence-lobby article,
.chessora-correspondence-active article {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 11px;
}

.chessora-turn-list article.is-empty,
.chessora-correspondence-lobby article.is-empty,
.chessora-correspondence-active article.is-empty {
  align-items: start;
  grid-template-columns: 1fr;
  min-height: 82px;
}

.chessora-turn-list article.is-empty strong,
.chessora-correspondence-lobby article.is-empty strong,
.chessora-correspondence-active article.is-empty strong {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 220px;
}

.chessora-turn-list strong,
.chessora-correspondence-lobby strong,
.chessora-correspondence-active strong {
  color: #fff7dd;
}

.chessora-turn-list span,
.chessora-correspondence-lobby span,
.chessora-correspondence-lobby small,
.chessora-correspondence-active span {
  color: #aeb8b2;
  display: block;
  font-size: 0.82rem;
}

.chessora-turn-list a,
.chessora-correspondence-lobby a,
.chessora-correspondence-active a {
  background: linear-gradient(180deg, #d8aa4a, #af7b23);
  border-radius: 6px;
  color: #0c0d09;
  font-weight: 900;
  padding: 8px 11px;
}

.chessora-correspondence-card textarea {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 7px;
  color: #f4f0df;
  min-height: 130px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.chessora-note-tools {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 10px;
}

.chessora-note-tools small {
  align-self: center;
  color: #9faaab;
  line-height: 1.35;
}

.chessora-correspondence-board-card {
  align-content: start;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.chessora-correspondence-board-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
}

.chessora-correspondence-board-head h2 {
  color: #fff7dd;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.05;
  margin: 0;
}

.chessora-correspondence-board-head .chessora-button {
  min-height: 42px;
  padding: 9px 16px;
  white-space: nowrap;
}

.chessora-correspondence-board-wrap {
  justify-self: center;
  max-width: 100%;
  width: clamp(320px, 34vw, 430px);
}

.chessora-correspondence-rules {
  display: grid;
  gap: 10px;
  width: 100%;
}

.chessora-correspondence-rules article {
  align-items: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 72, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 14px;
}

.chessora-correspondence-rules .fas {
  align-items: center;
  background: rgba(214, 167, 72, 0.13);
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 7px;
  color: #f8d985;
  display: flex;
  grid-row: span 2;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.chessora-correspondence-rules strong {
  color: #fff7dd;
}

.chessora-correspondence-rules p {
  color: #aeb8b2;
  line-height: 1.45;
  margin: 0;
}

.chessora-correspondence-board-grid {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: 24px minmax(0, 1fr);
}

.chessora-correspondence-ranks {
  color: #c8d3cf;
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  grid-template-rows: repeat(8, 1fr);
  padding: 9px 0;
  text-align: right;
}

.chessora-correspondence-ranks span {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.chessora-correspondence-board {
  aspect-ratio: 1;
  background: #173024;
  border: 7px solid rgba(31, 63, 50, 0.92);
  border-radius: 8px;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  overflow: hidden;
  width: 100%;
}

.chessora-correspondence-board span {
  align-items: center;
  display: flex;
  justify-content: center;
}

.chessora-correspondence-board .is-light {
  background: #f1d9aa;
}

.chessora-correspondence-board .is-dark {
  background: #a66b2e;
}

.chessora-correspondence-board img {
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.55));
  max-width: 72%;
}

.chessora-correspondence-files {
  display: grid;
  gap: 8px;
  grid-template-columns: 24px repeat(8, 1fr);
  padding: 8px 9px 0 0;
  text-align: center;
}

.chessora-correspondence-files span {
  color: #c8d3cf;
  font-size: 0.82rem;
  font-weight: 900;
}

.chessora-correspondence-presets {
  display: grid;
  gap: 8px;
}

.chessora-correspondence-presets a {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 7px;
  color: #f5ead0;
  display: grid;
  gap: 3px 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px;
}

.chessora-correspondence-presets a:hover,
.chessora-correspondence-presets a:focus {
  background: rgba(214, 167, 72, 0.13);
  border-color: rgba(214, 167, 72, 0.52);
}

.chessora-correspondence-presets .fas {
  color: #f4c65e;
  font-size: 1.25rem;
  grid-row: span 2;
}

.chessora-correspondence-presets small {
  color: #9faaab;
}

.chessora-correspondence-active {
  margin-top: 14px;
  padding: 14px;
}

.chessora-correspondence-active article {
  grid-template-columns: minmax(150px, 1.25fr) minmax(120px, 0.85fr) minmax(70px, 0.52fr) minmax(120px, 0.82fr) minmax(92px, 0.65fr) minmax(90px, 0.62fr) minmax(115px, 0.72fr) minmax(116px, auto);
}

.chessora-correspondence-board-list {
  display: grid;
  gap: 8px;
}

.chessora-correspondence-board-list-head {
  color: #8f9c97;
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 10px;
  grid-template-columns: minmax(150px, 1.25fr) minmax(120px, 0.85fr) minmax(70px, 0.52fr) minmax(120px, 0.82fr) minmax(92px, 0.65fr) minmax(90px, 0.62fr) minmax(115px, 0.72fr) minmax(116px, auto);
  letter-spacing: 0.02em;
  padding: 0 14px;
  text-transform: uppercase;
}

.chessora-correspondence-active .chessora-board-status,
.chessora-correspondence-active .chessora-board-context,
.chessora-correspondence-active .chessora-board-color,
.chessora-correspondence-active .chessora-board-clock,
.chessora-correspondence-active .chessora-board-updated {
  color: #b9c3bf;
}

.chessora-correspondence-active .chessora-board-status {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  padding: 5px 9px;
  white-space: nowrap;
  width: fit-content;
}

.chessora-correspondence-active .chessora-board-status.is-your-move {
  background: rgba(143, 224, 118, 0.12);
  border-color: rgba(143, 224, 118, 0.28);
  color: #aaf092;
}

.chessora-correspondence-active .chessora-board-last {
  background: rgba(214, 167, 72, 0.11);
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 6px;
  color: #f4d081;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  padding: 5px 8px;
  width: fit-content;
}

.chessora-correspondence-active a {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 116px;
  padding: 10px 13px;
}

.chessora-vacation-card p {
  color: #9faaab;
  line-height: 1.5;
}

.chessora-vacation-meter {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.chessora-vacation-meter strong {
  color: #fff7dd;
  font-size: 1.2rem;
}

.chessora-vacation-meter span {
  color: #c4cdc8;
}

.chessora-move-confirm {
  background: rgba(0, 0, 0, 0.58);
  display: grid;
  inset: 0;
  place-items: center;
  position: fixed;
  z-index: 1200;
}

.chessora-move-confirm[hidden] {
  display: none;
}

.chessora-move-confirm-card {
  background: #151916;
  border: 1px solid rgba(214, 167, 72, 0.32);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  color: #f4f0df;
  max-width: 380px;
  padding: 20px;
  width: calc(100vw - 32px);
}

.chessora-move-confirm-card h2 {
  color: #fff7dd;
  margin: 0 0 8px;
}

.chessora-move-confirm-card p {
  color: #bdc7c1;
}

.chessora-move-confirm-card strong {
  color: #f4c65e;
  font-size: 1.35rem;
}

.chessora-move-confirm-card label {
  align-items: center;
  color: #aeb8b2;
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.chessora-move-confirm-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1180px) {
  .chessora-correspondence-shell {
    grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1fr);
  }

  .chessora-correspondence-board-card {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .chessora-correspondence-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chessora-correspondence-board-wrap {
    width: min(100%, 400px);
  }
}

@media (max-width: 900px) {
  .chessora-hero,
  .chessora-split,
  .chessora-board-layout,
  .chessora-create-grid,
  .chessora-dashboard-split,
  .chessora-grid-2,
  .chessora-grid-3,
  .chessora-grid-4,
  .chessora-grid-5,
  .chessora-correspondence-shell,
  .chessora-correspondence-hero {
    grid-template-columns: 1fr;
  }

  .chessora-correspondence-board-card,
  .chessora-correspondence-right {
    grid-column: auto;
    grid-row: auto;
  }

  .chessora-correspondence-right {
    grid-template-columns: 1fr;
  }

  .chessora-correspondence-board-wrap {
    width: min(100%, 390px);
  }

  .chessora-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chessora-table-row {
    grid-template-columns: 1fr 1fr;
  }

  .chessora-table-head {
    display: none;
  }

  .chessora-history-head {
    display: none;
  }

  .chessora-history-row {
    align-items: start;
    grid-template-columns: 74px minmax(0, 1fr) auto;
  }

  .chessora-history-review {
    grid-column: 1 / -1;
  }

  .chessora-correspondence-active article {
    grid-template-columns: 1fr 1fr;
  }

  .chessora-live-setup-cards {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.chessora-tournaments-page .chessora-card,
.chessora-tournaments-page .chessora-table {
  background: #0b1411 !important;
  border-color: rgba(214, 167, 72, 0.18) !important;
  color: #dce4df !important;
}

.chessora-tournaments-page input,
.chessora-tournaments-page select,
.chessora-tournaments-page textarea {
  background: #101916 !important;
  border: 1px solid rgba(214, 167, 72, 0.28) !important;
  color: #fff7dd !important;
}

.chessora-tournaments-page input::placeholder,
.chessora-tournaments-page textarea::placeholder {
  color: #8f9a94 !important;
}

.chessora-tournaments-page select option {
  background: #101916;
  color: #fff7dd;
}

.chessora-tournaments-page .chessora-table-head {
  background: #151f1b !important;
  border-color: rgba(214, 167, 72, 0.16) !important;
  color: #aeb8b2 !important;
}

.chessora-tournaments-page .chessora-table-row {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #dce4df !important;
}

.chessora-tournaments-page .chessora-table-row:not(.chessora-table-head) {
  background: rgba(255, 255, 255, 0.03) !important;
}

.chessora-tournaments-page .chessora-table-empty span {
  color: #b9c2bc !important;
  grid-column: 1 / -1;
  max-width: none;
}

.chessora-tournaments-page mark,
.chessora-tournament-row mark {
  background: rgba(217, 164, 65, 0.16) !important;
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: 999px;
  color: #f9d883 !important;
  padding: 5px 10px;
}

.chessora-tournaments-page .chessora-button:not(.chessora-button-primary) {
  background: #151f1b;
  border-color: rgba(214, 167, 72, 0.24);
  color: #fff7dd;
}

/* Pawn Realm public redesign: light cream and gold shell.
   Keep the active playing room and tournament dashboard styling isolated. */
.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) {
  --chessora-ink: #1e201b;
  --chessora-muted: #6f7368;
  --chessora-line: rgba(174, 126, 38, 0.24);
  --chessora-panel: #fffaf0;
  --chessora-soft: #f5ecd8;
  --chessora-green: #476f45;
  --chessora-green-dark: #263f2b;
  --chessora-gold: #bd842d;
  background:
    radial-gradient(circle at 12% 0, rgba(217, 164, 65, 0.16), transparent 28%),
    linear-gradient(180deg, #fffdf7 0%, #f7eedc 48%, #efe0c3 100%);
  color: #1f211c;
}

.chessora-home.chessora-home-redesign {
  --home2-bg: #fffdf7;
  --home2-panel: #fff8eb;
  --home2-line: rgba(174, 126, 38, 0.26);
  --home2-muted: #6d7168;
  --home2-gold: #b77b23;
  background:
    radial-gradient(circle at 9% 0, rgba(217, 164, 65, 0.2), transparent 34%),
    linear-gradient(180deg, #fffdf7 0%, #f7eedc 100%);
  color: #20221d;
  min-height: auto;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) a {
  color: inherit;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-tabs {
  background: transparent;
  border-bottom: 1px solid rgba(174, 126, 38, 0.2);
  gap: 10px;
  padding: 0 0 14px;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-tabs a {
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(174, 126, 38, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(93, 64, 20, 0.08);
  color: #272922;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-tabs a.is-active {
  background: linear-gradient(180deg, #f2d899, #d9a441);
  border-color: rgba(155, 100, 30, 0.42);
  color: #1c1710;
}

.chessora-home2-shell {
  padding-top: 26px;
}

.chessora-home2-hero,
.chessora-page-head,
.chessora-forum-hero,
.chessora-clubs-hero,
.chessora-profile-hero,
.chessora-register-hero,
.chessora-correspondence-hero {
  background:
    linear-gradient(120deg, rgba(255, 248, 232, 0.96), rgba(242, 216, 153, 0.42)),
    #fffaf0 !important;
  border: 1px solid rgba(174, 126, 38, 0.28) !important;
  box-shadow: 0 22px 60px rgba(93, 64, 20, 0.1);
  color: #20221d !important;
}

.chessora-home2-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  min-height: 0;
}

.chessora-home2-copy h1,
.chessora-page-head h1,
.chessora-forum-hero h1,
.chessora-clubs-hero h1,
.chessora-profile-hero h1,
.chessora-register-hero h1,
.chessora-correspondence-hero h1,
.chessora-home2-playbook h2,
.chessora-profile-edit h2,
.chessora-register-form h2,
.chessora-panel h2 {
  color: #27231a !important;
}

.chessora-home2-copy p,
.chessora-kicker,
.chessora-home2-playbook p,
.chessora-home2-lanes b {
  color: #9a681d !important;
}

.chessora-home2-hero-cards a,
.chessora-home2-playbook,
.chessora-home2-pulse,
.chessora-home2-lanes a,
.chessora-forum-feed,
.chessora-forum-cats,
.chessora-profile-summary .chessora-panel,
.chessora-profile-panels .chessora-panel,
.chessora-profile-page .chessora-card,
.chessora-profile-edit,
.chessora-register-form,
.chessora-register-side article,
.chessora-club-card,
.chessora-club-sidebar,
.chessora-table,
.chessora-correspondence-card,
.chessora-correspondence-board-card,
.chessora-correspondence-active {
  background: rgba(255, 250, 240, 0.94) !important;
  border: 1px solid rgba(174, 126, 38, 0.22) !important;
  box-shadow: 0 16px 42px rgba(93, 64, 20, 0.08);
  color: #20221d !important;
}

.chessora-home2-board-card {
  align-content: center;
}

.chessora-home2-board,
.chessora-correspondence-board {
  box-shadow: 0 18px 45px rgba(88, 58, 18, 0.16);
}

.chessora-home2-live {
  background: rgba(255, 250, 240, 0.92);
  border-color: rgba(174, 126, 38, 0.24);
}

.chessora-home2-live strong,
.chessora-home2-hero-cards strong,
.chessora-home2-mode-grid strong,
.chessora-home2-lanes strong,
.chessora-forum-toolbar strong,
.chessora-forum-cats h2,
.chessora-forum-topic h2,
.chessora-forum-share-tip strong,
.chessora-profile-page .chessora-panel h2,
.chessora-profile-page .chessora-card h2,
.chessora-profile-community strong,
.chessora-activity-feed strong,
.chessora-club-card h2,
.chessora-club-sidebar h2,
.chessora-register-side strong,
.chessora-correspondence-rules strong,
.chessora-turn-list strong,
.chessora-correspondence-lobby strong,
.chessora-correspondence-active strong {
  color: #27231a !important;
}

.chessora-home2-live span,
.chessora-home2-hero-cards span,
.chessora-home2-mode-grid small,
.chessora-home2-lanes span,
.chessora-forum-hero span,
.chessora-forum-topic small,
.chessora-forum-cats span,
.chessora-forum-share-tip span,
.chessora-profile-hero span,
.chessora-profile-page .chessora-panel p,
.chessora-profile-page .chessora-stat span,
.chessora-profile-page .chessora-stat small,
.chessora-profile-community span,
.chessora-activity-feed span,
.chessora-club-card p,
.chessora-club-card small,
.chessora-register-hero span,
.chessora-register-side span,
.chessora-register-form p,
.chessora-correspondence-hero p,
.chessora-correspondence-rules p,
.chessora-turn-list span,
.chessora-correspondence-lobby span,
.chessora-correspondence-lobby small,
.chessora-correspondence-active span {
  color: #6f7368 !important;
}

.chessora-home2-mode-grid a,
.chessora-home2-pulse div,
.chessora-home2-lanes a,
.chessora-forum-topic,
.chessora-forum-cats a,
.chessora-profile-tags span,
.chessora-activity-feed a,
.chessora-activity-feed div,
.chessora-profile-community a,
.chessora-club-sidebar a,
.chessora-correspondence-rules article,
.chessora-turn-list article,
.chessora-correspondence-lobby article,
.chessora-correspondence-active article,
.chessora-table-row:not(.chessora-table-head) {
  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid rgba(174, 126, 38, 0.18) !important;
  color: #20221d !important;
}

.chessora-home2-mode-grid a:hover,
.chessora-home2-mode-grid a:focus,
.chessora-home2-lanes a:hover,
.chessora-home2-lanes a:focus,
.chessora-forum-topic:hover,
.chessora-forum-topic:focus,
.chessora-forum-cats a:hover,
.chessora-forum-cats a:focus {
  background: #fff4d9 !important;
  border-color: rgba(183, 123, 35, 0.44) !important;
}

.chessora-home2-mode-grid span,
.chessora-home2-pulse strong,
.chessora-profile-tags strong,
.chessora-history-row em,
.chessora-correspondence-presets .fas,
.chessora-correspondence-stats strong {
  color: #b77b23 !important;
}

.chessora-home2-pulse strong {
  font-size: 1.12rem;
}

.chessora-home2-pulse span {
  font-weight: 700;
  line-height: 1.45;
}

.chessora-forum-topic {
  grid-template-columns: minmax(112px, max-content) minmax(0, 1fr) 42px !important;
}

.chessora-forum-topic > span {
  align-items: center;
  background: #fff7df !important;
  border: 1px solid rgba(183, 123, 35, 0.28) !important;
  border-radius: 999px !important;
  color: #8a5b15 !important;
  display: inline-flex;
  font-size: 0.72rem !important;
  font-weight: 900;
  justify-content: center;
  justify-self: start;
  line-height: 1.15;
  max-width: 136px;
  min-height: 34px;
  min-width: 102px;
  padding: 7px 12px !important;
  white-space: normal;
}

.chessora-forum-topic h2,
.chessora-forum-topic small {
  overflow-wrap: anywhere;
}

.chessora-button,
.chessora-button-primary,
.chessora-correspondence-active a,
.chessora-turn-list a,
.chessora-correspondence-lobby a {
  background: linear-gradient(180deg, #e4bb57, #bd842d) !important;
  border: 1px solid rgba(155, 100, 30, 0.38) !important;
  border-radius: 8px !important;
  color: #1b1408 !important;
  box-shadow: 0 10px 22px rgba(155, 100, 30, 0.14);
}

.chessora-button-danger {
  background: #fffaf0 !important;
  border-color: rgba(143, 70, 54, 0.34) !important;
  color: #813a2f !important;
}

.chessora-table-head {
  background: #f4e6c8 !important;
  color: #6d6557 !important;
}

.chessora-table-row {
  border-color: rgba(174, 126, 38, 0.16) !important;
}

.chessora-table mark,
.chessora-lobby-tabs button span {
  background: rgba(183, 123, 35, 0.14);
  border: 1px solid rgba(183, 123, 35, 0.24);
  color: #8d5b16;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table,
.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table * {
  color: #27231a !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table {
  background: #fffaf0 !important;
  border: 1px solid rgba(174, 126, 38, 0.22) !important;
  box-shadow: 0 18px 44px rgba(94, 62, 16, 0.08) !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table .chessora-table-head {
  background: #efe0bd !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table .chessora-table-head span {
  color: #5d5546 !important;
  font-weight: 900 !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table .chessora-table-row:not(.chessora-table-head) {
  background: #fffdf8 !important;
  border-color: rgba(174, 126, 38, 0.18) !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table .chessora-table-row:not(.chessora-table-head):hover {
  background: #fff4d8 !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table strong {
  color: #1f211b !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table[data-lobby-panel="players"] .chessora-button:not(.chessora-button-primary) {
  background: #fff7df !important;
  border-color: rgba(174, 126, 38, 0.34) !important;
  color: #2a2110 !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-player small,
.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table small,
.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-table-head span {
  color: #635f53 !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-leaderboard-pool header h2 {
  color: #27231a !important;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-leaderboard-pool header span {
  color: #476f45 !important;
  font-weight: 900;
}

.chessora:not(.chessora-game-room):not(.chessora-tournaments-page) .chessora-lobby-table .chessora-button {
  color: #1b1408 !important;
}

.chessora-lobby-tabs {
  background: rgba(255, 250, 240, 0.8);
  border-color: rgba(174, 126, 38, 0.2);
  box-shadow: 0 14px 30px rgba(93, 64, 20, 0.07);
}

.chessora-lobby-tabs button {
  color: #3b3c34;
}

.chessora-lobby-tabs button.is-active {
  background: linear-gradient(180deg, #f2d899, #d9a441);
  border-color: rgba(155, 100, 30, 0.34);
  color: #1b1408;
}

.chessora-forum-share-tip {
  background: #f3e6c8 !important;
  border-color: rgba(174, 126, 38, 0.2) !important;
}

.chessora-forum-share-tip code {
  background: #fffaf0;
  color: #8d5b16;
}

.chessora-profile-avatar,
.chessora-topic-avatar,
.chessora-club-badge {
  background: linear-gradient(135deg, #fff3c6, #d9a441) !important;
  color: #1b1408 !important;
}

.chessora-profile-edit input,
.chessora-profile-edit select,
.chessora-profile-edit textarea,
.chessora-register-form input,
.chessora-forum-form input,
.chessora-forum-form select,
.chessora-forum-form textarea,
.chessora-correspondence-card textarea {
  background: #fffdf7 !important;
  border: 1px solid rgba(174, 126, 38, 0.24) !important;
  color: #20221d !important;
}

.chessora-forum-form,
.chessora-forum-empty {
  border-color: rgba(174, 126, 38, 0.18) !important;
}

.chessora-profile-mini-board {
  box-shadow: 0 8px 20px rgba(88, 58, 18, 0.12);
}

.chessora-team-room {
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(174, 126, 38, 0.24);
  border-radius: 12px;
  box-shadow: 0 22px 58px rgba(93, 64, 20, 0.1);
  color: #20221d;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 22px;
}

.chessora-team-create-card {
  align-items: start;
}

.chessora-team-create-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.chessora-team-create-form label {
  color: #5e6258;
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 6px;
  text-transform: uppercase;
}

.chessora-team-create-form input,
.chessora-team-create-form select {
  background: #fffdf7;
  border: 1px solid rgba(174, 126, 38, 0.28);
  border-radius: 8px;
  color: #20221d;
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  text-transform: none;
}

.chessora-button:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.55;
}

.chessora-team-room-head {
  align-items: end;
  border-bottom: 1px solid rgba(174, 126, 38, 0.18);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.chessora-team-room-head h2,
.chessora-team-panel h3 {
  color: #27231a;
  margin: 0;
}

.chessora-team-room-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.chessora-team-room-head span,
.chessora-team-panel header span,
.chessora-team-panel p,
.chessora-team-panel small {
  color: #6f7368;
}

.chessora-team-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.chessora-team-room-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
}

.chessora-team-panel {
  background: #fffdf8;
  border: 1px solid rgba(174, 126, 38, 0.2);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.chessora-team-panel header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chessora-team-roster article,
.chessora-team-post,
.chessora-team-panel > a {
  background: #fff7df;
  border: 1px solid rgba(174, 126, 38, 0.18);
  border-radius: 8px;
  color: #27231a;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.chessora-team-roster article span {
  color: #9a681d;
  font-weight: 900;
}

.chessora-team-board-table {
  border: 1px solid rgba(174, 126, 38, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.chessora-team-board-table > div {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 70px 1fr 1fr 120px minmax(150px, 1fr);
  min-height: 50px;
  padding: 10px 12px;
}

.chessora-team-board-table > div:first-child {
  background: #efe0bd;
  color: #5d5546;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.chessora-team-board-table > div + div {
  background: #fffdf8;
  border-top: 1px solid rgba(174, 126, 38, 0.15);
}

.chessora-team-post-form {
  display: grid;
  gap: 10px;
}

.chessora-team-post-form textarea {
  background: #fffaf0;
  border: 1px solid rgba(174, 126, 38, 0.24);
  border-radius: 8px;
  color: #27231a;
  min-height: 110px;
  padding: 12px;
}

@media (max-width: 900px) {
  .chessora-home2-hero {
    grid-template-columns: 1fr;
  }

  .chessora-team-room-head,
  .chessora-team-room-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chessora-team-room-actions {
    justify-content: start;
  }

  .chessora-team-board-table > div {
    grid-template-columns: 1fr;
  }
}

/* Light setup skin for the live-chess creation page.
   The active board keeps its board-room layout; this only applies before a game starts. */
.chessora-game-room.is-creating-game {
  --room-bg: #fff7e8;
  --room-panel: #fffdf7;
  --room-panel-2: #fbf0d5;
  --room-line: rgba(174, 126, 38, 0.22);
  --room-muted: #686d62;
  --room-gold: #d59b2d;
  background:
    radial-gradient(circle at 48% 4%, rgba(213, 155, 45, 0.18), transparent 30%),
    linear-gradient(180deg, #fff9ec 0%, #f9edd3 100%);
  border: 1px solid rgba(174, 126, 38, 0.18);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(93, 64, 20, 0.12);
  color: #24251f;
  margin: 26px auto;
  max-width: min(1420px, calc(100vw - 64px));
  min-height: auto;
  overflow: visible;
}

.chessora-game-room.is-creating-game .chessora-room-sidebar,
.chessora-game-room.is-creating-game .chessora-game-side {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(250, 238, 212, 0.94));
  border-color: rgba(174, 126, 38, 0.22);
}

.chessora-game-room.is-creating-game .chessora-room-brand,
.chessora-game-room.is-creating-game .chessora-room-brand strong,
.chessora-game-room.is-creating-game .chessora-panel-head h2,
.chessora-game-room.is-creating-game .chessora-live-setup-cards strong,
.chessora-game-room.is-creating-game .chessora-create-group strong,
.chessora-game-room.is-creating-game .chessora-create-select strong,
.chessora-game-room.is-creating-game .chessora-create-tabs button,
.chessora-game-room.is-creating-game .chessora-custom-toggle,
.chessora-game-room.is-creating-game .chessora-create-section-head strong,
.chessora-game-room.is-creating-game .chessora-open-match-empty strong {
  color: #25231d;
}

.chessora-game-room.is-creating-game .chessora-room-brand span,
.chessora-game-room.is-creating-game .chessora-live-setup-cards span {
  background: linear-gradient(135deg, #fff1bd, #d59b2d);
  border-color: rgba(174, 126, 38, 0.42);
  color: #1f1708;
}

.chessora-game-room.is-creating-game .chessora-panel,
.chessora-game-room.is-creating-game .chessora-play-stage,
.chessora-game-room.is-creating-game .chessora-create-panel,
.chessora-game-room.is-creating-game .chessora-live-setup-cards article,
.chessora-game-room.is-creating-game .chessora-open-match-empty,
.chessora-game-room.is-creating-game .chessora-setup-extra-panel {
  background: rgba(255, 253, 247, 0.92);
  border-color: rgba(174, 126, 38, 0.2);
  color: #24251f;
}

.chessora-game-room.is-creating-game .chessora-live-setup-cards {
  background:
    radial-gradient(circle at 65% 0, rgba(213, 155, 45, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.94), rgba(252, 241, 214, 0.94));
  min-height: min(590px, calc(100vh - 235px));
}

.chessora-game-room.is-creating-game .chessora-live-setup-cards p,
.chessora-game-room.is-creating-game .chessora-setup-brief-row span,
.chessora-game-room.is-creating-game .chessora-setup-brief p,
.chessora-game-room.is-creating-game .chessora-setup-rating-note span,
.chessora-game-room.is-creating-game .chessora-open-match-empty span,
.chessora-game-room.is-creating-game .chessora-watch-row small,
.chessora-game-room.is-creating-game .chessora-follow-row small {
  color: #656b60;
}

.chessora-game-room.is-creating-game .chessora-setup-brief-row,
.chessora-game-room.is-creating-game .chessora-setup-rating-note,
.chessora-game-room.is-creating-game .chessora-create-select,
.chessora-game-room.is-creating-game .chessora-challenge-confirmation,
.chessora-game-room.is-creating-game .chessora-rated-toggle,
.chessora-game-room.is-creating-game .chessora-create-group button,
.chessora-game-room.is-creating-game .chessora-custom-toggle,
.chessora-game-room.is-creating-game .chessora-watch-row,
.chessora-game-room.is-creating-game .chessora-follow-row {
  background: #fff8e8;
  border-color: rgba(174, 126, 38, 0.24);
  color: #24251f;
}

.chessora-game-room.is-creating-game .chessora-setup-brief-row strong,
.chessora-game-room.is-creating-game .chessora-create-group button,
.chessora-game-room.is-creating-game .chessora-watch-row strong,
.chessora-game-room.is-creating-game .chessora-follow-row strong {
  color: #24251f;
}

.chessora-game-room.is-creating-game .chessora-rated-toggle button.is-active,
.chessora-game-room.is-creating-game .chessora-create-tabs button.is-active,
.chessora-game-room.is-creating-game .chessora-create-group button.is-active,
.chessora-game-room.is-creating-game .chessora-create-group button:hover,
.chessora-game-room.is-creating-game .chessora-create-group button:focus {
  background: linear-gradient(135deg, #efd07b, #d59b2d);
  border-color: #b77b18;
  color: #1f1708;
}

.chessora-game-room.is-creating-game .chessora-play-commitment {
  background: #fff0c4;
  border-color: rgba(174, 126, 38, 0.28);
  color: #5f3c07;
}

.chessora-game-room.is-creating-game .chessora-open-match-table,
.chessora-game-room.is-creating-game .chessora-open-match-row {
  border-color: rgba(174, 126, 38, 0.18);
}

.chessora-game-room.is-creating-game .chessora-open-match-row {
  background: #fffaf0;
  color: #24251f;
}

.chessora-game-room.is-creating-game .chessora-open-match-row b,
.chessora-game-room.is-creating-game .chessora-watch-row b,
.chessora-game-room.is-creating-game .chessora-follow-row button,
.chessora-game-room.is-creating-game .chessora-follow-row a {
  background: linear-gradient(135deg, #efd07b, #d59b2d);
  border: 1px solid #b77b18;
  color: #1f1708;
}

.chessora-challenge-confirmation {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.chessora-challenge-confirmation[hidden] {
  display: none;
}

.chessora-challenge-confirmation strong {
  color: #123d32;
  display: block;
  font-size: 1rem;
}

.chessora-challenge-confirmation span {
  color: #4d6259;
  display: block;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 3px;
}

.chessora-challenge-confirmation a {
  background: linear-gradient(180deg, #e4bb57, #bd842d);
  border: 1px solid rgba(155, 100, 30, 0.38);
  border-radius: 8px;
  color: #1b1408;
  flex: 0 0 auto;
  font-weight: 900;
  padding: 9px 12px;
  text-decoration: none;
}

.chessora-clean .chessora-forum-page {
  background: transparent !important;
  color: #20221d;
  max-width: 1280px;
}

.chessora-clean .chessora-forum-hero {
  align-items: end;
  border-radius: 8px !important;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.chessora-clean .chessora-forum-hero::after {
  background: rgba(217, 164, 65, 0.1);
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  inset: 0 0 0 auto;
  position: absolute;
  width: 30%;
}

.chessora-clean .chessora-forum-hero > * {
  position: relative;
  z-index: 1;
}

.chessora-clean .chessora-forum-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.96;
  max-width: 760px;
}

.chessora-clean .chessora-forum-hero span {
  color: #5f665f !important;
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  max-width: 780px;
}

.chessora-forum-hero-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.chessora-clean .chessora-forum-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.chessora-clean .chessora-forum-feed,
.chessora-clean .chessora-forum-cats {
  border-radius: 8px;
}

.chessora-forum-index {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.chessora-forum-section {
  background: #fffdf8;
  border: 1px solid rgba(174, 126, 38, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.chessora-forum-section > header {
  align-items: center;
  background: linear-gradient(180deg, #f6ecd4, #efe0bd);
  border-bottom: 1px solid rgba(174, 126, 38, 0.22);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 15px 16px;
}

.chessora-forum-section h2 {
  color: #20221d;
  font-size: 1.08rem;
  margin: 0;
}

.chessora-forum-section p {
  color: #656b63;
  font-weight: 700;
  margin: 4px 0 0;
}

.chessora-forum-section > header > span,
.chessora-forum-staff-badge {
  background: #eef4ef;
  border-radius: 999px;
  color: #536059;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 11px;
  white-space: nowrap;
}

.chessora-forum-room {
  align-items: center;
  background: #fffdf8;
  border-bottom: 1px solid rgba(174, 126, 38, 0.14);
  color: #20221d;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr) 78px 78px auto;
  min-height: 86px;
  padding: 13px 16px;
  text-decoration: none;
}

.chessora-forum-room:last-child {
  border-bottom: 0;
}

.chessora-forum-room:hover,
.chessora-forum-room:focus {
  background: #fff6df;
}

.chessora-forum-room-icon {
  align-items: center;
  background: #183229;
  border-radius: 8px;
  color: #ffe49a;
  display: flex;
  font-size: 1.15rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.chessora-forum-room-main {
  display: grid;
  gap: 4px;
}

.chessora-forum-room-main strong {
  color: #111817;
  font-size: 1.05rem;
}

.chessora-forum-room-main small,
.chessora-forum-room-stat small {
  color: #67716b;
  font-weight: 800;
}

.chessora-forum-room-stat {
  display: grid;
  gap: 2px;
  justify-items: end;
}

.chessora-forum-room-stat b {
  color: #004c40;
  font-size: 1.1rem;
}

.chessora-forum-topic-list {
  background: #fffdf8;
  border: 1px solid rgba(174, 126, 38, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.chessora-forum-topic-list > header {
  align-items: center;
  background: #f8f1e3;
  border-bottom: 1px solid rgba(174, 126, 38, 0.14);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px;
}

.chessora-forum-topic-list h2,
.chessora-forum-topic-list p {
  margin: 0;
}

.chessora-forum-topic-list p {
  color: #656b63;
  font-weight: 700;
  margin-top: 4px;
}

.chessora-forum-topic-list > header > span {
  background: #eef4ef;
  border-radius: 999px;
  color: #536059;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 11px;
  white-space: nowrap;
}

.chessora-forum-topic-row {
  align-items: center;
  background: #fffdf8;
  border-bottom: 1px solid rgba(174, 126, 38, 0.14);
  color: #20221d;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 84px;
  min-height: 74px;
  padding: 14px 16px;
  text-decoration: none;
}

.chessora-forum-topic-row:last-child {
  border-bottom: 0;
}

.chessora-forum-topic-row:hover,
.chessora-forum-topic-row:focus {
  background: #fff6df;
}

.chessora-forum-topic-row > span:first-child {
  display: grid;
  gap: 5px;
}

.chessora-forum-topic-row strong {
  color: #111817;
  font-size: 1.02rem;
}

.chessora-forum-topic-row small {
  color: #67716b;
  font-weight: 800;
}

.chessora-forum-staff-badge {
  background: #fff0c8;
  color: #8a5b15;
  justify-self: end;
}

.chessora-forum-cats {
  align-content: start;
}

.chessora-forum-cats a {
  gap: 7px;
}

.chessora-forum-cats a em {
  color: #8a5b15;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.chessora-topic-post {
  background: #fffdf8;
}

.chessora-topic-post header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.chessora-topic-post p {
  color: #20221d;
  line-height: 1.58;
}

.chessora-forum-create {
  margin: 0 16px 16px;
}

@media (max-width: 900px) {
  .chessora-guide-panel > div,
  .chessora-game-room .chessora-playing-zone-guide > div {
    grid-template-columns: 1fr;
  }

  .chessora-clean .chessora-forum-hero,
  .chessora-clean .chessora-forum-layout {
    grid-template-columns: 1fr;
  }

  .chessora-forum-hero-actions {
    justify-content: start;
  }

  .chessora-forum-room {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .chessora-forum-room-stat {
    display: none;
  }
}

.chessora-forum-page {
  background: #07100e !important;
  border: 1px solid rgba(214, 167, 72, 0.16);
  color: #f5f0dc !important;
  margin-top: 18px;
  max-width: 1260px;
}

.chessora-forum-hero {
  background:
    linear-gradient(120deg, rgba(217, 164, 65, 0.16), rgba(7, 16, 14, 0.92) 42%, rgba(12, 24, 20, 0.98)),
    radial-gradient(circle at 14% 12%, rgba(249, 216, 131, 0.18), transparent 36%) !important;
  border-color: rgba(214, 167, 72, 0.28) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  color: #f5f0dc !important;
}

.chessora-forum-hero h1,
.chessora-forum-toolbar strong,
.chessora-forum-cats h2,
.chessora-forum-section h2,
.chessora-forum-topic-list h2,
.chessora-topic-post strong,
.chessora-forum-room-main strong,
.chessora-forum-topic-row strong,
.chessora-forum-form h2,
.chessora-forum-empty strong,
.chessora-forum-game-details strong {
  color: #fff7dd !important;
}

.chessora-forum-hero span,
.chessora-forum-section p,
.chessora-forum-topic-list p,
.chessora-forum-room-main small,
.chessora-forum-topic-row small,
.chessora-forum-cats span,
.chessora-topic-post span,
.chessora-forum-empty span,
.chessora-forum-form p,
.chessora-forum-form label,
.chessora-forum-game-details small {
  color: #cbd5cf !important;
}

.chessora-forum-feed,
.chessora-forum-cats {
  background: #0b1411 !important;
  border-color: rgba(214, 167, 72, 0.18) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  color: #f5f0dc !important;
}

.chessora-forum-section,
.chessora-forum-topic-list {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 16px;
  padding: 16px;
}

.chessora-forum-section header,
.chessora-forum-topic-list header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.chessora-forum-section header > span,
.chessora-forum-topic-list header > span {
  color: #75d66e !important;
  font-weight: 900;
}

.chessora-forum-room,
.chessora-forum-topic-row,
.chessora-forum-cats a {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 8px;
  color: #dce4df !important;
}

.chessora-forum-room:hover,
.chessora-forum-room:focus,
.chessora-forum-topic-row:hover,
.chessora-forum-topic-row:focus,
.chessora-forum-cats a:hover,
.chessora-forum-cats a:focus {
  background: rgba(217, 164, 65, 0.09) !important;
  border-color: rgba(217, 164, 65, 0.32) !important;
}

.chessora-forum-room-icon {
  align-items: center;
  background: rgba(217, 164, 65, 0.16) !important;
  border: 1px solid rgba(217, 164, 65, 0.34) !important;
  border-radius: 8px !important;
  color: #f8d985 !important;
  display: flex;
  font-size: 1.1rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.chessora-forum-room-stat,
.chessora-forum-staff-badge {
  background: rgba(217, 164, 65, 0.13) !important;
  border: 1px solid rgba(217, 164, 65, 0.27) !important;
  border-radius: 999px;
  color: #f8d985 !important;
}

.chessora-topic-post,
.chessora-forum-toolbar,
.chessora-forum-form,
.chessora-forum-empty {
  border-color: rgba(214, 167, 72, 0.16) !important;
}

.chessora-topic-post.is-system-post {
  background: rgba(217, 164, 65, 0.06);
}

.chessora-topic-post-body {
  color: #edf2ee;
  line-height: 1.58;
}

.chessora-topic-post-body p,
.chessora-topic-post p {
  color: #edf2ee !important;
}

.chessora-forum-form input,
.chessora-forum-form select,
.chessora-forum-form textarea {
  background: #121b18 !important;
  border-color: rgba(214, 167, 72, 0.22) !important;
  color: #fff7dd !important;
}

.chessora-forum-form input::placeholder,
.chessora-forum-form textarea::placeholder {
  color: #929c96;
}

.chessora-forum-game-embed {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 132px minmax(0, 1fr);
  margin: 14px 0;
  padding: 12px;
}

.chessora-forum-game-board {
  aspect-ratio: 1;
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  overflow: hidden;
}

.chessora-forum-game-board span {
  align-items: center;
  color: #111817 !important;
  display: flex;
  font-size: 1rem;
  justify-content: center;
  line-height: 1;
}

.chessora-forum-game-board .is-light {
  background: #efd8ad;
}

.chessora-forum-game-board .is-dark {
  background: #9b632c;
}

.chessora-forum-game-details {
  display: grid;
  gap: 5px;
}

.chessora-forum-game-details > span {
  color: #f8d985 !important;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chessora-forum-game-details a {
  color: #75d66e !important;
  font-weight: 900;
  justify-self: start;
}

.chessora-forum-game-missing {
  background: rgba(159, 59, 54, 0.14);
  border: 1px solid rgba(159, 59, 54, 0.32);
  border-radius: 6px;
  color: #ffd0c9 !important;
  display: inline-block;
  margin: 8px 0;
  padding: 8px 10px;
}

@media (max-width: 620px) {
  .chessora-forum-game-embed {
    grid-template-columns: 1fr;
  }

  .chessora-forum-game-board {
    max-width: 220px;
  }
}

/* LumaForum reference theme */
.chessora-forum-page {
  background: linear-gradient(180deg, #fffdf9 0%, #fbf8ff 100%) !important;
  border: 1px solid #ece7f4 !important;
  color: #111827 !important;
  margin-top: 18px;
  max-width: 1280px;
}

.chessora-forum-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(196, 237, 222, 0.58), transparent 18%),
    radial-gradient(circle at 72% 42%, rgba(255, 170, 176, 0.38), transparent 20%),
    linear-gradient(105deg, #fbf1ff 0%, #f7ecff 56%, #ecebff 100%) !important;
  border: 1px solid #efe6fb !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  color: #111827 !important;
  min-height: 210px;
  padding: 36px 32px !important;
}

.chessora-clean .chessora-forum-hero::after {
  background:
    radial-gradient(circle at 32% 38%, #9f80f4 0 16%, transparent 17%),
    radial-gradient(circle at 54% 44%, #ffadb4 0 18%, transparent 19%),
    radial-gradient(circle at 78% 22%, #bce7d4 0 9%, transparent 10%);
  clip-path: none;
  opacity: 0.9;
  width: 34%;
}

.chessora-forum-hero .chessora-kicker {
  color: #8f6df0 !important;
  font-weight: 900;
}

.chessora-clean .chessora-forum-hero h1,
.chessora-forum-hero h1,
.chessora-forum-toolbar strong,
.chessora-forum-cats h2,
.chessora-forum-section h2,
.chessora-forum-topic-list h2,
.chessora-topic-post strong,
.chessora-forum-room-main strong,
.chessora-forum-topic-row strong,
.chessora-forum-form h2,
.chessora-forum-empty strong,
.chessora-forum-game-details strong {
  color: #111827 !important;
}

.chessora-clean .chessora-forum-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.chessora-clean .chessora-forum-hero span,
.chessora-forum-hero span,
.chessora-forum-section p,
.chessora-forum-topic-list p,
.chessora-forum-room-main small,
.chessora-forum-topic-row small,
.chessora-forum-cats span,
.chessora-topic-post span,
.chessora-forum-empty span,
.chessora-forum-form p,
.chessora-forum-form label,
.chessora-forum-game-details small {
  color: #667085 !important;
}

.chessora-forum-hero-actions .chessora-button,
.chessora-forum-form .chessora-button-primary {
  background: linear-gradient(135deg, #a989f7, #8f6df0) !important;
  border: 1px solid #9c7cf4 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(143, 109, 240, 0.24);
  color: #ffffff !important;
}

.chessora-forum-hero-actions .chessora-button:not(.chessora-button-primary) {
  background: #ffffff !important;
  border-color: #dfd5fb !important;
  box-shadow: none;
  color: #8f6df0 !important;
}

.chessora-clean .chessora-forum-feed,
.chessora-clean .chessora-forum-cats,
.chessora-forum-feed,
.chessora-forum-cats {
  background: #fffefa !important;
  border: 1px solid #ece7f4 !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 45px rgba(34, 26, 69, 0.05) !important;
  color: #111827 !important;
}

.chessora-forum-index,
.chessora-forum-create {
  padding: 18px;
}

.chessora-forum-section,
.chessora-forum-topic-list {
  background: #ffffff !important;
  border: 1px solid #eee8e2 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(34, 26, 69, 0.04);
  display: block;
  margin: 0 0 18px !important;
  overflow: hidden;
  padding: 0 !important;
}

.chessora-forum-section > header,
.chessora-forum-topic-list > header,
.chessora-forum-section header,
.chessora-forum-topic-list header {
  background: #ffffff !important;
  border-bottom: 1px solid #eee8e2 !important;
  padding: 18px !important;
}

.chessora-forum-section header > span,
.chessora-forum-topic-list header > span {
  background: #f3eafd !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #8f6df0 !important;
}

.chessora-forum-room,
.chessora-forum-topic-row,
.chessora-forum-cats a {
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #eee8e2 !important;
  border-radius: 0 !important;
  color: #111827 !important;
}

.chessora-forum-room:hover,
.chessora-forum-room:focus,
.chessora-forum-topic-row:hover,
.chessora-forum-topic-row:focus,
.chessora-forum-cats a:hover,
.chessora-forum-cats a:focus {
  background: #fbf7ff !important;
  border-color: #eee8e2 !important;
}

.chessora-forum-room-icon {
  background: #f3eafd !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #8f6df0 !important;
  height: 46px;
  width: 46px;
}

.chessora-forum-section:nth-of-type(2) .chessora-forum-room:nth-of-type(2) .chessora-forum-room-icon,
.chessora-forum-topic-row:nth-of-type(2) .chessora-forum-room-icon {
  background: #def7ec !important;
  color: #22a875 !important;
}

.chessora-forum-section:nth-of-type(3) .chessora-forum-room:nth-of-type(2) .chessora-forum-room-icon {
  background: #ffe7eb !important;
  color: #f05f74 !important;
}

.chessora-forum-room-stat,
.chessora-forum-staff-badge,
.chessora-forum-pin-badge {
  background: #f3eafd !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #8f6df0 !important;
  padding: 8px 12px;
}

.chessora-forum-pin-badge {
  font-size: 0.78rem;
  font-weight: 900;
  justify-self: end;
  text-transform: uppercase;
  white-space: nowrap;
}

.chessora-forum-room-stat b {
  color: #8f6df0 !important;
}

.chessora-forum-cats {
  padding: 18px !important;
}

.chessora-forum-cats a {
  border: 1px solid #eee8e2 !important;
  border-radius: 14px !important;
  margin-bottom: 10px;
  padding: 16px !important;
}

.chessora-forum-cats a strong,
.chessora-forum-cats > a > strong {
  color: #111827 !important;
}

.chessora-forum-cats a em {
  color: #8f6df0 !important;
}

.chessora-topic-post,
.chessora-forum-toolbar,
.chessora-forum-form,
.chessora-forum-empty {
  background: #ffffff !important;
  border: 1px solid #eee8e2 !important;
  border-radius: 16px !important;
  color: #111827 !important;
}

.chessora-topic-post.is-system-post {
  background: #ffffff !important;
}

.chessora-topic-avatar {
  background: linear-gradient(135deg, #f3eafd, #a989f7) !important;
  color: #ffffff !important;
}

.chessora-topic-post-body,
.chessora-topic-post-body p,
.chessora-topic-post p {
  color: #344054 !important;
}

.chessora-forum-form input,
.chessora-forum-form select,
.chessora-forum-form textarea {
  background: #ffffff !important;
  border: 1px solid #ddd7e7 !important;
  border-radius: 12px !important;
  color: #111827 !important;
}

.chessora-forum-form input::placeholder,
.chessora-forum-form textarea::placeholder {
  color: #98a2b3 !important;
}

.chessora-forum-game-embed {
  background: #fbf7ff !important;
  border: 1px solid #e8ddfb !important;
  border-radius: 16px !important;
}

.chessora-forum-game-board {
  border-color: #e8ddfb !important;
}

.chessora-forum-game-board .is-light {
  background: #f7f0df !important;
}

.chessora-forum-game-board .is-dark {
  background: #b99761 !important;
}

.chessora-forum-game-details > span,
.chessora-forum-game-details a {
  color: #8f6df0 !important;
}

.chessora-forum-game-missing {
  background: #fff1f3 !important;
  border-color: #ffd3da !important;
  color: #e94f64 !important;
}

/* Pawn Realm quick-play layout */
.chessora-game-room.is-creating-game {
  --setup-ink: #171717;
  --setup-muted: #6f7380;
  --setup-line: #eadfce;
  --setup-gold: #e3a221;
  --setup-green: #59b66d;
  background: #fffdf9 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--setup-ink) !important;
  display: block !important;
  margin: 0 auto !important;
  max-width: 1500px !important;
  padding: 30px 34px !important;
}

.chessora-game-room.is-creating-game .chessora-room-sidebar {
  display: none !important;
}

.chessora-game-room.is-creating-game .chessora-board-layout {
  align-items: start !important;
  display: grid !important;
  gap: 24px 34px !important;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px) !important;
  width: 100%;
}

.chessora-game-room.is-creating-game .chessora-play-stage,
.chessora-game-room.is-creating-game .chessora-game-side {
  display: contents !important;
}

.chessora-game-room.is-creating-game .chessora-match-bar,
.chessora-game-room.is-creating-game .chessora-live-setup-cards,
.chessora-game-room.is-creating-game .chessora-playing-zone-guide,
.chessora-game-room.is-creating-game .chessora-create-tabs,
.chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches,
.chessora-game-room.is-creating-game .chessora-create-select:first-of-type {
  display: none !important;
}

.chessora-quick-play-hero {
  background:
    radial-gradient(circle at 70% 36%, rgba(240, 199, 116, 0.3), transparent 24%),
    linear-gradient(105deg, #fffdf9 0%, #fff8ea 45%, #f3eadb 100%);
  border: 1px solid var(--setup-line);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(49, 37, 18, 0.08);
  display: grid;
  grid-column: 1;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 1fr);
  min-height: 320px;
  overflow: hidden;
  padding: 34px 38px;
  position: relative;
}

.chessora-quick-play-copy {
  align-content: center;
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.chessora-quick-play-copy > span {
  color: var(--setup-gold);
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chessora-quick-play-copy h1 {
  color: var(--setup-ink);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin: 0;
}

.chessora-quick-play-copy p {
  color: #5f6472;
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0;
  max-width: 420px;
}

.chessora-quick-play-copy small {
  align-items: center;
  color: #202124;
  display: flex;
  font-weight: 800;
  gap: 10px;
}

.chessora-quick-play-copy small i {
  background: var(--setup-green);
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

.chessora-quick-play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.chessora-quick-mode,
.chessora-quick-find {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
}

.chessora-quick-mode {
  background: #ffffff;
  border: 1px solid var(--setup-line);
  color: var(--setup-ink);
  min-width: 170px;
}

.chessora-quick-find {
  background: linear-gradient(135deg, #f0c85f, var(--setup-gold));
  border: 1px solid #d99013;
  box-shadow: 0 14px 26px rgba(227, 162, 33, 0.25);
  color: #ffffff;
  min-width: 185px;
}

.chessora-quick-play-art {
  align-items: end;
  display: grid;
  justify-items: center;
  min-height: 260px;
  position: relative;
}

.chessora-quick-play-art::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(135deg, rgba(222, 178, 91, 0.22), rgba(255, 255, 255, 0));
  background-size: 56px 56px, 56px 56px, auto;
  border-radius: 120px 120px 0 0;
  content: "";
  inset: 30px 0 0;
  position: absolute;
}

.chessora-art-knight,
.chessora-art-king {
  color: #2f3032;
  filter: drop-shadow(0 18px 18px rgba(42, 36, 26, 0.25));
  font-size: clamp(6rem, 10vw, 9.5rem);
  position: absolute;
}

.chessora-art-knight {
  bottom: 38px;
  left: 22%;
}

.chessora-art-king {
  bottom: 25px;
  color: #f4ecd9;
  font-size: clamp(7rem, 12vw, 11rem);
  right: 26%;
  text-shadow: 0 2px 0 #c9a863;
}

.chessora-art-leaf {
  background: #a8d0b1;
  border-radius: 80% 0 80% 0;
  bottom: 60px;
  height: 96px;
  position: absolute;
  right: 4%;
  transform: rotate(24deg);
  width: 42px;
}

.chessora-game-room.is-creating-game .chessora-create-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--setup-ink) !important;
  display: grid;
  gap: 18px;
  grid-column: 1;
  padding: 0 !important;
}

.chessora-game-room.is-creating-game .chessora-create-panel::before {
  color: var(--setup-ink);
  content: "Choose time control";
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-game-room.is-creating-game .chessora-create-select {
  background: #ffffff !important;
  border: 1px solid var(--setup-line) !important;
  border-radius: 12px !important;
  color: var(--setup-ink) !important;
  max-width: 260px;
  min-height: 56px;
}

.chessora-game-room.is-creating-game .chessora-rated-toggle,
.chessora-game-room.is-creating-game .chessora-opponent-toggle,
.chessora-game-room.is-creating-game .chessora-bot-level-toggle {
  background: #fff8ea !important;
  border: 1px solid #f0d5a5 !important;
  border-radius: 12px !important;
  max-width: 360px;
  padding: 8px !important;
}

.chessora-game-room.is-creating-game .chessora-rated-toggle button,
.chessora-game-room.is-creating-game .chessora-opponent-toggle button,
.chessora-game-room.is-creating-game .chessora-bot-level-toggle button {
  border-radius: 8px !important;
  color: #6d7169 !important;
  font-size: 1rem;
  min-height: 44px;
}

.chessora-game-room.is-creating-game .chessora-rated-toggle button.is-active,
.chessora-game-room.is-creating-game .chessora-opponent-toggle button.is-active,
.chessora-game-room.is-creating-game .chessora-bot-level-toggle button.is-active {
  background: linear-gradient(135deg, #f2ce72, var(--setup-gold)) !important;
  border-color: #d99013 !important;
  color: #171717 !important;
}

.chessora-game-room.is-creating-game .chessora-color-toggle {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(214, 162, 59, 0.26) !important;
  border-radius: 12px !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 360px;
  min-height: 58px !important;
  padding: 6px !important;
}

.chessora-game-room.is-creating-game .chessora-create-panel {
  grid-template-columns: minmax(0, 1fr) minmax(168px, 0.56fr) !important;
}

.chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle) {
  grid-column: 1 / -1;
}

.chessora-game-room.is-creating-game .chessora-rated-toggle,
.chessora-game-room.is-creating-game .chessora-opponent-toggle,
.chessora-game-room.is-creating-game .chessora-bot-level-toggle {
  grid-column: 1 !important;
  max-width: none !important;
}

.chessora-game-room.is-creating-game .chessora-color-toggle {
  grid-column: 2 !important;
  max-width: none !important;
}

.chessora-game-room.is-creating-game .chessora-color-toggle button {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(214, 162, 59, 0.18) !important;
  border-radius: 8px !important;
  color: #f7f0dc !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 !important;
}

.chessora-game-room.is-creating-game .chessora-color-toggle button.is-active {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

.chessora-crown-icon {
  display: block;
  height: 26px;
  position: relative;
  width: 32px;
}

.chessora-crown-icon::before,
.chessora-crown-icon::after {
  background: currentColor;
  clip-path: polygon(0 100%, 0 48%, 17% 66%, 32% 18%, 50% 60%, 68% 18%, 83% 66%, 100% 48%, 100% 100%);
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 100%;
}

.chessora-crown-icon::after {
  border-radius: 999px;
  clip-path: none;
  height: 4px;
  top: 22px;
}

.chessora-crown-icon.is-white {
  color: #fff8df !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}

.chessora-crown-icon.is-white::before,
.chessora-crown-icon.is-white::after {
  background: #fff8df !important;
}

.chessora-crown-icon.is-black {
  color: #0b0f12 !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2));
}

.chessora-crown-icon.is-black::before,
.chessora-crown-icon.is-black::after {
  background: #0b0f12 !important;
}

.chessora-crown-icon.is-random::before,
.chessora-crown-icon.is-random::after {
  background: linear-gradient(90deg, #fff8df 0 50%, #0b0f12 50% 100%) !important;
}

@media (max-width: 700px) {
  .chessora-game-room.is-creating-game .chessora-create-panel {
    grid-template-columns: 1fr !important;
  }

  .chessora-game-room.is-creating-game .chessora-rated-toggle,
  .chessora-game-room.is-creating-game .chessora-color-toggle {
    grid-column: 1 !important;
  }
}

.chessora-game-room.is-creating-game .chessora-create-group {
  display: grid;
  gap: 10px;
}

.chessora-game-room.is-creating-game .chessora-create-group strong {
  color: var(--setup-ink) !important;
  font-size: 0.98rem;
}

.chessora-game-room.is-creating-game .chessora-create-group div {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.chessora-game-room.is-creating-game .chessora-create-group button,
.chessora-game-room.is-creating-game .chessora-custom-toggle {
  background: #fffaf0 !important;
  border: 1px solid #ecd6ad !important;
  border-radius: 10px !important;
  color: var(--setup-ink) !important;
  font-size: 1.1rem;
  font-weight: 950;
  min-height: 132px;
}

.chessora-game-room.is-creating-game .chessora-create-group button.is-active,
.chessora-game-room.is-creating-game .chessora-create-group button:hover,
.chessora-game-room.is-creating-game .chessora-create-group button:focus {
  background: linear-gradient(135deg, #f3d277, var(--setup-gold)) !important;
  border-color: #d99013 !important;
}

.chessora-game-room.is-creating-game .chessora-rating-range {
  --rating-min-pos: 0%;
  --rating-max-pos: 100%;
  border: 1px solid rgba(174, 126, 38, 0.24);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-column: 1;
  padding: 12px 14px;
}

.chessora-game-room.is-creating-game .chessora-rating-range-warning {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
    #ffffff;
  border: 1px solid rgba(174, 126, 38, 0.24);
  border-radius: 12px;
  color: #8a5b15;
  display: flex;
  font-size: 0.82rem;
  font-weight: 850;
  grid-column: 2;
  line-height: 1.35;
  padding: 12px 14px;
}

.chessora-game-room.is-creating-game .chessora-rating-range-warning[hidden] {
  display: none;
}

.chessora-game-room.is-creating-game .chessora-rating-range .chessora-create-section-head span,
.chessora-game-room.is-creating-game .chessora-rating-range .chessora-create-section-head b {
  color: #8a5b15;
  font-weight: 950;
}

.chessora-game-room.is-creating-game .chessora-rating-slider {
  background:
    linear-gradient(
      90deg,
      rgba(174, 126, 38, 0.16) 0 var(--rating-min-pos),
      #d6a23b var(--rating-min-pos) var(--rating-max-pos),
      rgba(174, 126, 38, 0.16) var(--rating-max-pos) 100%
    );
  border: 1px solid rgba(174, 126, 38, 0.24);
  border-radius: 999px;
  height: 12px;
  margin: 12px 10px 8px;
  position: relative;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  height: 32px;
  left: 0;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]:focus {
  outline: none;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: 0;
  height: 12px;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-moz-range-track {
  background: transparent;
  border: 0;
  height: 12px;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-moz-range-progress {
  background: transparent;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  background:
    radial-gradient(circle at 50% 18%, #fff6d6 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 46%, #f8d985 0 31%, transparent 32%),
    linear-gradient(180deg, transparent 0 61%, #c78b25 62% 78%, transparent 79%),
    linear-gradient(180deg, transparent 0 78%, #9f6714 79% 100%);
  border: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: grab;
  clip-path: polygon(36% 7%, 64% 7%, 70% 19%, 64% 30%, 74% 48%, 65% 68%, 82% 82%, 88% 100%, 12% 100%, 18% 82%, 35% 68%, 26% 48%, 36% 30%, 30% 19%);
  height: 28px;
  margin-top: -22px;
  pointer-events: auto;
  width: 24px;
}

.chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-moz-range-thumb {
  background:
    radial-gradient(circle at 50% 18%, #fff6d6 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 46%, #f8d985 0 31%, transparent 32%),
    linear-gradient(180deg, transparent 0 61%, #c78b25 62% 78%, transparent 79%),
    linear-gradient(180deg, transparent 0 78%, #9f6714 79% 100%);
  border: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: grab;
  clip-path: polygon(36% 7%, 64% 7%, 70% 19%, 64% 30%, 74% 48%, 65% 68%, 82% 82%, 88% 100%, 12% 100%, 18% 82%, 35% 68%, 26% 48%, 36% 30%, 30% 19%);
  height: 28px;
  transform: translateY(-18px);
  pointer-events: auto;
  width: 24px;
}

.chessora-game-room.is-creating-game .chessora-custom-toggle {
  min-height: 60px;
}

.chessora-game-room.is-creating-game .chessora-custom-time {
  background: #ffffff !important;
  border: 1px solid var(--setup-line) !important;
  border-radius: 14px !important;
}

.chessora-setup-right-rail {
  display: grid;
  gap: 24px;
  grid-column: 2;
  grid-row: 1 / span 4;
}

.chessora-setup-right-rail section {
  background: #ffffff;
  border: 1px solid #e4eadf;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(45, 52, 40, 0.06);
  padding: 24px;
}

.chessora-setup-profile-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 74px minmax(0, 1fr);
}

.chessora-setup-avatar {
  align-items: center;
  background: linear-gradient(135deg, #ffe2a1, #d99a24);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 2rem;
  font-weight: 950;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.chessora-setup-profile-card strong {
  color: var(--setup-ink);
  display: inline-block;
  font-size: 1.35rem;
  margin-right: 8px;
}

.chessora-setup-profile-card > div:nth-child(2) span {
  background: #efe7ff;
  border-radius: 999px;
  color: #7755dd;
  font-weight: 950;
  padding: 5px 12px;
}

.chessora-setup-profile-card a {
  color: #5f6472;
  display: block;
  font-weight: 800;
  margin-top: 8px;
  text-decoration: none;
}

.chessora-setup-profile-card dl {
  border-top: 1px solid #eef0eb;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding-top: 18px;
  text-align: center;
}

.chessora-setup-profile-card dt {
  color: #697078;
  font-weight: 800;
}

.chessora-setup-profile-card dd {
  color: var(--setup-ink);
  font-size: 1.2rem;
  font-weight: 950;
  margin: 4px 0 0;
}

.chessora-setup-goal-card,
.chessora-setup-stats-card,
.chessora-setup-news-card {
  display: grid;
  gap: 18px;
}

.chessora-setup-goal-card header,
.chessora-setup-stats-card header,
.chessora-setup-news-card header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chessora-setup-goal-card strong,
.chessora-setup-stats-card header strong,
.chessora-setup-news-card header strong {
  color: #3f9d59;
  font-size: 1.05rem;
}

.chessora-setup-goal-card header > i {
  background: #e8f8ee;
  border-radius: 12px;
  color: #55ad69;
  padding: 14px;
}

.chessora-setup-goal-card div {
  display: flex;
  justify-content: space-between;
}

.chessora-setup-goal-card meter {
  height: 12px;
  width: 100%;
}

.chessora-setup-stats-card header strong {
  color: #7a58d8;
}

.chessora-setup-stats-card header a,
.chessora-setup-news-card header a {
  border: 1px solid #e7e0f4;
  border-radius: 10px;
  color: #7a58d8;
  font-weight: 900;
  padding: 8px 12px;
  text-decoration: none;
}

.chessora-setup-stats-card > div {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-setup-stats-card article {
  background: #fffdfa;
  border: 1px solid #f0eae1;
  border-radius: 12px;
  display: grid;
  gap: 3px;
  grid-template-columns: 44px 1fr;
  padding: 14px;
}

.chessora-setup-stats-card article i {
  align-items: center;
  background: #f2ebff;
  border-radius: 10px;
  color: #7a58d8;
  display: flex;
  grid-row: span 2;
  justify-content: center;
}

.chessora-setup-stats-card article span,
.chessora-setup-news-card small {
  color: #6f7380;
}

.chessora-setup-stats-card article strong {
  color: var(--setup-ink);
  font-size: 1.18rem;
}

.chessora-setup-news-card {
  border-color: #dfeaf9 !important;
}

.chessora-setup-news-card header strong {
  color: #3a82cf;
}

.chessora-setup-news-card > a {
  align-items: center;
  color: var(--setup-ink);
  display: grid;
  gap: 14px;
  grid-template-columns: 48px 1fr auto;
  text-decoration: none;
}

.chessora-setup-news-card > a > i {
  align-items: center;
  background: #fff3d5;
  border-radius: 10px;
  color: var(--setup-gold);
  display: flex;
  height: 48px;
  justify-content: center;
}

.chessora-setup-news-card > a:nth-of-type(2) > i {
  background: #e9f3ff;
  color: #3a82cf;
}

.chessora-setup-news-card > a:nth-of-type(3) > i {
  background: #f0eaff;
  color: #7a58d8;
}

.chessora-setup-news-card > a span {
  display: grid;
  gap: 4px;
}

.chessora-game-room.is-creating-game .chessora-lobby-table {
  background: #ffffff !important;
  border: 1px solid #eee8e0 !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(45, 52, 40, 0.06);
  grid-column: 1;
  margin: 0 !important;
  padding: 0 !important;
}

.chessora-game-room.is-creating-game .chessora-open-match-table {
  border-color: #eee8e0 !important;
}

.chessora-game-room.is-creating-game .chessora-open-match-row {
  background: #ffffff !important;
  border-color: #eee8e0 !important;
  color: var(--setup-ink) !important;
}

.chessora-game-room.is-creating-game .chessora-open-match-head {
  color: #737985 !important;
}

.chessora-game-room.is-creating-game .chessora-open-match-player strong,
.chessora-game-room.is-creating-game .chessora-open-match-row span {
  color: var(--setup-ink) !important;
}

.chessora-game-room.is-creating-game .chessora-open-match-row b {
  background: #fff8e6 !important;
  border: 1px solid #f1d090 !important;
  border-radius: 999px !important;
  color: var(--setup-gold) !important;
}

@media (max-width: 1100px) {
  .chessora-game-room.is-creating-game .chessora-board-layout {
    grid-template-columns: 1fr !important;
  }

  .chessora-setup-right-rail,
  .chessora-game-room.is-creating-game .chessora-lobby-table {
    grid-column: 1;
  }

  .chessora-setup-right-rail {
    grid-row: auto;
  }

  .chessora-quick-play-hero {
    grid-template-columns: 1fr;
  }

  .chessora-quick-play-art {
    display: none;
  }
}

@media (max-width: 640px) {
  .chessora-game-room.is-creating-game {
    padding: 18px 12px !important;
  }

  .chessora-quick-play-hero {
    padding: 24px 20px;
  }

  .chessora-setup-profile-card dl,
  .chessora-setup-stats-card > div {
    grid-template-columns: 1fr;
  }
}

/* Final Pawn Realm component skin: keep public pages aligned with the active game room. */
.chessora:not(.chessora-game-room) {
  --chessora-ink: #f4f6f2;
  --chessora-muted: #aeb8b2;
  --chessora-line: rgba(214, 167, 72, 0.18);
  --chessora-panel: rgba(11, 18, 18, 0.92);
  --chessora-soft: rgba(255, 255, 255, 0.045);
  --chessora-green: #70b84a;
  --chessora-green-dark: #183324;
  --chessora-gold: #d9a441;
  background:
    radial-gradient(circle at 14% 8%, rgba(214, 167, 72, 0.12), transparent 30%),
    linear-gradient(135deg, #07100f 0%, #0b1514 52%, #050808 100%) !important;
  color: #f4f6f2 !important;
}

.chessora:not(.chessora-game-room) .chessora-tabs {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(214, 167, 72, 0.14) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 8px !important;
}

.chessora:not(.chessora-game-room) .chessora-tabs a {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(214, 167, 72, 0.12) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #dfe7e2 !important;
}

.chessora:not(.chessora-game-room) .chessora-tabs a.is-active,
.chessora:not(.chessora-game-room) .chessora-tabs a:hover,
.chessora:not(.chessora-game-room) .chessora-tabs a:focus {
  background: rgba(214, 167, 72, 0.16) !important;
  border-color: rgba(214, 167, 72, 0.36) !important;
  color: #fff7dd !important;
}

.chessora-home2-hero,
.chessora-page-head,
.chessora-forum-hero,
.chessora-clubs-hero,
.chessora-club-public-hero,
.chessora-profile-hero,
.chessora-register-hero,
.chessora-correspondence-hero,
.chessora-tournament-hero {
  background:
    radial-gradient(circle at 16% 0, rgba(214, 167, 72, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(214, 167, 72, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22) !important;
  color: #f4f6f2 !important;
}

.chessora:not(.chessora-game-room) h1,
.chessora:not(.chessora-game-room) h2,
.chessora:not(.chessora-game-room) h3,
.chessora:not(.chessora-game-room) strong,
.chessora:not(.chessora-game-room) b,
.chessora:not(.chessora-game-room) .chessora-panel h2,
.chessora:not(.chessora-game-room) .chessora-card h2 {
  color: #fff7dd !important;
}

.chessora:not(.chessora-game-room) p,
.chessora:not(.chessora-game-room) small,
.chessora:not(.chessora-game-room) span,
.chessora:not(.chessora-game-room) .chessora-panel p,
.chessora:not(.chessora-game-room) .chessora-card p {
  color: #aeb8b2 !important;
}

.chessora:not(.chessora-game-room) .chessora-kicker,
.chessora:not(.chessora-game-room) mark,
.chessora:not(.chessora-game-room) em {
  color: #f8d985 !important;
}

.chessora-home2-hero-cards a,
.chessora-home2-playbook,
.chessora-home2-pulse,
.chessora-home2-lanes a,
.chessora-forum-feed,
.chessora-forum-cats,
.chessora-forum-section,
.chessora-forum-topic-list,
.chessora-profile-summary .chessora-panel,
.chessora-profile-panels .chessora-panel,
.chessora-profile-page .chessora-card,
.chessora-profile-edit,
.chessora-register-form,
.chessora-register-side article,
.chessora-club-card,
.chessora-club-directory-card,
.chessora-club-sidebar,
.chessora-club-public-grid .chessora-team-panel,
.chessora-team-room,
.chessora-team-panel,
.chessora-table,
.chessora-correspondence-card,
.chessora-correspondence-board-card,
.chessora-correspondence-active {
  background: rgba(11, 18, 18, 0.92) !important;
  border: 1px solid rgba(214, 167, 72, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2) !important;
  color: #f4f6f2 !important;
}

.chessora-home2-mode-grid a,
.chessora-home2-pulse div,
.chessora-home2-lanes a,
.chessora-forum-topic,
.chessora-forum-room,
.chessora-forum-topic-row,
.chessora-forum-cats a,
.chessora-topic-post,
.chessora-forum-toolbar,
.chessora-forum-form,
.chessora-forum-empty,
.chessora-profile-tags span,
.chessora-activity-feed a,
.chessora-activity-feed div,
.chessora-profile-community a,
.chessora-club-sidebar a,
.chessora-correspondence-rules article,
.chessora-turn-list article,
.chessora-correspondence-lobby article,
.chessora-correspondence-active article,
.chessora-team-roster article,
.chessora-team-post,
.chessora-team-panel > a,
.chessora-table-row:not(.chessora-table-head) {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(214, 167, 72, 0.14) !important;
  border-radius: 7px !important;
  color: #f4f6f2 !important;
}

.chessora-home2-mode-grid a:hover,
.chessora-home2-mode-grid a:focus,
.chessora-home2-lanes a:hover,
.chessora-home2-lanes a:focus,
.chessora-forum-topic:hover,
.chessora-forum-topic:focus,
.chessora-forum-room:hover,
.chessora-forum-room:focus,
.chessora-forum-topic-row:hover,
.chessora-forum-topic-row:focus,
.chessora-forum-cats a:hover,
.chessora-forum-cats a:focus,
.chessora-table-row:not(.chessora-table-head):hover {
  background: rgba(214, 167, 72, 0.1) !important;
  border-color: rgba(214, 167, 72, 0.34) !important;
}

.chessora:not(.chessora-game-room) .chessora-button,
.chessora:not(.chessora-game-room) .chessora-button-primary,
.chessora-correspondence-active a,
.chessora-turn-list a,
.chessora-correspondence-lobby a {
  background: rgba(214, 167, 72, 0.16) !important;
  border: 1px solid rgba(214, 167, 72, 0.36) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #fff7dd !important;
}

.chessora:not(.chessora-game-room) .chessora-button-primary {
  background: linear-gradient(180deg, #d9a441, #9b632c) !important;
  border-color: rgba(248, 217, 133, 0.42) !important;
  color: #101815 !important;
}

.chessora:not(.chessora-game-room) .chessora-button:disabled,
.chessora-team-post-form textarea:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6);
  opacity: 0.58;
}

.chessora:not(.chessora-game-room) input,
.chessora:not(.chessora-game-room) select,
.chessora:not(.chessora-game-room) textarea {
  background: #f4f6f2 !important;
  border: 1px solid rgba(214, 167, 72, 0.24) !important;
  border-radius: 7px !important;
  color: #101815 !important;
}

.chessora-table-head,
.chessora-team-board-table > div:first-child {
  background: rgba(214, 167, 72, 0.12) !important;
  color: #f8d985 !important;
}

.chessora-forum-room-icon,
.chessora-forum-room-stat,
.chessora-forum-staff-badge,
.chessora-forum-pin-badge,
.chessora-profile-avatar,
.chessora-topic-avatar,
.chessora-club-badge,
.chessora-club-mark {
  background: linear-gradient(135deg, #26352f, #d9a441) !important;
  border: 1px solid rgba(214, 167, 72, 0.2) !important;
  color: #fff7dd !important;
}

.chessora-forum-game-embed {
  background: rgba(214, 167, 72, 0.08) !important;
  border: 1px solid rgba(214, 167, 72, 0.18) !important;
  border-radius: 8px !important;
}

.chessora-forum-game-board {
  border-color: rgba(38, 53, 47, 0.95) !important;
}

.chessora-forum-game-board .is-light,
.chessora-home2-board span.is-light,
.chessora-correspondence-board .is-light {
  background: #efd8ad !important;
}

.chessora-forum-game-board .is-dark,
.chessora-home2-board span.is-dark,
.chessora-correspondence-board .is-dark {
  background: #9b632c !important;
}

/* Light correspondence dashboard model */
.chessora-correspondence-page {
  --daily-ink: #111827;
  --daily-muted: #667085;
  --daily-line: #eee4d7;
  --daily-gold: #e2a12c;
  --daily-green: #41ad68;
  --daily-purple: #7558d9;
  background: #fffdf9 !important;
  color: var(--daily-ink) !important;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 420px;
  margin: 0 auto !important;
  max-width: 1500px;
  padding: 30px 34px 40px !important;
}

.chessora-correspondence-page .chessora-tabs,
.chessora-correspondence-page .chessora-correspondence-hero,
.chessora-correspondence-page .chessora-correspondence-shell,
.chessora-correspondence-page .chessora-correspondence-active {
  grid-column: 1;
}

.chessora-correspondence-page .chessora-tabs {
  background: #ffffff !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(39, 31, 18, 0.04) !important;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  padding: 0 !important;
}

.chessora-correspondence-page .chessora-tabs a {
  align-items: center;
  background: #ffffff !important;
  border: 0 !important;
  border-right: 1px solid #f1e8dc !important;
  border-radius: 0 !important;
  color: #111827 !important;
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 68px;
  text-decoration: none;
}

.chessora-correspondence-page .chessora-tabs a:last-child {
  border-right: 0 !important;
}

.chessora-correspondence-page .chessora-tabs a.is-active {
  background: #fff8ea !important;
  box-shadow: inset 0 -3px 0 var(--daily-gold) !important;
  color: #d88912 !important;
}

.chessora-correspondence-hero {
  background:
    radial-gradient(circle at 76% 33%, rgba(237, 183, 72, 0.34), transparent 18%),
    linear-gradient(105deg, #fff9ee 0%, #fff4df 46%, #f3eadb 100%) !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 44px rgba(49, 37, 18, 0.08) !important;
  display: grid !important;
  grid-template-columns: minmax(310px, 0.9fr) minmax(330px, 1fr);
  min-height: 440px;
  overflow: hidden;
  padding: 46px 46px 34px !important;
  position: relative;
}

.chessora-correspondence-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(135deg, rgba(217, 164, 65, 0.22), transparent);
  background-size: 58px 58px, 58px 58px, auto;
  border-radius: 150px 150px 0 0;
  content: "";
  inset: 34px 0 0 38%;
  position: absolute;
}

.chessora-correspondence-hero::after {
  color: #2d3134;
  content: "♞  ♔";
  filter: drop-shadow(0 18px 18px rgba(42, 36, 26, 0.2));
  font-size: clamp(6.5rem, 12vw, 11rem);
  letter-spacing: 26px;
  line-height: 1;
  position: absolute;
  right: 7%;
  top: 35%;
  white-space: nowrap;
}

.chessora-correspondence-hero > div:first-child {
  align-self: center;
  position: relative;
  z-index: 1;
}

.chessora-correspondence-page .chessora-kicker {
  color: #d88912 !important;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chessora-correspondence-hero h1 {
  color: var(--daily-ink) !important;
  font-size: clamp(2.5rem, 5vw, 4.25rem) !important;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 14px 0 18px !important;
  max-width: 540px;
}

.chessora-correspondence-hero p {
  color: #4b5563 !important;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 490px;
}

.chessora-correspondence-stats {
  align-self: end;
  display: grid !important;
  gap: 0;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  position: relative;
  z-index: 1;
}

.chessora-correspondence-stats strong,
.chessora-correspondence-stats span {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid var(--daily-line) !important;
  color: var(--daily-ink) !important;
  text-align: center;
}

.chessora-correspondence-stats strong {
  border-radius: 12px 12px 0 0 !important;
  font-size: 2.2rem;
  padding: 18px 12px 6px;
}

.chessora-correspondence-stats span {
  border-radius: 0 0 12px 12px !important;
  color: #475467 !important;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 8px 12px 14px;
  text-transform: uppercase;
}

.chessora-correspondence-side-summary {
  display: grid;
  gap: 28px;
  grid-column: 2;
  grid-row: 2 / span 2;
}

.chessora-correspondence-profile-card,
.chessora-correspondence-goal-card,
.chessora-correspondence-card,
.chessora-correspondence-board-card,
.chessora-correspondence-active {
  background: #ffffff !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(39, 31, 18, 0.05) !important;
  color: var(--daily-ink) !important;
}

.chessora-correspondence-profile-card {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 82px 1fr;
  padding: 34px;
}

.chessora-correspondence-avatar {
  align-items: center;
  background: linear-gradient(135deg, #f6dfad, #253232);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.45rem;
  font-weight: 950;
  height: 82px;
  justify-content: center;
  width: 82px;
}

.chessora-correspondence-profile-card strong {
  color: var(--daily-ink) !important;
  display: block;
  font-size: 1.35rem;
}

.chessora-correspondence-profile-card a {
  color: #475467 !important;
  font-weight: 800;
  text-decoration: none;
}

.chessora-correspondence-profile-card dl {
  border-top: 1px solid #f0e8dc;
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding-top: 24px;
}

.chessora-correspondence-profile-card dt,
.chessora-correspondence-profile-card dd {
  color: #667085 !important;
  margin: 0;
  text-align: center;
}

.chessora-correspondence-profile-card dt {
  font-size: 0.78rem;
  font-weight: 850;
}

.chessora-correspondence-profile-card dd {
  color: var(--daily-ink) !important;
  font-size: 1.18rem;
  font-weight: 950;
}

.chessora-correspondence-goal-card {
  display: grid;
  gap: 20px;
  padding: 30px 34px;
}

.chessora-correspondence-goal-card header,
.chessora-correspondence-goal-card div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chessora-correspondence-goal-card strong {
  color: #2f9b5c !important;
  font-size: 1.08rem;
}

.chessora-correspondence-goal-card header span {
  align-items: center;
  background: #ecfff3;
  border-radius: 50%;
  color: var(--daily-green) !important;
  display: flex;
  height: 60px;
  justify-content: center;
  width: 60px;
}

.chessora-correspondence-goal-card div span,
.chessora-correspondence-goal-card div b {
  color: var(--daily-ink) !important;
}

.chessora-correspondence-goal-card meter {
  height: 10px;
  width: 100%;
}

.chessora-correspondence-shell {
  align-items: start;
  display: grid !important;
  gap: 28px;
  grid-template-columns: 340px minmax(0, 1fr);
}

.chessora-correspondence-right {
  display: grid;
  gap: 28px;
  grid-column: 2;
}

.chessora-correspondence-left {
  display: grid;
  gap: 28px;
}

.chessora-correspondence-board-card,
.chessora-correspondence-card,
.chessora-correspondence-active {
  padding: 28px !important;
}

.chessora-correspondence-board-head h2,
.chessora-correspondence-card h2,
.chessora-correspondence-active h2 {
  color: var(--daily-ink) !important;
}

.chessora-correspondence-page .chessora-panel-head span,
.chessora-correspondence-page .chessora-panel-head a,
.chessora-correspondence-page p,
.chessora-correspondence-page small,
.chessora-correspondence-page .chessora-correspondence-active span {
  color: var(--daily-muted) !important;
}

.chessora-correspondence-rules {
  display: grid;
  gap: 12px;
}

.chessora-correspondence-rules article,
.chessora-turn-list article,
.chessora-correspondence-lobby article,
.chessora-correspondence-active article {
  background: #ffffff !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgba(39, 31, 18, 0.035) !important;
  color: var(--daily-ink) !important;
}

.chessora-correspondence-rules .fas,
.chessora-correspondence-presets .fas {
  align-items: center;
  background: #fff4dc !important;
  border-radius: 12px;
  color: var(--daily-gold) !important;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.chessora-correspondence-rules strong,
.chessora-turn-list strong,
.chessora-correspondence-lobby strong,
.chessora-correspondence-active strong {
  color: var(--daily-ink) !important;
}

.chessora-correspondence-presets {
  display: grid;
  gap: 12px;
}

.chessora-correspondence-presets a,
.chessora-correspondence-lobby article {
  align-items: center;
  background: #ffffff !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 14px !important;
  color: var(--daily-ink) !important;
  display: grid;
  gap: 6px 16px;
  grid-template-columns: 50px 1fr auto;
  padding: 18px !important;
  text-decoration: none;
}

.chessora-correspondence-presets a::after {
  color: #98a2b3;
  content: "›";
  font-size: 1.6rem;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.chessora-correspondence-presets strong,
.chessora-correspondence-presets small {
  grid-column: 2;
}

.chessora-correspondence-page .chessora-button,
.chessora-correspondence-page .chessora-button-primary,
.chessora-correspondence-active a,
.chessora-turn-list a,
.chessora-correspondence-lobby a {
  background: #fff7e6 !important;
  border: 1px solid #e3a221 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: #b66f08 !important;
  font-weight: 950;
}

.chessora-correspondence-page .chessora-button-primary {
  background: linear-gradient(180deg, #f8d985, #e3a221) !important;
  color: #111827 !important;
}

.chessora-correspondence-active {
  grid-column: 1 / -1;
}

.chessora-correspondence-active .chessora-panel-head {
  align-items: center;
  border-bottom: 1px solid #ead8b8;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.chessora-correspondence-active .chessora-panel-head h2 {
  color: #111827 !important;
  font-size: 1.35rem;
  margin: 0;
}

.chessora-correspondence-active .chessora-panel-head span {
  background: #fff4d5;
  border: 1px solid #e8c878;
  border-radius: 999px;
  color: #7a4d08 !important;
  font-weight: 950;
  padding: 6px 12px;
}

.chessora-correspondence-board-list-head,
.chessora-correspondence-active article {
  display: grid !important;
  grid-template-columns: 1.25fr 1.1fr 0.75fr 1.25fr 1fr 1fr 1fr 120px;
}

.chessora-correspondence-board-list-head {
  background: #f3e6c8 !important;
  border: 1px solid #e7d1a9;
  border-radius: 10px 10px 0 0;
  color: #5f5646 !important;
  font-size: 0.75rem;
  font-weight: 950;
  padding: 13px 16px !important;
  text-transform: uppercase;
}

.chessora-correspondence-active article {
  background: #fffaf0 !important;
  border-color: #ead8b8 !important;
  border-radius: 0 !important;
  color: #111827 !important;
  min-height: 64px;
}

.chessora-correspondence-active article:last-child {
  border-radius: 0 0 10px 10px !important;
}

.chessora-correspondence-active .chessora-board-status,
.chessora-correspondence-active .chessora-board-last {
  background: #fff4d5 !important;
  border-radius: 8px !important;
  color: #7a4d08 !important;
  justify-self: start;
  padding: 7px 12px;
}

.chessora-correspondence-active .chessora-board-last {
  background: #eef8ed !important;
  color: #2f7b45 !important;
}

@media (max-width: 1180px) {
  .chessora-correspondence-page {
    grid-template-columns: 1fr;
  }

  .chessora-correspondence-side-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .chessora-correspondence-shell {
    grid-template-columns: 1fr;
  }

  .chessora-correspondence-right {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .chessora-correspondence-page {
    padding: 18px 12px 28px !important;
  }

  .chessora-correspondence-page .chessora-tabs,
  .chessora-correspondence-stats,
  .chessora-correspondence-profile-card dl {
    grid-template-columns: 1fr;
  }

  .chessora-correspondence-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 24px !important;
  }

  .chessora-correspondence-hero::before,
  .chessora-correspondence-hero::after {
    display: none;
  }

  .chessora-correspondence-board-list-head {
    display: none !important;
  }

  .chessora-correspondence-active article {
    grid-template-columns: 1fr !important;
  }
}

/* Pawn Realm profile redesign, matched to the light account mockup. */
.chessora-profile-page {
  --chessora-ink: #111827;
  --chessora-muted: #667085;
  --chessora-line: #e6eaee;
  --chessora-panel: #ffffff;
  --chessora-soft: #f7faf8;
  --chessora-green: #4fa36d;
  --chessora-green-dark: #23724d;
  --chessora-gold: #d99a2b;
  background: #f8faf9 !important;
  color: #111827 !important;
  margin: 0 auto !important;
  max-width: 1280px;
  padding: 28px 28px 52px !important;
}

.chessora-profile-page *,
.chessora-profile-page *::before,
.chessora-profile-page *::after {
  box-sizing: border-box;
}

.chessora-profile-page .chessora-tabs {
  align-items: stretch;
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 9px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 22px !important;
  max-width: 690px;
  overflow: hidden;
  padding: 0 !important;
}

.chessora-profile-page .chessora-tabs a {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #eef1f3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #344054 !important;
  display: flex;
  font-size: 0.88rem;
  font-weight: 850;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px !important;
  position: relative;
  text-decoration: none;
}

.chessora-profile-page .chessora-tabs a:last-child {
  border-right: 0 !important;
}

.chessora-profile-page .chessora-tabs a::before {
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 14px;
  opacity: 0.68;
  width: 14px;
}

.chessora-profile-page .chessora-tabs a.is-active,
.chessora-profile-page .chessora-tabs a:hover,
.chessora-profile-page .chessora-tabs a:focus {
  background: #fff8ed !important;
  color: #c47c14 !important;
}

.chessora-profile-page .chessora-tabs a.is-active::after {
  background: #d99a2b;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.chessora-profile-page .chessora-profile-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 252, 248, 0.98), rgba(241, 248, 243, 0.94)),
    #f3f8f4 !important;
  border: 1px solid #dce8df !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05) !important;
  color: #111827 !important;
  display: grid !important;
  gap: 28px;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  margin: 0 0 22px !important;
  min-height: 186px;
  overflow: hidden;
  padding: 28px !important;
  position: relative;
}

.chessora-profile-page .chessora-profile-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(79, 163, 109, 0.12)),
    url("/chessora/media/com_chess/images/pieces/wikipedia/wK.png") center / 92px no-repeat;
  content: "";
  inset: 0 190px 0 auto;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
  width: 360px;
}

.chessora-profile-page .chessora-profile-avatar {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16) !important;
  color: #111827 !important;
  height: 126px !important;
  overflow: hidden;
  position: relative;
  width: 126px !important;
  z-index: 1;
}

.chessora-profile-page .chessora-profile-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-profile-page .chessora-profile-avatar span {
  align-items: center;
  background: #101815;
  color: #f8d985 !important;
  display: flex;
  font-size: 2.1rem;
  font-weight: 950;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.chessora-profile-page .chessora-kicker {
  color: #3f8f60 !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  margin: 0 0 12px !important;
  text-transform: uppercase;
}

.chessora-profile-page .chessora-profile-hero h1 {
  color: #111827 !important;
  font-size: 2.45rem !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  margin: 0 0 14px !important;
}

.chessora-profile-page .chessora-profile-hero span {
  color: #344054 !important;
  font-size: 0.95rem !important;
  font-weight: 650;
}

.chessora-profile-page .chessora-profile-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.chessora-profile-page .chessora-profile-actions .chessora-button,
.chessora-profile-page .chessora-profile-actions button {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid #84b99a !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #23724d !important;
  font-weight: 900 !important;
  min-height: 44px;
  padding: 0 22px !important;
}

.chessora-profile-page .chessora-profile-actions .chessora-button::after {
  content: "";
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  height: 7px;
  margin-left: 12px;
  transform: rotate(-45deg);
  width: 7px;
}

.chessora-profile-page .chessora-profile-edit-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #84b99a;
  border-radius: 999px;
  color: #23724d;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 44px;
}

.chessora-profile-page .chessora-profile-edit-icon:hover,
.chessora-profile-page .chessora-profile-edit-icon:focus-visible {
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(35, 114, 77, 0.14);
  outline: 0;
  transform: translateY(-1px);
}

.chessora-profile-page .chessora-profile-edit-icon svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.chessora-profile-page .chessora-profile-rating-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chessora-profile-page .chessora-profile-rating-strip > span {
  align-items: center;
  display: grid !important;
  gap: 4px;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 76px;
  padding: 12px 18px !important;
}

.chessora-profile-page .chessora-profile-rating-strip img {
  background: #fff8e5;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  grid-row: 1 / span 2;
  height: 32px;
  object-fit: contain;
  padding: 7px;
  width: 32px;
}

.chessora-profile-page .chessora-profile-rating-strip strong {
  font-size: 1.3rem;
  line-height: 1;
}

.chessora-profile-page .chessora-profile-rating-strip small {
  font-size: 0.78rem;
}

.chessora-profile-page .chessora-panel,
.chessora-profile-page .chessora-card,
.chessora-profile-page .chessora-profile-edit {
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.045) !important;
  color: #111827 !important;
}

.chessora-profile-page .chessora-profile-edit {
  margin: 0 0 18px !important;
  padding: 26px !important;
}

.chessora-profile-page .chessora-profile-edit h2,
.chessora-profile-page .chessora-panel h2,
.chessora-profile-page .chessora-card h2 {
  color: #111827 !important;
  font-size: 1.08rem !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
}

.chessora-profile-page .chessora-profile-edit > div:first-child > span,
.chessora-profile-page .chessora-panel p,
.chessora-profile-page .chessora-card p {
  color: #667085 !important;
  font-size: 0.9rem !important;
  line-height: 1.55;
}

.chessora-profile-page .chessora-profile-edit-grid {
  display: grid !important;
  gap: 18px 28px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.chessora-profile-page .chessora-profile-edit label {
  color: #344054 !important;
  display: grid !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  gap: 7px;
}

.chessora-profile-page .chessora-profile-edit input,
.chessora-profile-page .chessora-profile-edit select,
.chessora-profile-page .chessora-profile-edit textarea {
  background: #ffffff !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.025) !important;
  color: #111827 !important;
  font-size: 0.92rem !important;
  min-height: 44px;
  outline: none;
  padding: 0 14px !important;
  width: 100%;
}

.chessora-profile-page .chessora-profile-edit textarea {
  line-height: 1.55;
  min-height: 118px;
  padding: 13px 14px !important;
  resize: vertical;
}

.chessora-profile-page .chessora-profile-edit input:focus,
.chessora-profile-page .chessora-profile-edit select:focus,
.chessora-profile-page .chessora-profile-edit textarea:focus {
  border-color: #76b78f !important;
  box-shadow: 0 0 0 3px rgba(79, 163, 109, 0.12) !important;
}

.chessora-profile-page .chessora-profile-edit-wide {
  grid-column: 1 / -1;
}

.chessora-profile-page .chessora-avatar-picker {
  align-items: center;
  border: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
}

.chessora-profile-page .chessora-avatar-picker legend {
  color: #111827 !important;
  flex: 0 0 100%;
  font-size: 0.9rem;
  font-weight: 950;
  margin: 0 0 3px;
}

.chessora-profile-page .chessora-avatar-picker input[type="radio"],
.chessora-profile-page .chessora-avatar-picker input[type="file"] {
  position: absolute;
  transform: scale(0);
}

.chessora-profile-page .chessora-avatar-picker label span {
  align-items: center;
  background: #eef1f3 !important;
  border: 2px solid transparent !important;
  border-radius: 50% !important;
  color: #111827 !important;
  display: flex;
  font-size: 1rem;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  width: 42px;
}

.chessora-profile-page .chessora-avatar-picker input:checked + span {
  border-color: #4fa36d !important;
  box-shadow: 0 0 0 4px rgba(79, 163, 109, 0.14) !important;
}

.chessora-profile-page .chessora-avatar-picker img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-profile-page .chessora-profile-edit > .chessora-button {
  background: #4fa36d !important;
  border: 1px solid #4fa36d !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 20px rgba(79, 163, 109, 0.18) !important;
  color: #ffffff !important;
  font-weight: 950 !important;
  margin-top: 18px;
  min-height: 44px;
  min-width: 230px;
  padding: 0 22px !important;
}

.chessora-profile-summary,
.chessora-profile-panels {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 18px !important;
}

.chessora-profile-page .chessora-profile-summary .chessora-panel,
.chessora-profile-page .chessora-profile-panels .chessora-panel {
  min-height: 210px;
  padding: 24px !important;
}

.chessora-profile-page .chessora-profile-summary .chessora-panel:nth-child(2) {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.chessora-profile-page .chessora-activity-feed {
  display: grid;
  gap: 12px;
  width: 100%;
}

.chessora-profile-page .chessora-activity-feed div,
.chessora-profile-page .chessora-activity-feed a {
  background: transparent !important;
  border: 0 !important;
  color: #111827 !important;
  display: grid;
  gap: 8px;
  padding: 0 !important;
  text-decoration: none;
}

.chessora-profile-page .chessora-activity-feed div::before {
  background: #e5f1e9;
  border-radius: 50%;
  content: "";
  display: block;
  height: 82px;
  margin: 2px auto 10px;
  opacity: 0.8;
  width: 82px;
}

.chessora-profile-page .chessora-activity-feed strong,
.chessora-profile-page .chessora-profile-community strong {
  color: #111827 !important;
  font-size: 1rem;
  font-weight: 950;
}

.chessora-profile-page .chessora-activity-feed span,
.chessora-profile-page .chessora-profile-community span {
  color: #667085 !important;
  line-height: 1.45;
}

.chessora-profile-tags {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  margin-top: 22px !important;
}

.chessora-profile-page .chessora-profile-tags span {
  background: #f8faf9 !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #667085 !important;
  font-size: 0.84rem !important;
  font-weight: 750;
  padding: 8px 12px !important;
}

.chessora-profile-page .chessora-profile-tags strong {
  color: #111827 !important;
  margin-left: 4px;
}

.chessora-profile-page .chessora-grid-5 {
  background: #ffffff;
  border: 1px solid #e6eaee;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.045);
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 18px !important;
  overflow: hidden;
}

.chessora-profile-page .chessora-stat {
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #e6eaee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid;
  gap: 4px;
  min-height: 102px;
  padding: 22px 22px 18px 62px !important;
  position: relative;
}

.chessora-profile-page .chessora-stat:last-child {
  border-right: 0 !important;
}

.chessora-profile-page .chessora-stat::before {
  align-items: center;
  border: 1px solid #d8eadf;
  border-radius: 8px;
  color: #4fa36d;
  content: "";
  display: flex;
  height: 30px;
  justify-content: center;
  left: 22px;
  position: absolute;
  top: 24px;
  width: 30px;
}

.chessora-profile-page .chessora-stat:nth-child(1)::before {
  border-color: #f3cf82;
  color: #d99a2b;
}

.chessora-profile-page .chessora-stat span {
  color: #344054 !important;
  font-size: 0.82rem !important;
  font-weight: 950;
}

.chessora-profile-page .chessora-stat strong {
  color: #111827 !important;
  font-size: 1.8rem !important;
  font-weight: 950 !important;
  line-height: 1;
}

.chessora-profile-page .chessora-stat small {
  color: #667085 !important;
  font-size: 0.82rem !important;
}

.chessora-profile-page .chessora-profile-panels .chessora-panel {
  min-height: 230px;
}

.chessora-profile-page .chessora-profile-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 18px;
  max-width: 1240px;
}

.chessora-profile-page .chessora-profile-section-tabs button {
  background: #ffffff;
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 999px;
  color: #344054;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 950;
  min-height: 38px;
  padding: 0 15px;
}

.chessora-profile-page .chessora-profile-section-tabs button.is-active,
.chessora-profile-page .chessora-profile-section-tabs button:hover,
.chessora-profile-page .chessora-profile-section-tabs button:focus-visible {
  background: #10231b;
  border-color: #d6a748;
  color: #fff7df;
  outline: 0;
}

.chessora-profile-page [data-profile-section-panel]:not(.is-profile-tab-visible) {
  display: none !important;
}

.chessora-profile-page .chessora-profile-games-panel {
  grid-column: 1 / -1;
}

.chessora-profile-page .chessora-realm-progress {
  grid-column: 1 / -1;
}

.chessora-profile-page .chessora-profile-advanced-stats {
  grid-column: 1 / -1;
}

.chessora-profile-page .chessora-profile-advanced-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.chessora-profile-page .chessora-profile-advanced-summary article,
.chessora-profile-page .chessora-profile-advanced-grid section {
  background: linear-gradient(180deg, #ffffff, #fff9ec);
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 8px;
  padding: 14px;
}

.chessora-profile-page .chessora-profile-advanced-summary article {
  display: grid;
  gap: 6px;
  min-height: 112px;
}

.chessora-profile-page .chessora-profile-advanced-summary span,
.chessora-profile-page .chessora-profile-stat-row span,
.chessora-profile-page .chessora-profile-stat-row small {
  color: #667085;
  font-size: .78rem;
  font-weight: 850;
}

.chessora-profile-page .chessora-profile-advanced-summary strong {
  color: #10231b;
  font-size: 1.9rem;
  font-weight: 950;
  line-height: 1;
}

.chessora-profile-page .chessora-profile-advanced-summary small {
  color: #475467;
  font-size: .8rem;
  font-weight: 750;
}

.chessora-profile-page .chessora-profile-advanced-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-profile-page .chessora-profile-advanced-grid h3 {
  color: #111827;
  font-size: .92rem;
  font-weight: 950;
  margin: 0 0 12px;
}

.chessora-profile-page .chessora-profile-stat-row {
  display: grid;
  gap: 5px 10px;
  grid-template-columns: 1fr auto;
  margin-top: 10px;
}

.chessora-profile-page .chessora-profile-stat-row strong {
  color: #126c4d;
  font-size: .95rem;
  font-weight: 950;
}

.chessora-profile-page .chessora-profile-stat-row i {
  background: rgba(16, 35, 27, 0.1);
  border-radius: 999px;
  display: block;
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
}

.chessora-profile-page .chessora-profile-stat-row i b {
  background: linear-gradient(90deg, #126c4d, #d6a748);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--stat-rate, 0%);
}

.chessora-profile-page .chessora-profile-advanced-note p {
  color: #475467;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.45;
  margin: 0 0 10px;
}

.chessora-profile-page .chessora-profile-opening-stats {
  grid-column: 1 / -1;
}

.chessora-profile-page .chessora-profile-opening-empty {
  background: #f8f5ea;
  border: 1px solid rgba(214, 167, 72, 0.2);
  border-radius: 8px;
  padding: 16px;
}

.chessora-profile-page .chessora-profile-opening-empty p {
  color: #667085;
  font-weight: 750;
  margin: 0;
}

.chessora-profile-page .chessora-profile-opening-spotlights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.chessora-profile-page .chessora-profile-opening-spotlights article {
  background: linear-gradient(180deg, #ffffff, #fff9ec);
  border: 1px solid rgba(214, 167, 72, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
}

.chessora-profile-page .chessora-profile-opening-spotlights span,
.chessora-profile-page .chessora-profile-opening-spotlights small {
  color: #667085;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chessora-profile-page .chessora-profile-opening-spotlights strong {
  color: #10231b;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.15;
  min-width: 0;
  overflow-wrap: anywhere;
}

.chessora-profile-page .chessora-profile-opening-table {
  border: 1px solid rgba(16, 35, 27, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.chessora-profile-page .chessora-profile-opening-table-head,
.chessora-profile-page .chessora-profile-opening-table article {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.4fr) minmax(110px, .6fr) minmax(130px, .7fr) minmax(120px, .7fr);
}

.chessora-profile-page .chessora-profile-opening-table-head {
  background: #10231b;
  color: #fff7dd;
  font-size: .76rem;
  font-weight: 950;
  padding: 10px 14px;
  text-transform: uppercase;
}

.chessora-profile-page .chessora-profile-opening-table article {
  background: #fffdf7;
  color: #344054;
  font-size: .9rem;
  font-weight: 800;
  padding: 12px 14px;
}

.chessora-profile-page .chessora-profile-opening-table article + article {
  border-top: 1px solid rgba(16, 35, 27, 0.1);
}

.chessora-profile-page .chessora-profile-opening-table strong,
.chessora-profile-page .chessora-profile-opening-table small {
  display: block;
  min-width: 0;
}

.chessora-profile-page .chessora-profile-opening-table strong {
  color: #10231b;
  font-size: .95rem;
  font-weight: 950;
}

.chessora-profile-page .chessora-profile-opening-table small {
  color: #667085;
  font-size: .75rem;
  font-weight: 750;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.chessora-profile-page .chessora-profile-opening-table b {
  color: #2f7d5c;
  display: block;
  font-size: 1rem;
  font-weight: 950;
  margin-bottom: 5px;
}

.chessora-profile-page .chessora-profile-opening-table i {
  background: #e5e7eb;
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.chessora-profile-page .chessora-profile-opening-table i em {
  background: linear-gradient(90deg, #2f7d5c, #d6a348);
  display: block;
  height: 100%;
  width: var(--stat-rate, 0%);
}

.chessora-profile-page .chessora-realm-progress-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chessora-profile-page .chessora-realm-path {
  background: linear-gradient(180deg, #ffffff, #fff8ea);
  border: 1px solid rgba(214, 167, 72, 0.28);
  border-radius: 8px;
  color: #111827 !important;
  display: grid;
  gap: 9px;
  min-height: 178px;
  padding: 14px;
  position: relative;
  text-decoration: none !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.chessora-profile-page .chessora-realm-path:hover,
.chessora-profile-page .chessora-realm-path:focus-visible {
  border-color: rgba(18, 108, 77, 0.45);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11), inset 0 0 0 1px rgba(214, 167, 72, 0.2);
  outline: 0;
  transform: translateY(-2px);
}

.chessora-profile-page .chessora-realm-path-icon {
  align-items: center;
  background: #10231b;
  border: 1px solid rgba(214, 167, 72, 0.36);
  border-radius: 8px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.chessora-profile-page .chessora-realm-path-icon img {
  display: block;
  height: 25px;
  object-fit: contain;
  width: 25px;
}

.chessora-profile-page .chessora-realm-path-copy {
  display: grid;
  gap: 4px;
}

.chessora-profile-page .chessora-realm-path-copy strong {
  color: #111827 !important;
  font-size: .98rem !important;
  line-height: 1.16;
}

.chessora-profile-page .chessora-realm-path-copy small {
  color: #667085 !important;
  font-size: .78rem !important;
  line-height: 1.35;
}

.chessora-profile-page .chessora-realm-path-level {
  color: #0f6f4f !important;
  font-size: .8rem !important;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chessora-profile-page .chessora-realm-meter {
  background: rgba(16, 35, 27, 0.11);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.chessora-profile-page .chessora-realm-meter span {
  background: linear-gradient(90deg, #126c4d, #d49a2d);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--realm-progress, 0%);
}

.chessora-profile-page .chessora-realm-path-action {
  align-items: center;
  align-self: end;
  background: #fff8e5;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 999px;
  color: #8a5a12 !important;
  display: inline-flex;
  font-size: .78rem !important;
  font-weight: 950;
  justify-self: start;
  min-height: 30px;
  padding: 0 11px;
}

@media (max-width: 1120px) {
  .chessora-profile-page .chessora-realm-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .chessora-profile-page .chessora-realm-progress-grid {
    grid-template-columns: 1fr;
  }

  .chessora-profile-page .chessora-realm-path {
    min-height: 0;
  }
}

.chessora-profile-page .chessora-profile-game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.chessora-profile-page .chessora-profile-game-tabs button,
.chessora-profile-page .chessora-profile-see-more {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e0e5;
  border-radius: 8px;
  color: #344054;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 950;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
}

.chessora-profile-page .chessora-profile-game-tabs button.is-active,
.chessora-profile-page .chessora-profile-see-more {
  background: linear-gradient(180deg, #f0c65e, #d49a2d);
  border-color: #c58a25;
  color: #151008;
}

.chessora-profile-page .chessora-profile-game-tabs span {
  align-items: center;
  background: rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  justify-content: center;
  min-width: 24px;
  padding: 2px 7px;
}

.chessora-profile-page .chessora-history-table {
  display: grid;
  gap: 0;
}

.chessora-profile-page .chessora-history-table[data-profile-panel]:not(.is-active) {
  display: none;
}

.chessora-profile-page .chessora-history-head,
.chessora-profile-page .chessora-history-row {
  display: grid !important;
  grid-template-columns: 48px minmax(92px, 0.7fr) minmax(160px, 1.25fr) minmax(92px, 0.65fr) minmax(210px, 1fr);
}

.chessora-profile-page .chessora-history-head {
  border-bottom: 1px solid #eef1f3;
  color: #667085 !important;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 0 0 10px;
  text-transform: uppercase;
}

.chessora-profile-page .chessora-history-row {
  align-items: center;
  border-bottom: 1px solid #eef1f3;
  border-radius: 10px;
  color: #111827 !important;
  gap: 10px;
  padding: 12px;
  position: relative;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.chessora-profile-page .chessora-history-row:hover,
.chessora-profile-page .chessora-history-row:focus-visible {
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09), inset 0 0 0 1px rgba(214, 167, 72, 0.28);
  outline: 0;
  transform: translateY(-1px);
}

.chessora-profile-page .chessora-history-row.is-ongoing {
  background: linear-gradient(90deg, rgba(214, 167, 72, 0.08), rgba(255, 255, 255, 0));
}

.chessora-profile-page .chessora-history-row.is-ongoing .chessora-history-result strong {
  color: #0f6f4f !important;
}

.chessora-profile-page .chessora-history-row.is-won .chessora-history-result strong {
  color: #11864f !important;
}

.chessora-profile-page .chessora-history-row.is-lost .chessora-history-result strong {
  color: #c13f35 !important;
}

.chessora-profile-page .chessora-history-row.is-draw .chessora-history-result strong {
  color: #6b7280 !important;
}

.chessora-profile-page .chessora-history-row:not(.is-ongoing) {
  grid-template-columns: 48px minmax(92px, 0.7fr) minmax(160px, 1.1fr) minmax(82px, 0.55fr) minmax(150px, 0.9fr) minmax(210px, 1fr) !important;
}

.chessora-profile-page .chessora-profile-finished-table .chessora-history-head {
  grid-template-columns: 48px minmax(92px, 0.7fr) minmax(160px, 1.1fr) minmax(82px, 0.55fr) minmax(150px, 0.9fr) minmax(210px, 1fr) !important;
}

.chessora-profile-page .chessora-history-accuracy[hidden] {
  display: none !important;
}

.chessora-profile-page .chessora-history-accuracy {
  align-items: center;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
}

.chessora-profile-page .chessora-history-accuracy span,
.chessora-profile-analysed-accuracy span {
  background: #07120f;
  border: 1px solid rgba(244, 207, 116, .38);
  border-radius: 7px;
  color: #fff7df;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 7px;
}

.chessora-profile-page .chessora-history-accuracy b,
.chessora-profile-analysed-accuracy b {
  color: #f2d98c;
  font-size: .6rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.chessora-profile-page .chessora-history-accuracy strong,
.chessora-profile-analysed-accuracy strong {
  color: #ffffff !important;
  font-size: .84rem;
  font-weight: 950;
  line-height: 1.05;
}

.chessora-profile-page .chessora-profile-game-rows .is-extra {
  display: none;
}

.chessora-profile-page .chessora-history-table.is-expanded .chessora-profile-game-rows .is-extra {
  display: block;
}

.chessora-profile-page .chessora-profile-see-more {
  justify-self: start;
  margin-top: 12px;
}

.chessora-profile-page .chessora-profile-see-more .is-less,
.chessora-profile-page .chessora-history-table.is-expanded .chessora-profile-see-more .is-more {
  display: none;
}

.chessora-profile-page .chessora-history-table.is-expanded .chessora-profile-see-more .is-less {
  display: inline;
}

.chessora-profile-page .chessora-history-row:last-child {
  border-bottom: 0;
}

.chessora-profile-page .chessora-history-type,
.chessora-profile-page .chessora-history-result strong,
.chessora-profile-page .chessora-history-moves strong {
  background: transparent !important;
  border-radius: 0 !important;
  color: #111827 !important;
  display: block !important;
  font-weight: 950;
  height: auto !important;
  justify-content: initial !important;
  width: auto !important;
}

.chessora-profile-page .chessora-history-type {
  align-items: center;
  background: #fbf2dc;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.chessora-profile-page .chessora-history-type img {
  display: block;
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.chessora-profile-page .chessora-history-control span,
.chessora-profile-page .chessora-history-result span,
.chessora-profile-page .chessora-history-moves span,
.chessora-profile-page .chessora-history-players span {
  color: #667085 !important;
  font-size: 0.82rem !important;
}

.chessora-profile-page .chessora-history-control span {
  color: #111827 !important;
  display: block;
  font-weight: 850;
}

.chessora-profile-page .chessora-history-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-start;
}

.chessora-profile-page .chessora-profile-share-guide {
  align-items: center;
  background: #fff8e5;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr) auto;
  margin: 0 0 14px;
  padding: 12px 14px;
}

.chessora-profile-page .chessora-profile-share-guide strong {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 950;
}

.chessora-profile-page .chessora-profile-share-guide span {
  color: #5f6673;
  font-size: 0.84rem;
  line-height: 1.45;
}

.chessora-profile-page .chessora-profile-share-guide a {
  color: #b67816;
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 760px) {
  .chessora-profile-page .chessora-profile-share-guide {
    grid-template-columns: 1fr;
  }
}

.chessora-profile-page .chessora-history-action,
.chessora-profile-page .chessora-history-share {
  align-items: center;
  background: #fff8e5 !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  border-radius: 999px !important;
  color: #b67816 !important;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  justify-self: start;
  padding: 0 12px !important;
  text-decoration: none !important;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: auto;
}

.chessora-profile-page .chessora-history-action {
  font-size: .78rem !important;
  font-weight: 950 !important;
}

.chessora-profile-page .chessora-history-action.is-review {
  background: #f0c65e !important;
  color: #151008 !important;
}

.chessora-profile-page .chessora-history-share {
  padding: 0 !important;
  width: 34px;
}

.chessora-profile-page .chessora-history-share svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.chessora-profile-page .chessora-history-share:hover,
.chessora-profile-page .chessora-history-share:focus-visible,
.chessora-profile-page .chessora-history-share.is-working,
.chessora-profile-page .chessora-history-action:hover,
.chessora-profile-page .chessora-history-action:focus-visible,
.chessora-profile-page .chessora-history-action.is-working {
  background: #f0c65e !important;
  box-shadow: 0 8px 18px rgba(212, 154, 45, 0.22);
  color: #151008 !important;
  outline: 0;
  transform: translateY(-1px);
}

.chessora-profile-page .chessora-profile-game-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.chessora-profile-page .chessora-profile-game-filters button {
  align-items: center;
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 999px !important;
  color: #344054 !important;
  display: inline-flex;
  font-size: .82rem !important;
  font-weight: 950 !important;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px !important;
}

.chessora-profile-page .chessora-profile-game-filters button.is-active {
  background: #111614 !important;
  border-color: #d6a748 !important;
  color: #fff7df !important;
}

.chessora-profile-page .chessora-profile-game-filters span {
  background: rgba(214, 167, 72, .18);
  border-radius: 999px;
  color: inherit !important;
  min-width: 22px;
  padding: 2px 7px;
  text-align: center;
}

.chessora-profile-page .chessora-profile-game-filter-empty {
  border: 1px dashed #d8dee6;
  border-radius: 8px;
  color: #667085 !important;
  font-weight: 850;
  margin: 12px 0 0;
  padding: 14px;
}

.chessora-profile-page .chessora-history-review {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  color: #111827 !important;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 0 !important;
  text-decoration: none;
}

.chessora-profile-page .chessora-history-row:hover .chessora-profile-mini-board,
.chessora-profile-page .chessora-history-row:focus-visible .chessora-profile-mini-board {
  box-shadow: 0 0 0 2px rgba(214, 167, 72, 0.42);
}

.chessora-profile-page .chessora-profile-mini-board {
  border: 0 !important;
  border-radius: 4px !important;
  height: 42px !important;
  overflow: hidden;
  width: 42px !important;
}

.chessora-profile-page .chessora-profile-mini-board span {
  min-height: 0 !important;
}

.chessora-profile-page .chessora-profile-mini-board .is-light {
  background: #f1ddbe !important;
}

.chessora-profile-page .chessora-profile-mini-board .is-dark {
  background: #dca987 !important;
}

.chessora-profile-page .chessora-profile-community {
  display: grid;
  gap: 12px;
}

.chessora-profile-page .chessora-profile-community a {
  background: #ffffff !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #111827 !important;
  display: grid;
  gap: 7px;
  padding: 18px 20px !important;
  text-decoration: none;
}

.chessora-profile-page .chessora-profile-about {
  display: grid;
  gap: 10px;
}

.chessora-profile-page .chessora-profile-about p {
  margin: 0 !important;
}

.chessora-profile-page .chessora-profile-about details {
  display: grid;
  gap: 10px;
}

.chessora-profile-page .chessora-profile-about summary {
  color: #23724d;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.chessora-profile-page .chessora-profile-about summary::-webkit-details-marker {
  display: none;
}

.chessora-profile-page .chessora-profile-about summary .is-less,
.chessora-profile-page .chessora-profile-about details[open] summary .is-more {
  display: none;
}

.chessora-profile-page .chessora-profile-about details[open] summary .is-less {
  display: inline;
}

@media (max-width: 980px) {
  .chessora-profile-page {
    padding: 22px 16px 40px !important;
  }

  .chessora-profile-page .chessora-profile-hero {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .chessora-profile-page .chessora-profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .chessora-profile-page .chessora-profile-avatar {
    height: 104px !important;
    width: 104px !important;
  }

  .chessora-profile-page .chessora-profile-summary,
  .chessora-profile-page .chessora-profile-panels,
  .chessora-profile-page .chessora-profile-edit-grid {
    grid-template-columns: 1fr;
  }

  .chessora-profile-page .chessora-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chessora-profile-page .chessora-stat:nth-child(2n) {
    border-right: 0 !important;
  }
}

@media (max-width: 640px) {
  .chessora-profile-page .chessora-tabs,
  .chessora-profile-page .chessora-grid-5 {
    grid-template-columns: 1fr;
  }

  .chessora-profile-page .chessora-tabs a,
  .chessora-profile-page .chessora-stat {
    border-right: 0 !important;
    border-bottom: 1px solid #eef1f3 !important;
  }

  .chessora-profile-page .chessora-profile-hero {
    grid-template-columns: 1fr;
    padding: 22px !important;
  }

  .chessora-profile-page .chessora-profile-hero::before {
    display: none;
  }

  .chessora-profile-page .chessora-profile-hero h1 {
    font-size: 2rem !important;
  }

  .chessora-profile-page .chessora-history-head {
    display: none !important;
  }

  .chessora-profile-page .chessora-history-row {
    grid-template-columns: 1fr;
  }
}

body.view-profile .chessora.chessora-profile-page {
  background: #f8faf9 !important;
  color: #111827 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs {
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 9px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045) !important;
  padding: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs a {
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #eef1f3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #344054 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs a.is-active,
body.view-profile .chessora.chessora-profile-page .chessora-tabs a:hover,
body.view-profile .chessora.chessora-profile-page .chessora-tabs a:focus {
  background: #fff8ed !important;
  border-color: #eef1f3 !important;
  color: #c47c14 !important;
}

body.view-profile .chessora.chessora-profile-page h1,
body.view-profile .chessora.chessora-profile-page h2,
body.view-profile .chessora.chessora-profile-page h3,
body.view-profile .chessora.chessora-profile-page strong,
body.view-profile .chessora.chessora-profile-page b {
  color: #111827 !important;
}

body.view-profile .chessora.chessora-profile-page p,
body.view-profile .chessora.chessora-profile-page small,
body.view-profile .chessora.chessora-profile-page span {
  color: #667085 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-kicker {
  color: #3f8f60 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-hero h1,
body.view-profile .chessora.chessora-profile-page .chessora-stat strong,
body.view-profile .chessora.chessora-profile-page .chessora-panel h2,
body.view-profile .chessora.chessora-profile-page .chessora-card h2,
body.view-profile .chessora.chessora-profile-page .chessora-activity-feed strong,
body.view-profile .chessora.chessora-profile-page .chessora-profile-community strong {
  color: #111827 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-hero span,
body.view-profile .chessora.chessora-profile-page .chessora-stat span,
body.view-profile .chessora.chessora-profile-page .chessora-stat small,
body.view-profile .chessora.chessora-profile-page .chessora-panel p,
body.view-profile .chessora.chessora-profile-page .chessora-activity-feed span,
body.view-profile .chessora.chessora-profile-page .chessora-profile-community span {
  color: #667085 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-tags strong,
body.view-profile .chessora.chessora-profile-page .chessora-history-control strong,
body.view-profile .chessora.chessora-profile-page .chessora-history-result strong,
body.view-profile .chessora.chessora-profile-page .chessora-history-moves strong {
  color: #111827 !important;
}

/* Pawn Realm board redesign, matched to the bright playing-room mockup. */
body.view-game .chessora-game-room {
  --room-bg: #f8faf9;
  --room-panel: #ffffff;
  --room-panel-2: #ffffff;
  --room-line: #e6eaee;
  --room-muted: #667085;
  --room-gold: #d99a2b;
  --room-green: #4fa36d;
  --room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px);
  background: #f8faf9 !important;
  color: #111827 !important;
  display: grid !important;
  gap: 26px !important;
  grid-template-columns: 290px minmax(0, 1fr) 300px !important;
  margin: 0 auto !important;
  max-width: 1530px !important;
  min-height: calc(100vh - 112px) !important;
  padding: 34px 38px 54px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room *,
body.view-game .chessora-game-room *::before,
body.view-game .chessora-game-room *::after {
  box-sizing: border-box;
}

body.view-game .chessora-game-room .chessora-room-brand,
body.view-game .chessora-game-room .chessora-room-nav,
body.view-game .chessora-game-room .chessora-premium,
body.view-game .chessora-game-room .chessora-match-bar,
body.view-game .chessora-game-room .chessora-correspondence-board-tools {
  display: none !important;
}

body.view-game .chessora-game-room .chessora-room-sidebar {
  align-content: start !important;
  background: transparent !important;
  border: 0 !important;
  display: grid !important;
  gap: 18px !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.view-game .chessora-game-room .chessora-board-layout {
  display: contents !important;
}

body.view-game .chessora-game-room .chessora-play-stage {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

body.view-game .chessora-game-room .chessora-game-side {
  align-content: start !important;
  display: grid !important;
  gap: 18px !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room .chessora-panel {
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.055) !important;
  color: #111827 !important;
  padding: 20px !important;
}

body.view-game .chessora-game-room .chessora-panel-head {
  border-bottom: 1px solid #eef1f3 !important;
  margin: -2px -20px 16px !important;
  min-height: 40px;
  padding: 0 20px 14px !important;
}

body.view-game .chessora-game-room .chessora-panel-head h2,
body.view-game .chessora-game-room .chessora-panel h2,
body.view-game .chessora-game-room strong,
body.view-game .chessora-game-room b {
  color: #111827 !important;
}

body.view-game .chessora-game-room .chessora-panel-head h2 {
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

body.view-game .chessora-game-room p,
body.view-game .chessora-game-room small,
body.view-game .chessora-game-room span {
  color: #667085 !important;
}

body.view-game .chessora-game-room .chessora-panel-head span,
body.view-game .chessora-game-room .chessora-player-online {
  color: #4fa36d !important;
}

body.view-game .chessora-sidebar-game-info {
  min-height: 248px !important;
}

body.view-game .chessora-h2h-card {
  align-items: center !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1fr !important;
  text-align: left !important;
}

body.view-game .chessora-h2h-card span {
  align-items: center;
  color: #344054 !important;
  display: grid !important;
  font-size: 0.94rem !important;
  font-weight: 850 !important;
  gap: 4px;
  grid-template-columns: 36px 1fr auto;
  min-height: 46px;
}

body.view-game .chessora-h2h-card span::before {
  align-items: center;
  background: #e8f4ed;
  border-radius: 50%;
  color: #4fa36d;
  content: "W";
  display: flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

body.view-game .chessora-h2h-card span:last-child::before {
  background: #fff2d9;
  color: #8d5b13;
  content: "B";
}

body.view-game .chessora-h2h-card span::after {
  color: #3f8f60;
  content: "1362";
  font-weight: 900;
}

body.view-game .chessora-h2h-card strong {
  font-size: 1.5rem !important;
  justify-self: center;
  order: 2;
}

body.view-game .chessora-h2h-card span:first-child {
  order: 1;
}

body.view-game .chessora-h2h-card span:last-child {
  order: 3;
}

body.view-game .chessora-sidebar-spectators {
  min-height: 136px !important;
}

body.view-game .chessora-sidebar-spectators div:last-child {
  display: block !important;
}

body.view-game .chessora-sidebar-spectators div:last-child span,
body.view-game .chessora-chat-lines p {
  background: transparent !important;
  border: 0 !important;
  color: #667085 !important;
  display: block !important;
  font-size: 0.92rem !important;
  font-weight: 650 !important;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.view-game .chessora-sidebar-chat {
  display: grid !important;
  grid-template-rows: auto minmax(240px, 1fr) auto auto !important;
  min-height: 530px !important;
}

body.view-game .chessora-sidebar-chat .chessora-chat-lines {
  margin: 0 !important;
  max-height: none !important;
  min-height: 250px !important;
}

body.view-game .chessora-chat-warning {
  align-items: center;
  background: #f4fbf6 !important;
  border: 1px solid #d8eadf !important;
  border-radius: 8px !important;
  color: #344054 !important;
  display: grid;
  font-size: 0.82rem !important;
  grid-template-columns: 34px 1fr;
  line-height: 1.35 !important;
  margin: 0 0 14px !important;
  min-height: 70px;
  padding: 12px !important;
}

body.view-game .chessora-chat-warning::before {
  align-items: center;
  background: #e8f4ed;
  border-radius: 50%;
  color: #4fa36d;
  content: "";
  display: flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

body.view-game .chessora-chat-form {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: minmax(0, 1fr) 46px !important;
}

body.view-game .chessora-chat-panel input,
body.view-game .chessora-game-room input,
body.view-game .chessora-game-room textarea,
body.view-game .chessora-game-room select {
  background: #ffffff !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #111827 !important;
}

body.view-game .chessora-chat-panel input {
  min-height: 46px !important;
  padding: 0 14px !important;
}

body.view-game .chessora-chat-form .chessora-button {
  align-items: center;
  background: #e8f4ed !important;
  border: 1px solid #d8eadf !important;
  border-radius: 8px !important;
  color: #4fa36d !important;
  display: flex;
  font-size: 0 !important;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 !important;
}

body.view-game .chessora-chat-form .chessora-button span {
  background: transparent !important;
  border: 0 !important;
  color: #4fa36d !important;
  flex: 0 0 auto !important;
  font-size: 1.1rem !important;
}

body.view-game .chessora-game-room .chessora-board-area {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 20px !important;
  justify-items: center !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.view-game .chessora-player-card {
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.055) !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: 44px minmax(0, 1fr) 46px 10px 96px !important;
  min-height: 92px !important;
  padding: 22px 24px !important;
  width: min(100%, calc(var(--room-board-size) + 140px)) !important;
}

body.view-game .chessora-player-avatar,
body.view-game .chessora-spectators span {
  background: #fff2d9 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #111827 !important;
  font-size: 0.86rem !important;
  height: 44px !important;
  width: 44px !important;
}

body.view-game .chessora-player-card[data-player-card="w"] .chessora-player-avatar {
  background: #e8f4ed !important;
  color: #3f8f60 !important;
}

body.view-game .chessora-player-card strong {
  color: #111827 !important;
  font-size: 0.98rem !important;
  line-height: 1.25;
}

body.view-game .chessora-player-card span {
  color: #667085 !important;
  font-size: 0.86rem !important;
  line-height: 1.35;
}

body.view-game .chessora-rating-pill {
  color: #344054 !important;
  display: block !important;
  font-weight: 850 !important;
}

body.view-game .chessora-player-score {
  background: #fbfcfd !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #344054 !important;
  min-height: 46px !important;
  min-width: 46px !important;
}

body.view-game .chessora-player-online {
  background: #4fa36d !important;
  border-radius: 50%;
  height: 8px !important;
  width: 8px !important;
}

body.view-game .chessora-player-card time {
  background: #4fa36d !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 1.45rem !important;
  font-weight: 950 !important;
  min-width: 96px !important;
  padding: 12px 14px !important;
}

body.view-game .chessora-board-frame {
  display: grid !important;
  gap: 5px 12px !important;
  grid-template-columns: 20px var(--room-board-size) !important;
  grid-template-rows: var(--room-board-size) 22px !important;
  position: relative;
}

body.view-game .chessora-board-wrap {
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 9px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.055) !important;
  height: var(--room-board-size) !important;
  padding: 10px !important;
  width: var(--room-board-size) !important;
}

body.view-game .chessora-game-room .chessora-board {
  background:
    conic-gradient(
      var(--chessora-board-light) 0 25%,
      var(--chessora-board-dark) 0 50%,
      var(--chessora-board-light) 0 75%,
      var(--chessora-board-dark) 0 100%
    ) 0 0 / 25% 25% !important;
  border: 1px solid rgba(145, 95, 39, 0.58) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  flex: 0 0 calc(var(--room-board-size) - 20px) !important;
  height: calc(var(--room-board-size) - 20px) !important;
  overflow: hidden;
  width: calc(var(--room-board-size) - 20px) !important;
}

body.view-game .chessora-board .is-light,
body.view-game .chessora-board-square.is-light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 52%),
    #f0d5a5 !important;
}

body.view-game .chessora-board .is-dark,
body.view-game .chessora-board-square.is-dark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 55%),
    #bc8242 !important;
}

body.view-game .chessora-board-coordinates,
body.view-game .chessora-board-ranks {
  color: #667085 !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
}

body.view-game .chessora-board-flip-corner {
  background: #ffffff !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08) !important;
  color: #344054 !important;
  height: 42px !important;
  right: -56px !important;
  width: 42px !important;
}

body.view-game .chessora-move-panel {
  padding: 20px !important;
}

body.view-game .chessora-panel-tabs {
  border-bottom: 0 !important;
  display: flex !important;
  gap: 20px !important;
  margin: 0 0 16px !important;
}

body.view-game .chessora-panel-tabs button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #667085 !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  min-height: 28px !important;
  padding: 0 !important;
  text-transform: uppercase;
}

body.view-game .chessora-panel-tabs button.is-active {
  border-bottom: 2px solid #d99a2b !important;
  color: #111827 !important;
}

body.view-game .chessora-game-room .chessora-moves {
  margin: 0 0 12px !important;
  max-height: 150px !important;
  min-height: 52px;
  padding: 0 !important;
}

body.view-game .chessora-game-room .chessora-moves li,
body.view-game .chessora-game-room .chessora-moves li.is-empty {
  background: #fbfcfd !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #344054 !important;
  display: grid;
  min-height: 46px !important;
  padding: 13px 14px !important;
}

body.view-game .chessora-move-controls {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(5, 1fr) !important;
  margin-top: 10px !important;
}

body.view-game .chessora-move-controls button {
  background: #fbfcfd !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #344054 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  min-height: 46px !important;
}

body.view-game .chessora-move-controls button[data-move-nav="live"] {
  background: #e8f4ed !important;
  border-color: #d8eadf !important;
  color: #3f8f60 !important;
}

body.view-game .chessora-move-controls button[data-download-pgn] {
  grid-column: 1 / 3 !important;
  margin-top: 16px !important;
}

body.view-game .chessora-move-controls button[data-copy-forum-embed] {
  background: #fbfcfd !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #344054 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  grid-column: 3 / 5 !important;
  margin-top: 16px !important;
  min-height: 46px !important;
  opacity: 1 !important;
}

body.view-game .chessora-move-controls button[data-copy-forum-embed]:disabled {
  background: #fbfcfd !important;
  border-color: #dce3e8 !important;
  color: #344054 !important;
  cursor: not-allowed !important;
  filter: saturate(0.76);
}

body.view-game .chessora-board-actions {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1fr !important;
  margin-top: 22px !important;
}

body.view-game .chessora-board-actions .chessora-button,
body.view-game .chessora-postgame-actions .chessora-button {
  align-items: center;
  background: #4fa36d !important;
  border: 1px solid #4fa36d !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  display: flex;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 54px !important;
  padding: 0 18px !important;
  width: 100%;
}

body.view-game .chessora-board-actions .chessora-button-danger {
  display: none !important;
}

body.view-game .chessora-game-room .chessora-button span {
  background: transparent !important;
  border: 0 !important;
  color: inherit !important;
  flex: 0 0 auto !important;
  height: auto !important;
  width: auto !important;
}

body.view-game .chessora-board-actions [data-draw-offer],
body.view-game .chessora-board-actions [data-draw-accept],
body.view-game .chessora-board-actions [data-draw-decline],
body.view-game .chessora-board-actions [data-rematch-accept],
body.view-game .chessora-board-actions [data-rematch-refuse] {
  display: none !important;
}

body.view-game .chessora-postgame-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  margin-top: 14px !important;
}

body.view-game .chessora-postgame-actions .chessora-button,
body.view-game .chessora-board-actions [data-challenge-another],
body.view-game .chessora-button-accent {
  background: #fff8ed !important;
  border: 1px solid #f0d9ae !important;
  color: #111827 !important;
}

body.view-game .chessora-result-popup,
body.view-game .chessora-board-notice {
  background: #ffffff !important;
  border: 1px solid #e6eaee !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16) !important;
  color: #111827 !important;
}

.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) {
  align-items: center !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: minmax(0, 1fr) 132px !important;
  padding: 18px 20px !important;
}

.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) > div {
  display: grid !important;
  gap: 5px !important;
  grid-column: 1 !important;
  min-width: 0 !important;
}

.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) strong,
.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) span,
.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) small {
  display: block !important;
  max-width: none !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) strong {
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

.chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) a {
  align-self: center !important;
  display: inline-flex !important;
  grid-column: 2 !important;
  justify-content: center !important;
  min-height: 46px !important;
  min-width: 0 !important;
  width: 100% !important;
}

@media (max-width: 720px) {
  .chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) {
    grid-template-columns: 1fr !important;
  }

  .chessora-correspondence-page .chessora-correspondence-lobby article:not(.is-empty) a {
    grid-column: 1 !important;
    width: 100% !important;
  }
}

@media (max-width: 1280px) {
  body.view-game .chessora-game-room {
    grid-template-columns: minmax(0, 1fr) 290px !important;
  }

  body.view-game .chessora-game-room .chessora-room-sidebar {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.view-game .chessora-game-room .chessora-play-stage {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.view-game .chessora-game-room .chessora-game-side {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

@media (max-width: 980px) {
  body.view-game .chessora-game-room {
    --room-board-size: min(92vw, 620px);
    grid-template-columns: 1fr !important;
    padding: 20px 14px 36px !important;
  }

  body.view-game .chessora-game-room .chessora-play-stage,
  body.view-game .chessora-game-room .chessora-game-side,
  body.view-game .chessora-game-room .chessora-room-sidebar {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.view-game .chessora-game-room .chessora-room-sidebar {
    grid-template-columns: 1fr !important;
  }

  body.view-game .chessora-player-card {
    grid-template-columns: 44px minmax(0, 1fr) 44px 8px 86px !important;
    padding: 16px !important;
  }

  body.view-game .chessora-board-flip-corner {
    bottom: -54px !important;
    right: 0 !important;
  }
}

@media (max-width: 640px) {
  body.view-game .chessora-game-room {
    --room-board-size: min(92vw, 480px);
  }

  body.view-game .chessora-player-card {
    grid-template-columns: 40px minmax(0, 1fr) 80px !important;
  }

  body.view-game .chessora-player-score,
  body.view-game .chessora-player-online {
    display: none !important;
  }
}

body.view-game .chessora-game-room.is-creating-game [data-game-live-only],
body.view-game .chessora-game-room.is-creating-game .chessora-match-bar,
body.view-game .chessora-game-room.is-creating-game .chessora-board-area,
body.view-game .chessora-game-room.is-creating-game .chessora-player-card {
  display: none !important;
}

/* New Game is a lobby/setup screen only: no board, no promo rail. */
body.view-game .chessora-game-room.is-creating-game {
  align-items: start !important;
  background: #f7f8f6 !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: minmax(240px, 300px) minmax(0, 760px) !important;
  margin: 0 auto !important;
  max-width: 1120px !important;
  min-height: 0 !important;
  padding: 28px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-room-sidebar {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  gap: 16px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-setup-brief {
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-room-brand,
body.view-game .chessora-game-room.is-creating-game .chessora-room-nav,
body.view-game .chessora-game-room.is-creating-game .chessora-premium,
body.view-game .chessora-game-room.is-creating-game .chessora-sidebar-game-info,
body.view-game .chessora-game-room.is-creating-game .chessora-sidebar-spectators,
body.view-game .chessora-game-room.is-creating-game .chessora-sidebar-chat,
body.view-game .chessora-game-room.is-creating-game .chessora-correspondence-board-tools,
body.view-game .chessora-game-room.is-creating-game .chessora-play-stage,
body.view-game .chessora-game-room.is-creating-game .chessora-setup-right-rail,
body.view-game .chessora-game-room.is-creating-game .chessora-quick-play-hero,
body.view-game .chessora-game-room.is-creating-game .chessora-live-setup-cards,
body.view-game .chessora-game-room.is-creating-game .chessora-playing-zone-guide {
  display: none !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-board-layout {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-game-side {
  display: block !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
  background: #ffffff !important;
  border: 1px solid #eadfce !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07) !important;
  color: #171717 !important;
  display: grid !important;
  gap: 16px !important;
  padding: 22px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel::before {
  color: #171717 !important;
  content: "Choose time control" !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  margin-bottom: 2px !important;
  text-transform: uppercase !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-select:first-of-type {
  align-items: center !important;
  background: #fff8ea !important;
  border: 1px solid #eadfce !important;
  border-radius: 10px !important;
  color: #171717 !important;
  display: flex !important;
  justify-content: space-between !important;
  min-height: 48px !important;
  padding: 0 14px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-group div {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-group button,
body.view-game .chessora-game-room.is-creating-game .chessora-custom-toggle {
  min-height: 52px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-custom-toggle {
  width: min(100%, 220px) !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-setup-brief,
body.view-game .chessora-game-room.is-creating-game .chessora-create-select {
  display: none !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches {
  display: none !important;
}

body.view-game .chessora-game-room.is-creating-game {
  grid-template-columns: minmax(250px, 320px) minmax(0, 900px) !important;
  isolation: isolate !important;
  max-width: 1280px !important;
  overflow: clip !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-board-layout {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 2 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-room-sidebar,
body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
  max-width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 900px) {
  body.view-game .chessora-game-room.is-creating-game {
    grid-template-columns: 1fr !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-board-layout,
  body.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
  body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning,
  body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
  body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
  body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
    grid-column: 1 !important;
    position: static !important;
  }

  body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
  body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
  body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
    grid-row: 2 !important;
    margin: 0 !important;
  }
}

body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table::after {
  content: none !important;
  display: none !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel {
  align-self: start !important;
  background:
    linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
    #ffffff !important;
  border: 1px solid rgba(241, 207, 119, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06) !important;
  color: #5f6b62 !important;
  display: grid !important;
  gap: 10px !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding: 14px !important;
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
  align-self: start !important;
  background:
    linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
    #0d1714 !important;
  border: 1px solid rgba(241, 207, 119, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06) !important;
  color: #bfc8bd !important;
  display: grid !important;
  gap: 12px !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  margin: 0 !important;
  padding: 14px !important;
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel .chessora-create-section-head {
  border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
  padding-bottom: 10px !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel strong {
  color: #fff7d7 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel p {
  align-items: flex-start !important;
  color: #bfc8bd !important;
  display: grid !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  gap: 10px !important;
  grid-template-columns: 28px 1fr !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel .chessora-button {
  justify-self: start !important;
  min-height: 42px !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel .chessora-etiquette-icon {
  align-items: center !important;
  background: linear-gradient(135deg, rgba(241, 207, 119, 0.32), rgba(214, 162, 59, 0.14)) !important;
  border: 1px solid rgba(241, 207, 119, 0.35) !important;
  border-radius: 999px !important;
  color: #f1cf77 !important;
  display: inline-flex !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  height: 28px !important;
  justify-content: center !important;
  line-height: 1 !important;
  width: 28px !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel .chessora-create-section-head {
  border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
  padding-bottom: 10px !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel strong {
  color: #171717 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel p {
  align-items: flex-start !important;
  color: #5f6b62 !important;
  display: grid !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  gap: 10px !important;
  grid-template-columns: 28px 1fr !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel .chessora-etiquette-icon {
  align-items: center !important;
  background: linear-gradient(135deg, rgba(241, 207, 119, 0.32), rgba(214, 162, 59, 0.14)) !important;
  border: 1px solid rgba(174, 126, 38, 0.24) !important;
  border-radius: 999px !important;
  color: #8a5b15 !important;
  display: inline-flex !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  height: 28px !important;
  justify-content: center !important;
  line-height: 1 !important;
  width: 28px !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-create-section-head span {
  background: #e0f6df !important;
  border: 1px solid #75c477 !important;
  border-radius: 999px !important;
  color: #275b2d !important;
  font-weight: 950 !important;
  padding: 6px 12px !important;
  text-shadow: none !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table {
  background: #ffffff !important;
  border: 1px solid #eadfce !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06) !important;
  color: #171717 !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding: 18px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-open-match-table {
  background: #ffffff !important;
  border: 1px solid #eadfce !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-open-match-row {
  color: #171717 !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1.5fr) 90px 90px 120px 82px !important;
  min-height: 58px !important;
  padding: 14px 16px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-open-match-head {
  background: #f6ecd3 !important;
  color: #5c5548 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-open-match-empty {
  background: #fffaf1 !important;
  border: 0 !important;
  color: #171717 !important;
  display: grid !important;
  gap: 4px !important;
  padding: 18px !important;
}

@media (max-width: 900px) {
  body.view-game .chessora-game-room.is-creating-game {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-board-layout,
  body.view-game .chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table {
    grid-column: 1 !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-open-match-row {
    grid-template-columns: 1fr !important;
  }
}

/* Pawn Realm forum light theme */
html body .chessora.chessora-forum-page {
  --forum-bg: #fffdf9;
  --forum-card: #ffffff;
  --forum-text: #121826;
  --forum-muted: #5f6b7a;
  --forum-line: #eadfce;
  --forum-soft-line: #eef1f4;
  --forum-green: #3f9d59;
  --forum-gold: #eba31d;
  --forum-purple: #8766d8;
  --forum-blue: #3286d9;
  background:
    radial-gradient(circle at 16% 8%, rgba(238, 163, 29, 0.08), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(63, 157, 89, 0.08), transparent 24%),
    var(--forum-bg) !important;
  color: var(--forum-text) !important;
  display: grid !important;
  gap: 28px !important;
  margin: 0 auto !important;
  max-width: 1220px !important;
  padding: 30px 20px 54px !important;
}

html body .chessora.chessora-forum-page *,
html body .chessora.chessora-forum-page *::before,
html body .chessora.chessora-forum-page *::after {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero {
  align-items: center !important;
  background:
    radial-gradient(circle at 61% 40%, rgba(238, 163, 29, 0.16), transparent 18%),
    linear-gradient(100deg, #ffffff 0%, #fffaf1 55%, #ffffff 100%) !important;
  border: 1px solid var(--forum-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06) !important;
  color: var(--forum-text) !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1fr) 320px 150px !important;
  min-height: 188px !important;
  overflow: hidden !important;
  padding: 34px 34px !important;
  position: relative !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 1px, transparent 1px),
    radial-gradient(circle at 70% 44%, rgba(63, 157, 89, 0.15), transparent 21%),
    linear-gradient(135deg, rgba(238, 163, 29, 0.18), rgba(63, 157, 89, 0.1));
  background-size: 58px 58px, 58px 58px, auto, auto;
  border-radius: 120px 0 0 0;
  bottom: 0;
  content: "";
  height: 150px;
  opacity: 0.92;
  position: absolute;
  right: 170px;
  width: 360px;
}

html body .chessora.chessora-forum-page .chessora-forum-hero::after {
  color: rgba(18, 24, 38, 0.74);
  content: "\2659  \265F";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 242px;
  text-shadow: 0 16px 30px rgba(17, 24, 39, 0.14);
  top: 48px;
  white-space: nowrap;
}

html body .chessora.chessora-forum-page .chessora-forum-hero > div {
  position: relative !important;
  z-index: 1 !important;
}

html body .chessora.chessora-forum-page .chessora-kicker,
html body .chessora.chessora-forum-page .chessora-forum-section h2,
html body .chessora.chessora-forum-page .chessora-forum-topic-list h2 {
  color: var(--forum-green) !important;
}

html body .chessora.chessora-forum-page .chessora-kicker {
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  margin: 0 0 10px !important;
  text-transform: uppercase !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero h1 {
  color: var(--forum-text) !important;
  font-size: clamp(2.25rem, 4vw, 3.7rem) !important;
  font-weight: 950 !important;
  line-height: 0.98 !important;
  margin: 0 0 18px !important;
  max-width: 560px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero span,
html body .chessora.chessora-forum-page .chessora-forum-section p,
html body .chessora.chessora-forum-page .chessora-forum-topic-list p,
html body .chessora.chessora-forum-page .chessora-forum-room-main small,
html body .chessora.chessora-forum-page .chessora-forum-topic-row small,
html body .chessora.chessora-forum-page .chessora-forum-cats span,
html body .chessora.chessora-forum-page .chessora-forum-form p,
html body .chessora.chessora-forum-page .chessora-forum-empty span {
  color: var(--forum-muted) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero span {
  display: block !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  max-width: 650px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero-actions {
  align-items: center !important;
  display: flex !important;
  justify-content: flex-end !important;
}

html body .chessora.chessora-forum-page .chessora-button,
html body .chessora.chessora-forum-page .chessora-button-primary,
html body .chessora.chessora-forum-page .chessora-forum-form .chessora-button-primary {
  align-items: center !important;
  background: var(--forum-green) !important;
  border: 1px solid var(--forum-green) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 22px rgba(63, 157, 89, 0.18) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-weight: 900 !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 11px 22px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-button:not(.chessora-button-primary) {
  background: #ffffff !important;
  border-color: var(--forum-line) !important;
  box-shadow: none !important;
  color: var(--forum-text) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-layout {
  align-items: start !important;
  display: grid !important;
  gap: 32px !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-feed,
html body .chessora.chessora-forum-page .chessora-forum-cats {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-index {
  display: grid !important;
  gap: 24px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section,
html body .chessora.chessora-forum-page .chessora-forum-topic-list,
html body .chessora.chessora-forum-page .chessora-forum-form,
html body .chessora.chessora-forum-page .chessora-forum-empty,
html body .chessora.chessora-forum-page .chessora-topic-post {
  background: var(--forum-card) !important;
  border: 1px solid var(--forum-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.045) !important;
  color: var(--forum-text) !important;
  overflow: hidden !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section > header,
html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
  align-items: start !important;
  background: linear-gradient(180deg, #ffffff, #fffefd) !important;
  border-bottom: 1px solid var(--forum-soft-line) !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
  padding: 24px 24px 20px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section h2,
html body .chessora.chessora-forum-page .chessora-forum-topic-list h2,
html body .chessora.chessora-forum-page .chessora-forum-form h2,
html body .chessora.chessora-forum-page .chessora-forum-cats h2,
html body .chessora.chessora-forum-page .chessora-forum-toolbar strong {
  font-size: 1.08rem !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section p,
html body .chessora.chessora-forum-page .chessora-forum-topic-list p {
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin: 6px 0 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section > header > span,
html body .chessora.chessora-forum-page .chessora-forum-topic-list > header > span {
  background: #f2eafa !important;
  border: 1px solid #eadcff !important;
  border-radius: 999px !important;
  color: var(--forum-purple) !important;
  flex: 0 0 auto !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  padding: 7px 13px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room,
html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  align-items: center !important;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid var(--forum-soft-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--forum-text) !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 54px minmax(0, 1fr) 86px 86px auto !important;
  min-height: 88px !important;
  padding: 18px 22px !important;
  text-decoration: none !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  grid-template-columns: minmax(0, 1fr) auto 86px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room:last-child,
html body .chessora.chessora-forum-page .chessora-forum-topic-row:last-child {
  border-bottom: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room:hover,
html body .chessora.chessora-forum-page .chessora-forum-room:focus,
html body .chessora.chessora-forum-page .chessora-forum-topic-row:hover,
html body .chessora.chessora-forum-page .chessora-forum-topic-row:focus {
  background: #fffaf1 !important;
  outline: 0 !important;
  transform: translateY(-1px) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-icon {
  align-items: center !important;
  background: #e8f8ee !important;
  border: 1px solid #d7efdf !important;
  border-radius: 12px !important;
  color: var(--forum-green) !important;
  display: inline-flex !important;
  font-size: 1.2rem !important;
  height: 48px !important;
  justify-content: center !important;
  width: 48px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section:nth-of-type(2) .chessora-forum-room-icon {
  background: #f2eafa !important;
  border-color: #eadcff !important;
  color: var(--forum-purple) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section:nth-of-type(3) .chessora-forum-room-icon {
  background: #fff4d7 !important;
  border-color: #f3dfac !important;
  color: #bf7a02 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section:nth-of-type(4) .chessora-forum-room-icon {
  background: #eaf4ff !important;
  border-color: #d7e9fb !important;
  color: var(--forum-blue) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-main {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-main strong,
html body .chessora.chessora-forum-page .chessora-forum-topic-row strong,
html body .chessora.chessora-forum-page .chessora-topic-post strong,
html body .chessora.chessora-forum-page .chessora-forum-empty strong {
  color: var(--forum-text) !important;
  font-size: 0.98rem !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-main small,
html body .chessora.chessora-forum-page .chessora-forum-topic-row small {
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat {
  align-items: center !important;
  background: #f8faf9 !important;
  border: 1px solid #eef1f0 !important;
  border-radius: 10px !important;
  color: var(--forum-text) !important;
  display: grid !important;
  gap: 2px !important;
  justify-items: center !important;
  min-height: 58px !important;
  min-width: 74px !important;
  padding: 8px 10px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat b {
  color: var(--forum-text) !important;
  font-size: 1.02rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat small {
  color: var(--forum-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-staff-badge,
html body .chessora.chessora-forum-page .chessora-forum-pin-badge,
html body .chessora.chessora-forum-page .chessora-forum-cats a em {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  font-size: 0.72rem !important;
  font-style: normal !important;
  font-weight: 950 !important;
  justify-content: center !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  padding: 7px 10px !important;
  text-transform: uppercase !important;
}

html body .chessora.chessora-forum-page .chessora-forum-staff-badge,
html body .chessora.chessora-forum-page .chessora-forum-cats a em:last-child {
  background: #fff4d7 !important;
  border: 1px solid #f3dfac !important;
  color: #b56f00 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-pin-badge,
html body .chessora.chessora-forum-page .chessora-forum-cats a em:first-of-type {
  background: #e8f8ee !important;
  border: 1px solid #d7efdf !important;
  color: #2f8b45 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats {
  background: #ffffff !important;
  border: 1px solid var(--forum-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.045) !important;
  padding: 22px !important;
  position: sticky !important;
  top: 96px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats h2 {
  color: var(--forum-text) !important;
  margin: 0 0 12px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--forum-soft-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--forum-text) !important;
  display: grid !important;
  gap: 4px 14px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  padding: 16px 0 !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a:last-child {
  border-bottom: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a::before {
  align-items: center !important;
  background: #e8f8ee !important;
  border: 1px solid #d7efdf !important;
  border-radius: 10px !important;
  color: var(--forum-green) !important;
  content: "\f086" !important;
  display: inline-flex !important;
  font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  grid-row: 1 / 5 !important;
  height: 38px !important;
  justify-content: center !important;
  width: 38px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a:nth-of-type(2n)::before {
  background: #f2eafa !important;
  border-color: #eadcff !important;
  color: var(--forum-purple) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a:nth-of-type(3n)::before {
  background: #eaf4ff !important;
  border-color: #d7e9fb !important;
  color: var(--forum-blue) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a:nth-of-type(4n)::before {
  background: #fff4d7 !important;
  border-color: #f3dfac !important;
  color: #bf7a02 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a strong {
  color: var(--forum-text) !important;
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a span {
  display: block !important;
  font-size: 0.82rem !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-cats a em {
  justify-self: start !important;
  margin-top: 2px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-create {
  align-items: center !important;
  background: linear-gradient(100deg, #ffffff, #f6fbf7) !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  margin-top: 24px !important;
  padding: 24px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-create h2,
html body .chessora.chessora-forum-page .chessora-forum-create p {
  grid-column: 1 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-create .chessora-button,
html body .chessora.chessora-forum-page .chessora-forum-create button {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-form:not(.chessora-forum-create) {
  display: grid !important;
  gap: 14px !important;
  margin-top: 22px !important;
  padding: 24px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-form label {
  color: var(--forum-text) !important;
  display: grid !important;
  gap: 7px !important;
  font-weight: 850 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-form input,
html body .chessora.chessora-forum-page .chessora-forum-form select,
html body .chessora.chessora-forum-page .chessora-forum-form textarea {
  background: #ffffff !important;
  border: 1px solid #dfe5ea !important;
  border-radius: 8px !important;
  color: var(--forum-text) !important;
  min-height: 44px !important;
  padding: 12px 14px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-toolbar {
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid var(--forum-line) !important;
  border-radius: 12px !important;
  color: var(--forum-text) !important;
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding: 18px 20px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-posts {
  display: grid !important;
  gap: 16px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  padding: 20px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-avatar {
  align-items: center !important;
  background: linear-gradient(180deg, #f6c95c, #de9821) !important;
  border-radius: 50% !important;
  color: #111827 !important;
  display: flex !important;
  font-weight: 950 !important;
  height: 44px !important;
  justify-content: center !important;
  width: 44px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post header {
  align-items: center !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post-body {
  color: #2f3a49 !important;
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-game-embed {
  background: #fffaf1 !important;
  border: 1px solid #f0d9ae !important;
  border-radius: 12px !important;
  color: var(--forum-text) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-empty {
  display: grid !important;
  gap: 6px !important;
  padding: 22px !important;
}

@media (max-width: 1100px) {
  html body .chessora.chessora-forum-page .chessora-forum-hero {
    grid-template-columns: minmax(0, 1fr) 150px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero::before,
  html body .chessora.chessora-forum-page .chessora-forum-hero::after {
    display: none !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-layout {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-cats {
    position: static !important;
  }
}

@media (max-width: 760px) {
  html body .chessora.chessora-forum-page {
    gap: 18px !important;
    padding: 18px 12px 42px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 24px 20px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero h1 {
    font-size: 2.25rem !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero-actions {
    justify-content: flex-start !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-section > header,
  html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
    display: grid !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-room,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    padding: 16px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-topic-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-room-stat,
  html body .chessora.chessora-forum-page .chessora-forum-staff-badge {
    grid-column: 2 !important;
    justify-self: start !important;
    min-height: 42px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-create {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-create .chessora-button,
  html body .chessora.chessora-forum-page .chessora-forum-create button {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
}

/* Pawn Realm dark theme override: visual-only layer, appended after page redesigns. */
html body.com_chess,
html body.com-chess,
html body.view-tournaments,
html body.view-forum,
html body.view-game {
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 164, 65, 0.1), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(44, 126, 88, 0.12), transparent 28%),
    #07100e !important;
  color: #f4f1e7 !important;
}

html body.com_chess #sp-header,
html body.com-chess #sp-header,
html body.com_chess .clean-header,
html body.com-chess .clean-header,
html body.com_chess header,
html body.com-chess header {
  background: rgba(7, 16, 14, 0.96) !important;
  border-color: rgba(217, 164, 65, 0.18) !important;
  color: #f4f1e7 !important;
}

html body.com_chess .container,
html body.com-chess .container {
  background: transparent !important;
}

html body.com_chess a,
html body.com-chess a {
  color: #f6cf74;
}

html body.com_chess input,
html body.com_chess select,
html body.com_chess textarea,
html body.com-chess input,
html body.com-chess select,
html body.com-chess textarea {
  background: #101a17 !important;
  border-color: rgba(217, 164, 65, 0.24) !important;
  color: #f7f0dc !important;
}

html body.com_chess input::placeholder,
html body.com_chess textarea::placeholder,
html body.com-chess input::placeholder,
html body.com-chess textarea::placeholder {
  color: #8e9a93 !important;
}

.chessora,
.chessora.chessora-tournaments-page,
html body .chessora.chessora-forum-page {
  --chessora-ink: #f7f0dc;
  --chessora-muted: #aeb9b2;
  --chessora-line: rgba(217, 164, 65, 0.22);
  --chessora-panel: #0d1714;
  --chessora-soft: #101d18;
  --chessora-green: #53b56b;
  --chessora-green-dark: #82d496;
  --chessora-gold: #d9a441;
  --chessora-red: #e96b62;
  background: transparent !important;
  color: #f7f0dc !important;
}

.chessora .chessora-page-head,
.chessora .chessora-hero,
.chessora .chessora-card,
.chessora .chessora-panel,
.chessora .chessora-room-panel,
.chessora .chessora-tournament-detail,
.chessora .chessora-tournament-list,
.chessora .chessora-tournament-create,
.chessora .chessora-guide-panel,
.chessora .chessora-format-panel,
.chessora .chessora-chat-panel,
.chessora .chessora-player-card,
.chessora .chessora-create-panel,
.chessora .chessora-open-matches,
html body .chessora.chessora-forum-page .chessora-forum-hero,
html body .chessora.chessora-forum-page .chessora-forum-section,
html body .chessora.chessora-forum-page .chessora-forum-topic-list,
html body .chessora.chessora-forum-page .chessora-forum-form,
html body .chessora.chessora-forum-page .chessora-forum-empty,
html body .chessora.chessora-forum-page .chessora-forum-cats,
html body .chessora.chessora-forum-page .chessora-topic-post,
html body .chessora.chessora-forum-page .chessora-forum-create,
html body .chessora.chessora-forum-page .chessora-forum-toolbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    #0d1714 !important;
  border-color: rgba(217, 164, 65, 0.22) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28) !important;
  color: #f7f0dc !important;
}

.chessora .chessora-page-head,
.chessora .chessora-hero,
.chessora .chessora-tournament-hero,
html body .chessora.chessora-forum-page .chessora-forum-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(217, 164, 65, 0.16), transparent 26%),
    linear-gradient(110deg, #101b17 0%, #0b1411 54%, #151207 100%) !important;
}

.chessora h1,
.chessora h2,
.chessora h3,
.chessora h4,
.chessora strong,
.chessora .chessora-page-head h1,
.chessora .chessora-hero h1,
.chessora .chessora-tournament-hero h1,
html body .chessora.chessora-forum-page h1,
html body .chessora.chessora-forum-page h2,
html body .chessora.chessora-forum-page .chessora-forum-room-main strong,
html body .chessora.chessora-forum-page .chessora-forum-topic-row strong {
  color: #fff7dd !important;
}

.chessora p,
.chessora span,
.chessora small,
.chessora .chessora-muted,
.chessora .chessora-card p,
.chessora .chessora-panel p,
.chessora .chessora-page-head p,
.chessora .chessora-hero p,
.chessora .chessora-tournament-hero p,
.chessora .chessora-guide-panel header p,
.chessora .chessora-guide-panel article p,
html body .chessora.chessora-forum-page p,
html body .chessora.chessora-forum-page small,
html body .chessora.chessora-forum-page span,
html body .chessora.chessora-forum-page .chessora-topic-post-body {
  color: #b9c5bd !important;
}

.chessora .chessora-kicker,
.chessora .chessora-badge,
.chessora mark,
.chessora .chessora-status,
.chessora .chessora-pill,
html body .chessora.chessora-forum-page .chessora-kicker,
html body .chessora.chessora-forum-page .chessora-forum-room-stat,
html body .chessora.chessora-forum-page .chessora-forum-staff-badge,
html body .chessora.chessora-forum-page .chessora-forum-pin-badge,
html body .chessora.chessora-forum-page .chessora-forum-cats a em {
  background: rgba(217, 164, 65, 0.14) !important;
  border-color: rgba(217, 164, 65, 0.35) !important;
  color: #f8d985 !important;
}

.chessora .chessora-button,
.chessora button,
.chessora input[type="submit"],
html body .chessora.chessora-forum-page .chessora-button,
html body .chessora.chessora-forum-page button {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.62) !important;
  color: #151008 !important;
  text-shadow: none !important;
}

.chessora .chessora-button:disabled,
.chessora button:disabled,
.chessora .is-disabled,
.chessora [aria-disabled="true"] {
  background: #25302c !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #8f9a93 !important;
}

.chessora .chessora-tabs,
.chessora .chessora-segmented,
.chessora .chessora-create-select,
.chessora .chessora-tournament-row,
.chessora .chessora-calendar-row,
.chessora .chessora-table,
.chessora .chessora-table-row,
.chessora .chessora-open-match-table,
.chessora .chessora-open-match-row,
html body .chessora.chessora-forum-page .chessora-forum-room,
html body .chessora.chessora-forum-page .chessora-forum-topic-row,
html body .chessora.chessora-forum-page .chessora-forum-cats a,
html body .chessora.chessora-forum-page .chessora-forum-game-embed {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(217, 164, 65, 0.18) !important;
  color: #f7f0dc !important;
}

.chessora .chessora-table-head,
.chessora .chessora-open-match-head,
.chessora .chessora-tournament-row:hover,
.chessora .chessora-tournament-row.is-active,
html body .chessora.chessora-forum-page .chessora-forum-section > header,
html body .chessora.chessora-forum-page .chessora-forum-topic-list > header,
html body .chessora.chessora-forum-page .chessora-forum-room:hover,
html body .chessora.chessora-forum-page .chessora-forum-topic-row:hover {
  background: rgba(217, 164, 65, 0.1) !important;
  border-color: rgba(217, 164, 65, 0.34) !important;
  color: #fff7dd !important;
}

.chessora .chessora-tabs a,
.chessora .chessora-tabs button {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #dbe5df !important;
}

.chessora .chessora-tabs a.is-active,
.chessora .chessora-tabs button.is-active {
  background: rgba(217, 164, 65, 0.2) !important;
  border-color: rgba(217, 164, 65, 0.5) !important;
  color: #f8d985 !important;
}

.chessora .chessora-guide-panel article {
  background: #13251f !important;
  border-color: rgba(217, 164, 65, 0.2) !important;
}

.chessora .chessora-guide-panel article strong {
  color: #f8d985 !important;
}

body.view-game .chessora-game-room {
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 164, 65, 0.1), transparent 30%),
    #07100e !important;
  color: #f7f0dc !important;
}

body.view-game .chessora-game-room .chessora-room-sidebar,
body.view-game .chessora-game-room .chessora-game-side,
body.view-game .chessora-game-room .chessora-play-stage,
body.view-game .chessora-game-room .chessora-board-wrap,
body.view-game .chessora-game-room .chessora-move-panel,
body.view-game .chessora-game-room .chessora-result-popup,
body.view-game .chessora-game-room .chessora-board-notice,
body.view-game .chessora-game-room .chessora-challenge-confirmation {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    #0d1714 !important;
  border-color: rgba(217, 164, 65, 0.22) !important;
  color: #f7f0dc !important;
}

body.view-game .chessora-game-room .chessora-board,
body.view-game .chessora-game-room .chessora-board-wrap {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42) !important;
}

body.view-game .chessora-game-room .chessora-board-coordinates,
body.view-game .chessora-game-room .chessora-board-ranks {
  color: #aeb9b2 !important;
}

body.view-game .chessora-game-room .chessora-moves li,
body.view-game .chessora-game-room .chessora-move-controls button,
body.view-game .chessora-game-room .chessora-board-actions .chessora-button,
body.view-game .chessora-game-room .chessora-postgame-actions .chessora-button {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(217, 164, 65, 0.2) !important;
  color: #f7f0dc !important;
}

body.view-game .chessora-game-room .chessora-result-popup {
  gap: 14px !important;
  text-align: left !important;
  width: min(520px, calc(100% - 28px)) !important;
}

body.view-game .chessora-game-room .chessora-result-popup h2,
body.view-game .chessora-game-room .chessora-result-popup > p {
  text-align: center !important;
}

body.view-game .chessora-game-room .chessora-result-summary {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.view-game .chessora-game-room .chessora-result-summary span {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(217, 164, 65, 0.18) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  padding: 8px !important;
}

body.view-game .chessora-game-room .chessora-result-summary small {
  color: #b9c6be !important;
  font-size: .72rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.view-game .chessora-game-room .chessora-result-summary strong {
  color: #fff7df !important;
  font-size: .94rem !important;
  font-weight: 950 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room .chessora-result-summary strong.is-positive {
  color: #8ee0a7 !important;
}

body.view-game .chessora-game-room .chessora-result-summary strong.is-negative {
  color: #ffb0a8 !important;
}

body.view-game .chessora-game-room .chessora-result-next {
  display: grid !important;
  gap: 10px !important;
}

body.view-game .chessora-game-room .chessora-result-primary-actions,
body.view-game .chessora-game-room .chessora-result-actions {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.view-game .chessora-game-room .chessora-result-primary-actions .chessora-button,
body.view-game .chessora-game-room .chessora-result-actions .chessora-button {
  align-items: center !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  font-size: .9rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 9px 12px !important;
  text-align: center !important;
  text-decoration: none !important;
}

body.view-game .chessora-game-room .chessora-result-primary-actions .chessora-button-primary {
  background: linear-gradient(180deg, #dca33a, #a96b19) !important;
  border-color: rgba(255, 230, 151, .55) !important;
  color: #111614 !important;
}

@media (max-width: 640px) {
  body.view-game .chessora-game-room .chessora-result-summary,
  body.view-game .chessora-game-room .chessora-result-primary-actions,
  body.view-game .chessora-game-room .chessora-result-actions {
    grid-template-columns: 1fr 1fr !important;
  }
}

body.view-game .chessora-game-room.is-creating-game {
  background: #07100e !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel,
body.view-game .chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table,
body.view-game .chessora-game-room.is-creating-game .chessora-open-match-table {
  background: #0d1714 !important;
  border-color: rgba(217, 164, 65, 0.22) !important;
  color: #f7f0dc !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel::before,
body.view-game .chessora-game-room.is-creating-game .chessora-create-select:first-of-type,
body.view-game .chessora-game-room.is-creating-game .chessora-open-match-row,
body.view-game .chessora-game-room.is-creating-game .chessora-open-match-empty {
  color: #f7f0dc !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-select:first-of-type,
body.view-game .chessora-game-room.is-creating-game .chessora-open-match-empty {
  background: rgba(217, 164, 65, 0.08) !important;
  border-color: rgba(217, 164, 65, 0.24) !important;
}

html body .chessora.chessora-forum-page {
  --forum-bg: #07100e;
  --forum-card: #0d1714;
  --forum-text: #f7f0dc;
  --forum-muted: #aeb9b2;
  --forum-line: rgba(217, 164, 65, 0.22);
  --forum-soft-line: rgba(255, 255, 255, 0.08);
  --forum-green: #63bf77;
  --forum-gold: #f8d985;
  --forum-purple: #b49aff;
  --forum-blue: #78baff;
  background:
    radial-gradient(circle at 14% 8%, rgba(217, 164, 65, 0.1), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(63, 157, 89, 0.12), transparent 24%),
    var(--forum-bg) !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-icon,
html body .chessora.chessora-forum-page .chessora-forum-cats a::before {
  background: rgba(217, 164, 65, 0.14) !important;
  border-color: rgba(217, 164, 65, 0.28) !important;
  color: #f8d985 !important;
}

html body .chessora.chessora-forum-page .chessora-topic-avatar {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  color: #151008 !important;
}

/* Chessground board theme: dark matte room, darker classic wood, cburnett pieces. */
body.view-game .chessora-game-room {
  --chessora-board-light: #e7c98f;
  --chessora-board-dark: #8f5529;
  --chessora-board-edge: #07100e;
  --chessora-board-inner: #1f4a3a;
}

body.view-game .chessora-game-room .chessora-board-area,
body.view-game .chessora-game-room .chessora-play-stage,
body.view-game .chessora-game-room .chessora-game-side,
body.view-game .chessora-game-room .chessora-room-sidebar {
  background:
    radial-gradient(circle at 18% 14%, rgba(217, 164, 65, 0.08), transparent 28%),
    linear-gradient(180deg, #0b1714 0%, #07100e 100%) !important;
}

body.view-game .chessora-game-room .chessora-board-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08)),
    #10211c !important;
  border: 1px solid rgba(217, 164, 65, 0.24) !important;
  border-radius: 10px !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap {
  background:
    conic-gradient(
      var(--chessora-board-light) 0 25%,
      var(--chessora-board-dark) 0 50%,
      var(--chessora-board-light) 0 75%,
      var(--chessora-board-dark) 0 100%
    ) 0 0 / 25% 25%,
    #122c23 !important;
  border: 6px solid #234e3d !important;
  border-radius: 8px !important;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(248, 217, 133, 0.1) !important;
  overflow: hidden !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
  background:
    conic-gradient(
      #e7c98f 0 25%,
      #9b5f2f 0 50%,
      #e7c98f 0 75%,
      #9b5f2f 0 100%
    ) 0 0 / 25% 25% !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap piece {
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.58));
  transition: transform 120ms ease-out, filter 120ms ease-out;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap piece.dragging {
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.42));
}

body.view-game .chessora-game-room .chessora-board.cg-wrap piece.anim {
  transition-duration: 160ms;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.last-move {
  background: rgba(248, 217, 133, 0.34) !important;
  box-shadow: inset 0 0 0 3px rgba(248, 217, 133, 0.28) !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.selected {
  background: rgba(241, 184, 57, 0.42) !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.move-dest {
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.oc.move-dest {
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.move-dest::after {
  background: rgba(7, 16, 14, 0.58);
  border-radius: 999px;
  content: "";
  height: 18%;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.oc.move-dest::after {
  background: transparent;
  border: 5px solid rgba(7, 16, 14, 0.46);
  height: 74%;
  width: 74%;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest {
  background: radial-gradient(rgba(217, 164, 65, 0.45) 19%, transparent 21%) !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap square.check {
  background: radial-gradient(ellipse at center, rgba(165, 42, 42, 0.82) 0%, rgba(165, 42, 42, 0.35) 44%, transparent 72%) !important;
}

body.view-game .chessora-game-room .chessora-board-coordinates,
body.view-game .chessora-game-room .chessora-board-ranks {
  color: #d8cdb5 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.chessora-friends-page {
  display: grid;
  gap: 20px;
}

.chessora-friends-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-friend-list {
  display: grid;
  gap: 12px;
}

.chessora-friend-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(210, 176, 78, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
}

.chessora-friend-avatar {
  align-items: center;
  background: #111827;
  border: 1px solid rgba(210, 176, 78, 0.58);
  border-radius: 10px;
  color: #fff7df;
  display: inline-flex;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}

.chessora-friend-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-friend-card strong,
.chessora-friend-card span,
.chessora-friend-card small {
  display: block;
}

.chessora-friend-card footer {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
}

.chessora-friend-card footer form {
  margin: 0;
}

@media (max-width: 980px) {
  .chessora-friends-layout {
    grid-template-columns: 1fr;
  }
}

body.view-game .chessora-engine-panel,
body.view-game .chessora-openings-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 164, 65, 0.2);
  border-radius: 8px;
  color: #f7f0dc;
  display: grid;
  gap: 14px;
  padding: 14px;
}

body.view-game .chessora-engine-panel[hidden],
body.view-game .chessora-openings-panel[hidden] {
  display: none !important;
}

body.view-game .chessora-engine-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

body.view-game .chessora-engine-head div,
body.view-game .chessora-engine-lines {
  display: grid;
  gap: 4px;
}

body.view-game .chessora-engine-head span,
body.view-game .chessora-engine-lines span,
body.view-game .chessora-openings-panel span {
  color: #b8c2bc;
  font-size: 0.88rem;
  line-height: 1.45;
}

body.view-game .chessora-opening-book-status.is-book {
  border-color: rgba(116, 214, 142, 0.36);
}

body.view-game .chessora-opening-book-status.is-engine {
  border-color: rgba(217, 164, 65, 0.36);
}

body.view-game .chessora-opening-book-status.is-disabled {
  opacity: 0.72;
}

body.view-game .chessora-move-source {
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 999px;
  color: #f3cf75;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 5px;
  padding: 3px 5px;
  text-transform: uppercase;
  vertical-align: middle;
}

body.view-game .chessora-move-source.is-book {
  color: #bff0c8;
}

body.view-game .chessora-engine-lines {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  min-height: 76px;
  padding: 12px;
}

@media (max-width: 760px) {
  body.view-game .chessora-game-room .chessora-board-frame {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    grid-template-rows: auto 20px !important;
    width: 100% !important;
  }

  body.view-game .chessora-game-room .chessora-board-wrap {
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.view-game .chessora-game-room .chessora-board.cg-wrap {
    aspect-ratio: 1 / 1;
    height: auto !important;
    width: 100% !important;
  }
}

/* Scoped matte theme for non-board, non-tournament Pawn Realm pages. */
:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) {
  --chessora-ink: #f7f0dc;
  --chessora-muted: #b7c2bb;
  --chessora-line: rgba(217, 164, 65, 0.24);
  --chessora-panel: #0d1714;
  --chessora-soft: #111d18;
  --chessora-green: #5fbd78;
  --chessora-green-dark: #94dda6;
  --chessora-gold: #d9a441;
  --chessora-red: #f0766b;
  background:
    radial-gradient(circle at 14% 0%, rgba(217, 164, 65, 0.11), transparent 30%),
    linear-gradient(180deg, #07100e 0%, #0a1411 48%, #07100e 100%) !important;
  color: var(--chessora-ink) !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(
  .chessora-page-head,
  .chessora-home2-shell,
  .chessora-home2-hero,
  .chessora-home2-playbook,
  .chessora-home2-panel,
  .chessora-home-section,
  .chessora-home-panel,
  .chessora-stat-strip,
  .chessora-card,
  .chessora-panel,
  .chessora-table,
  .chessora-lobby-table,
  .chessora-correspondence-hero,
  .chessora-correspondence-profile-card,
  .chessora-correspondence-goal-card,
  .chessora-correspondence-panel,
  .chessora-clubs-hero,
  .chessora-club-card,
  .chessora-club-sidebar,
  .chessora-forum-hero,
  .chessora-forum-section,
  .chessora-forum-topic-list,
  .chessora-forum-feed,
  .chessora-forum-cats,
  .chessora-forum-form,
  .chessora-forum-empty,
  .chessora-topic-post,
  .chessora-profile-hero,
  .chessora-profile-summary,
  .chessora-profile-community,
  .chessora-register-hero,
  .chessora-register-form,
  .chessora-register-side article
) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
    var(--chessora-panel) !important;
  border-color: var(--chessora-line) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28) !important;
  color: var(--chessora-ink) !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(
  .chessora-page-head,
  .chessora-home2-hero,
  .chessora-correspondence-hero,
  .chessora-clubs-hero,
  .chessora-forum-hero,
  .chessora-profile-hero,
  .chessora-register-hero
) {
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 164, 65, 0.16), transparent 28%),
    linear-gradient(115deg, #101b17 0%, #0a1411 56%, #171405 100%) !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(h1, h2, h3, h4, strong, th, dt, legend) {
  color: #fff7dd !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(p, span, small, dd, label, figcaption, .chessora-muted) {
  color: var(--chessora-muted) !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(a) {
  color: #f6cf74;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(
  .chessora-tabs,
  .chessora-tabs a,
  .chessora-lobby-tabs button,
  .chessora-table-row,
  .chessora-lobby-subtable,
  .chessora-history-row,
  .chessora-profile-tags span,
  .chessora-activity-feed a,
  .chessora-activity-feed div,
  .chessora-profile-community a,
  .chessora-forum-room,
  .chessora-forum-topic-row,
  .chessora-forum-cats a
) {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(217, 164, 65, 0.2) !important;
  color: var(--chessora-ink) !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(
  .chessora-tabs a.is-active,
  .chessora-lobby-tabs button.is-active,
  .chessora-table-head,
  .chessora-table-row:hover,
  .chessora-forum-room:hover,
  .chessora-forum-topic-row:hover
) {
  background: rgba(217, 164, 65, 0.14) !important;
  border-color: rgba(217, 164, 65, 0.42) !important;
  color: #fff7dd !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(
  .chessora-kicker,
  .chessora-badge,
  .chessora-pill,
  .chessora-status,
  mark,
  .chessora-club-badge,
  .chessora-forum-room-stat,
  .chessora-forum-staff-badge,
  .chessora-forum-pin-badge
) {
  background: rgba(217, 164, 65, 0.15) !important;
  border-color: rgba(217, 164, 65, 0.36) !important;
  color: #f8d985 !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(.chessora-button, button, input[type="submit"]) {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.62) !important;
  color: #151008 !important;
  text-shadow: none !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(.chessora-button *, button *) {
  color: inherit !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(.chessora-button-danger, button.chessora-button-danger) {
  background: linear-gradient(180deg, #f18a7f, #b9463e) !important;
  border-color: rgba(255, 167, 157, 0.54) !important;
  color: #170706 !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(input, select, textarea) {
  background: #101a17 !important;
  border-color: rgba(217, 164, 65, 0.3) !important;
  color: #fff7dd !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(input::placeholder, textarea::placeholder) {
  color: #8f9b94 !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(*:focus-visible) {
  outline: 3px solid rgba(248, 217, 133, 0.72) !important;
  outline-offset: 2px;
}

body.view-game .chessora-game-room .chessora-board-actions {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 14px !important;
}

body.view-game .chessora-game-room .chessora-board-actions .chessora-button,
body.view-game .chessora-game-room .chessora-postgame-actions .chessora-button {
  align-items: center !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)) !important;
  border: 1px solid rgba(217, 164, 65, 0.28) !important;
  border-radius: 8px !important;
  color: #f7f0dc !important;
  display: inline-flex !important;
  font-size: 0.95rem !important;
  font-weight: 850 !important;
  gap: 9px !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room .chessora-board-actions .chessora-button[hidden],
body.view-game .chessora-game-room .chessora-postgame-actions .chessora-button[hidden],
body.view-game .chessora-game-room .chessora-postgame-actions[hidden] {
  display: none !important;
}

body.view-game .chessora-game-room .chessora-board-actions .chessora-button-danger {
  background: linear-gradient(180deg, rgba(130, 45, 45, 0.68), rgba(65, 24, 24, 0.72)) !important;
  border-color: rgba(255, 130, 118, 0.34) !important;
  color: #ffe6df !important;
  display: inline-flex !important;
}

body.view-game .chessora-game-room .chessora-board-actions [data-draw-offer],
body.view-game .chessora-game-room .chessora-board-actions [data-draw-accept],
body.view-game .chessora-game-room .chessora-board-actions [data-draw-decline],
body.view-game .chessora-game-room .chessora-board-actions [data-rematch-accept],
body.view-game .chessora-game-room .chessora-board-actions [data-rematch-refuse] {
  display: inline-flex !important;
}

body.view-game .chessora-game-room .chessora-board-actions [data-draw-offer][hidden],
body.view-game .chessora-game-room .chessora-board-actions [data-draw-accept][hidden],
body.view-game .chessora-game-room .chessora-board-actions [data-draw-decline][hidden],
body.view-game .chessora-game-room .chessora-board-actions [data-rematch-accept][hidden],
body.view-game .chessora-game-room .chessora-board-actions [data-rematch-refuse][hidden] {
  display: none !important;
}

body.view-game .chessora-game-room .chessora-board-actions .chessora-button::before,
body.view-game .chessora-game-room .chessora-postgame-actions .chessora-button::before {
  align-items: center;
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 6px;
  color: #f6ca65;
  display: inline-flex;
  flex: 0 0 28px;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 0.84rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

body.view-game .chessora-game-room [data-abort-game]::before { content: "\f071"; }
body.view-game .chessora-game-room [data-resign-game]::before { content: "\f024"; }
body.view-game .chessora-game-room [data-draw-offer]::before { content: "\f52c"; }
body.view-game .chessora-game-room [data-draw-accept]::before { content: "\f00c"; }
body.view-game .chessora-game-room [data-draw-decline]::before { content: "\f00d"; }
body.view-game .chessora-game-room [data-rematch-offer]::before,
body.view-game .chessora-game-room [data-rematch-accept]::before { content: "\f2f9"; }
body.view-game .chessora-game-room [data-rematch-refuse]::before { content: "\f05e"; }
body.view-game .chessora-game-room [data-challenge-another]::before { content: "\2b"; }

body.view-game .chessora-game-room .chessora-board-actions .chessora-button.is-draw-locked,
body.view-game .chessora-game-room .chessora-board-actions .chessora-button:disabled {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(247, 240, 220, 0.52) !important;
  cursor: not-allowed !important;
}

@media (max-width: 680px) {
  body.view-game .chessora-game-room .chessora-board-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Professional dark refinement: warmer charcoal surfaces, clearer contrast, restrained gold. */
:root {
  --chessora-pro-bg: #121820;
  --chessora-pro-bg-soft: #161f27;
  --chessora-pro-panel: #1b252d;
  --chessora-pro-panel-2: #202c35;
  --chessora-pro-line: rgba(214, 162, 59, 0.24);
  --chessora-pro-line-strong: rgba(214, 162, 59, 0.42);
  --chessora-pro-text: #f5efd9;
  --chessora-pro-muted: #b9c3bd;
  --chessora-pro-dim: #8f9b98;
  --chessora-pro-gold: #d6a23b;
  --chessora-pro-gold-soft: #f1d078;
}

html body.view-game,
html body:has(.chessora-home),
html body:has(.chessora-challenges-page),
html body:has(.chessora-correspondence-page),
html body:has(.chessora-clubs-page),
html body:has(.chessora-forum-page),
html body:has(.chessora-profile-page),
html body:has(.chessora-register-page) {
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 162, 59, 0.13), transparent 32%),
    linear-gradient(180deg, #151c24 0%, var(--chessora-pro-bg) 46%, #10161d 100%) !important;
  color: var(--chessora-pro-text) !important;
}

body.view-game .chessora-game-room {
  background:
    radial-gradient(circle at 52% 0%, rgba(214, 162, 59, 0.1), transparent 35%),
    linear-gradient(180deg, #151e26 0%, #121a22 100%) !important;
  color: var(--chessora-pro-text) !important;
}

body.view-game .chessora-game-room .chessora-room-sidebar,
body.view-game .chessora-game-room .chessora-game-side,
body.view-game .chessora-game-room .chessora-play-stage,
body.view-game .chessora-game-room .chessora-board-area,
body.view-game .chessora-game-room .chessora-board-wrap,
body.view-game .chessora-game-room .chessora-move-panel,
body.view-game .chessora-game-room .chessora-panel,
body.view-game .chessora-game-room .chessora-player-card,
body.view-game .chessora-game-room .chessora-sidebar-chat,
body.view-game .chessora-game-room .chessora-sidebar-spectators,
body.view-game .chessora-game-room .chessora-sidebar-game-info,
body.view-game .chessora-game-room .chessora-engine-panel,
body.view-game .chessora-game-room .chessora-openings-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--chessora-pro-panel) !important;
  border-color: var(--chessora-pro-line) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28) !important;
  color: var(--chessora-pro-text) !important;
}

body.view-game .chessora-game-room .chessora-board-wrap {
  background:
    linear-gradient(135deg, rgba(214, 162, 59, 0.2), rgba(255, 255, 255, 0.035)),
    #21372f !important;
  border-color: rgba(214, 162, 59, 0.36) !important;
  box-shadow: 0 26px 64px rgba(4, 8, 12, 0.42) !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap {
  border-color: #2d5a48 !important;
  box-shadow: inset 0 0 0 6px #244838, 0 18px 42px rgba(0, 0, 0, 0.35) !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
  background:
    conic-gradient(
      #d7b77d 0 25%,
      #8f5a30 0 50%,
      #d7b77d 0 75%,
      #8f5a30 0 100%
    ) 0 0 / 25% 25% !important;
}

body.view-game .chessora-game-room h1,
body.view-game .chessora-game-room h2,
body.view-game .chessora-game-room h3,
body.view-game .chessora-game-room strong,
body.view-game .chessora-game-room b {
  color: var(--chessora-pro-text) !important;
}

body.view-game .chessora-game-room p,
body.view-game .chessora-game-room small,
body.view-game .chessora-game-room span,
body.view-game .chessora-game-room .chessora-panel-head span,
body.view-game .chessora-game-room .chessora-engine-lines span {
  color: var(--chessora-pro-muted) !important;
}

body.view-game .chessora-game-room .chessora-moves li,
body.view-game .chessora-game-room .chessora-moves li.is-empty,
body.view-game .chessora-game-room .chessora-move-controls button {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(214, 162, 59, 0.16) !important;
  color: var(--chessora-pro-text) !important;
}

body.view-game .chessora-game-room .chessora-panel-tabs button {
  color: var(--chessora-pro-muted) !important;
}

body.view-game .chessora-game-room .chessora-panel-tabs button.is-active {
  border-color: var(--chessora-pro-gold) !important;
  color: var(--chessora-pro-gold-soft) !important;
}

body.view-game .chessora-game-room .chessora-board-coordinates,
body.view-game .chessora-game-room .chessora-board-ranks {
  color: #b7c6c1 !important;
}

body.view-game .chessora-game-room input,
body.view-game .chessora-game-room textarea,
body.view-game .chessora-game-room select {
  background: #111920 !important;
  border-color: rgba(214, 162, 59, 0.28) !important;
  color: var(--chessora-pro-text) !important;
}

body.view-game .chessora-game-room .chessora-button,
body.view-game .chessora-game-room button {
  text-shadow: none !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) {
  --chessora-ink: var(--chessora-pro-text);
  --chessora-muted: var(--chessora-pro-muted);
  --chessora-line: var(--chessora-pro-line);
  --chessora-panel: var(--chessora-pro-panel);
  --chessora-soft: var(--chessora-pro-panel-2);
  --chessora-green: #72c58a;
  --chessora-green-dark: #a5dfb3;
  --chessora-gold: var(--chessora-pro-gold);
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 162, 59, 0.12), transparent 32%),
    linear-gradient(180deg, #151c24 0%, #121820 52%, #10161d 100%) !important;
}

:where(
  .chessora-home,
  .chessora-challenges-page,
  .chessora-correspondence-page,
  .chessora-clubs-page,
  .chessora-forum-page,
  .chessora-profile-page,
  .chessora-register-page
) :where(.chessora-panel, .chessora-card, .chessora-table, .chessora-lobby-table, .chessora-forum-section, .chessora-forum-room, .chessora-profile-hero, .chessora-register-form) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--chessora-pro-panel) !important;
  border-color: var(--chessora-pro-line) !important;
  color: var(--chessora-pro-text) !important;
}
/* Challenges seek graph */
.chessora-seek-graph-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.chessora-seek-board,
.chessora-seek-detail {
  background:
    linear-gradient(180deg, rgba(241, 207, 119, 0.09), rgba(255, 255, 255, 0.025)),
    #101c18;
  border: 1px solid rgba(214, 162, 59, 0.34);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  color: #f7eed2;
}

.chessora-seek-board {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.chessora-seek-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(214, 162, 59, 0.18);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.chessora-seek-toolbar div {
  display: grid;
  gap: 4px;
}

.chessora-seek-toolbar strong {
  color: #fff7d7;
  font-size: 1.05rem;
  font-weight: 950;
}

.chessora-seek-toolbar span,
.chessora-seek-detail p {
  color: #bfc8bd;
  font-weight: 750;
}

.chessora-seek-legend {
  align-items: center;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px 16px !important;
  justify-content: center;
}

.chessora-seek-legend div {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chessora-seek-legend b {
  color: #f1cf77 !important;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-seek-legend span {
  align-items: center;
  color: #bfc8bd !important;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 850;
  gap: 6px;
}

.chessora-seek-legend i {
  --seek-color: #d6a23b;
  background: var(--seek-color);
  border: 2px solid var(--seek-color);
  border-radius: 999px;
  display: inline-block;
  height: 11px;
  width: 11px;
}

.chessora-seek-legend i.is-bullet { --seek-color: #f1cf77; }
.chessora-seek-legend i.is-blitz { --seek-color: #69d391; }
.chessora-seek-legend i.is-rapid { --seek-color: #72b8ff; }
.chessora-seek-legend i.is-classical { --seek-color: #d9a4ff; }
.chessora-seek-legend i.is-correspondence { --seek-color: #ff9d6f; }
.chessora-seek-legend i.is-rated { --seek-color: #f1cf77; }
.chessora-seek-legend i.is-unrated {
  --seek-color: #f1cf77;
  background: transparent;
}
.chessora-seek-legend i.is-owned { --seek-color: #c8d0c8; }
.chessora-seek-legend i.is-bot {
  --seek-color: #ffdd66;
  border-radius: 2px;
  transform: rotate(45deg);
}

.chessora-seek-plot {
  background:
    linear-gradient(rgba(241, 207, 119, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 207, 119, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(214, 162, 59, 0.12), transparent 62%),
    #08130f;
  background-size: 100% 16.66%, 20% 100%, auto, auto;
  border: 1px solid rgba(214, 162, 59, 0.24);
  border-radius: 10px;
  min-height: 470px;
  overflow: hidden;
  position: relative;
}

.chessora-seek-y-axis {
  bottom: 36px;
  color: rgba(247, 238, 210, 0.62);
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  font-weight: 850;
  justify-content: space-between;
  left: 12px;
  position: absolute;
  top: 18px;
  z-index: 1;
}

.chessora-seek-grid {
  align-items: end;
  bottom: 0;
  color: #f1cf77;
  display: grid;
  font-size: 0.78rem;
  font-weight: 950;
  grid-template-columns: repeat(5, 1fr);
  left: 42px;
  position: absolute;
  right: 16px;
  top: 0;
  z-index: 1;
}

.chessora-seek-grid span {
  border-left: 1px solid rgba(214, 162, 59, 0.12);
  padding: 0 0 12px 10px;
}

.chessora-seek-dot {
  align-items: center;
  --seek-color: #d6a23b;
  background: var(--seek-color);
  border: 2px solid var(--seek-color);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(241, 207, 119, 0.36);
  cursor: pointer;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  padding: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  width: 10px;
  z-index: 3;
}

.chessora-seek-dot.is-unrated {
  background: transparent;
}

.chessora-seek-dot.is-bullet {
  --seek-color: #f1cf77;
}

.chessora-seek-dot.is-blitz {
  --seek-color: #69d391;
}

.chessora-seek-dot.is-rapid {
  --seek-color: #72b8ff;
}

.chessora-seek-dot.is-classical {
  --seek-color: #d9a4ff;
}

.chessora-seek-dot.is-correspondence,
.chessora-seek-dot.is-daily {
  --seek-color: #ff9d6f;
}

.chessora-seek-dot:hover,
.chessora-seek-dot:focus,
.chessora-seek-dot.is-active {
  border-color: var(--seek-color);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), 0 0 0 7px color-mix(in srgb, var(--seek-color) 24%, transparent);
  outline: none;
  transform: translate(-50%, -50%) scale(1.22);
}

.chessora-seek-dot.is-owned {
  --seek-color: #c8d0c8;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.chessora-seek-dot.is-bot {
  --seek-color: #ffdd66;
  border-radius: 4px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.chessora-seek-dot.is-bot:hover,
.chessora-seek-dot.is-bot:focus,
.chessora-seek-dot.is-bot.is-active {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.22);
}

.chessora-seek-dot.is-bot span {
  transform: rotate(-45deg);
}

body.view-game .chessora-player-rail .chessora-player-card {
  gap: 10px !important;
  grid-template-columns: 44px minmax(0, 1fr) 10px minmax(70px, 72px) !important;
  min-height: 68px !important;
  padding: 10px 12px !important;
  width: 100% !important;
}

body.view-game .chessora-player-rail .chessora-player-card > div:nth-child(2) {
  min-width: 0;
}

body.view-game .chessora-player-rail .chessora-player-card strong {
  align-items: flex-start;
  display: flex !important;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

body.view-game .chessora-player-rail .chessora-player-card [data-player-name] {
  display: block !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.view-game .chessora-player-rail .chessora-rating-pill {
  display: inline-flex !important;
  line-height: 1;
  width: fit-content;
}

body.view-game .chessora-player-rail .chessora-player-card time {
  font-size: 0.92rem !important;
  min-width: 70px !important;
  padding: 9px 8px !important;
}

.chessora-seek-popover {
  background:
    linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
    #18241f;
  border: 1px solid rgba(241, 207, 119, 0.34);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  color: #fff7d7;
  display: grid;
  gap: 10px;
  left: 0;
  min-width: 190px;
  padding: 12px;
  pointer-events: none;
  position: absolute;
  top: 0;
  z-index: 8;
}

.chessora-seek-popover-head {
  align-items: center;
  display: flex;
  gap: 10px;
}

.chessora-seek-popover-avatar {
  align-items: center;
  background: linear-gradient(180deg, #f0c65e, #c78b25);
  border: 1px solid rgba(255, 247, 215, 0.48);
  border-radius: 999px;
  color: #151008 !important;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 0.88rem;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  overflow: hidden;
  width: 32px;
}

.chessora-seek-popover-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-seek-popover[hidden] {
  display: none;
}

.chessora-seek-popover strong {
  color: #fff7d7;
  font-size: 0.9rem;
  line-height: 1.2;
}

.chessora-seek-popover-meta {
  display: grid;
  gap: 7px;
}

.chessora-seek-popover-meta span {
  align-items: center;
  color: #f1cf77;
  display: flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 8px;
}

.chessora-seek-popover-meta i {
  align-items: center;
  background: rgba(241, 207, 119, 0.14);
  border: 1px solid rgba(241, 207, 119, 0.24);
  border-radius: 999px;
  color: #f1cf77;
  display: inline-flex;
  font-style: normal;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.chessora-seek-popover-meta b {
  color: #fff7d7;
  font-weight: 950;
}

.chessora-seek-empty {
  color: #f7eed2;
  display: grid;
  gap: 6px;
  left: 50%;
  place-items: center;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.chessora-seek-empty span {
  color: #bfc8bd;
  font-weight: 750;
}

.chessora-seek-detail {
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 18px;
  position: sticky;
  top: 96px;
}

.chessora-seek-detail-avatar {
  align-items: center;
  background: linear-gradient(180deg, #f0c65e, #c78b25);
  border: 1px solid rgba(255, 247, 215, 0.52);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  color: #151008;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 48px;
  z-index: 2;
}

.chessora-seek-detail-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chessora-seek-detail-kicker {
  color: #f1cf77;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-seek-detail h2 {
  color: #fff7d7;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0;
  max-width: calc(100% - 58px);
}

.chessora-seek-detail h2 a {
  color: inherit;
  text-decoration: none;
}

.chessora-seek-detail h2 a:hover,
.chessora-seek-detail h2 a:focus {
  color: #f1cf77;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chessora-seek-detail-rating {
  align-items: end;
  display: flex;
  gap: 8px;
}

.chessora-seek-detail-rating strong {
  color: #f1cf77;
  font-size: 2.25rem;
  line-height: 1;
}

.chessora-seek-detail-rating span,
.chessora-seek-detail dt {
  color: #bfc8bd;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chessora-seek-detail dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.chessora-seek-detail dl div {
  align-items: center;
  border-top: 1px solid rgba(214, 162, 59, 0.14);
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

.chessora-seek-detail dd {
  color: #fff7d7;
  font-weight: 950;
  margin: 0;
  text-align: right;
}

@media (max-width: 860px) {
  .chessora-seek-graph-panel {
    grid-template-columns: 1fr;
  }

  .chessora-seek-plot {
    min-height: 390px;
  }

  .chessora-seek-detail {
    position: static;
  }
}

/* Challenge page aligned with the play room. */
body.view-challenges .shell-component-card {
  background:
    linear-gradient(90deg, rgba(7, 14, 18, 0.34), transparent 10%, transparent 90%, rgba(7, 14, 18, 0.34)),
    #6f746f !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-inline: auto !important;
  max-width: 1584px !important;
  padding: 32px 36px 54px !important;
}

body.view-challenges .chessora-challenges-page {
  --challenge-bg: #07100e;
  --challenge-panel: #0d1714;
  --challenge-panel-2: #14211c;
  --challenge-module-panel: #2f3a33;
  --challenge-module-panel-2: #26322b;
  --challenge-module-head: #3a422c;
  --challenge-module-line: rgba(205, 218, 210, 0.28);
  --challenge-module-line-soft: rgba(205, 218, 210, 0.18);
  --challenge-module-text: #eef5f1;
  --challenge-module-muted: #cbd6d0;
  --challenge-board-light: #e7c98f;
  --challenge-board-dark: #9b5f2f;
  --challenge-board-edge: #234e3d;
  --challenge-board-inner: #10211c;
  --challenge-line: rgba(241, 207, 119, 0.28);
  --challenge-gold: #f1cf77;
  --challenge-text: #fff7d7;
  --challenge-muted: #bfc8bd;
  background:
    radial-gradient(circle at 20% 8%, rgba(214, 162, 59, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    #101923 !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36) !important;
  color: var(--challenge-text) !important;
  display: grid !important;
  gap: 18px !important;
  margin: 0 auto !important;
  max-width: 1514px !important;
  padding: 34px 84px 40px !important;
}

body.view-challenges .chessora-challenges-page > .chessora-tabs {
  display: none !important;
}

body.view-challenges .chessora-challenges-page [hidden],
body.view-challenges .chessora-challenges-page [data-lobby-panel][hidden] {
  display: none !important;
}

body.view-challenges .chessora-challenges-page .chessora-page-head {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(241, 207, 119, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
  padding: 0 0 18px !important;
}

body.view-challenges .chessora-challenges-page .chessora-kicker {
  color: var(--challenge-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  margin: 0 0 5px !important;
  text-transform: uppercase !important;
}

body.view-challenges .chessora-challenges-page .chessora-page-head h1 {
  color: var(--challenge-text) !important;
  font-size: 2.05rem !important;
  line-height: 1.05 !important;
  margin: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-tabs {
  background: rgba(13, 23, 20, 0.84) !important;
  border: 1px solid var(--challenge-line) !important;
  border-radius: 12px !important;
  display: flex !important;
  gap: 8px !important;
  padding: 8px !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-tabs button {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(241, 207, 119, 0.16) !important;
  border-radius: 8px !important;
  color: var(--challenge-muted) !important;
  min-height: 38px !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-tabs button.is-active,
body.view-challenges .chessora-challenges-page .chessora-lobby-tabs button:hover,
body.view-challenges .chessora-challenges-page .chessora-lobby-tabs button:focus {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.62) !important;
  color: #151008 !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-tabs button span {
  background: rgba(0, 0, 0, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: inherit !important;
}

body.view-challenges .chessora-seek-graph-panel {
  gap: 22px !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
}

body.view-challenges .chessora-seek-board,
body.view-challenges .chessora-seek-detail,
body.view-challenges .chessora-challenges-page .chessora-table,
body.view-challenges .chessora-challenges-page .chessora-lobby-table,
body.view-challenges .chessora-challenges-page .chessora-leaderboard-pool {
  background:
    linear-gradient(180deg, rgba(230, 236, 232, 0.12), rgba(255, 255, 255, 0.04)),
    var(--challenge-module-panel) !important;
  border: 1px solid var(--challenge-module-line) !important;
  border-radius: 10px !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
  color: var(--challenge-module-text) !important;
}

body.view-challenges .chessora-seek-board {
  border-color: var(--challenge-module-line) !important;
  padding: 22px !important;
}

body.view-challenges .chessora-seek-plot {
  background:
    linear-gradient(rgba(205, 218, 210, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 218, 210, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(205, 218, 210, 0.06), transparent 62%),
    #08130f !important;
  background-size: 100% 16.66%, 20% 100%, auto, auto !important;
  border: 1px solid var(--challenge-module-line) !important;
  border-radius: 10px !important;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  min-height: 550px !important;
}

body.view-challenges .chessora-seek-detail {
  top: 118px !important;
  position: sticky !important;
}

body.view-challenges .chessora-seek-detail > .chessora-seek-detail-avatar {
  align-items: center !important;
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border: 1px solid rgba(255, 247, 215, 0.52) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24) !important;
  color: #151008 !important;
  display: inline-flex !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  height: 48px !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: absolute !important;
  right: 16px !important;
  top: 16px !important;
  width: 48px !important;
  z-index: 2 !important;
}

body.view-challenges .chessora-seek-detail > .chessora-seek-detail-avatar img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.view-challenges .chessora-seek-detail h2 a,
body.view-challenges .chessora-seek-detail h2 a span {
  color: #fff7d7 !important;
}

body.view-challenges .chessora-challenges-page .chessora-table-row {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(241, 207, 119, 0.12) !important;
  color: var(--challenge-text) !important;
}

body.view-challenges .chessora-challenges-page .chessora-table-head {
  background: rgba(241, 207, 119, 0.14) !important;
  color: var(--challenge-gold) !important;
}

body.view-challenges .chessora-challenges-page .chessora-table-row small,
body.view-challenges .chessora-challenges-page .chessora-table-row span,
body.view-challenges .chessora-challenges-page .chessora-table-empty {
  color: var(--challenge-muted) !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-table {
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-summary {
  align-items: center !important;
  border-bottom: 1px solid rgba(241, 207, 119, 0.16) !important;
  display: flex !important;
  gap: 16px !important;
  justify-content: space-between !important;
  padding: 2px 2px 14px !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-summary div {
  display: grid !important;
  gap: 4px !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-summary strong {
  color: #fff7d7 !important;
  font-size: 1.05rem !important;
  font-weight: 950 !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-summary span {
  color: #f1cf77 !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-head,
body.view-challenges .chessora-challenges-page .chessora-live-games-row {
  display: grid !important;
  grid-template-columns: 0.7fr minmax(140px, 1.3fr) minmax(140px, 1.3fr) 0.85fr 0.8fr 0.7fr 0.72fr !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-row {
  align-items: center !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 215, 0.035), rgba(241, 207, 119, 0.045)),
    #111c18 !important;
  border: 1px solid rgba(241, 207, 119, 0.22) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
  min-height: 72px !important;
  padding: 12px 14px !important;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-row:hover,
body.view-challenges .chessora-challenges-page .chessora-live-games-row:focus-within {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, 0.10), rgba(255, 247, 215, 0.035)),
    #14211c !important;
  border-color: rgba(241, 207, 119, 0.46) !important;
  transform: translateY(-1px) !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-board-index,
body.view-challenges .chessora-challenges-page .chessora-live-games-row .chessora-lobby-player {
  display: grid !important;
  gap: 3px !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-board-index strong,
body.view-challenges .chessora-challenges-page .chessora-live-games-row .chessora-lobby-player strong {
  color: #fff7d7 !important;
  font-weight: 950 !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-board-index small,
body.view-challenges .chessora-challenges-page .chessora-live-games-row .chessora-lobby-player small {
  color: #d4ddd2 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-row > span {
  color: #d4ddd2 !important;
  font-weight: 850 !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-row mark {
  background: #fff7d7 !important;
  border: 1px solid rgba(241, 207, 119, 0.42) !important;
  border-radius: 999px !important;
  color: #17120a !important;
  display: inline-flex !important;
  font-weight: 900 !important;
  justify-content: center !important;
  min-width: 74px !important;
  padding: 4px 9px !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-row .chessora-button,
body.view-challenges .chessora-challenges-page .chessora-live-games-row a.chessora-button,
body.view-challenges .chessora-challenges-page .chessora-live-games-row > span:last-child a {
  background: linear-gradient(135deg, #f1cf77, #d49a24) !important;
  border: 1px solid rgba(241, 207, 119, 0.55) !important;
  border-radius: 10px !important;
  color: #17120a !important;
  display: inline-flex !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  text-decoration: none !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-empty {
  background: #fffdf9 !important;
  border: 1px solid rgba(241, 207, 119, 0.24) !important;
  border-radius: 10px !important;
  color: #4f5a54 !important;
  display: block !important;
  padding: 30px 18px !important;
  text-align: center !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-panel {
  background:
    linear-gradient(180deg, rgba(230, 236, 232, 0.12), rgba(255, 255, 255, 0.04)),
    var(--challenge-module-panel) !important;
  border: 1px solid var(--challenge-module-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
  color: var(--challenge-module-text) !important;
}

body.view-challenges .chessora-challenges-page .chessora-live-games-summary,
body.view-challenges .chessora-challenges-page .chessora-lobby-panel-head {
  border-bottom-color: var(--challenge-module-line-soft) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-panel :where(strong, b, h2),
body.view-challenges .chessora-challenges-page .chessora-live-games-summary strong {
  color: var(--challenge-module-text) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-panel :where(span, small),
body.view-challenges .chessora-challenges-page .chessora-live-games-summary span {
  color: var(--challenge-module-muted) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-grid-row,
body.view-challenges .chessora-challenges-page .chessora-live-games-row,
body.view-challenges .chessora-challenges-page .chessora-lobby-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--challenge-module-panel-2) !important;
  border: 1px solid var(--challenge-module-line-soft) !important;
  color: var(--challenge-module-text) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-grid-head,
body.view-challenges .chessora-challenges-page .chessora-live-games-head {
  background: var(--challenge-module-head) !important;
  border-color: var(--challenge-module-line-soft) !important;
  color: var(--challenge-module-text) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-grid-head span,
body.view-challenges .chessora-challenges-page .chessora-live-games-head span {
  color: var(--challenge-module-text) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-grid-row:not(.chessora-lobby-grid-head):hover,
body.view-challenges .chessora-challenges-page .chessora-live-games-row:hover,
body.view-challenges .chessora-challenges-page .chessora-lobby-card:hover {
  background:
    linear-gradient(180deg, rgba(230, 236, 232, 0.16), rgba(255, 255, 255, 0.045)),
    var(--challenge-module-panel) !important;
  border-color: var(--challenge-module-line) !important;
  transform: none !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-empty,
body.view-challenges .chessora-challenges-page .chessora-live-games-empty {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--challenge-module-panel-2) !important;
  border: 1px solid var(--challenge-module-line-soft) !important;
  border-radius: 7px !important;
  color: var(--challenge-module-muted) !important;
  box-shadow: none !important;
}

body.view-challenges .chessora-challenges-page .chessora-leaderboard-pool {
  background:
    linear-gradient(180deg, rgba(230, 236, 232, 0.1), rgba(255, 255, 255, 0.035)),
    var(--challenge-module-panel-2) !important;
  border: 1px solid var(--challenge-module-line-soft) !important;
  color: var(--challenge-module-text) !important;
  overflow: hidden !important;
}

body.view-challenges .chessora-challenges-page .chessora-leaderboard-pool header {
  align-items: center !important;
  background:
    linear-gradient(90deg, rgba(244, 207, 116, 0.22), rgba(255, 255, 255, 0.04)),
    #17231e !important;
  border: 1px solid rgba(244, 207, 116, 0.38) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 215, 0.05) !important;
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  padding: 12px 14px !important;
}

body.view-challenges .chessora-challenges-page .chessora-leaderboard-pool h2 {
  color: #fff3ba !important;
  font-size: 1.12rem !important;
  font-weight: 950 !important;
  margin: 0 !important;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.76) !important;
}

body.view-challenges .chessora-challenges-page .chessora-leaderboard-pool header span {
  align-items: center !important;
  background: rgba(72, 212, 111, 0.22) !important;
  border: 1px solid rgba(113, 238, 143, 0.46) !important;
  border-radius: 999px !important;
  color: #d3ffdc !important;
  display: inline-flex !important;
  font-size: 0.8rem !important;
  font-weight: 950 !important;
  min-height: 28px !important;
  padding: 6px 10px !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid {
  gap: 7px !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row {
  grid-template-columns: 88px minmax(180px, 1.2fr) minmax(110px, 0.55fr) minmax(130px, 0.75fr) auto !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-head {
  background: #17231e !important;
  border-color: rgba(205, 218, 210, 0.24) !important;
  min-height: 36px !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-head span {
  color: #f4f8f5 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55) !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) {
  border-radius: 8px !important;
  min-height: 62px !important;
  padding: 10px 14px !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) > span:first-child strong {
  align-items: center !important;
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border: 1px solid rgba(255, 247, 215, 0.38) !important;
  border-radius: 999px !important;
  color: #151008 !important;
  display: inline-flex !important;
  font-size: 0.9rem !important;
  height: 34px !important;
  justify-content: center !important;
  min-width: 46px !important;
  padding: 0 10px !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-player strong {
  color: var(--challenge-module-text) !important;
  font-size: 1rem !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-player small {
  color: rgba(203, 214, 208, 0.72) !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) > span:nth-child(3) strong {
  color: #fff4bd !important;
  font-size: 1.18rem !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) > span:nth-child(4) {
  color: var(--challenge-module-muted) !important;
  font-weight: 850 !important;
}

body.view-challenges .chessora-challenges-page .chessora-leader-grid .chessora-button {
  min-height: 34px !important;
  min-width: 80px !important;
  padding: 7px 12px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card {
  align-content: start !important;
  min-height: 164px !important;
  padding: 16px !important;
  position: relative !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar {
  align-items: end !important;
  border-bottom: 1px solid var(--challenge-module-line-soft) !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) !important;
  margin-bottom: 10px !important;
  padding-bottom: 12px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar label {
  display: grid !important;
  gap: 6px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar span {
  color: var(--challenge-module-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar input,
body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar select {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--challenge-module-line-soft) !important;
  border-radius: 8px !important;
  color: var(--challenge-module-text) !important;
  min-height: 38px !important;
  padding: 8px 10px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar select:focus {
  background: var(--challenge-module-panel-2) !important;
  border-color: var(--challenge-module-line) !important;
  outline: none !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar select option {
  background: #26322b !important;
  color: #eef5f1 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-toolbar input::placeholder {
  color: rgba(203, 214, 208, 0.72) !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-head {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding-right: 70px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-head > strong {
  color: var(--challenge-module-text) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--challenge-module-line-soft) !important;
  border-radius: 999px !important;
  color: var(--challenge-module-text) !important;
  display: inline-flex !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  height: 26px !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-decoration: none !important;
  width: 26px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a:hover,
body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a:focus {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(255, 223, 139, 0.64) !important;
  color: #130f08 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar {
  align-items: center !important;
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border: 1px solid rgba(255, 247, 215, 0.46) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22) !important;
  color: #151008 !important;
  display: inline-flex !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  height: 52px !important;
  justify-content: center !important;
  overflow: visible !important;
  position: absolute !important;
  right: 16px !important;
  top: 16px !important;
  width: 52px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar img {
  border-radius: inherit !important;
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar i {
  background: #48d46f !important;
  border: 3px solid var(--challenge-module-panel) !important;
  border-radius: 999px !important;
  bottom: -1px !important;
  box-shadow: 0 0 0 1px rgba(72, 212, 111, 0.44) !important;
  height: 15px !important;
  position: absolute !important;
  right: -1px !important;
  width: 15px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings {
  display: grid !important;
  gap: 7px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 16px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings span {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid var(--challenge-module-line-soft) !important;
  border-radius: 7px !important;
  color: var(--challenge-module-text) !important;
  display: inline-flex !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  gap: 5px !important;
  justify-content: center !important;
  min-height: 32px !important;
  min-width: 0 !important;
  padding: 6px !important;
  white-space: nowrap !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings b {
  align-items: center !important;
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border: 1px solid rgba(255, 247, 215, 0.34) !important;
  border-radius: 999px !important;
  color: #151008 !important;
  display: inline-flex !important;
  flex: 0 0 20px !important;
  font-size: 0.76rem !important;
  height: 20px !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  width: 20px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer .chessora-button {
  flex: 0 0 auto !important;
  justify-content: center !important;
  min-height: 38px !important;
  min-width: 82px !important;
  padding: 8px 13px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-empty {
  grid-column: 1 / -1 !important;
}

@media (max-width: 1100px) {
  body.view-challenges .shell-component-card {
    padding: 22px !important;
  }

  body.view-challenges .chessora-challenges-page {
    padding: 24px !important;
  }

  body.view-challenges .chessora-seek-graph-panel {
    grid-template-columns: 1fr !important;
  }

  body.view-challenges .chessora-seek-detail {
    position: static !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-live-games-head {
    display: none !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-live-games-row {
    gap: 10px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-live-games-row > span:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  body.view-challenges .chessora-challenges-page .chessora-live-games-summary {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-live-games-row {
    grid-template-columns: 1fr !important;
  }
}

/* Tournament page repair: scoped cream/gold skin for list, room, observer and bracket output. */
html body.view-tournaments,
html body.com_chess.view-tournaments,
html body.com-chess.view-tournaments {
  background:
    radial-gradient(circle at 14% 0, rgba(217, 164, 65, 0.16), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #f6ead2 100%) !important;
  color: #201b12 !important;
}

body.view-tournaments .chessora.chessora-tournaments-page {
  --event-bg: #fffaf0;
  --event-panel: #fffdf8;
  --event-panel-soft: #fff6df;
  --event-line: #ead8b8;
  --event-line-strong: #d6ad67;
  --event-ink: #1f1a12;
  --event-muted: #6c6559;
  --event-gold: #d69a27;
  --event-gold-dark: #8a5a12;
  --event-green: #3f8f5d;
  --event-red: #b64c3d;
  background: transparent !important;
  border: 0 !important;
  color: var(--event-ink) !important;
  display: grid;
  gap: 22px;
  margin: 0 auto !important;
  max-width: 1360px !important;
  padding: 26px 28px 44px !important;
}

body.view-tournaments .chessora-tournaments-page *,
body.view-tournaments .chessora-tournaments-page *::before,
body.view-tournaments .chessora-tournaments-page *::after {
  box-sizing: border-box;
}

body.view-tournaments .chessora-tournaments-page h1,
body.view-tournaments .chessora-tournaments-page h2,
body.view-tournaments .chessora-tournaments-page h3,
body.view-tournaments .chessora-tournaments-page strong,
body.view-tournaments .chessora-tournaments-page b {
  color: var(--event-ink) !important;
}

body.view-tournaments .chessora-tournaments-page p,
body.view-tournaments .chessora-tournaments-page small,
body.view-tournaments .chessora-tournaments-page span,
body.view-tournaments .chessora-tournaments-page dt,
body.view-tournaments .chessora-tournaments-page dd {
  color: var(--event-muted) !important;
}

body.view-tournaments .chessora-tournaments-page a {
  color: var(--event-gold-dark) !important;
}

body.view-tournaments .chessora-tournaments-page .chessora-tabs {
  background: #fffdf8 !important;
  border: 1px solid var(--event-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(73, 51, 18, 0.06) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 0 !important;
}

body.view-tournaments .chessora-tournaments-page .chessora-tabs a {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #f0e1c7 !important;
  border-radius: 0 !important;
  color: #483e30 !important;
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px !important;
  text-decoration: none;
}

body.view-tournaments .chessora-tournaments-page .chessora-tabs a:last-child {
  border-right: 0 !important;
}

body.view-tournaments .chessora-tournaments-page .chessora-tabs a.is-active,
body.view-tournaments .chessora-tournaments-page .chessora-tabs a:hover,
body.view-tournaments .chessora-tournaments-page .chessora-tabs a:focus {
  background: #fff2d2 !important;
  box-shadow: inset 0 -3px 0 var(--event-gold);
  color: var(--event-gold-dark) !important;
}

body.view-tournaments .chessora-tournament-hero,
body.view-tournaments .chessora-event-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(217, 164, 65, 0.26), transparent 28%),
    linear-gradient(110deg, #fffdf8 0%, #fff4dc 52%, #ecd6ad 100%) !important;
  border: 1px solid var(--event-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(73, 51, 18, 0.09) !important;
  color: var(--event-ink) !important;
  overflow: hidden;
  position: relative;
}

body.view-tournaments .chessora-tournament-hero {
  grid-template-columns: minmax(0, 1fr) 220px;
  min-height: 190px;
}

body.view-tournaments .chessora-tournament-hero h1,
body.view-tournaments .chessora-event-hero h1 {
  color: var(--event-ink) !important;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  text-shadow: none !important;
}

body.view-tournaments .chessora-tournament-hero .chessora-kicker,
body.view-tournaments .chessora-event-badge {
  color: var(--event-gold-dark) !important;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.view-tournaments .chessora-tournament-hero p,
body.view-tournaments .chessora-event-title-block .chessora-event-meta span {
  color: #5c5549 !important;
}

body.view-tournaments .chessora-tournament-hero-art {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 72px);
  justify-content: end;
}

body.view-tournaments .chessora-tournament-hero-art span {
  align-items: center;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--event-line);
  border-radius: 8px;
  color: transparent !important;
  display: flex;
  font-size: 0 !important;
  font-weight: 950;
  height: 72px;
  justify-content: center;
  position: relative;
  width: 72px;
}

body.view-tournaments .chessora-hero-knight::before,
body.view-tournaments .chessora-hero-cup::before,
body.view-tournaments .chessora-hero-pawn::before,
body.view-tournaments .chessora-hero-calendar::before {
  color: var(--event-gold-dark);
  font-size: 1.7rem;
}

body.view-tournaments .chessora-hero-knight::before { content: "N"; }
body.view-tournaments .chessora-hero-cup::before { content: "Q"; }
body.view-tournaments .chessora-hero-pawn::before { content: "P"; }
body.view-tournaments .chessora-hero-calendar::before { content: ""; }

body.view-tournaments .chessora-guide-panel,
body.view-tournaments .chessora-card,
body.view-tournaments .chessora-room-panel,
body.view-tournaments .chessora-tournament-agenda,
body.view-tournaments .chessora-podium {
  background: var(--event-panel) !important;
  border: 1px solid var(--event-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(73, 51, 18, 0.07) !important;
  color: var(--event-ink) !important;
}

body.view-tournaments .chessora-guide-panel {
  padding: 18px !important;
}

body.view-tournaments .chessora-guide-panel > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.view-tournaments .chessora-guide-panel article,
body.view-tournaments .chessora-format-rules article,
body.view-tournaments .chessora-player-rating-list > div,
body.view-tournaments .chessora-tournament-chat p,
body.view-tournaments .chessora-stat-charts article {
  background: var(--event-panel-soft) !important;
  border: 1px solid #edd9b4 !important;
  border-radius: 8px !important;
  color: var(--event-ink) !important;
}

body.view-tournaments .chessora-guide-panel article {
  padding: 14px !important;
}

body.view-tournaments .chessora-tournament-list-tabs {
  display: inline-flex;
  gap: 8px;
}

body.view-tournaments .chessora-tournament-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.view-tournaments .chessora-tournament-filterbar button {
  align-items: center;
  background: #fff8e8 !important;
  border: 1px solid var(--event-line-strong) !important;
  border-radius: 7px !important;
  color: #6f4508 !important;
  cursor: pointer;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px !important;
}

body.view-tournaments .chessora-tournament-filterbar button.is-active,
body.view-tournaments .chessora-tournament-filterbar button:hover,
body.view-tournaments .chessora-tournament-filterbar button:focus-visible {
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border-color: #b87916 !important;
  color: #1f1708 !important;
}

body.view-tournaments .chessora-tournament-filter-empty {
  background: #fff8e8 !important;
  border: 1px solid var(--event-line) !important;
  border-radius: 7px !important;
  color: var(--event-ink) !important;
  font-weight: 900;
  padding: 18px !important;
}

body.view-tournaments .chessora-tournament-list-tabs a,
body.view-tournaments .chessora-observer-round-tabs button,
body.view-tournaments .chessora-pairing-tabs button,
body.view-tournaments .chessora-replay-controls button,
body.view-tournaments .chessora-pagination button,
body.view-tournaments .chessora-button {
  align-items: center;
  background: #fff8e8 !important;
  border: 1px solid var(--event-line-strong) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  color: var(--event-gold-dark) !important;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px !important;
  text-decoration: none;
}

body.view-tournaments .chessora-tournament-list-tabs a {
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border-color: #b87916 !important;
  color: #1f1708 !important;
}

body.view-tournaments .chessora-button-primary,
body.view-tournaments .chessora-tournaments-page button.is-active,
body.view-tournaments .chessora-tournament-list-tabs a.is-active,
body.view-tournaments .chessora-observer-round-tabs button.is-active,
body.view-tournaments .chessora-pairing-tabs button.is-active {
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border-color: #b87916 !important;
  color: #1f1708 !important;
}

body.view-tournaments .chessora-tournament-agenda {
  display: grid;
  gap: 0;
  overflow: hidden;
}

body.view-tournaments .chessora-agenda-head {
  align-items: center;
  background: #f6ead2;
  border-bottom: 1px solid var(--event-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  padding: 16px 18px;
}

body.view-tournaments .chessora-agenda-row {
  align-items: center;
  background: #fffdf8 !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e1c7 !important;
  border-radius: 0 !important;
  color: var(--event-ink) !important;
  display: grid;
  gap: 16px;
  grid-template-columns: 92px minmax(240px, 1fr) minmax(170px, 0.7fr) 90px;
  min-height: 82px;
  padding: 14px 18px !important;
}

body.view-tournaments .chessora-agenda-row:hover,
body.view-tournaments .chessora-agenda-row:focus-within {
  background: #fff7e6 !important;
}

body.view-tournaments .chessora-agenda-time,
body.view-tournaments .chessora-agenda-main {
  color: var(--event-ink) !important;
  text-decoration: none;
}

body.view-tournaments .chessora-agenda-time,
body.view-tournaments .chessora-agenda-main,
body.view-tournaments .chessora-agenda-state,
body.view-tournaments .chessora-agenda-players {
  min-width: 0;
}

body.view-tournaments .chessora-agenda-main {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
}

body.view-tournaments .chessora-agenda-icon,
body.view-tournaments .chessora-format-icon,
body.view-tournaments .chessora-event-info-icon,
body.view-tournaments .chessora-observer-avatar {
  align-items: center;
  background: linear-gradient(135deg, #25352e, #d69a27) !important;
  border-radius: 8px;
  color: #fff8df !important;
  display: flex;
  font-weight: 950;
  justify-content: center;
}

body.view-tournaments .chessora-agenda-icon {
  height: 44px;
  width: 44px;
}

body.view-tournaments .chessora-agenda-pill,
body.view-tournaments .chessora-status-pill,
body.view-tournaments .chessora-board-pill,
body.view-tournaments .chessora-pairing-result,
body.view-tournaments .chessora-match-score-pill {
  background: #fff1cc !important;
  border: 1px solid #e5c17b !important;
  border-radius: 999px;
  color: #7a4b06 !important;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

body.view-tournaments .chessora-agenda-pill.is-open,
body.view-tournaments .chessora-status-pill.is-completed,
body.view-tournaments .chessora-match-score-pill.is-win,
body.view-tournaments .chessora-pairing-result.is-decided {
  background: #eaf7ed !important;
  border-color: #b8dfc2 !important;
  color: #247447 !important;
}

body.view-tournaments .chessora-match-score-pill.is-loss {
  background: #fae9e4 !important;
  border-color: #e0b5aa !important;
  color: #963d30 !important;
}

body.view-tournaments .chessora-match-score-pill.is-draw,
body.view-tournaments .chessora-pairing-result.is-draw {
  background: #eef1f3 !important;
  border-color: #d5dce1 !important;
  color: #52606b !important;
}

body.view-tournaments .chessora-event-hero {
  align-items: center;
  display: grid !important;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  padding: 24px !important;
}

body.view-tournaments .chessora-event-badge,
body.view-tournaments .chessora-event-open-note,
body.view-tournaments .chessora-event-info-card {
  grid-column: 1 / -1;
}

body.view-tournaments .chessora-event-date-card {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--event-line);
  border-radius: 8px;
  display: grid;
  justify-items: center;
  min-height: 104px;
  padding: 10px;
}

body.view-tournaments .chessora-event-date-card strong {
  font-size: 2.2rem;
  line-height: 1;
}

body.view-tournaments .chessora-event-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

body.view-tournaments .chessora-event-info-card,
body.view-tournaments .chessora-format-overview {
  align-items: start;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--event-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 14px;
}

body.view-tournaments .chessora-room-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
}

body.view-tournaments .chessora-room-panel {
  display: grid;
  gap: 14px;
  padding: 18px !important;
}

body.view-tournaments .chessora-room-panel > header {
  align-items: center;
  border-bottom: 1px solid var(--event-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 12px;
}

body.view-tournaments .chessora-room-format,
body.view-tournaments .chessora-room-chat,
body.view-tournaments .chessora-scoreboard,
body.view-tournaments .chessora-swiss-grid-panel,
body.view-tournaments .chessora-observer-panel,
body.view-tournaments .chessora-bracket-panel,
body.view-tournaments .chessora-pairings-panel {
  grid-column: 2;
}

body.view-tournaments .chessora-player-rating-list,
body.view-tournaments .chessora-tournament-chat,
body.view-tournaments .chessora-format-rules,
body.view-tournaments .chessora-room-conditions,
body.view-tournaments .chessora-stat-charts {
  display: grid;
  gap: 10px;
}

body.view-tournaments .chessora-format-rules article {
  align-items: start;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
}

body.view-tournaments .chessora-player-rating-list > div,
body.view-tournaments .chessora-tournament-chat p,
body.view-tournaments .chessora-format-rules article {
  padding: 12px;
}

body.view-tournaments .chessora-format-rules article > span,
body.view-tournaments .chessora-room-conditions dt > span,
body.view-tournaments .chessora-format-icon,
body.view-tournaments .chessora-event-info-icon {
  align-items: center;
  background: #fff1cc;
  border: 1px solid #e5c17b;
  border-radius: 8px;
  color: #7a4b06 !important;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

body.view-tournaments .chessora-format-rules article > span svg,
body.view-tournaments .chessora-room-conditions dt > span svg,
body.view-tournaments .chessora-format-icon svg,
body.view-tournaments .chessora-event-info-icon svg {
  display: block;
  height: 20px !important;
  max-height: 20px !important;
  max-width: 20px !important;
  width: 20px !important;
}

body.view-tournaments .chessora-room-conditions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

body.view-tournaments .chessora-room-conditions div {
  background: #fff8e8;
  border: 1px solid #edd9b4;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

body.view-tournaments .chessora-room-conditions dt {
  align-items: center;
  display: flex;
  gap: 8px;
}

body.view-tournaments .chessora-room-conditions .is-wide {
  grid-column: 1 / -1;
}

body.view-tournaments .chessora-tournament-chat-form {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body.view-tournaments .chessora-tournaments-page input,
body.view-tournaments .chessora-tournaments-page select,
body.view-tournaments .chessora-tournaments-page textarea {
  background: #fffdf8 !important;
  border: 1px solid var(--event-line-strong) !important;
  border-radius: 7px !important;
  color: var(--event-ink) !important;
  min-height: 42px;
  padding: 9px 11px !important;
}

body.view-tournaments .chessora-table {
  background: #fffdf8 !important;
  border: 1px solid var(--event-line) !important;
  border-radius: 8px !important;
  color: var(--event-ink) !important;
  overflow-x: auto;
}

body.view-tournaments .chessora-table-row {
  align-items: center;
  background: #fffdf8 !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e1c7 !important;
  border-radius: 0 !important;
  color: var(--event-ink) !important;
  min-width: 720px;
  padding: 11px 12px !important;
}

body.view-tournaments .chessora-table-row:last-child {
  border-bottom: 0 !important;
}

body.view-tournaments .chessora-table-head {
  background: #f3e3c5 !important;
  color: #6a5840 !important;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

body.view-tournaments .chessora-swiss-grid-scroll {
  overflow-x: auto;
}

body.view-tournaments .chessora-swiss-grid {
  background: #fffdf8;
  border: 1px solid var(--event-line);
  border-collapse: separate;
  border-radius: 8px;
  border-spacing: 0;
  min-width: 680px;
  overflow: hidden;
  width: 100%;
}

body.view-tournaments .chessora-swiss-grid th,
body.view-tournaments .chessora-swiss-grid td {
  border-bottom: 1px solid #f0e1c7;
  border-right: 1px solid #f0e1c7;
  color: var(--event-ink);
  min-width: 42px;
  padding: 9px;
  text-align: center;
}

body.view-tournaments .chessora-swiss-grid thead th {
  background: #f3e3c5;
  color: #6a5840;
}

body.view-tournaments .chessora-swiss-grid tbody th:nth-child(2) {
  text-align: left;
}

body.view-tournaments .chessora-swiss-grid td.is-win { background: #eaf7ed; }
body.view-tournaments .chessora-swiss-grid td.is-loss { background: #fae9e4; }
body.view-tournaments .chessora-swiss-grid td.is-draw { background: #eef1f3; }
body.view-tournaments .chessora-swiss-grid td.is-self { background: #efe2c7; }

body.view-tournaments .chessora-observer-main {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

body.view-tournaments .chessora-observer-board-stage {
  align-items: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 0;
}

body.view-tournaments .chessora-observer-player {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #edd9b4;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 12px;
}

body.view-tournaments .chessora-observer-players-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  width: min(100%, 1040px);
}

body.view-tournaments .chessora-observer-avatar {
  height: 48px;
  overflow: hidden;
  width: 48px;
}

body.view-tournaments .chessora-observer-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.view-tournaments .chessora-observer-board {
  aspect-ratio: 1 / 1;
  background: #26352f;
  border: 8px solid #26352f;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(73, 51, 18, 0.16);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  overflow: hidden;
}

body.view-tournaments .chessora-observer-board-large {
  width: min(100%, 480px);
}

body.view-tournaments .chessora-observer-board-mini {
  border-width: 4px;
  width: 104px;
}

body.view-tournaments .chessora-observer-board span {
  align-items: center;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

body.view-tournaments .chessora-observer-board .is-light { background: #efd8ad !important; }
body.view-tournaments .chessora-observer-board .is-dark { background: #9b632c !important; }

body.view-tournaments .chessora-observer-board img {
  display: block;
  height: 82%;
  object-fit: contain;
  width: 82%;
}

body.view-tournaments .chessora-observer-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  max-height: 460px;
  overflow: auto;
  padding-right: 4px;
}

body.view-tournaments .chessora-observer-strip[hidden],
body.view-tournaments .chessora-pairing-round[hidden] {
  display: none !important;
}

body.view-tournaments .chessora-observer-strip > a {
  background: #fff8e8 !important;
  border: 1px solid #edd9b4;
  border-radius: 8px;
  color: var(--event-ink) !important;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 12px;
  text-decoration: none;
}

body.view-tournaments .chessora-observer-strip > a.is-active {
  border-color: var(--event-gold);
  box-shadow: inset 0 0 0 2px rgba(214, 154, 39, 0.28);
}

body.view-tournaments .chessora-mini-match-line {
  align-items: center;
  background: rgba(8, 18, 14, 0.64) !important;
  border: 1px solid rgba(244, 207, 116, 0.36) !important;
  border-radius: 6px;
  color: #fff9e8 !important;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 7px 9px;
  width: 100%;
}

body.view-tournaments .chessora-mini-match-line strong {
  color: #fff9e8 !important;
}

body.view-tournaments .chessora-mini-match-line span {
  color: #ffe39a !important;
  font-weight: 800;
}

body.view-tournaments .chessora-replay-controls,
body.view-tournaments .chessora-observer-round-tabs,
body.view-tournaments .chessora-pairing-tabs,
body.view-tournaments .chessora-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.view-tournaments .chessora-observer-board-stage .chessora-replay-controls {
  justify-content: center;
  width: 100%;
}

body.view-tournaments .chessora-replay-controls [data-replay-status] {
  color: #fff9e8 !important;
  font-weight: 700;
}

body.view-tournaments .chessora-observer-round-tabs button:disabled,
body.view-tournaments .chessora-replay-controls button:disabled {
  background: #3f3722 !important;
  border-color: rgba(244, 207, 116, 0.42) !important;
  color: #d8c792 !important;
  opacity: 1 !important;
}

body.view-tournaments .chessora-bracket-board {
  background: #fff8e8 !important;
  border: 1px solid var(--event-line) !important;
  border-radius: 8px !important;
  display: grid;
  gap: 18px;
  margin: 0 !important;
  max-height: 720px;
  max-width: 100%;
  overflow: auto;
  padding: 16px !important;
}

body.view-tournaments .chessora-bracket-lane > header {
  color: var(--event-gold-dark) !important;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

body.view-tournaments .chessora-bracket-lane {
  position: relative;
}

body.view-tournaments .chessora-bracket-svg {
  inset: 0 auto auto 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

body.view-tournaments .chessora-bracket-svg path {
  fill: none;
  stroke: #c99b4b;
  stroke-width: 2;
}

body.view-tournaments .chessora-bracket-slot b {
  align-items: center;
  background: rgba(18, 24, 20, 0.68);
  border: 1px solid rgba(201, 155, 75, 0.28);
  border-radius: 999px;
  color: #fff7dd;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 950;
  justify-content: center;
  min-height: 24px;
  min-width: 28px;
  padding: 2px 7px;
}

body.view-tournaments .chessora-bracket-rounds,
body.view-tournaments .chessora-bracket-side {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-auto-columns: minmax(190px, 230px);
  grid-auto-flow: column;
  min-width: max-content;
  overflow: visible;
  position: relative;
  z-index: 1;
}

body.view-tournaments .chessora-bracket-split {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(max-content, 1fr) 210px minmax(max-content, 1fr);
  min-width: max-content;
}

body.view-tournaments .chessora-bracket-split > header {
  grid-column: 1 / -1;
}

body.view-tournaments .chessora-bracket-round {
  align-content: start;
  display: grid;
  gap: 10px;
}

body.view-tournaments .chessora-bracket-round > strong,
body.view-tournaments .chessora-bracket-center > strong {
  color: #6a5840 !important;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.view-tournaments .chessora-bracket-match {
  background: #fffdf8 !important;
  border: 1px solid #edd9b4 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(73, 51, 18, 0.08) !important;
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 8px !important;
}

body.view-tournaments .chessora-bracket-match::after {
  background: #d6ad67 !important;
  opacity: 0.7;
}

body.view-tournaments .chessora-bracket-slot {
  align-items: center;
  background: #fff8e8;
  border-left: 4px solid #d7c19b;
  border-radius: 6px;
  color: var(--event-ink);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 9px;
}

body.view-tournaments .chessora-bracket-slot.is-winner {
  background: #fff1cc;
  border-left-color: var(--event-gold);
}

body.view-tournaments .chessora-bracket-slot.is-loser {
  opacity: 0.64;
}

body.view-tournaments .chessora-watch-link {
  background: #fff1cc;
  border: 1px solid #e5c17b;
  border-radius: 999px;
  color: #7a4b06 !important;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  justify-self: start;
  padding: 7px 10px;
  text-decoration: none;
}

body.view-tournaments .chessora-bracket-center {
  align-content: center;
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

body.view-tournaments .chessora-trophy {
  align-items: center;
  background: linear-gradient(180deg, #f4cf74, #d59728);
  border: 1px solid #b87916;
  border-radius: 8px;
  color: #1f1708 !important;
  display: flex;
  font-size: 1.7rem;
  font-weight: 950;
  height: 56px;
  justify-content: center;
}

body.view-tournaments .chessora-pairings-details {
  display: grid;
  gap: 12px;
}

body.view-tournaments .chessora-pairings-details summary {
  color: var(--event-gold-dark);
  cursor: pointer;
  font-weight: 950;
}

body.view-tournaments .chessora-presence-modal {
  align-items: center;
  background: rgba(31, 26, 18, 0.42);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10000;
}

body.view-tournaments .chessora-presence-modal.is-visible {
  display: flex;
}

body.view-tournaments .chessora-presence-dialog {
  background: #fffdf8;
  border: 1px solid var(--event-line-strong);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(31, 26, 18, 0.24);
  display: grid;
  gap: 10px;
  max-width: 420px;
  padding: 22px;
  width: min(100%, 420px);
}

body.view-tournaments .chessora-podium {
  display: grid;
  gap: 18px;
  padding: 22px !important;
}

body.view-tournaments .chessora-podium > div {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.16fr) minmax(0, 0.92fr);
}

body.view-tournaments .chessora-podium article {
  background: #fff8e8;
  border: 1px solid #edd9b4;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  justify-items: start;
  min-height: 172px;
  padding: 62px 16px 16px;
  position: relative;
  text-align: left;
}

body.view-tournaments .chessora-podium article::before {
  border: 1px solid #edd9b4;
  border-radius: 999px;
  content: "Finalist";
  font-size: 0.68rem;
  font-weight: 900;
  left: 14px;
  padding: 6px 9px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

body.view-tournaments .chessora-podium article.place-1 {
  min-height: 204px;
  order: 2;
  padding-top: 68px;
  transform: translateY(-10px);
}

body.view-tournaments .chessora-podium article.place-2 {
  order: 1;
}

body.view-tournaments .chessora-podium article.place-3 {
  order: 3;
}

body.view-tournaments .chessora-podium article.place-1::before {
  content: "Champion";
}

body.view-tournaments .chessora-podium article.place-2::before {
  content: "Runner up";
}

body.view-tournaments .chessora-podium article.place-3::before {
  content: "Third";
}

body.view-tournaments .chessora-podium-medal {
  display: none;
}

body.view-tournaments .chessora-podium-avatar {
  align-items: center;
  background: #0b1712;
  border: 3px solid #fff8e8;
  border-radius: 999px;
  color: #ffe39a;
  display: inline-flex;
  font-weight: 950;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  right: 16px;
  text-decoration: none;
  top: 16px;
  width: 64px;
}

body.view-tournaments .chessora-podium article.place-1 .chessora-podium-avatar {
  height: 78px;
  width: 78px;
}

body.view-tournaments .chessora-podium article strong {
  padding-right: 74px;
}

body.view-tournaments .chessora-podium-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.view-tournaments .chessora-podium article strong a {
  color: inherit;
  text-decoration: none;
}

body.view-tournaments .chessora-podium article strong a:hover,
body.view-tournaments .chessora-podium article strong a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.view-tournaments .chessora-podium-stats {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

body.view-tournaments .chessora-podium-stats small {
  border: 1px solid #edd9b4;
  border-radius: 6px;
  display: grid;
  gap: 3px 8px;
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 64px;
  padding: 9px 10px;
}

body.view-tournaments .chessora-podium-stat-icon {
  align-items: center;
  align-self: center;
  border: 1px solid #edd9b4;
  border-radius: 6px;
  display: inline-flex;
  grid-row: 1 / 3;
  height: 26px;
  justify-content: center;
  width: 26px;
}

body.view-tournaments .chessora-podium-stat-icon svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 15px;
}

body.view-tournaments .chessora-podium-stats small b {
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

body.view-tournaments .chessora-podium-stats small span {
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  body.view-tournaments .chessora-room-grid,
  body.view-tournaments .chessora-observer-main,
  body.view-tournaments .chessora-event-hero,
  body.view-tournaments .chessora-agenda-head,
  body.view-tournaments .chessora-agenda-row {
    grid-template-columns: 1fr !important;
  }

  body.view-tournaments .chessora-room-format,
  body.view-tournaments .chessora-room-chat,
  body.view-tournaments .chessora-scoreboard,
  body.view-tournaments .chessora-swiss-grid-panel,
  body.view-tournaments .chessora-observer-panel,
  body.view-tournaments .chessora-bracket-panel,
  body.view-tournaments .chessora-pairings-panel {
    grid-column: 1;
  }

  body.view-tournaments .chessora-event-actions {
    justify-content: start;
  }

  body.view-tournaments .chessora-observer-board-large {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  body.view-tournaments .chessora.chessora-tournaments-page {
    padding: 18px 12px 30px !important;
  }

  body.view-tournaments .chessora-tournaments-page .chessora-tabs,
  body.view-tournaments .chessora-guide-panel > div,
  body.view-tournaments .chessora-room-conditions,
  body.view-tournaments .chessora-podium > div,
  body.view-tournaments .chessora-observer-players-row,
  body.view-tournaments .chessora-tournament-chat-form {
    grid-template-columns: 1fr !important;
  }

  body.view-tournaments .chessora-podium article,
  body.view-tournaments .chessora-podium article.place-1 {
    min-height: 0;
    transform: none;
  }

  body.view-tournaments .chessora-podium article.place-1 {
    order: 1;
  }

  body.view-tournaments .chessora-podium article.place-2 {
    order: 2;
  }

  body.view-tournaments .chessora-podium article.place-3 {
    order: 3;
  }

  body.view-tournaments .chessora-tournaments-page .chessora-tabs a {
    border-bottom: 1px solid #f0e1c7 !important;
    border-right: 0 !important;
  }

  body.view-tournaments .chessora-tournament-hero {
    grid-template-columns: 1fr;
  }

  body.view-tournaments .chessora-tournament-hero-art {
    display: none;
  }

  body.view-tournaments .chessora-observer-strip {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }

  body.view-tournaments .chessora-table-row {
    min-width: 620px;
  }
}

/* Correspondence dark module theme. */
body.view-correspondence .chessora-correspondence-page,
.chessora-correspondence-page {
  --daily-bg: #07100e;
  --daily-panel: #2f3a33;
  --daily-panel-2: #26322b;
  --daily-head: #3a422c;
  --daily-line: rgba(205, 218, 210, 0.28);
  --daily-line-strong: rgba(241, 207, 119, 0.38);
  --daily-text: #eef5f1;
  --daily-muted: #cbd6d0;
  --daily-gold: #f1cf77;
  --daily-gold-dark: #c78b25;
  background:
    radial-gradient(circle at 16% 0%, rgba(241, 207, 119, 0.12), transparent 30%),
    linear-gradient(180deg, #101923 0%, #0b1512 48%, #07100e 100%) !important;
  border: 1px solid rgba(241, 207, 119, 0.18) !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34) !important;
  color: var(--daily-text) !important;
}

body.view-correspondence .chessora-correspondence-page :where(h1, h2, h3, strong, b, label, dt, dd, th),
.chessora-correspondence-page :where(h1, h2, h3, strong, b, label, dt, dd, th) {
  color: #fff7dd !important;
}

body.view-correspondence .chessora-correspondence-page :where(p, span, small, li, figcaption),
.chessora-correspondence-page :where(p, span, small, li, figcaption) {
  color: var(--daily-muted) !important;
}

body.view-correspondence .chessora-correspondence-page :where(.chessora-kicker, a),
.chessora-correspondence-page :where(.chessora-kicker, a) {
  color: var(--daily-gold) !important;
}

body.view-correspondence .chessora-correspondence-page .chessora-tabs,
.chessora-correspondence-page .chessora-tabs {
  background: rgba(13, 23, 20, 0.88) !important;
  border: 1px solid rgba(241, 207, 119, 0.26) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  gap: 10px !important;
  padding: 8px !important;
}

body.view-correspondence .chessora-correspondence-page .chessora-tabs a,
.chessora-correspondence-page .chessora-tabs a {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(205, 218, 210, 0.18) !important;
  border-radius: 8px !important;
  color: var(--daily-text) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55) !important;
}

body.view-correspondence .chessora-correspondence-page .chessora-tabs a.is-active,
body.view-correspondence .chessora-correspondence-page .chessora-tabs a:hover,
.chessora-correspondence-page .chessora-tabs a.is-active,
.chessora-correspondence-page .chessora-tabs a:hover {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.68) !important;
  color: #151008 !important;
  text-shadow: none !important;
}

body.view-correspondence .chessora-correspondence-hero,
.chessora-correspondence-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    var(--daily-panel) !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32) !important;
  color: var(--daily-text) !important;
}

body.view-correspondence .chessora-correspondence-hero::before,
.chessora-correspondence-hero::before {
  background:
    linear-gradient(rgba(205, 218, 210, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 218, 210, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(241, 207, 119, 0.16), transparent 56%),
    #08130f !important;
  background-size: 58px 58px, 58px 58px, auto, auto !important;
  opacity: 0.72 !important;
}

body.view-correspondence .chessora-correspondence-hero::after,
.chessora-correspondence-hero::after {
  color: rgba(255, 247, 221, 0.9) !important;
  opacity: 0.9 !important;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42) !important;
}

body.view-correspondence .chessora-correspondence-hero h1,
.chessora-correspondence-hero h1 {
  color: #fff7dd !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

body.view-correspondence .chessora-correspondence-stats article,
body.view-correspondence .chessora-correspondence-rules article,
body.view-correspondence .chessora-correspondence-lobby article,
body.view-correspondence .chessora-turn-list article,
.chessora-correspondence-stats article,
.chessora-correspondence-rules article,
.chessora-correspondence-lobby article,
.chessora-turn-list article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--daily-panel-2) !important;
  border: 1px solid rgba(205, 218, 210, 0.18) !important;
  color: var(--daily-text) !important;
}

body.view-correspondence :where(
  .chessora-correspondence-profile-card,
  .chessora-correspondence-goal-card,
  .chessora-correspondence-card,
  .chessora-correspondence-board-card,
  .chessora-correspondence-active
),
.chessora-correspondence-page :where(
  .chessora-correspondence-profile-card,
  .chessora-correspondence-goal-card,
  .chessora-correspondence-card,
  .chessora-correspondence-board-card,
  .chessora-correspondence-active
) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    var(--daily-panel) !important;
  border: 1px solid var(--daily-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28) !important;
  color: var(--daily-text) !important;
}

body.view-correspondence .chessora-correspondence-profile-card figure,
.chessora-correspondence-profile-card figure {
  background:
    radial-gradient(circle at 35% 30%, #fff0a8, transparent 38%),
    linear-gradient(135deg, #f0c65e, #26322b) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 221, 0.48), 0 10px 24px rgba(0, 0, 0, 0.28) !important;
  color: #ffffff !important;
}

body.view-correspondence .chessora-correspondence-profile-card dl,
.chessora-correspondence-profile-card dl {
  border-top-color: var(--daily-line) !important;
}

body.view-correspondence .chessora-correspondence-goal-card header,
body.view-correspondence .chessora-correspondence-board-head,
body.view-correspondence .chessora-correspondence-active header,
.chessora-correspondence-goal-card header,
.chessora-correspondence-board-head,
.chessora-correspondence-active header {
  background:
    linear-gradient(90deg, rgba(241, 207, 119, 0.18), rgba(255, 255, 255, 0.035)),
    var(--daily-head) !important;
  border: 1px solid var(--daily-line-strong) !important;
  border-radius: 8px !important;
  color: #fff7dd !important;
}

body.view-correspondence .chessora-correspondence-active .chessora-table-head,
body.view-correspondence .chessora-correspondence-active .chessora-table-row,
.chessora-correspondence-active .chessora-table-head,
.chessora-correspondence-active .chessora-table-row {
  background: rgba(8, 19, 15, 0.72) !important;
  border-color: rgba(205, 218, 210, 0.16) !important;
  color: var(--daily-text) !important;
}

body.view-correspondence .chessora-correspondence-active .chessora-table-head,
.chessora-correspondence-active .chessora-table-head {
  background: #17231e !important;
  color: #f7fbf8 !important;
}

body.view-correspondence .chessora-correspondence-page :where(.chessora-button, button, input[type="submit"]),
.chessora-correspondence-page :where(.chessora-button, button, input[type="submit"]) {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.64) !important;
  color: #151008 !important;
  text-shadow: none !important;
}

body.view-correspondence .chessora-correspondence-page :where(input, select, textarea),
.chessora-correspondence-page :where(input, select, textarea) {
  background: #101a17 !important;
  border-color: rgba(241, 207, 119, 0.3) !important;
  color: #fff7dd !important;
}

body.view-correspondence .chessora-correspondence-hero,
.chessora-correspondence-hero {
  align-items: end !important;
  background:
    linear-gradient(90deg, rgba(47, 58, 51, 0.98) 0%, rgba(47, 58, 51, 0.92) 34%, rgba(15, 25, 20, 0.56) 58%, rgba(7, 16, 14, 0.3) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    var(--daily-panel) !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr) !important;
  min-height: 420px !important;
  overflow: hidden !important;
  padding: 58px 46px 34px !important;
  position: relative !important;
}

body.view-correspondence .chessora-correspondence-hero::before,
.chessora-correspondence-hero::before {
  background:
    linear-gradient(90deg, rgba(47, 58, 51, 0.82), rgba(7, 16, 14, 0.08) 34%, rgba(7, 16, 14, 0.26) 100%),
    url("../images/correspondence-hero-wooden-knight.png") center right / cover no-repeat !important;
  border-left: 1px solid rgba(241, 207, 119, 0.18) !important;
  border-radius: 0 18px 18px 0 !important;
  bottom: 0 !important;
  content: "" !important;
  left: 31% !important;
  opacity: 1 !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  z-index: 0 !important;
}

body.view-correspondence .chessora-correspondence-hero::after,
.chessora-correspondence-hero::after {
  display: none !important;
}

body.view-correspondence .chessora-correspondence-hero > div,
.chessora-correspondence-hero > div {
  position: relative !important;
  z-index: 1 !important;
}

body.view-correspondence .chessora-correspondence-hero > div:first-child,
.chessora-correspondence-hero > div:first-child {
  align-self: center !important;
  max-width: 440px !important;
}

body.view-correspondence .chessora-correspondence-hero .chessora-kicker,
.chessora-correspondence-hero .chessora-kicker {
  background: rgba(241, 207, 119, 0.14) !important;
  border: 1px solid rgba(241, 207, 119, 0.34) !important;
  border-radius: 999px !important;
  color: #f8d985 !important;
  display: inline-flex !important;
  padding: 6px 10px !important;
  width: auto !important;
}

body.view-correspondence .chessora-correspondence-hero p:not(.chessora-kicker),
.chessora-correspondence-hero p:not(.chessora-kicker) {
  color: #eef5f1 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
}

body.view-correspondence .chessora-correspondence-stats,
.chessora-correspondence-stats {
  align-self: end !important;
  background: rgba(8, 19, 15, 0.72) !important;
  border: 1px solid rgba(241, 207, 119, 0.22) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(92px, 1fr)) !important;
  justify-self: end !important;
  max-width: 420px !important;
  overflow: hidden !important;
  width: min(100%, 420px) !important;
}

body.view-correspondence .chessora-correspondence-stats strong,
body.view-correspondence .chessora-correspondence-stats span,
.chessora-correspondence-stats strong,
.chessora-correspondence-stats span {
  background: rgba(255, 255, 255, 0.045) !important;
  border-right: 1px solid rgba(205, 218, 210, 0.14) !important;
  color: #fff7dd !important;
  display: grid !important;
  justify-items: center !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.64) !important;
}

body.view-correspondence .chessora-correspondence-stats strong,
.chessora-correspondence-stats strong {
  font-size: 2.15rem !important;
  padding: 16px 12px 2px !important;
}

body.view-correspondence .chessora-correspondence-stats span,
.chessora-correspondence-stats span {
  color: #cbd6d0 !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  padding: 0 12px 14px !important;
  text-transform: uppercase !important;
}

@media (max-width: 900px) {
  body.view-correspondence .chessora-correspondence-hero,
  .chessora-correspondence-hero {
    grid-template-columns: 1fr !important;
    min-height: 520px !important;
    padding: 34px 22px 24px !important;
  }

  body.view-correspondence .chessora-correspondence-hero::before,
  .chessora-correspondence-hero::before {
    left: 0 !important;
    opacity: 0.38 !important;
  }

  body.view-correspondence .chessora-correspondence-stats,
  .chessora-correspondence-stats {
    justify-self: stretch !important;
  }
}

/* Correspondence rebuild: full-width visual lead. */
body.view-correspondence .shell-page {
  max-width: none !important;
  padding-inline: 0 !important;
  width: 100% !important;
}

body.view-correspondence .shell-component-card {
  border-left: 0 !important;
  border-radius: 0 !important;
  border-right: 0 !important;
  overflow: visible !important;
}

body.view-correspondence .chessora-correspondence-page {
  display: block !important;
  max-width: none !important;
  padding: 18px 0 48px !important;
  position: relative !important;
  width: 100% !important;
}

body.view-correspondence .chessora-correspondence-page > :where(
  .chessora-correspondence-shell,
  .chessora-correspondence-active
) {
  margin-inline: auto !important;
  width: min(1180px, calc(100% - 64px)) !important;
}

body.view-correspondence .chessora-correspondence-page > .chessora-tabs {
  display: none !important;
}

body.view-correspondence .chessora-correspondence-hero,
.chessora-correspondence-hero {
  border-left: 0 !important;
  border-radius: 0 !important;
  border-right: 0 !important;
  grid-column: auto !important;
  grid-template-columns: minmax(280px, 0.52fr) minmax(320px, 1fr) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  min-height: 560px !important;
  padding: 74px max(32px, calc((100vw - 1180px) / 2 + 32px)) 44px !important;
  width: 100% !important;
}

body.view-correspondence .chessora-correspondence-hero::before,
.chessora-correspondence-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.9) 0%, rgba(47, 58, 51, 0.76) 30%, rgba(7, 16, 14, 0.24) 60%, rgba(7, 16, 14, 0.1) 100%),
    url("../images/correspondence-hero-wooden-knight.png") center right / cover no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  left: 0 !important;
}

body.view-correspondence .chessora-correspondence-hero > div:first-child,
.chessora-correspondence-hero > div:first-child {
  max-width: 500px !important;
}

@media (max-width: 900px) {
  body.view-correspondence .chessora-correspondence-page > :where(
    .chessora-correspondence-shell,
    .chessora-correspondence-active
  ) {
    width: min(100% - 28px, 680px) !important;
  }

  body.view-correspondence .chessora-correspondence-hero,
  .chessora-correspondence-hero {
    min-height: 560px !important;
    padding: 44px 18px 28px !important;
  }

}

/* Correspondence desk interface. */
body.view-correspondence .chessora-correspondence-desk,
.chessora-correspondence-desk {
  align-items: start !important;
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: minmax(250px, 320px) minmax(520px, 1fr) minmax(250px, 320px) !important;
}

body.view-correspondence .chessora-correspondence-desk .chessora-correspondence-left,
body.view-correspondence .chessora-correspondence-desk .chessora-correspondence-right,
.chessora-correspondence-desk .chessora-correspondence-left,
.chessora-correspondence-desk .chessora-correspondence-right {
  display: grid !important;
  gap: 12px !important;
}

body.view-correspondence .chessora-correspondence-create,
.chessora-correspondence-create {
  background:
    linear-gradient(135deg, rgba(244, 207, 116, 0.1), rgba(91, 124, 89, 0.08)),
    #101d18 !important;
  border-color: rgba(244, 207, 116, 0.58) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 247, 215, 0.05) !important;
  min-height: 520px !important;
  padding: 24px !important;
}

body.view-correspondence .chessora-correspondence-mode-row,
.chessora-correspondence-mode-row {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 18px 0 !important;
}

body.view-correspondence .chessora-correspondence-mode-row span,
.chessora-correspondence-mode-row span {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(244, 207, 116, 0.18) !important;
  border-radius: 8px !important;
  color: #dfe8e2 !important;
  display: flex !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 8px 10px !important;
}

body.view-correspondence .chessora-correspondence-mode-row span.is-active,
.chessora-correspondence-mode-row span.is-active {
  background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
  color: #12100a !important;
}

body.view-correspondence .chessora-correspondence-presets,
.chessora-correspondence-presets {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 0 0 20px !important;
}

body.view-correspondence .chessora-correspondence-presets a,
.chessora-correspondence-presets a {
  align-content: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(244, 207, 116, 0.22) !important;
  border-radius: 9px !important;
  color: #fff7dd !important;
  display: grid !important;
  gap: 6px !important;
  min-height: 118px !important;
  padding: 14px !important;
  text-align: center !important;
}

body.view-correspondence .chessora-correspondence-presets a:hover,
.chessora-correspondence-presets a:hover {
  background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
  color: #12100a !important;
}

body.view-correspondence .chessora-correspondence-presets strong,
.chessora-correspondence-presets strong {
  font-size: 1.35rem !important;
}

body.view-correspondence .chessora-correspondence-presets small,
.chessora-correspondence-presets small {
  color: inherit !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

body.view-correspondence .chessora-correspondence-etiquette p,
.chessora-correspondence-etiquette p {
  align-items: start !important;
  border-top: 1px solid rgba(244, 207, 116, 0.18) !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 28px 1fr !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
}

body.view-correspondence .chessora-correspondence-etiquette p + p,
.chessora-correspondence-etiquette p + p {
  margin-top: 10px !important;
}

body.view-correspondence .chessora-correspondence-etiquette .fas,
.chessora-correspondence-etiquette .fas {
  align-items: center !important;
  background: rgba(244, 207, 116, 0.18) !important;
  border: 1px solid rgba(244, 207, 116, 0.36) !important;
  border-radius: 50% !important;
  color: #f4cf74 !important;
  display: inline-flex !important;
  height: 28px !important;
  justify-content: center !important;
  width: 28px !important;
}

body.view-correspondence .chessora-correspondence-open .chessora-correspondence-lobby,
.chessora-correspondence-open .chessora-correspondence-lobby {
  display: grid !important;
  gap: 10px !important;
}

body.view-game .chessora-game-room.is-correspondence {
  --room-bg: #08110f;
  --room-panel: #18241f;
  --room-panel-2: #22302a;
  --room-line: rgba(190, 154, 83, 0.34);
}

body.view-game .chessora-game-room.is-correspondence .chessora-engine-eval-rail,
body.view-game .chessora-game-room.is-correspondence .chessora-tool-content-stack,
body.view-game .chessora-game-room.is-correspondence .chessora-engine-panel,
body.view-game .chessora-game-room.is-correspondence .chessora-sidebar-spectators,
body.view-game .chessora-game-room.is-correspondence [data-hide-correspondence] {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-correspondence-board-tools {
  background:
    linear-gradient(180deg, rgba(244, 207, 116, 0.1), rgba(255, 255, 255, 0.035)),
    #17241e !important;
  border-color: rgba(244, 207, 116, 0.34) !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-daily-note textarea {
  min-height: 180px !important;
}

body.view-game .chessora-game-room.is-correspondence {
  --chessora-board-light: #f0d7a4;
  --chessora-board-dark: #744820;
  --room-board-size: clamp(500px, min(55vw, calc(100vh - 260px)), 680px) !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
  display: grid !important;
  gap: 18px !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: 1fr !important;
  margin: 0 auto !important;
  max-width: calc(var(--room-board-size) + 64px) !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
  align-items: center !important;
  display: grid !important;
  justify-items: center !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side {
  display: grid !important;
  gap: 12px !important;
  grid-column: 1 !important;
  margin: 0 auto !important;
  min-width: 0 !important;
  position: static !important;
  transform: none !important;
  width: min(100%, calc(var(--room-board-size) + 44px)) !important;
  z-index: auto !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-area {
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-panel,
body.view-game .chessora-game-room.is-correspondence .chessora-player-rail,
body.view-game .chessora-game-room.is-correspondence .chessora-board-actions,
body.view-game .chessora-game-room.is-correspondence .chessora-postgame-actions {
  grid-column: 1 !important;
  margin: 0 !important;
  max-width: none !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
  z-index: auto !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard {
  max-width: calc(var(--room-board-size) + 44px) !important;
  width: min(100%, calc(var(--room-board-size) + 44px)) !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board.cg-wrap cg-board,
body.view-game .chessora-game-room.is-correspondence .chessora-analysis-board.cg-wrap cg-board {
  background:
    conic-gradient(
      var(--chessora-board-light) 0 25%,
      var(--chessora-board-dark) 0 50%,
      var(--chessora-board-light) 0 75%,
      var(--chessora-board-dark) 0 100%
    ) 0 0 / 25% 25% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls {
  grid-template-columns: repeat(8, minmax(42px, 1fr)) !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-download-pgn],
body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed],
body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle] {
  align-items: center !important;
  background: #fbfcfd !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 8px !important;
  color: #344054 !important;
  display: inline-flex !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  grid-column: auto !important;
  justify-content: center !important;
  margin-top: 16px !important;
  min-height: 46px !important;
  opacity: 1 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-download-pgn] {
  grid-column: 1 / 3 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed] {
  grid-column: 3 / 5 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle] {
  grid-column: 5 / 7 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed]:disabled {
  background: #fbfcfd !important;
  border-color: #dce3e8 !important;
  color: #344054 !important;
  cursor: not-allowed !important;
  filter: saturate(0.76);
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle].is-active {
  background: #e8f4ed !important;
  border-color: #98d1ad !important;
  color: #215f3a !important;
}

.chessora-analysis-board-panel[hidden] {
  display: none !important;
}

.chessora-analysis-board-panel {
  display: block;
  pointer-events: none;
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: min(calc(100vw - 36px), 430px);
  z-index: 10000;
}

.chessora-analysis-board-card {
  background: linear-gradient(180deg, #14231e, #0b1512);
  border: 1px solid rgba(244, 207, 116, 0.32);
  border-radius: 10px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
  color: #f7f0dc;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto auto;
  max-height: calc(100vh - 32px);
  max-width: 430px;
  overflow: auto;
  padding: 18px;
  pointer-events: auto;
  width: 100%;
}

.chessora-analysis-board-card header {
  align-items: center;
  cursor: grab;
  display: flex;
  justify-content: space-between;
  touch-action: none;
  user-select: none;
}

.chessora-analysis-board-panel.is-dragging .chessora-analysis-board-card header {
  cursor: grabbing;
}

.chessora-analysis-board-card header strong,
.chessora-analysis-board-card header span {
  display: block;
}

.chessora-analysis-board-card header span {
  color: #b9c6bf;
  font-size: 0.82rem;
  font-weight: 800;
}

.chessora-analysis-board-card header button {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: #f7f0dc;
  display: inline-flex;
  font-size: 1.4rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.chessora-analysis-board {
  aspect-ratio: 1 / 1;
  background: #10211c;
  border: 8px solid #274f3f;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(248, 217, 133, 0.1), 0 18px 38px rgba(0, 0, 0, 0.32);
  max-width: 388px;
  width: 100%;
}

.chessora-analysis-board-card footer {
  display: grid;
}

.chessora-analysis-board-card .chessora-button {
  justify-content: center;
}

@media (max-width: 640px) {
  body.view-game .chessora-game-room.is-correspondence .chessora-move-controls {
    grid-template-columns: repeat(5, minmax(42px, 1fr)) !important;
  }

  body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-download-pgn],
  body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed],
  body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle] {
    grid-column: auto !important;
    margin-top: 0 !important;
  }

  .chessora-analysis-board-panel {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .chessora-analysis-board-card {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  body.view-correspondence .chessora-correspondence-desk,
  .chessora-correspondence-desk {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) !important;
  }

  body.view-correspondence .chessora-correspondence-desk .chessora-correspondence-right,
  .chessora-correspondence-desk .chessora-correspondence-right {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 820px) {
  body.view-correspondence .chessora-correspondence-desk,
  .chessora-correspondence-desk,
  body.view-correspondence .chessora-correspondence-mode-row,
  .chessora-correspondence-mode-row,
  body.view-correspondence .chessora-correspondence-presets,
  .chessora-correspondence-presets {
    grid-template-columns: 1fr !important;
  }
}

/* Correspondence final pass: grouped stat tiles and full-width hero polish. */
body.view-correspondence .chessora-correspondence-page {
  box-shadow: none !important;
  overflow-x: clip !important;
}

body.view-correspondence .chessora-correspondence-hero {
  margin-bottom: 28px !important;
}

body.view-correspondence .chessora-correspondence-stats,
.chessora-correspondence-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.view-correspondence .chessora-correspondence-stats article,
.chessora-correspondence-stats article {
  background: rgba(8, 19, 15, 0.58) !important;
  border: 1px solid rgba(241, 207, 119, 0.2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body.view-correspondence .chessora-correspondence-stats article:first-child,
.chessora-correspondence-stats article:first-child {
  border-radius: 9px 0 0 9px !important;
}

body.view-correspondence .chessora-correspondence-stats article:last-child,
.chessora-correspondence-stats article:last-child {
  border-radius: 0 9px 9px 0 !important;
}

body.view-correspondence .chessora-correspondence-stats article strong,
body.view-correspondence .chessora-correspondence-stats article span,
.chessora-correspondence-stats article strong,
.chessora-correspondence-stats article span {
  background: transparent !important;
  border: 0 !important;
  line-height: 1.1 !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}

body.view-correspondence .chessora-correspondence-board-list,
.chessora-correspondence-board-list {
  overflow-x: auto !important;
}

body.view-correspondence .chessora-correspondence-board-list-head,
body.view-correspondence .chessora-correspondence-active article,
.chessora-correspondence-board-list-head,
.chessora-correspondence-active article {
  align-items: center !important;
  min-width: 920px !important;
}

@media (max-width: 900px) {
  body.view-correspondence .chessora-correspondence-hero,
  .chessora-correspondence-hero {
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0.76), rgba(7, 16, 14, 0.52)),
      var(--daily-panel) !important;
  }

  body.view-correspondence .chessora-correspondence-stats,
  .chessora-correspondence-stats {
    max-width: none !important;
    width: 100% !important;
  }
}

@media (max-width: 620px) {
  body.view-correspondence .chessora-correspondence-stats,
  .chessora-correspondence-stats {
    grid-template-columns: 1fr !important;
  }

  body.view-correspondence .chessora-correspondence-stats article,
  body.view-correspondence .chessora-correspondence-stats article:first-child,
  body.view-correspondence .chessora-correspondence-stats article:last-child,
  .chessora-correspondence-stats article,
  .chessora-correspondence-stats article:first-child,
  .chessora-correspondence-stats article:last-child {
    border-radius: 9px !important;
  }

  body.view-correspondence .chessora-correspondence-board-list-head,
  body.view-correspondence .chessora-correspondence-active article,
  .chessora-correspondence-board-list-head,
  .chessora-correspondence-active article {
    min-width: 0 !important;
  }
}

/* Correspondence selector rebuild: match the live chess selector without color choice. */
body.view-correspondence .chessora-correspondence-desk,
.chessora-correspondence-desk {
  grid-template-columns: minmax(270px, 340px) minmax(640px, 1fr) !important;
  width: min(1320px, calc(100% - 56px)) !important;
}

body.view-correspondence .chessora-correspondence-desk .chessora-correspondence-right,
.chessora-correspondence-desk .chessora-correspondence-right {
  grid-column: 1 / -1 !important;
}

body.view-correspondence .chessora-correspondence-selector,
.chessora-correspondence-selector {
  background:
    linear-gradient(115deg, rgba(244, 207, 116, 0.08), rgba(255, 255, 255, 0.025)),
    #08130f !important;
  border: 1px solid rgba(244, 207, 116, 0.62) !important;
  border-radius: 8px !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34) !important;
  display: grid !important;
  gap: 16px !important;
  padding: 24px !important;
}

body.view-correspondence .chessora-correspondence-selector .chessora-rated-toggle,
.chessora-correspondence-selector .chessora-rated-toggle {
  background: rgba(244, 207, 116, 0.08) !important;
  border: 1px solid rgba(244, 207, 116, 0.24) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 6px !important;
}

body.view-correspondence .chessora-correspondence-selector .chessora-rated-toggle span,
.chessora-correspondence-selector .chessora-rated-toggle span {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 7px !important;
  color: rgba(244, 246, 242, 0.48) !important;
  display: flex !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 44px !important;
}

body.view-correspondence .chessora-correspondence-selector .chessora-rated-toggle span.is-active,
.chessora-correspondence-selector .chessora-rated-toggle span.is-active {
  background: linear-gradient(180deg, #f2c757, #d99b2d) !important;
  border-color: rgba(255, 235, 166, 0.72) !important;
  color: #11130c !important;
}

body.view-correspondence .chessora-correspondence-pairing-note,
.chessora-correspondence-pairing-note {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(244, 207, 116, 0.2) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 10px 14px !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  padding: 14px !important;
}

body.view-correspondence .chessora-correspondence-pairing-note .fas,
.chessora-correspondence-pairing-note .fas {
  align-items: center !important;
  background: rgba(244, 207, 116, 0.16) !important;
  border: 1px solid rgba(244, 207, 116, 0.34) !important;
  border-radius: 8px !important;
  color: #f4cf74 !important;
  display: flex !important;
  height: 40px !important;
  justify-content: center !important;
  width: 40px !important;
}

body.view-correspondence .chessora-correspondence-pairing-note p,
.chessora-correspondence-pairing-note p {
  grid-column: 2 !important;
  margin: -6px 0 0 !important;
}

body.view-correspondence .chessora-correspondence-create-group div,
.chessora-correspondence-create-group div {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.view-correspondence .chessora-correspondence-time-button,
.chessora-correspondence-time-button {
  align-content: center !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(244, 207, 116, 0.24) !important;
  border-radius: 7px !important;
  color: #fff7dd !important;
  display: grid !important;
  gap: 6px !important;
  min-height: 112px !important;
  padding: 14px !important;
  text-align: center !important;
  text-decoration: none !important;
}

body.view-correspondence .chessora-correspondence-time-button:hover,
body.view-correspondence .chessora-correspondence-time-button:focus,
.chessora-correspondence-time-button:hover,
.chessora-correspondence-time-button:focus {
  background: linear-gradient(180deg, #f2c757, #d99b2d) !important;
  color: #11130c !important;
}

body.view-correspondence .chessora-correspondence-time-button strong,
.chessora-correspondence-time-button strong {
  font-size: 1.3rem !important;
}

body.view-correspondence .chessora-correspondence-board-preview,
.chessora-correspondence-board-preview {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(244, 207, 116, 0.2) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  padding: 16px !important;
}

body.view-correspondence .chessora-correspondence-mini-board,
.chessora-correspondence-mini-board {
  aspect-ratio: 1 !important;
  border: 4px solid #16231e !important;
  border-radius: 6px !important;
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  grid-template-rows: repeat(8, 1fr) !important;
  overflow: hidden !important;
}

body.view-correspondence .chessora-correspondence-mini-board > span,
.chessora-correspondence-mini-board > span {
  aspect-ratio: 1 / 1 !important;
  background-image: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

body.view-correspondence .chessora-correspondence-mini-board .is-light,
.chessora-correspondence-mini-board .is-light {
  background: #efd8ad !important;
}

body.view-correspondence .chessora-correspondence-mini-board .is-dark,
.chessora-correspondence-mini-board .is-dark {
  background: #8d5a30 !important;
}

@media (max-width: 980px) {
  body.view-correspondence .chessora-correspondence-desk,
  .chessora-correspondence-desk,
  body.view-correspondence .chessora-correspondence-create-group div,
  .chessora-correspondence-create-group div,
  body.view-correspondence .chessora-correspondence-board-preview,
  .chessora-correspondence-board-preview {
    grid-template-columns: 1fr !important;
  }
}

/* Tournament theme pass: align tournament pages with the live chess room. */
body.view-tournaments .shell-page {
  max-width: none !important;
  padding-inline: 0 !important;
  width: 100% !important;
}

body.view-tournaments .shell-component-card {
  background: #08110f !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #f4f6f2 !important;
}

body.view-tournaments .chessora-tournaments-page {
  background:
    linear-gradient(180deg, #08110f 0%, #101a16 48%, #08110f 100%) !important;
  color: #f4f6f2 !important;
  max-width: none !important;
  padding: 18px max(22px, calc((100vw - 1320px) / 2 + 22px)) 48px !important;
}

body.view-tournaments .chessora-tournament-public :where(.chessora-card, .chessora-guide-panel, .chessora-tournament-detail, .chessora-tournament-chat, .chessora-tournament-games, .chessora-tournament-standings, .chessora-tournament-bracket, .chessora-tournament-player-panel, .chessora-tournament-info-panel) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    #17241f !important;
  border: 1px solid rgba(244, 207, 116, 0.24) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24) !important;
  color: #f4f6f2 !important;
}

body.view-tournaments .chessora-tournament-hero {
  background:
    linear-gradient(105deg, rgba(8, 17, 15, 0.96), rgba(22, 35, 30, 0.88)),
    #101a16 !important;
  border: 1px solid rgba(244, 207, 116, 0.26) !important;
  border-radius: 8px !important;
  color: #fff7dd !important;
}

body.view-tournaments .chessora-tournament-public .chessora-event-date-card {
  background: #fffaf0 !important;
  border-color: rgba(244, 207, 116, 0.72) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18) !important;
}

body.view-tournaments .chessora-tournament-public .chessora-event-date-card span,
body.view-tournaments .chessora-tournament-public .chessora-event-date-card small {
  color: #9a6414 !important;
  font-weight: 900 !important;
}

body.view-tournaments .chessora-tournament-public .chessora-event-date-card strong {
  color: #18140c !important;
}

body.view-tournaments .chessora-tournament-public .chessora-event-title-block .chessora-event-meta span {
  color: #d9e2dc !important;
}

body.view-tournaments .chessora-tournament-public .chessora-event-open-note {
  color: #fff7dd !important;
}

body.view-tournaments .chessora-tournament-public .chessora-tournament-chat p {
  background: #fffaf0 !important;
  border: 1px solid rgba(244, 207, 116, 0.55) !important;
  border-radius: 7px !important;
  color: #17140d !important;
  line-height: 1.45;
}

body.view-tournaments .chessora-tournament-public .chessora-tournament-chat p strong {
  color: #8a5a12 !important;
}

body.view-tournaments .chessora-tournament-public .chessora-tournament-filterbar button {
  background: #fff8e8 !important;
  border: 1px solid rgba(244, 207, 116, 0.72) !important;
  color: #2a1a05 !important;
  opacity: 1 !important;
}

body.view-tournaments .chessora-tournament-public .chessora-tournament-filterbar button.is-active,
body.view-tournaments .chessora-tournament-public .chessora-tournament-filterbar button:hover,
body.view-tournaments .chessora-tournament-public .chessora-tournament-filterbar button:focus-visible {
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border-color: #b87916 !important;
  color: #11130c !important;
}

body.view-tournaments .chessora-tournament-public :where(h1, h2, h3, strong, b, label, dt) {
  color: #fff7dd !important;
}

body.view-tournaments .chessora-tournament-public :where(p, span, small, dd, li) {
  color: #cbd6d0 !important;
}

body.view-tournaments .chessora-tournament-public :where(a, button, input[type="submit"], .chessora-button) {
  border-radius: 7px !important;
}

body.view-tournaments .chessora-tournament-public :where(button, input[type="submit"], .chessora-button, .chessora-watch-link, .chessora-warning-button) {
  background: linear-gradient(180deg, #f2c757, #d99b2d) !important;
  border: 1px solid rgba(255, 235, 166, 0.66) !important;
  color: #11130c !important;
  font-weight: 950 !important;
}

body.view-tournaments .chessora-tournament-public :where(input, select, textarea) {
  background: #101a17 !important;
  border: 1px solid rgba(244, 207, 116, 0.28) !important;
  color: #fff7dd !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
  clear: both !important;
  float: none !important;
  inset: auto !important;
  margin: 12px auto 0 !important;
  max-width: calc(var(--room-board-size) + 44px) !important;
  order: 20 !important;
  position: static !important;
  transform: none !important;
  width: min(100%, calc(var(--room-board-size) + 44px)) !important;
  z-index: auto !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence {
  align-content: start !important;
  padding-top: 34px !important;
  scroll-margin-top: 96px !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
  align-content: start !important;
  padding-top: 0 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-play-stage,
body.view-game .chessora-game-room.is-correspondence .chessora-board-area,
body.view-game .chessora-game-room.is-correspondence .chessora-board-frame {
  align-self: start !important;
  margin-top: 0 !important;
  transform: none !important;
}

/* Roll back the calculation-board side-panel layout experiment. */
body.view-game .chessora-game-room.is-correspondence {
  --room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px) !important;
  align-content: start !important;
  display: grid !important;
  gap: 26px !important;
  grid-template-columns: 290px minmax(0, 1fr) 300px !important;
  justify-items: stretch !important;
  max-width: 1530px !important;
  padding: 34px 38px 54px !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
  display: contents !important;
  max-width: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side {
  display: grid !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  max-width: 300px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
  display: block !important;
}

/* Final rollback: keep correspondence game in the pre-calculation-board three-column room. */
body.view-game .chessora-game-room.is-correspondence {
  --room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px) !important;
  align-items: start !important;
  display: grid !important;
  gap: 26px !important;
  grid-template-columns: minmax(240px, 290px) minmax(390px, 1fr) minmax(260px, 300px) !important;
  justify-items: stretch !important;
  max-width: 1530px !important;
  padding: 34px 38px 54px !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  max-width: 290px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
  display: contents !important;
  max-width: none !important;
  width: auto !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  max-width: min(100%, calc(var(--room-board-size, 700px) + 80px)) !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side {
  display: grid !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  max-width: 300px !important;
  min-width: 0 !important;
  order: initial !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
  display: block !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-flip-corner {
  bottom: auto !important;
  left: auto !important;
  right: 12px !important;
  top: 12px !important;
  transform: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-actions {
  grid-template-columns: 1fr !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-actions .chessora-button,
body.view-game .chessora-game-room.is-correspondence .chessora-postgame-actions .chessora-button {
  box-sizing: border-box !important;
  gap: 18px !important;
  justify-content: flex-start !important;
  line-height: 1.15 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding-left: 22px !important;
  padding-right: 12px !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-actions .chessora-button span {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-player-rail,
body.view-game .chessora-game-room.is-correspondence .chessora-move-panel {
  box-sizing: border-box !important;
  min-width: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-player-card {
  box-sizing: border-box !important;
  grid-template-columns: 32px minmax(0, 1fr) 10px minmax(62px, auto) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-player-card > div,
body.view-game .chessora-game-room.is-correspondence .chessora-player-card strong,
body.view-game .chessora-game-room.is-correspondence .chessora-player-card [data-player-name] {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-player-rail [data-player-clock] {
  min-width: 62px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-game-side,
body.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
  min-width: 0 !important;
  overflow: visible !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls {
  grid-template-columns: repeat(auto-fit, minmax(42px, 1fr)) !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-download-pgn],
body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed],
body.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle] {
  grid-column: auto !important;
  margin-top: 0 !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-actions {
  overflow: visible !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-board-flip-corner {
  z-index: 3 !important;
}

body.view-game .chessora-game-room .chessora-engine-eval-rail {
  grid-column: 2 !important;
  grid-row: 1 !important;
  inset: 12px auto 12px 12px !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 1 !important;
}

body.view-game .chessora-game-room.is-live-active-game .chessora-engine-eval-rail,
body.view-game .chessora-game-room.is-live-active-game .chessora-tool-content-stack,
body.view-game .chessora-game-room.is-live-active-game .chessora-engine-panel {
  display: none !important;
}

body.view-game .chessora-game-room .chessora-engine-eval-rail,
body.view-game .chessora-game-room .chessora-tool-content-stack,
body.view-game .chessora-game-room .chessora-engine-panel {
  display: none !important;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-primary-panel[data-primary-panel="games"] > .chessora-panel-tabs,
body.view-game .chessora-game-room.is-analysis-mode .chessora-board-actions[data-tool-panel="moves"] {
  display: none !important;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-primary-panel[data-primary-panel="games"] > .chessora-moves,
body.view-game .chessora-game-room.is-analysis-mode .chessora-primary-panel[data-primary-panel="games"] > .chessora-move-controls {
  display: grid !important;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-primary-panel[data-primary-panel="games"] > .chessora-moves {
  min-height: 180px;
  max-height: 250px;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-tool-content-stack,
body.view-game .chessora-game-room.is-analysis-mode .chessora-engine-panel {
  display: grid !important;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-analysis-stack {
  gap: 12px;
  min-height: 260px;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-engine-panel {
  align-content: start;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-engine-head {
  border-bottom: 1px solid rgba(214, 162, 59, 0.18);
  padding-bottom: 12px;
}

body.view-game .chessora-game-room.is-analysis-mode .chessora-engine-head .chessora-button {
  min-width: 112px;
  white-space: nowrap;
}

body.view-game .chessora-game-room .chessora-board-ranks {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.view-game .chessora-game-room .chessora-board-wrap {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.view-game .chessora-game-room .chessora-board-coordinates {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

body.view-game .chessora-game-room .chessora-board-score-rail {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: calc(var(--room-board-size) - 44px) !important;
  justify-content: space-between !important;
  justify-self: center !important;
  left: auto !important;
  margin-top: 22px !important;
  pointer-events: none !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  width: 34px !important;
  z-index: 5 !important;
}

body.view-game .chessora-game-room .chessora-board-score {
  align-items: center !important;
  background: rgba(38, 43, 25, 0.86) !important;
  border: 1px solid rgba(255, 223, 139, 0.45) !important;
  border-radius: 999px !important;
  color: #fff7d7 !important;
  display: inline-flex !important;
  font-size: 0.84rem !important;
  font-weight: 950 !important;
  height: 34px !important;
  justify-content: center !important;
  min-width: 34px !important;
  padding: 0 8px !important;
}

body.view-game .chessora-game-room .chessora-board-flip-corner {
  align-items: center !important;
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  border: 1px solid rgba(255, 247, 215, 0.48) !important;
  border-radius: 999px !important;
  bottom: auto !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24) !important;
  color: #151008 !important;
  display: flex !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  height: 34px !important;
  justify-content: center !important;
  justify-self: center !important;
  left: auto !important;
  margin-top: calc((var(--room-board-size) - 34px) / 2) !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 34px !important;
  z-index: 7 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
body.view-game .chessora-game-room.is-correspondence .chessora-board-score-rail {
  bottom: auto !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  height: calc(var(--room-board-size) - 44px) !important;
  left: auto !important;
  margin-top: 22px !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner,
body.view-game .chessora-game-room.is-correspondence .chessora-board-flip-corner {
  bottom: auto !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  left: auto !important;
  margin-top: calc((var(--room-board-size) - 34px) / 2) !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap {
  height: calc(var(--room-board-size) - 20px) !important;
  width: calc(var(--room-board-size) - 20px) !important;
}

body.view-game .chessora-analysis-board-panel {
  z-index: 20 !important;
}

body.view-game .chessora-board-resize-handle {
  align-self: end !important;
  background: rgba(245, 249, 247, 0.82) !important;
  border: 1px solid rgba(8, 16, 14, 0.16) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24) !important;
  cursor: nwse-resize !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  height: 30px !important;
  justify-self: end !important;
  margin: 0 9px 9px 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
  position: relative !important;
  transition: opacity 150ms ease, transform 150ms ease !important;
  width: 30px !important;
  z-index: 6 !important;
}

body.view-game .chessora-board-resize-handle::before {
  color: #101815 !important;
  content: "\2194" !important;
  display: block !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 28px !important;
  transform: rotate(-45deg) !important;
}

body.view-game .chessora-board-frame:hover .chessora-board-resize-handle,
body.view-game .chessora-board-resize-handle:hover,
body.view-game .chessora-board-resize-handle:focus-visible,
body.view-game .chessora-game-room.is-resizing-board .chessora-board-resize-handle {
  opacity: 1 !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-board-resize-handle {
  display: none !important;
}

@media (max-width: 1279px) {
  body.view-game .chessora-game-room:not(.is-creating-game) {
    --room-board-size: min(calc(100vw - 112px), calc(100vh - 140px), 680px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    overflow-x: hidden !important;
    padding: 20px 14px 36px !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: min(100%, calc(var(--room-board-size, 680px) + 62px)) !important;
    width: 100% !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
    margin-left: 0 !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) > .chessora-board-layout {
    display: contents !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
    max-width: calc(var(--room-board-size, 680px) + 62px) !important;
    width: calc(var(--room-board-size, 680px) + 62px) !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
    display: grid !important;
    grid-template-columns: 20px var(--room-board-size) 42px !important;
    grid-template-rows: var(--room-board-size) 22px !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
    aspect-ratio: 1 / 1 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: var(--room-board-size) !important;
    width: var(--room-board-size) !important;
  }
}

@media (max-width: 980px) {
  body.view-game .chessora-game-room.is-correspondence {
    --room-board-size: min(calc(100vw - 112px), 620px) !important;
    grid-template-columns: 1fr !important;
    padding: 20px 14px 36px !important;
  }

  body.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar,
  body.view-game .chessora-game-room.is-correspondence .chessora-play-stage,
  body.view-game .chessora-game-room.is-correspondence .chessora-game-side {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: none !important;
  }
}

@media (min-width: 1280px) {
  body.view-game .chessora-game-room:not(.is-creating-game) {
    --room-board-size: clamp(540px, min(37vw, calc(100vh - 230px)), 600px) !important;
    gap: 20px !important;
    grid-template-columns: minmax(210px, 250px) calc(var(--room-board-size) + 96px) minmax(210px, 240px) !important;
    justify-content: center !important;
    max-width: 1600px !important;
    padding: 24px 24px 44px !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
    max-width: 250px !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
    max-width: 240px !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
    max-width: min(100%, calc(var(--room-board-size, 820px) + 96px)) !important;
    width: min(100%, calc(var(--room-board-size, 820px) + 96px)) !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
    grid-template-columns: 20px var(--room-board-size) 42px !important;
    grid-template-rows: var(--room-board-size) 22px !important;
    max-width: calc(var(--room-board-size) + 96px) !important;
    width: calc(var(--room-board-size) + 96px) !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
    aspect-ratio: 1 / 1 !important;
    height: var(--room-board-size) !important;
    width: var(--room-board-size) !important;
  }

  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap {
    aspect-ratio: 1 / 1 !important;
    height: calc(var(--room-board-size) - 20px) !important;
    width: calc(var(--room-board-size) - 20px) !important;
  }

  body.view-game .chessora-game-room.is-correspondence {
    --room-board-size: clamp(540px, min(37vw, calc(100vh - 230px)), 600px) !important;
    gap: 20px !important;
    grid-template-columns: minmax(210px, 250px) calc(var(--room-board-size) + 96px) minmax(210px, 240px) !important;
    justify-content: center !important;
    max-width: 1600px !important;
    padding: 24px 24px 44px !important;
  }

  body.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
    max-width: 250px !important;
  }

  body.view-game .chessora-game-room.is-correspondence .chessora-game-side {
    max-width: 240px !important;
  }

  body.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
    max-width: min(100%, calc(var(--room-board-size, 820px) + 96px)) !important;
  }

  body.view-game .chessora-game-room.is-correspondence .chessora-board-frame {
    grid-template-columns: 20px var(--room-board-size) 42px !important;
    grid-template-rows: var(--room-board-size) 22px !important;
    max-width: calc(var(--room-board-size) + 96px) !important;
    width: calc(var(--room-board-size) + 96px) !important;
  }

  body.view-game .chessora-game-room.is-correspondence .chessora-board-wrap {
    aspect-ratio: 1 / 1 !important;
    height: var(--room-board-size) !important;
    width: var(--room-board-size) !important;
  }

  body.view-game .chessora-game-room.is-correspondence .chessora-board.cg-wrap {
    aspect-ratio: 1 / 1 !important;
    height: calc(var(--room-board-size) - 20px) !important;
    width: calc(var(--room-board-size) - 20px) !important;
  }
}

/* Final live side-rail override after responsive board sizing rules. */
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card {
  align-items: center !important;
  column-gap: 8px !important;
  display: grid !important;
  grid-template-areas: "avatar identity online clock" !important;
  grid-template-columns: 34px minmax(0, 1fr) 10px 70px !important;
  min-height: 70px !important;
  padding: 10px 9px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-avatar {
  grid-area: avatar !important;
  height: 34px !important;
  width: 34px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card > div:nth-child(2) {
  grid-area: identity !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card strong {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail [data-player-name] {
  display: block !important;
  font-size: 0.78rem !important;
  line-height: 1.05 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-rating-pill {
  display: inline-flex !important;
  font-size: 0.66rem !important;
  line-height: 1 !important;
  width: fit-content !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-online {
  grid-area: online !important;
  height: 9px !important;
  width: 9px !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card time {
  font-size: 0.9rem !important;
  grid-area: clock !important;
  min-width: 70px !important;
  padding: 9px 6px !important;
}

/* Profile-only light polish; keep after shared matte overrides. */
body.view-profile .chessora.chessora-profile-page {
  --profile-bg: #f6f8fb;
  --profile-panel: #ffffff;
  --profile-panel-soft: #f9fbfd;
  --profile-ink: #16202a;
  --profile-muted: #66727f;
  --profile-line: #dfe6ee;
  --profile-green: #438a63;
  --profile-blue: #315f8f;
  --profile-gold: #c98b25;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--profile-bg) 34%, #f4f7f9 100%) !important;
  box-shadow: 0 0 0 100vmax var(--profile-bg);
  clip-path: inset(0 -100vmax);
  color: var(--profile-ink) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
  margin: 0 auto 14px !important;
  max-width: 1240px !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs a {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: var(--profile-muted) !important;
  flex: 0 0 auto !important;
  font-size: 0.84rem !important;
  min-height: 34px !important;
  padding: 0 13px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs a::before,
body.view-profile .chessora.chessora-profile-page .chessora-tabs a::after {
  display: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-tabs a.is-active,
body.view-profile .chessora.chessora-profile-page .chessora-tabs a:hover,
body.view-profile .chessora.chessora-profile-page .chessora-tabs a:focus {
  background: #eef7f1 !important;
  border-color: #cfe4d6 !important;
  color: var(--profile-green) !important;
}

body.view-profile .chessora.chessora-profile-page > .chessora-tabs {
  display: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero,
body.view-profile .chessora.chessora-profile-page :where(.chessora-panel, .chessora-card, .chessora-profile-edit),
body.view-profile .chessora.chessora-profile-page .chessora-grid-5 {
  background: var(--profile-panel) !important;
  border: 1px solid var(--profile-line) !important;
  box-shadow: 0 14px 34px rgba(30, 45, 62, 0.08) !important;
  color: var(--profile-ink) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero {
  border-radius: 12px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-cover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.72)),
    var(--cb-profile-cover, linear-gradient(135deg, #e8f2ec 0%, #f7dfab 58%, #ffffff 100%)) !important;
}

body.view-profile .chessora.chessora-profile-page :where(h1, h2, h3, h4, strong, th, dt, legend),
body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1,
body.view-profile .chessora.chessora-profile-page .chessora-panel-head h2,
body.view-profile .chessora.chessora-profile-page .chessora-rating-hero strong {
  color: var(--profile-ink) !important;
}

body.view-profile .chessora.chessora-profile-page :where(p, span, small, dd, label, figcaption, .chessora-muted),
body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title span,
body.view-profile .chessora.chessora-profile-page .chessora-panel-head span {
  color: var(--profile-muted) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-kicker {
  background: transparent !important;
  color: var(--profile-green) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-rating-panel {
  display: grid !important;
  gap: 18px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-hero {
  align-items: end !important;
  display: flex !important;
  gap: 12px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-hero strong {
  color: var(--profile-blue) !important;
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  letter-spacing: 0 !important;
  line-height: 0.95 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph {
  background:
    linear-gradient(180deg, rgba(49, 95, 143, 0.08) 1px, transparent 1px) 0 24px / 100% 40px,
    linear-gradient(90deg, rgba(49, 95, 143, 0.07) 1px, transparent 1px) 0 0 / 20% 100%,
    linear-gradient(180deg, #ffffff 0%, var(--profile-panel-soft) 100%) !important;
  border: 1px solid #d8e3ee !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  margin: 0 !important;
  min-height: 236px;
  overflow: hidden;
  padding: 14px 14px 10px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph svg {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph line {
  stroke: rgba(49, 95, 143, 0.16);
  stroke-width: 1;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph polyline {
  fill: none;
  stroke: var(--profile-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph circle {
  fill: #ffffff;
  stroke: var(--profile-blue);
  stroke-width: 3;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph text {
  fill: var(--profile-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-anchor: middle;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph text.is-label,
body.view-profile .chessora.chessora-profile-page .chessora-rating-graph figcaption {
  color: var(--profile-muted) !important;
  fill: var(--profile-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-graph figcaption {
  border-top: 1px solid rgba(49, 95, 143, 0.12);
  margin-top: 8px;
  padding-top: 9px;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark {
  align-items: end !important;
  background:
    linear-gradient(180deg, rgba(49, 95, 143, 0.1) 1px, transparent 1px) 0 24px / 100% 34px,
    linear-gradient(90deg, rgba(49, 95, 143, 0.08) 1px, transparent 1px) 0 0 / 14.285% 100%,
    linear-gradient(180deg, #ffffff 0%, var(--profile-panel-soft) 100%) !important;
  border: 1px solid #d8e3ee !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  height: 176px !important;
  overflow: hidden !important;
  padding: 28px 20px 22px !important;
  position: relative !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark::before {
  background: rgba(102, 114, 127, 0.8);
  bottom: 21px;
  content: "";
  height: 1px;
  left: 18px;
  position: absolute;
  right: 18px;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark::after {
  background: linear-gradient(90deg, transparent 0%, rgba(49, 95, 143, 0.18) 100%);
  border-top: 3px solid var(--profile-blue);
  clip-path: polygon(0 76%, 17% 62%, 34% 68%, 50% 45%, 67% 52%, 84% 28%, 100% 18%, 100% 100%, 0 100%);
  content: "";
  inset: 22px 20px 23px;
  opacity: 0.92;
  pointer-events: none;
  position: absolute;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i {
  align-self: end !important;
  background: linear-gradient(180deg, #74a6d5, #315f8f) !important;
  border-radius: 5px 5px 0 0 !important;
  box-shadow: 0 8px 18px rgba(49, 95, 143, 0.16) !important;
  display: block !important;
  min-height: 22px !important;
  position: relative !important;
  z-index: 1;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(1) { height: 48% !important; }
body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(2) { height: 58% !important; }
body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(3) { height: 52% !important; }
body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(4) { height: 72% !important; }
body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(5) { height: 64% !important; }
body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(6) { height: 84% !important; }
body.view-profile .chessora.chessora-profile-page .chessora-rating-spark i:nth-child(7) { height: 92% !important; }

/* Final profile page lightening pass after delegated profile rules. */
body.view-profile,
body.view-profile .shell-page,
body.view-profile .shell-component-card {
  background: #f5f7f2 !important;
}

body.view-profile .shell-component-card {
  border: 0 !important;
  box-shadow: none !important;
}

body.view-profile .chessora.chessora-profile-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(221, 172, 61, 0.16), transparent 30%),
    linear-gradient(180deg, #fbfcf7 0%, #f5f7f2 100%) !important;
  box-shadow: 0 0 0 100vmax #f5f7f2 !important;
  padding-top: 28px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero {
  margin-top: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-cover {
  min-height: clamp(150px, 17vw, 220px) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-command {
  margin-top: 10px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-rating-spark {
  display: none !important;
}
/* Swiss crosstable model and tournament tab contrast. */
body.view-tournaments .chessora-observer-round-tabs button,
body.view-tournaments .chessora-pairing-tabs button {
  background: #fff4d3 !important;
  border: 1px solid #d79d2b !important;
  color: #2a1b05 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.view-tournaments .chessora-observer-round-tabs button.is-active,
body.view-tournaments .chessora-pairing-tabs button.is-active {
  background: linear-gradient(180deg, #f2bd3d, #d69222) !important;
  border-color: #b97a18 !important;
  color: #120d04 !important;
}

body.view-tournaments .chessora-observer-round-tabs button:disabled,
body.view-tournaments .chessora-pairing-tabs button:disabled {
  background: #3b3425 !important;
  border-color: #7b612d !important;
  color: #ead8ad !important;
  opacity: 1 !important;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model {
  background: #120b06 !important;
  border: 2px solid #060403 !important;
  border-radius: 0 !important;
  border-spacing: 0 !important;
  color: #fff5db !important;
  min-width: 960px;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model th,
body.view-tournaments .chessora-swiss-grid.chessora-cross-model td {
  border-color: #342317 !important;
  color: #fff5db !important;
  height: 54px;
  min-width: 50px;
  padding: 0 !important;
  position: relative;
  vertical-align: middle;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model thead th {
  background: #f4b640 !important;
  color: #160d04 !important;
  font-size: 0.78rem;
  font-weight: 950;
  height: 40px;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-head,
body.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player {
  min-width: 260px;
  padding: 8px 12px !important;
  text-align: left !important;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player {
  background: #170e08 !important;
  white-space: nowrap;
}

body.view-tournaments .chessora-cross-avatar {
  align-items: center;
  background: #07150f;
  border: 2px solid #f4ead1;
  border-radius: 999px;
  color: #f2b83e;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 0.72rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  margin-right: 12px;
  vertical-align: middle;
  width: 34px;
}

body.view-tournaments .chessora-cross-player-link {
  align-items: center;
  color: #fff5db !important;
  display: inline-flex;
  text-decoration: none;
}

body.view-tournaments .chessora-cross-player-link:hover,
body.view-tournaments .chessora-cross-player-link:focus-visible {
  color: #f4c457 !important;
}

body.view-tournaments .chessora-cross-avatar img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model td {
  background: #170e08 !important;
  font-weight: 900;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-empty,
body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-self {
  background:
    linear-gradient(45deg, transparent 0 49.2%, #101010 49.2% 50.8%, transparent 50.8% 100%),
    linear-gradient(135deg, #5b5b58 0 50%, #170e08 50% 100%) !important;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-win::before,
body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-draw::before {
  content: "";
  background:
    radial-gradient(circle at 52% 48%, #191008 0 8%, transparent 9%),
    radial-gradient(circle at 50% 50%, #f8a326 0 34%, #d45e19 36% 53%, transparent 55%);
  height: 34px;
  left: 50%;
  opacity: 0.95;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-win span,
body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-draw span,
body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-loss span {
  position: relative;
  z-index: 1;
}

body.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-loss {
  background:
    linear-gradient(135deg, #5b5b58 0 50%, #170e08 50% 100%) !important;
}

body.view-tournaments .chessora-cross-points,
body.view-tournaments .chessora-cross-place {
  color: #fff2ce !important;
  font-weight: 950;
}

/* Game setup controls: aligned segmented rows. */
body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  column-gap: 18px !important;
  row-gap: 18px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle):not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-rating-range):not(.chessora-rating-range-warning) {
  grid-column: 1 / -1 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle {
  grid-column: 1 / span 7 !important;
  max-width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle {
  grid-column: 8 / -1 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle {
  grid-column: 1 / span 7 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
  grid-column: 8 / -1 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
  grid-column: 1 / span 7 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
  grid-column: 8 / -1 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
  align-self: stretch !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(214, 162, 59, 0.26) !important;
  border-radius: 10px !important;
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 60px !important;
  padding: 6px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle {
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
  align-self: stretch !important;
  margin: 0 !important;
  min-height: 116px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle button,
body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle button,
body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle button,
body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle button {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(214, 162, 59, 0.18) !important;
  border-radius: 7px !important;
  color: #efe5cb !important;
  display: flex !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 12px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle button.is-active,
body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle button.is-active,
body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle button.is-active,
body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle button.is-active {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  border-color: rgba(248, 217, 133, 0.64) !important;
  color: #151008 !important;
  text-shadow: none !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle[hidden],
body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
    grid-template-columns: 1fr !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
    grid-column: 1 / -1 !important;
  }
}

/* Homepage: chess-first landing experience. */
html body.chessora-shell:has(.chessora-home3),
html body:has(.chessora-home3) {
  background:
    radial-gradient(circle at 16% 8%, rgba(226, 170, 57, .14), transparent 30rem),
    linear-gradient(180deg, #07110f 0%, #0d1715 42%, #111b18 100%) !important;
}

.chessora-home.chessora-home3,
.chessora-home3 {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  color: #f7f0de;
  display: block !important;
  grid-template-columns: none !important;
  min-height: calc(100vh - 88px);
  padding: 24px !important;
}

.chessora-home3 *,
.chessora-home3 *::before,
.chessora-home3 *::after {
  box-sizing: border-box;
}

.chessora-home3 a {
  text-decoration: none;
}

.chessora-home3-shell {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1340px;
  width: 100%;
}

.chessora-home3-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 28, 23, .96), rgba(11, 20, 18, .98)),
    #0d1715;
  border: 1px solid rgba(229, 180, 77, .26);
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  min-height: 0;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
}

.chessora-home3-hero::after {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, .045) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .045) 75%),
    linear-gradient(45deg, rgba(226, 170, 57, .08) 25%, transparent 25%, transparent 75%, rgba(226, 170, 57, .08) 75%);
  background-position: 0 0, 28px 28px;
  background-size: 56px 56px;
  content: "";
  inset: auto -70px -110px auto;
  height: 310px;
  opacity: .34;
  pointer-events: none;
  position: absolute;
  transform: rotate(-8deg);
  width: 470px;
}

.chessora-home3-copy {
  display: grid;
  gap: 18px;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.chessora-home3-logo {
  background: #020b09;
  border: 1px solid rgba(229, 180, 77, .24);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  height: 168px;
  max-width: min(168px, 100%);
  object-fit: contain;
  padding: 10px;
  width: 168px;
}

.chessora-home3-kicker,
.chessora-home3-play header p,
.chessora-home3-bottom header p,
.chessora-home3-feature span {
  color: #e6bd5f;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home3 h1 {
  color: #fff7df;
  font-size: clamp(2.9rem, 6vw, 5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .92;
  margin: 0;
  max-width: 750px;
}

.chessora-home3-lede {
  color: #cfd7cc;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  max-width: 650px;
}

.chessora-home3-actions,
.chessora-home3-stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chessora-home3-actions a,
.chessora-home3-club-card a {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(229, 180, 77, .22);
  border-radius: 9px;
  color: #fff7df;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.chessora-home3-actions a:hover,
.chessora-home3-actions a:focus,
.chessora-home3-club-card a:hover,
.chessora-home3-club-card a:focus,
.chessora-home3-presets a:hover,
.chessora-home3-presets a:focus,
.chessora-home3-feature:hover,
.chessora-home3-feature:focus {
  border-color: rgba(239, 193, 91, .64);
  color: #fffaf0;
  transform: translateY(-1px);
}

.chessora-home3-actions .chessora-home3-primary,
.chessora-home3-club-card a {
  background: linear-gradient(180deg, #f0c35e, #c58b23);
  border-color: rgba(255, 223, 133, .74);
  color: #11140f;
  box-shadow: 0 14px 34px rgba(197, 139, 35, .22);
}

.chessora-home3-stats {
  border-top: 1px solid rgba(229, 180, 77, .18);
  margin-top: 4px;
  padding-top: 16px;
}

.chessora-home3-stats span {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  color: #bfc9bd;
  display: grid;
  font-size: .82rem;
  font-weight: 850;
  min-width: 132px;
  padding: 11px 13px;
}

.chessora-home3-stats strong {
  color: #fff7df;
  font-size: 1.35rem;
  line-height: 1;
}

.chessora-home3-board-panel {
  background: linear-gradient(180deg, #17241e, #0a100f);
  border: 1px solid rgba(239, 193, 91, .34);
  border-radius: 14px;
  box-shadow: 0 26px 58px rgba(0, 0, 0, .42);
  display: grid;
  gap: 12px;
  justify-self: end;
  max-width: 405px;
  padding: 14px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.chessora-home3-board-head,
.chessora-home3-clock-row {
  align-items: center;
  color: #cfd7cc;
  display: flex;
  font-size: .9rem;
  font-weight: 850;
  justify-content: space-between;
}

.chessora-home3-board-head strong,
.chessora-home3-clock-row b {
  color: #fff7df;
}

.chessora-home3-board {
  aspect-ratio: 1;
  border: 8px solid #28523e;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 24px 42px rgba(0, 0, 0, .32);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.chessora-home3-board span.is-light {
  background: #efd7a1;
}

.chessora-home3-board span.is-dark {
  background: #a6682c;
}

.chessora-home3-board img {
  height: 12.5%;
  object-fit: contain;
  padding: 4px;
  position: absolute;
  width: 12.5%;
  z-index: 1;
}

.chessora-home3-clock-row {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 10px 12px;
}

.chessora-home3-clock-row span {
  background: #080f0d;
  border-radius: 7px;
  color: #f1cf77;
  font-variant-numeric: tabular-nums;
  padding: 6px 9px;
}

/* 20260604-home-command-center-1: dashboard action hub. */
.chessora-home3-command {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(117, 214, 110, .055)),
    #0b1713;
  border: 1px solid rgba(229, 180, 77, .28);
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
  display: grid;
  gap: 15px;
  margin: 18px 0 0;
  padding: 16px;
}

.chessora-home3-command header {
  align-items: end;
  border-bottom: 1px solid rgba(229, 180, 77, .18);
  display: grid;
  gap: 5px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 13px;
}

.chessora-home3-command header p {
  color: #f1cf77;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .07em;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home3-command header h2 {
  color: #fff7df;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.1;
  margin: 0;
}

.chessora-home3-command header span {
  color: #d9e4dc;
  font-weight: 800;
  grid-column: 1 / -1;
}

.chessora-home3-command-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-home3-command-card {
  background: rgba(7, 15, 13, .78);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #fff7df;
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 14px;
  position: relative;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.chessora-home3-command-card:hover,
.chessora-home3-command-card:focus {
  background: rgba(13, 27, 22, .96);
  border-color: rgba(241, 207, 119, .66);
  color: #fffaf0;
  transform: translateY(-1px);
}

.chessora-home3-command-card span {
  color: #f1cf77;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chessora-home3-command-card strong {
  color: #fff7df;
  font-size: 1.05rem;
  line-height: 1.2;
}

.chessora-home3-command-card small {
  color: #d1dbd4;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.4;
}

.chessora-home3-command-card b {
  align-self: end;
  background: rgba(241, 207, 119, .14);
  border: 1px solid rgba(241, 207, 119, .28);
  border-radius: 999px;
  color: #ffe39a;
  font-size: .8rem;
  justify-self: start;
  padding: 5px 9px;
}

.chessora-home3-command-card.is-urgent {
  border-color: rgba(255, 205, 92, .72);
  box-shadow: inset 4px 0 0 #f1cf77;
}

.chessora-home3-command-card.is-live {
  border-color: rgba(117, 214, 110, .6);
  box-shadow: inset 4px 0 0 #75d66e;
}

.chessora-home3-command-card.is-live b {
  background: rgba(117, 214, 110, .16);
  border-color: rgba(117, 214, 110, .34);
  color: #b9f5ae;
}

.chessora-home3-command-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chessora-home3-command-auth a {
  align-items: center;
  background: linear-gradient(180deg, #f0c35e, #c58b23);
  border: 1px solid rgba(255, 223, 133, .74);
  border-radius: 8px;
  color: #11140f;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  text-decoration: none;
}

.chessora-home3-command-auth a + a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(229, 180, 77, .26);
  color: #fff7df;
}

.chessora-home3-today {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
    #0d1714;
  border: 1px solid rgba(217, 164, 65, .28);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr) auto;
  margin: 18px 0 0;
  padding: 14px 16px;
}

.chessora-home3-live-event {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(117, 214, 110, .16), rgba(241, 207, 119, .1)),
    #0b1712;
  border: 1px solid rgba(117, 214, 110, .3);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr) auto;
  margin: 18px 0 0;
  padding: 16px;
}

.chessora-home3-live-event > div:first-child {
  display: grid;
  gap: 5px;
}

.chessora-home3-live-event p {
  color: #75d66e;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .06em;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home3-live-event h2 {
  color: #fff7df;
  font-size: 1.25rem;
  line-height: 1.18;
  margin: 0;
}

.chessora-home3-live-event > div:first-child > span {
  color: #d9e4dc;
  font-weight: 800;
}

.chessora-home3-live-event-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-home3-live-event-stats span {
  background: rgba(7, 15, 13, .68);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.chessora-home3-live-event-stats strong {
  color: #f1cf77;
  font-size: .98rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.chessora-home3-live-event-stats small {
  color: #cbd6d0;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chessora-home3-live-event > a {
  align-items: center;
  background: linear-gradient(180deg, #f0c35e, #c58b23);
  border: 1px solid rgba(255, 223, 133, .74);
  border-radius: 8px;
  color: #11140f;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.chessora-home3-live-event > a:hover,
.chessora-home3-live-event > a:focus {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.chessora-home3-onboarding {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(212, 160, 50, 0.12)),
    #0b1713;
  border: 1px solid rgba(232, 196, 107, 0.32);
  border-radius: 8px;
  color: #fff7df;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr) auto;
  margin: 18px 0 0;
  padding: 18px;
}

.chessora-home3-onboarding p {
  color: #f0c65e;
  font-size: .78rem;
  font-weight: 950;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.chessora-home3-onboarding h2 {
  color: #fff7df;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.05;
  margin: 0 0 8px;
}

.chessora-home3-onboarding span {
  color: #d9e3dd;
}

.chessora-home3-onboarding ol {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chessora-home3-onboarding li {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 196, 107, 0.18);
  border-radius: 7px;
  display: flex;
  gap: 10px;
  padding: 8px 10px;
}

.chessora-home3-onboarding li strong {
  align-items: center;
  background: #f0c65e;
  border-radius: 50%;
  color: #141008;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.chessora-home3-onboarding > a {
  align-items: center;
  background: linear-gradient(180deg, #f4cf74, #d59728);
  border: 1px solid rgba(255, 235, 166, 0.62);
  border-radius: 7px;
  color: #141008;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.chessora-home3-guided {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(101, 151, 111, 0.12)),
    #101914;
  border: 1px solid rgba(232, 196, 107, 0.24);
  border-radius: 8px;
  color: #fff7df;
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 18px;
}

.chessora-home3-guided header {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
}

.chessora-home3-guided header p {
  color: #f0c65e;
  font-size: .78rem;
  font-weight: 950;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.chessora-home3-guided header h2 {
  color: #fff7df;
  font-size: 1.85rem;
  line-height: 1.08;
  margin: 0;
}

.chessora-home3-guided header > span {
  color: #d9e3dd;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.4;
}

.chessora-home3-guided-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-home3-guided-progress {
  background: rgba(7, 15, 13, .68);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  overflow: hidden;
  padding: 10px 12px;
  position: relative;
}

.chessora-home3-guided-progress strong,
.chessora-home3-guided-progress span {
  position: relative;
  z-index: 1;
}

.chessora-home3-guided-progress strong {
  color: #f0c65e;
  font-size: 1rem;
  font-weight: 950;
}

.chessora-home3-guided-progress span {
  color: #d9e3dd;
  font-size: .88rem;
  font-weight: 750;
}

.chessora-home3-guided-progress i {
  background: linear-gradient(90deg, rgba(95, 189, 120, .28), rgba(240, 198, 94, .22));
  bottom: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: var(--onboarding-progress, 0%);
}

.chessora-home3-guided-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 196, 107, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 214px;
  padding: 12px;
  position: relative;
  text-decoration: none;
}

.chessora-home3-guided-card:hover,
.chessora-home3-guided-card:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(240, 198, 94, 0.46);
  transform: translateY(-1px);
}

.chessora-home3-guided-card b {
  align-items: center;
  background: #f0c65e;
  border-radius: 50%;
  color: #141008;
  display: inline-flex;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.chessora-home3-guided-card span {
  color: #f0c65e;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-home3-guided-card strong {
  color: #fff7df;
  font-size: 1.02rem;
  line-height: 1.18;
}

.chessora-home3-guided-card small {
  color: #cbd6d0;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.36;
}

.chessora-home3-guided-card em {
  color: #fff1c3;
  font-size: .82rem;
  font-style: normal;
  font-weight: 950;
}

.chessora-home3-guided-card.is-complete {
  border-color: rgba(95, 189, 120, .46);
}

.chessora-home3-guided-card.is-complete b {
  background: #5fbd78;
}

.chessora-home3-guided-card.is-complete em {
  color: #9be0aa;
}

.chessora-home3-today-copy {
  display: grid;
  gap: 4px;
}

.chessora-home3-today-copy p {
  color: #f1cf77;
  font-size: .76rem;
  font-weight: 950;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home3-today-copy h2 {
  color: #fff7df;
  font-size: 1.12rem;
  line-height: 1.18;
  margin: 0;
}

.chessora-home3-today-copy span {
  color: #cbd6d0;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
}

.chessora-home3-today-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-home3-today-stats span {
  background: rgba(7, 15, 13, .66);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-height: 64px;
  min-width: 0;
  padding: 9px 10px;
}

.chessora-home3-today-stats strong {
  color: #f1cf77;
  font-size: 1.22rem;
  line-height: 1;
}

.chessora-home3-today-stats small {
  color: #d9e4dc;
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.12;
  text-transform: uppercase;
}

.chessora-home3-today-action {
  align-items: center;
  background: linear-gradient(180deg, #f0c35e, #c58b23);
  border: 1px solid rgba(255, 223, 133, .74);
  border-radius: 8px;
  color: #11140f;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  min-width: 150px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

.chessora-home3-return {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.chessora-home3-return-prompts,
.chessora-home3-return-cards,
.chessora-profile-return-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-home3-return-prompts a,
.chessora-profile-return-grid a {
  background: rgba(7, 15, 13, .7);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #fff7df;
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 13px;
  position: relative;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.chessora-home3-return-prompts a:hover,
.chessora-home3-return-prompts a:focus,
.chessora-home3-return-cards a:hover,
.chessora-home3-return-cards a:focus,
.chessora-profile-return-grid a:hover,
.chessora-profile-return-grid a:focus {
  border-color: rgba(241, 207, 119, .58);
  color: #fff7df;
  transform: translateY(-1px);
}

.chessora-home3-return-prompts b,
.chessora-profile-return-grid b {
  align-items: center;
  background: rgba(241, 207, 119, .16);
  border: 1px solid rgba(241, 207, 119, .25);
  border-radius: 999px;
  color: #f1cf77;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 950;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.chessora-home3-return-prompts a:not(.is-done) b::before,
.chessora-profile-return-grid a:not(.is-done) b::before {
  content: "";
  background: currentColor;
  border-radius: 999px;
  height: 7px;
  opacity: .72;
  width: 7px;
}

.chessora-home3-return-prompts .is-done,
.chessora-profile-return-grid .is-done {
  border-color: rgba(95, 189, 120, .46);
}

.chessora-home3-return-prompts .is-done b,
.chessora-profile-return-grid .is-done b {
  background: #5fbd78;
  border-color: rgba(154, 224, 170, .5);
  color: #07110c;
}

.chessora-home3-return-prompts span,
.chessora-home3-return-cards strong,
.chessora-profile-return-grid span {
  color: #fff7df;
  font-weight: 950;
  line-height: 1.2;
}

.chessora-home3-return-prompts small,
.chessora-home3-return-cards small,
.chessora-profile-return-grid small {
  color: #cbd6d0;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
}

.chessora-home3-return-cards a {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .035)),
    #0d1714;
  border: 1px solid rgba(229, 180, 77, .2);
  border-radius: 8px;
  color: #fff7df;
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
  text-decoration: none;
}

.chessora-home3-return-cards span {
  color: #f1cf77;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chessora-home3-return-cards em {
  align-self: end;
  color: #ffe39a;
  font-style: normal;
  font-weight: 950;
}

.chessora-home3-return-cards .is-urgent,
.chessora-home3-return-cards .is-live {
  border-color: rgba(117, 214, 110, .38);
  box-shadow: inset 4px 0 0 #75d66e;
}

.chessora-profile-return {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.chessora-profile-return header {
  align-items: center;
  border-bottom: 1px solid rgba(229, 180, 77, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 12px;
}

.chessora-profile-return h2 {
  color: #fff7df;
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 0;
}

.chessora-home3-play,
.chessora-home3-bottom article,
.chessora-home3-feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .035));
  border: 1px solid rgba(229, 180, 77, .18);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
}

.chessora-home3-play {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.chessora-home3-play header,
.chessora-home3-bottom header {
  display: grid;
  gap: 4px;
}

.chessora-home3-play h2,
.chessora-home3-bottom h2 {
  color: #fff7df;
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.chessora-home3-presets {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chessora-home3-presets a {
  background: rgba(7, 15, 13, .66);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #d7ded4;
  display: grid;
  gap: 5px;
  min-height: 118px;
  padding: 14px;
  transition: border-color .18s ease, transform .18s ease;
}

.chessora-home3-presets span {
  color: #f1cf77;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.chessora-home3-presets strong,
.chessora-home3-feature strong,
.chessora-home3-club-card strong,
.chessora-home3-leaders span {
  color: #fff7df;
  font-weight: 950;
}

.chessora-home3-presets small,
.chessora-home3-feature p,
.chessora-home3-club-card {
  color: #c3ccc1;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.45;
}

.chessora-home3-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-home3-feature {
  display: grid;
  gap: 9px;
  min-height: 156px;
  padding: 18px;
  transition: border-color .18s ease, transform .18s ease;
}

.chessora-home3-feature p {
  margin: 0;
}

.chessora-home3-bottom {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.chessora-home3-bottom article {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.chessora-home3-leaders {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chessora-home3-leaders li {
  align-items: center;
  background: rgba(7, 15, 13, .58);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto auto;
  padding: 10px 12px;
}

.chessora-home3-leaders strong {
  color: #f1cf77;
  font-variant-numeric: tabular-nums;
}

.chessora-home3-leaders small {
  color: #8f9d91;
  font-weight: 850;
}

.chessora-home3-club-card {
  align-content: start;
  background:
    linear-gradient(135deg, rgba(239, 193, 91, .12), rgba(255, 255, 255, .04)),
    rgba(7, 15, 13, .58);
  border: 1px solid rgba(239, 193, 91, .2);
  border-radius: 10px;
  display: grid;
  gap: 14px;
  min-height: 136px;
  padding: 16px;
}

.chessora-home3-club-card a {
  justify-self: start;
}

@media (max-width: 1040px) {
  .chessora-home3-hero {
    grid-template-columns: 1fr;
  }

  .chessora-home3-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chessora-home3-return-prompts,
  .chessora-home3-return-cards,
  .chessora-profile-return-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chessora-home3-live-event {
    grid-template-columns: 1fr;
  }

  .chessora-home3-onboarding {
    grid-template-columns: 1fr;
  }

  .chessora-home3-guided header,
  .chessora-home3-guided-grid,
  .chessora-home3-guided-progress {
    grid-template-columns: 1fr;
  }

  .chessora-home3-onboarding > a {
    justify-self: start;
  }

  .chessora-home3-live-event > a {
    justify-self: start;
  }

  .chessora-home3-today {
    grid-template-columns: 1fr;
  }

  .chessora-home3-today-action {
    justify-self: start;
  }

  .chessora-home3-board-panel {
    justify-self: start;
  }

  .chessora-home3-presets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .chessora-home3 {
    padding: 10px !important;
  }

  .chessora-home3-hero {
    border-radius: 10px;
    min-height: 0;
    padding: 14px;
  }

  .chessora-home3 h1 {
    font-size: clamp(2.35rem, 11vw, 3.05rem);
    line-height: .96;
  }

  .chessora-home3-logo {
    max-width: 210px;
  }

  .chessora-home3-kicker,
  .chessora-home3-lede,
  .chessora-home3 h1 {
    max-width: 100%;
  }

  .chessora-home3-presets,
  .chessora-home3-command-grid,
  .chessora-home3-return-prompts,
  .chessora-home3-return-cards,
  .chessora-profile-return-grid,
  .chessora-home3-grid,
  .chessora-home3-bottom {
    grid-template-columns: 1fr;
  }

  .chessora-home3-guided {
    padding: 14px;
  }

  .chessora-home3-guided header h2 {
    font-size: 1.35rem;
  }

  .chessora-home3-guided-card {
    min-height: 0;
  }

  .chessora-home3-command header {
    grid-template-columns: 1fr;
  }

  .chessora-home3-today-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chessora-home3-live-event {
    padding: 14px;
  }

  .chessora-home3-live-event-stats {
    grid-template-columns: 1fr;
  }

  .chessora-home3-live-event > a {
    width: 100%;
  }

  .chessora-home3-onboarding > a {
    width: 100%;
  }

  .chessora-home3-presets a {
    min-height: 0;
  }

  .chessora-home3-stats span {
    flex: 1 1 100%;
  }
}

/* GroupJive club directory. */
.chessora-club-directory-page {
  max-width: 1180px;
}

.chessora-club-list-hero {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.chessora-club-list-hero > strong {
  background: #f4c44e;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: #151711;
  font-weight: 950;
  padding: 8px 14px;
  white-space: nowrap;
}

.chessora-club-list {
  display: grid;
  gap: 12px;
}

.chessora-club-discovery {
  align-items: end;
  background: #fffdf6;
  border: 1px solid rgba(218, 197, 138, .9);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(25, 35, 24, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, .45fr) minmax(150px, .45fr);
  margin: 14px 0;
  padding: 14px;
}

.chessora-club-discovery label {
  display: grid;
  gap: 6px;
}

.chessora-club-discovery label > span {
  color: #5d654f;
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-club-discovery input,
.chessora-club-discovery select {
  background: #fffaf0;
  border: 1px solid #d7bd78;
  border-radius: 7px;
  color: #1e241c;
  font: inherit;
  font-weight: 850;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.chessora-club-list-card,
.chessora-club-full-roster {
  background:
    linear-gradient(90deg, rgba(244, 196, 78, .11), transparent 42%),
    #fffdf6;
  border: 1px solid rgba(218, 197, 138, .9);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(25, 35, 24, 0.09);
  padding: 16px;
}

.chessora-club-list-card > header,
.chessora-club-full-roster > header {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 58px minmax(0, 1fr) auto auto;
}

.chessora-club-list-card .chessora-club-mark {
  align-items: center;
  background:
    linear-gradient(135deg, #192820, #315744 58%, #d5a334) !important;
  border: 1px solid rgba(244, 196, 78, .46) !important;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff8e4 !important;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 950;
  height: 58px;
  justify-content: center;
  line-height: 1;
  width: 58px;
}

.chessora-club-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  width: 100%;
}

.chessora-club-list-card h2,
.chessora-club-full-roster h2 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0;
}

.chessora-club-list-card p {
  color: #65705f;
  margin: 4px 0 0;
  max-width: 720px;
}

.chessora-club-directory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.chessora-club-directory-tags span {
  background: #f3ead0;
  border: 1px solid #dec487;
  border-radius: 999px;
  color: #584218;
  font-size: .72rem;
  font-weight: 950;
  line-height: 1;
  padding: 5px 8px;
}

.chessora-club-list-card header > strong,
.chessora-club-full-roster header > span {
  background: #f7edcc;
  border: 1px solid #e3cd8e;
  border-radius: 999px;
  color: #3b2a0e;
  font-size: .8rem;
  font-weight: 950;
  padding: 7px 10px;
  white-space: nowrap;
}

.chessora-club-card-actions,
.chessora-club-room-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.chessora-club-list-card .chessora-club-card-actions {
  margin-top: 0;
}

.chessora-club-list-card .chessora-button {
  background: linear-gradient(180deg, #f0c65e, #d99f2f) !important;
  border: 1px solid #bf8422 !important;
  border-radius: 7px;
  color: #161107 !important;
  font-weight: 950;
  min-height: 42px;
  padding: 10px 16px;
  text-shadow: none !important;
  white-space: nowrap;
}

.chessora-club-directory-empty,
.chessora-club-empty-state {
  background: #fffaf0;
  border: 1px dashed #cba85d;
  border-radius: 8px;
  color: #5c624f;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.chessora-club-letter-group[hidden],
.chessora-club-list-card[hidden],
.chessora-club-directory-empty[hidden] {
  display: none !important;
}

.chessora-club-directory-empty strong,
.chessora-club-empty-state strong {
  color: #20261e;
  font-weight: 950;
}

.chessora-club-directory-empty p,
.chessora-club-empty-state p {
  color: #626b5c;
  margin: 0;
}

.chessora-club-empty-state .chessora-button {
  justify-self: start;
  margin-top: 4px;
}

.chessora-club-room-actions {
  margin-top: 0;
}

.chessora-club-room-actions > strong {
  background: #f4c44e;
  border-radius: 999px;
  color: #151711;
  font-weight: 950;
  padding: 8px 14px;
  white-space: nowrap;
}

body.view-clubs .chessora-clubs-page {
  background: #eef2ea !important;
  border-radius: 8px;
  color: #1d211b !important;
  padding: 22px !important;
}

body.view-clubs .chessora-clubs-hero {
  background:
    linear-gradient(120deg, rgba(255, 252, 244, 1), rgba(249, 236, 198, .9)),
    #fffaf0 !important;
  border-color: #dac58a !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .14) !important;
  color: #1d211b !important;
}

body.view-clubs .chessora-club-list-hero {
  align-items: center;
}

.chessora-club-logo-mark {
  align-items: center;
  background: #17231f;
  border: 1px solid rgba(207, 161, 69, 0.42);
  border-radius: 8px;
  color: #f2c96d !important;
  display: inline-flex;
  flex: 0 0 76px;
  font-size: 2rem;
  font-weight: 900;
  height: 76px;
  justify-content: center;
  overflow: hidden;
  width: 76px;
}

.chessora-club-logo-mark img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.view-clubs .chessora-clubs-hero h1 {
  color: #1d211b !important;
  text-shadow: none !important;
}

body.view-clubs .chessora-clubs-hero span {
  color: #4f5c4a !important;
}

body.view-clubs .chessora-clubs-page .chessora-kicker {
  background: transparent !important;
  color: #9a681d !important;
}

.chessora-club-room-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.chessora-club-room-panel {
  background: #fffdf6;
  border: 1px solid #eadfbd;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(25, 35, 24, 0.08);
  padding: 18px;
}

body.view-clubs .chessora-club-room-panel,
body.view-clubs .chessora-club-room-panel :where(h2, h3, strong, b, label, span, dt, dd) {
  color: #172016 !important;
}

body.view-clubs .chessora-club-room-panel :where(p, small, time) {
  color: #485545 !important;
}

body.view-clubs .chessora-button,
body.view-clubs .chessora-club-room-actions > strong {
  box-shadow: none !important;
  text-shadow: none !important;
}

.chessora-club-room-panel > header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.chessora-club-room-panel h2 {
  font-size: 1.06rem;
  margin: 0;
}

.chessora-club-room-panel header span,
.chessora-club-room-side dt {
  color: #6a725f;
  font-size: .78rem;
  font-weight: 900;
}

.chessora-club-post-form {
  border-bottom: 1px solid #eadfbd;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.chessora-club-post-form label {
  display: grid;
  gap: 8px;
}

.chessora-club-post-form label > span {
  color: #20261e;
  font-weight: 950;
}

.chessora-clubs-page .chessora-club-post-form input,
.chessora-clubs-page .chessora-club-post-form textarea,
.chessora-clubs-page .chessora-club-forum-list textarea,
.chessora-clubs-page .chessora-club-tournament-form input,
.chessora-clubs-page .chessora-club-tournament-form select,
.chessora-clubs-page .chessora-club-tournament-form textarea {
  background: #fffdf8 !important;
  border: 1px solid #c9b777 !important;
  border-radius: 6px;
  color: #20261e !important;
  font: inherit;
  padding: 12px;
}

.chessora-clubs-page .chessora-club-post-form textarea,
.chessora-clubs-page .chessora-club-forum-list textarea,
.chessora-clubs-page .chessora-club-tournament-form textarea {
  min-height: 110px;
  resize: vertical;
}

.chessora-clubs-page .chessora-club-post-form input,
.chessora-clubs-page .chessora-club-tournament-form input,
.chessora-clubs-page .chessora-club-tournament-form select {
  min-height: 42px;
}

.chessora-clubs-page .chessora-club-post-form input::placeholder,
.chessora-clubs-page .chessora-club-post-form textarea::placeholder,
.chessora-clubs-page .chessora-club-forum-list textarea::placeholder {
  color: #6c6655 !important;
  opacity: 1;
}

.chessora-clubs-page .chessora-club-post-form textarea:focus {
  border-color: #c99424 !important;
  box-shadow: 0 0 0 3px rgba(201, 148, 36, .18);
  outline: 0;
}

.chessora-club-post-form button {
  justify-self: start;
}

.chessora-club-instructions {
  background: #fff8df;
  border: 1px solid #dcc179;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.chessora-club-instructions strong {
  color: #3b2a0e !important;
  font-size: .92rem;
}

.chessora-club-instructions p {
  color: #3f4a3c !important;
  line-height: 1.45;
  margin: 0 !important;
}

.chessora-club-rules {
  background: #fffdf7;
  border: 1px solid #eadbb5;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.chessora-club-rules ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.chessora-club-rules li {
  color: #424b43;
  line-height: 1.45;
}

.chessora-club-welcome-card {
  align-items: center;
  background: #fffdf7;
  border: 1px solid #eadbb5;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 64px minmax(0, 1fr);
  margin-bottom: 16px;
  padding: 14px;
}

.chessora-club-welcome-card .chessora-club-logo-mark {
  height: 64px;
  width: 64px;
}

.chessora-club-welcome-card strong {
  color: #2b2111 !important;
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
}

.chessora-club-welcome-card p {
  color: #465342 !important;
  line-height: 1.5;
  margin: 0 !important;
}

.chessora-club-member-tools {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 16px;
}

.chessora-club-member-tools button {
  background: #fffdf7;
  border: 1px solid #eadbb5;
  border-radius: 8px;
  color: #2b2111;
  cursor: pointer;
  font-weight: 900;
  min-height: 42px;
  padding: 8px 10px;
}

.chessora-club-member-tools button:hover,
.chessora-club-member-tools button:focus {
  background: #e4aa32;
  border-color: #c89225;
  color: #171008;
}

.chessora-club-member-panel {
  background: #fffdf7;
  border: 1px solid #eadbb5;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px;
}

.chessora-club-member-panel > header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.chessora-club-member-panel > header span {
  color: #8d641d;
  display: block;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chessora-club-member-panel > header strong {
  color: #2b2111 !important;
  font-size: 1.15rem;
}

.chessora-club-activity-stream {
  display: grid;
  gap: 8px;
}

.chessora-club-activity-stream article,
.chessora-club-activity-stream button,
.chessora-club-wall-replies article {
  align-items: center;
  background: #f8f2df;
  border: 1px solid #e6d8ab;
  border-radius: 8px;
  color: #394337;
  display: grid;
  gap: 10px;
  grid-template-columns: 84px minmax(0, 1fr);
  padding: 10px 12px;
  text-align: left;
}

.chessora-club-activity-stream button {
  cursor: pointer;
  font: inherit;
}

.chessora-club-activity-stream > :where(article, button) > span {
  align-items: center;
  background: #fff7df;
  border: 1px solid #e0bd60;
  border-radius: 999px;
  color: #533a12;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 950;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
}

.chessora-club-activity-stream strong,
.chessora-club-wall-replies strong {
  color: #2b2111 !important;
}

.chessora-club-activity-stream small {
  color: #596456 !important;
}

.chessora-club-wall-replies {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.chessora-club-wall-replies > header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chessora-club-wall-replies > header span {
  color: #2b2111;
  font-weight: 950;
}

.chessora-club-wall-replies > header button {
  background: transparent;
  border: 0;
  color: #8d641d;
  cursor: pointer;
  font-weight: 950;
}

.chessora-club-reply-form {
  display: grid;
  gap: 8px;
}

.chessora-club-reply-form label {
  display: grid;
  gap: 5px;
}

.chessora-club-reply-form textarea,
.chessora-club-forum-list form textarea {
  min-height: 72px;
}

.chessora-club-room-note,
.chessora-club-post-list article,
.chessora-club-forum-list article,
.chessora-club-league-list article {
  background: #f8f2df;
  border: 1px solid #e6d8ab;
  border-radius: 6px;
  padding: 14px;
}

.chessora-club-room-note {
  margin-bottom: 16px;
}

.chessora-club-room-note p,
.chessora-club-post-list p {
  color: #4d5848;
  margin: 6px 0 0;
}

.chessora-club-post-list {
  display: grid;
  gap: 12px;
}

.chessora-club-post-list article > header div {
  display: grid;
  gap: 3px;
}

.chessora-club-event-date {
  background: #fff7dd;
  border: 1px solid #dfc47c;
  border-radius: 999px;
  color: #5b4215 !important;
  display: inline-flex;
  font-weight: 900;
  justify-self: start;
  padding: 5px 9px;
}

.chessora-club-media-link {
  background: #fffaf0;
  border: 1px solid #e1cf9b;
  border-radius: 8px;
  display: block;
  overflow: hidden;
  width: min(100%, 520px);
}

.chessora-club-media-link img {
  display: block;
  max-height: 320px;
  object-fit: cover;
  width: 100%;
}

.chessora-club-forum-list {
  display: grid;
  gap: 12px;
}

.chessora-club-league-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.chessora-club-league-rules {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.chessora-club-league-rules article,
.chessora-club-league-form-note {
  background: #fff8e6;
  border: 1px solid #e5cf8f;
  border-radius: 6px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.chessora-club-league-rules article.is-premium {
  background: linear-gradient(135deg, #fff5d8, #f4e3ad);
  border-color: #d39b2c;
}

.chessora-club-league-rules span,
.chessora-club-league-form-note strong {
  color: #9b6a13;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chessora-club-league-rules strong {
  color: #2d2618;
  font-size: .98rem;
  font-weight: 950;
}

.chessora-club-league-rules p,
.chessora-club-league-form-note span {
  color: #586250;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.chessora-club-league-form-note {
  grid-column: 1 / -1;
}

.chessora-club-match-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.chessora-club-league-list article {
  display: grid;
  gap: 4px;
}

.chessora-club-league-row-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.chessora-club-league-row-head div {
  display: grid;
  gap: 4px;
}

.chessora-club-league-row-head mark {
  background: linear-gradient(180deg, #f4cf74, #d59728);
  border-radius: 999px;
  color: #151008;
  font-size: .76rem;
  font-weight: 950;
  padding: 5px 9px;
}

.chessora-club-league-package-grid,
.chessora-club-league-premium-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}

.chessora-club-league-package-grid section {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(214, 167, 72, .18);
  border-radius: 6px;
  display: grid;
  gap: 7px;
  padding: 10px;
}

.chessora-club-league-package-grid h3 {
  color: #fff7df;
  font-size: .9rem;
  margin: 0;
}

.chessora-club-league-package-grid section > div {
  display: grid;
  gap: 2px;
}

.chessora-club-league-package-grid b {
  color: #fff7df;
  font-size: .84rem;
}

.chessora-club-league-package-grid span,
.chessora-club-league-package-grid p {
  color: #cbd4c8;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.chessora-club-league-premium-options {
  grid-column: 1 / -1;
}

.chessora-club-league-list article span {
  color: #586250 !important;
  font-size: .84rem;
  font-weight: 800;
}

.chessora-club-match-list article {
  background: #f8f2df;
  border: 1px solid #e6d8ab;
  border-radius: 6px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.chessora-club-match-list article header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.chessora-club-match-list p,
.chessora-club-match-list small {
  color: #586250 !important;
  margin: 0;
}

.chessora-club-command-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(20, 33, 28, .98), rgba(48, 67, 48, .94)),
    #17231f;
  border: 1px solid rgba(218, 197, 138, .36);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(14, 24, 20, .22);
  color: #fffaf0;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr) auto;
  margin-bottom: 16px;
  padding: 20px;
}

.chessora-club-identity {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
}

.chessora-club-command-hero .chessora-club-logo-mark {
  background: #fff8e4;
  border-color: rgba(244, 196, 78, .72);
  color: #17231f !important;
  height: 86px;
  width: 86px;
}

.chessora-club-command-hero h1 {
  color: #fff8e4 !important;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.02;
  margin: 0;
  text-shadow: none !important;
}

body.view-clubs .chessora-club-command-hero :where(h1, strong, b) {
  color: #fff8e4 !important;
}

body.view-clubs .chessora-club-command-hero :where(span, p) {
  color: #dce4d6 !important;
}

.chessora-club-command-hero .chessora-kicker {
  color: #f4c44e !important;
  margin-bottom: 6px;
}

.chessora-club-command-hero .chessora-club-identity span:not(.chessora-club-logo-mark) {
  color: #d8e0d2 !important;
  display: block;
  line-height: 1.45;
  margin-top: 8px;
  max-width: 780px;
}

.chessora-club-hero-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-club-hero-stats span {
  background: rgba(255, 250, 240, .08);
  border: 1px solid rgba(244, 196, 78, .24);
  border-radius: 8px;
  color: #dce4d6 !important;
  display: grid;
  font-size: .78rem;
  font-weight: 900;
  gap: 4px;
  padding: 11px 12px;
  text-transform: uppercase;
}

.chessora-club-hero-stats b {
  color: #fff8e4 !important;
  font-size: 1.12rem;
  text-transform: none;
}

.chessora-club-command-hero .chessora-club-room-actions {
  align-items: start;
  justify-content: end;
}

.chessora-club-command-hero .chessora-button {
  background: #f4c44e !important;
  border-color: rgba(255, 255, 255, .2) !important;
  color: #172016 !important;
}

.chessora-club-overview-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.chessora-club-overview-strip article,
.chessora-club-control-grid article,
.chessora-club-duty-list article {
  background: #fffdf6;
  border: 1px solid #eadfbd;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(25, 35, 24, .07);
  display: grid;
  gap: 5px;
  padding: 14px;
}

.chessora-club-overview-strip span,
.chessora-club-control-grid span {
  color: #8b6520 !important;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chessora-club-overview-strip strong,
.chessora-club-control-grid strong,
.chessora-club-duty-list strong {
  color: #172016 !important;
  font-size: 1rem;
  line-height: 1.24;
}

.chessora-club-overview-strip small,
.chessora-club-control-grid small,
.chessora-club-duty-list p {
  color: #53604f !important;
  line-height: 1.4;
  margin: 0;
}

.chessora-club-control-panel > header {
  border-bottom: 1px solid #eadfbd;
  padding-bottom: 14px;
}

.chessora-club-control-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.chessora-club-control-grid article {
  background: linear-gradient(180deg, #fffdf6, #fbf4df);
}

.chessora-club-control-grid strong {
  font-size: 1.55rem;
}

.chessora-club-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.chessora-club-command-actions .chessora-button {
  background: linear-gradient(180deg, #f1c85d, #d79d2c) !important;
  border: 1px solid #bd8323 !important;
  border-radius: 7px;
  color: #161107 !important;
  font-weight: 950;
  min-height: 42px;
  opacity: 1 !important;
  padding: 10px 14px;
  text-shadow: none !important;
}

.chessora-club-command-actions .chessora-button:hover,
.chessora-club-command-actions .chessora-button:focus-visible {
  background: linear-gradient(180deg, #f8d978, #e2a83a) !important;
  color: #120d04 !important;
}

.chessora-club-duty-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-club-tools-grid button[data-club-tool-target="captain"],
.chessora-club-tools-grid button[data-club-tool-target="vice-captain"] {
  background: #17231f;
  border-color: rgba(244, 196, 78, .35);
  color: #f8e7ae !important;
}

.chessora-club-tools-grid button[data-club-tool-target="captain"].is-active,
.chessora-club-tools-grid button[data-club-tool-target="vice-captain"].is-active {
  background: linear-gradient(180deg, #f4c44e, #d19a2e);
  color: #172016 !important;
}

@media (max-width: 980px) {
  .chessora-club-command-hero {
    grid-template-columns: 1fr;
  }

  .chessora-club-command-hero .chessora-club-room-actions {
    justify-content: start;
  }

  .chessora-club-overview-strip,
  .chessora-club-control-grid,
  .chessora-club-duty-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .chessora-club-identity {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .chessora-club-hero-stats {
    grid-template-columns: 1fr;
  }
}

.chessora-club-forum-list article {
  display: grid;
  gap: 12px;
}

.chessora-club-forum-list article > header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.chessora-club-forum-list article > header div {
  display: grid;
  gap: 4px;
}

.chessora-club-forum-list article > header span {
  background: #fff8de;
  border: 1px solid #e0c579;
  border-radius: 999px;
  color: #5d4215 !important;
  font-size: .76rem;
  font-weight: 900;
  padding: 5px 9px;
  white-space: nowrap;
}

.chessora-club-forum-list form {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.chessora-club-paste-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, .34fr) minmax(0, 1fr);
}

.chessora-club-forum-body {
  background: #fffaf0;
  border: 1px solid #e3d2a0;
  border-radius: 7px;
  color: #22281f !important;
  font-family: inherit;
  line-height: 1.5;
  margin: 0 !important;
  overflow-wrap: anywhere;
  padding: 12px;
  white-space: normal;
}

.chessora-club-pgn-reader {
  background: #f5f5f3;
  border: 1px solid #dedbd4;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  color: #27313a;
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  max-width: 980px;
  overflow: hidden;
  padding: 0;
}

.chessora-club-pgn-reader > header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e6e1d9;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 32px;
  padding: 7px 10px;
}

.chessora-club-pgn-reader > header div,
.chessora-club-pgn-reader-body aside {
  display: grid;
  gap: 6px;
}

.chessora-club-pgn-reader-help {
  align-items: center;
  background: #fff9e9;
  border-bottom: 1px solid #e0d1aa;
  color: #26313b;
  display: grid;
  gap: 4px;
  padding: 9px 12px;
}

.chessora-club-pgn-reader-help span {
  color: #47515b !important;
}

.chessora-club-pgn-reader strong {
  color: #26313b !important;
}

.chessora-club-pgn-reader span {
  color: #6d737a !important;
}

.chessora-club-pgn-reader-body {
  align-items: start;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(300px, min(58vh, 520px)) minmax(250px, 1fr);
}

.chessora-club-pgn-board-wrap {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: 28px minmax(0, 1fr);
  max-width: calc(28px + 8px + min(58vh, 520px));
  width: 100%;
}

.chessora-club-pgn-eval-rail {
  align-self: stretch;
  background: #111827;
  border: 1px solid #d8d0c2;
  border-radius: 6px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.chessora-club-pgn-eval-rail i {
  background: #f8fafc;
  bottom: 0;
  display: block;
  height: 50%;
  left: 0;
  position: absolute;
  right: 0;
}

.chessora-club-pgn-eval-rail span {
  background: rgba(255, 255, 255, .92);
  border-radius: 4px;
  color: #111827 !important;
  font-size: .7rem;
  font-weight: 900;
  left: 50%;
  line-height: 1;
  padding: 4px 3px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  z-index: 2;
}

.chessora-club-pgn-board {
  aspect-ratio: 1;
  background: #b98961;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  max-height: min(58vh, 520px);
  max-width: min(58vh, 520px);
  overflow: hidden;
  width: 100%;
}

.chessora-club-pgn-board span {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.chessora-club-pgn-board .is-light {
  background: #f0d9b5;
}

.chessora-club-pgn-board .is-dark {
  background: #b98961;
}

.chessora-club-pgn-board span[data-file]::after,
.chessora-club-pgn-board span[data-rank]::before {
  color: rgba(48, 50, 54, .68);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  text-shadow: 0 1px 0 rgba(255,255,255,.28);
  z-index: 2;
}

.chessora-club-pgn-board span[data-file]::after {
  bottom: 3px;
  content: attr(data-file);
  left: 5px;
}

.chessora-club-pgn-board span[data-rank]::before {
  content: attr(data-rank);
  right: 4px;
  top: 4px;
}

.chessora-club-pgn-board span.is-selected {
  box-shadow: inset 0 0 0 4px rgba(62, 136, 214, .85);
}

.chessora-club-pgn-board span.is-legal-target::after {
  background: rgba(62, 136, 214, .52);
  border-radius: 999px;
  content: "";
  height: 28%;
  left: 36%;
  position: absolute;
  top: 36%;
  width: 28%;
  z-index: 3;
}

.chessora-club-pgn-board img {
  display: block;
  height: 88%;
  max-width: 88%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.chessora-club-pgn-board img.is-black {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}

.chessora-club-pgn-board img.is-white {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}

.chessora-club-pgn-reader-body aside div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chessora-club-pgn-reader button {
  background: #edf0f2;
  border: 1px solid #d9dee3;
  border-radius: 3px;
  cursor: pointer;
  color: #26313b;
  font-weight: 900;
  padding: 7px 10px;
}

.chessora-club-pgn-reader button:hover,
.chessora-club-pgn-reader button:focus-visible,
.chessora-club-pgn-reader button.is-active {
  background: #5ba0dc;
  border-color: #5ba0dc;
  color: #ffffff;
}

.chessora-club-pgn-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chessora-club-pgn-engine {
  background: #f7f3ea;
  border: 1px solid #ded6c9;
  border-radius: 6px;
  display: grid !important;
  gap: 8px !important;
  padding: 8px;
}

.chessora-club-pgn-engine button {
  justify-self: start;
}

.chessora-club-pgn-engine div {
  display: grid !important;
  gap: 3px !important;
}

.chessora-club-pgn-engine div strong {
  color: #26313b !important;
  font-size: .9rem;
}

.chessora-club-pgn-engine div span {
  color: #4b5563 !important;
  font-size: .82rem;
  line-height: 1.35;
}

.chessora-club-pgn-moves {
  align-content: start;
  background: #ffffff;
  border: 1px solid #e2e2df;
  border-radius: 0;
  display: grid;
  gap: 0;
  max-height: min(58vh, 520px);
  overflow: auto;
  padding: 0;
}

.chessora-club-pgn-move-row {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: 2.45rem minmax(0, 1fr) minmax(0, 1fr);
  margin: 0;
  min-height: 34px;
  padding: 0 12px;
}

.chessora-club-pgn-move-row:nth-of-type(odd) {
  background: #ffffff;
}

.chessora-club-pgn-move-row:nth-of-type(even) {
  background: #fafafa;
}

.chessora-club-pgn-move-number {
  background: transparent;
  color: #7c858d !important;
  display: block;
  font-size: .88rem;
  font-weight: 500;
  padding: 0;
}

.chessora-club-pgn-white-move,
.chessora-club-pgn-black-move {
  min-width: 0;
  padding: 0 8px;
}

.chessora-club-pgn-white-move {
  text-align: left;
}

.chessora-club-pgn-black-move {
  text-align: right;
}

.chessora-club-pgn-move-text {
  color: #323c45;
  cursor: pointer;
  display: inline;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  outline: 0;
}

.chessora-club-pgn-move-text:hover,
.chessora-club-pgn-move-text:focus-visible,
.chessora-club-pgn-move-text.is-active {
  background: transparent;
  color: #176bb4;
  text-decoration: underline;
}

.chessora-club-pgn-move-text.is-good,
.chessora-club-pgn-move-text.is-best {
  color: #2c89d9;
}

.chessora-club-pgn-move-text.is-mistake,
.chessora-club-pgn-move-text.is-inaccuracy {
  color: #98a0a7;
}

.chessora-club-pgn-variation-form,
.chessora-club-pgn-variations {
  border-top: 1px solid #e0ddd6;
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.chessora-club-pgn-variation-form label {
  display: grid;
  gap: 5px;
}

.chessora-club-pgn-variation-form textarea,
.chessora-club-pgn-variation-form input {
  background: #ffffff;
  border: 2px solid #b9a77d;
  border-radius: 3px;
  color: #101820;
  font: inherit;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

.chessora-club-pgn-variation-form textarea {
  min-height: 76px;
  resize: vertical;
}

.chessora-club-pgn-variation-form form {
  display: grid;
  gap: 8px;
}

.chessora-club-pgn-variation-form form > button {
  width: 100%;
}

.chessora-club-pgn-variation-form input::placeholder {
  color: #5b6670;
  opacity: 1;
}

.chessora-club-pgn-variation-form textarea::placeholder {
  color: #5b6670;
  opacity: 1;
}

.chessora-club-pgn-variation-form textarea:focus,
.chessora-club-pgn-variation-form input:focus {
  border-color: #5ba0dc;
  box-shadow: 0 0 0 3px rgba(91, 160, 220, .24);
  outline: 0;
}

.chessora-club-pgn-variation-form small {
  color: #33404b;
  min-height: 1.1em;
}

.chessora-club-pgn-variations section {
  background: #f7f7f5;
  border: 1px solid #d8d8d5;
  display: grid;
  gap: 6px;
  padding: 8px;
}

.chessora-club-pgn-variations section strong {
  color: #6f757b !important;
  font-size: .78rem;
  text-transform: uppercase;
}

.chessora-club-pgn-variations p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.chessora-club-pgn-variations button {
  font-weight: 900;
  min-height: 30px;
  padding: 5px 8px;
}

.chessora-club-pgn-annotations {
  background: #eeeeec;
  border-bottom: 1px solid #d1d1cf;
  border-left: 0;
  border-top: 1px solid #d1d1cf;
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
}

.chessora-club-pgn-analysis-block {
  background: #eeeeec;
  border-bottom: 1px solid #cdcdca;
  display: grid;
  gap: 0;
  min-width: 0;
}

.chessora-club-pgn-analysis-block:nth-child(even) {
  background: #f5f5f4;
}

.chessora-club-pgn-analysis-block:last-child {
  border-bottom: 0;
}

.chessora-club-pgn-analysis-row {
  align-items: stretch;
  display: grid;
  gap: 0;
  grid-template-columns: 2.45rem minmax(0, 1fr) minmax(0, 1fr);
  min-height: 34px;
  padding: 0 12px;
}

.chessora-club-pgn-analysis-number {
  background: transparent;
  color: #7c858d !important;
  display: block;
  font-size: .88rem;
  font-weight: 500;
  line-height: 34px;
  padding: 0;
}

.chessora-club-pgn-analysis-white,
.chessora-club-pgn-analysis-black {
  min-width: 0;
  padding: 0 8px;
}

.chessora-club-pgn-analysis-white {
  text-align: left;
}

.chessora-club-pgn-analysis-black {
  text-align: right;
}

.chessora-club-pgn-analysis-row .chessora-club-pgn-move-text.is-best,
.chessora-club-pgn-analysis-row .chessora-club-pgn-move-text.is-good {
  color: #0879c9;
}

.chessora-club-pgn-analysis-row .chessora-club-pgn-move-text.is-mistake,
.chessora-club-pgn-analysis-row .chessora-club-pgn-move-text.is-inaccuracy {
  color: #9aa1a7;
}

.chessora-club-pgn-annotations p {
  margin: 0;
}

.chessora-club-pgn-analysis-block p {
  display: block;
  margin: 0;
  min-width: 0;
}

.chessora-club-pgn-variation-text {
  color: #2f3942;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: normal;
  padding: 3px 12px 8px 52px;
  white-space: normal;
  word-break: normal;
}

.chessora-club-pgn-variation-text strong {
  color: #26313b !important;
  font-weight: 950;
}

.chessora-club-pgn-inline-comment {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(112px, 1fr) auto;
  margin: 0 12px 9px 52px;
  max-width: 100%;
  min-width: 160px;
}

.chessora-club-pgn-inline-comment input {
  background: #f8fafb;
  border: 1px solid #d4dbe2;
  border-radius: 4px;
  color: #1d2833;
  font: inherit;
  font-size: .82rem;
  min-height: 24px;
  padding: 3px 6px;
}

.chessora-club-pgn-inline-comment input::placeholder {
  color: #77838e;
  opacity: 1;
}

.chessora-club-pgn-inline-comment input:focus {
  border-bottom-color: #3d86d0;
  box-shadow: none;
  outline: 0;
}

.chessora-club-pgn-inline-comment button {
  background: transparent;
  border: 0;
  color: #2f74ba;
  font-size: .82rem;
  min-height: 24px;
  padding: 3px 4px;
}

.chessora-club-pgn-comment {
  background: transparent;
  border: 0;
  color: #3f4851;
  font-size: .84rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  padding: 0 12px 2px 52px;
}

.chessora-club-pgn-comment strong {
  color: #26313b !important;
  font-weight: 900;
}

.chessora-club-pgn-reader-body aside {
  background: #ffffff;
  border-left: 1px solid #e0ddd6;
  color: #16202a;
  padding: 12px;
}

.chessora-club-pgn-reader-body aside > span {
  color: #6f757b !important;
  font-weight: 800;
}

.chessora-club-pgn-reader-body aside > strong {
  color: #26313b !important;
  font-size: 1.05rem;
}

@media (max-width: 1120px) {
  .chessora-club-pgn-reader-body {
    grid-template-columns: 1fr;
  }

  .chessora-club-pgn-board {
    max-height: none;
    max-width: 100%;
  }

  .chessora-club-pgn-reader-body aside {
    border-left: 0;
    border-top: 1px solid #e0ddd6;
  }
}

.chessora-club-post-list article header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.chessora-club-post-list time {
  color: #6a725f;
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}

.chessora-club-room-side {
  display: grid;
  gap: 14px;
}

.chessora-club-room-side dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.chessora-club-room-side dl > div {
  align-items: center;
  border-bottom: 1px solid #eadfbd;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
}

.chessora-club-room-side dd {
  color: #20261e;
  font-weight: 950;
  margin: 0;
}

.chessora-club-tool-panel[hidden] {
  display: none;
}

.chessora-club-tools {
  border-top: 1px solid #eadfbd;
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.chessora-club-tools h3 {
  color: #20261e;
  font-size: 1rem;
  margin: 0;
}

.chessora-club-tools-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.chessora-club-tools-grid button {
  align-items: center;
  background: #fffaf0 !important;
  border: 1px solid #d7c48f !important;
  border-radius: 7px;
  color: #5a4217 !important;
  cursor: pointer;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
}

.chessora-club-tools-grid button:hover,
.chessora-club-tools-grid button:focus,
.chessora-club-tools-grid button.is-active {
  background: #efd07a !important;
  border-color: #b98723 !important;
  color: #17140e !important;
  outline: 0;
}

.chessora-club-tournament-box {
  display: grid;
  gap: 12px;
}

.chessora-club-tournament-box.is-room-tool {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.chessora-club-tournament-box h3 {
  color: #20261e;
  font-size: 1rem;
  margin: 0;
}

.chessora-club-tournament-box p {
  color: #5f665a;
  margin: 0;
}

.chessora-club-tournament-list {
  display: grid;
  gap: 8px;
}

.chessora-club-tournament-list a {
  background: #fffaf0;
  border: 1px solid #eadfbd;
  border-radius: 8px;
  color: #20261e;
  display: grid;
  gap: 4px;
  padding: 10px;
  text-decoration: none;
}

.chessora-club-tournament-list span {
  color: #68705f;
  font-size: .82rem;
}

.chessora-club-tournament-form {
  display: grid;
  gap: 10px;
}

.chessora-club-tournament-form > div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-club-tournament-form label {
  color: #4f574b;
  display: grid;
  font-size: .78rem;
  font-weight: 900;
  gap: 5px;
  margin: 0;
}

.chessora-club-tournament-form input,
.chessora-club-tournament-form select {
  background: #fffdf8;
  border: 1px solid #d7c798;
  border-radius: 7px;
  color: #20261e;
  min-height: 38px;
  padding: 7px 9px;
  width: 100%;
}

.chessora-club-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chessora-club-member-list > span,
.chessora-club-member-list > a {
  align-items: center;
  background: #f7f1df;
  border: 1px solid #e5d6aa;
  border-radius: 999px;
  color: #20261e;
  display: inline-flex;
  gap: 7px;
  min-height: 34px;
  padding: 5px 10px;
  text-decoration: none;
}

.chessora-club-member-list b {
  font-size: .86rem;
  line-height: 1;
}

.chessora-club-member-list small {
  color: #6a725f;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
}

.chessora-club-member-list.is-full > span {
  border-radius: 6px;
  min-width: 220px;
}

.chessora-club-empty {
  border-radius: 6px !important;
  color: #6a725f !important;
}

html body.chessora-shell.view-clubs .chessora-clubs-page :where(input, select, textarea),
html body.chessora-shell.view-clubs .chessora-clubs-page :where(.chessora-club-tournament-form, .chessora-club-post-form, .chessora-club-forum-list) :where(input, select, textarea) {
  appearance: auto !important;
  background: #fffdf7 !important;
  border: 1px solid #b9943e !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65) !important;
  color: #172016 !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  min-height: 42px !important;
  opacity: 1 !important;
  padding: 9px 12px !important;
  text-shadow: none !important;
  width: 100% !important;
}

html body.chessora-shell.view-clubs .chessora-clubs-page textarea {
  min-height: 112px !important;
  resize: vertical !important;
}

html body.chessora-shell.view-clubs .chessora-clubs-page :where(input, textarea)::placeholder {
  color: #76694f !important;
  opacity: 1 !important;
}

html body.chessora-shell.view-clubs .chessora-clubs-page select,
html body.chessora-shell.view-clubs .chessora-clubs-page select option {
  background-color: #fffdf7 !important;
  color: #172016 !important;
}

html body.chessora-shell.view-clubs .chessora-clubs-page :where(input, select, textarea):focus {
  border-color: #d69a27 !important;
  box-shadow: 0 0 0 3px rgba(214, 154, 39, .22) !important;
  outline: 0 !important;
}

html body.chessora-shell.view-clubs .chessora-club-tournament-form label,
html body.chessora-shell.view-clubs .chessora-club-post-form label,
html body.chessora-shell.view-clubs .chessora-club-forum-list label {
  color: #263022 !important;
  font-weight: 900 !important;
}

@media (max-width: 720px) {
  .chessora-club-league-rules {
    grid-template-columns: 1fr;
  }

  .chessora-club-league-package-grid,
  .chessora-club-league-premium-options {
    grid-template-columns: 1fr;
  }

  .chessora-club-list-hero,
  .chessora-club-list-card > header,
  .chessora-club-full-roster > header {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .chessora-club-discovery {
    grid-template-columns: 1fr;
  }

  .chessora-club-list-hero {
    display: grid;
  }

  .chessora-club-room-grid {
    grid-template-columns: 1fr;
  }

  .chessora-club-paste-grid {
    grid-template-columns: 1fr;
  }

  .chessora-club-card-actions,
  .chessora-club-room-actions {
    justify-content: flex-start;
  }

  .chessora-club-list-card .chessora-club-card-actions {
    margin-top: 10px;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr) !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
    grid-column: 1 !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle:not([hidden]),
  body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning:not([hidden]) {
    grid-column: 2 !important;
  }
}

/* Correspondence sidebar: mirror the Play setup guidance panels. */
body.view-correspondence .chessora-correspondence-left {
  display: grid !important;
  gap: 16px !important;
}

body.view-correspondence .chessora-correspondence-side-panel {
  align-self: start !important;
  background:
    linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
    #26322d !important;
  border: 1px solid rgba(241, 207, 119, 0.28) !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3) !important;
  color: #c9d1c8 !important;
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px !important;
  width: 100% !important;
}

body.view-correspondence .chessora-correspondence-side-panel .chessora-create-section-head {
  border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
  padding-bottom: 10px !important;
}

body.view-correspondence .chessora-correspondence-side-panel strong {
  color: #fff7dd !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

body.view-correspondence .chessora-correspondence-side-panel p {
  align-items: flex-start !important;
  color: #c9d1c8 !important;
  display: grid !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  gap: 10px !important;
  grid-template-columns: 28px 1fr !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

body.view-correspondence .chessora-correspondence-side-panel .chessora-etiquette-icon {
  align-items: center !important;
  background: linear-gradient(135deg, rgba(241, 207, 119, 0.32), rgba(214, 162, 59, 0.14)) !important;
  border: 1px solid rgba(241, 207, 119, 0.35) !important;
  border-radius: 999px !important;
  color: #f1cf77 !important;
  display: inline-flex !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  height: 28px !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28) !important;
  width: 28px !important;
}

body.view-correspondence .chessora-correspondence-side-panel .chessora-button {
  justify-self: start !important;
  min-height: 42px !important;
}

/* Daily lobby priority queue. */
body.view-correspondence .chessora-correspondence-cockpit,
body.view-correspondence .chessora-correspondence-lists {
  display: grid !important;
  gap: 16px !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr) !important;
}

body.view-correspondence .chessora-correspondence-lists {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.view-correspondence .chessora-correspondence-queue,
body.view-correspondence .chessora-correspondence-active,
body.view-correspondence .chessora-correspondence-recent,
body.view-correspondence .chessora-correspondence-open,
body.view-correspondence .chessora-correspondence-next,
body.view-correspondence .chessora-correspondence-summary {
  background: #ffffff !important;
  border: 1px solid var(--daily-line, #eee4d7) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(39, 31, 18, 0.055) !important;
  color: var(--daily-ink, #111827) !important;
  display: grid !important;
  gap: 14px !important;
  padding: 18px !important;
}

body.view-correspondence .chessora-correspondence-queue {
  border-color: #e3a221 !important;
  box-shadow: 0 14px 34px rgba(179, 114, 12, 0.12) !important;
}

body.view-correspondence .chessora-correspondence-open {
  grid-column: 1 / -1 !important;
}

body.view-correspondence .chessora-correspondence-next-main {
  align-items: center !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}

body.view-correspondence .chessora-correspondence-next-main h2 {
  color: var(--daily-ink, #111827) !important;
  font-size: 1.8rem !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  margin: 6px 0 8px !important;
}

body.view-correspondence .chessora-correspondence-play-next,
body.view-correspondence .chessora-correspondence-summary-cta {
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  white-space: nowrap !important;
}

body.view-correspondence .chessora-correspondence-facts,
body.view-correspondence .chessora-correspondence-summary-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)) !important;
  margin: 0 !important;
}

body.view-correspondence .chessora-correspondence-facts div,
body.view-correspondence .chessora-correspondence-summary-grid span {
  background: #fffaf0 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 4px !important;
  min-height: 64px !important;
  padding: 10px !important;
}

body.view-correspondence .chessora-correspondence-facts dt,
body.view-correspondence .chessora-correspondence-summary-grid small {
  color: var(--daily-muted, #667085) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body.view-correspondence .chessora-correspondence-facts dd,
body.view-correspondence .chessora-correspondence-summary-grid strong {
  color: var(--daily-ink, #111827) !important;
  font-weight: 950 !important;
  margin: 0 !important;
}

body.view-correspondence .chessora-correspondence-board-list {
  display: grid !important;
  gap: 8px !important;
}

body.view-correspondence .chessora-correspondence-match-list {
  display: grid !important;
  gap: 10px !important;
}

body.view-correspondence .chessora-correspondence-match-card {
  background: #fffdf8 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
}

body.view-correspondence .chessora-correspondence-match-card.is-your-move {
  background: #fff8e6 !important;
  border-color: #e3a221 !important;
  box-shadow: inset 4px 0 0 #d88912 !important;
}

body.view-correspondence .chessora-correspondence-match-card > header {
  align-items: center !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}

body.view-correspondence .chessora-correspondence-match-card > header strong,
body.view-correspondence .chessora-correspondence-match-card > header small {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-correspondence .chessora-correspondence-match-card > header strong {
  color: var(--daily-ink, #111827) !important;
  font-size: 1rem !important;
}

body.view-correspondence .chessora-correspondence-match-card > header small {
  color: var(--daily-muted, #667085) !important;
  font-weight: 750 !important;
}

body.view-correspondence .chessora-correspondence-match-boards {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.view-correspondence .chessora-correspondence-board-pill {
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 8px !important;
  color: var(--daily-ink, #111827) !important;
  display: grid !important;
  gap: 3px 10px !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  min-height: 74px !important;
  padding: 10px 12px !important;
  text-decoration: none !important;
}

body.view-correspondence .chessora-correspondence-board-pill > span,
body.view-correspondence .chessora-correspondence-board-pill > small {
  color: var(--daily-muted, #667085) !important;
  font-size: 0.76rem !important;
  font-weight: 850 !important;
}

body.view-correspondence .chessora-correspondence-board-pill > strong {
  color: var(--daily-ink, #111827) !important;
  font-size: 0.94rem !important;
}

body.view-correspondence .chessora-correspondence-board-pill > span:not(.chessora-correspondence-mini-preview),
body.view-correspondence .chessora-correspondence-board-pill > strong,
body.view-correspondence .chessora-correspondence-board-pill > small {
  grid-column: 2 !important;
  min-width: 0 !important;
}

body.view-correspondence .chessora-correspondence-mini-preview {
  aspect-ratio: 1 / 1 !important;
  border: 2px solid #d9c7a6 !important;
  border-radius: 6px !important;
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  height: 48px !important;
  overflow: hidden !important;
  width: 48px !important;
}

body.view-correspondence .chessora-correspondence-mini-preview.is-your-move {
  border-color: #d88912 !important;
  box-shadow: 0 0 0 2px rgba(216, 137, 18, 0.18) !important;
}

body.view-correspondence .chessora-correspondence-mini-preview span {
  align-items: center !important;
  display: flex !important;
  font-size: 0.42rem !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 0 !important;
  min-width: 0 !important;
}

body.view-correspondence .chessora-correspondence-mini-preview .is-light {
  background: #f0d89a !important;
  color: #24180c !important;
}

body.view-correspondence .chessora-correspondence-mini-preview .is-dark {
  background: #b7792a !important;
  color: #fff6de !important;
}

body.view-correspondence .chessora-correspondence-board-pill.is-your-move {
  background: #fff0c9 !important;
  border-color: #d88912 !important;
}

body.view-correspondence .chessora-correspondence-board-pill.is-urgency-critical {
  background: #fff0ed !important;
  border-color: #d6452c !important;
}

body.view-correspondence .chessora-correspondence-board-pill.is-waiting {
  background: #f8faf9 !important;
}

body.view-correspondence .chessora-correspondence-row {
  align-items: center !important;
  background: #fffdf8 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 8px !important;
  color: var(--daily-ink, #111827) !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(92px, 0.55fr) minmax(110px, 0.75fr) auto !important;
  min-height: 64px !important;
  padding: 12px 14px !important;
  text-decoration: none !important;
}

body.view-correspondence .chessora-correspondence-active .chessora-correspondence-row,
body.view-correspondence .chessora-correspondence-recent .chessora-correspondence-row,
body.view-correspondence .chessora-correspondence-open .chessora-correspondence-row {
  grid-template-columns: minmax(0, 1.4fr) minmax(92px, 0.7fr) minmax(110px, 0.75fr) !important;
}

body.view-correspondence .chessora-correspondence-row strong,
body.view-correspondence .chessora-correspondence-row small,
body.view-correspondence .chessora-correspondence-row > span {
  min-width: 0 !important;
}

body.view-correspondence .chessora-correspondence-row strong {
  color: var(--daily-ink, #111827) !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-correspondence .chessora-correspondence-row small {
  color: var(--daily-muted, #667085) !important;
  display: block !important;
  font-weight: 750 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-correspondence .chessora-correspondence-row.is-your-move {
  background: #fff4d5 !important;
  border-color: #e3a221 !important;
  box-shadow: inset 4px 0 0 #d88912 !important;
}

body.view-correspondence .chessora-correspondence-row.is-urgency-due-soon {
  background: #fff0c9 !important;
  border-color: #d88912 !important;
}

body.view-correspondence .chessora-correspondence-row.is-urgency-critical {
  background: #fff0ed !important;
  border-color: #d6452c !important;
  box-shadow: inset 4px 0 0 #d6452c !important;
}

body.view-correspondence .chessora-correspondence-row.is-waiting {
  background: #f8faf9 !important;
}

body.view-correspondence .chessora-correspondence-row.is-recent {
  background: #f7f8fb !important;
  opacity: 0.92 !important;
}

body.view-correspondence .chessora-correspondence-row-action {
  background: #111827 !important;
  border-radius: 999px !important;
  color: #fff7dd !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  justify-self: end !important;
  padding: 7px 12px !important;
}

body.view-correspondence .chessora-correspondence-urgency {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  font-size: 0.68rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  margin-left: 7px !important;
  padding: 5px 8px !important;
  text-transform: uppercase !important;
  vertical-align: middle !important;
}

body.view-correspondence .chessora-correspondence-urgency.is-due-soon {
  background: #ffe5a8 !important;
  border: 1px solid #d88912 !important;
  color: #7a4b06 !important;
}

body.view-correspondence .chessora-correspondence-urgency.is-critical {
  background: #ffd7d1 !important;
  border: 1px solid #d6452c !important;
  color: #8d1f10 !important;
}

body.view-correspondence .chessora-correspondence-empty {
  background: #fffdf8 !important;
  border: 1px dashed #dfcaa6 !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
}

body.view-correspondence .chessora-correspondence-empty-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

@media (max-width: 980px) {
  body.view-correspondence .chessora-correspondence-cockpit,
  body.view-correspondence .chessora-correspondence-lists {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.view-correspondence .chessora-correspondence-next-main,
  body.view-correspondence .chessora-correspondence-row,
  body.view-correspondence .chessora-correspondence-active .chessora-correspondence-row,
  body.view-correspondence .chessora-correspondence-recent .chessora-correspondence-row,
  body.view-correspondence .chessora-correspondence-open .chessora-correspondence-row {
    grid-template-columns: 1fr !important;
  }

  body.view-correspondence .chessora-correspondence-facts,
  body.view-correspondence .chessora-correspondence-summary-grid {
    grid-template-columns: 1fr !important;
  }

  body.view-correspondence .chessora-correspondence-play-next,
  body.view-correspondence .chessora-correspondence-summary-cta,
  body.view-correspondence .chessora-correspondence-row-action {
    justify-self: stretch !important;
    width: 100% !important;
  }

  body.view-correspondence .chessora-correspondence-match-card > header,
  body.view-correspondence .chessora-correspondence-match-boards {
    grid-template-columns: 1fr !important;
  }
}

/* Final game setup column alignment. */
body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr) !important;
  column-gap: 18px !important;
  row-gap: 18px !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle):not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-rating-range):not(.chessora-rating-range-warning) {
  grid-column: 1 / -1 !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
  grid-column: 1 !important;
  max-width: none !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
  grid-column: 2 !important;
  max-width: none !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
    grid-template-columns: 1fr !important;
  }

  body.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
  body.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
  body.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
    grid-column: 1 / -1 !important;
  }
}

/* Bounded game-page stability fixes. Keep these last so older game layout experiments cannot win. */
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel {
  inset: auto !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
  align-self: start !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel {
  max-height: min(calc(100vh - 118px), calc(var(--room-board-size, 680px) + 118px)) !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

body.view-game .chessora-game-room.is-creating-game {
  align-items: start !important;
  overflow: visible !important;
}

body.view-game .chessora-game-room.is-creating-game .chessora-board-layout,
body.view-game .chessora-game-room.is-creating-game .chessora-game-side,
body.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
  overflow: visible !important;
}

body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
  align-self: start !important;
  position: relative !important;
}

@media (max-width: 900px) {
  body.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
  body.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
  body.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
    grid-row: auto !important;
  }
}

body.view-game .chessora-game-room .chessora-board.cg-wrap {
  min-height: 0 !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
  display: block !important;
  min-height: 100% !important;
  opacity: 1 !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap piece {
  opacity: 1 !important;
  visibility: visible !important;
}

body.view-game .chessora-game-room [data-note-underboard] {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-tool-chat:not([hidden]) {
  display: grid !important;
  gap: 12px !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-tool-chat .chessora-spectator-summary,
body.view-game .chessora-game-room.is-correspondence .chessora-tool-chat .chessora-spectator-list {
  display: none !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-tool-chat .chessora-correspondence-note-underboard {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(214, 162, 59, 0.18) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
  width: 100% !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-tool-chat .chessora-daily-note {
  display: grid !important;
  gap: 6px !important;
}

body.view-game .chessora-game-room.is-correspondence .chessora-tool-chat [data-correspondence-note] {
  min-height: 112px !important;
  resize: vertical !important;
}

/* Forum and compact profile identity pass. */
html body .chessora.chessora-forum-page {
  background: #e8e6e1 !important;
  color: #333 !important;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif !important;
  max-width: 1280px !important;
  padding: 14px 16px 36px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero,
html body .chessora.chessora-forum-page .chessora-forum-feed,
html body .chessora.chessora-forum-page .chessora-forum-cats,
html body .chessora.chessora-forum-page .chessora-forum-section,
html body .chessora.chessora-forum-page .chessora-forum-topic-list,
html body .chessora.chessora-forum-page .chessora-forum-form,
html body .chessora.chessora-forum-page .chessora-topic-post {
  background: #fff !important;
  border: 1px solid #d7d4cd !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .13) !important;
  color: #333 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero {
  align-items: center !important;
  display: flex !important;
  gap: 22px !important;
  justify-content: space-between !important;
  margin-bottom: 0 !important;
  min-height: 110px !important;
  padding: 26px 50px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero::before,
html body .chessora.chessora-forum-page .chessora-forum-hero::after,
html body .chessora.chessora-forum-page .chessora-forum-section > header::before,
html body .chessora.chessora-forum-page .chessora-forum-section > header::after {
  display: none !important;
}

html body .chessora.chessora-forum-page .chessora-kicker {
  display: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero h1 {
  color: #444 !important;
  font-size: clamp(2.1rem, 3.4vw, 3rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hero span,
html body .chessora.chessora-forum-page .chessora-forum-section p,
html body .chessora.chessora-forum-page .chessora-forum-topic-list p,
html body .chessora.chessora-forum-page .chessora-forum-room-main small,
html body .chessora.chessora-forum-page .chessora-forum-topic-row small,
html body .chessora.chessora-forum-page .chessora-forum-last small,
html body .chessora.chessora-forum-page .chessora-forum-cats span,
html body .chessora.chessora-forum-page .chessora-topic-post header span {
  color: #555 !important;
  font-size: .92rem !important;
  line-height: 1.35 !important;
}

html body .chessora.chessora-forum-page .chessora-button,
html body .chessora.chessora-forum-page button {
  background: #f7f7f5 !important;
  border: 1px solid #cfcac0 !important;
  border-radius: 5px !important;
  color: #333 !important;
  font-weight: 600 !important;
  min-height: 38px !important;
}

html body .chessora.chessora-forum-page .chessora-button-primary,
html body .chessora.chessora-forum-page .chessora-forum-form .chessora-button-primary {
  background: #2a7bd6 !important;
  border-color: #2a7bd6 !important;
  color: #fff !important;
}

html body .chessora.chessora-forum-page .chessora-forum-layout {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  margin-top: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-feed,
html body .chessora.chessora-forum-page .chessora-forum-cats {
  overflow: hidden !important;
  padding: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-index {
  display: block !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section,
html body .chessora.chessora-forum-page .chessora-forum-topic-list {
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section > header,
html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
  background: linear-gradient(#f8f8f8, #e9e9e9) !important;
  border-bottom: 1px solid #d5d5d5 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 84px 84px 190px !important;
  gap: 18px !important;
  min-height: 32px !important;
  padding: 8px 28px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section h2,
html body .chessora.chessora-forum-page .chessora-forum-topic-list h2 {
  color: #555 !important;
  font-size: .95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-section p,
html body .chessora.chessora-forum-page .chessora-forum-topic-list p,
html body .chessora.chessora-forum-page .chessora-forum-section > header > span {
  display: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room,
html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  align-items: center !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #efefef !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 44px minmax(0, 1fr) 84px 84px 190px !important;
  min-height: 92px !important;
  padding: 16px 28px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  grid-template-columns: minmax(0, 1fr) auto 84px 190px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room:nth-child(2n),
html body .chessora.chessora-forum-page .chessora-forum-topic-row:nth-child(2n) {
  background: #f7f7f7 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room:hover,
html body .chessora.chessora-forum-page .chessora-forum-topic-row:hover {
  background: #f1f7ff !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #666 !important;
  font-size: 1.65rem !important;
  height: auto !important;
  width: auto !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-main strong,
html body .chessora.chessora-forum-page .chessora-forum-topic-row strong {
  color: #1267d7 !important;
  display: block !important;
  font-size: clamp(1.15rem, 1.9vw, 1.75rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat,
html body .chessora.chessora-forum-page .chessora-forum-last {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #444 !important;
  display: grid !important;
  justify-items: start !important;
  min-width: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-stat b,
html body .chessora.chessora-forum-page .chessora-forum-last b {
  color: #444 !important;
  font-size: .95rem !important;
  font-weight: 400 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-last b {
  color: #2781dd !important;
}

html body .chessora.chessora-forum-page .chessora-topic-posts {
  display: grid !important;
  gap: 0 !important;
}

html body .chessora.chessora-forum-page .chessora-topic-post {
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  margin: 0 !important;
  padding: 22px 28px !important;
}

html body .chessora.chessora-forum-page .chessora-topic-avatar {
  background: #e8f1fb !important;
  border: 1px solid #cbdced !important;
  color: #555 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-game-embed {
  background: #f8f6f0 !important;
  border: 1px solid #ddd3bd !important;
  border-radius: 4px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar {
  align-items: center !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title {
  min-width: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1,
body.view-profile .chessora.chessora-profile-page .chessora-profile-page .chessora-cb-profile-title h1 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem) !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap piece,
body.view-game .chessora-game-room .chessora-board.cg-wrap piece.anim,
body.view-game .chessora-game-room .chessora-board.cg-wrap piece.dragging {
  transition: none !important;
  animation: none !important;
}

body.view-game .chessora-game-room .chessora-board.cg-wrap piece.ghost {
  opacity: 0 !important;
}

/* Premium board themes. Admins can activate these before member subscriptions are wired. */
body.view-game .chessora-game-room.chessora-board-theme-brown {
  --pr-board-light: #f0d89a;
  --pr-board-dark: #b7792a;
}

body.view-game .chessora-game-room.chessora-board-theme-green {
  --pr-board-light: #e7ecd0;
  --pr-board-dark: #6d8b5f;
}

body.view-game .chessora-game-room.chessora-board-theme-blue {
  --pr-board-light: #dce7f4;
  --pr-board-dark: #54799d;
}

body.view-game .chessora-game-room.chessora-board-theme-grey {
  --pr-board-light: #d7d9d6;
  --pr-board-dark: #737978;
}

body.view-game .chessora-game-room.chessora-board-theme-walnut {
  --pr-board-light: #e8c68d;
  --pr-board-dark: #8d5527;
}

body.view-game .chessora-game-room.chessora-board-theme-tournament {
  --pr-board-light: #f4e7b7;
  --pr-board-dark: #3f7d5d;
}

body.view-game .chessora-game-room[class*="chessora-board-theme-"] .chessora-board.cg-wrap,
body.view-game .chessora-game-room[class*="chessora-board-theme-"] .chessora-board-wrap {
  background-color: var(--pr-board-dark, #b7792a) !important;
}

body.view-game .chessora-game-room[class*="chessora-board-theme-"] .chessora-board.cg-wrap cg-board {
  background-color: var(--pr-board-light, #f0d89a) !important;
  background-image: conic-gradient(
    var(--pr-board-dark, #b7792a) 25%,
    var(--pr-board-light, #f0d89a) 0 50%,
    var(--pr-board-dark, #b7792a) 0 75%,
    var(--pr-board-light, #f0d89a) 0
  ) !important;
  background-size: 25% 25% !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-meta-line {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-meta-line b {
  color: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-country-flag {
  display: inline-flex !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  margin-right: 2px !important;
}

body.view-game .chessora-game-room .chessora-board-player-row [data-player-name] {
  cursor: pointer !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

body.view-game .chessora-game-room .chessora-board-player-row [data-player-name]:hover {
  color: #e5b44d !important;
}

body.view-game .chessora-game-room [data-player-name].has-disconnect-status {
  align-items: center !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.view-game .chessora-game-room .chessora-disconnect-badge {
  background: rgba(185, 48, 48, 0.16) !important;
  border: 1px solid rgba(239, 115, 115, 0.44) !important;
  border-radius: 999px !important;
  color: #ffd6d6 !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 4px 7px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.view-game .chessora-game-room .chessora-board-player-row .chessora-rating-pill {
  font-size: .82rem !important;
  font-weight: 600 !important;
}

@media (max-width: 980px) {
  .chessora-profile-page .chessora-profile-advanced-summary,
  .chessora-profile-page .chessora-profile-advanced-grid,
  .chessora-profile-page .chessora-profile-opening-spotlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chessora-profile-page .chessora-profile-opening-table {
    overflow-x: auto;
  }

  .chessora-profile-page .chessora-profile-opening-table-head,
  .chessora-profile-page .chessora-profile-opening-table article {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .chessora-profile-page .chessora-profile-advanced-summary,
  .chessora-profile-page .chessora-profile-advanced-grid,
  .chessora-profile-page .chessora-profile-opening-spotlights {
    grid-template-columns: 1fr;
  }

  .chessora-profile-page .chessora-profile-advanced-summary article {
    min-height: 0;
  }
}

.chessora-player-action-menu a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: #eef2ee;
  cursor: pointer;
  padding: 8px 9px;
  text-align: left;
  text-decoration: none;
}

.chessora-player-action-menu a:hover {
  background: rgba(214, 167, 72, 0.14);
  border-color: rgba(214, 167, 72, 0.28);
}

body.view-tournaments .chessora-broadcast-center {
  display: grid !important;
  gap: 18px !important;
}

body.view-tournaments .chessora-broadcast-center > header {
  align-items: start !important;
  display: flex !important;
  gap: 16px !important;
  justify-content: space-between !important;
}

body.view-tournaments .chessora-broadcast-center > header div {
  display: grid !important;
  gap: 5px !important;
}

body.view-tournaments .chessora-broadcast-center > header p {
  margin: 0 !important;
}

body.view-tournaments .chessora-broadcast-editor {
  background: #fff9ea !important;
  border: 1px solid #e6c779 !important;
  border-radius: 8px !important;
  padding: 14px !important;
}

body.view-tournaments .chessora-broadcast-editor summary {
  color: #1f1a12 !important;
  cursor: pointer !important;
  font-weight: 950 !important;
}

body.view-tournaments .chessora-broadcast-editor form {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 14px !important;
}

body.view-tournaments .chessora-broadcast-editor label {
  display: grid !important;
  gap: 7px !important;
}

body.view-tournaments .chessora-broadcast-editor label.is-wide,
body.view-tournaments .chessora-broadcast-editor-actions {
  grid-column: 1 / -1 !important;
}

body.view-tournaments .chessora-broadcast-editor label span {
  color: #66522b !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body.view-tournaments .chessora-broadcast-editor input,
body.view-tournaments .chessora-broadcast-editor textarea {
  background: #fffdf8 !important;
  border: 1px solid #dfc992 !important;
  border-radius: 7px !important;
  color: #1f1a12 !important;
  font: inherit !important;
  padding: 10px 12px !important;
  width: 100% !important;
}

body.view-tournaments .chessora-broadcast-editor textarea {
  min-height: 124px !important;
  resize: vertical !important;
}

body.view-tournaments .chessora-broadcast-editor-actions {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: space-between !important;
}

body.view-tournaments .chessora-broadcast-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.view-tournaments .chessora-broadcast-grid article,
body.view-tournaments .chessora-broadcast-empty {
  background: #fffdf8 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 9px !important;
  padding: 14px !important;
}

body.view-tournaments .chessora-broadcast-grid article.is-wide,
body.view-tournaments .chessora-broadcast-source {
  grid-column: 1 / -1 !important;
}

body.view-tournaments .chessora-broadcast-grid article > span,
body.view-tournaments .chessora-broadcast-source > span {
  color: #8a5a12 !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

body.view-tournaments .chessora-broadcast-grid p,
body.view-tournaments .chessora-broadcast-grid li,
body.view-tournaments .chessora-broadcast-empty p {
  color: #4f4636 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

body.view-tournaments .chessora-broadcast-grid ul {
  display: grid !important;
  gap: 7px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.view-tournaments .chessora-broadcast-grid li {
  border-bottom: 1px solid rgba(138, 90, 18, .12) !important;
  padding-bottom: 7px !important;
}

body.view-tournaments .chessora-broadcast-grid li:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.view-tournaments .chessora-broadcast-source strong {
  color: #1f1a12 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 820px) {
  body.view-tournaments .chessora-broadcast-center > header,
  body.view-tournaments .chessora-broadcast-editor-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.view-tournaments .chessora-broadcast-editor form,
  body.view-tournaments .chessora-broadcast-grid {
    grid-template-columns: 1fr !important;
  }
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-country-flag.is-empty {
  color: var(--profile-muted, #69727d) !important;
  font-size: .95rem !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-invite {
  background: #fffaf0 !important;
  border: 1px solid #e7c66b !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-invite.is-waiting {
  background: #f4f8ff !important;
  border-color: #bfd4ee !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-invite > div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item {
  align-items: start !important;
  background: #f8f5ea !important;
  border: 1px solid var(--cb-line, rgba(48, 54, 64, .16)) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  padding: 12px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item > a:first-child {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item.is-important,
body.view-profile .chessora.chessora-profile-page .chessora-profile-invite.is-important {
  background: #fff8e7 !important;
  border-color: #d6a83f !important;
  box-shadow: inset 4px 0 0 #b77800 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item.is-grouped {
  background: #f3f8f5 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-meta span {
  background: #ffffff !important;
  border: 1px solid rgba(45, 55, 72, .14) !important;
  border-radius: 999px !important;
  color: #5b4630 !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  text-transform: uppercase !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-action,
body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item > .chessora-profile-dismiss {
  align-self: center !important;
  background: #ffffff !important;
  border: 1px solid rgba(45, 55, 72, .16) !important;
  border-radius: 7px !important;
  color: #24364d !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  padding: 8px 10px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-action {
  background: #173f6f !important;
  border-color: #173f6f !important;
  color: #ffffff !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-empty {
  align-items: start !important;
  display: grid !important;
  gap: 8px !important;
}

@media (max-width: 640px) {
  body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item {
    grid-template-columns: 1fr !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-action,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item > .chessora-profile-dismiss {
    justify-self: start !important;
  }
}

@media (max-width: 900px) {
  html body .chessora.chessora-forum-page .chessora-forum-layout {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-cats {
    display: none !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero {
    align-items: flex-start !important;
    flex-direction: column !important;
    padding: 22px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-room,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 84px !important;
    padding: 14px 18px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-room-icon,
  html body .chessora.chessora-forum-page .chessora-forum-last,
  html body .chessora.chessora-forum-page .chessora-forum-section > header {
    display: none !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }
}

/* Independent settings page. */
.chessora-settings-page {
  --settings-ink: #172033;
  --settings-muted: #657186;
  --settings-line: rgba(23, 32, 51, 0.12);
  --settings-panel: #ffffff;
  --settings-band: #f4f6f9;
  color: var(--settings-ink);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(16px, 3vw, 32px) 48px;
}

.chessora-settings-page .chessora-subnav {
  background: #ffffff;
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.chessora-settings-hero {
  align-items: end;
  background: #101826;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 188px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

.chessora-settings-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  inset: 0;
  opacity: 0.45;
  position: absolute;
}

.chessora-settings-hero > * {
  position: relative;
  z-index: 1;
}

.chessora-settings-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 4px 0 10px;
}

.chessora-settings-hero span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  max-width: 560px;
}

.chessora-settings-form {
  display: grid;
  gap: 18px;
}

.chessora-settings-section {
  background: var(--settings-panel);
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
  display: grid;
  gap: 20px;
  padding: clamp(18px, 3vw, 28px);
}

.chessora-settings-section-head {
  align-items: center;
  border-bottom: 1px solid var(--settings-line);
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
}

.chessora-settings-section-icon {
  align-items: center;
  background: #172033;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 1.35rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.chessora-settings-section h2 {
  color: var(--settings-ink);
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.chessora-settings-section p {
  color: var(--settings-muted);
  margin: 0;
}

.chessora-settings-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chessora-settings-grid label,
.chessora-settings-switches {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.chessora-settings-grid label > span {
  color: #39445a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chessora-settings-grid input,
.chessora-settings-grid select,
.chessora-settings-grid textarea {
  background: #ffffff;
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  color: var(--settings-ink);
  font: inherit;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

.chessora-settings-page .chessora-settings-grid input,
.chessora-settings-page .chessora-settings-grid select,
.chessora-settings-page .chessora-settings-grid textarea {
  background: #ffffff !important;
  border-color: rgba(23, 32, 51, 0.2) !important;
  color: #172033 !important;
  -webkit-text-fill-color: #172033;
}

.chessora-settings-page .chessora-settings-grid input::placeholder,
.chessora-settings-page .chessora-settings-grid textarea::placeholder {
  color: #7c8798 !important;
  -webkit-text-fill-color: #7c8798;
}

.chessora-settings-page .chessora-settings-grid input:focus,
.chessora-settings-page .chessora-settings-grid select:focus,
.chessora-settings-page .chessora-settings-grid textarea:focus {
  border-color: #b77a24 !important;
  box-shadow: 0 0 0 3px rgba(183, 122, 36, 0.16);
  outline: none;
}

.chessora-settings-grid textarea {
  min-height: 126px;
  resize: vertical;
}

.chessora-settings-wide,
.chessora-settings-switches {
  grid-column: 1 / -1;
}

.chessora-settings-game-grid {
  align-items: start;
}

.chessora-settings-switches {
  background: var(--settings-band);
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  gap: 0;
  overflow: hidden;
}

.chessora-settings-switch {
  align-items: center;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px 16px;
}

.chessora-settings-switch + .chessora-settings-switch {
  border-top: 1px solid var(--settings-line);
}

.chessora-settings-switch input {
  accent-color: #1f7a5a;
  height: 20px;
  min-height: 20px;
  width: 20px;
}

.chessora-settings-switch strong {
  color: var(--settings-ink);
  display: block;
}

.chessora-settings-switch small {
  color: var(--settings-muted);
  display: block;
  margin-top: 2px;
}

.chessora-theme-settings {
  display: grid;
  gap: 22px;
}

.chessora-theme-group {
  display: grid;
  gap: 12px;
}

.chessora-theme-group > header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.chessora-theme-group > header strong {
  color: var(--settings-ink);
  font-size: 0.95rem;
}

.chessora-premium-badge,
.chessora-theme-card em,
.chessora-piece-theme-card em {
  align-items: center;
  background: #fff2cc;
  border: 1px solid #e3bd4c;
  border-radius: 999px;
  color: #7b4d00;
  display: inline-flex;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.03em;
  min-height: 24px;
  padding: 4px 9px;
  text-transform: uppercase;
}

.chessora-theme-options,
.chessora-piece-theme-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.chessora-theme-card,
.chessora-piece-theme-card {
  background: #ffffff;
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: 8px;
  color: var(--settings-ink);
  cursor: pointer;
  display: grid !important;
  gap: 10px !important;
  min-height: 148px;
  padding: 12px;
  position: relative;
}

.chessora-theme-card:has(input:checked),
.chessora-piece-theme-card:has(input:checked) {
  border-color: #b77a24;
  box-shadow: 0 0 0 3px rgba(183, 122, 36, 0.14);
}

.chessora-theme-card input,
.chessora-piece-theme-card input {
  left: 12px;
  margin: 0;
  min-height: 18px;
  position: absolute;
  top: 12px;
  width: 18px;
}

.chessora-theme-card.is-locked,
.chessora-piece-theme-card.is-locked {
  cursor: default;
  opacity: 0.68;
}

.chessora-theme-preview {
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 76px;
  overflow: hidden;
  width: 100%;
}

.chessora-theme-preview i:nth-child(odd) {
  background: var(--theme-light);
}

.chessora-theme-preview i:nth-child(even) {
  background: var(--theme-dark);
}

.chessora-theme-preview i:nth-child(5),
.chessora-theme-preview i:nth-child(7),
.chessora-theme-preview i:nth-child(10),
.chessora-theme-preview i:nth-child(12),
.chessora-theme-preview i:nth-child(13),
.chessora-theme-preview i:nth-child(15) {
  background: var(--theme-dark);
}

.chessora-theme-preview i:nth-child(6),
.chessora-theme-preview i:nth-child(8),
.chessora-theme-preview i:nth-child(9),
.chessora-theme-preview i:nth-child(11),
.chessora-theme-preview i:nth-child(14),
.chessora-theme-preview i:nth-child(16) {
  background: var(--theme-light);
}

.chessora-theme-card span:last-of-type,
.chessora-piece-theme-card {
  min-width: 0;
}

.chessora-theme-card strong,
.chessora-piece-theme-card strong {
  color: var(--settings-ink);
  display: block;
}

.chessora-theme-card small,
.chessora-piece-theme-card small {
  color: var(--settings-muted);
  display: block;
  line-height: 1.35;
  margin-top: 3px;
}

.chessora-piece-theme-card > span[aria-hidden="true"] {
  align-items: center;
  background: #172033;
  border-radius: 8px;
  color: #fff6d9;
  display: inline-flex;
  font-size: 2rem;
  height: 54px;
  justify-content: center;
  justify-self: start;
  width: 54px;
}

.chessora-settings-actions {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px;
  position: sticky;
  bottom: 12px;
  z-index: 4;
}

@media (max-width: 760px) {
  .chessora-settings-page {
    padding-inline: 12px;
  }

  html body.view-settings .chessora-auth-provider-grid {
    grid-template-columns: 1fr !important;
  }

  .chessora-settings-hero,
  .chessora-settings-section-head,
  .chessora-settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .chessora-settings-grid {
    grid-template-columns: 1fr;
  }

  .chessora-settings-actions .chessora-button,
  .chessora-settings-actions button {
    width: 100%;
  }
}

/* Pawn Realm FAQ page. */
.chessora-faq-page {
  --faq-ink: #162033;
  --faq-muted: #627085;
  --faq-line: rgba(22, 32, 51, 0.12);
  --faq-panel: #ffffff;
  --faq-soft: #f3f6f8;
  color: var(--faq-ink);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1220px;
  padding: 24px clamp(16px, 3vw, 32px) 52px;
}

html body.view-faq .shell-page,
html body.view-faq .shell-component-card {
  background: #eef2f5 !important;
}

html body.view-faq .shell-component-card {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body .chessora.chessora-faq-page,
html body.view-faq .chessora.chessora-faq-page {
  background: #eef2f5 !important;
  color: var(--faq-ink) !important;
}

.chessora-faq-page .chessora-subnav {
  align-items: center;
  background: #ffffff !important;
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(22, 32, 51, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

.chessora-faq-page .chessora-subnav a {
  background: transparent !important;
  border-radius: 7px;
  color: #6e4a16 !important;
  font-weight: 800;
  padding: 8px 11px;
  text-decoration: none;
}

.chessora-faq-page .chessora-subnav a:hover,
.chessora-faq-page .chessora-subnav a:focus-visible,
.chessora-faq-page .chessora-subnav a.is-active {
  background: #172033 !important;
  color: #ffffff !important;
}

.chessora-faq-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(31, 70, 76, 0.92)),
    #121a29;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  min-height: 236px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
}

.chessora-faq-hero .chessora-kicker,
html body.view-faq .chessora-faq-hero .chessora-kicker {
  background: transparent !important;
  color: #f5c66b !important;
  display: inline-block;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.chessora-faq-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 0.96;
  margin: 6px 0 12px;
}

.chessora-faq-hero span {
  color: rgba(255, 255, 255, 0.84) !important;
  display: block;
  font-size: 1rem;
  max-width: 650px;
}

.chessora-faq-hero-board {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  transform: rotate(3deg);
}

.chessora-faq-hero-board span:nth-child(odd) {
  background: rgba(241, 245, 249, 0.9);
}

.chessora-faq-hero-board span:nth-child(even) {
  background: rgba(30, 97, 89, 0.9);
}

.chessora-faq-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.chessora-faq-index {
  background: var(--faq-panel);
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(22, 32, 51, 0.06);
  display: grid;
  gap: 8px;
  padding: 18px;
  position: sticky;
  top: 18px;
}

.chessora-faq-index strong {
  color: var(--faq-ink);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chessora-faq-index a {
  border-radius: 8px;
  color: var(--faq-muted);
  font-weight: 750;
  padding: 9px 10px;
  text-decoration: none;
}

.chessora-faq-index a:hover,
.chessora-faq-index a:focus-visible {
  background: var(--faq-soft);
  color: var(--faq-ink);
}

.chessora-faq-sections {
  display: grid;
  gap: 18px;
}

.chessora-faq-section {
  background: var(--faq-panel) !important;
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(22, 32, 51, 0.06);
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.chessora-faq-section > header {
  border-bottom: 1px solid var(--faq-line);
  padding-bottom: 16px;
}

.chessora-faq-section > header p {
  color: #1f7a5a !important;
  font-size: 0.78rem;
  font-weight: 850;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.chessora-faq-section h2 {
  color: var(--faq-ink) !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin: 0 0 8px;
}

.chessora-faq-section > header span {
  color: var(--faq-muted) !important;
  display: block;
  max-width: 720px;
}

.chessora-faq-list {
  display: grid;
  gap: 10px;
}

.chessora-faq-list details {
  background: var(--faq-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
}

.chessora-faq-list details[open] {
  background: #ffffff;
  border-color: var(--faq-line);
}

.chessora-faq-list summary {
  color: var(--faq-ink) !important;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
  padding: 15px 48px 15px 16px;
  position: relative;
}

.chessora-faq-list summary::-webkit-details-marker {
  display: none;
}

.chessora-faq-list summary::after {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--faq-line);
  border-radius: 50%;
  color: #1f7a5a;
  content: "+";
  display: inline-flex;
  font-size: 1.1rem;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
}

.chessora-faq-list details[open] summary::after {
  content: "-";
}

.chessora-faq-list p {
  color: var(--faq-muted) !important;
  line-height: 1.62;
  margin: 0;
  padding: 0 16px 16px;
}

html body.view-faq .chessora.chessora-faq-page :where(h1, h2, h3, strong, b, summary) {
  color: var(--faq-ink);
}

html body.view-faq .chessora.chessora-faq-page :where(p, span, small, li) {
  color: var(--faq-muted);
}

html body.view-faq .chessora.chessora-faq-page .chessora-faq-hero :where(h1, span, p) {
  color: #ffffff;
}

html body.view-faq .chessora.chessora-faq-page .chessora-faq-hero .chessora-kicker {
  color: #f5c66b;
}

/* Final FAQ/settings contrast hardening against shell theme overrides. */
html body.view-faq .chessora.chessora-faq-page .chessora-subnav a {
  color: #243044 !important;
}

html body.view-faq .chessora.chessora-faq-page .chessora-subnav a.is-active,
html body.view-faq .chessora.chessora-faq-page .chessora-subnav a:hover,
html body.view-faq .chessora.chessora-faq-page .chessora-subnav a:focus-visible {
  background: #172033 !important;
  color: #ffffff !important;
}

html body.view-faq .chessora.chessora-faq-page .chessora-faq-hero h1 {
  color: #ffffff !important;
}

html body.view-faq .chessora.chessora-faq-page .chessora-faq-hero span {
  color: rgba(255, 255, 255, 0.88) !important;
}

html body.view-faq .chessora.chessora-faq-page .chessora-faq-section h2,
html body.view-faq .chessora.chessora-faq-page .chessora-faq-list summary {
  color: var(--faq-ink) !important;
}

html body.view-faq .chessora.chessora-faq-page .chessora-faq-section > header span,
html body.view-faq .chessora.chessora-faq-page .chessora-faq-list p {
  color: var(--faq-muted) !important;
}

html body .chessora.chessora-settings-page .chessora-settings-section h2,
html body .chessora.chessora-settings-page .chessora-settings-switch strong {
  color: var(--settings-ink) !important;
}

html body .chessora.chessora-settings-page .chessora-settings-section p,
html body .chessora.chessora-settings-page .chessora-settings-switch small {
  color: var(--settings-muted) !important;
}

html body .chessora.chessora-settings-page .chessora-settings-grid label > span {
  color: #39445a !important;
}

/* Account settings/friends surface. Keep late to override legacy component panel rules. */
html body.view-settings .chessora.chessora-settings-page,
html body.view-friends .chessora.chessora-friends-page {
  --account-bg: #07110f;
  --account-panel: #14231d;
  --account-panel-strong: #1c3027;
  --account-line: rgba(219, 177, 55, 0.34);
  --account-gold: #e2ac34;
  --account-cream: #fff3d5;
  --account-muted: #c7d2c8;
  background: transparent !important;
  color: #fff8e6 !important;
  display: grid !important;
  gap: 18px !important;
  margin: 0 auto !important;
  max-width: 1180px !important;
  padding: 24px 16px 52px !important;
}

html body.view-settings .chessora-account-tabs,
html body.view-friends .chessora-account-tabs {
  align-items: center !important;
  background: var(--account-panel) !important;
  border: 1px solid var(--account-line) !important;
  border-radius: 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 10px !important;
  width: 100% !important;
}

html body.view-settings .chessora-account-tabs a,
html body.view-friends .chessora-account-tabs a {
  align-items: center !important;
  background: rgba(7, 17, 15, 0.72) !important;
  border: 1px solid rgba(219, 177, 55, 0.25) !important;
  border-radius: 6px !important;
  color: #fff8e6 !important;
  display: inline-flex !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  text-decoration: none !important;
}

html body.view-settings .chessora-account-tabs a:hover,
html body.view-settings .chessora-account-tabs a:focus-visible,
html body.view-settings .chessora-account-tabs a.is-active,
html body.view-friends .chessora-account-tabs a:hover,
html body.view-friends .chessora-account-tabs a:focus-visible,
html body.view-friends .chessora-account-tabs a.is-active {
  background: linear-gradient(180deg, #f4c757, #c98922) !important;
  border-color: rgba(255, 238, 176, 0.72) !important;
  color: #0b100d !important;
  outline: 0 !important;
}

html body.view-settings .chessora-settings-hero,
html body.view-friends .chessora-account-head {
  align-items: center !important;
  background:
    linear-gradient(135deg, rgba(226, 172, 52, 0.14), rgba(13, 29, 24, 0.92)),
    var(--account-panel) !important;
  border: 1px solid var(--account-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24) !important;
  color: #fff8e6 !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 24px !important;
}

html body.view-settings .chessora-settings-hero::before {
  content: none !important;
}

html body.view-settings .chessora-settings-hero h1,
html body.view-friends .chessora-account-head h1 {
  color: #fff8e6 !important;
  font-size: clamp(2rem, 5vw, 3.6rem) !important;
  letter-spacing: 0 !important;
  line-height: 0.98 !important;
  margin: 0 !important;
  overflow-wrap: anywhere !important;
}

html body.view-settings .chessora-settings-hero span,
html body.view-friends .chessora-account-head p {
  color: var(--account-muted) !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  max-width: 560px !important;
}

html body.view-settings .chessora-settings-hero .chessora-kicker,
html body.view-friends .chessora-account-head .chessora-kicker {
  color: var(--account-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 8px !important;
  text-transform: uppercase !important;
}

html body.view-settings .chessora-settings-section,
html body.view-settings .chessora-settings-actions,
html body.view-friends .chessora-panel {
  background: var(--account-panel) !important;
  border: 1px solid var(--account-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
  color: #fff8e6 !important;
}

html body.view-settings .chessora-settings-section h2,
html body.view-settings .chessora-settings-switch strong,
html body.view-settings .chessora-theme-group > header strong,
html body.view-settings .chessora-theme-card strong,
html body.view-settings .chessora-piece-theme-card strong,
html body.view-friends .chessora-panel h2,
html body.view-friends .chessora-panel-head h2,
html body.view-friends .chessora-friend-card strong {
  color: #fff8e6 !important;
  letter-spacing: 0 !important;
}

html body.view-settings .chessora-settings-section p,
html body.view-settings .chessora-settings-switch small,
html body.view-settings .chessora-theme-card small,
html body.view-settings .chessora-piece-theme-card small,
html body.view-friends .chessora-panel p,
html body.view-friends .chessora-friend-card span,
html body.view-friends .chessora-friend-card small {
  color: var(--account-muted) !important;
}

html body.view-settings .chessora-settings-grid input,
html body.view-settings .chessora-settings-grid select,
html body.view-settings .chessora-settings-grid textarea {
  background: #07110f !important;
  border-color: rgba(219, 177, 55, 0.32) !important;
  color: #fff8e6 !important;
  -webkit-text-fill-color: #fff8e6 !important;
}

html body.view-settings .chessora-settings-grid label > span {
  color: var(--account-gold) !important;
}

/* 20260604-auth-readiness-1: account provider readiness cards. */
html body.view-settings .chessora-auth-provider-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  padding-top: 16px !important;
}

html body.view-settings .chessora-auth-provider-grid article {
  background: rgba(7, 17, 15, 0.72) !important;
  border: 1px solid rgba(219, 177, 55, 0.28) !important;
  border-radius: 8px !important;
  color: #fff8e6 !important;
  display: grid !important;
  gap: 7px !important;
  min-height: 126px !important;
  padding: 14px !important;
}

html body.view-settings .chessora-auth-provider-grid article.is-active {
  border-color: rgba(117, 214, 110, 0.48) !important;
  box-shadow: inset 4px 0 0 #75d66e !important;
}

html body.view-settings .chessora-auth-provider-grid article.is-pending {
  border-color: rgba(241, 207, 119, 0.34) !important;
  box-shadow: inset 4px 0 0 #f1cf77 !important;
}

html body.view-settings .chessora-auth-provider-grid span {
  color: var(--account-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

html body.view-settings .chessora-auth-provider-grid strong {
  color: #fff8e6 !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}

html body.view-settings .chessora-auth-provider-grid small {
  color: var(--account-muted) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

html body.view-settings .chessora-settings-switches,
html body.view-settings .chessora-theme-card,
html body.view-settings .chessora-piece-theme-card,
html body.view-friends .chessora-friend-card {
  background: rgba(7, 17, 15, 0.72) !important;
  border-color: rgba(219, 177, 55, 0.28) !important;
  color: #fff8e6 !important;
}

html body.view-friends .chessora-friends-layout {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.view-friends .chessora-panel {
  display: grid !important;
  gap: 14px !important;
  min-height: 260px !important;
  padding: 20px !important;
}

html body.view-friends .chessora-panel-head {
  align-items: center !important;
  border-bottom: 1px solid rgba(219, 177, 55, 0.22) !important;
  display: flex !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
}

html body.view-friends .chessora-panel-head span {
  align-items: center !important;
  background: rgba(226, 172, 52, 0.16) !important;
  border: 1px solid rgba(226, 172, 52, 0.42) !important;
  border-radius: 999px !important;
  color: var(--account-gold) !important;
  display: inline-flex !important;
  font-weight: 900 !important;
  justify-content: center !important;
  min-height: 28px !important;
  min-width: 34px !important;
  padding: 4px 10px !important;
}

html body.view-friends .chessora-friend-card {
  align-items: center !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  padding: 14px !important;
}

html body.view-friends .chessora-friend-card footer {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  grid-column: 1 / -1 !important;
}

html body.view-friends .chessora-friend-card .chessora-button,
html body.view-friends .chessora-friend-card button.chessora-button {
  min-height: 36px !important;
  padding: 7px 13px !important;
}

@media (max-width: 920px) {
  html body.view-settings .chessora-settings-hero,
  html body.view-friends .chessora-account-head {
    grid-template-columns: 1fr !important;
  }

  html body.view-friends .chessora-friends-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Create-game preset grid: prevent time-control blocks from shifting. */
html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-panel {
  contain: layout paint;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group {
  container: chessora-time-presets / inline-size;
  display: grid !important;
  gap: 10px !important;
  grid-column: 1 !important;
  min-width: 0 !important;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > strong {
  display: block !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  min-height: 20px !important;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > div {
  display: grid !important;
  gap: 8px !important;
  grid-auto-rows: 52px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  min-width: 0 !important;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group button {
  align-items: center !important;
  appearance: none !important;
  border: 1px solid rgba(214, 162, 59, 0.28) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  font-size: 1.05rem !important;
  font-weight: 950 !important;
  height: 52px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 52px !important;
  min-inline-size: 0 !important;
  min-width: 0 !important;
  padding: 0 8px !important;
  position: relative !important;
  transform: none !important;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease !important;
  white-space: nowrap !important;
  width: 100% !important;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group button:hover,
html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group button:focus,
html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group button:focus-visible,
html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group button.is-active {
  border-width: 1px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 231, 166, 0.18) !important;
  height: 52px !important;
  margin: 0 !important;
  min-height: 52px !important;
  outline: none !important;
  padding: 0 8px !important;
  transform: none !important;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group button:focus-visible {
  outline: 2px solid rgba(255, 222, 143, 0.7) !important;
  outline-offset: 2px !important;
}

@media (min-width: 1180px) {
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > div {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-rating-range,
html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-rating-range-warning,
html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-start-selected {
  grid-column: 1 !important;
  min-width: 0 !important;
}

html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-open-matches {
  grid-column: 1 / -1 !important;
}

@media (max-width: 980px) {
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group,
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-rating-range,
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-rating-range-warning,
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-start-selected {
    grid-column: 1 / -1 !important;
  }

  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > div {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@container chessora-time-presets (max-width: 560px) {
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > div {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@container chessora-time-presets (max-width: 360px) {
  html body.view-game .chessora.chessora-game-room.is-creating-game .chessora-create-group > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 880px) {
  .chessora-faq-layout {
    grid-template-columns: 1fr;
  }

  .chessora-faq-index {
    position: static;
  }
}

@media (max-width: 680px) {
  .chessora-faq-page {
    padding-inline: 12px;
  }

  .chessora-faq-hero {
    grid-template-columns: 1fr;
  }

  .chessora-faq-hero-board {
    max-width: 170px;
  }
}

/* Standalone external tournament broadcast center. */
body.view-broadcasts .chessora-broadcasts-page {
  --broadcast-panel: #13241d;
  --broadcast-panel-soft: #0d1b17;
  --broadcast-line: rgba(225, 185, 91, .28);
  --broadcast-gold: #e4b64b;
  --broadcast-text: #fff7df;
  --broadcast-muted: #c8d2c8;
  color: var(--broadcast-text);
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 1480px;
  padding: 24px clamp(14px, 3vw, 32px) 48px;
}

body.view-broadcasts .chessora-broadcasts-page .chessora-tabs {
  background: #0a1713;
  border: 1px solid var(--broadcast-line);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  padding: 10px;
}

body.view-broadcasts .chessora-broadcasts-page .chessora-tabs a {
  border: 1px solid rgba(225, 185, 91, .22);
  border-radius: 7px;
  color: var(--broadcast-text);
  font-weight: 900;
  padding: 10px 14px;
  text-decoration: none;
}

body.view-broadcasts .chessora-broadcasts-page .chessora-tabs a.is-active,
body.view-broadcasts .chessora-broadcasts-page .chessora-tabs a:hover,
body.view-broadcasts .chessora-button-primary,
body.view-broadcasts .chessora-button:hover {
  background: linear-gradient(180deg, #f0c75f, #c88b25);
  color: #141106;
}

body.view-broadcasts .chessora-broadcast-hero,
body.view-broadcasts .chessora-broadcast-list,
body.view-broadcasts .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcast-editor-panel,
body.view-broadcasts .chessora-broadcast-outreach,
body.view-broadcasts .chessora-broadcast-empty {
  background: linear-gradient(135deg, rgba(255, 247, 215, .055), rgba(225, 185, 91, .05)), var(--broadcast-panel);
  border: 1px solid var(--broadcast-line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

body.view-broadcasts .chessora-broadcast-hero {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 44px);
}

body.view-broadcasts .chessora-broadcast-hero h1 {
  color: var(--broadcast-text);
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  letter-spacing: 0;
  line-height: .95;
  margin: 4px 0 12px;
}

body.view-broadcasts .chessora-broadcast-hero p {
  color: var(--broadcast-muted);
  max-width: 740px;
}

body.view-broadcasts .chessora-broadcast-hero-actions {
  align-items: end;
  display: grid;
  gap: 10px;
  justify-items: end;
}

body.view-broadcasts .chessora-broadcast-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

body.view-broadcasts .chessora-broadcast-list,
body.view-broadcasts .chessora-broadcast-main,
body.view-broadcasts .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcast-editor-panel,
body.view-broadcasts .chessora-broadcast-empty {
  display: grid;
  gap: 14px;
}

body.view-broadcasts .chessora-broadcast-list {
  padding: 16px;
  position: sticky;
  top: 92px;
}

body.view-broadcasts .chessora-broadcast-list header,
body.view-broadcasts .chessora-broadcast-event > header,
body.view-broadcasts .chessora-broadcast-editor-panel > header {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

body.view-broadcasts .chessora-broadcast-list h2,
body.view-broadcasts .chessora-broadcast-event h2,
body.view-broadcasts .chessora-broadcast-editor-panel h2 {
  color: var(--broadcast-text);
  margin: 0;
}

body.view-broadcasts .chessora-broadcast-list a,
body.view-broadcasts .chessora-broadcast-grid article,
body.view-broadcasts .chessora-broadcast-source-row article {
  background: var(--broadcast-panel-soft);
  border: 1px solid rgba(225, 185, 91, .18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 13px;
  text-decoration: none;
}

body.view-broadcasts .chessora-broadcast-list a.is-active,
body.view-broadcasts .chessora-broadcast-list a:hover {
  background: rgba(225, 185, 91, .13);
  border-color: rgba(225, 185, 91, .5);
}

body.view-broadcasts .chessora-broadcast-list a span,
body.view-broadcasts .chessora-broadcast-event > header span,
body.view-broadcasts .chessora-broadcast-grid article > span,
body.view-broadcasts .chessora-broadcast-source-row article > span,
body.view-broadcasts .chessora-broadcast-editor-panel label span {
  color: var(--broadcast-gold);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

body.view-broadcasts .chessora-broadcast-list a strong,
body.view-broadcasts .chessora-broadcast-source-row article strong {
  color: var(--broadcast-text);
}

body.view-broadcasts .chessora-broadcast-list a small,
body.view-broadcasts .chessora-broadcast-event p,
body.view-broadcasts .chessora-broadcast-grid p,
body.view-broadcasts .chessora-broadcast-grid li,
body.view-broadcasts .chessora-broadcast-empty p,
body.view-broadcasts .chessora-broadcast-editor-actions small {
  color: var(--broadcast-muted);
}

body.view-broadcasts .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcast-editor-panel,
body.view-broadcasts .chessora-broadcast-empty {
  padding: 18px;
}

body.view-broadcasts .chessora-broadcast-source-row,
body.view-broadcasts .chessora-broadcast-grid,
body.view-broadcasts .chessora-broadcast-editor-panel form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.view-broadcasts .chessora-broadcast-grid article.is-wide,
body.view-broadcasts .chessora-broadcast-editor-panel label.is-wide,
body.view-broadcasts .chessora-broadcast-editor-actions {
  grid-column: 1 / -1;
}

body.view-broadcasts .chessora-broadcast-grid ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.view-broadcasts .chessora-broadcast-grid li {
  border-bottom: 1px solid rgba(225, 185, 91, .12);
  padding-bottom: 8px;
}

body.view-broadcasts .chessora-broadcast-grid li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.view-broadcasts .chessora-broadcast-editor-panel label {
  display: grid;
  gap: 7px;
}

body.view-broadcasts .chessora-broadcast-editor-panel input,
body.view-broadcasts .chessora-broadcast-editor-panel select,
body.view-broadcasts .chessora-broadcast-editor-panel textarea {
  background: #081511;
  border: 1px solid rgba(225, 185, 91, .28);
  border-radius: 7px;
  color: var(--broadcast-text);
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-editor-panel textarea {
  min-height: 130px;
  resize: vertical;
}

body.view-broadcasts .chessora-broadcast-editor-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

body.view-broadcasts .chessora-button {
  align-items: center;
  background: rgba(225, 185, 91, .12);
  border: 1px solid rgba(225, 185, 91, .34);
  border-radius: 7px;
  color: var(--broadcast-text);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  text-decoration: none;
}

@media (max-width: 980px) {
  body.view-broadcasts .chessora-broadcast-hero,
  body.view-broadcasts .chessora-broadcast-event > header,
  body.view-broadcasts .chessora-broadcast-editor-panel > header {
    align-items: stretch;
    flex-direction: column;
  }

  body.view-broadcasts .chessora-broadcast-layout,
  body.view-broadcasts .chessora-broadcast-event-hub,
  body.view-broadcasts .chessora-broadcast-source-row,
  body.view-broadcasts .chessora-broadcast-grid,
  body.view-broadcasts .chessora-broadcast-editor-panel form {
    grid-template-columns: 1fr;
  }

  body.view-broadcasts .chessora-broadcast-list {
    position: static;
  }
}

@media (max-width: 640px) {
  body.view-broadcasts .chessora-broadcast-board-index {
    grid-template-columns: 1fr;
  }

  body.view-broadcasts .chessora-broadcast-event-hub nav {
    grid-template-columns: 1fr;
  }
}

/* Forum reputation. */
html body .chessora.chessora-forum-page .chessora-forum-layout {
  align-items: start;
}

html body .chessora.chessora-forum-page .chessora-topic-author-line {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

html body .chessora.chessora-forum-page .chessora-forum-rep-badge {
  background: #eef6ff;
  border: 1px solid #b8d6f4;
  border-radius: 999px;
  color: #1f6eb5 !important;
  display: inline-flex;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel {
  background: #ffffff;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
  color: #33363b;
  display: grid;
  gap: 12px;
  padding: 14px;
  position: sticky;
  top: 88px;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel header {
  display: grid;
  gap: 3px;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel header span {
  color: #7a8087;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel header strong {
  color: #30343a;
  font-size: 1rem;
}

html body .chessora.chessora-forum-page .chessora-forum-rep-rules {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html body .chessora.chessora-forum-page .chessora-forum-rep-rules span {
  background: #f5f7f8;
  border: 1px solid #e1e4e7;
  border-radius: 5px;
  color: #515861;
  font-size: .78rem;
  font-weight: 700;
  padding: 8px;
}

html body .chessora.chessora-forum-page .chessora-forum-rep-rules b {
  color: #1f6eb5;
  display: block;
  font-size: .95rem;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel ol {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel li {
  align-items: center;
  border-top: 1px solid #ececec;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 38px;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel li span {
  color: #30343a;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel li strong {
  color: #1f6eb5;
  font-size: .84rem;
}

html body .chessora.chessora-forum-page .chessora-forum-reputation-panel p {
  color: #60666d;
  font-size: .9rem;
  margin: 0;
}

@media (max-width: 980px) {
  html body .chessora.chessora-forum-page .chessora-forum-reputation-panel {
    position: static;
  }
}

/* Members directory filtering. The global card skin uses display !important, so hidden needs to win explicitly. */
html body .chessora-members-page .chessora-player-filterbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(140px, 1fr)) auto;
}

html body .chessora-members-page .chessora-player-filter-toggle {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-height: 42px;
}

html body .chessora-members-page .chessora-player-filter-toggle input {
  accent-color: #d6a23b;
}

html body .chessora-members-page .chessora-player-roster-country {
  color: var(--challenge-module-muted, #cbd6d0);
  display: block;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
}

html body .chessora-members-page .chessora-player-roster-card footer form {
  display: contents;
}

html body .chessora-members-page [data-player-card][hidden],
html body .chessora-members-page .chessora-player-roster-empty[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  html body .chessora-members-page .chessora-player-filterbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html body .chessora-members-page .chessora-player-filterbar {
    grid-template-columns: 1fr;
  }
}

/* Subtle badge for the first registered member. */
body.view-game .chessora-game-room .chessora-founder-badge {
  align-items: center;
  background: rgba(255, 247, 221, .1);
  border: 1px solid rgba(224, 184, 92, .38);
  border-radius: 999px;
  box-shadow: none;
  color: #e0b85c !important;
  display: inline-flex;
  font-size: .62rem;
  font-weight: 800;
  gap: 4px;
  line-height: 1;
  margin-left: 4px;
  max-width: 118px;
  padding: 3px 6px 3px 4px;
  vertical-align: middle;
  white-space: nowrap;
}

body.view-game .chessora-game-room .chessora-founder-badge i {
  align-items: center;
  background: rgba(224, 184, 92, .16);
  border-radius: 50%;
  color: #e0b85c;
  display: inline-flex;
  font-style: normal;
  font-size: .58rem;
  height: 14px;
  justify-content: center;
  line-height: 1;
  width: 14px;
}

body.view-game .chessora-game-room .chessora-founder-badge b {
  color: #e0b85c !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body .chessora-profile-honorary-badge {
  aspect-ratio: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-block;
  height: .9em;
  margin-left: .08em;
  object-fit: contain;
  transform: translateY(.03em);
  vertical-align: baseline;
  width: .9em;
}

/* 20260607-broadcast-full-width-event-rail-1 */
body.view-broadcasts .chessora-broadcasts-page {
  max-width: min(1840px, calc(100vw - 32px)) !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-layout {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcast-main {
  min-width: 0 !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-list {
  align-items: stretch !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  position: static !important;
  top: auto !important;
}

body.view-broadcasts .chessora-broadcast-list header {
  align-content: center !important;
  border: 0 !important;
  display: grid !important;
  gap: 4px !important;
  grid-column: 1 / -1 !important;
  min-width: 160px !important;
  padding: 0 !important;
}

body.view-broadcasts .chessora-broadcast-list header h2 {
  margin: 0 !important;
}

body.view-broadcasts .chessora-broadcast-list header span {
  justify-self: start !important;
}

body.view-broadcasts .chessora-broadcast-list > p {
  grid-column: 1 / -1 !important;
}

body.view-broadcasts .chessora-broadcast-list a {
  min-height: 104px !important;
}

body.view-broadcasts .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcast-grid {
  min-width: 0 !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-live-room {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) {
  min-height: 0 !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header {
  min-height: 0 !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header strong {
  color: var(--broadcast-text) !important;
  font-size: 0.96rem !important;
  line-height: 1.25 !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header span {
  color: var(--broadcast-gold-strong) !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) .chessora-broadcast-board-meta {
  color: var(--broadcast-muted) !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) .chessora-broadcast-board-status {
  align-items: start !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) .chessora-broadcast-board-status em {
  align-items: center !important;
  background: rgba(255, 223, 131, 0.12) !important;
  border: 1px solid rgba(255, 223, 131, 0.3) !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  min-height: 30px !important;
  padding: 5px 9px !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive > header {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive {
  padding: 10px !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-board-wrap,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-board {
  margin-inline: auto !important;
}

body.view-broadcasts .chessora-broadcast-table-scroll {
  background: #fffdf8 !important;
  border: 1px solid #e6d2a8 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 30px rgba(73, 51, 18, 0.12) !important;
}

body.view-broadcasts .chessora-broadcast-standings table,
body.view-broadcasts .chessora-broadcast-crosstable table {
  background: #fffdf8 !important;
  color: #23190c !important;
}

body.view-broadcasts .chessora-broadcast-standings th,
body.view-broadcasts .chessora-broadcast-standings td,
body.view-broadcasts .chessora-broadcast-crosstable th,
body.view-broadcasts .chessora-broadcast-crosstable td {
  background: #fffdf8 !important;
  border-bottom: 1px solid #f0e1c7 !important;
  border-right: 1px solid #f0e1c7 !important;
  color: #23190c !important;
}

body.view-broadcasts .chessora-broadcast-standings thead th,
body.view-broadcasts .chessora-broadcast-crosstable thead th {
  background: #f3e3c5 !important;
  color: #6a5840 !important;
}

body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even) td,
body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even) th,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) td,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) th {
  background: #fff8e8 !important;
}

body.view-broadcasts .chessora-broadcast-standings td strong,
body.view-broadcasts .chessora-broadcast-standings td b,
body.view-broadcasts .chessora-broadcast-crosstable tbody th,
body.view-broadcasts .chessora-broadcast-crosstable tbody th b,
body.view-broadcasts .chessora-broadcast-crosstable td span {
  color: #23190c !important;
}

body.view-broadcasts .chessora-broadcast-standings td small {
  color: #6a5840 !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td.is-self,
body.view-broadcasts .chessora-broadcast-crosstable td.is-self span {
  background: #efe2c7 !important;
  color: #6a5840 !important;
}

body.view-broadcasts .chessora-broadcast-grid > article:has(> span:first-child:nth-last-child(n)) ul {
  display: grid !important;
  gap: 10px !important;
}

body.view-broadcasts .chessora-broadcast-grid > article:has(> span:first-child) li {
  background: rgba(255, 248, 228, 0.07) !important;
  border: 1px solid rgba(243, 201, 92, 0.2) !important;
  border-radius: 7px !important;
  padding: 10px 12px !important;
}

@media (max-width: 980px) {
  body.view-broadcasts .chessora-broadcast-list {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }

  body.view-broadcasts .chessora-broadcast-list header {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 640px) {
  body.view-game .chessora-game-room .chessora-founder-badge {
    max-width: 92px;
  }
}

/* Club identity themes. */
html body .chessora-clubs-page[class*="chessora-club-theme-"] {
  --club-theme-bg: #151c24;
  --club-theme-panel: #1b252d;
  --club-theme-panel-soft: #202c35;
  --club-theme-line: rgba(214, 162, 59, .28);
  --club-theme-accent: #d6a23b;
  --club-theme-accent-2: #f1d078;
  --club-theme-text: #f5efd9;
  --club-theme-muted: #c3cbc8;
}

html body .chessora-clubs-page.chessora-club-theme-royal {
  --club-theme-bg: #20170a;
  --club-theme-panel: #2d210f;
  --club-theme-panel-soft: #3a2b13;
  --club-theme-line: rgba(243, 199, 93, .42);
  --club-theme-accent: #e7b947;
  --club-theme-accent-2: #ffe29a;
  --club-theme-text: #fff5d5;
  --club-theme-muted: #e4d2a7;
}

html body .chessora-clubs-page.chessora-club-theme-forest {
  --club-theme-bg: #102018;
  --club-theme-panel: #172b20;
  --club-theme-panel-soft: #1f3a2b;
  --club-theme-line: rgba(102, 188, 126, .38);
  --club-theme-accent: #68be7d;
  --club-theme-accent-2: #bde9b8;
  --club-theme-text: #eef8e9;
  --club-theme-muted: #bed2bf;
}

html body .chessora-clubs-page.chessora-club-theme-midnight {
  --club-theme-bg: #0c1324;
  --club-theme-panel: #111b31;
  --club-theme-panel-soft: #182643;
  --club-theme-line: rgba(111, 159, 238, .38);
  --club-theme-accent: #6f9fee;
  --club-theme-accent-2: #c0d4ff;
  --club-theme-text: #edf3ff;
  --club-theme-muted: #bbc6dd;
}

html body .chessora-clubs-page.chessora-club-theme-crimson {
  --club-theme-bg: #251015;
  --club-theme-panel: #34171d;
  --club-theme-panel-soft: #481f28;
  --club-theme-line: rgba(236, 95, 116, .42);
  --club-theme-accent: #ee5c74;
  --club-theme-accent-2: #ffb2bf;
  --club-theme-text: #fff0f2;
  --club-theme-muted: #e5bcc2;
}

html body .chessora-clubs-page.chessora-club-theme-ice {
  --club-theme-bg: #eaf3f7;
  --club-theme-panel: #ffffff;
  --club-theme-panel-soft: #eef7fb;
  --club-theme-line: rgba(55, 135, 171, .28);
  --club-theme-accent: #3787ab;
  --club-theme-accent-2: #80c8e5;
  --club-theme-text: #172b36;
  --club-theme-muted: #536b75;
}

html body .chessora-clubs-page.is-club-room[class*="chessora-club-theme-"] {
  background:
    radial-gradient(circle at 18% 0, color-mix(in srgb, var(--club-theme-accent) 24%, transparent), transparent 32%),
    linear-gradient(180deg, var(--club-theme-bg), color-mix(in srgb, var(--club-theme-bg) 82%, #000 18%)) !important;
  color: var(--club-theme-text) !important;
}

html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-command-hero,
html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-room-panel,
html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-overview-strip article {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--club-theme-accent) 14%, transparent), transparent 46%),
    var(--club-theme-panel) !important;
  border-color: var(--club-theme-line) !important;
  color: var(--club-theme-text) !important;
}

html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-command-hero .chessora-club-logo-mark {
  background:
    radial-gradient(circle at 28% 24%, var(--club-theme-accent-2), transparent 28%),
    linear-gradient(135deg, var(--club-theme-accent), color-mix(in srgb, var(--club-theme-accent) 52%, #000 48%)) !important;
  border-color: var(--club-theme-line) !important;
  color: color-mix(in srgb, var(--club-theme-bg) 82%, #000 18%) !important;
}

html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-command-hero :where(h1, strong, b),
html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-room-panel :where(h2, h3, strong, b) {
  color: var(--club-theme-text) !important;
}

html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-command-hero :where(span, p, small),
html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-room-panel :where(span, p, small) {
  color: var(--club-theme-muted) !important;
}

html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-identity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-identity-tags b,
html body .chessora-clubs-page[class*="chessora-club-theme-"] .chessora-club-identity-tags small {
  background: color-mix(in srgb, var(--club-theme-accent) 18%, transparent);
  border: 1px solid var(--club-theme-line);
  border-radius: 999px;
  color: var(--club-theme-accent-2) !important;
  font-weight: 900;
  padding: 6px 10px;
}

html body .chessora-clubs-page .chessora-club-theme-picker {
  display: grid;
  gap: 10px;
}

html body .chessora-clubs-page .chessora-club-theme-picker > span {
  color: inherit;
  font-weight: 900;
}

html body .chessora-clubs-page .chessora-club-theme-picker > div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

html body .chessora-clubs-page .chessora-club-theme-option {
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 52px;
  padding: 9px;
}

html body .chessora-clubs-page .chessora-club-theme-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

html body .chessora-clubs-page .chessora-club-theme-option i {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  display: block;
  height: 28px;
  width: 28px;
}

html body .chessora-clubs-page .chessora-club-theme-option strong {
  font-size: .88rem;
}

html body .chessora-clubs-page .chessora-club-theme-option:has(input:checked) {
  border-color: var(--club-theme-accent);
  box-shadow: inset 0 0 0 1px var(--club-theme-accent);
}

html body .chessora-clubs-page .chessora-club-theme-option.chessora-club-theme-classic i { background: linear-gradient(135deg, #d6a23b 0 50%, #1b252d 50%); }
html body .chessora-clubs-page .chessora-club-theme-option.chessora-club-theme-royal i { background: linear-gradient(135deg, #ffe29a 0 50%, #3a2b13 50%); }
html body .chessora-clubs-page .chessora-club-theme-option.chessora-club-theme-forest i { background: linear-gradient(135deg, #68be7d 0 50%, #172b20 50%); }
html body .chessora-clubs-page .chessora-club-theme-option.chessora-club-theme-midnight i { background: linear-gradient(135deg, #6f9fee 0 50%, #111b31 50%); }
html body .chessora-clubs-page .chessora-club-theme-option.chessora-club-theme-crimson i { background: linear-gradient(135deg, #ee5c74 0 50%, #34171d 50%); }
html body .chessora-clubs-page .chessora-club-theme-option.chessora-club-theme-ice i { background: linear-gradient(135deg, #80c8e5 0 50%, #fff 50%); }

/* Broadcast center contrast repair and live-demo presentation. */
html body.view-broadcasts,
html body.chessora-shell.view-broadcasts {
  background:
    radial-gradient(circle at 18% 0, rgba(219, 169, 61, 0.18), transparent 32%),
    linear-gradient(180deg, #07110e 0%, #0b1512 48%, #08110e 100%) !important;
  color: #fff7df !important;
}

body.view-broadcasts .shell-page,
body.view-broadcasts .shell-component-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.view-broadcasts .shell-component-card {
  padding: 22px clamp(14px, 3vw, 34px) 56px !important;
}

body.view-broadcasts .chessora-broadcasts-page {
  --broadcast-panel: #102019;
  --broadcast-panel-strong: #081511;
  --broadcast-panel-soft: #14271f;
  --broadcast-line: rgba(232, 190, 89, 0.42);
  --broadcast-gold: #f3c95c;
  --broadcast-gold-strong: #ffdf83;
  --broadcast-text: #fff8e4;
  --broadcast-muted: #d8e3d9;
  --broadcast-ink: #121006;
  background: transparent !important;
  color: var(--broadcast-text) !important;
  max-width: 1500px !important;
}

body.view-broadcasts .chessora-broadcasts-page *,
body.view-broadcasts .chessora-broadcasts-page *::before,
body.view-broadcasts .chessora-broadcasts-page *::after {
  box-sizing: border-box;
}

body.view-broadcasts .chessora-broadcast-hero,
body.view-broadcasts .chessora-broadcast-list,
body.view-broadcasts .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcast-editor-panel,
body.view-broadcasts .chessora-broadcast-empty {
  background:
    linear-gradient(135deg, rgba(255, 248, 228, 0.055), rgba(243, 201, 92, 0.08)),
    var(--broadcast-panel) !important;
  border-color: var(--broadcast-line) !important;
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-hero {
  min-height: 270px;
  position: relative;
}

body.view-broadcasts .chessora-broadcast-hero::after {
  background:
    linear-gradient(90deg, rgba(243, 201, 92, 0.28), transparent),
    repeating-linear-gradient(90deg, rgba(255, 248, 228, 0.08) 0 1px, transparent 1px 18px);
  border-radius: 999px;
  bottom: 28px;
  content: "";
  height: 2px;
  left: clamp(24px, 4vw, 44px);
  opacity: 0.9;
  position: absolute;
  right: clamp(24px, 4vw, 44px);
}

body.view-broadcasts .chessora-broadcast-hero .chessora-kicker,
body.view-broadcasts .chessora-broadcast-list a span,
body.view-broadcasts .chessora-broadcast-event > header span,
body.view-broadcasts .chessora-broadcast-grid article > span,
body.view-broadcasts .chessora-broadcast-source-row article > span,
body.view-broadcasts .chessora-broadcast-editor-panel label span {
  background: transparent !important;
  color: var(--broadcast-gold-strong) !important;
  letter-spacing: 0.04em !important;
}

body.view-broadcasts .chessora-broadcast-hero h1,
body.view-broadcasts .chessora-broadcast-list h2,
body.view-broadcasts .chessora-broadcast-event h2,
body.view-broadcasts .chessora-broadcast-editor-panel h2,
body.view-broadcasts .chessora-broadcast-outreach h2,
body.view-broadcasts .chessora-broadcast-empty h2,
body.view-broadcasts .chessora-broadcast-empty strong,
body.view-broadcasts .chessora-broadcast-list a strong,
body.view-broadcasts .chessora-broadcast-source-row article strong {
  color: var(--broadcast-text) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

body.view-broadcasts .chessora-broadcast-hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem) !important;
  max-width: 900px;
}

body.view-broadcasts .chessora-broadcast-hero p,
body.view-broadcasts .chessora-broadcast-list p,
body.view-broadcasts .chessora-broadcast-event p,
body.view-broadcasts .chessora-broadcast-grid p,
body.view-broadcasts .chessora-broadcast-grid li,
body.view-broadcasts .chessora-broadcast-empty p,
body.view-broadcasts .chessora-broadcast-editor-actions small,
body.view-broadcasts .chessora-broadcast-list a small,
body.view-broadcasts .chessora-broadcast-hero-actions span {
  color: var(--broadcast-muted) !important;
}

body.view-broadcasts .chessora-broadcast-list a,
body.view-broadcasts .chessora-broadcast-grid article,
body.view-broadcasts .chessora-broadcast-source-row article {
  background: var(--broadcast-panel-strong) !important;
  border-color: rgba(243, 201, 92, 0.26) !important;
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-list a.is-active,
body.view-broadcasts .chessora-broadcast-list a:hover,
body.view-broadcasts .chessora-broadcast-list a:focus-visible {
  background: #1f3328 !important;
  border-color: rgba(255, 223, 131, 0.72) !important;
}

body.view-broadcasts .chessora-broadcast-pgn-preview pre {
  background: #050d0a;
  border: 1px solid rgba(243, 201, 92, 0.22);
  border-radius: 8px;
  color: #fff8e4;
  font: 0.92rem/1.55 Consolas, "Liberation Mono", monospace;
  margin: 0;
  max-height: 330px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

body.view-broadcasts .chessora-broadcast-event-hub {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(243, 201, 92, 0.12), rgba(255, 255, 255, 0.04)),
    #081511 !important;
  border: 1px solid rgba(243, 201, 92, 0.34) !important;
  border-radius: 8px !important;
  color: var(--broadcast-text) !important;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 0.62fr));
  margin: 0 0 16px;
  padding: 14px !important;
}

body.view-broadcasts .chessora-broadcast-event-hub > div,
body.view-broadcasts .chessora-broadcast-event-hub article,
body.view-broadcasts .chessora-broadcast-event-hub nav {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(243, 201, 92, 0.2) !important;
  border-radius: 8px !important;
  display: grid;
  gap: 6px;
  padding: 12px !important;
}

body.view-broadcasts .chessora-broadcast-event-hub span {
  color: var(--broadcast-gold) !important;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
}

body.view-broadcasts .chessora-broadcast-event-hub h3,
body.view-broadcasts .chessora-broadcast-event-hub strong {
  color: var(--broadcast-text) !important;
  margin: 0;
}

body.view-broadcasts .chessora-broadcast-event-hub small,
body.view-broadcasts .chessora-broadcast-event-hub p {
  color: var(--broadcast-muted) !important;
  margin: 0;
}

body.view-broadcasts .chessora-broadcast-event-hub nav {
  align-content: start;
}

body.view-broadcasts .chessora-broadcast-event-hub nav a {
  background: #fff8e4 !important;
  border-radius: 7px !important;
  color: #141008 !important;
  font-weight: 950;
  padding: 8px 10px !important;
  text-align: center;
  text-decoration: none;
}

body.view-broadcasts .chessora-broadcast-board {
  background:
    linear-gradient(135deg, rgba(255, 248, 228, 0.055), rgba(243, 201, 92, 0.08)),
    #081511 !important;
  border: 1px solid rgba(243, 201, 92, 0.34) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24) !important;
  color: var(--broadcast-text) !important;
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 16px !important;
}

body.view-broadcasts .chessora-broadcast-live-room {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.view-broadcasts .chessora-broadcast-live-room > header,
body.view-broadcasts .chessora-broadcast-live-room > span,
body.view-broadcasts .chessora-broadcast-live-room > p,
body.view-broadcasts .chessora-broadcast-board-index,
body.view-broadcasts .chessora-broadcast-board-card > header {
  grid-column: 1 / -1;
}

body.view-broadcasts .chessora-broadcast-live-room > header,
body.view-broadcasts .chessora-broadcast-board-card > header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

body.view-broadcasts .chessora-broadcast-live-room > header strong,
body.view-broadcasts .chessora-broadcast-board-card > header strong {
  color: var(--broadcast-text);
}

body.view-broadcasts .chessora-broadcast-live-room > header p {
  margin: 4px 0 0;
}

body.view-broadcasts .chessora-broadcast-board-index {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

body.view-broadcasts .chessora-broadcast-board-index a {
  align-items: center;
  background: #fff8e4 !important;
  border: 1px solid rgba(243, 201, 92, 0.45) !important;
  border-radius: 8px !important;
  color: #151008 !important;
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px !important;
  text-decoration: none;
}

body.view-broadcasts .chessora-broadcast-board-index a.is-active {
  background:
    linear-gradient(180deg, #fff8e4, #f1d995) !important;
  border-color: var(--broadcast-gold-strong) !important;
  box-shadow: inset 0 0 0 2px rgba(214, 154, 39, 0.26), 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

body.view-broadcasts .chessora-broadcast-board-index strong,
body.view-broadcasts .chessora-broadcast-board-index b {
  color: #151008 !important;
}

body.view-broadcasts .chessora-broadcast-board-index span {
  color: #4f4638 !important;
  font-size: .82rem;
  font-weight: 800;
  grid-column: 1 / -1;
}

body.view-broadcasts .chessora-broadcast-board-index .chessora-broadcast-mini-board span {
  color: inherit !important;
  font-size: inherit;
  font-weight: inherit;
  grid-column: auto !important;
}

body.view-broadcasts .chessora-broadcast-board-card {
  background: var(--broadcast-panel-soft);
  border: 1px solid var(--broadcast-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
  scroll-margin-top: 120px;
}

body.view-broadcasts .chessora-broadcast-board-card.is-selected {
  background:
    linear-gradient(135deg, rgba(255, 248, 228, 0.055), rgba(243, 201, 92, 0.08)),
    var(--broadcast-panel-soft) !important;
  border-color: var(--broadcast-gold-strong) !important;
  box-shadow: inset 0 0 0 2px rgba(214, 154, 39, 0.18), 0 22px 48px rgba(0, 0, 0, 0.26) !important;
  grid-column: 1 / -1;
  order: -1;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) {
  align-content: start;
  cursor: pointer;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header {
  align-items: start;
  display: grid;
  gap: 8px;
}

body.view-broadcasts .chessora-broadcast-board-card > header span {
  color: var(--broadcast-gold);
  display: block;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 3px;
  text-transform: uppercase;
}

body.view-broadcasts .chessora-broadcast-board-card > header em {
  color: var(--broadcast-gold-strong);
  font-style: normal;
  font-weight: 900;
}

body.view-broadcasts .chessora-broadcast-board-meta {
  color: var(--broadcast-muted);
  display: block;
  font-size: .86rem;
  font-weight: 800;
  margin-top: 4px;
}

body.view-broadcasts .chessora-broadcast-board-status {
  align-items: flex-end;
  display: grid;
  gap: 6px;
  justify-items: end;
}

body.view-broadcasts .chessora-broadcast-board-status b {
  background: var(--broadcast-gold-strong);
  border-radius: 6px;
  color: #081511;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 950;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

body.view-broadcasts .chessora-broadcast-board-card pre[data-broadcast-pgn] {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-player-bios > div {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

body.view-broadcasts .chessora-broadcast-table-scroll {
  background: #07120f !important;
  border: 1px solid rgba(243, 201, 92, 0.34);
  border-radius: 8px;
  overflow: auto;
}

body.view-broadcasts .chessora-broadcast-standings table,
body.view-broadcasts .chessora-broadcast-crosstable table {
  background: #07120f !important;
  border-collapse: collapse;
  color: var(--broadcast-text) !important;
  min-width: 760px;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-crosstable table {
  min-width: 980px;
}

body.view-broadcasts .chessora-broadcast-standings th,
body.view-broadcasts .chessora-broadcast-standings td,
body.view-broadcasts .chessora-broadcast-crosstable th,
body.view-broadcasts .chessora-broadcast-crosstable td {
  background: #07120f !important;
  border-bottom: 1px solid rgba(243, 201, 92, 0.14);
  color: var(--broadcast-text) !important;
  padding: 9px 10px;
  text-align: left;
  vertical-align: middle;
}

body.view-broadcasts .chessora-broadcast-standings thead th,
body.view-broadcasts .chessora-broadcast-crosstable thead th {
  background: #102019 !important;
  color: var(--broadcast-gold-strong) !important;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .04em;
  position: sticky;
  top: 0;
  text-transform: uppercase;
  z-index: 1;
}

body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even),
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) {
  background: #0b1712 !important;
}

body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even) td,
body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even) th,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) td,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) th {
  background: #0b1712 !important;
}

body.view-broadcasts .chessora-broadcast-standings td strong,
body.view-broadcasts .chessora-broadcast-crosstable tbody th {
  color: var(--broadcast-text) !important;
  font-weight: 900;
}

body.view-broadcasts .chessora-broadcast-standings td small {
  color: var(--broadcast-muted);
  display: block;
  font-size: .78rem;
  margin-top: 3px;
}

body.view-broadcasts .chessora-broadcast-standings td b {
  color: var(--broadcast-gold-strong);
  font-size: 1rem;
}

body.view-broadcasts .chessora-broadcast-crosstable tbody th {
  background: #102019 !important;
  color: var(--broadcast-text) !important;
  left: 0;
  min-width: 180px;
  position: sticky;
  z-index: 1;
}

body.view-broadcasts .chessora-broadcast-crosstable tbody th b {
  color: var(--broadcast-gold-strong);
  display: inline-block;
  min-width: 1.6rem;
}

body.view-broadcasts .chessora-broadcast-crosstable td {
  background: #07120f !important;
  color: var(--broadcast-text) !important;
  min-width: 54px;
  text-align: center;
}

body.view-broadcasts .chessora-broadcast-crosstable td span {
  color: var(--broadcast-text) !important;
  display: inline-block;
  font-weight: 900;
  min-height: 1rem;
}

body.view-broadcasts .chessora-broadcast-crosstable td.is-self {
  background: #2a2415 !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td.is-self span {
  color: var(--broadcast-muted) !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section {
  background: var(--broadcast-panel-soft);
  border: 1px solid var(--broadcast-line);
  padding: 14px;
}

body.view-broadcasts .chessora-broadcast-player-bios section strong {
  color: var(--broadcast-text);
}

body.view-broadcasts .chessora-broadcast-player-bios section p {
  margin: 6px 0;
}

body.view-broadcasts .chessora-broadcast-player-bios section small {
  color: var(--broadcast-muted);
}

body.view-broadcasts .chessora-broadcast-board > header {
  border-bottom: 1px solid rgba(243, 201, 92, 0.2);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

body.view-broadcasts .chessora-broadcast-board > header strong {
  color: var(--broadcast-text) !important;
  font-size: 1.1rem;
}

body.view-broadcasts .chessora-broadcast-board > header span,
body.view-broadcasts .chessora-broadcast-board aside span {
  color: var(--broadcast-muted) !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader {
  background: #07120f !important;
  border-color: rgba(243, 201, 92, 0.38) !important;
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive {
  background: rgba(7, 18, 15, 0.72) !important;
  border-color: rgba(243, 201, 92, 0.22) !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-reader-help,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-engine,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-moves,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-variation-form,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-eval-rail {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-reader-body {
  grid-template-columns: minmax(150px, 1fr) !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-board-wrap {
  display: block !important;
  max-width: 180px !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-board {
  border-width: 4px !important;
  max-height: 180px !important;
  max-width: 180px !important;
  min-width: 0 !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-active {
  order: -1;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader > header {
  background: #102019 !important;
  border-bottom: 1px solid rgba(243, 201, 92, 0.28) !important;
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader > header strong,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader > header span {
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-help {
  background: #fff5d6 !important;
  border: 1px solid rgba(243, 201, 92, 0.36) !important;
  border-radius: 6px;
  color: #172018 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-help strong {
  color: #101811 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-help span {
  color: #344236 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-body {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(320px, calc(min(54vh, 420px) + 42px)) minmax(280px, 1fr);
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board-wrap {
  grid-template-columns: 30px minmax(260px, min(54vh, 420px));
  max-width: calc(30px + 8px + min(54vh, 420px));
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board {
  aspect-ratio: 1;
  border: 1px solid rgba(243, 201, 92, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  max-height: min(54vh, 420px);
  max-width: min(54vh, 420px);
  min-width: 260px;
  overflow: hidden;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-eval-rail {
  background: #050908;
  border-color: rgba(243, 201, 92, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
  min-height: 260px;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine {
  background: #07120f !important;
  border: 1px solid rgba(243, 201, 92, 0.34) !important;
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine div strong {
  color: var(--broadcast-gold-strong) !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine div span {
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine button {
  background: #2b4b39 !important;
  border-color: rgba(243, 201, 92, 0.48) !important;
  color: #fff5d6 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine button:hover,
body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine button:focus-visible {
  background: var(--broadcast-gold-strong) !important;
  color: #07120f !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board .is-light {
  background: #e9c988 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board .is-dark {
  background: #7a4d21 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board img {
  display: block;
  height: 82%;
  object-fit: contain;
  width: 82%;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-body aside {
  align-content: center;
  background: #102019 !important;
  border: 1px solid rgba(243, 201, 92, 0.26) !important;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-moves {
  background: #fbf8ef !important;
  border: 1px solid rgba(243, 201, 92, 0.34) !important;
  color: #162019 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-move-row:nth-of-type(odd) {
  background: #fffdf6 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-move-row:nth-of-type(even) {
  background: #f2efe5 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-move-number {
  color: #6a6253 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-move-text,
body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-white-move,
body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-black-move {
  color: #182218 !important;
  opacity: 1 !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-move-row.is-current,
body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-move-row:hover {
  background: #ffe7a7 !important;
}

body.view-broadcasts .chessora-broadcast-board aside strong {
  color: var(--broadcast-gold-strong) !important;
  font-size: 1.35rem;
}

body.view-broadcasts .chessora-broadcast-board aside div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.view-broadcasts .chessora-broadcast-board button {
  background: rgba(243, 201, 92, 0.14) !important;
  border: 1px solid rgba(243, 201, 92, 0.38) !important;
  border-radius: 7px;
  color: var(--broadcast-text) !important;
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  min-width: 46px;
  padding: 8px 12px;
}

body.view-broadcasts .chessora-broadcast-board button:hover,
body.view-broadcasts .chessora-broadcast-board button:focus-visible {
  background: linear-gradient(180deg, #ffd86d, #c98923) !important;
  color: var(--broadcast-ink) !important;
}

body.view-broadcasts .chessora-broadcast-editor-panel input,
body.view-broadcasts .chessora-broadcast-editor-panel select,
body.view-broadcasts .chessora-broadcast-editor-panel textarea,
body.view-broadcasts .chessora-broadcast-outreach textarea {
  background: #07120f !important;
  border-color: rgba(243, 201, 92, 0.46) !important;
  color: var(--broadcast-text) !important;
  -webkit-text-fill-color: var(--broadcast-text);
}

body.view-broadcasts .chessora-broadcast-outreach {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
}

body.view-broadcasts .chessora-broadcast-outreach > header {
  align-items: center;
  border-bottom: 1px solid rgba(243, 201, 92, 0.2);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-bottom: 14px;
}

body.view-broadcasts .chessora-broadcast-outreach > header span,
body.view-broadcasts .chessora-broadcast-outreach-grid article > span {
  color: var(--broadcast-gold-strong);
  display: block;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.view-broadcasts .chessora-broadcast-outreach-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
}

body.view-broadcasts .chessora-broadcast-outreach-grid article {
  background: var(--broadcast-panel-strong);
  border: 1px solid rgba(243, 201, 92, 0.26);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.view-broadcasts .chessora-broadcast-outreach textarea {
  border-radius: 8px;
  font: .92rem/1.55 Consolas, "Liberation Mono", monospace;
  min-height: 430px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-contact-list {
  display: grid;
  gap: 10px;
}

body.view-broadcasts .chessora-broadcast-contact-list section {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

body.view-broadcasts .chessora-broadcast-contact-list strong {
  color: var(--broadcast-text);
}

body.view-broadcasts .chessora-broadcast-contact-list small {
  color: var(--broadcast-muted);
}

body.view-broadcasts .chessora-broadcast-contact-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.view-broadcasts .chessora-broadcast-contact-list a {
  color: var(--broadcast-gold-strong);
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.view-broadcasts .chessora-broadcast-source-link {
  font-size: .82rem;
}

body.view-broadcasts .chessora-broadcast-mail-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

body.view-broadcasts .chessora-broadcast-mail-form small {
  color: var(--broadcast-muted);
}

@media (max-width: 820px) {
  body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-body {
    grid-template-columns: 1fr;
  }

  body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board {
    max-height: none;
    max-width: 100%;
  }

  body.view-broadcasts .chessora-broadcast-outreach-grid {
    grid-template-columns: 1fr;
  }
}

body.view-broadcasts .chessora-broadcast-editor-panel input::placeholder,
body.view-broadcasts .chessora-broadcast-editor-panel textarea::placeholder {
  color: #aebcaf !important;
  -webkit-text-fill-color: #aebcaf;
}

body.view-broadcasts .chessora-button,
body.view-broadcasts a.chessora-button,
body.view-broadcasts button.chessora-button {
  background: rgba(243, 201, 92, 0.13) !important;
  border-color: rgba(243, 201, 92, 0.44) !important;
  color: var(--broadcast-text) !important;
}

body.view-broadcasts .chessora-button-primary,
body.view-broadcasts .chessora-button:hover,
body.view-broadcasts .chessora-button:focus-visible {
  background: linear-gradient(180deg, #ffd86d, #c98923) !important;
  color: var(--broadcast-ink) !important;
}

/* 20260604-faq-dark-theme-1: align FAQ with the Pawn Realm shell theme. */
html body.view-faq,
html body.chessora-shell.view-faq {
  background:
    radial-gradient(circle at 18% 0, rgba(214, 162, 59, .14), transparent 30rem),
    linear-gradient(180deg, #07100e 0%, #0b1512 52%, #060b0a 100%) !important;
  color: #fff7df !important;
}

html body.view-faq .shell-page,
html body.view-faq .shell-component-card {
  background: transparent !important;
  border-color: rgba(244, 207, 116, .22) !important;
  box-shadow: none !important;
}

html body.view-faq .chessora.chessora-faq-page {
  --faq-ink: #fff7df;
  --faq-muted: #d9e3dd;
  --faq-line: rgba(244, 207, 116, .28);
  --faq-panel: #12211b;
  --faq-soft: #1a2a24;
  background: transparent !important;
  color: #fff7df !important;
}

html body.view-faq .chessora-faq-page .chessora-subnav,
html body.view-faq .chessora-faq-index,
html body.view-faq .chessora-faq-section {
  background: rgba(18, 33, 27, .96) !important;
  border: 1px solid rgba(244, 207, 116, .28) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24) !important;
}

html body.view-faq .chessora-faq-hero {
  background:
    linear-gradient(135deg, rgba(12, 24, 20, .98), rgba(30, 75, 67, .9)),
    #0d1b17 !important;
  border: 1px solid rgba(244, 207, 116, .28) !important;
}

html body.view-faq .chessora-faq-page .chessora-subnav a,
html body.view-faq .chessora-faq-index strong,
html body.view-faq .chessora-faq-section h2,
html body.view-faq .chessora-faq-list summary,
html body.view-faq .chessora-faq-page :where(h1, h2, h3, strong, b) {
  color: #fff7df !important;
}

html body.view-faq .chessora-faq-page .chessora-subnav a.is-active,
html body.view-faq .chessora-faq-page .chessora-subnav a:hover,
html body.view-faq .chessora-faq-page .chessora-subnav a:focus-visible {
  background: linear-gradient(180deg, #f4cf74, #d59728) !important;
  color: #140f08 !important;
}

html body.view-faq .chessora-faq-index a,
html body.view-faq .chessora-faq-section > header span,
html body.view-faq .chessora-faq-list p,
html body.view-faq .chessora-faq-page :where(p, span, small, li) {
  color: #d9e3dd !important;
}

html body.view-faq .chessora-faq-section > header p,
html body.view-faq .chessora-faq-hero .chessora-kicker {
  color: #f4cf74 !important;
}

html body.view-faq .chessora-faq-list details {
  background: #0b1713 !important;
  border: 1px solid rgba(244, 207, 116, .18) !important;
}

html body.view-faq .chessora-faq-list details[open],
html body.view-faq .chessora-faq-index a:hover,
html body.view-faq .chessora-faq-index a:focus-visible {
  background: #172720 !important;
  border-color: rgba(244, 207, 116, .36) !important;
}
/* 20260604-forum-posting-eligibility-1: show posting unlock rules before submit. */
body.view-forum .chessora-forum-eligibility {
  align-items: center !important;
  background:
    linear-gradient(135deg, rgba(241, 207, 119, 0.14), rgba(255, 255, 255, 0.04)),
    #101c17 !important;
  border: 1px solid rgba(241, 207, 119, 0.32) !important;
  border-radius: 8px !important;
  color: #fff8e6 !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.8fr) auto !important;
  margin: 0 0 18px !important;
  padding: 16px !important;
}

body.view-forum .chessora-forum-eligibility.is-unlocked {
  border-color: rgba(117, 214, 110, 0.42) !important;
  box-shadow: inset 4px 0 0 #75d66e !important;
}

body.view-forum .chessora-forum-eligibility.is-locked {
  box-shadow: inset 4px 0 0 #f1cf77 !important;
}

body.view-forum .chessora-forum-eligibility > div:first-child {
  display: grid !important;
  gap: 5px !important;
}

body.view-forum .chessora-forum-eligibility p {
  color: #f1cf77 !important;
  font-size: 0.76rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.07em !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

body.view-forum .chessora-forum-eligibility h2 {
  color: #fff8e6 !important;
  font-size: 1.18rem !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

body.view-forum .chessora-forum-eligibility span {
  color: #d9e4dc !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

body.view-forum .chessora-forum-eligibility-meter {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.view-forum .chessora-forum-eligibility-meter span {
  background: rgba(7, 17, 15, 0.78) !important;
  border: 1px solid rgba(241, 207, 119, 0.22) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 4px !important;
  padding: 10px !important;
}

body.view-forum .chessora-forum-eligibility-meter strong {
  color: #f1cf77 !important;
  font-size: 1.12rem !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
}

body.view-forum .chessora-forum-eligibility-meter small {
  color: #d9e4dc !important;
  font-size: 0.74rem !important;
  font-weight: 850 !important;
}

body.view-forum .chessora-forum-eligibility > .chessora-button {
  justify-self: end !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  body.view-forum .chessora-forum-eligibility {
    grid-template-columns: 1fr !important;
  }

  body.view-forum .chessora-forum-eligibility > .chessora-button {
    justify-self: start !important;
  }
}

/* 20260604-forum-moderation-panel-1 */
body.view-forum .chessora-forum-moderation-panel {
  align-self: start;
  background: linear-gradient(180deg, #13261d, #07140f) !important;
  border: 1px solid rgba(214, 164, 53, 0.72) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
  color: #fff6d8 !important;
  display: grid;
  gap: 14px;
  padding: 16px !important;
}

body.view-forum .chessora-forum-moderation-panel header {
  border-bottom: 1px solid rgba(255, 236, 180, 0.28);
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
}

body.view-forum .chessora-forum-moderation-panel header span,
body.view-forum .chessora-forum-moderation-panel h3 {
  color: #f3c14e !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  margin: 0;
  text-transform: uppercase;
}

body.view-forum .chessora-forum-moderation-panel header strong {
  color: #fff8df !important;
  font-size: 1.2rem !important;
  line-height: 1.15;
}

body.view-forum .chessora-forum-moderation-panel header small,
body.view-forum .chessora-forum-moderation-panel p,
body.view-forum .chessora-forum-moderation-panel a span {
  color: #e8ddbb !important;
}

body.view-forum .chessora-forum-moderation-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.view-forum .chessora-forum-moderation-stats span {
  background: #fff6dc !important;
  border: 1px solid #d7a942 !important;
  border-radius: 7px;
  color: #1b1407 !important;
  display: grid;
  gap: 2px;
  min-height: 64px;
  padding: 10px;
}

body.view-forum .chessora-forum-moderation-stats strong {
  color: #1b1407 !important;
  font-size: 1.45rem !important;
  line-height: 1;
}

body.view-forum .chessora-forum-moderation-stats small {
  color: #5d4615 !important;
  font-size: 0.74rem !important;
  font-weight: 900;
}

body.view-forum .chessora-forum-moderation-panel section {
  display: grid;
  gap: 10px;
}

body.view-forum .chessora-forum-moderation-panel article {
  background: rgba(255, 248, 226, 0.08) !important;
  border: 1px solid rgba(255, 236, 180, 0.24) !important;
  border-radius: 8px !important;
  display: grid;
  gap: 9px;
  padding: 12px !important;
}

body.view-forum .chessora-forum-moderation-panel article.is-hidden-post {
  background: rgba(218, 67, 67, 0.16) !important;
  border-color: rgba(255, 151, 151, 0.62) !important;
}

body.view-forum .chessora-forum-moderation-panel article > a {
  color: #fff8df !important;
  display: grid;
  gap: 3px;
  text-decoration: none !important;
}

body.view-forum .chessora-forum-moderation-panel article strong {
  color: #fff8df !important;
  font-size: 0.95rem !important;
  line-height: 1.25;
}

body.view-forum .chessora-forum-mod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.view-forum .chessora-forum-mod-meta b {
  background: #fff1c2 !important;
  border-radius: 999px;
  color: #302100 !important;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 4px 7px;
}

body.view-forum .chessora-forum-moderation-panel article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.view-forum .chessora-forum-mod-action {
  margin: 0 !important;
}

/* 20260605-forum-moderation-notes-1 */
body.view-forum .chessora-forum-mod-action summary {
  background: #f0bc3d !important;
  border: 1px solid #d49a26 !important;
  border-radius: 7px !important;
  color: #171102 !important;
  cursor: pointer;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  list-style: none;
  min-height: 34px;
  padding: 7px 10px !important;
}

body.view-forum .chessora-forum-mod-action summary::-webkit-details-marker {
  display: none;
}

body.view-forum .chessora-forum-mod-action.is-danger summary {
  background: #f2b4a8 !important;
  border-color: #d46d5d !important;
  color: #300b06 !important;
}

body.view-forum .chessora-forum-mod-action form {
  background: rgba(255, 248, 226, 0.08) !important;
  border: 1px solid rgba(255, 236, 180, 0.24) !important;
  border-radius: 8px !important;
  display: grid;
  gap: 8px;
  margin-top: 6px;
  min-width: min(240px, 100%);
  padding: 10px !important;
}

body.view-forum .chessora-forum-mod-action label {
  display: grid;
  gap: 4px;
}

body.view-forum .chessora-forum-mod-action label span {
  color: #e8ddbb !important;
  font-size: 0.78rem;
  font-weight: 900;
}

body.view-forum .chessora-forum-mod-action textarea {
  background: #fff9e9 !important;
  border: 1px solid #d7a942 !important;
  border-radius: 7px !important;
  color: #171102 !important;
  font-weight: 850 !important;
  padding: 8px !important;
}

body.view-forum .chessora-forum-mod-action button {
  background: #f0bc3d !important;
  border: 1px solid #d49a26 !important;
  border-radius: 7px !important;
  color: #171102 !important;
  cursor: pointer;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  min-height: 34px;
  padding: 7px 10px !important;
}

body.view-forum .chessora-forum-mod-action.is-danger button {
  background: #f2b4a8 !important;
  border-color: #d46d5d !important;
  color: #300b06 !important;
}

/* 20260604-forum-report-posts-1 */
body.view-forum .chessora-forum-report-box {
  background: rgba(255, 248, 226, 0.08) !important;
  border: 1px solid rgba(255, 236, 180, 0.3) !important;
  border-radius: 8px !important;
  color: #fff8df !important;
  padding: 0 !important;
}

body.view-forum .chessora-forum-report-box summary {
  color: #f3c14e !important;
  cursor: pointer;
  font-weight: 950 !important;
  list-style: none;
  min-height: 34px;
  padding: 8px 10px !important;
}

body.view-forum .chessora-forum-report-box summary::-webkit-details-marker {
  display: none;
}

body.view-forum .chessora-forum-report-box form {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px !important;
}

body.view-forum .chessora-forum-report-box label {
  display: grid;
  gap: 4px;
}

body.view-forum .chessora-forum-report-box label span {
  color: #e8ddbb !important;
  font-size: 0.78rem;
  font-weight: 900;
}

body.view-forum .chessora-forum-report-box select,
body.view-forum .chessora-forum-report-box textarea {
  background: #fff9e9 !important;
  border: 1px solid #d7a942 !important;
  border-radius: 7px !important;
  color: #171102 !important;
  font-weight: 850 !important;
  padding: 8px !important;
}

body.view-forum .chessora-forum-report-box button {
  background: #f0bc3d !important;
  border: 1px solid #d49a26 !important;
  border-radius: 7px !important;
  color: #171102 !important;
  cursor: pointer;
  font-weight: 950 !important;
  min-height: 34px;
}

body.view-forum .chessora-forum-moderation-panel article.is-open-report {
  border-color: rgba(243, 193, 78, 0.82) !important;
  box-shadow: inset 3px 0 0 #f3c14e;
}

/* 20260605-forum-moderation-audit-1 */
body.view-forum .chessora-forum-moderation-panel article.chessora-forum-audit-entry {
  background: rgba(180, 217, 196, 0.1) !important;
  border-color: rgba(180, 217, 196, 0.36) !important;
}

body.view-forum .chessora-forum-moderation-panel article.chessora-forum-audit-entry::before {
  color: #b4d9c4;
  content: "Logged action";
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

/* 20260605-forum-post-anchors-1 */
body.view-forum .chessora-topic-post {
  scroll-margin-top: 96px;
}

body.view-forum .chessora-topic-post:target {
  border-color: #ffe15c !important;
  box-shadow: 0 0 0 4px rgba(255, 225, 92, 0.55), 0 18px 42px rgba(0, 0, 0, 0.42) !important;
  position: relative;
}

/* 20260605-forum-target-post-highlight-1 */
body.view-forum .chessora-topic-post:target::before {
  background: #ffe15c !important;
  border: 1px solid #c89e22 !important;
  border-radius: 999px;
  color: #071410 !important;
  content: "Linked post";
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1;
  padding: 5px 8px;
  position: absolute;
  right: 14px;
  top: -13px;
  z-index: 2;
}

/* 20260605-forum-anchor-pagination-1 */
body.view-forum .chessora-topic-post.is-hidden-post {
  background: rgba(218, 67, 67, 0.13) !important;
  border-color: rgba(242, 180, 168, 0.58) !important;
}

body.view-forum .chessora-topic-post.is-hidden-post .chessora-topic-post-body {
  opacity: 0.86;
}

body.view-forum .chessora-forum-hidden-badge {
  background: #f2b4a8 !important;
  border-radius: 999px;
  color: #300b06 !important;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 3px 7px;
}

/* 20260605-forum-post-permalinks-1 */
body.view-forum .chessora-topic-post-meta {
  align-items: center;
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  white-space: normal !important;
}

body.view-forum .chessora-topic-post-meta a {
  color: #f3c14e !important;
  font-weight: 950;
  text-decoration: none !important;
}

body.view-forum .chessora-topic-post-meta a:hover,
body.view-forum .chessora-topic-post-meta a:focus-visible {
  color: #fff8df !important;
  text-decoration: underline !important;
}

body.view-forum .chessora-topic-post-meta time {
  color: #d9e4dc !important;
}

/* 20260605-forum-copy-post-link-1 */
body.view-forum .chessora-topic-post-meta [data-forum-copy-link] {
  background: rgba(243, 193, 78, 0.14) !important;
  border: 1px solid rgba(243, 193, 78, 0.46) !important;
  border-radius: 999px !important;
  color: #fff8df !important;
  cursor: pointer;
  font-size: 0.74rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  min-height: 0 !important;
  padding: 5px 8px !important;
}

body.view-forum .chessora-topic-post-meta [data-forum-copy-link]:hover,
body.view-forum .chessora-topic-post-meta [data-forum-copy-link]:focus-visible,
body.view-forum .chessora-topic-post-meta [data-forum-copy-link].is-copied {
  background: #f3c14e !important;
  color: #171102 !important;
}

/* 20260605-forum-locked-topic-visibility-1 */
body.view-forum .chessora-forum-topic-row.is-locked-topic {
  opacity: 0.92;
}

body.view-forum .chessora-forum-lock-badge {
  align-items: center;
  background: #dfe7ea !important;
  border: 1px solid #9fb1b8 !important;
  border-radius: 999px;
  color: #102026 !important;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
}

/* 20260605-forum-room-counts-1 */
/* 20260605-forum-topic-activity-order-1 */
/* 20260605-forum-topic-lock-badge-1 */
/* 20260605-forum-solved-topic-1 */
body.view-forum .chessora-topic-head > .chessora-forum-solved-badge,
body.view-forum .chessora-topic-head > .chessora-forum-lock-badge {
  align-self: flex-start;
  flex: 0 0 auto;
  margin-left: auto;
}

/* 20260605-forum-topic-copy-link-1 */
body.view-forum .chessora-forum-topic-copy {
  align-self: flex-start;
  background: #f3d37a !important;
  border: 1px solid #c49a2d !important;
  border-radius: 6px;
  color: #081512 !important;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 950;
  min-height: 34px;
  padding: 7px 11px;
}

body.view-forum .chessora-forum-topic-copy:hover,
body.view-forum .chessora-forum-topic-copy:focus-visible,
body.view-forum .chessora-forum-topic-copy.is-copied {
  background: #ffe9a8 !important;
  color: #03100d !important;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* 20260605-forum-search-1 */
body.view-forum .chessora-forum-search {
  background: #10231c !important;
  border: 1px solid #756326 !important;
  border-radius: 8px;
  color: #fff8dd !important;
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
}

body.view-forum .chessora-forum-search label {
  color: #fff8dd !important;
  font-weight: 950;
}

body.view-forum .chessora-forum-search > div {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

body.view-forum .chessora-forum-search input[type="search"] {
  background: #fffaf0 !important;
  border: 1px solid #d6b24c !important;
  border-radius: 6px;
  color: #071410 !important;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 12px;
}

body.view-forum .chessora-forum-search-results header > span:first-child {
  color: #fff8dd !important;
  font-weight: 950;
}

@media (max-width: 720px) {
  body.view-forum .chessora-forum-search > div {
    grid-template-columns: 1fr;
  }
}

/* 20260605-forum-search-excerpts-1 */
body.view-forum .chessora-forum-search-excerpt {
  color: #fff0bf !important;
  display: block;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
  margin-top: 6px;
}

/* 20260605-forum-search-highlight-1 */
body.view-forum .chessora-forum-search-mark {
  background: #ffe15c !important;
  border-radius: 3px;
  color: #081512 !important;
  font-weight: 1000;
  padding: 0 2px;
}

/* 20260605-forum-search-post-anchor-1 */
/* 20260605-forum-search-relevance-1 */
body.view-forum .chessora-forum-search-type {
  align-items: center;
  align-self: center;
  background: #d7edf5 !important;
  border: 1px solid #88b9c8 !important;
  border-radius: 999px;
  color: #071820 !important;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  white-space: nowrap;
}

/* 20260605-forum-search-return-link-1 */
body.view-forum .chessora-forum-search-return {
  background: #d7edf5 !important;
  border-color: #88b9c8 !important;
  color: #071820 !important;
}

/* 20260605-forum-search-summary-1 */
body.view-forum .chessora-forum-search-summary {
  display: grid;
  gap: 4px;
}

body.view-forum .chessora-forum-search-summary strong {
  color: #fff8dd !important;
  font-weight: 1000;
}

body.view-forum .chessora-forum-search-summary small {
  color: #d7edf5 !important;
  font-size: 0.82rem;
  font-weight: 850;
}

/* 20260605-forum-search-scope-1 */
body.view-forum .chessora-forum-search-scope {
  align-items: center;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.view-forum .chessora-forum-search-scope legend {
  color: #fff8dd !important;
  font-size: 0.78rem;
  font-weight: 950;
  margin-right: 4px;
}

body.view-forum .chessora-forum-search-scope label {
  align-items: center;
  background: rgba(255, 248, 221, 0.08) !important;
  border: 1px solid rgba(243, 193, 78, 0.42) !important;
  border-radius: 999px;
  color: #fff8dd !important;
  display: inline-flex;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
}

body.view-forum .chessora-forum-search-scope input {
  accent-color: #f3c14e;
}

body.view-forum .chessora-forum-search-all-link {
  color: #d7edf5 !important;
  font-weight: 900;
}

/* 20260605-forum-search-empty-fallback-1 */
body.view-forum .chessora-forum-empty-action {
  background: #f3d37a !important;
  border: 1px solid #c49a2d !important;
  border-radius: 6px;
  color: #081512 !important;
  display: inline-flex;
  font-weight: 950;
  margin-top: 8px;
  min-height: 36px;
  padding: 8px 12px;
  text-decoration: none !important;
}

body.view-forum .chessora-forum-empty-action:hover,
body.view-forum .chessora-forum-empty-action:focus-visible {
  background: #ffe9a8 !important;
  color: #03100d !important;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* 20260605-forum-first-post-prompts-1 */
body.view-forum .chessora-forum-first-post-prompt {
  background: rgba(255, 248, 229, 0.96);
  border: 1px solid rgba(212, 166, 56, 0.42);
  border-radius: 8px;
  color: #1d1606;
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 12px 14px;
}

body.view-forum .chessora-forum-first-post-prompt strong {
  color: #1d1606 !important;
  font-size: 0.92rem;
  font-weight: 950;
}

body.view-forum .chessora-forum-first-post-prompt > span {
  color: #51452a !important;
  font-size: 0.84rem;
  line-height: 1.45;
}

body.view-forum .chessora-forum-first-post-prompt > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.view-forum .chessora-forum-first-post-prompt > div span {
  background: #ffffff;
  border: 1px solid rgba(212, 166, 56, 0.36);
  border-radius: 999px;
  color: #5a3d09;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

/* 20260605-forum-search-minlength-1 */
body.view-forum .chessora-forum-search-warning {
  background: #fff2c8 !important;
  border: 1px solid #d4a638 !important;
  border-radius: 8px;
  color: #191102 !important;
  display: grid;
  gap: 4px;
  margin: -6px 0 18px;
  padding: 12px 14px;
}

body.view-forum .chessora-forum-search-warning strong,
body.view-forum .chessora-forum-search-warning span {
  color: #191102 !important;
}

/* 20260605-forum-search-match-meta-1 */
body.view-forum .chessora-forum-search-match-meta {
  color: #d7edf5 !important;
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-top: 4px;
}

/* 20260605-forum-search-centered-excerpt-1 */
/* 20260605-forum-search-total-count-1 */
/* 20260605-forum-search-pagination-1 */
/* 20260605-forum-search-return-page-1 */
/* 20260605-forum-search-compact-pagination-1 */
/* 20260605-forum-topic-views-1 */
/* 20260605-forum-post-updated-marker-1 */
/* 20260605-forum-popular-topics-1 */
/* 20260605-forum-needs-replies-1 */
/* 20260605-forum-recent-activity-1 */
/* 20260605-forum-topic-previews-1 */
/* 20260605-forum-last-poster-1 */
/* 20260605-forum-new-topic-badge-1 */
/* 20260605-forum-hot-topic-badge-1 */
/* 20260605-forum-solved-topic-1 */
/* 20260605-forum-unsolved-filter-1 */
/* 20260605-forum-sidebar-unsolved-link-1 */
/* 20260605-forum-unsolved-count-1 */
body.view-forum .chessora-forum-search-pagination {
  margin: 12px 0;
}

body.view-forum .chessora-forum-search-pagination .chessora-forum-page-ellipsis {
  background: transparent;
  border-color: transparent;
  color: #fff7dd;
  min-width: 22px;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-list > header {
  grid-template-columns: minmax(0, 1fr) 82px 82px 190px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row {
  grid-template-columns: minmax(0, 1fr) auto auto auto auto auto 82px 82px 190px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-summary {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-summary span,
html body .chessora.chessora-forum-page .chessora-forum-room-summary a {
  border-radius: 999px !important;
  display: inline-flex !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 6px 9px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-summary span {
  background: #eef1e7 !important;
  border: 1px solid #c3c9b8 !important;
  color: #263126 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-summary a {
  background: #173826 !important;
  border: 1px solid #6fb07b !important;
  color: #f7ffe9 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-summary a:hover,
html body .chessora.chessora-forum-page .chessora-forum-room-summary a:focus {
  background: #d6a23b !important;
  border-color: #f3d276 !important;
  color: #101810 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-filters {
  align-items: center !important;
  background: #f8faf7 !important;
  border-bottom: 1px solid #e0e5df !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 12px 28px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-filters a {
  background: #ffffff !important;
  border: 1px solid #cbd6cc !important;
  border-radius: 999px !important;
  color: #263022 !important;
  display: inline-flex !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 8px 11px !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-room-filters a.is-active {
  background: #253326 !important;
  border-color: #253326 !important;
  color: #fff7dd !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-room-stat {
  min-width: 70px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-room-stat.is-replies {
  grid-column: 7 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-room-stat.is-views {
  grid-column: 8 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-last {
  grid-column: 9 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-pin-badge {
  grid-column: 2 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-new-badge {
  grid-column: 3 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-hot-badge {
  grid-column: 4 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-solved-badge {
  grid-column: 5 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-lock-badge {
  grid-column: 6 !important;
}

@media (max-width: 720px) {
  html body .chessora.chessora-forum-page .chessora-forum-topic-row {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-room-stat.is-replies,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-room-stat.is-views,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-pin-badge,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-new-badge,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-hot-badge,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-solved-badge,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-lock-badge,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row .chessora-forum-last {
    grid-column: auto !important;
  }
}

html body .chessora.chessora-forum-page .chessora-forum-new-badge {
  background: #e4f6e8 !important;
  border: 1px solid #80bd8c !important;
  border-radius: 999px !important;
  color: #1f5f2b !important;
  display: inline-flex !important;
  font-size: .75rem !important;
  font-weight: 900 !important;
  justify-self: start !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-hot-badge {
  background: #fff0e6 !important;
  border: 1px solid #dd9a63 !important;
  border-radius: 999px !important;
  color: #8a3c0b !important;
  display: inline-flex !important;
  font-size: .75rem !important;
  font-weight: 900 !important;
  justify-self: start !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-solved-badge {
  background: #e8f7f2 !important;
  border: 1px solid #72b8a2 !important;
  border-radius: 999px !important;
  color: #11614d !important;
  display: inline-flex !important;
  font-size: .75rem !important;
  font-weight: 900 !important;
  justify-self: start !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-updated-marker {
  background: #fff2cc !important;
  border: 1px solid #d1a741 !important;
  border-radius: 999px !important;
  color: #5a3a00 !important;
  display: inline-flex !important;
  font-size: .72rem !important;
  font-style: normal !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-topic-preview {
  color: #4b5563 !important;
  display: -webkit-box !important;
  font-size: .88rem !important;
  font-style: normal !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  margin-top: 7px !important;
  max-width: 68ch !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-side-stack {
  display: grid !important;
  gap: 14px !important;
  position: sticky !important;
  top: 88px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-side-stack .chessora-forum-reputation-panel {
  position: static !important;
  top: auto !important;
}

html body .chessora.chessora-forum-page .chessora-forum-popular-panel ol,
html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel ol,
html body .chessora.chessora-forum-page .chessora-forum-recent-panel ol {
  gap: 8px !important;
}

html body .chessora.chessora-forum-page .chessora-forum-popular-panel li,
html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel li,
html body .chessora.chessora-forum-page .chessora-forum-recent-panel li {
  align-items: start !important;
  gap: 10px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}

html body .chessora.chessora-forum-page .chessora-forum-popular-panel a,
html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel a,
html body .chessora.chessora-forum-page .chessora-forum-recent-panel a {
  color: inherit !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-popular-panel a:hover span,
html body .chessora.chessora-forum-page .chessora-forum-popular-panel a:focus span,
html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel a:hover span,
html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel a:focus span,
html body .chessora.chessora-forum-page .chessora-forum-recent-panel a:hover span,
html body .chessora.chessora-forum-page .chessora-forum-recent-panel a:focus span {
  color: #1f6eb5 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-popular-panel small,
html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel small,
html body .chessora.chessora-forum-page .chessora-forum-recent-panel small {
  color: #5d6670 !important;
  font-size: .75rem !important;
  font-weight: 750 !important;
}

html body .chessora.chessora-forum-page .chessora-forum-popular-panel li > strong {
  background: #fff2cc !important;
  border: 1px solid #d1a741 !important;
  border-radius: 999px !important;
  color: #5a3a00 !important;
  font-size: .72rem !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-recent-panel li > strong {
  background: #eef6ff !important;
  border: 1px solid #b8d6f4 !important;
  border-radius: 999px !important;
  color: #1f5d94 !important;
  font-size: .72rem !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-needs-replies-panel li > strong {
  background: #e4f6e8 !important;
  border: 1px solid #80bd8c !important;
  border-radius: 999px !important;
  color: #1f5f2b !important;
  font-size: .72rem !important;
  padding: 5px 8px !important;
  white-space: nowrap !important;
}

html body .chessora.chessora-forum-page .chessora-forum-sidebar-action {
  align-items: center !important;
  background: #263625 !important;
  border: 1px solid #5f7a4a !important;
  border-radius: 6px !important;
  color: #fff7dd !important;
  display: flex !important;
  font-size: .84rem !important;
  font-weight: 900 !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  margin-top: 12px !important;
  min-height: 38px !important;
  padding: 9px 11px !important;
  text-align: center !important;
  text-decoration: none !important;
}

html body .chessora.chessora-forum-page .chessora-forum-sidebar-action:hover,
html body .chessora.chessora-forum-page .chessora-forum-sidebar-action:focus {
  background: #d6a23b !important;
  border-color: #f3d276 !important;
  color: #101810 !important;
}

/* 20260605-club-operations-1 */
html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 14px 0 !important;
}

html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard article,
html body .chessora.chessora-clubs-page .chessora-club-lineup-board,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed,
html body .chessora.chessora-clubs-page .chessora-club-forum-lanes {
  background: #f9f4e6 !important;
  border: 1px solid #d6bf77 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(10, 20, 14, .14) !important;
  color: #172017 !important;
}

html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard article {
  display: grid !important;
  gap: 7px !important;
  padding: 14px !important;
}

html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard span,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table > header span,
html body .chessora.chessora-clubs-page .chessora-club-lineup-board > header span,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed > header span {
  color: #765318 !important;
  font-size: .76rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard strong,
html body .chessora.chessora-clubs-page .chessora-club-lineup-board strong,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table strong,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed strong,
html body .chessora.chessora-clubs-page .chessora-club-forum-lanes strong {
  color: #111911 !important;
  font-weight: 950 !important;
}

html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard small,
html body .chessora.chessora-clubs-page .chessora-club-lineup-board small,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table span,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed small,
html body .chessora.chessora-clubs-page .chessora-club-forum-lanes span {
  color: #465443 !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

html body .chessora.chessora-clubs-page .chessora-club-lineup-board,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed {
  display: grid !important;
  gap: 9px !important;
  margin: 14px 0 !important;
  padding: 14px !important;
}

html body .chessora.chessora-clubs-page .chessora-club-lineup-board > header,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table > header,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed > header {
  align-items: center !important;
  border-bottom: 1px solid #d8c994 !important;
  display: flex !important;
  justify-content: space-between !important;
  padding-bottom: 9px !important;
}

html body .chessora.chessora-clubs-page .chessora-club-lineup-board article,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table div,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed button {
  align-items: center !important;
  background: #fffdf7 !important;
  border: 1px solid #e5d7aa !important;
  border-radius: 6px !important;
  color: #172017 !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 74px minmax(0, 1fr) auto !important;
  padding: 10px !important;
  text-align: left !important;
}

html body .chessora.chessora-clubs-page .chessora-club-lineup-board article > b,
html body .chessora.chessora-clubs-page .chessora-club-ranking-table b,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed button > span {
  background: #233321 !important;
  border-radius: 999px !important;
  color: #fff7dd !important;
  display: inline-flex !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  padding: 6px 8px !important;
}

html body .chessora.chessora-clubs-page .chessora-club-forum-lanes {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 14px 0 !important;
  padding: 12px !important;
}

html body .chessora.chessora-clubs-page .chessora-club-forum-lanes button {
  background: #fffdf7 !important;
  border: 1px solid #ddcc99 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: grid !important;
  gap: 6px !important;
  padding: 11px !important;
  text-align: left !important;
}

html body .chessora.chessora-clubs-page .chessora-club-forum-lanes button:hover,
html body .chessora.chessora-clubs-page .chessora-club-forum-lanes button:focus,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed button:hover,
html body .chessora.chessora-clubs-page .chessora-club-ops-feed button:focus {
  background: #f2d17a !important;
  border-color: #9c7021 !important;
}

@media (max-width: 900px) {
  html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard,
  html body .chessora.chessora-clubs-page .chessora-club-forum-lanes {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  html body .chessora.chessora-forum-page .chessora-forum-side-stack {
    position: static !important;
  }

  body.view-forum .chessora-forum-moderation-stats {
    grid-template-columns: 1fr;
  }
}

/* Phase 4: lightweight achievements */
.chessora-home3-achievements {
  background:
    linear-gradient(135deg, rgba(95, 189, 120, .14), rgba(241, 207, 119, .1)),
    #0c1713;
  border: 1px solid rgba(95, 189, 120, .28);
  border-radius: 8px;
  color: #fff7df;
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 16px;
}

.chessora-home3-achievements header {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.chessora-home3-achievements header p,
body.view-profile .chessora-profile-achievement-list em {
  color: #5fbd78;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .04em;
  margin: 0;
  text-transform: uppercase;
}

.chessora-home3-achievements header h2 {
  color: #fff7df;
  font-size: 1.28rem;
  line-height: 1.16;
  margin: 4px 0 0;
}

.chessora-home3-achievements header span {
  color: #d7e4d9;
  display: block;
  font-weight: 800;
  margin-top: 4px;
}

.chessora-home3-achievements header > strong {
  align-items: center;
  background: #f1cf77;
  border-radius: 50%;
  color: #11140f;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.chessora-home3-achievement-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chessora-home3-achievement {
  background: rgba(7, 15, 13, .68);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 172px;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  position: relative;
  text-decoration: none;
}

.chessora-home3-achievement b {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #f1cf77;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 48px;
}

.chessora-home3-achievement span {
  color: #fff7df;
  font-size: .96rem;
  font-weight: 950;
  line-height: 1.18;
}

.chessora-home3-achievement small {
  color: #cbd6d0;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.35;
}

.chessora-home3-achievement em {
  color: #e7d9af;
  font-size: .75rem;
  font-style: normal;
  font-weight: 900;
}

.chessora-home3-achievement > i {
  background: rgba(241, 207, 119, .18);
  border-radius: 999px;
  display: block;
  height: 5px;
  overflow: hidden;
  position: relative;
}

.chessora-home3-achievement > i::after {
  background: linear-gradient(90deg, #5fbd78, #f1cf77);
  content: "";
  display: block;
  height: 100%;
  width: var(--achievement-progress, 0%);
}

.chessora-home3-achievement.is-earned {
  border-color: rgba(95, 189, 120, .5);
}

.chessora-home3-achievement.is-earned b {
  background: #5fbd78;
  color: #08120c;
  width: 28px;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievements {
  display: grid !important;
  gap: 12px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-progress {
  background: #eef4ef !important;
  border: 1px solid rgba(63, 110, 82, .18) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 5px !important;
  overflow: hidden !important;
  padding: 10px 12px !important;
  position: relative !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-progress strong,
body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-progress span {
  position: relative !important;
  z-index: 1 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-progress strong {
  color: var(--cb-green) !important;
  font-size: 1.15rem !important;
  font-weight: 950 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-progress span {
  color: var(--cb-muted) !important;
  font-weight: 800 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-progress i {
  background: linear-gradient(90deg, rgba(95, 189, 120, .24), rgba(241, 207, 119, .18)) !important;
  bottom: 0 !important;
  left: 0 !important;
  position: absolute !important;
  top: 0 !important;
  width: var(--achievement-total-progress, 0%) !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list {
  display: grid !important;
  gap: 9px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a {
  background: #f8f5ea !important;
  border: 1px solid var(--cb-line) !important;
  border-radius: 8px !important;
  color: var(--cb-ink) !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  overflow: hidden !important;
  padding: 10px !important;
  position: relative !important;
  text-decoration: none !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a > b {
  align-items: center !important;
  background: #e9e0c8 !important;
  border-radius: 999px !important;
  color: #735819 !important;
  display: inline-flex !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  height: 32px !important;
  justify-content: center !important;
  width: 42px !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a.is-earned > b {
  background: #5fbd78 !important;
  color: #07110b !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list span {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list strong {
  color: var(--cb-panel-strong) !important;
  font-size: .94rem !important;
  line-height: 1.18 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list small {
  color: var(--cb-muted) !important;
  font-weight: 750 !important;
  line-height: 1.32 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a > i {
  background: rgba(63, 110, 82, .14) !important;
  bottom: 0 !important;
  height: 4px !important;
  left: 0 !important;
  position: absolute !important;
  right: 0 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a > i::after {
  background: linear-gradient(90deg, #5fbd78, #d6aa3f) !important;
  content: "" !important;
  display: block !important;
  height: 100% !important;
  width: var(--achievement-progress, 0%) !important;
}

@media (max-width: 980px) {
  .chessora-home3-achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .chessora-home3-achievements header,
  .chessora-home3-achievement-grid {
    grid-template-columns: 1fr;
  }

  .chessora-home3-achievements header > strong {
    height: 42px;
    width: 42px;
  }
}

/* Phase 5: mobile polish for dashboard, profile, club, and forum surfaces. */
@media (max-width: 760px) {
  .chessora-home3,
  body.view-profile .chessora.chessora-profile-page,
  html body .chessora.chessora-clubs-page,
  html body .chessora.chessora-forum-page {
    overflow-x: hidden !important;
  }

  .chessora-home3 :where(a, button, input, select, textarea),
  body.view-profile .chessora.chessora-profile-page :where(a, button, input, select, textarea),
  html body .chessora.chessora-clubs-page :where(a, button, input, select, textarea),
  html body .chessora.chessora-forum-page :where(a, button, input, select, textarea) {
    min-height: 44px;
  }

  .chessora-home3 :where(h1, h2, h3, strong, span, small, p, a, button),
  body.view-profile .chessora.chessora-profile-page :where(h1, h2, h3, strong, span, small, p, a, button),
  html body .chessora.chessora-clubs-page :where(h1, h2, h3, strong, span, small, p, a, button),
  html body .chessora.chessora-forum-page :where(h1, h2, h3, strong, span, small, p, a, button) {
    overflow-wrap: anywhere;
  }

  .chessora-home3 {
    gap: 14px !important;
    padding: 12px !important;
  }

  .chessora-home3-shell,
  .chessora-home3-command,
  .chessora-home3-today,
  .chessora-home3-return,
  .chessora-home3-achievements,
  .chessora-home3-play,
  .chessora-home3-bottom article {
    border-radius: 8px !important;
  }

  .chessora-home3-hero,
  .chessora-home3-today,
  .chessora-home3-live-event,
  .chessora-home3-onboarding,
  .chessora-home3-guided,
  .chessora-home3-command,
  .chessora-home3-return,
  .chessora-home3-achievements,
  .chessora-home3-play,
  .chessora-home3-bottom article {
    padding: 14px !important;
  }

  .chessora-home3-actions,
  .chessora-home3-today-action,
  .chessora-home3-command-auth,
  .chessora-home3-return-prompts,
  .chessora-home3-return-cards,
  .chessora-home3-presets,
  .chessora-home3-grid,
  .chessora-home3-bottom,
  .chessora-home3-achievement-grid {
    grid-template-columns: 1fr !important;
  }

  .chessora-home3-actions a,
  .chessora-home3-command-auth a,
  .chessora-home3-today-action,
  .chessora-home3-live-event > a,
  .chessora-home3-onboarding > a,
  .chessora-home3-return-prompts a,
  .chessora-home3-return-cards a,
  .chessora-home3-presets a {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  body.view-profile .chessora.chessora-profile-page {
    gap: 14px !important;
    padding: 10px !important;
  }

  body.view-profile .chessora.chessora-profile-page :where(.chessora-panel, .chessora-card, .chessora-profile-edit) {
    padding: 14px !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-tabs {
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: thin !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-tabs a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-summary,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-panels,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-daily-lists,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-daily-match-grid,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-daily-actions,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-daily-prompt-grid,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-invite,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row {
    grid-template-columns: 1fr !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-daily-actions .chessora-button,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-notification-action,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-dismiss {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  html body .chessora.chessora-clubs-page {
    gap: 14px !important;
    padding: 12px !important;
  }

  html body .chessora.chessora-clubs-page .chessora-clubs-hero,
  html body .chessora.chessora-clubs-page .chessora-club-layout,
  html body .chessora.chessora-clubs-page .chessora-club-card,
  html body .chessora.chessora-clubs-page .chessora-club-filters,
  html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard,
  html body .chessora.chessora-clubs-page .chessora-club-forum-lanes,
  html body .chessora.chessora-clubs-page .chessora-club-lineup-board article,
  html body .chessora.chessora-clubs-page .chessora-club-ranking-table div,
  html body .chessora.chessora-clubs-page .chessora-club-ops-feed button {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-clubs-page .chessora-clubs-hero,
  html body .chessora.chessora-clubs-page .chessora-club-card,
  html body .chessora.chessora-clubs-page .chessora-club-sidebar,
  html body .chessora.chessora-clubs-page .chessora-club-ops-dashboard article,
  html body .chessora.chessora-clubs-page .chessora-club-lineup-board,
  html body .chessora.chessora-clubs-page .chessora-club-ranking-table,
  html body .chessora.chessora-clubs-page .chessora-club-ops-feed,
  html body .chessora.chessora-clubs-page .chessora-club-forum-lanes {
    padding: 14px !important;
  }

  html body .chessora.chessora-clubs-page .chessora-club-card {
    align-items: start !important;
  }

  html body .chessora.chessora-clubs-page .chessora-club-card .chessora-button,
  html body .chessora.chessora-clubs-page .chessora-club-sidebar a,
  html body .chessora.chessora-clubs-page .chessora-club-forum-lanes button {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  html body .chessora.chessora-forum-page {
    padding: 10px 8px 32px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero,
  html body .chessora.chessora-forum-page .chessora-topic-head,
  html body .chessora.chessora-forum-page .chessora-forum-section > header,
  html body .chessora.chessora-forum-page .chessora-forum-topic-list > header,
  html body .chessora.chessora-forum-page .chessora-forum-room,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row,
  html body .chessora.chessora-forum-page .chessora-topic-post,
  html body .chessora.chessora-forum-page .chessora-forum-form,
  html body .chessora.chessora-forum-page .chessora-forum-empty,
  html body .chessora.chessora-forum-page .chessora-forum-side-stack > section {
    padding: 14px !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero,
  html body .chessora.chessora-forum-page .chessora-forum-layout,
  html body .chessora.chessora-forum-page .chessora-forum-room,
  html body .chessora.chessora-forum-page .chessora-forum-topic-row,
  html body .chessora.chessora-forum-page .chessora-topic-post,
  html body .chessora.chessora-forum-page .chessora-forum-section > header,
  html body .chessora.chessora-forum-page .chessora-forum-topic-list > header,
  html body .chessora.chessora-forum-page .chessora-forum-first-post-prompt > div,
  html body .chessora.chessora-forum-page .chessora-forum-room-summary,
  html body .chessora.chessora-forum-page .chessora-forum-room-filters,
  html body .chessora.chessora-forum-page .chessora-forum-game-embed {
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-head-stat,
  html body .chessora.chessora-forum-page .chessora-forum-head-last,
  html body .chessora.chessora-forum-page .chessora-forum-room-stat,
  html body .chessora.chessora-forum-page .chessora-forum-last {
    display: none !important;
  }

  html body .chessora.chessora-forum-page .chessora-forum-hero-actions,
  html body .chessora.chessora-forum-page .chessora-topic-head > div,
  html body .chessora.chessora-forum-page .chessora-forum-pagination,
  html body .chessora.chessora-forum-page .chessora-forum-topic-mod-actions,
  html body .chessora.chessora-forum-page .chessora-forum-post-mod-actions {
    align-items: stretch !important;
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: 1fr !important;
  }

  html body .chessora.chessora-forum-page .chessora-button,
  html body .chessora.chessora-forum-page .chessora-button-primary,
  html body .chessora.chessora-forum-page .chessora-forum-topic-copy,
  html body .chessora.chessora-forum-page .chessora-forum-empty-action,
  html body .chessora.chessora-forum-page .chessora-forum-sidebar-action,
  html body .chessora.chessora-forum-page .chessora-forum-pagination a,
  html body .chessora.chessora-forum-page .chessora-forum-pagination span {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .chessora-home3 h1,
  html body .chessora.chessora-forum-page .chessora-forum-hero h1,
  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1,
  html body .chessora.chessora-clubs-page .chessora-clubs-hero h1 {
    font-size: 1.8rem !important;
    line-height: 1.12 !important;
  }

  .chessora-home3-stats,
  .chessora-home3-today-stats,
  .chessora-home3-live-event-stats,
  body.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats,
  body.view-profile .chessora.chessora-profile-page .chessora-profile-daily-stats,
  html body .chessora.chessora-forum-page .chessora-forum-eligibility-meter,
  body.view-forum .chessora-forum-moderation-stats {
    grid-template-columns: 1fr !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  body.view-profile .chessora.chessora-profile-page .chessora-profile-achievement-list a > b {
    height: 30px !important;
    width: 34px !important;
  }
}

/* 20260605-phase5-trust-polish-1 */
.chessora-trust-link-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chessora-trust-link-row a,
.chessora-profile-trust-links a {
  align-items: center;
  border: 1px solid rgba(35, 65, 110, 0.16);
  border-radius: 999px;
  color: #23416e;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
  text-decoration: none;
}

.chessora-trust-link-row a:hover,
.chessora-profile-trust-links a:hover {
  background: rgba(35, 65, 110, 0.08);
}

.chessora-register-trust-card a,
.chessora-fair-play-agreement a {
  color: #23416e;
  font-weight: 800;
}

.chessora-profile-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.chessora-trust-shortcuts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chessora-trust-shortcuts a {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 65, 110, 0.14);
  border-radius: 8px;
  color: #182b49;
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 13px 14px;
  text-decoration: none;
}

.chessora-trust-shortcuts a:hover {
  border-color: rgba(35, 65, 110, 0.34);
  transform: translateY(-1px);
}

.chessora-trust-shortcuts strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.chessora-trust-shortcuts span {
  color: #607089;
  font-size: 0.82rem;
  line-height: 1.35;
}

.chessora-button.chessora-button-quiet {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(35, 65, 110, 0.18);
  color: #23416e;
}

body.view-forum .chessora-forum-report-box form small {
  color: #607089;
  font-size: 0.8rem;
  line-height: 1.35;
}

.chessora-guest-save-progress,
.chessora-result-conversion,
.chessora-empty-conversion,
.chessora-game-invite-link {
  border-radius: 8px;
  display: grid;
  gap: 10px;
  line-height: 1.35;
}

.chessora-guest-save-progress,
.chessora-result-conversion {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 65, 110, 0.14);
  color: #182b49;
  margin-top: 14px;
  padding: 14px;
}

.chessora-guest-save-progress strong,
.chessora-result-conversion strong,
.chessora-empty-conversion strong,
.chessora-game-invite-link strong {
  color: #182b49;
  font-size: 0.95rem;
}

.chessora-guest-save-progress span,
.chessora-result-conversion span,
.chessora-empty-conversion span {
  color: #607089;
  font-size: 0.84rem;
}

.chessora-guest-save-progress > div,
.chessora-result-conversion > div,
.chessora-empty-conversion {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chessora-empty-conversion {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 65, 110, 0.12);
  justify-content: center;
  margin-top: 12px;
  padding: 12px;
}

.chessora-game-invite-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
  padding: 12px;
}

.chessora-game-invite-link strong {
  color: #f7f0dc;
}

.chessora-game-invite-link input {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 65, 110, 0.18);
  border-radius: 8px;
  color: #182b49;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

@media (max-width: 760px) {
  .chessora-register-confidence,
  .chessora-home3-visitor-path,
  .chessora-home3-visitor-grid {
    grid-template-columns: 1fr;
  }

  .chessora-home3-visitor-actions {
    align-items: stretch;
  }

  .chessora-home3-visitor-actions a {
    width: 100%;
  }

  .chessora-trust-shortcuts {
    grid-template-columns: 1fr;
  }

  .chessora-trust-link-row,
  .chessora-profile-trust-links {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .chessora-trust-link-row a,
  .chessora-profile-trust-links a {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .chessora-guest-save-progress > div,
  .chessora-result-conversion > div,
  .chessora-empty-conversion {
    align-items: stretch;
    flex-direction: column;
  }

  .chessora-guest-save-progress a,
  .chessora-result-conversion a,
  .chessora-empty-conversion a {
    justify-content: center;
    width: 100%;
  }
}

/* 20260605-phase6-mobile-qa-1 */
@media (max-width: 640px) {
  .chessora-register-page,
  .chessora-register-page *,
  .chessora-challenges-page,
  .chessora-challenges-page *,
  body.view-game .chessora-game-room,
  body.view-game .chessora-game-room * {
    min-width: 0;
  }

  .chessora-register-page :where(input, select, textarea, button, .chessora-button),
  .chessora-challenges-page :where(input, select, textarea, button, .chessora-button),
  body.view-game .chessora-game-room :where(input, select, textarea, button, .chessora-button) {
    max-width: 100%;
  }

  .chessora-register-page :where(.chessora-tabs, .chessora-register-hero, .chessora-register-layout, .chessora-register-grid),
  .chessora-challenges-page :where(.chessora-tabs, .chessora-page-head, .chessora-lobby-tabs, .chessora-seek-toolbar, .chessora-seek-detail dl, .chessora-seek-detail dl div),
  body.view-game .chessora-game-room :where(.chessora-game-actions, .chessora-result-primary-actions, .chessora-result-secondary-actions, .chessora-game-invite-link) {
    grid-template-columns: 1fr !important;
  }

  .chessora-register-page :where(.chessora-tabs, .chessora-register-hero),
  .chessora-challenges-page :where(.chessora-tabs, .chessora-page-head, .chessora-lobby-tabs, .chessora-seek-toolbar),
  body.view-game .chessora-game-room :where(.chessora-game-actions, .chessora-result-primary-actions, .chessora-result-secondary-actions) {
    align-items: stretch !important;
    display: grid !important;
    gap: 8px !important;
  }

  .chessora-register-page :where(.chessora-tabs a, .chessora-button),
  .chessora-challenges-page :where(.chessora-tabs a, .chessora-lobby-tabs button, .chessora-button),
  body.view-game .chessora-game-room :where(.chessora-button, button) {
    justify-content: center !important;
    min-height: 44px;
    overflow-wrap: anywhere;
    text-align: center !important;
    white-space: normal !important;
    width: 100%;
  }

  .chessora-challenges-page .chessora-seek-legend,
  .chessora-challenges-page .chessora-seek-legend > div,
  .chessora-game-invite-link input {
    width: 100%;
  }
}

/* 20260606 live-board polish: final scoped overrides. */
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
  align-self: start !important;
  max-height: min(calc(100vh - 108px), calc(var(--room-board-size, 680px) + 128px)) !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel {
  max-height: min(calc(100vh - 118px), calc(var(--room-board-size, 680px) + 118px)) !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

.chessora-bot-name-icon {
  align-items: center;
  background: rgba(240, 198, 94, .18);
  border: 1px solid rgba(240, 198, 94, .72);
  border-radius: 4px;
  color: transparent;
  display: inline-flex;
  font-size: 1em;
  height: .9em;
  justify-content: center;
  line-height: 1;
  margin-left: 5px;
  min-width: 1.16em;
  position: relative;
  vertical-align: -.02em;
}

.chessora-bot-name-icon::before {
  background: #f4cf74;
  border-radius: 1px;
  bottom: -4px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 8px;
}

.chessora-bot-name-icon::after {
  background: rgba(255, 247, 223, .78);
  border-radius: 999px;
  content: "";
  height: 2px;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 2px;
}

.chessora-result-next > span,
.chessora-result-next > strong {
  display: none !important;
}

.chessora-moves li.chessora-move-opening {
  grid-template-columns: 1fr !important;
}

.chessora-move-opening > strong {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body.view-game .chessora-move-panel .chessora-moves > li.chessora-move-opening {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.view-game .chessora-move-panel .chessora-move-opening > span,
body.view-game .chessora-move-panel .chessora-move-opening > strong {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}

/* 20260606 analysis replay speed and full-width opening rows. */
body.view-analysis .chessora-analysis-controls {
	grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(74px, .8fr);
}

body.view-analysis .chessora-analysis-replay-speed {
	align-items: center;
	background: #171717;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 7px;
	color: #fff7df;
	display: grid;
	gap: 2px;
	min-height: 38px;
	padding: 3px 7px;
}

body.view-analysis .chessora-analysis-replay-speed span {
	color: #9fb0aa;
	font-size: .58rem;
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
}

body.view-analysis .chessora-analysis-replay-speed select {
	appearance: auto;
	background: transparent;
	border: 0;
	color: #fff7df;
	font-size: .8rem;
	font-weight: 950;
	line-height: 1.1;
	min-width: 0;
	outline: 0;
	padding: 0;
	width: 100%;
}

body.view-analysis .chessora-analysis-controls .is-primary {
	grid-column: 1 / -1;
}

body.view-game .chessora-game-room .chessora-move-panel .chessora-moves {
	grid-template-columns: 1fr !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.view-game .chessora-game-room .chessora-move-panel .chessora-moves > li.chessora-move-opening {
	grid-column: 1 / -1 !important;
	justify-self: stretch !important;
	min-width: 0 !important;
	width: 100% !important;
}

body.view-game .chessora-game-room .chessora-move-panel .chessora-move-opening > strong {
	font-size: .82rem !important;
	line-height: 1.22 !important;
	overflow-wrap: anywhere !important;
	white-space: normal !important;
}

/* 20260606 live-board column separation: keep the tool rail out of the board. */
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
	column-gap: 28px !important;
	grid-template-columns: minmax(0, calc(var(--room-board-size) + 96px)) minmax(340px, 420px) !important;
	justify-content: center !important;
	max-width: min(100%, calc(var(--room-board-size) + 544px)) !important;
	overflow: visible !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	margin-left: 0 !important;
	min-width: 340px !important;
	position: relative !important;
	z-index: 2 !important;
}

body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	max-width: calc(var(--room-board-size) + 96px) !important;
	position: relative !important;
	width: calc(var(--room-board-size) + 96px) !important;
	z-index: 1 !important;
}

@media (max-width: 1180px) {
	body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
		grid-template-columns: minmax(0, calc(var(--room-board-size) + 96px)) !important;
		max-width: calc(var(--room-board-size) + 128px) !important;
	}

	body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
		max-width: var(--room-board-size) !important;
		min-width: 0 !important;
		width: var(--room-board-size) !important;
	}
}

/* 20260606 analysis move list: one full move per row. */
body.view-analysis .chessora-analysis-moves {
	display: grid !important;
	gap: 6px !important;
}

body.view-analysis .chessora-analysis-move-row {
	align-items: stretch !important;
	display: grid !important;
	gap: 6px !important;
	grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr) !important;
}

body.view-analysis .chessora-analysis-move-number {
	align-items: center !important;
	color: #9fb0aa !important;
	display: inline-flex !important;
	font-weight: 950 !important;
	justify-content: center !important;
}

body.view-analysis .chessora-analysis-move {
	align-items: center !important;
	display: grid !important;
	gap: 6px !important;
	grid-template-columns: minmax(0, 1fr) 2.5ch auto !important;
	min-width: 0 !important;
}

body.view-analysis .chessora-analysis-move span {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.view-analysis .chessora-analysis-move.is-active {
	background: #064d47 !important;
	border-color: #12d6c7 !important;
	box-shadow: inset 3px 0 0 #12d6c7 !important;
}

.chessora-profile-analysed-games {
  background:
    radial-gradient(circle at 92% 10%, rgba(16, 195, 198, .16), transparent 32%),
    linear-gradient(180deg, rgba(244, 207, 116, .07), transparent 34%),
    #101715;
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.chessora-profile-analysed-games .chessora-panel-head {
  align-items: start;
  gap: 14px;
}

.chessora-profile-analysed-games .chessora-panel-head div {
  display: grid;
  gap: 4px;
}

.chessora-profile-analysed-games .chessora-panel-head p {
  color: #dce7e2 !important;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.chessora-profile-analysed-games .chessora-panel-head > span {
  background: rgba(244, 207, 116, .18);
  border: 1px solid rgba(244, 207, 116, .5);
  border-radius: 999px;
  color: #fff1b8 !important;
  font-size: .68rem;
  font-weight: 950;
  padding: 6px 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

.chessora-profile-analysed-list {
  display: grid;
  gap: 8px;
}

.chessora-profile-analysed-empty {
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr);
  text-align: left;
}

.chessora-profile-analysed-empty strong,
.chessora-profile-analysed-empty > span:not(.chessora-profile-analysed-icon) {
  grid-column: 2;
}

.chessora-profile-analysed-icon,
.chessora-profile-analysed-badge {
  align-items: center;
  background: radial-gradient(circle at 35% 30%, #fff7df, #f4cf74 44%, #8b611d);
  border: 1px solid rgba(255, 247, 223, .45);
  border-radius: 50%;
  color: #07110e;
  display: inline-flex;
  font-size: .7rem;
  font-weight: 950;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.chessora-profile-analysed-empty .chessora-profile-analysed-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.chessora-profile-analysed-row {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(20, 199, 151, .14), transparent 54%),
    #07150f;
  border: 1px solid rgba(244, 207, 116, .38);
  border-radius: 8px;
  color: #fff7df !important;
  display: grid;
  gap: 14px;
  grid-template-columns: 40px minmax(230px, .75fr) minmax(300px, .85fr) minmax(104px, auto);
  min-height: 70px;
  padding: 12px;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.chessora-profile-analysed-accuracy {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  min-width: 300px;
}

.chessora-profile-analysed-accuracy span {
  min-height: 38px;
}

.chessora-profile-analysed-row:hover,
.chessora-profile-analysed-row:focus {
  background:
    linear-gradient(90deg, rgba(16, 195, 198, .18), transparent 60%),
    rgba(10, 22, 18, .9);
  border-color: rgba(20, 199, 151, .58);
  color: #fff7df;
  transform: translateY(-1px);
}

.chessora-profile-analysed-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.chessora-profile-analysed-body span {
  color: #9bd7ff !important;
  font-size: .7rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.chessora-profile-analysed-body strong {
  color: #fff7df !important;
  font-size: .98rem;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chessora-profile-analysed-body small {
  color: #dce7e2 !important;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.2;
}

.chessora-profile-analysed-action {
  background: rgba(244, 207, 116, .18);
  border: 1px solid rgba(244, 207, 116, .48);
  border-radius: 7px;
  color: #fff7df !important;
  font-size: .72rem;
  font-weight: 950;
  padding: 8px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .chessora-profile-analysed-row {
    grid-template-columns: 40px minmax(0, 1fr) minmax(220px, .7fr);
  }

  .chessora-profile-analysed-action {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .chessora-profile-analysed-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .chessora-profile-analysed-accuracy {
    grid-column: 2;
    justify-self: stretch;
  }

  .chessora-profile-analysed-action {
    grid-column: 2;
    justify-self: start;
  }
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-games {
  background:
    radial-gradient(circle at 92% 10%, rgba(16, 195, 198, .16), transparent 32%),
    linear-gradient(180deg, rgba(244, 207, 116, .07), transparent 34%),
    #101715 !important;
  color: #fff7df !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-games .chessora-panel-head h2 {
  color: #fff7df !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-games .chessora-panel-head p {
  color: #dce7e2 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-games .chessora-panel-head > span {
  color: #fff1b8 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-row,
body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-row:visited {
  background:
    linear-gradient(90deg, rgba(20, 199, 151, .14), transparent 54%),
    #07150f !important;
  color: #fff7df !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-body span {
  color: #9bd7ff !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-body strong,
body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-body small,
body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-action,
body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-action strong {
  color: #fff7df !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-body small {
  color: #dce7e2 !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-accuracy b {
  color: #f2d98c !important;
}

body.view-profile .chessora.chessora-profile-page .chessora-profile-analysed-accuracy strong {
  color: #ffffff !important;
}

/* 20260606-forum-posting-access-contrast-1 */
html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility {
  background: #fff8e6 !important;
  border: 1px solid #d6ad46 !important;
  border-left: 5px solid #f1c85b !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
  color: #1a1203 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility.is-locked {
  background: #fff3cf !important;
  border-color: #d09a25 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility p {
  color: #6b4b08 !important;
  letter-spacing: 0.08em;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility h2 {
  color: #0f172a !important;
  text-shadow: none !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility span {
  color: #263242 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility-meter span {
  background: #ffffff !important;
  border: 1px solid #c9972a !important;
  color: #172033 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility-meter strong {
  color: #8a5a00 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility-meter small {
  color: #3c4a5f !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-eligibility .chessora-button-primary {
  background: #1f6fd1 !important;
  border-color: #1f6fd1 !important;
  color: #ffffff !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-trust-shortcuts a {
  background: #f8fafc !important;
  border: 1px solid #b8c4d4 !important;
  color: #111827 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-trust-shortcuts a:hover,
html body.view-forum .chessora.chessora-forum-page .chessora-forum-trust-shortcuts a:focus-visible {
  background: #ffffff !important;
  border-color: #64748b !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-trust-shortcuts strong {
  color: #020617 !important;
}

html body.view-forum .chessora.chessora-forum-page .chessora-forum-trust-shortcuts span {
  color: #1f2937 !important;
}

/* 20260606-profile-club-themes-1 */
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] {
  --profile-theme-bg: #151c24;
  --profile-theme-panel: #1b252d;
  --profile-theme-panel-soft: #202c35;
  --profile-theme-line: rgba(214, 162, 59, .28);
  --profile-theme-accent: #d6a23b;
  --profile-theme-accent-2: #f1d078;
  --profile-theme-text: #f5efd9;
  --profile-theme-muted: #c3cbc8;
  background:
    radial-gradient(circle at 18% 0, color-mix(in srgb, var(--profile-theme-accent) 22%, transparent), transparent 32%),
    linear-gradient(180deg, var(--profile-theme-bg), color-mix(in srgb, var(--profile-theme-bg) 84%, #000 16%)) !important;
  color: var(--profile-theme-text) !important;
}

body.view-profile .shell-page:has(.chessora-profile-page[class*="chessora-profile-theme-"]),
body.view-profile .shell-component-card:has(.chessora-profile-page[class*="chessora-profile-theme-"]) {
  background: color-mix(in srgb, var(--profile-theme-bg, #151c24) 90%, #000 10%) !important;
}

body.view-profile .chessora.chessora-profile-page.chessora-profile-theme-royal {
  --profile-theme-bg: #20170a;
  --profile-theme-panel: #2d210f;
  --profile-theme-panel-soft: #3a2b13;
  --profile-theme-line: rgba(243, 199, 93, .42);
  --profile-theme-accent: #e7b947;
  --profile-theme-accent-2: #ffe29a;
  --profile-theme-text: #fff5d5;
  --profile-theme-muted: #e4d2a7;
}

body.view-profile .chessora.chessora-profile-page.chessora-profile-theme-forest {
  --profile-theme-bg: #102018;
  --profile-theme-panel: #172b20;
  --profile-theme-panel-soft: #1f3a2b;
  --profile-theme-line: rgba(102, 188, 126, .38);
  --profile-theme-accent: #68be7d;
  --profile-theme-accent-2: #bde9b8;
  --profile-theme-text: #eef8e9;
  --profile-theme-muted: #bed2bf;
}

body.view-profile .chessora.chessora-profile-page.chessora-profile-theme-midnight {
  --profile-theme-bg: #0c1324;
  --profile-theme-panel: #111b31;
  --profile-theme-panel-soft: #182643;
  --profile-theme-line: rgba(111, 159, 238, .38);
  --profile-theme-accent: #6f9fee;
  --profile-theme-accent-2: #c0d4ff;
  --profile-theme-text: #edf3ff;
  --profile-theme-muted: #bbc6dd;
}

body.view-profile .chessora.chessora-profile-page.chessora-profile-theme-crimson {
  --profile-theme-bg: #251015;
  --profile-theme-panel: #34171d;
  --profile-theme-panel-soft: #481f28;
  --profile-theme-line: rgba(236, 95, 116, .42);
  --profile-theme-accent: #ee5c74;
  --profile-theme-accent-2: #ffb2bf;
  --profile-theme-text: #fff0f2;
  --profile-theme-muted: #e5bcc2;
}

body.view-profile .chessora.chessora-profile-page.chessora-profile-theme-ice {
  --profile-theme-bg: #eaf3f7;
  --profile-theme-panel: #ffffff;
  --profile-theme-panel-soft: #eef7fb;
  --profile-theme-line: rgba(55, 135, 171, .28);
  --profile-theme-accent: #3787ab;
  --profile-theme-accent-2: #80c8e5;
  --profile-theme-text: #172b36;
  --profile-theme-muted: #536b75;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-cb-profile-hero,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(.chessora-panel, .chessora-card, .chessora-profile-edit),
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-summary-cards article,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-section-tabs {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--profile-theme-accent) 12%, transparent), transparent 48%),
    var(--profile-theme-panel) !important;
  border-color: var(--profile-theme-line) !important;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--profile-theme-bg) 50%, transparent) !important;
  color: var(--profile-theme-text) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-cb-profile-cover {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--profile-theme-bg) 84%, transparent), color-mix(in srgb, var(--profile-theme-bg) 20%, transparent)),
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--profile-theme-accent-2) 36%, transparent), transparent 34%),
    linear-gradient(135deg, var(--profile-theme-panel-soft), var(--profile-theme-accent)) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(h1, h2, h3, strong, b),
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-cb-profile-title h1 {
  color: var(--profile-theme-text) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(p, span, small, figcaption),
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-cb-profile-title span,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-panel-head p {
  color: var(--profile-theme-muted) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-avatar {
  background: var(--profile-theme-panel-soft) !important;
  border-color: var(--profile-theme-accent-2) !important;
  box-shadow: 0 16px 38px color-mix(in srgb, var(--profile-theme-bg) 62%, transparent) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(.chessora-button, .chessora-profile-social-action, .chessora-profile-section-tabs button) {
  border-color: var(--profile-theme-line) !important;
  color: var(--profile-theme-text) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(.chessora-button:hover, .chessora-profile-section-tabs button.is-active) {
  background: color-mix(in srgb, var(--profile-theme-accent) 18%, transparent) !important;
  border-color: var(--profile-theme-accent) !important;
  color: var(--profile-theme-accent-2) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-options {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--profile-theme-accent) 12%, transparent), transparent 54%),
    #ffffff !important;
  border: 1px solid #d6dde7 !important;
  border-radius: 8px !important;
  color: #132033 !important;
  cursor: pointer !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  min-height: 92px !important;
  padding: 12px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview {
  background: var(--profile-theme-panel) !important;
  border: 1px solid color-mix(in srgb, var(--profile-theme-accent) 58%, #ffffff 42%) !important;
  border-radius: 7px !important;
  display: grid !important;
  gap: 5px !important;
  height: 58px !important;
  padding: 7px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview i,
html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview b,
html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview em {
  background: var(--profile-theme-accent) !important;
  border-radius: 999px !important;
  display: block !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview i {
  height: 10px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview b {
  background: var(--profile-theme-accent-2, var(--profile-theme-accent)) !important;
  height: 18px !important;
  width: 32px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-preview em {
  height: 6px !important;
  opacity: .72 !important;
  width: 40px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card strong {
  color: #0f172a !important;
  display: block !important;
  font-size: .95rem !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card small {
  color: #526173 !important;
  display: block !important;
  font-size: .8rem !important;
  line-height: 1.3 !important;
  margin-top: 3px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card:has(input:checked) {
  border-color: var(--profile-theme-accent) !important;
  box-shadow: inset 0 0 0 2px var(--profile-theme-accent), 0 12px 24px rgba(15, 23, 42, .12) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card-classic {
  --profile-theme-accent: #d6a23b;
  --profile-theme-accent-2: #f1d078;
  --profile-theme-panel: #1b252d;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card-royal {
  --profile-theme-accent: #e7b947;
  --profile-theme-accent-2: #ffe29a;
  --profile-theme-panel: #3a2b13;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card-forest {
  --profile-theme-accent: #68be7d;
  --profile-theme-accent-2: #bde9b8;
  --profile-theme-panel: #172b20;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card-midnight {
  --profile-theme-accent: #6f9fee;
  --profile-theme-accent-2: #c0d4ff;
  --profile-theme-panel: #111b31;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card-crimson {
  --profile-theme-accent: #ee5c74;
  --profile-theme-accent-2: #ffb2bf;
  --profile-theme-panel: #34171d;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-card-ice {
  --profile-theme-accent: #3787ab;
  --profile-theme-accent-2: #80c8e5;
  --profile-theme-panel: #ffffff;
}

/* 20260606-profile-club-themes-2 */
html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-group {
  grid-column: 1 / -1 !important;
  margin-top: 2px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-group > header {
  margin-bottom: 10px !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-profile-theme-group > header strong {
  color: var(--settings-ink) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-options {
  grid-template-columns: repeat(auto-fit, minmax(150px, 180px)) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card {
  aspect-ratio: 1 / 1 !important;
  align-content: start !important;
  grid-template-rows: minmax(0, 1fr) auto auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-preview {
  aspect-ratio: 1 / 1 !important;
  background:
    conic-gradient(from 90deg, var(--theme-dark) 0 25%, var(--theme-light) 0 50%, var(--theme-dark) 0 75%, var(--theme-light) 0) 0 0 / 25% 25% !important;
  border-color: rgba(23, 32, 51, .18) !important;
  height: auto !important;
  max-height: none !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-preview i {
  display: none !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-progress,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-feed a,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-feed .is-empty,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-realm-path,
body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-rating-graph {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--profile-theme-accent) 10%, transparent), transparent 52%),
    color-mix(in srgb, var(--profile-theme-panel-soft) 86%, var(--profile-theme-bg) 14%) !important;
  border-color: var(--profile-theme-line) !important;
  color: var(--profile-theme-text) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a {
  box-shadow: inset 4px 0 0 color-mix(in srgb, var(--profile-theme-accent) 72%, transparent) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a > b {
  background: color-mix(in srgb, var(--profile-theme-accent) 18%, var(--profile-theme-panel) 82%) !important;
  border-color: var(--profile-theme-line) !important;
  color: var(--profile-theme-accent-2) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a.is-earned > b {
  background: var(--profile-theme-accent) !important;
  color: color-mix(in srgb, var(--profile-theme-bg) 88%, #000 12%) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a > i {
  background: color-mix(in srgb, var(--profile-theme-bg) 70%, var(--profile-theme-panel) 30%) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a > i::after {
  background: linear-gradient(90deg, var(--profile-theme-accent), var(--profile-theme-accent-2)) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-rating-graph :where(line, text) {
  color: var(--profile-theme-muted) !important;
  stroke: color-mix(in srgb, var(--profile-theme-muted) 54%, transparent) !important;
}

body.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-rating-graph :where(polyline, circle) {
  stroke: var(--profile-theme-accent) !important;
}

/* 20260606-board-theme-card-contrast-1 */
html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card {
  background: #17201c !important;
  border-color: rgba(241, 207, 119, .34) !important;
  gap: 0 !important;
  padding: 10px !important;
  position: relative !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card:has(input:checked) {
  border-color: #f1cf77 !important;
  box-shadow: 0 0 0 3px rgba(241, 207, 119, .28), 0 18px 36px rgba(0, 0, 0, .22) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card input {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, .38) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28) !important;
  z-index: 3 !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-preview {
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 6px !important;
  grid-row: 1 / -1 !important;
  min-height: 0 !important;
  width: 100% !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card span:last-of-type {
  align-self: end !important;
  background: linear-gradient(180deg, rgba(7, 17, 15, .72), rgba(7, 17, 15, .94)) !important;
  border: 1px solid rgba(241, 207, 119, .22) !important;
  border-radius: 6px !important;
  display: grid !important;
  gap: 3px !important;
  margin: -62px 8px 8px !important;
  min-height: 54px !important;
  padding: 8px 9px !important;
  position: relative !important;
  z-index: 2 !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card strong {
  color: #fff8e6 !important;
  font-size: .9rem !important;
  line-height: 1.1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55) !important;
}

html body.chessora-shell.view-settings .chessora.chessora-settings-page .chessora-theme-card small {
  color: #e8dec2 !important;
  font-size: .72rem !important;
  font-weight: 750 !important;
  line-height: 1.22 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55) !important;
}

/* 20260606-live-board-chrome-safe-column */
html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
  column-gap: 32px !important;
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(0, calc(var(--room-board-size) + 180px)) minmax(340px, 420px) !important;
  justify-content: center !important;
  max-width: min(100%, calc(var(--room-board-size) + 632px)) !important;
  overflow: visible !important;
  width: 100% !important;
}

html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
  grid-column: 1 !important;
  justify-self: end !important;
  max-width: calc(var(--room-board-size) + 180px) !important;
  overflow: visible !important;
  width: calc(var(--room-board-size) + 180px) !important;
}

html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
  max-width: calc(var(--room-board-size) + 180px) !important;
  width: calc(var(--room-board-size) + 180px) !important;
}

html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
  grid-column: 2 !important;
  justify-self: start !important;
  margin-left: 0 !important;
  min-width: 340px !important;
  width: min(420px, 100%) !important;
}

@media (max-width: 1180px) {
  html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
    display: grid !important;
    grid-template-columns: minmax(0, calc(var(--room-board-size) + 180px)) !important;
    max-width: calc(var(--room-board-size) + 212px) !important;
  }

  html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
    grid-column: 1 !important;
    justify-self: center !important;
    max-width: calc(var(--room-board-size) + 180px) !important;
    width: calc(var(--room-board-size) + 180px) !important;
  }

  html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
    max-width: var(--room-board-size) !important;
    min-width: 0 !important;
    width: var(--room-board-size) !important;
  }
}

/* 20260606-live-board-nonshrinking-columns */
body.view-game .chessora-game-room:not(.is-creating-game) {
  --room-board-frame-width: calc(var(--room-board-size) + 96px);
  --room-side-width: clamp(340px, 24vw, 420px);
}

html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
  column-gap: 32px !important;
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: var(--room-board-frame-width) var(--room-side-width) !important;
  justify-content: center !important;
  max-width: none !important;
  overflow: visible !important;
  width: fit-content !important;
}

html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area,
html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
  --room-board-size: inherit !important;
  grid-column: 1 !important;
  max-width: var(--room-board-frame-width) !important;
  width: var(--room-board-frame-width) !important;
}

html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
  grid-column: 2 !important;
  justify-self: start !important;
  margin-left: 0 !important;
  min-width: 0 !important;
  width: var(--room-side-width) !important;
}

@media (max-width: 1180px) {
  html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
    grid-template-columns: var(--room-board-frame-width) !important;
    width: fit-content !important;
  }

  html body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
  body.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
    grid-column: 1 !important;
    width: min(var(--room-board-frame-width), 100%) !important;
  }
}

/* 20260607-profile-theme-contrast-1 */
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] {
  --profile-readable-panel: color-mix(in srgb, var(--profile-theme-panel, #111c18) 88%, #000 12%);
  --profile-readable-panel-soft: color-mix(in srgb, var(--profile-theme-panel-soft, #17241f) 86%, #000 14%);
  --profile-readable-text: var(--profile-theme-text, #fff7df);
  --profile-readable-muted: var(--profile-theme-muted, #dbe6db);
  --profile-readable-strong: var(--profile-theme-accent-2, #f1cf77);
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(.chessora-profile-advanced-summary article, .chessora-profile-advanced-grid section, .chessora-profile-opening-spotlights article, .chessora-profile-opening-empty, .chessora-profile-achievement-progress, .chessora-profile-achievement-list a, .chessora-realm-path, .chessora-badge-grid figure) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--profile-theme-accent, #d6a748) 10%, transparent), transparent 58%),
    var(--profile-readable-panel) !important;
  border-color: var(--profile-theme-line, rgba(229, 180, 77, .28)) !important;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--profile-theme-bg, #07110f) 54%, transparent) !important;
  color: var(--profile-readable-text) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(.chessora-profile-advanced-summary article span, .chessora-profile-advanced-summary article small, .chessora-profile-stat-row span, .chessora-profile-stat-row small, .chessora-profile-advanced-note p, .chessora-profile-opening-empty p, .chessora-profile-achievement-progress span, .chessora-profile-achievement-list small, .chessora-profile-achievement-list em, .chessora-realm-path-copy small, .chessora-badge-grid figcaption, .chessora-badge-grid span) {
  color: var(--profile-readable-muted) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--profile-readable-muted) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] :where(.chessora-profile-advanced-summary article strong, .chessora-profile-advanced-grid h3, .chessora-profile-stat-row strong, .chessora-profile-advanced-note strong, .chessora-profile-achievement-progress strong, .chessora-profile-achievement-list strong, .chessora-realm-path-copy strong, .chessora-realm-path-level, .chessora-badge-grid strong) {
  color: var(--profile-readable-strong) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--profile-readable-strong) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-advanced-summary article strong {
  font-size: clamp(1.7rem, 3vw, 2.05rem) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-advanced-grid section p {
  color: var(--profile-readable-muted) !important;
  -webkit-text-fill-color: var(--profile-readable-muted) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-stat-row i,
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-progress i,
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a > i,
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-realm-meter {
  background: color-mix(in srgb, var(--profile-theme-bg, #07110f) 72%, var(--profile-theme-panel, #111c18) 28%) !important;
  border: 1px solid color-mix(in srgb, var(--profile-theme-line, rgba(229, 180, 77, .28)) 72%, transparent) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-stat-row i b,
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-progress i::after,
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a > i::after,
html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-realm-meter span {
  background: linear-gradient(90deg, var(--profile-theme-accent, #d6a748), var(--profile-theme-accent-2, #f1cf77)) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a > b {
  background: color-mix(in srgb, var(--profile-theme-accent, #d6a748) 18%, var(--profile-readable-panel) 82%) !important;
  border: 1px solid var(--profile-theme-line, rgba(229, 180, 77, .28)) !important;
  color: var(--profile-readable-strong) !important;
  -webkit-text-fill-color: var(--profile-readable-strong) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page[class*="chessora-profile-theme-"] .chessora-profile-achievement-list a.is-earned > b {
  background: var(--profile-theme-accent, #d6a748) !important;
  color: color-mix(in srgb, var(--profile-theme-bg, #07110f) 92%, #000 8%) !important;
  -webkit-text-fill-color: color-mix(in srgb, var(--profile-theme-bg, #07110f) 92%, #000 8%) !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page.chessora-profile-theme-ice {
  --profile-readable-panel: #ffffff;
  --profile-readable-panel-soft: #eef7fb;
  --profile-readable-text: #10212a;
  --profile-readable-muted: #405a65;
  --profile-readable-strong: #155f7f;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page.chessora-profile-theme-ice .chessora-panel-head h2 {
  color: #0f4f6a !important;
  -webkit-text-fill-color: #0f4f6a !important;
}

html body.chessora-shell.view-profile .chessora.chessora-profile-page.chessora-profile-theme-ice .chessora-panel-head span {
  background: #fff7e3 !important;
  border-color: rgba(217, 155, 43, 0.34) !important;
  color: #9a661c !important;
  -webkit-text-fill-color: #9a661c !important;
}

/* 20260607-broadcast-full-width-event-rail-2 */
body.view-broadcasts .chessora-broadcasts-page {
  max-width: min(1840px, calc(100vw - 32px)) !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-layout {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcast-main,
body.view-broadcasts .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcast-grid {
  min-width: 0 !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-list {
  align-items: stretch !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: auto repeat(auto-fit, minmax(230px, 1fr)) !important;
  position: static !important;
  top: auto !important;
}

body.view-broadcasts .chessora-broadcast-list header {
  align-content: center !important;
  border: 0 !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 160px !important;
  padding: 0 12px 0 0 !important;
}

body.view-broadcasts .chessora-broadcast-list > p {
  grid-column: 1 / -1 !important;
}

body.view-broadcasts .chessora-broadcast-list a {
  min-height: 104px !important;
}

body.view-broadcasts .chessora-broadcast-live-room {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) {
  min-height: 0 !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header {
  align-items: start !important;
  display: grid !important;
  gap: 8px !important;
  min-height: 0 !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header strong {
  color: var(--broadcast-text) !important;
  font-size: 0.96rem !important;
  line-height: 1.25 !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) > header span {
  color: var(--broadcast-gold-strong) !important;
}

body.view-broadcasts .chessora-broadcast-board-card:not(.is-selected) .chessora-broadcast-board-status {
  align-items: start !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive {
  padding: 10px !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive > header {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-board-wrap,
body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive .chessora-club-pgn-board {
  margin-inline: auto !important;
}

body.view-broadcasts .chessora-broadcast-table-scroll {
  background: #fffdf8 !important;
  border: 1px solid #e6d2a8 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 30px rgba(73, 51, 18, 0.12) !important;
}

body.view-broadcasts .chessora-broadcast-standings table,
body.view-broadcasts .chessora-broadcast-crosstable table {
  background: #fffdf8 !important;
  color: #23190c !important;
}

body.view-broadcasts .chessora-broadcast-standings th,
body.view-broadcasts .chessora-broadcast-standings td,
body.view-broadcasts .chessora-broadcast-crosstable th,
body.view-broadcasts .chessora-broadcast-crosstable td {
  background: #fffdf8 !important;
  border-bottom: 1px solid #f0e1c7 !important;
  border-right: 1px solid #f0e1c7 !important;
  color: #23190c !important;
}

body.view-broadcasts .chessora-broadcast-standings thead th,
body.view-broadcasts .chessora-broadcast-crosstable thead th {
  background: #f3e3c5 !important;
  color: #6a5840 !important;
}

body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even) td,
body.view-broadcasts .chessora-broadcast-standings tbody tr:nth-child(even) th,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) td,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) th {
  background: #fff8e8 !important;
}

body.view-broadcasts .chessora-broadcast-standings td strong,
body.view-broadcasts .chessora-broadcast-standings td b,
body.view-broadcasts .chessora-broadcast-crosstable tbody th,
body.view-broadcasts .chessora-broadcast-crosstable tbody th b,
body.view-broadcasts .chessora-broadcast-crosstable td span {
  color: #23190c !important;
}

body.view-broadcasts .chessora-broadcast-standings td small,
body.view-broadcasts .chessora-broadcast-crosstable td.is-self span {
  color: #6a5840 !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td.is-self {
  background: #efe2c7 !important;
}

body.view-broadcasts .chessora-broadcast-grid > article li {
  border-radius: 7px !important;
}

@media (max-width: 980px) {
  body.view-broadcasts .chessora-broadcast-list {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }

  body.view-broadcasts .chessora-broadcast-list header {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    padding-right: 0 !important;
  }
}
/* Broadcast observer layout: match the internal tournament watch-room pattern. */
body.view-broadcasts .chessora-broadcast-live-room.chessora-observer-panel {
  background: #0b1411 !important;
  border: 1px solid rgba(214, 167, 72, 0.22) !important;
  color: #f5f0dc !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcast-watch-note {
  color: #cbd5cf !important;
  font-weight: 700;
  margin: 0 !important;
}

body.view-broadcasts .chessora-broadcast-round-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.view-broadcasts .chessora-broadcast-round-tabs button {
  background: #151f1b !important;
  border: 1px solid rgba(214, 167, 72, 0.24) !important;
  border-radius: 999px;
  color: #fff7dd !important;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 12px;
}

body.view-broadcasts .chessora-broadcast-round-tabs button.is-active,
body.view-broadcasts .chessora-broadcast-round-tabs button:hover,
body.view-broadcasts .chessora-broadcast-round-tabs button:focus-visible {
  background: rgba(217, 164, 65, 0.18) !important;
  border-color: rgba(217, 164, 65, 0.55) !important;
  color: #f9d883 !important;
}

body.view-broadcasts .chessora-broadcast-observer-main {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcast-selected-stage {
  align-items: start;
  display: grid;
  gap: 12px;
  scroll-margin-top: 120px;
}

body.view-broadcasts .chessora-broadcast-selected-stage .chessora-broadcast-board-card {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-selected-stage .chessora-broadcast-board-card.is-selected {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 12px;
  padding: 0 !important;
}

body.view-broadcasts .chessora-broadcast-board-placeholder {
  align-items: center;
  background: #102019 !important;
  border: 1px dashed rgba(214, 167, 72, 0.38);
  border-radius: 8px;
  color: #f5f0dc;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 360px;
  padding: 28px;
  text-align: center;
}

body.view-broadcasts .chessora-broadcast-board-placeholder strong {
  color: #f9d883;
  font-size: 1.4rem;
}

body.view-broadcasts .chessora-broadcast-board-placeholder span {
  color: #cbd5cf;
  font-weight: 800;
}

body.view-broadcasts .chessora-broadcast-selected-stage.has-selection .chessora-broadcast-board-placeholder {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-selected-stage .chessora-broadcast-board-card.is-selected > header {
  background: #102019 !important;
  border: 1px solid rgba(214, 167, 72, 0.28) !important;
  border-radius: 8px;
  padding: 12px;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader {
  background: #07120f !important;
  border-color: rgba(214, 167, 72, 0.34) !important;
  box-shadow: none !important;
}

body.view-broadcasts .chessora-broadcast-board.chessora-club-pgn-reader.is-broadcast-inactive {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-help,
body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-variation-form {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-body {
  align-items: start;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(320px, 560px) minmax(280px, 1fr) !important;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board-wrap {
  justify-self: center;
  max-width: 560px;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board {
  width: min(100%, 520px) !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-reader-body {
  align-items: center !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-board-wrap {
  grid-template-columns: 30px minmax(280px, min(62vh, 560px)) !important;
  justify-content: center !important;
  max-width: calc(30px + 8px + min(62vh, 560px)) !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-board {
  max-height: min(62vh, 560px) !important;
  max-width: min(62vh, 560px) !important;
  width: min(100%, 560px) !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-eval-rail {
  min-height: min(62vh, 560px) !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-reader-body aside {
  align-content: start !important;
  display: grid !important;
  gap: 10px !important;
  justify-self: center !important;
  max-width: calc(30px + 8px + min(62vh, 560px)) !important;
  padding: 0 !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-reader-body aside > span,
body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-reader-body aside > strong {
  justify-self: center !important;
  text-align: center !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-reader-body aside > strong {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-controls {
  justify-content: center !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-engine {
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-moves {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
}

body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a {
  background: #fff8e8 !important;
  border: 1px solid #edd9b4 !important;
  border-radius: 8px !important;
  color: #2d2517 !important;
  min-height: 0 !important;
  padding: 10px !important;
}

body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a[hidden] {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.is-active {
  border-color: #d69a27 !important;
  box-shadow: inset 0 0 0 2px rgba(214, 154, 39, 0.28) !important;
}

body.view-broadcasts .chessora-broadcast-live-room {
  display: grid !important;
  gap: 16px !important;
}

body.view-broadcasts .chessora-broadcast-live-room > span {
  order: 1;
}

body.view-broadcasts .chessora-broadcast-live-room > header {
  order: 2;
}

body.view-broadcasts .chessora-broadcast-watch-note {
  order: 3;
}

body.view-broadcasts .chessora-broadcast-observer-main {
  justify-self: center;
  max-width: 1040px;
  order: 4;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-round-tabs {
  order: 5;
}

body.view-broadcasts .chessora-broadcast-board-index {
  order: 6;
}

body.view-broadcasts .chessora-broadcast-collapsible-table {
  background: #0b1411 !important;
  border: 1px solid rgba(214, 167, 72, 0.22) !important;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary {
  color: #fff7dd;
  cursor: pointer;
  font-weight: 950;
}

body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-live-room[hidden],
body.view-broadcasts .chessora-broadcasts-page.is-presentation [data-broadcast-info-panel]:not(.is-active) {
  display: none !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-source-row,
body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-event-hub {
  display: none !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-list,
body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-hero,
body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-event-hub,
body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-source-row {
  display: none !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-layout {
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-main,
body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcasts-page.is-boardroom .chessora-broadcast-grid {
  max-width: none !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-boardroom,
body.view-broadcasts .chessora-broadcasts-page.is-presentation {
  animation: chessoraBroadcastFade .24s ease-out both;
}

@keyframes chessoraBroadcastFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.view-broadcasts .chessora-broadcast-presentation-tabs {
  background: #0b1411 !important;
  border: 1px solid rgba(214, 167, 72, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

body.view-broadcasts .chessora-broadcast-info-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.view-broadcasts .chessora-broadcast-info-tabs button {
  background: #151f1b !important;
  border: 1px solid rgba(214, 167, 72, 0.24) !important;
  border-radius: 999px;
  color: #fff7dd !important;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 13px;
}

body.view-broadcasts .chessora-broadcast-info-tabs button.is-active,
body.view-broadcasts .chessora-broadcast-info-tabs button:hover,
body.view-broadcasts .chessora-broadcast-info-tabs button:focus-visible {
  background: rgba(217, 164, 65, 0.18) !important;
  border-color: rgba(217, 164, 65, 0.55) !important;
  color: #f9d883 !important;
}

body.view-broadcasts [data-broadcast-info-panel] {
  background: #101916 !important;
  border: 1px solid rgba(214, 167, 72, 0.18);
  border-radius: 8px;
  color: #f5f0dc !important;
  display: grid;
  gap: 14px;
  padding: 16px;
}

body.view-broadcasts [data-broadcast-info-panel] > span,
body.view-broadcasts .chessora-broadcast-pairing-list strong {
  color: #f9d883 !important;
  font-weight: 950;
}

body.view-broadcasts .chessora-broadcast-player-bios,
body.view-broadcasts .chessora-broadcast-pairing-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.view-broadcasts .chessora-broadcast-player-bios section,
body.view-broadcasts .chessora-broadcast-pairing-list section {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 167, 72, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

body.view-broadcasts .chessora-broadcast-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.view-broadcasts .chessora-broadcast-mini-board {
  aspect-ratio: 1;
  background: #2b2115;
  border: 1px solid rgba(77, 48, 18, 0.45);
  border-radius: 6px;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(8, 1fr);
  overflow: hidden;
  width: 100%;
}

body.view-broadcasts .chessora-broadcast-mini-board span {
  align-items: center;
  display: flex;
  justify-content: center;
}

body.view-broadcasts .chessora-broadcast-mini-board .is-light {
  background: #efd8ad;
}

body.view-broadcasts .chessora-broadcast-mini-board .is-dark {
  background: #9b632c;
}

body.view-broadcasts .chessora-broadcast-mini-board img {
  height: 82%;
  object-fit: contain;
  width: 82%;
}

body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine button {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-board [data-club-pgn-engine-output] span {
  white-space: normal;
}

body.view-broadcasts .chessora-room-panel,
body.view-broadcasts .chessora-scoreboard,
body.view-broadcasts .chessora-pairings-details,
body.view-broadcasts .chessora-swiss-grid-panel {
  background: #0b1411 !important;
  border: 1px solid rgba(214, 167, 72, 0.22) !important;
  border-radius: 8px;
  color: #f5f0dc !important;
}

body.view-broadcasts .chessora-table {
  display: grid;
  gap: 6px;
  min-width: 760px;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row {
  grid-template-columns: 46px minmax(160px, 1fr) repeat(5, minmax(44px, 0.35fr)) minmax(120px, 0.8fr);
}

body.view-broadcasts .chessora-pairings-table .chessora-table-row {
  grid-template-columns: 70px minmax(170px, 1fr) minmax(170px, 1fr) 90px 110px;
}

body.view-broadcasts .chessora-table-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #dce4df !important;
  display: grid;
  gap: 10px;
  padding: 10px 12px;
}

body.view-broadcasts .chessora-table-head {
  background: #151f1b !important;
  color: #aeb8b2 !important;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.view-broadcasts .chessora-table-row strong,
body.view-broadcasts .chessora-table-row b {
  color: #fff7dd !important;
}

body.view-broadcasts .chessora-board-pill,
body.view-broadcasts .chessora-pairing-result,
body.view-broadcasts .chessora-status-pill {
  background: rgba(217, 164, 65, 0.16) !important;
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: 999px;
  color: #f9d883 !important;
  display: inline-flex;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  padding: 6px 9px;
}

body.view-broadcasts .chessora-pairings-details {
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.view-broadcasts .chessora-pairings-details summary {
  color: #fff7dd;
  cursor: pointer;
  font-weight: 950;
}

body.view-broadcasts .chessora-pairing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.view-broadcasts .chessora-pairing-tabs button {
  background: #151f1b !important;
  border: 1px solid rgba(214, 167, 72, 0.24) !important;
  border-radius: 999px;
  color: #fff7dd !important;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 12px;
}

body.view-broadcasts .chessora-pairing-tabs button.is-active,
body.view-broadcasts .chessora-pairing-tabs button:hover,
body.view-broadcasts .chessora-pairing-tabs button:focus-visible {
  background: rgba(217, 164, 65, 0.18) !important;
  border-color: rgba(217, 164, 65, 0.55) !important;
  color: #f9d883 !important;
}

body.view-broadcasts .chessora-pairing-round[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-reader-body {
    grid-template-columns: 1fr !important;
  }

  body.view-broadcasts .chessora-table {
    min-width: 680px;
  }
}

/* 20260607-broadcast-table-redesign-1: final table surface override. */
body.view-broadcasts #broadcast-tables,
body.view-broadcasts [data-broadcast-info-panel="pairings"] {
  gap: 16px !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table,
body.view-broadcasts .chessora-pairings-details.chessora-broadcast-collapsible-table {
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.36) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.04) !important;
  color: #f5f0dc !important;
  display: grid !important;
  gap: 12px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary {
  align-items: center !important;
  background: linear-gradient(180deg, #14261d, #0c1713) !important;
  border-bottom: 1px solid rgba(217, 164, 65, 0.28) !important;
  color: #fff7dd !important;
  cursor: pointer !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: space-between !important;
  list-style: none !important;
  min-height: 48px !important;
  padding: 13px 16px !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary::-webkit-details-marker {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary::before {
  color: #f3c14e !important;
  content: "+";
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

body.view-broadcasts .chessora-broadcast-collapsible-table[open] summary::before {
  content: "-";
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary span,
body.view-broadcasts .chessora-broadcast-collapsible-table summary {
  font-weight: 950 !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary span {
  color: #fff7dd !important;
  flex: 1 1 auto;
}

body.view-broadcasts .chessora-broadcast-collapsible-table summary small {
  color: #aeb8b2 !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-align: right;
}

body.view-broadcasts .chessora-broadcast-collapsible-table:not([open]) {
  gap: 0 !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table[open] {
  padding-bottom: 14px !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table .chessora-table,
body.view-broadcasts .chessora-broadcast-collapsible-table .chessora-broadcast-table-scroll {
  margin: 0 14px !important;
}

body.view-broadcasts .chessora-broadcast-collapsible-table .chessora-table {
  display: grid !important;
  gap: 0 !important;
  min-width: 0 !important;
  overflow-x: auto !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row {
  align-items: stretch !important;
  background: #0d1a15 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(217, 164, 65, 0.18) !important;
  border-radius: 0 !important;
  color: #e8efe9 !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: 52px minmax(230px, 1.4fr) repeat(5, minmax(58px, .35fr)) minmax(220px, 1fr) !important;
  min-width: 900px !important;
  padding: 0 !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row > span,
body.view-broadcasts .chessora-pairings-table .chessora-table-row > span {
  align-items: center !important;
  border-right: 1px solid rgba(217, 164, 65, 0.14) !important;
  color: #e8efe9 !important;
  display: flex !important;
  min-height: 44px !important;
  padding: 9px 12px !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row > span:last-child,
body.view-broadcasts .chessora-pairings-table .chessora-table-row > span:last-child {
  border-right: 0 !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row:nth-child(even),
body.view-broadcasts .chessora-pairings-table .chessora-table-row:nth-child(even) {
  background: #102019 !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-head,
body.view-broadcasts .chessora-pairings-table .chessora-table-head {
  background: #d9a441 !important;
  color: #110d04 !important;
  font-size: .72rem !important;
  letter-spacing: .03em !important;
  position: sticky;
  top: 0;
  z-index: 1;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-head span,
body.view-broadcasts .chessora-pairings-table .chessora-table-head span {
  color: #110d04 !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row strong,
body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row b,
body.view-broadcasts .chessora-pairings-table .chessora-table-row strong,
body.view-broadcasts .chessora-pairings-table .chessora-table-row b {
  color: #fff7dd !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row > span:nth-child(7) strong {
  color: #f3c14e !important;
}

body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row > span:last-child {
  color: #cbd5cf !important;
  font-size: .9rem !important;
  line-height: 1.45 !important;
}

body.view-broadcasts .chessora-broadcast-table-scroll {
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.24) !important;
  border-radius: 8px !important;
  overflow: auto !important;
}

body.view-broadcasts .chessora-broadcast-crosstable table {
  background: #0d1a15 !important;
  border-collapse: collapse !important;
  color: #e8efe9 !important;
  min-width: max(820px, 100%) !important;
  table-layout: fixed !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-crosstable th,
body.view-broadcasts .chessora-broadcast-crosstable td {
  background: #0d1a15 !important;
  border: 1px solid rgba(217, 164, 65, 0.18) !important;
  color: #e8efe9 !important;
  font-size: .9rem !important;
  min-width: 84px !important;
  padding: 10px 9px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

body.view-broadcasts .chessora-broadcast-crosstable thead th {
  background: #d9a441 !important;
  color: #110d04 !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

body.view-broadcasts .chessora-broadcast-crosstable thead th:first-child,
body.view-broadcasts .chessora-broadcast-crosstable tbody th {
  min-width: 240px !important;
  text-align: left !important;
}

body.view-broadcasts .chessora-broadcast-crosstable tbody th {
  background: #102019 !important;
  color: #fff7dd !important;
  font-weight: 950 !important;
  left: 0;
  position: sticky;
  z-index: 1;
}

body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) th,
body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) td {
  background: #14261d !important;
}

body.view-broadcasts .chessora-broadcast-crosstable tbody th b {
  background: rgba(217, 164, 65, 0.18) !important;
  border: 1px solid rgba(217, 164, 65, 0.38) !important;
  border-radius: 999px !important;
  color: #f3c14e !important;
  display: inline-flex !important;
  justify-content: center !important;
  margin-right: 8px !important;
  min-width: 26px !important;
  padding: 3px 6px !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td span {
  background: rgba(255, 248, 221, 0.06) !important;
  border: 1px solid rgba(255, 248, 221, 0.08) !important;
  border-radius: 5px !important;
  color: #fff7dd !important;
  display: inline-flex !important;
  font-weight: 950 !important;
  justify-content: center !important;
  margin: 2px !important;
  min-width: 36px !important;
  padding: 4px 6px !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td.is-self,
body.view-broadcasts .chessora-broadcast-crosstable td.is-self span {
  background: rgba(217, 164, 65, 0.16) !important;
  color: #f3c14e !important;
}

body.view-broadcasts .chessora-pairings-table .chessora-table-row {
  background: #0d1a15 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(217, 164, 65, 0.18) !important;
  border-radius: 0 !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: 88px minmax(220px, 1fr) minmax(220px, 1fr) 100px 120px !important;
  min-width: 760px !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-collapsible-table .chessora-table-head span,
html body.view-broadcasts .chessora-broadcast-collapsible-table .chessora-table-head > span,
html body.view-broadcasts .chessora-broadcast-collapsible-table table thead th {
  color: #110d04 !important;
}

/* 20260607-broadcast-presentation-width-1 */
body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-layout {
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-list {
  display: none !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-main,
body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-event,
body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-grid,
body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-presentation-tabs {
  max-width: none !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-grid {
  grid-template-columns: 1fr !important;
}

body.view-broadcasts .chessora-broadcast-hero-actions > span,
body.view-broadcasts .chessora-broadcast-list > header > span {
  display: none !important;
}

body.view-broadcasts .chessora-broadcast-player-bios {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section {
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.1), transparent 38%),
    #0d1a15 !important;
  border: 1px solid rgba(217, 164, 65, 0.34) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.04) !important;
  align-items: center !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  min-height: 136px !important;
  padding: 18px !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section figure {
  align-items: center !important;
  aspect-ratio: 1 !important;
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.38) !important;
  border-radius: 8px !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  overflow: hidden !important;
  width: 86px !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section figure img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section figure span {
  color: #f3c14e !important;
  font-size: 1.8rem !important;
  font-weight: 950 !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section > div {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section strong {
  color: #fff7dd !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section p {
  color: #e8efe9 !important;
  font-size: .98rem !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

body.view-broadcasts .chessora-broadcast-player-bios section small {
  color: #aeb8b2 !important;
  font-weight: 800 !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td .chessora-broadcast-self-logo {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  height: 38px !important;
  justify-content: center !important;
  margin: 0 auto !important;
  min-width: 38px !important;
  padding: 4px !important;
  width: 38px !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td.is-self {
  background: #0d1a15 !important;
}

body.view-broadcasts .chessora-broadcast-crosstable tbody tr:nth-child(even) td.is-self {
  background: #14261d !important;
}

body.view-broadcasts .chessora-broadcast-crosstable td .chessora-broadcast-self-logo img {
  display: block !important;
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

/* 20260607-broadcast-presentation-width-2: harden final broadcast panel width and player-card contrast. */
html body.view-broadcasts .chessora-broadcasts-page.is-presentation [data-broadcast-info-panel],
html body.view-broadcasts .chessora-broadcasts-page.is-presentation [data-broadcast-info-panel].is-active,
html body.view-broadcasts .chessora-broadcasts-page.is-presentation #broadcast-tables,
html body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-collapsible-table,
html body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-table-scroll {
  box-sizing: border-box !important;
  max-width: none !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcasts-page.is-presentation .chessora-broadcast-collapsible-table .chessora-table {
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-player-bios section,
html body.view-broadcasts .chessora-broadcast-player-bios section * {
  text-shadow: none !important;
}

html body.view-broadcasts .chessora-broadcast-player-bios section strong {
  color: #fff7dd !important;
}

html body.view-broadcasts .chessora-broadcast-player-bios section p,
html body.view-broadcasts .chessora-broadcast-player-bios section span {
  color: #e8efe9 !important;
}

html body.view-broadcasts .chessora-broadcast-player-bios section small {
  color: #aeb8b2 !important;
}

/* 20260607-broadcast-player-photos-1 */
html body.view-broadcasts .chessora-broadcast-player-bios section {
  grid-template-columns: 86px minmax(0, 1fr) !important;
}

html body.view-broadcasts .chessora-broadcast-crosstable td .chessora-broadcast-self-logo,
html body.view-broadcasts .chessora-broadcast-crosstable td .chessora-broadcast-self-logo img {
  background: transparent !important;
}

/* 20260607-broadcast-schedule-player-pane-1 */
html body.view-broadcasts .chessora-broadcast-player-thumb {
  align-items: center !important;
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.36) !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  height: 34px !important;
  justify-content: center !important;
  margin-right: 10px !important;
  overflow: hidden !important;
  width: 34px !important;
}

html body.view-broadcasts .chessora-broadcast-player-thumb img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-player-thumb.is-initial {
  color: #f3c14e !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-tournament-table .chessora-table-row > span:nth-child(2),
html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-row > span:nth-child(2),
html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-row > span:nth-child(3) {
  gap: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-crosstable tbody th {
  align-items: center !important;
  gap: 8px !important;
}

html body.view-broadcasts .chessora-broadcast-crosstable tbody th .chessora-broadcast-player-thumb {
  height: 30px !important;
  margin-right: 0 !important;
  width: 30px !important;
}

html body.view-broadcasts .chessora-broadcast-crosstable tbody th > span:not(.chessora-broadcast-player-thumb) {
  color: #fff7dd !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

html body.view-broadcasts .chessora-broadcast-schedule {
  display: grid !important;
  gap: 12px !important;
}

html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-row {
  background: #0d1a15 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(217, 164, 65, 0.18) !important;
  border-radius: 0 !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: 88px minmax(240px, 1fr) minmax(240px, 1fr) 110px !important;
  min-width: 760px !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-row:nth-child(even) {
  background: #102019 !important;
}

html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-row > span {
  align-items: center !important;
  border-right: 1px solid rgba(217, 164, 65, 0.14) !important;
  color: #e8efe9 !important;
  display: flex !important;
  min-height: 46px !important;
  padding: 9px 12px !important;
}

html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-row > span:last-child {
  border-right: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-schedule-table .chessora-table-head {
  background: #d9a441 !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  justify-self: center !important;
  max-width: calc(30px + 8px + min(62vh, 560px)) !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players article {
  align-items: center !important;
  background: #102019 !important;
  border: 1px solid rgba(217, 164, 65, 0.3) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: 74px minmax(0, 1fr) !important;
  min-height: 96px !important;
  padding: 12px !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players figure {
  aspect-ratio: 1 !important;
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.38) !important;
  border-radius: 8px !important;
  margin: 0 !important;
  overflow: hidden !important;
  width: 74px !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players figure img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players figure span {
  align-items: center !important;
  color: #f3c14e !important;
  display: flex !important;
  font-size: 1.6rem !important;
  font-weight: 950 !important;
  height: 100% !important;
  justify-content: center !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players div {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players small {
  color: #f3c14e !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players strong {
  color: #fff7dd !important;
  font-size: .98rem !important;
  line-height: 1.2 !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players p {
  align-items: center !important;
  color: #cbd5cf !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-selected-players b,
html body.view-broadcasts .chessora-broadcast-selected-players em {
  color: #e8efe9 !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

/* 20260612-broadcast-board-player-bars-1 */
html body.view-broadcasts .chessora-broadcast-board-player-bar {
  align-items: center !important;
  background: linear-gradient(135deg, #11231b 0%, #0b1713 100%) !important;
  border: 1px solid rgba(217, 164, 65, 0.36) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 54px minmax(0, 1fr) minmax(92px, auto) !important;
  justify-self: center !important;
  max-width: calc(30px + 8px + min(62vh, 560px)) !important;
  min-height: 70px !important;
  padding: 8px 10px !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar figure {
  align-items: center !important;
  aspect-ratio: 1 !important;
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.35) !important;
  border-radius: 7px !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  overflow: hidden !important;
  width: 54px !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar figure img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar figure span {
  color: #f3c14e !important;
  font-size: 1.55rem !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar div {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar small {
  color: #f3c14e !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar p {
  align-items: center !important;
  color: #fff7dd !important;
  display: flex !important;
  gap: 7px !important;
  margin: 0 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar strong {
  color: #fff7dd !important;
  display: block !important;
  font-size: .98rem !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar b,
html body.view-broadcasts .chessora-broadcast-board-player-bar em {
  color: #dfe8e1 !important;
  flex: 0 0 auto !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-flag {
  border-radius: 2px !important;
  box-shadow: 0 0 0 1px rgba(255, 247, 221, 0.35) !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  height: 14px !important;
  object-fit: cover !important;
  width: 22px !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-flag.is-fallback {
  align-items: center !important;
  background: rgba(217, 164, 65, .16) !important;
  color: #f3c14e !important;
  display: inline-flex !important;
  font-size: .62rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
}

html body.view-broadcasts .chessora-broadcast-board-player-bar time {
  background: #fff7dd !important;
  border-radius: 6px !important;
  color: #07120f !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 1.05rem !important;
  font-weight: 950 !important;
  justify-self: end !important;
  min-width: 86px !important;
  padding: 10px 12px !important;
  text-align: center !important;
}

html body.view-broadcasts .chessora-broadcast-board.is-broadcast-active .chessora-club-pgn-clocks {
  display: none !important;
}

@media (max-width: 720px) {
  html body.view-broadcasts .chessora-broadcast-board-player-bar {
    grid-template-columns: 44px minmax(0, 1fr) !important;
  }

  html body.view-broadcasts .chessora-broadcast-board-player-bar figure {
    width: 44px !important;
  }

  html body.view-broadcasts .chessora-broadcast-board-player-bar time {
    grid-column: 2 !important;
    justify-self: start !important;
    min-width: 76px !important;
    padding: 7px 10px !important;
  }
}

/* 20260607-broadcast-pgn-clocks-1 */
html body.view-broadcasts .chessora-club-pgn-clocks {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 6px 0 10px !important;
}

html body.view-broadcasts .chessora-club-pgn-clocks[hidden] {
  display: none !important;
}

html body.view-broadcasts .chessora-club-pgn-clocks > span {
  background: #07120f !important;
  border: 1px solid rgba(217, 164, 65, 0.32) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 3px !important;
  min-height: 58px !important;
  padding: 9px 10px !important;
}

html body.view-broadcasts .chessora-club-pgn-clocks small {
  color: #f3c14e !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-club-pgn-clocks b {
  color: #fff7dd !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 1.18rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

html body.view-broadcasts .chessora-club-pgn-clocks em {
  color: #cbd5cf !important;
  font-style: normal !important;
  font-weight: 850 !important;
  grid-column: 1 / -1 !important;
}

/* 20260607-broadcast-board-refresh-2 */
html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span.is-last-move {
  box-shadow: inset 0 0 0 999px rgba(212, 47, 47, .38) !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span.is-last-move img {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)) !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span[data-file]::after,
html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span[data-rank]::before {
  background: transparent !important;
  color: rgba(4, 18, 13, .68) !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  pointer-events: none !important;
  position: absolute !important;
  text-shadow: 0 1px 0 rgba(255, 245, 210, .35) !important;
  z-index: 3 !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span[data-file],
html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span[data-rank] {
  position: relative !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span[data-file]::after {
  bottom: 5px !important;
  left: 6px !important;
  right: auto !important;
  top: auto !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-board span[data-rank]::before {
  bottom: auto !important;
  left: 5px !important;
  right: auto !important;
  text-align: left !important;
  top: 5px !important;
}

/* 20260607-broadcast-engine-lines-1 */
html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine-lines {
  display: grid !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine-lines li {
  background: rgba(255, 248, 221, .05) !important;
  border: 1px solid rgba(217, 164, 65, .22) !important;
  border-radius: 6px !important;
  display: grid !important;
  gap: 4px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  padding: 7px 8px !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine-lines b {
  color: #f3c14e !important;
  font-size: .74rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-board .chessora-club-pgn-engine-lines span {
  color: #fff7dd !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-selected-players {
    grid-template-columns: 1fr !important;
  }
}

/* 20260607-broadcast-event-schedule-1 */
html body.view-broadcasts .chessora-broadcast-event-schedule {
  display: grid !important;
  gap: 10px !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule a {
  align-items: center !important;
  background: #0d1a15 !important;
  border: 1px solid rgba(217, 164, 65, 0.26) !important;
  border-radius: 8px !important;
  color: #e8efe9 !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(170px, .55fr) minmax(220px, 1fr) minmax(180px, .9fr) auto !important;
  min-height: 72px !important;
  padding: 14px 16px !important;
  text-decoration: none !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule a.is-active,
html body.view-broadcasts .chessora-broadcast-event-schedule a:hover,
html body.view-broadcasts .chessora-broadcast-event-schedule a:focus-visible {
  background: #102019 !important;
  border-color: rgba(217, 164, 65, 0.58) !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule time {
  color: #f3c14e !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule strong {
  color: #fff7dd !important;
  font-size: 1.02rem !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule span {
  color: #cbd5cf !important;
  font-weight: 800 !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule em {
  background: rgba(217, 164, 65, 0.16) !important;
  border: 1px solid rgba(217, 164, 65, 0.34) !important;
  border-radius: 999px !important;
  color: #f3c14e !important;
  font-style: normal !important;
  font-weight: 950 !important;
  justify-self: end !important;
  padding: 7px 10px !important;
}

html body.view-broadcasts .chessora-broadcast-event-schedule em.is-live {
  background: rgba(82, 183, 136, 0.16) !important;
  border-color: rgba(82, 183, 136, 0.38) !important;
  color: #8af0b8 !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-event-schedule a {
    grid-template-columns: 1fr !important;
  }

  html body.view-broadcasts .chessora-broadcast-event-schedule em {
    justify-self: start !important;
  }
}

/* 20260607-broadcast-event-info-1 */
html body.view-broadcasts .chessora-broadcast-event-logo {
  align-items: center !important;
  background: #fff7df !important;
  border: 1px solid rgba(225, 185, 91, .48) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 7px !important;
  justify-items: center !important;
  margin: 0 !important;
  min-width: 116px !important;
  padding: 12px 14px !important;
}

html body.view-broadcasts .chessora-broadcast-event-logo img {
  display: block !important;
  height: 58px !important;
  object-fit: contain !important;
  width: 58px !important;
}

html body.view-broadcasts .chessora-broadcast-event-logo figcaption {
  color: #18211b !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-event-facts {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
}

html body.view-broadcasts .chessora-broadcast-event-facts div {
  background: rgba(7, 18, 14, .72) !important;
  border: 1px solid rgba(225, 185, 91, .22) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 2px !important;
  min-width: 108px !important;
  padding: 9px 12px !important;
}

html body.view-broadcasts .chessora-broadcast-event-facts dt,
html body.view-broadcasts .chessora-broadcast-event-facts dd {
  margin: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-event-facts dt {
  color: #c8d2c8 !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-event-facts dd {
  color: #fff7df !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-list-group {
  display: grid !important;
  gap: 10px !important;
  grid-column: span 2 !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-list-group > span {
  color: var(--broadcast-gold-strong, #f3c95c) !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-hero-actions form {
  margin: 0 !important;
}

@media (max-width: 980px) {
  html body.view-broadcasts .chessora-broadcast-list-group {
    grid-column: 1 / -1 !important;
  }
}

html body.view-broadcasts .chessora-broadcast-round-schedule {
  margin-top: 12px !important;
  overflow: hidden !important;
}

html body.view-broadcasts .chessora-broadcast-round-schedule .chessora-table-row {
  grid-template-columns: minmax(105px, .65fr) minmax(150px, .9fr) minmax(76px, .45fr) minmax(120px, .65fr) minmax(230px, 1.55fr) !important;
}

html body.view-broadcasts .chessora-broadcast-round-schedule .chessora-table-row > span {
  align-items: center !important;
  color: #fff7df !important;
  display: flex !important;
  min-height: 48px !important;
}

html body.view-broadcasts .chessora-broadcast-round-schedule .chessora-table-row > span:last-child {
  color: #c8d2c8 !important;
  font-weight: 800 !important;
}

html body.view-broadcasts .chessora-status-pill.is-live {
  background: rgba(82, 183, 136, .2) !important;
  border-color: rgba(82, 183, 136, .42) !important;
  color: #8af0b8 !important;
}

html body.view-broadcasts .chessora-broadcast-calendar {
  border-top: 1px solid rgba(225, 185, 91, .2) !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
}

html body.view-broadcasts .chessora-broadcast-calendar summary {
  color: #e4b64b !important;
  cursor: pointer !important;
  font-weight: 950 !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-event > header {
    display: grid !important;
  }

  html body.view-broadcasts .chessora-broadcast-event-logo {
    align-items: center !important;
    display: flex !important;
    justify-content: start !important;
    width: 100% !important;
  }

  html body.view-broadcasts .chessora-broadcast-round-schedule .chessora-table-row {
    grid-template-columns: 1fr !important;
  }
}

/* 20260610-home-broadcast-scope-1: restore the newer homepage blocks without altering Broadcast Center. */
html body.view-dashboard .chessora-home3-landing,
html body.view-dashboard .chessora-home3-spotlight {
  background:
    linear-gradient(180deg, rgba(19, 28, 24, .96), rgba(11, 18, 15, .98)),
    #0b1210 !important;
  border: 1px solid rgba(229, 180, 77, .18) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .28) !important;
  color: #f7f0de !important;
  overflow: hidden !important;
  padding: clamp(18px, 3vw, 32px) !important;
}

html body.view-dashboard .chessora-home3-landing {
  display: grid !important;
  gap: 18px !important;
}

html body.view-dashboard .chessora-home3-landing-intro {
  background: linear-gradient(135deg, #16211a, #0d1512) !important;
  border: 1px solid rgba(229, 180, 77, .26) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .2) !important;
  color: #f7efd9 !important;
  display: grid !important;
  gap: 16px !important;
  padding: clamp(18px, 3vw, 28px) !important;
}

html body.view-dashboard .chessora-home3-landing-brand {
  align-items: center !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
}

html body.view-dashboard .chessora-home3-landing-logo,
html body.view-dashboard .chessora-home3-landing-avatar {
  background: #08110f !important;
  border: 1px solid rgba(229, 180, 77, .24) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .24) !important;
  display: block !important;
  height: 92px !important;
  object-fit: contain !important;
  width: 92px !important;
}

html body.view-dashboard .chessora-home3-landing-avatar {
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  overflow: hidden !important;
}

html body.view-dashboard .chessora-home3-landing-avatar img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.view-dashboard .chessora-home3-landing-brand h1 {
  color: #fff7df !important;
  font-size: clamp(2rem, 3.6vw, 3.45rem) !important;
  line-height: .95 !important;
  margin: 0 !important;
  max-width: 11ch !important;
}

html body.view-dashboard .chessora-home3-landing-lede {
  color: #d8decf !important;
  font-size: clamp(1rem, 1.55vw, 1.16rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 58ch !important;
}

html body.view-dashboard .chessora-home3-landing-grid {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.view-dashboard .chessora-home3-landing-card {
  background:
    linear-gradient(180deg, rgba(18, 28, 24, .98), rgba(10, 18, 16, .98)) !important;
  border: 1px solid rgba(229, 180, 77, .2) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .12) !important;
  color: #f6edd3 !important;
  display: grid !important;
  gap: 12px !important;
  min-height: 168px !important;
  padding: 18px 16px !important;
  text-decoration: none !important;
}

html body.view-dashboard .chessora-home3-landing-card span {
  color: #e8be61 !important;
  font-size: .76rem !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

html body.view-dashboard .chessora-home3-landing-card strong {
  color: #fff8e3 !important;
  font-size: 1.06rem !important;
  line-height: 1.2 !important;
}

html body.view-dashboard .chessora-home3-landing-card small {
  color: #cad3c2 !important;
  font-size: .97rem !important;
  line-height: 1.6 !important;
}

html body.view-dashboard .chessora-home3-landing-card.is-play {
  border-color: rgba(229, 180, 77, .28) !important;
}

html body.view-dashboard .chessora-home3-landing-card.is-daily {
  border-color: rgba(126, 167, 124, .28) !important;
}

html body.view-dashboard .chessora-home3-landing-card.is-event {
  border-color: rgba(126, 148, 211, .28) !important;
}

html body.view-dashboard .chessora-home3-landing-card.is-profile {
  border-color: rgba(210, 123, 90, .28) !important;
}

html body.view-dashboard .chessora-home3-landing-grid .chessora-home3-landing-card,
html body.view-dashboard .chessora-home3-command-grid .chessora-home3-command-card {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .07), rgba(117, 214, 110, .035)),
    #0f1c16 !important;
  border-color: rgba(229, 180, 77, .28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, .04), 0 14px 30px rgba(0, 0, 0, .16) !important;
  color: #f7f0de !important;
}

html body.view-dashboard .chessora-home3-landing-grid .chessora-home3-landing-card:hover,
html body.view-dashboard .chessora-home3-landing-grid .chessora-home3-landing-card:focus,
html body.view-dashboard .chessora-home3-command-grid .chessora-home3-command-card:hover,
html body.view-dashboard .chessora-home3-command-grid .chessora-home3-command-card:focus {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .10), rgba(117, 214, 110, .05)),
    #13231b !important;
  border-color: rgba(241, 207, 119, .58) !important;
}

html body.view-dashboard .chessora-home3-spotlight {
  align-items: center !important;
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .8fr) !important;
}

html body.view-dashboard .chessora-home3-spotlight-visual {
  background: #0b120f !important;
  border: 1px solid rgba(229, 180, 77, .18) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18) !important;
  min-height: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

html body.view-dashboard .chessora-home3-spotlight-photo {
  display: block !important;
  height: 100% !important;
  max-height: 560px !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.view-dashboard .chessora-home3-spotlight-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 10, 0) 0%, rgba(8, 12, 10, .58) 38%, rgba(8, 12, 10, .88) 100%) !important;
  bottom: 0 !important;
  display: grid !important;
  gap: 10px !important;
  left: 0 !important;
  padding: clamp(18px, 2.5vw, 28px) !important;
  position: absolute !important;
  right: 0 !important;
}

html body.view-dashboard .chessora-home3-spotlight-overlay p {
  color: #e7bd61 !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

html body.view-dashboard .chessora-home3-spotlight-overlay h2 {
  color: #fff8e3 !important;
  font-size: clamp(1.8rem, 3.9vw, 3.6rem) !important;
  line-height: .95 !important;
  margin: 0 !important;
  max-width: 8ch !important;
}

html body.view-dashboard .chessora-home3-spotlight-overlay span {
  color: #d9e0d1 !important;
  font-size: .98rem !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
  max-width: 48ch !important;
}

html body.view-dashboard .chessora-home3-spotlight-mini-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

html body.view-dashboard .chessora-home3-spotlight-mini-stats span {
  align-items: center !important;
  background: rgba(10, 17, 14, .72) !important;
  border: 1px solid rgba(229, 180, 77, .18) !important;
  border-radius: 999px !important;
  color: #f2ebd6 !important;
  display: inline-flex !important;
  font-size: .88rem !important;
  gap: 8px !important;
  padding: 8px 12px !important;
}

html body.view-dashboard .chessora-home3-spotlight-mini-stats strong {
  color: #f1cf77 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

html body.view-dashboard .chessora-home3-spotlight .chessora-home3-board-panel {
  background: linear-gradient(180deg, rgba(18, 28, 24, .98), rgba(10, 18, 16, .98)) !important;
  border: 1px solid rgba(229, 180, 77, .24) !important;
  margin: 0 !important;
  max-width: none !important;
}

html body.view-dashboard .chessora-home3-daily {
  align-items: center !important;
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(117, 214, 110, .06)),
    #16211a !important;
  border: 1px solid rgba(229, 180, 77, .24) !important;
  border-radius: 12px !important;
  color: #f7f0de !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  padding: 18px !important;
}

html body.view-dashboard .chessora-home3-daily-copy {
  display: grid !important;
  gap: 6px !important;
}

html body.view-dashboard .chessora-home3-daily-copy p,
html body.view-dashboard .chessora-home3-daily-copy h2,
html body.view-dashboard .chessora-home3-daily-copy span {
  margin: 0 !important;
}

html body.view-dashboard .chessora-home3-daily-copy p {
  color: #f1cf77 !important;
  font-size: .76rem !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

html body.view-dashboard .chessora-home3-daily-copy h2 {
  color: #fff8e3 !important;
  font-size: clamp(1.25rem, 2vw, 1.7rem) !important;
}

html body.view-dashboard .chessora-home3-daily-copy span {
  color: #d7ded2 !important;
  font-weight: 700 !important;
}

html body.view-dashboard .chessora-home3-daily-stats {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(76px, 1fr)) !important;
}

html body.view-dashboard .chessora-home3-daily-stats span {
  background: rgba(6, 14, 12, .76) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 8px !important;
  color: #dfe8dc !important;
  display: grid !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  min-height: 60px !important;
  padding: 9px 12px !important;
}

html body.view-dashboard .chessora-home3-daily-stats strong {
  color: #fff8e3 !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

html body.view-dashboard .chessora-home3-daily-actions a {
  align-items: center !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(229, 180, 77, .34) !important;
  border-radius: 8px !important;
  color: #fff8e3 !important;
  display: inline-flex !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  text-decoration: none !important;
}

html body.view-dashboard .chessora-home3-play,
html body.view-dashboard .chessora-home3-feature,
html body.view-dashboard .chessora-home3-bottom article {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .10), rgba(117, 214, 110, .045)),
    #16211a !important;
  border: 1px solid rgba(229, 180, 77, .24) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18) !important;
  color: #f7f0de !important;
}

html body.view-dashboard .chessora-home3-play h2,
html body.view-dashboard .chessora-home3-bottom h2,
html body.view-dashboard .chessora-home3-feature strong,
html body.view-dashboard .chessora-home3-club-card strong,
html body.view-dashboard .chessora-home3-leaders span {
  color: #fff8e3 !important;
}

html body.view-dashboard .chessora-home3-presets a,
html body.view-dashboard .chessora-home3-leaders li,
html body.view-dashboard .chessora-home3-club-card {
  background:
    linear-gradient(180deg, rgba(18, 28, 24, .98), rgba(10, 18, 16, .98)) !important;
  border: 1px solid rgba(229, 180, 77, .22) !important;
  color: #f6edd3 !important;
}

html body.view-dashboard .chessora-home3-presets a:hover,
html body.view-dashboard .chessora-home3-presets a:focus,
html body.view-dashboard .chessora-home3-feature:hover,
html body.view-dashboard .chessora-home3-feature:focus {
  border-color: rgba(241, 207, 119, .64) !important;
  color: #fffaf0 !important;
}

html body.view-dashboard .chessora-home3-presets span,
html body.view-dashboard .chessora-home3-feature span,
html body.view-dashboard .chessora-home3-play header p,
html body.view-dashboard .chessora-home3-bottom header p,
html body.view-dashboard .chessora-home3-leaders strong {
  color: #f1cf77 !important;
}

html body.view-dashboard .chessora-home3-presets strong {
  color: #fff8e3 !important;
}

html body.view-dashboard .chessora-home3-presets small,
html body.view-dashboard .chessora-home3-feature p,
html body.view-dashboard .chessora-home3-club-card,
html body.view-dashboard .chessora-home3-leaders small {
  color: #d7ded2 !important;
}

/* 20260610-home-card-depth-1: keep lower dashboard cards on the same dark green surface as the hero cards. */
html body.view-dashboard .chessora-home3-command,
html body.view-dashboard .chessora-home3-guided,
html body.view-dashboard .chessora-home3-visitor-path,
html body.view-dashboard .chessora-home3-daily,
html body.view-dashboard .chessora-home3-play,
html body.view-dashboard .chessora-home3-bottom article {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .055), rgba(117, 214, 110, .022)),
    #0b1713 !important;
  border-color: rgba(229, 180, 77, .28) !important;
  color: #f7f0de !important;
}

html body.view-dashboard .chessora-home3-command-card,
html body.view-dashboard .chessora-home3-guided-card,
html body.view-dashboard .chessora-home3-visitor-grid article,
html body.view-dashboard .chessora-home3-presets a,
html body.view-dashboard .chessora-home3-feature,
html body.view-dashboard .chessora-home3-leaders li,
html body.view-dashboard .chessora-home3-club-card,
html body.view-dashboard .chessora-home3-daily-stats span,
html body.view-dashboard .chessora-home3-guided-progress {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .075), rgba(117, 214, 110, .035)),
    #102018 !important;
  border: 1px solid rgba(229, 180, 77, .28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, .035), 0 12px 26px rgba(0, 0, 0, .16) !important;
  color: #f7f0de !important;
}

html body.view-dashboard .chessora-home3-guided-card:hover,
html body.view-dashboard .chessora-home3-guided-card:focus,
html body.view-dashboard .chessora-home3-visitor-grid article:hover,
html body.view-dashboard .chessora-home3-presets a:hover,
html body.view-dashboard .chessora-home3-presets a:focus,
html body.view-dashboard .chessora-home3-feature:hover,
html body.view-dashboard .chessora-home3-feature:focus {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .085), rgba(117, 214, 110, .04)),
    #102018 !important;
  border-color: rgba(241, 207, 119, .58) !important;
}

html body.view-dashboard .chessora-home3-guided-card b {
  background: linear-gradient(180deg, #f0c35e, #c58b23) !important;
  color: #11140f !important;
}

html body.view-dashboard .chessora-home3-guided-progress i {
  background: rgba(241, 207, 119, .16) !important;
}

html body.view-dashboard .chessora-home3-guided-progress i::after {
  background: linear-gradient(90deg, #f0c35e, #75d66e) !important;
}

html body.view-dashboard .chessora-home3-command h2,
html body.view-dashboard .chessora-home3-guided h2,
html body.view-dashboard .chessora-home3-visitor-path h2,
html body.view-dashboard .chessora-home3-daily h2,
html body.view-dashboard .chessora-home3-play h2,
html body.view-dashboard .chessora-home3-bottom h2,
html body.view-dashboard .chessora-home3-command-card strong,
html body.view-dashboard .chessora-home3-guided-card strong,
html body.view-dashboard .chessora-home3-visitor-grid strong,
html body.view-dashboard .chessora-home3-feature strong,
html body.view-dashboard .chessora-home3-club-card strong,
html body.view-dashboard .chessora-home3-leaders span {
  color: #fff8e3 !important;
}

html body.view-dashboard .chessora-home3-command p,
html body.view-dashboard .chessora-home3-guided p,
html body.view-dashboard .chessora-home3-visitor-path p,
html body.view-dashboard .chessora-home3-daily p,
html body.view-dashboard .chessora-home3-play p,
html body.view-dashboard .chessora-home3-bottom header p,
html body.view-dashboard .chessora-home3-command-card span,
html body.view-dashboard .chessora-home3-guided-card span,
html body.view-dashboard .chessora-home3-feature span,
html body.view-dashboard .chessora-home3-presets span,
html body.view-dashboard .chessora-home3-leaders strong {
  color: #f1cf77 !important;
}

html body.view-dashboard .chessora-home3-command span,
html body.view-dashboard .chessora-home3-guided span,
html body.view-dashboard .chessora-home3-visitor-path span,
html body.view-dashboard .chessora-home3-daily span,
html body.view-dashboard .chessora-home3-command-card small,
html body.view-dashboard .chessora-home3-guided-card small,
html body.view-dashboard .chessora-home3-visitor-grid span,
html body.view-dashboard .chessora-home3-feature p,
html body.view-dashboard .chessora-home3-presets small,
html body.view-dashboard .chessora-home3-club-card,
html body.view-dashboard .chessora-home3-leaders small {
  color: #d7ded2 !important;
}

@media (max-width: 900px) {
  html body.view-dashboard .chessora-home3-landing-brand,
  html body.view-dashboard .chessora-home3-spotlight,
  html body.view-dashboard .chessora-home3-daily {
    grid-template-columns: 1fr !important;
  }

  html body.view-dashboard .chessora-home3-landing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  html body.view-dashboard .chessora-home3-landing,
  html body.view-dashboard .chessora-home3-spotlight {
    border-radius: 12px !important;
    padding: 14px !important;
  }

  html body.view-dashboard .chessora-home3-landing-grid,
  html body.view-dashboard .chessora-home3-daily-stats {
    grid-template-columns: 1fr !important;
  }

  html body.view-dashboard .chessora-home3-landing-logo,
  html body.view-dashboard .chessora-home3-landing-avatar {
    width: min(100%, 240px) !important;
  }
}

/* 20260610-seek-map-polish-1 */
html body.view-challenges .chessora-challenges-page {
  --seek-bullet: #f1cf77;
  --seek-blitz: #69d391;
  --seek-rapid: #72b8ff;
  --seek-classical: #d9a4ff;
  --seek-daily: #ff9d6f;
}

html body.view-challenges .chessora-seek-graph-panel {
  align-items: start !important;
}

html body.view-challenges .chessora-seek-board {
  background:
    linear-gradient(180deg, rgba(241, 207, 119, .07), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, #112219, #091611) !important;
  background-color: #0d1d16 !important;
  border-color: rgba(241, 207, 119, .34) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .26) !important;
}

html body.view-challenges .chessora-seek-plot {
  background:
    linear-gradient(90deg,
      rgba(241, 207, 119, .10) 0 20%,
      rgba(105, 211, 145, .095) 20% 40%,
      rgba(114, 184, 255, .085) 40% 60%,
      rgba(217, 164, 255, .08) 60% 80%,
      rgba(255, 157, 111, .085) 80% 100%),
    linear-gradient(rgba(255, 248, 221, .11) 1px, transparent 1px),
    radial-gradient(circle at 52% 42%, rgba(241, 207, 119, .17), transparent 54%),
    #07130f !important;
  background-size: auto, 100% 16.66%, auto, auto !important;
  border-color: rgba(241, 207, 119, .42) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, .08),
    inset 0 -32px 70px rgba(0, 0, 0, .24) !important;
  min-height: 520px !important;
  overflow: hidden !important;
  padding: 20px 24px 54px 48px !important;
}

html body.view-challenges .chessora-seek-plot::before {
  bottom: 74px !important;
  color: rgba(255, 248, 221, .055) !important;
  content: "Open seats";
  font-size: clamp(2.6rem, 7vw, 6rem) !important;
  font-weight: 950 !important;
  left: 74px !important;
  line-height: .9 !important;
  pointer-events: none !important;
  position: absolute !important;
  text-transform: uppercase !important;
  z-index: 0 !important;
}

html body.view-challenges .chessora-seek-plot::after {
  background: rgba(5, 14, 11, .74) !important;
  border: 1px solid rgba(241, 207, 119, .18) !important;
  border-radius: 999px !important;
  color: rgba(255, 248, 221, .72) !important;
  content: "Rating";
  font-size: .72rem !important;
  font-weight: 950 !important;
  left: 58px !important;
  letter-spacing: 0 !important;
  padding: 5px 9px !important;
  position: absolute !important;
  text-transform: uppercase !important;
  top: 16px !important;
  z-index: 2 !important;
}

html body.view-challenges .chessora-seek-y-axis {
  bottom: 58px !important;
  left: 18px !important;
  top: 32px !important;
  z-index: 2 !important;
}

html body.view-challenges .chessora-seek-y-axis span {
  color: rgba(255, 248, 221, .86) !important;
  font-size: .82rem !important;
  font-weight: 950 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .58) !important;
}

html body.view-challenges .chessora-seek-grid {
  inset: 0 0 0 48px !important;
  z-index: 1 !important;
}

html body.view-challenges .chessora-seek-grid span {
  align-items: end !important;
  border-left: 1px solid rgba(255, 248, 221, .12) !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 8px 16px !important;
  position: relative !important;
}

html body.view-challenges .chessora-seek-grid span:last-child {
  border-right: 1px solid rgba(255, 248, 221, .12) !important;
}

html body.view-challenges .chessora-seek-grid span::before {
  border-radius: 999px !important;
  content: "" !important;
  height: 6px !important;
  left: 18px !important;
  opacity: .85 !important;
  position: absolute !important;
  right: 18px !important;
  top: 18px !important;
}

html body.view-challenges .chessora-seek-grid span:nth-child(1)::before { background: var(--seek-bullet) !important; }
html body.view-challenges .chessora-seek-grid span:nth-child(2)::before { background: var(--seek-blitz) !important; }
html body.view-challenges .chessora-seek-grid span:nth-child(3)::before { background: var(--seek-rapid) !important; }
html body.view-challenges .chessora-seek-grid span:nth-child(4)::before { background: var(--seek-classical) !important; }
html body.view-challenges .chessora-seek-grid span:nth-child(5)::before { background: var(--seek-daily) !important; }

html body.view-challenges .chessora-seek-grid span b {
  background: rgba(5, 14, 11, .72) !important;
  border: 1px solid rgba(255, 248, 221, .12) !important;
  border-radius: 999px !important;
  color: #fff8dd !important;
  display: inline-flex !important;
  font-size: .76rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  padding: 7px 10px !important;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .55) !important;
  white-space: nowrap !important;
}

html body.view-challenges .chessora-seek-dot {
  --seek-color: var(--seek-blitz);
  align-items: center !important;
  background: color-mix(in srgb, var(--seek-color) 22%, #07130f) !important;
  border: 3px solid var(--seek-color) !important;
  border-radius: 999px !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, .32),
    0 0 0 6px color-mix(in srgb, var(--seek-color) 20%, transparent) !important;
  display: inline-flex !important;
  height: 34px !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
  width: 34px !important;
  z-index: 5 !important;
}

html body.view-challenges .chessora-seek-dot.is-bullet { --seek-color: var(--seek-bullet) !important; }
html body.view-challenges .chessora-seek-dot.is-blitz { --seek-color: var(--seek-blitz) !important; }
html body.view-challenges .chessora-seek-dot.is-rapid { --seek-color: var(--seek-rapid) !important; }
html body.view-challenges .chessora-seek-dot.is-classical { --seek-color: var(--seek-classical) !important; }
html body.view-challenges .chessora-seek-dot.is-correspondence,
html body.view-challenges .chessora-seek-dot.is-daily { --seek-color: var(--seek-daily) !important; }

html body.view-challenges .chessora-seek-dot > span {
  background: #fff8dd !important;
  border-radius: inherit !important;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--seek-color) 58%, #07130f) !important;
  display: block !important;
  height: 16px !important;
  pointer-events: none !important;
  width: 16px !important;
}

html body.view-challenges .chessora-seek-dot.is-unrated > span {
  background: transparent !important;
  border: 3px solid #fff8dd !important;
  box-shadow: none !important;
}

html body.view-challenges .chessora-seek-dot.is-owned {
  --seek-color: #f5f7f0 !important;
}

html body.view-challenges .chessora-seek-dot.is-bot {
  border-radius: 8px !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

html body.view-challenges .chessora-seek-dot.is-bot > span {
  transform: rotate(-45deg) !important;
}

html body.view-challenges .chessora-seek-dot b,
html body.view-challenges .chessora-seek-dot small {
  background: rgba(5, 14, 11, .86) !important;
  border: 1px solid color-mix(in srgb, var(--seek-color) 52%, transparent) !important;
  border-radius: 999px !important;
  color: #fff8dd !important;
  font-weight: 950 !important;
  left: 50% !important;
  line-height: 1 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  transform: translate(-50%, 8px) !important;
  transition: opacity .16s ease, transform .16s ease !important;
  white-space: nowrap !important;
}

html body.view-challenges .chessora-seek-dot b {
  font-size: .78rem !important;
  padding: 6px 8px !important;
  top: 34px !important;
}

html body.view-challenges .chessora-seek-dot small {
  bottom: 34px !important;
  font-size: .72rem !important;
  padding: 5px 7px !important;
}

html body.view-challenges .chessora-seek-dot:hover,
html body.view-challenges .chessora-seek-dot:focus,
html body.view-challenges .chessora-seek-dot.is-active {
  box-shadow:
    0 18px 34px rgba(0, 0, 0, .42),
    0 0 0 10px color-mix(in srgb, var(--seek-color) 26%, transparent),
    0 0 32px color-mix(in srgb, var(--seek-color) 30%, transparent) !important;
  filter: saturate(1.1) !important;
  outline: none !important;
  transform: translate(-50%, -50%) scale(1.22) !important;
  z-index: 8 !important;
}

html body.view-challenges .chessora-seek-dot.is-bot:hover,
html body.view-challenges .chessora-seek-dot.is-bot:focus,
html body.view-challenges .chessora-seek-dot.is-bot.is-active {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.22) !important;
}

html body.view-challenges .chessora-seek-dot:hover b,
html body.view-challenges .chessora-seek-dot:hover small,
html body.view-challenges .chessora-seek-dot:focus b,
html body.view-challenges .chessora-seek-dot:focus small,
html body.view-challenges .chessora-seek-dot.is-active b,
html body.view-challenges .chessora-seek-dot.is-active small {
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
}

html body.view-challenges .chessora-seek-popover {
  background:
    linear-gradient(180deg, rgba(255, 248, 221, .08), rgba(255, 255, 255, .025)),
    rgba(8, 19, 15, .96) !important;
  border: 1px solid rgba(241, 207, 119, .42) !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .42) !important;
  min-width: 220px !important;
  padding: 12px !important;
  z-index: 20 !important;
}

html body.view-challenges .chessora-seek-popover-avatar {
  background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
  color: #100d08 !important;
}

html body.view-challenges .chessora-seek-popover-meta span {
  background: rgba(255, 255, 255, .07) !important;
  border-color: rgba(241, 207, 119, .18) !important;
}

html body.view-challenges .chessora-seek-detail {
  --active-seek-color: var(--seek-blitz);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--active-seek-color) 12%, transparent), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, #112219, #091611) !important;
  background-color: #0d1d16 !important;
  border-color: color-mix(in srgb, var(--active-seek-color) 46%, rgba(241, 207, 119, .28)) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 248, 221, .08) !important;
}

html body.view-challenges .chessora-seek-detail[data-seek-tone="bullet"] { --active-seek-color: var(--seek-bullet) !important; }
html body.view-challenges .chessora-seek-detail[data-seek-tone="blitz"] { --active-seek-color: var(--seek-blitz) !important; }
html body.view-challenges .chessora-seek-detail[data-seek-tone="rapid"] { --active-seek-color: var(--seek-rapid) !important; }
html body.view-challenges .chessora-seek-detail[data-seek-tone="classical"] { --active-seek-color: var(--seek-classical) !important; }
html body.view-challenges .chessora-seek-detail[data-seek-tone="correspondence"],
html body.view-challenges .chessora-seek-detail[data-seek-tone="daily"] { --active-seek-color: var(--seek-daily) !important; }

html body.view-challenges .chessora-seek-detail-rating strong {
  color: var(--active-seek-color) !important;
}

html body.view-challenges .chessora-seek-detail dl div {
  border-color: color-mix(in srgb, var(--active-seek-color) 22%, transparent) !important;
}

@media (max-width: 760px) {
  html body.view-challenges .chessora-seek-plot {
    min-height: 430px !important;
    padding-left: 42px !important;
  }

  html body.view-challenges .chessora-seek-grid span b {
    font-size: .68rem !important;
    padding: 6px 7px !important;
  }

  html body.view-challenges .chessora-seek-dot {
    height: 30px !important;
    width: 30px !important;
  }
}

/* 20260611-broadcast-lichess-tabs-1 */
html body.view-broadcasts .chessora-broadcast-overview-facts {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  gap: 10px !important;
  margin: 14px 0 !important;
}

html body.view-broadcasts .chessora-broadcast-overview-facts strong {
  background: #07120f !important;
  border: 1px solid rgba(214, 167, 72, .22) !important;
  border-radius: 10px !important;
  color: #fff5d6 !important;
  display: grid !important;
  font-size: 1.45rem !important;
  gap: 2px !important;
  padding: 12px !important;
}

html body.view-broadcasts .chessora-broadcast-overview-facts span {
  color: rgba(255, 248, 221, .72) !important;
  font-size: .72rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-player-table,
html body.view-broadcasts .chessora-broadcast-team-results,
html body.view-broadcasts .chessora-broadcast-team-board-table {
  background: #07120f !important;
  border: 1px solid rgba(214, 167, 72, .22) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row {
  grid-template-columns: 64px minmax(220px, 1fr) 110px 110px 90px !important;
}

html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row {
  grid-template-columns: minmax(240px, 1fr) 110px 140px 140px !important;
}

html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row {
  grid-template-columns: 90px minmax(180px, 1fr) 90px minmax(180px, 1fr) !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row,
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row,
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row {
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 248, 221, .08) !important;
  color: #fff5d6 !important;
  display: grid !important;
  gap: 10px !important;
  padding: 11px 14px !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-head,
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-head,
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-head {
  background: linear-gradient(180deg, #e4b141, #bd7e22) !important;
  color: #11120c !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row > span:nth-child(2),
html body.view-broadcasts .chessora-broadcast-player-grid article {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
}

html body.view-broadcasts .chessora-broadcast-player-table small {
  color: rgba(255, 248, 221, .68) !important;
  display: block !important;
  font-size: .75rem !important;
  margin-top: 2px !important;
}

html body.view-broadcasts .chessora-broadcast-player-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}

html body.view-broadcasts .chessora-broadcast-player-grid article,
html body.view-broadcasts .chessora-broadcast-team-matchups section {
  background: #07120f !important;
  border: 1px solid rgba(214, 167, 72, .22) !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

html body.view-broadcasts .chessora-broadcast-team-matchups {
  display: grid !important;
  gap: 14px !important;
}

html body.view-broadcasts .chessora-broadcast-team-matchups section > header {
  align-items: center !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr) !important;
  margin-bottom: 12px !important;
}

html body.view-broadcasts .chessora-broadcast-team-matchups section > header b {
  background: #e0aa38 !important;
  border-radius: 999px !important;
  color: #11120c !important;
  padding: 7px 12px !important;
  text-align: center !important;
}

html body.view-broadcasts .chessora-broadcast-live-room[data-broadcast-info-panel="boards"] {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row,
  html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row,
  html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row,
  html body.view-broadcasts .chessora-broadcast-team-matchups section > header {
    grid-template-columns: 1fr !important;
  }
}

/* 20260611-broadcast-contrast-and-boards-1 */
html body.view-broadcasts .chessora-broadcast-event-logo {
  background: #07120f !important;
  height: 128px !important;
  justify-items: center !important;
  overflow: hidden !important;
  width: 170px !important;
}

html body.view-broadcasts .chessora-broadcast-event-logo img {
  border-radius: 6px !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-event-logo figcaption {
  background: rgba(7, 18, 15, .84) !important;
  bottom: 8px !important;
  color: #fff4cf !important;
  left: 8px !important;
  padding: 5px 7px !important;
  position: absolute !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row:not(.chessora-table-head),
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row:not(.chessora-table-head),
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row:not(.chessora-table-head) {
  background: #101d17 !important;
  border: 1px solid rgba(214, 167, 72, .16) !important;
  border-radius: 8px !important;
  color: #fff4cf !important;
  margin: 6px !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row:not(.chessora-table-head):nth-child(even),
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row:not(.chessora-table-head):nth-child(even),
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row:not(.chessora-table-head):nth-child(even) {
  background: #0a1712 !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row:not(.chessora-table-head):hover,
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row:not(.chessora-table-head):hover,
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row:not(.chessora-table-head):hover {
  background: #1b2b21 !important;
  border-color: rgba(241, 207, 119, .42) !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row span,
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row span,
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row span,
html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row strong,
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row strong,
html body.view-broadcasts .chessora-broadcast-team-board-table .chessora-table-row strong {
  color: inherit !important;
}

html body.view-broadcasts .chessora-broadcast-player-table .chessora-table-row > span:nth-child(4),
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row > span:nth-child(3),
html body.view-broadcasts .chessora-broadcast-team-results .chessora-table-row > span:nth-child(4) {
  color: #f5c85b !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  background: #07120f !important;
  border: 1px solid rgba(214, 167, 72, .18) !important;
  border-radius: 10px !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  padding: 12px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a {
  background: #f6e7c8 !important;
  border: 1px solid rgba(231, 198, 128, .72) !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16) !important;
  color: #1a160e !important;
  display: grid !important;
  gap: 4px !important;
  grid-template-areas:
    "top top"
    "board board"
    "white result"
    "black result" !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 8px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.is-active,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a:focus {
  background: #cfe5f7 !important;
  border-color: #8fc0e7 !important;
  box-shadow: inset 0 0 0 2px rgba(75, 154, 214, .35), 0 14px 28px rgba(0, 0, 0, .22) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-mini-board {
  border: 1px solid rgba(83, 55, 25, .55) !important;
  border-radius: 4px !important;
  grid-area: board !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a > strong {
  color: #1c160d !important;
  font-size: .92rem !important;
  grid-area: top !important;
  line-height: 1.15 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a > span {
  color: #352c1e !important;
  display: block !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  grid-area: white !important;
  line-height: 1.28 !important;
  min-height: 34px !important;
  overflow: hidden !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a > b {
  align-self: end !important;
  background: rgba(255, 255, 255, .55) !important;
  border-radius: 999px !important;
  color: #b23a08 !important;
  font-size: .86rem !important;
  grid-area: result !important;
  padding: 4px 7px !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-event-logo {
    height: 116px !important;
    width: 100% !important;
  }

  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)) !important;
  }
}

/* 20260611-broadcast-boards-and-player-cards-2 */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: start !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a {
  align-content: start !important;
  background: #f7ead0 !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-areas:
    "head"
    "board"
    "white"
    "black" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: 8px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a header {
  align-items: center !important;
  display: flex !important;
  gap: 8px !important;
  grid-area: head !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a header strong {
  color: #181109 !important;
  font-size: .9rem !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a header b {
  align-items: center !important;
  background: rgba(255, 255, 255, .72) !important;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  border-radius: 999px !important;
  color: #b4450a !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 24px !important;
  min-width: 34px !important;
  padding: 3px 7px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  background: #f0d8a4 !important;
  grid-area: board !important;
  max-height: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a > strong,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a > b:not(header b) {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  color: #21180d !important;
  display: block !important;
  font-size: .76rem !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  min-height: 16px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black {
  color: rgba(33, 24, 13, .82) !important;
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.is-active,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a:focus {
  background: #d8ecfb !important;
  border-color: #91c2e8 !important;
  transform: translateY(-1px) !important;
}

body.view-challenges .chessora-challenges-page .chessora-lobby-card-grid {
  align-items: stretch !important;
  gap: 14px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card {
  background:
    linear-gradient(135deg, rgba(241, 207, 119, .08), rgba(255, 255, 255, .025)),
    #0b1b15 !important;
  border: 1px solid rgba(214, 167, 72, .32) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .22) !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "head avatar"
    "ratings ratings"
    "footer footer" !important;
  min-height: 0 !important;
  padding: 18px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card:hover,
body.view-challenges .chessora-challenges-page .chessora-player-roster-card:focus-within {
  border-color: rgba(241, 207, 119, .58) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(241, 207, 119, .08) !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-head {
  align-content: start !important;
  align-items: start !important;
  display: grid !important;
  gap: 8px !important;
  grid-area: head !important;
  padding-right: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-head > strong {
  color: #fff4cf !important;
  font-size: 1.05rem !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions {
  display: flex !important;
  gap: 7px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(241, 207, 119, .22) !important;
  color: #fff4cf !important;
  height: 30px !important;
  width: 30px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar {
  grid-area: avatar !important;
  height: 64px !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  width: 64px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings {
  gap: 8px !important;
  grid-area: ratings !important;
  margin-top: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings span {
  background: #15241c !important;
  border-color: rgba(214, 167, 72, .18) !important;
  min-height: 38px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer {
  display: grid !important;
  gap: 8px !important;
  grid-area: footer !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer .chessora-button {
  min-width: 0 !important;
  width: 100% !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)) !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-player-roster-card {
    grid-template-columns: minmax(0, 1fr) 56px !important;
    padding: 14px !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar {
    height: 56px !important;
    width: 56px !important;
  }
}

/* 20260611-broadcast-compact-board-tiles-final */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: start !important;
  background: #06110e !important;
  border: 1px solid rgba(214, 167, 72, .28) !important;
  border-radius: 10px !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr)) !important;
  overflow: visible !important;
  padding: 10px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  align-content: start !important;
  background: #f6e6c5 !important;
  border: 1px solid rgba(79, 48, 17, .35) !important;
  border-radius: 7px !important;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .22) !important;
  color: #1c150c !important;
  display: grid !important;
  gap: 5px !important;
  grid-template-areas: "head" "board" "white" "black" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: 7px !important;
  text-decoration: none !important;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile[hidden] {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  align-items: center !important;
  display: flex !important;
  gap: 6px !important;
  grid-area: head !important;
  justify-content: space-between !important;
  min-height: 22px !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head strong {
  color: #1b1309 !important;
  display: block !important;
  font-size: .86rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-result-badge {
  align-items: center !important;
  background: #fff8ea !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #bd4a0c !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  line-height: 1 !important;
  max-width: 58px !important;
  min-height: 22px !important;
  min-width: 28px !important;
  overflow: hidden !important;
  padding: 3px 6px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  background: #edd39d !important;
  border: 1px solid rgba(82, 51, 19, .55) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24) !important;
  grid-area: board !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  color: #22180c !important;
  display: grid !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  gap: 5px !important;
  grid-template-columns: 8px minmax(0, 1fr) !important;
  line-height: 1.12 !important;
  min-height: 15px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > i {
  border-radius: 999px !important;
  display: block !important;
  height: 8px !important;
  width: 8px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white > i {
  background: #fffaf0 !important;
  border: 1px solid rgba(39, 28, 12, .32) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black {
  color: rgba(34, 24, 12, .82) !important;
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black > i {
  background: #14100a !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #d8ecfb !important;
  border-color: #8cc2ee !important;
  box-shadow: inset 0 0 0 2px rgba(84, 161, 219, .42), 0 12px 22px rgba(0, 0, 0, .26) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:focus {
  border-color: #8cc2ee !important;
  box-shadow: 0 13px 24px rgba(0, 0, 0, .28) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > strong,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > b:not(.chessora-broadcast-result-badge) {
  display: none !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
    gap: 8px !important;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)) !important;
    padding: 8px !important;
  }

  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
    padding: 6px !important;
  }
}

/* 20260611-challenge-player-card-redesign-1 */
body.view-challenges .chessora-challenges-page .chessora-lobby-card-grid[data-player-grid] {
  align-items: stretch !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card[data-player-card] {
  background:
    linear-gradient(145deg, rgba(241, 207, 119, .08), rgba(10, 28, 21, .96) 42%),
    #091b14 !important;
  border: 1px solid rgba(214, 167, 72, .34) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 244, 207, .05) !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "identity"
    "actions"
    "ratings"
    "buttons" !important;
  min-height: 0 !important;
  padding: 18px !important;
  position: relative !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card[data-player-card]:hover,
body.view-challenges .chessora-challenges-page .chessora-player-roster-card[data-player-card]:focus-within {
  border-color: rgba(241, 207, 119, .68) !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(241, 207, 119, .08) !important;
  transform: translateY(-1px) !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-head {
  align-items: center !important;
  display: grid !important;
  gap: 12px !important;
  grid-area: identity !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  padding: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar {
  background:
    linear-gradient(145deg, rgba(241, 207, 119, .92), rgba(164, 113, 30, .82)),
    #17251e !important;
  border: 1px solid rgba(255, 244, 207, .45) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25) !important;
  color: #07120f !important;
  display: grid !important;
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  grid-area: auto !important;
  height: 58px !important;
  line-height: 1 !important;
  place-items: center !important;
  position: relative !important;
  right: auto !important;
  text-transform: uppercase !important;
  top: auto !important;
  width: 58px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar img {
  border-radius: 14px !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-avatar i {
  background: #39d86b !important;
  border: 2px solid #091b14 !important;
  border-radius: 999px !important;
  bottom: -2px !important;
  box-shadow: 0 0 0 2px rgba(57, 216, 107, .22) !important;
  height: 14px !important;
  position: absolute !important;
  right: -2px !important;
  width: 14px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-identity {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-head > .chessora-player-roster-identity > strong {
  color: #fff4cf !important;
  display: flex !important;
  flex-wrap: wrap !important;
  font-size: 1.08rem !important;
  gap: 8px !important;
  line-height: 1.15 !important;
  min-width: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-identity small {
  color: rgba(222, 235, 224, .68) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions {
  display: grid !important;
  gap: 8px !important;
  grid-area: actions !important;
  grid-template-columns: repeat(3, 42px) !important;
  justify-content: start !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a {
  align-items: center !important;
  background: rgba(255, 244, 207, .08) !important;
  border: 1px solid rgba(241, 207, 119, .28) !important;
  border-radius: 999px !important;
  color: #f6c851 !important;
  display: inline-flex !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
  height: 34px !important;
  justify-content: center !important;
  text-decoration: none !important;
  width: 42px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a:hover,
body.view-challenges .chessora-challenges-page .chessora-player-roster-actions a:focus {
  background: rgba(241, 207, 119, .18) !important;
  border-color: rgba(241, 207, 119, .62) !important;
  color: #fff4cf !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings {
  display: grid !important;
  gap: 8px !important;
  grid-area: ratings !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings span {
  align-items: start !important;
  background: rgba(255, 244, 207, .06) !important;
  border: 1px solid rgba(241, 207, 119, .22) !important;
  border-radius: 10px !important;
  color: #fff4cf !important;
  display: grid !important;
  gap: 2px !important;
  min-height: 54px !important;
  padding: 10px 11px !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings b {
  color: #ffd66b !important;
  font-size: 1.06rem !important;
  line-height: 1 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings em {
  color: rgba(222, 235, 224, .68) !important;
  font-size: .68rem !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer {
  display: grid !important;
  gap: 9px !important;
  grid-area: buttons !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer .chessora-button {
  align-items: center !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 42px !important;
  min-width: 0 !important;
  padding: 0 14px !important;
  width: 100% !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-card footer .chessora-button-primary {
  color: #07120f !important;
}

body.view-challenges .chessora-challenges-page .chessora-player-roster-watch {
  grid-column: 1 / -1 !important;
}

@media (max-width: 520px) {
  body.view-challenges .chessora-challenges-page .chessora-lobby-card-grid[data-player-grid] {
    grid-template-columns: 1fr !important;
  }

  body.view-challenges .chessora-challenges-page .chessora-player-roster-ratings {
    grid-template-columns: 1fr !important;
  }
}

/* 20260611-broadcast-mini-board-square-fix-1 */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
  height: auto !important;
  line-height: 1 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board > span {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  font-size: clamp(12px, 7.6cqw, 19px) !important;
  font-weight: 400 !important;
  grid-column: auto !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board img {
  display: block !important;
  height: 88% !important;
  max-height: 88% !important;
  max-width: 88% !important;
  object-fit: contain !important;
  width: 88% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player {
  list-style: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > i {
  align-self: center !important;
  display: block !important;
  flex: 0 0 8px !important;
  margin: 0 !important;
}

/* 20260611-broadcast-lichess-mini-strip-1 */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: flex-start !important;
  gap: 10px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  background: #f5e5c5 !important;
  border: 1px solid rgba(79, 48, 17, .24) !important;
  border-radius: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16) !important;
  color: #2b2115 !important;
  display: grid !important;
  flex: 0 0 208px !important;
  gap: 0 !important;
  grid-template-areas:
    "black"
    "board"
    "white" !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 22px auto 22px !important;
  min-height: 0 !important;
  min-width: 208px !important;
  overflow: hidden !important;
  padding: 0 !important;
  text-decoration: none !important;
  width: 208px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #cfe6f7 !important;
  border-color: #7eb7df !important;
  box-shadow: inset 0 0 0 2px rgba(92, 158, 205, .36), 0 6px 14px rgba(0, 0, 0, .18) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:focus {
  border-color: #7eb7df !important;
  box-shadow: inset 0 0 0 2px rgba(92, 158, 205, .22), 0 7px 16px rgba(0, 0, 0, .22) !important;
  outline: none !important;
  transform: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  background: #f0d49d !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  display: grid !important;
  grid-area: board !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
  height: auto !important;
  margin: 0 5px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: calc(100% - 10px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board > span {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-mini-board img {
  display: block !important;
  height: 88% !important;
  max-height: 88% !important;
  max-width: 88% !important;
  object-fit: contain !important;
  width: 88% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player {
  align-items: center !important;
  color: #233342 !important;
  display: grid !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  gap: 4px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 22px !important;
  line-height: 1 !important;
  min-width: 0 !important;
  padding: 0 4px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-black {
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > i {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile .chessora-broadcast-board-player > b {
  color: #d94e0b !important;
  display: block !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  min-width: 18px !important;
  text-align: right !important;
}

/* 20260611-broadcast-compact-board-tiles-last */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  align-items: start !important;
  background: #06110e !important;
  border: 1px solid rgba(214, 167, 72, .28) !important;
  border-radius: 10px !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(auto-fill, 156px) !important;
  justify-content: start !important;
  overflow: visible !important;
  padding: 10px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  align-content: start !important;
  background: #f5e5c5 !important;
  border: 1px solid rgba(79, 48, 17, .35) !important;
  border-radius: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16) !important;
  color: #1c150c !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-areas: "black" "board" "white" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 20px 146px 36px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  text-decoration: none !important;
  transform: none !important;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease !important;
  width: 156px !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame {
  display: block !important;
  grid-area: board !important;
  height: 166px !important;
  margin: 0 5px !important;
  min-height: 166px !important;
  min-width: 166px !important;
  overflow: hidden !important;
  width: 166px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile[hidden] {
  display: none !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head {
  align-items: center !important;
  display: none !important;
  gap: 6px !important;
  grid-area: head !important;
  justify-content: space-between !important;
  min-height: 22px !important;
  min-width: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-tile-head strong {
  color: #1b1309 !important;
  display: block !important;
  font-size: .86rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-result-badge {
  align-items: center !important;
  background: #fff8ea !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #bd4a0c !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  line-height: 1 !important;
  max-width: 58px !important;
  min-height: 22px !important;
  min-width: 28px !important;
  overflow: hidden !important;
  padding: 3px 6px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  aspect-ratio: 1 / 1 !important;
  background: #edd39d !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
  height: 166px !important;
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 166px !important;
  min-width: 166px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 166px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board > span {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board img {
  display: block !important;
  height: 88% !important;
  max-height: 88% !important;
  max-width: 88% !important;
  object-fit: contain !important;
  width: 88% !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  color: #2b332f !important;
  display: grid !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
  gap: 4px !important;
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  height: 26px !important;
  line-height: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 6px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > i {
  border-radius: 999px !important;
  display: none !important;
  height: 8px !important;
  width: 8px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-flag {
  align-self: center !important;
  background: linear-gradient(135deg, #21322b, #d9ac36) !important;
  border: 1px solid rgba(34, 24, 12, .2) !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18) !important;
  display: block !important;
  height: 12px !important;
  justify-self: center !important;
  object-fit: cover !important;
  overflow: hidden !important;
  width: 16px !important;
}

html body.view-broadcasts .chessora-broadcast-player-inline-flag {
  border-radius: 2px !important;
  display: inline-block !important;
  height: 12px !important;
  margin-right: 4px !important;
  object-fit: cover !important;
  vertical-align: -1px !important;
  width: 16px !important;
}

html body.view-broadcasts .chessora-broadcast-player-inline-flag.is-international,
html body.view-broadcasts .chessora-broadcast-player-flag.is-international {
  background: linear-gradient(135deg, #20342b, #d9ac36) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-name {
  align-items: baseline !important;
  display: inline-flex !important;
  gap: 3px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-name em {
  color: rgba(80, 58, 28, .78) !important;
  display: inline !important;
  flex: 0 0 auto !important;
  font-size: .68rem !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white {
  grid-area: white !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-white > i {
  background: #fffaf0 !important;
  border: 1px solid rgba(39, 28, 12, .32) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black {
  color: rgba(34, 24, 12, .82) !important;
  grid-area: black !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player.is-black > i {
  background: #14100a !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile.is-active {
  background: #d8ecfb !important;
  border-color: #8cc2ee !important;
  box-shadow: inset 0 0 0 2px rgba(84, 161, 219, .42), 0 5px 12px rgba(0, 0, 0, .18) !important;
  transform: none !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:hover,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile:focus {
  border-color: #8cc2ee !important;
  box-shadow: inset 0 0 0 2px rgba(84, 161, 219, .30), 0 5px 12px rgba(0, 0, 0, .18) !important;
  outline: none !important;
  transform: none !important;
  z-index: 0 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > strong,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > b:not(.chessora-broadcast-result-badge) {
  display: none !important;
}

@media (max-width: 760px) {
  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
    gap: 8px !important;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)) !important;
    padding: 8px !important;
  }

  html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
    padding: 6px !important;
  }
}
/* 20260612-broadcast-player-lineup-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  grid-template-columns: repeat(auto-fill, 176px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 26px 166px 26px !important;
  width: 176px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  height: 166px !important;
  min-height: 166px !important;
  min-width: 166px !important;
  width: 166px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  display: grid !important;
  gap: 6px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 26px !important;
  overflow: hidden !important;
  padding: 0 6px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-meta {
  align-items: center !important;
  display: inline-flex !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-name {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-title {
  color: rgba(80, 58, 28, .78) !important;
  flex: 0 0 auto !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-player-flag {
  flex: 0 0 16px !important;
  height: 11px !important;
  width: 16px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > b {
  color: #d65713 !important;
  font-size: .75rem !important;
  font-weight: 950 !important;
  justify-self: end !important;
  line-height: 1 !important;
  min-width: 16px !important;
  text-align: right !important;
}
/* 20260612-broadcast-player-lineup-wide-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip {
  grid-template-columns: repeat(auto-fill, 224px) !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 30px 214px 30px !important;
  min-width: 224px !important;
  width: 224px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame {
  height: 214px !important;
  margin: 0 5px !important;
  min-height: 214px !important;
  min-width: 214px !important;
  width: 214px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile > .chessora-broadcast-board-frame > .chessora-broadcast-mini-board {
  height: 214px !important;
  min-height: 214px !important;
  min-width: 214px !important;
  width: 214px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  display: grid !important;
  font-size: .82rem !important;
  gap: 7px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  height: 30px !important;
  min-width: 0 !important;
  padding: 0 7px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta {
  align-items: center !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player .chessora-broadcast-player-flag {
  display: block !important;
  flex: 0 0 18px !important;
  height: 12px !important;
  width: 18px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player .chessora-broadcast-player-name {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player .chessora-broadcast-player-title {
  display: inline !important;
  flex: 0 0 auto !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* 20260612-broadcast-player-flags-visible-terminal */
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip > a.chessora-broadcast-board-tile {
  grid-template-rows: 34px 214px 34px !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player {
  align-items: center !important;
  height: 34px !important;
  line-height: 1 !important;
  overflow: visible !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta,
html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > span.chessora-broadcast-player-meta {
  align-items: center !important;
  display: grid !important;
  gap: 5px !important;
  grid-template-columns: 22px minmax(0, 1fr) auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html body.view-broadcasts .chessora-broadcast-board-index.chessora-observer-strip .chessora-broadcast-board-player > .chessora-broadcast-player-meta > img.chessora-broadcast-player-flag,
html body.view-broadcasts img.chessora-broadcast-player-flag {
  aspect-ratio: 3 / 2 !important;
  background-color: #fffaf0 !important;
  border: 1px solid rgba(37, 27, 12, .32) !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .22) !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
  height: 15px !important;
  max-height: 15px !important;
  max-width: 22px !important;
  min-height: 15px !important;
  min-width: 22px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  overflow: hidden !important;
  visibility: visible !important;
  width: 22px !important;
}
