@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

/* ============================================================
   ZZAN Channel Layout — 목업(zzan_channel_home) 반영
   --accent = 채널 포인트컬러(콘텐츠 전반), 단 상단바(.ztop)는 포털 레드 유지.
   ============================================================ */
:root{
  --bg:#f3f4f7; --surface:#fff; --surface-2:#f8f9fb;
  --text:#15171c; --sub:#5d646f; --mute:#969ca8;
  --border:#e8eaef; --accent:#ee3b34; --accent-soft:#fdecea;
  --gold:#f4a821; --shadow:0 6px 24px rgba(20,23,29,.08);
  --r:16px; --r-sm:11px;
}
:root[data-theme="dark"]{
  --bg:#0e1014; --surface:#171a21; --surface-2:#1d212a;
  --text:#eceef3; --sub:#a4abb8; --mute:#6f7783;
  --border:#262b34; --accent:#ff5749; --accent-soft:#2a1816;
  --gold:#ffba49; --shadow:0 8px 28px rgba(0,0,0,.45);
}
html,body{margin:0;padding:0;background:var(--bg) !important;color:var(--text);
  font-family:'Pretendard Variable','Pretendard','Apple SD Gothic Neo',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  letter-spacing:-.01em;-webkit-font-smoothing:antialiased;}
/* 스크롤바 자리 항상 예약 — 탭/콘텐츠 높이 변화로 스크롤바가 생겼다 사라질 때 레이아웃이 좌우로 튀는 것 방지 */
html{scrollbar-gutter:stable;}
.zzan,.zzan *{box-sizing:border-box;}
.zzan{min-height:100vh;display:flex;flex-direction:column;background:var(--bg);}
.zzan a{color:inherit;text-decoration:none;}
.zzan img{display:block;max-width:100%;}
.zc-wrap{max-width:1280px;margin:0 auto;padding:0 24px;}

