/* Plain directions and an untimed practice dialog; never laid over a live round. */
#fm-gem-rush .gr-quick-guide{background:var(--gr-surface);border:1px solid var(--gr-edge);border-radius:16px;padding:16px;margin:16px 0 20px}
#fm-gem-rush .gr-quick-guide h3{font-size:21px;letter-spacing:-.3px;line-height:1.25;margin:0 0 12px}
#fm-gem-rush .gr-quick-guide ol{padding-left:24px;margin:0 0 12px;font-size:15px;line-height:1.5}
#fm-gem-rush .gr-quick-guide li{padding:3px 0 5px 3px}
#fm-gem-rush .gr-quick-guide li::marker{font-weight:850;color:var(--gr-magenta)}
#fm-gem-rush .gr-quick-guide p{margin:10px 0}
#fm-gem-rush .gr-tour-launch{width:100%;border:2px solid var(--gr-magenta);color:var(--gr-text);background:var(--gr-surface);font-size:15px;font-weight:800;border-radius:12px;min-height:48px;padding:12px}
#fm-gem-rush [data-quick-tip]{display:none;text-align:center;color:var(--gr-text);font-size:12px;line-height:1.4;margin:6px 0 12px}
#fm-gem-rush[data-phase=playing] [data-quick-tip]{display:block}
#fm-gem-rush[data-queue=true] .gr-quick-guide{display:none}
#fm-gem-rush .gr-tour-help{margin-top:16px}
#fm-gem-rush dialog.gr-tour{color:var(--gr-text);background:var(--gr-surface);border:2px solid var(--gr-edge);border-radius:20px;padding:18px;width:calc(100% - 20px);max-width:460px;max-height:92vh;max-height:92dvh;overflow:auto;overscroll-behavior:contain;margin:auto;box-shadow:0 15px 70px #0008}
#fm-gem-rush dialog.gr-tour:not([open]){display:none}
#fm-gem-rush dialog.gr-tour::backdrop{background:#110b20c9}
#fm-gem-rush .gr-tour-head{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:var(--gr-muted)}
#fm-gem-rush [data-tour-close]{min-width:62px;min-height:44px;font-size:13px}
#fm-gem-rush [data-tour-title]{font-size:24px;line-height:1.2;letter-spacing:-.5px;margin:12px 0}
#fm-gem-rush .gr-tour p{font-size:15px;line-height:1.5;margin:10px 0}
#fm-gem-rush .gr-tour-grid{position:relative;background:var(--gr-board);border:1px solid var(--gr-edge);border-radius:16px;max-width:252px;margin:16px auto;padding:6px}
#fm-gem-rush [data-tour-board]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));touch-action:none;user-select:none;-webkit-user-select:none}
#fm-gem-rush .gr-tour-grid svg{position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);pointer-events:none;overflow:visible}
#fm-gem-rush .gr-tour-grid polyline{fill:none;stroke:#ffe6a3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#fm-gem-rush .gr-tour-order{position:absolute;top:1px;left:1px;z-index:2;background:#ffe6a3;color:#24132d;border-radius:50%;min-width:20px;font:800 12px/20px system-ui;text-align:center}
#fm-gem-rush .gr-tour-order:empty{display:none}
#fm-gem-rush [data-tour-control]{min-height:44px;width:100%;font-size:13px}
#fm-gem-rush [data-tour-clear]{margin-top:10px;min-height:44px;width:100%}
#fm-gem-rush [data-tour-status]{min-height:44px;background:var(--gr-bg);border:1px solid var(--gr-edge);border-radius:10px;padding:10px;font-size:14px;line-height:1.45}
#fm-gem-rush .gr-tour-actions{display:flex;gap:12px;margin-top:14px;align-items:center}
#fm-gem-rush .gr-tour-actions [data-tour-back]{min-height:48px;min-width:70px;font-size:14px}
#fm-gem-rush .gr-tour-actions [data-tour-next]{flex:1}
#fm-gem-rush [data-tour-recap] ul{padding-left:22px;font-size:15px;line-height:1.65}
@media(max-width:360px){#fm-gem-rush dialog.gr-tour{padding:13px}#fm-gem-rush [data-tour-title]{font-size:22px}#fm-gem-rush .gr-tour-grid{max-width:210px}#fm-gem-rush .gr-tour p{font-size:14px}}
