/* /Components/Barn.razor.rz.scp.css */
/* --- Shared Inner Styles --- */
.barn-inner[b-rfklk2nle1] {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #5d3a24;
    border: 6px solid #3e2723;
    box-shadow: 0 10px 0 rgba(0,0,0,0.3); /* Heavy game-style shadow */
}

.barn-title[b-rfklk2nle1] {
        margin: 0;
        color: #ffd700; /* Golden text */
        text-shadow: 2px 2px 0px #5e3a24;
        font-family: 'VT323', monospace;
        font-size: 2rem;
        margin:0;
}
/* ... (rest of your existing scroll and row styles) ... */

.barn-sidebar[b-rfklk2nle1] {
    position: fixed;
    top: 20px;
    right: -320px; /* Fully hidden to the right */
    width: 300px;
    /* height: calc(100vh - 40px); */
    transition: right 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 500;
}

.barn-sidebar.open[b-rfklk2nle1] {
    right: 20px; /* Slide into view */
}

.barn-inner[b-rfklk2nle1] {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #5d3a24;
    border: 6px solid #3e2723;
}

.inventory-scroll[b-rfklk2nle1] {
    flex-grow: 1;
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 5px;
}

/* Custom Pixel Scrollbar */
.inventory-scroll[b-rfklk2nle1]::-webkit-scrollbar { width: 8px; }
.inventory-scroll[b-rfklk2nle1]::-webkit-scrollbar-track { background: #3e2723; }
.inventory-scroll[b-rfklk2nle1]::-webkit-scrollbar-thumb { background: #cd853f; border: 2px solid #3e2723; }

.item-qty[b-rfklk2nle1] {
    color: #ffd700;
    font-weight: bold;
}

/* --- Desktop Styles (Default) --- */
.barn-sidebar[b-rfklk2nle1] {
    position: fixed;
    top: 20px;
    right: -320px; 
    width: 300px;
    /* height: calc(100vh - 40px); */
    transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 500;
}

.barn-sidebar.open[b-rfklk2nle1] {
    right: 20px;
}

/* --- Mobile Styles (Override) --- */
@media (max-width: 768px) {
    .barn-sidebar[b-rfklk2nle1] {
        /* Reset sidebar position */
        right: 50%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -40%) scale(0.8); /* Start slightly higher and smaller */
        opacity: 0;
        pointer-events: none;
        width: 90%; /* Take up most of the screen width */
        max-width: 400px;
        height: 70vh; /* Don't cover the whole height so they see the farm behind */
    }

    .barn-sidebar.open[b-rfklk2nle1] {
        transform: translate(-50%, -50%) scale(1); /* Slide into center and pop up */
        opacity: 1;
        pointer-events: auto;
    }

    /* Add a dark backdrop only on mobile to focus on the barn */
    .barn-sidebar.open[b-rfklk2nle1]::before {
        content: '';
        position: fixed;
        top: -100vh;
        left: -100vw;
        width: 300vw;
        height: 300vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
    }
}

.inventory-row[b-rfklk2nle1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 2px solid #8b4513;
    padding: 10px;
    margin-bottom: 10px;
}

.item-main[b-rfklk2nle1] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-actions[b-rfklk2nle1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.price-tag[b-rfklk2nle1] {
    font-size: 0.8rem;
    color: #ffd700;
    margin-bottom: 2px;
}

.sell-btn[b-rfklk2nle1] {
    background: #4caf50;
    border: 2px solid #2e7d32;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    cursor: pointer;
    font-family: 'VT323', monospace;
}

.sell-btn:active[b-rfklk2nle1] {
    transform: translateY(2px);
    background: #388e3c;
}

.sell-all[b-rfklk2nle1] {
    background: #f44336;
    border-color: #c62828;
}
/* /Components/GameAlert.razor.rz.scp.css */
.alert-overlay[b-0y5f9hxoit] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Above everything else */
}

.alert-box[b-0y5f9hxoit] {
    min-width: 250px;
    padding: 20px;
    text-align: center;
    border: 4px solid #5e3a24;
    background-color: #8b4513;
    image-rendering: pixelated;
    box-shadow: 0 0 0 4px #000, 8px 8px 0 rgba(0,0,0,0.5);
}

.alert-content[b-0y5f9hxoit] {
    color: #fdf5e6;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
/* /Components/GameHud.razor.rz.scp.css */
.game-hud[b-aqainvne82] {
    position: sticky;
    top: 10px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    margin: 0 auto 20px auto;
    padding: 10px 20px;
    border-radius: 50px;
    border: 3px solid #5e3a24;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hud-left[b-aqainvne82],
.hud-right[b-aqainvne82] {
    display: flex;
    gap: 12px;
}

.stat-pill.coins[b-aqainvne82] {
    border-color: #ffd700;
    color: #b8860b;
}

.stat-pill.xp[b-aqainvne82] {
    border-color: #4a90e2;
    color: #2a6099;
}

.stat-pill .icon[b-aqainvne82] {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Center Farm Name */
.farm-name[b-aqainvne82] {
    margin: 0;
    font-size: 1.1rem;
    color: #5e3a24;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HUD Buttons */
.hud-btn[b-aqainvne82] {
    background: white;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.hud-btn:hover[b-aqainvne82] {
    transform: translateY(-2px);
    border-color: #5e3a24;
    background: #f9f9f9;
}

.hud-btn.exit:hover[b-aqainvne82] {
    background: #fff5f5;
    border-color: #ff4d4d;
}

/* Game HUD (Top) */
.game-hud[b-aqainvne82] {
    position: fixed; /* Changed to fixed to stay on top of the viewport */
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    width: 95%;
    max-width: 800px;
    
    /* Apply Wood */
    background: #a0522d;
    border: 4px solid #5e3a24;
    box-shadow: inset 2px 2px 0px #cd853f, 4px 4px 0px rgba(0,0,0,0.3);
}

.stat-pill[b-aqainvne82] {
    background: rgba(0,0,0,0.2); /* Inset darker area for stats */
    border: 2px solid #5e3a24;
    padding: 2px 10px;
    border-radius: 0; /* Square/Pixel feel */
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
}
/* /Components/GameSnackbar.razor.rz.scp.css */
.snackbar-anchor[b-wteg4aikaz] {
    position: fixed;
    bottom: -500px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 10000;
}

.snackbar-anchor.show[b-wteg4aikaz] { bottom: 40px; }

.snackbar-body[b-wteg4aikaz] {
    padding: 12px 24px;
    background: #5e3a24;
    border: 3px solid #cd853f;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 0 rgba(0,0,0,0.3);
}

/* Specific Types */
.snackbar-anchor.error .snackbar-body[b-wteg4aikaz] { border-color: #e74c3c; color: #ff9999; }
.snackbar-anchor.info .snackbar-body[b-wteg4aikaz] { border-color: #3498db; color: #add8e6; }
/* /Components/LoadingOverlay.razor.rz.scp.css */
.loading-overlay[b-wtm84p1bkr] {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    
    /* Solid Opaque Background */
    background-color: #3e2723; 
    
    /* Optional: Subtle Pixel Grid Pattern */
    background-image: 
        linear-gradient(45deg, #382320 25%, transparent 25%), 
        linear-gradient(-45deg, #382320 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #382320 75%), 
        linear-gradient(-45deg, transparent 75%, #382320 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px 20px, 20px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Ensure it sits on the very top layer */
    z-index: 10000; 
    opacity: 1 !important; /* Forces total opacity */
}

.spinner-container[b-wtm84p1bkr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* The Square Spinner Logic */
.pixel-spinner[b-wtm84p1bkr] {
    width: 60px;
    height: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    animation: pixelRotate-b-wtm84p1bkr 1s steps(4) infinite;
}

.pixel[b-wtm84p1bkr] {
    width: 26px;
    height: 26px;
    border: 4px solid #000;
}

/* Different colors for a "loading bar" feel */
.p1[b-wtm84p1bkr] { background: #4caf50; } /* Green */
.p2[b-wtm84p1bkr] { background: #ffd700; } /* Gold */
.p3[b-wtm84p1bkr] { background: #ff4d4d; } /* Red */
.p4[b-wtm84p1bkr] { background: #8b4513; } /* Brown */

.loading-text[b-wtm84p1bkr] {
    font-family: 'VT323', monospace;
    font-size: 2rem;
    color: white;
    letter-spacing: 4px;
    animation: pulse-b-wtm84p1bkr 0.8s ease-in-out infinite alternate;
}

/* Animations */
@keyframes pixelRotate-b-wtm84p1bkr {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-b-wtm84p1bkr {
    from { opacity: 0.5; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.05); }
}

.loading-overlay[b-wtm84p1bkr] {
        transition: opacity 0.5s ease-out, visibility 0.5s;
        visibility: visible;
    }

    .loading-overlay.fade-out[b-wtm84p1bkr] {
        opacity: 0 !important;
        visibility: hidden;
        pointer-events: none;
    }
/* /Components/Market.razor.rz.scp.css */
.market-item[b-1z9wnfat1v] {
    height: 64px;
}


.market-grid[b-1z9wnfat1v] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 5px; /* Extra breathing room inside the body */
}

.market-item[b-1z9wnfat1v] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2); /* Inset "slot" look */
    border: 2px solid #5e3a24;
    cursor: pointer;
    transition: transform 0.1s;
}

.market-item:active[b-1z9wnfat1v] {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
}

.market-item .icon-wrapper[b-1z9wnfat1v] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5e3a24; /* Background for the seed bag */
    border: 2px solid #8b4513;
}
/* /Components/Toolbar.razor.rz.scp.css */
/* Toolbar (Bottom) */
.toolbar[b-tniixdkynj] {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 8px;
    padding: 10px;
    
    /* Apply Wood */
    background: #a0522d;
    border: 4px solid #5e3a24;
    box-shadow: inset 2px 2px 0px #cd853f, 4px 4px 0px rgba(0,0,0,0.3);
     border-radius: 5px;
}

/* Woody Buttons */
.toolbar button[b-tniixdkynj], .hud-btn[b-tniixdkynj] {
    background: #cd853f; /* Lighter wood */
    border: 3px solid #5e3a24;
    color: #fdf5e6;
    font-family: 'Courier New', Courier, monospace; /* Or a Pixel Font */
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 12px;
    cursor: pointer;
    box-shadow: inset 1px 1px 0px #deb887;
    image-rendering: pixelated;
}

.toolbar button.active[b-tniixdkynj] {
    background: #ffd700; /* Gold highlight when active */
    color: #5e3a24;
    border-color: #b8860b;
    transform: translateY(2px); /* "Pressed" feel */
    box-shadow: none;
}

.toolbar button[b-tniixdkynj] {
    border-radius: 5px;
}
/* /Components/ToolTip.razor.rz.scp.css */
.game-tooltip-container[b-a501z4o68z] {
    position: absolute;
    top: -30px; /* Positions it above the crop layer */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000; /* Ensure it's above all tiles */
    pointer-events: none; /* Don't block clicks to the tile */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    transform: translate(-50%, 5px); /* Start slightly lower */
}

.game-tooltip-box[b-a501z4o68z] {
    background: #5e3a24; /* Dark Wood */
    color: #ffd700;     /* Golden Text */
    border: 2px solid #cd853f; /* Lighter Wood border */
    padding: 4px 8px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.4); /* Pixel shadow */
    image-rendering: pixelated;
}

.tooltip-arrow[b-a501z4o68z] {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #cd853f; /* Matches border color */
    margin-top: -1px; /* Stitch it to the box */
}

.game-tooltip-container[b-a501z4o68z] {
    animation: tooltip-float-b-a501z4o68z 2s infinite ease-in-out;
}

@keyframes tooltip-float-b-a501z4o68z {
    0%, 100% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -4px); }
}

.tile:hover .game-tooltip-container[b-a501z4o68z],
.tile:active .game-tooltip-container[b-a501z4o68z],
.tile.highlighted .game-tooltip-container[b-a501z4o68z] {
    opacity: 1;
    transform: translate(-50%, 0); /* Slide into place */
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-hki6nrb3yr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hki6nrb3yr] {
    flex: 1;
}

.sidebar[b-hki6nrb3yr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-hki6nrb3yr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-hki6nrb3yr]  a, .top-row[b-hki6nrb3yr]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-hki6nrb3yr]  a:hover, .top-row[b-hki6nrb3yr]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-hki6nrb3yr]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-hki6nrb3yr] {
        justify-content: space-between;
    }

    .top-row[b-hki6nrb3yr]  a, .top-row[b-hki6nrb3yr]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-hki6nrb3yr] {
        flex-direction: row;
    }

    .sidebar[b-hki6nrb3yr] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-hki6nrb3yr] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-hki6nrb3yr]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-hki6nrb3yr], article[b-hki6nrb3yr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qwdb26b11o] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-qwdb26b11o] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qwdb26b11o] {
    font-size: 1.1rem;
}

