@font-face {
  font-family: "Mahjong Symbols";
  src: url("/assets/fonts/NotoSansSymbols2-Mahjong.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --cream-50: var(--brand-ivory, #f7f2e7);
  --cream-100: #fbf6eb;
  --cream-200: #f1e7d5;
  --cream-300: var(--brand-sand, #e9dab9);
  --ink: var(--brand-ink, #17211d);
  --ink-soft: #5a665f;
  --jade-900: var(--brand-jade-deep, #073f34);
  --jade-800: var(--brand-jade, #0b5d4b);
  --jade-700: #0d654e;
  --jade-600: #157a5e;
  --jade-100: var(--brand-mist, #e2eee9);
  --jade-50: #eef8f3;
  --coral-700: #99362f;
  --coral-600: var(--brand-cinnabar, #c7443a);
  --coral-100: #f8dfd9;
  --coral-50: #fff2ee;
  --plum-800: #563249;
  --plum-700: #6d3e5d;
  --plum-100: #eedee9;
  --gold-700: #76500d;
  --gold-600: var(--brand-gold, #e7a93b);
  --gold-200: #efd69a;
  --gold-100: #f8e9bf;
  --gold-50: #fff8e5;
  --white: #fff;
  --danger: #7d2929;
  --danger-deep: #501a20;
  --line: rgba(36, 53, 47, 0.14);
  --shadow-sm: 0 4px 14px rgba(52, 47, 36, 0.07);
  --shadow-md: 0 14px 38px rgba(52, 47, 36, 0.11);
  --shadow-tile: 0 3px 0 #d5c6ae, 0 6px 12px rgba(45, 38, 29, 0.11);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1040px;
  --header-height: 82px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 9% 3%, rgba(239, 214, 154, 0.2), transparent 24rem),
    var(--cream-50);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  text-wrap: balance;
}

h1,
h2,
h3 {
  color: var(--jade-900);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 13px;
  font-size: clamp(2.25rem, 5vw, 3.9rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 9px;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid #edab30;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--white);
  padding: 9px 13px;
  color: var(--jade-900);
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(7, 63, 52, 0.1);
  background: rgba(255, 253, 248, 0.92);
  padding: 8px max(18px, calc((100vw - var(--content)) / 2));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mobile-copy,
.footer-brand > div {
  min-width: 0;
}

.brand-mobile-copy strong,
.footer-brand strong {
  display: block;
  color: var(--jade-900);
  font-size: 0.92rem;
  line-height: 1.15;
}

.brand-mobile-copy small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  line-height: 1.2;
}

.brand-logo {
  width: 218px;
  height: auto;
}

.brand-mark,
.brand-mobile-copy {
  display: none;
}

.top-anchor {
  position: absolute;
  top: 0;
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 32px), var(--content));
  min-height: 500px;
  margin: 18px auto 12px;
  overflow: hidden;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(13, 101, 78, 0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--white), var(--cream-100));
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow-md);
}

.hero__copy,
.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 13px;
  gap: 6px;
}

.eyebrow span,
.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--jade-100);
  padding: 5px 9px;
  color: var(--jade-800);
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 56ch;
  margin-bottom: 19px;
  color: #47574f;
  font-size: clamp(0.93rem, 1.35vw, 1.04rem);
}

.print-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 17px;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.print-button:hover {
  transform: translateY(-1px);
}

.hero__note {
  max-width: 62ch;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.hero__visual {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 23px;
  background: linear-gradient(145deg, var(--jade-800), var(--jade-900));
  padding: 20px;
  color: var(--white);
  box-shadow: 0 24px 45px rgba(7, 63, 52, 0.25);
}

.hero__visual-label {
  position: relative;
  margin-bottom: 15px;
  color: var(--gold-100);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-hand,
.complete-hand__groups {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.mini-set {
  display: flex;
  align-items: end;
  gap: 2px;
}

.mini-set--eye {
  margin-left: 3px;
}

.hero-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 17px;
  gap: 4px;
}

.hero-equation span {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 5px;
  color: var(--gold-100);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.hero-equation b {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
}

.hero__win-note {
  margin: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
}

.hero__win-note strong {
  color: var(--gold-100);
}

.quick-facts {
  display: grid;
  width: min(calc(100% - 32px), 930px);
  margin: 0 auto 14px;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quick-facts div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts strong {
  color: var(--jade-800);
  font-size: 1rem;
  line-height: 1.1;
}

.quick-facts span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.64rem;
  line-height: 1.25;
}

main {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.guide-section {
  min-width: 0;
  margin: 10px 0;
  border: 1px solid rgba(36, 53, 47, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(28px, 4.5vw, 50px);
  box-shadow: 0 2px 0 rgba(36, 53, 47, 0.025);
}

.guide-section--intro {
  background: linear-gradient(145deg, #fff, var(--gold-50));
}

.guide-section--tint {
  background: var(--jade-50);
}

.guide-section--jade {
  border-color: var(--jade-800);
  background:
    radial-gradient(circle at 88% 8%, rgba(239, 214, 154, 0.15), transparent 24rem),
    var(--jade-900);
  color: rgba(255, 255, 255, 0.84);
}

.guide-section--danger {
  border-color: var(--danger-deep);
  background:
    radial-gradient(circle at 90% 0, rgba(239, 214, 154, 0.11), transparent 22rem),
    linear-gradient(145deg, #6f2428, var(--danger-deep));
  color: rgba(255, 255, 255, 0.84);
}

.section-heading {
  max-width: 730px;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.section-heading p:last-child {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-heading--light h2,
.guide-section--jade h3,
.guide-section--danger h3 {
  color: var(--white);
}

.section-heading--light p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.setup-details {
  margin: 8px 0 10px;
  overflow: hidden;
  border: 1px solid var(--gold-200);
  border-radius: 15px;
  background: var(--gold-50);
  box-shadow: 0 2px 0 rgba(36, 53, 47, 0.025);
}

.setup-details summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  gap: 12px;
  color: var(--jade-900);
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}

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

.setup-details summary::after {
  flex: 0 0 auto;
  color: var(--coral-700);
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.setup-details[open] summary::after {
  content: "−";
}

.setup-details summary small {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.63rem;
  font-weight: 650;
}

.setup-details__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gold-200);
  padding: 11px;
  gap: 8px;
}

.setup-details__body article {
  min-width: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.82);
  padding: 11px;
}

.setup-details__body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--jade-900);
  font-size: 0.75rem;
}

.setup-details__body p {
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.round-basics {
  display: grid;
  margin-bottom: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.round-basics article {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  padding: 12px;
  gap: 9px;
}

.round-basics article > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--gold-100);
  color: var(--jade-900);
  font-size: 0.82rem;
  font-weight: 900;
}

.round-basics h3 {
  margin: 1px 0 4px;
  color: var(--white);
  font-size: 0.75rem;
}

.round-basics p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.61rem;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--coral-700);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading--light .section-kicker,
.guide-section--danger .section-kicker,
.guide-section--jade .section-kicker {
  color: var(--gold-200);
}

.two-column,
.setup-grid,
.payout-cards,
.source-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.soft-card,
.rule-lock-card,
.wall-card,
.wind-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-sm);
}

.rule-lock-card {
  background: var(--jade-800);
  color: rgba(255, 255, 255, 0.82);
}

.rule-lock-card h3 {
  color: var(--white);
}

.rule-lock-card a {
  color: var(--gold-100);
  font-size: 0.76rem;
  font-weight: 750;
}

.rule-lock-card__label {
  margin-bottom: 6px;
  color: var(--gold-200);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  margin: 15px 0 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-list li > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--jade-100);
  color: var(--jade-800);
  font-size: 0.67rem;
  font-weight: 900;
}

.settings-list {
  margin: 13px 0 16px;
}

.settings-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 7px 0;
  gap: 10px;
}

