/* _content/Chazaey/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9ww7khp67t] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9ww7khp67t] {
    flex: 1;
}

.sidebar[b-9ww7khp67t] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-9ww7khp67t] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-9ww7khp67t]  a, .top-row[b-9ww7khp67t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-9ww7khp67t]  a:hover, .top-row[b-9ww7khp67t]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-9ww7khp67t]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-9ww7khp67t] {
        justify-content: space-between;
    }

    .top-row[b-9ww7khp67t]  a, .top-row[b-9ww7khp67t]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-9ww7khp67t] {
        flex-direction: row;
    }

    .sidebar[b-9ww7khp67t] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-9ww7khp67t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-9ww7khp67t]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-9ww7khp67t], article[b-9ww7khp67t] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-9ww7khp67t] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-9ww7khp67t] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Chazaey/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-eijzkkiy4u] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-eijzkkiy4u] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-eijzkkiy4u] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-eijzkkiy4u] {
    font-size: 1.1rem;
}

.bi[b-eijzkkiy4u] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-eijzkkiy4u] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-eijzkkiy4u] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-eijzkkiy4u] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-eijzkkiy4u] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-eijzkkiy4u] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-eijzkkiy4u] {
        padding-bottom: 1rem;
    }

    .nav-item[b-eijzkkiy4u]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-eijzkkiy4u]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-eijzkkiy4u]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-eijzkkiy4u] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-eijzkkiy4u] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-eijzkkiy4u] {
        display: none;
    }

    .nav-scrollable[b-eijzkkiy4u] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Chazaey/Components/Modules/CalendarModule.razor.rz.scp.css */


/* Container for the calendar */
.calendar-module[b-3ktcd3qh36] {
    width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

/* Header */
.calendar-header[b-3ktcd3qh36] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.calendar-title[b-3ktcd3qh36] {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.calendar-subtitle[b-3ktcd3qh36] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.calendar-window[b-3ktcd3qh36] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-error[b-3ktcd3qh36] {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
}

/* Empty state */
.calendar-empty[b-3ktcd3qh36] {
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.calendar-empty-title[b-3ktcd3qh36] {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.92);
}

.calendar-empty-subtitle[b-3ktcd3qh36] {
    font-size: 12px;
}

/* Day cards strip */
.day-strip[b-3ktcd3qh36] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
}

.day-card[b-3ktcd3qh36] {
    flex: 0 0 auto;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.day-name[b-3ktcd3qh36] {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-top: 5px;
    width: 100%;
    text-align: center;
}

/* Event list inside a day card */
.event-list[b-3ktcd3qh36] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px;
    overflow: hidden;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* Compact event row */
.event-row[b-3ktcd3qh36] {
    --tag-color: rgba(255, 255, 255, 0.10);
    padding: 0 5px;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 10px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--tag-color) 10%, rgba(255, 255, 255, 0.18));
    box-shadow: inset 0 0 8px 1px color-mix(in srgb, var(--tag-color) 10%, rgba(255, 255, 255, 0.18));
}

.event-main[b-3ktcd3qh36] {
    padding: 10px 10px 10px 10px;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-title[b-3ktcd3qh36] {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.94);
    overflow: visible;
    text-overflow: ellipsis;
    max-width: 240px;
}

.event-time[b-3ktcd3qh36] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    letter-spacing: 0.1px;
}

/* Calendar tag */
.event-meta[b-3ktcd3qh36] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.fade[b-3ktcd3qh36] {
    opacity: 0.5;
}

.cal-name-container[b-3ktcd3qh36] {
    --tag-color: #6EE7FF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12%;
    min-height: 100%;
    font-weight: 700;
    padding: 0;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--tag-color) 10%, rgba(255, 255, 255, 0.18));
    color: color-mix(in srgb, var(--tag-color) 70%, white);
    background: color-mix(in srgb, var(--tag-color) 10%, rgba(255, 255, 255, 0.02));
    border-bottom-left-radius: 14px;
    border-top-left-radius: 14px;
}

.event-bottom[b-3ktcd3qh36] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-width: 100%;
}

.event-cal[b-3ktcd3qh36] {
    --name-color: #6EE7FF;
    font-weight: 600;
    font-size: 12px;
    color: color-mix(in srgb, var(--tag-color) 50%, white);
}
/* _content/Chazaey/Components/Modules/Catonga/BoardModule.razor.rz.scp.css */
/* =========================
   Responsive pointy-top hex board (3-4-5-4-3)
   Everything is derived from one length: --board-w
   so it always scales as a single unit.
   ========================= */

*[b-wn46rnnbin], *[b-wn46rnnbin]::before, *[b-wn46rnnbin]::after {
    box-sizing: border-box;
}

/* Board geometry:
   Pointy-top hex:
     hexHeight = hexWidth * (2 / sqrt(3)) ≈ 1.154700538
   Row step (center-to-center) for pointy-top:
     rowStep = 0.75 * hexHeight
   For 5 rows, total board height = hexHeight + 4*rowStep = 4 * hexHeight
   Total board width = 5 * hexWidth
   So board aspect ratio (W/H) = (5W) / (4H) = 5 / (4*1.154700538) ≈ 1.082531754
*/
.boardWrap[b-wn46rnnbin] {
    --ratio: 1.082531754;
    /* Fit the whole board to the viewport while preserving geometry */
    --board-w: min(90cqw, calc(90cqw * var(--ratio)));
    --board-h: calc(var(--board-w) / var(--ratio));
    width: var(--board-w);
    height: var(--board-h);
    position: relative;
    padding-top: 5%;
}

.board[b-wn46rnnbin] {
    /* Single source of truth for tile sizing */
    --hex-w: calc(var(--board-w) / 5);
    --hex-h: calc(var(--hex-w) * 1.154700538);
    --row-step: calc(var(--hex-h) * 0.75);
    /* Visual overlap: make the image slightly larger than its layout box */
    --img-overlap: 1.03;
    /* Hit target tuning */
    --vertex-size: calc(var(--hex-w) * 0.12);
    --edge-len: calc(var(--hex-w) * 0.56);
    --edge-thick: clamp(2px, calc(var(--hex-w) * 0.08), 7px);
    /* Token tuning */
    --token-size: calc(var(--hex-w) * 0.30);
    --token-font: calc(var(--hex-w) * 0.12);
    /* Pip tuning (tighter than before) */
    --pip-size: calc(var(--token-size) * 0.10);
    --pip-gap: calc(var(--token-size) * 0.045); /* closer together */

    position: relative;
    width: 100%;
    height: 100%;
}

/* =========================
   ROWS
   ========================= */

.row[b-wn46rnnbin] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    height: var(--hex-h);
    width: calc(var(--hex-w) * var(--cols));
    top: calc(var(--row-step) * var(--r));
    gap: 0;
    flex-wrap: nowrap;
}

    /* Row definitions */
    .row.one[b-wn46rnnbin] {
        --cols: 3;
        --r: 0;
        z-index: 1;
    }

    .row.two[b-wn46rnnbin] {
        --cols: 4;
        --r: 1;
        z-index: 2;
    }

    .row.three[b-wn46rnnbin] {
        --cols: 5;
        --r: 2;
        z-index: 3;
    }

    .row.four[b-wn46rnnbin] {
        --cols: 4;
        --r: 3;
        z-index: 4;
    }

    .row.five[b-wn46rnnbin] {
        --cols: 3;
        --r: 4;
        z-index: 5;
    }

/* =========================
   TILE
   ========================= */

.tile[b-wn46rnnbin] {
    position: relative;
    width: var(--hex-w);
    height: var(--hex-h);
}

/* Hex image slightly larger so overlap is consistent */
.hex[b-wn46rnnbin] {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--hex-w) * var(--img-overlap));
    height: calc(var(--hex-h) * var(--img-overlap));
    transform: translate(-50%, -50%);
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

/* =========================
   Number token + pips (tighter vertical spacing)
   ========================= */

.num[b-wn46rnnbin] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--token-size);
    height: var(--token-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Reduced spacing between number and pip row */
    gap: calc(var(--token-size) * 0.02);
    font-family: Garamond;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: #efe98d;
    border: max(1px, calc(var(--hex-w) * 0.01)) solid #000;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
    z-index: 4;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .num:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) scale(1.05);
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
    }

    .num.now[b-wn46rnnbin] {
        animation: pulse-white-b-wn46rnnbin 0.8s ease-in-out infinite;
    }

.numValue[b-wn46rnnbin] {
    font-size: var(--token-font);
    color: #111;
    /* Slightly less lift than before (reduces perceived gap) */
    transform: translateY(2%);
}

.num.hot .numValue[b-wn46rnnbin] {
    color: #b21515;
}

.pips[b-wn46rnnbin] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--pip-gap);
    /* Pull pips up a touch to tighten number-to-pips spacing */
    transform: translateY(-8%);
}

.pip[b-wn46rnnbin] {
    width: var(--pip-size);
    height: var(--pip-size);
    border-radius: 999px;
    background: #111;
}

/* =========================
   Vertex overlays
   ========================= */

.vertex[b-wn46rnnbin] {
    position: absolute;
    width: var(--vertex-size);
    height: var(--vertex-size);
    border-radius: 999px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(0,0,0,0.20);
    border: 2px rgba(0,0,0,0.28) solid;
    z-index: 3;
    cursor: pointer;
    transition: all 0.2s ease;
    visibility: visible;
}
    .vertex.hidden[b-wn46rnnbin] {
        visibility: hidden;
    }

        .vertex:hover:not(:has(.house))[b-wn46rnnbin] {
            transform: translate(-50%, -50%) scale(1.5);
            background: rgba(0,0,0,0.18);
            border: 1px rgba(0,0,0,0.28) solid;
        }

    /* Vertex placements */
    .vertex.one[b-wn46rnnbin] {
        left: 50%;
        top: 0%;
    }

    .vertex.two[b-wn46rnnbin] {
        left: 100%;
        top: 25%;
    }

    .vertex.five[b-wn46rnnbin] {
        left: 100%;
        top: 75%;
    }

    .vertex.four[b-wn46rnnbin] {
        left: 50%;
        top: 100%;
    }

    .vertex.three[b-wn46rnnbin] {
        left: 0%;
        top: 75%;
    }

    .vertex.zero[b-wn46rnnbin] {
        left: 0%;
        top: 25%;
    }

    .vertex.null[b-wn46rnnbin] {
        display: none;
    }

/* =========================
   Edge overlays (FIXED)
   No CSS-variable rotation; each edge class sets full transform.
   This prevents “all stacked in center” regressions.
   ========================= */

.edge[b-wn46rnnbin] {
    position: absolute;
    width: var(--edge-len);
    height: var(--edge-thick);
    transform-origin: center;
    border-radius: 999px;
    background: rgba(0,0,0,0.10);
    border: 1px rgba(0,0,0,0.18) solid;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    /* Default position if no subclass (should never be used) */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: visible;
}

    .edge.hidden[b-wn46rnnbin] {
        visibility: hidden;
    }

    .edge:hover[b-wn46rnnbin] {
        background: rgba(0,0,0,0.16);
    }

    /* Edge placements + rotations + hover (each repeats rotate so transforms don't overwrite) */
    .edge.one[b-wn46rnnbin] {
        left: 75%;
        top: 12.5%;
        transform: translate(-50%, -50%) rotate(30deg);
    }

        .edge.one:hover[b-wn46rnnbin] {
            transform: translate(-50%, -50%) rotate(30deg) scaleY(2.0);
        }

    .edge.three[b-wn46rnnbin] {
        left: 100%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
    }

        .edge.three:hover[b-wn46rnnbin] {
            transform: translate(-50%, -50%) rotate(90deg) scaleY(2.0);
        }

    .edge.five[b-wn46rnnbin] {
        left: 75%;
        top: 87.5%;
        transform: translate(-50%, -50%) rotate(150deg);
    }

        .edge.five:hover[b-wn46rnnbin] {
            transform: translate(-50%, -50%) rotate(150deg) scaleY(2.0);
        }

    .edge.four[b-wn46rnnbin] {
        left: 25%;
        top: 87.5%;
        transform: translate(-50%, -50%) rotate(-150deg);
    }

        .edge.four:hover[b-wn46rnnbin] {
            transform: translate(-50%, -50%) rotate(-150deg) scaleY(2.0);
        }

    .edge.two[b-wn46rnnbin] {
        left: 0%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
    }

        .edge.two:hover[b-wn46rnnbin] {
            transform: translate(-50%, -50%) rotate(-90deg) scaleY(2.0);
        }

    .edge.zero[b-wn46rnnbin] {
        left: 25%;
        top: 12.5%;
        transform: translate(-50%, -50%) rotate(-30deg);
    }

        .edge.zero:hover[b-wn46rnnbin] {
            transform: translate(-50%, -50%) rotate(-30deg) scaleY(2.0);
        }

    .edge.null[b-wn46rnnbin] {
        display: none;
    }

