* { box-sizing:border-box; }
html { color-scheme:dark; }
body { margin:0; background:#071522; color:white; font:16px/1.45 system-ui,sans-serif; }
.demo-bar { display:flex; justify-content:space-between; gap:12px; padding:10px 18px; background:#071522; }
.demo-bar a { color:#ffda79; }
button, select { font:inherit; }
button:enabled { cursor:pointer; }
.text-center { text-align:center; }
.d-flex { display:flex; } .align-items-end { align-items:flex-end; }
.justify-content-center { justify-content:center; } .gap-2 { gap:.5rem; }
.d-block { display:block; }
.form-select { padding:8px; border-radius:6px; }
.btn { padding:8px 24px; background:#532c16; color:#fff; border-radius:8px; }
h1 { margin:12px 0; }
/* Per-game audio control -------------------------------------------------- */
.game-audio-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 250;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,207,99,.55);
    border-radius: 50%;
    background: rgba(5,10,17,.82);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.38), 0 0 16px rgba(242,207,99,.08);
    backdrop-filter: blur(8px);
}

    .game-audio-button:hover {
        border-color: var(--casino-gold);
        transform: translateY(-1px);
    }

/* Reel Catch ------------------------------------------------------------- */
.reel-catch-page {
    min-height: calc(100vh - 120px);
    padding: 28px 12px 42px;
    background: radial-gradient(circle at 50% 14%, rgba(68, 218, 255, .32), transparent 34%), linear-gradient(180deg, #072e46 0%, #084f69 42%, #063c50 100%);
    border-radius: 18px;
}

.reel-catch-shell {
    width: min(980px, 100%);
    margin: 0 auto;
}

.reel-catch-titlebar,
.reel-catch-status,
.reel-catch-controls,
.reel-catch-help {
    display: flex;
    align-items: center;
}

.reel-catch-titlebar {
    justify-content: space-between;
    color: white;
    margin-bottom: 14px;
}

    .reel-catch-titlebar h1 {
        margin: 0;
        font-weight: 1000;
        font-size: clamp(2.2rem, 7vw, 4.5rem);
        letter-spacing: .045em;
        line-height: .95;
        text-shadow: 0 4px 0 #074267, 0 8px 18px rgba(0,0,0,.35);
    }

.reel-catch-kicker {
    font-size: .76rem;
    letter-spacing: .3em;
    font-weight: 800;
    color: #9beaff;
    margin-bottom: 5px;
}

.reel-catch-lobby-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(0,0,0,.12);
}

.reel-catch-status {
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.status-pill {
    flex: 1 1 130px;
    min-width: 0;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: rgba(3, 31, 48, .74);
    color: white;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

    .status-pill span {
        display: block;
        font-size: .7rem;
        color: #9ed7e5;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .status-pill strong {
        display: block;
        font-size: 1.25rem;
        line-height: 1.1;
    }

        .status-pill strong span {
            display: inline;
            font: inherit;
            color: inherit;
            letter-spacing: 0;
        }

.bonus-status.active {
    background: #744d00;
    border-color: #ffd867;
    box-shadow: 0 0 20px rgba(255,201,49,.22);
}

.multiplier-pill {
    background: rgba(58, 22, 92, .82);
}

.reel-catch-machine {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 5px solid #e3b43f;
    border-radius: 26px;
    background: linear-gradient(180deg, #123d58, #071e32);
    box-shadow: 0 14px 40px rgba(0,0,0,.38), inset 0 0 0 3px rgba(255,244,178,.35);
}

.water-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(112,225,255,.25), transparent 52%);
}

.reel-catch-board {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    background: rgba(1,18,29,.56);
    border: 4px solid rgba(255,255,255,.65);
    border-radius: 16px;
    padding: 8px;
    box-shadow: inset 0 0 24px rgba(0,0,0,.7);
}

.catch-reel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(74,192,222,.30), rgba(1,46,67,.54)), radial-gradient(circle at 50% 18%, rgba(210,247,255,.32), transparent 42%), linear-gradient(180deg, #136e8c 0%, #07536f 48%, #032f46 100%);
    border: 1px solid rgba(179,239,255,.38);
    box-shadow: inset 0 0 22px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.08);
    transform: translateZ(0);
}

    .catch-reel::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: repeating-linear-gradient(180deg, transparent 0, transparent calc(33.333% - 1px), rgba(190,239,250,.16) calc(33.333% - 1px), rgba(190,239,250,.16) 33.333%);
    }

