:root {
  --felt: #0f6b52;
  --felt-2: #0a4b3d;
  --ink: #18211f;
  --muted: #6e7b76;
  --line: #d7e0dc;
  --paper: #fbfdfc;
  --panel: #ffffff;
  --gold: #d5a847;
  --rose: #b73957;
  --blue: #326fba;
  --red: #c73038;
  --shadow: 0 18px 50px rgba(16, 42, 34, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #eef5f1;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  grid-template-columns: auto auto;
  gap: 18px;
  color: white;
  background:
    radial-gradient(circle at 20% 10%, rgba(213, 168, 71, 0.25), transparent 28rem),
    linear-gradient(135deg, var(--felt), var(--felt-2));
}

.splash h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.splash p {
  margin: 8px 0 0;
  opacity: 0.82;
}

.brand-mark,
.logo-preview {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--gold);
  color: #222;
  font-weight: 900;
  font-size: 25px;
  overflow: hidden;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}

.brand-mark img,
.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.app-shell {
  min-height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand h1 {
  margin: 0;
  font-size: 1.16rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  list-style: none;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-button::after {
  content: "⌄";
  font-size: 0.8rem;
}

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 132px;
  padding: 6px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.user-menu-panel button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 800;
}

.user-menu-panel button:hover {
  background: #eef5f1;
}

.page {
  width: min(1540px, calc(100vw - 20px));
  margin: 14px auto 56px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(320px, 1fr);
  background: linear-gradient(135deg, #f8fbfa 0%, #eaf3ee 62%, #f6efd9 100%);
}

.auth-panel {
  padding: clamp(28px, 6vw, 64px);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.auth-scene {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(rgba(11, 79, 62, 0.72), rgba(11, 79, 62, 0.72)),
    repeating-linear-gradient(60deg, #16684f 0 20px, #125a46 20px 40px);
}

.table-glow {
  width: min(66vw, 640px);
  aspect-ratio: 1.55;
  border: 18px solid rgba(213, 168, 71, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(9, 76, 59, 0.88));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

.mini-card {
  position: absolute;
  width: 64px;
  aspect-ratio: 0.72;
  border-radius: 7px;
  background: white;
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  animation: float-card 3.5s ease-in-out infinite;
}

.mini-card:nth-child(2) {
  top: 20%;
  left: 25%;
  transform: rotate(-14deg);
}

.mini-card:nth-child(3) {
  right: 22%;
  bottom: 24%;
  color: #111;
  transform: rotate(12deg);
  animation-delay: 0.6s;
}

.mini-card:nth-child(4) {
  left: 45%;
  bottom: 18%;
  color: var(--blue);
  transform: rotate(4deg);
  animation-delay: 1.1s;
}

@keyframes float-card {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

.tabs,
.segmented {
  display: flex;
  gap: 6px;
  padding: 5px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.tab,
.segment {
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.tab.active,
.segment.active {
  color: white;
  background: var(--felt);
}

.form {
  display: grid;
  gap: 14px;
}

.create-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.compact-label {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 700;
}

input,
select {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--felt);
  box-shadow: 0 0 0 3px rgba(15, 107, 82, 0.12);
}

.btn {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 7px;
  color: var(--ink);
  background: #e8eeeb;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.primary {
  color: white;
  background: var(--felt);
}

.btn.gold {
  color: #201709;
  background: var(--gold);
}

.btn.danger {
  color: white;
  background: var(--rose);
}

.btn.icon {
  width: 42px;
  padding: 0;
}

.stack {
  display: grid;
  gap: 18px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(238px, 292px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.panel,
.game-card,
.user-row,
.status-row,
.rules-grid,
.table-area {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(32, 63, 54, 0.08);
}

.panel {
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--gold);
  color: #222;
  font-weight: 900;
  font-size: 23px;
  overflow: hidden;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}

.panel-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title h2,
.panel-title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

.notice {
  padding: 12px 14px;
  border: 1px solid #f0d78e;
  border-radius: 7px;
  background: #fff8df;
  color: #694f12;
}

.game-list,
.admin-list {
  display: grid;
  gap: 12px;
}

.game-card {
  padding: 15px;
  display: grid;
  gap: 12px;
}

.game-card header,
.status-row,
.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-card h3 {
  margin: 0;
  font-size: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.waiting {
  background: var(--felt);
}

.badge.dealing,
.badge.calling {
  background: var(--gold);
  color: #2b2109;
}

.badge.bury {
  background: var(--rose);
}

.badge.play {
  background: var(--blue);
}

.table-area {
  position: relative;
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.13), transparent 36rem),
    linear-gradient(145deg, #0e7657, #09503f);
  color: white;
}

.table-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.table-header h2 {
  margin: 0;
  font-size: 1.2rem;
  white-space: nowrap;
}

.table-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.table-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.table-meta span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.host-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.host-tools select {
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.voice-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
}

.voice-tools .btn {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.start-deal-btn {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
}

.play-submit {
  box-shadow: 0 0 0 2px rgba(248, 212, 117, 0.35);
}

.voice-tools.active {
  background: rgba(213, 168, 71, 0.2);
}

.score-adjust {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
}

.score-adjust span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  font-size: 0.82rem;
}

.score-adjust input {
  width: 60px;
  min-height: 28px;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.score-adjust .btn,
.host-tools .btn {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.player-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.player-name {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-team {
  color: #bd1e2d;
}

.idle-team {
  color: #111820;
}

.player-name.active {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 168, 71, 0.22);
}

.player-list.reorderable .player-name {
  cursor: grab;
  touch-action: none;
}

.player-list.reorderable .player-name::before {
  content: "↕";
  margin-right: 5px;
  opacity: 0.68;
}

.player-name.dragging {
  opacity: 0.52;
}

.player-name.drag-over {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 168, 71, 0.25);
}

.play-zone {
  min-height: 112px;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.played-row,
.call-log,
.score-list,
.friend-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.info-line strong {
  flex: 0 0 auto;
}

.play-chip,
.call-chip,
.score-chip {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.call-chip {
  background: #fff6d8;
}

.friend-chip {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--ink);
  background: #f3fbff;
  font-weight: 800;
}

.friend-chip.found {
  color: #bd1e2d;
  background: #ffe9ed;
}

.friend-chip.red-suit {
  color: var(--red);
}

.team-score {
  background: #f8d475;
}

.score-board {
  display: grid;
  gap: 7px;
  width: 100%;
}

.score-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.call-status {
  padding: 5px 8px;
  border-radius: 999px;
  color: #251b08;
  background: #ffe8a8;
  font-weight: 900;
}

.score-chip.dealer-team,
.team-score.dealer-team {
  color: #bd1e2d;
}

.score-chip.idle-team,
.team-score.idle-team {
  color: #111820;
}

.score-role {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  border-radius: 999px;
  color: white;
  background: #bd1e2d;
  font-size: 0.74rem;
}

.played-row {
  align-items: flex-start;
}

.played-row.compact .played-set {
  padding: 6px;
}

.played-set {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.played-name {
  font-size: 0.82rem;
  font-weight: 900;
}

.next-player {
  padding: 4px 8px;
  border-radius: 999px;
  color: #1b251f;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.bottom-success,
.round-report {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 9px;
  border-radius: 8px;
  color: #251b08;
  background: #ffe8a8;
}

.round-report {
  background: #e7f5ff;
}

.report-area {
  color: white;
}

.report-panel {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.report-panel h3 {
  margin: 8px 0 0;
}

.report-list {
  display: grid;
  gap: 8px;
}

.report-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.record-view {
  overflow: hidden;
}

.record-sheet {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.record-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 900;
}

.record-summary span {
  padding: 7px 9px;
  border-radius: 7px;
  background: #eef5f1;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0.94rem;
}

.record-table th,
.record-table td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.record-table th {
  background: #0f6b52;
  color: white;
}

.played-cards,
.selected-preview {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.hand-dock {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
}

.hand-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hand-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: min(100%, 420px);
}

.selected-preview {
  min-height: 54px;
  justify-content: flex-end;
}

.selected-empty {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.friend-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.friend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.friend-row span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.friend-row select,
.friend-row input {
  min-height: 36px;
}

.friend-row input {
  width: 70px;
}

.hand-board {
  display: grid;
  gap: 9px;
}

.hand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 82px;
}

.hand {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 76px;
  align-items: flex-end;
}

.hand-empty {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 800;
}

.card {
  width: 58px;
  height: 82px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid #cfd5dc;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 243, 0.98)),
    white;
  color: #17191a;
  display: block;
  position: relative;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.86),
    inset 0 0 0 4px rgba(20, 34, 46, 0.06),
    0 7px 13px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  user-select: none;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(26, 37, 48, 0.12);
  border-radius: 4px;
  pointer-events: none;
}

.card.red {
  color: var(--red);
}

.card.joker {
  color: #15191d;
}

.card.bigJoker {
  color: var(--red);
}

.card.smallJoker {
  color: #15191d;
}

.card.interactive:hover {
  transform: translateY(-6px);
}

.card.selected {
  transform: translateY(-14px);
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.9),
    0 16px 25px rgba(0, 0, 0, 0.25),
    0 0 0 3px rgba(213, 168, 71, 0.35);
}

.card.small {
  width: 42px;
  height: 60px;
  border-radius: 6px;
  font-size: 0.76rem;
}

.card.static {
  cursor: default;
}

.corner {
  position: absolute;
  left: 5px;
  display: grid;
  justify-items: center;
  line-height: 0.9;
  font-size: 0.96rem;
  z-index: 2;
}

.corner.top {
  top: 6px;
}

.corner.bottom {
  right: 5px;
  bottom: 6px;
  left: auto;
  transform: rotate(180deg);
}

.face {
  position: absolute;
  inset: 0 8px;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.simple-suit {
  font-size: 2.08rem;
  line-height: 1;
}

.joker-word {
  position: absolute;
  left: 50%;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translate(-50%, -50%);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.joker-rank {
  position: absolute;
  bottom: 4px;
  right: 3px;
  font-size: 1rem;
}

.joker-star {
  font-size: 2.05rem;
  line-height: 1;
}

.card.small .corner {
  left: 3px;
  font-size: 0.74rem;
}

.card.small .corner.bottom {
  right: 3px;
  left: auto;
}

.card.small .face {
  inset: 0 4px;
}

.card.small .simple-suit {
  font-size: 1.3rem;
}

.card.small .joker-star {
  font-size: 1.28rem;
}

.card.dealt {
  animation: deal-in 220ms ease both;
}

@keyframes deal-in {
  from {
    transform: translateY(-18px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.actions-row,
.inline-form,
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}

.compact-input {
  width: 118px;
  min-height: 38px;
}

.rules-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 14px;
}

.rules-grid .wide {
  grid-column: 1 / -1;
}

.switch-field {
  align-content: start;
}

.toggle-line {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.toggle-line input,
.rank-option input {
  min-height: auto;
  width: 16px;
  height: 16px;
  padding: 0;
}

.rank-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rank-option {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7faf8;
  font-weight: 900;
}

.user-row,
.status-row {
  padding: 12px;
}

.user-meta {
  display: grid;
  gap: 2px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  max-width: min(92vw, 520px);
  padding: 11px 14px;
  border-radius: 7px;
  color: white;
  background: rgba(20, 26, 24, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 40;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 880px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-scene {
    min-height: 240px;
    order: -1;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .brand h1 {
    font-size: 1.1rem;
  }

  .logo-preview,
  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .table-area {
    min-height: 430px;
    padding: 12px;
  }

  .table-header {
    flex-direction: column;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .card {
    width: 46px;
    height: 66px;
  }

  .corner {
    left: 4px;
    font-size: 1rem;
  }

  .corner.top {
    top: 5px;
  }

  .corner.bottom {
    right: 4px;
    bottom: 5px;
  }

  .simple-suit {
    font-size: 1.58rem;
  }

  .joker-star {
    font-size: 1.55rem;
  }

  .card.small .corner {
    font-size: 0.8rem;
  }

  .card.small .simple-suit,
  .card.small .joker-star {
    font-size: 1.18rem;
  }

  .hand-row {
    grid-template-columns: 1fr;
    min-height: 72px;
  }

  .hand {
    min-height: 66px;
  }
}
