:root {
    --bg: #1a1b26;
    --bg-soft: #24283b;
    --text: #c0caf5;
    --text-muted: #7aa2f7;
    --blue: #7aa2f7;
    --green: #9ece6a;
    --red: #f7768e;
    --purple: #bb9af7;
    --gold: #e0af68;
    --panel: #292e42;
    --panel-solid: #292e42;
    --border: #3b4261;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
    --shadow-card: 0 4px 12px rgba(0,0,0,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font-main: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: hidden;
    line-height: 1.5;
}



@media only screen and (max-width: 768px) {
    body {
        height: auto !important;
        min-height: 100%;
        overflow-y: scroll !important;
        padding: 8px !important;
    }
    html {
        height: auto;
        overflow-x: hidden;
    }
    #game-wrapper {
        height: auto !important;
        overflow-y: visible !important;
    }
    #game-container {
        flex-direction: column !important;
        overflow-y: visible !important;
    }
    .sidebar-left {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        order: 2;
    }
    .sidebar-left .panel {
        flex: 1 1 48%;
    }
    .sidebar {
        width: 100% !important;
        order: 3;
    }
    .main {
        width: 100% !important;
        height: auto !important;
        overflow-y: visible !important;
        order: 1;
    }
    .main .market-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #start-overlay {
        align-items: center;
        overflow-y: auto;
    }
    .start-modal {
        padding: 12px 12px 60px 12px;
    }
    .start-modal h1 {
        font-size: 1.8em;
    }
    .mode-cards {
        gap: 10px;
    }
    .mode-card {
        width: 100%;
        padding: 12px;
    }
    .player-select {
        gap: 8px;
    }
    .player-select button {
        padding: 10px 16px;
    }
    #btn-next-mode, #btn-next-gametype {
        width: 100%;
        margin-top: 12px;
    }
    .btn-back {
        width: 100%;
        margin-top: 8px;
    }

    .top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    .top-bar .btn-back,
    .top-bar .btn-action {
        font-size: 0.8em;
        padding: 8px 12px;
    }
    .top-bar .mode-indicator {
        font-size: 0.75em;
        padding: 6px 10px;
    }
    .top-bar .round-counter {
        font-size: 0.8em;
        padding: 6px 10px;
    }

    .controls-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px;
        margin-bottom: 12px;
    }
    .controls-mobile .phase-badge,
    .controls-mobile .dice-result,
    .controls-mobile .btn-action {
        width: 100%;
        max-width: 250px;
        text-align: center;
        justify-content: center;
    }

    .market-panel {
        padding: 12px;
    }
    .market-title {
        font-weight: 600;
        color: var(--gold);
        font-size: 0.9em;
        text-align: center;
    }
    .nav-btn {
        background: var(--panel);
        border: 1px solid var(--border);
        color: var(--text);
        padding: 8px 14px;
        border-radius: var(--radius-md);
        cursor: pointer;
    }
    .market-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border);
    }
    .market-dot.active {
        background: var(--gold);
    }

    body {
        padding: 6px;
    }
    #game-wrapper h2 {
        font-size: 1.1em;
    }
    #controls {
        padding: 8px;
        gap: 6px;
    }
    .market-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    .card {
        width: clamp(45px, 18vw, 70px);
    }
    .sidebar-left .panel {
        width: 48%;
    }
}

@media only screen and (max-width: 480px) {
    body {
        padding: 6px;
    }
    #game-wrapper h2 {
        font-size: 1.1em;
    }
    #controls {
        padding: 8px;
        gap: 6px;
    }
    .market-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    .card {
        width: clamp(45px, 18vw, 70px);
    }
    .sidebar-left .panel {
        width: 48%;
    }
}

.top-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.top-bar .btn-back,
.top-bar .btn-action {
    padding: 8px 14px;
    font-size: 0.85em;
}

.market-panel {
    width: 100%;
}

/* Видимость рынка управляется через JS (isMobile()) */
.mobile-market {
    display: none;
}

.desktop-market {
    display: block;
}

.market-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.market-card-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}

.nav-card-btn {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 1.1em;
}

.market-current {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 4px 0;
}

.market-current .card {
    width: clamp(140px, 55vw, 220px) !important;
    aspect-ratio: 680 / 1069;
    height: auto !important;
}

.market-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

h1, h2, h3 {
    margin: 8px 0;
    font-weight: 600;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.1em;
}

button {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95em;
    box-shadow: var(--shadow-sm);
}

