@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body.db {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px) 0 0/7px 7px, radial-gradient(rgba(90, 60, 30, 0.1) 1px, transparent 1.4px) 3px 4px/9px 9px, #d9b98c;
  color: #3b2a1a;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.db) :where(h1, h2, h3, p, ol, fieldset) {
  margin: 0;
}
:where(.db) :where(ol) {
  padding: 0;
  list-style: none;
}
:where(.db) :where(fieldset) {
  border: 0;
  padding: 0;
  min-width: 0;
}
:where(.db) :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:where(.db) :where(a) {
  color: inherit;
}
:where(.db) :where(:focus-visible) {
  outline: 3px solid #f5b700;
  outline-offset: 3px;
  border-radius: 10px;
}

.db [hidden] {
  display: none !important;
}

.db:not(.is-setup) .db-only-setup,
.db:not(.is-waiting) .db-only-waiting,
.db:not(.is-join) .db-only-join,
.db:not(.is-play) .db-only-play,
.db:not(.is-gone) .db-only-gone,
.db.is-live-mode .db-only-local {
  display: none !important;
}

.db-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.db-ink-x {
  color: #d6336c;
}

.db-ink-o {
  color: #0f9b8e;
}

.db-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(16px, 5vw, 80px);
}

.db-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.db-bar-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b5440;
  text-decoration: none;
}
.db-bar-link:hover {
  color: #3b2a1a;
}

.db-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b5440;
  margin-bottom: 12px;
}

.db-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.db-title span {
  display: block;
}

.db-title-1 {
  font-size: clamp(2.8rem, 7.4vw, 6rem);
  transform: rotate(-2deg);
}

.db-title-2 {
  margin-top: 6px;
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  color: #d6336c;
  transform: rotate(1deg);
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.45);
}

.db-lede {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.1rem;
  color: #6b5440;
}
.db-lede b {
  font-weight: 800;
}
.db-lede em {
  font-style: normal;
  font-weight: 700;
  color: #3b2a1a;
}

.db-small {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #6b5440;
}

.db-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  background: #fbf5e8;
  color: #3b2a1a;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 2.5px #3b2a1a, 0 4px 0 rgba(59, 42, 26, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.db-btn:hover {
  transform: translateY(-2px) rotate(-1deg);
}
.db-btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 2.5px #3b2a1a;
}
.db-btn--crayon {
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 6px), #d6336c;
  color: #fff;
  padding: 14px 30px;
  font-size: 1.05rem;
  box-shadow: 0 4px 0 #9c1f4c, 0 10px 24px -10px rgba(156, 31, 76, 0.7);
}
.db-btn--crayon:active {
  box-shadow: 0 1px 0 #9c1f4c;
}

.db-text-btn {
  font-weight: 700;
  color: #6b5440;
}
.db-text-btn:hover {
  color: #3b2a1a;
}

.db-setup {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 16px clamp(16px, 5vw, 80px) 72px;
}

.db-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}
.db-form--narrow {
  max-width: 360px;
}
.db-form .db-btn--crayon {
  align-self: flex-start;
}

