﻿:root {
    --primary-bg: #152331;
    --secondary-bg: #1c3744;
    --primary-color: #b1c8d4;
    --secondary-color: #2ecc71;
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family:
        "Noto Sans Armenian",
        "Noto Sans Mono",
        "Stardos Stencil",
        "Geneva",
        Arial,
        sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    background:
        radial-gradient(circle at top left, rgba(0, 139, 187, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 24%),
        linear-gradient(135deg, #0f1c23 0%, #132730 100%);
    color: var(--primary-color);
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
    -webkit-user-select: text;
    user-select: text;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("/images/bg.webp");
    background-repeat: repeat;
    background-size: 120px;
    opacity: 0.42;
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.blot-shell {
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s;
}

.hr {
    border-top: 1px dashed #e7eaec;
    margin: 20px 0;
}

.link {
    word-break: break-word;
}

.link:hover {
    text-decoration: underline;
    color: #0d6efd;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.main {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(160deg, rgba(22, 45, 55, 0.94), rgba(10, 20, 25, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.header {
    position: relative;
    flex-shrink: 0;
    height: 58px;
    padding: 0 10px;
    background:
        linear-gradient(90deg, rgba(0, 139, 187, 0.1), transparent 52%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.055), transparent 42%),
        linear-gradient(180deg, rgba(30, 52, 64, 0.94), rgba(15, 28, 35, 0.96)),
        url("/images/carbon-fibre.png");
    border-bottom: 1px solid rgba(0, 139, 187, 0.55);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    z-index: 999;
}

.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 139, 187, 0.7), transparent);
    pointer-events: none;
}

.header > .row {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    flex-shrink: 0;
    height: 38px;
    padding: 0 10px;
    align-items: center;
    color: rgba(232, 243, 248, 0.72);
    background:
        linear-gradient(90deg, rgba(0, 139, 187, 0.07), transparent 52%),
        linear-gradient(180deg, rgba(22, 42, 52, 0.94), rgba(12, 24, 31, 0.96)),
        url("/images/carbon-fibre.png");
    backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

.footer > .row,
.footer .col {
    align-items: center;
}

.footer .col {
    display: flex;
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 139, 187, 0.58), transparent);
    pointer-events: none;
}

.content {
    flex-grow: 1;
    overflow-y: auto;
    background: url(/images/content-bg.webp) no-repeat center #0f1c23;
    opacity: 1;
    transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.home-page {
    min-height: 100%;
}

.content.page-transition-out {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
}

.content.page-transition-in {
    animation: pageTransitionIn 0.24s ease both;
}

@media (max-width: 900px), (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .main.game-page-active .header,
    .main.game-page-active .footer {
        display: none !important;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .footer {
        display: none !important;
    }
}

@keyframes pageTransitionIn {
    from {
        opacity: 0;
        transform: translateY(8px);
        filter: blur(2px);
    }

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

.footer-menu a {
    display: inline-block;
    margin-left: 12px;
    color: rgba(232, 243, 248, 0.72);
    font-weight: 700;
}

.footer-menu a:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
}

.btn > i {
    font-size: 22px;
}

.btn > img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.btn-primary {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.13);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.16);
    --bs-btn-active-bg: rgba(255, 255, 255, 0.16);
    --bs-btn-active-border-color: rgba(255, 255, 255, 0.18);
    --bs-btn-color: var(--primary-color);
    --bs-btn-hover-color: white;
    border-radius: 10px;
}

.header .btn {
    height: 38px;
    border-radius: 10px;
}

.header a[href="/fortune"] {
    height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    display: none;
}

.header a[href="/fortune"]:hover {
    background: transparent;
    transform: none;
}

.text-purple {
    color: #ff7ad9;
}

.dropdown-menu {
    padding: 0;
    background:
        linear-gradient(160deg, rgba(22, 45, 55, 0.96), rgba(10, 20, 25, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    overflow: visible;
}

.dropdown-item {
    padding: 10px 14px;
    color: rgba(232, 243, 248, 0.82);
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.09);
}

.settings-language-current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(232, 243, 248, 0.58);
    font-size: 12px;
    font-weight: 700;
}

.settings-language-current img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.settings-language-menu {
    position: relative;
}

.settings-language-list {
    display: none;
    position: absolute;
    top: 0;
    right: calc(100% + 8px);
    z-index: 1100;
    width: 150px;
    margin: 0;
    padding: 4px;
    border-radius: 9px;
    background:
        linear-gradient(160deg, rgba(22, 45, 55, 0.98), rgba(10, 20, 25, 0.99)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

.settings-language-list-open {
    display: block;
}

.settings-language-list .dropdown-item {
    border-radius: 7px;
    padding: 8px 10px;
    font-size: 13px;
}

.settings-language-list .dropdown-item.active {
    color: #fff;
    background: rgba(27, 161, 213, 0.25);
}

.settings-language-icon-open {
    transform: rotate(-90deg);
}

.settings-mobile-item,
.settings-mobile-divider {
    display: none;
}

@media (max-width: 932px) {
    .settings-fullscreen-item,
    .settings-fullscreen-divider {
        display: none;
    }

    .settings-mobile-item,
    .settings-mobile-divider {
        display: block;
    }
}

.dropdown-divider {
    margin: 0;
}

.btn-purple {
    --bs-btn-bg: #6f42c1;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: #7d4edf;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: #7d4edf;
    --bs-btn-active-border-color: transparent;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    position: relative;
    overflow: hidden;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #5b2bbf);
    box-shadow: 0 8px 18px rgba(111, 66, 193, 0.2);
    border-radius: 10px;
}

.btn-purple:hover,
.btn-purple:active {
    background: linear-gradient(135deg, #9b6dff, #6f42c1);
}

.btn-purple::after,
.header .btn-danger::after {
    content: "";
    position: absolute;
    top: -45%;
    bottom: -45%;
    left: -70%;
    width: 44%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-24deg);
    opacity: 0;
    pointer-events: none;
}

.btn-purple:hover::after,
.header .btn-danger:hover::after {
    animation: button-shine 0.72s ease;
}

@keyframes button-shine {
    0% {
        left: -70%;
        opacity: 0;
    }

    18% {
        opacity: 0.9;
    }

    100% {
        left: 125%;
        opacity: 0;
    }

}

.header .btn-danger {
    --bs-btn-bg: #dc3545;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: #ef4444;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: #ef4444;
    --bs-btn-active-border-color: transparent;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ef4444, #9f1239);
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.18);
    border-radius: 10px;
}

.header .btn-danger:hover,
.header .btn-danger:active {
    background: linear-gradient(135deg, #ff5a5a, #be123c);
}

.header strong {
    min-height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    color: #ffd36a;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.header strong .text-white {
    color: #fff !important;
}

#openProfile {
    gap: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#openProfile:hover {
    background: rgba(255, 255, 255, 0.1);
}

#openProfile img {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.22);
}

#openProfile.blot-user-vip {
    color: #fff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(245, 158, 11, 0.18));
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.16), 0 10px 22px rgba(139, 92, 246, 0.18);
}

#openProfile.blot-user-vip img {
    border-color: #fbbf24;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.fs-8 {
    font-size: 0.6rem !important;
}

@media (min-width: 768px) {
    .fs-md-5 {
        font-size: 1.25rem !important;
    }

    .fs-md-6 {
        font-size: 1rem !important;
    }

}

@media (max-width: 768px) {
    .dropdown-toggle::after {
        display: none;
    }

}

.form-switch {
    display: inline-block;
    padding: 0;
}

.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.3rem;
    border-radius: 2rem;
    float: none;
    margin-left: 15px;
}

.form-switch .form-check-input:checked {
    background-color: #3fb25f;
    border-color: #3fb25f;
}

.form-switch .form-check-input:active,
.form-check-input:focus {
    box-shadow: none;
}

.form-switch .form-check-label {
    padding-top: 0.15rem;
    padding-left: 0.5rem;
}

.modal-content {
    background: linear-gradient(180deg, #1b2b34 0%, #142129 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    color: white;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.modal-header {
    background: linear-gradient(135deg, rgba(0, 139, 187, 0.18), rgba(255, 255, 255, 0.03));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 18px 22px;
}

.modal-title {
    font-weight: 800;
    font-size: 1.15rem;
}

.modal-body {
    padding: 22px;
}

.btn-close {
    filter: invert(1);
    opacity: 0.6;
}

.btn-close:focus {
    box-shadow: none;
}

/*.modal-backdrop.show {
    backdrop-filter: blur(4px);
}*/

.red-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 28px;
    z-index: 5;
}

/* PROGRESS */
.progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.progress-bar {
    width: 0%;
    background: #f59e0b;
    transition: width 1.2s ease;
}

/* PROFILE MODAL */
.profile-dialog {
    --bs-modal-width: 460px;
}

.profile-modal {
    position: relative;
    padding: 22px;
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(22, 45, 55, 0.96), rgba(10, 20, 25, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-modal::before {
    content: "";
    position: absolute;
    inset: -2px -2px auto;
    height: 150px;
    background:
        linear-gradient(90deg, rgba(0, 139, 187, 0.28), transparent 55%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.22), transparent 44%);
    border-radius: inherit;
    filter: blur(7px);
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
    pointer-events: none;
}

.profile-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e8f3f8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: 3;
}

.profile-close:hover {
    background: rgba(239, 68, 68, 0.22);
    color: #fff;
}

.profile-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 36px;
    z-index: 1;
}