.settings-list dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.settings-list dd {
  margin: 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.note {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px 16px;
  gap: 11px;
}

.note__icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  font-weight: 900;
}

.note strong {
  display: block;
  margin-bottom: 2px;
}

.note p {
  margin: 0;
  font-size: 0.76rem;
}

.note--gold {
  border-color: var(--gold-200);
  background: var(--gold-50);
}

.note--gold .note__icon {
  background: var(--gold-100);
  color: var(--gold-700);
}

.note--coral {
  border-color: #efb5aa;
  background: var(--coral-50);
}

.note--coral .note__icon {
  background: var(--coral-100);
  color: var(--coral-700);
}

.note--dark,
.note--dark-red {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.13);
  color: rgba(255, 255, 255, 0.8);
}

.note--dark strong,
.note--dark-red strong {
  color: var(--white);
}

.note--dark .note__icon,
.note--dark-red .note__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-100);
}

.tile-count-equation,
.win-formula,
.fan-ladder {
  display: flex;
  min-width: 0;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 18px;
  gap: 7px;
}

.tile-count-equation > div {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  padding: 10px 7px;
  text-align: center;
}

.tile-count-equation > b {
  align-self: center;
  color: var(--coral-600);
}

.tile-count-equation strong {
  color: var(--jade-800);
  font-size: 1.2rem;
  line-height: 1;
}

.tile-count-equation span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  line-height: 1.2;
}

.tile-count-equation .tile-count-total {
  border-color: var(--jade-700);
  background: var(--jade-800);
}

.tile-count-equation .tile-count-total strong,
.tile-count-equation .tile-count-total span {
  color: var(--white);
}

.suit-stack {
  display: grid;
  gap: 11px;
}

.suit-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 17px;
}

.suit-card__heading,
.bonus-card__header,
.wall-card__header,
.wind-card__header,
.cheat-sheet__header {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 14px;
}

.suit-card__heading > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.suit-card__heading h3,
.suit-card__heading p,
.bonus-card__header h3,
.bonus-card__header p,
.wall-card__header h3,
.wind-card__header h3,
.wind-card__header p {
  margin: 0;
}

.suit-card__heading h3 small,
.honor-card h3 small,
.bonus-card h3 small,
.animal-card h3 small {
  color: var(--ink-soft);
  font-size: 0.7em;
  font-weight: 650;
}

.suit-card__heading p {
  color: var(--ink-soft);
  font-size: 0.68rem;
  white-space: nowrap;
}

.suit-dot {
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--jade-600);
  box-shadow: 0 0 0 4px var(--jade-100);
}

.suit-card--circles .suit-dot {
  background: var(--coral-600);
  box-shadow: 0 0 0 4px var(--coral-100);
}

.suit-card--millions .suit-dot {
  background: var(--plum-700);
  box-shadow: 0 0 0 4px var(--plum-100);
}

.tile-row {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(3px, 0.7vw, 7px);
}

.mj-tile {
  position: relative;
  display: inline-flex;
  min-width: 0;
  aspect-ratio: 0.73;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1d4c1;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #fffaf1);
  color: var(--ink);
  box-shadow: var(--shadow-tile);
  overflow: hidden;
}

.tile-glyph {
  display: block;
  font-family: "Mahjong Symbols", "Noto Sans Symbols 2", sans-serif;
  font-size: clamp(2.25rem, 8vw, 7.2rem);
  font-weight: 400;
  line-height: 1;
  transform: scale(1.04);
}

.mj-tile > small {
  position: absolute;
  right: 3px;
  bottom: 1px;
  color: #6d766f;
  border-radius: 3px;
  background: rgba(255, 253, 248, 0.86);
  padding: 0 2px;
  font-family: inherit;
  font-size: 0.52rem;
  font-weight: 750;
}

.mj-tile--red {
  color: #b9342d;
}

.mj-tile--green {
  color: var(--jade-700);
}

.mj-tile--mini {
  width: 41px;
  aspect-ratio: 0.72;
  flex: 0 0 auto;
  border-radius: 6px;
}

.mj-tile--mini .tile-glyph {
  font-size: 2.55rem;
}

.mj-tile--tiny {
  width: 32px;
  aspect-ratio: 0.72;
  flex: 0 0 auto;
  border-radius: 5px;
}

.mj-tile--tiny .tile-glyph {
  font-size: 1.95rem;
}