.db-choice,
.db-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.db-choice legend,
.db-themes legend {
  grid-column: 1/-1;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b5440;
}
.db-choice input,
.db-themes input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.db-choice span,
.db-themes span {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(251, 245, 232, 0.65);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(59, 42, 26, 0.2);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.db-choice span small,
.db-themes span small {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: #6b5440;
}
.db-choice input:checked + span,
.db-themes input:checked + span {
  background: #fbf5e8;
  box-shadow: inset 0 0 0 2.5px #3b2a1a, 4px 4px 0 #d6336c;
  transform: rotate(-0.8deg);
}
.db-choice input:focus-visible + span,
.db-themes input:focus-visible + span {
  outline: 3px solid #f5b700;
  outline-offset: 3px;
}

.db-themes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.db-themes span {
  align-items: center;
  text-align: center;
  gap: 4px;
}

.db-mini {
  display: grid;
  gap: 2px;
  margin-bottom: 4px;
}
.db-mini b {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
.db-mini b.is-on {
  background: #6b5440;
}
.db-mini--classic {
  grid-template-columns: repeat(4, 9px);
}
.db-mini--heart {
  grid-template-columns: repeat(7, 9px);
}
.db-mini--heart b.is-on {
  background: #d6336c;
}
.db-mini--big {
  grid-template-columns: repeat(6, 9px);
}

.db-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.is-live-mode .db-names {
  grid-template-columns: minmax(0, 1fr);
  max-width: 290px;
}

.db-field {
  --c: #d6336c;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db-field--o {
  --c: #0f9b8e;
}
.db-field > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b5440;
}
.db-field > span em {
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 800;
  color: var(--c);
}
.db-field input {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #fbf5e8;
  box-shadow: inset 0 0 0 2px rgba(59, 42, 26, 0.2);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #3b2a1a;
  padding: 10px 14px;
}
.db-field input::placeholder {
  color: rgba(59, 42, 26, 0.28);
}
.db-field input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2.5px var(--c);
}

.db-form-error {
  color: #9c1f4c;
  font-weight: 700;
}
.db-form-error:empty {
  display: none;
}

.db-placemat {
  justify-self: center;
  width: min(440px, 80vw);
  padding: 28px;
  border-radius: 20px;
  background: #fbf5e8;
  box-shadow: 0 0 0 10px rgba(251, 245, 232, 0.4), 0 30px 50px -24px rgba(59, 42, 26, 0.6);
  transform: rotate(2deg);
}

.db-hero-board {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.db-hero-line {
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}
.db-hero-line.db-x {
  stroke: #d6336c;
}
.db-hero-line.db-o {
  stroke: #0f9b8e;
}

.db-hero-heart.db-x {
  fill: #d6336c;
}
.db-hero-heart.db-o {
  fill: #0f9b8e;
}

.db-hero-star {
  fill: #f5b700;
}

.db-hero-dots circle {
  fill: #3b2a1a;
}

.db-crayons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.db-crayon {
  width: 80px;
  height: 16px;
  border-radius: 3px 10px 10px 3px;
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 12px), var(--c);
}
.db-crayon--x {
  --c: #d6336c;
  transform: rotate(-6deg);
}
.db-crayon--o {
  --c: #0f9b8e;
  transform: rotate(4deg);
}
.db-crayon--gold {
  --c: #f5b700;
  transform: rotate(-2deg);
}

.db-panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px clamp(16px, 5vw, 80px) 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.db-panel .db-lede {
  margin-left: auto;
  margin-right: auto;
}
.db-panel .db-form {
  align-items: center;
  width: 100%;
  text-align: left;
}
.db-panel .db-form .db-btn--crayon {
  align-self: center;
}

.db-panel-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.db-link-box {
  margin-top: 26px;
  display: flex;
  width: 100%;
  max-width: 520px;
  gap: 8px;
}
.db-link-box input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #fbf5e8;
  box-shadow: inset 0 0 0 2.5px rgba(59, 42, 26, 0.35);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #3b2a1a;
}

