/* 파일 경로: Biryong/wwwroot/css/pages/index.css */

/* =========================================
   비룡운세 디자인 토큰 — 「차콜·먹색 + 골드」 컨셉
   캘리그래피 먹과 한지 결의 한국 전통 톤 (자연·신비·고급)
   변수 이름은 sage/terra 그대로 유지 (값만 갈아끼움 → 모든 룰에 자동 반영)
   ========================================= */
:root {
    /* ── 메인 브랜드: 차콜·먹색 (변수명만 sage 유지) ── */
    --s1-sage:        #6B5F4A;  /* 메인 — 따뜻한 차콜 */
    --s1-sage-deep:   #3D3528;  /* 호버·진한 먹색 */
    --s1-sage-soft:   #C9C2B5;  /* 연한 베이지·먹 (뱃지·배경) */
    --s1-sage-bg:     #F0EAE0;  /* 아주 연한 한지 톤 (필 영역) */

    /* ── 액센트: 클래식 골드 (변수명만 terra 유지) ── */
    --s1-terra:       #D4AF37;  /* 골드 */
    --s1-terra-soft:  #E8D78F;  /* 라이트 골드 */
    --s1-terra-deep:  #A48820;  /* 딥 골드 */

    /* ── 베이스 (한지 톤) ── */
    --s1-cream:       #FAF7F0;  /* 한지 (메인 배경) */
    --s1-cream-soft:  #FDFAF3;  /* 더 밝은 톤 */
    --s1-surface:     #FFFFFF;
    --s1-border:      #E5DDD2;  /* 베이지 보더 */
    --s1-border-soft: #F0EAE0;

    /* ── 텍스트 (먹 그레이) ── */
    --s1-text:        #2A2620;  /* 딥 먹색 */
    --s1-text-muted:  #5C5045;  /* 무드 먹 그레이 */
    --s1-text-dim:    #9A8F80;

    /* ── 시맨틱 (대기/통화/경고) ── */
    --s1-success:     #5B8E63;
    --s1-danger:      #B8534B;
    --s1-warn:        #D4A65A;

    /* ── 효과 (먹 그림자) ── */
    --s1-shadow-sm:   0 1px 3px rgba(45, 38, 32, 0.06);
    --s1-shadow-md:   0 4px 14px rgba(45, 38, 32, 0.10);
    --s1-shadow-lg:   0 8px 28px rgba(45, 38, 32, 0.14);
    --s1-radius-sm:   6px;
    --s1-radius:      10px;
    --s1-radius-lg:   16px;

    /* ── 레거시 별칭 (이미 작성된 .s1-* 룰 호환) ── */
    --s1-navy:        var(--s1-sage);
    --s1-navy-deep:   var(--s1-sage-deep);
    --s1-navy-soft:   var(--s1-sage-soft);
    --s1-gold:        var(--s1-terra);
    --s1-gold-soft:   var(--s1-terra-soft);
    --s1-gold-deep:   var(--s1-terra-deep);
}

/* =========================================
   상단 고정 영역 — 추천 섹션 + 검색바 묶음
   ========================================= */
/* 추천+검색 영역 — 모바일/PC 모두 헤더 바로 아래에 fixed.
   top 은 JS 가 측정한 실제 헤더 높이(--live-header-height) 를 따라간다. */
.s1-pinned-top {
    background: var(--s1-cream);
    padding: 0 14px 10px;
    box-shadow: 0 4px 12px rgba(45, 38, 32, 0.10);
    border-bottom: 1px solid var(--s1-border-soft);
    position: fixed;
    top: var(--live-header-height, 110px);
    left: 0;
    right: 0;
    z-index: 90;
    margin: 0;
}

/* PC 전용: 내부 자식들 중앙 정렬 (max-width 1000) */
@media (min-width: 769px) {
    .s1-pinned-top .s1-recommend-wrap,
    .s1-pinned-top .search-row,
    .s1-pinned-top .s1-type-row {
        max-width: 1000px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.s1-pinned-top .s1-recommend-wrap { margin-bottom: 10px; }
.s1-pinned-top .search-row { margin: 0; }

/* =========================================
   가독성 강화 — 핀 영역 (헤더 / 라이브 칩 / 카테고리 / 추천 카드)
   기존 룰을 override 해 한 번에 폰트·패딩 +15% 키움
   ========================================= */

/* ── 헤더 위계 정리 — 영문 라벨 ↓, 한글 메인 ↑ ── */
.s1-pinned-top .s1-rec-eyebrow {
    font-size: 0.7rem !important;
    letter-spacing: 0.18em;
    color: var(--s1-text-muted);
}
.s1-pinned-top .s1-rec-title {
    font-size: 1.3rem !important;
    line-height: 1.35;
    font-weight: 700;
}
.s1-pinned-top .s1-rec-sub {
    font-size: 0.92rem !important;
    line-height: 1.4;
}

/* ── 라이브 상태 칩 — 숫자 큼 + 안내문 가독성 ── */
.s1-pinned-top .s1-live-pill {
    padding: 7px 15px;
    font-size: 1rem;
}
.s1-pinned-top .s1-live-pill strong {
    font-size: 1.3rem !important;
    margin-left: 5px;
    font-weight: 800;
}
.s1-pinned-top .s1-live-copy {
    font-size: 0.88rem !important;
    line-height: 1.4;
    color: var(--s1-text-muted);
}

/* ── 카테고리 칩 — 패딩 + 폰트 ↑ + 클릭 영역 확대 ── */
.s1-pinned-top .s1-cat-btn {
    padding: 9px 16px !important;
    font-size: 1.02rem !important;
    font-weight: 600;
    min-height: 38px;
    line-height: 1.2;
}
.s1-pinned-top .s1-cat-btn .emoji {
    font-size: 1.1rem !important;
    opacity: 1;
}

/* ── 추천 카드 — 텍스트 가독성 + specialty 칩 + M8_TYPE 컬러 띠 ── */
.s1-pinned-top .s1-rec-card .rec-name {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}
.s1-pinned-top .s1-rec-card .rec-desc {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--s1-text);
}
.s1-pinned-top .s1-rec-card .rec-meta {
    font-size: 0.88rem;
    margin-top: 2px;
}
.s1-pinned-top .s1-rec-card .rec-meta .rec-status-label {
    font-size: 0.88rem;
    font-weight: 700;
}
.s1-pinned-top .s1-rec-card .rec-action {
    font-size: 0.92rem;
    font-weight: 700;
    padding: 5px 12px;
}

/* M8_TYPE 좌측 5px 컬러 띠 — 분야 시각 분리 (타로=파랑/신점=빨강/역학=노랑) */
.s1-rec-card.has-type-stripe {
    position: relative;
    padding-left: calc(0.7rem + 5px);
}
.s1-rec-card.has-type-stripe::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 5px; height: 100%;
    background: var(--rec-type-color, #999);
    border-radius: var(--s1-radius) 0 0 var(--s1-radius);
    pointer-events: none;
}

/* specialty 미리보기 칩 (1~2개) */
.s1-rec-card .rec-spec-row {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin: 3px 0 2px;
}
.s1-rec-card .rec-spec-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.13);
    color: #78350F;
    border: 1px solid rgba(212, 175, 55, 0.45);
    white-space: nowrap;
    line-height: 1.4;
}

