* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Roboto, Arial, sans-serif; }
html, body {
  width: 1280px; height: 720px; overflow: hidden; background: #0c0c14; color: #f8fafc;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 8px 14px 6px; cursor: pointer; position: relative;
}
.skyline-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 145px; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #3b173d 0%, #7c2d50 45%, #c2593f 78%, rgba(12,12,20,0) 100%);
}
.sun-glow {
  position: absolute; top: 14px; right: 16%; width: 105px; height: 105px; border-radius: 50%;
  background: radial-gradient(circle, #fef08a 0%, #fb923c 55%, rgba(251,146,60,0) 75%); opacity: 0.7;
}
.skyline-svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; opacity: 0.92; }
header, main, footer { position: relative; z-index: 2; }
.topbar { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr; align-items: center; padding: 0 4px; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.gta-badge {
  position: relative; width: 46px; height: 44px; border-radius: 8px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #f59e0b 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(236,72,153,0.55); border: 1px solid rgba(255,255,255,0.35);
}
.gta-sub { font-size: 7.5px; font-weight: 900; line-height: 0.95; color: #fff; text-shadow: 0 1px 3px #000; z-index: 2; }
.gta-vi { position: absolute; font-size: 30px; font-weight: 900; color: rgba(255,255,255,0.28); z-index: 1; }
.title-stack h1 { font-size: 21px; font-weight: 900; letter-spacing: 0.8px; text-shadow: 0 2px 8px rgba(0,0,0,0.75); }
.sub-live { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #f1f5f9; margin-top: 2px; font-weight: 800; }
.live-badge { background: #dc2626; color: #fff; padding: 2px 8px; border-radius: 12px; display: inline-flex; align-items: center; gap: 5px; font-weight: 900; }
.pulse { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
.center-clock { text-align: center; }
.center-clock .time { font-size: 24px; font-weight: 900; letter-spacing: 2px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.center-clock .date { font-size: 9.5px; color: #e2e8f0; letter-spacing: 1.8px; font-weight: 800; }
.top-right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.stat-mini { text-align: right; }
.stat-mini small { display: block; font-size: 8.5px; color: #fde68a; font-weight: 800; }
.stat-mini strong { font-size: 18px; font-weight: 900; color: #fef08a; font-variant-numeric: tabular-nums; }
.stat-mini .scan-num { color: #7dd3fc; }
.scan-ring { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(125,211,252,0.25); border-top-color: #38bdf8; animation: spin 2s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.grid-body { display: grid; grid-template-columns: 31% 68%; justify-content: space-between; flex: 1; margin: 6px 0 4px; min-height: 0; }
.left-col { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.panel { background: rgba(18, 20, 31, 0.94); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 9px 12px; }
.p1-panel { border-color: rgba(250, 204, 21, 0.45); box-shadow: 0 0 24px rgba(250, 204, 21, 0.12); }
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tight-top { margin-bottom: 2px; }
.p1-pill { background: #facc15; color: #000; font-size: 9.5px; font-weight: 900; padding: 2px 8px; border-radius: 5px; }
.live-txt { color: #f87171; font-size: 9.5px; font-weight: 900; }
.leader-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.leader-avatar { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: #dc2626; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.leader-row h2 { font-size: 19px; font-weight: 900; }
.leader-row small { color: #94a3b8; font-size: 9.5px; }
.gauge-grid { display: grid; grid-template-columns: 100px 1fr; gap: 10px; align-items: center; }
.ring { width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(#f59e0b 0% 90%, rgba(255,255,255,0.08) 90% 100%); display: flex; align-items: center; justify-content: center; }
.ring-inner { width: 76px; height: 76px; border-radius: 50%; background: #12141f; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-inner strong { font-size: 18px; font-weight: 900; }
.ring-inner span { font-size: 7.5px; color: #facc15; font-weight: 800; }
.spec-list { display: flex; flex-direction: column; gap: 3.5px; }
.spec-row { background: rgba(255,255,255,0.04); padding: 3.5px 8px; border-radius: 5px; display: flex; justify-content: space-between; font-size: 10.5px; }
.spec-row span { color: #94a3b8; font-size: 8.5px; font-weight: 800; }
.fps-blue { color: #38bdf8; } .gain-green { color: #4ade80; } .gap-red { color: #f87171; } .pos-muted { color: #94a3b8; }
.runners { margin-top: 7px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 5px; font-size: 10.5px; }
.runner-line { display: flex; justify-content: space-between; margin-top: 3px; color: #cbd5e1; font-weight: 700; }
.eta-label { font-size: 9.5px; font-weight: 800; color: #38bdf8; }
.eta-time { font-size: 22px; font-weight: 900; letter-spacing: 1px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.eta-unit { font-size: 9.5px; color: #94a3b8; } .eta-sub { font-size: 9.5px; color: #94a3b8; }
.pr-card { border-left: 3px solid #a855f7; }
.pr-label { font-size: 9.5px; font-weight: 800; color: #c084fc; } .pr-age { font-size: 8.5px; color: #64748b; }
.pr-title { font-size: 11.5px; font-weight: 800; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-num { color: #facc15; } .pr-meta { font-size: 9.5px; color: #94a3b8; }
.right-col { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 0; }
.timing-panel { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: 7px 12px; }
.timing-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.timing-head h2 { font-size: 15px; font-weight: 900; }
.pills { display: flex; gap: 5px; font-size: 9.5px; font-weight: 800; }
.pills span { background: rgba(255,255,255,0.07); padding: 2px 7px; border-radius: 12px; color: #cbd5e1; }
.pills .pill-green { color: #4ade80; } .pills .pill-yellow { color: #facc15; } .pills .pill-blue { color: #38bdf8; }
.table-cols, .t-row { display: grid; grid-template-columns: 32px 155px 1fr 50px 44px 34px 44px 62px; align-items: center; }
.table-cols { font-size: 8.5px; color: #64748b; font-weight: 800; padding: 0 6px 3px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.timing-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5px; margin-top: 4px; }
.t-row { background: rgba(255,255,255,0.03); border-radius: 5px; padding: 2.5px 6px; font-size: 10.5px; font-weight: 800; }
.t-row.leader-highlight { background: linear-gradient(90deg, rgba(250,204,21,0.14), rgba(255,255,255,0.03)); border: 1px solid rgba(250,204,21,0.28); }
.pos-badge { width: 20px; height: 20px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 900; }
.build-cell { display: flex; align-items: center; gap: 6px; }
.mini-ava { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; flex-shrink: 0; }
.build-cell small { display: block; font-size: 8px; color: #64748b; font-weight: 600; }
.seg-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-right: 12px; height: 7px; }
.seg-cell { background: rgba(255,255,255,0.08); border-radius: 2px; transition: background 0.6s ease; }
.stage-pill { font-size: 8.5px; padding: 1.5px 5px; border-radius: 4px; text-align: center; background: rgba(34,197,94,0.18); color: #4ade80; border: 1px solid rgba(34,197,94,0.35); }
.sub-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; }
.sub-grid .panel { padding: 6px 10px; }
.sub-grid .panel-top { margin-bottom: 3px; }
.feed-title { font-size: 9.5px; font-weight: 900; color: #f87171; } .vote-title { font-size: 9.5px; font-weight: 900; color: #38bdf8; }
.muted-small { font-size: 8.5px; color: #64748b; } .music-title { color: #e879f9; }
.feed-line { display: flex; justify-content: space-between; font-size: 9px; padding: 1.5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #e2e8f0; }
.feed-line:last-child { border-bottom: none; } .feed-line small { color: #64748b; }
.vote-row { display: grid; grid-template-columns: 14px 88px 1fr 30px; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; margin-top: 2px; }
.v-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.v-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.vote-hint { font-size: 8.5px; color: #94a3b8; margin-top: 3px; }
.vote-hint b { color: #fff; background: rgba(255,255,255,0.1); padding: 1px 4px; border-radius: 3px; }
.footer-wrap { display: flex; flex-direction: column; gap: 2px; }
.footer { display: flex; justify-content: space-between; align-items: center; background: #10131f; border: 1px solid rgba(255,255,255,0.08); border-radius: 7px; height: 26px; padding: 0 10px; font-size: 10.5px; }
.latest-tag { background: #dc2626; color: #fff; font-weight: 900; font-size: 8.5px; padding: 2px 6px; border-radius: 4px; margin-right: 8px; }
.marquee-wrap { flex: 1; overflow: hidden; white-space: nowrap; margin-right: 10px; }
.marquee-txt { display: inline-block; padding-left: 100%; animation: scroll 28s linear infinite; font-weight: 700; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.goal-pills { display: flex; gap: 6px; font-size: 9.5px; font-weight: 900; }
.g-pill { background: rgba(255,255,255,0.08); padding: 2px 7px; border-radius: 5px; color: #cbd5e1; }
.g-pill b { color: #facc15; }
.bottom-meta { display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: #64748b; padding: 0 4px; }
.up-next { background: rgba(19, 22, 34, 0.95); border: 1px solid rgba(255,255,255,0.1); padding: 1.5px 8px; border-radius: 10px; color: #94a3b8; }
.up-next b { color: #f8fafc; }