.ocean[b-wn46rnnbin] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.boardBg[b-wn46rnnbin] {
    position: absolute;
    inset: 0;
    top: -14.5%;
    left: -18.5%;
    z-index: 0;
    pointer-events: none;
    background-image: url("images/catonga/tiles/board.svg");
    background-repeat: no-repeat;
    background-position: center;
    /* You adjust this */
    background-size: 100%;
    overflow: visible;
    width: 135%;
    height: 135%;
}

.harbor[b-wn46rnnbin] {
    position: absolute;
    transition: all 0.2s ease-in-out;
}
    .harbor:hover[b-wn46rnnbin] {
        transform: scale(1.1);
        cursor: pointer;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
    }

    .harbor img[b-wn46rnnbin] {
        height: 8cqw;
    }

    .harbor.zero[b-wn46rnnbin] {
        top: -12%;
        left: 16%;
    }

    .harbor.one[b-wn46rnnbin] {
        top: -13%;
        left: 55%;
    }

    .harbor.two[b-wn46rnnbin] {
        top: 25%;
        left: -4%;
    }

    .harbor.three[b-wn46rnnbin] {
        top: 8%;
        right: 7%;
    }

    .harbor.four[b-wn46rnnbin] {
        top: 48%;
        right: -12%;
    }

    .harbor.five[b-wn46rnnbin] {
        top: 67%;
        left: -5%;
    }

    .harbor.six[b-wn46rnnbin] {
        top: 88%;
        right: 7%;
    }

    .harbor.seven[b-wn46rnnbin] {
        top: 106%;
        left: 15%;
    }

    .harbor.eight[b-wn46rnnbin] {
        top: 108%;
        right: 39%;
    }

.house[b-wn46rnnbin] {
    visibility: visible;
    transform: scale(2);
    transition: all 0.25s ease;
}

.house:hover[b-wn46rnnbin] {
    transform: scale(2.2);
}


.road[b-wn46rnnbin] {
    visibility: visible;
    position: relative;
    height: 2px;
    width: calc(100% - 8px);
    justify-content: center;
    align-content: center;
    display: flex;
}

.r[b-wn46rnnbin] {
    position: absolute;
    visibility: visible;
    min-width: 100%;
    height: 10px;
    margin-left: 8px;
    flex: 1;
    box-shadow: 0px 0.1px 0px black, 0px 0.1px 0px black, 0.1px 0px 0px black, -0.1px 0px 0px black;
    width: fit-content;
    transition: all 0.25s ease;
}

.r:hover[b-wn46rnnbin] {
    transform: scaleY(1.3);
}

.robber[b-wn46rnnbin] {
    position: absolute;
    left: 80%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--token-size);
    height: var(--token-size);
    z-index: 4;
    cursor: pointer;
}

    .robber img[b-wn46rnnbin] {
        width: var(--token-size);
        height: var(--token-size);
        transition: all 0.25s ease-in-out;
        width: fit-content;
        filter: drop-shadow(0 0 1px black);
    }

        .robber img:hover[b-wn46rnnbin] {
            transform: scale(1.1);
            filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
        }

    .robber.pulse img[b-wn46rnnbin] {
        animation: robberPulse-b-wn46rnnbin 1.6s ease-in-out infinite;
        will-change: transform, filter;
    }

        /* Pause pulse on hover so hover scale feels crisp */
        .robber.pulse img:hover[b-wn46rnnbin] {
            animation-play-state: paused;
        }

/* ---- Keyframes ---- */
@keyframes robberPulse-b-wn46rnnbin {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 80, 80, 0.0));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 14px rgba(255, 80, 80, 0.55));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 80, 80, 0.0));
    }
}

@keyframes pulse-white-b-wn46rnnbin {
    0% {
        background-color: #efe98d;
    }

    30% {
        background-color: #ffffff;
    }

    60% {
        background-color: #efe98d;
    }

    100% {
        background-color: #efe98d;
    }
}

/* =========================
   Vertex hover "drop hint" arrow
   ========================= */

.vertex[b-wn46rnnbin] {
    overflow: visible; /* allow the hint to render outside the circle */
}

    .vertex[b-wn46rnnbin]::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: calc(100% + 6px); /* sits above the vertex */
        width: calc(var(--vertex-size) * 1.1);
        height: calc(var(--vertex-size) * 1.1);
        background: no-repeat center / contain;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v11'/%3E%3Cpath d='m7 13 5 5 5-5'/%3E%3C/svg%3E");
        opacity: 0;
        transform: translate(-50%, -8px) scale(0.92);
        filter: drop-shadow(0 6px 8px rgba(0,0,0,0.55));
        pointer-events: none;
        z-index: 6;
        transition: opacity 140ms ease;
    }

    .vertex:hover[b-wn46rnnbin]::after {
        opacity: 1;
        animation: vertexHintBob-b-wn46rnnbin 900ms ease-in-out infinite;
    }

@keyframes vertexHintBob-b-wn46rnnbin {
    0%, 100% {
        transform: translate(-50%, 5px) scale(0.95);
    }

    50% {
        transform: translate(-50%, 12px) scale(1.05);
    }
    /* "bobs down" toward the vertex */
}

/* =========================
   Edge hover arrow that rotates WITH the edge.
   Up/down bob becomes left/right at 90deg automatically.
   Also prevents arrow distortion from edge hover scaling.
   ========================= */

/* Make .edge a pure wrapper (position + rotation only) */
.edge[b-wn46rnnbin] {
    background: transparent !important;
    border: none !important;
    overflow: visible;
}

    /* Draw the actual bar on ::before so ONLY it scales on hover */
    .edge[b-wn46rnnbin]::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: rgba(0,0,0,0.10);
        border: 1px rgba(0,0,0,0.18) solid;
        transform-origin: center;
        transform: scaleY(1);
        transition: transform 0.2s ease, background 0.2s ease;
        z-index: 2;
    }

    .edge:hover[b-wn46rnnbin]::before {
        background: rgba(0,0,0,0.16);
        transform: scaleY(2.0);
    }

    /* IMPORTANT:
   Kill the old hover transforms that were scaling the whole wrapper.
   Keep only translate+rotate on hover (no scale), so arrow stays crisp. */
    .edge.zero:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) rotate(-30deg) !important;
    }

    .edge.one:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) rotate( 30deg) !important;
    }

    .edge.two:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) rotate(-90deg) !important;
    }

    .edge.three:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) rotate( 90deg) !important;
    }

    .edge.four:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) rotate(-150deg) !important;
    }

    .edge.five:hover[b-wn46rnnbin] {
        transform: translate(-50%, -50%) rotate(150deg) !important;
    }

    /* The arrow (inherits rotation from .edge wrapper) */
    .edge[b-wn46rnnbin]::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: calc(var(--edge-len) * 0.28);
        height: calc(var(--edge-len) * 0.28);
        background: no-repeat center / contain;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v11'/%3E%3Cpath d='m7 13 5 5 5-5'/%3E%3C/svg%3E");
        opacity: 0;
        pointer-events: none;
        z-index: 6;
        filter: drop-shadow(0 6px 8px rgba(0,0,0,0.55));
        /* Centered on edge, offset "up" in the edge's local coords.
       Because the parent is rotated, this offset rotates too. */
        transform: translate(-50%, -50%) translateY(-12px) scale(0.95);
        transition: opacity 140ms ease;
    }

    .edge:hover[b-wn46rnnbin]::after {
        opacity: 1;
        animation: edgeHintBobLocal-b-wn46rnnbin 900ms ease-in-out infinite;
    }

/* Bob in LOCAL Y axis.
   Parent rotation makes it bob in the rotated direction (90deg => left/right). */
@keyframes edgeHintBobLocal-b-wn46rnnbin {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(-18px) scale(0.95);
    }

    50% {
        transform: translate(-50%, -50%) translateY( -8px) scale(1.05);
    }
}


/* _content/Chazaey/Components/Modules/Catonga/Catonga.razor.rz.scp.css */
.all[b-rlaqdrl546] {
    overflow-x: hidden;
}
/* _content/Chazaey/Components/Modules/Catonga/CatongaGame.razor.rz.scp.css */

.full[b-zadx0icsap] {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    padding: 15rem;
    background-repeat: no-repeat;
    background-position: center;
    /* You adjust this */
    background-image: url("images/catonga/table.png");
    background-size: cover;
}

.board[b-zadx0icsap] {
    width: min(60vw, 70vh);
    /* pick one of these patterns */
    /* or: height: 100vh; */
    display: grid;
    place-items: center;
    container-type: size; /* now size is stable */
    z-index: 5;
}

.player-zero[b-zadx0icsap], .player-one[b-zadx0icsap] {
    --color: black;
    border: 1px solid black;
    position: absolute;
    height: fit-content;
    max-width: 30vw;
    max-height: 40vh;
    overflow: visible;
    padding: 1rem;
    padding-top: 0.2rem;
    gap: 0.5rem;
    border-radius: 25px;
    background: #9f9f9f3f;
    border: #4b3a27 3px solid;
    box-sizing: border-box;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

.player-two[b-zadx0icsap], .player-three[b-zadx0icsap] {
    --color: black;
    border: 1px solid black;
    position: absolute;
    height: fit-content;
    max-width: 30vw;
    max-height: 40vh;
    overflow: visible;
    padding: 1rem;
    padding-bottom: 0.2rem;
    gap: 0.5rem;
    border-radius: 25px;
    background: #9f9f9f3f;
    border: #4b3a27 3px solid;
    box-sizing: border-box;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-top: 3rem;
}

    .player-zero:hover[b-zadx0icsap], .player-one:hover[b-zadx0icsap], .player-two:hover[b-zadx0icsap], .player-three:hover[b-zadx0icsap] {
        z-index: 5;
    }

.player-one[b-zadx0icsap] {
    top: 15px;
    right: 15px;
}

.player-two[b-zadx0icsap] {
    bottom: 15px;
    left: 15px;
}

.player-three[b-zadx0icsap] {
    bottom: 15px;
    right: 15px;
}

.r-deck[b-zadx0icsap] {
    height: fit-content;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    overflow: visible;
    padding: 0 1rem;
    position: relative;
}

.p-header .r-deck[b-zadx0icsap] {
    width: 100%;
}

    .p-header .r-deck .r-card img[b-zadx0icsap] {
        width: 30px !important;
    }

.r-card[b-zadx0icsap] {
    position: relative;
    margin-left: -3vh; /* overlap amount */
    transform: rotate(5deg);
    z-index: 0;
    cursor: pointer;
    height: 7vh;
}

    .r-card:hover[b-zadx0icsap] {
        z-index: 1000;
    }

    .r-card:first-child[b-zadx0icsap] {
        margin-left: 0; /* prevent first card from shifting */
    }

    .r-card img[b-zadx0icsap] {
        height: 7vh;
        width: fit-content;
        transition: all 0.2s ease-in-out;
        border: 1px #454545d9 solid;
        border-radius: 5px;
        overflow: clip;
    }

        .r-card img:hover[b-zadx0icsap] {
            transform: scale(1.05) translateY(-5px);
            box-shadow: 0 5px 5px rgb(0, 0, 0, 0.31);
        }

    .r-card.dev.disabled[b-zadx0icsap] {
        cursor: not-allowed;
    }

.die-container[b-zadx0icsap] {
    height: 50px;
    width: 100%;
    overflow: hidden;
    transition: all 0.2s ease;
    transform: scale(2);
    cursor: pointer;
}

    .die-container:hover[b-zadx0icsap] {
        transform: scale(2.2);
    }

    .die-container.disabled[b-zadx0icsap] {
        cursor: not-allowed;
    }

.info-row.one-col[b-zadx0icsap] {
    grid-template-columns: auto;
}

.placing-title[b-zadx0icsap] {
    width: 100%;
    height: 100%;
    padding-top: 1rem;
    color: #efe98d;
    font-family: Garamond;
    font-size: 1.8rem;
    text-wrap: nowrap;
    line-height: 1px;
    font-weight: 800;
    text-align: center;
    align-content: center;
}

.robber[b-zadx0icsap] {
    position: relative;
    height: 40px;
    width: fit-content;
    box-shadow: 0 5px 5px rgb(0, 0, 0, 0.24);
    transition: all 0.25s ease;
}

    .robber img[b-zadx0icsap] {
        height: 40px;
        filter: drop-shadow(0 0 2px black);
    }

    .robber:hover[b-zadx0icsap] {
        transform: scale(1.2);
    }

.knights-played[b-zadx0icsap] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    pointer-events: none;
}

.hidden[b-zadx0icsap] {
    opacity: 0;
    height: 0;
    pointer-events: none;
}


.card-tooltip[b-zadx0icsap] {
    position: fixed; /* follow cursor in viewport coords */
    transform: translate3d(0,0,0);
    pointer-events: none; /* never blocks hover/click */
    z-index: 999999; /* above everything */
}

    .card-tooltip img[b-zadx0icsap] {
        display: block;
        width: 280px; /* "nice" size; adjust as desired */
        height: auto;
        border-radius: 10px;
        box-shadow: 0 14px 35px rgba(0,0,0,0.35);
        user-select: none;
    }

