.help-button{border-color:#766443;color:#f4dba0;white-space:nowrap}
.guide-launchers{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.4rem 0 2rem}
.guide-launcher{background:linear-gradient(125deg,#182844,#101c31);border:1px solid #405777;border-radius:14px;padding:1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.guide-launcher h2{font-size:1.06rem;margin:0 0 .35rem}.guide-launcher p{margin:0;color:#bdcbe0;font-size:.88rem}.guide-launcher .eyebrow{font-size:.66rem;margin-bottom:.4rem}
.game-history{border:1px solid #344761;background:#101a2c;border-radius:14px;padding:1.2rem 1.4rem;margin:0 0 2rem}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.history-heading h2{font-size:1.2rem;margin:0 0 .3rem}.history-heading p{margin:0}.history-empty{padding:.8rem 0 0;color:#b7c8df}.game-history .resume-section{padding:0;border:0;background:none;margin:1rem 0}.game-history .past-sessions{margin-top:1rem}.cleared-games{margin-top:1rem;border-top:1px solid #30425e;padding-top:1rem}.cleared-games>summary{cursor:pointer;color:#b8c7de}.cleared-games .session-row{padding:.8rem 0}.session-row small{line-height:1.6}.game-history .session-row .row{flex-shrink:0}.guide-join-note{padding:.75rem 0 0;font-size:.9rem}
.game-guide-dialog{width:min(1160px,94vw);max-width:94vw;height:min(850px,92vh);max-height:92vh;padding:0;border:1px solid #67758c;border-radius:18px;color:#ecf2fc;background:#0c1527;box-shadow:0 30px 100px #000a;overflow:hidden}.game-guide-dialog::backdrop,.action-dialog::backdrop{background:#020617b8;backdrop-filter:blur(5px)}.guide-dialog-bar{display:flex;align-items:center;justify-content:space-between;padding:.7rem 1.2rem;border-bottom:1px solid #344660;color:#d9c18b;background:#142139}.guide-dialog-body{height:calc(100% - 65px);overflow-y:auto;padding:1.8rem 2rem 3rem}.guide-page{max-width:1180px;margin:auto;padding:2rem}.guide-heading{border-bottom:1px solid #36455e;padding:0 0 1.6rem;margin-bottom:1.8rem}.guide-heading h1{font-size:clamp(1.9rem,4vw,2.7rem);line-height:1.12;letter-spacing:-.025em;margin:.45rem 0 .8rem}.guide-heading>p{font-size:1rem;color:#bccce3;line-height:1.6;max-width:780px}.guide-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.guide-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:2.2rem;align-items:start}.guide-toc{display:flex;flex-direction:column;gap:.3rem;position:sticky;top:.4rem}.guide-toc a{color:#b5c7e1;text-decoration:none;font-size:.79rem;line-height:1.45;padding:.48rem .65rem;border-left:2px solid #2a3c58}.guide-toc a:hover,.guide-toc a:focus{color:#ffe29a;border-color:#edc673;background:#18263d}.guide-section{scroll-margin-top:1rem;line-height:1.72;border-bottom:1px solid #2d3e59;padding:0 0 1.6rem;margin-bottom:1.7rem;max-width:780px}.guide-section h2{font-size:1.24rem;color:#ffdfa0;line-height:1.35;margin:0 0 .9rem}.guide-section p,.guide-section li{font-size:.97rem;color:#d4e0f1}.guide-section ul,.guide-section ol{padding-left:1.35rem}.guide-section li{padding-left:.2rem;margin-bottom:.65rem}.guide-section strong{color:#fff6d9}.guide-round li{margin-bottom:1rem}.guide-callout,.score-example{padding:1.15rem 1.3rem;border:1px solid #6c6547;border-left:4px solid #f1c568;background:#262715;border-radius:10px;margin:1.2rem 0}.guide-callout p,.score-example p{margin:.5rem 0 0}.score-example>span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;color:#d8bf83;margin-bottom:.7rem}.score-example>strong{display:block;font-size:1.12rem;line-height:1.5}.guide-faq dt{font-weight:750;color:#eff5ff;margin:1rem 0 .3rem}.guide-faq dd{margin:0 0 1rem;color:#c1d0e5;font-size:.95rem}.guide-table-wrap{overflow-x:auto}.guide-table{border-collapse:collapse;width:100%;font-size:.88rem}.guide-table th,.guide-table td{border:1px solid #40506d;padding:.8rem;text-align:left;vertical-align:top}.guide-table th{background:#182841;color:#ffe1a0}.guide-table td:first-child{width:27%;font-weight:700;color:#fff0c9}.class-introduction{margin:0;padding:1.2rem;border-left:3px solid #79b9fd;background:#16253e;color:#dce9fd;font-size:.98rem;line-height:1.75}.action-dialog{width:min(480px,92vw);background:#132139;color:#eef3ff;border:1px solid #778198;border-radius:16px;padding:1.5rem;box-shadow:0 24px 90px #000a}.action-dialog h2{font-size:1.5rem;margin:.7rem 0}.action-dialog p{line-height:1.65;color:#c6d5ec}.action-dialog .row{justify-content:flex-end;margin-top:1.5rem}.action-dialog button{min-width:110px}
@media(max-width:760px){.guide-launchers{grid-template-columns:1fr}.guide-launcher{align-items:flex-start}.guide-layout{grid-template-columns:1fr;gap:1rem}.guide-toc{position:static;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #31445f;padding-bottom:1rem}.guide-dialog-body{padding:1.2rem}.guide-page{padding:1.3rem}.history-heading{align-items:flex-start;flex-direction:column}.guide-section{max-width:none}.game-history .session-row .row{flex-wrap:wrap}.guide-table td:first-child{min-width:120px}.help-button{font-size:.75rem}}
@media print{.guide-page{max-width:none;padding:0}.guide-layout{display:block}.guide-heading,.guide-section{max-width:none;border-color:#ccc}.guide-heading h1,.guide-heading p,.guide-section p,.guide-section li,.guide-section h2,.guide-section strong,.guide-faq dt,.guide-faq dd,.guide-table td,.guide-table th,.score-example span,.class-introduction{color:#111!important}.guide-section h2{break-after:avoid}.guide-table tr,.guide-callout,.score-example{break-inside:avoid}.guide-callout,.score-example,.class-introduction,.guide-table th{background:#f5f5f5!important}.guide-table th,.guide-table td{border-color:#bbb}.guide-heading .eyebrow{color:#444!important}.guide-actions,.guide-toc{display:none!important}}