.catch-reel-window {
    position: relative;
    z-index: 7;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    height: 100%;
    pointer-events: none;
}

.catch-cell {
    position: relative;
    aspect-ratio: 1 / .9;
    min-width: 0;
    display: grid;
    place-items: center;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: filter .15s, transform .15s, box-shadow .15s;
}

.catch-reel.reel-spinning .catch-symbol,
.catch-reel.has-resting-strip .catch-symbol {
    opacity: 0;
}

.catch-spin-strip {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 0;
    display: none;
    will-change: transform;
    pointer-events: none;
}

    .catch-spin-strip.visible {
        display: grid;
    }

.catch-strip-symbol {
    height: var(--reel-cell-height, 90px);
    min-height: 0;
    display: grid;
    place-content: center;
    text-align: center;
    overflow: hidden;
    background: transparent;
    border: 0;
    filter: saturate(1.06) contrast(1.05);
}

.catch-reel.is-spinning .catch-strip-symbol {
    filter: blur(.35px) saturate(.96);
}

.catch-reel.is-spinning::after {
    content: '';
    position: absolute;
    z-index: 8;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7,46,70,.34), transparent 16%, transparent 82%, rgba(7,46,70,.4));
    box-shadow: inset 0 12px 18px rgba(2,27,42,.28), inset 0 -12px 18px rgba(2,27,42,.32);
}

.catch-reel.reel-settle {
    animation: reelCatchColumnStop .25s cubic-bezier(.2,.8,.35,1.3);
}

.catch-cell.winner {
    box-shadow: 0 0 0 3px #ffdc50 inset, 0 0 22px #ffd22d;
    animation: reelCatchWinner .65s ease-in-out infinite alternate;
    z-index: 2;
}

.catch-cell.scatter-hit {
    box-shadow: 0 0 0 3px #fff inset, 0 0 25px #64eaff;
}

.catch-cell.collector-hit {
    animation: reelCatchCollected .65s ease-out;
}

.catch-symbol, .catch-strip-symbol {
    text-align: center;
    user-select: none;
}

.symbol-icon {
    display: block;
    font-size: clamp(2.25rem, 6.4vw, 4.9rem);
    line-height: .92;
    font-weight: 1000;
    filter: drop-shadow(0 4px 3px rgba(0,0,0,.46)) drop-shadow(0 0 7px rgba(255,255,255,.18));
}

.symbol-name {
    display: block;
    margin-top: 4px;
    font-size: clamp(.5rem, 1.6vw, .74rem);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: .09em;
    color: rgba(255,255,255,.94);
    text-shadow: 0 2px 3px #001923, 0 0 6px rgba(0,0,0,.7);
}

.symbol-J .symbol-icon, .symbol-Q .symbol-icon, .symbol-K .symbol-icon, .symbol-A .symbol-icon {
    font-family: Georgia, serif;
    font-weight: 1000;
    color: #70d8ff;
    -webkit-text-stroke: 1px rgba(255,255,255,.42);
    text-shadow: 0 3px 2px #001d2b, 0 0 10px rgba(95,220,255,.45);
}

.symbol-Q .symbol-icon {
    color: #ff82cf;
}

.symbol-K .symbol-icon {
    color: #ffd25f;
}

.symbol-A .symbol-icon {
    color: #ff7676;
}

.symbol-Fisherman {
    transform: rotate(-7deg);
}

.symbol-Scatter .symbol-name {
    color: #7d4c00;
}

.fish-prize {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    z-index: 12;
    min-width: 48px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ffe05b;
    border: 2px solid #9a5c00;
    color: #3d2600;
    font-weight: 1000;
    font-size: clamp(.65rem, 2vw, .95rem);
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
}

    .fish-prize.visible {
        display: block;
    }

.reel-catch-message {
    position: relative;
    min-height: 46px;
    display: grid;
    place-items: center;
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(0,0,0,.32);
    color: #fff4a2;
    font-size: clamp(.92rem, 2.6vw, 1.25rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: .02em;
}

.collector-track {
    position: relative;
    margin-top: 13px;
    padding: 16px 4px 5px;
}

.collector-progress {
    position: relative;
    height: 11px;
    border-radius: 999px;
    background: #04141d;
    border: 1px solid rgba(255,255,255,.35);
}

.collector-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #44d7ff, #ffe05b);
    transition: width .4s ease;
}

