@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&family=Noto+Serif+Armenian:wght@500;700&display=swap");

:root {
  /* Widex / WDGames brand */
  --wd-teal: #00a896;
  --wd-teal-hover: #00c4af;
  --wd-teal-muted: rgba(0, 168, 150, 0.22);
  --wd-grey: #4a4a4a;
  --wd-grey-light: #6b6b6b;
  --wd-black: #0a0a0a;
  --wd-charcoal: #141418;

  --bg: #0f1419;
  --surface: #1a2332;
  --surface-hover: #243044;
  --border: #2d3a4f;
  --text: #e8edf4;
  --muted: #8b9cb3;
  --accent: var(--wd-teal);
  --accent-dim: #007a6e;
  --danger: #e85d5d;
  --success: #4ecf8e;
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent);
}

/* ?? Home / Women?s Day landing ?? */
.page-home {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  background: #f4f4f5;
}

.page-home .home {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.home-atmosphere {
  display: block;
  pointer-events: none;
  z-index: 0;
}

.home-atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: homeGlowDrift 18s ease-in-out infinite;
}

.home-atmosphere__glow--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  top: -8%;
  left: 15%;
  background: #ffe4ec;
  animation-delay: 0s;
}

.home-atmosphere__glow--2 {
  width: min(360px, 60vw);
  height: min(360px, 60vw);
  bottom: -5%;
  right: -5%;
  background: #e8ecf8;
  animation-delay: -6s;
}

.home-atmosphere__glow--3 {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  top: 40%;
  left: -10%;
  background: #fff5f0;
  opacity: 0.65;
  animation-delay: -12s;
}

@keyframes homeGlowDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(3%, 2%) scale(1.05);
  }
  66% {
    transform: translate(-2%, 3%) scale(0.96);
  }
}

.home-petal {
  position: absolute;
  border-radius: 120% 20% 115% 25%;
  opacity: 0.35;
  animation: homePetalPulse 14s ease-in-out infinite;
}

