/*
Theme Name: Console
Theme URI: https://zhidoor.ir
Author: Mohammad Hadi Beigi
Author URI: https://zhidoor.ir
Version: 1.1.7
*/

@font-face {
    font-family: 'LyFont';
    src: url('./font/ly.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --shb-bg: #f4f6fa;
    --shb-surface: #ffffff;
    --shb-surface-2: #f8f9fc;
    --shb-border: #e8ebf2;
    --shb-text: #18202f;
    --shb-muted: #7b8495;
    --shb-primary: #3568ff;
    --shb-primary-dark: #2450d8;
    --shb-shadow: 0 18px 50px rgba(27, 39, 72, 0.08);
    --shb-radius: 22px;
    --shb-container: 1200px;
}

.shb-home {
    direction: rtl;
    font-family: 'LyFont', Tahoma, sans-serif;
    color: var(--shb-text);
    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(53, 104, 255, 0.08),
            transparent 26%
        ),
        radial-gradient(
            circle at 10% 45%,
            rgba(106, 77, 255, 0.05),
            transparent 22%
        ),
        var(--shb-bg);
    min-height: 100vh;
}

.shb-container {
    width: min(
        calc(100% - 36px),
        var(--shb-container)
    );
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.shb-top-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232,235,242,0.9);
}

.shb-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.shb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--shb-text);
    text-decoration: none;
}

.shb-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    background:
        linear-gradient(
            145deg,
            #5079ff,
            #244ed5
        );
    box-shadow:
        0 10px 25px
        rgba(53,104,255,0.25);
}

.shb-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.shb-brand-text strong {
    font-size: 20px;
    font-weight: 900;
}

.shb-brand-text span {
    margin-top: 4px;
    color: var(--shb-muted);
    font-size: 12px;
    font-weight: 600;
}

.shb-header-badge {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--shb-border);
    border-radius: 999px;
    background: #fff;
    color: var(--shb-muted);
    font-size: 12px;
    font-weight: 700;
}

.shb-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42bf79;
    box-shadow: 0 0 0 5px rgba(66,191,121,0.10);
}


/* =========================================================
   STICKY MENU
   ========================================================= */

.shb-main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232,235,242,0.9);
}

.shb-nav-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.shb-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shb-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding-inline: 16px;
    color: #687184;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    transition:
        .2s ease;
}

.shb-nav-link:hover,
.shb-nav-link.active {
    color: var(--shb-text);
    background: #f3f5fa;
}

.shb-nav-link.active::after {
    content: "";
    position: absolute;
    right: 16px;
    left: 16px;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: var(--shb-primary);
}

.shb-nav-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #778196;
    font-size: 12px;
    font-weight: 700;
}

.shb-status-icon {
    color: var(--shb-primary);
    font-size: 12px;
}


/* =========================================================
   WELCOME
   ========================================================= */

.shb-welcome {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    margin-top: 28px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--shb-border);
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8faff 100%
        );
    box-shadow: var(--shb-shadow);
}

.shb-welcome::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(53,104,255,0.07);
}

.shb-welcome-main {
    position: relative;
    z-index: 2;
}

.shb-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--shb-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.shb-welcome h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.5;
    font-weight: 900;
}

.shb-welcome p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--shb-muted);
    font-size: 14px;
    line-height: 2;
}

.shb-welcome-decoration {
    position: relative;
    width: 130px;
    height: 90px;
    flex: 0 0 130px;
}

.shb-welcome-decoration span {
    position: absolute;
    border-radius: 22px;
    transform: rotate(28deg);
}

.shb-welcome-decoration span:nth-child(1) {
    width: 55px;
    height: 55px;
    right: 10px;
    top: 7px;
    background: #edf2ff;
}

.shb-welcome-decoration span:nth-child(2) {
    width: 38px;
    height: 38px;
    right: 55px;
    bottom: 6px;
    background: #dfe7ff;
}

.shb-welcome-decoration span:nth-child(3) {
    width: 25px;
    height: 25px;
    left: 0;
    top: 28px;
    background: #3568ff;
    box-shadow:
        0 10px 30px
        rgba(53,104,255,0.30);
}


/* =========================================================
   SECTION
   ========================================================= */

