/* PORTAL-B 2026-11-13 — 'B 디시형' 포털 틀(yn1 portal-sample 기준), yn6 실시간 검색어
   흰 헤더(SVG 기호 + 굵은 워드마크·브랜드색 테두리 검색창) + 38px 차분한 주황 갈색 메뉴 띠(실시간·이슈 뉴스·추천 서비스·Blog),
   옅은 바탕 위 흰 상자(위 2px 진한 선 + 연한 머리줄), 순위 1~3 색 네모, 목록 14px·행 34px(모바일 44px).
   무한 애니메이션·자동 넘김 화면·그라데이션·큰 그림자 없음. 홈(전 언어 같은 틀)만 부른다. 광고 슬롯·링크·문구 그대로. */
html:root{--pb-brand:#a84d14;--pb-band:#94593a;--pb-band-on:#78452b;--pb-bg:#f2f1ef;--pb-box:#fff;--pb-head:#faf3ee;--pb-top:#78452b;--pb-line:#e0dbd6;--pb-row:#efebe7;--pb-ink:#1d1a17;--pb-sub:#5c5650;--grad:#a84d14;--shadow:none;--shadow-lg:none;--radius:2px;--radius-sm:2px}
html[data-theme=dark]:root{--pb-brand:#f0a36c;--pb-band:#5a3a28;--pb-band-on:#45291b;--pb-bg:#0f1116;--pb-box:#191c24;--pb-head:#221f1d;--pb-top:#b8693a;--pb-line:#2c2a28;--pb-row:#24221f;--pb-ink:#eef1f6;--pb-sub:#b8bfcc}
html{scroll-behavior:auto}
body{background:var(--pb-bg)!important;letter-spacing:0}
body *,body *::before,body *::after{animation:none!important}

/* ── 헤더: 흰 줄 + 메뉴 띠 ── */
body>header.site-header{position:relative!important;top:auto!important;background:var(--pb-box)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;box-shadow:none!important}
.site-header .header-inner{flex-wrap:wrap;height:auto!important;max-width:1180px;padding-top:12px;gap:12px 8px}
.site-header .logo{gap:9px;margin-inline-end:auto}
.site-header .pb-mark{width:34px;height:34px;flex:0 0 34px;display:block}
.pb-mark rect{fill:var(--pb-brand)}
.pb-mark path{fill:none;stroke:#fff;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.site-header .logo-word b{font-size:23px!important;font-weight:800;letter-spacing:-.03em;color:var(--pb-ink)}
.site-header .beta{font-size:13px!important;color:var(--pb-sub)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.site-header .live-pill{border-radius:2px!important;font-size:13px!important;background:none!important;border:1px solid var(--pb-line)!important;color:var(--pb-sub)!important;box-shadow:none!important}
.site-header .live-pill .live-dot{animation:none!important}
.site-header :is(.icon-btn,.select-wrap,select){border-radius:2px!important;box-shadow:none!important}
.site-header .pb-band{order:9;flex:1 1 auto;display:flex;height:38px;margin:0;background:var(--pb-band);border-image:conic-gradient(var(--pb-band) 0 0) fill 0//0 100vmax;overflow-x:auto;scrollbar-width:none;min-width:0}
.site-header .pb-band::-webkit-scrollbar{display:none}
.site-header .pb-band a{display:flex;align-items:center;height:38px;padding:0 15px;color:#fff!important;font-size:15px;font-weight:700;white-space:nowrap;text-decoration:none}
.site-header .pb-band a:first-child{margin-inline-start:-15px}
.site-header .pb-band a:hover{background:var(--pb-band-on)}
.site-header .header-inner::after{content:"";order:8;flex:0 0 100%;height:0}
.site-header .header-actions{display:contents}
.site-header .font-stepper{order:2}.site-header .select-wrap{order:3}.site-header #themeToggle{order:4}
.site-header .blog-tab{order:10;align-self:stretch;height:38px;margin:0!important;padding:0 15px!important;background:var(--pb-band)!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:15px!important;font-weight:700;display:flex;align-items:center;position:relative;z-index:1}
.site-header .blog-tab:hover{background:var(--pb-band-on)!important}

/* ── 상자 공통 ── */
.wrap.page{max-width:1180px;padding-top:16px}
.wrap.page :is(.card,.hero,.latest-blog,.social-wall,.onboard,.family-slider){border-radius:0!important;box-shadow:none!important;background:var(--pb-box)!important;border:1px solid var(--pb-line)!important;border-top:2px solid var(--pb-top)!important;backdrop-filter:none!important}
.wrap.page>*{margin-top:0!important;margin-bottom:14px!important}
.layout{gap:16px!important}
.side{gap:14px!important;top:16px!important}
.card-head,.latest-head,.aff-head{margin:0 0 10px!important;padding:9px 14px;background:var(--pb-head);border-bottom:1px solid var(--pb-line)}
.card-head :is(h2,h3),.latest-head h2,.aff-head h3{font-size:16px!important;font-weight:700!important;color:var(--pb-ink);margin:0}
.card-sub{font-size:13px!important;color:var(--pb-sub)!important;margin:2px 0 0!important}
.card{padding:0 0 12px!important;overflow:hidden}
.card>:not(.card-head):not(.aff-head):not(.rank-toolbar){margin-inline:14px}

/* 첫 상자(검색): 왼쪽 정렬·작은 제목·브랜드색 테두리 검색창 */
.hero{text-align:start!important;padding:14px 16px!important;min-height:0}
.hero::before,.hero::after{content:none!important;display:none!important}
.hero .hero-badge{display:none!important}
.hero .hero-title{font-size:22px!important;margin:0 0 4px!important;background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--pb-ink)!important}
.hero .hero-title::after{content:none!important;display:none!important}
.hero .hero-desc{font-size:15px!important;color:var(--pb-sub)!important;margin:0 0 12px!important;max-width:none}
.hero .hero-search{max-width:none!important;margin:0!important;border:2px solid var(--pb-brand)!important;border-radius:0!important;box-shadow:none!important;padding:0 0 0 12px!important;background:var(--pb-box)!important}
.hero .hero-search input{font-size:16px;min-height:46px}
.hero .search-btn{border-radius:0!important;background:var(--pb-brand)!important;color:#fff!important;align-self:stretch;min-height:46px;padding:0 24px!important;box-shadow:none!important;margin:0!important}
.onboard{background:var(--pb-box)!important}
.onboard .onboard-ok,.onboard .step-n{border-radius:2px!important;background:var(--pb-brand)!important;color:#fff!important;box-shadow:none!important}

/* 실시간 순위: 줄 34px·14px, 1~3 색 네모 */
.rank-toolbar{margin:0 0 10px!important;padding:8px 14px;background:var(--pb-head);border-bottom:1px solid var(--pb-line)}
.tabs{gap:0!important;margin:0 14px 10px!important;border-bottom:1px solid var(--pb-line)}
.tabs>*{border-radius:0!important;box-shadow:none!important;border:0!important;background:none!important;color:var(--pb-sub)!important;font-size:14px!important;min-height:36px;padding:0 12px!important;margin:0 0 -1px!important;border-bottom:2px solid transparent!important}
.tabs>[aria-selected=true],.tabs>.active,.tabs>.on{color:var(--pb-brand)!important;border-bottom-color:var(--pb-brand)!important;font-weight:700}
.rank-list{column-gap:24px!important}
.rank-list>li{border-radius:0!important;box-shadow:none!important;background:none!important;min-height:34px;border-bottom:1px solid var(--pb-row)!important;padding-top:0!important;padding-bottom:0!important;font-size:14px}
.rank-list>li :is(a,button){font-size:14px!important;min-height:34px}
.rank-list :is(.rank-num,.num,.rk){border-radius:2px!important;font-size:13px!important;box-shadow:none!important}
.ghost-btn,.solid-btn,.line-btn,.foot-link{border-radius:2px!important;box-shadow:none!important}
.solid-btn{background:var(--pb-brand)!important;color:#fff!important}

/* 자동 넘김 띠 → YN 계열 숨김(링크는 유틸 줄·푸터 목록에), 369 모집은 글자 목록 */
#familySlider{display:none!important}
#recruitSlider{order:90}
#recruitSlider:not([hidden]){display:block!important;padding:0!important}
#recruitSlider::before{content:"369 엔터테인먼트 모집";display:block;padding:9px 14px;background:var(--pb-head);border-bottom:1px solid var(--pb-line);font-size:16px;font-weight:700;color:var(--pb-ink)}
html:not([lang|=ko]) #recruitSlider::before{content:"369 Entertainment — Now hiring"}
#recruitSlider .fs-viewport{overflow:visible!important;border-radius:0!important}
#recruitSlider .fs-track{display:block!important;transform:none!important;transition:none!important}
#recruitSlider .fs-track>*{display:flex!important;width:auto!important;min-height:44px!important;padding:6px 14px!important;background:none!important;color:var(--pb-ink)!important;border-bottom:1px solid var(--pb-row);border-radius:0!important;box-shadow:none!important;align-items:center;gap:10px;text-align:start!important;justify-content:space-between!important}
#recruitSlider .fs-track>*:last-child{border-bottom:0}
#recruitSlider .fs-track>* *{color:var(--pb-ink)!important;background:none!important;border-color:transparent!important;box-shadow:none!important;text-shadow:none!important}
#recruitSlider :is(.fs-nav,.fs-dots){display:none!important}
.wrap.page{display:flex;flex-direction:column}
.wrap.page>.footer{order:99}
.wrap.page>#ad-bottom{order:95}

/* 푸터·상담 바 */
.footer{background:var(--pb-box);border:1px solid var(--pb-line)!important;border-top:2px solid var(--pb-top)!important;padding:12px 14px!important;font-size:14px!important}
.footer :is(button,a,p,span){font-size:14px}
html #ynFamFoot{max-width:1180px;color:var(--pb-sub);border-top:1px solid var(--pb-line);padding-inline:0}
section.yn-growth-footer{border-radius:0!important;box-shadow:none!important;border-top:2px solid var(--pb-top)!important}

/* 장식 끄기·글자 13px 이상 */
html body *:not(#_):not(#_):not(#_):not(.yu-pop){box-shadow:none!important}
html body :is(small,sup,sub,.ad-tag,.countdown,.clock,.card-sub,.aff-disclosure,.footer-src,.footer-base *,[class*="-badge"],[class*="-tag"],[class*="-meta"],[class*="-cat"],[class*="-desc"],[class*="-date"],.muted){font-size:max(13px,0.8125rem)!important}

/* 다크 */
html[data-theme=dark] #ynUtil,html[data-theme=dark] body::before{background:#11131a!important;border-color:#262a33!important;color:#b9bfcc}
html[data-theme=dark] #ynUtil summary,html[data-theme=dark] #ynFamFoot a,html[data-theme=dark] #ynFamFoot dt{color:#c9cedb}
html[data-theme=dark] #ynUtil details[open] summary,html[data-theme=dark] #ynUtil summary:hover{color:#fff!important}
html[data-theme=dark] #ynUtil .yu-pop{background:#191c24;border-color:#333844}
html[data-theme=dark] #ynUtil .yu-pop a{color:#eef1f6}html[data-theme=dark] #ynUtil .yu-pop a span{color:#b8bfcc}
html[data-theme=dark] #ynUtil .yu-pop a:hover{background:#24221f}
html[data-theme=dark] #ynUtilRight #nbaBtn.nba-btn{color:#c9cedb!important}
html[data-theme=dark] .hero .search-btn{color:#1d1a17!important}

@media (max-width:860px){
  .site-header .header-inner{padding-left:12px;padding-right:12px}
  .site-header .logo-word b{font-size:20px!important}
  .site-header .live-pill{display:none}
  .site-header .pb-band a,.site-header .blog-tab{padding:0 12px!important;font-size:15px!important}
  .site-header .pb-band a:first-child{margin-inline-start:-12px}
  .wrap.page{padding:10px 0 0}
  .wrap.page :is(.card,.hero,.latest-blog,.social-wall,.onboard,.family-slider,.footer){border-left:0!important;border-right:0!important}
  .wrap.page>*{margin-bottom:10px!important}
  .rank-list>li,.rank-list>li :is(a,button){min-height:44px}
}
html body :is(.fs-eyebrow,.fs-free,.deal-blurb,.deal-go,.sb-thanks,.rank-status,.vol,.rank-change,.rank-change b,.news-kw,.news-src,.rank-list b){font-size:13px!important}
body>header.site-header{height:auto!important}
.site-header .pb-band{flex:0 1 auto}
.site-header .blog-tab{margin:0 auto 0 0!important}
html[dir=rtl] .site-header .blog-tab{margin:0 0 0 auto!important}
.onboard{padding:0!important}
.onboard-inner{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html body #recruitSlider .fs-track>*:not(#_):not(#_):not(#_):not(#_){box-shadow:none!important;background:none!important}
html body :is(.rank-list b,.latest-title){font-size:13px!important}
html body .latest-title{font-size:14px!important}
.latest-grid>*,.social-wall *{border-radius:0!important}
html body .src-badges .b:not(#_){font-size:13px!important}
html body #tabs button.tab:not(#_):not(#_):not(#_){background:var(--pb-box)!important;box-shadow:none!important}
html body :is(.deal-mark,.aff-thumb):not(#_):not(#_):not(#_):not(#_){box-shadow:inset 0 0 0 999px rgba(0,0,0,.2)!important}
html[data-theme=dark] body :is(.onboard-ok,.step-n,.solid-btn):not(#_):not(#_){color:#1d1a17!important}
html[data-theme=dark] body .latest-more:not(#_):not(#_),html[data-theme=dark] body .latest-more span:not(#_){color:var(--pb-brand)!important}
html[data-theme=dark] body :is(.hero-desc,.footer-note,.footer-src,.footer p,.footer span,.card-sub):not(#_):not(#_){color:#b8bfcc!important}
html body :is(.deal-mark,.aff-thumb):not(#_):not(#_):not(#_):not(#_):not(#_){box-shadow:inset 0 0 0 999px rgba(0,0,0,.3)!important}
html[data-theme=dark] body .latest-more:not(#_):not(#_):not(#_):not(#_),html[data-theme=dark] body .latest-more span:not(#_):not(#_):not(#_):not(#_){color:var(--pb-brand)!important}
html[data-theme=dark] body :is(.hero-desc,.footer-note,.footer-src):not(#_):not(#_):not(#_):not(#_){color:#b8bfcc!important}
html body .deal-ad-flag:not(#_){font-size:13px!important}
