:root {
    --topbar-height: 34px;
    --header-height: 104px;
    --rm-cream: #fbf4ea;
    --rm-cream-soft: #fffaf3;
    --rm-ink: #22170f;
    --rm-muted: #6d6258;
    --rm-gold: #c9934f;
    --rm-gold-deep: #9f6b2f;
    --rm-gold-soft: #f1dfbf;
    --rm-dark: #2b2b35;
    --rm-red: #ff4d61;
}

body {
    padding-top: calc(var(--topbar-height) + var(--header-height));
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background: #050505;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 3000;
}

.topbar-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 82px);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .55px;
    line-height: 1;
}

.topbar-wrap a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.topbar-wrap a:hover { color: #f3d39c; }

.mobile-menu-overlay,
.mobile-sidebar,
.mobile-sidebar.active,
.mobile-menu-btn {
    display: none !important;
}

.site-header.rm-main-header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2990;
    background:
        radial-gradient(circle at 16% 12%, rgba(226, 196, 141, .28), transparent 34%),
        linear-gradient(180deg, #fffaf3 0%, #f7efe2 100%);
    border-bottom: 1px solid rgba(190, 139, 71, .28);
    box-shadow: 0 14px 34px rgba(77, 43, 15, .10);
    backdrop-filter: blur(16px);
}

.site-header.rm-main-header.scrolled {
    top: var(--topbar-height);
    background:
        radial-gradient(circle at 16% 12%, rgba(226, 196, 141, .22), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 243, .98), rgba(247, 239, 226, .98));
    box-shadow: 0 16px 42px rgba(77, 43, 15, .13);
}

.rm-header-row {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr) minmax(160px, 260px);
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
}

.rm-header-brand-wrap { min-width: 0; }

.rm-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--rm-ink);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 0;
}

.rm-brand-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    display: block;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    filter: drop-shadow(0 10px 18px rgba(77, 43, 15, .11));
}

.rm-brand-name {
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(31px, 2.45vw, 46px);
    font-weight: 600;
    letter-spacing: .3px;
    color: #211810;
    line-height: .92;
    text-transform: none;
}

.rm-desktop-nav { min-width: 0; justify-self: center; width: 100%; }
.rm-desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.1vw, 40px);
    flex-wrap: nowrap;
}

.rm-desktop-nav li { position: relative; }

.rm-nav-link,
.rm-live-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px;
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2f293c;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(18px, 1.05vw, 22px);
    font-weight: 400;
    letter-spacing: .25px;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color .22s ease, transform .22s ease;
}

.rm-nav-link::after,
.rm-live-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--rm-gold-deep);
    transition: width .25s ease;
}

.rm-nav-link:hover,
.rm-nav-link.active,
.rm-live-btn:hover,
.rm-live-btn.active,
.rm-more-nav.active .rm-more-btn {
    color: var(--rm-gold-deep);
    transform: translateY(-1px);
}

.rm-nav-link:hover::after,
.rm-nav-link.active::after,
.rm-live-btn:hover::after,
.rm-live-btn.active::after,
.rm-more-nav.active .rm-more-btn::after {
    width: 100%;
}

.rm-more-btn i { font-size: 11px; margin-top: 2px; }
.rm-more-nav { padding: 31px 0; margin: -31px 0; }
.rm-more-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 258px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(202, 164, 105, .55);
    background: rgba(255, 252, 247, .98);
    box-shadow: 0 24px 58px rgba(55, 32, 13, .18);
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 3120;
}
.rm-more-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255, 252, 247, .98);
    border-left: 1px solid rgba(202, 164, 105, .55);
    border-top: 1px solid rgba(202, 164, 105, .55);
    transform: translateX(-50%) rotate(45deg);
}
.rm-more-nav:hover .rm-more-panel,
.rm-more-nav:focus-within .rm-more-panel,
.rm-more-nav.active .rm-more-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.rm-more-panel a {
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    color: #2f293c;
    text-decoration: none;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .18px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rm-more-panel a:hover,
.rm-more-panel a.active {
    background: #fff2dd;
    color: var(--rm-gold-deep);
    transform: translateX(3px);
}

.header-sip-count {
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    border-radius: 99px;
    background: #ffedf0;
    color: #d72b42;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    font-family: Arial, sans-serif;
}
.header-sip-count.is-zero { display: none; }

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rm-red);
    display: inline-block;
    flex: 0 0 auto;
    box-shadow: 0 0 0 0 rgba(255, 77, 97, .45);
    animation: rmLivePulse 1.2s ease-in-out infinite;
}
.live-dot-lg { width: 11px; height: 11px; }
@keyframes rmLivePulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 97, .45); }
    50% { opacity: .72; box-shadow: 0 0 0 8px rgba(255, 77, 97, 0); }
}

