/* ============================================================================
   BLOEMENSCAPE: HET KONINKLIJKE LANDGOED - Authentic Playrix / Gardenscapes UI
   100% Custom 3D Game-Style Buttons, Wood & Gold Frames, Zero Emojis!
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&family=Nunito:wght@700;800;900&display=swap');

:root {
    --wood-outer: #d97e38;
    --wood-inner: #c46824;
    --wood-border: #f3a661;
    --wood-shadow: #7d3c0a;
    --tile-cream: #fcecdf;
    --tile-bevel: #f4cbb0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background: #1e5214;
    color: #3d1e05;
    touch-action: none;
}

.game-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

/* ============================================================================
   PLAYRIX-STYLE START SCREEN & LOADING OVERLAY (Exact match to Gardenscapes Splash!)
   Uses assets/bg_start_splash.jpg featuring Puppy Bikkeltje, Hendrik & Mansion!
   ============================================================================ */
#loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: url('../assets/bg_start_splash.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 34px;
    transition: opacity 0.4s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.start-splash-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Iconic Gardenscapes-Style 3D Green & Gold Curved Title Logo */
.start-hero-logo {
    position: relative;
    z-index: 5;
    align-self: flex-start;
    margin-left: max(2vw, 18px);
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-2.5deg);
    animation: floatLogo 3.2s infinite ease-in-out;
}

@keyframes floatLogo {
    0%, 100% { transform: rotate(-2.5deg) translateY(0); }
    50% { transform: rotate(-1.5deg) translateY(-6px); }
}

.start-logo-plaque {
    background: linear-gradient(180deg, #ffb800 0%, #d46a00 50%, #7d3600 100%);
    border: 4px solid #592500;
    border-radius: 36px;
    padding: 8px 26px;
    box-shadow: 0 8px 0 #421a00, 0 14px 28px rgba(0,0,0,0.55), inset 0 3px 3px rgba(255,245,180,0.65);
    display: flex;
    align-items: center;
     position: relative;
}

.start-logo-green {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 700;
    color: #68f030;
    letter-spacing: 0.5px;
    text-shadow:
        0 4px 0 #145a08,
        -2.5px -2.5px 0 #145a08,
        2.5px -2.5px 0 #145a08,
        -2.5px 2.5px 0 #145a08,
        2.5px 2.5px 0 #145a08;
}

.start-logo-gold {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 700;
    color: #fff24d;
    letter-spacing: 0.5px;
    text-shadow:
        0 4px 0 #6e3000,
        -2.5px -2.5px 0 #6e3000,
        2.5px -2.5px 0 #6e3000,
        -2.5px 2.5px 0 #6e3000,
        2.5px 2.5px 0 #6e3000;
}

.start-logo-flower {
    width: 48px;
    height: 48px;
    margin-right: 6px;
    margin-top: -16px;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.45));
}

.start-logo-butterfly {
    width: 44px;
    height: 44px;
    margin-left: 6px;
    margin-top: -18px;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.45));
}

.start-logo-subribbon {
    margin-top: -8px;
    background: linear-gradient(180deg, #58e847 0%, #1ca317 100%);
    border: 3px solid #fff24d;
    border-radius: 18px;
    padding: 3px 20px;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 0 #0e520a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.start-bottom-dock {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.loading-bar-shell {
    width: min(520px, 86vw);
    height: 58px;
    background: rgba(55, 62, 68, 0.82);
    border: 3.5px solid #ffffff;
    border-radius: 32px;
    padding: 4px;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.55);
    margin: 0 auto 14px;
}

.loading-bar-fill {
    height: 100%;
    width: 35%;
    background: linear-gradient(180deg, #fff200 0%, #ff9f1a 55%, #e67e22 100%);
    border-radius: 26px;
    box-shadow: inset 0 3px 4px rgba(255,255,255,0.65);
    transition: width 0.25s ease;
}

.loading-bar-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 0 #3d2208, -1.5px -1.5px 0 #3d2208, 1.5px -1.5px 0 #3d2208, -1.5px 1.5px 0 #3d2208, 1.5px 1.5px 0 #3d2208;
}

