:root {
  --bg: #fbf8f0;
  --surface: #f2ecdf;
  --navy: #173f35;
  --navy-deep: #0d2a23;
  --text: #20251f;
  --muted: #586158;
  --line: #d8cfbd;
  --accent: #b4422d;
  --accent-dark: #8f3022;
  --hinoki: #c9a66b;
  --white: #ffffff;
  --container: 1120px;
  --narrow: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

body.is-ready .hero-copy {
  animation: heroCopyRise 0.9s ease 0.15s both;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.narrow-container {
  width: min(var(--narrow), 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 248, 240, 0.96);
  border-bottom: 1px solid rgba(23, 63, 53, 0.14);
}

.site-header.is-scrolled {
  background: rgba(251, 248, 240, 0.99);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
}

.header-entry,
.btn,
.floating-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-entry:hover,
.header-entry:focus-visible,
.btn:hover,
.btn:focus-visible,
.floating-entry-link:hover,
.floating-entry-link:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.header-entry.is-disabled,
.btn.is-disabled,
.floating-entry-link.is-disabled {
  background: #6b7280;
  border-color: #6b7280;
  cursor: not-allowed;
  opacity: 0.92;
}

.section {
  padding: 88px 0;
}

.section-heading {
  position: relative;
  margin-bottom: 30px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin-top: 16px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s ease;
}

.align-center.section-heading::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

.section-reveal.is-visible .section-heading::after {
  transform: scaleX(1);
}

.section-heading h2,
.cta-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
}

.section-label,
.cta-caption {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.align-center {
  text-align: center;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.text-link::after {
  content: "+";
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.04);
  transition: transform 0.25s linear;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.5) 34%, rgba(0, 0, 0, 0.64) 68%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.44) 100%),
    radial-gradient(circle at center, rgba(11, 26, 47, 0.24), rgba(11, 26, 47, 0) 44%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 92px 0 52px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-copy {
  position: relative;
  max-width: 640px;
  text-align: left;
  color: var(--white);
  padding: 28px 28px 24px;
  margin-left: clamp(0px, 3vw, 36px);
  background: linear-gradient(180deg, rgba(11, 26, 47, 0.16), rgba(11, 26, 47, 0.54));
  border-left: 4px solid rgba(211, 47, 47, 0.92);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto auto -22% calc(100% - 96px);
  width: min(44vw, 240px);
  aspect-ratio: 1 / 1;
  background: url("../images/logo-main.png") center / contain no-repeat;
  opacity: 0.06;
  transform: none;
  pointer-events: none;
  animation: logoFloat 9s ease-in-out infinite;
}

.hero-kicker,
.hero-date {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-kicker {
  font-size: 0.82rem;
  opacity: 0.9;
}

.hero-lead {
  position: relative;
  z-index: 1;
  margin: 18px 0 12px;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 700;
}

.hero-copy h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 9.5em;
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
  line-height: 1.03;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero-date {
  margin-top: 18px;
  font-size: 0.96rem;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

.floating-entry {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
}

.floating-entry-link {
  min-height: 56px;
  padding: 0 22px;
  box-shadow: 0 10px 30px rgba(11, 26, 47, 0.16);
  animation: floatingPulse 2.8s ease-in-out infinite;
}

.intro-section,
.final-cta {
  position: relative;
  overflow: hidden;
}

.intro-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo-main.png") center / min(480px, 62vw) no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.intro-section .container,
.final-cta .container {
  position: relative;
  z-index: 1;
}

.overview-table {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.overview-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.overview-row:first-child {
  border-top: 0;
}

.overview-label {
  color: var(--navy);
  font-weight: 800;
}

.overview-value {
  color: var(--text);
  font-weight: 600;
  white-space: pre-line;
}

.bracket-section {
  background: var(--white);
}

.bracket-preview-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  padding: 6px 12px;
  border: 1px solid rgba(185, 28, 28, 0.24);
  border-radius: 999px;
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.bracket-embed {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.bracket-embed > div,
.oisesancup-omyu-embed,
.oisesancup-omyu-embed #tournament,
.oisesancup-omyu-embed #panel-bracket {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.oisesancup-omyu-embed {
  overflow: hidden;
}

.oisesancup-omyu-embed img,
.oisesancup-omyu-embed svg {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
}

.bracket-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 26, 47, 0.12);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
}

.oisesancup-omyu-embed + .bracket-legend {
  margin: 16px 0 0;
}

.bracket-legend-title {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.bracket-legend ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bracket-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.bracket-legend li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 7px;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.bracket-legend li b {
  font-weight: 700;
}

.bracket-empty-message {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.friendly-matches {
  margin-top: 56px;
}

.friendly-matches-heading {
  margin-bottom: 24px;
  text-align: center;
}

.friendly-matches-heading .section-label {
  margin-bottom: 8px;
}

.friendly-matches-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.8rem;
  letter-spacing: 0;
}

.friendly-day + .friendly-day {
  margin-top: 36px;
}

.friendly-day-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.friendly-day-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.friendly-day-heading h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: 0;
}

.friendly-table-wrap {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.friendly-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.friendly-table th,
.friendly-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.friendly-table th {
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  text-align: left;
}

.friendly-table th:nth-child(1) {
  width: 12%;
}

.friendly-table th:nth-child(2) {
  width: 25%;
}

.friendly-table th:nth-child(3) {
  width: 63%;
}

.friendly-table tbody tr:last-child td {
  border-bottom: 0;
}

.friendly-table time {
  color: var(--navy);
  font-weight: 900;
}

.friendly-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.friendly-card span {
  min-width: 0;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.friendly-card b {
  color: var(--red);
  font-size: 0.72rem;
  text-align: center;
}

.schedule-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 26, 47, 0.98), rgba(8, 17, 31, 0.96)),
    var(--navy);
  color: var(--white);
}

.schedule-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.32;
  pointer-events: none;
}

