/* ============================================================
   情感树洞 · 玫瑰奶油换肤层
   仅视觉覆盖，不改动结构、交互与瀑布流列数。
   作用域：.tree-hole-container / body:has(.tree-hole-container)
   ============================================================ */

body:has(.tree-hole-container) {
    --th-cream: #fff9f6;
    --th-card: #fffdfb;
    --th-blush: #fdeef1;
    --th-blush-deep: #f9dde4;
    --th-rose: #d94f6a;
    --th-rose-dark: #b93a55;
    --th-rose-soft: #f4b7c4;
    --th-ink: #33272b;
    --th-muted: #8b767d;
    --th-faint: #b3a0a6;
    --th-line: #f0dfe3;
    --th-line-strong: #e6cdd3;
    --th-shadow-soft: 0 10px 26px rgba(140, 74, 90, 0.10);
    --th-shadow-card: 0 18px 40px rgba(140, 74, 90, 0.14);
    --th-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
    --th-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;

    background-color: #fff9f6;
    background-image:
        radial-gradient(circle at 8% 2%, rgba(253, 238, 241, 0.85), transparent 36%),
        radial-gradient(circle at 94% 12%, rgba(255, 243, 238, 0.85), transparent 32%);
    color: var(--th-ink);
    font-family: var(--th-sans);
}

body:has(.tree-hole-container)::before,
body:has(.tree-hole-container)::after {
    display: none;
}

body:has(.tree-hole-container) main {
    overflow-x: clip;
}

.tree-hole-container {
    color: var(--th-ink);
    font-family: var(--th-sans);
}

.tree-hole-container :focus-visible {
    outline: 2px solid var(--th-rose);
    outline-offset: 2px;
}

.tree-hole-container a {
    color: var(--th-rose);
    text-decoration: none;
}

.tree-hole-container a:hover {
    color: var(--th-rose-dark);
}

/* ===== 页头 / 工具栏 ===== */
.tree-hole-container .tree-hole-header {
    background: linear-gradient(155deg, #fff7f3 0%, #fdeef1 58%, #fbe7ec 100%);
    border: 1px solid var(--th-line);
    border-radius: 24px;
    padding: 1.7rem 1.8rem;
    margin-bottom: 1.6rem;
    box-shadow: var(--th-shadow-soft);
}

.tree-hole-container .tree-hole-header h1 {
    color: var(--th-ink);
    font-family: var(--th-serif);
    font-size: clamp(1.6rem, 3.6vw, 2.15rem);
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.tree-hole-container .tree-hole-header h1 i {
    color: var(--th-rose);
}

.tree-hole-container #sort-container label {
    color: var(--th-muted) !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
}

.tree-hole-container #sort-select {
    border: 1px solid var(--th-line-strong) !important;
    background-color: #fffdfb !important;
    color: var(--th-ink) !important;
    border-radius: 999px !important;
    box-shadow: 0 1px 4px rgba(140, 74, 90, 0.06) !important;
}

.tree-hole-container #sort-select:hover {
    border-color: var(--th-rose-soft) !important;
    box-shadow: 0 4px 14px rgba(140, 74, 90, 0.12) !important;
}

.tree-hole-container #sort-select:focus {
    outline: none !important;
    border-color: var(--th-rose) !important;
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10) !important;
}

.tree-hole-container #sort-select option {
    background-color: #fffdfb;
    color: var(--th-ink);
}

.tree-hole-container #sort-container i {
    color: var(--th-rose) !important;
}

/* 顶部按钮：主按钮玫瑰胶囊 */
.tree-hole-container .btn-primary {
    background-color: var(--th-rose) !important;
    background-image: linear-gradient(135deg, #d94f6a 0%, #c8435f 100%) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(217, 79, 106, 0.22) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.tree-hole-container .btn-primary:hover {
    background-color: var(--th-rose-dark) !important;
    background-image: linear-gradient(135deg, #c8435f 0%, #a9334c 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(185, 58, 85, 0.26) !important;
}

/* 旧版布局切换：次按钮白底描边 */
.tree-hole-container #thViewToggle {
    background-color: #fffdfb !important;
    background-image: none !important;
    color: var(--th-rose) !important;
    border: 1px solid var(--th-line-strong) !important;
    box-shadow: none !important;
}

.tree-hole-container #thViewToggle:hover {
    background-color: var(--th-blush) !important;
    border-color: var(--th-rose-soft) !important;
    color: var(--th-rose-dark) !important;
    box-shadow: 0 6px 14px rgba(140, 74, 90, 0.10) !important;
}