/* 추천 카드 — 분야 강조 박스 (이전 "바로상담" 자리에 표시) */
.s1-rec-card .rec-fortune-tag {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    border: 1.5px solid;
    text-align: center;
    letter-spacing: -0.2px;
    align-self: flex-start;
}
.s1-rec-card .rec-fortune-tag.rec-fortune-tag-empty {
    background: rgba(212, 175, 55, 0.10);
    color: #78350F;
    border-color: rgba(212, 175, 55, 0.45);
}

/* 모바일 — 핀 영역 최대한 압축 (본문 카드 영역 확보 위해) */
@media (max-width: 768px) {
    /* 핀 영역 외곽 패딩 줄임 */
    .s1-pinned-top           { padding: 4px 8px 6px !important; }

    /* 추천 섹션 외곽 패딩 / 마진 — 최대 압축 */
    .s1-recommend-wrap { padding: 5px 8px 6px !important; margin-bottom: 4px !important; border-radius: 8px; }

    /* 헤더 — 한글 메인만, 영문 라벨/안내문 숨김 */
    .s1-pinned-top .s1-rec-eyebrow  { display: none !important; }
    .s1-pinned-top .s1-rec-sub      { display: none !important; }
    .s1-pinned-top .s1-rec-title    { font-size: 0.9rem !important; line-height: 1.15; }
    .s1-pinned-top .s1-rec-head     { margin-bottom: 4px !important; padding-bottom: 3px !important; }

    /* 라이브 상태 칩 — 한 줄 컴팩트, 안내문 숨김 */
    .s1-pinned-top .s1-live-summary        { gap: 4px !important; margin-bottom: 4px !important; padding: 3px 6px !important; }
    .s1-pinned-top .s1-live-pill           { padding: 2px 8px !important; font-size: 0.74rem !important; }
    .s1-pinned-top .s1-live-pill strong    { font-size: 0.9rem !important; margin-left: 3px; }
    .s1-pinned-top .s1-live-copy           { display: none !important; }

    /* 카테고리 칩 — 컴팩트 */
    .s1-cat-row              { margin-bottom: 4px !important; padding-bottom: 1px !important; gap: 4px !important; }
    .s1-pinned-top .s1-cat-btn      { padding: 4px 9px !important; font-size: 0.78rem !important; min-height: 26px; }
    .s1-pinned-top .s1-cat-btn .emoji { font-size: 0.85rem !important; }

    /* 추천 카드 — 모바일에선 3열로 줄여서 4번째 카드 잘림 방지. JS의 s1Target() 과 동기. */
    .s1-rec-cards            { grid-template-columns: repeat(3, 1fr) !important; gap: 5px !important; padding: 2px 0 !important; }
    .s1-rec-card             { padding: 5px 7px !important; min-height: 0 !important; min-width: 0 !important; gap: 3px !important; }
    .s1-rec-card.has-type-stripe { padding-left: calc(0.45rem + 4px) !important; }
    .s1-rec-card.has-type-stripe::before { width: 4px !important; }
    .s1-rec-card .rec-thumb  { width: 48px !important; height: 48px !important; }
    .s1-rec-card .rec-thumb-orb { font-size: 0.9rem !important; }
    .s1-rec-card .rec-thumb-initial { font-size: 0.72rem !important; }
    .s1-rec-card .rec-badge  { font-size: 0.55rem !important; padding: 1px 5px !important; }
    .s1-pinned-top .s1-rec-card .rec-name   { font-size: 0.84rem !important; line-height: 1.15; }
    .s1-pinned-top .s1-rec-card .rec-desc   { font-size: 0.7rem !important; line-height: 1.2; -webkit-line-clamp: 1; }
    /* specialty 칩·메타·분야박스 모두 숨김 — 본문 카드에서 보면 됨 */
    .s1-rec-card .rec-spec-row    { display: none !important; }
    .s1-rec-card .rec-meta        { display: none !important; }
    .s1-rec-card .rec-fortune-tag { display: none !important; }

    /* 운세 타입 버튼 — 컴팩트 */
    .s1-type-row             { margin-bottom: 4px !important; gap: 5px !important; }
    .s1-type-btn             { min-height: 40px !important; padding: 4px 3px !important; gap: 1px !important; }
    .s1-type-btn .s1-type-icon  { font-size: 1.05rem !important; }
    .s1-type-btn .s1-type-label { font-size: 0.85rem !important; }

    /* 검색바 — 높이/패딩 컴팩트 */
    .s1-pinned-top .search-row { padding: 0 !important; gap: 6px !important; }
    .modern-search { min-height: 34px !important; }
    .modern-search .search-icon { font-size: 0.95rem !important; }
    .modern-input { font-size: 0.88rem !important; padding: 5px 8px !important; }
    .live-badge { padding: 4px 9px !important; font-size: 0.75rem !important; }
    #live-counselor-count { font-size: 0.75rem !important; }
}

/* =========================================
   운세 타입 분류 버튼 (타로 · 신점 · 역학) — 검색 바로 위 핵심 필터
   ========================================= */
.s1-type-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
}
.s1-type-btn {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 4px 8px;
    min-height: 58px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
}
.s1-type-btn .s1-type-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}
.s1-type-btn .s1-type-label {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* 호버 — 살짝 떠오르는 입체감 */
.s1-type-btn:hover {
    transform: translateY(-2px);
}
.s1-type-btn:active {
    transform: translateY(0);
    transition-duration: 0.08s;
}

/* 모든 버튼에 동일한 빛 흐름 (시머) — 비활성·활성 모두 같은 강도·속도 */
.s1-type-btn::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 38%; height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: s1TypeShine 3.4s ease-in-out infinite;
    pointer-events: none;
    opacity: 1;
}
@keyframes s1TypeShine {
    0%   { left: -60%; }
    65%  { left: 130%; }
    100% { left: 130%; }
}
/* 시머 시차 — 4개 버튼이 동시에 빛나지 않도록 살짝 어긋나게 */
.s1-type-all::after    { animation-delay: 0s;   }
.s1-type-tarot::after  { animation-delay: 0.85s; }
.s1-type-shaman::after { animation-delay: 1.7s;  }
.s1-type-saju::after   { animation-delay: 2.55s; }

/* 차콜 펄스 글로우 (단일 톤 — 4개 모두 같은 차콜 글로우, 시차만 다름) */
@keyframes s1TypePulse {
    0%,100% { box-shadow: 0 0 0 rgba(61, 53, 40, 0); }
    50%     { box-shadow: 0 0 16px rgba(61, 53, 40, 0.30); }
}