.collector-marker {
    position: absolute;
    top: -19px;
    transform: translateX(-50%);
    color: white;
    font-size: .62rem;
    text-align: center;
    line-height: .9;
    text-shadow: 0 1px 2px #000;
}

    .collector-marker b {
        color: #ffe05b;
    }

.marker-4 {
    left: 33.333%;
}

.marker-8 {
    left: 66.666%;
}

.marker-12 {
    left: 98%;
}

.reel-catch-controls {
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.bet-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 900;
}

    .bet-control .form-select {
        width: 106px;
        font-weight: 800;
    }

.catch-spin-button {
    width: 124px;
    height: 72px;
    border-radius: 50%;
    border: 5px solid #f8d35e;
    background: radial-gradient(circle at 50% 34%, #75e451, #198b32 68%);
    color: white;
    font-size: 1.2rem;
    font-weight: 1000;
    box-shadow: 0 7px 0 #0a5821, 0 10px 20px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.5);
    text-shadow: 0 2px 2px rgba(0,0,0,.35);
}

    .catch-spin-button:active:not(:disabled) {
        transform: translateY(5px);
        box-shadow: 0 2px 0 #0a5821, 0 5px 10px rgba(0,0,0,.3);
    }

    .catch-spin-button:disabled {
        filter: grayscale(.45);
        opacity: .75;
    }

.catch-auto-button {
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    padding: 9px 14px;
    color: white;
    background: rgba(0,0,0,.25);
    font-weight: 900;
}

    .catch-auto-button.active {
        background: #8c3c2f;
    }

    .catch-auto-button:disabled {
        opacity: .35;
    }

.reel-catch-help {
    justify-content: center;
    gap: 9px 16px;
    flex-wrap: wrap;
    color: #b7e7f2;
    font-size: .78rem;
    margin-top: 18px;
    text-align: center;
}

.reel-catch-card-art {
    min-height: 190px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 30%, #47d1ff, #087593 55%, #07445c 100%);
    color: white;
    overflow: hidden;
}

    .reel-catch-card-art .lobby-fish {
        font-size: 6rem;
        filter: drop-shadow(0 8px 4px rgba(0,0,0,.26));
        transform: rotate(-8deg);
    }

    .reel-catch-card-art .lobby-hook {
        position: absolute;
        font-size: 4rem;
        right: 16%;
        top: 10%;
        transform: rotate(18deg);
    }

@keyframes reelCatchColumnStop {
    0% {
        transform: translateY(-7px) scaleY(1.025);
    }

    58% {
        transform: translateY(3px) scaleY(.992);
    }

    100% {
        transform: none;
    }
}

@keyframes reelCatchWinner {
    from {
        filter: brightness(1);
        transform: scale(1);
    }

    to {
        filter: brightness(1.12);
        transform: scale(1.025);
    }
}

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

    45% {
        transform: scale(1.12) rotate(-2deg);
        box-shadow: 0 0 28px #ffe05b;
    }

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

@media (max-width: 600px) {
    .reel-catch-page {
        padding: 14px 5px 28px;
        border-radius: 10px;
    }

    .reel-catch-machine {
        padding: 8px;
        border-width: 3px;
        border-radius: 16px;
    }

    .reel-catch-board {
        gap: 3px;
        padding: 4px;
        border-width: 2px;
    }

    .catch-reel-window {
        gap: 0;
    }

    .catch-cell {
        border: 0;
        border-radius: 0;
    }

    .status-pill {
        flex-basis: 45%;
    }

    .reel-catch-lobby-link {
        padding: 6px 9px;
        font-size: .8rem;
    }

    .catch-spin-button {
        width: 104px;
        height: 62px;
    }

    .reel-catch-help {
        font-size: .68rem;
    }
}

/* ========================================================================== */
/* Reel Catch - borderless underwater presentation                            */
/* ========================================================================== */
.reel-catch-page {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 90px);
    padding: 18px 14px 30px;
    border-radius: 0;
    overflow: hidden;
    background: #056b91;
}

    /* The generated under-sea artwork is deliberately softened behind the live
   reels so it reads as scenery, not as another set of slot symbols. */
    .reel-catch-page::before {
        content: '';
        position: absolute;
        z-index: -3;
        inset: -24px;
        background-image: linear-gradient(180deg, rgba(0,130,184,.12), rgba(0,57,91,.20)), url('assets/reelcatch-undersea.png');
        background-size: cover;
        background-position: center 58%;
        filter: blur(7px) saturate(1.16) brightness(.82);
        transform: scale(1.035);
    }

    .reel-catch-page::after {
        content: '';
        position: absolute;
        z-index: -2;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse at 50% -6%, rgba(190,246,255,.36), transparent 36%), linear-gradient(180deg, rgba(2,112,156,.08) 0%, rgba(0,55,88,.10) 52%, rgba(0,28,52,.34) 100%);
    }

