/* today 메인 포털 전용 스타일 — .tdh 범위 안에서만 동작합니다 (기존 style.css 미변경) */
:root{
  --tdh-ink:#000;
  --tdh-paper:#fff;
  --tdh-mist:#f2f2ef;
  --tdh-line:#e4e4e1;
  --tdh-sub:#6d6d6a;
  --tdh-board:#1c1e22;
  --tdh-board-line:#2c2f35;
  --tdh-amber:#ffd400;
  --tdh-go:#19c37d;
  --tdh-stop:#ff4436;
  --tdh-font:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}

/* ───── 티커 ───── */
.tdh-ticker{background:var(--tdh-ink);color:#fff;font-family:var(--tdh-font);font-size:13px;line-height:1;overflow:hidden}
.tdh-ticker-inner{max-width:1240px;margin:0 auto;padding:0 16px;height:36px;display:flex;align-items:center;gap:18px}
.tdh-clock{flex:0 0 auto;display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;font-weight:700}
.tdh-clock b{font-weight:500;color:#9a9a9a}
.tdh-clock time{color:var(--tdh-amber);min-width:62px}
.tdh-ticker-track{flex:1 1 auto;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
.tdh-ticker-run{display:inline-flex;gap:40px;white-space:nowrap;animation:tdh-run 70s linear infinite;padding-left:24px}
.tdh-ticker-run a{color:#e8e8e8;text-decoration:none}
.tdh-ticker-run a:hover{color:#fff;text-decoration:underline}
.tdh-ticker:hover .tdh-ticker-run{animation-play-state:paused}
@keyframes tdh-run{to{transform:translateX(-50%)}}

/* ───── 공통 컨테이너 ───── */
.tdh{max-width:1240px;margin:0 auto;padding:0 16px;font-family:var(--tdh-font);color:var(--tdh-ink);box-sizing:border-box}
.tdh *,.tdh *::before,.tdh *::after{box-sizing:border-box}
.tdh a{color:inherit}
.tdh img{display:block;max-width:100%}
.tdh a:focus-visible,.tdh button:focus-visible{outline:3px solid var(--tdh-amber);outline-offset:2px;border-radius:4px}

/* ───── 마스트헤드 ───── */
.tdh-mast{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:30px 0 22px}
.tdh-mast-text{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.tdh-mast-date{margin:0 0 6px;font-size:15px;font-weight:600;color:var(--tdh-sub)}
.tdh-mast h1{margin:0;font-size:clamp(30px,4.6vw,56px);font-weight:850;letter-spacing:-.035em;line-height:1.05}
.tdh-mast h1 em{font-style:normal;font-variant-numeric:tabular-nums}
/* 마스트헤드 통계: 4칸 한 줄 (PC·모바일 동일) + 누적 한 줄, 흑백 */
.tdh-mast-side{flex:0 1 400px;align-self:flex-end;display:flex;flex-direction:column;min-width:0;padding:4px 4px 0;border-radius:12px;background:var(--tdh-mist)}
.tdh-mast-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0}
.tdh-mast-stats div{min-width:0;padding:7px 10px 8px;border-radius:8px;background:var(--tdh-paper)}
.tdh-mast-stats dt{margin:0 0 1px;font-size:10.5px;font-weight:650;color:var(--tdh-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdh-mast-stats dd{margin:0;font-size:16px;font-weight:850;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.tdh-mast-stats dd small{margin-left:1px;font-size:10.5px;font-weight:650;color:var(--tdh-sub);letter-spacing:0}
.tdh-mast-live{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:999px;background:var(--tdh-mist);color:var(--tdh-sub);font-size:9.5px;font-weight:700;letter-spacing:0;vertical-align:2px}
.tdh-mast-sub{display:flex;flex-wrap:wrap;gap:2px 14px;margin:0;padding:5px 10px 6px;font-size:10.5px;color:var(--tdh-sub)}
.tdh-mast-sub b{color:var(--tdh-ink);font-weight:800;font-variant-numeric:tabular-nums}
.tdh-online{display:inline-flex;align-items:center;gap:4px}
.tdh-online i{width:6px;height:6px;border-radius:50%;background:var(--tdh-ink);animation:tdh-online 1.6s ease-in-out infinite}
@keyframes tdh-online{50%{opacity:.2}}
.tdh-nav-wrap{padding:14px 0 0}
.tdh-nav-wrap .filters{margin:0!important}

/* ───── 히어로 ───── */
.tdh-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:stretch}

.tdh-feature{position:relative;background:var(--tdh-mist);border-radius:20px;overflow:hidden;min-height:520px;display:grid}
.tdh-slide{grid-area:1/1;display:grid;grid-template-rows:minmax(0,1fr) auto;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s}
.tdh-slide.is-active{opacity:1;visibility:visible}
.tdh-slide-media{display:flex;align-items:center;justify-content:center;padding:28px 28px 0;min-height:300px;text-decoration:none}
.tdh-slide-media img{width:100%;height:100%;max-height:380px;object-fit:contain;mix-blend-mode:multiply}
.tdh-noimg{font-size:clamp(26px,3vw,40px);font-weight:850;letter-spacing:-.03em;line-height:1.15;max-width:16ch;text-align:center}
.tdh-slide-body{padding:22px 28px 76px}
.tdh-slide-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;font-size:13px}
.tdh-tag{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:999px;background:var(--tdh-paper);font-weight:700}
.tdh-tag-pick{background:var(--tdh-ink);color:var(--tdh-amber)}
.tdh-slide-when{font-weight:700;font-variant-numeric:tabular-nums;color:var(--tdh-sub)}
.tdh-slide-title{margin:0;font-size:clamp(22px,2.6vw,34px);font-weight:850;letter-spacing:-.03em;line-height:1.2;max-width:28ch}
.tdh-slide-title a{text-decoration:none}
.tdh-slide-title a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.tdh-slide-ex{margin:10px 0 0;font-size:15px;line-height:1.6;color:#3a3a38;max-width:60ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tdh-slide-cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.tdh-btn{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--tdh-ink);background:var(--tdh-paper);color:var(--tdh-ink)!important;font-size:14px;font-weight:750;text-decoration:none;transition:background .15s,color .15s}
.tdh-btn:hover{background:var(--tdh-ink);color:#fff!important}
.tdh-btn-ink{background:var(--tdh-ink);color:#fff!important}
.tdh-btn-ink:hover{background:#333;border-color:#333}

.tdh-feature-ctrl{position:absolute;left:28px;right:28px;bottom:22px;display:flex;align-items:center;gap:12px;z-index:3}
.tdh-arrow{width:36px;height:36px;border-radius:50%;border:0;background:var(--tdh-paper);color:var(--tdh-ink);font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0 0 2px}
.tdh-arrow:hover{background:var(--tdh-ink);color:#fff}
.tdh-dots{display:flex;gap:6px;flex:1 1 auto}
.tdh-dot{flex:1 1 0;max-width:64px;height:24px;border:0;background:none;padding:0;cursor:pointer;display:flex;align-items:center}
.tdh-dot span{display:block;width:100%;height:3px;border-radius:3px;background:rgba(0,0,0,.16);position:relative;overflow:hidden}
.tdh-dot.is-active span::after{content:"";position:absolute;inset:0;background:var(--tdh-ink);transform-origin:left}
.tdh-feature.is-playing .tdh-dot.is-active span::after{animation:tdh-fill 6.5s linear forwards}
@keyframes tdh-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.tdh-feature-empty{display:grid;place-content:center;justify-items:center;gap:16px;padding:40px;text-align:center;font-size:18px;font-weight:700}
.tdh-feature-empty p{margin:0}

/* ───── 발매 출발판 ───── */
.tdh-board{background:var(--tdh-board);color:#f3f3f3;border-radius:20px;padding:22px 0 0;display:flex;flex-direction:column;min-height:520px;overflow:hidden}
.tdh-board-head{padding:0 22px 18px;border-bottom:1px solid var(--tdh-board-line)}
.tdh-board-label{margin:0;font-size:13px;color:#a3a6ad;font-weight:600}
.tdh-board-count{margin:4px 0 6px;font-size:clamp(38px,4.2vw,54px);font-weight:800;letter-spacing:-.02em;line-height:1;color:var(--tdh-amber);font-variant-numeric:tabular-nums}
.tdh-board-count.is-soon{color:var(--tdh-stop)}
.tdh-board-next{display:block;font-size:14px;font-weight:600;color:#fff;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdh-board-next:hover{text-decoration:underline}
.tdh-board-list{list-style:none;margin:0;padding:0;flex:1 1 auto;max-height:600px;position:relative;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3a3d44 transparent}
.tdh-board-list::-webkit-scrollbar{width:6px}
.tdh-board-list::-webkit-scrollbar-thumb{background:#3a3d44;border-radius:6px}
.tdh-board-list::-webkit-scrollbar-track{background:transparent}
/* 전광판 글자 (촤르르) */
.tdh-fc{display:inline-block;white-space:pre;transform-origin:50% 50%;backface-visibility:hidden}
.tdh-fc.is-f{animation:tdh-flap .34s cubic-bezier(.3,.7,.4,1)}
@keyframes tdh-flap{0%{transform:perspective(240px) rotateX(-88deg);opacity:.35}60%{transform:perspective(240px) rotateX(14deg);opacity:1}100%{transform:none;opacity:1}}
.tdh-board-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-areas:"time title status" "time method status";column-gap:12px;align-items:center;padding:11px 22px;border-bottom:1px solid var(--tdh-board-line)}
.tdh-board-time{grid-area:time;font-size:15px;font-weight:800;color:var(--tdh-amber);font-variant-numeric:tabular-nums}
.tdh-board-title{grid-area:title;font-size:14px;font-weight:650;color:#fff;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdh-board-title:hover{text-decoration:underline}
.tdh-board-method{grid-area:method;font-size:12px;color:#8d9097}
.tdh-board-status{grid-area:status;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;padding:5px 9px;border-radius:6px;background:#2a2d33;color:#c9ccd2;white-space:nowrap;min-width:64px;text-align:center}
.tdh-board-row[data-state="live"] .tdh-board-status{background:var(--tdh-go);color:#002a17}
.tdh-board-row[data-state="soon"] .tdh-board-status{background:var(--tdh-stop);color:#fff}
.tdh-board-row[data-state="wait"] .tdh-board-status{color:var(--tdh-amber)}
.tdh-board-row[data-state="done"]{opacity:.5}
/* 지금 시간 기준 첫 발매중/예정 줄 강조 */
.tdh-board-row.is-now{background:#25282e;box-shadow:inset 3px 0 0 var(--tdh-amber)}
.tdh-board-row.is-now .tdh-board-title{font-weight:800}
.tdh-board-row[data-state="tbd"] .tdh-board-time{color:#8d9097}
.tdh-board-empty{padding:22px;color:#a3a6ad;font-size:14px}
.tdh-board-all{display:block;padding:16px 22px;font-size:14px;font-weight:700;color:#fff;text-decoration:none;background:#23262b}
.tdh-board-all:hover{background:#2c2f35}

/* ───── 섹션 공통 ───── */
.tdh-sec{padding:48px 0 0}
.tdh-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px}
.tdh-sec-head h2{margin:0;font-size:clamp(21px,2.2vw,26px);font-weight:850;letter-spacing:-.03em}
.tdh-sec-head h2 small{font-size:14px;font-weight:600;color:var(--tdh-sub);letter-spacing:0;margin-left:6px}
.tdh-sec-head a{flex:0 0 auto;font-size:14px;font-weight:650;color:var(--tdh-sub);text-decoration:none}
.tdh-sec-head a:hover{color:var(--tdh-ink);text-decoration:underline}
.tdh-empty{margin:0;padding:28px;border-radius:14px;background:var(--tdh-mist);color:var(--tdh-sub);font-size:14px}

/* ───── 이번 주 ───── */
.tdh-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.tdh-day{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:14px;background:var(--tdh-mist);text-decoration:none;transition:background .15s}
.tdh-day:hover{background:#e8e8e4}
.tdh-day-top{display:flex;justify-content:space-between;align-items:baseline;font-size:13px}
.tdh-day-top b{font-size:15px;font-weight:800}
.tdh-day-top span{color:var(--tdh-sub);font-variant-numeric:tabular-nums}
.tdh-day.is-sun .tdh-day-top b{color:#d4372b}
.tdh-day.is-sat .tdh-day-top b{color:#2f62d6}
.tdh-day-img{aspect-ratio:1/1;border-radius:10px;background:var(--tdh-paper);overflow:hidden;display:flex;align-items:center;justify-content:center}
.tdh-day-img img{width:100%;height:100%;object-fit:contain;padding:6px}
.tdh-day-count{font-size:18px;font-weight:850;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.tdh-day.is-empty .tdh-day-count{color:#a6a6a2;font-size:15px}
.tdh-day.is-today{background:var(--tdh-ink);color:#fff}
.tdh-day.is-today .tdh-day-top b,.tdh-day.is-today .tdh-day-top span{color:#fff}
.tdh-day.is-today .tdh-day-count{color:var(--tdh-amber)}

/* ───── 기존 목록 영역 ───── */
.tdh-list-wrap{margin-top:48px}
.tdh-bottom-ad{margin-top:40px}

/* ───── 뉴스 + 랭킹 ───── */
.tdh-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px}
.tdh-news-lead{display:block;padding:24px;border-radius:16px;background:var(--tdh-mist);text-decoration:none}
.tdh-news-lead:hover strong{text-decoration:underline;text-underline-offset:3px}
.tdh-news-sec{display:block;font-size:13px;font-weight:650;color:var(--tdh-sub);margin-bottom:8px}
.tdh-news-lead strong{display:block;font-size:22px;font-weight:850;letter-spacing:-.03em;line-height:1.3}
.tdh-news-lead p{margin:10px 0 0;font-size:15px;line-height:1.7;color:#3a3a38}
.tdh-news-list{list-style:none;margin:6px 0 0;padding:0}
.tdh-news-list li a{display:flex;gap:10px;align-items:baseline;padding:13px 4px;border-bottom:1px solid var(--tdh-line);font-size:15px;font-weight:600;line-height:1.45;text-decoration:none}
.tdh-news-list li a:hover{text-decoration:underline}
.tdh-news-list li span{flex:0 0 78px;font-size:12px;font-weight:600;color:var(--tdh-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdh-news-arch{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:14px;font-size:13px;color:var(--tdh-sub)}
.tdh-news-arch a{font-weight:650;text-decoration:none}
.tdh-news-arch a:hover{text-decoration:underline}

.tdh-rank-list{list-style:none;margin:0;padding:0}
.tdh-rank-list li a{display:grid;grid-template-columns:28px 52px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0;text-decoration:none}
.tdh-rank-list li+li a{border-top:1px solid var(--tdh-line)}
.tdh-rank-no{font-size:20px;font-weight:850;font-variant-numeric:tabular-nums;text-align:center}
.tdh-rank-list li:nth-child(n+4) .tdh-rank-no{color:#a6a6a2;font-size:17px}
.tdh-rank-img{width:52px;height:52px;border-radius:10px;background:var(--tdh-mist);overflow:hidden}
.tdh-rank-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.tdh-rank-txt{min-width:0}
.tdh-rank-txt strong{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdh-rank-txt small{display:block;margin-top:3px;font-size:12px;color:var(--tdh-sub);font-variant-numeric:tabular-nums}
.tdh-rank-list li a:hover strong{text-decoration:underline}

/* ───── 내일 레일 ───── */
.tdh-rail{display:grid;grid-auto-flow:column;grid-auto-columns:200px;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:thin}
.tdh-tile{scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;text-decoration:none;min-width:0}
.tdh-tile-img{aspect-ratio:1/1;border-radius:14px;background:var(--tdh-mist);overflow:hidden;display:flex;align-items:center;justify-content:center}
.tdh-tile-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:10px}
.tdh-tile-img em{font-style:normal;font-weight:800;color:var(--tdh-sub)}
.tdh-tile-time{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.tdh-tile-time i{font-style:normal;font-weight:600;color:var(--tdh-sub);margin-left:4px}
.tdh-tile strong{font-size:14px;font-weight:650;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tdh-tile:hover strong{text-decoration:underline}


/* ───── 오늘 발매 목록 (내일 발매 타일과 같은 모양) ───── */
.tdh-today-rail{font-family:var(--tdh-font);color:var(--tdh-ink);margin:10px 0 28px}
.tdh-today-rail *,.tdh-today-rail *::before,.tdh-today-rail *::after{box-sizing:border-box}
.tdh-today-rail a{color:inherit;text-decoration:none}
.tdh-today-rail img{display:block;max-width:100%}
.tdh-today-rail a:focus-visible,.tdh-today-rail button:focus-visible{outline:3px solid var(--tdh-amber);outline-offset:2px;border-radius:4px}
.tdh-today-tile .tdh-tile-img{position:relative}
.tdh-today-tile strong a:hover,.tdh-today-tile .tdh-tile-img:hover~strong a{text-decoration:underline}
.tdh-tile-pick{position:absolute;top:8px;left:8px;padding:5px 8px;border-radius:999px;background:var(--tdh-ink);color:var(--tdh-amber);font-size:11px;font-weight:900;line-height:1}
.tdh-tile-state{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:6px;background:rgba(255,255,255,.92);color:var(--tdh-ink);font-size:11px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.tdh-tile-state:empty,.tdh-today-tile[data-state="tbd"] .tdh-tile-state{display:none}
.tdh-today-tile[data-state="live"] .tdh-tile-state{background:var(--tdh-go);color:#002a17}
.tdh-today-tile[data-state="soon"] .tdh-tile-state{background:var(--tdh-stop);color:#fff}
.tdh-today-tile[data-state="wait"] .tdh-tile-state{background:var(--tdh-ink);color:var(--tdh-amber)}
.tdh-today-tile[data-state="done"] .tdh-tile-state{background:#d9d9d5;color:#55554f}
.tdh-tile-admin{display:flex;flex-wrap:wrap;gap:4px;position:static!important}
/* 오늘 발매: 가로 스크롤 없이 전부 나열 */
.bottom-time-dock{display:none!important}
/* 오늘 발매 목록 가로폭을 상단(.tdh)과 동일하게 */
main.wrap.tdh-list-wrap{max-width:1240px!important;width:auto!important;margin-left:auto!important;margin-right:auto!important;padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
.tdh-list-wrap .date-section{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
/* 발매 타일 마우스 오버 효과 */
.tdh-rail:not(.tdh-today-rail){padding-top:6px!important}
.tdh-tile .tdh-tile-img{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
.tdh-tile .tdh-tile-img img{transition:transform .35s ease}
.tdh-tile:hover .tdh-tile-img{transform:translateY(-4px);box-shadow:0 12px 24px rgba(17,17,17,.12);background-color:#e9e9e4}
.tdh-tile:hover .tdh-tile-img img{transform:scale(1.06)}
.tdh-tile:hover .tdh-tile-time{color:var(--tdh-ink)}
.tdh-tile .tdh-tile-img:focus-visible{transform:translateY(-4px)}
@media (hover:none){.tdh-tile:hover .tdh-tile-img{transform:none;box-shadow:none}.tdh-tile:hover .tdh-tile-img img{transform:none}}
@media (prefers-reduced-motion:reduce){.tdh-tile .tdh-tile-img,.tdh-tile .tdh-tile-img img{transition:none}.tdh-tile:hover .tdh-tile-img,.tdh-tile:hover .tdh-tile-img img{transform:none}}
.tdh-rail.tdh-today-rail{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));overflow:visible;scroll-snap-type:none;row-gap:22px}
.tdh-tile-admin form{margin:0}

/* ───── KREAM ───── */
.tdh-market-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tdh-market-col{padding:20px 22px;border-radius:16px;border:1.5px solid var(--tdh-line)}
.tdh-market-col h3{margin:0 0 6px;font-size:16px;font-weight:800}
.tdh-market-col ol{list-style:none;margin:0;padding:0}
.tdh-market-col li a{display:grid;grid-template-columns:24px 48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;text-decoration:none}
.tdh-market-col li+li a{border-top:1px solid var(--tdh-line)}
.tdh-market-col .tdh-rank-no{font-size:16px}
.tdh-mk-img{width:48px;height:48px;border-radius:10px;background:var(--tdh-mist);overflow:hidden;display:grid;place-items:center}
.tdh-mk-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.tdh-mk-img em{font-style:normal;font-weight:800;color:var(--tdh-sub)}
.tdh-mk-txt{min-width:0}
.tdh-mk-txt small{display:block;font-size:12px;color:var(--tdh-sub);font-weight:600}
.tdh-mk-txt strong{display:block;font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdh-mk-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tdh-mk-num b{display:block;font-size:14px;font-weight:800}
.tdh-mk-num small{display:block;font-size:12px;color:var(--tdh-sub);font-weight:700}
.tdh-mk-num .is-up{color:#d4372b}
.tdh-mk-num .is-down{color:#2f62d6}
.tdh-market-col li a:hover strong{text-decoration:underline}

/* ───── 기획전 ───── */
.tdh-ex-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:auto auto;gap:14px}
.tdh-ex{position:relative;display:block;border-radius:16px;overflow:hidden;background:var(--tdh-mist);text-decoration:none;color:#fff!important;min-height:200px}
.tdh-ex.is-lead{grid-row:span 2;min-height:420px}
.tdh-ex:nth-child(4){grid-column:2/4}
.tdh-ex-img,.tdh-ex-img img{position:absolute;inset:0;width:100%;height:100%}
.tdh-ex-img img{object-fit:cover;transition:transform .5s ease}
.tdh-ex:hover .tdh-ex-img img{transform:scale(1.03)}
.tdh-ex-txt{position:absolute;left:0;right:0;bottom:0;padding:48px 18px 16px;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.tdh-ex-txt strong{display:block;font-size:17px;font-weight:800;line-height:1.3;letter-spacing:-.02em}
.tdh-ex.is-lead .tdh-ex-txt strong{font-size:26px}
.tdh-ex-txt small{display:block;margin-top:4px;font-size:12px;opacity:.85}

/* ───── ㅋㅋㅋ ───── */
.tdh-fun-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 14px}
.tdh-fun{display:flex;flex-direction:column;gap:8px;text-decoration:none;min-width:0}
.tdh-fun-img{aspect-ratio:4/3;border-radius:14px;background:var(--tdh-mist);overflow:hidden;display:grid;place-items:center}
.tdh-fun-img img{width:100%;height:100%;object-fit:cover}
.tdh-fun-img em{font-style:normal;font-size:28px;font-weight:850;color:#c4c4bf}
.tdh-fun strong{font-size:14px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tdh-fun small{font-size:12px;color:var(--tdh-sub)}
.tdh-fun:hover strong{text-decoration:underline}

/* ───── 도구 ───── */
.tdh-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.tdh-tool{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:14px;background:var(--tdh-mist);text-decoration:none;transition:background .15s,color .15s}
.tdh-tool strong{font-size:15px;font-weight:800}
.tdh-tool small{font-size:12px;color:var(--tdh-sub);line-height:1.45}
.tdh-tool:hover{background:var(--tdh-ink);color:#fff!important}
.tdh-tool:hover small{color:#bdbdbd}

/* ───── 발매뉴스 팝업 ───── */
.tdh-pop{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:24px;font-family:var(--tdh-font);color:var(--tdh-ink)}
.tdh-pop.is-open{display:flex}
.tdh-pop *{box-sizing:border-box}
.tdh-pop-dim{position:absolute;inset:0;background:rgba(0,0,0,.55);animation:tdh-pop-fade .18s ease-out}
.tdh-pop-box{position:relative;display:flex;flex-direction:column;width:100%;max-width:600px;max-height:min(80vh,720px);border-radius:18px;background:#fff;box-shadow:0 24px 60px rgba(0,0,0,.3);overflow:hidden;outline:none;animation:tdh-pop-in .2s ease-out}
.tdh-pop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 0 22px}
.tdh-pop-meta{font-size:13px;font-weight:650;color:var(--tdh-sub)}
.tdh-pop-x{flex:0 0 auto;width:36px;height:36px;border:0;border-radius:999px;background:var(--tdh-mist);color:var(--tdh-ink);font-size:22px;line-height:1;cursor:pointer}
.tdh-pop-x:hover{background:var(--tdh-ink);color:#fff}
.tdh-pop-scroll{flex:1 1 auto;overflow-y:auto;padding:10px 22px 22px;overscroll-behavior:contain}
.tdh-pop-title{margin:0 0 14px;font-size:clamp(20px,3vw,24px);font-weight:850;letter-spacing:-.03em;line-height:1.35}
.tdh-pop-body p{margin:0 0 12px;font-size:15.5px;line-height:1.8;color:#2a2a28}
.tdh-pop-body ul{margin:0 0 12px;padding-left:20px}
.tdh-pop-body li{margin:0 0 6px;font-size:15px;line-height:1.7;color:#2a2a28}
.tdh-pop-foot{display:flex;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid var(--tdh-line);background:#fafaf8}
.tdh-pop-nav{height:34px;padding:0 12px;border:1px solid var(--tdh-line);border-radius:999px;background:#fff;color:var(--tdh-ink);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.tdh-pop-nav:hover:not(:disabled){border-color:var(--tdh-ink)}
.tdh-pop-nav:disabled{opacity:.35;cursor:default}
.tdh-pop-count{font-size:12px;color:var(--tdh-sub);font-variant-numeric:tabular-nums}
.tdh-pop-all{margin-left:auto;display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;background:var(--tdh-ink);color:#fff!important;font-size:13px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.tdh-pop-all:hover{background:#333}
html.tdh-pop-lock,html.tdh-pop-lock body{overflow:hidden}
@keyframes tdh-pop-fade{from{opacity:0}}
@keyframes tdh-pop-in{from{opacity:0;transform:translateY(10px) scale(.98)}}
@media (max-width:720px){
  .tdh-pop{align-items:flex-end;padding:0}
  .tdh-pop-box{max-width:none;max-height:86vh;border-radius:18px 18px 0 0}
  .tdh-pop-head{padding:14px 14px 0 18px}
  .tdh-pop-scroll{padding:8px 18px 18px}
  .tdh-pop-foot{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
  .tdh-pop-nav{padding:0 10px}
}
@media (prefers-reduced-motion:reduce){.tdh-pop-dim,.tdh-pop-box{animation:none}}

/* ───── 반응형 ───── */
@media (max-width:1100px){
  .tdh-mast{flex-direction:column;align-items:stretch;gap:16px}
  .tdh-mast-side{flex:none;align-self:stretch;width:100%}
}
@media (max-width:1024px){
  .tdh-hero{grid-template-columns:1fr}
  .tdh-feature,.tdh-board{min-height:0}
  .tdh-split{grid-template-columns:1fr;gap:48px}
  .tdh-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tdh-fun-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:720px){
  .tdh-mast{flex-direction:column;align-items:flex-start;gap:14px;padding-top:24px}
  .tdh-mast-side{flex:none;align-self:stretch;width:100%;padding:3px 3px 0}
  .tdh-mast-stats{gap:2px}
  .tdh-mast-stats div{padding:5px 5px 6px;border-radius:6px;text-align:center}
  .tdh-mast-stats dt{font-size:9.5px;letter-spacing:-.03em}
  .tdh-mast-stats dd{font-size:13px}
  .tdh-mast-stats dd small,.tdh-mast-live{display:none}
  .tdh-mast-sub{gap:1px 10px;padding:4px 6px 5px;font-size:10px}
  .tdh-feature{border-radius:16px}
  .tdh-slide-media{padding:18px 18px 0;min-height:220px}
  .tdh-slide-media img{max-height:260px}
  .tdh-slide-body{padding:16px 18px 68px}
  .tdh-slide-ex{display:none}
  .tdh-feature-ctrl{left:18px;right:18px;bottom:16px}
  .tdh-board{border-radius:16px}
  .tdh-board-row{padding:10px 16px}
  .tdh-board-head{padding:0 16px 16px}
  .tdh-board-all{padding:14px 16px}
  .tdh-week-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px 6px}
  .tdh-day{flex:0 0 112px;scroll-snap-align:start}
  .tdh-sec{padding-top:40px}
  .tdh-market-cols{grid-template-columns:1fr}
  .tdh-market-col{padding:14px 16px}
  .tdh-ex-grid{grid-template-columns:1fr 1fr}
  .tdh-ex.is-lead{grid-column:1/-1;grid-row:auto;min-height:260px}
  .tdh-ex:nth-child(4){grid-column:auto}
  .tdh-fun-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tdh-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tdh-rail{grid-auto-columns:150px;margin:0 -16px;padding:0 16px 8px}
  .tdh-rail.tdh-today-rail{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px 12px;margin:10px 0 28px;padding:0}
  .tdh-list-wrap{margin-top:40px}
}
@media (prefers-reduced-motion:reduce){
  .tdh-ticker-run{animation:none}
  .tdh-slide{transition:none}
  .tdh-feature.is-playing .tdh-dot.is-active span::after{animation:none}
  .tdh-ex-img img{transition:none}
  .tdh-fc.is-f{animation:none}
}
