@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Inter:wght@400;500;600;700&display=swap");
/* ============================================================
   ROYAL STYLE SETTINGS
   Change the values below. That is enough for colours, fonts,
   sizes and corner radius. Then save the snippet and refresh.
   ============================================================ */
:root {
  --royal-bg: #0b1020;
  --royal-bg-2: #151c33;
  --royal-panel: rgba(18, 24, 46, 0.92);
  --royal-gold: #d4af37;
  --royal-gold-2: #f3d77a;
  --royal-text: #f6f1e6;
  --royal-muted: #b7b0a0;
  --royal-danger: #c45c5c;
  --royal-ok: #3e8c6a;
  --royal-felt: #163325;
  --royal-card-face: #fbf7ef;
  --royal-card-back: #6e1b2a;
  --royal-card-red: #c0392b;
  --royal-card-black: #1b1b1b;
  --royal-font: "Inter", "Segoe UI", sans-serif;
  --royal-title-font: "Cinzel", "Times New Roman", serif;
  --royal-title-size: 72px;
  --royal-caption-size: 18px;
  --royal-ui-size: 16px;
  --royal-radius: 14px;
  --royal-card-w: 70px;
  --royal-card-h: 98px;
  --royal-card-radius: 10px;
  --royal-overlap: 22px;
  --royal-opp-overlap: 22px;
  --royal-raise: 34px;
  --royal-btn-h: 48px;
}

body.royal-active header,
body.royal-active footer,
body.royal-active .site-header,
body.royal-active .site-footer,
body.royal-active #masthead,
body.royal-active #colophon,
body.royal-active .wp-site-blocks > header,
body.royal-active .wp-site-blocks > footer,
body.royal-active header.wp-block-template-part,
body.royal-active footer.wp-block-template-part,
body.royal-active nav.wp-block-navigation,
body.royal-active .entry-header,
body.royal-active .entry-footer,
body.royal-active #wpadminbar {
  display: none !important;
}
body.royal-active {
  margin: 0 !important;
  background: var(--royal-bg) !important;
}
body.royal-active .wp-site-blocks,
body.royal-active .entry-content,
body.royal-active article,
body.royal-active .site-content,
body.royal-active .ast-container,
body.royal-active #content,
body.royal-active .site-main,
body.royal-active .wp-block-post-content,
body.royal-active .has-global-padding {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.royal-active .is-layout-constrained > * {
  max-width: none !important;
  margin-inline: 0 !important;
}
.royal-app, .royal-app * { box-sizing: border-box; }
.royal-app {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background:
    radial-gradient(1200px 700px at 50% -10%, #24315a 0%, transparent 55%),
    var(--royal-bg);
  color: var(--royal-text);
  font-family: var(--royal-font);
  font-size: var(--royal-ui-size);
  overflow: hidden;
}
.royal-screen {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.royal-title {
  font-family: var(--royal-title-font);
  font-size: var(--royal-title-size);
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  margin: 0 auto;
  color: var(--royal-gold);
  text-align: center;
  text-shadow: 0 2px 24px rgba(212, 175, 55, 0.25);
}
.royal-caption {
  margin: 8px auto 28px;
  color: var(--royal-muted);
  font-size: var(--royal-caption-size);
  letter-spacing: 0.12em;
  padding-left: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.royal-field {
  width: min(420px, 92vw);
  margin: 0 auto 14px;
  text-align: left;
}
.royal-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--royal-gold-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.royal-field select,
.royal-field input {
  width: 100%;
  height: var(--royal-btn-h);
  border-radius: var(--royal-radius);
  border: 1px solid rgba(212,175,55,0.35);
  background: var(--royal-panel);
  color: var(--royal-text);
  padding: 0 14px;
  font: inherit;
}
.royal-league-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  width: min(420px, 92vw);
}
.royal-league-row input { width: 100%; height: 44px; }
.royal-btn {
  height: var(--royal-btn-h);
  min-width: 180px;
  border: 0;
  border-radius: var(--royal-radius);
  background: linear-gradient(180deg, var(--royal-gold-2), var(--royal-gold));
  color: #1a1406;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-left: calc(14px + 0.08em);
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  touch-action: manipulation;
}
.royal-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.royal-btn.ghost {
  background: transparent;
  border: 1px solid rgba(212,175,55,0.45);
  color: var(--royal-gold);
}
.royal-error { color: var(--royal-danger); margin-top: 10px; min-height: 1.2em; text-align: center; }
.royal-list {
  width: min(520px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 16px;
}
.royal-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--royal-panel);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--royal-radius);
  padding: 12px 14px;
  text-align: left;
}
.royal-slot b { color: var(--royal-gold); }
.royal-copy {
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #2a3358;
  color: var(--royal-text);
  cursor: pointer;
  padding: 0 12px;
  touch-action: manipulation;
}
.royal-seat-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.royal-bot-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 220px;
}
.royal-bot-pick button {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #2a3358;
  color: var(--royal-text);
  padding: 0 10px;
  font-size: 12px;
  cursor: pointer;
}
.royal-bot-tag {
  color: var(--royal-gold);
  font-size: 12px;
  margin-right: 8px;
  white-space: nowrap;
}
.royal-waiting { color: var(--royal-muted); font-size: 14px; }

