/* DUELS (/rewards/duels): the arena, the create panel, the open challenges and the recent duels.
 * Built on the Rewards room (rewards.css): its tokens, its panel, its buttons. Every colour here is
 * a var() from that file. Phone first; the wide layout is at the bottom of each block.
 *
 * Motion: the coin toss and the throw pump are CSS keyframes, started by a class from duels.js and
 * retimed from the two tokens below. Under prefers-reduced-motion they do not run at all: the coin
 * shows its face and the hands their throws at once.
 */

.dl {
  --dl-toss: 1.8s;
  --dl-pump: 0.3s;
  --dl-coin: 108px;
  --dl-hand: 72px;
  --dl-badge: 64px;
}
@media (min-width: 720px) {
  .dl { --dl-coin: 150px; --dl-hand: 104px; --dl-badge: 88px; }
}
@media (min-width: 1200px) {
  .dl { --dl-coin: 176px; --dl-hand: 120px; --dl-badge: 104px; }
}

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

.dl-stage {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, var(--rw-lit-16), transparent 70%),
    var(--rw-ground);
}

/* ------------------------------------------------------------------ the game tabs */
.dl-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}
.dl-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 52px;
  padding: 6px 10px;
  border: 1px solid var(--rw-line);
  border-radius: 12px;
  background: var(--rw-panel);
  color: var(--rw-ink);
  font: 600 15px/1.15 var(--ui);
  text-align: left;
  cursor: pointer;
}
.dl-tab img { flex: none; width: 28px; height: 28px; }
.dl-tab > span:first-of-type { min-width: 0; }
.dl-tab:hover { border-color: var(--rw-gold-lit); }
.dl-tab[aria-selected="true"] { background: var(--rw-gilt); color: var(--rw-gilt-ink); border-color: var(--rw-gold-deep); box-shadow: 0 14px 30px -18px var(--rw-lit-65); }
.dl-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.dl-tab__n {
  flex: none;
  min-width: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--rw-black-45);
  color: var(--rw-gold-lit);
  font: 600 13px/1 var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.dl-tab[aria-selected="true"] .dl-tab__n { background: var(--rw-gilt-ink); color: var(--rw-gold-lit); }
@media (min-width: 720px) {
  .dl-tabs { display: flex; }
  .dl-tab { flex: 0 1 auto; padding: 6px 22px; font-size: 17px; }
}

/* ------------------------------------------------------------------ the layout */
.dl-grid { display: grid; gap: 16px; }
.dl-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
  .dl-arena, .dl-recent { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .dl-grid { grid-template-columns: 360px minmax(0, 1fr) 300px; gap: 20px; }
  .dl-arena { grid-column: 1 / 3; grid-row: 1; }
  .dl-recent { grid-column: 3; grid-row: 1 / 3; }
  .dl-create { grid-column: 1; grid-row: 2; }
  .dl-open { grid-column: 2; grid-row: 2; }
}

.dl-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 600 22px/1.1 var(--font-display);
  color: var(--rw-gold-lit);
}
.dl-h img { width: 28px; height: 28px; }
.dl-sub { margin: 0 0 8px; font: 600 11px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rw-muted); }
.dl-closed { margin: 0 0 16px; padding: 28px 24px; text-align: center; font: 600 20px/1.3 var(--font-display); color: var(--rw-gold-lit); }
.dl-empty { margin: 0; padding: 14px 0 4px; font: 500 14px/1.4 var(--ui); color: var(--rw-muted); }
.dl-opt { font: 500 12px/1 var(--ui); color: var(--rw-faint); }

