/* The moment a recipient opens what was left for them. Everything here is chosen to
   be quiet: generous space, one thing at a time, nothing competing for attention. */
.mp-reveal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: #12121a;
    color: #f4f2ee;
}

.mp-reveal-inner {
    width: 100%;
    max-width: 38rem;
}

.mp-reveal-eyebrow {
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #8a8698;
    margin-bottom: 1.5rem;
}

.mp-reveal-heading {
    font-size: clamp(1.9rem, 5vw, 2.9rem);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.mp-reveal-heading span {
    display: block;
}

.mp-reveal-when {
    color: #b9b4c7;
    margin-bottom: 2rem;
}

.mp-reveal-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #d6d2e0;
    margin-bottom: 2rem;
}

.mp-reveal-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 22rem;
}

.mp-reveal-label {
    font-size: .85rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8a8698;
}

.mp-reveal-input {
    padding: .9rem 1rem;
    font-size: 1.25rem;
    letter-spacing: .12em;
    border: 1px solid #3a3548;
    border-radius: .5rem;
    background: #1c1b26;
    color: #f4f2ee;
}

.mp-reveal-input:focus {
    outline: 2px solid #45c6d8;
    outline-offset: 2px;
}

.mp-reveal-button {
    padding: .9rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border: 0;
    border-radius: .5rem;
    background: #45c6d8;
    color: #10101a;
    cursor: pointer;
}

.mp-reveal-button:hover {
    background: #6ad4e2;
}

.mp-reveal-error {
    min-height: 1.25rem;
    color: #ff8f9a;
    font-size: .9rem;
}

.mp-reveal-media {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.mp-reveal-media img,
.mp-reveal-media video {
    width: 100%;
    border-radius: .5rem;
}

.mp-reveal-media a {
    color: #45c6d8;
    word-break: break-all;
}

.mp-reveal-keep {
    font-size: .9rem;
    color: #b9b4c7;
    border-top: 1px solid #2a2735;
    padding-top: 1.25rem;
}

/* Author preview banner */
.mp-preview-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    background: repeating-linear-gradient(-45deg, #e6a23c, #e6a23c 18px, #d3922e 18px, #d3922e 36px);
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 10px 16px;
    font-size: .85rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

/* The author's 'only you would know' line */
.mp-reveal-hint {
    background: rgba(70, 183, 197, .1);
    border-left: 3px solid #46b7c5;
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
    margin: 14px 0;
    font-style: italic;
    line-height: 1.6;
}

.mp-reveal-hint-label {
    display: block;
    font-style: normal;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 4px;
}

/* The sealed state: a promise, not an error */
.mp-sealed-card {
    background: rgba(70, 183, 197, .08);
    border: 1px solid rgba(70, 183, 197, .25);
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 18px;
}

.mp-sealed-when {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.mp-sealed-contents {
    font-style: italic;
    margin-bottom: 10px;
}

.mp-sealed-note {
    font-size: .88rem;
    opacity: .8;
    line-height: 1.6;
    margin: 0;
}

/* Embedded letter */
.mp-reveal-pdf-wrap {
    width: 100%;
}

.mp-reveal-pdf {
    width: 100%;
    height: min(72vh, 850px);
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}

.mp-reveal-keep {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}
