/* 탑포커 — 밝은 지면 + 딥그린 + 골드, 카드 그림·다이어그램 내장 정보지 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --felt: #0c5c3d; --felt-deep: #0c3b2a; --felt-dark: #083023; --gold: #b98a2f; --gold-soft: #d9b96a;
  --ink: #16211c; --sub: #5b6a62; --faint: #93a29a; --line: #dfe6e2; --line-soft: #ecf1ee;
  --w: 1120px;
}
body { font-family: "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif; background: #fff; color: var(--ink); line-height: 1.65; font-size: 15px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img, table { max-width: 100%; }
h1, h2 { font-family: "Noto Serif KR", Georgia, serif; }

/* 유틸리티 탑바 */
.tp-topbar { background: var(--felt-dark); color: #9cc4b1; font-size: 12px; }
.tp-topbar-in { max-width: var(--w); margin: 0 auto; padding: 6px 20px; display: flex; justify-content: space-between; }
.tp-topbar-links a { margin-left: 14px; color: #b9d8c9; }
.tp-topbar-links a:hover { color: #fff; }

/* 마스트헤드 */
.tp-mast { border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #f7faf8); }
.tp-mast-in { max-width: var(--w); margin: 0 auto; padding: 26px 20px 18px; text-align: center; }
.tp-logo { font-family: "Noto Serif KR", Georgia, serif; font-size: 34px; font-weight: 800; letter-spacing: 2px; color: var(--felt-deep); }
.tp-suit { color: var(--felt); margin-right: 8px; }
.tp-mast-slogan { font-size: 13px; color: var(--sub); margin-top: 6px; letter-spacing: 0.5px; }
.tp-mast-suits { margin-top: 8px; font-size: 11px; letter-spacing: 8px; color: #c3d4cb; }

/* 탭바 */
.tp-tabs { border-bottom: 2px solid var(--felt-deep); position: sticky; top: 0; background: #fff; z-index: 10; box-shadow: 0 1px 0 rgba(12,59,42,.06); }
.tp-tabs-in { max-width: var(--w); margin: 0 auto; padding: 0 12px; display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.tp-tabs-in::-webkit-scrollbar { display: none; }
.tp-tabs a { padding: 12px 16px; font-size: 15px; font-weight: 700; color: #38453f; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tp-tabs a:hover { color: var(--felt-deep); background: #f4f8f6; }
.tp-tabs a.on { color: var(--felt); border-bottom-color: var(--felt); }
.tp-tab-rules { color: var(--felt); }
.tp-tab-rules::before { content: '§ '; }

/* 배치 */
.tp-main { max-width: var(--w); margin: 0 auto; padding: 26px 20px 60px; }
.tp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.tp-col { min-width: 0; }

/* 펠트 그린 규정 배너 */
.tp-felt { display: flex; align-items: center; gap: 20px; background: radial-gradient(120% 160% at 20% 0%, #12694a, var(--felt-deep) 70%); border: 1px solid var(--felt-dark); border-radius: 10px; padding: 24px 26px; color: #fff; box-shadow: inset 0 0 0 6px rgba(255,255,255,.04), 0 8px 22px rgba(12,59,42,.18); }
.tp-felt-txt { flex: 1; min-width: 0; }
.tp-felt h2 { font-size: 21px; color: #fff; }
.tp-felt p { font-size: 13.5px; color: #bfe0d1; margin: 6px 0 14px; }
.tp-felt-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-felt-links a { font-size: 13.5px; font-weight: 700; color: #ffe9bd; border: 1px solid var(--gold); border-radius: 999px; padding: 5px 14px; background: rgba(185,138,47,.14); }
.tp-felt-links a:hover { background: var(--gold); color: #fff; }
.tp-felt-art { flex-shrink: 0; }
.tp-felt-art .pc { filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }
.pc-row { display: inline-flex; gap: 4px; align-items: center; }
.tp-felt-art .pc-row { transform: rotate(4deg); }

/* 섹션 */
.tp-sec { margin-top: 28px; }
.tp-sec-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tp-sec-h h2 { font-size: 19px; }
.tp-sec-h h2::before { content: ''; display: inline-block; width: 4px; height: 15px; background: var(--felt); margin-right: 9px; border-radius: 1px; }
.tp-sec-h a { font-size: 13px; font-weight: 700; color: var(--sub); }
.tp-sec-h a:hover { color: var(--felt); }
.tp-sec-head { border-bottom: 2px solid var(--felt-deep); padding-bottom: 14px; margin-bottom: 4px; }
.tp-sec-head h1 { font-size: 25px; }
.tp-sec-head p { color: var(--sub); font-size: 13.5px; margin-top: 4px; }

/* 게시판형 (대회소식) */
.tp-board-wrap { overflow-x: auto; }
.tp-board { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tp-board thead th { background: var(--felt-deep); color: #fff; font-weight: 700; padding: 9px 12px; text-align: left; font-size: 13.5px; }
.tp-board td { border-bottom: 1px solid var(--line-soft); padding: 11px 12px; }
.tp-board tbody tr:hover td { background: #f6faf8; }
.tp-b-no { width: 58px; color: var(--faint); text-align: center; }
.tp-board thead .tp-b-no { text-align: center; }
.tp-b-date { width: 96px; color: var(--faint); font-size: 13px; white-space: nowrap; }
.tp-b-tit a { font-weight: 600; }
.tp-b-tit a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--felt-deep); }
.tp-new { font-style: normal; font-size: 10px; font-weight: 900; color: #fff; background: #d64545; border-radius: 3px; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
.tp-b-empty { text-align: center; color: var(--sub); padding: 34px 0 !important; }

/* 노트 리스트 (썸네일형) */
.tp-row { border-bottom: 1px solid var(--line-soft); }
.tp-row a { display: flex; gap: 16px; padding: 15px 2px; align-items: flex-start; }
.tp-thumb { flex-shrink: 0; width: 132px; }
.tp-thumb-svg { display: block; width: 132px; height: 92px; border-radius: 8px; }
.tp-row-txt { min-width: 0; flex: 1; }
.tp-row-top { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.tp-row-top time { font-size: 12.5px; color: var(--faint); }
.tp-row h3 { font-size: 17px; line-height: 1.42; font-weight: 700; }
.tp-row a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.tp-row p { color: var(--sub); font-size: 14px; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-empty { color: var(--sub); padding: 36px 0; }

.tp-chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 3px; }
.tp-c-evergreen { background: #e6f2ec; color: #0c5c3d; }
.tp-c-news { background: #fdeee0; color: #b25d0e; }
.tp-c-data { background: #e8eef8; color: #274f8f; }
.tp-c-commercial { background: #f4ecdc; color: #7a5a14; }

/* 사이드바 */
.tp-side { display: flex; flex-direction: column; gap: 22px; }
.tp-panel { border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px 14px; background: #fff; }
.tp-panel > h3 { font-size: 15px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--felt-deep); margin-bottom: 6px; }
.tp-panel > h3 small { font-weight: 500; color: var(--faint); font-size: 11.5px; margin-left: 5px; }
.tp-panel-hands { border-top: 3px solid var(--felt); }
.tp-panel-art { text-align: center; padding: 6px 0 12px; }
.tp-panel-art .pc { filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.tp-hands-mini { list-style: none; counter-reset: hand; }
.tp-hands-mini li { counter-increment: hand; display: flex; gap: 9px; align-items: baseline; padding: 5.5px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.tp-hands-mini li:last-child { border-bottom: 0; }
.tp-hands-mini li::before { content: counter(hand); font-size: 11.5px; font-weight: 900; color: var(--felt); min-width: 14px; }
.tp-hands-mini b { min-width: 96px; font-weight: 700; }
.tp-hands-mini span { color: var(--sub); font-size: 12.5px; }
.tp-panel-more { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--felt); }
.tp-panel-more:hover { text-decoration: underline; }
.tp-panel-term { background: linear-gradient(150deg, #f7faf8, #eef6f1); }
.tp-term-word { font-family: "Noto Serif KR", Georgia, serif; font-size: 20px; font-weight: 800; color: var(--felt-deep); margin: 8px 0 4px; }
.tp-term-def { font-size: 13px; color: var(--sub); line-height: 1.6; }
.tp-side-cats { list-style: none; }
.tp-side-cats li { border-bottom: 1px solid var(--line-soft); }
.tp-side-cats li:last-child { border-bottom: 0; }
.tp-side-cats a { display: flex; justify-content: space-between; padding: 9px 2px; font-size: 14px; font-weight: 600; }
.tp-side-cats a:hover { color: var(--felt); }
.tp-side-cats b { color: var(--faint); font-size: 13px; }
.tp-side-recent { list-style: none; }
.tp-side-recent li { border-bottom: 1px solid var(--line-soft); padding: 8px 0; }
.tp-side-recent li:last-child { border-bottom: 0; }
.tp-side-recent a { font-size: 13.5px; font-weight: 600; line-height: 1.45; display: block; }
.tp-side-recent a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tp-side-recent time { font-size: 11.5px; color: var(--faint); }
.tp-panel-about p { font-size: 13px; color: var(--sub); margin: 8px 0 12px; }
.tp-rss { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--felt); border: 1px solid var(--felt); border-radius: 3px; padding: 4px 10px; }
.tp-rss:hover { background: var(--felt); color: #fff; }

/* 기사(노트) 페이지 */
.tp-art { min-width: 0; }
.tp-crumb { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.tp-crumb a:hover { color: var(--felt); }
.tp-art > h1 { font-size: clamp(24px, 3.4vw, 33px); line-height: 1.32; margin: 10px 0; }
.tp-stand { font-size: 16.5px; color: var(--sub); line-height: 1.55; padding-left: 14px; border-left: 3px solid var(--felt); margin-bottom: 16px; }
.tp-art-meta { display: flex; gap: 14px; font-size: 13px; color: var(--faint); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tp-byline { font-weight: 700; color: var(--ink); }
.tp-body { font-size: 16px; line-height: 1.78; }
.tp-body h2 { font-size: 21px; margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid var(--felt-deep); line-height: 1.35; }
.tp-body h3 { font-size: 17.5px; margin: 24px 0 10px; }
.tp-body p { margin: 0 0 15px; }
.tp-body ul, .tp-body ol { margin: 0 0 15px 22px; }
.tp-body li { margin-bottom: 6px; }
.tp-body blockquote { border-left: 4px solid var(--gold); background: #faf8f2; padding: 12px 16px; margin: 0 0 15px; color: #5c4d2a; }
.tp-body table { border-collapse: collapse; margin: 0 0 18px; font-size: 14px; width: 100%; }
.tp-body th, .tp-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.tp-body th { background: var(--felt-deep); color: #fff; }
.tp-body tr:nth-child(even) td { background: #f7faf8; }
.tp-rel { margin-top: 40px; }
.tp-rel h2 { font-size: 17px; padding-bottom: 10px; border-bottom: 2px solid var(--felt-deep); }

/* 규정집 페이지 */
.tp-rules { max-width: 880px; }
.tp-rules-head { display: flex; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--felt-deep); padding-bottom: 18px; margin-bottom: 22px; }
.tp-rules-head h1 { font-size: clamp(27px, 4vw, 36px); color: var(--felt-deep); }
.tp-rules-head p { color: var(--sub); font-size: 14.5px; margin-top: 8px; max-width: 560px; }
.tp-rules-art { flex-shrink: 0; }
.tp-rules-art .pc-row { transform: rotate(-4deg); }
.tp-rules-art .pc { filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.tp-toc { border: 1px solid var(--line); background: #f7faf8; border-radius: 6px; padding: 16px 20px; margin-bottom: 30px; max-width: 420px; }
.tp-toc h2 { font-size: 15px; margin-bottom: 8px; }
.tp-toc ol { margin-left: 20px; font-size: 14px; }
.tp-toc li { margin: 3px 0; }
.tp-toc a { font-weight: 600; color: var(--felt); }
.tp-toc a:hover { text-decoration: underline; }
.tp-rules section { margin-bottom: 38px; }
.tp-rules section h2 { font-size: 22px; color: var(--felt-deep); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; scroll-margin-top: 70px; }
.tp-rules section h3 { font-size: 16.5px; margin: 20px 0 8px; }
.tp-rules p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.75; }
.tp-rules ul, .tp-rules ol { margin: 0 0 12px 22px; font-size: 15px; }
.tp-rules li { margin-bottom: 7px; line-height: 1.65; }
.tp-table-wrap { overflow-x: auto; margin: 0 0 14px; }
.tp-rules table { border-collapse: collapse; font-size: 14px; width: 100%; }
.tp-rules th, .tp-rules td { border: 1px solid var(--line); padding: 8px 11px; text-align: left; }
.tp-rules th { background: var(--felt-deep); color: #fff; font-weight: 700; white-space: nowrap; }
.tp-rules tr:nth-child(even) td { background: #f7faf8; }
.tp-hands-table td:nth-child(1) { text-align: center; font-weight: 800; color: var(--felt); }
.tp-hand-cards { white-space: nowrap; }
.tp-diagram { display: block; width: 100%; max-width: 560px; height: auto; margin: 6px auto 18px; }
.tp-steps li { margin-bottom: 10px; }
.tp-terms { font-size: 15px; }
.tp-terms dt { font-weight: 800; color: var(--felt-deep); margin-top: 12px; }
.tp-terms dd { margin: 2px 0 0 0; color: #3c4a43; }
#responsible p { background: #f7faf8; border: 1px solid var(--line); border-left: 4px solid var(--felt); padding: 14px 16px; border-radius: 0 6px 6px 0; }

/* 푸터 */
.tp-foot { background: var(--felt-deep); color: #a8c3b6; margin-top: 50px; }
.tp-foot-in { max-width: var(--w); margin: 0 auto; padding: 38px 20px 26px; font-size: 13.5px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.tp-foot-name { font-family: "Noto Serif KR", Georgia, serif; font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.tp-foot-name .tp-suit { color: var(--gold-soft); }
.tp-foot-note { margin-top: 8px; color: #7ba18f; font-size: 12.5px; }
.tp-foot-col h4 { color: #fff; font-size: 13.5px; margin-bottom: 10px; letter-spacing: 0.5px; }
.tp-foot-nav { display: flex; flex-direction: column; gap: 6px; }
.tp-foot a:hover { color: #fff; }
.tp-foot-copy { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 14px; color: #628a77; font-size: 12.5px; }

/* 반응형 */
@media (max-width: 940px) {
  .tp-layout { grid-template-columns: 1fr; }
  .tp-side { margin-top: 30px; }
  .tp-foot-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .tp-logo { font-size: 27px; }
  .tp-felt { flex-direction: column; align-items: flex-start; }
  .tp-felt-art { align-self: center; }
  .tp-thumb { width: 96px; }
  .tp-thumb-svg { width: 96px; height: 67px; }
  .tp-rules-head { flex-direction: column; align-items: flex-start; }
}
