:root {
  color-scheme: light;
  --hmk-ink: #17211f;
  --hmk-muted: #5c6b67;
  --hmk-line: #d4ded8;
  --hmk-paper: #f5f7f2;
  --hmk-card: #ffffff;
  --hmk-accent: #a8ef5a;
  --hmk-deep: #1c3d35;
  --hmk-warm: #f0e9d9;
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--hmk-ink);
  background: var(--hmk-paper);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(28, 61, 53, .035) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--hmk-paper);
  color: var(--hmk-ink);
}

.b35-brand,
.b35-navigation,
main,
.b35-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.b35-brand {
  padding: 26px 0 15px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .04em;
}

.b35-brand a { color: var(--hmk-ink); text-decoration: none; }

.b35-navigation {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 0 0 19px;
  white-space: nowrap;
}

.b35-navigation a {
  border: 1px solid var(--hmk-line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--hmk-deep);
  background: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13px;
}

.b35-navigation a:hover,
.b35-navigation a:focus-visible { background: var(--hmk-accent); }

.b35-skip:focus { left: 20px; top: 15px; z-index: 10; background: white; padding: 10px; }

main { padding-bottom: 64px; }

.hmk-opening {
  margin: 8px 0 22px;
  padding: clamp(27px, 5vw, 62px);
  border-radius: 26px 6px 26px 6px;
  background: var(--hmk-deep);
  color: #f7fff5;
  overflow: hidden;
  position: relative;
}

.hmk-opening::after {
  content: "";
  position: absolute;
  right: -95px;
  top: -120px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(168,239,90,.45);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(168,239,90,.06), 0 0 0 78px rgba(168,239,90,.035);
  pointer-events: none;
}

.hmk-opening h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(31px, 5vw, 58px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.hmk-intro-copy {
  max-width: 910px;
  margin: 0;
  color: #e0eae3;
  font-size: 16px;
  line-height: 2;
}

.hmk-count-strip {
  display: flex;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.hmk-count-strip p {
  min-width: 145px;
  margin: 0;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.2);
  display: grid;
  gap: 4px;
}

.hmk-count-strip p:first-child { padding-left: 0; }
.hmk-count-strip p:last-child { border: 0; }
.hmk-count-strip b { color: var(--hmk-accent); font-size: 23px; font-variant-numeric: tabular-nums; }
.hmk-count-strip span { color: #cfddd2; font-size: 12px; }

.hmk-about,
.hmk-schedule,
.hmk-community,
.hmk-news,
.hmk-featured,
.hmk-trend,
.hmk-faq,
.hmk-results {
  margin-top: 19px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--hmk-line);
  background: var(--hmk-card);
}

.hmk-about { border-radius: 6px 28px 6px 28px; }
.hmk-schedule { border-radius: 5px; }
.hmk-community { border: 0; background: transparent; padding-inline: 0; }
.hmk-news { border-radius: 28px 5px 5px 5px; }
.hmk-featured { background: var(--hmk-warm); border-color: transparent; border-radius: 5px 5px 30px 5px; }
.hmk-trend { border-radius: 4px; border-left: 7px solid var(--hmk-accent); }
.hmk-faq { border-radius: 5px 24px 5px 5px; }
.hmk-results { border-radius: 24px 5px 5px 5px; }

.hmk-about h2,
.hmk-schedule h2,
.hmk-community h2,
.hmk-news h2,
.hmk-featured h2,
.hmk-trend h2,
.hmk-faq h2,
.hmk-results h2,
.hmk-ledger h2 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 30px);
  letter-spacing: -.025em;
}

.hmk-about-columns {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  margin-top: 23px;
}

.hmk-about-columns article { padding: 20px 22px; background: #f0f5ee; border-radius: 4px 18px 4px 4px; }
.hmk-about-columns article + article { background: #edf1ed; }
.hmk-about-columns h3 { margin: 0 0 11px; font-size: 18px; }
.hmk-about-columns p,
.hmk-section-note,
.hmk-trend-note p,
.hmk-feature-lead p { margin: 0; color: var(--hmk-muted); line-height: 1.9; }

.hmk-schedule header,
.hmk-community header,
.hmk-news header,
.hmk-results header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 12px;
}

.hmk-schedule header p,
.hmk-community header p,
.hmk-news header p,
.hmk-results header p { margin: 0; color: var(--hmk-muted); font-size: 13px; }
.hmk-section-note { max-width: 900px; margin-bottom: 19px; }
.hmk-table-wrap { overflow-x: auto; }

.hmk-fixture-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  text-align: left;
  font-size: 13px;
}

