/* VERSION: 2026-03-02 FULL-CSS v2 (vacation PC button under address + mobile order info/photo/button) */

/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: keep-all;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 네비게이션 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}
.logo a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 히어로 (기본: 기존 스타일 유지) */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.unsplash.com/photo-1499696010180-025ef6e1a8f9?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.3rem;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -0.6px;
}

.hero-content p {
    max-width: 700px;
    font-size: 1.05rem;
    margin: 0 auto;
    opacity: 0.95;
}

/* =====================================================
   메인 히어로 배너
   ===================================================== */
.hero-main {
    position: relative;
    height: 65vh;
    min-height: 380px;
    width: 100%;
    overflow: hidden;
}

.hero-main-bg {
    position: absolute;
    inset: 0;
}

.hero-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-main-overlay-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-main-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #fcfcfc 0%, transparent 40%);
    z-index: 2;
}

.hero-main-content {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-main-line {
    width: 48px;
    height: 1px;
    background: #d97706;
    margin-bottom: 1.5rem;
}

.hero-main-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b45309;
    margin: 0 0 1.5rem;
}

.hero-main-title {
    font-size: 3rem;
    line-height: 0.95;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 2rem;
    letter-spacing: -0.04em;
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-main-title {
        font-size: 5.5rem;
    }
}

.hero-main-desc {
    font-size: 1.125rem;
    color: #475569;
    margin: 0 0 2.5rem;
    max-width: 40rem;
    line-height: 1.6;
}

.hero-main-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #0f172a;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    align-self: flex-start;
}

.hero-main-cta:hover {
    background: #d97706;
}

.hero-main-scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.hero-main-scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, #e2e8f0, transparent);
}

.hero-main-scroll-text {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* =====================================================
   Discover Global Festivals (타이틀 + 상품 그리드)
   ===================================================== */
.discover-section {
    padding: 4rem 5% 5rem;
    background: #fff;
}

.discover-wrap {
    max-width: 72rem;
    margin: 0 auto;
}

.discover-header {
    margin-bottom: 3rem;
}

.discover-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
}

.discover-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.discover-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (max-width: 767px) {
    .discover-grid {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.5rem 0 1.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .discover-grid::-webkit-scrollbar {
        height: 6px;
    }
    .discover-grid::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 3px;
    }
    .discover-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }
}

@media (min-width: 768px) {
    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .discover-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.discover-card {
    cursor: pointer;
    transition: transform 0.3s;
}

@media (max-width: 767px) {
    .discover-card {
        flex: 0 0 260px;
        width: 260px;
        scroll-snap-align: start;
    }
}

.discover-card:hover {
    transform: translateY(-8px);
}

.discover-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 2rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
}
.discover-card:hover .discover-card-image-wrap {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.discover-card-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.discover-card:hover .discover-card-image-wrap img {
    transform: scale(1.08);
}

.discover-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.discover-card:hover .discover-card-image-overlay {
    opacity: 1;
}

.discover-card-image-text {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #fff;
    transform: translateY(1rem);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.discover-card:hover .discover-card-image-text {
    transform: translateY(0);
    opacity: 1;
}

.discover-card-city {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
}

.discover-card-title-overlay {
    font-size: 1.5rem;
    font-weight: 900;
}

.discover-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #d97706;
}

.discover-card-meta svg {
    flex-shrink: 0;
}

.discover-card-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.discover-card-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.discover-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 컨테이너 */
.container {
    padding: 80px 5%;
}

.bg-light {
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 900;
}

.section-divider {
    border: none;
    border-top: 1px solid #eee;
}

/* =====================================================
   다가오는 축제 탐험 (계절별 퀵 필터 + 카드 그리드)
   ===================================================== */
.upcoming-section {
    background: #fff;
    padding: 64px 5% 80px;
}

.upcoming-wrap {
    max-width: 72rem;
    margin: 0 auto;
}

.upcoming-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .upcoming-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.upcoming-header-text {
    flex-shrink: 0;
}

.upcoming-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}

.upcoming-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.upcoming-tabs {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 4px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
}

.upcoming-season-mobile {
    display: none;
}

@media (max-width: 1182px) {
    .upcoming-tabs {
        display: none;
    }
    .upcoming-season-mobile {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }
    .upcoming-season-mobile-label {
        font-size: 0.875rem;
        font-weight: 600;
        color: #374151;
    }
    .upcoming-season-select {
        flex: 1;
        max-width: 220px;
        padding: 10px 14px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        font-size: 0.9375rem;
        background: #fff;
        color: #111;
        cursor: pointer;
    }
}

