/* ========================================
   dreamcall - 사주나라 스타일 리디자인
   모바일 퍼스트 (max-width: 520px)
   ======================================== */

/* 리셋 & 기본 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-y: scroll; }
@media (min-width: 768px) {
    html { zoom: 1.25; }
}
body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #f5f5f5;
    color: #121212;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    background: #fff;
}
@media (min-width: 520px) {
    body { box-shadow: 0 0 30px rgba(0,0,0,0.08); }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========== 헤더 ========== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.header-inner {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 56px;
    gap: 12px;
}
.logo { flex-shrink: 0; }
.logo-img {
    height: 28px;
    width: auto;
}
.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF4C73;
    letter-spacing: -0.5px;
}
.header-search {
    flex: 1;
    position: relative;
    min-width: 0;
}
.search-input {
    width: 100%;
    height: 36px;
    padding: 0 36px 0 14px;
    border: 1.5px solid #e9e9e9;
    border-radius: 20px;
    font-size: 0.85rem;
    background: #f6f7ff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.search-input:focus { border-color: #FF4C73; }
.search-input::placeholder { color: #aaa; }
.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 4px;
}
.header-right { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #333;
    transition: background 0.2s;
}
.header-icon-btn:hover { background: #f4f4f4; }

/* 유저 메뉴 */
.user-area { display: flex; align-items: center; gap: 10px; }
.notification-area { position: relative; }
.notification-bell {
    background: none; border: none; cursor: pointer; color: #333;
    position: relative; padding: 4px;
}
.notification-badge {
    position: absolute; top: 0; right: -2px;
    background: #FF4C73; color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 8px; display: flex;
    align-items: center; justify-content: center;
    padding: 0 4px;
}
.notification-dropdown {
    display: none; position: absolute; top: 100%; right: -10px;
    width: 300px; background: #fff; border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12); border: 1px solid #eee;
    z-index: 2000; margin-top: 8px; overflow: hidden;
}
.notification-dropdown.active { display: block; }
.notification-drop-header { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.notification-drop-title { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: #333; }
.notification-list { max-height: 300px; overflow-y: auto; }
.notification-drop-footer { padding: 10px 16px; text-align: center; font-size: 0.75rem; color: #999; border-top: 1px solid #f0f0f0; }

.user-balance-block { display: flex; align-items: center; gap: 2px; font-size: 0.82rem; }
.user-balance-amount { font-weight: 700; color: #FF4C73; }
.balance-unit { color: #888; font-size: 0.75rem; }

.user-hello { display: flex; align-items: center; gap: 6px; cursor: pointer; position: relative; }
.user-hello-photo {
    width: 30px; height: 30px; border-radius: 50%;
    background: #f4f4f4; display: flex; align-items: center;
    justify-content: center; color: #aaa;
}
.user-hello-name { font-size: 0.82rem; font-weight: 500; color: #333; }
.user-mini-dropdown {
    display: none; position: absolute; top: 100%; right: 0;
    background: #fff; border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); border: 1px solid #eee;
    z-index: 2000; min-width: 140px; margin-top: 8px; overflow: hidden;
}
.user-mini-dropdown.active { display: block; }
.mini-drop-item {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; font-size: 0.85rem; color: #333;
    transition: background 0.2s;
}
.mini-drop-item:hover { background: #f8f8f8; }
.mini-drop-logout { color: #e74c3c; }

#guest-menu, #user-menu { display: none; }

/* ========== 배너 슬라이더 ========== */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
}
.banner-track {
    display: flex;
    transition: transform 0.5s ease;
}
.banner-slide {
    min-width: 100%;
    position: relative;
}
.banner-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.banner-fallback {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
}
.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.banner-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none; cursor: pointer;
    transition: all 0.3s;
}
.banner-dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}
.banner-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 10;
}

/* ========== 통계 바 ========== */
.stats-bar {
    background: #fff;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.stats-bar-inner {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.stats-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #666;
}
.stats-dot {
    width: 6px; height: 6px; border-radius: 50%;
}
.stats-dot.green { background: #2ed573; }
.stats-dot.blue { background: #3498db; }
.stats-number { font-weight: 700; color: #FF4C73; }

/* ========== 카테고리 탭 ========== */
.category-tabs {
    background: #fff;
    position: sticky;
    top: 56px;
    z-index: 900;
    border-bottom: 1px solid #eee;
}
.category-tabs-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-tabs-inner::-webkit-scrollbar { display: none; }
.category-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.78rem;
    color: #888;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    min-width: 0;
    font-family: inherit;
    transition: color 0.2s;
}
.category-tab svg { width: 22px; height: 22px; }
.category-tab.active { color: #FF4C73; font-weight: 600; }
.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2.5px;
    background: #FF4C73;
    border-radius: 2px;
}

/* ========== 서브 탭 (정렬) ========== */
.sub-tabs {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 8px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}
.sub-tab {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.2s;
}
.sub-tab.active {
    background: #FF4C73;
    color: #fff;
    border-color: #FF4C73;
}
.sub-tab-hot {
    color: #FF4C73;
    font-weight: 600;
}
.filter-toggle {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #888;
    cursor: pointer;
}
.toggle-switch {
    width: 36px; height: 20px;
    background: #ddd; border-radius: 10px;
    position: relative; cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch.on { background: #FF4C73; }
.toggle-switch::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    top: 2px; left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch.on::after { transform: translateX(16px); }

/* ========== 상담사 카드 (리스트형) ========== */
.consultant-list {
    padding: 0;
}
.consultant-card {
    display: flex;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    gap: 14px;
    align-items: flex-start;
    transition: background 0.2s;
}
.consultant-card:active { background: #fafafa; }
a.consultant-card { text-decoration: none; color: inherit; }

.card-left {
    flex-shrink: 0;
    position: relative;
}
.card-avatar {
    width: 72px; height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f4f4;
}
.card-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.card-avatar-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; background: #f4f4f4;
}
.card-category-badge {
    position: absolute;
    top: -4px; left: -4px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    border-radius: 6px;
    z-index: 1;
}
.badge-sinjeom { background: #8B5CF6; }
.badge-tarot { background: #F59E0B; }
.badge-saju { background: #3B82F6; }

.card-right {
    flex: 1;
    min-width: 0;
}
.card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #151515;
}
.card-number {
    font-size: 0.72rem;
    color: #aaa;
    font-weight: 400;
}
.card-partner-badge {
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 4px;
    background: #fff0f3;
    color: #FF4C73;
    font-weight: 600;
}
.card-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.card-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #666;
}
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-price {
    font-size: 0.8rem;
    color: #333;
}
.card-price strong {
    color: #FF4C73;
    font-weight: 700;
}

/* 상담 버튼 */
.btn-status {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.btn-status.available {
    background: #FF4C73;
    color: #fff;
}
.btn-status.available:active {
    background: #e63e63;
    transform: scale(0.97);
}
.btn-status.busy {
    background: #fff3cd;
    color: #856404;
}
.btn-status.offline {
    background: #f0f0f0;
    color: #999;
}

/* 찜 버튼 */
.card-heart {
    position: absolute;
    bottom: -4px; right: -4px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s;
}
.card-heart svg {
    width: 14px; height: 14px;
    fill: none; stroke: #ccc; stroke-width: 2;
}
.card-heart.liked svg { fill: #FF4C73; stroke: #FF4C73; }

/* ========== 리뷰 미리보기 ========== */
.card-review-preview {
    margin-top: 8px;
    padding: 8px 10px;
    background: #fafafa;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}
.card-review-preview .review-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-review-count {
    font-size: 0.7rem;
    color: #FF4C73;
    margin-top: 4px;
    font-weight: 500;
}

/* ========== 섹션 헤더 ========== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 10px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #151515;
}
.badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}
.badge-premium { background: #FF4C73; color: #fff; }
.badge-hot { background: #ff6b35; color: #fff; }
.view-all {
    font-size: 0.8rem;
    color: #999;
}

/* ========== 이벤트 배너 ========== */
.event-banner {
    background: linear-gradient(135deg, #FF4C73 0%, #FF6B8A 100%);
    padding: 10px 16px;
}
.event-banner-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.event-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fff;
    color: #FF4C73;
}
.event-text {
    flex: 1;
    font-size: 0.82rem;
    color: #fff;
}
.event-text strong { font-weight: 700; }
.event-link {
    font-size: 0.78rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.9;
}

/* ========== 프로모션 카드 ========== */
.promo-cards {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.promo-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.promo-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}
.promo-icon.pink { background: #fff0f3; }
.promo-icon.blue { background: #e8f4fd; }
.promo-icon.green { background: #e8f8f0; }
.promo-info h4 { font-size: 0.88rem; font-weight: 600; color: #333; margin-bottom: 2px; }
.promo-info p { font-size: 0.75rem; color: #999; }

/* ========== 상담사 모집 배너 ========== */
.recruit-section { padding: 16px; }
.recruit-banner {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}
.recruit-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}
.recruit-desc {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 16px;
}
.recruit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #FF4C73;
    color: #fff;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}
.recruit-btn:active { background: #e63e63; }

/* ========== 하단 탭바 ========== */
.bottom-tabbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 960px;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar-inner {
    display: flex;
    height: 56px;
}
.tabbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #999;
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.2s;
}
.tabbar-item svg { width: 22px; height: 22px; stroke-width: 1.8; }
.tabbar-item.active { color: #FF4C73; }
.tabbar-item.active svg { stroke: #FF4C73; }

/* ========== 푸터 ========== */
.footer {
    background: #f8f9fa;
    padding: 24px 16px 20px;
    font-size: 0.72rem;
    color: #999;
    line-height: 1.8;
}
.footer-links {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}
.footer-links a { color: #666; font-weight: 500; }
.footer-company { font-size: 0.68rem; color: #bbb; line-height: 1.7; }

/* ========== 모달 ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: flex-end;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    width: 100%;
    max-width: 960px;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 32px;
    position: relative;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none; border: none;
    font-size: 1.5rem; color: #999;
    cursor: pointer;
}
.modal-header { margin-bottom: 20px; }
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }

.call-option {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}
.call-option-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.call-option-price {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.call-option-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #FF4C73;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
}
.call-option-btn:active { background: #e63e63; }

/* ========== QR 섹션 (PC) ========== */
.qr-section {
    padding: 16px;
    display: none;
}
@media (min-width: 520px) {
    .qr-section { display: block; }
}
.qr-banner-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}
.qr-banner-title { font-size: 0.95rem; font-weight: 600; color: #333; }
.qr-banner-desc { font-size: 0.8rem; color: #888; margin-top: 4px; }

/* ========== 인기 상담사 가로 스크롤 ========== */
.popular-scroll {
    display: flex;
    gap: 12px;
    padding: 0 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.popular-scroll::-webkit-scrollbar { display: none; }
.popular-card {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}
.popular-rank {
    font-size: 0.65rem;
    font-weight: 700;
    color: #FF4C73;
    margin-bottom: 6px;
}
.popular-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 6px;
    border: 2px solid #FF4C73;
}
.popular-avatar img { width: 100%; height: 100%; object-fit: cover; }
.popular-name { font-size: 0.75rem; font-weight: 600; color: #333; margin-bottom: 4px; }
.popular-tag {
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 8px;
    background: #fff0f3;
    color: #FF4C73;
}

/* ========== 로그인 모달 ========== */
.login-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.login-modal-overlay.active { display: flex; }
.login-modal {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.login-modal-close {
    position: absolute; top: 14px; right: 14px;
    background: #f4f4f4; border: none; border-radius: 50%;
    width: 32px; height: 32px; font-size: 18px;
    color: #999; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.login-modal-logo { margin-bottom: 16px; }
.login-modal-logo .logo-text-modal {
    font-size: 1.6rem; font-weight: 700; color: #FF4C73;
}
.login-modal-title {
    font-size: 1.15rem; font-weight: 700; color: #333; margin-bottom: 8px;
}
.login-modal-desc {
    font-size: 0.88rem; color: #888; margin-bottom: 24px; line-height: 1.5;
}
.login-modal-buttons { display: flex; flex-direction: column; gap: 10px; }
.login-modal-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 20px; border-radius: 10px;
    font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
}
.login-modal-btn.kakao { background: #FEE500; color: #3C1E1E; }
.login-modal-btn.naver { background: #03C75A; color: #fff; }

/* ========== 메뉴 오버레이 ========== */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.menu-overlay.active { display: block; }

/* ========== 기존 페이지 호환 ========== */
.consultant-grid {
    display: flex;
    flex-direction: column;
}
.card {
    display: flex;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    gap: 14px;
}

/* bujuk 아이콘 */
.bujuk-icon { width: 16px; height: 16px; vertical-align: middle; }
.bujuk-icon-header { width: 14px; height: 14px; }

/* ========== PC 확대 ========== */
@media (min-width: 768px) {
    .header-inner { height: 64px; padding: 0 24px; }
    .logo-img { height: 34px; }
    .search-input { height: 42px; font-size: 0.95rem; }
    .category-tab { padding: 14px 12px 12px; font-size: 0.88rem; }
    .category-tab svg { width: 26px; height: 26px; }
    .sub-tabs { padding: 12px 24px; }
    .sub-tab { padding: 8px 18px; font-size: 0.88rem; }
    .consultant-card { padding: 20px 24px; gap: 18px; }
    .card-avatar { width: 88px; height: 88px; border-radius: 14px; }
    .card-name { font-size: 1.1rem; }
    .card-desc { font-size: 0.9rem; }
    .card-tag { font-size: 0.8rem; padding: 3px 10px; }
    .card-price { font-size: 0.9rem; }
    .btn-status { padding: 10px 24px; font-size: 0.9rem; }
    .stats-bar { padding: 12px 24px; }
    .stats-item { font-size: 0.9rem; }
    .event-banner { padding: 12px 24px; }
    .event-text { font-size: 0.92rem; }
    .banner-fallback { height: 260px; font-size: 1.5rem; }
    .section-header { padding: 24px 24px 12px; }
    .section-title h2 { font-size: 1.2rem; }
    .popular-card { width: 100px; }
    .popular-avatar { width: 72px; height: 72px; }
    .popular-name { font-size: 0.85rem; }
    .promo-cards { padding: 20px 24px; }
    .promo-info h4 { font-size: 1rem; }
    .promo-info p { font-size: 0.85rem; }
    .recruit-section { padding: 20px 24px; }
    .recruit-title { font-size: 1.15rem; }
    .tabbar-inner { height: 64px; }
    .tabbar-item { font-size: 0.75rem; }
    .tabbar-item svg { width: 26px; height: 26px; }
    .footer { padding: 28px 24px; }
}
