.key-card {
    border: 1px solid black;
    background: #ffffff;
    padding: 1.25rem;
    text-align: left;
    margin-top: 1.5rem;
}

.key-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.85rem;
}

.key-label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: lowercase;
    min-width: 110px;
    color: #333;
}

.key-value {
    font-size: 0.9rem;
    color: #111;
    word-break: break-all;
}

.fingerprint-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e2e2e2;
    padding: 0.4rem 0.65rem;
}

.fingerprint-code {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: #222;
}

.pgp-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.btn-retro {
    border: 1px solid black;
    background: #f8f9fa;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
}

.btn-retro:hover {
    transform: scale(1.04);
    background-color: #ededed;
}

.btn-retro:active {
    transform: scale(0.98);
}

.status-msg {
    font-size: 0.8rem;
    color: #0d6efd;
    font-weight: 600;
    min-height: 1.2rem;
    display: inline-block;
}

#pgp-key-container {
    position: relative;
}

#pgp-key {
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
    padding: 0.85rem 1rem;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.45;
    max-height: 380px;
    overflow-y: auto;
    display: block;
}

/* Retro decorative stickers matching the site style */
#privacy-sticker {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 65px;
    height: auto;
    z-index: 10;
}

#verified-sticker {
    position: absolute;
    bottom: -20px;
    left: -25px;
    transform: rotate(-6deg);
    width: 60px;
    height: auto;
    z-index: 10;
}

@media (max-width: 767px) {
    #privacy-sticker {
        top: -15px;
        right: -10px;
        width: 50px;
    }

    #verified-sticker {
        bottom: -15px;
        left: -10px;
        width: 45px;
    }

    .key-label {
        min-width: 100%;
        margin-bottom: 0.2rem;
    }

    .fingerprint-code {
        font-size: 0.75rem;
        word-break: break-all;
    }
}
