.rules-body {
    background:
        radial-gradient(circle at top, rgba(213, 174, 91, .08), transparent 28%),
        linear-gradient(180deg, #050a11 0%, #07111d 56%, #050a11 100%);
}

.site-header--solid {
    background: rgba(4, 10, 17, .93);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.rules-page { padding-top: var(--header-height); }

.rules-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(3, 8, 14, .30), rgba(3, 8, 14, .88)),
        var(--rules-hero-image, url('../images/site/rules-hero.jpg')) center/cover no-repeat;
}

.rules-hero::before,
.rules-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rules-hero::before {
    background:
        radial-gradient(circle at 20% 22%, rgba(240, 210, 141, .16), transparent 20%),
        radial-gradient(circle at 80% 18%, rgba(83, 168, 216, .17), transparent 20%);
}

.rules-hero::after {
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: .22;
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.rules-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 17, .08), rgba(5, 10, 17, .82));
}

.rules-hero__content {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    text-align: center;
    padding: 80px 0 74px;
}

.rules-hero__content h1 {
    margin: 18px auto 14px;
    max-width: 850px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2.65rem, 5.6vw, 5.25rem);
    line-height: 1.02;
}

.rules-hero__subtitle {
    max-width: 780px;
    margin: 0 auto 14px;
    color: #f2f4f7;
    font-size: clamp(1.08rem, 1.5vw, 1.36rem);
    font-weight: 650;
}

.rules-hero__content .hero__lead { max-width: 830px; margin-inline: auto; }

.rules-hero__actions,
.rules-accept-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.rules-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.rules-hero__meta span,
.rules-accept-card__meta span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(7, 15, 24, .72);
    color: #cdd7df;
    font-size: .82rem;
}

.rules-highlights {
    position: relative;
    z-index: 3;
    width: min(1120px, calc(100% - 36px));
    margin: -48px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rules-highlights article,
.rules-rmt-card,
.rules-rmt-penalties article,
.rules-index,
.rule-chapter,
.rules-penalty-grid article,
.rules-accept-card {
    border: 1px solid rgba(255,255,255,.07);
    background: linear-gradient(180deg, rgba(7, 15, 24, .95), rgba(5, 10, 17, .92));
    box-shadow: var(--shadow);
}

.rules-highlights article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
}

.rules-highlights article > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--gold-bright);
    background: rgba(240, 210, 141, .10);
}

.rules-highlights strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.05rem;
}

.rules-highlights p,
.rules-rmt-card p,
.rules-rmt-penalties p,
.rules-penalty-grid p,
.rules-accept-card p { margin: 0; color: #ccd5dc; }

.rules-section {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.rules-rmt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
    gap: 18px;
}

.rules-rmt-card {
    padding: 26px;
    border-radius: 26px;
}

.rules-rmt-card--prohibited {
    border-color: rgba(194, 75, 75, .30);
    background:
        linear-gradient(180deg, rgba(37, 13, 16, .78), rgba(5, 10, 17, .94)),
        rgba(5, 10, 17, .92);
}

.rules-card-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #f0d28d;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.rules-rmt-card h3 {
    margin: 0 0 16px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.rules-rmt-card ul,
.rule-chapter__content ul {
    margin: 0;
    padding-left: 20px;
    color: #dbe2e8;
}

.rules-rmt-card li,
.rule-chapter__content li { margin-bottom: 12px; line-height: 1.65; }

.rules-evidence-note {
    margin-top: 18px !important;
    padding: 16px;
    border-left: 2px solid #d5ae5b;
    background: rgba(255,255,255,.035);
}

.rules-rmt-penalties {
    display: grid;
    gap: 12px;
}

.rules-rmt-penalties article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 20px;
}

.rules-rmt-penalties article > span,
.rules-penalty-grid article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #f0d28d;
    background: rgba(240, 210, 141, .10);
    font-weight: 800;
}

.rules-rmt-penalties strong,
.rules-penalty-grid strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1rem;
}

.rules-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.rules-index {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    padding: 18px;
    border-radius: 22px;
}

