#pagesfile-showcase-interaction-root {
    all: initial;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483640;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

#pagesfile-showcase-interaction-root, #pagesfile-showcase-interaction-root * {
    box-sizing: border-box;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn {
    position: fixed;
    right: 24px;
    bottom: 74px;
    z-index: 2147483640;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    font-size: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-icon {
    width: 18px;
    height: 18px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21%2015a4%204%200%200%201-4%204H8l-5%203V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204z%27/%3E%3C/svg%3E");
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
    background-color: rgba(30, 41, 59, 0.92);
    border-color: rgba(148, 163, 184, 0.38);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-panel {
    position: fixed;
    right: 24px;
    bottom: 134px;
    width: 360px;
    max-height: 520px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2147483641;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-panel.pagesfile-showcase-interaction-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #0f172a, #1f2937);
    color: #e5e7eb;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-title {
    font-size: 14px;
    font-weight: 600;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-count {
    font-size: 12px;
    color: #f9fafb;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon {
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af;
    opacity: 0.7;
    transition: transform 0.15s ease, filter 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon.pagesfile-showcase-interaction-active {
    color: #f97316;
    opacity: 1;
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 0 6px rgba(248, 250, 252, 0.8));
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon:not(.pagesfile-showcase-interaction-active):hover {
    color: #facc15;
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon.pagesfile-showcase-interaction-preview:not(.pagesfile-showcase-interaction-active) {
    color: #facc15;
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-close-btn {
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
    font-size: 18px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    min-height: 0;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list {
    padding: 8px 12px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list:hover {
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list::-webkit-scrollbar-button {
    display: none;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 99px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 99px;
    transition: background-color 0.2s;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list:hover::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-load-more {
    display: none;
    padding: 4px 0 10px;
    font-size: 12px;
    line-height: 1;
    color: #2563eb;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-load-more.pagesfile-showcase-interaction-visible {
    display: block;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-load-more:hover {
    color: #1d4ed8;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(107, 114, 128, 0.8);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-empty {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    padding: 24px 16px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-login-tip {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    padding: 8px 4px 0;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-login-link {
    color: #2563eb;
    text-decoration: none;
    margin-left: 6px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-login-link:hover {
    text-decoration: none;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-main {
    flex: 1;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-user-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-name {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-meta {
    font-size: 11px;
    color: #9ca3af;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-status-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid #eab308;
    color: #854d0e;
    background-color: #fef9c3;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-content {
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 8px 10px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-actions {
    margin-top: 4px;
    font-size: 11px;
    color: #6b7280;
    display: flex;
    gap: 12px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-reply-link {
    cursor: pointer;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-reply-link:hover {
    color: #2563eb;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-footer {
    border-top: 1px solid #e5e7eb;
    padding: 8px 10px 10px;
    background-color: #f9fafb;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-toast {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(17, 24, 39, 0.94);
    color: #f9fafb;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
    max-width: 260px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-input-wrapper {
    display: flex;
    gap: 6px;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-send-btn {
    border-radius: 4px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    padding: 0 16px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-send-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-0.5px);
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-send-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-replying-tip {
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-cancel-reply {
    cursor: pointer;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-goto-reply {
    cursor: pointer;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-cancel-reply:hover {
    color: #2563eb;
}

#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-goto-reply:hover {
    color: #2563eb;
}

/* 评论组件专属的首页同系霓虹视觉。 */
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn {
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    background: linear-gradient(130deg, #178dcc, #5967dc 65%, #8757c7);
    box-shadow: 0 8px 24px rgba(44, 77, 173, .28), inset 0 1px rgba(255, 255, 255, .35);
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn:hover {
    background: linear-gradient(130deg, #087eaf, #4856c5 65%, #794eb6);
    box-shadow: 0 12px 28px rgba(44, 77, 173, .34);
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-panel {
    border: 1px solid rgba(102, 119, 209, .23);
    border-radius: 8px;
    background: #f8faff;
    box-shadow: 0 22px 50px rgba(20, 32, 78, .24), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-header {
    position: relative;
    border-bottom: 0;
    background: #111936;
    color: #f6f8ff;
    gap: 8px;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #7264f2 58%, #f168a8);
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-title { font-weight: 700; color: #fff; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-header-right { min-width: 0; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-count { color: #b8d7f3; white-space: nowrap; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon { color: #9babd3; opacity: 1; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon.pagesfile-showcase-interaction-active,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon.pagesfile-showcase-interaction-preview:not(.pagesfile-showcase-interaction-active),
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon:not(.pagesfile-showcase-interaction-active):hover {
    color: #f6bb55;
    filter: drop-shadow(0 0 5px rgba(246, 187, 85, .5));
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-close-btn { color: #d5ddf8; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-close-btn:hover { color: #fff; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-body { background: #f4f7fe; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-content {
    border: 1px solid rgba(102, 119, 209, .12);
    border-radius: 6px;
    color: #263456;
    box-shadow: 0 3px 10px rgba(51, 72, 140, .05);
    overflow-wrap: anywhere;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-name { color: #182653; font-weight: 700; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-meta,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-actions { color: #637398; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-load-more,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-login-link,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-reply-link:hover,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-cancel-reply:hover,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-goto-reply:hover { color: #4a58c1; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-footer {
    border-top: 1px solid rgba(102, 119, 209, .15);
    background: #fff;
    padding: 12px;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-input {
    min-width: 0;
    border-radius: 6px;
    border-color: #cbd4ea;
    background: #f8faff;
    color: #182653;
    padding: 9px 10px;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-input:focus,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-captcha-input:focus {
    outline: none;
    border-color: #596bdf;
    box-shadow: 0 0 0 3px rgba(90, 107, 255, .15);
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-captcha-wrapper { display: flex; align-items: center; min-width: 0; gap: 8px; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-captcha-input {
    width: 80px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #cbd4ea;
    border-radius: 6px;
    background: #f8faff;
    color: #182653;
    font-size: 13px;
    font-family: inherit;
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-captcha-img { height: 32px; border-radius: 4px; cursor: pointer; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-send-btn {
    height: 32px;
    border-radius: 6px;
    background: #5564d2;
    box-shadow: 0 3px 10px rgba(72, 89, 192, .2);
}
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-send-btn:hover { background: #3c4db1; }
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn:focus-visible,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-close-btn:focus-visible,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-send-btn:focus-visible,
#pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon:focus-visible { outline: 2px solid #0ea5e9; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    #pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn,
    #pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-panel,
    #pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-flower-icon { transition: none; }
}

@media (max-width: 640px) {
    #pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-floating-btn {
        right: 16px;
        bottom: 66px;
        width: 44px;
        height: 44px;
    }

    #pagesfile-showcase-interaction-root .pagesfile-showcase-interaction-panel {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: 122px;
        max-height: 70vh;
    }
}
