@font-face {
  font-family: 'Hub Sans';
  src: url('/assets/noto-sans-kr-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: 'Hub Sans', 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: #202529;
  background: #f7f8fa;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2275d7; outline-offset: 6px; }
[hidden] { display: none !important; }
::selection { background: #d5e4e0; }
.site-shell { max-width: 1192px; margin: 0 auto; padding: 0 48px; }
.site-header { min-height: 88px; display: flex; align-items: center; gap: 48px; border-bottom: 1px solid #e3e6e8; }
.wordmark { font-size: 29px; font-weight: 800; letter-spacing: -1.8px; }
.wordmark span { color: #4d8073; }
.main-nav { display: flex; align-self: stretch; gap: 28px; }
.main-nav a { display: grid; place-items: center; min-width: 42px; color: #707973; font-size: 14px; border-bottom: 2px solid transparent; padding: 0 3px; }
.main-nav a[aria-current="page"] { color: #2e5d46; border-bottom-color: #47705b; font-weight: 700; }
.account-actions { margin-left: auto; display: flex; gap: 13px; align-items: center; font-size: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 17px; background: #365e49; color: #fff; border: 1px solid #365e49; border-radius: 7px; font-size: 12px; font-weight: 550; cursor: pointer; white-space: nowrap; }
.button:hover { background: #274a37; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button-small { min-height: 35px; padding: 7px 12px; font-size: 11px; }
.button-secondary { background: #fff; color: #3e5c49; border-color: #cbd6ce; }
.button-secondary:hover { background: #edf3ef; }
.notice { padding: 14px 18px; border-left: 3px solid #88a08c; background: #edf2ee; color: #4c6252; font-size: 12px; line-height: 1.9; margin: 22px 0; word-break: keep-all; }
.intro { padding: 51px 0 35px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 10px; letter-spacing: 2.2px; font-weight: 600; color: #58635f; }
.little-square { width: 7px; height: 7px; background: #557d6f; }
h1 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.3; font-weight: 750; letter-spacing: -2.8px; word-break: keep-all; }
h1 > span { color: #78847f; }
.intro-description { margin: 18px 0 0; color: #626b70; font-size: 14px; line-height: 1.9; word-break: keep-all; }
.mobile-break { display: none; }
.dashboard { padding-bottom: 45px; scroll-margin-top: 24px; }
.overview { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 32px; padding: 30px 32px; background: #eaf0ed; border: 1px solid #d7e0da; border-radius: 16px; }
.overview-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.coverage { font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 5px; color: #795723; background: #fff6e4; }
.coverage.is-complete { color: #32614b; background: #d4e6dc; }
.total-downloads { margin: 15px 0 9px; font-size: clamp(40px, 5vw, 64px); line-height: 1.1; letter-spacing: -2.5px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.total-note { margin: 0; color: #5d6a63; font-size: 11px; line-height: 1.8; word-break: keep-all; }
.project-overview { border-left: 1px solid #ccd8d0; padding-left: 32px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.project-overview > span { font-size: 12px; color: #58655d; }
.project-overview strong { font-size: 36px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.project-overview p { margin: 7px 0 0; font-size: 10px; line-height: 1.8; color: #67736a; word-break: keep-all; }
.section-heading.table-heading { margin-top: 35px; }
.download-chart { margin: 28px 0 0; padding: 26px 28px; background: #fff; border: 1px solid #dce3df; border-radius: 12px; }
.download-bar { margin-top: 24px; }
.download-bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 12px; }
.download-value { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.download-status { display: inline-block; color: #795723; font-size: 10px; font-weight: 400; }
.download-bar svg { display: block; width: 100%; background: #f0f3f1; border-radius: 4px; }
.download-bar rect { fill: #365e49; }
.download-bar[data-download="curseforge"] rect { fill: #ce653e; }
.download-bar[data-download="modrinth"] rect { fill: #259963; }
.download-chart .collection-note { margin: 20px 0 0; }
.table-container { background: #fff; border: 1px solid #e0e3e6; border-radius: 12px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
thead { background: #f1f4f3; color: #647169; font-size: 10px; }
th, td { padding: 18px 24px; }
thead th { font-weight: 600; }
th:first-child { text-align: left; }
tbody th { width: 45%; font-weight: 550; }
tbody tr + tr { border-top: 1px solid #edf0ef; }
tbody tr:hover { background: #fafcfb; }
td a { text-decoration: underline; text-decoration-color: #d2dcd6; text-underline-offset: 4px; }
td a:hover { color: #326e50; text-decoration-color: currentColor; }
.is-unknown { color: #7c8079; font-size: 10px; }
.combined-count { background: #f6f9f7; }
.combined-count strong { font-size: 15px; font-weight: 650; }
.row-status, .mapping-note { display: block; margin-top: 4px; font-size: 9px; color: #7a7566; font-weight: 400; }
.row-status:empty { display: none; }
.table-message { margin: 0; padding: 22px 24px; color: #66756b; font-size: 12px; line-height: 1.8; }
.stats-retry { margin: 18px 24px; }
.platforms { padding: 0 0 54px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
h2 { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: -.35px; }
.section-caption { font-size: 9px; letter-spacing: 1.6px; color: #6a7277; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { --accent: #b64729; --tint: #fceee8; --edge: #edc7b8; display: flex; flex-direction: column; padding: 22px 24px 0; border: 1px solid #e0e3e6; border-radius: 12px; background: #fff; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.service-card.modrinth { --accent: #167746; --tint: #e5f7ec; --edge: #b5dbc6; }
.service-card:hover { transform: translateY(-4px); border-color: var(--edge); box-shadow: 0 14px 30px -19px #182d2940; }
.card-top { display: flex; align-items: center; gap: 12px; }
.platform-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); }
.platform-icon img { display: block; }
.card-arrow { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; color: #7b8385; font-size: 22px; transition: transform 180ms ease; }
.service-card:hover .card-arrow { color: var(--accent); transform: translate(2px, -2px); }
h3 { margin: 0; font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -.6px; }
.stats-status { margin: 16px 0; flex: 1; color: #6d777b; font-size: 10px; line-height: 1.7; }
.stats-status.is-stale { color: #986329; }
.card-bottom { display: flex; gap: 14px; justify-content: space-between; align-items: center; min-height: 49px; border-top: 1px solid #edf0f1; font-size: 11px; }
.card-domain { color: #737d81; }
.card-cta { display: flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 600; }
.card-cta > span { font-size: 17px; }
.collection-note { display: flex; align-items: baseline; gap: 7px; margin: 20px 0 0; font-size: 11px; line-height: 1.7; color: #6d777b; word-break: keep-all; }
.load-state { display: flex; min-height: 160px; flex-direction: column; justify-content: center; align-items: center; gap: 12px; border: 1px dashed #c8d2ce; border-radius: 12px; color: #626b70; text-align: center; padding: 24px; font-size: 14px; }
.load-state p { margin: 0; }
#retry, .stats-retry { cursor: pointer; border: 1px solid #aebeb6; border-radius: 7px; padding: 9px 13px; font-size: 11px; color: #344c40; background: #fff; }
#retry:hover, .stats-retry:hover { background: #eaf1ed; }
.noscript-links { padding: 16px; font-size: 14px; line-height: 2; }
.noscript-links a { text-decoration: underline; margin-left: 10px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #e3e6e8; padding: 25px 0 32px; color: #707a7e; font-size: 10px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: #fff; z-index: 10; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.locked-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; margin-top: 28px; background: #fff; border: 1px solid #dce3df; border-radius: 12px; }
.locked-panel h2 { font-size: 18px; letter-spacing: -.7px; margin-top: 9px; }
.locked-panel p, .connection-panel p { font-size: 12px; color: #68756c; line-height: 1.9; margin: 9px 0 0; word-break: keep-all; }
.private-label { font-size: 10px; color: #687a6d; }
#sites-view { padding-bottom: 48px; }
.source-intro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding: 40px 0 35px; }
.source-intro-grid article { padding-top: 17px; border-top: 1px solid #d9e2dc; }
.source-number { display: block; font-size: 10px; color: #8b968e; margin-bottom: 13px; }
.source-intro-grid h2 { font-size: 16px; }
.source-intro-grid p { font-size: 11px; line-height: 1.9; color: #657268; }
.connection-panel { padding: 23px 26px; background: #eaf0ed; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-toolbar { display: flex; align-items: end; gap: 12px; margin: 28px 0 20px; flex-wrap: wrap; }
.site-toolbar label:first-child { flex: 1; min-width: 180px; }
label { display: grid; gap: 8px; color: #56665b; font-size: 11px; }
input, select { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #cbd6ce; background: #fff; color: #283a2e; border-radius: 7px; font: inherit; font-size: 12px; }
input::placeholder { color: #7e8981; }
.site-settings { margin: 22px 0; border: 1px solid #dce3df; border-radius: 10px; background: #fff; }
.site-settings summary { cursor: pointer; padding: 18px 22px; font-size: 12px; font-weight: 600; }
.site-settings form { padding: 5px 22px 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-note { font-size: 11px; color: #69766e; line-height: 1.8; margin: 20px 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report-period { font-size: 11px; color: #68786d; margin: 24px 0 15px; line-height: 1.8; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.report-card { min-width: 0; background: #fff; border: 1px solid #dce3df; border-radius: 12px; padding: 23px 22px 16px; }
.report-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.report-title h2 { font-size: 14px; }
.report-state { color: #8a7050; font-size: 9px; white-space: nowrap; }
.report-state.is-ready { color: #417859; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin: 27px 0 22px; }
.metric-grid dt { color: #6a786e; font-size: 10px; }
.metric-grid dd { margin: 7px 0 0; font-size: clamp(19px, 2vw, 27px); font-weight: 650; letter-spacing: -.8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-grid > div:first-child { grid-column: 1 / -1; }
.metric-grid > div:first-child dd { font-size: 33px; }
.report-note { color: #6c796f; font-size: 10px; line-height: 1.8; min-height: 36px; word-break: keep-all; }
.report-chart svg { width: 100%; display: block; overflow: visible; }
.chart-line { fill: none; stroke: #508269; stroke-width: 2; }
.report-chart circle { fill: #508269; }
.report-chart circle:hover { r: 5; fill: #244b35; }
.chart-caption { color: #7b887f; font-size: 9px; text-align: center; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }
.detail-list { min-width: 0; }
.detail-list > p { font-size: 10px; color: #728076; }
.detail-list ol { margin: 18px 0 0; padding: 0; list-style: none; }
.detail-list li { display: flex; gap: 16px; justify-content: space-between; padding: 13px 0; font-size: 12px; border-bottom: 1px solid #e2e8e4; }
.detail-list li span { overflow-wrap: anywhere; min-width: 0; }
.detail-list li strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.detail-list .empty-row { color: #778279; font-size: 11px; line-height: 1.8; }

@media (max-width: 900px) {
  .overview { grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; padding: 26px; }
  .project-overview { padding-left: 24px; }
  th, td { padding: 18px 16px; }
  .report-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metric-grid > div:first-child { grid-column: auto; }
  .metric-grid > div:first-child dd { font-size: 27px; }
  .report-chart svg { max-height: 160px; }
}

@media (max-width: 640px) {
  .site-shell { padding: 0 20px; }
  .site-header { min-height: 74px; gap: 17px; flex-wrap: wrap; }
  .wordmark { font-size: 23px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12px; min-width: 28px; }
  .account-actions { gap: 0; }
  #account-name { display: none; }
  .button-small { padding: 7px 8px; font-size: 10px; }
  .intro { padding: 38px 0 28px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.8px; margin-bottom: 21px; }
  h1 { font-size: clamp(32px, 8vw, 43px); letter-spacing: -2.2px; line-height: 1.38; }
  .intro-description { font-size: 13px; margin-top: 19px; }
  .mobile-break { display: block; }
  .overview { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; }
  .total-downloads { font-size: clamp(38px, 11vw, 58px); letter-spacing: -1.8px; margin-top: 18px; }
  .project-overview { border-left: 0; border-top: 1px solid #ccd8d0; padding: 16px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; }
  .project-overview strong { grid-column: 2; grid-row: 1 / 3; font-size: 28px; }
  .project-overview p { margin: 0; }
  .download-chart { padding: 22px 20px; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px 16px; gap: 17px 10px; }
  th, td { padding: 0; min-width: 0; }
  tbody th { width: auto; grid-column: 1 / -1; font-size: 13px; }
  td { text-align: left; font-size: 13px; overflow-wrap: anywhere; }
  td::before { content: attr(data-label); display: block; color: #728076; font-size: 9px; margin-bottom: 9px; }
  .combined-count { background: transparent; }
  .combined-count strong { font-size: 15px; line-height: 1; }
  .table-message { padding: 20px 16px; }
  .stats-retry { margin: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 20px 20px 0; }
  .section-caption { font-size: 8px; }
  .collection-note { font-size: 10px; }
  .platforms { padding-bottom: 39px; }
  .site-footer { font-size: 9px; padding: 23px 0 28px; }
  .locked-panel { flex-direction: column; align-items: start; padding: 23px 20px; gap: 20px; }
  .source-intro-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 27px; }
  .source-intro-grid article { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: center; }
  .source-intro-grid p { grid-column: 2; margin: 6px 0 0; }
  .source-number { margin: 0; }
  .connection-panel { flex-direction: column; align-items: start; padding: 22px 20px; }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .site-toolbar label { min-width: 0; flex: 1; }
  .site-toolbar label:first-child { min-width: 100%; }
  .site-toolbar .button { font-size: 11px; padding: 10px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid > div:first-child { grid-column: 1 / -1; }
  .metric-grid > div:first-child dd { font-size: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .service-card:hover, .service-card:hover .card-arrow { transform: none; }
}
