#pokemon-dialog {
    width: clamp(30rem, 80vw, 60rem);
    height: 80vh;
    border: none;
    border-radius: var(--radius-2xl);
    color: var(--color-white);
    overflow: hidden;
}

.dialog-inner {
    height: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.dialog-inner p {
    text-align: center;
}

#pokemon-dialog::backdrop {
    background: var(--overlay-backdrop);
}

.close-dialog-button {
    display: flex;
    align-self: flex-end;
}

.dialog-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dialog-hero>img {
    width: clamp(4rem, 15vw, 8rem);
    height: clamp(4rem, 15vw, 8rem);
    filter: drop-shadow(0 0 1.2rem var(--glow-color))
}

.fallback-image {
    width: clamp(12rem, 24vw + 1rem, 32rem);
    height: clamp(12rem, 24vw + 1rem, 32rem);
    filter: drop-shadow(0 0 1.2rem var(--glow-color))
}

.dialog-tabs {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: var(--space-1);
}

.dialog-tabs svg {
    width: var(--space-3);
    height: var(--space-3);
}

.tab-btn {
    background: var(--primary-color);
    color: var(--color-white);
    display: flex;
    align-items: center;
    padding: var(--space-2);
    gap: var(--space-2);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.tab-btn.active {
    border-color: var(--accent-color);
}

.tab-btn:active {
    transform: scale(1);
}

.evo-chain-image {
    display: flex;
}

.tab-content {
    width: 100%;
    margin-top: var(--space-1);
    padding: var(--space-2);
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.info-table {
    font-size: clamp(14px, 1.5vw + 0.5rem, 16px);
    width: 100%;
    max-width: 24rem;
    border-collapse: collapse;
}

.abilities-row {
    display: none;
}

.info-table td {
    padding: 0.25rem 0;
}

.info-table td:first-child {
    font-weight: bold;
}

.info-table td:last-child {
    text-align: right;
}

.evo-chain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
}

.evo-chain svg {
    height: var(--space-5);
    width: var(--space-5);
}

.evo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artwork-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artwork-images img {
    width: clamp(4rem, 15vw, 8rem);
    height: clamp(4rem, 15vw, 8rem);
}

.dialog-footer {
    margin-top: auto;
    width: 100%;
    background-color: initial;
    height: auto;
    display: flex;
    flex-direction: column;
}

.dialog-footer nav {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}