/* ── 차콜·먹색 단일 톤 — 4개 버튼 동일 스타일, 식별은 이모지(🃏🔮📜) + 텍스트로 ── */
.s1-type-btn {
    color: #2A2620;
    border-color: rgba(61, 53, 40, 0.30);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 6px rgba(61, 53, 40, 0.06);
    animation: s1TypePulse 3.6s ease-in-out infinite;
}
.s1-type-btn:hover {
    background: linear-gradient(135deg, #FAF7F0 0%, #F0EAE0 100%);
    border-color: rgba(61, 53, 40, 0.6);
    box-shadow: 0 4px 12px rgba(61, 53, 40, 0.18);
    color: #1F1B16;
}
.s1-type-btn.active {
    background: linear-gradient(135deg, #6B5F4A 0%, #3D3528 50%, #1F1B16 100%);
    color: #FAF7F0;
    border-color: #1F1B16;
    box-shadow:
        0 6px 20px rgba(61, 53, 40, 0.45),
        inset 0 1px 0 rgba(212, 175, 55, 0.55);   /* 골드 상단 inset 라인 — 액센트 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.30);
    animation: none;   /* 활성 시 펄스 OFF, 시머만 유지 */
}

/* 시차로 4 버튼이 차례로 부드럽게 펄스 (단일 톤이라 더 우아) */
.s1-type-all    { animation-delay: 0s;   }
.s1-type-tarot  { animation-delay: 0.9s; }
.s1-type-shaman { animation-delay: 1.8s; }
.s1-type-saju   { animation-delay: 2.7s; }

/* 이모지는 컬러 그대로 살림 — 식별성 확보 */
.s1-type-btn .s1-type-icon {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.10));
}

/* prefers-reduced-motion 존중 */
@media (prefers-reduced-motion: reduce) {
    .s1-type-btn { animation: none; }
    .s1-type-btn::after { animation: none; }
}

/* ── 모바일: 살짝 컴팩트 ── */
@media (max-width: 480px) {
    .s1-type-row { gap: 6px; margin-bottom: 8px; }
    .s1-type-btn {
        min-height: 50px;
        padding: 7px 3px 6px;
        border-radius: 12px;
    }
    .s1-type-btn .s1-type-icon { font-size: 1.3rem; }
    .s1-type-btn .s1-type-label { font-size: 1rem; }
}

/* =========================================
   비룡운세 — 「오늘의 큐레이션」 추천 섹션
   원형 프로필 + 절제된 타이포 + 세이지/테라코타 액센트
   ========================================= */
.s1-recommend-wrap {
    margin: 0 0 10px;
    padding: 12px 14px 12px;
    background:
        linear-gradient(115deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.74) 55%, rgba(248,241,255,0.9) 100%),
        radial-gradient(circle at top right, var(--s1-sage-bg) 0%, transparent 60%),
        var(--s1-surface);
    border: 1px solid var(--s1-border);
    border-radius: 0 0 var(--s1-radius) var(--s1-radius);
    box-shadow: 0 5px 18px rgba(45, 38, 32, 0.10);
    position: relative;
    overflow: hidden;
}
.s1-recommend-wrap::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg,
        var(--s1-sage-deep) 0%,
        var(--s1-sage) 30%,
        var(--s1-terra-soft) 70%,
        var(--s1-terra) 100%);
}
.s1-recommend-wrap::after {
    content: "";
    position: absolute;
    top: 3px;
    left: -35%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.9), transparent);
    animation: s1LiveSweep 4.8s ease-in-out infinite;
}
@keyframes s1LiveSweep {
    0% { left: -35%; opacity: 0; }
    18% { opacity: 1; }
    62% { opacity: 1; }
    100% { left: 105%; opacity: 0; }
}

/* 헤더 — 한 줄 컴팩트 */
.s1-rec-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--s1-border-soft);
}
.s1-rec-title-block {
    display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.s1-rec-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
    color: var(--s1-sage-deep);
    text-transform: uppercase;
}
.s1-rec-eyebrow::before {
    content: ""; width: 14px; height: 1.5px;
    background: var(--s1-sage); display: inline-block;
}
.s1-rec-title {
    font-family: 'Noto Serif KR', 'Nanum Myeongjo', ui-serif, serif;
    font-size: 1rem; font-weight: 700; color: var(--s1-text);
    letter-spacing: -0.01em; line-height: 1.2;
    margin: 0;
}
.s1-rec-title .accent {
    color: var(--s1-terra-deep);
    font-style: italic;
}
.s1-rec-sub {
    font-size: 0.7rem; color: var(--s1-text-muted);
    text-align: right; line-height: 1.3;
    font-style: italic;
}

.s1-live-summary {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -2px 0 9px;
    min-height: 26px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.s1-live-summary::-webkit-scrollbar { display: none; }
.s1-live-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid var(--s1-border-soft);
    background: rgba(255,255,255,0.82);
    color: var(--s1-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}
.s1-live-pill strong {
    color: var(--s1-text);
    font-size: 0.82rem;
}
.s1-live-pill.ready {
    border-color: rgba(91,142,99,0.28);
    background: rgba(91,142,99,0.10);
    color: #386d42;
}
.s1-live-pill.busy {
    border-color: rgba(184,83,75,0.25);
    background: rgba(184,83,75,0.08);
    color: #944039;
}
.s1-live-pill.wait {
    border-color: rgba(212,166,90,0.3);
    background: rgba(212,166,90,0.10);
    color: #8b671f;
}
.s1-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--s1-success);
    box-shadow: 0 0 0 0 rgba(91,142,99,0.45);
    animation: s1LiveDot 1.6s infinite;
}
.s1-live-copy {
    flex: 1 1 auto;
    min-width: 180px;
    color: var(--s1-text-dim);
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
@keyframes s1LiveDot {
    0% { box-shadow: 0 0 0 0 rgba(91,142,99,0.45); }
    75% { box-shadow: 0 0 0 7px rgba(91,142,99,0); }
    100% { box-shadow: 0 0 0 0 rgba(91,142,99,0); }
}

/* 카테고리 버튼 — 가로 스크롤 (한 줄 유지, 좌우 swipe) */
.s1-cat-row {
    display: flex; gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    /* 스크롤바 숨김 (모바일 swipe UI 깔끔하게) */
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}
.s1-cat-row::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}
/* 첫번째 카테고리는 좌측에 살짝 들어와서 스크롤 시작 위치 명확 */
.s1-cat-btn:first-child { scroll-snap-align: start; }
.s1-cat-btn { scroll-snap-align: start; }
.s1-cat-btn {
    flex: 0 0 auto;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--s1-border);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--s1-text-muted);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex; align-items: center; gap: 4px;
    user-select: none;
    line-height: 1.5;
}
.s1-cat-btn:hover {
    border-color: var(--s1-sage);
    color: var(--s1-sage-deep);
    background: var(--s1-sage-bg);
}
.s1-cat-btn.active {
    background: var(--s1-sage-deep);
    border-color: var(--s1-sage-deep);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(107, 95, 74, 0.25);
}
.s1-cat-btn .emoji { font-size: 0.85rem; opacity: 0.9; }

/* 추천 카드 그리드 — 상담사 정보가 읽히는 크기 */
.s1-rec-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    min-height: 0;
    transition: opacity 500ms ease;
    opacity: 1;
}
.s1-rec-cards.s1-rec-fading { opacity: 0; }
/* reduced-motion 일 때도 opacity 페이드는 유지 — 움직임이 아닌 단순 투명도 변화이고
   페이드가 없으면 콘텐츠가 깜빡거려 오류처럼 보여 가독성이 더 떨어짐. */
.s1-rec-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 18px 10px;
    color: var(--s1-text-dim);
    font-size: 0.78rem;
    font-style: italic;
    background: var(--s1-cream-soft);
    border-radius: var(--s1-radius-sm);
    border: 1px dashed var(--s1-border);
}

