/* Shell redesign — sportbet-2bju / u4ai visual port (WIN BOOM chrome only) */

:root {
    --shell_dock_height: 84px;
    /* Clearance every mobile page must keep below content so the dock never covers it */
    --shell_bottom_space: calc(var(--shell_dock_height) + 28px + env(safe-area-inset-bottom, 0px));
}

/* --- Desktop: hide left under_menu rail; full-bleed content --- */
@media (min-width: 1001px) {
    .under_menu,
    .under_space {
        display: none !important;
    }
}

/* Always pinned (like win-boom.com) — fixed, not sticky: ancestors use overflow-x */
.head_line {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--shell_header_height, 56px);
    margin: 0 !important;
    z-index: 99990 !important;
    background: var(--shell_header_bg, #121214);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

/* Offset content under fixed header */
.under_body > .page {
    padding-top: var(--shell_header_height, 56px) !important;
    box-sizing: border-box;
}

.under_menu_head {
    background: var(--shell_header_bg, #121214);
}

.menu {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0 20px;
    gap: 12px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.shell_header_left {
    display: none;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.shell_mobile_login {
    display: none;
}

/* Theme-colored login in mobile header (overrides .menu_btn_auth transparent) */
.head_line .shell_header_left a.shell_mobile_login.menu_btn_auth,
.head_line .shell_header_left .shell_mobile_login {
    background: var(--main_color, #f6b007) !important;
    background-image: none !important;
    color: #000 !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.head_line .shell_header_left a.shell_mobile_login.menu_btn_auth:hover,
.head_line .shell_header_left .shell_mobile_login:hover {
    background: var(--main_color, #f6b007) !important;
    color: #000 !important;
    filter: brightness(1.06);
}

.shell_desktop_auth {
    display: inline-flex;
}

.menu .logo {
    grid-column: 1;
    justify-self: start;
    margin-left: 0 !important;
    padding-right: 0;
    flex-shrink: 0;
    z-index: 2;
}

.menu .logo img {
    height: 30px;
    width: auto;
}

/* Centered nav — balances sparse 3-item menu */
.shell_nav {
    display: none;
    grid-column: 2;
    justify-self: center;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 0;
    z-index: 1;
}

.shell_nav a,
.menu .shell_nav a {
    color: var(--shell_nav_color, #c5c6cc);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    margin: 0;
}

.shell_nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.shell_nav a.is-active,
.menu .shell_nav a.is-active {
    color: var(--shell_nav_active, #f6b007);
}

.shell_utils {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 0;
    z-index: 2;
}

.shell_utils .space {
    display: none;
}

.shell_icon_btn {
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #c5c6cc;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: color 0.2s, background 0.2s;
}

.shell_icon_btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.shell_icon_btn svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.shell_clock {
    display: none;
    align-items: center;
    color: #e8e8ea;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* Auth buttons — desktop: text login, yellow reg */
.head_line .menu_btn_auth:not(.shell_mobile_login) {
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: none !important;
    font-size: 14px;
    font-weight: 600;
    color: #e8e8ea !important;
    background: transparent !important;
}

.head_line .menu_btn_auth:not(.shell_mobile_login):hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.head_line .menu_btn_reg {
    height: 36px;
    margin-left: 0 !important;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

/* Independent shell dropdowns (no conflict with .dropdown / .dropdown-lang) */
.head_line .shell_dd {
    position: relative;
    display: none;
    align-items: center;
    margin: 0;
    height: auto;
}

.head_line .shell_dd_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    color: #e8e8ea;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1;
    user-select: none;
    transition: background 0.2s, color 0.2s;
}

.head_line .shell_dd_btn:hover,
.head_line .shell_dd.is-open .shell_dd_btn {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.shell_tz_icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.shell_chevron {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    flex-shrink: 0;
}

.head_line .shell_lang_btn {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.head_line .shell_dd_menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 10050;
    min-width: 180px;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    background: #1c1c20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Invisible bridge so cursor can move into menu */
.head_line .shell_dd_menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.head_line .shell_dd.is-open .shell_dd_menu,
.head_line .shell_dd:hover .shell_dd_menu {
    display: block;
}

.head_line .shell_dd_item {
    display: block;
    padding: 10px 12px;
    color: #e8e8ea !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.head_line .shell_dd_item:hover,
.head_line .shell_dd_item.is-active {
    background: rgba(246, 176, 7, 0.12);
    color: #fff !important;
}

.head_line .shell_dd_lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.head_line .shell_dd_lang img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

/* Pill balance */
.head_line .menu_balance.shell_balance_pill {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-right: 0;
    padding: 6px 12px;
    background: var(--shell_pill_bg, #1c1c20);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.head_line .menu_balance.shell_balance_pill > div:first-child {
    display: none;
}

.head_line .menu_balance.shell_balance_pill > div:last-child {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    justify-content: flex-start;
}

.head_line .menu_balance.shell_balance_pill > div:last-child > div:last-child {
    margin-left: 0;
    color: var(--shell_nav_color, #c5c6cc);
    font-size: 12px;
}

.head_line .user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.head_line .shell_deposit_btn {
    height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #000 !important;
    background: var(--main_color, #f6b007);
    white-space: nowrap;
}

.head_line .shell_deposit_btn:hover {
    filter: brightness(1.05);
}

.head_line .shell_mobile_balance {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    color: #fff;
    /* Scales down on narrow phones, where the grid track leaves under 90px */
    font-size: clamp(15px, 4.4vw, 17px);
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.head_line .shell_mobile_balance:hover {
    color: #fff;
    text-decoration: none;
}

/* No frame around the number, so the press feedback is the only affordance */
.head_line .shell_mobile_balance:active {
    opacity: 0.6;
}

.head_line .shell_mobile_balance .upd_balance {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.head_line .shell_mobile_balance .upd_symbol {
    /* Currency must survive truncation, so only the number may shrink */
    flex: 0 0 auto;
    color: #9a9ca3;
    font-size: 13px;
    font-weight: 600;
}

.shell_head_spacer {
    height: 0;
}

.content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.page-sport,
main.page-sport {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100vh - var(--shell_header_height, 56px));
}

.page {
    margin: 0;
    padding: 0;
}

.under_body .page > .content {
    margin: 0 !important;
    padding: 0 !important;
}

.footer {
    background: var(--footer_bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer .wrap_content {
    max-width: var(--main_width);
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
}

.footer_head {
    color: var(--shell_nav_color, #c5c6cc);
}

.under {
    background: var(--body_bg);
}

@media (min-width: 1001px) {
    .shell_nav {
        display: flex;
    }

    .shell_clock {
        display: inline-flex;
    }

    .shell_utils .shell_icon_btn.shell_settings_btn {
        display: inline-flex;
    }

    .head_line .shell_tz_dropdown,
    .head_line .shell_lang_dropdown {
        display: inline-flex;
    }

    .shell_header_left,
    .shell_mobile_login,
    .shell_mobile_user {
        display: none !important;
    }

    .shell_desktop_auth {
        display: inline-flex !important;
    }
}

@media (max-width: 1000px) {
    /* Source mobile header: [Login yellow] [Logo] [Lang] */
    :root {
        --shell_header_height: 52px;
    }

    .head_line {
        height: var(--shell_header_height, 52px);
        background: #0d0d0f !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .head_line .menu.shell_menu {
        display: grid !important;
        grid-template-columns: minmax(78px, 1fr) auto minmax(78px, 1fr);
        align-items: center;
        padding: 0 12px !important;
        gap: 8px;
    }

    .shell_header_left {
        display: flex !important;
        grid-column: 1;
        justify-self: start;
        z-index: 2;
    }

    .menu .logo {
        grid-column: 2;
        justify-self: center;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1;
    }

    .shell_nav {
        display: none !important;
    }

    .shell_utils {
        grid-column: 3;
        justify-self: end;
        margin-left: 0 !important;
        gap: 0 !important;
        z-index: 2;
    }

    .shell_desktop_auth,
    .shell_clock,
    .shell_settings_btn,
    .shell_tz_dropdown,
    .head_line .shell_deposit_btn,
    .head_line .menu_btn_reg,
    .shell_utils .user {
        display: none !important;
    }

    .head_line a.shell_mobile_login.menu_btn_auth,
    .head_line .shell_mobile_login {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 34px !important;
        min-width: 68px;
        padding: 0 16px !important;
        border-radius: 10px !important;
        background: var(--main_color, #f6b007) !important;
        color: #000 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border: 0 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        white-space: nowrap;
        line-height: 1 !important;
    }

    .head_line a.shell_mobile_login.menu_btn_auth:hover,
    .head_line .shell_mobile_login:hover {
        filter: brightness(1.05);
        color: #000 !important;
        background: var(--main_color, #f6b007) !important;
    }

    .shell_mobile_user {
        display: flex !important;
        /* Grid track has a fixed 78px min, so the balance must be able to shrink and ellipsis */
        min-width: 0;
        max-width: 100%;
        /* Pulls the number off the screen edge; shrinks first when the track gets tight */
        padding-left: clamp(2px, 2.6vw, 10px);
        box-sizing: border-box;
    }

    .head_line .shell_lang_dropdown {
        display: inline-flex !important;
    }

    .head_line .shell_lang_btn {
        color: #fff !important;
        background: transparent !important;
        padding: 0 4px !important;
        height: 34px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .menu .logo img {
        height: 24px;
    }

    .head_line .shell_dd_btn {
        height: 32px;
        font-size: 13px;
    }

    /* Prevent sideways shift from side-rail leftovers / overflow */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .under,
    .under_body,
    .page,
    .content,
    .page-sport {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .under {
        display: block !important;
    }

    .under_menu,
    .under_space {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .under_body {
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    /* Hide legacy flat bottom menus — dock replaces them */
    .foot_menu {
        display: none !important;
    }

    .__jivoMobileButton {
        bottom: calc(var(--shell_bottom_space) + 8px) !important;
    }

    .footer {
        padding-bottom: var(--shell_bottom_space) !important;
    }

    .page {
        padding-bottom: var(--shell_bottom_space) !important;
    }

    /* Floating widgets must sit above the dock, not on top of the content */
    #lhc_container_v2 #lhc_status_widget_v2 {
        bottom: calc(var(--shell_bottom_space) + 8px) !important;
    }

    #lhc_needhelp_widget_v2 {
        bottom: calc(var(--shell_bottom_space) + 60px) !important;
    }

    .foot_menu_cupon {
        bottom: calc(var(--shell_bottom_space) + 8px);
    }

    /* No betting slip inside the profile — it only covers forms there */
    body:has(.shell_profile_nav) .foot_menu_cupon {
        display: none !important;
    }
}

/* ========== Mobile bottom dock (source-like floating pill + raised FAB) ========== */
.shell_dock {
    display: none;
}

@media (max-width: 1000px) {
    .shell_dock {
        display: block;
        position: fixed;
        left: 50%;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: min(420px, calc(100% - 35px));
        height: 84px;
        margin: 0;
        padding: 0;
        transform: translateX(-50%);
        z-index: 99991;
        pointer-events: none;
        box-sizing: border-box;
        overflow: visible;
    }

    .shell_dock_bar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0 16px;
        box-sizing: border-box;
        pointer-events: auto;
        background: rgba(28, 28, 32, 0.78);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 32px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
        -webkit-backdrop-filter: blur(22px) saturate(1.35);
        backdrop-filter: blur(22px) saturate(1.35);
    }

    /* Raised center bump under the FAB (same glass as bar) */
    .shell_dock_bar::before {
        content: '';
        position: absolute;
        left: 50%;
        top: -26px;
        width: 82px;
        height: 82px;
        margin-left: -41px;
        border-radius: 50%;
        background: rgba(28, 28, 32, 0.78);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom-color: transparent;
        -webkit-backdrop-filter: blur(22px) saturate(1.35);
        backdrop-filter: blur(22px) saturate(1.35);
        z-index: 0;
        pointer-events: none;
    }

    .shell_dock_bar::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        width: 96px;
        height: 36px;
        margin-left: -48px;
        background: rgba(28, 28, 32, 0.78);
        -webkit-backdrop-filter: blur(22px) saturate(1.35);
        backdrop-filter: blur(22px) saturate(1.35);
        z-index: 1;
        pointer-events: none;
    }

    .shell_dock_btn {
        position: relative;
        z-index: 2;
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        margin: 0;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid transparent;
        border-radius: 50%;
        background: rgba(38, 38, 44, 0.72);
        color: #c2c4cb;
        text-decoration: none;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        box-shadow: none;
        box-sizing: border-box;
        transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    }

    .shell_dock_btn.is-active {
        color: var(--main_color, #f6b007);
        border-color: var(--main_color, #f6b007);
        background: rgba(18, 18, 20, 0.65);
    }

    .shell_dock_btn svg {
        display: block;
        width: 26px;
        height: 26px;
    }

    .shell_dock_fab {
        position: relative;
        z-index: 3;
        flex: 0 0 66px;
        width: 66px;
        height: 66px;
        margin: -30px 0 0;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--main_color, #f6b007);
        color: #111;
        border: 1px solid rgba(0, 0, 0, 0.18);
        text-decoration: none;
        box-shadow: 0 6px 18px rgba(246, 176, 7, 0.38);
        box-sizing: border-box;
    }

    .shell_dock_fab svg {
        display: block;
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 1001px) {
    .shell_dock {
        display: none !important;
    }
}

/* ========== News / Promos page ========== */
.content.shell_news_page {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 28px 20px 48px !important;
    box-sizing: border-box;
}

.shell_news_head {
    margin-bottom: 22px;
}

.shell_news_head h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.shell_news_sub {
    margin: 0;
    color: #9a9ca3;
    font-size: 14px;
    line-height: 1.4;
}

.shell_news_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.shell_news_card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shell_news_card:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 176, 7, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    color: inherit;
}

.shell_news_card_media {
    width: 100%;
    height: 160px;
    background: #1c1c20 center / cover no-repeat;
}

.shell_news_card_body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    flex: 1;
}

.shell_news_card_title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.shell_news_card_excerpt {
    color: #a0a2a9;
    font-size: 13px;
    line-height: 1.45;
    flex: 1;
}

.shell_news_card_more {
    margin-top: 4px;
    color: var(--main_color, #f6b007);
    font-size: 13px;
    font-weight: 600;
}

.shell_news_empty {
    padding: 28px 20px;
    border-radius: 14px;
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #a0a2a9;
    text-align: center;
}

.shell_news_pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.shell_news_pager a,
.shell_news_pager span {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #1c1c20;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #c5c6cc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
}

.shell_news_pager a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
}

.shell_news_pager span.is-active {
    color: #111;
    background: var(--main_color, #f6b007);
    border-color: transparent;
}

@media (max-width: 1000px) {
    .content.shell_news_page {
        padding: 20px 14px var(--shell_bottom_space) !important;
    }

    .shell_news_head h1 {
        font-size: 22px;
    }

    .shell_news_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shell_news_card_media {
        height: 130px;
    }
}

@media (max-width: 640px) {
    .shell_news_grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CMS article pages (/article/...) ========== */
.content.content_article,
.under_body .page > .content.content_article {
    width: 100% !important;
    max-width: 920px !important;
    margin: 0 auto !important;
    padding: 28px 20px 56px !important;
    box-sizing: border-box;
}

.shell_article_head {
    margin-bottom: 20px;
}

.shell_article_head h1 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.shell_article_card {
    min-height: 160px;
    padding: 28px 32px;
    border-radius: 14px;
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.shell_article_body {
    color: #c5c6cc;
    font-size: 15px;
    line-height: 1.65;
}

.shell_article_body *:not(a):not(h1):not(h2):not(h3):not(h4):not(strong):not(b) {
    color: inherit !important;
}

.shell_article_body h1,
.shell_article_body h2,
.shell_article_body h3,
.shell_article_body h4,
.shell_article_body strong,
.shell_article_body b {
    color: #fff;
}

.shell_article_body p,
.shell_article_body ul,
.shell_article_body ol {
    margin: 0 0 14px;
}

.shell_article_body p:last-child,
.shell_article_body ul:last-child,
.shell_article_body ol:last-child {
    margin-bottom: 0;
}

.shell_article_body a {
    color: var(--main_color, #f6b007);
    text-decoration: none;
}

.shell_article_body a:hover {
    text-decoration: underline;
}

.shell_article_body a[href*="t.me"],
.shell_article_body a[href*="telegram"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--main_color, #f6b007);
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.shell_article_body a[href*="t.me"]:hover,
.shell_article_body a[href*="telegram"]:hover {
    filter: brightness(1.05);
    text-decoration: none;
}

.shell_article_body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.shell_article_body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.shell_article_body th,
.shell_article_body td {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent !important;
    color: #c5c6cc !important;
}

.shell_article_body th {
    color: #fff !important;
    font-weight: 700;
    text-align: left;
}

.footer_content {
    grid-template-columns: minmax(0, 220px) minmax(0, 280px) minmax(240px, 1fr);
    justify-content: start;
    align-items: center;
    gap: 28px 48px;
    padding: 28px 0;
    margin: 0;
}

.footer_content a {
    color: #9a9ca3;
    line-height: 1.8;
}

.footer_content a:hover {
    color: #fff;
    text-decoration: none;
}

.footer_dev {
    justify-self: end;
    width: 100%;
    max-width: 300px;
}

.footer_content a.footer_dev_btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px 12px 12px;
    border-radius: 12px;
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer_content a.footer_dev_btn:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(246, 176, 7, 0.55);
    background: #1a1812;
}

.footer_dev_mark {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(246, 176, 7, 0.5);
    color: var(--main_color, #f6b007);
}

.footer_dev_mark svg {
    display: block;
    width: 15px;
    height: auto;
}

.footer_dev_role {
    flex: 1;
    min-width: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.footer_dev_arrow {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    color: #6f7178;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer_content a.footer_dev_btn:hover .footer_dev_arrow {
    color: var(--main_color, #f6b007);
    transform: translateX(2px);
}

.footer_banners {
    padding: 18px 0;
}

.color_focus > div > div img {
    opacity: 0.85;
}

@media (max-width: 1000px) {
    .content.content_article,
    .under_body .page > .content.content_article {
        padding: 20px 14px var(--shell_bottom_space) !important;
    }

    .shell_article_head h1 {
        font-size: 22px;
    }

    .shell_article_card {
        padding: 20px 16px;
    }

    .footer_content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer_dev {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 601px) {
    .footer_content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px 0;
    }

    .footer_dev {
        max-width: none;
    }
}
