/* Theme-owned public guide. The model remains the shared canonical renderer. */
#qs-guide { position:fixed; right:14px; bottom:12px; z-index:80; color:#edfaff; font:400 15px/1.5 system-ui,sans-serif; isolation:isolate; pointer-events:none; }
#qs-guide *,#qs-guide *::before,#qs-guide *::after { box-sizing:border-box; }
#qs-guide [hidden] { display:none!important; }
#qs-guide .qg-dock { position:relative; width:116px; height:168px; }
#qs-guide .qg-renderer { position:absolute; inset:0 0 24px; width:100%; height:calc(100% - 24px); border:0; background:transparent!important; pointer-events:none; opacity:0; color-scheme:light dark; }
#qs-guide .qg-dock.ready .qg-renderer { opacity:1; }
#qs-guide .qg-launch { position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; padding:0; border:0; border-radius:0; color:#edfaff; background:transparent; box-shadow:none; cursor:pointer; display:block; pointer-events:auto; }
#qs-guide .qg-launch:hover { background:transparent; }
#qs-guide .qg-launch-label { position:absolute; bottom:0; left:0; width:100%; min-height:32px; padding:5px 8px; border:1px solid #65d9ee; border-radius:16px 4px; background:#082b40ed; font-size:12px; line-height:1.6; box-shadow:0 0 16px #34c9ef24; }
#qs-guide .qg-dock:not(.ready) .qg-launch { top:auto; height:44px; }
#qs-guide .qg-dock:not(.ready) .qg-launch-label { min-height:44px; padding-block:11px; }
#qs-guide .qg-launch:focus-visible { outline:none; }
#qs-guide .qg-launch:focus-visible .qg-launch-label { outline:2px solid #c5faff; outline-offset:4px; }
#qs-guide :is(button,a,[tabindex]):focus-visible { outline:2px solid #c5faff; outline-offset:3px; }
#qs-guide .qg-panel { position:absolute; right:134px; bottom:20px; width:min(390px,calc(100vw - 172px)); max-height:calc(100dvh - 32px); padding:5px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#559ab4 #071d2d; pointer-events:auto; }
#qs-guide .qg-card { padding:18px; border:1px solid #77e6f1; border-radius:22px 7px 22px 7px; background:repeating-linear-gradient(0deg,transparent 0 4px,#7ef8f808 4px 5px),linear-gradient(130deg,#103e4de8,#072434ed); box-shadow:0 0 14px #39dded25,inset 0 1px #d6ffff30; backdrop-filter:blur(14px); }
#qs-guide .qg-card-header { display:flex; align-items:start; justify-content:space-between; gap:12px; margin-bottom:10px; }
#qs-guide .qg-title { margin:0; padding:3px 0; font-size:17px; font-weight:650; line-height:1.4; color:#f1fdff; }
#qs-guide .qg-close { flex:none; width:44px; min-height:44px; margin:-6px -8px 0 0; padding:0; border:0; background:transparent; color:#ddfaff; font-size:26px; font-weight:400; line-height:1; border-radius:8px; }
#qs-guide .qg-copy { margin:0; color:#e0f4fa; font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
#qs-guide .qg-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
#qs-guide .qg-status { margin:12px 0 0; font-size:12px; color:#b9dae7; }
#qs-guide .qg-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 4px 4px; }
#qs-guide .qg-button { flex:1 1 auto; min-height:44px; padding:8px 12px; border:1px solid #71d5e69c; border-radius:12px 4px; background:#082c40ed; color:#e3f9ff; font-size:13px; line-height:1.4; }
#qs-guide .qg-choice { position:relative; isolation:isolate; display:block; flex:1 0 100%; width:100%; min-height:64px; height:64px; margin:0; padding:10px 32px 18px 16px; border:0; border-radius:0; background:transparent; box-shadow:none; color:#f0ffff; font-size:18px; font-weight:650; line-height:1.2; text-align:center; }
#qs-guide .qg-choice svg { position:absolute; inset:0; z-index:-1; width:100%; height:100%; overflow:visible; pointer-events:none; filter:drop-shadow(0 0 5px #00ebf140); }
#qs-guide .qg-choice:hover { background:transparent; }
#qs-guide .qg-choice:hover svg { filter:brightness(1.15) drop-shadow(0 0 8px #00ebf160); }
#qs-guide .qg-choice:focus-visible { outline-offset:-10px; border-radius:28px; }
#qs-guide .qg-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; width:100%; padding:8px; border:1px solid #66b7d172; border-radius:16px 5px; background:#082b40ed; }
#qs-guide .qg-links a { display:flex; align-items:center; min-height:44px; padding:7px 9px; border-radius:7px; color:#dcf7ff; text-decoration:none; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
#qs-guide .qg-links a:hover { background:#56bfe821; }
#qs-guide .qg-support { display:inline-flex; align-items:center; min-height:44px; margin-inline:auto; padding:4px 10px; color:#d3f4ff; font-size:12px; text-decoration:underline; text-underline-offset:3px; background:#062132dc; border-radius:9px; }
#qs-guide .aq-projection { position:fixed; inset:0; z-index:-1; width:100vw; height:100vh; overflow:visible; pointer-events:none; }
#qs-guide[data-phase=moving] .aq-projection { visibility:hidden; }
#qs-guide .qg-shade { position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
#qs-guide .qg-hole { position:absolute; border:2px solid #7be9f4; border-radius:12px; box-shadow:0 0 0 200vmax #03101c45,0 0 18px #70e6fc70; }
/* Reaching the end of the page must expose links rather than put them behind the dock. */
.qs-world:has(#qs-guide) .qs-main { padding-bottom:184px; }
@media(max-width:600px) {
 #qs-guide { right:10px; bottom:10px; }
 #qs-guide .qg-dock { width:92px; height:138px; }
 #qs-guide .qg-panel { position:fixed; right:10px; bottom:156px; width:calc(100vw - 20px); max-height:calc(100dvh - 170px); }
 #qs-guide .qg-card { padding:15px; }
 #qs-guide .qg-copy { font-size:14px; }
 #qs-guide .qg-title { font-size:16px; }
 .qs-world:has(#qs-guide) .qs-main { padding-bottom:152px; }
}
@media(max-height:540px) {
 #qs-guide .qg-dock { width:76px; height:112px; }
 #qs-guide .qg-panel { bottom:12px; right:98px; width:min(390px,calc(100vw - 120px)); max-height:calc(100dvh - 24px); }
 #qs-guide .qg-card { padding:12px; }
 #qs-guide .qg-choice { height:56px; min-height:56px; font-size:16px; }
 .qs-world:has(#qs-guide) .qs-main { padding-bottom:128px; }
}
@media(prefers-reduced-motion:reduce) { #qs-guide *,#qs-guide *::before,#qs-guide *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media(forced-colors:active) { #qs-guide .aq-projection,#qs-guide .qg-choice svg { display:none; } #qs-guide :is(.qg-card,.qg-button,.qg-choice,.qg-links,.qg-launch-label,.qg-support) { background:Canvas; color:CanvasText; border:1px solid CanvasText; box-shadow:none; } #qs-guide .qg-hole { border-color:Highlight; box-shadow:none; } }
@media print { #qs-guide { display:none; }.qs-world:has(#qs-guide) .qs-main { padding-bottom:0; } }
