/* ═══════════════════════════════════════════════
   GLOBAL OYUN ARAMA — tüm sayfalarda ortak kullanılır
═══════════════════════════════════════════════ */
.gs-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(3, 8, 9, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    flex-direction: column;
    animation: gsFadeIn 0.22s ease;
}

.gs-overlay.open { display: flex; }

@keyframes gsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gs-box {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #061016;
    border-left: 1px solid rgba(16, 158, 202, 0.12);
    border-right: 1px solid rgba(16, 158, 202, 0.12);
}

.gs-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.gs-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(16, 158, 202, 0.2);
    border-radius: 12px;
    padding: 0 12px;
    height: 46px;
}

.gs-input-wrap svg { flex-shrink: 0; color: rgba(238, 243, 245, 0.4); }

.gs-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #eef3f5;
    font-size: 15px;
    font-family: inherit;
    height: 100%;
}

.gs-input::placeholder { color: rgba(238, 243, 245, 0.35); }

.gs-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eef3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.gs-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 10px 24px;
}

.gs-hint {
    padding: 40px 20px;
    text-align: center;
    color: rgba(238, 243, 245, 0.35);
    font-size: 13px;
}

.gs-hint svg { margin-bottom: 12px; opacity: 0.5; }

.gs-section-lbl {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(238, 243, 245, 0.4);
    text-transform: uppercase;
    padding: 10px 8px 8px;
}

.gs-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

.gs-row:hover, .gs-row:active { background: rgba(16, 158, 202, 0.08); }

.gs-row-thumb {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    background: #14201f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gs-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gs-row-info { flex: 1; min-width: 0; }

.gs-row-name {
    font-size: 14px;
    font-weight: 700;
    color: #eef3f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gs-row-provider {
    font-size: 12px;
    color: rgba(238, 243, 245, 0.4);
    margin-top: 1px;
}

.gs-row-play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(16, 158, 202, 0.12);
    color: #109ECA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gs-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.gs-spinner .sp {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(16, 158, 202, 0.2);
    border-top-color: #1C87B7;
    border-radius: 50%;
    animation: gsSpin 0.8s linear infinite;
}

@keyframes gsSpin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
    .gs-box { max-width: 100%; border-left: none; border-right: none; }
}
