/* =========================================================
   이밀라노(emilano) 테마 - 커스텀 스킨 CSS
   - #em-header / #em-footer : 전 페이지 공통(상단·하단)
   - #emilano-landing         : 메인 랜딩 전용(다크 테마)
   기존 default.css(게시판/쇼핑몰)는 그대로 두고 이 파일만 덧입힘
   ========================================================= */
:root{
  --bg:#0d0d14; --bg-soft:#14141f; --card:#1a1a27;
  --line:rgba(255,255,255,.08); --txt:#f4f4f8; --muted:#9a9ab0;
  --brand:#7c5cff; --brand2:#ff5c93; --accent:#25e8c8;
  --radius:20px; --maxw:1160px;
  --em-font:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
}

/* ---------- 공통 상단 헤더 ---------- */
#em-header{position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(13,13,20,.85);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);font-family:var(--em-font)}
#em-header .em-nav{max-width:var(--maxw);margin:0 auto;padding:14px 24px;
  display:flex;align-items:center;justify-content:space-between}
#em-header .em-logo{font-weight:800;font-size:22px;letter-spacing:-.5px;color:#fff;text-decoration:none}
#em-header .em-logo span{color:var(--brand)}
#em-header .em-menu{display:flex;gap:30px;align-items:center}
#em-header .em-menu a{color:var(--muted);font-weight:600;font-size:15px;text-decoration:none;transition:.2s}
#em-header .em-menu a:hover{color:#fff}
#em-header .em-menu a.em-cta{background:linear-gradient(100deg,var(--brand),var(--brand2));
  color:#fff;padding:10px 20px;border-radius:100px}
#em-header .em-burger{display:none;background:none;border:none;color:#fff;font-size:24px;cursor:pointer}
body{padding-top:63px}          /* 고정 헤더 높이만큼 밀기(게시판 등 공통) */
/* ⚠️ default.css의 #hd,#wrapper,#ft{min-width:1200px} 무력화 → 모바일 축소 방지(반응형) */
html body #hd, html body #wrapper, html body #ft{min-width:0!important}

/* 게시판/쇼핑몰 페이지는 기본(밝은) 유지, 랜딩만 풀폭 */
body:has(#emilano-landing){padding-top:0;background:var(--bg)}
body:has(#emilano-landing) #wrapper,
body:has(#emilano-landing) #container_wr,
body:has(#emilano-landing) #container{max-width:none!important;width:100%!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body:has(#emilano-landing) #hd,body:has(#emilano-landing) hr{display:none}

/* ---------- 공통 하단 푸터 ---------- */
#em-footer{background:#08080d;border-top:1px solid var(--line);
  padding:50px 0 40px;font-family:var(--em-font);color:var(--muted);font-size:14px}
#em-footer .em-fwrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;
  display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
#em-footer .em-flogo{font-size:20px;font-weight:800;color:#fff;margin-bottom:12px}
#em-footer .em-flogo span{color:var(--brand)}
#em-footer a{color:var(--muted);text-decoration:none}
#em-footer a:hover{color:#fff}
#em-top-btn{position:fixed;right:22px;bottom:22px;z-index:900;width:46px;height:46px;border:none;
  border-radius:50%;background:var(--brand);color:#fff;font-size:18px;cursor:pointer;display:none}

/* ========================================================= */
/* ================  메인 랜딩 (다크 테마)  ================= */
/* ========================================================= */
#emilano-landing{background:var(--bg);color:var(--txt);font-family:var(--em-font);
  line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
#emilano-landing *{box-sizing:border-box}
#emilano-landing a{color:inherit;text-decoration:none}
#emilano-landing .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
#emilano-landing .grad-text{background:linear-gradient(100deg,var(--brand),var(--brand2) 60%,var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent}
#emilano-landing .btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:16px;
  padding:15px 28px;border-radius:100px;border:none;cursor:pointer;transition:.25s;white-space:nowrap;font-family:inherit}
#emilano-landing .btn-primary{background:linear-gradient(100deg,var(--brand),var(--brand2));color:#fff;
  box-shadow:0 10px 30px rgba(124,92,255,.4)}
#emilano-landing .btn-primary:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(124,92,255,.55)}
#emilano-landing .btn-ghost{background:rgba(255,255,255,.06);color:var(--txt);border:1px solid var(--line)}
#emilano-landing .btn-ghost:hover{background:rgba(255,255,255,.12)}
#emilano-landing .eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;
  text-transform:uppercase;color:var(--accent);margin-bottom:14px}
#emilano-landing section{padding:100px 0;position:relative}
#emilano-landing h2.sec-title{font-size:clamp(28px,4vw,44px);font-weight:800;line-height:1.25;letter-spacing:-1px}
#emilano-landing .sec-sub{color:var(--muted);font-size:17px;margin-top:14px;max-width:640px}

/* HERO */
#emilano-landing .hero{padding:150px 0 120px;text-align:center;position:relative}
#emilano-landing .hero::before{content:"";position:absolute;top:-10%;left:50%;transform:translateX(-50%);
  width:900px;height:900px;background:radial-gradient(circle,rgba(124,92,255,.28),transparent 60%);filter:blur(20px);z-index:0}
#emilano-landing .hero .wrap{position:relative;z-index:1}
#emilano-landing .hero .badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);
  border:1px solid var(--line);padding:8px 18px;border-radius:100px;font-size:14px;color:var(--muted);margin-bottom:28px}
