/* temprice 오딘 리포트·안내문서 스킨
   그누보드5 컨텐츠 영역 안에서만 적용되도록 .tp-report / .tp-doc 아래로 전부 스코프를 잡았습니다.
   사이트 전체 스타일에는 영향을 주지 않습니다. */

/* odin_price.php 스킨과 동일하게 우측 아웃로그인 영역을 숨기고 본문을 넓게 씁니다. */
#aside { display: none !important; }
#container_wr,
#container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1280px;
}

/* ── 공통 토큰 ──────────────────────────── */
.tp-report,
.tp-doc {
    --ink: #1e2634;
    --ink2: #536071;
    --muted: #8993a5;
    --line: #e6e9f0;
    --card: #fff;
    --plane: #f7f8fa;
    --gold: #a87a2f;
    --gold-lite: #d8aa54;
    --s1: #2a78d6;
    --s2: #eb6834;
    --s3: #1baf7a;
    --good: #006300;
    --bad: #c0392b;

    margin: 28px auto 64px;
    padding: 0 18px;
    color: var(--ink);
    font-family: Pretendard, "Noto Sans KR", -apple-system, "Apple SD Gothic Neo",
        "Malgun Gothic", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.78;
    letter-spacing: -0.01em;
    text-align: left;
    word-break: keep-all;
}
.tp-report { max-width: 1000px; }
.tp-doc { max-width: 900px; }
.tp-report *,
.tp-doc * { box-sizing: border-box; }
.tp-report p,
.tp-doc p { margin: 12px 0; }
.tp-report a,
.tp-doc a { color: var(--gold); }
.tp-report ul,
.tp-doc ul,
.tp-report ol,
.tp-doc ol { margin: 12px 0; padding-left: 22px; }
.tp-report li,
.tp-doc li { margin: 6px 0; }
.tp-report strong,
.tp-doc strong { font-weight: 700; }

