/* The swipe deck ("Swipe through all", pages/deck.js): the screen goes dark, one large card holds
   the stage, three round buttons under it. It keeps its dark full-screen design in both themes
   (design NOTES.md §11) with the verdict colours of §5: Approve green, Decline red, Undo amber.
   Everything that moves moves by transform or opacity. The card's media and stepper are
   media-stage.js (review.css). */

/* A dark surface whatever the page's theme: the deck, the decline dialog over it, the zoom. */
.force-dark {
  color-scheme: dark;
  --bg: #262624;
  --bg-side: #1f1e1c;
  --surface: #30302d;
  --surface-2: #2c2b29;
  --surface-3: #3a3936;
  --bubble: #1b1a18;
  --stage: #0f0f0e;
  --scrim: rgba(0, 0, 0, 0.55);
  --ink: #f4f2ec;
  --ink-2: #cbc8be;
  --ink-3: #9d9a91;
  --ink-4: #75726a;
  --line: rgba(242, 236, 222, 0.09);
  --line-2: rgba(242, 236, 222, 0.15);
  --hover: rgba(242, 236, 222, 0.05);
  --press: rgba(242, 236, 222, 0.09);
  --accent: #d97757;
  --accent-hover: #e3876a;
  --accent-ink: #1b1a17;
  --accent-soft: rgba(217, 119, 87, 0.16);
  --focus: rgba(217, 119, 87, 0.6);
  --tone-ink-l: 0.84;
  --tone-ink-c: 0.1;
  --tone-dot-l: 0.74;
  --tone-dot-c: 0.14;
  --tone-fill-a: 0.17;
  --tone-edge-a: 0.3;
  --tone-solid-ink: #1b1a17;
  --shadow-1: 0 0 0 1px rgba(242, 236, 222, 0.08), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-2: 0 0 0 1px rgba(242, 236, 222, 0.08), 0 2px 4px rgba(0, 0, 0, 0.2), 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  --shadow-pop: 0 0 0 1px rgba(242, 236, 222, 0.1), 0 14px 32px -8px rgba(0, 0, 0, 0.55), 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  --img-outline: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

html.deck-open,
html.deck-open body {
  overflow: hidden;
}

.deck {
  /* the verdicts' colours on the dark ramp */
  --yes: oklch(var(--tone-dot-l) var(--tone-dot-c) var(--hue-green));
  --no: oklch(0.7 0.17 var(--hue-red));
  --wait: oklch(var(--tone-dot-l) var(--tone-dot-c) var(--hue-amber));
  position: fixed;
  inset: 0;
  z-index: 48; /* under overlay.js's dialogs (50 and up), over the page's sticky bars */
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  justify-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: rgba(15, 15, 14, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(0.7);
  backdrop-filter: blur(20px) saturate(0.7);
  outline: none;
  overscroll-behavior: contain;
  touch-action: manipulation;
  animation: deckin 240ms var(--ease-out);
}
@keyframes deckin {
  from {
    opacity: 0;
  }
}
.deck.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

/* the screen's tint from the side a verdict lies on */
.deck-wash {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
  will-change: opacity;
}
.deck.is-dragging .deck-wash {
  transition: none;
}
.deck-wash.is-yes {
  background: radial-gradient(90% 120% at 100% 50%, oklch(0.6 0.14 var(--hue-green) / 0.42), transparent 62%);
}
.deck-wash.is-no {
  background: radial-gradient(90% 120% at 0% 50%, oklch(0.6 0.18 var(--hue-red) / 0.42), transparent 62%);
}

/* ── the bar: close, what this is, how many are left ── */
.deck-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1100px, 100%);
  padding: 12px 16px 10px;
}
.deck-x {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transition-property: background-color, scale;
  transition-duration: var(--t-fast);
  transition-timing-function: var(--ease);
}
.deck-x:hover {
  background: rgba(255, 255, 255, 0.15);
}
.deck-x:active {
  scale: 0.96;
}
.deck-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.deck-title {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  font-weight: 450;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.deck-left {
  flex: none;
  color: var(--ink-3);
  font-size: var(--fs-14);
  font-variant-numeric: tabular-nums;
}
.deck-progress {
  position: relative;
  z-index: 2;
  width: min(1068px, calc(100% - 32px));
  height: 2px;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.deck-bar {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 420ms var(--ease-out);
}

/* ── the stage and its stack ── */
.deck-stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  padding: 16px 16px 12px;
}
.deck-stack {
  position: relative;
  display: grid;
  width: min(880px, 100%, max(380px, calc((100dvh - 330px) * 1.6)));
  height: 100%;
  max-height: 860px;
}
.deck-stack > .dk-card {
  grid-area: 1 / 1;
}

/* ── a card ── */
.dk-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--r-5);
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 30px 80px -24px rgba(0, 0, 0, 0.85);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: 50% 100%;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 320ms var(--ease);
  will-change: transform;
}
/* the card underneath: smaller, lower, dimmed */
.dk-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}
.dk-card.is-peek {
  z-index: 1;
  cursor: default;
  pointer-events: none;
  transform: translate3d(0, 14px, 0) scale(0.95);
}
.dk-card.is-peek::after {
  opacity: 0.5;
}
.dk-card.is-arriving {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.9);
}
.dk-card.is-first {
  animation: dkfirst 460ms var(--ease-out);
}
@keyframes dkfirst {
  from {
    opacity: 0;
    translate: 0 28px;
    scale: 0.96;
  }
}
.dk-card.is-drag,
.deck.is-dragging .dk-card.is-peek {
  transition: none;
}
.dk-card.is-drag {
  cursor: grabbing;
}
.dk-card.is-snap {
  transition: transform 560ms cubic-bezier(0.2, 1.35, 0.4, 1);
}
.dk-card.is-gone {
  z-index: 3;
  pointer-events: none;
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.25, 0.7, 0.35, 1), cubic-bezier(0.6, 0, 1, 1);
}

