/* =========================================================
   CSI MINI GAMES
   ========================================================= */

.mini-games-view {
    display: none;
    min-height: 100vh;
    padding: 120px 24px 60px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 193, 7, 0.08),
            transparent 35%
        ),
        #07090d;
}

.mini-games-view.active {
    display: block;
}

.mini-games-shell {
    width: min(1450px, 100%);
    margin: 0 auto;
}

.mini-games-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
    padding: 28px 32px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.mini-games-kicker {
    display: block;
    margin-bottom: 7px;
    color: #e4b84b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.mini-games-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
}

.mini-games-hero h1 i {
    margin-right: 10px;
    color: #e4b84b;
}

.mini-games-hero p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.58);
}

.mini-games-profile {
    min-width: 190px;
    padding: 15px 20px;
    border: 1px solid rgba(228,184,75,.22);
    border-radius: 14px;
    background: rgba(228,184,75,.055);
}

.mini-games-profile span,
.mini-games-stage-top span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.42);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.mini-games-profile strong {
    color: #fff;
    font-size: 17px;
}

.mini-games-layout {
    display: grid;
    grid-template-columns: 235px minmax(420px, 1fr) 285px;
    gap: 20px;
    align-items: stretch;
}

.mini-games-sidebar,
.mini-games-stage,
.mini-games-leaderboard {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: rgba(13,16,22,.94);
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.mini-games-sidebar {
    padding: 18px;
}

.mini-games-sidebar-title {
    margin: 2px 5px 15px;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.mini-game-select {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin-bottom: 9px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}

.mini-game-select:hover:not(:disabled),
.mini-game-select.active {
    border-color: rgba(228,184,75,.25);
    background: rgba(228,184,75,.08);
}

.mini-game-select.locked {
    opacity: .34;
    cursor: not-allowed;
}

.mini-game-select-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    color: #e4b84b;
}

.mini-game-select strong,
.mini-game-select small {
    display: block;
}

.mini-game-select strong {
    margin-bottom: 3px;
    font-size: 14px;
}

.mini-game-select small {
    color: rgba(255,255,255,.4);
    font-size: 11px;
}

.mini-games-stage {
    min-height: 650px;
    padding: 20px;
}

.mini-games-stage-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.mini-games-stage-top > div {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}

.mini-games-stage-top strong {
    color: #fff;
    font-size: 16px;
}

.tetris-placeholder {
    position: relative;
    min-height: 555px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border: 1px dashed rgba(228,184,75,.22);
    border-radius: 15px;
    background:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );
    background-size: 28px 28px;
    text-align: center;
}

.tetris-placeholder > i {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    color: #e4b84b;
    font-size: 55px;
}

.tetris-placeholder h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 34px;
}

.tetris-placeholder p {
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin: 10px 0 24px;
    color: rgba(255,255,255,.45);
    line-height: 1.6;
}

.tetris-placeholder-grid {
    position: absolute;
    inset: 0;
    opacity: .08;
    pointer-events: none;
}

.mini-games-start-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid #e4b84b;
    border-radius: 11px;
    background: #e4b84b;
    color: #111;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.mini-games-start-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.mini-games-leaderboard {
    padding: 18px;
}

.mini-games-leaderboard-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mini-games-leaderboard-title > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 900;
}

.mini-games-leaderboard-title i {
    color: #e4b84b;
}

.mini-games-leaderboard-title small {
    color: rgba(255,255,255,.35);
    font-size: 10px;
    letter-spacing: 1px;
}

.mini-games-leaderboard-list {
    padding-top: 16px;
}

.mini-games-empty-score {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,.35);
}

.mini-games-empty-score i {
    margin-bottom: 14px;
    color: rgba(228,184,75,.45);
    font-size: 34px;
}

.mini-games-empty-score strong {
    margin-bottom: 6px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.mini-games-empty-score span {
    font-size: 11px;
}

body.mini-games-page-active {
    background: #07090d;
}

@media (max-width: 1100px) {
    .mini-games-layout {
        grid-template-columns: 190px 1fr;
    }

    .mini-games-leaderboard {
        grid-column: 1 / -1;
    }

    .mini-games-empty-score {
        min-height: 150px;
    }
}

@media (max-width: 760px) {
    .mini-games-view {
        padding: 95px 12px 35px;
    }

    .mini-games-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .mini-games-profile {
        width: 100%;
    }

    .mini-games-layout {
        grid-template-columns: 1fr;
    }

    .mini-games-sidebar {
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .mini-games-sidebar-title {
        display: none;
    }

    .mini-game-select {
        min-width: 150px;
        margin: 0;
    }

    .mini-games-leaderboard {
        grid-column: auto;
    }

    .mini-games-stage {
        min-height: auto;
        padding: 12px;
    }

    .mini-games-stage-top {
        grid-template-columns: 1fr;
    }

    .tetris-placeholder {
        min-height: 460px;
    }
}


/* === CSI TETRIS V2 START === */

.tetris-placeholder.is-game-ready {
    min-height: 555px;
    display: block;
    padding: 18px;
    border-style: solid;
    background: #090c11;
    text-align: initial;
}

.csi-tetris-wrapper {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 185px;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.csi-tetris-board-wrap {
    position: relative;
    width: 300px;
    height: 600px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(228,184,75,.28);
    border-radius: 12px;
    background: #080b10;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.025),
        0 20px 50px rgba(0,0,0,.32);
}

#csiTetrisCanvas {
    display: block;
    width: 300px;
    height: 600px;
    max-width: 100%;
    background: #080b10;
}

.csi-tetris-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(4,6,9,.82);
    backdrop-filter: blur(5px);
}

.csi-tetris-overlay.active {
    display: flex;
}

.csi-tetris-overlay-box {
    width: 100%;
    max-width: 260px;
    text-align: center;
}

.csi-tetris-overlay-box > i {
    margin-bottom: 14px;
    color: #e4b84b;
    font-size: 42px;
}

.csi-tetris-overlay-box h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 25px;
}

.csi-tetris-overlay-box p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 1.6;
}

.csi-tetris-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.csi-tetris-info-card,
.csi-tetris-next,
.csi-tetris-controls {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.csi-tetris-info-card span,
.csi-tetris-next > span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255,255,255,.4);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.csi-tetris-info-card strong {
    color: #fff;
    font-size: 22px;
}

#csiTetrisNextCanvas {
    display: block;
    width: 120px;
    height: 120px;
    max-width: 100%;
    margin: 8px auto 0;
    border-radius: 8px;
}

.csi-tetris-controls > strong {
    display: block;
    margin-bottom: 10px;
    color: #e4b84b;
    font-size: 10px;
    letter-spacing: 1.2px;
}

.csi-tetris-controls > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
}

.csi-tetris-controls kbd {
    min-width: 25px;
    padding: 4px 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-family: inherit;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 900px) {

    .csi-tetris-wrapper {
        grid-template-columns: 1fr;
    }

    .csi-tetris-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csi-tetris-next,
    .csi-tetris-controls {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {

    .tetris-placeholder.is-game-ready {
        padding: 8px;
    }

    .csi-tetris-board-wrap {
        width: 270px;
        height: 540px;
    }

    #csiTetrisCanvas {
        width: 270px;
        height: 540px;
    }

    .csi-tetris-info {
        grid-template-columns: 1fr 1fr;
    }
}

/* === CSI TETRIS V2 END === */


/* === CSI LEADERBOARD V3 START === */

.mini-games-score-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 10px;
    margin-bottom: 7px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 11px;
    background: rgba(255,255,255,.022);
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.mini-games-score-row:hover {
    transform: translateY(-1px);
    border-color: rgba(228,184,75,.18);
    background: rgba(255,255,255,.035);
}

.mini-games-score-row.is-me {
    border-color: rgba(228,184,75,.32);
    background: linear-gradient(
        90deg,
        rgba(228,184,75,.11),
        rgba(228,184,75,.035)
    );
}

.mini-games-score-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
    font-weight: 900;
}

.mini-games-score-user {
    min-width: 0;
}

