:root { --bg: #0d0f14; --card: #131821; --text: #e6edf3; --muted: #8a97a5; --primary: #2dd4bf; --danger: #ff5e6c; --accent: #7c5cff; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC", "Helvetica Neue", Arial; }
.hidden { display: none; }
#splash { position: fixed; inset: 0; background: radial-gradient(1200px 600px at 80% -20%, #142032 0%, #0b0e13 60%); z-index: 9999; overflow: hidden; }
#splashCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 18vh; pointer-events: none; }
.splash-overlay .logo { font-size: 36px; letter-spacing: 2px; font-weight: 700; text-shadow: 0 10px 30px rgba(0,0,0,.5); }
.splash-overlay .tagline { margin-top: 8px; color: var(--muted); }
.app-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: rgba(13,15,20,.7); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.app-header .title { font-weight: 600; }
.net-indicator { font-size: 12px; color: #96a3b3; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.06); }
.page { display: none; padding: 12px; }
.page.active { display: block; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.section-title { font-weight: 600; margin-bottom: 8px; }
.meta { color: var(--muted); font-size: 12px; margin-top: 6px; }
.tabbar { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 8px; background: rgba(13,15,20,.85); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.06); }
.tabbar button { padding: 10px; color: var(--text); background: transparent; border: none; border-radius: 10px; cursor: pointer; }
.tabbar button.active { background: rgba(255,255,255,.06); }
.carousel { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.06); margin-bottom: 12px; }
.carousel .slides { display: flex; transition: transform .5s ease; }
.carousel .slide { min-width: 100%; height: 160px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(45,212,191,.1), rgba(124,92,255,.1)); }
.carousel .ph { color: var(--muted); }
.carousel .dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; gap: 6px; justify-content: center; }
.carousel .dots b { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.3); }
.carousel .dots b.active { background: var(--primary); }
#chartWrap { position: relative; }
#priceChart { width: 100%; height: 280px; display: block; background: #0a0d12; border-radius: 8px; }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #cdd7e1; border-radius: 8px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 10px 6px; border-bottom: 1px dashed rgba(255,255,255,.06); }
.news-list li:last-child { border-bottom: none; }
.news-list .title { font-weight: 500; }
.news-list .meta { color: var(--muted); font-size: 12px; }
.news-list a { color: var(--text); text-decoration: none; }
.news-list a:hover { color: var(--primary); }
.empty { display: grid; place-items: center; height: 60vh; color: var(--muted); }
.empty .icon { font-size: 40px; margin-bottom: 10px; }
.fade-out { animation: fadeOut .6s ease forwards; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
