.story-studio,.story-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#080809;color:#fff;overflow:hidden;font-family:Inter,sans-serif}.story-studio::backdrop,.story-viewer::backdrop{background:#000}.story-stage{position:relative;width:100%;height:100%;max-width:520px;margin:auto;background:#111}.story-stage>video{width:100%;height:100%;object-fit:cover}.story-top{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:calc(18px + env(safe-area-inset-top)) 20px 18px;background:linear-gradient(#000b,transparent)}.story-top strong{flex:1;font-size:13px;letter-spacing:.08em}.story-top button,.story-nav{width:44px;height:44px;flex-shrink:0;border:1px solid #ffffff40;border-radius:50%;background:#0006;color:#fff;font-size:22px}.story-bottom{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:80px 22px calc(24px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#000e)}.story-bottom select{width:100%;padding:14px;border:1px solid #ffffff50;border-radius:14px;background:#161419;color:#fff;font:inherit}.story-actions{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:20px}.story-actions button,.story-publish,.story-book{min-height:46px;padding:12px 20px;border:0;border-radius:24px;background:#bcff2f;color:#101010;font-weight:850;text-align:center;text-decoration:none}.story-actions .story-record{width:76px;height:76px;padding:0;border:5px solid white;border-radius:50%;background:#ff375a;box-shadow:inset 0 0 0 4px #111;font-size:12px;color:white}.story-record[aria-pressed=true]{border-color:#ff375a;background:#fff;color:#111}.story-actions button:disabled{opacity:.45}.story-status{min-height:20px;text-align:center;font-size:13px;line-height:1.5}.story-import{display:block;margin:18px auto 0;background:none;border:0;color:white;text-decoration:underline}.story-studio [hidden],.story-viewer [hidden],.map-stories[hidden]{display:none!important}.story-publish{display:block;width:100%;margin-top:16px}.story-bottom h2{margin:8px 0;font-size:30px;font-weight:900;line-height:1.1}.story-bottom p{color:#ded9e3;font-size:13px;line-height:1.5}.story-bottom .story-organizer{color:#bcff2f;font-weight:800}.story-book{display:block;margin-top:20px}.story-progress{position:absolute;top:calc(8px + env(safe-area-inset-top));left:20px;right:20px;z-index:3;display:flex;gap:4px}.story-progress span{height:3px;flex:1;background:#ffffff45;border-radius:4px;overflow:hidden}.story-progress i{display:block;height:100%;width:0;background:white}.story-nav{position:absolute;top:44%;z-index:3}.story-prev{left:12px}.story-next{right:12px}.map-stories{position:absolute;z-index:5;top:18px;left:16px;right:16px;pointer-events:none}.map-stories>strong{display:block;margin-bottom:10px;color:white;font-size:10px;letter-spacing:.15em;text-shadow:0 1px 6px #000}.map-story-list{display:flex;gap:12px;overflow-x:auto;pointer-events:auto;max-width:100%;scrollbar-width:none}.map-story-list button{flex:0 0 68px;width:68px;padding:0;border:0;background:none;color:white;font:700 10px Inter,sans-serif;text-shadow:0 1px 5px black}.map-story-list img{display:block;width:60px;height:60px;object-fit:cover;border:3px solid #bcff2f;border-radius:50%;padding:3px;background:#161419}.map-story-list span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.story-existing{display:grid;gap:8px;margin-top:14px}.story-existing>div{display:flex;align-items:center;gap:12px}.story-existing video{width:48px;height:64px;object-fit:cover;border-radius:8px}.story-existing button{margin-left:auto}.story-studio-entry{margin:20px 0;padding:20px;border:1px solid #ffffff25;border-radius:18px;background:#151318;color:#fff}.story-studio-entry p{font-size:13px;color:#c0b9c8;line-height:1.5}.story-studio-entry>button{padding:14px 20px;border:0;border-radius:24px;background:#bcff2f;color:#111;font-weight:850}.story-studio-entry button:focus-visible,.story-stage button:focus-visible,.story-stage a:focus-visible{outline:3px solid #bcff2f;outline-offset:3px}body[data-view=list] .map-stories{display:none}@media(min-width:761px){.map-stories{top:20px;left:24px;right:auto;max-width:420px}}

@supports(height:100dvh){.story-studio,.story-viewer{height:100dvh}}
.map-stories{top:auto;bottom:calc(100px + env(safe-area-inset-bottom));right:96px;left:16px;max-width:420px}body[data-view=map]:not(.no-rail) .map-stories{bottom:calc(330px + env(safe-area-inset-bottom))}
