/* Beginner guide only. Shared drill and game layouts are intentionally untouched. */
.guide-page {
  --guide-muted: #52645b;
  --guide-border: #d8ded3;
  --guide-paper: #faf9f3;
  background: var(--guide-paper);
  color: #203c32;
}
.guide-page [id] { scroll-margin-top: 88px; }
.guide-page h1, .guide-page h2, .guide-page h3, .guide-page h4 { text-wrap: balance; }
.guide-page p { text-wrap: pretty; }
.guide-page .site-header { padding-inline: max(24px, calc((100% - 1240px) / 2)); background: var(--guide-paper); }
.guide-page .site-header nav { font-size: .875rem; }
.guide-page .eyebrow { color: #47614e; font-size: .6875rem; letter-spacing: .13em; }
.guide-page .eyebrow > span { width: 20px; background: #b17b49; }
.guide-page .hero { max-width: 1320px; min-height: 0; margin: 28px auto 0; grid-template-columns: 1.05fr 1fr; border: 0; background: none; overflow: visible; }
.guide-page .hero-copy { padding: clamp(40px, 5vw, 72px) 40px; }
.guide-page h1 { font-size: clamp(3rem, 4.7vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; }
.guide-page h1 em { color: #a24e37; }
.guide-page .hero-intro { max-width: 480px; font-size: 1.0625rem; line-height: 1.75; color: var(--guide-muted); }
.guide-page .hero-actions { gap: 18px; margin-top: 28px; font-size: .875rem; }
.guide-page .button-primary { padding: 14px 20px; border-radius: 7px; background: #204d3c; box-shadow: none; }
.guide-page .button-primary:hover { background: #163d2e; transform: translateY(-1px); box-shadow: 0 4px 12px #163d2e1a; }
.guide-page .reassurance { max-width: 440px; margin-top: 24px; font-size: .8125rem; line-height: 1.7; color: var(--guide-muted); }
.guide-page .hero-art { grid-template-columns: minmax(0, 1fr); min-height: 470px; margin: 0 28px 0 0; border: 1px solid #315749; border-radius: 14px; background: #193f33 url('mat-botanicals.svg') center / 310px; box-shadow: inset 0 0 0 8px #ffffff05; }
.guide-page .sunburst { width: 390px; height: 390px; border-color: #c2ae7024; }
.guide-page .sunburst::before { border-color: #c2ae701c; }
.guide-page .sunburst::after { display: none; }
.guide-page .tile-fan { transform: translateY(38px) scale(.78); }
.guide-page .rack { width: 410px; top: calc(50% + 125px); height: 26px; border-bottom: 2px solid #cab67f; background: #426d58; box-shadow: 0 8px 0 #17382e; transform: none; }
.hero-art-caption { position: absolute; top: 34px; left: 34px; right: 28px; color: #f6f2df; }
.hero-art-caption > span { display: block; margin-bottom: 10px; font: 700 .625rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #d2c48b; }
.hero-art-caption strong { font: 400 1.75rem/1.2 var(--serif); }
.guide-page .quick-truth { max-width: 1240px; display: grid; grid-template-columns: .4fr 1.3fr 1.4fr; gap: 32px; align-items: center; margin: 0 auto; padding: 38px 24px; background: none; color: var(--ink); text-align: left; }
.guide-page .quick-truth > p:first-child { margin: 0; color: #7b643f; font-size: .6875rem; }
.guide-page .quick-truth h2 { margin: 0; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
.guide-page .quick-truth > p:last-child { margin: 0; font-size: .9375rem; color: var(--guide-muted); }

/* The chapter strip stays small; overflow is confined to this strip on phones. */
.guide-nav { position: sticky; top: 0; z-index: 20; display: flex; gap: 24px; justify-content: center; padding: 0 24px; border-block: 1px solid var(--guide-border); background: #faf9f3fa; box-shadow: 0 3px 10px #203c3208; }
.guide-nav-label { flex: 0 0 auto; color: #67756a; font: 700 .625rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.guide-nav-links { display: flex; gap: 4px; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.guide-nav a { flex: 0 0 auto; display: flex; align-items: center; min-height: 58px; padding: 0 13px; border-bottom: 3px solid transparent; color: #52645b; font-size: .8125rem; }
.guide-nav a[aria-current="location"] { border-color: #9b6c3f; color: #163d2e; background: #edf0e8; }
.guide-nav a:hover { background: #edf0e8; color: #163d2e; }
.guide-nav a:focus-visible { outline-offset: -4px; }
.guide-page .section, .guide-page .closing { max-width: 1240px; margin: 0 auto; padding: 68px 40px 28px; border: 0; background: none; }
.guide-page .section + .section, .guide-page .closing { border-top: 1px solid var(--guide-border); }
.guide-page .section-heading { max-width: 710px; margin-bottom: 30px; }
.guide-page :is(.section-heading h2, .card-copy h2, .deal-copy h2, .charleston-copy h2, .closing h2, .sequence-heading h2) { margin: 6px 0 16px; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; }
.guide-page :is(.section-heading, .card-copy, .deal-copy, .charleston-copy) > p { font-size: 1rem; line-height: 1.75; }
.guide-page :is(.section-heading, .deal-copy, .charleston-copy) > p:not(.eyebrow) { color: var(--guide-muted); }
.guide-page .section-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--guide-border); border-bottom: 0; color: #486151; }
.guide-page .section-jump a { min-height: 64px; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; gap: 2px 8px; padding: 12px 8px; border: 0; border-radius: 5px; }
.guide-page .section-jump small { grid-column: 2; grid-row: 1; font: 600 .625rem/1.5 var(--sans); letter-spacing: .08em; opacity: 1; color: #647465; }
.guide-page .section-jump strong { grid-column: 2; grid-row: 2; font: 600 .875rem/1.4 var(--sans); }
.guide-page .section-jump a > span { grid-row: 1 / 3; grid-column: 1; font-size: 1rem; }
.guide-page .section-jump a + a { grid-template-columns: 1fr 24px; }
.guide-page .section-jump a + a :is(small, strong) { grid-column: 1; }
.guide-page .section-jump a + a > span { grid-column: 2; }
.guide-page .section-jump a:hover, .guide-page .section-jump a:focus-visible { background: #e8eee4; color: #163d2e; outline-offset: -3px; }

/* Real tile artwork, shared with the game. */
.guide-page .tile-groups { gap: 18px; border: 0; background: none; }
.guide-page .tile-group { min-height: 0; padding: 24px; border: 1px solid var(--guide-border); border-radius: 10px; background: #fffdf8; }
.guide-page .mini-tiles { min-height: 88px; gap: 7px; margin-bottom: 24px; align-items: center; }
.guide-page .mini-tile { display: inline-block; flex: 0 0 54px; width: 54px; height: 78px; padding: 0 2px 4px 0; }
.guide-page .mini-tile-face > b { font-size: .625rem; top: 5px; left: 5px; }
.guide-page .mini-tile-face > small { font-size: .375rem; }
.guide-page .tile-group .number { color: #8c6b44; font-size: .625rem; }
.guide-page .tile-group h3 { margin: 6px 0 12px; font-size: 1.5rem; font-weight: 500; }
.guide-page .tile-group > p:last-child { margin: 0; font-size: .9375rem; line-height: 1.7; color: var(--guide-muted); }
[data-guide-tiles] { display: flex; justify-content: center; gap: 5px; }

/* A readable fictional line replaces the decorative placeholder card. */
.guide-page .card-section { max-width: 1160px; grid-template-columns: .92fr 1.08fr; gap: 32px 56px; margin: 28px auto; padding: 48px; border: 0; border-radius: 12px; background: #1d4235 url('mat-botanicals.svg') center / 400px; color: #fff9eb; }
.guide-page .card-section .eyebrow { color: #d9c98b; }
.guide-page .card-copy h2 { color: #fff9eb; }
.guide-page .card-copy > p:not(.eyebrow) { color: #d9e4d7; }
.guide-page .card-visual { display: block; margin: 0; perspective: none; }
.guide-sample-card { padding: 24px; border: 1px solid #cfbc91; border-radius: 7px; background: #faf5e7; box-shadow: 0 12px 32px #0b241f40; color: #203c32; }
.guide-sample-heading { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid #d9cfb9; }
.guide-sample-heading > span { font: 500 1.625rem/1.2 var(--serif); }
.guide-sample-heading small { font-size: .6875rem; color: #6a705f; }
.guide-sample-pattern { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 24px 0; font: 800 clamp(1.25rem, 2.15vw, 1.8rem)/1.2 var(--sans); letter-spacing: .015em; }
.guide-page .pattern-flowers { color: #374738; }
.guide-card-key { display: grid; gap: 16px; margin: 0; }
.guide-card-key dt { font-size: .8125rem; font-weight: 750; }
.guide-card-key dd { margin: 3px 0 0; font-size: .8125rem; line-height: 1.6; color: #596858; }
.guide-sample-card > a { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #d9cfb9; font-size: .75rem; font-weight: 700; text-underline-offset: 3px; }
.guide-page .card-visual figcaption { margin: 16px 8px 0; color: #c6d6c4; font-size: .75rem; line-height: 1.6; }
.guide-page .check-list { margin: 20px 0; }
.guide-page .check-list li { padding: 10px 0 10px 22px; font-size: .875rem; line-height: 1.65; }
.guide-page .card-purchase-link { margin: 4px 0 8px; padding: 12px 16px; border: 1px solid #cfc091; border-radius: 5px; box-shadow: none; background: #e8d9a7; font-size: .8125rem; }
.guide-page .card-copy .fine-print { margin: 4px 0 0; font-size: .75rem !important; }
.guide-page .card-section .section-jump { margin-top: 0; border-color: #ffffff30; color: #f0eddf; }
.guide-page .card-section .section-jump small { color: #b6ccba; }
.guide-page .card-section .section-jump a:hover { background: #ffffff12; color: white; }

.guide-page .sequence-heading { gap: 32px; margin-bottom: 28px; }
.guide-page .sequence-heading > p { color: var(--guide-muted); font-size: .9375rem; }
.guide-page .game-sequence { gap: 0 28px; padding: 0; background: none; }
.guide-page .game-sequence li { min-height: 0; border-top: 1px solid #c5cdbf; background: none; }
.guide-page .game-sequence a { grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr auto; gap: 10px 14px; padding: 24px 4px; }
.guide-page .game-sequence a > span:first-child { grid-column: 1; grid-row: 1 / 4; width: 30px; height: 30px; margin: 0; background: #e6ebdf; color: #405844; font: 700 .75rem/1 var(--sans); }
.guide-page .game-sequence :is(strong, small, b) { grid-column: 2; }
.guide-page .game-sequence strong { font: 500 1.375rem/1.2 var(--serif); }
.guide-page .game-sequence small { margin: 0; font-size: .875rem !important; line-height: 1.65; }
.guide-page .game-sequence b { margin-top: 4px; font-size: .625rem; color: #54704f; }
.guide-page .game-sequence a:hover, .guide-page .game-sequence a:focus-visible { background: #edf0e6; outline-color: #82977e; }

/* Setup is optional depth, with consistent step / text / diagram alignment. */
.guide-page .deal-section { grid-template-columns: 1.15fr .85fr; gap: 28px 64px; align-items: start; }
.guide-deal-summary { padding: 24px 28px; border-left: 3px solid #a5b89a; border-radius: 0 8px 8px 0; background: #edf0e6; }
.guide-deal-summary dl { margin: 16px 0; }
.guide-deal-summary dl > div { display: grid; grid-template-columns: 1fr 1.3fr; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #cbd4c2; }
.guide-deal-summary dt { font-size: .8125rem; color: #526149; }
.guide-deal-summary dd { margin: 0; font-size: .75rem; }
.guide-deal-summary dd strong { margin-right: 6px; font: 500 1.625rem/1 var(--serif); }
.guide-deal-summary > p:last-child { margin-bottom: 0; color: #526149; font-size: .8125rem; line-height: 1.65; }
.guide-page .setup-details { margin: 0; padding: 0; border: 0; min-width: 0; }
.guide-detail { border: 1px solid var(--guide-border); border-radius: 8px; background: #fffdf8; }
.guide-detail > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; min-height: 54px; cursor: pointer; list-style: none; color: #294a37; font: 650 .9375rem/1.5 var(--sans); }
.guide-detail > summary::-webkit-details-marker { display: none; }
.guide-detail > summary strong { display: block; font-size: 1rem; }
.guide-detail > summary small { display: block; margin-top: 4px; font: 400 .8125rem/1.6 var(--sans); color: var(--guide-muted); }
.guide-detail > summary > span:last-child:not(:first-child) { flex: 0 0 auto; font-size: 1.5rem; font-weight: 400; transition: transform .15s; }
.guide-detail[open] > summary > span:last-child:not(:first-child) { transform: rotate(45deg); }
.guide-detail > summary:hover { background: #eff2e9; border-radius: 8px; }
.guide-detail > summary:focus-visible { outline-offset: -4px; border-radius: 8px; }
.guide-detail > p { margin: 0; padding: 0 24px 24px; font-size: .9375rem; line-height: 1.75; color: var(--guide-muted); }
.guide-page .setup-heading { display: block; padding: 0 24px 20px; margin: 0; }
.guide-page .setup-heading > p:last-child { max-width: 760px; font-size: .875rem; }
.guide-page .setup-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 24px 24px; background: none; }
.guide-page .setup-steps > article { grid-column: 1 / -1; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-content: start; align-items: start; gap: 12px; min-width: 0; padding: 24px; border: 1px solid #dce0d4; border-radius: 8px; background: #f6f6ee; }
.guide-page .setup-steps > .setup-paired { grid-column: auto; }
.guide-page .setup-steps article > * { grid-column: 1 / -1; min-width: 0; }
.guide-page .setup-steps .setup-number { grid-column: 1; width: 30px; height: 30px; margin: 0; background: #41654a; font-size: .75rem; }
.guide-page .setup-steps h3 { grid-column: 2; margin: 2px 0 8px; font: 500 1.5rem/1.2 var(--serif); }
.guide-page .setup-steps p { font-size: .9375rem !important; line-height: 1.7; }
.guide-page .setup-steps small { margin-top: 0; font-size: .8125rem; line-height: 1.65; }
.guide-page .setup-visual { margin: 8px 0; border: 1px solid #cbd4c2; border-radius: 6px; background: #e8eddf; }
.guide-page :is(.choose-east-visual, .wall-visual) { height: 290px; }
.guide-page .setup-visual::before { border-radius: 10px; border-color: #82977e22; }
.guide-page .choose-east-visual b { inset: auto 16px 16px; width: auto; padding: 8px; border: 0; border-radius: 4px; font-size: .6875rem; line-height: 1.5; text-align: center; background: #ffffffa8; }
.guide-page .visual-seat { width: 30px; height: 30px; font-size: .75rem; }
.guide-page .visual-north { bottom: 64px; }
.guide-page .visual-south { top: 20px; }
.guide-page .visual-east { right: 24px; top: 43%; background: #a35238; border-color: #a35238; }
.guide-page .visual-west { left: 24px; top: 43%; }
.guide-page .visual-die { top: 43%; width: 38px; height: 38px; font-size: 1.75rem; }
.guide-page .visual-die:nth-of-type(5) { left: calc(50% - 44px); }
.guide-page .visual-die:nth-of-type(6) { right: calc(50% - 44px); }
.guide-page .wall-square { width: 170px; height: 170px; transform: translate(-50%, -57%); }
.guide-page .wall-direction { width: 24px; height: 24px; font-size: .6875rem; }
.guide-page .wall-visual b { bottom: 16px; font-size: .6875rem; }
.guide-page .setup-equation { justify-content: center; margin: 0; font-size: .875rem; }
.guide-page :is(.wall-roll-example, .wall-count-example, .wall-push-example) { margin: 0; border: 1px solid #cbd4c2; border-radius: 6px; background: #fffdf8; }
.guide-page :is(.wall-roll-example, .wall-push-example) { grid-template-columns: 220px 1fr; }
.guide-page :is(.wall-roll-example, .wall-push-example) > div:last-child { padding: 22px; }
.guide-page :is(.wall-roll-example, .wall-push-example, .wall-count-copy, .wall-open-result) strong { color: #294a37; font: 650 1rem/1.5 var(--sans); }
.guide-page .wall-roll-example > div:last-child > strong,
.guide-page .wall-push-example > div:last-child > strong { font: 650 1rem/1.5 var(--sans); }
.guide-page .dice-roll-example { min-height: 138px; gap: 8px; border-color: #cbd4c2; background: #e8eddf; }
.guide-page .dice-roll-example span { width: 40px; height: 40px; font-size: 1.9rem; }
.guide-page .dice-roll-example strong { color: #994c32; font-size: 1.5rem; }
.guide-page .wall-count-copy { padding: 20px 22px; border-color: #cbd4c2; }
.guide-page .wall-open-result { margin: 0; padding: 18px 22px; border-color: #a57449; border-radius: 0 5px 5px 0; background: #f1eadc; }
.guide-page .full-wall-visual { height: 230px; }
.guide-page .deal-example.full-wall-visual { height: 245px; }
.guide-page .full-wall-canvas { min-width: 0; grid-template-rows: auto 64px auto; gap: 16px; }
.guide-page .full-wall-row { grid-template-columns: repeat(12, minmax(0, 1fr)) 20px repeat(7, minmax(0, 1fr)); }
.guide-page .full-wall-row i { height: 48px; }
.guide-page .full-wall-row i::after { bottom: -19px; font-size: .75rem; }
.guide-page .full-wall-labels, .guide-page .full-wall-markers { font-size: .6875rem; line-height: 1.5; letter-spacing: .02em; }
.guide-page .full-wall-markers span { padding-top: 4px; }
.guide-page .full-wall-row .wall-break::after { font-size: .625rem; left: -14px; }
.guide-page :is(.break-roll-total, .setup-visual .count-instruction) { font-size: .6875rem; }
.guide-page .same-break-label { top: 14px; left: 18px; padding: 5px 8px; background: #9e533c; font-size: .6875rem; }
.guide-page .deal-order { gap: 5px; left: 18px; right: 18px; bottom: 12px; }
.guide-page .deal-order span { font-size: .6875rem; }
.guide-page .wall-push-picture { min-height: 170px; background: #e8eddf; border-color: #cbd4c2; }
.guide-page .wall-push-picture::before { font-size: .625rem; }
.guide-page :is(.wall-push-rack, .wall-push-original, .wall-push-angled) { width: 140px; left: 28px; }
.guide-page .wall-push-rack { bottom: 28px; }
.guide-page :is(.wall-push-original, .wall-push-angled) { bottom: 60px; }
.guide-page .wall-push-arrow { right: 28px; top: 30px; }
.guide-page .final-picks-example { padding: 20px; border-color: #cbd4c2; border-radius: 6px; background: #e8eddf; }
.guide-page .final-picks-heading { align-items: center; gap: 12px; margin-bottom: 20px; }
.guide-page .final-picks-heading strong { font: 650 1rem/1.4 var(--sans); }
.guide-page .final-picks-heading span { font-size: .6875rem; line-height: 1.5; }
.guide-page .final-picks-open { max-width: 520px; margin: 0 auto 10px; font-size: .6875rem; }
.guide-page .final-picks-grid, .guide-page .final-picks-example > p { max-width: 520px; margin-inline: auto; }
.guide-page .final-picks-grid { gap: 7px; }
.guide-page .final-picks-grid > span { min-height: 60px; }
.guide-page .final-picks-grid b { font-size: .9375rem; }
.guide-page .final-picks-grid small { font-size: .6875rem; }
.guide-page .final-picks-example > p { font-size: .75rem !important; }
.guide-page .setup-draw-note { margin: 20px 0 0; padding: 0 4px; background: none; font-size: .875rem; color: var(--guide-muted); }
.guide-page .deal-section > .section-jump { margin-top: 8px; }

.guide-page .guide-read-rack .section-heading { max-width: 740px; }
.guide-rack-example { padding: 28px; border: 1px solid #cdd8c6; border-radius: 10px; background: #e9eee2; }
.guide-rack-tiles { width: max-content; max-width: 100%; flex-wrap: wrap; gap: 8px 5px; margin: 0 auto; padding: 0 10px 12px; border-bottom: 7px solid #4e6e56; border-radius: 4px; }
.guide-rack-caption { display: grid; gap: 5px; max-width: 700px; margin: 20px auto 0; text-align: center; font-size: .875rem; color: #4d634e; }
.guide-rack-caption strong { color: #203c32; }
.guide-guest-note { font-size: .875rem; color: var(--guide-muted); }
.guide-page .charleston-section { grid-template-columns: 1.2fr .8fr; gap: 28px 56px; align-items: start; }
.guide-page .charleston-rule { margin: 20px 0; padding: 14px 18px; background: #f4e9de; border-color: #aa6a45; border-radius: 0 6px 6px 0; }
.guide-page .charleston-rule strong { color: #884329; }
.guide-page .charleston-phases { gap: 0; margin-bottom: 0; padding: 0; background: none; }
.guide-page .charleston-phases li { padding: 16px 0; gap: 14px; border-top: 1px solid var(--guide-border); background: none; }
.guide-page .charleston-phases strong { font: 650 .9375rem/1.5 var(--sans); }
.guide-page .charleston-phases li > span { background: #e5ebdd; color: #3b583d; }
.guide-page .charleston-phases p { font-size: .875rem !important; }
.guide-page .charleston-phases b { color: #365c3b; }
.guide-charleston-visual { margin: 40px 0 0; }
.guide-page .pass-map { min-height: 0; height: 350px; border: 7px solid #aa9c6b; border-radius: 12px; background: #244b3b url('mat-botanicals.svg') center / 230px; box-shadow: inset 0 0 0 2px #e6dfb544; }
.guide-page .map-center { color: #dfd5b0; font: 600 .6875rem/1.5 var(--sans); }
.guide-page .map-center strong { display: block; margin: 4px 0; color: #fff9e9; font: 500 2.5rem/1.2 var(--serif); }
.guide-page .map-center small { display: block; font: 400 .6875rem/1.5 var(--sans); }
.guide-page .map-arrow { color: #dec98b; font-size: 2rem; }
.guide-page .player span { width: 22px; height: 30px; border-radius: 3px; background: #f4efdd; box-shadow: 2px 3px 0 #92ad8e; }
.guide-page .player-top { top: 28px; }.guide-page .player-bottom { bottom: 28px; }
.guide-page .player-left { left: 5px; }.guide-page .player-right { right: 5px; }
.guide-charleston-visual figcaption { margin: 16px 12px; color: var(--guide-muted); font-size: .8125rem; line-height: 1.65; text-align: center; }
.guide-questions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.guide-questions .guide-detail > summary { padding: 16px 20px; font-size: .875rem; }
.guide-questions .guide-detail > p { padding: 0 20px 20px; font-size: .875rem; }
.guide-page .charleston-section > .section-jump { margin-top: 8px; }

.guide-page .turn-track { gap: 16px; align-items: stretch; }
.guide-page .turn-track article { min-height: 0; padding: 24px; border: 1px solid var(--guide-border); border-radius: 9px; background: #fffdf8; }
.guide-page .turn-number { color: #8c6b44; }
.guide-page .turn-track h3 { margin: 20px 0 8px; font-size: 1.625rem; font-weight: 500; }
.guide-page .turn-track p { margin: 0; color: var(--guide-muted); font-size: .9375rem; }
.guide-page .track-arrow { align-self: center; color: #8a9b7e; font-size: 1.25rem; }
.guide-turn-art { height: 90px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.guide-tile-back { display: block; width: 54px; height: 78px; border: 3px double #dfd0a0; border-radius: 5px; background: repeating-linear-gradient(45deg, #346b50 0 4px, #45795e 4px 5px); box-shadow: 2px 4px 0 #adc0a2; transform: rotate(-8deg); }
.guide-draw-arrow { color: #8c6b44; font-size: 2rem; }
.guide-page .table-note { max-width: none; margin: 28px 0 0; padding: 28px; gap: 18px; border-color: var(--guide-border); border-radius: 9px; background: #eef1e7; }
.guide-page .table-note .callout-mark { width: 30px; height: 30px; background: #516b49; }
.guide-page .table-note-label { color: #687b5d; font-size: .625rem; }
.guide-page .table-note h3 { font: 500 1.75rem/1.2 var(--serif); margin: 8px 0 12px; }
.guide-page .table-note-intro { font-size: .9375rem; }
.guide-page .claim-steps { gap: 24px; background: none; padding: 0; margin-top: 24px; }
.guide-page .claim-steps article { display: block; padding: 0; background: none; }
.guide-page .claim-steps article > span { width: auto; height: auto; display: block; margin-bottom: 10px; background: none; color: #738067; font: 700 .75rem/1 var(--sans); }
.guide-page .claim-steps strong { margin-bottom: 8px; font: 650 .9375rem/1.5 var(--sans); }
.guide-page .claim-steps p { font-size: .875rem; }
.guide-call-details { margin-top: 24px; background: #f8faf3; }
.guide-call-details > summary { padding: 16px 20px; font-size: .875rem; }
.guide-page .claim-rules { margin: 0; padding: 0 20px 20px; gap: 18px 28px; }
.guide-page .claim-rules p { font-size: .875rem; }

/* The finished hand remains grouped with its notation, even on a small phone. */
.guide-page .closing { text-align: left; }
.guide-page .closing > .eyebrow { justify-content: flex-start; }
.guide-page .closing > p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--guide-muted); font-size: 1rem; }
.guide-page .winning-example { max-width: none; margin: 30px 0; padding: 24px; border: 1px solid var(--guide-border); border-radius: 10px; background: #f0f2e8; box-shadow: none; }
.guide-winning-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-bottom: 22px; }
.guide-winning-heading strong { font: 500 1.375rem/1.3 var(--serif); }
.guide-winning-heading > span { align-self: center; color: #64715b; font-size: .75rem; }
.guide-winning-groups { display: grid; grid-template-columns: .72fr 1fr 1fr 1fr; gap: 12px; }
.guide-winning-group { min-width: 0; padding: 18px 10px 12px; border: 1px solid #d3dbc8; border-radius: 6px; background: #fffdf6; text-align: center; }
.guide-winning-notation { font: 800 1.875rem/1.3 var(--sans); letter-spacing: .06em; }
.guide-group-match { display: block; margin: 10px 0 14px; color: #95a488; font-size: 1.125rem; }
.guide-winning-group p { margin: 16px 0 0; color: #56684e; font-size: .75rem; }
.guide-page .guide-winning-group .mini-tile { flex-basis: 42px; width: 42px; height: 64px; }
.guide-page .guide-winning-group .mini-tile-face > b { font-size: .5rem; }
.guide-page .guide-winning-group .mini-tile-face > small { font-size: .3125rem; }
.guide-page .winning-caption { max-width: 800px; margin: 20px 0 0; color: #52644b; font-size: .875rem; }
.guide-page .mahjong-call { max-width: none; margin: 0 0 24px; padding: 24px 28px; border: 1px solid #a6b69a; border-radius: 7px; background: #214a38; color: #fff9e9; text-align: left; }
.guide-page .mahjong-call > span { color: #d5c991; font-size: .625rem; }
.guide-page .mahjong-call > strong { display: block; margin: 4px 0 8px; font: 500 2.25rem/1.2 var(--serif); color: #fff9e9; }
.guide-page .mahjong-call p { color: #d6e1ce; font-size: .875rem; }
.guide-next-step { display: flex; justify-content: space-between; gap: 32px; align-items: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--guide-border); }
.guide-next-step h3 { margin: 0 0 8px; font: 500 1.75rem/1.2 var(--serif); }
.guide-next-step p:not(.eyebrow) { max-width: 580px; margin: 0; color: var(--guide-muted); font-size: .9375rem; }
.guide-next-step .hero-actions { flex: 0 0 240px; justify-content: center; margin: 0; }
.guide-page .site-footer { margin-top: 40px; }

@media (max-width: 1050px) {
  .guide-page .hero { grid-template-columns: 1fr 1fr; }
  .guide-page .hero-copy { padding: 36px 28px; }
  .guide-page h1 { font-size: 3.4rem; }
  .guide-page .hero-art { min-height: 460px; }
  .guide-page .tile-fan { transform: translateY(38px) scale(.62); }
  .guide-page .rack { width: 320px; top: calc(50% + 109px); }
  .guide-page .section, .guide-page .closing { padding-inline: 28px; }
  .guide-page .card-section { margin-inline: 28px; padding: 32px; gap: 28px; }
  .guide-page .tile-group { padding: 18px; }
  .guide-page .tile-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-page .mini-tiles { gap: 4px; }
  .guide-page .tile-group .mini-tile { width: 42px; flex-basis: 42px; height: 66px; }
  .guide-winning-groups { grid-template-columns: 1fr 1fr; }
  .guide-page .guide-winning-group .mini-tile { width: 44px; flex-basis: 44px; height: 66px; }
  .guide-nav { gap: 12px; padding-inline: 16px; }
  .guide-nav a { padding-inline: 9px; }
  .guide-nav-label { display: none; }
  .guide-page .charleston-section { gap: 28px; }
  .guide-page .game-sequence { grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
}
@media (max-width: 760px) {
  .guide-page .site-header { padding: 16px 20px 10px; gap: 14px; }
  .guide-page .site-header nav { gap: 0 18px; flex-basis: 100%; }
  .guide-page .site-header nav a { min-height: 36px; }
  .guide-page .hero { grid-template-columns: 1fr; margin-top: 0; }
  .guide-page .hero-copy { padding: 40px 24px 32px; }
  .guide-page h1 { font-size: clamp(2.75rem, 8vw, 3.5rem); }
  .guide-page .hero-intro { max-width: 550px; }
  .guide-page .hero-art { min-height: 325px; max-width: none; margin: 0 20px; }
  .guide-page .tile-fan { height: 220px; transform: translateY(20px) scale(.68); }
  .guide-page .rack { top: calc(50% + 91px); width: 350px; }
  .hero-art-caption { top: 22px; left: 24px; }
  .hero-art-caption strong { font-size: 1.375rem; }
  .hero-art-caption > span { font-size: .5625rem; margin-bottom: 6px; }
  .guide-page .quick-truth { grid-template-columns: 1fr; gap: 12px; padding: 32px 24px; }
  .guide-page .quick-truth h2 { font-size: 1.625rem; }
  .guide-page .quick-truth h2 br { display: none; }
  .guide-nav { padding: 0 12px; justify-content: flex-start; }
  .guide-nav a { min-height: 52px; padding-inline: 12px; }
  .guide-page .section, .guide-page .closing { padding: 44px 24px 20px; }
  .guide-page .tile-groups { grid-template-columns: 1fr; gap: 14px; }
  .guide-page .tile-group { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px; }
  .guide-page .tile-group .number { grid-column: 1; grid-row: 1; }
  .guide-page .tile-group h3 { grid-column: 1; margin: 2px 0 10px; }
  .guide-page .tile-group > p:last-child { grid-column: 1 / -1; }
  .guide-page .mini-tiles { grid-column: 2; grid-row: 1 / 3; margin: 0; min-height: 68px; }
  .guide-page .card-section { grid-template-columns: 1fr; margin: 16px 20px; padding: 28px 24px 18px; }
  .guide-page .card-copy { grid-row: 1; }
  .guide-page .guide-sample-pattern { font-size: 1.75rem; }
  .guide-page .sequence-heading { grid-template-columns: 1fr; gap: 4px; }
  .guide-page .game-sequence { grid-template-columns: repeat(2, 1fr); }
  .guide-page .deal-section { grid-template-columns: 1fr; gap: 24px; }
  .guide-deal-summary { padding: 20px 24px; }
  .guide-page .setup-steps { grid-template-columns: 1fr; padding: 0 14px 14px; gap: 14px; }
  .guide-page .setup-steps > article { padding: 20px 16px; }
  .guide-page .setup-heading { padding-inline: 20px; }
  .guide-detail > summary { padding: 18px 20px; }
  .guide-page :is(.wall-roll-example, .wall-push-example) { grid-template-columns: 1fr; }
  .guide-page .dice-roll-example { min-height: 100px; border-bottom: 1px solid #cbd4c2; border-right: 0; }
  .guide-page .wall-push-picture { min-height: 170px; border-right: 0; border-bottom: 1px solid #cbd4c2; }
  .guide-page :is(.wall-push-rack, .wall-push-original, .wall-push-angled) { left: calc(50% - 70px); }
  .guide-page .wall-push-arrow { right: calc(50% - 94px); }
  .guide-page .wall-count-copy { padding: 18px; }
  .guide-page :is(.full-wall-visual, .deal-example.full-wall-visual) { height: 250px; }
  .guide-page .full-wall-scroll { top: 52px; left: 10px; right: 10px; bottom: 30px; }
  .guide-page .break-example .full-wall-scroll { top: 76px; bottom: 20px; }
  .guide-page .full-wall-row { grid-template-columns: repeat(12, minmax(0, 1fr)) 13px repeat(7, minmax(0, 1fr)); gap: 2px; }
  .guide-page .full-wall-row i { height: 34px; box-shadow: none; }
  .guide-page .full-wall-row .wall-break { height: 43px; }
  .guide-page .full-wall-labels, .guide-page .full-wall-markers { gap: 13px; letter-spacing: 0; text-transform: none; }
  .guide-page .break-example .count-instruction { top: 45px; left: 14px; }
  .guide-page .full-wall-row i::after { font-size: .625rem; }
  .guide-page .full-wall-row .wall-break::after { font-size: .5rem; left: -13px; }
  .guide-page .final-picks-example { padding: 16px 12px; }
  .guide-page .final-picks-heading { align-items: start; }
  .guide-page .final-picks-heading span { max-width: 130px; }
  .guide-rack-example { padding: 24px 12px; }
  .guide-page .charleston-section { grid-template-columns: 1fr; gap: 24px; }
  .guide-charleston-visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .guide-questions { grid-template-columns: 1fr; }
  .guide-page .turn-track { grid-template-columns: 1fr; gap: 0; }
  .guide-page .turn-track article { display: grid; grid-template-columns: minmax(0, 1fr) 126px; gap: 8px 14px; padding: 22px; }
  .guide-page .turn-number { grid-column: 1; }
  .guide-page .turn-track h3 { grid-column: 1; margin: 0; }
  .guide-page .turn-track p { grid-column: 1 / -1; }
  .guide-turn-art { grid-column: 2; grid-row: 1 / 3; margin: 0; height: 78px; }
  .guide-page .guide-turn-art .mini-tile { width: 36px; height: 58px; flex-basis: 36px; }
  .guide-page .track-arrow { line-height: 1; padding: 10px 0; }
  .guide-page .table-note { padding: 22px; display: block; }
  .guide-page .table-note .callout-mark { display: none; }
  .guide-page .claim-steps { grid-template-columns: 1fr; gap: 20px; }
  .guide-page .claim-steps article { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
  .guide-page .claim-steps article > span { padding-top: 5px; }
  .guide-page .claim-rules { grid-template-columns: 1fr; }
  .guide-page .winning-example { padding: 18px; }
  .guide-winning-groups { grid-template-columns: 1fr 1fr; gap: 12px; }
  .guide-page .guide-winning-group .mini-tile { width: 44px; height: 65px; flex-basis: 44px; }
  .guide-next-step { display: block; margin-top: 32px; }
  .guide-next-step .hero-actions { margin-top: 24px; justify-content: flex-start; }
}
@media (max-width: 470px) {
  .guide-page .hero-art { min-height: 300px; }
  .guide-page .tile-fan { transform: translateY(24px) scale(.51); }
  .guide-page .rack { width: 270px; top: calc(50% + 78px); height: 20px; }
  .guide-page .hero-copy { padding-inline: 20px; }
  .guide-page .section, .guide-page .closing { padding-inline: 20px; }
  .guide-page .tile-group { display: flex; flex-direction: column; align-items: flex-start; }
  .guide-page .mini-tiles { margin-bottom: 16px; gap: 6px; }
  .guide-page .tile-group .mini-tile { width: 54px; height: 78px; flex-basis: 54px; }
  .guide-page .game-sequence { grid-template-columns: 1fr; }
  .guide-page .game-sequence a { padding-block: 20px; }
  .guide-page .section-jump strong { font-size: .8125rem; }
  .guide-page .section-jump a { padding-inline: 0; gap: 2px 4px; }
  .guide-page .card-section { padding: 28px 20px 16px; }
  .guide-sample-card { padding: 20px 16px; }
  .guide-page .guide-sample-pattern { font-size: 1.5rem; gap: 7px; }
  .guide-page .setup-steps { padding-inline: 8px; }
  .guide-page .setup-steps > article { padding: 16px 12px; }
  .guide-page .setup-steps h3 { font-size: 1.375rem; }
  .guide-page .setup-equation, .guide-page .setup-equation strong { font-size: .75rem; gap: 5px; }
  .guide-page .pass-map { height: 310px; }
  .guide-page .guide-rack-tiles .mini-tile { width: 43px; height: 66px; flex-basis: 43px; }
  .guide-page .winning-example { padding: 14px; }
  .guide-winning-groups { grid-template-columns: 1fr; gap: 10px; }
  .guide-winning-group { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 10px; padding: 16px 12px; }
  .guide-winning-notation { font-size: 1.5rem; letter-spacing: .025em; }
  .guide-group-match { display: none; }
  .guide-winning-group p { grid-column: 1 / -1; margin: 4px 0 0; font-size: .8125rem; }
  .guide-page .guide-winning-group .mini-tile { width: 34px; height: 54px; flex-basis: 34px; }
  .guide-page .guide-winning-group [data-guide-tiles] { gap: 3px; }
}
@media (max-width: 360px) {
  .guide-page .guide-winning-group { grid-template-columns: 1fr; }
  .guide-page .guide-winning-group .mini-tile { width: 43px; height: 64px; flex-basis: 43px; }
  .guide-page .guide-sample-pattern { font-size: 1.25rem; }
  .guide-page .hero-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-page *, .guide-page *::before, .guide-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .guide-nav, .guide-page .site-header, .guide-page .section-jump, .guide-next-step { display: none; }
  .guide-page .section, .guide-page .closing, .guide-page .card-section { max-width: none; margin: 0; padding: 24px 0; }
  .guide-page details::details-content { content-visibility: visible; display: block; }
  .guide-page details > :not(summary) { display: block; }
  .guide-page .setup-steps { display: grid !important; }
  .guide-page .setup-steps > article, .guide-winning-group { break-inside: avoid; }
}
