/* Comment form and list */

#comments,
#comments * {
    box-sizing: border-box;
}


/* OwO hover bridge: keep panel open while the cursor moves into it. */

#comments .comment-form-btn-wrap .OwO {
    position: relative;
}

#comments .comment-form-btn-wrap .OwO::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    display: block !important;
    height: 14px;
    pointer-events: auto !important;
}

#comments .comment-form-btn-wrap .OwO:hover .OwO-body,
#comments .comment-form-btn-wrap .OwO:focus-within .OwO-body,
#comments .comment-form-btn-wrap .OwO.OwO-open .OwO-body {
    display: grid !important;
}

#comments .comment-form-btn-wrap .OwO .OwO-body {
    top: calc(100% + 4px);
}


/* Keep the emoji panel open while moving from the trigger to the panel. */

#comments .comment-form-btn-wrap .OwO {
    position: relative;
}

#comments .comment-form-btn-wrap .OwO::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    display: block !important;
    height: 14px;
    pointer-events: auto !important;
}

#comments .comment-form-btn-wrap .OwO .OwO-body {
    top: calc(100% + 4px);
}

#comments {
    scroll-margin-top: 110px;
}

#comments ul,
#comments li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#comments .respond {
    position: relative;
    z-index: 50;
    display: block;
    margin: 24px 0 28px;
}

#comments .cat_comment_respond_form {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(221, 212, 200, .78);
    border-radius: 12px;
    background: rgba(252, 250, 246, .58);
    box-shadow: 0 10px 28px rgba(80, 64, 48, .035);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

#comments .cat_comment_respond_form .card,
#comments .comment-form-btn-wrap .card {
    overflow: visible;
    word-break: normal;
}

#comments .cat_comment_respond_form .head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#comments .cat_comment_respond_form .head .list,
#comments .cat_comment_respond_form .body {
    border: 1px solid rgba(226, 216, 202, .92);
    border-radius: 8px;
    background: rgba(255, 253, 248, .68);
    box-shadow: none;
}

#comments .cat_comment_respond_form input,
#comments .cat_comment_respond_form textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4B433D;
    font: 14px/1.7 var(--font-main);
}

#comments .cat_comment_respond_form .head input {
    height: 36px;
    padding: 0 12px;
}

#comments .cat_comment_respond_form .body {
    padding: 0;
}

#comments .cat_comment_respond_form .Comment_Textarea {
    display: block;
    min-height: 92px;
    padding: 11px 12px;
    resize: vertical;
}

#comments .cat_comment_respond_form input::placeholder,
#comments .cat_comment_respond_form textarea::placeholder {
    color: #A09388;
}

#comments .comment-form-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#comments .comment-form-btn-wrap .right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#comments .tp-comment-captcha {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    width: 118px;
    height: 34px;
    border: 1px solid rgba(206, 190, 169, .88);
    border-radius: 8px;
    background: rgba(255, 253, 248, .82);
    overflow: hidden;
}

#comments .tp-comment-captcha-input {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    height: 32px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 32px;
    text-transform: uppercase;
}

#comments .tp-comment-captcha-code {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    height: 32px;
    padding: 0 10px;
    border-left: 1px solid rgba(206, 190, 169, .78);
    background: radial-gradient(circle at 10px 8px, rgba(138, 109, 74, .16) 0 1px, transparent 1.4px), radial-gradient(circle at 38px 23px, rgba(138, 109, 74, .12) 0 1px, transparent 1.4px), linear-gradient(180deg, rgba(255, 250, 241, .86), rgba(237, 226, 212, .86)), #F3ECE2;
    color: #6D5641;
    cursor: pointer;
    font: italic 700 15px/32px Consolas, "Courier New", monospace;
    letter-spacing: 2.5px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .8), -1px 0 0 rgba(171, 59, 58, .16);
    user-select: none;
}

#comments .tp-comment-captcha-code:hover {
    filter: contrast(1.08) saturate(1.08);
}