.home-petal--1 {
  width: 48px;
  height: 56px;
  top: 12%;
  right: 12%;
  background: linear-gradient(145deg, #ffd6e4, #f5b8cc);
  transform: rotate(25deg);
  animation-delay: -2s;
}

.home-petal--2 {
  width: 36px;
  height: 44px;
  top: 55%;
  left: 8%;
  background: linear-gradient(160deg, #e8e6f5, #d4d0eb);
  transform: rotate(-40deg);
  animation-delay: -5s;
}

.home-petal--3 {
  width: 40px;
  height: 48px;
  bottom: 18%;
  right: 18%;
  background: linear-gradient(135deg, #fce8dc, #f0d0c4);
  transform: rotate(55deg);
  animation-delay: -9s;
}

.home-petal--4 {
  width: 28px;
  height: 34px;
  top: 28%;
  left: 20%;
  background: linear-gradient(180deg, #fff0f3, #f5d4dc);
  transform: rotate(-15deg);
  opacity: 0.3;
  animation-delay: -12s;
}

@keyframes homePetalPulse {
  0%,
  100% {
    opacity: 0.28;
    filter: brightness(1);
  }
  50% {
    opacity: 0.45;
    filter: brightness(1.05);
  }
}

.home {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 26rem;
  width: 100%;
}

@keyframes homeIconBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.home-card {
  padding: clamp(1.5rem, 5vw, 2rem) clamp(1.35rem, 5vw, 1.75rem);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 24px rgba(180, 140, 160, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  animation: homeCardEnter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes homeCardEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.home-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.home-eyebrow__icon {
  display: inline-flex;
  opacity: 0.85;
  animation: homeIconBob 2.8s ease-in-out infinite;
}

.home-badge {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0d5c54;
  background: rgba(0, 168, 150, 0.12);
  border: 1px solid var(--wd-teal-muted);
  border-radius: 6px;
  box-shadow: none;
}

.home-title {
  margin: 0 0 0.85rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}

.home-lead {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #5a5458;
}

.home-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-home-primary {
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 1px solid #007a6e;
  border-radius: 10px;
  background: linear-gradient(165deg, var(--wd-teal-hover) 0%, var(--wd-teal) 45%, #007a6e 100%);
  box-shadow: 0 4px 18px rgba(0, 168, 150, 0.35);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn-home-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 24px rgba(0, 168, 150, 0.45);
  transform: translateY(-1px);
}

.btn-home-primary:active {
  transform: scale(0.98) translateY(0);
}

.btn-home-secondary {
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-home-secondary:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.22);
  color: #111;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.btn-home-secondary:active {
  transform: scale(0.98) translateY(0);
}

.home-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: #8a8588;
  letter-spacing: 0.04em;
}

/* WDGames · Widex Technology ? maker credit */
.wd-maker-footer {
  flex-shrink: 0;
  padding: 0.65rem clamp(1rem, 3vw, 1.5rem);
  background: #fff;
  border-top: 1px solid var(--wd-teal-muted);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.wd-maker-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.wd-maker-logo-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  border-radius: 6px;
}

.wd-maker-footer a.wd-maker-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--wd-grey);
  font-size: 0.72rem;
  line-height: 1.35;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.wd-maker-footer a.wd-maker-link:hover {
  color: var(--wd-charcoal);
}

.wd-maker-footer a.wd-maker-link:focus-visible {
  outline: 2px solid var(--wd-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wd-maker-logo {
  height: 34px;
  width: auto;
  max-width: min(44vw, 168px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.wd-maker-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}

.wd-maker-collection {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--wd-teal);
}

.wd-maker-company {
  font-weight: 500;
  color: var(--wd-grey-light);
  font-size: 0.72rem;
}

.wd-maker-tagline {
  font-size: 0.68rem;
  color: var(--wd-grey-light);
  margin: 0;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(15, 23, 42, 0.12);
  line-height: 1.4;
  max-width: 22rem;
}

@media (max-width: 640px) {
  .wd-maker-tagline {
    padding-left: 0;
    border-left: none;
    text-align: center;
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-atmosphere__glow,
  .home-petal,
  .home-eyebrow__icon {
    animation: none;
    opacity: 0.35;
  }

  .home-card {
    animation: none;
  }

  .home-eyebrow__icon {
    opacity: 0.85;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

/* .btn { display } overrides the HTML hidden attribute ? force hide */
.btn[hidden],
button.board-nav-link[hidden],
#adminTabReview[hidden],
#btnLeaveInvite[hidden],
#btnExitAdminReview[hidden] {
  display: none !important;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #1a1205;
}

.btn-primary:hover {
  background: #f5c44a;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--muted);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}

.btn-danger:hover {
  background: rgba(232, 93, 93, 0.12);
}

/* Layout: board + admin */
.layout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
}

.layout-top h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.layout-top nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.layout-top .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

main {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Board */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.board-slot {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.board-slot:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.board-slot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.board-slot.is-used {
  opacity: 0.5;
  text-decoration: line-through;
}

.board-stage {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  min-height: 280px;
}

.board-stage-empty {
  color: var(--muted);
  text-align: center;
  padding: 3rem 1rem;
}

.board-media {
  width: 100%;
  max-height: 50vh;
  border-radius: 8px;
  background: #000;
}

.board-media-wrap {
  margin-bottom: 1rem;
}

.board-media-wrap audio {
  width: 100%;
  margin-top: 0.5rem;
}

.board-timer {
  font-size: 3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-align: center;
  margin: 1rem 0;
}

.board-timer.is-urgent {
  color: var(--danger);
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.85;
  }
}

.board-answer {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(78, 207, 142, 0.12);
  border: 1px solid var(--success);
  font-size: 1.25rem;
}

.board-answer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--success);
  margin-bottom: 0.25rem;
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.board-meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Admin */
body.admin-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.admin-app .admin-app-header.board-app-header {
  flex-shrink: 0;
}

body.admin-app .board-app-session .session-user-label.session-user-avatar {
  color: #0d5c54;
  max-width: none;
}

body.admin-app .session-sign-out {
  border-color: #cbd5e1;
  color: #475569;
}

body.admin-app .session-sign-out:hover {
  border-color: #94a3b8;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
}

button.board-nav-link.admin-tab-btn {
  font-family: inherit;
  cursor: pointer;
}

/* Admin: same shell + cards as board; light content tokens only inside .admin-main */
body.admin-app #adminAppContent:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
}

.admin-app-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(145deg, #f5f7f8 0%, #eef5f4 35%, #f0f4f3 70%, #e8f0ef 100%);
  background-size: 220% 220%;
}

body.admin-app .admin-main {
  flex: 1 1 auto;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-hover: #ecfdf5;
  --border: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  color: var(--text);
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 3vw, 1.5rem) 2.25rem;
  min-width: 0;
}

body.admin-app .admin-categories-panel.admin-surface-card,
body.admin-app #adminSectionQuestions.admin-surface-card {
  position: relative;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  padding-top: 1.2rem;
  border-radius: 16px;
  border: 2px solid #1e293b;
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 48%, #e8edf4 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 16px 48px rgba(15, 23, 42, 0.1),
    0 6px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

body.admin-app .admin-surface-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, #007a6e 0%, var(--wd-teal) 40%, var(--wd-teal-hover) 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: 14px 14px 0 0;
}

body.admin-app #adminSectionQuestions .admin-questions-head .admin-section-title {
  margin: 0;
}

.admin-questions-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

.admin-questions-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-add-question-toggle,
.admin-import-toggle {
  flex-shrink: 0;
}

.admin-import-panel-wrap .admin-import-panel {
  margin-bottom: 0;
}

.admin-add-question-panel {
  margin-bottom: 1.5rem;
}

.admin-add-question-panel[hidden] {
  display: none !important;
}

.admin-import-panel {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.admin-import-lead {
  margin-bottom: 0.85rem;
}

.admin-import-sample-link {
  font-weight: 600;
  color: var(--wd-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-import-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.admin-import-file-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  max-width: 28rem;
}

.admin-import-file-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.admin-import-file-input {
  font-size: 0.9rem;
}

.admin-import-mode {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 36rem;
}

.admin-import-mode-legend {
  margin-bottom: 0.15rem;
}

.admin-import-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
  cursor: pointer;
}

.admin-import-radio input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

body.admin-app .admin-main .admin-section-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

body.admin-app .admin-main .admin-subheading {
  color: var(--text);
}

body.admin-app .admin-main .board-meta,
body.admin-app .admin-main .field-hint {
  color: var(--muted);
}

body.admin-app .admin-main .admin-category-empty {
  background: #f8fafc;
  border-color: var(--border);
  color: var(--muted);
}

body.admin-app .admin-main .admin-category-row {
  background: #f8fafc;
  border-color: var(--border);
}

body.admin-app .admin-main .admin-category-row-input {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

body.admin-app .admin-main .admin-add-category {
  background: #f1f5f9;
  border-color: var(--border);
}

body.admin-app .admin-main .admin-add-category input,
body.admin-app .admin-main .admin-category-type-select {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

body.admin-app .admin-main .admin-form {
  max-width: none;
  border-color: var(--border);
  background: #f8fafc;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

body.admin-app .admin-main .admin-form label {
  color: #475569;
}

body.admin-app .admin-main .admin-form input,
body.admin-app .admin-main .admin-form select,
body.admin-app .admin-main .admin-form textarea {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

body.admin-app .admin-main .admin-item {
  border-color: var(--border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.admin-app .admin-main .admin-item--header {
  background: #f1f5f9;
  border-color: var(--border);
}

body.admin-app .admin-main .admin-item-hcell {
  color: #64748b;
}

body.admin-app .admin-main .admin-item-cell--num {
  color: #94a3b8;
}

body.admin-app .admin-main .admin-item-cell--answer,
body.admin-app .admin-main .admin-item-cell--extra {
  color: #64748b;
}

body.admin-app .admin-main .admin-item-cell--cat {
  color: var(--text);
}

body.admin-app .admin-main .upload-progress {
  background: #e2e8f0;
}

.auth-bar {
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.auth-bar-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}

.auth-bar-input {
  min-width: 10rem;
  max-width: 100%;
  padding: 0.4rem 0.55rem;
  font-family: inherit;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.auth-bar-hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.auth-bar-email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-right: 0.25rem;
}

.auth-bar--board {
  border-top: none;
  padding-top: 0;
}

.auth-bar--board .auth-bar-input {
  min-width: 8rem;
  padding: 0.32rem 0.45rem;
  font-size: 0.8rem;
}

.auth-bar-google {
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #3c4043;
}

.auth-bar-google:hover {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.2);
}

/* Mandatory login (admin + board) */
.auth-mandatory-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  background: linear-gradient(165deg, #faf7f8 0%, #f4f0f3 45%, #eef3f2 100%);
}

.auth-mandatory-gate[hidden] {
  display: none !important;
}

.auth-mandatory-boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.auth-mandatory-boot[hidden] {
  display: none !important;
}

.auth-mandatory-login-panel[hidden] {
  display: none !important;
}

.auth-mandatory-boot__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #64748b;
  font-weight: 600;
}

.auth-mandatory-boot__spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid rgba(0, 168, 150, 0.22);
  border-top-color: var(--wd-teal);
  border-radius: 50%;
  animation: authMandatorySpin 0.75s linear infinite;
}

@keyframes authMandatorySpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-mandatory-boot__spinner {
    animation: none;
    border-top-color: rgba(0, 168, 150, 0.45);
    opacity: 0.85;
  }
}

.auth-mandatory-card {
  width: 100%;
  max-width: 420px;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.auth-mandatory-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wd-teal);
}

.auth-mandatory-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.auth-mandatory-lead {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.auth-inline-code {
  font-size: 0.82em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
  font-family: ui-monospace, monospace;
}

.auth-mandatory-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-mandatory-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.auth-mandatory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.auth-mandatory-form--google-only {
  gap: 0.75rem;
}

.auth-mandatory-actions--google-only {
  flex-direction: column;
  margin-top: 0;
}

.auth-mandatory-google-btn {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.auth-mandatory-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  min-height: 1.2em;
}

.auth-mandatory-error {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--danger);
}

.auth-mandatory-back {
  display: inline-flex;
  margin-top: 1rem;
  align-self: flex-start;
}

.admin-session-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
}

.board-session-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1 1 100%;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.session-user-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  max-width: min(300px, 52vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-user-label.session-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  max-width: none;
  overflow: hidden;
  text-overflow: clip;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(0, 168, 150, 0.22), rgba(0, 168, 150, 0.08));
  color: #0d5c54;
  border: 1px solid var(--wd-teal-muted);
  user-select: none;
  cursor: default;
}

.board-auth-slot {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.25rem) 0.35rem;
}

.admin-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.admin-subheading {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.admin-categories-panel {
  max-width: none;
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.admin-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-section-lead {
  margin: 0 0 1rem !important;
  max-width: 52rem;
  line-height: 1.55;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-category-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-category-empty {
  margin: 0;
  padding: 1.1rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.12);
  line-height: 1.45;
}

.admin-category-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.admin-category-row-moves {
  display: flex;
  gap: 0.2rem;
}

.admin-category-row-input {
  flex: 1;
  min-width: 140px;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.admin-disabled-section-title {
  list-style: none;
  margin: 0.75rem 0 0.25rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px dashed var(--border);
}

.admin-disabled-section-title--questions {
  margin-top: 1.15rem;
}

.admin-category-row--disabled {
  border-style: dashed;
  opacity: 0.95;
}

.admin-category-disabled-label {
  font-weight: 600;
  flex: 1;
  min-width: 8rem;
}

.admin-category-disabled-type {
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-item--disabled {
  opacity: 0.92;
  border-style: dashed;
}

.btn-icon {
  min-width: 2.25rem;
  padding: 0.35rem 0.45rem;
  font-size: 1rem;
  line-height: 1;
}

.admin-add-category {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  align-items: stretch;
}

@media (min-width: 640px) {
  .admin-add-category {
    grid-template-columns: 1fr minmax(9.5rem, 11rem) auto;
    gap: 0.65rem 0.75rem;
    align-items: center;
  }
}

.admin-add-category input {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.admin-category-type-select {
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .admin-category-type-select {
    width: auto;
  }
}

.admin-add-category .btn {
  white-space: nowrap;
  width: 100%;
  justify-self: stretch;
}

@media (min-width: 640px) {
  .admin-add-category .btn {
    width: auto;
    justify-self: stretch;
  }
}

.admin-code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  font-family: ui-monospace, monospace;
}

body.admin-app .admin-main .admin-code {
  background: rgba(0, 168, 150, 0.1);
  color: #0f5c54;
  border: 1px solid rgba(0, 168, 150, 0.28);
}

.upload-row {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.upload-row .btn {
  width: 100%;
}

.admin-form .btn-secondary.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-form .btn-secondary.is-uploading {
  opacity: 0.75;
  cursor: wait;
}

.upload-progress {
  height: 6px;
  border-radius: 4px;
  background: var(--bg);
  overflow: hidden;
  margin: 0.5rem 0 0;
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.12s ease-out;
}

.admin-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.admin-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.admin-form textarea {
  min-height: 80px;
  resize: vertical;
}

.admin-form .field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.admin-item-row {
  display: grid;
  grid-template-columns:
    2.25rem minmax(4.5rem, 0.65fr) minmax(5rem, 0.95fr) minmax(5rem, 1fr) minmax(6rem, 1.35fr);
  gap: 0.35rem 0.65rem;
  align-items: center;
  min-width: 0;
}

.admin-item-cell,
.admin-item-hcell {
  font-size: 0.8125rem;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-item-cell--num {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--muted);
}

.admin-item-cell--type {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--accent);
}

.admin-item-cell--cat {
  color: var(--text);
}

.admin-item-cell--title {
  font-weight: 600;
}

.admin-item-cell--answer,
.admin-item-cell--extra {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-item--header {
  background: var(--bg);
  border-style: solid;
  padding: 0.45rem 0.75rem;
}

.admin-item--header .admin-item-row {
  align-items: end;
}

.admin-item-hcell {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: normal;
  line-height: 1.2;
}

.admin-item-head-spacer {
  width: 4.75rem;
  flex-shrink: 0;
}

.admin-item-head-spacer--actions {
  width: auto;
  min-width: 9.25rem;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

.admin-item-del {
  flex-shrink: 0;
  white-space: nowrap;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

#adminSectionQuestions .admin-list {
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .admin-item-row {
    min-width: 520px;
  }

  .admin-item {
    min-width: 580px;
  }
}

.empty-state {
  color: var(--muted);
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ?? Audience board (category flow) ?? */
.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

body.board-app {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  color: #0f172a;
  background: #e2e8f0;
}

@keyframes boardShellShift {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

.board-game-shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f1f5f9;
}

.board-game-shell:fullscreen,
.board-game-shell:-webkit-full-screen {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: stretch;
  padding: clamp(0.75rem, 2.5vmin, 2rem);
  padding-bottom: clamp(0.5rem, 1.5vmin, 1rem);
  background: #f1f5f9;
}

/* Minimal Women?s Day mood: soft blooms + glow (all board views) */
.board-game-shell .board-atmosphere {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.board-game-shell .board-atmosphere__glow {
  opacity: 0.22;
  filter: blur(76px);
}

.board-game-shell .board-petal {
  opacity: 0.14;
}

.board-game-shell:fullscreen .board-atmosphere__glow,
.board-game-shell:-webkit-full-screen .board-atmosphere__glow {
  opacity: 0.5;
  filter: blur(80px);
}

.board-game-shell:fullscreen .board-petal,
.board-game-shell:-webkit-full-screen .board-petal {
  opacity: 0.3;
}

.board-game-shell > .wd-maker-footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: auto;
}

.board-game-shell:fullscreen .wd-maker-footer,
.board-game-shell:-webkit-full-screen .wd-maker-footer {
  padding: 0.4rem clamp(0.75rem, 2vw, 1.25rem);
}

/* Fullscreen: show Widex Play top-left; hide title + toolbar (exit via Esc / browser UI) */
.board-game-shell:fullscreen .board-app-header,
.board-game-shell:-webkit-full-screen .board-app-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  width: auto;
  max-width: min(42vw, 300px);
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  position: absolute;
  top: clamp(0.35rem, 1.2vmin, 0.85rem);
  left: clamp(0.35rem, 1.2vmin, 0.85rem);
  z-index: 50;
  pointer-events: none;
  animation: none;
  gap: 0;
}

.board-game-shell:fullscreen .board-app-product,
.board-game-shell:-webkit-full-screen .board-app-product {
  pointer-events: auto;
  padding: 0.22rem 0.5rem 0.28rem;
  margin: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.board-game-shell:fullscreen .board-app-product__wordmark,
.board-game-shell:-webkit-full-screen .board-app-product__wordmark {
  font-size: clamp(0.98rem, 2.6vmin, 1.18rem);
}

.board-game-shell:fullscreen .board-app-header__primary,
.board-game-shell:-webkit-full-screen .board-app-header__primary {
  display: none !important;
}

.board-game-shell:fullscreen .board-app-main,
.board-game-shell:-webkit-full-screen .board-app-main {
  flex: 1 1 auto;
  align-self: center;
  width: min(1400px, 100%);
  max-width: 96vw;
  margin: 0;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Fullscreen: center block, no empty stretch above table */
.board-game-shell:fullscreen .board-view--browse,
.board-game-shell:-webkit-full-screen .board-view--browse {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.board-game-shell:fullscreen .board-table-page,
.board-game-shell:-webkit-full-screen .board-table-page {
  min-height: auto;
  flex: 0 0 auto;
}

.board-game-shell:fullscreen .board-all-items,
.board-game-shell:-webkit-full-screen .board-all-items {
  flex: 0 0 auto;
  overflow: visible;
  min-height: 0;
}

.board-game-shell:fullscreen .board-table-scroll,
.board-game-shell:-webkit-full-screen .board-table-scroll {
  flex: 0 1 auto;
  max-height: min(calc(100dvh - 8.5rem), 88vh);
  overflow: auto;
}

/* Fullscreen: larger type for projection */
.board-game-shell:fullscreen .board-table,
.board-game-shell:-webkit-full-screen .board-table {
  font-size: clamp(1.12rem, 2.8vmin, 1.6rem);
}

.board-game-shell:fullscreen .board-table-cat,
.board-game-shell:-webkit-full-screen .board-table-cat {
  padding: 0.75rem 1rem;
}

.board-game-shell:fullscreen .board-table-items,
.board-game-shell:-webkit-full-screen .board-table-items {
  padding: 0.75rem 1rem;
}

.board-game-shell:fullscreen .board-type-icon--lg,
.board-game-shell:-webkit-full-screen .board-type-icon--lg {
  width: clamp(2.5rem, 6vmin, 3.25rem);
  height: clamp(2.5rem, 6vmin, 3.25rem);
  font-size: clamp(1.2rem, 3.2vmin, 1.65rem);
  border-radius: 10px;
}

.board-game-shell:fullscreen .board-cat-row-items,
.board-game-shell:-webkit-full-screen .board-cat-row-items {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.65rem;
}

.board-game-shell:fullscreen .board-cat-item,
.board-game-shell:-webkit-full-screen .board-cat-item {
  width: 100%;
  min-width: 0;
  max-width: clamp(2.85rem, 9vmin, 4.75rem);
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
  padding: 0;
}

.board-game-shell:fullscreen .board-cat-item-num,
.board-game-shell:-webkit-full-screen .board-cat-item-num {
  font-size: clamp(1.55rem, 5.5vmin, 2.35rem);
}

/* Fullscreen: round view centered + scaled (same width as browse table) */
.board-game-shell:fullscreen .board-view--round,
.board-game-shell:-webkit-full-screen .board-view--round {
  flex: 0 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}

.board-game-shell:fullscreen .board-round-inner,
.board-game-shell:-webkit-full-screen .board-round-inner {
  font-size: clamp(1.05rem, 2.5vmin, 1.35rem);
  width: 100%;
  box-sizing: border-box;
}

.board-game-shell:fullscreen .board-video-shell,
.board-game-shell:-webkit-full-screen .board-video-shell {
  max-height: min(58vh, 680px);
}

.board-game-shell:fullscreen .board-type-icon--xs,
.board-game-shell:-webkit-full-screen .board-type-icon--xs {
  width: clamp(1.45rem, 3.5vmin, 1.85rem);
  height: clamp(1.45rem, 3.5vmin, 1.85rem);
  font-size: clamp(0.82rem, 2vmin, 1rem);
}

.board-game-shell:fullscreen .board-type-icon--md,
.board-game-shell:-webkit-full-screen .board-type-icon--md {
  width: clamp(2.65rem, 6vmin, 3.4rem);
  height: clamp(2.65rem, 6vmin, 3.4rem);
  font-size: clamp(1.3rem, 3vmin, 1.7rem);
}

.board-game-shell:fullscreen .board-timer--large,
.board-game-shell:-webkit-full-screen .board-timer--large {
  font-size: clamp(2.5rem, 8vmin, 4.5rem);
}

.board-atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
  animation: boardGlowDrift 20s ease-in-out infinite;
}

.board-atmosphere__glow--1 {
  width: min(380px, 65vw);
  height: min(380px, 65vw);
  top: -6%;
  right: 5%;
  background: #ffe8f0;
}

.board-atmosphere__glow--2 {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  bottom: 10%;
  left: -8%;
  background: #e8ecf8;
  animation-delay: -7s;
}

.board-atmosphere__glow--3 {
  width: min(240px, 45vw);
  height: min(240px, 45vw);
  top: 45%;
  left: 35%;
  background: #fff8f5;
  opacity: 0.55;
  animation-delay: -12s;
}

@keyframes boardGlowDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2%, 3%) scale(1.04);
  }
}

.board-petal {
  position: absolute;
  border-radius: 120% 20% 115% 25%;
  opacity: 0.32;
  animation: boardPetalPulse 16s ease-in-out infinite;
}

.board-petal--1 {
  width: 40px;
  height: 48px;
  top: 18%;
  left: 12%;
  background: linear-gradient(145deg, #ffd6e4, #f8c4d4);
  transform: rotate(-28deg);
  animation-delay: -2s;
}

.board-petal--2 {
  width: 32px;
  height: 40px;
  bottom: 25%;
  right: 10%;
  background: linear-gradient(160deg, #e4e2f2, #d2cee8);
  transform: rotate(42deg);
  animation-delay: -6s;
}

.board-petal--3 {
  width: 28px;
  height: 34px;
  top: 60%;
  right: 22%;
  background: linear-gradient(135deg, #fceee8, #edd8d0);
  transform: rotate(12deg);
  animation-delay: -10s;
}

.board-petal--4 {
  width: 34px;
  height: 40px;
  top: 32%;
  left: 48%;
  background: linear-gradient(155deg, #ffe0ef, #e8c4d8);
  transform: rotate(-16deg);
  animation-delay: -14s;
}

@keyframes boardPetalPulse {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.38;
  }
}

@keyframes boardHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.board-app-header {
  position: relative;
  z-index: 2;
  padding: 0.65rem clamp(1rem, 3vw, 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  border-bottom: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  animation: boardHeaderIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.board-app-header__primary {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
}

/* Board page: Widex Play ? top-left of header (see index.html) */
.board-app-product {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.25rem 0.35rem;
  margin: -0.25rem -0.35rem;
  border-radius: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.board-app-product:hover {
  opacity: 0.92;
}

.board-app-product:focus-visible {
  outline: 2px solid var(--wd-teal, #0d9488);
  outline-offset: 3px;
}

.board-app-product__wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.board-app-product__w {
  font-weight: 800;
  color: #0f172a;
}

.board-app-product__p {
  font-weight: 700;
  font-size: 0.88em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d9488;
}

.board-app-header__toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.board-app-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.board-spectator-banner {
  margin: 0;
  padding: 0.65rem 1.1rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--muted, #5a6570);
  background: rgba(15, 40, 70, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.is-game-spectator .board-cat-item--remaining {
  opacity: 1;
  cursor: default;
  /* Keep looking like open/remaining fields even while disabled for click */
}

body.is-game-spectator .board-table-row--audio .board-cat-item--remaining {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  border-color: #0284c7;
  color: #0c4a6e;
}

body.is-game-spectator .board-table-row--video .board-cat-item--remaining {
  background: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 100%);
  border-color: #7c3aed;
  color: #2e1065;
}

body.is-game-spectator .board-table-row--image .board-cat-item--remaining {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  border-color: #059669;
  color: #064e3b;
}

body.is-game-spectator .board-table-row--text .board-cat-item--remaining {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #d97706;
  color: #78350f;
}

body.is-game-spectator .board-cat-item--played {
  opacity: 0.55;
}

body.is-game-spectator .board-cat-item--spectator:not(.board-cat-item--played) {
  opacity: 1;
  cursor: default;
}

@media (min-width: 720px) {
  .board-app-header__toolbar {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem 1rem;
    width: auto;
  }

  .board-app-session {
    width: auto;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding-left: 1rem;
    margin-left: 0.1rem;
  }
}

.board-app-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.board-app-brand__badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0d5c54;
  background: rgba(0, 168, 150, 0.1);
  border: 1px solid var(--wd-teal-muted);
  border-radius: 4px;
}

.board-app-brand__title {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}

.board-app-brand__tagline {
  margin: 0;
  font-size: 0.72rem;
  color: #888;
  letter-spacing: 0;
  font-weight: 400;
}

.board-app-nav {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.board-nav-link.btn-ghost {
  color: #444;
  border-color: #ddd;
  background: #fff;
  font-weight: 500;
}

.board-nav-link.btn-ghost:hover {
  color: #111;
  border-color: #bbb;
  background: #fafafa;
}

button.board-nav-link.btn-ghost {
  font-family: inherit;
  cursor: pointer;
}

.board-app-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem 1rem 1.5rem;
}

.board-view {
  animation: none;
}

/* Must beat fullscreen `display:flex` on .board-view--* (otherwise both views show and overlap). */
.board-view[hidden] {
  display: none !important;
}

@keyframes boardFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.board-table-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 5.5rem);
}

.board-all-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.15rem;
}

/* Game-style play panel (browse board) */
.board-table-scroll {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 6px;
  border-radius: 14px;
  border: 2px solid #475569;
  background: #ffffff;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.1);
}

.board-table-scroll::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: 12px 12px 0 0;
  background: var(--wd-teal);
  pointer-events: none;
  z-index: 2;
}

.board-table-scroll .board-table {
  position: relative;
  z-index: 1;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
}

.board-table-head-row th {
  padding: 0.65rem 0.85rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: #fde68a;
  background: linear-gradient(180deg, #334155 0%, #1e293b 55%, #0f172a 100%);
  border-bottom: 2px solid #0f172a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.board-table-head-row .board-table-th-cat {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 12px;
}

.board-table-head-row .board-table-th-items {
  border-top-right-radius: 12px;
}

.board-table-th {
  text-align: left;
  padding: 0.55rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c534e;
  background: #f4f1ef;
  border-bottom: 1px solid #e8e4e0;
}

.board-table-th-cat {
  width: 34%;
}

.board-table-th-items {
  width: 66%;
}

@keyframes boardTableRowIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.board-table-row {
  border-bottom: 1px solid #e2e8f0;
  animation: boardTableRowIn 0.42s ease backwards;
  transition: background 0.15s ease;
}

/* Hover: type-specific (see .board-table-row--audio|video|image|text below). */

.board-table-row:nth-child(1) {
  animation-delay: 0.04s;
}
.board-table-row:nth-child(2) {
  animation-delay: 0.08s;
}
.board-table-row:nth-child(3) {
  animation-delay: 0.12s;
}
.board-table-row:nth-child(4) {
  animation-delay: 0.16s;
}
.board-table-row:nth-child(5) {
  animation-delay: 0.2s;
}
.board-table-row:nth-child(6) {
  animation-delay: 0.24s;
}
.board-table-row:nth-child(7) {
  animation-delay: 0.28s;
}
.board-table-row:nth-child(8) {
  animation-delay: 0.32s;
}
.board-table-row:nth-child(9) {
  animation-delay: 0.36s;
}
.board-table-row:nth-child(10) {
  animation-delay: 0.4s;
}
.board-table-row:nth-child(11) {
  animation-delay: 0.44s;
}
.board-table-row:nth-child(12) {
  animation-delay: 0.48s;
}

.board-table-row:last-child {
  border-bottom: none;
}

.board-table-cat {
  vertical-align: middle;
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  padding: 0.65rem 0.8rem;
  line-height: 1.35;
  border-right: 1px solid #e2e8f0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  transition: background 0.2s ease;
}

/* Fixed column shares + constrain items cell so inner row scrolls (20+ buttons). */
.board-table-row .board-table-cat {
  width: 34%;
}

.board-table-cat-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.board-table-cat-text {
  min-width: 0;
  flex: 1;
}

/* Type icons: soft tint + thin border (minimal) */
.board-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  box-sizing: border-box;
  border: 1px solid transparent;
  box-shadow: none;
}

.board-type-icon--lg {
  width: 2.45rem;
  height: 2.45rem;
  font-size: 1.15rem;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.board-type-icon--md {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  border-radius: 8px;
}

.board-type-icon--sm {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.board-type-icon--xs {
  width: 1.4rem;
  height: 1.4rem;
  font-size: 0.78rem;
  border-radius: 6px;
}

.board-type--audio {
  background: #ddd6fe;
  border: 1px solid #a78bfa;
}

.board-type--video {
  background: #fecdd3;
  border: 1px solid #fb7185;
}

.board-type--image {
  background: #a7f3d0;
  border: 1px solid #34d399;
}

.board-type--text {
  background: #7dd3fc;
  border: 1px solid #38bdf8;
}

.board-type--emojitext {
  background: #e9d5ff;
  border: 1px solid #a855f7;
}

/* Browse table: solid type-colored row bands. */
.board-table-row--audio .board-table-cat {
  background: #ede9fe;
  box-shadow: inset 4px 0 0 #6d28d9;
}

.board-table-row--audio .board-table-items {
  background: #f5f3ff;
}

.board-table-row--audio:hover .board-table-cat,
.board-table-row--audio:hover .board-table-items {
  background: #ddd6fe;
}

.board-table-row--audio:hover {
  box-shadow: inset 4px 0 0 #5b21b6;
}

.board-table-row--video .board-table-cat {
  background: #ffe4e6;
  box-shadow: inset 4px 0 0 #e11d48;
}

.board-table-row--video .board-table-items {
  background: #fff1f2;
}

.board-table-row--video:hover .board-table-cat,
.board-table-row--video:hover .board-table-items {
  background: #fecdd3;
}

.board-table-row--video:hover {
  box-shadow: inset 4px 0 0 #be123c;
}

.board-table-row--image .board-table-cat {
  background: #d1fae5;
  box-shadow: inset 4px 0 0 #059669;
}

.board-table-row--image .board-table-items {
  background: #ecfdf5;
}

.board-table-row--image:hover .board-table-cat,
.board-table-row--image:hover .board-table-items {
  background: #a7f3d0;
}

.board-table-row--image:hover {
  box-shadow: inset 4px 0 0 #047857;
}

.board-table-row--text .board-table-cat {
  background: #e0f2fe;
  box-shadow: inset 4px 0 0 #0284c7;
}

.board-table-row--text .board-table-items {
  background: #f0f9ff;
}

.board-table-row--text:hover .board-table-cat,
.board-table-row--text:hover .board-table-items {
  background: #bae6fd;
}

.board-table-row--text:hover {
  box-shadow: inset 4px 0 0 #0369a1;
}

.board-table-items {
  vertical-align: middle;
  padding: 0.6rem 0.8rem;
  transition: background 0.2s ease;
  /* max-width:0 + width % keeps column share; inner grid wraps rows (10 buttons per row). */
  width: 66%;
  max-width: 0;
  overflow: hidden;
}

.board-cat-row-items {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 3.15rem));
  gap: 0.45rem;
  align-items: center;
  justify-content: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.board-cat-row-empty {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.board-cat-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  min-width: 3.15rem;
  padding: 0;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: #059669;
  border: 2px solid #047857;
  border-radius: 10px;
  cursor: pointer;
  box-shadow:
    0 2px 0 #065f46,
    0 6px 14px rgba(5, 150, 105, 0.35);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.15s ease;
}

.board-cat-item:hover:not(:disabled) {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 3px 0 #047857,
    0 10px 22px rgba(5, 150, 105, 0.4);
}

.board-cat-item:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 #065f46,
    0 3px 8px rgba(5, 150, 105, 0.25);
}

/* Question tiles: solid fills per row type (high contrast). */
.board-table-row--audio .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #ffffff;
  background: #7c3aed;
  border-color: #5b21b6;
  box-shadow:
    0 2px 0 #5b21b6,
    0 6px 14px rgba(91, 33, 182, 0.4);
}

.board-table-row--audio .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #6d28d9;
  border-color: #4c1d95;
  box-shadow:
    0 3px 0 #5b21b6,
    0 10px 22px rgba(91, 33, 182, 0.45);
}

.board-table-row--audio .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow:
    0 1px 0 #4c1d95,
    0 3px 8px rgba(91, 33, 182, 0.3);
}

.board-table-row--video .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #ffffff;
  background: #e11d48;
  border-color: #be123c;
  box-shadow:
    0 2px 0 #9f1239,
    0 6px 14px rgba(190, 18, 60, 0.4);
}

.board-table-row--video .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #be123c;
  border-color: #881337;
  box-shadow:
    0 3px 0 #9f1239,
    0 10px 22px rgba(190, 18, 60, 0.45);
}

.board-table-row--video .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow:
    0 1px 0 #881337,
    0 3px 8px rgba(190, 18, 60, 0.3);
}

.board-table-row--image .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #ffffff;
  background: #059669;
  border-color: #047857;
  box-shadow:
    0 2px 0 #065f46,
    0 6px 14px rgba(5, 150, 105, 0.4);
}

.board-table-row--image .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #047857;
  border-color: #065f46;
  box-shadow:
    0 3px 0 #064e3b,
    0 10px 22px rgba(5, 150, 105, 0.45);
}

.board-table-row--image .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow:
    0 1px 0 #064e3b,
    0 3px 8px rgba(5, 150, 105, 0.3);
}

.board-table-row--text .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #ffffff;
  background: #0284c7;
  border-color: #0369a1;
  box-shadow:
    0 2px 0 #075985,
    0 6px 14px rgba(3, 105, 161, 0.4);
}

.board-table-row--text .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #0369a1;
  border-color: #0c4a6e;
  box-shadow:
    0 3px 0 #075985,
    0 10px 22px rgba(3, 105, 161, 0.45);
}