.rules-search {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.rules-search span {
    color: var(--gold-bright);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rules-search input {
    min-height: 48px;
    width: 100%;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(2, 8, 14, .82);
    color: #f2f5f7;
    outline: none;
}

.rules-search input:focus {
    border-color: rgba(213, 174, 91, .46);
    box-shadow: 0 0 0 4px rgba(213, 174, 91, .10);
}

.rules-index nav { display: grid; gap: 6px; }
.rules-index nav a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 12px;
    color: #d5dee5;
    font-size: .88rem;
}
.rules-index nav a:hover,
.rules-index nav a:focus-visible { background: rgba(240,210,141,.08); color: #f0d28d; }
.rules-index nav a span { color: #7ea9c1; font-size: .72rem; }

.rules-accordion { display: grid; gap: 12px; }

.rule-chapter {
    border-radius: 20px;
    overflow: hidden;
    scroll-margin-top: calc(var(--header-height) + 22px);
}

.rule-chapter[hidden] { display: none; }

.rule-chapter summary {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.rule-chapter summary::-webkit-details-marker { display: none; }

.rule-chapter summary > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #f0d28d;
    background: rgba(240, 210, 141, .09);
    font-weight: 800;
}

.rule-chapter summary strong {
    display: block;
    margin-bottom: 4px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.08rem;
}

.rule-chapter summary small { color: #95a8b5; line-height: 1.45; }

.rule-chapter summary i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    color: #f0d28d;
    font-style: normal;
    font-size: 1.25rem;
    transition: transform .2s ease;
}

.rule-chapter[open] summary i { transform: rotate(45deg); }
.rule-chapter[open] summary { border-bottom: 1px solid rgba(255,255,255,.06); }

.rule-chapter__content { padding: 18px 24px 20px 86px; }

.rules-empty {
    padding: 26px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
}
.rules-empty strong { display: block; margin-bottom: 6px; font-family: 'Cinzel', Georgia, serif; }
.rules-empty p { margin: 0; color: #96a8b4; }

.rules-penalty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rules-penalty-grid article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 22px;
}

.rules-penalty-grid article:nth-child(4) {
    border-color: rgba(194, 75, 75, .28);
    background: linear-gradient(180deg, rgba(35, 13, 16, .72), rgba(5, 10, 17, .94));
}

.rules-accept-card {
    padding: 34px;
    border-radius: 28px;
    text-align: center;
}

.rules-accept-card h2 {
    margin: 12px auto 12px;
    max-width: 760px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.rules-accept-card p { max-width: 760px; margin-inline: auto; }

.rules-accept-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 1040px) {
    .rules-rmt-grid,
    .rules-layout { grid-template-columns: 1fr; }
    .rules-index { position: static; }
    .rules-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rules-penalty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .rules-highlights { grid-template-columns: 1fr; margin-top: -24px; }
    .rules-hero { min-height: 560px; }
    .rules-section { width: min(100% - 24px, 100%); }
    .rules-highlights { width: min(100% - 24px, 100%); }
    .rules-index nav { grid-template-columns: 1fr; }
    .rule-chapter__content { padding: 16px 18px 18px; }
}

@media (max-width: 620px) {
    .rules-hero__content { width: min(100% - 24px, 100%); padding: 62px 0 54px; }
    .rules-hero__actions,
    .rules-accept-card__actions { flex-direction: column; }
    .rules-hero__actions .button,
    .rules-accept-card__actions .button { width: 100%; }
    .rules-penalty-grid { grid-template-columns: 1fr; }
    .rule-chapter summary { grid-template-columns: 42px minmax(0, 1fr) 30px; padding: 15px; }
    .rule-chapter summary > span { width: 42px; height: 42px; }
    .rule-chapter summary small { display: none; }
}
\n\n/* ===== V8 • full-width Rules hero ===== */
.rules-page{overflow:clip}
.rules-hero{width:100vw;margin-left:calc(50% - 50vw);min-height:clamp(620px,68vh,780px);background-position:center center}
.rules-hero__content{width:min(1180px,calc(100% - 48px));padding:92px 0 86px}
@media(max-width:720px){.rules-hero{min-height:600px}.rules-hero__content{width:min(100% - 28px,1180px);padding:72px 0 62px}}
