/* ── TELEGRAMA TRUMAN — Grecia 1947 ── */

.truman-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.truman-overlay.open {
    display: flex;
}

.truman-box {
    width: 100%;
    max-width: 680px;
    background: #f7f0d8;
    border: 2px solid #2b2000;
    font-family: 'Share Tech Mono', monospace;
}

.truman-bar {
    background: #2b2000;
    color: #f7f0d8;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.truman-header {
    border-bottom: 2px solid #2b2000;
    padding: 16px 20px;
    font-size: 0.68rem;
    color: #2b2000;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.truman-meta {
    color: #7a6000;
    font-size: 0.62rem;
    margin-bottom: 4px;
}

.truman-to, .truman-from {
    font-size: 0.72rem;
    font-weight: bold;
}

.truman-re {
    font-size: 0.65rem;
    color: #5a4000;
    margin-top: 4px;
}

.truman-body {
    padding: 20px;
    min-height: 220px;
    position: relative;
}

.truman-text {
    font-size: 0.78rem;
    line-height: 1.9;
    color: #1a1000;
    white-space: pre-wrap;
    word-break: break-word;
}

.truman-cursor {
    display: inline-block;
    color: #2b2000;
    animation: cursorBlink 0.6s steps(1) infinite;
    font-size: 0.9rem;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.truman-status {
    background: #2b2000;
    color: #f7f0d8;
    padding: 7px 16px;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-align: center;
    text-transform: uppercase;
}

.truman-status.error {
    background: #8b0000;
    color: #fff;
    animation: statusPulse 0.8s steps(1) infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}