:root {
  color-scheme: light;
  --paper: #f7f8f0;
  --pine: #144b3c;
  --ink: #173b2f;
  --muted: #50675c;
  --mint: #eaf1e6;
  --lime: #e1ef9d;
  --white: #fffefa;
  --line: #dce5d6;
  --display: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --latin: "Avenir Next", "Segoe UI", sans-serif;
  --body: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #267d5b; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
section[id] { scroll-margin-top: 20px; }
.container { width: min(100% - 104px, 1240px); margin-inline: auto; }
.sprite, .sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; inset: 12px auto auto 16px; z-index: 5; padding: 8px 16px; background: var(--white); border-radius: 8px; }
.icon { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: relative; z-index: 2; }
.masthead {
  min-height: 85px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; width: 54px; height: 45px; background: #e6eedf; border-radius: 12px;
}
.brand-mark svg { width: 43px; height: auto; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-size: 17px; letter-spacing: .035em; font-weight: 800; }
.brand-text small, .footer-brand small { font: 750 9.5px/1.2 var(--latin); letter-spacing: .105em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.site-nav a { font-size: 14px; font-weight: 670; color: #3b5548; white-space: nowrap; padding-block: 9px; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--pine); text-decoration: underline; text-underline-offset: 6px; }
.masthead-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid transparent; border-radius: 999px; padding: 0 19px; font-size: 14px;
  font-weight: 720; line-height: 1.25; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button .icon { width: 17px; height: 17px; }
.button-header { background: transparent; border-color: #cddccb; min-height: 42px; gap: 8px; }
.button-header .icon { width: 19px; height: 19px; }
.button-header:hover { background: var(--mint); border-color: #aec8b1; }
.menu-toggle { display: none; }

.hero { margin-top: 9px; }
.hero-panel {
  display: grid; grid-template-columns: 49% 51%; min-height: 538px;
  border-radius: 29px; overflow: hidden; background: var(--pine); isolation: isolate;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 56px clamp(34px, 4.7vw, 69px); color: var(--white);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px; color: #d8e9d5;
  font: 720 11px/1.3 var(--latin), var(--display); letter-spacing: .12em; white-space: nowrap;
}
.hero-eyebrow > span:first-child {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(225 239 157 / 18%);
}
.hero-eyebrow-rule { width: 19px; height: 1px; background: rgb(216 233 213 / 52%); }
.hero h1 {
  margin: 26px 0 21px; font-weight: 800; font-size: clamp(50px, 5.05vw, 74px);
  line-height: 1.16; letter-spacing: -.056em;
}
.hero h1 em { color: var(--lime); font-style: normal; white-space: nowrap; }
.hero-description { font-size: clamp(14px, 1.16vw, 17px); line-height: 1.85; color: #edf5e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.hero-actions .button { min-height: 52px; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #f1f8c9; }
.button-outline { border-color: #7aab91; background: transparent; color: var(--white); }
.button-outline:hover { border-color: var(--lime); background: rgb(255 255 255 / 8%); }
.hero-media { position: relative; margin: 0; background: #408867; min-width: 0; overflow: hidden; }
.hero-media img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 57%;
}
.court-tag {
  position: absolute; right: 23px; bottom: 23px; display: flex; align-items: center; gap: 11px;
  padding: 10px 15px 10px 11px; border: 1px solid #f1f4cb; border-radius: 12px 12px 12px 2px;
  background: #f5f7dd; color: var(--ink); transform: rotate(-5deg);
  box-shadow: 0 6px 16px rgb(12 46 33 / .22);
}
.court-tag .icon { width: 28px; height: 28px; stroke-width: 3.5; }
.court-tag b { display: block; font-size: 16px; line-height: 1.25; }
.court-tag small { display: block; margin-top: 4px; font: 800 8px/1 var(--latin); letter-spacing: .08em; }

.section { padding-block: 71px 77px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.eyebrow {
  display: flex; align-items: center; gap: 9px; color: #3d6953;
  font: 800 11px/1.2 var(--latin); letter-spacing: .18em;
}
.eyebrow span { width: 17px; height: 6px; border-radius: 999px; background: #82aa83; }
.section h2, .how-copy h2 {
  margin-block: 10px 9px; font-weight: 820; font-size: clamp(31px, 3.35vw, 49px); line-height: 1.16;
  letter-spacing: -.045em;
}
.section-description { color: var(--muted); line-height: 1.7; }
.filters {
  display: flex; gap: 3px; flex: none; padding: 4px; border: 1px solid var(--line);
  border-radius: 999px; min-width: 0; background: #eff3e9;
}
.filters button {
  min-width: 65px; min-height: 39px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 700; line-height: 1;
}
.filters button:hover { background: #e5eddf; }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--pine); }
.feed-state {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  min-height: 63px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px;
  color: var(--muted); background: var(--white); font-size: 14px;
}
.feed-state .button { min-height: 40px; }
.feed-notice {
  min-height: 0; margin-bottom: 16px; gap: 9px; justify-content: start;
  padding-block: 10px; background: #faf5e4; border-color: #e8debf; color: #665923;
}
.feed-notice::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9b7522; flex: none;
}
.activity-head { align-items: center; }
.filters { flex-wrap: wrap; max-width: 55%; border-radius: 20px; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.event-card, .kacha-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.event-card:hover, .kacha-card:hover { border-color: #b9cdb8; box-shadow: 0 8px 24px rgb(26 59 42 / 7%); }
.event-card {
  display: grid; grid-template-columns: minmax(125px, 32%) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
}
.event-card:only-child {
  grid-column: 1 / -1;
  grid-template-columns: clamp(200px, 24%, 300px) minmax(0, 1fr) auto;
  grid-template-rows: auto;
}
.event-cover {
  grid-row: 1 / -1; min-height: 175px; position: relative; overflow: hidden; background: #e5eed9;
}
.event-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-info { padding: 21px 22px 13px; }
.event-card:only-child .event-info { padding: 25px; align-self: center; }
.category-name { color: #395d49; font-size: 12px; line-height: 1.5; font-weight: 730; }
.event-info h3, .kacha-body h3 {
  margin: 4px 0 0; font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.event-details { display: grid; gap: 5px; margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.event-details div { display: grid; grid-template-columns: 2em minmax(0, 1fr); gap: 8px; }
.event-details dt { font-weight: 680; }
.event-details dd { margin: 0; overflow-wrap: anywhere; }
.event-action { grid-column: 2; padding: 0 22px 21px; }
.event-card:only-child .event-action {
  grid-column: 3; justify-self: end; align-self: center; padding: 25px; text-align: right;
}
.event-price { font-size: 17px; font-weight: 780; color: var(--pine); }
.event-capacity { color: var(--muted); font-size: 13px; margin-top: 3px; }
.event-action .button { margin-top: 11px; }
.kacha-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kacha-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px 20px; }
.kacha-body .project-info { min-width: 0; }
.kacha-body .project-description {
  margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.58;
  overflow-wrap: anywhere; white-space: pre-line;
}
.kacha-body .project-price { margin-top: 9px; color: var(--pine); font-size: 13px; font-weight: 720; }
.kacha-body .project-unavailable { margin-top: 9px; color: var(--muted); font-size: 13px; }
.project-action { min-height: 44px; gap: 6px; padding-inline: 12px; font-size: 13px; }
.project-action .icon { width: 14px; height: 14px; }
#toggle-projects .toggle-arrow { transition: transform .18s ease; }
#toggle-projects[aria-expanded="true"] .toggle-arrow { transform: rotate(180deg); }
.icon-button {
  flex: none; width: 44px; height: 44px; border: 1px solid #d9e6d5; border-radius: 50%;
  background: #f0f5ec; display: grid; place-items: center; color: var(--pine);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.icon-button .icon { width: 18px; height: 18px; }
.icon-button:hover { background: var(--pine); border-color: var(--pine); color: var(--white); }

.kacha-section { background: var(--mint); border-block: 1px solid #dde8d9; }
.kacha-section .section { padding-block: 65px 56px; }
.button-light { border-color: #c5d8c1; background: #f9fbf5; }
.button-light:hover { border-color: #aabfa8; background: var(--white); }
.kacha-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.82; object-fit: cover; }
.kacha-caption { color: var(--muted); margin-top: 18px; font-size: 13px; }
.how-section {
  display: grid; grid-template-columns: 1fr 1.12fr; align-items: center;
  column-gap: clamp(34px, 7vw, 100px); padding-block: 75px 79px;
}
.how-copy .button { margin-top: 22px; }
.button-dark { background: var(--pine); color: var(--white); }
.button-dark:hover { background: #24654f; }
.join-ticket {
  position: relative; padding: 11px 24px; margin: 0; list-style: none;
  border: 1px solid #d7e3d3; border-radius: 20px;
  background: #fcfdf7;
}
.join-ticket li {
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 16px;
  min-height: 70px; padding: 10px 0; border-bottom: 1px dashed #d0dfcc;
}
.join-ticket li:last-child { border-bottom: 0; }
.join-ticket .step {
  display: grid; width: 38px; height: 38px; place-content: center; border-radius: 50%;
  background: #e7efdb; font: 800 14px/1 var(--latin); font-variant-numeric: tabular-nums;
}
.join-ticket strong { display: block; font-size: 15px; }
.join-ticket p { margin-top: 2px; color: var(--muted); font-size: 13px; }
.site-footer { background: var(--ink); color: #e7efe4; }
.footer-inner {
  min-height: 105px; padding-block: 20px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-brand small { color: #c0d6c7; }
.footer-contact { justify-self: end; font-size: 13px; }
.footer-contact b { margin-left: 6px; color: #f5f7e9; font-weight: 650; user-select: all; }
.back-top { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.back-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-top .icon { width: 14px; height: 14px; }

.mini-dialog {
  border: 1px solid #dbe7d6; padding: 0; border-radius: 25px; background: var(--white);
  color: var(--ink); width: min(100% - 32px, 425px); max-height: calc(100dvh - 32px);
  box-shadow: 0 20px 70px rgb(10 39 28 / 26%);
}
.mini-dialog::backdrop { background: rgb(10 35 28 / 60%); }
.dialog-content { position: relative; padding: 30px; }
.dialog-close { position: absolute; inset: 15px 15px auto auto; }
.dialog-mark {
  display: grid; place-items: center; width: 55px; height: 55px; border-radius: 14px;
  background: var(--mint); color: var(--pine); margin-bottom: 16px;
}
.dialog-mark .icon { width: 30px; height: 30px; }
.mini-dialog h2 { font-size: clamp(23px, 5vw, 28px); line-height: 1.3; letter-spacing: -.035em; }
.mini-dialog p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.mini-code {
  width: min(224px, 100%, 34dvh); margin: 15px auto 0; padding: 8px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.mini-code img { display: block; width: 100%; height: auto; }
.search-name {
  margin-top: 14px; border-radius: 10px; background: var(--mint); padding: 11px 14px;
  font-weight: 770; letter-spacing: .02em; user-select: all;
}
.mini-dialog .mini-context { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.mini-dialog .dialog-step { margin-top: 13px; }
.copy-button { margin-top: 19px; }
.copy-status { min-height: 1.6em; }

@media (max-width: 1100px) {
  .container { width: min(100% - 72px, 1240px); }
  .hero-panel { min-height: 480px; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .hero-panel { min-height: 450px; }
  .hero-copy { padding: 42px 29px; }
  .hero h1 { font-size: clamp(41px, 5.6vw, 52px); }
  .hero-eyebrow { gap: 7px; font-size: 9px; }
  .hero-eyebrow-rule { width: 12px; }
  .wide-break { display: none; }
  .event-grid, .kacha-grid { gap: 12px; }
  .kacha-body { padding-inline: 13px; }
  .event-card { grid-template-columns: minmax(105px, 25%) minmax(0, 1fr); }
}
@media (max-width: 740px) {
  .masthead { display: flex; justify-content: space-between; min-height: 69px; gap: 8px; }
  .site-nav {
    display: none; position: absolute; top: calc(100% - 1px); inset-inline: 24px;
    padding: 8px; gap: 0; border: 1px solid var(--line); border-radius: 15px;
    background: var(--white); box-shadow: 0 12px 25px rgb(20 75 60 / 11%);
  }
  .site-nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px; border-radius: 8px; }
  .site-nav a:hover, .site-nav a:focus-visible { background: var(--mint); }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; background: transparent;
    border: 1px solid #cddccb; border-radius: 50%;
  }
  .hero { margin-top: 4px; }
  .hero-panel { grid-template-columns: 1fr; min-height: auto; border-radius: 23px; }
  .hero-copy { padding: 35px 28px 32px; }
  .hero-eyebrow { font-size: 10px; }
  .hero h1 { margin: 19px 0 14px; font-size: clamp(42px, 8vw, 58px); }
  .hero-description { max-width: 35ch; }
  .hero-actions { margin-top: 23px; gap: 9px; }
  .hero-actions .button { min-height: 48px; }
  .hero-media { height: clamp(228px, 65vw, 365px); }
  .hero-media img { object-position: 50% 26%; }
  .court-tag { bottom: 15px; right: 15px; padding: 8px 11px 8px 8px; gap: 8px; }
  .court-tag .icon { width: 24px; height: 24px; }
  .court-tag b { font-size: 14px; }
  .court-tag small { font-size: 7px; }
  .section { padding-block: 49px; }
  .section-head { margin-bottom: 19px; align-items: start; flex-direction: column; gap: 15px; }
  .activity-head { align-items: start; }
  .filters { max-width: 100%; }
  .event-grid { grid-template-columns: minmax(0,1fr); }
  .event-card, .event-card:only-child {
    grid-template-columns: minmax(120px, 32%) minmax(0,1fr);
    grid-template-rows: 1fr auto;
  }
  .event-card .event-info, .event-card:only-child .event-info { padding: 17px 16px 10px; align-self: start; }
  .event-card .event-action, .event-card:only-child .event-action {
    grid-column: 2; justify-self: stretch; padding: 0 16px 16px; text-align: left;
  }
  .kacha-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .event-info h3, .kacha-body h3 { font-size: 21px; }
  .kacha-section .section { padding-block: 47px 42px; }
  .how-section { grid-template-columns: 1fr; gap: 25px; padding-block: 49px; }
  .footer-inner { grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 14px; }
  .footer-contact { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 460px) {
  .container { width: calc(100% - 30px); }
  .site-nav { inset-inline: 15px; }
  .brand { gap: 7px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 10px; }
  .brand-mark svg { width: 33px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 7.5px; letter-spacing: .06em; }
  .masthead-actions { gap: 6px; }
  .button-header { min-height: 40px; padding-inline: 9px; gap: 4px; font-size: 11px; }
  .button-header .icon { width: 16px; height: 16px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero-copy { padding-inline: 22px; }
  .hero h1 { font-size: clamp(37px, 10.8vw, 47px); }
  .hero-actions .button { padding-inline: 13px; gap: 7px; }
  .filters button { min-width: 70px; min-height: 42px; }
  .event-card, .event-card:only-child, .kacha-grid { grid-template-columns: minmax(0, 1fr); }
  .event-card, .event-card:only-child { grid-template-rows: auto; }
  .event-cover { grid-row: auto; min-height: 0; aspect-ratio: 1.9; }
  .event-card .event-action, .event-card:only-child .event-action {
    grid-column: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center;
  }
  .event-action .button { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .kacha-body { padding-inline: 15px; }
  .kacha-card img { aspect-ratio: 2; }
  .join-ticket { padding-inline: 16px; }
  .dialog-content { padding: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
