/* Mobile-only home navigation. Desktop navigation remains untouched. */
.mobileMenuToggle,.mobileTodayScheduleButton,.mobileSideNav,.mobileNavScrim,.mobileScheduleFoldToggle,.mobileCalendarContents{display:none}

@media(max-width:900px){
  .siteHeader>.topNav{display:none}
  .siteHeader>.mobileTodayScheduleButton,.analyticsHeader>.mobileTodayScheduleButton{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:7px 11px;border:1px solid rgba(203,167,211,.58);border-radius:11px;background:rgba(255,255,255,.88);box-shadow:inset 0 1px #fff,0 7px 18px rgba(98,63,108,.10);color:#76557f;font:inherit;font-size:14px;line-height:1;pointer-events:auto;text-decoration:none;white-space:nowrap}
  .siteHeader>.mobileMenuToggle{display:grid;grid-column:3;grid-row:1;width:42px;height:42px;place-content:center;gap:5px;padding:0;border:1px solid rgba(203,167,211,.58);border-radius:13px;background:rgba(255,255,255,.88);box-shadow:inset 0 1px #fff,0 7px 18px rgba(98,63,108,.10);color:#76557f;pointer-events:auto}
  .mobileMenuToggle span{display:block;width:17px;height:1px;border-radius:99px;background:currentColor;transition:transform .2s ease,opacity .2s ease}
  body.mobileNavOpen .mobileMenuToggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  body.mobileNavOpen .mobileMenuToggle span:nth-child(2){opacity:0}
  body.mobileNavOpen .mobileMenuToggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .siteHeader{height:72px;grid-template-rows:72px}
  .siteHeader>.headerCenter{display:none}
  body.scheduleOpen .siteHeader,body.clipsOpen .siteHeader{height:72px;grid-template-rows:72px;transform:none!important}
  body.scheduleOpen .schedulePage,body.clipsOpen .songClipsPage{padding-top:88px}

  .mobileNavScrim{position:fixed;z-index:490;inset:0;width:100%;height:100%;border:0;background:rgba(35,24,41,.28);opacity:0;transition:opacity .2s ease}
  .mobileNavScrim.open{opacity:1}
  .mobileSideNav{position:fixed;z-index:500;top:0;bottom:0;left:0;display:block;width:min(340px,88vw);padding:19px 20px 34px;overflow-y:auto;border-right:1px solid rgba(202,170,213,.58);border-radius:0 22px 22px 0;background:linear-gradient(160deg,rgba(250,252,255,.99),rgba(248,242,251,.99));box-shadow:18px 0 44px rgba(57,38,65,.18);color:#49384e;transform:translateX(-105%);transition:transform .24s ease}
  body.mobileNavOpen .mobileSideNav{transform:translateX(0)}
  .mobileSideNavHeader{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-bottom:22px;color:#a373ad;font-size:10px;letter-spacing:.18em}
  .mobileTodayReadout{display:inline-flex;align-items:baseline;gap:4px;color:#8d6b96;font-size:11px;letter-spacing:.06em;white-space:nowrap}.mobileTodayReadout strong{color:#62486b;font-size:15px;font-weight:400}
  .mobileSideNavHeader button{display:grid;width:33px;height:33px;place-items:center;padding:0;border:1px solid rgba(203,167,211,.5);border-radius:11px;background:#fff;color:#76557f;font-size:23px;line-height:1}
  .mobileAccountSummary{display:grid;gap:5px;margin-bottom:25px;padding:16px;border:1px solid rgba(207,176,215,.58);border-radius:17px;background:rgba(255,255,255,.76);box-shadow:inset 0 1px #fff,0 8px 20px rgba(91,57,101,.06)}
  .mobileAccountSummary>span,.mobileSideNavIndex{color:#a373ad;font-size:10px;letter-spacing:.15em}
  .mobileAccountSummary strong{overflow:hidden;color:#5e4666;font-size:21px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
  .mobileAccountSummary small{color:#8c7793;font-size:13px;font-weight:400}
  .mobileAccountActions{margin-top:7px}.mobileAccountActions button,.mobileAccountActions a{display:inline-flex;min-height:34px;align-items:center;padding:6px 11px;border:1px solid rgba(194,135,205,.54);border-radius:10px;background:#f4e7f7;color:#704779;font:inherit;font-size:14px;text-decoration:none}
  .mobileSideNavLinks{display:grid;gap:23px}.mobileSideNavLinks section{display:grid;gap:5px}.mobileSideNavLinks h2,.mobileSideNavTextButton{margin:0;color:#49384e;font:inherit;font-size:24px;font-weight:400;line-height:1.05;text-align:left}.mobileSideNavTextButton{padding:0;background:transparent}.mobileSideNavTextButton:disabled{opacity:.48;cursor:not-allowed}
  .mobileSideNavLinks{padding-right:76px}
  .mobileQuickLinksSlot{position:absolute;z-index:2;top:84px;right:14px;width:66px}
  .mobileQuickLinksSlot:empty{display:none}
  .mobileQuickLinksSlot .quickLinksSection{position:static;width:66px;max-width:none;transform:none}
  .mobileQuickLinksSlot .quickLinksGrid{width:66px;grid-template-columns:66px;gap:3px}
  .mobileQuickLinksSlot .quickLinkCard{width:66px;height:76px;gap:3px}
  .mobileQuickLinksSlot .quickIcon{width:45px;height:45px;border-radius:13px}
  .mobileQuickLinksSlot .quickLinkLabel{font-size:10px;line-height:1.12;-webkit-line-clamp:2}
  .mobileMemberScheduleList{display:grid;gap:3px;margin-top:4px}.mobileMemberScheduleList button,.mobileMemberScheduleList a{display:flex;width:100%;min-height:34px;align-items:center;padding:3px 8px;border:1px solid transparent;border-radius:10px;background:transparent}.mobileMemberScheduleList button:hover,.mobileMemberScheduleList a:hover{border-color:rgba(203,167,211,.38);background:rgba(255,255,255,.62)}.mobileMemberScheduleList img{width:126px;height:27px;object-fit:contain;object-position:left center}
  .mobileSideNavLinks a{display:flex;min-height:35px;align-items:center;padding:4px 8px;border-radius:10px;color:#76557f;font-size:17px;text-decoration:none}.mobileSideNavLinks a:hover{background:rgba(244,231,247,.82);color:#5f3f68}
  body:not(.scheduleOpen):not(.clipsOpen) .weekScheduleSection,body:not(.scheduleOpen):not(.clipsOpen) .homeEditorialScene{display:none}
  body.mobileTodayPanelOpen{overflow:hidden}
  body.mobileTodayPanelOpen:not(.scheduleOpen):not(.clipsOpen) .weekScheduleSection{position:fixed;z-index:480;top:82px;right:12px;bottom:14px;left:12px;display:grid;width:auto;margin:0;padding:18px;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(202,170,213,.62);border-radius:20px;background:linear-gradient(160deg,rgba(252,254,255,.99),rgba(250,244,252,.99));box-shadow:0 24px 60px rgba(57,38,65,.25);overscroll-behavior:contain}
  body.mobileTodayPanelOpen .weekScheduleHeading{margin-bottom:15px}
  body.mobileTodayPanelOpen .homeTodayMemberLogos,body.mobileTodayPanelOpen .weekScheduleGrid{display:contents}
  body.mobileTodayPanelOpen .homeTodayMemberLogo{height:60px;margin-top:8px;justify-content:center}
  body.mobileTodayPanelOpen .homeTodayMemberLogo img{width:164px;height:52px;object-fit:contain;object-position:center}
  body.mobileTodayPanelOpen .homeTodayMemberCard{min-height:0;margin-bottom:12px}
  body.mobileTodayPanelOpen .mobileStandaloneTodayPanel .weekScheduleTitleRow{display:flex;align-items:center;justify-content:space-between}
  body.mobileTodayPanelOpen .mobileStandaloneTodayPanel .weekScheduleTitleRow a{color:#86628e;font-size:13px;text-decoration:none}
  body.mobileTodayPanelOpen .homeTodayMemberLogo:nth-child(1){grid-row:2}body.mobileTodayPanelOpen .homeTodayMemberCard:nth-child(1){grid-row:3}
  body.mobileTodayPanelOpen .homeTodayMemberLogo:nth-child(2){grid-row:4}body.mobileTodayPanelOpen .homeTodayMemberCard:nth-child(2){grid-row:5}
  body.mobileTodayPanelOpen .homeTodayMemberLogo:nth-child(3){grid-row:6}body.mobileTodayPanelOpen .homeTodayMemberCard:nth-child(3){grid-row:7}
  body.mobileTodayPanelOpen .homeTodayMemberLogo:nth-child(4){grid-row:8}body.mobileTodayPanelOpen .homeTodayMemberCard:nth-child(4){grid-row:9}
  body.mobileTodayPanelOpen .homeTodayMemberLogo:nth-child(5){grid-row:10}body.mobileTodayPanelOpen .homeTodayMemberCard:nth-child(5){grid-row:11}
  body:not(.scheduleOpen):not(.clipsOpen) .hero{padding:440px 0 60px}
  body:not(.scheduleOpen):not(.clipsOpen) .heroKy{top:92px;left:18px;width:116px;aspect-ratio:1}
  body:not(.scheduleOpen):not(.clipsOpen) .heroMaGroup{top:92px;right:18px;width:116px}
  body:not(.scheduleOpen):not(.clipsOpen) .heroMaGroup .heroMa{display:block;width:116px;aspect-ratio:1}
  body:not(.scheduleOpen):not(.clipsOpen) .heroMa .homeMaOrbitWrap{position:absolute;z-index:5;top:50%;left:50%;display:block;width:158px;height:158px;transform:translate(-50%,-50%);opacity:1;pointer-events:none}
  body:not(.scheduleOpen):not(.clipsOpen) .heroMa .homeMaOrbitText{animation:homeMaOrbitSpin 14s linear infinite;animation-play-state:running;transform-origin:50% 50%;transform-box:view-box;will-change:transform}
  body:not(.scheduleOpen):not(.clipsOpen) .heroMa .homeMaOrbitText text{font-size:16px}
  body:not(.scheduleOpen):not(.clipsOpen) .homeSceneOneDecor{position:absolute;z-index:5;inset:0;display:block;pointer-events:none}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesOrbit{--home-haedes-photo-mix:1;position:absolute;left:50%;top:94px;display:block;width:112px;perspective:900px;transform:translateX(-50%);opacity:.86;pointer-events:none;animation:homeHaedesOuterFloat 8s ease-in-out infinite}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCanvas{position:absolute;z-index:2;top:38px;left:50%;display:block;width:132px!important;height:132px!important;transform:translate(-50%,-50%);opacity:0;pointer-events:none}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesOrbit.is-webgl-ready .homeHaedesCanvas{opacity:1}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesOrbit.is-webgl-ready .homeHaedesLogo3d{opacity:0}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesLogo3d{position:relative;width:76px;height:76px;margin:0 auto;transform-style:preserve-3d;animation:homeHaedes3dSpin 16s linear infinite}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeFace{position:absolute;inset:0;display:grid;place-items:center;background:rgba(227,183,234,.18);border:1px solid rgba(150,95,165,.12);backface-visibility:hidden;pointer-events:none}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesFace{position:relative;z-index:1;display:block;width:82%;height:82%;object-fit:contain;backface-visibility:hidden;pointer-events:none}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesLogoFace{display:none}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesPhotoFace{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeFront{transform:translateZ(38px)}body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeBack{transform:rotateY(180deg) translateZ(38px)}body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeRight{transform:rotateY(90deg) translateZ(38px)}body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeLeft{transform:rotateY(-90deg) translateZ(38px)}body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeTop{transform:rotateX(90deg) translateZ(38px)}body:not(.scheduleOpen):not(.clipsOpen) .homeHaedesCubeBottom{transform:rotateX(-90deg) translateZ(38px)}
  body:not(.scheduleOpen):not(.clipsOpen) .musicDock{margin-top:10px}
  body:not(.scheduleOpen):not(.clipsOpen)>.heroMeta{position:relative;z-index:30;inset:auto;display:grid;width:calc(100% - 36px);justify-items:center;gap:6px;align-items:center;margin:28px auto 0;transform:none;text-align:center}
  body:not(.scheduleOpen):not(.clipsOpen)>.heroMeta p{display:block;margin:0;font-size:13px;letter-spacing:.08em}
  body:not(.scheduleOpen):not(.clipsOpen)>.heroMeta .homeLegalLinks{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;font-size:11px}
  body.scheduleOpen>.heroMeta,body.clipsOpen>.heroMeta{display:none}
  body.scheduleOpen .scheduleCalendarRemote,body.scheduleManagerRemoteActive .scheduleCalendarRemote{right:auto;bottom:13px;left:8px;max-width:none;padding:9px}
  body.scheduleOpen .scheduleCalendarRemote>div{gap:3px}
  body.scheduleOpen .scheduleCalendarRemote button{min-width:36px;min-height:42px;padding:9px 6px;font-size:14px}
  body.scheduleManagerRemoteActive .siteAdminRemote.view-schedule{right:75px;bottom:13px;left:auto;transform:none}
  body.scheduleOpen .globalLegalDock{margin-bottom:88px}
  .mobileScheduleFoldToggle{display:inline-flex;margin-left:auto;padding:7px 11px;border:1px solid rgba(203,167,211,.62);border-radius:10px;background:#fff;color:#76557f;font:inherit;font-size:13px}
  .schedulePage .sectionLabel,.schedulePage .undatedPanelHead{align-items:center}
  .schedulePage .mobileScheduleFolded>.upcomingList,.schedulePage .mobileScheduleFolded>.undatedPanelBody{display:none}
  .schedulePage .calendarFullscreenToggle,.schedulePage .todayButton,.schedulePage .calendarWeekdays{display:none}
  .schedulePage .calendarToolbar{min-height:44px}
  .schedulePage .monthControls{position:static;width:100%;justify-content:center;transform:none}
  .schedulePage .calendarGrid{display:block;background:#fff}
  .schedulePage .calendarGrid::before{content:attr(data-mobile-week-label);display:block;padding:13px 15px;border-bottom:1px solid rgba(215,190,221,.72);background:#fbf5fc;color:#60436a;font-size:19px;text-align:center}
  .schedulePage .calendarDay{display:none}
  .schedulePage .calendarDay.mobileCurrentWeek{display:grid;width:100%;min-height:64px;grid-template-columns:58px auto minmax(0,1fr);align-items:start;gap:7px 9px;padding:11px 12px;border-bottom:1px solid rgba(225,207,229,.72)}
  .schedulePage .calendarDay.mobileCurrentWeek:last-child{border-bottom:0}
  .schedulePage .calendarDay .dayNumber{display:flex;width:auto;height:32px;align-items:center;gap:7px;justify-content:flex-start;border-radius:0;background:transparent!important;font-size:18px}
  .schedulePage .calendarDay:nth-child(7n+1) .dayNumber,.schedulePage .calendarDay:nth-child(7n) .dayNumber{width:54px;padding:0 8px;border-radius:999px}
  .schedulePage .calendarDay:not(.muted):nth-child(7n+1) .dayNumber{background:#f4cbd3!important;color:#2d2431}.schedulePage .calendarDay:not(.muted):nth-child(7n) .dayNumber{background:#cddaf2!important;color:#2d2431}
  .schedulePage .calendarDay.muted:nth-child(7n+1) .dayNumber{background:#fae7eb!important;color:#9c899f}.schedulePage .calendarDay.muted:nth-child(7n) .dayNumber{background:#e8edf7!important;color:#9c899f}
  .schedulePage .calendarDay:nth-child(7n+1) .dayNumber::before{content:"일"}.schedulePage .calendarDay:nth-child(7n+2) .dayNumber::before{content:"월"}.schedulePage .calendarDay:nth-child(7n+3) .dayNumber::before{content:"화"}.schedulePage .calendarDay:nth-child(7n+4) .dayNumber::before{content:"수"}.schedulePage .calendarDay:nth-child(7n+5) .dayNumber::before{content:"목"}.schedulePage .calendarDay:nth-child(7n+6) .dayNumber::before{content:"금"}.schedulePage .calendarDay:nth-child(7n) .dayNumber::before{content:"토"}
  .schedulePage .calendarDay .calendarBroadcasts{position:static;grid-column:2;grid-row:1;align-self:start;overflow:visible;font-size:14px}
  .schedulePage .calendarDay .calendarBroadcastLabel{min-height:30px;padding:4px 8px;font-size:14px}
  .schedulePage .calendarDay .mobileEventMark,.schedulePage .calendarDay .calendarEvents{display:none}
  .schedulePage .calendarDay .mobileCalendarContents{grid-column:3;display:grid;gap:7px}
  .schedulePage .mobileCalendarEvent{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;padding:9px 11px;border:1px solid #ae7eb9;border-radius:10px;background:#d2aadb;color:#111;text-align:left}
  .schedulePage .mobileCalendarEvent[data-schedule-type="방송"]{border-color:#d9b948;background:#ffeba1}.schedulePage .mobileCalendarEvent[data-schedule-type="휴방"]{border-color:#e094b7;background:#f8d1e2}.schedulePage .mobileCalendarEvent[data-schedule-type="합방"]{border-color:#7f9bc0;background:#b3c6df}.schedulePage .mobileCalendarEvent[data-schedule-type="기념일"]{border-color:#adc468;background:#dbe9ae}.schedulePage .mobileCalendarEvent[data-schedule-type="이벤트"]{border-color:#ae7eb9;background:#d2aadb}
  .schedulePage .mobileCalendarEvent time{font-size:15px}.schedulePage .mobileCalendarEvent strong{overflow:visible;font-size:17px;line-height:1.35;white-space:normal}.schedulePage .mobileCalendarEvent small{grid-column:1/-1;color:#332936;font-size:14px;line-height:1.45;white-space:normal}

  .analyticsHeader{min-height:72px;padding:13px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto 42px;gap:9px}.analyticsHeader .analyticsBrand{width:112px;height:46px}.analyticsHeader .analyticsPageNav{display:none}.analyticsHeader>.mobileTodayScheduleButton{grid-column:2;grid-row:1}.analyticsHeader>.mobileMenuToggle{display:grid;grid-column:3;grid-row:1;width:42px;height:42px;place-content:center;gap:5px;padding:0;border:1px solid rgba(203,167,211,.58);border-radius:13px;background:rgba(255,255,255,.88);box-shadow:inset 0 1px #fff,0 7px 18px rgba(98,63,108,.10);color:#76557f}
}

@media(max-width:520px){
  .siteHeader{height:72px;grid-template-rows:72px}
  .siteHeader>.mobileTodayScheduleButton{grid-column:2;grid-row:1;justify-self:end}
  .carouselScene{top:40%;height:350px}
  .carousel{width:164px;height:92px;margin:-46px 0 0 -82px}
  .youtubeCardCopy{left:9px;right:9px;bottom:8px}.youtubeCardCopy strong{font-size:12px}.youtubeCardCopy small{margin-top:3px;font-size:10px}
  body:not(.scheduleOpen):not(.clipsOpen) .hero{padding-top:420px}
}
