.dream-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(101, 87, 154, .26), transparent 30rem),
        radial-gradient(circle at 88% 20%, rgba(54, 112, 100, .18), transparent 28rem),
        #0d0a13;
}

.dream-shell,
.dream-detail-shell {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: 72px 0 96px;
}

.dream-hero,
.dream-detail-header {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.dream-moon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(224, 190, 109, .36);
    border-radius: 50%;
    color: #e0be6d;
    background: rgba(224, 190, 109, .07);
    box-shadow: 0 0 50px rgba(157, 130, 216, .2);
    font-size: 2.2rem;
}

.dream-hero h1,
.dream-detail-header h1 {
    margin: .16em 0 .3em;
    font-size: clamp(2.7rem, 7vw, 5.6rem);
    line-height: 1.02;
}

.dream-lead,
.dream-detail-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #d2c6d7;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.dream-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    max-width: 850px;
    margin: 0 auto 68px;
    padding: 30px;
    border: 1px solid rgba(159, 136, 208, .28);
    border-radius: 26px;
    background: rgba(30, 24, 40, .8);
}

.dream-intro h2,
.dream-section-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.dream-intro p,
.dream-card p,
.dream-disclaimer p {
    color: #cbbfd0;
}

.dream-wing-mark {
    color: #e0be6d;
    font-size: 2rem;
}

.dream-section-heading {
    margin-bottom: 26px;
}

.dream-list {
    display: grid;
    gap: 20px;
}

.dream-card {
    display: grid;
    grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(159, 136, 208, .25);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(34, 26, 45, .94), rgba(19, 16, 27, .95));
    box-shadow: 0 22px 65px rgba(0, 0, 0, .25);
}

.dream-card-image img,
.dream-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.dream-card-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle, rgba(224, 190, 109, .2), transparent 32%),
        linear-gradient(145deg, #292039, #14111d);
    color: #e0be6d;
    font-size: 4rem;
}

.dream-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 5vw, 48px);
}

.dream-card h3 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    line-height: 1.12;
}

.dream-read-link,
.dream-back-link {
    color: #e0be6d;
    font-weight: 700;
}

.dream-card .dream-read-link {
    margin-top: auto;
    padding-top: 14px;
}

.dream-empty {
    padding: 48px 28px;
    text-align: center;
    border: 1px dashed rgba(159, 136, 208, .35);
    border-radius: 26px;
    color: #cbbfd0;
}

.dream-empty span {
    display: block;
    margin-bottom: 14px;
    color: #e0be6d;
    font-size: 2.5rem;
}

.dream-back-link {
    display: inline-block;
    margin-bottom: 34px;
}

.dream-detail {
    max-width: 850px;
    margin: 0 auto;
}

.dream-detail-image {
    margin: 0 0 42px;
}

.dream-detail-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid rgba(159, 136, 208, .3);
    border-radius: 30px;
}

.dream-section,
.dream-message,
.dream-disclaimer,
.dream-related {
    margin-top: 24px;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(159, 136, 208, .23);
    border-radius: 28px;
    background: rgba(27, 22, 37, .83);
}

.dream-section h2,
.dream-message h2,
.dream-related h2 {
    margin-bottom: 22px;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
}

.dream-section-mark {
    margin-bottom: 8px;
    color: #e0be6d;
    font-size: 1.5rem;
}

.dream-prose {
    color: #eee6ef;
    font-size: 1.08rem;
    line-height: 1.82;
}

.dream-symbols {
    display: grid;
    gap: 14px;
}

.dream-symbol {
    padding: 22px;
    border-left: 3px solid rgba(224, 190, 109, .65);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, .035);
}

.dream-symbol h3 {
    margin: 0 0 8px;
    color: #e8cf91;
    font-size: 1.35rem;
}

.dream-section--interpretation {
    background:
        radial-gradient(circle at top right, rgba(84, 128, 117, .13), transparent 20rem),
        rgba(27, 22, 37, .83);
}

.dream-message {
    border-color: rgba(224, 190, 109, .34);
    background: linear-gradient(145deg, rgba(67, 50, 42, .66), rgba(27, 22, 37, .9));
}

.dream-disclaimer {
    padding: 22px 26px;
    border-style: dashed;
}

.dream-disclaimer p {
    margin: 5px 0 0;
}

.dream-related-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dream-related-links a {
    display: grid;
    gap: 5px;
    padding: 18px;
    border: 1px solid rgba(224, 190, 109, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
}

.dream-related-links span {
    color: #e0be6d;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.dream-admin-form {
    max-width: 940px !important;
}

.dream-symbol-editor {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(159, 136, 208, .25);
    border-radius: 16px;
}

.dream-symbol-editor legend {
    padding: 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.dream-symbol-editor-row {
    display: grid;
    grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dream-symbol-editor-row:first-child {
    padding-top: 0;
}

.dream-symbol-editor-row textarea {
    min-height: 120px;
}

.dream-publish-check {
    padding: 18px;
    border: 1px solid rgba(224, 190, 109, .3);
    border-radius: 14px;
    background: rgba(224, 190, 109, .07);
}

.dream-admin-note {
    margin-top: -10px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .dream-shell,
    .dream-detail-shell {
        padding-top: 46px;
    }

    .dream-intro,
    .dream-card,
    .dream-symbol-editor-row,
    .dream-related-links {
        grid-template-columns: 1fr;
    }

    .dream-card-image img,
    .dream-card-placeholder {
        min-height: 210px;
        max-height: 280px;
    }

    .dream-symbol-editor-row .btn {
        width: 100%;
    }
}
