/* Original Quahog day/night artwork with inked paper, porch and mailbox trim. */
@media screen {
 html[data-theme='family-guy'][data-world][data-mode] body,html[data-theme='family-guy'][data-world][data-mode] .workspace{background:transparent!important;}
 html[data-theme='family-guy'][data-world][data-mode][data-background-animations][data-world-motion][data-animation-style] .world-atmosphere{display:block!important;opacity:1!important;}
 html[data-theme='family-guy'] .world-atmosphere>:not(.fg-environment){display:none!important;}
 .fg-environment{position:absolute;inset:0;overflow:hidden;contain:strict;pointer-events:none;}
 .fg-environment *,.fg-perimeter,.fg-perimeter *,.fg-edge,.fg-edge *{pointer-events:none!important;}
 .fg-stage{position:absolute;inset:-1%;animation:fg-neighborhood-breeze calc(34s / var(--tuner-motion-speed,1)) ease-in-out -10s infinite alternate;}
 .fg-plate{position:absolute;inset:0;background-size:cover;background-position:center bottom;transition:opacity 1.4s ease;}
 .fg-day{background-image:url('/family-guy-day.jpg?v=1');}
 .fg-night{background-image:url('/family-guy-night.jpg?v=1');opacity:0;}
 html[data-theme='family-guy'][data-mode='dark'] .fg-night{opacity:1;}
 .fg-cloudbank{position:absolute;inset:5% -8% 50%;opacity:.48;animation:fg-cloud-bank calc(47s / var(--tuner-motion-speed,1)) ease-in-out -12s infinite alternate;}
 .fg-cloud{position:absolute;left:34%;top:18%;width:110px;height:22px;border-radius:60% 60% 40% 40%;background:#fff7e3;box-shadow:17px -9px 0 4px #fff7e3,47px -18px 0 7px #fff7e3,78px -6px 0 2px #fff7e3;animation:fg-cloud calc(31s / var(--tuner-motion-speed,1)) ease-in-out -4s infinite alternate;}
 .fg-cloud:nth-child(2){left:68%;top:49%;transform:scale(.7);animation-duration:calc(53s / var(--tuner-motion-speed,1));animation-delay:-24s;}
 html[data-theme='family-guy'][data-mode='dark'] .fg-cloudbank{opacity:.065;}
 .fg-harbor-boat{position:absolute;right:7%;bottom:6%;width:72px;height:54px;opacity:.76;animation:fg-boat calc(39s / var(--tuner-motion-speed,1)) ease-in-out -9s infinite alternate;}
 .fg-harbor-boat svg{display:block;width:100%;height:100%;}
 .fg-porch-light{position:absolute;right:-2%;top:39%;width:100px;height:140px;background:radial-gradient(ellipse,#ffe59844,transparent 67%);opacity:.2;animation:fg-porch calc(12s / var(--tuner-motion-speed,1)) ease-in-out -4s infinite alternate;}
 html[data-theme='family-guy'][data-mode='dark'] .fg-porch-light{opacity:.75;}
 .fg-dust{position:absolute;inset:0;}
 .fg-dust>i{position:absolute;left:calc(7% + var(--i)*13%);top:calc(30% + var(--i)*7%);width:3px;height:3px;background:#ffefbe;border-radius:50%;opacity:.6;animation:fg-firefly calc((24s + var(--i)*3s) / var(--tuner-motion-speed,1)) ease-in-out calc(var(--i)*-4s) infinite;}
 .fg-perimeter{position:fixed;inset:0;z-index:3;overflow:hidden;contain:strict;}
 .fg-perimeter svg{width:100%;height:100%;overflow:visible;}
 .fg-side,.fg-cap,.fg-compact,.fg-dock{position:absolute;filter:drop-shadow(2px 3px 1px #27374640);}
 .fg-side{width:57px;height:126px;transform-origin:50% 100%;animation:fg-mailbox calc(23s / var(--tuner-motion-speed,1)) ease-in-out -6s infinite alternate;}
 .fg-cap{width:31px;height:46px;transform-origin:50% 0;animation:fg-lamp calc(18s / var(--tuner-motion-speed,1)) ease-in-out -8s infinite alternate;}
 .fg-compact{width:30px;height:67px;animation:fg-mailbox calc(27s / var(--tuner-motion-speed,1)) ease-in-out -9s infinite alternate;}
 .fg-dock{width:26px;height:39px;animation:fg-lamp calc(21s / var(--tuner-motion-speed,1)) ease-in-out -5s infinite alternate;}
 .fg-perimeter [hidden]{display:none!important;}
 .fg-perimeter[data-obscured='yes']{visibility:hidden;}
 .fg-positioned{position:relative;}
 .fg-edge{position:absolute!important;inset:0;border-radius:inherit;z-index:2;overflow:hidden;display:block;}
 .fg-edge>b{position:absolute;inset:0;padding:1.25px;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;border-radius:inherit;}
 .fg-edge>b::before{content:'';position:absolute;inset:-110%;background:conic-gradient(from 45deg,transparent 0 28%,#c89450 30%,#fff0b4 33%,transparent 37% 78%,#709bb8 81%,transparent 85%);animation:fg-edge-orbit calc(29s / var(--tuner-motion-speed,1)) linear var(--fg-phase,-4s) infinite;opacity:calc(.66 * var(--tuner-glow-number,1));}
 .fg-edge>em{position:absolute;right:0;bottom:0;width:18px;height:16px;background:linear-gradient(135deg,transparent 48%,#94a2a6 49% 54%,#eedfba 55%);border-radius:2px;animation:fg-paper-corner calc(19s / var(--tuner-motion-speed,1)) ease-in-out var(--fg-phase,-5s) infinite alternate;}
 html[data-theme='family-guy'] .workspace>.view{margin-top:86px;}
 html[data-theme='family-guy'][data-world][data-mode] :is(.sidebar,.topbar,.mobile-nav-bar,#mobile-nav-sheet,.notification-panel){background:var(--world-surface)!important;border-color:var(--world-border)!important;box-shadow:2px 3px 0 -1px var(--world-border),0 8px 20px -15px #21334870!important;}
 html[data-theme='family-guy'] .topbar{border-radius:17px 17px 8px 8px;border:1px solid var(--world-border);}
 html[data-theme='family-guy'] .panel-head{background-image:repeating-linear-gradient(0deg,transparent 0 8px,#90885f08 9px 10px)!important;}
 html[data-theme='family-guy'] #theme-tuner-dialog{width:min(760px,calc(100vw - 28px));padding:0;max-height:min(860px,calc(100dvh - 28px));}
 html[data-theme='family-guy'] #theme-tuner-dialog .theme-tuner-shell{max-height:min(860px,calc(100dvh - 28px));}
 html[data-theme='family-guy'] #theme-tuner-dialog .theme-tuner-foot{display:flex;flex-wrap:wrap;gap:9px;padding:14px 20px;}
 html[data-theme='family-guy'] #theme-tuner-dialog [data-tuner-reset-theme]{white-space:normal;max-width:100%;}
 .world-preview[data-world='family-guy']{background:url('/family-guy-day.jpg?v=1') center/cover;}
 .world-preview[data-world='family-guy'][data-mode='dark']{background-image:url('/family-guy-night.jpg?v=1');}
 .world-preview[data-world='family-guy'] .world-sample-card{background:var(--world-surface);}
 html[data-fg-environment='off'] .fg-environment *,html[data-fg-cards='off'] .fg-perimeter *,html[data-fg-cards='off'] .fg-edge *,html[data-fg-cards='off'] .fg-edge>b::before{animation-play-state:paused!important;}
 html[data-fg-decorative='off'] .fg-perimeter *{animation-play-state:paused!important;}
 html[data-theme='family-guy'][data-theme-tuner-background] .fg-environment::after{content:'';position:absolute;inset:0;background:#000;opacity:calc(1 - var(--tuner-bg-dimming-number,1));pointer-events:none;}
 html[data-theme='family-guy'][data-theme-tuner-particles='off'] .fg-dust{display:none;}
 html[data-theme='family-guy'][data-theme-tuner-lighting='off'] :is(.fg-porch-light,.fg-edge>b){opacity:0;}
 html.world-page-hidden :is(.fg-environment,.fg-perimeter,.fg-edge) *,html.world-page-hidden .fg-edge>b::before{animation-play-state:paused!important;}
 html[data-theme='family-guy'][data-theme-tuner-motion='low'] .fg-stage{animation-duration:calc(76s / var(--tuner-motion-speed,1));}
 html[data-theme='family-guy'][data-theme-tuner-motion='low'] .fg-perimeter>div{animation-duration:calc(44s / var(--tuner-motion-speed,1));}
 html[data-theme='family-guy'][data-theme-tuner-motion='low'] .fg-dust{opacity:.35;}
 @media(max-width:700px){html[data-theme='family-guy'] .workspace>.view{margin-top:64px;}.fg-plate{background-position:82% bottom;}.fg-cloudbank{opacity:.24;}.fg-harbor-boat{width:40px;height:30px;right:3%;}.fg-dust>i:nth-child(n+5){display:none;}}
 @media(prefers-reduced-motion:reduce){.fg-environment *,.fg-perimeter *,.fg-edge *,.fg-edge>b::before{animation:none!important;}.fg-plate{transition:none;}}
}
@media print{.fg-environment,.fg-perimeter,.fg-edge{display:none!important;}}
@keyframes fg-neighborhood-breeze{from{transform:translate(-2px,1px) scale(1.01)}to{transform:translate(2px,-2px) scale(1.016)}}
@keyframes fg-cloud-bank{from{transform:translateX(-8px)}to{transform:translateX(10px)}}
@keyframes fg-cloud{from{translate:-12px 0}to{translate:18px 0}}
@keyframes fg-boat{from{transform:translate(-8px,0) rotate(-1deg)}to{transform:translate(12px,2px) rotate(1deg)}}
@keyframes fg-porch{from{transform:scale(.96)}to{transform:scale(1.04)}}
@keyframes fg-firefly{0%,100%{transform:translate(0,12px);opacity:.2}50%{transform:translate(10px,-16px);opacity:.65}}
@keyframes fg-mailbox{from{transform:rotate(-.6deg)}to{transform:rotate(.7deg)}}
@keyframes fg-lamp{from{transform:rotate(-1.2deg)}to{transform:rotate(1.2deg)}}
@keyframes fg-edge-orbit{to{transform:rotate(360deg)}}
@keyframes fg-paper-corner{from{opacity:.55}to{opacity:.9}}
