/* =============================================
   検索結果ページ (LuminaLive Search)
   ============================================= */
.search-view {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 64px;
}
.search-loading { padding: 80px 0; text-align: center; color: var(--text-dim); }

.search-head {
    padding: 12px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.search-head-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
}
.search-head-title #search-query {
    color: var(--accent);
    font-weight: 700;
}
.search-head-meta {
    margin: 0;
    font-size: 13px;
    color: var(--text-dim);
}

.search-section { margin-bottom: 36px; }
.search-section-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.search-section-count {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
}

/* アーティストチップ */
.search-artist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-artist-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.search-artist-chip:hover {
    background: var(--surface3);
    border-color: var(--accent);
    color: var(--accent);
}
.search-artist-chip-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* 楽曲グリッド (home.js のカードと同じ見た目) */
.search-song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.search-song-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
}
.search-song-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.search-song-card-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--surface3), var(--surface2));
    position: relative;
    overflow: hidden;
}
.search-song-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-song-card-thumb-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    font-size: 14px; font-weight: 600;
}
.search-song-card-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.search-song-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-song-card-artist {
    font-size: 12px;
    color: var(--text-dim);
}
.search-song-card-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* 演出リスト (song-chart に類似のシンプル版) */
.search-chart-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.search-chart {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 14px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.12s;
    align-items: center;
}
.search-chart:hover {
    background: var(--surface3);
    border-color: var(--accent);
}
.search-chart-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface3), var(--surface2));
}
.search-chart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-chart-thumb-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: var(--text-dim);
}
.search-chart-info { min-width: 0; }
.search-chart-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-chart-sub {
    font-size: 11px;
    color: var(--text-dim);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.search-chart-sub-sep { color: var(--text-muted); }
.search-chart-likes {
    font-size: 11px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
}

/* 空状態 */
.search-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-dim);
}
.search-empty-icon { font-size: 48px; opacity: 0.4; margin-bottom: 12px; }
.search-empty-text {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 6px;
}
.search-empty-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}