/* ── 카드 본체 — 전화상담 명함 ── */
.s1-rec-card {
    background: var(--s1-surface);
    border: 1px solid var(--s1-border-soft);
    border-radius: 12px;
    padding: 10px 12px;
    transition: all 0.18s ease;
    position: relative;
    text-decoration: none;
    color: var(--s1-text);
    display: flex; flex-direction: row;
    align-items: center;
    gap: 12px;
    overflow: visible;
    min-height: 84px;
}
.s1-rec-card:hover {
    border-color: var(--s1-sage);
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(45, 38, 32, 0.13);
    text-decoration: none;
    color: var(--s1-text);
}
.s1-rec-card:hover .rec-thumb {
    box-shadow: 0 0 0 2px var(--s1-sage-bg), 0 2px 6px rgba(45, 38, 32, 0.12);
}

/* 추천 뱃지 — 카드 우상단 */
.s1-rec-card .rec-badge {
    position: absolute; top: 7px; right: 8px;
    background: linear-gradient(135deg, var(--s1-terra) 0%, var(--s1-terra-deep) 100%);
    color: #FFFFFF;
    font-size: 0.6rem; font-weight: 800;
    padding: 2px 7px; border-radius: 999px;
    letter-spacing: 0.06em;
    box-shadow: 0 1px 4px rgba(164, 136, 32, 0.22);
    white-space: nowrap;
    line-height: 1.4;
}

/* 원형 프로필 사진 — 가독성 개선으로 PC 100px 까지 확대 */
.s1-rec-card .rec-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--s1-cream);
    flex-shrink: 0;
    position: relative;
    border: 2px solid var(--s1-surface);
    box-shadow: 0 0 0 2px var(--s1-sage-soft), 0 3px 8px rgba(45, 38, 32, 0.10);
    transition: box-shadow 0.18s ease;
}
.s1-rec-card .rec-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}

/* 인기 카드 — 디폴트 상담사 썸네일 (사진 없을 때) */
/* 인기 카드 — 카테고리 chip (이름 옆) */
.s1-rec-card .rec-type-chip {
    display: inline-block;
    font-size: 0.6rem; font-weight: 800;
    padding: 2px 7px; border-radius: 999px;
    border-style: solid; border-width: 1px;
    margin-left: 3px; vertical-align: middle;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .s1-rec-card .rec-type-chip { font-size: 0.5rem; padding: 0.5px 5px; }
}