#emilano-landing .hero h1{font-size:clamp(36px,6vw,64px);font-weight:900;line-height:1.15;letter-spacing:-2px}
#emilano-landing .hero p.lead{font-size:clamp(17px,2.2vw,21px);color:var(--muted);margin:24px auto 40px;max-width:600px}
#emilano-landing .hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
#emilano-landing .stats{display:flex;gap:48px;justify-content:center;margin-top:70px;flex-wrap:wrap}
#emilano-landing .stat b{display:block;font-size:38px;font-weight:900;
  background:linear-gradient(100deg,var(--brand),var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}
#emilano-landing .stat span{color:var(--muted);font-size:14px}

/* CARDS */
#emilano-landing .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:54px}
#emilano-landing .card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:32px 26px;transition:.3s}
#emilano-landing .card:hover{transform:translateY(-6px);border-color:rgba(124,92,255,.5)}
#emilano-landing .card .ic{font-size:34px;margin-bottom:16px}
#emilano-landing .card h3{font-size:19px;font-weight:700;margin-bottom:8px}
#emilano-landing .card p{color:var(--muted);font-size:15px}

/* SERVICE */
#emilano-landing .service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:54px}
#emilano-landing .svc{background:linear-gradient(160deg,var(--bg-soft),var(--card));border:1px solid var(--line);
  border-radius:var(--radius);padding:34px 30px}
#emilano-landing .svc .num{font-size:14px;font-weight:800;color:var(--brand2)}
#emilano-landing .svc h3{font-size:21px;margin:10px 0 10px;font-weight:700}
#emilano-landing .svc p{color:var(--muted);font-size:15px}

/* PROCESS */
#emilano-landing .steps{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:56px}
#emilano-landing .step{text-align:center;position:relative}
#emilano-landing .step .circle{width:64px;height:64px;border-radius:50%;margin:0 auto 18px;display:flex;
  align-items:center;justify-content:center;font-weight:900;font-size:22px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 8px 24px rgba(124,92,255,.35)}
#emilano-landing .step h4{font-size:17px;font-weight:700;margin-bottom:6px}
#emilano-landing .step p{color:var(--muted);font-size:13px}
#emilano-landing .step:not(:last-child)::after{content:"";position:absolute;top:32px;left:60%;width:80%;height:2px;
  background:linear-gradient(90deg,var(--brand),transparent)}

/* PORTFOLIO */
#emilano-landing .filters{display:flex;gap:10px;flex-wrap:wrap;margin-top:36px}
#emilano-landing .chip{padding:9px 20px;border-radius:100px;border:1px solid var(--line);background:transparent;
  color:var(--muted);font-weight:600;font-size:14px;cursor:pointer;transition:.2s;font-family:inherit}
#emilano-landing .chip.active,#emilano-landing .chip:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
#emilano-landing .port-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
#emilano-landing .port{border-radius:var(--radius);overflow:hidden;position:relative;aspect-ratio:4/3;
  border:1px solid var(--line);cursor:pointer}
#emilano-landing .port .thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-size:44px;font-weight:900;color:rgba(255,255,255,.85)}
#emilano-landing .port .meta{position:absolute;left:0;right:0;bottom:0;padding:18px;
  background:linear-gradient(transparent,rgba(0,0,0,.8));transition:.3s}
#emilano-landing .port .meta b{display:block;font-size:17px}
#emilano-landing .port .meta span{font-size:13px;color:var(--muted)}
/* portfolio 게시판 연동(갤러리 latest) */
#emilano-landing a.port{display:block;text-decoration:none;color:inherit}
#emilano-landing .port .thumb.has-img{font-size:0}
#emilano-landing .port .thumb.has-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
#emilano-landing a.port:hover .thumb.has-img img{transform:scale(1.06)}
#emilano-landing a.port:hover .meta{background:linear-gradient(transparent,rgba(0,0,0,.92))}
#emilano-landing .port-empty{grid-column:1/-1;text-align:center;color:var(--muted);
  padding:56px 20px;border:1px dashed var(--line);border-radius:var(--radius);font-size:15px}

/* PRICE */
#emilano-landing .price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:54px;align-items:stretch}
#emilano-landing .plan{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:40px 32px;
  display:flex;flex-direction:column;position:relative;transition:.3s}
#emilano-landing .plan:hover{transform:translateY(-6px)}
#emilano-landing .plan.pop{border:1.5px solid var(--brand);background:linear-gradient(180deg,rgba(124,92,255,.12),var(--card))}
#emilano-landing .plan .tag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:linear-gradient(100deg,var(--brand),var(--brand2));color:#fff;font-size:12px;font-weight:800;padding:6px 18px;border-radius:100px}
#emilano-landing .plan h3{font-size:20px;font-weight:800}
#emilano-landing .plan .desc{color:var(--muted);font-size:14px;margin:6px 0 20px}
#emilano-landing .plan .price{font-size:40px;font-weight:900;letter-spacing:-1px}
#emilano-landing .plan .price small{font-size:16px;color:var(--muted);font-weight:600}
#emilano-landing .plan ul{list-style:none;margin:24px 0;flex:1;padding:0}
#emilano-landing .plan li{padding:9px 0;color:var(--muted);font-size:15px;display:flex;gap:10px;border-bottom:1px dashed var(--line)}
#emilano-landing .plan li::before{content:"✓";color:var(--accent);font-weight:900}
#emilano-landing .plan .btn{width:100%;justify-content:center}
#emilano-landing .price-note{margin-top:34px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px 30px}
#emilano-landing .price-note h4{font-size:16px;font-weight:800;margin-bottom:14px;color:var(--accent)}
#emilano-landing .price-note ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 30px;padding:0;margin:0}
#emilano-landing .price-note li{color:var(--muted);font-size:14.5px;padding-left:20px;position:relative}
#emilano-landing .price-note li::before{content:"·";position:absolute;left:6px;color:var(--brand);font-weight:900}
#emilano-landing .price-note li b{color:var(--txt);font-weight:700}

