/* Smart Reply v1.17.7 */
.smartreply-form {
    position: relative;
    scroll-margin-top: 12px;
}

.post[id^="p"] {
    scroll-margin-top: 12px;
}

.smartreply-context,
.smartreply-draft,
.smartreply-helper,
.smartreply-templates,
.smartreply-toolbar,
.smartreply-color-palette,
.smartreply-smilies,
.smartreply-preview {
    margin: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 10px 12px;
    background: rgba(127, 127, 127, 0.06);
}

.smartreply-context {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-left: 3px solid #3a6ea5;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(58, 110, 165, 0.10) 0%, rgba(127, 127, 127, 0.05) 100%);
}

.smartreply-context-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(58, 110, 165, 0.14);
    color: #274d74;
    margin-top: 0;
    font-size: 12px;
}


.smartreply-context-mode-reply {
    border-left-color: #3a6ea5;
    background: linear-gradient(180deg, rgba(58, 110, 165, 0.10) 0%, rgba(127, 127, 127, 0.05) 100%);
}

.smartreply-context-mode-quote {
    border-left-color: #8b6a2d;
    background: linear-gradient(180deg, rgba(139, 106, 45, 0.11) 0%, rgba(127, 127, 127, 0.05) 100%);
}

.smartreply-context-mode-mention {
    border-left-color: #6a4ea3;
    background: linear-gradient(180deg, rgba(106, 78, 163, 0.10) 0%, rgba(127, 127, 127, 0.05) 100%);
}

.smartreply-context-icon-reply {
    background: rgba(58, 110, 165, 0.14);
    color: #274d74;
}

.smartreply-context-icon-quote {
    background: rgba(139, 106, 45, 0.16);
    color: #6b5124;
}

.smartreply-context-icon-mention {
    background: rgba(106, 78, 163, 0.14);
    color: #55398f;
}


.smartreply-context-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
    line-height: 1.3;
    color: #1f2f41;
}

.smartreply-context-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: 6px;
}

.smartreply-context-jump,
.smartreply-context-remove {
    min-height: 28px;
    padding: 0 8px;
}

.smartreply-context-jump .icon,
.smartreply-context-remove .icon {
    font-size: 12px;
}

.smartreply-context-line {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #1f2f41 !important;
    white-space: normal !important;
    word-break: break-word;
    opacity: 1 !important;
}

.smartreply-context-line:empty::before {
    content: attr(data-context-line);
    color: #1f2f41 !important;
}

.smartreply-context-post-link,
.smartreply-context-post-index {
    color: #274d74;
    font-weight: 700;
}

.smartreply-context-post-link {
    text-decoration: none;
    border-bottom: 1px dotted rgba(39, 77, 116, 0.55);
}

.smartreply-context-post-link:hover,
.smartreply-context-post-link:focus {
    text-decoration: none;
    border-bottom-style: solid;
}

.smartreply-context-user-link {
    text-decoration: none;
    border-bottom: 1px dotted rgba(79, 95, 113, 0.42);
}

.smartreply-context-user-link:hover,
.smartreply-context-user-link:focus {
    text-decoration: none;
    border-bottom-style: solid;
}

.smartreply-context-username {
    font-weight: 700;
}

