/* PORTAL-B 2026-11-13 — 'B 디시형' 포털 틀(yn1 portal-sample 기준), YN 다운로더 홈
   흰 헤더(SVG 기호 + 굵은 워드마크) → 38px 차분한 초록 메뉴 띠 → 옅은 회색 바탕 위 흰 상자(위 2px 진한 선 + 연한 머리줄).
   무한 자동 넘김·그라데이션·큰 그림자 없음. 광고 슬롯·링크·문구는 그대로(겉 상자만). */
:root{--pb-brand:#2f6b45;--pb-band:#45704f;--pb-band-on:#33583d;--pb-bg:#eff2f0;--pb-box:#fff;--pb-head:#eef5f0;--pb-top:#33583d;--pb-line:#d5ddd8;--pb-row:#e7ede9;--pb-ink:#1c2420;--pb-sub:#56625b}
:root[data-theme=dark]{--pb-brand:#7fc795;--pb-band:#26432f;--pb-band-on:#1a3122;--pb-bg:#0e1310;--pb-box:#151c18;--pb-head:#1a2a1f;--pb-top:#4f8f63;--pb-line:#28362d;--pb-row:#1f2b23;--pb-ink:#e2ece5;--pb-sub:#a2b4a8}
html{scroll-behavior:auto}
body{background:var(--pb-bg)!important;color:var(--pb-ink);display:flex;flex-direction:column;min-height:100vh}
body>*{order:3;min-width:0}
body::before{order:0}
body>#ynUtil,body>.skip-link,body>header,body>svg,body>#hero{order:0}
body>#recruit{order:1}
body>.ad-wrap:has(.ad-after-result){order:2}
[data-theme=dark] #ynUtil,[data-theme=dark] body::before{background:#121815!important;border-color:#28362d!important;color:#b9c7be}
[data-theme=dark] #ynUtil summary,[data-theme=dark] #ynFamFoot a,[data-theme=dark] #ynFamFoot dt,[data-theme=dark] #ynUtilRight #nbaBtn.nba-btn{color:#c9d6cd!important}
[data-theme=dark] #ynUtil .yu-pop{background:#151c18;border-color:#33463a}
[data-theme=dark] #ynUtil .yu-pop a{color:#e2ece5}[data-theme=dark] #ynUtil .yu-pop a span{color:#a2b4a8}
[data-theme=dark] #ynUtil .yu-pop a:hover{background:#1f2b23}

/* ── 헤더: 흰 줄(로고·블로그·테마·언어) + 메뉴 띠 ── */
body>header.header{position:relative!important;top:auto!important;background:var(--pb-box)!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;height:auto!important}
body>header .header-inner{flex-wrap:wrap;height:auto!important;min-height:0!important;padding-top:12px;padding-bottom:0;row-gap:12px;column-gap:8px;max-width:1180px}
body>header .header-inner::after{content:"";order:8;flex:0 0 100%;height:0}
body>header .logo{gap:8px;margin-inline-end:auto;align-items:center}
body>header .logo .pb-mark{width:32px;height:32px;flex:0 0 32px;display:block}
body>header .logo .pb-mark rect{fill:var(--pb-brand)}
body>header .logo .pb-mark path{fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body>header .logo .logo-yn{font-size:23px!important;font-weight:900!important;color:var(--pb-brand)!important;background:none!important;-webkit-text-fill-color:currentColor!important;letter-spacing:-.02em}
body>header .logo .logo-word{font-size:23px!important;font-weight:800!important;color:var(--pb-ink)!important;letter-spacing:-.02em}
body>header .nav{order:9;flex:0 1 auto;display:flex;gap:0;margin:0!important;padding:0!important;height:38px;background:var(--pb-band);box-shadow:0 0 0 100vmax var(--pb-band);clip-path:inset(0 -100vmax);overflow-x:auto;scrollbar-width:none;min-width:0}
body>header .nav::-webkit-scrollbar{display:none}
body>header .nav .nav-link{display:flex;align-items:center;height:38px;min-height:38px;padding:0 15px!important;color:#fff!important;font-size:15px!important;font-weight:700!important;border-radius:0!important;background:none!important;border:0!important;white-space:nowrap;box-shadow:none!important}
body>header .nav .nav-link:first-child{margin-inline-start:-15px}
body>header .nav .nav-link.active{background:var(--pb-band-on)!important}
body>header .nav .nav-link::after{content:none!important}
body>header .nav .nav-link:hover{background:var(--pb-band-on)!important;text-decoration:none}
html body>header.header a.blog-link:not(#_):not(#_){order:10;align-self:stretch;display:flex;align-items:center;height:38px;min-height:38px;margin:0 auto 0 0;padding:0 15px;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;position:relative;z-index:1}
html[dir=rtl] body>header.header a.blog-link:not(#_):not(#_){margin:0 0 0 auto}
body>header .theme-toggle,body>header .lang-select{border-radius:2px!important;box-shadow:none!important}

/* ── 장식·움직임 끄기 ── */
#promo{display:none!important}
#recruit .promo-track{transform:none!important;transition:none!important;display:block!important}
#recruit .promo-arrow,#recruit .promo-dots{display:none!important}
.hero::before,.hero::after,.hero .container::before,.hero .container::after,#hero h1::after{content:none!important;display:none!important}
body *{animation-iteration-count:1!important}
:is(.hero,.converter,.howto,.features,.faq,.notice,.supported,.social,.home-blog,.history,.partner) :is(.card,.step,.feature,.feat,.faq-item,details,.box,.partner-card,.hb-card){box-shadow:none!important}

/* ── 상자 공통: 섹션 바탕은 회색, 안쪽 .container 가 흰 상자 ── */
body>section:is(.hero,.history,.home-blog,.social,.supported,.converter,.howto,.partner,.features,.faq,.notice){background:none!important;padding:0!important;margin:0 0 14px!important;border:0!important}
body>section:is(.hero,.history,.home-blog,.social,.supported,.converter,.howto,.partner,.features,.faq,.notice)>.container{max-width:1148px;margin:0 auto;background:var(--pb-box);border:1px solid var(--pb-line);border-top:2px solid var(--pb-top);border-radius:0;padding:0 16px 16px;text-align:start}
body>section.hero{margin-top:16px!important}
body>section.hero>.container{padding:16px 18px 18px}
body>section:not(.hero)>.container>:is(h2,.hist-head,.hb-head,.section-head,.social-title):first-child,
body>section:not(.hero)>.container>h2{margin:0 -16px 12px!important;padding:10px 16px!important;font-size:17px!important;font-weight:700!important;line-height:1.4;text-align:start!important;background:var(--pb-head);border-bottom:1px solid var(--pb-line);color:var(--pb-ink)}
body>section:not(.hero)>.container>h2::after,body>section:not(.hero)>.container>h2::before{content:none!important}
body>section:not(.hero) .section-sub{text-align:start!important;font-size:14px!important;color:var(--pb-sub)!important;margin:0 0 12px!important}

/* 히어로(다운로드 폼): 왼쪽 정렬·작은 제목 */
body>section.hero .hero-trust{font-size:13px!important;color:var(--pb-sub)!important;background:none!important;border:0!important;padding:0!important;margin:0 0 6px!important;text-align:start;display:block;box-shadow:none!important}
body>section.hero h1{font-size:22px!important;line-height:1.35!important;margin:0 0 6px!important;text-align:start!important;color:var(--pb-ink)!important;letter-spacing:-.02em}
body>section.hero .hero-sub{font-size:15px!important;text-align:start!important;margin:0 0 14px!important;color:var(--pb-sub)!important;max-width:none!important}
body>section.hero .main-form{max-width:none!important;margin:0!important}
body>section.hero .input-wrap{border-radius:2px!important;border:2px solid var(--pb-brand)!important;box-shadow:none!important}
body>section.hero .btn-submit{border-radius:2px!important;background:var(--pb-brand)!important;box-shadow:none!important;min-height:48px}
body>section.hero .sub-tabs{justify-content:flex-start!important}
body>section.hero .sub-tabs>*{border-radius:2px!important}
body>section.hero .terms-note{text-align:start!important;font-size:13px!important}

/* 369 모집: 글자 목록 상자 */
body>#recruit{background:none!important;padding:0!important;margin:0 0 14px!important;border:0!important;box-shadow:none!important;height:auto!important;min-height:0!important}
body>#recruit::before{content:attr(aria-label);display:block;max-width:1148px;margin:0 auto;box-sizing:border-box;background:var(--pb-head);border:1px solid var(--pb-line);border-top:2px solid var(--pb-top);border-bottom:1px solid var(--pb-line);padding:10px 16px;font-size:17px;font-weight:700;color:var(--pb-ink)}
body>#recruit .promo-viewport{max-width:1148px;margin:0 auto;background:var(--pb-box);border:1px solid var(--pb-line);border-top:0;border-radius:0!important;box-shadow:none!important;overflow:visible!important;height:auto!important}
body>#recruit .promo-slide{display:flex!important;align-items:center;gap:10px;width:auto!important;min-width:0!important;height:auto!important;min-height:44px;padding:6px 16px!important;background:none!important;border:0!important;border-bottom:1px solid var(--pb-row)!important;border-radius:0!important;color:var(--pb-ink)!important;box-shadow:none!important}
body>#recruit .promo-slide:last-child{border-bottom:0!important}
body>#recruit .promo-slide::before,body>#recruit .promo-slide::after{content:none!important}
body>#recruit .promo-badge{width:28px!important;height:28px!important;flex:0 0 28px;border-radius:2px!important;box-shadow:none!important}
body>#recruit .promo-txt{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;flex:1}
body>#recruit .promo-eyebrow{display:none!important}
body>#recruit .promo-name{font-size:15px!important;font-weight:600!important;color:var(--pb-ink)!important}
body>#recruit .promo-desc{font-size:13px!important;color:var(--pb-sub)!important;opacity:1!important}
body>#recruit .promo-cta{font-size:13px!important;background:none!important;color:var(--pb-brand)!important;border:0!important;box-shadow:none!important;padding:0!important}
body>#recruit .promo-slide:hover .promo-name{text-decoration:underline}

/* 목록·칸들 평평하게 */
body>section:not(.hero) :is(.card,.step,.feature,.feat-card,.hb-card,.partner-card,.sup-chip,.chip,.faq-item,details){border-radius:2px!important;box-shadow:none!important}
body>section.faq details{border:0!important;border-bottom:1px solid var(--pb-row)!important;border-radius:0!important;background:none!important;margin:0!important}
body>section.faq summary{font-size:15px!important;min-height:44px}
body>section.faq .container{max-width:1148px!important}
body>section.converter .drop-zone,body>section.converter [class*=drop]{border-radius:2px!important}

/* 광고 칸(슬롯 그대로 — 겉만) */
body>.ad-wrap{max-width:1148px;width:100%;margin:0 auto 14px!important;align-self:center}

/* 푸터·상담 바 */
body>footer.footer{background:var(--pb-box)!important;border-top:2px solid var(--pb-top)!important;margin-top:8px}
body>footer.footer .logo-img{border-radius:2px}
section.yn-growth-footer{border-radius:0!important;box-shadow:none!important;border-top:2px solid var(--pb-top)!important;align-self:center;width:calc(100% - 32px)}

/* 글자 13px 아래 없애기 */
html body :is([class*="-badge"],[class*="-tag"],[class*="-flag"],[class*="-kicker"],[class*="-eyebrow"],[class*="-disclosure"],[class*="-desc"],[class*="-cat"],[class*="-kw"],[class*="-change"],.lang-caret,.ad-label,small,sup,sub){font-size:13px!important}

@media (max-width:700px){
  body>section:is(.hero,.history,.home-blog,.social,.supported,.converter,.howto,.partner,.features,.faq,.notice)>.container{border-left:0;border-right:0;padding:0 12px 14px}
  body>section:not(.hero)>.container>:is(h2,.hist-head,.hb-head,.section-head,.social-title):first-child,body>section:not(.hero)>.container>h2{margin:0 -12px 10px!important;padding:10px 12px!important}
  body>section.hero{margin-top:10px!important}
  body>section.hero>.container{padding:14px 12px 16px}
  body>section.hero h1{font-size:20px!important}
  body>header .header-inner{padding-left:12px;padding-right:12px;column-gap:6px;row-gap:10px}
  body>header .logo .logo-yn,body>header .logo .logo-word{font-size:20px!important}
  body>header .nav .nav-link{padding:0 12px!important;font-size:15px!important}
  body>header .nav .nav-link:first-child{margin-inline-start:-12px}
  html body>header.header a.blog-link:not(#_):not(#_){padding:0 12px}
  body>#recruit::before,body>#recruit .promo-viewport{border-left:0;border-right:0}
  body>#recruit .promo-slide{padding:6px 12px!important}
  body>#recruit .promo-desc{display:none}
}
html body :is(.sub-tab,.soc-cap,.convert-hint,.partner-disc,.deal-go,.deal-ad,.footer-note,.copyright,footer h4,footer p){font-size:13px!important}
html body footer .footer-brand p.copyright{font-size:13px!important}
/* 보정: 블로그 링크 어두운 막·그림자 해제(공용 대비 규칙보다 강하게), 모집 상자 폭, 좁은 화면 띠 한 줄 */
html body>header.header div.container.header-inner>a.blog-link:not(#_):not(#_):not(#_){box-shadow:none!important}
html body>section#recruit{width:100%!important;max-width:none!important;margin:0 0 14px!important;align-self:stretch}
@media (max-width:700px){
  body>header .nav{flex:1 1 0}
  body>header .lang-select{max-width:100px}
  body>header .logo{margin-inline-end:auto;min-width:0}
}
html body>header .header-inner>.nav{order:9!important;flex:0 1 auto!important}
html body>header .header-inner>.lang-select,html body>header .header-inner>.theme-toggle{order:0!important}
@media (max-width:700px){html body>header .header-inner>.nav{flex:1 1 0!important}}
html body>header .nav .nav-link{line-height:38px!important;padding-top:0!important;padding-bottom:0!important}
body>section .hb-head{display:flex;align-items:center;justify-content:space-between}
body>section .hb-head h2{margin:0!important;padding:0!important;font-size:17px!important;font-weight:700!important;background:none!important;border:0!important}
body>section .hb-head h2::after,body>section .hb-head h2::before{content:none!important}
body>section .hb-head .hb-more{font-size:14px!important;font-weight:400;color:var(--pb-sub)!important}
body>section :is(.hb-card,.hb-grid>*){border-radius:0!important;box-shadow:none!important}