.shb-section {
    margin-top: 42px;
}

.shb-section-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.shb-section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--shb-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.shb-section-heading h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 900;
}

.shb-section-heading p {
    margin: 0 0 3px;
    color: var(--shb-muted);
    font-size: 12px;
}


/* =========================================================
   CONSOLES
   ========================================================= */

.shb-console-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.shb-console-card {
    position: relative;
    cursor: pointer;
    min-width: 0;
    overflow: visible;
    padding: 14px;
    border: 1px solid var(--shb-border);
    border-radius: var(--shb-radius);
    background: var(--shb-surface);
    box-shadow: 0 10px 30px rgba(27,39,72,0.055);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.shb-console-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(27,39,72,0.11);
}

.shb-console-card.is-open,
.shb-console-card.saved {
    border-color: rgba(53,104,255,0.28);
    box-shadow:
        0 22px 55px rgba(53,104,255,0.13);
}

.shb-console-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #f6f8fd,
            #eef2f9
        );
}

.shb-console-image {
    position: relative;
    z-index: 2;
    width: 200px;
    max-width: 100%;
    height: 200px;
    max-height: 100%;
    object-fit: contain;
    transition:
        transform .35s ease;
}

.shb-console-card:hover .shb-console-image {
    transform: scale(1.05);
}

.shb-console-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(53,104,255,0.10);
    filter: blur(20px);
}

.shb-console-violet .shb-console-glow {
    background: rgba(117,90,255,0.12);
}

.shb-console-green .shb-console-glow {
    background: rgba(45,186,112,0.13);
}

.shb-console-dark .shb-console-glow {
    background: rgba(44,52,66,0.10);
}

.shb-console-info {
    padding: 16px 5px 5px;
}

.shb-console-short {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 8px;
    color: #5e6a80;
    background: #f5f6fa;
    font-size: 10px;
    font-weight: 900;
}

.shb-console-info h3 {
    margin: 10px 0 3px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 900;
}

.shb-console-info p {
    margin: 0;
    color: var(--shb-muted);
    font-size: 11px;
    line-height: 1.8;
}

.shb-console-select {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding-inline: 12px;
    border-radius: 12px;
    background: #f6f7fb;
    color: #5f697b;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.shb-console-card:hover .shb-console-select,
.shb-console-card.is-open .shb-console-select {
    color: var(--shb-primary);
    background: #eef3ff;
}

.shb-console-select span {
    font-size: 17px;
}


/* =========================================================
   STORAGE MENU
   ========================================================= */

.shb-storage-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 30;
    padding: 16px;
    border: 1px solid var(--shb-border);
    border-radius: 18px;
    background: rgba(255,255,255,0.98);
    box-shadow:
        0 25px 70px
        rgba(26,38,70,0.17);
}

.shb-console-card.is-open .shb-storage-menu {
    display: block;
    animation: shbMenuIn .18s ease;
}

@keyframes shbMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shb-storage-menu-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}

.shb-storage-menu-head span {
    display: block;
    margin-bottom: 3px;
    color: var(--shb-primary);
    font-size: 10px;
    font-weight: 900;
}

.shb-storage-menu-head strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
}

.shb-storage-close {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    background: #f3f5f8;
    color: #6d7788;
    font-size: 18px;
}

.shb-storage-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.shb-storage-option {
    min-height: 72px;
    border: 1px solid var(--shb-border);
    border-radius: 13px;
    cursor: pointer;
    background: #fbfcfe;
    color: var(--shb-text);
    transition: .2s ease;
}

.shb-storage-option:hover {
    border-color: rgba(53,104,255,0.35);
    background: #f2f5ff;
}

.shb-storage-option.selected {
    border-color: var(--shb-primary);
    background: #edf2ff;
    box-shadow:
        inset 0 0 0 1px
        rgba(53,104,255,0.10);
}

.shb-storage-option strong {
    display: block;
    font-size: 21px;
    line-height: 1;
    font-weight: 900;
}

.shb-storage-option span {
    display: block;
    margin-top: 4px;
    color: var(--shb-muted);
    font-size: 10px;
    font-weight: 800;
}

