/* BloodMoon roleplay V2 — styles autonomes */
:root{
    --bg:#090c10;
    --panel:#10151b;
    --line:#393335;
    --text:#eee6e4;
    --muted:#aaa5a7;
    --red:#c43840
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth
}
body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Georgia,'Times New Roman',serif
}
a{
    color:inherit;
    text-decoration:none
}
button{
    font:inherit;
    cursor:pointer
}
.bm-header{
    height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:0 4%;
    background:#090b0feF;
    border-bottom:1px solid #665053;
    position:relative;
    z-index:5
}
.bm-logo{
    font-size:clamp(27px,2.5vw,42px);
    font-variant:small-caps;
    white-space:nowrap;
    color:#dd5558;
    letter-spacing:-1.3px;
    text-shadow:0 0 15px #6c0a11
}
.bm-logo span{
    color:#c12d37
}
.bm-nav,.bm-tools{
    display:flex;
    align-items:center;
    gap:clamp(12px,2vw,32px)
}
.bm-nav a,.bm-nav span,.bm-tools a,.bm-login{
    font-size:13px;
    letter-spacing:1.4px;
    white-space:nowrap
}
.bm-nav a,.bm-nav span{
    font-weight:700;
    text-shadow:0 1px 2px #000
}
.bm-nav a:hover,.bm-nav a.active,.bm-tools a:hover{
    color:#f06b70
}
.bm-nav a.active{
    padding:8px 0;
    border-bottom:1px solid #b5262e
}
.bm-nav span{
    opacity:.4;
    cursor:not-allowed
}
.bm-login{
    padding:10px 25px;
    border:1px solid var(--red);
    border-radius:3px;
    opacity:.65
}
.bm-menu-toggle{
    display:none
}
.bm-hero{
    min-height:450px;
    height:clamp(450px,32vw,650px);
    background:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 24%,rgba(0,0,0,.13) 56%,transparent 75%),url('/images/roleplay/hero-bloodmoon.png') center/cover no-repeat;
    position:relative;
    border-bottom:1px solid #4e4142
}
.bm-hero-content{
    position:relative;
    width:min(760px,65vw);
    margin-left:22%;
    padding-top:clamp(100px,7vw,145px);
    text-shadow:0 3px 16px #000
}
.bm-eyebrow{
    font-size:clamp(10px,.9vw,14px);
    letter-spacing:4px;
    color:#e4d5d4
}
.bm-hero h1{
    font-size:clamp(36px,3.4vw,64px);
    font-variant:small-caps;
    font-weight:normal;
    line-height:1.12;
    margin:17px 0 8px
}
.bm-hero p{
    font-size:12px;
    letter-spacing:3px;
    color:#e0d2d0
}
.bm-actions{
    display:flex;
    gap:16px;
    margin-top:31px
}
.bm-button{
    border:1px solid #9a7779;
    padding:15px 25px;
    min-width:190px;
    text-align:center;
    font-size:12px;
    letter-spacing:1.5px;
    background:#080c11bd
}
.bm-button.primary{
    border-color:#cf353a;
    background:#770b16ba
}
.bm-button:hover{
    filter:brightness(1.35)
}
.bm-languages{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:27px;
    padding:15px;
    background:#0b0f13;
    border-bottom:1px solid #342c30
}
.bm-languages a{
    font-size:12px;
    letter-spacing:2px;
    color:var(--muted);
    padding:5px
}
.bm-languages a.active,.bm-languages a:hover{
    color:#f0444a;
    border-bottom:1px solid #d12d37
}
.bm-stats{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
    padding:25px 4% 15px
}
.bm-stat{
    min-height:82px;
    border:1px solid #484044;
    background:linear-gradient(#171b20,#0d1115);
    padding:15px 19px;
    display:flex;
    flex-direction:column;
    gap:10px
}
.bm-stat span{
    font-size:11px;
    letter-spacing:1.5px;
    color:#bbb5b5
}
.bm-stat strong{
    font-size:27px;
    font-weight:normal
}
.bm-features{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:15px;
    padding:0 4% 30px
}
.bm-panel{
    background:linear-gradient(#11171c,#0b0e12);
    border:1px solid #58494a;
    overflow:hidden
}
.bm-panel h2{
    font-size:13px;
    font-weight:normal;
    letter-spacing:2px;
    margin:0;
    padding:14px 17px;
    border-bottom:1px solid #43393b
}
.bm-slide{
    height:310px;
    position:relative;
    background:#080909
}
.bm-slide img{
    width:100%;
    height:100%;
    object-fit:cover
}
.bm-slide button{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    border:0;
    background:#0b0e10ad;
    color:#fff;
    font-size:28px;
    padding:6px 13px
}
.bm-slide button:hover{
    background:#7d1523
}
.bm-slide #bm-prev{
    left:7px
}
.bm-slide #bm-next{
    right:7px
}
.bm-dots{
    display:flex;
    justify-content:center;
    gap:7px;
    padding:14px
}
.bm-dots button{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#666;
    border:0;
    padding:0
}
.bm-dots button.active{
    background:#dc3c47
}
.bm-video{
    position:relative;
    aspect-ratio:16/9;
    margin:15px 10px
}
.bm-video iframe{
    position:absolute;
    width:100%;
    height:100%;
    border:0
}
.bm-attack-list{
    padding:0 12px;
    max-height:350px;
    overflow:auto
}
.bm-attack{
    display:flex;
    gap:12px;
    padding:13px 3px;
    border-bottom:1px solid #302a2c;
    font-size:12px;
    line-height:1.4
}
.bm-attack a{
    color:#e8c1c2
}
.bm-attack a:hover{
    text-decoration:underline
}
.bm-attack small{
    display:block;
    color:#888;
    font-size:10px;
    margin-top:5px
}
.bm-swords{
    font-size:19px;
    color:#cc363b
}
.bm-intro{
    margin:0 4% 35px;
    padding-bottom:25px
}
.bm-intro p{
    padding:0 18px;
    color:#bcb6b7
}
.bm-footer{
    text-align:center;
    padding:20px;
    color:#979093;
    border-top:1px solid #2a2428;
    font-size:12px
}
.bm-cookie{
    position:fixed;
    bottom:12px;
    left:12px;
    right:12px;
    z-index:15;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    background:#10151cf2;
    border:1px solid #8a4045;
    border-radius:8px;
    padding:16px;
    box-shadow:0 8px 30px #000c;
    font:13px Arial,sans-serif
}
.bm-cookie button,.bm-modal-actions button,.bm-modal-actions a{
    background:#7e1520;
    color:#fff;
    border:1px solid #c43c45;
    padding:10px 15px;
    font-size:12px
}
.bm-cookie button:last-child{
    background:#25272a;
    border-color:#777
}
.bm-cookie[hidden],.bm-modal[hidden]{
    display:none!important
}
.bm-modal{
    position:fixed;
    inset:0;
    background:#000b;
    z-index:20;
    display:grid;
    place-items:center;
    padding:20px
}
.bm-modal-box{
    max-width:540px;
    width:100%;
    padding:30px;
    background:#14171b;
    border:1px solid #bd333e;
    box-shadow:0 20px 70px #000;
    color:#ece4e2
}
.bm-modal-box h2{
    color:#d4464e
}
.bm-modal-box p{
    line-height:1.6
}
.bm-modal-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:25px
}
@media(max-width:1250px){
    .bm-tools a{
        display:none
    }
    .bm-nav{
        gap:13px
    }
    .bm-header{
        padding:0 2%
    }
    .bm-features{
        grid-template-columns:1.6fr 1fr
    }
    .bm-attacks{
        grid-column:1/-1
    }
}
@media(max-width:850px){
    .bm-header{
        height:65px;
        padding:0 20px
    }
    .bm-menu-toggle{
        display:block;
        margin-left:auto;
        border:0;
        background:none;
        color:#fff;
        font-size:25px
    }
    .bm-tools{
        display:none
    }
    .bm-nav{
        display:none;
        position:absolute;
        top:65px;
        left:0;
        right:0;
        background:#0b0e13;
        padding:20px;
        flex-direction:column;
        align-items:stretch;
        border-bottom:1px solid #6a3034
    }
    .bm-nav.open{
        display:flex
    }
    .bm-hero{
        height:500px;
        background-position:56% center
    }
    .bm-hero-content{
        margin:0 auto;
        width:90%;
        padding-top:135px;
        text-align:center
    }
    .bm-hero h1{
        font-size:clamp(30px,7vw,49px)
    }
    .bm-eyebrow{
        letter-spacing:2px
    }
    .bm-actions{
        justify-content:center;
        flex-wrap:wrap
    }
    .bm-stats{
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .bm-features{
        grid-template-columns:1fr
    }
    .bm-attacks{
        grid-column:auto
    }
}
@media(max-width:480px){
    .bm-stats{
        grid-template-columns:1fr
    }
    .bm-actions a{
        width:100%
    }
    .bm-languages{
        gap:12px
    }
    .bm-slide{
        height:230px
    }
}

/* ==========================================================
   V3 — HOME LAYOUT WITHOUT CAROUSEL
   ========================================================== */

.bm-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 5px 4% 22px;
}

