/* Shared application styles. Every selector is scoped to .weibo-app. */
.weibo-app,
.weibo-app * {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.weibo-app {
    --weibo-theme: #eb7340;
    --weibo-secondary-text: #666;
    --weibo-muted-text: #707070;
    --weibo-disabled-text: #808080;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: rgb(245, 245, 245);
    color: rgb(51, 51, 51);
    display: flex;
    flex-direction: column;
}

.weibo-app .navbar {
    background: rgb(255, 255, 255);
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    border-bottom: 1px solid rgb(232, 232, 232);
    flex-shrink: 0;
    z-index: 100;
}

.weibo-app .logo-img {
    height: 32px;
    width: auto;
}

.weibo-app .container {
    padding: 12px 12px 0px;
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0px;
}

.weibo-app .publish-box {
    background: rgb(255, 255, 255);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
    flex-shrink: 0;
    position: relative;
}

.weibo-app .editor-wrapper {
    position: relative;
}

.weibo-app .richtext-input {
    width: 100%;
    min-height: 100px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    outline: none;
    font-size: 15px;
    line-height: 1.6;
    color: rgb(51, 51, 51);
    word-break: break-word;
    overflow-y: auto;
}

.weibo-app .richtext-input:empty::before {
    content: attr(data-placeholder);
    color: rgb(187, 187, 187);
    pointer-events: none;
}

.weibo-app .richtext-input .inline-emoji {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    object-fit: contain;
    margin: 0px 1px;
    pointer-events: none;
}

.weibo-app .publish-collapse-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgb(240, 240, 240);
}

.weibo-app .collapse-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weibo-app .publish-collapse-hint {
    font-size: 13px;
    color: var(--weibo-muted-text);
}

.weibo-app .publish-collapse-btn {
    cursor: pointer;
    font-size: 12px;
    color: var(--weibo-muted-text);
    padding: 2px 6px;
    user-select: none;
    transition: transform 0.25s, color 0.2s;
}

.weibo-app .publish-collapse-btn:hover {
    color: var(--weibo-secondary-text);
}

.weibo-app .publish-box.collapsed .publish-body {
    display: none;
}

.weibo-app .publish-box.collapsed .publish-collapse-bar {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    padding-bottom: 0px;
}

.weibo-app .publish-box.collapsed .publish-collapse-btn {
    transform: scaleY(-1);
}

.weibo-app .publish-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgb(240, 240, 240);
}

.weibo-app .toolbar-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.weibo-app .upload-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: var(--weibo-secondary-text);
    font-size: 13px;
    transition: color 0.2s;
}

.weibo-app .upload-btn:hover {
    color: rgb(235, 115, 64);
}

.weibo-app .upload-btn input {
    display: none;
}

.weibo-app .upload-btn svg {
    width: 20px;
    height: 20px;
}

.weibo-app .emoji-btn {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    opacity: 0.55;
    transition: opacity 0.2s;
}

.weibo-app .emoji-btn.active {
    opacity: 1;
}

.weibo-app .emoji-img-wrap {
    position: relative;
    width: 20px;
    height: 20px;
}

.weibo-app .emoji-btn-img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20px;
    height: 20px;
}

.weibo-app .emoji-img-base {
    transition: opacity 0.2s;
}

.weibo-app .emoji-img-overlay {
    opacity: 0;
    transition: opacity 0.2s;
}

.weibo-app .emoji-btn.active .emoji-img-base {
    opacity: 0;
}

.weibo-app .emoji-btn.active .emoji-img-overlay {
    opacity: 1;
}

@media (hover: hover) {
    .weibo-app .emoji-btn:hover {
        opacity: 1;
    }

    .weibo-app .emoji-btn:hover .emoji-img-base {
        opacity: 0;
    }

    .weibo-app .emoji-btn:hover .emoji-img-overlay {
        opacity: 1;
    }
}

@media (hover: none) {
    .weibo-app .emoji-btn-img {
        transition: none;
    }
}

.weibo-app .toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.weibo-app .char-count {
    font-size: 13px;
    color: var(--weibo-muted-text);
}

.weibo-app .char-count.warn {
    color: rgb(235, 115, 64);
}

.weibo-app .char-count.danger {
    color: rgb(231, 76, 60);
}