#comments .comment-form-btn-wrap .OwO,
#comments .OwO .OwO-logo {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(226, 216, 202, .9);
    border-radius: 50%;
    background: rgba(248, 244, 237, .82) !important;
    color: #8A6D4A;
    cursor: pointer;
    font-size: 0 !important;
}

#comments .comment-form-btn-wrap .OwO {
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

#comments .comment-form-btn-wrap .OwO:hover,
#comments .comment-form-btn-wrap .OwO:focus-within {
    border-color: #8A6D4A;
    background: rgba(241, 232, 220, .95) !important;
    color: #6D5641;
    transform: translateY(-1px);
}

#comments .comment-form-btn-wrap .OwO::before {
    content: "\1F60A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: emoji, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 18px;
    line-height: 1;
}

#comments .comment-form-btn-wrap .OwO::after {
    display: none !important;
    content: none !important;
    pointer-events: none !important;
}

#comments .comment-form-btn-wrap .OwO .OwO-body {
    left: 0;
    top: calc(100% + 6px);
    bottom: auto;
    display: none;
    grid-template-rows: minmax(0, 1fr) auto;
    width: min(520px, calc(100vw - 32px)) !important;
    max-width: min(520px, calc(100vw - 32px));
    max-height: 300px;
    border: 1px solid rgba(218, 209, 195, .96);
    border-radius: 10px !important;
    background: rgba(252, 250, 246, .98);
    box-shadow: 0 16px 34px rgba(80, 64, 48, .13);
    overflow: hidden;
    z-index: 2001 !important;
}

#comments .comment-form-btn-wrap .OwO:hover .OwO-body,
#comments .comment-form-btn-wrap .OwO:focus-within .OwO-body,
#comments .comment-form-btn-wrap .OwO.OwO-open .OwO-body {
    display: grid !important;
}

#comments .comment-form-btn-wrap .OwO .OwO-body::before {
    content: "";
    position: absolute;
    left: 10px;
    top: -5px;
    width: 10px;
    height: 10px;
    border-left: 1px solid rgba(218, 209, 195, .96);
    border-top: 1px solid rgba(218, 209, 195, .96);
    background: rgba(252, 250, 246, .98);
    transform: rotate(45deg);
}

#comments .comment-form-btn-wrap .OwO>.OwO-logo,
#comments .OwO .OwO-logo::before {
    display: none !important;
    content: "";
}

#comments .comment-form-btn-wrap .OwO .OwO-items {
    min-height: 0;
    max-height: 246px !important;
    margin: 0 !important;
    padding: 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#comments .comment-form-btn-wrap .OwO .OwO-items-show {
    display: grid !important;
    gap: 6px;
}

#comments .comment-form-btn-wrap .OwO .OwO-items-image.OwO-items-show {
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
}

#comments .comment-form-btn-wrap .OwO .OwO-items-emoji.OwO-items-show {
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
}

#comments .comment-form-btn-wrap .OwO .OwO-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    min-height: 30px;
    padding: 4px;
    border-radius: 8px;
    line-height: 1;
    transition: background-color .18s ease, transform .18s ease;
}

#comments .comment-form-btn-wrap .OwO .OwO-item:hover {
    background: #F1E8DC;
    box-shadow: none;
    transform: translateY(-1px);
    animation: none;
}

#comments .comment-form-btn-wrap .OwO .OwO-item img {
    display: block !important;
    width: 34px;
    height: 34px;
    max-width: 34px;
    margin: 0;
    object-fit: contain;
}

#comments .comment-form-btn-wrap .OwO .OwO-bar {
    border-top: 1px solid rgba(226, 216, 202, .88);
    border-radius: 0;
    background: rgba(248, 244, 237, .92);
    overflow-x: auto;
    white-space: nowrap;
}

#comments .comment-form-btn-wrap .OwO .OwO-packages {
    display: flex;
    gap: 4px;
    padding: 6px;
}