.mini-games-score-user strong {
    display: block;
    overflow: hidden;
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-games-score-user small {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(228,184,75,.13);
    color: #e4b84b;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .7px;
}

.mini-games-score-value {
    color: #e4b84b;
    font-size: 13px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* === CSI LEADERBOARD V3 END === */

/* === CSI TETRIS V7 POLISH START === */

/* TOP 3 */

.mini-games-score-row.rank-first {
    position: relative;
    border-color: rgba(228,184,75,.48);
    background:
        linear-gradient(
            90deg,
            rgba(228,184,75,.16),
            rgba(228,184,75,.035)
        );
    box-shadow:
        inset 3px 0 0 rgba(228,184,75,.8),
        0 8px 25px rgba(0,0,0,.14);
}

.mini-games-score-row.rank-first .mini-games-score-value {
    color: #f2ca5c;
    font-size: 15px;
}

.mini-games-score-row.rank-first .mini-games-score-user strong {
    color: #f4d77e;
}

.mini-games-score-row.rank-second {
    border-color: rgba(205,211,220,.23);
    background:
        linear-gradient(
            90deg,
            rgba(205,211,220,.08),
            rgba(255,255,255,.018)
        );
}

.mini-games-score-row.rank-second .mini-games-score-value {
    color: #d8dde5;
}

.mini-games-score-row.rank-third {
    border-color: rgba(190,125,63,.24);
    background:
        linear-gradient(
            90deg,
            rgba(190,125,63,.09),
            rgba(255,255,255,.018)
        );
}

.mini-games-score-row.rank-third .mini-games-score-value {
    color: #d69a60;
}

/* KENDI SATIRIMIZ */

.mini-games-score-row.is-me {
    outline: 1px solid rgba(228,184,75,.12);
    outline-offset: -4px;
}

/* YENI REKOR */

.csi-tetris-overlay.new-record {
    background:
        radial-gradient(
            circle at center,
            rgba(228,184,75,.15),
            rgba(4,6,9,.90) 58%
        );
}

.csi-tetris-overlay.new-record
.csi-tetris-overlay-box {
    animation:
        csiNewRecordPop .45s ease-out;
}

.csi-tetris-overlay.new-record
.csi-tetris-overlay-box > i {
    color: #f1c54b;
    filter:
        drop-shadow(
            0 0 15px rgba(228,184,75,.42)
        );
    animation:
        csiRecordTrophy 1.4s ease-in-out infinite;
}

.csi-tetris-overlay.new-record
.csi-tetris-overlay-box h2 {
    color: #f1c54b;
    text-shadow:
        0 0 22px rgba(228,184,75,.25);
}

@keyframes csiNewRecordPop {

    0% {
        opacity: 0;
        transform: scale(.82);
    }

    70% {
        transform: scale(1.04);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes csiRecordTrophy {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.06);
    }
}

/* === CSI TETRIS V7 POLISH END === */

/* === CSI SNAKE V2 START === */

.csi-snake-wrapper {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 185px;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.csi-snake-board-wrap {
    position: relative;
    width: 480px;
    height: 480px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(228,184,75,.28);
    border-radius: 12px;
    background: #080b10;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.025),
        0 20px 50px rgba(0,0,0,.32);
}

#csiSnakeCanvas {
    display: block;
    width: 480px;
    height: 480px;
    max-width: 100%;
    background: #080b10;
}

.csi-snake-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 900px) {

    .csi-snake-wrapper {
        grid-template-columns: 1fr;
    }

    .csi-snake-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csi-snake-info
    .csi-tetris-controls {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {

    .csi-snake-board-wrap {
        width: 360px;
        height: 360px;
    }

    #csiSnakeCanvas {
        width: 360px;
        height: 360px;
    }
}

/* === CSI SNAKE V2 END === */

/* === CSI PACMAN V2 START === */

.csi-pacman-wrapper {
    min-height: 570px;
    display: grid;
    grid-template-columns: minmax(360px, 1fr) 185px;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.csi-pacman-board-wrap {
    position: relative;
    width: 456px;
    height: 528px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(228,184,75,.28);
    border-radius: 12px;
    background: #05070a;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.025),
        0 20px 50px rgba(0,0,0,.32);
}

#csiPacmanCanvas {
    display: block;
    width: 456px;
    height: 528px;
    max-width: 100%;
    background: #05070a;
}

.csi-pacman-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 900px) {

    .csi-pacman-wrapper {
        grid-template-columns: 1fr;
    }

    .csi-pacman-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csi-pacman-info
    .csi-tetris-controls {
        grid-column: span 2;
    }
}

/* === CSI PACMAN V2 END === */

/* =========================================================
   CSI SUDOKU V1
   ========================================================= */

.csi-sudoku-wrapper {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(430px, 1fr) 190px;
    gap: 20px;
    align-items: start;
}

.csi-sudoku-main {
    min-width: 0;
}

.csi-sudoku-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.csi-sudoku-difficulty {
    display: flex;
    gap: 6px;
}

.csi-sudoku-difficulty button,
.sudoku-leaderboard-tabs button {
    appearance: none;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
    cursor: pointer;
    transition: .2s ease;
}

.csi-sudoku-difficulty button:hover,
.sudoku-leaderboard-tabs button:hover {
    border-color: rgba(228,184,75,.28);
    color: #fff;
}

.csi-sudoku-difficulty button.active,
.sudoku-leaderboard-tabs button.active {
    border-color: rgba(228,184,75,.42);
    background: rgba(228,184,75,.13);
    color: #e4b84b;
}

.csi-sudoku-new {
    border: 1px solid rgba(228,184,75,.24);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(228,184,75,.08);
    color: #e4b84b;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.csi-sudoku-board {
    width: min(100%, 540px);
    aspect-ratio: 1;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(9, 1fr);
    border: 2px solid rgba(228,184,75,.52);
    border-radius: 8px;
    overflow: hidden;
    background: #090c11;
}

.csi-sudoku-cell {
    position: relative;
    appearance: none;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.09);
    border-bottom: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.015);
    color: #e4b84b;
    font-family: inherit;
    font-size: clamp(15px, 2vw, 24px);
    font-weight: 800;
    cursor: pointer;
    transition: background .12s ease;
}

.csi-sudoku-cell:nth-child(9n + 3),
.csi-sudoku-cell:nth-child(9n + 6) {
    border-right: 2px solid rgba(228,184,75,.32);
}

.csi-sudoku-cell:nth-child(n + 19):nth-child(-n + 27),
.csi-sudoku-cell:nth-child(n + 46):nth-child(-n + 54) {
    border-bottom: 2px solid rgba(228,184,75,.32);
}

.csi-sudoku-cell.fixed {
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.028);
}

.csi-sudoku-cell.related {
    background: rgba(228,184,75,.045);
}

.csi-sudoku-cell.selected {
    z-index: 2;
    background: rgba(228,184,75,.15);
    box-shadow:
        inset 0 0 0 2px rgba(228,184,75,.5);
}

.csi-sudoku-cell.wrong {
    background: rgba(210,65,65,.24);
    color: #ff7474;
    animation: csiSudokuWrong .32s ease;
}

@keyframes csiSudokuWrong {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

.csi-sudoku-cell-notes {
    position: absolute;
    inset: 3px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.csi-sudoku-cell-notes small {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.43);
    font-size: clamp(6px, .8vw, 9px);
    font-weight: 700;
}

.csi-sudoku-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.csi-sudoku-info-card {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}

.csi-sudoku-info-card span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.38);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.csi-sudoku-info-card strong {
    color: #fff;
    font-size: 20px;
}

.csi-sudoku-notes {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    padding: 11px;
    background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.csi-sudoku-notes.active {
    border-color: rgba(228,184,75,.38);
    background: rgba(228,184,75,.12);
    color: #e4b84b;
}

.csi-sudoku-number-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.csi-sudoku-number-pad button {
    aspect-ratio: 1.15;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.csi-sudoku-number-pad button:hover {
    border-color: rgba(228,184,75,.28);
    background: rgba(228,184,75,.08);
    color: #e4b84b;
}

.csi-sudoku-number-pad button.erase {
    color: #e4b84b;
}

.csi-sudoku-help {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 9px;
    background: rgba(255,255,255,.018);
}

.csi-sudoku-help strong {
    color: #e4b84b;
    font-size: 8px;
    letter-spacing: 1px;
}

.csi-sudoku-help span {
    color: rgba(255,255,255,.4);
    font-size: 9px;
    line-height: 1.45;
}

.sudoku-leaderboard-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.sudoku-leaderboard-tabs button {
    padding: 7px 3px;
    font-size: 8px;
}

.csi-sudoku-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 12px;
    background: rgba(4,6,9,.9);
    backdrop-filter: blur(7px);
}

.csi-sudoku-overlay.active {
    display: flex;
}

.csi-sudoku-overlay > div {
    max-width: 320px;
    text-align: center;
    animation: csiNewRecordPop .4s ease-out;
}

.csi-sudoku-overlay i {
    margin-bottom: 13px;
    color: #e4b84b;
    font-size: 42px;
}

.csi-sudoku-overlay h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 24px;
}

.csi-sudoku-overlay p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.52);
    font-size: 12px;
}

