@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #popupTables h1,
    #popupTables hr,
    #popupTables .close_btn {
        display: none !important;
    }

    #tables {
        margin: 0 10px !important;
        display: block !important;
        padding: 43px 10px 0 10px !important;
        height: 100% !important;
    }

    #tables .line {
        margin-bottom: 0;
    }

    #tables .heading {
        font-size: 13px;
    }

    #tables .line div {
        border: none;
        resize: none;
        font-size: 11px;
    }

    #hex_map_container.map>div:not(#hex_map):not(#tables) {
        width: 100%;
        justify-content: center;
    }

    #hex_map_container.map>div:not(#hex_map):not(#tables) {
        overflow: hidden !important;
    }

    #hex_map_container.map {
        overflow-y: visible;
        height: fit-content;
        flex-direction: column;
    }

    #hex_palette #Treasures .palette_tile div,
    #hex_map .palette_tile div:first-child,
    .tablinks[data-biome="Treasures"] svg {
        background-color: #fec93d;
    }
}