:root {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #f7f8fb;
    background: #07090d;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(113, 214, 78, 0.13), transparent 22%),
        linear-gradient(180deg, #07090d 0%, #11141a 56%, #090b10 100%);
}

body.sheet-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.app-shell {
    width: min(480px, 100%);
    margin: 0 auto;
    padding: 10px 10px 100px;
}

.app-header,
.profile-row,
.panel-title,
.section-head,
.spin-top,
.wallet-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-header h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0;
}

.menu-dots,
.section-head button,
.chip,
.balance-chip {
    border-radius: 999px;
    color: #f9fafb;
    background: #20242d;
}

.menu-dots {
    width: 34px;
    height: 34px;
    background: transparent;
    color: #a3a3a3;
    font-size: 28px;
    line-height: 1;
}

.profile-row {
    margin-top: 14px;
    gap: 8px;
}

.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #d5dce9, #6b7280);
    color: #111827;
    font-weight: 900;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.avatar.has-photo {
    background-color: #1f2937;
    background-image: var(--avatar-photo);
}

.avatar.has-photo span {
    display: none;
}

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

.profile-copy strong {
    display: block;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
}

.profile-copy span {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #30343d;
    color: #c4c9d4;
    font-size: 12px;
    font-weight: 700;
}

.chip {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #343a46;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.chip.outline {
    border-color: #b7f34f;
    color: #ffffff;
    background: #161c14;
}

.chip.invite::before {
    content: "↗ ";
}

.balance-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid #343a46;
    background: linear-gradient(180deg, #20242d, #151922);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-align: center;
}

.wallet-icon {
    position: relative;
    width: 15px;
    height: 11px;
    display: inline-block;
    border: 2px solid #e5e7eb;
    border-radius: 3px;
    color: transparent;
}

.wallet-icon::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 3px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #e5e7eb;
}

.balance-chip strong {
    display: block;
    margin-top: 0;
    font-size: 12px;
    line-height: 1;
}

.recent-panel {
    margin-top: 14px;
    padding: 11px;
    border: 1px solid #274013;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(120, 180, 34, 0.09), rgba(5, 8, 12, 0.88)),
        #101411;
}

.panel-title {
    justify-content: flex-start;
}

.title-icon,
.group-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #263b16;
    color: #a3ff38;
    font-weight: 900;
}

.panel-title h2,
.group-card h2,
.section-head h2,
.spin-card h2 {
    margin: 0;
    font-size: 18px;
}

.panel-title p,
.group-card p,
.spin-card p,
.warning-card p {
    margin: 4px 0 0;
    color: #a7adba;
    font-size: 13px;
}

.recent-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 105px;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.recent-strip::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar {
    display: none;
}

.mini-game,
.game-card,
.wide-game,
.sheet-cover {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ffffff;
    text-align: left;
    background: #20242d;
}

.mini-game {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
}

.game-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
}

.mini-game::before,
.game-card::before,
.wide-game::before,
.sheet-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        var(--art);
    z-index: 0;
}

.mini-game.real-cover::before,
.game-card.real-cover::before,
.wide-game.real-cover::before {
    filter: saturate(1.05) contrast(1.04) brightness(1.03);
}

.mini-game::after,
.game-card::after,
.wide-game::after,
.sheet-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28));
    z-index: 0;
}

.mini-game.real-cover::after,
.game-card.real-cover::after,
.wide-game.real-cover::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.08) 100%);
}

.mini-game > *,
.game-card > *,
.wide-game > *,
.sheet-cover > * {
    position: relative;
    z-index: 1;
}

.provider {
    display: inline-grid;
    min-width: 30px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #b7ff4d;
    color: #111827;
    font-size: 11px;
    font-weight: 900;
}