@media (max-width: 900px) {

    .csi-sudoku-wrapper {
        grid-template-columns: 1fr;
    }

    .csi-sudoku-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csi-sudoku-number-pad,
    .csi-sudoku-help {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {

    .csi-sudoku-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .csi-sudoku-difficulty {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .csi-sudoku-cell {
        font-size: 15px;
    }
}

/* =========================================================
   CSI SUDOKU V1 END
   ========================================================= */

/* =========================================================
   CSI 2048 V1
   ========================================================= */

.csi-2048-wrapper {
    position: relative;
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(380px, 1fr) 180px;
    gap: 20px;
    align-items: center;
}

.csi-2048-main {
    min-width: 0;
}

.csi-2048-board {
    width: min(100%, 500px);
    aspect-ratio: 1;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(228,184,75,.28);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            rgba(15,19,26,.98),
            rgba(8,11,16,.98)
        );
    box-shadow:
        0 20px 50px rgba(0,0,0,.32);
}

.csi-2048-cell {
    position: relative;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
}

.csi-2048-tile {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(228,184,75,.12);
    color: #fff;
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 950;
    letter-spacing: -1px;
    box-shadow:
        inset 0 0 0 1px rgba(228,184,75,.15);
    animation: csi2048Pop .14s ease-out;
}

.csi-2048-tile[data-value="2"] {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
}

.csi-2048-tile[data-value="4"] {
    background: rgba(228,184,75,.12);
    color: #f0d77b;
}

.csi-2048-tile[data-value="8"] {
    background: rgba(228,155,75,.22);
    color: #ffd58e;
}

.csi-2048-tile[data-value="16"] {
    background: rgba(226,124,62,.25);
    color: #ffd0a8;
}

.csi-2048-tile[data-value="32"] {
    background: rgba(222,89,70,.28);
    color: #ffb3ab;
}

.csi-2048-tile[data-value="64"] {
    background: rgba(209,67,67,.34);
    color: #fff;
}

.csi-2048-tile[data-value="128"],
.csi-2048-tile[data-value="256"],
.csi-2048-tile[data-value="512"] {
    background:
        linear-gradient(
            145deg,
            rgba(228,184,75,.42),
            rgba(169,119,32,.35)
        );
    color: #fff3bf;
    box-shadow:
        0 0 20px rgba(228,184,75,.12),
        inset 0 0 0 1px rgba(255,231,153,.22);
}

.csi-2048-tile[data-value="1024"],
.csi-2048-tile[data-value="2048"] {
    background:
        linear-gradient(
            145deg,
            rgba(240,196,78,.74),
            rgba(174,116,24,.62)
        );
    color: #15100a;
    box-shadow:
        0 0 28px rgba(228,184,75,.28);
}

.csi-2048-tile[data-value="4096"],
.csi-2048-tile[data-value="8192"] {
    background:
        linear-gradient(
            145deg,
            rgba(255,221,117,.9),
            rgba(213,151,35,.8)
        );
    color: #080604;
    box-shadow:
        0 0 34px rgba(228,184,75,.38);
}

@keyframes csi2048Pop {

    from {
        opacity: .45;
        transform: scale(.82);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.csi-2048-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.csi-2048-info-card {
    padding: 15px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}

.csi-2048-info-card span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.38);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.csi-2048-info-card strong {
    color: #e4b84b;
    font-size: 24px;
    font-weight: 950;
}

.csi-2048-new {
    border: 1px solid rgba(228,184,75,.24);
    border-radius: 9px;
    padding: 11px;
    background: rgba(228,184,75,.08);
    color: #e4b84b;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.csi-2048-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 9px;
    background: rgba(255,255,255,.018);
}

.csi-2048-controls strong {
    color: #e4b84b;
    font-size: 8px;
    letter-spacing: 1px;
}

.csi-2048-controls span {
    color: rgba(255,255,255,.42);
    font-size: 9px;
}

.csi-2048-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 14px;
    background: rgba(4,6,9,.91);
    backdrop-filter: blur(7px);
}

.csi-2048-overlay.active {
    display: flex;
}

.csi-2048-overlay > div {
    max-width: 330px;
    text-align: center;
    animation: csiNewRecordPop .4s ease-out;
}

.csi-2048-overlay i {
    margin-bottom: 13px;
    color: #e4b84b;
    font-size: 42px;
}

.csi-2048-overlay h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 25px;
}

.csi-2048-overlay p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.54);
    font-size: 12px;
}

.csi-2048-overlay.new-record {
    background:
        radial-gradient(
            circle at center,
            rgba(228,184,75,.15),
            rgba(4,6,9,.92) 58%
        );
}

.csi-2048-win-notice {
    position: absolute;
    z-index: 40;
    top: 18px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(228,184,75,.38);
    border-radius: 999px;
    background: rgba(12,13,15,.94);
    color: #fff;
    transform: translateX(-50%);
    box-shadow:
        0 12px 30px rgba(0,0,0,.3);
    animation:
        csi2048Notice .25s ease-out;
}

.csi-2048-win-notice i,
.csi-2048-win-notice strong {
    color: #e4b84b;
}

.csi-2048-win-notice span {
    color: rgba(255,255,255,.5);
    font-size: 10px;
}

@keyframes csi2048Notice {

    from {
        opacity: 0;
        transform:
            translateX(-50%)
            translateY(-8px);
    }

    to {
        opacity: 1;
        transform:
            translateX(-50%)
            translateY(0);
    }
}

@media (max-width: 900px) {

    .csi-2048-wrapper {
        grid-template-columns: 1fr;
    }

    .csi-2048-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csi-2048-controls {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {

    .csi-2048-board {
        gap: 6px;
        padding: 6px;
    }

    .csi-2048-tile {
        font-size: 21px;
    }
}

/* =========================================================
   CSI 2048 V1 END
   ========================================================= */

/* =========================================================
   CSI MINESWEEPER V1
   ========================================================= */

.csi-minesweeper-wrapper {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(430px, 1fr) 185px;
    gap: 20px;
    align-items: start;
}

.csi-minesweeper-main {
    min-width: 0;
}

.csi-minesweeper-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.csi-minesweeper-difficulty {
    display: flex;
    gap: 6px;
}

.csi-minesweeper-difficulty button,
.minesweeper-leaderboard-tabs button {
    appearance: none;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
    cursor: pointer;
    transition: .2s ease;
}

.csi-minesweeper-difficulty button.active,
.minesweeper-leaderboard-tabs button.active {
    border-color: rgba(228,184,75,.42);
    background: rgba(228,184,75,.13);
    color: #e4b84b;
}

.csi-minesweeper-new {
    border: 1px solid rgba(228,184,75,.24);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(228,184,75,.08);
    color: #e4b84b;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.csi-minesweeper-board-scroll {
    width: 100%;
    overflow: auto;
    padding-bottom: 5px;
}

.csi-minesweeper-board {
    --mine-cols: 9;

    display: grid;
    grid-template-columns:
        repeat(
            var(--mine-cols),
            28px
        );

    grid-auto-rows: 28px;
    width: max-content;
    margin: 0 auto;
    padding: 8px;
    gap: 2px;

    border: 1px solid rgba(228,184,75,.25);
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(14,18,24,.98),
            rgba(7,10,14,.98)
        );
}

.csi-minesweeper-cell {
    appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;

    background: rgba(255,255,255,.045);

    color: #fff;

    font-size: 12px;
    font-weight: 950;

    cursor: pointer;

    transition:
        background .1s ease,
        border-color .1s ease,
        transform .1s ease;
}

.csi-minesweeper-cell:hover:not(.revealed) {
    border-color: rgba(228,184,75,.28);
    background: rgba(228,184,75,.08);
}

.csi-minesweeper-cell:active:not(.revealed) {
    transform: scale(.93);
}

.csi-minesweeper-cell.revealed {
    border-color: rgba(255,255,255,.035);
    background: rgba(255,255,255,.012);
    cursor: default;
}

.csi-minesweeper-cell.flagged {
    color: #e4b84b;
}

.csi-minesweeper-cell.mine {
    background: rgba(200,55,55,.2);
    color: #ff7474;
}

.csi-minesweeper-cell[data-number="1"] {
    color: #6ca8ff;
}

.csi-minesweeper-cell[data-number="2"] {
    color: #62c98d;
}

.csi-minesweeper-cell[data-number="3"] {
    color: #ff7d72;
}

.csi-minesweeper-cell[data-number="4"] {
    color: #aa8cff;
}

.csi-minesweeper-cell[data-number="5"] {
    color: #d77c6d;
}

.csi-minesweeper-cell[data-number="6"] {
    color: #53c6cb;
}

.csi-minesweeper-cell[data-number="7"] {
    color: #ddd;
}

.csi-minesweeper-cell[data-number="8"] {
    color: #8d929a;
}

.csi-minesweeper-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.csi-minesweeper-info-card {
    padding: 14px;

    border: 1px solid rgba(255,255,255,.065);
    border-radius: 11px;

    background: rgba(255,255,255,.025);
}

.csi-minesweeper-info-card span {
    display: block;
    margin-bottom: 5px;

    color: rgba(255,255,255,.38);

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.csi-minesweeper-info-card strong {
    color: #e4b84b;
    font-size: 22px;
    font-weight: 950;
}

.csi-minesweeper-help {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 12px;

    border: 1px solid rgba(255,255,255,.05);
    border-radius: 9px;

    background: rgba(255,255,255,.018);
}

.csi-minesweeper-help strong {
    color: #e4b84b;
    font-size: 8px;
    letter-spacing: 1px;
}

.csi-minesweeper-help span {
    color: rgba(255,255,255,.43);
    font-size: 9px;
    line-height: 1.45;
}

.minesweeper-leaderboard-tabs {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.minesweeper-leaderboard-tabs button {
    padding: 7px 3px;
    font-size: 8px;
}

.csi-minesweeper-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;

    border-radius: 14px;

    background: rgba(4,6,9,.91);

    backdrop-filter: blur(7px);
}

.csi-minesweeper-overlay.active {
    display: flex;
}

.csi-minesweeper-overlay.new-record {
    background:
        radial-gradient(
            circle at center,
            rgba(228,184,75,.15),
            rgba(4,6,9,.92) 58%
        );
}

.csi-minesweeper-overlay > div {
    max-width: 330px;
    text-align: center;
    animation: csiNewRecordPop .4s ease-out;
}

.csi-minesweeper-overlay i {
    margin-bottom: 13px;
    color: #e4b84b;
    font-size: 42px;
}

.csi-minesweeper-overlay h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 25px;
}

.csi-minesweeper-overlay p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.54);
    font-size: 12px;
}

