/* ============================================
   TRENDING WALL STYLES
   Purple gradient theme matching Question Miner
   White button text & white icons throughout
   ============================================ */

.bbhg-tw-container {
    padding: 0 4px;
}

/* Header Banner - Purple Gradient (same as Question Miner) */
.bbhg-tw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    border-radius: var(--bbhg-radius-xl, 16px);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    color: white;
    flex-wrap: wrap;
}

.bbhg-tw-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: bbhg-tw-shimmer 10s ease-in-out infinite;
}

@keyframes bbhg-tw-shimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, 5%) rotate(2deg); }
}

.bbhg-tw-header-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    transform: translate(30%, -30%);
}

.bbhg-tw-title-section {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.bbhg-tw-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.bbhg-tw-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.bbhg-tw-title-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: white !important;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bbhg-tw-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
}

/* Header Stats */
.bbhg-tw-header-stats {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.bbhg-tw-header-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 70px;
}

.bbhg-tw-header-stat svg {
    stroke: white;
    margin-bottom: 2px;
}

.bbhg-tw-header-stat span {
    font-size: 20px;
    font-weight: 700;
    color: white !important;
    line-height: 1.2;
}

.bbhg-tw-header-stat small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Controls Bar */
.bbhg-tw-controls {
    background: var(--bbhg-white, #ffffff);
    border: 1px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: var(--bbhg-radius-xl, 16px);
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* Category Filter Pills */
.bbhg-tw-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1;
}

.bbhg-tw-cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bbhg-gray-100, #f3f4f6);
    border: 1px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bbhg-gray-700, #374151);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bbhg-tw-cat-pill:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.bbhg-tw-cat-pill.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-color: #8b5cf6;
    color: white !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.bbhg-tw-cat-pill.active span {
    color: white !important;
}

.bbhg-tw-cat-icon {
    font-size: 14px;
    line-height: 1;
}

/* Action Buttons - white text, white icons */
.bbhg-tw-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bbhg-tw-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: var(--bbhg-radius, 8px);
    color: white !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bbhg-tw-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.bbhg-tw-action-btn:active {
    transform: translateY(0);
}

.bbhg-tw-action-btn svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

.bbhg-tw-action-btn span {
    color: white !important;
}

/* Live Ticker Bar */
.bbhg-tw-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bbhg-white, #ffffff);
    border: 1px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: var(--bbhg-radius, 8px);
    margin-bottom: 16px;
    overflow: hidden;
}

.bbhg-tw-ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #ef4444;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: white !important;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bbhg-tw-ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: bbhg-tw-blink 1.5s ease-in-out infinite;
}

@keyframes bbhg-tw-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.bbhg-tw-ticker-track {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.bbhg-tw-ticker-content {
    display: flex;
    gap: 24px;
    animation: bbhg-tw-scroll 40s linear infinite;
    white-space: nowrap;
    font-size: 13px;
    color: var(--bbhg-gray-700, #374151);
}

.bbhg-tw-ticker-content:hover {
    animation-play-state: paused;
}

@keyframes bbhg-tw-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bbhg-tw-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}

.bbhg-tw-ticker-item .velocity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bbhg-tw-ticker-sep {
    color: var(--bbhg-gray-300, #d1d5db);
}

/* Hashtag Cloud */
.bbhg-tw-hashtag-cloud {
    background: var(--bbhg-white, #ffffff);
    border: 1px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: var(--bbhg-radius, 8px);
    padding: 16px 20px;
    margin-bottom: 16px;
}

.bbhg-tw-cloud-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bbhg-gray-700, #374151);
    margin-bottom: 12px;
}

.bbhg-tw-cloud-header svg {
    stroke: #8b5cf6;
}

.bbhg-tw-cloud-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bbhg-tw-cloud-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #7c3aed;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhg-tw-cloud-tag:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white !important;
    border-color: #8b5cf6;
    transform: translateY(-1px);
}

.bbhg-tw-cloud-tag.hot {
    font-size: 15px;
    font-weight: 700;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15));
    border-color: rgba(139, 92, 246, 0.35);
}

/* Loading State */
.bbhg-tw-loading {
    text-align: center;
    padding: 60px 20px;
}

