/* ==========================================================================
   MEJA TEMPA KOMPONEN MODULAR (COMPONENT FORGE STATION)
   Aesthetic: Codex Leonardo Da Vinci, Aged Parchment & Burnished Brass
   Spacious 2-Card Layout with Bottom Materials Footer
   ========================================================================== */

#component-forge-modal.modal-overlay {
    padding: 10px 64px !important;
}

.forge-station-modal {
    width: 1720px !important;
    max-width: calc(100% - 16px) !important;
    height: 96% !important;
    max-height: 920px !important;
    min-height: 0 !important;
    background: #2b170a url('assets/leather-cover.jpg') repeat !important;
    border: 3px solid #5a3416 !important;
    border-radius: 12px !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.95),
        0 10px 30px rgba(20, 10, 5, 0.85),
        inset 0 0 40px rgba(0, 0, 0, 0.7) !important;
    position: relative;
    overflow: visible;
    overscroll-behavior: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 10px 16px 12px 16px;
}

/* Parchment Sheet Inside Modal */
.forge-parchment-sheet {
    background-color: #f7f1e1;
    background-image:
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.6) 0%, rgba(235, 218, 190, 0.5) 75%, rgba(205, 175, 135, 0.7) 100%),
        linear-gradient(to bottom, transparent 27px, rgba(140, 100, 60, 0.08) 28px);
    background-size: 100% 100%, 100% 28px;
    border: 2px solid #8c5d2e;
    border-radius: 8px;
    box-shadow: inset 0 0 25px rgba(90, 50, 20, 0.2), 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: none;
    position: relative;
}

/* Modal Close Button (Dark Brown & Symmetrical Header Alignment - Scaled +20%) */
.forge-station-modal .modal-close {
    top: 18px;
    right: 34px;
    width: 50px; /* Scaled +20% from 42px */
    height: 50px; /* Scaled +20% from 42px */
    background: linear-gradient(180deg, #3d2514 0%, #1e1208 100%);
    border: 2px solid #baa06e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7eed8;
    z-index: 50;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
    padding: 0;
}

.forge-station-modal .modal-close svg {
    width: 26px; /* Scaled +20% from 22px */
    height: 26px;
    display: block;
    pointer-events: none;
}

.forge-station-modal .modal-close:hover {
    background: linear-gradient(180deg, #5a381f 0%, #2e1c10 100%);
    border-color: #ffd700;
    color: #ffffff;
    transform: scale(1.08);
}

/* Header Area - Dark Renaissance Brown Leather (+20% Scaling) */
.forge-header {
    min-height: 68px; /* Scaled +20% from 56px */
    padding: 12px 26px; /* Scaled +20% from 10px 22px */
    border-bottom: 1.5px solid #5a3416;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background-color: #29180b;
    background-image: url('assets/leather-texture-long.jpg');
    background-repeat: repeat-x;
    background-position: center top;
    background-size: 512px 189px;
    box-shadow: inset 0 1px 0 rgba(223, 194, 130, 0.2), inset 0 -2px 6px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.forge-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.forge-subtitle {
    display: none !important;
}

.forge-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 31px; /* Scaled +20% from 26px */
    font-weight: 800;
    color: #f7ecd5; /* High-contrast ivory text on dark leather */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
    margin: 0;
    letter-spacing: 1.2px;
    line-height: 1.2;
}

/* Controls Bar (Filter Pills & Search +20% Scale on Renaissance Leather) */
.forge-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 24px; /* Scaled +20% from 6px 18px */
    background-color: #231409;
    background-image: url('assets/leather-texture-long.jpg');
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: 512px 189px;
    border-bottom: 2.5px solid #8c5d2e;
    box-shadow: inset 0 1px 0 rgba(223, 194, 130, 0.15), 0 3px 10px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    gap: 14px; /* Scaled +20% from 12px */
    min-height: 52px; /* Scaled +20% */
}

.forge-category-tabs {
    display: flex;
    gap: 10px; /* Scaled from 8px */
}

.forge-cat-tab {
    background: rgba(247, 241, 225, 0.85);
    border: 1.5px solid #8c5d2e;
    border-radius: 7px; /* Scaled from 6px */
    padding: 8.5px 20px; /* Scaled +20% from 7px 16px */
    font-family: 'Cinzel', Georgia, serif;
    font-size: 17px; /* Scaled +20% from 14px */
    font-weight: 700;
    color: #3d2310;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.forge-cat-tab:hover {
    background: #ffffff;
    color: #1e1005;
    border-color: #baa06e;
    transform: translateY(-1px);
}

.forge-cat-tab.active {
    background: linear-gradient(180deg, #d4a359 0%, #aa7729 60%, #835616 100%);
    color: #1e1005;
    font-weight: 900;
    border-color: #ffd700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.forge-search-wrapper {
    position: relative;
    min-width: 432px; /* Scaled +20% from 360px */
}

.forge-search-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid #8c5d2e;
    border-radius: 7px; /* Scaled from 6px */
    padding: 8.5px 17px; /* Scaled +20% from 7px 14px */
    font-family: 'Georgia', serif;
    font-size: 18px; /* Scaled +20% from 15px */
    color: #2b1708;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.forge-search-input:focus {
    border-color: #c9a86a;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(201, 168, 106, 0.5);
}

/* Alert / Toast inside Modal (Floating overlay prevents viewport compression & extra transform layer) */
.forge-toast-banner {
    display: none;
    position: absolute;
    top: 146px;
    left: 24px;
    right: 24px;
    margin: 0 auto;
    z-index: 40;
    max-width: 780px;
    padding: 10px 22px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    border: 1.5px solid transparent;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(20, 10, 4, 0.28);
    pointer-events: none;
    box-sizing: border-box;
    transition: opacity 0.18s ease;
}

.forge-toast-banner.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.forge-toast-banner.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Recipes Viewport: 2 Cards Side-by-Side */
.forge-recipes-viewport {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: none;
    touch-action: pan-y;
    padding: 10px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.forge-recipes-viewport::-webkit-scrollbar {
    width: 7px;
}

.forge-recipes-viewport::-webkit-scrollbar-track {
    background: rgba(200, 180, 150, 0.25);
}

.forge-recipes-viewport::-webkit-scrollbar-thumb {
    background: #8c5d2e;
    border-radius: 4px;
}

.forge-recipes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    min-height: 0;
    height: 100%;
    flex: 1;
    align-items: stretch;
    touch-action: pan-y;
}

/* Spacious Blueprint Card (1 Page = 2 Komponen) */
.forge-card {
    background: rgba(255, 255, 255, 0.90);
    border: 1.5px solid rgba(140, 93, 46, 0.45);
    border-radius: 8px;
    padding: 14px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    min-height: 0;
    height: 100%;
}

.forge-card:hover {
    border-color: #8c5d2e;
    box-shadow: 0 6px 18px rgba(80, 45, 15, 0.22);
}

.forge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 7px;
    border-bottom: 1px dashed rgba(140, 93, 46, 0.3);
}

