.damon-guide[hidden]{display:none!important}.damon-guide{position:fixed;z-index:38;left:24px;bottom:100px;width:min(400px,calc(100vw - 48px));padding:23px 24px 19px;background:rgba(14,31,40,.96);border:1px solid #71857b77;border-radius:18px;box-shadow:0 12px 55px #0005;color:#e8eee8;backdrop-filter:blur(16px)}
.damon-guide header{display:flex;align-items:center;gap:10px;margin-bottom:17px}.damon-guide header img{width:40px;height:48px;object-fit:cover;object-position:50% 0;border-radius:12px;background:#435a61}.damon-guide header strong{display:block;font-size:15px;font-weight:500}.damon-guide header small{display:block;color:#a7bdbb;font-size:11px;margin-top:3px}.damon-guide .guide-close{margin-left:auto;border:0;background:transparent;color:#dce6df;width:36px;height:36px;font-size:23px;border-radius:50%}.damon-guide h3{font:400 26px/1.12 Georgia,serif;margin:0 0 10px;color:#f5eee1}.damon-guide p{font-size:14px;line-height:1.6;margin:0 0 16px;color:#d4e0dc}.damon-guide button{cursor:pointer}.guide-choices{display:grid;gap:7px}.guide-choices button{background:#203942;border:1px solid #70898077;border-radius:9px;color:#e7efe9;padding:12px 14px;text-align:left;font:inherit;font-size:13px}.guide-choices button:first-child{background:#e4e6d9;color:#172c34;border-color:#e4e6d9}.guide-tools{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.guide-tools button{padding:9px 11px;border:1px solid #78958a66;border-radius:20px;color:#cfdfd8;background:transparent;font:inherit;font-size:11px}.guide-tools button[aria-pressed=true]{border-color:#b6cead;color:#dfedd8;background:#40594377}.guide-tools button:focus-visible,.guide-choices button:focus-visible,.guide-close:focus-visible{outline:2px solid #efc371;outline-offset:3px}.guide-progress{height:2px;background:#314b50;border-radius:2px;margin:16px 0 6px;overflow:hidden}.guide-progress span{height:100%;display:block;background:#b7cfb1;width:0}.guide-footnote{font-size:10px;color:#94aba9;display:block}.guide-footnote a{color:inherit;text-underline-offset:3px}.guide-active #sky-controls,.guide-active #sky-caption{display:none!important}.guide-active #sky-labels{pointer-events:none!important}.guide-active #sky-preview{display:none!important}
@media(max-width:700px){.damon-guide{left:12px;bottom:88px;width:calc(100vw - 24px);padding:17px 18px 14px;max-height:calc(100dvh - 170px);overflow-y:auto}.damon-guide header{margin-bottom:12px}.damon-guide h3{font-size:23px}.damon-guide p{font-size:13px;line-height:1.5}.guide-active #sky-labels{opacity:.35}.guide-active #location{display:none}}
@media(prefers-reduced-motion:reduce){.damon-guide{backdrop-filter:none}}

.damon-guide .guide-footnote{font-size:10px;line-height:1.5;margin:12px 0 0;color:#9eb5b1}.guide-active #sky-calm-restore,.guide-active #interact{display:none!important}

.guide-aside{position:fixed;left:50%;bottom:150px;transform:translateX(-50%);z-index:25;max-width:min(540px,calc(100vw - 40px));padding:12px 19px;border-radius:12px;background:#0b2029e8;border:1px solid #b5d4c950;box-shadow:0 5px 24px #0004;color:#e2eada;font:14px/1.5 system-ui;text-align:center;pointer-events:none}.guide-aside[hidden]{display:none!important}.damon-guide .guide-choices{max-height:39vh;overflow-y:auto}.damon-guide .guide-choices button{min-height:44px}

/* Night Garden overhaul (27 Oct): featured "tonight" tour, compact panel while a tour runs, cinema-style subtitles.
   Phones keep the bottom 130 px free for the joystick and action buttons. */
.damon-guide .guide-choices .guide-feature{font-size:15px;font-weight:600;padding:15px 16px}
.damon-guide .guide-more{border-top:1px solid #71857b44;margin-top:4px;padding-top:6px}
.damon-guide .guide-more summary{cursor:pointer;list-style:none;color:#b9cbc6;font-size:13px;padding:10px 4px;min-height:44px;display:flex;align-items:center;gap:8px}
.damon-guide .guide-more summary::-webkit-details-marker{display:none}
.damon-guide .guide-more summary::before{content:'+';display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid #78958a88;border-radius:50%;font-size:13px}
.damon-guide .guide-more[open] summary::before{content:'−'}
.damon-guide .guide-more{display:grid;gap:7px}
.damon-guide .guide-more button{background:#203942;color:#e7efe9;border-color:#70898077}
.damon-guide.running{width:min(340px,calc(100vw - 48px));padding:14px 16px 12px;bottom:24px}
.damon-guide.running header{margin-bottom:8px}
.damon-guide.running header img{width:28px;height:34px;border-radius:8px}
.damon-guide.running header small{display:none}
.damon-guide.running h3{font-size:18px;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.damon-guide.running .guide-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.damon-guide.running.notice .guide-caption{position:static;width:auto;height:auto;clip:auto;white-space:normal;margin:6px 0 10px}
.damon-guide.running .guide-choices:empty{display:none}
/* 30 Oct: the genie's choices while Damon is talking, as small chips so the subtitles stay in view. */
.damon-guide .guide-choices:has(.guide-chip){display:flex;flex-wrap:wrap;gap:6px}
.damon-guide .guide-choices .guide-chip{width:auto;flex:0 0 auto;min-height:0;padding:7px 12px;font-size:14px;line-height:1.2;border-radius:999px;margin:0}
.damon-guide.running .guide-progress{margin:8px 0 4px}
.damon-guide.running .guide-tools{flex-wrap:nowrap;margin-top:8px}
.damon-guide.running .guide-tools button{white-space:nowrap;min-height:36px}
.damon-guide.running [data-guide="host"],.damon-guide.running [data-guide="follow"][aria-pressed="true"]{display:none}
.damon-guide.running .guide-footnote{margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-subtitles{position:fixed;left:50%;bottom:200px;transform:translateX(-50%);z-index:37;width:max-content;max-width:min(760px,calc(100vw - 32px));text-align:center;pointer-events:none}
.guide-subtitles[hidden]{display:none!important}
.guide-subtitles span{display:inline-block;padding:8px 16px 9px;border-radius:10px;background:rgba(4,11,16,.8);color:#f7f2e6;font:500 21px/1.38 system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:.005em;text-shadow:0 1px 2px #000a;box-shadow:0 6px 24px #0005}
@media(max-width:700px){
 .damon-guide.running{left:12px;right:12px;width:auto;bottom:calc(140px + env(safe-area-inset-bottom,0px));padding:10px 12px 9px;max-height:none;overflow:visible}
 .damon-guide.running header{position:absolute;top:4px;right:4px;margin:0}
 .damon-guide.running header img,.damon-guide.running header div{display:none}
 .damon-guide.running h3{font-size:15px;padding-right:36px}
 .damon-guide.running .guide-progress{margin-right:34px}
 .damon-guide.running .guide-tools{gap:6px}
 .damon-guide.running .guide-tools button{padding:7px 10px;font-size:12px;flex:1 1 auto}
 .damon-guide.running .guide-footnote{margin-top:6px}
 .guide-subtitles{bottom:calc(272px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 24px)}
 .guide-subtitles span{font-size:17px;line-height:1.36;padding:7px 12px 8px}
}
@media(max-width:700px) and (max-height:560px){.guide-subtitles{bottom:calc(150px + env(safe-area-inset-bottom,0px))}.damon-guide.running{bottom:12px;left:auto;right:12px;width:min(320px,45vw)}}