.upcoming-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border: none;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.upcoming-tab:hover {
    background: #f3f4f6;
    color: #111;
}

.upcoming-tab-active {
    background: #111;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.upcoming-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .upcoming-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.upcoming-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
}

.upcoming-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.upcoming-card-img-wrap {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.upcoming-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.upcoming-card:hover .upcoming-card-img {
    transform: scale(1.05);
}

.upcoming-card-badge {
    position: absolute;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.upcoming-card-badge-theme {
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #4f46e5;
}

.upcoming-card-badge-season {
    top: 1rem;
    right: 1rem;
    background: rgba(17, 17, 17, 0.7);
    color: #fff;
}

.upcoming-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.upcoming-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

.upcoming-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.3;
    transition: color 0.2s;
}

.upcoming-card:hover .upcoming-card-title {
    color: #4f46e5;
}

.upcoming-card-desc {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upcoming-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.upcoming-card-date {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.upcoming-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4f46e5;
    background: #eef2ff;
    transition: background 0.2s, color 0.2s;
}

.upcoming-card-link:hover {
    background: #4f46e5;
    color: #fff;
}

.upcoming-empty {
    text-align: center;
    padding: 96px 24px;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed #e5e7eb;
}

.upcoming-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.upcoming-empty-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111;
    margin: 0 0 4px;
}

.upcoming-empty-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 24px;
}

.upcoming-reset-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4f46e5;
    background: transparent;
    cursor: pointer;
}

.upcoming-reset-btn:hover {
    text-decoration: underline;
}




/* =====================================================
   지도로 떠나는 축제 여행 (카드 + 핀 + 캐러셀)
   ===================================================== */
.map-section {
    background: #f9fafb;
    padding: 64px 5% 80px;
}

.map-section-wrap {
    max-width: 72rem;
    margin: 0 auto;
}

.map-section-header {
    margin-bottom: 40px;
}

.map-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
}

.map-section-desc {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

/* 좌우 분할: 좌 지도(2칸) / 우 인기 축제 리스트(1칸) */
.map-split-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .map-split-wrap {
        grid-template-columns: 2fr 1fr;
    }
}

.map-split-left {
    position: relative;
    background: rgba(238, 242, 255, 0.5);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(199, 210, 254, 0.5);
    min-height: 400px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.map-country-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(199, 210, 254, 0.5);
    flex-shrink: 0;
}

.map-country-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.map-country-select {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #fff;
    color: #111;
    min-width: 160px;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .map-split-left {
        min-height: 600px;
    }
}

.map-inner {
    width: 100%;
    flex: 1;
    min-height: 340px;
    height: 400px;
    background: #e0e7ff;
}

@media (min-width: 1024px) {
    .map-inner {
        height: 600px;
    }
}

.map-split-right {
    display: flex;
    flex-direction: column;
    height: 400px;
    background: #fff;
    border-radius: 1.5rem;
    padding: 20px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
    .map-split-right {
        height: 600px;
    }
}

.map-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.map-list-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.map-list-reset {
    font-size: 0.75rem;
    color: #4f46e5;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.map-list-reset:hover {
    text-decoration: none;
}

.map-festival-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
}

.map-festival-list::-webkit-scrollbar {
    width: 6px;
}

.map-festival-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.map-list-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 8px;
}

.map-list-item:hover {
    background: #f9fafb;
}

.map-list-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-list-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.map-list-item-thumb img.map-list-item-flag {
    width: auto;
    height: auto;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.map-list-item:hover .map-list-item-thumb img {
    transform: scale(1.1);
}

.map-list-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 1.5rem;
}

.map-list-item-info {
    min-width: 0;
    flex: 1;
}

.map-list-item-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px;
    transition: color 0.2s;
}

.map-list-item:hover .map-list-item-title {
    color: #4f46e5;
}

.map-list-item-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.map-list-item-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.map-list-item:hover .map-list-item-arrow {
    background: #4f46e5;
    color: #fff;
}

.map-list-item-date {
    font-size: 0.75rem;
    color: #4f46e5;
    font-weight: 500;
    margin: 4px 0 0;
}