.loading-subtitle-tip {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: #ffffff;
    text-align: center;
    padding: 0 16px;
    text-shadow: 0 2px 0 #1e272e, -2px -2px 0 #1e272e, 2px -2px 0 #1e272e, -2px 2px 0 #1e272e, 2px 2px 0 #1e272e;
}

.start-ready-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: popInStart 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.start-ready-actions.hidden,
#start-loading-box.hidden {
    display: none;
}

@keyframes popInStart {
    0% { transform: scale(0.75); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.start-play-giant-btn {
    font-size: clamp(1.5rem, 3.2vw, 2.05rem) !important;
    padding: 14px 56px !important;
    border-radius: 36px !important;
    border-width: 4px !important;
    animation: pulseMarker 1.8s infinite ease-in-out;
}

.start-intro-btn {
    font-size: 1.05rem !important;
    padding: 8px 26px !important;
}

/* ============================================================================
   ANIMATED INTRO CINEMATIC OVERLAY (Short Story with Puppy Bikkeltje, Hendrik & Garden!)
   ============================================================================ */
.intro-cinematic-overlay {
    position: fixed;
    inset: 0;
    z-index: 550;
    background: #102408;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 24px 24px;
    transition: opacity 0.35s ease;
}

.intro-cinematic-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

#intro-cinematic-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.intro-top-bar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.intro-chapter-pill {
    background: linear-gradient(180deg, #9a6034 0%, #633818 100%);
    border: 3px solid #e0a370;
    border-radius: 26px;
    padding: 6px 20px;
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.5);
    text-shadow: 0 2px 0 #381b07;
}

.intro-story-card {
    position: relative;
    z-index: 5;
    align-self: center;
    max-width: 820px;
    width: 100%;
    background: linear-gradient(180deg, #cb8b5a 0%, #a16032 100%);
    border: 4px solid #e0a370;
    border-radius: 30px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 0 #592b0c, 0 16px 36px rgba(0,0,0,0.68);
}

.intro-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.intro-avatar-img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 4px solid #ffd32a;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.intro-speaker-badge {
    margin-top: -10px;
    background: linear-gradient(180deg, #58e847, #1ca317);
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 2px 10px;
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.78rem;
    white-space: nowrap;
    text-shadow: 0 1.5px 0 #0e520a;
}

.intro-story-content {
    flex: 1;
    background: radial-gradient(circle at 50% 35%, #fff9ed 0%, #f6e2c4 100%);
    border: 3px solid #8a4e24;
    border-radius: 20px;
    padding: 12px 18px;
    color: #4a2508;
    font-weight: 800;
    font-size: clamp(0.95rem, 1.9vw, 1.15rem);
    line-height: 1.38;
    box-shadow: inset 0 3px 6px rgba(110, 55, 15, 0.22);
}

.intro-progress-dots {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.intro-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4b28c;
    border: 2px solid #8a4e24;
    transition: all 0.25s;
}

.intro-dot.active {
    width: 28px;
    border-radius: 8px;
    background: #37c91e;
    border-color: #145a0c;
}

/* ============================================================================
   SCREENS CONTAINER
   ============================================================================ */
.game-screen {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.game-screen.active {
    display: flex;
}

/* ============================================================================
   SCREEN 1: HET KONINKLIJKE LANDGOED (Interactive Isometric Garden Hub)
   ============================================================================ */
#screen-estate {
    background: url('../assets/bg_garden_estate.jpg') center center / cover no-repeat;
}

.estate-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 55%, rgba(0, 25, 5, 0.42) 100%);
    pointer-events: none;
}

/* Top HUD Bar (Exact Gardenscapes Wood/Brown Pill Style from Screenshot 1!) */
.top-hud-bar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    gap: 10px;
    flex-wrap: wrap;
}

.hud-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hud-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #b87c4b 0%, #8c552b 55%, #6e3f1c 100%);
    border: 2.5px solid #e3a772;
    border-radius: 26px;
    padding: 3px 16px 3px 8px;
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 4px 0 #4a260c, 0 6px 10px rgba(0,0,0,0.45), inset 0 2px 2px rgba(255,255,255,0.35);
    text-shadow: 0 2px 0 #3d1e05, -1.5px -1.5px 0 #3d1e05, 1.5px -1.5px 0 #3d1e05;
    position: relative;
}

