.hidden-access-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.92);
}

.hidden-access-card {
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    position: relative;
    background: #0d0d0d;
    border: 1px solid #00ff4144;
    border-radius: 4px;
    color: #00ff41;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 13px;
    box-shadow: 0 0 44px rgba(0, 255, 65, 0.08);
}

.hidden-access-card,
.hidden-access-card * {
    box-sizing: border-box;
}

.hidden-access-scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.012;
    background: repeating-linear-gradient(
        0deg,
        #00ff41 0,
        #00ff41 1px,
        transparent 1px,
        transparent 3px
    );
}

.hidden-access-content {
    position: relative;
    z-index: 1;
    padding: 28px;
}

.hidden-access-title,
.hidden-access-section,
.hidden-access-input-label,
.hidden-access-hint,
.hidden-access-status {
    margin: 0;
    letter-spacing: 0.08em;
}

.hidden-access-title {
    margin-bottom: 22px;
    color: rgba(0, 255, 65, 0.72);
}

.hidden-access-section {
    margin-bottom: 14px;
}

.hidden-access-list {
    display: grid;
    gap: 2px;
}

.hidden-access-page {
    width: 100%;
    min-height: 31px;
    display: grid;
    grid-template-columns: 20px 36px minmax(100px, 1fr) minmax(120px, 1.2fr);
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #00ff41;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hidden-access-page:hover,
.hidden-access-page:focus-visible,
.hidden-access-page.is-selected {
    background: rgba(0, 255, 65, 0.08);
    outline: none;
}

.hidden-access-marker {
    color: #00ff41;
}

.hidden-access-key {
    color: rgba(0, 255, 65, 0.48);
}

.hidden-access-label {
    font-weight: 700;
}

.hidden-access-desc {
    color: rgba(0, 255, 65, 0.56);
    text-align: right;
}

.hidden-access-divider {
    height: 1px;
    margin: 24px 0 16px;
    background: rgba(0, 255, 65, 0.18);
}

.hidden-access-input-label {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
}

.hidden-access-input-row {
    display: flex;
    align-items: center;
    min-height: 28px;
    gap: 10px;
    color: #00ff41;
    font-weight: 700;
}

.hidden-access-input-row input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #00ff41;
    caret-color: #00ff41;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hidden-access-input-row input::selection {
    background: rgba(0, 255, 65, 0.24);
}

.hidden-access-cursor {
    width: 8px;
    height: 17px;
    background: #00ff41;
    animation: hidden-access-blink 1s step-end infinite;
}

.hidden-access-status {
    min-height: 18px;
    margin-top: 14px;
}

.hidden-access-status.is-denied {
    color: #ff3535;
}

.hidden-access-status.is-granted {
    color: #00ff41;
}

.hidden-access-hint {
    margin-top: 32px;
    color: #00ff4133;
}

@keyframes hidden-access-blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 560px) {
    .hidden-access-overlay {
        padding: 14px;
    }

    .hidden-access-content {
        padding: 20px;
    }

    .hidden-access-page {
        grid-template-columns: 18px 34px 1fr;
    }

    .hidden-access-desc {
        grid-column: 3 / 4;
        text-align: left;
        font-size: 12px;
    }

    .hidden-access-input-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .hidden-access-input-row input {
        width: 100%;
    }

    .hidden-access-cursor {
        display: none;
    }
}

body.secret-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #050505;
    color: #00ff41;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
}

.secret-page-shell {
    width: min(760px, 100%);
    border: 1px solid #00ff4144;
    border-radius: 4px;
    background: #0d0d0d;
    padding: clamp(24px, 6vw, 48px);
    position: relative;
    overflow: hidden;
}

.secret-page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.012;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        #00ff41 0,
        #00ff41 1px,
        transparent 1px,
        transparent 3px
    );
}

.secret-page-shell > * {
    position: relative;
    z-index: 1;
}

.secret-page-kicker {
    margin: 0 0 18px;
    color: rgba(0, 255, 65, 0.56);
    letter-spacing: 0.12em;
}

.secret-page h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 8vw, 72px);
    line-height: 0.9;
    letter-spacing: 0;
}

.secret-page p {
    margin: 0;
    max-width: 58ch;
    color: rgba(0, 255, 65, 0.72);
    font-size: 15px;
    line-height: 1.7;
}