button:hover:not(:disabled) {
    background: var(--bg-soft);
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-action {
    background: linear-gradient(135deg, var(--gold) 0%, #c49a4a 100%);
    color: #1a1b26;
    border: none;
    font-size: 1.05em;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.btn-action:hover:not(:disabled) {
    background: linear-gradient(135deg, #f0c078 0%, #d4aa5a 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-new-game {
    background: linear-gradient(135deg, var(--green) 0%, #7a9c4a 100%);
    color: #fff;
    border: none;
    font-size: 1.1em;
    padding: 14px 32px;
    margin-top: 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.btn-new-game:hover {
    background: linear-gradient(135deg, #aede7a 0%, #8aac5a 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 27, 38, 0.98);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

@supports (height: 100dvh) {
    #start-overlay {
        height: 100dvh;
    }
}

.start-modal {
    background: var(--panel);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(224, 175, 104, 0.15);
    max-width: 560px;
    width: 90%;
}

.start-modal h1 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 2.5em;
}

.start-step {
    display: none;
}

.start-step.active {
    display: block;
}

.mode-cards {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mode-card {
    background: var(--bg-soft);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    cursor: pointer;
    width: 210px;
    text-align: left;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.mode-card:hover {
    border-color: var(--gold);
    background: var(--panel);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mode-card.selected {
    border-color: var(--gold);
    background: rgba(224, 175, 104, 0.1);
    box-shadow: var(--shadow-md), 0 0 20px rgba(224, 175, 104, 0.2);
}

.mode-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.05em;
    color: var(--gold);
}

.mode-card p {
    margin: 0;
    font-size: 0.85em;
    color: #bbb;
    line-height: 1.4;
}

.mode-card .mode-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75em;
    font-weight: 600;
}

.badge-standard {
    background: rgba(158, 206, 106, 0.15);
    color: var(--green);
}

.badge-mod {
    background: rgba(187, 154, 247, 0.15);
    color: var(--purple);
}

.mode-checkmark {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 1.3em;
    display: none;
}

.mode-card.selected .mode-checkmark {
    display: block;
}

.player-select {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.player-select button {
    font-size: 1.3em;
    padding: 15px 30px;
    background: var(--panel);
    border: 2px solid var(--border);
}

.player-select button:hover {
    border-color: var(--gold);
    background: var(--bg-soft);
}

.btn-back {
    background: var(--panel);
    color: var(--text-muted);
    border: 1px solid var(--border);
    font-size: 0.9em;
    padding: 12px 20px;
    border-radius: var(--radius-md);
}

.btn-back:hover {
    color: var(--text);
    background: var(--bg-soft);
    border-color: var(--text-muted);
}

.mode-indicator {
    font-size: 0.85em;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.mode-indicator.standard {
    background: rgba(158, 206, 106, 0.15);
    color: var(--green);
    border: 1px solid var(--green);
}

.mode-indicator.mod {
    background: rgba(187, 154, 247, 0.15);
    color: var(--purple);
    border: 1px solid var(--purple);
}

#game-wrapper {
    display: none;
    flex-direction: column;
    height: 100%;
}

#controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--panel);
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.dice-result {
    font-size: 1.4em;
    font-weight: 700;
    background: var(--text);
    color: var(--bg);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.phase-badge {
    background: var(--bg-soft);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95em;
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
}

.phase-badge.action {
    background: rgba(247, 118, 142, 0.15);
    color: var(--red);
    border-color: var(--red);
}

.phase-badge.build {
    background: rgba(158, 206, 106, 0.15);
    color: var(--green);
    border-color: var(--green);
}

.phase-badge.draft {
    background: rgba(187, 154, 247, 0.15);
    color: var(--purple);
    border-color: var(--purple);
}

.round-counter {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: auto;
    background: var(--bg-soft);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

#game-container {
    display: flex;
    flex: 1;
    gap: 20px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.sidebar-left {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sidebar-left .panel {
    flex-shrink: 0;
}

.sidebar-left .panel h3 {
    color: var(--text-muted);
    margin: 0 0 12px 0;
    font-size: 1em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-card {
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.player-card.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-md), 0 0 16px rgba(224, 175, 104, 0.25);
    background: var(--panel);
}

.player-card.draft-passed {
    opacity: 0.5;
}

.coins {
    font-size: 1.4em;
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    right: 12px;
    top: 12px;
}

.log-box {
    flex: 0 0 200px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.85em;
    background: var(--bg);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    line-height: 1.5;
}

.log-entry {
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
}

.log-entry span.hlt {
    color: var(--gold);
    font-weight: 600;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 8px;
    margin-top: 8px;
    padding: 0 5px;
}

.landmark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
    padding: 0 5px;
}

.card {
    border-radius: var(--radius-md);
    padding: 0;
    font-size: 0.9em;
    position: relative;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    width: clamp(70px, 14vw, 140px);
    aspect-ratio: 680 / 1069;
    height: auto;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transform-style: preserve-3d;
}

.card.disabled {
    opacity: 0.5;
    filter: grayscale(0.6);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.06) 35%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0.06) 65%,
        transparent 100%
    );
    transform: skewX(-20deg);
    filter: blur(4px);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover::before {
    opacity: 1;
    transition-delay: 0.25s;
    left: 160%;
    transition: opacity 0.25s ease, left 1.5s ease-in-out;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    pointer-events: none;
    z-index: 6;
}

.card:hover:not(.disabled) {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.card.disabled {
    filter: grayscale(70%) brightness(0.6);
    cursor: not-allowed;
}

.card-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card.blue {
    border: 2px solid rgba(122, 162, 247, 0.4);
}
.card.blue:hover:not(.disabled) {
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--blue);
}

.card.green {
    border: 2px solid rgba(158, 206, 106, 0.4);
}
.card.green:hover:not(.disabled) {
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--green);
}

.card.red {
    border: 2px solid rgba(247, 118, 142, 0.4);
}
.card.red:hover:not(.disabled) {
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--red);
}

.card.purple {
    border: 2px solid rgba(187, 154, 247, 0.4);
}
.card.purple:hover:not(.disabled) {
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--purple);
}

.card.landmark {
    border: 2px solid rgba(224, 175, 104, 0.4);
}

.card-price {
    position: absolute;
    bottom: 5.2%;
    left: 8.4%;
    width: 18%;
    pointer-events: auto;
    cursor: help;
    z-index: 10;
}

.card-price img {
    width: 100%;
    height: auto;
    display: block;
}

.card-price-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Besley', serif;
    font-size: clamp(0.7em, 2.5vw, 1.5em);
    font-weight: 900;
    color: #000;
    text-shadow: 0 0 3px rgba(255,255,255,0.8);
    white-space: nowrap;
}

.card-price-tooltip {
    position: fixed;
    background: var(--panel);
    backdrop-filter: blur(8px);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 12px 15px;
    box-shadow: var(--shadow-lg);
    width: 200px;
    color: var(--text);
    z-index: 5000;
    display: none;
    font-size: clamp(0.8em, 2vw, 1em);
    line-height: 1.5;
    pointer-events: none;
}

.card-price:hover + .card-price-tooltip,
.card-price-tooltip:hover {
    display: block;
}

.card-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.card-trigger {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.85em;
    font-weight: bold;
}

.card-stack-badge {
    background: #555;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 5px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 5px;
    width: max-content;
}

.inventory {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.85em;
}

.inv-item {
    padding: 4px 6px;
    border-radius: 4px;
    background: #111;
    border: 1px solid #444;
    font-weight: bold;
    cursor: help;
}

.inv-item.blue {
    color: var(--blue);
    border-color: var(--blue);
}

.inv-item.green {
    color: var(--green);
    border-color: var(--green);
}

.inv-item.red {
    color: var(--red);
    border-color: var(--red);
}

.inv-item.purple {
    color: var(--purple);
    border-color: var(--purple);
}

.inv-item.landmark {
    color: var(--gold);
    border-color: var(--gold);
    background: #332d1e;
}

.draft-order-bar {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    margin-top: 8px;
}

.draft-player-chip {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8em;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text-muted);
    min-height: 28px;
}

.draft-player-chip.active-chip {
    background: linear-gradient(135deg, var(--purple), #9b7dfa);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.draft-player-chip.passed-chip {
    background: var(--bg);
    color: var(--text-muted);
    opacity: 0.5;
    border-color: transparent;
    text-decoration: line-through;
}

.draft-order-bar > span:first-child {
    font-weight: 600;
    min-width: 60px;
    font-size: 0.85em;
}

.draft-arrow {
    color: var(--text-muted);
    font-size: 0.75em;
    font-weight: 600;
}

#card-tooltip {
    position: fixed;
    pointer-events: none;
    z-index: 3000;
    background: var(--panel);
    backdrop-filter: blur(8px);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    width: 260px;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    transform: translateY(5px);
}

#card-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#tt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

#tt-title {
    font-weight: 700;
    font-size: 1.15em;
    color: var(--gold);
}

#tt-trigger {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85em;
}

#tt-type {
    font-size: 0.75em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
}