.bm-searches form {
    display: flex;
    flex: 1 1 320px;
    align-items: center;
    gap: 10px;
}

.bm-searches label {
    color: #c8bfc0;
    font-size: 13px;
    white-space: nowrap;
}

.bm-searches input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    color: white;
    background: #131820;
    border: 1px solid #514348;
    border-radius: 3px;
}

.bm-searches button {
    padding: 12px 20px;
    color: white;
    background: #6e1520;
    border: 1px solid #bb333c;
    border-radius: 3px;
}

.bm-features {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
    align-items: start;
}

.bm-video {
    width: calc(100% - 30px);
    margin: 15px;
    aspect-ratio: 16 / 9;
}

.bm-attack-list {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #a32c36 #14171b;
}

.bm-attack-list::-webkit-scrollbar {
    width: 9px;
}

.bm-attack-list::-webkit-scrollbar-track {
    background: #14171b;
}

.bm-attack-list::-webkit-scrollbar-thumb {
    background: #8c2832;
    border-radius: 5px;
}

.bm-attacks-hint {
    display: block;
    margin-top: 6px;
    color: #a89a9c;
    font-size: 10px;
    letter-spacing: .3px;
    font-weight: normal;
}

.bm-attack-mark {
    font-size: 20px;
    line-height: 1;
    flex: none;
}

