        /* ═══════════════════════════════════════════════════════════
           MOBILE TAP & SCROLL PERFORMANCE
        ═══════════════════════════════════════════════════════════ */
        /* Eliminate 300ms tap delay on all interactive elements */
        a, button, [role="button"], .artist-card, .comment-card, .city-picker-option {
            touch-action: manipulation;
        }

        /* Instant tap feedback — shows pressed state on pointerdown */
        .artist-card:active, .comment-card:active, .city-picker-option:active {
            transform: translate(2px, 2px) !important;
            box-shadow: none !important;
            transition: none !important;
        }

        /* Promote scrolling containers to GPU layer for smooth scrolling */
        .carousel-scroll {
            will-change: scroll-position;
            -webkit-overflow-scrolling: touch;
        }

        /* Broken images: hide without triggering layout recalc */
        .img-broken {
            visibility: hidden;
        }

        /* Lazy sentinel placeholder */
        .lazy-sentinel {
            min-height: 180px;
            contain: layout style;
        }

        /* Content containment for each rail to reduce layout recalcs */
        .carousel-section {
            contain: layout style;
        }

        /* Home-page-specific styles only — base tokens/components come from design-system.css */

        /* ═══════════════════════════════════════════════════════════
           MAIN CONTENT
        ═══════════════════════════════════════════════════════════ */
        .home-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: var(--pad-page) 0 60px;
        }

        @media (max-width: 767px) {
            .home-content {
                padding-left: 12px;
                padding-right: 12px;
            }
        }

        /* ═══════════════════════════════════════════════════════════
           CAROUSEL SECTION - Netflix rails, serif header, chunky SEE ALL
        ═══════════════════════════════════════════════════════════ */
        .carousel-section {
            margin-bottom: 24px;
            padding: 0;
            position: relative;
            overflow: visible;
        }

        @media (min-width: 768px) {
            .carousel-section {
                padding: 0 var(--pad-page);
            }
        }

        .carousel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0 12px;
            margin-bottom: 0;
            gap: 12px;
        }

        .carousel-header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .trending-header {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }

        .carousel-header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .carousel-nav-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .carousel-title-wrap {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
        }

        .carousel-title {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--ink-navy);
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .carousel-subtitle {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .carousel-see-all {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--ink-navy);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 10px 18px;
            border-radius: 50px;
            border: var(--border-thick) solid var(--ink-navy);
            background: var(--surface-cream);
            box-shadow: 2px 2px 0 var(--ink-navy);
            transition: transform 0.12s, box-shadow 0.12s;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .carousel-see-all:hover {
            transform: translate(-1px, -1px);
            box-shadow: 3px 3px 0 var(--ink-navy);
        }

        .carousel-see-all:active {
            transform: translate(2px, 2px);
            box-shadow: none;
        }

        /* Rail arrows - desktop */
        .rail-arrows {
            display: none;
            align-items: center;
            gap: 8px;
        }

        @media (min-width: 768px) {
            .rail-arrows {
                display: flex;
            }
        }

        .rail-arrow-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: var(--border-thick) solid var(--ink-navy);
            background: var(--surface-cream);
            color: var(--ink-navy);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 2px 2px 0 var(--ink-navy);
            transition: transform 0.12s, box-shadow 0.12s;
        }

        .rail-arrow-btn:hover {
            transform: translate(-1px, -1px);
            box-shadow: 3px 3px 0 var(--ink-navy);
        }

        .rail-arrow-btn:active {
            transform: translate(2px, 2px);
            box-shadow: none;
        }

        .rail-arrow-btn svg {
            width: 18px;
            height: 18px;
        }

        /* ═══════════════════════════════════════════════════════════
           COMMENT PREVIEW CARD
        ═══════════════════════════════════════════════════════════ */
        .comment-card {
            flex: 0 0 200px;
            min-width: 200px;
            background: var(--surface-cream);
            border: 2px solid var(--ink-navy);
            border-radius: var(--radius-lg);
            padding: 16px 14px 12px;
            box-shadow: 2px 2px 0 var(--ink-navy);
            cursor: pointer;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
            scroll-snap-align: start;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            position: relative;
        }

        .comment-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: 4px 4px 0 var(--ink-navy);
        }

        .comment-card-artist-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            width: 100%;
        }

        .comment-card-img-ring {
            position: relative;
            width: 72px;
            height: 72px;
        }

        .comment-card-artist-img {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            object-fit: cover;
            border: var(--border-thick) solid var(--ink-navy);
        }

        .comment-card-artist-img-placeholder {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            border: 3px solid var(--teal);
            background: var(--teal);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .comment-card-artist-img-placeholder svg {
            width: 28px;
            height: 28px;
            color: rgba(255,255,255,0.5);
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        .comment-card-play-btn {
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 2px solid var(--ink-navy);
            background: var(--orange);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            padding: 0;
            box-shadow: 1px 1px 0 var(--border-dark);
            z-index: 2;
        }

        .comment-card-play-btn:hover {
            background: #c9583a;
        }

        .comment-card-play-btn.disabled {
            background: var(--text-muted);
            opacity: 0.4;
            cursor: default;
        }

        .comment-card-play-btn.playing {
            background: var(--teal);
        }

        .comment-card-play-btn svg {
            width: 11px;
            height: 11px;
            fill: white;
            stroke: none;
        }

        .comment-card-artist-name {
            font-family: 'Libre Baskerville', serif;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-dark);
            text-align: center;
            line-height: 1.2;
            width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .comment-card-text {
            font-size: 0.82rem;
            color: var(--text-dark);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-align: center;
            font-style: italic;
            width: 100%;
        }

        .comment-card-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        .comment-card-meta svg {
            width: 12px;
            height: 12px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            vertical-align: -2px;
        }

        .comment-card-felt {
            display: flex;
            align-items: center;
            gap: 3px;
            color: var(--coral);
        }

        .comment-card-felt svg {
            fill: var(--coral);
            stroke: var(--coral);
        }

        .comment-card-replies {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .comment-card-replies svg {
            width: 11px;
            height: 11px;
        }

        .comment-empty-card {
            flex: 0 0 230px;
            background: #FEFCF6;
            border: 2px dashed var(--border-dark);
            border-radius: 12px;
            padding: 30px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-align: center;
            scroll-snap-align: start;
        }

        .comment-empty-card svg {
            width: 32px;
            height: 32px;
            color: var(--text-muted);
            stroke: currentColor;
            stroke-width: 1.5;
            fill: none;
            opacity: 0.5;
        }

        .comment-empty-card p {
            font-size: 0.82rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        .carousel-scroll {
            display: flex;
            flex-wrap: nowrap;
            gap: var(--gap-rail);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            padding: 12px 18px 16px 0;
        }

        .carousel-scroll::-webkit-scrollbar {
            display: none;
        }

        .carousel-wrapper {
            position: relative;
            overflow: visible;
        }

        @media (min-width: 768px) {
            .carousel-scroll {
                gap: 16px;
                padding: 16px 18px 20px 0;
            }
        }

        @media (min-width: 1024px) {
            .carousel-section {
                margin-bottom: 32px;
            }

            .carousel-scroll {
                gap: 20px;
            }

            .carousel-scroll.medium-scroll {
                padding-top: 10px;
            }

            .carousel-scroll.social-strip-scroll {
                padding-top: 8px;
            }

            .artist-card.medium-card {
                flex: 0 0 248px;
                min-width: 248px;
                text-align: left;
                border-width: 2px;
                box-shadow: 2px 2px 0 var(--ink-navy);
            }

            .artist-card.medium-card .artist-card-inner {
                padding: 14px 14px 15px;
            }

            .artist-card.medium-card .artist-card-rank,
            .artist-card.no-rank .artist-card-rank {
                display: none;
            }

            .artist-card.medium-card .artist-card-img-wrap {
                width: 100%;
                height: auto;
                aspect-ratio: 1.08;
                margin: 0 0 12px;
            }

            .artist-card.medium-card .artist-card-img {
                width: 100%;
                height: 100%;
                border-radius: 20px;
            }

            .artist-card.medium-card .artist-card-actions {
                left: 14px;
                bottom: 14px;
                transform: none;
            }

            .artist-card.medium-card .artist-card-play {
                width: 30px;
                height: 30px;
                border-width: 2px;
                box-shadow: 1px 1px 0 var(--ink-navy);
            }

            .artist-card.medium-card .artist-card-name {
                text-align: left;
                font-size: 0.98rem;
                line-height: 1.25;
                margin-bottom: 8px;
                -webkit-line-clamp: 1;
                line-clamp: 1;
            }

            .artist-card.medium-card .artist-card-badges {
                justify-content: flex-start;
                margin-bottom: 10px;
            }

            .artist-card.medium-card .artist-card-genre {
                font-size: 0.58rem;
                padding: 4px 10px;
            }

            .artist-card.medium-card .artist-card-event {
                display: flex;
                flex-direction: column;
                gap: 2px;
                font-size: 0.68rem;
            }

            .artist-card.medium-card .artist-card-event-date {
                font-size: 0.72rem;
            }

            .artist-card.medium-card .artist-card-event-city {
                font-size: 0.66rem;
                color: var(--text-muted);
            }

            .artist-card.medium-card .artist-card-event-venue {
                display: none;
            }

            .comment-card.social-strip-card {
                flex: 0 0 260px;
                min-width: 260px;
                padding: 14px;
                align-items: flex-start;
                gap: 12px;
            }

            .comment-card.social-strip-card .comment-card-artist-wrap {
                flex-direction: row;
                align-items: flex-start;
                gap: 12px;
            }

            .comment-card.social-strip-card .comment-card-img-ring,
            .comment-card.social-strip-card .comment-card-artist-img,
            .comment-card.social-strip-card .comment-card-artist-img-placeholder {
                width: 54px;
                height: 54px;
            }

            .comment-card.social-strip-card .comment-card-artist-img-placeholder svg {
                width: 22px;
                height: 22px;
            }

            .comment-card.social-strip-card .comment-card-play-btn {
                width: 22px;
                height: 22px;
                bottom: -2px;
                left: auto;
                right: -2px;
                transform: none;
            }

            .comment-card.social-strip-card .comment-card-play-btn svg {
                width: 9px;
                height: 9px;
            }

            .comment-card-copy {
                min-width: 0;
                display: flex;
                flex-direction: column;
                gap: 6px;
                flex: 1;
            }

            .comment-card.social-strip-card .comment-card-artist-name,
            .comment-card.social-strip-card .comment-card-text,
            .comment-card.social-strip-card .comment-card-meta {
                text-align: left;
                justify-content: flex-start;
            }

            .comment-card.social-strip-card .comment-card-artist-name {
                white-space: normal;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .comment-card.social-strip-card .comment-card-text {
                font-style: normal;
            }
        }


        /* ═══════════════════════════════════════════════════════════
           HERO SEARCH (desktop only)
        ═══════════════════════════════════════════════════════════ */
        .hero-search {
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            padding: 36px 24px 28px;
            max-width: 640px;
            margin: 0 auto 12px;
        }

        @media (min-width: 1024px) {
            .hero-search {
                display: flex;
            }
        }

        .hero-search-heading {
            margin: 0;
            font-family: 'Libre Baskerville', serif;
            font-size: clamp(2.25rem, 4vw, 3.35rem);
            font-weight: 700;
            color: var(--ink-navy);
            letter-spacing: -0.04em;
            line-height: 0.98;
            text-align: center;
            text-wrap: balance;
        }

        .hero-search-input-wrap {
            position: relative;
            width: 100%;
        }

        .hero-search-input-wrap svg {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            stroke: var(--text-muted);
            fill: none;
            stroke-width: 2;
            pointer-events: none;
        }

        .hero-search-input {
            width: 100%;
            padding: 14px 20px 14px 48px;
            font-family: 'DM Sans', sans-serif;
            font-size: 1rem;
            border: var(--border-thick) solid var(--ink);
            border-radius: var(--radius-pill);
            background: var(--paper);
            color: var(--ink);
            box-shadow: var(--shadow);
            outline: none;
            transition: box-shadow 0.15s, transform 0.15s;
        }

        .hero-search-input:focus {
            box-shadow: var(--shadow-hover);
            transform: translate(-1px, -1px);
        }

        .hero-search-input::placeholder {
            color: var(--text-muted);
            opacity: 0.7;
        }

        /* ═══════════════════════════════════════════════════════════
           TRENDING TIME TABS (Today / Week / Month)
        ═══════════════════════════════════════════════════════════ */
        .trending-time-tabs {
            display: flex;
            gap: 5px;
            flex-shrink: 0;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .trending-time-tabs::-webkit-scrollbar {
            display: none;
        }

        .trending-time-tab {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 7px 14px;
            border-radius: var(--radius-pill);
            border: 2px solid var(--ink);
            background: var(--paper);
            color: var(--ink);
            cursor: pointer;
            transition: background 0.12s, color 0.12s, transform 0.12s, box-shadow 0.12s;
            box-shadow: 1px 1px 0 var(--ink);
            white-space: nowrap;
        }

        .trending-time-tab:hover {
            transform: translate(-1px, -1px);
            box-shadow: 2px 2px 0 var(--ink);
        }

        .trending-time-tab.active {
            background: var(--accent);
            color: white;
            border-color: var(--ink);
            box-shadow: 1px 1px 0 var(--ink);
        }

        /* ═══════════════════════════════════════════════════════════
           SOCIAL SPLIT (two-column grid)
        ═══════════════════════════════════════════════════════════ */
        .social-split {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 24px;
            padding: 0;
        }

        @media (min-width: 768px) {
            .social-split {
                padding: 0 var(--pad-page);
            }
        }

        @media (min-width: 1024px) {
            .social-split {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                gap: 20px;
                margin-bottom: 32px;
            }
        }

        .social-split-panel {
            background: var(--paper);
            border: var(--border-thick) solid var(--ink);
            border-radius: var(--radius-lg);
            padding: 18px;
            box-shadow: var(--shadow);
        }

        .social-split-panel-title {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 14px;
            letter-spacing: -0.01em;
        }

        .social-split-panel-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }

        .social-split-panel-head .social-split-panel-title {
            margin-bottom: 0;
            flex: 1;
            min-width: 0;
        }

        .social-split-panel-link {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 6px 12px;
            border-radius: var(--radius-pill);
            border: 2px solid var(--ink);
            background: var(--accent);
            color: white;
            cursor: pointer;
            box-shadow: 1px 1px 0 var(--ink);
            text-decoration: none;
            flex-shrink: 0;
            transition: transform 0.12s, box-shadow 0.12s;
        }

        .social-split-panel-link:hover {
            transform: translate(-1px, -1px);
            box-shadow: 2px 2px 0 var(--ink);
        }

        /* Active Room panel */
        .active-room-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .active-room-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: var(--border-thick) solid var(--ink);
            flex-shrink: 0;
        }

        .active-room-avatar-placeholder {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--teal);
            border: var(--border-thick) solid var(--ink);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .active-room-avatar-placeholder svg {
            width: 18px;
            height: 18px;
            color: rgba(255,255,255,0.5);
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        .active-room-info {
            flex: 1;
            min-width: 0;
        }

        .active-room-artist {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--ink);
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .active-room-meta {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.68rem;
            color: var(--text-muted);
            font-weight: 500;
            line-height: 1.3;
        }

        .active-room-meta .live-dot {
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            margin-right: 3px;
            vertical-align: middle;
        }

        .active-room-open-btn {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 6px 12px;
            border-radius: var(--radius-pill);
            border: 2px solid var(--ink);
            background: var(--accent);
            color: white;
            cursor: pointer;
            box-shadow: 1px 1px 0 var(--ink);
            text-decoration: none;
            flex-shrink: 0;
            transition: transform 0.12s, box-shadow 0.12s;
        }

        .active-room-open-btn:hover {
            transform: translate(-1px, -1px);
            box-shadow: 2px 2px 0 var(--ink);
        }

        .active-room-notes {
            display: flex;
            flex-direction: column;
            gap: 0;
            margin-bottom: 12px;
        }

        .active-room-note {
            padding: 6px 0;
            border-bottom: 1px solid rgba(26, 46, 53, 0.08);
        }

        .active-room-note:last-child {
            border-bottom: none;
        }

        .active-room-note-text {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.78rem;
            color: var(--ink);
            line-height: 1.35;
        }

        .active-room-note-time {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.58rem;
            color: var(--text-muted);
            margin-top: 1px;
        }

        /* ═══════════════════════════════════════════════════════════
           ARTIST BUBBLES (circle avatars)
        ═══════════════════════════════════════════════════════════ */
        .artist-bubbles {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            justify-content: flex-start;
        }

        @media (max-width: 767px) {
            .artist-bubbles {
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                padding-bottom: 4px;
            }
            .artist-bubbles::-webkit-scrollbar {
                display: none;
            }
        }

        .artist-bubble {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            color: inherit;
            flex-shrink: 0;
            width: 68px;
        }

        .artist-bubble-img-wrap {
            position: relative;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .artist-bubble-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: var(--border-thick) solid var(--ink);
            display: block;
        }

        .artist-bubble-placeholder {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--teal);
            border: var(--border-thick) solid var(--ink);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .artist-bubble-placeholder svg {
            width: 22px;
            height: 22px;
            color: rgba(255,255,255,0.5);
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        .artist-bubble-play {
            position: absolute;
            bottom: -3px;
            right: -3px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 2px solid var(--ink);
            background: var(--accent);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            box-shadow: 1px 1px 0 var(--ink);
            z-index: 2;
        }

        .artist-bubble-play svg {
            width: 9px;
            height: 9px;
            fill: white;
            stroke: none;
        }

        .artist-bubble-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            min-width: 18px;
            height: 18px;
            border-radius: 9px;
            background: var(--accent);
            border: 2px solid var(--paper);
            color: white;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.58rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            z-index: 2;
        }

        .artist-bubble-name {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--ink);
            text-align: center;
            line-height: 1.2;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .artist-bubble:active .artist-bubble-img-wrap {
            transform: scale(0.93);
        }

        /* ═══════════════════════════════════════════════════════════
           MINI CHAT FEED (compact note rows)
        ═══════════════════════════════════════════════════════════ */
        .mini-chat-feed {
            display: flex;
            flex-direction: column;
        }

        .mini-chat-item {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
            padding: 7px 0;
            border-bottom: 1px solid rgba(26, 46, 53, 0.08);
            text-decoration: none;
            color: inherit;
        }

        .mini-chat-item:last-child {
            border-bottom: none;
        }

        .mini-chat-text {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.82rem;
            color: var(--ink);
            line-height: 1.35;
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .mini-chat-time {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.62rem;
            color: var(--text-muted);
            flex-shrink: 0;
            white-space: nowrap;
        }

        /* ═══════════════════════════════════════════════════════════
           GENRE CHIPS (horizontal pills for Top Overall)
        ═══════════════════════════════════════════════════════════ */
        .genre-chips {
            display: flex;
            gap: 6px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 2px;
            margin-bottom: 4px;
        }

        .genre-chips::-webkit-scrollbar {
            display: none;
        }

        .genre-chip {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 7px 14px;
            border-radius: var(--radius-pill);
            border: 2px solid var(--ink);
            background: var(--paper);
            color: var(--ink);
            cursor: pointer;
            transition: background 0.12s, color 0.12s, transform 0.12s, box-shadow 0.12s;
            box-shadow: 1px 1px 0 var(--ink);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .genre-chip:hover {
            transform: translate(-1px, -1px);
            box-shadow: 2px 2px 0 var(--ink);
        }

        .genre-chip.active {
            background: var(--accent);
            color: white;
            border-color: var(--ink);
            box-shadow: 1px 1px 0 var(--ink);
        }

        /* ═══════════════════════════════════════════════════════════
           NOTES MODAL
        ═══════════════════════════════════════════════════════════ */
        .notes-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: flex-end;
            justify-content: center;
            z-index: 3000;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: all 0.2s ease;
        }

        .notes-modal-overlay.open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .notes-modal {
            background: var(--bg-cream);
            border: 2px solid var(--border-dark);
            border-radius: 16px 16px 0 0;
            width: 100%;
            max-width: 500px;
            max-height: 80vh;
            transform: translateY(100%);
            transition: transform 0.2s ease;
            display: flex;
            flex-direction: column;
            padding-bottom: env(safe-area-inset-bottom);
        }

        .notes-modal-overlay.open .notes-modal {
            transform: translateY(0);
        }

        @media (min-width: 768px) {
            .notes-modal-overlay {
                align-items: center;
            }
            .notes-modal {
                border-radius: 16px;
                max-height: 70vh;
            }
        }

        .notes-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            background: var(--teal);
            color: white;
            border-bottom: 2px solid var(--border-dark);
            border-radius: 14px 14px 0 0;
        }

        .notes-modal-header-left {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .notes-modal-img {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255,255,255,0.4);
            flex-shrink: 0;
        }

        .notes-modal-title {
            font-family: system-ui, -apple-system, sans-serif;
            font-size: 1rem;
            font-weight: 700;
        }

        .notes-modal-artist {
            font-size: 0.8rem;
            opacity: 0.9;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .notes-modal-close {
            background: rgba(255,255,255,0.2);
            border: none;
            border-radius: 8px;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: white;
        }

        .notes-modal-close svg {
            width: 18px;
            height: 18px;
        }

        .notes-modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 16px 20px;
            min-height: 150px;
        }

        .notes-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .note-item {
            background: white;
            border: 2px solid var(--border-dark);
            border-radius: 10px;
            padding: 12px;
        }

        .note-text {
            font-size: 0.9rem;
            color: var(--text-dark);
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .note-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .note-felt {
            display: flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            color: var(--text-muted);
        }

        .note-felt.active {
            color: var(--orange);
        }

        .notes-empty {
            text-align: center;
            padding: 24px;
            color: var(--text-muted);
        }

        .notes-loading {
            text-align: center;
            padding: 24px;
            color: var(--text-muted);
        }

        .notes-modal-input {
            display: flex;
            gap: 10px;
            padding: 16px 20px;
            border-top: 2px solid var(--bg-warm);
            background: var(--bg-warm);
        }

        .notes-modal-input input {
            flex: 1;
            padding: 12px 16px;
            background: white;
            border: 2px solid var(--border-dark);
            border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.9rem;
            outline: none;
        }

        .notes-modal-input input:focus {
            border-color: var(--teal);
        }

        .notes-modal-send {
            padding: 12px 20px;
            background: var(--orange);
            color: white;
            border: 2px solid var(--border-dark);
            border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s;
        }

        .notes-modal-send:hover {
            background: var(--orange-light);
        }

        .notes-modal-send:disabled {
            background: var(--text-muted);
            cursor: not-allowed;
        }

        /* ═══════════════════════════════════════════════════════════
           ARTIST CARD
        ═══════════════════════════════════════════════════════════ */
        .artist-card {
            flex: 0 0 130px;
            min-width: 130px;
            background: var(--surface-cream);
            border: 2px solid var(--ink-navy);
            border-radius: var(--radius-lg);
            padding: 0;
            box-shadow: 2px 2px 0 var(--ink-navy);
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            text-align: center;
            scroll-snap-align: start;
            text-decoration: none;
            color: inherit;
            display: block;
            position: relative;
            overflow: visible;
        }

        .artist-card-inner {
            padding: var(--pad-card);
        }

        .artist-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: 4px 4px 0 var(--ink-navy);
        }

        .artist-card:active {
            transform: translate(2px, 2px);
            box-shadow: none;
        }

        .artist-card.has-event {
            border-color: var(--border-dark);
        }

        .artist-card.near-you {
            border-color: var(--orange);
        }

        .artist-card.near-you:hover {
            border-color: var(--orange);
        }

        .artist-card.featured {
            flex: 0 0 130px;
            min-width: 130px;
        }

        .artist-card.featured .artist-card-inner {
            padding: var(--pad-card);
        }

        .artist-card.featured .artist-card-img-wrap {
            width: 56px;
            height: 56px;
        }

        .artist-card.featured .artist-card-img {
            width: 56px;
            height: 56px;
        }

        .artist-card.featured .artist-card-name {
            font-size: 0.72rem;
        }

        .artist-card-rank {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 22px;
            height: 22px;
            background: var(--surface-cream);
            border: 2px solid var(--ink-navy);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.6rem;
            font-weight: 700;
            color: var(--ink-navy);
            z-index: 3;
            box-shadow: 1px 1px 0 var(--ink-navy);
        }

        .artist-card.featured .artist-card-rank {
            width: 24px;
            height: 24px;
            font-size: 0.65rem;
        }

        .artist-card-img-wrap {
            position: relative;
            width: 56px;
            height: 56px;
            margin: 0 auto 8px;
        }

        .artist-card-img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--ink-navy);
            display: block;
            background: var(--bg-warm);
        }

        .artist-card-actions {
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            z-index: 3;
        }

        .artist-card-play {
            width: 26px;
            height: 26px;
            background: var(--orange);
            border: 2px solid var(--ink-navy);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.12s ease;
            padding: 0;
            box-shadow: 2px 2px 0 var(--ink-navy);
        }

        .artist-card-play:hover {
            transform: translate(-1px, -1px);
        }

        .artist-card-play svg {
            width: 10px;
            height: 10px;
            fill: white;
            margin-left: 2px;
        }

        .artist-card-play.playing svg {
            margin-left: 0;
        }

        .artist-card-play.disabled {
            background: var(--text-muted);
            opacity: 0.5;
            cursor: default;
        }

        .artist-card-play.disabled:hover {
            transform: none;
        }

        .artist-card-play.no-preview {
            opacity: 1;
            cursor: pointer;
        }

        .artist-card-play.loading {
            cursor: wait;
            opacity: 0.8;
        }

        .artist-card-play.loading .spin {
            animation: spin 0.8s linear infinite;
        }

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

        .artist-card-comment {
            display: none;
        }

        /* hover popup styles are inline via JS speech bubble IIFE */

        .artist-card-name {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--ink-navy);
            line-height: 1.2;
            margin-bottom: 3px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            position: relative;
            z-index: 1;
        }

        .artist-card-badges {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            flex-wrap: wrap;
            margin-bottom: 2px;
        }

        .artist-card-genre {
            display: inline-block;
            font-size: 0.5rem;
            font-weight: 600;
            color: var(--ink-navy);
            background: rgba(61,107,125,0.12);
            padding: 3px 8px;
            border-radius: 50px;
            border: 1px solid var(--ink-navy);
        }

        .artist-card-event {
            font-size: 0.55rem;
            line-height: 1.25;
            position: relative;
            z-index: 1;
        }

        .artist-card-event-date {
            color: var(--orange);
            font-weight: 700;
        }

        .artist-card-event-venue {
            font-weight: 600;
            color: var(--ink-navy);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-top: 1px;
        }

        .artist-card-event-city {
            color: var(--text-muted);
            font-weight: 400;
            font-size: 0.5rem;
        }

        .artist-card-near-badge {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            background: var(--orange);
            color: white;
            padding: 3px 8px;
            border-radius: 50px;
            border: 1px solid var(--ink-navy);
            font-size: 0.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            box-shadow: 1px 1px 0 var(--ink-navy);
        }

        .artist-card.skeleton {
            pointer-events: none;
        }

        .artist-card.skeleton .artist-card-inner {
            border-color: var(--bg-warm);
        }

        .artist-card.skeleton .artist-card-img,
        .artist-card.skeleton .artist-card-name,
        .artist-card.skeleton .artist-card-genre,
        .artist-card.skeleton .artist-card-event {
            background: var(--bg-warm);
            color: transparent;
            border-radius: 4px;
            border-color: var(--bg-warm);
        }

        .artist-card.skeleton .artist-card-img {
            border-color: var(--bg-warm);
            box-shadow: none;
        }

        .artist-card.skeleton .artist-card-play,
        .artist-card.skeleton .artist-card-rank {
            display: none;
        }

        /* Empty state for section */
        .carousel-empty {
            padding: 32px 16px;
            text-align: center;
            color: rgba(255,255,255,0.9);
            font-size: 0.95rem;
        }

        /* Bottom nav + city picker styles from design-system.css */

        /* ═══════════════════════════════════════════════════════════
           AUDIO PLAYER (hidden)
        ═══════════════════════════════════════════════════════════ */
        #audioPlayer {
            display: none;
        }

        /* ═══════════════════════════════════════════════════════════
           DESKTOP STYLES
        ═══════════════════════════════════════════════════════════ */
        @media (min-width: 768px) {
            .artist-card,
            .artist-card.featured {
                flex: 0 0 180px;
                min-width: 180px;
            }

            .artist-card-img-wrap,
            .artist-card.featured .artist-card-img-wrap {
                width: 72px;
                height: 72px;
            }

            .artist-card-img,
            .artist-card.featured .artist-card-img {
                width: 72px;
                height: 72px;
            }

            .artist-card-rank,
            .artist-card.featured .artist-card-rank {
                width: 26px;
                height: 26px;
                font-size: 0.65rem;
            }

            .artist-card-name,
            .artist-card.featured .artist-card-name {
                font-size: 0.85rem;
            }

            .carousel-title {
                font-size: 1.6rem;
            }
        }

        @media (min-width: 1024px) {
            .artist-card,
            .artist-card.featured {
                flex: 0 0 210px;
                min-width: 210px;
            }

            .artist-card-img-wrap,
            .artist-card.featured .artist-card-img-wrap {
                width: 88px;
                height: 88px;
            }

            .artist-card-img,
            .artist-card.featured .artist-card-img {
                width: 88px;
                height: 88px;
            }

            .artist-card-rank,
            .artist-card.featured .artist-card-rank {
                width: 28px;
                height: 28px;
                font-size: 0.7rem;
            }

            .artist-card-name,
            .artist-card.featured .artist-card-name {
                font-size: 0.92rem;
            }

            .artist-card-event {
                font-size: 0.65rem;
            }

            .carousel-title {
                font-size: 1.7rem;
            }
        }

        /* Mobile: uniform artist card size, 1-2 visible */
        @media (max-width: 767px) {
            .artist-card,
            .artist-card.featured {
                flex: 0 0 130px;
                min-width: 130px;
            }

            .carousel-title {
                font-size: 1.25rem;
            }
        }

        @media (max-width: 767px) {
            .site-header .site-header-inner {
                display: grid !important;
                grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
                grid-template-areas:
                    "location actions"
                    "search search";
                gap: 8px;
                align-items: center;
                flex-wrap: nowrap !important;
            }

            .site-header .city-dropdown-btn {
                grid-area: location;
                width: 100%;
                min-width: 0;
                padding: 8px 10px;
                gap: 6px;
            }

            .site-header .city-dropdown-btn .city-name {
                min-width: 0;
                max-width: clamp(92px, 44vw, 142px);
            }

            .site-header .header-mobile-actions {
                grid-area: actions;
                display: grid;
                grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
                width: 100%;
                min-width: 0;
                gap: 6px;
            }

            .site-header .header-action-btn {
                width: 100%;
                min-width: 0;
                justify-content: center;
                padding: 8px 9px;
                gap: 4px;
                font-size: 0.72rem;
                white-space: nowrap;
            }

            .site-header .header-action-btn svg {
                width: 14px;
                height: 14px;
            }

            .site-header .header-search {
                grid-area: search;
                width: 100%;
                max-width: none;
                min-width: 0;
            }
        }

        /* hover popup styles are inline via JS */

        /* ═══════════════════════════════════════════════════════════
           MOBILE iOS REFINEMENTS
           Readability + touch comfort for iPhone screens.
           Scoped to max-width: 767px. Desktop untouched.
        ═══════════════════════════════════════════════════════════ */
        @media (max-width: 767px) {

            /* ─── 1. HEADER CONTROLS ─── */
            .site-header {
                border-bottom: 0.5px solid rgba(26, 46, 53, 0.15);
                padding-bottom: 10px;
            }

            .site-header .site-header-inner {
                gap: 10px;
            }

            /* 5. Slightly larger controls with 44px tap targets */
            .site-header .city-dropdown-btn {
                min-height: 44px;
                padding: 10px 14px;
                font-size: 0.88rem;
            }

            .site-header .header-action-btn {
                min-height: 44px;
                padding: 10px 12px;
                font-size: 0.8rem;
                gap: 5px;
            }

            .site-header .header-action-btn svg {
                width: 16px;
                height: 16px;
            }

            /* 7. Search bar — slightly reduced height, iOS-native feel */
            .site-header .header-search input {
                min-height: 42px;
                padding: 10px 16px 10px 40px;
                font-size: 1rem;
            }

            .site-header .header-search-icon {
                left: 13px;
                width: 17px;
                height: 17px;
            }

            /* ─── 9. VERTICAL RHYTHM ─── */
            .home-content {
                padding-top: 16px;
                padding-bottom: 36px;
            }

            /* Section spacing — consistent 32px between sections */
            .carousel-section {
                margin-bottom: 32px;
            }

            .carousel-header {
                padding-bottom: 10px;
            }

            /* ─── 4. SECTION TITLES (~26–28px) ─── */
            .carousel-title {
                font-size: 1.625rem;
                line-height: 1.15;
            }

            .carousel-subtitle {
                font-size: 0.78rem;
                margin-top: 2px;
            }

            .carousel-see-all {
                min-height: 34px;
                padding: 7px 13px;
                font-size: 0.7rem;
            }

            /* ─── 3. CAROUSEL LAYOUT — Apple Music discovery rows ─── */
            .carousel-scroll {
                gap: 14px;
                padding: 8px 20px 12px 0;
                scroll-snap-type: x proximity;
                scroll-padding-left: 12px;
            }

            /* Card width ≈ 72% viewport, peek of next card visible */
            .artist-card,
            .artist-card.featured {
                flex: 0 0 min(72vw, 280px);
                min-width: min(72vw, 280px);
                text-align: left;
                border-radius: 14px;
                border-width: 1px;
                box-shadow: 1px 1px 0 var(--ink-navy);
            }

            .artist-card-inner {
                padding: 12px 12px 14px;
            }

            /* Hide rank badge — matches desktop medium layout */
            .artist-card-rank,
            .artist-card.featured .artist-card-rank {
                display: none;
            }

            /* Full-width rectangular image */
            .artist-card-img-wrap,
            .artist-card.featured .artist-card-img-wrap {
                width: 100%;
                height: auto;
                aspect-ratio: 1;
                margin: 0 0 10px;
            }

            .artist-card-img,
            .artist-card.featured .artist-card-img {
                width: 100%;
                height: 100%;
                border-radius: 10px;
                border-width: 1px;
            }

            /* ─── 6. PLAY BUTTON — floating with soft shadow ─── */
            .artist-card-actions {
                left: 10px;
                bottom: 10px;
                transform: none;
            }

            .artist-card-play {
                width: 40px;
                height: 40px;
                border-width: 1.5px;
                box-shadow: 0 2px 8px rgba(26, 46, 53, 0.3), 1px 1px 0 var(--ink-navy);
            }

            .artist-card-play svg {
                width: 16px;
                height: 16px;
            }

            /* ─── CARD TYPOGRAPHY — left-aligned ─── */
            .artist-card-name,
            .artist-card.featured .artist-card-name {
                text-align: left;
                font-size: 1.15rem;
                margin-bottom: 5px;
                line-height: 1.2;
                -webkit-line-clamp: 1;
                line-clamp: 1;
            }

            /* ─── 8. PILL HIERARCHY — genre primary, near-you secondary ─── */
            .artist-card-badges {
                justify-content: flex-start;
                margin-bottom: 5px;
                gap: 4px;
            }

            /* Genre — primary tag */
            .artist-card-genre {
                font-size: 0.78rem;
                padding: 3px 9px;
            }

            /* Event info — left-aligned */
            .artist-card-event {
                text-align: left;
                font-size: 0.85rem;
                line-height: 1.4;
                display: flex;
                flex-direction: column;
                gap: 2px;
            }

            .artist-card-event-date {
                font-size: 0.88rem;
            }

            .artist-card-event-venue {
                display: none;
            }

            .artist-card-event-city {
                font-size: 0.78rem;
                margin-top: 0;
            }

            /* Near-you — secondary tag, smaller than genre */
            .artist-card-near-badge {
                font-size: 0.68rem;
                padding: 2px 7px;
                box-shadow: none;
            }

            /* ─── COMMENT CARDS ─── */
            .comment-card {
                flex: 0 0 min(72vw, 280px);
                min-width: min(72vw, 280px);
                padding: 14px 12px 12px;
                border-radius: 14px;
                border-width: 1px;
                box-shadow: 1px 1px 0 var(--ink-navy);
                gap: 10px;
            }

            .comment-card-img-ring,
            .comment-card-artist-img {
                width: 68px;
                height: 68px;
            }

            .comment-card-play-btn {
                width: 30px;
                height: 30px;
                box-shadow: 0 2px 6px rgba(26, 46, 53, 0.25), 1px 1px 0 var(--ink-navy);
            }

            .comment-card-play-btn svg {
                width: 12px;
                height: 12px;
            }

            .comment-card-artist-name {
                font-size: 0.95rem;
            }

            .comment-card-text {
                font-size: 0.88rem;
            }

            .comment-card-meta {
                font-size: 0.78rem;
            }

            /* Keep social bubble play buttons compact on small avatars */
            .artist-bubble-play.artist-card-play {
                width: 28px;
                height: 28px;
                right: -2px;
                bottom: -2px;
                border-width: 1.5px;
                box-shadow: 0 2px 6px rgba(26, 46, 53, 0.22), 1px 1px 0 var(--ink-navy);
            }

            .artist-bubble-play.artist-card-play svg {
                width: 11px;
                height: 11px;
                margin-left: 1px;
            }

            .artist-bubble-play.artist-card-play.playing svg {
                margin-left: 0;
            }
        }