.dk-media {
  position: relative;
  min-height: 0;
  margin: 6px 6px 0;
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--stage);
}
.dk-media > .ms {
  position: absolute;
  inset: 0;
}
.dk-media[data-n]:not([data-n='0']):not([data-n='1']) {
  cursor: pointer;
}
.dk-card.is-drag .dk-media {
  cursor: grabbing;
}

/* the item on screen: its role and caption */
.dk-cap {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  background: rgba(20, 20, 18, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-12);
  pointer-events: none;
}
.dk-cap[hidden] {
  display: none;
}
.dk-role {
  flex: none;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
}
.dk-cap-t {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* the stamps: approve lands on the left as the card goes right, decline on the right */
.dk-stamp {
  position: absolute;
  top: 54px;
  z-index: 4;
  padding: 6px 14px 5px;
  border: 4px solid currentColor;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}
.dk-stamp.is-yes {
  left: 28px;
  color: var(--yes);
  rotate: -14deg;
}
.dk-stamp.is-no {
  right: 28px;
  color: var(--no);
  rotate: 14deg;
}
.dk-card.is-snap .dk-stamp,
.dk-card.is-gone .dk-stamp {
  transition-property: opacity, scale;
  transition-duration: 180ms;
  transition-timing-function: var(--ease), var(--ease-out);
}

/* the info strip */
.dk-info {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px 18px 16px;
}
.dk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dk-name {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 450;
  letter-spacing: -0.012em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dk-ver {
  flex: none;
  font-family: var(--font-serif);
  font-size: var(--fs-20);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.dk-sp {
  flex: 1;
}
.dk-chip {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-2);
  font-size: var(--fs-13);
  font-weight: 560;
  transition-property: background-color, color, scale;
  transition-duration: var(--t-fast);
  transition-timing-function: var(--ease);
}
.dk-chip::after {
  content: '';
  position: absolute;
  inset: -4px;
}
.dk-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}
.dk-chip:active {
  scale: 0.96;
}
.dk-chip[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.dk-chip.is-icon {
  justify-content: center;
  width: 32px;
  padding: 0;
}
.dk-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  color: var(--ink-3);
  font-size: var(--fs-13);
}
.dk-game {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 560;
}
.dk-changed {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-size: var(--fs-14);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}
.dk-changed b {
  color: var(--ink);
  font-weight: 650;
}
.dk-notes {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: oklch(var(--tone-ink-l) var(--tone-ink-c) var(--hue-amber));
  font-size: var(--fs-13);
}
.dk-notes b {
  flex: none;
  font-weight: 600;
}
.dk-note-t {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ── compare with the version before ── */
.dk-cmp {
  position: absolute;
  inset: 30px 0 0;
  z-index: 3;
  background: var(--stage);
}
.dk-card.is-cmp .dk-cap,
.dk-card.is-cmp .ms-zone,
.dk-card.is-cmp .ms-tools {
  display: none;
}
.dk-cmp-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.dk-cmp-layer > img,
.dk-cmp-layer > video,
.dk-cmp-box > img,
.dk-cmp-box > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.dk-cmp-layer.is-after {
  clip-path: inset(0 0 0 50%);
}
.dk-cmp-grip {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  margin-left: -22px;
  outline: none;
  cursor: ew-resize;
  touch-action: none;
}
.dk-cmp-grip::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}
.dk-cmp-grip i {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.dk-cmp-grip:focus-visible i {
  box-shadow:
    0 0 0 3px var(--focus),
    0 2px 12px rgba(0, 0, 0, 0.55);
}
.dk-cmp-tag {
  position: absolute;
  bottom: 12px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(20, 20, 18, 0.62);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 600;
  pointer-events: none;
}
.dk-cmp-tag.is-left {
  left: 12px;
}
.dk-cmp-tag.is-right {
  right: 12px;
}
.dk-cmp-modes {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  display: flex;
  padding: 3px;
  border-radius: var(--r-3);
  background: rgba(20, 20, 18, 0.62);
  translate: -50% 0;
}
.dk-seg {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-12);
  font-weight: 600;
  white-space: nowrap;
}
.dk-seg[aria-pressed='true'] {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.dk-cmp-sbs {
  position: absolute;
  inset: 52px 10px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dk-cmp-pane {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 6px;
  min-height: 0;
  margin: 0;
}
.dk-cmp-box {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--r-3);
  background: #0b0b0a;
}
.dk-cmp-box > img,
.dk-cmp-box > video {
  position: absolute;
  inset: 0;
}
.dk-cmp-pane figcaption {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-12);
  font-weight: 600;
  text-align: center;
}
.dk-cmp-missing {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  color: var(--ink-3);
  font-size: var(--fs-13);
  text-align: center;
}

/* ── the buttons ── */
.deck-acts {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 4px 16px 12px;
}
.deck-b {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--ink-3);
  transition: scale 200ms var(--ease-out);
}
.deck.is-dragging .deck-b {
  transition: none;
}
.deck-b-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 30px -10px rgba(0, 0, 0, 0.8);
  transition-property: background-color, color, scale;
  transition-duration: 140ms;
  transition-timing-function: var(--ease);
}
.deck-b-face .i {
  stroke-width: 2.25;
}
.deck-b.is-no .deck-b-face {
  color: var(--no);
}
.deck-b.is-yes .deck-b-face {
  color: var(--yes);
}
.deck-b.is-undo {
  margin-top: 10px;
}
.deck-b.is-undo .deck-b-face {
  width: 48px;
  height: 48px;
  color: var(--wait);
}
.deck-b:active:not(:disabled) .deck-b-face {
  scale: 0.96;
}
@media (hover: hover) {
  .deck-b.is-no:hover:not(:disabled) .deck-b-face {
    background: oklch(0.56 0.17 var(--hue-red));
    color: #fff;
  }
  .deck-b.is-yes:hover:not(:disabled) .deck-b-face {
    background: oklch(0.56 0.13 var(--hue-green));
    color: #fff;
  }
  .deck-b.is-undo:hover:not(:disabled) .deck-b-face {
    background: var(--surface-3);
  }
}
.deck-b:disabled {
  cursor: default;
  opacity: 0.32;
}
.deck-b-lbl {
  font-size: var(--fs-12);
  font-weight: 560;
}
.deck.is-empty .deck-b.is-no,
.deck.is-empty .deck-b.is-yes {
  visibility: hidden;
}
/* undo's ring runs down the five seconds a verdict waits */
.deck-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
  pointer-events: none;
}
.deck-ring circle {
  fill: none;
  stroke: var(--wait);
  stroke-width: 2.5;
  stroke-dasharray: 138.3;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  opacity: 0;
}
.deck-b.is-ticking:not(:disabled) .deck-ring circle {
  opacity: 1;
  animation: deckring 5000ms linear forwards;
  animation-delay: var(--ring-delay, 0ms);
}
@keyframes deckring {
  to {
    stroke-dashoffset: 138.3;
  }
}