.info-header[b-zadx0icsap] {
    position: absolute;
    top: 1.5%;
    width: 35%;
    display: flex;
    flex-direction: column;
    height: 15%;
    justify-content: center;
    align-content: center;
    z-index: 10;
}

.num-row[b-zadx0icsap] {
    display: flex;
    height: 100%;
    padding: 0 20% 0 20%;
}

.info-row[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

    .info-row.hidden[b-zadx0icsap] {
        opacity: 0;
        height: 0;
        pointer-events: none;
    }

.development-deck[b-zadx0icsap] {
    position: absolute;
    left: 95.5%;
    top: 48%;
    height: 10%;
}

.devdeck[b-zadx0icsap] {
    position: relative;
    height: 100%;
    width: fit-content;
    padding-right: 65%;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .devdeck.empty[b-zadx0icsap] {
        cursor: not-allowed;
    }

    .devdeck:hover[b-zadx0icsap] {
        transform: scale(1.05);
    }

.resource-deck[b-zadx0icsap] {
    position: absolute;
    left: 10.5%;
    top: 48%;
    height: 10%;
}

.recdeck[b-zadx0icsap] {
    position: relative;
    height: 100%;
    padding-right: 65%;
    width: fit-content;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .recdeck:hover[b-zadx0icsap] {
        transform: scale(1.05);
    }

.dev1.none[b-zadx0icsap] {
    border: 1px black solid;
    background: #b7b7b753;
    border-radius: 5px;
    color: white;
    text-align: center;
    align-content: center;
    font-family: Garamond;
    font-size: 1rem;
    font-weight: 600;
}

.resource1[b-zadx0icsap], .resource2[b-zadx0icsap], .resource3[b-zadx0icsap], .resource4[b-zadx0icsap],
.dev1[b-zadx0icsap], .dev2[b-zadx0icsap], .dev3[b-zadx0icsap], .dev4[b-zadx0icsap] {
    position: absolute;
    height: 100%;
    border-radius: 8px;
    top: 0;
    right: 0;
    transform: scale(1.5);
    border: 0.5px #3e2b1c solid
}

.dev1[b-zadx0icsap], .dev2[b-zadx0icsap], .dev3[b-zadx0icsap], .dev4[b-zadx0icsap] {
    top: 0;
}

.resource2[b-zadx0icsap] {
    top: -3px;
}

.resource3[b-zadx0icsap] {
    top: -6px;
}

.resource4[b-zadx0icsap] {
    top: -9px;
}

.dev2[b-zadx0icsap] {
    top: -3px;
}

.dev3[b-zadx0icsap] {
    top: -6px;
}

.dev4[b-zadx0icsap] {
    top: -9px;
}

.info-header img[b-zadx0icsap] {
    border-radius: 5px;
    border: 1px #454545d9 solid;
}

.turn-col[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
}

.end-turn[b-zadx0icsap] {
    margin-top: 1rem;
    background: #714e4ebf;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 2px black solid;
    font-family: Garamond;
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.25s ease;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

    .end-turn:hover[b-zadx0icsap] {
        transform: scale(1.05);
        color: white;
    }

.start-trade[b-zadx0icsap] {
    margin-top: 1rem;
    background: #714e64bf;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 2px black solid;
    font-family: Garamond;
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.25s ease;
}

    .start-trade:hover[b-zadx0icsap] {
        transform: scale(1.05);
        color: white;
    }

.see-build[b-zadx0icsap] {
    margin-top: 1rem;
    background: #4e6e71bf;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 2px black solid;
    font-family: Garamond;
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.25s ease;
}

    .see-build:hover[b-zadx0icsap] {
        transform: scale(1.05);
        color: white;
    }

.roll-dice[b-zadx0icsap] {
    margin-top: 1rem;
    background: #8faa60bf;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 2px black solid;
    font-family: Garamond;
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.25s ease;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

    .roll-dice:hover[b-zadx0icsap] {
        transform: scale(1.05);
        color: white;
    }


/* --- Recdeck flip pulse --- */
.rec-flip[b-zadx0icsap] {
    animation: recFlip-b-zadx0icsap 320ms ease;
    transform-style: preserve-3d;
}

@keyframes recFlip-b-zadx0icsap {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(90deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/* --- Fly animation layer --- */
.fly-layer[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99999;
}

.fly-card[b-zadx0icsap] {
    position: fixed;
    width: 100px;
    height: 140px;
    transform: translate(0px, 0px);
    transition: transform 2s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
    opacity: 1;
}

    .fly-card.invisible[b-zadx0icsap] {
        opacity: 0;
    }

    .fly-card.go[b-zadx0icsap] {
        transform: translate(var(--dx), var(--dy)) scale(0.5);
    }

.fly-inner[b-zadx0icsap] {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 800ms ease;
}

    .fly-inner.flip[b-zadx0icsap] {
        transform: rotateY(180deg);
    }

.fly-face[b-zadx0icsap] {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px #454545d9 solid;
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
    backface-visibility: hidden;
}

    .fly-face.front[b-zadx0icsap] {
        position: absolute;
        inset: 0;
        transform: rotateY(180deg);
    }

.r-card.ghost[b-zadx0icsap] {
    opacity: 0;
    pointer-events: none;
}

/* =========================
   DEV CARD PLAYED OVERLAY
   ========================= */

.dev-play-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 250000;
    /* subtle focus */
    background: rgba(0,0,0,0.12);
    /* fade-out of the whole overlay */
    animation: devOverlayFadeOut-b-zadx0icsap var(--dev-fade) ease forwards;
    animation-delay: var(--dev-fade-start);
}

.dev-play-card[b-zadx0icsap] {
    width: 250px;
    height: auto;
    border-radius: 12px;
    border: 1px #454545d9 solid;
    box-shadow: 0 18px 55px rgba(0,0,0,0.55);
    transform-origin: center;
    /* slam + then fade */
    animation: devCardSlam-b-zadx0icsap var(--dev-slam) cubic-bezier(.12,.82,.18,1.02) forwards, devCardFadeOut-b-zadx0icsap var(--dev-fade) ease forwards;
    animation-delay: 0ms, var(--dev-fade-start);
}

.dev-play-title[b-zadx0icsap] {
    position: absolute;
    transform: translateY(-450px);
    font-family: Garamond;
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 6px 20px rgba(0,0,0,0.65);
    opacity: 0;
    animation: devTitleFadeIn-b-zadx0icsap var(--dev-title-in) ease forwards, devTitleFadeOut-b-zadx0icsap var(--dev-fade) ease forwards;
    animation-delay: var(--dev-title-delay), var(--dev-fade-start);
}

@keyframes devCardSlam-b-zadx0icsap {
    0% {
        transform: translateY(-120px) scale(2.0) rotate(-4deg);
        filter: brightness(1.05);
    }

    55% {
        /* accelerate down */
        transform: translateY(30px) scale(1.15) rotate(2deg);
        filter: brightness(1.0);
    }

    70% {
        /* impact/squash */
        transform: translateY(0px) scaleX(1.08) scaleY(0.92) rotate(0deg);
    }

    82% {
        /* rebound */
        transform: translateY(-12px) scale(1.28) rotate(-1deg);
    }

    100% {
        /* settle */
        transform: translateY(0px) scale(1.25) rotate(0deg);
    }
}

@keyframes devCardFadeOut-b-zadx0icsap {
    to {
        opacity: 0;
        transform: translateY(0px) scale(1.05);
    }
}

@keyframes devTitleFadeIn-b-zadx0icsap {
    from {
        opacity: 0;
        transform: translateY(-340px);
    }

    to {
        opacity: 1;
        transform: translateY(-300px);
    }
}

@keyframes devTitleFadeOut-b-zadx0icsap {
    to {
        opacity: 0;
        transform: translateY(-235px);
    }
}

@keyframes devOverlayFadeOut-b-zadx0icsap {
    to {
        opacity: 0;
    }
}

/* =========================
   TRADE MODAL — TABLE STYLE
   ========================= */

.trade-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 400000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.25), rgba(0,0,0,0.55)), rgba(0,0,0,0.45);
    backdrop-filter: blur(3px) saturate(90%);
    animation: tradeOverlayIn-b-zadx0icsap 180ms ease-out;
}

    .trade-overlay.dismiss[b-zadx0icsap] {
        animation: tradeOverlayOut-b-zadx0icsap 280ms ease forwards;
    }

.trade-modal[b-zadx0icsap] {
    width: min(760px, 92vw);
    border-radius: 22px;
    /* parchment + wood feel */
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: tradeModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

.trade-overlay.dismiss .trade-modal[b-zadx0icsap] {
    animation: tradeModalOut-b-zadx0icsap 260ms ease forwards;
}

/* ---------- TITLE ---------- */

.trade-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    border-bottom: 2px solid rgba(0,0,0,0.25);
    padding-bottom: 10px;
}

/* ---------- COLUMNS ---------- */

.trade-columns[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trade-col[b-zadx0icsap] {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(95,70,45,0.35), rgba(60,45,30,0.35));
    border: 2px solid rgba(0,0,0,0.45);
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.35), inset 0 -1px 2px rgba(255,255,255,0.08);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trade-col-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    color: #f2e6c9;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ---------- CARD STACK ---------- */

.trade-stack[b-zadx0icsap] {
    position: relative;
    height: 130px;
    display: grid;
    place-items: center;
}

.trade-card[b-zadx0icsap] {
    width: 88px;
    height: 122px;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0.6);
    box-shadow: 0 10px 18px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* layered stack */
.trade-stack .trade-card[b-zadx0icsap] {
    position: absolute;
    transition: all 0.25s ease-in-out;
}

    .trade-stack .trade-card:nth-child(1)[b-zadx0icsap] {
        transform: translateX(-25px) rotate(-12deg);
    }

    .trade-stack .trade-card:nth-child(2)[b-zadx0icsap] {
        transform: translateX(-8px) rotate(-6deg);
    }

    .trade-stack .trade-card:nth-child(3)[b-zadx0icsap] {
        transform: translateX(8px) rotate(3deg);
    }

    .trade-stack .trade-card:nth-child(4)[b-zadx0icsap] {
        transform: translateX(25px) rotate(9deg);
    }

    .trade-stack .trade-card:nth-child(1):hover[b-zadx0icsap] {
        transform: translateX(-25px) rotate(-12deg) scale(1.1) translateY(-10px);
    }

    .trade-stack .trade-card:nth-child(2):hover[b-zadx0icsap] {
        transform: translateX(-8px) rotate(-6deg) scale(1.1) translateY(-10px);
    }

    .trade-stack .trade-card:nth-child(3):hover[b-zadx0icsap] {
        transform: translateX(8px) rotate(3deg) scale(1.1) translateY(-10px);
    }

    .trade-stack .trade-card:nth-child(4):hover[b-zadx0icsap] {
        transform: translateX(25px) rotate(9deg) scale(1.1) translateY(-10px);
    }


.trade-empty[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

/* ---------- STATUS ROW ---------- */

.trade-status[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.trade-rejections[b-zadx0icsap] {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.trade-x[b-zadx0icsap] {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--px);
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 10px rgba(0,0,0,0.4);
}

    .trade-x.muted[b-zadx0icsap] {
        color: rgba(0,0,0,0.35);
        text-shadow: none;
        opacity: 0.35;
    }

.trade-accepted[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.5rem;
    font-weight: 800;
    color: #204b1c;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 8px rgba(0,0,0,0.45);
}

/* ---------- ACTIONS ---------- */

.trade-actions[b-zadx0icsap] {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
}

.trade-btn.cancel[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.45rem;
    font-weight: 900;
    padding: 8px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #a84b3b, #7d3024);
    border: 2px solid #3a1410;
    color: #f8e6d8;
    box-shadow: 0 6px 12px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    cursor: pointer;
}

    .trade-btn.cancel:hover[b-zadx0icsap] {
        transform: translateY(-1px);
    }

.trade-icon-btn[b-zadx0icsap] {
    width: 58px;
    height: 50px;
    border-radius: 14px;
    font-size: 1.7rem;
    font-weight: 900;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 2px solid rgba(0,0,0,0.65);
    box-shadow: 0 6px 12px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.25s ease;
}

    .trade-icon-btn:hover[b-zadx0icsap] {
        transform: scale(1.1);
    }

    .trade-icon-btn.accept[b-zadx0icsap] {
        background: linear-gradient(180deg, #6aa35b, #3f6d34);
        color: #eaffea;
    }

    .trade-icon-btn.reject[b-zadx0icsap] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        color: #ffeaea;
    }

.trade-actions-disabled[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.3rem;
    font-weight: 800;
    color: rgba(0,0,0,0.55);
}

/* ---------- ANIMATIONS ---------- */

@keyframes tradeOverlayIn-b-zadx0icsap {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes tradeOverlayOut-b-zadx0icsap {
    to {
        opacity: 0;
    }
}

@keyframes tradeModalIn-b-zadx0icsap {
    from {
        transform: translateY(12px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes tradeModalOut-b-zadx0icsap {
    to {
        transform: translateY(14px) scale(0.96);
        opacity: 0;
    }
}

/* =========================
   CREATE TRADE MODAL ADDON
   ========================= */

.create-trade-picker.plusminus[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 0 0;
}

.ct-row[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(0,0,0,0.16);
    border: 2px solid rgba(0,0,0,0.38);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.35);
}

.ct-icon[b-zadx0icsap] {
    width: 50px;
    height: 50px;
}

.ct-label[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.88);
}

.ct-qty[b-zadx0icsap] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn[b-zadx0icsap] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(0,0,0,0.55);
    color: rgba(255,255,255,0.9);
    box-shadow: 0 8px 14px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .qty-btn:hover[b-zadx0icsap] {
        transform: translateY(-1px);
    }

    .qty-btn:disabled[b-zadx0icsap] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.qty-val[b-zadx0icsap] {
    min-width: 28px;
    text-align: center;
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
}


.trade-modal.create-trade[b-zadx0icsap] {
    max-width: 860px;
}

.create-trade-subtitle[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.25rem;
    color: rgba(0,0,0,0.7);
    margin-top: -8px;
}

.create-trade-grid[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.create-trade-picker[b-zadx0icsap] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: center;
    justify-items: center;
}

.ct-pick[b-zadx0icsap] {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 16px;
    background: rgba(0,0,0,0.18);
    border: 2px solid rgba(0,0,0,0.45);
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.35), 0 8px 14px rgba(0,0,0,0.25);
    cursor: pointer;
    opacity: 0.5;
    transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

    .ct-pick img[b-zadx0icsap] {
        width: 52px;
        height: 52px;
        object-fit: contain;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
    }

    .ct-pick:hover[b-zadx0icsap] {
        transform: translateY(-1px);
    }

    .ct-pick.selected[b-zadx0icsap] {
        outline: 3px solid rgba(255,255,255,0.35);
        box-shadow: inset 0 3px 6px rgba(0,0,0,0.35), 0 12px 18px rgba(0,0,0,0.35);
        transform: scale(1.05);
        opacity: 1;
    }

        .ct-pick.selected:hover[b-zadx0icsap] {
            transform: scale(1.05) translateY(-1px);
        }

    .ct-pick.disabled[b-zadx0icsap] {
        opacity: 0.4;
        cursor: not-allowed;
        filter: grayscale(0.4);
    }

.ct-count[b-zadx0icsap] {
    position: absolute;
    right: 7px;
    bottom: 6px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(0,0,0,0.75);
    color: rgba(255,255,255,0.9);
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 22px;
    text-align: center;
    font-family: Garamond;
}

.create-trade-chips[b-zadx0icsap] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.chip[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.22);
    border: 2px solid rgba(0,0,0,0.45);
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    user-select: none;
    box-shadow: 0 8px 14px rgba(0,0,0,0.25);
}

.chip-x[b-zadx0icsap] {
    margin-left: 8px;
    opacity: 0.85;
}

/* give cards */
.create-trade-givehelp[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    color: rgba(255,255,255,0.75);
}

.create-trade-givelist[b-zadx0icsap] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 6px;
}

.give-card[b-zadx0icsap] {
    width: 72px;
    height: 100px;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.65);
    background: rgba(0,0,0,0.15);
    box-shadow: 0 10px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease, outline 120ms ease;
}

    .give-card img[b-zadx0icsap] {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: block;
    }

    .give-card:hover[b-zadx0icsap] {
        transform: translateY(-1px);
    }

    .give-card.picked[b-zadx0icsap] {
        outline: 3px solid rgba(255,255,255,0.35);
        filter: saturate(1.15);
    }

    .give-card.disabled[b-zadx0icsap] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.create-trade-selected[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-weight: 800;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

/* submit button variant */
.trade-btn.submit[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.45rem;
    font-weight: 900;
    padding: 8px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #6aa35b, #3f6d34);
    border: 2px solid #1f3a1b;
    color: #eaffea;
    box-shadow: 0 6px 12px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    cursor: pointer;
}

    .trade-btn.submit.disabled[b-zadx0icsap] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* =========================
   BUILDING MODAL
   ========================= */

.build-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 450000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.20), rgba(0,0,0,0.62)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
}

.build-modal[b-zadx0icsap] {
    width: min(750px, 80vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.build-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 20% 60% 20%;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.build-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.2rem;
    font-weight: 1000;
    color: #2a1a0f;
    text-decoration: underline;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    text-align: center;
}

.build-close[b-zadx0icsap] {
    position: absolute;
    right: 10px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .build-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.build-table[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.build-row[b-zadx0icsap] {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    padding: 12px 12px 12px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(95,70,45,0.22), rgba(60,45,30,0.22));
    border: 2px solid rgba(0,0,0,0.35);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 10px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

    .build-row:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 14px 22px rgba(0,0,0,0.24);
        filter: brightness(1.02);
    }

.build-left[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 10% 20% 50%;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.build-label[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2rem;
    min-width: 200px;
    font-weight: 900;
    text-wrap: nowrap;
    text-align: left;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.build-piece[b-zadx0icsap] {
    width: fit-content;
    height: 56px;
    place-items: center;
    border: none;
}

    .build-piece.road[b-zadx0icsap] {
        width: 65px;
        height: 10px;
        border: 0.5px black solid;
        transform: rotate(5deg);
    }

    .build-piece.card[b-zadx0icsap] {
        width: 60px;
        height: 56px;
        border-radius: 5px;
        background: transparent;
    }

.build-card-img[b-zadx0icsap] {
    width: fit-content;
    height: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.55);
}

.build-cost[b-zadx0icsap] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding-left: 10px;
    width: 100%;
}

.cost-icon[b-zadx0icsap] {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
    opacity: 0.95;
}

.build-cost.any4[b-zadx0icsap] {
    gap: 8px;
}

.cost-any[b-zadx0icsap] {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
}

    .cost-any circle[b-zadx0icsap] {
        fill: rgba(0,0,0,0.35);
        stroke: rgba(255,255,255,0.45);
        stroke-width: 1.5;
    }

    .cost-any path[b-zadx0icsap] {
        fill: none;
        stroke: rgba(255,255,255,0.85);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.cost-any-text[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    margin-left: 6px;
}

.build-hint[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(0,0,0,0.60);
    margin-top: 2px;
}

/* ---------- 2-screen stage swap ---------- */

.build-stage[b-zadx0icsap] {
    position: relative;
    min-height: 380px; /* prevents jump when swapping */
}

.build-screen[b-zadx0icsap] {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

    .build-screen.active[b-zadx0icsap] {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        position: relative; /* allow content height */
    }

/* ---------- Bank trade UI ---------- */

.robber-title[b-zadx0icsap] {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.bank-top[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    align-items: center;
    margin-bottom: 6px;
}

.bank-back[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.10);
    border: 2px solid rgba(0,0,0,0.28);
    cursor: pointer;
    transition: all 0.25s ease;
}

    .bank-back.hidden[b-zadx0icsap] {
        opacity: 0;
        pointer-events: none;
    }

.bank-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.9rem;
    font-weight: 1000;
    color: #2a1a0f;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.25);
    text-align: center;
}

.bank-sub[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.65);
    margin-bottom: 10px;
}

.bank-grid[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bank-panel[b-zadx0icsap] {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(95,70,45,0.22), rgba(60,45,30,0.22));
    border: 2px solid rgba(0,0,0,0.35);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 10px 18px rgba(0,0,0,0.18);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bank-panel-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.35rem;
    font-weight: 900;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    text-align: center;
}

.bank-hand[b-zadx0icsap] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-height: 220px;
    overflow: auto;
    padding: 6px 2px;
}

.bank-card[b-zadx0icsap] {
    width: 64px;
    height: 88px;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.55);
    background: rgba(0,0,0,0.12);
    box-shadow: 0 10px 18px rgba(0,0,0,0.25);
    cursor: pointer;
    padding: 0;
    transition: transform 120ms ease, outline 120ms ease, filter 120ms ease;
}

    .bank-card img[b-zadx0icsap] {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: block;
    }

    .bank-card:hover[b-zadx0icsap] {
        transform: translateY(-1px);
    }

    .bank-card.selected[b-zadx0icsap] {
        outline: 3px solid rgba(255,255,255,0.35);
        filter: saturate(1.15);
    }

.bank-empty[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.65);
    font-style: italic;
}

.bank-give-status[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    font-family: Garamond;
    font-weight: 900;
    color: rgba(255,255,255,0.85);
}

.bank-count[b-zadx0icsap] {
    opacity: 0.75;
    margin-left: 6px;
}

.bank-warn[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    color: #ffd2a8;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.bank-types[b-zadx0icsap] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.bank-type[b-zadx0icsap] {
    border-radius: 16px;
    border: 2px solid rgba(0,0,0,0.40);
    background: rgba(0,0,0,0.14);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.22), 0 10px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    padding: 10px 6px;
    transition: transform 120ms ease, outline 120ms ease, filter 120ms ease;
}

    .bank-type img[b-zadx0icsap] {
        width: 44px;
        height: 44px;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
    }

.bank-type-label[b-zadx0icsap] {
    margin-top: 6px;
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    text-align: center;
}

.bank-type:hover[b-zadx0icsap] {
    transform: translateY(-1px);
}

.bank-type.picked[b-zadx0icsap] {
    outline: 3px solid rgba(255,255,255,0.35);
    filter: saturate(1.15);
}

.bank-actions[b-zadx0icsap] {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

.bank-cancel[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 8px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #a84b3b, #7d3024);
    border: 2px solid #3a1410;
    color: #f8e6d8;
    cursor: pointer;
}

.bank-submit[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 8px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #6aa35b, #3f6d34);
    border: 2px solid #1f3a1b;
    color: #eaffea;
    cursor: pointer;
}

    .bank-submit.disabled[b-zadx0icsap] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.bank-success[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.25rem;
    font-weight: 900;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
}

.harbor-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 460000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.22), rgba(0,0,0,0.62)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
}