/* Google InfoWindow 툴팁 스타일 (마커 호버 시 축제명) */
.map-pin-infowindow {
    padding: 6px 12px;
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.map-carousel-block {
    margin-top: 0;
}

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

.map-carousel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-reset-btn {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    border: none;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.map-reset-btn:hover {
    color: #4f46e5;
}





/* 푸터 */
.footer {
    background: #111;
    color: #9ca3af;
    padding: 48px 5% 40px;
    font-size: 12px;
    line-height: 1.7;
}
.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    margin-bottom: 20px;
}
.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
}
.footer-links a:hover {
    color: #fff;
}
.footer-privacy {
    font-weight: 700;
    color: #fff !important;
}
.footer-bar {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #4b5563;
    margin: 0 12px;
}
.footer-company {
    margin-bottom: 16px;
}
.footer-toggle {
    display: none;
    background: none;
    border: 1px solid #4b5563;
    color: #d1d5db;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 12px;
}
.footer-toggle:hover {
    border-color: #9ca3af;
    color: #fff;
}
.footer-info {
    margin: 0 0 16px;
}
.footer-info-line {
    margin-bottom: 4px;
}
.footer-sep {
    color: #4b5563;
    margin: 0 8px;
}
@media (max-width: 768px) {
    .footer-toggle { display: inline-block; }
    .footer-info { display: none; }
    .footer-info.open { display: block; }
    .footer-sep { display: none; }
    .footer-info-line {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-bottom: 8px;
    }
}
.footer-info li {
    margin-bottom: 2px;
}
.footer-info strong {
    color: #d1d5db;
    margin-right: 6px;
}
.footer-biz-link {
    color: #60a5fa;
    text-decoration: underline;
    margin-left: 4px;
}
.footer-biz-link:hover {
    color: #93bbfd;
}
.footer-notice {
    color: #6b7280;
    margin: 16px 0 12px;
    font-size: 11px;
}
.footer-copy {
    color: #6b7280;
    font-size: 11px;
    margin: 0;
}

/* =====================================================
   축제 상세 보기 (풀페이지 오버레이)
   ===================================================== */
.festival-detail-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 2000;
}
.festival-detail-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.festival-detail {
    position: fixed;
    inset: 0;
    z-index: 2001;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 280ms ease;
}
/* Scroll area extends to bottom; footer overlays on top */
.festival-detail .detail-scroll {
    flex: 1 1 0;
    min-height: 0;
    padding-bottom: 200px; /* space for booking footer */
}
.festival-detail .detail-booking-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.festival-detail.is-open {
    transform: translateY(0%);
}