.forge-card-badges {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.forge-tier-badge {
    display: none !important;
}

.forge-tier-badge.tier-normal {
    background: #e2e8f0;
    color: #334155;
    border: 1px solid #94a3b8;
}

.forge-tier-badge.tier-great {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #60a5fa;
}

.forge-tier-badge.tier-rare {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #c084fc;
}

.forge-tier-badge.tier-very_rare {
    background: #fdf2f8;
    color: #9d174d;
    border: 1px solid #f472b6;
}

.forge-tier-badge.tier-legend {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.forge-cat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    background: linear-gradient(180deg, #3d2514 0%, #1e1208 100%);
    color: #ffffff;
    border: 1.2px solid #c9a86a;
    padding: 0 12px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-sizing: border-box;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.forge-owned-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: #2b1708;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: #efe4ce;
    padding: 0 12px;
    border-radius: 4px;
    border: 1.5px solid #8c5d2e;
    box-sizing: border-box;
    line-height: 1;
    flex-shrink: 0;
}

.forge-card-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 19px; /* Prominently positioned alongside category badge */
    font-weight: 800;
    color: #2b1708;
    margin: 0;
    line-height: 1;
    min-height: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

/* Middle Section: 2-Column Split (Left: 3D Box, Right: Desc + Ingredients - 3D Box Scaled +15% Width) */
.forge-card-split-columns {
    display: grid;
    grid-template-columns: 356.5px 1fr; /* Scaled +15% from 310px */
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 6px;
    align-items: stretch;
}

@media (max-width: 1400px) {
    .forge-card-split-columns {
        grid-template-columns: 299px 1fr; /* Scaled +15% from 260px */
    }
}

.forge-card-col-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* 3D Item Specimen Viewport (Box di Kiri - Bright Studio White Room tanpa Pinggiran Hitam) */
.forge-card-3d-box {
    width: 100%;
    height: 100%;
    min-height: 310px; /* Expanded vertical height */
    background: radial-gradient(ellipse at 50% 48%, #f6f7fa 0%, #eaedf3 46%, #d5dce6 78%, #bcc6d4 100%);
    border: 1.5px solid rgba(140, 93, 46, 0.45);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 18px rgba(70, 82, 100, 0.14), 0 1px 4px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.forge-card-3d-canvas-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.forge-card-3d-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    background: #cbd3df;
    cursor: grab;
}

.forge-card-3d-watermark {
    position: absolute;
    bottom: 6px;
    left: 8px;
    font-family: 'Cinzel', serif;
    font-size: 8.5px;
    font-weight: 700;
    color: rgba(48, 38, 28, 0.65);
    letter-spacing: 0.8px;
    pointer-events: none;
    z-index: 4;
}

.forge-card-col-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    min-height: 0;
}

/* Keterangan / Deskripsi Box (di Kanan, Atas Bahan - Zero Clipping & Expanded Space) */
.forge-card-desc-box {
    width: 100%;
    min-height: 0;
    max-height: none;
    box-sizing: border-box;
    background: rgba(246, 239, 227, 0.75);
    border: 1.5px solid rgba(140, 93, 46, 0.35);
    border-left: 4px solid #8c5d2e;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: visible;
    flex-shrink: 0;
}

.forge-card-desc-label {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 14px;
    font-weight: 800;
    color: #8c5d2e;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    border-bottom: 1px dashed rgba(140, 93, 46, 0.25);
    padding-bottom: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.forge-card-desc-text {
    font-family: 'Georgia', serif;
    font-size: 14.5px;
    color: #3d2310;
    font-style: italic;
    line-height: 1.45;
    overflow: visible;
    padding-right: 0;
}

/* Card internal flex structure */
.forge-card-top-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.forge-card-bottom-content {
    margin-top: auto;
    flex-shrink: 0;
}

/* Ingredients Section (di Kanan, Bawah Keterangan - Expanded Height & Breathing Room) */
.forge-ingredients-box {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(140, 93, 46, 0.3);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 0;
    flex: 1 1 auto;
    min-height: 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.forge-ingredients-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 12.5px;
    /* Scaled +10% from 11px */
    font-weight: 700;
    color: #8c5d2e;
    margin-bottom: 7px;
    letter-spacing: 0.7px;
    flex-shrink: 0;
}

.forge-ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    justify-content: space-evenly;
}

.forge-ing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    /* Scaled +10% from 12px */
    padding: 7px 12px;
    min-height: 38px;
    border-radius: 4px;
    background: rgba(240, 230, 215, 0.65);
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.forge-ing-item:hover {
    background: rgba(246, 239, 227, 0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.forge-ing-item.sufficient {
    border-left: 4.5px solid #2e7d32;
}

.forge-ing-item.insufficient {
    border-left: 4.5px solid #c62828;
    background: rgba(255, 235, 235, 0.65);
}

.forge-ing-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.forge-ing-icon {
    width: 32px;
    /* Scaled +10% from 28px */
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.forge-ing-name {
    font-family: 'Georgia', serif;
    color: #2b1708;
    font-weight: 700;
    font-size: 14.5px;
    /* Scaled +10% from 13px */
    letter-spacing: 0.2px;
}

.forge-ing-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14.5px;
    /* Scaled +10% from 13px */
    font-weight: 800;
}

.forge-ing-qty.sufficient {
    color: #1b5e20;
}

.forge-ing-qty.insufficient {
    color: #b71c1c;
}

.forge-ing-tag {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 10.5px;
    /* Scaled +10% from 9.5px */
    font-weight: 800;
    padding: 3.5px 9px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.forge-ing-tag.sufficient {
    background: #c8e6c9;
    color: #1b5e20;
}

.forge-ing-tag.insufficient {
    background: #ffcdd2;
    color: #b71c1c;
}

/* Card Action Button */
.forge-action-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 6px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.forge-action-btn.active {
    background: linear-gradient(135deg, #a76d37 0%, #8c5d2e 60%, #68411b 100%);
    border: 1.5px solid #4a2810;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(90, 50, 20, 0.4);
}

.forge-action-btn.active:hover {
    background: linear-gradient(135deg, #b8793d 0%, #9e6934 60%, #7d4f21 100%);
    box-shadow: 0 4px 12px rgba(90, 50, 20, 0.5);
    transform: translateY(-1px);
}

.forge-action-btn.active:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(90, 50, 20, 0.6);
}

.forge-action-btn.disabled {
    background: rgba(200, 185, 165, 0.55);
    border: 1px solid rgba(140, 93, 46, 0.3);
    color: #8c7358;
    cursor: not-allowed;
    box-shadow: none;
}

/* Book-Edge Leather & Brass Index Tabs (Protruding Seamlessly from Book Cover Edges) */
.forge-page-nav-btn.forge-edge-tab {
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
    width: 61px;
    height: 151px;
    padding: 0;
    background: #2b170a url('assets/leather-cover.jpg') repeat;
    border: 3px solid #5a3416;
    cursor: pointer;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.forge-page-nav-btn.forge-edge-left {
    left: -58px;
    border-right: none;
    border-radius: 20px 0 0 20px;
    padding-right: 5px;
    box-shadow:
        -6px 6px 16px rgba(0, 0, 0, 0.72),
        inset 2px 2px 6px rgba(223, 194, 130, 0.18);
}

.forge-page-nav-btn.forge-edge-right {
    right: -58px;
    border-left: none;
    border-radius: 0 20px 20px 0;
    padding-left: 5px;
    box-shadow:
        6px 6px 16px rgba(0, 0, 0, 0.72),
        inset -2px 2px 6px rgba(223, 194, 130, 0.18);
}

/* Embossed Brass-Trimmed Parchment Clasp Plaque inside Leather Tab */
.forge-tab-plaque {
    width: 39px;
    height: 107px;
    background: linear-gradient(180deg, #eadab7 0%, #d4ba89 52%, #b5925d 100%);
    border: 1.5px solid #8c5d2e;
    color: #2b1708;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 235, 0.65),
        0 2px 5px rgba(0, 0, 0, 0.45);
    position: relative;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.forge-tab-plaque svg {
    width: 23px;
    height: 23px;
}

.forge-edge-left .forge-tab-plaque {
    border-right: none;
    border-radius: 13px 0 0 13px;
}

.forge-edge-right .forge-tab-plaque {
    border-left: none;
    border-radius: 0 13px 13px 0;
}

/* Twin Brass Bookbinder Rivets on Clasp Plaque */
.forge-tab-plaque::before,
.forge-tab-plaque::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f7e4a3 0%, #8c5d2e 75%, #4a2810 100%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.forge-tab-plaque::before {
    top: 9px;
}

.forge-tab-plaque::after {
    bottom: 9px;
}

.forge-edge-left .forge-tab-plaque::before,
.forge-edge-left .forge-tab-plaque::after {
    right: 5px;
}

.forge-edge-right .forge-tab-plaque::before,
.forge-edge-right .forge-tab-plaque::after {
    left: 5px;
}

.forge-page-nav-btn.forge-edge-tab:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

.forge-page-nav-btn.forge-edge-left:hover:not(:disabled) {
    transform: translateY(-50%) translateX(-3px);
}

.forge-page-nav-btn.forge-edge-right:hover:not(:disabled) {
    transform: translateY(-50%) translateX(3px);
}

.forge-page-nav-btn.forge-edge-tab:hover:not(:disabled) .forge-tab-plaque {
    background: linear-gradient(180deg, #f8edd4 0%, #e4cda0 52%, #c9a76e 100%);
    border-color: #d4af37;
    color: #1a0c03;
}

.forge-page-nav-btn.forge-edge-left:active:not(:disabled) {
    transform: translateY(-50%) translateX(1px);
}

.forge-page-nav-btn.forge-edge-right:active:not(:disabled) {
    transform: translateY(-50%) translateX(-1px);
}

.forge-page-nav-btn.forge-edge-tab:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    filter: saturate(0.45);
}

.forge-page-nav-btn.forge-edge-tab:disabled .forge-tab-plaque {
    opacity: 0.58;
}

@media (prefers-reduced-motion: reduce) {
    .forge-page-nav-btn.forge-edge-tab,
    .forge-tab-plaque {
        transition: none;
    }
}

@media (max-height: 520px), (max-width: 900px) {
    #component-forge-modal.modal-overlay,
    #unit-book-modal.unit-book-modal-overlay,
    #merchant-shop-modal.merchant-shop-overlay,
    #mission-leaderboard-modal.leaderboard-modal-overlay {
        padding: 8px 60px !important;
    }
    .forge-page-nav-btn.forge-edge-tab {
        width: 61px;
        height: 120px;
    }
    .forge-tab-plaque {
        width: 39px;
        height: 83px;
    }
}