.hud-pill-overlap {
    padding-left: 4px;
}

.hud-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
}

.hud-icon-wrap .game-icon {
    width: 38px;
    height: 38px;
}

.hud-plus-dot {
    position: absolute;
    bottom: -3px;
    right: -4px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #7cf542 0%, #26a619 70%, #145a0c 100%);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.45);
}

.hud-pill.clickable {
    cursor: pointer;
    transition: transform 0.12s;
}
.hud-pill.clickable:active {
    transform: scale(0.94);
}

.hud-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(180deg, #e0863c 0%, #b85c19 100%);
    border: 3px solid #f5b378;
    box-shadow: 0 4px 0 #7a3908, 0 6px 12px rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 5px;
}
.hud-icon-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #7a3908;
}

/* Gardenscapes Logo Ribbon */
.game-logo-badge {
    background: linear-gradient(180deg, #58e847 0%, #1ca317 100%);
    border: 3.5px solid #f39c12;
    border-radius: 22px;
    padding: 4px 18px;
    box-shadow: 0 4px 0 #7a3e00, 0 6px 12px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-logo-badge h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.45rem;
    color: #fff200;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 0 #7a3e00, -1.5px -1.5px 0 #7a3e00, 1.5px -1.5px 0 #7a3e00;
}

/* Interactive Renovation Markers on the Garden Estate */
#estate-markers {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.estate-marker {
    pointer-events: auto;
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.estate-marker:hover {
    transform: translate(-50%, -56%) scale(1.1);
    z-index: 15;
}

.marker-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 3D Carved Wood & Cream Cushion Pin for Unrenovated Tasks */
.pending-icon {
    background: linear-gradient(180deg, #df9349 0%, #9c551c 100%);
    border: 3.5px solid #ffd384;
    padding: 5px;
    box-shadow: 0 5px 0 #592b08, 0 8px 16px rgba(0,0,0,0.55);
}

.pending-inner-cushion {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    background: radial-gradient(circle at 35% 25%, #fffdf9 0%, #fcecdf 70%, #f0c4a2 100%);
    border: 2px solid #8c4814;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 3px #ffffff;
}

/* Subtle 3D Green Checkmark Badge for Completed Tasks (Doesn't obscure the restored garden!) */
.estate-marker.renovated {
    opacity: 0.55;
    transition: opacity 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.estate-marker.renovated:hover {
    opacity: 1;
    transform: translate(-50%, -56%) scale(1.12);
}

.marker-renovated-badge {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.marker-renovated-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.renovated-label {
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.estate-marker.renovated:hover .renovated-label {
    opacity: 1;
    transform: translateY(0);
}

.pulse-gold {
    animation: pulseMarker 1.6s infinite ease-in-out;
}

@keyframes pulseMarker {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 0 #592b08, 0 0 0 0 rgba(255, 211, 42, 0.8); }
    50% { transform: scale(1.08); box-shadow: 0 5px 0 #592b08, 0 0 0 14px rgba(255, 211, 42, 0); }
}

.marker-cost {
    position: absolute;
    bottom: -10px;
    background: linear-gradient(180deg, #ff6b57 0%, #c23616 100%);
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    border: 2px solid #fff2b2;
    box-shadow: 0 3px 0 #6e1404;
    display: flex;
    align-items: center;
    gap: 4px;
}

.marker-cost.cost-ready {
    background: linear-gradient(180deg, #7cf542 0%, #26a619 55%, #167a0c 100%);
    border-color: #d4f7c5;
    box-shadow: 0 3px 0 #0e5208;
}

.marker-label {
    margin-top: 10px;
    background: linear-gradient(180deg, #6b3b10, #3d1e05);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 10px;
    border: 2px solid #f3a661;
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(0,0,0,0.45);
}

/* Hendrik Speech Banner */
.hendrik-speech {
    position: absolute;
    left: 20px;
    bottom: 120px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, #fffdf9, #fcecdf);
    border: 4px solid #d97e38;
    border-radius: 22px;
    padding: 10px 16px;
    max-width: 440px;
    box-shadow: 0 6px 0 #7d3c0a, 0 10px 24px rgba(0,0,0,0.45);
    transform: translateY(25px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hendrik-speech.show {
    transform: translateY(0);
    opacity: 1;
}

.hendrik-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #f39c12;
    object-fit: cover;
    flex-shrink: 0;
}

/* Estate Bottom Action Dock */
.estate-bottom-dock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 12px 22px;
    background: linear-gradient(0deg, rgba(15, 35, 10, 0.78) 0%, transparent 100%);
    gap: 12px;
    flex-wrap: wrap;
}

.dock-left-buttons {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

/* Game-Style Wood/Cream Beveled Dock Buttons */
.dock-card-btn {
    background: linear-gradient(180deg, #e0863c 0%, #b85c19 100%);
    border: 3.5px solid #f5b378;
    border-radius: 20px;
    padding: 7px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: #ffffff;
    text-shadow: 0 2px 0 #6e3206;
    box-shadow: 0 6px 0 #7a3908, 0 10px 18px rgba(0,0,0,0.45);
    transition: transform 0.12s;
}

.dock-card-btn:hover {
    transform: translateY(-2px);
}
.dock-card-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #7a3908;
}

/* ============================================================================
   ICONIC WOOD-FRAMED GOLDEN PLAY TRIANGLE BUTTON (Exact match to media_1794000472963)
   ============================================================================ */
.play-triangle-btn {
    position: relative;
    width: 142px;
    height: 126px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.55));
    transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-triangle-btn:hover {
    transform: scale(1.06);
}
.play-triangle-btn:active {
    transform: scale(0.95) translateY(3px);
}

.play-triangle-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.play-triangle-content {
    position: absolute;
    inset: 0;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-triangle-num {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow:
        0 3px 0 #9c5700,
        -2px -2px 0 #9c5700,
        2px -2px 0 #9c5700,
        -2px 2px 0 #9c5700,
        2px 2px 0 #9c5700;
}

.play-triangle-sub {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.74rem;
    color: #fff9d2;
    text-shadow: 0 1.5px 0 #7a3e00;
    margin-top: 2px;
}

/* ============================================================================
   SCREEN 2: MATCH-3 PUZZLE SCREEN (Exact Layout of Screenshot 5 & Booster Image!)
   ============================================================================ */
#screen-match3 {
    background: url('../assets/bg_match_board.jpg') center center / cover no-repeat;
}

.red-slanted-banner {
    position: relative;
    z-index: 15;
    background: linear-gradient(180deg, #e5383b 0%, #ba181b 100%);
    border-bottom: 5px solid #800f13;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.red-slanted-banner h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.75rem;
    color: #ffffff;
    text-shadow: 0 3px 0 #660708;
    transform: rotate(-1.5deg);
}

.m3-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    gap: 12px;
    min-height: 0;
}

/* Floating Gardenscapes Top Bar on Match-3 Screen (Exact match to media_1794000561716!) */
.m3-floating-topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px 2px;
    pointer-events: none;
}

.m3-floating-topbar > * {
    pointer-events: auto;
}

.m3-coin-pill {
    font-size: 1.3rem;
    padding: 4px 20px 4px 6px;
}

.wood-square-img-btn {
    width: 54px;
    height: 54px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.5));
    transition: transform 0.12s;
}
.wood-square-img-btn:hover {
    transform: scale(1.06);
}
.wood-square-img-btn:active {
    transform: translateY(3px) scale(0.95);
}
.wood-square-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Left Sidebar: Carved Wooden HUD Panel (Exact match to media_1794000561716!) */
.m3-left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    flex-shrink: 0;
}

.wood-hud-panel {
    background: linear-gradient(180deg, #9a6034 0%, #7d4a24 55%, #633818 100%);
    border: 4px solid #bf804e;
    border-radius: 30px;
    padding: 12px 10px;
    width: 114px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 0 #3f210b, 0 12px 22px rgba(0,0,0,0.55), inset 0 2px 3px rgba(255,220,180,0.3);
}

.m3-engraved-level {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #381b07;
    text-shadow: 0 1.5px 0 rgba(255, 205, 155, 0.45);
    letter-spacing: 0.5px;
}

.m3-goals-box {
    background: linear-gradient(180deg, #b88a64 0%, #9e714d 100%);
    border: 3px solid #593113;
    border-radius: 20px;
    padding: 10px 6px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 4px 8px rgba(45, 20, 4, 0.55), 0 1px 0 rgba(255,215,175,0.35);
}

.m3-goal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}

.m3-goal-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.m3-goal-check-icon {
    width: 26px !important;
    height: 26px !important;
    margin-left: -10px;
    margin-top: 18px;
}

.m3-goal-count {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 0 2px 0 #3d1e05, -1.5px -1.5px 0 #3d1e05, 1.5px -1.5px 0 #3d1e05;
}

.m3-moves-box {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #331806;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 2.15rem;
    text-shadow: 0 1.5px 0 rgba(255, 205, 155, 0.45);
}

.m3-engraved-arrows {
    filter: drop-shadow(0 1.5px 0 rgba(255, 205, 155, 0.4));
}

.m3-moves-box .low-moves {
    color: #ff4757;
    text-shadow: 0 2px 0 #3d0000;
    animation: pulseMarker 0.8s infinite;
}

.rainbow-wheel-widget {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 8px;
    background: conic-gradient(#ffd32a 0deg, #593113 0deg);
    border: 5px solid #9a6034;
    box-shadow: 0 7px 0 #3f210b, 0 10px 20px rgba(0,0,0,0.55), inset 0 3px 6px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rainbow-wheel-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #70421e 0%, #3d1f08 100%);
    border: 3px solid #bf804e;
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rainbow-wheel-orb {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.55));
    animation: spinSlowOrb 12s linear infinite;
}

@keyframes spinSlowOrb {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rainbow-wheel-pct-badge {
    position: absolute;
    bottom: -8px;
    background: linear-gradient(180deg, #ffeaa7 0%, #f39c12 100%);
    border: 2px solid #592b08;
    border-radius: 10px;
    padding: 1px 8px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    color: #3d1e05;
    box-shadow: 0 2px 4px rgba(0,0,0,0.45);
}

.m3-board-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
}

#match3-canvas {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* ============================================================================
   RIGHT SIDEBAR: 4 BOOSTERS RACK & SETTINGS COG (Exact match to media_1794000480987!)
   ============================================================================ */
.m3-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 10;
    flex-shrink: 0;
}

.boosters-wood-rack {
    background: linear-gradient(180deg, #e0863c 0%, #c46824 100%);
    border: 4px solid #f3a661;
    border-radius: 28px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 7px 0 #7d3c0a, 0 12px 22px rgba(0,0,0,0.48);
}

.booster-slot-btn {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: radial-gradient(circle at 35% 25%, #fffbf7 0%, #fcecdf 65%, #f3cbb2 100%);
    border: 3px solid #b55e1c;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 0 #8a430d, inset 0 2px 3px #ffffff;
    transition: transform 0.12s;
}

.booster-slot-btn:hover {
    transform: scale(1.04);
}
.booster-slot-btn:active {
    transform: translateY(2px);
}

.booster-slot-btn.active-booster {
    border-color: #2ed573;
    box-shadow: 0 0 0 5px rgba(46, 213, 115, 0.75);
    transform: scale(1.08);
}

.booster-slot-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    pointer-events: none;
}

.booster-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0 6px;
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #cae9ff;
    box-shadow: 0 3px 5px rgba(0,0,0,0.4);
    text-shadow: 0 1.5px 0 rgba(0,0,0,0.45);
}

.badge-blue {
    background: radial-gradient(circle at 35% 30%, #48dbfb 0%, #0097e6 65%, #0068b7 100%);
    border-color: #7ed6ff;
}

.badge-green {
    background: radial-gradient(circle at 35% 30%, #68f046 0%, #26a619 65%, #167a0c 100%);
    border-color: #a3ffac;
    font-size: 1.25rem;
}

/* Chunky Wood Settings Cog Button below Booster Rack (Exact match to media_1794000480987!) */
.settings-wood-btn {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(180deg, #e0863c 0%, #c46824 100%);
    border: 4px solid #f3a661;
    box-shadow: 0 6px 0 #7d3c0a, 0 10px 18px rgba(0,0,0,0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.12s;
}
.settings-wood-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #7d3c0a;
}
.settings-wood-btn img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* ============================================================================
   SCREEN 3: VERZAMEL GRONDSTOFFEN! (Oogst & Verkoop Subspel - Screenshot 4)
   ============================================================================ */
#screen-harvest {
    background: #5b9c1f;
}

.harvest-stage-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}

#harvest-canvas {
    width: 100%;
    max-width: 920px;
    max-height: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    border: 5px solid #f3a661;
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
    background: #c89656;
}

/* ============================================================================
   MODALS & POPUPS (Authentic Carved Wood Board + Recessed Cream Well + 3D Pill Buttons!)
   Exact match to media_1794000561716_56fdf98e.jpg & media_1794000528039_47b85d48.jpg
   ============================================================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 22, 6, 0.72);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: linear-gradient(180deg, #cb8b5a 0%, #b87645 55%, #a16032 100%);
    border: 4px solid #e0a370;
    border-radius: 34px;
    max-width: 540px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 0 18px 20px;
    position: relative;
    box-shadow:
        0 10px 0 #693814,
        0 18px 40px rgba(0,0,0,0.68),
        inset 0 2px 2px rgba(255, 230, 200, 0.45);
    text-align: center;
}

/* Raised Wooden Header Bar at Top of Modal (Just like 'Continue?' in media_1794000561716!) */
.modal-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.22rem, 2.5vw, 1.58rem);
    color: #ffffff;
    background: linear-gradient(180deg, #c68352 0%, #ab6839 100%);
    margin: 0 -18px 14px;
    padding: 14px 58px 12px;
    border-radius: 30px 30px 14px 14px;
    border-bottom: 4px solid #8a4e24;
    box-shadow: 0 4px 8px rgba(70, 30, 5, 0.32), inset 0 2px 2px rgba(255, 225, 195, 0.35);
    text-shadow:
        0 3px 0 #592b0c,
        -1.5px -1.5px 0 #592b0c,
        1.5px -1.5px 0 #592b0c,
        -1.5px 1.5px 0 #592b0c,
        1.5px 1.5px 0 #592b0c;
}

/* Engraved Wooden 'X' Close Button in Top-Right of Modal Header */
.modal-close-x {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(110, 55, 18, 0.35);
    border: 2px solid rgba(255, 210, 170, 0.35);
    color: #6b3712;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    cursor: pointer;
    text-shadow: 0 1.5px 0 rgba(255, 215, 180, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s;
}
.modal-close-x:hover {
    transform: scale(1.08);
    background: rgba(180, 40, 20, 0.75);
    color: #ffffff;
}

/* Recessed Cream/Parchment Inner Well inside the Wooden Modal */
.modal-cream-well {
    background: radial-gradient(circle at 50% 35%, #fff9ed 0%, #f6e2c4 75%, #ebd0aa 100%);
    border: 3px solid #96582a;
    border-radius: 22px;
    padding: 16px 16px;
    box-shadow: inset 0 4px 10px rgba(120, 65, 20, 0.25), 0 2px 0 rgba(255, 225, 190, 0.45);
}

/* Curved Golden 'BELONING! / REWARD!' Header inside Win Modal */
.reward-curved-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffd32a;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    text-shadow:
        0 3px 0 #8c4100,
        -2px -2px 0 #8c4100,
        2px -2px 0 #8c4100,
        -2px 2px 0 #8c4100,
        2px 2px 0 #8c4100;
}

/* Authentic Playrix 3D Glossy Pill Buttons (Exact match to 'Play On 900' & 'Claim'!) */
.btn-glossy {
    position: relative;
    border: 3px solid #a8ff78;
    border-radius: 26px;
    padding: 11px 28px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        0 6px 0 #15690a,
        0 10px 18px rgba(0,0,0,0.42),
        inset 0 3px 2px rgba(255,255,255,0.55);
    text-shadow:
        0 2px 0 #115708,
        -1.5px -1.5px 0 #115708,
        1.5px -1.5px 0 #115708,
        -1.5px 1.5px 0 #115708,
        1.5px 1.5px 0 #115708;
    transition: transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-glossy:hover {
    filter: brightness(1.05);
}
.btn-glossy:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #15690a, 0 4px 8px rgba(0,0,0,0.35);
}

.btn-green {
    background: linear-gradient(180deg, #80f545 0%, #37c91e 52%, #1d940f 100%);
    border-color: #b8ff94;
}

.btn-blue {
    background: linear-gradient(180deg, #5ce1ff 0%, #0097e6 52%, #0068b7 100%);
    border-color: #a6f0ff;
    box-shadow:
        0 6px 0 #004480,
        0 10px 18px rgba(0,0,0,0.42),
        inset 0 3px 2px rgba(255,255,255,0.55);
    text-shadow:
        0 2px 0 #00386b,
        -1.5px -1.5px 0 #00386b,
        1.5px -1.5px 0 #00386b;
}

.btn-gold {
    background: linear-gradient(180deg, #fff24d 0%, #f39c12 55%, #c67100 100%);
    border-color: #fff9b0;
    box-shadow:
        0 6px 0 #804300,
        0 10px 18px rgba(0,0,0,0.42),
        inset 0 3px 2px rgba(255,255,255,0.65);
    text-shadow:
        0 2px 0 #6e3700,
        -1.5px -1.5px 0 #6e3700,
        1.5px -1.5px 0 #6e3700;
}

/* ============================================================================
   'CONTINUE? / DOORGAAN?' + 'GOLDEN TICKET / GOUDEN PAS' COMBO LAYOUT
   Exact match to media_1794000561716_56fdf98e.jpg!
   ============================================================================ */
.continue-combo-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 780px;
    width: 100%;
    flex-wrap: wrap;
}

.continue-wood-card {
    max-width: 430px;
    flex: 1 1 320px;
}

.continue-plus5-img {
    width: 124px;
    height: 124px;
    object-fit: contain;
    margin: 4px auto 8px;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(180, 90, 0, 0.35));
}

.continue-subtext {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #6b3710;
    margin-top: 4px;
}

.btn-play-on {
    font-size: 1.45rem;
    padding: 12px 38px;
    min-width: 260px;
}

.golden-ticket-card {
    width: 230px;
    background: linear-gradient(180deg, #5f52ff 0%, #6c5ce7 45%, #8c7ae6 75%, #f6d365 100%);
    border: 4px solid #ffd32a;
    border-radius: 30px;
    padding: 16px 14px 18px;
    box-shadow: 0 10px 0 #341f97, 0 18px 36px rgba(0,0,0,0.65);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.golden-ticket-ribbon {
    background: linear-gradient(180deg, #fff24d 0%, #f39c12 100%);
    border: 3px solid #b85d00;
    border-radius: 16px;
    padding: 6px 18px;
    width: 106%;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 0 #7a3e00, -1.5px -1.5px 0 #7a3e00, 1.5px -1.5px 0 #7a3e00;
    box-shadow: 0 4px 8px rgba(0,0,0,0.35);
}

.golden-ticket-desc {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffeaa7;
    text-shadow: 0 2px 0 #2d146e, -1px -1px 0 #2d146e, 1px -1px 0 #2d146e;
    margin: 4px 0 8px;
}

.golden-ticket-gifts {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    margin: 4px 0 10px;
}

/* Style Selection Cards (3 Renovate Choices!) */
.styles-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 14px 0 8px;
}

.style-choice-card {
    position: relative;
    background: linear-gradient(180deg, #fffdf9 0%, #f5e2c8 100%);
    border: 3.5px solid #c4884d;
    border-radius: 22px;
    padding: 8px 8px 10px;
    cursor: pointer;
    box-shadow: 0 5px 0 #8a5220, 0 8px 14px rgba(0,0,0,0.22);
    transition: all 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.style-choice-card:hover {
    transform: translateY(-3px);
}

.style-choice-card.selected {
    border-color: #2ecc71;
    background: linear-gradient(180deg, #f3fff5 0%, #d4f7c5 100%);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 0 #1b7931, 0 10px 20px rgba(46, 213, 115, 0.45);
}

.style-selected-check {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.4));
}

.style-preview-img {
    width: 100%;
    height: 98px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.style-name {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #4a2508;
    margin-top: 8px;
    line-height: 1.2;
}

/* Pre-Level Goals & Boosters */
.prelevel-goals-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 14px 0;
}

.prelevel-goal-card {
    background: radial-gradient(circle at 35% 25%, #fffdf9 0%, #fcecdf 68%, #f0c8a8 100%);
    border: 3.5px solid #b86828;
    border-radius: 20px;
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 0 #7d3c0a, inset 0 2px 3px #ffffff;
}

.prelevel-goal-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.32));
}

.prelevel-goal-card .goal-cnt {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    color: #ffffff;
    margin-top: 2px;
    text-shadow:
        0 2px 0 #592b08,
        -1.5px -1.5px 0 #592b08,
        1.5px -1.5px 0 #592b08,
        -1.5px 1.5px 0 #592b08,
        1.5px 1.5px 0 #592b08;
}

.preboosters-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 12px 0;
}

.preboost-item {
    background: radial-gradient(circle at 35% 25%, #fffdf9 0%, #fcecdf 68%, #f0c8a8 100%);
    border: 3.5px solid #b86828;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #4a2508;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 0 #7d3c0a, inset 0 2px 3px #ffffff;
    transition: transform 0.12s;
}

.preboost-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.preboost-item.selected {
    border-color: #2ed573;
    background: #d4f7c5;
}

.diff-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 14px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.badge-normal { background: #2ecc71; }
.badge-hard   { background: #8e44ad; }
.badge-super  { background: #e84118; }
.badge-bonus  { background: #f39c12; }

/* 100 Levels Map Grid */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
    max-height: 52vh;
    overflow-y: auto;
    padding: 10px;
}

.level-node {
    height: 72px;
    border-radius: 18px;
    border: 3px solid #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
}

.level-node.unlocked.normal { background: linear-gradient(180deg, #58e847, #1ca317); }
.level-node.unlocked.hard { background: linear-gradient(180deg, #a55eea, #5f27cd); }
.level-node.unlocked.super_hard { background: linear-gradient(180deg, #ff5e57, #c23616); }
.level-node.unlocked.bonus { background: linear-gradient(180deg, #ffd32a, #e67e22); }
.level-node.locked { background: #7f8c8d; opacity: 0.7; cursor: not-allowed; }
.level-node.current { transform: scale(1.08); box-shadow: 0 0 0 4px #ffd32a; }

.lvl-num { font-size: 1.35rem; text-shadow: 0 2px 0 rgba(0,0,0,0.4); }
.lvl-stars { font-size: 0.75rem; letter-spacing: 1px; }

/* Logbook Rows */
.logbook-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2.5px solid #e0c3a8;
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: left;
}
.logbook-thumb {
    width: 56px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
}
.logbook-info { flex: 1; }
.logbook-info p { font-size: 0.85rem; color: #666; }

/* Toast Notification */
#game-toast {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(180deg, #6b3b10, #3d1e05);
    color: #ffd32a;
    border: 3px solid #f3a661;
    border-radius: 24px;
    padding: 10px 24px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}
#game-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Portrait Responsive Adaptation */
@media (max-width: 720px) {
    .m3-stage {
        flex-direction: column;
        padding: 4px 8px;
    }
    .m3-left-column {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    .wood-hud-panel {
        flex-direction: row;
        width: auto;
        flex: 1;
        padding: 6px 12px;
    }
    .hendrik-portrait-frame {
        width: 54px;
        height: 54px;
        margin-top: 0;
    }
    .m3-goals-box {
        flex-direction: row;
        width: auto;
    }
    .rainbow-wheel-widget {
        width: 62px;
        height: 62px;
    }
    .m3-right-column {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .boosters-wood-rack {
        flex-direction: row;
        justify-content: center;
        padding: 6px;
    }
    .booster-slot-btn {
        width: 58px;
        height: 58px;
    }
    .booster-slot-img {
        width: 44px;
        height: 44px;
    }
}