/* ------------------------------------------------------------------ the arena */
.dl-arena {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 18px 12px 16px;
  border: 1px solid var(--rw-line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 60% 34% at 50% 100%, var(--rw-lit-18), transparent 72%),
    linear-gradient(180deg, var(--rw-panel-98), var(--rw-ground) 70%);
  box-shadow: 0 30px 70px -30px var(--rw-black-90);
}
/* Stadium lights and a lined floor, drawn: two spot beams from the top corners and a court line. */
.dl-arena__lights {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 70% at 12% -12%, var(--rw-lit-20), transparent 70%),
    radial-gradient(ellipse 34% 70% at 88% -12%, var(--rw-lit-20), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 46px, var(--rw-white-6) 46px 47px);
  -webkit-mask-image: linear-gradient(180deg, var(--rw-mask) 0%, transparent 92%);
  mask-image: linear-gradient(180deg, var(--rw-mask) 0%, transparent 92%);
}
.dl-arena__lights::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rw-lit-40), transparent);
}
.dl-arena__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
@media (min-width: 720px) {
  .dl-arena { padding: 26px 22px 20px; gap: 16px; }
  .dl-arena__row { gap: 18px; }
}

/* A player's card */
.dl-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px 8px 12px;
  border: 1px solid var(--rw-line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--rw-gold-12), var(--rw-panel-92) 60%);
  text-align: center;
  transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.dl-card__badge {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: var(--dl-badge);
  height: var(--dl-badge);
  border-radius: 50%;
  border: 2px solid var(--rw-gold);
  background: radial-gradient(circle at 50% 35%, var(--rw-lit-20), var(--rw-ground-90) 70%);
  color: var(--rw-gold-lit);
  font: 600 calc(var(--dl-badge) * 0.34)/1 var(--font-display);
  box-shadow: 0 0 0 4px var(--rw-ground-70), 0 12px 30px -12px var(--rw-lit-60);
}
.dl-card__badge img { width: 100%; height: 100%; object-fit: cover; }
.dl-card__name {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 clamp(15px, 2vw, 22px)/1.2 var(--font-display);
  color: var(--rw-ink);
}
.dl-card[data-you="true"] .dl-card__name::after {
  content: "You";
  display: block;
  margin-top: 4px;
  font: 600 10px/1 var(--ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-gold);
}
.dl-card__pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 36px; margin: 0; }
.dl-card__net { min-height: 1.2em; margin: 0; font: 700 clamp(18px, 2.4vw, 26px)/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--rw-ink); }
.dl-card__net[data-tone="up"] { color: var(--rw-win); }
.dl-card__net[data-tone="down"] { color: var(--rw-loss); }
.dl-card[data-empty="true"] .dl-card__badge { border-style: dashed; color: var(--rw-faint); box-shadow: none; }
.dl-card[data-empty="true"] .dl-card__name { color: var(--rw-muted); }
.dl-card[data-state="won"] { border-color: var(--rw-gold-lit); box-shadow: var(--rw-glow); transform: translateY(-4px); }
.dl-card[data-state="lost"] { opacity: 0.55; }
.dl-card[data-state="lost"] .dl-card__badge { filter: grayscale(0.8); }

/* The pick chip on a card: a side, or up to three throws */
.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 3px 12px 3px 4px;
  border: 1px solid var(--rw-gold-deep);
  border-radius: 999px;
  background: var(--rw-gilt);
  color: var(--rw-gilt-ink);
  font: 700 13px/1 var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dl-chip img { width: 26px; height: 26px; }
.dl-chip--quiet { background: var(--rw-black-45); color: var(--rw-ink); border-color: var(--rw-line-soft); }
.dl-throw {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rw-line-soft);
  border-radius: 10px;
  background: var(--rw-black-40);
  color: var(--rw-muted);
  font: 700 15px/1 var(--mono);
}
.dl-throw img { width: 30px; height: 30px; }
.dl-throw[data-result="won"] { border-color: var(--rw-win); }
.dl-throw[data-result="lost"] { opacity: 0.5; }
.dl-throw[data-result="tie"] { border-color: var(--rw-muted); }