.harbor-modal[b-zadx0icsap] {
    position: relative;
    width: min(760px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Taller + scroll-safe */
    max-height: min(84vh, 900px);
    overflow: hidden;
}

    /* Make inner scrollers work properly */
    .harbor-modal > *[b-zadx0icsap] {
        min-height: 0;
    }

.harbor-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    align-items: center;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.harbor-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.1rem;
    font-weight: 1000;
    color: #2a1a0f;
    text-decoration: underline;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
}

.harbor-close[b-zadx0icsap] {
    position: absolute;
    right: 10px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .harbor-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.harbor-header[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

.harbor-img[b-zadx0icsap] {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,0.25));
}

.harbor-ratio[b-zadx0icsap], .harbor-sub[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(0,0,0,0.65);
    text-align: center;
}

.harbor-sub[b-zadx0icsap] {
    margin-top: 4px;
}

.harbor-give-row[b-zadx0icsap] {
    display: flex;
    justify-content: center;
}

.harbor-give[b-zadx0icsap] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.harbor-give-label[b-zadx0icsap], .harbor-give-count[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    color: rgba(0,0,0,0.65);
}

/* Give area shows more cards */
.harbor-modal .bank-hand[b-zadx0icsap] {
    max-height: 360px;
    overflow: auto;
}

/* Fade-in menu for typed harbors */
.harbor-want-menu[b-zadx0icsap] {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
}

    .harbor-want-menu.active[b-zadx0icsap] {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.bank-type.disabled[b-zadx0icsap] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Toast fade in/out */
.harbor-toast[b-zadx0icsap] {
    position: absolute;
    left: 50%;
    top: 86px;
    transform: translateX(-50%) translateY(-6px);
    opacity: 0;
    pointer-events: none;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(25, 15, 8, 0.82);
    color: rgba(255,255,255,0.92);
    font-family: Garamond;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
    transition: opacity 180ms ease, transform 180ms ease;
    max-width: 92%;
    text-align: center;
}

    .harbor-toast.show[b-zadx0icsap] {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

.harbor-empty[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(0,0,0,0.65);
    padding: 16px 0;
}

.harbor-hint[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
}

/* -------------------------
   Selection clarity (unselected dim)
   ------------------------- */
.harbor-card[b-zadx0icsap] {
    opacity: 0.72;
    filter: saturate(0.96);
    transition: transform 120ms ease, opacity 120ms ease, filter 120ms ease, outline 120ms ease;
}

    .harbor-card:hover[b-zadx0icsap] {
        opacity: 0.88;
        transform: translateY(-1px);
    }

    .harbor-card.picked[b-zadx0icsap] {
        opacity: 1;
        filter: saturate(1.20) brightness(1.05);
        outline: 3px solid rgba(255,255,255,0.42);
    }

    .harbor-card.disabled[b-zadx0icsap],
    .harbor-card:disabled[b-zadx0icsap] {
        opacity: 0.45;
        filter: grayscale(0.15);
        cursor: pointer;
    }



/* =========================
   GAME ENDED OVERLAY
   ========================= */

.end-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 600000; /* above your build/trade overlays */
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.20), rgba(0,0,0,0.70)), rgba(0,0,0,0.50);
    backdrop-filter: blur(3px) saturate(92%);
    animation: endOverlayIn-b-zadx0icsap 180ms ease-out;
}

