.theme-territory {
    --bg: #070707;
    --panel: #12141a;
    --ink: #f4f7fb;
    --text: #f4f7fb;
    --muted: #9da5b5;
    --line: #2b303d;
    --border: #2b303d;
    --teal: #e8ff00;
    --teal-dark: #c4e000;
    --red: #ff3b3b;
    --amber: #ffbb00;
    --blue: #8d76e0;
    --shadow: 0 18px 50px rgba(0, 0, 0, .34);
    min-height: 100vh;
    background: #070707;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

html[data-site-theme="territory"] {
    color-scheme: dark;
    background: #070707;
}

.theme-territory::selection {
    background: #e8ff00;
    color: #070707;
}

.theme-territory h1,
.theme-territory h2,
.theme-territory h3,
.theme-territory .brand,
.theme-territory .stat strong {
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    letter-spacing: 0;
}

.theme-territory h1 {
    font-size: 54px;
    font-weight: 900;
    text-transform: uppercase;
}

.theme-territory h2 {
    font-size: 30px;
    font-weight: 900;
}

.theme-territory h3 {
    font-weight: 900;
}

.theme-territory p,
.theme-territory .meta {
    color: var(--muted);
}

.theme-territory .topbar {
    min-height: 88px;
    padding: 16px 28px;
    background: rgba(18, 20, 26, .97);
    border-color: #2b303d;
    backdrop-filter: blur(16px);
}

.theme-territory .brand {
    flex: 0 0 auto;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.theme-territory .brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: #e8ff00;
    color: #070707;
    font-size: 25px;
    font-weight: 900;
}

.theme-territory .brand-copy {
    white-space: nowrap;
}

.theme-territory .territory-search {
    display: flex;
    align-items: center;
    flex: 1 1 420px;
    max-width: 620px;
    min-width: 180px;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid #353b49;
    border-radius: 6px;
    background: #1a1d26;
}

.theme-territory .territory-search > span {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border: 2px solid #8e96a8;
    border-radius: 50%;
}

.theme-territory .territory-search > span::after {
    content: "";
    display: block;
    width: 6px;
    height: 2px;
    margin: 11px 0 0 10px;
    background: #8e96a8;
    transform: rotate(45deg);
}

.theme-territory .territory-search input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4f7fb;
    box-shadow: none;
}

.theme-territory .territory-search input::placeholder {
    color: #7d8597;
}

.theme-territory .nav {
    flex: 0 0 auto;
}

.theme-territory .nav a,
.theme-territory .nav-user > button,
.theme-territory .nav-toggle,
.theme-territory .mobile-balance-link {
    color: #f4f7fb;
    background: #232734;
    border-color: #353b49;
}

.theme-territory .nav a:hover,
.theme-territory .nav-user > button:hover {
    border-color: #e8ff00;
}

.theme-territory .nav a.active {
    color: #e8ff00;
}

.theme-territory .nav .btn,
.theme-territory .btn,
.theme-territory button.primary,
.theme-territory input[type="submit"] {
    background: #e8ff00;
    border-color: #e8ff00;
    color: #070707;
    font-weight: 900;
}

.theme-territory .btn:hover,
.theme-territory button.primary:hover {
    background: #f3ff55;
    border-color: #f3ff55;
}

.theme-territory .btn.alt {
    background: #232734;
    border-color: #3a4050;
    color: #f4f7fb;
}

.theme-territory .btn.danger,
.theme-territory button.danger {
    background: #ff3b3b;
    border-color: #ff3b3b;
    color: #fff;
}

.theme-territory .theme-toggle {
    display: none;
}

.theme-territory .dropdown {
    background: #191c25;
    border-color: #343a49;
}

.theme-territory .user-menu-head {
    border-color: #343a49;
}

.theme-territory .user-menu-head button,
.theme-territory .user-menu a {
    background: transparent;
    color: #f4f7fb;
}

.theme-territory .user-menu a:hover {
    background: #232734;
}

