/* Illustrated rules only. No selectors below modify the live table, its cards or scoring. */
body .modal-rules{width:min(1190px,calc(100vw - 32px));max-width:none;height:min(850px,94dvh);max-height:94dvh;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#142b24;border:1px solid #b99d6255}
body .modal-rules>.modal-header{padding:15px 24px;min-height:74px;flex:none;background:#1e382c;border-bottom:1px solid #dcc58a24;display:flex;align-items:center}
body .modal-rules>.modal-header .small-label{font-size:10px;letter-spacing:.25em;color:#bda978}body .modal-rules>.modal-header h2{font-size:24px;line-height:1.25;margin:3px 0 0;letter-spacing:.08em}
body .modal-rules>.modal-body{padding:0;display:flex;overflow:hidden;flex:1;min-height:0;max-height:none}
.rules-guide{--rg-cream:#f0e5c6;--rg-dim:#afc2ad;--rg-gold:#e4c17e;--rg-green:#a6d7b8;display:grid;grid-template-columns:174px minmax(0,1fr);width:100%;min-height:0;color:var(--rg-cream);font:14px/1.6 var(--sans)}
.rules-guide *{box-sizing:border-box}.rules-guide button{font-family:var(--sans)}.rules-guide h3,.rules-guide h4,.rules-guide p{margin:0}.rules-guide h4{font-size:16px;line-height:1.5;color:#f0e4c1}.rules-guide p{color:var(--rg-dim);line-height:1.7}
.rules-guide .rg-nav{background:#10271f;border-right:1px solid #d9c38d1c;display:flex;flex-direction:column;padding:18px 10px;gap:5px;min-height:0}
.rg-nav-label{padding:0 10px 14px;color:#d2c097;font-size:11px;letter-spacing:.15em}.rg-nav-label span{display:block;color:#779781;font-size:10px;margin-top:3px;letter-spacing:.08em}
.rules-guide .rg-chapter{display:flex;align-items:center;gap:10px;padding:14px 10px;text-align:left;background:none;border:1px solid transparent;border-radius:10px;color:#97b29f;cursor:pointer;width:100%}
.rg-chapter>i{font-size:12px;color:#82967f;font-style:normal;font-variant-numeric:tabular-nums}.rg-chapter>span{min-width:0;flex:1}.rg-chapter b{display:block;font-size:14px;font-weight:600}.rg-chapter small{display:block;font-size:10px;margin-top:3px;color:#7e9a87;white-space:nowrap}.rg-chapter>.icon{width:13px;height:13px;opacity:0;flex:none}
.rules-guide .rg-chapter:hover{background:#bdcea90a;color:#f0d795}.rules-guide .rg-chapter.selected{background:linear-gradient(125deg,#b39b6130,#b39b6109);border-color:#ccb4784a;color:#ffe2a3}.rg-chapter.selected>i{color:#efd594}.rg-chapter.selected>.icon{opacity:1}.rg-chapter.selected small{color:#c5b98f}
.rg-nav-foot{margin-top:auto;padding:20px 10px 2px;font-size:11px;color:#6e907a;line-height:1.9}.rg-main{display:flex;flex-direction:column;min-height:0;min-width:0}.rg-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 28px 22px;scrollbar-color:#68836d #142b24;scrollbar-width:thin;outline:none}
.rg-heading{margin-bottom:19px}.rg-heading>span{color:#cbad70;font-size:11px;letter-spacing:.18em}.rg-heading h3{font:600 28px/1.35 var(--serif);margin:7px 0 8px;color:#f8eacc;outline:none;letter-spacing:.035em}.rg-heading p{font-size:14px;max-width:700px}
.rg-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 24px;background:#11271f;border-top:1px solid #d8c18d20;flex:none}.rg-footer>span{color:#d6bf8e;font-size:12px}.rg-footer>span small{display:block;font-size:10px;color:#829d8a;line-height:1.5}.rg-footer>div{display:flex;gap:8px}
.rules-guide .rg-button{display:inline-flex;justify-content:center;align-items:center;gap:5px;background:#263f31;border:1px solid #ceba8533;border-radius:8px;color:#dbcba4;cursor:pointer;padding:9px 13px;font-size:12px;line-height:1.4;min-height:36px;transition:background .15s,box-shadow .15s}
.rules-guide .rg-button:hover{background:#35503b;border-color:#ccba6f77}.rules-guide .rg-button.primary{color:#23372c;background:#e2c58e;border-color:#efd7a6;font-weight:600}.rules-guide .rg-button.primary:hover{background:#f1d69f}.rules-guide .rg-button.quiet{background:none;border-color:transparent;color:#adc1ad}.rules-guide .rg-button:disabled{opacity:.42;cursor:default}.rules-guide button:focus-visible,.rules-guide summary:focus-visible{outline:2px solid #f5d18b;outline-offset:3px}.rules-guide .rg-button.current{background:#dec08425;border-color:#d9b873;color:#ffe3a1}
.rules-guide .rg-cards{display:flex;justify-content:center;align-items:flex-start;gap:5px;min-width:0}.rules-guide .rg-face{display:inline-flex;flex-direction:column;align-items:center;gap:6px;flex:none}.rules-guide .rg-face>.tile{width:52px;height:auto;max-width:none;display:block;filter:drop-shadow(0 5px 5px #0004);transform:none;margin:0}.rules-guide .rg-face .tile-svg{width:100%;height:auto;display:block}.rules-guide .rg-face>small{font-size:11px;color:#c7cbaa;line-height:1.25;white-space:nowrap}
.rules-guide .rg-person{display:flex;align-items:center;gap:7px}.rules-guide .rg-person .avatar{width:30px;height:30px;flex:none}.rg-person b{font-size:13px;font-weight:500}.rg-facts{display:flex;gap:8px;margin-bottom:15px;flex-wrap:wrap}.rg-facts>span{padding:4px 12px;border-radius:20px;background:#294735;font-size:12px;color:#bed0b8;display:flex;align-items:center;gap:5px}.rg-facts b{font-size:18px;font-weight:600;color:#ead49c}
.rg-scene{border:1px solid #aabd833c;border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 50% 20%,#2d513b,#1b3529 75%)}.rg-scene-label{padding:10px 17px;border-bottom:1px solid #ffffff0d;color:#d1c091;font-size:11px;display:flex;justify-content:space-between;gap:10px}.rg-scene-label span{color:#8dab95;font-size:10px}
.rg-round-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:23px 22px 15px}.rg-flow-seat{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 4px 9px;border:1px solid transparent;border-radius:12px;transition:opacity .2s,background .2s}.rg-flow-seat.upcoming{opacity:.32}.rg-flow-seat.leading{background:#b0a65515;border-color:#dcc1777a}.rg-flow-seat.won{background:#b9ba5b20;border-color:#edcf84;box-shadow:0 0 25px #e0c36f14}
.rg-flow-seat .rg-order{position:absolute;top:-10px;left:7px;color:#9db296;font-size:10px;border:1px solid #a9be7d33;background:#1f392b;width:21px;height:21px;line-height:19px;text-align:center;border-radius:50%}.rg-flow-card .rg-face>.tile{width:67px}.rg-flow-tag{font-size:11px;color:#c5c99e;white-space:nowrap}.won .rg-flow-tag{color:#ffe19a;font-weight:600}.rg-flow-arrow{position:absolute;right:-20px;top:48%;font-size:21px;color:#a9bf8d80}
.rg-caption{padding:14px 19px 5px;min-height:80px;background:#102a1f44}.rg-caption>b{font-size:16px;color:#f0d395}.rg-caption p{font-size:13px;line-height:1.6;margin-top:3px}.rg-demo-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 19px 15px;background:#102a1f44}.rg-steps{display:flex;gap:5px}.rules-guide .rg-steps .rg-button{width:28px;height:28px;min-height:28px;padding:0;font-size:11px;border-radius:50%}
.rg-two-notes{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:16px}.rg-two-notes>div{border-left:2px solid #bfa9686b;padding:4px 11px}.rg-two-notes b{font-size:14px;color:#e4d4aa}.rg-two-notes p{font-size:12px;margin-top:3px}.rg-keyline{margin-top:16px;padding:12px 14px;background:#afba770b;border-radius:8px;color:#b1c2a5;font-size:12px;line-height:1.8}.rg-keyline strong{color:#ebcc8c;font-weight:500}
.rg-deck-layout{display:grid;grid-template-columns:minmax(245px,.95fr) minmax(285px,1.2fr);gap:16px}.rg-pair-box,.rg-deck-box{padding:16px;border:1px solid #c4b5792b;border-radius:12px;background:#1c3629}.rg-pair-box{text-align:center}.rg-pair-picks{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:12px 0}.rules-guide .rg-pair-picks .rg-button{font-size:11px;min-height:30px;padding:5px 8px}.rg-pair-large{margin:17px 0 10px}.rg-pair-large .rg-face>.tile{width:63px}
.rg-verdict{font-size:14px;font-weight:600;display:inline-block;padding:3px 12px;border-radius:20px;margin:0 0 7px}.rg-verdict.yes{background:#55856a35;color:#b0e3bd}.rg-verdict.no{background:#a56b5730;color:#ffb79e}.rg-pair-box p{font-size:12px;min-height:60px;margin-top:5px}.rg-pair-compare{display:flex;align-items:center;justify-content:center;gap:15px;margin:15px 0 8px}.rg-pair-compare .rg-face>.tile{width:29px}.rg-pair-compare>strong{color:#e5c887;font-size:22px}.rg-pair-box>small{display:block;font-size:10px;color:#97b098}.rules-guide .text-link{background:transparent;border:0;color:#e4c182;font-size:12px;margin-top:8px;padding:5px}
.rg-box-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.rg-box-title>span{color:#96ac8e;font-size:10px}.rg-full-deck{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.rg-rank{display:flex;align-items:center;gap:5px;border-bottom:1px solid #decb8e17;padding:7px 0;min-width:0}.rg-rank>b{font-size:13px;color:#e4d1a7;font-weight:500;width:17px;flex:none}.rg-rank>div{display:flex;gap:1px;min-width:0;flex-wrap:nowrap}.rg-rank .rg-face>.tile{width:23px;filter:none}.rg-rank>small{font-size:9px;color:#879e85;margin-left:auto;white-space:nowrap}.rg-deck-box .rg-micro{font-size:11px;line-height:1.75;margin-top:12px}
.rg-opening-layout{display:grid;grid-template-columns:minmax(330px,1.25fr) minmax(210px,1fr);gap:22px;align-items:center}.rg-mini-table{position:relative;height:355px;background:radial-gradient(ellipse at center,#294a35,#193527);border:4px double #b69a5466;border-radius:18px;overflow:hidden}.rg-table-ring{position:absolute;inset:20%;border:1px dashed #c3c88826;border-radius:50%;font-size:180px;color:#ced99f14;line-height:1;text-align:center;pointer-events:none}
.rg-dice-seat{position:absolute;display:flex;flex-direction:column;align-items:center;padding:7px 9px;gap:2px;border-radius:10px;border:1px solid transparent;z-index:1}.rg-dice-seat-0{bottom:9px;left:50%;transform:translateX(-50%)}.rg-dice-seat-1{right:8px;top:50%;transform:translateY(-50%)}.rg-dice-seat-2{top:8px;left:50%;transform:translateX(-50%)}.rg-dice-seat-3{left:8px;top:50%;transform:translateY(-50%)}.rg-dice-seat>small{font-size:9px;color:#9fbb9d;min-height:14px}.rg-dice-seat>b{font-size:14px;color:#debd78;font-variant-numeric:tabular-nums}.rg-dice-seat.counting{background:#d9c57328;border-color:#dbc076;box-shadow:0 0 22px #d9c67c18}.rg-dice-seat .rg-person{gap:5px}.rg-dice-seat .rg-person .avatar{width:24px;height:24px}.rg-dice-seat .rg-person b{font-size:11px}
.rg-dice-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:200px;display:flex;flex-direction:column;align-items:center;gap:5px}.rg-dice-center>small{color:#79977d;font-size:9px}.rg-dice-pair{display:flex;gap:11px}.rg-dice-pair .die{width:41px;height:auto}.rg-dice-center>strong{font-size:22px;color:#f7d48a;font-weight:500}.rg-dice-center>span{font-size:11px;color:#c7d5b3}.rg-dice-center .rg-button{min-height:30px;padding:5px 12px;font-size:11px;margin-top:5px}
.rg-opening-notes{display:flex;flex-direction:column;gap:18px}.rg-opening-notes article{display:flex;align-items:flex-start;gap:11px}.rg-opening-notes article>i{font-style:normal;background:#385139;color:#e4ce92;border-radius:50%;width:28px;height:28px;line-height:28px;text-align:center;flex:none}.rg-opening-notes h4{font-size:15px}.rg-opening-notes p{font-size:12px;margin-top:3px}.rules-guide details{font-size:12px;color:#b8c7aa;border-top:1px solid #ddc18824;padding-top:12px}.rules-guide summary{cursor:pointer;color:#cfbc90;line-height:1.7}.rules-guide details p{margin-top:10px}.rg-opening-notes details{font-size:11px}
.rg-he-hero{display:flex;align-items:center;justify-content:center;gap:25px;background:radial-gradient(ellipse at 60% 30%,#81723a36,#213829);border:1px solid #debd7566;padding:19px;border-radius:14px;margin:0 0 15px}.rg-he-hero>div:first-child{display:flex;align-items:center;gap:15px}.rg-he-hero .rg-face>.tile{width:57px}.rg-he-hero>div:first-child>b,.rg-he-equals{font-size:24px;color:#b9b27e;font-weight:400}.rg-he-reward{display:flex;flex-direction:column;gap:4px}.rg-he-reward>small{color:#bca36c;font-size:11px;letter-spacing:.1em}.rg-he-reward>strong{font:500 38px/1.2 var(--serif);color:#ffe0a0;letter-spacing:.12em}.rg-he-reward>b{font-size:12px;color:#c4cea4;font-weight:400}.rg-he-reward em{font:600 28px/1.2 var(--sans);color:#f7d17b;margin-left:5px}
.rg-segment{display:flex;gap:5px;flex-wrap:wrap}.rules-guide .rg-segment .rg-button{font-size:12px;min-height:32px;padding:6px 12px}.rg-he-state{margin-top:12px;padding:18px 20px;border-radius:12px;background:#20392c;border:1px solid #b8b58224;text-align:center;min-height:260px}.rg-he-state>h4{font-size:17px;margin:12px 0 4px}.rg-he-state>p{font-size:12px;max-width:640px;margin:0 auto}.rg-he-example{display:flex;justify-content:center;align-items:center;gap:25px;min-height:140px}.rg-he-example .rg-face>.tile{width:50px}.rg-he-example>b{font-size:17px;color:#d8c99f;font-weight:500}.rg-example-arrow{font-size:28px;color:#bfa873}
.rg-he-timeline{display:flex;align-items:center;justify-content:center;gap:20px}.rg-he-timeline>div{display:flex;flex-direction:column;align-items:center;gap:7px}.rg-he-timeline>div>small{font-size:10px;color:#a5bb97;letter-spacing:.1em}.rg-he-timeline .rg-face>.tile{width:40px}.rg-he-timeline>div>b{font-size:11px;font-weight:500;color:#dace9f}.rg-he-timeline .rg-he-spot{padding:6px 13px;border:1px solid #d9b86670;border-radius:10px;background:#dbbc6610}.rg-he-others>span{display:flex;align-items:center;gap:7px}.rg-he-others .avatar{width:21px;height:21px}.rg-he-others .rg-cards .tile{width:17px}.rg-spent{opacity:.3;filter:grayscale(.7)}
.rg-point-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.rg-point-cards>article{display:flex;align-items:center;justify-content:center;gap:13px;background:#203b2d;border:1px solid #cab07233;border-radius:12px;padding:14px 10px}.rg-point-cards .rg-face>.tile{width:29px}.rg-point-cards>article>div:last-child{display:flex;flex-direction:column;gap:2px}.rg-point-cards b{font-size:11px;font-weight:400;color:#c0c9a4}.rg-point-cards strong{color:#f0d49b;font-size:34px;line-height:1.25}.rg-point-cards strong small{font-size:11px;margin-left:4px}.rg-point-cards>article.rg-he-point{background:#675e2824;border-color:#c8a96066}
.rg-score-lab{border:1px solid #b3c38738;padding:19px 22px 17px;border-radius:14px;background:#1a3427}.rg-score-lab>.rg-box-title{flex-wrap:wrap;margin-bottom:3px}.rg-score-lab>p{font-size:12px}.rg-score-lab>p b{color:#eccf8b}.rg-equation{display:flex;justify-content:center;align-items:center;gap:24px;padding:23px 5px}.rg-equation>div{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:60px}.rg-equation small{font-size:11px;color:#9fb59a}.rg-equation strong{font-size:40px;color:#f4e0b0;line-height:1.2;font-weight:500}.rg-equation>span{font-size:25px;color:#7d9b7d;padding-top:25px}.rg-score-picker{display:flex;align-items:center;gap:14px}.rules-guide .rg-score-picker .rg-button{padding:0;width:28px;height:28px;min-height:28px;font-size:20px}.rg-equation .rg-net strong{color:#a3d6ad}.rg-equation .rg-net.loss strong{color:#f49d83}.rg-equation .rg-net.neutral strong{color:#c6c5a6}
.rg-cumulative{padding:10px 0 0;border-top:1px solid #a3b78222;font-size:12px;color:#a3bc9e;display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:wrap}.rg-cumulative>span{padding:2px 10px;background:#98b67b10;border-radius:6px;color:#e6d098}.rg-cumulative strong{font-size:18px;color:#c4dda6}.rg-next-flow{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:16px;color:#b4c8ac}.rg-next-flow span{background:#8ca86b0d;border-radius:6px;padding:7px 11px;font-size:11px}.rg-next-flow>b{font-weight:400;color:#809f76}
.rg-quiz-tabs{margin-bottom:13px}.rg-quiz-box{padding:18px 21px;border-radius:13px;background:#1c3629;border:1px solid #b8c38933}.rg-quiz-box>h4{font-size:19px;margin-bottom:4px}.rg-quiz-box>p{font-size:12px}.rg-quiz-scene{display:flex;align-items:center;justify-content:center;gap:28px;padding:19px 0}.rg-quiz-scene>div{display:flex;flex-direction:column;align-items:center;gap:6px}.rg-quiz-scene small{font-size:10px;color:#a2ba98}.rg-quiz-scene .rg-face>.tile{width:43px}.rg-quiz-scene b{font-size:11px;font-weight:400;color:#d9c18c}.rg-quiz-scene .rg-faded{opacity:.5}
.rg-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.rules-guide .rg-answers .rg-button{padding:10px 8px;min-height:42px;line-height:1.5}.rules-guide .rg-answers .answer-right{background:#65a87825;border-color:#8cc895;color:#d5f5cd}.rules-guide .rg-answers .answer-wrong{background:#b5754f25;border-color:#c48a71;color:#f6c9ac}.rg-feedback{margin-top:11px;padding:10px 12px;border-radius:8px;background:#0b281a33;font-size:12px;min-height:68px;color:#9db499;line-height:1.7}.rg-feedback b{font-size:13px;color:#d7d49d}.rg-feedback p{font-size:12px;margin-top:2px}.rg-feedback.right{border-left:3px solid #79b586}.rg-feedback.wrong{border-left:3px solid #d1a268}
.rules-guide .rg-strategy-toggle{width:100%;margin:14px 0 4px;justify-content:space-between;background:none;border-color:#c4b87b30;padding:10px 13px;color:#cfbe8f}.rg-strategy{padding:18px;border:1px solid #b8b67928;border-radius:12px;background:#203a2a;margin-top:8px}.rg-strategy-flow{display:flex;justify-content:center;align-items:center;gap:25px;margin:17px 0}.rg-strategy-flow>div{display:flex;align-items:center;flex-direction:column;gap:6px}.rg-strategy-flow .rg-face>.tile{width:40px}.rg-strategy-flow b{font-size:11px;font-weight:400;color:#dfc993}.rg-strategy-flow>span{font-size:25px;color:#9aae81}.rg-strategy>p{font-size:12px}.rg-held{margin-top:12px;padding-top:12px;border-top:1px solid #aabe7d24;display:flex;align-items:center;gap:15px}.rg-held .rg-face>.tile{width:32px}.rg-held>span{color:#9fb798;font-size:12px;line-height:1.8}.rg-held strong{color:#dec48b;font-weight:500}
.rg-help-details{margin-top:14px}.rg-help-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-top:13px}.rg-help-grid h4{font-size:13px}.rg-help-grid p{font-size:11px}.rg-memory-demo{display:flex;justify-content:space-around;align-items:center;gap:5px;margin:14px 0}.rg-memory-demo .rg-face>.tile,.rg-help-grid .rg-cards .tile{width:28px}.rg-memory-demo .rg-face>small{font-size:9px}.rg-help-grid .rg-cards{margin:14px 0}.rules-guide kbd{border:1px solid #a1b47755;border-radius:4px;font-size:10px;color:#dec792;padding:1px 4px;background:#1a3225}
@media(max-width:1000px){.rules-guide{grid-template-columns:147px minmax(0,1fr)}.rg-content{padding:20px}.rg-chapter b{font-size:13px}.rg-chapter small{font-size:9px}.rules-guide .rg-chapter{gap:7px;padding:12px 8px}.rg-nav-foot{font-size:10px}.rg-deck-layout{grid-template-columns:1fr 1.1fr;gap:12px}.rg-full-deck{gap:7px}.rg-rank .rg-face>.tile{width:19px}.rg-opening-layout{grid-template-columns:1.35fr 1fr;gap:15px}.rg-mini-table{height:340px}.rg-dice-center{width:170px}.rg-dice-seat .rg-person{flex-direction:column;gap:2px}.rg-dice-seat-0 .rg-person,.rg-dice-seat-2 .rg-person{flex-direction:row}.rg-dice-center>.rg-button{font-size:10px}.rg-he-timeline{gap:14px}.rg-flow-card .rg-face>.tile{width:58px}.rg-round-flow{gap:10px;padding:18px 15px 12px}.rg-flow-arrow{right:-15px}.rg-point-cards{gap:8px}.rg-point-cards>article{gap:9px}.rg-point-cards .rg-face>.tile{width:25px}}
@media(max-width:760px){body .modal-rules{width:calc(100vw - 12px);height:96dvh;max-height:96dvh;border-radius:13px}body .modal-rules>.modal-header{padding:11px 15px;min-height:60px}body .modal-rules>.modal-header h2{font-size:20px}body .modal-rules>.modal-header .small-label{font-size:9px}.rules-guide{display:flex;flex-direction:column;min-height:0;font-size:13px}.rules-guide .rg-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-right:0;border-bottom:1px solid #d8c28b20;padding:7px 10px;flex:none}.rg-nav-label,.rg-nav-foot{display:none}.rules-guide .rg-chapter{padding:7px 6px;gap:5px;min-height:35px}.rg-chapter>i{font-size:10px}.rg-chapter b{font-size:12px;white-space:nowrap}.rg-chapter small,.rg-chapter>.icon{display:none}.rg-main{flex:1;min-height:0}.rg-content{padding:18px 16px 20px}.rg-heading{margin-bottom:14px}.rg-heading h3{font-size:23px;margin:6px 0}.rg-heading>span{font-size:10px}.rg-heading p{font-size:12px;line-height:1.65}.rg-footer{padding:9px 12px;gap:8px}.rg-footer>span{font-size:10px}.rg-footer>span small{font-size:9px;max-width:135px}.rg-footer .rg-button{font-size:11px;padding:8px 10px}.rg-footer>div{gap:4px}
 .rg-round-flow{padding:19px 12px 11px;gap:9px}.rg-flow-seat{gap:8px;padding:12px 2px 7px}.rg-person b{font-size:11px}.rg-flow-seat .rg-person{flex-direction:column;gap:3px}.rg-flow-seat .rg-person .avatar{width:25px;height:25px}.rg-flow-card .rg-face>.tile{width:48px}.rg-flow-card .rg-face>small{font-size:10px}.rg-flow-tag{font-size:9px}.rg-flow-arrow{right:-13px;font-size:17px}.rg-scene-label{padding:8px 11px;font-size:10px}.rg-scene-label span{font-size:9px}.rg-caption{padding:12px 12px 3px;min-height:86px}.rg-caption>b{font-size:15px}.rg-caption p{font-size:12px}.rg-demo-controls{padding:10px 12px 12px}.rg-facts{gap:5px}.rg-facts>span{font-size:10px;padding:3px 9px}.rg-facts b{font-size:16px}.rg-facts>span:last-child{margin-left:auto}.rg-two-notes{gap:10px}.rg-two-notes p{font-size:11px}.rg-keyline{font-size:11px;padding:10px 12px}
 .rg-deck-layout{display:flex;flex-direction:column;gap:13px}.rg-pair-box{padding:15px}.rg-pair-large .rg-face>.tile{width:57px}.rg-pair-box p{min-height:0}.rg-full-deck{gap:7px 12px}.rg-rank .rg-face>.tile{width:25px}.rg-rank{padding:5px 0;gap:4px}.rg-deck-box{padding:15px}.rg-deck-box .rg-box-title h4{font-size:15px}.rg-opening-layout{display:flex;flex-direction:column;gap:18px}.rg-mini-table{width:100%;height:330px}.rg-opening-notes{gap:14px;width:100%}.rg-opening-notes article p{font-size:12px}.rg-opening-notes details{font-size:11px}.rg-dice-seat-1{right:5px}.rg-dice-seat-3{left:5px}.rg-dice-seat{padding:6px}.rg-dice-center{width:190px}.rg-dice-seat .rg-person{flex-direction:row;gap:4px}
 .rg-he-hero{gap:13px;padding:16px 8px}.rg-he-hero>div:first-child{gap:7px}.rg-he-hero .rg-face>.tile{width:45px}.rg-he-hero .rg-face>small{font-size:9px}.rg-he-hero>div:first-child>b,.rg-he-equals{font-size:20px}.rg-he-reward>strong{font-size:30px}.rg-he-reward>small{font-size:9px}.rg-he-reward>b{font-size:10px}.rg-he-reward em{font-size:23px}.rg-he-state{padding:16px 11px;min-height:250px}.rg-he-timeline{gap:8px}.rg-he-timeline .rg-face>.tile{width:30px}.rg-he-timeline .rg-he-spot{padding:7px}.rg-he-timeline>div>b{font-size:9px}.rg-he-timeline>div>small{font-size:9px}.rg-he-others .rg-cards .tile{width:14px}.rg-he-others .avatar{width:19px;height:19px}.rg-he-timeline .rg-example-arrow{font-size:18px}.rg-he-state>h4{font-size:16px}.rg-he-state>p{font-size:12px}.rg-he-example{gap:15px}.rg-he-example>b{font-size:15px}
 .rg-point-cards{gap:6px}.rg-point-cards>article{flex-direction:column;gap:7px;padding:10px 4px}.rg-point-cards .rg-face>.tile{width:28px}.rg-point-cards>article>div:last-child{align-items:center;gap:1px}.rg-point-cards b{font-size:10px}.rg-point-cards strong{font-size:28px}.rg-score-lab{padding:15px 13px}.rg-score-lab .rg-box-title h4{font-size:15px}.rg-equation{gap:13px;padding:22px 0}.rg-equation>div{min-width:40px}.rg-equation strong{font-size:33px}.rg-equation small{font-size:10px}.rg-equation>span{font-size:22px}.rg-score-picker{gap:10px}.rules-guide .rg-score-picker .rg-button{width:25px;height:25px;min-height:25px;font-size:17px}.rg-cumulative{font-size:10px}.rg-next-flow{gap:5px}.rg-next-flow span{font-size:10px;padding:6px}.rg-next-flow>b{font-size:11px}
 .rg-quiz-box{padding:15px 12px}.rg-quiz-box>h4{font-size:17px}.rg-quiz-box>p{font-size:11px}.rg-quiz-scene{gap:12px;padding:16px 0}.rg-quiz-scene .rg-face>.tile{width:33px}.rg-quiz-scene .rg-cards{gap:3px}.rg-quiz-scene small{font-size:9px}.rg-quiz-scene .rg-example-arrow{font-size:23px}.rg-quiz-scene b{font-size:10px}.rg-answers{grid-template-columns:1fr;gap:6px}.rules-guide .rg-answers .rg-button{min-height:38px;font-size:12px}.rg-feedback{min-height:68px;padding:9px 10px}.rg-feedback p{font-size:11px}.rg-quiz-tabs{display:grid;grid-template-columns:1fr 1fr}.rules-guide .rg-quiz-tabs .rg-button{font-size:11px}.rg-strategy-flow{gap:13px}.rg-strategy-flow b{font-size:9px}.rg-strategy-flow .rg-face>.tile{width:34px}.rg-strategy-flow>span{font-size:21px}.rg-held{gap:10px}.rg-held>span{font-size:11px}.rg-help-grid{grid-template-columns:1fr;gap:16px}}
@media(max-width:760px){.rg-rank .rg-face>.tile{width:clamp(15px,calc((100vw - 150px)/11),23px)}.rg-flow-card .rg-face>small{white-space:normal;max-width:65px;text-align:center;min-height:24px}.rg-facts>span:last-child{margin-left:0}.rg-flow-seat{min-width:0}.rg-flow-tag{font-size:9px}.rg-footer>span small{max-width:115px}}
@media(max-width:360px){.rg-content{padding:15px 12px}.rg-heading h3{font-size:21px}.rg-heading p{font-size:11px}.rules-guide .rg-nav{padding:6px;gap:3px}.rules-guide .rg-chapter{gap:4px;padding:7px 4px}.rg-chapter b{font-size:11px}.rg-chapter>i{font-size:9px}.rg-round-flow{gap:5px;padding:16px 9px 10px}.rg-flow-card .rg-face>.tile{width:42px}.rg-flow-tag{font-size:8px}.rg-flow-arrow{right:-10px;font-size:14px}.rg-person b{font-size:10px}.rg-steps{gap:3px}.rules-guide .rg-steps .rg-button{width:24px;height:24px;min-height:24px}.rg-demo-controls{padding:9px;gap:6px}.rg-demo-controls>.rg-button{font-size:11px;padding:7px 10px}.rg-scene-label span{font-size:8px}.rg-footer{padding:8px;gap:5px}.rg-footer>span small{max-width:88px;font-size:8px}.rg-footer .rg-button{font-size:10px;padding:7px 8px;min-height:34px}.rg-he-hero{gap:7px}.rg-he-hero .rg-face>.tile{width:38px}.rg-he-hero .rg-face>small{font-size:8px}.rg-he-reward>strong{font-size:26px}.rg-he-timeline{gap:5px}.rg-he-timeline .rg-he-spot{padding:6px}.rg-he-timeline>div>b{font-size:8px}.rg-he-others .rg-cards .tile{width:12px}.rg-he-others .avatar{width:17px;height:17px}.rg-equation{gap:9px}.rg-score-picker{gap:7px}.rg-equation strong{font-size:29px}.rg-mini-table{height:320px}.rg-dice-center{width:165px}.rg-dice-seat .rg-person{flex-direction:column}.rg-dice-seat-0 .rg-person,.rg-dice-seat-2 .rg-person{flex-direction:row}.rg-dice-seat-1{right:4px}.rg-dice-seat-3{left:4px}.rg-dice-seat{padding:5px}.rg-dice-pair .die{width:36px}.rg-point-cards b{font-size:9px}.rg-quiz-scene{gap:8px}.rg-quiz-scene .rg-face>.tile{width:29px}.rg-quiz-scene small{font-size:8px}.rg-quiz-scene .rg-example-arrow{font-size:19px}}
@media(orientation:landscape) and (max-height:600px){body .modal-rules{height:96dvh;max-height:96dvh}body .modal-rules>.modal-header{min-height:48px;padding:6px 17px}body .modal-rules>.modal-header h2{font-size:18px}.rules-guide{display:grid;grid-template-columns:133px minmax(0,1fr)}.rules-guide .rg-nav{display:flex;flex-direction:column;padding:8px;border-right:1px solid #d8c28b20;border-bottom:0;gap:3px;overflow:auto}.rules-guide .rg-chapter{padding:8px 6px;min-height:32px;gap:7px}.rg-chapter b{font-size:11px}.rg-chapter small,.rg-nav-label,.rg-nav-foot,.rg-chapter>.icon{display:none}.rg-content{padding:14px 18px}.rg-heading h3{font-size:23px}.rg-footer{padding:6px 13px}.rg-footer .rg-button{padding:6px 9px;min-height:30px}.rg-footer>span small{font-size:8px}.rg-round-flow{padding:16px 12px 10px;gap:10px}.rg-flow-card .rg-face>.tile{width:46px}.rg-opening-layout{display:flex;flex-direction:column;align-items:stretch}.rg-mini-table{height:330px}.rg-he-timeline{gap:10px}.rg-he-hero .rg-face>.tile{width:44px}}
@keyframes rgLand{from{transform:translateY(-7px) scale(.95);opacity:.55}to{transform:translateY(0) scale(1);opacity:1}}
.rules-guide .rg-flow-seat.leading .rg-flow-card{animation:rgLand .28s ease-out}
@media(prefers-reduced-motion:reduce){.rules-guide *{animation:none!important;transition:none!important}}
html[data-motion=reduced] .rules-guide *{animation:none!important;transition:none!important}

@media(max-width:760px) and (orientation:portrait){.rg-mini-table{height:365px}.rg-dice-center{width:165px}}
@media(max-width:360px){.rg-mini-table{height:360px}.rg-dice-center{width:135px}.rg-dice-seat-1,.rg-dice-seat-3{width:43px}.rg-dice-seat-1 .rg-person,.rg-dice-seat-3 .rg-person{flex-direction:column}.rg-dice-seat-1 .avatar,.rg-dice-seat-3 .avatar{width:21px;height:21px}.rg-dice-center>strong{font-size:20px}.rg-dice-center>span{font-size:10px}.rg-dice-center>small{font-size:8px}}
