.vip-restore {
    --pass-edge: #675639;
    --pass-paper: #ffda8c;
    --pass-foil: linear-gradient(120deg, #eac079, #ffe4a7 34%, #f5cc7e 57%, #f9dd9f 66%, #d59e50);
    display: grid;
    border: 1px solid var(--pass-edge);
    border-radius: 14px;
    background: #24262d;
}
.vip-restore-art {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--pass-foil);
}
.vip-restore-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/art/vip-map.webp") center / cover;
    mix-blend-mode: luminosity;
    opacity: .26;
}
.vip-restore-art::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid #37281240;
    border-radius: 5px;
    pointer-events: none;
}
.vip-restore-art img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 3px #37281250);
}
.vip-restore .primary {
    min-height: 46px;
    background: var(--pass-paper);
    font-size: 1rem;
    text-align: center;
}
.vip-restore .primary:hover { background: #ffe7ad; }

.vip-restore-page {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    max-width: 890px;
    margin: clamp(24px, 7vh, 76px) auto 0;
    overflow: hidden;
    box-shadow: 0 18px 45px #10111655;
}
.vip-restore-main { padding: clamp(24px, 4.1vw, 48px); }
.vip-restore-main .arspoofing-wordmark { width: 152px; margin-bottom: 22px; }
.vip-restore-main h1 { font-size: clamp(2.4rem, 4.2vw, 3.25rem); text-wrap: balance; }
.vip-restore-intro { margin-top: 10px; max-width: 34ch; color: var(--muted); }
.vip-restore-main .account-form { margin: 22px 0 14px; gap: 12px; }
.vip-restore-main .account-form label { font-weight: 650; }
.vip-restore-main .account-form input {
    min-height: 48px;
    border-color: #585b67;
    background: #191b22;
    font-weight: 400;
}
.vip-restore-main .account-form button { justify-self: stretch; }
.vip-restore-main .notice { background: #191b22; border-radius: 4px; }
.vip-restore-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 16px;
    border-top: 1px solid var(--line);
    font-size: .875rem;
}
.vip-restore-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.vip-restore-links a:hover { color: var(--pass-paper); }
.vip-restore-pass {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    border-left: 1px solid var(--pass-edge);
    background: #302b26;
}
.vip-restore-pass .vip-restore-art {
    place-items: center;
    padding: 18px 26px;
    background-image: radial-gradient(ellipse at center, #fff2cee0, transparent 72%), var(--pass-foil);
}
.vip-restore-pass .vip-restore-art::after { inset: 8px; }
.vip-restore-pass .vip-restore-art img { max-width: 258px; }
.vip-restore-pass p { padding: 24px; border-top: 1px dashed #ac8954; color: #f2dfbb; }
.vip-restore-eligibility { grid-column: 1 / -1; padding: 16px 22px; border-top: 1px solid var(--pass-edge); }
.vip-restore-eligibility strong { display: block; }
.vip-restore-eligibility a { color: var(--pass-paper); text-decoration: underline; text-underline-offset: 3px; }

.vip-restore-card {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas: "art title action" "art summary action";
    column-gap: clamp(14px, 2.2vw, 26px);
    margin-top: clamp(28px, 4vw, 48px);
    padding: clamp(16px, 2vw, 22px);
    scroll-margin-block-start: 16px;
}
.vip-restore-card .vip-restore-art {
    grid-area: art;
    align-self: center;
    aspect-ratio: 1;
    padding: 4px;
    border-radius: 9px;
}
.vip-restore-card > h2 { grid-area: title; align-self: end; font-size: 1.6rem; line-height: 1.1; }
.vip-restore-summary { grid-area: summary; margin-top: 5px; color: var(--muted); text-wrap: pretty; }
.vip-restore-summary a { color: var(--pass-paper); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.vip-restore-summary a:hover { color: #ffe7ad; }
.vip-restore-action { grid-area: action; align-self: center; display: grid; place-items: center; }

@media (max-width: 650px) {
    .vip-restore-page { grid-template-columns: minmax(0, 1fr); max-width: 470px; margin-top: 24px; }
    .vip-restore-main { padding: 22px 20px 10px; }
    .vip-restore-main .arspoofing-wordmark { width: 132px; margin-bottom: 16px; }
    .vip-restore-main h1 { font-size: clamp(1.875rem, 10.25vw, 2.4rem); }
    .vip-restore-main .account-form { margin-top: 18px; }
    .vip-restore-pass { grid-template-columns: 94px minmax(0, 1fr); grid-template-rows: auto; border-top: 1px solid var(--pass-edge); border-left: 0; }
    .vip-restore-pass .vip-restore-art { padding: 8px; }
    .vip-restore-pass .vip-restore-art::after { inset: 5px; }
    .vip-restore-pass p { align-self: stretch; padding: 12px 14px; border-top: 0; border-left: 1px dashed #ac8954; font-size: .875rem; }
    .vip-restore-card { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "art title" "summary summary" "action action"; gap: 12px; }
    .vip-restore-card > h2 { align-self: center; }
    .vip-restore-card .vip-restore-art::after { inset: 3px; }
    .vip-restore-summary { margin: 0; }
    .vip-restore-license { display: block; margin-top: 6px; }
}