.royal-table {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, #1f4a33 0%, var(--royal-felt) 62%, #0b1a12 100%);
}
.royal-rankbar {
  position: absolute;
  top: 4px;
  left: 4px;
  transform: none;
  display: block;
  background: var(--royal-panel);
  border-radius: 8px;
  padding: 3px 4px;
  font-size: 9px;
  line-height: 1.2;
  z-index: 8;
  border: 1px solid rgba(212,175,55,0.25);
  max-width: 42vw;
}
.royal-leaguetable {
  border-collapse: collapse;
  color: var(--royal-text);
}
.royal-leaguetable th,
.royal-leaguetable td {
  padding: 1px 3px;
  text-align: center;
  font-weight: 600;
}
.royal-leaguetable th {
  color: var(--royal-gold);
  font-size: 8px;
  letter-spacing: 0.04em;
}
.royal-endwrap {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 8;
}
.royal-end-btn {
  min-width: 52px;
  height: 28px;
  margin: 0;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.royal-seat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.royal-seat.left,
.royal-seat.right {
  top: 18%;
  bottom: 26%;
  width: 64px;
  height: auto;
  transform: none;
  overflow: visible;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  --royal-side-fan: calc(
    (var(--royal-side-n, 10) - 1) * (var(--royal-card-w) * 0.72 - var(--royal-opp-overlap))
    + var(--royal-card-w) * 0.72
  );
}
.royal-seat.left {
  left: 10px;
  z-index: 2;
}
.royal-seat.top {
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: calc(100% - 132px);
  max-width: 640px;
  overflow: visible;
  gap: 2px;
}
.royal-seat.right {
  right: 10px;
  left: auto;
  z-index: 2;
}
.royal-seat.left .royal-name-row,
.royal-seat.right .royal-name-row {
  position: absolute;
  left: 50%;
  top: calc(42% + var(--royal-side-fan) / 2 + 8px);
  transform: translateX(-50%);
  z-index: 6;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}
.royal-seat.left .royal-name,
.royal-seat.right .royal-name {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  max-width: none;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}
.royal-seat.left .royal-stars,
.royal-seat.right .royal-stars {
  position: absolute;
  left: 50%;
  top: calc(42% + var(--royal-side-fan) / 2 + 24px);
  transform: translateX(-50%);
  z-index: 6;
}
.royal-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.royal-crowns {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}
.royal-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-left: 0.06em;
  text-transform: uppercase;
  color: var(--royal-gold-2);
  text-align: center;
  max-width: none;
  overflow: visible;
  white-space: nowrap;
}
.royal-name.turn {
  color: #fff;
  text-shadow: 0 0 12px var(--royal-gold);
  font-size: 14px;
  font-weight: 800;
}
.royal-stars {
  height: 18px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.royal-coin {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--royal-gold);
  border: 1.5px solid var(--royal-gold-2);
  box-shadow: 0 0 6px rgba(243, 215, 122, 0.55);
  color: #8a6a14;
  font-family: var(--royal-font);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 0;
}
.royal-hand {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: auto;
}
.royal-seat.bottom .royal-hand {
  flex-wrap: wrap;
  height: auto;
  max-height: none;
  justify-content: center;
  padding: calc(var(--royal-raise) + 6px) 8px 2px;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}
