/* 오피스타 공통 스타일 — 이용 방법(guide) 페이지에서 사용 */
:root{
  --bg:#0A0A0B;--bg-2:#0F0F11;--bg-3:#141416;
  --line:#1F1F23;--line-2:#26262A;--line-3:#2A2A2F;
  --fg:#F4F4F5;--fg-2:#E4E4E7;--muted:#A1A1AA;--muted-2:#8B8B95;
  --red:#E5141E;--red-hover:#FF2A33;--red-soft:#FF5A62;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--fg);font-family:"Pretendard Variable",Pretendard,system-ui,-apple-system,"Malgun Gothic",sans-serif;-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word}
a{color:var(--fg);text-decoration:none}
a:hover{color:var(--red-hover)}
img{max-width:100%;height:auto;display:block}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--red);color:#fff;padding:10px 16px;border-radius:8px}
.skip:focus{left:16px}
:focus-visible{outline:2px solid var(--red-soft);outline-offset:3px}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.eyebrow{font-size:14px;font-weight:700;color:var(--red);letter-spacing:.04em;text-transform:uppercase}
h1{margin:0;font-size:clamp(32px,3.8vw,44px);line-height:1.2;font-weight:800;letter-spacing:-.035em;text-wrap:balance}
h1 em{font-style:normal;color:var(--red)}
h2{margin:0;font-size:clamp(24px,2.5vw,28px);font-weight:800;letter-spacing:-.03em;line-height:1.35;text-wrap:balance}
h3{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em;line-height:1.45}
.lead{margin:0;font-size:17.5px;line-height:1.8;color:var(--muted);text-wrap:pretty}
.desc{margin:0;font-size:15px;line-height:1.75;color:var(--muted);text-wrap:pretty}
.card{padding:28px 26px;border:1px solid var(--line-2);border-radius:16px;background:var(--bg-3);display:flex;flex-direction:column;gap:12px}
.grid{display:grid;gap:16px}
.g-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.g-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.tag{display:inline-flex;align-self:flex-start;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:600;color:var(--red-soft);background:rgba(229,20,30,.1);border:1px solid rgba(229,20,30,.3)}
.btn{display:inline-flex;align-items:center;gap:10px;border-radius:10px;font-weight:700;white-space:nowrap}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-hover);color:#fff}
.btn-line{border:1px solid var(--line-3);color:var(--fg)}
.btn-line:hover{border-color:#3F3F46;color:var(--fg)}
.more{display:inline-flex;align-self:flex-start;gap:6px;font-size:14.5px;font-weight:700;color:var(--red-soft)}

/* header + 하위 메뉴 */
.hdr{position:sticky;top:0;z-index:10;background:rgba(10,10,11,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.hdr-in{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px 24px}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;white-space:nowrap;font-weight:800;font-size:19px;letter-spacing:-.02em}
.brand img{width:36px;height:36px;border-radius:50%}
.nav{display:flex;align-items:center;gap:18px;font-size:14px;white-space:nowrap;overflow-x:auto;flex:1 1 auto;justify-content:safe center;min-width:0;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{color:var(--muted);padding:4px 0}
.nav a:hover,.nav a[aria-current="page"],.nav a.on{color:var(--fg)}
.nav a[aria-current="page"],.nav a.on{box-shadow:inset 0 -2px 0 var(--red)}
.nav-dd{position:relative;display:flex;align-items:center}
.nav-dd>a::after{content:"";display:inline-block;width:5px;height:5px;margin-left:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.dd-menu{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:16px;z-index:20}
.dd-menu ul{margin:0;padding:8px;list-style:none;min-width:230px;border:1px solid var(--line-3);border-radius:14px;background:var(--bg-3);box-shadow:0 18px 40px rgba(0,0,0,.55)}
.dd-menu a{display:block;padding:10px 14px;border-radius:8px;font-size:14px;color:var(--muted)}
.dd-menu a:hover,.dd-menu a[aria-current="page"]{background:rgba(229,20,30,.1);color:var(--fg);box-shadow:none}
.dd-menu li:first-child a{color:var(--fg);font-weight:700}
@media (min-width:1000px){.nav{overflow:visible}.nav-dd:hover .dd-menu,.nav-dd:focus-within .dd-menu{display:block}}
.hdr-btns{display:flex;gap:8px}
.hdr-btns .btn{padding:10px 16px;font-size:14px;border-radius:8px}
@media (max-width:1100px){.hdr-btns{display:none}}

/* 가이드 상단 */
.ghero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.ghero-glow{position:absolute;top:-260px;right:-180px;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(229,20,30,.2),rgba(229,20,30,0) 70%);pointer-events:none}
.ghero-in{position:relative;max-width:1200px;margin:0 auto;padding:36px 24px 64px;display:flex;flex-direction:column;gap:22px}
.crumb{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px;font-size:13.5px;color:var(--muted-2)}
.crumb li+li::before{content:"/";margin-right:8px;color:var(--line-3)}
.crumb a{color:var(--muted)}
.ghero .lead{max-width:760px}
.gmeta{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none;font-size:13.5px;color:var(--muted-2)}
.gmeta li::before{content:"•";margin-right:8px;color:var(--red)}

/* 가이드 본문 레이아웃 */
.glayout{max-width:1200px;margin:0 auto;padding:64px 24px 96px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:64px;align-items:start}
.gside{position:sticky;top:92px;display:flex;flex-direction:column;gap:28px}
.gside h2{font-size:13px;font-weight:700;color:var(--muted-2);letter-spacing:.04em;margin-bottom:10px}
.gside ol,.gside ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
.gside a{display:block;padding:8px 12px;border-radius:8px;font-size:14.5px;color:var(--muted);border-left:2px solid transparent}
.gside a:hover{color:var(--fg);background:var(--bg-3)}
.gside a[aria-current="page"]{color:var(--fg);font-weight:700;background:rgba(229,20,30,.08);border-left-color:var(--red)}
.gtoc a{font-size:13.5px;padding:6px 12px}
@media (max-width:999px){
  .glayout{grid-template-columns:minmax(0,1fr);gap:40px;padding-top:40px}
  .gside{position:static;min-width:0}
  .gside ol{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:8px;scrollbar-width:none;padding-bottom:4px}
  .gside ol::-webkit-scrollbar{display:none}
  .gside ol a{white-space:nowrap;border:1px solid var(--line-3);border-radius:999px;padding:7px 14px}
  .gside ol a[aria-current="page"]{border-color:var(--red)}
  .gtoc{display:none}
}
.gbody{max-width:780px;min-width:0}
.gsec{margin-bottom:72px}
.gsec:last-child{margin-bottom:0}
.gsec>h2{margin-bottom:22px}
.gsec h3{margin:30px 0 12px}
.gbody p{margin:0 0 16px;font-size:16.5px;line-height:1.9;color:var(--muted)}
.gbody p strong,.gbody li strong{color:var(--fg-2)}
.gbody a.in{color:var(--red-soft);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.gbody .card p{font-size:15px;line-height:1.75;margin:0}
.ticks{margin:0 0 16px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.ticks li{position:relative;padding-left:22px;font-size:15.5px;line-height:1.75;color:var(--muted)}
.ticks li::before{content:"";position:absolute;left:3px;top:10px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.ticks.x li::before{content:"✕";width:auto;height:auto;top:0;left:0;background:none;color:var(--red-soft);font-size:13px;font-weight:700}
.card .ticks{margin:0}
.card .ticks li{font-size:14.5px}
.box{margin:24px 0;padding:22px 24px;border-radius:14px;border:1px solid var(--line-2);background:var(--bg-3)}
.box b{display:block;margin-bottom:8px;font-size:15px;color:var(--fg)}
.box p,.box li{font-size:15px!important;line-height:1.75!important}
.box p:last-child,.box ul:last-child{margin-bottom:0}
.box.tip{border-left:3px solid var(--red)}
.box.warn{border-color:rgba(229,20,30,.45);background:rgba(229,20,30,.06)}
.msg{margin:20px 0;padding:22px 24px;border-radius:16px 16px 16px 4px;background:#1B1B1F;border:1px solid var(--line-3);font-size:15.5px;line-height:1.85;color:var(--fg-2)}
.msg small{display:block;margin-bottom:8px;font-size:12.5px;color:var(--muted-2);font-weight:600}

/* 요약표 · 칩 */
.facts{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;margin:24px 0 0;padding:22px 24px;border:1px solid var(--line-2);border-radius:14px;background:var(--bg-3);font-size:15px;line-height:1.6}
.facts dt{color:var(--muted-2);font-weight:600}
.facts dd{margin:0;color:var(--fg-2)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.chips a{display:inline-block;font-size:14px;padding:8px 14px;border-radius:999px;border:1px solid var(--line-3);color:var(--fg-2);background:var(--bg-3)}
.chips a:hover{border-color:var(--red);color:var(--fg)}
tbody th a{color:var(--fg)}
tbody th a:hover{color:var(--red-hover)}

/* 단계 */
.steps{counter-reset:s;margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.steps>li{counter-increment:s;position:relative;display:grid;grid-template-columns:44px 1fr;gap:18px;padding-bottom:28px}
.steps>li:last-child{padding-bottom:0}
.steps>li::before{content:counter(s);width:44px;height:44px;border-radius:50%;border:1.5px solid var(--red);color:var(--red-soft);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;background:var(--bg)}
.steps>li:not(:last-child)::after{content:"";position:absolute;left:21px;top:48px;bottom:4px;width:1.5px;background:var(--line-3)}
.steps h3{margin:9px 0 6px;font-size:17.5px}
.steps p{margin:0!important;font-size:15.5px!important;line-height:1.8!important}

/* 표 */
.table-wrap{margin:20px 0;overflow-x:auto;border:1px solid var(--line-2);border-radius:14px}
table{width:100%;border-collapse:collapse;min-width:560px;font-size:14.5px}
th,td{padding:14px 20px;text-align:left;border-bottom:1px solid var(--line-2);line-height:1.65;vertical-align:top}
thead th{color:var(--muted-2);font-weight:600;font-size:13px;background:var(--bg-2)}
tbody th{color:var(--fg);font-weight:700;white-space:nowrap}
tbody td{color:var(--muted)}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}

/* FAQ */
.faq{border-top:1px solid var(--line-2)}
.faq details{border-bottom:1px solid var(--line-2)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 4px;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;font-weight:400;color:var(--muted-2);transition:transform .2s;flex-shrink:0}
.faq details[open] summary::after{transform:rotate(45deg);color:var(--red)}
.faq summary h3{margin:0;font-size:16.5px;font-weight:600}
.faq .ans{margin:0;padding:0 4px 22px;font-size:15px!important;line-height:1.8!important;color:var(--muted)}

/* 관련 가이드 / 허브 */
.rel{border-top:1px solid var(--line);background:var(--bg-2)}
.rel-in{max-width:1200px;margin:0 auto;padding:80px 24px}
.rel-in>h2{margin-bottom:28px}
.gcard{transition:border-color .2s,transform .2s}
.gcard:hover{border-color:var(--red);transform:translateY(-2px)}
.gcard .no{font-size:13px;font-weight:800;color:var(--red)}
.gcard h3{font-size:19px}
.gcard:hover h3{color:var(--fg)}
.hub{max-width:1200px;margin:0 auto;padding:64px 24px 96px;display:flex;flex-direction:column;gap:72px}
.hub-sec>h2{margin-bottom:24px}
.sit{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}
.sit a{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;border:1px solid var(--line-2);border-radius:12px;background:var(--bg-3);font-size:15px;color:var(--fg-2)}
.sit a span{font-size:13.5px;font-weight:700;color:var(--red-soft);white-space:nowrap}
.sit a:hover{border-color:var(--red)}
@media (prefers-reduced-motion:reduce){.gcard,.gcard:hover{transition:none;transform:none}}

/* CTA */
.cta{padding:0 24px 112px}
.cta-in{max-width:1200px;margin:0 auto;position:relative;overflow:hidden;border-radius:24px;background:var(--red);padding:64px 48px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta-in .wm{position:absolute;right:-60px;top:-60px;width:320px;height:320px;opacity:.1;filter:grayscale(1) brightness(3);pointer-events:none;border-radius:50%}
.cta-copy{position:relative;display:flex;flex-direction:column;gap:12px;max-width:620px}
.cta-copy h2,.cta-copy p{color:#fff}
.cta-copy p{margin:0;font-size:16px;line-height:1.7}
.cta-btns{position:relative;display:flex;gap:10px;flex-wrap:wrap}
.cta-btns a{padding:16px 26px;border-radius:10px;font-size:16px;font-weight:700;color:#fff}
.cta-btns .dark{background:var(--bg)}
.cta-btns .dark:hover{background:#1C1C1F;color:#fff}
.cta-btns .ghost{border:1.5px solid #fff}
.cta-btns .ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.rel+.cta{padding-top:96px;background:var(--bg-2)}
@media (max-width:600px){.cta-in{padding:44px 24px}.rel-in{padding:64px 24px}}

/* footer */
.ftr{border-top:1px solid var(--line)}
.ftr-in{max-width:1200px;margin:0 auto;padding:48px 24px;display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap;font-size:13px;line-height:1.8;color:var(--muted-2)}
.ftr-brand{display:flex;flex-direction:column;gap:12px;max-width:560px}
.ftr-brand .brand{font-size:16px}
.ftr-brand .brand img{width:28px;height:28px}
.ftr-brand p{margin:0}
.ftr-nav{display:flex;gap:40px;flex-wrap:wrap}
.ftr-nav h2{font-size:13px;font-weight:700;color:var(--fg);letter-spacing:0;margin-bottom:10px}
.ftr-nav ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.ftr-nav a{color:var(--muted)}
.copy{max-width:1200px;margin:0 auto;padding:0 24px 104px;font-size:12.5px;color:var(--muted-2)}

/* 구글 광고 문의 (오른쪽 하단 고정) */
.tg{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:50}
.tg summary{position:relative;display:flex;align-items:center;gap:14px;padding:14px 30px 14px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(135deg,#FF2A33 0%,#E5141E 55%,#B80E16 100%);color:#fff;font-size:18px;font-weight:800;letter-spacing:-.01em;cursor:pointer;list-style:none;box-shadow:0 14px 36px rgba(229,20,30,.45),0 6px 16px rgba(0,0,0,.5);transition:box-shadow .2s,transform .2s;animation:tg-pulse 2.4s ease-out infinite}
.tg summary::before{content:"";position:absolute;inset:-6px;border-radius:inherit;border:2px solid rgba(255,42,51,.7);opacity:0;animation:tg-ring 2.4s ease-out infinite;pointer-events:none}
@keyframes tg-ring{0%{opacity:.8;transform:scale(.96)}70%,100%{opacity:0;transform:scale(1.14)}}
@keyframes tg-pulse{0%,100%{transform:translateY(0)}8%{transform:translateY(-3px)}16%{transform:translateY(0)}}
.tg summary::-webkit-details-marker{display:none}
.tg summary:hover,.tg[open] summary{box-shadow:0 16px 44px rgba(229,20,30,.65),0 6px 16px rgba(0,0,0,.5)}
.tg[open] summary,.tg[open] summary::before{animation:none}
.tg summary:hover{animation:none;transform:translateY(-3px) scale(1.03)}
.tg summary svg{width:46px;height:46px;flex-shrink:0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.3))}
.tg-label{display:flex;flex-direction:column;line-height:1.3}
.tg-label small{font-size:14.5px;font-weight:600;color:rgba(255,255,255,.88)}
.tg-panel{position:absolute;right:0;bottom:calc(100% + 12px);width:min(300px,calc(100vw - 40px));padding:22px;border:1px solid var(--line-3);border-top:2px solid var(--red);border-radius:16px;background:var(--bg-3);box-shadow:0 20px 50px rgba(0,0,0,.6);display:flex;flex-direction:column;gap:12px}
.tg-panel strong{font-size:17px;color:var(--fg)}
.tg-id{font-size:15px;font-weight:700;color:var(--red-soft)}
.tg-go{display:flex;justify-content:center;align-items:center;gap:8px;padding:13px 16px;border-radius:10px;background:var(--red);color:#fff;font-size:15px;font-weight:700}
.tg-go:hover{background:var(--red-hover);color:#fff}
@media (max-width:600px){.tg summary{padding:10px 20px 10px 10px;font-size:16px;gap:12px}.tg summary svg{width:38px;height:38px}.tg-label small{font-size:13px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tg summary,.tg summary::before{animation:none;transition:none}.tg summary:hover{transform:none}}
@media print{.tg{display:none}}

/* 이미지 · 도식 · 사진 자리 */
.fig{margin:28px 0}
.fig img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line-2);background:var(--bg-3)}
.fig figcaption{margin-top:10px;font-size:13.5px;line-height:1.6;color:var(--muted-2)}
.ph.is-empty{display:none}
.ph.is-empty img{display:none}
.preview .ph.is-empty{display:flex;flex-direction:column;justify-content:center;gap:10px;aspect-ratio:16/9;padding:24px 28px;border:2px dashed rgba(229,20,30,.6);border-radius:14px;background:repeating-linear-gradient(45deg,rgba(229,20,30,.05) 0 12px,transparent 12px 24px)}
.preview .ph.is-empty::before{content:"📷 이미지 자리 (사진을 넣으면 이 표시는 사라집니다)";font-size:15px;font-weight:800;color:var(--red-soft)}
.preview .ph.is-empty::after{content:attr(data-ph);white-space:pre-line;font-size:13.5px;line-height:1.75;color:var(--fg-2)}
.preview .ph.is-empty figcaption{order:2;margin:0}
/* 블로그 카테고리 필터 */
.tagbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.tagbar button{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid var(--line-3);background:var(--bg-3);color:var(--muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.tagbar button span{font-size:12px;color:var(--muted-2)}
.tagbar button:hover{border-color:var(--red);color:var(--fg)}
.tagbar button[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff}
.tagbar button[aria-pressed="true"] span{color:rgba(255,255,255,.85)}
.gcard[hidden]{display:none}

/* 약관 빈칸 표시 */
.fill{background:rgba(250,204,21,.16);color:#FDE68A;padding:1px 6px;border-radius:4px;font-weight:600}
.copy a{color:var(--muted)}.copy a:hover{color:var(--fg)}

/* 카드 썸네일 */
.card-thumb{display:block;margin:-12px -10px 6px;border-radius:12px;overflow:hidden;border:1px solid var(--line-2);background:var(--bg-2);aspect-ratio:16/9}
.card-thumb img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .3s}
.gcard:hover .card-thumb img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){.card-thumb img{transition:none}}

/* 모바일 최적화 */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
a,button,summary,label{-webkit-tap-highlight-color:rgba(229,20,30,.18)}
.cf-field input,.cf-field textarea{font-size:16px}
.cf-field small{font-size:13px}
@media (max-width:760px){
  .hdr-in{flex-wrap:wrap;padding:8px 16px 0;gap:0}
  .brand{min-height:44px}
  .nav{order:2;flex:0 0 auto;width:calc(100% + 32px);margin:0 -16px;padding:0 40px 0 16px;justify-content:flex-start;gap:22px;font-size:14.5px;-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}
  .nav a{display:block;padding:11px 0 12px}
  .wrap{padding:0 20px}
  .card{padding:24px 20px}
  .more{padding:8px 0}
  .ftr-nav ul{gap:0}
  .ftr-nav a{display:inline-block;padding:7px 0}
}
@media (max-width:600px){
  .hero-ctas .btn{flex:1 1 100%;justify-content:center;padding:16px 20px}
  .cta-btns a{flex:1 1 100%;text-align:center}
  .tg{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}
  .tg summary{padding:7px 16px 7px 7px;font-size:14.5px;gap:9px}
  .tg summary svg{width:32px;height:32px}
  .tg-label small{font-size:12px}
  .copy{padding-bottom:96px}
}

/* 헤더 오피스타 바로가기 */
.hdr-go{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:999px;background:var(--red);color:#fff;font-size:14px;font-weight:800;white-space:nowrap;box-shadow:0 6px 18px rgba(229,20,30,.35);transition:background .2s,transform .2s}
.hdr-go:hover{background:var(--red-hover);color:#fff;transform:translateY(-1px)}
@media (max-width:760px){.hdr-go{order:1;margin-left:auto;padding:8px 14px;font-size:13.5px}}
@media (prefers-reduced-motion:reduce){.hdr-go{transition:none}.hdr-go:hover{transform:none}}

/* 화면 밖 섹션은 스크롤할 때 그리기 (첫 화면 속도) */
.gsec:nth-child(n+3),.rel,.cta,.ftr{content-visibility:auto;contain-intrinsic-size:auto 800px}
/* 모바일 하위 메뉴: 탭하면 헤더 아래로 펼침 */
@media (max-width:999px){
  .dd-menu{position:fixed;top:100%;left:12px;right:12px;transform:none;padding-top:8px;max-height:calc(100vh - 130px);overflow-y:auto}
  .nav-dd.open .dd-menu{display:block}
  .dd-menu ul{min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:2px}
  .dd-menu li:first-child{grid-column:1/-1}
  .dd-menu a{padding:12px 14px;white-space:normal}
  .nav-dd.open>a{color:var(--fg)}
  .nav-dd.open>a::after{transform:translateY(1px) rotate(225deg)}
  .nav.dd-open{-webkit-mask-image:none;mask-image:none}
}
/* 구글 광고 문의 버튼: 텔레그램 블루 */
.tg summary{background:linear-gradient(135deg,#1E1E22 0%,#141416 55%,#0D0D0F 100%);border-color:rgba(229,20,30,.8);box-shadow:0 0 22px rgba(229,20,30,.35),0 6px 16px rgba(0,0,0,.6)}
.tg summary::before{border-color:rgba(255,42,51,.7)}
.tg summary:hover,.tg[open] summary{border-color:#FF2A33;box-shadow:0 0 34px rgba(229,20,30,.6),0 6px 16px rgba(0,0,0,.6)}
.tg-panel{border-top-color:var(--red)}
.tg-id{color:var(--red-soft)}
.tg-go{background:var(--red)}
.tg-go:hover{background:var(--red-hover)}
