
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
        --bg: #0d0f14;
        --bg-card: rgba(17,19,24,0.9);
        --border: rgba(255,255,255,0.07);
        --border-hover: rgba(255,255,255,0.14);
        --text: #e2e8f0;
        --text-muted: #94a3b8;
        --text-dim: #64748b;
        --accent: #667eea;
        --accent2: #a78bfa;
        --shadow: rgba(0,0,0,0.4);
    }
    @media (prefers-color-scheme: light) {
        :root {
            --bg: #f1f5f9;
            --bg-card: #ffffff;
            --border: rgba(0,0,0,0.08);
            --border-hover: rgba(0,0,0,0.15);
            --text: #0f172a;
            --text-muted: #475569;
            --text-dim: #94a3b8;
            --shadow: rgba(0,0,0,0.08);
        }
    }
    body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; min-height: 100vh; }
    a { color: inherit; }

    /* Header */
    .pub-header { padding: 24px 24px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1200px; margin: 0 auto; }
    .pub-brand { display: flex; flex-direction: column; }
    .pub-brand h1 { font-size: 1.4rem; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
    .pub-brand p { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }
    .pub-header-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .pub-nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: color 0.15s; white-space: nowrap; }
    .pub-nav-link:hover { color: var(--accent2); }
    .pub-social-icons { display: flex; align-items: center; gap: 4px; }
    .pub-social-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text-muted); text-decoration: none; transition: color 0.15s, background 0.15s; }
    .pub-social-icon:hover { color: var(--text); background: var(--border); }
    .pub-social-soon { color: var(--text-dim); opacity: 0.4; cursor: default; }
    @media (max-width: 600px) { .pub-social-icons { gap: 2px; } .pub-social-icon { width: 28px; height: 28px; } }

    /* Ticker tape */
    .ticker-wrap { border-bottom: 1px solid var(--border); background: var(--bg); }
    .ticker-wrap .tradingview-widget-container { height: 46px; }

    /* Grid */
    .pub-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
    .pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

    /* Card */
    .pub-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
    .pub-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 32px var(--shadow); }
    .pub-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .pub-source { font-size: 0.68rem; font-weight: 700; padding: 2px 9px; border-radius: 100px; border: 1px solid; text-transform: uppercase; letter-spacing: 0.04em; }
    .pub-cat { font-size: 0.68rem; color: var(--text-dim); background: var(--border); padding: 2px 8px; border-radius: 100px; }
    .pub-ts { font-size: 0.65rem; color: var(--text-dim); margin-left: auto; }
    .pub-title { font-size: 0.95rem; font-weight: 700; line-height: 1.45; }
    .pub-title a { text-decoration: none; color: var(--text); transition: color 0.15s; }
    .pub-title a:hover { color: var(--accent2); }
    .pub-bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
    .pub-bullets li { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; padding-left: 14px; position: relative; }
    .pub-bullets li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
    .pub-bullets li:first-child { color: var(--text); font-weight: 600; }
    .pub-bullets li:first-child::before { background: #4ade80; }
    .pub-summary { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; flex: 1; }

    /* Empty state */
    .pub-empty { text-align: center; padding: 80px 20px; color: var(--text-dim); font-size: 0.9rem; line-height: 1.8; }

    /* Footer */
    .pub-footer { border-top: 1px solid var(--border); padding: 20px 24px; text-align: center; font-size: 0.75rem; color: var(--text-dim); max-width: 1200px; margin: 0 auto; }
    .pub-footer a { color: var(--text-dim); text-decoration: none; }
    .pub-footer a:hover { color: var(--text-muted); }

    @media (max-width: 600px) {
        .pub-grid { grid-template-columns: 1fr; }
        .pub-header { padding: 16px; }
        .pub-main { padding: 20px 16px; }
        .pub-ts { display: none; }
    }
    