.bbhg-tw-loading-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.bbhg-tw-loader {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(139, 92, 246, 0.15);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: bbhg-tw-spin 1s linear infinite;
}

@keyframes bbhg-tw-spin {
    to { transform: rotate(360deg); }
}

.bbhg-tw-loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    animation: bbhg-tw-pulse-icon 2s ease-in-out infinite;
}

@keyframes bbhg-tw-pulse-icon {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

.bbhg-tw-loading-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bbhg-gray-800, #1f2937);
    margin: 0 0 8px 0;
}

.bbhg-tw-loading-text {
    font-size: 14px;
    color: var(--bbhg-gray-500, #6b7280);
    margin: 0 0 20px 0;
}

.bbhg-tw-loading-bar {
    width: 240px;
    max-width: 100%;
    height: 4px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 4px;
    margin: 0 auto;
    overflow: hidden;
}

.bbhg-tw-loading-progress {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #8b5cf6, #6366f1, #8b5cf6);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: bbhg-tw-progress 1.5s ease-in-out infinite;
}

@keyframes bbhg-tw-progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Results Grid */
.bbhg-tw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

/* Trend Card */
.bbhg-tw-card {
    background: var(--bbhg-white, #ffffff);
    border: 1px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: var(--bbhg-radius-xl, 16px);
    padding: 20px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.bbhg-tw-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
    transform: translateY(-2px);
}

.bbhg-tw-card-rank {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bbhg-gray-100, #f3f4f6);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bbhg-gray-500, #6b7280);
}

.bbhg-tw-card-rank.top3 {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white !important;
}

/* Velocity Bar */
.bbhg-tw-card-velocity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bbhg-tw-velocity-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bbhg-tw-velocity-badge.exploding {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.bbhg-tw-velocity-badge.surging {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}
.bbhg-tw-velocity-badge.rising {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
.bbhg-tw-velocity-badge.steady {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.bbhg-tw-velocity-badge.cooling {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.bbhg-tw-velocity-bar-wrap {
    flex: 1;
    height: 6px;
    background: var(--bbhg-gray-100, #f3f4f6);
    border-radius: 3px;
    overflow: hidden;
}

.bbhg-tw-velocity-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.bbhg-tw-velocity-fill.exploding { background: linear-gradient(90deg, #ef4444, #f97316); }
.bbhg-tw-velocity-fill.surging   { background: linear-gradient(90deg, #f97316, #f59e0b); }
.bbhg-tw-velocity-fill.rising    { background: linear-gradient(90deg, #f59e0b, #eab308); }
.bbhg-tw-velocity-fill.steady    { background: linear-gradient(90deg, #10b981, #34d399); }
.bbhg-tw-velocity-fill.cooling   { background: linear-gradient(90deg, #9ca3af, #6b7280); }

/* Card Title */
.bbhg-tw-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--bbhg-gray-800, #1f2937);
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 36px;
}

.bbhg-tw-card-title a {
    color: inherit !important;
    text-decoration: none;
}

.bbhg-tw-card-title a:hover {
    color: #8b5cf6 !important;
}

/* Card Meta */
.bbhg-tw-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bbhg-tw-card-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--bbhg-gray-500, #6b7280);
}

.bbhg-tw-card-source .source-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b5cf6;
}

.bbhg-tw-card-traffic {
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
}

.bbhg-tw-card-age {
    font-size: 12px;
    color: var(--bbhg-gray-400, #9ca3af);
}

/* Card Hashtags */
.bbhg-tw-card-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.bbhg-tw-card-tag {
    padding: 3px 10px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #7c3aed;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bbhg-tw-card-tag:hover {
    background: #8b5cf6;
    color: white !important;
    border-color: #8b5cf6;
}

/* Card Actions */
.bbhg-tw-card-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--bbhg-gray-100, #f3f4f6);
    padding-top: 12px;
}

.bbhg-tw-card-action {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhg-tw-card-action:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

.bbhg-tw-card-action svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.bbhg-tw-card-action span {
    color: white !important;
}

.bbhg-tw-card-action.secondary {
    background: var(--bbhg-gray-100, #f3f4f6);
    color: var(--bbhg-gray-600, #4b5563) !important;
}

.bbhg-tw-card-action.secondary span {
    color: var(--bbhg-gray-600, #4b5563) !important;
}

.bbhg-tw-card-action.secondary svg {
    stroke: var(--bbhg-gray-600, #4b5563);
}

.bbhg-tw-card-action.secondary:hover {
    background: var(--bbhg-gray-200, #e5e7eb);
    box-shadow: none;
}

/* Load More Button */
.bbhg-tw-load-more {
    text-align: center;
    padding: 24px 0;
}

.bbhg-tw-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: var(--bbhg-radius, 8px);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhg-tw-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.bbhg-tw-load-more-btn svg {
    stroke: white;
    width: 18px;
    height: 18px;
}

.bbhg-tw-load-more-btn span {
    color: white !important;
}

/* Alert Modal */
.bbhg-tw-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbhg-tw-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.bbhg-tw-alert-content {
    position: relative;
    width: 420px;
    max-width: 90vw;
    background: white;
    border-radius: var(--bbhg-radius-xl, 16px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.bbhg-tw-alert-header {
    text-align: center;
    padding: 28px 24px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    color: white;
}

.bbhg-tw-alert-header svg {
    stroke: white;
    margin-bottom: 8px;
}

.bbhg-tw-alert-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: white !important;
    margin: 0 0 4px;
}

.bbhg-tw-alert-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0;
}

.bbhg-tw-alert-body {
    padding: 24px;
}

.bbhg-tw-alert-field {
    margin-bottom: 16px;
}

.bbhg-tw-alert-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bbhg-gray-700, #374151);
    margin-bottom: 6px;
}

.bbhg-tw-alert-field input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: var(--bbhg-radius, 8px);
    font-size: 15px;
    color: var(--bbhg-gray-800, #1f2937);
    background: var(--bbhg-gray-50, #f9fafb);
    transition: all 0.2s ease;
    outline: none;
}

.bbhg-tw-alert-field input:focus {
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.bbhg-tw-alert-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.bbhg-tw-alert-cancel {
    padding: 10px 20px;
    background: var(--bbhg-gray-100, #f3f4f6);
    border: 1px solid var(--bbhg-gray-200, #e5e7eb);
    border-radius: var(--bbhg-radius, 8px);
    font-size: 14px;
    font-weight: 500;
    color: var(--bbhg-gray-600, #4b5563);
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhg-tw-alert-cancel:hover {
    background: var(--bbhg-gray-200, #e5e7eb);
}

.bbhg-tw-alert-submit {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: var(--bbhg-radius, 8px);
    font-size: 14px;
    font-weight: 600;
    color: white !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhg-tw-alert-submit:hover {
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.bbhg-tw-alert-submit svg {
    stroke: white;
}

.bbhg-tw-alert-submit span {
    color: white !important;
}

/* Error State */
.bbhg-tw-error {
    text-align: center;
    padding: 60px 20px;
}

.bbhg-tw-error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.bbhg-tw-error h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--bbhg-gray-800, #1f2937);
    margin: 0 0 8px;
}

.bbhg-tw-error p {
    font-size: 14px;
    color: var(--bbhg-gray-500, #6b7280);
    margin: 0 0 20px;
}

.bbhg-tw-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: var(--bbhg-radius, 8px);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhg-tw-retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.bbhg-tw-retry-btn svg {
    stroke: white;
    width: 18px;
    height: 18px;
}

.bbhg-tw-retry-btn span {
    color: white !important;
}

/* Refresh animation */
.bbhg-tw-action-btn.spinning svg {
    animation: bbhg-tw-spin 0.8s linear infinite;
}

/* Card entry animation */
.bbhg-tw-card {
    animation: bbhg-tw-card-in 0.4s ease both;
}

@keyframes bbhg-tw-card-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bbhg-tw-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .bbhg-tw-header-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .bbhg-tw-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bbhg-tw-categories {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    
    .bbhg-tw-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .bbhg-tw-grid {
        grid-template-columns: 1fr;
    }
    
    .bbhg-tw-action-btn span {
        display: none;
    }
    
    .bbhg-tw-action-btn {
        padding: 10px;
    }
}
