.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 8px; z-index: 50; background: #fff; padding: .4em .8em; border-radius: 8px; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

.topbar { position: sticky; top: 0; z-index: 30; background: rgba(10, 42, 31, .96); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid rgba(201, 162, 74, .25); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.brand .sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .35); }
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a { color: #e9e2cc; text-decoration: none; padding: .4em .75em; border-radius: 999px; font-weight: 500; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.topbar .btn { margin-inline-start: auto; }
@media (min-width: 900px) { .nav { display: flex; } .topbar .btn { margin-inline-start: 8px; } }

.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%); color: #fff; padding: 48px 0 56px; }
.hero-ring { position: absolute; width: 760px; height: 760px; inset-inline-end: -260px; top: -200px; color: var(--gold); opacity: .55; }
.hero-in { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 88px; } .hero-in { grid-template-columns: 1.25fr .9fr; gap: 48px; } }
.edition { display: inline-block; color: var(--gold-soft); border: 1px solid rgba(227, 201, 131, .45); border-radius: 999px; padding: .2em .9em; font-size: .9rem; margin-bottom: 18px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.35; margin-bottom: .3em; }
.hero h1 span { display: block; color: var(--gold-soft); font-size: .72em; margin-top: .25em; }
.tagline { font-size: clamp(1.3rem, 3.4vw, 1.75rem); color: #fff; font-weight: 600; margin-bottom: .4em; }
.org { color: #cfd9d2; margin-bottom: 26px; line-height: 1.8; }
.reg-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.reg-buttons .btn { min-height: 50px; padding-inline: 1.3em; }
.reg-closed { color: #e9e2cc; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(227, 201, 131, .4); border-radius: 14px; padding: .8em 1em; line-height: 1.7; }

.card-dark { background: rgba(255, 255, 255, .06); border: 1px solid rgba(227, 201, 131, .35); border-radius: 22px; padding: 24px; backdrop-filter: blur(4px); }
.cd-label { color: var(--gold-soft); font-size: .9rem; margin-bottom: .2em; }
.cd-title { font-size: 1.45rem; margin-bottom: 16px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.cd-grid div { background: rgba(0, 0, 0, .18); border-radius: 14px; padding: 12px 4px; }
.cd-grid b { display: block; font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.2; font-variant-numeric: tabular-nums; color: #fff; }
.cd-grid span { font-size: .82rem; color: #cfd9d2; }
.cd-date { margin: 14px 0 0; color: #e9e2cc; font-size: .95rem; line-height: 1.7; }

.announce { background: var(--gold); color: var(--green-950); font-weight: 600; }
.announce .wrap { padding: 12px 0; text-align: center; line-height: 1.7; }

.sec { padding: 56px 0; }
.sec.alt { background: #f4efe2; }
.sec-title { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--green-900); margin-bottom: 24px; }
.sec-title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--gold); border-radius: 3px; margin-top: 12px; }
.sub-title { margin-top: 36px; color: var(--green-800); }
.narrow { max-width: 760px; }

.stats-now { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stats-now .stat.main { grid-column: span 2; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-size: 2rem; line-height: 1.25; color: var(--green-800); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: .92rem; }
.stat.main { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.stat.main b { color: var(--gold-soft); }
.stat.main span { color: #cfd9d2; }
.past { display: flex; gap: 16px; align-items: flex-start; }
.past .year { flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-900); font-weight: 700; text-align: center; line-height: 1.3; font-size: .95rem; }
.past dl { display: flex; gap: 18px; margin: 6px 0; flex-wrap: wrap; }
.past dt { font-size: .82rem; color: var(--ink-2); }
.past dd { margin: 0; font-weight: 700; font-size: 1.2rem; color: var(--green-800); }

.about { display: grid; gap: 24px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.facts li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: .6em; border-radius: 50%; background: var(--gold); }
.conditions ol { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 10px; line-height: 1.75; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.tab { flex: none; min-height: 46px; padding: .4em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; color: var(--ink); }
.tab[aria-selected='true'] { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.track-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.track-head ul { margin: 0; padding-inline-start: 1.2em; line-height: 1.8; color: var(--ink-2); }
.branches { display: grid; gap: 12px; }
@media (min-width: 720px) { .branches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .branches { grid-template-columns: repeat(3, 1fr); } }
.branch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.branch h4 { margin: 0 0 .15em; color: var(--green-900); font-size: 1.1rem; }
.branch .parts { color: var(--gold-deep); font-weight: 700; margin-bottom: 10px; }
.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.prizes div { background: #f8f4ea; border-radius: 10px; padding: 8px 4px; }
.prizes span { display: block; font-size: .78rem; color: var(--ink-2); }
.prizes b { font-variant-numeric: tabular-nums; color: var(--green-900); }
.branch .note { font-size: .85rem; color: var(--ink-2); margin: 8px 0 0; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.timeline li.past { opacity: .55; }
.timeline li.next { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, .2); }
.timeline .dot { width: 56px; height: 56px; border-radius: 14px; background: var(--green-900); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1.15; font-size: .78rem; }
.timeline .dot b { font-size: 1.2rem; display: block; }
.timeline h3 { margin: 0; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.7; }

.photos { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .photos { grid-template-columns: repeat(4, 1fr); } }
.photos figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--green-100); aspect-ratio: 4 / 3; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-2); padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); }

details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; line-height: 1.6; }
details.faq summary::after { content: '+'; color: var(--gold-deep); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: '−'; }
details.faq p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); }

.lookup-out { margin-top: 14px; }
.lookup-out dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.lookup-out dt { color: var(--ink-2); }
.lookup-out dd { margin: 0; font-weight: 700; }

.results-sec h3 { margin-top: 24px; color: var(--green-800); }
.res-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.res-group h4 { margin: 0 0 8px; color: var(--green-900); }
.res-group ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.res-group li { display: flex; gap: 10px; align-items: baseline; }
.res-group .rk { flex: none; min-width: 92px; color: var(--gold-deep); font-weight: 700; }

.footer { background: var(--green-950); color: #cfd9d2; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-in { display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-in { grid-template-columns: 1fr auto; align-items: end; } }
.footer img { margin-bottom: 10px; }
.footer p { margin: 0 0 .3em; }
.contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .35em .95em; border: 1px solid rgba(227, 201, 131, .35); border-radius: 999px; color: #fff; text-decoration: none; }
.contact a:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 899px) {
  .hero-ring { width: 420px; height: 420px; inset-inline-end: -230px; top: -150px; opacity: .35; }
}