/* ── 히어로 ─────────────────────────────── */
.tp-hero {
    position: relative;
    overflow: hidden;
    padding: 36px 40px 34px;
    border: 1px solid rgba(216, 170, 84, 0.28);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 18%, rgba(216, 170, 84, 0.16), transparent 30%),
        linear-gradient(135deg, #1c2230 0%, #10151f 72%);
    box-shadow: 0 18px 48px rgba(15, 20, 30, 0.18);
}
.tp-hero::after {
    position: absolute;
    right: 22%;
    top: -40%;
    width: 1px;
    height: 180%;
    content: "";
    background: linear-gradient(transparent, rgba(216, 170, 84, 0.3), transparent);
    transform: rotate(25deg);
}
.tp-eyebrow {
    display: block;
    margin: 0 0 10px;
    color: var(--gold-lite);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
}
.tp-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.tp-hero .tp-lede,
.tp-hero .tp-lead {
    max-width: 72ch;
    margin: 0;
    padding: 0;
    background: none;
    color: #cfd6e2;
    font-size: 15px;
}
.tp-hero .tp-lede b,
.tp-hero .tp-lede strong,
.tp-hero .tp-lead strong { color: #fff; }
.tp-hero .tp-meta {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    color: #8993a5;
    font-size: 12.5px;
}

/* ── 요약 타일 ──────────────────────────── */
.tp-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 14px 0 6px;
}
.tp-tile {
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}
.tp-tile .k { color: var(--muted); font-size: 12px; font-weight: 700; }
.tp-tile .v {
    margin-top: 2px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.tp-tile .u { margin-left: 2px; color: var(--ink2); font-size: 13px; font-weight: 600; }
.tp-tile .n { margin-top: 2px; color: var(--muted); font-size: 12px; }
.tp-tile .v.is-down { color: var(--bad); }

/* ── 제목 ───────────────────────────────── */
.tp-report h2,
.tp-doc h2 {
    margin: 46px 0 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.tp-report h2 .num,
.tp-doc h2 .num {
    margin-right: 8px;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.tp-report h3,
.tp-doc h3 { margin: 34px 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.tp-doc h3 {
    padding-left: 11px;
    border-left: 4px solid var(--gold);
}
.tp-doc h4 { margin: 22px 0 6px; color: var(--gold); font-size: 15px; font-weight: 700; }
.tp-report .lede,
.tp-doc .lede { color: var(--ink2); }

/* ── 안내문서 전용 ──────────────────────── */
.tp-doc .tp-lead {
    margin: 22px 0 24px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--plane);
    color: var(--ink2);
    font-size: 14.5px;
}
.tp-doc .tp-note {
    margin: 16px 0;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold-lite);
    border-radius: 0 8px 8px 0;
    background: #fffaf2;
    font-size: 14px;
}
.tp-doc > .tp-meta {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

/* ── 그림 ───────────────────────────────── */
.tp-report figure {
    margin: 20px 0;
    padding: 16px 16px 12px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}
.tp-report figcaption {
    margin: 0 0 12px;
    color: var(--ink2);
    font-size: 13px;
    font-weight: 700;
}
.tp-report figure .note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.tp-report svg { display: block; max-width: 100%; height: auto; }
.tp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 12px;
    color: var(--ink2);
    font-size: 12.5px;
}
.tp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tp-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; }

/* ── 표 ─────────────────────────────────── */
.tp-tbl { margin: 18px 0; overflow-x: auto; }
.tp-report table,
.tp-doc table { width: 100%; border-collapse: collapse; font-size: 14px; }

.tp-report th,
.tp-report td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--line);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}
.tp-report th:first-child,
.tp-report td:first-child { text-align: left; font-variant-numeric: normal; }
.tp-report thead th {
    border-bottom: 1px solid #cfd5e0;
    background: var(--plane);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
}
.tp-report tbody tr:hover td { background: #fcfaf5; }
.tp-report td.up { color: var(--good); font-weight: 700; }
.tp-report td.down { color: var(--bad); font-weight: 700; }
.tp-report .sub { color: var(--muted); font-size: 12px; }

.tp-doc table { margin: 14px 0 20px; }
.tp-doc th,
.tp-doc td {
    padding: 10px 11px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.tp-doc th { background: var(--plane); font-weight: 700; white-space: nowrap; }

/* ── 콜아웃 ─────────────────────────────── */
.tp-callout {
    margin: 20px 0;
    padding: 13px 17px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    background: #fffaf2;
    color: var(--ink2);
    font-size: 14px;
}
.tp-callout b { color: var(--ink); }

/* ── 하단 ───────────────────────────────── */
.tp-nav { margin: 34px 0 0; font-size: 14px; }
.tp-nav a {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 5px 13px;
    border: 1px solid #e3d7bd;
    border-radius: 999px;
    background: #fffaf2;
    color: var(--gold);
    text-decoration: none;
}
.tp-nav a:hover { border-color: var(--gold); background: #fff5df; }
.tp-nav strong {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 5px 13px;
    border: 1px solid #252d3b;
    border-radius: 999px;
    background: linear-gradient(135deg, #303949, #151b27);
    color: #fff;
    font-weight: 700;
}
.tp-nav .tp-nav-label { margin-right: 6px; color: var(--muted); font-size: 12.5px; }
.tp-foot {
    margin: 48px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
}
.tp-foot b { color: var(--ink2); }
.tp-foot p { margin: 6px 0; }
.tp-foot a { color: var(--ink2); }

/* ── 목록 페이지 ────────────────────────── */
.tp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 22px 0;
}
.tp-card {
    display: block;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: inherit;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s;
}
.tp-card:hover { border-color: var(--gold-lite); box-shadow: 0 8px 22px rgba(15,20,30,.08); }
.tp-card .t { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.tp-card .d { margin-top: 6px; color: var(--ink2); font-size: 13.5px; line-height: 1.6; }
.tp-card .m { margin-top: 8px; color: var(--muted); font-size: 12px; }
.tp-card.is-lead { border-color: #e3d7bd; background: #fffaf2; }

/* ── 아이템 탐색 (odin_item.php) ────────── */
.tp-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin: 22px 0 6px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}
.tp-filters label { display: flex; flex-direction: column; gap: 4px; }
.tp-filters label span { color: var(--muted); font-size: 12px; font-weight: 700; }
.tp-filters select,
.tp-filters input[type="text"] {
    height: 38px;
    padding: 0 11px;
    border: 1px solid #d5dae3;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
}
.tp-filters input[type="text"] { min-width: 200px; }
.tp-filters button {
    height: 38px;
    padding: 0 18px;
    border: 1px solid #8f6626;
    border-radius: 8px;
    background: linear-gradient(135deg, #b8862f, #8f6626);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.tp-filters button:hover { filter: brightness(1.06); }
.tp-filter-reset { align-self: center; color: var(--muted); font-size: 13px; }

.tp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.tp-tab {
    padding: 9px 18px;
    border: 1px solid #d5dae3;
    border-radius: 999px;
    background: #fff;
    color: var(--ink2);
    font-size: 14.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.tp-tab em { margin-left: 6px; color: var(--muted); font-size: 12.5px; font-style: normal; }
.tp-tab:hover { border-color: var(--gold-lite); }
.tp-tab.is-active {
    border-color: #252d3b;
    background: linear-gradient(135deg, #303949, #151b27);
    color: #fff;
}
.tp-tab.is-active em { color: var(--gold-lite); }

.tp-panel { display: none; }
.tp-panel.is-active { display: block; }

.tp-report .tp-grade {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 30px 0 10px;
    padding: 0 0 0 11px;
    border-top: 0;
    border-left: 4px solid var(--muted);
    font-size: 17px;
}
.tp-report .tp-grade em { color: var(--muted); font-size: 12.5px; font-weight: 600; font-style: normal; }

/* 등급 색 — odin_price.php 스킨의 아이템명 색과 같은 값을 씁니다.
   등급 소제목과 아이템명에 함께 적용합니다. 흰 배경 대비 4.8:1 이상입니다. */
.tp-g-mythic    { color: #b82920; }   /* 신화 */
.tp-g-legendary { color: #7a5200; }   /* 전설 */
.tp-g-hero      { color: #6633b8; }   /* 영웅 */
.tp-g-rare      { color: #2563a8; }   /* 희귀 */
.tp-g-fine      { color: #157a4a; }   /* 고급 */
.tp-g-normal    { color: #4b5563; }   /* 일반 */
.tp-g-other     { color: #6b7280; }   /* 등급 미상 */

.tp-report .tp-grade.tp-g-mythic    { border-left-color: #b82920; }
.tp-report .tp-grade.tp-g-legendary { border-left-color: #b8862f; }
.tp-report .tp-grade.tp-g-hero      { border-left-color: #6633b8; }
.tp-report .tp-grade.tp-g-rare      { border-left-color: #2563a8; }
.tp-report .tp-grade.tp-g-fine      { border-left-color: #157a4a; }
.tp-report .tp-grade.tp-g-normal    { border-left-color: #4b5563; }
.tp-report .tp-grade.tp-g-other     { border-left-color: #c3c2b7; }

.tp-items { margin: 0; padding: 0; list-style: none; }
.tp-item { border-bottom: 1px solid var(--line); }
.tp-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 6px;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    font-size: 14.5px;
    text-align: left;
    cursor: pointer;
}
.tp-item-head:hover { background: #fcfaf5; }
.tp-item-name { font-weight: 700; }
.tp-item-part {
    flex: none;
    padding: 2px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--plane);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}
.tp-item-meta {
    margin-left: auto;
    color: var(--ink2);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tp-item-meta i { color: var(--muted); font-style: normal; font-size: 12.5px; }
.tp-item-caret {
    flex: none;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .15s;
}
[aria-expanded="true"] .tp-item-caret,
.is-open .tp-item-caret { transform: rotate(-135deg) translate(-3px, -3px); }

.tp-item-body { padding: 4px 0 18px; }
.tp-loading { margin: 12px 6px; color: var(--muted); font-size: 13.5px; }

.tp-month { margin: 12px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tp-month.is-current { border-color: #e3d7bd; }
.tp-month-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--plane);
    font-size: 14px;
}
.tp-month.is-current .tp-month-head { background: #fffaf2; }
.tp-badge {
    padding: 2px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b8862f, #8f6626);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.tp-month-count { margin-left: auto; color: var(--muted); font-size: 12.5px; }

.tp-enh { border-bottom: 1px solid var(--line); }
.tp-enh:last-child { border-bottom: 0; }
.tp-enh-head {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 9px 14px;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
}
.tp-enh-head:hover { background: #fcfaf5; }
.tp-enh-label {
    flex: none;
    min-width: 48px;
    color: var(--gold);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.tp-enh-cell { display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums; }
.tp-enh-cell i { color: var(--muted); font-size: 11.5px; font-style: normal; }
.tp-enh-cell b { font-weight: 700; }
.tp-enh-cell small { color: var(--muted); font-size: 11.5px; }
.tp-enh-dim { color: var(--ink2); }
.tp-enh-cell:nth-of-type(4) { margin-left: auto; }
.tp-enh-body { display: none; padding: 0 14px 14px; overflow-x: auto; }
.tp-enh.is-open .tp-enh-body { display: block; }
.tp-explorer .tp-enh-body table { font-size: 13px; }
.tp-explorer .tp-enh-body th,
.tp-explorer .tp-enh-body td { padding: 7px 9px; }
.tp-explorer .tp-enh-body .tp-cell-text {
    max-width: 260px;
    text-align: left;
    font-variant-numeric: normal;
    white-space: normal;
    color: var(--ink2);
}

@media (max-width: 640px) {
    .tp-item-head { flex-wrap: wrap; gap: 6px; }
    .tp-item-meta { margin-left: 0; width: 100%; }
    .tp-enh-head { flex-wrap: wrap; gap: 6px 14px; }
    .tp-enh-cell:nth-of-type(4) { margin-left: 0; }
    .tp-filters input[type="text"] { min-width: 140px; }
}

@media (max-width: 640px) {
    .tp-hero { padding: 26px 20px; border-radius: 14px; }
    .tp-hero h1 { font-size: 23px; }
    .tp-report,
    .tp-doc { padding: 0 12px; font-size: 14.5px; }
    .tp-report h2,
    .tp-doc h2 { font-size: 19px; }
    .tp-doc table { font-size: 13px; }
    .tp-doc th { white-space: normal; }
}

/* =========================================================
   리포트 문서 라인 스타일 — .tp-report / .tp-doc 토큰과 표면 처리만 교체
   (아이템 탐색은 .tp-explorer 블록이 따로 덮으므로 영향 없음)
   ========================================================= */
.tp-report,
.tp-doc {
    --ink: #16191f;
    --ink2: #454e5b;
    --muted: #8a919d;
    --line: #ecedf0;
    --card: #fff;
    --plane: #fbfbfc;
    --gold: #8a6115;
    --gold-lite: #8a6115;
    /* 차트 3색 — 명도·채도·색각 이상 판별 검증 통과 조합 */
    --s1: #8a6115;
    --s2: #1f5fa8;
    --s3: #0d7a4a;
    --good: #1f6b47;
    --bad: #b02a1e;
}

/* 히어로 */
.tp-report .tp-hero,
.tp-doc .tp-hero {
    overflow: visible;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.tp-report .tp-hero::after,
.tp-doc .tp-hero::after { display: none; }
.tp-report .tp-eyebrow,
.tp-doc .tp-eyebrow { display: none; }
.tp-report .tp-hero h1,
.tp-doc .tp-hero h1 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.tp-report .tp-hero .tp-lede,
.tp-report .tp-hero .tp-lead,
.tp-doc .tp-hero .tp-lede { color: var(--ink2); font-size: 14.5px; }
.tp-report .tp-hero .tp-lede b,
.tp-report .tp-hero .tp-lede strong { color: var(--ink); }
.tp-report .tp-hero .tp-meta { margin-top: 12px; color: var(--muted); font-size: 12.5px; }

/* 요약 타일 — 박스 대신 세로 구분선으로 나눈 한 줄 */
.tp-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--line);
}
.tp-tile {
    flex: 1 1 170px;
    min-width: 0;
    padding: 16px 8px 16px 18px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: none;
}
.tp-tile:first-child { padding-left: 0; border-left: 0; }
.tp-tile .k { color: var(--muted); font-size: 11.5px; font-weight: 700; }
.tp-tile .v {
    margin-top: 3px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.tp-tile .u { color: var(--ink2); font-size: 12.5px; font-weight: 600; }
.tp-tile .n { color: var(--muted); font-size: 11.5px; }

/* 제목 */
.tp-report h2,
.tp-doc h2 {
    margin: 44px 0 8px;
    padding-top: 15px;
    border-top: 2px solid var(--ink);
    font-size: 19px;
    font-weight: 700;
}
.tp-report h2 .num,
.tp-doc h2 .num { color: var(--gold); font-weight: 700; }
.tp-report h3,
.tp-doc h3 { font-size: 16px; font-weight: 700; }
.tp-doc h3 { border-left: 3px solid var(--gold); }

/* 그림 — 카드 껍데기 제거, 캡션에 얇은 밑줄 */
.tp-report figure {
    margin: 18px 0 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}
.tp-report figcaption {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}
.tp-report figure .note { color: var(--muted); font-size: 11.5px; }
/* 막대 모서리를 각지게 (SVG 의 rx 속성을 CSS 로 덮습니다) */
.tp-report figure svg rect { rx: 0; ry: 0; }
.tp-legend { color: var(--ink2); font-size: 12px; }
.tp-legend i { border-radius: 0; }

/* 표 */
.tp-report table,
.tp-doc table { font-size: 13.5px; }
.tp-report th,
.tp-report td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.tp-report thead th {
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid #d7dbe1;
    background: none;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
}
.tp-report tbody tr:hover td { background: #f7f8f9; }
.tp-report td b { color: var(--ink); font-weight: 700; }
.tp-doc th, .tp-doc td { border: 1px solid var(--line); }
.tp-doc th { background: var(--plane); }

/* 콜아웃 */
.tp-report .tp-callout,
.tp-doc .tp-callout {
    padding: 12px 16px;
    border: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    background: #faf7f1;
    font-size: 13.5px;
}
.tp-doc .tp-note {
    border: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    background: #faf7f1;
}
.tp-doc .tp-lead { border-radius: 0; background: var(--plane); }

/* 리포트 목록 카드 */
.tp-card { border-radius: 0; box-shadow: none; }
.tp-card:hover { border-color: var(--ink); box-shadow: none; }
.tp-card.is-lead { border-color: var(--gold); background: #faf7f1; }
.tp-card .t { font-size: 16px; font-weight: 700; }

/* 하단 이동 링크 */
.tp-nav a {
    padding: 6px 14px;
    border: 1px solid #cfd4db;
    border-radius: 0;
    background: #fff;
    color: #3f4854;
    font-weight: 700;
}
.tp-nav a:hover { border-color: var(--ink); background: #f7f8f9; color: var(--ink); }
.tp-nav strong {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
}

/* =========================================================
   odin_item.php 라인 스타일 — .tp-explorer 아래로만 스코프를 잡아
   리포트 문서 페이지(odin_report*.php)에는 영향을 주지 않습니다.
   레이아웃과 구조는 그대로 두고 표면 처리만 바꿉니다.
   ========================================================= */
.tp-explorer {
    --ink: #16191f;
    --ink2: #454e5b;
    --muted: #8a919d;
    --line: #ecedf0;
    --plane: #fbfbfc;
    --gold: #8a6115;
    --gold-lite: #8a6115;
}

/* 히어로 — 다크 카드 대신 납작한 머리글 */
.tp-explorer .tp-hero {
    overflow: visible;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.tp-explorer .tp-hero::after { display: none; }
.tp-explorer .tp-eyebrow { display: none; }
.tp-explorer .tp-hero h1 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.tp-explorer .tp-hero .tp-lede { color: var(--ink2); font-size: 14px; }
.tp-explorer .tp-hero .tp-lede b { color: var(--ink); }
.tp-explorer .tp-hero .tp-meta {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

/* 검색 줄 — 카드 껍데기 제거 */
.tp-explorer .tp-filters {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}
.tp-explorer .tp-filters label span { font-size: 11.5px; }
.tp-explorer .tp-filters select,
.tp-explorer .tp-filters input[type="text"] {
    height: 36px;
    border: 1px solid #cfd4db;
    border-radius: 0;
    font-size: 13.5px;
}
.tp-explorer .tp-filters select:focus,
.tp-explorer .tp-filters input[type="text"]:focus { border-color: var(--ink); outline: none; }
.tp-explorer .tp-filters button {
    height: 36px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    font-size: 13px;
}
.tp-explorer .tp-filters button:hover { filter: none; background: #000; }
.tp-explorer .tp-filter-reset { color: var(--muted); font-size: 12.5px; }

/* 분류 탭 — 알약에서 각진 탭으로 */
.tp-explorer .tp-tabs { gap: 6px; margin-top: 20px; }
.tp-explorer .tp-tab {
    height: 34px;
    padding: 0 16px;
    border: 1px solid #cfd4db;
    border-radius: 0;
    color: #3f4854;
    font-size: 13.5px;
    font-weight: 700;
}
.tp-explorer .tp-tab em { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.tp-explorer .tp-tab:hover { border-color: var(--ink); color: var(--ink); }
.tp-explorer .tp-tab.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}
.tp-explorer .tp-tab.is-active em { color: #c9ccd2; }

/* 등급 소제목 */
.tp-explorer .tp-grade {
    margin: 28px 0 0;
    padding: 0 0 8px 9px;
    border-left-width: 3px;
    font-size: 15px;
    font-weight: 700;
}
.tp-explorer .tp-grade em { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

/* 아이템 줄 — 표와 같은 리듬 */
.tp-explorer .tp-items { border-top: 1px solid var(--ink); }
.tp-explorer .tp-item { border-bottom: 1px solid var(--line); }
.tp-explorer .tp-item-head { padding: 10px 4px; font-size: 14px; }
.tp-explorer .tp-item-head:hover { background: #f7f8f9; }
.tp-explorer .tp-item-part {
    padding: 1px 6px;
    border: 1px solid #dfe2e7;
    border-radius: 0;
    background: none;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.tp-explorer .tp-item-meta { color: var(--muted); font-size: 12.5px; }
.tp-explorer .tp-item-meta b { color: var(--ink); font-weight: 700; }
.tp-explorer .tp-item-meta i { font-size: 12px; }

/* 월 블록 */
.tp-explorer .tp-month {
    margin-top: 10px;
    border: 1px solid #e4e7ec;
    border-radius: 0;
}
.tp-explorer .tp-month.is-current { border-color: #d7dbe1; }
.tp-explorer .tp-month-head {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    background: #f7f8f9;
    font-size: 13px;
}
.tp-explorer .tp-month.is-current .tp-month-head { background: #f7f8f9; }
.tp-explorer .tp-month-head b { color: var(--ink); font-weight: 700; }
.tp-explorer .tp-badge {
    padding: 2px 7px;
    border-radius: 0;
    background: var(--gold);
    color: #fff;
    font-size: 10.5px;
}
.tp-explorer .tp-month-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

/* 강화 단계 줄 */
.tp-explorer .tp-enh { border-bottom: 1px solid var(--line); }
.tp-explorer .tp-enh-head { padding: 9px 12px; font-size: 13px; }
.tp-explorer .tp-enh-head:hover { background: #f7f8f9; }
.tp-explorer .tp-enh-label { color: var(--gold); font-weight: 700; }
.tp-explorer .tp-enh-cell i { font-size: 11px; }
.tp-explorer .tp-enh-cell b { color: var(--ink); }
.tp-explorer .tp-enh-dim { color: var(--muted); }
.tp-explorer .tp-enh-cell small { font-size: 11px; }

/* 상세 표 */
.tp-explorer .tp-enh-body { padding: 2px 12px 14px; }
.tp-explorer .tp-enh-body table { border-top: 1px solid var(--ink); }
.tp-explorer .tp-enh-body thead th {
    border-bottom: 1px solid #d7dbe1;
    background: none;
    color: var(--muted);
    font-size: 11.5px;
}
.tp-explorer .tp-enh-body td { color: var(--ink2); }
.tp-explorer tbody tr:hover td { background: #f7f8f9; }

/* 안내 박스 */
.tp-explorer .tp-callout {
    padding: 12px 15px;
    border: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    background: #faf7f1;
    font-size: 13.5px;
}

/* 하단 이동 링크 */
.tp-explorer .tp-nav a {
    padding: 6px 14px;
    border: 1px solid #cfd4db;
    border-radius: 0;
    background: #fff;
    color: #3f4854;
    font-size: 13px;
    font-weight: 700;
}
.tp-explorer .tp-nav a:hover { border-color: var(--ink); background: #f7f8f9; color: var(--ink); }
.tp-explorer .tp-nav strong {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
}

/* 하단 안내 */
.tp-explorer .tp-foot { color: var(--muted); }
.tp-explorer .tp-foot b { color: var(--ink2); }

@media (max-width: 640px) {
    /* 좁은 화면에서 세공 칸이 한 글자씩 접히지 않도록 표를 가로 스크롤로 둡니다.
       (.tp-enh-body 는 이미 overflow-x: auto 입니다) */
    .tp-explorer .tp-enh-body table { min-width: 540px; }
    .tp-explorer .tp-enh-body .tp-cell-text { max-width: none; }
}
