.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.game-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: var(--s2); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .35s; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); box-shadow: 0 30px 60px -30px rgba(255, 255, 255, .25); }
.game-card .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.game-card:hover .bg { transform: scale(1.06); }
.game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 30%, transparent 45%, rgba(0, 0, 0, .88) 100%); pointer-events: none; }
.game-card.skeleton { background: linear-gradient(100deg, var(--s1) 30%, var(--s3) 50%, var(--s1) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.game-tags { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.gtag { padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .65); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gtag.new { color: #86efac; border-color: rgba(74, 222, 128, .5); }
.gtag.trend { color: #fcd34d; border-color: rgba(252, 211, 77, .5); }
.gtag.role { margin-left: auto; }
.game-info { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.game-info h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.02em; }
.gicon { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); flex: none; }
.gstats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .72); }
.gstats span { display: inline-flex; align-items: center; gap: 5px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .35; } }

.activity { margin-top: 20px; padding: 26px; border-radius: 18px; border: 1px solid var(--line2); background: var(--s1); }
.act-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.act-head h3 { font-size: 22px; margin-top: 8px; }
.act-stats { display: flex; gap: 28px; text-align: right; }
.act-stats strong { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.act-stats span { font-size: 12px; color: var(--muted); }
.act-range { display: inline-flex; gap: 2px; margin: 18px 0 8px; padding: 4px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg); }
.act-range .tab { height: 30px; padding: 0 16px; border-radius: 999px; font-family: var(--mono); font-size: 12px; }
.act-range .tab.on { background: #fff; color: #000; border-color: transparent; }
.chart { position: relative; margin-top: 8px; }
.chart svg { display: block; width: 100%; height: 300px; }
.chart .gl { stroke: rgba(255, 255, 255, .07); }
.chart .ax { fill: var(--dim); font: 11px var(--mono); }
.chart .cursor { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 4 4; }
.chart-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; padding: 10px 12px; border-radius: 10px; background: var(--s3); border: 1px solid var(--line2); box-shadow: 0 16px 40px -10px #000; font-size: 12px; white-space: nowrap; display: grid; gap: 4px; }
.chart-tip b { font-weight: 600; margin-bottom: 2px; }
.chart-tip div { display: flex; align-items: center; gap: 8px; }
.chart-tip span { margin-left: auto; padding-left: 14px; font-family: var(--mono); }
.chart-tip i, .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; flex: none; }
.chart-empty { padding: 80px 20px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line2); border-radius: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend em { font-style: normal; color: var(--muted); }

@media (max-width: 600px) {
  .games-grid { grid-template-columns: 1fr; }
  .chart svg { height: 220px; }
  .act-stats { text-align: left; }
}