.schedule-section::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--container)) / 2));
  bottom: -62px;
  width: min(360px, 48vw);
  aspect-ratio: 1 / 1;
  background: url("../images/logo-main.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.schedule-section .container {
  position: relative;
  z-index: 1;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.schedule-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 900;
}

.schedule-copy > p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.schedule-note {
  margin-top: 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.schedule-note span {
  display: block;
  margin-bottom: 4px;
  color: #ffb4b4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.schedule-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.schedule-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 128px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.32), transparent);
}

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s ease, background 0.2s ease;
}

.schedule-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 122px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--navy-deep);
  background: var(--white);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

.schedule-item.is-featured {
  border-color: rgba(211, 47, 47, 0.5);
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.3), rgba(255, 255, 255, 0.08));
}

.schedule-item.is-featured::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(211, 47, 47, 0.22);
}

.schedule-day {
  display: grid;
  align-content: center;
  gap: 4px;
  padding-right: 8px;
}

.schedule-day span {
  color: #ffb4b4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.schedule-day strong {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 900;
}

.schedule-detail {
  min-width: 0;
  padding-left: 4px;
}

.schedule-detail time {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 900;
}

.schedule-detail h3 {
  margin: 10px 0 4px;
  color: var(--white);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.35;
  font-weight: 900;
}

.schedule-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.news-section {
  background: var(--surface);
}

.news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.news-feed {
  border-top: 2px solid var(--navy);
}

.news-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, background 0.2s ease;
}

.news-row:hover {
  background: rgba(11, 26, 47, 0.03);
}

.news-row time {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-row h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
}

.downloads-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.downloads-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo-main.png") center / min(440px, 58vw) no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.downloads-section .container {
  position: relative;
  z-index: 1;
}

.downloads-lead {
  max-width: 620px;
  margin: -6px auto 26px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 20px 20px 20px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(11, 26, 47, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.55s ease;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}

.download-card-sheet::before {
  background: var(--navy);
}

.download-card:hover,
.download-card:focus-visible {
  border-color: rgba(211, 47, 47, 0.38);
  box-shadow: 0 16px 32px rgba(11, 26, 47, 0.1);
  transform: translateY(-2px);
}

.download-icon,
.download-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.download-icon {
  width: 46px;
  height: 46px;
  background: #f8e9e9;
  color: var(--accent);
}

.download-card-sheet .download-icon {
  background: #edf1f6;
  color: var(--navy);
}

.download-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-copy {
  display: grid;
  min-width: 0;
  line-height: 1.35;
}

.download-type {
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.download-card-sheet .download-type {
  color: var(--navy);
}

.download-copy strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.3;
}

.download-copy span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.download-open {
  min-width: 62px;
  min-height: 40px;
  border: 1px solid rgba(211, 47, 47, 0.24);
  background: #fff;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
}

.download-card-sheet .download-open {
  border-color: rgba(11, 26, 47, 0.18);
  color: var(--navy);
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 40px;
  align-items: center;
}

.visual-copy h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 900;
}

