/* Стиль в духе scrum.ru/poker_delegations — светлый, красные акценты, Montserrat */

:root {
  --red: #e53935;
  --red-dark: #c62828;
  --red-light: #ffebee;
  --bg: #f5f2eb;
  --bg-white: #ffffff;
  --text: #222222;
  --text-soft: #555555;
  --muted: #888888;
  --border: #e0e0e0;
  --border-strong: #cccccc;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --header-h: 56px;
  --card-min-h: 200px;
  --card-title-size: 0.8125rem;
  --card-desc-size: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: clip;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Шапка ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--red);
  text-decoration: none;
}

.site-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Экраны ── */
#app {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  min-width: 0;
}

.screen {
  display: none;
  width: 100%;
  min-width: 0;
}

.screen.active {
  display: block;
  flex: 1 0 auto;
  animation: fadeIn 0.35s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* ── Герой (главная) ── */
.hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0 8px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-accent {
  color: var(--red);
}

.subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ── Панели входа ── */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  min-width: 0;
}

@media (max-width: 680px) {
  .panels {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 8px 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.panel-lead {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.step-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
}

.step-badge--outline {
  color: var(--red);
  background: var(--red-light);
  border: 1px solid rgba(229, 57, 53, 0.3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field input {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.field input::placeholder {
  color: #bbb;
}

/* ── Кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

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

.btn-primary {
  width: 100%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: var(--red-dark);
}

.btn-secondary {
  width: 100%;
  color: var(--red);
  background: var(--bg-white);
  border: 2px solid var(--red);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--red-light);
}

.btn-ghost {
  color: var(--text-soft);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.8rem;
}

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

.btn-danger {
  color: #fff;
  background: #757575;
}

.btn-danger:hover {
  background: #616161;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.78rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.error {
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red-dark);
  background: var(--red-light);
  border-radius: var(--radius);
  border: 1px solid rgba(229, 57, 53, 0.25);
}

/* ── Секции ── */
.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cards-preview-section {
  margin: 40px auto;
  padding: 32px 28px;
  max-width: 920px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.levels-guide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.level-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px 28px;
  align-items: start;
}

.level-row__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.level-row__about {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.about-play {
  margin-top: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.step-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-block--wide {
  grid-column: 1 / -1;
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: lowercase;
  color: var(--red);
  letter-spacing: 0.04em;
}

.step-block h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.step-block p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.step-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem !important;
  font-style: italic;
}

.about-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.about-steps li {
  margin-bottom: 6px;
}

/* ── Карточки (стиль scrum.ru) ── */
.dp-card--face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 148px;
  min-height: 200px;
  padding: 10px 10px 12px;
  background: var(--card-color);
  border-radius: 10px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  flex-shrink: 0;
}

.dp-card__num {
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dp-card__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 28px 0 10px;
  min-height: 52px;
}

.dp-card__svg {
  display: block;
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.dp-card__keyword {
  margin: 0 0 auto;
  padding: 0 4px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-card__chip {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 6px;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: #1a1a1a;
  border-radius: 6px;
}

.dp-card--guide {
  width: 132px;
  min-height: 188px;
}

.dp-card--play {
  width: 100%;
  max-width: 156px;
  min-height: 210px;
}

.dp-card--mini {
  width: 120px;
  min-height: 168px;
  padding: 8px 8px 10px;
}

.dp-card--mini .dp-card__num {
  font-size: 1.5rem;
}

.dp-card--mini .dp-card__svg {
  width: 44px;
  height: 44px;
}

.dp-card--mini .dp-card__icons {
  margin: 22px 0 8px;
  min-height: 44px;
}

.dp-card--mini .dp-card__keyword {
  font-size: 0.62rem;
}

.dp-card--mini .dp-card__chip {
  font-size: 0.5rem;
  padding: 6px 4px;
}

/* ── Игровой экран ── */
#screen-game.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  min-width: 0;
  grid-template-areas:
    'header'
    'timer'
    'sidebar'
    'main'
    'rules';
}

#screen-game.active > * {
  min-width: 0;
  max-width: 100%;
}

#screen-game.active .players-sidebar {
  position: static;
  max-height: none;
  padding: 12px 16px;
  align-self: stretch;
}

#screen-game.active .players-sidebar h2 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

#screen-game.active .players-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

#screen-game.active .players-list li {
  padding: 6px 12px;
  font-size: 0.85rem;
}

#screen-game.active .badge-ready {
  margin-left: 4px;
}

@media (max-width: 900px) {
  .players-sidebar {
    position: static;
    max-height: none;
  }
}

.game-header {
  grid-area: header;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.game-header__left {
  flex: 1;
  min-width: 0;
}

.game-header__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.room-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-code {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red);
}

.phase-badge {
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  background: var(--bg);
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.phase-badge.selecting {
  color: var(--red-dark);
  background: var(--red-light);
  border-color: rgba(229, 57, 53, 0.25);
}

.phase-badge.reveal {
  color: #1565c0;
  background: #e3f2fd;
  border-color: rgba(21, 101, 192, 0.2);
}

.admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-controls .btn-primary,
.admin-controls .btn-danger {
  width: auto;
  min-width: 0;
  padding: 8px 14px;
}

.admin-controls .btn-danger {
  color: var(--text-soft);
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.admin-controls .btn-danger:hover {
  background: var(--bg);
  border-color: var(--muted);
}

.hint {
  margin: 6px 0 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  background: none;
  border: none;
  box-shadow: none;
}

.timer-bar {
  grid-area: timer;
  position: relative;
  height: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.timer-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--red);
  transition: width 0.9s linear;
  border-radius: 999px;
}

.timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  z-index: 1;
}

.cards-section,
.results-section {
  grid-area: main;
  padding: 20px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}

.cards-placeholder {
  margin: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  justify-items: center;
}

.cards-section .cards-row {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  justify-content: center;
}

.card-slot {
  width: 100%;
  min-width: 0;
  max-width: 168px;
  display: flex;
  justify-content: center;
}

.playing-card {
  display: block;
  width: 100%;
  max-width: 172px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.15s;
}

.playing-card:not(:disabled):hover {
  transform: translateY(-4px);
}

.playing-card.selected .dp-card--face {
  outline: 4px solid var(--red);
  outline-offset: 4px;
  transform: scale(1.02);
}

.playing-card:disabled {
  cursor: default;
  opacity: 0.92;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.results-section h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.results-spread {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-dark);
}

.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
  justify-items: center;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.result-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
  max-width: 100%;
}

.result-name .badge-admin {
  display: inline-block;
  margin-top: 2px;
}

.result-card-wrap {
  width: 100%;
  max-width: 128px;
  display: flex;
  justify-content: center;
}

.result-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 128px;
  min-height: 168px;
  aspect-ratio: 5 / 7;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
}

