
  /* -- PAGE HEADING -- */
  .listing-head { margin-bottom: 1.5rem; }
  .listing-title { font-family: 'Press Start 2P', monospace; font-size: clamp(0.8rem, 2vw, 1.15rem); color: var(--text); line-height: 1.5; margin-bottom: 0.5rem; }
  .listing-title .hl { color: var(--pixel-yellow); }
  .listing-meta { font-size: 0.85rem; color: var(--text-muted); }
  .listing-meta strong { color: var(--text); font-weight: 600; }

  /* -- FILTER BAR -- */
  .filter-bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .filter-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
  .filter-btn { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 5px; transition: all 0.12s; background: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
  .filter-btn:hover, .filter-btn.on { color: var(--pixel-yellow); border-color: rgba(255,215,0,0.3); background: rgba(255,215,0,0.06); }
  .filter-sep { color: var(--border); }

  /* -- GAME LIST -- */
  .game-list { display: flex; flex-direction: column; gap: 0; }

  .game-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 0.75rem;
    position: relative;
  }
  .game-row:hover { border-color: var(--border-hover); box-shadow: 0 6px 24px rgba(0,0,0,0.35); transform: translateX(3px); }

  .gr-thumb { position: relative; width: 180px; flex-shrink: 0; background: var(--navy3); overflow: hidden; }
  .gr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; transition: transform 0.3s; min-height: 100px; }
  .game-row:hover .gr-thumb img { transform: scale(1.05); }
  .gr-badge {
    position: absolute; top: 0.4rem; left: 0.4rem;
    font-family: 'Press Start 2P', monospace; font-size: 0.38rem;
    padding: 0.25rem 0.5rem; border-radius: 3px; letter-spacing: 0.06em;
  }
  .gr-badge.playable { background: rgba(57,211,83,0.9); color: #0d1117; }
  .gr-badge.download { background: rgba(88,166,255,0.9); color: #0d1117; }

  .gr-body { padding: 0.9rem 1.1rem; display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; min-width: 0; }
  .gr-title { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.3; text-decoration: none; }
  .game-row:hover .gr-title { color: var(--pixel-yellow); }
  .gr-dev { font-size: 0.8rem; color: var(--text-muted); }
  .gr-dev a { color: var(--pixel-blue); text-decoration: none; font-size: 0.8rem; }
  .gr-dev a:hover { text-decoration: underline; }
  .gr-tags { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.2rem; }
  .genre-tag { font-size: 0.7rem; color: var(--text-muted); text-decoration: none; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 0.18rem 0.5rem; border-radius: 4px; transition: all 0.12s; }
  .genre-tag:hover { color: var(--text); border-color: var(--border-hover); }
  .gr-year { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--text-muted); }
  .gr-play { display: inline-flex; align-items: center; gap: 0.35rem; font-family: 'Press Start 2P', monospace; font-size: 0.42rem; background: var(--pixel-yellow); color: var(--navy); padding: 0.35rem 0.7rem; border-radius: 4px; margin-top: 0.4rem; align-self: flex-start; transition: all 0.12s; opacity: 0; }
  .game-row:hover .gr-play { opacity: 1; }
  .gr-play.dl { background: var(--pixel-blue); }

  /* -- PAGINATION -- */
  .pagination { display: flex; align-items: center; justify-content: center; gap: 0.35rem; flex-wrap: wrap; margin: 2rem 0; }
  .pg { font-family: 'Press Start 2P', monospace; font-size: 0.5rem; color: var(--text-muted); text-decoration: none; padding: 0.5rem 0.7rem; border: 1px solid var(--border); border-radius: 6px; transition: all 0.12s; min-width: 36px; text-align: center; }
  .pg:hover { color: var(--text); border-color: var(--border-hover); background: rgba(255,255,255,0.04); }
  .pg.current { background: var(--pixel-yellow); color: var(--navy); border-color: var(--pixel-yellow); }
  .pg.arrow { padding: 0.5rem 0.9rem; }
  .pg-info { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-bottom: 0.5rem; }

 
  .glist { list-style: none; display: flex; flex-direction: column; }
  .glist a { display: flex; align-items: center; justify-content: space-between; padding: 0.42rem 0.55rem; border-radius: 5px; color: var(--text-muted); text-decoration: none; font-size: 0.83rem; transition: all 0.12s; }
  .glist a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
  .gl-l { display: flex; align-items: center; gap: 0.5rem; }
  .gl-ic { width: 18px; text-align: center; font-size: 0.82rem; }
  .gl-ct { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: rgba(255,255,255,0.25); }

  .login-form { display: flex; flex-direction: column; gap: 0.6rem; }
  .login-field { display: flex; flex-direction: column; gap: 0.3rem; }
  .login-field label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
  .login-field input { background: var(--navy); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; padding: 0.5rem 0.75rem; outline: none; width: 100%; transition: border-color 0.15s; }
  .login-field input:focus { border-color: var(--pixel-yellow); }
  .login-field input::placeholder { color: rgba(255,255,255,0.2); }
  .login-btn { background: var(--pixel-yellow); color: var(--navy); font-family: 'Press Start 2P', monospace; font-size: 0.52rem; padding: 0.65rem; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.08em; font-weight: 700; width: 100%; margin-top: 0.2rem; box-shadow: 0 3px 0 rgba(180,140,0,0.5); transition: all 0.15s; }
  .login-btn:hover { transform: translateY(-1px); }
  .login-links { display: flex; justify-content: space-between; margin-top: 0.1rem; }
  .login-links a { font-size: 0.75rem; color: var(--pixel-blue); text-decoration: none; }
  .login-links a:hover { color: var(--pixel-yellow); }

  .az { display: flex; flex-wrap: wrap; gap: 4px; }
  .az a { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; font-family: 'Press Start 2P', monospace; font-size: 0.90rem; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); border-radius: 4px; transition: all 0.12s; }
  .az a:hover { color: var(--navy); background: var(--pixel-yellow); border-color: var(--pixel-yellow); transform: scale(1.1); }
  .az a.current { color: var(--navy); background: var(--pixel-yellow); border-color: var(--pixel-yellow); }

  .live-list { display: flex; flex-direction: column; gap: 0.3rem; }
  .live-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.48rem 0.55rem; border-radius: 7px; text-decoration: none; transition: background 0.12s; }
  .live-row:hover { background: rgba(255,255,255,0.05); }
  .live-av { width: 32px; height: 32px; border-radius: 6px; background: var(--navy3); overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); }
  .live-av img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
  .live-inf { min-width: 0; flex: 1; }
  .live-n { font-size: 0.79rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .live-c { font-size: 0.68rem; color: var(--text-muted); }
  .live-dot { width: 7px; height: 7px; background: var(--pixel-green); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 5px var(--pixel-green); animation: lp 2s ease infinite; }
  @keyframes lp { 0%,100%{opacity:1} 50%{opacity:0.25} }


/* GAME LIST */ 
.game-list{ display:flex; flex-direction:column; gap:12px; } /* ROW */ .game-row{ display:flex; align-items:center; gap:16px; padding:10px; background:var(--card); border:1px solid var(--border); border-radius:10px; text-decoration:none; transition:.15s; } .game-row:hover{ border-color:#3b424c; background:#1b2027; } /* IMAGE */ .row-thumb{ width:160px; flex-shrink:0; } .row-thumb img{ width:100%; display:block; border-radius:6px; image-rendering:pixelated; } /* INFO */ .row-info{ display:flex; flex-direction:column; gap:4px; } .row-title{ font-size:18px; font-weight:600; color:white; } .row-year{ font-size:13px; color: #8b949e; } .row-publisher{ font-size:13px;color: #8b949e;}