.reel-catch-shell {
    width: min(1120px, 100%);
    position: relative;
}

.reel-catch-titlebar {
    margin-bottom: 8px;
    padding: 0 6px;
}

    .reel-catch-titlebar h1 {
        font-size: clamp(1.65rem, 4vw, 2.8rem);
        text-shadow: 0 3px 0 rgba(0,45,75,.55), 0 5px 18px rgba(0,0,0,.28);
    }

.reel-catch-kicker {
    opacity: .9;
}

.reel-catch-lobby-link {
    background: rgba(0,42,67,.22);
    backdrop-filter: blur(5px);
    border-color: rgba(255,255,255,.24);
}

/* HUD floats directly over the water. */
.reel-catch-status {
    position: relative;
    z-index: 30;
    gap: 18px;
    margin: 3px auto 12px;
    padding: 0 22px;
    max-width: 1000px;
}

.status-pill,
.status-pill.bonus-status,
.status-pill.multiplier-pill {
    flex: 1 1 150px;
    padding: 5px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    text-shadow: 0 3px 5px rgba(0,31,51,.85), 0 0 8px rgba(0,45,73,.65);
}

    .status-pill span {
        color: #f8e67a;
        font-weight: 1000;
        font-size: clamp(.72rem, 1.4vw, .96rem);
        letter-spacing: .07em;
    }

    .status-pill strong {
        color: white;
        font-size: clamp(1.35rem, 2.8vw, 2rem);
        font-weight: 1000;
    }

    .status-pill.bonus-status.active strong,
    .status-pill.multiplier-pill strong {
        color: #ffe66e;
    }

