#rules-dialog{width:min(830px,94vw);max-width:94vw;max-height:min(90vh,970px);padding:0;overflow:hidden}
#rules-dialog .rules-content{margin:0;padding:0;display:flex;flex-direction:column;height:min(89vh,900px)}
.guide-header{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:18px 25px;border-bottom:1px solid #62867d66;background:#173842}
.guide-eyebrow{font-size:11px;color:#d3bb88;letter-spacing:.16em;font-weight:800}
.guide-header h2{font:700 29px/1.1 'Fraunces',Georgia,serif;color:#f6dbac;margin:5px 0 0}
.guide-close{font-size:13px;font-weight:700;background:#28515b;color:#fff0cf;border:1px solid #668b8b;border-radius:5px;padding:10px 14px;cursor:pointer}
.guide-scroll{overflow:auto;min-height:0;padding:22px 30px 34px;color:#d6e0d6;scroll-behavior:smooth}
.guide-intro{font-size:17px;line-height:1.55;color:#f1e3ce;margin:0 0 22px}
.guide-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.guide-stats>div{display:flex;align-items:center;gap:13px;padding:9px 14px;border-left:3px solid #c3a372;background:#2549526b}
.guide-stats strong{font:700 29px 'Fraunces',serif;color:#f4d5a2}.guide-stats span{font-size:12px;color:#c4d5cd;font-weight:700}
.guide-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;border-bottom:1px solid #688b7a50;padding-bottom:14px}
.guide-nav a{font-size:12px;text-decoration:none;border:1px solid #678b7e;background:#21434b;padding:6px 11px;border-radius:4px;color:#e4dfca;font-weight:800}
.guide-nav a:hover{background:#3f6966}
.guide-section{padding:10px 0 19px;scroll-margin-top:10px;border-bottom:1px solid #70928c3b}
.guide-section h3{display:flex;align-items:baseline;gap:10px;margin:4px 0 12px;color:#f4dbad;font:700 23px 'Fraunces',Georgia,serif}
.guide-section h3 span{font:800 12px 'DM Sans',system-ui;letter-spacing:.1em;color:#adad91}
.guide-section p{font-size:14px;line-height:1.7;color:#cbd9d2;margin:10px 0}
.guide-section strong{color:#fae8c6}
.guide-suits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.guide-suits article{display:flex;gap:12px;min-height:102px;padding:13px;background:#25464d;border:1px solid #496f6f72;border-radius:6px}
.guide-suit{font:700 41px/1 Georgia,serif;color:#f2c8b4}
.guide-suits .suit-clubs .guide-suit,.guide-suits .suit-spades .guide-suit{color:#bad7da}
.guide-suits h4,.guide-two h4{font:700 16px/1.25 'Fraunces',Georgia,serif;margin:0;color:#f0ddb9}
.guide-suits p{margin:5px 0 0;font-size:12px;line-height:1.55}
.guide-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.guide-two article{border-left:2px solid #b99a63;padding:9px 12px;background:#183742}
.guide-two p{margin:7px 0 0;font-size:12px;line-height:1.6}
.guide-royals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.guide-royals div{display:flex;align-items:center;flex-direction:column;gap:5px;padding:12px;background:#2d4f52;border:1px solid #63887b55;border-radius:5px}
.guide-royals strong{font:700 35px 'Fraunces',serif;color:#f1d49e}
.guide-royals span,.guide-royals small{font-size:12px;font-weight:700}
.guide-royals small{color:#a8c0b9}
.guide-section .guide-note{padding:9px 12px;border-left:2px solid #dcaf6e;background:#2a4248;color:#f2dfc1;font-size:12px}
.guide-medals{display:flex;gap:18px;flex-wrap:wrap;color:#f1dcb7;font-size:13px;font-weight:700}
.guide-credit{font-size:12px;color:#a4bcb7;line-height:1.6;margin-top:18px}.guide-credit a{color:#f8d697}
@media(max-width:740px){.guide-scroll{padding:15px 17px}.guide-suits,.guide-two{grid-template-columns:1fr}.guide-intro{font-size:15px}}
