#world .world-image.guide-pane{display:flex!important;flex-direction:column;align-items:center;justify-content:center;overflow:auto;padding:10px 12px 48px;gap:8px}.guide-pane>p{max-width:360px;line-height:1.7;color:#e4dfd3}.guide-slide{width:100%;min-height:0;display:flex;justify-content:center;touch-action:pan-y pinch-zoom}.guide-slide article{width:min(100%,calc((100dvh - 150px)*.707));background:#faf9f6;box-shadow:0 10px 32px #0003}.guide-canvas{width:100%;height:auto;display:block}.guide-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;color:#eee8db;font:13px Arial,sans-serif}.guide-controls button,.guide-controls a{color:inherit;background:transparent;border:1px solid #857c68;border-radius:3px;padding:10px;cursor:pointer;text-decoration:none}.guide-controls button:disabled{opacity:.3}.guide-controls [hidden]{display:none!important}.guide-slide{cursor:zoom-in}.guide-slide:focus-visible{outline:1px solid #d8c6a5;outline-offset:4px}
.guide-fullscreen{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#101112;color:#eee8db;border:0;padding:0;touch-action:pan-y pinch-zoom}
.guide-fullscreen-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));background:#101112f5;font:13px Arial,sans-serif}
.guide-fullscreen-toolbar button{padding:10px 18px;color:inherit;background:transparent;border:1px solid #857c68;border-radius:3px;cursor:pointer;min-height:44px}
.guide-fullscreen-pages{width:min(100%,1100px);margin:0 auto;padding:0 10px max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:18px}
.guide-fullscreen-page{position:relative;aspect-ratio:595.276/841.89;background:#faf9f6;color:#222824;flex:none;scroll-margin-top:64px}
.guide-fullscreen-page article{width:100%;min-height:100%}.guide-fullscreen::backdrop{background:#101112}
@media(max-width:700px){#world .world-image.guide-pane{padding:8px 8px 60px}.guide-slide article{width:100%}.guide-fullscreen-pages{padding-left:0;padding-right:0;gap:12px}}

.guide-offer{width:min(100%,480px);text-align:center;color:#eee8db;flex-shrink:0;font:14px/1.5 Arial,sans-serif;padding-bottom:6px}.guide-offer p{margin:6px 0 10px}.guide-buy,.guide-preview{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:3px;font:inherit;text-decoration:none;cursor:pointer}.guide-buy{background:#e9e1d2;color:#171918;border:1px solid #e9e1d2}.guide-preview{background:transparent;color:inherit;border:1px solid #857c68;margin:8px}.guide-buy:focus-visible,.guide-preview:focus-visible{outline:2px solid #fff;outline-offset:3px}#world .guide-pane .guide-slide article{width:min(100%,calc((100dvh - 300px)*.707))}.guide-controls{flex-shrink:0}@media(max-width:700px){#world .guide-pane .guide-slide article{width:min(100%,300px)}#world .world-image.guide-pane{justify-content:flex-start}.guide-offer{font-size:13px}}

.guide-fullscreen-toolbar{gap:10px;flex-wrap:wrap}.guide-fullscreen-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.guide-fullscreen-toolbar>span{white-space:nowrap}.guide-fullscreen-actions .guide-buy{box-sizing:border-box}@media(max-width:480px){.guide-fullscreen-toolbar{padding:8px 10px;gap:6px}.guide-fullscreen-toolbar>span{font-size:11px}.guide-fullscreen-actions{gap:6px}.guide-fullscreen-actions .guide-buy,.guide-fullscreen-actions button{font-size:12px;padding:10px}}

/* Keep controls inside the dialog bounds; only the pages scroll. */
.guide-fullscreen[open]{display:flex;flex-direction:column;height:100dvh;overflow:hidden;padding:0;box-sizing:border-box}
.guide-fullscreen-toolbar{position:relative;flex:0 0 auto;width:100%;box-sizing:border-box}
.guide-fullscreen-pages{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;padding-bottom:18px}
.guide-floating-purchase{position:relative;flex:0 0 auto;display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;width:100%;padding:12px max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) 18px;background:#101112;z-index:5}
.guide-floating-purchase .guide-buy{display:inline-flex;box-shadow:0 4px 18px #0005;min-height:44px;box-sizing:border-box;font:14px/1.4 Arial,sans-serif}
/* V38.2.4 — quiet sage-glass purchase controls, shared by both views. */
.guide-buy,.guide-floating-purchase .guide-buy{box-sizing:border-box;min-width:82px;min-height:44px;padding:11px 24px;border:1px solid rgba(194,225,203,.65);border-radius:999px;background:rgba(194,225,203,.82);color:#193c2c;font:500 14px/20px Arial,sans-serif;letter-spacing:.04em;box-shadow:0 3px 14px #0002;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);text-decoration:none;transition:background .18s ease,box-shadow .18s ease}
@media(hover:hover){.guide-buy:hover{background:rgba(213,237,219,.95);box-shadow:0 5px 18px #0003}}
.guide-buy:active{background:rgba(177,210,186,.95)}
.guide-offer-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.guide-price{font:12px/1.4 Arial,sans-serif;color:#eee8db;white-space:nowrap}
.guide-offer .guide-preview{margin:0;padding:10px 4px;border:0;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#857c68}
.guide-floating-purchase{position:absolute;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));width:auto;padding:0;background:transparent;pointer-events:none}
.guide-floating-purchase .guide-buy{pointer-events:auto}
.guide-fullscreen-pages{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:86px}
.guide-fullscreen-toolbar{padding-top:calc(10px + env(safe-area-inset-top,0px))}
@media(max-width:480px){.guide-offer{padding:2px 4px 8px;box-sizing:border-box}.guide-offer p{max-width:290px;margin:4px auto 8px;font-size:12px}.guide-offer-actions{gap:10px}.guide-floating-purchase{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.guide-buy{transition:none}}