/* No cabinet, chrome, board or reel windows: one uninterrupted ocean scene. */
.reel-catch-machine {
    position: relative;
    overflow: visible;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.water-glow {
    display: none;
}

.reel-catch-board {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(4px, 1.2vw, 16px);
    width: min(1000px, 100%);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.catch-reel {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

    .catch-reel::before,
    .catch-reel.is-spinning::after {
        display: none;
    }

.catch-reel-window {
    position: relative;
    z-index: 7;
    height: 100%;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
}

.catch-cell {
    aspect-ratio: 1 / .87;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.catch-strip-symbol {
    background: transparent;
    border: 0;
    overflow: visible;
    filter: saturate(1.16) contrast(1.04);
}

.catch-reel.is-spinning .catch-strip-symbol {
    filter: blur(.45px) saturate(1.08);
}

/* Large glossy-looking symbols with no tile behind them. */
.symbol-icon {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: .9;
    font-weight: 1000;
    filter: drop-shadow(0 7px 3px rgba(0,27,45,.48)) drop-shadow(0 0 7px rgba(255,255,255,.2));
}

.symbol-name {
    margin-top: 1px;
    font-size: clamp(.46rem, 1.2vw, .7rem);
    color: #fff;
    text-shadow: 0 2px 2px rgba(0,25,42,.95), 0 0 5px rgba(0,0,0,.7);
}

.symbol-J .symbol-icon,
.symbol-Q .symbol-icon,
.symbol-K .symbol-icon,
.symbol-A .symbol-icon {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 1000;
    -webkit-text-stroke: 2px rgba(255,230,116,.82);
    text-shadow: 0 4px 0 rgba(39,19,0,.62), 0 7px 5px rgba(0,24,43,.52), 0 0 7px rgba(255,255,255,.32);
}

.symbol-J .symbol-icon {
    color: #32aaff;
}

.symbol-Q .symbol-icon {
    color: #f34fe2;
}

.symbol-K .symbol-icon {
    color: #f04030;
}

.symbol-A .symbol-icon {
    color: #ffc127;
}

/* Wins glow around the symbol only; there is no rectangular cell highlight. */
.catch-cell.winner {
    z-index: 20;
    box-shadow: none;
    animation: none;
}

    .catch-cell.winner .catch-symbol,
    .catch-cell.winner .fish-prize {
        filter: brightness(1.18) drop-shadow(0 0 13px #ffe45d) drop-shadow(0 0 24px #ffe45d);
        animation: reelCatchWinnerFloat .58s ease-in-out infinite alternate;
    }

.catch-cell.scatter-hit {
    box-shadow: none;
}

    .catch-cell.scatter-hit .catch-symbol {
        filter: drop-shadow(0 0 14px #82efff) drop-shadow(0 0 28px #4edcff);
    }

.fish-prize {
    bottom: 4%;
    border: 2px solid #8d5200;
    box-shadow: 0 3px 6px rgba(0,0,0,.38), 0 0 8px rgba(255,221,75,.45);
}

/* Bonus message and collector meter float over the seabed instead of being
   contained in a cabinet panel. */
.reel-catch-message {
    z-index: 20;
    min-height: 42px;
    width: fit-content;
    max-width: 92%;
    margin: 8px auto 0;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(0,31,51,.32);
    backdrop-filter: blur(4px);
    text-shadow: 0 2px 3px rgba(0,25,43,.95);
}

.collector-track {
    z-index: 20;
    width: min(760px, 85%);
    margin: 7px auto 0;
    padding-top: 16px;
}

.collector-progress {
    height: 8px;
    background: rgba(0,30,51,.46);
    border-color: rgba(255,255,255,.45);
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
}

.reel-catch-controls {
    position: relative;
    z-index: 30;
    margin-top: 12px;
}

.bet-control {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,31,51,.28);
    backdrop-filter: blur(4px);
}

.catch-auto-button {
    background: rgba(0,31,51,.32);
    backdrop-filter: blur(4px);
}

.reel-catch-help {
    position: relative;
    z-index: 30;
    margin-top: 10px;
    color: rgba(231,250,255,.92);
    text-shadow: 0 2px 3px rgba(0,34,53,.9);
}

.undersea-rays {
    position: absolute;
    z-index: 1;
    inset: -90px 0 auto;
    height: 360px;
    pointer-events: none;
    opacity: .38;
    background: linear-gradient(105deg, transparent 18%, rgba(218,252,255,.23) 29%, transparent 39%), linear-gradient(77deg, transparent 42%, rgba(221,253,255,.18) 51%, transparent 59%);
    filter: blur(8px);
}

.undersea-bubbles {
    position: absolute;
    z-index: 2;
    top: 8%;
    bottom: 10%;
    width: 34px;
    pointer-events: none;
    opacity: .48;
    background: radial-gradient(circle at 50% 8%, transparent 0 4px, rgba(235,253,255,.8) 4.5px 5.5px, transparent 6px), radial-gradient(circle at 32% 28%, transparent 0 3px, rgba(235,253,255,.7) 3.5px 4.5px, transparent 5px), radial-gradient(circle at 68% 50%, transparent 0 5px, rgba(235,253,255,.72) 5.5px 6.5px, transparent 7px), radial-gradient(circle at 43% 76%, transparent 0 2.5px, rgba(235,253,255,.68) 3px 4px, transparent 4.5px);
    background-size: 34px 190px;
}

.bubbles-left {
    left: 8%;
}

.bubbles-right {
    right: 7%;
    top: 15%;
}

@keyframes reelCatchWinnerFloat {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-2px) scale(1.055);
    }
}

@media (max-width: 600px) {
    .reel-catch-page {
        padding: 10px 2px 22px;
    }

    .reel-catch-titlebar {
        padding: 0 7px;
    }

    .reel-catch-kicker {
        display: none;
    }

    .reel-catch-status {
        gap: 4px;
        padding: 0 2px;
    }

    .status-pill {
        flex-basis: 23%;
        padding: 4px 2px;
    }

        .status-pill span {
            font-size: .55rem;
        }

    .reel-catch-machine {
        padding: 0 2px;
    }

    .reel-catch-board {
        gap: 0;
    }

    .catch-cell {
        aspect-ratio: 1 / 1.02;
    }

    .symbol-icon {
        font-size: clamp(2.3rem, 14vw, 4.3rem);
    }

    .symbol-name {
        display: none;
    }

    .collector-track {
        width: 92%;
    }

    .reel-catch-help {
        display: none;
    }
}


.symbol-image {
    display: block;
    width: 86%;
    height: 86%;
    margin: auto;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,.34));
}

.catch-symbol,
.catch-strip-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
}