#comments .comment-form-btn-wrap .OwO .OwO-packages li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 10px;
    border-radius: 999px !important;
    color: #7C7168;
    font-size: 13px;
    line-height: 28px;
}

#comments .comment-form-btn-wrap .OwO .OwO-packages li:hover,
#comments .comment-form-btn-wrap .OwO .OwO-packages .OwO-package-active {
    background: #8A6D4A;
    color: #FAF6EF;
}

#comments .send_anniu_style,
#comments .comment-form-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(206, 190, 169, .88);
    border-radius: 8px;
    background: #F3ECE2;
    box-shadow: none;
    color: #6D5641;
    cursor: pointer;
    font-size: 13px;
    line-height: 34px;
    white-space: nowrap;
    overflow: visible;
    transition: all .2s ease;
}

#comments .comment-form-cancel {
    background: rgba(255, 253, 248, .82);
    color: #7C7168;
}

#comments #cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

#comments .send_anniu_style:hover,
#comments .comment-form-cancel:hover {
    border-color: rgba(138, 109, 74, .52);
    background: rgba(241, 232, 220, .96);
    color: #6D5641;
}

.tp-heart-confirm-mask {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(222, 210, 195, .34);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .18s ease;
}

.tp-heart-confirm-mask.is-show {
    opacity: 1;
}

.tp-heart-confirm {
    position: relative;
    width: min(300px, calc(100vw - 48px));
    min-height: 148px;
    padding: 14px 22px 16px;
    border: 1px solid rgba(198, 136, 83, .38);
    border-radius: 12px;
    background: url("../static/images/dialog_bg.png") right bottom / 74px auto no-repeat, linear-gradient(135deg, rgba(255, 251, 244, .98), rgba(251, 244, 233, .96));
    box-shadow: 0 12px 30px rgba(84, 55, 30, .18), inset 0 1px 0 rgba(255, 255, 255, .72);
    color: #6D4B32;
    transform: translateY(8px) scale(.98);
    transition: transform .18s ease;
}

.tp-heart-confirm-mask.is-show .tp-heart-confirm {
    transform: translateY(0) scale(1);
}

.tp-heart-confirm-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8A5D37;
    cursor: pointer;
}

.tp-heart-confirm-close::before,
.tp-heart-confirm-close::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
}

.tp-heart-confirm-close::before {
    transform: rotate(45deg);
}

.tp-heart-confirm-close::after {
    transform: rotate(-45deg);
}

.tp-heart-confirm-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 20px 16px;
    color: #6E4828;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.tp-heart-confirm-title span {
    width: 5px;
    height: 5px;
    background: #B47C45;
    transform: rotate(45deg);
}

.tp-heart-confirm-body {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.tp-heart-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(210, 148, 91, .36);
    border-radius: 50%;
    background: rgba(255, 252, 246, .75);
    box-shadow: 0 5px 12px rgba(116, 74, 35, .08);
    color: #D06B35;
    font: 700 20px/1 Georgia, serif;
}

.tp-heart-confirm-body p {
    margin: 0;
    color: #6D4B32;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.tp-heart-confirm-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding-right: 0;
}

.tp-heart-confirm-btn {
    min-width: 64px;
    height: 24px;
    padding: 0 14px;
    border: 1px solid rgba(194, 95, 50, .74);
    border-radius: 5px;
    background: rgba(255, 252, 247, .86);
    color: #9B5A36;
    cursor: pointer;
    font-size: 12px;
    line-height: 22px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.tp-heart-confirm-btn.is-ok {
    background: #C86135;
    color: #FFF8EC;
    box-shadow: 0 5px 12px rgba(198, 97, 53, .2);
}

.tp-heart-confirm-btn:hover,
.tp-heart-confirm-btn:focus-visible {
    background: #B7532C;
    color: #FFF8EC;
    outline: 0;
}

#comments .tp-comment-panel {
    margin-top: 26px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, .54);
    box-shadow: 0 10px 28px rgba(80, 64, 48, .045);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