/* REVIEW */
#emilano-landing .rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:54px}
#emilano-landing .rev{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px}
#emilano-landing .rev .stars{color:#ffc93c;margin-bottom:12px}
#emilano-landing .rev p{font-size:15px;margin-bottom:18px}
#emilano-landing .rev .who{font-size:14px;color:var(--muted)}
#emilano-landing .rev .who b{color:var(--txt)}

/* FAQ */
#emilano-landing .faq{max-width:820px;margin:54px auto 0}
#emilano-landing .qa{border:1px solid var(--line);border-radius:16px;margin-bottom:14px;overflow:hidden;background:var(--card)}
#emilano-landing .qa summary{padding:22px 26px;font-weight:700;font-size:17px;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center}
#emilano-landing .qa summary::-webkit-details-marker{display:none}
#emilano-landing .qa summary::after{content:"+";font-size:24px;color:var(--brand)}
#emilano-landing .qa[open] summary::after{content:"−"}
#emilano-landing .qa .a{padding:0 26px 24px;color:var(--muted);font-size:15px}

/* CONTACT */
#emilano-landing .contact{background:linear-gradient(160deg,var(--bg-soft),#181826);border-top:1px solid var(--line)}
#emilano-landing .contact-box{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
#emilano-landing .form-field{margin-bottom:16px}
#emilano-landing .form-field label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}
#emilano-landing .form-field input,#emilano-landing .form-field select,#emilano-landing .form-field textarea{
  width:100%;padding:14px 16px;border-radius:12px;border:1px solid var(--line);
  background:rgba(255,255,255,.04);color:var(--txt);font-size:15px;font-family:inherit}
#emilano-landing .form-field input:focus,#emilano-landing .form-field select:focus,#emilano-landing .form-field textarea:focus{
  outline:none;border-color:var(--brand)}
#emilano-landing .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#emilano-landing .agree{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);margin:10px 0 18px}
#emilano-landing .contact-info h2{margin-bottom:20px}
#emilano-landing .info-item{display:flex;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
#emilano-landing .info-item .ic{width:46px;height:46px;border-radius:12px;background:rgba(124,92,255,.15);
  display:flex;align-items:center;justify-content:center;font-size:20px}
#emilano-landing .info-item b{display:block;font-size:16px}
#emilano-landing .info-item span{color:var(--muted);font-size:14px}

/* RESPONSIVE */
@media(max-width:980px){
  #emilano-landing .cards,#emilano-landing .service-grid,#emilano-landing .port-grid,
  #emilano-landing .price-grid,#emilano-landing .rev-grid{grid-template-columns:repeat(2,1fr)}
  #emilano-landing .steps{grid-template-columns:repeat(2,1fr);gap:30px}
  #emilano-landing .step::after{display:none}
  #emilano-landing .contact-box{grid-template-columns:1fr}
}
/* 모바일·태블릿(≤820): 햄버거 메뉴 + 1열 + 타이포 확대 */
@media(max-width:820px){
  #em-header .em-menu{display:none}
  #em-header.open .em-menu{display:flex;flex-direction:column;position:absolute;top:56px;right:0;
    min-width:200px;background:rgba(13,13,20,.98);padding:18px 22px;border:1px solid var(--line);
    border-radius:0 0 0 16px;gap:16px}
  #em-header.open .em-menu a{font-size:16px}
  #em-header .em-burger{display:block}
  #em-header .em-nav{padding:13px 18px}
  #em-header .em-logo{font-size:21px}

  #emilano-landing section{padding:64px 0}
  #emilano-landing .wrap{padding:0 20px}
  #emilano-landing .cards,#emilano-landing .service-grid,#emilano-landing .port-grid,
  #emilano-landing .price-grid,#emilano-landing .rev-grid,#emilano-landing .price-note ul{grid-template-columns:1fr}
  #emilano-landing .form-row{grid-template-columns:1fr}
  #emilano-landing .hero{padding:100px 0 64px}
  #emilano-landing .hero-btns{flex-direction:column;align-items:stretch}
  #emilano-landing .hero-btns .btn{justify-content:center;font-size:17px;padding:16px 24px}
  #em-footer .em-fwrap{flex-direction:column;gap:20px}
  /* 통계: 전 모바일/태블릿 구간 2열 고정(3+1 외톨이 방지) */
  #emilano-landing .stats{gap:30px 24px;margin-top:44px;max-width:460px;margin-left:auto;margin-right:auto}
  #emilano-landing .stat{flex:0 0 42%;max-width:42%}

  /* 넓은-폰/태블릿에서 고정px가 작게 보이던 문제 → 화면폭 비례로 확대 */
  #emilano-landing .hero h1{font-size:clamp(34px,8vw,52px)}
  #emilano-landing h2.sec-title{font-size:clamp(27px,6vw,40px)}
  #emilano-landing .hero p.lead{font-size:19px;margin-top:22px;margin-bottom:34px}
  #emilano-landing .sec-sub{font-size:18px}
  #emilano-landing .eyebrow{font-size:14px}
  #emilano-landing .card p,#emilano-landing .svc p{font-size:16.5px}
  #emilano-landing .card h3{font-size:20px}
  #emilano-landing .svc h3{font-size:22px}
  #emilano-landing .hero .badge{font-size:14.5px}
  #emilano-landing .stat b{font-size:40px}
  #emilano-landing .stat span{font-size:15px}
  #emilano-landing .info-item b{font-size:17px}
  #emilano-landing .info-item span{font-size:15px}
  #emilano-landing .step h4{font-size:18px}
  #emilano-landing .step p{font-size:14.5px}
  #emilano-landing .plan{padding:30px 26px}
}
/* 소형 폰 */
@media(max-width:430px){
  #emilano-landing section{padding:54px 0}
  #emilano-landing .wrap{padding:0 16px}
  #emilano-landing .hero h1{font-size:clamp(30px,9vw,42px)}
  #emilano-landing .hero p.lead{font-size:17.5px}
  #emilano-landing .sec-sub{font-size:16.5px}
  #emilano-landing .stat b{font-size:33px}
  #emilano-landing .stat span{font-size:13.5px}
  #emilano-landing .card,#emilano-landing .svc{padding:24px 20px}
  #emilano-landing .hero .badge{font-size:13px;padding:7px 14px}
  html body #bo_cate ul{gap:8px}
  html body #bo_cate a{padding:9px 15px!important;font-size:13.5px!important}
}

