/* Header-only aliases of the existing dark HOME navigation font. */
@font-face {
	font-family: "MOTIF Navigation";
	font-style: normal;
	font-display: swap;
	font-weight: 45 920;
	src: url(/assets/fonts/PretendardVariable.subset.82.woff2) format('woff2-variations');
	unicode-range: U+d7, U+ea, U+fc, U+2192, U+25bc, U+3000, U+3137, U+3145, U+315c, U+7f8e, U+ac13, U+ac71, U+ac90, U+acb8, U+ace7, U+ad7f, U+ae50, U+aef4, U+af34, U+afbc, U+b048, U+b09a, U+b0ad, U+b0bc, U+b113, U+b125, U+b141, U+b20c, U+b2d9, U+b2ed, U+b367, U+b369, U+b374, U+b3cb, U+b4ec, U+b611, U+b760, U+b81b, U+b834, U+b8b0, U+b8e1, U+b989, U+b9d1, U+b9e1, U+b9fa, U+ba4d, U+ba78, U+bb35, U+bb54, U+bbf9, U+bc11, U+bcb3, U+bd05, U+bd95, U+bdd4, U+be10, U+bed0, U+bf51, U+c0d8, U+c232, U+c2b7, U+c2eb, U+c378, U+c500, U+c52c, U+c549, U+c568, U+c598, U+c5c9, U+c61b, U+c639, U+c67c, U+c717, U+c78a, U+c80a, U+c90c-c90d, U+c950, U+c9e7, U+cbe4, U+cca9, U+cce4, U+cdb0, U+ce78, U+ce94, U+ce98, U+cf8c, U+d018, U+d034, U+d0f1, U+d1b1, U+d280, U+d2f8, U+d338, U+d380, U+d3b4, U+d610, U+d69f, U+d6fc, U+d758;
}
@font-face {
	font-family: "MOTIF Navigation";
	font-style: normal;
	font-display: swap;
	font-weight: 45 920;
	src: url(/assets/fonts/PretendardVariable.subset.88.woff2) format('woff2-variations');
	unicode-range: U+26, U+2b, U+3e, U+40, U+7e, U+ac01, U+ac19, U+ac1d, U+aca0, U+aca9, U+acb0, U+ad8c, U+ae09, U+ae38, U+ae40, U+aed8, U+b09c, U+b0a0, U+b108, U+b204, U+b298, U+b2d8, U+b2eb-b2ec, U+b2f4, U+b313, U+b358, U+b450, U+b4e0, U+b54c, U+b610, U+b780, U+b78c, U+b791, U+b8e8, U+b958, U+b974, U+b984, U+b9b0, U+b9bc-b9bd, U+b9ce, U+ba70, U+bbfc, U+bc0f, U+bc15, U+bc1b, U+bc31, U+bc95, U+bcc0, U+bcc4, U+bd81, U+bd88, U+c0c8, U+c11d, U+c13c, U+c158, U+c18d, U+c1a1, U+c21c, U+c4f0, U+c54a, U+c560, U+c5b8, U+c5c8, U+c5f4, U+c628, U+c62c, U+c678, U+c6cc, U+c808, U+c810, U+c885, U+c88b, U+c900, U+c988, U+c99d, U+c9c8, U+cc3d-cc3e, U+cc45, U+cd08, U+ce20, U+cee4, U+d074, U+d0a4, U+d0dd, U+d2b9, U+d3b8, U+d3c9, U+d488, U+d544, U+d559, U+d56d, U+d588, U+d615, U+d648, U+d655, U+d658, U+d65c;
}
@font-face {
	font-family: "MOTIF Navigation";
	font-style: normal;
	font-display: swap;
	font-weight: 45 920;
	src: url(/assets/fonts/PretendardVariable.subset.91.woff2) format('woff2-variations');
	unicode-range: U+20-22, U+27-2a, U+2c-39, U+3a-3b, U+3f, U+41-4e, U+4f-5d, U+61-7b, U+7d, U+a0-a1, U+ab, U+ad-ae, U+b7, U+bb, U+bf, U+2013-2014, U+201c-201d, U+2122, U+ac00, U+ace0, U+ae30, U+b2e4, U+b85c, U+b9ac, U+c0ac, U+c2a4, U+c2dc, U+c774, U+c778, U+c9c0, U+d558;
}

