/* 시장 브리핑 전용 스타일시트
   CSS 변수, 리셋, body, GNB, 드로어, 푸터 → common.css 참조 */

/* ── 표준 패널 시스템 ── */
.briefing-panel {
    background: var(--bg-card);
    border: none;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.briefing-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    margin: 0;
}
.briefing-panel-header i {
    font-size: 16px;
    color: var(--accent);
}
.briefing-panel-body {
    padding: 16px;
}


/* ── 메인 레이아웃 ── */
.briefing-layout {
    width: 100%;
    padding: 0;
    min-height: calc(100vh - 48px);
    background: var(--bg-primary);
}

/* ── 목록 페이지 ── */
.briefing-hero {
    text-align: left;
    margin-bottom: 0;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}
.briefing-hero-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}
.briefing-hero-desc {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.briefing-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.briefing-empty i { font-size: 48px; margin-bottom: 16px; display: block; }
.briefing-empty p { font-size: 16px; }
.briefing-empty-sub { font-size: 13px; margin-top: 8px; }

/* 카드 그리드 */
.briefing-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.briefing-card {
    background: var(--bg-card);
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
    display: flex;
    flex-direction: column;
}
.briefing-card:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-hover);
}

/* Featured 카드 */
.briefing-card.featured {
    flex-direction: row;
}
.briefing-card.featured .briefing-card-img {
    width: 40%;
    max-width: 400px;
    min-height: 200px;
    aspect-ratio: auto;
}
.briefing-card.featured .briefing-card-body {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.briefing-card.featured .briefing-card-title {
    font-size: 18px;
}

.briefing-card-img {
    position: relative;
    aspect-ratio: 1200/630;
    overflow: hidden;
    background: var(--bg-surface);
}
.briefing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-surface);
}
.briefing-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-muted);
}
.briefing-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}
.briefing-card-badge.sentiment-bullish { background: rgba(38,166,65,0.2); color: var(--color-bullish); }
.briefing-card-badge.sentiment-bearish { background: rgba(248,81,73,0.2); color: var(--color-bearish); }
.briefing-card-badge.sentiment-neutral { background: rgba(139,148,158,0.2); color: var(--color-neutral); }

.briefing-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.briefing-card-date {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 600;
}
.briefing-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.briefing-card-summary {
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.briefing-card-meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.briefing-card-meta i { margin-right: 2px; }

/* 페이지네이션 */
.briefing-pagination {
    display: flex;
    justify-content: center;
    padding: 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.briefing-pagination a, .briefing-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    margin: 0 3px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.15s;
}
.briefing-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.briefing-pagination .active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── 상세 페이지 ── */
.briefing-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 10px 20px;
    margin-bottom: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.briefing-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}
.briefing-breadcrumb a:hover { color: var(--accent); }
.briefing-breadcrumb i { font-size: 10px; }

.briefing-hero-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
}
.briefing-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.briefing-hero-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
}
.briefing-hero-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}
.briefing-hero-badge.sentiment-bullish { background: rgba(38,166,65,0.3); color: #4ae168; }
.briefing-hero-badge.sentiment-bearish { background: rgba(248,81,73,0.3); color: #ff7b72; }
.briefing-hero-badge.sentiment-neutral { background: rgba(139,148,158,0.3); color: #b1bac4; }

.briefing-article-header {
    margin-bottom: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.briefing-article-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}
.briefing-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.briefing-article-meta i { margin-right: 4px; }

/* 기사 본문 */
.briefing-article-content {
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
    padding: 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.briefing-article-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.briefing-article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
}
.briefing-article-content p {
    margin-bottom: 16px;
}
.briefing-article-content strong {
    color: var(--accent);
    font-weight: 700;
}
.briefing-article-content figure {
    margin: 24px 0;
    text-align: center;
}
.briefing-article-content figure img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.briefing-article-content figcaption {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}
.briefing-article-content a.briefing-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent);
    transition: opacity 0.15s;
}
.briefing-article-content a.briefing-link:hover { opacity: 0.8; }

/* CTA 블록 */
.briefing-cta-block {
    margin: 24px 0 0;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 0;
    text-align: center;
    border: none;
    border-bottom: 1px solid var(--border);
}
.briefing-cta-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.briefing-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.briefing-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.15s;
}
.briefing-cta-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* 공유 바 */
.briefing-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    margin: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.15s;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* SNS 복사 섹션 — 표준 패널 시스템 적용 */
.briefing-sns-section {
    margin-top: 0;
    /* .briefing-panel 클래스와 함께 사용 */
}
.sns-section-title {
    /* .briefing-panel-header로 대체 — 하위 호환 */
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.sns-section-title i { font-size: 16px; color: var(--accent); }
.sns-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}
.sns-tab {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    border-bottom: 2px solid transparent;
}
.sns-tab:hover { color: var(--text-primary); }
.sns-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.sns-panel {
    display: none;
    padding: 16px;
}
.sns-panel.active { display: block; }
.sns-text-box,
.sns-text {
    padding: 16px;
    background: var(--bg-surface);
    border-radius: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 300px;
    overflow-y: auto;
    font-family: var(--font-sans);
    margin: 0 0 10px;
}
.sns-panel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.sns-char-count {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}
.sns-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
}
.sns-copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.sns-copy-btn.copied { background: #2ecc71; color: #fff; border-color: #2ecc71; }

/* 다른 브리핑 기사 리스트 — 표준 패널 시스템 적용 */
.briefing-related {
    margin-top: 0;
    /* .briefing-panel 클래스와 함께 사용 */
}
.related-title {
    /* .briefing-panel-header로 대체 — 하위 호환 */
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.related-title i { font-size: 16px; color: var(--accent); }
.related-list {
    max-height: 440px;
    overflow-y: auto;
}
.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { background: var(--bg-hover); }
.related-item.active {
    background: var(--bg-surface);
    border-left: 3px solid var(--accent);
    padding-left: 13px;
}
.related-date {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 44px;
}
.related-item-title {
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-badge {
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 4px;
}
.related-badge.sentiment-bullish { color: var(--color-bullish); background: rgba(38,166,65,0.1); }
.related-badge.sentiment-bearish { color: var(--color-bearish); background: rgba(248,81,73,0.1); }
.related-badge.sentiment-neutral { color: var(--color-neutral); background: rgba(139,148,158,0.1); }
.related-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: background 0.15s;
}
.related-more:hover { background: var(--bg-hover); }

/* 기사 네비게이션 */
.briefing-nav {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.briefing-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s;
    min-width: 140px;
    flex: 1;
}
.briefing-nav-link:hover { background: var(--bg-hover); }
.briefing-nav-link + .briefing-nav-link {
    border-left: 1px solid var(--border);
    justify-content: flex-end;
}
.briefing-nav-link i { font-size: 20px; color: var(--accent); }
.nav-label { font-size: 12px; color: var(--text-muted); display: block; }
.nav-date { font-size: 14px; font-weight: 600; font-family: var(--font-mono); }

/* 토스트 */
.briefing-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}
.briefing-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Footer: common.css의 .site-footer로 통일 */

/* ── 읽기 진행률 바 ── */
.reading-progress-bar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 999;
}
.reading-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3182f6, #7db4ff);
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
}