@media (max-width: 900px) {

    .csi-minesweeper-wrapper {
        grid-template-columns: 1fr;
    }

    .csi-minesweeper-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csi-minesweeper-help {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {

    .csi-minesweeper-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .csi-minesweeper-difficulty {
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }
}

/* =========================================================
   CSI MINESWEEPER V1 END
   ========================================================= */

/* =========================================================
   CSI MINESWEEPER FIT FIX
   ========================================================= */

.csi-minesweeper-board-scroll {
    overflow: visible;
    padding-bottom: 0;
}

.csi-minesweeper-board {
    --mine-cell-size: 28px;
    --mine-gap: 2px;

    grid-template-columns:
        repeat(
            var(--mine-cols),
            var(--mine-cell-size)
        );

    grid-auto-rows:
        var(--mine-cell-size);

    gap:
        var(--mine-gap);

    max-width: 100%;
    box-sizing: border-box;
}

.csi-minesweeper-cell {
    width:
        var(--mine-cell-size);

    height:
        var(--mine-cell-size);
}

/* KOLAY */

.csi-minesweeper-board[data-difficulty="easy"] {
    margin-top: 14px;
}

.csi-minesweeper-board[data-difficulty="easy"]
.csi-minesweeper-cell {
    font-size: 14px;
}

/* ORTA */

.csi-minesweeper-board[data-difficulty="medium"]
.csi-minesweeper-cell {
    font-size: 11px;
}

/* ZOR */

.csi-minesweeper-board[data-difficulty="hard"] {
    padding: 6px;
    border-radius: 10px;
}

.csi-minesweeper-board[data-difficulty="hard"]
.csi-minesweeper-cell {
    border-radius: 3px;
    font-size: 9px;
}

.csi-minesweeper-board[data-difficulty="hard"]
.csi-minesweeper-cell i {
    font-size: 8px;
}

/*
    Orta ekranlarda Zor mod yine tam sığsın.
*/

@media (max-width: 1200px) {

    .csi-minesweeper-board[data-difficulty="hard"] {
        --mine-cell-size: 16px !important;
    }
}

/*
    Mobilde yatay kaydırmayı geri açıyoruz.
    30 sütunu telefonda 8-10px'e düşürmek oynanamaz olur.
*/

@media (max-width: 900px) {

    .csi-minesweeper-board-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
    }

    .csi-minesweeper-board[data-difficulty="hard"] {
        --mine-cell-size: 20px !important;
    }
}

/* =========================================================
   CSI MINESWEEPER FIT FIX END
   ========================================================= */

/* =========================================================
   CSI MINESWEEPER HARD FULL WIDTH V2
   ========================================================= */

.csi-minesweeper-wrapper[data-difficulty="hard"] {
    grid-template-columns: 1fr;
    gap: 16px;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-main {
    width: 100%;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-board-scroll {
    width: 100%;
    overflow: visible;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-board {
    --mine-cell-size: 24px !important;
    --mine-gap: 2px !important;

    width: max-content;
    max-width: none;

    margin-left: auto;
    margin-right: auto;

    padding: 8px;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-cell {
    font-size: 11px;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-cell i {
    font-size: 10px;
}

/*
    Zor modda sag panel yerine
    altta 3 kartlik bilgi satiri.
*/

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-side {
    display: grid;
    grid-template-columns:
        minmax(150px, .8fr)
        minmax(150px, .8fr)
        minmax(260px, 1.6fr);

    gap: 12px;
    width: 100%;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-info-card,
.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-help {
    min-height: 76px;
    box-sizing: border-box;
}

.csi-minesweeper-wrapper[data-difficulty="hard"]
.csi-minesweeper-help {
    justify-content: center;
}

/*
    Daha genis masaustunde biraz daha buyuk.
*/

@media (min-width: 1500px) {

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-board {
        --mine-cell-size: 25px !important;
    }
}

/*
    Orta masaustunde hala tek ekrana sigsin.
*/

@media (max-width: 1250px) {

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-board {
        --mine-cell-size: 21px !important;
        --mine-gap: 1px !important;
    }
}

/*
    Telefonda yeniden yatay scroll.
*/

@media (max-width: 900px) {

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-board-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-board {
        --mine-cell-size: 22px !important;
    }

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-side {
        grid-template-columns: 1fr 1fr;
    }

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-help {
        grid-column: span 2;
    }
}

/* =========================================================
   CSI MINESWEEPER HARD FULL WIDTH V2 END
   ========================================================= */


/* =========================================================
   CSI MINI GAMES MOBILE CONTROLS V1
   ========================================================= */

.csi-mobile-game-controls {
    display: none;
}

@media (pointer: coarse), (max-width: 900px) {

    .csi-mobile-game-controls.active {
        display: block;
        width: 100%;
        margin-top: 18px;
        padding: 14px;

        box-sizing: border-box;

        border:
            1px solid
            rgba(228,184,75,.18);

        border-radius: 14px;

        background:
            linear-gradient(
                145deg,
                rgba(17,21,28,.96),
                rgba(8,11,16,.98)
            );

        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .csi-mobile-control-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;

        margin-bottom: 12px;

        color: rgba(228,184,75,.72);

        font-size: 9px;
        font-weight: 950;
        letter-spacing: 1.2px;
    }

    .csi-mobile-control-title i {
        font-size: 11px;
    }

    .csi-mobile-control-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .csi-mobile-dpad {
        display: grid;

        grid-template-columns:
            repeat(
                3,
                68px
            );

        grid-template-rows:
            repeat(
                3,
                58px
            );

        gap: 6px;

        justify-content: center;
        align-items: center;
    }

    .csi-mobile-game-btn {
        appearance: none;

        width: 100%;
        height: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        border:
            1px solid
            rgba(255,255,255,.09);

        border-radius: 12px;

        background:
            linear-gradient(
                145deg,
                rgba(255,255,255,.075),
                rgba(255,255,255,.025)
            );

        color: rgba(255,255,255,.82);

        box-shadow:
            inset 0 1px 0
            rgba(255,255,255,.04);

        cursor: pointer;

        touch-action: manipulation;

        transition:
            transform .08s ease,
            border-color .08s ease,
            background .08s ease;
    }

    .csi-mobile-game-btn i {
        font-size: 17px;
    }

    .csi-mobile-game-btn span {
        font-size: 7px;
        font-weight: 950;
        letter-spacing: .7px;
    }

    .csi-mobile-game-btn.pressed,
    .csi-mobile-game-btn:active {
        transform: scale(.91);

        border-color:
            rgba(228,184,75,.48);

        background:
            rgba(228,184,75,.15);

        color: #e4b84b;
    }

    .csi-mobile-dpad-center {
        display: flex;
        align-items: center;
        justify-content: center;

        color:
            rgba(228,184,75,.28);

        font-size: 19px;
    }

    .csi-mobile-tetris-controls {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        gap: 18px;
    }

    .csi-mobile-action-buttons {
        width: 88px;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }

    .csi-mobile-action-buttons
    .csi-mobile-game-btn {
        height: 70px;
    }

    .csi-mobile-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 6px;

        color:
            rgba(255,255,255,.34);

        font-size: 8px;
        font-weight: 800;
    }

    /*
        Oyun alanında swipe yaparken
        browser yatay kaydırma yapmasın.
    */

    .csi-snake-wrapper,
    .csi-pacman-wrapper,
    .csi-2048-wrapper {
        touch-action: none;
    }
}


@media (max-width: 560px) {

    .csi-mobile-game-controls.active {
        margin-top: 12px;
        padding: 11px 8px;
    }

    .csi-mobile-dpad {
        grid-template-columns:
            repeat(
                3,
                58px
            );

        grid-template-rows:
            repeat(
                3,
                52px
            );

        gap: 5px;
    }

    .csi-mobile-tetris-controls {
        gap: 10px;
    }

    .csi-mobile-action-buttons {
        width: 74px;
    }

    .csi-mobile-action-buttons
    .csi-mobile-game-btn {
        height: 63px;
    }
}


/* =========================================================
   CSI MINI GAMES MOBILE CONTROLS V1 END
   ========================================================= */

/* =========================================================
   CSI MINI GAMES MOBILE LAYOUT V2
   GERCEK MOBIL OYUN YERLESIMI
   ========================================================= */

@media (max-width: 760px) {

    /* =====================================================
       ANA SAYFA
       ===================================================== */

    .mini-games-view {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        padding:
            76px
            6px
            90px !important;

        overflow-x: hidden;
    }

    .mini-games-layout {
        display: flex !important;
        flex-direction: column !important;

        width: 100%;
        min-width: 0;

        gap: 10px !important;
    }


    /* =====================================================
       OYUN SECICI
       YATAY MOBIL BAR
       ===================================================== */

    .mini-games-sidebar {
        order: 1;

        display: flex !important;

        width: 100%;
        max-width: 100%;

        gap: 6px !important;

        padding: 7px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        box-sizing: border-box;

        border-radius: 12px !important;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;
    }

    .mini-games-sidebar::-webkit-scrollbar {
        display: none;
    }

    .mini-games-sidebar-title {
        display: none !important;
    }

    .mini-game-select {
        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 88px !important;

        display: flex !important;
        flex-direction: column !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 5px !important;

        padding: 8px 10px !important;
        margin: 0 !important;

        text-align: center !important;

        scroll-snap-align: start;
    }

    .mini-game-select-icon {
        width: 31px !important;
        height: 31px !important;
        flex: 0 0 31px !important;
    }

    .mini-game-select strong {
        margin: 0 !important;

        font-size: 10px !important;

        white-space: nowrap;
    }

    .mini-game-select small {
        display: none !important;
    }


    /* =====================================================
       OYUN STAGE
       ===================================================== */

    .mini-games-stage {
        order: 2;

        width: 100%;
        min-width: 0;
        min-height: 0 !important;

        box-sizing: border-box;

        padding: 7px !important;

        border-radius: 13px !important;
    }

    .mini-games-stage-top {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 5px !important;

        margin-bottom: 8px !important;
    }

    .mini-games-stage-top > div {
        min-width: 0;

        padding: 8px 7px !important;

        border-radius: 8px !important;
    }

    .mini-games-stage-top span {
        margin-bottom: 3px !important;

        font-size: 6px !important;
        letter-spacing: .8px !important;
    }

    .mini-games-stage-top strong {
        display: block;

        overflow: hidden;

        font-size: 11px !important;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    /* =====================================================
       ORTA OYUN CONTAINER
       ===================================================== */

    .tetris-placeholder,
    .tetris-placeholder.is-game-ready {
        width: 100% !important;
        min-width: 0 !important;

        min-height: 0 !important;

        box-sizing: border-box;

        padding: 6px !important;

        overflow: hidden !important;

        border-radius: 11px !important;
    }


    /* =====================================================
       TETRIS
       Board ilk sirada.
       Bilgiler board altinda.
       ===================================================== */

    .csi-tetris-wrapper {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;

        align-items: center !important;
    }

    .csi-tetris-board-wrap {
        width:
            min(
                72vw,
                270px
            ) !important;

        height: auto !important;

        aspect-ratio: 1 / 2;

        flex: none !important;

        margin: 0 auto !important;
    }

    #csiTetrisCanvas {
        width: 100% !important;
        height: 100% !important;
    }

    .csi-tetris-info {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;
    }

    .csi-tetris-info-card {
        padding: 9px !important;
    }

    .csi-tetris-info-card strong {
        font-size: 15px !important;
    }

    .csi-tetris-next {
        grid-column: span 2 !important;

        padding: 8px !important;
    }

    #csiTetrisNextCanvas {
        width: 75px !important;
        height: 75px !important;

        margin-top: 3px !important;
    }

    /*
        Masaustu klavye kontrol aciklamasi
        mobilde gereksiz.
    */

    .csi-tetris-info
    .csi-tetris-controls {
        display: none !important;
    }


    /* =====================================================
       SNAKE
       Kare board her telefona sigar.
       ===================================================== */

    .csi-snake-wrapper {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;

        align-items: stretch !important;
    }

    .csi-snake-board-wrap {
        width:
            min(
                100%,
                390px
            ) !important;

        height: auto !important;

        aspect-ratio: 1 / 1;

        margin: 0 auto !important;
    }

    #csiSnakeCanvas {
        width: 100% !important;
        height: 100% !important;
    }

    .csi-snake-info {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;
    }

    .csi-snake-info
    .csi-tetris-controls {
        display: none !important;
    }


    /* =====================================================
       PAC-MAN
       Orani 456x528 korunuyor.
       ===================================================== */

    .csi-pacman-wrapper {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;

        align-items: stretch !important;
    }

    .csi-pacman-board-wrap {
        width:
            min(
                100%,
                390px
            ) !important;

        height: auto !important;

        aspect-ratio: 456 / 528;

        margin: 0 auto !important;
    }

    #csiPacmanCanvas {
        width: 100% !important;
        height: 100% !important;
    }

    .csi-pacman-info {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;
    }

    .csi-pacman-info
    .csi-tetris-controls {
        display: none !important;
    }


    /* =====================================================
       SUDOKU
       Board tam telefon genisligi.
       ===================================================== */

    .csi-sudoku-wrapper {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;
    }

    .csi-sudoku-main {
        width: 100% !important;
        min-width: 0 !important;
    }

    .csi-sudoku-toolbar {
        width: 100%;

        flex-wrap: wrap !important;

        gap: 6px !important;

        margin-bottom: 8px !important;
    }

    .csi-sudoku-difficulty {
        flex: 1 1 auto;

        display: grid !important;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 4px !important;
    }

    .csi-sudoku-difficulty button,
    .csi-sudoku-new {
        min-width: 0;

        padding: 7px 6px !important;

        font-size: 7px !important;
    }

    .csi-sudoku-board {
        width: 100% !important;
        max-width: 390px !important;

        aspect-ratio: 1 / 1;

        margin:
            0
            auto !important;
    }

    .csi-sudoku-cell {
        min-width: 0 !important;
        min-height: 0 !important;

        padding: 0 !important;

        font-size:
            clamp(
                12px,
                4.3vw,
                18px
            ) !important;
    }


    /* =====================================================
       2048
       ===================================================== */

    .csi-2048-wrapper {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;

        align-items: stretch !important;
    }

    .csi-2048-board {
        width:
            min(
                100%,
                390px
            ) !important;

        height: auto !important;

        aspect-ratio: 1 / 1;

        box-sizing: border-box;

        margin:
            0
            auto !important;
    }


    /* =====================================================
       MAYIN TARLASI
       Easy / Medium telefon icine.
       Hard kendi yatay scroll alaninda.
       ===================================================== */

    .csi-minesweeper-wrapper {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;
    }

    .csi-minesweeper-main {
        width: 100% !important;
        min-width: 0 !important;
    }

    .csi-minesweeper-toolbar {
        width: 100%;

        gap: 5px !important;

        margin-bottom: 7px !important;
    }

    .csi-minesweeper-difficulty {
        width: 100%;

        display: grid !important;

        grid-template-columns:
            repeat(3, 1fr) !important;

        gap: 4px !important;
    }

    .csi-minesweeper-difficulty button {
        min-width: 0;

        padding: 7px 4px !important;

        font-size: 7px !important;
    }

    .csi-minesweeper-board-scroll {
        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch;
    }

    .csi-minesweeper-board {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /*
        Easy
    */

    .csi-minesweeper-board[data-difficulty="easy"] {
        --mine-cell-size:
            min(
                9.2vw,
                34px
            ) !important;

        --mine-gap: 2px !important;
    }

    /*
        Medium
    */

    .csi-minesweeper-board[data-difficulty="medium"] {
        --mine-cell-size:
            min(
                5.15vw,
                21px
            ) !important;

        --mine-gap: 1px !important;
    }

    /*
        Hard:
        oynanabilirligi korumak icin
        minicik hucre yerine yatay scroll.
    */

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-board-scroll {
        overflow-x: auto !important;
    }

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-board {
        --mine-cell-size: 18px !important;
        --mine-gap: 1px !important;

        width: max-content !important;
        max-width: none !important;

        padding: 5px !important;

        margin:
            0
            auto !important;
    }

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-cell {
        font-size: 8px !important;
    }

    .csi-minesweeper-wrapper[data-difficulty="hard"]
    .csi-minesweeper-cell i {
        font-size: 7px !important;
    }

    .csi-minesweeper-side {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;
    }

    .csi-minesweeper-help {
        grid-column: span 2 !important;
    }


    /* =====================================================
       MOBIL KONTROLLER
       OYUNA DAHA YAKIN / DAHA KOMPAKT
       ===================================================== */

    .csi-mobile-game-controls.active {
        width: 100% !important;

        margin-top: 8px !important;

        padding: 8px !important;

        border-radius: 11px !important;
    }

    .csi-mobile-control-title {
        margin-bottom: 7px !important;

        font-size: 7px !important;
    }

    .csi-mobile-control-body {
        gap: 7px !important;
    }

    .csi-mobile-dpad {
        grid-template-columns:
            repeat(
                3,
                48px
            ) !important;

        grid-template-rows:
            repeat(
                3,
                42px
            ) !important;

        gap: 4px !important;
    }

    .csi-mobile-game-btn {
        min-width: 0 !important;
        min-height: 0 !important;

        border-radius: 9px !important;
    }

    .csi-mobile-game-btn i {
        font-size: 14px !important;
    }

    .csi-mobile-game-btn span {
        font-size: 6px !important;
    }

    .csi-mobile-tetris-controls {
        gap: 8px !important;
    }

    .csi-mobile-action-buttons {
        width: 65px !important;

        gap: 6px !important;
    }

    .csi-mobile-action-buttons
    .csi-mobile-game-btn {
        height: 52px !important;
    }


    /* =====================================================
       TOP 10
       HER ZAMAN OYUNUN ALTINDA
       ===================================================== */

    .mini-games-leaderboard {
        order: 3;

        width: 100%;
        min-width: 0;

        box-sizing: border-box;

        padding: 11px !important;

        border-radius: 13px !important;
    }

    .mini-games-empty-score {
        min-height: 100px !important;
    }


    /* =====================================================
       FLOATING WIDGETLER

       Oyun oynarken ekranin ortasini kapatmasin.
       Biraz daha kucuk.
       ===================================================== */

    body.mini-games-page-active
    .feedback-widget,
    body.mini-games-page-active
    .feedback-button,
    body.mini-games-page-active
    #feedbackButton {
        transform: scale(.82);
        transform-origin: left bottom;
    }

}


/* =========================================================
   COK DAR TELEFONLAR
   ========================================================= */

@media (max-width: 360px) {

    .mini-games-view {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .mini-games-stage {
        padding: 4px !important;
    }

    .tetris-placeholder,
    .tetris-placeholder.is-game-ready {
        padding: 4px !important;
    }

    .csi-mobile-dpad {
        grid-template-columns:
            repeat(
                3,
                44px
            ) !important;

        grid-template-rows:
            repeat(
                3,
                39px
            ) !important;
    }

}


/* =========================================================
   CSI MINI GAMES MOBILE LAYOUT V2 END
   ========================================================= */

/* =========================================================
   CSI MINI GAMES MOBILE SWITCH V3
   Tek oyun + kontrol yerlesimi
   ========================================================= */

@media (max-width: 760px) {

    /*
        JS inline display ile aktif oyunu seçiyor.
        CSS artık wrapper'ları zorla görünür yapmayacak.
    */

    .tetris-placeholder >
    .csi-tetris-wrapper,

    .tetris-placeholder >
    .csi-snake-wrapper,

    .tetris-placeholder >
    .csi-sudoku-wrapper,

    .tetris-placeholder >
    .csi-2048-wrapper,

    .tetris-placeholder >
    .csi-minesweeper-wrapper,

    .tetris-placeholder >
    .csi-pacman-wrapper {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /*
        MOBİL KONTROLLER
        Artık aktif wrapper'ın içinde.
    */

    .csi-mobile-game-controls {
        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;

        margin:
            10px
            0
            0 !important;

        order: initial !important;
    }


    /*
        TETRIS
        Board -> mobil kontrol -> bilgiler
    */

    .csi-tetris-wrapper {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 10px !important;
    }

    .csi-tetris-board-wrap {
        order: 1;

        width: 100% !important;

        display: flex;
        justify-content: center;
    }

    .csi-tetris-wrapper >
    .csi-mobile-game-controls {
        order: 2;
    }

    .csi-tetris-info {
        order: 3;

        width: 100% !important;

        display: grid !important;
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;

        gap: 8px !important;
    }

    .csi-tetris-info-card {
        min-width: 0 !important;
    }


    /*
        Canvas telefon genişliğini aşmasın.
    */

    #csiTetrisCanvas {
        display: block;

        width:
            min(
                100%,
                260px
            ) !important;

        height: auto !important;

        aspect-ratio: 1 / 2;
    }


    /*
        Aktif olmayan mobil kontrol görünmez.
    */

    .csi-mobile-game-controls:not(.active) {
        display: none !important;
    }

    .csi-mobile-game-controls.active {
        display: block !important;
    }
}

/* =========================================================
   CSI MINI GAMES MOBILE SWITCH V3 END
   ========================================================= */


/* =========================================================
   CSI MOBILE SINGLE GAME V5
   Sadece aktif oyun gorunur
   ========================================================= */

@media (max-width: 760px) {

    /*
        V2'deki display:flex !important kurallarini
        burada kesin olarak eziyoruz.

        Varsayilan:
        BUTUN OYUNLAR KAPALI
    */

    .tetris-placeholder > .csi-tetris-wrapper,
    .tetris-placeholder > .csi-snake-wrapper,
    .tetris-placeholder > .csi-sudoku-wrapper,
    .tetris-placeholder > .csi-2048-wrapper,
    .tetris-placeholder > .csi-minesweeper-wrapper,
    .tetris-placeholder > .csi-pacman-wrapper {

        display: none !important;
    }


    /*
        SADECE AKTIF OYUN
    */

    .tetris-placeholder >
    .csi-tetris-wrapper.csi-mobile-active-game,

    .tetris-placeholder >
    .csi-snake-wrapper.csi-mobile-active-game,

    .tetris-placeholder >
    .csi-sudoku-wrapper.csi-mobile-active-game,

    .tetris-placeholder >
    .csi-2048-wrapper.csi-mobile-active-game,

    .tetris-placeholder >
    .csi-minesweeper-wrapper.csi-mobile-active-game,

    .tetris-placeholder >
    .csi-pacman-wrapper.csi-mobile-active-game {

        display: flex !important;

        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /*
        TETRIS OZEL SIRA

        1. Oyun
        2. Mobil kontrol
        3. Bilgi kartlari
    */

    .csi-tetris-wrapper.csi-mobile-active-game
    .csi-tetris-board-wrap {

        order: 1 !important;
    }


    .csi-tetris-wrapper.csi-mobile-active-game
    > .csi-mobile-game-controls {

        order: 2 !important;

        margin-top: 8px !important;
    }


    .csi-tetris-wrapper.csi-mobile-active-game
    .csi-tetris-info {

        order: 3 !important;
    }

}

/* =========================================================
   CSI MOBILE SINGLE GAME V5 END
   ========================================================= */

/* =========================================================
   MINI GAMES MOBILE - FLOATING UI CLEANUP
   ========================================================= */

@media (max-width: 760px) {

    /*
        Mini oyun oynarken ekranı kapatan
        Hata Bildirim ve CSI Radio kutularını gizle.
        Diğer sayfalarda aynen görünmeye devam ederler.
    */

    body.mini-games-page-active
    #feedbackOpenBtn,

    body.mini-games-page-active
    .csi-radio {

        display: none !important;
    }
}

/* =========================================================
   MINI GAMES MOBILE - FLOATING UI CLEANUP END
   ========================================================= */


/* =========================================================
   CSI CHESS ONLINE LOBBY V1
   ========================================================= */

.csi-chess-wrapper {
    width: 100%;
    min-height: 540px;
}

.csi-chess-content {
    width: 100%;
    min-height: 540px;
}

.csi-chess-login-required,
.csi-chess-started {
    min-height: 500px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    text-align: center;
}

.csi-chess-login-required > i,
.csi-chess-started > i {
    margin-bottom: 15px;

    color: #e4b84b;

    font-size: 48px;
}

.csi-chess-login-required h2,
.csi-chess-started h2 {
    margin: 0 0 8px;

    color: #fff;

    font-size: 25px;
}

.csi-chess-login-required p,
.csi-chess-started p {
    max-width: 430px;

    margin:
        0
        0
        20px;

    color:
        rgba(
            255,
            255,
            255,
            .48
        );

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   LOBBY
   ========================================================= */

.csi-chess-lobby {
    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    padding: 10px;

    box-sizing: border-box;
}

.csi-chess-lobby-head {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;

    margin-bottom: 18px;

    padding: 16px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .06
        );

    border-radius: 12px;

    background:
        rgba(
            255,
            255,
            255,
            .02
        );
}

.csi-chess-lobby-head span {
    display: block;

    margin-bottom: 5px;

    color: #e4b84b;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.3px;
}

.csi-chess-lobby-head h2 {
    margin: 0 0 5px;

    color: #fff;

    font-size: 22px;
}

.csi-chess-lobby-head p {
    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            .42
        );

    font-size: 10px;
}

.csi-chess-icon-btn {
    appearance: none;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(
            228,
            184,
            75,
            .20
        );

    border-radius: 9px;

    background:
        rgba(
            228,
            184,
            75,
            .06
        );

    color: #e4b84b;

    cursor: pointer;
}

.csi-chess-actions {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8px;

    margin-bottom: 16px;
}

.csi-chess-code-join {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 5px;
}

.csi-chess-code-join input {
    min-width: 0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .08
        );

    border-radius: 8px;

    padding:
        0
        11px;

    outline: none;

    background:
        #0f1217;

    color: #fff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.csi-chess-code-join input:focus {
    border-color:
        rgba(
            228,
            184,
            75,
            .35
        );
}

.csi-chess-code-join button,
.csi-chess-secondary-btn {
    appearance: none;

    border:
        1px solid
        rgba(
            228,
            184,
            75,
            .26
        );

    border-radius: 8px;

    padding:
        0
        14px;

    background:
        rgba(
            228,
            184,
            75,
            .07
        );

    color: #e4b84b;

    font-size: 9px;
    font-weight: 900;

    cursor: pointer;
}

.csi-chess-room-list {
    padding: 12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .055
        );

    border-radius: 12px;

    background:
        rgba(
            255,
            255,
            255,
            .018
        );
}

.csi-chess-room-list-title {
    display: flex;

    justify-content: space-between;

    margin-bottom: 9px;

    color:
        rgba(
            255,
            255,
            255,
            .38
        );

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.csi-chess-room-card {
    appearance: none;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 6px;

    padding: 12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .06
        );

    border-radius: 9px;

    background:
        #11151b;

    color: #fff;

    text-align: left;

    cursor: pointer;

    transition: .18s ease;
}

.csi-chess-room-card:hover {
    border-color:
        rgba(
            228,
            184,
            75,
            .30
        );

    background:
        rgba(
            228,
            184,
            75,
            .045
        );
}

.csi-chess-room-main {
    display: flex;

    align-items: center;

    gap: 11px;
}

.csi-chess-room-code {
    padding:
        5px
        7px;

    border-radius: 6px;

    background:
        rgba(
            228,
            184,
            75,
            .10
        );

    color: #e4b84b;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}

.csi-chess-room-main strong {
    font-size: 11px;
}

.csi-chess-room-meta {
    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(
            255,
            255,
            255,
            .45
        );

    font-size: 9px;
}

.csi-chess-join-label {
    color: #e4b84b;

    font-weight: 900;
}

.csi-chess-empty {
    min-height: 180px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 6px;

    color:
        rgba(
            255,
            255,
            255,
            .35
        );
}

.csi-chess-empty i {
    margin-bottom: 5px;

    color:
        rgba(
            228,
            184,
            75,
            .55
        );

    font-size: 30px;
}

.csi-chess-empty strong {
    color:
        rgba(
            255,
            255,
            255,
            .65
        );

    font-size: 11px;
}

.csi-chess-empty span {
    font-size: 9px;
}


/* =========================================================
   ROOM
   ========================================================= */

.csi-chess-room {
    width: 100%;
    max-width: 620px;

    margin: 0 auto;

    padding: 12px;

    box-sizing: border-box;
}

.csi-chess-room-header {
    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: 10px;

    margin-bottom: 16px;

    padding: 12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .06
        );

    border-radius: 11px;

    background:
        rgba(
            255,
            255,
            255,
            .02
        );

    text-align: center;
}

.csi-chess-room-header span {
    display: block;

    color:
        rgba(
            255,
            255,
            255,
            .35
        );

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1px;
}

.csi-chess-room-header strong {
    display: block;

    margin-top: 3px;

    color: #e4b84b;

    font-size: 18px;

    letter-spacing: 3px;
}

.csi-chess-versus {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8px;

    margin-bottom: 12px;
}

.csi-chess-player-card {
    min-height: 90px;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: 10px;

    padding: 13px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .06
        );

    border-radius: 10px;

    background:
        #11151b;
}

.csi-chess-player-card.waiting {
    opacity: .55;
}

.csi-chess-player-avatar {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background:
        rgba(
            228,
            184,
            75,
            .08
        );

    color: #e4b84b;
}

.csi-chess-player-name span {
    display: block;

    margin-bottom: 3px;

    color:
        rgba(
            255,
            255,
            255,
            .32
        );

    font-size: 7px;
    font-weight: 900;
}

.csi-chess-player-name strong {
    display: block;

    overflow: hidden;

    color: #fff;

    font-size: 11px;

    text-overflow: ellipsis;
}

.csi-chess-ready-state {
    padding:
        5px
        7px;

    border-radius: 999px;

    background:
        rgba(
            255,
            255,
            255,
            .05
        );

    color:
        rgba(
            255,
            255,
            255,
            .35
        );

    font-size: 7px;
    font-weight: 900;
}

.csi-chess-ready-state.ready {
    background:
        rgba(
            80,
            200,
            130,
            .10
        );

    color: #65d591;
}

.csi-chess-room-status {
    margin-bottom: 10px;

    padding: 11px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .05
        );

    border-radius: 9px;

    background:
        rgba(
            255,
            255,
            255,
            .018
        );

    color:
        rgba(
            255,
            255,
            255,
            .48
        );

    font-size: 9px;

    text-align: center;
}