.hmk-fixture-table th {
  padding: 12px 14px;
  color: #6d7975;
  background: #eef2ed;
  font-weight: 600;
}

.hmk-fixture-table td { padding: 13px 14px; border-bottom: 1px solid #e6ebe6; vertical-align: middle; }
.hmk-date time { display: block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hmk-date small { display: block; margin-top: 3px; color: #74817c; font-size: 10px; }
.hmk-competition { display: block; color: #687770; font-size: 11px; margin-bottom: 5px; }
.hmk-pair { font-weight: 700; }
.hmk-pair i { color: #80908a; font-style: normal; padding: 0 4px; }
.hmk-score { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hmk-state { padding: 5px 8px; border-radius: 999px; background: #e9eee9; color: #53615b; font-size: 11px; white-space: nowrap; }
.hmk-state-completed { background: #dff0d1; color: #345b2c; }

.hmk-voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.hmk-voice { position: relative; padding: 22px 22px 22px 70px; background: #edf2eb; border-radius: 3px 18px 3px 3px; }
.hmk-voice-1 { grid-column: 1 / -1; background: var(--hmk-deep); color: #f5fff4; }
.hmk-voice-1 p { color: #d9e6dc; }
.hmk-voice-mark { position: absolute; top: 20px; left: 20px; color: #76936d; font-size: 12px; font-weight: 800; }
.hmk-voice-1 .hmk-voice-mark { color: var(--hmk-accent); }
.hmk-voice h3 { margin: 0 0 10px; font-size: 17px; }
.hmk-voice p { margin: 0; color: var(--hmk-muted); line-height: 1.9; }

.hmk-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.hmk-story { padding: 18px; border: 1px solid var(--hmk-line); background: #fbfcf9; border-radius: 4px 18px 4px 4px; }
.hmk-story-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.hmk-story-top time { color: #64736d; font-size: 12px; font-variant-numeric: tabular-nums; }
.hmk-story h3 { margin: 15px 0 10px; font-size: 17px; line-height: 1.55; }
.hmk-story h3 a { color: var(--hmk-ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hmk-story p { margin: 0; color: var(--hmk-muted); font-size: 13px; line-height: 1.85; }
.hmk-stamp { width: auto; height: auto; max-width: 58px; max-height: 58px; object-fit: contain; border-radius: 8px; }
.hmk-more { display: inline-block; margin-top: 18px; color: var(--hmk-deep); font-weight: 700; text-underline-offset: 4px; }

.hmk-feature-lead { display: grid; grid-template-columns: 66px 1fr; gap: 18px; align-items: start; margin: 20px 0; }
.hmk-feature-lead h3 { margin: 0 0 7px; font-size: 19px; }
.hmk-feature-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hmk-feature-match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px 12px; align-items: center; padding: 16px; background: rgba(255,255,255,.75); border-radius: 4px; }
.hmk-feature-match span { grid-column: 1 / -1; color: var(--hmk-muted); font-size: 12px; }
.hmk-feature-match strong:first-of-type { text-align: right; }
.hmk-feature-match i { color: #79847f; font-style: normal; }
.hmk-feature-match small { grid-column: 1 / -1; color: var(--hmk-muted); font-size: 11px; }

.hmk-trend-note { display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.hmk-trend-note > span { color: #82a66b; font-size: 38px; font-weight: 800; line-height: 1; }
.hmk-trend-note h3 { margin: 0 0 8px; font-size: 18px; }

.hmk-faq-list { margin-top: 16px; border-top: 1px solid var(--hmk-line); }
.hmk-question { padding: 15px 2px; border-bottom: 1px solid var(--hmk-line); }
.hmk-question summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.hmk-question p { max-width: 980px; margin: 11px 0 0; color: var(--hmk-muted); line-height: 1.9; }

.hmk-result-stack { display: grid; gap: 7px; }
.hmk-result-row { display: grid; grid-template-columns: 115px 70px 1fr 78px 1fr; gap: 13px; align-items: center; padding: 15px 17px; background: #f1f5f0; border-radius: 5px; font-size: 13px; }
.hmk-result-row time { color: var(--hmk-muted); font-variant-numeric: tabular-nums; }
.hmk-result-row span { color: #6b7a73; font-size: 11px; }
.hmk-result-row strong:last-of-type { text-align: right; }
.hmk-result-row b { text-align: center; font-size: 18px; font-variant-numeric: tabular-nums; }

.hmk-inner-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 35px clamp(20px, 4vw, 46px); margin: 8px 0 18px; background: var(--hmk-deep); color: white; border-radius: 6px 28px 6px 6px; }
.hmk-inner-head > div { min-width: 0; }
.hmk-inner-head p { margin: 0 0 8px; color: #c9d9cd; font-size: 13px; }
.hmk-inner-head h1 { margin: 0; font-size: clamp(28px, 4vw, 43px); }
.hmk-inner-head > span { color: var(--hmk-accent); font-size: 13px; white-space: nowrap; }
.hmk-about-head { justify-content: flex-start; }
.hmk-news-head { align-items: end; }
.hmk-news-total { font-size: 48px !important; font-weight: 800; line-height: .9; }
.hmk-about-sheet { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; gap: 15px; }
.hmk-about-sheet article { padding: 27px; background: white; border: 1px solid var(--hmk-line); border-radius: 4px 24px 4px 4px; }
.hmk-about-sheet article:nth-child(2) { margin-top: 35px; background: #edf3e9; }
.hmk-about-sheet article > span { color: #6d806e; font-size: 12px; }
.hmk-about-sheet h2 { margin: 13px 0 10px; font-size: 21px; }
.hmk-about-sheet p { margin: 0; line-height: 1.95; color: var(--hmk-muted); }
.hmk-link-rail { display: flex; gap: 12px; margin-top: 18px; }
.hmk-link-rail a { padding: 10px 14px; border: 1px solid var(--hmk-line); border-radius: 999px; color: var(--hmk-deep); text-decoration: none; }

.hmk-news-index { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; align-items: start; }
.hmk-news-index-label { position: sticky; top: 14px; padding: 18px 0; border-top: 4px solid var(--hmk-accent); }
.hmk-news-index-label h2 { margin: 0 0 8px; font-size: 19px; }
.hmk-news-index-label p { margin: 0; color: var(--hmk-muted); font-size: 13px; line-height: 1.8; }
.hmk-story-list { display: grid; gap: 11px; }
.hmk-story-list .hmk-story { display: grid; grid-template-columns: 83px minmax(0, 1fr); column-gap: 17px; border-radius: 4px 15px 4px 4px; }
.hmk-story-list .hmk-story-top { grid-row: span 2; display: flex; flex-direction: column; align-items: start; justify-content: start; }
.hmk-story-list .hmk-story h3 { margin: 0 0 8px; }
.hmk-story-list .hmk-story p { grid-column: 2; }

.hmk-ledger { padding: 25px; background: white; border: 1px solid var(--hmk-line); border-radius: 4px 24px 4px 4px; }
.hmk-ledger-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.hmk-ledger-caption p { color: var(--hmk-muted); font-size: 12px; margin: 0; }
.hmk-data-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 17px; }
.hmk-data-notes article { padding: 22px; border-left: 3px solid var(--hmk-accent); background: #edf2eb; }
.hmk-data-notes article h2 { margin: 0 0 9px; font-size: 18px; }
.hmk-data-notes article p { margin: 0; color: var(--hmk-muted); line-height: 1.9; }
.hmk-data-back { margin: 21px 0 0; }
.hmk-data-back a { color: var(--hmk-deep); text-underline-offset: 4px; }

.hmk-chinese-head { background: #e9f0e7; color: var(--hmk-ink); border: 1px solid var(--hmk-line); }
.hmk-chinese-head p { color: #66766a; }
.hmk-cn-mark { width: 58px; height: 58px; border: 1px solid #9caf99; border-radius: 50%; display: grid; place-items: center; color: var(--hmk-deep); font-size: 25px; font-weight: 800; }
.hmk-language-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hmk-language-grid article { min-height: 230px; padding: 27px; background: white; border: 1px solid var(--hmk-line); border-radius: 25px 4px 4px 4px; }
.hmk-language-grid article:nth-child(2) { margin-top: 30px; background: var(--hmk-warm); }
.hmk-language-grid article > span { color: #72915f; font-weight: 800; }
.hmk-language-grid h2 { margin: 17px 0 10px; font-size: 20px; }
.hmk-language-grid p { margin: 0; color: var(--hmk-muted); line-height: 1.9; }
.hmk-terms { margin-top: 19px; padding: 25px; background: var(--hmk-deep); color: white; border-radius: 5px 5px 25px 5px; }
.hmk-terms h2 { margin: 0 0 15px; font-size: 21px; }
.hmk-terms dl { margin: 0; }
.hmk-terms dl div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.2); }
.hmk-terms dt { color: var(--hmk-accent); font-weight: 700; }
.hmk-terms dd { margin: 0; color: #dce8de; line-height: 1.8; }

.hmk-pocket-head { justify-content: flex-start; background: var(--hmk-warm); color: var(--hmk-ink); border-radius: 24px 4px 4px 4px; }
.hmk-pocket-head p { color: #68746b; }
.hmk-pocket-panel { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; gap: 12px; align-items: stretch; }
.hmk-pocket-label { padding: 23px; background: var(--hmk-deep); color: white; display: flex; flex-direction: column; justify-content: space-between; border-radius: 4px 18px 4px 4px; }
.hmk-pocket-label span { color: var(--hmk-accent); font-weight: 700; }
.hmk-pocket-label p { margin: 22px 0 0; line-height: 1.8; color: #dce8de; }
.hmk-pocket-panel article { padding: 22px; background: white; border: 1px solid var(--hmk-line); border-radius: 4px 18px 4px 4px; }
.hmk-pocket-panel h2 { margin: 0 0 10px; font-size: 18px; }
.hmk-pocket-panel article p { margin: 0; color: var(--hmk-muted); line-height: 1.9; }
.hmk-pocket-example { display: grid; grid-template-columns: minmax(280px, .85fr) 1fr; gap: 20px; align-items: center; margin-top: 17px; padding: 19px 23px; border: 1px dashed #8ca18d; border-radius: 4px; }
.hmk-pocket-example div { display: grid; gap: 8px; }
.hmk-pocket-example span,
.hmk-pocket-example small { color: var(--hmk-muted); font-size: 11px; }
.hmk-pocket-example strong { font-size: 20px; }
.hmk-pocket-example i { padding: 0 8px; color: #718078; font-style: normal; }
.hmk-pocket-example p { margin: 0; color: var(--hmk-muted); line-height: 1.8; }

.b35-footer { border-top: 1px solid var(--hmk-line); padding: 23px 0 34px; color: var(--hmk-muted); font-size: 12px; line-height: 1.8; }
.b35-footer p { margin: 5px 0; }
.b35-footer a { color: var(--hmk-deep); margin-right: 15px; }

@media (max-width: 760px) {
  .b35-brand, .b35-navigation, main, .b35-footer { width: min(100% - 24px, 620px); }
  .hmk-opening { padding: 27px 22px; border-radius: 18px 4px 18px 4px; }
  .hmk-opening::after { width: 220px; height: 220px; right: -145px; top: -60px; }
  .hmk-intro-copy { font-size: 14px; line-height: 1.9; }
  .hmk-count-strip p { min-width: 0; flex: 1; padding-inline: 12px; }
  .hmk-count-strip b { font-size: 19px; }
  .hmk-about-columns, .hmk-story-grid, .hmk-feature-pairs, .hmk-data-notes,
  .hmk-language-grid, .hmk-pocket-panel, .hmk-pocket-example { grid-template-columns: 1fr; }
  .hmk-voices { grid-template-columns: 1fr; }
  .hmk-voice-1 { grid-column: auto; }
  .hmk-language-grid article:nth-child(2), .hmk-about-sheet article:nth-child(2) { margin-top: 0; }
  .hmk-result-row { grid-template-columns: 1fr 1fr; gap: 7px 12px; }
  .hmk-result-row strong:last-of-type { text-align: left; }
  .hmk-result-row b { text-align: left; }
  .hmk-schedule header, .hmk-community header, .hmk-news header, .hmk-results header,
  .hmk-ledger-caption { display: block; }
  .hmk-schedule header p, .hmk-community header p, .hmk-news header p, .hmk-results header p,
  .hmk-ledger-caption p { margin-top: 7px; }
  .hmk-inner-head { padding: 25px 20px; }
  .hmk-about-sheet { grid-template-columns: 1fr; }
  .hmk-news-index { grid-template-columns: 1fr; gap: 10px; }
  .hmk-news-index-label { position: static; padding: 14px 0 5px; }
  .hmk-story-list .hmk-story { grid-template-columns: 1fr; }
  .hmk-story-list .hmk-story-top { grid-row: auto; flex-direction: row; align-items: center; }
  .hmk-story-list .hmk-story p { grid-column: auto; }
  .hmk-pocket-example { gap: 12px; }
  .hmk-terms dl div { grid-template-columns: 75px 1fr; gap: 10px; }
}