.theme-territory .user-menu a small {
    color: #9da5b5;
}

.theme-territory .main {
    width: min(1680px, calc(100% - 48px));
    margin-top: 30px;
    min-width: 0;
}

.theme-territory .section {
    margin: 34px 0;
}

.theme-territory .territory-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: end;
    min-height: 330px;
    padding: 52px;
    overflow: hidden;
    border: 1px solid #2b303d;
    border-radius: 8px;
    background: #12141a;
    box-shadow: var(--shadow);
}

.theme-territory .territory-intro::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 8px;
    background: #e8ff00;
}

.theme-territory .territory-intro::after {
    content: "PLAYCOI";
    position: absolute;
    right: 28px;
    bottom: -22px;
    color: rgba(232, 255, 0, .05);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 136px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.theme-territory .territory-intro-copy {
    position: relative;
    z-index: 1;
    max-width: 900px;
    min-width: 0;
}

.theme-territory .territory-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #e8ff00;
    font-size: 13px;
    font-weight: 900;
}

.theme-territory .territory-intro h1 {
    max-width: 860px;
    margin-bottom: 16px;
    color: #fff;
    overflow-wrap: anywhere;
}

.theme-territory .territory-intro p {
    max-width: 680px;
    font-size: 18px;
}

.theme-territory .territory-intro-status {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
    align-content: end;
    padding: 18px 0;
}

.theme-territory .territory-intro-status span {
    color: #e8ff00;
    font-size: 12px;
    font-weight: 900;
}

.theme-territory .territory-intro-status strong {
    color: #fff;
    font-size: 76px;
    line-height: 1;
}

.theme-territory .territory-intro-status small {
    color: #9da5b5;
}

.theme-territory .hero {
    min-height: 460px;
    gap: 18px;
}

.theme-territory .hero > *,
.theme-territory .home-featured-market,
.theme-territory .home-control,
.theme-territory .home-featured-head > div {
    min-width: 0;
}

.theme-territory .hero-copy {
    padding: 0;
}

.theme-territory .home-featured-market,
.theme-territory .home-control {
    height: 100%;
    border: 1px solid #303644;
    border-radius: 8px;
    background: #12141a;
    box-shadow: var(--shadow);
}

.theme-territory .home-featured-market {
    padding: 24px;
}

.theme-territory .home-featured-head {
    border-bottom-color: #2b303d;
}

.theme-territory .home-featured-head h2 {
    overflow-wrap: anywhere;
}

.theme-territory .home-featured-chart {
    min-height: 250px;
}

.theme-territory .home-featured-foot,
.theme-territory .home-control-head,
.theme-territory .home-flow-head {
    border-color: #2b303d;
}

.theme-territory .feed-status,
.theme-territory .badge.approved {
    background: rgba(232, 255, 0, .12);
    color: #e8ff00;
    border-color: rgba(232, 255, 0, .35);
}

.theme-territory .home-flow {
    background: #0d0f15;
}

