/* R2SM unified public site header — final large classic rebuild 2026-07-10
   One shared header for all actual public pages. Scoped classes only. */
html body .r2sm-unified-header{
    position:sticky;
    top:16px;
    z-index:9999;
    width:min(1260px,calc(100% - 48px));
    margin:16px auto 22px;
    box-sizing:border-box;
    font-family:Inter,Arial,Helvetica,sans-serif;
    color:#f7ead2;
    background:transparent;
}
html body .r2sm-unified-header,
html body .r2sm-unified-header *{box-sizing:border-box;}
html body .r2sm-unified-header__inner{
    min-height:78px;
    padding:10px 16px;
    border:1px solid rgba(218,166,70,.34);
    border-radius:24px;
    background:
        radial-gradient(circle at 18% 0%,rgba(218,166,70,.16),transparent 36%),
        linear-gradient(180deg,rgba(19,24,32,.92),rgba(6,9,14,.88));
    box-shadow:
        0 22px 58px rgba(0,0,0,.46),
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.40);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}
html body .r2sm-unified-header__brand{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:14px;
    min-width:max-content;
    color:#f7ecd8 !important;
    text-decoration:none !important;
    font-weight:900;
    letter-spacing:.2px;
    line-height:1;
}
html body .r2sm-unified-header__brand img{
    width:56px;
    height:56px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 14px 34px rgba(218,166,70,.22),0 0 0 1px rgba(218,166,70,.24);
    filter:none;
}
html body .r2sm-unified-header__brand span{
    font-size:24px;
    text-transform:none;
    text-shadow:0 2px 12px rgba(0,0,0,.55);
}
html body .r2sm-unified-header__brand b{color:#dba948;font-weight:900;}
html body .r2sm-unified-header__nav{
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:nowrap;
    min-width:0;
}
html body .r2sm-unified-header__nav a{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 13px;
    border-radius:15px;
    color:rgba(255,255,255,.91) !important;
    text-decoration:none !important;
    font-size:15px;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
    border:1px solid transparent;
    transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease,filter .16s ease,border-color .16s ease;
}
html body .r2sm-unified-header__nav a:hover,
html body .r2sm-unified-header__nav a:focus{
    color:#fff4cd !important;
    background:rgba(218,166,70,.11);
    border-color:rgba(218,166,70,.18);
    transform:translateY(-1px);
}
html body .r2sm-unified-header__nav .r2sm-unified-header__lk{
    flex:0 0 auto;
    min-width:164px;
    margin-left:14px;
    min-height:46px;
    padding:0 22px;
    border:1px solid #d7a648;
    border-radius:8px;
    background:
        radial-gradient(circle at 50% 8%,rgba(255,243,177,.82) 0%,rgba(255,243,177,0) 42%),
        linear-gradient(to bottom,#f6d27b 0%,#dca343 32%,#9c671d 66%,#68420e 100%);
    color:#211304 !important;
    font-family:Georgia,"Times New Roman",serif;
    font-size:15px;
    font-weight:800;
    letter-spacing:.01em;
    text-shadow:0 1px 0 rgba(255,235,165,.62),0 -1px 0 rgba(0,0,0,.36);
    box-shadow:inset 0 1px 0 rgba(255,236,155,.86),inset 0 -2px 0 rgba(57,31,5,.64),0 0 16px rgba(211,155,56,.34),0 5px 12px rgba(0,0,0,.46);
}
html body .r2sm-unified-header__nav .r2sm-unified-header__lk:hover,
html body .r2sm-unified-header__nav .r2sm-unified-header__lk:focus{
    color:#1b0f04 !important;
    background:
        radial-gradient(circle at 50% 8%,rgba(255,244,181,.94) 0%,rgba(255,244,181,0) 44%),
        linear-gradient(to bottom,#ffdb86 0%,#e4ac4c 32%,#ab7625 66%,#70470f 100%);
    filter:brightness(1.07) saturate(1.04);
    box-shadow:inset 0 1px 0 rgba(255,240,172,.92),inset 0 -2px 0 rgba(57,31,5,.64),0 0 24px rgba(232,179,72,.52),0 7px 16px rgba(0,0,0,.52);
}
@media(max-width:1120px){
    html body .r2sm-unified-header{width:min(100% - 32px,1260px);top:12px;margin-top:12px;margin-bottom:18px;}
    html body .r2sm-unified-header__inner{min-height:72px;padding:9px 12px;gap:14px;}
    html body .r2sm-unified-header__brand img{width:50px;height:50px;border-radius:15px;}
    html body .r2sm-unified-header__brand span{font-size:21px;}
    html body .r2sm-unified-header__nav{gap:4px;}
    html body .r2sm-unified-header__nav a{min-height:40px;padding:0 9px;font-size:13.5px;}
    html body .r2sm-unified-header__nav .r2sm-unified-header__lk{min-width:142px;margin-left:8px;padding:0 14px;font-size:13.5px;}
}
@media(max-width:880px){
    html body .r2sm-unified-header{position:relative;top:auto;width:min(100% - 22px,1260px);margin:10px auto 16px;}
    html body .r2sm-unified-header__inner{align-items:stretch;flex-direction:column;border-radius:20px;gap:10px;}
    html body .r2sm-unified-header__brand{justify-content:center;}
    html body .r2sm-unified-header__nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%;}
    html body .r2sm-unified-header__nav a{width:100%;min-height:40px;background:rgba(255,255,255,.04);}
    html body .r2sm-unified-header__nav .r2sm-unified-header__lk{grid-column:1 / -1;margin-left:0;min-width:0;}
}
@media(max-width:520px){
    html body .r2sm-unified-header{width:min(100% - 16px,1260px);}
    html body .r2sm-unified-header__brand{justify-content:flex-start;}
    html body .r2sm-unified-header__brand img{width:46px;height:46px;}
    html body .r2sm-unified-header__brand span{font-size:20px;}
    html body .r2sm-unified-header__nav{grid-template-columns:1fr 1fr;}
    html body .r2sm-unified-header__nav a{font-size:12.5px;padding:0 6px;}
}

/* R2SM GLOBAL HEADER RANKINGS V1 */
.r2sm-unified-header__nav a.is-active:not(.r2sm-unified-header__lk),
.r2sm-unified-header__nav a[aria-current="page"]:not(.r2sm-unified-header__lk) {
    color: #fff !important;
    border-color: rgba(240, 196, 103, .78) !important;
    background: linear-gradient(180deg, rgba(208, 148, 55, .24), rgba(101, 48, 21, .26)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 225, 155, .08), 0 8px 20px rgba(0, 0, 0, .18) !important;
}
.r2sm-unified-header__nav .r2sm-unified-header__lk.is-active,
.r2sm-unified-header__nav .r2sm-unified-header__lk[aria-current="page"] {
    filter: brightness(1.09);
}