.shb-storage-note {
    margin-top: 10px;
    color: var(--shb-muted);
    font-size: 10px;
    line-height: 1.8;
}

.shb-storage-confirm {
    width: 100%;
    min-height: 42px;
    margin-top: 11px;
    padding: 0 13px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(
            135deg,
            #4d77ff,
            #2e56df
        );
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    box-shadow:
        0 10px 22px
        rgba(53,104,255,0.20);
}

.shb-storage-confirm span {
    font-size: 18px;
}


/* =========================================================
   SPACE PANEL
   ========================================================= */

.shb-space-panel {
    margin-top: 30px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--shb-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(27,39,72,0.05);
}

.shb-space-panel-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shb-space-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #edf2ff;
    color: var(--shb-primary);
    font-size: 17px;
}

.shb-space-label {
    display: block;
    color: var(--shb-muted);
    font-size: 10px;
    font-weight: 700;
}

.shb-space-panel-left strong {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 900;
}

.shb-space-meter {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef1f6;
}

.shb-space-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #5f83ff,
            #3159df
        );
    transition: width .35s ease;
}

.shb-space-meter span.danger {
    background:
        linear-gradient(
            90deg,
            #ff8c8c,
            #e44f4f
        );
}

.shb-space-values {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--shb-muted);
    font-size: 10px;
}

.shb-space-values strong {
    color: var(--shb-text);
}


/* =========================================================
   GAME GRID
   ========================================================= */

.shb-games-section {
    margin-bottom: 60px;
}

.shb-games-count {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding-inline: 11px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--shb-primary);
    font-size: 10px;
    font-weight: 900;
}

.shb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.shb-game-card {
    overflow: hidden;
    border: 1px solid var(--shb-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(27,39,72,0.055);
    transition: .25s ease;
}

.shb-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(27,39,72,0.11);
}

.shb-game-cover-link {
    display: block;
    text-decoration: none;
}

.shb-game-cover-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef1f5;
}

.shb-game-cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform .4s ease;
}

.shb-game-card:hover .shb-game-cover {
    transform: scale(1.05);
}

.shb-game-overlay {
    position: absolute;
    right: 11px;
    bottom: 11px;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(16,23,35,0.75);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(5px);
    transition: .2s ease;
}

.shb-game-card:hover .shb-game-overlay {
    opacity: 1;
    transform: translateY(0);
}

.shb-game-content {
    padding: 13px;
}

.shb-game-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.shb-game-platforms span {
    padding: 4px 7px;
    border-radius: 7px;
    background: #f3f5f9;
    color: #687389;
    font-size: 8px;
    font-weight: 900;
}

.shb-game-title {
    margin: 9px 0 0;
    min-height: 46px;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 900;
}

.shb-game-title a {
    color: var(--shb-text);
    text-decoration: none;
}

.shb-game-bottom {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #eef0f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--shb-muted);
    font-size: 9px;
    font-weight: 700;
}

.shb-arrow {
    color: var(--shb-primary);
    font-size: 15px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.shb-empty-games {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 30px;
    border: 1px dashed #dfe3eb;
    border-radius: 20px;
    background: #fbfcfe;
    text-align: center;
}

.shb-empty-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #edf2ff;
    color: var(--shb-primary);
    font-size: 24px;
    font-weight: 400;
}

.shb-empty-games h3 {
    margin: 12px 0 5px;
    font-size: 14px;
    font-weight: 900;
}

