@font-face {
  font-family: 'DM Sans';
  src: url('../assets/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url('../assets/baskervville-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url('../assets/baskervville-latin-400-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4ebdd;
  --ink: #2b1b10;
  --green: #1f5e4b;
  --deep: #183e32;
  --muted: #6c6153;
  --line: #cdbda6;
  --orange: #e07a2e;
  --blue: #2e7fa8;
  --serif: Baskervville, Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.capture-note {
  display: block;
  color: #a62636;
  font-size: 14px;
  margin-top: 15px;
}
.guided.capture-line .guided-pit .bowl,
.guided .legal .bowl {
  animation: focus-glow 1.2s ease-in-out infinite alternate;
}
@keyframes focus-glow {
  from {
    outline: 2px solid #ffd23f;
  }
  to {
    outline: 3px solid #ffd23f;
    filter: brightness(1.13);
  }
}
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 39% 22%, #faf4e9 0, transparent 66%), var(--paper);
  font: 400 16px/1.5 var(--sans);
  min-height: 100vh;
}
body:before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.047;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.81' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.75' filter='url(%23n)'/%3E%3C/svg%3E");
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #2e7fa8;
  outline-offset: 3px;
}
.mast {
  background: var(--deep);
  color: #f4ebdd;
  box-shadow: 0 3px 0 #d2bb91;
}
.mast-inner,
.page {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}
.mast-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f7efdf;
  border: 0;
  background: transparent;
  font: 400 25px var(--serif);
  padding: 0;
  min-height: 44px;
}
.wordmark img {
  width: 34px;
  height: 34px;
}
.wordmark span {
  white-space: nowrap;
}
nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
nav button,
.text-btn,
.icon-btn {
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 550;
  min-height: 44px;
  padding: 0 12px;
}
nav button {
  color: #e9e4d7;
}
nav button:hover,
nav button.current {
  color: white;
  background: #ffffff0f;
  border-radius: 6px;
}
nav .sound-nav {
  border-left: 1px solid #ffffff2e;
  border-radius: 0;
  padding-left: 22px;
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 154px;
  padding: 18px 0 15px;
  overflow: hidden;
}
.hero h1 {
  font: 400 clamp(48px, 4.7vw, 72px)/1.04 var(--serif);
  letter-spacing: -0.06em;
  margin: 7px 0 0;
  color: #263c2f;
}
.hero h1 em {
  font-weight: 400;
}
.subtitle {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #745b3b;
  display: flex;
  gap: 12px;
  align-items: center;
}
.subtitle:before {
  content: '';
  width: 26px;
  height: 2px;
  background: #b46b35;
}
.coast {
  width: clamp(250px, 32%, 405px);
  height: 132px;
  object-fit: contain;
  align-self: flex-end;
  pointer-events: none;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 2.22fr) minmax(292px, 1fr);
  gap: 30px;
  align-items: start;
}
.table-area {
  min-width: 0;
}
#board {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ede0ca;
  padding: 0 16px;
  box-shadow:
    0 5px 15px #563a1e0e,
    0 1px 0 #fff9 inset;
}
.side-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 3px;
  height: 53px;
  color: #352e22;
}
.side-bar b {
  font-size: 16px;
  font-weight: 700;
}
.side-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: capitalize;
  border-left: 1px solid #bdac93;
  padding-left: 11px;
}
.side-token {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 2px solid #f5ecdf;
  box-shadow: 0 0 0 1px #5b54453d;
}
.side-1 .side-token,
.turn-token.side-1,
.mini-bowl.blue {
  background-color: var(--blue);
  background-image: repeating-linear-gradient(-42deg, transparent 0 3px, #c1d9dfbd 3.5px 5px);
}
.side-0 .side-token,
.turn-token.side-0 {
  background-color: #bc682b;
  background-image: radial-gradient(#ffdfad 1px, transparent 1.6px);
  background-size: 5px 5px;
}
.side-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  color: #594b39;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.total {
  font-weight: 650;
  color: #3e3428;
}
.front {
  padding-left: 12px;
  border-left: 1px solid #c2b49f;
}
.wood {
  isolation: isolate;
  position: relative;
  border: 3px solid #51331f;
  border-radius: 19px;
  padding: 18px clamp(10px, 1.3vw, 20px) 19px;
  background-image:
    url('../assets/wood.svg'), linear-gradient(110deg, #9a6943, #855433 37%, #97663e 70%, #82532e);
  background-size: cover;
  box-shadow:
    inset 0 0 0 2px #b1845a,
    inset 0 0 0 5px #764925,
    inset 0 -6px 8px #4229176b,
    0 4px 0 #533621,
    0 6px 7px #38261754;
}
.inlay {
  pointer-events: none;
  position: absolute;
  left: 14px;
  right: 14px;
  height: 7px;
  opacity: 0.72;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='7' viewBox='0 0 24 7'%3E%3Cpath d='M0 3.5 5 1l5 2.5L5 6zM12 3.5l5-2.5 5 2.5L17 6z' fill='none' stroke='%23d5ac76' stroke-width='1'/%3E%3Cpath d='M3 3.5h4m8 0h4' stroke='%235c3820'/%3E%3C/svg%3E")
    repeat-x;
}
.inlay.top {
  top: 5px;
}
.inlay.bottom {
  bottom: 5px;
}
.board-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  border-radius: 10px;
  isolation: isolate;
}
.board-row + .board-row {
  margin-top: 3px;
}
.board-row.guided-row {
  background-color: #e9913c22;
  box-shadow: inset 0 0 0 1px #e9b36f70;
}
.board-row.guided-row:before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 10px;
  background: radial-gradient(#ffce8c8a 0.8px, transparent 1px);
  background-size: 7px 7px;
}
.pit {
  position: relative;
  aspect-ratio: 1.13;
  width: 100%;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  min-width: 0;
  isolation: isolate;
  color: white;
  border-radius: 50%;
}
.bowl {
  position: relative;
  width: 87%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    ellipse at 52% 71%,
    #624024 0%,
    #4a2c17 54%,
    #3e2515 71%,
    #2b1b10 100%
  );
  border: 2px solid #412818;
  box-shadow:
    inset 1px 3px 4px #26170999,
    inset 0 -2px 0 #a0734877,
    0 1.8px 0 #d8a46b,
    0 0 0 2px #704529;
  transition: box-shadow 0.16s;
}
.inside {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.count {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  background: #2b1b10;
  color: #fffdf3;
  min-width: 22px;
  height: 21px;
  line-height: 21px;
  text-align: center;
  font-size: 16px;
  border-radius: 7px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.empty .count {
  color: #c2ad94;
}
.pit:hover .bowl {
  outline: 1px solid #edc688;
  outline-offset: 1px;
}
.pit.legal .bowl,
.pit.chosen .bowl {
  box-shadow:
    0 0 0 3px #ffd23f,
    0 0 9px #ffcc3580,
    inset 1px 3px 4px #26170999;
}
.pit.chosen .bowl {
  outline: 2px dashed #fff3b6;
  outline-offset: 4px;
}
.pit.history .bowl {
  outline: 2px dashed #ebc193;
  outline-offset: 1px;
}
.wood .kichwa {
  position: absolute;
  top: -2%;
  left: calc(50% - 4px);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #efd4a0;
  filter: drop-shadow(0 1px #45301e);
}
.kimbi {
  position: absolute;
  width: 23%;
  height: 2px;
  border-radius: 3px;
  bottom: 0;
  background: #e3c49a;
  box-shadow: 0 1px #4a2c17;
}
.seam {
  height: 13px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e3c49a;
  font-size: 7px;
}
.seam:before,
.seam:after {
  content: '';
  height: 2px;
  flex: 1;
  background: #523019;
  box-shadow: 0 1px 0 #c89463;
}
.seam i {
  padding: 0 6px;
  font-style: normal;
}
.direction .token {
  position: absolute;
  display: grid;
  place-items: center;
  width: max(44px, 57%);
  aspect-ratio: 1;
  background: #ffd23f;
  color: #3b2614;
  border: 2px solid #4e321a;
  border-radius: 50%;
  font: bold 28px/1 var(--sans);
  box-shadow: 0 2px 4px #311d1655;
}
.point-here:after {
  content: '↓';
  position: absolute;
  top: -22px;
  right: 5px;
  font: bold 32px var(--sans);
  color: #fff1a3;
  text-shadow: 1px 1px 2px #382515;
  animation: bob 0.7s infinite alternate;
  pointer-events: none;
}
.pick .bowl,
.kichwa-pulse .bowl,
.loop-now .bowl,
.guided.capture-line .guided-pit .bowl {
  outline: 3px solid #ffd23f;
}
.loop-now:after {
  content: attr(data-loop-arrow);
  position: absolute;
  color: #ffd23f;
  font-weight: 700;
  top: 1%;
  right: 0;
}
.capture-line .pit[data-side='1'][data-i='4']:after {
  content: '';
  position: absolute;
  width: 2px;
  height: 45%;
  background: #ffd23f;
  bottom: -31%;
  z-index: 2;
}
.capture .bowl {
  outline: 4px solid #d7263d;
}
.drop .seeds > g:last-child .kernel {
  animation: drop 0.16s ease-in-out;
}
.flying-seed {
  position: fixed;
  width: 16px;
  height: 11px;
  background: #e9d8a6;
  border: 1px solid #3b2614;
  border-radius: 55% 42%;
  pointer-events: none;
  z-index: 8;
}
.shake .bowl {
  animation: shake 0.15s;
}
.legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 19px 4px 0;
  gap: 18px;
}
.legend-item {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.44;
  color: #675a48;
}
.legend-item strong {
  display: block;
  color: #473c2c;
  font-size: 14px;
  margin-bottom: 2px;
}
.legend-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #cdbda5;
  border-radius: 6px;
  color: #85663c;
}
.legend-icon i {
  width: 12px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}
.legend-icon b {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid currentColor;
}
#panel {
  background: #faf5eb;
  border: 1px solid #cfbea5;
  border-radius: 13px;
  box-shadow: 0 4px 13px #553b2209;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 59px;
  padding: 14px 24px;
  border-bottom: 1px solid #d9cbb7;
  background: #f2e9d9;
  color: var(--deep);
  font-weight: 680;
  font-size: 16px;
}
.panel-head svg {
  width: 20px;
}
.panel-body {
  padding: 24px;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d604a;
}
.steps {
  display: flex;
  gap: 5px;
  margin: 11px 0 22px;
}
.steps i {
  height: 5px;
  flex: 1;
  background: #dfd5c2;
  border-radius: 1px;
}
.steps i.done {
  background: var(--green);
}
.mini {
  display: grid;
  place-items: center;
  position: relative;
  padding: 14px 0;
  background: #efe7d6;
  border: 1px solid #ddd0b9;
  border-radius: 8px;
  overflow: hidden;
}
.diagram {
  width: clamp(128px, 67%, 174px);
  border: 1.6px solid #8e7958;
  border-radius: 9px;
  padding: 6px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #e0d1b5;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 #b5a487;
}
.diagram-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  padding: 1px 3px;
  border: 1px solid transparent;
}
.diagram-row:nth-child(2) {
  border-bottom-color: #b1a28c;
}
.diagram-row i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c8baa0;
  box-shadow: inset 0 1px 0 #978970;
  border: 1px solid #b1a184;
}
.diagram-row.lit {
  background: #e8bb84;
  border-radius: 4px;
}
.diagram-row.lit i,
.diagram-row i.lit {
  background: #be773b;
  border-color: #9b6439;
  box-shadow: inset 0 1px 0 #86582e;
}
.lesson {
  font: 400 clamp(23px, 1.72vw, 27px)/1.28 var(--serif);
  letter-spacing: -0.035em;
  margin: 22px 0 24px;
}
.lesson .tap {
  font: 400 15px/1.5 var(--sans);
  letter-spacing: normal;
  color: var(--muted);
  display: block;
  margin-top: 10px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.actions > * {
  flex: 1;
}
.primary,
.secondary,
.choice,
.menu-item {
  min-height: 46px;
  border-radius: 7px;
  font: 600 15px/1.3 var(--sans);
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  box-shadow: 0 2px 0 #174635;
}
.primary:hover {
  background: #174b3b;
}
.secondary,
.choice,
.menu-item {
  background: #fcf8ef;
  color: #374939;
  border: 1px solid #c8bba6;
}
.secondary:hover,
.choice:hover,
.menu-item:hover {
  background: #ece3d2;
}
.secondary:disabled {
  opacity: 0.4;
}
.panel-end {
  display: flex;
  justify-content: center;
  margin: 16px 0 -7px;
}
.text-btn {
  color: #625744;
}
.text-btn:hover {
  text-decoration: underline;
}
.menu-items {
  display: grid;
  gap: 9px;
}
.menu-item {
  justify-content: flex-start;
}
.menu-item svg {
  color: var(--green);
}
.full {
  width: 100%;
}
.setup-label {
  font-size: 14px;
  font-weight: 650;
  margin: 19px 0 7px;
}
.setup-label:first-child {
  margin-top: 0;
}
.choices {
  display: flex;
  gap: 5px;
}
.choice {
  flex: 1;
  padding: 9px;
}
.choice[aria-pressed='true'] {
  background: #dfebe0;
  border-color: #426c55;
  color: #214e3d;
}
.hint,
.status,
.dialog-copy {
  color: var(--muted);
  font-size: 15px;
}
.setup-list {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}
.setup-list .choice {
  justify-content: flex-start;
}
.setup-list .choice[aria-pressed='true']:before {
  content: '✓';
}
.hud-turn {
  font: 400 32px/1.2 var(--serif);
  letter-spacing: -0.04em;
  margin: 14px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.turn-token {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
}
.hud-note {
  min-height: 56px;
  color: #564733;
  margin: 12px 0 8px;
}
.hud-msg {
  background: #eee5d4;
  border-left: 3px solid #ad8552;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 14px;
  min-height: 44px;
}
.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tool-row button {
  flex: 1;
  padding: 8px;
  font-size: 14px;
}
.tool-row .active {
  background: #dfebe0;
  border-color: #69866d;
}
.result-title {
  font: 400 35px/1.1 var(--serif);
  color: var(--deep);
  margin: 0 0 10px;
}
footer {
  margin: 24px 0 14px;
  text-align: center;
}
.footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer-rule i {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.footer-rule img {
  width: 19px;
  height: 19px;
  filter: brightness(0.65) sepia(0.4);
}
footer .text-btn {
  min-height: 44px;
  font-size: 13px;
}
dialog {
  max-width: min(470px, calc(100vw - 28px));
  width: 100%;
  background: #faf5eb;
  color: var(--ink);
  border: 1px solid #ad9674;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 22px 80px #251a125c;
}
dialog::backdrop {
  background: #1f231c78;
  backdrop-filter: blur(2px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1e7d5;
  border-bottom: 1px solid var(--line);
  padding: 12px 22px;
}
.dialog-head h2 {
  font: 400 28px var(--serif);
  margin: 0;
}
.dialog-content {
  padding: 22px;
}
.dialog-content p:first-child {
  margin-top: 0;
}
.dialog-content .primary {
  margin-top: 12px;
}
.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.option-row .choice {
  min-width: 70px;
  flex: 0 0 auto;
}
.dialog-content .menu-items .primary {
  margin: 0;
}
input.share {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
  margin-bottom: 10px;
}
.file-warning {
  padding: 40px;
}
@keyframes drop {
  from {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
@keyframes bob {
  to {
    transform: translateY(-5px);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 166px;
  }
}
@media (max-width: 1020px) {
  .mast-inner,
  .page {
    width: calc(100% - 48px);
  }
  .layout {
    gap: 18px;
    grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
  }
  #board {
    padding: 0 10px;
  }
  .panel-body {
    padding: 18px;
  }
  .panel-head {
    padding: 12px 18px;
  }
  .side-stats {
    gap: 7px;
  }
  .front {
    padding-left: 7px;
  }
  .bowl {
    width: 88%;
  }
  .hero {
    min-height: 132px;
  }
  .coast {
    height: 113px;
  }
}
@media (max-width: 800px) {
  .mast-inner,
  .page {
    width: calc(100% - 32px);
  }
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    min-height: 114px;
  }
  .coast {
    height: 96px;
  }
  .panel-body {
    padding: 18px 20px;
  }
  .tutorial-panel .panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .tutorial-panel .mini {
    grid-column: 1;
    grid-row: 2/5;
  }
  .tutorial-panel .lesson {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0 0 12px;
  }
  .tutorial-panel .actions {
    grid-column: 2;
  }
  .tutorial-panel .panel-end {
    grid-column: 2;
  }
  .tutorial-panel .steps {
    margin: 7px 0 12px;
  }
  .legend {
    margin-top: 16px;
  }
  .wordmark {
    font-size: 22px;
  }
}
@media (max-width: 540px) {
  .mast-inner {
    width: calc(100% - 24px);
    min-height: 56px;
    gap: 4px;
  }
  .wordmark {
    gap: 6px;
    font-size: 20px;
  }
  .wordmark img {
    width: 28px;
    height: 28px;
  }
  nav {
    gap: 0;
  }
  nav button {
    width: 44px;
    padding: 0;
  }
  nav span {
    display: none;
  }
  nav .sound-nav {
    padding-left: 4px;
  }
  .page {
    width: calc(100% - 16px);
  }
  .hero {
    padding: 12px 4px;
    min-height: 87px;
  }
  .hero h1 {
    font-size: 43px;
    margin-top: 3px;
  }
  .subtitle {
    font-size: 9px;
    letter-spacing: 0.1em;
    gap: 5px;
  }
  .subtitle:before {
    width: 12px;
  }
  .coast {
    width: 31%;
    height: 64px;
  }
  .layout {
    gap: 12px;
  }
  #board {
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
  }
  .side-bar {
    height: 41px;
    padding: 0 5px;
    gap: 7px;
  }
  .side-bar b {
    font-size: 14px;
  }
  .side-label,
  .side-stats {
    font-size: 12px;
  }
  .side-label {
    padding-left: 7px;
  }
  .side-token {
    width: 17px;
    height: 17px;
  }
  .wood {
    border-width: 2px;
    border-radius: 12px;
    padding: 10px 0 11px;
  }
  .board-row {
    gap: 1px;
  }
  .pit {
    aspect-ratio: 1.02;
    min-height: 44px;
  }
  .bowl {
    width: 85%;
    border-width: 1.5px;
  }
  .count {
    bottom: 0;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    border-radius: 5px;
  }
  .inlay {
    height: 4px;
    left: 7px;
    right: 7px;
  }
  .inlay.top {
    top: 3px;
  }
  .inlay.bottom {
    bottom: 3px;
  }
  .seam {
    height: 7px;
  }
  .board-row + .board-row {
    margin-top: 1px;
  }
  .wood .kichwa {
    border-left-width: 3px;
    border-right-width: 3px;
    border-bottom-width: 4px;
    top: 0;
  }
  .kimbi {
    height: 1px;
  }
  .legend {
    margin: 10px 4px 0;
    gap: 10px;
  }
  .legend-item {
    grid-template-columns: 22px 1fr;
    gap: 5px;
    font-size: 12px;
    line-height: 1.3;
  }
  .legend-item strong {
    font-size: 13px;
  }
  .legend-icon {
    width: 22px;
    height: 22px;
  }
  .tutorial-panel .panel-body {
    display: block;
    padding: 14px 16px;
  }
  .tutorial-panel .mini {
    float: right;
    width: 103px;
    padding: 10px 4px;
    margin: 4px 0 7px 12px;
  }
  .diagram {
    width: 86%;
    padding: 4px;
    gap: 1px;
    border-radius: 5px;
  }
  .diagram-row {
    gap: 1px;
    padding: 0 2px;
  }
  .tutorial-panel .lesson {
    font-size: 21px;
    margin: 12px 0 16px;
    min-height: 63px;
  }
  .lesson .tap {
    font-size: 13px;
    margin-top: 3px;
  }
  .tutorial-panel .actions {
    clear: both;
  }
  .tutorial-panel .steps {
    margin-bottom: 8px;
  }
  .panel-head {
    min-height: 43px;
    padding: 8px 16px;
    font-size: 14px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .panel-end {
    margin: 4px 0 -8px;
  }
  .legend-item .desc {
    display: none;
  }
  .legend-item:focus-within .desc,
  .legend-item:hover .desc {
    display: block;
  }
  .legend-item {
    min-height: 44px;
    align-items: center;
  }
  .hero .coast {
    max-width: 138px;
  }
  footer {
    margin-top: 17px;
  }
}
@media (max-width: 375px) {
  .page {
    width: calc(100% - 8px);
  }
  .hero h1 {
    font-size: 37px;
  }
  .side-label {
    display: none;
  }
  .wordmark {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .flying-seed {
    display: none;
  }
}