.deck-keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  padding: 0 16px 14px;
  color: var(--ink-3);
  font-size: var(--fs-12);
}
.deck-keys kbd {
  margin-right: 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: var(--ink-2);
}

/* what was just done, for a moment */
.deck-said {
  position: absolute;
  top: calc(66px + env(safe-area-inset-top));
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  font-size: var(--fs-13);
  font-weight: 560;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  translate: -50% -8px;
  transition-property: opacity, translate;
  transition-duration: 200ms;
  transition-timing-function: var(--ease), var(--ease-out);
}
.deck-said span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.deck-said.is-on {
  opacity: 1;
  translate: -50% 0;
}
.deck-said[data-kind='approve'] .i {
  color: var(--yes);
}
.deck-said[data-kind='decline'] .i {
  color: var(--no);
}
.deck-said[data-kind='undo'] .i {
  color: var(--wait);
}

/* loading, failed, all caught up */
.deck-end {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
.deck-end[hidden] {
  display: none;
}
.deck-msg {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 420px;
  text-align: center;
  animation: dkfirst 460ms var(--ease-out);
}
.deck-msg h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-30);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.deck-msg p {
  color: var(--ink-2);
  font-size: var(--fs-15);
  text-wrap: pretty;
}
.deck-msg .deck-msg-sub {
  color: var(--ink-3);
  font-size: var(--fs-13);
}
.deck-end-ico {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: oklch(var(--tone-dot-l) var(--tone-dot-c) var(--hue-green) / var(--tone-fill-a));
  color: var(--yes);
}
.deck-end-ico.is-bad {
  background: oklch(var(--tone-dot-l) var(--tone-dot-c) var(--hue-red) / var(--tone-fill-a));
  color: var(--no);
}
.deck-end .btn {
  margin-top: 10px;
}
.deck-loading {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--ink-3);
}
.deck-spin {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: msspin 800ms linear infinite;
}