#comments .tp-comment-head,
#comments .tp-comment-title-wrap,
#comments .tp-comment-meta,
#comments .tp-comment-foot,
#comments .tp-comment-actions,
#comments .tp-comment-from,
#comments .tp-comment-from>span,
#comments .tp-heart-action,
#comments .tp-reply-action {
    display: flex;
    align-items: center;
}

#comments .tp-comment-head {
    gap: 16px;
}

#comments .tp-comment-title-wrap {
    gap: 10px;
    min-width: 0;
}

#comments .tp-comment-title-mark {
    display: inline-block;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    background-color: #8A6D4A;
    -webkit-mask: url("../static/images/comment.svg") center / contain no-repeat;
    mask: url("../static/images/comment.svg") center / contain no-repeat;
    opacity: .9;
}

#comments .tp-comment-title-mark::after {
    display: none;
    content: none;
}

#comments .comments-list-title {
    margin: 0;
    color: #2F2A26;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

#comments .tp-comment-count {
    color: #7C7168;
    font-size: 13px;
}

#comments .comment-list {
    display: grid;
    gap: 0;
}

#comments .comment-list>.tp-comment-item {
    padding: 13px 0 15px;
    border-bottom: 0;
}

#comments .tp-comment-card {
    position: relative;
}

#comments .tp-comment-main {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 5px;
    align-items: start;
}

#comments .tp-comment-avatar-wrap .avatar,
#comments .avatar {
    display: block;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(236, 239, 242, .95);
    border-radius: 50%;
    background: #F6F8FA;
    object-fit: cover;
}

#comments .tp-comment-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "top top" "text text" "foot actions";
    column-gap: 16px;
    min-width: 0;
}

#comments .tp-comment-top {
    grid-area: top;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

#comments .tp-comment-meta {
    flex-wrap: wrap;
    gap: 4px 8px;
    min-height: 20px;
    color: #777;
    font-size: 13px;
    line-height: 20px;
}

#comments .tp-comment-author,
#comments .tp-comment-author a {
    color: #555;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

#comments .tp-comment-author a:hover {
    color: #8A6D4A;
}

#comments .tp-comment-level,
#comments .commentapprove,
#comments .bozhu {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border: 1px solid rgba(180, 172, 164, .22);
    border-radius: 4px;
    background: rgba(248, 248, 248, .72);
    color: #9D948C;
    font-size: 11px;
    font-weight: 400;
    line-height: 18px;
}

#comments .commentapprove.tp-comment-level {
    border-color: rgba(83, 58, 34, .18);
    background: rgba(110, 79, 47, .92);
    box-shadow: 0 4px 10px rgba(74, 48, 25, .12);
    color: #FFF8EC;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(50, 32, 16, .2);
}

#comments .commentapprove.comment-level {
    border-color: rgba(99, 73, 48, .16);
    background: rgba(132, 101, 70, .86);
    box-shadow: 0 4px 10px rgba(74, 48, 25, .08);
    color: #FFF8EC;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(50, 32, 16, .16);
}

#comments .tp-heart-badge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(166, 70, 55, .14);
    background: rgba(166, 70, 55, .075);
    color: #9b4a38;
    font-size: 11px;
    line-height: 18px;
}

#comments .tp-comment-text {
    grid-area: text;
    margin-top: 4px;
    color: #222;
    font-size: 16px;
    line-height: 1.58;
    word-break: break-word;
}

#comments .tp-comment-text p {
    margin: 0 0 6px;
}

#comments .tp-comment-text p:last-child {
    margin-bottom: 0;
}

#comments .comment-list-item-relation,
#comments .tp-comment-time,
#comments .tp-comment-from {
    color: #B4ACA4;
}

#comments .tp-comment-foot {
    grid-area: foot;
    gap: 0;
    min-height: 22px;
    margin-top: 6px;
    font-size: 13px;
    line-height: 22px;
}

#comments .tp-comment-from {
    flex-wrap: wrap;
    gap: 0;
    min-width: 0;
    font-size: 13px;
}

