@charset "utf-8";
/* ==========================================================================
   더포커 (THE POKER) — "테이블에서 공부하는" 어두운 테마
   1. 색·기본  2. 카드  3. 상단·하단  4. 공통 부품  5. 메인  6. 퀴즈
   7. 도구  8. 입문 안내  9. 게시판·회원 화면(그누보드 기본 스킨 다듬기)
   ========================================================================== */

/* ---------- 1. 색·기본 ---------- */
:root {
    --bg: #0d1012;
    --bg2: #12161a;
    --surface: #171c20;
    --surface2: #1e2429;
    --line: #2a3238;
    --line2: #3a454d;
    --text: #e9e6de;
    --muted: #9aa4aa;
    --dim: #6f7a81;
    --felt: #1f7a55;
    --felt2: #2a9d6f;
    --felt-ink: #86d9b2;
    --felt-bg: #11231c;
    --gold: #c9a55d;
    --gold-ink: #e2c688;
    --gold-bg: #29231a;
    --red: #dc5055;
    --red-bg: #2b181a;
    --card: #fbfaf6;
    --card-red: #c5242b;
    --card-black: #15181b;
    --radius: 14px;
    --radius-sm: 9px;
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

html { overflow-y: scroll; -webkit-text-size-adjust: 100%; }
html.tp-lock { overflow: hidden; }
body.tp {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
}
body.tp h1, body.tp h2, body.tp h3, body.tp h4, body.tp h5, body.tp h6,
body.tp input, body.tp button, body.tp textarea, body.tp select { font-family: var(--font); }
body.tp p { word-break: keep-all; overflow-wrap: anywhere; }
body.tp a { color: var(--text); }
body.tp a:hover { color: var(--felt-ink); text-decoration: none; }
body.tp ::selection { background: var(--felt); color: #fff; }
body.tp :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.tp img { max-width: 100%; height: auto; }
body.tp #hd_login_msg { display: none; }
.tp-num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ---------- 2. 카드 ---------- */
.pc-row { display: inline-flex; gap: 5px; vertical-align: middle; flex-wrap: nowrap; }
.pc {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    width: 46px; height: 62px; flex: 0 0 auto;
    border-radius: 7px;
    background: linear-gradient(180deg, #ffffff 0%, var(--card) 55%, #ece9e0 100%);
    color: var(--card-black);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 3px 8px rgba(0, 0, 0, .45);
    font-family: var(--font); font-weight: 800; line-height: 1; letter-spacing: -0.05em;
    user-select: none;
}
.pc--h, .pc--d { color: var(--card-red); }
.pc__r { font-size: 23px; }
.pc__s { font-size: 21px; margin-top: 3px; font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", sans-serif; font-weight: 400; }
.pc--sm { width: 30px; height: 41px; border-radius: 5px; }
.pc--sm .pc__r { font-size: 15px; }
.pc--sm .pc__s { font-size: 13px; margin-top: 2px; }
.pc--empty { background: transparent; box-shadow: none; border: 1.5px dashed rgba(255, 255, 255, .22); }
.pc--back {
    background: repeating-linear-gradient(45deg, #1d6f4e 0 4px, #185f43 4px 8px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 0 3px var(--card), 0 3px 8px rgba(0, 0, 0, .45);
}
.pc-row.pc--sm, .pc-row .pc--sm { vertical-align: middle; }
/* 글 속에 끼어 있는 작은 카드 줄 */
#bo_v_con .pc-row, .cmt_contents .pc-row, .qz-desc .pc-row, .qz-explain .pc-row, .tp-prose .pc-row { margin: 2px 3px; vertical-align: -12px; }

/* ---------- 3. 상단·하단 ---------- */
.tp-skip a { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 10px 16px; background: var(--gold); color: #111 !important; font-weight: 700; }
.tp-skip a:focus { left: 8px; top: 8px; }

.tp-hd { position: sticky; top: 0; z-index: 100; background: rgba(13, 16, 18, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tp-hd__in { display: flex; align-items: center; gap: 28px; max-width: 1160px; height: 62px; margin: 0 auto; padding: 0 20px; }

.tp-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text) !important; white-space: nowrap; flex: 0 0 auto; }
.tp-logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; border-radius: 5px; background: linear-gradient(180deg, #fff, #ece9e0); color: #15181b; font-size: 19px; line-height: 1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 2px 5px rgba(0, 0, 0, .5); transform: rotate(-6deg); font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif; }
.tp-logo__text { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; }
.tp-logo__en { font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--gold); padding-top: 4px; }

.tp-nav { flex: 1 1 auto; min-width: 0; }
.tp-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tp-nav__item { position: relative; }
.tp-nav__link { display: block; padding: 0 13px; line-height: 62px; font-size: 15px; font-weight: 600; color: var(--muted) !important; white-space: nowrap; transition: color .15s; }
.tp-nav__item:hover > .tp-nav__link, .tp-nav__item.is-on > .tp-nav__link { color: var(--text) !important; }
.tp-nav__item.is-on > .tp-nav__link { box-shadow: inset 0 -2px 0 var(--felt2); }
.tp-nav__sub { display: none; position: absolute; left: 0; top: 100%; min-width: 180px; margin: 0; padding: 8px; list-style: none; background: var(--surface2); border: 1px solid var(--line2); border-radius: 0 0 12px 12px; box-shadow: 0 16px 32px rgba(0, 0, 0, .5); }
.tp-nav__item:hover > .tp-nav__sub, .tp-nav__item:focus-within > .tp-nav__sub { display: block; }
.tp-nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--muted) !important; white-space: nowrap; }
.tp-nav__sub a:hover { background: var(--felt-bg); color: var(--felt-ink) !important; }

.tp-user { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.tp-user__point { padding: 5px 10px; border-radius: 999px; background: var(--gold-bg); color: var(--gold-ink) !important; font-size: 12px; }
.tp-user__point b { font-family: var(--mono); font-weight: 700; }
.tp-user__nick { color: var(--text); font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-user__btn { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 999px; color: var(--muted) !important; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tp-user__btn:hover { border-color: var(--felt2); color: var(--felt-ink) !important; }
.tp-user__btn--gold { border-color: rgba(201, 165, 93, .5); color: var(--gold-ink) !important; }

.tp-burger { display: none; flex: 0 0 auto; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; position: relative; }
.tp-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.tp-burger span:nth-child(1) { top: 14px; }
.tp-burger span:nth-child(2) { top: 21px; }
.tp-burger span:nth-child(3) { top: 28px; }
.tp-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp-burger.is-open span:nth-child(2) { opacity: 0; }
.tp-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tp-drawer { position: fixed; inset: 62px 0 0 0; z-index: 99; background: rgba(0, 0, 0, .6); overflow-y: auto; }
.tp-drawer[hidden] { display: none; }
.tp-drawer__panel { background: var(--bg2); border-bottom: 1px solid var(--line); padding: 16px 20px 24px; }
.tp-drawer__user { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.tp-drawer__user strong { font-size: 16px; }
.tp-drawer__user span { color: var(--gold-ink); font-size: 13px; }
.tp-drawer__user b { font-family: var(--mono); }
.tp-drawer__list { margin: 8px 0 0; padding: 0; list-style: none; }
.tp-drawer__list .tp-nav__item { border-bottom: 1px solid var(--line); }
.tp-drawer__list .tp-nav__link { line-height: 1.4; padding: 14px 0; font-size: 16px; color: var(--text) !important; box-shadow: none !important; }
.tp-drawer__list .tp-nav__sub { display: flex; flex-wrap: wrap; gap: 6px; position: static; min-width: 0; padding: 0 0 14px; background: none; border: 0; box-shadow: none; }
.tp-drawer__list .tp-nav__sub a { padding: 7px 12px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; }
.tp-drawer__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 18px; font-size: 13px; }
.tp-drawer__foot a { color: var(--muted) !important; }

.tp-wrap { min-width: 0 !important; }
body.tp #wrapper { min-width: 0; }
body.tp #container, .tp-container { float: none; width: auto; max-width: 1160px; min-height: 60vh; margin: 0 auto; padding: 28px 20px 72px; position: relative; }
body.tp #container_title { margin: 0 0 20px; padding: 0 0 14px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; color: var(--text); background: none; }
body.tp #container_title span { margin: 0; padding: 0; line-height: 1.3; }

.tp-ft { background: #0a0c0e; border-top: 1px solid var(--line); min-width: 0 !important; padding: 0; color: var(--muted); text-align: left; }
.tp-ft__in { max-width: 1160px; margin: 0 auto; padding: 36px 20px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.tp-ft__brand p { margin-top: 10px; font-size: 13px; color: var(--dim); }
.tp-logo--ft .tp-logo__text { font-size: 17px; }
.tp-logo--ft .tp-logo__mark { width: 22px; height: 29px; font-size: 15px; }
.tp-ft__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; justify-content: flex-end; font-size: 13px; }
.tp-ft__nav a { color: var(--muted) !important; }
.tp-ft__nav a:hover { color: var(--felt-ink) !important; }
.tp-ft__safe { grid-column: 1 / -1; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg2); font-size: 13px; line-height: 1.8; }
.tp-ft__safe p { margin: 0; }
.tp-ft__1336 { color: var(--text); font-weight: 600; }
.tp-ft__1336 b { font-family: var(--mono); font-size: 16px; color: var(--gold-ink); }
.tp-ft__1336 a { color: inherit !important; }
.tp-ft__copy { grid-column: 1 / -1; font-size: 12px; color: var(--dim); }
body.tp #top_btn.tp-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 50%; background: var(--surface2); color: var(--text); opacity: 0; pointer-events: none; transition: opacity .2s; line-height: 1; }
body.tp #top_btn.tp-top.is-show { opacity: 1; pointer-events: auto; }

.tp-minihd { padding: 44px 20px 0; text-align: center; }
.tp-minift { margin: 28px auto 40px; padding: 0 20px; max-width: 420px; text-align: center; font-size: 12px; line-height: 1.8; color: var(--dim); }
.tp-minift b { font-family: var(--mono); color: var(--gold-ink); font-size: 14px; }
.tp-minift a { color: inherit !important; }

/* ---------- 4. 공통 부품 ---------- */
.tp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tp-card--flush { padding: 0; overflow: hidden; }
.tp-card + .tp-card, .tp-page .tp-card { margin-top: 16px; }
.tp-card__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tp-card__title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.tp-card__meta { font-size: 12px; color: var(--dim); }
.tp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--felt2); box-shadow: 0 0 0 4px rgba(42, 157, 111, .18); }

.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; text-decoration: none; }
.tp-btn--felt { background: var(--felt); color: #fff !important; }
.tp-btn--felt:hover { background: var(--felt2); color: #fff !important; }
.tp-btn--line { background: transparent; border-color: var(--felt2); color: var(--felt-ink) !important; }
.tp-btn--line:hover { background: var(--felt-bg); }
.tp-btn--ghost { background: transparent; border-color: var(--line2); color: var(--muted) !important; }
.tp-btn--ghost:hover { border-color: var(--muted); color: var(--text) !important; }
.tp-btn--lg { min-height: 50px; padding: 0 26px; font-size: 16px; }
.tp-btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.tp-btn:disabled { opacity: .5; cursor: default; }

.tp-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; background: var(--surface2); color: var(--muted); border: 1px solid var(--line2); }
.tp-badge--lv1 { background: var(--felt-bg); border-color: rgba(42, 157, 111, .45); color: var(--felt-ink); }
.tp-badge--lv2 { background: var(--gold-bg); border-color: rgba(201, 165, 93, .45); color: var(--gold-ink); }
.tp-badge--lv3 { background: var(--red-bg); border-color: rgba(220, 80, 85, .45); color: #f0a0a3; }

.tp-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.tp-empty { margin: 0; padding: 28px 12px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.9; }
.tp-empty--sm { padding: 16px 0; text-align: left; font-size: 13px; color: var(--dim); }
.tp-empty .tp-btn { margin-top: 12px; }
.tp-note { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--gold-bg); border-radius: 0 8px 8px 0; font-size: 13px; color: #d9cfb8; line-height: 1.7; }
.tp-input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg2); color: var(--text); font-size: 15px; font-family: var(--font); }
.tp-input:focus { border-color: var(--felt2) !important; box-shadow: 0 0 0 3px rgba(42, 157, 111, .2) !important; outline: none; }
textarea.tp-input { min-height: 0; resize: vertical; }

.tp-page { max-width: 1000px; margin: 0 auto; }
.tp-page--narrow { max-width: 760px; }
.tp-page__hd { margin-bottom: 22px; }
.tp-page__hd h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; }
.tp-page__lead { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.tp-tabs { display: flex; gap: 4px; margin: 0 0 20px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); overflow-x: auto; scrollbar-width: none; }
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tabs__label { display: none; }
.tp-tabs a { flex: 1 0 auto; padding: 9px 14px; border-radius: 9px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted) !important; white-space: nowrap; }
.tp-tabs a.is-on { background: var(--surface2); color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--line2); }
.tp-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tp-filter a, .tp-filter button { padding: 6px 13px; border: 1px solid var(--line2); border-radius: 999px; background: transparent; color: var(--muted) !important; font-size: 13px; font-weight: 600; cursor: pointer; }
.tp-filter .is-on { border-color: var(--felt2); background: var(--felt-bg); color: var(--felt-ink) !important; }
.tp-filter span { font-size: 11px; opacity: .7; }

.tp-table-wrap { overflow-x: auto; }
.tp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tp-table th, .tp-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.tp-table thead th { background: var(--bg2); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tp-table tbody tr:last-child th, .tp-table tbody tr:last-child td { border-bottom: 0; }
.tp-table .ta-l { text-align: left; }

.tp-prose h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.tp-prose h3 { margin: 0; font-size: 16px; }
.tp-prose p { margin: 0 0 10px; color: #cfd3d1; line-height: 1.8; }
.tp-prose p:last-child { margin-bottom: 0; }
.tp-prose ul, .tp-prose ol { margin: 0 0 10px; padding-left: 20px; list-style: disc; color: #cfd3d1; }
.tp-prose ol { list-style: decimal; }
.tp-prose li { margin: 6px 0; line-height: 1.75; list-style: inherit; }
.tp-prose b, .tp-prose strong { color: var(--text); font-weight: 700; }
.tp-prose a { color: var(--felt-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

.tp-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); }
.tp-modal__panel { width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto; padding: 22px; border: 1px solid var(--line2); border-radius: var(--radius); background: var(--surface); }
.tp-modal__panel h2 { margin: 0 0 6px; font-size: 18px; }
.tp-modal__desc { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.tp-modal__reasons { display: grid; gap: 6px; margin-bottom: 12px; }
.tp-modal__reasons label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; cursor: pointer; }
.tp-modal__reasons input { accent-color: var(--felt2); width: 16px; height: 16px; margin: 0; }
.tp-modal__msg { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.tp-modal__msg.is-ok { color: var(--felt-ink); }
.tp-modal__msg.is-bad { color: #f0a0a3; }
.tp-modal__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* ---------- 5. 메인 ---------- */
.tp-main { display: flex; flex-direction: column; gap: 44px; }
.tp-hero { padding: 18px 0 0; }
.tp-hero__title { margin: 0; font-size: 40px; font-weight: 800; line-height: 1.22; letter-spacing: -0.045em; }
.tp-hero__title em { font-style: normal; color: var(--felt-ink); }
.tp-hero__desc { margin: 14px 0 0; max-width: 520px; color: var(--muted); font-size: 16px; }
.tp-top-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 16px; margin-top: -20px; align-items: stretch; }
.tp-top-grid > .tp-card { margin-top: 0; }
.tp-top-grid > .tp-quizcard:only-child { grid-column: 1 / -1; }

.tp-quizcard { background: linear-gradient(160deg, #18221f 0%, var(--surface) 55%); }
.tp-quizcard__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: center; }
.tp-quizcard__text h3 { margin: 10px 0 8px; font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; }
.tp-quizcard__desc { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.tp-quizcard__hint { display: inline-block; margin-left: 10px; font-size: 12px; color: var(--gold-ink); }
.tp-quizcard__done { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.tp-quizcard__done.is-ok { color: var(--felt-ink); }
.tp-quizcard__done.is-no { color: var(--gold-ink); }
.tp-quizcard__text .tp-btn + .tp-btn { margin-left: 6px; }

.tp-me__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.tp-me__stats > div { padding: 12px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); text-align: center; }
.tp-me__stats dt { font-size: 11px; color: var(--muted); }
.tp-me__stats dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: var(--text); }
.tp-me__stats small { margin-left: 2px; font-size: 12px; font-weight: 500; color: var(--muted); font-family: var(--font); }
.tp-me__none { color: var(--dim); }
.tp-me__sub { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.tp-me__sub b { color: var(--text); }
.tp-me__links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.tp-me__links a { color: var(--felt-ink) !important; }

.tp-sec__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tp-sec__hd h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.tp-sec__hd a { font-size: 13px; color: var(--muted) !important; white-space: nowrap; }
.tp-sec__hd a:hover { color: var(--felt-ink) !important; }

.tp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tp-tool { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, transform .15s; }
.tp-tool:hover { border-color: var(--felt2); transform: translateY(-2px); }
.tp-tool__num { font-size: 30px; font-weight: 700; color: var(--felt-ink); line-height: 1.2; }
.tp-tool__num small { font-size: 15px; color: var(--muted); font-weight: 500; }
.tp-tool__cards { display: flex; align-items: center; gap: 8px; min-height: 41px; }
.tp-tool__cards i { font-style: normal; font-size: 12px; color: var(--dim); }
.tp-tool strong { font-size: 16px; color: var(--text); }
.tp-tool > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.65; }
.tp-tools--lg .tp-tool { padding: 24px; }

.tp-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tp-reviews a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.tp-reviews a:hover { border-color: var(--felt2); }
.tp-reviews__cards { flex: 0 0 auto; }
.tp-reviews__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-reviews__txt strong { font-size: 15px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-reviews__txt em { font-style: normal; font-size: 12px; color: var(--dim); }

.tp-course { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tp-course a { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.tp-course a:hover { border-color: var(--felt2); }
.tp-course b { grid-row: 1 / 3; font-size: 20px; font-weight: 700; color: var(--felt2); }
.tp-course strong { font-size: 15px; color: var(--text); }
.tp-course span { font-size: 12px; color: var(--muted); }
.tp-course .is-warn a { border-color: rgba(201, 165, 93, .4); background: var(--gold-bg); }
.tp-course .is-warn b { color: var(--gold); }
.tp-course--lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-course--lg a { padding: 20px 22px; }

.tp-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tp-latest__box { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.tp-latest__box h3 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.tp-latest__box h3 a { color: var(--text) !important; }
.tp-latest__box ul { margin: 0; padding: 0; list-style: none; }
.tp-latest__box li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.tp-latest__box li a { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; color: #cfd3d1 !important; }
.tp-latest__box li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-latest__box li a:hover { color: var(--felt-ink) !important; }
.tp-latest__box li i { font-style: normal; font-size: 11px; color: var(--gold-ink); flex: 0 0 auto; }
.tp-latest__box time { flex: 0 0 auto; font-size: 11px; color: var(--dim); }
.tp-latest__box .pc-row { display: none; }

/* ---------- 6. 퀴즈 ---------- */
.qz-felt { padding: 20px; border-radius: 12px; background: radial-gradient(120% 140% at 50% 0%, #1d6b4c 0%, #134a35 55%, #0e3526 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .18), inset 0 0 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 14px; }
.qz-felt__row { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.qz-felt__label { flex: 0 0 52px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .7); letter-spacing: -0.01em; }
.qz-felt__ghost { opacity: .9; }
.qz-felt__info { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.qz-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .32); color: #fff; font-size: 13px; font-weight: 600; }
.qz-chip em { font-style: normal; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .6); }

.qz-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.qz-stat > div { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-align: center; }
.qz-stat dt { font-size: 12px; color: var(--muted); }
.qz-stat dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; }
.qz-stat small { margin-left: 2px; font-size: 12px; color: var(--muted); font-weight: 500; font-family: var(--font); }

.qz { padding: 24px; }
.qz-hd { margin-bottom: 16px; }
.qz-hd__meta { margin: 0 0 8px; font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.qz-hd__title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; }
.qz-desc { margin: 16px 0 0; color: #cfd3d1; line-height: 1.85; }
.qz-form { margin-top: 20px; }
.qz-form fieldset { margin: 0; padding: 0; border: 0; }
.qz-opts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qz-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 11px; background: var(--bg2); cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; }
.qz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz-opt__no { flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); position: relative; background: var(--bg2); }
.qz-opt__txt { flex: 1 1 auto; font-size: 15px; font-weight: 500; position: relative; line-height: 1.5; }
label.qz-opt:hover { border-color: var(--felt2); }
label.qz-opt:has(input:checked) { border-color: var(--felt2); background: var(--felt-bg); }
label.qz-opt:has(input:checked) .qz-opt__no { background: var(--felt); border-color: var(--felt); color: #fff; }
label.qz-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.qz-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.qz-form__note { margin: 0; font-size: 13px; color: var(--muted); flex: 1 1 260px; }
.qz-form__note b { color: var(--gold-ink); }

.qz-result { margin-top: 20px; }
.qz-result__head { margin: 0 0 12px; padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.qz-result.is-ok .qz-result__head { background: var(--felt-bg); color: var(--felt-ink); border: 1px solid rgba(42, 157, 111, .4); }
.qz-result.is-no .qz-result__head { background: var(--gold-bg); color: var(--gold-ink); border: 1px solid rgba(201, 165, 93, .4); }
.qz-opts--done .qz-opt { cursor: default; }
.qz-opt__bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 255, 255, .05); transition: width .4s; }
.qz-opt__pct { position: relative; flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.qz-opt.is-answer { border-color: var(--felt2); }
.qz-opt.is-answer .qz-opt__bar { background: rgba(42, 157, 111, .2); }
.qz-opt.is-answer .qz-opt__no { background: var(--felt); border-color: var(--felt); color: #fff; }
.qz-opt.is-mine:not(.is-answer) { border-color: rgba(220, 80, 85, .7); }
.qz-opt.is-mine:not(.is-answer) .qz-opt__no { background: var(--red-bg); border-color: var(--red); color: #f0a0a3; }
.qz-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.qz-tag--ok { background: var(--felt); color: #fff; }
.qz-tag--me { background: transparent; border: 1px solid var(--line2); color: var(--muted); }
.qz-result__dist { margin: 10px 0 0; font-size: 12px; color: var(--dim); }
.qz-explain { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); }
.qz-explain h3 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--gold-ink); }
.qz-explain div { color: #d6d9d6; line-height: 1.9; font-size: 15px; }
.qz-after { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.qz-after b { color: var(--gold-ink); }
.qz-next { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.qz-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qz-list a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.qz-list a:hover { border-color: var(--felt2); }
.qz-list__cards { flex: 0 0 auto; }
.qz-list__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.qz-list__txt strong { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.45; }
.qz-list__txt em { font-style: normal; font-size: 12px; color: var(--dim); }
.qz-list__my { flex: 0 0 auto; font-size: 12px; color: var(--dim); white-space: nowrap; }
.qz-list__my.is-ok { color: var(--felt-ink); font-weight: 700; }
.qz-list__my.is-no { color: #f0a0a3; font-weight: 700; }
.qz-rank__no { font-weight: 700; color: var(--muted); }
.qz-rank__no.is-top { color: var(--gold-ink); }
.qz-rank tr.is-me td { background: var(--felt-bg); }

/* ---------- 7. 도구 ---------- */
.eq { display: grid; gap: 16px; }
.eq .tp-card { margin-top: 0; }
.eq__presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 12px; color: var(--dim); }
.eq__presets button, .po__quick button { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.eq__presets button:hover, .po__quick button:hover { border-color: var(--felt2); color: var(--felt-ink); }
.eq__players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.eq-player { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.eq-player__name { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.eq-player__rm { margin-left: auto; padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; background: none; color: var(--dim); font-size: 12px; }
.eq__slots { display: flex; gap: 6px; flex-wrap: wrap; }
.eq-slot { padding: 3px; border: 2px solid transparent; border-radius: 10px; background: none; line-height: 0; }
.eq-slot.is-active { border-color: var(--gold); background: rgba(201, 165, 93, .12); }
.eq__addrow { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.eq__hint { font-size: 12px; color: var(--dim); }
.eq__board { margin-top: 18px; padding: 16px; border-radius: 12px; background: radial-gradient(120% 140% at 50% 0%, #1d6b4c 0%, #134a35 55%, #0e3526 100%); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .18); }
.eq__label { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.eq__label small { margin-left: 6px; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.eq__picker { margin-top: 18px; }
.eq__picker-hd { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.eq__grid { display: grid; gap: 4px; }
.eq-grid__row { display: grid; grid-template-columns: 22px repeat(13, minmax(0, 1fr)); gap: 3px; align-items: center; }
.eq-grid__suit { text-align: center; font-size: 16px; color: #d9dcdb; font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif; }
.eq-grid__row--h .eq-grid__suit, .eq-grid__row--d .eq-grid__suit { color: #ef6c71; }
.eq-pick { height: 38px; padding: 0; border: 0; border-radius: 6px; background: var(--card); color: var(--card-black); font-size: 14px; font-weight: 800; letter-spacing: -0.05em; }
.eq-grid__row--h .eq-pick, .eq-grid__row--d .eq-pick { color: var(--card-red); }
.eq-pick:hover:not(:disabled) { background: #fff; box-shadow: 0 0 0 2px var(--gold); }
.eq-pick:disabled { background: var(--surface2); color: var(--line2) !important; cursor: default; }
.eq__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.eq__msg { min-height: 22px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.eq__msg.is-bad { color: #f0a0a3; }
.eq-res { padding: 14px 0; border-top: 1px solid var(--line); }
.eq-res:first-child { border-top: 0; padding-top: 4px; }
.eq-res__head { display: flex; align-items: center; gap: 12px; }
.eq-res__name { font-size: 13px; font-weight: 700; color: var(--muted); }
.eq-res__eq { margin-left: auto; font-size: 26px; font-weight: 700; color: var(--text); }
.eq-res.is-best .eq-res__eq { color: var(--felt-ink); }
.eq-res__bar { height: 8px; margin-top: 10px; border-radius: 999px; background: var(--bg2); overflow: hidden; }
.eq-res__bar span { display: block; height: 100%; border-radius: 999px; background: var(--line2); }
.eq-res.is-best .eq-res__bar span { background: linear-gradient(90deg, var(--felt), var(--felt2)); }
.eq-res__sub { margin: 6px 0 0; font-size: 12px; color: var(--dim); }
.eq__count { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

.po__inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.po__field span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.po__field small { font-weight: 400; color: var(--dim); }
.po__field input { font-size: 18px; font-weight: 600; }
.po__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--dim); }
.po__out { margin-top: 20px; padding: 20px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px 20px; }
.po__big span { display: block; font-size: 12px; color: var(--muted); }
.po__big strong { display: block; font-size: 40px; font-weight: 700; line-height: 1.25; color: var(--felt-ink); }
.po__big--sub strong { font-size: 26px; color: var(--text); padding-top: 12px; }
.po__line { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: #d6d9d6; }
.po__verdict { grid-column: 1 / -1; margin: 6px 0 0; padding: 10px 14px; border-radius: 9px; background: var(--surface2); font-size: 14px; }
.po__verdict.is-ok { background: var(--felt-bg); color: var(--felt-ink); }
.po__verdict.is-no { background: var(--red-bg); color: #f0a0a3; }

.ot th small { display: block; font-weight: 400; color: var(--dim); font-size: 11px; }
.ot tbody th { text-align: left; background: transparent; white-space: nowrap; }
.ot tbody th b { display: inline-block; min-width: 26px; font-size: 16px; color: var(--text); }
.ot tbody th span { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--gold-ink); white-space: normal; }
.ot tr.is-named { background: rgba(201, 165, 93, .05); }
.ot__both { color: var(--felt-ink); font-weight: 700; }
.ot__rule { color: var(--dim); }

/* ---------- 8. 입문 안내 ---------- */
.gd-lead { font-size: 17px !important; line-height: 1.75 !important; color: var(--text) !important; margin: 0 !important; }
.gd-lead b { color: var(--felt-ink); }
.gd-demo { margin-top: 18px; padding: 20px; border-radius: 12px; background: radial-gradient(120% 140% at 50% 0%, #1d6b4c 0%, #134a35 55%, #0e3526 100%); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .18); display: grid; gap: 14px; }
.gd-demo__row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.gd-demo__label { flex: 0 0 62px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.gd-demo__cap { margin: 0 !important; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); color: #e3efe9 !important; font-size: 14px; line-height: 2.4 !important; }
.gd-steps { list-style: none !important; padding: 0 !important; counter-reset: gd; }
.gd-steps li { counter-increment: gd; display: grid; grid-template-columns: 34px 110px 1fr; gap: 4px 10px; align-items: baseline; margin: 0 !important; padding: 12px 0; border-bottom: 1px solid var(--line); list-style: none !important; }
.gd-steps li:last-child { border-bottom: 0; }
.gd-steps li::before { content: counter(gd); width: 26px; height: 26px; border-radius: 50%; background: var(--felt-bg); border: 1px solid rgba(42, 157, 111, .5); color: var(--felt-ink); font-family: var(--mono); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.gd-steps span { color: #cfd3d1; }
.gd-actions { display: grid; gap: 0; margin: 0 0 10px; }
.gd-actions > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.gd-actions > div:last-child { border-bottom: 0; }
.gd-actions dt { font-weight: 700; color: var(--felt-ink); }
.gd-actions dd { margin: 0; color: #cfd3d1; }

.gd-hands { margin: 16px 0 0; padding: 0; list-style: none; }
.gd-hands li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.gd-hands__no { font-size: 18px; font-weight: 700; color: var(--gold); text-align: center; }
.gd-hands__txt strong { font-size: 16px; }
.gd-hands__txt em { margin-left: 6px; font-style: normal; font-size: 12px; color: var(--dim); }
.gd-hands__txt p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.gd-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 14px; padding: 16px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); text-align: center; }
.gd-vs span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }
.gd-vs em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--muted); }
.gd-vs__side.is-win em { color: var(--felt-ink); font-weight: 700; }
.gd-vs .pc-row { margin: 0 !important; vertical-align: middle !important; }

.gd-seats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; margin: 18px 0 10px; }
.gd-seat { padding: 12px 2px; border-radius: 10px; text-align: center; border: 1px solid var(--line2); background: var(--bg2); }
.gd-seat b { display: block; font-family: var(--mono); font-size: 13px; color: var(--text); }
.gd-seat span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); line-height: 1.3; min-height: 13px; }
.gd-seat--blind { border-color: rgba(154, 164, 170, .5); }
.gd-seat--early { border-color: rgba(220, 80, 85, .6); background: var(--red-bg); }
.gd-seat--mid { border-color: rgba(201, 165, 93, .6); background: var(--gold-bg); }
.gd-seat--late { border-color: rgba(42, 157, 111, .7); background: var(--felt-bg); }
.gd-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 4px !important; padding: 0 !important; list-style: none !important; font-size: 12px; }
.gd-legend li { margin: 0 !important; padding: 2px 10px; border: 1px solid; border-radius: 999px; list-style: none !important; color: var(--muted); }

.gd-street { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.gd-street header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gd-street header b { width: 26px; height: 26px; border-radius: 50%; background: var(--felt); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.gd-street header span { margin-left: auto; font-size: 12px; color: var(--dim); }
.gd-street__cards { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 12px; }
.gd-street__cards .gd-demo__label { color: var(--muted); flex-basis: 50px; }
.gd-street__cards .pc-row { margin: 0 !important; vertical-align: middle !important; }
.gd-demo .pc-row { margin: 0 2px !important; }

.gd-warn { border-color: rgba(201, 165, 93, .45); background: var(--gold-bg); }
.gd-ban { list-style: none !important; padding: 0 !important; }
.gd-ban li { position: relative; margin: 0 !important; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); list-style: none !important; }
.gd-ban li::before { content: "×"; position: absolute; left: 4px; top: 7px; color: var(--red); font-weight: 800; font-size: 17px; }
.gd-1336 { text-align: center; padding: 34px 20px; border-color: rgba(201, 165, 93, .45); background: linear-gradient(180deg, var(--gold-bg), var(--surface)); }
.gd-1336 p { margin: 0; font-size: 14px; color: var(--muted); }
.gd-1336__num { display: block; margin: 4px 0; font-size: 64px; font-weight: 700; line-height: 1.1; color: var(--gold-ink) !important; letter-spacing: 0.02em; }
.gd-1336 span { font-size: 13px; color: var(--muted); }
.gd-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.gd-pager a { flex: 0 1 48%; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 700; font-size: 15px; }
.gd-pager a:hover { border-color: var(--felt2); }
.gd-pager small { display: block; font-size: 11px; font-weight: 500; color: var(--dim); }
.gd-pager__next { text-align: right; margin-left: auto; }

.gl__tools { position: sticky; top: 70px; z-index: 5; padding: 14px; margin-bottom: 8px; }
.gl__cats { margin: 10px 0 0; }
.gl__sec { margin-top: 22px; }
.gl__sec h2 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.gl__list { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.gl__item { display: grid; grid-template-columns: 220px 1fr; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); }
.gl__item:first-child { border-top: 0; }
.gl__item[hidden] { display: none; }
.gl__item dt { font-weight: 700; color: var(--text); }
.gl__item dt em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--dim); }
.gl__item dd { margin: 0; color: #cfd3d1; line-height: 1.7; }

/* ---------- 9. 게시판·회원 화면 (그누보드 기본 스킨 다듬기) ---------- */
body.tp .btn, body.tp .btn_submit, body.tp .btn_cancel, body.tp .btn_frmline, body.tp a.btn_b01, body.tp a.btn_b02, body.tp .btn_b01, body.tp .btn_b02, body.tp .btn_b03, body.tp .btn_close { border-radius: 9px; font-family: var(--font); font-weight: 600; }
body.tp .btn_submit, body.tp a.btn_b02, body.tp .btn_b02 { background: var(--felt); color: #fff !important; border: 0; }
body.tp .btn_submit:hover, body.tp a.btn_b02:hover { background: var(--felt2); }
body.tp .btn_cancel, body.tp a.btn_b01, body.tp .btn_b01, body.tp .btn_b03, body.tp .btn_frmline, body.tp .btn_close { background: var(--surface2); color: var(--text) !important; border: 1px solid var(--line2); }
body.tp a.btn_b01:hover, body.tp .btn_b01:hover, body.tp .btn_cancel:hover, body.tp .btn_b03:hover { background: var(--line); }
body.tp .btn_admin { background: var(--gold-bg) !important; color: var(--gold-ink) !important; border: 1px solid rgba(201, 165, 93, .5); }
body.tp .btn_admin .fa-spin { animation: none; }

body.tp .frm_input, body.tp textarea, body.tp select, body.tp .sch_input, body.tp input[type="text"], body.tp input[type="password"], body.tp input[type="search"], body.tp input[type="number"], body.tp input[type="email"] { background: var(--bg2); border: 1px solid var(--line2); color: var(--text); border-radius: 9px; font-family: var(--font); font-size: 15px; box-shadow: none; }
body.tp .frm_input, body.tp select { height: 44px; padding: 0 12px; }
body.tp textarea { padding: 12px; line-height: 1.7; }
body.tp input::placeholder, body.tp textarea::placeholder { color: var(--dim); }
body.tp input[type="text"]:focus, body.tp input[type="password"]:focus, body.tp textarea:focus, body.tp select:focus { border-color: var(--felt2) !important; box-shadow: 0 0 0 3px rgba(42, 157, 111, .2) !important; }
body.tp .full_input { width: 100%; }
body.tp .half_input { width: calc(50% - 4px); }
body.tp input[type="checkbox"], body.tp input[type="radio"] { accent-color: var(--felt2); }
body.tp input[type="file"] { color: var(--muted); max-width: 100%; }

/* 표 */
body.tp .tbl_head01 thead th, body.tp .tbl_head02 thead th { background: var(--bg2); color: var(--muted); border-color: var(--line); font-weight: 600; font-size: 13px; }
body.tp .tbl_head01 td, body.tp .tbl_head02 td { border-color: var(--line); color: var(--text); background: transparent; }
body.tp .tbl_head01 tbody tr:hover td { background: rgba(255, 255, 255, .02); }
body.tp .tbl_wrap table { border-color: var(--line); }
body.tp .tbl_frm01 th { background: var(--bg2); color: var(--muted); border-color: var(--line); }
body.tp .tbl_frm01 td { border-color: var(--line); background: transparent; }
body.tp .empty_table, body.tp .empty_list { padding: 48px 0 !important; color: var(--muted); text-align: center; }

/* 게시판 목록 */
body.tp #bo_list { width: 100% !important; }
body.tp #bo_list .tbl_head01 { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
body.tp #bo_list .tbl_head01 table { border: 0; }
body.tp #bo_list .tbl_head01 thead th { border-top: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; }
body.tp #bo_list tbody td { padding: 13px 8px; border-bottom: 1px solid var(--line); height: auto; }
body.tp #bo_list tbody tr:last-child td { border-bottom: 0; }
body.tp #bo_list .td_subject { text-align: left; }
body.tp #bo_list .bo_tit { font-size: 15px; font-weight: 500; }
body.tp #bo_list .bo_tit a { color: var(--text); }
body.tp #bo_list .bo_tit a:hover { color: var(--felt-ink); }
body.tp #bo_list .bo_tit .pc-row { margin: 0 3px; vertical-align: -12px; }
body.tp #bo_list .td_num, body.tp #bo_list .td_num2, body.tp #bo_list .td_datetime, body.tp #bo_list .td_name { color: var(--muted); font-size: 13px; }
body.tp #bo_list .td_num, body.tp #bo_list .td_num2, body.tp #bo_list .td_datetime { font-family: var(--mono); font-size: 12px; }
body.tp #bo_list .bo_notice td { background: rgba(201, 165, 93, .06) !important; }
body.tp #bo_list .notice_icon { background: var(--gold-bg); color: var(--gold-ink); border: 1px solid rgba(201, 165, 93, .5); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; }
body.tp #bo_list .bo_current { color: var(--felt-ink); }
body.tp #bo_list .cnt_cmt { background: transparent; color: var(--gold-ink); font-family: var(--mono); font-size: 12px; font-weight: 700; }
body.tp #bo_list .new_icon { background: var(--felt); color: #fff; border-radius: 4px; }
body.tp #bo_list .bo_cate_link { background: var(--surface2); color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; }
body.tp #bo_btn_top { margin: 0 0 12px; }
body.tp #bo_list_total { color: var(--muted); font-size: 13px; }
body.tp .btn_bo_user li { margin-left: 4px; }
body.tp .btn_bo_user .btn { min-width: 40px; height: 40px; line-height: 38px; padding: 0 12px; font-size: 14px; }
body.tp .btn_bo_user .btn_b01[title="글쓰기"], body.tp .btn_bo_user a.btn_b01[title="글쓰기"] { background: var(--felt); border-color: var(--felt); color: #fff !important; }
body.tp .btn_bo_user a[title="글쓰기"]::after { content: " 글쓰기"; font-weight: 700; }
body.tp .more_opt { background: var(--surface2); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .5); overflow: hidden; }
body.tp .more_opt::before, body.tp .more_opt::after { display: none; }
body.tp .more_opt li { border-color: var(--line); }
body.tp .more_opt li a, body.tp .more_opt li button { color: var(--text); background: none; }
body.tp .more_opt li:hover a, body.tp .more_opt li:hover button { color: var(--felt-ink); }
body.tp #bo_cate { margin: 0 0 14px; }
body.tp #bo_cate ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
body.tp #bo_cate li { padding: 0; float: none; }
body.tp #bo_cate a { display: block; padding: 6px 13px; border: 1px solid var(--line2); border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
body.tp #bo_cate a:hover, body.tp #bo_cate #bo_cate_on { border-color: var(--felt2); background: var(--felt-bg); color: var(--felt-ink); box-shadow: none; }
body.tp .bo_sch_wrap .bo_sch { background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); max-width: calc(100% - 32px); }
body.tp .bo_sch_wrap .bo_sch h3 { border-color: var(--line); color: var(--text); }
body.tp .bo_sch .sch_bar { border-color: var(--line2); background: var(--bg2); border-radius: 9px; }
body.tp .bo_sch .sch_input { border: 0 !important; background: transparent; }
body.tp .bo_sch .sch_btn { background: none; color: var(--text); }
body.tp .bo_sch_bg { background: rgba(0, 0, 0, .6); }
body.tp .chk_box input[type="checkbox"] + label { color: var(--muted); }
body.tp .chk_box input[type="checkbox"] + label span { background: var(--bg2); border-color: var(--line2); border-radius: 4px; }
body.tp .all_chk.chk_box input[type="checkbox"] + label span, body.tp .td_chk.chk_box input[type="checkbox"] + label span { top: 0; }

/* 페이지 번호 */
body.tp .pg_wrap { float: none; display: block; text-align: center; margin: 24px 0 0; }
body.tp .pg_page, body.tp .pg_current { min-width: 36px; height: 36px; line-height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-family: var(--mono); font-size: 13px; }
body.tp .pg_current { background: var(--felt); border-color: var(--felt); color: #fff; }
body.tp .pg_start, body.tp .pg_prev, body.tp .pg_next, body.tp .pg_end { background-color: var(--surface); filter: invert(.8) hue-rotate(180deg); }

/* 게시판 안내 문구 (게시판 상단 내용) */
.tp-bo-note { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--felt2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); font-size: 14px; color: #cfd3d1; line-height: 1.75; }
.tp-bo-note b { color: var(--text); }
.tp-bo-note code { padding: 1px 6px; border-radius: 5px; background: var(--bg2); color: var(--gold-ink); font-family: var(--mono); font-size: 13px; }
.tp-bo-note--warn { border-left-color: var(--gold); }

/* 글 보기 */
body.tp #bo_v { width: 100% !important; margin-bottom: 20px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
body.tp #bo_v_title { padding: 24px 24px 0; }
body.tp #bo_v_title .bo_v_cate { background: var(--surface2); color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
body.tp #bo_v_title .bo_v_tit { margin: 8px 0 0; font-size: 23px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; color: var(--text); word-break: keep-all; overflow-wrap: anywhere; }
body.tp #bo_v_info { margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); color: var(--muted); background: none; }
body.tp #bo_v_info strong { color: var(--muted); font-weight: 500; }
body.tp #bo_v_info .profile_info_ct > strong:first-of-type { color: var(--text); font-weight: 700; }
body.tp #bo_v_info a { color: var(--muted); }
body.tp #bo_v_info .pf_img img { border-radius: 50%; opacity: .85; }
body.tp #bo_v_top .btn_bo_user .btn { background: var(--surface2); }
body.tp #bo_v_atc { padding: 24px; min-height: 160px; }
body.tp #bo_v_con { margin: 0; font-size: 16px; line-height: 2; color: #dfe2df; word-break: keep-all; overflow-wrap: anywhere; min-height: 100px; }
body.tp #bo_v_con a { color: var(--felt-ink); text-decoration: underline; word-break: break-all; }
body.tp #bo_v_img img { border-radius: 10px; }
body.tp #bo_v_share { display: none; }
body.tp #bo_v_act { margin: 28px 0 0; }
body.tp #bo_v_act a, body.tp #bo_v_act .bo_v_good, body.tp #bo_v_act .bo_v_nogood { background: var(--bg2); border: 1px solid var(--line2); color: var(--text); border-radius: 999px; }
body.tp #bo_v_act a:hover { border-color: var(--felt2); background: var(--felt-bg); color: var(--felt-ink); }
body.tp #bo_v_act_good, body.tp #bo_v_act_nogood { background: var(--felt); color: #fff; border-radius: 8px; }
body.tp #bo_v_file, body.tp #bo_v_link { margin: 0; padding: 0 24px 16px; }
body.tp #bo_v_file li, body.tp #bo_v_link li { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
body.tp #bo_v_file a, body.tp #bo_v_link a { color: var(--text); }
body.tp .bo_v_nb { margin: 0; border-top: 1px solid var(--line); }
body.tp .bo_v_nb li { border-color: var(--line); background: none; padding: 13px 24px; }
body.tp .bo_v_nb li:hover { background: rgba(255, 255, 255, .02); }
body.tp .bo_v_nb .nb_tit { color: var(--muted); }
body.tp .bo_v_nb .nb_date { color: var(--dim); font-family: var(--mono); font-size: 12px; }

.tp-report { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 32px; padding-top: 18px; border-top: 1px dashed var(--line2); }
.tp-report__btn { padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.tp-report__btn:hover:not(:disabled) { border-color: var(--red); color: #f0a0a3; }
.tp-report__btn:disabled { opacity: .6; cursor: default; }
.tp-report__hint { font-size: 12px; color: var(--dim); }

/* 댓글 */
body.tp .cmt_btn { background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); padding: 0 0 12px; margin: 28px 0 0; font-size: 16px; font-weight: 700; width: 100%; text-align: left; }
body.tp .cmt_btn b, body.tp .cmt_btn span.total b { color: var(--gold-ink); font-family: var(--mono); }
body.tp .cmt_btn span.cmt_more { display: none; }
body.tp #bo_vc { margin: 0 0 20px; padding: 0; background: none; border: 0; }
body.tp #bo_vc article { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
body.tp #bo_vc header { color: var(--muted); }
body.tp #bo_vc header .member, body.tp #bo_vc header .guest { color: var(--text); font-weight: 700; }
body.tp #bo_vc .bo_vc_hdinfo { color: var(--dim); font-family: var(--mono); font-size: 12px; }
body.tp #bo_vc .cmt_contents { background: none; border: 0; padding: 6px 0 0; color: #dfe2df; font-size: 15px; line-height: 1.85; }
body.tp #bo_vc .cmt_contents p { color: inherit; }
body.tp #bo_vc_empty { padding: 40px 0 !important; color: var(--muted); border-bottom: 1px solid var(--line); }
body.tp .bo_vc_act { background: var(--surface2); border: 1px solid var(--line2); border-radius: 10px; }
body.tp .bo_vc_act::before, body.tp .bo_vc_act::after { display: none; }
body.tp .bo_vc_act li, body.tp .bo_vc_act li a { color: var(--text); border-color: var(--line); }
body.tp .btn_cm_opt { background: none; color: var(--muted); }
body.tp .bo_vc_w { margin: 0 0 24px; }
body.tp .bo_vc_w textarea { background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; min-height: 110px; }
body.tp .bo_vc_w .btn_confirm .btn_submit { height: 44px; padding: 0 22px; border-radius: 10px; }
body.tp .bo_vc_w_info .frm_input { background: var(--bg2); }
body.tp #char_cnt, body.tp #char_count_desc, body.tp #char_count_wrap { color: var(--dim); }
body.tp .pf_img img { border-radius: 50%; }

/* 글쓰기 */
body.tp #bo_w { width: 100%; }
body.tp #bo_w form { width: 100% !important; }
body.tp #bo_w .write_div { margin: 10px 0; }
body.tp #bo_w .bo_v_option li { margin-right: 10px; }
body.tp #bo_w #wr_content { min-height: 340px; width: 100%; }
body.tp #bo_w .btn_confirm { margin-top: 20px; text-align: center; }
body.tp #bo_w .btn_confirm .btn { height: 48px; line-height: 46px; padding: 0 28px; font-size: 15px; }
body.tp #bo_w .bo_w_link label, body.tp #bo_w .bo_w_flie .lb_icon { background: var(--surface2); border: 1px solid var(--line2); color: var(--muted); border-radius: 9px 0 0 9px; height: 44px; line-height: 42px; }
body.tp #bo_w .bo_w_link .frm_input { border-radius: 0 9px 9px 0; }
body.tp #bo_w .bo_w_flie .frm_file { background: var(--bg2); border: 1px solid var(--line2); border-radius: 0 9px 9px 0; height: 44px; padding: 8px 10px; }
body.tp #bo_w .file_wr { border: 0; background: none; }
body.tp #autosave_wrapper { position: relative; }
body.tp #btn_autosave { background: var(--surface2); border: 1px solid var(--line2); color: var(--muted); border-radius: 7px; top: 6px; right: 6px; height: 32px; }
body.tp #autosave_pop { background: var(--surface2); border: 1px solid var(--line2); border-radius: 10px; color: var(--text); max-width: 100%; }
body.tp #autosave_pop li, body.tp #autosave_pop div { border-color: var(--line); }
body.tp #autosave_pop button { background: var(--surface); color: var(--text); border: 1px solid var(--line2); border-radius: 6px; }

.tp-helper { margin: 0 0 10px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 12px; background: var(--surface); }
.tp-helper__hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.tp-helper__hd strong { font-size: 14px; color: var(--gold-ink); }
.tp-helper__hd span { font-size: 12px; color: var(--muted); }
.tp-helper__row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 5px 0; }
.tp-helper__label { flex: 0 0 62px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tp-helper__btn { min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 7px; background: var(--card); color: var(--card-black); font-size: 15px; font-weight: 800; }
.tp-helper__btn.is-on { box-shadow: 0 0 0 3px var(--gold); }
.tp-helper__btn--suit { min-width: 52px; font-size: 19px; font-weight: 400; font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif; }
.tp-helper__btn--h, .tp-helper__btn--d { color: var(--card-red); }
.tp-helper__btn--txt { background: var(--surface2); border: 1px solid var(--line2); color: var(--text); font-size: 13px; font-weight: 600; padding: 0 11px; }
.tp-helper__btn--txt:hover { border-color: var(--felt2); color: var(--felt-ink); }
.tp-helper__btn--gold { margin-left: auto; border-color: rgba(201, 165, 93, .6); color: var(--gold-ink); background: var(--gold-bg); }
.tp-helper__row--out { padding: 8px 0; }
.tp-helper__preview { flex: 1 1 140px; min-height: 45px; display: flex; align-items: center; padding: 2px 10px; border: 1px dashed var(--line2); border-radius: 9px; }
.tp-helper__hint { font-size: 12px; color: var(--dim); }

/* 로그인·회원 */
body.tp .mbskin { max-width: 400px; width: auto; margin: 28px auto 0; padding: 0 20px; text-align: left; }
body.tp .mbskin .mbskin_box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; overflow: hidden; }
body.tp .mbskin h1 { margin: 0; padding: 26px 24px 0; font-size: 22px; font-weight: 800; text-align: left; color: var(--text); border: 0; }
body.tp .mb_log_cate { display: none; }
body.tp #mb_login #login_fs { padding: 20px 24px 26px; }
body.tp #mb_login .frm_input { width: 100%; height: 48px; margin: 0 0 10px; }
body.tp #mb_login .btn_submit { width: 100%; height: 50px; margin: 6px 0 0; font-size: 16px; font-weight: 700; border-radius: 10px; }
body.tp #login_info { margin-top: 16px; color: var(--muted); font-size: 13px; }
body.tp #login_info a { color: var(--muted); }
body.tp #mb_login::before { content: "돈 거는 곳이 아니라, 공부하는 곳."; display: block; margin: 0 0 18px; text-align: center; font-size: 14px; color: var(--muted); }
body.tp #mb_login #sns_login, body.tp #mb_login_notmb, body.tp #mb_login_od_wr { display: none; }
body.tp #mb_confirm .mbskin_box, body.tp #pw_confirm .mbskin_box { padding: 0 0 20px; }
body.tp #mb_confirm p, body.tp #pw_confirm p { padding: 12px 24px; color: var(--muted); border: 0; background: none; }
body.tp #mb_confirm fieldset, body.tp #pw_confirm fieldset { padding: 0 24px; }
body.tp #mb_confirm .frm_input, body.tp #pw_confirm .frm_input { width: 100%; margin-bottom: 10px; }
body.tp #mb_confirm .btn_submit, body.tp #pw_confirm .btn_submit { width: 100%; height: 48px; }
body.tp #mb_confirm_id { color: var(--felt-ink); }
body.tp .register, body.tp #register_form, body.tp #fregisterform, body.tp #fregister { max-width: 760px; margin: 0 auto; padding: 0 20px; }
body.tp .register_form_inner, body.tp #fregister section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
body.tp .register_form_inner h2, body.tp #fregister h2 { background: var(--bg2); border-color: var(--line); color: var(--text); }
body.tp #fregister textarea { background: var(--bg2); color: var(--muted); }
body.tp #fregister_chkall, body.tp .fregister_agree { background: var(--bg2); color: var(--text); border-color: var(--line); }

/* 새 창(포인트 내역, 스크랩 등) */
body.tp .new_win { background: var(--bg); }
body.tp .new_win #win_title { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); font-size: 18px; }
body.tp .new_win .new_win_con, body.tp .new_win .new_win_con2 { color: var(--text); }
body.tp .new_win .win_btn { background: none; }
body.tp .point_all, body.tp #point .point_all { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 12px; }
body.tp #point .point_list li, body.tp .point_list li { border-color: var(--line); background: none; }
body.tp .point_tit { color: var(--text); }
body.tp .point_date, body.tp .point_date1 { color: var(--dim); }
body.tp .point_num { color: var(--felt-ink); font-family: var(--mono); }
body.tp .txt_expired { color: var(--dim); }
body.tp .point_status { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 12px; }

/* 검색·새글·내용·접속자 */
body.tp #sch_res_detail, body.tp #new_sch, body.tp #fnewlist fieldset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
body.tp #sch_res_detail .sch_wr { border-color: var(--line2); background: var(--bg2); border-radius: 9px; }
body.tp #sch_res_detail .frm_input { border: 0 !important; background: transparent; }
body.tp #sch_res_ov { background: none; border-color: var(--line); color: var(--muted); }
body.tp #sch_res_board li a { background: var(--surface); border: 1px solid var(--line2); color: var(--muted); border-radius: 999px; }
body.tp #sch_res_board .sch_on, body.tp #sch_res_board li a:hover { background: var(--felt-bg); border-color: var(--felt2); color: var(--felt-ink); }
body.tp .sch_res_list { background: none; }
body.tp .sch_res_list h2 { background: none; border-color: var(--line); color: var(--text); }
body.tp .sch_res_list li { border-color: var(--line); }
body.tp .sch_res_list p { color: var(--muted); }
body.tp .sch_word { background: var(--gold-bg); color: var(--gold-ink); }
body.tp .sch_more a { background: var(--surface2); color: var(--text); border-radius: 8px; }
body.tp #new_sch .btn_submit { height: 44px; padding: 0 18px; }
body.tp #ctt { margin: 0 auto; max-width: 820px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
body.tp #ctt header h1 { display: none; }
body.tp #ctt_con { padding: 0; line-height: 1.85; color: #d6d9d6; font-size: 15px; }
body.tp #ctt_con h2, body.tp #ctt_con h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 700; color: var(--text); }
body.tp #ctt_con h2:first-child, body.tp #ctt_con h3:first-child { margin-top: 0; }
body.tp #ctt_con p { margin: 0 0 10px; }
body.tp #ctt_con ul, body.tp #ctt_con ol { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
body.tp #ctt_con ol { list-style: decimal; }
body.tp #ctt_con li { margin: 5px 0; list-style: inherit; }
body.tp #ctt_con .tp-draft { margin: 0 0 20px; padding: 12px 16px; border: 1px solid rgba(201, 165, 93, .5); border-radius: 10px; background: var(--gold-bg); color: var(--gold-ink); font-weight: 600; font-size: 14px; }
body.tp #current_connect ul, body.tp #faq_wrap, body.tp #faq_con { color: var(--text); }
body.tp .sv_wrap .sv { background: var(--surface2); border: 1px solid var(--line2); border-radius: 8px; }
body.tp .sv_wrap .sv a { color: var(--text); background: none; border-color: var(--line); }
body.tp .sv_member, body.tp .sv_guest { color: inherit; }
body.tp #bo_v_info .sv_member, body.tp #bo_vc .sv_member { color: var(--text); }
body.tp .msg_sound_only, body.tp .sound_only { color: inherit; }
body.tp fieldset { border-color: var(--line); }
body.tp .is_captcha_use, body.tp #captcha { color: var(--muted); }

/* ---------- 반응형 ---------- */
@media (max-width: 1140px) {
    .tp-nav, .tp-user { display: none; }
    .tp-burger { display: block; margin-left: auto; }
    .tp-hd__in { gap: 12px; }
}
@media (min-width: 1141px) {
    .tp-drawer { display: none !important; }
}
@media (max-width: 860px) {
    .tp-top-grid { grid-template-columns: 1fr; }
    .tp-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-course { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-main .tp-me { order: 9; }
}
@media (max-width: 640px) {
    body.tp { font-size: 15px; }
    .tp-hd__in { height: 56px; padding: 0 16px; }
    .tp-drawer { inset: 56px 0 0 0; }
    .tp-logo__en { display: none; }
    body.tp #container, .tp-container { padding: 20px 16px 56px; }
    body.tp #container_title { font-size: 21px; }
    .tp-card { padding: 18px 16px; border-radius: 12px; }
    .tp-card--flush { padding: 0; }
    .tp-main { gap: 34px; }
    .tp-hero { padding-top: 6px; }
    .tp-hero__title { font-size: 28px; }
    .tp-hero__desc { font-size: 15px; }
    .tp-top-grid { margin-top: -14px; }
    .tp-quizcard__body { grid-template-columns: 1fr; gap: 16px; }
    .tp-quizcard__text h3 { font-size: 18px; }
    .tp-tools, .tp-reviews, .tp-latest, .tp-course, .tp-course--lg { grid-template-columns: 1fr; }
    .tp-tool { padding: 16px; }
    .tp-tool__num { font-size: 26px; }
    .tp-page__hd h1 { font-size: 25px; }
    .tp-ft__in { grid-template-columns: 1fr; padding: 28px 16px 36px; }
    .tp-ft__nav { justify-content: flex-start; }

    .pc { width: 40px; height: 54px; border-radius: 6px; }
    .pc__r { font-size: 20px; }
    .pc__s { font-size: 18px; }
    .pc--sm { width: 27px; height: 37px; border-radius: 4px; }
    .pc--sm .pc__r { font-size: 14px; }
    .pc--sm .pc__s { font-size: 12px; }
    .pc-row { gap: 4px; }

    .qz { padding: 18px 16px; }
    .qz-felt { padding: 16px 14px; }
    .qz-felt__label { flex-basis: 100%; }
    .qz-hd__title { font-size: 19px; }
    .qz-form__foot .tp-btn { width: 100%; }
    .qz-list a { padding: 12px; gap: 10px; }
    .qz-stat dd { font-size: 19px; }

    .eq__players { grid-template-columns: 1fr; }
    .eq-grid__row { grid-template-columns: 16px repeat(13, minmax(0, 1fr)); gap: 2px; }
    .eq-pick { height: 40px; font-size: 12px; border-radius: 5px; }
    .eq__actions .tp-btn--lg { flex: 1 1 auto; }
    .po__inputs { grid-template-columns: 1fr; }
    .po__out { grid-template-columns: 1fr; padding: 16px; }
    .po__big strong { font-size: 34px; }
    .po__big--sub strong { padding-top: 0; font-size: 22px; }
    .tp-table th, .tp-table td { padding: 9px 6px; font-size: 13px; }
    .ot tbody th span { display: block; margin: 0; font-size: 11px; }

    .gd-steps li { grid-template-columns: 34px 1fr; }
    .gd-steps li span { grid-column: 2; }
    .gd-actions > div { grid-template-columns: 64px 1fr; }
    .gd-hands li { grid-template-columns: 22px minmax(0, 1fr); gap: 8px 10px; }
    .gd-hands__cards { grid-column: 2; }
    .gd-vs { grid-template-columns: 1fr 1fr; }
    .gd-vs__board { grid-column: 1 / -1; grid-row: 1; }
    .gd-seats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .gd-demo { padding: 16px 14px; }
    .gd-demo__label { flex-basis: 100%; }
    .gd-1336__num { font-size: 52px; }
    .gd-pager a { padding: 12px 14px; font-size: 14px; }
    .gl__tools { top: 62px; }
    .gl__item { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
    .gl__item dt em { display: inline; margin-left: 6px; }

    /* 게시판 목록: 번호·조회 칸을 접고 제목 아래에 글쓴이와 날짜 */
    body.tp #bo_list table, body.tp #bo_list tbody, body.tp #bo_list tr, body.tp #bo_list td { display: block; width: auto !important; }
    body.tp #bo_list thead, body.tp #bo_list colgroup { display: none; }
    body.tp #bo_list tbody tr { position: relative; padding: 13px 14px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
    body.tp #bo_list tbody tr:last-child { border-bottom: 0; }
    body.tp #bo_list tbody td { padding: 0 !important; border: 0; text-align: left; }
    body.tp #bo_list .td_subject { flex: 1 1 100%; padding-left: 0 !important; }
    body.tp #bo_list .td_num2 { display: none; }
    body.tp #bo_list .bo_notice .td_num2 { display: block; order: -1; }
    body.tp #bo_list .td_num { display: none; }
    body.tp #bo_list .td_chk { order: 5; margin-left: auto; }
    body.tp #bo_list .empty_table { width: 100% !important; }
    body.tp #bo_list .bo_tit { font-size: 15px; line-height: 1.5; }
    body.tp #bo_v_title { padding: 18px 16px 0; }
    body.tp #bo_v_title .bo_v_tit { font-size: 20px; }
    body.tp #bo_v_info { padding: 14px 16px; }
    body.tp #bo_v_atc { padding: 18px 16px; }
    body.tp #bo_v_con { font-size: 15px; line-height: 1.9; }
    body.tp .bo_v_nb li { padding: 12px 16px; }
    body.tp #bo_v_top { float: none; margin-top: 10px; }
    body.tp #bo_v_info .profile_info { float: none; }
    body.tp .half_input { width: 100%; margin: 0 0 6px !important; }
    body.tp #ctt { padding: 20px 16px; }
    .tp-helper { padding: 12px; }
    .tp-helper__label { flex-basis: 100%; }
    .tp-helper__btn { min-width: 0; flex: 0 0 calc((100% - 30px) / 7); height: 38px; padding: 0; }
    .tp-helper__btn--suit { flex-basis: calc((100% - 15px) / 4); }
    .tp-helper__btn--txt { flex: 0 0 auto; padding: 0 11px; }
    .tp-helper__btn--gold { margin-left: 0; }
}

/* ---------- 기본 테마 규칙보다 우선해야 하는 것들 ---------- */
body.tp #ft.tp-ft { background: #0a0c0e; border-top: 1px solid var(--line); min-width: 0; margin: 0; padding: 0; text-align: left; color: var(--muted); }
body.tp #ft.tp-ft h1, body.tp #ft.tp-ft p { position: static; width: auto; height: auto; font-size: inherit; line-height: inherit; overflow: visible; }
body.tp #ft.tp-ft .tp-ft__brand p { font-size: 13px; }
body.tp #ft.tp-ft .tp-ft__copy { font-size: 12px; }
.tp-quizcard__desc .pc-row { margin: 0 3px; vertical-align: -12px; }
body.tp .btn_bo_user .btn { width: auto; white-space: nowrap; }
body.tp #bo_v_top .btn_bo_user .btn, body.tp #bo_btn_top .btn_bo_user .btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
body.tp .btn_bo_user li { width: auto; }
body.tp #bo_v_con .pc-row, body.tp #bo_vc .cmt_contents .pc-row, .qz-desc .pc-row, .qz-explain .pc-row, .tp-prose .pc-row { margin: 4px 3px; vertical-align: middle; }
body.tp #bo_list .bo_tit .pc-row, .tp-quizcard__desc .pc-row { margin: 2px 3px; vertical-align: middle; }

/* ---------- 10. 놀이터 (포인트 마켓·미니게임) ---------- */
.tp-play { margin: 0 0 18px; }
.tp-playnote { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px !important; padding: 12px 16px; border: 1px solid rgba(201, 165, 93, .55); border-radius: 10px; background: var(--gold-bg); color: var(--gold-ink) !important; font-size: 14px; font-weight: 600; line-height: 1.6; }
.tp-playnote b { flex: 0 0 auto; padding: 1px 9px; border-radius: 999px; background: var(--gold); color: #1a1508; font-size: 12px; font-weight: 800; line-height: 1.7; }
.tp-playnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tp-playnav::-webkit-scrollbar { display: none; }
.tp-playnav a { flex: 0 0 auto; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted) !important; white-space: nowrap; }
.tp-playnav a:hover { border-color: var(--felt2); color: var(--felt-ink) !important; }
.tp-playnav a.is-on { border-color: var(--felt2); background: var(--felt-bg); color: var(--felt-ink) !important; }
.tp-play--sub { max-width: 1160px; margin: 16px auto; padding: 0 16px; }
.tp-playlist { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.tp-playlist__tag { align-self: flex-start; padding: 2px 9px; border: 1px solid var(--line2); border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--muted); }
.tp-playteaser { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tp-playteaser strong { display: block; font-size: 15px; }
.tp-playteaser span { font-size: 13px; color: var(--muted); }
/* 게임 바깥 틀만 사이트와 맞춘다 (게임 안쪽 디자인은 그대로) */
body.tp .cr:not(.cr-standalone), body.tp .pg:not(.pg-standalone), body.tp .rps-page:not(.rps-standalone), body.tp .pp-page:not(.pp-standalone) {
    border: 1px solid var(--line2) !important; border-radius: var(--radius) !important; overflow: hidden; margin: 0 0 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
@media (max-width: 640px) {
    .tp-playlist { grid-template-columns: 1fr; }
    .tp-playnote { font-size: 13px; padding: 10px 12px; }
    body.tp .cr:not(.cr-standalone), body.tp .pg:not(.pg-standalone), body.tp .rps-page:not(.rps-standalone), body.tp .pp-page:not(.pp-standalone) {
        margin-left: -16px; margin-right: -16px; border-left: 0 !important; border-right: 0 !important; border-radius: 0 !important;
    }
}
/* 가위바위보: 사이트 안에 넣었을 때도 오락실 분위기의 어두운 바탕 */
body.tp .rps-page:not(.rps-standalone) { background: radial-gradient(circle at 50% 0, #2b2370, #0d0a24 70%); padding: 28px 0 36px; }
body.tp .rps-page:not(.rps-standalone) .rps { margin-top: 0; margin-bottom: 0; }

/* 큰 메뉴가 9개라 좁은 화면에서는 조금 촘촘하게, 그래도 모자라면 접는 메뉴로 */
@media (max-width: 1320px) {
    .tp-hd__in { gap: 16px; }
    .tp-nav__link { padding: 0 9px; font-size: 14px; }
    .tp-logo__en { display: none; }
    .tp-user__nick { display: none; }
}
@media (max-width: 1140px) {
    .tp-nav, .tp-user { display: none; }
    .tp-burger { display: block; margin-left: auto; }
    .tp-hd__in { gap: 12px; }
}
@media (min-width: 1141px) { .tp-drawer { display: none !important; } }
.tp-nav__link { padding: 0 10px; }
@media (max-width: 1320px) { .tp-nav__link { padding: 0 9px; } }
.gd-side { display: none; }
/* 긴 제목이 좁은 화면에서 칸을 밀어내지 않게 */
.tp-reviews > li, .tp-latest__box, .tp-course > li, .tp-tools > a { min-width: 0; }
@media (max-width: 640px) { .tp-reviews, .tp-tools, .tp-latest, .tp-course, .tp-course--lg { grid-template-columns: minmax(0, 1fr); } }
body.tp #hd_pop { width: auto; max-width: 100%; }

/* 옛 THE POKER 로고 그림 (2026-11-03) */
body.tp .tp-logo__img { display: block; height: 46px; width: auto; }
body.tp .tp-logo--ft .tp-logo__img { height: 38px; }
body.tp .tp-minihd .tp-logo__img { height: 56px; margin: 0 auto; }
@media (max-width: 640px) { body.tp .tp-logo__img { height: 36px; } }

/* 선수 소개 글 (국내선수·해외선수 게시판, 2026-11-03) */
body.tp #bo_v_con .tp-pl h3 { margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
body.tp #bo_v_con .tp-pl__hd { display: flex; gap: 22px; align-items: flex-start; }
body.tp #bo_v_con .tp-pl__photo { flex: 0 0 200px; margin: 0; }
body.tp #bo_v_con .tp-pl__cap { margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: var(--dim); word-break: keep-all; }
body.tp #bo_v_con .tp-pl__photo img { display: block; width: 200px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
body.tp #bo_v_con .tp-pl__cap a { color: var(--dim); }
body.tp #bo_v_con .tp-pl__photo--none > span { display: flex; align-items: center; justify-content: center; width: 200px; aspect-ratio: 3 / 4; border-radius: 10px; border: 1px solid var(--line); background: var(--gold-bg); color: var(--gold-ink); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
body.tp #bo_v_con .tp-pl__info { flex: 1 1 auto; min-width: 0; }
body.tp #bo_v_con .tp-pl__name { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.3; color: var(--text); }
body.tp #bo_v_con .tp-pl__name span { display: block; font-size: 15px; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
body.tp #bo_v_con .tp-pl__chips { margin: 10px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; line-height: 1.4; }
body.tp #bo_v_con .tp-pl__chips span { padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; color: var(--muted); }
body.tp #bo_v_con .tp-pl__tb { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
body.tp #bo_v_con .tp-pl__tb th, body.tp #bo_v_con .tp-pl__tb td { padding: 7px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
body.tp #bo_v_con .tp-pl__tb th { width: 110px; color: var(--muted); font-weight: 600; white-space: nowrap; }
body.tp #bo_v_con .tp-pl__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
body.tp #bo_v_con .tp-pl__nums li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); line-height: 1.4; }
body.tp #bo_v_con .tp-pl__nums b { display: block; font-size: 24px; color: var(--gold-ink); }
body.tp #bo_v_con .tp-pl__nums span { font-size: 13px; color: var(--muted); }
body.tp #bo_v_con .tp-pl__time, body.tp #bo_v_con .tp-pl__news, body.tp #bo_v_con .tp-pl__nums { margin: 0; padding: 0; list-style: none; }
body.tp #bo_v_con .tp-pl__time li, body.tp #bo_v_con .tp-pl__news li, body.tp #bo_v_con .tp-pl__nums li { display: block; }
body.tp #bo_v_con .tp-pl__time li, body.tp #bo_v_con .tp-pl__news li { padding: 6px 0 6px 14px; border-left: 2px solid var(--line2); line-height: 1.7; }
body.tp #bo_v_con .tp-pl__time b, body.tp #bo_v_con .tp-pl__news span { display: inline-block; min-width: 64px; margin-right: 6px; color: var(--gold); font-weight: 700; }
body.tp #bo_v_con .tp-pl h3 + p ~ p { margin-top: 12px; }
body.tp #bo_v_con .tp-pl__foot { margin-top: 28px; font-size: 13px; color: var(--dim); }
@media (max-width: 640px) {
    body.tp #bo_v_con .tp-pl__hd { gap: 14px; }
    body.tp #bo_v_con .tp-pl__photo { flex-basis: 110px; }
    body.tp #bo_v_con .tp-pl__photo img, body.tp #bo_v_con .tp-pl__photo--none > span { width: 110px; }
    body.tp #bo_v_con .tp-pl__photo--none > span { font-size: 20px; }
    body.tp #bo_v_con .tp-pl__name { font-size: 22px; }
    body.tp #bo_v_con .tp-pl__tb th { width: 84px; padding-left: 0; }
    body.tp #bo_v_con .tp-pl__nums { grid-template-columns: minmax(0, 1fr); }
}

/* 사이드바는 넓은 화면(1281px 이상)에서만 — thepoker-wide.css */
.tp-rail { display: none; }
body.tp .td_num { white-space: nowrap; }
.eq__intro { display: none; } /* 넓은 화면(1400px 이상)에서만 — thepoker-wide.css */