.bm-intro-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 28px 26px;
    line-height: 1.8;
    color: #d6ccca;
    font-size: 15px;
}

.bm-intro-content p {
    margin: 0 0 15px;
}

.bm-intro-content .bm-signature {
    margin-top: 22px;
    text-align: right;
    font-style: italic;
    color: #b6a7a5;
}

/* Original BloodMoon ambience stream and controls */

#bloodmoon-audio-player {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(15, 15, 15, .65);
    border: 1px solid rgba(140, 0, 0, .85);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(120, 0, 0, .35);
    backdrop-filter: blur(4px);
}

#bloodmoon-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #f2f2f2;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(130, 0, 0, .75);
    border-radius: 8px;
}

#bloodmoon-toggle-btn:hover {
    background: rgba(80, 0, 0, .55);
}

#bloodmoon-volume {
    width: 90px;
    accent-color: #8b0000;
}

@media (max-width: 1050px) {
    .bm-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .bm-searches form {
        flex-wrap: wrap;
    }

    .bm-searches label {
        width: 100%;
    }

    .bm-intro-content {
        padding: 16px;
    }

    #bloodmoon-volume {
        width: 70px;
    }
}

/* ==========================================================
   V9 — Authentification et menu joueur, style BloodMoon
   ========================================================== */

.bm-login {
    display: inline-block;
    color: #f1dadd;
    background: #2b0d15;
    cursor: pointer;
    font-family: inherit;
}

.bm-login:hover {
    background: #7f1725;
    border-color: #e14b57;
}

.bm-account {
    position: relative;
}

.bm-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    min-width: 185px;
    padding: 7px;
    background: #14171c;
    border: 1px solid #983540;
    border-radius: 6px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .65);
}

.bm-account-menu[hidden] {
    display: none;
}

.bm-account-menu a {
    display: block !important;
    padding: 11px 12px;
    color: #e8dcde;
    font-size: 12px;
    white-space: nowrap;
    letter-spacing: .5px;
}

.bm-account-menu a:hover {
    color: white;
    background: #63202d;
}

.bm-login-dialog {
    width: min(420px, calc(100% - 32px));
    padding: 25px;
    color: #e8dddd;
    background: #11151b;
    border: 1px solid #b63b46;
    border-radius: 9px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
}

.bm-login-dialog::backdrop {
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(4px);
}

.bm-login-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bm-login-dialog-header h2 {
    margin: 0;
    color: #e5bfc2;
    font-size: 22px;
}

.bm-login-dialog-header button {
    color: white;
    background: none;
    border: none;
    font-size: 20px;
}

.bm-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-login-form label {
    font-size: 13px;
}

.bm-login-form input {
    padding: 12px;
    color: white;
    background: #080b10;
    border: 1px solid #865660;
    border-radius: 4px;
    font-size: 15px;
}

