:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f0f2e9;
  background: #101716;
  font-synthesis: none;
  --lime: #d4f56a;
  --muted: #91a49b;
  --line: #2a3833;
  --panel: #17211e;
  --red: #ec816c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 38%, #223c2d55, transparent 65%), #101716;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
button {
  border: 1px solid var(--line);
  border-radius: 9px;
  color: inherit;
  background: #1d2a24;
  padding: 13px 18px;
  min-height: 46px;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s;
}
button:hover:not(:disabled) {
  background: #304032;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 1.02;
}
h1 {
  font-size: clamp(48px, 6.8vw, 88px);
  margin-bottom: 24px;
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 10px;
}
.wordmark {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.wordmark span {
  color: var(--lime);
}
.wordmark i {
  height: 15px;
  width: 5px;
  background: var(--lime);
  margin-left: 8px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.connection {
  font-size: 12px;
  color: var(--muted);
}
.connection:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 7px;
}
.quiet,
.icon-button {
  background: transparent;
  border-color: transparent;
}
.quiet {
  font-size: 13px;
}
.quiet span {
  color: var(--lime);
  margin-left: 10px;
}
.icon-button {
  padding: 8px 12px;
  min-width: 44px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.19em;
  color: var(--lime);
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.home {
  max-width: 1170px;
  margin: 0 auto;
  padding: 70px 28px 35px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.hero .eyebrow {
  display: block;
  margin-bottom: 25px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  max-width: 390px;
  color: #a8b8ae;
  font-size: 17px;
  line-height: 1.6;
}
.hero-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  height: 180px;
  margin: 26px 0 15px;
  position: relative;
}
.demo-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #d4f56a80, #d4f56a);
  position: relative;
  text-align: center;
}
.demo-line span {
  position: absolute;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  top: -32px;
  color: var(--lime);
  letter-spacing: 0.18em;
  font-size: 10px;
}
.hero-demo .card:first-child {
  transform: rotate(-8deg);
}
.hero-demo .card:last-child {
  transform: rotate(8deg);
}
.hero-footer {
  display: flex;
  gap: 25px;
  color: #7d9486;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  margin-top: 30px;
}
.entry-panel {
  border: 1px solid #3b4a35;
  background: linear-gradient(145deg, #233025, #17211d);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 25px 80px #0003;
  position: relative;
}
.entry-panel:before {
  content: "";
  height: 3px;
  background: var(--lime);
  width: 42px;
  position: absolute;
  top: -2px;
  left: 30px;
}
.entry-panel .eyebrow {
  color: #9db292;
}
.entry-panel h3 {
  font-size: 26px;
  margin: 13px 0 26px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  font-size: 12px;
  color: #c0c9bd;
  margin-bottom: 9px;
}
input,
select {
  width: 100%;
  border: 1px solid #40513e;
  background: #101914;
  color: #f0f2e9;
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 14px;
}
input::placeholder {
  color: #6d826f;
}
input.code {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #172016;
}
.primary:hover:not(:disabled) {
  background: #e1ff87;
}
.full {
  width: 100%;
}
.button-row {
  display: flex;
  gap: 9px;
  align-items: center;
}
.button-row > * {
  flex: 1;
}
.join-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}
.divider {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #6f846f;
  font-size: 10px;
  letter-spacing: 0.15em;
  margin: 24px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #3a4b36;
  flex: 1;
}
.practice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #293727;
  border-color: #4a5e3b;
  width: 100%;
  margin-top: 15px;
  font-size: 14px;
}
.practice span {
  color: var(--lime);
}
.watch {
  display: block;
  margin: 9px auto 0;
  color: #9bab95;
  font-size: 12px;
}
.entry-note {
  text-align: center;
  margin: 22px 0 0;
  font-size: 11px;
  color: #91a18a;
}
.home-bottom {
  max-width: 1114px;
  margin: 15px auto 40px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mini-rule {
  display: flex;
  gap: 15px;
}
.mini-rule > span {
  color: #688166;
  font-size: 13px;
  padding-top: 3px;
}
.mini-rule b {
  font-size: 13px;
}
.mini-rule p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 0;
}
.room-shell {
  max-width: 1150px;
  margin: 0 auto;
  padding: 25px;
}
.room-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 10px;
}
.room-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.room-code {
  letter-spacing: 0.15em;
  font-size: 16px;
  background: #243120;
  border-color: #405032;
  color: var(--lime);
}
.room-meta {
  color: var(--muted);
  font-size: 12px;
}
.lobby-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  max-width: 850px;
  margin: 55px auto;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 26px;
}
.panel h2 {
  font-size: 34px;
  margin: 15px 0 24px;
}
.seat-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.seat-row:last-child {
  border-bottom: 0;
}
.avatar {
  height: 39px;
  width: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #304132;
  color: #d6e7c8;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid #4c6048;
}
.seat-row .name {
  flex: 1;
  font-size: 14px;
}
.badge {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.seat-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.empty-seat {
  color: #657d6d;
}
.empty-seat .avatar {
  background: transparent;
  border-style: dashed;
}
.setting {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
}
.setting b {
  font-size: 13px;
}
.setting small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 4px;
}
.setting input[type="checkbox"] {
  width: 22px;
  min-height: 22px;
  accent-color: var(--lime);
}
.setting select {
  width: 110px;
  font-size: 13px;
}
.table-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
}
.table-main {
  min-width: 0;
}
.players {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-bottom: 25px;
}
.player {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 9px;
  flex: 1;
  min-width: 0;
  background: #17211e;
  text-align: center;
}
.player.active {
  border-color: var(--lime);
  background: #2b3824;
  box-shadow: 0 0 25px #d4f56a08;
}
.player .avatar {
  margin: 0 auto 8px;
  height: 30px;
  width: 30px;
  font-size: 11px;
}
.player .pname {
  font-size: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 7px;
}
.player .score {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.05em;
}
.player .score small {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.player .pdetail {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.6;
}
.player.active:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: calc(50% - 4px);
  height: 8px;
  width: 8px;
  transform: rotate(45deg);
  background: var(--lime);
}
.arena {
  border: 1px solid #344734;
  background: radial-gradient(ellipse, #28473150, #1a2a2150 70%);
  border-radius: 20px;
  min-height: 320px;
  padding: 25px 20px 20px;
  position: relative;
  overflow: hidden;
}
.arena:before,
.arena:after {
  position: absolute;
  content: "";
  width: 40px;
  height: 40px;
  border-color: #496343;
  border-style: solid;
  opacity: 0.4;
  top: 45%;
}
.arena:before {
  border-width: 1px 0 1px 1px;
  left: 18px;
}
.arena:after {
  border-width: 1px 1px 1px 0;
  right: 18px;
}
.arena-stats {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9daf94;
}
.arena-stats b {
  color: #e3e9d7;
  font-size: 15px;
  letter-spacing: 0;
}
.gates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, var(--gap), 220px);
  transition: gap 0.5s cubic-bezier(0.3, 0.8, 0.2, 1);
  margin: 32px 0 20px;
}
.card {
  width: 88px;
  height: 125px;
  border-radius: 9px;
  background: #f0efdf;
  border: 1px solid #fff7;
  color: #18251e;
  box-shadow: 0 7px 15px #0003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 9px 11px;
  position: relative;
  font-weight: 750;
  flex-shrink: 0;
}
.card .rank {
  font-size: 25px;
  line-height: 1;
}
.card .suit {
  font-size: 31px;
  align-self: center;
}
.card .corner {
  font-size: 13px;
  align-self: flex-end;
  transform: rotate(180deg);
}
.card.red {
  color: #b84435;
}
.card.back {
  background: repeating-linear-gradient(
    45deg,
    #293d30,
    #293d30 5px,
    #344a36 5px,
    #344a36 6px
  );
  color: #d4f56a66;
  border: 3px double #597047;
  align-items: center;
  justify-content: center;
  font-size: 35px;
}
.gap-readout {
  text-align: center;
  color: #bfd4ac;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  min-height: 27px;
}
.gap-readout.danger {
  color: var(--lime);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.16em;
}
.rank-track {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 10px auto 0;
}
.rank-track span {
  height: 20px;
  min-width: 17px;
  font-size: 9px;
  color: #547052;
  display: grid;
  place-items: center;
  border-radius: 3px;
}
.rank-track .open {
  color: #e0f5bc;
  background: #a7d27020;
}
.rank-track .gate {
  border: 1px solid #65834f;
  color: #a7c78b;
}
.turn-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 2px 10px;
  font-size: 13px;
}
.turn-line strong {
  color: var(--lime);
}
.timer {
  font-variant-numeric: tabular-nums;
  color: #c4d5b6;
  font-size: 12px;
}
.timer-track {
  height: 3px;
  background: #25352a;
  border-radius: 3px;
  margin-bottom: 19px;
  overflow: hidden;
}
.timer-track > i {
  display: block;
  height: 100%;
  background: var(--lime);
  width: 100%;
  transition: width 0.3s linear;
}
.hand-area {
  text-align: center;
  min-height: 215px;
}
.hand-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 14px;
}
.hand {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.hand .card {
  cursor: pointer;
  width: 93px;
  height: 130px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.hand .card.selected {
  transform: translateY(-9px);
  outline: 3px solid var(--lime);
  box-shadow: 0 10px 30px #d4f56a20;
}
.hand .card.legal:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #638728;
  position: absolute;
  right: 9px;
  top: 10px;
}
.hand .card.illegal {
  opacity: 0.45;
}
.move-controls {
  margin: 18px auto 0;
  max-width: 460px;
}
.move-controls .button-row button {
  font-size: 12px;
}
.move-controls .preview {
  display: block;
  color: var(--lime);
  font-size: 17px;
  margin-top: 5px;
}
.hint {
  font-size: 12px;
  color: #a8bb9d;
  margin: 12px 0;
  line-height: 1.5;
}
.press-option {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin: 15px 0;
}
.press-option input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--lime);
}
.special {
  color: var(--lime);
  border-color: #627640;
  background: #2d3a23;
}
.log-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #151e1a;
  align-self: start;
  padding: 21px 18px;
}
.log-panel h3 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.event-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 490px;
  overflow: auto;
}
.event-log li {
  font-size: 11px;
  line-height: 1.7;
  color: #91a98f;
  border-left: 1px solid #334831;
  padding: 0 0 18px 13px;
  position: relative;
}
.event-log li:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #55764b;
  position: absolute;
  left: -3px;
  top: 6px;
}
.event-log li.gaplock,
.event-log li.pair,
.event-log li.press {
  color: var(--lime);
}
.event-log li.collect {
  color: #dfa28c;
}
.emotes {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 18px;
}
.emotes button {
  font-size: 19px;
  padding: 7px;
  min-width: 36px;
  background: transparent;
  border-color: transparent;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #6e876f;
  margin-top: 20px;
}
.press-banner {
  background: #d4f56a15;
  border: 1px solid #718646;
  color: var(--lime);
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  text-align: center;
  margin: 15px 0;
}
.result {
  max-width: 730px;
  margin: 35px auto;
}
.result h2 {
  font-size: 47px;
  margin: 15px 0;
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}
.score-table th {
  text-align: left;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  padding: 12px 8px;
}
.score-table td {
  border-top: 1px solid var(--line);
  padding: 17px 8px;
  font-size: 14px;
}
.score-table .winner {
  color: var(--lime);
}
.score-table td:last-child {
  font-weight: 750;
}
.result details {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 15px 0;
}
.result summary {
  cursor: pointer;
  padding: 10px 0;
}
.mini-cards {
  line-height: 2.5;
  word-spacing: 7px;
  color: #cfdbbf;
}
.loading {
  max-width: 480px;
  margin: 100px auto;
  text-align: center;
  padding: 20px;
}
.loading h2 {
  font-size: 36px;
}
.spinner {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--lime);
  margin: 0 auto 25px;
  animation: spin 1s linear infinite;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  max-width: 90vw;
  padding: 13px 20px;
  background: #e3f3cc;
  color: #162414;
  border-radius: 9px;
  box-shadow: 0 10px 35px #0005;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  z-index: 10;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