.has-live-dropdown { padding: 31px 0; margin: -31px 0; }
.live-mini-dropdown,
.rm-account-panel,
.mobile-live-dropdown {
    font-family: Montserrat, Arial, sans-serif;
}

.live-mini-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 304px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(219, 198, 164, .9);
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 52px rgba(44, 29, 13, .18);
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 3100;
}

.live-mini-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,.96);
    border-left: 1px solid rgba(219, 198, 164, .9);
    border-top: 1px solid rgba(219, 198, 164, .9);
    transform: translateX(-50%) rotate(45deg);
}

.has-live-dropdown.active .live-mini-dropdown,
.has-live-dropdown:hover .live-mini-dropdown,
.has-live-dropdown:focus-within .live-mini-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.live-mini-head,
.mobile-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}
.live-mini-title,
.mobile-live-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #202027;
    font-size: 15px;
    font-weight: 900;
}
.live-mini-status,
.mobile-live-status {
    min-height: 24px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e8f8ed;
    color: #209354;
    font-size: 10px;
    font-weight: 900;
}
.live-mini-list,
.mobile-live-list { display: grid; gap: 16px; }
.live-mini-row,
.mobile-live-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid #eadfce;
}
.live-mini-metal,
.mobile-live-metal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.live-mini-icon,
.mobile-live-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0e2c7;
    color: #6b4d24;
    flex: 0 0 auto;
}
.live-mini-name,
.mobile-live-metal span:last-child {
    display: grid;
    gap: 1px;
    color: #1e1e26;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .3px;
}
.live-mini-name small,
.mobile-live-metal small {
    display: block;
    color: #1e1e26;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px;
}
.live-mini-value-wrap,
.mobile-live-value-wrap { text-align: right; flex-shrink: 0; }
.live-mini-value-wrap strong,
.mobile-live-value-wrap strong {
    display: block;
    color: #171720;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.45px;
    font-variant-numeric: tabular-nums lining-nums;
}
.live-mini-value-wrap small,
.mobile-live-value-wrap small {
    color: #6f6a63;
    font-size: 10px;
    font-weight: 600;
}
.live-same-rate-alert {
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #ffb9b9;
    background: #fff1ef;
    color: #f00000;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    animation: rmSameRateBlink 1.05s ease-in-out infinite;
}

@keyframes rmSameRateBlink {
    0%, 100% {
        opacity: 1;
        filter: saturate(1);
    }
    50% {
        opacity: 0.42;
        filter: saturate(1.35);
    }
}
.live-mini-foot,
.mobile-live-foot { margin-top: 14px; }
.sip-book-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 13px;
    background: #2c2c38;
    color: #fff !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sip-book-btn:hover { background: #20202a; transform: translateY(-1px); box-shadow: 0 13px 25px rgba(32,32,42,.18); }

.rm-mobile-quick-nav { display: none; }