.visual-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% center;
  transition: transform 0.8s ease;
}

.section-reveal.is-visible .visual-image img {
  transform: scale(1.02);
}

.mid-cta,
.final-cta {
  background: var(--navy);
}

.cta-panel {
  padding: 56px 32px;
  text-align: center;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.cta-panel.final {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.cta-panel h2 {
  color: var(--white);
}

.cta-panel p {
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .btn {
  margin-top: 28px;
}

.cta-deadline {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-entry-cta .cta-panel {
  opacity: 1;
  transform: none;
}

.rules-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.rule-summary-item {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.rule-summary-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.rule-summary-item strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.7;
}

.rules-detail {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  transition: border-color 0.35s ease;
}

.rules-detail summary {
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-weight: 800;
}

.rules-detail summary::-webkit-details-marker {
  display: none;
}

.rules-detail summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.rules-detail[open] summary::after {
  content: "-";
}

.rule-body,
.empty-note {
  color: var(--muted);
}

.site-footer {
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.footer-title {
  margin: 0 0 6px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-branding p,
.footer-links a,
.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.copyright {
  padding: 18px 16px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.prose {
  padding: 64px 0 88px;
}

.prose h1,
.prose h2,
.prose h3 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.prose a {
  color: var(--accent);
}

.info-table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
}

.info-table,
.prose .table1 {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.info-table th,
.info-table td,
.prose .table1 th,
.prose .table1 td {
  padding: 16px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table tr:first-child th,
.info-table tr:first-child td,
.prose .table1 tr:first-child th,
.prose .table1 tr:first-child td {
  border-top: 0;
}

.info-table th,
.prose .table1 th {
  width: 28%;
  color: var(--navy);
  background: #f8fafc;
}

.form-card,
.prose .form {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-card label {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  font-weight: 700;
}

.form-card label span {
  color: var(--accent);
  margin-left: 4px;
}

.form-card input,
.form-card textarea,
.prose .table1 input[type="text"],
.prose .table1 input[type="email"],
.prose .table1 input[type="tel"],
.prose .table1 select,
.prose .table1 textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-card textarea,
.prose .table1 textarea {
  min-height: 140px;
  resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus,
.prose .table1 input:focus,
.prose .table1 select:focus,
.prose .table1 textarea:focus {
  outline: 2px solid rgba(211, 47, 47, 0.24);
  outline-offset: 1px;
}

.form-notice {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.form-notice.success {
  color: #166534;
  background: #f0fdf4;
  border-color: #86efac;
}

.form-notice.error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fca5a5;
}

.entry-closed-note {
  padding: 28px 24px;
  border-left: 4px solid var(--accent);
  background: #f8fafc;
}

.entry-closed-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.entry-closed-note h2 {
  margin: 0 0 12px;
}

.entry-closed-note p:last-child {
  margin-bottom: 0;
}

.prose .send,
.prose input[type="submit"].send,
.prose .mw_wp_form input[type="submit"],
.prose .mw_wp_form input[type="button"],
.prose .mw_wp_form button[type="submit"],
.prose .mw_wp_form button,
.prose .mw_wp_form .mwform-btn,
.prose .mw_wp_form .mwform-submit input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.prose .mw_wp_form .mwform-submit,
.prose .mw_wp_form .send,
.prose .mw_wp_form p:has(> input[type="submit"]),
.prose .mw_wp_form p:has(> button[type="submit"]) {
  margin-top: 20px;
  text-align: center;
}

.prose .mw_wp_form .error,
.prose .error {
  display: block;
  margin-top: 8px;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 700;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal.is-visible .overview-row,
.section-reveal.is-visible .news-row,
.section-reveal.is-visible .download-card,
.section-reveal.is-visible .schedule-item,
.section-reveal.is-visible .rule-summary-item,
.section-reveal.is-visible .cta-panel {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal.is-visible .download-card:hover,
.section-reveal.is-visible .download-card:focus-visible {
  transform: translateY(-2px);
}

.section-reveal.is-visible .overview-row:nth-child(2),
.section-reveal.is-visible .news-row:nth-child(2),
.section-reveal.is-visible .download-card:nth-child(2),
.section-reveal.is-visible .schedule-item:nth-child(2),
.section-reveal.is-visible .rule-summary-item:nth-child(2) {
  transition-delay: 0.08s;
}

.section-reveal.is-visible .overview-row:nth-child(3),
.section-reveal.is-visible .news-row:nth-child(3),
.section-reveal.is-visible .download-card:nth-child(3),
.section-reveal.is-visible .schedule-item:nth-child(3),
.section-reveal.is-visible .rule-summary-item:nth-child(3) {
  transition-delay: 0.16s;
}

.section-reveal.is-visible .overview-row:nth-child(4),
.section-reveal.is-visible .news-row:nth-child(4),
.section-reveal.is-visible .download-card:nth-child(4),
.section-reveal.is-visible .schedule-item:nth-child(4) {
  transition-delay: 0.24s;
}

@keyframes heroCopyRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatingPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(11, 26, 47, 0.16);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(11, 26, 47, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 960px) {
  .site-nav {
    gap: 14px;
  }

  .visual-grid,
  .download-grid,
  .rules-summary,
  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .visual-image {
    max-width: 560px;
  }

  .schedule-copy {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .brand {
    max-width: calc(100% - 124px);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    margin-left: 0;
    padding: 12px 0 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-inner {
    padding: 86px 0 42px;
    justify-content: center;
  }

  .hero-copy {
    margin-left: 0;
    max-width: 92%;
  }

  .news-heading,
  .footer-inner,
  .overview-row,
  .news-row {
    grid-template-columns: 1fr;
  }

  .news-heading,
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    object-position: 61% center;
  }

  .schedule-timeline::before {
    left: 102px;
  }

  .schedule-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 28px;
  }

  .schedule-item::before {
    left: 96px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand span {
    font-size: 0.76rem;
  }

  .header-entry,
  .btn,
  .floating-entry-link {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-copy {
    text-align: left;
    padding: 22px 18px 18px;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 24px;
    justify-content: flex-start;
  }

  .floating-entry {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .overview-row,
  .news-row {
    gap: 8px;
  }

  .bracket-section .container {
    width: 100%;
  }

  .bracket-embed {
    padding: 12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .bracket-embed > div,
  .oisesancup-omyu-embed,
  .oisesancup-omyu-embed #tournament,
  .oisesancup-omyu-embed #panel-bracket {
    width: 100%;
    min-width: 0;
  }

  .bracket-legend {
    margin-right: 12px;
    margin-left: 12px;
    align-items: flex-start;
  }

  .bracket-legend ul {
    width: 100%;
  }

  .bracket-legend li {
    width: 100%;
  }

  .friendly-matches {
    margin: 44px 12px 0;
  }

  .friendly-matches-heading h3 {
    font-size: 1.55rem;
  }

  .friendly-day-heading {
    align-items: flex-start;
  }

  .friendly-day-heading h4 {
    padding-top: 3px;
    font-size: 1.05rem;
  }

  .friendly-table-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .friendly-table,
  .friendly-table tbody,
  .friendly-table tr,
  .friendly-table td {
    display: block;
    width: 100%;
  }

  .friendly-table {
    table-layout: auto;
  }

  .friendly-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .friendly-table tbody {
    display: grid;
    gap: 12px;
  }

  .friendly-table tr {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .friendly-table td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
  }

  .friendly-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .friendly-table tbody tr:last-child td,
  .friendly-table td:last-child {
    border-bottom: 0;
  }

  .friendly-card {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 4px;
  }

  .friendly-card span {
    font-size: 0.78rem;
  }

  .schedule-note {
    padding: 16px;
  }

  .schedule-timeline {
    gap: 12px;
  }

  .schedule-timeline::before {
    left: 20px;
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 18px 18px 18px 46px;
  }

  .schedule-item::before {
    top: 24px;
    left: 14px;
    transform: none;
  }

  .schedule-day {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-right: 0;
  }

  .schedule-detail {
    padding-left: 0;
  }

  .downloads-lead {
    text-align: left;
  }

  .download-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 112px;
    padding-right: 16px;
  }

  .download-open {
    grid-column: 2;
    justify-self: start;
    min-height: 32px;
    margin-top: 6px;
    padding: 0 14px;
  }

  .cta-panel {
    padding: 42px 20px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td,
  .prose .table1,
  .prose .table1 tbody,
  .prose .table1 tr,
  .prose .table1 th,
  .prose .table1 td {
    display: block;
    width: 100%;
  }

  .info-table th,
  .prose .table1 th {
    border-bottom: 0;
    padding-bottom: 8px;
  }

  .info-table td,
  .prose .table1 td {
    padding-top: 8px;
  }

  .form-card,
  .prose .form {
    padding: 22px 16px;
  }
}
