.tower-tour [data-story-trigger]{position:absolute;z-index:6;inset-inline-start:max(.65rem,env(safe-area-inset-left));inset-block-start:max(.65rem,env(safe-area-inset-top));min-height:44px;max-inline-size:52%;background:#161a1beb;color:#f5ecdf}
.tower-tour [data-story-hint]{position:absolute;z-index:5;inset-inline-start:.75rem;inset-block-start:3.85rem;max-inline-size:50%;border-radius:5px;background:#151917e8;color:#f5ecdf;padding:.4rem .6rem;pointer-events:none;font-size:.86rem;margin:0}
.tower-tour [data-story-panel]{pointer-events:auto;position:absolute;z-index:12;inset-inline-end:max(.8rem,env(safe-area-inset-right));inset-block-start:4.25rem;width:min(25rem,calc(100% - 1.6rem));max-height:calc(100% - 5rem);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;box-sizing:border-box;padding:1rem;border:1px solid #b5a17b;border-radius:10px;background:#1e221ff7;color:#f4ebdd;box-shadow:0 12px 40px #0008;}
.tower-tour [data-story-panel] h3{font-family:var(--font-display,Georgia),serif;font-size:clamp(1.12rem,3vw,1.55rem);margin:.35rem 0 .7rem;color:#fff3dc;line-height:1.2}
.tower-tour [data-story-panel] header{display:flex;align-items:start;justify-content:space-between;gap:.6rem}
.tower-tour [data-story-panel] button,.tower-tour [data-story-panel] summary{min-height:44px;color:inherit}
.tower-tour [data-story-panel] summary{display:list-item;align-content:center;cursor:pointer}
.tower-tour [data-story-body]{display:grid;gap:.55rem}
.tower-tour [data-story-body] p{margin:0;line-height:1.5}
.tower-tour [data-story-panel] a{color:#f5d59f}
#tower-object-stories{margin-block:2.2rem}
#tower-object-stories summary{cursor:pointer;min-height:44px;align-content:center}
#tower-object-stories>details{border-block-start:1px solid currentColor}
#tower-object-stories>details>p{margin-block:.4rem}
@media (max-width:700px){
 .tower-tour [data-story-panel]{inset-block-start:auto;inset-block-end:max(.65rem,env(safe-area-inset-bottom));inset-inline: .65rem;width:auto;max-height:min(52%,23rem)}
}
@media (prefers-reduced-motion:no-preference){
 .tower-tour:not([data-tower-motion-off]) [data-story-panel]:not([hidden]){animation:tower-story-in 160ms ease-out}
 @keyframes tower-story-in{from{opacity:0;transform:translateY(5px)}}
}
.tower-tour [data-story-panel][hidden],.tower-tour [data-story-hint][hidden],.tower-tour [data-story-trigger][hidden]{display:none}

.tower-tour[data-tower-touch] [data-story-trigger]{inset-block-start:max(7.2rem,calc(env(safe-area-inset-top) + 6.55rem));max-inline-size:min(50%,14.5rem)}
.tower-tour[data-tower-touch] [data-story-hint]{inset-block-start:max(10.5rem,calc(env(safe-area-inset-top) + 9.85rem))}
.tower-tour[data-tower-touch] [data-story-panel]{inset-block-end:max(5.8rem,calc(env(safe-area-inset-bottom) + 5rem));}
@media (max-height:470px){
 .tower-tour[data-tower-touch] [data-story-panel]{inset-block-start:.65rem;inset-block-end:.65rem;inset-inline-start:auto;width:min(21rem,52%);max-height:none}
}