/* 햄버거 + 드로어: common.css 참조 */

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    -webkit-tap-highlight-color: transparent;
}
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 햄버거 → X 전환 애니메이션 */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── 모바일 드로어 (우측 슬라이딩) ── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 78vw;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    z-index: 510;
    background: var(--bg-body);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.mobile-drawer.open {
    transform: translateX(0);
}

/* 드로어 헤더 */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--gnb-bg);
}
.drawer-brand {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}
.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.drawer-close:hover { background: rgba(255,255,255,0.2); }

/* 드로어 옵션 영역 */
.drawer-options {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-update-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.drawer-update-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.drawer-option-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.drawer-option-label i {
    font-size: 1rem;
}

/* 테마 토글 스위치 */
.drawer-theme-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.25s;
    padding: 0;
}
[data-theme="dark"] .drawer-theme-toggle {
    background: var(--accent);
}
.drawer-theme-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
[data-theme="dark"] .drawer-theme-knob {
    transform: translateX(20px);
}

/* 드로어 메뉴 */
.drawer-menu {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.drawer-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    position: relative;
}
.drawer-menu-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.drawer-menu-item.active {
    color: var(--accent);
    font-weight: 700;
    background: rgba(59, 130, 246, 0.06);
}
.drawer-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
}
.drawer-menu-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.drawer-menu-badge {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* 드로어 푸터 */
.drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.drawer-sns {
    display: flex;
    gap: 12px;
}
.drawer-sns a {
    color: var(--text-muted);
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.2s;
}
.drawer-sns a:hover { color: var(--text-primary); }
.drawer-copy {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ── 카카오톡 공유 버튼 ── */
.share-btn.share-kakao {
    background: #FEE500;
    color: #191919;
}
.share-btn.share-kakao:hover { background: #F5DC00; }

/* ── SNS 복사 UI (중복 제거됨 → 375행 표준 패널 시스템으로 통합) ── */

/* ── 라이트 모드 이미지 경계 처리 (M-5) ── */
[data-theme="light"] .briefing-hero-image img,
[data-theme="light"] .briefing-article-content img {
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
[data-theme="light"] .briefing-card-img img {
    border-radius: 0;
}

/* ── 반응형 ── */
@media (max-width: 500px) {
    .gnb-menu { display: none; }
    .hamburger-btn { display: flex; }
    .gnb-desktop-only { display: none !important; }
    .briefing-layout { padding: 0 0 80px; }
    .briefing-footer { margin-bottom: 0; }
    .briefing-hero { flex-direction: column; align-items: flex-start; }
    .briefing-hero-title { font-size: 0.82rem; }
    
    .briefing-grid {
        flex-direction: column;
    }
    .briefing-card.featured {
        flex-direction: column;
    }
    .briefing-card.featured .briefing-card-img {
        width: 100%;
        min-height: auto;
    }
    .briefing-card.featured .briefing-card-title {
        font-size: 18px;
    }

    .briefing-article-title { font-size: 22px; }
    .briefing-article-content { font-size: 15px; }
    .briefing-article-content h2 { font-size: 19px; }

    .briefing-cta-links { flex-direction: column; }
    .briefing-cta-btn { justify-content: center; }

    .sns-tabs { overflow-x: auto; }
    .sns-tab { white-space: nowrap; flex: none; padding: 10px 14px; }

    .related-item-title { font-size: 13px; }
    .related-badge { font-size: 11px; }

    .briefing-nav { flex-direction: column; }
}