.csi-chess-room
.mini-games-start-btn {
    width: 100%;
}

.csi-chess-room
.mini-games-start-btn.is-ready {
    border-color:
        rgba(
            80,
            200,
            130,
            .30
        );

    background:
        rgba(
            80,
            200,
            130,
            .09
        );

    color: #70d99a;
}


/* =========================================================
   GAME START
   ========================================================= */

.csi-chess-started > span {
    margin-bottom: 6px;

    color: #e4b84b;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.3px;
}

.csi-chess-started h2 {
    display: flex;

    align-items: center;

    gap: 9px;
}

.csi-chess-started h2 small {
    color:
        rgba(
            255,
            255,
            255,
            .25
        );

    font-size: 10px;
}

.csi-chess-color-card {
    margin:
        10px
        0
        18px;

    padding:
        12px
        22px;

    border:
        1px solid
        rgba(
            228,
            184,
            75,
            .16
        );

    border-radius: 10px;

    background:
        rgba(
            228,
            184,
            75,
            .045
        );
}

.csi-chess-color-card span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(
            255,
            255,
            255,
            .35
        );

    font-size: 7px;
    font-weight: 900;
}

.csi-chess-color-card strong {
    color: #fff;

    font-size: 15px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .csi-chess-wrapper,
    .csi-chess-content {
        min-height: 420px;
    }

    .csi-chess-lobby,
    .csi-chess-room {
        padding: 2px;
    }

    .csi-chess-actions {
        grid-template-columns:
            1fr;
    }

    .csi-chess-versus {
        grid-template-columns:
            1fr;
    }

    .csi-chess-player-card {
        min-height: 72px;
    }

    .csi-chess-login-required,
    .csi-chess-started {
        min-height: 400px;

        padding: 20px 12px;
    }

    .csi-chess-login-required > i,
    .csi-chess-started > i {
        font-size: 38px;
    }
}

