.rrcf-map-rules-page{
    max-width:980px;
    margin:0 auto;
}
.rrcf-map-rules-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(120px,190px);
    gap:1.4rem;
    align-items:center;
    margin-bottom:1rem;
    padding:1.1rem 1.25rem;
    background:linear-gradient(145deg,#1e1d17,#15140f);
    border:1px solid var(--rrcf-border,#454323);
    border-radius:18px;
}
.rrcf-map-rules-head h1{margin:.15rem 0 .45rem}
.rrcf-map-rules-head p{margin:.2rem 0;color:var(--rrcf-text-muted,#c5baa2)}
.rrcf-map-rules-logo{
    width:min(100%,180px);
    height:auto;
    justify-self:end;
}
.rrcf-map-rules-scroll{
    position:relative;
    max-height:min(62vh,620px);
    overflow:auto;
    overscroll-behavior:contain;
    padding:1rem 1.15rem 2rem;
    background:var(--rrcf-surface,#1b1a15);
    border:1px solid var(--rrcf-border,#454323);
    border-radius:16px;
    scroll-behavior:smooth;
}
.rrcf-map-rules-scroll h2{
    margin:1.35rem 0 .45rem;
    color:var(--rrcf-text,#eee6d6);
}
.rrcf-map-rules-scroll h2:first-child{margin-top:.15rem}
.rrcf-map-rules-scroll p,
.rrcf-map-rules-scroll li{
    color:var(--rrcf-text-muted,#c5baa2);
    line-height:1.62;
}
.rrcf-map-rules-scroll strong{color:var(--rrcf-text,#eee6d6)}
.rrcf-map-rules-scroll a{color:#d98a45}
.rrcf-map-rules-sentinel{
    width:100%;
    height:2px;
    margin-top:.4rem;
}
.rrcf-map-rules-accept{
    position:sticky;
    bottom:0;
    z-index:3;
    margin-top:1rem;
    padding:1rem;
    background:rgba(17,17,14,.96);
    border:1px solid var(--rrcf-border,#454323);
    border-radius:14px;
    backdrop-filter:blur(6px);
}
.rrcf-map-rules-accept p{
    margin:.1rem 0 .7rem;
    color:var(--rrcf-text-muted,#c5baa2);
}
.rrcf-map-rules-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:.72rem 1.05rem;
    border:0;
    border-radius:999px;
    background:#c86b20;
    color:#fff!important;
    font:inherit;
    font-weight:850;
    text-decoration:none!important;
    cursor:pointer;
}
.rrcf-map-rules-button[disabled]{
    cursor:not-allowed;
    opacity:.38;
    filter:saturate(.3);
}
.rrcf-map-rules-cookie-note{
    margin:.8rem 0 0;
    font-size:.87rem;
}
.rrcf-map-rules-index{
    margin-top:1rem;
    padding:1rem;
    border:1px solid var(--rrcf-border,#454323);
    border-radius:14px;
    background:var(--rrcf-surface,#1b1a15);
}
.rrcf-map-rules-index h2{margin-top:0}
.rrcf-map-rules-index-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:.5rem;
}
.rrcf-map-rules-index-grid a{
    display:grid;
    gap:.15rem;
    padding:.65rem .7rem;
    border:1px solid var(--rrcf-border,#454323);
    border-radius:9px;
    background:var(--rrcf-surface-2,#242219);
    text-decoration:none!important;
}
.rrcf-map-rules-index-grid strong{color:var(--rrcf-text,#eee6d6)}
.rrcf-map-rules-index-grid span{font-size:.8rem;color:var(--rrcf-text-muted,#c5baa2)}
@media(max-width:650px){
    .rrcf-map-rules-head{grid-template-columns:1fr;text-align:left}
    .rrcf-map-rules-logo{width:125px;justify-self:center;order:-1}
    .rrcf-map-rules-scroll{max-height:58vh;padding:.85rem .9rem 1.8rem}
    .rrcf-map-rules-button{width:100%}
}
