:root{
 --public-ink:#2e2533;
 --public-muted:#665c6b;
 --public-accent:#644477;
 --public-line:#e9dfea;
 --public-panel:#fffcfb;
}
.public-section-tabs{
 display:flex;flex-wrap:wrap;gap:0 20px;
 border-bottom:1px solid var(--public-line);margin:0 0 16px;
}
.public-section-tabs :is(a,span){
 display:inline-flex;align-items:center;min-height:44px;padding:5px 2px;
 border-bottom:2px solid transparent;font-weight:650;line-height:1.3;color:var(--public-muted);
}
.public-section-tabs [aria-current="page"]{color:var(--public-accent);border-bottom-color:currentColor}
.public-section-tabs [aria-disabled="true"]{opacity:.54}
.public-section-tabs a:hover{color:var(--public-accent)}
:where(.point-shop-page,.news-detail,.my-page,.daily-page,.profile-page,.team-calendar) :is(h1,h2){
 color:var(--public-ink);font-family:system-ui,"Malgun Gothic",sans-serif;letter-spacing:-.025em;
}
.point-shop-page{max-width:1120px}
.point-shop-page .shop-hero{padding:0 0 16px;background:none;border-radius:0}
.point-shop-page .shop-quick-links{justify-content:flex-end;margin-bottom:4px}
.point-shop-page .shop-quick-links .shop-my-page-link{
 min-height:36px;background:none;color:var(--public-accent);border:1px solid var(--public-line);border-radius:5px;
}
.point-shop-page .shop-hero h1{font-size:clamp(26px,5vw,38px);margin:10px 0 6px}
.point-shop-page .shop-hero [data-intro]{margin:4px 0;font-size:.92rem}
.point-shop-page .shop-wallet{border-radius:5px;padding:5px 9px}
.point-shop-page .shop-catalog{padding-top:17px}
.point-shop-page .shop-member-picker .public-section-tabs{gap:0 16px}
.point-shop-page .shop-member-picker p{margin:0 0 4px;color:var(--public-muted)}
.point-shop-page .shop-product{border-radius:8px;border-color:var(--public-line)}
.point-shop-page .shop-product-info{padding:13px;gap:6px}
.point-shop-page .shop-catalog-tools :is(input,select){border-radius:5px;padding:8px}
.point-shop-page .shop-detail{border-radius:10px}
.point-shop-page .shop-detail button{border-radius:5px}
.news-detail.section,.daily-page.section{max-width:960px}
.news-index h1,.daily-page-title{font-size:clamp(25px,5vw,37px);margin:0 0 12px}
.news-full-list .team-news-card{
 background:none;border:0;border-bottom:1px solid var(--public-line);border-radius:0;box-shadow:none;padding:14px 3px;
}
.news-detail .news-detail-body{padding:19px 0;border-block:1px solid var(--public-line);line-height:1.8}
.daily-page.section{background:none}
.daily-member-picker{margin-bottom:18px}
.daily-layout-host.empty{border-top:1px solid var(--public-line);padding:12px 0}
.member-page-tabs.section{gap:8px;border-bottom:1px solid var(--public-line)}
.member-page-tabs button{border-radius:0;box-shadow:none}
.member-page-tabs button[aria-selected="true"]{color:var(--public-accent);background:none;border-bottom:2px solid currentColor}
main>.team-calendar{max-width:960px}
.team-calendar .team-calendar-agenda{box-shadow:none;border:0;border-top:1px solid var(--public-line);border-radius:0;padding-inline:0;background:none}
.team-calendar .team-calendar-day,.team-calendar .team-calendar-controls button{border-radius:5px}
.home-briefing .team-news-card{border-radius:0;box-shadow:none;border:0;border-bottom:1px solid var(--public-line);background:none}
.my-page .my-point-card{border-radius:8px;box-shadow:none;border-color:var(--public-line)}
.my-page .my-shared{background:#f6eff8}
.my-page .my-point-history li{padding-block:9px;border-bottom:1px solid var(--public-line)}
.honor-ranking .honor-ledger{border-radius:6px}
.honor-ranking .honor-privacy-row{margin-block:10px}
@media(max-width:800px){
 .point-shop-page{padding:14px 16px 45px}
 .point-shop-page:has(.shop-hero) .shop-hero{padding-top:0}
 .shop-products{gap:10px}
 .public-section-tabs{gap:0 14px;margin-bottom:12px}
 .public-section-tabs :is(a,span){font-size:.9rem}
 .news-detail.section,.daily-page.section{padding-block:18px 30px}
 .member-page-tabs.section button{min-width:0}
}

/* Keep the member selector's space while feature flags are loading. */
.daily-member-picker,.shop-member-picker{min-height:60px}
:is(.daily-member-picker,.shop-member-picker) .public-section-tabs{
 flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;
}
:is(.daily-member-picker,.shop-member-picker) .public-section-tabs :is(a,span){flex:none;white-space:nowrap}
.public-shop-directory .shop-member-picker{
 display:flex;flex-direction:column;
}
.public-shop-directory .shop-member-picker>p{order:1}

@media (prefers-reduced-motion:no-preference){
 @view-transition{navigation:auto}
 ::view-transition-old(root),::view-transition-new(root){animation:none}
 .board-page .board-section-tabs,
 .point-shop-page .shop-hero>.public-section-tabs,
 .daily-page .daily-member-picker>.public-section-tabs,
 .news-index>.public-section-tabs{view-transition-name:public-section-navigation}
 ::view-transition-group(public-section-navigation){animation-duration:120ms}
 ::view-transition-old(public-section-navigation),::view-transition-new(public-section-navigation){animation-duration:120ms}
}
.point-shop-page .shop-current-title{margin:4px 0 5px;font-size:clamp(1.1rem,3vw,1.45rem)}
.section-picker-note{margin:0;color:var(--public-muted);font-size:.9rem}

/* Shared typography and reading width for the public site. */
:root{
 --site-font:system-ui,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;
 --site-gutter:clamp(15px,4vw,36px);
 --site-width:1260px;
 --site-heading:clamp(1.55rem,3.5vw,2.1rem);
 --site-section-heading:clamp(1.05rem,2.5vw,1.35rem);
}
body{font-family:var(--site-font)}
.header #primary-nav>a,.header .mobile-nav-toggle,.header .viewer-menu,.header .member-login-small{font-family:var(--site-font)}
.header #primary-nav>a[aria-current="location"]{color:var(--public-accent);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
#main :is(.point-shop-page,.news-detail,.my-page,.daily-page,.profile-page,.team-calendar,.board-inner) :is(h1,h2,h3,button,input,select,textarea){
 font-family:var(--site-font);
}
#main :is(.shop-hero,.news-detail,.my-page,.daily-page,.profile-content,.team-calendar-heading,.board-heading)>h1{
 font-size:var(--site-heading);line-height:1.3;font-weight:700;letter-spacing:-.025em;
}
#main :is(.news-section,.member-schedule,.member-content,.member-introduction,.team-calendar-heading,.my-page-content) h2{
 font-size:var(--site-section-heading);line-height:1.4;
}
#main>.news-detail,#main>.my-page:not(.honor-ranking),#main>.daily-page,#main>.team-calendar,#main.point-shop-page,
#main .home-briefing,#main #home-team-calendar>.team-calendar,
#main .member-page-tabs,#main>.member-introduction,#main>.member-schedule,#main>.member-content{
 max-width:calc(var(--site-width) + 2 * var(--site-gutter));
 padding-inline:var(--site-gutter);margin-inline:auto;box-sizing:border-box;
}
#main.board-page{padding-inline:var(--site-gutter)}
#main.board-page .board-inner{max-width:var(--site-width)}
#main .public-section-tabs :is(a,span),#main .board-section-tabs a{
 min-height:44px;font-size:.93rem;line-height:1.4;
}
#main .member-page-tabs button{min-height:44px;font-size:.93rem}
#main .profile-content .back-home{margin-bottom:10px}
#main .profile-content .member-en{margin-top:5px;font-family:var(--site-font);font-size:.8rem;letter-spacing:.12em}
#main .home-briefing{padding-block:22px}
#main .home-briefing .team-news-card{min-width:0}
#main .home-briefing .team-news-card strong{overflow-wrap:anywhere}
#main #home-team-calendar>.team-calendar{padding-top:12px}
#main .honor-hero>div>h1{font-family:var(--site-font);letter-spacing:-.025em}
#main .honor-privacy-row{min-height:0}
#main .shop-catalog-tools label{min-width:0}
#main .shop-catalog-tools :is(input,select){max-width:100%}
#main :is(.shop-hero,.news-detail,.my-page,.daily-page,.board-inner) :focus-visible{outline:2px solid #744987;outline-offset:2px}
footer{font-family:var(--site-font);font-size:.82rem}
@media(min-width:801px) and (max-width:900px) and (min-height:501px){
 body .header:has(.mobile-nav-toggle){position:relative;height:auto;min-height:62px;gap:10px;padding:6px var(--site-gutter)}
 body .header .mobile-nav-toggle{
  display:inline-flex;align-items:center;min-height:44px;padding:0 12px;
  border:1px solid var(--public-line);border-radius:7px;background:white;color:var(--public-ink)
 }
 body .header #primary-nav{
  display:none;position:absolute;inset:100% var(--site-gutter) auto;width:auto;
  background:white;padding:8px 12px;border:1px solid var(--public-line);border-radius:8px;flex-wrap:wrap;
 }
 body .header.mobile-nav-open #primary-nav{display:flex}
}
@media(max-width:800px){
 #main .home-briefing{padding-block:15px}
 #main .shop-catalog-tools label:first-child{min-width:0}
 #main .shop-hero [data-intro]{line-height:1.5}
 #main .member-page-tabs.section{gap:4px}
 #main .member-page-tabs button{padding-inline:5px;font-size:.84rem}
}
@media(max-width:370px){
 body .header:has(.mobile-nav-toggle){gap:5px}
 body .header .brand{min-width:0}
 body .header .brand .wordmark{font-size:15px}
 body .header .brand .brand-star{font-size:21px}
 body .header .member-login-small{font-size:.69rem;white-space:nowrap}
 body .header .viewer-menu summary{max-width:70px}
}
/* Keep sign-in links in the same layout as the brand and navigation. */
@media(min-width:801px){
 body .header:has(.mobile-nav-toggle){
  padding-inline:clamp(16px,3vw,48px);
  column-gap:clamp(10px,1.8vw,30px);
 }
 body .header:has(.mobile-nav-toggle) .member-login-small{
  position:static;flex:none;min-height:44px;display:inline-flex;align-items:center;
  margin-inline-start:auto;
 }
 body .header:has(.mobile-nav-toggle) .viewer-menu:not([hidden]) + .member-login-small{margin-inline-start:0}
 body .header #primary-nav>a{white-space:nowrap}
}
@media(min-width:901px) and (max-width:1120px){
 body .header .brand{flex:none;gap:8px}
 body .header .brand-ko{display:none}
 body .header .wordmark{font-size:18px}
 body .header #primary-nav{gap:clamp(8px,1.25vw,15px)}
 body .header #primary-nav>a{font-size:.86rem}
 body .header .viewer-menu summary{max-width:100px}
}

