.uc-selection-root {
    -webkit-user-select: text !important;
    user-select: text !important;
}

.uc-highlight {
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition: filter .15s ease, background-color .15s ease, border-color .15s ease;
}

.uc-highlight:hover,
.uc-highlight:focus-visible {
    outline: 2px solid rgba(82, 115, 255, .42);
    outline-offset: 2px;
}

.uc-selection-root .uc-highlight.uc-highlight-target {
    background: color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 38%, transparent);
    filter: none;
    outline: 2px solid color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 68%, currentColor);
    outline-offset: 3px;
}

.uc-toolbar {
    position: absolute;
    z-index: 2147483000;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: #202124;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    box-shadow: 0 7px 24px rgba(0, 0, 0, .24);
    transform: translate(-50%, -100%) translateY(-8px);
    transition: opacity .12s ease, visibility .12s ease;
    white-space: nowrap;
}

.uc-toolbar.uc-visible {
    visibility: visible;
    opacity: 1;
}

.uc-toolbar.uc-toolbar-below {
    transform: translate(-50%, 0) translateY(8px);
}

.uc-toolbar button {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 66px;
    padding: 9px 13px;
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    background: transparent;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.uc-toolbar button span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.uc-action-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.uc-toolbar button + button {
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.uc-toolbar button:hover,
.uc-toolbar button:focus-visible {
    background: rgba(255, 255, 255, .13);
    outline: 0;
}

.uc-toolbar button:disabled {
    opacity: .55;
    cursor: wait;
}

.uc-panel {
    box-sizing: border-box;
    width: 100%;
    margin: .75rem 0 1.25rem;
    padding: 14px 16px;
    color: inherit;
    background: color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 70%, #999);
    border-radius: 10px;
}

.uc-panel[hidden] {
    display: none !important;
}

.uc-panel-head,
.uc-comment-meta,
.uc-panel-actions {
    display: flex;
    align-items: center;
}

.uc-panel-head {
    justify-content: space-between;
    gap: 12px;
}

.uc-panel-count {
    font-size: .94rem;
}

.uc-panel-close {
    width: 30px;
    height: 30px;
    padding: 0;
    color: inherit;
    font-size: 24px;
    line-height: 26px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.uc-panel-close:hover,
.uc-panel-close:focus-visible {
    background: rgba(127, 127, 127, .16);
    outline: 0;
}

.uc-panel-quote {
    margin: 8px 0 12px;
    color: #6b6350;
    font-size: .88rem;
    line-height: 1.55;
}

.uc-comment {
    padding: 10px 0;
    border-top: 1px solid rgba(127, 127, 127, .18);
}

.uc-comment-child {
    margin-left: 22px;
    padding-left: 12px;
    border-left: 2px solid rgba(127, 127, 127, .2);
}

.uc-comment-meta {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    font-size: .84rem;
}

.uc-comment-meta time,
.uc-muted {
    color: #777;
}

.uc-comment-content,
.uc-comment-content p {
    margin: 0;
    line-height: 1.65;
}

.uc-native-comment-list {
    width: 100%;
}

.uc-native-comment-list,
.uc-native-comment-list ol,
.uc-native-comment-list ul,
.uc-native-comment-list li {
    list-style: none !important;
    list-style-type: none !important;
}

.uc-comment-reference {
    box-sizing: border-box;
    margin: 0 0 .8em;
    padding: .58em .75em;
    color: inherit;
    font: inherit;
    background: color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 13%, transparent);
    border: 0;
    border-left: 2px dashed color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 60%, currentColor);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.uc-comment-reference:hover,
.uc-comment-reference:focus-visible {
    background: color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 23%, transparent);
    border-left-color: color-mix(in srgb, var(--uc-highlight-color, #ffe58f) 78%, currentColor);
    outline: 2px solid rgba(82, 115, 255, .42);
    outline-offset: 2px;
}

.uc-comment-reference-label {
    display: block;
    margin-bottom: .22em;
    color: inherit;
    font-size: .8em;
    font-weight: 600;
    line-height: 1.4;
    opacity: .7;
}

[data-theme="dark"] .uc-comment-reference-label {
    color: rgba(255, 255, 255, .88);
    opacity: 1;
}

.uc-comment-reference p,
.comment-content .uc-comment-reference p,
.comment-body .uc-comment-reference p,
.comment-text .uc-comment-reference p {
    margin: 0;
    color: inherit;
    font: inherit;
    font-size: .92em;
    line-height: 1.55;
}

.uc-panel-actions {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.uc-panel-actions button {
    padding: 7px 12px;
    color: inherit;
    font: inherit;
    font-size: .9rem;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(90, 90, 90, .24);
    border-radius: 7px;
    cursor: pointer;
}

.uc-panel-actions button:hover:not(:disabled),
.uc-panel-actions button:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, .9);
    outline: 0;
}

.uc-panel-actions button:disabled {
    opacity: .58;
    cursor: default;
}

.uc-respond-slot .respond {
    margin-top: 14px;
}

.uc-respond-slot .respond hr {
    display: none;
}

.uc-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2147483001;
    max-width: min(88vw, 420px);
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background: rgba(32, 33, 36, .94);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .22);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .16s ease, transform .16s ease;
}

.uc-toast-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

body[data-theme="dark"] .uc-panel {
    background: rgba(255, 229, 143, .10);
    border-color: rgba(255, 229, 143, .34);
}

body[data-theme="dark"] .uc-panel-quote,
body[data-theme="dark"] .uc-comment-meta time,
body[data-theme="dark"] .uc-muted {
    color: #bbb;
}

body[data-theme="dark"] .uc-panel-actions button {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
}

@media (max-width: 767.98px), (pointer: coarse) {
    .uc-selection-root {
        -webkit-touch-callout: none;
    }

    .uc-toolbar-touch button {
        min-width: 58px;
        min-height: 40px;
        padding: 9px 11px;
    }

    .uc-panel {
        margin: .65rem 0 1rem;
        padding: 12px;
    }

    .uc-comment-child {
        margin-left: 12px;
    }
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
    .uc-panel {
        background: #fffbed;
        border-color: #ead98b;
    }

    .uc-comment-reference {
        background: #fffbed;
        border-left-color: #c59b18;
    }
}