.bi[b-qwdb26b11o] {
    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-qwdb26b11o] {
    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-qwdb26b11o] {
    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-qwdb26b11o] {
    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-qwdb26b11o] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qwdb26b11o] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qwdb26b11o] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qwdb26b11o]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-qwdb26b11o]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qwdb26b11o]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qwdb26b11o] {
        display: none;
    }

    .collapse[b-qwdb26b11o] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-qwdb26b11o] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* Reusing your Menu variables for consistency */
.dashboard-bg[b-qpgbohrko9] {
    justify-content: flex-start !important;
    padding-top: 50px;
    overflow: auto;
}

.slots-grid[b-qpgbohrko9] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    width: 90%;
    max-width: 1200px;
    z-index: 10;
    padding: 20px;
}

.save-slot[b-qpgbohrko9] {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, filter 0.2s;
}

.save-slot:hover[b-qpgbohrko9] {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.slot-header[b-qpgbohrko9] {
    padding-left: 20px;
    color: #ffd700;
    font-size: 1.8rem;
    border-bottom: 2px solid #5e3a24;
    margin-bottom: 10px;
}

.stat-row[b-qpgbohrko9] {
    font-size: 1.4rem;
    color: #fdf5e6;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.slot-actions[b-qpgbohrko9] {
    padding: 20px;
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.slot-empty[b-qpgbohrko9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.empty-text[b-qpgbohrko9] {
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Smaller version of your menu buttons */
.menu-btn.small[b-qpgbohrko9] {
    padding: 8px 12px;
    font-size: 1.2rem;
    flex-grow: 1;
}

.delete-icon-btn[b-qpgbohrko9] {
    background: #ff4d4d;
    border: 3px solid #000;
    color: white;
    cursor: pointer;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -3px -3px 0 #c62828;
}

.back-btn[b-qpgbohrko9] {
    background: none;
    border: none;
    color: white;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    text-decoration: underline;
    cursor: pointer;
    z-index: 100;
}

.back-btn:hover[b-qpgbohrko9] { color: #ffd700; }

.danger-panel[b-qpgbohrko9] {
    border-color: #c62828 !important;
    background: #4a1c1c !important; /* Darker, reddish-brown */
    box-shadow: inset 4px 4px 0px #7b2a2a, 8px 8px 0px rgba(0,0,0,0.5) !important;
}

.warning-text[b-qpgbohrko9] {
    color: #ff4d4d !important;
    text-shadow: 2px 2px 0px #000;
}

.sub-text[b-qpgbohrko9] {
    font-size: 0.9rem;
    color: #ffa7a7;
    margin-top: 10px;
}

.confirmation-modal[b-qpgbohrko9] {
    max-width: 400px;
    text-align: center;
    padding: 20px;
    animation: woodyBounce-b-qpgbohrko9 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

@keyframes woodyBounce-b-qpgbohrko9 {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    70% {
        transform: scale(1.1); /* The "Over-bounce" */
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-actions[b-qpgbohrko9] {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.delete-confirm-btn[b-qpgbohrko9] {
    background: #ff4d4d;
    color: white;
    border: 4px solid #000;
    box-shadow: inset -4px -4px 0px #c62828;
    flex-grow: 1;
}

.text-center[b-qpgbohrko9] { text-align: center; }

.modal-overlay[b-qpgbohrko9] {
    position: fixed; /* Crucial: Takes it out of the dashboard flow */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7); /* Dim the background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Higher than everything else */
    backdrop-filter: blur(4px); /* Optional: extra polish */
    animation: fadeIn-b-qpgbohrko9 0.2s ease-out;
}
@keyframes fadeIn-b-qpgbohrko9 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.delete-confirm-btn:hover[b-qpgbohrko9] {
    animation: rumble-b-qpgbohrko9 0.1s infinite;
    background: #ff0000;
}

@keyframes rumble-b-qpgbohrko9 {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    25% { transform: translate(-1px, -1px) rotate(-1deg); }
    50% { transform: translate(-1px, 1px) rotate(1deg); }
    75% { transform: translate(1px, -1px) rotate(0deg); }
    100% { transform: translate(1px, 1px) rotate(0deg); }
}
/* /Pages/Farm.razor.rz.scp.css */
.farm-viewport[b-bvn1l90ocs] {
    width: 100vw;
    height: 100vh; /* Adjust based on your HUD/Toolbar height */
    overflow: hidden;
    position: relative;
    background: #3e2723; /* Darker dirt color for the background */
    cursor: grab;
    touch-action: none !important; /* Critical for mobile dragging */
    -webkit-touch-callout: none;
    user-select: none;
}

.farm-viewport:active[b-bvn1l90ocs] {
    cursor: grabbing;
}

.farm-world[b-bvn1l90ocs] {
    position: absolute;
    top: 0;
    left: 0;
    touch-action: none !important;
}

.farm-grid[b-bvn1l90ocs] {
    display: grid;
    /*grid-template-columns: repeat(5, 80px);*/
    /*gap: 4px;*/
    width: 1280px; 
    height: 1280px;
    padding: 100px;
    touch-action: none !important;
}

.tile[b-bvn1l90ocs] {
    width: 64px;
    height: 64px;
    background: #7cfc00;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;

    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
}

.crop-layer[b-bvn1l90ocs] {
    position: absolute;
    top: -24px; /* Adjust this value to set the height of the lift */
    left: 0;
    pointer-events: none; /* Clicks pass through to the tile below */
    z-index: 2;
}

.tile[b-bvn1l90ocs] {
    position: relative; /* Essential for .crop-layer positioning */
    width: 64px;
    height: 64px;
}

.crop-layer:active[b-bvn1l90ocs] {
    filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.tile:active[b-bvn1l90ocs] {
    filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.tile:hover[b-bvn1l90ocs], 
.tile:active[b-bvn1l90ocs], 
.tile.highlighted[b-bvn1l90ocs] {
    z-index: 999 !important;
        filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.crop-layer .tile:hover[b-bvn1l90ocs] {
    filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.tile.highlighted[b-bvn1l90ocs] {
    outline: 3px solid #ffd700;
    outline-offset: -3px;
     filter: brightness(1.4);
}

.tile.plowed[b-bvn1l90ocs] {
    background: #8b4513;
}

.tile.withered[b-bvn1l90ocs] {
    background: #4b3621;
    filter: brightness(0.4);
}


.tile:hover .tile-tooltip[b-bvn1l90ocs] {
    display: block;
}

/* The Tree needs to be positioned relative to its bottom-left */
.tree-overlay[b-bvn1l90ocs] {
    position: absolute;
    pointer-events: none;
    /* Let clicks pass through to the ground */
    z-index: 10;
}

.market-item[b-bvn1l90ocs] {
    height: 64px;
}


.market-grid[b-bvn1l90ocs] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 5px; /* Extra breathing room inside the body */
}

.market-item[b-bvn1l90ocs] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2); /* Inset "slot" look */
    border: 2px solid #5e3a24;
    cursor: pointer;
    transition: transform 0.1s;
}

.market-item:active[b-bvn1l90ocs] {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
}

.market-item .icon-wrapper[b-bvn1l90ocs] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5e3a24; /* Background for the seed bag */
    border: 2px solid #8b4513;
}

.shadow-layer[b-bvn1l90ocs] {
    position: absolute;
    bottom: 4px; /* Sits at the bottom of the tile */
    left: 50%;
    transform: translateX(-50%);
    width: 32px; /* Slightly smaller than the tile */
    height: 12px;
    background: rgba(0, 0, 0, 0.3); /* Transparent black */
    border-radius: 50%; /* Creates the oval shape */
    z-index: 1;
    pointer-events: none;
}

.ready .crop-layer[b-bvn1l90ocs] {
    animation: ready-bounce-b-bvn1l90ocs 3s ease-in-out 0s infinite normal forwards;
}

@keyframes ready-bounce-b-bvn1l90ocs {
	0%,
	100% {
		transform: rotate(0deg);
		transform-origin: 50% 100%;
	}

	10% {
		transform: rotate(2deg);
	}

	20%,
	40%,
	60% {
		transform: rotate(-4deg);
	}

	30%,
	50%,
	70% {
		transform: rotate(4deg);
	}

	80% {
		transform: rotate(-2deg);
	}

	90% {
		transform: rotate(2deg);
	}
}

.working-tile[b-bvn1l90ocs] {
    filter: brightness(0.4);
    filter: contrast(0.4);
}

.building-tile[b-bvn1l90ocs] {
    cursor: pointer;
    overflow: visible !important; /* Allow the roof to stick out slightly */
}

.barn-visual[b-bvn1l90ocs] {
    position: relative;
    width: 100%;
    height: 100%;
    background: #a52a2a; /* Barn Red */
    border: 3px solid #3e2723;
    border-radius: 4px;
    image-rendering: pixelated;
}

/* Add some pixel-art flair */
.barn-doors[b-bvn1l90ocs] {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 40%;
    background: #5d3a24;
    border-top: 2px solid #000;
}

.building-label[b-bvn1l90ocs] {
    position: absolute;
    bottom: -15px;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: white;
    text-shadow: 1px 1px 0 #000;
    pointer-events: none;
}
/* /Pages/Index.razor.rz.scp.css */
    .game-title[b-js3ychzsl2] {
        font-size: 6rem;
        color: #ffd700; /* Gold */
        text-shadow: 
            6px 6px 0px #5e3a24,
            -2px -2px 0px #000,
            2px -2px 0px #000,
            -2px 2px 0px #000,
            2px 2px 0px #000;
        margin: 0;
        letter-spacing: 4px;
        line-height: 0.8;
    }

    .title-subtitle[b-js3ychzsl2] {
        color: white;
        font-size: 1.5rem;
        text-shadow: 2px 2px 0px #000;
    }

    .woody-panel[b-js3ychzsl2] {
        background: #8b4513;
        border: 6px solid #5e3a24;
        padding: 30px;
        box-shadow: inset 4px 4px 0px #a0522d, 8px 8px 0px rgba(0,0,0,0.3);
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 320px;
    }

    .menu-btn[b-js3ychzsl2] {
        padding: 15px;
        font-size: 1.8rem;
        font-family: 'VT323', monospace;
        border: 4px solid #000;
        cursor: pointer;
        position: relative;
        transition: transform 0.1s;
        image-rendering: pixelated;
    }

    .menu-btn.primary[b-js3ychzsl2] {
        background: #4caf50;
        color: white;
        box-shadow: inset -4px -4px 0px #2e7d32;
    }

    .menu-btn.secondary[b-js3ychzsl2] {
        background: #cd853f;
        color: #5e3a24;
        box-shadow: inset -4px -4px 0px #8b4513;
    }

    .menu-btn:hover[b-js3ychzsl2] {
        transform: scale(1.05) translateY(-2px);
    }

    .menu-btn:active[b-js3ychzsl2] {
        transform: scale(0.98) translateY(2px);
    }

    .ground-footer[b-js3ychzsl2] {
        position: absolute;
        bottom: 0; width: 100%; height: 10%;
        background: #3e2723; /* Dirt color */
        border-top: 8px solid #2e7d32; /* Grass edge */
        z-index: 2;
    }

    .modal-overlay[b-js3ychzsl2] {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); /* Darker backdrop for focus */
    display: flex; 
    justify-content: center; 
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(2px); /* Softens the background */
}

.modal-content[b-js3ychzsl2] {
    max-width: 450px;
    width: 90%;
    /* Same woody-panel styling as your menu but with specific padding */
    padding: 30px;
    animation: modalPop-b-js3ychzsl2 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-header h2[b-js3ychzsl2] {
    color: #ffd700;
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0;
    text-shadow: 3px 3px 0px #000;
}

.modal-body[b-js3ychzsl2] {
    margin: 20px 0;
}

.guide-item[b-js3ychzsl2] {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 12px;
    padding: 12px;
    border-left: 4px solid #ffd700;
}

.guide-icon[b-js3ychzsl2] {
    font-size: 2rem;
}

.guide-text[b-js3ychzsl2] {
    color: #fdf5e6;
    font-size: 1.2rem;
    line-height: 1.2;
}

.guide-text strong[b-js3ychzsl2] {
    color: #ffd700;
    display: block;
}

.modal-close-btn[b-js3ychzsl2] {
    width: 100%;
    margin-top: 10px;
}

@keyframes modalPop-b-js3ychzsl2 {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* /Pages/TestFarm.razor.rz.scp.css */
.farm-viewport[b-060bz56791] {
    width: 100vw;
    height: 100vh; /* Adjust based on your HUD/Toolbar height */
    overflow: hidden;
    position: relative;
    background: #3e2723; /* Darker dirt color for the background */
    cursor: grab;
    touch-action: none !important; /* Critical for mobile dragging */
    -webkit-touch-callout: none;
    user-select: none;
}

.farm-viewport:active[b-060bz56791] {
    cursor: grabbing;
}

.farm-world[b-060bz56791] {
    position: absolute;
    top: 0;
    left: 0;
    touch-action: none !important;
}

.farm-grid[b-060bz56791] {
    display: grid;
    /*grid-template-columns: repeat(5, 80px);*/
    /*gap: 4px;*/
    width: 1280px; 
    height: 1280px;
    padding: 100px;
    touch-action: none !important;
}

.tile[b-060bz56791] {
    width: 64px;
    height: 64px;
    background: #7cfc00;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;

    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
}

.crop-layer[b-060bz56791] {
    position: absolute;
    top: -24px; /* Adjust this value to set the height of the lift */
    left: 0;
    pointer-events: none; /* Clicks pass through to the tile below */
    z-index: 2;
}

.tile[b-060bz56791] {
    position: relative; /* Essential for .crop-layer positioning */
    width: 64px;
    height: 64px;
}

.crop-layer:active[b-060bz56791] {
    filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.tile:active[b-060bz56791] {
    filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.tile:hover[b-060bz56791], 
.tile:active[b-060bz56791], 
.tile.highlighted[b-060bz56791] {
    z-index: 999 !important;
        filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.crop-layer .tile:hover[b-060bz56791] {
    filter: brightness(0.8);
    /* transform: scale(0.95); */
    transition: transform 0.05s;
}

.tile.highlighted[b-060bz56791] {
    outline: 3px solid #ffd700;
    outline-offset: -3px;
     filter: brightness(1.4);
}

.tile.plowed[b-060bz56791] {
    background: #8b4513;
}

.tile.withered[b-060bz56791] {
    background: #4b3621;
    filter: brightness(0.4);
}


.tile:hover .tile-tooltip[b-060bz56791] {
    display: block;
}

/* The Tree needs to be positioned relative to its bottom-left */
.tree-overlay[b-060bz56791] {
    position: absolute;
    pointer-events: none;
    /* Let clicks pass through to the ground */
    z-index: 10;
}

.shadow-layer[b-060bz56791] {
    position: absolute;
    bottom: 4px; /* Sits at the bottom of the tile */
    left: 50%;
    transform: translateX(-50%);
    width: 32px; /* Slightly smaller than the tile */
    height: 12px;
    background: rgba(0, 0, 0, 0.3); /* Transparent black */
    border-radius: 50%; /* Creates the oval shape */
    z-index: 1;
    pointer-events: none;
}

.ready .crop-layer[b-060bz56791] {
    animation: ready-bounce-b-060bz56791 3s ease-in-out 0s infinite normal forwards;
}

@keyframes ready-bounce-b-060bz56791 {
	0%,
	100% {
		transform: rotate(0deg);
		transform-origin: 50% 100%;
	}

	10% {
		transform: rotate(2deg);
	}

	20%,
	40%,
	60% {
		transform: rotate(-4deg);
	}

	30%,
	50%,
	70% {
		transform: rotate(4deg);
	}

	80% {
		transform: rotate(-2deg);
	}

	90% {
		transform: rotate(2deg);
	}
}

.working-tile[b-060bz56791] {
    filter: brightness(0.4);
    filter: contrast(0.4);
}

.building-tile[b-060bz56791] {
    cursor: pointer;
    overflow: visible !important; /* Allow the roof to stick out slightly */
}

.barn-visual[b-060bz56791] {
    position: relative;
    width: 100%;
    height: 100%;
    background: #a52a2a; /* Barn Red */
    border: 3px solid #3e2723;
    border-radius: 4px;
    image-rendering: pixelated;
}

/* Add some pixel-art flair */
.barn-doors[b-060bz56791] {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 40%;
    background: #5d3a24;
    border-top: 2px solid #000;
}

.building-label[b-060bz56791] {
    position: absolute;
    bottom: -15px;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: white;
    text-shadow: 1px 1px 0 #000;
    pointer-events: none;
}
