/* Festival art direction. Keep data tables light and readable. */
:root {
	--color-navy: #191b18;
	--color-navy-deep: #10120f;
	--color-red: #c93621;
	--color-red-deep: #9c291b;
	--color-paper: #f5f0e5;
	--color-card: #fffdf7;
	--color-ink: #22251f;
	--color-muted: #69665e;
	--color-soft: #ece5d6;
	--color-line: #ded5c3;
	--color-line-strong: #aaa18e;
	--color-focus: #b67510;
	--color-photo-empty: #e7ddc8;
	--font-heading: var(--font-body);
	--font-shikona: 'Zen Old Mincho', 'Yu Mincho', serif;
	--festival-yellow: #f3ca62;
	--wrap: 1240px;
	--radius: 3px;
}
body { background-image: radial-gradient(#a99b7a15 .7px, transparent .7px); background-size: 5px 5px; }
h1, h2, h3 { font-weight: 900; }
.site-header { background: #151713; border-bottom: 1px solid #ffffff18; }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 34px; padding-top: 18px; padding-bottom: 18px; }
.head-row { grid-row: 1; grid-column: 1; padding: 0; }
.brand { display: block; width: 300px; padding: 0; line-height: 0; }
.brand::before { content: none; }
.brand img { display: block; width: 100%; height: auto; }
.site-header .nav { grid-row: 1; grid-column: 2; justify-self: end; border-top: 0; }
.site-header .nav ul { justify-content: flex-end; gap: 0 24px; padding: 0; font-size: 13px; font-weight: 700; }
.site-header .nav a { padding: 15px 0; opacity: 1; color: #d7d7ce; text-decoration: none; border-bottom: 2px solid transparent; }
.site-header .nav a:hover, .site-header .nav .current-menu-item a { color: #fff; border-bottom-color: var(--color-red); }
.front-bulls .search { width: 560px; max-width: 100%; margin: 26px auto 0; background: var(--color-card); border: 1px solid var(--color-line-strong); border-radius: 4px; }
.front-bulls .search input { min-height: 50px; font-size: 14px; }
.front-bulls .search button { padding-left: 16px; padding-right: 12px; color: var(--color-red-deep); }
.site-header .menu-toggle { flex-direction: column; justify-content: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 8px; border: 1px solid #ffffff30; border-radius: 4px; }
.site-header .menu-label { font-size: 9px; line-height: 1; }
.menu-lines { position: relative; width: 20px; height: 2px; background: #fff; transition: background .15s; }
.menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: transform .15s; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Arena poster: text and imagery have independent responsive positions. */
.arena-hero { position: relative; overflow: hidden; background: #151713; color: #fff7e6; isolation: isolate; }
.arena-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.arena-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.arena-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #151713f2 0%, #151713cb 27%, #15171330 60%, #15171305 100%); z-index: -1; }
.arena-inner { min-height: 580px; position: relative; display: flex; align-items: center; padding-top: 65px; padding-bottom: 75px; }
.arena-copy { max-width: 630px; animation: festival-enter .65s ease-out both; }
.arena-eyebrow { display: flex; gap: 10px; align-items: center; color: var(--festival-yellow); font-size: 13px; font-weight: 700; letter-spacing: .14em; margin-bottom: 25px; }
.arena-eyebrow span { width: 25px; height: 3px; background: var(--color-red); }
.arena-copy h1 { white-space: pre-line; font-size: clamp(44px, 5.8vw, 78px); font-weight: 900; line-height: 1.23; letter-spacing: -.055em; text-shadow: 0 3px 24px #0006; }
.arena-lead { font-size: 15px; margin-top: 24px; line-height: 1.9; color: #e3ddcf; }
.arena-actions { display: flex; gap: 12px; margin-top: 30px; }
.arena-button { display: inline-flex; min-width: 165px; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 23px; font-weight: 900; background: var(--color-red); border: 1px solid var(--color-red); transition: background .2s, transform .2s; }
.arena-button span { font-size: 21px; line-height: 1; }
.arena-button:hover { background: var(--color-red-deep); transform: translateY(-3px); }
.arena-button.is-outline { background: #171a1660; border-color: #ddd6c370; }
.arena-button.is-outline:hover { background: #ffffff15; }
.arena-side-note { position: absolute; right: var(--gutter); top: 55px; writing-mode: vertical-rl; font-family: var(--font-shikona); font-weight: 900; font-size: 17px; letter-spacing: .3em; text-shadow: 0 1px 8px #000; }
.arena-caption { position: absolute; right: var(--gutter); bottom: 16px; color: #e8e0d1; font-size: 10px; padding: 2px 7px; background: #1119; }
.festival-ribbon { display: flex; justify-content: center; gap: clamp(25px, 7vw, 110px); padding: 12px 20px; background: var(--color-red); color: #fff8e9; font-size: 13px; font-weight: 900; letter-spacing: .17em; overflow: hidden; }
.festival-ribbon span { white-space: nowrap; }
.festival-ribbon span + span::before { content: '◆'; margin-right: clamp(25px, 7vw, 110px); color: var(--festival-yellow); font-size: 10px; }
.arena-brand { display: block; }
.festival-menu { background: var(--color-red); color: #fff; }
.festival-menu .nav { display: block; }
.festival-menu .nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border: 0; padding: 0; font-size: 14px; font-weight: 700; }
.festival-menu .nav li { border: 0; }
.festival-menu .nav a { display: block; padding: 16px 25px; color: #fff; opacity: 1; text-decoration: none; transition: background .15s, color .15s; }
.festival-menu .nav a:hover, .festival-menu .nav a:focus-visible, .festival-menu .nav .current-menu-item a { background: #000; color: var(--festival-yellow); }
@media (max-width: 799px) {
	.has-js .festival-menu .nav:not(.is-open) { display: block; }
	.festival-menu .nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.festival-menu .nav a { padding: 13px 6px; font-size: 12px; text-align: center; }
}
@media (max-width: 400px) {
	.festival-menu .nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Next event and discovery sections. */
.festival-home .event { margin-top: 28px; background: var(--color-navy); border-radius: 0; box-shadow: 6px 6px 0 #d9cfbc; border-left: 5px solid var(--color-red); }
.festival-home .event a { padding: 24px 28px; align-items: center; }
.festival-home .event small { color: #d8d0bd; font-size: 12px; }
.event-label { color: var(--festival-yellow); font-size: 14px; }
.festival-home .event h2 { font-size: clamp(21px, 2.4vw, 30px); margin-top: 8px; line-height: 1.45; }
.festival-home .event a > span { color: var(--festival-yellow); font-size: 13px; font-weight: 700; }
.festival-home .section { margin: 65px 0; }
.section-kicker { color: var(--color-red-deep); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 8px; }
.section-title { margin-bottom: 22px; }
.section-title h2 { font-size: 35px; font-weight: 900; letter-spacing: -.03em; }
.section-title::after { height: 2px; background: var(--color-ink); opacity: .2; }
.section-title a { font-weight: 700; border-bottom: 1px solid var(--color-ink); padding-bottom: 3px; }
.festival-home .filters { flex-wrap: wrap; overflow: visible; gap: 8px 12px; margin-bottom: 8px; }
.festival-home .filter-group { gap: 6px; margin-left: 0; padding-left: 12px; flex-wrap: wrap; align-items: center; }
.festival-home .filters a { padding: 5px 13px; border-radius: 2px; font-size: 12px; }
.festival-home .filters .filter-parent { font-weight: 900; border: 0; padding-inline: 3px; background: none; }
.festival-home .filters a:hover { color: var(--color-red-deep); border-color: var(--color-red); }
.festival-home .filters .active { background: var(--color-red); border-color: var(--color-red); color: #fff; }
.festival-home .filters .active:hover { color: #fff; background: var(--color-red-deep); }

/* Bull cards. Empty photo areas use an illustration, never a fabricated portrait. */
.card, .bullsearch-card { border: 1px solid var(--color-line); border-radius: 3px; box-shadow: 3px 3px 0 #d9cfbc70; }
.card:hover, .bullsearch-card:hover { transform: translateY(-5px); box-shadow: 5px 8px 0 #d9cfbc; }
.is-bull .card-photo, .bullsearch-card__photo, .matchup-photo { position: relative; background-color: #e7ddc8; background-image: radial-gradient(ellipse at 50% 90%, #95865b30, transparent 65%), repeating-linear-gradient(-35deg, transparent 0 35px, #fff3 35px 36px); }
.is-bull .card-photo.is-empty::before, .matchup-photo.is-empty::before, .bullsearch-card__photo:has(.bullsearch-card__nophoto)::before { content: ''; position: absolute; inset: 12% 15% 22%; background: url('../images/bull-mark.svg') center / contain no-repeat; opacity: .8; }
.is-bull .card-photo.is-empty::after, .matchup-photo.is-empty::after, .bullsearch-card__photo:has(.bullsearch-card__nophoto)::after { content: '写真募集中'; position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #6d624f; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.is-bull .card-photo::after { pointer-events: none; }
.card-body { border-top: 3px solid var(--color-red); padding: 16px 32px 15px 17px; }
.card-body::after { color: var(--color-red); right: 13px; }
.card-record { border-top: 1px solid var(--color-line); margin-top: 12px; padding-top: 8px; color: var(--color-ink) !important; font-size: 12px !important; }
.card-record strong { font-family: var(--font-number); font-size: 23px; color: var(--color-red-deep); }
.card-record span { color: var(--color-muted); font-size: 11px; }
.bullsearch-card__body { border-top: 3px solid var(--color-red); }
.bullsearch-card__record { font-weight: 700; color: var(--color-red-deep); }
.bullsearch-card__nophoto { visibility: hidden; }
.front-records .update { border-left: 3px solid var(--color-red); padding: 19px 22px; }
.front-records .bout-names { font-size: 24px; font-weight: 900; }
.front-records .update time { font-weight: 700; color: var(--color-red-deep); }

/* Interior pages inherit the same event-poster language. */
.identity { border-bottom: 4px solid var(--color-red); background-image: repeating-linear-gradient(-35deg, transparent 0 80px, #ffffff04 80px 81px); }
.identity .bull-name { font-size: clamp(44px, 6vw, 74px); }
.page-header { border-left: 5px solid var(--color-red); padding-left: 20px; }
.page-title { font-weight: 900; }
.rank { background: var(--color-red); }
.stats strong { font-size: 40px; font-weight: 900; }
.stats > div:first-child strong { color: var(--color-red-deep); }
.tabs a[aria-current] { font-weight: 900; }
.matchup { padding: 35px 30px; background: linear-gradient(105deg, #e7ddc8 0%, #fffdf7 48%, #efe3cf 100%); border-bottom: 4px solid var(--color-red); }
.matchup-side small { display: inline-block; padding: 3px 17px; background: var(--color-navy); color: #fff; font-weight: 900; transform: skew(-8deg); }
.matchup-side.is-winner small { background: var(--color-red); }
.matchup-vs { font-size: 43px; color: var(--color-red); font-weight: 900; transform: rotate(-10deg); }
.matchup-side .bull-name { font-size: clamp(24px, 3vw, 39px); }
.cal-date strong { font-weight: 900; color: var(--color-red-deep); }
.cal-item { border-left: 3px solid var(--color-red); }
.bz-rank { background: #eadcc3; }
.rec-box h3 { font-size: 20px; font-weight: 900; }
.button { border-radius: 3px; font-weight: 700; }
.site-footer { border-top: 5px solid var(--color-red); background: var(--color-navy); }
.footer-brand { color: var(--festival-yellow); }
.sample-badge { opacity: 1; font-family: var(--font-body); }

@keyframes festival-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
	.site-header .wrap { gap: 0 20px; }
	.brand { font-size: 24px; }
	.nav ul { gap: 0 12px; font-size: 12px; }
	.arena-inner { min-height: 540px; }
	.arena-copy h1 { font-size: 64px; }
}
@media (max-width: 799px) {
	.site-header .wrap { display: block; padding-top: 14px; padding-bottom: 14px; }
	.head-row { padding: 0; gap: 16px; }
	.brand { width: min(250px, calc(100% - 64px)); padding: 0; }
	.site-header .nav { margin: 14px 0 0; border-top: 1px solid #ffffff18; }
	.site-header .nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; border-top: 0; font-size: 14px; }
	.site-header .nav a { padding: 13px 0; }
	.arena-inner { min-height: clamp(650px, 185vw, 1040px); align-items: flex-end; padding-top: max(290px, 82vw); padding-bottom: 45px; }
	.arena-art { inset: 0; width: 100%; max-width: none; height: 100%; }
	.arena-art > img { width: 100%; height: auto; object-fit: contain; object-position: center top; }
	.arena-hero::before { background: linear-gradient(0deg, #151713 0%, #151713b0 22%, #15171320 53%, transparent 100%); }
	.arena-copy h1 { font-size: clamp(42px, 8.6vw, 64px); }
	.arena-eyebrow { font-size: 11px; margin-bottom: 17px; }
	.arena-lead { font-size: 13px; margin-top: 17px; }
	.arena-actions { margin-top: 23px; }
	.arena-side-note { top: 23px; left: 50%; right: auto; transform: translateX(-50%); writing-mode: vertical-rl; text-align: center; font-size: 13px; letter-spacing: .16em; }
	.festival-ribbon { justify-content: flex-start; gap: 26px; font-size: 11px; }
	.festival-ribbon span + span::before { margin-right: 26px; }
	.festival-home .event a { flex-direction: column; align-items: flex-start; gap: 13px; padding: 20px; }
	.festival-home .event h2 { font-size: 23px; }
	.festival-home .event small { line-height: 1.9; }
	.festival-home .section { margin: 42px 0; }
	.section-title h2 { font-size: 29px; }
	.festival-home .filters { gap: 8px; }
	.festival-home .filter-group { padding-left: 0; border-left: 0; }
	.card-body { padding: 12px 25px 12px 12px; }
	.bull-name { font-size: 23px; }
	.card-record { margin-top: 8px; }
	.front-records .update { padding: 15px; }
	.front-records .bout-names { font-size: 20px; }
	.matchup { padding: 20px 15px; gap: 8px; }
	.matchup-vs { font-size: 29px; }
}
@media (max-width: 400px) {
	.brand { font-size: 21px; }
	.arena-copy h1 { font-size: clamp(34px, 10.3vw, 40px); }
	.arena-button { min-width: 0; flex: 1; padding: 12px 14px; gap: 10px; font-size: 13px; }
	.section-title h2 { font-size: 26px; }
	.section-title { gap: 10px; }
	.section-title a { font-size: 11px; }
	.festival-home .event h2 { font-size: 21px; }
}
.arena-copy .arena-logo { line-height: 0; margin: 0 0 25px; }
.arena-logo picture { display: block; }
.arena-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 4px #0006); }
.arena-tagline { margin: 0 0 12px; font-weight: 900; font-size: 29px; letter-spacing: .02em; white-space: pre-line; }
@media (max-width: 799px) {
	.arena-copy { width: 100%; }
	.arena-copy .arena-logo { width: min(100%, 340px); margin: 0 auto 20px; }
	.arena-logo img { aspect-ratio: 1200 / 740; }
	.arena-tagline { text-align: center; font-size: clamp(21px, 5.5vw, 27px); }
	.arena-lead { text-align: center; }
}
.front-guide { padding-top: 32px; border-top: 1px solid var(--color-line-strong); }
.guide-intro { margin: -4px 0 26px; font-size: 14px; color: var(--color-muted); line-height: 1.8; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.guide-card { overflow: hidden; background: var(--color-card); border: 1px solid var(--color-line); box-shadow: 4px 4px 0 #d9cfbc70; }
.guide-photo { position: relative; aspect-ratio: 1.7; overflow: hidden; background: var(--color-navy); }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-photo.is-action img { object-position: 80% center; width: 140%; max-width: none; margin-left: -40%; }
.guide-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0009); pointer-events: none; }
.guide-number { position: absolute; top: 0; left: 0; padding: 5px 13px; background: var(--color-red); color: #fff7e6; font-family: var(--font-number); font-weight: 700; font-size: 28px; line-height: 1.2; z-index: 1; }
.guide-category { position: absolute; left: 20px; bottom: 13px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; z-index: 1; }
.guide-body { padding: 22px; }
.guide-body h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.45; letter-spacing: -.03em; min-height: 2.9em; margin-bottom: 14px; }
.guide-body > p { color: var(--color-muted); font-size: 13px; line-height: 1.85; min-height: 5.55em; }
.guide-details { margin-top: 20px; border-top: 1px solid var(--color-line); }
.guide-details summary { list-style: none; cursor: pointer; position: relative; padding: 14px 26px 0 0; color: var(--color-red-deep); font-size: 13px; font-weight: 900; }
.guide-details summary::-webkit-details-marker { display: none; }
.guide-details summary::after { content: '+'; position: absolute; right: 0; top: 9px; font-size: 25px; font-weight: 400; line-height: 1; }
.guide-details[open] summary::after { content: '−'; }
.guide-details summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
.guide-expanded { margin-top: 18px; font-size: 13px; line-height: 1.85; }
.guide-expanded ul, .guide-expanded ol { margin: 0; padding-left: 1.3em; }
.guide-expanded li + li { margin-top: 13px; }
.guide-expanded li::marker { color: var(--color-red-deep); font-weight: 700; }
.guide-expanded strong { display: block; font-size: 14px; }
.guide-next { display: block; border: 1px solid var(--color-line); background: var(--color-paper); padding: 10px 12px; margin-top: 20px; font-weight: 700; }
.guide-next:hover { color: var(--color-red-deep); border-color: var(--color-red); }
.guide-sources { margin-top: 16px; color: var(--color-muted); font-size: 10px; }
.guide-sources a { text-decoration: underline; text-underline-offset: 2px; }
.guide-image-note { margin-top: 12px; font-size: 10px; color: var(--color-muted); text-align: right; }
#region-discovery { scroll-margin-top: 60px; }
@media (max-width: 850px) {
	.guide-grid { gap: 12px; }
	.guide-body { padding: 16px; }
	.guide-body h3 { font-size: 20px; }
}
@media (max-width: 700px) {
	.guide-grid { grid-template-columns: 1fr; gap: 22px; }
	.guide-photo { aspect-ratio: 1.9; }
	.guide-body { padding: 21px; }
	.guide-body h3 { min-height: 0; font-size: 24px; margin-bottom: 10px; }
	.guide-body > p { min-height: 0; }
	.guide-intro br { display: none; }
	.guide-category { left: 21px; }
}
.about-hero { padding: 80px 0 72px; color: #fff; background: #151713; border-bottom: 7px solid var(--color-red); }
.about-eyebrow { color: var(--festival-yellow); font-size: 12px; font-weight: 700; letter-spacing: .2em; margin-bottom: 25px; }
.about-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.45; letter-spacing: -.04em; }
.about-mobile-break { display: none; }
.about-hero-lead { margin-top: 25px; color: #d7d7ce; line-height: 2; font-size: 17px; }
.about-body { max-width: 1040px; }
.about-index { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 25px 0; border-bottom: 1px solid var(--color-line); font-size: 13px; font-weight: 700; }
.about-index a:hover { color: var(--color-red-deep); }
.about-section { padding: 65px 0; border-bottom: 1px solid var(--color-line); scroll-margin-top: 45px; }
.about-section h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.5; margin-bottom: 24px; }
.about-prose { max-width: 740px; font-size: 15px; line-height: 2.1; }
.about-prose p + p { margin-top: 22px; }
.about-prose .about-manifesto { margin-top: 35px; padding-left: 22px; border-left: 4px solid var(--color-red); font-weight: 900; font-size: 23px; line-height: 1.7; }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-values article { padding: 26px; background: var(--color-card); border: 1px solid var(--color-line); }
.about-values article > span { font-family: var(--font-number); color: var(--color-red); font-size: 28px; font-weight: 700; }
.about-values h3 { font-size: 18px; margin: 15px 0; line-height: 1.6; }
.about-values p { font-size: 13px; line-height: 1.95; color: var(--color-muted); }
.about-flow { margin-top: 32px; padding: 28px; border-left: 4px solid var(--color-red); background: var(--color-soft); }
.about-flow h3 { font-size: 19px; margin-bottom: 18px; }
.about-flow ol { padding-left: 22px; }
.about-flow li { padding-left: 6px; }
.about-flow li + li { margin-top: 18px; }
.about-flow li::marker { color: var(--color-red-deep); font-weight: 900; }
.about-flow p { font-size: 13px; color: var(--color-muted); line-height: 1.8; margin-top: 5px; }
.about-cta { display: inline-flex; gap: 40px; margin-top: 25px; padding: 14px 22px; background: var(--color-red); color: #fff; font-weight: 700; }
.about-cta:hover { background: var(--color-red-deep); }
.about-rules-lead { font-size: 14px; line-height: 1.9; margin-bottom: 24px; color: var(--color-muted); }
.about-rules details { border-bottom: 1px solid var(--color-line); background: var(--color-card); }
.about-rules summary { cursor: pointer; padding: 20px; font-size: 16px; font-weight: 700; }
.about-rules details > div { padding: 0 24px 24px; max-width: 820px; font-size: 14px; line-height: 2; }
.about-rules details p + p { margin-top: 16px; }
.about-rules details ul { padding-left: 22px; margin-bottom: 15px; }
.about-closing { padding: 65px 0; text-align: center; }
.about-closing p { font-size: 32px; font-weight: 900; margin-bottom: 22px; line-height: 1.6; }
.about-closing a { color: var(--color-red-deep); font-weight: 700; }
.footer-about-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0; font-size: 12px; }
.footer-about-links a:hover { color: var(--festival-yellow); }
.ushi-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contribute-open-note { padding: 15px 20px; background: var(--color-soft); border-left: 3px solid var(--color-red); font-size: 14px; }
.contribute-form .is-check a { color: var(--color-red-deep); text-decoration: underline; }
.contact-page { max-width: 1120px; padding-top: 50px; padding-bottom: 70px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; margin-top: 32px; align-items: start; }
.contact-form-panel { padding: 30px; background: var(--color-card); border: 1px solid var(--color-line); }
.contact-pending { padding: 0; border: 0; min-width: 0; }
.contact-form-panel .notice { margin-bottom: 26px; font-size: 13px; line-height: 1.9; padding: 15px; background: var(--color-soft); border-left: 3px solid var(--color-red); }
.contact-field { margin-bottom: 24px; }
.contact-field label { display: block; font-size: 14px; font-weight: 700; }
.contact-field .wpcf7-form-control-wrap { display: block; margin-top: 10px; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; border: 1px solid var(--color-line-strong); border-radius: 3px; padding: 12px; background: #fff; color: var(--color-ink); font-size: 15px; font-weight: 400; }
.contact-field textarea { min-height: 180px; resize: vertical; }
.contact-field .required, .contact-field .optional { font-size: 10px; margin-left: 8px; padding: 2px 6px; background: var(--color-soft); }
.contact-field .required { color: var(--color-red-deep); }
.contact-consent { font-size: 12px; line-height: 1.8; }
.contact-consent .wpcf7-list-item { margin: 0; }
.contact-consent a { text-decoration: underline; color: var(--color-red-deep); }
.contact-submit { margin-top: 25px; }
.contact-submit input { padding: 13px 22px; border: 0; background: var(--color-red); color: #fff; font-size: 14px; font-weight: 700; }
.contact-pending:disabled .contact-submit input { opacity: .55; cursor: not-allowed; }
.contact-aside { padding: 26px; border-top: 3px solid var(--color-red); background: var(--color-soft); }
.contact-aside h2 { font-size: 19px; margin-bottom: 20px; }
.contact-aside p { font-size: 13px; line-height: 1.9; margin-bottom: 18px; }
.contact-aside a { font-size: 13px; color: var(--color-red-deep); font-weight: 700; }
@media (max-width: 700px) {
	.contact-page { padding-top: 35px; padding-bottom: 45px; }
	.contact-layout { grid-template-columns: 1fr; gap: 24px; }
	.contact-form-panel { padding: 20px; }
	.about-hero { padding: 45px 0; }
	.about-mobile-break { display: inline; }
	.about-hero h1 { font-size: clamp(30px, 8vw, 42px); }
	.about-hero-lead { font-size: 14px; }
	.about-section { padding: 40px 0; }
	.about-values { grid-template-columns: 1fr; gap: 14px; }
	.about-values article { padding: 22px; }
	.about-prose { font-size: 14px; }
	.about-prose .about-manifesto { font-size: 20px; }
	.about-rules summary { font-size: 14px; padding: 18px 14px; }
	.about-rules details > div { padding: 0 16px 20px; }
	.about-flow { padding: 22px; }
	.about-index { gap: 12px 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.arena-copy { animation: none; }
	.card:hover, .bullsearch-card:hover, .arena-button:hover { transform: none; }
}

/* Page frame: the footer always sits at the bottom of the screen, and nothing hides under the iPhone notch, status bar or home indicator. */
:root { --safe-top: env(safe-area-inset-top, 0px); --safe-right: env(safe-area-inset-right, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); --safe-left: env(safe-area-inset-left, 0px); }
html { background: var(--color-navy); }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px)); }
body > #main { flex: 1 0 auto; width: 100%; }
body > .site-header, body > .site-footer { flex-shrink: 0; }
.wrap { padding-left: max(var(--gutter), var(--safe-left)); padding-right: max(var(--gutter), var(--safe-right)); }
.site-header .wrap { padding-top: calc(18px + var(--safe-top)); }
/* Logged in: the WordPress toolbar takes the notch area, and the page starts below it. */
html:has(> body.admin-bar) { margin-top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--safe-top)) !important; }
body.admin-bar { min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--safe-top)); }
body.admin-bar #wpadminbar { box-sizing: content-box; padding-top: var(--safe-top); }
body.admin-bar .site-header .wrap, body.admin-bar .arena-inner, body.admin-bar .arena-side-note, body.admin-bar .tabs { --safe-top: 0px; }
.site-footer { padding-bottom: calc(32px + var(--safe-bottom)); }
.site-header .menu-toggle { gap: 9px; }
.arena-inner { padding-top: calc(65px + var(--safe-top)); }
.arena-side-note { top: calc(55px + var(--safe-top)); }
@media (max-width: 799px) {
	.site-header .wrap { padding-top: calc(14px + var(--safe-top)); }
	.arena-inner { padding-top: calc(max(290px, 82vw) + var(--safe-top)); }
	.arena-side-note { top: calc(23px + var(--safe-top)); }
}
.tabs { top: var(--safe-top); }
/* Built-in hero art has extra smoke added above the original picture, so the bulls keep headroom. */
.arena-art.is-illustrated > img { object-position: center 70%; }
@media (max-width: 799px) {
	/* The added top is 44.6vw tall: show 12vw of it plus the notch area, and push the copy down to match. */
	.arena-art.is-illustrated > img { margin-top: calc(var(--safe-top) - 32.6vw); }
	body.admin-bar .arena-art { --safe-top: 0px; }
	.arena-hero:has(.is-illustrated) .arena-inner { min-height: clamp(650px, 197vw, 1090px); padding-top: calc(max(290px, 82vw) + 12vw + var(--safe-top)); }
}
