/* Shared baseline from wordmark to account entry; no wrapping at desktop widths. */
body>.header{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:space-between;flex-wrap:nowrap!important;gap:clamp(16px,2.2vw,40px);height:88px!important;min-height:88px!important;margin:0 4%;padding:0!important;width:92%;max-width:none;position:relative}
body>.header>.logo{display:flex;align-items:center;flex:none;margin:0;line-height:1;white-space:nowrap}
body>.header>nav{display:flex!important;align-items:center!important;justify-content:flex-end;flex:1 1 auto;min-width:0;gap:clamp(10px,1.3vw,24px);width:auto;margin:0;padding:0;flex-wrap:nowrap}
body>.header>nav>a,body>.header>nav>#account-button{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap!important;line-height:1.3;margin-block:0;transform:none}
body>.header>nav>a.books-catalog-link{margin:0!important;min-height:44px;box-sizing:border-box}
body>.header>nav>#account-button{flex-direction:row!important;min-height:40px;max-width:none;padding:9px 12px!important;font-size:12px!important;gap:8px}
body>.header>.site-visit-count{display:block;position:absolute;top:calc(100% + 8px)!important;left:0!important;bottom:auto!important;font-size:12px;line-height:1.5;color:#647056}
body>.header>.site-visit-count[hidden]{display:none}
body>.header>.site-visit-count b{font-size:12px}
@media(min-width:721px) and (max-width:1399px){
 body>.header{gap:20px}
 body>.header>nav{gap:14px}
 body>.header>nav>a[href^="#class-"]{font-size:0;gap:0}
 body>.header>nav>a[href^="#class-"]>span{font-size:13px;font-weight:600}
 body>.header>nav>a.books-catalog-link{padding:8px 11px!important;gap:7px!important}
 body>.header .catalog-kicker{display:none!important}
 body>.header .catalog-title{font-size:12px!important}
}
@media(max-width:720px){
 body:not(.is-in-story)>.header,body>.header{display:flex!important;grid-template-columns:none;grid-template-rows:none;gap:10px;height:72px!important;min-height:72px!important;margin:0 4%;padding:0!important;width:92%}
 body>.header>.logo{font-size:23px!important;letter-spacing:-1.2px}
 body>.header .brand-cookie{display:none}
 body>.header>nav{display:flex!important;gap:8px!important;flex:none;justify-content:flex-end}
 body>.header>nav>a[href^="#class-"]{display:none!important}
 body>.header>nav>a.books-catalog-link{display:inline-flex!important;position:relative!important;min-height:32px!important;height:32px!important;padding:4px 7px!important;border-radius:5px!important;gap:0!important}
 body>.header .books-catalog-link .catalog-cookie,body>.header .books-catalog-link .catalog-kicker,body>.header .books-catalog-link .catalog-arrow{display:none!important}
 body>.header .books-catalog-link .catalog-title{font:600 10px/1.3 'Gowun Dodum',sans-serif!important;white-space:nowrap}
 body>.header .books-menu-line{display:inline!important}
 body>.header .books-menu-line i{font:inherit!important}
 body>.header>nav>a.author-settlement-link{display:inline-flex!important;font-size:10px!important;padding:0!important;border:0!important;min-height:32px;background:none!important}
 body>.header>nav>#account-button{font-size:10px!important;padding:5px 0!important;min-height:32px;max-width:108px;overflow:hidden;gap:0}
 body>.header #account-button .account-amount{display:none}
 body>.header #account-button .account-label{overflow:hidden;text-overflow:ellipsis}
 body>.header>.site-visit-count{font-size:10px!important;top:calc(100% + 5px)!important}
 body>.header>.site-visit-count b{font-size:11px}
}
@media(max-width:380px){body>.header{gap:7px}body>.header>.logo{font-size:21px!important}body>.header>nav{gap:6px!important}body>.header>nav>#account-button{max-width:91px}}
