#gtp-guide{position:fixed;inset:0;width:min(860px,calc(100% - 24px));height:auto;max-height:90dvh;margin:auto;padding:0;border:1px solid #64777c;border-radius:18px;background:#14232b;color:#edf3e8;overflow:auto;text-align:left;box-shadow:0 24px 90px #07121780;z-index:1000;font:500 16px/1.65 'Trebuchet MS',sans-serif}#gtp-guide::backdrop{background:#071217db}#gtp-guide .gtp-guide-inner{padding:clamp(20px,5vw,44px)}#gtp-guide h2{font:700 clamp(28px,5vw,44px)/1.15 'Trebuchet MS',sans-serif;color:#edf3e8;margin:20px 0}#gtp-guide h3{font:700 20px/1.4 'Trebuchet MS',sans-serif;color:#d4edaa;margin:28px 0 8px;letter-spacing:0}#gtp-guide p{color:#c4d1d1;margin:12px 0;max-width:none;font:inherit}#gtp-guide .gtp-guide-label{font-size:11px;letter-spacing:2px;color:#d4edaa;margin-top:24px}#gtp-guide figure{margin:24px 0}#gtp-guide img{display:block;width:100%;height:auto;border-radius:9px}#gtp-guide figcaption{font-size:12px;color:#b7c7c7;margin-top:8px}#gtp-guide nav{display:block;margin-top:30px;font-size:14px}#gtp-guide a{color:#d4edaa;text-decoration:underline}#gtp-guide .gtp-guide-close,.gtp-guide-open{border:1px solid #839795;background:#192e35;color:#eaf2dd;border-radius:8px;padding:8px 12px;font:700 12px/1.4 'Trebuchet MS',sans-serif;cursor:pointer;letter-spacing:0;min-width:0;text-transform:none;white-space:nowrap}#gtp-guide .gtp-guide-close{display:block;margin-left:auto}#gtp-guide :focus-visible,.gtp-guide-open:focus-visible{outline:3px solid #d4edaa;outline-offset:4px}.gtp-guide-open{flex-shrink:0}body:has(#hud:not([hidden])) .gtp-guide-open,body:has(#board) .gtp-guide-open,body:has(.board-panel) .gtp-guide-open{display:none}@media(max-width:600px){header:has(.gtp-guide-open){flex-wrap:wrap;gap:8px}#gtp-guide{max-height:92dvh}}
body:has(#menu .loading) .gtp-guide-open{display:none}
.gtp-hub-link{font:700 12px/1.4 'Trebuchet MS',sans-serif;color:#d4edaa!important;text-decoration:underline;white-space:nowrap;padding:6px}#gtp-guide h4{font:700 17px/1.4 'Trebuchet MS',sans-serif;color:#edf3e8;margin:22px 0 6px}

/* Instructions remain readable in the document beneath the playfield. */
section#gtp-guide {
 display: block; position: relative; inset: auto; box-sizing: border-box;
 width: min(860px, calc(100% - 32px)); height: auto; max-height: none;
 margin: 32px auto; overflow: visible; z-index: auto; box-shadow: none;
 scroll-margin-top: 24px;
}
#gtp-guide li { margin: 12px 0; color: #c4d1d1; }
#gtp-guide ol { padding-left: 24px; }
#gtp-guide img { max-width: 100%; }
