* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; 
    background-color: #0b0e14; 
    color: #ffffff;
    -webkit-tap-highlight-color: transparent;
}
header {
    position: sticky;
    top: 0;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    padding: 12px 15px;
    border-bottom: 1px solid #1f2937;
}
.header-content {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header h1 { font-size: 1.25rem; font-weight: 700; cursor: pointer; color: #f3f4f6; }
.back-btn {
    background: #1f2937;
    color: white;
    border: 1px solid #374151;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    display: none; 
}
.search-box {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    background: #111827;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    outline: none;
}
.search-input:focus { border-color: #3b82f6; }
.view-container {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 20px;
    display: none; 
}
.view-container.active { display: block; }
.artist-card {
    background: #111827;
    margin-bottom: 8px; 
    border-bottom: 1px solid #1f2937;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer; 
}
.banner-wrap { width: 100%; height: 140px; background: #1f2937; position: relative; }
.banner-img { width: 100%; height: 100%; object-fit: cover; }
.profile-section {
    padding: 0 16px 16px 16px;
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-top: -75px;
}
.avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #111827;
    object-fit: cover;
    background: #374151;
}
.meta-info { margin-left: 12px; margin-bottom: 12px; }
.username { font-size: 1.25rem; font-weight: 600; color: #ffffff; }
.view-btn {
    margin-left: auto;
    margin-bottom: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.profile-header-card {
    background: #111827;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 16px;
    margin-bottom: 12px;
}
.media-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}
.media-item {
    width: 100%;
    aspect-ratio: auto;
    background: #111827;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #1f2937;
}
.media-item img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}
.loader-trigger {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.9rem;
}
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}
.media-item video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    background: #000000;
}

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