/* =========================================================
   UNSCROLLED
   POST INTERACTIONS
========================================================= */


/* =========================================================
   MAIN ACTION ICONS
========================================================= */

.post-share {
    position: relative;

    display: flex;
    align-items: center;

    gap: 16px;

    margin-top: 28px;
}


.post-action-button {
    width: 16px;
    height: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 16px;

    padding: 0;

    background: transparent;

    border: none;

    cursor: pointer;
}


.post-action-button img {
    display: block;

    width: 16px;
    height: 16px;

    min-width: 16px;
    min-height: 16px;

    max-width: 16px;
    max-height: 16px;

    object-fit: contain;
}



/* =========================================================
   SHARE WRAPPER
========================================================= */

.share-wrapper {
    position: relative;

    display: flex;
    align-items: center;
}



/* =========================================================
   SHARE MENU
========================================================= */

.share-menu {
    position: absolute;

    left: 0;
    bottom: 30px;

    z-index: 100;

    display: none;
    align-items: center;
    justify-content: center;

    gap: 20px;

    width: max-content;

    padding: 12px 16px;

    background-color: #F6EADC;
}


.share-menu.is-open {
    display: flex;
}



/* =========================================================
   SHARE OPTIONS
========================================================= */

.share-option {
    width: 16px;
    height: 16px;

    min-width: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 16px;

    padding: 0;
    margin: 0;

    background: transparent;

    border: none;

    color: #000000;

    text-decoration: none;

    cursor: pointer;
}


.share-option img {
    display: block;

    width: 16px;
    height: 16px;

    min-width: 16px;
    min-height: 16px;

    max-width: 16px;
    max-height: 16px;

    object-fit: contain;
}


/* HIDE SHARE TEXT */

.share-option span {
    display: none;
}


.share-option:hover {
    opacity: 0.55;
}



/* =========================================================
   COMMENT PANEL
========================================================= */

.comment-panel {
    width: 100%;

    max-height: 0;

    margin-top: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.35s ease,
        margin-top 0.35s ease,
        opacity 0.25s ease;
}


.comment-panel.is-open {
    max-height: 1000px;

    margin-top: 32px;

    opacity: 1;
}



/* =========================================================
   COMMENT FORM
========================================================= */

.comment-form {
    width: 100%;
    max-width: 520px;
}


.comment-field {
    width: 100%;

    padding: 10px 0;

    background: transparent;

    border: none;
    border-bottom: 1px solid #000000;

    border-radius: 0;

    outline: none;

    font-family: "DM Mono", monospace;

    font-size: 11px;
    font-weight: 400;

    color: #000000;
}


.comment-field::placeholder {
    color: #000000;

    opacity: 0.4;
}



/* =========================================================
   COMMENT TEXTAREA
========================================================= */

.comment-textarea {
    min-height: 90px;

    margin-top: 16px;

    resize: vertical;
}



/* =========================================================
   SEND BUTTON
========================================================= */

.comment-submit-row {
    display: flex;
    justify-content: flex-end;

    margin-top: 12px;
}


.comment-submit {
    width: 16px;
    height: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;

    border: none;

    cursor: pointer;
}


.comment-submit img {
    display: block;

    width: 16px;
    height: 16px;

    min-width: 16px;
    min-height: 16px;

    max-width: 16px;
    max-height: 16px;

    object-fit: contain;
}



/* =========================================================
   COMMENTS LIST
========================================================= */

.comments-list {
    width: 100%;
    max-width: 520px;

    margin-top: 34px;
}



/* =========================================================
   SINGLE COMMENT
========================================================= */

.reader-comment {
    padding: 18px 0;

    border-top: 1px solid rgba(0, 0, 0, 0.16);
}


.reader-comment-name {
    margin-bottom: 8px;

    font-family: "DM Mono", monospace;

    font-size: 11px;
    font-weight: 500;
}


.reader-comment-text {
    margin: 0;

    font-family: "DM Mono", monospace;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.5;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .share-menu {
        gap: 16px;

        padding: 12px 14px;
    }

}