@media(min-width:701px){#main .home-briefing .briefing-grid>section{padding-inline:clamp(12px,2vw,22px)}}

.announcement-banner{width:100%;background:#fbf3f7}
.announcement-banner img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.announcement-banner+.news-detail{padding-top:clamp(20px,3vw,40px)}
.announcement-banner+.news-index>h1{margin:0 0 14px}
.announcement-banner+.news-index>.public-section-tabs{margin-block:0 14px}
body:has(#main>.announcement-banner) .header{position:relative;inset:auto}

#main.board-page:has(>.announcement-banner:not([hidden])){padding:0}
#main.board-page>.announcement-banner:not([hidden])+.board-inner{width:calc(100% - 2 * var(--site-gutter));margin-inline:auto;padding-block:clamp(20px,3vw,40px)}

#main.point-shop-page:has(>.announcement-banner){max-width:none;padding-top:0;padding-inline:0}
#main.point-shop-page:has(>.announcement-banner)>:is(.shop-hero,.shop-catalog){width:calc(100% - 2 * var(--site-gutter));max-width:var(--site-width);margin-inline:auto;box-sizing:border-box}
#main.point-shop-page>.announcement-banner+.shop-hero{padding-top:clamp(20px,3vw,40px)}
#main>.announcement-banner+.daily-page{padding-top:clamp(20px,3vw,40px)}