.smartreply-context-username[style] {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.smartreply-context-sub,
.smartreply-context-snippet {
    display: block;
    max-width: 100%;
    min-width: 0;
    line-height: 1.5;
    color: #4f5f71;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.smartreply-context-sub {
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.smartreply-context-title,
.smartreply-templates-title,
.smartreply-toolbar-title,
.smartreply-preview-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.smartreply-context-meta,
.smartreply-context-snippet,
.smartreply-save-status,
.smartreply-preview-empty {
    font-size: 0.82em;
    opacity: 0.82;
}

.smartreply-context-snippet {
    margin-top: 1px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.smartreply-context-reveal {
    animation: smartreplyContextReveal 0.22s ease;
}

@keyframes smartreplyContextReveal {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.smartreply-has-context textarea[name="message"] {
    border-color: rgba(58, 110, 165, 0.34);
    box-shadow: inset 0 2px 0 rgba(58, 110, 165, 0.26), 0 0 0 2px rgba(58, 110, 165, 0.06);
    background-image: linear-gradient(180deg, rgba(58, 110, 165, 0.02) 0%, rgba(255, 255, 255, 0) 26px);
}

.smartreply-context-active-reply textarea[name="message"]::placeholder {
    color: #3c5f84;
}

.smartreply-context-active-quote textarea[name="message"] {
    border-color: rgba(139, 106, 45, 0.30);
    box-shadow: inset 0 2px 0 rgba(139, 106, 45, 0.24), 0 0 0 2px rgba(139, 106, 45, 0.05);
    background-image: linear-gradient(180deg, rgba(139, 106, 45, 0.028) 0%, rgba(255, 255, 255, 0) 26px);
}

.smartreply-context-active-quote textarea[name="message"]::placeholder {
    color: #7b6032;
}

.smartreply-context-active-mention textarea[name="message"] {
    border-color: rgba(106, 78, 163, 0.30);
    box-shadow: inset 0 2px 0 rgba(106, 78, 163, 0.22), 0 0 0 2px rgba(106, 78, 163, 0.05);
    background-image: linear-gradient(180deg, rgba(106, 78, 163, 0.025) 0%, rgba(255, 255, 255, 0) 26px);
}

.smartreply-context-active-mention textarea[name="message"]::placeholder {
    color: #6a4ea3;
}

.smartreply-helper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.smartreply-helper-main {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 420px;
    flex-wrap: wrap;
}

.smartreply-statebar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin-top: 2px;
}

.smartreply-state-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    line-height: 1.2;
    color: #33485e;
    white-space: nowrap;
}

.smartreply-state-pill-autosave {
    border-color: rgba(58, 110, 165, 0.24);
    background: rgba(58, 110, 165, 0.08);
    color: #274d74;
}

.smartreply-state-pill-mode-reply,
.smartreply-state-pill-post,
.smartreply-state-pill-user {
    border-color: rgba(58, 110, 165, 0.24);
    background: rgba(58, 110, 165, 0.08);
}

.smartreply-state-pill-mode-quote {
    border-color: rgba(139, 106, 45, 0.24);
    background: rgba(139, 106, 45, 0.08);
    color: #6b5124;
}

.smartreply-state-pill-mode-mention {
    border-color: rgba(106, 78, 163, 0.24);
    background: rgba(106, 78, 163, 0.08);
    color: #55398f;
}

.smartreply-state-pill-draft {
    border-color: rgba(210, 163, 71, 0.30);
    background: rgba(210, 163, 71, 0.10);
    color: #7d5b16;
}

.smartreply-state-pill-ready {
    border-color: rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.72);
    color: #56697d;
}


.smartreply-actions,
.smartreply-template-actions,
.smartreply-toolbar-actions,
.smartreply-helper-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


.smartreply-draft {
    border-left: 3px solid #d2a347;
    background: linear-gradient(180deg, rgba(210, 163, 71, 0.11) 0%, rgba(127, 127, 127, 0.05) 100%);
}

.smartreply-draft-reopen[hidden] {
    display: none !important;
}

.smartreply-draft-reopen {
    border-color: rgba(210, 163, 71, 0.38);
    background: linear-gradient(180deg, rgba(255,249,235,0.98) 0%, rgba(245,235,210,0.98) 100%);
}

.smartreply-btn,
.smartreply-linklike,
.smartreply-post-reply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.smartreply-btn,
.smartreply-post-reply-btn {
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(233,238,244,0.98) 100%);
    color: #2f3f52;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.smartreply-btn:hover,
.smartreply-linklike:hover,
.smartreply-post-reply-btn:hover {
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(223,231,239,1) 100%);
    color: #1f2f41;
}

.smartreply-linklike {
    border: 0;
    background: transparent;
    padding: 0;
    min-height: 0;
}

.smartreply-post-button {
    list-style: none;
}

.smartreply-post-reply-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    white-space: nowrap;
    font-size: 0.92em;
    border-radius: 3px;
    transition: background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.08s ease;
}

.smartreply-post-reply-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    min-width: 13px;
    font-size: 12px;
    line-height: 1;
    opacity: 0.96;
}

.smartreply-post-reply-btn:active {
    transform: translateY(1px);
}

.smartreply-post-reply-btn[aria-pressed="true"],
.smartreply-post-reply-btn.is-active {
    font-weight: 600;
}

.smartreply-post-reply-btn.smartreply-action-on-context-post {
    border-color: rgba(58, 110, 165, 0.22);
}

.smartreply-post-reply-btn.smartreply-action-reply[aria-pressed="true"],
.smartreply-post-reply-btn.smartreply-action-reply.is-active {
    border-color: rgba(58, 110, 165, 0.48);
    background: linear-gradient(180deg, rgba(233, 242, 250, 0.98) 0%, rgba(214, 229, 241, 0.98) 100%);
    color: #1f4668;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(58, 110, 165, 0.08);
}