#comments .tp-comment-from:empty {
    display: none;
}

#comments .tp-comment-from>span {
    max-width: 100%;
}

#comments .tp-comment-location,
#comments .tp-comment-location * {
    color: inherit !important;
}

#comments .tp-comment-from>span::before {
    content: "\00b7";
    margin: 0 5px;
}

#comments .tp-comment-from img,
#comments .tp-comment-from svg,
#comments .tp-comment-from .icon,
#comments .tp-comment-from i {
    display: inline-block;
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    margin: 0 3px;
    object-fit: contain;
    vertical-align: -2px;
    opacity: .58;
}

#comments .tp-comment-from svg {
    flex: 0 0 15px;
}

#comments .comment-waiting {
    margin-bottom: 6px;
    color: #A64637;
    font-size: 13px;
}

#comments .owo_image {
    display: inline-block !important;
    height: 1.75em;
    margin: 0 2px;
    vertical-align: -0.35em;
}

#comments .tp-comment-actions {
    grid-area: actions;
    justify-content: flex-end;
    gap: 13px;
    min-height: 22px;
    margin-top: 6px;
    white-space: nowrap;
}

#comments .tp-heart-action,
#comments .tp-reply-action {
    justify-content: center;
    position: relative;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7C7168;
    cursor: pointer;
    font: 13px/22px var(--font-main);
    font-weight: 400;
    text-decoration: none;
    text-shadow: none;
    transition: color .2s ease;
}

#comments .tp-heart-action::before {
    content: "\2661";
    margin-right: 4px;
    font-size: 17px;
    line-height: 1;
}

#comments .tp-heart-action.is-active::before {
    content: "\2665";
    color: #A64637;
}

#comments .tp-heart-action.is-active {
    color: #A64637;
}

#comments .tp-reply-action::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-color: currentColor;
    -webkit-mask: url("../static/images/comment.svg") center / contain no-repeat;
    mask: url("../static/images/comment.svg") center / contain no-repeat;
}

#comments .tp-comment-foot>.tp-reply-action {
    margin-left: 10px;
}

#comments .tp-reply-action span {
    color: inherit;
}

#comments .tp-heart-action:hover,
#comments .tp-reply-action:hover {
    color: #8A6D4A;
    text-decoration: none;
    text-shadow: none;
}

#comments .comment-list>.tp-comment-item>.tp-comment-children {
    margin: 10px 0 0 20px;
    border: 1px solid #EEE;
    border-radius: 6px;
    background: transparent;
    overflow: visible;
}

#comments .tp-comment-children .comment-list,
#comments .tp-comment-children .tp-comment-children,
#comments .tp-comment-children .tp-comment-item>.tp-comment-children {
    display: block;
    margin: 0 -14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

#comments .tp-comment-children .comment-list {
    margin: 0;
}

#comments .tp-comment-children .tp-comment-item {
    margin: 0;
    padding: 11px 14px 12px;
    border: 0;
    background: transparent;
}

#comments .tp-comment-children .tp-comment-item+.tp-comment-item,
#comments .tp-comment-children .tp-comment-children .tp-comment-item {
    margin-top: 8px;
}

#comments .tp-comment-children .tp-comment-main {
    grid-template-columns: 30px minmax(0, 1fr);
}

#comments .tp-comment-children .avatar {
    width: 24px !important;
    height: 24px !important;
}

#comments .tp-comment-children .tp-comment-author,
#comments .tp-comment-children .tp-comment-author a {
    font-size: 14px;
}

#comments .tp-comment-children .tp-comment-text {
    font-size: 15px;
    line-height: 1.55;
}

#comments .comment-list-empty {
    margin-top: 20px;
    padding: 34px 18px;
    border: 1px dashed rgba(221, 212, 200, .95);
    border-radius: 12px;
    background: rgba(252, 250, 246, .42);
    color: #8D8176;
    text-align: center;
}

