/* Base lettering and logo actions shared by the studio scenes. */
body,body :is(button,a,p,h1,h2,h3,span,small,strong,em,address,figcaption,div,i){font-family:'Studio Joy','PingFang SC','Microsoft YaHei',sans-serif!important}
body{--joy-lean:1deg;--joy-lift:.045em;color:#705099}
.joy-unit {
  display: inline-block;
  font: inherit !important;
  white-space: nowrap;
  transform: translateY(calc(var(--joy-bump) * var(--joy-lift)))
    rotate(calc(var(--joy-turn) * var(--joy-lean))) scaleY(var(--joy-height, 1));
  transform-origin: 50% 80%;
}
h1,h2,h3,.signature{--joy-lean:3deg;--joy-lift:.07em;font-weight:400!important}
.playful>span{font-family:inherit!important}
.welcome-brand,.brand{letter-spacing:1px;font-weight:400}
.brand small{font-size:10px;letter-spacing:1px}
.welcome-eyebrow,.eyebrow{letter-spacing:1px;font-size:13px}
.welcome-line,.home-sub{font-size:17px;line-height:1.9}
.welcome-music-note,.welcome-ground,.mascot-hint{font-size:12px;letter-spacing:.6px}
.site-header nav a{font-size:14px;padding:10px 12px}
.site-header nav a[aria-current=page]{background:#ede6f6;color:#7846b3}
.site-header nav a>span:first-child:not(.joy-unit){font-size:11px;margin-right:5px}
.motion-label,.music-toggle,.home-hint,.scene-position,#scene-name,.video-link,.portrait-panel figcaption,.contact-label{font-size:12px}
.about-subtitle,.story-tabs button,.explore-tabs button{font-size:14px}
.story-book p,.practice-copy p,.contact-description{font-size:17px;line-height:1.9}
.portal-bottom p{font-size:13px;line-height:1.8}
.story-controls>span:nth-child(2){font-size:12px}
.story-controls .signature{font-size:30px;font-style:normal}
.contact-card address{font-style:normal;font-size:16px;line-height:1.9}
.contact-intro h2 .joy-unit::after{display:none}
.button.primary{background:#eee5f5;color:#7846b3}
.button.primary:hover{background:#f5eef9}
.explore-tabs{background:#f2eee4}
.explore-tabs button[aria-selected=true]{background:#fffaf4}

/* The original studio mark becomes the interactive object, without a pill or card. */
body .logo-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:5px 2px!important;min-height:44px;color:#7846b3;cursor:pointer;text-decoration:none;transition:transform .65s}
.logo-action img{display:block;width:34px;height:40px;object-fit:contain;flex:none;transform:rotate(-7deg);transition:transform .8s,filter .8s;filter:drop-shadow(0 3px 5px #9b784b13)}
.logo-action:hover img,.logo-action:focus-visible img{transform:translateY(-3px) rotate(6deg);filter:drop-shadow(0 5px 7px #9b784b24)}
.logo-action:active img{transform:scale(.93) rotate(-3deg)}
.logo-action>span{font-size:15px;line-height:1.5}
body #enter-studio.logo-action{gap:17px;margin-top:25px;transform:none}
#enter-studio.logo-action img{width:65px;height:75px}
#enter-studio.logo-action>span{font-size:23px}
.welcome-music-note{margin-top:9px}
body #story-next.logo-action{gap:8px}
#story-next.logo-action img{width:25px;height:30px}
#story-next.logo-action>span{font-size:13px}
body #next-scene.logo-action{gap:9px}
#next-scene.logo-action img{width:28px;height:33px}
#next-scene.logo-action>span{font-size:14px}
.contact-item .logo-action{margin-top:14px}
.contact-item .logo-action img{width:34px;height:40px}
.contact-item .logo-action>span{font-size:17px}

@media(max-width:900px){.site-header nav{gap:4px}.site-header nav a{font-size:12px;padding-inline:9px}.portal-bottom p{font-size:12px}}
@media(max-width:600px){.welcome-line,.home-sub{font-size:14px}.welcome-eyebrow,.welcome-music-note,.welcome-ground,.mascot-hint{font-size:10px}.brand small{font-size:8px}.site-header nav a{font-size:12px}.story-book p,.practice-copy p,.contact-description{font-size:15px}.portal-bottom p{font-size:11px}.about-subtitle,.story-tabs button,.explore-tabs button{font-size:12px}.contact-card address{font-size:14px}.music-toggle{font-size:10px}.scene-footer .logo-action>span{font-size:12px}.scene-footer .logo-action img{width:23px;height:27px}.story-controls{gap:10px}.story-controls .signature{font-size:25px}body #enter-studio.logo-action{margin-top:16px;gap:12px}#enter-studio.logo-action img{width:46px;height:54px}#enter-studio.logo-action>span{font-size:20px}.welcome-music-note{margin-top:5px}}
@media(max-height:730px) and (max-width:600px){body #enter-studio.logo-action{margin-top:10px}#enter-studio.logo-action img{width:39px;height:45px}.welcome-line{font-size:13px}.story-book p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.logo-action,.logo-action img{transition:none}}