/* The middle: the coin or the hands, the VS mark, the pot and the clock */
.dl-mid { display: grid; justify-items: center; gap: 6px; }
.dl-vs { width: 44px; height: 44px; margin-top: -6px; filter: drop-shadow(0 0 12px var(--rw-lit-40)); }
@media (min-width: 720px) { .dl-vs { width: 60px; height: 60px; } }
.dl-pot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--rw-gold);
  border-radius: 999px;
  background: var(--rw-ground-86);
  box-shadow: 0 0 0 3px var(--rw-gold-10), 0 10px 26px -12px var(--rw-lit-60);
}
.dl-pot img { width: 28px; height: 28px; }
.dl-pot__n { font: 700 clamp(18px, 2.6vw, 28px)/1 var(--mono); color: var(--rw-gold-lit); font-variant-numeric: tabular-nums; }
.dl-pot__label { font: 600 10px/1 var(--ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rw-muted); }
.dl-timer { margin: 0; font: 600 15px/1 var(--mono); color: var(--rw-ink); font-variant-numeric: tabular-nums; }
.dl-timer[data-tone="low"] { color: var(--rw-loss); }

/* The coin: two faces back to back in 3D. At rest data-face picks the side showing. */
.dl-coin { --dl-rest: 0deg; width: var(--dl-coin); height: var(--dl-coin); perspective: 900px; }
.dl-coin[data-face="tails"] { --dl-rest: 180deg; }
.dl-arena[data-game="rps"] .dl-coin { display: none; }
.dl-coin__spin {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(var(--dl-rest));
}
.dl-coin__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: drop-shadow(0 18px 24px var(--rw-black-60));
}
.dl-coin__face--tails { transform: rotateY(180deg); }
/* Waiting for the server: a steady spin, then a toss that lands on the face it sent. */
.dl-coin.is-spinning .dl-coin__spin { animation: dl-spin 0.5s linear infinite; }
.dl-coin[data-land="heads"] .dl-coin__spin { animation: dl-land-heads var(--dl-toss) cubic-bezier(0.2, 0.6, 0.25, 1) forwards; }
.dl-coin[data-land="tails"] .dl-coin__spin { animation: dl-land-tails var(--dl-toss) cubic-bezier(0.2, 0.6, 0.25, 1) forwards; }
.dl-arena[data-phase="compose"] .dl-coin .dl-coin__spin,
.dl-arena[data-phase="waiting"] .dl-coin .dl-coin__spin { animation: dl-idle 6s ease-in-out infinite; }
@keyframes dl-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes dl-idle { 0%, 100% { transform: rotateY(calc(var(--dl-rest) - 18deg)) translateY(0); } 50% { transform: rotateY(calc(var(--dl-rest) + 18deg)) translateY(-4px); } }
@keyframes dl-land-heads {
  0% { transform: translateY(0) rotateY(0deg) scale(1); }
  45% { transform: translateY(-34%) rotateY(900deg) scale(1.12); }
  100% { transform: translateY(0) rotateY(1800deg) scale(1); }
}
@keyframes dl-land-tails {
  0% { transform: translateY(0) rotateY(0deg) scale(1); }
  45% { transform: translateY(-34%) rotateY(990deg) scale(1.12); }
  100% { transform: translateY(0) rotateY(1980deg) scale(1); }
}

/* The hands: Rock Paper Scissors. They pump three times, then show the round's throws. */
.dl-hands { display: none; align-items: end; gap: 4px; }
.dl-arena[data-game="rps"] .dl-hands { display: flex; }
.dl-hand { width: var(--dl-hand); height: var(--dl-hand); filter: drop-shadow(0 14px 18px var(--rw-black-60)); transition: opacity 0.25s ease, transform 0.25s ease; }
.dl-hand--left { transform: scaleX(-1); }
.dl-hands.is-pumping .dl-hand--left { animation: dl-pump-left var(--dl-pump) ease-in-out 3; }
.dl-hands.is-pumping .dl-hand--right { animation: dl-pump-right var(--dl-pump) ease-in-out 3; }
.dl-hand[data-result="lost"] { opacity: 0.45; }
.dl-hand--left[data-result="won"] { transform: scaleX(-1) scale(1.12); }
.dl-hand--right[data-result="won"] { transform: scale(1.12); }
.dl-hand[data-hidden="true"] { opacity: 0.35; filter: grayscale(1) drop-shadow(0 14px 18px var(--rw-black-60)); }
@keyframes dl-pump-left { 0%, 100% { transform: scaleX(-1) translateY(0); } 50% { transform: scaleX(-1) translateY(-22%); } }
@keyframes dl-pump-right { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22%); } }

