html[data-map-theme] #poster-studio.floating-studio{display:block;padding:40px 28px 125px;min-height:calc(100svh - 170px);--frame-outset:0px}
html[data-map-theme] #poster-studio.floating-studio:has(.has-wood-frame){--frame-outset:16px}
#poster-studio.floating-studio>.studio-intro,#poster-studio.floating-studio .studio-sidebar{display:none!important}
#poster-studio.floating-studio .studio-grid{display:block}
html[data-map-theme] #poster-studio.floating-studio .studio-preview-area{display:flex;flex-direction:column;align-items:center;width:100%;padding:0!important;margin:0 auto}
#poster-studio.floating-studio .map-toolbar-stage{display:block;width:min(500px,calc(100% - 192px - var(--frame-outset) - var(--frame-outset)));min-height:0;margin:0 auto}
#poster-studio.floating-studio .poster-paper{width:100%;max-width:none!important;margin:0;box-shadow:none}
#poster-studio .poster-title,#poster-studio .poster-subtitle{font-family:Onest,system-ui,sans-serif!important}
/* A shadow-only layer can cross the controls without intercepting their input.
   Keep the actual poster below the existing decorative scene shadow. */
#poster-studio.floating-studio .map-toolbar-stage::after{content:'';position:absolute;inset:calc(-1 * var(--frame-outset));z-index:24;pointer-events:none;box-shadow:0 24px 48px -12px #28151f45,0 8px 18px #28151f21,0 2px 4px #28151f15}
#poster-studio.floating-studio:has(.has-wood-frame) .map-toolbar-stage::after{box-shadow:0 30px 52px -10px #28190d66,0 9px 18px #28190d33}
#poster-studio .map-floating-left{position:absolute;right:calc(100% + var(--frame-outset) + 24px);top:calc(-1 * var(--frame-outset));bottom:calc(-1 * var(--frame-outset));display:flex;flex-direction:column;justify-content:space-between;z-index:21}
#poster-studio .map-floating-upper,#poster-studio .map-floating-lower{display:flex;flex-direction:column;gap:12px}
#poster-studio .map-floating-left:has([aria-expanded=true]){z-index:50}
#poster-studio .map-floating-control{position:relative;padding:12px;background:white;border-radius:8px;box-shadow:0 0 20px #0000000d;color:var(--page-main)}
#poster-studio .map-floating-trigger{display:flex;align-items:center;justify-content:center;gap:12px;width:48px;height:48px;padding:12px;border:0;border-radius:6px;background:color-mix(in srgb,var(--page-main) 8%,white);color:var(--page-main);cursor:pointer}
#poster-studio .map-floating-trigger svg{width:24px;height:24px;flex:none}
#poster-studio .current-tone-dot{display:block;width:24px;height:24px;border-radius:50%;background:var(--page-main)}
#poster-studio .theme-color-symbol{display:flex;width:24px;height:30px;background:white}
#poster-studio .theme-color-symbol i{width:12px;background:var(--page-main)}
#poster-studio .theme-color-symbol i+i{background:var(--page-tertiary)}
#poster-studio.floating-studio .map-toolbar-details{position:absolute;left:calc(100% + var(--frame-outset) + 24px);top:calc(-1 * var(--frame-outset));transform:none;padding:12px;background:white;border-radius:8px;box-shadow:0 0 20px #0000000d}
#poster-studio.floating-studio .map-toolbar-details button{background:white;border-color:color-mix(in srgb,var(--page-main) 15%,white);color:var(--page-main)}
#poster-studio.floating-studio .map-toolbar-details button svg{opacity:1}
#poster-studio.floating-studio .map-toolbar-details button[aria-pressed=true]{background:var(--page-main);border-color:var(--page-main);color:white}
#poster-studio .map-floating-popover{position:absolute;z-index:50;left:calc(100% + 12px);top:0;width:260px;max-width:calc(100vw - 32px);padding:20px;background:white;border-radius:10px;box-shadow:0 8px 35px #0002;color:var(--page-ink);box-sizing:border-box}
#poster-studio .map-floating-popover[hidden]{display:none!important}
#poster-studio .map-floating-popover>strong{display:block;margin-bottom:12px;font-size:18px}
#poster-studio .map-floating-popover select{width:100%;padding:12px;border:1px solid #0002;border-radius:6px;background:white;font-size:16px;color:var(--page-ink)}
#poster-studio .map-floating-popover .map-toolbar-tones{display:grid;grid-template-columns:repeat(4,48px);gap:8px}
#poster-studio .map-floating-place{position:relative;z-index:22;margin:calc(var(--frame-outset) + 24px) auto 0}
#poster-studio .map-floating-place:has([aria-expanded=true]){z-index:50}
#poster-studio .map-floating-place .map-floating-control{border-radius:8px}
#poster-studio .map-floating-place .map-floating-trigger{width:auto;min-width:168px;font-family:Onest,sans-serif;font-size:18px;line-height:22px}
#poster-studio .map-floating-place .map-floating-popover{left:50%;top:calc(100% + 8px);transform:translateX(-50%);width:340px}
#poster-studio .map-place-fields input{width:100%;box-sizing:border-box;font-size:16px;padding:10px}
#poster-studio .map-place-fields label{display:block;font-size:14px;margin:8px 0}
#poster-studio .map-place-fields .studio-two-fields{display:block}
#poster-studio .map-place-fields .studio-results{position:static;max-height:none;overflow:visible}
#poster-studio .studio-corner-buy{position:absolute;top:24px;right:28px;z-index:31;display:flex;align-items:center;gap:12px}
#poster-studio .studio-corner-buy .studio-note{display:none}
#poster-studio .studio-corner-buy .studio-add{padding:14px 24px;border:0;border-radius:6px;background:#1db954;color:white;cursor:pointer}
#poster-studio .studio-corner-buy .studio-preview{display:grid;place-items:center;width:48px;height:48px;padding:12px;border:0;border-radius:6px;background:white;color:var(--page-main);cursor:pointer}
#poster-studio .studio-corner-buy .studio-preview svg{width:24px;height:24px}
#poster-studio .studio-corner-frame{position:absolute;bottom:30px;left:28px;z-index:22}
#poster-studio .studio-corner-frame label{font-size:16px;margin:0}
#poster-studio .studio-corner-save{position:absolute;bottom:24px;right:28px;z-index:31;width:300px}
#poster-studio .studio-corner-save button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 18px;border:0;border-radius:5px;background:var(--page-main);color:var(--page-header-ink);cursor:pointer;font-size:14px}
#poster-studio .studio-corner-save svg{width:20px;height:20px;flex:none}
#poster-studio .studio-corner-save .studio-share-link{justify-content:center;background:transparent;color:var(--page-main);font-size:13px;padding:14px}
#poster-studio .saved-configurations{position:absolute;bottom:100%;right:0;width:100%;padding:12px;background:white;border-radius:8px;box-shadow:0 6px 25px #0002;box-sizing:border-box}
#poster-studio .saved-configurations a{display:block;padding:8px;color:var(--page-main);font-size:13px}
#poster-studio .saved-configurations input{width:100%;box-sizing:border-box}
#poster-studio .map-toolbar-stage:has([data-orientation=Landscape]){margin-bottom:168px}
#poster-studio .map-toolbar-stage:has([data-orientation=Landscape]) .map-floating-lower{position:absolute;top:calc(100% + 12px);right:0}
.ac-header{display:flex;flex-direction:column}
.ac-header>.ac-navigation{order:0;width:100%;box-sizing:border-box}
.ac-header>.ac-announcement{order:1;padding:15px 0 17px;overflow:hidden;text-align:left}
.ac-ticker-track{display:flex;width:max-content;animation:ac-headline-ticker 19s linear infinite}
.ac-announcement .ac-ticker-title,.ac-announcement .ac-ticker-copy{display:block;flex:0 0 auto;padding:0 28px;font:500 35px/1.15 var(--ac-heading)!important;letter-spacing:-1.5px;white-space:nowrap}
#poster-studio .studio-corner-random{display:none;align-items:center;gap:10px;border:0;border-radius:6px;padding:12px 18px;background:white;color:var(--page-main);cursor:pointer;z-index:31}
#poster-studio .studio-corner-random svg{width:24px;height:24px}
@media(min-width:1100px){
 #poster-studio.floating-studio .map-toolbar-stage{width:min(500px,calc(100vw - 800px))}
 #poster-studio.floating-studio .studio-corner-random{display:flex;position:fixed;top:var(--corner-top);left:28px}
 #poster-studio.floating-studio .studio-corner-buy{position:fixed;top:var(--corner-top);right:28px}
 #poster-studio.floating-studio .studio-corner-frame{position:fixed;bottom:var(--corner-bottom);left:28px}
 #poster-studio.floating-studio .studio-corner-save{position:fixed;bottom:var(--corner-bottom);right:28px}
 #poster-studio.floating-studio[data-corners-visible=false] .studio-corner-random,#poster-studio.floating-studio[data-corners-visible=false] .studio-corner-buy,#poster-studio.floating-studio[data-corners-visible=false] .studio-corner-frame,#poster-studio.floating-studio[data-corners-visible=false] .studio-corner-save{visibility:hidden;pointer-events:none}
}
@media(min-width:1100px) and (max-width:1279px){
 #poster-studio .map-floating-control{padding:8px}
 #poster-studio .map-floating-trigger{width:36px;height:36px;padding:6px}
 #poster-studio .map-floating-upper,#poster-studio .map-floating-lower{gap:8px}
 #poster-studio.floating-studio .map-toolbar-details{padding:8px;gap:8px}
 #poster-studio.floating-studio .map-toolbar-details button{width:36px;height:36px}
}
@media(max-width:650px){
 body.ac-home{padding-bottom:0}
 html[data-map-theme] #poster-studio.floating-studio{padding:40px 8px 80px;min-height:0}
 #poster-studio.floating-studio .map-toolbar-stage{width:calc(100% - 152px - var(--frame-outset) - var(--frame-outset))}
 #poster-studio .map-floating-control{padding:8px}
 #poster-studio .map-floating-trigger{width:36px;height:36px;padding:6px}
 #poster-studio .map-floating-upper,#poster-studio .map-floating-lower{gap:8px}
 #poster-studio.floating-studio .map-toolbar-details{padding:8px;gap:8px}
 #poster-studio.floating-studio .map-toolbar-details button{width:36px;height:36px}
 #poster-studio .map-floating-popover{position:fixed;left:16px;right:16px;top:170px;width:auto;max-width:none}
 #poster-studio .map-floating-place .map-floating-popover{position:fixed;left:16px;right:16px;top:170px;width:auto;transform:none}
 #poster-studio .studio-corner-buy{position:relative;top:auto;right:auto;gap:8px;margin:24px auto 0;width:fit-content}
 #poster-studio .studio-corner-buy .studio-add{padding:12px 16px;font-size:13px}
 #poster-studio .studio-corner-frame{position:relative;bottom:auto;left:auto;margin:28px auto 0;width:fit-content}
 #poster-studio .studio-corner-save{position:relative;bottom:auto;right:auto;width:min(300px,100%);margin:24px auto 0}
 #poster-studio .map-floating-upper,#poster-studio .map-floating-lower{gap:4px}
 #poster-studio .map-floating-left .map-floating-control{padding:6px}
 #poster-studio .map-floating-left .map-floating-trigger{width:32px;height:32px;padding:4px}
 #poster-studio .map-floating-left{right:calc(100% + var(--frame-outset) + 24px);width:52px;align-items:flex-end}
 #poster-studio .map-toolbar-stage:has([data-orientation=Square]) .map-floating-lower{position:absolute;top:calc(100% + 12px);right:0}
}
@media(prefers-reduced-motion:reduce){.ac-ticker-track{animation:none}.ac-announcement .ac-ticker-copy{display:none}.ac-announcement .ac-ticker-title{white-space:normal}}
