/* =========================================================
   WRITEON - SPACE
   Solo per space.php
   ========================================================= */

.space-page {
    max-width: 760px;
    margin: 0 auto;
}

.space-back {
    display: inline-block;
    margin-bottom: 24px;
    color: #555;
    font-size: 15px;
}

.space-code {
    margin: 0 0 8px;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
}

.space-owner {
    margin-bottom: 28px;
    color: #666;
    font-size: 16px;
}

.space-content {
    padding: 26px 28px;
    margin-bottom: 32px;

    background: #fff;
    border: 1px solid #dedede;
    border-radius: 14px;

    font-size: 22px;
    line-height: 1.5;
}

.comments-title {
    margin: 0 0 16px;
    font-size: 20px;
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment {
    padding: 18px 20px;

    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
}

.comment-author {
    margin-bottom: 6px;
    font-weight: 700;
}

.comment-form {
    margin-top: 24px;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;

    border: 1px solid #dcdcdc;
    border-radius: 10px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;

    resize: vertical;
}

.comment-form .btn {
    margin-top: 12px;
}


/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

    .space-code {
        font-size: 38px;
    }

    .space-content {
        padding: 22px;
        font-size: 19px;
    }

}


.space-page {
    max-width: 760px;
    margin: 0 auto;
}

.space-back {
    display: inline-block;
    margin-bottom: 24px;
    color: #555;
    font-size: 15px;
}

.space-code {
    margin-bottom: 8px;
    font-size: 44px;
    font-weight: 700;
}

.space-owner {
    margin-bottom: 28px;
    color: #666;
    font-size: 16px;
}

.space-content {
    padding: 26px 28px;
    margin-bottom: 28px;

    background: #fff;
    border: 1px solid #dedede;
    border-radius: 14px;

    font-size: 22px;
    line-height: 1.5;
}

.space-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.space-empty {
    padding: 30px;
    text-align: center;
}

.draft-label {
    margin-bottom: 12px;
    font-weight: 700;
}

.comments-title {
    margin: 32px 0 16px;
    font-size: 20px;
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment {
    padding: 18px 20px;

    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
}

.comment-author {
    margin-bottom: 6px;
    font-weight: 700;
}

.comment-form {
    margin-top: 24px;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;

    padding: 16px;

    border: 1px solid #dcdcdc;
    border-radius: 10px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;

    resize: vertical;
}

.comment-form .btn {
    margin-top: 12px;
}

.signin-comment {
    margin-top: 24px;
}