.shb-empty-games p {
    max-width: 420px;
    margin: 0;
    color: var(--shb-muted);
    font-size: 11px;
    line-height: 2;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

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

    .shb-space-panel {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .shb-container {
        width: min(
            calc(100% - 22px),
            var(--shb-container)
        );
    }

    .shb-header-inner {
        min-height: 72px;
    }

    .shb-header-side {
        display: none;
    }

    .shb-nav-inner {
        min-height: 58px;
        overflow-x: auto;
    }

    .shb-nav-status {
        display: none;
    }

    .shb-nav-links {
        width: max-content;
    }

    .shb-welcome {
        min-height: 0;
        padding: 23px 20px;
    }

    .shb-welcome-decoration {
        display: none;
    }

    .shb-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .shb-console-grid,
    .shb-game-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .shb-console-card {
        padding: 9px;
        border-radius: 16px;
    }

    .shb-console-image {
        width: 145px;
        height: 145px;
    }

    .shb-console-info {
        padding: 10px 3px 3px;
    }

    .shb-console-info h3 {
        font-size: 13px;
    }

    .shb-console-info p {
        font-size: 9px;
    }

    .shb-console-select {
        font-size: 10px;
    }

    .shb-storage-menu {
        width: 210%;
    }

    .shb-console-card:nth-child(even) .shb-storage-menu {
        right: auto;
        left: 0;
    }

    .shb-game-title {
        font-size: 12px;
        min-height: 40px;
    }

    .shb-game-content {
        padding: 10px;
    }

    .shb-game-bottom {
        font-size: 8px;
    }
}


@media (max-width: 440px) {

    .shb-console-grid,
    .shb-game-grid {
        grid-template-columns: 1fr;
    }

    .shb-console-image {
        width: 180px;
        height: 180px;
    }

    .shb-storage-menu,
    .shb-console-card:nth-child(even) .shb-storage-menu {
        width: 100%;
        right: 0;
        left: 0;
    }
}

/* =========================================================
   PLATFORM PAGE
   ========================================================= */

.shb-platform-page {
    min-height: 100vh;
}

.shb-platform-hero {
    margin-top: 28px;
    padding: 25px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid var(--shb-border);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7f9ff
        );
    box-shadow:
        0 15px 45px
        rgba(27,39,72,0.06);
}

.shb-platform-hero h1 {
    margin: 0;
    font-size: 27px;
    line-height: 1.5;
    font-weight: 900;
}

.shb-platform-hero p {
    margin: 6px 0 0;
    color: var(--shb-muted);
    font-size: 12px;
    line-height: 2;
}

.shb-platform-hero-count {
    min-width: 95px;
    min-height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #eef3ff;
    color: var(--shb-primary);
}

.shb-platform-hero-count strong {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.shb-platform-hero-count span {
    margin-top: 7px;
    color: #6f7c95;
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   WARNING
   ========================================================= */

.shb-storage-warning {
    margin-top: 12px;
    padding: 12px 15px;
    border-radius: 13px;
    background: #fff8e8;
    border: 1px solid #f1dfae;
    color: #886b28;
    font-size: 11px;
    line-height: 1.9;
    font-weight: 700;
}


/* =========================================================
   GAME CARD
   ========================================================= */

.shb-platform-game-grid {
    margin-top: 5px;
}

.shb-platform-game-card {
    position: relative;
}

.shb-game-data {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef0f4;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shb-game-data-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #727c8e;
    font-size: 9px;
    line-height: 1.5;
}

.shb-game-data-item > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shb-game-data-icon {
    flex: 0 0 auto;
    color: var(--shb-primary);
    font-size: 10px;
}

.shb-game-data-missing {
    color: #b28a46;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.shb-game-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.shb-game-action {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--shb-border);
    border-radius: 11px;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    transition:
        .2s ease;
}

.shb-description-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #f7f8fb;
    color: #657084;
}

.shb-description-button:hover {
    border-color: #d8deeb;
    background: #f0f3f8;
    color: var(--shb-text);
}

.shb-info-symbol {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8edf5;
    color: #657084;
    font-family: Georgia, serif;
    font-size: 11px;
    font-style: italic;
}

.shb-add-game {
    border-color: var(--shb-primary);
    background:
        linear-gradient(
            135deg,
            #4c76ff,
            #2d57df
        );
    color: #fff;
    box-shadow:
        0 7px 16px
        rgba(53,104,255,0.16);
}

.shb-add-game:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 22px
        rgba(53,104,255,0.23);
}

.shb-add-game.added {
    border-color: #39a970;
    background:
        linear-gradient(
            135deg,
            #50bd85,
            #299f66
        );
    box-shadow:
        0 7px 16px
        rgba(41,159,102,0.14);
}


/* =========================================================
   DESCRIPTION TOOLTIP
   ========================================================= */