/* Rounds, best of 3 */
.dl-rounds {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dl-round {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--rw-line-soft);
  border-radius: 999px;
  background: var(--rw-black-45);
  font: 600 12px/1 var(--mono);
  color: var(--rw-muted);
}
.dl-round[data-result="won"] { border-color: var(--rw-win); color: var(--rw-win); }
.dl-round[data-result="lost"] { border-color: var(--rw-loss); color: var(--rw-loss); }
.dl-round[data-result="tie"] { color: var(--rw-ink); }

/* The foot: the accept pad, the buttons, the one status line */
.dl-arena__foot { display: grid; gap: 10px; justify-items: center; }
.dl-accept { display: grid; gap: 8px; justify-items: center; width: 100%; }
.dl-accept__label { margin: 0; font: 600 11px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rw-muted); }
.dl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.page-rewards .dl-act { width: auto; flex: 1 1 140px; max-width: 280px; min-height: 52px; font-size: 19px; }
.page-rewards .dl-act.cg-go--quiet { min-height: 52px; font-size: 16px; }
.dl-status { min-height: 1.4em; text-align: center; }
.dl-signin { min-height: 44px; }

/* ------------------------------------------------------------------ the throw picker */
.dl-picker { display: grid; gap: 8px; justify-items: center; width: 100%; }
.dl-slots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dl-slot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px dashed var(--rw-line);
  border-radius: 10px;
  background: var(--rw-black-40);
  color: var(--rw-faint);
  font: 600 12px/1 var(--mono);
  cursor: pointer;
}
.dl-slot[data-filled="true"] { border-style: solid; border-color: var(--rw-gold); }
.dl-slot img { width: 36px; height: 36px; }
.dl-slot:focus-visible, .dl-throwbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dl-throwbtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 360px; }
.dl-throwbtn {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 84px;
  padding: 6px 4px 8px;
  border: 1px solid var(--rw-line-soft);
  border-radius: 12px;
  background: var(--rw-black-40);
  color: var(--rw-ink);
  font: 600 13px/1 var(--ui);
  cursor: pointer;
}
.dl-throwbtn img { width: 52px; height: 52px; }
.dl-throwbtn:hover:not([disabled]) { border-color: var(--rw-gold-lit); background: var(--rw-gold-10); }
.dl-throwbtn[aria-pressed="true"] { border-color: var(--rw-gold-lit); background: var(--rw-gold-14); }
.dl-throwbtn[disabled] { opacity: 0.45; cursor: default; }

/* ------------------------------------------------------------------ the create panel */
.dl-form { display: grid; gap: 16px; }
.dl-set { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dl-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dl-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  border: 1px solid var(--rw-line);
  border-radius: 12px;
  background: var(--rw-black-40);
  color: var(--rw-ink);
  font: 600 18px/1 var(--font-display);
  cursor: pointer;
}
.dl-side img { width: 36px; height: 36px; }
.dl-side[aria-pressed="true"] { background: var(--rw-gilt); color: var(--rw-gilt-ink); border-color: var(--rw-gold-deep); }
.dl-side:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dl-bestof { justify-self: start; }
.page-rewards .dl-handle { font: 500 17px/1 var(--ui); }

