/* static/css/easteregg_vn_a867.css
   Easter egg on the VN-A867 aircraft profile (takeoff game + Wall of Fame).
   Look copied from aircraft_profile.css on purpose, see CSS-per-endpoint rule. */

.vn34-trigger {
    cursor: pointer;
    border-radius: 6px;
    transition: text-shadow 0.2s ease;
}

.vn34-trigger:hover,
.vn34-trigger:focus-visible {
    text-shadow: 0 0 12px rgba(255, 214, 102, 0.55);
    outline: none;
}

.vn34-easteregg {
    max-width: 1280px;
    margin: 0 auto;
    font-family: Verdana, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vn34-easteregg[hidden] {
    display: none;
}

.vn34-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 10px;
    background-color: #112839;
}

.vn34-kicker {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: #959595;
}

.vn34-title h2 {
    margin: 4px 0 0;
    font-size: 22px;
    font-weight: 500;
}

.vn34-close {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: #1e3145;
    color: #ffffff;
    font-family: Verdana, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.vn34-close:hover,
.vn34-close:focus-visible {
    background-color: #1c3b57;
}

.vn34-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 5px;
}

.vn34-game {
    border-radius: 10px;
    background-color: #112839;
    overflow: hidden;
}

.vn34-game iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
}

.vn34-hof {
    position: relative;
    min-height: 240px;
    border-radius: 10px;
    background-color: #112839;
}

/* Absolute, so the panel takes the game's height and the list scrolls
   inside it instead of stretching the row. */
.vn34-hof-inner {
    position: absolute;
    inset: 14px 16px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.vn34-hof h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vn34-hof-sub {
    margin: 4px 0 12px;
    font-size: 11px;
    color: #959595;
}

.vn34-hof-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0 4px 0 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.vn34-hof-list::-webkit-scrollbar {
    width: 6px;
}

.vn34-hof-list::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.35);
}

.vn34-hof-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.vn34-can-delete .vn34-hof-row {
    grid-template-columns: 30px minmax(0, 1fr) auto auto 20px;
}

.vn34-hof-rank {
    color: #b8c0cc;
}

.vn34-hof-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vn34-hof-ts {
    margin-left: 6px;
    padding: 0 3px;
    border-radius: 3px;
    background: #7a1f1f;
    color: #ffb3b3;
    font-size: 10px;
}

.vn34-hof-meters,
.vn34-hof-score {
    text-align: right;
}

.vn34-hof-score {
    color: #9aa7b3;
}

.vn34-hof-delete {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid rgba(255, 92, 92, 0.6);
    border-radius: 4px;
    background: transparent;
    color: #ff5c5c;
    font-size: 15px;
    line-height: 17px;
    cursor: pointer;
}

.vn34-hof-delete:hover,
.vn34-hof-delete:focus-visible {
    background: rgba(255, 92, 92, 0.2);
}

.vn34-hof-empty,
.vn34-hof-error {
    margin: 10px 0 0;
    font-size: 12px;
    color: #959595;
}

.vn34-hof-error {
    color: #ff9c9c;
}

@media (max-width: 900px) {
    .vn34-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .vn34-hof {
        min-height: 0;
        padding: 14px 16px;
    }

    .vn34-hof-inner {
        position: static;
    }

    .vn34-hof-list {
        max-height: 60vh;
    }

    .vn34-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