#tt-desc {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text);
}

#card-tooltip.blue {
    border-color: var(--blue);
}

#card-tooltip.green {
    border-color: var(--green);
}

#card-tooltip.red {
    border-color: var(--red);
}

#card-tooltip.purple {
    border-color: var(--purple);
}

#card-tooltip.landmark {
    border-color: var(--gold);
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-right: 5px;
    justify-content: flex-start;
    min-width: 0;
    align-items: stretch;
}

.main .panel {
    margin-bottom: 0;
}

.main .market-grid,
.main .landmark-grid {
    display: grid;
    gap: 16px;
    padding: 8px;
    justify-content: start;
    align-items: start;
}

.main .market-grid {
    grid-template-columns: repeat(5, 1fr);
}

.main .landmark-grid {
    grid-template-columns: repeat(5, 1fr);
}

.main .market-grid .card {
    width: 100%;
    height: 100%;
}

.main .landmark-grid .card {
    width: 100%;
    height: 100%;
}

.card.placeholder {
    background: var(--panel) !important;
    border: none !important;
    cursor: default;
    pointer-events: none !important;
    box-shadow: none !important;
}

.card.placeholder::before,
.card.placeholder::after {
    display: none !important;
}

.main .panel {
    padding-bottom: 20px;
}

.panel {
    background: var(--panel);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.sidebar {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

