@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.gradient-bg {
    background: linear-gradient(135deg, #FF6A00 0%, #FF9A4D 100%);
}
.gradient-text {
    background: linear-gradient(135deg, #FF6A00 0%, #FF9A4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.smooth-appear {
    animation: smoothAppear 0.5s ease-out;
}
@keyframes smoothAppear {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.btn-primary {
    background-color: #FF6A00;
    color: white;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #E55F00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}
.time-btn-month {
    background-color: #5B21B6;
    color: #FFFFFF;
}
.time-btn-month:hover {
    background-color: #4C1D95;
}

.btn-outline {
    border: 1px solid #FF6A00;
    color: #FF6A00;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: #FF6A00;
    color: white;
    transform: translateY(-1px);
}

.input-field {
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
    outline: none;
}

.input-field:focus {
    border-color: #FF6A00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.input-error {
    border-color: #F53F3F;
    box-shadow: 0 0 0 3px rgba(245, 63, 63, 0.1);
}

.tab-active {
    background-color: #FF6A00;
    color: white;
}

select.input-field {
    outline: none;
    border: 1px solid #E5E7EB;
}

select.input-field:focus {
    border-color: #FF6A00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

select.input-field option {
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-top: none;
    background: white;
}

.auth-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/登录页.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
    font-size: 1.25rem;
}

.nav-shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.content-card {
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* 工具小卡片 */
.tool-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    background: #FFFFFF;
    background-image: repeating-linear-gradient(-45deg, rgba(255,106,0,0.035) 0, rgba(255,106,0,0.035) 2px, transparent 2px, transparent 8px);
}
.tool-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.35); border-color: #E2E8F0; background-color: #FAFBFC; }
.tool-logo {
    width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(180deg,#FFF5EB, #FFE8D3); display:flex; align-items:center; justify-content:center; border: 1px solid #FDEAD7; overflow:hidden;
}
.tool-logo img { width: 70%; height: 70%; object-fit: contain; }
.tool-title { font-size: 18px; font-weight: 700; color: #1F2937; line-height: 1.25; }
.tool-divider { height: 2px; width: 100%; background: #E5E7EB; margin-top: 16px; margin-bottom: 12px; }
.tool-tag { font-size: 13px !important; padding: 4px 10px; border-radius: 9999px; background: #F7F7F9; color: #374151; border: 1px solid #E5E7EB; font-weight: 500; }
.tool-tags { display:flex; justify-content:center; align-items:center; gap: 10px; }
.tool-tip { transition: all .18s ease; color: #FF6A00; }

.channel-btn {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
    cursor: pointer;
}

.channel-btn:hover, .channel-btn.active {
    border-color: #FF6A00;
    background-color: rgba(255, 106, 0, 0.05);
    color: #FF6A00;
}

.tag {
    display: inline-block;
    background-color: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid rgba(255, 106, 0, 0.2);
    font-weight: 500;
}

.stat-card {
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.avatar {
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.search-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.search-input {
    margin-left: 1rem;
    flex-grow: 1;
    max-width: 300px;
}
#search-results {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#search-results::-webkit-scrollbar {
    width: 4px;
}

#search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

#search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}
#search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

#search-results:hover {
    scrollbar-color: #a8a8a8 #f1f1f1;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dock {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 15px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    width: 70px;
}

.dock-item {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.dock-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 106, 0, 0.1);
}

.dock-item.active {
    background-color: rgba(255, 106, 0, 0.2);
    color: #FF6A00;
}

.dock-item i {
    font-size: 20px;
}

.dock-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.dock-item:hover .dock-tooltip {
    opacity: 1;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #F53F3F;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.message-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 15px 0;
    cursor: pointer;
    background-color: white;
    color: #1D2129;
    transition: background-color 0.2s;
    position: relative;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item.unread {
    background-color: rgba(255, 106, 0, 0.05);
}

.message-item.active {
    background-color: rgba(255, 106, 0, 0.1);
}
.message-content {
    max-height: 60px;
    overflow: hidden;
}
.read-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
}

.read-status.unread {
    background-color: #F53F3F;
    color: white;
}

.read-status.read {
    background-color: #E5E7EB;
    color: #6B7280;
}

.channel-selector {
    display: flex;
    gap: 28px;
    padding: 24px 0;
    margin-bottom: 24px;
    justify-content: center;
    border-bottom: 1px solid #E5E7EB;
    flex-wrap: wrap;
}
.channel-icon {
    position: relative;
    min-width: 88px;
    padding: 16px 18px 14px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6B7280;
}
.channel-icon i {
    font-size: 28px;
    transition: transform 0.2s ease;
}
.channel-icon:hover {
    color: #FF6A00;
    transform: translateY(-2px);
}
.channel-icon:hover i {
    transform: scale(1.05);
}
.channel-icon.active {
    color: #FF6A00;
    background-color: rgba(255, 106, 0, 0.12);
    box-shadow: 0 8px 16px -10px rgba(255, 106, 0, 0.45);
}
.channel-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
}
.channel-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #F53F3F;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}
.chat-container {
    display: flex;
    flex-direction: column;
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background-color: #F5F7FA;
}

.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.message-bubble.user {
    align-self: flex-start;
    background-color: white;
    border-bottom-left-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-bubble.assistant {
    align-self: flex-end;
    background-color: #95EC69;
    border-bottom-right-radius: 5px;
}
.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #FF6A00;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 8px;
}

.message-info {
    display: flex;
    flex-direction: column;
}

.message-sender {
    font-weight: 600;
    font-size: 14px;
}

.message-time {
    font-size: 12px;
    color: #999;
}

 .message-bubble.user .message-header {
    flex-direction: row;
}

.message-bubble.user .message-info {
    flex-direction: row;
    align-items: center;
}

.message-bubble.user .message-sender {
    margin-right: 10px;
}

.message-bubble.assistant .message-header {
    flex-direction: row-reverse;
}

.message-bubble.assistant .message-avatar {
    margin-right: 0;
    margin-left: 8px;
}
.message-bubble.assistant .message-info {
    flex-direction: row-reverse;
    align-items: center;
}

.message-bubble.assistant .message-sender {
    margin-right: 0;
    margin-left: 10px;
}
       
.message-input-container {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    outline: none;
    resize: none;
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
}

.message-input:focus {
    border-color: #FF6A00;
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.2);
}
.send-button {
    margin-left: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FF6A00;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.send-button:hover {
    background-color: #E55F00;
}
.send-button i {
    font-size: 16px;
}

.custom-alert {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}

.custom-alert.hidden {
    display: none;
}

.custom-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.custom-alert-panel {
    position: relative;
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    padding: 24px 22px 20px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    text-align: center;
    z-index: 1;
}

.custom-alert-message {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 16px;
    line-height: 1.5;
}

.custom-alert-qr {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 18px;
    display: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.custom-alert-qr.visible {
    display: block;
}

.custom-alert-close {
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    background: #f97316;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-alert-close:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.message-board-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1100;
}

.message-board-modal.hidden {
    display: none;
}

.message-board-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.message-board-container {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.message-board-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(226, 232, 240, 0.8);
    color: #1f2937;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.message-board-close:hover {
    transform: rotate(90deg);
    background: rgba(226, 232, 240, 1);
}
.message-board-content {
    position: relative;
    padding: 32px 36px 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.message-board-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.message-board-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.message-board-highlight {
    margin-bottom: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 244, 231, 0.95), rgba(255, 247, 237, 0.9));
    border: 1px solid rgba(255, 196, 145, 0.35);
    text-align: center;
}

.message-board-highlight-text {
    font-size: 16px;
    color: #b45309;
    font-weight: 600;
    margin-bottom: 14px;
}

.message-board-highlight img {
    width: 200px;
    max-width: 80%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(253, 186, 116, 0.45);
    border: 4px solid rgba(255, 255, 255, 0.85);
}

.message-board-editor {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 0;
    border-radius: 18px;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-board-input {
    width: 100%;
    min-height: 60px;
    resize: none;
    border: none;
    background: transparent;
    font-size: 14px;
    line-height: 1.55;
    color: #111827;
    outline: none;
    padding: 14px 16px;
}

.message-board-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
}

.message-board-counter {
    font-size: 13px;
    color: #6b7280;
}

.message-board-feedback {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

.message-board-feedback.is-success {
    color: #047857;
}

.message-board-feedback.is-error {
    color: #dc2626;
}

.message-board-submit {
    padding: 10px 22px;
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    background: linear-gradient(90deg, #FF6A00 0%, #FF8A3D 100%);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.message-board-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 106, 0, 0.3);
}

.message-board-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.message-board-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 9999px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-refresh:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.message-board-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
    scrollbar-width: thin;
}

.message-board-list::-webkit-scrollbar {
    width: 6px;
}

.message-board-list::-webkit-scrollbar-track {
    background: transparent;
}

.message-board-list::-webkit-scrollbar-thumb {
    background: rgba(209, 213, 219, 0.7);
    border-radius: 9999px;
}

.message-board-item {
    padding: 18px 20px;
    border-radius: 16px;
    background: #fffdfb;
    border: 1px solid rgba(249, 115, 22, 0.24);
    box-shadow: none;
    transition: none;
}

.message-board-item:hover {
    transform: none;
    box-shadow: none;
}

.message-board-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(249, 115, 22, 0.24);
    background: rgba(255, 250, 245, 0.95);
    color: #c2410c;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: none;
}

.message-board-like:hover {
    transform: none;
    box-shadow: none;
}

.message-board-like.liked {
    background: rgba(249, 115, 22, 0.2);
    color: #b45309;
    border-color: rgba(249, 115, 22, 0.35);
}

.message-board-empty {
    padding: 48px 20px;
    text-align: center;
    font-size: 15px;
    color: #9ca3af;
}

.message-board-pagination {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.message-board-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.message-board-pagination button {
    border: none;
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-prev,
.message-board-next {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.message-board-prev:disabled,
.message-board-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.message-board-prev:not(:disabled):hover,
.message-board-next:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
}

.message-board-page-info {
    font-size: 14px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.message-board-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.message-board-jump input {
    width: 70px;
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    text-align: center;
    font-size: 14px;
}

.message-board-jump button {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    color: #fff;
}
.message-board-jump button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.25);
}

/* --- 留言板独立页面样式覆盖 --- */
.message-board-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: calc(100vh - 230px);
}
.message-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.message-board-card {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92));
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.message-board-card:hover {
    transform: none;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    border-color: rgba(203, 213, 225, 0.8);
}

.message-board-card.message-board-info,
.message-board-card.message-board-compose {
    padding: 20px 22px;
}

.message-board-description {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
}

.message-board-info-block {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.message-board-info-media {
    width: 100%;
    display: flex;
    justify-content: center;
}

.message-board-qr {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: none;
}

.message-board-note {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.message-board-compose-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

.message-board-input-wrapper {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f9fafb;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.message-board-input-wrapper:focus-within {
    border-color: rgba(255, 106, 0, 0.35);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.08);
}

.message-board-send {
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: linear-gradient(135deg, #FF6A00, #FF8A3D);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 106, 0, 0.28);
}

.message-board-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.message-board-toolbar {
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.message-board-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 9999px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-refresh:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.message-board-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 6px;
    min-height: 0;
}

.message-board-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.message-board-stats {
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.message-board-list {
    gap: 12px;
    padding-right: 6px;
    margin-right: -6px;
    min-height: 0;
}

.message-board-empty {
    padding: 40px 0;
    font-size: 14px;
    color: #9ca3af;
}

.message-board-item {
    padding: 18px 20px;
    border-radius: 16px;
    background: #fffdfb;
    border: 1px solid rgba(249, 115, 22, 0.24);
    box-shadow: none;
    transition: none;
}

.message-board-item:hover {
    transform: none;
    box-shadow: none;
}

.message-board-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.message-board-item-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.message-board-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.message-board-item-name.self {
    color: #ff6a00;
}

.message-board-item-meta {
    font-size: 12px;
    color: #9ca3af;
    display: inline-block;
}

.message-board-item-content {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #1f2937;
    white-space: pre-wrap;
}

.message-board-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(249, 115, 22, 0.24);
    background: rgba(255, 250, 245, 0.95);
    color: #c2410c;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: none;
}

.message-board-like:hover {
    transform: none;
    box-shadow: none;
}

.message-board-like.liked {
    background: rgba(249, 115, 22, 0.2);
    color: #b45309;
    border-color: rgba(249, 115, 22, 0.35);
}

.message-board-reply {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: #1d4ed8;
    line-height: 1.55;
    white-space: pre-wrap;
}

.message-board-reply-time {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: rgba(37, 99, 235, 0.7);
}

.message-board-pagination {
    margin-top: 12px;
    padding-top: 14px;
    gap: 12px;
}

.message-board-nav {
    gap: 10px;
}

.message-board-pagination button {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.message-board-page-info {
    font-size: 13px;
    color: #4b5563;
}

.message-board-jump {
    gap: 10px;
    font-size: 13px;
}

.message-board-jump input {
    width: 70px;
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    text-align: center;
}

.message-board-jump button {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #ffffff;
}

.message-board-jump button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.24);
}

@media (max-width: 1024px) {
    .message-board-page {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .message-board-container {
        max-width: 100%;
        max-height: 92vh;
    }

    .message-board-content {
        padding: 24px 20px;
    }

    .message-board-highlight img {
        width: 160px;
    }

    .message-board-toolbar {
        justify-content: space-between;
    }

    .message-board-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .message-board-jump {
        justify-content: center;
    }
}

/* 留言板独立页面布局 */
.message-board-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: calc(100vh - 220px);
}

.message-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.message-board-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-card.message-board-info,
.message-board-card.message-board-compose {
    padding: 18px 20px;
}

.message-board-card:hover {
    transform: none;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    border-color: rgba(203, 213, 225, 0.8);
}

.message-board-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.message-board-description {
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.message-board-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.message-board-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.message-board-input-wrapper {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f9fafb;
    overflow: hidden;
}

.message-board-input-wrapper:focus-within {
    border-color: rgba(255, 106, 0, 0.35);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.08);
}

.message-board-input {
    flex: 1;
    min-height: 90px;
    resize: none;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #111827;
    outline: none;
}

.message-board-send {
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: linear-gradient(135deg, #ff6a00, #ff8a3d);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 106, 0, 0.3);
}

.message-board-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.message-board-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #6b7280;
}

.message-board-feedback {
    font-size: 13px;
    min-height: 18px;
    color: #6b7280;
}

.message-board-feedback.is-success {
    color: #047857;
}

.message-board-feedback.is-error {
    color: #dc2626;
}

.message-board-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.message-board-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 9999px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-refresh:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.message-board-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.message-board-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.message-board-stats {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.message-board-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
    margin-right: -6px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-board-list::-webkit-scrollbar {
    width: 6px;
}

.message-board-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 9999px;
}

.message-board-empty {
    text-align: center;
    padding: 48px 0;
    font-size: 15px;
    color: #9ca3af;
}

.message-board-item {
    padding: 18px 20px;
    border-radius: 16px;
    background: #fffdfb;
    border: 1px solid rgba(249, 115, 22, 0.24);
    box-shadow: none;
    transition: none;
}

.message-board-item:hover {
    transform: none;
    box-shadow: none;
}

.message-board-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.message-board-item {
    padding: 18px 20px;
    border-radius: 16px;
    background: #fffdfb;
    border: 1px solid rgba(249, 115, 22, 0.24);
    box-shadow: none;
    transition: none;
}

.message-board-item:hover {
    transform: none;
    box-shadow: none;
}

.message-board-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(249, 115, 22, 0.24);
    background: rgba(255, 250, 245, 0.95);
    color: #c2410c;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: none;
}

.message-board-like:hover {
    transform: none;
    box-shadow: none;
}

.message-board-like.liked {
    background: rgba(249, 115, 22, 0.2);
    color: #b45309;
    border-color: rgba(249, 115, 22, 0.35);
}

.message-board-reply {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: #1d4ed8;
    line-height: 1.6;
    white-space: pre-wrap;
}
.message-board-reply span {
    font-weight: 600;
}
.message-board-reply-time {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(37, 99, 235, 0.75);
}
.message-board-pagination {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.message-board-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-board-pagination button {
    border: none;
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-board-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.message-board-pagination button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}
.message-board-page-info {
    font-size: 14px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.message-board-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.message-board-jump input {
    width: 70px;
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    text-align: center;
}

.message-board-jump button {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #ffffff;
}

.message-board-jump button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

@media (max-width: 1024px) {
    .message-board-page {
        min-height: auto;
    }

    .message-board-main {
        max-height: none;
    }
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}
.action-button {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    white-space: nowrap;
}

.action-button i {
    margin-right: 4px;
    font-size: 10px;
}

.action-button.btn-outline {
    border: 1px solid #FF6A00;
    color: #FF6A00;
    background: white;
}

.action-button.btn-outline:hover {
    background-color: #FF6A00;
    color: white;
}



/* 分页样式 */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background-color: white;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: #FF6A00;
    color: #FF6A00;
}

.pagination-btn.active {
    background-color: #FF6A00;
    color: white;
    border-color: #FF6A00;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.logout-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .dock {
        padding: 8px 15px;
        flex-direction: row;
        width: auto;
        height: 70px;
        left: 50%;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
    }
    
    .dock-item {
        width: 50px;
        height: 50px;
        margin: 0 8px;
    }
    
    .dock-item i {
        font-size: 20px;
    }
    
    .dock-tooltip {
        left: 50%;
        top: -35px;
        transform: translateX(-50%);
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .action-button {
        flex: 0 0 calc(50% - 4px);
        margin-bottom: 8px;
    }
}

/* 搜索结果弹窗滚动条样式 */
#hotspot-search-results::-webkit-scrollbar {
    width: 6px;
    position: absolute;
    left: 0;
}

#marketing-search-results::-webkit-scrollbar {
    width: 6px;
    position: absolute;
    right: 0;
}

#hotspot-search-results::-webkit-scrollbar-track,
#marketing-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#hotspot-search-results::-webkit-scrollbar-thumb,
#marketing-search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#hotspot-search-results::-webkit-scrollbar-thumb:hover,
#marketing-search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 确保滚动条只在悬停时显示 */
#hotspot-search-results,
#marketing-search-results {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

#hotspot-search-results:hover,
#marketing-search-results:hover {
    scrollbar-color: #a8a8a8 #f1f1f1;
}