/* 상단 바 */
.detail-top-bar {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.detail-back-btn {
    width: 34px;
    height: 34px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

/* 스크롤 영역 — full width so scrollbar sits at overlay edge */
.detail-scroll {
    flex: 1;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
/* Content inside scroll area is constrained */
.detail-scroll > * {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* Always show scrollbar on desktop (macOS hides by default) */
@media (min-width: 768px) {
    .detail-scroll {
        scrollbar-width: thin;
        scrollbar-color: #d1d5db transparent;
    }
    .detail-scroll::-webkit-scrollbar {
        width: 6px;
    }
    .detail-scroll::-webkit-scrollbar-track {
        background: transparent;
    }
    .detail-scroll::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 3px;
    }
    .detail-scroll::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
}

/* 이미지 갤러리 */
.detail-gallery-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
.detail-gallery-wrapper::-webkit-scrollbar { display: none; }
.detail-gallery-track {
    display: inline-flex;
    gap: 8px;
    padding: 4px 18px;
}
.detail-gallery-img {
    width: 380px;
    height: 270px;
    background: #f3f4f6;
    border-radius: 14px;
    flex-shrink: 0;
    overflow: hidden;
    object-fit: cover;
}
@media (min-width: 768px) {
    .detail-gallery-img {
        width: 500px;
        height: 400px;
    }
}

/* 축제 정보 */
.detail-title-section {
    padding: 14px 18px 0;
}
.detail-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.detail-tag {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.detail-tag-type {
    background: #111;
    color: #fff;
}
.detail-tag-country {
    background: #fff;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}
.detail-fest-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 8px;
}
@media (min-width: 768px) {
    .detail-fest-name {
        font-size: 1.75rem;
    }
}
.detail-fest-meta {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* 콘텐츠 스트림 */
.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-content .content-headline {
    padding: 18px 18px 4px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    line-height: 1.4;
}

.detail-content .content-text {
    padding: 14px 18px 0;
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.75;
}
.detail-content .content-text p {
    margin-bottom: 10px;
}
.detail-content .content-text p:last-child {
    margin-bottom: 0;
}

.detail-content .content-image {
    margin: 14px 18px 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.detail-content .content-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.detail-content .content-image .img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.45));
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
}

.detail-content .content-summary {
    padding: 18px;
}
.detail-content .summary-block {
    background: #f9fafb;
    border-radius: 14px;
    padding: 16px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}
.detail-content .summary-block h4 {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}
.detail-content .summary-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.detail-content .summary-block li {
    padding: 4px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    gap: 6px;
    align-items: baseline;
}
.detail-content .summary-block li:last-child {
    border-bottom: none;
}
.detail-content .summary-block .label {
    font-weight: 600;
    color: #374151;
}
.detail-content .summary-block a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.detail-content .summary-block a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .detail-content .content-image img {
        height: 500px;
    }
}

/* =========================
   Hotel Section
   ========================= */
.hotel-section {
    padding: 18px;
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.hotel-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.hotel-section-body {
    display: flex;
    gap: 16px;
}
.hotel-map-wrap {
    flex: 1;
    height: 500px;
}
.detail-hotel-map {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #f0f0f0;
}
.hotel-list-wrap {
    width: 320px;
    height: 500px;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 14px;
    padding: 8px;
    box-sizing: border-box;
}
.hotel-section-body.no-hotels .hotel-list-wrap {
    display: none;
}

/* Hotel cards */
.hotel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 6px;
}
.hotel-card:first-child {
    padding-top: 12px;
    padding-bottom: 14px;
}
.hotel-card:last-child {
    padding-top: 14px;
    padding-bottom: 12px;
    border-bottom: none;
}
.hotel-card:hover {
    background: #f0f1f3;
}
.hotel-card-active {
    background: #eff6ff;
}
.hotel-card-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 10px;
}
.hotel-card-info {
    flex: 1;
    min-width: 0;
}
.hotel-card-category {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    line-height: 1;
}
.hotel-card-name {
    font-size: 14px;
    font-weight: 700;
    margin: 1px 0 1px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}
.hotel-card-price {
    font-size: 15px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}
.hotel-card-book {
    flex-shrink: 0;
    margin-left: 8px;
    padding: 4px 10px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.hotel-card-book:hover {
    background: #1d4ed8;
}
.hotel-back-btn {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    text-align: left;
}
.hotel-back-btn:hover {
    color: #374151;
}
.hotel-loading, .hotel-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Mobile hotel card overlay */
.hotel-mobile-overlay {
    display: none;
}

@media (max-width: 768px) {
    .hotel-section-body {
        flex-direction: column;
        position: relative;
    }
    .hotel-map-wrap {
        flex: none;
        height: 400px;
        width: 100%;
        position: relative;
    }
    .hotel-list-wrap {
        display: none !important;
    }
    .hotel-mobile-overlay {
        display: flex;
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
        z-index: 10;
        overflow: hidden;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    }
    .hotel-mobile-overlay.hidden {
        display: none;
    }
    .hotel-mobile-track {
        display: flex;
        transition: transform 0.25s ease;
        width: 100%;
    }
    .hotel-mobile-card {
        flex-shrink: 0;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 14px 12px 16px;
        box-sizing: border-box;
        gap: 10px;
    }
    .hotel-mobile-card .hotel-card-img {
        width: 90px;
        height: 90px;
        border-radius: 10px;
        margin-right: 0;
    }
    .hotel-mobile-card .hotel-card-name {
        font-size: 15px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hotel-mobile-card .hotel-card-price {
        font-size: 16px;
    }
    .hotel-mobile-card .hotel-card-info {
        flex: 1;
        min-width: 0;
    }
    .hotel-mobile-card-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2px;
    }
    .hotel-mobile-close {
        position: absolute;
        top: 6px;
        right: 8px;
        background: none;
        border: none;
        font-size: 18px;
        color: #9ca3af;
        cursor: pointer;
        z-index: 11;
        line-height: 1;
        padding: 2px 4px;
    }
    .hotel-mobile-dots {
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 4px;
    }
    .hotel-mobile-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #d1d5db;
    }
    .hotel-mobile-dot.active {
        background: #2563eb;
    }
}

/* 고정 하단: 항공권 예약 */
.detail-booking-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 14px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
}

