/* The original panorama supplies both corner motifs. */
.kgs-quote.kgx-category-art:is(.short,.medium,.long,.extended) {
    --corner-height: clamp(68px, 18vw, 106px);
    background: #f8e9d2;
    border: 1px solid #d3c3a8;
    border-radius: 13px;
    padding: clamp(42px, 8%, 65px) clamp(24px, 10%, 76px);
    min-height: 182px;
    height: auto;
    max-height: none;
    justify-content: center;
    gap: 12px;
    color: #342e23;
    text-align: center;
}
.kgs-quote.kgx-category-art:is(.short,.medium,.long,.extended)::before,
.kgs-quote.kgx-category-art:is(.short,.medium,.long,.extended)::after {
    content: '';
    pointer-events: none;
    position: absolute;
    z-index: -1;
    inset: 0 auto auto 0;
    width: min(49%, 355px);
    height: var(--corner-height);
    background: var(--kg-art) left top / auto 100% no-repeat;
    mask-image: linear-gradient(to right, black 62%, transparent), linear-gradient(to bottom, black 54%, transparent);
    mask-composite: intersect;

}
.kgs-quote.kgx-category-art:is(.short,.medium,.long,.extended)::after {
    inset: auto 0 0 auto;
    background-position: right bottom;
    mask-image: linear-gradient(to left, black 62%, transparent), linear-gradient(to top, black 54%, transparent);
}
.kgs-quote.kgx-category-art .kgs-quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    color: #342e23;
    text-align: center;
    text-wrap: pretty;
}
.kgs-quote.kgx-category-art :is(.kg041-quote-category,.kg041-quote-brand),
.kgs-quote.kgx-category-art [hidden] { display: none !important; }
.kgs-quote.kgx-category-art .kgs-quote-book { justify-content: center; color: #584d3d; }
.kgs-quote.kgx-category-art .kgs-quote-author { color: #584d3d; }

.kgs-post-menu .k194-menu-body { gap: 2px; }
.kgs-post-menu .k194-menu-body > :is(button,form,details) { margin: 0; min-width: 0; }
.kgs-post-menu .k194-menu-body > button,
.kgs-post-menu .k194-menu-body > form > button,
.kgs-post-menu .k194-menu-body > details > summary {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 7px 10px !important;
    margin: 0;
    text-align: start !important;
    font-size: 13px;
    line-height: 1.35;
    list-style: none;
}
.kgs-post-menu .k194-menu-body > details > summary::-webkit-details-marker { display: none; }
.kgs-post-menu .k194-menu-body :is(button,summary) > svg { flex: 0 0 17px; width: 17px; height: 17px; }
.kgs-post-menu .k194-menu-body :is(button,summary):where([data-k194-mute],[data-k195-hide],[data-k199-op],[data-k115-pin],[data-k194-op],form > button,details:not(.kgs-report) > summary)::before {
    content: '';
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background-color: currentColor;
    mask: var(--menu-icon) center / contain no-repeat;
}

.kgs-post-actions.kgs-post-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 12px;
}
.kgs-post-actions > :is(form,button,a,small) { flex: 0 0 auto; }
.kgs-post-actions .k195-likers { margin-inline-start: -10px; }
@media (max-width: 480px) {
    .kgs-post-actions.kgs-post-actions { column-gap: 7px; }
    .kgs-post-actions .k195-likers { margin-inline-start: -5px; }
}

.k194-menu-body form:has([name="op"][value="delete"]) {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18%20M9%206V3h6v3%20M6%206l1%2015h10l1-15%20M10%2010v7%20M14%2010v7%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body form:has([name="op"][value="repost"]) {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010l4-4%204%204%20M7%206v9h10%20M21%2014l-4%204-4-4%20M17%2018V9%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body form:has([name="op"][value="k19_story_share"]) {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2018V5h10%20M14%208l4-4%204%204%20M18%204v10%20M4%2018h14%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body form:has([name="op"][value="toggle_comments"]) {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18v12H9l-6%204z%20M7%209h10%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body [data-k115-pin],
.k194-menu-body form:has([name="op"][value="pin"]) {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h8l-1%206%204%204v2H5v-2l4-4z%20M12%2015v6%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body [data-k194-mute="posts"],
.k194-menu-body [data-k199-op="mute_post"] {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203l18%2018%20M6%2010v4H3v-4h3l5-4v11l-5-3%20M15%208c2%202%202%204%202%205%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body [data-k194-mute="stories"] {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207a9%209%200%200%201%2015-2%20M21%2010a9%209%200%200%201-14%2010%20M4%2017a9%209%200%200%201-1-6%20M4%203l17%2018%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body [data-k195-hide] {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203l18%2018%20M9%206c5-2%2010%202%2013%206l-3%203%20M15%2018c-5%201-10-2-13-6l3-3%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body [data-k194-op="add_quote"] {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h7l2%202%202-2h7v14h-7l-2%202-2-2H3z%20M12%206v14%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body details:not(.kgs-report) > summary {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2016l-1%205%205-1L20%208l-4-4z%20M14%206l4%204%22%2F%3E%3C%2Fsvg%3E");
}

.k194-menu-body form:has([name="op"][value="edit_post"]),
.k194-menu-body form:has([name="op"][value="report"]) {
    --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012l5%205L20%206%22%2F%3E%3C%2Fsvg%3E");
}

/* Keep icons on controls whose labels are updated after an action. */
.k194-menu-body [data-k121-menu-save]:not(:has(svg))::before {
    content: "";
    flex: 0 0 17px;
    height: 17px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-6-4-6%204z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.k194-menu-body [data-k194-copy]:not(:has(svg))::before {
    content: "";
    flex: 0 0 17px;
    height: 17px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2015l6-6%20M8%2014l-2%202a3%203%200%200%200%204%204l4-4%20M16%2010l2-2a3%203%200%200%200-4-4l-4%204%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.k194-menu-body [data-k194-send]:not(:has(svg))::before {
    content: "";
    flex: 0 0 17px;
    height: 17px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2010l20-7-7%2019-4-8z%20M11%2014L22%203%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.k194-menu-body .kgs-report > summary:not(:has(svg))::before {
    content: "";
    flex: 0 0 17px;
    height: 17px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2021V3h14l-3%204%203%204H5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
