        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
        }

        body {
            font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
            background: #0a0a0f;
            color: #e0e0e0;
            overflow-x: hidden;
            overflow-y: hidden;
            height: 100vh;
            width: 100%;
            max-width: 100vw;
            position: relative;
        }

        /* Main Layout */
        .container {
            display: flex;
            height: 100vh;
            width: 100%;
            max-width: 100vw;
            overflow: hidden;
            position: relative;
        }

        /* Sidebar - shadcn style */
        .sidebar {
            width: 380px;
            background: #ffffff;
            border-right: 1px solid #e5e7eb;
            display: flex;
            flex-direction: column;
            z-index: 100;
        }

        .sidebar-header {
            padding: 20px;
            border-bottom: 1px solid #e5e7eb;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-icon img {
            width: 36px;
            height: 36px;
        }

        .logo h1 {
            font-size: 1.3rem;
            font-weight: 600;
            color: #18181b;
            letter-spacing: -0.5px;
        }

        .search-box {
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 12px 15px 12px 40px;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            color: #18181b;
            font-family: inherit;
            font-size: 0.85rem;
        }

        .search-box input:focus {
            outline: none;
            border-color: #18181b;
            box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.1);
        }

        .search-box::before {
            content: ">";
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #71717a;
            font-weight: bold;
        }

        /* Header Buttons */
        .header-buttons {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            gap: 8px;
        }

        .theme-toggle, .lang-toggle {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .theme-toggle:hover, .lang-toggle:hover {
            background: #f4f4f5;
            border-color: #a1a1aa;
        }

        .lang-text {
            font-size: 0.75rem;
            font-weight: 600;
            color: #18181b;
        }

        .theme-icon {
            font-size: 1rem;
        }

        .theme-icon.dark {
            display: none;
        }

        body.dark-mode .lang-toggle {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .lang-toggle:hover {
            background: #3f3f46;
        }

        body.dark-mode .lang-text {
            color: #fafafa;
        }

        /* Dark Mode Styles */
        body.dark-mode .sidebar {
            background: #18181b;
            border-right-color: #27272a;
        }

        body.dark-mode .sidebar-header {
            border-bottom-color: #27272a;
        }

        body.dark-mode .logo h1 {
            color: #fafafa;
        }

        body.dark-mode .search-box input {
            background: #27272a;
            border-color: #3f3f46;
            color: #fafafa;
        }

        body.dark-mode .search-box input:focus {
            border-color: #71717a;
            box-shadow: 0 0 0 2px rgba(113, 113, 122, 0.2);
        }

        body.dark-mode .theme-toggle, body.dark-mode .lang-toggle {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .theme-toggle:hover, body.dark-mode .lang-toggle:hover {
            background: #3f3f46;
        }

        body.dark-mode .theme-icon.light {
            display: none;
        }

        body.dark-mode .theme-icon.dark {
            display: inline;
        }

        body.dark-mode .filter-dropdowns {
            border-bottom-color: #27272a;
        }

        body.dark-mode .filter-select {
            background: #27272a;
            border-color: #3f3f46;
            color: #fafafa;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        }

        body.dark-mode .filter-select:hover {
            border-color: #52525b;
        }

        body.dark-mode .filter-select:focus {
            border-color: #fafafa;
            box-shadow: 0 0 0 2px rgba(250, 250, 250, 0.1);
        }

        body.dark-mode .filter-select option {
            background: #27272a;
            color: #fafafa;
        }

        body.dark-mode .stats-bar {
            background: #1f1f23;
            border-bottom-color: #27272a;
        }

        body.dark-mode .stat-value {
            color: #fafafa;
        }

        body.dark-mode .stat-label {
            color: #71717a;
        }

        body.dark-mode .news-list {
            background: #18181b;
        }

        body.dark-mode .news-list::-webkit-scrollbar-track {
            background: #27272a;
        }

        body.dark-mode .news-list::-webkit-scrollbar-thumb {
            background: #3f3f46;
        }

        body.dark-mode .news-item {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .news-item:hover {
            background: #3f3f46;
            border-color: #52525b;
        }

        body.dark-mode .news-item.active {
            border-color: #fafafa;
        }

        body.dark-mode .news-item-title {
            color: #fafafa;
        }

        body.dark-mode .news-item-meta {
            color: #71717a;
        }

        body.dark-mode .news-item-meta .company {
            color: #fafafa;
        }

        body.dark-mode .news-item-summary {
            color: #a1a1aa;
        }

        body.dark-mode .tag {
            background: #3f3f46;
            color: #a1a1aa;
        }

        body.dark-mode .no-data {
            color: #71717a;
        }

        /* Dark Mode Info Panel */
        body.dark-mode .info-panel {
            background: #18181b;
            border-color: #27272a;
        }

        body.dark-mode .info-panel::-webkit-scrollbar-track {
            background: #27272a;
        }

        body.dark-mode .info-panel::-webkit-scrollbar-thumb {
            background: #3f3f46;
        }

        body.dark-mode .info-panel-close {
            color: #71717a;
        }

        body.dark-mode .info-panel-close:hover {
            color: #fafafa;
        }

        body.dark-mode .info-panel h3 {
            color: #fafafa;
        }

        body.dark-mode .info-panel-impact.positive {
            background: rgba(34, 197, 94, 0.2);
            color: #4ade80;
        }

        body.dark-mode .info-panel-impact.negative {
            background: rgba(239, 68, 68, 0.2);
            color: #f87171;
        }

        body.dark-mode .info-panel-content p {
            color: #a1a1aa;
        }

        body.dark-mode .info-panel-meta {
            border-top-color: #27272a;
        }

        body.dark-mode .info-panel-meta-item label {
            color: #71717a;
        }

        body.dark-mode .info-panel-meta-item span {
            color: #fafafa;
        }

        body.dark-mode .info-panel-link {
            background: #fafafa;
            color: #18181b;
        }

        body.dark-mode .info-panel-link:hover {
            background: #e4e4e7;
        }

        body.dark-mode .info-panel-reasoning {
            background: #27272a;
            border-left-color: #52525b;
        }

        body.dark-mode .info-panel-reasoning label {
            color: #71717a;
        }

        body.dark-mode .info-panel-reasoning p {
            color: #a1a1aa;
        }

        body.dark-mode .info-panel-impacts .impact-item {
            border-bottom-color: #27272a;
        }

        body.dark-mode .info-panel-impacts label {
            color: #fafafa;
        }

        body.dark-mode .info-panel-impacts p {
            color: #a1a1aa;
        }

        body.dark-mode .info-panel-stats {
            background: #1f1f23;
            border-color: #27272a;
        }

        body.dark-mode .info-panel-stats > label {
            color: #fafafa;
        }

        body.dark-mode .stat-card {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .stat-card .stat-region {
            color: #71717a;
        }

        body.dark-mode .stat-card .stat-value {
            color: #fafafa;
        }

        body.dark-mode .stat-card .stat-label {
            color: #71717a;
        }

        body.dark-mode .panel-category-badge {
            background: #27272a;
            color: #fafafa;
        }

        body.dark-mode .panel-category-badge.jobs {
            background: rgba(245, 158, 11, 0.2);
            color: #fbbf24;
        }
        body.dark-mode .panel-category-badge.health {
            background: rgba(34, 197, 94, 0.2);
            color: #4ade80;
        }
        body.dark-mode .panel-category-badge.geopolitics {
            background: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
        }
        body.dark-mode .panel-category-badge.security {
            background: rgba(239, 68, 68, 0.2);
            color: #f87171;
        }
        body.dark-mode .panel-category-badge.ethics {
            background: rgba(168, 85, 247, 0.2);
            color: #c084fc;
        }

        body.dark-mode .category-section .impact-item {
            border-bottom-color: #27272a;
        }

        body.dark-mode .category-section p {
            color: #a1a1aa;
        }

        /* Filters */
        /* Filter Dropdowns */
        .filter-dropdowns {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 10px 15px;
            border-bottom: 1px solid #e5e7eb;
        }

        .filter-select {
            flex: 1;
            min-width: 0;
            padding: 6px 8px;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            color: #18181b;
            font-family: inherit;
            font-size: 0.7rem;
            cursor: pointer;
            transition: all 0.2s;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 6px center;
            padding-right: 22px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .filter-select:hover {
            border-color: #a1a1aa;
        }

        .filter-select:focus {
            outline: none;
            border-color: #18181b;
            box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.1);
        }

        .filter-select option {
            padding: 8px;
        }

        /* Category badge in panel */
        .panel-category-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 10px;
            background: #f4f4f5;
            color: #18181b;
        }

        .panel-category-badge.jobs {
            background: #fef3c7;
            color: #b45309;
        }
        .panel-category-badge.health {
            background: #dcfce7;
            color: #15803d;
        }
        .panel-category-badge.geopolitics {
            background: #dbeafe;
            color: #1d4ed8;
        }
        .panel-category-badge.security {
            background: #fee2e2;
            color: #b91c1c;
        }
        .panel-category-badge.ethics {
            background: #f3e8ff;
            color: #7e22ce;
        }

        /* Category section styling */
        .category-section {
            margin-top: 15px;
        }

        .category-section .impact-item {
            padding: 10px 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .category-section .impact-item:last-child {
            border-bottom: none;
        }

        .category-section label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 5px;
        }

        .category-section p {
            font-size: 0.8rem;
            color: #52525b;
            line-height: 1.5;
            margin: 0;
        }

        /* Category-specific label colors */
        .category-section.jobs label { color: #b45309; }
        .category-section.health label { color: #15803d; }
        .category-section.geopolitics label { color: #1d4ed8; }
        .category-section.security label { color: #b91c1c; }
        .category-section.ethics label { color: #7e22ce; }

        /* News item category indicator */
        .news-item-category {
            font-size: 0.65rem;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: auto;
        }

        .news-item-category.jobs {
            background: #fef3c7;
            color: #b45309;
        }
        .news-item-category.health {
            background: #dcfce7;
            color: #15803d;
        }
        .news-item-category.geopolitics {
            background: #dbeafe;
            color: #1d4ed8;
        }
        .news-item-category.security {
            background: #fee2e2;
            color: #b91c1c;
        }
        .news-item-category.ethics {
            background: #f3e8ff;
            color: #7e22ce;
        }

        /* Stats Bar */
        .stats-bar {
            display: flex;
            justify-content: space-around;
            padding: 15px 20px;
            background: #fafafa;
            border-bottom: 1px solid #e5e7eb;
        }

        .stat {
            text-align: center;
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #18181b;
        }

        .stat-value.positive { color: #22c55e; }
        .stat-value.negative { color: #ef4444; }

        .stat-label {
            font-size: 0.65rem;
            color: #71717a;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* News List */
        .news-list {
            flex: 1;
            overflow-y: auto;
            padding: 10px;
            background: #ffffff;
        }

        .news-list::-webkit-scrollbar {
            width: 6px;
        }

        .news-list::-webkit-scrollbar-track {
            background: #f4f4f5;
        }

        .news-list::-webkit-scrollbar-thumb {
            background: #d4d4d8;
            border-radius: 3px;
        }

        /* Sidebar Footer */
        .sidebar-footer {
            padding: 8px 15px;
            border-top: 1px solid #e5e7eb;
            display: flex;
            justify-content: flex-end;
            gap: 6px;
            background: #ffffff;
        }

        .sidebar-footer .download-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 5px 8px;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            cursor: pointer;
            font-size: 0.7rem;
            color: #18181b;
            transition: all 0.2s;
        }

        .sidebar-footer .download-btn:hover {
            background: #f4f4f5;
            border-color: #d4d4d8;
        }

        body.dark-mode .sidebar-footer {
            background: #18181b;
            border-color: #3f3f46;
        }

        body.dark-mode .sidebar-footer .download-btn {
            background: #27272a;
            border-color: #3f3f46;
            color: #fafafa;
        }

        body.dark-mode .sidebar-footer .download-btn:hover {
            background: #3f3f46;
        }

        .sidebar-footer .submit-link-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 5px 8px;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            cursor: pointer;
            font-size: 0.7rem;
            color: #18181b;
            transition: all 0.2s;
        }

        .sidebar-footer .submit-link-btn:hover {
            background: #f4f4f5;
            border-color: #d4d4d8;
        }

        body.dark-mode .sidebar-footer .submit-link-btn {
            background: #27272a;
            border-color: #3f3f46;
            color: #fafafa;
        }

        body.dark-mode .sidebar-footer .submit-link-btn:hover {
            background: #3f3f46;
        }

        .sidebar-footer .donate-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 5px 8px;
            border-radius: 6px;
            border: 1px solid #f87171;
            background: linear-gradient(135deg, #fef2f2, #fff1f2);
            cursor: pointer;
            font-size: 0.7rem;
            color: #dc2626;
            transition: all 0.2s;
        }

        .sidebar-footer .donate-btn:hover {
            background: linear-gradient(135deg, #fee2e2, #ffe4e6);
            border-color: #ef4444;
            transform: scale(1.02);
        }

        body.dark-mode .sidebar-footer .donate-btn {
            background: linear-gradient(135deg, #450a0a, #4c0519);
            border-color: #991b1b;
            color: #fca5a5;
        }

        body.dark-mode .sidebar-footer .donate-btn:hover {
            background: linear-gradient(135deg, #7f1d1d, #881337);
            border-color: #dc2626;
        }

        .sidebar-footer .social-links {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-right: auto;
        }

        .sidebar-footer .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 5px;
            background: #f4f4f5;
            border: 1px solid #e5e7eb;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .sidebar-footer .social-link:hover {
            background: #e4e4e7;
            border-color: #d4d4d8;
            transform: scale(1.05);
        }

        .sidebar-footer .social-link svg {
            width: 14px;
            height: 14px;
            fill: #18181b;
        }

        body.dark-mode .sidebar-footer .social-link {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .sidebar-footer .social-link:hover {
            background: #3f3f46;
            border-color: #52525b;
        }

        body.dark-mode .sidebar-footer .social-link svg {
            fill: #fafafa;
        }

        /* Donate Popup */
        .donate-popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 20000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }

        .donate-popup-overlay.visible {
            display: flex;
        }

        .donate-popup {
            background: #ffffff;
            border-radius: 16px;
            padding: 30px;
            max-width: 480px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: popupSlideIn 0.3s ease;
        }

        @keyframes popupSlideIn {
            from { opacity: 0; transform: scale(0.9) translateY(-20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .donate-popup-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 32px;
            height: 32px;
            border: none;
            background: #f4f4f5;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #71717a;
            transition: all 0.2s;
        }

        .donate-popup-close:hover {
            background: #e4e4e7;
            color: #18181b;
        }

        .donate-gif {
            display: block;
            width: 100%;
            max-width: 280px;
            margin: 0 auto 15px auto;
            border-radius: 12px;
        }

        .donate-popup h3 {
            margin: 0 0 10px 0;
            font-size: 1.4rem;
            color: #18181b;
            text-align: center;
        }

        .donate-subtitle {
            text-align: center;
            color: #71717a;
            margin: 0 0 25px 0;
            font-size: 0.95rem;
        }

        .donate-crypto {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .crypto-item {
            background: #f9fafb;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 16px;
        }

        .crypto-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .crypto-icon {
            font-size: 1.5rem;
        }

        .crypto-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: #18181b;
        }

        .crypto-address {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            border: 1px solid #d4d4d8;
            border-radius: 8px;
            padding: 10px 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .crypto-address:hover {
            border-color: #a1a1aa;
            background: #f4f4f5;
        }

        .crypto-address code {
            font-family: 'Courier New', monospace;
            font-size: 0.75rem;
            color: #3f3f46;
            word-break: break-all;
        }

        .copy-icon {
            flex-shrink: 0;
            margin-left: 10px;
            font-size: 1rem;
        }

        .crypto-address.copied {
            border-color: #22c55e;
            background: #f0fdf4;
        }

        .crypto-address.copied .copy-icon::after {
            content: ' ✓';
            color: #22c55e;
        }

        .crypto-networks {
            margin-top: 8px;
            font-size: 0.8rem;
            color: #71717a;
        }

        .donate-thanks {
            text-align: center;
            color: #a1a1aa;
            margin: 20px 0 0 0;
            font-size: 0.85rem;
        }

        /* Dark mode donate popup */
        body.dark-mode .donate-popup {
            background: #1f1f23;
        }

        body.dark-mode .donate-popup-close {
            background: #3f3f46;
            color: #a1a1aa;
        }

        body.dark-mode .donate-popup-close:hover {
            background: #52525b;
            color: #fafafa;
        }

        body.dark-mode .donate-popup h3 {
            color: #fafafa;
        }

        body.dark-mode .donate-subtitle {
            color: #a1a1aa;
        }

        body.dark-mode .crypto-item {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .crypto-name {
            color: #fafafa;
        }

        body.dark-mode .crypto-address {
            background: #18181b;
            border-color: #3f3f46;
        }

        body.dark-mode .crypto-address:hover {
            background: #27272a;
            border-color: #52525b;
        }

        body.dark-mode .crypto-address code {
            color: #d4d4d8;
        }

        body.dark-mode .crypto-address.copied {
            border-color: #22c55e;
            background: #14532d;
        }

        body.dark-mode .crypto-networks {
            color: #a1a1aa;
        }

        body.dark-mode .donate-thanks {
            color: #71717a;
        }

        /* Submit Link Modal */
        .submit-popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 20000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }

        .submit-popup-overlay.visible {
            display: flex;
        }

        .submit-popup {
            background: #ffffff;
            border-radius: 16px;
            padding: 30px;
            max-width: 500px;
            width: 90%;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: popupSlideIn 0.3s ease;
        }

        .submit-popup-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: #f4f4f5;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #71717a;
            font-size: 1.2rem;
            transition: all 0.2s;
        }

        .submit-popup-close:hover {
            background: #e4e4e7;
            color: #18181b;
        }

        .submit-popup h3 {
            margin: 0 0 8px 0;
            font-size: 1.3rem;
            color: #18181b;
        }

        .submit-popup-subtitle {
            color: #71717a;
            margin: 0 0 25px 0;
            font-size: 0.9rem;
        }

        .submit-form-group {
            margin-bottom: 18px;
        }

        .submit-form-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 0.85rem;
            color: #3f3f46;
            font-weight: 500;
        }

        .submit-form-group input,
        .submit-form-group select,
        .submit-form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.9rem;
            color: #18181b;
            background: #ffffff;
            transition: border-color 0.2s;
        }

        .submit-form-group input:focus,
        .submit-form-group select:focus,
        .submit-form-group textarea:focus {
            outline: none;
            border-color: #ef4444;
        }

        .submit-form-group textarea {
            resize: vertical;
            min-height: 80px;
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: #18181b;
            border: none;
            border-radius: 8px;
            color: #ffffff;
            font-family: inherit;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .submit-btn:hover {
            background: #27272a;
        }

        .submit-btn:disabled {
            background: #a1a1aa;
            cursor: not-allowed;
        }

        .submit-success {
            text-align: center;
            padding: 30px 0;
        }

        .submit-success-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .submit-success h4 {
            color: #18181b;
            margin-bottom: 8px;
        }

        .submit-success p {
            color: #71717a;
            font-size: 0.9rem;
        }

        /* Dark mode submit popup */
        body.dark-mode .submit-popup {
            background: #1f1f23;
        }

        body.dark-mode .submit-popup-close {
            background: #3f3f46;
            color: #a1a1aa;
        }

        body.dark-mode .submit-popup-close:hover {
            background: #52525b;
            color: #fafafa;
        }

        body.dark-mode .submit-popup h3 {
            color: #fafafa;
        }

        body.dark-mode .submit-popup-subtitle {
            color: #a1a1aa;
        }

        body.dark-mode .submit-form-group label {
            color: #a1a1aa;
        }

        body.dark-mode .submit-form-group input,
        body.dark-mode .submit-form-group select,
        body.dark-mode .submit-form-group textarea {
            background: #27272a;
            border-color: #3f3f46;
            color: #fafafa;
        }

        body.dark-mode .submit-form-group input:focus,
        body.dark-mode .submit-form-group select:focus,
        body.dark-mode .submit-form-group textarea:focus {
            border-color: #ef4444;
        }

        body.dark-mode .submit-btn {
            background: #fafafa;
            color: #18181b;
        }

        body.dark-mode .submit-btn:hover {
            background: #e4e4e7;
        }

        body.dark-mode .submit-success h4 {
            color: #fafafa;
        }

        body.dark-mode .submit-success p {
            color: #a1a1aa;
        }

        .news-item {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .news-item:hover {
            border-color: #a1a1aa;
            background: #fafafa;
        }

        .news-item.active {
            border-color: #18181b;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .news-item-header {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 10px;
        }

        .impact-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-top: 6px;
            flex-shrink: 0;
        }

        .impact-indicator.positive {
            background: #22c55e;
        }

        .impact-indicator.negative {
            background: #ef4444;
        }

        .news-item-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #18181b;
            line-height: 1.4;
        }

        .news-item-meta {
            display: flex;
            gap: 10px;
            font-size: 0.7rem;
            color: #71717a;
            margin-bottom: 8px;
        }

        .news-item-meta .company {
            color: #18181b;
            font-weight: 500;
        }

        .news-item-meta .country {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .news-item-summary {
            font-size: 0.8rem;
            color: #52525b;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-item-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .tag {
            padding: 2px 8px;
            background: #f4f4f5;
            border-radius: 4px;
            font-size: 0.65rem;
            color: #71717a;
        }

        .news-item-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px;
        }

        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            cursor: pointer;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .share-btn:hover {
            background: #f4f4f5;
            border-color: #d4d4d8;
            transform: scale(1.05);
        }

        .share-btn svg {
            width: 14px;
            height: 14px;
            fill: #52525b;
        }

        .share-btn:hover svg {
            fill: #18181b;
        }

        body.dark-mode .share-btn {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .share-btn:hover {
            background: #3f3f46;
            border-color: #52525b;
        }

        body.dark-mode .share-btn svg {
            fill: #a1a1aa;
        }

        body.dark-mode .share-btn:hover svg {
            fill: #fafafa;
        }

        /* Vote Buttons */
        .vote-controls {
            display: flex;
            align-items: center;
            gap: 2px;
            margin-right: 8px;
        }

        .vote-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 4px;
            border: none;
            background: transparent;
            cursor: pointer;
            transition: all 0.15s;
            padding: 0;
        }

        .vote-btn svg {
            width: 14px;
            height: 14px;
            fill: #71717a;
            transition: all 0.15s;
        }

        .vote-btn:hover svg {
            transform: scale(1.2);
        }

        .vote-btn.upvote:hover svg,
        .vote-btn.upvote.active svg {
            fill: #22c55e;
        }

        .vote-btn.downvote:hover svg,
        .vote-btn.downvote.active svg {
            fill: #ef4444;
        }

        .vote-score {
            font-size: 0.75rem;
            font-weight: 600;
            min-width: 20px;
            text-align: center;
            color: #52525b;
        }

        .vote-score.positive {
            color: #22c55e;
        }

        .vote-score.negative {
            color: #ef4444;
        }

        body.dark-mode .vote-btn svg {
            fill: #71717a;
        }

        body.dark-mode .vote-score {
            color: #a1a1aa;
        }

        body.dark-mode .vote-score.positive {
            color: #4ade80;
        }

        body.dark-mode .vote-score.negative {
            color: #f87171;
        }

        /* Globe Container */
        .globe-container {
            flex: 1;
            position: relative;
            background: radial-gradient(ellipse at center, #0a0a1a 0%, #000 100%);
            overflow: hidden;
            min-width: 0;
        }

        #globe-container {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        /* Globe.gl canvas styling */
        #globe-container canvas {
            outline: none;
            max-width: 100%;
            max-height: 100%;
        }

        /* Globe Controls */
        .globe-controls {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .globe-btn {
            padding: 10px 20px;
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid #1a1a2e;
            border-radius: 20px;
            color: #888;
            font-family: inherit;
            font-size: 0.75rem;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.2s;
        }

        .globe-btn:hover {
            border-color: #00ff88;
            color: #00ff88;
        }

        .globe-btn.active {
            background: rgba(0, 255, 136, 0.1);
            border-color: #00ff88;
            color: #00ff88;
        }

        /* Timeline Controls */
        .timeline-container {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 20px;
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid #1a1a2e;
            border-radius: 25px;
            backdrop-filter: blur(10px);
            z-index: 10;
            min-width: 500px;
        }

        .timeline-mobile-label {
            display: none;
        }

        .timeline-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 255, 136, 0.1);
            border: 1px solid #00ff88;
            border-radius: 50%;
            color: #00ff88;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .timeline-btn:hover {
            background: rgba(0, 255, 136, 0.2);
            transform: scale(1.05);
        }

        .timeline-btn.playing {
            background: rgba(255, 71, 87, 0.1);
            border-color: #ff4757;
            color: #ff4757;
        }

        .timeline-slider-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .timeline-slider {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 6px;
            background: #1a1a2e;
            border-radius: 3px;
            outline: none;
            cursor: pointer;
        }

        .timeline-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            background: #00ff88;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
            transition: transform 0.2s;
        }

        .timeline-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .timeline-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            background: #00ff88;
            border-radius: 50%;
            cursor: pointer;
            border: none;
            box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
        }

        .timeline-dates {
            display: flex;
            justify-content: space-between;
            font-size: 0.65rem;
            color: #666;
            font-family: 'Courier New', monospace;
        }

        .timeline-speed {
            padding: 6px 10px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid #1a1a2e;
            border-radius: 15px;
            color: #888;
            font-family: 'Courier New', monospace;
            font-size: 0.75rem;
            cursor: pointer;
            outline: none;
            flex-shrink: 0;
        }

        .timeline-speed:hover {
            border-color: #00ff88;
            color: #00ff88;
        }

        .timeline-speed option {
            background: #0a0f1a;
            color: #fff;
        }

        .timeline-current-date {
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            color: #00ff88;
            min-width: 90px;
            text-align: right;
            flex-shrink: 0;
        }

        .timeline-news-count {
            font-size: 0.7rem;
            color: #666;
            margin-left: -10px;
        }

        /* Trend Chart Panel */
        .trend-chart-panel {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 320px;
            background: rgba(10, 10, 20, 0.9);
            border: 1px solid rgba(0, 255, 136, 0.2);
            border-radius: 8px;
            backdrop-filter: blur(10px);
            z-index: 10000;
            transform: translateZ(0);
            isolation: isolate;
            display: none;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .trend-chart-panel.visible {
            display: block;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes pulse-ring {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(-50%, -50%) scale(3);
                opacity: 0;
            }
        }

        .trend-chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(0, 255, 136, 0.05);
        }

        .trend-chart-title {
            font-size: 0.75rem;
            color: #00ff88;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .trend-chart-close {
            background: none;
            border: none;
            color: #666;
            font-size: 1rem;
            cursor: pointer;
            padding: 0;
            line-height: 1;
            transition: color 0.2s;
        }

        .trend-chart-close:hover {
            color: #ff4757;
        }

        .trend-chart-container {
            padding: 10px;
            height: 150px;
        }

        .trend-chart-legend {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 8px 10px;
            background: rgba(0, 0, 0, 0.3);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.65rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .legend-item.positive .legend-dot {
            background: #00ff88;
            box-shadow: 0 0 4px rgba(0, 255, 136, 0.5);
        }

        .legend-item.negative .legend-dot {
            background: #ff4757;
            box-shadow: 0 0 4px rgba(255, 71, 87, 0.5);
        }

        .made-by {
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.4);
            z-index: 10;
        }

        .made-by .heart {
            color: #ef4444;
        }

        .made-by a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            transition: color 0.2s;
        }

        .made-by a:hover {
            color: #ffffff;
        }

        /* Info Panel - shadcn style */
        .info-panel {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 380px;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 20px;
            z-index: 10000;
            display: none;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
            transform: translateZ(0);
            isolation: isolate;
        }

        .info-panel::-webkit-scrollbar {
            width: 6px;
        }

        .info-panel::-webkit-scrollbar-track {
            background: #f4f4f5;
        }

        .info-panel::-webkit-scrollbar-thumb {
            background: #d4d4d8;
            border-radius: 3px;
        }

        .info-panel.visible {
            display: block;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .info-panel-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: #a1a1aa;
            cursor: pointer;
            font-size: 1.2rem;
        }

        .info-panel-close:hover {
            color: #18181b;
        }

        .info-panel h3 {
            font-size: 1rem;
            margin-bottom: 15px;
            padding-right: 30px;
            color: #18181b;
        }

        .info-panel-impact {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 15px;
        }

        .info-panel-impact.positive {
            background: #dcfce7;
            color: #15803d;
        }

        .info-panel-impact.negative {
            background: #fee2e2;
            color: #b91c1c;
        }

        .info-panel-content p {
            font-size: 0.85rem;
            color: #52525b;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .info-panel-meta {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            padding-top: 15px;
            border-top: 1px solid #e5e7eb;
        }

        .info-panel-meta-item {
            font-size: 0.75rem;
        }

        .info-panel-meta-item label {
            color: #71717a;
            display: block;
            margin-bottom: 3px;
        }

        .info-panel-meta-item span {
            color: #18181b;
            font-weight: 500;
        }

        .info-panel-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .info-panel-link {
            flex: 1;
            display: block;
            padding: 10px;
            background: #18181b;
            border-radius: 6px;
            color: #ffffff;
            text-decoration: none;
            font-size: 0.8rem;
            text-align: center;
            transition: all 0.2s;
        }

        .info-panel-link:hover {
            background: #27272a;
        }

        .info-panel-share {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            padding: 10px;
            background: #18181b;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
        }

        .info-panel-share:hover {
            background: #27272a;
        }

        .info-panel-share svg {
            width: 16px;
            height: 16px;
            fill: #ffffff;
        }

        body.dark-mode .info-panel-share {
            background: #fafafa;
        }

        body.dark-mode .info-panel-share:hover {
            background: #e4e4e7;
        }

        body.dark-mode .info-panel-share svg {
            fill: #18181b;
        }

        .info-panel-reasoning {
            margin-top: 15px;
            padding: 12px;
            background: #f4f4f5;
            border-radius: 6px;
            border-left: 3px solid #a1a1aa;
        }

        .info-panel-reasoning label {
            font-size: 0.7rem;
            color: #71717a;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 8px;
        }

        .info-panel-reasoning p {
            font-size: 0.8rem;
            color: #3f3f46;
            line-height: 1.5;
            margin: 0;
        }

        .info-panel-impacts {
            margin-top: 15px;
        }

        .info-panel-impacts .impact-item {
            padding: 10px 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .info-panel-impacts .impact-item:last-child {
            border-bottom: none;
        }

        .info-panel-impacts label {
            font-size: 0.7rem;
            color: #18181b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .info-panel-impacts p {
            font-size: 0.8rem;
            color: #52525b;
            line-height: 1.5;
            margin: 0;
        }

        .info-panel-stats {
            margin-top: 15px;
            padding: 12px;
            background: #fafafa;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
        }

        .info-panel-stats > label {
            font-size: 0.7rem;
            color: #18181b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .stat-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 10px 8px;
            text-align: center;
        }

        .stat-card .stat-region {
            font-size: 0.65rem;
            color: #71717a;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .stat-card .stat-value {
            font-size: 0.95rem;
            font-weight: 700;
            color: #18181b;
        }

        .stat-card .stat-value.at-risk {
            color: #dc2626;
        }

        .stat-card .stat-label {
            font-size: 0.6rem;
            color: #71717a;
            margin-top: 2px;
        }

        /* Terminal Effect */
        .terminal-line {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            color: #00ff88;
            opacity: 0.5;
            z-index: 5;
        }

        .terminal-line::before {
            content: "$ ";
            color: #666;
        }

        /* No Data State */
        .no-data {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 200px;
            color: #71717a;
            text-align: center;
        }

        .no-data-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .no-data p {
            font-size: 0.85rem;
        }

        /* Pulse animation for markers */
        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.5); opacity: 0.5; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            position: fixed;
            top: 15px;
            left: 15px;
            z-index: 1001;
            width: 44px;
            height: 44px;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .mobile-menu-btn span {
            display: block;
            width: 22px;
            height: 2px;
            background: #18181b;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        body.dark-mode .mobile-menu-btn {
            background: #27272a;
            border-color: #3f3f46;
        }

        body.dark-mode .mobile-menu-btn span {
            background: #fafafa;
        }

        /* Sidebar Overlay for Mobile */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99;
        }

        /* ============================================
           RESPONSIVE STYLES
           ============================================ */

        /* Tablet - 1024px and below */
        @media (max-width: 1024px) {
            .sidebar {
                width: 320px;
            }

            .info-panel {
                width: 340px;
            }

            .trend-chart-panel {
                width: 280px;
            }

            .timeline-container {
                width: 450px;
            }
        }

        /* Mobile - 768px and below */
        @media (max-width: 768px) {
            html, body {
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .sidebar-overlay.visible {
                display: block;
            }

            .container {
                flex-direction: column;
                width: 100%;
                max-width: 100%;
                overflow: hidden;
            }

            .sidebar {
                position: fixed;
                top: 0;
                left: -100%;
                width: 85%;
                max-width: 320px;
                height: 100vh;
                height: 100dvh;
                z-index: 100;
                transition: left 0.3s ease;
                overflow-y: auto;
                overflow-x: hidden;
            }

            .sidebar.open {
                left: 0;
            }

            .sidebar-header {
                padding-top: 70px;
            }

            .header-buttons {
                position: fixed;
                top: 15px;
                right: 15px;
                z-index: 1001;
            }

            .globe-container {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                height: 100dvh;
                overflow: hidden;
            }

            /* Info Panel - Bottom Sheet on Mobile */
            .info-panel {
                position: fixed;
                top: auto;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                max-height: 70vh;
                border-radius: 16px 16px 0 0;
                z-index: 10000;
                transform: translateZ(0);
            }

            .info-panel.visible {
                display: block;
                animation: slideUp 0.3s ease;
            }

            @keyframes slideUp {
                from {
                    transform: translateY(100%);
                }
                to {
                    transform: translateY(0);
                }
            }

            .info-panel-close {
                width: 36px;
                height: 36px;
                font-size: 1.5rem;
            }

            /* Globe Controls - Move to right side vertically on mobile */
            .globe-controls {
                bottom: auto;
                top: 70px;
                left: auto;
                right: 10px;
                transform: none;
                flex-direction: column;
                gap: 6px;
            }

            .globe-control-btn {
                width: 32px;
                height: 32px;
                font-size: 0.75rem;
                padding: 0;
            }

            /* Timeline mobile label */
            .timeline-mobile-label {
                display: block;
                position: fixed;
                bottom: 55px;
                left: 50%;
                transform: translateX(-50%);
                color: #22c55e;
                font-size: 0.7rem;
                font-weight: 500;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
                z-index: 999;
            }

            /* Timeline Controls - Compact mobile version */
            .timeline-container {
                width: auto;
                min-width: unset;
                max-width: calc(100vw - 40px);
                bottom: 10px;
                left: 20px;
                right: 20px;
                transform: none;
                padding: 8px 12px;
                gap: 8px;
                justify-content: center;
            }

            .timeline-btn {
                width: 28px;
                height: 28px;
                font-size: 0.8rem;
                flex-shrink: 0;
            }

            .timeline-slider-container {
                flex: 1;
                min-width: 80px;
                max-width: 150px;
            }

            .timeline-slider {
                height: 3px;
            }

            .timeline-slider::-webkit-slider-thumb {
                width: 12px;
                height: 12px;
            }

            .timeline-dates {
                display: none;
            }

            .timeline-speed {
                display: none;
            }

            .timeline-current-date {
                font-size: 0.6rem;
            }

            .timeline-news-count {
                display: none;
            }

            /* Trend Chart Panel */
            .trend-chart-panel {
                width: calc(100% - 20px);
                max-width: 280px;
                top: auto;
                bottom: 100px;
                right: 10px;
                left: 10px;
                margin: 0 auto;
            }

            /* Donate Popup */
            .donate-popup {
                padding: 20px;
                max-width: 340px;
            }

            .donate-gif {
                max-width: 180px;
                margin-bottom: 10px;
            }

            .donate-popup h3 {
                font-size: 1.1rem;
            }

            .donate-subtitle {
                font-size: 0.85rem;
                margin-bottom: 18px;
            }

            .crypto-item {
                padding: 12px;
            }

            .crypto-address code {
                font-size: 0.65rem;
            }

            /* Terminal and Made By - hide on mobile to reduce clutter */
            .terminal-line {
                display: none;
                font-size: 0.6rem;
                width: 90%;
                text-align: center;
            }

            .made-by {
                display: none;
            }

            /* News List Items */
            .news-item {
                padding: 12px;
            }

            .news-item h3 {
                font-size: 0.8rem;
            }

            .news-item .meta {
                font-size: 0.65rem;
            }

            /* Filters */
            .filter-dropdowns {
                padding: 8px 12px;
                gap: 6px;
            }

            .filter-select {
                padding: 5px 6px;
                font-size: 0.65rem;
                padding-right: 20px;
                background-position: right 5px center;
            }

            /* Stats Bar */
            .stats-bar {
                padding: 10px 15px;
            }

            .stat-value {
                font-size: 1.1rem;
            }

            .stat-label {
                font-size: 0.6rem;
            }
        }

        /* Small Mobile - 480px and below */
        @media (max-width: 480px) {
            html, body, .container {
                width: 100vw;
                max-width: 100vw;
                overflow-x: hidden;
            }

            .sidebar {
                width: 100%;
                max-width: 100vw;
            }

            .logo h1 {
                font-size: 1.1rem;
            }

            .search-box input {
                padding: 10px 12px 10px 35px;
                font-size: 0.8rem;
            }

            .info-panel {
                max-height: 80vh;
                padding: 15px;
            }

            .info-panel h3 {
                font-size: 1rem;
            }

            .info-panel-content p {
                font-size: 0.8rem;
            }

            .info-panel-meta {
                flex-wrap: wrap;
            }

            .info-panel-meta-item {
                flex: 1 1 45%;
            }

            .timeline-container {
                left: 15px;
                right: 15px;
                bottom: 8px;
                padding: 6px 10px;
                gap: 6px;
            }

            .timeline-btn {
                width: 26px;
                height: 26px;
                font-size: 0.75rem;
            }

            .timeline-slider-container {
                min-width: 60px;
                max-width: 120px;
            }

            .timeline-current-date {
                font-size: 0.55rem;
            }

            .globe-controls {
                top: 60px;
                gap: 5px;
            }

            .globe-control-btn {
                width: 28px;
                height: 28px;
                font-size: 0.65rem;
            }

            .trend-chart-panel {
                bottom: 80px;
                max-width: 250px;
            }

            .trend-chart-container {
                height: 100px;
            }

            .header-buttons {
                gap: 5px;
            }

            .theme-toggle, .lang-toggle {
                width: 30px;
                height: 30px;
            }

            .mobile-menu-btn {
                width: 36px;
                height: 36px;
            }
        }

        /* Landscape Mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            .info-panel {
                max-height: 90vh;
            }

            .timeline-container {
                bottom: 40px;
            }

            .terminal-line {
                bottom: 15px;
            }

            .made-by {
                display: none;
            }
        }
