@charset "utf-8";
/* 더포커 화면 채우기 (2026-11-12) — thepoker-fill.js 와 짝 */

/* ---------- 1) 읽는 글 오른쪽 칸 ---------- */
.tpf-side { display: none; }
@media (min-width: 1400px) {
    .tp-page.tpf-has-side { display: grid !important; grid-template-columns: minmax(0, 1fr) 272px; column-gap: 28px; align-items: start; max-width: none; }
    .tp-page.tpf-has-side > * { grid-column: 1; min-width: 0; max-width: none !important; }
    .tp-page.tpf-has-side > .tpf-full { grid-column: 1 / -1; }
    .tp-page.tpf-has-side > .tpf-side { display: block; grid-column: 2; align-self: stretch; margin-top: 16px; }
    .tpf-side__in { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 12px; }
}
.tpf-box { padding: 16px 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tpf-box__t { margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; font-size: 12.5px !important; font-weight: 800 !important; letter-spacing: .06em; color: var(--gold) !important; }
.tpf-toc { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tpf-toc li { margin: 0; padding: 0; }
.tpf-toc li::before { display: none; }
.tpf-toc a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; margin: 0 -6px; border-radius: 8px; color: #c9d0cc !important; font-size: 14px; line-height: 1.45; text-decoration: none !important; word-break: keep-all; transition: background .15s, color .15s; }
.tpf-toc a span { flex: 0 0 auto; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.tpf-toc a:hover { background: var(--surface2); color: #fff !important; }
.tpf-toc a.is-on { background: var(--felt-bg); color: var(--felt-ink) !important; font-weight: 700; }
.tpf-toc a.is-on span { color: var(--felt-ink); }
.tpf-links { margin: 0; padding: 0; list-style: none; }
.tpf-links li { margin: 0; padding: 0; }
.tpf-links li::before { display: none; }
.tpf-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); color: #d5dbd8 !important; font-size: 14px; text-decoration: none !important; }
.tpf-links li:first-child a { border-top: 0; padding-top: 2px; }
.tpf-links a b { color: var(--dim); font-weight: 400; transition: transform .15s, color .15s; }
.tpf-links a:hover { color: #fff !important; }
.tpf-links a:hover b { color: var(--felt-ink); transform: translateX(3px); }
.tpf-cta { position: relative; overflow: hidden; display: block; padding: 18px 18px 20px; border: 1px solid #24463a; border-radius: 14px; text-decoration: none !important;
    background: radial-gradient(120% 140% at 0% 0%, #1d5a43 0%, #12271f 55%, #0e1613 100%); transition: transform .2s, box-shadow .2s; }
.tpf-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.35); }
.tpf-cta em { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--gold-ink); }
.tpf-cta strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.tpf-cta span { display: block; margin-top: 4px; font-size: 13px; color: #b9c6bf; }
.tpf-cta i { position: absolute; right: -4px; bottom: -22px; font-style: normal; font-size: 92px; line-height: 1; color: rgba(255,255,255,.07); }

/* ---------- 2) 카드 목록 : 항목이 한 줄도 못 채울 때 늘려서 채우기 ---------- */
.pb-rgrid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important; }
@media (min-width: 1281px) {
    body.tp .mk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* ---------- 3) 도구 화면 : 설명 칸이 표 옆에 따라오게 ---------- */
/* 붙어 따라오는(sticky) 방식은 키 큰 계산기 칸이 아래 칸과 겹쳐 보여서 쓰지 않는다 → 설명 칸을 계산기 높이만큼 늘린다 */
@media (min-width: 1400px) {
    .tp-page--duo > .tp-card { position: static !important; }
    .tp-page--duo > .tp-card:not(.tx-full) { align-self: stretch; margin-top: 0; }
    .tp-page--duo .tpf-stick { position: sticky; top: 86px; }
}

/* ---------- 4) 사진 없는 뉴스 : 표지처럼 ---------- */
.tp-thumb__img i.tp-ph { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; padding: 16px 18px;
    letter-spacing: 0; text-align: left; color: #fff;
    background: radial-gradient(130% 120% at 100% 0%, #2a5a46 0%, #15281f 45%, #0d1512 100%); }
.tp-thumb__img i.tp-ph::before { content: "♠"; position: absolute; right: -6%; top: -18%; font-size: 180%; font-size: clamp(90px, 42%, 260px); line-height: 1; color: rgba(255,255,255,.06); font-weight: 400; }
.tp-thumb__img i.tp-ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 10px); pointer-events: none; }
.tp-ph em { position: relative; z-index: 1; padding: 4px 9px; border-radius: 6px; background: rgba(201,165,93,.16); border: 1px solid rgba(201,165,93,.45); font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--gold-ink); }
.tp-ph b { position: relative; z-index: 1; display: none; font-size: 15px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; color: #fff; word-break: keep-all; }
.tp-thumb--lead .tp-ph { padding: 30px 32px; gap: 14px; }
.tp-thumb--lead .tp-ph b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 30px; line-height: 1.3; max-width: 92%; }
.tp-thumb--lead .tp-ph em { font-size: 12px; }
@media (max-width: 640px) { .tp-thumb--lead .tp-ph b { font-size: 20px; } .tp-thumb--lead .tp-ph { padding: 18px; } }

/* 옆 칸이 없는 화면의 설명 카드는 줄 끝까지 (900px 에서 멈춰 오른쪽이 비던 것) */
@media (min-width: 1281px) {
    .tp-page:not(.tpf-has-side) > .tp-prose, .tp-page:not(.tpf-has-side) > .tp-note { max-width: none; }
}

/* 홀덤펍 덜 찬 줄 채움 카드 */
.tpf-more { list-style: none; min-height: 100%; }
.tpf-more a { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; min-height: 220px; padding: 22px 24px;
    border: 1px dashed var(--line2); border-radius: 12px; text-decoration: none !important;
    background: radial-gradient(120% 120% at 100% 0%, #1f3a2f 0%, #141b18 55%, var(--surface) 100%); transition: border-color .2s, transform .2s; }
.tpf-more a:hover { border-color: var(--felt2); transform: translateY(-2px); }
.tpf-more i { position: absolute; right: 18px; top: 6px; font-style: normal; font-size: 120px; line-height: 1; color: rgba(255,255,255,.05); }
.tpf-more em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--gold); }
.tpf-more strong { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.tpf-more span { font-size: 14px; color: var(--felt-ink); }
/* 작은 뉴스 썸네일은 글자 대신 무늬만 (좁은 칸에서 줄바꿈되던 것) */
.tp-thumbs--lead .tp-thumb:not(.tp-thumb--lead) .tp-ph em { display: none; }
.tp-thumbs--lead .tp-thumb:not(.tp-thumb--lead) .tp-ph::before { right: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 64px; color: rgba(201,165,93,.22); }