#comments .comment-list-empty-text {
    display: block;
    margin: 0;
}

#comments .comment-pagination {
    margin-top: 18px;
}

#comments .mx_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#comments .mx_pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #E2D8CA;
    border-radius: 8px;
    background: rgba(248, 244, 237, .72);
    color: #6B6158;
    font-size: 13px;
}

#comments .mx_pagination .active a,
#comments .mx_pagination a:hover {
    border-color: #6D5641;
    background: #6D5641;
    color: #FAF6EF;
}

@media (max-width: 800px) {
    #comments .cat_comment_respond_form .head {
        grid-template-columns: 1fr;
    }
    #comments .tp-comment-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    #comments .tp-comment-panel {
        padding: 14px 12px;
        border-radius: 0 0 12px 12px;
    }
    #comments .cat_comment_respond_form {
        padding: 12px;
    }
    #comments .comment-form-btn-wrap {
        align-items: flex-start;
        flex-direction: column;
    }
    #comments .comment-form-btn-wrap .right {
        flex-wrap: wrap;
    }
    #comments .comment-form-btn-wrap .OwO .OwO-body {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px);
        max-height: 270px;
    }
    #comments .comment-form-btn-wrap .OwO .OwO-items {
        max-height: 220px !important;
        padding: 8px;
        gap: 5px;
    }
    #comments .comment-form-btn-wrap .OwO .OwO-items-image.OwO-items-show {
        grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    }
    #comments .comment-form-btn-wrap .OwO .OwO-item img {
        width: 30px;
        height: 30px;
        max-width: 30px;
    }
    #comments .comment-form-btn-wrap .OwO .OwO-packages li {
        padding: 0 8px;
        font-size: 12px;
        line-height: 26px;
    }
    #comments .tp-comment-main {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 9px;
    }
    #comments .tp-comment-avatar-wrap .avatar,
    #comments .avatar {
        width: 34px !important;
        height: 34px !important;
    }
    #comments .tp-comment-actions {
        justify-content: flex-end;
        margin-top: 4px;
    }
    #comments .comment-list>.tp-comment-item>.tp-comment-children {
        margin-left: 20px;
    }
    #comments .tp-comment-children .tp-comment-item {
        padding: 10px;
    }
    #comments .tp-comment-children .tp-comment-children,
    #comments .tp-comment-children .tp-comment-item>.tp-comment-children {
        margin: 0 -10px;
    }
    #comments .tp-comment-children .tp-comment-main {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 8px;
    }
    #comments .tp-comment-children .avatar {
        width: 28px !important;
        height: 28px !important;
    }
}


/* OwO final hover bridge: this must come after the default ::after reset. */

#comments .comment-form-btn-wrap .OwO {
    position: relative;
}

#comments .comment-form-btn-wrap .OwO::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    display: block !important;
    height: 14px;
    pointer-events: auto !important;
}

#comments .comment-form-btn-wrap .OwO:hover .OwO-body,
#comments .comment-form-btn-wrap .OwO:focus-within .OwO-body,
#comments .comment-form-btn-wrap .OwO.OwO-open .OwO-body {
    display: grid !important;
}

#comments .comment-form-btn-wrap .OwO .OwO-body {
    top: calc(100% + 4px);
}


/* OwO viewport/layer fix: keep the panel above captcha/submit controls and inside mobile screens. */

#comments .comment-form-btn-wrap {
    position: relative;
    z-index: 60;
    overflow: visible;
}

#comments .comment-form-btn-wrap .OwO {
    z-index: 80;
}

#comments .comment-form-btn-wrap .OwO:hover,
#comments .comment-form-btn-wrap .OwO:focus-within,
#comments .comment-form-btn-wrap .OwO.OwO-open {
    z-index: 10020;
}

#comments .comment-form-btn-wrap .OwO .OwO-body {
    z-index: 10010 !important;
}