.weibo-app .publish-btn {
    --weibo-publish-padding: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px var(--weibo-publish-padding);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 20px;
    background: var(--weibo-theme);
    color: rgb(255, 255, 255);
    font-family: inherit;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.weibo-app .publish-btn:hover {
    opacity: 0.85;
}

@keyframes weibo-send-spin {
    from { transform: translate(-50%, -50%) rotate(0turn); }
    to { transform: translate(-50%, -50%) rotate(1turn); }
}
.weibo-app .publish-toolbar .publish-btn.is-sending {
    position: relative; cursor: wait;
}
.weibo-app .publish-btn.is-sending:disabled { background: var(--weibo-theme); cursor: wait; }
.weibo-app .publish-loading-border {
    position: absolute; inset: 0; padding: 2px; border-radius: inherit; pointer-events: none;
    background: rgba(255, 255, 255, .22);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}
.weibo-app .publish-loading-border::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 200%; height: 0; padding-top: 200%;
    box-sizing: content-box;
    background: conic-gradient(transparent 0deg 240deg, var(--weibo-theme) 290deg, #fff 330deg, var(--weibo-theme) 360deg);
    background: conic-gradient(transparent 0deg 240deg, var(--weibo-theme) 290deg,
        color-mix(in srgb, var(--weibo-theme) 35%, #fff) 330deg, var(--weibo-theme) 360deg);
    animation: weibo-send-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .weibo-app .publish-loading-border::before { animation-duration: 1.6s; }
}

.weibo-app .private-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.weibo-app .private-toggle-label {
    font-size: 12px;
    color: var(--weibo-muted-text);
}

.weibo-app .private-toggle-track {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: rgb(221, 221, 221);
    position: relative;
    transition: background 0.2s;
}

.weibo-app .private-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    transition: left 0.2s;
}

.weibo-app .private-toggle-wrap.on .private-toggle-track {
    background: rgb(235, 115, 64);
}

.weibo-app .private-toggle-wrap.on .private-toggle-thumb {
    left: 16px;
}

.weibo-app .private-toggle-wrap.login-only .private-toggle-track {
    background: rgb(123, 104, 238);
}

.weibo-app .private-toggle-wrap.login-only .private-toggle-thumb {
    left: 16px;
}

.weibo-app .publish-toolbar { flex-wrap: wrap; gap: 8px; }
.weibo-app .publish-toolbar .toolbar-left,
.weibo-app .publish-toolbar .toolbar-right { flex: 0 0 auto; }
.weibo-app .publish-toolbar .toolbar-right { margin-left: auto; gap: 8px; }
.weibo-app .publish-toolbar .upload-btn,
.weibo-app .publish-toolbar .char-count { font-size: 15px; white-space: nowrap; }
.weibo-app .publish-toolbar .upload-btn,
.weibo-app .publish-toolbar .emoji-btn { min-height: 36px; }
.weibo-app .publish-toolbar .upload-btn svg,
.weibo-app .publish-toolbar .emoji-img-wrap,
.weibo-app .publish-toolbar .emoji-btn-img { width: 24px; height: 24px; }
.weibo-app .publish-toolbar .private-toggle-label { font-size: 14px; white-space: nowrap; }
.weibo-app .publish-toolbar .private-toggle-track { flex-shrink: 0; width: 36px; height: 20px; border-radius: 10px; }
.weibo-app .publish-toolbar .private-toggle-thumb { width: 16px; height: 16px; }
.weibo-app .publish-toolbar .private-toggle-wrap.on .private-toggle-thumb,
.weibo-app .publish-toolbar .private-toggle-wrap.login-only .private-toggle-thumb { left: 18px; }
.weibo-app .publish-toolbar .publish-btn { flex-shrink: 0; white-space: nowrap; }

.weibo-app .publish-btn:disabled {
    background: rgb(245, 193, 166);
    cursor: not-allowed;
}

.weibo-app .topic-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.weibo-app .topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    background: rgb(232, 244, 253);
    color: rgb(33, 150, 243);
    border-radius: 12px;
    font-size: 13px;
    font-family: "Noto Serif SC", serif;
}

.weibo-app .topic-chip-empty {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border: 1px dashed rgb(208, 208, 208);
    border-radius: 12px;
    font-size: 13px;
    font-family: "Noto Serif SC", serif;
    color: var(--weibo-muted-text);
    cursor: text;
    min-width: 60px;
    outline: none;
}

.weibo-app .topic-chip-empty:focus {
    border-color: rgb(33, 150, 243);
    color: rgb(85, 85, 85);
}

.weibo-app .topic-suggest {
    position: absolute;
    max-height: 180px;
    overflow-y: auto;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(232, 232, 232);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding: 4px 0px;
    z-index: 100;
    left: 0px;
    right: 0px;
}

.weibo-app .topic-suggest-item {
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    color: rgb(85, 85, 85);
    transition: background 0.15s;
}

.weibo-app .topic-suggest-item:hover {
    background: rgb(254, 243, 232);
    color: rgb(235, 115, 64);
}

.weibo-app .topic-suggest-empty {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--weibo-muted-text);
    text-align: center;
}

.weibo-app .topic-chip-empty:empty::before {
    content: "添加话题";
    color: var(--weibo-muted-text);
}

.weibo-app .post-topics {
    margin-bottom: 10px;
}

.weibo-app .post-topic {
    display: inline-block;
    color: rgb(235, 115, 64);
    font-size: 13px;
    font-weight: 500;
    margin-right: 6px;
    cursor: pointer;
}

.weibo-app .topic-edit-done-btn,
.weibo-app .topic-edit-cancel-btn {
    font-size: 12px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 10px;
    user-select: none;
    margin-left: 8px;
}