.mj-tile--micro {
  width: 24px;
  aspect-ratio: 0.72;
  flex: 0 0 24px;
  border-radius: 5px;
}

.mj-tile--micro .tile-glyph {
  font-size: 1.5rem;
  transform: none;
}

.mj-tile--named {
  display: grid;
  width: 68px;
  min-height: 92px;
  aspect-ratio: auto;
  flex: 0 0 68px;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: visible;
  padding: 5px 3px 6px;
}

.mj-tile--named .tile-glyph {
  align-self: center;
  font-size: 3rem;
  transform: none;
}

.mj-tile--named > small {
  position: static;
  display: block;
  width: 100%;
  overflow: visible;
  background: transparent;
  padding: 0;
  font-size: 0.5rem;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.honor-grid {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.honor-card,
.bonus-card,
.animal-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 18px;
}

.honor-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px;
}

.honor-card__copy p:last-child,
.animal-card__copy p:last-child {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.pill {
  margin-bottom: 8px;
}

.pill--plum {
  background: var(--plum-100);
  color: var(--plum-800);
}

.pill--red,
.pill--coral {
  background: var(--coral-100);
  color: var(--coral-700);
}

.pill--gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.pill--cream {
  background: var(--cream-200);
  color: var(--jade-900);
}

.named-tile-row {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  gap: 5px;
}

.named-tile-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bonus-card,
.animal-card {
  margin-top: 12px;
}

.bonus-card__header > p {
  max-width: 430px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.bonus-pairs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bonus-pair {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  border-radius: 13px;
  background: var(--cream-100);
  padding: 10px 7px 13px;
  gap: 8px 4px;
}

.seat-number {
  grid-column: 1 / -1;
  color: var(--jade-800);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
}

.animal-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 22px;
  background: linear-gradient(110deg, var(--white), var(--jade-50));
}

.animal-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.animal-tile {
  display: flex;
  min-width: 0;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cream-300);
  border-radius: 14px;
  background: var(--white);
  padding: 9px 5px;
  text-align: center;
  box-shadow: 0 4px 0 var(--cream-200);
}

.animal-tile > span {
  font-size: 2rem;
  line-height: 1;
}

.animal-tile strong {
  margin-top: 7px;
  color: var(--jade-900);
  font-size: 0.76rem;
}

.animal-tile small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.55rem;
  line-height: 1.2;
}

.win-formula {
  flex-wrap: wrap;
  align-items: center;
}

.win-formula > div {
  display: flex;
  min-width: 90px;
  flex: 1 1 90px;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px;
  text-align: center;
}

.win-formula > b {
  color: var(--coral-600);
}

.win-formula span {
  color: var(--jade-800);
  font-size: 0.77rem;
  font-weight: 900;
}

.win-formula small {
  color: var(--ink-soft);
  font-size: 0.58rem;
}

.win-formula .win-formula__eye {
  border-color: var(--gold-200);
  background: var(--gold-50);
}

.win-formula .win-formula__result {
  border-color: var(--jade-700);
  background: var(--jade-800);
}

.win-formula .win-formula__result span,
.win-formula .win-formula__result small {
  color: var(--white);
}

.win-formula .win-formula__result span {
  font-size: 1.4rem;
}

.meld-grid,
.pattern-grid,
.fan-groups,
.instant-grid,
.danger-grid,
.cheat-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meld-card,
.pattern-grid > article,
.fan-group,
.instant-grid > article,
.special-wins > article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 17px;
}

.meld-card__title,
.call-head,
.fan-group__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meld-card__title h3,
.meld-card__title p,
.call-head h3,
.fan-group__heading h3,
.fan-group__heading p {
  margin: 0;
}

.meld-card__title p,
.fan-group__heading p {
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.call-badge,
.call-head > span,
.fan-group__heading > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--jade-100);
  color: var(--jade-800);
  font-size: 1.05rem;
  font-weight: 850;
}

.call-badge--coral {
  background: var(--coral-100);
  color: var(--coral-700);
}

.call-badge--plum {
  background: var(--plum-100);
  color: var(--plum-800);
}

.call-badge--gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.meld-tiles {
  display: flex;
  margin: 16px 0;
  gap: 5px;
}

.meld-tiles .mj-tile {
  width: 58px;
  flex: 0 1 58px;
}

.meld-tiles .tile-glyph {
  font-size: 3.55rem;
}

.meld-card > p {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.complete-hand {
  display: grid;
  min-width: 0;
  margin-top: 12px;
  grid-template-columns: 0.58fr 1.42fr;
  align-items: center;
  border-radius: var(--radius-md);
  background: var(--jade-800);
  padding: 20px;
  gap: 18px;
}

.complete-hand h3 {
  color: var(--white);
}

.complete-hand__copy p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.complete-hand__groups > div {
  min-width: 0;
}

.group-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-100);
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
}

.wall-card__header > span {
  border-radius: 999px;
  background: var(--cream-100);
  padding: 4px 8px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  white-space: nowrap;
}

.wall-diagram,
.wind-compass {
  position: relative;
  min-height: 330px;
  border-radius: 22px;
  background: var(--cream-100);
}

.wall-center,
.wind-compass__center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  color: var(--jade-800);
}

.wall-center strong {
  font-size: 2.2rem;
  line-height: 1;
}

