:root {
  color-scheme: dark;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #f5eee8;
  background: #181619;
  --muted: #b9abb4;
  --panel: #231f24;
  --border: #3b343c;
  --accent: #ffac8e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 30;
  padding: 12px;
  background: var(--accent);
  color: #291912;
}
.skip:focus {
  top: 10px;
}
.wrap,
.header-inner {
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
}
.site-header {
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.2rem;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  gap: 2px;
}
.brand-mark i {
  height: 6px;
  background: var(--accent);
  border-radius: 1.5px;
}
.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  opacity: 0.38;
}
nav {
  display: flex;
  gap: 28px;
}
nav a,
.nav-open {
  font-size: 0.8rem;
  color: var(--muted);
}
nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--accent);
}
.nav-open {
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 13px;
  color: #f5eee8;
}
.nav-open:hover {
  border-color: #ffac8e80;
}
.nav-open span {
  margin-left: 10px;
}
.eyebrow {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 50px;
  padding-block: 94px 94px;
}
h1 {
  font:
    400 clamp(3.6rem, 6.1vw, 5.7rem)/0.98 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin-top: 20px;
}
h1 span {
  color: var(--accent);
}
.hero-description {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 460px;
  margin-top: 25px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 13px 17px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
}
.primary {
  color: #291912;
  background: var(--accent);
}
.primary:hover {
  background: #ffc0a8;
}
.text-link {
  font-size: 0.78rem;
  line-height: 1.5;
}
.text-link span {
  margin-left: 6px;
  color: var(--accent);
}
.link-form {
  margin-top: 38px;
  max-width: 470px;
}
.link-form > label {
  display: block;
  font-size: 0.71rem;
  color: var(--muted);
  margin-bottom: 9px;
}
.link-field {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #211d25;
}
.link-field:focus-within {
  border-color: #ffac8e80;
}
.link-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.74rem;
  padding: 9px 8px;
}
.link-field input::placeholder {
  color: #a69aa6;
}
.link-field button {
  flex: none;
  padding: 9px 10px;
  background: #302830;
  border: 1px solid #51424c;
  border-radius: 5px;
  color: #f5eee8;
  font-size: 0.71rem;
}
.link-field button:hover {
  background: #3d303a;
}
.link-field button span {
  margin-left: 5px;
  color: var(--accent);
}
#link-error {
  font-size: 0.75rem;
  color: var(--accent);
  line-height: 1.5;
  margin-top: 8px;
}
.hero-preview {
  background: linear-gradient(140deg, #2c252c, #211e24);
  border: 1px solid #52424d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 65px #0002;
}
.preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 23px 23px 0;
}
.preview-caption .eyebrow {
  font-size: 0.6rem;
}
.preview-type {
  font-size: 0.6rem;
  color: #e6d8e3;
  padding: 5px 7px;
  border: 1px solid #ffffff14;
  border-radius: 4px;
}
.hero-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-preview figcaption {
  padding: 0 24px 23px;
  font-size: 0.72rem;
  line-height: 1.5;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
h2 {
  font:
    400 clamp(2.3rem, 3.8vw, 3.4rem)/1.08 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.quiet-button {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.73rem;
  flex: none;
}
.quiet-button:hover {
  color: var(--accent);
  border-color: #ffac8e60;
}
.quiet-button span {
  font-size: 0.95rem;
  margin-right: 6px;
}
.live-section {
  border-top: 1px solid var(--border);
  padding-block: 76px 88px;
}
.live-meta {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.5;
}
.broadcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.broadcast-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #211d23;
  overflow: hidden;
}
.event-heading {
  padding: 20px 21px 16px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: start;
}
.event-heading h3 {
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
}
.event-round {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 5px;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.61rem;
  white-space: nowrap;
  color: var(--muted);
}
.state[data-state="live"] {
  color: var(--accent);
}
.state[data-state="live"]::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.game-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 21px;
  border-top: 1px solid #ffffff08;
  transition: background 0.15s;
}
.game-row:hover {
  background: #ffac8e08;
}
.board-number {
  color: #9b8c99;
  font-size: 0.65rem;
  width: 15px;
  flex: none;
}
.game-players {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.player {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 0.76rem;
}
.side-dot {
  width: 7px;
  height: 7px;
  border: 1px solid #c9bcc880;
  background: #151319;
  border-radius: 50%;
  flex: none;
}
.side-dot.white {
  background: #f8ebd7;
  border-color: #f8ebd7;
}
.player-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-title {
  font-size: 0.57rem;
  color: #b4a1af;
  flex: none;
}
.player-rating {
  font-size: 0.61rem;
  color: #958795;
  margin-left: auto;
  padding-left: 7px;
  flex: none;
}
.game-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.game-arrow {
  font-size: 0.85rem;
  color: #b4a1af;
}
.card-footer {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 21px;
}
.card-footer button {
  border: 0;
  background: transparent;
  color: #ffd0be;
  font-size: 0.68rem;
  padding: 4px 0;
}
.card-footer button:hover {
  color: var(--accent);
}
.card-footer p {
  font-size: 0.61rem;
  color: var(--muted);
}
.card-message {
  font-size: 0.76rem;
  line-height: 1.6;
  padding: 20px;
  color: var(--muted);
}
.feed-error {
  grid-column: 1/-1;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 28px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}
.feed-error a {
  color: var(--accent);
}
.note {
  font-size: 0.66rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 14px;
}
.broadcast-skeleton {
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: linear-gradient(100deg, #211d23 25%, #29232b 50%, #211d23 75%);
  background-size: 250% 100%;
  animation: shimmer 2s infinite;
}
.views-section {
  padding-block: 80px 88px;
  border-top: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.feature {
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  background: #211d23;
  transition: border-color 0.2s;
}
.feature:hover {
  border-color: #806470;
}
.feature-image {
  background: linear-gradient(135deg, #2a242b, #211e24);
}
.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}
.feature-copy {
  padding: 20px 19px 24px;
  border-top: 1px solid #ffffff0a;
}
.feature-copy h3 {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 1rem;
}
.feature-copy h3 span {
  color: var(--accent);
  font-size: 0.85rem;
}
.feature-copy p {
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 430px;
  margin-top: 10px;
}
.audience-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding: 26px 0 0;
  border-top: 1px solid var(--border);
}
.audience-note h3 {
  font-size: 0.8rem;
  font-weight: 500;
}
.audience-note p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
}
.audience-note .text-link {
  flex: none;
}
.faq {
  border-top: 1px solid var(--border);
  padding-block: 53px 70px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.faq h2 {
  font-size: 2.3rem;
}
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding-block: 18px;
}
.faq-list details:first-child {
  padding-top: 8px;
}
.faq summary {
  cursor: pointer;
  font-size: 0.85rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.faq summary::after {
  content: "+";
  color: var(--muted);
}
.faq details[open] summary::after {
  content: "−";
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
}
.faq-contact {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}
.faq-contact .text-link {
  margin-left: 6px;
}
footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 34px;
  border-top: 1px solid var(--border);
}
footer .brand {
  font-size: 1rem;
}
footer p {
  font-size: 0.65rem;
  color: var(--muted);
}
.footer-heart {
  color: var(--accent);
  font-size: 0.8rem;
  margin-left: 4px;
}
footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}
footer > div a {
  font-size: 0.63rem;
  color: var(--muted);
}
dialog {
  background: #211d25;
  color: #f5eee8;
  border: 1px solid #66505d;
  border-radius: 12px;
  padding: 25px;
  width: min(620px, calc(100% - 32px));
  max-height: 85dvh;
}
dialog::backdrop {
  background: #100d12b8;
  backdrop-filter: blur(6px);
}
.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}
.dialog-heading .quiet-button {
  padding: 7px 10px;
}
#board-search {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #181619;
  color: inherit;
  font-size: 0.8rem;
}
.dialog-games {
  margin-top: 15px;
}
.dialog-games .game-row {
  padding-inline: 2px;
}
.dialog-games .game-row .player {
  font-size: 0.8rem;
}
@keyframes shimmer {
  to {
    background-position: -250% 0;
  }
}
@media (max-width: 950px) {
  .hero {
    gap: 28px;
    padding-block: 76px;
  }
  .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .preview-caption {
    padding: 17px 17px 0;
  }
  .preview-type {
    display: none;
  }
  .hero-preview figcaption {
    padding: 0 17px 17px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .player-rating {
    display: none;
  }
  .faq {
    gap: 35px;
  }
}
@media (max-width: 720px) {
  .wrap,
  .header-inner {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 66px;
    gap: 22px;
  }
  nav {
    gap: 18px;
  }
  nav a {
    font-size: 0.7rem;
  }
  .nav-open {
    font-size: 0.67rem;
    padding: 9px;
  }
  .nav-open span {
    margin-left: 4px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 58px 64px;
    gap: 44px;
  }
  h1 {
    font-size: clamp(3.5rem, 10vw, 5rem);
  }
  .hero-description {
    max-width: 540px;
  }
  .hero-actions {
    gap: 24px;
  }
  .link-form {
    max-width: none;
    margin-top: 28px;
  }
  .hero-preview {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .preview-caption .eyebrow {
    font-size: 0.65rem;
  }
  .preview-type {
    display: inline;
  }
  .hero-preview img {
    max-height: 310px;
    object-fit: contain;
  }
  .broadcast-grid {
    grid-template-columns: 1fr;
  }
  .live-section,
  .views-section {
    padding-block: 60px 66px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
  }
  h2 {
    font-size: 2.5rem;
  }
  .live-meta {
    justify-content: flex-start;
  }
  .feature-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-image img {
    max-height: 250px;
  }
  .faq {
    grid-template-columns: 1fr;
    padding-block: 50px 60px;
    gap: 25px;
  }
  .audience-note {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
  }
  .faq h2 {
    font-size: 2.3rem;
  }
  .faq-list details:first-child {
    padding-top: 0;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer > div {
    width: 100%;
    margin-left: 0;
    gap: 16px;
  }
  .player-rating {
    display: block;
  }
  .event-heading {
    padding-inline: 17px;
  }
  .game-row,
  .card-footer {
    padding-inline: 17px;
  }
}
@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 390px) {
  nav {
    display: none;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 0.7rem;
  }
  .button {
    padding: 12px 14px;
    gap: 15px;
  }
  .link-field input {
    font-size: 0.68rem;
  }
  .link-field button {
    font-size: 0.65rem;
    padding-inline: 8px;
  }
  .player-rating {
    display: none;
  }
  .game-meta {
    gap: 8px;
  }
  .event-heading {
    gap: 8px;
  }
  .preview-caption {
    gap: 6px;
  }
  .preview-caption .eyebrow {
    font-size: 0.56rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