/* =========================================================
   CSI CHESS ONLINE LOBBY V1 END
   ========================================================= */

/* =========================================================
   CSI CHESS BOARD V4 START
   ========================================================= */

.csi-chess-game {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px;
}

.csi-chess-game-head,
.csi-chess-game-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 10px 0;
}

.csi-chess-game-player {
    min-width: 150px;
}

.csi-chess-game-player span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.35);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.csi-chess-game-player strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.csi-chess-game-player small {
    color: rgba(255,255,255,.5);
    font-size: 10px;
}

.csi-chess-turn-state {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 800;
}

.csi-chess-turn-state.my-turn {
    border-color: rgba(228,184,75,.30);
    background: rgba(228,184,75,.07);
    color: #e4b84b;
}

.csi-chess-turn-state.is-check {
    border-color: rgba(230,75,75,.40);
    background: rgba(230,75,75,.08);
    color: #ff7777;
}

.csi-chess-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: min(100%, 560px);
    aspect-ratio: 1 / 1;
    margin: 12px auto;
    overflow: hidden;
    border: 4px solid #171717;
    border-radius: 12px;
    box-shadow:
        0 22px 50px rgba(0,0,0,.38),
        0 0 0 1px rgba(255,255,255,.08);
}

.csi-chess-square {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
}