/* 노선 */
.detail-route {
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-route-code {
    text-align: center;
}
.detail-route-code .code {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}
.detail-route-code .city {
    font-size: 11px;
    color: #6b7280;
}
.detail-route-line {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 30px;
}
.detail-route-line .line {
    flex: 1;
    height: 1px;
    background: #d1d5db;
}
.detail-route-line .plane {
    color: #9ca3af;
    font-size: 14px;
}

/* 날짜 + 박수 선택 */
.detail-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.detail-dates-group {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.detail-date-block {}
.detail-date-label {
    font-size: 11px;
    color: #6b7280;
}
.detail-date-value {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}
.detail-date-separator {
    color: #d1d5db;
    font-size: 12px;
}
.detail-night-pills {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.detail-night-pill {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #f3f4f6;
    color: #6b7280;
}
.detail-night-pill:hover {
    background: #e5e7eb;
}
.detail-night-pill.active {
    background: #2563eb;
    color: #fff;
}

/* 가격 + 검색 */
.detail-price-search {
    display: flex;
    align-items: center;
    gap: 12px;
}
.detail-price-info {
    flex: 1;
}
.detail-price-label {
    font-size: 12px;
    color: #6b7280;
}
.detail-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: #2563eb;
}
.detail-search-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.detail-search-btn:hover {
    background: #1d4ed8;
}



/* =====================================================
   AI 채팅 플로팅 버튼 & 패널
   ===================================================== */
.ai-chat-fab {
    position: fixed;
    right: 18px;
    bottom: 24px;
    transform: none;
    z-index: 2400;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.ai-chat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 2390;
}

.ai-chat-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ai-chat-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 520px;
    max-width: 100%;
    height: 100%;
    background: #fafafa;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 220ms ease;
    z-index: 2401;
    display: flex;
    flex-direction: column;
}

.ai-chat-panel.is-open {
    transform: translateX(0);
}

.ai-chat-header {
    padding: 16px 16px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-chat-title {
    font-weight: 900;
    font-size: 18px;
}

.ai-chat-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}

.ai-chat-close {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
}

.ai-chat-reset {
    border-radius: 999px;
    border: 1px solid #ddd;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    background: #fafafa;
    color: #333;
    cursor: pointer;
}

.ai-chat-messages {
    flex: 2;
    padding: 16px 18px 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #f9fafb;
}

.ai-chat-message {
    display: flex;
    margin-bottom: 8px;
}

.ai-chat-message-user {
    justify-content: flex-end;
}

.ai-chat-message-assistant {
    justify-content: flex-start;
}

.ai-chat-bubble {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.ai-chat-friendly {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.6;
}

.ai-chat-section-title {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 900;
    color: #666;
}

/* 답변 내 가로 스와이프(캐러셀) 영역 */
.ai-chat-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.ai-chat-rail::-webkit-scrollbar {
    height: 10px;
}

.ai-chat-rail::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.14);
    border-radius: 999px;
}

