.backpack-layout-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.backpack-left-column {
    width: 30%;
    background-color: var(--panel);
    padding: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    height: auto;
    overflow: visible;
    border-radius: 0;
}

.backpack-right-column {
    flex: 1;
    background-color: var(--panel2);
    background-color: color-mix(in srgb, var(--bg) 55%, var(--panel2) 45%);
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    height: auto;
    overflow: visible;
    border-radius: 0;
}

.backpack-list-item {
    display: block;
    padding: 2px 4px;
    margin: 0 0 2px 0;
    background-color: var(--hover-bg);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    color: var(--text);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}
.backpack-list-item:last-child {
    margin-bottom: 0;
}

.backpack-list-item:hover {
    background-color: var(--hover-bg2);
    color: var(--accent);
}

.backpack-list-item.selected {
    background-color: var(--hover-bg2);
    color: var(--accent);
    font-weight: bold;
    border: 1px solid var(--accent);
}

.backpack-right-column h2 {
    font-size: 1.5em;
    text-align: center;
    color: var(--accent);
    margin: 0;
}

.backpack-right-column h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.backpack-quest-text {
    text-align: center;
    font-size: 1.1em;
    color: var(--muted);
}

.backpack-info-desc {
    text-align: left;
    font-size: 1.1em;
    color: var(--text);
}

.object-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.object-display-grid-header {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
}

.backpack-right-column .card.drop-section-wrapper {
    margin-top: 16px;
}

.backpack-right-column .drop-section-content .objgrid,
.backpack-right-column .drop-section-content .objlist {
    margin-top: 10px;
}

.backpack-right-column .drop-view-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.backpack-right-column .drop-view-list .od {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    width: 100%;
}

.backpack-right-column .drop-view-list .od__sprite {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.backpack-right-column .drop-view-list .od__img,
.backpack-right-column .drop-view-list .od--mob .od__img--mob {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: scale-down;
    object-position: center;
}

.backpack-right-column .drop-view-list .od__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.backpack-right-column .drop-view-list .od__name {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 16px;
    white-space: nowrap;
    min-width: 0;
}

.backpack-right-column .drop-view-list .od__id {
    font-size: 15px;
    color: var(--muted);
    flex-shrink: 0;
}

.backpack-right-column .drop-view-list .od__sub {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

.backpack-right-column .drop-view-list .od--mob .od__sub {
    font-size: 17px;
}