.db-send {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.db-waiting {
  margin-top: 34px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.db-wiggle {
  display: inline-block;
  animation: db-wiggle 0.8s ease-in-out infinite alternate;
}

.db-play {
  max-width: 780px;
  margin: 0 auto;
  padding: 4px 16px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.db-score {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.db-player {
  --c: #d6336c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fbf5e8;
  box-shadow: inset 0 0 0 2.5px var(--c);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.db-player--o {
  --c: #0f9b8e;
}
.turn-x .db-player--x, .turn-o .db-player--o {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: inset 0 0 0 2.5px var(--c), 4px 4px 0 var(--c);
}

.db-player-name {
  min-width: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--c);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.db-player-pts {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--c);
  font-variant-numeric: tabular-nums;
}
.db-player-pts svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.db-dot {
  display: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b5a58f;
  vertical-align: 2px;
}
.is-live .db-dot {
  display: inline-block;
}
.db-dot.is-online {
  background: #22b573;
  box-shadow: 0 0 0 3px rgba(34, 181, 115, 0.25);
}

.db-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  font-size: 0.9rem;
}

.db-series {
  font-weight: 600;
  font-size: 0.8rem;
  color: #6b5440;
}

.db-status {
  margin: 16px 0 12px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(251, 245, 232, 0.85);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
  min-height: 2.6em;
}
.turn-x .db-status {
  color: #d6336c;
}
.turn-o .db-status {
  color: #0f9b8e;
}
.is-offline .db-status::after {
  content: " · reconnecting…";
  color: #6b5440;
  font-weight: 600;
}

.db-board-wrap {
  position: relative;
  width: min(600px, 94vw);
  padding: clamp(10px, 2.4vw, 22px);
  border-radius: 22px;
  background: #fbf5e8;
  box-shadow: 0 0 0 8px rgba(251, 245, 232, 0.45), 0 30px 50px -26px rgba(59, 42, 26, 0.7);
}

.db-board {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.db-guides path {
  stroke: rgba(59, 42, 26, 0.13);
  stroke-width: 0.32;
  stroke-dasharray: 0.5 0.9;
  stroke-linecap: round;
}

.db-line {
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: db-draw 0.32s ease-out forwards;
}
.db-line.db-x {
  stroke: #d6336c;
}
.db-line.db-o {
  stroke: #0f9b8e;
}
.db-line.is-instant {
  animation: none;
  stroke-dashoffset: 0;
}

.db-dots circle {
  fill: #3b2a1a;
}

.db-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 3.4;
  stroke-linecap: round;
  pointer-events: stroke;
  cursor: pointer;
  outline: none;
}
.db-hit.is-drawn, .db:not(.my-turn) .db-hit {
  pointer-events: none;
}
.my-turn [data-actor=x] .db-hit:not(.is-drawn):hover {
  stroke: rgba(214, 51, 108, 0.28);
}
.my-turn [data-actor=o] .db-hit:not(.is-drawn):hover {
  stroke: rgba(15, 155, 142, 0.28);
}
.db-hit:focus-visible {
  stroke: rgba(245, 183, 0, 0.55);
}

.db-box-fill {
  fill: transparent;
  transition: fill 0.3s ease;
}
.is-claimed.db-x .db-box-fill {
  fill: rgba(214, 51, 108, 0.12);
}
.is-claimed.db-o .db-box-fill {
  fill: rgba(15, 155, 142, 0.12);
}

.db-heart {
  opacity: 0;
}
.is-claimed .db-heart {
  opacity: 1;
}
.db-x .db-heart {
  fill: #d6336c;
}
.db-o .db-heart {
  fill: #0f9b8e;
}

.db-star {
  fill: #f5b700;
  filter: drop-shadow(0 0.3px 0.4px rgba(59, 42, 26, 0.4));
}
.is-claimed .db-star {
  opacity: 0;
}

.db-legend {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b5440;
}
.db-legend svg {
  width: 18px;
  height: 18px;
  fill: #f5b700;
}

.db-bonus {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
}

.db-bonus {
  background: rgba(59, 42, 26, 0.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.db-bonus-card {
  position: relative;
  width: min(380px, 100%);
  padding: 34px 24px 22px;
  text-align: center;
  border-radius: 18px;
  background: #fff8d6;
  box-shadow: inset 0 0 0 3px #f5b700, 0 20px 40px -14px rgba(0, 0, 0, 0.5);
  transform: rotate(-1.5deg);
}

.db-bonus-star {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  fill: #f5b700;
  filter: drop-shadow(0 4px 6px rgba(59, 42, 26, 0.35));
}

.db-bonus-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a6c00;
}

.db-bonus-text {
  margin: 10px 0 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
}

.db-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed rgba(59, 42, 26, 0.16);
}

.db-end-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b5440;
}

.db-end-stamp {
  max-width: 92%;
  padding: 10px 22px 12px;
  border-radius: 14px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 5.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  transform: rotate(-4deg);
  box-shadow: inset 0 0 0 4px currentColor, 6px 6px 0 currentColor;
  overflow-wrap: anywhere;
}
.win-x .db-end-stamp {
  color: #d6336c;
}
.win-o .db-end-stamp {
  color: #0f9b8e;
}
.win-draw .db-end-stamp {
  color: #3b2a1a;
}

.db-end-line {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
}

.db-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.db-history-card {
  margin-top: 30px;
  width: 100%;
  max-width: 560px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(251, 245, 232, 0.8);
  box-shadow: inset 0 0 0 2px rgba(59, 42, 26, 0.18);
}
.db-history-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.db-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.db-history-row {
  font-size: 0.95rem;
}
.db-history-row b {
  display: inline-block;
  width: 34px;
  font-family: "Poppins", sans-serif;
  color: #6b5440;
}
.db-history-row--x {
  color: #d6336c;
}
.db-history-row--o {
  color: #0f9b8e;
}

.db-history-empty {
  color: #6b5440;
  margin-bottom: 12px;
}

.db-guide {
  padding: 8px clamp(16px, 5vw, 80px) 32px;
}

.db-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 24px 64px;
  padding: 48px 0;
  border-top: 2px dashed rgba(59, 42, 26, 0.16);
}
.db-row h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.db-row > div {
  max-width: 760px;
  color: #6b5440;
  font-size: 1.02rem;
  line-height: 1.75;
}
.db-row > div p + p {
  margin-top: 14px;
}
.db-row strong {
  color: #3b2a1a;
}

.db-faq details {
  border-bottom: 1px solid rgba(59, 42, 26, 0.16);
}
.db-faq details:first-child summary {
  padding-top: 0;
}
.db-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #3b2a1a;
}
.db-faq summary::-webkit-details-marker {
  display: none;
}
.db-faq summary::after {
  content: "+";
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  color: #d6336c;
  transition: transform 0.2s ease;
}
.db-faq details[open] summary::after {
  transform: rotate(45deg);
}
.db-faq details p {
  padding-bottom: 16px;
}