/* ------------------------------------------------------------------ open challenges */
.dl-open__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dl-open__n { margin: 0; font: 600 14px/1 var(--mono); color: var(--rw-gold-lit); font-variant-numeric: tabular-nums; }
.dl-yours { padding-bottom: 12px; border-bottom: 1px solid var(--rw-line-soft); }
.dl-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dl-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--rw-line-soft);
}
.dl-list > .dl-row:first-child { border-top: 0; }
.dl-row.is-for-you { margin: 0 -10px; padding: 10px; border: 1px solid var(--rw-gold); border-radius: 10px; background: var(--rw-gold-10); }
.dl-row.is-focus { box-shadow: inset 3px 0 0 var(--rw-gold-lit); }
.dl-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rw-gold);
  background: radial-gradient(circle at 50% 35%, var(--rw-lit-20), var(--rw-ground-90) 70%);
  color: var(--rw-gold-lit);
  font: 600 12px/1 var(--ui);
}
.dl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dl-avatar--game { border-color: var(--rw-line-soft); background: var(--rw-black-40); }
.dl-avatar--game img { width: 30px; height: 30px; object-fit: contain; }
.dl-row__main { display: grid; gap: 4px; min-width: 0; }
.dl-row__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.2 var(--ui); color: var(--rw-ink); }
.dl-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 600 13px/1 var(--mono); color: var(--rw-muted); font-variant-numeric: tabular-nums; }
.dl-row__meta img { width: 18px; height: 18px; vertical-align: -4px; }
.dl-stake { display: inline-flex; align-items: center; gap: 4px; color: var(--rw-gold-lit); }
.dl-tag { padding: 3px 6px; border-radius: 6px; background: var(--rw-gold-14); color: var(--rw-gold-lit); font: 700 10px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; }
.dl-row__time[data-tone="low"] { color: var(--rw-loss); }
.dl-row__acts { display: flex; gap: 6px; }
.dl-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rw-gold-deep);
  border-radius: 10px;
  background: var(--rw-gilt);
  color: var(--rw-gilt-ink);
  font: 600 15px/1 var(--ui);
  white-space: nowrap;
  cursor: pointer;
}
.dl-btn:hover:not([disabled]) { filter: brightness(1.06); }
.dl-btn[disabled] { opacity: 0.5; cursor: default; }
.dl-btn:focus-visible { outline: 2px solid var(--rw-ink); outline-offset: 2px; }
.dl-btn--quiet { background: var(--rw-black-40); color: var(--rw-ink); border-color: var(--rw-line-soft); }

/* ------------------------------------------------------------------ recent duels */
.dl-recent { align-content: start; }
.dl-recent__list { display: grid; margin: 0; padding: 0; list-style: none; }
.dl-recent__item { border-top: 1px solid var(--rw-line-soft); }
.dl-recent__item:first-child { border-top: 0; }
.dl-recent__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.dl-recent__row:hover { background: var(--rw-gold-10); }
.dl-recent__row:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dl-recent__row.is-mine .dl-row__name { color: var(--rw-gold-lit); }
.dl-won { color: var(--rw-win); }
.dl-lost { color: var(--rw-loss); }
.dl-recent__at { font: 500 12px/1 var(--mono); color: var(--rw-faint); text-align: right; }
.dl-recent__at img { display: block; width: 22px; height: 22px; margin: 0 0 4px auto; }

/* ------------------------------------------------------------------ the rules popover */
.dl-rules { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 12px; font: 500 14px/1.3 var(--ui); }
.dl-rules dt { color: var(--rw-muted); }
.dl-rules dd { margin: 0; color: var(--rw-ink); font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }

@media (max-width: 380px) {
  .dl-arena { padding-left: 8px; padding-right: 8px; }
  .dl-card { padding-left: 4px; padding-right: 4px; }
  .dl-tab { font-size: 14px; gap: 6px; padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-card, .dl-hand { transition: none; }
  .dl-card[data-state="won"] { transform: none; }
  .dl-coin .dl-coin__spin,
  .dl-coin.is-spinning .dl-coin__spin,
  .dl-arena[data-phase] .dl-coin .dl-coin__spin,
  .dl-hands.is-pumping .dl-hand { animation: none; }
  .dl-coin[data-land="heads"] .dl-coin__spin { animation: none; transform: rotateY(0deg); }
  .dl-coin[data-land="tails"] .dl-coin__spin { animation: none; transform: rotateY(180deg); }
}