.board-table-row--text .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow:
    0 1px 0 #0c4a6e,
    0 3px 8px rgba(3, 105, 161, 0.3);
}

.board-table-row .board-cat-item--played,
.board-table-row .board-cat-item:disabled:not(.board-cat-item--remaining) {
  background: #cbd5e1;
  border: 2px solid #94a3b8;
  color: #475569;
  cursor: not-allowed;
  opacity: 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 2px 0 #64748b;
}

.board-cat-item-num {
  font-size: 1.32rem;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.board-table-row .board-cat-item--played .board-cat-item-num,
.board-table-row .board-cat-item:disabled:not(.board-cat-item--remaining) .board-cat-item-num {
  text-shadow: none;
}

.board-items-table-wrap {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.board-items-table-head {
  display: grid;
  grid-template-columns: 2.75rem minmax(5.5rem, 1.15fr) 3rem minmax(6rem, 1.45fr);
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0b429;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.board-items-th-cat {
  min-width: 0;
}

.board-item-rows {
  display: flex;
  flex-direction: column;
}

.board-item-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(5.5rem, 1.15fr) 3rem minmax(6rem, 1.45fr);
  gap: 0.5rem 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f1a12;
  background: #5a8f4a;
  border: none;
  border-bottom: 1px solid rgba(15, 26, 18, 0.2);
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}

.board-item-row:last-child {
  border-bottom: none;
}

.board-item-row:hover:not(:disabled) {
  filter: brightness(1.08);
}

.board-item-row--played,
.board-item-row:disabled {
  background: #3d4a42;
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  opacity: 0.9;
}

.board-item-row-num {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.board-item-row-icon {
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
}

.board-item-row-cat {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(15, 26, 18, 0.98);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.board-item-row--played .board-item-row-cat,
.board-item-row:disabled .board-item-row-cat {
  color: inherit;
}

.board-item-row-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-empty-cat--pick {
  padding: 2.5rem 1.25rem;
  margin: 0;
}

.board-empty-home {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  color: #57534e;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(165deg, #fafaf9 0%, #f5f5f4 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.board-browse-panel--empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 400px);
  padding: 0.5rem 0;
}

.board-empty-card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1.65rem 1.5rem 1.5rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 14px 40px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.board-empty-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #007a6e 0%, var(--wd-teal) 45%, var(--wd-teal-hover) 100%);
  pointer-events: none;
}

.board-empty-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.board-empty-card__text {
  margin: 0 0 1.2rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #64748b;
  font-weight: 500;
}

.board-empty-card__cta {
  text-decoration: none;
}

.board-app-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.4;
  font-weight: 400;
}

.btn-back {
  display: block;
  margin-bottom: 0.5rem;
  background: transparent;
  color: #b8c4b0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.btn-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.board-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.65rem;
}

.board-item-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: inherit;
  color: #0f1a12;
  background: #5a8f4a;
  border: 2px solid #7daf6a;
  border-radius: 2px;
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}

.board-item-cell:hover:not(:disabled) {
  filter: brightness(1.1);
}

.board-item-cell--played,
.board-item-cell:disabled {
  background: #3d4a42;
  border-color: #5a6a62;
  color: rgba(255, 255, 255, 0.45);
  cursor: not-allowed;
  opacity: 0.85;
}

.board-item-cell-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.board-item-cell-num {
  font-size: 1.1rem;
  font-weight: 700;
}

.board-empty-cat {
  text-align: center;
  color: #6a6468;
  padding: 2rem 1rem;
  margin: 0;
  flex: 1;
}

@media (max-width: 720px) {
  .board-table-page {
    min-height: auto;
  }

  .board-table-th-cat {
    width: 40%;
  }

  .board-table-th-items {
    width: 60%;
  }

  .board-table-row .board-table-cat {
    width: 40%;
  }

  .board-table-items {
    width: 60%;
  }

  .board-cat-row-items {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .board-cat-item {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
  }

  .board-cat-item-num {
    font-size: 1.2rem;
  }
}

.board-view--round {
  padding-top: 0.5rem;
}

.board-round-inner {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Full-frame answer (auto after timer) ? same white + soft card as browse, shell flowers show around */
.board-round-inner--answer-reveal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(78vh, 720px);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.board-round-inner--answer-reveal .board-media-wrap--round,
.board-round-inner--answer-reveal .board-timer--large,
.board-round-inner--answer-reveal .board-reveal-answer-btn {
  display: none !important;
}

@keyframes boardAnswerRevealFull {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.board-round-inner--answer-reveal .board-answer.board-answer--round {
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: clamp(1rem, 4vw, 2rem);
  gap: 0.75rem;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--wd-charcoal) !important;
  animation: boardAnswerRevealFull 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.board-round-inner--answer-reveal .board-answer-label {
  font-size: clamp(0.72rem, 2.2vmin, 0.95rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: var(--wd-teal) !important;
  margin-bottom: 1.25rem !important;
}

/* Same footprint as text question box (`.board-round-prompt--framed`) */
.board-round-inner--answer-reveal .board-answer-framed {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: min(96vw, 54rem);
  min-height: min(44vh, 360px);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  font-size: clamp(1.85rem, 8vmin, 4.5rem);
  font-weight: 800;
  line-height: 1.18;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: var(--wd-charcoal, #1a1a1a);
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.board-round-inner--answer-reveal .board-answer-framed__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.board-round-inner--answer-reveal .board-answer-framed__main #answerText {
  width: 100%;
  white-space: pre-line;
  color: inherit;
}

.board-round-inner--answer-reveal .board-answer-author {
  align-self: flex-end;
  margin-top: 0.85rem;
  padding-top: 0.35rem;
  max-width: 100%;
  text-align: right;
  font-size: clamp(calc(0.88rem + 4px), calc(3.4vmin + 4px), calc(1.28rem + 4px));
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #64748b;
  white-space: pre-line;
}

.board-game-shell:fullscreen .board-round-inner--answer-reveal,
.board-game-shell:-webkit-full-screen .board-round-inner--answer-reveal {
  min-height: min(84vh, 920px);
}

.board-game-shell:fullscreen .board-round-inner--answer-reveal .board-answer-framed,
.board-game-shell:-webkit-full-screen .board-round-inner--answer-reveal .board-answer-framed {
  font-size: clamp(2rem, 9vmin, 5rem);
  max-width: min(94vw, 62rem);
  min-height: min(48vh, 400px);
}

.board-media-wrap--round {
  margin-bottom: 0.75rem;
}

.board-round-stage {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
}

.board-round-stage-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
}

.board-round-stage-label-text {
  flex: 1;
  min-width: 0;
}

.board-round-stage-body {
  padding: 0.75rem;
  min-height: 120px;
}

/* Text question: same visual weight as revealed answer (centered, large) */
.board-round-stage--text .board-round-stage-body,
.board-round-stage--emojitext .board-round-stage-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 420px);
  padding: clamp(1rem, 4vw, 2rem);
}

.board-round-stage--text .board-round-prompt--framed:not(.board-round-prompt--empty),
.board-round-stage--emojitext .board-round-prompt--framed:not(.board-round-prompt--empty) {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: min(96vw, 54rem);
  min-height: min(44vh, 360px);
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  font-size: clamp(1.85rem, 8vmin, 4.5rem);
  font-weight: 800;
  line-height: 1.18;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: var(--wd-charcoal, #1a1a1a);
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: pre-line;
}

.board-game-shell:fullscreen .board-round-stage--text .board-round-prompt--framed:not(.board-round-prompt--empty),
.board-game-shell:-webkit-full-screen .board-round-stage--text .board-round-prompt--framed:not(.board-round-prompt--empty),
.board-game-shell:fullscreen .board-round-stage--emojitext .board-round-prompt--framed:not(.board-round-prompt--empty),
.board-game-shell:-webkit-full-screen .board-round-stage--emojitext .board-round-prompt--framed:not(.board-round-prompt--empty) {
  font-size: clamp(2rem, 9vmin, 5rem);
  max-width: min(94vw, 62rem);
  min-height: min(48vh, 400px);
}

.board-game-shell:fullscreen .board-round-prompt--emoji-clue,
.board-game-shell:-webkit-full-screen .board-round-prompt--emoji-clue {
  font-size: clamp(2.5rem, 10vmin, 5.5rem);
  min-height: min(40vh, 360px);
  letter-spacing: 0.14em;
  word-spacing: 0.28em;
}

.board-round-stage--video .board-round-stage-body {
  padding: 0;
}

.board-round-stage--video .board-video-shell {
  border-radius: 0 0 9px 9px;
}

.board-video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(48vh, 420px);
  margin: 0 auto;
  background: #000;
}

.board-video-shell .board-media--video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  border: none;
}

.board-video-shell .board-media--video-failed {
  display: none;
}

.board-video-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #5a4a4a;
  background: rgba(255, 255, 255, 0.94);
}

/* `display:flex` above must not override the HTML hidden attribute */
.board-video-error[hidden] {
  display: none !important;
}

.board-audio-shell {
  padding: 1rem 0.5rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.board-audio-el {
  width: 100%;
  max-width: 100%;
  min-height: 54px;
}

.board-round-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 140px;
  padding: 1rem;
  text-align: center;
  border: 1px dashed #ddd;
  border-radius: 6px;
  background: #fafafa;
}

.board-round-placeholder-icon {
  margin-bottom: 0.25rem;
}

.board-round-placeholder-text {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #6a6468;
}

.board-round-prompt--framed {
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  line-height: 1.5;
  padding: 1rem 0.85rem;
  min-height: 120px;
  border-radius: 6px;
  border: 1px solid #eee;
  background: #fff;
  color: #1a1a1a;
}

.board-round-prompt--framed.board-round-prompt--emoji-clue {
  font-size: clamp(2rem, 7vmin, 3.5rem);
  line-height: 1.4;
  letter-spacing: 0.1em;
  word-spacing: 0.2em;
  text-align: center;
  padding: clamp(1rem, 3vmin, 1.75rem);
  min-height: clamp(140px, 22vmin, 200px);
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji",
    "Twemoji Mozilla",
    "DM Sans",
    system-ui,
    sans-serif;
}

.board-round-prompt--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.board-media--round {
  width: 100%;
  max-height: 42vh;
  border-radius: 8px;
  background: #000;
  object-fit: contain;
}

.board-round-prompt {
  font-size: 1.35rem;
  line-height: 1.45;
  padding: 1rem 0;
  color: #1f1c1c;
}

.board-round-hint {
  color: #6a6468;
  text-align: center;
  padding: 1rem;
}

.board-timer--large {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #222;
  margin: 0.4rem 0 0.75rem;
  min-height: 1.2em;
  transition: color 0.25s ease;
}

@keyframes boardTimerTickPop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

.board-timer--large.is-tick-pop {
  animation: boardTimerTickPop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.board-timer--large.is-urgent {
  color: #c62828;
  text-shadow: 0 0 18px rgba(198, 40, 40, 0.35);
}

.board-reveal-answer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 20rem;
  margin: 0.35rem auto 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 122, 110, 0.25);
}