/* ===== 얇은 글로벌 상단바 (비고정 · 포털 레드 유지) ===== */
.ztop{--accent:#ee3b34;--accent-soft:#fdecea;background:var(--surface);border-bottom:1px solid var(--border);}
:root[data-theme="dark"] .ztop{--accent:#ff5749;--accent-soft:#2a1816;}
.ztop__in{max-width:1280px;margin:0 auto;padding:0 24px;height:46px;display:flex;align-items:center;gap:16px;}
.zlogo{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:900;letter-spacing:-.03em;white-space:nowrap;}
.zlogo__mk{width:23px;height:23px;border-radius:7px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900;}
.zlogo b{color:var(--accent);}
.zgnb{display:flex;gap:1px;flex:1;overflow:auto;scrollbar-width:none;}
.zgnb::-webkit-scrollbar{display:none;}
.zgnb a{display:flex;align-items:center;font-size:13px;font-weight:700;color:var(--sub);padding:0 10px;line-height:46px;white-space:nowrap;}
.zgnb a:hover,.zgnb a.is-active{color:var(--accent);}
.ztop__r{display:flex;align-items:center;gap:8px;margin-left:auto;}
.zsearch{display:flex;align-items:center;gap:6px;background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:6px 12px;width:150px;}
.zsearch__btn{border:0;background:none;color:var(--sub);padding:0;display:grid;place-items:center;cursor:pointer;}
.zsearch input{border:0;background:none;outline:0;font:inherit;font-size:12.5px;color:var(--text);width:100%;}
.zsearch input::placeholder{color:var(--mute);}
.zic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:var(--sub);cursor:pointer;border:0;background:none;}
.zic:hover{background:var(--surface-2);color:var(--text);}
.zlogin{padding:7px 15px;border-radius:9px;background:var(--accent);color:#fff;font-size:13px;font-weight:800;border:0;cursor:pointer;}
.zprof-wrap{position:relative;}
.zprof{display:flex;align-items:center;gap:7px;cursor:pointer;}
.zprof__av{width:26px;height:26px;border-radius:50%;object-fit:cover;background:var(--surface-2);display:grid;place-items:center;color:var(--mute);flex:0 0 auto;}
.zprof__av--ph svg{width:16px;height:16px;}
.zprof__n{font-size:13px;font-weight:700;}
.zprof-menu{position:absolute;top:100%;right:0;margin-top:6px;background:var(--surface);border:1px solid var(--border);border-radius:11px;box-shadow:var(--shadow);padding:6px;min-width:130px;display:none;z-index:60;}
.zprof-menu::before{content:"";position:absolute;top:-8px;left:0;right:0;height:8px;}
.zprof-wrap:hover .zprof-menu{display:block;}
.zprof-menu a{display:block;padding:9px 12px;border-radius:8px;font-size:13.5px;font-weight:700;color:var(--sub);white-space:nowrap;}
.zprof-menu a:hover{background:var(--surface-2);color:var(--accent);}
.zburger{display:none;}
.zmnav{border-top:1px solid var(--border);background:var(--surface);padding:6px 14px;display:flex;flex-direction:column;}
.zmnav[hidden]{display:none;}
.zmnav a{padding:11px 8px;font-size:15px;font-weight:700;color:var(--sub);border-bottom:1px solid var(--border);}
.zmnav a:last-child{border-bottom:0;}

/* ===== 상단 띠배너 ===== */
.zc-topbanner{display:block;max-width:1280px;margin:0 auto;padding:0 24px;}
.zc-topbanner img{width:100%;}

/* ===== 채널 헤더 (큰 그라디언트 · 비고정) ===== */
.chh{position:relative;min-height:248px;display:flex;align-items:flex-end;overflow:hidden;color:#fff;background-size:cover;background-position:center;}
.chh__bg{position:absolute;inset:0;background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 55%,#000),var(--accent) 55%,color-mix(in srgb,var(--accent) 60%,var(--gold)));}
.chh__grad{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.6),rgba(0,0,0,.04) 62%);}
.chh__in{position:relative;width:100%;max-width:1280px;margin:0 auto;padding:22px 24px;display:flex;align-items:flex-end;gap:18px;}
.chh__logo{width:74px;height:74px;border-radius:20px;object-fit:cover;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.45);display:grid;place-items:center;font-size:32px;font-weight:900;flex:0 0 auto;color:#fff;}
.chh__id{flex:1;min-width:0;}
.chh__logolink{flex:0 0 auto;display:block;line-height:0;border-radius:20px;transition:opacity .15s,transform .15s;}
.chh__logolink:hover{opacity:.9;transform:translateY(-1px);}
.chh__brand{display:inline-block;text-decoration:none;color:inherit;}
.chh__brand:hover .chh__name{text-decoration:underline;text-underline-offset:3px;}
.chh__name{font-size:24px;font-weight:900;letter-spacing:-.025em;}
.chh__genre{font-size:12.5px;color:rgba(255,255,255,.82);margin-top:3px;}
.chh__stats{display:flex;gap:20px;margin-top:12px;}
.chh__stat b{font-size:16px;font-weight:900;}
.chh__stat span{font-size:11.5px;color:rgba(255,255,255,.74);margin-left:4px;}
.chh__act{display:flex;align-items:center;gap:9px;flex:0 0 auto;}
.chh__join{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#15171c !important;border:0;font-size:14px;font-weight:800;padding:11px 22px;border-radius:12px;cursor:pointer;}
.chh__join:hover{opacity:.92;}
.chh__join.is-fan{background:rgba(255,255,255,.16);color:#fff !important;border:1px solid rgba(255,255,255,.5);}
.chh__manage{display:inline-flex;align-items:center;padding:11px 16px;border-radius:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);color:#fff !important;font-size:13.5px;font-weight:800;}
.chh__manage:hover{background:rgba(255,255,255,.26);}

/* ===== 채널 탭 (sticky) ===== */
.chnav{position:sticky;top:0;z-index:40;background:var(--surface);border-bottom:1px solid var(--border);}
.chnav__in{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;gap:1px;scrollbar-width:none;}
.chnav__in::-webkit-scrollbar{display:none;}
.chnav__item{position:relative;flex:0 0 auto;}
.chnav__item > a{position:relative;display:flex;align-items:center;padding:0 15px;height:50px;font-size:14.5px;font-weight:700;color:var(--sub);white-space:nowrap;}
.chnav__item > a:hover,.chnav__item:hover > a,.chnav__item > a.is-active{color:var(--accent);}
.chnav__item > a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent);transform:scaleX(0);transition:transform .18s;}
.chnav__item:hover > a::after,.chnav__item > a.is-active::after{transform:scaleX(1);}
/* 2차 메뉴 드롭다운 — 데스크톱 호버 시 노출 */
.chnav__sub{display:none;position:absolute;top:100%;left:0;min-width:160px;padding:6px 0;background:var(--surface);border:1px solid var(--border);border-radius:0 0 10px 10px;box-shadow:0 8px 22px rgba(0,0,0,.12);z-index:41;}
.chnav__item:hover .chnav__sub,.chnav__item:focus-within .chnav__sub{display:block;}
.chnav__sub a{display:block;padding:9px 16px;font-size:13.5px;font-weight:600;color:var(--sub);white-space:nowrap;}
.chnav__sub a:hover,.chnav__sub a.is-active{color:var(--accent);background:var(--accent-soft);}
/* 모바일(터치)은 호버 없음 — 가로 스크롤 유지, 드롭다운 숨김 */
@media (hover:none),(max-width:768px){
  .chnav__in{overflow-x:auto;}
  .chnav__sub{display:none !important;}
}
/* 모바일 2차메뉴 바 (LNB 대체) — 데스크톱 숨김 */
.chnav-msub{display:none;}
@media (max-width:1080px){
  .chnav-msub:not(:empty){display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:9px 16px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:50px;z-index:39;}
  .chnav-msub::-webkit-scrollbar{display:none;}
  .chnav-msub a{flex:0 0 auto;white-space:nowrap;padding:7px 13px;border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:700;color:var(--sub);}
  .chnav-msub a.is-active{background:var(--accent-soft);color:var(--accent);}
}

/* ===== 채널 홈 (레이아웃 내장, .mh) ===== */
.mh{display:flex;flex-direction:column;gap:14px;}
/* 뉴스 슬라이드 — 크로스페이드 + 슬로우 줌 + 제목 라이즈 */
.mh-nslide{position:relative;height:250px;border-radius:var(--r);overflow:hidden;background:#14161b;border:1px solid var(--border);}
.mh-nslide__item{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .6s ease;z-index:0;}
.mh-nslide__item.is-on{opacity:1;pointer-events:auto;z-index:1;}
.mh-nslide__img{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.02);transition:transform 7s ease-out;}
.mh-nslide__item.is-on .mh-nslide__img{transform:scale(1.1);}
.mh-nslide__img--ph{background:linear-gradient(135deg,#1d212a,#14161b);}
.mh-nslide__grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,transparent 34%,rgba(0,0,0,.78) 100%);}
.mh-nslide__badge{position:absolute;left:18px;top:16px;z-index:2;font-size:10.5px;font-weight:900;letter-spacing:.08em;color:#fff;background:var(--accent);border-radius:6px;padding:4px 9px;}
.mh-nslide__t{position:absolute;left:20px;right:20px;bottom:18px;font-size:18.5px;font-weight:900;letter-spacing:-.02em;color:#fff;line-height:1.42;text-shadow:0 2px 10px rgba(0,0,0,.45);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;opacity:0;transform:translateY(10px);transition:opacity .55s ease .15s,transform .55s ease .15s;}
.mh-nslide__item.is-on .mh-nslide__t{opacity:1;transform:translateY(0);}
.mh-nslide__item:hover .mh-nslide__t{text-decoration:underline;text-underline-offset:3px;}
.mh-nslide__dots{position:absolute;right:16px;bottom:18px;display:flex;gap:6px;z-index:3;}
.mh-nslide__dot{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.4);cursor:pointer;transition:background .25s,width .25s;}
.mh-nslide__dot.is-on{background:#fff;width:22px;border-radius:99px;}
.mh-nslide__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:17px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .25s,background .2s;}
.mh-nslide__nav:hover{background:rgba(0,0,0,.6);}
.mh-nslide:hover .mh-nslide__nav{opacity:1;}
.mh-nslide__nav--prev{left:12px;}
.mh-nslide__nav--next{right:12px;}

.mh-search{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:16px 17px;}
.mh-search__types{display:flex;gap:6px;margin-bottom:10px;}
.mh-search__type{border:1px solid var(--border);background:var(--surface);color:var(--sub);font-size:12.5px;font-weight:800;padding:6px 12px;border-radius:999px;cursor:pointer;}
.mh-search__type.is-active{background:var(--accent);border-color:var(--accent);color:#fff;}
.mh-search__bar{display:flex;gap:8px;}
.mh-search__bar input{flex:1;min-width:0;border:1.5px solid var(--border);background:var(--surface-2);border-radius:11px;padding:11px 14px;font-size:14px;color:var(--text);outline:none;}
.mh-search__bar input:focus{border-color:var(--accent);}
.mh-search__bar button{flex:0 0 auto;width:44px;border:0;border-radius:11px;background:var(--accent);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;}
/* 라이브 캐릭터 — 검색창 우측 상단, 1명씩 회전(스티키) */
.mh-live{position:absolute;top:15px;right:17px;display:flex;align-items:center;gap:8px;}
.mh-search.is-guild .mh-live{display:none;}
.mh-live__badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:900;letter-spacing:.04em;color:#e0392f;}
.mh-live__dot{width:6px;height:6px;border-radius:50%;background:#e0392f;box-shadow:0 0 0 0 rgba(224,57,47,.5);animation:mhLivePulse 1.6s infinite;}
@keyframes mhLivePulse{0%{box-shadow:0 0 0 0 rgba(224,57,47,.5);}70%{box-shadow:0 0 0 5px rgba(224,57,47,0);}100%{box-shadow:0 0 0 0 rgba(224,57,47,0);}}
.mh-live__slot{position:relative;flex:0 0 auto;width:260px;height:22px;}
.mh-live__row{position:absolute;inset:0;display:none;align-items:center;gap:6px;font-size:12.5px;color:var(--sub);opacity:0;transition:opacity .4s;}
.mh-live__row.is-on{display:flex;opacity:1;}
.mh-live__row:hover .mh-live__nm{color:var(--accent);text-decoration:underline;}
.mh-live__wi{width:16px;height:16px;flex:0 0 auto;object-fit:contain;}
.mh-live__wi--ph{border-radius:50%;background:var(--surface-2);}
.mh-live__nm{flex:0 1 auto;min-width:0;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:var(--text);}
.mh-live__lv{flex:0 0 auto;font-size:11.5px;font-weight:800;color:var(--accent);}
.mh-live__tv{flex:0 0 auto;font-size:11px;color:var(--mute);}
.mh-cwc{display:flex;gap:18px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:18px 20px;}
.mh-cwc__l{flex:1;min-width:0;}
.mh-cwc__badge{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.06em;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:3px 8px;margin-bottom:8px;}
.mh-cwc__t{margin:0 0 6px;font-size:18px;font-weight:900;letter-spacing:-.02em;color:var(--text);}
.mh-cwc__d{margin:0 0 12px;font-size:13px;color:var(--sub);}
.mh-btn{display:inline-flex;align-items:center;padding:9px 16px;border-radius:10px;font-size:13px;font-weight:800;border:1px solid var(--border);color:var(--sub);}
.mh-btn--pri{background:var(--accent);border-color:var(--accent);color:#fff !important;}
.mh-cwc__r{display:flex;gap:12px;align-items:flex-end;flex:0 0 auto;}
.mh-pod{display:flex;flex-direction:column;align-items:center;width:78px;}
.mh-pod__medal{font-size:15px;}
.mh-pod__img{width:76px;height:76px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border-radius:14px;border:1px solid var(--border);background:linear-gradient(160deg,var(--surface-2),var(--surface));box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.mh-pod:hover .mh-pod__img{border-color:var(--accent);}
.mh-pod__img img{max-width:100%;max-height:100%;transform:translateY(55px) scale(3.42);transform-origin:50% 82%;}
/* 짠 메이플 Today 통계 바 */
/* 짠 메이플 Today — 검색창 아래 슬림 바 (뱃지 없음) */
.mh-today{display:flex;align-items:center;gap:16px;margin-top:11px;padding-top:11px;border-top:1px solid var(--border);flex-wrap:wrap;}
.mh-today__stat{display:flex;align-items:baseline;gap:5px;}
.mh-today__stat b{font-size:15px;font-weight:900;letter-spacing:-.02em;color:var(--text);}
.mh-today__stat--new b{color:#1c9e4b;}
.mh-today__stat span{font-size:11.5px;color:var(--mute);}
.mh-today__at{margin-left:auto;font-size:11px;color:var(--mute);}
.mh-pod__n{font-size:11.5px;font-weight:700;color:var(--sub);max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mh-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.mh-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;}
.mh-card__h{display:flex;align-items:center;justify-content:space-between;padding:13px 16px 10px;}
.mh-card__h h2{margin:0;font-size:14.5px;font-weight:900;letter-spacing:-.02em;color:var(--text);}
.mh-card__h a{font-size:12px;font-weight:700;color:var(--mute);}
.mh-cnt{display:inline-block;margin-left:6px;min-width:18px;text-align:center;font-size:11px;font-weight:800;line-height:18px;color:#fff;background:var(--accent);border-radius:999px;padding:0 5px;vertical-align:2px;}
.mh-card__h a:hover{color:var(--accent);}
.mh-nitem{display:flex;align-items:center;gap:6px;padding:9px 16px;border-top:1px solid var(--border);font-size:13.5px;}
.mh-nitem:hover{background:var(--surface-2);}
.mh-nitem__t{flex:0 1 auto;min-width:0;font-weight:600;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mh-nitem:hover .mh-nitem__t{color:var(--accent);}
.mh-nitem__d{flex:0 0 auto;margin-left:auto;font-size:12px;color:var(--mute);}
.mh-new{flex:0 0 auto;display:inline-block;font-size:9px;font-weight:900;line-height:1;color:#fff;background:var(--accent);border-radius:4px;padding:2px 4px;}
.mh-empty{margin:0;font-size:12.5px;color:var(--mute);padding:12px 16px;border-top:1px solid var(--border);}
.mh-elist{display:flex;flex-direction:column;}
.mh-ecard{display:flex;align-items:center;gap:12px;height:86px;padding:0 16px;border-top:1px solid var(--border);}
.mh-ecard:hover{background:var(--surface-2);}
.mh-ecard__th{flex:0 0 96px;width:96px;height:54px;border-radius:9px;background-size:cover;background-position:center;background-color:var(--surface-2);}
.mh-ecard__th--ph{background:var(--surface-2);}
.mh-ecard__b{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}
.mh-ecard__t{min-width:0;font-size:13.5px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mh-ecard:hover .mh-ecard__t{color:var(--accent);}
.mh-ecard__range{font-size:11.5px;color:var(--mute);}
.mh-ecard__gauge{display:flex;align-items:center;gap:8px;height:10px;}
.mh-ecard__bar{flex:1;max-width:220px;height:5px;border-radius:99px;background:var(--surface-2);overflow:hidden;}
.mh-ecard__fill{display:block;height:100%;border-radius:99px;background:var(--accent);}
.mh-ecard__pct{flex:0 0 auto;font-size:11px;font-weight:800;color:var(--accent);}
.mh-ecard.is-roll-hidden{display:none;}
/* 최근 미디어 — 썸네일 갤러리 4개 */
.mh-mgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px 16px 16px;}
.mh-mcard{display:flex;flex-direction:column;gap:7px;min-width:0;}
.mh-mcard__th{display:block;width:100%;aspect-ratio:16/10;border-radius:11px;background-size:cover;background-position:center top;background-color:var(--surface-2);}
.mh-mcard__th--ph{background:linear-gradient(135deg,var(--surface-2),var(--surface));}
.mh-mcard__t{font-size:12.5px;font-weight:600;color:var(--sub);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mh-mcard:hover .mh-mcard__t{color:var(--accent);}
/* 메이플 최근 글 — 목록형 20 */
.mh-rlist{display:flex;flex-direction:column;}
.mh-ritem{display:flex;align-items:center;gap:6px;padding:9px 16px;border-top:1px solid var(--border);font-size:13.5px;}
.mh-ritem:hover{background:var(--surface-2);}
.mh-ritem__t{flex:0 1 auto;min-width:0;font-weight:600;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mh-ritem:hover .mh-ritem__t{color:var(--accent);}
.mh-ritem__cm{flex:0 0 auto;font-size:12px;font-weight:800;color:var(--accent);}
.mh-ritem__d{flex:0 0 auto;margin-left:auto;font-size:12px;color:var(--mute);}
.mh-tabs{display:flex;gap:5px;}
.mh-tab{border:1px solid var(--border);background:var(--surface);color:var(--sub);font-size:12px;font-weight:800;padding:4px 11px;border-radius:999px;cursor:pointer;}
.mh-tab.is-active{background:var(--accent);border-color:var(--accent);color:#fff;}
.mh-chars{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:6px 10px 12px;}
.mh-char{display:flex;flex-direction:column;align-items:center;padding:8px 4px;border-radius:10px;}
.mh-char:hover{background:var(--surface-2);}
.mh-char__img{width:72px;height:72px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;}
.mh-char__img img{max-width:100%;max-height:100%;}
.mh-char__n{font-size:12.5px;font-weight:700;color:var(--text);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mh-char__m{font-size:11px;color:var(--mute);}
@media (max-width:768px){
  .mh-cols{grid-template-columns:1fr;}
  .mh-cwc{flex-direction:column;align-items:flex-start;}
  .mh-chars{grid-template-columns:repeat(2,1fr);}
  .mh-mgrid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .mh-live{position:static;max-width:100%;margin-bottom:10px;}
  .mh-today__at{margin-left:0;width:100%;}
}

/* ===== 본문 3단 ===== */
.zmain{flex:1 0 auto;min-width:0;}
.clay{display:grid;grid-template-columns:190px 1fr 282px;gap:22px;margin-top:22px;align-items:start;padding-bottom:44px;}
/* LNB/사이드가 비어(cond=false) 요소가 없어도 콘텐츠는 항상 중앙 칸에 고정 */
.clnb{grid-column:1;}
.cmain{grid-column:2;min-width:0;}
.cside{grid-column:3;}

/* 메이플스토리 모듈 mid: 좌측 LNB 숨기고 2단으로 콘텐츠 확장 (3단이 좁아서) */
.clay--wide{grid-template-columns:1fr 282px;}
.clay--wide .clnb{display:none;}
.clay--wide .cmain{grid-column:1;}
.clay--wide .cside{grid-column:2;}

/* 코디메이커 등 풀폭: 좌우 모두 숨기고 본문 단독 */
.clay--full{grid-template-columns:1fr;}
.clay--full .clnb,.clay--full .cside{display:none;}
.clay--full .cmain{grid-column:1;}

/* 좌 LNB */
.clnb{position:sticky;top:62px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:9px;}
.clnb__g{font-size:11px;font-weight:800;color:var(--mute);padding:11px 11px 6px;}
.clnb__i{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:9px;font-size:13.5px;font-weight:700;color:var(--sub);}
.clnb__i .ico{font-size:14px;}
.clnb__i:hover{background:var(--surface-2);color:var(--text);}
.clnb__i.on{background:var(--accent-soft);color:var(--accent);}
.clnb__new{margin-left:auto;width:6px;height:6px;border-radius:50%;background:var(--accent);}
.clnb-ext{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:9px;padding:11px 12px;border-radius:10px;border:1px solid var(--accent);background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:800;transition:background .15s,color .15s;}
.clnb-ext:hover{background:var(--accent);color:#fff;}
.clnb-ext__ar{font-size:12px;font-weight:700;}

/* 우 사이드 */
.cside{display:flex;flex-direction:column;gap:18px;position:sticky;top:62px;}
.cinfo{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:18px;text-align:center;}
.cinfo__logo{width:54px;height:54px;border-radius:15px;margin:0 auto 9px;object-fit:cover;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 70%,var(--gold)),var(--accent));display:grid;place-items:center;font-size:24px;font-weight:900;color:#fff;}
.cinfo__n{font-size:15px;font-weight:900;color:var(--text);}
.cinfo__tag{font-size:12px;color:var(--sub);margin-top:4px;}
.cinfo__stats{display:flex;justify-content:center;margin:13px 0 4px;}
.cinfo__stat{flex:1;}
.cinfo__stat b{display:block;font-size:15px;font-weight:900;color:var(--text);}
.cinfo__stat span{font-size:11px;color:var(--mute);}
.cinfo__stat+.cinfo__stat{border-left:1px solid var(--border);}
.cinfo__join{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:13px;background:var(--accent);color:#fff !important;border:0;font-size:14px;font-weight:800;padding:11px;border-radius:11px;cursor:pointer;}
/* 팬 하트 아이콘 — 기본 아웃라인, is-fan이면 채움 */
.fanheart{flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;}
.is-fan .fanheart{fill:currentColor;}
.cinfo__join:hover{filter:brightness(.94);}
.cinfo__join.is-fan{background:var(--surface);color:var(--accent) !important;border:1.5px solid var(--accent);}
/* 팬 버튼 툴팁 (호버 시 미션 안내) */
.cinfo__fanwrap{position:relative;}
.cinfo__tip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);
  width:max-content;max-width:220px;background:#1c1f27;color:#fff;font-size:11.5px;line-height:1.5;font-weight:600;
  padding:8px 11px;border-radius:9px;box-shadow:0 8px 22px rgba(0,0,0,.28);opacity:0;visibility:hidden;transition:.15s;z-index:20;pointer-events:none;text-align:center;}
.cinfo__tip b{color:var(--accent);}
.cinfo__tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#1c1f27;}
.cinfo__fanwrap:hover .cinfo__tip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.cinfo__loginhint{margin:9px 0 0;font-size:11.5px;line-height:1.5;color:var(--mute);}
.cinfo__loginhint b{color:var(--accent);}
/* 로그인 회원 패널 (내 채널 프로필 + 레벨 + 마이페이지) */
.cinfo__me{display:flex;align-items:center;gap:9px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border);text-align:left;}
.cinfo__me-av{width:38px;height:38px;flex:0 0 auto;border-radius:50%;background-size:cover;background-position:center;background-color:var(--surface-2);}
.cinfo__me-av--ph{display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--sub);font-size:15px;}
.cinfo__me-b{flex:1;min-width:0;}
.cinfo__me-nick{display:flex;align-items:center;gap:5px;font-size:13px;min-width:0;}
.cinfo__me-nick b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cinfo__me-lv{flex:0 0 auto;font-size:10.5px;font-weight:800;padding:1px 6px;border:1px solid;border-radius:999px;line-height:1.5;}
.cinfo__me-xp{display:flex;align-items:center;gap:6px;margin-top:4px;}
.cinfo__me-bar{flex:1;height:5px;border-radius:3px;background:var(--surface-2);overflow:hidden;}
.cinfo__me-bar>span{display:block;height:100%;background:var(--accent);border-radius:3px;}
.cinfo__me-pct{flex:0 0 auto;font-size:10px;font-weight:700;color:var(--mute);}
.cinfo__me-more{flex:0 0 auto;font-size:11.5px;font-weight:800;color:var(--accent);border:1.5px solid var(--accent);border-radius:8px;padding:6px 10px;text-decoration:none;white-space:nowrap;}
.cinfo__me-more:hover{background:var(--accent);color:#fff;}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;}
.card__h{display:flex;align-items:center;justify-content:space-between;padding:14px 17px 11px;}
.card__h h3{margin:0;font-size:14px;font-weight:900;letter-spacing:-.02em;color:var(--text);}
.card__more{font-size:12px;font-weight:700;color:var(--mute);}
.card__more:hover{color:var(--accent);}
.minirow{display:flex;align-items:center;gap:6px;padding:9px 17px;border-top:1px solid var(--border);font-size:13px;}
.minirow:hover{background:var(--surface-2);}
.minirow__t{flex:0 1 auto;min-width:0;font-weight:600;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.minirow:hover .minirow__t{color:var(--accent);}
.minirow__cm{flex:0 0 auto;font-size:11.5px;font-weight:800;color:var(--accent);}
.minirow__new{flex:0 0 auto;display:inline-block;font-size:9px;font-weight:900;line-height:1;color:#fff;background:var(--accent);border-radius:4px;padding:2px 4px;}
.cside__empty{margin:0;font-size:12.5px;color:var(--mute);padding:11px 17px;border-top:1px solid var(--border);}

/* ===== 푸터 ===== */
.zfoot{flex-shrink:0;border-top:1px solid var(--border);background:var(--surface);margin-top:auto;}
.zfoot__in{max-width:1280px;margin:0 auto;padding:24px;text-align:center;}
.zfoot__links{display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:8px;}
.zfoot__links a{font-size:12.5px;color:var(--sub);font-weight:600;padding:2px 12px;}
.zfoot__api{margin-bottom:8px;}
.zfoot__api-ko{font-size:12px;color:var(--sub);margin:0;}
.zfoot__api-en{font-size:11px;color:var(--mute);margin:2px 0 0;letter-spacing:.2px;}
.zfoot__disc{font-size:11.5px;color:var(--mute);margin-bottom:10px;line-height:1.5;}
.zfoot__copy{font-size:12px;color:var(--mute);}

/* ===== 반응형 ===== */
@media (max-width:1080px){
  /* 모바일: 3단 그리드 해제 → 블록으로 풀폭 스택 (모듈 페이지 깨짐 방지) */
  .clay,.clay--wide{display:block;}
  .cmain{width:100%;min-width:0;}
  /* LNB는 모바일에서 완전히 숨김 (GNB 2차메뉴 드롭다운으로 대체) */
  .clnb,.clay--wide .clnb{display:none !important;}
  .cside{position:static;width:100%;margin-top:20px;display:flex;flex-direction:column;gap:14px;}
  .cinfo,.cside>.card{width:100%;min-width:0;flex:0 0 auto;}
  .zgnb{display:none;}
  /* 모바일: 프로필/로그인은 바에서 숨기고 우측 드로어로 이동, 햄버거 노출 */
  .zburger{display:grid;}
  .zprof-wrap,.zlogin{display:none;}
}
@media (max-width:640px){
  .zsearch{display:none;}
  .chh__in{flex-wrap:wrap;}
  .chh__act{width:100%;}
  .cside{flex-direction:column;}
}

/* 채널 기능 페이지 공용 히어로 (코디메이커/바라는별/뮤직/스킬시뮬 등 일체감) */
.chero{display:flex;align-items:center;gap:16px;padding:20px 22px;border-radius:18px;margin:2px 0 24px;
  background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 13%,var(--surface)),var(--surface));border:1px solid var(--border);}
.chero__ic{width:54px;height:54px;border-radius:15px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;flex:0 0 auto;box-shadow:0 6px 16px color-mix(in srgb,var(--accent) 35%,transparent);}
.chero__tx{min-width:0;}
.chero__t{font-size:22px;font-weight:900;color:var(--text);margin:0 0 4px;line-height:1.25;letter-spacing:-.01em;}
.chero__sub{font-size:13px;color:var(--sub);margin:0;line-height:1.5;}
@media (max-width:560px){.chero{padding:16px;gap:12px;}.chero__ic{width:46px;height:46px;font-size:22px;}.chero__t{font-size:19px;}}

/* ===== 에버플래닛 채널 홈 (.eh) ===== */
.eh{display:flex;flex-direction:column;gap:22px;}
.eh-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:18px;}
.eh-card__h{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.eh-card__h h2{font-size:16px;font-weight:900;color:var(--text);margin:0;}
.eh-card__h a{font-size:12.5px;font-weight:700;color:var(--accent);text-decoration:none;}
.eh-empty{margin:6px 0 0;font-size:13px;color:var(--mute);text-align:center;padding:14px 0;}

/* 시그니처 기능 바로가기 */
.eh-hub{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
@media(max-width:900px){.eh-hub{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:480px){.eh-hub{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}}
.eh-hub__card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;text-decoration:none;
  padding:18px 10px;border-radius:16px;background:var(--surface);border:1px solid var(--border);transition:.14s;}
.eh-hub__card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 12px 26px color-mix(in srgb,var(--accent) 18%,transparent);}
.eh-hub__ic{font-size:28px;line-height:1;margin-bottom:4px;}
.eh-hub__t{font-size:13.5px;font-weight:800;color:var(--text);}
.eh-hub__d{font-size:11px;color:var(--mute);line-height:1.3;}
@media(max-width:480px){.eh-hub__d{display:none;}}

/* 통계 */
.eh-stats{display:flex;justify-content:center;gap:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:14px;}
.eh-stat{flex:1;text-align:center;position:relative;}
.eh-stat+.eh-stat::before{content:"";position:absolute;left:0;top:15%;height:70%;width:1px;background:var(--border);}
.eh-stat b{display:block;font-size:20px;font-weight:900;color:var(--accent);line-height:1.1;}
.eh-stat span{font-size:11.5px;color:var(--sub);}

/* 코디갤러리 쇼케이스 */
.eh-cgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
@media(max-width:720px){.eh-cgrid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:460px){.eh-cgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}}
.eh-ccard{display:flex;flex-direction:column;gap:6px;align-items:center;text-decoration:none;}
.eh-ccard__stage{width:100%;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:var(--surface-2);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;transition:.14s;}
.eh-ccard:hover .eh-ccard__stage{transform:translateY(-3px);border-color:var(--accent);}
.eh-ccard__cv{width:100%;height:100%;object-fit:contain;display:block;}
.eh-ccard__nm{font-size:12px;font-weight:700;color:var(--sub);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.eh-ccard:hover .eh-ccard__nm{color:var(--accent);}

/* 2단 컬럼 (공지 | 자유) */
.eh-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media(max-width:720px){.eh-cols{grid-template-columns:1fr;}}
.eh-nlist{display:flex;flex-direction:column;}
.eh-nitem{display:flex;align-items:center;gap:7px;padding:8px 2px;border-bottom:1px solid var(--border);text-decoration:none;font-size:13.5px;}
.eh-nitem:last-child{border-bottom:0;}
.eh-nitem__t{flex:0 1 auto;min-width:0;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.eh-nitem:hover .eh-nitem__t{color:var(--accent);}
.eh-nitem__cm{flex:0 0 auto;font-size:11.5px;font-weight:700;color:var(--accent);}
.eh-nitem__d{flex:0 0 auto;margin-left:auto;font-size:11px;color:var(--mute);}
.eh-new{flex:0 0 auto;display:inline-block;font-size:9px;font-weight:900;line-height:1;color:#fff;background:var(--accent);border-radius:4px;padding:2px 4px;}

/* 스샷/동영상 */
.eh-mgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
@media(max-width:720px){.eh-mgrid{grid-template-columns:repeat(2,minmax(0,1fr));}}
.eh-mcard{display:flex;flex-direction:column;gap:6px;text-decoration:none;}
.eh-mcard__th{width:100%;aspect-ratio:16/10;border-radius:12px;background-size:cover;background-position:center;background-color:var(--surface-2);border:1px solid var(--border);}
.eh-mcard__th{position:relative;}
.eh-mcard__th--ph{display:flex;align-items:center;justify-content:center;}
.eh-mcard__th--ph::after{content:"📷";font-size:24px;opacity:.4;}
.eh-mcard__th--vid{background:linear-gradient(135deg,#2a2f3a,#171a21);}
.eh-mcard__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;
  background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;padding-left:3px;}
.eh-mcard__t{font-size:12.5px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.eh-mcard:hover .eh-mcard__t{color:var(--accent);}

/* 바라는 별 */
.eh-wlist{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
@media(max-width:560px){.eh-wlist{grid-template-columns:1fr;}}
.eh-witem{position:relative;display:flex;flex-direction:column;gap:5px;padding:14px 16px;border-radius:14px;text-decoration:none;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,transparent),transparent);border:1px solid var(--border);}
.eh-witem:hover{border-color:var(--accent);}
.eh-witem__q{position:absolute;top:2px;left:9px;font-size:34px;color:var(--accent);opacity:.35;font-weight:900;line-height:1;}
.eh-witem__t{font-size:13.5px;line-height:1.5;color:var(--text);padding-left:20px;}
.eh-witem__nm{font-size:11.5px;color:var(--mute);text-align:right;}

/* ===== 모바일 우측 드로어 ===== */
.zdrawer-ov{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:299;opacity:0;transition:opacity .22s;}
.zdrawer-ov.is-open{opacity:1;}
.zdrawer{position:fixed;top:0;right:0;bottom:0;width:284px;max-width:84vw;z-index:300;
  background:var(--surface);border-left:1px solid var(--border);
  transform:translateX(101%);transition:transform .25s cubic-bezier(.4,0,.2,1);pointer-events:none;
  display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;}
.zdrawer.is-open{transform:translateX(0);pointer-events:auto;box-shadow:-14px 0 40px rgba(0,0,0,.18);}
/* 화면 밖(우측) 드로어가 가로 스크롤/회색 그림자 유발 방지 */
body{overflow-x:hidden;}
.zdrawer__top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border);}
.zdrawer__ttl{font-size:15px;font-weight:900;color:var(--text);}
.zdrawer__x{width:34px;height:34px;border:0;background:none;color:var(--sub);border-radius:9px;display:grid;place-items:center;cursor:pointer;}
.zdrawer__x:hover{background:var(--surface-2);color:var(--text);}
.zdrawer__prof{display:flex;align-items:center;gap:11px;padding:16px;text-decoration:none;border-bottom:1px solid var(--border);}
.zdrawer__av{width:44px;height:44px;flex:0 0 auto;border-radius:50%;object-fit:cover;background:var(--surface-2);}
.zdrawer__av--ph{display:grid;place-items:center;color:var(--mute);}
.zdrawer__av--ph svg{width:24px;height:24px;}
.zdrawer__pi{display:flex;flex-direction:column;gap:2px;min-width:0;}
.zdrawer__pi b{font-size:15px;font-weight:800;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.zdrawer__pi em{font-size:12px;font-style:normal;color:var(--accent);font-weight:700;}
.zdrawer__acts{display:flex;flex-direction:column;padding:6px 0;border-bottom:1px solid var(--border);}
.zdrawer__acts a{padding:11px 18px;font-size:13.5px;font-weight:700;color:var(--sub);text-decoration:none;}
.zdrawer__acts a:hover{background:var(--surface-2);color:var(--accent);}
.zdrawer__logout{color:var(--mute) !important;}
.zdrawer__login{display:block;box-sizing:border-box;width:calc(100% - 32px);margin:16px auto;padding:12px;text-align:center;border-radius:11px;background:var(--accent);color:#fff;font-size:14px;font-weight:800;text-decoration:none;}
.zdrawer__nav{display:flex;flex-direction:column;padding:8px 0;}
.zdrawer__nav a{padding:12px 18px;font-size:14px;font-weight:700;color:var(--text);text-decoration:none;border-radius:0;}
.zdrawer__nav a:hover,.zdrawer__nav a.is-active{background:var(--accent-soft);color:var(--accent);}