/* =========================================================
   게시판/콘텐츠 페이지 다크 스킨 (랜딩 #emilano-landing 제외)
   qa(질문답변)·notice(공지)·글쓰기·보기 등 기본 스킨을 다크 톤으로
   ========================================================= */
body:not(:has(#emilano-landing)){background:var(--bg);color:var(--txt)}
body:not(:has(#emilano-landing)) #wrapper,
body:not(:has(#emilano-landing)) #container_wr{background:var(--bg);max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body:not(:has(#emilano-landing)) #container{max-width:none!important;width:100%!important;margin:0!important;padding:44px clamp(20px,4vw,64px) 90px!important;color:var(--txt);font-family:var(--em-font);box-sizing:border-box}
body:not(:has(#emilano-landing)) #container_title{color:#fff;font-size:26px;font-weight:800;letter-spacing:-.5px;padding-bottom:18px;margin-bottom:26px;border-bottom:1px solid var(--line)}
body:not(:has(#emilano-landing)) #container a{color:#c9b8ff}
body:not(:has(#emilano-landing)) #container a:hover{color:#fff}
body:not(:has(#emilano-landing)) #container h1,
body:not(:has(#emilano-landing)) #container h2,
body:not(:has(#emilano-landing)) #container h3{color:#fff}

/* 목록 테이블 */
body:not(:has(#emilano-landing)) #container table{width:100%;border-collapse:collapse;background:transparent;color:var(--txt)}
body:not(:has(#emilano-landing)) #container .tbl_head01 thead th,
body:not(:has(#emilano-landing)) #container thead th{background:#161622;color:#cfcfe0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 8px;font-weight:700}
body:not(:has(#emilano-landing)) #container tbody td{border-bottom:1px solid var(--line);color:var(--muted);padding:14px 8px}
body:not(:has(#emilano-landing)) #container tbody tr:hover td{background:rgba(255,255,255,.03)}
body:not(:has(#emilano-landing)) #container .bo_tit,
body:not(:has(#emilano-landing)) #container .td_subject a{color:var(--txt);font-weight:600}
body:not(:has(#emilano-landing)) #container .td_subject a:hover{color:var(--brand)}
body:not(:has(#emilano-landing)) #container .new_icon{color:var(--accent)}
body:not(:has(#emilano-landing)) #container .fa-lock{color:var(--muted)}
body:not(:has(#emilano-landing)) #container #bo_list_total{color:var(--muted)}

/* 검색바 */
body:not(:has(#emilano-landing)) #container .bo_sch,
body:not(:has(#emilano-landing)) #container #bo_sch{background:var(--card);border:1px solid var(--line);border-radius:16px}

/* 입력 요소 */
body:not(:has(#emilano-landing)) #container input[type=text],
body:not(:has(#emilano-landing)) #container input[type=password],
body:not(:has(#emilano-landing)) #container input[type=email],
body:not(:has(#emilano-landing)) #container input[type=tel],
body:not(:has(#emilano-landing)) #container input[type=search],
body:not(:has(#emilano-landing)) #container select,
body:not(:has(#emilano-landing)) #container textarea,
body:not(:has(#emilano-landing)) #container .frm_input,
body:not(:has(#emilano-landing)) #container .full_input,
body:not(:has(#emilano-landing)) #container .half_input,
body:not(:has(#emilano-landing)) #container .sch_input{background:rgba(255,255,255,.05)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:8px;padding:11px 13px;box-shadow:none}
body:not(:has(#emilano-landing)) #container ::placeholder{color:#6b6b82}

/* 버튼 (보조) */
body:not(:has(#emilano-landing)) #container a.btn,
body:not(:has(#emilano-landing)) #container .btn_b01,
body:not(:has(#emilano-landing)) #container .btn_bo_user .btn,
body:not(:has(#emilano-landing)) #container .btn_bo_sch,
body:not(:has(#emilano-landing)) #container .sch_btn,
body:not(:has(#emilano-landing)) #container .btn_cancel,
body:not(:has(#emilano-landing)) #container .btn_frmline{display:inline-block;background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:100px;padding:10px 20px;font-weight:600;text-decoration:none}
body:not(:has(#emilano-landing)) #container a.btn:hover,
body:not(:has(#emilano-landing)) #container .btn_b01:hover{background:rgba(255,255,255,.14)!important}

/* 버튼 (주요/제출) */
body:not(:has(#emilano-landing)) #container .btn_submit,
body:not(:has(#emilano-landing)) #container .btn_confirm,
body:not(:has(#emilano-landing)) #container input[type=submit],
body:not(:has(#emilano-landing)) #container button.btn_submit{background:linear-gradient(100deg,var(--brand),var(--brand2))!important;border:none!important;color:#fff!important;border-radius:100px;padding:12px 26px;font-weight:700;cursor:pointer}

/* 글쓰기 / 보기 박스 */
body:not(:has(#emilano-landing)) #container #bo_w,
body:not(:has(#emilano-landing)) #container #bo_v{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px}
body:not(:has(#emilano-landing)) #container .bo_w_tit label,
body:not(:has(#emilano-landing)) #container .required,
body:not(:has(#emilano-landing)) #container .bo_w_info{color:var(--txt)}
body:not(:has(#emilano-landing)) #container #bo_v_con{color:var(--txt);line-height:1.85;padding:24px 0;min-height:120px}
body:not(:has(#emilano-landing)) #container .bo_v_tit{color:#fff}

/* 페이지네이션 */
body:not(:has(#emilano-landing)) #container .pg_page,
body:not(:has(#emilano-landing)) #container .pg_current,
body:not(:has(#emilano-landing)) #container strong.pg_current{display:inline-block;background:var(--card);border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:8px 13px;margin:0 2px;text-decoration:none}
body:not(:has(#emilano-landing)) #container .pg_current{background:var(--brand);border-color:var(--brand);color:#fff}

/* 빈 목록 */
body:not(:has(#emilano-landing)) #container .empty_table,
body:not(:has(#emilano-landing)) #container .empty_list{background:var(--card)!important;border:1px solid var(--line);color:var(--muted);border-radius:12px;padding:50px 20px;text-align:center}

/* 캡차 박스 */
body:not(:has(#emilano-landing)) #container .captcha_box,
body:not(:has(#emilano-landing)) #container #captcha{background:rgba(255,255,255,.05);border-radius:10px}

/* ===== 게시판 스킨 보정 (2차) ===== */
/* 목록 행 배경 투명 처리 */
body:not(:has(#emilano-landing)) #container #bo_list,
body:not(:has(#emilano-landing)) #container .tbl_head01,
body:not(:has(#emilano-landing)) #container .bo_fx{background:transparent!important}
body:not(:has(#emilano-landing)) #container tbody tr,
body:not(:has(#emilano-landing)) #container tbody td{background:transparent!important}
body:not(:has(#emilano-landing)) #container tbody tr:hover td{background:rgba(255,255,255,.04)!important}

/* 상단 검색/글쓰기 아이콘 버튼 */
body:not(:has(#emilano-landing)) #container .btn_bo_sch,
body:not(:has(#emilano-landing)) #container .btn_bo_user{background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:10px!important;width:auto!important;height:auto!important;padding:11px 15px!important;box-shadow:none!important}
body:not(:has(#emilano-landing)) #container .btn_bo_sch:hover,
body:not(:has(#emilano-landing)) #container .btn_bo_user:hover{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
body:not(:has(#emilano-landing)) #container .btn_bo_sch .fa,
body:not(:has(#emilano-landing)) #container .btn_bo_user .fa{color:inherit!important}
body:not(:has(#emilano-landing)) #container .bo_sch_wrap,
body:not(:has(#emilano-landing)) #container .bo_sch_bg{background:transparent!important}

/* 글쓰기 하단 버튼: btn_confirm 은 래퍼(그라데이션 제거) */
body:not(:has(#emilano-landing)) #container .btn_confirm{background:transparent!important;display:flex!important;gap:10px;justify-content:center;align-items:center;margin-top:22px;padding:0!important;border:0!important;box-shadow:none!important}
body:not(:has(#emilano-landing)) #container .btn_submit,
body:not(:has(#emilano-landing)) #container input[type=submit],
body:not(:has(#emilano-landing)) #container #btn_submit{width:auto!important;min-width:150px;display:inline-block}
body:not(:has(#emilano-landing)) #container .btn_cancel{min-width:100px;text-align:center}

/* 파일 첨부 입력 */
body:not(:has(#emilano-landing)) #container input[type=file]{background:rgba(255,255,255,.05);color:var(--txt);border:1px solid var(--line);border-radius:8px;padding:8px;max-width:100%}
body:not(:has(#emilano-landing)) #container .frm_file,
body:not(:has(#emilano-landing)) #container .file_wr,
body:not(:has(#emilano-landing)) #container .bo_w_flie{background:transparent!important}

/* 라벨/설명 텍스트 */
body:not(:has(#emilano-landing)) #container label,
body:not(:has(#emilano-landing)) #container .bo_v_option,
body:not(:has(#emilano-landing)) #container #char_count_desc{color:var(--muted)}

/* =========================================================
   게시판 스킨 강제 다크 오버라이드 (3차) — 실제 id 사용해 우선순위 확보
   ========================================================= */
/* 목록 데이터 행 */
html body #container #bo_list tbody td,
html body #container #bo_list tbody .even td,
html body #container .tbl_head01 tbody td,
html body #container .tbl_wrap tbody td{background:transparent!important;border-bottom:1px solid var(--line)!important;color:var(--muted)!important}
html body #container #bo_list tbody tr:hover td,
html body #container .tbl_head01 tbody tr:hover td{background:rgba(255,255,255,.04)!important}
html body #container .td_subject a,
html body #container .bo_tit a{color:var(--txt)!important}
html body #container .td_subject a:hover,
html body #container .bo_tit a:hover{color:var(--brand)!important}
html body #container #bo_list .cnt_cmt{background:rgba(124,92,255,.18)!important;color:#c9b8ff!important}

/* 상단 검색/글쓰기 버튼(li 흰 배경 제거) */
html body #container .btn_bo_user li,
html body #container .btn_bo_sch li{background:transparent!important;width:auto!important;margin-left:8px!important}
html body #container .btn_bo_user li a,
html body #container .btn_bo_user a.btn_b01,
html body #container .btn_bo_sch a{display:inline-block!important;background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:10px!important;padding:11px 15px!important;width:auto!important;height:auto!important}
html body #container .btn_bo_user li a:hover,
html body #container .btn_bo_sch a:hover{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}

/* 공지 행 */
html body #container .bo_notice td{background:rgba(124,92,255,.08)!important;border-bottom:1px solid var(--line)!important}
html body #container .bo_notice .notice_icon{background:rgba(255,92,147,.18)!important;color:#ff8fb3!important}

/* 보기 페이지 */
html body #container #bo_v{background:var(--card)!important;border:1px solid var(--line)!important;border-radius:16px;box-sizing:border-box}
html body #container #bo_v_info{color:var(--muted)!important;border-bottom:1px solid var(--line)!important}
html body #container #bo_v_top ul{background:transparent!important}

/* 검색 팝업 */
html body #container .bo_sch{background:var(--card)!important;border:1px solid var(--line)!important;color:var(--txt)!important}
html body #container .bo_sch h3{border-bottom:1px solid var(--line)!important;color:#fff!important}
html body #container .bo_sch .sch_input{color:var(--txt)!important;background:transparent!important}
html body #container .bo_sch .bo_sch_cls{background:transparent!important;color:var(--muted)!important}

/* 체크박스 흰 사각형 */
html body #container .chk_box input[type="checkbox"] + label span{background:rgba(255,255,255,.1)!important;border-color:var(--line)!important}

/* 파일 첨부 native 버튼 주변 */
html body #container .frm_file,
html body #container .file_wr{background:transparent!important}

/* =========================================================
   4차: default.css의 테이블/버튼 흰 배경 제거
   ========================================================= */
html body #container .tbl_wrap table,
html body #container .tbl_head01 table,
html body #container table{background:transparent!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important}
html body #container .tbl_head01 tbody tr:hover td{background:rgba(255,255,255,.04)!important}
/* 상단 버튼 영역(글쓰기/검색) */
html body #container .bo_fx,
html body #container ul.btn_bo_user,
html body #container ul.btn_bo_user li,
html body #container ul.btn_bo_sch,
html body #container ul.btn_bo_sch li{background:transparent!important}
html body #container ul.btn_bo_user li a,
html body #container ul.btn_bo_sch li a,
html body #container .bo_fx a.btn_b01{display:inline-block!important;background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:10px!important;padding:11px 15px!important;width:auto!important;box-shadow:none!important}
html body #container ul.btn_bo_user li a:hover,
html body #container .bo_fx a.btn_b01:hover{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}

/* =========================================================
   5차: 게시판 액션 버튼 크기 통일 + 모바일 반응형
   ========================================================= */
/* 상단/하단 툴바 버튼(검색·글쓰기·더보기)을 동일 크기 정사각 아이콘 버튼으로
   ※ .btn_bo_user > li > (a|button) 만 대상 — 드롭다운(.more_opt)과 그 안의 버튼은 제외 */
html body #container .btn_bo_user{display:inline-flex!important;align-items:center;gap:8px!important;float:right!important;background:transparent!important;padding:0!important;margin:0!important;list-style:none}
html body #container .btn_bo_user > li{position:relative!important;display:inline-flex!important;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;float:none!important}
html body #container .btn_bo_user > li > a,
html body #container .btn_bo_user > li > button{
  box-sizing:border-box!important;width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;margin:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:12px!important;font-size:16px!important;line-height:1!important;
  background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;box-shadow:none!important;cursor:pointer}
html body #container .btn_bo_user > li > a:hover,
html body #container .btn_bo_user > li > button:hover{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
html body #container .btn_bo_user > li > a i,
html body #container .btn_bo_user > li > button i{margin:0!important}

/* 더보기(⋮) 드롭다운: 기본 숨김은 스킨 CSS/JS가 처리 — display 는 건드리지 않음. 다크 스타일만 */
html body #container .more_opt{background:var(--card)!important;border:1px solid var(--line)!important;border-radius:12px!important;overflow:hidden;z-index:1000}
html body #container .more_opt li{background:transparent!important;border-color:var(--line)!important;width:auto!important;float:none!important;display:block!important}
html body #container .more_opt li button,
html body #container .more_opt li a{box-sizing:border-box!important;width:100%!important;height:auto!important;min-width:0!important;padding:11px 16px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--txt)!important;display:flex!important;align-items:center;gap:8px;justify-content:flex-start!important;white-space:nowrap;font-size:14px!important;cursor:pointer}
html body #container .more_opt li button:hover,
html body #container .more_opt li a:hover{background:rgba(124,92,255,.18)!important}
#bo_btn_top{overflow:visible!important}

/* ===== 모바일 (반응형) ===== */
@media(max-width:768px){
  /* 랜딩: 헤더/섹션은 기존 @640 규칙이 처리, 추가 보정 */
  #em-header .em-nav{padding:12px 18px}
  /* 게시판 컨테이너 */
  body:not(:has(#emilano-landing)) #container{padding:22px 14px 60px!important}
  body:not(:has(#emilano-landing)) #container_title{font-size:21px;margin-bottom:18px;padding-bottom:12px}
  /* 목록 테이블 축소 + 조회 컬럼 숨김 */
  html body #container table{font-size:13px}
  html body #container thead th,
  html body #container tbody td{padding:11px 6px!important}
  /* 조회 컬럼 숨김 (오른쪽에서 2번째 = 관리자 체크박스 유무와 무관) */
  html body #container thead th:nth-last-child(2),
  html body #container tbody td.td_num{display:none!important}
  html body #container .td_subject{white-space:normal;word-break:break-all}
  /* 툴바 버튼 살짝 축소 (드롭다운 제외, 직접 자식만) */
  html body #container .btn_bo_user > li > a,
  html body #container .btn_bo_user > li > button{width:42px!important;height:42px!important;min-width:42px!important}
  /* 글쓰기 폼: 반칸 입력 → 전체폭 1열 */
  html body #container .half_input{width:100%!important;float:none!important;margin:0 0 8px 0!important}
  html body #container .bo_w_tit,
  html body #container .bo_w_info{width:100%!important;float:none!important}
  /* 검색창 전체폭 */
  html body #container .sch_bar,
  html body #container #bo_sch{width:100%!important}
}
@media(max-width:480px){
  /* 글쓴이도 숨김 (오른쪽에서 3번째) → 번호+제목 위주 */
  html body #container thead th:nth-last-child(3),
  html body #container tbody td.td_name{display:none!important}
  body:not(:has(#emilano-landing)) #container{padding:18px 10px 50px!important}
}

/* =========================================================
   6차: cheditor5 리치에디터 내부 요소는 게시판 폼 스타일에서 제외(원상복구)
   ※ :has(#emilano-landing) 프리픽스로 특이성을 맞춰 내 select/input 규칙보다 우선
   ========================================================= */
body:not(:has(#emilano-landing)) #container .cheditor-container select,
body:not(:has(#emilano-landing)) #container .cheditor-container input,
body:not(:has(#emilano-landing)) #container .cheditor-container textarea,
body:not(:has(#emilano-landing)) #container .cheditor5 select,
body:not(:has(#emilano-landing)) #container .cheditor5 input,
body:not(:has(#emilano-landing)) #container .cheditor5 textarea{
  background:revert!important;border:revert!important;color:revert!important;
  border-radius:revert!important;padding:revert!important;height:revert!important;
  width:revert!important;min-width:0!important;box-sizing:content-box!important;
  font-size:revert!important;line-height:normal!important;box-shadow:none!important}
/* 에디터 내부 링크/버튼 색상도 원복 */
body:not(:has(#emilano-landing)) #container .cheditor-container a,
body:not(:has(#emilano-landing)) #container .cheditor5 a{color:revert!important}

/* =========================================================
   7차: 글쓰기 하단 요소 정밀 보정 (임시저장·파일첨부·취소·작성완료)
   ========================================================= */
/* 임시 저장된 글 버튼 */
html body #container #btn_autosave.btn_frmline{
  width:auto!important;height:auto!important;background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;
  color:var(--txt)!important;border-radius:100px!important;padding:12px 22px!important;font-weight:600!important;box-shadow:none!important}
html body #container #btn_autosave.btn_frmline:hover{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}

/* 파일 첨부 input (네이티브 버튼까지 브랜드 색) */
html body #container .frm_file{background:rgba(255,255,255,.05)!important;border:1px solid var(--line)!important;border-radius:10px!important;color:var(--muted)!important;padding:9px 12px!important;max-width:100%}
html body #container .frm_file::file-selector-button{
  background:linear-gradient(100deg,var(--brand),var(--brand2))!important;color:#fff!important;border:0!important;border-radius:8px!important;
  padding:9px 16px!important;margin-right:12px!important;font-weight:600!important;cursor:pointer;font-family:var(--em-font)}
html body #container .frm_file::-webkit-file-upload-button{
  background:linear-gradient(100deg,var(--brand),var(--brand2))!important;color:#fff!important;border:0!important;border-radius:8px!important;
  padding:9px 16px!important;margin-right:12px!important;font-weight:600!important;cursor:pointer}
html body #container .file_wr .lb_icon{color:var(--muted)!important}
html body #container .bo_w_flie,
html body #container .file_wr{border-color:var(--line)!important}

/* 하단 취소 / 작성완료 */
html body #container .btn_confirm{display:flex!important;gap:12px;justify-content:center;align-items:center;margin-top:24px;background:transparent!important;border:0!important;padding:0!important}
html body #container .btn_confirm .btn_cancel{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:120px;width:auto!important;height:auto!important;padding:14px 28px!important;
  background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:100px!important;font-weight:700!important;text-decoration:none;box-shadow:none!important}
html body #container .btn_confirm .btn_submit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:160px;width:auto!important;height:auto!important;padding:14px 30px!important;
  background:linear-gradient(100deg,var(--brand),var(--brand2))!important;border:0!important;color:#fff!important;border-radius:100px!important;font-weight:700!important;cursor:pointer;box-shadow:0 8px 24px rgba(124,92,255,.35)!important}
html body #container .btn_confirm .btn_cancel:hover{background:rgba(255,255,255,.14)!important}
html body #container .btn_confirm .btn_submit:hover{filter:brightness(1.08)}

/* =========================================================
   8차: 게시글 보기 - 스크랩 버튼 줄바꿈 + 댓글 영역 흰배경 다크
   ========================================================= */
/* 스크랩 버튼 (btn_b03) : 줄바꿈 방지 + 다크 필 */
html body #container #bo_v_share a.btn_b03,
html body #container a.btn.btn_b03,
html body #container a.btn_b03{
  display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap!important;width:auto!important;min-width:0!important;height:auto!important;
  background:rgba(255,255,255,.07)!important;border:1px solid var(--line)!important;color:var(--txt)!important;
  border-radius:100px!important;padding:10px 20px!important;box-shadow:none!important;text-decoration:none}
html body #container a.btn_b03:hover{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}

/* 댓글 카운트 버튼(.cmt_btn) 흰배경 제거 */
html body #container .cmt_btn{background:transparent!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:12px!important;box-shadow:none!important;padding:12px 18px!important}
html body #container .cmt_btn *,
html body #container .cmt_btn .total,
html body #container .cmt_btn .total b{color:var(--txt)!important;background:transparent!important}

/* 댓글 목록/쓰기 영역 다크 */
html body #container #bo_vc,
html body #container #bo_vc_w,
html body #container .bo_vc_w,
html body #container .bo_vc_w_info,
html body #container .bo_vc_w_wr{background:transparent!important;color:var(--txt)!important;border-color:var(--line)!important}
html body #container #bo_vc h2,
html body #container #bo_vc_w h2,
html body #container #bo_vc_empty{color:var(--muted)!important;background:transparent!important}
html body #container .bo_vc_w textarea,
html body #container #bo_vc_w textarea,
html body #container textarea#wr_content{background:rgba(255,255,255,.05)!important;border:1px solid var(--line)!important;color:var(--txt)!important;border-radius:10px!important;padding:12px!important}
html body #container .bo_vc_w .btn_submit,
html body #container #bo_vc_w input[type=submit],
html body #container #bo_vc_w button[type=submit]{background:linear-gradient(100deg,var(--brand),var(--brand2))!important;color:#fff!important;border:0!important;border-radius:100px!important;padding:12px 24px!important;cursor:pointer}
/* 게시글 정보/본문 색 보정 */
html body #container #bo_v_info,html body #container #bo_v_info *{color:var(--muted)!important}
html body #container #bo_v_con{color:var(--txt)!important}

/* =========================================================
   게시판 분류 탭 (gallery 스킨 #bo_cate) — 다크 pill 스타일
   ========================================================= */
html body #bo_cate{margin:0 0 26px!important}
html body #bo_cate h2{position:absolute!important;font-size:0!important;line-height:0!important;overflow:hidden!important}
html body #bo_cate ul{display:flex!important;flex-wrap:wrap!important;gap:10px!important;
  margin:0!important;padding:0!important;list-style:none!important}
html body #bo_cate li{display:inline-block!important;padding:0!important;margin:0!important;background:none!important}
html body #bo_cate a{display:block!important;line-height:1!important;padding:11px 20px!important;
  border-radius:100px!important;border:1px solid var(--line)!important;background:transparent!important;
  color:var(--muted)!important;font-weight:600!important;font-size:14px!important;transition:.2s!important}
html body #bo_cate a:hover,html body #bo_cate a:focus,html body #bo_cate a:active{
  background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important;text-decoration:none!important}
html body #bo_cate #bo_cate_on,html body #bo_cate a#bo_cate_on{
  background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important;font-weight:700!important}

/* 카드 제목줄 분류 뱃지(.bo_cate_link) — 다크 */
html body .bo_cate_link{display:inline-block!important;background:rgba(124,92,255,.16)!important;
  color:var(--accent)!important;border:0!important;border-radius:7px!important;height:auto!important;
  line-height:1!important;padding:5px 9px!important;font-size:12px!important;font-weight:600!important;margin-bottom:6px!important}
html body .bo_cate_link:hover{background:var(--brand)!important;color:#fff!important;text-decoration:none!important}