.wall-center span,
.wall-center small {
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.wall-side {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 3px double rgba(13, 101, 78, 0.28);
  border-radius: 8px;
  background: linear-gradient(#fff, #f8edda);
  padding: 8px 10px;
  color: var(--jade-800);
  box-shadow: 0 3px 0 #d7c8af;
}

.wall-side span,
.wall-side strong {
  font-size: 0.62rem;
}

.wall-side--top,
.wall-side--bottom {
  right: 15%;
  left: 15%;
}

.wall-side--top {
  top: 20px;
}

.wall-side--bottom {
  bottom: 20px;
}

.wall-side--left,
.wall-side--right {
  top: 21%;
  bottom: 21%;
  width: 54px;
  flex-direction: column;
  text-align: center;
}

.wall-side--left {
  left: 20px;
}

.wall-side--right {
  right: 20px;
}

.card-footnote {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.63rem;
}

.wind-compass {
  background:
    radial-gradient(circle, var(--white) 0 18%, transparent 18.5%),
    conic-gradient(from 45deg, var(--jade-50), var(--cream-100), var(--jade-50), var(--cream-100), var(--jade-50));
}

.wind-seat {
  position: absolute;
  display: flex;
  width: 74px;
  min-height: 68px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.wind-seat strong {
  color: var(--jade-800);
  font-size: 1.3rem;
  line-height: 1;
}

.wind-seat span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  text-align: center;
}

.wind-seat--west {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.wind-seat--south {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.wind-seat--east {
  bottom: 20px;
  left: 50%;
  border-color: var(--gold-200);
  transform: translateX(-50%);
}

.wind-seat--north {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.wind-compass__center span {
  font-size: 2.25rem;
  line-height: 1;
}

.wind-compass__center small {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wind-notes {
  display: grid;
  margin-top: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wind-notes p {
  border-radius: 10px;
  background: var(--jade-50);
  padding: 9px;
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.wind-notes strong {
  color: var(--jade-800);
}

.setup-steps {
  display: grid;
  margin: 14px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
}

.setup-steps li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 13px;
  gap: 9px;
}

.setup-steps li > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--coral-100);
  color: var(--coral-700);
  font-size: 0.68rem;
  font-weight: 900;
}

.setup-steps h3,
.setup-steps p {
  margin: 0;
}

.setup-steps h3 {
  font-size: 0.8rem;
}

.setup-steps p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.three-notes,
.kong-grid,
.special-wins,
.payout-flow,
.instant-grid {
  display: grid;
  min-width: 0;
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.three-notes article {
  min-width: 0;
  border-radius: 14px;
  background: var(--cream-100);
  padding: 14px;
}

.three-notes article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--white);
  color: var(--jade-800);
  font-weight: 850;
}

.three-notes h3 {
  margin: 9px 0 5px;
  font-size: 0.82rem;
}

.three-notes p {
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.turn-loop {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.turn-loop > article {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
}

.turn-loop > b {
  color: var(--gold-200);
}

.turn-loop__number {
  position: absolute;
  top: 8px;
  right: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
  font-weight: 850;
}

.turn-loop__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--jade-900);
  font-size: 1rem;
  font-weight: 900;
}

.turn-loop h3 {
  margin: 12px 0 5px;
  font-size: 0.84rem;
}

.turn-loop p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
}

.priority-card {
  display: grid;
  min-width: 0;
  margin-top: 14px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  border-radius: 17px;
  background: var(--white);
  padding: 18px;
  gap: 18px;
}

.priority-card__copy p:last-child {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.priority-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  list-style: none;
}

.priority-list li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 11px;
  background: var(--jade-50);
  padding: 10px 8px;
  text-align: center;
}

.priority-list li > span {
  color: var(--coral-600);
  font-size: 0.6rem;
  font-weight: 900;
}

.priority-list strong {
  color: var(--jade-900);
  font-size: 0.73rem;
}

.priority-list small {
  color: var(--ink-soft);
  font-size: 0.52rem;
  line-height: 1.2;
}

.calls-grid {
  display: grid;
  min-width: 0;
  margin-top: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.calls-grid > article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 13px;
}

.call-head > span {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-100);
  font-size: 0.85rem;
}

.calls-grid > article > p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.63rem;
}

.subsection-heading {
  margin: clamp(30px, 5vw, 48px) 0 16px;
}

.subsection-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.kong-grid > article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  padding: 15px;
}

.kong-number {
  display: inline-flex;
  border-radius: 999px;
  background: var(--gold-100);
  padding: 4px 8px;
  color: var(--jade-900);
  font-size: 0.6rem;
  font-weight: 900;
}

.kong-grid h3 {
  margin: 12px 0 6px;
  font-size: 0.88rem;
}

.kong-grid p {
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.65rem;
}

.kong-tag {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 9px;
  color: var(--gold-100);
  font-size: 0.57rem;
  line-height: 1.35;
}

.pattern-grid > article {
  position: relative;
  padding-top: 48px;
}

.pattern-grid h3 {
  font-size: 0.9rem;
}

