#infoDashboardSubtitle {
    position: relative;
    width: 262px;
    margin: 2px 0 22px;
    color: #d8e2f4;
    font-family: var(--dashboard-font-family);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

#infoDashboardSubtitleText {
    display: block;
    padding: 0 24px;
}

#infoDashboardBackButton.info-dashboard-back-button {
    position: absolute;
    top: 50%;
    right: 0;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    color: #d8e2f4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Arial Black", "Arial", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    transform: translateY(-62%) scaleY(0.9);
    transform-origin: center;
    cursor: pointer;
}

#infoDashboardBackButton.info-dashboard-back-button:focus-visible {
    color: #ffffff;
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    #infoDashboardBackButton.info-dashboard-back-button:hover {
        color: #ffffff;
        outline: none;
    }
}

#infoDashboardPopup #closeInfoDashboardPopup.close-popup {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    color: #f1f6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Arial Black", "Arial", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    transform: scaleY(0.9);
    transform-origin: center;
    cursor: pointer;
}

#infoDashboardPopup #closeInfoDashboardPopup.close-popup:focus-visible {
    background: transparent;
    color: #ffffff;
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    #infoDashboardPopup #closeInfoDashboardPopup.close-popup:hover {
        background: transparent;
        color: #ffffff;
        outline: none;
    }
}

#infoDashboardCategoryList,
#infoDashboardList {
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.info-dashboard-card {
    width: 262px;
    min-height: 66px;
    box-sizing: border-box;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 6px solid transparent;
    border-image-source: url('UIAssets/box_main.png');
    border-image-slice: 6;
    border-image-width: 6px;
    border-image-repeat: stretch;
    background-color: #111b2e;
    cursor: pointer;
    color: #f4f7ff;
    font-family: var(--dashboard-font-family);
}

.info-dashboard-card:focus-visible {
    background-color: #132039;
    filter: brightness(1.06);
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .info-dashboard-card:hover {
        background-color: #132039;
        filter: brightness(1.06);
        outline: none;
    }
}

.info-dashboard-card-icon-wrap {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    background-image: url('UIAssets/Inventory_Empty_Tile.png');
    background-size: cover;
    background-position: center;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.info-dashboard-card-icon-wrap.learned-information-letter-icon-wrap {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    background-image: none;
    overflow: visible;
}

.info-dashboard-card-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.info-dashboard-card-icon.learned-information-letter-icon {
    width: 84px;
    height: 84px;
}

.info-dashboard-card-title {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.info-dashboard-card-title.learned-information-letter-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.info-dashboard-section-card {
    min-height: 58px;
    justify-content: center;
    text-align: center;
}

#infoDashboardPopup {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background-color: #111b2e;
    z-index: 1000;
    display: none;
    box-sizing: border-box;
    overflow: hidden;
}

.info-dashboard-popup-content {
    color: #fff;
    font-family: var(--dashboard-font-family);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 18px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.info-dashboard-popup-content.learned-information-letter-popup {
    gap: 12px;
    padding-top: 14px;
}

.info-dashboard-popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-dashboard-popup-icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.info-dashboard-popup-icon.learned-information-letter-icon {
    width: 64px;
    height: 64px;
}

.info-dashboard-popup-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-dashboard-popup-content h3.learned-information-letter-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.info-dashboard-popup-content p {
    margin: 0;
    color: #d8e2f4;
    font-size: 13px;
    line-height: 1.48;
    text-align: left;
    white-space: pre-line;
}

.info-dashboard-popup-content.learned-information-letter-popup p {
    margin-top: 8px;
    line-height: 1.72;
}