.s1-rec-card .rec-thumb-default {
    width: 100%; height: 100%;
    background:
        radial-gradient(circle at 30% 25%, rgba(244,216,122,0.25) 0%, transparent 50%),
        linear-gradient(135deg, #6B5F4A 0%, #3D3528 60%, #1F1B16 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #F4D87A; gap: 1px;
    position: relative; overflow: hidden;
}
.s1-rec-card .rec-thumb-orb {
    font-size: 1.95rem; line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.s1-rec-card .rec-thumb-initial {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.55rem; font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
@media (max-width: 768px) {
    .s1-rec-card .rec-thumb-orb { font-size: 1.3rem; }
    .s1-rec-card .rec-thumb-initial { font-size: 1.05rem; }
}

/* 상태 점 — 사진 우상단 */
.s1-rec-card .rec-status {
    position: absolute;
    top: -1px; right: -1px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--s1-success);
    border: 1.5px solid var(--s1-surface);
}
.s1-rec-card .rec-status.busy { background: var(--s1-danger); }
.s1-rec-card .rec-status.wait { background: var(--s1-warn); }
.s1-rec-card .rec-status:not(.busy):not(.wait)::after {
    content: ""; position: absolute; inset: -2px;
    border-radius: 50%;
    animation: s1Pulse 2s infinite;
}
@keyframes s1Pulse {
    0%   { box-shadow: 0 0 0 0 rgba(107, 95, 74, 0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(107, 95, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(107, 95, 74, 0); }
}

/* 우측 정보 영역 */
.s1-rec-card .rec-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    gap: 3px;
    padding-right: 36px;  /* 뱃지 자리 */
}

/* 상담사 이름 */
.s1-rec-card .rec-name {
    font-family: 'Noto Serif KR', 'Nanum Myeongjo', ui-serif, serif;
    font-size: 1.05rem; font-weight: 800;
    color: var(--s1-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 한 줄 소개 (1줄, 더 짧게) */
.s1-rec-card .rec-desc {
    font-size: 0.82rem;
    color: var(--s1-text-muted);
    line-height: 1.3;
    font-style: italic;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.s1-rec-card .rec-desc::before { content: '\201C'; opacity: 0.55; margin-right: 1px; }
.s1-rec-card .rec-desc::after  { content: '\201D'; opacity: 0.55; margin-left: 1px; }

/* 메타 — 한 줄 인라인 (ID 생략, 상태 + 좋아요만) */
.s1-rec-card .rec-meta {
    display: flex; align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    color: var(--s1-text-dim);
    margin-top: 1px;
    line-height: 1.3;
}
.s1-rec-card .rec-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 2px;
    height: 23px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--s1-sage-deep), var(--s1-sage));
    box-shadow: 0 2px 8px rgba(61,53,40,0.18);
}
.s1-rec-card .rec-action.busy {
    background: linear-gradient(135deg, #8e3e38, var(--s1-danger));
}
.s1-rec-card .rec-action.wait {
    background: linear-gradient(135deg, #a57922, var(--s1-warn));
}
.s1-rec-card .rec-meta-item {
    display: inline-flex; align-items: center; gap: 2px;
}
.s1-rec-card .rec-meta .rec-status-label {
    font-weight: 600;
    color: var(--s1-success);
}
.s1-rec-card .rec-meta .rec-status-label.busy { color: var(--s1-danger); }
.s1-rec-card .rec-meta .rec-status-label.wait { color: var(--s1-warn); }
.s1-rec-card .rec-meta .rec-divider {
    color: var(--s1-border);
    margin: 0 1px;
}
.s1-rec-card .rec-heart {
    color: var(--s1-terra);
    font-weight: 600;
}

/* 반응형 */
@media (max-width: 1024px) {
    .s1-rec-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 모바일: 4 마이크로 카드 한 줄 ── */
@media (max-width: 768px) {
    .s1-pinned-top {
        padding: 6px 10px 10px;
        margin: 0 0 14px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .s1-recommend-wrap { padding: 10px 10px 8px; margin: 0 0 10px; border-radius: var(--s1-radius); }
    .s1-rec-head {
        margin-bottom: 8px; padding-bottom: 6px;
        gap: 4px;
    }
    .s1-rec-title { font-size: 0.88rem; }
    .s1-rec-title-block { gap: 6px; }
    .s1-rec-eyebrow { font-size: 0.56rem; letter-spacing: 0.08em; }
    .s1-rec-eyebrow::before { width: 10px; }
    .s1-rec-sub { font-size: 0.6rem; line-height: 1.25; }
    .s1-live-summary { gap: 5px; margin-bottom: 8px; }
    .s1-live-copy { display: none; }

    .s1-cat-row { gap: 5px; margin-bottom: 8px; }
    .s1-cat-btn { padding: 5px 11px; font-size: 0.78rem; }
    .s1-cat-btn .emoji { font-size: 0.85rem; }

    /* 카드 그리드 — 모바일은 큼직한 가로 스와이프 */
    .s1-rec-cards {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 5px 2px 4px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .s1-rec-cards::-webkit-scrollbar { display: none; }

    /* 카드 — 얼굴과 바로상담 CTA가 읽히는 크기 */
    .s1-rec-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        flex: 0 0 112px;
        min-height: 150px;
        padding: 9px 7px 8px;
        border-radius: 10px;
        scroll-snap-align: start;
    }
    .s1-rec-card .rec-thumb {
        width: 56px; height: 56px;       /* 모바일 컴팩트 — 본문 영역 확보 */
        border-width: 1.5px;
        box-shadow: 0 0 0 1.5px var(--s1-sage-soft), 0 1px 3px rgba(45, 38, 32, 0.06);
    }
    .s1-rec-card .rec-status {
        width: 13px; height: 13px;
        border-width: 1.5px;
        top: -1px; right: -1px;
    }
    .s1-rec-card .rec-info {
        flex: 0 0 auto;
        padding-right: 0;
        gap: 3px;
        align-items: center;
        width: 100%;
    }
    .s1-rec-card .rec-name {
        font-size: 0.9rem;
        max-width: 100%;
    }
    .s1-rec-card .rec-desc { display: none; }   /* 모바일은 숨김 */
    .s1-rec-card .rec-meta {
        font-size: 0.7rem;
        gap: 3px;
        justify-content: center;
        line-height: 1.2;
    }
    .s1-rec-card .rec-action {
        align-self: center;
        height: 22px;
        padding: 0 9px;
        font-size: 0.66rem;
    }
    .s1-rec-card .rec-meta .rec-divider { display: none; }  /* 줄임표 단순화 */
    .s1-rec-card .rec-badge {
        position: absolute; top: -5px; left: 50%;
        right: auto;
        transform: translateX(-50%);
        font-size: 0.48rem; padding: 1px 5px;
        letter-spacing: 0.04em;
    }
    .s1-pinned-top .search-row {
        max-width: 100%;
        padding: 0;
        gap: 8px;
    }
    .s1-pinned-top .modern-search {
        min-width: 0;
    }
    .s1-pinned-top .live-badge {
        flex: 0 1 auto;
        max-width: 42%;
        padding: 0 10px;
        justify-content: center;
        font-size: 0.95rem;
    }
    .s1-pinned-top #live-counselor-count {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* =========================================
   스크롤 컴팩트 모드 — PC·모바일 공통
   common.js 가 scrollTop > 78 일 때 .s1-pinned-top 에 .is-compact 부착.
   추천배너(헤더·라이브 요약·카드 그리드)를 접고 검색바·카테고리만 남겨 본문 영역 확보.
   PC 도 동일 규칙으로 동작 — 운영자가 본문 카드를 빠르게 보고 싶을 때.
   ========================================= */
.s1-pinned-top {
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.s1-pinned-top.is-compact .s1-recommend-wrap {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
}

/* [Biryong 변경 2026-05-08] 스크롤 후 compact 모드에서 카테고리도 같이 숨김 */
.s1-pinned-top.is-compact .s1-rec-head,
.s1-pinned-top.is-compact .s1-live-summary,
.s1-pinned-top.is-compact .s1-rec-cards,
.s1-pinned-top.is-compact .s1-cat-row {
    display: none !important;
}

.s1-pinned-top.is-compact .search-row {
    flex-direction: row !important;
    gap: 6px !important;
    align-items: center !important;
}

.s1-pinned-top.is-compact .live-badge {
    flex: 0 0 112px !important;
    width: 112px !important;
    padding: 0 6px !important;
    font-size: 0.82rem !important;
}

.s1-pinned-top.is-compact .modern-search {
    flex: 1 1 0 !important;
}

.s1-pinned-top.is-compact .modern-search input {
    height: 36px !important;
    min-height: 36px !important;
}

.teacher_list li[data-status="1"] .box {
    border-color: rgba(31, 138, 91, 0.38);
    box-shadow: inset 0 3px 0 rgba(31, 138, 91, 0.42), 0 3px 12px rgba(31, 138, 91, 0.08);
}

.teacher_list li[data-status="2"] .box {
    border-color: rgba(221, 90, 70, 0.3);
    box-shadow: inset 0 3px 0 rgba(221, 90, 70, 0.32), 0 3px 12px rgba(221, 90, 70, 0.07);
}

.teacher_list li[data-status="0"] .box {
    border-color: rgba(217, 119, 6, 0.35);
    background: #fffaf0;
    box-shadow: inset 0 3px 0 rgba(217, 119, 6, 0.28), 0 3px 12px rgba(217, 119, 6, 0.07);
}

.call-btn,
.appointment-alert-btn,
.unsubscribe-btn {
    min-height: 34px;
}

.modern-prepaid {
    background: linear-gradient(135deg, #1f8a5b 0%, #0f5f3e 100%);
    color: #fff;
    border-color: rgba(31, 138, 91, 0.38);
}

.modern-postpaid {
    background: linear-gradient(135deg, #3D3528 0%, #1F1B16 100%);
    color: #fff;
    border-color: rgba(61, 53, 40, 0.38);
}

.call-btn.disabled {
    background: #f2f2f2 !important;
    color: #777 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
}

.appointment-alert-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
}

.s1-pinned-top a:focus-visible,
.s1-pinned-top button:focus-visible,
.teacher_list a:focus-visible,
.teacher_list button:focus-visible {
    outline: 3px solid rgba(31, 138, 91, 0.45);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    /* 데코 애니메이션·트랜지션은 죽임. 단 두 개는 예외:
       (1) .spec-track 마퀴 — 끄면 칩이 잘려 정보 손실. 느리게라도 흘려보냄.
       (2) .s1-rec-cards 페이드 — 끄면 콘텐츠가 깜빡거려 오류처럼 보임. 단순 opacity 라 움직임 아님. */
    .s1-pinned-top *:not(.spec-track):not(.s1-rec-cards),
    .teacher_list *:not(.spec-track),
    .s1-recommend-wrap *:not(.spec-track):not(.s1-rec-cards) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .spec-track {
        animation-duration: 30s !important;
        animation-iteration-count: infinite !important;
    }
}
@media (max-width: 360px) {
    /* 아주 작은 폰 */
    .s1-rec-card .rec-name { font-size: 0.78rem; }
    .s1-rec-card .rec-thumb { width: 64px; height: 64px; }
    .s1-rec-card .rec-meta { font-size: 0.64rem; }
}

/* =========================================
   Modern Hero Section (Biryong Custom)
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    margin: 15px 0;
    border-radius: 16px;
    background: linear-gradient(270deg, #1F2A23, #3A5240, #6B5F4A, #2D2640);
    background-size: 600% 600%;
    animation: MidnightAurora 15s ease infinite;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 1;
}

.hero-sticky {
    position: sticky;
    top: 50px;
    z-index: 90;
}

@media (min-width: 769px) {
    .hero-sticky {
        top: 68px;
    }
}

@keyframes MidnightAurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    word-break: keep-all; 
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0px;
    color: #e2d9eb;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.hero-text-container {
    min-height: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem; 
    flex-wrap: wrap;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; 
    min-width: 130px; 
    padding: 1rem 1.2rem; 
    font-size: 1.4rem; 
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    white-space: nowrap; 
}

.hero-btn-primary {
    background-color: #ffffff;
    color: #3D3528;
}

.hero-btn-primary:hover {
    background-color: #f8f9fa;
    color: #f07167;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.hero-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.8); 
}

.hero-btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Mobile Responsiveness optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 1rem; 
        margin: 10px auto; 
        width: calc(100% - 20px); 
    }
    .hero-title {
        font-size: 1.7rem; 
        margin-bottom: 1.2rem;
    }
    .hero-buttons {
        gap: 0.6rem;
        flex-direction: row; 
    }
    .hero-btn {
        width: auto;
        padding: 0.9rem;
        font-size: 1.3rem; 
    }
}

.taro_btn {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* 스크롤바 숨기기 (선택) */
    scrollbar-width: none; 
}
.taro_btn::-webkit-scrollbar {
    display: none;
}

    .taro_btn .fnav {
        text-align: center;
        width: auto;
        /* 넘치는 경우 강제로 컨테이너 길이를 아이템에 맞춤 */
        min-width: max-content; 
    }

        .taro_btn .fnav ul {
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 25px;
            padding: 4px;
            display: inline-flex;
            gap: 2px;
            box-shadow: 0 4px 14px rgba(0,0,0,0.18);
        }

        .taro_btn .fnav li {
            width: auto;
            margin: 0;
        }

            .taro_btn .fnav li a {
                background: transparent;
                border: none;
                border-radius: 20px;
                color: #6B6080;
                text-shadow: none;
                cursor: pointer;
                display: block;
                font-size: 1.6rem;
                font-weight: 600;
                letter-spacing: -0.5px;
                line-height: 1.2;
                margin: 0;
                padding: 10px 22px;
                position: relative;
                text-align: center;
                transition: all 0.25s ease-in-out;
                white-space: nowrap;
            }

                .taro_btn .fnav li a:hover {
                    background: rgba(107, 95, 74, 0.08);
                    color: #2D2640;
                }

                .taro_btn .fnav li a.active, .taro_btn .fnav li a.reservation-alert-tab.active {
                    background: linear-gradient(135deg, #3D3528 0%, #1F1B16 100%);
                    color: #ffffff;
                    font-weight: 700;
                    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
                    box-shadow: 0 3px 8px rgba(79, 107, 69, 0.35);
                }

/* Live Badge */
.live-badge {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #3D3528 0%, #1F1B16 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    height: 36px;
    padding: 0 14px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(79, 107, 69, 0.25);
    box-sizing: border-box;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #24ca2e;
    border-radius: 50%;
    box-shadow: 0 0 6px #24ca2e;
    animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

@media (max-width: 768px) {
    .live-badge {
        height: 32px;
        padding: 0 12px;
        font-size: 1.05rem;
        border-radius: 16px;
        gap: 5px;
    }
    .search-row {
        padding: 0 10px;
        gap: 6px;
    }
    .hero-search-row {
        padding: 0 6px;
        margin-top: 8px;
    }
    .modern-search {
        height: 32px;
        padding: 0 12px;
        border-radius: 16px;
    }
    .search-icon {
        font-size: 1.25rem;
        margin-right: 6px;
    }
    .modern-input {
        font-size: 1.1rem;
    }
    /* 탭바 공간 최대 확보 */
    .hero-sticky.hero-section,
    .hero-section {
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
        width: calc(100% - 10px) !important;
    }
    .taro_btn {
        padding: 5px 0 10px 0 !important;
        justify-content: center !important;
        overflow: visible !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .taro_btn .fnav {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Grid로 3등분 (Flex보다 균등 분배 보장) */
    .taro_btn .fnav ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 1px !important;
        padding: 3px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .taro_btn .fnav li {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    .taro_btn .fnav li a,
    .taro_btn .fnav li a:link,
    .taro_btn .fnav li a:visited,
    .taro_btn .fnav li a.js-charge-link {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        padding: 10px 1px !important;
        letter-spacing: -1px !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        border-radius: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        color: #6B6080 !important;
        margin: 0 !important;
    }
    /* span 내부 텍스트도 동일하게 */
    .taro_btn .fnav li a span {
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        letter-spacing: inherit !important;
        display: inline !important;
    }
    /* active: 배경만 변경, 크기/굵기는 동일 */
    .taro_btn .fnav li a.active,
    .taro_btn .fnav li a.reservation-alert-tab.active {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }
    .hero-text-container {
        min-height: 7.5rem; /* 글자가 두 줄이 되어도 전체 배너 크기가 흔들리지 않도록 고정 */
    }
}

.search-row {
    max-width: 600px;
    margin: 0 auto 20px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 배너 안에 들어간 검색 행 */
.hero-search-row {
    margin: 10px auto 0 auto;
    padding: 0 10px;
}

/* 배너 안 live badge: 흰 반투명 스타일로 전환 */
.hero-search-row .live-badge {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.modern-search {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    height: 36px;
    position: relative;
    transition: box-shadow 0.3s;
}

.search-icon {
    font-size: 1.4rem;
    color: #a0a0a0;
    margin-right: 8px;
}

.modern-input {
    font-size: 1.2rem;
}

.modern-search:focus-within {
    box-shadow: 0 6px 20px rgba(107, 95, 74, 0.15);
    border-color: rgba(107, 95, 74, 0.3);
}

.search-icon {
    font-size: 2rem;
    color: #a0a0a0;
    margin-right: 15px;
}

.search-input-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.modern-input {
    border: none !important;
    background: transparent;
    padding: 0;
    font-size: 1.5rem;
    width: 100%;
    height: 100%;
    outline: none !important;
    box-shadow: none !important;
    color: #333;
    font-weight: 500;
}

.modern-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

.clear-icon {
    font-size: 2rem;
    color: #d0d0d0;
    cursor: pointer;
    transition: color 0.2s;
    padding: 10px;
    margin-right: -10px;
}

.clear-icon:hover {
    color: #a0a0a0;
}


.teacher_list ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 -4px;
    justify-content: flex-start;
}

.teacher_list li {
    box-sizing: border-box;
    flex: 0 0 25%;
    margin: 0;
    display: flex;
    min-width: 0;
    padding: 4px;
}

    .teacher_list li[data-status="0"] .box {
        background-color: #fdf5e6;
        border-color: #e6ddc9;
    }

.box {
    width: 100%;
    height: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 2px 8px 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease-out;
    overflow: hidden;
}

    .box:hover {
        transform: translateY(-3px);
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.12);
    }

    .box .tname {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-bottom: 0;
        line-height: 1.1;
    }
    
    .tname-text {
        font-size: 1.6rem;
        font-weight: 800;
        color: #1F2A23; /* 다크 보랏빛 프리미엄 텍스트 */
    }
    
    .tname-badge {
        background-color: #F2EEF8;
        color: #3D3528;
        font-size: 1.25rem;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 6px;
        letter-spacing: 0.5px;
    }

.thumb {
    text-align: center;
}

    .thumb .img-frame {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;          /* 정사각형 — 세로 공간 낭비 제거 */
        border-radius: 10px;
        border: 2px solid #fff;
        box-shadow: 0 3px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        margin: 0 auto 2px auto;
    }

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

        /* ── 디폴트 상담사 아바타 (사진 없을 때) ── */
        .thumb .img-frame .default-fortune-avatar {
            width: 100%; height: 100%;
            background:
                radial-gradient(circle at 30% 25%, rgba(244,216,122,0.25) 0%, transparent 50%),
                linear-gradient(135deg, #6B5F4A 0%, #3D3528 60%, #1F1B16 100%);
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            color: #F4D87A;
            position: relative;
            overflow: hidden;
        }
        .thumb .img-frame .default-fortune-avatar::before {
            content: ""; position: absolute; inset: 0;
            background:
                radial-gradient(1.5px 1.5px at 22% 18%, white 50%, transparent),
                radial-gradient(1px 1px at 78% 30%, white 50%, transparent),
                radial-gradient(1.2px 1.2px at 35% 75%, white 50%, transparent),
                radial-gradient(1px 1px at 85% 85%, white 50%, transparent);
            opacity: 0.55; pointer-events: none;
        }
        .thumb .img-frame .default-fortune-avatar .orb {
            font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
        }
        .thumb .img-frame .default-fortune-avatar .initial {
            font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
            font-size: 2.2rem; font-weight: 700; margin-top: 8px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.35);
        }
        .thumb .img-frame .default-fortune-avatar .stars {
            font-size: 0.78rem; opacity: 0.7; margin-top: 6px; letter-spacing: 0.2em;
        }

        /* ── 카드 상단 카테고리 칩 (M8_TYPE: 1=타로 파랑, 2=신점 빨강, 3=역학 노랑) ── */
        .card-specialty {
            display: flex; gap: 3px; margin-top: 2px; justify-content: center;
        }
        .card-type-chip {
            display: inline-block;
            font-size: 0.7rem; font-weight: 700;
            padding: 2px 9px; border-radius: 999px;
            border-style: solid; border-width: 1px;
        }
        @media (max-width: 768px) {
            .thumb .img-frame .default-fortune-avatar .orb { font-size: 1.8rem; }
            .thumb .img-frame .default-fortune-avatar .initial { font-size: 1.4rem; margin-top: 4px; }
            .thumb .img-frame .default-fortune-avatar .stars { font-size: 0.6rem; margin-top: 3px; }
            .card-type-chip { font-size: 0.6rem; padding: 1px 7px; }
        }

/* ── 상담사 카드 사진 좌상단 분야 칩 (M_MAIN8.M8_TYPE 기반, 반투명) ── */
.thumb .img-frame .photo-type-chip {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 9px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    border-radius: 999px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 11;
    letter-spacing: -0.2px;
    pointer-events: none;
    user-select: none;
}
@media (max-width: 480px) {
    .thumb .img-frame .photo-type-chip {
        top: 5px; left: 5px;
        padding: 2px 7px;
        font-size: 0.74rem;
    }
}

/* ── 상태 배너 (상담대기/상담중/예약) — 반투명 + 운세 톤 (심리와 다른 색상) ── */
.photo-status-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    background-color: rgba(45, 38, 32, 0.55);    /* 기본 — 먹색 반투명 */
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color 0.3s;
    z-index: 10;
    letter-spacing: -0.2px;
}

    /* 상담대기 — 딥 그린 (운세 톤, 심리의 청록과 다름) */
    .photo-status-banner.ready {
        background-color: rgba(34, 95, 64, 0.62);
    }

    /* 상담중 — 와인 (운세 톤, 심리의 빨강과 다름) */
    .photo-status-banner.on {
        background: linear-gradient(135deg, rgba(127, 29, 29, 0.65), rgba(91, 22, 22, 0.72));
    }

    /* 예약 가능 — 골드 (운세 시그니처) */
    .photo-status-banner.appointment-alert {
        background-color: rgba(180, 132, 21, 0.65);
    }

/* ===== 전문분야 마퀴(흐르는 태그) ===== */
.spec-marquee {
    overflow: hidden;
    width: 100%;
    margin: 4px 0 2px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.spec-track {
    display: flex;
    gap: 5px;
    width: max-content;
    animation: specMarquee 8s linear infinite;   /* JS 가 contentWidth/PX_PER_SEC 로 덮어쓰지만, JS 미실행 시 폴백 */
}
.spec-tag {
    flex-shrink: 0;
    padding: 2px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: -0.3px;
}
/* 카테고리별 고정 색상 — 운세 전문분야 */
.spec-tag[data-cat="연애"]    { color: #E91E63; background: #FCE4EC; }
.spec-tag[data-cat="결혼"]    { color: #A48820; background: #FFF8E1; }
.spec-tag[data-cat="재혼"]    { color: #C2185B; background: #FCE4F0; }
.spec-tag[data-cat="궁합"]    { color: #DC2626; background: #FEE2E2; }
.spec-tag[data-cat="속궁합"]  { color: #B91C1C; background: #FEF2F2; }
.spec-tag[data-cat="직장"]    { color: #1E40AF; background: #DBEAFE; }
.spec-tag[data-cat="이별"]    { color: #6B7280; background: #F3F4F6; }
.spec-tag[data-cat="대인관계"] { color: #0891B2; background: #CFFAFE; }
.spec-tag[data-cat="진로"]    { color: #7C3AED; background: #EDE9FE; }
.spec-tag[data-cat="금전"]    { color: #D97706; background: #FEF3C7; }
@keyframes specMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* 호버 시 애니메이션 일시 정지 */
.spec-marquee:hover .spec-track {
    animation-play-state: paused;
}

.tdesc {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    text-align: center;
    padding: 4px 6px;
    margin: 0;
    font-style: normal;
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.call-buttons {
    margin-top: 3px;
    display: flex;
    gap: 3px;
    justify-content: center;
}

.call-btn, .appointment-alert-btn, .unsubscribe-btn {
    border: none;
    padding: 8px 2px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.modern-prepaid {
    background: linear-gradient(135deg, #e9f8ef 0%, #d7f2e1 100%);
    color: #057a52;
    border: 1px solid rgba(5,150,105,0.2);
}

.modern-postpaid {
    background: linear-gradient(135deg, #F9F3FF 0%, #EFE6FA 100%);
    color: #3D3528;
    border: 1px solid rgba(107, 95, 74,0.2);
}

.modern-prepaid:hover, .modern-postpaid:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.appointment-alert-btn {
    background: linear-gradient(135deg, #ff9f2d 0%, #d97706 100%);
    color: white;
}

.unsubscribe-btn {
    background-color: #6c757d;
    color: white;
}

/* 사진 하단 프로필 링크 영역 */
.thumb-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
}

.heart-btn {
    position: absolute;
    bottom: 30px; /* 상태 배너 바로 위 */
    left: 5px;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 12px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 15;
    transition: background-color 0.2s, transform 0.1s;
}

.heart-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

.heart-btn:active, .heart-btn.heart-pop {
    transform: scale(1.1);
}

.heart-btn.hearted .heart-icon {
    color: #ff4757;
}

.heart-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.heart-count {
    font-size: 1.1rem;
    font-weight: 500;
}

.profile-link-btn {
    display: inline-block;
    padding: 4px 14px;
    font-size: 1.15rem;
    border: 1.5px solid #8080c0;
    background: #8080c0;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.profile-link-btn:hover {
    background: #6a6ab0;
    border-color: #6a6ab0;
}

/* 카드 후기 통계 — 사진 영역 아래, 상담사보기 버튼 위 */
.card-review-stat {
    display: inline-block;
    margin: 6px 0 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FFF8E5 0%, #FAEFCF 100%);
    color: #D4AF37;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 2px rgba(201, 154, 44, 0.15);
    cursor: help;
}

.fitem_wrap {
    overflow-x: hidden; /* 음수 마진으로 인한 가로 스크롤/흔들림 완벽 차단 */
}

.fitem-content {
    display: none;
}

    .fitem-content.active {
        display: block;
    }

.call-btn.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
    flex: 1;
}

/* 버튼이 하나뿐일 때 (상담중, 알림신청 등) 전체 너비 사용 */
.call-buttons .appointment-alert-btn,
.call-buttons .unsubscribe-btn {
    flex: 1;
}

.tname-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.box .tname {
    transition: background-color 0.2s ease-in-out;
}

.tname-link:hover .tname {
    background-color: #f0f0f0;
}

@media (max-width: 1024px) {
    .teacher_list li {
        flex-basis: 33.333%;
    }
}

@media (max-width: 768px) {
    .teacher_list li {
        flex-basis: 50%;
    }
}

@media (max-width: 480px) {
    .teacher_list li {
        flex-basis: 50%;
    }
}

/* =========================================
   로딩 버튼 스타일
   ========================================= */
.call-btn.is-loading, .appointment-alert-btn.is-loading, .unsubscribe-btn.is-loading {
    color: transparent !important; /* 기존 텍스트 숨기기 */
    pointer-events: none;
    position: relative;
}

    .call-btn.is-loading::after, .appointment-alert-btn.is-loading::after, .unsubscribe-btn.is-loading::after {
        content: '';
        display: block;
        position: absolute;
        width: 16px;
        height: 16px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        border: 3px solid rgba(255, 255, 255, 0.5);
        border-top-color: white;
        border-radius: 50%;
        animation: button-loading-spinner 1s ease infinite;
    }

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* =========================================
   토스트 알림 메시지 스타일
   ========================================= */
.toast-notification {
    position: fixed;
    bottom: -100px; /* 처음에는 화면 아래에 숨김 */
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease, bottom 0.4s ease;
}

    .toast-notification.show {
        opacity: 1;
        bottom: 20px; /* 화면에 나타날 때의 위치 */
    }

    .toast-notification.success {
        background-color: #28a745; /* 초록색 */
    }

    .toast-notification.error {
        background-color: #dc3545; /* 빨간색 */
    }

    .toast-notification.info {
        background-color: #17a2b8; /* 청록색 */
    }
@media (max-width: 768px) {
    .s1-pinned-top {
        top: var(--live-header-height, 50px);
    }

    .s1-recommend-wrap {
        padding-top: 8px !important;
        padding-bottom: 7px !important;
        margin-bottom: 8px !important;
    }

    .s1-rec-head {
        margin-bottom: 6px !important;
        padding-bottom: 5px !important;
    }

    .s1-rec-sub {
        display: none !important;
    }

    .s1-live-summary {
        min-height: 22px !important;
        margin-bottom: 6px !important;
    }

    .s1-live-pill {
        height: 21px !important;
        padding: 0 8px !important;
        font-size: 0.68rem !important;
    }

    .s1-cat-row {
        margin-bottom: 6px !important;
        padding-bottom: 2px !important;
    }

    .teacher_list li {
        padding: 3px !important;
    }

    .box {
        padding: 1px 7px 6px !important;
        border-radius: 10px !important;
    }

    .tdesc {
        padding: 3px 5px !important;
    }

    .call-buttons {
        margin-top: 2px !important;
    }

    .s1-pinned-top .search-row {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 8px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        box-sizing: border-box;
    }

    .s1-pinned-top .modern-search {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }

    .s1-pinned-top .live-badge {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        justify-content: center;
        font-size: 0.98rem !important;
    }

    .s1-pinned-top #live-counselor-count {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Priority UI pass: final overrides after legacy duplicate blocks. */
@media (max-width: 768px) {
    .s1-pinned-top.is-compact .s1-recommend-wrap {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        margin-bottom: 5px !important;
    }

    .s1-pinned-top.is-compact .s1-rec-head,
    .s1-pinned-top.is-compact .s1-live-summary,
    .s1-pinned-top.is-compact .s1-rec-cards {
        display: none !important;
    }

    .s1-pinned-top.is-compact .s1-cat-row {
        margin-bottom: 5px !important;
        padding-bottom: 0 !important;
    }

    .s1-pinned-top.is-compact .search-row {
        flex-direction: row !important;
        gap: 6px !important;
        align-items: center !important;
    }

    .s1-pinned-top.is-compact .live-badge {
        flex: 0 0 112px !important;
        width: 112px !important;
        max-width: 112px !important;
        padding: 0 6px !important;
        font-size: 0.82rem !important;
    }

    .s1-pinned-top.is-compact .modern-search input {
        height: 36px !important;
        min-height: 36px !important;
    }
}

.teacher_list li[data-status="1"] .box {
    border-color: rgba(31, 138, 91, 0.38);
    box-shadow: inset 0 3px 0 rgba(31, 138, 91, 0.42), 0 3px 12px rgba(31, 138, 91, 0.08);
}

.teacher_list li[data-status="2"] .box {
    border-color: rgba(221, 90, 70, 0.3);
    box-shadow: inset 0 3px 0 rgba(221, 90, 70, 0.32), 0 3px 12px rgba(221, 90, 70, 0.07);
}

.teacher_list li[data-status="0"] .box {
    border-color: rgba(217, 119, 6, 0.35);
    background: #fffaf0;
    box-shadow: inset 0 3px 0 rgba(217, 119, 6, 0.28), 0 3px 12px rgba(217, 119, 6, 0.07);
}

.call-btn,
.appointment-alert-btn,
.unsubscribe-btn {
    min-height: 34px;
}

.call-buttons .modern-prepaid {
    background: linear-gradient(135deg, #1f8a5b 0%, #0f5f3e 100%);
    color: #fff;
    border-color: rgba(31, 138, 91, 0.38);
}

.call-buttons .modern-postpaid {
    background: linear-gradient(135deg, #3D3528 0%, #1F1B16 100%);
    color: #fff;
    border-color: rgba(61, 53, 40, 0.38);
}

.call-btn.disabled {
    background: #f2f2f2 !important;
    color: #777 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
}

.appointment-alert-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
}

.s1-pinned-top a:focus-visible,
.s1-pinned-top button:focus-visible,
.teacher_list a:focus-visible,
.teacher_list button:focus-visible {
    outline: 3px solid rgba(31, 138, 91, 0.45);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    /* 데코 애니메이션·트랜지션은 죽임. 단 두 개는 예외:
       (1) .spec-track 마퀴 — 끄면 칩이 잘려 정보 손실. 느리게라도 흘려보냄.
       (2) .s1-rec-cards 페이드 — 끄면 콘텐츠가 깜빡거려 오류처럼 보임. 단순 opacity 라 움직임 아님. */
    .s1-pinned-top *:not(.spec-track):not(.s1-rec-cards),
    .teacher_list *:not(.spec-track),
    .s1-recommend-wrap *:not(.spec-track):not(.s1-rec-cards) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .spec-track {
        animation-duration: 30s !important;
        animation-iteration-count: infinite !important;
    }
}
