.sky-knight-page {
    padding: 18px 14px 32px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 18%),
        radial-gradient(circle at 20% 20%, rgba(255, 193, 139, 0.18), transparent 28%),
        linear-gradient(180deg, #b6312a 0%, #a12824 38%, #8a201d 100%);
    color: #fff8f3;
}

.sky-knight-page * {
    box-sizing: border-box;
}

.sky-knight-shell {
    max-width: 1480px;
    margin: 0 auto;
}

.sky-knight-kicker,
.sky-knight-card-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 241, 226, 0.82);
}

.sky-knight-frame,
.sky-knight-brand,
.sky-knight-hud,
.sky-knight-hud-card,
.sky-knight-subtle-panel,
.sky-knight-mini-stat {
    display: grid;
}

.sky-knight-frame {
    gap: 14px;
}

.sky-knight-topbar {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.sky-knight-brand,
.sky-knight-stage-panel,
.sky-knight-card,
.sky-knight-hud-card {
    border: 1px solid rgba(255, 244, 236, 0.14);
    background: rgba(71, 10, 8, 0.34);
    box-shadow: 0 22px 55px rgba(49, 6, 5, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 22px;
}

.sky-knight-brand {
    gap: 8px;
    padding: 16px 20px;
}

.sky-knight-brand h1 {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: clamp(20px, 2.1vw, 28px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
}

.sky-knight-hud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sky-knight-hud-card,
.sky-knight-card {
    padding: 18px;
}

.sky-knight-hud-card span,
.sky-knight-mini-stat span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 235, 219, 0.72);
}

.sky-knight-hud-card strong {
    display: block;
    margin-top: 10px;
    font-family: arcadeclassicregular, "Arcade", sans-serif;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.sky-knight-stage-panel {
    padding: 18px;
}

.sky-knight-frame-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(1150px, calc(100vh - 190px));
    padding: 10px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(24, 5, 5, 0.95) 0%, rgba(10, 2, 2, 0.98) 100%);
}

.sky-knight-frame-shell::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    pointer-events: none;
}

.sky-knight-frame-shell::after {
    content: "Loading cockpit...";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 248, 243, 0.72);
    background: linear-gradient(180deg, rgba(11, 8, 10, 0.18) 0%, rgba(11, 8, 10, 0.02) 100%);
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.sky-knight-frame-shell.is-ready::after {
    opacity: 0;
}

.sky-knight-frame-window {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: min(1125px, calc(100vh - 225px));
    max-height: 100%;
    aspect-ratio: 3 / 4;
    border: 0;
    border-radius: 22px;
    background: #000;
    opacity: 0;
    transition: opacity 0.22s ease;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sky-knight-frame-shell.is-ready .sky-knight-frame-window {
    opacity: 1;
}

.sky-knight-subtle-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
    gap: 14px;
}

.sky-knight-claim-topline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.sky-knight-mini-stat {
    padding: 12px 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.sky-knight-mini-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.15;
    color: #ffffff;
    word-break: break-word;
}

.sky-knight-help {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 239, 227, 0.86);
}

.sky-knight-button,
.sky-knight-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 18px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.sky-knight-button {
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(135deg, #87d9ff 0%, #e4fbff 100%);
    color: #1b1f27;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(92, 203, 255, 0.28);
}

.sky-knight-button:hover:not(:disabled),
.sky-knight-link:hover {
    transform: translateY(-1px);
}

.sky-knight-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    box-shadow: none;
}

.sky-knight-link {
    background: rgba(255, 255, 255, 0.1);
    color: #fff8f3;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sky-knight-recaptcha {
    margin-top: 16px;
}

.sky-knight-support-copy {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    color: rgba(255, 239, 227, 0.9);
    line-height: 1.7;
}

.sky-knight-support-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

@media (max-width: 1240px) {
    .sky-knight-topbar,
    .sky-knight-subtle-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .sky-knight-page {
        padding: 10px 10px 24px;
    }

    .sky-knight-hud,
    .sky-knight-claim-topline {
        grid-template-columns: 1fr;
    }

    .sky-knight-stage-panel,
    .sky-knight-card {
        border-radius: 20px;
        padding: 16px;
    }

    .sky-knight-frame-shell {
        min-height: auto;
        padding: 12px 10px;
    }

    .sky-knight-frame-window {
        width: min(100%, 460px);
        height: auto;
        aspect-ratio: 3 / 4;
    }
}
