#meday-hero-scenes {
      color-scheme: light dark;
      --meday-page: light-dark(#f3f6fc, #101525);
      --meday-ink: light-dark(#17233f, #f4f7ff);
      --meday-muted: light-dark(#687694, #aeb9d0);
      --meday-bubble: light-dark(rgba(255,255,255,.96), rgba(28,36,59,.96));
      --meday-bubble-border: light-dark(#dce4fb, #3c496d);
      --meday-shadow: light-dark(rgba(32,48,83,.22), rgba(0,0,0,.48));
      --meday-blue: #4567ff;
      padding: 12px;
      background: var(--meday-page);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    #meday-hero-scenes .meday-scene {
      position: relative;
      height: 430px;
      overflow: hidden;
      background: transparent;
      isolation: isolate;
    }

    #meday-hero-scenes .meday-characters {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    #meday-hero-scenes .person,
    #meday-hero-scenes .limb,
    #meday-hero-scenes .reply {
      transform-box: fill-box;
      transform-origin: center;
    }

    #meday-hero-scenes .host { animation: meday-host-idle 3.2s ease-in-out infinite; }
    #meday-hero-scenes .friend-left { animation: meday-arrive-left 9s cubic-bezier(.2,.75,.2,1) infinite; }
    #meday-hero-scenes .friend-right { animation: meday-arrive-right 9s cubic-bezier(.2,.75,.2,1) infinite; }
    #meday-hero-scenes .wave { animation: meday-wave 2s ease-in-out infinite; transform-box: view-box; transform-origin: 44px 12px; }
    #meday-hero-scenes .reply-left { animation: meday-reply-left 9s ease-in-out infinite; }
    #meday-hero-scenes .reply-right { animation: meday-reply-right 9s ease-in-out infinite; }

    @keyframes meday-host-idle {
      0%, 100% { translate: 0 0; }
      50% { translate: 0 -3px; }
    }
    @keyframes meday-arrive-left {
      0%, 12% { translate: -170px 45px; opacity: 0; }
      28%, 88% { translate: 0 0; opacity: 1; }
      100% { translate: 0 0; opacity: 0; }
    }
    @keyframes meday-arrive-right {
      0%, 26% { translate: 180px 50px; opacity: 0; }
      43%, 88% { translate: 0 0; opacity: 1; }
      100% { translate: 0 0; opacity: 0; }
    }
    @keyframes meday-wave {
      0%, 100% { rotate: -9deg; }
      50% { rotate: 9deg; }
    }
    @keyframes meday-reply-left {
      0%, 26% { opacity: 0; translate: 0 10px; scale: .92; }
      34%, 88% { opacity: 1; translate: 0 0; scale: 1; }
      100% { opacity: 0; }
    }
    @keyframes meday-reply-right {
      0%, 43% { opacity: 0; translate: 0 10px; scale: .92; }
      51%, 88% { opacity: 1; translate: 0 0; scale: 1; }
      100% { opacity: 0; }
    }

    #meday-hero-scenes .speech {
      position: absolute;
      z-index: 4;
      padding: 11px 14px 10px;
      border: 1px solid var(--meday-bubble-border);
      border-radius: 15px;
      background: var(--meday-bubble);
      color: var(--meday-ink);
      box-shadow: 0 10px 26px var(--meday-shadow);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
      backdrop-filter: blur(10px);
      white-space: nowrap;
    }

    #meday-hero-scenes .speech small {
      display: block;
      margin-top: 4px;
      color: var(--meday-muted);
      font-size: 12px;
      font-weight: 500;
    }

    #meday-hero-scenes .speech::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -9px;
      width: 16px;
      height: 16px;
      border-right: 1px solid var(--meday-bubble-border);
      border-bottom: 1px solid var(--meday-bubble-border);
      background: var(--meday-bubble);
      transform: translateX(-50%) rotate(45deg);
    }

    #meday-hero-scenes .speech-host { top: 55px; left: 50%; transform: translateX(-50%); }
    #meday-hero-scenes .speech-left { top: 146px; left: 11%; }
    #meday-hero-scenes .speech-right { top: 144px; right: 9%; }

    @media (max-width: 560px) {
      #meday-hero-scenes { padding: 6px; }
      #meday-hero-scenes .meday-scene { height: 500px; }
      #meday-hero-scenes .meday-characters { top: 68px; height: calc(100% - 68px); }
      #meday-hero-scenes .speech-host { top: 34px; }
      #meday-hero-scenes .speech-left { top: 153px; left: 4%; }
      #meday-hero-scenes .speech-right { top: 226px; right: 4%; }
    }

    @media (prefers-reduced-motion: reduce) {
      #meday-hero-scenes * { animation: none !important; }
    }
  
#meday-hero-scenes { background: transparent; padding: 0; --meday-ink: var(--text); --meday-muted: var(--text-muted); --meday-bubble: var(--bg); --meday-bubble-border: var(--border); }
#meday-hero-scenes .meday-scene { height: auto; min-height: 0; margin: 0; padding: 0; width: 100%; max-width: none; aspect-ratio: 760 / 520; }
#meday-hero-scenes .meday-characters { top: 0; height: 100%; }
#meday-hero-scenes .speech { font-size: clamp(11px, 2.6vw, 13px); padding: 9px 11px; white-space: normal; overflow-wrap: anywhere; }
#meday-hero-scenes .speech-host { max-width: 94%; }
#meday-hero-scenes .speech-left, #meday-hero-scenes .speech-right { max-width: 45%; }
#meday-hero-scenes .speech small { font-size: 11px; }
#meday-hero-scenes .speech-host { top: 3%; }
#meday-hero-scenes .speech-left { top: 28%; left: 3%; }
#meday-hero-scenes .speech-right { top: 28%; right: 0; }
#meday-hero-scenes .scene-prop[hidden] { display: none; }
#meday-hero-scenes .scene-picker { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
#meday-hero-scenes .scene-picker button { border: 1px solid transparent; color: var(--text-muted); background: transparent; border-radius: 10px; font: inherit; font-size: 12px; min-height: 44px; padding: 6px 9px; cursor: pointer; }
#meday-hero-scenes .scene-picker button[aria-pressed="true"] { color: var(--text); border-color: var(--border); background: var(--bg-soft); }
#meday-hero-scenes .scene-picker button:focus-visible { outline: 2px solid var(--accent, #4567ff); outline-offset: 2px; }
#meday-hero-scenes[data-paused="true"] * { animation-play-state: paused !important; }
@media (max-width: 400px) {
  #meday-hero-scenes .meday-scene { aspect-ratio: 760 / 650; }
  #meday-hero-scenes .meday-characters { top: 45px; height: calc(100% - 45px); }
  #meday-hero-scenes .speech-host { top: 0; }
}