.smartreply-post-reply-btn.smartreply-action-quote[aria-pressed="true"],
.smartreply-post-reply-btn.smartreply-action-quote.is-active {
    border-color: rgba(124, 88, 28, 0.44);
    background: linear-gradient(180deg, rgba(250, 244, 232, 0.98) 0%, rgba(241, 229, 209, 0.98) 100%);
    color: #6b5124;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(124, 88, 28, 0.08);
}

.smartreply-post-reply-btn.smartreply-action-mention[aria-pressed="true"],
.smartreply-post-reply-btn.smartreply-action-mention.is-active {
    border-color: rgba(101, 62, 148, 0.4);
    background: linear-gradient(180deg, rgba(244, 238, 250, 0.98) 0%, rgba(232, 222, 245, 0.98) 100%);
    color: #55398f;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(101, 62, 148, 0.08);
}

.smartreply-post-label {
    display: inline-flex;
    align-items: center;
}

.smartreply-action-reply,
.smartreply-action-quote,
.smartreply-action-mention {
    gap: 6px;
    padding: 0 10px;
}

.smartreply-action-quote .icon,
.smartreply-context-icon-quote .icon {
    opacity: 1;
}

.smartreply-post-reply-btn:hover,
.smartreply-post-reply-btn:focus {
    box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.06);
}

.smartreply-post-reply-btn.smartreply-action-reply.is-active:hover,
.smartreply-post-reply-btn.smartreply-action-reply.is-active:focus,
.smartreply-post-reply-btn.smartreply-action-reply[aria-pressed="true"]:hover,
.smartreply-post-reply-btn.smartreply-action-reply[aria-pressed="true"]:focus {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(58, 110, 165, 0.08);
}

.smartreply-post-reply-btn.smartreply-action-quote.is-active:hover,
.smartreply-post-reply-btn.smartreply-action-quote.is-active:focus,
.smartreply-post-reply-btn.smartreply-action-quote[aria-pressed="true"]:hover,
.smartreply-post-reply-btn.smartreply-action-quote[aria-pressed="true"]:focus {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(124, 88, 28, 0.08);
}

.smartreply-post-reply-btn.smartreply-action-mention.is-active:hover,
.smartreply-post-reply-btn.smartreply-action-mention.is-active:focus,
.smartreply-post-reply-btn.smartreply-action-mention[aria-pressed="true"]:hover,
.smartreply-post-reply-btn.smartreply-action-mention[aria-pressed="true"]:focus {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(101, 62, 148, 0.08);
}

.smartreply-post-reply-btn.button.button-icon-only,
.smartreply-toolbar-btn.button.button-icon-only {
    padding: 0;
    min-height: 28px;
}


.smartreply-mobile-actions {
    display: none;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    gap: 6px;
    flex-wrap: wrap;
}

.smartreply-mobile-actions .smartreply-post-reply-btn {
    min-height: 28px;
}

.smartreply-toolbar {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.smartreply-toolbar-actions {
    flex: 1 1 auto;
}

.smartreply-toolbar-btn,
.smartreply-template-btn,
.smartreply-preview-toggle {
    min-height: 28px;
    font-size: 0.92em;
    padding: 0 9px;
}

.smartreply-toolbar-icon-btn,
.smartreply-post-icon-btn {
    min-width: 30px;
    width: 30px;
    padding: 0;
}

.smartreply-toolbar-icon-btn .icon,
.smartreply-post-icon-btn .icon {
    font-size: 14px;
    line-height: 1;
}

.smartreply-toolbar-icon-text {
    font-style: normal;
}

.smartreply-fa-icon {
    font-size: 14px;
}

.smartreply-collapsed textarea[name="message"] {
    min-height: 90px;
    max-height: 120px;
}

.smartreply-expanded textarea[name="message"] {
    min-height: 180px;
}

.smartreply-form.smartreply-user-resized.smartreply-expanded textarea[name="message"] {
    min-height: var(--smartreply-user-height, 180px);
    height: var(--smartreply-user-height, 180px);
}

.smartreply-preview-body {
    margin-top: 8px;
    line-height: 1.55;
    word-wrap: break-word;
}

.smartreply-preview-body blockquote.smartreply-preview-quote {
    margin: 10px 0;
    padding: 10px 12px;
    border-left: 3px solid rgba(0, 0, 0, 0.18);
    background: rgba(127, 127, 127, 0.08);
}

.smartreply-preview-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 6px;
}