.db-foot {
  padding: 40px clamp(16px, 5vw, 80px);
  text-align: center;
  color: #6b5440;
  border-top: 2px dashed rgba(59, 42, 26, 0.16);
}
.db-foot p + p {
  margin-top: 12px;
}
.db-foot a {
  color: #3b2a1a;
  font-weight: 600;
}

.db-foot-meta {
  font-size: 0.85rem;
}
.db-foot-meta a {
  color: #6b5440;
  text-decoration: none;
}

.db-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  transform: translate(-50%, 16px);
  max-width: calc(100vw - 32px);
  padding: 11px 20px;
  border-radius: 99px;
  background: #3b2a1a;
  color: #fbf5e8;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.db-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes db-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes db-wiggle {
  from {
    transform: rotate(-12deg) translateX(-3px);
  }
  to {
    transform: rotate(12deg) translateX(3px);
  }
}
@media (max-width: 860px) {
  .db-setup,
  .db-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .db-placemat {
    display: none;
  }
}
@media (max-width: 600px) {
  .db-choice,
  .db-names {
    grid-template-columns: 1fr;
  }
  .db-themes {
    gap: 6px;
  }
  .db-themes span {
    padding: 10px 6px;
  }
  .db-mini b {
    width: 7px;
    height: 7px;
  }
  .db-mini--classic {
    grid-template-columns: repeat(4, 7px);
  }
  .db-mini--heart {
    grid-template-columns: repeat(7, 7px);
  }
  .db-mini--big {
    grid-template-columns: repeat(6, 7px);
  }
  .db-score {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .db-vs {
    grid-column: 1/-1;
    grid-row: 2;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .db-player {
    padding: 8px 10px;
  }
  .db-player-pts {
    font-size: 1.3rem;
  }
  .db-hit {
    stroke-width: 4.2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .db-line,
  .db-wiggle {
    animation: none;
    stroke-dashoffset: 0;
  }
  .db-btn,
  .db-player,
  .db-choice span,
  .db-themes span,
  .db-box-fill {
    transition: none;
  }
}
