/* TeaMatch custom overrides — additive only, never changes the template visual direction */

@font-face {
    font-family: "Cooperative";
    src: url("../webfonts/cooperative-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cooperative";
    src: url("../webfonts/cooperative-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-font-sans-serif: "Cooperative", sans-serif;
    --bs-body-font-family: "Cooperative", sans-serif;
    --tm-font: "Cooperative", sans-serif;
}

html,
body {
    font-family: "Cooperative", sans-serif;
}

*,
*::before,
*::after {
    font-family: "Cooperative", sans-serif !important;
}

input,
textarea,
select,
button {
    font-family: inherit !important;
}

.tm_alert {
    position: relative;
    padding: 14px 18px;
    margin-bottom: 18px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
}
.tm_alert--success { background: rgba(40, 200, 120, .12); color: #28c878; border: 1px solid rgba(40, 200, 120, .4); }
.tm_alert--error   { background: rgba(235, 70, 70, .12);  color: #ff6b6b; border: 1px solid rgba(235, 70, 70, .4); }
.tm_alert--info    { background: rgba(70, 140, 235, .12); color: #6ba8ff; border: 1px solid rgba(70, 140, 235, .4); }
.tm_alert_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}
.tm_alert_actions .lobby_btn {
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
}
.tm_alert--error .tm_alert_actions .lobby_btn.btn_ghost {
    color: #ffb0b0 !important;
    border-color: rgba(235, 70, 70, 0.45);
}
.tm_alert--error .tm_alert_actions .lobby_btn.btn_ghost:hover {
    color: #fff !important;
    border-color: rgba(235, 70, 70, 0.7);
    background: rgba(235, 70, 70, 0.16);
}

.header_avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.client_img > img { object-fit: cover; }

.logout_link, .link_btn {
    background: none; border: none; padding: 0; color: inherit; cursor: pointer;
    font: inherit; display: inline-flex; align-items: center; gap: 8px; width: 100%;
}

.notifyModal_body .notifyModal_title .notifyModal_title_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.notifyModal_body .notifyModal_title .link_btn_danger {
    color: #ff8a8a;
}

.notifyModal_body .notifyModal_title .link_btn_danger:hover {
    color: #ffb0b0;
}

.notifyModal_body .notifyModal_title .link_btn {
    color: #fff;
    width: auto;
    font-size: 0.984rem;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.notifyModal_body .notifyModal_title .link_btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

.tm_empty {
    text-align: center; padding: 48px 16px; opacity: .8;
}
.tm_empty img { width: 96px; margin-bottom: 16px; opacity: .5; }

.content_area { width: 100%; }

/* pagination (Laravel default) fits the dark theme */
.tm_pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; width: 100%; }
.tm_pagination_summary { margin: 0; color: var(--tm-muted); font-size: 13px; }
.tm_pagination_summary span { color: #fff; font-weight: 600; }
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 24px 0; flex-wrap: wrap; justify-content: center; }
.pagination .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: 8px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); text-decoration: none; box-shadow: none; }
.pagination .page-item.active .page-link { background: var(--bs-primary, #e63946); border-color: var(--bs-primary, #e63946); }
.pagination .page-item.disabled .page-link { opacity: .45; pointer-events: none; }

.tm_form_error { color: #ff6b6b; font-size: 13px; margin-top: 6px; display: block; }

/* ---- TeaMatch dynamic component styles (match template dark/cut-corner look) ---- */
:root { --tm-panel:#15151f; --tm-panel2:#1d1d2b; --tm-accent:#e63946; --tm-accent2:#ff5c69; --tm-border:rgba(255,255,255,.08); --tm-text:#eaeaf0; --tm-muted:#9a9ab0; }

.content_area { color: var(--tm-text); }
.tm_grid { display:grid; gap:20px; margin-bottom:22px; }
.tm_grid.cols-2 { grid-template-columns:repeat(2,1fr); }
.tm_grid.cols-3 { grid-template-columns:repeat(3,1fr); }
.tm_grid.cols-4 { grid-template-columns:repeat(4,1fr); }
@media (max-width:991px){ .tm_grid.cols-3,.tm_grid.cols-4{grid-template-columns:repeat(2,1fr);} }
@media (max-width:575px){ .tm_grid.cols-2,.tm_grid.cols-3,.tm_grid.cols-4{grid-template-columns:1fr;} }

.tm_panel { position:relative; background:var(--tm-panel); border:1px solid var(--tm-border); border-radius:10px; padding:22px; margin-bottom:22px; }

.section_title { position:relative; padding:14px 20px; background:var(--tm-panel); border-right:3px solid var(--tm-accent); border-radius:8px; }
.section_title h2 { margin:0; font-size:22px; color:#fff; }
.section_title p { margin:4px 0 0; color:var(--tm-muted); font-size:14px; }

.stat_widget { position:relative; display:flex; align-items:center; gap:14px; background:var(--tm-panel); border:1px solid var(--tm-border); border-radius:10px; padding:18px 20px; }
.stat_widget img { width:40px; height:40px; }
.stat_widget h3 { margin:0; font-size:24px; color:#fff; }
.stat_widget p { margin:0; color:var(--tm-muted); font-size:13px; }
.stat_widget--accent { background:linear-gradient(135deg,var(--tm-accent),#a3162a); }
.stat_widget--accent h3,.stat_widget--accent p { color:#fff; }

.tournament_card,.product_card { position:relative; background:var(--tm-panel); border:1px solid var(--tm-border); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; transition:.2s; }
.tournament_card:hover,.product_card:hover { border-color:var(--tm-accent); transform:translateY(-3px); }
.tournament_card_banner { position:relative; height:150px; overflow:hidden; }
.tournament_card_banner img { width:100%; height:100%; object-fit:cover; }
.tournament_league,.tournament_status { position:absolute; top:10px; font-size:11px; padding:4px 10px; border-radius:20px; color:#fff; }
.tournament_league { right:10px; background:rgba(0,0,0,.6); }
.tournament_status { left:10px; background:var(--tm-accent); }
.tournament_status.status_live { background:#28c878; }
.tournament_status.status_completed { background:#555; }
.tournament_card_body,.product_card_body { padding:16px; display:flex; flex-direction:column; gap:10px; flex:1; }
.tournament_card_body h3 { font-size:17px; margin:0; }
.tournament_card_body h3 a,.product_card_body h4 a { color:#fff; text-decoration:none; }
.tournament_meta { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:12px; color:var(--tm-muted); font-size:13px; }
.tournament_meta li { display:flex; align-items:center; gap:5px; }
.tournament_card_footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.tournament_card_footer .prize { color:var(--tm-accent2); font-size:13px; }

.product_card_img { position:relative; display:block; height:170px; background:var(--tm-panel2); }
.product_card_img img { width:100%; height:100%; object-fit:contain; padding:12px; }
.product_price { color:var(--tm-accent2); font-weight:bold; }
.rarity { position:absolute; top:8px; left:8px; font-size:10px; padding:3px 8px; border-radius:12px; background:rgba(0,0,0,.6); color:#fff; text-transform:capitalize; }
.rarity_legendary{background:#ff9f1c;} .rarity_epic{background:#9b5de5;} .rarity_rare{background:#3a86ff;}

.lobby_btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 18px; background:var(--tm-accent); color:#fff !important; border:none; border-radius:8px; text-decoration:none; cursor:pointer; font-size:14px; transition:.2s; }
.lobby_btn:hover { background:var(--tm-accent2); }
.lobby_btn.btn_ghost { background:transparent; border:1px solid var(--tm-border); }
.lobby_btn.lobby_btn_danger { background:#c0392b; }
.lobby_btn.lobby_btn_danger:hover { background:#a93226; }
.lobby_btn.lobby_btn_blue { background:#2f6fed; border:1px solid #2f6fed; color:#fff !important; }
.lobby_btn.lobby_btn_blue:hover { background:#1f5ad4; border-color:#1f5ad4; }
.lobby_btn.lobby_btn_blue:disabled { opacity:.55; cursor:not-allowed; }
.lobby_btn.lobby_btn_green { background:#1f9d55; border:1px solid #1f9d55; color:#fff !important; }
.lobby_btn.lobby_btn_green:hover { background:#178645; border-color:#178645; }
.lobby_btn.lobby_btn_green:disabled { opacity:.55; cursor:not-allowed; }
.tm_table .d-flex form { display:inline-flex; margin:0; }

.gather_rcon_panel.is_locked {
    opacity: 0.72;
    position: relative;
}
.gather_rcon_panel.is_locked .gather_rcon_actions,
.gather_rcon_panel.is_locked .gather_rcon_form {
    pointer-events: none;
    user-select: none;
    filter: grayscale(0.35);
}
.gather_rcon_locked_badge {
    display: inline-flex;
    align-items: center;
    margin-inline-start: 0.6rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(192, 57, 43, 0.22);
    border: 1px solid rgba(240, 39, 49, 0.35);
    color: #ff8a8a;
    font-size: 0.85rem;
    font-weight: 700;
    vertical-align: middle;
}
.gather_rcon_locked_msg {
    margin: 0 0 1rem;
    color: #ff8a8a;
    font-size: 13px;
}
.gather_rcon_actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.gather_rcon_actions_row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}
.gather_rcon_actions_primary {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--tm-border);
}
.gather_rcon_actions_group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--tm-border);
}
.gather_rcon_actions_label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--tm-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.gather_rcon_docs_link {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: #7eb6ff;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.gather_rcon_docs_link:hover {
    color: #b8d6ff;
}
.gather_rcon_panel.is_locked .gather_rcon_actions_group {
    pointer-events: auto;
    filter: none;
}
.gather_rcon_panel.is_locked .gather_rcon_actions_matchzy {
    pointer-events: none;
    filter: grayscale(0.35);
}
.gather_rcon_actions .lobby_btn {
    font-size: 1.25rem;
}
.gather_rcon_actions_matchzy .lobby_btn {
    font-size: 1.05rem;
    border: 1px solid transparent;
    color: #fff !important;
}
.gather_rcon_actions_matchzy .lobby_btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.mz_btn_indigo { background: #3f51b5; border-color: #3f51b5 !important; }
.mz_btn_indigo:hover:not(:disabled) { background: #32408f; border-color: #32408f !important; }
.mz_btn_green { background: #1f9d55; border-color: #1f9d55 !important; }
.mz_btn_green:hover:not(:disabled) { background: #178645; border-color: #178645 !important; }
.mz_btn_amber { background: #d97706; border-color: #d97706 !important; }
.mz_btn_amber:hover:not(:disabled) { background: #b45309; border-color: #b45309 !important; }
.mz_btn_red { background: #c0392b; border-color: #c0392b !important; }
.mz_btn_red:hover:not(:disabled) { background: #a93226; border-color: #a93226 !important; }
.mz_btn_orange { background: #ea580c; border-color: #ea580c !important; }
.mz_btn_orange:hover:not(:disabled) { background: #c2410c; border-color: #c2410c !important; }
.mz_btn_teal { background: #0f766e; border-color: #0f766e !important; }
.mz_btn_teal:hover:not(:disabled) { background: #0d9488; border-color: #0d9488 !important; }
.mz_btn_slate { background: #475569; border-color: #475569 !important; }
.mz_btn_slate:hover:not(:disabled) { background: #334155; border-color: #334155 !important; }
.mz_btn_cyan { background: #0891b2; border-color: #0891b2 !important; }
.mz_btn_cyan:hover:not(:disabled) { background: #0e7490; border-color: #0e7490 !important; }
.mz_btn_blue { background: #2f6fed; border-color: #2f6fed !important; }
.mz_btn_blue:hover:not(:disabled) { background: #1f5ad4; border-color: #1f5ad4 !important; }
.mz_btn_lime { background: #65a30d; border-color: #65a30d !important; }
.mz_btn_lime:hover:not(:disabled) { background: #4d7c0f; border-color: #4d7c0f !important; }
.mz_btn_rose { background: #be123c; border-color: #be123c !important; }
.mz_btn_rose:hover:not(:disabled) { background: #9f1239; border-color: #9f1239 !important; }
.mz_btn_violet { background: #7c3aed; border-color: #7c3aed !important; }
.mz_btn_violet:hover:not(:disabled) { background: #6d28d9; border-color: #6d28d9 !important; }

.gather_docs_modal .gather_docs_modal_card {
    width: min(960px, calc(100vw - 2rem));
    max-width: min(960px, calc(100vw - 2rem));
    padding: 1rem 1.1rem 0.85rem;
}
.gather_docs_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.gather_docs_modal_head h3 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
}
.gather_docs_close {
    flex-shrink: 0;
    font-size: 0.95rem !important;
    padding: 0.45rem 0.9rem !important;
}
.gather_docs_iframe {
    display: block;
    width: 100%;
    height: min(70vh, 640px);
    border: 1px solid var(--tm-border);
    border-radius: 10px;
    background: #0f141c;
}
.gather_docs_fallback {
    margin: 0.65rem 0 0;
    color: var(--tm-muted);
    font-size: 12px;
}
.gather_docs_fallback a {
    color: #7eb6ff;
}
.gather_rcon_output {
    margin: 0 0 1rem;
    min-height: 220px;
    max-height: 420px;
    overflow: auto;
    padding: 1rem 1.2rem;
    white-space: pre-wrap;
    word-break: break-word;
    background: #0b0b12;
    border: 1px solid var(--tm-border);
    border-radius: 8px;
    color: #c8f7c5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
}
.gather_rcon_form {
    display: flex;
    gap: 0.8rem;
    align-items: stretch;
}
.gather_rcon_form input {
    flex: 1;
    margin: 0;
}

.admin_confirm_modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
}

.admin_confirm_modal[hidden] {
    display: none;
}

body.admin_confirm_open {
    overflow: hidden;
}

.admin_confirm_modal_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
}

.admin_confirm_modal_card {
    position: relative;
    z-index: 1;
    width: min(92vw, 28rem);
    margin: 0;
    text-align: center;
    border-color: rgba(240, 39, 49, 0.22);
    box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.45);
}

.admin_confirm_modal_icon {
    width: 4.8rem;
    height: 4.8rem;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 57, 43, 0.16);
    border: 1px solid rgba(240, 39, 49, 0.28);
}

.admin_confirm_modal_icon img {
    width: 2.2rem;
    height: 2.2rem;
}

.admin_confirm_modal_card h3 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: 2rem;
}

.admin_confirm_modal_card p {
    margin: 0 0 1.6rem;
    color: var(--tm-muted);
    font-size: 1.4rem;
    line-height: 1.5;
}

.admin_confirm_modal_actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.admin_confirm_modal_actions .lobby_btn {
    min-width: 9rem;
}

.gather_password_modal .admin_confirm_modal_card {
    border-color: rgba(230, 57, 70, 0.28);
    text-align: right;
}

.gather_password_modal .admin_confirm_modal_card h3 {
    font-size: 1.5rem;
    text-align: center;
}

.gather_password_modal .admin_confirm_modal_card > p {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.gather_password_modal .gather_password_form {
    margin: 0;
}

.gather_password_modal .gather_password_form label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--tm-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.gather_password_modal .gather_password_form input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.45rem;
    background: var(--tm-panel2);
    border: 1px solid var(--tm-border);
    border-radius: 8px;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.gather_password_modal .gather_password_form input:focus {
    outline: none;
    border-color: var(--tm-accent);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
}

.gather_password_modal .gather_password_hint {
    display: block;
    margin: 0 0 1.2rem;
    color: var(--tm-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.gather_password_modal .admin_confirm_modal_actions {
    margin-top: 0.2rem;
}

.user_avatar_framed {
    position: relative;
    width: 8.8rem;
    height: 8.8rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user_avatar_framed .user_avatar_img {
    width: 68%;
    height: 68%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.user_avatar_framed .user_avatar_frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.user_avatar_framed .user_avatar_edit {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
}

.profile_frame_preview {
    position: relative;
    width: 15rem;
    height: 15rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile_frame_preview .profile_frame_avatar_wrap {
    width: 58%;
    height: 58%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0.4rem;
    background: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile_frame_preview .profile_frame_avatar_wrap.has-equipped-frame {
    box-shadow:
        0 0 0 0.15rem rgba(177, 37, 44, 0.85),
        0 0 1rem rgba(177, 37, 44, 0.35);
}

.profile_frame_preview .profile_frame_asset {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.profile_frame_preview .profile_frame_avatar {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
}

.store_card .card_textShape .coin {
    font-size: 1.6rem;
    font-weight: 400;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #531B20;
    padding: 0.2rem 0.6rem 0.4rem 1rem;
    border-radius: 5rem;
}

.store_card .card_textShape .coin img {
    width: 1.6rem;
    height: auto;
    flex-shrink: 0;
}

.store_mainwraper_v2 .card_textShape .store_frame_buy_form {
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    transform: translateX(-50%);
    margin: 0;
}

.store_mainwraper_v2 .card_textShape .store_frame_buy_form button {
    width: 16.3rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
    background-color: transparent;
    background-image: url("../img/store-card-btn-2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: 0.2s all ease;
}

.store_mainwraper_v2 .card_textShape .store_frame_buy_form button img {
    width: 1.6rem;
    transition: 0.2s all ease;
}

.store_mainwraper_v2 .card_textShape .store_frame_buy_form button:hover img {
    transform: translateX(-0.5rem);
}

.collection_frame_preview {
    width: 7.2rem;
    height: 7.2rem;
}

.collection_cardImg .collection_card_frame {
    width: 11rem;
    height: 11rem;
    max-width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
}

.collection_section .collection_wraper .collection_item {
    display: flex;
}

.collection_section .collection_wraper .collection_card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.collection_section .collection_wraper .collection_card .collection_cardImg {
    min-height: 14rem;
    height: 14rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 1.2rem 1.6rem;
}

.collection_section .collection_wraper .collection_card .collection_cardImg .collection_card_asset {
    width: 11rem;
    height: 11rem;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.collection_section .collection_wraper .collection_card .collection_cardImg .profile_frame_preview.collection_card_frame {
    width: 11rem;
    height: 11rem;
    max-width: 100%;
    margin: 0 auto;
}

.collection_section .collection_wraper .collection_card .collection_cardImg .profile_frame_preview .profile_frame_asset {
    width: 100%;
    height: 100%;
    margin: 0;
}

.collection_section .collection_wraper .collection_card .collection_cardText {
    margin-top: auto;
}

.collection_section .collection_wraper .collection_card .collection_card_actions {
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.collection_section .collection_wraper .collection_card .collection_toggle_form {
    margin: 0;
}

.collection_section .collection_wraper .collection_card .collection_toggle_btn {
    width: 100%;
    min-height: 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #1c1c1c;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: .2s all ease;
}

.collection_section .collection_wraper .collection_card .collection_toggle_btn.is-on {
    background: #F02731;
    border-color: #F02731;
}

.collection_section .collection_wraper .collection_card .collection_toggle_btn.is-off {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
}

.collection_section .collection_wraper .collection_card .collection_toggle_btn:hover {
    opacity: .88;
}

.collection_display_preview {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 24rem;
    padding: 2rem 1.6rem;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.collection_display_frame_wrap {
    position: relative;
    width: 12rem;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.collection_display_avatar {
    width: 7.4rem;
    height: 7.4rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0.4rem;
    background: #141414;
    box-sizing: border-box;
}

.collection_display_frame_wrap .collection_card_ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.4rem;
    height: 7.4rem;
    border-radius: 0.4rem;
    border: 0.3rem solid #f02731;
    box-shadow:
        0 0 0 0.12rem rgba(240, 39, 49, 0.4),
        0 0 1.4rem rgba(240, 39, 49, 0.65);
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
}

.collection_display_frame_wrap .collection_card_ring[hidden] {
    display: none !important;
}

.collection_display_avatar .collection_preview_avatar {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
    position: static;
    z-index: auto;
}

.collection_display_frame_wrap .collection_preview_frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.collection_display_preview .display_text {
    width: 100%;
    margin-top: 0;
    text-align: center;
}

.collection_display_preview .display_text p {
    font-size: 2rem;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.collection_display_preview .display_text a {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(218, 17, 17, 0.1);
    border: 1px solid rgba(218, 17, 17, 0.5);
    width: 9.2rem;
    height: 3.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    gap: 0.6rem;
    border-radius: 5rem;
    text-decoration: none;
}

.collection_display_preview .display_text a::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    display: block;
    background: #DA1111;
    outline: 0.2rem solid #580A0C;
    border-radius: 50%;
}

.edit_modal .removemodal_body .edit_mainContent .left_card .collection_display_preview .collection_preview_avatar,
.edit_modal .removemodal_body .edit_mainContent .left_card .collection_display_preview .collection_preview_frame {
    width: auto;
    margin: 0;
}

.editModal_buttons form {
    display: inline;
}

.editModal_buttons form button {
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.client_box .client_img a,
.client_box .client_img .client_avatar_edit {
    position: absolute;
    bottom: -0.1rem;
    right: -0.1rem;
    z-index: 4;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.client_box .client_img .client_avatar_edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.85),
        0 2px 8px rgba(0, 0, 0, 0.65);
}

.client_box .client_img a img,
.client_box .client_img .client_avatar_edit img {
    width: 1.55rem;
    height: 1.55rem;
    display: block;
}

.client_box .client_img a img {
    width: 2.4rem;
    height: 2.4rem;
}

.client_box .client_img .client_avatar_edit.is-uploading {
    opacity: 0.85;
    pointer-events: none;
}

.client_box .client_img .client_avatar_edit.is-cooldown {
    opacity: 0.82;
    border-color: rgba(255, 255, 255, 0.55);
}

.client_box .client_img .client_avatar_edit.is-uploading img {
    animation: client-avatar-sync-spin 0.8s linear infinite;
}

@keyframes client-avatar-sync-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.client_box.has-profile-frame-bg {
    background-color: #080808;
    background-image:
        linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.82) 100%),
        var(--client-box-frame-bg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    transition: background-image 0.25s ease;
}

.client_box.client_box_nv.has-profile-frame-bg {
    background-color: #080808;
    background-image:
        linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.82) 100%),
        var(--client-box-frame-bg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.collection_display_preview.has-profile-card-bg {
    background-color: #080808;
    background-image:
        linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.82) 100%),
        var(--collection-preview-card-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.client_box .client_box_avatar_stack {
    position: relative;
    width: 10.5rem;
    height: 10.5rem;
    margin: 0 auto;
}

.client_box .client_box_avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    height: 58%;
    margin: 0;
    overflow: hidden;
    border-radius: 0.4rem;
    background: #141414;
    z-index: 1;
    box-sizing: border-box;
}

.client_box .client_box_frame_overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.client_box .client_img .client_box_avatar_stack .user_avatar_img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.client_box .client_img .client_box_avatar_stack .client_box_frame_overlay {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.editTab_item.active {
    border-color: rgba(240, 39, 49, 0.6);
}

.tm_table { width:100%; border-collapse:collapse; color:var(--tm-text); }
.tm_table th,.tm_table td { padding:12px 14px; text-align:right; border-bottom:1px solid var(--tm-border); font-size:14px; }
.tm_table th { color:var(--tm-muted); font-weight:600; }
.tm_table tbody tr:hover { background:rgba(255,255,255,.03); }
.tm_badge { display:inline-block; padding:3px 10px; border-radius:20px; font-size:12px; background:rgba(255,255,255,.08); }
.tm_badge.ok{background:rgba(40,200,120,.2);color:#28c878;} .tm_badge.warn{background:rgba(255,159,28,.2);color:#ff9f1c;} .tm_badge.bad{background:rgba(235,70,70,.2);color:#ff6b6b;}
.tm_badge.premium {
    color: #2a1f00;
    font-weight: 700;
    background: linear-gradient(135deg, #f5d76e 0%, #d4a017 45%, #f9e27a 60%, #c9952c 100%);
    border: 1px solid rgba(255, 215, 80, 0.65);
    box-shadow: 0 0 10px rgba(245, 197, 66, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Premium badge — glowing gold */
.premium_gold_badge {
    color: #2a1f00 !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #f5d76e 0%, #d4a017 42%, #f9e27a 58%, #c9952c 100%) !important;
    border: 1px solid rgba(255, 215, 80, 0.7);
    box-shadow:
        0 0 8px rgba(245, 197, 66, 0.55),
        0 0 18px rgba(212, 160, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: premium-glow-pulse 2.8s ease-in-out infinite;
}

.admin_btn a .admin_text span.premium_gold_badge,
.client_box .offline_btn.offline_btn_premium span.premium_gold_badge {
    display: inline-block;
    width: auto;
    min-width: 4.4rem;
    max-width: max-content;
    padding: 0.15rem 0.55rem !important;
    border-radius: 0.2rem !important;
    font-size: 1.4rem;
    line-height: 130%;
    text-align: center;
    margin: 0.4rem auto 0;
    gap: 0;
}

.client_box .offline_btn.offline_btn_premium {
    text-align: center;
}

.client_box .offline_btn.offline_btn_premium span.premium_gold_badge::before {
    display: none;
    content: none;
}

@keyframes premium-glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 8px rgba(245, 197, 66, 0.55),
            0 0 18px rgba(212, 160, 23, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
    50% {
        box-shadow:
            0 0 12px rgba(245, 197, 66, 0.8),
            0 0 26px rgba(212, 160, 23, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }
}

.tm_form label { display:block; margin-bottom:6px; color:var(--tm-text); font-size:14px; }
.tm_form .form-control,.tm_form input,.tm_form select,.tm_form textarea { width:100%; padding:11px 14px; background:var(--tm-panel2); border:1px solid var(--tm-border); border-radius:8px; color:#fff; margin-bottom:16px; }
.tm_form input:focus,.tm_form select:focus,.tm_form textarea:focus { outline:none; border-color:var(--tm-accent); }

.tm_form.d-flex {
    align-items: center;
}

.tm_form.d-flex input,
.tm_form.d-flex select,
.tm_form.d-flex textarea {
    width: auto;
    min-width: 220px;
    max-width: 320px;
    margin-bottom: 0;
    flex: 1 1 220px;
}

.tm_form.d-flex .lobby_btn {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
    min-height: 42px;
}

.client_box .offline_btn.offline_btn_online span {
    color: #baf7c2;
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.5);
}

.client_box .offline_btn.offline_btn_online span::before {
    background: #2ecc71;
    border-color: rgba(46, 204, 113, 0.4);
}

.client_box .offline_btn.offline_btn_banned span {
    color: #fff;
    background: rgba(218, 17, 17, 0.22);
    border-color: #da1111;
}

.client_box .offline_btn.offline_btn_banned span::before {
    background: #ff3b3b;
    border-color: #ff6b6b;
}

.tm_panel .progress_bar { height:8px; background:var(--tm-panel2); border-radius:20px; overflow:hidden; }
.tm_panel .progress_bar > span { display:block; height:100%; background:var(--tm-accent); }

.level_section .level_box .progress_bar {
    height: auto;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.level_section .level_box .level_title {
    margin-bottom: 2rem;
}

.level_section .level_box .progress_bar .bottom_txt {
    line-height: 1.5;
    margin-top: 1.2rem;
}

/* content-area sits beside sidebar; give it breathing room */
.main_wrapper { display:flex; gap:24px; align-items:flex-start; }
.dash_sidebar { width:230px; flex-shrink:0; }
@media (max-width:991px){ .main_wrapper{flex-direction:column;} .dash_sidebar{width:100%;} }

#chatBox {
    left: auto !important;
    right: 1.6rem !important;
    width: min(33.5rem, calc(100vw - 3.2rem));
    max-width: 33.5rem;
    padding: 0 0 1.6rem;
    box-sizing: border-box;
}

#chatBox .container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

#chatBox .chat_modal {
    margin: 0;
    max-width: 100%;
    width: 100%;
}

@media screen and (min-width: 992px) {
    body:has(.profile_fixed) #chatBox {
        right: calc(18rem + 1.6rem) !important;
        width: min(33.5rem, calc(100vw - 20rem - 3.2rem));
    }
}

@media screen and (min-width: 1800px) {
    #chatBox {
        right: 1.6rem !important;
    }

    body:has(.profile_fixed) #chatBox {
        right: calc(18rem + 1.6rem) !important;
    }
}

.chat_modal .modal-content {
    min-height: 43.6rem;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.4rem 1.4rem;
}

.chat_modal_body {
    flex: 1;
    min-height: 28rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat_modal .modal-content.has-messages #privateChatEmpty {
    display: none !important;
}

.chat_modal .modal-content .message_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    min-height: 16rem;
}

.chat_modal .modal-content .message_item[hidden] {
    display: none !important;
}

.chat_modal .modal-content .message_item img {
    width: 3.2rem;
}

.chat_modal .modal-content .message_item h4 {
    font-size: 1.6rem;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.chat_modal .modal-content .message_item p {
    font-size: 1.4rem;
}

.chat_modal .modal-content .message_wrap {
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

.chat_modal .modal-content .message_wrap .message_field {
    width: 100%;
    flex: 1;
}

.notifyModal_body .notifyModal_title .link_btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

.notifyModal_body .notifyModal_links {
    padding: 1.4rem 0 1.2rem;
    border-bottom: 1px solid #360e10;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.notifyModal_body .notifyModal_links a {
    font-size: 0.984rem;
    font-weight: 400;
    line-height: 1.2;
    color: #f5f6ff;
    background: rgba(240, 39, 49, 0.1);
    border: 1px solid rgba(240, 39, 49, 0.45);
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border-radius: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.notifyModal_body .notifyModal_links a:hover,
.notifyModal_body .notifyModal_links a.active {
    background: #f02731;
    border-color: #f02731;
    color: #f5f6ff;
}

.notifyModal_body .notifyModal_content {
    padding-top: 1.6rem;
}

.notifyModal_body .notifyModal_group + .notifyModal_group {
    margin-top: 1.6rem;
}

.notifyModal_body .notifyModal_group[hidden],
.notifyModal_body .notifyModal_item[hidden] {
    display: none !important;
}

.notifyModal_body .notifyModal_filtered_empty p {
    color: var(--tm-muted, rgba(255, 255, 255, 0.55));
    font-size: 1.4rem;
    margin: 0;
}

.notifyModal_body .notifyModal_actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.notifyModal_body .notifyModal_actions form {
    margin: 0;
}

.notifyModal_body .notify_action_btn {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 120%;
    color: #f5f6ff;
    border: 0.6px solid rgba(255, 255, 255, 0.1);
    width: 6.4rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: 0.2s all ease;
    padding: 0;
}

.notifyModal_body .notify_action_btn--accept {
    background: #f02731;
    box-shadow: 0 0.2rem 1.1rem 0 rgba(249, 204, 97, 0.54) inset;
}

.notifyModal_body .notify_action_btn--decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 246, 255, 0.85);
}

.notifyModal_body .notify_action_btn:hover span {
    transform: scale(1.25);
}

.notifyModal_body .notify_action_btn .border_tl,
.notifyModal_body .notify_action_btn .border_tr,
.notifyModal_body .notify_action_btn .border_bl,
.notifyModal_body .notify_action_btn .border_br {
    width: 0.35rem;
    height: 0.35rem;
    position: absolute;
    transition: 0.2s all ease;
}

.notifyModal_body .notify_action_btn .border_tl {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    left: -0.1rem;
    top: -0.1rem;
}

.notifyModal_body .notify_action_btn .border_tr {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    right: -0.1rem;
    top: -0.1rem;
}

.notifyModal_body .notify_action_btn .border_bl {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    left: -0.1rem;
    bottom: -0.1rem;
}

.notifyModal_body .notify_action_btn .border_br {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    right: -0.1rem;
    bottom: -0.1rem;
}

.coin_wraper .coin_box .coin_btn button {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    color: #f5f6ff;
    background: #f02731;
    width: 100%;
    display: block;
    text-align: center;
    padding: 0.85rem 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 0.2rem 1.7rem 0 rgba(249, 204, 97, 0.54) inset;
}

.coin_wraper .coin_box .coin_btn:hover button {
    color: #fff;
}

/* Daily box — align to the left in RTL layout */
.alert_wrapper .daily_box {
    margin-inline-start: auto;
}

.chat_messages_list {
    flex: 1;
    min-height: 18rem;
    max-height: 28rem;
    overflow-y: auto;
    margin: 0;
    padding: 0.4rem 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: #a01a20 #1b0d0d;
}

.chat_messages_list::-webkit-scrollbar {
    width: 0.5rem;
}

.chat_messages_list::-webkit-scrollbar-track {
    background: #1b0d0d;
    border-radius: 1rem;
}

.chat_messages_list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c52029 0%, #8b151c 100%);
    border-radius: 1rem;
    border: 2px solid #1b0d0d;
}

.chat_messages_list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f02731 0%, #a01a20 100%);
}

.chat_messages_list[hidden] {
    display: none !important;
}
.chat_message_row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    align-items: flex-start;
}
.chat_message_row.mine { align-items: flex-end; }
.chat_message_bubble {
    max-width: 88%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
}
.chat_message_row.mine .chat_message_bubble {
    background: #f02731;
    color: #fff;
}
.chat_message_row.theirs .chat_message_bubble {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.chat_message_meta {
    color: var(--tm-muted);
    font-size: 11px;
    margin-top: 3px;
}

/* Minimized chat bar */
#chatBox.minimized .chat_modal_body,
#chatBox.minimized .message_wrap {
    display: none !important;
}

#chatBox.minimized .chat_modal .modal-content {
    min-height: auto;
    padding: 1rem 1.4rem;
}

#chatBox.minimized .chat_modal .modal-content .chatModal_heading {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

#chatBox.minimized #privateChatHeading {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
}

#chatBox.minimized.has-unread #privateChatHeading::after {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #f02731;
    margin-right: auto;
    margin-left: 0.8rem;
    flex-shrink: 0;
}

.chat_modal .modal-content .chatModal_heading .chatModal_button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.chat_modal .modal-content .minimize_btn,
.chat_modal .modal-content .close_btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.chat_modal .modal-content .minimize_btn:hover,
.chat_modal .modal-content .close_btn:hover {
    color: #fff;
}

.chat_modal .modal-content .minimize_btn svg,
.chat_modal .modal-content .close_btn img {
    width: 2.1rem;
    height: 2.1rem;
    display: block;
}

.chat_modal .modal-content .minimize_btn .icon-expand {
    display: none;
}

#chatBox.minimized .minimize_btn .icon-minimize {
    display: none;
}

#chatBox.minimized .minimize_btn .icon-expand {
    display: block;
}

.chat_presence_line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin: 0;
}

.chat_presence_dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.chat_presence_dot.is-online {
    background: #1FE93C;
    border: 1px solid rgba(31, 233, 60, 0.3);
}

.chat_presence_dot.is-offline {
    background: #E51212;
    border: 1px solid #510C0C;
}

.chat_presence_label {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    flex-shrink: 0;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile #chatPageProfileAvatarWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 7.2rem;
    height: 7.2rem;
    margin: 0 auto 0.8rem;
    flex-shrink: 0;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile .chat_group_avatar--large {
    width: 100%;
    height: 100%;
    margin: 0;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile .chat_group_avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    border-radius: 50%;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile h4 {
    width: 100%;
    text-align: center;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile p.chat_presence_line {
    justify-content: center !important;
    width: 100%;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile .chat_group_avatar_form {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.8rem;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_text,
.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile {
    min-width: 0;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_text p.chat_presence_line,
.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile p.chat_presence_line,
.chat_modal .modal-content .chatModal_heading .chatModal_heading_item .chatModal_heading_text p.chat_presence_line {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    width: auto;
    max-width: 100%;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_text p.chat_presence_line > span.chat_presence_dot,
.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile p.chat_presence_line > span.chat_presence_dot,
.chat_modal .modal-content .chatModal_heading .chatModal_heading_item .chatModal_heading_text p.chat_presence_line > span.chat_presence_dot {
    display: inline-block !important;
    width: 0.9rem !important;
    height: 0.9rem !important;
    min-width: 0.9rem;
    min-height: 0.9rem;
    padding: 0;
    margin: 0;
    overflow: hidden;
    flex-shrink: 0;
    line-height: 0;
    font-size: 0;
}

.chat_modal .modal-content .chatModal_heading .chatModal_heading_item .chatModal_heading_text p.chat_presence_line span.chat_presence_label,
.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile p.chat_presence_line span.chat_presence_label,
.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_text p.chat_presence_line span.chat_presence_label {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    font-size: 1.4rem !important;
    line-height: 130% !important;
}

.chat_modal .modal-content .chatModal_heading .chatModal_heading_item .chatModal_heading_text p.chat_presence_line span.chat_presence_dot.is-online,
.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile p.chat_presence_line span.chat_presence_dot.is-online,
.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_text p.chat_presence_line span.chat_presence_dot.is-online {
    background: #1FE93C !important;
    border: 1px solid rgba(31, 233, 60, 0.3) !important;
}

.chat_modal .modal-content .chatModal_heading .chatModal_heading_item .chatModal_heading_text p.chat_presence_line span.chat_presence_dot.is-offline,
.chat_section .chat_wraper .chat_content .content_wraper .chat_details .chat_profile p.chat_presence_line span.chat_presence_dot.is-offline,
.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_text p.chat_presence_line span.chat_presence_dot.is-offline {
    background: #E51212 !important;
    border: 1px solid #510C0C !important;
}

.user_presence_dot {
    width: 0.6rem;
    height: 0.6rem;
    display: block;
    border-radius: 50%;
    position: absolute;
    top: -0.1rem;
    left: -0.1rem;
}

.user_presence_dot.is-online {
    background: #1FE93C;
    border: 1px solid rgba(31, 233, 60, 0.3);
}

.user_presence_dot.is-offline {
    background: #E51212;
    border: 1px solid #510C0C;
}

.social_friend_avatar {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.social_friend_avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.userfixed_offcanvas .group_box .group_box_item p .social_friend_avatar .user_presence_dot {
    width: 10px;
    height: 10px;
    top: -1px;
    left: -1px;
    z-index: 1;
    box-shadow: 0 0 0 2px #0e0e0e;
}

.chat_sidebar_section {
    background: #121212;
}

.chat_sidebar_tabs {
    display: flex;
    align-items: stretch;
}

.chat_sidebar_tabs button {
    flex: 1;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.4rem 0.8rem;
    cursor: pointer;
    transition: 0.2s all ease;
}

.chat_sidebar_tabs button:hover {
    border-bottom-color: rgba(240, 39, 49, 0.2);
}

.chat_sidebar_tabs button.active {
    background: linear-gradient(180deg, rgba(255, 26, 26, 0) 0%, rgba(255, 26, 26, 0.3) 100%);
    border-bottom-color: rgba(240, 39, 49, 0.2);
    color: #fff;
}

.chat_sidebar_tab_content .tab-pane {
    display: none;
}

.chat_sidebar_tab_content .tab-pane.active {
    display: block;
}

.chat_section .chat_wraper .chat_user .chat_sidebar_section .user_box,
.chat_section .chat_wraper .chat_user #chatUserList,
.chat_section .chat_wraper .chat_user #chatGroupList {
    height: calc(100vh - 30rem) !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-y: auto;
}

@media (max-width: 991px) {
    .chat_section .chat_wraper .chat_user .chat_sidebar_section .user_box,
    .chat_section .chat_wraper .chat_user #chatUserList,
    .chat_section .chat_wraper .chat_user #chatGroupList {
        height: auto !important;
    }
}

.chat_sidebar_label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.2rem;
    margin: 0 0 0.8rem;
    padding: 0 1.2rem;
}

.chat_sidebar_empty {
    color: rgba(255, 255, 255, 0.55);
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    margin: 0;
}

.chat_create_group_btn {
    padding: 6px 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.header_section .navbar-nav li a.premium_btn,
.header_section .navbar-nav li a.premium_btn:hover,
.header_section .navbar-nav li a.premium_btn.active {
    color: #F9F9FF !important;
    gap: 0.4rem;
    white-space: nowrap;
}

.header_section .navbar-nav li a.premium_btn img,
.header_section .navbar-nav li a.premium_btn.active img {
    filter: none !important;
}

.chat_section .chat_wraper .chat_user .user_title {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.8rem;
    height: auto;
    min-height: 5.5rem;
    padding: 1rem 1.2rem;
    direction: rtl;
}

.chat_section .chat_wraper .chat_user .user_title h2 {
    margin: 0;
    font-size: 2.4rem;
    line-height: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.statistics_box--locked {
    position: relative;
    min-height: 36rem;
    overflow: hidden;
}

.analytice_box--locked {
    position: relative;
    min-height: 36rem;
    overflow: hidden;
    background: #080808;
    border: 1px solid #212121;
    padding: 1.8rem 1.8rem;
}

.analytice_box--locked .analytics_title h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.statistics_box--locked .store_unlock,
.analytice_box--locked .store_unlock {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    bottom: auto;
    left: auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.statistics_box--locked .store_unlock p,
.analytice_box--locked .store_unlock p {
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
}

.client_analytics {
    overflow: hidden;
}

.chat_section .chat_wraper .chat_user .user_box .user_item {
    background: transparent !important;
    color: #fff;
}

.chat_section .chat_wraper .chat_user .user_box .user_item:hover,
.chat_section .chat_wraper .chat_user .user_box .user_item.active {
    background: #1e1212 !important;
}

.chat_section .chat_wraper .chat_user .user_box .user_item.js-chat-user,
.chat_section .chat_wraper .chat_user .user_box .user_item.js-chat-group {
    background: transparent !important;
    color: #fff;
}

.chat_section .chat_wraper .chat_user .user_box .user_item.js-chat-user:hover,
.chat_section .chat_wraper .chat_user .user_box .user_item.js-chat-user.active,
.chat_section .chat_wraper .chat_user .user_box .user_item.js-chat-group:hover,
.chat_section .chat_wraper .chat_user .user_box .user_item.js-chat-group.active {
    background: #1e1212 !important;
}

.chat_section .chat_wraper .chat_user .user_box .user_item .user_text h4 {
    color: rgba(255, 255, 255, 0.9);
}

.chat_section .chat_wraper .chat_user .user_box .user_item .user_text p {
    color: rgba(255, 255, 255, 0.55);
}

.chat_group_avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f02731, #a3162a);
    flex-shrink: 0;
    position: relative;
}

.chat_group_avatar--large {
    width: 6rem;
    height: 6rem;
}

.chat_group_avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_img {
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_img .chat_group_avatar,
.chat_section .chat_wraper .chat_content .content_wraper .chat_body .chat_heading .chat_heading_img .chat_group_avatar--large {
    width: 100%;
    height: 100%;
}

.chat_section .chat_wraper .chat_user .user_box .user_item .user_img .chat_group_avatar .chat_group_avatar_letter {
    width: 100%;
    height: 100%;
    position: static;
    top: auto;
    left: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
}

.chat_group_avatar--large .chat_group_avatar_letter {
    font-size: 2.2rem;
}

.chat_group_avatar_form {
    margin-top: 1rem;
}

.chat_group_avatar_form label {
    cursor: pointer;
    display: inline-flex;
}

.chat_sender_name {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.chat_empty_state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24rem;
}

.chat_empty_state p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.6rem;
    text-align: center;
    padding: 2rem;
    margin: 0;
}

.chat_group_members_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.chat_group_members_header h4 {
    margin: 0;
}

.chat_group_add_toggle {
    padding: 0.4rem 0.9rem;
    font-size: 1.2rem;
    white-space: nowrap;
}

.chat_group_members {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat_group_member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat_group_member_info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.chat_group_member_info img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.chat_group_remove_btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ff8a8a;
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.chat_group_manage {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat_group_manage h4 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: 1.4rem;
}

.chat_group_add_form {
    margin-top: 1.2rem;
}

.chat_group_add_form label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.chat_group_add_row {
    display: flex;
    gap: 0.6rem;
}

.chat_group_add_row select {
    flex: 1;
    background: var(--tm-panel2, #1d1d2b);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.chat_group_name_form {
    width: 100%;
    margin-top: 0.8rem;
}

.chat_group_rename_toggle {
    margin-top: 0.8rem;
}

.chat_group_name_form label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.chat_group_name_form .chat_group_add_row {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.chat_group_name_form .chat_group_add_row input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    background: var(--tm-panel2, #1d1d2b);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.chat_group_name_form .chat_group_add_row input:focus {
    border-color: rgba(240, 39, 49, 0.6);
    outline: none;
}

.chat_group_name_form .chat_group_add_row .lobby_btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.chat_group_modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat_group_modal[hidden] {
    display: none;
}

.chat_group_modal_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.chat_group_modal_card {
    position: relative;
    width: min(92vw, 42rem);
    z-index: 1;
}

.chat_group_modal_card h3 {
    color: #fff;
    margin: 0 0 1.2rem;
}

.chat_group_modal_card label {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    margin: 0.8rem 0 0.4rem;
}

.chat_group_modal_card input[type="text"] {
    width: 100%;
    background: var(--tm-panel2, #1d1d2b);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
}

.chat_group_friend_list {
    max-height: 18rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat_group_friend_item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.chat_group_friend_item img {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    object-fit: cover;
}

.chat_group_friend_item span {
    color: #fff;
}

.chat_group_modal_actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.team_section .upload_wrapper .upload-content .logo_upload span .logo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.broadcast_card .card_img .broadcast_4k_badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.2rem 0.8rem;
    background: linear-gradient(135deg, #c9a227, #f5d76e);
    color: #1a1200;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 0.4rem;
    line-height: 1.4;
}

.pagination_wraper .pagination ul a.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.pagination_wraper.v1 {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.pagination_wraper.v1 .custom_select {
    flex-shrink: 0;
}

.pagination_wraper.v1 .league_select {
    width: 19rem;
}

.pagination_wraper.v1 .page_select {
    width: auto;
    min-width: 10rem;
}

.pagination_wraper.v1 .page_select .select_btn {
    white-space: nowrap;
    gap: 0.6rem;
    height: 5.4rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.pagination_wraper.v1 .page_select .select_btn .selected {
    white-space: nowrap;
    line-height: 1;
}

.league_section_nv--tabs-only {
    margin-bottom: 2.4rem;
}

.league_section_nv--tabs-only .league_tab_links {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pagination_wraper.v1 {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .pagination_wraper.v1 .league_select {
        width: auto;
        min-width: 14rem;
        flex: 1 1 auto;
    }

    .pagination_wraper.v1 .page_select {
        min-width: 9rem;
        flex: 0 0 auto;
    }
}

.blog_section .blog_details .postDetails_content {
    margin-bottom: 4rem;
}

.blog_section .blog_details .postDetails_content > h3:not(:first-child) {
    margin-top: 4rem;
}

.blog_section .blog_details .postDetails_content h2,
.blog_section .blog_details .postDetails_content h3 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 130%;
    color: #F5F5F5;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.blog_section .blog_details .postDetails_content h2::before,
.blog_section .blog_details .postDetails_content h3::before {
    content: "";
    width: 0.8rem;
    height: 2rem;
    display: block;
    background: #DA232D;
    flex-shrink: 0;
}

.blog_section .blog_details .postDetails_content p,
.blog_section .blog_details .postDetails_content li {
    font-family: "Cooperative", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.03rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.6rem;
}

.blog_section .blog_details .postDetails_content ul,
.blog_section .blog_details .postDetails_content ol {
    padding-right: 1.6rem;
    margin-bottom: 1.6rem;
}

.blog_section .blog_details .postDetails_content img {
    max-width: 100%;
    height: auto;
    margin: 1.6rem 0;
}

.blog_section .blog_details .postDetails_content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .blog_section .blog_details .postDetails_content h2,
    .blog_section .blog_details .postDetails_content h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .blog_section .blog_details .postDetails_content p,
    .blog_section .blog_details .postDetails_content li {
        font-size: 1.4rem;
        letter-spacing: initial;
    }
}


/* Steam login button — reuses template .form_button shape, tinted Steam blue */
.steam_login_btn { background:#1b2838 !important; color:#fff !important; border-color:#2a475e !important; }
.steam_login_btn:hover { background:#2a475e !important; }

.oauth_btn--discord { background:#5865f2 !important; color:#fff !important; border-color:#7289da !important; }
.oauth_btn--discord:hover { background:#4752c4 !important; }
.oauth_btn--riot { background:#d13639 !important; color:#fff !important; border-color:#ff4655 !important; }
.oauth_btn--riot:hover { background:#b02a2d !important; }
.oauth_btn--epic { background:#2a2a2a !important; color:#fff !important; border-color:#444 !important; }
.oauth_btn--battlenet { background:#148eff !important; color:#fff !important; border-color:#00aeff !important; }
.oauth_btn--ea { background:#ff4747 !important; color:#fff !important; border-color:#ff6b6b !important; }
.oauth_btn--ubisoft { background:#0070ff !important; color:#fff !important; border-color:#3d9aff !important; }
.oauth_btn--playstation { background:#003791 !important; color:#fff !important; border-color:#0070d1 !important; }
.oauth_btn--xbox { background:#107c10 !important; color:#fff !important; border-color:#52b043 !important; }

.mobile_nav_guest .add_btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.6rem;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-size: 1.5rem;
}
.mobile_nav_guest .add_btn {
    flex: 1;
}

.offcanvas .icon_wraper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 2rem 3.2rem;
}
.offcanvas .icon_wraper .icon_btn,
.offcanvas .icon_wraper .language_dropdown {
    flex-shrink: 0;
    background: #080808;
}
.offcanvas .icon_wraper .icon_btn {
    width: 5rem;
    height: 5.2rem;
}
.offcanvas .icon_wraper .icon_btn > a,
.offcanvas .icon_wraper .icon_btn.dropdown > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
.offcanvas .icon_wraper .icon_btn > a:hover,
.offcanvas .icon_wraper .icon_btn.dropdown > a:hover {
    background: #323232;
}
.offcanvas .icon_wraper .icon_btn > a:hover [class*="border_"],
.offcanvas .icon_wraper .icon_btn.dropdown > a:hover [class*="border_"] {
    border-color: #fff;
}
.offcanvas .icon_wraper .icon_btn > a img,
.offcanvas .icon_wraper .icon_btn.dropdown > a img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.offcanvas .icon_wraper .icon_btn > a .notify_red {
    z-index: 2;
}
.offcanvas .icon_wraper .icon_btn > a [class*="border_"],
.offcanvas .icon_wraper .icon_btn.dropdown > a [class*="border_"] {
    z-index: 2;
    pointer-events: none;
}
.offcanvas .icon_wraper .language_dropdown .lang-toggle {
    width: 5rem;
    height: 5.2rem;
}
.offcanvas .icon_wraper .language_dropdown .lang-toggle img {
    width: 2.4rem;
    height: 1.75rem;
    object-fit: contain;
}

.offcanvas-body .profile_fixed {
    margin-top: 0;
    padding-bottom: 2rem;
}

.chat_toggle {
    margin-left: 1.6rem;
}
.chat_toggle a {
    width: 4rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
.chat_toggle a img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    display: block;
}
.chat_toggle a.is-active img,
.chat_toggle a:hover img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(93%) saturate(2476%) hue-rotate(343deg) brightness(93%) contrast(104%);
}
.chat_toggle a:hover span,
.chat_toggle a.is-active span {
    border-color: #fff;
}
.chat_toggle .border_tl,
.chat_toggle .border_tr,
.chat_toggle .border_bl,
.chat_toggle .border_br {
    width: 0.8rem;
    height: 0.8rem;
    position: absolute;
    transition: 0.2s all ease;
    pointer-events: none;
}
.chat_toggle .border_tl {
    border-top: 1px solid #8C8681;
    border-left: 1px solid #8C8681;
    left: -0.1rem;
    top: -0.1rem;
}
.chat_toggle .border_tr {
    border-top: 1px solid #8C8681;
    border-right: 1px solid #8C8681;
    right: -0.1rem;
    top: -0.1rem;
}
.chat_toggle .border_bl {
    border-bottom: 1px solid #8C8681;
    border-left: 1px solid #8C8681;
    left: -0.1rem;
    bottom: -0.1rem;
}
.chat_toggle .border_br {
    border-bottom: 1px solid #8C8681;
    border-right: 1px solid #8C8681;
    right: -0.1rem;
    bottom: -0.1rem;
}

.tasks_section .tasks_right {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.tasks_section .tasks_right .level_box .level_links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.8rem;
    align-items: stretch;
    overflow: visible;
}

.tasks_section .tasks_right .level_box .level_links .level_link {
    min-width: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.tasks_section .tasks_right .level_box .level_links .level_link--hard {
    grid-column: 1;
    grid-row: 2;
}

.addaccount_thumb img{width:40px;height:40px;border-radius:8px;object-fit:cover;margin-inline-start:auto}

.admin_connection_card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--tm-border);
    border-radius: 10px;
    background: rgba(255,255,255,.02);
}
.admin_connection_card .tm_badge { margin-inline-start: 0; }
.admin_connection_actions {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Case pages */
.case_section { padding-top: 2.2rem; }
.case_section .row { --bs-gutter-x: 2.4rem; --bs-gutter-y: 2.4rem; }
.case_section .case_right,
.case_section .winner_card { background: #080808; position: relative; }
.case_section .case_right { padding: 1.8rem; }
@media (max-width: 767px) { .case_section .case_right { padding: 1.6rem 1.5rem; } }
.case_section .case_right .border_tl,
.case_section .winner_card .border_tl,
.case_section .live_box .border_tl { width: 1.2rem; height: 1.2rem; border-top: 1px solid #A11B1B; border-left: 1px solid #A11B1B; position: absolute; left: -0.05rem; top: -0.05rem; }
.case_section .case_right .border_tr,
.case_section .winner_card .border_tr,
.case_section .live_box .border_tr { width: 1.2rem; height: 1.2rem; border-top: 1px solid #A11B1B; border-right: 1px solid #A11B1B; position: absolute; right: -0.05rem; top: -0.05rem; }
.case_section .case_right .border_bl,
.case_section .winner_card .border_bl,
.case_section .live_box .border_bl { width: 1.2rem; height: 1.2rem; border-bottom: 1px solid #A11B1B; border-left: 1px solid #A11B1B; position: absolute; left: -0.05rem; bottom: -0.05rem; }
.case_section .case_right .border_br,
.case_section .winner_card .border_br,
.case_section .live_box .border_br { width: 1.2rem; height: 1.2rem; border-bottom: 1px solid #A11B1B; border-right: 1px solid #A11B1B; position: absolute; right: -0.05rem; bottom: -0.05rem; }
.case_section .case_title { margin-bottom: 2.4rem; }
.case_section .case_title h3 { font-size: 2.4rem; line-height: 130%; color: #fff; margin-bottom: 1.2rem; }
.case_section .case_title p { font-family: "Heebo", sans-serif; font-size: 1.6rem; line-height: 160%; color: rgba(255,255,255,.8); }
.case_section .case_wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 767px) { .case_section .case_wrapper { grid-template-columns: 1fr; } }
.case_section .case_empty { padding: 2rem; color: rgba(255,255,255,.7); font-family: "Heebo", sans-serif; font-size: 1.6rem; grid-column: 1 / -1; }
.case_section .case_box { background-image: url("../img/case-boxbg.png"); background-repeat: no-repeat; background-position: center; background-size: cover; padding: 1.8rem; position: relative; }
.case_section .case_box.is-active { outline: 1px solid rgba(240,39,49,.45); }
.case_section .case_box .border_tl,
.case_section .case_box .border_tr,
.case_section .case_box .border_bl,
.case_section .case_box .border_br { width: 1.2rem; height: 1.2rem; position: absolute; transition: .2s all ease; }
.case_section .case_box .border_tl { border-top: 1px solid #A11B1B; border-left: 1px solid #A11B1B; left: -0.05rem; top: -0.05rem; }
.case_section .case_box .border_tr { border-top: 1px solid #A11B1B; border-right: 1px solid #A11B1B; right: -0.05rem; top: -0.05rem; }
.case_section .case_box .border_bl { border-bottom: 1px solid #A11B1B; border-left: 1px solid #A11B1B; left: -0.05rem; bottom: -0.05rem; }
.case_section .case_box .border_br { border-bottom: 1px solid #A11B1B; border-right: 1px solid #A11B1B; right: -0.05rem; bottom: -0.05rem; }
.case_section .case_box .case_img img { width: 20rem; display: block; margin: 0 auto; }
.case_section .case_box .case_badge { position: absolute; top: 2.5rem; right: 0; min-width: 6.8rem; height: 3.2rem; background: linear-gradient(to right, #339E42, #151E16); border-radius: 14.3rem 0 0 14.3rem; padding: .1rem; }
.case_section .case_box .case_badge span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: .6rem; padding-inline: .9rem 1rem; background: linear-gradient(to right, #245B2C, #161D17); color: rgba(255,255,255,.8); border-radius: 14.3rem 0 0 14.3rem; font-size: 1.6rem; }
.case_section .case_box .case_badge span img { width: 1.8rem; }
.case_section .case_box .case_badge.badge_v3 { background: linear-gradient(to right, #BF1F27, #050101); }
.case_section .case_box .case_badge.badge_v3 span { background: linear-gradient(to right, #7A1D21, #221717); padding-inline: 1rem; }
.case_section .case_box .case_count_badge { position: absolute; top: 1.2rem; left: 1.2rem; min-width: 2.8rem; height: 2.8rem; padding: 0 .8rem; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: 1.4rem; color: #fff; }
.case_section .case_box .case_heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 1.2rem; }
.case_section .case_box .case_heading h4 { font-size: 2.4rem; line-height: 130%; color: #fff; margin: 0; }
.case_section .case_box .case_heading p { margin: 0; font-family: "Heebo", sans-serif; font-size: 1.6rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .6rem; }
.case_section .case_box .case_heading p img { width: 1.8rem; }
.case_section .case_box .case_coins { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.case_section .case_box .case_coins a { width: 6.5rem; height: 6.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.1); background-image: url("../img/coinbox-bg.png"); background-repeat: no-repeat; background-position: center; background-size: cover; color: #F02731; text-decoration: none; font-size: 1.6rem; transition: .2s all ease; }
.case_section .case_box .case_coins a img { width: 4.5rem; }
.case_section .case_box .case_coins a.coin_text { background: #121212; }
.case_section .case_box .case_coins a.active { border-color: #F56E75; }
.case_section .case_box .case_actions { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.case_section .case_box .case_actions form { margin: 0; }
.case_section .case_box .case_view_btn,
.case_section .case_box .case_open_btn { min-width: 10.5rem; height: 3.6rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; line-height: 1; border: .6px solid rgba(255,255,255,.1); transition: .2s all ease; text-decoration: none; cursor: pointer; }
.case_section .case_box .case_view_btn { color: #F5F6FF; background: #1C1C1C; }
.case_section .case_box .case_view_btn:hover { opacity: .85; color: #F5F6FF; }
.case_section .case_box .case_open_btn { color: #F5F6FF; background: #F02731; }
.case_section .case_box .case_open_btn:hover { opacity: .85; }
.case_section .case_box.case_box--daily .case_open_btn { border: 0; font-family: inherit; }
.case_section .case_box.case_box--daily.daily_claimed { opacity: .72; }
.case_section .case_box .case_daily_cooldown {
    width: 100%;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    padding: .8rem 1.2rem;
    background: rgba(0, 0, 0, .45);
    border: .6px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .75);
    font-family: "Heebo", sans-serif;
    font-size: 1.5rem;
    text-align: center;
}
.case_section .case_box .case_daily_cooldown strong {
    color: #fff;
    font-weight: 600;
}
.case_section .winner_card .card_title { border-bottom: .6px solid rgba(255,255,255,.1); padding: 1.8rem; display: flex; align-items: center; gap: 1rem; }
.case_section .winner_card .card_title h4 { font-size: 2.2rem; line-height: 130%; color: #fff; margin: 0; }
.case_section .winner_card .card_title img { width: 2.8rem; }
.case_section .winner_card .card_title .live_green { width: 1.2rem; height: 1.2rem; display: block; background: #37AE48; border: 1px solid #297C35; border-radius: 50%; margin-right: auto; }
.case_section .winner_wrapper { display: flex; align-items: stretch; gap: 1.2rem; padding: 1.8rem; }
.case_section .winner_wrapper .winner_box { background-image: url("../img/winner-boxbg.png"); background-repeat: no-repeat; background-position: center; background-size: cover; border: 1px solid #2A2A2A; width: 10.5rem; text-align: center; padding: .56rem 1.2rem .8rem; }
.case_section .winner_wrapper .winner_box p { font-size: 1.2rem; color: rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; gap: .4rem; margin-bottom: .5rem; }
.case_section .winner_wrapper .winner_box .winner_profile img { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto .5rem; }
.case_section .winner_wrapper .winner_box h4 { font-size: 1.6rem; color: #F02731; margin: 0; }
.case_section .live_card { margin-top: 2rem; }
.case_section .live_wraper { padding: 1rem .8rem 1.2rem; }
.case_section .live_box { background: #1C1C1C; padding: 1.6rem; margin-bottom: 1.2rem; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.case_section .live_box:last-child { margin-bottom: 0; }
.case_section .live_item { display: flex; align-items: center; gap: 1.2rem; }
.case_section .live_item img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.case_section .live_text h4 { font-family: "Heebo", sans-serif; font-size: 2rem; line-height: 100%; color: #F9F9FF; margin-bottom: .8rem; display: flex; align-items: center; flex-wrap: wrap; }
.case_section .live_text h4 span { font-family: "Heebo", sans-serif; font-size: 1.4rem; line-height: 160%; color: #F02731; }
.case_section .live_text h4 .bullet { width: .3rem; height: .3rem; display: inline-block; background: rgba(217,217,217,.7); border-radius: 50%; margin: 0 .8rem; }
.case_section .live_text p { font-family: "Heebo", sans-serif; font-size: 1.6rem; line-height: 100%; color: rgba(255,255,255,.7); margin: 0; }
.case_section .live_points { display: flex; align-items: center; gap: .6rem; }
.case_section .live_points img { width: 1.8rem; }
.case_section .live_points p { font-family: "Heebo", sans-serif; font-size: 1.6rem; line-height: 160%; color: rgba(255,255,255,.8); margin: 0; }
.case_roulette { position: relative; overflow: hidden; border: 1px solid rgba(240, 39, 49, 0.2); background: #0d0d0d; padding: 24px 0; margin-top: 1.6rem; min-height: 220px; direction: ltr; }
.case_roulette_track { display: flex; flex-direction: row; flex-wrap: nowrap; direction: ltr; gap: 16px; align-items: center; width: max-content; max-width: none; transform: translate3d(0, 0, 0); transition: none; will-change: transform; padding: 0 24px; }
.case_roulette_marker { position: absolute; inset: 0 auto 0 50%; width: 4px; background: linear-gradient(180deg, transparent 0%, #F02731 16%, #F02731 84%, transparent 100%); transform: translateX(-50%); z-index: 4; pointer-events: none; }
.case_roulette_card { width: 180px; min-width: 180px; max-width: 180px; flex: 0 0 180px; flex-shrink: 0; box-sizing: border-box; background: #131313; border: 1px solid rgba(255,255,255,.08); padding: 14px; text-align: center; transition: border-color .2s ease, box-shadow .2s ease; }
.case_roulette_card.is-winning { border-color: rgba(240, 39, 49, 0.65); box-shadow: 0 0 0 1px rgba(240, 39, 49, 0.35); }
.case_roulette_card img { width: 100%; height: 120px; object-fit: contain; border-radius: 8px; margin-bottom: 10px; background: #000; padding: 8px; }
.case_roulette_name { color: #fff; font-size: 1.5rem; line-height: 1.3; margin-bottom: 4px; }
.case_roulette_type { color: rgba(255,255,255,.65); font-size: 1.3rem; font-family: "Heebo", sans-serif; }
.case_roulette_actions { text-align: center; margin-top: 2rem; }
.case_roulette_actions p { font-family: "Heebo", sans-serif; font-size: 2rem; line-height: 150%; background: linear-gradient(278deg, #DE5709 3.38%, #E46912 22.95%, #F69929 63.01%, #FDAC33 77.92%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0 0 2rem; }
.case_roulette_actions .spin_btn { font-size: 1.6rem; color: #F5F6FF; background: #F02731; border: .6px solid rgba(255,255,255,.05); width: 16.2rem; height: 3.6rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; margin: 0 auto; transition: .2s all ease; cursor: pointer; }
.case_roulette_actions .spin_btn:hover { opacity: .85; }
@media (max-width: 767px) {
    .case_roulette_card { width: 150px; min-width: 150px; max-width: 150px; flex: 0 0 150px; flex-shrink: 0; padding: 12px; }
    .case_roulette_card img { height: 96px; }
    .case_roulette_actions p { font-size: 1.5rem; }
}
.rewards_box { background-image: url("../img/rewards-boxbg.png"); background-repeat: no-repeat; background-position: center; background-size: cover; padding: 6.7rem 1.5rem; text-align: center; }
.storeClient_section .storeClient_left .storeClient_shippingBox.storeClient_rewardsBox.active .storeClient_shippingDetails {
    max-height: none;
    overflow: visible;
}
@media (max-width: 767px) {
    .case_section .winner_wrapper { padding: 1.6rem 1.5rem; flex-wrap: wrap; }
    .case_section .winner_card .card_title { padding: 1.6rem 1.5rem; }
    .case_section .live_box { flex-direction: column; align-items: flex-start; }
    .rewards_box { padding: 5rem 1.5rem; }
}

.guide_section { padding-top: 4.2rem; }
.guide_section .guide_title { max-width: 45rem; width: 100%; margin: 0 auto; text-align: center; }
.guide_section .guide_title h3 { font-size: 2.4rem; line-height: 130%; color: #fff; margin-bottom: 0.8rem; }
.guide_section .guide_title p { font-family: "Heebo", sans-serif; font-size: 1.6rem; font-weight: 500; line-height: 160%; color: rgba(255,255,255,.8); text-align: center; }
.guide_section .guide_wrapper { padding-top: 3.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 991px) { .guide_section .guide_wrapper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .guide_section .guide_wrapper { grid-template-columns: 1fr; } }
.guide_section .guide_card { background: #000; border: 1px solid rgba(255,255,255,.1); padding: 1.2rem; position: relative; }
.guide_section .guide_card .border_tl { width: 1.6rem; height: 0.6rem; border-top: 1px solid #841B20; border-left: 1px solid #841B20; position: absolute; left: -0.1rem; top: -0.1rem; }
.guide_section .guide_card .border_tr { width: 1.6rem; height: 0.6rem; border-top: 1px solid #841B20; border-right: 1px solid #841B20; position: absolute; right: -0.1rem; top: -0.1rem; }
.guide_section .guide_card .border_bl { width: 1.6rem; height: 0.6rem; border-bottom: 1px solid #841B20; border-left: 1px solid #841B20; position: absolute; left: -0.1rem; bottom: -0.1rem; }
.guide_section .guide_card .border_br { width: 1.6rem; height: 0.6rem; border-bottom: 1px solid #841B20; border-right: 1px solid #841B20; position: absolute; right: -0.1rem; bottom: -0.1rem; }
.guide_section .guide_icon { width: 100%; height: 13rem; display: flex; align-items: center; justify-content: center; text-align: center; }
.guide_section .guide_icon img { width: 11rem; }
.guide_section .guide_text { padding-top: 1.2rem; text-align: center; }
.guide_section .guide_text h4 { font-size: 2rem; line-height: 140%; color: #fff; margin-bottom: 0.4rem; }
.guide_section .guide_text p { font-family: "Heebo", sans-serif; font-size: 1.6rem; line-height: 150%; color: rgba(245,246,255,.8); max-width: 27rem; width: 100%; margin: 0 auto; }

.notice_box { background: rgba(255,26,26,.1); padding: 2rem; margin-top: 4rem; position: relative; }
.notice_box .border_tl { width: 1.6rem; height: 0.7rem; border-top: 1px solid #841B20; border-left: 1px solid #841B20; position: absolute; left: -0.05rem; top: -0.05rem; }
.notice_box .border_tr { width: 1.6rem; height: 0.7rem; border-top: 1px solid #841B20; border-right: 1px solid #841B20; position: absolute; right: -0.05rem; top: -0.05rem; }
.notice_box .border_bl { width: 1.6rem; height: 0.7rem; border-bottom: 1px solid #841B20; border-left: 1px solid #841B20; position: absolute; left: -0.05rem; bottom: -0.05rem; }
.notice_box .border_br { width: 1.6rem; height: 0.7rem; border-bottom: 1px solid #841B20; border-right: 1px solid #841B20; position: absolute; right: -0.05rem; bottom: -0.05rem; }
.notice_box h4 { font-size: 2rem; font-weight: 700; line-height: 140%; color: #F02731; margin-bottom: 0.8rem; }
.notice_box p { font-family: "Heebo", sans-serif; font-size: 1.6rem; font-weight: 500; line-height: 160%; color: rgba(255,255,255,.8); max-width: 98.2rem; width: 100%; margin: 0; }

.tasks_section .mission_faq .accordion_item .atitle_text h4 .mission_type_badge,
.tasks_section .mission_faq .accordion_item .heading_text h4 .mission_type_badge {
    font-family: "Heebo", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: normal;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border-radius: 1px;
}

/* Premium missions — gold theme */
.tasks_section .mission_faq .accordion_item.accordion_item--premium {
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.14) 0%, rgba(8, 8, 8, 1) 42%) !important;
    box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.28);
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .border_tl,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .border_tr,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .border_bl,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .border_br,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .border_tl,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .border_tr,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .border_bl,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .border_br {
    border-color: #D4A017 !important;
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .accordion_title .accordion_title_progress .aprogress_fill {
    border-color: rgba(212, 160, 23, 0.65) !important;
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .accordion_title .accordion_title_progress .aprogress_fill .aprogress_bar {
    background: linear-gradient(to left, #FDAC33 0%, #F69929 45%, #DE5709 100%) !important;
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody {
    box-shadow: inset 0 0 6rem rgba(212, 160, 23, 0.08);
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .faqmission_buttonWrap .faqmission_buttonBox {
    background: rgba(212, 160, 23, 0.12);
    border-color: rgba(212, 160, 23, 0.38);
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .faqmission_buttonWrap .faqmission_buttonBox a h4 {
    background: linear-gradient(278deg, #DE5709 3.38%, #E46912 22.95%, #F69929 63.01%, #FDAC33 77.92%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .faqmission_buttonWrap .faqmission_buttonBox:not(:last-child) a {
    background: rgba(212, 160, 23, 0.04);
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .switch_btn a,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .switch_btn button {
    background: linear-gradient(90deg, #3d2e00 0%, #C9952C 100%);
    border-color: rgba(253, 172, 51, 0.35);
    box-shadow: 0 0.2rem 1.77rem 0 rgba(249, 204, 97, 0.45) inset;
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .mission_faqbody .switch_btn a:hover {
    background: linear-gradient(90deg, #4a3800 0%, #D4A017 100%);
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .atitle_text h4 .premium_gold_badge,
.tasks_section .mission_faq .accordion_item.accordion_item--premium .heading_text h4 .premium_gold_badge {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem !important;
    border-radius: 1px;
}

.tasks_section .mission_faq .accordion_item.accordion_item--premium .accordion_icon img {
    filter: sepia(1) saturate(4) hue-rotate(5deg) brightness(1.05);
}

/* Daily free box on /cases — match home daily_box link */
.case_daily_wrapper {
    margin-bottom: 18px;
}

.case_daily_wrapper .daily_box form,
.case_daily_wrapper .daily_box .daily_box_form {
    margin: 0;
    width: 100%;
}

.alert_wrapper .daily_box .daily_claim_btn,
.case_daily_wrapper .daily_box .daily_claim_btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(278deg, rgba(222, 87, 9, 0.1) 3.38%, rgba(228, 105, 18, 0.1) 22.95%, rgba(246, 153, 41, 0.1) 63.01%, rgba(253, 172, 51, 0.1) 77.92%);
    padding: 1.2rem 2rem;
    position: relative;
    border: none;
    cursor: pointer;
    text-align: inherit;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.alert_wrapper .daily_box .daily_claim_btn > img,
.case_daily_wrapper .daily_box .daily_claim_btn > img {
    width: 4.5rem;
    flex-shrink: 0;
}

.alert_wrapper .daily_box .daily_claim_btn .daily_item,
.case_daily_wrapper .daily_box .daily_claim_btn .daily_item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert_wrapper .daily_box .daily_claim_btn .daily_item .daily_text h4,
.case_daily_wrapper .daily_box .daily_claim_btn .daily_item .daily_text h4 {
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: 0.1rem;
    background: linear-gradient(278deg, #DE5709 3.38%, #E46912 22.95%, #F69929 63.01%, #FDAC33 77.92%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alert_wrapper .daily_box .daily_claim_btn .daily_item .daily_text p,
.case_daily_wrapper .daily_box .daily_claim_btn .daily_item .daily_text p {
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.048rem;
    text-transform: capitalize;
    color: #FFF;
}

.alert_wrapper .daily_box .daily_claim_btn .daily_item .daily_text p span,
.case_daily_wrapper .daily_box .daily_claim_btn .daily_item .daily_text p span {
    color: #37AE48;
}

.alert_wrapper .daily_box .daily_claim_btn .daily_item img,
.case_daily_wrapper .daily_box .daily_claim_btn .daily_item img {
    width: 2rem;
}

.alert_wrapper .daily_box .daily_claim_btn .border_tl,
.case_daily_wrapper .daily_box .daily_claim_btn .border_tl {
    width: 1rem;
    height: 1rem;
    border-top: 1px solid #EA7819;
    border-left: 1px solid #EA7819;
    position: absolute;
    left: -0.1rem;
    top: -0.1rem;
    transition: 0.2s all ease;
}

.alert_wrapper .daily_box .daily_claim_btn .border_tr,
.case_daily_wrapper .daily_box .daily_claim_btn .border_tr {
    width: 1rem;
    height: 1rem;
    border-top: 1px solid #EA7819;
    border-right: 1px solid #EA7819;
    position: absolute;
    right: -0.1rem;
    top: -0.1rem;
    transition: 0.2s all ease;
}

.alert_wrapper .daily_box .daily_claim_btn .border_bl,
.case_daily_wrapper .daily_box .daily_claim_btn .border_bl {
    width: 1rem;
    height: 1rem;
    border-bottom: 1px solid #EA7819;
    border-left: 1px solid #EA7819;
    position: absolute;
    left: -0.1rem;
    bottom: -0.1rem;
    transition: 0.2s all ease;
}

.alert_wrapper .daily_box .daily_claim_btn .border_br,
.case_daily_wrapper .daily_box .daily_claim_btn .border_br {
    width: 1rem;
    height: 1rem;
    border-bottom: 1px solid #EA7819;
    border-right: 1px solid #EA7819;
    position: absolute;
    right: -0.1rem;
    bottom: -0.1rem;
    transition: 0.2s all ease;
}

.alert_wrapper .daily_box .daily_claim_btn:hover span,
.case_daily_wrapper .daily_box .daily_claim_btn:hover span {
    transform: scale(1.2);
}

.case_daily_wrapper .daily_claimed {
    opacity: .65;
    cursor: default;
}

.streamDetails_fluid .main_wrapper .streamDetails_maincontent {
    width: 87.7%;
    margin-right: auto;
}

@media (max-width: 991px) {
    .streamDetails_fluid .main_wrapper {
        padding-bottom: 17rem;
    }

    .streamDetails_fluid .main_wrapper .streamDetails_maincontent {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .streamDetails_fluid .main_wrapper {
        padding-bottom: 13rem;
    }
}

.streamDetails_section .streamDetails_left {
    background: transparent;
    padding: 2rem 0 2rem 2rem;
    min-height: auto;
    transition: max-width 0.3s ease, width 0.3s ease, padding 0.3s ease;
}

.streamDetails_section .streamDetails_left .stream_chat_box {
    margin: 0;
    height: calc(100vh - 12rem);
    display: flex;
    flex-direction: column;
}

.streamDetails_section .streamDetails_left .stream_chat_box .chat_box {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.streamDetails_section .streamDetails_left .stream_chat_box .chat_panelWraper {
    flex: 1;
    min-height: 0;
    padding-bottom: 0;
}

.streamDetails_section .streamDetails_left .stream_chat_box .chat_panel {
    height: 100%;
    max-height: none;
}

.streamDetails_section .streamDetails_left .stream_chat_notice {
    margin: 0;
    font-family: "Cooperative", sans-serif;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.streamDetails_section .streamDetails_left .stream_chat_notice a {
    color: #EF8721;
}

.streamDetails_section .streamDetails_left .chat_item {
    position: relative;
}

.streamDetails_section .streamDetails_left .stream_chat_mod {
    display: none;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.4rem;
}

.streamDetails_section .streamDetails_left .chat_item:hover .stream_chat_mod {
    display: flex;
}

.streamDetails_section .streamDetails_left .stream_chat_mod_btn {
    font-family: "Cooperative", sans-serif;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.2rem;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.streamDetails_section .streamDetails_left .stream_chat_mod_btn:hover {
    color: #fff;
    border-color: #F02731;
}

.joinTournament_wraper .chat_item {
    position: relative;
}

.joinTournament_wraper .stream_chat_mod {
    display: none;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.4rem;
}

.joinTournament_wraper .chat_item:hover .stream_chat_mod {
    display: flex;
}

.joinTournament_wraper .stream_chat_mod_btn {
    font-family: "Cooperative", sans-serif;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.2rem;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.joinTournament_wraper .stream_chat_mod_btn:hover {
    color: #fff;
    border-color: #F02731;
}

.joinTournament_wraper .tournament_chat_heading_img {
    border-color: #9C1C1D;
    overflow: hidden;
}

.joinTournament_wraper .tournament_chat_heading_img img {
    object-fit: cover;
}

.joinTournament_wraper .tournament_chat_lock_btn {
    font-family: "Cooperative", sans-serif;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(240, 39, 49, 0.55);
    border-radius: 0.2rem;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    white-space: nowrap;
}

.joinTournament_wraper .tournament_chat_lock_btn.is-locked {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.7);
}

.joinTournament_wraper .tournament_chat_lock_btn:hover {
    color: #fff;
    border-color: #F02731;
}

.streamDetails_section .streamDetails_left.is-collapsed {
    max-width: 5.6rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.streamDetails_section .streamDetails_left.is-collapsed .stream_chat_box .chat_box > :not(.chat_heading) {
    display: none !important;
}

.streamDetails_section .streamDetails_left.is-collapsed .stream_chat_box .chat_heading_text {
    display: none;
}

.streamDetails_section .streamDetails_left.is-collapsed .chat_collapse img {
    transform: rotate(180deg);
}

.streamDetails_section .streamDetails_right {
    transition: max-width 0.3s ease, width 0.3s ease, padding 0.3s ease;
}

.streamDetails_section .streamDetails_right.is-collapsed {
    max-width: 5.6rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.streamDetails_section .streamDetails_right.is-collapsed .channel_wraper {
    display: none !important;
}

.streamDetails_section .streamDetails_right.is-collapsed .streamDetails_title h3 {
    display: none;
}

.streamDetails_section .streamDetails_right.is-collapsed .filter_collapse img {
    transform: rotate(180deg);
}

.streamDetails_section .streamDetails_middle .video_details .follow_btn .stream_like_btn {
    width: 11rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    position: relative;
    font-family: "Cooperative", sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    color: #F9F9FF;
    border: 0.6px solid rgba(255, 255, 255, 0.1);
    background: rgba(240, 39, 49, 0.35);
    box-shadow: none;
    cursor: pointer;
    padding: 0 0.8rem;
}

.streamDetails_section .streamDetails_middle .video_details .follow_btn .stream_like_btn img {
    width: 1.8rem;
}

.streamDetails_section .streamDetails_middle .video_details .follow_btn .stream_like_btn #streamLikeCount {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
}

.streamDetails_section .streamDetails_middle .video_details .follow_btn .stream_like_btn.is-liked {
    background: #F02731;
    box-shadow: 0 0.3rem 1rem 0 rgba(249, 204, 97, 0.45) inset;
}

.streamDetails_section .streamDetails_middle .video_details .follow_btn .stream_like_btn.is-liked #streamLikeCount {
    color: #fff;
    font-weight: 500;
}

/* Brand OAuth buttons: original monochrome brand icons, consistent size */
.form_button_group .oauth_btn img,
.form_button_group .steam_login_btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: none; /* icons are already white */
}
.steam_login_btn { background:#1b2838 !important; color:#fff !important; border-color:#2a475e !important; }
.steam_login_btn:hover { background:#2a475e !important; }
.oauth_btn--epic:hover { background:#3d3d3d !important; }
.oauth_btn--battlenet:hover { background:#0d76d1 !important; }
.oauth_btn--ea:hover { background:#e03535 !important; }
.oauth_btn--ubisoft:hover { background:#005ed9 !important; }
.oauth_btn--playstation:hover { background:#00296b !important; }
.oauth_btn--xbox:hover { background:#0e6b0e !important; }

.collaboration_section .collaboration_wraper {
    display: flex;
    justify-content: center;
}

.collaboration_section .collaboration_wraper .collaboration_slider {
    width: 100%;
    max-width: 120rem;
    margin-inline: auto;
    overflow: hidden;
}

.collaboration_section .collaboration_wraper .collaboration_slider .swiper-slide {
    width: 18rem;
}

.league_section_nv .league_body .league_awards .awards_card .awards_img {
    width: 10rem;
    height: 10rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection_section .collection_wraper .collection_card .collection_cardImg .collection_cover_preview {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 0.2rem;
}

.collection_section .collection_wraper .collection_card .collection_cardImg .collection_cover_asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.collection_display_preview.has-profile-cover-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--collection-preview-cover-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.collection_display_preview.has-profile-cover-bg > * {
    position: relative;
    z-index: 1;
}

.profile_cover_preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile_cover_preview .profile_cover_asset {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    border-radius: 0.4rem;
}

.profile_coverWrap .card_imgShape .card_img img.profile_cover_asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keep "ערוך קאבר" above cover banner layers so clicks always hit the link */
.edit_cover {
    position: relative;
    z-index: 5;
}
.edit_cover a {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/*
 * Modal stacking:
 * style.css sets `.modal { background: rgba(0,0,0,.7); z-index: 999999 }` WHILE
 * Bootstrap also injects `.modal-backdrop`. Keep modal shell transparent, restore
 * clickable dialogs, and sit ABOVE the fixed header (z-index 2026).
 */
.modal {
    background: transparent !important;
    pointer-events: none;
}
.modal.show {
    z-index: 2110 !important;
    pointer-events: auto;
}
.modal .modal-dialog {
    pointer-events: auto;
}
.modal-backdrop {
    z-index: 2100 !important;
}
.modal-backdrop.show ~ .modal-backdrop.show {
    display: none !important;
}

/* While a Bootstrap modal is open, keep the header under the overlay */
body.modal-open .header_section {
    z-index: 2090;
}

/* Player profile (client-page.html) — action buttons inside client_box */
.client_box .client_boxBtn {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.6rem;
}
/* Text actions sit side by side at an equal, content-based width (no stretch). */
.client_box .client_boxBtn > a:not(.warning_btn),
.client_box .client_boxBtn_form {
    flex: 0 0 auto;
}
.client_box .client_boxBtn > a:not(.warning_btn) {
    white-space: nowrap;
}
.client_box .client_boxBtn_form {
    margin: 0;
    display: inline-flex;
}
.client_box .client_boxBtn_form button {
    width: 100%;
}
.client_box .client_boxBtn .warning_btn {
    flex: 0 0 auto;
}
.client_box .client_boxBtn_form button {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 120%;
    color: #F5F6FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 11.1rem;
    white-space: nowrap;
    padding: 0.8rem 1.5rem;
    position: relative;
    cursor: pointer;
}
.client_box .client_boxBtn_form button.active {
    background: #F02731;
}
.client_box .client_boxBtn_form button .border_tl,
.client_box .client_boxBtn_form button .border_tr,
.client_box .client_boxBtn_form button .border_bl,
.client_box .client_boxBtn_form button .border_br {
    width: 0.5rem;
    height: 0.5rem;
    position: absolute;
    transition: 0.2s all ease;
}
.client_box .client_boxBtn_form button .border_tl {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    left: -0.05rem;
    top: -0.05rem;
}
.client_box .client_boxBtn_form button .border_tr {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    right: -0.05rem;
    top: -0.05rem;
}
.client_box .client_boxBtn_form button .border_bl {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    left: -0.05rem;
    bottom: -0.05rem;
}
.client_box .client_boxBtn_form button .border_br {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    right: -0.05rem;
    bottom: -0.05rem;
}

/* Profile hero: cover is a fixed-height banner; card sits on its lower part */
.main_body.client_headerBanner {
    position: relative;
}
.main_body.client_headerBanner .edit_cover {
    position: relative;
    z-index: 5;
    padding: 2.4rem 0 0;
    text-align: left;
}
.main_body.client_headerBanner .edit_cover a {
    display: inline-flex;
    align-items: center;
}
/* Profile card sits slightly higher; cover extends further down behind it */
.main_body.client_headerBanner .client_section {
    position: relative;
    z-index: 2;
    margin-top: 18rem;
    padding-top: 0;
}
.main_body.client_headerBanner:not(:has(.edit_cover)) .client_section {
    margin-top: 18rem;
    padding-top: 0;
}
@media (max-width: 991px) {
    .main_body.client_headerBanner .client_section,
    .main_body.client_headerBanner:not(:has(.edit_cover)) .client_section {
        margin-top: 13rem;
    }
}

.collection_cover_thumb {
    width: 4.8rem;
    height: 2.4rem;
    object-fit: cover;
    border-radius: 0.2rem;
}

.collection_modal_empty {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.4rem;
    margin: 0 0 1.2rem;
}

.collection_empty_filter {
    margin-top: 1rem;
}

.collection_empty_filter .collection_cardText a {
    color: #f02731;
}

.league_section_nv .league_body .league_awards .awards_card .awards_img img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
}

.league_section_nv .league_upper .league_item_nv .league_switch.is_locked {
    opacity: 0.72;
    cursor: not-allowed;
}

.league_section_nv .league_upper .league_item_nv .league_switch.is_locked .switch .slider {
    cursor: not-allowed;
    opacity: 0.85;
}

.league_section_nv .league_upper .league_item_nv .league_switch.is_locked p:last-of-type {
    opacity: 0.55;
}

/* —— lobbies page section titles —— */
.lobbies_section_title {
    padding-top: 1.2rem;
    padding-bottom: 0.4rem;
}

.lobbies_section_title h2 {
    font-size: 2.4rem;
}

.lobbies_section_title_servers {
    padding-top: 3.2rem;
}

/* —— גאטרים אונליין: compact gather rows —— */
.allTournaments_table_section .allTournaments_table .table_row.gather_row {
    padding: 1.2rem 1.6rem;
    gap: 2rem;
    min-height: 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_details {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 42%;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_details .data_img {
    flex-shrink: 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_details .data_img img {
    width: 10.5rem;
    height: 6.8rem;
    display: block;
    object-fit: cover;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_details .data_text {
    text-align: right;
    min-width: 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .league_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .league_badge img {
    width: auto;
    height: 2rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_text h3 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_text h3 a {
    color: inherit;
    text-decoration: none;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_text h3 a:hover {
    color: #f02731;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .data_text h4 {
    font-family: "Cooperative", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    color: #cfcfcf;
    margin: 0.2rem 0 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_meta {
    flex: 0 0 auto;
    text-align: center;
    min-width: 14rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_meta p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
    color: #cfcfcf;
    margin: 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_meta span {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #b7b7b7;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_fee {
    flex: 0 0 auto;
    min-width: 8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_fee .coin {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_fee.is_free span {
    font-size: 1.2rem;
    font-weight: 400;
    background: #373737;
    width: 8.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join {
    flex: 0 0 auto;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9.6rem;
    padding: 0.6rem 2rem;
    font-size: 1.4rem;
    font-weight: 400;
    font-family: inherit;
    color: #f5f6ff;
    background: #080808;
    border: 1px solid #212121;
    text-decoration: none;
    cursor: pointer;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_tl,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_tr,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_bl,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_br,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn .border_tl,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn .border_tr,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn .border_bl,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn .border_br {
    width: 0.8rem;
    height: 0.6rem;
    position: absolute;
    transition: 0.2s all ease;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_tl {
    border-top: 1px solid #bcbcbc;
    border-left: 1px solid #bcbcbc;
    left: -0.05rem;
    top: -0.05rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_tr {
    border-top: 1px solid #bcbcbc;
    border-right: 1px solid #bcbcbc;
    right: -0.05rem;
    top: -0.05rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_bl {
    border-bottom: 1px solid #bcbcbc;
    border-left: 1px solid #bcbcbc;
    left: -0.05rem;
    bottom: -0.05rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a .border_br {
    border-bottom: 1px solid #bcbcbc;
    border-right: 1px solid #bcbcbc;
    right: -0.05rem;
    bottom: -0.05rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join a:hover,
.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn:hover {
    border-color: #84151b;
    color: #fff;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row .gather_join button.gather_join_btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .gather_live_badge {
    display: inline-flex;
    align-items: center;
    background: #f02731;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.2rem 0.7rem;
    margin-left: 0.6rem;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .data_details .data_img {
    border: none;
    background: transparent;
    width: auto;
    height: auto;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .data_details .data_img img {
    width: 4.8rem;
    height: 4.8rem;
    object-fit: contain;
    display: block;
}

.gather_join_modal .gather_join_modal_body {
    padding: 1.2rem 0.4rem 0.4rem;
    text-align: center;
}

.gather_join_modal .gather_join_modal_title h3 {
    margin: 0 0 0.4rem;
    color: #fff;
    font-size: 2.2rem;
}

.gather_join_modal .gather_join_modal_title p {
    margin: 0 0 1.6rem;
    color: #cfcfcf;
    font-size: 1.5rem;
}

.gather_join_modal .gather_join_details {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
    text-align: right;
}

.gather_join_modal .gather_join_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2b2b2b;
}

.gather_join_modal .gather_join_row span {
    color: #8f8f8f;
    font-size: 1.3rem;
}

.gather_join_modal .gather_join_row strong {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

.gather_join_modal .gather_copy_value {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.gather_join_modal .gather_copy_value img {
    width: 1.6rem;
    height: 1.6rem;
    opacity: 0.8;
}

.gather_join_modal .gather_copy_value.is_copied strong {
    color: #2ecc71;
}

.gather_join_modal .gather_join_hint {
    margin: 0 0 1.6rem;
    color: #b7b7b7;
    font-size: 1.3rem;
}

.gather_join_modal .gather_join_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.gather_join_modal .gather_join_actions a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14rem;
    padding: 1rem 1.6rem;
    font-size: 1.5rem;
    color: #fff;
    background: #251011;
    border: 1px solid #62171b;
    text-decoration: none;
}

.gather_join_modal .gather_join_actions a.active {
    background: #f02731;
    border-color: #f02731;
}

.gather_join_modal .gather_join_actions a:hover {
    opacity: 0.92;
}

.gather_room {
    display: grid;
    gap: 2rem;
    padding-bottom: 4rem;
}

.gather_room_stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1.2rem;
}

.gather_stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2b2b2b;
    padding: 1.4rem 1.6rem;
}

.gather_stat span {
    display: block;
    color: #8f8f8f;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.gather_stat strong {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
}

.gather_room_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.gather_ready_ok {
    color: #2ecc71;
    font-size: 1.5rem;
}

.gather_players_panel,
.gather_live_panel,
.gather_teams {
    background: rgba(18, 12, 12, 0.9);
    border: 1px solid #2b2b2b;
    padding: 1.6rem;
}

.gather_players_panel h3,
.gather_live_panel h3,
.gather_team h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 1.2rem;
}

.gather_live_panel_head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.gather_live_panel_head h3 {
    margin: 0;
}

.gather_live_meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    color: #b7b7b7;
    font-size: 1.4rem;
}

.gather_live_meta .server_status_dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #666;
    box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.2);
}

.gather_live_meta.is_online .server_status_dot {
    background: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.gather_live_meta.is_offline .server_status_dot {
    background: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.gather_live_scoreboard {
    margin-top: 0.4rem;
}

.gather_live_panel.server_live_ui .server_players_panel {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem 1.4rem;
}

.gather_players_grid,
.gather_teams {
    display: grid;
    gap: 1.2rem;
}

.gather_teams {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    background: transparent;
    border: none;
    padding: 0;
}

.gather_team {
    background: rgba(18, 12, 12, 0.9);
    border: 1px solid #2b2b2b;
    padding: 1.6rem;
}

.gather_team_a {
    border-color: rgba(90, 160, 255, 0.35);
}

.gather_team_b {
    border-color: rgba(230, 170, 70, 0.35);
}

.gather_result_banner {
    display: grid;
    gap: 1.4rem;
    margin: 0 0 2rem;
    padding: 1.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(240, 39, 49, 0.18), rgba(255, 255, 255, 0.03));
    text-align: center;
}

.gather_result_banner[hidden] {
    display: none !important;
}

.gather_result_headline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.8rem 1.4rem;
}

.gather_result_banner strong {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.gather_result_banner .gather_result_score {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.gather_result_banner .gather_result_sub {
    color: #b7b7b7;
    font-size: 1.35rem;
    width: 100%;
}

.gather_result_players {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.4rem;
}

.gather_result_player {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 12rem;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gather_result_player img {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.gather_result_player span {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 600;
}

.gather_result_player.is_captain {
    border-color: rgba(255, 215, 120, 0.45);
}

.gather_result_player.is_captain span::after {
    content: ' · קפטן';
    color: #ffd76a;
    font-size: 1.15rem;
    font-weight: 500;
}

.gather_result_players_empty {
    margin: 0;
    color: #b7b7b7;
    font-size: 1.35rem;
}

.gather_result_banner.is_winner_a {
    border-color: rgba(142, 197, 255, 0.45);
    background: linear-gradient(135deg, rgba(80, 140, 220, 0.22), rgba(255, 255, 255, 0.03));
}

.gather_result_banner.is_winner_b {
    border-color: rgba(255, 201, 120, 0.45);
    background: linear-gradient(135deg, rgba(200, 140, 40, 0.22), rgba(255, 255, 255, 0.03));
}

.gather_teams_score {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    column-gap: 0.55rem;
    row-gap: 0.45rem;
    justify-items: center;
    align-items: center;
    align-self: center;
    min-width: 10rem;
    padding: 1.4rem 1.2rem;
    background: rgba(18, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.gather_teams_score_value {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.gather_teams_score_value[data-gather-team-score="a"] { grid-column: 1; grid-row: 1; color: #8ec5ff; }
.gather_teams_score_sep {
    grid-column: 2;
    grid-row: 1;
    color: #8a8a8a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.gather_teams_score_value[data-gather-team-score="b"] { grid-column: 3; grid-row: 1; color: #ffc978; }

.gather_teams_score_label {
    grid-column: 1 / -1;
    grid-row: 2;
    color: #b7b7b7;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

    .gather_teams_score {
        order: -1;
        min-width: 0;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem 1.2rem;
    }

    .gather_teams_score_label {
        width: 100%;
        text-align: center;
    }
}

.gather_player_card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gather_player_card img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
}

.gather_player_card strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
}

.gather_player_card span,
.gather_player_card em {
    color: #b7b7b7;
    font-size: 1.3rem;
    font-style: normal;
}

.gather_player_card em {
    color: #2ecc71;
    margin-right: 0.6rem;
}

.gather_team_side {
    color: #8a8a8a;
    font-size: 1.2rem;
    font-weight: 500;
    margin-inline-start: 0.4rem;
}

.gather_player_site {
    display: inline-block;
    color: #9ec1ff;
    font-size: 1.25rem;
    margin-inline-start: 0.45rem;
}

.gather_player_site.gather_player_unlinked {
    color: #8a8a8a;
}

.gather_player_stats {
    display: block;
    color: #b7b7b7;
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.gather_player_card.is_pending {
    opacity: 0.75;
}

.gather_team_empty {
    margin: 0;
    color: #8a8a8a;
    font-size: 1.35rem;
    padding: 0.6rem 0;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row.gather_row_empty {
    justify-content: center;
    padding: 3.2rem 1.6rem;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row.gather_row_empty .data_details {
    max-width: none;
    justify-content: center;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row.gather_row_empty .data_text {
    text-align: center;
}

.allTournaments_table_section .allTournaments_table .table_row.gather_row.gather_row_empty .data_text p {
    margin-top: 0.6rem;
    font-size: 1.4rem;
    color: #b7b7b7;
}

@media (max-width: 991px) {
    .allTournaments_table_section .allTournaments_table .table_row.gather_row {
        gap: 1.2rem;
        padding: 1.2rem;
    }

    .allTournaments_table_section .allTournaments_table .table_row.gather_row .data_details {
        max-width: 36%;
    }
}

.footer_section .copyright_item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    direction: ltr; /* logo left, copyright right */
}

.footer_section .copyright_item p {
    margin: 0;
    white-space: nowrap;
    order: 2;
    text-align: right;
    direction: rtl;
}

.footer_section .copyright_item .footer_credit_link {
    order: 1;
}

@media (max-width: 767px) {
    .footer_section .copyright_item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
        text-align: center;
    }

    .footer_section .copyright_item p {
        order: 0;
        text-align: center;
        white-space: normal;
    }

    .footer_section .copyright_item .footer_credit_link {
        order: 0;
    }
}

.footer_section .copyright_item .footer_credit_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer_section .copyright_item .footer_credit_link:hover,
.footer_section .copyright_item .footer_credit_link:focus-visible {
    opacity: 1;
}

.footer_section .copyright_item .footer_credit_logo {
    display: block;
    width: auto;
    max-width: 16rem;
    height: 3.2rem;
    object-fit: contain;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .server_status_dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #6b6b6b;
    flex-shrink: 0;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row.is_online .server_status_dot {
    background: #2ecc71;
    box-shadow: 0 0 0.6rem rgba(46, 204, 113, 0.55);
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .gather_server_ip {
    min-width: 14rem;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .server_ip_copy {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #251011;
    border: 1px solid #62171b;
    color: #fff;
    font-size: 1.4rem;
    font-family: inherit;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: 0.2s all ease;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .server_ip_copy img {
    width: 1.6rem;
    height: 1.6rem;
    opacity: 0.85;
}

.allTournaments_table_section .allTournaments_table .table_row.server_row .server_ip_copy:hover,
.allTournaments_table_section .allTournaments_table .table_row.server_row .server_ip_copy.is_copied {
    background: #f02731;
    border-color: #f02731;
}

.allTournaments_table_section .allTournaments_table .server_block,
.server_live_ui .server_block {
    margin-bottom: 1.2rem;
}

.allTournaments_table_section .allTournaments_table .server_row_actions,
.server_live_ui .server_row_actions {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.allTournaments_table_section .allTournaments_table .server_players_toggle,
.server_live_ui .server_players_toggle {
    background: transparent;
    border: 1px solid #62171b;
    color: #f5f6ff;
    font-family: inherit;
    font-size: 1.4rem;
    padding: 0.65rem 1.2rem;
    cursor: pointer;
    transition: 0.2s all ease;
    white-space: nowrap;
}

.allTournaments_table_section .allTournaments_table .server_players_toggle:hover,
.server_live_ui .server_players_toggle:hover,
.allTournaments_table_section .allTournaments_table .server_players_toggle.is_open,
.server_live_ui .server_players_toggle.is_open {
    background: #251011;
    border-color: #f02731;
}

.allTournaments_table_section .allTournaments_table .server_players_toggle:disabled,
.server_live_ui .server_players_toggle:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.allTournaments_table_section .allTournaments_table .server_players_panel,
.server_live_ui .server_players_panel {
    border: 1px solid rgba(240, 39, 49, 0.28);
    border-top: none;
    background:
        linear-gradient(180deg, rgba(55, 16, 18, 0.55) 0%, rgba(18, 12, 12, 0.96) 40%),
        #120d0d;
    padding: 1.4rem 1.6rem 1.6rem;
}

.allTournaments_table_section .allTournaments_table .server_players_toolbar,
.server_live_ui .server_players_toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.allTournaments_table_section .allTournaments_table .server_players_toolbar strong,
.server_live_ui .server_players_toolbar strong {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

.allTournaments_table_section .allTournaments_table .server_players_toolbar span,
.server_live_ui .server_players_toolbar span {
    color: #cfcfcf;
    font-size: 1.3rem;
    direction: ltr;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #2b2b2b;
    padding: 0.35rem 0.8rem;
}

.allTournaments_table_section .allTournaments_table .server_scoreboard,
.server_live_ui .server_scoreboard {
    display: grid;
    gap: 1rem;
}

.allTournaments_table_section .allTournaments_table .server_scoreboard_teams,
.server_live_ui .server_scoreboard_teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 800px) {
    .allTournaments_table_section .allTournaments_table .server_scoreboard_teams,
    .server_live_ui .server_scoreboard_teams {
        grid-template-columns: 1fr;
    }
}

.allTournaments_table_section .allTournaments_table .server_team_card,
.server_live_ui .server_team_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 1rem 1rem;
    min-width: 0;
}

.allTournaments_table_section .allTournaments_table .server_team_ct,
.server_live_ui .server_team_ct,
.allTournaments_table_section .allTournaments_table .server_team_a,
.server_live_ui .server_team_a {
    border-color: rgba(90, 160, 255, 0.35);
    background: linear-gradient(180deg, rgba(40, 80, 140, 0.22), rgba(255, 255, 255, 0.02));
}

.allTournaments_table_section .allTournaments_table .server_team_t,
.server_live_ui .server_team_t,
.allTournaments_table_section .allTournaments_table .server_team_b,
.server_live_ui .server_team_b {
    border-color: rgba(230, 170, 70, 0.35);
    background: linear-gradient(180deg, rgba(120, 80, 20, 0.22), rgba(255, 255, 255, 0.02));
}

.allTournaments_table_section .allTournaments_table .server_team_unassigned,
.server_live_ui .server_team_unassigned {
    border-color: rgba(255, 255, 255, 0.1);
}

.allTournaments_table_section .allTournaments_table .server_team_head,
.server_live_ui .server_team_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.allTournaments_table_section .allTournaments_table .server_team_label,
.server_live_ui .server_team_label {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
}

.allTournaments_table_section .allTournaments_table .server_team_score,
.server_live_ui .server_team_score {
    min-width: 2.8rem;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.15rem 0.7rem;
}

.allTournaments_table_section .allTournaments_table .server_team_empty,
.server_live_ui .server_team_empty {
    margin: 0;
    color: #8a8a8a;
    font-size: 1.25rem;
    text-align: center;
    padding: 1rem 0.5rem;
}

.allTournaments_table_section .allTournaments_table .server_players_table,
.server_live_ui .server_players_table {
    display: grid;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    direction: ltr;
    text-align: left;
}

.allTournaments_table_section .allTournaments_table .server_players_head,
.server_live_ui .server_players_head,
.allTournaments_table_section .allTournaments_table .server_players_row,
.server_live_ui .server_players_row {
    display: grid;
    grid-template-columns: 2.6rem minmax(9rem, 1.3fr) repeat(7, minmax(3.8rem, 4.6rem)) 5.5rem;
    gap: 0.55rem;
    align-items: center;
    min-width: 56rem;
    direction: ltr;
}

.allTournaments_table_section .allTournaments_table .server_players_head,
.server_live_ui .server_players_head {
    color: #8a8a8a;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 0 1rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.2rem;
}

.allTournaments_table_section .allTournaments_table .server_players_head .col_score,
.server_live_ui .server_players_head .col_score,
.allTournaments_table_section .allTournaments_table .server_players_head .col_kills,
.server_live_ui .server_players_head .col_kills,
.allTournaments_table_section .allTournaments_table .server_players_head .col_deaths,
.server_live_ui .server_players_head .col_deaths,
.allTournaments_table_section .allTournaments_table .server_players_head .col_assists,
.server_live_ui .server_players_head .col_assists,
.allTournaments_table_section .allTournaments_table .server_players_head .col_hs,
.server_live_ui .server_players_head .col_hs,
.allTournaments_table_section .allTournaments_table .server_players_head .col_kda,
.server_live_ui .server_players_head .col_kda,
.allTournaments_table_section .allTournaments_table .server_players_head .col_adr,
.server_live_ui .server_players_head .col_adr,
.allTournaments_table_section .allTournaments_table .server_players_head .col_dmg,
.server_live_ui .server_players_head .col_dmg,
.allTournaments_table_section .allTournaments_table .server_players_head .col_time,
.server_live_ui .server_players_head .col_time,
.allTournaments_table_section .allTournaments_table .server_players_head .col_rank,
.server_live_ui .server_players_head .col_rank {
    text-align: center;
}

.allTournaments_table_section .allTournaments_table .server_players_row,
.server_live_ui .server_players_row {
    color: #fff;
    font-size: 1.45rem;
    min-height: 4.4rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.allTournaments_table_section .allTournaments_table .server_players_row:nth-child(odd),
.server_live_ui .server_players_row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.035);
}

.allTournaments_table_section .allTournaments_table .server_players_row:hover,
.server_live_ui .server_players_row:hover {
    background: rgba(240, 39, 49, 0.1);
    border-color: rgba(240, 39, 49, 0.25);
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_rank,
.server_live_ui .server_players_row .col_rank {
    color: #8f8f8f;
    font-size: 1.3rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_player,
.server_live_ui .server_players_row .col_player {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    overflow: hidden;
}

.allTournaments_table_section .allTournaments_table .server_players_row .player_name,
.server_live_ui .server_players_row .player_name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.allTournaments_table_section .allTournaments_table .server_players_row.is_mvp,
.server_live_ui .server_players_row.is_mvp {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.22), rgba(255, 215, 120, 0.08));
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 120, 0.15);
}

.allTournaments_table_section .allTournaments_table .server_players_row.is_mvp:hover,
.server_live_ui .server_players_row.is_mvp:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), rgba(255, 215, 120, 0.12));
    border-color: rgba(255, 215, 120, 0.7);
}

.allTournaments_table_section .allTournaments_table .server_players_row.is_mvp .player_name,
.server_live_ui .server_players_row.is_mvp .player_name {
    color: #ffe08a;
    font-weight: 700;
}

.player_mvp_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 0.55rem;
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(255, 215, 120, 0.65);
    background: rgba(212, 175, 55, 0.2);
    color: #ffd76a;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    white-space: nowrap;
}

.gather_player_card.is_mvp {
    margin-inline: -0.6rem;
    padding-inline: 0.6rem;
    border-bottom-color: rgba(212, 175, 55, 0.35);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 120, 0.05));
    box-shadow: inset 3px 0 0 #d4af37;
}

.gather_player_card.is_mvp strong {
    color: #ffe08a;
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_score,
.server_live_ui .server_players_row .col_score,
.allTournaments_table_section .allTournaments_table .server_players_row .col_kills,
.server_live_ui .server_players_row .col_kills,
.allTournaments_table_section .allTournaments_table .server_players_row .col_deaths,
.server_live_ui .server_players_row .col_deaths,
.allTournaments_table_section .allTournaments_table .server_players_row .col_assists,
.server_live_ui .server_players_row .col_assists,
.allTournaments_table_section .allTournaments_table .server_players_row .col_hs,
.server_live_ui .server_players_row .col_hs,
.allTournaments_table_section .allTournaments_table .server_players_row .col_kda,
.server_live_ui .server_players_row .col_kda,
.allTournaments_table_section .allTournaments_table .server_players_row .col_adr,
.server_live_ui .server_players_row .col_adr,
.allTournaments_table_section .allTournaments_table .server_players_row .col_dmg,
.server_live_ui .server_players_row .col_dmg,
.allTournaments_table_section .allTournaments_table .server_players_row .col_time,
.server_live_ui .server_players_row .col_time {
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #e8e8e8;
    font-size: 1.3rem;
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_score,
.server_live_ui .server_players_row .col_score,
.allTournaments_table_section .allTournaments_table .server_players_row .col_kills,
.server_live_ui .server_players_row .col_kills,
.allTournaments_table_section .allTournaments_table .server_players_row .col_assists,
.server_live_ui .server_players_row .col_assists,
.allTournaments_table_section .allTournaments_table .server_players_row .col_dmg,
.server_live_ui .server_players_row .col_dmg {
    color: #fff;
    font-weight: 600;
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_deaths,
.server_live_ui .server_players_row .col_deaths {
    color: #ffb4b4;
    font-weight: 600;
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_hs,
.server_live_ui .server_players_row .col_hs,
.allTournaments_table_section .allTournaments_table .server_players_row .col_kda,
.server_live_ui .server_players_row .col_kda,
.allTournaments_table_section .allTournaments_table .server_players_row .col_adr,
.server_live_ui .server_players_row .col_adr {
    color: #d6d6d6;
    font-weight: 500;
}

.allTournaments_table_section .allTournaments_table .server_players_row .col_time,
.server_live_ui .server_players_row .col_time {
    color: #b7b7b7;
    font-size: 1.25rem;
}

.allTournaments_table_section .allTournaments_table .server_players_empty,
.server_live_ui .server_players_empty {
    margin: 0;
    color: #b7b7b7;
    font-size: 1.4rem;
    text-align: center;
    padding: 1.6rem 0.8rem;
}

@media (max-width: 767px) {
    .allTournaments_table_section .allTournaments_table .server_row_actions,
    .server_live_ui .server_row_actions {
        width: 100%;
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .allTournaments_table_section .allTournaments_table .server_players_head,
    .server_live_ui .server_players_head,
    .allTournaments_table_section .allTournaments_table .server_players_row,
    .server_live_ui .server_players_row {
        grid-template-columns: 2.4rem minmax(8rem, 1.2fr) repeat(7, 3.2rem) 4.8rem;
        gap: 0.4rem;
        padding-inline: 0.6rem;
        min-width: 48rem;
    }

    .allTournaments_table_section .allTournaments_table .server_players_toolbar,
    .server_live_ui .server_players_toolbar {
        flex-wrap: wrap;
    }
}

.tournament_dropdownWraper:has(> .filter_wraper:only-child) {
    display: block;
    padding-top: 3.2rem;
}

.filter_wraper {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.filter_wraper a {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .filter_wraper {
        justify-content: flex-start;
        column-gap: 1.2rem;
        row-gap: 0;
    }

    .filter_wraper a {
        width: auto;
    }
}

@media (max-width: 767px) {
    .filter_wraper a {
        width: auto;
    }
}

.profile_groupsBox .groupBox_profile_innerBox .groupBox_profile_innerItem .groupBox_profile_innerLink {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.profile_groupsBox .groupBox_profile_innerBox .groupBox_profile_innerItem .groupBox_profile_innerLink:hover .groupBox_profile_innerText h4 {
    color: #F02731;
}

/* Team social picker — button reset to match mockup anchors */
.team_section .team_item .social_item button.social_box {
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.team_section .team_item .social_item button.social_box:focus-visible {
    outline: 1px solid #F02731;
    outline-offset: 2px;
}

.team_section .social_link_panel {
    margin-top: 1.6rem;
    margin-bottom: 1.2rem;
}

.team_section .social_link_panel_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.2rem;
    padding: 1.6rem;
    background: #212121;
    border: 1px solid #303030;
}

.team_section .social_link_panel_head {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 14rem;
}

.team_section .social_link_panel_head img {
    width: 3.2rem;
    height: 3.2rem;
    object-fit: contain;
}

.team_section .social_link_panel_head strong {
    font-size: 1.5rem;
    color: #fff;
}

.team_section .social_link_panel .input_item {
    flex: 1 1 24rem;
    min-width: 18rem;
}

.team_section .social_link_panel_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.team_section .social_link_panel .form_field.is-invalid {
    border-color: #F02731;
}

/* Team invite live search */
.manage_modal .manage_searchbar.search_userbar {
    flex-wrap: wrap;
}

.manage_modal .manage_searchBox {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.manage_modal .manage_searchBtn {
    order: 2;
}

.manage_modal .manage_searchBox .input_item {
    position: relative;
}

.manage_modal .team_invite_results {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: 0;
    z-index: 20;
    background: #1a1a1a;
    border: 1px solid #303030;
    max-height: 22rem;
    overflow-y: auto;
}

.manage_modal .team_invite_result {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: right;
    cursor: pointer;
}

.manage_modal .team_invite_result:last-child {
    border-bottom: 0;
}

.manage_modal .team_invite_result:hover:not(.is-disabled) {
    background: rgba(240, 39, 49, 0.12);
}

.manage_modal .team_invite_result.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.manage_modal .team_invite_result img {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.manage_modal .team_invite_result_text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.manage_modal .team_invite_result_text strong {
    font-size: 1.4rem;
    line-height: 1.2;
}

.manage_modal .team_invite_result_text small {
    font-size: 1.2rem;
    opacity: 0.65;
}

.manage_modal .team_invite_empty {
    padding: 1.2rem;
    font-size: 1.3rem;
    opacity: 0.65;
    text-align: center;
}

.manage_modal .team_invite_preview {
    order: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex: 1 0 100%;
    margin: 1.2rem 0 0.4rem;
    padding: 1rem 1.2rem;
    background: #212121;
    border: 1px solid #303030;
}

.manage_modal .team_invite_preview[hidden] {
    display: none !important;
}

.manage_modal .team_invite_preview img {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    object-fit: cover;
}

.manage_modal .team_invite_preview_text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.manage_modal .team_invite_preview_text strong {
    font-size: 1.5rem;
    color: #fff;
}

.manage_modal .team_invite_preview_text span {
    font-size: 1.2rem;
    opacity: 0.65;
}

.manage_modal .team_invite_preview_text span.is-blocked {
    color: #F02731;
    opacity: 1;
}

.manage_modal .team_invite_preview_clear {
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    opacity: 0.7;
    cursor: pointer;
}

.manage_modal .manage_searchBtn a.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ——— Cart offcanvas drawer ——— */
.cart-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
}
.cart-offcanvas .cart_drawer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1 1 auto;
    min-height: 0;
}
.cart-offcanvas .cart_empty {
    text-align: center;
    padding: 4rem 1rem;
    color: rgba(245, 246, 255, 0.7);
    font-size: 1.5rem;
}
.cart-offcanvas .cart_empty .lobby_btn {
    margin-top: 1.6rem;
    display: inline-flex;
}
.cart-offcanvas .cart_items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1 1 auto;
}
.cart-offcanvas .cart_line {
    display: flex;
    align-items: stretch;
    gap: 1.4rem;
    padding: 1.4rem;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.6rem;
}
.cart-offcanvas .cart_line__media {
    flex: 0 0 6.4rem;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #212121;
}
.cart-offcanvas .cart_line__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-offcanvas .cart_line__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.cart-offcanvas .cart_line__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.cart-offcanvas .cart_line__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
    color: #F5F6FF;
}
.cart-offcanvas .cart_line__remove {
    flex: 0 0 auto;
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}
.cart-offcanvas .cart_line__remove img {
    width: 1.4rem;
    height: 1.4rem;
    opacity: 0.75;
}
.cart-offcanvas .cart_line__remove:hover {
    background: rgba(240, 39, 49, 0.15);
}
.cart-offcanvas .cart_line__remove:hover img {
    opacity: 1;
}
.cart-offcanvas .cart_line__meta {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.4;
    color: rgba(245, 246, 255, 0.55);
}
.cart-offcanvas .cart_line__price {
    margin: 0.2rem 0 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.cart-offcanvas .cart_drawer__footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.cart-offcanvas .cart_drawer__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.6rem;
    color: rgba(245, 246, 255, 0.75);
}
.cart-offcanvas .cart_drawer__total strong {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}
.cart-offcanvas .cart_drawer__checkout {
    width: 100%;
    text-align: center;
    display: block;
}
.cart-offcanvas .cart_drawer__full-cart {
    text-align: center;
    font-size: 1.4rem;
    color: rgba(245, 246, 255, 0.6);
    text-decoration: underline;
}
.cart-offcanvas .cart_drawer__full-cart:hover {
    color: #fff;
}

/* ——— Full cart page: quantity + remove ——— */
.cart____section .cart_qty_controls {
    margin-top: 1rem;
}
.cart____section .cart_qty_form {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0.4rem;
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.4rem;
}
.cart____section .cart_qty_btn {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.cart____section .cart_qty_btn:hover {
    background: #F02731;
}
.cart____section .cart_qty_value {
    min-width: 2.4rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #F5F6FF;
}
.cart____section .cart_item_actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
.cart____section .cart_item_actions form {
    margin: 0;
}
.cart____section .cart_item_actions .cart_item_button {
    border: none;
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.cart____section .cart_item_button_ghost {
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(245, 246, 255, 0.75) !important;
}
.cart____section .cart_item_button_ghost:hover {
    color: #ff6b6b !important;
    background: rgba(240, 39, 49, 0.12) !important;
}
@media (max-width: 767px) {
    .cart____section .cart_item_actions {
        justify-content: stretch;
    }
    .cart____section .cart_item_actions .cart_item_button {
        width: 100%;
    }
}
/* Checkout shipping form */
.checkout_shipping_form .shipping_form_section {
    margin-bottom: 2.4rem;
}
.checkout_shipping_form .shipping_form_heading {
    margin: 0 0 1.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}
.checkout_shipping_form .req {
    color: #F02731;
    font-weight: 700;
}
.checkout_shipping_form .field_error {
    display: block;
    margin-top: 0.6rem;
    color: #ff6b6b;
    font-size: 1.3rem;
}
.checkout_shipping_form .input_item label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    color: rgba(245, 246, 255, 0.85);
}
.checkout_shipping_form .optional_label {
    font-weight: 400;
    font-size: 0.9em;
    color: rgba(245, 246, 255, 0.55);
}
.checkout_shipping_form .input_wrap_textarea {
    min-height: 9.6rem;
}
.checkout_shipping_form .input_wrap_textarea textarea.form_field {
    width: 100%;
    min-height: 9.6rem;
    resize: vertical;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    line-height: 1.5;
}

/* Checkout payment methods */
.payment_method .payment_methods_list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.payment_method .payment_method_copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1 1 auto;
    min-width: 0;
}
.payment_method .payment_method_label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}
.payment_method .payment_method_hint {
    font-size: 1.25rem;
    color: rgba(245, 246, 255, 0.55);
    line-height: 1.3;
}
.payment_method .payment_methods_empty {
    margin-top: 1.2rem;
}
.payment_method .payment_method_error {
    margin: 1rem 0 0;
    color: #ff6b6b;
    font-size: 1.4rem;
}
.shipping_section .shipping_box .shipping_btn button {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 120%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #F02731;
    border: none;
    padding: 1.2rem 2.4rem;
    position: relative;
    cursor: pointer;
    box-shadow: 0rem 0.2rem 1.7rem 0rem rgba(249, 204, 97, 0.54) inset;
    width: 100%;
}
.shipping_section .shipping_box .shipping_btn button .border_tl,
.shipping_section .shipping_box .shipping_btn button .border_tr,
.shipping_section .shipping_box .shipping_btn button .border_bl,
.shipping_section .shipping_box .shipping_btn button .border_br {
    width: 0.9rem;
    height: 0.6rem;
    position: absolute;
    transition: 0.2s all ease;
}
.shipping_section .shipping_box .shipping_btn button .border_tl {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    left: -0.1rem;
    top: -0.1rem;
}
.shipping_section .shipping_box .shipping_btn button .border_tr {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    right: -0.1rem;
    top: -0.1rem;
}
.shipping_section .shipping_box .shipping_btn button .border_bl {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    left: -0.1rem;
    bottom: -0.1rem;
}
.shipping_section .shipping_box .shipping_btn button .border_br {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    right: -0.1rem;
    bottom: -0.1rem;
}
.shipping_section .shipping_box .shipping_btn button.is-disabled,
.shipping_section .shipping_box .shipping_btn button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #444;
    box-shadow: none;
}

/* Pay button under order summary (checkout sidebar) */
.checkout_section .check_your_order .checkout_sidebar_pay {
    margin-top: 1.6rem;
    width: 100%;
}
.checkout_section .check_your_order .checkout_sidebar_pay button {
    width: 100%;
}

.cart____section .cart_checkout_col {
    display: flex;
    justify-content: left; /* physical left, even on RTL page */
}
.cart____section .cart_checkout_col .cart_item_button {
    margin: 0 !important;
}
@media (max-width: 767px) {
    .cart____section .cart_checkout_col {
        justify-content: stretch;
    }
    .cart____section .cart_checkout_col .cart_item_button {
        width: 100%;
        margin-inline-end: 0;
    }
}