.shb-description-tooltip {
    position: absolute;
    right: 10px;
    left: 10px;
    bottom: 78px;
    z-index: 50;
    display: none;
    max-height: 330px;
    overflow: hidden;
    border: 1px solid var(--shb-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.98);
    box-shadow:
        0 24px 60px
        rgba(24,35,64,0.18);
    backdrop-filter: blur(12px);
}

.shb-description-tooltip.is-open {
    display: block;
    animation:
        shbTooltipIn .18s ease;
}

@keyframes shbTooltipIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shb-description-tooltip-head {
    min-height: 45px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #edf0f4;
}

.shb-description-tooltip-head strong {
    font-size: 11px;
    font-weight: 900;
}

.shb-description-tooltip-close {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    background: #f3f5f8;
    color: #70798a;
    font-family: inherit;
    font-size: 17px;
}

.shb-description-tooltip-content {
    max-height: 285px;
    overflow-y: auto;
    padding: 12px;
    color: #626c7e;
    font-size: 10px;
    line-height: 2;
}

.shb-description-tooltip-content p {
    margin: 0 0 9px;
}

.shb-description-tooltip-content p:last-child {
    margin-bottom: 0;
}

.shb-description-tooltip-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.shb-description-tooltip-content ul,
.shb-description-tooltip-content ol {
    margin: 0 0 10px;
    padding-right: 18px;
}


/* =========================================================
   LOAD MORE
   ========================================================= */

.shb-load-more-wrap {
    margin-top: 28px;
    text-align: center;
}

.shb-load-more {
    min-width: 220px;
    min-height: 46px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid #dbe2ee;
    border-radius: 13px;
    cursor: pointer;
    background: #fff;
    color: #526078;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    box-shadow:
        0 10px 25px
        rgba(27,39,72,0.06);
    transition:
        .2s ease;
}

.shb-load-more:hover {
    border-color: rgba(53,104,255,0.35);
    background: #f5f7fc;
    color: var(--shb-primary);
    transform: translateY(-2px);
}

.shb-load-more:disabled {
    cursor: wait;
    opacity: .75;
}

.shb-load-more-spinner {
    width: 14px;
    height: 14px;
    display: none;
    border: 2px solid #dce2ed;
    border-top-color: var(--shb-primary);
    border-radius: 50%;
    animation:
        shbSpin .7s linear infinite;
}

.shb-load-more.loading
.shb-load-more-spinner {
    display: block;
}

@keyframes shbSpin {
    to {
        transform: rotate(360deg);
    }
}

.shb-load-more-info {
    margin-top: 9px;
    color: #939baa;
    font-size: 9px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .shb-platform-hero {
        padding: 20px;
    }

    .shb-platform-hero h1 {
        font-size: 22px;
    }

    .shb-platform-hero-count {
        min-width: 75px;
        min-height: 75px;
    }

    .shb-platform-hero-count strong {
        font-size: 23px;
    }

    .shb-game-data-item {
        font-size: 8px;
    }

    .shb-game-action {
        font-size: 9px;
    }

    .shb-description-tooltip {
        right: 6px;
        left: 6px;
    }
}

/* =========================================================
   LIVE GAME FILTER
   ========================================================= */

.shb-game-filter {
    margin: 0 0 26px;
}

.shb-game-filter-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 7px 9px 7px 12px;
    background: #ffffff;
    border: 1px solid #e7eaf1;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(27, 39, 72, 0.06);
}

.shb-game-filter-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 11px;
    background: #f3f6ff;
    font-size: 22px;
    line-height: 1;
}

.shb-game-filter-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: 'LyFont', sans-serif;
    font-size: 15px;
    color: #18202f;
}

.shb-game-filter-input::placeholder {
    color: #98a0b0;
}

.shb-game-filter-input.is-loading {
    opacity: 0.65;
}

.shb-game-filter-clear {
    flex: 0 0 auto;
    border: 0;
    background: #f3f4f7;
    color: #60697a;
    border-radius: 11px;
    padding: 9px 14px;
    font-family: 'LyFont', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

.shb-game-filter-clear:hover {
    background: #e9ebf0;
    color: #18202f;
}

.shb-game-filter-status {
    min-height: 22px;
    margin-top: 9px;
    padding-right: 4px;
    color: #7b8495;
    font-size: 13px;
}