.end-modal[b-zadx0icsap] {
    width: min(640px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: endModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

.end-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.4rem;
    font-weight: 1000;
    text-align: center;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.end-actions[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
}

.end-btn[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.35rem;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 120ms ease, filter 120ms ease;
}

    .end-btn:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .end-btn.view[b-zadx0icsap] {
        background: linear-gradient(180deg, #e0c48a, #b49b63);
        border-color: #5c4a2a;
        color: #2a1a0f;
    }

    .end-btn.end[b-zadx0icsap] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        border-color: #3a1410;
        color: #f8e6d8;
    }

.end-hint[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.05rem;
    font-weight: 800;
    color: rgba(0,0,0,0.55);
}

/* Peek overlay: blocks clicks but shows board */
.end-peek-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 600000; /* must be above board so it blocks clicks */
    background: rgba(0,0,0,0); /* invisible */
    cursor: pointer;
}

@keyframes endOverlayIn-b-zadx0icsap {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes endModalIn-b-zadx0icsap {
    from {
        transform: translateY(12px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.robber-title[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    filter: drop-shadow(0 6px 6px rgba(0,0,0,0.45));
    color: white;
    font-family: Garamond;
    font-weight: 900;
    text-align: center;
    animation: endModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

/* =========================
   BUY DEV CARD MODAL
   ========================= */

.buydev-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 460000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.62)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
    animation: buydevOverlayIn-b-zadx0icsap 180ms ease-out;
}

.buydev-modal[b-zadx0icsap] {
    width: min(560px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: buydevModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

.buydev-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.buydev-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.05rem;
    font-weight: 1000;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    text-align: center;
}

.buydev-close[b-zadx0icsap] {
    position: absolute;
    right: 10px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .buydev-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.buydev-sub[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(0,0,0,0.70);
}

.buydev-cost[b-zadx0icsap] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

.buydev-icon[b-zadx0icsap] {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
    opacity: 0.95;
}

.buydev-actions[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.buydev-btn[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.35rem;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 120ms ease, filter 120ms ease;
}

    .buydev-btn:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .buydev-btn.cancel[b-zadx0icsap] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        border-color: #3a1410;
        color: #f8e6d8;
    }

    .buydev-btn.buy[b-zadx0icsap] {
        background: linear-gradient(180deg, #6aa35b, #3f6d34);
        border-color: #1f3a1b;
        color: #eaffea;
    }

    .buydev-btn.disabled[b-zadx0icsap] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.buydev-msg[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.15rem;
    font-weight: 900;
    color: rgba(0,0,0,0.65);
}

@keyframes buydevOverlayIn-b-zadx0icsap {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes buydevModalIn-b-zadx0icsap {
    from {
        transform: translateY(12px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* =========================
   PLAY DEV CONFIRM MODAL
   ========================= */

.playdev-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 460500;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.62)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
    animation: playdevOverlayIn-b-zadx0icsap 180ms ease-out;
}

.playdev-modal[b-zadx0icsap] {
    width: min(520px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: playdevModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

.playdev-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.playdev-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.05rem;
    font-weight: 1000;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    text-align: center;
}

.playdev-close[b-zadx0icsap] {
    position: absolute;
    right: 10px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .playdev-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.playdev-cardwrap[b-zadx0icsap] {
    display: grid;
    place-items: center;
    padding: 6px 0 2px;
}

.playdev-cardimg[b-zadx0icsap] {
    width: 240px;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.55);
    box-shadow: 0 18px 55px rgba(0,0,0,0.45);
    user-select: none;
}

.playdev-actions[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.playdev-btn[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.35rem;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 120ms ease, filter 120ms ease;
}

    .playdev-btn:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .playdev-btn.cancel[b-zadx0icsap] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        border-color: #3a1410;
        color: #f8e6d8;
    }

    .playdev-btn.confirm[b-zadx0icsap] {
        background: linear-gradient(180deg, #6aa35b, #3f6d34);
        border-color: #1f3a1b;
        color: #eaffea;
    }

.playdev-msg[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.15rem;
    font-weight: 900;
    color: rgba(0,0,0,0.65);
}

@keyframes playdevOverlayIn-b-zadx0icsap {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes playdevModalIn-b-zadx0icsap {
    from {
        transform: translateY(12px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* =========================
   MONOPOLY MODAL
   ========================= */

.mono-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 460600;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.62)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
    animation: monoOverlayIn-b-zadx0icsap 180ms ease-out;
}

.mono-modal[b-zadx0icsap] {
    width: min(620px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: monoModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

.mono-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.mono-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.05rem;
    font-weight: 1000;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    text-align: center;
}

.mono-close[b-zadx0icsap] {
    position: absolute;
    right: 10px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .mono-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.mono-sub[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.65);
    margin-top: -4px;
}

.mono-types[b-zadx0icsap] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
    margin-top: 2px;
}

.mono-type[b-zadx0icsap] {
    border-radius: 16px;
    border: 2px solid rgba(0,0,0,0.40);
    background: rgba(0,0,0,0.14);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.22), 0 10px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    padding: 10px 6px;
    transition: transform 120ms ease, outline 120ms ease, filter 120ms ease;
}

    .mono-type img[b-zadx0icsap] {
        width: 44px;
        height: 44px;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
    }

.mono-type-label[b-zadx0icsap] {
    margin-top: 6px;
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    text-align: center;
}

.mono-type:hover[b-zadx0icsap] {
    transform: translateY(-1px);
}

.mono-type.picked[b-zadx0icsap] {
    outline: 3px solid rgba(255,255,255,0.35);
    filter: saturate(1.15);
}

.mono-actions[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.mono-btn[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.35rem;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 120ms ease, filter 120ms ease;
}

    .mono-btn:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .mono-btn.cancel[b-zadx0icsap] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        border-color: #3a1410;
        color: #f8e6d8;
    }

    .mono-btn.confirm[b-zadx0icsap] {
        background: linear-gradient(180deg, #6aa35b, #3f6d34);
        border-color: #1f3a1b;
        color: #eaffea;
    }

    .mono-btn.disabled[b-zadx0icsap] {
        opacity: 0.55;
        cursor: not-allowed;
    }

@keyframes monoOverlayIn-b-zadx0icsap {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes monoModalIn-b-zadx0icsap {
    from {
        transform: translateY(12px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* =========================
   YEAR OF PLENTY MODAL
   ========================= */

.yop-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 460650;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.62)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
    animation: yopOverlayIn-b-zadx0icsap 180ms ease-out;
}

.yop-modal[b-zadx0icsap] {
    width: min(660px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: yopModalIn-b-zadx0icsap 220ms cubic-bezier(.2,.9,.2,1);
}

.yop-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.yop-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.05rem;
    font-weight: 1000;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
    text-align: center;
}

.yop-close[b-zadx0icsap] {
    position: absolute;
    right: 10px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .yop-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.yop-sub[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.65);
    margin-top: -4px;
}

.yop-picks[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.yop-pick[b-zadx0icsap] {
    border-radius: 16px;
    background: rgba(0,0,0,0.10);
    border: 2px solid rgba(0,0,0,0.22);
    padding: 10px 12px;
    text-align: center;
}

.yop-pick-label[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(0,0,0,0.65);
}

.yop-pick-value[b-zadx0icsap] {
    margin-top: 2px;
    font-family: Garamond;
    font-weight: 1000;
    font-size: 1.35rem;
    color: #2a1a0f;
}

.yop-types[b-zadx0icsap] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
    margin-top: 2px;
}

.yop-type[b-zadx0icsap] {
    position: relative;
    border-radius: 16px;
    border: 2px solid rgba(0,0,0,0.40);
    background: rgba(0,0,0,0.14);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.22), 0 10px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    padding: 10px 6px;
    transition: transform 120ms ease, outline 120ms ease, filter 120ms ease;
}

    .yop-type img[b-zadx0icsap] {
        width: 44px;
        height: 44px;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35));
    }

.yop-type-label[b-zadx0icsap] {
    margin-top: 6px;
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    text-align: center;
}

.yop-type:hover[b-zadx0icsap] {
    transform: translateY(-1px);
}

.yop-type.picked[b-zadx0icsap] {
    outline: 3px solid rgba(255,255,255,0.35);
    filter: saturate(1.15);
}

.yop-badges[b-zadx0icsap] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
}

.yop-badge[b-zadx0icsap] {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(0,0,0,0.75);
    border: 2px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.95);
    font-family: Garamond;
    font-weight: 1000;
    font-size: 0.95rem;
    line-height: 18px;
    display: grid;
    place-items: center;
}

.yop-actions[b-zadx0icsap] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.yop-btn[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.35rem;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 120ms ease, filter 120ms ease;
}

    .yop-btn:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .yop-btn.cancel[b-zadx0icsap] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        border-color: #3a1410;
        color: #f8e6d8;
    }

    .yop-btn.confirm[b-zadx0icsap] {
        background: linear-gradient(180deg, #6aa35b, #3f6d34);
        border-color: #1f3a1b;
        color: #eaffea;
    }

    .yop-btn.disabled[b-zadx0icsap] {
        opacity: 0.55;
        cursor: not-allowed;
    }

@keyframes yopOverlayIn-b-zadx0icsap {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes yopModalIn-b-zadx0icsap {
    from {
        transform: translateY(12px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* =========================
   DISCARD MODAL
   ========================= */

.discard-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 600000; /* above build/trade */
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at center, rgba(0,0,0,0.22), rgba(0,0,0,0.66)), rgba(0,0,0,0.46);
    backdrop-filter: blur(3px) saturate(92%);
}

.discard-modal[b-zadx0icsap] {
    width: min(880px, 94vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.98), rgba(226,215,190,0.98));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.discard-title-row[b-zadx0icsap] {
    border-bottom: 2px solid rgba(0,0,0,0.20);
    padding-bottom: 10px;
}

.discard-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 2.2rem;
    font-weight: 1000;
    color: #2a1a0f;
    text-decoration: underline;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.25);
    text-align: center;
}

.discard-sub[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(0,0,0,0.65);
}

.discard-status[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.2rem;
    font-weight: 900;
    color: rgba(0,0,0,0.72);
}

.discard-warn[b-zadx0icsap] {
    margin-left: 8px;
    color: rgba(110, 35, 20, 0.85);
}

.discard-grid[b-zadx0icsap] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 6px;
    max-height: min(52vh, 420px);
    overflow: auto;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(95,70,45,0.18), rgba(60,45,30,0.18));
    border: 2px solid rgba(0,0,0,0.25);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.14);
}

.discard-card[b-zadx0icsap] {
    width: 74px;
    height: 104px;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.60);
    background: rgba(0,0,0,0.12);
    box-shadow: 0 10px 18px rgba(0,0,0,0.20);
    cursor: pointer;
    padding: 0;
    transition: transform 120ms ease, filter 120ms ease, outline 120ms ease, opacity 120ms ease;
}

    .discard-card img[b-zadx0icsap] {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: block;
    }

    .discard-card:hover[b-zadx0icsap] {
        transform: translateY(-1px);
    }

    .discard-card.picked[b-zadx0icsap] {
        outline: 3px solid rgba(255,255,255,0.38);
        filter: saturate(1.15);
    }

    .discard-card.disabled[b-zadx0icsap] {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .discard-card:disabled[b-zadx0icsap] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.discard-actions[b-zadx0icsap] {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.discard-submit[b-zadx0icsap] {
    font-family: Garamond;
    font-weight: 1000;
    font-size: 1.35rem;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #6aa35b, #3f6d34);
    border: 2px solid #1f3a1b;
    color: #eaffea;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
    transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
}

    .discard-submit:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .discard-submit.disabled[b-zadx0icsap],
    .discard-submit:disabled[b-zadx0icsap] {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.discard-note[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.05rem;
    font-weight: 800;
    color: rgba(0,0,0,0.55);
    margin-top: 2px;
}

.discard-empty[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.70);
    font-style: italic;
    padding: 10px 6px;
}

/* Default: unselected cards are slightly opaque */
.discard-card[b-zadx0icsap] {
    opacity: 0.72; /* <-- key change */
    filter: saturate(0.95);
}

    /* Selected: fully opaque + more vivid */
    .discard-card.picked[b-zadx0icsap] {
        opacity: 1;
        filter: saturate(1.20) brightness(1.05);
        outline: 3px solid rgba(255,255,255,0.42);
    }

    /* Hover: small lift + a touch more visibility (still less than picked) */
    .discard-card:hover[b-zadx0icsap] {
        opacity: 0.86;
        transform: translateY(-1px);
    }

    /* Disabled remains clearly disabled */
    .discard-card.disabled[b-zadx0icsap],
    .discard-card:disabled[b-zadx0icsap] {
        opacity: 0.45;
        filter: grayscale(0.15);
        cursor: not-allowed;
    }

/* =========================
   PLAYER PANELS (p1..player-three)
   ========================= */

/* tuning knobs */
:root[b-zadx0icsap] {
    --player-panel-w: clamp(360px, 24vw, 560px);
    --player-panel-pad: clamp(10px, 1.2vw, 16px);
    --hand-card-w: clamp(62px, 3.6vw, 92px);
    --mini-card-w: clamp(44px, 2.6vw, 64px);
    --card-radius: 10px;
}

.full[b-zadx0icsap] {
    padding: clamp(1rem, 4vw, 6rem); /* was 15rem */
}

.player-zero[b-zadx0icsap], .player-one[b-zadx0icsap] {
    --color: #777;
    position: absolute;
    width: var(--player-panel-w);
    max-width: 28vw;
    min-width: 400px;
    padding: var(--player-panel-pad);
    border-radius: 22px;
    /* match your modal “parchment/wood” vibe */
    background: linear-gradient(180deg, rgba(245,238,220,0.7), rgba(214,198,172,0.7));
    border: 3px solid #3e2b1c;
    box-shadow: 0 18px 55px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px) saturate(1.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
    overflow: visible;
}

.player-two[b-zadx0icsap], .player-three[b-zadx0icsap] {
    --color: #777;
    position: absolute;
    width: var(--player-panel-w);
    max-width: 28vw;
    min-width: 400px;
    padding: var(--player-panel-pad);
    border-radius: 22px;
    /* match your modal “parchment/wood” vibe */
    background: linear-gradient(180deg, rgba(245,238,220,0.7), rgba(214,198,172,0.7));
    border: 3px solid #3e2b1c;
    box-shadow: 0 18px 55px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px) saturate(1.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    overflow: visible;
}

/* Player color “ribbon” */
.player-zero[b-zadx0icsap]::before, .player-one[b-zadx0icsap]::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 5px;
    height: 6px;
    border-radius: 999px;
    background: var(--color);
    opacity: 0.4;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.player-two[b-zadx0icsap]::before, .player-three[b-zadx0icsap]::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 6px;
    border-radius: 999px;
    background: var(--color);
    opacity: 0.4;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* Active turn highlight (only works if you add the .active class via markup) */
.player-panel.active[b-zadx0icsap] {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.18), 0 0 0 5px color-mix(in srgb, var(--color) 70%, transparent), 0 26px 75px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.18);
}

/* Corner positioning with breathing room */
.player-zero[b-zadx0icsap] {
    top: 15px;
    left: 15px;
}



    /* Username cleanup */
    .player-zero .username[b-zadx0icsap], .player-one .username[b-zadx0icsap] {
        margin-top: 8px; /* clears the ribbon */
        width: 100%;
        text-align: center;
        font-family: Garamond;
        font-weight: 900;
        font-size: clamp(1.5rem, 1.25vw, 2rem);
        color: #2a1a0f;
        text-decoration: none; /* ditch underline; use a rule instead */
        letter-spacing: 0.04em;
        text-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 3px 10px rgba(0,0,0,0.25);
    }

.player-two .username[b-zadx0icsap], .player-three .username[b-zadx0icsap] {
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
    font-family: Garamond;
    font-weight: 1000;
    font-size: clamp(1.5rem, 1.25vw, 2rem);
    color: #2a1a0f;
    text-decoration: none; /* ditch underline; use a rule instead */
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 3px 10px rgba(0,0,0,0.25);
}



/* Header grid: specials | robber | dice */
.player-zero .p-header[b-zadx0icsap], .player-one .p-header[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px solid rgba(0,0,0,0.20);
}

.player-two .p-header[b-zadx0icsap], .player-three .p-header[b-zadx0icsap] {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    border-top: 2px solid rgba(0,0,0,0.20);
    margin-top: 8px;
    flex-direction: column-reverse;
}

.player-two.player-panel[b-zadx0icsap], .player-three.player-panel[b-zadx0icsap] {
    display: flex;
    flex-direction: column-reverse;
}

.card-view[b-zadx0icsap] {
    display: flex;
    display: relative;
    flex-wrap: nowrap;
    transition: all 0.3s ease-in-out;
    max-height: 50px;
    width: 100%;
    opacity: 1;
}

    .card-view.hidden[b-zadx0icsap] {
        height: 0;
        opacity: 0;
    }

.p-subheader.d[b-zadx0icsap] {
    display: flex;
    width: 100%;
    max-height: 60px;
}

.s-deck[b-zadx0icsap] {
    display: grid;
    padding: 0 1rem 0 1rem;
    grid-template-columns: 15% 15% 15% 15% 15% 15%;
    height: 60px;
    width: 100%;
}

.s-card[b-zadx0icsap] {
    position: relative;
    height: 60px;
    width: auto;
}

    .s-card img[b-zadx0icsap] {
        height: 60px;
        width: auto;
    }

    .card-count[b-zadx0icsap] {
        position: absolute;
        top: 0;
        width: 15px;
        height: 15px;
        border-radius: 9999px;
        background: #ef3e3eb7;
        text-align: center;
        font-size: 0.6rem;
        border: 1px solid black;
        box-shadow: 0 5px 5px rgb(0, 0, 0, 0.51);
        font-weight: 800;
        right: 20%;
        user-select: none;
    }

/* --------- Deck layout (STOP the messy overlap/rotation) --------- */

/* kill the forced tiny special cards */


/* =========================
   ROB PICKER MODAL
   ========================= */

.robpick-overlay[b-zadx0icsap] {
    position: fixed;
    inset: 0;
    z-index: 470000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.55)), rgba(0,0,0,0.40);
    backdrop-filter: blur(3px) saturate(92%);
}

.robpick-modal[b-zadx0icsap] {
    width: min(520px, 92vw);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 32px 100px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 16px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.robpick-title-row[b-zadx0icsap] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
}

.robpick-title[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.75rem;
    font-weight: 1000;
    color: #2a1a0f;
    text-align: center;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.25);
}

.robpick-close[b-zadx0icsap] {
    position: absolute;
    right: 8px;
    width: 42px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}

    .robpick-close:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

.robpick-list[b-zadx0icsap] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(320px, 55vh);
    overflow: auto;
    padding: 2px;
}

.robpick-row[b-zadx0icsap] {
    --pcolor: #777;
    width: 100%;
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(95,70,45,0.22), rgba(60,45,30,0.22));
    border: 2px solid rgba(0,0,0,0.35);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 10px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

    .robpick-row:hover[b-zadx0icsap] {
        transform: translateY(-1px);
        filter: brightness(1.02);
        box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 14px 22px rgba(0,0,0,0.24);
    }

.robpick-dot[b-zadx0icsap] {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--pcolor);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    border: 1px solid rgba(0,0,0,0.35);
}

.robpick-name[b-zadx0icsap] {
    font-family: Garamond;
    font-size: 1.45rem;
    font-weight: 900;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.robpick-empty[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(0,0,0,0.62);
    padding: 10px 0;
}

.robpick-hint[b-zadx0icsap] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
}
/* _content/Chazaey/Components/Modules/Catonga/DiceModule.razor.rz.scp.css */
/* Root fills parent; all sizing derives from the nearest size container. */
.dice-root[b-f2q8p1qvnb] {
    width: 100%;
    height: 100%;
    place-items: center;
    /* Makes this element the "query container" for cqw/cqh. */
    container-type: size;
}

/* Square card that fits inside whatever parent gives (even if parent isn't square). */
.card[b-f2q8p1qvnb] {
    width: 100%;
    height: 100%;
    /* Master size scalar for the component. */
    --u: min(100cqw, 100cqh);
    /* Layout sizing */
    --pad: calc(var(--u) * 0.06);
    --gap: calc(var(--u) * 0.05);
    /* Dice sizing (tuned to fit 2 dice + button + result inside square) */
    --dice: calc(var(--u) * 0.35);
    --dice-gap: calc(var(--u) * 0.11);
    --half: calc(var(--dice) / 2);
    /* Typography sizing */
    --result-size: clamp(16px, calc(var(--u) * 0.18), 84px);
    --sub-size: clamp(10px, calc(var(--u) * 0.045), 18px);
    --btn-font: clamp(10px, calc(var(--u) * 0.04), 16px);
    --letter: clamp(1px, calc(var(--u) * 0.01), 6px);
    /* Button sizing */
    --btn-w: calc(var(--u) * 0.44);
    --btn-h: calc(var(--u) * 0.18);
    --btn-r: calc(var(--btn-h) / 2);
    /* Pips */
    --pip: clamp(2px, calc(var(--dice) * 0.13), 14px);
    --pip-pad: calc(var(--dice) * 0.18);
    --pip-gap: calc(var(--dice) * 0.16);
    position: relative;
    align-items: center;
    justify-items: center;
    gap: var(--gap);
    padding: var(--pad);
    transform-style: preserve-3d;
    border: none;
    background: transparent;
    z-index: 1;
}

    .card *[b-f2q8p1qvnb] {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

/* Dice stage */
.dice-area[b-f2q8p1qvnb] {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: var(--dice) calc(2 * var(--dice)) var(--dice);
    align-items: center;
    justify-content: center;
    gap: var(--dice-gap);
    transform-style: preserve-3d;
    position: relative;
    z-index: 10;
    perspective: calc(var(--u) * 2);
    cursor: not-allowed;

}

.dice-area.active[b-f2q8p1qvnb] {
    cursor: pointer;
}

/* Wrapper gives "top-up" camera feel; dice itself rotates to show the top face. */
.dice-wrap[b-f2q8p1qvnb] {
    width: var(--dice);
    height: var(--dice);
    transform-style: preserve-3d;
    transform: rotateX(-70deg) rotateY(35deg);
    transition: all 0.2s ease;
}

.dice-area:hover .dice-wrap.active[b-f2q8p1qvnb] {
    transform: scale(1.2) rotateX(-70deg) rotateY(35deg);
}

.dice-wrap.active .dice .face[b-f2q8p1qvnb] {
    opacity: 1;
}

.dice[b-f2q8p1qvnb] {
    width: var(--dice);
    height: var(--dice);
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(var(--final-rx, 0deg)) rotateY(var(--final-ry, 0deg));
    transition: transform 650ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card.rolling .dice[b-f2q8p1qvnb] {
    animation: roll-b-f2q8p1qvnb 0.9s linear infinite !important;
    transition: none;
}

.card.rolling .dice2[b-f2q8p1qvnb] {
    animation-duration: 0.75s !important;
}

@keyframes roll-b-f2q8p1qvnb {
    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Faces scale with dice */
.face[b-f2q8p1qvnb] {
    position: absolute;
    width: var(--dice);
    height: var(--dice);
    background: linear-gradient(145deg, #fff 0%, #f8f8f8 50%, #f2f2f2 100%);
    border: calc(var(--u) * 0.002) solid rgba(0, 0, 0, 0.2);
    border-radius: calc(var(--dice) * 0.09);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    display: flex;
    opacity: 0.6;
    align-items: center;
    justify-content: center;
    box-shadow: inset calc(var(--u) * 0.008) calc(var(--u) * 0.008) calc(var(--u) * 0.02) rgba(0, 0, 0, 0.08), inset calc(var(--u) * -0.008) calc(var(--u) * -0.008) calc(var(--u) * 0.02) rgba(0, 0, 0, 0.08), 0 calc(var(--u) * 0.006) calc(var(--u) * 0.02) rgba(0, 0, 0, 0.2);
}

    .face[b-f2q8p1qvnb]::before {
        content: "";
        position: absolute;
        inset: calc(var(--u) * 0.003);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
        border-radius: calc(var(--dice) * 0.085);
        pointer-events: none;
    }

/* 3D cube positioning uses var(--half) */
.front[b-f2q8p1qvnb] {
    transform: rotateY(0deg) translateZ(var(--half));
}

.back[b-f2q8p1qvnb] {
    transform: rotateY(180deg) translateZ(var(--half));
}

.right[b-f2q8p1qvnb] {
    transform: rotateY(90deg) translateZ(var(--half));
}

.left[b-f2q8p1qvnb] {
    transform: rotateY(-90deg) translateZ(var(--half));
}

.top[b-f2q8p1qvnb] {
    transform: rotateX(90deg) translateZ(var(--half));
}

.bottom[b-f2q8p1qvnb] {
    transform: rotateX(-90deg) translateZ(var(--half));
}

/* Pip layout scales */
.dots[b-f2q8p1qvnb] {
    display: grid;
    padding: var(--pip-pad);
    gap: var(--pip-gap);
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.face[data-value="1"] .dots[b-f2q8p1qvnb] {
    grid-template: 1fr / 1fr;
    place-items: center;
}

.face[data-value="2"] .dots[b-f2q8p1qvnb] {
    grid-template: 1fr 1fr / 1fr;
    place-items: center;
}

.face[data-value="3"] .dots[b-f2q8p1qvnb] {
    grid-template: 1fr 1fr 1fr / 1fr;
    place-items: center;
    transform: translateY(-1.5px);
}

.face[data-value="4"] .dots[b-f2q8p1qvnb] {
    grid-template: 1fr 1fr / 1fr 1fr;
}

.face[data-value="5"] .dots[b-f2q8p1qvnb] {
    grid-template: 1fr 1fr 1fr / 1fr 1fr;
    transform: translateY(-1px);
}

.face[data-value="6"] .dots[b-f2q8p1qvnb] {
    grid-template: 25% 25% 25% / 1fr 1fr;
    transform: translateY(-1.5px);
}

.face[data-value="5"] .dots span:nth-child(3)[b-f2q8p1qvnb] {
    grid-column: 1 / -1;
    transform: translateY(-1.5px);
    justify-self: center;
}
.face[data-value="5"] .dots span:nth-child(4)[b-f2q8p1qvnb] {
    transform: translateY(-2px);
}
.face[data-value="5"] .dots span:nth-child(5)[b-f2q8p1qvnb] {
    transform: translateY(-2px);
}

.dots span[b-f2q8p1qvnb] {
    width: var(--pip);
    height: var(--pip);
    background: radial-gradient(circle at 40% 40%, rgba(40, 40, 40, 1) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    box-shadow: inset calc(var(--u) * 0.003) calc(var(--u) * 0.003) calc(var(--u) * 0.01) rgba(0, 0, 0, 0.8), inset calc(var(--u) * -0.003) calc(var(--u) * -0.003) calc(var(--u) * 0.008) rgba(255, 255, 255, 0.1), 0 calc(var(--u) * 0.003) calc(var(--u) * 0.006) rgba(0, 0, 0, 0.3);
}

@keyframes rotate-gradient-b-f2q8p1qvnb {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.current-number[b-f2q8p1qvnb] {
    border-radius: 999px;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
    display: flex;
}

.num[b-f2q8p1qvnb] {
    --color: #777;
    width: calc(1.4 * var(--dice));
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Reduced spacing between number and pip row */
    gap: calc(calc(1.4 * var(--dice)) * 0.02);
    font-family: Garamond;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: #efe98d;
    border: 1px solid #000;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
    z-index: 4;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.18), 0 0 0 5px color-mix(in srgb, var(--color) 70%, transparent), 0 26px 75px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.18);
}

    .dice-area.active .num:hover[b-f2q8p1qvnb] {
        transform: none;
    }

.dice-area .num:hover[b-f2q8p1qvnb] {
    transform: scale(1.05);
}

.numValue[b-f2q8p1qvnb] {
    font-size: calc(0.4 * calc(1.4 * var(--dice)));
    color: #111;
    /* Slightly less lift than before (reduces perceived gap) */
    transform: translateY(2%);
}

.place-icon[b-f2q8p1qvnb] {
    width: calc(0.45 * calc(1.4 * var(--dice)));
    height: calc(0.45 * calc(1.4 * var(--dice)));
}

.num.hot .numValue[b-f2q8p1qvnb] {
    color: #b21515;
}

.pips[b-f2q8p1qvnb] {
    --ratio: (4 / 32);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ratio) * calc(0.4 * calc(1.4 * var(--dice))));
    
    /* Pull pips up a touch to tighten number-to-pips spacing */
    transform: translateY(-8%);
}

.pip[b-f2q8p1qvnb] {
    --ratio: calc(5 / 32);
    width: calc(var(--ratio) * calc(0.4 * calc(1.4 * var(--dice))));
    height: calc(var(--ratio) * calc(0.4 * calc(1.4 * var(--dice))));
    border-radius: 999px;
    background: #111;
}
/* _content/Chazaey/Components/Modules/Catonga/JoinGameModule.razor.rz.scp.css */
/* =========================
   CATONGA JOIN MODAL — THEMED
   ========================= */

.ctg-overlay[b-j83oyw84a0] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    /* Catonga overlay vibe (matches other overlays) */
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.64)), rgba(0,0,0,0.44);
    backdrop-filter: blur(3px) saturate(92%);
    animation: ctgOverlayIn-b-j83oyw84a0 180ms ease-out;
}

.ctg-modal[b-j83oyw84a0] {
    width: min(860px, 96vw);
    border-radius: 22px;
    overflow: hidden;
    /* parchment + wood */
    background: linear-gradient(180deg, rgba(245,238,220,0.98), rgba(226,215,190,0.98));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    animation: ctgModalIn-b-j83oyw84a0 220ms cubic-bezier(.2,.9,.2,1);
    position: relative;
}

    /* soft “sunlight” vignette */
    .ctg-modal[b-j83oyw84a0]::before {
        content: "";
        position: absolute;
        inset: -120px -120px auto -120px;
        height: 260px;
        background: radial-gradient(circle at 40% 30%, rgba(255, 235, 175, 0.55), rgba(255, 215, 140, 0.22), transparent 70%);
        pointer-events: none;
        opacity: 0.9;
    }

/* =========================
   BANNER
   ========================= */

.ctg-banner[b-j83oyw84a0] {
    position: relative;
    padding: 20px 22px 16px;
    border-bottom: 2px solid rgba(0,0,0,0.20);
    /* carved header plank illusion */
    background: linear-gradient(180deg, rgba(95,70,45,0.22), rgba(60,45,30,0.18)), radial-gradient(1200px 500px at 20% -20%, rgba(255,255,255,0.35), transparent 60%);
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}

.ctg-badge[b-j83oyw84a0] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-family: Garamond;
    font-weight: 1000;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,0.90);
    background: rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 10px 18px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.12);
}