.weibo-app .topic-edit-done-btn {
    background: rgb(235, 115, 64);
    color: rgb(255, 255, 255);
}

.weibo-app .topic-edit-cancel-btn {
    color: var(--weibo-secondary-text);
    margin-right: 12px;
}

.weibo-app .topic-edit-actions {
    display: flex;
    align-items: center;
}

.weibo-app .image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.weibo-app .preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.weibo-app .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-tap-highlight-color: transparent;
}

.weibo-app .preview-item .remove-img {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.weibo-app .preview-item.dragging {
    opacity: 0.4;
}

.weibo-app .preview-item.drag-over {
    border: 2px dashed rgb(235, 115, 64);
    border-radius: 8px;
}

.weibo-app .emoji-panel {
    display: none;
    position: fixed;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(232, 232, 232);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 16px;
    z-index: 9990;
    width: 440px;
    max-height: 320px;
    overflow-y: auto;
}

.weibo-app .emoji-panel-inner {
    padding: 10px;
}

.weibo-app .emoji-panel.show {
    display: block;
}

.weibo-app .emoji-content span[data-emoji] {
    cursor: pointer;
    font-size: 22px;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.15s;
}

.weibo-app .emoji-content span[data-emoji]:hover {
    background: rgb(232, 232, 232);
}

.weibo-app .emoji-tabs {
    display: flex;
    gap: 16px;
    padding: 8px 10px;
    border-bottom: 1px solid rgb(238, 238, 238);
    position: sticky;
    top: 0px;
    background: rgb(255, 255, 255);
    z-index: 1;
}

.weibo-app .emoji-tab {
    padding: 6px 0px;
    font-size: 13px;
    color: var(--weibo-secondary-text);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.weibo-app .emoji-tab.active {
    color: rgb(235, 115, 64);
    border-bottom-color: rgb(235, 115, 64);
    font-weight: 600;
}

.weibo-app .emoji-tab:hover {
    color: rgb(102, 102, 102);
}

.weibo-app .emoji-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.weibo-app #emojiDwrg {
    max-height: none;
    overflow-y: visible;
}

.weibo-app .dwrg-cat-title {
    width: 100%;
    font-size: 12px;
    color: var(--weibo-secondary-text);
    padding: 6px 4px 2px;
    border-top: 1px solid rgb(240, 240, 240);
    margin-top: 4px;
}

.weibo-app .dwrg-cat-title:first-child {
    border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
    margin-top: 0px;
}

.weibo-app .dwrg-cat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.weibo-app .dwrg-emoji-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.15s;
    min-width: 64px;
}

.weibo-app .dwrg-emoji-item:hover {
    background: rgb(232, 232, 232);
}

.weibo-app .emoji-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.75);
    color: rgb(255, 255, 255);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 99999;
    white-space: nowrap;
    transform: translateX(-50%);
}

.weibo-app .dwrg-emoji-placeholder {
    font-size: 10px;
    color: var(--weibo-muted-text);
    text-align: center;
    line-height: 1.3;
    max-width: 64px;
    word-break: break-all;
}

