@font-face {
  font-family: "Pretendard Variable";
  src: url("./pretendard-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #201f1c;
  --dark: #171715;
  --muted: #68645e;
  --line: #dddddd;
  --red: #ad372a;
  --vermillion: #fa624d;
  --copy: "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

html:lang(ja) { --copy: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
html:lang(zh-Hans) { --copy: "PingFang SC", "Microsoft YaHei", sans-serif; }
html:lang(ja) body, html:lang(zh-Hans) body { word-break: normal; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--copy); word-break: keep-all; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:where(button, select) { font: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.shell { width: min(100% - 100px, 1280px); margin-inline: auto; }
.visually-hidden, .site-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-skip:focus { position: absolute; z-index: 10; top: 10px; left: 12px; padding: 8px 15px; background: var(--paper); color: var(--dark); }

.site-header { position: relative; z-index: 3; background: var(--dark); color: var(--paper); border-bottom: 1px solid #ffffff20; }
.nav-line { min-height: 70px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.site-header .brand, .site-footer .brand { display: inline-flex; width: 68px; padding: 0; }
.brand img { width: 68px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(13px, 2vw, 32px); }
.site-nav a, .nav-picknrun, .site-footer a { text-decoration: none; }
.site-nav a { font-size: 14px; font-weight: 650; padding: 8px 0; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: #ff8877; }
.nav-picknrun { justify-self: end; font-size: 13px; font-weight: 700; padding: 7px 12px; border: 1px solid #ffffff48; border-radius: 3px; white-space: nowrap; }
.nav-picknrun:hover, .cta-ghost:hover { background: #ffffff16; }
.menu-toggle, .site-nav .mobile-picknrun { display: none; }
.site-tools { display: flex; gap: 10px; align-items: center; }
.language-control { position: relative; display: inline-flex; align-items: center; }
.language-select { min-height: 36px; padding-left: 33px; color: inherit; background: var(--dark); border-color: #ffffff52; font-size: 13px; }
.language-globe { position: absolute; left: 10px; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; }
.language-globe::before { content: ""; position: absolute; inset: -1px 3px; border-inline: 1px solid currentColor; border-radius: 50%; }
.language-globe::after { content: ""; position: absolute; top: 50%; inset-inline: 0; border-top: 1px solid currentColor; }

.cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; font-size: 14px; font-weight: 750; text-decoration: none; border: 1px solid transparent; border-radius: 3px; }
.cta-solid { color: #fff; background: var(--red); border-color: var(--red); }
.cta-solid:hover { background: #8f2a20; }

.cta-ghost { color: var(--paper); border-color: #ffffff62; }
.cta-outline { border-color: var(--line); color: var(--ink); }
.cta-outline:hover { background: #eeeeee; }
.site-header :focus-visible, .ranking-strip :focus-visible, .site-footer :focus-visible { outline-color: #ff9b88; }

.home-section { padding-block: clamp(48px, 6vw, 82px); }
.home-section + .home-section { padding-top: 14px; }
.section-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section-top h2, .about-links h2 { font-size: clamp(23px, 2.65vw, 34px); line-height: 1.26; letter-spacing: -.03em; font-weight: 700; }
.section-note { color: var(--muted); font-size: 14px; }
.table-scroll-hint { margin-block: 8px 5px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.can-scroll { overscroll-behavior-inline: contain; }
.text-link, .back-link { color: var(--red); text-underline-offset: 4px; font-size: 14px; font-weight: 750; }
.text-link:hover, .back-link:hover { text-decoration-thickness: 2px; }
.section-top > a { white-space: nowrap; }

.event-list { margin: 18px 0 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.event-row { min-height: 70px; display: grid; grid-template-columns: minmax(132px, 1.15fr) minmax(150px, 2.1fr) minmax(92px, 1fr) auto; gap: 10px; align-items: center; padding: 11px 13px 11px 8px; text-decoration: none; }
.event-list > .event-row + .event-row, .event-list > li + li:not([hidden]) { border-top: 1px solid var(--line); }
.event-row:hover { background: #f5f5f5; }
.event-date { display: flex; align-items: baseline; gap: 7px; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.event-date small, .event-venue { color: var(--muted); font-size: 13px; font-weight: 580; }
.event-name { display: flex; align-items: center; gap: 10px; }
.event-name strong { font-size: 18px; letter-spacing: -.025em; }
.type { display: inline-flex; width: fit-content; align-items: center; white-space: nowrap; border-radius: 2px; padding: 1px 6px; font-size: 11px; font-weight: 680; letter-spacing: .025em; }
.type-tour { color: #8f2c21; background: #f0dad1; }
.type-cup { color: #464839; background: #e4e4d6; }
.type-final { color: #fff; background: #40362f; }
.row-arrow { color: var(--red); font-weight: 800; font-size: 18px; }

.formats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.format-box { display: flex; align-items: flex-start; flex-direction: column; border-top: 1px solid var(--line); padding: clamp(14px, 2.3vw, 30px) 0 10px; }
.format-box h3 { font-size: clamp(23px, 3vw, 34px); font-weight: 720; line-height: 1.18; letter-spacing: -.035em; }
.format-box p { margin: 13px 0 18px; max-width: 54ch; color: #49463e; line-height: 1.75; }
.format-box a { margin-top: auto; font-size: 14px; font-weight: 750; text-underline-offset: 3px; }
.ranking-strip { background: var(--dark); color: var(--paper); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.archive-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.archive-event { display: block; flex: 1; text-decoration: none; }
.archive-event:hover .archive-meta strong { text-decoration: underline; text-underline-offset: 4px; }
.archive-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.archive-meta { padding: 15px 17px 11px; display: grid; gap: 4px; }
.archive-meta time { color: var(--muted); font-size: 13px; }
.archive-meta strong { font-size: clamp(19px, 2.15vw, 25px); font-weight: 700; line-height: 1.25; }
.archive-meta > span { margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 550; }
.archive-video { display: block; margin-inline: 17px; padding-block: 10px 12px; border-top: 1px solid var(--line); color: var(--red); font-size: 14px; font-weight: 680; text-decoration: none; }
.archive-video:hover { text-decoration: underline; text-underline-offset: 4px; }

.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.film-group + .film-group { margin-top: 28px; }
.film-group > h3 { margin-bottom: 10px; font-size: 17px; font-weight: 700; }
.film-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.film-poster { position: relative; }
.film-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.film-poster > span { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff65; border-radius: 50%; background: #171715da; color: white; font-size: 13px; }
.film-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 15px 17px 16px; }
.film-text p { color: var(--muted); font-size: 13px; }
.film-text h4 { margin: 0; font-size: clamp(18px, 2.2vw, 25px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.film-text > span { margin-top: auto; padding-top: 5px; color: var(--red); font-size: 14px; font-weight: 680; }
.film-card:hover .film-text > span { text-decoration: underline; text-underline-offset: 4px; }
.archive-records { margin-top: clamp(36px, 6vw, 62px); }

.home-partners { border-top: 1px solid var(--line); }
.home-section + .home-partners { padding-top: 34px; }
.event-partners { margin-top: 44px; }
.partner-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.partner-logos .partner-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
:is(.home-partners, .partner-current) .partner-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partner-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; min-height: 70px; padding: 12px 15px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.partner-link strong { font-size: 16px; font-weight: 710; }
.partner-link small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.partner-arrow { color: var(--red); flex: none; }
a.partner-link:hover { border-color: var(--red); }
.partner-logos .partner-link {
  display: grid; position: relative; grid-template-rows: 56px minmax(19px, auto) 1fr;
  justify-content: stretch; justify-items: center; align-items: start; gap: 5px;
  padding: 13px 10px 14px; text-align: center; overflow-wrap: anywhere;
}
.partner-mark { grid-row: 1; display: grid; place-items: center; width: min(100%, 126px); height: 56px; }
.partner-mark img { width: 112px; height: 43px; object-fit: contain; }
.partner-mark strong { font-size: 17px; line-height: 1.25; }
.partner-logos [data-partner="pkf"] .partner-mark img { width: 55px; height: 55px; }
.partner-logos [data-partner="kpa"] .partner-mark img { width: 47px; height: 47px; }
.partner-logos :is([data-partner="piklix"], [data-partner="wzbio"]) .partner-mark img {
  width: 102px; height: 40px; padding: 5px 8px; background: var(--ink); border-radius: 2px;
}
.partner-logos .partner-name { grid-row: 2; font-size: 14px; line-height: 1.4; }
.partner-logos .partner-link small { grid-row: 3; margin: 0; font-size: 12px; }
.partner-logos .partner-arrow { position: absolute; inset: 5px 9px auto auto; font-size: 13px; }
.partners-masthead { background: var(--dark); color: var(--paper); }
.partners-masthead .page-heading { padding-block: clamp(24px, 5vw, 56px); }
.partner-history, .partnership-contact { margin-top: clamp(38px, 5vw, 68px); }
.partner-history-event { border-block-start: 1px solid var(--line); }
.partner-history-event:last-child { border-block-end: 1px solid var(--line); }
.partner-history-event summary {
  display: grid; grid-template-columns: minmax(0, 1fr) max-content 15px;
  align-items: center; gap: 8px 20px; min-height: 64px; padding: 10px 4px;
  list-style: none; cursor: pointer;
}
.partner-history-event summary::-webkit-details-marker { display: none; }
.partner-history-event summary strong { font-size: clamp(18px, 2.25vw, 27px); line-height: 1.25; font-weight: 750; }
.partner-history-event summary time { color: var(--muted); font-size: 13px; }
.partner-history-event summary::after {
  content: ""; width: 9px; height: 9px; margin: 0 2px 4px 0;
  border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.partner-history-event[open] summary::after { margin-block: 5px 0; transform: rotate(225deg); }
.partner-history-event summary:hover strong { color: var(--red); }
.partner-history-body { padding: 0 0 22px; }
.partner-history-body > .partner-list { margin: 0 0 16px; }
.partnership-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px clamp(14px, 3vw, 28px); border-inline-start: 3px solid var(--vermillion);
  background: var(--dark); color: var(--paper);
}
.partnership-contact h2 { font-size: clamp(21px, 2.45vw, 29px); line-height: 1.25; }
.partnership-contact .cta-solid { background: var(--vermillion); color: var(--dark); border-color: var(--vermillion); border-radius: 0; }
.partnership-contact .cta-solid:hover { background: #ff8d7c; border-color: #ff8d7c; }
.partnership-contact :focus-visible { outline-color: var(--vermillion); }
@media (max-width: 1060px) {
  .partner-history-body .partner-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .partner-logos .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-history-event summary { grid-template-columns: minmax(0, 1fr) 15px; gap: 3px 10px; padding-block: 11px; }
  .partner-history-event summary::after { grid-column: 2; grid-row: 1 / span 2; }
}

.content-page { min-height: 68vh; padding-top: 42px; padding-bottom: 84px; }
.page-heading { padding-block: 24px 31px; }
.page-heading h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.14; font-weight: 700; letter-spacing: -.035em; }
.page-heading p { color: var(--muted); margin-top: 12px; font-size: clamp(14px, 1.5vw, 17px); }
.about-intro { max-width: 830px; padding-block: 16px 0; }
.about-intro > .text-link { display: inline-block; margin-top: 14px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; }
.about-photo figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.about-photo figcaption strong { color: var(--ink); }
.about-section { max-width: 830px; margin-top: clamp(40px, 6vw, 72px); }
.about-section > p + p { margin-top: 12px; }
.about-section > .text-link { display: inline-block; margin-top: 14px; }
.about-crew { margin-top: clamp(40px, 6vw, 72px); padding-top: 17px; border-top: 2px solid var(--ink); scroll-margin-top: 14px; }
.about-crew-layout { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 52px); align-items: start; }
.about-crew-roles { margin: 17px 0 0; }
.about-crew-roles > div { padding-block: 10px; border-top: 1px solid var(--line); }
.about-crew-roles dt { font-weight: 750; }
.about-crew-roles dd { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.about-grades, .guide-division-table { width: 100%; border-collapse: collapse; margin: 17px 0 9px; border-top: 1px solid var(--line); text-align: left; font-size: 15px; }
:is(.about-grades, .guide-division-table) :is(th, td) { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
:is(.about-grades, .guide-division-table) thead th { color: var(--muted); font-weight: 600; }
:is(.about-grades, .guide-division-table) tbody td { font-variant-numeric: tabular-nums; }
.about-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 25px; margin-top: clamp(40px, 6vw, 72px); padding-top: 21px; border-top: 1px solid var(--line); }
.about-links h2 { margin-bottom: 8px; font-size: 20px; }
.about-links a { display: inline-block; margin-right: 14px; }
.participant-guide { max-width: 920px; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: 8px 21px; border-block: 1px solid var(--line); padding-block: 11px; }
.guide-section { margin-top: clamp(30px, 5vw, 53px); scroll-margin-top: 14px; }
.guide-section > p { max-width: 66ch; }
.guide-section p .text-link, .guide-section dd .text-link { font-size: inherit; }
.guide-subheading { margin: 22px 0 5px; font-size: 19px; font-weight: 720; }
.guide-division-table { max-width: 580px; }
.guide-division-table th:first-child { width: 32%; }
.guide-definitions { margin: 16px 0 0; border-top: 1px solid var(--line); }
.guide-definitions > div { display: grid; grid-template-columns: minmax(125px, 1fr) 4fr; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.guide-definitions dt { font-weight: 700; }
.guide-definitions dd { margin: 0; }
.guide-example { margin-top: 18px; padding: 15px 18px; border-left: 2px solid var(--red); background: var(--white); }
.guide-example p:last-child { color: var(--muted); font-size: 14px; }
.guide-steps { margin: 0 0 17px; padding-left: 22px; }
.guide-steps li + li { margin-top: 5px; }
.guide-section > .cta + .text-link { display: inline-block; margin: 8px 0 0 12px; }
.guide-reference { margin-top: 15px; }
.guide-policy-link { display: inline-block; margin-top: 13px; }
.event-heading .type { margin-bottom: 12px; }
.schedule-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: var(--white); font-size: 14px; font-weight: 720; }
.pills button span { opacity: .77; padding-left: 3px; font-size: 12px; }
.pills button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.month-filter { color: var(--muted); font-size: 13px; }
select { background: var(--white); color: var(--ink); border: 1px solid var(--line); padding: 7px 9px; border-radius: 3px; }
.filter-count { color: var(--muted); margin-top: 20px; font-size: 13px; }
.month-block { margin-top: 25px; display: grid; grid-template-columns: 93px minmax(0,1fr); gap: 11px; }
.month-block h2 { font-weight: 720; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; letter-spacing: -.03em; }
.month-block .event-list { margin-top: 0; }
.month-block li[hidden] + li:not([hidden]) { border-top: 0; }
.month-block li:not([hidden]) ~ li:not([hidden]) { border-top: 1px solid var(--line); }
.empty { padding: 20px; margin: 17px 0; border: 1px solid var(--line); background: var(--white); }
.detail-layout, .archive-event-top { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: start; gap: 22px; }
.detail-article, .detail-side, .podiums { border: 1px solid var(--line); padding: clamp(16px,3vw,34px); background: var(--white); }
.detail-article h2, .detail-side h2, .podiums h2 { font-size: 24px; font-weight: 720; letter-spacing: -.035em; }
.detail-article p, .detail-side p, .podiums p { margin: 10px 0; }
.detail-article .section-note { margin-top: 20px; }
.detail-side a { margin-top: 9px; }
.event-status { display: inline-block; margin-top: 9px; color: var(--red); font-size: 13px; font-weight: 800; }
.archive-aside img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.archive-links { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 13px; }
.podiums select { margin-top: 12px; max-width: 100%; width: 100%; }
.results-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; text-align: left; }
.results-table th, .results-table td { padding: 7px 9px; border-bottom: 1px solid var(--line); }
.results-table th:first-child { min-width: 65px; }
.event-videos, .gallery { margin-top: 44px; }
.video-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.video-list li { border-bottom: 1px solid var(--line); }
.video-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.video-list a:hover { background: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.video-list a span { color: var(--red); }
.gallery h3 { margin: 20px 0 9px; font-size: 17px; }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.photo-grid a:hover { outline: 2px solid var(--red); outline-offset: -2px; }
#lightbox { max-width: min(92vw, 930px); max-height: 91dvh; width: 100%; border: 0; background: var(--dark); color: var(--paper); padding: 14px; }
#lightbox::backdrop { background: #000c; }
.lightbox-inner { display: grid; justify-items: center; gap: 10px; }
.lightbox-inner form { justify-self: end; }
.lightbox-inner img { max-height: 70dvh; object-fit: contain; }
.lightbox-inner > div { display: flex; align-items: center; gap: 12px; }
.lightbox-inner button { background: transparent; color: var(--white); border: 1px solid #ffffff55; padding: 4px 9px; }
.rank-years { display: flex; gap: 4px; }
.rank-season-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.rank-season-links > a { margin-left: auto; }
.rank-years a { margin-bottom: -1px; padding: 10px 19px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 16px; font-weight: 680; text-decoration: none; }
.rank-years a:hover { color: var(--ink); }
.rank-years a[aria-current], .rank-years a[aria-selected=true] { border-color: var(--red); color: var(--red); }
.rank-season-caption { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.rank-season-panel .empty { margin: 0 0 12px; }
.rank-page { --navy: #201f1c; --royal: #ad372a; --muted: #68645e; background: var(--paper); color: var(--ink); font-family: var(--copy); }
.rank-page .wrap { width: min(100% - 100px, 1280px); }
.rank-page .hero-inner { min-height: unset; display: block; padding-block: 37px 24px; }
.rank-page .hero h1, .rank-page .reference-title h1 { font-weight: 730; letter-spacing: -.04em; }
.rank-page .board-controls { margin-top: 3px; }
.rank-page .site-footer { margin-top: 32px; }

.site-footer { background: var(--dark); color: var(--paper); }
.footer-line { min-height: 90px; display: flex; align-items: center; gap: 19px; font-size: 12px; }
.site-footer .brand, .site-footer .brand img { width: 53px; }
.footer-line p { color: #d0c8bf; }
.footer-line nav { display: flex; flex-wrap: wrap; gap: 15px; margin-left: auto; }
.footer-line a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .shell, .rank-page .wrap { width: min(100% - 48px, 1280px); }
  .nav-line { gap: 18px; }

  .archive-grid { gap: 10px; }
}

@media (min-width: 801px) and (max-width: 1000px) {
  .site-header .nav-picknrun { display: none; }
}

@media (max-width: 800px) {
  .nav-line { min-height: 62px; display: flex; gap: 10px; }
  .site-header .brand, .site-header .brand img { width: 59px; }
  .nav-picknrun { display: none; }
  .site-tools { order: 1; margin-left: auto; }
  .menu-toggle { order: 2; }
  .menu-toggle { display: block; font-size: 13px; background: transparent; border: 1px solid #ffffff50; border-radius: 3px; color: var(--paper); padding: 5px 10px; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 9px 16px 16px; flex-direction: column; align-items: stretch; gap: 3px; background: var(--dark); }
  .site-nav a { border-bottom: 1px solid #ffffff1c; }
  .site-nav .mobile-picknrun { display: block; }
  .menu-toggle[aria-expanded=true] + .site-nav { display: flex; }
}

@media (max-width: 680px) {
  .shell, .rank-page .wrap { width: calc(100% - 32px); }
  .about-intro { padding-top: 12px; }
  .about-crew-layout { grid-template-columns: 1fr; }

  .event-row { grid-template-columns: minmax(90px,1.05fr) minmax(100px,1.35fr) 60px auto; gap: 7px; padding-inline: 5px; }
  .event-date { display: grid; gap: 0; line-height: 1.25; font-size: 14px; }
  .event-date small, .event-venue { font-size: 11px; }
  .event-name { gap: 4px; flex-wrap: wrap; }
  .event-name strong { font-size: 15px; }
  .event-name .type { padding-inline: 4px; font-size: 10px; }
  .section-top .text-link { font-size: 12px; }
  .home-section { padding-block: 41px; }

  .formats-grid, .archive-grid, .film-grid, .detail-layout, .archive-event-top { grid-template-columns: 1fr; }
  .format-box p { font-size: 14px; }
  .archive-card img { aspect-ratio: 16/9; }
  .content-page { padding-top: 24px; padding-bottom: 49px; }
  .guide-definitions > div { grid-template-columns: 1fr; gap: 3px; }
  .month-block { display: block; }
  .month-block h2 { margin-bottom: 4px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-line { flex-wrap: wrap; padding-block: 12px; gap: 9px 16px; }
  .footer-line nav { flex-basis: 100%; margin-left: 0; }
}

.schedule-notices { margin-block: 16px; padding: 14px 18px; border-inline-start: 2px solid var(--red); background: var(--white); }
.schedule-notices h2 { font-size: 17px; margin-bottom: 8px; }
.schedule-notice h3 { font-size: 16px; }
.schedule-notice + .schedule-notice { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 9px; }
.notice-body, #managed-event-description, #managed-guide-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.event-guide-section { margin-top: 22px; }
.event-guide-section .text-link { margin-top: 10px; }
.event-poster-section { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.event-poster { width: min(100%, 540px); margin: 0; }
.event-poster img { width: auto; max-width: 100%; height: auto; }
.archived-event-details { margin-bottom: 22px; }
