/* A complete scene above the timer; only its softened edge continues below. */
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell{
  background-image:none!important;background-color:transparent!important;
  border-radius:18px 18px 0 0!important;
}
html:root body .page-wrapper .kuyu20-hero-frame>.kuyu20-hero-visual.hero-visual{
  height:auto!important;aspect-ratio:var(--kuyu20-image-ratio,1440 / 560)!important;
  flex:0 0 auto!important;min-height:0!important;
  background-image:var(--kuyu20-hero-image)!important;background-size:100% 100%!important;
  background-position:center!important;background-repeat:no-repeat!important;
  border-radius:18px 18px 0 0!important;
}
html:root body .page-wrapper .kuyu20-hero-frame>.kuyu20-festival-region.festival-section{
  background:transparent!important;padding:12px 0 16px!important;
  border-radius:0!important;isolation:isolate;
}
html:root body .page-wrapper .kuyu20-hero-frame>.kuyu20-festival-region::before{
  content:''!important;display:block!important;position:absolute;inset:-16px 0 0;z-index:-2;
  background-image:var(--kuyu20-hero-image)!important;background-size:100% auto!important;
  background-position:center bottom!important;filter:blur(16px) saturate(.65);
  clip-path:inset(0);pointer-events:none;
}
html:root body .page-wrapper .kuyu20-hero-frame>.kuyu20-festival-region::after{
  background:rgba(10,21,38,.58)!important;border-radius:0!important;
}
html:root.light-theme body .page-wrapper .kuyu20-hero-frame>.kuyu20-festival-region::after{
  background:rgba(235,242,250,.82)!important;
}
html:root body .page-wrapper .hero-continuation{
  height:360px!important;min-height:360px!important;
  background-color:transparent!important;background-image:var(--kuyu20-hero-image)!important;
  background-size:100% auto!important;background-position:center bottom!important;
  filter:blur(22px) saturate(.55)!important;clip-path:inset(0);
  mask-image:linear-gradient(#000,rgba(0,0,0,.5) 45%,transparent)!important;
  -webkit-mask-image:linear-gradient(#000,rgba(0,0,0,.5) 45%,transparent)!important;
  opacity:.8;
}
html:root.light-theme body .page-wrapper .hero-continuation{background-color:#eaf2fa!important;opacity:1;}
html:root body .page-wrapper .kuyu20-hero-frame .festival-decoration{display:none!important;}
html:root body .page-wrapper>.main-layout{position:relative;gap:10px!important;padding-top:10px!important;}
html:root body .page-wrapper .latest-updates-card,
html:root body .page-wrapper #serviceHub{
  background:rgba(13,26,44,.66)!important;border-color:rgba(141,169,206,.14)!important;
  box-shadow:0 8px 24px rgba(4,11,24,.06)!important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
html:root.light-theme body .page-wrapper .latest-updates-card,
html:root.light-theme body .page-wrapper #serviceHub{
  background:rgba(239,246,254,.82)!important;border-color:rgba(255,255,255,.32)!important;
}
@media(max-width:767px){
  html:root body .page-wrapper .kuyu20-hero-frame .holiday-countdown-real[data-kuyu20-festival]{height:auto!important;min-height:138px!important;overflow:visible!important;}
  html:root body .page-wrapper .kuyu20-hero-frame .kuyu20-scene-copy{top:62px!important;left:16px!important;width:calc(100% - 32px)!important;}
  html:root body .page-wrapper .kuyu20-hero-frame .kuyu20-scene-copy h2{font-size:17px!important;}
  html:root body .page-wrapper .kuyu20-hero-frame .kuyu20-scene-copy p{font-size:10px!important;line-height:1.4!important;}
  html:root body .page-wrapper .hero-continuation{height:250px!important;min-height:250px!important;}
}

/* V167: daily artwork in a slow-moving layer; greeting/clock remain stationary. */
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]{background-image:none!important;background-color:#162333!important}
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background{background-image:var(--kuyu20-hero-image)!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;inset:-2%!important;animation:kuyu20-daily-drift 24s ease-in-out infinite alternate;will-change:transform}
html:root:not(.light-theme) body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background{background-image:var(--kuyu20-hero-image)!important}
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"][data-text-tone="light"] :is(#kuyu20GreetingTitle,#kuyu20GreetingPeriod,#kuyu20SceneClock,#kuyu20GreetingCopy,#kuyu20SceneDate,#kuyu20SceneWeekday){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 5px #06111bd9!important}
@keyframes kuyu20-daily-drift{from{transform:translateX(-.6%) scale(1.01)}to{transform:translateX(.6%) scale(1.025)}}
@media(prefers-reduced-motion:reduce){html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background{animation:none;will-change:auto}}

html:root.light-theme body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"][data-text-tone="dark"]>.kuyu20-hero-background{background-image:var(--kuyu20-hero-image)!important}
html:root.light-theme body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"][data-text-tone="dark"] #kuyu20GreetingPeriod{color:#10233f!important;-webkit-text-fill-color:#10233f!important;text-shadow:0 1px 4px #fff!important}
/* V172: day artwork keeps readable foreground when the dark overlay is active. */
html:root:not(.light-theme) body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"] :is(#kuyu20GreetingTitle,#kuyu20GreetingPeriod,#kuyu20SceneClock,#kuyu20GreetingCopy,#kuyu20SceneDate,#kuyu20SceneWeekday){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 5px #06111bd9!important}

/* V214: desktop greeting below a compact brand; a 12px timer overlap. */
@media(min-width:1101px){
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame .kuyu20-scene-top .kuyu20-scene-copy{position:absolute!important;grid-column:auto!important;grid-row:auto!important;left:28px!important;top:78px!important;width:min(55%,520px)!important;}
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame .kuyu20-scene-top .kuyu20-hero-brand{position:absolute!important;grid-column:auto!important;grid-row:auto!important;left:28px!important;top:18px!important;scale:.84;transform-origin:left top;}
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame>.kuyu20-festival-region.festival-section{margin-top:-12px!important;}
}

/* V215: taller mobile daily artwork, with safe framing for header copy. */
@media(max-width:767px){
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]{height:275px!important;min-height:275px!important;flex:0 0 275px!important;aspect-ratio:auto!important;}
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background{inset:0!important;}
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual:is([data-background-id="daily-city"],[data-background-id="daily-space"],[data-background-id="daily-garden"],[data-background-id="daily-sky"])>.kuyu20-hero-background{background-position:right center!important;}
}

/* Mobile daylight cat and car have light header areas. */
@media(max-width:767px){
html:root.light-theme body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual:is([data-background-id="daily-cat"],[data-background-id="daily-car"]) :is(#kuyu20GreetingTitle,#kuyu20GreetingPeriod,#kuyu20SceneClock,#kuyu20GreetingCopy,#kuyu20SceneDate,#kuyu20SceneWeekday){color:#15253a!important;-webkit-text-fill-color:#15253a!important;text-shadow:0 1px 3px #ffffff66!important;}
}

/* V233: all seven replacement scenes use centered compositions and clear daylight copy. */
html:root body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background{background-position:center!important;}
html:root.light-theme body .page-wrapper .kuyu20-scene-hero.kuyu20-hero-frame.hero-shell>.kuyu20-hero-visual.hero-visual[data-daily-scene="true"][data-text-tone="dark"] :is(#kuyu20GreetingTitle,#kuyu20GreetingPeriod,#kuyu20SceneClock,#kuyu20GreetingCopy,#kuyu20SceneDate,#kuyu20SceneWeekday){color:#15253a!important;-webkit-text-fill-color:#15253a!important;text-shadow:0 1px 3px #ffffff88!important;}

/* V236: keep the artwork clear while giving the greeting and clock a local reading surface. */
html:root body .page-wrapper .kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(5,13,24,.43),transparent 43%,transparent 65%,rgba(5,13,24,.38));
}
html:root.light-theme body .page-wrapper .kuyu20-hero-visual.hero-visual[data-daily-scene="true"][data-text-tone="dark"]>.kuyu20-hero-background::after{
  background:linear-gradient(90deg,rgba(248,250,253,.52),transparent 43%,transparent 65%,rgba(248,250,253,.48));
}
@media(min-width:768px){
  html:root body .page-wrapper .kuyu20-hero-visual.hero-visual[data-daily-scene="true"]::after{background:none!important;}
}
@media(max-width:767px){
  html:root body .page-wrapper .kuyu20-hero-visual.hero-visual[data-daily-scene="true"]>.kuyu20-hero-background::after{
    background:linear-gradient(180deg,rgba(5,13,24,.42),transparent 58%);
  }
  html:root.light-theme body .page-wrapper .kuyu20-hero-visual.hero-visual[data-daily-scene="true"][data-text-tone="dark"]>.kuyu20-hero-background::after{
    background:linear-gradient(180deg,rgba(248,250,253,.58),transparent 58%);
  }
}