.ctg-title[b-j83oyw84a0] {
    margin: 10px 0 0 0;
    font-family: Garamond;
    font-size: 2.2rem;
    font-weight: 1000;
    color: #2a1a0f;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 3px 6px rgba(0,0,0,0.25);
    text-decoration: underline;
    text-align: center;
}

.ctg-subtitle[b-j83oyw84a0] {
    margin: 8px 0 0 0;
    font-family: Garamond;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(0,0,0,0.62);
    text-align: center;
}

/* =========================
   CONTENT
   ========================= */

.ctg-content[b-j83oyw84a0] {
    padding: 18px 22px 22px;
    background: radial-gradient(900px 500px at 20% 0%, rgba(255, 220, 140, 0.12), transparent 65%), radial-gradient(600px 500px at 90% 60%, rgba(255, 160, 100, 0.10), transparent 65%);
}

.ctg-disabled[b-j83oyw84a0] {
    filter: grayscale(0.12) contrast(0.95);
}

/* =========================
   SECTIONS / LABELS
   ========================= */

.ctg-section[b-j83oyw84a0] {
    margin-top: 16px;
}

.ctg-labelrow[b-j83oyw84a0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ctg-label[b-j83oyw84a0] {
    display: block;
    font-family: Garamond;
    font-weight: 1000;
    font-size: 1.25rem;
    color: #2a1a0f;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* selected chip */
.ctg-chip[b-j83oyw84a0] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.05rem;
    background: rgba(0,0,0,0.10);
    border: 2px solid rgba(0,0,0,0.18);
    color: rgba(0,0,0,0.70);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.ctg-chipdot[b-j83oyw84a0] {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.18);
}

/* =========================
   INPUT
   ========================= */

.ctg-inputwrap[b-j83oyw84a0] {
    position: relative;
}

.ctg-inputicon[b-j83oyw84a0] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    font-size: 18px;
    pointer-events: none;
}