/* the decline dialog over the deck: overlay.js's dialog in the dark theme */
.dialog.force-dark {
  background: var(--surface);
}

/* ── phones: the card fills the screen, the buttons sit under the thumb ── */
@media (max-width: 640px) {
  .deck-top {
    padding: 8px 10px 8px;
  }
  .deck-title {
    font-size: var(--fs-17);
  }
  .deck-left {
    margin-left: auto;
  }
  .deck-head {
    flex: 1;
  }
  .deck-progress {
    width: calc(100% - 20px);
  }
  .deck-stage {
    padding: 10px 8px 6px;
  }
  .deck-stack {
    width: 100%;
    max-height: none;
  }
  .dk-card {
    border-radius: 18px;
  }
  .dk-media {
    border-radius: 12px;
  }
  .dk-info {
    gap: 4px;
    padding: 10px 14px 12px;
  }
  .dk-name {
    font-size: 19px;
  }
  .dk-ver {
    font-size: var(--fs-17);
  }
  .dk-facts {
    gap: 2px 12px;
    font-size: var(--fs-12);
  }
  .dk-changed {
    font-size: var(--fs-13);
  }
  .dk-chip:not(.is-icon) {
    justify-content: center;
    width: 32px;
    padding: 0;
  }
  .dk-chip:not(.is-icon) span {
    display: none;
  }
  .dk-stamp {
    top: 44px;
    padding: 4px 10px 3px;
    border-width: 3px;
    font-size: 26px;
  }
  .dk-stamp.is-yes {
    left: 18px;
  }
  .dk-stamp.is-no {
    right: 18px;
  }
  .dk-cmp-sbs {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .deck-acts {
    gap: 26px;
    padding: 6px 16px 10px;
  }
  .deck-b-face {
    width: 64px;
    height: 64px;
  }
  .deck-b-lbl {
    display: none;
  }
  .deck-b.is-undo {
    margin-top: 8px;
  }
  .deck-said {
    top: calc(58px + env(safe-area-inset-top));
  }
}
@media (max-width: 760px), (hover: none), (max-height: 620px) {
  .deck-keys {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dk-card,
  .deck-b,
  .deck-wash {
    transition-duration: 0.01ms !important;
  }
}