.ai-chat-rail::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-card {
    flex: 0 0 auto;
    width: min(280px, 100%);
    scroll-snap-align: start;
    background: radial-gradient(circle at top left, #fff7e6, #ffffff);
    border: 1px solid #f3e2c4;
    border-radius: 16px;
    padding: 11px 13px 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
}

.ai-chat-card-title {
    font-weight: 900;
    font-size: 14px;
    color: #111;
    line-height: 1.25;
}

.ai-chat-card-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.ai-chat-card-desc {
    margin-top: 8px;
    font-size: 13px;
    color: #374151;
    line-height: 1.45;
    white-space: pre-wrap;
}

.ai-chat-card-cta {
    margin-top: auto;
    padding: 6px 10px;
    border-radius: 999px;
    border: 0;
    font-size: 12px;
    font-weight: 900;
    background: #111827;
    color: #fff;
    cursor: pointer;
}

.ai-chat-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-chat-chip {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.ai-chat-message-user .ai-chat-bubble {
    background: #111;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.ai-chat-message-assistant .ai-chat-bubble {
    background: #ffffff;
    color: #111827;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}

.ai-chat-body {
    flex: 1;
    display: flex;
    min-height: 0;
}

.ai-chat-reco {
    flex: 1.3;
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    background: #f3f4f6;
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.ai-chat-section-title-reco {
    padding-bottom: 4px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #6b7280;
}

.ai-chat-input-row {
    display: flex;
    padding: 8px;
    border-top: 1px solid #eee;
    background: #fff;
    gap: 6px;
}

.ai-chat-input-row input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
}

.ai-chat-input-row button {
    border-radius: 999px;
    border: none;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
    background: #00b7ff;
    color: #fff;
    cursor: pointer;
}

/* 타이핑 인디케이터 */
.ai-chat-typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ai-chat-typing-bubble span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #999;
    animation: ai-dot 1s infinite ease-in-out;
}

.ai-chat-typing-bubble span:nth-child(2) {
    animation-delay: 0.15s;
}

.ai-chat-typing-bubble span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes ai-dot {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* 모바일: 패널이 전체 화면 레이어처럼 보이도록 */
@media (max-width: 768px) {
    .ai-chat-fab {
        bottom: 24px;
        transform: none;
    }

    .ai-chat-panel {
        width: 100%;
    }

    .ai-chat-body {
        flex-direction: column;
    }

    .ai-chat-reco {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding-top: 8px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .container {
        padding: 50px 5%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .carousel-item img {
        height: 320px;
    }
}

/* =====================================================
   스포츠 페이지 (다크 테마 - 리그/월/팀 필터 + 일자별 일정)
   ===================================================== */
.hero-sports {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.sports-page-wrap {
    background: #1e2330;
    color: #e8eaed;
    padding: 0 5% 60px;
    min-height: 60vh;
}

.sports-league-bar {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.sports-league-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sports-tag {
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.sports-tag:hover {
    background: rgba(255, 255, 255, 0.15);
}

.sports-tag-active {
    background: #5b9bd5;
    color: #0d2137;
}

.sports-season-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
}

.sports-season-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.sports-season-year {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sports-year-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.sports-year-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#sports-year-display {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: center;
}

.sports-calendar-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.sports-month-bar {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
    overflow-x: auto;
}

.sports-month-tags {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    padding-right: 8px;
}

.sports-month-tag {
    flex-shrink: 0;
    padding: 8px 14px;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sports-month-tag:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sports-month-tag-active {
    background: #5b9bd5;
    color: #0d2137;
}

.sports-month-more {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sports-team-bar {
    display: flex;
    align-items: center;
    padding: 16px 0;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sports-team-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    padding-right: 8px;
}

.sports-team-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: none;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sports-team-chip:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sports-team-chip-active {
    background: #5b9bd5;
    color: #0d2137;
}

.sports-team-chip-badge {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.sports-team-more {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sports-schedule {
    padding: 24px 0;
}

.sports-date-group {
    margin-bottom: 24px;
}

.sports-date-header {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 16px;
    margin-bottom: 2px;
}

.sports-match-row {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sports-match-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sports-match-time {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.sports-match-stadium {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.sports-match-center {
    display: grid;
    grid-template-columns: 1fr 32px 140px 32px 1fr;
    align-items: center;
    justify-items: center;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.sports-match-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.sports-match-team:first-of-type {
    justify-content: flex-end;
}

.sports-match-team:last-of-type {
    justify-content: flex-start;
}

.sports-match-badge {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.sports-match-team-name {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.sports-match-score {
    width: 32px;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    color: #fff;
}

.sports-match-status {
    width: 130px;
    min-height: 24px;
    padding: 0 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
}

.sports-match-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.sports-match-round {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.sports-match-actions {
    display: flex;
    gap: 6px;
}

.sports-match-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.sports-match-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.sports-loading,
.sports-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.nav-links a.active {
    color: #0f3460;
    font-weight: 800;
}

@media (max-width: 768px) {
    .sports-league-bar {
        padding: 12px 0;
        margin: 0 -5%;
        padding-left: 5%;
        padding-right: 5%;
    }
    .sports-league-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sports-league-tags::-webkit-scrollbar {
        display: none;
    }
    .sports-tag {
        flex-shrink: 0;
    }

    .sports-match-row {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        padding: 12px 10px;
        min-height: auto;
    }
    .sports-match-left {
        order: 1;
    }
    .sports-match-right {
        grid-column: 2;
        order: 2;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }
    .sports-match-center {
        grid-column: 1 / -1;
        order: 3;
        grid-template-columns: minmax(0, 1fr) 28px 90px 28px minmax(0, 1fr);
        gap: 6px;
        max-width: 100%;
        padding: 8px 0;
    }
    .sports-match-team {
        min-width: 0;
    }
    .sports-match-team-name {
        max-width: 100%;
        font-size: 0.85rem;
    }
    .sports-match-status {
        width: 88px;
        font-size: 0.7rem;
    }
    .sports-match-badge {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
}