.profile-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.profile-avatar {
    width: 92px;
    height: 92px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.profile-level {
    position: absolute;
    right: -4px;
    bottom: -4px;
    min-width: 34px;
    height: 34px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #401f00;
    font-weight: 900;
    background: linear-gradient(135deg, #ffe07a, #f59e0b);
    border: 3px solid #13252d;
    border-radius: 50%;
}

.profile-main {
    min-width: 0;
    flex: 1;
}

.profile-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.profile-name {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

.profile-id {
    margin-top: 4px;
    color: rgba(232, 243, 248, 0.62);
    font-size: 12px;
}

.profile-vip {
    padding: 5px 9px;
    color: #3a2200;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffdf73, #f59e0b);
    border-radius: 7px;
}

.profile-vip-days {
    margin-left: 5px;
    color: rgba(58, 34, 0, 0.72);
    font-size: 10px;
    font-weight: 900;
}

.profile-rank {
    margin-top: 12px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffd36a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 8px;
}

.profile-rank-newbie {
    color: #ffd36a;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(255, 211, 106, 0.12));
    border-color: rgba(245, 158, 11, 0.38);
}

.profile-rank-amateur {
    color: #7dd3fc;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(14, 165, 233, 0.12));
    border-color: rgba(56, 189, 248, 0.36);
}

.profile-rank-pro {
    color: #ff9a9a;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.28), rgba(244, 63, 94, 0.12));
    border-color: rgba(248, 113, 113, 0.4);
}

.profile-progress-panel {
    position: relative;
    margin-top: 20px;
    padding: 15px;
    background: rgba(4, 13, 17, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.profile-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.profile-progress-head span,
.profile-progress-meta {
    color: rgba(232, 243, 248, 0.66);
    font-size: 12px;
}

.profile-progress-head strong, .profile-progress-head strong span {
    margin-left: 7px;
    color: #fff;
    font-size: 13px;
}

.profile-progress-track {
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.profile-progress-track .progress-bar {
    background: linear-gradient(90deg, #2ecc71, #f59e0b);
    box-shadow: 0 0 16px rgba(46, 204, 113, 0.42);
}

.profile-progress-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.profile-rating {
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.14);
    border-radius: 8px;
    font-weight: 800;
}

.profile-main-stats {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.profile-main-stat {
    position: relative;
    padding: 14px 16px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.18);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-winrate-panel {
    background:
        linear-gradient(135deg, rgba(0, 139, 187, 0.2), rgba(46, 204, 113, 0.1)),
        rgba(255, 255, 255, 0.055);
}

.profile-games-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.055);
    border-color: rgba(245, 158, 11, 0.2);
}

.profile-main-stat::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -34px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.profile-winrate-label {
    position: relative;
    z-index: 1;
    color: rgba(232, 243, 248, 0.68);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.profile-winrate-value {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
}

.profile-games-value {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    color: #ffffff;
    font-size: 38px;
    font-weight: 950;
    line-height: 1;
}

.profile-winrate-track {
    position: relative;
    z-index: 1;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.profile-winrate-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #33b8e0);
    border-radius: inherit;
    box-shadow: 0 0 16px rgba(46, 204, 113, 0.38);
    transition: width 0.35s ease;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.profile-stat {
    min-width: 0;
    padding: 9px 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.profile-stat-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
}

.profile-stat-win {
    color: #40d979;
    background: rgba(46, 204, 113, 0.14);
}

.profile-stat-lose {
    color: #ff7373;
    background: rgba(239, 68, 68, 0.14);
}

.profile-stat-run {
    color: #66c8ff;
    background: rgba(0, 139, 187, 0.18);
}

.profile-stat-label {
    color: rgba(232, 243, 248, 0.62);
    font-size: 10px;
    text-transform: uppercase;
}

.profile-stat-value {
    margin-top: 2px;
    color: #fff;
    font-size: 17px;
    font-weight: 850;
}

.profile-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.profile-detail-grid > div {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(0, 139, 187, 0.11);
    border: 1px solid rgba(0, 139, 187, 0.18);
    border-radius: 10px;
}

.profile-detail-grid span {
    color: rgba(232, 243, 248, 0.62);
    font-size: 12px;
}

.profile-detail-grid strong {
    color: #fff;
}

.profile-modal.profile-opponent .profile-progress-panel,
.profile-modal.profile-opponent .profile-detail-grid {
    display: none;
}

.profile-modal.profile-opponent .profile-rank {
    margin-top: 2px;
}

.profile-modal.profile-opponent  .profile-hero {
    padding-bottom: 20px;
}

@media (max-width: 460px) {
    .profile-modal {
        padding: 18px;
    }

    .profile-hero {
        align-items: flex-start;
    }

    .profile-avatar {
        width: 76px;
        height: 76px;
    }

    .profile-name {
        font-size: 18px;
    }

    .profile-main-stats {
        gap: 8px;
    }

    .profile-main-stat {
        padding: 10px 11px;
        border-radius: 12px;
    }

    .profile-winrate-label {
        font-size: 10px;
    }

    .profile-winrate-value,
    .profile-games-value {
        font-size: 30px;
    }

    .profile-winrate-track {
        height: 7px;
        margin-top: 7px;
    }

    .profile-modal::before {
        height: 115px;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .profile-dialog {
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .profile-modal {
        max-height: calc(100vh - 8px);
        padding: 9px;
        overflow: hidden;
        border-radius: 14px;
    }

    .profile-modal::before {
        height: 72px;
    }

    .profile-close {
        top: 9px;
        right: 9px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .profile-hero {
        gap: 9px;
        padding-right: 30px;
    }

    .profile-avatar {
        width: 48px;
        height: 48px;
        border-width: 2px;
    }

    .profile-level {
        min-width: 26px;
        height: 26px;
        padding: 0 5px;
        border-width: 2px;
        font-size: 11px;
    }

    .profile-name {
        font-size: 15px;
    }

    .profile-id,
    .profile-progress-head span,
    .profile-progress-meta,
    .profile-detail-grid span {
        font-size: 11px;
    }

    .profile-rank {
        margin-top: 4px;
        padding: 4px 7px;
        font-size: 11px;
    }

    .profile-progress-panel {
        margin-top: 6px;
        padding: 7px;
        border-radius: 9px;
    }

    .profile-progress-head {
        margin-bottom: 4px;
    }

    .profile-main-stats {
        gap: 6px;
        margin-top: 6px;
    }

    .profile-main-stat {
        margin-top: 0;
        padding: 7px 9px;
        border-radius: 10px;
    }

    .profile-winrate-label {
        font-size: 9px;
    }

    .profile-winrate-value,
    .profile-games-value {
        font-size: 24px;
    }

    .profile-winrate-track {
        height: 5px;
        margin-top: 4px;
    }

    .profile-stats {
        gap: 6px;
        margin-top: 6px;
    }

    .profile-stat {
        padding: 5px 6px;
        border-radius: 8px;
    }

    .profile-stat-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
        font-size: 10px;
    }

    .profile-stat-label {
        font-size: 9px;
    }

    .profile-stat-value {
        margin-top: 1px;
        font-size: 13px;
    }

    .profile-progress-track {
        height: 7px;
    }

    .profile-progress-meta {
        margin-top: 5px;
    }

    .profile-detail-grid {
        gap: 8px;
        margin-top: 8px;
    }

    .profile-detail-grid > div {
        padding: 8px 10px;
    }

}

/***************************************************/
/* VIP MODAL */
.vip-dialog {
    --bs-modal-width: 560px;
}

.vip-modal {
    position: relative;
    padding: 22px;
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(25, 42, 55, 0.97), rgba(10, 18, 25, 0.99)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-modal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 134px;
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.26), transparent 58%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.24), transparent 48%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 56%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 56%, transparent 100%);
    pointer-events: none;
}

.vip-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e8f3f8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.vip-close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.22);
}

.vip-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 38px;
}

.vip-badge {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #3c2500;
    font-size: 30px;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.vip-kicker {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    color: #2f1d00;
    font-size: 12px;
    font-weight: 950;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border-radius: 999px;
}

.vip-hero h4 {
    margin: 8px 0 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

.vip-hero p {
    max-width: 360px;
    margin: 8px 0 0;
    color: rgba(232, 243, 248, 0.72);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.vip-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.vip-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.vip-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
}

.vip-icon-blue {
    color: #65d7ff;
    background: rgba(0, 139, 187, 0.18);
}

.vip-icon-purple {
    color: #c4a2ff;
    background: rgba(124, 58, 237, 0.2);
}

.vip-icon-gold {
    color: #ffd36a;
    background: rgba(245, 158, 11, 0.18);
}

.vip-icon-red {
    color: #ff8b8b;
    background: rgba(239, 68, 68, 0.18);
}

.vip-text {
    min-width: 0;
    color: rgba(243, 248, 250, 0.88);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.vip-packages {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.vip-current-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 -2px;
    padding: 10px 12px;
    color: #fff5d6;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
}

.vip-current-status i,
.vip-current-status strong {
    color: #ffd36a;
}

.vip-card {
    min-width: 0;
    padding: 13px 8px;
    color: #eefaff;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.vip-card:hover,
.vip-card-active {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(0, 0, 0, 0.22);
}

.vip-days {
    color: rgba(232, 243, 248, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.vip-price {
    margin-top: 8px;
    color: #ffd36a;
    font-size: 18px;
    font-weight: 950;
}

.vip-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.vip-footer span {
    color: rgba(232, 243, 248, 0.64);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.vip-buy-btn {
    flex: 0 0 auto;
    min-width: 128px;
    height: 40px;
    color: #2f1d00;
    font-weight: 950;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}

.vip-buy-btn:hover {
    filter: brightness(1.06);
}

@media (max-width: 560px) {
    .vip-modal {
        padding: 18px;
    }

    .vip-badge {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 24px;
    }

    .vip-hero {
        align-items: flex-start;
    }

    .vip-hero h4 {
        font-size: 20px;
    }

    .vip-benefits {
        grid-template-columns: 1fr;
    }

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

    .vip-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .vip-buy-btn {
        width: 100%;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .vip-dialog {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .vip-modal {
        max-height: calc(100vh - 16px);
        padding: 12px;
        overflow-y: auto;
        border-radius: 16px;
    }

    .vip-modal::before {
        height: 96px;
    }

    .vip-close {
        top: 9px;
        right: 9px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .vip-badge {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 20px;
    }

    .vip-hero {
        gap: 11px;
        padding-right: 32px;
    }

    .vip-kicker {
        height: 20px;
        padding: 0 8px;
        font-size: 10px;
    }

    .vip-hero h4 {
        margin-top: 5px;
        font-size: 17px;
    }

    .vip-hero p {
        display: none;
    }

    .vip-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .vip-item {
        padding: 8px;
    }

    .vip-icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 13px;
    }

    .vip-text {
        font-size: 11px;
    }

    .vip-packages {
        gap: 8px;
        margin-top: 10px;
    }

    .vip-card {
        padding: 8px 6px;
    }

    .vip-price {
        margin-top: 4px;
        font-size: 15px;
    }

    .vip-footer {
        margin-top: 10px;
        padding-top: 10px;
    }
}

/***************************************************/
.wheel-icon {
    height: 40px;
    transition: 0.5s;
}

.wheel-icon:hover {
    transform: rotate(360deg);
}

@media (min-width: 768px) {
    .main {
        max-width: 1200px;
        max-height: 800px;
        border-radius: 12px;
        overflow: hidden;
    }

    .btn-primary {
        --bs-btn-bg: transparent;
    }

}

@media (max-height: 600px) {
    .main {
        border-radius: 0;
    }
}

/************ Language Flags *****************/
.flags {
    position: relative;
    width: 36px;
    height: 32px;
}

.flags > div {
    position: absolute;
    right: 0;
    transition: right 0.3s;
    cursor: pointer;
    width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 9px;
    overflow: hidden;
}

.flags > div:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

.flags > div img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}

.flags > div.current,
.flags > div.opened {
    z-index: 1;
}

@media (max-width: 767.98px) {
    .header {
        height: 48px;
    }

    .header .btn,
    .header a[href="/fortune"] {
        height: 34px;
    }


    .header strong {
        min-height: 34px;
        padding: 0 9px;
    }

    .footer {
        height: 36px;
    }

    .footer-menu a {
        margin-left: 10px;
    }

    .wheel-icon {
        height: 34px;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .header {
        height: 48px;
    }

    .footer {
        height: 32px;
    }

    .header .btn,
    .header a[href="/fortune"],
    .header strong {
        height: 34px;
        min-height: 34px;
    }

    .wheel-icon {
        height: 34px;
    }

    .footer {
        font-size: 11px;
    }

}

.lobby {
    width: 100%;
}

.game-mode {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 20px;
    min-height: 150px;
    justify-content: space-between;
    align-items: center;
    transition: 0.25s;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
}

.game-mode:focus,
.game-mode:hover {
    color: white;
    text-decoration: none;
}

.game-mode:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.game-mode-locked {
    cursor: not-allowed;
}

.game-mode-locked:hover {
    transform: none;
}

.mode-lock-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
    background: rgba(2, 8, 12, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.mode-lock-message {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    color: #eefaff;
    background: rgba(0, 0, 0, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.game-mode-balance-locked .mode-lock-message {
    bottom: 12px;
}

.mode-buychips-link {
    display: none;
}

.mode-buychips-link:hover {
    filter: brightness(1.08);
}

.game-mode-locked:hover .mode-lock-cover,
.game-mode-locked:focus .mode-lock-cover,
.game-mode-locked:hover .mode-lock-message,
.game-mode-locked:focus .mode-lock-message {
    opacity: 1;
    transform: translateY(0);
}

.not-enough-chips-dialog {
    --bs-modal-width: 430px;
}

.not-enough-chips-modal {
    position: relative;
    align-items: center;
    padding: 28px 24px 24px;
    text-align: center;
    background:
        linear-gradient(160deg, rgba(24, 47, 57, 0.98), rgba(11, 22, 28, 0.98)),
        url("/images/carbon-fibre.png");
}

.not-enough-chips-icon {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #fff4cf;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
    font-size: 30px;
}

.not-enough-chips-modal h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.not-enough-chips-modal p {
    max-width: 330px;
    margin: 0 0 18px;
    color: rgba(238, 250, 255, 0.76);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.not-enough-chips-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.not-enough-chips-stats div {
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
}

.not-enough-chips-stats span {
    display: block;
    color: rgba(238, 250, 255, 0.62);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.not-enough-chips-stats strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.not-enough-chips-buy {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.24);
    font-weight: 900;
    text-decoration: none;
}

.not-enough-chips-buy:hover {
    color: #fff;
    filter: brightness(1.08);
}

.payment-method-dialog {
    --bs-modal-width: 560px;
}

.payment-method-modal {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background:
        radial-gradient(circle at 18% -18%, rgba(103, 232, 249, 0.24), transparent 34%),
        linear-gradient(160deg, rgba(27, 52, 62, 0.98), rgba(9, 20, 27, 0.985)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(122, 220, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.payment-method-modal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 118px;
    background:
        linear-gradient(90deg, rgba(0, 139, 187, 0.22), transparent 62%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.14), transparent 45%);
    pointer-events: none;
}

.payment-method-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 36px;
    margin-bottom: 18px;
}

.payment-method-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff4cf;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(180, 83, 9, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(180, 83, 9, 0.22);
    font-size: 24px;
}

.payment-method-head h4 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 950;
}

.payment-method-head p {
    margin: 4px 0 0;
    color: rgba(238, 250, 255, 0.68);
    font-size: 13px;
    font-weight: 800;
}

.payment-product-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.payment-product-row p {
    margin: 0;
}

.payment-product-row strong {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 10px;
    color: #2f1d00;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
}

.payment-method-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.payment-method-card {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    overflow: hidden;
    color: #eefaff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-weight: 900;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.payment-method-card:hover {
    background:
        linear-gradient(180deg, rgba(103, 232, 249, 0.16), rgba(255, 255, 255, 0.06));
    border-color: rgba(103, 232, 249, 0.3);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.payment-method-card i {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffd36a;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 11px;
    font-size: 18px;
    text-align: center;
}

.payment-method-card span {
    min-width: 0;
    line-height: 1.18;
}

.payment-method-test {
    grid-column: 1 / -1;
    background:
        linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(255, 255, 255, 0.045));
    border-color: rgba(34, 197, 94, 0.34);
}

.payment-method-test i {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
}

.payment-success-dialog {
    max-width: 420px;
}

.payment-success-modal {
    position: relative;
    overflow: hidden;
    padding: 30px 24px 24px;
    text-align: center;
    color: #f2fbff;
    background:
        radial-gradient(circle at 50% -10%, rgba(85, 211, 255, 0.28), transparent 42%),
        linear-gradient(155deg, rgba(31, 61, 72, 0.98), rgba(13, 27, 35, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(104, 213, 255, 0.32);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.payment-success-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transform: translateX(-120%) skewX(-18deg);
    animation: paymentSuccessShine 2.8s ease-in-out infinite;
}

.payment-success-badge {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    margin: 4px auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    background: linear-gradient(145deg, #1fd889, #23a9ff);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(35, 169, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.payment-success-modal h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.payment-success-modal p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: rgba(238, 250, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.payment-success-product {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 20px;
    padding: 14px 16px;
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.payment-success-product span {
    min-width: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.payment-success-product strong {
    flex: 0 0 auto;
    color: #9be7ff;
    font-size: 15px;
    font-weight: 900;
}

.payment-success-button {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 44px;
    color: #06141a;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(135deg, #7de8ff, #27d98e);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 13px 30px rgba(39, 217, 142, 0.22);
}

.payment-success-button:hover {
    filter: brightness(1.04);
}

@keyframes paymentSuccessShine {
    0%, 42% {
        transform: translateX(-120%) skewX(-18deg);
    }

    72%, 100% {
        transform: translateX(120%) skewX(-18deg);
    }
}

@media (max-width: 520px) {
    .payment-method-dialog {
        margin: 10px;
    }

    .payment-method-modal {
        max-height: calc(100dvh - 20px);
        padding: 18px;
        overflow-y: auto;
        border-radius: 18px;
    }

    .payment-method-modal::before {
        height: 72px;
        background:
            linear-gradient(90deg, rgba(0, 139, 187, 0.12), transparent 68%),
            linear-gradient(135deg, rgba(245, 158, 11, 0.08), transparent 52%);
    }

    .payment-method-head {
        gap: 11px;
        margin-bottom: 14px;
        padding-right: 30px;
    }

    .payment-method-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 18px;
    }

    .payment-method-head h4 {
        font-size: 17px;
        line-height: 1.1;
    }

    .payment-product-row {
        gap: 6px;
    }

    .payment-method-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .payment-method-card {
        min-height: 52px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 13px;
    }

    .payment-method-card i {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 16px;
    }

    .payment-success-modal {
        margin: 12px;
        padding: 26px 18px 20px;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .payment-method-dialog {
        --bs-modal-width: min(720px, calc(100vw - 24px));
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .payment-method-modal {
        max-height: calc(100vh - 16px);
        padding: 14px;
        overflow-y: auto;
        border-radius: 14px;
    }

    .payment-method-modal::before {
        height: 62px;
        background:
            linear-gradient(90deg, rgba(0, 139, 187, 0.1), transparent 70%);
    }

    .payment-method-modal .profile-close {
        top: 8px;
        right: 8px;
    }

    .payment-method-head {
        gap: 10px;
        min-height: 42px;
        margin-bottom: 10px;
        padding-right: 34px;
    }

    .payment-method-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 18px;
    }

    .payment-method-head h4 {
        font-size: 16px;
        line-height: 1.1;
    }

    .payment-method-head p {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.15;
    }

    .payment-product-row {
        gap: 6px;
        margin-top: 2px;
    }

    .payment-product-row strong {
        min-height: 20px;
        padding: 3px 7px;
        font-size: 11px;
    }

    .payment-method-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .payment-method-card {
        min-height: 46px;
        gap: 8px;
        padding: 8px 9px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 1.1;
    }

    .payment-method-card i {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 17px;
    }

    .payment-method-test {
        grid-column: auto;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 380px) {
    .payment-method-dialog {
        --bs-modal-width: min(760px, calc(100vw - 18px));
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .payment-method-modal {
        max-height: calc(100vh - 12px);
        padding: 10px;
    }

    .payment-method-modal::before {
        height: 36px;
        opacity: 0.55;
    }

    .payment-method-head {
        margin-bottom: 7px;
    }

    .payment-method-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .payment-method-head h4 {
        font-size: 14px;
    }

    .payment-method-head p {
        font-size: 10px;
    }

    .payment-method-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .payment-method-card {
        min-height: 38px;
        padding: 6px 7px;
        font-size: 11px;
    }

    .payment-method-card i {
        width: 22px;
        height: 22px;
        border-radius: 7px;
        font-size: 15px;
    }
}

.game-mode.mode-1 {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.game-mode.mode-2 {
    background: linear-gradient(135deg, #ef4444, #7f1d1d);
}

.game-mode.mode-3 {
    background: linear-gradient(135deg, #22c55e, #166534);
}

.game-mode.mode-4 {
    background: linear-gradient(135deg, #f97316, #9a3412);
}

.game-mode.mode-5 {
    background: linear-gradient(135deg, #06b6d4, #164e63);
}

.game-mode.mode-6 {
    background: linear-gradient(135deg, #9333ea, #4c1d95);
}

.game-mode h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mode-icon {
    width: 60px;
}

.mode-faicon {
    font-size: 44px;
}

@media (min-width: 768px) {
    .game-mode {
        display: flex;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .lobby > .row > div {
        width: 33.33333333%;
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }

    .game-mode {
        display: inline-block;
        width: 100%;
        padding: 18px 20px;
        min-height: 120px;
    }

    .game-mode h3 {
        font-size: 20px;
    }

    .game-mode .text-center.text-md-end {
        display: flex;
        justify-content: space-between;
    }

    .mode-win,
    .mode-till {
        display: none;
    }

    .mode-icon {
        width: 46px;
        margin-right: 10px;
    }

    .mode-faicon {
        font-size: 34px;
        margin-right: 10px;
    }

}

@media (max-width: 576px) {
    .blot-shell {
        align-items: stretch !important;
    }

    .main {
        height: 100dvh;
        max-height: 100dvh;
        border: 0;
    }

    .header {
        height: 52px;
        padding: 0 6px;
    }

    .footer {
        display: none !important;
    }

    .content {
        min-height: 0;
    }

    .content:has(.home-page) {
        overflow: hidden;
    }

    .home-page {
        height: 100%;
        padding: 10px 10px !important;
        overflow: hidden;
    }

    .home-page .lobby,
    .home-page .lobby > .row {
        height: 100%;
    }

    .home-page .lobby > .row {
        --bs-gutter-y: 0;
        align-content: center;
        row-gap: 10px;
        margin-top: 0;
    }

    .home-page .lobby > .row > div {
        width: 50%;
        height: clamp(132px, 21dvh, 158px);
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    .home-page .game-mode {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 8px;
        padding: 14px 12px 12px;
        border-radius: 13px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
    }

    .home-page .game-mode h3 {
        margin-bottom: 4px;
        font-size: clamp(16px, 4.6vw, 19px);
        line-height: 1.1;
    }

    .home-page .mode-win,
    .home-page .mode-till {
        font-size: 11px;
        line-height: 1.18;
    }

    .home-page .game-mode .text-center.text-md-end {
        width: 100%;
        display: flex;
        align-items: end;
        justify-content: space-between;
        margin-top: 0 !important;
    }

    .home-page .mode-icon {
        width: 42px;
    }

    .home-page .mode-faicon {
        font-size: 36px;
        line-height: 1;
    }

    .home-page .game-mode .fs-4 {
        margin-top: 0 !important;
        font-size: 16px !important;
        line-height: 1;
        white-space: nowrap;
    }

    .home-page .mode-lock-message {
        left: 7px;
        right: 7px;
        bottom: 7px;
        padding: 5px 6px;
        font-size: 9px;
    }
}

@media (max-width: 380px) and (max-height: 760px) {
    .home-page {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .home-page .lobby > .row {
        row-gap: 8px;
    }

    .home-page .lobby > .row > div {
        height: clamp(126px, 20dvh, 148px);
    }

    .home-page .game-mode {
        padding: 11px 9px 10px;
        border-radius: 12px;
    }

    .home-page .mode-till {
        display: none;
    }

    .home-page .mode-icon {
        width: 38px;
    }

    .home-page .mode-faicon {
        font-size: 32px;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .home-page {
        height: 100%;
        padding: 2px 8px !important;
        overflow: hidden;
    }

    .content:has(.home-page) {
        overflow: hidden;
    }

    .home-page .lobby > .row > div {
        width: 33.33333333%;
        height: calc((100% - 2px) / 2);
        padding-right: 4px !important;
        padding-left: 4px !important;
    }

    .home-page .game-mode {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 6px;
        padding: 15px;
        min-height: 0;
        border-radius: 14px;
    }

    .home-page .game-mode h3 {
        margin-bottom: 14px;
        font-size: clamp(15px, 2.6vw, 19px);
        line-height: 1.08;
    }

    .home-page .mode-win,
    .home-page .mode-till {
        font-size: 11px;
        line-height: 1.18;
    }

    .home-page .game-mode .text-center.text-md-end {
        width: 100%;
        display: flex;
        align-items: end;
        justify-content: space-between;
        margin-top: 0 !important;
    }

    .home-page .mode-icon {
        width: 40px;
        margin-right: 0;
    }

    .home-page .mode-faicon {
        margin-right: 0;
        font-size: 32px;
        line-height: 1;
    }

    .home-page .game-mode .fs-4 {
        margin-top: 0 !important;
        font-size: 16px !important;
        line-height: 1;
    }
}

.auth-page {
    height: 100%;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.auth-panel {
    position: relative;
    overflow: auto;
    width: 100%;
    min-height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(25, 42, 55, 0.97), rgba(10, 18, 25, 0.99)),
        url("/images/carbon-fibre.png");
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 130px;
    background:
        linear-gradient(90deg, rgba(0, 139, 187, 0.18), transparent 54%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.14), transparent 46%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    pointer-events: none;
}

.auth-head {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2200;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    font-size: 22px;
}

.auth-head h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
    line-height: 1.08;
}

.auth-head p {
    margin: 5px 0 0;
    color: rgba(232, 243, 248, 0.64);
    font-size: 13px;
    font-weight: 700;
}

.auth-social-list {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    margin: 16px auto 0;
    display: grid;
    gap: 10px;
}

.auth-social {
    min-height: 58px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.auth-social:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.auth-social-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 17px;
}

.auth-social > span:not(.auth-social-mark) {
    min-width: 0;
    font-size: 15px;
    font-weight: 900;
}

.auth-social-vk .auth-social-mark {
    background: rgba(76, 117, 163, 0.28);
    color: #8ec8ff;
}

.auth-social-google .auth-social-mark {
    background: rgba(214, 73, 47, 0.22);
    color: #ff9b87;
}

.auth-social-ok .auth-social-mark {
    background: rgba(238, 130, 8, 0.22);
    color: #ffc47a;
}

.auth-note {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    margin: 14px auto 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(232, 243, 248, 0.72);
    background: rgba(0, 139, 187, 0.08);
    border: 1px solid rgba(0, 139, 187, 0.16);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

.auth-note i {
    color: #66c8ff;
}

@media (max-width: 460px) {
    .auth-page {
        align-items: stretch;
    }

    .auth-panel {
        padding: 14px;
    }

    .auth-head h2 {
        font-size: 21px;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .auth-page {
        align-items: stretch;
    }

    .auth-panel {
        padding: 12px;
    }

    .auth-head {
        width: min(720px, 100%);
        padding-bottom: 10px;
    }

    .auth-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 18px;
    }

    .auth-social-list {
        width: min(720px, 100%);
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .auth-social {
        min-height: 50px;
        gap: 8px;
    }

    .auth-note {
        display: none;
    }
}

.store-page {
    height: 100%;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: auto;
}

.store-panel {
    width: 100%;
    min-height: 100%;
    position: relative;
    overflow: auto;
    padding: 16px;
    border: 0;
    background:
        linear-gradient(160deg, rgba(25, 42, 55, 0.96), rgba(10, 18, 25, 0.99)),
        url("/images/carbon-fibre.png");
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.buychips-page .store-panel {
    width: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background:
        linear-gradient(90deg, rgba(0, 139, 187, 0.16), transparent 44%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.14), transparent 48%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    pointer-events: none;
}

.store-head {
    position: relative;
    z-index: 1;
    padding-bottom: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-title-icon,
.buychips-item-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3a2200;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.store-title-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 22px;
}

.store-title-icon-red {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
}

.store-title h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
    line-height: 1.05;
}

.store-title p {
    max-width: 620px;
    margin: 5px 0 0;
    color: rgba(232, 243, 248, 0.62);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.store-balance {
    min-width: 80px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    text-align: center;
}

.store-balance span,
.store-foot span {
    display: block;
    color: rgba(232, 243, 248, 0.62);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.store-balance strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.blot-balance-animated,
.store-balance strong {
    position: relative;
}

.blot-balance-pulse-up,
.blot-balance-pulse-down {
    animation: blotBalancePulse 0.7s ease;
}

.blot-balance-pulse-up strong,
.store-balance strong.blot-balance-pulse-up {
    color: #dcfce7;
    text-shadow: 0 0 18px rgba(34, 197, 94, 0.46);
}

.blot-balance-pulse-down strong,
.store-balance strong.blot-balance-pulse-down {
    color: #fee2e2;
    text-shadow: 0 0 18px rgba(239, 68, 68, 0.42);
}

.blot-balance-delta {
    position: absolute;
    left: 50%;
    bottom: calc(100% - 3px);
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px) scale(0.92);
    transition: opacity 0.24s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.blot-balance-delta-up {
    color: #052e16;
    background: linear-gradient(135deg, #86efac, #22c55e);
    box-shadow: 0 10px 26px rgba(34, 197, 94, 0.28);
}

.blot-balance-delta-down {
    color: #450a0a;
    background: linear-gradient(135deg, #fecaca, #ef4444);
    box-shadow: 0 10px 26px rgba(239, 68, 68, 0.26);
}

.blot-balance-delta-show {
    opacity: 1;
    transform: translate(-50%, -18px) scale(1);
}

@keyframes blotBalancePulse {
    0% {
        transform: scale(1);
    }

    38% {
        transform: scale(1.08);
    }

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

.buychips-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.buychips-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    min-height: 230px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(33, 55, 68, 0.92), rgba(13, 25, 33, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(177, 200, 212, 0.14);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.buychips-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 72px;
    background:
        linear-gradient(135deg, rgba(0, 139, 187, 0.22), transparent 62%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
}

.buychips-item::after {
    content: "";
    position: absolute;
    inset: auto 14px 52px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.buychips-item-featured {
    background:
        linear-gradient(180deg, rgba(70, 34, 38, 0.95), rgba(22, 25, 31, 0.98)),
        url("/images/carbon-fibre.png");
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 34px rgba(239, 68, 68, 0.18);
}

.buychips-item-featured::before {
    background:
        linear-gradient(135deg, rgba(239, 68, 68, 0.3), transparent 58%),
        linear-gradient(90deg, rgba(245, 158, 11, 0.18), transparent 78%);
}

.buychips-item-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.buychips-item-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 22px;
}

.buychips-item-amount {
    color: #fff;
    font-size: 27px;
    font-weight: 950;
    line-height: 1;
}

.buychips-item-label {
    margin-top: 3px;
    color: rgba(232, 243, 248, 0.58);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.buychips-item-meta {
    min-height: 58px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.buychips-item-price {
    min-width: 74px;
    height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dffdea;
    background: rgba(46, 204, 113, 0.13);
    border: 1px solid rgba(46, 204, 113, 0.22);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 950;
}

.buychips-item-gift {
    width: fit-content;
    height: 22px;
    margin: 0 0 8px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    color: #2f1d00;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.buychips-item-buy,
.wheel-spin-btn,
.wheel-reward-close {
    position: relative;
    height: 38px;
    min-width: 128px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border: 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 950;
    overflow: hidden;
}

.buychips-item-buy {
    width: 100%;
    min-width: 0;
    margin-top: 2px;
}

.buychips-item-buy::before,
.wheel-spin-btn::before,
.wheel-reward-close::before {
    content: "";
    position: absolute;
    inset: -45% auto -45% -70%;
    width: 54%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
    opacity: 0;
}

.buychips-item-buy:hover::before,
.wheel-spin-btn:hover::before,
.wheel-reward-close:hover::before {
    animation: headerButtonShine 0.8s ease;
    opacity: 1;
}

.store-foot {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(0, 139, 187, 0.08);
    border: 1px solid rgba(0, 139, 187, 0.16);
    border-radius: 12px;
}

.store-foot strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 13px;
}

.store-pay-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(232, 243, 248, 0.8);
    font-size: 30px;
}

@media (max-width: 640px) {
    .store-page {
        align-items: stretch;
        overflow: hidden;
    }

    .store-panel {
        padding: 8px;
        overflow: hidden;
    }

    .buychips-page .store-panel {
        justify-content: center;
    }

    .store-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding-bottom: 8px;
    }

    .store-title h2 {
        font-size: 18px;
    }

    .store-title p {
        display: none;
    }

    .store-title-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .store-balance {
        min-width: 102px;
        padding: 8px;
        text-align: right;
    }

    .store-balance strong {
        font-size: 14px;
    }

    .buychips-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 8px;
    }

    .buychips-item {
        min-height: 132px;
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .buychips-item-buy {
        width: 100%;
        height: 28px;
        font-size: 10px;
    }

    .buychips-item-main {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .buychips-item-icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 12px;
    }

    .buychips-item-amount,
    .buychips-item-price {
        font-size: 16px;
    }

    .buychips-item-label {
        font-size: 9px;
    }

    .buychips-item-meta {
        min-height: 0;
        margin-top: auto;
        text-align: center;
    }

    .buychips-item-gift {
        height: 17px;
        margin: 0 0 4px;
        font-size: 9px;
    }

    .store-foot {
        display: none;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .store-page {
        align-items: stretch;
        overflow: hidden;
    }

    .store-panel {
        padding: 6px;
        overflow: hidden;
    }

    .buychips-page .store-panel {
        justify-content: flex-start;
    }

    .store-head {
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

    .store-title-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .store-title h2 {
        font-size: 19px;
    }

    .store-title p,
    .store-foot {
        display: none;
    }

    .buychips-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
        margin-top: 0;
        height: auto;
        align-items: center;
    }

    .buychips-item {
        min-height: 0;
        height: 100%;
        padding: 5px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .buychips-item::before {
        height: 54px;
    }

    .buychips-item::after {
        display: none;
    }

    .buychips-item-icon {
        width: 32px;
        height: 32px;
        border-radius: 7px;
        font-size: 14px;
        margin: 10px 0;
    }

    .buychips-item-main {
        gap: 4px;
    }

    .buychips-item-amount,
    .buychips-item-price {
        font-size: 18px;
    }

    .buychips-item-label {
        display: none;
        margin-top: 1px;
        font-size: 8px;
    }

    .buychips-item-meta {
        min-height: 0;
    }

    .buychips-item-gift {
        height: 14px;
        margin-bottom: 10px;
        padding: 0 4px;
        font-size: 10px;
    }

    .buychips-item-buy {
        grid-column: 1 / -1;
        width: 100%;
        height: auto;
        padding: 8px 4px;
        border-radius: 7px;
        font-size: 12px;
    }

    .buychips-item-buy i {
        display: none;
    }

    .store-balance {
        padding: 4px 12px;
    }
}

/**********************************************************/
.wheel-game-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.wheel-badge-custom {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wheel-wrapper {
    position: relative;
    max-width: 520px;
    margin: auto;
}

.wheel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    border: 12px solid rgba(255, 255, 255, 0.2);
    background: white;
    transition: transform 6s cubic-bezier(0.17, 0.67, 0.13, 0.99);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

canvas {
    width: 100%;
    height: 100%;
}

.wheel-pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 46px solid white;
    z-index: 20;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: #253846;
    border: 6px solid white;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.wheel-spin-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ae9523 0%, #e8d060 100%);
    color: #253846;
    border: none;
    border-radius: 999px;
    padding: 18px 42px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.wheel-spin-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.6s;
}

.wheel-spin-btn:hover::before {
    left: 100%;
}

.wheel-spin-btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.wheel-spin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.wheel-info-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1rem 1.2rem;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.04);
}

.wheel-info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.wheel-info-content {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.wheel-result-box {
    min-height: 80px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-reward-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 999;
}

.wheel-reward-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.wheel-reward-modal {
    width: 92%;
    max-width: 420px;
    background: linear-gradient(135deg, #253846 0%, #008bbb 100%);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    transform: scale(0.7);
    transition: 0.35s ease;
}

.wheel-reward-popup.active .wheel-reward-modal {
    transform: scale(1);
}

.wheel-reward-icon {
    width: 100px;
    height: 100px;
    margin: auto auto 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse 1.5s infinite;
}

.wheel-reward-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.wheel-reward-text {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
}

.wheel-reward-close {
    border: none;
    background: white;
    color: #253846;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
}

.wheel-reward-close:hover {
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }

}

@media (max-width: 768px) {
    .wheel-game-title {
        font-size: 2.2rem;
    }

    .wheel-center {
        width: 75px;
        height: 75px;
        font-size: 0.9rem;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .wheel-wrapper {
        max-width: 260px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .wheel-info-box {
        display: none !important;
    }

    .wheel-won-bar {
        height: 100%;
        justify-content: center;
    }

}

.fortune-page {
    overflow: hidden;
}

.fortune-page .store-panel {
    overflow: hidden;
}

.fortune-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 139, 187, 0.18), transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(245, 158, 11, 0.14), transparent 26%),
        linear-gradient(160deg, rgba(21, 38, 48, 0.96), rgba(9, 18, 24, 0.99)),
        url("/images/carbon-fibre.png");
}

.fortune-shell {
    display: grid;
    gap: 16px;
}

.fortune-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(12, 24, 31, 0.74);
    border: 1px solid rgba(120, 217, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fortune-hero-copy {
    min-width: 0;
    max-width: 760px;
}

.fortune-hero-kicker {
    color: #8ea6b3;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.fortune-hero h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.05;
}

.fortune-hero p {
    margin: 8px 0 0;
    color: rgba(216, 235, 243, 0.72);
    max-width: 720px;
    font-size: 13px;
    line-height: 1.45;
}

.fortune-wallet {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}

.fortune-wallet span {
    display: block;
    color: #8ea6b3;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fortune-wallet strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.fortune-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 14px;
    align-items: stretch;
    min-height: 0;
    flex: 1 1 auto;
}

.fortune-wheel-card,
.fortune-side {
    min-width: 0;
    padding: 14px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(11, 23, 30, 0.62);
    border: 1px solid rgba(135, 222, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fortune-wheel-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fortune-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.fortune-panel .wheel-wrapper {
    width: min(480px, 100%);
    max-width: none;
    margin: 0;
}

.fortune-panel .wheel-container {
    border: 10px solid rgba(255, 255, 255, 0.12);
    background: #142530;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.36),
        inset 0 0 26px rgba(255, 255, 255, 0.08);
}

.fortune-panel .wheel-pointer {
    top: -4px;
    border-left-width: 20px;
    border-right-width: 20px;
    border-top: 38px solid #f59e0b;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.36));
}

.fortune-panel .wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 12;
    width: 92px;
    height: 92px;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2200;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border: 5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 950;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.fortune-panel .wheel-center span {
    font-size: 12px;
}

.fortune-panel .wheel-center i {
    font-size: 16px;
}

.fortune-panel .wheel-center::before {
    display: none;
}

.fortune-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0, 180, 235, 0.16), rgba(255, 255, 255, 0.035)),
        rgba(0, 139, 187, 0.06);
    border: 1px solid rgba(63, 203, 255, 0.2);
}

.fortune-status-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd36a;
    background: rgba(245, 158, 11, 0.16);
    border-radius: 13px;
    font-size: 18px;
}

.fortune-status-copy {
    min-width: 0;
}

.fortune-status span {
    display: block;
    color: rgba(232, 243, 248, 0.62);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.fortune-status strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.fortune-rules-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.065);
}

.fortune-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #e8f3f8;
    font-weight: 850;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fortune-section-title i {
    color: #ffd36a;
}

.fortune-rules {
    display: grid;
    gap: 8px;
}

.fortune-rules > div {
    min-width: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(232, 243, 248, 0.88);
    font-size: 12px;
    font-weight: 700;
}

.fortune-rules i {
    width: 24px;
    color: #ffd36a;
    text-align: center;
    font-size: 14px;
    flex: 0 0 auto;
}

.wheel-reward-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 11000;
    align-items: center;
    justify-content: center;
    background: rgba(7, 12, 16, 0.7);
    backdrop-filter: blur(10px);
    padding: 18px;
}

.wheel-reward-modal {
    width: min(430px, 100%);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(20, 37, 48, 0.98), rgba(12, 22, 29, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 28px 24px 24px;
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transition: all 0.25s ease;
}

.wheel-reward-popup.active .wheel-reward-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.wheel-reward-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd36a;
    background: rgba(245, 158, 11, 0.14);
    font-size: 30px;
}

.wheel-reward-title {
    color: #fff;
    font-size: 24px;
}

.wheel-reward-text {
    color: rgba(232, 243, 248, 0.78);
    font-size: 15px;
}

.wheel-reward-close {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 10px;
}

@media (max-width: 992px) {

    .fortune-hero {
        flex-direction: column;
    }

    .fortune-wallet {
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .fortune-panel {
        padding: 8px;
    }

    .fortune-shell {
        gap: 8px;
    }

    .fortune-hero {
        display: none;
    }

    .fortune-wallet {
        display: none;
    }

    .fortune-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fortune-wheel-card {
        padding: 8px;
        margin-bottom: 10px;
    }

    .fortune-panel .wheel-wrapper {
        width: min(94vw, calc(100svh - 104px));
        max-width: 460px;
    }

    .fortune-panel .wheel-center {
        width: 70px;
        height: 70px;
        font-size: .82rem;
    }

    .fortune-panel .wheel-center span {
        font-size: 9px;
    }

    .fortune-panel .wheel-center i {
        font-size: 12px;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 480px) {

    .fortune-shell {
        gap: 0;
    }

    .fortune-hero {
        display: none;
    }

    .fortune-wheel-card {
        padding: 8px;
        min-height: calc(100svh - 82px);
    }

    .fortune-panel .wheel-wrapper {
        width: min(92vw, calc(100svh - 92px), 460px);
        max-width: none;
    }

    .fortune-wallet {
        display: none;
    }

    .fortune-panel .wheel-center {
        width: 60px;
        height: 60px;
        font-size: 0.72rem;
    }

    .fortune-panel .wheel-center span {
        font-size: 8px;
    }

    .fortune-panel .wheel-center i {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .fortune-page {
        height: 100%;
        overflow: hidden;
    }

    .fortune-page .store-panel,
    .fortune-panel {
        height: 100%;
        min-height: 0;
        padding: 8px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .fortune-hero,
    .fortune-wallet,
    .fortune-rules-card {
        display: none;
    }

    .fortune-grid {
        height: 100%;
        min-height: 0;
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .fortune-wheel-card {
        min-height: 0;
        padding: 6px;
        margin: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.035);
    }

    .fortune-panel .wheel-wrapper {
        width: min(96vw, calc(100dvh - 170px), 440px);
        max-width: none;
    }

    .fortune-panel .wheel-container {
        border-width: 8px;
    }

    .fortune-panel .wheel-pointer {
        top: -2px;
        border-left-width: 17px;
        border-right-width: 17px;
        border-top-width: 31px;
    }

    .fortune-panel .wheel-center {
        width: clamp(66px, 18vw, 82px);
        height: clamp(66px, 18vw, 82px);
    }

    .fortune-side {
        min-height: 0;
        padding: 0;
        display: block;
        background: transparent;
        border: 0;
    }

    .fortune-status {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .fortune-status-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 16px;
    }

    .fortune-status strong {
        font-size: 13px;
        line-height: 1.25;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .fortune-page {
        height: 100%;
        overflow: hidden;
    }

    .fortune-page .store-panel,
    .fortune-panel {
        height: 100%;
        min-height: 0;
        padding: 6px 8px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .fortune-hero,
    .fortune-wallet,
    .fortune-rules-card {
        display: none;
    }

    .fortune-grid {
        height: 100%;
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(176px, 230px);
        gap: 8px;
        align-items: stretch;
    }

    .fortune-wheel-card {
        min-height: 0;
        padding: 5px;
        margin: 0;
        border-radius: 16px;
    }

    .fortune-panel .wheel-wrapper {
        width: min(calc(100dvh - 68px), 54vw, 390px);
        max-width: none;
    }

    .fortune-panel .wheel-container {
        border-width: 7px;
    }

    .fortune-panel .wheel-pointer {
        top: -2px;
        border-left-width: 16px;
        border-right-width: 16px;
        border-top-width: 30px;
    }

    .fortune-panel .wheel-center {
        width: clamp(58px, 13dvh, 74px);
        height: clamp(58px, 13dvh, 74px);
        font-size: .78rem;
    }

    .fortune-panel .wheel-center span {
        font-size: 9px;
    }

    .fortune-side {
        min-height: 0;
        padding: 0;
        display: flex;
        align-items: center;
        background: transparent;
        border: 0;
    }

    .fortune-status {
        width: 100%;
        padding: 12px;
        border-radius: 14px;
    }

    .fortune-status-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 16px;
    }

    .fortune-status strong {
        font-size: 13px;
        line-height: 1.25;
    }
}

.tournament-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 20px;
    font-weight: 600;
}

.tournament-page {
    height: 100%;
    padding: 18px;
    overflow: hidden;
}

.tournament-head {
    margin-bottom: 18px;
}

.tournament-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.tournament-subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: auto;
    font-size: 1.05rem;
}

.tournament-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tournament-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.tournament-card-live {
    border-color: rgba(45, 212, 123, 0.42);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.28),
        0 0 24px rgba(45, 212, 123, 0.18);
}

.tournament-card-live:hover {
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.35),
        0 0 32px rgba(45, 212, 123, 0.26);
}

.tournament-card-header {
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tournament-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tournament-status.live {
    background: rgba(0, 255, 136, 0.15);
    color: #7dffbf;
}

.tournament-status.upcoming {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.tournament-status.finished {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

.tournament-status.cancelled {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

.tournament-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.tournament-prize {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffe082;
}

.tournament-body {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.tournament-time-box {
    background: linear-gradient(135deg, rgba(0, 139, 187, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 12px;
    margin-bottom: 22px;
    text-align: center;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.03);
}

.tournament-time-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-weight: 700;
}

.tournament-time-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.tournament-time-value span {
    font-size: 1rem;
    opacity: 0.7;
    margin-left: 4px;
}

.tournament-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tournament-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tournament-info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.tournament-info-value {
    font-weight: 700;
    text-align: right;
}

.tournament-join-btn {
    width: 100%;
    margin-top: auto;
    align-self: stretch;
    border: none;
    margin-top: 24px;
    border-radius: 18px;
    padding: 15px 20px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #dff6ff 100%);
    color: #253846;
    transition: 0.25s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tournament-join-btn:hover {
    transform: translateY(-3px);
}

.tournament-join-btn:disabled,
.tournament-join-btn-disabled {
    opacity: 0.48;
    cursor: default;
    transform: none !important;
    box-shadow: none;
}

.tournament-prizes-modal {
    --bs-modal-width: 420px;
}

.tournament-prizes-modal .modal-content {
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(36, 70, 84, 0.96), rgba(22, 43, 52, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.tournament-prizes-modal .modal-header {
    align-items: flex-start;
    padding: 18px 18px 8px;
}

.tournament-prizes-modal .modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.tournament-prizes-eyebrow {
    color: rgba(232, 243, 248, 0.62);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.tournament-prizes-modal .modal-body {
    padding: 10px 18px 18px;
}

.tournament-prizes-fund {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tournament-prizes-fund span {
    color: rgba(232, 243, 248, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.tournament-prizes-fund strong {
    color: #ffd36a;
    font-size: 18px;
    font-weight: 900;
}

.tournament-prizes-list {
    display: grid;
    gap: 8px;
}

.tournament-prize-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tournament-prize-row span {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.tournament-prize-row strong {
    color: #ffd36a;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.tournament-empty {
    height: calc(100% - 110px);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tournament-empty-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tournament-empty-text {
    color: rgba(232, 243, 248, 0.72);
    font-size: 14px;
}

.tournament-top-box {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tournament-top-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.tournament-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.tournament-player:last-child {
    margin-bottom: 0;
}

.tournament-player-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tournament-rank {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.tournament-player-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.tournament-player-points {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffe082;
}

@media (max-width: 768px) {
    .tournament-title {
        font-size: 2.3rem;
    }

    .tournament-prize {
        font-size: 1.6rem;
    }

    .tournament-player {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

}

@media (max-width: 768px) {
    .tournament-scroll {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
    }

    .tournament-scroll::-webkit-scrollbar {
        display: none;
    }

    .tournament-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content;
        margin: 0;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .tournament-row > div {
        width: 320px;
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .tournament-head {
        display: none;
    }

    .tournament-name {
        font-size: 1rem;
        margin: 10px 0;
    }

    .tournament-prize,
    .tournament-time-box,
    .tournament-status {
        display: none;
    }

    .tournament-time-box {
        margin-bottom: 5px;
    }

    .tournament-info {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .tournament-card-header {
        padding: 8px 20px;
    }

    .tournament-join-btn {
        margin-top: 16px;
    }

    .tournament-join-btn {
        padding: 10px 20px;
    }

}

.trnsingle-card {
    height: 100%;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.trnsingle-header {
    padding: 22px;
    background: linear-gradient(135deg, rgba(0, 139, 187, 0.18), rgba(255, 255, 255, 0.04));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trnsingle-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.14);
    color: #8fffc8;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.trnsingle-status-upcoming {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.trnsingle-status-finished {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

.trnsingle-status-cancelled {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

.trnsingle-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.trnsingle-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.trnsingle-content {
    padding: 22px;
}

.trnsingle-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.trnsingle-info-box,
.trnsingle-description,
.trnsingle-sidebar-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
}

.trnsingle-sidebar-box {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.trnsingle-sidebar-box .trnsingle-btn:first-of-type {
    margin-top: auto !important;
}

.trnsingle-info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trnsingle-info-value {
    font-size: 1.1rem;
    font-weight: 800;
}

.trnsingle-main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: stretch;
}

.trnsingle-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.trnsingle-game-card {
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: 0.25s ease;
}

.trnsingle-game-card.active {
    background: linear-gradient(180deg, rgba(0, 139, 187, 0.22), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trnsingle-game-card.played {
    background: linear-gradient(180deg, rgba(74, 200, 138, 0.16), rgba(255, 255, 255, 0.05));
    border-color: rgba(91, 226, 160, 0.22);
    box-shadow: 0 10px 26px rgba(20, 135, 90, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.trnsingle-game-card.played .trnsingle-game-score {
    background: rgba(91, 226, 160, 0.16);
    color: #b8ffd8;
    font-weight: 800;
}

.trnsingle-game-card:hover {
    transform: translateY(-4px);
}

.trnsingle-game-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trnsingle-game-badge {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.trnsingle-game-score {
    font-size: 0.82rem;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.trnsingle-game-center {
    text-align: center;
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.trnsingle-game-state {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}

.trnsingle-game-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.trnsingle-game-btn,
.trnsingle-btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 16px;
    padding: 14px;
    font-weight: 800;
    transition: 0.25s ease;
    cursor: pointer;
    flex-shrink: 0;
    color: white;
    text-decoration: none;
}

.trnsingle-game-btn:hover,
.trnsingle-btn:hover {
    transform: translateY(-2px);
}

.trnsingle-game-btn {
    background: linear-gradient(135deg, #ffffff 0%, #dff6ff 100%);
    color: #253846;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.trnsingle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trnsingle-btn-primary {
    background: linear-gradient(135deg, #008bbb, #33b8e0);
}

.trnsingle-btn:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none !important;
}

.trnsingle-sidebar-meta {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.trnsingle-sidebar-meta > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.trnsingle-sidebar-meta span {
    color: rgba(232, 243, 248, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.trnsingle-sidebar-meta strong {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: right;
}

.trnsingle-prize-item,
.trnsingle-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 700;
}

.trnsingle-player-current {
    color: #8fffc8;
}

.trnsingle-prize-item:last-child,
.trnsingle-player:last-child {
    border-bottom: none;
}

.trnsingle-final-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 3px;
}

.trnsingle-final-list-modal {
    max-height: min(56vh, 430px);
}

.trnsingle-final-list::-webkit-scrollbar {
    width: 4px;
}

.trnsingle-final-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.trnsingle-final-head,
.trnsingle-final-player {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 64px 86px;
    gap: 8px;
    align-items: center;
}

.trnsingle-final-head {
    padding: 0 0 8px;
    color: rgba(232, 243, 248, 0.56);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.trnsingle-final-head span:nth-child(2),
.trnsingle-final-head span:nth-child(3),
.trnsingle-final-player strong {
    text-align: right;
}

.trnsingle-final-player {
    padding: 9px 0;
    color: rgba(232, 243, 248, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 800;
}

.trnsingle-final-player:last-child {
    border-bottom: none;
}

.trnsingle-final-player span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trnsingle-final-player strong:last-child {
    color: #ffe082;
}

@media (max-width: 768px) {
    .trnsingle-main-layout {
        display: inline;
    }

    .trnsingle-games-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .trnsingle-games-grid::-webkit-scrollbar {
        display: none;
    }

    .trnsingle-game-card {
        min-width: 270px;
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

    .trnsingle-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .trnsingle-page {
        padding: 0;
    }

    .trnsingle-card {
        height: auto;
        border-radius: 0;
    }

    .trnsingle-header,
    .trnsingle-content {
        padding: 16px;
    }

    .trnsingle-title {
        font-size: 1.6rem;
    }

}

.faq-hero {
    background: linear-gradient(135deg, rgba(0, 139, 187, 0.18), rgba(255, 255, 255, 0.04));
    padding: 26px 30px;
    margin-bottom: 10px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.faq-hero::after {
    content: "?";
    position: absolute;
    right: 30px;
    top: -10px;
    font-size: 150px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.faq-subtitle {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.5;
}

.faq-grid {
    display: block;
}

.faq-main {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.faq-main {
    padding: 24px;
}

.faq-section {
    margin-bottom: 26px;
}

.faq-section:last-child {
    margin-bottom: 0;
}

.faq-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px !important;
    overflow: hidden;
    margin-bottom: 14px;
}

.accordion-button {
    background: transparent !important;
    color: white !important;
    font-weight: 700;
    padding: 20px;
    box-shadow: none !important;
    border: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 139, 187, 0.18), rgba(255, 255, 255, 0.02)) !important;
}

.accordion-body {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    padding: 20px 20px;
}

.faq-inline-btn,
.faq-mini-btn {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0 8px;
    border-radius: 10px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 700;
    vertical-align: baseline;
}

.faq-inline-btn {
    background: linear-gradient(135deg, #008bbb, #33b8e0);
}

.faq-mini-btn {
    padding: 4px 10px;
    color: #243744;
    background: linear-gradient(135deg, #ffffff, #dff6ff);
}

.faq-sidebar {
    position: relative;
    top: auto;
}

.faq-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
}

.faq-nav::-webkit-scrollbar {
    display: none;
}

.faq-nav-btn {
    white-space: nowrap;
    min-width: max-content;
}

@media (max-width: 600px) {
    .faq-container {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
    }

    .faq-hero {
        margin-bottom: 6px;
        padding: 12px 14px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
    }

    .faq-hero::after {
        right: 12px;
        top: -6px;
        font-size: 76px;
    }

    .faq-title {
        margin-bottom: 3px;
        font-size: 1.28rem;
        line-height: 1.05;
    }

    .faq-subtitle {
        max-width: 86%;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .faq-grid {
        padding: 8px !important;
    }

    .faq-main {
        padding: 10px;
        border-radius: 16px;
    }

    .faq-section-title {
        margin-bottom: 9px;
        font-size: 0.98rem;
    }

    .accordion-item {
        margin-bottom: 8px;
        border-radius: 13px !important;
    }

    .accordion-button {
        padding: 11px 12px;
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .accordion-body {
        padding: 12px 12px;
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .faq-inline-btn,
    .faq-mini-btn {
        margin: 3px 4px;
        padding: 5px 9px;
        border-radius: 8px;
        font-size: 0.72rem;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .faq-container {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
    }

    .faq-hero {
        margin-bottom: 4px;
        padding: 9px 14px;
    }

    .faq-hero::after {
        right: 14px;
        top: -8px;
        font-size: 64px;
    }

    .faq-title {
        margin-bottom: 2px;
        font-size: 1.1rem;
        line-height: 1;
    }

    .faq-subtitle {
        max-width: 72%;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .faq-grid {
        padding: 6px !important;
    }

    .faq-main {
        padding: 8px;
        border-radius: 14px;
    }

    .faq-section-title {
        margin-bottom: 7px;
        font-size: 0.9rem;
    }

    .accordion-item {
        margin-bottom: 6px;
        border-radius: 11px !important;
    }

    .accordion-button {
        padding: 9px 11px;
        font-size: 0.74rem;
        line-height: 1.2;
    }

    .accordion-body {
        padding: 11px 10px;
        font-size: 0.72rem;
        line-height: 1.45;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .trnsingle-content {
        padding: 15px;
    }

    .trnsingle-header {
        display: none;
    }

    .trnsingle-description,
    .trnsingle-sidebar-title,
    .trnsingle-sidebar-list {
        display: none !important;
    }

    .trnsingle-info-box {
        padding: 10px 15px;
    }

    .trnsingle-info-grid {
        margin-bottom: 10px;
    }

    .trnsingle-main-layout {
        display: flex;
    }

    .trnsingle-games-grid {
        margin: 0;
    }

    .trnsingle-game-center {
        margin: 2px 0;
    }

}

@media (max-width: 576px) {
    .tournament-page {
        height: 100%;
        padding: 8px;
        overflow: hidden;
    }

    .tournament-head {
        margin-bottom: 8px;
    }

    .tournament-title {
        margin-bottom: 4px;
        font-size: 1.35rem;
        letter-spacing: 1px;
    }

    .tournament-subtitle {
        display: none;
    }

    .tournament-scroll {
        height: calc(100% - 42px);
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0;
        scroll-padding-left: 0;
    }

    .tournament-row {
        height: 100%;
        align-items: center;
        gap: 10px;
        padding: 0;
    }

    .tournament-row > div {
        width: min(310px, 84vw);
        height: clamp(420px, calc(100dvh - 150px), 560px);
        max-height: 100%;
    }

    .tournament-card {
        max-height: 100%;
        border-radius: 18px;
    }

    .tournament-card-header {
        padding: 11px 12px;
    }

    .tournament-status {
        margin-bottom: 8px;
        padding: 5px 9px;
        font-size: 0.68rem;
    }

    .tournament-name {
        margin-bottom: 5px;
        font-size: 1rem;
        line-height: 1.1;
    }

    .tournament-prize {
        font-size: 1.05rem;
    }

    .tournament-body {
        padding: 10px 12px 12px;
    }

    .tournament-time-box {
        margin-bottom: 10px;
        padding: 8px;
        border-radius: 14px;
    }

    .tournament-time-label {
        margin-bottom: 4px;
        font-size: 0.65rem;
    }

    .tournament-time-value {
        font-size: 1.35rem;
    }

    .tournament-info {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .tournament-info-label,
    .tournament-info-value {
        font-size: 0.78rem;
    }

    .tournament-join-btn {
        margin-top: auto;
        padding: 10px 12px;
        border-radius: 13px;
        font-size: 0.82rem;
    }

    .trnsingle-page,
    .trnsingle-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .trnsingle-page {
        height: 100%;
        display: flex;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(12px);
    }

    .trnsingle-card {
        height: 100%;
        max-height: none;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .trnsingle-header {
        padding: 10px 12px;
    }

    .trnsingle-status {
        margin-bottom: 6px;
        padding: 5px 9px;
        font-size: 0.64rem;
    }

    .trnsingle-title {
        margin-bottom: 0;
        font-size: 1.18rem;
        line-height: 1.1;
    }

    .trnsingle-subtitle {
        display: none;
    }

    .trnsingle-content {
        height: calc(100% - 74px);
        min-height: 0;
        max-height: none;
        box-sizing: border-box;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow: hidden;
    }

    .trnsingle-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 0;
        min-width: 0;
    }

    .trnsingle-info-box {
        padding: 7px 8px;
        border-radius: 11px;
    }

    .trnsingle-info-label {
        margin-bottom: 3px;
        font-size: 0.58rem;
        letter-spacing: 0.4px;
    }

    .trnsingle-info-value {
        font-size: 0.82rem;
        line-height: 1.1;
    }

    .trnsingle-main-layout {
        width: 100%;
        min-width: 0;
        min-height: 0;
        flex: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .trnsingle-main-layout > div:first-child {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        flex: 1;
    }

    .trnsingle-games-grid {
        width: 100%;
        min-width: 0;
        height: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 7px;
        overflow: hidden;
        padding-bottom: 0;
    }

    .trnsingle-game-card {
        height: auto;
        min-height: 0;
        min-width: 0;
        padding: 9px;
        border-radius: 14px;
    }

    .trnsingle-game-badge {
        width: 32px;
        height: 32px;
        border-radius: 11px;
        font-size: 0.85rem;
    }

    .trnsingle-game-score {
        padding: 5px 7px;
        font-size: 0.68rem;
    }

    .trnsingle-game-center {
        margin: 7px 0;
    }

    .trnsingle-game-state {
        margin-bottom: 3px;
        font-size: 0.58rem;
    }

    .trnsingle-game-title {
        margin-bottom: 4px;
        font-size: 0.95rem;
    }

    .trnsingle-game-btn,
    .trnsingle-btn {
        height: 34px;
        min-height: 34px;
        padding: 7px;
        border-radius: 11px;
        font-size: 0.72rem;
    }

    .trnsingle-sidebar-box {
        min-height: 116px;
        padding: 8px;
        border-radius: 13px;
        display: flex;
        flex-direction: column;
    }

    .trnsingle-sidebar-meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .trnsingle-sidebar-meta > div {
        padding: 7px 8px;
        border-radius: 10px;
    }

    .trnsingle-sidebar-meta > div:nth-child(2) {
        display: none;
    }

    .trnsingle-sidebar-meta span {
        font-size: 0.62rem;
    }

    .trnsingle-sidebar-meta strong {
        font-size: 0.72rem;
    }

    .trnsingle-sidebar-box .trnsingle-btn {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }

    .trnsingle-sidebar-box .trnsingle-btn:first-of-type {
        margin-top: auto !important;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .tournament-page {
        height: 100%;
        padding: 6px 8px;
        overflow: hidden;
    }

    .tournament-scroll {
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0;
    }

    .tournament-row {
        height: 100%;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0;
    }

    .tournament-row > div {
        width: clamp(214px, 28vw, 252px);
        height: clamp(220px, 78dvh, 292px);
    }

    .tournament-card {
        max-height: 292px;
        border-radius: 16px;
    }

    .tournament-card-header {
        padding: 9px 10px;
    }

    .tournament-name {
        margin-bottom: 4px;
        font-size: 0.96rem;
        line-height: 1.1;
    }

    .tournament-body {
        height: auto;
        padding: 8px 10px 10px;
    }

    .tournament-info {
        margin-bottom: 6px;
        padding-bottom: 6px;
    }

    .tournament-info-label,
    .tournament-info-value {
        font-size: 0.7rem;
    }

    .tournament-join-btn {
        margin-top: auto;
        padding: 9px 10px;
        border-radius: 12px;
        font-size: 0.78rem;
    }

    .trnsingle-page,
    .trnsingle-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .trnsingle-page {
        height: 100%;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(12px);
    }

    .trnsingle-card {
        height: auto;
        max-height: calc(100% - 12px);
        background: transparent;
        backdrop-filter: none;
    }

    .trnsingle-content {
        height: auto;
        min-height: 0;
        box-sizing: border-box;
        padding: 8px;
        display: grid;
        grid-template-rows: auto auto;
        gap: 8px;
        overflow: hidden;
    }

    .trnsingle-info-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 0;
        min-width: 0;
    }

    .trnsingle-info-box {
        padding: 6px 8px;
        border-radius: 10px;
    }

    .trnsingle-info-label {
        margin-bottom: 2px;
        font-size: 0.55rem;
        letter-spacing: 0.3px;
    }

    .trnsingle-info-value {
        font-size: 0.76rem;
        line-height: 1.1;
    }

    .trnsingle-main-layout {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: clamp(190px, 54dvh, 260px);
        max-height: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 210px;
        align-items: stretch;
        gap: 8px;
    }

    .trnsingle-main-layout > div:first-child {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
    }

    .trnsingle-games-grid {
        width: 100%;
        min-width: 0;
        height: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
        gap: 7px;
        overflow: hidden;
        padding-bottom: 0;
    }

    .trnsingle-game-card {
        height: 100%;
        max-height: none;
        min-width: 0;
        padding: 10px;
        border-radius: 13px;
    }

    .trnsingle-game-badge {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 0.75rem;
    }

    .trnsingle-game-score {
        padding: 4px 6px;
        font-size: 0.62rem;
    }

    .trnsingle-game-center {
        margin: auto 0 8px;
    }

    .trnsingle-game-state {
        margin-bottom: 2px;
        font-size: 0.52rem;
    }

    .trnsingle-game-title {
        margin-bottom: 0;
        font-size: 0.88rem;
    }

    .trnsingle-game-btn,
    .trnsingle-btn {
        height: 30px;
        min-height: 30px;
        padding: 5px;
        border-radius: 9px;
        font-size: 0.66rem;
    }

    .trnsingle-sidebar-box {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        box-sizing: border-box;
        padding: 9px;
        border-radius: 13px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .trnsingle-sidebar-meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .trnsingle-sidebar-meta > div {
        padding: 6px 7px;
        border-radius: 9px;
    }

    .trnsingle-sidebar-meta > div:nth-child(2) {
        display: none;
    }

    .trnsingle-sidebar-box .trnsingle-btn {
        margin-top: 7px !important;
        margin-bottom: 0 !important;
    }

    .trnsingle-sidebar-box .trnsingle-btn:first-of-type {
        margin-top: auto !important;
    }
}

/********************************************************************************/
.blot-wrap {
    position: relative;
}

.blot-table-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.blot-mobile-lobby-btn {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 160;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(238, 250, 255, 0.86);
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    opacity: 0.62;
    transition: opacity 0.18s ease, background 0.18s ease;
}

.blot-mobile-lobby-btn:hover,
.blot-mobile-lobby-btn:focus {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.42);
    opacity: 1;
}

.blot-mobile-lobby-btn i {
    font-size: 15px;
}

.blot-table {
    width: 90%;
    aspect-ratio: 16 / 8;
    max-height: 680px;
    position: relative;
    border-radius: 200px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 70%),
        linear-gradient(180deg, #14604d 0%, #0d4739 100%);
    border: 14px solid #3d2418;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35), 0 25px 80px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

.blot-table::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 168px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.blot-waiting-room {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 900;
    width: min(320px, calc(100vw - 48px));
    padding: 18px 20px;
    border-radius: 18px;
    transform: translate(-50%, -50%);
    background: rgb(0 0 0 / 47%);
    border: 1px solid rgb(255 255 255 / 16%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #eefaff;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.blot-waiting-room-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%);
    pointer-events: none;
}

.blot-waiting-title {
    font-size: 14px;
    font-weight: 800;
}

.blot-waiting-count {
    margin-top: 8px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.blot-waiting-text {
    margin-top: 8px;
    color: rgba(238, 250, 255, 0.76);
    font-size: 12px;
    font-weight: 700;
}

.blot-friend-invite {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 900;
    width: min(300px, calc(100vw - 48px));
    padding: 18px 20px;
    border-radius: 18px;
    transform: translate(-50%, -50%);
    background: rgb(0 0 0 / 47%);
    border: 1px solid rgb(255 255 255 / 16%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #eefaff;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.blot-friend-invite-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%);
    pointer-events: none;
}

.blot-friend-invite-title {
    color: rgba(238, 250, 255, 0.76);
    font-size: 12px;
    font-weight: 800;
}

.blot-friend-invite-code {
    margin-top: 8px;
    color: #ffd36a;
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 8px;
}

.blot-friend-invite-text {
    margin-top: 8px;
    color: rgba(238, 250, 255, 0.76);
    font-size: 12px;
    font-weight: 700;
}

.blot-socket-notice {
    position: absolute;
    left: 50%;
    top: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(330px, calc(100vw - 44px));
    min-height: 54px;
    padding: 10px 14px;
    border-radius: 16px;
    transform: translateX(-50%);
    background: rgb(0 0 0 / 47%);
    border: 1px solid rgb(255 255 255 / 16%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #eefaff;
    backdrop-filter: blur(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.blot-socket-notice-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    pointer-events: none;
}

.blot-socket-notice-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.18);
}

.blot-socket-notice-title {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
}

.blot-socket-notice-text {
    margin-top: 3px;
    color: rgba(238, 250, 255, 0.76);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.blot-socket-notice-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 7px 11px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.blot-socket-notice-action:hover {
    color: #fff;
    filter: brightness(1.08);
}

.blot-socket-notice-success .blot-socket-notice-dot {
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18);
}

.blot-socket-notice-warning .blot-socket-notice-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.18);
}

.blot-socket-notice-error .blot-socket-notice-dot {
    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.18);
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-socket-notice {
        top: 10px;
        min-height: 46px;
        padding: 8px 12px;
    }

    .blot-socket-notice-title {
        font-size: 12px;
    }

    .blot-socket-notice-text {
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .blot-mobile-lobby-btn {
        display: inline-flex;
    }
    .blot-last-trick {
        top: 52px !important;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-mobile-lobby-btn {
        display: inline-flex;
        left: 8px;
        top: 8px;
        width: 32px;
        height: 32px;
    }

    .blot-mobile-lobby-btn i {
        font-size: 13px !important;
    }

    .blot-last-trick {
        left: 48px !important;
    }
}

.game-leave-modal .modal-content {
    border-radius: 18px;
    background: rgb(45 54 58 / 74%);
    border: 1px solid rgb(255 255 255 / 16%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #eefaff;
    backdrop-filter: blur(12px);
}

.modal.game-leave-modal {
    z-index: 1070;
}

.modal-backdrop.show {
    z-index: 1050;
}

.game-leave-modal .modal-header,
.game-leave-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.12);
}

.game-leave-modal .modal-title {
    font-size: 17px;
    font-weight: 900;
}

.game-leave-modal .modal-body {
    color: rgba(238, 250, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
}

.game-leave-modal .btn {
    min-width: 86px;
    border-radius: 12px;
    font-weight: 800;
    justify-content: center;
}

.friend-table-modal {
    pointer-events: none;
    background: transparent;
}

.friend-table-modal .modal-dialog {
    pointer-events: auto;
}

.friend-table-modal .modal-content {
    padding: 20px;
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(25, 42, 55, 0.97), rgba(10, 18, 25, 0.99)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.friend-table-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.friend-table-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dff7ff;
    background: rgba(0, 139, 187, 0.18);
    border: 1px solid rgba(0, 139, 187, 0.28);
    border-radius: 16px;
    font-size: 20px;
}

.friend-table-subtitle,
.friend-table-label,
.friend-table-state,
.friend-table-join label {
    color: rgba(238, 250, 255, 0.7);
    font-size: 12px;
    font-weight: 700;
}

.friend-table-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.friend-table-action {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #eefaff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-weight: 850;
}

.friend-table-action:hover {
    background: rgba(0, 139, 187, 0.18);
    border-color: rgba(0, 139, 187, 0.32);
}

.friend-table-code-wrap,
.friend-table-join {
    margin-top: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-align: center;
}

.friend-table-code {
    margin-top: 8px;
    color: #ffd36a;
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 8px;
}

.friend-table-state {
    margin-top: 8px;
}

.friend-table-input-row {
    display: flex;
    gap: 8px;
    margin-top: 9px;
}

.friend-table-input-row input {
    min-width: 0;
    flex: 1;
    height: 42px;
    color: #eefaff;
    text-align: center;
    letter-spacing: 6px;
    font-size: 20px;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    outline: none;
}

.friend-table-input-row button {
    width: 62px;
    color: #2f1d00;
    font-weight: 950;
    background: linear-gradient(135deg, #ffe27a, #f59e0b);
    border: none;
    border-radius: 12px;
}

.friend-table-error {
    margin-top: 9px;
    color: #ff9b9b;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 460px) {
    .friend-table-actions {
        grid-template-columns: 1fr;
    }

    .friend-table-code {
        font-size: 36px;
    }
}

.blot-last-trick {
    position: absolute;
    left: 20px;
    top: 18px;
    z-index: 5;
    display: none;
    width: 122px;
    min-height: 92px;
    padding: 7px 9px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.blot-last-trick.blot-last-trick-show {
    display: block;
}

.blot-last-trick-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.blot-last-trick-title {
    color: rgba(235, 249, 255, 0.78);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.blot-last-trick-score {
    min-width: 28px;
    height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 139, 187, 0.24);
    border: 1px solid rgba(71, 196, 236, 0.36);
    color: #e9fbff;
    font-size: 10px;
    font-weight: 800;
}

.blot-last-cards {
    position: relative;
    width: 86px;
    height: 74px;
    margin: 0 auto;
}

.blot-mini-card {
    position: absolute;
    width: 26px;
    height: 36px;
    border-radius: 7px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6f8 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #111;
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
    overflow: hidden;
}

.blot-mini-card-rank {
    display: block;
    font-size: 11px;
    line-height: 0.95;
}

.blot-mini-card-suit {
    display: block;
    margin-top: 1px;
    font-size: 18px;
    line-height: 0.9;
}

.blot-mini-card:empty {
    display: none;
}

.blot-mini-card.red {
    color: #e12a2e;
}

.blot-mini-card-winner {
    border-color: rgba(55, 214, 122, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), 0 0 0 2px rgba(55, 214, 122, 0.38), 0 0 16px rgba(55, 214, 122, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blot-mini-card:nth-child(1) {
    left: 30px;
    top: 0;
    z-index: 4;
}

.blot-mini-card:nth-child(2) {
    left: 60px;
    top: 19px;
    z-index: 3;
}

.blot-mini-card:nth-child(3) {
    left: 30px;
    top: 38px;
    z-index: 2;
}

.blot-mini-card:nth-child(4) {
    left: 0;
    top: 19px;
    z-index: 1;
}

.blot-scoreboard {
    position: absolute;
    right: 20px;
    top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.blot-score-team {
    width: 36px;
    text-align: center;
}

.blot-score-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.blot-score-value {
    font-size: 1.15rem;
    font-weight: 900;
}

.blot-score-divider {
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
}

.blot-taken-score {
    position: absolute;
    top: 95px;
    right: 30px;
    width: 100px;
    background: #29353b url(/images/taken-score-icon.png) no-repeat center;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
    color: #fff !important;
    display: flex;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.blot-taken-score > div {
    flex: 1 0 0;
    text-align: center;
    padding: 7px 0;
}

@media (max-width: 768px) {
    .blot-taken-score {
        top: 85px;
        right: 15px;
        font-size: 14px;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-taken-score {
        top: 70px;
        right: 16px;
        font-size: 13px;
        width: 90px;
    }

}

@keyframes blotgamePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }

}

.blot-player {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 5;
}

.blot-player .blot-avatar,
.blot-player .blot-player-name {
    cursor: pointer;
}

.blot-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blot-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 23%));
    border: 2px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.blot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blot-avatar img:not([src]),
.blot-avatar img[src=""] {
    visibility: hidden;
}

.blot-trump-badge {
    position: absolute;
    top: 8px;
    right: -60px;
    z-index: 18;
    min-width: 48px;
    padding: 5px 11px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 999px;
    color: #f3fbff;
    background: rgb(124 224 255 / 43%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    font-size: 18px;
    font-weight: 850;
    line-height: 1;
}

.blot-player-right .blot-trump-badge {
    right: auto;
    left: -55px;
}

.blot-trump-suit {
    font-size: 30px;
    color: #101820;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    margin-top: -2px;
}

.blot-trump-badge-red .blot-trump-suit {
    color: #e12a2e;
}

.blot-trump-contra {
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #d83d3d, #9f1e2d);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 10px;
    font-weight: 900;
}

.blot-trump-kp-badge {
    min-width: 22px;
    height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #38bfff 0%, #0875df 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 4px 10px rgba(8, 117, 223, 0.28);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0;
}

/*.blot-player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    min-width: 110px;
    text-align: center;
}*/
/* PLAYER INFO */
.blot-player-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PLAYER NAME */
.blot-player-name {
    position: relative;
    overflow: hidden;
    padding: 6px 14px;
    border-radius: 16px;
    min-width: 110px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 23%));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* TIMER */
.blot-player-timer {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(0,255,120,0.55), rgba(255,230,0,0.55), rgba(255,70,70,0.55));
    box-shadow: inset 0 0 12px rgba(255,255,255,0.18), 0 0 18px rgba(0,255,120,0.2);
}

/* ACTIVE PLAYER */
.blot-player-active .blot-player-timer {
    display: block;
}

/* TEXT */
.blot-player-text {
    position: relative;
    z-index: 2;
    font-size: 13px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.blot-player-active .blot-avatar {
    border-color: #00ff88;
    box-shadow:
        0 0 0 5px rgba(0, 255, 136, 0.14),
        0 0 26px rgba(0, 255, 136, 0.4),
        0 0 52px rgba(0, 255, 136, 0.25),
        0 10px 24px rgba(0, 0, 0, 0.25);
    animation: blotgamePulse 1.6s ease-in-out infinite;
}

/*.blot-player-name {
    font-size: 0.92rem;
    font-weight: 700;
}*/
.blot-player-score {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
}

.blot-player-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.blot-player-left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.blot-player-right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.blot-player-bottom {
    bottom: 18px;
    left: 28px;
    transform: none;
}

.table-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 250px;
}

.player-hand {
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: min(720px, 96vw);
    height: 150px;
    pointer-events: none;
    z-index: 260;
}

.card {
    width: 176px;
    height: 246px;
    background-color: white;
    background-image: url(/images/playing_cards.webp);
    background-repeat: no-repeat;
    border-radius: 16px;
    border: 0;
    margin-left: -96px;
    margin-top: 0;
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.46);
    cursor: pointer;
    user-select: none;
    position: absolute;
    transform-origin: center bottom;
    transform: scale(0.8);
    transition: left .38s cubic-bezier(.2, .8, .2, 1), top .38s cubic-bezier(.2, .8, .2, 1), transform .38s cubic-bezier(.2, .8, .2, 1), width 0.45s ease, height 0.45s ease, font-size 0.45s ease, margin-bottom 0.2s ease, opacity .3s ease, box-shadow .2s ease;
}

.card:first-child {
    margin-left: 0;
}

.card.hand-card {
    pointer-events: auto;
    z-index: 250;
}

.player-hand.blot-hand-locked .card.hand-card {
    cursor: default;
    pointer-events: none;
}

.player-hand:not(.blot-hand-locked) .card.card-valid.hand-card:hover:not(.played) {
    margin-bottom: 18px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5);
}

.card.card-valid:not(.played) {
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.46), 0 0 0 3px rgba(55, 214, 122, 0.58), 0 0 18px rgba(55, 214, 122, 0.3);
}

.card.card-invalid:not(.played) {
    filter: brightness(0.68) saturate(0.78);
}

.card.card-invalid.hand-card:not(.played) {
    cursor: not-allowed;
}

.card.played {
    cursor: default;
    margin: 0;
    transform-origin: center center;
    z-index: 210;
}

.card.blot-combination-reveal-card {
    position: relative;
    flex: 0 0 176px;
    margin: 0 0 0 -142px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(.42);
    transform-origin: center center;
    transition: transform .32s ease, opacity .24s ease;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38), 0 0 0 2px rgba(55, 214, 122, 0.38);
}

.card.blot-combination-reveal-card:first-child {
    margin-left: 0;
}

.card.blot-combination-reveal-card-visible {
    opacity: 1;
    transform: translateY(0) scale(.42);
}

.blot-combination-slot {
    position: absolute;
    z-index: 925;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 112px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.blot-combination-slot-visible {
    opacity: 1;
    visibility: visible;
}

.blot-combination-slot-top {
    top: 66px;
    left: 50%;
    transform: translateX(-50%);
}

.blot-combination-slot-left {
    top: 2px;
    left: 0;
}

.blot-combination-slot-right {
    top: 2px;
    right: 0;
}

.blot-combination-slot-bottom {
    top: -84px;
    left: -30px;
}

@media (max-width: 900px) {
    .blot-combination-slot {
        width: 250px;
        height: 88px;
    }

    .card.blot-combination-reveal-card {
        margin-left: -124px;
        transform: translateY(8px) scale(.34);
    }

    .card.blot-combination-reveal-card-visible {
        transform: translateY(0) scale(.34);
    }

    .blot-combination-slot-top {
        top: 48px;
    }

    .blot-combination-slot-left {
        top: -8px;
        left: 5px;
    }

    .blot-combination-slot-right {
        top: -8px;
        right: 5px;
    }

    .blot-combination-slot-bottom {
        top: -52px;
        left: -78px;
    }
    .card.blot-combination-reveal-card {
        margin-left: -150px;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-combination-slot {
        width: 230px;
        height: 78px;
    }

    .card.blot-combination-reveal-card {
        margin-left: -130px;
        transform: translateY(8px) scale(.3);
    }

    .card.blot-combination-reveal-card-visible {
        transform: translateY(0) scale(.3);
    }

    .blot-combination-slot-top {
        top: 44px;
    }

    .blot-combination-slot-left {
        top: -10px;
        left: 56px;
    }

    .blot-combination-slot-right {
        top: -10px;
        right: 56px;
    }

    .blot-combination-slot-bottom {
        top: -50px;
        left: 6px;
    }
    .card.blot-combination-reveal-card {
        margin-left: -150px;
    }
}

.deck {
    position: absolute;
    top: calc(50% - 210px);
    left: calc(50% - 330px);
    z-index: 18;
    width: 176px;
    height: 246px;
    background-color: white;
    background-image: url(/images/playing_cards.webp);
    background-repeat: no-repeat;
    background-position: -1631px -4px;
    border: 1px solid rgba(12, 26, 45, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.24) inset;
    transform: scale(0.46) rotate(45deg);
    transform-origin: center center;
    pointer-events: none;
}

/* Летящая колода */
.deal-card {
    box-shadow: none;
    margin-left: 0 !important;
}

.game-debug-panel {
    position: fixed;
    top: 66px;
    right: 8px;
    z-index: 20000;
    display: block;
    opacity: 0.34;
    transition: opacity 0.18s ease;
}

.game-debug-panel:hover .game-debug-toggle,
.game-debug-panel:focus-within .game-debug-toggle,
.game-debug-panel.game-debug-open {
    opacity: 1;
}

.game-debug-toggle {
    min-width: 0;
    height: 24px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}

.game-debug-menu {
    position: absolute;
    top: 0;
    right: calc(100% + 5px);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 58px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(6px, -4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.game-debug-menu:has(+ .game-debug-toggle:hover),
.game-debug-menu:has(+ .game-debug-toggle:focus),
.game-debug-menu:has(+ .game-debug-toggle:active),
.game-debug-panel.game-debug-open .game-debug-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, 0);
}

.game-debug-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, 0);
}

.game-debug-panel .btn {
    min-width: 0;
    height: 24px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1;
}

@media (max-width: 768px) {
    .blot-table {
        aspect-ratio: 10 / 16;
        margin-top: -32px;
    }

    .blot-last-trick {
        left: 5px;
        top: 5px;
        transform: scale(0.8);
        transform-origin: top left;
    }

    .blot-scoreboard {
        top: 10px;
        right: 5px;
        transform: scale(.9);
    }

    .blot-player-top {
        top: 20px;
    }

    .blot-player-bottom {
        bottom: 108px;
        left: 50%;
        transform: translateX(-50%);
    }

    .blot-player-left {
        left: 8px;
    }

    .blot-player-right {
        right: 8px;
    }

    .blot-avatar-wrap {
        width: 70px;
        height: 72px;
    }

    .blot-avatar {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 1.1rem;
    }

    .blot-trump-badge {
        top: -20px;
        left: -6px;
        right: auto;
        min-width: 42px;
        font-size: 12px;
        padding: 3px 5px;
    }

    .blot-player-right .blot-trump-badge {
        right: auto;
        left: 15px;
    }

    .blot-trump-suit {
        font-size: 20px;
    }

    .blot-trump-contra {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }

    .blot-player-name {
        min-width: 90px;
    }

    .blot-player-text {
        font-size: 11px;
    }

    .table-center {
        width: 200px;
        height: 220px;
    }

    .card {
        margin-left: -150px;
        transform: scale(0.58);
        border-radius: 15px;
    }

    .player-hand {
        bottom: -6px;
        width: min(360px, 92vw);
        min-width: 0;
        height: 186px;
    }

    .deck {
        top: calc(50% - 67vw);
        left: calc(50% - 42vw);
        transform: scale(0.42) rotate(45deg);
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .card {
        transform: scale(0.62);
    }

    .blot-table {
        width: 75%;
        aspect-ratio: 16 / 8;
        margin-top: 0;
    }

    .blot-last-trick {
        left: 5px;
        top: 5px;
        transform: scale(0.7);
        transform-origin: top left;
    }

    .blot-scoreboard {
        top: 5px;
        right: 0;
        transform: scale(.8);
    }

    .blot-player-top {
        top: 2px;
    }

    .blot-player-bottom {
        bottom: 8px;
        left: 8px;
        transform: none;
    }

    .blot-player-left {
        left: 8px;
    }

    .blot-player-right {
        right: 8px;
    }

    .blot-avatar-wrap {
        width: 60px;
        height: 60px;
    }

    .blot-avatar {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 1.1rem;
    }

    .blot-trump-badge {
        top: 5px;
        right: -60px;
        min-width: 40px;
        font-size: 13px;
        padding: 3px 5px;
    }

    .blot-player-right .blot-trump-badge {
        right: auto;
        left: -50px;
    }

    .blot-first-turn {
        bottom: 6px !important;
    }

    .blot-trump-suit {
        font-size: 18px;
    }

    .blot-trump-contra {
        width: 13px;
        height: 13px;
        font-size: 8px;
    }

    .blot-player-name {
        min-width: 90px;
    }

    .blot-player-text {
        font-size: 11px;
    }

    .table-center {
        width: 300px;
        height: 180px;
    }

    .card {
        margin-left: -126px;
        border-radius: 14px;
    }

    .player-hand {
        bottom: -52px;
        z-index: 2;
        width: min(620px, 88vw);
        min-width: 0;
        height: 164px;
    }

    .deck {
        top: calc(50% - 18vw);
        left: calc(50% - 35vw);
        transform: scale(0.4) rotate(45deg);
    }

    .game-debug-panel {
        top: 8px;
        right: 6px;
        gap: 3px;
        opacity: 0.3;
    }

    .game-debug-toggle,
    .game-debug-panel .btn {
        height: 20px;
        padding: 0 5px;
        font-size: 9px;
    }

}

.card-back {
    background-position: -1629px -3px;
}

.card-c7 {
    background-position: -2px -3px;
}

.card-c8 {
    background-position: -205px -3px;
}

.card-c9 {
    background-position: -408px -3px;
}

.card-c10 {
    background-position: -611px -3px;
}

.card-cJ {
    background-position: -816px -3px;
}

.card-cQ {
    background-position: -1019px -3px;
}

.card-cK {
    background-position: -1223px -3px;
}

.card-cA {
    background-position: -1426px -3px;
}

.card-h7 {
    background-position: -2px -509px;
}

.card-h8 {
    background-position: -206px -509px;
}

.card-h9 {
    background-position: -409px -509px;
}

.card-h10 {
    background-position: -612px -509px;
}

.card-hJ {
    background-position: -816px -510px;
}

.card-hQ {
    background-position: -1019px -510px;
}

.card-hK {
    background-position: -1223px -510px;
}

.card-hA {
    background-position: -1426px -510px;
}

.card-s7 {
    background-position: -2px -762px;
}

.card-s8 {
    background-position: -206px -762px;
}

.card-s9 {
    background-position: -409px -762px;
}

.card-s10 {
    background-position: -612px -762px;
}

.card-sJ {
    background-position: -818px -762px;
}

.card-sQ {
    background-position: -1021px -762px;
}

.card-sK {
    background-position: -1225px -762px;
}

.card-sA {
    background-position: -1428px -763px;
}

.card-d7 {
    background-position: -2px -256px;
}

.card-d8 {
    background-position: -206px -256px;
}

.card-d9 {
    background-position: -409px -256px;
}

.card-d10 {
    background-position: -612px -256px;
}

.card-dJ {
    background-position: -816px -255px;
}

.card-dQ {
    background-position: -1021px -256px;
}

.card-dK {
    background-position: -1223px -255px;
}

.card-dA {
    background-position: -1426px -255px;
}

/* ===== WINDOW ===== */
.blot-trump-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 340px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #1c3744 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.03);
    transform: translate(-50%, -50%) scale(.75);
    opacity: 0;
    visibility: hidden;
    z-index: 920;
    pointer-events: auto;
}

/* ===== SHOW ===== */
.blot-trump-modal.blot-trump-show {
    visibility: visible;
    animation: blotTrumpShow .32s cubic-bezier(.2,.8,.2,1) forwards;
}

/* ===== CARDS ===== */
.blot-trump-cards {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.blot-trump-card {
    flex: 1;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(177,200,212,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    font-size: 34px;
    pointer-events: auto;
}

.blot-trump-card:hover {
    transform: translateY(-2px);
    border-color: rgba(177,200,212,0.18);
}

.blot-trump-card.blot-trump-active {
    background: linear-gradient(180deg, #35586d 0%, #294655 100%);
    border-color: #b1c8d4;
    box-shadow: 0 0 18px rgba(177,200,212,0.18);
}

.blot-trump-club,
.blot-trump-spade {
    color: #fff;
}

.blot-trump-heart,
.blot-trump-diamond {
    color: #ff7a7a !important;
}

.blot-trump-nt {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

/* ===== BID ===== */
.blot-trump-bid-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.blot-trump-bid-btn,
.blot-trump-bid-kp {
    height: 46px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: .2s;
    pointer-events: auto;
}

.blot-trump-bid-btn,
.blot-trump-bid-kp {
    width: 46px;
    background: #152331;
    border: 1px solid rgba(177,200,212,0.08);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.blot-trump-bid-btn:hover,
.blot-trump-bid-kp:hover {
    background: #223847;
}

.blot-trump-bid-value {
    flex: 1;
    height: 46px;
    border-radius: 14px;
    background: #12202b;
    border: 1px solid rgba(177,200,212,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.blot-trump-bid-kp {
    font-size: 14px;
}

.blot-trump-bid-kp.blot-trump-kp-active {
    background: linear-gradient(180deg, #38bfff 0%, #0875df 100%);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(137, 218, 255, 0.28), 0 10px 24px rgba(8, 117, 223, 0.34);
}

.blot-trump-bid-btn:disabled,
.blot-trump-bid-kp:disabled {
    cursor: not-allowed;
    opacity: .45;
}

/* ===== ACTIONS ===== */
.blot-trump-actions {
    display: flex;
    gap: 8px;
}

.blot-trump-action-btn {
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 14px;
    background: #152331;
    border: 1px solid rgba(177,200,212,0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    pointer-events: auto;
}

.blot-trump-action-btn:hover {
    transform: translateY(-2px);
}

.blot-trump-action-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
    filter: saturate(.75);
}

.blot-trump-action-btn:disabled:hover {
    transform: none;
}

.blot-trump-action-primary {
    background: linear-gradient(180deg, #466a7e 0%, #355362 100%);
}

.blot-trump-modal.blot-trump-mode-contra,
.blot-trump-modal.blot-trump-mode-recontra {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 40px;
    width: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.blot-trump-modal.blot-trump-mode-contra.blot-trump-show,
.blot-trump-modal.blot-trump-mode-recontra.blot-trump-show {
    animation: blotTrumpActionsShow .35s cubic-bezier(.2,.8,.2,1) forwards;
}

.blot-trump-modal.blot-trump-mode-contra::after,
.blot-trump-modal.blot-trump-mode-recontra::after {
    display: none;
}

.blot-trump-modal.blot-trump-mode-contra .blot-trump-actions,
.blot-trump-modal.blot-trump-mode-recontra .blot-trump-actions {
    justify-content: center;
    gap: 14px;
}

.blot-trump-modal.blot-trump-mode-contra .blot-trump-action-btn,
.blot-trump-modal.blot-trump-mode-recontra .blot-trump-action-btn {
    flex: 0 0 auto;
    min-width: 170px;
    height: 72px;
    padding: 0 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, #1c3744 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
    font-size: 22px;
    font-weight: 800;
    overflow: hidden;
}

.blot-trump-modal.blot-trump-mode-contra .blot-trump-contra-action,
.blot-trump-modal.blot-trump-mode-recontra .blot-trump-contra-action {
    background: linear-gradient(180deg, #466a7e 0%, #355362 100%);
}

.blot-trump-modal.blot-trump-mode-contra .blot-trump-action-btn:hover,
.blot-trump-modal.blot-trump-mode-recontra .blot-trump-action-btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.08);
}

.blot-trump-modal.blot-trump-mode-contra .blot-trump-action-btn::before,
.blot-trump-modal.blot-trump-mode-recontra .blot-trump-action-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.08) 50%, transparent 80%);
    transform: translateX(-140%);
    transition: transform .6s ease;
}

.blot-trump-modal.blot-trump-mode-contra .blot-trump-action-btn:hover::before,
.blot-trump-modal.blot-trump-mode-recontra .blot-trump-action-btn:hover::before {
    transform: translateX(140%);
}

/* ===== ANIMATION ===== */
@keyframes blotTrumpShow {
    0% {
        opacity: 0;
        transform: translate(-50%, -46%) scale(.75);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

}

@keyframes blotTrumpActionsShow {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px) scale(.85);
    }

    70% {
        opacity: 1;
        transform: translateX(-50%) translateY(-4px) scale(1.03);
    }

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

}

/* ===== MOBILE ===== */
@media(max-width:480px) {
    .blot-trump-modal {
        width: calc(100% - 20px);
    }

    .blot-trump-card {
        height: 50px;
        font-size: 30px;
    }

    .blot-trump-bid-btn,
    .blot-trump-bid-kp,
    .blot-trump-bid-value,
    .blot-trump-action-btn {
        height: 42px;
    }

    .blot-trump-bid-value {
        font-size: 24px;
    }

}

/* ===== ALERT ===== */
.blot-alert {
    position: absolute;
    left: 74px;
    top: -50px;
    min-width: 88px;
    max-width: 220px;
    min-height: 58px;
    padding: 10px 18px;
    border-radius: 22px;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
    opacity: 0;
    transform: translateY(8px) scale(.75);
    pointer-events: none;
    z-index: 910;
    display: none;
}

.blot-player-top .blot-alert {
    left: -50px;
    top: 95px;
}

.blot-player-right .blot-alert {
    left: -55px;
}

/* ===== TAIL ===== */
.blot-alert::before {
    content: "";
    position: absolute;
    left: 14px;
    bottom: -10px;
    width: 22px;
    height: 22px;
    background: #ececec;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.blot-player-top .blot-alert:before {
    right: 14px;
    top: -10px;
    left: auto;
    transform: rotate(180deg);
}

.blot-player-right .blot-alert:before {
    left: auto;
    right: 14px;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

/* ===== CONTENT ===== */
.blot-alert-content {
    display: flex;
    align-items: center;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.blot-alert-icon {
    font-size: 38px;
    margin-top: -6px;
    margin-right: 5px;
}

.blot-alert-value {
    color: #2b2b2b;
    font-size: 18px;
    font-weight: 700;
}

.blot-alert-kp {
    margin-left: 6px;
    padding: 2px 5px;
    border-radius: 7px;
    background: linear-gradient(180deg, #38bfff 0%, #0875df 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 4px 10px rgba(8, 117, 223, 0.28);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

/* ===== SHOW ===== */
.blot-alert.blot-alert-show {
    display: flex;
    animation: blotAlertShow .28s cubic-bezier(.2,.8,.2,1) forwards;
}

/* ===== HIDE ===== */
.blot-alert.blot-alert-hide {
    display: flex;
    animation: blotAlertHide .2s ease forwards;
}

/* ===== ANIMATIONS ===== */
@keyframes blotAlertShow {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(.75);
    }

    70% {
        opacity: 1;
        transform: translateY(-2px) scale(1.04);
    }

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

}

@keyframes blotAlertHide {
    to {
        opacity: 0;
        transform: translateY(6px) scale(.85);
    }

}

/* ===== MOBILE ===== */
@media(max-width:768px) {
    .blot-alert {
        left: 58px;
        top: -50px;
        min-width: 60px;
        min-height: 50px;
        padding: 0 12px;
        border-radius: 18px;
    }

    .blot-player-top .blot-alert {
        left: -30px;
        top: 75px;
    }

    .blot-player-right .blot-alert {
        left: -30px;
    }

    .blot-alert-icon {
        font-size: 32px;
    }

    .blot-alert-value {
        font-size: 16px;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-alert {
        left: 58px;
        top: -50px;
        min-width: 60px;
        min-height: 50px;
        padding: 0 12px;
        border-radius: 18px;
    }

    .blot-player-top .blot-alert {
        left: -30px;
        top: 70px;
    }

    .blot-player-right .blot-alert {
        left: -35px;
    }

    .blot-alert-content {
        font-size: 12px;
        line-height: 1.1;
    }

    .blot-alert-icon {
        font-size: 26px;
    }

}

/* ===== BUTTONS WRAP ===== */
.blot-game-actions {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 930;
    pointer-events: auto;
    display: none;
}

.blot-game-actions-combination {
    bottom: 170px;
}

/* ===== BUTTON ===== */
.blot-game-action {
    position: relative;
    min-width: 170px;
    height: 72px;
    padding: 0 28px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(180deg, #1c3744 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, filter .18s ease;
}

/* ===== HOVER ===== */
.blot-game-action:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.08);
}

/* ===== ACTIVE ===== */
.blot-game-action:active {
    transform: scale(.96);
}

/* ===== LIGHT EFFECT ===== */
.blot-game-action::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.08) 50%, transparent 80%);
    transform: translateX(-140%);
    transition: transform .6s ease;
}

.blot-game-action:hover::before {
    transform: translateX(140%);
}

/* ===== PRIMARY ===== */
.blot-game-action-primary {
    background: linear-gradient(180deg, #466a7e 0%, #355362 100%);
}

/* ===== SHOW ===== */
.blot-game-actions.blot-game-actions-show {
    display: flex;
    animation: blotGameActionsShow .35s cubic-bezier(.2,.8,.2,1) forwards;
}

/* ===== ANIMATION ===== */
@keyframes blotGameActionsShow {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px) scale(.85);
    }

    70% {
        opacity: 1;
        transform: translateX(-50%) translateY(-4px) scale(1.03);
    }

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

}

/* =======================================================
   CHAT
======================================================= */
.blot-chat {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 960;
}

.blot-chat-toggle {
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(180deg, #1c3744 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: .2s;
}

.blot-chat-toggle:hover {
    transform: translateY(-3px) scale(1.03);
}

.blot-chat-menu {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 380px;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, #1c3744 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 14px 34px rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.92);
    transition: .22s;
}

.blot-chat-menu.blot-chat-menu-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.blot-chat-title {
    color: #b1c8d4;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blot-chat-section:not(:last-child) {
    margin-bottom: 16px;
}

.blot-chat-emojis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.blot-chat-emoji {
    height: 42px;
    font-size: 20px;
    border: none;
    border-radius: 16px;
    background: #152331;
    border: 1px solid rgba(177,200,212,.08);
    cursor: pointer;
    transition: .18s;
}

.blot-chat-emoji:hover {
    transform: translateY(-2px);
    background: #223847;
}

.blot-chat-messages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.blot-chat-message {
    min-height: 38px;
    padding: 8px;
    font-size: 12px;
    line-height: 1.2;
    border: none;
    border-radius: 14px;
    background: #152331;
    border: 1px solid rgba(177,200,212,.08);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .18s;
}

.blot-chat-message:hover {
    transform: translateY(-2px);
    background: #223847;
}

/* ===== MOBILE ===== */
@media(max-width:600px) {
    .blot-game-actions {
        width: calc(100% - 20px);
        gap: 10px;
        bottom: 16px;
    }

    .blot-game-actions-combination {
        bottom: 154px;
    }

    .blot-game-action {
        flex: 1;
        min-width: auto;
        height: 60px;
        border-radius: 18px;
        font-size: 18px;
        padding: 0 10px;
    }

    .blot-chat {
        right: 12px;
        bottom: 100px;
    }

    .blot-chat-toggle {
        width: 45px;
        height: 45px;
        border-radius: 14px;
        font-size: 24px;
    }

    .blot-chat-menu {
        width: 220px;
        bottom: 68px;
        padding: 12px;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-chat {
        right: 14px;
        bottom: 12px;
    }

    .blot-chat-toggle {
        width: 45px;
        height: 45px;
        border-radius: 14px;
        font-size: 24px;
    }

    .blot-chat-menu {
        right: 18px;
        bottom: -38px;
        padding: 12px;
    }

    .blot-chat-menu.blot-chat-menu-show {
        transform: translateY(0) scale(0.8);
    }

}

/* =======================================================
   SCORE WINDOW
======================================================= */
.blot-score {
    position: absolute;
    width: 410px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, #1c3744 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
    opacity: 0;
    transform: scale(.82) translateY(20px);
    z-index: 940;
    display: none;
}

/* ===== BACKGROUND EFFECT ===== */
.blot-score::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(177,200,212,.05) 0%, transparent 70%);
    pointer-events: none;
}

/* =======================================================
   HEADER
======================================================= */
.blot-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(177,200,212,.12);
}

.blot-score-header > div {
    color: #b1c8d4;
    font-size: 14px;
    font-weight: 700;
}

/* =======================================================
   BODY
======================================================= */
.blot-score-body {
    padding: 12px 14px;
    min-height: 150px;
}

.blot-score-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.blot-score-column {
    min-width: 0;
    padding: 10px;
}

.blot-score-list {
    display: grid;
    gap: 5px;
}

.blot-score-detail {
    min-height: 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

.blot-score-detail-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blot-score-detail-points {
    flex: 0 0 auto;
    min-width: 28px;
    color: #b1c8d4;
    text-align: right;
    font-weight: 900;
}

.blot-score-left,
.blot-score-right {
    width: 50%;
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.blot-score-left {
    text-align: left;
}

.blot-score-right {
    text-align: right;
}

/* ===== SCORE VALUE ===== */
.blot-score-value {
    color: #b1c8d4;
    font-weight: 800;
}

.blot-score-detail-muted .blot-score-left,
.blot-score-detail-muted .blot-score-right,
.blot-score-detail-muted {
    color: rgba(255, 255, 255, 0.6);
}

/* =======================================================
   FOOTER
======================================================= */
.blot-score-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-top: 1px solid rgba(177,200,212,.12);
}

.blot-score-total {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.blot-score-total span {
    color: #b1c8d4;
}

/* =======================================================
   SHOW ANIMATION
======================================================= */
.blot-score.blot-score-show {
    display: inline;
    animation: blotScoreShow .35s cubic-bezier(.2,.8,.2,1) forwards;
}

.blot-score-close {
    min-width: 58px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #008bbb, #1e6b82);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 139, 187, 0.22);
}

.blot-score-close:hover {
    filter: brightness(1.08);
}

@keyframes blotScoreShow {
    0% {
        opacity: 0;
        transform: scale(.82) translateY(20px);
    }

    70% {
        opacity: 1;
        transform: scale(1.03) translateY(-3px);
    }

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

}

/* =======================================================
   MOBILE
======================================================= */
@media(max-width:480px) {
    .blot-score {
        width: calc(100% - 16px);
        padding: 14px;
    }

    .blot-score-header > div,
    .blot-score-left,
    .blot-score-right,
    .blot-score-total {
        font-size: 12px;
    }

}

/* =======================================================
   RESULT WINDOW
======================================================= */
.blot-result {
    position: absolute;
    width: 440px;
    padding: 14px 20px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #17313d 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.03);
    text-align: center;
    opacity: 0;
    transform: scale(.82) translateY(30px);
    z-index: 950;
    display: none;
}

/* ===== BACKGROUND EFFECT ===== */
.blot-result::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(177,200,212,.05) 0%, transparent 70%);
    pointer-events: none;
}

/* =======================================================
   STARS
======================================================= */
.blot-result-stars {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    z-index: 2;
}

.blot-result-star {
    color: #ffbe3d;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,190,61,.3);
}

.blot-result-star-small {
    font-size: 44px;
    opacity: .85;
}

.blot-result-star-big {
    font-size: 82px;
}

/* =======================================================
   RIBBON
======================================================= */
.blot-result-ribbon {
    position: relative;
    width: 260px;
    height: 64px;
    margin: 0 auto 15px;
    background: linear-gradient(180deg, #5f9f00 0%, #4b8600 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 2;
}

.blot-result-ribbon::before,
.blot-result-ribbon::after {
    content: "";
    position: absolute;
    top: 14px;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

.blot-result-ribbon::before {
    left: -34px;
    border-right: 34px solid #4b8600;
}

.blot-result-ribbon::after {
    right: -34px;
    border-left: 34px solid #4b8600;
}

/* =======================================================
   TITLE
======================================================= */
.blot-result-title {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* =======================================================
   SCORE
======================================================= */
.blot-result-score {
    margin-bottom: 20px;
    color: #fff;
    z-index: 2;
    position: relative;
}

.blot-result-chips {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.05;
}

.blot-result-chips-value {
    color: #ffd36a;
}

.blot-result-chips i {
    color: #ffcf4a;
    font-size: 28px;
    margin-left: 4px;
    filter: drop-shadow(0 0 10px rgba(255, 207, 74, 0.25));
}

.blot-result-points {
    margin-top: 6px;
    color: rgba(232, 243, 248, 0.72);
    font-size: 15px;
    font-weight: 700;
}

.blot-result-points-value {
    color: #b1c8d4;
}

/* =======================================================
   BUTTONS
======================================================= */
.blot-result-buttons {
    display: flex;
    gap: 16px;
    z-index: 2;
    position: relative;
}

.blot-result-button {
    flex: 1;
    height: 58px;
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.blot-result-button:hover {
    transform: translateY(-3px) scale(1.02);
}

.blot-result-button-play {
    background: linear-gradient(180deg, #1178a3 0%, #0d6285 100%);
    box-shadow: 0 8px 20px rgba(17,120,163,.28);
}

.blot-result-button-exit {
    background: linear-gradient(180deg, #b61d1d 0%, #931515 100%);
    box-shadow: 0 8px 20px rgba(182,29,29,.28);
}

/* =======================================================
   LOSS VERSION
======================================================= */
.blot-result.blot-result-loss {
    background: linear-gradient(180deg, #2a1d24 0%, #1b1720 100%);
}

/* ===== LOSS RIBBON ===== */
.blot-result.blot-result-loss .blot-result-ribbon {
    background: linear-gradient(180deg, #8d1f1f 0%, #6d1717 100%);
}

.blot-result.blot-result-loss .blot-result-ribbon::before {
    border-right: 34px solid #6d1717;
}

.blot-result.blot-result-loss .blot-result-ribbon::after {
    border-left: 34px solid #6d1717;
}

/* ===== LOSS STARS ===== */
.blot-result.blot-result-loss .blot-result-star {
    color: #d66b6b;
    opacity: .45;
    text-shadow: 0 0 16px rgba(214,107,107,.18);
}

/* ===== LOSS TITLE ===== */
.blot-result.blot-result-loss .blot-result-title {
    color: #ffe2e2;
}

/* ===== LOSS SCORE ===== */
.blot-result.blot-result-loss .blot-result-score span {
    color: #ff8a8a;
}

/* =======================================================
   SHOW
======================================================= */
.blot-result.blot-result-show {
    display: inline;
    animation: blotResultShow .4s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes blotResultShow {
    0% {
        opacity: 0;
        transform: scale(.82) translateY(30px);
    }

    70% {
        opacity: 1;
        transform: scale(1.03) translateY(-4px);
    }

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

}

/* =======================================================
   MOBILE
======================================================= */
@media(max-width:520px) {
    .blot-result {
        width: calc(100% - 16px);
        padding: 22px 16px 16px;
    }

    .blot-result-ribbon {
        width: 220px;
        height: 60px;
    }

    .blot-result-title {
        font-size: 30px;
    }

    .blot-result-score {
        font-size: 30px;
    }

    .blot-result-buttons {
        gap: 10px;
    }

    .blot-result-button {
        height: 52px;
        font-size: 15px;
    }

    .blot-result-star-big {
        font-size: 64px;
    }

    .blot-result-star-small {
        font-size: 34px;
    }

}

/* =======================================================
   LEVEL UP WINDOW
======================================================= */
.blot-levelup {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 320px;
    padding: 18px 14px 14px;
    border-radius: 22px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #17313d 0%, #152331 100%);
    border: 1px solid rgba(177,200,212,.12);
    box-shadow: 0 18px 50px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.03);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.82);
    z-index: 1200;
    display: none;
}

/* ===== BACKGROUND EFFECT ===== */
.blot-levelup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(177,200,212,.05) 0%, transparent 70%);
    pointer-events: none;
}

/* =======================================================
   GLOW
======================================================= */
.blot-levelup-glow {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,120,.22) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

/* =======================================================
   ICON
======================================================= */
.blot-levelup-icon {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffcc57 0%, #ffb52d 100%);
    box-shadow: 0 10px 24px rgba(255,181,45,.28);
    z-index: 2;
}

.blot-levelup-icon span {
    font-size: 36px;
}

/* =======================================================
   TITLE
======================================================= */
.blot-levelup-title {
    position: relative;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
    z-index: 2;
}

/* =======================================================
   LEVEL
======================================================= */
.blot-levelup-level {
    position: relative;
    color: #b1c8d4;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    z-index: 2;
}

.blot-levelup-level span {
    color: #ffffff;
    font-size: 18px;
}

/* =======================================================
   REWARD
======================================================= */
.blot-levelup-reward {
    position: relative;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
    border: 1px solid rgba(177,200,212,.08);
    margin-bottom: 16px;
    z-index: 2;
}

.blot-levelup-reward-label {
    color: #b1c8d4;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.blot-levelup-reward-value {
    color: #ffd76a;
    font-size: 28px;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(255,215,106,.18);
}

.blot-levelup-reward-value span {
    color: #fff;
    font-size: 16px;
    margin-left: 4px;
}

/* =======================================================
   BUTTON
======================================================= */
.blot-levelup-button {
    position: relative;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #1178a3 0%, #0d6285 100%);
    box-shadow: 0 8px 20px rgba(17,120,163,.22);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
    z-index: 2;
}

.blot-levelup-button:hover {
    transform: translateY(-2px) scale(1.01);
}

/* =======================================================
   SHOW
======================================================= */
.blot-levelup.blot-levelup-show {
    display: block;
    animation: blotLevelUpShow .38s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes blotLevelUpShow {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.82);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

}

/* =======================================================
   LANDSCAPE MOBILE
======================================================= */
@media (orientation: landscape) and (max-width: 932px) and (max-height: 500px) {
    .blot-levelup {
        max-width: 520px;
        padding: 14px;
    }

    .blot-levelup-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }

    .blot-levelup-icon span {
        font-size: 28px;
    }

    .blot-levelup-title {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .blot-levelup-level {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .blot-levelup-level span {
        font-size: 15px;
    }

    .blot-levelup-reward {
        padding: 10px;
        margin-bottom: 10px;
    }

    .blot-levelup-reward-value {
        font-size: 22px;
    }

    .blot-levelup-button {
        height: 42px;
        font-size: 14px;
    }

}

/* =======================================================
   GAME MODALS SKIN
======================================================= */
.blot-trump-modal,
.blot-score,
.blot-result,
.blot-levelup {
    background:
        linear-gradient(160deg, rgba(36, 70, 84, 0.96), rgba(22, 43, 52, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blot-trump-modal,
.blot-score,
.blot-levelup {
    border-radius: 20px;
}

.blot-result {
    border-radius: 22px;
}

.blot-trump-cards,
.blot-trump-bid-row,
.blot-trump-actions,
.blot-score-header,
.blot-score-body,
.blot-score-footer,
.blot-result-stars,
.blot-result-ribbon,
.blot-result-score,
.blot-result-buttons,
.blot-levelup-icon,
.blot-levelup-title,
.blot-levelup-level,
.blot-levelup-reward,
.blot-levelup-button {
    position: relative;
    z-index: 2;
}

.blot-trump-modal::after,
.blot-score::after,
.blot-result::after,
.blot-levelup::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.blot-trump-card,
.blot-trump-bid-btn,
.blot-trump-bid-kp:not(.blot-trump-kp-active),
.blot-trump-bid-value,
.blot-trump-action-btn,
.blot-score-header,
.blot-score-footer,
.blot-levelup-reward {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.1);
}

.blot-trump-card {
    color: #fff;
}

.blot-trump-card:hover,
.blot-trump-bid-btn:hover,
.blot-trump-bid-kp:not(.blot-trump-kp-active):hover,
/*.blot-trump-action-btn:hover*/ {
    background: rgba(255, 255, 255, 0.105);
    border-color: rgba(255, 255, 255, 0.16);
}

.blot-trump-card.blot-trump-active,
.blot-trump-action-primary,
.blot-levelup-button,
.blot-result-button-play {
    background: linear-gradient(135deg, #008bbb, #1e6b82);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 20px rgba(0, 139, 187, 0.22);
}

.blot-result-button-exit {
    background: linear-gradient(135deg, #ef4444, #9f1239);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.blot-trump-modal.blot-trump-mode-contra,
.blot-trump-modal.blot-trump-mode-recontra {
    position: absolute;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.blot-score-team,
.blot-score-value,
.blot-score-total span,
.blot-levelup-level,
.blot-levelup-reward-label {
    color: rgba(232, 243, 248, 0.72);
}

.blot-result.blot-result-loss {
    background:
        linear-gradient(160deg, rgba(72, 38, 48, 0.96), rgba(31, 27, 33, 0.98)),
        url("/images/carbon-fibre.png");
}

.blot-score {
    width: min(430px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 22px;
    background:
        linear-gradient(160deg, rgba(35, 65, 78, 0.98), rgba(13, 27, 35, 0.99)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(124, 224, 255, 0.2);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blot-score::before {
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 139, 187, 0.18), transparent 38%),
        radial-gradient(circle at 80% 100%, rgba(245, 158, 11, 0.12), transparent 42%);
}

.blot-score-header {
    gap: 8px;
    padding: 0 0 8px;
    border: 0;
    background: transparent;
}

.blot-score-header > div {
    flex: 1;
    min-height: 36px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #effaff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.blot-score-body {
    min-height: 0;
    padding: 0;
}

.blot-score-columns {
    gap: 8px;
}

.blot-score-column {
    min-height: 136px;
    padding: 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.blot-score-list {
    gap: 7px;
}

.blot-score-detail {
    min-height: 28px;
    gap: 8px;
    padding: 5px 0;
    color: rgba(245, 251, 255, 0.94);
    font-size: 12px;
    font-weight: 800;
}

.blot-score-detail + .blot-score-detail {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.blot-score-detail-points {
    min-width: 34px;
    color: #ffd36a;
    font-size: 13px;
    font-weight: 950;
}

.blot-score-detail-muted {
    color: rgba(232, 243, 248, 0.44);
}

.blot-score-footer {
    gap: 8px;
    padding: 8px 0 0;
    border: 0;
    background: transparent;
}

.blot-score-total {
    flex: 1;
    min-height: 38px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 13px;
    color: rgba(232, 243, 248, 0.72);
    background: rgba(0, 139, 187, 0.11);
    border: 1px solid rgba(0, 139, 187, 0.18);
    font-size: 12px;
    font-weight: 850;
}

.blot-score-total span {
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

@media (max-width: 576px) {
    .blot-score {
        width: min(360px, calc(100vw - 18px));
        padding: 8px;
        border-radius: 18px;
    }

    .blot-score-header > div {
        min-height: 32px;
        padding: 7px;
        font-size: 10px;
    }

    .blot-score-column {
        min-height: 112px;
        padding: 8px;
        border-radius: 13px;
    }

    .blot-score-detail {
        min-height: 24px;
        font-size: 10px;
    }

    .blot-score-detail-points {
        min-width: 28px;
        font-size: 11px;
    }

    .blot-score-total {
        min-height: 32px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .blot-score-total span {
        font-size: 15px;
    }
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-score {
        width: min(460px, calc(100vw - 28px));
        padding: 8px;
    }

    .blot-score-column {
        min-height: 90px;
        padding: 7px 9px;
    }

    .blot-score-detail {
        min-height: 21px;
        padding: 3px 0;
        font-size: 10px;
    }

    .blot-score-footer {
        padding-top: 6px;
    }
}

.blot-levelup-icon {
    background: linear-gradient(135deg, #ffdf73, #f59e0b);
    color: #3a2200;
}

.blot-levelup-reward-value {
    color: #ffd36a;
}

/* =======================================================
   FIRST TURN ICON
======================================================= */
.blot-first-turn {
    position: absolute;
    bottom: 20px;
    right: -55px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #5affd0 0%, #1faaf0 100%);
    border: 2px solid rgba(255,255,255,.15);
    box-shadow: 0 0 0 4px rgba(255,207,90,.15), 0 8px 18px rgba(240,169,31,.35);
    animation: blotFirstTurnPulse 1.6s infinite;
    z-index: 20;
}

.blot-player-right .blot-first-turn {
    right: auto;
    left: -55px;
}

/* ===== ICON ===== */
.blot-first-turn-icon {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* =======================================================
   ANIMATION
======================================================= */
@keyframes blotFirstTurnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(90,195,255,.35), 0 8px 18px rgba(31,138,240,.35);
    }

    70% {
        transform: scale(1.06);
        box-shadow: 0 0 0 12px rgba(90,195,255,0), 0 8px 18px rgba(31,138,240,.35);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(90,195,255,0), 0 8px 18px rgba(31,138,240,.35);
    }

}

/* =======================================================
   MOBILE
======================================================= */
@media(max-width:600px) {
    .blot-player-avatar {
        width: 64px;
        height: 64px;
    }

    .blot-first-turn {
        top: 8px;
        right: -20px;
    }

    .blot-player-right .blot-first-turn {
        right: auto;
        left: -28px;
    }

    .blot-first-turn-icon {
        font-size: 14px;
    }

}

/* =======================================================
   RATING
======================================================= */
.blot-player-rating {
    position: absolute;
    left: 70px;
    bottom: 13px;
    height: 24px;
    min-width: 35px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd86a 0%, #c99322 100%);
    border: 1px solid rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b2800;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 0 14px rgba(255,216,106,.28), 0 6px 16px rgba(0,0,0,.28);
    z-index: 15;
}

.blot-player-rating:empty {
    display: none;
}

.blot-player-right .blot-player-rating {
    right: 70px;
    left: auto;
}

@media (max-width: 768px) {
    .blot-player-rating {
        left: 45px;
        bottom: 6px;
        min-width: 30px;
    }

    .blot-player-right .blot-player-rating {
        right: 45px;
        left: auto;
    }

}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .blot-player-rating {
        left: 45px;
        bottom: 6px;
        min-width: 30px;
    }

    .blot-player-right .blot-player-rating {
        right: 45px;
        left: auto;
    }

}

/* =======================================================
   VIP BADGE
======================================================= */
.blot-vip-badge {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    height: 20px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b06cff 0%, #7b2fff 100%);
    border: 1px solid rgba(255,255,255,.22);
    display: none;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .6px;
    box-shadow: 0 0 18px rgba(140,82,255,.45), 0 6px 14px rgba(0,0,0,.28);
    z-index: 20;
}

.blot-player-vip .blot-vip-badge {
    display: flex;
}

/* =======================================================
   VIP AVATAR EFFECT
======================================================= */
.blot-player-vip .blot-avatar {
    box-shadow:
        0 0 0 2px rgba(156,92,255,.65),
        0 0 26px rgba(156,92,255,.35),
        0 10px 24px rgba(0,0,0,.35);
}

.blot-player-vip .blot-avatar::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(176,108,255,.03), rgba(176,108,255,0.3), rgba(176,108,255,.03));
    animation: blotVipRotate 3s linear infinite;
    z-index: 1;
}

/* =======================================================
   VIP PLAYER NAME
======================================================= */
.blot-player-vip .blot-player-name {
    border-color: rgba(176,108,255,.25);
    box-shadow: 0 0 18px rgba(176,108,255,.16);
}

.blot-player-vip .blot-player-text {
    color: #f0e4ff;
    text-shadow: 0 0 10px rgba(176,108,255,.35);
}

/* =======================================================
   VIP ROTATE
======================================================= */
@keyframes blotVipRotate {
    to {
        transform: rotate(360deg);
    }

}

.blot-toast-wrap {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 28px));
    pointer-events: none;
}

.blot-toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 12px 12px;
    color: #eefaff;
    background:
        linear-gradient(160deg, rgba(22, 45, 55, 0.97), rgba(10, 20, 25, 0.98)),
        url("/images/carbon-fibre.png");
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    opacity: 0;
    transform: translateX(18px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.blot-toast-show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.blot-toast-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
}

.blot-toast-success .blot-toast-icon {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.2);
}

.blot-toast-error .blot-toast-icon {
    color: #fee2e2;
    background: rgba(239, 68, 68, 0.22);
}

.blot-toast-info .blot-toast-icon {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.22);
}

.blot-toast-text {
    min-width: 0;
    color: rgba(238, 250, 255, 0.88);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.blot-toast-close {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(238, 250, 255, 0.64);
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    border-radius: 8px;
}

.blot-toast-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* =======================================================
   VIP PLAYER INFO
======================================================= */
.blot-player-vip .blot-player-info {
    position: relative;
}

/* ===== MAIN BLOCK ===== */
.blot-player-vip .blot-player-name {
    background: linear-gradient(180deg, #5b2ab8 0%, #3f1c86 100%);
    border: 1px solid rgba(176,108,255,.4);
    box-shadow: 0 0 18px rgba(176,108,255,.22), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: none;
}

/* ===== GLOW BORDER ===== */
.blot-player-vip .blot-player-name::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(90deg, rgba(176,108,255,.2), rgba(208,167,255,1), rgba(176,108,255,.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: .8;
    pointer-events: none;
}

/* ===== TEXT ===== */
.blot-player-vip .blot-player-text {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(176,108,255,.45);
}

/* ===== TIMER ===== */
.blot-player-vip .blot-player-timer {
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(176,108,255,.25);
}

@media (min-width: 768px) {
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
}