.smartreply-preview-body pre.smartreply-preview-code {
    overflow: auto;
    padding: 10px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.smartreply-preview-body code {
    font-family: Consolas, Monaco, monospace;
}

.smartreply-preview-body ul,
.smartreply-preview-body ol {
    margin: 8px 0 8px 20px;
}

.smartreply-preview-image {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    background: rgba(127, 127, 127, 0.12);
}

.smartreply-flash {
    animation: smartreplyFlash 1.2s ease;
}

.smartreply-scroll-focus textarea[name="message"] {
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
    border-color: rgba(58, 110, 165, 0.45);
    box-shadow: 0 0 0 4px rgba(58, 110, 165, 0.12);
}

@keyframes smartreplyFlash {
    0% { box-shadow: 0 0 0 rgba(0,0,0,0); }
    35% { box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.25); }
    100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
}


.smartreply-toolbar-compact .smartreply-toolbar-actions {
    align-items: center;
}

.smartreply-toolbar-extra[hidden] {
    display: none !important;
}

.smartreply-toolbar-toggle {
    margin-left: auto;
}

.smartreply-toolbar-tools-open .smartreply-toolbar-toggle {
    font-weight: 600;
}

.smartreply-color-palette {
    margin-top: -2px;
}

.smartreply-color-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.smartreply-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.smartreply-color-swatch {
    min-width: 28px;
    width: 28px;
    min-height: 28px;
    padding: 0;
}

.smartreply-color-chip {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.18);
    background: var(--smartreply-color-swatch, #000000);
}

.smartreply-color-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.smartreply-color-custom-btn {
    min-height: 28px;
}


.smartreply-editor-grid {
    display: block;
}

.smartreply-editor-grid > textarea[name="message"] {
    width: 100%;
    box-sizing: border-box;
}

.smartreply-editor-grid-smilies-open {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
    gap: 10px;
    align-items: start;
}

.smartreply-editor-grid-smilies-open > .smartreply-smilies {
    margin: 0;
    max-height: 220px;
    overflow: auto;
}

.smartreply-smilies {
    margin-top: -2px;
}

.smartreply-smilies-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.smartreply-smilies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.smartreply-smilies-empty {
    font-size: 0.9em;
    opacity: 0.86;
}

.smartreply-smiley-option {
    min-width: 30px;
    width: 30px;
    min-height: 30px;
    padding: 0;
}

.smartreply-smiley-option img,
.smartreply-preview-smiley {
    max-width: 22px;
    max-height: 22px;
    vertical-align: text-bottom;
}

.smartreply-color-open .smartreply-toolbar-icon-btn[title] {
    position: relative;
}


.smartreply-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.smartreply-icon {
    line-height: 1;
    font-weight: 700;
}

.smartreply-mentions {
    margin: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 10px 12px;
    background: rgba(127, 127, 127, 0.06);
}

.smartreply-mentions-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.smartreply-mentions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.smartreply-mentions-empty {
    font-size: 0.9em;
    opacity: 0.86;
}

.smartreply-mention-option {
    min-height: 28px;
    font-size: 0.92em;
    padding: 0 10px;
}

.smartreply-mention-prefix {
    opacity: 0.72;
    margin-right: 2px;
}

.smartreply-mention-name {
    font-weight: 600;
}

.smartreply-mention-option-active {
    font-weight: 600;
    background: rgba(100, 149, 237, 0.16);
    border-color: rgba(100, 149, 237, 0.35);
}


.smartreply-preview-body .smartreply-preview-mention {
    display: inline-block;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 0.92em;
    background: rgba(100, 149, 237, 0.14);
}

.smartreply-preview-body blockquote.smartreply-preview-quote blockquote.smartreply-preview-quote {
    margin-left: 12px;
}


.smartreply-context-remove {
    margin-left: 8px;
    white-space: nowrap;
    flex: 0 0 auto;
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
    gap: 5px;
}

.smartreply-context-remove .icon {
    font-size: 11px;
}

.smartreply-context-remove-label {
    display: inline-block;
}

.smartreply-context[hidden],
.smartreply-draft[hidden],
.smartreply-helper[hidden],
.smartreply-templates[hidden],
.smartreply-toolbar[hidden],
.smartreply-color-palette[hidden],
.smartreply-preview[hidden] {
    display: none !important;
}