@media (max-width: 480px) {
    #comments .comment-form-btn-wrap {
        align-items: center !important;
        flex-direction: row !important;
        justify-content: flex-start;
        gap: 7px;
        width: 100%;
        padding-top: 2px;
    }
    #comments .comment-form-btn-wrap .right {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
        gap: 7px;
        min-width: 0;
        margin-left: auto;
        flex-wrap: nowrap !important;
    }
    #comments .comment-form-btn-wrap .OwO,
    #comments .OwO .OwO-logo {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        box-shadow: 0 3px 10px rgba(109, 86, 65, .08);
    }
    #comments .tp-comment-captcha {
        flex: 1 1 108px;
        width: 108px;
        min-width: 98px;
        max-width: 116px;
        height: 34px;
        border-color: rgba(206, 190, 169, .78);
        background: rgba(255, 252, 246, .9);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .68), 0 3px 10px rgba(109, 86, 65, .045);
    }
    #comments .tp-comment-captcha-input {
        flex: 1 1 48px;
        width: auto;
        min-width: 42px;
        max-width: none;
        padding: 0 6px;
        font-size: 12px;
    }
    #comments .tp-comment-captcha-code {
        flex: 0 0 56px;
        width: 56px;
        min-width: 56px;
        max-width: 56px;
        padding: 0 6px;
        letter-spacing: 1.4px;
        font-size: 13px;
    }
    #comments .send_anniu_style,
    #comments .comment-form-cancel {
        flex: 0 0 auto;
        min-width: 58px;
        height: 34px;
        padding: 0 11px;
        border-radius: 9px;
        border-color: rgba(206, 190, 169, .82);
        background: rgba(255, 252, 246, .94);
        box-shadow: 0 3px 10px rgba(109, 86, 65, .07);
        color: #765f47;
        font-size: 12px;
        line-height: 34px;
    }
    #comments .send_anniu_style {
        border-color: rgba(138, 109, 74, .38);
        background: linear-gradient(180deg, rgba(255, 250, 243, .96), rgba(243, 236, 226, .96));
        color: #6D5641;
        font-weight: 600;
    }
    #comments .comment-form-cancel {
        color: #8B7A68;
    }
    #comments .tp-comment-actions {
        justify-content: flex-start !important;
        gap: 10px;
        margin-top: 5px;
    }
    #comments .tp-heart-action,
    #comments .tp-reply-action {
        height: 24px;
        padding: 0 2px;
        color: #7f6d5d;
        font-size: 12px;
        line-height: 24px;
    }
    #comments .tp-reply-action::before {
        width: 13px;
        height: 13px;
        margin-right: 3px;
    }
    #comments .comment-form-btn-wrap .OwO:hover,
    #comments .comment-form-btn-wrap .OwO:focus-within,
    #comments .comment-form-btn-wrap .OwO.OwO-open {
        transform: none !important;
    }
    #comments .comment-form-btn-wrap .OwO .OwO-body {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        width: min(360px, calc(100vw - 48px)) !important;
        max-width: min(360px, calc(100vw - 48px)) !important;
        max-height: 300px !important;
        transform: none !important;
        z-index: 10010 !important;
    }
    #comments .comment-form-btn-wrap .OwO .OwO-body::before {
        display: none;
    }
}

@media (max-width: 360px) {
    #comments .comment-form-btn-wrap {
        gap: 6px;
    }
    #comments .comment-form-btn-wrap .right {
        gap: 6px;
    }
    #comments .tp-comment-captcha {
        flex-basis: 98px;
        width: 98px;
        min-width: 90px;
    }
    #comments .tp-comment-captcha-input {
        flex-basis: 42px;
        width: auto;
        min-width: 38px;
        max-width: none;
    }
    #comments .tp-comment-captcha-code {
        flex-basis: 52px;
        width: 52px;
        min-width: 52px;
        max-width: 52px;
        letter-spacing: 1px;
    }
    #comments .send_anniu_style,
    #comments .comment-form-cancel {
        min-width: 52px;
        padding: 0 9px;
    }
}