header.motif-navigation nav,header.motif-navigation nav a,header.motif-navigation nav button,
header.motif-navigation .mobile-menu-toggle,header.motif-navigation .score-detail-menu-toggle,
header.motif-navigation .shop-menu-toggle,
header.motif-navigation .lang-toggle,header.motif-header-controls .lang-toggle{
  font-family:"MOTIF Navigation","Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
header.motif-navigation nav>a,header.motif-navigation .motif-shared-music>button{
  font-size:11px!important;font-weight:400!important;letter-spacing:.04em!important;
}
header.motif-navigation .lang-toggle,header.motif-header-controls .lang-toggle{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
  padding:0!important;border-radius:50%!important;line-height:1!important;font-size:11px!important;font-weight:400!important;
  letter-spacing:normal!important;text-align:center!important;text-decoration:none!important;flex-shrink:0;
}
@media(min-width:901px){
  header.motif-navigation.score-detail-header{height:var(--motif-header-height)!important;padding-top:0!important;padding-bottom:0!important}
  header.motif-navigation.lp-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;padding-top:0!important;padding-bottom:0!important}
  header.motif-navigation.lp-header>.lang-toggle{justify-self:end}
}
@media(max-width:900px){
  header.motif-navigation:not(.menu-open) .mobile-menu-toggle,
  header.motif-navigation:not(.menu-open) .shop-menu-toggle,
  header.motif-navigation:not(.menu-open) .score-detail-menu-toggle{font-size:9px!important;font-weight:400!important;letter-spacing:.12em!important}
  header.motif-navigation .motif-shared-music>button{font-size:12px!important;letter-spacing:.07em!important}
}
/* MY PAGE keeps its original 82px normal-flow shell and all main/auth styles. */
header.mypage-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);position:relative;z-index:100;height:82px;min-height:82px}
.mypage-header .brand{justify-self:start}
.mypage-header>nav{display:flex;align-items:center;gap:clamp(12px,1.55vw,27px)}
.mypage-header nav>a{white-space:nowrap;opacity:.72}
.mypage-header .nav-utility-first{margin-left:5px;padding-left:18px;border-left:1px solid rgba(23,21,20,.18)}
.mypage-header .lang-toggle{justify-self:end;grid-column:3;border:1px solid rgba(23,21,20,.28);background:transparent;color:#171514}
.mypage-header .mobile-menu-toggle{display:none;background:transparent;border:1px solid rgba(23,21,20,.3);color:#171514;min-height:44px;height:44px;padding:8px 11px}
.mypage-header .motif-shared-music{position:relative;display:inline-flex;align-items:center}
.mypage-header .motif-shared-music>button{border:0;background:transparent;color:inherit;font:inherit;padding:0;min-height:0}
.mypage-header .motif-menu-chevron{padding-left:6px}
.mypage-header .motif-shared-sub{display:none;position:absolute;top:100%;left:0;min-width:158px;padding:21px 18px;background:#eae3dd;box-shadow:0 12px 28px #0002;flex-direction:column;gap:18px;z-index:200}
.mypage-header .motif-shared-sub>a{font-size:10px;font-weight:500;letter-spacing:.07em;white-space:nowrap}
.mypage-header .motif-shared-music:hover>.motif-shared-sub,.mypage-header .motif-shared-music:focus-within>.motif-shared-sub,.mypage-header .motif-shared-music.is-open>.motif-shared-sub{display:flex}
@media(max-width:1100px){.mypage-header .nav-utility-first{margin-left:0;padding-left:0;border-left:0}}
@media(max-width:900px){
  header.mypage-header{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px}
  .mypage-header .lang-toggle{grid-column:2;grid-row:1}
  .mypage-header .mobile-menu-toggle{display:block;grid-column:3;grid-row:1}
  .mypage-header>nav{display:none;position:absolute;top:100%;left:0;right:0;padding:10px 22px 16px;background:#f1ede5;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid rgba(23,21,20,.12);border-bottom:1px solid rgba(23,21,20,.12)}
  .mypage-header.menu-open>nav{display:flex}
  .mypage-header nav>a,.mypage-header .motif-shared-music>button{display:flex;align-items:center;min-height:44px;padding:10px 2px!important;width:100%;text-align:left;border-bottom:1px solid rgba(23,21,20,.12);line-height:1.4}
  .mypage-header nav>a:last-child{border-bottom:0}
  .mypage-header .motif-shared-music{display:flex;flex-direction:column;align-items:stretch}
  .mypage-header .motif-shared-music>button{justify-content:space-between;min-height:54px}
  .mypage-header .motif-shared-sub{display:none!important;position:static;padding:0 0 9px 16px;box-shadow:none;background:transparent;gap:0}
  .mypage-header .motif-shared-music.is-open>.motif-shared-sub{display:flex!important}
  .mypage-header .motif-shared-sub>a{display:block;min-height:42px;padding:13px 4px;font-size:11px;line-height:1.5}
  .mypage-header.menu-open .mobile-menu-toggle{font-size:0}
  .mypage-header.menu-open .mobile-menu-toggle::before{content:"닫기 ×";font-size:9px;letter-spacing:.04em}
  html[lang="en"] .mypage-header.menu-open .mobile-menu-toggle::before{content:"CLOSE ×"}
}


/* h2: reproduce the actual HOME header geometry; only the palette varies. */
header.motif-navigation[data-header-theme]{
  --header-ink:#fff;--header-line:rgba(255,255,255,.18);--header-button-line:rgba(255,255,255,.3);--header-rule:rgba(255,255,255,.12);
  box-sizing:border-box!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;grid-template-rows:44px!important;
  align-items:center!important;gap:0!important;width:100%!important;height:85px!important;min-height:85px!important;
  padding:20px 34px!important;border-bottom:1px solid var(--header-rule)!important;
}
header.motif-navigation[data-header-theme="light"]{--header-ink:#171514;--header-line:rgba(23,21,20,.18);--header-button-line:rgba(23,21,20,.3);--header-rule:rgba(23,21,20,.12)}
header.motif-navigation[data-header-theme]>.brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:center!important;display:flex!important;align-items:center!important}
header.motif-navigation[data-header-theme]>nav{
  grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-self:center!important;
  gap:clamp(12px,1.55vw,27px)!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;position:static!important;width:auto!important;max-width:none!important;
  color:var(--header-ink)!important;font-size:12px!important;font-weight:400!important;line-height:normal!important;letter-spacing:.08em!important;
}
header.motif-navigation[data-header-theme] nav>a{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
  height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;
  color:var(--header-ink)!important;font-size:11px!important;font-weight:400!important;letter-spacing:.04em!important;line-height:normal!important;opacity:.72;
}
header.motif-navigation[data-header-theme] nav>a.nav-utility{opacity:.58}
header.motif-navigation[data-header-theme] nav>a:hover{opacity:1}
header.motif-navigation[data-header-theme] nav>a.nav-utility-first{margin-left:5px!important;padding-left:18px!important;border-left:1px solid var(--header-line)!important}
header.motif-navigation[data-header-theme] nav>.motif-shared-music{align-self:center!important;height:14px!important;min-height:0!important}
header.motif-navigation[data-header-theme] .motif-shared-music>button{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;height:14px!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;color:var(--header-ink)!important;
  font-size:11px!important;font-weight:400!important;letter-spacing:.04em!important;line-height:normal!important;gap:6px!important;
}
header.motif-navigation[data-header-theme] .motif-menu-chevron{padding:0!important;margin:0!important;font-size:14px!important;line-height:14px!important}
header.motif-navigation[data-header-theme]>.lang-toggle,
header.motif-navigation[data-header-theme]>.score-detail-actions,
header.motif-navigation[data-header-theme]>div:has(>.score-lang-pill){grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important}
header.motif-navigation[data-header-theme] .lang-toggle{color:var(--header-ink)!important;background:transparent!important;border:1px solid var(--header-button-line)!important;line-height:1!important}
@media(min-width:901px){
 header.motif-navigation[data-header-theme] .mobile-menu-toggle,
 header.motif-navigation[data-header-theme] .shop-menu-toggle,
 header.motif-navigation[data-header-theme] .score-detail-menu-toggle{display:none!important}
}
@media(min-width:901px) and (max-width:1100px){header.motif-navigation[data-header-theme]{padding-left:28px!important;padding-right:28px!important}}
@media(max-width:900px){
 header.motif-navigation[data-header-theme]{height:64px!important;min-height:64px!important;padding:0 18px!important;grid-template-columns:1fr auto auto!important;gap:8px!important;grid-template-rows:44px!important;align-content:center!important}
 header.motif-navigation[data-header-theme]>.lang-toggle{grid-column:2!important;grid-row:1!important}
 header.motif-navigation[data-header-theme]>.mobile-menu-toggle{grid-column:3!important;grid-row:1!important;display:block!important;margin:0!important}
 header.motif-navigation[data-header-theme]>.score-detail-actions,
 header.motif-navigation[data-header-theme]>div:has(>.score-lang-pill){grid-column:2 / 4!important}
 header.motif-navigation[data-header-theme] .shop-menu-toggle,
 header.motif-navigation[data-header-theme] .score-detail-menu-toggle{display:block!important}
 header.motif-navigation[data-header-theme] .mobile-menu-toggle,
 header.motif-navigation[data-header-theme] .shop-menu-toggle,
 header.motif-navigation[data-header-theme] .score-detail-menu-toggle{color:var(--header-ink)!important;border-color:var(--header-button-line)!important}
 header.motif-navigation[data-header-theme]>nav{display:none!important;position:absolute!important;grid-area:auto!important;justify-self:stretch!important;left:0!important;right:0!important;top:100%!important;width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;box-sizing:border-box!important;padding:10px 18px 16px!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;border-top:1px solid var(--header-rule)!important;border-bottom:1px solid var(--header-rule)!important;background:#0d0c0d!important;z-index:1000!important}
 header.motif-navigation[data-header-theme="light"]>nav{background:#f3eee8!important}
 header.motif-navigation[data-header-theme].menu-open>nav{display:flex!important}
 header.motif-navigation[data-header-theme] nav>a{height:auto!important;min-height:44px!important;padding:10px 2px!important;width:100%!important;border-bottom:1px solid var(--header-rule)!important;line-height:1.4!important;opacity:.82!important}
 header.motif-navigation[data-header-theme] nav>a:last-child{border-bottom:0!important}
 header.motif-navigation[data-header-theme] nav>a.nav-utility-first{margin-left:0!important;padding-left:2px!important;border-left:0!important}
 header.motif-navigation[data-header-theme] nav>.motif-shared-music{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:auto!important;width:100%!important}
 header.motif-navigation[data-header-theme] .motif-shared-music>button{height:auto!important;min-height:54px!important;width:100%!important;padding:10px 2px!important;font-size:12px!important;letter-spacing:.07em!important;line-height:1.4!important;justify-content:space-between!important;border-bottom:1px solid var(--header-rule)!important}
 header.motif-navigation[data-header-theme] .motif-shared-sub{color:var(--header-ink)!important}
 header.motif-navigation[data-header-theme] .motif-shared-sub>a{color:var(--header-ink)!important}
}