.bm-login-form input:focus {
    outline: 2px solid #d84854;
}

.bm-login-form .h-captcha {
    min-height: 78px;
    margin-top: 10px;
}

.bm-login-form button[type="submit"] {
    padding: 12px;
    color: white;
    background: #911c2a;
    border: 1px solid #d24e59;
    border-radius: 4px;
}

@media (max-width: 850px) {
    .bm-tools {
        display: flex;
        margin-left: 0;
    }

    .bm-tools > a {
        display: none;
    }

    .bm-menu-toggle {
        margin-left: auto;
    }

    .bm-login {
        padding: 9px 12px;
        font-size: 11px;
    }
}

/* V10 — connexion dédiée sans hCaptcha */

.bm-login-dialog {
    max-width: 400px;
}

.bm-login-dialog .bm-login-form {
    gap: 12px;
}

.bm-login-error {
    padding: 11px 13px;
    color: #ffd9d9;
    background: #531622;
    border: 1px solid #ca4855;
    border-radius: 5px;
    font: 13px Arial, sans-serif;
}

.bm-account-menu form {
    margin: 0;
}

.bm-account-logout {
    display: block;
    width: 100%;
    padding: 11px 12px;
    color: #e8dcde;
    text-align: left;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.bm-account-logout:hover {
    color: white;
    background: #63202d;
}

/* ==========================================================
   V11 — contraste renforcé du menu de connexion
   ========================================================== */

.bm-tools > a {
    color: #f1e7e7;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-shadow: 0 1px 2px #000;
}

.bm-tools > a:hover {
    color: #ff939c;
}

.bm-login,
.bm-account .bm-login {
    opacity: 1;
    min-height: 43px;
    padding: 11px 21px;
    color: #ffffff;
    background: linear-gradient(180deg, #8f2531 0%, #64121e 100%);
    border: 1px solid #ed6c78;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(200, 40, 55, .25);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .8px;
    text-shadow: 0 1px 2px #29070a;
    white-space: nowrap;
}

.bm-login:hover,
.bm-account .bm-login:hover,
.bm-login:focus-visible {
    color: white;
    background: linear-gradient(180deg, #b93b49, #811d2a);
    border-color: #ffc1c8;
    box-shadow: 0 0 18px rgba(218, 56, 70, .45);
}

.bm-account-menu {
    background: #1c1a20;
    border-color: #c65562;
}

.bm-account-menu a,
.bm-account-logout {
    color: #ffffff;
    font-size: 13px;
}

@media (max-width: 850px) {
    .bm-login,
    .bm-account .bm-login {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 12px;
    }
}

/* V7 — vidéo qui remplit son panneau, attaques plus larges */

@media (min-width: 1051px) {
    .bm-features {
        grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
        align-items: stretch;
    }

    .bm-trailer {
        display: flex;
        flex-direction: column;
        min-height: 425px;
    }

    .bm-trailer .bm-video {
        flex: 1;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        margin: 0;
        aspect-ratio: auto;
    }

    .bm-trailer .bm-video iframe {
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================
   V8 — recherches plus visibles et emblèmes selon la race
   ========================================================== */

.bm-searches {
    gap: 18px;
    margin: 5px 4% 24px;
    padding: 0;
}

.bm-searches form {
    padding: 15px 17px;
    background: linear-gradient(135deg, #1b151b, #10151b);
    border: 1px solid #8f3842;
    border-radius: 7px;
    box-shadow: 0 0 16px rgba(125, 18, 29, .18);
}

.bm-searches label {
    color: #f1d9d9;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .5px;
}

.bm-searches input {
    padding: 13px 14px;
    background: #080b11;
    border: 1px solid #94636b;
    border-radius: 5px;
    font-size: 14px;
}

.bm-searches input:focus {
    outline: 2px solid #cc4b57;
    outline-offset: 1px;
}

.bm-searches button {
    background: #961824;
    border-color: #e45b62;
    font-size: 13px;
    font-weight: bold;
    transition: background .2s ease;
}

.bm-searches button:hover {
    background: #bb2633;
}

.bm-attack-mark {
    display: inline-flex;
    flex: none;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 30px;
    color: #adadad;
}

.bm-attack-mark svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bm-attack-mark.race-human {
    color: #d3d7df;
}

.bm-attack-mark.race-vampire {
    color: #d84b51;
}

.bm-attack-mark.race-lycan {
    color: #df8c36;
}

.bm-attack-mark.race-hybrid {
    color: #b16ce0;
}

@media (max-width: 600px) {
    .bm-searches {
        margin-left: 4%;
        margin-right: 4%;
    }

    .bm-searches form {
        padding: 13px;
    }
}

/* ==========================================================
   V14 — NAVIGATION COMMUNE
   Menus STATS et PLUS, sans changer la position du header.
   ========================================================== */

.bm-nav-dropdown {
    position: relative;
    flex-shrink: 0;
}

.bm-nav-dropdown > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    color: #eee6e4;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    white-space: nowrap;
    user-select: none;
}

.bm-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.bm-nav-dropdown > summary:hover,
.bm-nav-dropdown[open] > summary {
    color: #ff8993;
}

.bm-nav-dropdown > summary:focus-visible {
    outline: 2px solid #ec7480;
    outline-offset: 5px;
    border-radius: 2px;
}

.bm-nav .bm-nav-caret,
.bm-tools .bm-nav-caret {
    opacity: 1;
    color: #e0747d;
    font-size: 15px;
    cursor: inherit;
}

.bm-nav-dropdown[open] .bm-nav-caret {
    transform: rotate(180deg);
}

.bm-nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    z-index: 90;
    padding: 17px;
    background: #17181f;
    border: 1px solid #9b4855;
    border-radius: 7px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

.bm-stats-panel {
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    width: 390px;
    transform: translateX(-50%);
}

.bm-stats-menu-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bm-stats-menu-group strong {
    padding-bottom: 5px;
    color: #f4b3ba;
    border-bottom: 1px solid #4a3039;
    font: 700 13px Georgia, 'Times New Roman', serif;
    letter-spacing: 0.3px;
}

.bm-stats-menu-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bm-stats-menu-links a,
.bm-more-panel a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    color: #f2e4e6;
    background: #241d25;
    border: 1px solid #57404b;
    border-radius: 4px;
    font: 600 12px Georgia, 'Times New Roman', serif;
    letter-spacing: 0.2px;
    white-space: normal;
}

.bm-stats-menu-links a:hover,
.bm-more-panel a:hover {
    color: #fff;
    background: #862636;
    border-color: #dd6b79;
}

.bm-more-dropdown > summary {
    color: #e9dbdd;
    font-size: 12px;
    letter-spacing: 1px;
}

.bm-more-panel {
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 190px;
    padding: 12px;
}

.bm-more-panel a {
    display: block;
}

.bm-nav-mobile-extras {
    display: none;
}

@media (min-width: 1251px) {
    .bm-header {
        gap: clamp(12px, 1.4vw, 24px);
        padding: 0 clamp(15px, 2.4vw, 44px);
    }

    .bm-nav,
    .bm-tools {
        gap: clamp(10px, 1.35vw, 23px);
    }
}

/* Sous 1250px : menu principal replié, accès conservé sur mobile. */
@media (max-width: 1250px) {
    .bm-header {
        height: 65px;
        padding: 0 18px;
    }

    .bm-menu-toggle {
        display: block;
        margin-left: auto;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 25px;
    }

    .bm-nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 65px);
        padding: 18px 20px;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        background: #11141b;
        border-bottom: 1px solid #914451;
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
    }

    .bm-nav.open {
        display: flex;
    }

    .bm-nav > a,
    .bm-nav > span,
    .bm-nav-dropdown > summary {
        display: flex;
        width: 100%;
        padding: 12px 10px;
    }

    .bm-nav-panel {
        position: static;
        width: 100%;
        margin: 5px 0 11px;
        transform: none;
        box-shadow: none;
    }

    .bm-stats-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bm-nav-mobile-extras {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid #51333b;
    }

    .bm-nav-mobile-extras a {
        display: block;
        padding: 10px;
        color: #f0dcdf;
        background: #271b22;
        border-radius: 4px;
        font-size: 12px;
    }

    .bm-tools {
        display: flex;
        margin-left: 0;
    }

    .bm-tools > a,
    .bm-tools > .bm-more-dropdown {
        display: none;
    }
}

@media (max-width: 600px) {
    .bm-stats-panel {
        grid-template-columns: 1fr;
    }

    .bm-header {
        gap: 9px;
        padding: 0 10px;
    }

    .bm-logo {
        font-size: 26px;
    }

    .bm-account .bm-login,
    .bm-login {
        padding: 9px 10px;
        font-size: 11px;
    }
}
