:root { font-family: Pretendard Variable, Pretendard, 'Malgun Gothic', sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #f9fafb; color: var(--color-text, #191f28); line-height: 1.55; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
h1, h2, p, ol, ul, dl, dd { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ch-wrap { width: min(760px, 100%); margin: 0 auto; padding: 0 16px; }
.ch-download { height: 46px; margin-top: 14px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--color-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ch-dialog { width: min(360px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: 20px; text-align: center; }
.ch-dialog::backdrop { background: rgb(0 0 0 / 0.45); }
.ch-dialog h2 { font-size: 20px; }
.ch-dialog p { margin: 6px 0 16px; color: var(--color-text-sub); font-size: 14px; }
.ch-dialog__main { display: block; margin-bottom: 8px; padding: 13px; border-radius: 12px; background: var(--color-primary); color: #fff; font-weight: 700; }
.ch-dialog button { width: 100%; height: 44px; border: 0; border-radius: 12px; background: #f2f4f6; font: inherit; font-weight: 600; cursor: pointer; }
.ch-wrap--wide { width: min(1320px, 100%); }
.ch-table-wrap { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--color-line); }
.ch-table { border-collapse: separate; border-spacing: 0; }
.ch-table td { min-width: 86px; padding: 8px 6px; border-right: 1px solid #f2f4f6; border-bottom: 1px solid #f2f4f6; text-align: center; }
.ch-table a { display: block; }
.ch-table a:hover b { color: var(--color-primary); }
.ch-table b { display: block; margin-bottom: 2px; font-size: 14px; white-space: nowrap; }
.ch-table .diagram--sm { width: 66px; }
.ch-table__first { position: sticky; left: 0; z-index: 1; background: #f9fafb; }
.ch-head { background: #fff; border-bottom: 1px solid var(--color-line); }
.ch-head__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.ch-logo { font-size: 19px; font-weight: 800; }
.ch-logo b { color: var(--color-primary); }
.ch-logo span { color: var(--color-text-sub); font-weight: 600; }
.ch-head nav { display: flex; gap: 16px; font-size: 15px; font-weight: 600; }
.ch-head nav a { white-space: nowrap; }
.ch-hero { padding: 44px 0 24px; text-align: center; }
.ch-hero--sm { padding: 28px 0 16px; }
.ch-hero h1 { font-size: 30px; line-height: 1.3; }
.ch-hero p { margin-top: 8px; color: var(--color-text-sub); }
.ch-search { display: flex; gap: 8px; margin-top: 20px; }
.ch-search input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 1px solid var(--color-line); border-radius: 16px; background: #fff; font: inherit; font-size: 17px; }
.ch-search input:focus { outline: 2px solid var(--color-primary); border-color: transparent; }
.ch-search button { flex: none; width: 84px; border: 0; border-radius: 16px; background: var(--color-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ch-hero .ch-chips { justify-content: center; }
.ch-chips a { min-width: 52px; padding: 9px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--color-line); text-align: center; font-weight: 600; }
.ch-chips a:hover { color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.ch-chips--grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ch-section { margin-top: 32px; }
.ch-section h2 { font-size: 20px; }
.ch-sub { margin-top: 4px; color: var(--color-text-sub); font-size: 15px; }
.ch-more { display: inline-block; margin-top: 14px; color: var(--color-primary); font-weight: 700; }
.ch-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ch-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--color-line); color: inherit; font: inherit; cursor: pointer; }
.ch-card:hover { box-shadow: 0 0 0 2px var(--color-primary); }
.ch-detail { margin-top: 16px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--color-line); }
.ch-title h1 { font-size: 28px; line-height: 1.3; }
.ch-title p { margin-top: 4px; color: var(--color-text-sub); }
.ch-main { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 20px; }
.ch-main__diagram { text-align: center; }
.ch-play { width: 100%; height: 46px; margin-top: 10px; border: 0; border-radius: 12px; background: var(--color-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ch-strum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ch-strum button { height: 44px; border: 0; border-radius: 12px; background: #e8f0fe; color: var(--color-primary); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ch-strum button:hover { background: #d6e4fd; }
.ch-intro { font-size: 16px; }
.ch-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ch-facts div { padding: 10px 12px; border-radius: 12px; background: #f2f4f6; }
.ch-facts__wide { grid-column: 1 / -1; }
.ch-facts dt { color: var(--color-text-sub); font-size: 13px; }
.ch-facts dd { font-weight: 700; }
.ch-main__info h2 { margin-top: 18px; font-size: 16px; }
.ch-steps { display: grid; gap: 6px; margin-top: 8px; list-style: none; }
.ch-steps li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: #f9fafb; font-size: 15px; }
.diagram { display: block; width: 100%; max-width: 200px; margin: 0 auto; }
.diagram--sm { max-width: 110px; }
.diagram__line { stroke: #b0b8c1; stroke-width: 1.5; }
.diagram__nut { fill: #191f28; }
.diagram__string { fill: #6b7684; font-size: 13px; font-weight: 600; text-anchor: middle; }
.diagram__open { fill: none; stroke: #6b7684; stroke-width: 2; }
.diagram__mute { fill: #6b7684; font-size: 18px; text-anchor: middle; }
.diagram__base { fill: #6b7684; font-size: 14px; font-weight: 700; text-anchor: middle; }
.diagram__dot, .diagram__barre { fill: var(--color-primary); }
.diagram__finger { fill: #fff; font-size: 14px; font-weight: 700; text-anchor: middle; }
.ch-app { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 20px 16px 12px; overflow: hidden; border: 2px solid var(--color-primary); border-radius: 16px; background: #fff; }
.ch-app img { flex: none; border-radius: 12px; }
.ch-app__ribbon { position: absolute; top: 0; right: 0; padding: 3px 10px; border-bottom-left-radius: 12px; background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 700; }
.ch-app__text { display: grid; flex: 1; min-width: 0; font-size: 14px; }
.ch-app__text span { color: var(--color-text-sub); font-size: 12px; }
.ch-app__go { flex: none; color: var(--color-primary); font-size: 14px; font-weight: 700; }
.ch-ad { min-height: 100px; margin-top: 28px; }
.ch-ad ins { display: block; }
.ch-scores { display: grid; gap: 8px; margin-top: 14px; list-style: none; }
.ch-scores a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--color-line); }
.ch-scores span { flex: none; max-width: 40%; overflow: hidden; color: var(--color-text-sub); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ch-foot { margin-top: 48px; padding: 24px 0; background: #fff; border-top: 1px solid var(--color-line); font-size: 14px; color: var(--color-text-sub); }
.ch-foot .ch-wrap { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 640px) {
  .ch-head nav { gap: 10px; font-size: 14px; }
  .ch-logo { font-size: 17px; white-space: nowrap; }
  .ch-hero { padding-top: 32px; }
  .ch-hero h1 { font-size: 25px; }
  .ch-detail { padding: 18px; }
  .ch-main { grid-template-columns: minmax(0, 1fr); }
  .ch-main__diagram { max-width: 240px; width: 100%; margin: 0 auto; }
  .ch-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-chips--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ch-facts { grid-template-columns: minmax(0, 1fr); }
}