.csi-chess-square.light {
    background: #d8c9a7;
}

.csi-chess-square.dark {
    background: #755b3d;
}

.csi-chess-square:hover {
    box-shadow:
        inset 0 0 0 4px
        rgba(228,184,75,.25);
}

.csi-chess-square.selected {
    box-shadow:
        inset 0 0 0 5px
        rgba(246,203,89,.85);
    z-index: 2;
}

.csi-chess-square.last-move::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(238,208,65,.22);
    pointer-events: none;
}

.csi-chess-piece {
    position: relative;
    z-index: 2;
    font-family:
        "Segoe UI Symbol",
        "Arial Unicode MS",
        serif;
    font-size: clamp(30px, 6vw, 55px);
    line-height: 1;
    pointer-events: none;
}

.csi-chess-piece.white {
    color: #fff8e7;
    text-shadow:
        0 2px 0 rgba(0,0,0,.9),
        0 0 4px rgba(0,0,0,.8);
}

.csi-chess-piece.black {
    color: #171717;
    text-shadow:
        0 1px 0 rgba(255,255,255,.25);
}

.csi-chess-rank-label,
.csi-chess-file-label {
    position: absolute;
    z-index: 3;
    font-size: 8px;
    font-weight: 900;
    opacity: .55;
    pointer-events: none;
}

.csi-chess-rank-label {
    top: 3px;
    left: 4px;
}

.csi-chess-file-label {
    right: 4px;
    bottom: 3px;
}

.csi-chess-game-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.csi-chess-last-move {
    color: rgba(255,255,255,.35);
    font-size: 8px;
    font-weight: 900;
}

.csi-chess-last-move strong {
    display: block;
    margin-top: 2px;
    color: #e4b84b;
    font-size: 12px;
}

@media (max-width: 760px) {

    .csi-chess-game {
        padding: 2px;
    }

    .csi-chess-game-head,
    .csi-chess-game-bottom {
        align-items: flex-start;
    }

    .csi-chess-game-player {
        min-width: 0;
    }

    .csi-chess-turn-state {
        max-width: 50%;
        font-size: 9px;
    }

    .csi-chess-game-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .csi-chess-piece {
        font-size: clamp(26px, 10vw, 46px);
    }
}

/* =========================================================
   CSI CHESS BOARD V4 END
   ========================================================= */

/* =========================================================
   CSI CHESS SQUARE SIZE FIX V5 START
   ========================================================= */

.csi-chess-board {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
}