.ctg-input[b-j83oyw84a0] {
    width: 100%;
    padding: 13px 14px 13px 44px;
    border-radius: 16px;
    font-family: Garamond;
    font-size: 1.2rem;
    font-weight: 800;
    border: 2px solid rgba(0,0,0,0.22);
    background: rgba(255,255,255,0.35);
    color: rgba(0,0,0,0.78);
    outline: none;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.10), 0 10px 18px rgba(0,0,0,0.08);
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

    .ctg-input[b-j83oyw84a0]::placeholder {
        color: rgba(0,0,0,0.42);
        font-weight: 700;
    }

    .ctg-input:focus[b-j83oyw84a0] {
        border-color: rgba(62, 43, 28, 0.65);
        box-shadow: 0 0 0 4px rgba(255, 214, 133, 0.22), inset 0 2px 6px rgba(0,0,0,0.10), 0 14px 22px rgba(0,0,0,0.14);
        transform: translateY(-1px);
    }

/* =========================
   COLORS GRID
   ========================= */

.ctg-colors[b-j83oyw84a0] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 720px) {
    .ctg-colors[b-j83oyw84a0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* tile-like button */
.ctg-color[b-j83oyw84a0] {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 16px;
    font-family: Garamond;
    font-weight: 1000;
    font-size: 1.05rem;
    background: linear-gradient(180deg, rgba(95,70,45,0.20), rgba(60,45,30,0.20));
    border: 2px solid rgba(0,0,0,0.28);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.14), 0 10px 18px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease, outline 120ms ease;
    text-align: left;
}

    .ctg-color:hover[b-j83oyw84a0] {
        transform: translateY(-1px);
        box-shadow: inset 0 2px 6px rgba(0,0,0,0.14), 0 14px 22px rgba(0,0,0,0.14);
        filter: brightness(1.02);
    }

    .ctg-color:active[b-j83oyw84a0] {
        transform: translateY(0px);
    }

/* swatch now looks like a “painted seal” */
.ctg-color-swatch[b-j83oyw84a0] {
    width: 18px;
    height: 18px;
    border-radius: 7px;
    background: var(--ctg-color);
    border: 2px solid rgba(0,0,0,0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 14px rgba(0,0,0,0.18);
}

.ctg-color-name[b-j83oyw84a0] {
    color: rgba(255,255,255,0.86);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.ctg-color.is-selected[b-j83oyw84a0] {
    outline: 3px solid rgba(255, 214, 133, 0.45);
    background: linear-gradient(180deg, rgba(255, 214, 133, 0.20), rgba(60,45,30,0.22));
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.14), 0 18px 30px rgba(0,0,0,0.18);
}

    .ctg-color.is-selected[b-j83oyw84a0]::after {
        content: "✓";
        position: absolute;
        top: 8px;
        right: 10px;
        width: 24px;
        height: 24px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        font-family: Garamond;
        font-weight: 1000;
        color: rgba(0,0,0,0.85);
        background: rgba(255, 214, 133, 0.92);
        border: 2px solid rgba(0,0,0,0.22);
        box-shadow: 0 10px 18px rgba(0,0,0,0.18);
    }

.ctg-empty[b-j83oyw84a0] {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 16px;
    border: 2px dashed rgba(0,0,0,0.25);
    color: rgba(0,0,0,0.60);
    background: rgba(255,255,255,0.25);
    font-family: Garamond;
    font-weight: 800;
}

/* =========================
   FOOTER / BUTTONS
   ========================= */

.ctg-footer[b-j83oyw84a0] {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 2px solid rgba(0,0,0,0.18);
}

.ctg-btn[b-j83oyw84a0] {
    appearance: none;
    border: 0;
    border-radius: 14px;
    padding: 10px 16px;
    font-family: Garamond;
    font-weight: 1000;
    font-size: 1.35rem;
    cursor: pointer;
    user-select: none;
    transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
}

/* primary matches your other green confirm buttons */
.ctg-btn-primary[b-j83oyw84a0] {
    background: linear-gradient(180deg, #6aa35b, #3f6d34);
    border: 2px solid #1f3a1b;
    color: #eaffea;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.22);
}

    .ctg-btn-primary:hover[b-j83oyw84a0] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .ctg-btn-primary:disabled[b-j83oyw84a0] {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* secondary matches your cancel vibe */
.ctg-btn-secondary[b-j83oyw84a0] {
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20));
    border: 2px solid rgba(0,0,0,0.35);
    color: rgba(0,0,0,0.75);
    box-shadow: 0 12px 22px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.22);
}

    .ctg-btn-secondary:hover[b-j83oyw84a0] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

/* =========================
   CALLOUTS
   ========================= */

.ctg-callout[b-j83oyw84a0] {
    border-radius: 18px;
    padding: 14px 14px 12px;
    border: 2px solid rgba(0,0,0,0.20);
    background: rgba(255,255,255,0.28);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.10), 0 10px 18px rgba(0,0,0,0.10);
}

.ctg-callout-warn[b-j83oyw84a0] {
    background: radial-gradient(700px 300px at 20% 0%, rgba(255, 214, 133, 0.25), transparent 60%), rgba(255,255,255,0.24);
    border-color: rgba(62, 43, 28, 0.25);
}