/* ===== 标签筛选 ===== */
.tree-hole-container .th-tag-tabs {
    gap: 8px;
}

.tree-hole-container .th-tag-tab {
    border: 1px solid var(--th-line-strong);
    background: #fffdfb;
    color: var(--th-muted);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 0.82rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.tree-hole-container .th-tag-tab:hover {
    border-color: var(--th-rose-soft);
    color: var(--th-rose);
    background: var(--th-blush);
}

.tree-hole-container .th-tag-tab.active {
    background: var(--th-rose);
    border-color: var(--th-rose);
    color: #fff;
    box-shadow: 0 6px 14px rgba(217, 79, 106, 0.22);
}

/* ===== 今日精选 ===== */
.tree-hole-container .th-featured {
    background: linear-gradient(135deg, #fff9f6 0%, #fdeef1 100%);
    border: 1px solid var(--th-line);
    border-radius: 18px;
    box-shadow: var(--th-shadow-soft);
}

.tree-hole-container .th-featured-head {
    color: var(--th-rose);
    font-family: var(--th-serif);
    letter-spacing: 0.04em;
}

.tree-hole-container .th-featured-card {
    background: #fffdfb;
    border: 1px solid var(--th-line);
    border-radius: 14px;
    box-shadow: none;
}

.tree-hole-container .th-featured-card:hover {
    border-color: var(--th-rose-soft);
    box-shadow: var(--th-shadow-soft);
    transform: translateY(-2px);
}

.tree-hole-container .th-featured-avatar {
    background: linear-gradient(135deg, #d94f6a 0%, #e8738a 100%);
}

.tree-hole-container .th-featured-text {
    color: var(--th-ink);
}

.tree-hole-container .th-featured-meta {
    color: var(--th-rose);
}

/* ===== 树洞卡片（保持瀑布流列数与排布） ===== */
.tree-hole-container .tree-hole-card {
    background: var(--th-card);
    border: 1px solid var(--th-line);
    border-radius: 20px;
    box-shadow: var(--th-shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tree-hole-container .tree-hole-card:hover {
    transform: translateY(-3px);
    border-color: var(--th-line-strong);
    box-shadow: var(--th-shadow-card);
}

.tree-hole-container .tree-hole-card.th-anon {
    background: linear-gradient(150deg, #fffdfb 0%, #fff7f8 100%);
    border-left: 3px solid var(--th-rose-soft);
}

.tree-hole-container .tree-hole-card.th-anon .tree-hole-avatar {
    background-image: linear-gradient(135deg, #f4b7c4 0%, #d94f6a 100%);
}

/* 随机阅读等动态生成的匿名文字头像（内联红底） */
.tree-hole-container .tree-hole-avatar[style] {
    background-image: linear-gradient(135deg, #d94f6a 0%, #e8738a 100%) !important;
    color: #fff;
}

.tree-hole-container .tree-hole-avatar {
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(140, 74, 90, 0.12);
}

.tree-hole-container .tree-hole-meta {
    color: var(--th-faint);
    font-size: 0.82rem;
}

.tree-hole-container .tree-hole-username {
    color: var(--th-ink);
    font-weight: 600;
}

.tree-hole-container .anonymous-badge {
    background: var(--th-blush);
    color: var(--th-rose);
    border: 1px solid var(--th-line-strong);
    border-radius: 999px;
    padding: 0.14rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.tree-hole-container .th-tag {
    background: var(--th-blush);
    color: var(--th-rose);
    border: 1px solid var(--th-line);
    border-radius: 999px;
    font-size: 0.72rem;
}

.tree-hole-container .top-badge {
    background: var(--th-blush);
    color: var(--th-rose-dark);
    border: 1px solid var(--th-line-strong);
    border-radius: 999px;
    box-shadow: none;
    font-weight: 600;
}

.tree-hole-container .tree-hole-content,
.tree-hole-container .th-content {
    color: #43363a;
    font-size: 0.95rem;
    line-height: 1.85;
}

.tree-hole-container .th-toggle {
    color: var(--th-rose);
}

.tree-hole-container .th-toggle:hover {
    color: var(--th-rose-dark);
}

/* 操作栏 */
.tree-hole-container .tree-hole-actions {
    gap: 1.2rem;
    border-top: 1px solid var(--th-line);
}

.tree-hole-container .action-btn {
    color: var(--th-muted);
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.tree-hole-container .action-btn:hover {
    color: var(--th-rose);
}

.tree-hole-container .action-btn.liked {
    color: var(--th-rose);
}

/* ===== 加密树洞 ===== */
.tree-hole-container .th-locked-box {
    background: linear-gradient(135deg, #fffdfb 0%, #fdeef1 100%);
    border: 1px dashed var(--th-line-strong);
    border-radius: 18px;
}

.tree-hole-container .th-locked-icon {
    background: var(--th-blush);
    color: var(--th-rose);
}

.tree-hole-container .th-locked-title {
    color: var(--th-ink);
}

.tree-hole-container .th-locked-desc {
    color: var(--th-faint);
}

.tree-hole-container .th-unlock-form input[type="password"] {
    border: 1px solid var(--th-line-strong);
    background: #fff;
    color: var(--th-ink);
}

.tree-hole-container .th-unlock-form input[type="password"]:focus {
    outline: none;
    border-color: var(--th-rose);
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10);
}

.tree-hole-container .th-unlock-form button {
    background: var(--th-rose);
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(217, 79, 106, 0.20);
}

.tree-hole-container .th-unlock-form button:hover {
    background: var(--th-rose-dark);
}

.tree-hole-container .th-unlock-error {
    color: #b03040;
}

/* ===== 评论区 ===== */
.tree-hole-container .comments-section {
    background: linear-gradient(160deg, #fffdfb 0%, #fff7f8 100%);
    border: 1px solid var(--th-line);
    border-radius: 16px;
    padding: 1.3rem;
}

.tree-hole-container .comments-title {
    color: var(--th-ink);
    font-family: var(--th-serif);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

.tree-hole-container .comments-title > i {
    color: var(--th-rose);
}

.tree-hole-container .comment-sort label {
    color: var(--th-faint) !important;
}

.tree-hole-container .comment-sort select {
    border: 1px solid var(--th-line-strong) !important;
    background: #fff !important;
    color: var(--th-muted) !important;
    border-radius: 999px !important;
    padding: 0.2rem 0.6rem !important;
}

.tree-hole-container .comment-item {
    background: #fffdfb;
    border: 1px solid var(--th-line);
    border-radius: 14px;
    box-shadow: none;
}

.tree-hole-container .comment-header {
    color: var(--th-faint);
}

.tree-hole-container .comment-username {
    color: var(--th-ink);
    font-weight: 600;
}

.tree-hole-container .comment-content {
    color: #43363a;
}

.tree-hole-container .comment-footer,
.tree-hole-container .comment-time {
    color: var(--th-faint);
}

.tree-hole-container .comments-list .comment-avatar {
    background-image: linear-gradient(135deg, #d94f6a 0%, #e8738a 100%) !important;
    color: #fff;
    border: 2px solid #fff;
}

.tree-hole-container .comment-reply {
    background: #fff9f6;
    border-left: 2px solid var(--th-line-strong);
}

.tree-hole-container .comment-reply .comment-header::before {
    color: var(--th-rose);
}

.tree-hole-container .comment-reply-btn,
.tree-hole-container .reply-btn {
    color: var(--th-muted) !important;
}

.tree-hole-container .comment-reply-btn:hover,
.tree-hole-container .reply-btn:hover {
    color: var(--th-rose) !important;
}

.tree-hole-container .comment-reply-form,
.tree-hole-container .reply-form {
    background: var(--th-blush) !important;
    border-left: 3px solid var(--th-rose-soft) !important;
    border-radius: 12px !important;
}

.tree-hole-container .reply-form h4 {
    color: var(--th-ink) !important;
    font-family: var(--th-serif);
}

.tree-hole-container .reply-form textarea {
    border: 1px solid var(--th-line-strong) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--th-ink) !important;
}

.tree-hole-container .reply-form textarea:focus {
    outline: none;
    border-color: var(--th-rose) !important;
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10) !important;
}

.tree-hole-container .reply-form button[type="button"] {
    background-color: #fff !important;
    color: var(--th-muted) !important;
    border: 1px solid var(--th-line-strong) !important;
    border-radius: 999px !important;
}

.tree-hole-container .reply-form button[type="button"]:hover {
    background-color: var(--th-blush) !important;
    color: var(--th-rose-dark) !important;
    border-color: var(--th-rose-soft) !important;
}

.tree-hole-container .comments-section > div[style] {
    background: #fff9f6 !important;
    border: 1px dashed var(--th-line-strong);
    border-radius: 12px !important;
    color: var(--th-muted);
}

.tree-hole-container .comments-section a {
    color: var(--th-rose) !important;
}

/* 评论表单 */
.tree-hole-container .comment-form {
    background: #fffdfb;
    border: 1px solid var(--th-line);
    border-radius: 16px;
    box-shadow: none;
}

.tree-hole-container .form-group label {
    color: var(--th-ink);
}

.tree-hole-container .form-group textarea {
    background: #fff;
    border: 1px solid var(--th-line-strong);
    border-radius: 12px;
    color: var(--th-ink);
}

.tree-hole-container .form-group textarea::placeholder {
    color: #c3b1b6;
}

.tree-hole-container .form-group textarea:focus {
    border-color: var(--th-rose);
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10);
}

.tree-hole-container .form-options label {
    color: var(--th-muted);
}

.tree-hole-container .form-options input[type="checkbox"] {
    accent-color: var(--th-rose);
}

/* ===== 图片 / 语音 ===== */
.tree-hole-container .th-gallery .media-item {
    border-radius: 10px;
    background: var(--th-blush);
}

.tree-hole-container .media-item.voice-item {
    background: linear-gradient(135deg, #fffdfb 0%, #fdeef1 100%);
    border: 1px solid var(--th-line-strong);
    border-radius: 16px;
    box-shadow: var(--th-shadow-soft);
}

.tree-hole-container .media-item.voice-item:hover {
    border-color: var(--th-rose-soft);
    box-shadow: var(--th-shadow-card);
}

.tree-hole-container .media-item.voice-item .voice-label {
    color: var(--th-rose);
}

.tree-hole-container .media-item.voice-item .voice-label-icon {
    background: linear-gradient(135deg, #d94f6a 0%, #e8738a 100%);
    box-shadow: 0 2px 6px rgba(217, 79, 106, 0.26);
}

.tree-hole-container .media-item.voice-item .voice-tag {
    background: linear-gradient(135deg, #d94f6a 0%, #e8738a 100%);
}

/* ===== 空状态 ===== */
.tree-hole-container .empty-state {
    background: var(--th-card);
    border: 1px dashed var(--th-line-strong);
    border-radius: 20px;
    color: var(--th-muted);
}

.tree-hole-container .empty-state h3 {
    color: var(--th-ink);
    font-family: var(--th-serif);
}

.tree-hole-container .empty-state i {
    color: var(--th-rose-soft);
}

/* ===== 分页 ===== */
.tree-hole-container .pagination-btn {
    border: 1px solid var(--th-line-strong) !important;
    background: #fffdfb !important;
    color: var(--th-muted) !important;
    border-radius: 999px !important;
    font-size: 0.85rem;
    box-shadow: none;
}

.tree-hole-container .pagination-btn:hover {
    background: var(--th-blush) !important;
    border-color: var(--th-rose-soft) !important;
    color: var(--th-rose) !important;
}

.tree-hole-container .pagination-btn.active {
    background: var(--th-rose) !important;
    border-color: var(--th-rose) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(217, 79, 106, 0.20);
}

.tree-hole-container .pagination-btn.active:hover {
    background: var(--th-rose-dark) !important;
    border-color: var(--th-rose-dark) !important;
    color: #fff !important;
}

.tree-hole-container .pagination-info {
    color: var(--th-faint) !important;
}

/* ===== 随机阅读 ===== */
.tree-hole-container #random-loading i {
    color: var(--th-rose) !important;
}

.tree-hole-container #random-loading p,
.tree-hole-container #random-mode-container p {
    color: var(--th-faint) !important;
}

.tree-hole-container #random-mode-container .btn-primary {
    background-color: var(--th-rose) !important;
    background-image: linear-gradient(135deg, #d94f6a 0%, #c8435f 100%) !important;
    border-radius: 999px !important;
}

/* ===== 右下角快捷发帖 ===== */
.th-fab {
    background: linear-gradient(135deg, #d94f6a 0%, #b93a55 100%);
    box-shadow: 0 10px 26px rgba(140, 74, 90, 0.30);
}

.th-fab:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 32px rgba(140, 74, 90, 0.36);
}

.th-fab-mask.show {
    background: rgba(51, 39, 43, 0.42);
}

.th-fab-drawer {
    background: var(--th-card, #fffdfb);
    border-top: 1px solid var(--th-line, #f0dfe3);
    box-shadow: 0 -10px 36px rgba(140, 74, 90, 0.16);
}

.th-fab-head h3 {
    color: var(--th-ink, #33272b);
    font-family: var(--th-serif, serif);
    letter-spacing: 0.04em;
}

.th-fab-close {
    color: var(--th-faint, #b3a0a6);
}

.th-fab-close:hover {
    color: var(--th-rose, #d94f6a);
}

.th-fab-body textarea {
    border: 1px solid var(--th-line-strong, #e6cdd3);
    border-radius: 14px;
    background: #fff;
    color: var(--th-ink, #33272b);
}

.th-fab-body textarea::placeholder {
    color: #c3b1b6;
}

.th-fab-body textarea:focus {
    outline: none;
    border-color: var(--th-rose, #d94f6a);
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10);
}

.th-fab-body input[type="password"] {
    border: 1px solid var(--th-line-strong, #e6cdd3) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--th-ink, #33272b) !important;
}

.th-fab-body input[type="password"]:focus {
    outline: none !important;
    border-color: var(--th-rose, #d94f6a) !important;
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10) !important;
}

.th-fab-tags-label {
    color: var(--th-faint, #b3a0a6);
}

.th-fab-tag-btn {
    border: 1px solid var(--th-line-strong, #e6cdd3);
    background: #fff;
    color: var(--th-muted, #8b767d);
    border-radius: 999px;
}

.th-fab-tag-btn:hover {
    border-color: var(--th-rose-soft, #f4b7c4);
    color: var(--th-rose, #d94f6a);
}

.th-fab-tag-btn.active {
    background: var(--th-rose, #d94f6a);
    border-color: var(--th-rose, #d94f6a);
    color: #fff;
}

.th-fab-options label {
    color: var(--th-muted, #8b767d);
}

.th-fab-options input[type="checkbox"] {
    accent-color: var(--th-rose, #d94f6a);
}

.th-count {
    color: var(--th-faint, #b3a0a6);
}

.th-fab-submit {
    background: linear-gradient(135deg, #d94f6a 0%, #b93a55 100%);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(217, 79, 106, 0.26);
}

.th-fab-submit:hover {
    box-shadow: 0 12px 26px rgba(185, 58, 85, 0.32);
}

.th-fab-clear-draft {
    color: var(--th-faint, #b3a0a6);
}

.th-fab-clear-draft:hover {
    color: var(--th-rose, #d94f6a);
}

.th-fab-body > p a {
    color: var(--th-rose, #d94f6a) !important;
}

/* ===== 举报弹窗 ===== */
body:has(.tree-hole-container) #reportModal {
    background-color: rgba(51, 39, 43, 0.46) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

body:has(.tree-hole-container) .report-modal-content {
    background-color: var(--th-card, #fffdfb) !important;
    border: 1px solid var(--th-line, #f0dfe3);
    border-radius: 22px !important;
    box-shadow: 0 30px 70px rgba(45, 20, 30, 0.28) !important;
}

body:has(.tree-hole-container) .report-modal-content h2 {
    color: var(--th-ink, #33272b) !important;
    font-family: var(--th-serif, serif);
    letter-spacing: 0.04em;
}

body:has(.tree-hole-container) .report-modal-content h2 i {
    color: var(--th-rose, #d94f6a) !important;
}

body:has(.tree-hole-container) .report-close {
    color: var(--th-faint, #b3a0a6) !important;
}

body:has(.tree-hole-container) .report-close:hover,
body:has(.tree-hole-container) .report-close:focus {
    color: var(--th-rose, #d94f6a) !important;
}

body:has(.tree-hole-container) #reportModal label {
    color: var(--th-ink, #33272b) !important;
}

body:has(.tree-hole-container) #reportModal select,
body:has(.tree-hole-container) #reportModal textarea,
body:has(.tree-hole-container) #reportModal input[type="number"] {
    border: 1px solid var(--th-line-strong, #e6cdd3) !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    color: var(--th-ink, #33272b) !important;
}

body:has(.tree-hole-container) #reportModal select:focus,
body:has(.tree-hole-container) #reportModal textarea:focus,
body:has(.tree-hole-container) #reportModal input[type="number"]:focus {
    outline: none !important;
    border-color: var(--th-rose, #d94f6a) !important;
    box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.10) !important;
}

body:has(.tree-hole-container) #reportModal select option {
    background-color: #fff;
    color: var(--th-ink, #33272b);
}

body:has(.tree-hole-container) #reportModal #captchaQuestion {
    background-color: var(--th-blush, #fdeef1) !important;
    color: var(--th-ink, #33272b) !important;
    border-radius: 12px !important;
}

body:has(.tree-hole-container) #reportModal #refreshCaptcha {
    background-color: var(--th-blush, #fdeef1) !important;
    color: var(--th-rose, #d94f6a) !important;
    border: 1px solid var(--th-line-strong, #e6cdd3) !important;
    border-radius: 12px !important;
}

body:has(.tree-hole-container) #reportModal #refreshCaptcha:hover {
    background-color: var(--th-blush-deep, #f9dde4) !important;
}

body:has(.tree-hole-container) #reportModal #captchaError {
    color: var(--th-rose-dark, #b93a55) !important;
}

body:has(.tree-hole-container) #reportModal .report-modal-content > form > div:last-child button[type="button"] {
    background-color: #fff !important;
    color: var(--th-muted, #8b767d) !important;
    border: 1px solid var(--th-line-strong, #e6cdd3) !important;
    border-radius: 999px !important;
}

body:has(.tree-hole-container) #reportModal .report-modal-content > form > div:last-child button[type="button"]:hover {
    background-color: var(--th-blush, #fdeef1) !important;
    color: var(--th-rose-dark, #b93a55) !important;
    border-color: var(--th-rose-soft, #f4b7c4) !important;
}

body:has(.tree-hole-container) #reportModal .report-modal-content .btn-primary {
    background-color: var(--th-rose, #d94f6a) !important;
    background-image: linear-gradient(135deg, #d94f6a 0%, #c8435f 100%) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(217, 79, 106, 0.22) !important;
}

/* ===== 移动端：单列、无横向溢出 ===== */
@media (max-width: 768px) {
    .tree-hole-container {
        margin: 1.2rem auto;
        padding: 0 0.8rem;
    }

    .tree-hole-container .tree-hole-header {
        padding: 1.2rem 1rem;
        border-radius: 18px;
    }

    .tree-hole-container .tree-hole-card {
        padding: 1.1rem 1rem;
        border-radius: 16px;
    }

    .tree-hole-container .tree-hole-actions {
        gap: 0.9rem;
        flex-wrap: wrap;
    }

    .tree-hole-container .comments-section {
        padding: 1rem;
    }

    .th-fab {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .th-fab-drawer {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .tree-hole-container .th-tag-tab {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(.tree-hole-container) .tree-hole-card,
    body:has(.tree-hole-container) .th-fab,
    body:has(.tree-hole-container) .btn-primary {
        transition-duration: 0.001ms !important;
    }
}
