/* One shared Rules & Terms page, including legacy rules/terms links. */
.rules-page { margin: 42px 0 0; }
.rules-hero { max-width: 760px; margin-bottom: 28px; }
.rules-hero .eyebrow { color: var(--gold); font-size: 10px; letter-spacing: .2em; }
.rules-hero h1 { margin: 14px 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.1; }
.rules-hero h1 span { color: var(--gold); }
.rules-hero > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.rules-season-line { display: flex; gap: 5px; width: 148px; height: 3px; margin-top: 24px; }
.rules-season-line i { flex: 1; border-radius: 2px; background: var(--spring); }
.rules-season-line i:nth-child(2) { background: var(--summer); }
.rules-season-line i:nth-child(3) { background: var(--autumn); }
.rules-season-line i:nth-child(4) { background: var(--winter); }
.rules-agreement { display: flex; align-items: flex-start; gap: 20px; padding: 24px 28px; border-color: #f0d28f55; background: linear-gradient(100deg, #f0d28f08, transparent 70%), var(--surface); }
.rules-agreement-mark { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border: 1px solid #f0d28f66; border-radius: 12px; color: var(--gold); font-family: Georgia, serif; font-size: 25px; background: #f0d28f08; }
.rules-agreement h2 { margin: 0 0 8px; font-family: inherit; font-size: 18px; line-height: 1.5; }
.rules-agreement p { margin: 0; font-size: 13px; line-height: 1.8; }
.rules-agreement .rules-agreement-reminder { color: var(--muted); font-size: 12px; margin-top: 7px; }
.rules-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 26px; }
.rules-index { position: sticky; top: 105px; padding: 18px 14px; }
.rules-index-label { display: block; margin: 0 10px 13px; color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.rules-index a { display: flex; align-items: baseline; gap: 9px; padding: 10px; border-radius: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.rules-index a span { color: var(--gold); font-size: 9px; font-variant-numeric: tabular-nums; }
.rules-index a:hover { background: #ffffff05; color: var(--text); }
.rules-index a:focus-visible, .rules-help a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rules-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rules-card { --rule-accent: var(--winter); position: relative; padding: 24px; scroll-margin-top: 110px; overflow-wrap: anywhere; }
.rules-tone-spring { --rule-accent: var(--spring); }
.rules-tone-summer { --rule-accent: var(--summer); }
.rules-tone-autumn { --rule-accent: var(--autumn); }
.rules-tone-winter { --rule-accent: var(--winter); }
.rules-card::before { content: ''; position: absolute; top: 24px; left: -1px; width: 3px; height: 38px; border-radius: 0 3px 3px 0; background: var(--rule-accent); }
.rules-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rules-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #365167; border-radius: 10px; color: var(--rule-accent); background: #101b2c44; }
.rules-card-number { color: var(--muted); opacity: .6; font-size: 11px; font-variant-numeric: tabular-nums; }
.rules-card h2 { margin: 0 0 7px; font-family: inherit; font-size: 17px; line-height: 1.5; }
.rules-card-summary { margin: 0 0 17px; color: var(--rule-accent); font-size: 11px; line-height: 1.7; }
.rules-card ul { padding-left: 16px; margin: 0; }
.rules-card li { margin-bottom: 11px; padding-left: 3px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.rules-card li:last-child { margin-bottom: 0; }
.rules-card li::marker { color: var(--rule-accent); }
.rules-card-note { margin: 18px 0 0; padding: 12px 13px; border-left: 2px solid var(--rule-accent); border-radius: 0 6px 6px 0; background: #101b2c66; color: var(--text); font-size: 11px; line-height: 1.8; }
.rules-penalties { margin: 0 0 18px; }
.rules-penalties > div { padding: 10px 0; border-bottom: 1px solid #36516777; }
.rules-penalties > div:first-child { padding-top: 0; }
.rules-penalties dt { color: var(--gold); font-size: 11px; font-weight: 600; }
.rules-penalties dd { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.rules-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; }
.rules-help .eyebrow { color: var(--gold); font-size: 9px; letter-spacing: .16em; }
.rules-help h2 { margin: 9px 0; font-size: 24px; }
.rules-help p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.rules-help .button { flex-shrink: 0; font-size: 11px; }
@supports selector(:has(*)) {
	.flux-content:has(> .rules-page) { padding: 0; border: 0; background: transparent; }
	.flux-content:has(> .rules-page) > .rules-page { margin-top: 0; }
}
@media (max-width: 1050px) {
	.rules-layout { grid-template-columns: minmax(0, 1fr); }
	.rules-index { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 12px; }
	.rules-index-label { display: none; }
	.rules-index a { flex-shrink: 0; white-space: nowrap; padding: 8px 10px; }
}
@media (max-width: 650px) {
	.rules-page { margin-top: 30px; }
	.rules-hero > p { font-size: 13px; }
	.rules-sections { grid-template-columns: minmax(0, 1fr); gap: 15px; }
	.rules-card { padding: 22px; }
	.rules-agreement { padding: 20px; gap: 14px; }
	.rules-agreement-mark { flex-basis: 34px; height: 38px; font-size: 21px; }
	.rules-agreement h2 { font-size: 16px; }
	.rules-help { padding: 22px; flex-direction: column; align-items: flex-start; gap: 18px; }
}
