:root {
  --ink: #17322d;
  --green: #123f35;
  --green-2: #1d5a4d;
  --cream: #f5f0e4;
  --paper: #fffdf7;
  --coral: #e85f45;
  --coral-text: #ae3e2c;
  --gold: #d7a741;
  --mint: #bcd9c6;
  --line: rgba(23, 50, 45, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
img { max-width: 100%; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 99; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 43px; border: 1px solid var(--ink); border-radius: 5px; background: var(--paper); color: var(--green-2); font-family: var(--serif); font-size: 1.25rem; box-shadow: 3px 3px 0 var(--mint); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); font-size: .9rem; font-weight: 700; }
nav a { text-decoration: none; }
.site-header nav { min-width: 0; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-cta { border-bottom: 2px solid var(--coral); }
.nav-current { color: var(--coral-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.site-header nav:has(.nav-current) .nav-cta { border-bottom: 0; }
.drill-start-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 1rem; color: #ffe4a1; font-weight: 800; text-underline-offset: 4px; }
.drill-standard-disclosure { max-width: 1120px; margin-bottom: 1.5rem; border: 1px solid #ffffff40; }
.drill-standard-disclosure > summary { min-height: 48px; padding: .9rem 1.2rem; color: #fffdf7; font-weight: 700; cursor: pointer; }
.drill-standard-disclosure .drill-standard { margin: 0; border: 0; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 6rem clamp(1.5rem, 6vw, 7.5rem); padding-right: 3rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 900; }
.eyebrow > span { width: 28px; height: 2px; background: var(--coral); }
.eyebrow.light > span { background: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 750px; margin: .35rem 0 1.6rem; font-size: clamp(3.2rem, 6.5vw, 7rem); }
h1 em { color: var(--coral); font-weight: 500; }
.hero-intro { max-width: 580px; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 1.6rem; margin-top: 2rem; }
.button { display: inline-block; padding: .95rem 1.3rem; border-radius: 3px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--green); color: white; box-shadow: 5px 5px 0 var(--gold); }
.button-primary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--gold); }
.text-link { font-weight: 800; text-underline-offset: 5px; }
.reassurance { margin: 1.35rem 0 0; color: #5b6c67; font-size: .85rem; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 600px; background: var(--green); overflow: hidden; }
.sunburst { position: absolute; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.sunburst::before, .sunburst::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.sunburst::after { inset: 25%; }
.tile-fan { position: relative; z-index: 2; width: 540px; height: 330px; }
.tile { position: absolute; bottom: 26px; left: 50%; width: 112px; height: 148px; padding: 0 5px 7px 0; border: 0; border-radius: 9px; background: linear-gradient(135deg, #dcece2 0%, #a9cdbb 100%); box-shadow: 0 8px 0 #83ad99, 8px 13px 11px rgba(0,0,0,.2); transform-origin: 50% 130%; font-family: var(--serif); }
.hero-tile-face { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #b9b09e; border-radius: 8px; background: linear-gradient(145deg, #fffefa 0%, #f8f4e8 72%, #eee7d8 100%); box-shadow: inset 1px 1px 0 white, inset -1px -1px 0 rgba(113,88,38,.08); }
.hero-tile-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: radial-gradient(circle at 18% 22%, #c7bda9 0 1px, transparent 1.4px); background-size: 8px 8px; }
.hero-tile-corner { position: absolute; z-index: 2; top: 10px; left: 10px; font-family: var(--sans); font-size: .78rem; font-weight: 900; line-height: 1; }
.tile-bam .hero-tile-corner, .tile-char .hero-tile-corner, .tile-dot .hero-tile-corner { color: #111; text-shadow: 0 1px 0 rgba(255,255,255,.95); }
.hero-tile-label { position: relative; z-index: 2; margin-top: .45rem; font-family: var(--sans); font-size: .5rem; font-weight: 900; letter-spacing: .12em; }
.hero-tile-face .tile-symbol { font-size: 2.65rem; }
.hero-tile-face .tile-symbol-bam, .hero-tile-face .tile-symbol-bird, .hero-tile-face .tile-symbol-dragon, .hero-tile-face .tile-symbol-joker { width: 58px; height: 62px; }
.hero-tile-face .tile-symbol-dot { width: 40px; gap: 3px; }
.hero-tile-face .tile-symbol-dot i { width: 8px; }
.tile-back { transform: translateX(-260px) rotate(-24deg); background: repeating-linear-gradient(45deg, #eb6049 0 7px, #f8d9cb 7px 10px); }
.tile-bam { transform: translateX(-190px) rotate(-15deg); color: #16735a; }
.tile-char { transform: translateX(-110px) rotate(-7deg); color: var(--coral); }
.tile-dragon { transform: translateX(-30px); color: var(--green-2); }
.tile-dot { transform: translateX(55px) rotate(8deg); color: #176f8b; }
.tile-joker { transform: translateX(140px) rotate(17deg); color: #9a6500; background: linear-gradient(135deg, #f0e5ae, #c9ae55); box-shadow: 0 8px 0 #ad913f, 8px 13px 11px rgba(0,0,0,.2); }
.rack { position: absolute; z-index: 1; width: 510px; height: 45px; top: calc(50% + 104px); border-radius: 5px; background: #79a892; box-shadow: 0 13px 0 #4e7767; transform: rotate(-1deg); }
.stamp { position: absolute; right: 8%; bottom: 7%; width: 88px; height: 88px; display: grid; place-content: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); text-align: center; font-size: .66rem; font-weight: 900; line-height: 1.25; letter-spacing: .12em; transform: rotate(-9deg); }

.quick-truth { padding: 4.5rem 8vw; background: var(--coral-text); color: #fff9ee; text-align: center; }
.quick-truth > p:first-child { margin-top: 0; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 900; }
.quick-truth h2 { max-width: 920px; margin: 1rem auto; font-size: clamp(2.2rem, 4vw, 4.1rem); }
.quick-truth > p:last-child { max-width: 700px; margin: 1.5rem auto 0; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem); border-top: 1px solid rgba(23,50,45,.18); }
.section-heading { max-width: 850px; margin-bottom: 3.5rem; }
.section-heading.narrow { max-width: 650px; }
.section-heading h2, .card-copy h2, .deal-copy h2, .charleston-copy h2, .closing h2 { margin: .4rem 0 1.1rem; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.section-heading > p:last-child, .card-copy > p, .deal-copy > p, .charleston-copy > p { max-width: 650px; font-size: 1.08rem; }

.essentials { background: var(--paper); }
.tile-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile-group { position: relative; min-height: 390px; padding: 2.2rem; background: var(--paper); }
.mini-tiles { display: flex; gap: .45rem; margin-bottom: 3.2rem; }
.mini-tile { position: relative; width: 62px; height: 78px; padding: 0 3px 4px 0; border-radius: 6px; background: linear-gradient(135deg, #dcece2, #a9cdbb); color: var(--green-2); box-shadow: 0 4px 0 #83ad99, 3px 6px 5px rgba(23,50,45,.14); }
.mini-tile-face { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #b9b09e; border-radius: 5px; background: linear-gradient(145deg, #fffefa, #f8f4e8 72%, #eee7d8); box-shadow: inset 1px 1px 0 white; }
.mini-tile-face::after { content: ""; position: absolute; inset: 0; opacity: .16; background: radial-gradient(circle at 18% 22%, #c7bda9 0 1px, transparent 1.4px); background-size: 7px 7px; }
.mini-tile-face > b { position: absolute; z-index: 2; top: 6px; left: 6px; font: 900 .48rem/1 var(--sans); }
.mini-tile.bam .mini-tile-face > b, .mini-tile.dot .mini-tile-face > b, .mini-tile.crak .mini-tile-face > b { color: #111; text-shadow: 0 1px 0 rgba(255,255,255,.95); }
.mini-tile-face > small { position: relative; z-index: 2; margin-top: .18rem; font: 900 .28rem/1 var(--sans); letter-spacing: .08em; }
.mini-tile-symbol { position: relative; z-index: 1; font-family: var(--serif); font-size: 1.65rem; line-height: 1; }
.mini-tile.crak, .mini-tile.red { color: #c74736; }.mini-tile.dot { color: #176f8b; }.mini-tile.bam, .mini-tile.green { color: #16735a; }.mini-tile.wind { color: #735826; }.mini-tile.flower { color: #aa3d70; }.mini-tile.joker { color: #9a6500; background: linear-gradient(135deg, #f0e5ae, #c9ae55); box-shadow: 0 4px 0 #ad913f, 3px 6px 5px rgba(23,50,45,.14); }
.mini-dot-pips { position: relative; z-index: 1; width: 27px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }.mini-dot-pips i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: currentColor; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.mini-bam-art, .mini-dragon-art, .mini-joker-art { position: relative; z-index: 1; width: 34px; height: 37px; }.mini-bam-art svg, .mini-dragon-art svg, .mini-joker-art svg { width: 100%; height: 100%; overflow: visible; }
.mini-soap-art { position: relative; z-index: 1; width: 31px; height: 36px; display: grid; place-items: center; border: 3px double #176f8b; background: #fffefa; }
.mini-soap-art i { width: 17px; height: 22px; border: 1px solid rgba(23,111,139,.35); }
.mini-wind-art { position: relative; z-index: 1; width: 31px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #a88a50; border-radius: 50%; background: radial-gradient(circle, #fffdf5 0 38%, #eee4cd 39% 43%, #fffdf5 44%); font-family: var(--serif); font-size: 1rem; }
.mini-flower-art { position: relative; z-index: 1; width: 31px; aspect-ratio: 1; display: grid; place-items: center; border: 2px dotted #d9a44d; border-radius: 50%; background: #fff3dc; font-size: 1.1rem; }
.tile-group .number { margin: 0; color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.tile-group h3 { margin: .65rem 0; font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; }

.card-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: var(--green); color: white; }
.card-visual { display: grid; place-items: center; perspective: 1000px; }
.rule-card { width: min(100%, 430px); min-height: 285px; padding: 1.5rem; background: #f6e6ad; color: #29413b; box-shadow: 20px 25px 0 rgba(0,0,0,.18); transform: rotate(-3deg); }
.rule-card-top { display: flex; justify-content: space-between; margin-bottom: 1.5rem; border-bottom: 2px solid #29413b; font-weight: 900; font-size: .7rem; letter-spacing: .08em; }
.fake-line { width: 55%; height: 6px; margin: .7rem 0; background: #517269; opacity: .8; }.fake-line.long { width: 100%; }.fake-line.medium { width: 76%; }
.fake-row { display: flex; gap: .5rem; margin: 1rem 0; }.fake-row span { width: 42px; height: 18px; background: var(--green-2); }.fake-row.warm span { background: var(--coral); }
.rule-card p { margin-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.2); padding-top: 1rem; font-family: var(--serif); font-style: italic; }
.card-copy { max-width: 650px; }
.check-list { list-style: none; padding: 0; margin: 1.8rem 0; }
.check-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.card-purchase-link { display: inline-flex; align-items: center; gap: .65rem; margin: .2rem 0 1.4rem; padding: .9rem 1.1rem; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; background: var(--gold); color: var(--ink); font-weight: 900; text-decoration: none; box-shadow: 5px 5px 0 rgba(0,0,0,.2); transition: transform .18s ease, box-shadow .18s ease; }
.card-purchase-link:hover, .card-purchase-link:focus-visible { transform: translate(2px, 2px); box-shadow: 3px 3px 0 rgba(0,0,0,.2); outline: 2px solid white; outline-offset: 3px; }
.card-purchase-link span { font-size: 1.05rem; }
.fine-print { opacity: .82; font-size: .875rem !important; }

.sequence-section { background: var(--gold); }
.sequence-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5vw; align-items: end; margin-bottom: 3.5rem; }
.sequence-heading h2 { max-width: 800px; margin: .4rem 0 0; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.sequence-heading > p { max-width: 470px; margin: 0 0 .5rem; font-size: 1.08rem; }
.game-sequence { counter-reset: sequence; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 1px; list-style: none; background: rgba(23,50,45,.25); }
.game-sequence li { min-height: 230px; background: #f7e4af; }
.game-sequence a { min-height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; padding: 1.6rem; color: inherit; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.game-sequence a:hover, .game-sequence a:focus-visible { background: #fff0c7; outline: 3px solid var(--green); outline-offset: -3px; }
.game-sequence a:hover b span, .game-sequence a:focus-visible b span { transform: translateY(3px); }
.game-sequence a > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 2.4rem; border-radius: 50%; background: var(--green); color: white; font-family: var(--serif); font-size: 1.1rem; }
.game-sequence strong { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.game-sequence small { max-width: 310px; margin-top: .65rem; color: #4c5b57; font-size: .82rem; line-height: 1.55; }
.game-sequence b { align-self: end; margin-top: 1.25rem; color: var(--green); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.game-sequence b span { display: inline-block; margin-left: .2rem; transition: transform .2s ease; }

.deal-section { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; background: var(--paper); }
.deal-copy { max-width: 670px; }
.deal-note { display: grid; gap: .25rem; margin: 2rem 0 1.5rem; padding: 1.25rem 1.4rem; border-left: 5px solid var(--coral); background: #f0eadc; }
.deal-note strong { font-family: var(--serif); font-size: 1.25rem; }
.deal-note span, .deal-next { color: #4c5b57; }
.deal-next { font-size: .94rem !important; }
.deal-next strong { color: var(--ink); }
.deal-table { position: relative; min-height: 540px; border: 14px solid #cfb482; border-radius: 18px; background: var(--green); box-shadow: inset 0 0 0 3px rgba(255,255,255,.12), 13px 15px 0 #e8dfcd; }
.deal-table::before { content: ""; position: absolute; inset: 15%; border: 12px double #f4e8ca; opacity: .85; }
.deal-seat { position: absolute; z-index: 2; min-width: 104px; padding: .65rem .8rem; border: 1px solid #b9b09d; border-radius: 5px; background: var(--paper); text-align: center; box-shadow: 5px 6px 0 var(--mint); }
.deal-seat span, .deal-seat strong, .deal-seat small { display: block; }
.deal-seat span { color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; font-weight: 900; }
.deal-seat strong { font-family: var(--serif); font-size: 2rem; line-height: 1.15; }
.deal-seat small { color: #64716d; font-size: .65rem; }
.deal-seat-north { bottom: 5%; left: 50%; transform: translateX(-50%); }
.deal-seat-south { top: 5%; left: 50%; transform: translateX(-50%); }
.deal-seat-east { top: 50%; right: 4%; transform: translateY(-50%); border-color: var(--gold); box-shadow: 5px 6px 0 var(--gold); }
.deal-seat-west { top: 50%; left: 4%; transform: translateY(-50%); }
.deal-table-center { position: absolute; z-index: 1; inset: 35%; display: grid; place-content: center; color: white; text-align: center; }
.deal-table-center span { text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; font-weight: 900; }
.deal-table-center strong { color: var(--gold); font-size: 3.2rem; line-height: 1; }
.deal-table-center small { color: rgba(255,255,255,.7); font-size: .65rem; }
.setup-details { grid-column: 1 / -1; margin-top: 1rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.setup-heading { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 5vw; align-items: end; margin-bottom: 2rem; }
.setup-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.setup-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.6rem); font-weight: 500; line-height: 1; }
.setup-heading > p:last-child { max-width: 520px; margin: 0; color: #4c5b57; }
.setup-steps { display: grid; grid-template-columns: 1fr; gap: 1px; padding: 1px; background: var(--line); }
.setup-steps article { min-height: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.65rem, 4vw, 3rem); background: #f8f3e9; }
.setup-number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--coral); color: white; font-size: .76rem; font-weight: 900; }
.setup-steps h4 { margin: 0 0 .7rem; font-family: var(--serif); font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.1; }
.setup-steps article > p { max-width: 860px; }
.setup-visual { position: relative; width: 100%; height: 175px; flex: 0 0 175px; margin: .35rem 0 1.15rem; overflow: hidden; border: 1px solid #d5cbb8; border-radius: 3px; background: #eee6d7; }
.setup-visual::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(23,50,45,.1); border-radius: 50%; }
.setup-visual b { position: absolute; left: 0; right: 0; bottom: 10px; color: #52625d; text-align: center; text-transform: uppercase; letter-spacing: .08em; font: 900 .5rem/1.2 var(--sans); }
.visual-seat { position: absolute; z-index: 3; min-width: 26px; height: 26px; display: grid; place-items: center; padding: 0 5px; border: 1px solid #9e947f; border-radius: 50%; background: #fffdf7; color: var(--green); font: 900 .58rem/1 var(--sans); box-shadow: 2px 2px 0 #c9d9d0; }
.visual-north { bottom: 8px; left: 50%; transform: translateX(-50%); }.visual-east { top: 50%; right: 7px; transform: translateY(-50%); }.visual-south { top: 8px; left: 50%; transform: translateX(-50%); }.visual-west { top: 50%; left: 7px; transform: translateY(-50%); }
.choose-east-visual .visual-east { border-color: var(--coral); background: var(--coral); color: white; box-shadow: 2px 2px 0 #e3aa8f; }
.choose-east-visual b { left: auto; right: 12px; top: 12px; bottom: auto; width: auto; padding: 5px 7px; border: 1px solid #d5cbb8; border-radius: 2px; background: #fffdf7; color: var(--green); text-align: right; transform: none; }
.visual-die { position: absolute; z-index: 2; top: 49%; width: 29px; height: 29px; display: grid; place-items: center; transform: translateY(-50%) rotate(5deg); border: 1px solid #a49a87; border-radius: 5px; background: white; color: var(--green); font-size: 1.35rem; line-height: 1; box-shadow: 2px 3px 0 #d4c8b3; }
.visual-die:nth-of-type(5) { left: calc(50% - 32px); }.visual-die:nth-of-type(6) { right: calc(50% - 32px); transform: translateY(-50%) rotate(-7deg); }
.wall-square { position: absolute; top: 50%; left: 50%; width: 116px; height: 116px; transform: translate(-50%, -56%); }
.wall { position: absolute; z-index: 2; border: 1px solid #708b7e; border-radius: 1px; background-color: #e5f0e9; box-shadow: 2px 2px 0 #91b2a2; }
.wall-top, .wall-bottom { left: 0; width: 100%; height: 11px; background-image: linear-gradient(to right, transparent calc(100% - 1px), #708b7e 0); background-size: calc(100% / 19) 100%; }
.wall-left, .wall-right { top: 0; width: 11px; height: 100%; background-image: linear-gradient(to bottom, transparent calc(100% - 1px), #708b7e 0); background-size: 100% calc(100% / 19); }
.wall-top { top: 0; }.wall-bottom { bottom: 0; }.wall-left { left: 0; }.wall-right { right: 0; }
.wall-direction { position: absolute; z-index: 3; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #fffdf7; color: var(--green); font: 900 .45rem/1 var(--sans); box-shadow: 1px 1px 0 #c7bda9; }
.wall-direction-north { bottom: 17px; left: 50%; transform: translateX(-50%); }.wall-direction-east { top: 50%; right: 17px; transform: translateY(-50%); }.wall-direction-south { top: 17px; left: 50%; transform: translateX(-50%); }.wall-direction-west { top: 50%; left: 17px; transform: translateY(-50%); }
.wall-visual b { bottom: 7px; }
.break-example::before, .deal-example::before { display: none; }
.dice-roll-example { min-height: 102px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--green); border-right: 1px solid #d5cbb8; background: #eee6d7; }
.dice-roll-example span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #9e947f; border-radius: 4px; background: white; font-size: 1.5rem; box-shadow: 1px 2px 0 #d4c8b3; }
.dice-roll-example b { color: #7a766a; font: 800 .78rem/1 var(--sans); }
.dice-roll-example strong { color: var(--coral); font: 900 1.3rem/1 var(--sans); }
.setup-visual .count-instruction { position: absolute; top: 20px; right: 14px; margin: 0; color: var(--green); font: 900 .58rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.count-instruction span { color: var(--coral); font-size: .85rem; }
.counted-wall, .deal-wall { position: absolute; left: 8%; right: 8%; top: 73px; height: 42px; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.counted-wall i, .deal-wall i { position: relative; width: 21px; height: 32px; flex: 0 0 21px; border: 1px solid #708b7e; border-radius: 2px; background: linear-gradient(to bottom, #f9fcfa 0 47%, #708b7e 47% 52%, #e5f0e9 52%); box-shadow: 1px 2px 0 #91b2a2; }
.counted-wall i::after { content: attr(data-count); position: absolute; left: 0; right: 0; bottom: -16px; color: var(--green); text-align: center; font: 900 .48rem/1 var(--sans); }
.counted-wall .next-stack { border-color: var(--coral); background: linear-gradient(to bottom, #fff8f3 0 47%, var(--coral) 47% 52%, #f8d8ca 52%); box-shadow: 1px 2px 0 #e3aa8f; }
.wall-break { position: relative; width: 12px; height: 39px; flex: 0 0 12px; border-left: 2px dashed var(--coral); }
.wall-break::after { content: "BREAK"; position: absolute; top: -14px; left: -15px; color: var(--coral); font: 900 .42rem/1 var(--sans); letter-spacing: .04em; }
.deal-start-label { position: absolute; left: 12%; bottom: 13px; color: var(--coral); font: 900 .55rem/1 var(--sans); text-transform: uppercase; }
.right-end-label { position: absolute; right: 12%; bottom: 13px; color: #68736f; font: 800 .52rem/1 var(--sans); text-transform: uppercase; }
.same-break-label { position: absolute; top: 10px; left: 9px; padding: 4px 6px; background: var(--coral); color: white; font: 900 .46rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.deal-wall { top: 41px; }
.deal-wall .pickup-stack { border-color: var(--coral); background: linear-gradient(to bottom, #fff8f3 0 47%, var(--coral) 47% 52%, #f8d8ca 52%); box-shadow: 1px 2px 0 #e3aa8f; transform: translateY(4px); }
.pickup-label { position: absolute; top: 91px; left: 12%; display: grid; gap: 2px; color: var(--coral); }
.pickup-label b { position: static; color: var(--coral); text-align: left; font: 900 .48rem/1.2 var(--sans); letter-spacing: .02em; transform: none; }
.setup-visual .pickup-label small { margin: 0; padding: 0; color: #52625d; font: 700 .44rem/1.2 var(--sans); }
.deal-order { position: absolute; left: 8%; right: 8%; bottom: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.deal-order span { padding: 4px 2px; border: 1px solid #b8ae9b; background: #fffdf7; color: var(--green); text-align: center; font: 900 .42rem/1 var(--sans); }
.deal-order span:first-child { border-color: var(--coral); background: var(--coral); color: white; }
.full-wall-visual { height: 265px; flex-basis: 265px; margin-top: 1.2rem; }
.deal-example.full-wall-visual { height: 300px; flex-basis: 300px; }
.full-wall-scroll { position: absolute; top: 54px; left: 18px; right: 18px; bottom: 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.deal-example .full-wall-scroll { bottom: 52px; }
.full-wall-canvas { min-width: 720px; height: 100%; display: grid; grid-template-rows: auto 60px auto; align-content: center; gap: .55rem; }
.full-wall-labels, .full-wall-markers { display: grid; grid-template-columns: 12fr 7fr; gap: 26px; color: #66726e; font: 900 .52rem/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.full-wall-labels span:first-child { text-align: left; }.full-wall-labels span:last-child { text-align: right; }
.full-wall-row { display: grid; grid-template-columns: repeat(12, minmax(22px, 1fr)) 18px repeat(7, minmax(22px, 1fr)); gap: 4px; align-items: end; }
.full-wall-row i { position: relative; height: 48px; border: 1px solid #708b7e; border-radius: 2px; background: linear-gradient(to bottom, #f9fcfa 0 47%, #708b7e 47% 52%, #e5f0e9 52%); box-shadow: 1px 2px 0 #91b2a2; }
.full-wall-row i::after { content: attr(data-count); position: absolute; left: 0; right: 0; bottom: -15px; color: var(--green); text-align: center; font: 900 .47rem/1 var(--sans); }
.full-wall-row .wall-break { width: auto; height: 56px; border-left-width: 3px; }
.full-wall-row .counted-stack { border-color: var(--coral); background: linear-gradient(to bottom, #fff8f3 0 47%, var(--coral) 47% 52%, #f8d8ca 52%); box-shadow: 1px 2px 0 #e3aa8f; }
.full-wall-row .open-stack { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(215,167,65,.28), 1px 2px 0 #91b2a2; }
.full-wall-row .pickup-stack { border-color: var(--coral); background: linear-gradient(to bottom, #fff3ed 0 47%, var(--coral) 47% 52%, #f8d8ca 52%); box-shadow: 0 0 0 2px rgba(232,95,69,.2), 1px 2px 0 #e3aa8f; transform: translateY(4px); }
.full-wall-row .tail-stack { opacity: .6; }
.full-wall-markers span:first-child { color: var(--coral); text-align: right; }.full-wall-markers span:last-child { text-align: right; }
.final-picks-example { width: 100%; margin: 1.15rem 0; padding: .85rem; border: 1px solid #d5cbb8; border-radius: 3px; background: #eee6d7; }
.final-picks-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .65rem; }
.final-picks-heading strong { color: var(--green); font: 600 1rem/1 var(--serif); }.final-picks-heading span { color: #68736f; font: 800 .48rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .05em; text-align: right; }
.final-picks-open { display: block; margin-bottom: .3rem; color: var(--coral); font: 900 .5rem/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; }
.final-picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px 7px; }
.final-picks-grid > span { min-height: 43px; display: grid; place-content: center; gap: 2px; border: 1px solid #708b7e; border-radius: 2px; background: #fffdf7; color: var(--green); text-align: center; box-shadow: 1px 2px 0 #91b2a2; }
.final-picks-grid b { font: 900 .62rem/1 var(--sans); }.final-picks-grid small { margin: 0; padding: 0; color: inherit; font: 700 .45rem/1 var(--sans); }
.final-picks-grid .final-pick-east { border-color: var(--coral); background: #fff1eb; color: var(--coral); box-shadow: 1px 2px 0 #e3aa8f; }
.final-picks-grid .final-pick-remains { border-style: dashed; background: repeating-linear-gradient(45deg, #f7f2e7 0 4px, #e8dfcd 4px 8px); color: #6d7773; box-shadow: none; }
.final-picks-example > p { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: .45rem 0 0; color: #68736f; text-align: center; font: 800 .44rem/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.setup-steps p { margin: 0; color: #43534f; font-size: .83rem; line-height: 1.6; }
.setup-steps small { display: block; margin-top: .55rem; padding-top: 0; color: #65716e; font-size: .75rem; line-height: 1.5; }
.setup-equation { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .9rem; padding-top: 0; color: var(--green); font-size: .75rem; }
.setup-equation strong { font-family: var(--sans); font-size: .7rem; }
.setup-equation span { color: var(--coral); font-weight: 900; }
.wall-roll-example { width: 100%; display: grid; grid-template-columns: minmax(150px, .72fr) 1.28fr; align-items: stretch; margin: .35rem 0 .75rem; border: 1px solid #d5cbb8; border-radius: 3px; background: #fffaf0; overflow: hidden; }
.wall-roll-example > div:last-child { display: grid; align-content: center; gap: .35rem; padding: .9rem 1.1rem; }
.wall-roll-example > div:last-child > strong { color: var(--green); font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; }
.wall-roll-example p { font-size: .78rem; line-height: 1.5; }
.wall-push-example { width: 100%; display: grid; grid-template-columns: minmax(150px, .72fr) 1.28fr; align-items: stretch; margin: 0 0 .2rem; border: 1px solid #d5cbb8; border-radius: 3px; background: #fffaf0; overflow: hidden; }
.wall-break-step .wall-push-example { margin-top: .75rem; }
.wall-push-picture { position: relative; min-height: 132px; border-right: 1px solid #d5cbb8; background: #eee6d7; overflow: hidden; }
.wall-push-picture::before { content: "TABLE CENTER"; position: absolute; top: 11px; left: 14px; color: #7b827e; font: 900 .47rem/1 var(--sans); letter-spacing: .08em; }
.wall-push-rack, .wall-push-original, .wall-push-angled { position: absolute; left: 18px; width: 112px; height: 12px; border-radius: 1px; }
.wall-push-rack { bottom: 19px; background: #52625d; box-shadow: 1px 2px 0 #9aab9f; }
.wall-push-original { bottom: 46px; border: 1px dashed #9e947f; background: rgba(255,253,247,.55); }
.wall-push-angled { bottom: 46px; transform: rotate(-25deg); transform-origin: left center; border: 1px solid #708b7e; background: repeating-linear-gradient(to right, #e5f0e9 0 8px, #708b7e 8px 9px); box-shadow: 1px 2px 0 #91b2a2; }
.wall-push-arrow { position: absolute; top: 31px; right: 10px; color: var(--coral); font: 900 1.45rem/1 var(--sans); }
.wall-push-example > div:last-child { display: grid; align-content: center; gap: .4rem; padding: 1rem 1.1rem; }
.wall-push-example strong { color: var(--green); font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; }
.wall-push-example p { font-size: .78rem; line-height: 1.5; }
.wall-count-example { width: 100%; margin: .75rem 0 0; border: 1px solid #d5cbb8; border-radius: 3px; background: #fffaf0; overflow: hidden; }
.wall-count-copy { display: grid; gap: .35rem; padding: .9rem 1.1rem; border-bottom: 1px solid #d5cbb8; }
.wall-count-copy > strong { color: var(--green); font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; }
.wall-count-copy p { font-size: .78rem; line-height: 1.5; }
.wall-count-example .break-example { margin: 0; border: 0; border-radius: 0; }
.break-roll-total { position: absolute; top: 18px; left: 14px; color: var(--green); font: 900 .58rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.break-roll-total strong { color: var(--coral); font-size: 1rem; }
.wall-open-result { width: 100%; margin-top: 1rem; padding: 1rem 1.1rem; border-left: 4px solid var(--coral); background: #fffaf0; }
.wall-open-result > strong { display: block; margin-bottom: .25rem; color: var(--green); font-family: var(--serif); font-size: 1rem; }
.wall-open-result p { font-size: .78rem; line-height: 1.5; }
.setup-guest-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; background: var(--line); }
.setup-guest-actions .deal-note { margin: 0; padding: 1.35rem 1.45rem; background: #f0eadc; }
.setup-guest-actions .deal-next { display: grid; align-content: center; gap: .25rem; margin: 0; padding: 1.35rem 1.45rem; background: #fff9ed; line-height: 1.55; }
.setup-guest-actions .deal-next strong { display: block; }
.setup-draw-note { margin: 1px 0 0; padding: 1.1rem 1.3rem; background: var(--mint); color: #30433e; font-size: .82rem; line-height: 1.55; }

.turn-section { background: #f0eadc; }
.turn-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.turn-track article { position: relative; min-height: 330px; padding: 2rem; border: 1px solid var(--line); background: var(--paper); }
.turn-number { color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .1em; }
.turn-track h3 { margin: 1rem 0 .4rem; font-family: var(--serif); font-size: 2rem; }
.track-arrow { font-size: 2rem; color: var(--coral); }
.turn-icon { height: 105px; margin-top: 1.8rem; display: flex; align-items: center; justify-content: center; }
.turn-icon i { display: block; width: 62px; height: 82px; border: 1px solid #b9b09d; border-radius: 5px; background: white; box-shadow: 5px 6px 0 var(--mint); }
.turn-icon.draw i { transform: rotate(9deg); background: repeating-linear-gradient(45deg, white 0 9px, #f6d5ce 9px 12px); }
.turn-icon.look { gap: -10px; }.turn-icon.look i { width: 50px; height: 65px; margin-left: -12px; }.turn-icon.look i:nth-child(2) { transform: translateY(-12px); }.turn-icon.look i:nth-child(3) { transform: translateY(5px); }
.turn-icon.discard i { transform: rotate(-8deg); background: radial-gradient(circle at center, var(--green-2) 0 5px, transparent 6px); }
.callout { max-width: 860px; display: flex; gap: 1.5rem; margin: 3.5rem auto 0; padding: 1.5rem 2rem; border: 1px solid var(--coral); background: #fff4ed; }
.callout-mark { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-weight: 900; }
.callout h3, .callout p { margin: 0; }.callout h3 { font-family: var(--serif); font-size: 1.4rem; }
.table-note { max-width: 1080px; align-items: flex-start; border-color: #b8c8bf; background: rgba(255,255,255,.48); }
.table-note .callout-mark { background: var(--green); }
.table-note-copy { flex: 1; }
.table-note-label { margin-bottom: .25rem !important; color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 900; }
.table-note h3 { margin-bottom: .35rem; font-size: 1.7rem; }
.table-note-intro { max-width: 760px; color: #485954; font-size: .92rem; }
.claim-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.4rem; padding: 1px; background: #cbd5cf; }
.claim-steps article { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-content: start; padding: 1.1rem; background: var(--paper); }
.claim-steps article > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font: 900 .72rem/1 var(--sans); }
.claim-steps strong { display: block; margin-bottom: .25rem; color: var(--ink); font-family: var(--serif); font-size: 1rem; line-height: 1.2; }
.claim-steps p { color: #485954; font-size: .77rem; line-height: 1.5; }
.claim-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; margin-top: 1.2rem; }
.claim-rules p { color: #485954; font-size: .77rem; line-height: 1.55; }
.claim-rules strong { color: var(--ink); }

.charleston-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; background: var(--paper); }
.charleston-copy details { border-top: 1px solid var(--line); padding: 1rem 0; }
.charleston-copy details:last-child { border-bottom: 1px solid var(--line); }
.charleston-rule { margin: 1.2rem 0 1.4rem; padding: .85rem 1rem; border-left: 4px solid var(--coral); background: #f0eadc; color: #43534f; font-size: .9rem !important; }
.charleston-rule strong { color: var(--coral); }
.charleston-phases { display: grid; gap: 1px; margin: 0 0 1.4rem; padding: 1px; background: var(--line); list-style: none; }
.charleston-phases li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; padding: .9rem 1rem; background: #fffaf0; }
.charleston-phases li > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font: 900 .68rem/1 var(--sans); }
.charleston-phases strong { color: var(--ink); font-family: var(--serif); font-size: .92rem; }
.charleston-phases p { margin: .2rem 0 0; color: #52625d; font-size: .73rem !important; line-height: 1.45; }
.charleston-phases b { color: var(--coral); }
summary { display: flex; justify-content: space-between; cursor: pointer; font-weight: 800; list-style: none; } summary::-webkit-details-marker { display: none; }
details[open] > summary > span[aria-hidden="true"] { transform: rotate(45deg); }
.pattern-independent { color: var(--ink); }
.pass-map { position: relative; min-height: 540px; border: 1px solid var(--line); background: var(--cream); }
.player { position: absolute; display: flex; gap: 5px; }.player span { width: 31px; height: 41px; border: 1px solid #aaa28f; border-radius: 3px; background: white; box-shadow: 3px 3px 0 var(--mint); }
.player-top { top: 8%; left: 50%; transform: translateX(-50%); }.player-bottom { bottom: 8%; left: 50%; transform: translateX(-50%) rotate(180deg); }.player-left { left: 9%; top: 50%; transform: translateY(-50%) rotate(-90deg); }.player-right { right: 9%; top: 50%; transform: translateY(-50%) rotate(90deg); }
.map-center { position: absolute; inset: 35%; display: grid; place-content: center; border-radius: 50%; background: var(--green); color: white; text-align: center; text-transform: uppercase; font-size: .72rem; letter-spacing: .09em; }.map-center strong { font-family: var(--serif); text-transform: none; font-size: 1.2rem; letter-spacing: 0; }
.map-arrow { position: absolute; color: var(--coral); font-size: 2rem; }.arrow-top { top: 17%; left: 65%; }.arrow-right { top: 65%; right: 20%; }.arrow-bottom { bottom: 17%; right: 65%; }.arrow-left { bottom: 65%; left: 20%; }

.drills-section { background: var(--green); color: white; }
.drill-page .drills-section { min-height: calc(100vh - 80px); }
.drills-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: end; margin-bottom: 3.5rem; }
.drills-intro h1, .drills-intro h2 { max-width: 760px; margin: .4rem 0 0; font-size: clamp(3.1rem, 5.7vw, 6rem); }
.drills-intro > p { max-width: 600px; margin: 0 0 .5rem; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.drill-standard { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(320px, 1.3fr); gap: 1rem 3rem; max-width: 1120px; margin: -1rem 0 2.25rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.07); }
.drill-standard h2 { margin: .35rem 0 0; color: white; font: 500 clamp(1.55rem, 2.5vw, 2.25rem)/1.05 var(--serif); }
.drill-standard ul { display: grid; gap: .65rem; margin: 0; padding-left: 1.1rem; color: rgba(255,255,255,.86); font-size: .78rem; line-height: 1.55; }
.drill-standard > p { grid-column: 2; margin: 0; color: rgba(255,255,255,.7); font-size: .74rem; line-height: 1.55; }
.drill-standard-links { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.drill-standard-links a { color: var(--gold); font-weight: 900; text-underline-offset: 4px; }
.drill-library { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1120px; margin: 0 0 2rem; padding: 1px; background: rgba(255,255,255,.18); }
.drill-library-card { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; min-height: 96px; padding: 1rem 1.15rem; border: 0; background: #1a4b40; color: white; text-align: left; cursor: pointer; transition: background .18s ease, color .18s ease; }
.drill-library-card:hover, .drill-library-card:focus-visible { background: #245b4e; outline: 2px solid var(--gold); outline-offset: -3px; }
.drill-library-card.is-active { background: var(--gold); color: var(--ink); }
.drill-library-card > span { grid-row: 1 / span 2; color: var(--gold); font-family: var(--serif); font-size: 1.35rem; line-height: 1; }.drill-library-card.is-active > span { color: var(--green); }
.drill-library-card strong { font-family: var(--serif); font-size: 1.05rem; line-height: 1.1; }.drill-library-card small { color: rgba(255,255,255,.62); font-size: .68rem; line-height: 1.25; }.drill-library-card.is-active small { color: rgba(23,50,45,.72); }
.drill-shell { display: grid; grid-template-columns: minmax(220px, .68fr) minmax(0, 1.6fr); background: var(--paper); color: var(--ink); box-shadow: 16px 16px 0 rgba(0,0,0,.16); }
.drill-sidebar, .drill-game { min-width: 0; }
.drill-sidebar { padding: clamp(1.8rem, 3.5vw, 3.5rem); background: var(--gold); }
.drill-kicker, .drill-step { margin: 0 0 .65rem; color: var(--coral); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 900; }
.drill-sidebar .drill-kicker { color: var(--green); }
.drill-sidebar h3 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; }
.drill-sidebar > p:not(.drill-kicker):not(.drill-note) { font-size: .95rem; }
.drill-stats { display: grid; grid-template-columns: 1fr; margin: 2rem 0; background: rgba(23,50,45,.25); border: 1px solid rgba(23,50,45,.25); }
.drill-stats div { padding: 1rem; background: rgba(255,255,255,.2); }
.drill-stats strong, .drill-stats span { display: block; }.drill-stats strong { font-family: var(--serif); font-size: 1.8rem; }.drill-stats span { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.difficulty-picker { margin: 0 0 1.5rem; }
.difficulty-picker > p { margin: 0 0 .55rem; color: var(--green); text-transform: uppercase; letter-spacing: .11em; font-size: .62rem; font-weight: 900; }
.difficulty-picker > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 1px; background: rgba(23,50,45,.28); }
.difficulty-picker button { min-width: 0; padding: .72rem .35rem; border: 0; background: rgba(255,255,255,.25); color: var(--green); font: 800 .62rem/1 var(--sans); cursor: pointer; }
.difficulty-picker button:hover, .difficulty-picker button:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
.difficulty-picker button.is-active { background: var(--green); color: white; }
.difficulty-picker small { display: block; min-height: 2.8em; margin-top: .65rem; color: rgba(23,50,45,.75); font-size: .68rem; line-height: 1.4; }
.drill-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(23,50,45,.22); font-size: .72rem; line-height: 1.5; }
.drill-game { padding: clamp(1.8rem, 4vw, 4rem); }
.drill-game-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.drill-game-topline h3 { margin: 0; max-width: 630px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.15rem); line-height: 1.05; }
.shuffle-button { flex: 0 0 auto; padding: .7rem .9rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.shuffle-button:hover { border-color: var(--coral); color: var(--coral); }
.mini-practice-card { margin: 2rem 0 1.5rem; border: 1px solid #bcae93; background: #fffdf7; box-shadow: 5px 6px 0 #dfd5c2; }
.mini-practice-card[hidden] { display: none; }
.mini-practice-card-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid #d8cfbe; background: #f3ecdd; }
.mini-practice-card-heading p { margin: 0 0 .18rem; color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: .55rem; font-weight: 900; }
.mini-practice-card-heading h4 { margin: 0; font-family: var(--serif); font-size: 1.22rem; }
.mini-practice-card-heading > span { max-width: 220px; color: #64716d; font-size: .65rem; line-height: 1.35; text-align: right; }
.mini-practice-patterns { display: grid; grid-template-columns: repeat(4, 1fr); }
.mini-practice-pattern { min-width: 0; padding: .9rem 1rem 1rem; border-right: 1px solid #ded6c8; }
.mini-practice-pattern.is-current { background: #eef3e9; box-shadow: inset 0 -4px var(--green); }
.mini-practice-pattern.has-content-error { background: #fff0ed; box-shadow: inset 0 -4px #b42e23; }
.mini-practice-pattern.is-current > span { color: var(--green); }
.mini-practice-pattern:last-child { border-right: 0; }
.mini-practice-pattern span, .mini-practice-pattern strong, .mini-practice-pattern b, .mini-practice-pattern small { display: block; }
.mini-practice-pattern span { margin-bottom: .3rem; color: #7d8a85; text-transform: uppercase; letter-spacing: .08em; font-size: .5rem; font-weight: 900; }
.mini-practice-pattern strong { font-family: var(--serif); font-size: .94rem; line-height: 1.15; }
.mini-practice-pattern b { margin: .55rem 0 .35rem; color: var(--green); font-size: clamp(.66rem, 1vw, .78rem); letter-spacing: .04em; line-height: 1.35; }
.mini-practice-pattern small { color: #687570; font-size: .58rem; line-height: 1.35; }
.mini-practice-patterns[data-format="rows"] { display: block; background: #fffef9; }
.mini-practice-patterns[data-format="rows"] .mini-practice-pattern { display: grid; grid-template-columns: 32px 90px minmax(0, 1fr) 24px 34px; align-items: center; gap: .6rem; min-height: 86px; padding: .8rem .85rem; border-right: 0; border-bottom: 1px solid #ded6c8; }
.mini-practice-patterns[data-format="rows"] .mini-practice-pattern:last-child { border-bottom: 0; }
.mini-practice-patterns[data-format="rows"] .practice-line-code { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #bcae93; border-radius: 50%; color: var(--ink); font: 900 .7rem/1 var(--sans); }
.mini-practice-patterns[data-format="rows"] .practice-line-category { margin: 0; color: var(--ink); text-transform: none; letter-spacing: normal; }
.mini-practice-patterns[data-format="rows"] .practice-line-category > span { margin: 0; color: var(--ink); font-size: .62rem; letter-spacing: .1em; }
.mini-practice-patterns[data-format="rows"] .practice-line-category > small { margin-top: .24rem; color: #687570; font: 700 .68rem/1.15 var(--serif); text-transform: none; letter-spacing: 0; }
.mini-practice-patterns[data-format="rows"] .practice-line-copy { margin: 0; color: inherit; text-transform: none; letter-spacing: normal; }
.mini-practice-patterns[data-format="rows"] .practice-line-copy b { margin: 0 0 .25rem; font: 900 clamp(1.18rem, 2vw, 1.4rem)/1.2 var(--sans); letter-spacing: .02em; }
.mini-practice-patterns[data-format="rows"] .practice-line-copy .pattern-suit,
.mini-practice-patterns[data-format="rows"] .practice-line-copy .pattern-divider { margin-bottom: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; text-transform: none; }
.mini-practice-patterns[data-format="rows"] .practice-line-copy small { color: #687570; font-size: .72rem; font-style: italic; text-transform: none; letter-spacing: 0; }
.mini-practice-patterns[data-format="rows"] .practice-line-status,
.mini-practice-patterns[data-format="rows"] .practice-line-points { margin: 0; color: var(--ink); text-align: center; font: 900 .78rem/1 var(--sans); letter-spacing: .02em; }
.mini-practice-patterns[data-format="rows"] .practice-line-status { color: var(--coral); }
.mini-practice-card-note { margin: 0; padding: .72rem 1rem; border-top: 1px solid #d8cfbe; background: #f8f4e9; color: #53645e; font-size: .65rem; line-height: 1.45; }
.discard-offer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 1.8rem 0 1rem; padding: 1rem 1.15rem; border: 1px solid #c9bda7; border-left: 5px solid var(--coral); background: #f7f1e5; box-shadow: 5px 6px 0 #e1d7c5; }
.discard-offer[hidden] { display: none; }
.discard-offer p { margin: 0 0 .18rem; color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; font-weight: 900; }
.discard-offer strong, .discard-offer > div > span { display: block; }.discard-offer strong { font-family: var(--serif); font-size: 1.2rem; }.discard-offer > div > span { margin-top: .25rem; color: #64716d; font-size: .67rem; line-height: 1.4; }
.discard-tile-slot { flex: 0 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.discard-tile-slot .practice-tile { width: 58px; max-width: 58px; height: 84px; }
.discard-tile-slot .practice-tile:nth-child(n) { transform: none; }
.discard-offer.is-opponent-rack { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: .75rem; padding: 1rem; border: 0; border-radius: 8px; background: #17473d; box-shadow: 7px 8px 0 #d7a741; color: white; }
.discard-offer.is-opponent-rack > div:first-child { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: .5rem 1rem; padding: .6rem .85rem; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: rgba(0,0,0,.09); }
.discard-offer.is-opponent-rack p { color: var(--gold); }
.discard-offer.is-opponent-rack strong { color: white; font-size: 1.25rem; }
.discard-offer.is-opponent-rack > div > span { margin: 0; color: rgba(255,255,255,.68); }
.discard-offer.is-opponent-rack .discard-tile-slot { position: relative; display: grid; grid-template-columns: max-content max-content; justify-content: space-between; align-items: end; gap: .8rem; min-width: 0; padding: 1.15rem 1rem 1.3rem; border: 1px solid rgba(255,255,255,.16); border-bottom: 12px solid #d7a741; border-radius: 6px 6px 3px 3px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); overflow-x: auto; }
.opponent-exposures, .opponent-concealed-tiles, .opponent-exposure-group { display: flex; align-items: flex-end; }
.opponent-exposures { gap: .55rem; width: max-content; }
.opponent-exposure-group { gap: 3px; padding-right: .55rem; border-right: 1px dashed rgba(255,255,255,.35); }
.opponent-exposure-group:last-child { padding-right: 0; border-right: 0; }
.discard-offer.is-opponent-rack .practice-tile { flex: 0 0 39px; width: 39px; min-width: 39px; max-width: 39px; height: 61px; }
.discard-offer.is-opponent-rack .tile-corner { top: 3px; left: 3px; z-index: 4; min-width: 13px; padding: 2px 3px; border: 1px solid rgba(23,71,61,.18); border-radius: 9px; background: rgba(255,253,247,.94); box-shadow: 0 1px 0 rgba(23,71,61,.12); font-size: .52rem; text-align: center; }
.discard-offer.is-opponent-rack .tile-symbol-bam, .discard-offer.is-opponent-rack .tile-symbol-bird { width: 25px; height: 34px; margin-top: 7px; }
.discard-offer.is-opponent-rack .tile-symbol-soap { width: 25px; height: 34px; border-width: 3px; }
.discard-offer.is-opponent-rack .bam-stalks { gap: 1px 2px; padding: 1px; }
.discard-offer.is-opponent-rack .bam-stalks i { width: 3px; min-height: 7px; }
.discard-offer.is-opponent-rack .bam-stalks i::before, .discard-offer.is-opponent-rack .bam-stalks i::after { width: 4px; height: 1px; }
.discard-offer.is-opponent-rack .practice-tile small { margin-top: .12rem; font-size: .31rem; }
.opponent-concealed-tiles { flex-direction: row-reverse; gap: 2px; padding-left: .8rem; border-left: 1px solid rgba(255,255,255,.28); }
.opponent-tile-back { flex: 0 0 13px; width: 13px; height: 47px; border: 1px solid #7ba391; border-radius: 3px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.17) 0 2px, transparent 2px 5px), linear-gradient(145deg, #aed0bf, #6f9d89); box-shadow: 0 3px 0 #547c6a, 1px 4px 3px rgba(0,0,0,.25); }
.practice-rack { display: flex; align-items: flex-end; gap: clamp(3px, .45vw, 6px); margin: 2.5rem 0 .55rem; padding: 1.25rem .8rem 2.45rem; border: 1px solid #c9bda7; border-bottom: 13px solid #6d9986; border-radius: 7px 7px 3px 3px; background: linear-gradient(135deg, #e9e1d2 0%, #f3ecdf 48%, #ded3c1 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 16px rgba(23,50,45,.08); overflow-x: auto; }
.practice-rack[hidden], .rack-reorder-help[hidden] { display: none; }
.practice-tile { position: relative; flex: 1 1 36px; min-width: 36px; max-width: 62px; height: clamp(68px, 8vw, 96px); padding: 0 3px 5px 0; border: 0; border-radius: 7px; background: linear-gradient(135deg, #dcece2 0%, #a9cdbb 100%); box-shadow: 0 5px 0 #83ad99, 2px 8px 7px rgba(23,50,45,.2); font-family: var(--serif); line-height: 1; transform: translateY(0); }
.practice-tile:nth-child(3n + 2) { transform: translateY(-2px); }
.practice-tile.is-reorderable { cursor: grab; }.practice-tile.is-dragging { z-index: 5; opacity: .55; cursor: grabbing; }
.practice-tile.is-drawn-tile { flex: 0 0 clamp(36px, 5vw, 62px); margin-left: clamp(18px, 2.4vw, 34px); box-shadow: 0 5px 0 #d09a32, 2px 8px 7px rgba(23,50,45,.2); }
.practice-tile.is-drawn-tile::before { content: "DRAWN"; position: absolute; z-index: 4; top: -17px; left: 50%; transform: translateX(-50%); color: #111; font: 900 .46rem/1 var(--sans); letter-spacing: .08em; white-space: nowrap; }
.practice-tile.is-drawn-tile::after { content: ""; position: absolute; top: -18px; bottom: -7px; left: clamp(-19px, -1.2vw, -11px); border-left: 2px dashed var(--coral); }
.practice-tile.is-drawn-tile .tile-face { border-color: #d09a32; }
.practice-tile .tile-face { user-select: none; -webkit-user-select: none; }
.practice-tile:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.tile-move-controls { position: absolute; left: 0; right: 3px; bottom: -31px; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.tile-move-controls button { height: 22px; padding: 0; border: 1px solid #a9aa9e; border-radius: 3px; background: #fffdf7; color: var(--green); font: 900 1rem/1 var(--serif); cursor: pointer; }
.tile-move-controls button:hover, .tile-move-controls button:focus-visible { border-color: var(--coral); color: var(--coral); outline: none; }.tile-move-controls button:disabled { opacity: .25; cursor: default; }
.rack-reorder-help { display: flex; justify-content: space-between; gap: 1rem; min-height: 1.2rem; margin: 0 0 2.2rem; color: #6c7975; font-size: .66rem; line-height: 1.4; }.rack-reorder-help span { color: var(--green); font-weight: 800; text-align: right; }
.tile-face { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #b9b09e; border-radius: 6px; background: linear-gradient(145deg, #fffefa 0%, #f8f4e8 72%, #eee7d8 100%); box-shadow: inset 1px 1px 0 white, inset -1px -1px 0 rgba(113,88,38,.08); }
.tile-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: radial-gradient(circle at 18% 22%, #c7bda9 0 1px, transparent 1.4px); background-size: 8px 8px; }
.tile-corner { position: absolute; z-index: 2; top: 7px; left: 7px; font-family: var(--sans); font-size: clamp(.55rem, .9vw, .72rem); font-weight: 900; line-height: 1; }
.practice-tile.bam .tile-corner, .practice-tile.dot .tile-corner, .practice-tile.crak .tile-corner { color: #111; text-shadow: 0 1px 0 rgba(255,255,255,.95); }
.tile-symbol { position: relative; z-index: 1; display: grid; place-items: center; font-size: clamp(1.45rem, 3vw, 2.35rem); font-weight: 700; line-height: 1; text-shadow: 0 1px 0 white; }
.practice-tile small { position: relative; z-index: 1; margin-top: .3rem; font-family: var(--sans); font-size: clamp(.31rem, .5vw, .43rem); font-weight: 900; letter-spacing: .08em; }
.practice-tile.bam { color: #16735a; }.practice-tile.dot, .practice-tile.soap { color: #176f8b; }.practice-tile.crak, .practice-tile.red { color: #c74736; }.practice-tile.honor { color: #735826; }.practice-tile.green { color: #16735a; }.practice-tile.flower { color: #aa3d70; }.practice-tile.joker { color: #9a6500; background: linear-gradient(135deg, #f0e5ae, #c9ae55); box-shadow: 0 5px 0 #ad913f, 2px 8px 7px rgba(23,50,45,.2); }
.tile-symbol-dot { width: clamp(24px, 3.5vw, 36px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tile-symbol-dot i { width: clamp(4px, .62vw, 7px); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; background: currentColor; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.tile-symbol-bam { width: clamp(34px, 4.6vw, 52px); height: clamp(38px, 5vw, 56px); }
.tile-symbol-bird { width: clamp(34px, 4.6vw, 52px); height: clamp(38px, 5vw, 56px); }
.tile-symbol-bird svg { width: 100%; height: 100%; overflow: visible; }
.bam-stalks { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; place-items: center; gap: 3px 4px; padding: 2px; }
.bam-stalks.bam-count-1 { grid-template-columns: 1fr; }
.bam-stalks.bam-count-2, .bam-stalks.bam-count-4 { grid-template-columns: repeat(2, 1fr); }
.bam-stalks.bam-count-7, .bam-stalks.bam-count-8 { grid-template-columns: repeat(4, 1fr); }
.bam-stalks i { position: relative; display: block; width: clamp(4px, .65vw, 7px); height: 100%; min-height: 11px; border-radius: 0; background: linear-gradient(to bottom, transparent 0 28%, #d3a54a 28% 34%, transparent 34% 65%, #d3a54a 65% 71%, transparent 71%), linear-gradient(to right, #0f5846 0 18%, #3b9876 19% 78%, #0f5846 79% 100%); box-shadow: none; transform: none; }
.bam-stalks i:nth-child(2n) { transform: none; }
.bam-stalks i::before, .bam-stalks i::after { content: ""; position: absolute; width: 7px; height: 2px; border-radius: 0; background: #287f62; transform-origin: center; }
.bam-stalks i::before { top: 18%; right: 2px; transform: rotate(-38deg); }
.bam-stalks i::after { top: 56%; left: 2px; transform: rotate(38deg); }
.hero-tile-face .bam-stalks i { width: 7px; }
.mini-bam-art.bam-stalks { gap: 2px 3px; padding: 2px 1px; }
.mini-bam-art.bam-stalks i { width: 4px; min-height: 8px; }
.tile-symbol-dragon { width: clamp(35px, 4.7vw, 52px); height: clamp(38px, 5vw, 56px); }
.tile-symbol-dragon svg { width: 100%; height: 100%; overflow: visible; }
.tile-symbol-soap { width: clamp(31px, 4.1vw, 47px); height: clamp(38px, 5vw, 56px); border: 4px double currentColor; background: rgba(255,255,255,.72); }
.tile-symbol-soap i { width: 55%; height: 62%; border: 1px solid currentColor; opacity: .35; }
.dragon-head { fill: currentColor; opacity: .18; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; }
.dragon-body, .dragon-horn, .dragon-spine, .dragon-leg, .dragon-whisker { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.dragon-body { stroke-width: 4.2; }.dragon-horn, .dragon-spine, .dragon-leg { stroke-width: 2.5; }.dragon-eye { fill: currentColor; }.dragon-whisker { stroke-width: 1.8; }

.section-jump { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; color: inherit; }
.section-jump a { min-height: 82px; display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; align-content: center; gap: .12rem .75rem; padding: 1rem 1.25rem; color: inherit; text-decoration: none; transition: background .2s ease, color .2s ease; }
.section-jump a + a { grid-template-columns: 1fr auto auto; text-align: right; border-left: 1px solid currentColor; }
.section-jump a > span { grid-row: 1 / span 2; align-self: center; font-size: 1.2rem; transition: transform .2s ease; }
.section-jump a + a > span { grid-column: 3; }
.section-jump small { font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: .65; }
.section-jump strong { font-family: var(--serif); font-size: 1rem; }
.section-jump a:hover, .section-jump a:focus-visible { background: var(--green); color: white; outline: 0; }
.section-jump a:first-child:hover > span, .section-jump a:first-child:focus-visible > span { transform: translateY(-3px); }
.section-jump a:last-child:hover > span, .section-jump a:last-child:focus-visible > span { transform: translateY(3px); }
.card-section .section-jump { color: white; }
.card-section .section-jump a:hover, .card-section .section-jump a:focus-visible { background: var(--gold); color: var(--ink); }
.sequence-section .section-jump a:hover, .sequence-section .section-jump a:focus-visible { background: var(--paper); color: var(--ink); }
.tile-symbol-wind { width: clamp(30px, 4vw, 44px); aspect-ratio: 1; border: 1px solid #a88a50; border-radius: 50%; background: radial-gradient(circle, #fffdf5 0 38%, #eee4cd 39% 43%, #fffdf5 44% 100%); box-shadow: 0 1px 0 white, inset 0 0 0 2px rgba(115,88,38,.08); }
.tile-symbol-wind::before, .tile-symbol-wind::after { content: ""; position: absolute; inset: 8%; margin: auto; background: #b64b3b; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.tile-symbol-wind::after { inset: 20%; background: #315f68; transform: rotate(45deg); }
.tile-symbol-wind strong { position: relative; z-index: 2; width: 55%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #a88a50; border-radius: 50%; background: #fffdf5; color: #3e3022; font-family: var(--serif); font-size: clamp(.92rem, 1.8vw, 1.35rem); line-height: 1; box-shadow: 0 1px 3px rgba(23,50,45,.18); }
.practice-tile.flower .tile-symbol { width: clamp(30px, 4vw, 44px); aspect-ratio: 1; border: 2px dotted #d9a44d; border-radius: 50%; background: #fff3dc; }
.tile-symbol-joker { width: clamp(34px, 4.5vw, 50px); height: clamp(38px, 5vw, 55px); }
.tile-symbol-joker svg { width: 100%; height: 100%; overflow: visible; }
.jester-cap { fill: #e86650; stroke: #8b5b00; stroke-width: 2.2; stroke-linejoin: round; }
.jester-band { fill: #fff3bd; stroke: #8b5b00; stroke-width: 2.2; stroke-linejoin: round; }
.jester-bell { fill: #f5c64f; stroke: #8b5b00; stroke-width: 2; }
.pattern-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; text-transform: uppercase; letter-spacing: .09em; font-size: .64rem; font-weight: 900; }.pattern-label span:last-child { color: #71807c; font-weight: 700; }
.pattern-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.drill-shell[data-difficulty="advanced"] .pattern-options { grid-template-columns: repeat(4, 1fr); }
.pattern-option { position: relative; min-height: 145px; padding: 1.15rem; border: 1px solid var(--line); background: white; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease; }
.pattern-option:hover, .pattern-option:focus-visible { border-color: var(--coral); transform: translateY(-3px); box-shadow: 0 6px 0 #f1d4ca; outline: none; }
.pattern-option.is-active { border: 2px solid var(--coral); background: #fff5ee; box-shadow: 0 6px 0 #f1d4ca; }.pattern-option.is-reviewed:not(.is-active) { border-color: #9eb8ac; background: #f5f8f4; }.pattern-option.is-first-choice::after { content: "Your choice"; position: absolute; top: .65rem; right: .65rem; padding: .25rem .4rem; border-radius: 2rem; background: var(--green); color: white; font: 800 .5rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; }.pattern-option.is-reviewed:not(.is-first-choice) .option-status::after { content: "Reviewed"; position: absolute; top: .75rem; right: .75rem; color: #527467; font: 800 .52rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.pattern-option > strong, .pattern-option > span { display: block; }.pattern-option strong { margin-bottom: .7rem; font-family: var(--serif); font-size: 1.3rem; }.choice-pattern { color: #50635e; font-size: .73rem; letter-spacing: .03em; line-height: 1.5; }
.choice-description { display: block; margin-top: .65rem; color: #687570; font-size: .66rem; font-style: italic; line-height: 1.4; }
.suit-chips { display: flex !important; flex-wrap: wrap; gap: .28rem; margin: .1rem 0 .5rem; }
.suit-chip { display: inline-flex !important; align-items: center; min-height: 1.5rem; padding: .22rem .4rem; border: 1px solid currentColor; border-radius: 2rem; background: white; font: 800 .56rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap; }
.suit-chip.bam { color: #16735a; background: #edf8f0; }.suit-chip.dot, .suit-chip.soap { color: #176f8b; background: #edf7fa; }.suit-chip.crak, .suit-chip.red { color: #c74736; background: #fff1ed; }.suit-chip.green { color: #16735a; background: #edf8f0; }.suit-chip.honor { color: #735826; background: #faf4e6; }.suit-chip.flower { color: #aa3d70; background: #fff0f7; }.suit-chip.joker, .suit-chip.more { color: #8b5b00; background: #fff5cf; }
.fit-count { display: block !important; margin-top: .55rem; color: #50635e; font-size: .68rem; font-weight: 800; }
.pattern-suit { display: inline !important; font-weight: 900; }.pattern-suit.suit-0 { color: #c74736; }.pattern-suit.suit-1 { color: #16735a; }.pattern-suit.suit-2 { color: #176f8b; }.pattern-divider { display: inline !important; margin: 0 .3rem; color: #9b8c73; }
.drill-feedback { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 1.2rem; padding: 1.4rem; background: #f0eadc; border-left: 5px solid var(--coral); }
.drill-feedback[hidden] { display: none; }
.score-ring { width: 96px; height: 96px; display: grid; place-content: center; border: 7px solid var(--gold); border-radius: 50%; text-align: center; }.score-ring strong { max-width: 76px; font-family: var(--serif); font-size: 1.25rem; line-height: 1; }.score-ring span { margin-top: .28rem; color: #5f6966; font-size: .5rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; }
.feedback-verdict { margin: 0; color: var(--coral); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 900; }.feedback-copy h4 { margin: .2rem 0 .3rem; font-family: var(--serif); font-size: 1.55rem; }.feedback-copy > p:last-of-type { margin: 0; font-size: .86rem; }
.answer-evidence { margin-top: 1rem; padding: 1rem; border: 1px solid #cfc2aa; background: rgba(255,255,255,.62); }
.answer-evidence-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.answer-evidence-heading h5 { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.answer-evidence-heading span { flex: 0 0 auto; padding: .35rem .55rem; border-radius: 2rem; background: var(--green); color: white; font-size: .54rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.answer-evidence-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin: .8rem 0; }
.answer-evidence-metrics div { padding: .65rem; background: #f7f2e8; }
.answer-evidence-metrics dt { margin-bottom: .18rem; color: #6f7975; font-size: .51rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.answer-evidence-metrics dd { margin: 0; font-size: .7rem; font-weight: 800; line-height: 1.3; }
.answer-evidence ul { margin: .75rem 0; padding-left: 1.15rem; color: #41514c; font-size: .76rem; line-height: 1.5; }
.answer-evidence li + li { margin-top: .25rem; }
.probability-note { margin: .75rem 0 0; padding-top: .7rem; border-top: 1px solid #d9cfbd; color: #596762; font-size: .7rem; line-height: 1.45; }
.score-track { height: 5px; margin-top: .85rem; background: rgba(23,50,45,.12); }.score-track span { display: block; width: 0; height: 100%; background: var(--coral); transition: width .45s ease; }
.drill-feedback .drill-next { grid-column: 2; justify-self: start; }
.drill-next { border: 0; background: var(--green); color: white; cursor: pointer; white-space: nowrap; }
.coming-drills { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 2.5rem; }.coming-drills p { margin-right: .6rem; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 900; }.coming-drills span { padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); font-size: .76rem; }

.swag-page { background: var(--paper); }
.swag-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: end; padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem); background: var(--green); color: white; }
.swag-hero h1 { margin-bottom: 0; font-size: clamp(4.2rem, 8vw, 8rem); }.swag-hero h1 em { color: var(--gold); }
.swag-hero-copy { max-width: 560px; padding-bottom: .8rem; }.swag-hero-copy > p { margin: 0 0 1.6rem; color: rgba(255,255,255,.8); font-size: 1.12rem; }
.coming-soon-pill { display: inline-block; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.35); border-radius: 2rem; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 900; }
.swag-gallery { padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 6vw, 7rem); background: var(--paper); }
.swag-gallery-heading { display: grid; grid-template-columns: 1fr 1.1fr .9fr; gap: 4vw; align-items: end; margin-bottom: 3.2rem; }.swag-gallery-heading .eyebrow { align-self: start; }.swag-gallery-heading h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); }.swag-gallery-heading > p:last-child { max-width: 420px; margin: 0 0 .6rem; color: #5c6c67; }
.swag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.swag-card { min-width: 0; border: 1px solid var(--line); background: white; box-shadow: 9px 10px 0 #e8dfcd; }
.shirt-stage { min-height: 430px; display: grid; place-items: center; padding: 3.5rem 1rem 2.5rem; overflow: hidden; }.shirt-stage-coral { background: #f7d8cf; }.shirt-stage-gold { background: #e8ca7b; }.shirt-stage-mint { background: #cfe2d5; }
.shirt { position: relative; z-index: 1; width: min(58%, 225px); height: 255px; display: grid; place-items: center; border-radius: 28px 28px 17px 17px; filter: drop-shadow(0 16px 9px rgba(23,50,45,.18)); }
.shirt::before, .shirt::after { content: ""; position: absolute; z-index: -1; top: 12px; width: 78px; height: 95px; border-radius: 18px 18px 10px 10px; background: inherit; }.shirt::before { left: -48px; transform: rotate(26deg); }.shirt::after { right: -48px; transform: rotate(-26deg); }
.shirt-cream { background: #fff9ea; color: var(--green); }.shirt-green { background: #17483e; color: #fff9ea; }.shirt-coral { background: #e86650; color: #fff9ea; }
.shirt-print { position: relative; z-index: 2; width: 82%; text-align: center; line-height: 1; }.shirt-print small, .shirt-print strong, .shirt-print span, .shirt-print b { display: block; }
.shirt-print-social small { text-transform: uppercase; letter-spacing: .15em; font-size: .58rem; font-weight: 900; }.shirt-print-social strong { margin: .4rem 0; color: var(--coral); font-family: var(--serif); font-size: 2.05rem; font-style: italic; }.shirt-print-social span { margin-top: .9rem; color: var(--green-2); letter-spacing: .32em; font-family: var(--serif); }
.shirt-print-called span { margin-bottom: .38rem; text-transform: uppercase; letter-spacing: .09em; font-size: .65rem; font-weight: 900; }.shirt-print-called strong { margin-top: .65rem; color: var(--gold); font-family: var(--serif); font-size: 1.45rem; }.shirt-print-called b { margin-top: .25rem; font-family: var(--serif); font-size: 1.8rem; font-style: italic; }
.mini-shirt-tiles { display: flex !important; justify-content: center; gap: .3rem; margin-bottom: 1rem; }.mini-shirt-tiles i { width: 30px; height: 36px; display: grid; place-items: center; border-radius: 3px; background: #fff9ea; color: var(--green); box-shadow: 3px 3px 0 #9bbcab; font-family: var(--serif); font-style: normal; }
.shirt-print-rack strong, .shirt-print-rack b { font-family: var(--serif); font-size: 1.24rem; }.shirt-print-rack b { margin-top: .35rem; color: #ffe39a; font-style: italic; }
.shirt-print-nice-rack { width: 94%; }
.shirt-winning-rack { display: flex !important; align-items: flex-end; justify-content: center; gap: 3px; width: 100%; padding: .3rem .2rem .45rem; border-bottom: 5px solid #17483e; border-radius: 3px; background: rgba(255,249,234,.14); }
.shirt-win-group { display: flex !important; gap: 1px; }
.shirt-win-group i { position: relative; width: 10px; height: 21px; display: grid; place-items: center; padding-bottom: 2px; border: 1px solid #d8d0c0; border-radius: 2px; background: #fffdf7; box-shadow: 0 2px 0 #8eb9a5; font-family: var(--sans); font-size: 6px; font-style: normal; font-weight: 900; line-height: 1; }
.shirt-win-group i::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 1px; background: currentColor; opacity: .45; }
.shirt-win-group.flowers i { color: #aa3d70; }.shirt-win-group.bams i { color: #16735a; }.shirt-win-group.craks i { color: #c74736; }.shirt-win-group.soaps i { border: 3px double #176f8b; color: #176f8b; }
.shirt-win-group.bams i, .shirt-win-group.craks i { color: #111; }
.shirt-win-group.soaps i::after { display: none; }
.shirt-print-nice-rack > strong { margin-top: .8rem; color: #fff9ea; font: 600 1.65rem/.95 var(--serif); font-style: italic; text-shadow: 2px 2px 0 rgba(23,72,62,.4); }
.swag-card-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 1.25rem; }.swag-card-copy p { margin: 0 0 .2rem; color: var(--coral); text-transform: uppercase; letter-spacing: .1em; font-size: .55rem; font-weight: 900; }.swag-card-copy h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }.swag-card-copy button { flex: 0 0 auto; padding: .55rem .7rem; border: 1px solid #bcc6c1; background: #f2f2ec; color: #7a8782; font: 800 .58rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; cursor: not-allowed; }
.swag-footer-note { padding: 7rem 1.5rem; background: var(--gold); text-align: center; }.swag-footer-note > p { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 900; }.swag-footer-note h2 { max-width: 830px; margin: 1rem auto 2rem; font-size: clamp(2.7rem, 5vw, 5rem); }

.closing { padding: 9rem clamp(1rem, 4vw, 4rem); text-align: center; background: var(--paper); }
.closing .eyebrow { justify-content: center; }
.closing h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.closing > p:not(.eyebrow) { max-width: 600px; margin: 1.5rem auto 2rem; font-size: 1.1rem; }
.winning-example { max-width: 1050px; margin: 3rem auto 2.5rem; padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid var(--line); background: #f0eadc; box-shadow: 12px 14px 0 #e7ddca; }
.learning-line { max-width: 760px; margin: 0 auto; border: 1px solid #bcae93; background: #fff8df; box-shadow: 5px 6px 0 #d8ccb5; }
.learning-line-heading { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid #d8cfbe; color: var(--ink); text-align: left; }
.learning-line-heading span { text-transform: uppercase; letter-spacing: .12em; font-size: .61rem; font-weight: 900; }
.learning-line-heading small { color: #726b5f; font-size: .62rem; }
.learning-pattern { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .45rem 1.2rem; padding: 1.4rem 1rem .9rem; font: 900 clamp(1.65rem, 4vw, 2.7rem)/1 var(--serif); letter-spacing: .13em; }
.pattern-flowers { color: #aa3d70; }.pattern-dots { color: #176f8b; }.pattern-bams { color: #16735a; }.pattern-craks { color: #c74736; }
.learning-line > p { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; padding: .65rem 1rem .8rem; border-top: 1px solid #e4dac4; color: #64716d; font-size: .68rem; }
.learning-line > p strong { color: var(--ink); }
.match-marker { margin: 1.25rem 0 .8rem; color: var(--coral); font: 900 1.5rem/1 var(--sans); }
.match-marker span { display: block; margin-bottom: .2rem; color: #6b7773; text-transform: uppercase; letter-spacing: .12em; font-size: .55rem; }
.winning-rack-scroll { max-width: 100%; overflow-x: auto; padding: 0 0 .9rem; }
.winning-rack { width: max-content; min-width: 100%; display: flex; justify-content: center; align-items: flex-end; gap: 5px; padding: 1.15rem 1rem 1.45rem; border-bottom: 12px solid #5b8a76; border-radius: 6px; background: linear-gradient(135deg, #dfd4c1, #f5eddf 48%, #d9cdb9); }
.win-tile { position: relative; flex: 0 0 56px; width: 56px; height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 3px 4px 0; border-radius: 6px; background: linear-gradient(135deg, #dcece2, #a9cdbb); box-shadow: 0 5px 0 #83ad99, 2px 7px 5px rgba(23,50,45,.18); }
.win-tile::before { content: ""; position: absolute; inset: 0 3px 4px 0; border: 1px solid #b9b09e; border-radius: 5px; background: linear-gradient(145deg, #fffefa, #f8f4e8 72%, #eee7d8); }
.win-tile:nth-child(2), .win-tile:nth-child(6), .win-tile:nth-child(10) { margin-right: .65rem; }
.win-tile b, .win-tile i, .win-tile small { position: relative; z-index: 1; }
.win-tile b { position: absolute; top: 7px; left: 7px; font: 900 .52rem/1 var(--sans); }
.win-tile.dot b, .win-tile.bam b, .win-tile.crak b { color: #111; text-shadow: 0 1px 0 rgba(255,255,255,.95); }
.win-tile i { display: grid; place-items: center; width: 32px; height: 35px; font-family: var(--serif); font-size: 1.55rem; font-style: normal; line-height: 1; }
.win-tile small { margin-top: .18rem; font: 900 .3rem/1 var(--sans); letter-spacing: .08em; }
.win-tile.flower { color: #aa3d70; }.win-tile.dot { color: #176f8b; }.win-tile.bam { color: #16735a; }.win-tile.crak { color: #c74736; }
.two-pips { align-content: center; gap: 4px; }.two-pips u { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; background: currentColor; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); text-decoration: none; }
.three-bams { grid-template-columns: repeat(3, 1fr); gap: 3px; }.three-bams u { position: relative; width: 5px; height: 30px; border-radius: 4px; background: repeating-linear-gradient(to bottom, #16735a 0 8px, #d3a54a 8px 10px); text-decoration: none; }.three-bams u:nth-child(2) { transform: translateY(-3px); }
.winning-caption { max-width: 710px; margin: 1rem auto 0; color: #566762; font-size: .86rem; }
.winning-caption strong { color: var(--ink); }
.mahjong-call { max-width: 720px; margin: 3rem auto 0; padding: 2rem 1.5rem; border-top: 1px solid var(--green); border-bottom: 1px solid var(--green); }
.mahjong-call span { display: block; color: var(--coral); text-transform: uppercase; letter-spacing: .13em; font-size: .62rem; font-weight: 900; }
.mahjong-call strong { display: block; margin: .45rem 0; color: var(--green); font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 500; line-height: 1; }
.mahjong-call p { margin: 0; color: #566762; font-size: .9rem; }
.closing .closing-reassurance { margin-top: 2.8rem; font-size: 1rem; }

.glossary-page { background: #f8f3e8; }
.glossary-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 8rem); background: var(--green); color: white; }
.glossary-hero h1 { max-width: 850px; margin: 1rem 0 0; font: 500 clamp(3rem, 7vw, 6.5rem)/.96 var(--serif); letter-spacing: -.045em; }
.glossary-hero h1 em { color: var(--gold); font-weight: 500; }
.glossary-hero-copy { max-width: 620px; padding-bottom: .6rem; color: rgba(255,255,255,.84); font-size: 1rem; }
.glossary-hero-copy > p:first-child { margin: 0 0 1.3rem; font: 500 clamp(1.2rem, 2vw, 1.55rem)/1.55 var(--serif); color: white; }
.glossary-scope { margin: 0; padding: 1rem 1.15rem; border-left: 3px solid var(--gold); background: rgba(255,255,255,.06); font-size: .82rem; }
.glossary-tools { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; padding: 3rem clamp(1.5rem, 7vw, 8rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.glossary-search-wrap label, .glossary-starters > p { display: block; margin: 0 0 .65rem; color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-size: .64rem; font-weight: 900; }
.glossary-search-field { position: relative; display: flex; align-items: center; max-width: 680px; border-bottom: 2px solid var(--green); }
.glossary-search-field > span { color: var(--coral); font: 500 1.8rem/1 var(--serif); }
.glossary-search-field input { width: 100%; min-width: 0; padding: .7rem .8rem .75rem; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 1.15rem/1.2 var(--sans); }
.glossary-search-field input::placeholder { color: #64716d; }
.glossary-search-field button { padding: .55rem 0 .55rem .8rem; border: 0; background: transparent; color: var(--green); font: 800 .65rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.glossary-search-field button:hover, .glossary-search-field button:focus-visible { color: var(--coral); outline: none; }
.glossary-count { min-height: 1.2em; margin: .6rem 0 0; color: #64716d; font-size: .72rem; }
.glossary-starters { display: flex; flex-wrap: wrap; gap: .55rem; }
.glossary-starters > p { flex-basis: 100%; }
.glossary-starters a { padding: .45rem .7rem; border: 1px solid #b9c6c1; border-radius: 999px; color: var(--green); background: white; font-size: .72rem; font-weight: 800; text-decoration: none; }
.glossary-starters a:hover, .glossary-starters a:focus-visible { border-color: var(--coral); color: var(--coral); outline: none; }
.glossary-alphabet { position: sticky; top: 0; z-index: 9; display: flex; justify-content: center; gap: .15rem; overflow-x: auto; padding: .8rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid rgba(23,50,45,.12); background: rgba(248,243,232,.96); backdrop-filter: blur(10px); }
.glossary-alphabet a { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--green); font-size: .68rem; font-weight: 900; text-decoration: none; }
.glossary-alphabet a:hover, .glossary-alphabet a:focus-visible { background: var(--green); color: white; outline: none; }
.glossary-list { padding: 2rem clamp(1.5rem, 7vw, 8rem) 7rem; }
.glossary-letter { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); padding: 4rem 0; border-bottom: 1px solid var(--line); }
.glossary-letter > h2 { margin: -.15rem 0 0; color: var(--coral); font: 500 clamp(2.7rem, 5vw, 4rem)/1 var(--serif); }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(23,50,45,.14); border: 1px solid rgba(23,50,45,.14); }
.glossary-term { min-height: 180px; padding: 1.6rem; background: var(--paper); }
.glossary-term h3 { margin: 0 0 .65rem; color: var(--green); font: 600 1.23rem/1.2 var(--serif); }
.glossary-term p { margin: 0; color: #52635e; font-size: .82rem; line-height: 1.65; }
.glossary-tile-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 5px; min-height: 76px; margin: .9rem 0 1.15rem; }
.practice-tile.glossary-tile { flex: 0 0 46px; width: 46px; min-width: 46px; height: 68px; transform: none; }
.practice-tile.glossary-tile:nth-child(n) { transform: none; }
.glossary-tile .tile-corner { top: 5px; left: 5px; font-size: .52rem; }
.glossary-tile .tile-symbol { font-size: 1.55rem; }
.glossary-tile .tile-symbol-dot { width: 27px; gap: 2px; }
.glossary-tile .tile-symbol-dot i { width: 5px; }
.glossary-tile .tile-symbol-bam, .glossary-tile .tile-symbol-dragon, .glossary-tile .tile-symbol-joker, .glossary-tile .tile-symbol-bird { width: 34px; height: 39px; }
.glossary-tile .tile-symbol-bird svg { width: 100%; height: 100%; overflow: visible; }
.bird-body { fill: #287f62; }.bird-wing { fill: #d7a741; stroke: #17664f; stroke-width: 1.5; }.bird-tail { fill: #3d8d77; opacity: .8; }.bird-eye { fill: #17322d; }.bird-beak { fill: #e85f45; }
.glossary-tile .bam-stalks { gap: 2px 3px; }
.glossary-tile .bam-stalks i { width: 4px; min-height: 8px; }
.glossary-tile .tile-symbol-wind { width: 34px; }
.glossary-tile .tile-symbol-wind strong { font-size: 1rem; }
.glossary-tile small { margin-top: .18rem; font-size: .27rem; }
.glossary-match-sets { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.glossary-match-sets .glossary-tile-row { margin-top: .7rem; margin-bottom: .3rem; }
.glossary-wall { display: flex; align-items: flex-end; gap: 3px; min-height: 72px; margin: .9rem 0 1.15rem; padding: .65rem .7rem .4rem; border-bottom: 7px solid #6d9986; border-radius: 4px; background: #e9e1d2; overflow: hidden; }
.glossary-wall > span { position: relative; flex: 0 0 25px; width: 25px; height: 48px; }
.glossary-wall i { position: absolute; left: 0; width: 25px; height: 23px; border: 1px solid #7da794; border-radius: 3px; background: linear-gradient(135deg, #dcece2, #a9cdbb); box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); }
.glossary-wall i:first-child { bottom: 0; }.glossary-wall i:last-child { bottom: 25px; }
.glossary-list.is-filtering .glossary-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; border: 0; background: transparent; }
.glossary-list.is-filtering .glossary-term { border: 1px solid rgba(23,50,45,.14); }
.glossary-term mark { background: #f7dea4; color: inherit; }
.glossary-empty { margin: 5rem auto; text-align: center; }
.glossary-empty strong { display: block; color: var(--green); font: 500 2.3rem/1.1 var(--serif); }
.glossary-empty p { color: #64716d; }
.glossary-note { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.25rem clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 7vw, 8rem); background: #eadfc9; }
.glossary-note .eyebrow { grid-column: 1 / -1; margin: 0; }
.glossary-note h2 { margin: 0; color: var(--green); font: 500 clamp(2.2rem, 4vw, 4rem)/1.05 var(--serif); letter-spacing: -.035em; }
.glossary-note > p:not(.eyebrow) { margin: .25rem 0 0; color: #53635e; }
.glossary-note > div { grid-column: 2; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.glossary-note > div a { color: var(--green); font-size: .76rem; font-weight: 900; text-underline-offset: 5px; }
.glossary-note > div a span { color: var(--coral); }

.site-footer { padding: 0 clamp(1.5rem, 6vw, 7rem); background: #0c2d26; color: rgba(255,255,255,.72); font-size: .8rem; }
.footer-main { display: grid; grid-template-columns: 1.2fr .65fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); padding: 4.5rem 0 3.8rem; }
.footer-brand { width: fit-content; color: white; }
.footer-about > p { max-width: 390px; margin: 1.4rem 0 0; line-height: 1.7; }
.footer-links { display: grid; align-content: start; align-items: start; justify-content: stretch; gap: .55rem; font-size: .8rem; font-weight: 600; }
.footer-links p, .footer-resource > p { margin: 0 0 .65rem; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; font-weight: 900; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.86); border-bottom: 1px solid transparent; }
.footer-links a:hover, .footer-links a:focus-visible { color: white; border-color: var(--gold); outline: none; }
.footer-resource { max-width: 390px; }
.footer-resource > span { display: block; line-height: 1.7; }
.footer-resource > a { display: inline-flex; gap: .45rem; margin-top: 1rem; color: white; font-weight: 800; text-underline-offset: 5px; }
.footer-resource > a span { color: var(--gold); }
.footer-legal { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: .67rem; line-height: 1.6; }
.footer-legal p { margin: 0; }
.footer-legal p:last-child { max-width: 680px; text-align: right; }

/* Keep instructions as readable as the decorative headings at every size. */
.hero-copy, .card-copy, .deal-copy, .charleston-copy,
.drills-intro > *, .glossary-hero > *, .glossary-tools > *, .table-note-copy { min-width: 0; }
.eyebrow, .drill-kicker, .drill-step, .pattern-label { font-size: .75rem; letter-spacing: .1em; }
.tile-group .number, .table-note-label, .drill-step, .mini-practice-card-heading p,
.discard-offer p, .feedback-verdict, .swag-card-copy p, .mahjong-call span { color: var(--coral-text); }
.game-sequence small, .setup-steps p, .wall-roll-example p, .wall-push-example p,
.wall-count-copy p, .wall-open-result p, .table-note-intro, .claim-steps p, .claim-rules p,
.charleston-phases p, .glossary-term p { font-size: .9375rem !important; line-height: 1.65; }
.game-sequence b, .setup-steps small, .setup-draw-note, .drill-note, .drill-standard ul,
.drill-standard > p, .difficulty-picker small, .mini-practice-card-note,
.rack-reorder-help, .probability-note, .glossary-scope { font-size: .875rem; line-height: 1.6; }
.claim-steps strong, .charleston-phases strong { font-size: 1.125rem; line-height: 1.3; }
.charleston-rule strong, .charleston-phases b { color: var(--coral-text); }
.charleston-copy summary { min-height: 44px; align-items: center; gap: 1rem; }
.choose-east-visual b, .wall-visual b, .setup-visual .count-instruction,
.break-roll-total, .same-break-label { font-size: .6875rem; letter-spacing: .03em; }
.visual-seat { font-size: .75rem; }
.wall-direction { font-size: .625rem; }
.full-wall-labels, .full-wall-markers { font-size: .75rem; letter-spacing: .02em; }
.full-wall-markers { padding-top: .65rem; }
.full-wall-row i::after { font-size: .75rem; }
.wall-break::after { top: -16px; font-size: .625rem; }
.deal-order span { padding: 6px 2px; font-size: .6875rem; }
.final-picks-heading { flex-wrap: wrap; }
.final-picks-heading span, .final-picks-open { font-size: .75rem; line-height: 1.4; }
.final-picks-grid > span { min-height: 60px; padding: .4rem; }
.final-picks-grid b { font-size: .875rem; }
.final-picks-grid small { font-size: .75rem; line-height: 1.3; }
.final-picks-example > p { font-size: .6875rem; line-height: 1.4; }
.setup-equation, .setup-equation strong { font-size: .875rem; }
.wall-push-picture::before { font-size: .6875rem; }
.mini-tile-face > b, .win-tile b { font-size: .6875rem; }
.mini-tile-face > small, .win-tile small { font-size: .4375rem; letter-spacing: .04em; }
.section-jump small { opacity: .85; font-size: .75rem; letter-spacing: .08em; }
.section-jump strong { font-size: 1.125rem; }
.drill-library-card { gap: .35rem .8rem; }
.drill-library-card strong { font-size: 1.2rem; line-height: 1.2; }
.drill-library-card small { color: rgba(255,255,255,.82); font-size: .8125rem; line-height: 1.45; }
.drill-library-card.is-active small { color: var(--green); }
.drill-stats span, .difficulty-picker > p { font-size: .75rem; }
.difficulty-picker > div { grid-template-columns: 1fr; }
.difficulty-picker button { min-height: 44px; padding: .75rem; font-size: .875rem; line-height: 1.25; }
.shuffle-button { min-height: 44px; font-size: .875rem; }
.mini-practice-card-heading { flex-wrap: wrap; gap: .5rem 1rem; }
.mini-practice-card-heading p { font-size: .6875rem; }
.mini-practice-card-heading h4 { font-size: 1.4rem; line-height: 1.25; }
.mini-practice-card-heading > span { font-size: .8125rem; line-height: 1.5; }
.mini-practice-patterns[data-format="rows"] .practice-line-category > span { font-size: .6875rem; letter-spacing: .06em; }
.mini-practice-patterns[data-format="rows"] .practice-line-category > small,
.mini-practice-patterns[data-format="rows"] .practice-line-copy small { font-size: .8125rem; line-height: 1.5; color: #53645e; }
.mini-practice-patterns[data-format="rows"] .practice-line-copy { min-width: 0; }
.mini-practice-patterns[data-format="rows"] .practice-line-copy b { line-height: 1.5; }
.discard-offer p { font-size: .6875rem; }
.discard-offer > div > span { font-size: .875rem; line-height: 1.5; }
.discard-offer.is-opponent-rack > div > span { color: rgba(255,255,255,.86); }
.discard-offer.is-opponent-rack .practice-tile { flex-basis: 54px; width: 54px; min-width: 54px; max-width: 54px; height: 80px; }
.discard-offer.is-opponent-rack .tile-corner { font-size: .6875rem; }
.discard-offer.is-opponent-rack .tile-symbol-bam,
.discard-offer.is-opponent-rack .tile-symbol-bird,
.discard-offer.is-opponent-rack .tile-symbol-dragon,
.discard-offer.is-opponent-rack .tile-symbol-joker { width: 36px; height: 42px; margin-top: 6px; }
.discard-offer.is-opponent-rack .tile-symbol-soap { width: 31px; height: 40px; }
.discard-offer.is-opponent-rack .tile-symbol-wind,
.discard-offer.is-opponent-rack .practice-tile.flower .tile-symbol { width: 34px; }
.discard-offer.is-opponent-rack .practice-tile small { font-size: .4375rem; }
.pattern-label { flex-wrap: wrap; gap: .25rem 1rem; }
.pattern-label span:last-child { color: #53645e; }
.pattern-option { padding-top: 2rem; }
.pattern-option strong { line-height: 1.25; }
.pattern-option.is-first-choice::after,
.pattern-option.is-reviewed:not(.is-first-choice) .option-status::after { font-size: .625rem; }
.choice-pattern { font-size: .875rem; }
.choice-description { font-size: .8125rem; color: #53645e; line-height: 1.5; }
.suit-chip { padding: .35rem .5rem; font-size: .6875rem; }
.fit-count { font-size: .8125rem; }
.feedback-copy > p:last-of-type { font-size: .9375rem; line-height: 1.65; }
.feedback-verdict { font-size: .75rem; }
.answer-evidence-heading { flex-wrap: wrap; gap: .5rem 1rem; }
.answer-evidence-heading h5 { font-size: 1.2rem; }
.answer-evidence-heading span { font-size: .6875rem; }
.answer-evidence-metrics dt { font-size: .6875rem; color: #53645e; }
.answer-evidence-metrics dd { font-size: .875rem; line-height: 1.45; }
.answer-evidence ul { font-size: .9375rem; line-height: 1.65; }
.score-ring span { font-size: .625rem; }
.score-ring { width: 108px; height: 108px; }
.score-ring strong { max-width: 86px; }
.drill-next { white-space: normal; }
.drill-page .practice-rack { padding-bottom: 3.25rem; scrollbar-color: #547c6a #e9e1d2; scrollbar-width: auto; }
.drill-page .practice-rack .practice-tile { flex: 0 0 60px; min-width: 60px; height: 92px; }
.drill-page .practice-rack .tile-corner { top: 5px; left: 5px; min-width: 18px; padding: 2px 3px; border-radius: 3px; background: #fffdf7; font-size: .8125rem; text-align: center; }
.drill-page .practice-rack .practice-tile small { font-size: .4375rem; }
.drill-page .practice-tile.is-drawn-tile::before { top: -20px; font-size: .625rem; }
.drill-page .tile-move-controls { bottom: -43px; gap: 3px; }
.drill-page .tile-move-controls button { min-height: 34px; font-size: 1.2rem; }
.drill-page .tile-move-controls button:disabled { opacity: .45; }
.drill-page .tile-move-controls button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.practice-rack, .discard-tile-slot, .winning-rack-scroll { overscroll-behavior-x: contain; }
.glossary-search-wrap label, .glossary-starters > p { font-size: .75rem; }
.glossary-search-field:focus-within { outline: 2px solid var(--green); outline-offset: 4px; }
.glossary-search-field button { min-height: 44px; padding: .6rem; font-size: .75rem; }
.glossary-count { font-size: .875rem; }
.glossary-starters a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.glossary-alphabet a { flex-basis: 44px; width: 44px; height: 44px; font-size: .875rem; }
.glossary-alphabet { justify-content: flex-start; flex-wrap: wrap; }
@media (max-width: 760px) { .glossary-alphabet { position: static; gap: .25rem; } }
.glossary-term h3 { font-size: 1.4rem; }
.glossary-tile .tile-corner { font-size: .6875rem; padding: 1px 2px; background: #fffdf7; border-radius: 2px; }
.glossary-tile small { font-size: .375rem; }
.glossary-note > div a { font-size: .875rem; }
.glossary-list.is-filtering .glossary-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.site-footer, .footer-links { font-size: .9375rem; }
.footer-links { gap: .1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links p, .footer-resource > p { font-size: .75rem; }
.footer-legal { color: rgba(255,255,255,.75); font-size: .8125rem; }
.winning-caption, .mahjong-call p { font-size: .9375rem; }
.learning-line > p { font-size: .8125rem; }
.swag-card-copy { flex-wrap: wrap; }
.swag-card-copy p, .swag-card-copy button { font-size: .6875rem; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }.hero-art { min-height: 520px; }.hero-copy { padding-right: clamp(1.5rem, 6vw, 7.5rem); }
  .tile-groups { grid-template-columns: 1fr; }.tile-group { min-height: auto; }
  .card-section, .deal-section, .charleston-section, .drills-intro, .drill-shell { grid-template-columns: 1fr; }
  .sequence-heading { grid-template-columns: 1fr; gap: 1rem; }
  .game-sequence { grid-template-columns: repeat(2, 1fr); }
  .deal-table { width: min(100%, 620px); margin: 0 auto; }
  .setup-details { margin-top: 0; }
  .setup-steps { grid-template-columns: 1fr; }
  .drill-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }.drill-sidebar .drill-stats { grid-column: 2; grid-row: 1 / span 3; margin: 0; }.drill-sidebar .difficulty-picker { grid-column: 2; }.drill-sidebar .drill-note { grid-column: 1; }
  .pass-map { min-height: 480px; }
  .footer-main { grid-template-columns: 1.2fr .8fr; }
  .footer-resource { grid-column: 1 / -1; }
  .mini-practice-patterns { grid-template-columns: repeat(2, 1fr); }.mini-practice-pattern { border-bottom: 1px solid #ded6c8; }.mini-practice-pattern:nth-child(2n) { border-right: 0; }.mini-practice-pattern:nth-last-child(-n + 2) { border-bottom: 0; }
  .mini-practice-patterns[data-format="rows"] .mini-practice-pattern { border-bottom: 1px solid #ded6c8; }.mini-practice-patterns[data-format="rows"] .mini-practice-pattern:last-child { border-bottom: 0; }
  .drill-library { grid-template-columns: repeat(3, 1fr); }
  .drill-standard { grid-template-columns: 1fr; }.drill-standard > p { grid-column: auto; }
  .swag-hero, .swag-gallery-heading { grid-template-columns: 1fr; }.swag-hero-copy { padding-bottom: 0; }.swag-gallery-heading { gap: 1rem; }.swag-grid { grid-template-columns: 1fr 1fr; }.swag-card:last-child { grid-column: 1 / -1; max-width: calc(50% - .5rem); margin: 0 auto; }
  .glossary-hero { grid-template-columns: 1fr; gap: 2.5rem; }.glossary-hero-copy { padding: 0; }.glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header nav { flex-basis: 100%; }
  .difficulty-picker > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; flex-wrap: wrap; gap: .55rem; padding-top: .75rem; padding-bottom: .7rem; }
  .site-header nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: .1rem 1rem; padding: .25rem 0 .15rem; font-size: .875rem; }
  .site-header nav a { flex: 0 0 auto; white-space: nowrap; }
  .hero { min-height: 0; }.hero-copy { padding-top: 4.5rem; padding-bottom: 4.5rem; }.hero-art { min-height: 420px; }
  .tile-fan { transform: scale(.56); }.rack { width: 320px; top: 60%; }.stamp { right: 4%; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .game-sequence { grid-template-columns: 1fr; }
  .game-sequence li { min-height: 0; }
  .game-sequence a { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: 0 1rem; }
  .game-sequence a > span:first-child { grid-row: 1 / span 3; margin-bottom: 0; }
  .game-sequence small { margin-top: .35rem; }
  .mini-practice-card-heading { align-items: flex-start; }.mini-practice-card-heading > span { max-width: 150px; }
  .mini-practice-patterns[data-format="rows"] .mini-practice-pattern { grid-template-columns: 28px minmax(0, 1fr) 26px 34px; grid-template-rows: auto auto; gap: .18rem .55rem; padding: .7rem; }
  .mini-practice-patterns[data-format="rows"] .practice-line-code { grid-column: 1; grid-row: 1; }
  .mini-practice-patterns[data-format="rows"] .practice-line-category { grid-column: 2; grid-row: 1; }
  .mini-practice-patterns[data-format="rows"] .practice-line-copy { grid-column: 1 / -1; grid-row: 2; margin-top: .45rem; }
  .mini-practice-patterns[data-format="rows"] .practice-line-status { grid-column: 3; grid-row: 1; }
  .mini-practice-patterns[data-format="rows"] .practice-line-points { grid-column: 4; grid-row: 1; }
  .game-sequence b { margin-top: .8rem; }
  .section-jump { grid-template-columns: 1fr; }
  .section-jump a + a { border-top: 1px solid currentColor; border-left: 0; }
  .deal-table { min-height: 420px; border-width: 9px; }
  .deal-table::before { inset: 18%; border-width: 8px; }
  .deal-seat { min-width: 84px; padding: .45rem .55rem; }
  .deal-seat strong { font-size: 1.55rem; }
  .deal-seat-east { right: 2%; }.deal-seat-west { left: 2%; }
  .setup-heading { grid-template-columns: 1fr; gap: .8rem; }
  .setup-heading .eyebrow { grid-column: auto; }
  .setup-steps { grid-template-columns: 1fr; }
  .setup-steps article { min-height: 0; }
  .choose-east-visual b { right: 8px; top: 10px; width: 105px; padding: 4px 5px; text-align: center; white-space: normal; }
  .wall-roll-example, .wall-push-example { grid-template-columns: 1fr; }
  .dice-roll-example { min-height: 95px; border-right: 0; border-bottom: 1px solid #d5cbb8; }
  .wall-push-picture { min-height: 145px; border-right: 0; border-bottom: 1px solid #d5cbb8; }
  .wall-push-rack, .wall-push-original, .wall-push-angled { left: calc(50% - 66px); width: 132px; }
  .wall-push-arrow { right: calc(50% - 92px); }
  .full-wall-visual, .deal-example.full-wall-visual { height: 245px; flex-basis: 245px; }
  .full-wall-scroll, .deal-example .full-wall-scroll { top: 52px; left: 8px; right: 8px; bottom: 46px; }
  .break-example .full-wall-scroll { top: 80px; bottom: 16px; }
  .full-wall-canvas { min-width: 0; grid-template-rows: auto 46px auto; gap: .45rem; }
  .full-wall-labels, .full-wall-markers { gap: 12px; font-size: .6875rem; letter-spacing: 0; }
  .full-wall-row { grid-template-columns: repeat(12, minmax(8px, 1fr)) 10px repeat(7, minmax(8px, 1fr)); gap: 2px; }
  .full-wall-row i { height: 35px; }
  .full-wall-row .wall-break { height: 43px; }
  .full-wall-row i::after { bottom: -15px; font-size: .6875rem; }
  .break-example .count-instruction { top: 45px; left: 14px; right: auto; }
  .setup-guest-actions { grid-template-columns: 1fr; }
  .turn-track { grid-template-columns: 1fr; }.track-arrow { transform: rotate(90deg); text-align: center; }.turn-track article { min-height: 285px; }
  .callout { padding: 1.2rem; }
  .claim-steps, .claim-rules { grid-template-columns: 1fr; }
  .claim-rules { gap: .65rem; }
  .winning-example { margin-left: -.25rem; margin-right: -.25rem; }
  .learning-line-heading { display: grid; gap: .15rem; text-align: center; }
  .learning-pattern { gap: .4rem .7rem; letter-spacing: .08em; }
  .winning-rack { justify-content: flex-start; min-width: 895px; }
  .winning-rack-scroll::after { content: "Swipe to see the full rack →"; display: block; margin-top: .65rem; color: #6b7773; text-transform: uppercase; letter-spacing: .08em; font-size: .54rem; font-weight: 900; text-align: left; }
  .drill-sidebar { display: block; }.drill-sidebar .drill-stats { margin: 1.5rem 0; }
  .drill-game, .drill-sidebar { padding: 1.25rem; }
  .difficulty-picker button { padding-inline: .25rem; font-size: .75rem; }
  .rack-reorder-help { flex-wrap: wrap; }
  .mini-practice-card-heading > span { max-width: none; text-align: left; }
  .drill-library { grid-template-columns: repeat(2,minmax(0,1fr)); }.drill-library-card { min-height: 96px; padding: .8rem; gap: .35rem .5rem; }.drill-library-card strong { font-size: 1rem; }.drill-library-card small { grid-column: 1 / -1; }
  .drill-standard { padding: 1.15rem; }.drill-standard-links { display: grid; }
  .drill-game-topline { display: block; }.shuffle-button { margin-top: 1rem; }
  .pattern-options, .drill-shell[data-difficulty="advanced"] .pattern-options { grid-template-columns: 1fr; }.pattern-option { min-height: 0; }
  .drill-feedback { grid-template-columns: 1fr; text-align: left; }.score-ring { width: 82px; height: 82px; }.drill-feedback .drill-next { grid-column: 1; }.answer-evidence-heading { align-items: flex-start; }.answer-evidence-metrics { grid-template-columns: 1fr; }
  .practice-rack { margin-left: -1rem; margin-right: -1rem; border-radius: 0; }
  .discard-offer { align-items: flex-start; }.discard-offer.is-opponent-rack > div:first-child { grid-template-columns: 1fr; gap: .15rem; }.discard-offer.is-opponent-rack .discard-tile-slot { justify-content: start; grid-template-columns: max-content max-content; }
  .swag-grid { grid-template-columns: 1fr; }.swag-card:last-child { grid-column: auto; max-width: none; margin: 0; }.shirt-stage { min-height: 390px; }
  .glossary-hero { padding-top: 4.5rem; padding-bottom: 4.5rem; }.glossary-tools { grid-template-columns: 1fr; }.glossary-alphabet { justify-content: flex-start; }.glossary-list { padding-top: 0; }.glossary-letter { grid-template-columns: 1fr; gap: 1.2rem; padding: 3rem 0; }.glossary-grid { grid-template-columns: 1fr; }.glossary-term { min-height: 0; }.glossary-note { grid-template-columns: 1fr; }.glossary-note .eyebrow, .glossary-note > div { grid-column: auto; }
  .site-footer { text-align: left; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 3rem; }
  .footer-resource { grid-column: auto; }
  .footer-legal { display: grid; gap: .65rem; }
  .footer-legal p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
