.zz-list {
            max-width: 1200px;
            margin: 0 auto;
            box-sizing: border-box;
        }

        #main {
            width: 100%;
            height: 480px;
            background-color: #000;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 16px;
            position: relative; 
        }

        #player {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.2s ease;
        }
        #buttons {
            width: 100%; 
            display: flex;
            gap: 0;
        }
        #switch, #xynext {
            width: 50%; 
            padding: 12px 0;
            font-size: 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #switch {
            background-color: #6c757d;
            color: white;
            margin-right: 5px;
        }
        #switch:hover {
            background-color: #5a6268;
        }

        #xynext {
            background-color: #0d6efd;
            color: white;
            margin-left: 5px;
        }
        #xynext:hover {
            background-color: #0b5ed7;
        }

        @media (max-width: 768px) {
            #switch, #xynext {
                padding: 10px 0;
                font-size: 14px;
            }
            #player.mobile-mode {
                cursor: pointer; 
            }
        }
		.latest-collect-list li {
		    margin: 10px 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, 0.03);
		      border: 1px solid #e5e7eb;
		      transition: 0.2s;
		      cursor: pointer;
		      text-align: left;
		      width: 100%;
		      font-size: 12.5px;
		      font-weight: 500;
		      color: var(--text-sub);
		      min-width: 0;
		      text-decoration: none;
		    }
		    .game-grid .styled-button:hover {
		      transform: translateY(-3px);
		      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
		      border-color: #cbd5e1;
		      color: var(--color-primary);
		    }
		    .game-grid .styled-button::before {
		      content: "\f11b";
		      font-family: "Font Awesome 6 Free";
		      font-weight: 900;
		      color: var(--color-primary);
		      font-size: 14px;
		      flex-shrink: 0;
		      background: #eff6ff;
		      width: 24px;
		      height: 24px;
		      display: flex;
		      align-items: center;
		      justify-content: center;
		      border-radius: 6px;
		    }
		    .game-grid .game-name {
		      flex: 1;
		      white-space: nowrap;
		      overflow: hidden;
		      text-overflow: ellipsis;
		    }
		    @media (max-width: 640px) {
		      .game-grid {
		        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
		        gap: 8px !important;
		      }
		      .game-grid .styled-button {
		        padding: 8px 6px;
		        font-size: 11.5px;
		      }
		      .game-grid .styled-button::before {
		        width: 20px;
		        height: 20px;
		        font-size: 12px;
		      }
		    }
		    body.modal-open {
		      overflow: hidden !important;
		      touch-action: none;
		    }
		    .game-modal-overlay {
		      position: fixed;
		      top: 0;
		      left: 0;
		      width: 100vw;
		      height: 100vh;
		      height: 100dvh;
		      background: rgba(15, 23, 42, 0.95);
		      backdrop-filter: blur(4px);
		      z-index: 9999;
		      display: none;
		      align-items: center;
		      justify-content: center;
		      opacity: 0;
		      transition: opacity 0.3s ease;
		    }
		    .game-modal-overlay.active {
		      display: flex;
		      opacity: 1;
		    }
		    .game-modal-content {
		      width: 85vw;
		      height: 85vh;
		      max-width: 1200px;
		      background: #000;
		      border-radius: 12px;
		      display: flex;
		      flex-direction: column;
		      overflow: hidden;
		      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
		      transform: scale(0.95);
		      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
		    }
		    .game-modal-overlay.active .game-modal-content {
		      transform: scale(1);
		    }
		    .game-modal-header {
		      height: 44px;
		      background: #1e293b;
		      display: flex;
		      justify-content: space-between;
		      align-items: center;
		      padding: 0 12px;
		      border-bottom: 1px solid #334155;
		      flex-shrink: 0;
		    }
		    .game-modal-title {
		      font-size: 14px;
		      color: #f8fafc;
		      font-weight: 500;
		      margin: 0;
		      white-space: nowrap;
		      overflow: hidden;
		      text-overflow: ellipsis;
		      flex: 1;
		    }
		    .game-modal-actions {
		      display: flex;
		      gap: 8px;
		      align-items: center;
		    }
		    .game-modal-actions button {
		      background: rgba(255, 255, 255, 0.1);
		      color: #f8fafc;
		      border: none;
		      padding: 5px 10px;
		      border-radius: 6px;
		      font-size: 13px;
		      cursor: pointer;
		      display: flex;
		      align-items: center;
		      gap: 6px;
		      transition: 0.2s;
		    }
		    .game-modal-actions button:hover {
		      background: rgba(255, 255, 255, 0.2);
		    }
		    .game-modal-actions .btn-close {
		      background: rgba(239, 68, 68, 0.2);
		      color: #fca5a5;
		    }
		    .game-modal-actions .btn-close:hover {
		      background: rgba(239, 68, 68, 0.4);
		      color: #fff;
		    }
		    .game-modal-body {
		      flex: 1;
		      position: relative;
		      width: 100%;
		      height: calc(100% - 44px);
		      background: #000;
		      overflow: hidden;
		    }
		    .game-modal-body iframe {
		      width: 100%;
		      height: 100%;
		      border: none;
		      display: block;
		      background: #000;
		    }
		    @media (max-width: 768px) {
		      .game-modal-content {
		        width: 100%;
		        height: 100%;
		        border-radius: 0;
		        transform: scale(1) translateY(100%);
		        transition: transform 0.3s ease-out;
		      }
		      .game-modal-overlay.active .game-modal-content {
		        transform: scale(1) translateY(0);
		      }
		      .game-modal-actions button span {
		        display: none;
		      }
		      .game-modal-actions button {
		        padding: 6px 12px;
		        font-size: 16px;
		      }
		      .game-modal-body {
		        -webkit-overflow-scrolling: touch;
		      }
		    }


		              @media print {
		                  .print-ignore {
		                      display: none !important;
		                  }
		              }
