.kyp {
  --kyp-ink: #0e2530;
  --kyp-deep: #09252d;
  --kyp-teal: #126c65;
  --kyp-gold: #d9b479;
  --kyp-paper: #f7f6f2;
  --kyp-line: #dbe4e1;
  --kyp-muted: #64747a;
  color: var(--kyp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.kyp *, .kyp *::before, .kyp *::after { box-sizing: border-box; }
.kyp a { color: inherit; text-decoration: none; }
.kyp button, .kyp input, .kyp select { font: inherit; }
.kyp a:focus-visible, .kyp button:focus-visible, .kyp input:focus-visible, .kyp select:focus-visible {
  outline: 3px solid #e1a64b;
  outline-offset: 3px;
}
.kyp h1, .kyp h2, .kyp h3, .kyp p { margin-top: 0; }

.kyp-hub, .kyp-directory {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 28px;
  margin-bottom: 70px;
}

.kyp-hero {
  display: grid;
  grid-template-columns: 1fr .92fr;
  min-height: 470px;
  overflow: hidden;
  background: #09252d;
  border-radius: 24px;
  box-shadow: 0 25px 65px rgba(7, 39, 46, .16);
}
.kyp-hero__copy {
  color: #fff;
  padding: clamp(38px, 6vw, 74px) clamp(28px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: radial-gradient(circle at 8% 5%, rgba(45, 120, 113, .23), transparent 45%);
}
.kyp-eyebrow, .kyp-kicker {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.kyp-eyebrow { display: flex; align-items: center; gap: 13px; color: var(--kyp-gold); }
.kyp-eyebrow__line { display: block; width: 28px; height: 1px; background: currentColor; }
.kyp-hero__copy h2 {
  font-size: clamp(48px, 5vw, 75px);
  letter-spacing: -.055em;
  line-height: 1.16;
  font-weight: 800;
  margin: 34px 0 20px;
  color: #fff;
}
.kyp-hero__copy h2 em { color: #dfbf86; font-style: normal; }
.kyp-hero__copy > p { color: #d4e1df; max-width: 29em; font-size: 16px; line-height: 1.95; margin-bottom: 28px; }
.kyp-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  min-width: 187px;
  background: #e2bf86;
  border-radius: 7px;
  padding: 13px 19px;
  font-weight: 800;
  color: #102930 !important;
  transition: background .2s, transform .2s;
}
.kyp-button:hover { background: #f0d3a2; transform: translateY(-2px); }
.kyp-hero__panel {
  min-height: 470px;
  position: relative;
  background: linear-gradient(145deg, #154b4d 0%, #0b343a 44%, #06252f 100%);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.kyp-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(109deg, transparent 0 76px, rgba(255,255,255,.018) 77px 78px);
  z-index: -1;
}
.kyp-hero__orbit { position: absolute; width: 560px; height: 560px; right: -115px; top: -180px; transform: rotate(-23deg); }
.kyp-hero__orbit span { position: absolute; inset: 0; border: 1px solid rgba(216, 184, 122, .23); border-radius: 50%; }
.kyp-hero__orbit span:nth-child(2) { inset: 48px; border-width: 2px; border-color: rgba(216, 184, 122, .31); }
.kyp-hero__orbit span:nth-child(3) { inset: 97px; border-color: rgba(216, 184, 122, .18); }
.kyp-hero__featured {
  position: relative;
  width: calc(100% - 70px);
  margin: 0 35px 34px;
  padding: 25px 27px;
  color: white;
  background: rgba(7, 31, 38, .86);
  border: 1px solid rgba(234, 218, 177, .27);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  backdrop-filter: blur(6px);
}
.kyp-hero__tag { color: #efc98a; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.kyp-hero__date { color: #a9c4c3; margin-top: 14px; font-size: 12px; font-weight: 700; }
.kyp-hero__featured h2 { color: #fff; font-size: clamp(22px, 2.3vw, 29px); line-height: 1.45; margin: 10px 0 15px; }
.kyp-hero__featured p { margin-bottom: 14px; color: #cbdedb; }
.kyp-hero__main { display: flex; align-items: baseline; gap: 15px; font-size: 20px; font-weight: 800; }
.kyp-hero__main span { font-size: 12px; color: #efc98a; }
.kyp-hero__featured a { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 800; color: #ebc485; border-bottom: 1px solid #ebc485; padding-bottom: 2px; }
.kyp-hero__featured a:hover { color: white; border-color: white; }

.kyp-shortnav {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--kyp-line);
  padding: 16px 4px;
  font-size: 13px;
  font-weight: 800;
}
.kyp-shortnav a { padding: 7px 1px; }
.kyp-shortnav a:hover { color: var(--kyp-teal); }
.kyp-shortnav a span { margin-left: 6px; color: var(--kyp-teal); }
.kyp-shortnav > span { margin-left: auto; font-weight: 500; color: var(--kyp-muted); }

.kyp-section { padding: 70px 0 15px; scroll-margin-top: 36px; }
.kyp-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 27px; }
.kyp-section__heading .kyp-kicker { color: var(--kyp-teal); margin-bottom: 11px; }
.kyp-section__heading h2 { color: var(--kyp-ink); margin: 0 0 5px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.04em; line-height: 1.35; }
.kyp-section__heading p:not(.kyp-kicker) { color: var(--kyp-muted); margin: 0; font-size: 14px; }
.kyp-section__count { font-weight: 800; color: var(--kyp-teal); white-space: nowrap; font-size: 13px; }
.kyp-filters {
  display: flex;
  align-items: end;
  gap: 10px;
  background: var(--kyp-paper);
  border: 1px solid #e8ebe7;
  border-radius: 13px;
  padding: 16px;
  margin-bottom: 24px;
}
.kyp-filters label { color: #50626a; font-size: 11px; font-weight: 800; min-width: 132px; white-space: nowrap; }
.kyp-filters label.kyp-filters__search { flex: 1; min-width: 155px; }
.kyp-filters input, .kyp-filters select {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #dce4e1;
  border-radius: 6px;
  padding: 0 11px;
  color: var(--kyp-ink);
  font-size: 13px;
  line-height: normal;
}
.kyp-filters input::placeholder { color: #9aabae; }
.kyp-filters button {
  flex: 0 0 auto;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--kyp-teal);
  color: #fff;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.kyp-filters button:hover { background: #0d514d; }
.kyp-filters__reset { align-self: end; font-size: 12px; font-weight: 700; color: #64747a !important; padding: 11px 5px; white-space: nowrap; }
.kyp-filters__reset:hover { text-decoration: underline; }
.kyp-race-grid, .kyp-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kyp-race-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 312px;
  background: #fff;
  border: 1px solid var(--kyp-line);
  border-radius: 13px;
  padding: 23px;
  box-shadow: 0 6px 20px rgba(19, 51, 53, .025);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.kyp-race-card:hover { border-color: #a5c5bd; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(19, 51, 53, .07); }
.kyp-race-card--featured { border-top: 3px solid #c8a36b; padding-top: 21px; }
.kyp-race-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kyp-race-card__date { color: var(--kyp-teal); font-weight: 800; font-size: 12px; }
.kyp-pill { flex: 0 0 auto; border-radius: 100px; background: #f2f2eb; padding: 3px 9px; color: #6d695b; font-size: 11px; font-weight: 700; }
.kyp-race-card__detail { color: var(--kyp-muted); font-size: 12px; margin: 13px 0 7px; }
.kyp-race-card h3 { font-size: 20px; line-height: 1.55; letter-spacing: -.025em; margin: 0 0 16px; color: var(--kyp-ink); }
.kyp-race-card h3 a:hover { color: var(--kyp-teal); }
.kyp-race-card__pick { display: flex; align-items: center; gap: 10px; padding: 13px 0 9px; margin-top: auto; border-top: 1px solid #edf1ee; }
.kyp-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 50%; background: #e7f0ee; color: #12675d; font-weight: 900; font-size: 17px; }
.kyp-mark--main { background: #ba8655; color: white; }
.kyp-race-card__pick small { display: block; color: var(--kyp-muted); font-size: 10px; line-height: 1.2; }
.kyp-race-card__pick strong { display: block; font-size: 15px; line-height: 1.45; }
.kyp-race-card__focus { color: #5d6c6e; font-size: 12px; line-height: 1.8; margin: 0 0 13px; }
.kyp-race-card__link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; color: var(--kyp-teal) !important; font-size: 12px; font-weight: 800; }
.kyp-race-card__link span { font-size: 19px; line-height: 1; }
.kyp-empty { background: var(--kyp-paper); border: 1px dashed #cbd7d3; border-radius: 12px; padding: 45px 24px; text-align: center; }
.kyp-empty > span { display: block; font-size: 40px; line-height: 1; color: var(--kyp-teal); margin-bottom: 10px; }
.kyp-empty h3 { margin-bottom: 8px; font-size: 19px; }
.kyp-empty p { color: var(--kyp-muted); margin-bottom: 12px; }
.kyp-empty a { color: var(--kyp-teal); font-weight: 800; font-size: 13px; }
.kyp-empty--small { padding: 23px; }
.kyp-empty--small p { margin: 0; }
.kyp-pagination { margin: 30px 0 0; }
.kyp-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; padding: 0; margin: 0; }
.kyp-pagination .page-numbers li { margin: 0; padding: 0; }
.kyp-pagination .page-numbers a, .kyp-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 1px solid var(--kyp-line); border-radius: 5px; padding: 0 9px; font-size: 13px; }
.kyp-pagination .page-numbers .current { background: var(--kyp-teal); border-color: var(--kyp-teal); color: #fff; }
.kyp-pagination .page-numbers a:hover { border-color: var(--kyp-teal); color: var(--kyp-teal); }

.kyp-course-section { padding-bottom: 35px; }
.kyp-course-card {
  position: relative;
  min-height: 211px;
  background: #f2f5f1;
  border: 1px solid #e1e9e4;
  border-radius: 11px;
  padding: 24px;
  transition: background .2s, transform .2s;
}
.kyp-course-card:hover { background: #e8f0eb; transform: translateY(-2px); }
.kyp-course-card__icon { position: absolute; right: 22px; top: 19px; color: var(--kyp-teal); font-size: 22px; }
.kyp-course-card p { color: var(--kyp-teal); font-size: 10px; font-weight: 800; letter-spacing: .19em; margin: 0 0 25px; }
.kyp-course-card h3 { font-size: 19px; line-height: 1.4; color: var(--kyp-ink); margin: 0 0 8px; padding-right: 18px; }
.kyp-course-card h3 a:hover { color: var(--kyp-teal); }
.kyp-course-card div { font-size: 12px; color: var(--kyp-muted); }
.kyp-course-card__more { display: block; color: var(--kyp-teal); font-size: 12px; font-weight: 800; margin-top: 19px; }
.kyp-disclaimer { border-top: 1px solid var(--kyp-line); padding-top: 18px; color: #697a7e; font-size: 11px; line-height: 1.7; }

.kyp-directory__header { background: #09252d; color: #fff; border-radius: 18px; padding: clamp(30px, 5vw, 55px); }
.kyp-directory__header .kyp-kicker { color: #e0bc83; }
.kyp-directory__header h2 { font-size: clamp(35px, 5vw, 60px); margin: 15px 0 6px; color: #fff; }
.kyp-directory__header > p:last-child { color: #cfdfdc; margin: 0; }

.kyp-article { max-width: 860px; margin: 20px auto 52px; }
.kyp-article__intro { background: #09252d; border-radius: 15px; padding: clamp(24px, 4vw, 42px); color: #fff; margin-bottom: 25px; }
.kyp-article__meta { color: #bfd3ce; font-size: 13px; font-weight: 700; margin: 17px 0 0; }
.kyp-article__focus { font-size: clamp(17px, 2vw, 21px); line-height: 1.7; font-weight: 750; color: #fff; border-left: 3px solid #d7b57d; padding-left: 16px; margin: 25px 0 0; }
.kyp-article__nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.kyp-article__nav a { color: #f1d4a1; border: 1px solid rgba(241,212,161,.45); border-radius: 30px; padding: 5px 13px; font-size: 12px; font-weight: 750; }
.kyp-article__nav a:hover { background: rgba(255,255,255,.1); }
.kyp-picks { border: 1px solid var(--kyp-line); border-radius: 13px; padding: 23px 26px; margin-bottom: 32px; }
.kyp-picks__heading { display: flex; align-items: baseline; gap: 13px; border-bottom: 1px solid var(--kyp-line); padding-bottom: 10px; margin-bottom: 16px; }
.kyp-picks__heading span { color: var(--kyp-teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.kyp-picks__heading h2 { font-size: 19px; margin: 0; color: var(--kyp-ink); }
.kyp-picks__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kyp-picks__item { display: flex; align-items: center; gap: 12px; min-width: 0; border-radius: 7px; background: #f7f8f5; padding: 11px; }
.kyp-picks__item strong { overflow-wrap: anywhere; font-size: 15px; }
.kyp-article__body { scroll-margin-top: 25px; }
.kyp-article__section-label { border-top: 1px solid var(--kyp-line); padding-top: 20px; margin-bottom: 20px; color: var(--kyp-teal); font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.kyp-article__section-label span { color: var(--kyp-ink); font-size: 18px; margin-left: 10px; letter-spacing: normal; }
.kyp-article__body h2, .kyp-article__body h3 { color: var(--kyp-ink); line-height: 1.45; }
.kyp-article__body p { line-height: 1.95; }
.kyp-tickets, .kyp-result { border-radius: 12px; padding: clamp(22px, 4vw, 35px); margin: 30px 0; scroll-margin-top: 25px; }
.kyp-tickets { background: #f1f5f1; border-left: 4px solid var(--kyp-teal); }
.kyp-result { background: #f8f6f0; border-left: 4px solid #bf955d; }
.kyp-tickets .kyp-kicker, .kyp-result .kyp-kicker { color: var(--kyp-teal); margin-bottom: 8px; }
.kyp-tickets h2, .kyp-result h2 { font-size: 23px; margin: 0 0 15px; color: var(--kyp-ink); }
.kyp-tickets div, .kyp-result div { line-height: 2; overflow-wrap: anywhere; }
.kyp-course-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.kyp-course-facts section { background: #f2f5f1; padding: 18px 20px; border-radius: 9px; }
.kyp-course-facts h2 { color: var(--kyp-teal); font-size: 15px; margin: 0 0 8px; }
.kyp-course-facts p { margin: 0; font-size: 13px; line-height: 1.8; }

@media (max-width: 920px) {
  .kyp-hero { grid-template-columns: 1fr 1fr; }
  .kyp-hero__copy { padding: 36px; }
  .kyp-hero__featured { width: calc(100% - 42px); margin: 0 21px 25px; padding: 20px; }
  .kyp-filters { flex-wrap: wrap; }
  .kyp-filters label { flex: 1 1 29%; }
  .kyp-filters label.kyp-filters__search { flex: 1 1 38%; }
  .kyp-race-grid, .kyp-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .kyp-hub, .kyp-directory { width: calc(100vw - 24px); margin-top: 14px; }
  .kyp-hero { grid-template-columns: 1fr; border-radius: 16px; }
  .kyp-hero__copy { padding: 35px 25px 27px; }
  .kyp-hero__copy h2 { font-size: 48px; margin: 24px 0 12px; }
  .kyp-hero__copy > p { font-size: 14px; margin-bottom: 19px; }
  .kyp-hero__panel { min-height: 260px; }
  .kyp-hero__orbit { width: 390px; height: 390px; right: -40px; top: -190px; }
  .kyp-hero__featured { margin-bottom: 19px; }
  .kyp-shortnav { gap: 18px; }
  .kyp-shortnav > span { display: none; }
  .kyp-section { padding-top: 48px; }
  .kyp-section__heading h2 { font-size: 27px; }
  .kyp-filters { padding: 12px; gap: 9px; }
  .kyp-filters label { flex: 1 1 calc(50% - 9px); min-width: 0; }
  .kyp-filters label.kyp-filters__search { flex: 1 1 100%; }
  .kyp-filters button { flex: 1; }
  .kyp-race-grid, .kyp-course-grid { grid-template-columns: 1fr; gap: 12px; }
  .kyp-race-card { min-height: 0; padding: 21px; }
  .kyp-course-card { min-height: 190px; }
  .kyp-picks__grid, .kyp-course-facts { grid-template-columns: 1fr; }
  .kyp-article__intro { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .kyp * { transition-duration: 0s !important; scroll-behavior: auto !important; }
}