.smartreply-post-reply-btn:focus-visible,
.smartreply-btn:focus-visible,
.smartreply-toolbar-btn:focus-visible,
.smartreply-template-btn:focus-visible,
.smartreply-preview-toggle:focus-visible,
.smartreply-color-swatch:focus-visible,
.smartreply-mention-option:focus-visible,
.smartreply-context-post-link:focus-visible,
.smartreply-context-user-link:focus-visible {
    outline: 2px solid rgba(58, 110, 165, 0.28);
    outline-offset: 1px;
}

.smartreply-action-quote:focus-visible,
.smartreply-context-mode-quote .smartreply-context-post-link:focus-visible,
.smartreply-context-mode-quote .smartreply-context-user-link:focus-visible {
    outline-color: rgba(124, 88, 28, 0.26);
}

.smartreply-action-mention:focus-visible,
.smartreply-context-mode-mention .smartreply-context-post-link:focus-visible,
.smartreply-context-mode-mention .smartreply-context-user-link:focus-visible {
    outline-color: rgba(101, 62, 148, 0.24);
}

.smartreply-origin-focus {
    outline: 2px solid rgba(58, 110, 165, 0.22);
    outline-offset: 2px;
}

.smartreply-origin-post {
    outline: 0;
    border-left: 3px solid rgba(58, 110, 165, 0.42);
    box-shadow: inset 3px 0 0 rgba(58, 110, 165, 0.18), 0 0 0 1px rgba(58, 110, 165, 0.07);
}

.smartreply-origin-pulse {
    animation: smartreplyOriginPulse 1.4s ease;
}

@keyframes smartreplyOriginPulse {
    0% {
        box-shadow: inset 3px 0 0 rgba(58, 110, 165, 0.14), 0 0 0 0 rgba(58, 110, 165, 0);
    }
    40% {
        box-shadow: inset 3px 0 0 rgba(58, 110, 165, 0.28), 0 0 0 4px rgba(58, 110, 165, 0.10);
    }
    100% {
        box-shadow: inset 3px 0 0 rgba(58, 110, 165, 0.18), 0 0 0 1px rgba(58, 110, 165, 0.07);
    }
}

@media (max-width: 700px) {
    .smartreply-editor-grid-smilies-open {
        display: block;
    }

    .smartreply-editor-grid-smilies-open > .smartreply-smilies {
        margin-top: 8px;
        max-height: none;
    }

    .smartreply-context {
        align-items: flex-start;
        gap: 7px;
        padding: 7px 8px;
        border-left-width: 2px;
    }

    .smartreply-context-icon {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .smartreply-context-main {
        font-size: 12px;
    }

    .smartreply-context-line {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .smartreply-context-sub,
    .smartreply-context-snippet {
        display: none;
    }

    .smartreply-context-actions {
        gap: 4px;
        margin-left: 2px;
    }

    .smartreply-context-jump,
    .smartreply-context-remove {
        min-height: 24px;
        min-width: 24px;
        padding: 0 6px;
        gap: 0;
    }

    .smartreply-context-jump-label,
    .smartreply-context-remove-label {
        display: none;
    }

    .postbody .post-buttons > .smartreply-post-button {
        display: none !important;
    }

    .smartreply-mobile-actions {
        display: flex;
    }

    .smartreply-mobile-actions .smartreply-post-label {
        display: inline-flex;
    }

    .smartreply-mobile-actions .smartreply-action-reply,
    .smartreply-mobile-actions .smartreply-action-quote,
    .smartreply-mobile-actions .smartreply-action-mention {
        min-width: 0;
        width: auto;
        padding: 0 10px;
        gap: 6px;
    }

    .smartreply-mobile-actions .smartreply-post-reply-btn .icon {
        margin-right: 0;
    }
}

@media (max-width: 520px) {
    .smartreply-helper,
    .smartreply-helper-main,
    .smartreply-helper-actions {
        gap: 6px;
    }

    .smartreply-btn,
    .smartreply-post-reply-btn {
        min-height: 28px;
        padding: 0 8px;
    }
}

.smartreply-origin-post .author .username-coloured,
.smartreply-origin-post .author .username,
.smartreply-origin-post .postprofile .username-coloured,
.smartreply-origin-post .postprofile .username {
    text-decoration: none;
    filter: saturate(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .smartreply-scroll-focus textarea[name="message"],
    .smartreply-flash,
    .smartreply-origin-pulse {
        animation: none !important;
        transition: none !important;
    }
}


