.zz-list { max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
#main {
  width: 100%;
  height: 220px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}
#player { width: 100%; height: 100%; object-fit: cover; }
#buttons { width: 100%; display: flex; gap: 0; }
#switch, #xynext {
  width: 50%;
  padding: 10px 0;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
}
#switch { background: #6c757d; margin-right: 5px; }
#xynext { background: #0d6efd; margin-left: 5px; }
.game-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 5px;
  margin-top: 20px;
}
.game-grid .styled-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  background: var(--bg-white);
  border-radius: 8px;
  padding: 10px 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
  border: 1px solid #e5e7eb;
  text-decoration: none;
  width: 100%;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-sub);
  min-width: 0;
}
.game-grid .styled-button:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,.08);
  border-color: #cbd5e1;
  color: var(--color-primary);
}
.game-grid .game-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zn-card-wrap { position: relative; display: block; }
.zn-card-wrap > .zn-card-badge {
  position: absolute;
  top: -8px;
  left: -9px;
  padding: 3px 4px;
  background: #ff4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  z-index: 3;
  transform: rotate(-15deg);
  pointer-events: none;
}
.zn-card-bold { font-weight: 700 !important; }
.zn-card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: #eff6ff;
  border-radius: 50%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  color: #3b82f6;
}
.zn-card-ico img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.zn-card-hover {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  width: 100%;
  min-width: 96px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f5;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
}
.zn-card-hit-wrap:hover .zn-card-hover,
.zn-card-hit-wrap:focus-within .zn-card-hover {
  opacity: 1;
  pointer-events: auto;
}
.zn-hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.zn-hv-detail { background: #3b82f6; color: #fff; }
.zn-hv-similar { background: #f1f5f9; color: #334155; }
@media (max-width: 768px), (hover: none) {
  .zn-card-hover { display: none !important; }
}
@media (max-width: 768px) {
  #main { height: 180px; }
}