dialog {
  color: #eaf0df;
  background: #19271e;
  border: 1px solid #485c3e;
  border-radius: 17px;
  padding: 27px;
  max-width: 530px;
  width: calc(100% - 30px);
  max-height: 90vh;
}
dialog::backdrop {
  background: #050b08cc;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.rules-list {
  list-style: none;
  counter-reset: rules;
  padding: 0;
}
.rules-list li {
  position: relative;
  padding-left: 34px;
  margin: 25px 0;
  counter-increment: rules;
}
.rules-list li:before {
  content: counter(rules, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--lime);
  font-size: 11px;
  top: 2px;
}
.rules-list b {
  font-size: 15px;
}
.rules-list p,
.callout p {
  color: #a6b59c;
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0;
}
.rule-example {
  font-size: 23px;
  color: #ecf6d3;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px;
  background: #253521;
  border-radius: 8px;
}
.rule-example span {
  font-size: 11px;
  color: var(--lime);
}
.callout {
  border: 1px solid #4a603c;
  padding: 17px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.callout b {
  font-size: 14px;
}
.flash {
  animation: flash 0.65s ease-out;
}
@keyframes flash {
  0% {
    box-shadow: inset 0 0 80px #d4f56a50;
  }
  100% {
    box-shadow: inset 0 0 0 transparent;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  .home {
    gap: 35px;
    padding-top: 50px;
  }
  .home-bottom {
    margin-left: 28px;
    margin-right: 28px;
  }
  .table-layout {
    grid-template-columns: 1fr;
  }
  .log-panel {
    margin-top: 15px;
  }
  .event-log {
    max-height: 150px;
  }
  .log-panel h3 {
    margin-bottom: 15px;
  }
  .lobby-layout {
    margin: 25px auto;
    gap: 16px;
  }
  .table-footer {
    margin-top: 10px;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 65px;
    padding: 0 18px;
  }
  .wordmark {
    font-size: 21px;
  }
  .header-right {
    gap: 0;
  }
  .connection {
    display: none;
  }
  .quiet {
    padding: 10px;
    font-size: 11px;
  }
  .home {
    display: block;
    padding: 35px 22px 24px;
  }
  .hero h1 {
    font-size: 50px;
    margin-bottom: 16px;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero p {
    font-size: 14px;
    max-width: 300px;
    margin-bottom: 12px;
  }
  .hero-demo {
    position: absolute;
    right: 24px;
    top: 211px;
    width: 98px;
    height: 75px;
    opacity: 0.8;
  }
  .hero-demo .card {
    width: 39px;
    height: 56px;
    padding: 4px;
    border-radius: 4px;
  }
  .hero-demo .card .rank {
    font-size: 13px;
  }
  .hero-demo .card .suit {
    font-size: 16px;
  }
  .hero-demo .card .corner {
    font-size: 7px;
  }
  .demo-line span {
    display: none;
  }
  .hero-footer {
    margin: 20px 0 26px;
    gap: 17px;
    font-size: 9px;
  }
  .entry-panel {
    padding: 25px;
  }
  .entry-panel h3 {
    font-size: 23px;
    margin-bottom: 20px;
  }
  .home-bottom {
    display: block;
    margin: 0 22px 25px;
    padding: 10px 0;
  }
  .mini-rule {
    margin: 19px 0;
  }
  .room-shell {
    padding: 17px 13px;
  }
  .room-bar {
    margin-bottom: 17px;
  }
  .room-title {
    gap: 8px;
  }
  .room-meta {
    font-size: 10px;
  }
  .room-code {
    padding: 9px 12px;
    min-height: 40px;
    font-size: 14px;
  }
  .lobby-layout {
    display: block;
    margin: 20px auto;
  }
  .lobby-layout .panel {
    margin-bottom: 16px;
    padding: 22px;
  }
  .players {
    gap: 5px;
    margin-bottom: 16px;
  }
  .player {
    padding: 10px 3px;
    border-radius: 8px;
  }
  .player .avatar {
    height: 25px;
    width: 25px;
    font-size: 9px;
    margin-bottom: 6px;
  }
  .player .pname {
    font-size: 10px;
  }
  .player .score {
    font-size: 19px;
  }
  .player .score small {
    font-size: 8px;
  }
  .player .pdetail {
    font-size: 8px;
  }
  .arena {
    min-height: 270px;
    padding: 18px 13px 15px;
    border-radius: 15px;
  }
  .arena:before {
    left: 8px;
  }
  .arena:after {
    right: 8px;
  }
  .gates {
    margin: 25px 0 18px;
    gap: min(var(--gap), 125px);
  }
  .gates .card {
    width: 74px;
    height: 106px;
  }
  .arena-stats {
    font-size: 9px;
  }
  .gap-readout {
    font-size: 10px;
  }
  .rank-track span {
    min-width: 16px;
    font-size: 8px;
  }
  .rank-track {
    gap: 3px;
  }
  .turn-line {
    font-size: 12px;
    margin-top: 15px;
  }
  .hand .card {
    width: 86px;
    height: 118px;
  }
  .hand-area {
    min-height: 200px;
  }
  .hand-label {
    margin-bottom: 13px;
  }
  .move-controls .button-row button {
    padding: 12px 8px;
    font-size: 11px;
  }
  .emotes {
    margin-top: 12px;
  }
  .result {
    margin: 20px 0;
  }
  .result h2 {
    font-size: 38px;
  }
  .result.panel {
    padding: 23px 17px;
  }
  .score-table td {
    font-size: 12px;
  }
  .score-table th {
    font-size: 9px;
  }
  .table-footer {
    font-size: 9px;
  }
  .header-right .icon-button {
    min-width: 35px;
    padding: 8px;
  }
  .entry-note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.card-ledger {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 15px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.card-ledger summary {
  cursor: pointer;
  color: #bfcca8;
}
.card-ledger p {
  margin: 14px 0;
  word-spacing: 4px;
}
.card-ledger b {
  word-spacing: normal;
  color: #d1dbc4;
}
