 .boss-page {
    padding: 0 6vw 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
 }

 .controls__row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
 }

 .controls__field {
    flex: 1 1 260px;
    min-width: 240px;
 }

 .controls__field label {
    display: block;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--text-mute);
 }

.dungeon-index {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
 }

 .dungeon-index button {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 9, 12, 0.7);
    color: var(--text-ice);
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    font-family: "Khand", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
 }

 .dungeon-index button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 171, 80, 0.45);
    color: var(--ember-strong);
    box-shadow: 0 0 18px rgba(255, 171, 80, 0.2);
 }

 .dungeon-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
 }

 .dungeon-section {
    scroll-margin-top: 120px;
 }

 .dungeon-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
 }

 .dungeon-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
 }

 .dungeon-entry {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 9, 12, 0.7);
    flex-shrink: 0;
 }

 .dungeon-header h2 {
    font-family: "Cinzel", serif;
    letter-spacing: 0.08em;
    margin: 0;
 }

 .dungeon-header span {
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
 }

 .table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
 }

 table.boss-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px;
 }

table.boss-table th,
table.boss-table td {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.7rem;
    text-align: center;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: visible;
 }

 table.boss-table th {
    background: rgba(10, 9, 12, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--text-mute);
    position: sticky;
    top: 0;
    z-index: 2;
 }

table.boss-table td:first-child,
table.boss-table th:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 3;
    background: rgba(10, 9, 12, 0.92);
}

.boss-cell {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.boss-avatar {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 9, 12, 0.7);
    flex-shrink: 0;
    cursor: zoom-in;
}

.boss-preview {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(8, 7, 10, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 30;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.boss-preview.is-visible {
    opacity: 1;
    visibility: visible;
}

.boss-preview__img {
    max-width: min(520px, 70vw);
    max-height: min(520px, 70vh);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(8, 7, 10, 0.85);
    padding: 0.4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.boss-row:nth-child(odd) td {
    background: rgba(10, 9, 12, 0.65);
}

 .boss-row:nth-child(even) td {
    background: rgba(18, 16, 22, 0.75);
 }

 .boss-row.hide {
    display: none;
 }

 @media (max-width: 900px) {
    .boss-page {
        padding: 0 7vw 3rem;
    }
 }

 @media (max-width: 640px) {
    .boss-page {
        padding: 0 8vw 3rem;
    }
 }
