        :root {
            --primary-color: #2563eb;
            --secondary-color: #0d47a1;
            --accent-color: #10b981;
            --accent-secondary: #7c3aed;
            --text-color: #1e293b;
            --light-bg: #f8fafc;
            --dark-bg: #0f172a;
            --white: #ffffff;
            --gray: #e2e8f0;
            --gray-light: #f1f5f9;
            --border-color: #cbd5e1;
            --success-color: #10b981;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            -webkit-tap-highlight-color: transparent;
        }
        body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;background:var(--light-bg);color:var(--text-color);}
        a{text-decoration:none;color:var(--primary-color)}

        .app-container {
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .app-header {
            background-color: var(--white);
            padding: 15px 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .app-logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
        }
        .app-logo span { color: var(--accent-color); }
        .app-logo-icon { margin-right: 8px; font-size: 24px; }
        .menu-button {
            background: none; border: none; font-size: 24px;
            color: var(--text-color); cursor: pointer; width: 40px; height: 40px;
            display: flex; align-items: center; justify-content: center; border-radius: 50%;
        }
        .menu-button:active { background-color: var(--gray-light); }

        .app-content {
            flex: 1;
            padding-bottom: 60px; /* Space for bottom nav */
        }

        .container{max-width:800px;margin:0 auto;padding:20px 15px 80px;}
        .title{font-size:24px;font-weight:800;margin-bottom:20px;text-align:center;}
        .news-item{background:#fff;margin-bottom:10px;padding:15px;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.08);}    
        .news-title{font-weight:600;margin-bottom:6px;line-height:1.4;}
        .news-meta{font-size:12px;color:#64748b;display:flex;justify-content:space-between;align-items:center;}
        .news-source{display:flex;align-items:center;}
        .news-icon{width:16px;height:16px;border-radius:50%;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;margin-right:6px;}
        .pagination{display:flex;flex-wrap:wrap;justify-content:center;margin-top:20px;gap:6px;}
        .page-btn{padding:6px 10px;border:1px solid #cbd5e1;border-radius:4px;font-size:14px;cursor:pointer;background:#fff;}
        .page-btn.active{background:#2563eb;color:#fff;border-color:#2563eb;}

        .bottom-nav {
            background-color: var(--white);
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }
        .nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; color: #64748b; }
        .nav-item.active { color: var(--primary-color); }
        .nav-icon { font-size: 20px; margin-bottom: 4px; }
        .nav-label { font-size: 12px; font-weight: 500; }

        .mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; background-color: var(--white); width: 80%; max-width: 300px; z-index: 200; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; }
        .mobile-menu.open { transform: translateX(0); }
        .menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 199; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
        .menu-overlay.open { opacity: 1; visibility: visible; }
        .menu-header { padding: 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gray); }
        .menu-close { background: none; border: none; font-size: 24px; color: var(--text-color); cursor: pointer; }
        .menu-user { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid var(--gray); }
        .user-avatar { width: 50px; height: 50px; border-radius: 50%; background-color: var(--gray); margin-right: 15px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--white); background-color: var(--primary-color); }
        .user-name { font-weight: 600; margin-bottom: 5px; }
        .user-email { font-size: 14px; color: #64748b; }
        .menu-items { flex: 1; overflow-y: auto; padding: 10px 0; }
        .menu-item { display: flex; align-items: center; padding: 15px 20px; color: var(--text-color); }
        .menu-item:active { background-color: var(--gray-light); }
        .menu-item-icon { margin-right: 15px; font-size: 20px; width: 24px; text-align: center; }
        .menu-footer { padding: 20px; border-top: 1px solid var(--gray); }
        .logout-button { display: flex; align-items: center; color: var(--danger-color); font-weight: 600; }
        .logout-icon { margin-right: 10px; }