.pattern-grid p {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.pattern-hand,
.rule-tile-row,
.cheat-visual,
.danger-tiles {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.pattern-hand {
  margin: 12px 0 10px;
}

.tile-group {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 1px;
}

.tile-string {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: "Mahjong Symbols", "Noto Sans Symbols 2", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
  white-space: nowrap;
}

.tile-string--red {
  color: #b9342d;
}

.tile-string--green {
  color: var(--jade-700);
}

.tile-string--muted {
  opacity: 0.42;
}

.pattern-hand .mj-tile,
.rule-tile-row .mj-tile,
.cheat-visual .mj-tile {
  background: var(--cream-50);
  box-shadow: 0 2px 0 #d5c6ae, 0 3px 6px rgba(45, 38, 29, 0.08);
}

.rule-tile-row {
  margin: 10px 0;
}

.tile-arrow {
  color: var(--coral-600);
  font-size: 0.7rem;
  font-weight: 900;
}

.visual-caption {
  color: var(--ink-soft);
  font-size: 0.57rem;
  font-weight: 750;
}

.animal-mini {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--cream-300);
  border-radius: 6px;
  background: var(--cream-50);
  padding: 3px 6px;
  color: var(--jade-900);
  font-size: 0.56rem;
  font-weight: 800;
}

.pattern-fan {
  position: absolute;
  top: 13px;
  left: 13px;
  border-radius: 999px;
  background: var(--jade-100);
  padding: 4px 8px;
  color: var(--jade-800);
  font-size: 0.62rem;
  font-weight: 850;
}

.pattern-fan--zero {
  background: var(--cream-200);
  color: var(--ink-soft);
}

.special-wins {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.special-wins > article:first-child {
  grid-column: 1 / -1;
}

.special-win__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.special-win__fan {
  border-radius: 999px;
  background: var(--coral-100);
  padding: 4px 8px;
  color: var(--coral-700);
  font-size: 0.64rem;
  font-weight: 850;
}

.special-win__mark {
  color: var(--jade-700);
  font-size: 1.4rem;
  font-weight: 900;
}

.special-wins h3 {
  margin-top: 12px;
}

.special-wins p {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.special-wins .pattern-hand {
  margin-bottom: 0;
}

.thirteen-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
  gap: 4px;
}

.thirteen-row b {
  margin-left: 4px;
  color: var(--coral-700);
  font-size: 0.68rem;
}

.fan-basics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.fan-basics article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 14px;
}

.fan-basics span {
  color: var(--coral-700);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fan-basics strong {
  margin: 4px 0;
  color: var(--jade-800);
  font-size: 1.25rem;
}

.fan-basics p {
  color: var(--ink-soft);
  font-size: 0.61rem;
}

.fan-ladder {
  align-items: center;
  margin-top: 12px;
  overflow-x: auto;
  border-radius: 15px;
  background: var(--white);
  padding: 12px;
  scrollbar-width: thin;
}

.fan-ladder__item {
  display: flex;
  min-width: 83px;
  flex: 1 0 83px;
  flex-direction: column;
  align-items: center;
  border-radius: 11px;
  background: var(--jade-50);
  padding: 8px;
  text-align: center;
}

.fan-ladder__item span {
  color: var(--jade-800);
  font-size: 0.58rem;
  font-weight: 850;
}

.fan-ladder__item strong {
  color: var(--jade-900);
  font-size: 1.1rem;
}

.fan-ladder__item small {
  color: var(--ink-soft);
  font-size: 0.5rem;
}

.fan-ladder__item--zero {
  background: var(--cream-100);
}

.fan-ladder__item--cap {
  background: var(--jade-800);
}

.fan-ladder__item--cap span,
.fan-ladder__item--cap strong,
.fan-ladder__item--cap small {
  color: var(--white);
}

.fan-ladder__arrow {
  color: var(--coral-700);
  font-size: 0.58rem;
  font-weight: 850;
}

.fan-groups {
  margin-top: 12px;
}

.fan-group__heading {
  margin-bottom: 12px;
}

.fan-group__heading > span {
  background: var(--cream-100);
  color: var(--coral-700);
}

.fan-rows {
  display: grid;
}

.fan-rows > div,
.mini-fan-list > div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 7px 0;
  gap: 8px;
}

.fan-rows span,
.mini-fan-list span {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.fan-rows strong,
.mini-fan-list b {
  color: var(--jade-800);
  font-size: 0.72rem;
}

.fan-rows small {
  grid-column: 1 / -1;
  margin-top: -3px;
  color: #7a746b;
  font-size: 0.55rem;
}

.payout-flow {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.payout-flow article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 14px;
}

.payout-flow > b {
  color: var(--coral-600);
}

.payout-flow__step {
  color: var(--coral-700);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.payout-flow h3 {
  margin: 6px 0;
  font-size: 0.82rem;
}

.payout-flow p {
  color: var(--ink-soft);
  font-size: 0.63rem;
}

.payout-cards {
  margin-top: 12px;
}

.payout-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  border-radius: var(--radius-md);
  padding: 18px;
  gap: 12px;
}

.payout-card--discard {
  border: 1px solid #efbbb1;
  background: var(--coral-50);
}

.payout-card--draw {
  border: 1px solid #b5ddce;
  background: var(--jade-50);
}

.payout-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: span 3;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--coral-700);
  font-size: 1.25rem;
  font-weight: 900;
}

.payout-card--draw .payout-card__icon {
  color: var(--jade-800);
}

.payout-card h3 {
  margin-bottom: 12px;
}

.payout-card__math {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 7px 0;
  gap: 9px;
}

.payout-card__math span,
.payout-card__small {
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.payout-card__math strong {
  color: var(--jade-800);
  font-size: 0.75rem;
}

.payout-card__small {
  margin-top: 8px;
}

.worked-example {
  display: grid;
  min-width: 0;
  margin-top: 12px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  border-radius: var(--radius-md);
  background: var(--plum-800);
  padding: 18px;
  gap: 18px;
}

.worked-example__title > span {
  color: var(--gold-200);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.worked-example h3 {
  margin: 5px 0 0;
  color: var(--white);
}

.worked-example__cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.worked-example__cases div {
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.worked-example__cases strong {
  color: var(--white);
  font-size: 0.69rem;
}

.worked-example__cases p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
}

.instant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instant-grid > article {
  padding-top: 48px;
  position: relative;
}

.instant-value {
  position: absolute;
  top: 13px;
  left: 13px;
  border-radius: 999px;
  background: var(--gold-100);
  padding: 4px 8px;
  color: var(--gold-700);
  font-size: 0.62rem;
  font-weight: 850;
}

.instant-grid h3 {
  font-size: 0.82rem;
}

.instant-grid p {
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.pay-all-intro {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) 210px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  padding: 17px;
  gap: 14px;
}

.pay-all-intro__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--danger-deep);
  font-size: 1.25rem;
  font-weight: 900;
}

.pay-all-intro h3 {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.pay-all-intro p,
.pay-all-intro > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
}

.pay-all-intro > span {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 14px;
}

.danger-grid {
  margin-top: 12px;
}

.danger-grid > article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
}

.danger-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.danger-number {
  color: var(--gold-200);
  font-size: 0.62rem;
  font-weight: 900;
}

.danger-mark {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 850;
}

.danger-grid h3 {
  margin-top: 12px;
  font-size: 0.9rem;
}

.danger-grid > article > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.67rem;
}

.danger-tiles {
  margin: 11px 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.13);
  padding: 8px;
}

.danger-tiles .tile-arrow,
.danger-tiles .visual-caption {
  color: var(--gold-200);
}

.danger-tiles .tile-string {
  color: var(--white);
}

.danger-tiles .tile-string--red {
  color: #f08e84;
}

.danger-tiles .tile-string--green {
  color: #8ed7bd;
}

.danger-callout {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  padding: 9px;
}

.danger-callout strong {
  color: var(--gold-200);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.danger-callout span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.62rem;
}

.agreement-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.agreement-card__defaults,
.agreement-card__optional {
  min-width: 0;
  padding: 20px;
}

.agreement-card__defaults {
  background: var(--jade-50);
}