.weibo-app .dwrg-emoji-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.weibo-app .dwrg-emoji-item span {
    font-size: 10px;
    color: var(--weibo-secondary-text);
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.weibo-app .tabs {
    display: flex;
    gap: 0px;
    margin-bottom: 0px;
    border-radius: 8px 8px 0px 0px;
    overflow: hidden;
    flex-shrink: 0;
}

.weibo-app .tab {
    flex: 1 1 0%;
    text-align: center;
    padding: 12px;
    background: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 14px;
    color: var(--weibo-secondary-text);
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.weibo-app .tab.active {
    color: rgb(51, 51, 51);
    font-weight: 600;
    border-bottom-color: rgb(235, 115, 64);
}

.weibo-app .tab-count {
    font-size: 12px;
    color: var(--weibo-muted-text);
    font-weight: 400;
}

.weibo-app .filter-bar {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgb(255, 255, 255);
    border-top: 1px solid rgb(240, 240, 240);
    flex-shrink: 0;
    overflow: auto hidden;
    scrollbar-width: none;
}

.weibo-app .filter-bar::-webkit-scrollbar {
    display: none;
}

.weibo-app .filter-bar > * {
    flex-shrink: 0;
}

.weibo-app .feed-toolbar {
    display: grid; grid-template-columns: minmax(0, 1fr) 48px;
    position: relative; align-items: center; min-height: 52px; overflow: visible;
    border: 1px solid #e8e8e8; border-radius: 12px; background: #fff;
}
.weibo-app .feed-toolbar[data-filters-open] > .tab { visibility: hidden; }
.weibo-app .feed-toolbar > .tab {
    grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
    align-self: stretch; padding-inline: 48px; text-align: center; white-space: nowrap; cursor: default;
    border-bottom: 0; border-radius: 11px;
}
.weibo-app .feed-search-toggle {
    grid-column: -2 / -1; grid-row: 1; align-self: stretch;
    display: flex; align-items: center; justify-content: center; min-height: 50px;
    border: 0; border-radius: 0 11px 11px 0;
    background: #fff; color: var(--weibo-secondary-text); cursor: pointer;
}
.weibo-app .feed-search-toggle[aria-expanded="true"] { color: #eb7340; }
.weibo-app .feed-search-toggle svg { width: 24px; height: 24px; }
.weibo-app .feed-search-toggle:focus-visible { outline: 2px solid #eb7340; outline-offset: -3px; }
.weibo-app .feed-filter-drawer { position: absolute; inset: 0 48px 0 0; min-width: 0; }
.weibo-app .feed-filter-drawer[hidden] { display: none; }
.weibo-app .feed-filter-drawer > .filter-bar {
    display: flex; flex-wrap: nowrap; min-width: 0; width: 100%; box-sizing: border-box; height: 100%; padding: 8px;
    border-top: 0; border-radius: 11px 0 0 11px; overflow-x: auto; overflow-y: hidden;
}
.weibo-app .feed-filter-drawer .filter-bar select { min-height: 32px; padding: 4px 10px; font-size: 14px; }
.weibo-app .feed-filter-drawer .date-toggle-icon { width: 32px; height: 32px; padding: 0; }
.weibo-app .feed-filter-drawer .date-toggle-icon svg { width: 20px; height: 20px; }
.weibo-app .feed-filter-drawer .keyword-wrap { flex: 1 1 164px; min-width: 0; min-height: 32px; margin-left: 0; }
.weibo-app .feed-filter-drawer .keyword-wrap[data-has-value] { flex: 1 0 var(--keyword-content-width, 164px); }
.weibo-app .feed-filter-drawer .keyword-input { flex: 1 1 auto; width: 100%; min-width: 0; padding: 6px 8px; font-size: 14px; }
.weibo-app .feed-filter-drawer .keyword-tag-toggle { flex: 0 0 auto; padding: 6px 8px; font-size: 14px; }

.weibo-app .filter-bar select {
    border: 1px solid rgb(232, 232, 232);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    color: rgb(102, 102, 102);
    background: rgb(255, 255, 255);
    outline: none;
    font-family: inherit;
}

.weibo-app .date-picker-wrap {
    position: relative;
}

.weibo-app .date-toggle-icon {
    background: #fff;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 5px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 4px;
    color: var(--weibo-muted-text);
    box-sizing: border-box;
    height: 26px;
    width: 26px;
    transition: color 0.2s, border-color 0.2s;
}

.weibo-app .date-toggle-icon:hover {
    border-color: rgb(187, 187, 187);
}

.weibo-app .date-toggle-icon.expanded {
    border-color: rgb(235, 115, 64);
}

.weibo-app .date-toggle-icon.has-date {
    color: rgb(235, 115, 64);
}

.weibo-app .date-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weibo-app .date-group.hidden {
    display: none;
}

.weibo-app .date-pick-input {
    border: 1px solid rgb(232, 232, 232);
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 13px;
    color: rgb(102, 102, 102);
    outline: none;
    font-family: inherit;
    width: 90px;
    text-align: center;
    cursor: pointer;
    background: rgb(255, 255, 255);
}

.weibo-app .date-pick-input:focus {
    border-color: rgb(235, 115, 64);
}

.weibo-app .date-dropdown {
    display: none;
    position: fixed;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(232, 232, 232);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 16px;
    z-index: 9999;
    padding: 10px;
    width: 260px;
}

.weibo-app .date-dropdown.show {
    display: block;
}

.weibo-app .date-range-modal {
    width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
    margin: auto; padding: 20px; border: 0; border-radius: 12px;
    background: #fff; color: #333; overflow: visible;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}
.weibo-app .date-range-modal::backdrop { background: rgba(0, 0, 0, .35); }
.weibo-app .date-range-header { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 8px; }
.weibo-app .date-range-close {
    display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border: 0; background: transparent; color: #666; font-size: 24px; cursor: pointer;
}
.weibo-app .date-range-modal .date-group { align-items: flex-end; gap: 8px; }
.weibo-app .date-range-field { display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; }
.weibo-app .date-range-modal .date-pick-input { width: 100%; height: 36px; padding: 6px; font-size: 13px; }
.weibo-app .date-range-modal .filter-sep { line-height: 36px; }
.weibo-app .date-range-modal .date-dropdown {
    position: fixed; width: min(280px, calc(100vw - 24px)); margin: 0;
    left: var(--date-calendar-left, 12px) !important; top: var(--date-calendar-top, 12px);
    transform: none; overflow-y: auto;
}
.weibo-app .date-range-modal .cal-header { position: sticky; top: 0; z-index: 1; background: #fff; }
.weibo-app .date-range-error { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #b3261e; }
.weibo-app .date-range-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.weibo-app .date-range-actions button { height: 36px; min-width: 68px; padding: 0 18px; border-radius: 20px; font-size: 14px; cursor: pointer; }
.weibo-app .date-range-clear { border: 1px solid #ddd; background: #fff; color: #666; }

@media (max-width: 640px) {
    .weibo-app .date-dropdown {
        transform: translateX(-50%);
        left: 50% !important;
    }
}

.weibo-app .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.weibo-app .cal-header button {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--weibo-secondary-text);
    padding: 2px 8px;
}

.weibo-app .cal-header button:hover {
    color: rgb(235, 115, 64);
}

.weibo-app .cal-month {
    font-size: 14px;
    font-weight: 600;
    color: rgb(51, 51, 51);
}

.weibo-app .cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: var(--weibo-secondary-text);
    margin-bottom: 4px;
}

.weibo-app .cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.weibo-app .cal-day {
    padding: 6px 0px;
    font-size: 13px;
    color: rgb(85, 85, 85);
    cursor: pointer;
    border-radius: 4px;
    position: relative;
}

.weibo-app .cal-day:hover {
    background: rgb(245, 245, 245);
}

.weibo-app .cal-day.other-month {
    color: var(--weibo-disabled-text);
    cursor: default;
}

.weibo-app .cal-day.has-post {
    background: rgb(254, 240, 232);
}

.weibo-app .cal-day.today {
    color: rgb(235, 115, 64);
    font-weight: 600;
}

.weibo-app .cal-day.selected {
    background: rgb(235, 115, 64);
    color: rgb(255, 255, 255);
}

.weibo-app .filter-sep {
    color: var(--weibo-muted-text);
    font-size: 13px;
}

.weibo-app .keyword-wrap {
    display: flex;
    align-items: center;
    margin-left: auto;
    border: 1px solid rgb(232, 232, 232);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.weibo-app .keyword-wrap:focus-within {
    border-color: rgb(235, 115, 64);
}

.weibo-app .keyword-tag-toggle {
    padding: 4px 6px;
    font-size: 13px;
    color: var(--weibo-muted-text);
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    transition: color 0.2s;
    border-right: 1px solid rgb(232, 232, 232);
}

.weibo-app .keyword-tag-toggle.active {
    color: rgb(235, 115, 64);
    background: rgb(254, 245, 240);
}

.weibo-app .keyword-input {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    outline: none;
    padding: 4px 6px;
    font-size: 13px;
    color: rgb(102, 102, 102);
    font-family: inherit;
    width: 120px;
    background: transparent;
}

.weibo-app .keyword-input::placeholder {
    color: var(--weibo-muted-text);
}

.weibo-app .feed {
    background: rgb(255, 255, 255);
    border-radius: 0px 0px 8px 8px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
    flex: 1 1 0%;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.weibo-app .empty-tip {
    text-align: center;
    padding: 60px 20px;
    color: var(--weibo-muted-text);
}

.weibo-app .empty-tip .icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.weibo-app .empty-tip p {
    font-size: 14px;
}

.weibo-app .load-more {
    text-align: center;
    padding: 16px 0px;
    color: var(--weibo-secondary-text);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.weibo-app .feed-refresh-status {
    padding: 16px 12px;
    color: var(--weibo-muted-text);
    font-size: 14px;
    text-align: center;
}

.weibo-app .feed-refresh-status button {
    padding: 4px 10px;
    border: 1px solid #eb7340;
    border-radius: 6px;
    background: #fff;
    color: #eb7340;
    font: inherit;
    cursor: pointer;
}

.weibo-app .load-more:hover {
    color: rgb(235, 115, 64);
}

.weibo-app .no-more {
    text-align: center;
    padding: 16px 0px;
    color: var(--weibo-muted-text);
    font-size: 13px;
    user-select: none;
}

.weibo-app .post {
    padding: 16px;
    border-bottom: 1px solid rgb(240, 240, 240);
    transition: background 0.15s;
    position: relative;
}

.weibo-app .post:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.weibo-app .post:hover {
    background: rgb(250, 250, 250);
}

.weibo-app .post-watermark {
    position: absolute;
    right: 12px;
    bottom: 8px;
    height: 48px;
    width: auto;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0.12;
}

.weibo-app .post-header,
.weibo-app .post-content,
.weibo-app .post-images,
.weibo-app .post-topics,
.weibo-app .post-actions,
.weibo-app .comment-section,
.weibo-app .cmt-images,
.weibo-app .reply-list,
.weibo-app .comment-list {
    position: relative;
    z-index: 2;
}

.weibo-app .post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.weibo-app .post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(249, 211, 180), rgb(235, 115, 64));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: visible;
    text-decoration: none;
}
.weibo-app .post-avatar:has(.site-avatar) { background: transparent; }
.weibo-app :is(.post-user, .cmt-user, .rpl-user) { text-decoration: none; }
.weibo-app .post-user { color: inherit; }

.weibo-app .post-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.weibo-app .post-user {
    font-size: 14px;
    font-weight: 600;
}

.weibo-app .post-time {
    font-size: 12px;
    color: var(--weibo-muted-text);
    margin-left: auto;
    cursor: pointer;
    user-select: none;
}

.weibo-app .post-time:hover {
    color: var(--weibo-secondary-text);
}

.weibo-app .private-badge {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    user-select: none;
    margin-right: 2px;
    transform: translate(-3px, -1px);
}

.weibo-app .post-content {
    font-size: 15px;
    line-height: 1.7;
    word-break: break-word;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.weibo-app .dwrg-inline-emoji {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    object-fit: contain;
    margin: 0px 1px;
}

.weibo-app .post-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}

.weibo-app .post-images img {
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    -webkit-tap-highlight-color: transparent;
}

.weibo-app .lightbox {
    display: none;
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.weibo-app .lightbox.show {
    display: flex;
}

.weibo-app .lightbox * {
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.weibo-app .lightbox.show {
    display: flex;
}

.weibo-app .lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    cursor: default;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 20px;
    user-select: none;
}

.weibo-app .lb-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: rgb(170, 170, 170);
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    transition: color 0.2s;
}

.weibo-app .lb-close:hover {
    color: rgb(255, 255, 255);
}

.weibo-app .lb-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    user-select: none;
}

.weibo-app .lb-prev,
.weibo-app .lb-next {
    font-size: 36px;
    color: rgb(170, 170, 170);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    transform: translateY(-5px);
}

.weibo-app .lb-prev:hover,
.weibo-app .lb-next:hover {
    color: rgb(255, 255, 255);
}

.weibo-app .lb-counter {
    color: rgb(170, 170, 170);
    font-size: 14px;
    min-width: 48px;
    text-align: center;
    line-height: 1;
}

.weibo-app .lb-hidden {
    visibility: hidden;
}

.weibo-app .post-actions {
    display: flex;
    gap: 24px;
}

.weibo-app .post-actions span {
    font-size: 13px;
    color: var(--weibo-muted-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    user-select: none;
}

.weibo-app .post-actions span:hover {
    color: rgb(102, 102, 102);
}

.weibo-app .post-actions .liked .heart-img-base {
    opacity: 0;
}

.weibo-app .post-actions .liked .heart-img-overlay,
.weibo-app .cmt-btn.active .heart-img-overlay {
    opacity: 1;
}

.weibo-app .heart-btn,
.weibo-app .cmt-btn {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.weibo-app .heart-img-wrap {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.weibo-app .heart-img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20px;
    height: 20px;
}

.weibo-app .heart-img-base {
    transition: opacity 0.2s;
}

.weibo-app .heart-img-overlay {
    opacity: 0;
    transition: opacity 0.2s;
}

.weibo-app .post-actions .comment-collapse {
    font-size: 13px;
    color: var(--weibo-muted-text);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.weibo-app .post-actions .comment-collapse:hover {
    color: rgb(102, 102, 102);
}

.weibo-app .comment-section {
    display: none;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.weibo-app .comment-section.show {
    display: block;
}

.weibo-app .comment-list {
    margin-bottom: 10px;
}

/* The last comment already provides the same 8px bottom padding as each row. */
.weibo-app .comment-list:has(+ .comment-inline-form) {
    margin-bottom: 0;
}

.weibo-app .comment-item {
    padding: 8px 0px;
    border-bottom: 1px solid rgb(240, 240, 240);
}

.weibo-app .comment-item:first-child {
    border-top: 1px solid rgb(240, 240, 240);
}

.weibo-app .comment-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.weibo-app .comment-item .cmt-user {
    font-size: 13px;
    font-weight: 600;
    color: rgb(235, 115, 64);
}

.weibo-app .comment-item .cmt-text {
    font-size: 14px;
    margin: 4px 0px;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
}

.weibo-app .comment-item .cmt-time {
    font-size: 12px;
    color: var(--weibo-muted-text);
    margin-right: 8px;
    cursor: pointer;
    user-select: none;
}

.weibo-app .comment-item .cmt-time:hover {
    color: var(--weibo-secondary-text);
}

.weibo-app .cmt-images {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0px;
}

.weibo-app .cmt-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.weibo-app .comment-item .cmt-reply-btn {
    font-size: 12px;
    color: var(--weibo-secondary-text);
    cursor: pointer;
    transition: color 0.2s;
}

.weibo-app .comment-item .cmt-reply-btn:hover {
    color: rgb(235, 115, 64);
}

.weibo-app .reply-list {
    margin-top: 6px;
    margin-left: 12px;
    padding-left: 10px;
    border-left: 2px solid rgb(240, 240, 240);
}

.weibo-app .reply-item {
    padding: 6px 0px;
}

.weibo-app .reply-item .rpl-user {
    font-size: 12px;
    font-weight: 600;
    color: rgb(235, 115, 64);
}

.weibo-app .reply-item .rpl-text {
    font-size: 13px;
    margin: 2px 0px;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
}

.weibo-app .reply-item .rpl-time {
    font-size: 11px;
    color: var(--weibo-muted-text);
    cursor: pointer;
    user-select: none;
}

.weibo-app .reply-item .rpl-time:hover {
    color: var(--weibo-secondary-text);
}

.weibo-app .reply-input-row {
    display: none;
    gap: 6px;
    align-items: flex-end;
    margin-top: 6px;
    margin-left: 12px;
}

.weibo-app .reply-input-row.show {
    display: flex;
}

.weibo-app .reply-input-row input {
    flex: 1 1 0%;
    border: 1px solid rgb(232, 232, 232);
    border-radius: 14px;
    padding: 5px 12px;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.weibo-app .reply-input-row input:focus {
    border-color: rgb(235, 115, 64);
}

.weibo-app .reply-input-row button {
    flex-shrink: 0;
    padding: 4px 12px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 14px;
    background: rgb(235, 115, 64);
    color: rgb(255, 255, 255);
    font-size: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.weibo-app .reply-input-row button:hover {
    opacity: 0.85;
}

.weibo-app .comment-input-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.weibo-app .comment-input-row.hide {
    display: none;
}

.weibo-app .comment-input-row input {
    flex: 1 1 0%;
    border: 1px solid rgb(232, 232, 232);
    border-radius: 16px;
    padding: 7px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.weibo-app .comment-input-row input:focus {
    border-color: rgb(235, 115, 64);
}

.weibo-app .comment-input-row button {
    flex-shrink: 0;
    padding: 6px 14px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 16px;
    background: rgb(235, 115, 64);
    color: rgb(255, 255, 255);
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.weibo-app .comment-input-row button:hover {
    opacity: 0.85;
}

.weibo-app .cmt-emoji-btn {
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.weibo-app .cmt-emoji-btn:hover {
    opacity: 1;
}

.weibo-app .comment-input-row .cmt-emoji-btn {
    height: 30px;
}

.weibo-app .reply-input-row .cmt-emoji-btn {
    height: 26px;
}

.weibo-app .comment-input-row button:disabled {
    background: rgb(245, 193, 166);
    cursor: not-allowed;
}

.weibo-app .post-del,
.weibo-app .cmt-del,
.weibo-app .rpl-del {
    font-size: 12px;
    color: var(--weibo-muted-text);
    cursor: pointer;
    transition: color 0.2s;
}

.weibo-app .post-del {
    margin-left: auto;
}

.weibo-app .cmt-del {
    margin-left: 8px;
}

.weibo-app .rpl-del {
    margin-left: 8px;
}

.weibo-app .post-del:hover,
.weibo-app .cmt-del:hover,
.weibo-app .rpl-del:hover {
    color: rgb(231, 76, 60);
}

@media (max-width: 640px) {
    .weibo-app .container {
        padding: 8px 8px 0px;
    }

    .weibo-app .post-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .weibo-app .emoji-panel {
        width: 360px;
    }

    .weibo-app .emoji-panel.show {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.weibo-app .publish-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    color: rgb(255, 255, 255);
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    white-space: nowrap;
}

.weibo-app .publish-toast.show {
    opacity: 1;
}

.weibo-app { width: 100%; flex: 1 1 auto; min-height: 0; font-size: 16px; line-height: normal; }


/* Comment actions keep their original appearance while using native buttons. */
.weibo-app :is(.cmt-btn, .comment-collapse, .cmt-reply-btn, .cmt-del, .rpl-del) {
    border: 0; background: transparent; font-family: inherit; line-height: inherit;
}
.weibo-app .comment-collapse[hidden],
.weibo-app .composer-status[hidden],
.weibo-app .composer-status button[hidden] { display: none; }
.weibo-app .comment-inline-form {
    display: grid; grid-template-columns: minmax(0, 1fr);
    align-items: end; gap: 8px; margin: 0; padding-top: 10px;
    border-top: 1px solid rgb(240, 240, 240);
}
/* Hide immediately without moving the touch target; reclaim space after the tap. */
body[data-weibo-comment-editing] > #LGNewUI-Tab-Page-Wrap {
    visibility: hidden !important; pointer-events: none !important;
}
body[data-weibo-comment-editing="active"] > #LGNewUI-Tab-Page-Wrap { display: none !important; }
.weibo-app .comment-write {
    display: block; grid-column: 1; grid-row: 1; width: 100%; min-width: 0; box-sizing: border-box;
    border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px;
    color: var(--weibo-primary-text, #333); background: #fff; font: inherit;
    min-height: 39px; font-size: 14px; line-height: 1.5; resize: none; overflow-y: hidden;
}
.weibo-app .comment-write::placeholder { color: var(--weibo-muted-text); }
.weibo-app .comment-write:focus { border-color: var(--weibo-theme); outline: none; box-shadow: none; }
.weibo-app .comment-inline-actions {
    --weibo-comment-control-height: 31px;
    --weibo-comment-icon-height: calc(var(--weibo-comment-control-height) * .85);
    grid-column: 2; grid-row: 1; display: none; align-items: center; gap: 4px; min-height: 39px;
}
/* Keep tools available while choosing an emoji or working with attachments. */
.weibo-app .comment-inline-form:is(:focus-within, :has(.comment-write:not(:placeholder-shown), .comment-attachments:not([hidden]), .comment-emoji-btn.active)) {
    grid-template-columns: minmax(0, 1fr) auto;
}
.weibo-app .comment-inline-form:is(:focus-within, :has(.comment-write:not(:placeholder-shown), .comment-attachments:not([hidden]), .comment-emoji-btn.active)) .comment-inline-actions {
    display: flex;
}
.weibo-app .post:has(> .comment-section.show .comment-inline-form) > .post-watermark { display: none; }
.weibo-app .comment-send { --weibo-publish-padding: 10px; height: var(--weibo-comment-control-height); padding-block: 0; white-space: nowrap; }
.weibo-app .comment-inline-actions :is(.comment-image-btn, .comment-emoji-btn) {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 var(--weibo-comment-control-height);
    width: var(--weibo-comment-control-height); height: var(--weibo-comment-control-height);
    padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer;
}
.weibo-app .comment-inline-actions :is(.upload-btn svg, .emoji-img-wrap, .emoji-btn-img) {
    width: var(--weibo-comment-icon-height); height: var(--weibo-comment-icon-height);
}
/* Match visible artwork bounds while preserving the landscape image aspect. */
.weibo-app .comment-inline-actions .comment-image-btn {
    flex-basis: calc(var(--weibo-comment-control-height) * 1.25);
    width: calc(var(--weibo-comment-control-height) * 1.25);
}
.weibo-app .comment-inline-actions .comment-image-btn svg { display: block; width: calc(var(--weibo-comment-icon-height) * 1.25); height: var(--weibo-comment-icon-height); }
.weibo-app .comment-inline-actions .emoji-img-wrap { display: block; overflow: hidden; }
.weibo-app .comment-inline-actions .emoji-btn-img { transform: scale(1.3333333333); transform-origin: center; }
.weibo-app .comment-inline-actions :is(.comment-image-btn, .comment-emoji-btn):disabled { opacity: .4; cursor: default; }
.weibo-app .comment-attachments { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.weibo-app .comment-attachments[hidden] { display: none; }
.weibo-app .comment-attachments .preview-item { width: 56px; height: 56px; }
.weibo-app .emoji-panel[data-inline-comment-emoji] { z-index: 12001; }
.weibo-app .comment-inline-form[aria-busy="true"] { cursor: wait; }
.weibo-app .comment-empty { font-size: 13px; color: var(--weibo-muted-text); }
.weibo-app :is(.cmt-del, .rpl-del):disabled { opacity: .6; cursor: wait; }
.weibo-app :is(.comment-image-btn, .comment-emoji-btn, .comment-send, .cmt-btn, .cmt-reply-btn, .cmt-del, .rpl-del, .comment-collapse):focus-visible {
    outline: 2px solid #eb7340; outline-offset: 3px;
}
.weibo-app .composer-status, .weibo-app .comment-feedback {
    flex: 0 0 auto; margin-top: 8px; font-size: 13px; line-height: 1.5; color: #666; overflow-wrap: anywhere;
}
.weibo-app .composer-status[role="alert"], .weibo-app .comment-feedback[role="alert"] { color: #b64835; }
.weibo-app .composer-status button {
    margin-left: 8px; border: 0; background: transparent; color: #eb7340; font: inherit; cursor: pointer;
}
@keyframes weibo-comment-highlight {
    from { background-color: #fff0e6; }
    to { background-color: transparent; }
}
.weibo-app .comment-just-sent { animation: weibo-comment-highlight 2.5s ease-out; }
.weibo-app :is(.comment-item, .reply-item)[role="button"] { cursor: pointer; -webkit-touch-callout: none; }
.weibo-app :is(.comment-item, .reply-item)[role="button"]:focus-visible { outline: 2px solid var(--weibo-theme); outline-offset: 3px; }
.weibo-app .comment-reply-target {
    position: relative; border-radius: 6px;
    background: color-mix(in srgb, var(--weibo-theme) 8%, transparent);
}
.weibo-app .comment-reply-target::after {
    content: ""; position: absolute; inset: 0 -4px;
    border: 1px solid var(--weibo-theme); border-radius: 6px; pointer-events: none;
}
.weibo-app .comment-deleting { opacity: .6; cursor: wait; }
@media (prefers-reduced-motion: reduce) {
    .weibo-app .comment-just-sent { animation: none; background-color: #fff0e6; }
}

.weibo-app .load-more { display: block; width: 100%; border: 0; font-family: inherit; text-align: center; }
.weibo-app .load-more:disabled { cursor: wait; }