.ctg-callout-title[b-j83oyw84a0] {
    font-family: Garamond;
    font-weight: 1000;
    font-size: 1.5rem;
    color: #2a1a0f;
    margin-bottom: 6px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

.ctg-callout-body[b-j83oyw84a0] {
    font-family: Garamond;
    font-weight: 800;
    font-size: 1.15rem;
    color: rgba(0,0,0,0.65);
}

.ctg-callout-actions[b-j83oyw84a0] {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

/* When disabled, prevent clicks inside the normal join UI */
.ctg-content.ctg-disabled[b-j83oyw84a0] {
    pointer-events: none;
}

    .ctg-content.ctg-disabled .ctg-callout[b-j83oyw84a0] {
        pointer-events: auto;
    }

/* =========================
   ANIMATIONS
   ========================= */

@keyframes ctgOverlayIn-b-j83oyw84a0 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ctgModalIn-b-j83oyw84a0 {
    from {
        transform: translateY(14px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.ctg-footer.ctg-footer-center[b-j83oyw84a0] {
    justify-content: center;
}
/* _content/Chazaey/Components/Modules/Catonga/Lobby.razor.rz.scp.css */
.lobby[b-jhkfjv1qf2] {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.70)), url("images/catonga/table.png");
    background-size: cover;
    background-position: center;
}

.lobby-card[b-jhkfjv1qf2] {
    width: min(720px, 92vw);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245,238,220,0.96), rgba(226,215,190,0.96));
    border: 3px solid #3e2b1c;
    box-shadow: 0 40px 120px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -3px 6px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lobby-header[b-jhkfjv1qf2] {
    border-bottom: 2px solid rgba(0,0,0,0.22);
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lobby-title[b-jhkfjv1qf2] {
    font-family: Garamond;
    font-size: 2.2rem;
    font-weight: 1000;
    color: #2a1a0f;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.25);
    text-align: center;
}

.lobby-sub[b-jhkfjv1qf2] {
    font-family: Garamond;
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(0,0,0,0.65);
    text-align: center;
}

.lobby-list[b-jhkfjv1qf2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(420px, 58vh);
    overflow: auto;
    padding: 2px;
}

.lobby-empty[b-jhkfjv1qf2] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(0,0,0,0.60);
    padding: 18px 0;
}

.lobby-row[b-jhkfjv1qf2] {
    --pcolor: #777;
    width: 100%;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 18px;
    border: 2px solid rgba(0,0,0,0.35);
    background: linear-gradient(180deg, rgba(95,70,45,0.22), rgba(60,45,30,0.22));
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 10px 18px rgba(0,0,0,0.18);
    cursor: default;
}

.lobby-dot[b-jhkfjv1qf2] {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--pcolor);
    border: 1px solid rgba(0,0,0,0.35);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.lobby-name[b-jhkfjv1qf2] {
    font-family: Garamond;
    font-size: 1.55rem;
    font-weight: 900;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lobby-id[b-jhkfjv1qf2] {
    font-family: Garamond;
    font-size: 1.1rem;
    font-weight: 900;
    color: rgba(255,255,255,0.70);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.lobby-actions[b-jhkfjv1qf2] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.lobby-btn[b-jhkfjv1qf2] {
    font-family: Garamond;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 120ms ease, filter 120ms ease;
}

    .lobby-btn:hover[b-jhkfjv1qf2] {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .lobby-btn.start[b-jhkfjv1qf2] {
        background: linear-gradient(180deg, #6aa35b, #3f6d34);
        border-color: #1f3a1b;
        color: #eaffea;
    }

    .lobby-btn.reset[b-jhkfjv1qf2] {
        background: linear-gradient(180deg, #e0c48a, #b49b63);
        border-color: #5c4a2a;
        color: #2a1a0f;
    }

    .lobby-btn.end[b-jhkfjv1qf2] {
        background: linear-gradient(180deg, #a84b3b, #7d3024);
        border-color: #3a1410;
        color: #f8e6d8;
    }

.lobby-hint[b-jhkfjv1qf2] {
    text-align: center;
    font-family: Garamond;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
}
/* _content/Chazaey/Components/Modules/Catonga/Spectate.razor.rz.scp.css */
body[b-lisz1cmq0e] {
}
/* _content/Chazaey/Components/Modules/Catonga/ToolTipModule.razor.rz.scp.css */
.ttc-root[b-5abaijyduz] {
    width: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.65rem;
    border-radius: 14px;
    background: rgba(20, 20, 20, 0.78);
    backdrop-filter: blur(4px);
    box-shadow: 0 40px 55px rgba(0,0,0,0.55);
    user-select: none;
}

/* ---------- Title ---------- */

.ttc-title[b-5abaijyduz] {
    text-align: center;
    font-family: Garamond;
    font-weight: 900;
    font-size: clamp(1rem, 2.4cqw, 1.2rem);
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* ---------- Image ---------- */

.ttc-imgWrap[b-5abaijyduz] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* hard constraint so text always has room */
    max-height: 55%;
    overflow: hidden;
}

.ttc-img[b-5abaijyduz] {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

/* ---------- Text ---------- */

.ttc-text[b-5abaijyduz] {
    flex: 1 1 auto;
    color: rgba(255,255,255,0.95);
    font-family: Garamond;
    font-weight: 600;
    font-size: clamp(0.85rem, 2.1cqw, 1.05rem);
    line-height: 1.25;
    text-align: center;
    white-space: normal; /* allow wrapping */
    word-break: break-word;
    padding: 0 0.25rem 0.25rem 0.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
/* _content/Chazaey/Components/Modules/ClockModule.razor.rz.scp.css */

.clock-panel[b-nzwq87lr2s] {
    padding: 10px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
    outline: 2px solid rgba(255,255,255,0.0);
    outline-offset: -2px;
    transition: outline-color 180ms ease, box-shadow 220ms ease, transform 60ms linear;
}

.clock-date[b-nzwq87lr2s] {
    text-align: center;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.68);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    padding-bottom: 5px;
}

.clock-main[b-nzwq87lr2s] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.clock-hm[b-nzwq87lr2s] {
    font-size: 120px;
    font-weight: 720;
    line-height: 0.75;
    color: rgba(255,255,255,0.96);
    text-shadow: 0 2px 18px rgba(255,255,255,0.08);
    letter-spacing: 0.10em;
}

.colon[b-nzwq87lr2s] {
    transform: translateY(-15px);
}

.clock-ampm[b-nzwq87lr2s] {
    font-size: clamp(18px, 2.4vw, 34px);
    font-weight: 650;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.96);
}

.clock-seconds[b-nzwq87lr2s] {
    text-align: center;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 30px;
    font-weight: 650;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.68);
}

.clock-right[b-nzwq87lr2s] {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    height: 100px;
    transform: translateY(-57px) translateX(-15px) ;
    justify-content: space-between;
}

.clock-seconds.colon[b-nzwq87lr2s] {
    transform: translateY(-4px);
}

.clock-sec-container[b-nzwq87lr2s] {
    display: flex;
    flex-direction: row;
    gap: 2px;
}
/* _content/Chazaey/Components/Modules/WeatherModule.razor.rz.scp.css */
/* --- TOP ROW --- */

.weather-module[b-xmfp3buo7z] {
    width: 600px;
    margin: 18px auto;
    padding: 12px 9px 10px 9px;
    color: rgba(255,255,255,0.92);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.75);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.module__top[b-xmfp3buo7z] {
    position: relative;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: 10px;
    /* ↓ vertical centering fix */
    align-items: center;
}

.module__left[b-xmfp3buo7z],
.module__right[b-xmfp3buo7z] {
    display: grid;
    align-content: center; /* ← centers content vertically */
    justify-content: center;
    text-align: center;
}

.module__divider[b-xmfp3buo7z] {
    width: 1px;
    height: 70px;
    transform: translateY(-10px) translateX(6px);
    background: rgba(255,255,255,0.14);
}

/* Shared label baseline */
.kicker[b-xmfp3buo7z] {
    position: absolute;
    top: 2px;
    justify-self: center;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.72;
    font-weight: 700;
    /* ↓ ensures same Y alignment */
    margin-bottom: 6px;
}

/* Indoor / Outdoor values */
.value[b-xmfp3buo7z] {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.sub[b-xmfp3buo7z] {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.65;
    margin-top: 4px;
}

/* --- OUTDOOR ROW --- */

.outRow[b-xmfp3buo7z] {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 8px;
    align-items: center;
}

.outIcon[b-xmfp3buo7z] {
    width: 50px;
    height: 50px;
    opacity: 0.95;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55));
}

.outText .value[b-xmfp3buo7z] {
    font-size: 32px;
}

.desc[b-xmfp3buo7z] {
    font-size: 12px;
    opacity: 0.72;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.uvIcon[b-xmfp3buo7z] {
    width: 34px;
    height: 34px;
    opacity: 0.92;
}

/* --- META --- */

.meta[b-xmfp3buo7z] {
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.68;
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    font-weight: 600;
}

/* --- BOTTOM / DAILY FORECAST --- */

.module__bottom[b-xmfp3buo7z] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.day[b-xmfp3buo7z] {
    border-radius: 22px;
    background: rgba(0,0,0,0.16);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 8px 8px;
    display: grid;
    justify-items: center;
    align-content: center; /* ← vertical centering match */
    text-align: center;
    gap: 5px;
}

.day__name[b-xmfp3buo7z] {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.68;
    font-weight: 800;
}

.day__icon[b-xmfp3buo7z] {
    width: 30px;
    height: 30px;
    opacity: 0.95;
}

.day__temps[b-xmfp3buo7z] {
    font-size: 12px;
    font-weight: 800;
}

.day__precip[b-xmfp3buo7z] {
    font-size: 11px;
    opacity: 0.65;
    font-weight: 700;
}
/* _content/Chazaey/Components/Pages/Home.razor.rz.scp.css */
/* _content/Chazaey/Components/Pages/Mirror/Mirror.razor.rz.scp.css */
.mirror-root[b-ddv3hihw3o] {
    position: fixed;
    inset: 0;
    background: #000;
    color: #fff;
    overflow: hidden;
    touch-action: none;
}

/* Hidden video input */
#mirrorCam[b-ddv3hihw3o] {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ===== Movable base behavior ===== */
.movable[b-ddv3hihw3o] {
    padding: 0.5rem;
    border-radius: 22px;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: auto;
    user-select: none;
    transform-origin: top left;
}

    /* ===== Dedicated resize handle element ===== */
    .movable .mv-handle[b-ddv3hihw3o] {
        position: absolute;
        right: -8px;
        bottom: -8px;
        width: 26px;
        height: 26px;
        border-radius: 10px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 10px 22px rgba(0,0,0,0.55);
        opacity: 0.35; /* always visible, subtle */
        transform: scale(0.96);
        transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
        z-index: 5;
        pointer-events: auto; /* IMPORTANT: must be clickable */
    }

        /* Make it feel “hoverable” when the cursor is near it (JS adds .is-handle-hover) */
        .movable.is-handle-hover .mv-handle[b-ddv3hihw3o],
        .movable .mv-handle:hover[b-ddv3hihw3o] {
            opacity: 0.95;
            transform: scale(1);
            background: rgba(255,255,255,0.10);
            border-color: rgba(255,255,255,0.22);
        }

    /* While resizing, keep it bright */
    .movable.is-resizing .mv-handle[b-ddv3hihw3o] {
        border-radius: 22px;
        opacity: 1;
        transform: scale(1.02);
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.28);
    }

/* ===== Clock panel styling ===== */


    /* Only show drag outline when click-dragging the body */
.is-dragging.is-pressed[b-ddv3hihw3o] {
    border-radius: 22px;
    outline-color: rgba(255,255,255,0.26);
    box-shadow: 0 18px 48px rgba(0,0,0,0.65), 0 0 0 2px rgba(255,255,255,0.14) inset;
}

    /* Show outline while resizing */
.is-resizing[b-ddv3hihw3o] {
    border-radius: 22px;
    outline-color: rgba(255,255,255,0.34) !important;
    box-shadow: 0 18px 52px rgba(0,0,0,0.70), 0 0 0 2px rgba(255,255,255,0.16) inset !important;
}


/* ===== Cursor dot ===== */
.mp-cursor[b-ddv3hihw3o] {
    position: fixed;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-9999px, -9999px);
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.65), 0 0 18px rgba(255,255,255,0.18);
}

/* Pressed indicator ring */
.mp-pressed[b-ddv3hihw3o] {
    position: fixed;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.10);
    transform: translate(-9999px, -9999px);
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    transition: opacity 120ms linear, transform 60ms linear;
    box-shadow: 0 0 24px rgba(255,255,255,0.12);
}

/* Cursor active indicator */
.cursor-indicator[b-ddv3hihw3o] {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 80;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    filter: blur(2px);
    transition: opacity 240ms ease, transform 240ms ease, filter 240ms ease;
}

    .cursor-indicator.is-on[b-ddv3hihw3o] {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

.cursor-indicator__pill[b-ddv3hihw3o] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.cursor-indicator__dot[b-ddv3hihw3o] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.65), 0 0 16px rgba(255,255,255,0.12);
}

.cursor-indicator__text[b-ddv3hihw3o] {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: rgba(255,255,255,0.78);
}

/* Screen dimmer */
.screen-dimmer[b-ddv3hihw3o] {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 0.4;
    transition: opacity 600ms ease;
    z-index: 40;
    pointer-events: none;
}

    .screen-dimmer.is-clear[b-ddv3hihw3o] {
        opacity: 0;
    }