.theme-territory .home-flow::before {
    background: linear-gradient(180deg, #0d0f15, rgba(13, 15, 21, 0));
}

.theme-territory .home-flow::after {
    background: linear-gradient(0deg, #0d0f15, rgba(13, 15, 21, 0));
}

.theme-territory .panel,
.theme-territory .room-card,
.theme-territory .stat,
.theme-territory .auth-box,
.theme-territory .comfort-panel,
.theme-territory .table-game-card {
    background: #12141a;
    border-color: #2b303d;
    color: #f4f7fb;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.theme-territory .panel,
.theme-territory .auth-box {
    border-radius: 8px;
}

.theme-territory .stat {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.theme-territory .stat::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: #e8ff00;
}

.theme-territory .stat strong {
    color: #fff;
    font-size: 28px;
}

.theme-territory .rooms,
.theme-territory .table-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.theme-territory .room-card,
.theme-territory .table-game-card {
    border-radius: 6px;
    transition: border-color .18s ease, transform .18s ease;
}

.theme-territory .room-card:hover,
.theme-territory .table-game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 255, 0, .55);
}

.theme-territory .room-market-card,
.theme-territory .table-game-visual {
    background: #0d0f15;
    border-bottom: 1px solid #2b303d;
}

.theme-territory .room-market-card::before {
    background: linear-gradient(145deg, rgba(108, 74, 194, .22), rgba(7, 7, 7, .2));
}

.theme-territory .room-online-pill {
    background: rgba(232, 255, 0, .1);
    border-color: rgba(232, 255, 0, .25);
}

.theme-territory .room-online-pill::before {
    background: #e8ff00;
    box-shadow: 0 0 0 5px rgba(232, 255, 0, .12);
}

.theme-territory .room-card .body,
.theme-territory .table-game-card .body {
    background: #12141a;
}

.theme-territory .room-mode-badge,
.theme-territory .table-game-category {
    background: rgba(108, 74, 194, .17);
    color: #b9a9ef;
    border: 1px solid rgba(141, 118, 224, .3);
}

.theme-territory .room-card-stats,
.theme-territory .room-pool-stat,
.theme-territory .table-game-result {
    border-color: #2b303d;
    color: #aab1c0;
}

.theme-territory .room-card-stats span,
.theme-territory .room-live-labels span,
.theme-territory .table-game-card .room-card-stats span {
    background: #191c25;
    border-color: #343a49;
    color: #aab1c0;
}

.theme-territory .room-card-stats strong {
    color: #f4f7fb;
}

.theme-territory .room-pool-stat {
    background: #17211f;
    border-color: rgba(232, 255, 0, .24);
}

.theme-territory .room-pool-stat span {
    color: #cbd3df;
}

.theme-territory .room-pool-stat strong,
.theme-territory .room-market-bottom strong {
    color: #e8ff00;
}

.theme-territory .comfort-quick {
    background: #191c25;
    border-color: #e8ff00;
}

.theme-territory .comfort-chip {
    background: #191c25;
    border-color: #343a49;
    color: #d9dde5;
}

.theme-territory .comfort-chip.active,
.theme-territory .comfort-chip:hover {
    background: #e8ff00;
    border-color: #e8ff00;
    color: #070707;
}

.theme-territory input,
.theme-territory textarea,
.theme-territory select {
    background: #191c25;
    border-color: #343a49;
    color: #f4f7fb;
}

.theme-territory input::placeholder,
.theme-territory textarea::placeholder {
    color: #7d8597;
    opacity: 1;
}

.theme-territory input:-webkit-autofill,
.theme-territory input:-webkit-autofill:hover,
.theme-territory input:-webkit-autofill:focus,
.theme-territory textarea:-webkit-autofill,
.theme-territory select:-webkit-autofill {
    -webkit-text-fill-color: #f4f7fb;
    box-shadow: 0 0 0 1000px #191c25 inset;
    transition: background-color 9999s ease-out 0s;
}

.theme-territory option {
    background: #191c25;
    color: #f4f7fb;
}

.theme-territory input[type="checkbox"],
.theme-territory input[type="radio"] {
    accent-color: #e8ff00;
}

.theme-territory input[type="file"]::file-selector-button {
    background: #232734;
    border: 1px solid #3a4050;
    color: #f4f7fb;
}

.theme-territory input:focus,
.theme-territory textarea:focus,
.theme-territory select:focus {
    outline: 2px solid rgba(232, 255, 0, .45);
    border-color: #e8ff00;
}

.theme-territory label {
    color: #d9dde5;
}

.theme-territory table {
    color: #f4f7fb;
}

.theme-territory th {
    background: #1e222d;
    color: #e8ff00;
    border-color: #343a49;
}

.theme-territory td {
    background: #12141a;
    border-color: #2b303d;
}

.theme-territory tr:hover td {
    background: #191c25;
}

.theme-territory .table-wrap {
    background: #12141a;
    border-color: #2b303d;
}

.theme-territory .tabs {
    border-color: #343a49;
}

.theme-territory .tabs button,
.theme-territory .tabs a {
    background: #191c25;
    border-color: #343a49;
    color: #d9dde5;
}

.theme-territory .tabs button.active,
.theme-territory .tabs a.active {
    background: #e8ff00;
    border-color: #e8ff00;
    color: #070707;
}

.theme-territory .alert {
    background: #191c25;
    border-color: #343a49;
    color: #d9dde5;
    border-radius: 6px;
}

.theme-territory .alert-success {
    background: rgba(232, 255, 0, .1);
    border-color: rgba(232, 255, 0, .35);
    color: #e8ff00;
}

.theme-territory .alert-error {
    background: rgba(255, 59, 59, .1);
    border-color: rgba(255, 59, 59, .4);
    color: #ff8686;
}

.theme-territory .alert-info {
    background: rgba(141, 118, 224, .12);
    border-color: rgba(141, 118, 224, .35);
    color: #c6baf3;
}

.theme-territory .badge {
    background: #232734;
    border: 1px solid #343a49;
    color: #c9cfda;
}

.theme-territory .badge.open {
    color: #b9a9ef;
}

.theme-territory .badge.pending,
.theme-territory .badge.risk-medium {
    background: rgba(255, 187, 0, .1);
    border-color: rgba(255, 187, 0, .3);
    color: #ffd266;
}

.theme-territory .badge.rejected,
.theme-territory .badge.frozen,
.theme-territory .badge.risk-high {
    background: rgba(255, 59, 59, .1);
    border-color: rgba(255, 59, 59, .3);
    color: #ff8686;
}

.theme-territory .badge.closed,
.theme-territory .badge.risk-low {
    background: rgba(232, 255, 0, .1);
    border-color: rgba(232, 255, 0, .3);
    color: #e8ff00;
}

.theme-territory .pagination a {
    background: #191c25;
    border-color: #343a49;
    color: #d9dde5;
}

.theme-territory .pagination a:hover,
.theme-territory .pagination a.active {
    background: #e8ff00;
    border-color: #e8ff00;
    color: #070707;
}

.theme-territory .home-flow-item,
.theme-territory .feed-item {
    background: rgba(25, 28, 37, .96);
    border-color: #343a49;
}

.theme-territory .feed {
    background: linear-gradient(180deg, #0d0f15 0%, #12141a 48%, #0d0f15 100%);
    border-color: #2b303d;
}

.theme-territory .feed::before {
    background: linear-gradient(180deg, #0d0f15, rgba(13, 15, 21, 0));
}

.theme-territory .feed::after {
    background: linear-gradient(0deg, #0d0f15, rgba(13, 15, 21, 0));
}

.theme-territory .feed-filters button,
.theme-territory .direction-control span {
    background: #191c25;
    border-color: #343a49;
    color: #aab1c0;
}

.theme-territory .feed-filters button.active {
    background: #e8ff00;
    border-color: #e8ff00;
    color: #070707;
}

.theme-territory .direction-control input:checked + span.up {
    background: rgba(232, 255, 0, .11);
    border-color: #e8ff00;
    color: #e8ff00;
}

.theme-territory .direction-control input:checked + span.down {
    background: rgba(255, 59, 59, .1);
    border-color: #ff3b3b;
    color: #ff8686;
}

.theme-territory .live-pnl.flash-up {
    background: rgba(232, 255, 0, .1);
}

.theme-territory .live-pnl.flash-down {
    background: rgba(255, 59, 59, .1);
}

.theme-territory .live-row {
    animation-name: territorySoftLive;
}

@keyframes territorySoftLive {
    from { background: rgba(232, 255, 0, .1); }
    to { background: #12141a; }
}

.theme-territory .room-tournament-card,
.theme-territory .mode-card {
    background: linear-gradient(180deg, #171a22, #12141a);
}

.theme-territory .boss-body,
.theme-territory .leader-row,
.theme-territory .reward-list,
.theme-territory .room-chat,
.theme-territory .chat-message,
.theme-territory .mini-panel,
.theme-territory .mode-row-card,
.theme-territory .mode-monitor-card,
.theme-territory .mode-monitor-stats span,
.theme-territory .game-alert,
.theme-territory .mode-highlight,
.theme-territory .room-player,
.theme-territory .room-leader,
.theme-territory .folder-list a,
.theme-territory .notification-item,
.theme-territory .address-item,
.theme-territory .support-message,
.theme-territory .comfort-item-list a,
.theme-territory .comfort-preferences {
    background: #191c25;
    border-color: #343a49;
    color: #f4f7fb;
}

.theme-territory .chat-message.chat-system,
.theme-territory .support-message.admin {
    background: #17211f;
    border-color: rgba(232, 255, 0, .24);
}

.theme-territory .chat-reactions button,
.theme-territory .pwa-install-secondary,
.theme-territory .help-dot {
    background: #232734;
    border-color: #3a4050;
    color: #e8ff00;
}

.theme-territory .chat-reaction-count,
.theme-territory .xp-bar {
    background: #2b303d;
    color: #c9cfda;
}

.theme-territory .sticky-actions {
    background: rgba(18, 20, 26, .96);
    border-color: #343a49;
}

.theme-territory .task-card.done,
.theme-territory .reward-card.claimed,
.theme-territory .achievement-card.done {
    background: #17211f;
    border-color: rgba(232, 255, 0, .24);
}

.theme-territory .theme-preview-default {
    background: #191c25;
}

.theme-territory .theme-preview-default .theme-preview-header,
.theme-territory .theme-preview-default .theme-preview-card {
    background: #232734;
    border-color: #4a5263;
}

.theme-territory .footer {
    margin-top: 68px;
    padding: 38px max(28px, calc((100% - 1680px) / 2));
    background: #0d0f15;
    border-color: #2b303d;
}

.theme-territory .footer-grid a {
    color: #d9dde5;
}

.theme-territory .footer-grid a:hover {
    color: #e8ff00;
}

.theme-territory .admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
}

.theme-territory .admin-sidebar {
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 4px;
}

.theme-territory .admin-sidebar a {
    background: #12141a;
    border-color: #2b303d;
    color: #c9cfda;
}

.theme-territory .admin-sidebar a:hover {
    border-color: #6c4ac2;
    color: #fff;
}

.theme-territory .admin-sidebar a.active {
    background: #e8ff00;
    border-color: #e8ff00;
    color: #070707;
}

.theme-territory .health-card {
    background: #12141a;
    border-color: #2b303d;
}

.theme-territory .health-card.fail {
    background: rgba(255, 59, 59, .08);
}

.theme-territory .theme-choice {
    background: #12141a;
    border-color: #343a49;
}

.theme-territory .theme-choice.active {
    border-color: #e8ff00;
    box-shadow: 0 0 0 3px rgba(232, 255, 0, .12);
}

.theme-territory .theme-choice > input {
    accent-color: #e8ff00;
}

.theme-territory .pwa-install-banner {
    background: rgba(18, 20, 26, .98);
    border-color: #343a49;
    color: #f4f7fb;
}

.theme-territory .pwa-install-icon {
    background: #e8ff00;
    color: #070707;
}

@media (min-width: 1200px) {
    .theme-territory {
        padding-left: 96px;
    }

    .theme-territory .territory-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: flex;
        width: 96px;
        padding: 16px 10px;
        flex-direction: column;
        align-items: center;
        background: #12141a;
        border-right: 1px solid #2b303d;
    }

    .theme-territory .territory-mini-brand {
        display: grid;
        place-items: center;
        width: 54px;
        height: 54px;
        margin-bottom: 24px;
        border-radius: 4px;
        background: #e8ff00;
        color: #070707;
        font-weight: 900;
    }

    .theme-territory .territory-sidebar-nav {
        display: grid;
        width: 100%;
        gap: 8px;
    }

    .theme-territory .territory-sidebar-nav a {
        display: grid;
        min-height: 62px;
        padding: 7px 3px;
        place-items: center;
        gap: 3px;
        border: 1px solid transparent;
        border-radius: 6px;
        color: #8f97a7;
    }

    .theme-territory .territory-sidebar-nav a span {
        font-size: 13px;
        font-weight: 900;
    }

    .theme-territory .territory-sidebar-nav a small {
        max-width: 72px;
        overflow: hidden;
        font-size: 10px;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .theme-territory .territory-sidebar-nav a:hover,
    .theme-territory .territory-sidebar-nav a.active {
        background: #232734;
        border-color: #3a4050;
        color: #e8ff00;
    }

    .theme-territory .territory-sidebar-support {
        display: grid;
        width: 46px;
        height: 46px;
        margin-top: auto;
        place-items: center;
        border: 1px solid #3a4050;
        border-radius: 50%;
        color: #e8ff00;
        font-weight: 900;
    }

    .theme-territory .nav-primary-link {
        display: none;
    }
}

@media (max-width: 1199px) {
    .theme-territory .topbar {
        min-height: 72px;
    }

    .theme-territory .territory-search {
        max-width: none;
    }

    .theme-territory .territory-sidebar {
        display: none;
    }
}

@media (max-width: 860px) {
    .theme-territory {
        padding-bottom: 76px;
    }

    .theme-territory h1 {
        font-size: 36px;
    }

    .theme-territory h2 {
        font-size: 25px;
    }

    .theme-territory .topbar {
        gap: 10px;
        width: 100%;
        max-width: 100vw;
        padding: 12px 16px;
    }

    .theme-territory .brand-copy {
        display: none;
    }

    .theme-territory .brand-mark {
        width: 40px;
        height: 40px;
    }

    .theme-territory .territory-search {
        flex-basis: auto;
        min-width: 0;
        min-height: 42px;
    }

    .theme-territory .territory-search input {
        min-height: 38px;
        font-size: 14px;
    }

    .theme-territory .nav {
        top: 70px;
        background: #191c25;
        border-color: #343a49;
    }

    .theme-territory .nav-primary-link {
        display: flex;
    }

    .theme-territory .main {
        width: min(calc(100% - 24px), 760px);
        margin-top: 18px;
    }

    .theme-territory .territory-intro {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 30px 24px;
    }

    .theme-territory .territory-intro::after {
        display: none;
    }

    .theme-territory .territory-intro-status {
        display: none;
    }

    .theme-territory .home-featured-head,
    .theme-territory .home-control-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .theme-territory .home-featured-head .room-online-pill {
        flex: 0 0 auto;
    }

    .theme-territory .home-featured-foot {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .theme-territory .home-featured-foot > * {
        min-width: 0;
    }

    .theme-territory .home-featured-foot strong,
    .theme-territory .home-featured-foot span {
        overflow-wrap: anywhere;
    }

    .theme-territory .home-featured-foot .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .theme-territory .hero {
        min-height: 0;
    }

    .theme-territory .home-featured-chart {
        min-height: 210px;
    }

    .theme-territory .admin-sidebar {
        position: static;
        max-height: none;
    }

    .theme-territory .mobile-bottom-nav {
        background: rgba(18, 20, 26, .98);
        border-color: #343a49;
    }

    .theme-territory .mobile-bottom-nav a {
        color: #d9dde5;
    }

    .theme-territory .mobile-bottom-nav a.active:not(.primary) {
        color: #e8ff00;
    }

    .theme-territory .mobile-bottom-nav a.primary {
        background: #e8ff00;
        color: #070707;
    }
}

@media (max-width: 520px) {
    .theme-territory .territory-search {
        display: none;
    }

    .theme-territory .territory-intro {
        padding: 26px 20px;
    }

    .theme-territory .territory-intro .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .theme-territory .territory-intro .btn {
        width: 100%;
    }

    .theme-territory .game-category-track {
        grid-template-columns: none;
        grid-auto-columns: minmax(278px, 84vw);
    }
}