.real-cover .provider {
    position: absolute;
    top: 8px;
    left: 8px;
    min-width: 32px;
    height: 23px;
    border: 1px solid rgba(177, 255, 71, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-size: 11px;
    line-height: 1;
}

.mini-game strong,
.game-card strong {
    display: block;
    margin-top: 34px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    font-size: 15px;
}

.mini-game.real-cover strong,
.game-card.real-cover strong {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 7px;
    margin-top: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.game-card strong {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin-top: 0;
    font-size: 17px;
}

.game-card.real-cover strong {
    left: 8px;
    right: 8px;
    bottom: 9px;
    font-size: 18px;
}

.game-card span {
    color: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

.game-card small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    line-height: 1.35;
}

.group-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #343946;
    border-radius: 10px;
    background: linear-gradient(180deg, #242731, #1a1d25);
}

.group-card div:nth-child(2) {
    flex: 1;
}

.group-card > span {
    color: #a8afbb;
    font-size: 30px;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

body[data-view="me"] .recent-panel,
body[data-view="me"] .group-card {
    display: none;
}

body[data-view="depositHistory"] .app-header,
body[data-view="depositHistory"] .profile-row,
body[data-view="depositHistory"] .recent-panel,
body[data-view="depositHistory"] .group-card,
body[data-view="depositHistory"] .bottom-nav,
body[data-view="depositHistory"] .floating-search {
    display: none;
}

.section-head {
    margin: 24px 4px 12px;
}

.section-head.sub-head {
    margin-top: 20px;
}

.slot-mark {
    margin-right: 6px;
    font-size: 16px;
    color: #ffffff;
}

.section-head button {
    padding: 9px 15px;
    border: 1px solid #343a46;
    color: #f5f7fb;
}

.category-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 10px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-tabs button {
    min-width: 58px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #20232b;
    border: 1px solid #343844;
    color: #c5cad5;
    font-weight: 900;
}

.category-tabs button.active {
    color: #a9ff38;
    background: #263b16;
    border-color: #6ea30e;
}

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

.wide-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 178px;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.wide-strip::-webkit-scrollbar {
    display: none;
}

.wide-game {
    min-height: 112px;
    padding: 12px;
}

.wide-game strong {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: block;
    margin-top: 0;
    font-size: 17px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.wide-game.real-cover strong {
    left: 8px;
    right: 8px;
    bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.1;
    text-align: center;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.spin-card,
.wallet-card,
.warning-card,
.dialog {
    border: 1px solid #303744;
    border-radius: 12px;
    background: linear-gradient(180deg, #20242d, #151922);
}

.spin-card {
    margin-top: 16px;
    padding: 14px;
}

.spin-card span,
.wallet-card span {
    color: #a5adba;
    font-size: 13px;
}

.result-pill {
    min-width: 74px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #282e39;
    color: #f8fafc;
    text-align: center;
    font-weight: 900;
}

.result-pill.win {
    color: #11200a;
    background: #b7ff4d;
}

.result-pill.lose {
    color: #fff;
    background: #b42318;
}

.reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 14px;
}

.reels div {
    min-height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid #3c4656;
    border-radius: 11px;
    background: linear-gradient(180deg, #111827, #080b12);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.reels.spin div {
    animation: flash 0.16s linear 5;
}

@keyframes flash {
    0% { background: #111827; transform: translateY(0); }
    50% { background: #375d1b; transform: translateY(-2px); }
    100% { background: #111827; transform: translateY(0); }
}

.bet-box {
    display: grid;
    gap: 8px;
    margin: 14px 0 12px;
    color: #cfd5df;
    font-weight: 800;
}

input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #3a4352;
    border-radius: 10px;
    background: #0c1017;
    color: #ffffff;
}

.primary {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6fa717, #1c8c6e);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
}

.warning-card {
    margin-top: 12px;
    padding: 16px;
}

.warning-card strong {
    color: #fff;
}

.me-wallet-card,
.service-grid {
    border: 1px solid #3a4351;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(160, 255, 55, 0.18), transparent 45%),
        linear-gradient(145deg, rgba(44, 50, 58, 0.92), rgba(12, 17, 24, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 36px rgba(0, 0, 0, 0.28);
}

.me-wallet-card {
    position: relative;
    margin-top: 70px;
    padding: 56px 24px 24px;
    text-align: center;
}

.me-avatar {
    position: absolute;
    left: 50%;
    top: -42px;
    width: 84px;
    height: 84px;
    transform: translateX(-50%);
    border: 4px solid #17210f;
    outline: 3px solid #89c820;
    box-shadow: 0 0 26px rgba(137, 200, 32, 0.42);
}

.me-wallet-card h2 {
    margin: 0;
    color: #d7dbe4;
    font-size: 23px;
    font-weight: 900;
}

.me-wallet-card strong {
    display: block;
    margin: 12px 0 24px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wallet-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 15px 12px;
    border-radius: 13px;
    border: 1px solid rgba(165, 210, 56, 0.52);
    background: linear-gradient(135deg, #b7ff34, #79be1f);
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.wallet-actions button span {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    margin-right: 0;
    font-size: 26px;
    line-height: 1;
}

.wallet-actions button:last-child {
    background: rgba(36, 42, 48, 0.86);
    color: #f8fafc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 10px;
    margin-top: 12px;
    padding: 18px 12px 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(169, 255, 56, 0.13), transparent 42%),
        linear-gradient(180deg, rgba(16, 22, 15, 0.98), rgba(8, 11, 10, 0.98));
}

.service-item {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 4px;
    border-radius: 14px;
    background: transparent;
    color: #ffffff;
}

.service-item.active {
    background: rgba(255, 255, 255, 0.14);
}

.service-item span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(168, 255, 60, 0.22);
    background: rgba(54, 82, 27, 0.62);
    color: #e9f7d3;
    font-size: 26px;
    font-weight: 900;
}

.service-item strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
}

.history-view {
    min-height: calc(100vh - 20px);
}

.history-page-bar {
    display: grid;
    grid-template-columns: 42px 1fr 42px 42px;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    margin: -2px -2px 0;
}

.history-page-bar strong {
    font-size: 18px;
    font-weight: 900;
}

.history-back,
.history-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    color: #a8adb8;
    font-size: 34px;
    line-height: 1;
}

.history-close {
    font-size: 30px;
}

.history-title {
    margin-top: 6px;
}

.history-title h2 {
    margin: 0;
    color: #ffffff;
    font-size: 31px;
    line-height: 1.1;
}

.history-title p {
    margin: 10px 0 0;
    color: #979da8;
    font-size: 14px;
    font-weight: 700;
}

.deposit-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.deposit-summary article {
    min-height: 126px;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 14px 8px;
    border: 1px solid #46505e;
    border-radius: 10px;
    background: linear-gradient(180deg, #20252e, #121720);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
}

.deposit-summary span {
    color: #8e95a1;
    font-size: 14px;
    font-weight: 800;
}

.deposit-summary strong {
    color: #b3ff34;
    font-size: 22px;
    line-height: 1;
}

.deposit-filters {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 10px;
    margin-top: 26px;
    overflow-x: auto;
    scrollbar-width: none;
}

.deposit-filters::-webkit-scrollbar {
    display: none;
}

.deposit-filters button {
    min-width: 76px;
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid #2d3138;
    border-radius: 999px;
    background: #171a20;
    color: #a9afb9;
    font-size: 14px;
    font-weight: 900;
}

.deposit-filters button.active {
    border-color: #a2ed26;
    background: linear-gradient(135deg, #b7ff34, #79c916);
    color: #ffffff;
}

.deposit-record-list {
    display: grid;
    gap: 14px;
    margin-top: 32px;
    padding-bottom: 28px;
}

.deposit-record-card {
    padding: 20px 18px 18px;
    border: 1px solid #2f333a;
    border-radius: 17px;
    background: linear-gradient(180deg, #1b1d22, #151619);
}

.deposit-record-card.empty {
    color: #d8dde6;
}

.deposit-record-card.empty p {
    margin: 8px 0 0;
    color: #969ca8;
}

.deposit-record-main {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.deposit-status-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid #8a721e;
    border-radius: 14px;
    background: #463915;
    color: #ffe13f;
    font-size: 27px;
    font-weight: 900;
}

.deposit-record-card.approved .deposit-status-icon {
    border-color: #5a8627;
    background: #243d16;
    color: #a9ff38;
}

.deposit-record-card.rejected .deposit-status-icon,
.deposit-record-card.cancelled .deposit-status-icon {
    border-color: #6d3535;
    background: #3d1d1d;
    color: #ff8b8b;
}

.deposit-record-copy strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.1;
}

.deposit-record-copy span {
    display: block;
    margin-top: 7px;
    color: #9ca1aa;
    font-size: 13px;
    font-weight: 800;
}

.deposit-record-amount {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.deposit-record-amount strong {
    color: #b3ff34;
    font-size: 22px;
    line-height: 1;
}

.deposit-record-amount span {
    min-width: 62px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #947b11;
    color: #fff84f;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.deposit-record-card.approved .deposit-record-amount span {
    background: #376610;
    color: #b7ff34;
}

.deposit-record-card.rejected .deposit-record-amount span,
.deposit-record-card.cancelled .deposit-record-amount span {
    background: #5a2323;
    color: #ffb0b0;
}

.deposit-record-detail {
    display: grid;
    grid-template-columns: minmax(70px, 1fr) auto;
    gap: 12px 12px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #292c32;
}

.deposit-record-detail span {
    color: #8f949d;
    font-size: 14px;
    font-weight: 900;
}

.deposit-record-detail strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #c9cbd1;
    font-size: 14px;
    text-align: right;
}

.win {
    color: #a9ff38;
}

.lose {
    color: #ff8b8b;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 10px;
    z-index: 10;
    width: min(350px, calc(100% - 92px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 7px;
    border: 1px solid #3b4352;
    border-radius: 999px;
    background: rgba(25, 29, 37, 0.92);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.bottom-nav button {
    min-height: 46px;
    border-radius: 999px;
    background: transparent;
    color: #c5cbd6;
    font-weight: 900;
}

.bottom-nav button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #6f9d42, #263b16);
}

.floating-search {
    position: fixed;
    right: max(8px, calc((100% - 480px) / 2 + 8px));
    bottom: 16px;
    z-index: 11;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #eef2ff;
    background: #151b26;
    color: #ffffff;
    font-size: 31px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.58);
}

.game-sheet {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: end center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.62);
}

.sheet-card {
    width: min(448px, 100%);
    overflow: hidden;
    border: 1px solid #3c4656;
    border-radius: 22px;
    background: #151922;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}

.sheet-close {
    position: absolute;
    right: 30px;
    margin-top: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 24px;
}

.sheet-cover {
    min-height: 190px;
    padding: 18px;
    border: 0;
    border-radius: 0;
}

.sheet-cover span {
    display: inline-grid;
    min-width: 42px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: #b7ff4d;
    color: #111827;
    font-weight: 900;
}

.sheet-cover strong {
    display: block;
    margin-top: 92px;
    font-size: 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.52);
}

.sheet-body {
    padding: 18px;
}

.sheet-body h2 {
    margin: 0;
}

.sheet-body p {
    margin: 8px 0 14px;
    color: #b9c0cc;
}

.sheet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sheet-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #242b36;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
}

.dialog {
    width: min(360px, 100%);
    padding: 20px;
}

.dialog h2 {
    margin: 0 0 10px;
}

.dialog p {
    color: #c5cbd6;
    line-height: 1.55;
    white-space: pre-line;
}

.deposit-form {
    display: grid;
    gap: 12px;
}

.deposit-form h2 {
    margin-bottom: 0;
}

.deposit-form p {
    margin: 0 0 4px;
}

.deposit-form label {
    display: grid;
    gap: 7px;
    color: #aeb5c0;
    font-size: 13px;
    font-weight: 900;
}

.deposit-form input {
    min-height: 46px;
}

.dialog-actions {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
    margin-top: 4px;
}

.dialog-actions button {
    min-height: 46px;
    border-radius: 12px;
    background: #242a34;
    color: #ffffff;
    font-weight: 900;
}

.dialog-actions .primary {
    padding: 0 12px;
}

.hidden {
    display: none;
}

@media (max-width: 380px) {
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-copy strong {
        max-width: 70px;
    }
}

@media (max-width: 460px) {
    .bottom-nav {
        left: 12px;
        width: calc(100% - 92px);
        transform: none;
    }

    .bottom-nav button {
        min-width: 0;
        font-size: 14px;
    }

    .floating-search {
        right: 10px;
        width: 52px;
        height: 52px;
        font-size: 29px;
    }
}