.agreement-card h3 {
  margin-bottom: 14px;
}

.agreement-card label {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding: 9px 0;
  gap: 9px;
  cursor: pointer;
}

.agreement-card input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--jade-700);
}

.agreement-card label > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.agreement-card label strong {
  font-size: 0.72rem;
}

.agreement-card label small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.6rem;
  line-height: 1.35;
}

.agreement-tip {
  display: flex;
  align-items: flex-start;
  margin: 12px 0 0;
  border-radius: 13px;
  background: var(--gold-50);
  padding: 12px;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.agreement-tip > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--jade-100);
  color: var(--jade-800);
  font-weight: 900;
}

.agreement-tip strong {
  color: var(--jade-900);
}

.cheat-sheet {
  border: 2px solid var(--jade-800);
  background:
    linear-gradient(rgba(255, 253, 248, 0.93), rgba(255, 253, 248, 0.93)),
    radial-gradient(circle at 1px 1px, rgba(13, 101, 78, 0.18) 1px, transparent 0);
  background-size: auto, 16px 16px;
}

.cheat-sheet__header {
  align-items: center;
  border-bottom: 2px solid var(--jade-800);
  padding-bottom: 16px;
}

.cheat-sheet__header h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.cheat-sheet__header p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.print-button {
  flex: 0 0 auto;
  gap: 6px;
  background: var(--jade-800);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(10, 81, 64, 0.18);
}

.cheat-grid {
  gap: 9px;
}

.cheat-grid > article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 13px;
}

.cheat-grid h3 {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
  gap: 7px;
  font-size: 0.8rem;
}

.cheat-grid h3 > span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--jade-100);
  color: var(--jade-800);
  font-size: 0.65rem;
  font-weight: 900;
}

.cheat-grid p,
.cheat-grid li {
  color: var(--ink-soft);
  font-size: 0.63rem;
}

.cheat-grid ul,
.cheat-grid ol {
  margin: 0;
  padding-left: 17px;
}

.cheat-grid li + li {
  margin-top: 4px;
}

.cheat-grid b,
.cheat-grid strong {
  color: var(--jade-900);
}

.cheat-formula,
.cheat-callout {
  border-radius: 9px;
  background: var(--gold-50);
  padding: 8px;
}

.cheat-visual {
  margin: 8px 0;
  border-radius: 9px;
  background: var(--cream-100);
  padding: 7px;
}

.cheat-visual .mj-tile--micro {
  width: 21px;
  flex-basis: 21px;
}

.cheat-visual .mj-tile--micro .tile-glyph {
  font-size: 1.32rem;
}

.cheat-visual .tile-string {
  font-size: 1.42rem;
}

.cheat-priority {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.cheat-priority b {
  border-radius: 999px;
  background: var(--jade-50);
  padding: 3px 7px;
}

.cheat-priority i {
  color: var(--coral-600);
  font-style: normal;
}

.mini-fan-list > div:first-child {
  border-top: 0;
}

.cheat-point-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 9px;
  gap: 3px;
}

.cheat-point-row > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  border-radius: 7px;
  background: var(--jade-50);
  padding: 4px 2px;
  color: var(--ink-soft);
  font-size: 0.5rem;
}

.cheat-point-row b {
  font-size: 0.72rem;
}

.cheat-danger {
  border-color: #e6aaa5 !important;
  background: var(--coral-50) !important;
}

.cheat-danger h3 > span {
  background: var(--coral-100);
  color: var(--coral-700);
}

.cheat-bonus {
  border-color: var(--gold-200) !important;
  background: var(--gold-50) !important;
}

.cheat-bonus h3 > span {
  background: var(--gold-100);
  color: var(--gold-700);
}

.seat-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 9px 0;
  gap: 4px;
}

.seat-map span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  border-radius: 7px;
  background: var(--white);
  padding: 5px 2px;
  color: var(--ink-soft);
  font-size: 0.52rem;
  text-align: center;
}

.seat-map b {
  font-size: 0.7rem;
}

.cheat-sheet__footer {
  margin: 13px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  text-align: center;
}

.sources {
  background: var(--cream-100);
}

.source-grid a {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 17px 42px 17px 17px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.source-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--jade-600);
  box-shadow: var(--shadow-sm);
}

.source-grid a > span {
  color: var(--coral-700);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-grid a > strong {
  display: block;
  margin: 5px 0;
  color: var(--jade-900);
  font-size: 0.8rem;
}

.source-grid a > p {
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.source-grid a > b {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--jade-700);
}

.source-date {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.62rem;
  text-align: center;
}

footer {
  display: grid;
  width: min(calc(100% - 32px), var(--content));
  margin: 24px auto 90px;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  gap: 16px;
}

.footer-brand p,
footer > p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
}

.footer-links a {
  color: var(--jade-800);
  font-size: 0.68rem;
  font-weight: 750;
}