.csi-chess-square {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.csi-chess-piece {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82%;
    height: 82%;
    font-size: clamp(26px, 5.6vw, 54px);
    line-height: 1;
}

@media (max-width: 760px) {

    .csi-chess-piece {
        width: 86%;
        height: 86%;
        font-size: clamp(24px, 9vw, 44px);
    }
}

/* =========================================================
   CSI CHESS SQUARE SIZE FIX V5 END
   ========================================================= */


/* === CSI MINI GAME SINGLE STAGE V4 START === */

/*
 * Mini oyun sahnesinde bütün oyun wrapper'ları
 * varsayılan olarak kapalıdır.
 *
 * Sadece gameArea üzerindeki csi-active-* class'ına
 * karşılık gelen oyun görünür.
 */

.tetris-placeholder > .csi-tetris-wrapper,
.tetris-placeholder > .csi-snake-wrapper,
.tetris-placeholder > .csi-sudoku-wrapper,
.tetris-placeholder > .csi-2048-wrapper,
.tetris-placeholder > .csi-minesweeper-wrapper,
.tetris-placeholder > .csi-pacman-wrapper,
.tetris-placeholder > .csi-chess-wrapper {
    display: none !important;
}


/* TETRIS */

.tetris-placeholder.csi-active-tetris
> .csi-tetris-wrapper {
    display: grid !important;
}


/* SNAKE */

.tetris-placeholder.csi-active-snake
> .csi-snake-wrapper {
    display: grid !important;
}


/* SUDOKU */

.tetris-placeholder.csi-active-sudoku
> .csi-sudoku-wrapper {
    display: grid !important;
}


/* 2048 */

.tetris-placeholder.csi-active-2048
> .csi-2048-wrapper {
    display: grid !important;
}


/* MINESWEEPER */

.tetris-placeholder.csi-active-minesweeper
> .csi-minesweeper-wrapper {
    display: grid !important;
}


/* PACMAN */

.tetris-placeholder.csi-active-pacman
> .csi-pacman-wrapper {
    display: grid !important;
}


/* CHESS */

.tetris-placeholder.csi-active-chess
> .csi-chess-wrapper {
    display: grid !important;
}


/*
 * Sahne aktif oyun taşırken çocukları
 * tek bir oyun alanı olarak davranır.
 */

.tetris-placeholder[class*="csi-active-"] {
    justify-content: center;
}


/* === CSI MINI GAME SINGLE STAGE V4 END === */



/* =========================================================
   CSI WORDLE V1 START
   ========================================================= */

.tetris-placeholder > .csi-wordle-wrapper {
    display: none !important;
}

.tetris-placeholder.csi-active-wordle
> .csi-wordle-wrapper {
    display: block !important;
}


.csi-wordle-wrapper {
    width: 100%;
    max-width: 650px;
    min-height: 555px;
    margin: 0 auto;
    padding: 18px;
}


.csi-wordle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}


.csi-wordle-head > div span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.36);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}


.csi-wordle-head > div strong {
    color: #fff;
    font-size: 22px;
}


.csi-wordle-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid rgba(228,184,75,.3);
    border-radius: 9px;
    background: rgba(228,184,75,.07);
    color: #e4b84b;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}


.csi-wordle-message {
    height: 32px;
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    opacity: 0;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    transition: .2s ease;
}


.csi-wordle-message.active {
    opacity: 1;
    background: rgba(255,255,255,.05);
}


.csi-wordle-message.success {
    color: #69df9b;
    background: rgba(55,180,105,.10);
}


.csi-wordle-message.warning {
    color: #e4b84b;
    background: rgba(228,184,75,.09);
}


.csi-wordle-message.danger {
    color: #ff7777;
    background: rgba(220,70,70,.09);
}


.csi-wordle-board {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: min(100%, 330px);
    margin: 0 auto 20px;
}


.csi-wordle-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}


.csi-wordle-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(255,255,255,.11);
    border-radius: 7px;
    background: rgba(255,255,255,.025);
    color: #fff;
    font-size: 29px;
    font-weight: 950;
    text-transform: uppercase;
}


.csi-wordle-cell.filled {
    border-color: rgba(255,255,255,.28);
}


.csi-wordle-cell.correct {
    border-color: #3f9f65;
    background: #347c50;
}


.csi-wordle-cell.present {
    border-color: #c49a33;
    background: #9c792c;
}


.csi-wordle-cell.absent {
    border-color: #444b54;
    background: #343a42;
    color: rgba(255,255,255,.72);
}


.csi-wordle-keyboard {
    width: min(100%, 560px);
    margin: 0 auto;
}


.csi-wordle-key-row {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 5px;
}


.csi-wordle-key {
    min-width: 37px;
    height: 47px;
    padding: 0 7px;
    border: 0;
    border-radius: 6px;
    background: #3b424b;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform .12s ease,
        filter .12s ease;
}


.csi-wordle-key:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}


.csi-wordle-key.wide {
    min-width: 70px;
    font-size: 9px;
}


.csi-wordle-key.correct {
    background: #347c50;
}


.csi-wordle-key.present {
    background: #9c792c;
}


.csi-wordle-key.absent {
    background: #252a30;
    color: rgba(255,255,255,.35);
}


.csi-wordle-help {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 17px;
    color: rgba(255,255,255,.38);
    font-size: 9px;
}


.csi-wordle-help span {
    display: flex;
    align-items: center;
    gap: 5px;
}


.csi-wordle-help b {
    width: 11px;
    height: 11px;
    border-radius: 3px;
}


.csi-wordle-help .correct {
    background: #347c50;
}


.csi-wordle-help .present {
    background: #9c792c;
}


.csi-wordle-help .absent {
    background: #343a42;
}


@media (max-width: 650px) {

    .csi-wordle-wrapper {
        padding: 8px;
    }

    .csi-wordle-board {
        width: min(100%, 290px);
    }

    .csi-wordle-cell {
        font-size: 24px;
    }

    .csi-wordle-key-row {
        gap: 3px;
    }

    .csi-wordle-key {
        min-width: 0;
        flex: 1;
        height: 44px;
        padding: 0 3px;
        font-size: 10px;
    }

    .csi-wordle-key.wide {
        flex: 1.45;
        min-width: 0;
    }
}

/* =========================================================
   CSI WORDLE V1 END
   ========================================================= */


/* =========================================================
   CSI TRAFFIC RUN V1 START
   ========================================================= */

.tetris-placeholder > .csi-car-wrapper {
    display: none !important;
}

.tetris-placeholder.csi-active-car
> .csi-car-wrapper {
    display: grid !important;
}


.csi-car-wrapper {
    width: 100%;
    min-height: 600px;
    grid-template-columns:
        minmax(420px, 1fr)
        205px;
    gap: 18px;
    align-items: start;
}


.csi-car-game-title {
    margin-bottom: 12px;
    text-align: left;
}


.csi-car-game-title span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.35);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}


.csi-car-game-title strong {
    color: #fff;
    font-size: 15px;
}


.csi-car-canvas-wrap {
    position: relative;
    width: min(
        100%,
        420px
    );
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(228,184,75,.25);
    border-radius: 13px;
    background: #12161b;
    box-shadow:
        0 20px 55px rgba(0,0,0,.35);
}


#csiCarCanvas {
    display: block;
    width: 100%;
    height: auto;
    background: #202329;
}


.csi-car-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(5,7,10,.78);
    backdrop-filter: blur(5px);
}


.csi-car-overlay.active {
    display: flex;
}


.csi-car-overlay-box {
    width: 100%;
    max-width: 290px;
    text-align: center;
}


.csi-car-overlay-box > i {
    margin-bottom: 14px;
    color: #e4b84b;
    font-size: 50px;
}


.csi-car-overlay-box h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 27px;
}


.csi-car-overlay-box p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.57);
    font-size: 11px;
    line-height: 1.6;
}


.csi-car-controls {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 12px;
    color: rgba(255,255,255,.4);
    font-size: 9px;
    font-weight: 800;
}


.csi-car-controls span {
    display: flex;
    align-items: center;
    gap: 5px;
}


.csi-car-controls kbd {
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.12);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-family: inherit;
}


.csi-car-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.csi-car-stat-card,
.csi-car-upgrades {
    padding: 13px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}


.csi-car-stat-card span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.34);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.csi-car-stat-card strong {
    color: #e4b84b;
    font-size: 17px;
}


.csi-car-upgrades-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.75);
    font-size: 10px;
    font-weight: 900;
}


.csi-car-upgrade-card {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.055);
}


.csi-car-upgrade-card:last-child {
    border-bottom: 0;
}


.csi-car-upgrade-info {
    display: flex;
    gap: 9px;
    margin-bottom: 8px;
    text-align: left;
}


.csi-car-upgrade-info > i {
    width: 24px;
    padding-top: 3px;
    color: #e4b84b;
    text-align: center;
}


.csi-car-upgrade-info strong {
    display: block;
    color: #fff;
    font-size: 11px;
}


.csi-car-upgrade-info small {
    color: #e4b84b;
    font-size: 8px;
    font-weight: 900;
}


.csi-car-upgrade-info p {
    margin: 3px 0 0;
    color: rgba(255,255,255,.35);
    font-size: 8px;
    line-height: 1.4;
}


.csi-car-upgrade-card button {
    width: 100%;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.4);
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}


.csi-car-upgrade-card button.can-buy {
    border-color: rgba(228,184,75,.3);
    background: rgba(228,184,75,.08);
    color: #e4b84b;
}


.csi-car-upgrade-card button:disabled {
    opacity: .4;
    cursor: not-allowed;
}


@media (max-width: 900px) {

    .csi-car-wrapper {
        grid-template-columns:
            1fr;
    }


    .csi-car-side {
        display: grid;
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


    .csi-car-upgrades {
        grid-column:
            1 / -1;
    }
}


@media (max-width: 560px) {

    .csi-car-wrapper {
        min-height: 0;
    }


    .csi-car-side {
        grid-template-columns:
            1fr 1fr;
    }


    .csi-car-upgrades {
        grid-column:
            1 / -1;
    }


    .csi-car-controls {
        gap: 12px;
    }
}

/* =========================================================
   CSI TRAFFIC RUN V1 END
   ========================================================= */