.board-reveal-answer-btn[hidden] {
  display: none !important;
}

.board-back-to-board-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  margin: 1.15rem auto 0;
  padding: 0.6rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 10px;
}

.board-round-inner--answer-reveal .board-back-to-board-btn {
  flex-shrink: 0;
}

.board-answer--round {
  margin-top: 0;
  font-size: 1.2rem;
}

@keyframes boardAnswerReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#answerBox.board-answer--round:not([hidden]) {
  animation: boardAnswerReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ?? Board view transitions ?? */
@keyframes boardBrowseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes boardRoundIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#viewBrowse:not([hidden]) .board-table-scroll {
  animation: boardBrowseIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#viewRound:not([hidden]) .board-round-inner {
  animation: boardRoundIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ========== Board app · TV intellectual show (studio stage) ========== */
body.board-app {
  color: #e2e8f0;
  background: #020617;
}

body.board-app .board-game-shell {
  background: linear-gradient(180deg, #0f172a 0%, #020617 55%, #0a0f1a 100%);
}

body.board-app .board-game-shell:fullscreen,
body.board-app .board-game-shell:-webkit-full-screen {
  background: #020617;
}

body.board-app .board-game-shell .board-atmosphere {
  display: none;
}

body.board-app .board-app-header {
  background: #0f172a;
  border-bottom: 2px solid #ca8a04;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

body.board-app .board-app-brand__badge {
  color: #1c1917;
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
  border: 1px solid #a16207;
  font-weight: 800;
}

body.board-app .board-app-brand__title {
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.board-app .board-app-brand__tagline {
  color: #94a3b8;
}

body.board-app .board-app-product__w {
  color: #f8fafc;
}

body.board-app .board-app-product__p {
  color: #2dd4bf;
}

body.board-app .board-app-product:focus-visible {
  outline-color: #fde047;
}

body.board-app .board-app-header__primary {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

body.board-app .board-nav-link.btn-ghost {
  color: #e2e8f0;
  border: 2px solid #475569;
  background: #1e293b;
  font-weight: 600;
}

body.board-app .board-nav-link.btn-ghost:hover {
  color: #fef08a;
  border-color: #eab308;
  background: #334155;
}

body.board-app .board-app-nav .btn-secondary.board-nav-link {
  background: var(--wd-teal);
  border: 2px solid #007a6e;
  color: #022c22;
  font-weight: 700;
}

body.board-app .board-app-nav .btn-secondary.board-nav-link:hover {
  background: var(--wd-teal-hover);
  border-color: var(--wd-teal);
  color: #042f2e;
}

body.board-app .board-app-session {
  border-top-color: #334155;
}

@media (min-width: 720px) {
  body.board-app .board-app-session {
    border-left-color: #334155;
  }
}

body.board-app .board-app-session .session-user-label.session-user-avatar {
  color: #fef08a;
  border: 2px solid #ca8a04;
  background: #1e293b;
}

body.board-app .session-sign-out {
  border: 2px solid #475569;
  color: #cbd5e1;
  background: transparent;
}

body.board-app .session-sign-out:hover {
  border-color: #eab308;
  color: #fef08a;
  background: #1e293b;
}

body.board-app .board-game-shell > .wd-maker-footer {
  background: #0f172a;
  border-top: 1px solid #334155;
  box-shadow: none;
}

body.board-app .wd-maker-logo {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

body.board-app .wd-maker-tagline {
  border-left-color: rgba(148, 163, 184, 0.35);
}

body.board-app .wd-maker-footer a.wd-maker-link {
  color: #94a3b8;
}

body.board-app .wd-maker-footer a.wd-maker-link:hover {
  color: #fde047;
}

body.board-app .wd-maker-collection {
  color: #fde047;
}

body.board-app .wd-maker-company,
body.board-app .wd-maker-tagline {
  color: #64748b;
}

body.board-app .board-table-scroll {
  background: #0f172a;
  border: 3px solid #475569;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px #020617,
    0 0 0 2px #b45309,
    0 28px 56px rgba(0, 0, 0, 0.55);
}

body.board-app .board-table-scroll::before {
  height: 8px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, #ca8a04 0%, #fde047 38%, var(--wd-teal) 100%);
}

body.board-app .board-table-row {
  border-bottom: 1px solid rgba(51, 65, 85, 0.85);
}

body.board-app .board-table-cat {
  color: #f8fafc;
  border-right-color: #334155;
}

body.board-app .board-type-icon--lg {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body.board-app .board-type--audio {
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
  border: 2px solid #c4b5fd;
}

body.board-app .board-type--video {
  background: linear-gradient(180deg, #e11d48 0%, #9f1239 100%);
  border: 2px solid #fda4af;
}

body.board-app .board-type--image {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  border: 2px solid #6ee7b7;
}

body.board-app .board-type--text {
  background: linear-gradient(180deg, #0284c7 0%, #075985 100%);
  border: 2px solid #7dd3fc;
}

body.board-app .board-type--emojitext {
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
  border: 2px solid #c4b5fd;
}

body.board-app .board-table-row--audio .board-table-cat {
  background: #1a1528;
  color: #f5f3ff;
  box-shadow: inset 4px 0 0 #a78bfa;
}

body.board-app .board-table-row--audio .board-table-items {
  background: #120f1c;
}

body.board-app .board-table-row--audio:hover .board-table-cat,
body.board-app .board-table-row--audio:hover .board-table-items {
  background: #221a36;
}

body.board-app .board-table-row--audio:hover {
  box-shadow: inset 4px 0 0 #c4b5fd;
}

body.board-app .board-table-row--video .board-table-cat {
  background: #2a1218;
  color: #ffe4e6;
  box-shadow: inset 4px 0 0 #fb7185;
}

body.board-app .board-table-row--video .board-table-items {
  background: #1c0d11;
}

body.board-app .board-table-row--video:hover .board-table-cat,
body.board-app .board-table-row--video:hover .board-table-items {
  background: #3a1820;
}

body.board-app .board-table-row--video:hover {
  box-shadow: inset 4px 0 0 #fda4af;
}

body.board-app .board-table-row--image .board-table-cat {
  background: #0f2218;
  color: #d1fae5;
  box-shadow: inset 4px 0 0 #34d399;
}

body.board-app .board-table-row--image .board-table-items {
  background: #0a1810;
}

body.board-app .board-table-row--image:hover .board-table-cat,
body.board-app .board-table-row--image:hover .board-table-items {
  background: #142f22;
}

body.board-app .board-table-row--image:hover {
  box-shadow: inset 4px 0 0 #6ee7b7;
}

body.board-app .board-table-row--text .board-table-cat {
  background: #0c2438;
  color: #e0f2fe;
  box-shadow: inset 4px 0 0 #38bdf8;
}

body.board-app .board-table-row--text .board-table-items {
  background: #081c2e;
}

body.board-app .board-table-row--text:hover .board-table-cat,
body.board-app .board-table-row--text:hover .board-table-items {
  background: #103652;
}

body.board-app .board-table-row--text:hover {
  box-shadow: inset 4px 0 0 #7dd3fc;
}

body.board-app .board-cat-row-empty {
  color: #64748b;
}

/* Question tiles ? minimal flat chips (no floral / blob shapes) */
body.board-app .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  border-radius: 6px;
  font-weight: 600;
}

body.board-app .board-table-row--audio .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #fef9c3;
  background: #5b21b6;
  border: 1px solid rgba(234, 179, 8, 0.45);
  box-shadow: none;
}

body.board-app .board-table-row--audio .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #6d28d9;
  border-color: rgba(253, 224, 71, 0.65);
}

body.board-app .board-table-row--audio .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.board-app .board-table-row--video .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #fef9c3;
  background: #9f1239;
  border: 1px solid rgba(234, 179, 8, 0.45);
  box-shadow: none;
}

body.board-app .board-table-row--video .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #be123c;
  border-color: rgba(253, 224, 71, 0.65);
}

body.board-app .board-table-row--video .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.board-app .board-table-row--image .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #fef9c3;
  background: #047857;
  border: 1px solid rgba(234, 179, 8, 0.45);
  box-shadow: none;
}

body.board-app .board-table-row--image .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #059669;
  border-color: rgba(253, 224, 71, 0.65);
}

body.board-app .board-table-row--image .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.board-app .board-table-row--text .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  color: #fef9c3;
  background: #075985;
  border: 1px solid rgba(234, 179, 8, 0.45);
  box-shadow: none;
}