.symbol-Fisherman {
    transform: none !important;
}

    .symbol-Fisherman .symbol-image {
        transform-origin: center;
    }

/* Reel Catch layout refinements ----------------------------------- */

/* Keep the game title truly centred while the Lobby link remains
                   available at the right-hand side. */
.reel-catch-titlebar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .reel-catch-titlebar > div {
        text-align: center;
    }

.reel-catch-lobby-link {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

/* Bring the five reels/symbol columns closer together without
                   changing the symbol sizes. */
.reel-catch-board {
    gap: 3px !important;
}

/*
                 * Fixed-width side slots keep the message in exactly the same place
                 * whether the bonus is active or not. The side information is merely
                 * hidden, never removed from the layout.
                 */
.reel-catch-message-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 10px;
    width: min(1000px, 100%);
    margin: 10px auto 0;
}

    .reel-catch-message-row .reel-catch-message {
        margin-top: 0;
        min-width: 0;
    }

.reel-catch-side-status {
    visibility: hidden;
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,.85);
    line-height: 1.05;
    white-space: nowrap;
}

    .reel-catch-side-status.visible {
        visibility: visible;
    }

    .reel-catch-side-status span {
        display: block;
        color: #f8e67a;
        font-size: .72rem;
        font-weight: 1000;
        letter-spacing: .08em;
    }

    .reel-catch-side-status strong {
        display: block;
        margin-top: 2px;
        font-size: 1.35rem;
        font-weight: 1000;
    }

/* The collector/bonus progress bar now sits above the reels. */
.collector-track-top {
    width: min(900px, 92%);
    margin: 0 auto 10px;
    padding: 18px 4px 5px;
    position: relative;
    z-index: 20;
}

@media (max-width: 600px) {
    .reel-catch-titlebar {
        padding-left: 58px;
        padding-right: 58px;
    }

    .reel-catch-lobby-link {
        right: 4px;
    }

    .reel-catch-board {
        gap: 1px !important;
    }

    .reel-catch-message-row {
        grid-template-columns: 72px minmax(0, 1fr) 72px;
        gap: 4px;
        margin-top: 6px;
    }

    .reel-catch-side-status span {
        font-size: .52rem;
        letter-spacing: .04em;
    }

    .reel-catch-side-status strong {
        font-size: 1rem;
    }

    .collector-track-top {
        width: 92%;
        margin-bottom: 8px;
    }
}

.reel-settle .catch-spin-strip {
    animation: reelCatchSettle 260ms ease-out;
}

@keyframes reelCatchSettle {
    0% {
        transform: translate3d(0, 0, 0);
    }

    40% {
        transform: translate3d(0, 8px, 0);
    }

    68% {
        transform: translate3d(0, -2px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.catch-cell.winner .catch-symbol,
.catch-cell.winner .catch-strip-symbol {
    animation: winningSymbolPulse 700ms ease-in-out infinite;
}

.catch-strip-symbol.winner-symbol {
    animation: winningSymbolPulse 700ms ease-in-out infinite;
}

@keyframes winningSymbolPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

.reel-area {
    position: relative;
}

.reel-bubbles {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
    transform: translateX(-50%);
}

.bubbles-1 {
    left: 20%;
}

.bubbles-2 {
    left: 40%;
}

.bubbles-3 {
    left: 60%;
}

.bubbles-4 {
    left: 80%;
}

.reel-bubble {
    position: absolute;
    bottom: -24px;
    width: var(--size);
    height: var(--size);
    left: var(--x);
    border: 2px solid rgba(190, 240, 255, 0.45);
    border-radius: 50%;
    opacity: var(--opacity);
    animation: reelBubbleRise var(--speed) linear infinite, reelBubbleWander var(--wander-speed) ease-in-out infinite alternate;
    animation-delay: var(--delay), var(--wander-delay);
}

@keyframes reelBubbleRise {
    from {
        bottom: -24px;
    }

    to {
        bottom: calc(100% + 24px);
    }
}

@keyframes reelBubbleWander {
    0% {
        margin-left: -5px;
    }

    35% {
        margin-left: 3px;
    }

    70% {
        margin-left: -2px;
    }

    100% {
        margin-left: 5px;
    }
}