.players-sidebar {
  grid-area: sidebar;
  padding: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.players-sidebar h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
}

.players-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.players-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
  font-size: 0.8rem;
  background: var(--bg);
  border-radius: 6px;
}

.badge-admin {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 5px;
  color: var(--red);
  background: var(--red-light);
  border-radius: 3px;
}

.badge-offline {
  font-size: 0.6rem;
  color: var(--muted);
}

.badge-ready {
  margin-left: auto;
  font-weight: 700;
  color: #2e7d32;
  font-size: 0.75rem;
}

.rules {
  grid-area: rules;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rules summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  list-style: none;
  user-select: none;
}

.rules summary::-webkit-details-marker {
  display: none;
}

.rules summary::before {
  content: '▸ ';
  color: var(--red);
}

.rules[open] summary::before {
  content: '▾ ';
}

.rules-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.rules-level-item {
  min-width: 0;
}

.rules-level-item .level-row {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px 18px;
}

.rules-level-item .dp-card--guide {
  width: 108px;
  min-height: 156px;
}

/* ── Экран завершения ── */
#screen-ended.active {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.ended-card {
  text-align: center;
  padding: 48px 40px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 100%;
}

.ended-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}

.ended-card h1 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 800;
}

.ended-card p {
  margin: 0 0 24px;
  color: var(--text-soft);
}

.ended-card .btn-primary {
  width: auto;
  min-width: 180px;
}

/* ── Подвал ── */
.site-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 16px 20px;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg-white);
  width: 100%;
}

.site-footer p {
  margin: 0;
}

/* ── Сетки карточек в игре ── */
@media (min-width: 520px) {
  .cards-section .cards-row {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .results-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .cards-section .cards-row {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}

@media (max-width: 560px) {
  .level-row,
  .rules-level-item .level-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .level-row__text {
    width: 100%;
    text-align: left;
  }
}

@media (min-width: 640px) {
  .results-list {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  }
}

/* ── Адаптив ── */
@media (max-width: 680px) {
  #app {
    padding: 16px 12px 24px;
  }

  .site-header__inner {
    padding: 0 12px;
  }

  .site-tag {
    display: none;
  }

  .hero {
    margin-bottom: 24px;
    padding: 12px 0 4px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .panel {
    padding: 20px 16px;
  }

  .cards-preview-section {
    margin: 32px auto;
    padding: 20px 14px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .levels-guide {
    gap: 16px;
  }

  .game-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }

  .game-header__right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .admin-controls {
    width: 100%;
  }

  .admin-controls .btn-primary,
  .admin-controls .btn-danger {
    flex: 1;
    width: auto;
  }

  .phase-badge {
    align-self: flex-start;
  }

  .room-info {
    flex-wrap: wrap;
  }

  .room-code {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .results-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .results-spread {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .results-list {
    gap: 16px 12px;
  }

  .ended-card {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --card-min-h: 188px;
    --card-title-size: 0.78rem;
    --card-desc-size: 0.7rem;
  }

  .site-logo {
    font-size: 0.9rem;
  }

  .cards-section,
  .results-section,
  .players-sidebar,
  .rules,
  .game-header {
    border-radius: 10px;
  }

  .site-footer {
    padding: 14px 12px;
    font-size: 0.72rem;
    line-height: 1.45;
  }
}