.rm-account-wrap { position: relative; display: flex; justify-content: flex-end; justify-self: end; }
.rm-account-btn {
    border: 1px solid rgba(199, 151, 77, .44);
    background: rgba(255,255,255,.74);
    color: #24190f;
    border-radius: 999px;
    min-height: 58px;
    padding: 8px 16px 8px 9px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(67, 39, 12, .10), inset 0 0 0 1px rgba(255,255,255,.54);
    font-family: "Times New Roman", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rm-account-btn:hover,
.rm-account-wrap.active .rm-account-btn {
    transform: translateY(-1px);
    border-color: #c9934f;
    background: #fffaf1;
    box-shadow: 0 18px 38px rgba(67, 39, 12, .15), inset 0 0 0 1px rgba(255,255,255,.7);
}
.rm-account-icon,
.header-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff1d4, #e8c98e);
    border: 1px solid rgba(171, 119, 48, .32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6d4816;
    overflow: hidden;
    flex: 0 0 auto;
}
.header-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-account-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: .18px; }
.rm-account-chev { font-size: 10px; color: #8b7965; }

.rm-account-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 320px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(207, 165, 100, .58);
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 26px 64px rgba(48, 28, 10, .20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 3110;
}
.rm-account-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 32px;
    width: 16px;
    height: 16px;
    background: rgba(255, 253, 248, .98);
    border-left: 1px solid rgba(207, 165, 100, .58);
    border-top: 1px solid rgba(207, 165, 100, .58);
    transform: rotate(45deg);
}
.rm-account-wrap.active .rm-account-panel,
.rm-account-wrap:hover .rm-account-panel,
.rm-account-wrap:focus-within .rm-account-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.rm-account-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff4df, #fffaf3);
    border: 1px solid #f0dec0;
}
.rm-account-head strong { display: block; color: #18151a; font-size: 16px; line-height: 1.2; font-family: "Times New Roman", Georgia, serif; }
.rm-account-head small { display: block; color: #7b7169; margin-top: 3px; font-size: 11px; font-family: Arial, sans-serif; }
.rm-account-panel a {
    min-height: 43px;
    padding: 10px 11px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #22170f;
    text-decoration: none;
    font-family: "Times New Roman", Georgia, serif;
    font-weight: 500;
    font-size: 16px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rm-account-panel a:hover { background: #fff4e1; color: #9a642a; transform: translateX(2px); }
.rm-account-panel a i { width: 18px; text-align: center; color: #9a642a; font-size: 14px; }
.rm-account-panel a span { flex: 1; }
.rm-account-panel a b {
    min-width: 20px;
    height: 20px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22222d;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
}
.rm-account-panel .rm-logout-link { color: #c62828; }
.rm-account-panel .rm-logout-link i { color: #c62828; }
.rm-account-guest { padding: 4px 4px 12px; }
.rm-account-guest strong { display: block; color: #18151a; font-size: 21px; margin-bottom: 6px; font-family: "Times New Roman", Georgia, serif; }
.rm-account-guest p { color: #71685f; font-size: 13px; line-height: 1.45; margin: 0; font-family: Arial, sans-serif; }
.rm-auth-action { justify-content: center; margin-top: 8px; border: 1px solid #ead9bd; }
.rm-auth-action.rm-auth-primary { background: #2c2c38; color: #fff; border-color: #2c2c38; }
.rm-auth-action.rm-auth-primary i { color: #fff; }
.rm-auth-action.rm-auth-primary:hover { background: #20202a; color: #fff; }

.mobile-live-dropdown { display: none; }

@media (max-width: 1450px) {
    .rm-header-row { grid-template-columns: minmax(190px, 270px) minmax(0, 1fr) minmax(135px, 220px); gap: 16px; }
    .rm-desktop-nav ul { gap: 18px; }
    .rm-nav-link, .rm-live-btn { font-size: 17px; }
    .rm-brand-logo { width: 74px; height: 74px; }
    .rm-brand-name { font-size: 34px; }
    .rm-account-label { display: none; }
    .rm-account-btn { padding-right: 12px; }
}

@media (max-width: 1180px) {
    :root { --header-height: 92px; }
    .rm-desktop-nav { display: none; }
    .rm-header-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
    .rm-mobile-quick-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        min-width: 0;
    }
    .rm-mobile-link {
        border: 0;
        background: transparent;
        padding: 0 0 6px;
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #2f293c;
        font-family: "Times New Roman", Georgia, serif;
        font-size: 15px;
        font-weight: 400;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }
    .rm-mobile-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background: var(--rm-gold);
        transition: width .22s ease;
    }
    .rm-mobile-link:hover::after,
    .rm-mobile-link.active::after { width: 100%; }
    .mobile-live-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 16px;
        width: min(304px, calc(100vw - 32px));
        padding: 16px 14px 14px;
        border-radius: 18px;
        border: 1px solid rgba(219, 198, 164, .9);
        background: rgba(255,255,255,.97);
        box-shadow: 0 22px 52px rgba(44, 29, 13, .18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        z-index: 3100;
    }
    .mobile-live-dropdown.active {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    :root { --topbar-height: 30px; --header-height: 78px; }
    .topbar-wrap { gap: 18px; overflow-x: auto; justify-content: flex-start; padding: 0 12px; font-size: 10px; scrollbar-width: none; }
    .topbar-wrap::-webkit-scrollbar { display: none; }
    .rm-header-row { grid-template-columns: auto 1fr auto; gap: 8px; width: min(98%, 1800px); }
    .rm-brand { gap: 8px; }
    .rm-brand-logo { width: 52px; height: 52px; }
    .rm-brand-name { font-size: 26px; }
    .rm-mobile-quick-nav { gap: 9px; justify-content: flex-end; overflow: visible; }
    .rm-mobile-link { font-size: 11px; letter-spacing: -.05px; }
    .live-dot { width: 8px; height: 8px; }
    .rm-account-btn { min-height: 46px; padding: 5px 9px 5px 6px; gap: 7px; }
    .rm-account-icon, .header-user-avatar { width: 34px; height: 34px; }
    .rm-account-chev { display: none; }
    .rm-account-panel { right: -4px; width: min(305px, calc(100vw - 20px)); }
}

@media (max-width: 480px) {
    .rm-brand-name { display: none; }
    .rm-brand-logo { width: 56px; height: 56px; }
    .rm-mobile-quick-nav { gap: 10px; }
    .rm-mobile-link:nth-child(3) { display: none; }
    .mobile-live-dropdown { right: 8px; width: calc(100vw - 16px); }
}

/* =========================
   FINAL HEADER MOBILE + ACCOUNT UPDATE
========================= */
.topbar {
    transition: transform .28s ease, opacity .22s ease;
}
.topbar.hide-topbar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.site-header.rm-main-header.scrolled {
    top: 0;
    border-bottom-color: rgba(199, 151, 77, .20);
}
.rm-brand-name {
    position: relative;
    padding-bottom: 4px;
    font-weight: 700;
    letter-spacing: .6px;
    background: linear-gradient(90deg, #2a1a0e 0%, #9b6428 48%, #2a1a0e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 18px rgba(154, 100, 40, .12);
}
.rm-brand-name::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 6px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,147,79,.7), transparent);
}
.rm-account-panel {
    background:
        radial-gradient(circle at top left, rgba(238, 203, 143, .24), transparent 42%),
        rgba(255, 252, 246, .99);
}
.rm-account-panel a {
    border: 1px solid transparent;
}
.rm-account-panel a:hover {
    border-color: rgba(201, 147, 79, .22);
    background: linear-gradient(135deg, #fff4e1, #fffaf3);
}
.rm-account-guest {
    padding: 10px 10px 15px;
    margin-bottom: 10px;
    border-radius: 18px;
    border: 1px solid #f1ddbc;
    background: linear-gradient(135deg, #fff8eb, #fffdf9);
}
.rm-account-guest strong {
    font-size: 24px;
    letter-spacing: .2px;
}
.rm-account-guest p {
    font-size: 13.5px;
    color: #5f544a;
}
.rm-auth-action {
    min-height: 48px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(47, 44, 58, .08);
}
.rm-auth-action.rm-auth-primary {
    background: linear-gradient(135deg, #2d2a38, #1f1d29);
}
.rm-auth-action:not(.rm-auth-primary) {
    background: #fff;
}
.rm-mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(199, 151, 77, .42);
    border-radius: 50%;
    background: rgba(255,255,255,.78);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 13px 26px rgba(67, 39, 12, .10);
}
.rm-mobile-menu-button span {
    width: 17px;
    height: 1.5px;
    border-radius: 99px;
    background: #6d4816;
    transition: .22s ease;
}
.rm-mobile-menu-button.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.rm-mobile-menu-button.active span:nth-child(2) { opacity: 0; }
.rm-mobile-menu-button.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 10, 4, .46);
    z-index: 3200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    backdrop-filter: blur(3px);
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.rm-mobile-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(355px, 88vw);
    height: 100vh;
    padding: 22px 18px;
    background:
        radial-gradient(circle at top left, rgba(232, 196, 132, .32), transparent 35%),
        linear-gradient(180deg, #fffaf2 0%, #f8ecda 100%);
    border-left: 1px solid rgba(201,147,79,.35);
    box-shadow: -24px 0 60px rgba(45, 26, 8, .22);
    z-index: 3210;
    transform: translateX(105%);
    transition: transform .28s ease;
    overflow-y: auto;
}
.rm-mobile-side-panel.active { transform: translateX(0); }
.rm-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 12px 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(201,147,79,.24);
}
.rm-mobile-panel-head strong {
    display: block;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 30px;
    color: #21170f;
    line-height: 1;
}
.rm-mobile-panel-head small {
    display: block;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #847365;
    text-transform: uppercase;
    letter-spacing: .9px;
}
.rm-mobile-panel-close {
    width: 40px;
    height: 40px;
    border: 1px solid #ecd9b9;
    border-radius: 50%;
    background: #fff;
    color: #7c511c;
    cursor: pointer;
}
.rm-mobile-panel-nav {
    display: grid;
    gap: 9px;
}
.rm-mobile-panel-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 15px;
    border: 1px solid rgba(235, 214, 181, .9);
    background: rgba(255,255,255,.62);
    color: #231810;
    text-decoration: none;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .25px;
}
.rm-mobile-panel-nav a.active,
.rm-mobile-panel-nav a:hover {
    background: #fff5e5;
    color: #9b6428;
    border-color: rgba(201,147,79,.38);
}
.rm-mobile-panel-nav a i {
    width: 19px;
    color: #9b6428;
    text-align: center;
}
.rm-mobile-panel-nav a span { flex: 1; }
.rm-mobile-panel-nav a b {
    min-width: 21px;
    height: 21px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2c2c38;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
}
.rm-mobile-panel-nav a b.is-zero { display: none; }
.rm-account-panel a b.is-zero { display: none; }

@media (max-width: 1180px) {
    .rm-header-row {
        grid-template-columns: minmax(112px, auto) minmax(0, 1fr) auto auto;
    }
    .rm-mobile-quick-nav {
        justify-self: center;
        justify-content: center;
        text-align: center;
    }
    .rm-mobile-menu-button {
        display: inline-flex;
        justify-self: end;
    }
    .rm-account-panel {
        display: none !important;
    }
    .rm-account-btn {
        cursor: pointer;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: calc(var(--topbar-height) + var(--header-height));
    }
    .topbar-wrap {
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    .topbar-wrap a {
        flex: 0 0 auto;
    }
    .rm-header-row {
        grid-template-columns: minmax(112px, auto) minmax(0, 1fr) 42px 42px;
        gap: 7px;
    }
    .rm-brand {
        gap: 7px;
        min-width: 0;
    }
    .rm-brand-logo {
        width: 48px;
        height: 48px;
    }
    .rm-brand-name {
        display: inline-block !important;
        font-size: 20px;
        max-width: 86px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: .15px;
    }
    .rm-mobile-quick-nav {
        gap: 9px;
        justify-self: center;
        justify-content: center;
    }
    .rm-mobile-link {
        font-size: 10.5px;
        letter-spacing: .15px;
    }
    .rm-account-wrap {
        justify-self: end;
    }
    .rm-account-btn {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 3px;
        justify-content: center;
    }
    .rm-account-icon,
    .header-user-avatar {
        width: 34px;
        height: 34px;
    }
    .rm-account-label,
    .rm-account-chev {
        display: none !important;
    }
    .rm-mobile-menu-button {
        width: 42px;
        height: 42px;
    }
    .mobile-live-dropdown {
        left: 8px;
        right: 8px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .rm-brand-name {
        display: inline-block !important;
        font-size: 18px;
        max-width: 76px;
    }
    .rm-brand-logo {
        width: 46px;
        height: 46px;
    }
    .rm-header-row {
        grid-template-columns: minmax(104px, auto) minmax(0, 1fr) 40px 40px;
        gap: 6px;
    }
    .rm-mobile-quick-nav {
        gap: 7px;
    }
    .rm-mobile-link {
        font-size: 9.5px;
    }
    .rm-account-btn,
    .rm-mobile-menu-button {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }
    .rm-account-icon,
    .header-user-avatar {
        width: 32px;
        height: 32px;
    }
}
.mobile-menu-overlay { display: block !important; }
.rm-mobile-side-panel { display: block !important; }
@media (max-width: 1180px) { .rm-mobile-menu-button { display: inline-flex !important; } }