footer > p {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .hero__copy {
    max-width: 690px;
  }

  .hero__visual {
    max-width: 650px;
  }

  .honor-card,
  .animal-card,
  .complete-hand,
  .priority-card,
  .worked-example {
    grid-template-columns: 1fr;
  }

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

  .wall-card,
  .wind-card {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    gap: 15px;
  }

  .wall-card__header,
  .wind-card__header {
    display: block;
  }

  .wall-card__header > span {
    display: inline-flex;
    margin-top: 7px;
  }

  .wall-diagram,
  .wind-compass {
    grid-row: span 2;
  }

  .card-footnote,
  .wind-notes {
    grid-column: 1;
  }

  .wind-notes {
    grid-template-columns: 1fr;
  }

  .turn-loop {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .turn-loop > b {
    display: none;
  }

  .calls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .complete-hand__groups {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 58px;
    --radius-lg: 21px;
    --radius-md: 15px;
  }

  html {
    scroll-padding-top: 16px;
  }

  body {
    font-size: 13px;
    line-height: 1.46;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 10.7vw, 2.75rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.45rem, 7.5vw, 1.95rem);
  }

  h3 {
    font-size: 0.94rem;
  }

  .site-header {
    padding: 6px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    display: none;
  }

  .brand-mark {
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
  }

  .brand-mobile-copy {
    display: block;
  }

  .brand-mobile-copy strong {
    display: block;
    max-width: 230px;
    font-size: 0.76rem;
    line-height: 1.08;
    white-space: normal;
  }

  .brand-mobile-copy small {
    display: block;
    margin-top: 2px;
    font-size: 0.57rem;
  }

  .hero,
  main,
  .quick-facts,
  footer {
    width: min(calc(100% - 20px), var(--content));
  }

  .hero {
    margin-top: 10px;
    border-radius: 22px;
    padding: 21px 15px 16px;
    gap: 16px;
  }

  .eyebrow {
    margin-bottom: 13px;
    gap: 4px;
  }

  .eyebrow span {
    padding: 4px 7px;
    font-size: 0.55rem;
  }

  .hero__lead {
    margin-bottom: 15px;
    font-size: 0.84rem;
  }

  .hero__note {
    margin-top: 10px;
    font-size: 0.6rem;
  }

  .hero__visual {
    border-radius: 18px;
    padding: 14px;
  }

  .hero-hand {
    gap: 7px;
  }

  .hero-hand .mini-set {
    gap: 1px;
  }

  .hero-hand .mj-tile--mini {
    width: 29px;
  }

  .hero-hand .mj-tile--mini .tile-glyph {
    font-size: 1.8rem;
  }

  .hero-equation {
    margin-top: 14px;
  }

  .hero-equation span {
    font-size: 0.48rem;
  }

  .quick-facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 13px;
  }

  .quick-facts div {
    padding: 9px 2px;
  }

  .quick-facts strong {
    font-size: 0.78rem;
  }

  .quick-facts span {
    font-size: 0.49rem;
  }

  .guide-section {
    margin: 8px 0;
    padding: 24px 12px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading p:last-child {
    font-size: 0.78rem;
  }

  .section-kicker {
    font-size: 0.6rem;
  }

  .setup-details {
    margin: 7px 0 8px;
  }

  .setup-details summary {
    padding: 9px 12px;
  }

  .setup-details summary small {
    display: none;
  }

  .setup-details__body,
  .round-basics {
    grid-template-columns: 1fr;
  }

  .setup-details__body {
    gap: 6px;
  }

  .round-basics {
    gap: 6px;
  }

  .round-basics article {
    padding: 10px;
  }

  .two-column,
  .honor-grid,
  .payout-cards,
  .source-grid,
  .agreement-card,
  .special-wins {
    grid-template-columns: 1fr;
  }

  .soft-card,
  .rule-lock-card,
  .honor-card,
  .bonus-card,
  .animal-card,
  .wall-card,
  .wind-card {
    padding: 14px;
  }

  .note {
    padding: 12px;
  }

  .note p {
    font-size: 0.68rem;
  }

  .tile-count-equation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .tile-count-equation > b {
    display: none;
  }

  .tile-count-equation > div {
    padding: 8px 3px;
  }

  .tile-count-equation .tile-count-total {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 5px;
  }

  .tile-count-equation strong {
    font-size: 0.95rem;
  }

  .tile-count-equation span {
    font-size: 0.5rem;
  }

  .suit-card {
    padding: 12px 8px 14px;
  }

  .suit-card__heading {
    margin-bottom: 11px;
  }

  .suit-card__heading p {
    font-size: 0.57rem;
  }

  .tile-row {
    gap: 3px;
  }

  .mj-tile {
    border-radius: 5px;
    box-shadow: 0 2px 0 #d5c6ae, 0 4px 7px rgba(45, 38, 29, 0.09);
  }

  .tile-glyph {
    font-size: clamp(1.7rem, 9.6vw, 2.55rem);
  }

  .mj-tile > small {
    right: 2px;
    font-size: 0.42rem;
  }

  .honor-card {
    grid-template-columns: 1fr;
  }

  .named-tile-row {
    justify-content: start;
  }

  .mj-tile--named {
    width: 62px;
    min-height: 84px;
    max-width: none;
    flex-basis: 62px;
  }

  .mj-tile--named .tile-glyph {
    font-size: 2.7rem;
  }

  .mj-tile--named > small {
    right: auto;
    font-size: 0.46rem;
  }

  .bonus-card__header,
  .suit-card__heading,
  .cheat-sheet__header {
    align-items: flex-start;
  }

  .bonus-card__header {
    flex-direction: column;
    gap: 2px;
  }

  .bonus-pairs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .animal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .animal-tile {
    min-height: 95px;
  }

  .win-formula {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .win-formula > b {
    display: none;
  }

  .win-formula > div {
    min-width: 0;
    padding: 7px 2px;
  }

  .win-formula .win-formula__result {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 5px;
  }

  .win-formula span {
    font-size: 0.6rem;
  }

  .win-formula small {
    font-size: 0.46rem;
  }

  .meld-grid,
  .pattern-grid,
  .fan-groups,
  .instant-grid,
  .danger-grid,
  .cheat-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .meld-card,
  .fan-group,
  .special-wins > article {
    padding: 13px;
  }

  .pattern-grid > article,
  .instant-grid > article {
    padding: 48px 13px 13px;
  }

  .mj-tile--micro {
    width: 19px;
    flex-basis: 19px;
  }

  .mj-tile--micro .tile-glyph {
    font-size: 1.18rem;
  }

  .pattern-hand,
  .rule-tile-row,
  .danger-tiles {
    gap: 4px;
  }

  .pattern-hand {
    margin: 10px 0 9px;
  }

  .pattern-hand .tile-string {
    font-size: 1.43rem;
  }

  .cheat-visual .mj-tile--micro {
    width: 18px;
    flex-basis: 18px;
  }

  .cheat-visual .mj-tile--micro .tile-glyph {
    font-size: 1.12rem;
  }

  .cheat-visual .tile-string {
    font-size: 1.23rem;
  }

  .meld-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 7px 12px;
  }

  .meld-card__title {
    grid-column: 1;
  }

  .meld-tiles {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
    gap: 2px;
  }

  .meld-tiles .mj-tile {
    width: 34px;
  }

  .meld-tiles .tile-glyph {
    font-size: 2.1rem;
  }

  .meld-card > p {
    grid-column: 1;
    margin: 0;
    font-size: 0.65rem;
  }

  .complete-hand {
    padding: 14px;
  }

  .complete-hand__groups {
    gap: 7px;
  }

  .complete-hand .mj-tile--mini {
    width: 25px;
  }

  .complete-hand .mj-tile--mini .tile-glyph {
    font-size: 1.55rem;
  }

  .wall-card,
  .wind-card {
    display: block;
  }

  .wall-diagram,
  .wind-compass {
    min-height: 275px;
  }

  .wall-side--top,
  .wall-side--bottom {
    right: 18%;
    left: 18%;
  }

  .wall-side--left,
  .wall-side--right {
    width: 47px;
  }

  .wall-side span,
  .wall-side strong {
    font-size: 0.51rem;
  }

  .wind-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setup-steps {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .setup-steps li {
    padding: 10px;
  }

  .three-notes,
  .kong-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .three-notes article {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 11px;
    gap: 0 9px;
  }

  .three-notes article > span {
    grid-row: 1 / span 2;
  }

  .three-notes h3 {
    margin: 0 0 3px;
  }

  .turn-loop {
    gap: 6px;
  }

  .turn-loop > article {
    padding: 11px;
  }

  .priority-card {
    padding: 13px;
  }

  .priority-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calls-grid {
    gap: 6px;
  }

  .calls-grid > article {
    padding: 10px;
  }

  .subsection-heading {
    margin-top: 28px;
  }

  .special-wins > article:first-child {
    grid-column: auto;
  }

  .thirteen-row {
    gap: 3px;
  }

  .thirteen-row .mj-tile--tiny {
    width: 25px;
  }

  .thirteen-row .mj-tile--tiny .tile-glyph {
    font-size: 1.55rem;
  }

  .fan-basics {
    gap: 5px;
  }

  .fan-basics article {
    padding: 9px 6px;
    text-align: center;
  }

  .fan-basics strong {
    font-size: 0.95rem;
  }

  .fan-basics p,
  .fan-basics span {
    font-size: 0.49rem;
  }

  .fan-ladder {
    justify-content: flex-start;
    margin-right: -14px;
    margin-left: -14px;
    border-radius: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .payout-flow {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .payout-flow > b {
    display: none;
  }

  .payout-flow article {
    padding: 11px;
  }

  .payout-card {
    padding: 13px;
  }

  .worked-example__cases {
    grid-template-columns: 1fr;
  }

  .pay-all-intro {
    grid-template-columns: auto 1fr;
    padding: 13px;
  }

  .pay-all-intro > span {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
    padding-top: 9px;
    padding-left: 0;
  }

  .agreement-card__defaults,
  .agreement-card__optional {
    padding: 14px;
  }

  .cheat-sheet {
    padding: 24px 11px;
  }

  .cheat-sheet__header {
    flex-direction: column;
    gap: 10px;
  }

  .print-button {
    width: 100%;
  }

  .cheat-grid > article {
    padding: 11px;
  }

  .cheat-point-row {
    gap: 2px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

}

@media (max-width: 355px) {
  .calls-grid {
    grid-template-columns: 1fr;
  }

  .suit-card__heading p {
    display: none;
  }

  .tile-glyph {
    font-size: clamp(1.5rem, 9.5vw, 2rem);
  }

  .wind-notes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@page {
  size: A4 portrait;
  margin: 7mm;
}

@media print {
  html,
  body {
    width: 100%;
    height: auto;
    overflow: visible;
    background: #fff;
    color: #111;
    font-size: 7.4pt;
  }

  body > * {
    display: none !important;
  }

  body > main {
    display: block !important;
    width: 100%;
    margin: 0;
  }

  main > * {
    display: none !important;
  }

  #cheat-sheet {
    display: block !important;
    width: 100%;
    margin: 0;
    border: 1.5pt solid #174f42;
    border-radius: 0;
    background: #fff;
    padding: 4mm;
    box-shadow: none;
    page-break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .cheat-sheet__header {
    display: block;
    margin-bottom: 2.5mm;
    border-bottom: 1pt solid #174f42;
    padding-bottom: 2mm;
  }

  .cheat-sheet__header h2 {
    margin-bottom: 1mm;
    font-size: 17pt;
  }

  .cheat-sheet__header p,
  .cheat-sheet__header p:last-child {
    font-size: 7pt;
  }

  .section-kicker,
  .print-button {
    display: none !important;
  }

  .cheat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2mm;
  }

  .cheat-grid > article {
    display: block;
    break-inside: avoid;
    border: 0.6pt solid #b7beb9;
    border-radius: 2mm;
    background: #fff !important;
    padding: 2.2mm;
  }

  .cheat-grid h3 {
    margin-bottom: 1.2mm;
    gap: 1.2mm;
    color: #123f35;
    font-size: 8.4pt;
  }

  .cheat-grid h3 > span {
    width: 5mm;
    height: 5mm;
    border-radius: 1mm;
    background: #dcefe6;
    color: #123f35;
    font-size: 6pt;
  }

  .cheat-grid p,
  .cheat-grid li,
  .mini-fan-list span {
    font-size: 6.4pt;
    line-height: 1.25;
  }

  .cheat-grid li + li {
    margin-top: 0.6mm;
  }

  .cheat-formula,
  .cheat-callout {
    padding: 1.4mm;
  }

  .mini-fan-list > div {
    padding: 1mm 0;
  }

  .mini-fan-list b {
    font-size: 6.8pt;
  }

  .cheat-point-row {
    margin-bottom: 1.5mm;
    gap: 0.7mm;
  }

  .cheat-point-row > span {
    padding: 1mm 0.4mm;
    font-size: 5.3pt;
  }

  .cheat-point-row b {
    font-size: 7pt;
  }

  .seat-map {
    margin: 1.5mm 0;
    gap: 0.8mm;
  }

  .seat-map span {
    padding: 1mm 0.4mm;
    font-size: 5.4pt;
  }

  .cheat-sheet__footer {
    margin-top: 2mm;
    padding-top: 1.5mm;
    font-size: 5.5pt;
  }
}