.royal-seat.left .royal-hand,
.royal-seat.right .royal-hand {
  position: absolute;
  top: 42%;
  left: 50%;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  height: calc(var(--royal-card-h) * 0.72);
  overflow: visible;
  margin: 0;
}
.royal-seat.left .royal-hand {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.royal-seat.right .royal-hand {
  transform: translate(-50%, -50%) rotate(90deg);
}
.royal-card {
  width: var(--royal-card-w);
  height: var(--royal-card-h);
  border-radius: var(--royal-card-radius);
  background: var(--royal-card-face);
  color: var(--royal-card-black);
  position: relative;
  margin-left: calc(var(--royal-overlap) * -1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
  user-select: none;
  flex: 0 0 auto;
  touch-action: none;
  cursor: grab;
  will-change: transform;
}
.royal-seat.top .royal-hand {
  flex-wrap: nowrap;
  width: 100%;
  overflow: visible;
  padding: 0 4px;
  box-sizing: border-box;
  height: calc(var(--royal-card-h) * 0.72 + 4px);
  align-items: flex-end;
}
.royal-seat.top .royal-card {
  margin-left: calc(var(--royal-opp-overlap) * -1);
}
.royal-hand .royal-card:first-child,
.royal-seat.top .royal-card:first-child,
.royal-seat.left .royal-card:first-child,
.royal-seat.right .royal-card:first-child { margin-left: 0; }
.royal-seat.left .royal-card,
.royal-seat.right .royal-card,
.royal-seat.top .royal-card {
  width: calc(var(--royal-card-w) * 0.72);
  height: calc(var(--royal-card-h) * 0.72);
}
.royal-seat.left .royal-card,
.royal-seat.right .royal-card {
  margin-left: calc(var(--royal-opp-overlap) * -1);
  margin-top: 0;
}
.royal-seat.left .royal-card.raised,
.royal-seat.right .royal-card.raised { transform: translateY(var(--royal-raise)); }
.royal-seat.top .royal-card.raised { transform: translateY(var(--royal-raise)); }
.royal-card.back {
  background:
    repeating-linear-gradient(45deg, #7a2233 0 8px, #5a1522 8px 16px);
  color: transparent;
  border: 2px solid var(--royal-gold);
}
.royal-card.raised { transform: translateY(calc(var(--royal-raise) * -1)); z-index: 3; box-shadow: 0 16px 26px rgba(0,0,0,0.45); }
.royal-card .r {
  position: absolute;
  top: 6px;
  left: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.royal-card .s {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 22px;
}
.royal-card.red { color: var(--royal-card-red); }
.royal-center {
  position: absolute;
  left: 50%;
  top: calc(var(--royal-card-h) * 0.72 + 52px);
  bottom: calc(var(--royal-card-h) * 2 + var(--royal-raise) + 140px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  text-align: center;
  width: min(340px, 78vw);
  z-index: 18;
  pointer-events: none;
  overflow: visible;
}
.royal-pile-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  max-height: 100%;
}
.royal-history {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
  max-height: 100%;
}
.royal-history-prev {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  align-self: center;
  overflow: visible;
  max-height: calc(100% - var(--royal-card-h) - 36px);
}
.royal-current-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 0;
  z-index: 2;
}
.royal-throw-name {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--royal-gold-2);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  max-width: 90px;
  text-align: center;
  position: relative;
  z-index: 3;
}
.royal-throw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.royal-throw-cards {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.royal-throw-cards .royal-card { margin-left: -28px; }
.royal-throw-cards .royal-card:first-child { margin-left: 0; }
.royal-throw.mini {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}
.royal-throw.mini .royal-throw-name {
  margin: 0;
  width: 2.8em;
  min-width: 2.8em;
  text-align: left;
  flex-shrink: 0;
}
.royal-throw.mini .royal-throw-cards,
.royal-hist-fan {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.royal-hist-fan .royal-mini-card,
.royal-throw.mini .royal-mini-card {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  width: 46px;
  height: 22px;
  min-width: 46px;
  max-width: 46px;
  min-height: 22px;
  flex: 0 0 46px;
  box-sizing: border-box;
  border-radius: 6px;
  background: var(--royal-card-face);
  color: var(--royal-card-black);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  position: relative;
  margin: 0 0 0 -16px;
  padding: 0 5px 0 4px;
  overflow: hidden;
}
.royal-hist-fan .royal-mini-card:first-child,
.royal-throw.mini .royal-mini-card:first-child { margin-left: 0; }
.royal-mini-card .r {
  position: static;
  top: auto;
  left: auto;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  min-width: 0;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.royal-mini-card .s {
  position: static;
  bottom: auto;
  left: auto;
  font-size: 12px;
  line-height: 1;
}
.royal-mini-card.red { color: var(--royal-card-red); }
.royal-throw.mini .royal-card {
  display: none;
}
.royal-throw.mini.slide-up {
  animation: royal-throw-up 0.4s ease-out;
}
@keyframes royal-throw-up {
  from { transform: translateY(22px); opacity: 0.35; }
  to { transform: translateY(0); opacity: 1; }
}
.royal-mini {
  font-size: 12px;
  font-weight: 700;
  color: var(--royal-card-black);
  background: rgba(251, 247, 239, 0.92);
  border-radius: 6px;
  padding: 2px 5px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.royal-mini.red { color: var(--royal-card-red); }
.royal-pile {
  min-height: var(--royal-card-h);
  display: flex;
  justify-content: center;
  align-items: center;
}
.royal-pile .royal-card { margin-left: -28px; }
.royal-pile .royal-card:first-child { margin-left: 0; }
.royal-cat {
  margin-top: 10px;
  color: var(--royal-gold);
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  min-height: 1.2em;
  text-align: center;
}
.royal-hint {
  margin-top: 2px;
  color: var(--royal-gold-2);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}
.royal-hint:empty { display: none; }
.royal-open {
  position: static;
  transform: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.royal-open .royal-card {
  margin-left: 0;
  width: calc(var(--royal-card-w) * 0.5);
  height: calc(var(--royal-card-h) * 0.5);
  border-radius: calc(var(--royal-card-radius) * 0.5);
}
.royal-open .royal-card .r {
  font-size: 14px;
  top: 3px;
  left: 4px;
}
.royal-open .royal-card .s {
  font-size: 12px;
  bottom: 3px;
  left: 4px;
}
.royal-open .royal-throw-name {
  color: #fff;
}
.royal-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 16;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 8px calc(6px + env(safe-area-inset-bottom, 0px));
  overflow: visible;
  background: none;
}
.royal-status,
.royal-you-stack {
  width: 100%;
  margin: 0 auto 2px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 8px;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.75);
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
.royal-you-line,
.royal-seat.bottom .royal-name-row {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.royal-you-stack .royal-status-turn,
.royal-you-stack .royal-status-meta,
.royal-you-stack .royal-hint,
.royal-you-stack .royal-name {
  width: 100%;
  text-align: center;
  letter-spacing: 0;
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
}
.royal-status-turn {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.royal-status-meta {
  color: var(--royal-gold);
  font-size: 12px;
  letter-spacing: 0;
  padding-left: 0;
  text-transform: uppercase;
  margin-top: 1px;
}
.royal-status-meta:empty { display: none; }
.royal-seat.bottom {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  z-index: 12;
  overflow: visible;
  padding: 0 4px;
  box-sizing: border-box;
  gap: 2px;
}
.royal-seat.bottom .royal-name-row {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.royal-seat.bottom .royal-name,
.royal-seat.bottom .royal-name.turn {
  font-size: 15px;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  text-align: center;
  width: 100%;
  display: block;
}
.royal-seat.bottom .royal-stars {
  display: flex;
  margin: 0;
  height: 18px;
  min-height: 18px;
}
.royal-actions {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
  z-index: 17;
}
.royal-actions .royal-btn {
  min-width: 0;
  flex: 1;
  max-width: 280px;
}
.royal-modal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.royal-modal-card {
  background: var(--royal-bg-2);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: var(--royal-radius);
  padding: 28px;
  width: min(420px, 92vw);
  text-align: center;
}
.royal-room {
  margin: 0 auto 12px;
  color: var(--royal-gold-2);
  letter-spacing: 0.12em;
  padding-left: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
}
.royal-card.dragging {
  cursor: grabbing;
  z-index: 8;
  box-shadow: 0 16px 28px rgba(0,0,0,0.45);
  transition: none;
}
.royal-name.passed { opacity: 0.55; }
@media (max-width: 800px) {
  :root {
    --royal-title-size: 42px;
    --royal-card-w: 44px;
    --royal-card-h: 64px;
    --royal-overlap: 20px;
    --royal-opp-overlap: 22px;
    --royal-raise: 26px;
    --royal-btn-h: 44px;
  }
  .royal-seat.left,
  .royal-seat.right {
    top: 16%;
    bottom: 24%;
    width: 60px;
    transform: none;
  }
  .royal-seat.top {
    top: 2px;
    width: calc(100% - 128px);
    max-width: none;
    gap: 2px;
  }
  .royal-name { font-size: 11px; }
  .royal-name.turn { font-size: 13px; }
  .royal-seat.left .royal-card,
  .royal-seat.right .royal-card { margin-top: 0; }
  .royal-center {
    top: calc(var(--royal-card-h) * 0.72 + 48px);
    bottom: calc(var(--royal-card-h) * 2 + var(--royal-raise) + 136px + env(safe-area-inset-bottom, 0px));
    width: min(320px, 78vw);
    justify-content: flex-end;
    overflow: visible;
  }
  .royal-status-turn { font-size: 14px; }
  .royal-status .royal-hint { font-size: 12px; }
  .royal-seat.bottom .royal-hand { max-height: none; }
  .royal-card .r { font-size: 13px; top: 4px; left: 5px; }
  .royal-card .s { font-size: 16px; bottom: 4px; left: 5px; }
  .royal-open .royal-card .r { font-size: 12px; top: 2px; left: 3px; }
  .royal-open .royal-card .s { font-size: 10px; bottom: 2px; left: 3px; }
  .royal-mini-card .r { font-size: 12px; }
  .royal-mini-card .s { font-size: 10px; }
}