body.board-app .board-table-row--text .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  background: #0369a1;
  border-color: rgba(253, 224, 71, 0.65);
}

body.board-app .board-table-row--text .board-cat-item:active:not(:disabled):not(.board-cat-item--played) {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.board-app .board-table-row .board-cat-item--played,
body.board-app .board-table-row .board-cat-item:disabled:not(.board-cat-item--remaining) {
  border-radius: 6px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #64748b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.board-app .board-cat-item-num {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

body.board-app .board-table-row .board-cat-item--played .board-cat-item-num,
body.board-app .board-table-row .board-cat-item:disabled:not(.board-cat-item--remaining) .board-cat-item-num {
  text-shadow: none;
}

body.board-app .board-browse-panel {
  border-color: #334155;
  background: #1e293b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

body.board-app .board-empty-card {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #475569;
  box-shadow: 0 0 0 1px #b45309, 0 20px 48px rgba(0, 0, 0, 0.45);
}

body.board-app .board-empty-card::before {
  height: 5px;
  background: linear-gradient(90deg, #ca8a04 0%, #fde047 40%, var(--wd-teal) 100%);
}

body.board-app .board-empty-card__title {
  color: #f8fafc;
}

body.board-app .board-empty-card__text {
  color: #94a3b8;
}

body.board-app .board-round-inner {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #475569;
  box-shadow:
    0 0 0 1px #020617,
    0 0 0 2px #b45309,
    0 20px 48px rgba(0, 0, 0, 0.45);
}

body.board-app .board-round-stage {
  border: 1px solid #334155;
  background: #0f172a;
}

body.board-app .board-round-stage-label {
  color: #fde047;
  background: #020617;
  border-bottom: 1px solid #334155;
  letter-spacing: 0.08em;
}

body.board-app .board-round-stage-body {
  background: #0f172a;
}

body.board-app .board-round-prompt--framed {
  border: 1px solid #475569;
  background: #1e293b;
  color: #f8fafc;
}

body.board-app .board-round-stage--text .board-round-prompt--framed:not(.board-round-prompt--empty),
body.board-app .board-round-stage--emojitext .board-round-prompt--framed:not(.board-round-prompt--empty) {
  border: 2px solid #475569;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
}

body.board-app .board-round-prompt--emoji-clue {
  font-size: clamp(2.15rem, 7.5vmin, 3.85rem);
  letter-spacing: 0.12em;
  word-spacing: 0.22em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

body.board-app .board-round-placeholder {
  border: 1px dashed #475569;
  background: #0f172a;
}

body.board-app .board-round-placeholder-text {
  color: #94a3b8;
}

body.board-app .board-timer--large {
  color: #fde047;
  font-weight: 800;
  text-shadow: 0 0 24px rgba(234, 179, 8, 0.35);
}

body.board-app .board-timer--large.is-urgent {
  color: #f87171;
  text-shadow: 0 0 20px rgba(248, 113, 113, 0.45);
}

body.board-app .board-reveal-answer-btn {
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
  color: #1c1917;
  border: 2px solid #a16207;
  font-weight: 800;
  box-shadow: 0 4px 0 #a16207, 0 12px 28px rgba(0, 0, 0, 0.35);
}

body.board-app .board-reveal-answer-btn:hover {
  filter: brightness(1.05);
}

body.board-app .board-answer.board-answer--round {
  background: #1e293b;
  border: 1px solid #475569;
  color: #f8fafc;
}

body.board-app .board-answer.board-answer--round .board-answer-label {
  color: #fde047;
}

body.board-app .board-round-inner--answer-reveal {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #475569;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.board-app .board-round-inner--answer-reveal .board-answer.board-answer--round {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #f8fafc !important;
}

body.board-app .board-round-inner--answer-reveal .board-answer-label {
  color: #fde047 !important;
}

body.board-app .board-round-inner--answer-reveal .board-answer-framed {
  border: 2px solid #475569;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
}

body.board-app .board-round-inner--answer-reveal .board-answer-framed__main #answerText {
  color: inherit;
}

body.board-app .board-round-inner--answer-reveal .board-answer-author {
  color: #94a3b8;
  font-weight: 500;
}

body.board-app .board-video-error {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .board-game-shell {
    animation: none;
    background: #fafafa;
  }

  body.board-app .board-game-shell {
    background: #020617;
  }

  .board-app-header {
    animation: none;
  }

  #viewBrowse:not([hidden]) .board-table-scroll,
  #viewRound:not([hidden]) .board-round-inner {
    animation: none;
  }

  .board-table-row {
    animation: none;
  }

  .board-timer--large.is-tick-pop {
    animation: none;
  }

  #answerBox.board-answer--round:not([hidden]) {
    animation: none;
  }

  .board-round-inner--answer-reveal .board-answer.board-answer--round {
    animation: none;
  }

  .board-cat-item:hover:not(:disabled) {
    transform: none;
  }

  .board-cat-item:active:not(:disabled) {
    transform: none;
  }

  /* Type rows: hover matches rest state (no color flash). */
  .board-table-row--audio:hover .board-table-cat {
    background: #ede9fe;
    box-shadow: inset 4px 0 0 #6d28d9;
  }

  .board-table-row--audio:hover .board-table-items {
    background: #f5f3ff;
  }

  .board-table-row--audio:hover {
    box-shadow: none;
  }

  .board-table-row--video:hover .board-table-cat {
    background: #ffe4e6;
    box-shadow: inset 4px 0 0 #e11d48;
  }

  .board-table-row--video:hover .board-table-items {
    background: #fff1f2;
  }

  .board-table-row--video:hover {
    box-shadow: none;
  }

  .board-table-row--image:hover .board-table-cat {
    background: #d1fae5;
    box-shadow: inset 4px 0 0 #059669;
  }

  .board-table-row--image:hover .board-table-items {
    background: #ecfdf5;
  }

  .board-table-row--image:hover {
    box-shadow: none;
  }

  .board-table-row--text:hover .board-table-cat {
    background: #e0f2fe;
    box-shadow: inset 4px 0 0 #0284c7;
  }

  .board-table-row--text:hover .board-table-items {
    background: #f0f9ff;
  }

  .board-table-row--text:hover {
    box-shadow: none;
  }

  body.board-app .board-table-row--audio:hover .board-table-cat {
    background: #1a1528;
    box-shadow: inset 4px 0 0 #a78bfa;
  }

  body.board-app .board-table-row--audio:hover .board-table-items {
    background: #120f1c;
  }

  body.board-app .board-table-row--video:hover .board-table-cat {
    background: #2a1218;
    box-shadow: inset 4px 0 0 #fb7185;
  }

  body.board-app .board-table-row--video:hover .board-table-items {
    background: #1c0d11;
  }

  body.board-app .board-table-row--image:hover .board-table-cat {
    background: #0f2218;
    box-shadow: inset 4px 0 0 #34d399;
  }

  body.board-app .board-table-row--image:hover .board-table-items {
    background: #0a1810;
  }

  body.board-app .board-table-row--text:hover .board-table-cat {
    background: #0c2438;
    box-shadow: inset 4px 0 0 #38bdf8;
  }

  body.board-app .board-table-row--text:hover .board-table-items {
    background: #081c2e;
  }

  .board-round-inner--answer-reveal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  body.board-app .board-round-inner--answer-reveal {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  }

  .board-game-shell:fullscreen .board-atmosphere__glow,
  .board-game-shell:-webkit-full-screen .board-atmosphere__glow,
  .board-game-shell:fullscreen .board-petal,
  .board-game-shell:-webkit-full-screen .board-petal {
    animation: none;
  }
}

/* ?? Admin-defined board colors (WdBoardTheme.applyBoardTheme) ?? */
body.board-app .board-table-row.board-table-row--custom-cat .board-table-cat {
  background: var(--wd-cat-th-bg) !important;
  box-shadow: none !important;
  color: inherit;
}

body.board-app .board-table-row.board-table-row--custom-cat .board-table-items {
  background: var(--wd-cat-td-bg) !important;
}

body.board-app .board-table-row.board-table-row--custom-cat:hover .board-table-cat {
  background: var(--wd-cat-th-bg) !important;
  filter: brightness(1.06);
}

body.board-app .board-table-row.board-table-row--custom-cat:hover .board-table-items {
  background: var(--wd-cat-td-bg) !important;
  filter: brightness(1.06);
}

body.board-app .board-table-row.board-table-row--custom-row-items .board-cat-item:not(:disabled):not(.board-cat-item--played) {
  background: var(--wd-row-item-bg) !important;
  color: var(--wd-row-item-fg, #fef9c3) !important;
  border: 1px solid var(--wd-row-item-border, rgba(234, 179, 8, 0.45)) !important;
  box-shadow: none !important;
}

body.board-app .board-table-row.board-table-row--custom-row-items .board-cat-item:hover:not(:disabled):not(.board-cat-item--played) {
  filter: brightness(1.12);
}

body.board-app .board-cat-item.board-cat-item--theme:not(:disabled):not(.board-cat-item--played) {
  background: var(--wd-item-bg) !important;
  color: var(--wd-item-fg, #ffffff) !important;
  border: 1px solid var(--wd-item-border, rgba(234, 179, 8, 0.45)) !important;
  box-shadow: none !important;
}

body.board-app .board-cat-item.board-cat-item--theme:hover:not(:disabled):not(.board-cat-item--played) {
  filter: brightness(1.12);
}

.board-table-row.board-table-row--custom-cat .board-table-cat {
  background: var(--wd-cat-th-bg) !important;
  box-shadow: none !important;
}

.board-table-row.board-table-row--custom-cat .board-table-items {
  background: var(--wd-cat-td-bg) !important;
}

.board-cat-item.board-cat-item--theme:not(:disabled):not(.board-cat-item--played) {
  background: var(--wd-item-bg) !important;
  color: var(--wd-item-fg, #ffffff) !important;
  border-color: var(--wd-item-border, rgba(0, 0, 0, 0.2)) !important;
}

/* ?? Admin · board look / color pickers ?? */
.admin-player-block {
  max-width: 32rem;
  margin: 2rem auto;
}

.admin-invite-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 40rem;
}

.admin-invite-code {
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  margin-inline-start: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.admin-invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.admin-invite-link {
  word-break: break-all;
  display: inline-block;
  margin-top: 0.25rem;
}

.admin-board-look-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-theme-block {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-theme-color-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.admin-theme-color-label {
  flex: 0 0 min(100%, 11rem);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.admin-theme-color-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.admin-theme-color-picker {
  width: 2.75rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}

.admin-theme-hex-input {
  flex: 1;
  max-width: 10rem;
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.admin-theme-cat-block,
.admin-theme-item-block {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.admin-theme-cat-block:first-of-type,
.admin-theme-item-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.admin-theme-cat-caption,
.admin-theme-item-caption {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.admin-theme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-marketplace-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-marketplace-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.admin-marketplace-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-marketplace-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.admin-review-detail {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-review-cat {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
}

.admin-review-cat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.admin-review-cat__toggle {
  flex: 1 1 auto;
  justify-content: flex-start !important;
  text-align: left;
  font-weight: 700;
}

.admin-review-cat__mark {
  flex: 0 0 auto;
}

.admin-review-cat__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-top: 0.5rem;
}

.admin-review-cat__name-input {
  flex: 1 1 12rem;
  min-width: 10rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
}

.admin-review-cat__body {
  margin-top: 0.5rem;
}

.admin-review-cat__body[hidden] {
  display: none !important;
}

.admin-review-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.35;
  cursor: pointer;
}

.admin-review-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.admin-review-items {
  list-style: none;
  margin: 0.5rem 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}


/* ?? Team scoreboard ?? */
.board-scoreboard {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0.55rem 1rem 0.15rem;
}

.board-scoreboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.board-scoreboard__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #334155;
}

body.board-app .board-scoreboard__title {
  color: #e2e8f0;
}

.board-scoreboard__host-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.board-scoreboard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.board-scoreboard__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  min-width: 7.5rem;
}

body.board-app .board-scoreboard__item {
  background: rgba(30, 41, 59, 0.85);
  border-color: #334155;
}

.board-scoreboard__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}

body.board-app .board-scoreboard__name {
  color: #f1f5f9;
}

.board-scoreboard__score {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0ea5e9;
}

body.board-app .board-scoreboard__score {
  color: #38bdf8;
}

.board-scoreboard__item-actions {
  display: flex;
  gap: 0.25rem;
}

.board-scoreboard__empty {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.85rem;
  color: #64748b;
}

body.board-app .board-scoreboard__empty {
  color: #94a3b8;
}

.board-scoreboard__manage {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.board-scoreboard__add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.board-scoreboard__input {
  flex: 1 1 10rem;
  min-width: 8rem;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

body.board-app .board-scoreboard__input {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

.board-scoreboard__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.board-scoreboard__hint.is-error {
  color: #dc2626;
}

.board-round-score {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  text-align: center;
  width: 100%;
  max-width: min(100%, 42rem);
  margin-left: auto;
  margin-right: auto;
}

body.board-app .board-round-score {
  background: rgba(15, 23, 42, 0.55);
  border-color: #334155;
}

.board-round-score__teams {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
}

.board-round-score__team {
  flex: 1 1 0;
  min-width: 0;
  max-width: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

body.board-app .board-round-score__team {
  background: rgba(30, 41, 59, 0.9);
  border-color: #475569;
}

.board-round-score__team-head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.board-round-score__team-name {
  font-weight: 700;
  font-size: clamp(0.78rem, 2.2vw, 1rem);
  line-height: 1.2;
  color: #0f172a;
  text-align: center;
  word-break: break-word;
  min-width: 0;
}

body.board-app .board-round-score__team-name {
  color: #f8fafc;
}

.board-round-score__team-score {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0284c7;
  line-height: 1.2;
  flex-shrink: 0;
}

body.board-app .board-round-score__team-score {
  color: #38bdf8;
}

.board-round-score__btns {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.board-round-score__btns .btn {
  min-width: 2.4rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.board-round-score__status {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #059669;
  text-align: center;
}

body.board-app .board-round-score__status {
  color: #34d399;
}

.board-round-inner--answer-reveal .board-round-score {
  margin-bottom: 0.85rem;
}

.board-live-score-toast {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 2rem));
  margin: 0.35rem auto 0;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  letter-spacing: 0.01em;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  border: 1px solid #334155;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.board-live-score-toast.is-plus {
  border-color: #059669;
  color: #a7f3d0;
}

.board-live-score-toast.is-minus {
  border-color: #dc2626;
  color: #fecaca;
}

.board-live-score-toast.is-pop {
  animation: boardLiveScorePop 0.45s ease-out;
}

@keyframes boardLiveScorePop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.board-scoreboard__item.is-score-flash-plus,
.board-round-score__team.is-score-flash-plus {
  animation: boardScoreFlashPlus 0.9s ease;
}

.board-scoreboard__item.is-score-flash-minus,
.board-round-score__team.is-score-flash-minus {
  animation: boardScoreFlashMinus 0.9s ease;
}

@keyframes boardScoreFlashPlus {
  0%,
  100% {
    box-shadow: none;
  }
  35% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.85);
    background: rgba(16, 185, 129, 0.28);
  }
}

@keyframes boardScoreFlashMinus {
  0%,
  100% {
    box-shadow: none;
  }
  35% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.85);
    background: rgba(239, 68, 68, 0.28);
  }
}

.board-live-score-toast.is-open {
  border-color: #0ea5e9;
  color: #e0f2fe;
  background: rgba(8, 47, 73, 0.95);
}

.board-cat-item.is-host-opening {
  animation: boardHostOpeningPulse 0.7s ease-in-out infinite;
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
  z-index: 2;
  position: relative;
  filter: brightness(1.2);
  transform: scale(1.06);
}

.board-cat-item.is-host-open-flash {
  animation: boardHostOpenFlash 0.7s ease;
}

@keyframes boardHostOpeningPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
  }
}

@keyframes boardHostOpenFlash {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.08);
    filter: brightness(1.25);
  }
}

@media (max-width: 640px) {
  .board-scoreboard__item {
    min-width: calc(50% - 0.3rem);
    flex: 1 1 auto;
  }
}
