/* Light theme (high-contrast) using #0c161a as brand base.
   Activated by html[data-theme="light_apple"] or html[data-theme="light"]. */

html[data-theme="light_apple"],
html[data-theme="light"] {
    color-scheme: light;
    --surface-max: #EDEDED;

    --base-ink: #0c161a;
    --base-ink-soft: #1f2f36;
    --base-ink-dim: #3f5561;

    --bg-dark: #edf2f6;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: rgba(255, 255, 255, 0.97);

    --primary: #0c161a;
    --primary-soft: rgba(12, 22, 26, 0.12);
    --secondary: #1f6feb;
    --tertiary: #0ea5a5;
    --gold: #c3870a;

    --text-main: #0c161a;
    --text-dim: #223640;
    --text-muted: #435864;

    --border-color: transparent;
    --border-highlight: transparent;

    --gradient-bg: var(--bg-dark);
    --gradient-card: var(--bg-card);

    --shadow-soft-1: 0 1px 2px rgba(12, 22, 26, 0.03);
    --shadow-soft-2: 0 1px 4px rgba(12, 22, 26, 0.05);
    --shadow-card: var(--shadow-soft-2);
    --shadow-glow: var(--shadow-soft-2);
    --content-max: 1200px;
}

html[data-theme="light_apple"] body,
html[data-theme="light"] body {
    background: var(--bg-dark);
    color: var(--text-main);
}

html[data-theme="light_apple"] .header-container,
html[data-theme="light"] .header-container {
    background: var(--bg-card);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
}

html[data-theme="light_apple"] .brand-logo,
html[data-theme="light"] .brand-logo,
html[data-theme="light_apple"] .brand-subtitle,
html[data-theme="light"] .brand-subtitle,
html[data-theme="light_apple"] .search-mobile-btn,
html[data-theme="light"] .search-mobile-btn {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .brand-logo .brand-needle,
html[data-theme="light"] .brand-logo .brand-needle {
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

html[data-theme="light_apple"] .share-x-btn,
html[data-theme="light"] .share-x-btn,
html[data-theme="light_apple"] .theme-toggle-btn,
html[data-theme="light"] .theme-toggle-btn,
html[data-theme="light_apple"] .palette-toggle-btn,
html[data-theme="light"] .palette-toggle-btn,
html[data-theme="light_apple"] .hamburger-btn,
html[data-theme="light"] .hamburger-btn {
    background: rgba(237, 237, 237, 0.92);
    border: 1px solid #c6d3de;
    color: var(--base-ink);
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .palette-popover,
html[data-theme="light"] .palette-popover {
    background: rgba(237, 237, 237, 0.96);
    border-color: #bccbd8;
}

html[data-theme="light_apple"] .palette-chip,
html[data-theme="light"] .palette-chip {
    border-color: rgba(12, 22, 26, 0.15);
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .theme-mode-chip,
html[data-theme="light"] .theme-mode-chip {
    background: rgba(237, 237, 237, 0.92);
    border: 1px solid #c6d3de;
    color: #1a313c;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .theme-mode-chip:hover,
html[data-theme="light"] .theme-mode-chip:hover {
    background: #eef5fc;
    border-color: #9db3c3;
    color: #10242d;
}

html[data-theme="light_apple"] .theme-mode-chip.is-active,
html[data-theme="light"] .theme-mode-chip.is-active {
    background: linear-gradient(140deg, #0c161a 0%, #223843 100%);
    border-color: transparent;
    color: #ffffff;
}

html[data-theme="light_apple"] .theme-toggle-btn.is-active,
html[data-theme="light"] .theme-toggle-btn.is-active {
    background: linear-gradient(140deg, #0c161a 0%, #223843 100%);
    border-color: transparent;
    color: #ffffff;
}

html[data-theme="light_apple"] .header-search-input,
html[data-theme="light"] .header-search-input,
html[data-theme="light_apple"] .mm-search-input,
html[data-theme="light"] .mm-search-input {
    background: rgba(237, 237, 237, 0.94);
    border: 1px solid #bdcbd8;
    color: var(--base-ink);
}

html[data-theme="light_apple"] .header-search-input::placeholder,
html[data-theme="light"] .header-search-input::placeholder,
html[data-theme="light_apple"] .mm-search-input::placeholder,
html[data-theme="light"] .mm-search-input::placeholder {
    color: #607885;
}

html[data-theme="light_apple"] .pill,
html[data-theme="light"] .pill {
    background: rgba(237, 237, 237, 0.90);
    border: 1px solid #b9c9d6;
    color: var(--text-dim);
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .pill:hover,
html[data-theme="light"] .pill:hover {
    border-color: #8ea4b3;
    color: var(--base-ink);
}

html[data-theme="light_apple"] .pill.active,
html[data-theme="light"] .pill.active,
html[data-theme="light_apple"] .mb-nav-item.active,
html[data-theme="light"] .mb-nav-item.active {
    background: linear-gradient(140deg, #0c161a 0%, #223843 100%);
    color: #ffffff;
    border-color: transparent;
}

html[data-theme="light_apple"] .main-container,
html[data-theme="light"] .main-container {
    background: transparent;
}

html[data-theme="light_apple"] .stream-card,
html[data-theme="light"] .stream-card,
html[data-theme="light_apple"] .panel,
html[data-theme="light"] .panel,
html[data-theme="light_apple"] .s-card,
html[data-theme="light"] .s-card,
html[data-theme="light_apple"] .graph-container,
html[data-theme="light"] .graph-container,
html[data-theme="light_apple"] .related-section,
html[data-theme="light"] .related-section,
html[data-theme="light_apple"] .history-header,
html[data-theme="light"] .history-header,
html[data-theme="light_apple"] .history-fan-card,
html[data-theme="light"] .history-fan-card,
html[data-theme="light_apple"] .history-live-card,
html[data-theme="light"] .history-live-card,
html[data-theme="light_apple"] .history-chat-card,
html[data-theme="light"] .history-chat-card,
html[data-theme="light_apple"] .history-activity-card,
html[data-theme="light"] .history-activity-card,
html[data-theme="light_apple"] .stats-hub-hero,
html[data-theme="light"] .stats-hub-hero,
html[data-theme="light_apple"] .search-panel,
html[data-theme="light"] .search-panel,
html[data-theme="light_apple"] .ranking-card-detailed,
html[data-theme="light"] .ranking-card-detailed,
html[data-theme="light_apple"] .ratio-card,
html[data-theme="light"] .ratio-card,
html[data-theme="light_apple"] .history-section,
html[data-theme="light"] .history-section {
    background: var(--gradient-card);
    border: 1px solid #c8d5df;
    box-shadow: var(--shadow-card);
}

html[data-theme="light_apple"] .stream-card:hover,
html[data-theme="light"] .stream-card:hover,
html[data-theme="light_apple"] .ranking-card-detailed:hover,
html[data-theme="light"] .ranking-card-detailed:hover,
html[data-theme="light_apple"] .ratio-card:hover,
html[data-theme="light"] .ratio-card:hover {
    background: rgba(237, 237, 237, 0.98);
    border-color: #88a1b1;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .dashboard-desc--hero,
html[data-theme="light"] .dashboard-desc--hero {
    background: linear-gradient(145deg, #ffffff 0%, #eef4fb 100%);
    border: 1px solid #b8c9d8;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .holonavi-cta,
html[data-theme="light"] .holonavi-cta {
    background: linear-gradient(145deg, #ffffff 0%, #eef4fb 100%);
    border: 1px solid #b8c9d8;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .holonavi-cta__eyebrow,
html[data-theme="light"] .holonavi-cta__eyebrow {
    color: var(--secondary);
}

html[data-theme="light_apple"] .holonavi-cta__title,
html[data-theme="light"] .holonavi-cta__title,
html[data-theme="light_apple"] .holonavi-cta__copy,
html[data-theme="light"] .holonavi-cta__copy {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .holonavi-cta__chip,
html[data-theme="light"] .holonavi-cta__chip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #c8d5df;
    color: var(--base-ink-dim);
}

html[data-theme="light_apple"] .holonavi-cta__link,
html[data-theme="light"] .holonavi-cta__link {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #c8d5df;
    color: var(--base-ink);
}

html[data-theme="light_apple"] .holonavi-cta__link:hover,
html[data-theme="light"] .holonavi-cta__link:hover {
    background: #ffffff;
    border-color: #9db3c3;
}

html[data-theme="light_apple"] .holonavi-cta__link-sub,
html[data-theme="light"] .holonavi-cta__link-sub {
    color: var(--base-ink-dim);
}

html[data-theme="light_apple"] .holonavi-cta__link.is-primary,
html[data-theme="light"] .holonavi-cta__link.is-primary {
    background: linear-gradient(140deg, #0c161a 0%, #223843 100%);
    border-color: transparent;
    color: #ffffff;
}

html[data-theme="light_apple"] .holonavi-cta__link.is-primary .holonavi-cta__link-sub,
html[data-theme="light"] .holonavi-cta__link.is-primary .holonavi-cta__link-sub {
    color: rgba(255, 255, 255, 0.82);
}

html[data-theme="light_apple"] .dashboard-desc,
html[data-theme="light"] .dashboard-desc {
    background: linear-gradient(145deg, #ffffff 0%, #f3f7fc 100%);
    border: 1px solid #c4d2de;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .dashboard-desc h1,
html[data-theme="light"] .dashboard-desc h1,
html[data-theme="light_apple"] .dashboard-desc .dashboard-desc-title,
html[data-theme="light"] .dashboard-desc .dashboard-desc-title,
html[data-theme="light_apple"] .dashboard-desc p,
html[data-theme="light"] .dashboard-desc p,
html[data-theme="light_apple"] .dashboard-desc .dashboard-desc-copy,
html[data-theme="light"] .dashboard-desc .dashboard-desc-copy {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .stats-ranking-meta,
html[data-theme="light"] .stats-ranking-meta,
html[data-theme="light_apple"] .rc-love-label,
html[data-theme="light"] .rc-love-label,
html[data-theme="light_apple"] .rc-box-label,
html[data-theme="light"] .rc-box-label,
html[data-theme="light_apple"] .rc-unit-small,
html[data-theme="light"] .rc-unit-small {
    color: var(--base-ink-dim);
}

html[data-theme="light_apple"] .rc-name,
html[data-theme="light"] .rc-name,
html[data-theme="light_apple"] .rc-name-link,
html[data-theme="light"] .rc-name-link,
html[data-theme="light_apple"] .rc-love-val,
html[data-theme="light"] .rc-love-val,
html[data-theme="light_apple"] .rc-box-val,
html[data-theme="light"] .rc-box-val {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .rc-box,
html[data-theme="light"] .rc-box {
    background: rgba(237, 237, 237, 0.95);
    border-color: #c3d2de;
}

html[data-theme="light_apple"] .rc-box--accent,
html[data-theme="light"] .rc-box--accent {
    background: #eef5fc;
}

html[data-theme="light_apple"] .dashboard-desc--hero .dashboard-desc-title,
html[data-theme="light"] .dashboard-desc--hero .dashboard-desc-title,
html[data-theme="light_apple"] .dashboard-desc--hero .dashboard-desc-subtitle,
html[data-theme="light"] .dashboard-desc--hero .dashboard-desc-subtitle,
html[data-theme="light_apple"] .dashboard-desc--hero .dashboard-desc-copy,
html[data-theme="light"] .dashboard-desc--hero .dashboard-desc-copy,
html[data-theme="light_apple"] .ranking-section-title,
html[data-theme="light"] .ranking-section-title,
html[data-theme="light_apple"] .ranking-title-nav .rt-text,
html[data-theme="light"] .ranking-title-nav .rt-text,
html[data-theme="light_apple"] .ranking-title-nav .rt-date,
html[data-theme="light"] .ranking-title-nav .rt-date,
html[data-theme="light_apple"] .ranking-title-nav .rt-desc,
html[data-theme="light"] .ranking-title-nav .rt-desc,
html[data-theme="light_apple"] .stream-title,
html[data-theme="light"] .stream-title,
html[data-theme="light_apple"] .rc-stream-title,
html[data-theme="light"] .rc-stream-title,
html[data-theme="light_apple"] .ratio-card__metric-val,
html[data-theme="light"] .ratio-card__metric-val,
html[data-theme="light_apple"] .stats-hub-hero-title,
html[data-theme="light"] .stats-hub-hero-title,
html[data-theme="light_apple"] .stats-hub-hero-card-name,
html[data-theme="light"] .stats-hub-hero-card-name,
html[data-theme="light_apple"] .history-name,
html[data-theme="light"] .history-name,
html[data-theme="light_apple"] .hero-title,
html[data-theme="light"] .hero-title,
html[data-theme="light_apple"] .graph-title,
html[data-theme="light"] .graph-title,
html[data-theme="light_apple"] .sec-title,
html[data-theme="light"] .sec-title,
html[data-theme="light_apple"] .hm-table,
html[data-theme="light"] .hm-table {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .stream-owner-line,
html[data-theme="light"] .stream-owner-line,
html[data-theme="light_apple"] .owner-name,
html[data-theme="light"] .owner-name,
html[data-theme="light_apple"] .stream-stats,
html[data-theme="light"] .stream-stats,
html[data-theme="light_apple"] .stat-item,
html[data-theme="light"] .stat-item,
html[data-theme="light_apple"] .stream-date,
html[data-theme="light"] .stream-date,
html[data-theme="light_apple"] .s-card-label,
html[data-theme="light"] .s-card-label,
html[data-theme="light_apple"] .s-card-sub,
html[data-theme="light"] .s-card-sub,
html[data-theme="light_apple"] .stats-hub-hero-sub,
html[data-theme="light"] .stats-hub-hero-sub,
html[data-theme="light_apple"] .history-meta,
html[data-theme="light"] .history-meta,
html[data-theme="light_apple"] .history-affiliation,
html[data-theme="light"] .history-affiliation,
html[data-theme="light_apple"] .hero-meta,
html[data-theme="light"] .hero-meta {
    color: var(--base-ink-dim);
}

html[data-theme="light_apple"] .s-card-val,
html[data-theme="light"] .s-card-val {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .s-card-val-ccv,
html[data-theme="light"] .s-card-val-ccv {
    color: #1457c0;
}

html[data-theme="light_apple"] .s-card-val-sc,
html[data-theme="light"] .s-card-val-sc {
    color: #0a7ea8;
}

html[data-theme="light_apple"] .s-card-val-gift,
html[data-theme="light"] .s-card-val-gift {
    color: #0c8e79;
}

html[data-theme="light_apple"] .s-card-val-mem,
html[data-theme="light"] .s-card-val-mem {
    color: #1f6feb;
}

html[data-theme="light_apple"] .mobile-menu-overlay,
html[data-theme="light"] .mobile-menu-overlay {
    background: rgba(244, 248, 252, 0.95);
}

html[data-theme="light_apple"] .mm-link,
html[data-theme="light"] .mm-link {
    background: #ffffff;
    color: var(--base-ink);
    border: 1px solid #becedb;
}

html[data-theme="light_apple"] .mm-link.active,
html[data-theme="light"] .mm-link.active {
    background: #e9f0f9;
    color: var(--base-ink);
    border-color: #91a7b8;
}

html[data-theme="light_apple"] .mobile-bottom-nav,
html[data-theme="light"] .mobile-bottom-nav {
    background: rgba(244, 249, 253, 0.96);
    border-top: 1px solid #c4d2dd;
    backdrop-filter: blur(8px) saturate(140%);
}

html[data-theme="light_apple"] .mb-nav-item,
html[data-theme="light"] .mb-nav-item {
    color: var(--base-ink-soft);
}

html[data-theme="light_apple"] .mb-nav-item i,
html[data-theme="light"] .mb-nav-item i {
    color: var(--base-ink) !important;
    opacity: 0.92;
}

html[data-theme="light_apple"] .graph-warning,
html[data-theme="light"] .graph-warning,
html[data-theme="light_apple"] .graph-missing,
html[data-theme="light"] .graph-missing,
html[data-theme="light_apple"] .chart-legend-mobile .legend-item,
html[data-theme="light"] .chart-legend-mobile .legend-item {
    background: #ffffff;
    border-color: #bfd0de;
    color: var(--base-ink-soft);
}

html[data-theme="light_apple"] .footer,
html[data-theme="light"] .footer {
    color: var(--base-ink-dim);
}

/* Timeline readability */
html[data-theme="light_apple"] .timeline-page-title,
html[data-theme="light"] .timeline-page-title,
html[data-theme="light_apple"] .page-title,
html[data-theme="light"] .page-title,
html[data-theme="light_apple"] .timeline-title,
html[data-theme="light"] .timeline-title,
html[data-theme="light_apple"] .timeline-count,
html[data-theme="light"] .timeline-count {
    color: var(--base-ink) !important;
}

html[data-theme="light_apple"] .date-nav,
html[data-theme="light"] .date-nav {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .date-nav a,
html[data-theme="light"] .date-nav a {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .date-nav .nav-disabled,
html[data-theme="light"] .date-nav .nav-disabled {
    color: #6b7f8a;
}

html[data-theme="light_apple"] .timeline-hour-group,
html[data-theme="light"] .timeline-hour-group {
    background: #e7eef6;
    border-left-color: #1f6feb;
}

html[data-theme="light_apple"] .timeline-hour-label,
html[data-theme="light"] .timeline-hour-label {
    color: #1457c0;
}

html[data-theme="light_apple"] .timeline-hour-count,
html[data-theme="light"] .timeline-hour-count {
    color: var(--base-ink-soft);
}

/* Stream graph readability */
html[data-theme="light_apple"] .sg-title,
html[data-theme="light"] .sg-title {
    color: var(--base-ink);
    text-shadow: none;
}

html[data-theme="light_apple"] .sg-title-external,
html[data-theme="light"] .sg-title-external {
    opacity: 0.8;
}

html[data-theme="light_apple"] .sg-meta,
html[data-theme="light"] .sg-meta,
html[data-theme="light_apple"] .sg-meta-note,
html[data-theme="light"] .sg-meta-note,
html[data-theme="light_apple"] .sg-summary-label,
html[data-theme="light"] .sg-summary-label {
    color: var(--base-ink-dim);
}

html[data-theme="light_apple"] .sg-meta-link,
html[data-theme="light"] .sg-meta-link,
html[data-theme="light_apple"] .sg-summary-value,
html[data-theme="light"] .sg-summary-value {
    color: var(--base-ink);
    text-decoration-color: rgba(12, 22, 26, 0.35);
}

html[data-theme="light_apple"] .sg-summary-item,
html[data-theme="light"] .sg-summary-item {
    background: #f4f8fc;
    border-color: #c4d3de;
}

html[data-theme="light_apple"] .nav-btn,
html[data-theme="light"] .nav-btn {
    background: #ffffff;
    border-color: #c4d2dd;
    color: var(--base-ink);
}

html[data-theme="light_apple"] .nav-btn:hover,
html[data-theme="light"] .nav-btn:hover {
    background: #f3f7fc;
    color: var(--base-ink);
}

html[data-theme="light_apple"] .nav-label,
html[data-theme="light"] .nav-label {
    color: #526874;
}

html[data-theme="light_apple"] .nav-title,
html[data-theme="light"] .nav-title,
html[data-theme="light_apple"] .footer-copy,
html[data-theme="light"] .footer-copy {
    color: var(--base-ink-soft);
}

/* UX lift for light mode: scanning speed and click confidence */
html[data-theme="light_apple"] .main-container,
html[data-theme="light"] .main-container {
    max-width: var(--content-max);
}

html[data-theme="light_apple"] .timeline-grid,
html[data-theme="light"] .timeline-grid {
    gap: 12px;
}

html[data-theme="light_apple"] .stream-card,
html[data-theme="light"] .stream-card {
    border-radius: 12px;
}

html[data-theme="light_apple"] .stream-card:hover,
html[data-theme="light"] .stream-card:hover {
    transform: translateY(-2px);
}

html[data-theme="light_apple"] .ranking-title-nav,
html[data-theme="light"] .ranking-title-nav,
html[data-theme="light_apple"] .date-nav,
html[data-theme="light"] .date-nav {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #c6d4de;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .ranking-title-nav .rt-nav,
html[data-theme="light"] .ranking-title-nav .rt-nav {
    color: #162c38;
    background: #f2f6fa;
    border: 1px solid #b8cad8;
}

html[data-theme="light_apple"] .ranking-title-nav .rt-nav:hover,
html[data-theme="light"] .ranking-title-nav .rt-nav:hover {
    color: #0f2430;
    background: #e4edf5;
    border-color: #9eb6c9;
}

html[data-theme="light_apple"] .ranking-title-nav .rt-disabled,
html[data-theme="light"] .ranking-title-nav .rt-disabled {
    color: #7890a3;
    background: #edf3f8;
    border-color: #c6d4de;
    opacity: 1;
}

html[data-theme="light_apple"] .sg-quick-links .pill,
html[data-theme="light"] .sg-quick-links .pill {
    font-weight: 700;
}

/* Digest ticker readability in light mode */
html[data-theme="light_apple"] .daily-news-container--digest,
html[data-theme="light"] .daily-news-container--digest {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.90));
    border-top: 1px solid #c2cfdb;
    border-bottom: 1px solid #c2cfdb;
}

html[data-theme="light_apple"] .daily-news-container--digest .daily-news-label,
html[data-theme="light"] .daily-news-container--digest .daily-news-label {
    background: #0c161a;
    color: #ffffff;
}

html[data-theme="light_apple"] .daily-news-container--digest .news-item-value,
html[data-theme="light"] .daily-news-container--digest .news-item-value {
    color: #0f2230;
}

html[data-theme="light_apple"] .daily-news-container--digest .hm-digest-ticker-link,
html[data-theme="light"] .daily-news-container--digest .hm-digest-ticker-link {
    color: #0d2a3b;
    text-shadow: none;
}

html[data-theme="light_apple"] .daily-news-container--digest .hm-digest-ticker-link:hover,
html[data-theme="light"] .daily-news-container--digest .hm-digest-ticker-link:hover {
    color: #061722;
}

html[data-theme="light_apple"] .daily-news-container--digest .hm-digest-ticker-sep,
html[data-theme="light"] .daily-news-container--digest .hm-digest-ticker-sep {
    color: #516676;
}

/* TODAY'S NEWS palette (light mode) */
html[data-theme="light_apple"] .daily-news-container,
html[data-theme="light"] .daily-news-container {
    background: linear-gradient(90deg, #edf4fb 0%, #e7eff8 100%);
    border-top: 1px solid #c2d4e3;
    border-bottom: 1px solid #c2d4e3;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .daily-news-label,
html[data-theme="light"] .daily-news-label {
    background: linear-gradient(135deg, #0c161a 0%, #203843 100%);
    color: #ffffff;
}

html[data-theme="light_apple"] .daily-news-content,
html[data-theme="light"] .daily-news-content {
    background: transparent;
}

html[data-theme="light_apple"] .news-item,
html[data-theme="light"] .news-item {
    color: #182a33;
}

html[data-theme="light_apple"] .news-item-label,
html[data-theme="light"] .news-item-label,
html[data-theme="light_apple"] .news-item-sub,
html[data-theme="light"] .news-item-sub {
    color: #3d5765;
    opacity: 1;
}

html[data-theme="light_apple"] .news-item-value,
html[data-theme="light"] .news-item-value {
    color: #0c161a;
}

html[data-theme="light_apple"] .news-item-label i,
html[data-theme="light"] .news-item-label i {
    color: #1f6feb;
    opacity: 1;
}

html[data-theme="light_apple"] .news-item.revenue .news-item-label i,
html[data-theme="light"] .news-item.revenue .news-item-label i {
    color: #b87a00;
}

html[data-theme="light_apple"] .news-divider,
html[data-theme="light"] .news-divider {
    background: #b9cddd;
}

/* Cross-page contrast hardening (members/history/stats_hub/simple_ranking). */
html[data-theme="light_apple"] .section-title,
html[data-theme="light"] .section-title,
html[data-theme="light_apple"] .hero-section-title,
html[data-theme="light"] .hero-section-title,
html[data-theme="light_apple"] .timeline-title,
html[data-theme="light"] .timeline-title,
html[data-theme="light_apple"] .stats-hub-title,
html[data-theme="light"] .stats-hub-title,
html[data-theme="light_apple"] .simple-ranking-title,
html[data-theme="light"] .simple-ranking-title,
html[data-theme="light_apple"] .simple-ranking-link,
html[data-theme="light"] .simple-ranking-link,
html[data-theme="light_apple"] .simple-ranking-val,
html[data-theme="light"] .simple-ranking-val,
html[data-theme="light_apple"] .stats-row-link,
html[data-theme="light"] .stats-row-link,
html[data-theme="light_apple"] .stats-row-val,
html[data-theme="light"] .stats-row-val {
    color: var(--base-ink) !important;
}

html[data-theme="light_apple"] .simple-ranking-sub,
html[data-theme="light"] .simple-ranking-sub,
html[data-theme="light_apple"] .simple-ranking-meta,
html[data-theme="light"] .simple-ranking-meta,
html[data-theme="light_apple"] .stats-hub-hero-sub,
html[data-theme="light"] .stats-hub-hero-sub,
html[data-theme="light_apple"] .stats-row-sub,
html[data-theme="light"] .stats-row-sub,
html[data-theme="light_apple"] .stats-hub-hero-card-label,
html[data-theme="light"] .stats-hub-hero-card-label {
    color: var(--base-ink-dim) !important;
    opacity: 1 !important;
}

html[data-theme="light_apple"] .stats-hub-hero,
html[data-theme="light"] .stats-hub-hero {
    background: linear-gradient(155deg, #ffffff 0%, #eef3fb 100%);
    border-color: #b8c8d7;
}

html[data-theme="light_apple"] .stats-hub-hero-card,
html[data-theme="light"] .stats-hub-hero-card,
html[data-theme="light_apple"] .simple-ranking-card,
html[data-theme="light"] .simple-ranking-card,
html[data-theme="light_apple"] .stats-hub-box,
html[data-theme="light"] .stats-hub-box {
    background: rgba(237, 237, 237, 0.95);
    border: 1px solid #c3d2de;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .stats-row,
html[data-theme="light"] .stats-row,
html[data-theme="light_apple"] .simple-ranking-row,
html[data-theme="light"] .simple-ranking-row {
    border-bottom-color: #d7e1ea;
}

html[data-theme="light_apple"] .stats-row-bar,
html[data-theme="light"] .stats-row-bar,
html[data-theme="light_apple"] .simple-ranking-bar,
html[data-theme="light"] .simple-ranking-bar {
    background: linear-gradient(90deg, rgba(31, 111, 235, 0.12) 0%, rgba(31, 111, 235, 0.03) 100%);
}

html[data-theme="light_apple"] .stats-hub-hero-title,
html[data-theme="light"] .stats-hub-hero-title,
html[data-theme="light_apple"] .stats-hub-hero-card-name,
html[data-theme="light"] .stats-hub-hero-card-name,
html[data-theme="light_apple"] .stats-hub-hero-card-val,
html[data-theme="light"] .stats-hub-hero-card-val {
    color: #0c161a !important;
}

html[data-theme="light_apple"] .stats-hub-hotline-label,
html[data-theme="light"] .stats-hub-hotline-label {
    color: #365166 !important;
}

html[data-theme="light_apple"] .stats-hub-hot-chip,
html[data-theme="light"] .stats-hub-hot-chip {
    color: #23435a !important;
    background: #e7f1f8 !important;
    border-color: #b8cbdb !important;
}

html[data-theme="light_apple"] .stats-hub-hot-chip:hover,
html[data-theme="light"] .stats-hub-hot-chip:hover {
    color: #152f43 !important;
    background: #dbeaf5 !important;
}

html[data-theme="light_apple"] .stats-hub-empty-state,
html[data-theme="light"] .stats-hub-empty-state,
html[data-theme="light_apple"] .antenna-summary,
html[data-theme="light"] .antenna-summary,
html[data-theme="light_apple"] .antenna-empty-state,
html[data-theme="light"] .antenna-empty-state {
    color: #5a7180;
}

html[data-theme="light_apple"] .utility-table,
html[data-theme="light"] .utility-table {
    background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light_apple"] .utility-table th,
html[data-theme="light"] .utility-table th,
html[data-theme="light_apple"] .utility-table td,
html[data-theme="light"] .utility-table td {
    border-bottom-color: #d7e1ea;
}

html[data-theme="light_apple"] .utility-status--ok,
html[data-theme="light"] .utility-status--ok {
    color: #1f7a3e;
}

html[data-theme="light_apple"] .utility-status--warn,
html[data-theme="light"] .utility-status--warn {
    color: #b45309;
}

html[data-theme="light_apple"] .member-card__name,
html[data-theme="light"] .member-card__name,
html[data-theme="light_apple"] .member-card__group,
html[data-theme="light"] .member-card__group,
html[data-theme="light_apple"] .upcoming-event-title,
html[data-theme="light"] .upcoming-event-title,
html[data-theme="light_apple"] .upcoming-event-name,
html[data-theme="light"] .upcoming-event-name,
html[data-theme="light_apple"] .upcoming-event-date,
html[data-theme="light"] .upcoming-event-date,
html[data-theme="light_apple"] .upcoming-event-countdown,
html[data-theme="light"] .upcoming-event-countdown {
    color: var(--base-ink) !important;
    opacity: 1 !important;
}

html[data-theme="light_apple"] .upcoming-event-date,
html[data-theme="light"] .upcoming-event-date {
    color: #476170 !important;
}

html[data-theme="light_apple"] .upcoming-event-countdown,
html[data-theme="light"] .upcoming-event-countdown {
    color: #9d422f !important;
}

html[data-theme="light_apple"] .upcoming-event-box,
html[data-theme="light"] .upcoming-event-box,
html[data-theme="light_apple"] .upcoming-event-item,
html[data-theme="light"] .upcoming-event-item {
    background: rgba(237, 237, 237, 0.94);
    border-color: #c6d3de;
}

html[data-theme="light_apple"] .history-upcoming-chip,
html[data-theme="light"] .history-upcoming-chip {
    color: #1d3342;
    background: linear-gradient(180deg, rgba(237, 243, 250, 0.96) 0%, rgba(229, 236, 245, 0.92) 100%);
    border: 1px solid #b7c9d8;
}

html[data-theme="light_apple"] .history-upcoming-chip strong,
html[data-theme="light"] .history-upcoming-chip strong {
    color: #102130;
}

html[data-theme="light_apple"] .history-upcoming-chip time,
html[data-theme="light"] .history-upcoming-chip time {
    color: #3f5b6f;
}

html[data-theme="light_apple"] .history-upcoming-chip em,
html[data-theme="light"] .history-upcoming-chip em {
    color: color-mix(in srgb, var(--primary) 70%, #1f2f36);
    font-weight: 700;
}

html[data-theme="light_apple"] .history-theme-btn,
html[data-theme="light"] .history-theme-btn {
    border-color: color-mix(in srgb, var(--primary) 38%, #bcd0de);
    color: #173244;
}

html[data-theme="light_apple"] .history-member-color-btn,
html[data-theme="light"] .history-member-color-btn {
    border-color: color-mix(in srgb, var(--primary) 46%, #b7cad9);
    color: #102130;
    background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 14%, #edf3fa) 0%, color-mix(in srgb, var(--primary) 8%, #e8eff7) 100%);
}

html[data-theme="light_apple"] .history-member-color-btn:hover,
html[data-theme="light"] .history-member-color-btn:hover {
    border-color: color-mix(in srgb, var(--primary) 58%, #9db5c8);
    color: #0c161a;
}

html[data-theme="light_apple"] .history-theme-btn.is-applied,
html[data-theme="light"] .history-theme-btn.is-applied {
    background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 18%, #edf3fa) 0%, color-mix(in srgb, var(--primary) 10%, #e8eff7) 100%);
    border-color: color-mix(in srgb, var(--primary) 55%, #9eb4c4);
    color: #0c161a;
}

html[data-theme="light_apple"] .history-meta-item,
html[data-theme="light"] .history-meta-item {
    color: #304a5a;
}

html[data-theme="light_apple"] .history-meta-label,
html[data-theme="light"] .history-meta-label {
    color: #3e596b;
}

html[data-theme="light_apple"] .history-meta-value,
html[data-theme="light"] .history-meta-value {
    color: #0f2330;
}

html[data-theme="light_apple"] .history-meta-item-birthday .history-meta-value,
html[data-theme="light"] .history-meta-item-birthday .history-meta-value {
    color: color-mix(in srgb, var(--primary) 72%, #0f2330);
}

html[data-theme="light_apple"] .history-side-menu,
html[data-theme="light"] .history-side-menu {
    background: #edf3f9;
    border: none;
}

html[data-theme="light_apple"] .history-side-title,
html[data-theme="light"] .history-side-title,
html[data-theme="light_apple"] .history-side-group-title,
html[data-theme="light"] .history-side-group-title,
html[data-theme="light_apple"] .history-side-link,
html[data-theme="light"] .history-side-link {
    color: #132a35;
}

html[data-theme="light_apple"] .history-side-group[open] .history-side-group-title::after,
html[data-theme="light"] .history-side-group[open] .history-side-group-title::after,
html[data-theme="light_apple"] .history-side-group:not([open]) .history-side-group-title::after,
html[data-theme="light"] .history-side-group:not([open]) .history-side-group-title::after {
    color: #49616e;
}

html[data-theme="light_apple"] .history-side-link,
html[data-theme="light"] .history-side-link {
    background: rgba(237, 237, 237, 0.94);
    border: none;
}

html[data-theme="light_apple"] .history-side-link:hover,
html[data-theme="light"] .history-side-link:hover {
    background: #eef5fc;
}

html[data-theme="light_apple"] .history-side-link.is-active,
html[data-theme="light"] .history-side-link.is-active {
    background: #dce9f8;
    color: #0c161a;
}

html[data-theme="light_apple"] .side-mini-nav,
html[data-theme="light"] .side-mini-nav {
    background: #edf3f9;
    border: 1px solid #bccbd8;
}

html[data-theme="light_apple"] .side-mini-title,
html[data-theme="light"] .side-mini-title {
    color: #2f4653;
}

html[data-theme="light_apple"] .side-mini-link,
html[data-theme="light"] .side-mini-link {
    background: rgba(237, 237, 237, 0.94);
    border-color: #c6d3de;
    color: #1c3846;
}

html[data-theme="light_apple"] .side-mini-link i,
html[data-theme="light"] .side-mini-link i {
    color: #3f5a67;
}

html[data-theme="light_apple"] .side-mini-link:hover,
html[data-theme="light"] .side-mini-link:hover {
    background: #eef5fc;
    border-color: #98afc0;
    color: #11242e;
}

html[data-theme="light_apple"] .side-mini-link.active,
html[data-theme="light"] .side-mini-link.active {
    background: linear-gradient(140deg, #0c161a 0%, #233b46 100%);
    border-color: transparent;
    color: #ffffff;
}

html[data-theme="light_apple"] .side-mini-link.active i,
html[data-theme="light"] .side-mini-link.active i {
    color: #ffffff;
}

html[data-theme="light_apple"] .history-ranking-link,
html[data-theme="light"] .history-ranking-link {
    background: #f4f8fc;
    border-color: #c4d4e2;
    color: #173244;
}

html[data-theme="light_apple"] .history-ranking-link:hover,
html[data-theme="light"] .history-ranking-link:hover {
    background: #eef5fc;
    border-color: #96b0c4;
    color: #0f2531;
}

html[data-theme="light_apple"] .history-ranking-link.is-active,
html[data-theme="light"] .history-ranking-link.is-active {
    background: #dce9f8;
    border-color: #88a7bf;
    color: #0c161a;
}

html[data-theme="light_apple"] .member-music-filter-section,
html[data-theme="light"] .member-music-filter-section {
    background: color-mix(in srgb, var(--bg-dark) 96%, transparent);
}

html[data-theme="light_apple"] .member-music-filter-kicker,
html[data-theme="light"] .member-music-filter-kicker {
    color: #607885;
}

html[data-theme="light_apple"] .member-music-filter-summary,
html[data-theme="light"] .member-music-filter-summary {
    color: #173244;
}

html[data-theme="light_apple"] .member-music-count,
html[data-theme="light"] .member-music-count {
    color: #607885;
}

html[data-theme="light_apple"] .info-page-intro,
html[data-theme="light"] .info-page-intro {
    color: #607885;
}

html[data-theme="light_apple"] .info-page-meta,
html[data-theme="light"] .info-page-meta {
    color: #718896;
}

html[data-theme="light_apple"] .info-page-row-copy,
html[data-theme="light"] .info-page-row-copy,
html[data-theme="light_apple"] .info-page-row-title,
html[data-theme="light"] .info-page-row-title {
    color: var(--base-ink);
}

html[data-theme="light_apple"] .info-page-inline-link,
html[data-theme="light"] .info-page-inline-link {
    color: #1f6feb;
}

html[data-theme="light_apple"] .history-next-panel,
html[data-theme="light"] .history-next-panel {
    background: #eef4fb;
    border-color: #c0cfdc;
}

html[data-theme="light_apple"] .history-next-title,
html[data-theme="light"] .history-next-title {
    color: #1b3645;
}

html[data-theme="light_apple"] .history-next-shortcut-chip,
html[data-theme="light"] .history-next-shortcut-chip {
    background: #ffffff;
    border-color: #c3d2de;
    color: #173244;
}

html[data-theme="light_apple"] .history-next-shortcut-chip i,
html[data-theme="light"] .history-next-shortcut-chip i {
    color: #4a687d;
}

html[data-theme="light_apple"] .history-next-shortcut-chip:hover,
html[data-theme="light"] .history-next-shortcut-chip:hover {
    background: #eef5fc;
    border-color: #99afbf;
}

html[data-theme="light_apple"] .history-next-member-chip,
html[data-theme="light"] .history-next-member-chip {
    background: #ffffff;
    border-color: color-mix(in oklab, var(--oshi-color, #6b7f90) 45%, #c1cfdb);
    color: #183140;
}

html[data-theme="light_apple"] .history-next-member-chip:hover,
html[data-theme="light"] .history-next-member-chip:hover {
    background: #eef5fc;
}

html[data-theme="light_apple"] .history-next-member-chip span,
html[data-theme="light"] .history-next-member-chip span {
    color: #183140;
}

html[data-theme="light_apple"] .member-card,
html[data-theme="light"] .member-card {
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .member-card:hover,
html[data-theme="light"] .member-card:hover {
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .member-card__group,
html[data-theme="light"] .member-card__group {
    color: #2a3c45;
    border-color: #ced9e2;
    background: #f3f8fc;
}

html[data-theme="light_apple"] .history-timeline-title,
html[data-theme="light"] .history-timeline-title,
html[data-theme="light_apple"] .history-timeline-date-text,
html[data-theme="light"] .history-timeline-date-text,
html[data-theme="light_apple"] .history-timeline-subtitle,
html[data-theme="light"] .history-timeline-subtitle,
html[data-theme="light_apple"] .history-timeline-stat,
html[data-theme="light"] .history-timeline-stat,
html[data-theme="light_apple"] .history-rss-title,
html[data-theme="light"] .history-rss-title,
html[data-theme="light_apple"] .history-rss-meta,
html[data-theme="light"] .history-rss-meta {
    color: var(--base-ink) !important;
    opacity: 1 !important;
}

html[data-theme="light_apple"] .history-timeline-item,
html[data-theme="light"] .history-timeline-item,
html[data-theme="light_apple"] .history-archive-row-card,
html[data-theme="light"] .history-archive-row-card {
    background: #ffffff;
    border-color: #c6d2dd;
}

/* Override inline pink banner text in stats_hub */
html[data-theme="light_apple"] .stats-hub-grid .timeline-section > a[style*="rgba(236,72,153"],
html[data-theme="light"] .stats-hub-grid .timeline-section > a[style*="rgba(236,72,153"] {
    background: #ffeef7 !important;
    border-color: #f7bddb !important;
}

html[data-theme="light_apple"] .stats-hub-grid .timeline-section > a[style*="rgba(236,72,153"] div,
html[data-theme="light"] .stats-hub-grid .timeline-section > a[style*="rgba(236,72,153"] div {
    color: #2a3f55 !important;
    opacity: 1 !important;
}

/* Stream thumbnail polish (light mode): remove heavy dark glow. */
html[data-theme="light_apple"] .stream-graph-page .main-thumb-wrapper,
html[data-theme="light"] .stream-graph-page .main-thumb-wrapper {
    border: 1px solid #c5d3de;
    box-shadow: var(--shadow-soft-2);
    border-radius: 14px;
}

html[data-theme="light_apple"] .stream-graph-page .main-thumb-wrapper.sg-player-pin::before,
html[data-theme="light"] .stream-graph-page .main-thumb-wrapper.sg-player-pin::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

html[data-theme="light_apple"] .stream-graph-page .main-thumb-wrapper img,
html[data-theme="light"] .stream-graph-page .main-thumb-wrapper img {
    filter: saturate(1.03) contrast(1.01);
}

/* Stream graph related blocks spacing */
html[data-theme="light_apple"] .stream-graph-page .related-section,
html[data-theme="light"] .stream-graph-page .related-section {
    padding: 16px 16px 18px;
    border-radius: 14px;
}

html[data-theme="light_apple"] .music-ranking-page .music-ranking-list-panel,
html[data-theme="light"] .music-ranking-page .music-ranking-list-panel {
    background: rgba(237, 237, 237, 0.72);
}

html[data-theme="light_apple"] .music-ranking-page .music-ranking-list,
html[data-theme="light"] .music-ranking-page .music-ranking-list {
    gap: 4px;
}

html[data-theme="light_apple"] .shorts-ranking-page .music-ranking-list-panel,
html[data-theme="light"] .shorts-ranking-page .music-ranking-list-panel {
    background: rgba(237, 237, 237, 0.72);
}

html[data-theme="light_apple"] .shorts-ranking-page .shorts-ranking-list,
html[data-theme="light"] .shorts-ranking-page .shorts-ranking-list {
    gap: 4px;
}

html[data-theme="light_apple"] .footer-seo-copy,
html[data-theme="light"] .footer-seo-copy,
html[data-theme="light_apple"] .site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="light_apple"] .site-footer-links a,
html[data-theme="light"] .site-footer-links a {
    color: #2a3c45 !important;
    opacity: 1 !important;
}

html[data-theme="light_apple"] .stream-graph-page .related-section .sec-title,
html[data-theme="light"] .stream-graph-page .related-section .sec-title {
    margin: 0 0 14px;
    padding: 8px 0 10px;
}

html[data-theme="light_apple"] .stream-graph-page .related-section .related-row,
html[data-theme="light"] .stream-graph-page .related-section .related-row {
    padding: 6px 2px 2px;
    gap: 16px;
}

/* History page reset for light mode: layout stays same, colors become dedicated light pattern */
html[data-theme="light_apple"] .history-page,
html[data-theme="light"] .history-page {
    background: transparent;
    border-radius: 0;
    padding-top: 18px;
}

html[data-theme="light_apple"] .history-header,
html[data-theme="light"] .history-header {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 247, 253, 0.9) 100%) !important;
    border: 1px solid #bacbda !important;
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .history-name,
html[data-theme="light"] .history-name {
    color: #0f1d2a !important;
}

html[data-theme="light_apple"] .history-unit-tag,
html[data-theme="light"] .history-unit-tag {
    color: #6e80c7 !important;
}

html[data-theme="light_apple"] .history-data-note,
html[data-theme="light"] .history-data-note {
    color: #627789 !important;
}

html[data-theme="light_apple"] .history-header-stats .s-card,
html[data-theme="light"] .history-header-stats .s-card {
    background: #f7fafd !important;
    border: 1px solid #bfd0df !important;
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .history-header-stats .s-card-label,
html[data-theme="light"] .history-header-stats .s-card-label {
    color: #476072 !important;
}

html[data-theme="light_apple"] .history-header-stats .s-card-val,
html[data-theme="light"] .history-header-stats .s-card-val {
    color: #0f1d2a !important;
}

html[data-theme="light_apple"] .history-game-tags.is-top,
html[data-theme="light"] .history-game-tags.is-top {
    background: linear-gradient(165deg, rgba(240, 245, 251, 0.92) 0%, rgba(231, 238, 246, 0.92) 100%) !important;
    border: 1px solid #b8c8d8 !important;
}

html[data-theme="light_apple"] .tag-chip,
html[data-theme="light"] .tag-chip {
    color: #1f3444 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: #c2d0dc !important;
}

html[data-theme="light_apple"] .tag-count,
html[data-theme="light"] .tag-count {
    color: #2f5f8e !important;
    background: #d9e7f7 !important;
}

html[data-theme="light_apple"] .history-section,
html[data-theme="light"] .history-section {
    background: rgba(247, 250, 253, 0.9);
    border: 1px solid #bcccdc;
    border-radius: 14px;
    padding: 12px;
}

html[data-theme="light_apple"] .history-fans-box,
html[data-theme="light"] .history-fans-box {
    background: #f8fbff !important;
    border: 1px solid #bfd0de !important;
}

html[data-theme="light_apple"] .history-fan-item,
html[data-theme="light"] .history-fan-item {
    border-bottom: 1px solid #d4e0ea !important;
    background: linear-gradient(90deg, rgba(255, 195, 74, 0.09) 0%, rgba(255, 195, 74, 0.03) var(--fan-fill, 0%), transparent var(--fan-fill, 0%)) !important;
}

html[data-theme="light_apple"] .history-fan-item:hover,
html[data-theme="light"] .history-fan-item:hover {
    background: #edf4fb !important;
}

html[data-theme="light_apple"] .history-fan-fill,
html[data-theme="light"] .history-fan-fill {
    background: transparent !important;
}

html[data-theme="light_apple"] .history-fan-name,
html[data-theme="light"] .history-fan-name {
    color: #162839 !important;
}

html[data-theme="light_apple"] .history-fan-rank,
html[data-theme="light"] .history-fan-rank {
    color: #6c7d8d !important;
}

html[data-theme="light_apple"] .history-fan-rank.is-top,
html[data-theme="light"] .history-fan-rank.is-top {
    color: #c27f00 !important;
}

html[data-theme="light_apple"] .history-timeline-item,
html[data-theme="light"] .history-timeline-item {
    background: #f9fbfe !important;
    border: 1px solid #c0cfdd !important;
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .history-timeline-header,
html[data-theme="light"] .history-timeline-header {
    border-bottom: 1px solid #d6e1eb;
}

html[data-theme="light_apple"] .history-timeline-date,
html[data-theme="light"] .history-timeline-date,
html[data-theme="light_apple"] .history-timeline-ratio-main,
html[data-theme="light"] .history-timeline-ratio-main {
    color: #132231 !important;
}

html[data-theme="light_apple"] .history-timeline-subtitle,
html[data-theme="light"] .history-timeline-subtitle {
    color: #5e7487 !important;
}

html[data-theme="light_apple"] .history-timeline-stat.is-dislike,
html[data-theme="light"] .history-timeline-stat.is-dislike,
html[data-theme="light_apple"] .history-timeline-stat.is-comment,
html[data-theme="light"] .history-timeline-stat.is-comment {
    color: #4d6170 !important;
}

html[data-theme="light_apple"] .history-timeline-right,
html[data-theme="light"] .history-timeline-right {
    border-left: 1px solid #d1dbe5 !important;
}

html[data-theme="light_apple"] .history-timeline-streams,
html[data-theme="light"] .history-timeline-streams {
    border-top: 1px dashed #c5d1db !important;
}

html[data-theme="light_apple"] .history-rss-day,
html[data-theme="light"] .history-rss-day {
    background: #f4f8fd !important;
    border: 1px solid #bdcddd !important;
}

html[data-theme="light_apple"] .history-rss-date,
html[data-theme="light"] .history-rss-date {
    color: #4a6175 !important;
}

html[data-theme="light_apple"] .history-rss-title,
html[data-theme="light"] .history-rss-title {
    color: #142536 !important;
}

html[data-theme="light_apple"] .history-rss-meta,
html[data-theme="light"] .history-rss-meta {
    color: #5e7486 !important;
}

html[data-theme="light_apple"] .history-rss-chip.is-cat,
html[data-theme="light"] .history-rss-chip.is-cat {
    color: #4f6478 !important;
    background: #e9f0f7 !important;
    border-color: #c7d4e0 !important;
}

html[data-theme="light_apple"] .history-rss-chip.is-member,
html[data-theme="light"] .history-rss-chip.is-member {
    color: #6b74c0 !important;
    background: #eef1ff !important;
    border-color: #c7cdf5 !important;
}

html[data-theme="light_apple"] .history-timeline-news,
html[data-theme="light"] .history-timeline-news {
    background: #eef4fb !important;
    border-top: 1px solid #c2d1df !important;
    border-bottom: 1px solid #c2d1df !important;
    border-left: none !important;
    border-right: none !important;
}

html[data-theme="light_apple"] .history-timeline-news .history-rss-title,
html[data-theme="light"] .history-timeline-news .history-rss-title {
    color: #112538 !important;
}

html[data-theme="light_apple"] .history-timeline-news .history-rss-meta,
html[data-theme="light"] .history-timeline-news .history-rss-meta,
html[data-theme="light_apple"] .history-timeline-news .history-rss-source,
html[data-theme="light"] .history-timeline-news .history-rss-source,
html[data-theme="light_apple"] .history-timeline-news .history-rss-time,
html[data-theme="light"] .history-timeline-news .history-rss-time {
    color: #50687d !important;
}

html[data-theme="light_apple"] .shorts-ranking-item,
html[data-theme="light"] .shorts-ranking-item {
    background: #f9fbfe !important;
    border-color: #c0cfdd !important;
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .shorts-ranking-item:hover,
html[data-theme="light"] .shorts-ranking-item:hover {
    background: #f1f6fc !important;
    border-color: #9eb7cc !important;
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .shorts-thumb-wrap,
html[data-theme="light"] .shorts-thumb-wrap {
    border: 1px solid #c6d5e2;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .shorts-title,
html[data-theme="light"] .shorts-title {
    color: #122638 !important;
}

html[data-theme="light_apple"] .shorts-meta,
html[data-theme="light"] .shorts-meta,
html[data-theme="light_apple"] .shorts-stat,
html[data-theme="light"] .shorts-stat {
    color: #4b6174 !important;
}

html[data-theme="light_apple"] .shorts-stat.highlight,
html[data-theme="light"] .shorts-stat.highlight {
    color: #102434 !important;
}

html[data-theme="light_apple"] .shorts-author,
html[data-theme="light"] .shorts-author {
    color: #1f4f78 !important;
}

html[data-theme="light_apple"] .history-pref-toggles.is-compact,
html[data-theme="light"] .history-pref-toggles.is-compact {
    background: #eef4fb !important;
    border-color: #c1cfdb !important;
}

html[data-theme="light_apple"] .history-pref-toggles.is-compact .ios-toggle__label,
html[data-theme="light"] .history-pref-toggles.is-compact .ios-toggle__label {
    color: #253f52 !important;
}

html[data-theme="light_apple"] .ratio-card__rank,
html[data-theme="light"] .ratio-card__rank {
    color: #5a6a7d !important;
    text-shadow: none !important;
}

html[data-theme="light_apple"] .rk-1 .ratio-card__rank,
html[data-theme="light"] .rk-1 .ratio-card__rank {
    color: #a56a00 !important;
}

html[data-theme="light_apple"] .rk-2 .ratio-card__rank,
html[data-theme="light"] .rk-2 .ratio-card__rank {
    color: #5f7388 !important;
}

html[data-theme="light_apple"] .rk-3 .ratio-card__rank,
html[data-theme="light"] .rk-3 .ratio-card__rank {
    color: #9b6331 !important;
}

/* Stream graph readability hardening (light mode) */
html[data-theme="light_apple"] .stream-graph-page .sg-tag-row,
html[data-theme="light"] .stream-graph-page .sg-tag-row {
    background: rgba(238, 245, 251, 0.92);
    border-color: #bfd0dd;
}

html[data-theme="light_apple"] .stream-graph-page .sg-tag-chip,
html[data-theme="light"] .stream-graph-page .sg-tag-chip {
    background: #f8fbff;
    border: 1px solid #c6d4df;
    color: #123042;
    box-shadow: none;
}

html[data-theme="light_apple"] .stream-graph-page .sg-tag-chip:hover,
html[data-theme="light"] .stream-graph-page .sg-tag-chip:hover {
    background: #eef5fc;
    border-color: #9ab2c2;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .stream-graph-page .sg-pref-toggles,
html[data-theme="light"] .stream-graph-page .sg-pref-toggles {
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-theme="light_apple"] .stream-graph-page .sg-actions[data-stream-graph-prefs],
html[data-theme="light"] .stream-graph-page .sg-actions[data-stream-graph-prefs] {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .stream-graph-page .sg-actions.sg-actions--plain,
html[data-theme="light"] .stream-graph-page .sg-actions.sg-actions--plain {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .stream-graph-page .sg-pref-toggles .ios-toggle,
html[data-theme="light"] .stream-graph-page .sg-pref-toggles .ios-toggle {
    background: #f7fbff;
    border: 1px solid #c7d5e1;
    color: #1a3444;
}

html[data-theme="light_apple"] .stream-graph-page .sg-pref-toggles .ios-toggle__label,
html[data-theme="light"] .stream-graph-page .sg-pref-toggles .ios-toggle__label {
    color: #163243;
    font-size: 0.88rem;
    font-weight: 800;
}

html[data-theme="light_apple"] .stream-graph-page .sg-pref-toggles .ios-toggle__ui,
html[data-theme="light"] .stream-graph-page .sg-pref-toggles .ios-toggle__ui {
    background: #d6e0ea;
    border-color: #b4c4d1;
}

html[data-theme="light_apple"] .stream-graph-page .sg-pref-toggles .ios-toggle__ui::after,
html[data-theme="light"] .stream-graph-page .sg-pref-toggles .ios-toggle__ui::after {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(12, 22, 26, 0.18);
}

html[data-theme="light_apple"] .stream-graph-page .s-card,
html[data-theme="light"] .stream-graph-page .s-card {
    background: #f7fbff;
    border: 1px solid #c3d2de;
    box-shadow: var(--shadow-soft-2);
}

html[data-theme="light_apple"] .stream-graph-page .s-card-label,
html[data-theme="light"] .stream-graph-page .s-card-label,
html[data-theme="light_apple"] .stream-graph-page .s-card-sub,
html[data-theme="light"] .stream-graph-page .s-card-sub,
html[data-theme="light_apple"] .stream-graph-page .graph-title,
html[data-theme="light"] .stream-graph-page .graph-title {
    color: #395463 !important;
}

html[data-theme="light_apple"] .stream-graph-page .s-card-val,
html[data-theme="light"] .stream-graph-page .s-card-val,
html[data-theme="light_apple"] .stream-graph-page .stream-card .stream-title,
html[data-theme="light"] .stream-graph-page .stream-card .stream-title,
html[data-theme="light_apple"] .stream-graph-page .stream-card .owner-name,
html[data-theme="light"] .stream-graph-page .stream-card .owner-name,
html[data-theme="light_apple"] .stream-graph-page .stream-card .stat-item,
html[data-theme="light"] .stream-graph-page .stream-card .stat-item {
    color: #0c161a !important;
}

html[data-theme="light_apple"] .stream-graph-page .stream-card .stat-item i,
html[data-theme="light"] .stream-graph-page .stream-card .stat-item i {
    color: #4e6675 !important;
}

/* Stream graph: in color mode, remove outer frame lines around graph/card area */
html[data-theme="light_apple"][data-custom-accent="1"] .stream-graph-page .sg-sticky-scope,
html[data-theme="light"][data-custom-accent="1"] .stream-graph-page .sg-sticky-scope,
html[data-theme="light_apple"][data-palette] .stream-graph-page .sg-sticky-scope,
html[data-theme="light"][data-palette] .stream-graph-page .sg-sticky-scope {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"][data-custom-accent="1"] .stream-graph-page .graph-container,
html[data-theme="light"][data-custom-accent="1"] .stream-graph-page .graph-container,
html[data-theme="light_apple"][data-palette] .stream-graph-page .graph-container,
html[data-theme="light"][data-palette] .stream-graph-page .graph-container {
    border: none !important;
}

/* Shorts ranking readability (light mode + mobile) */
html[data-theme="light_apple"] .shorts-ranking-item,
html[data-theme="light"] .shorts-ranking-item {
    box-shadow: var(--shadow-soft-2) !important;
}

html[data-theme="light_apple"] .shorts-ranking-item .shorts-date,
html[data-theme="light"] .shorts-ranking-item .shorts-date,
html[data-theme="light_apple"] .shorts-ranking-item .shorts-stat,
html[data-theme="light"] .shorts-ranking-item .shorts-stat {
    color: #3f5767 !important;
}

@media (max-width: 600px) {
    html[data-theme="light_apple"] .shorts-ranking-item,
    html[data-theme="light"] .shorts-ranking-item {
        background: #f8fbff !important;
        border-color: #b9cddd !important;
    }

    html[data-theme="light_apple"] .shorts-ranking-item .shorts-title,
    html[data-theme="light"] .shorts-ranking-item .shorts-title {
        color: #102434 !important;
        font-weight: 800;
    }
}

/* Oshi maker readability (light mode) */
html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-hero,
html[data-theme="light"] .oshi-maker-page .oshi-maker-hero {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-form-panel,
html[data-theme="light"] .oshi-maker-page .oshi-maker-form-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .history-section,
html[data-theme="light"] .history-section,
html[data-theme="light_apple"] .history-next-panel,
html[data-theme="light"] .history-next-panel,
html[data-theme="light_apple"] .search-panel,
html[data-theme="light"] .search-panel,
html[data-theme="light_apple"] .member-music-section,
html[data-theme="light"] .member-music-section,
html[data-theme="light_apple"] .music-ranking-page .music-ranking-list-panel,
html[data-theme="light"] .music-ranking-page .music-ranking-list-panel,
html[data-theme="light_apple"] .shorts-ranking-page .music-ranking-list-panel,
html[data-theme="light"] .shorts-ranking-page .music-ranking-list-panel,
html[data-theme="light_apple"] .stream-graph-page .related-section,
html[data-theme="light"] .stream-graph-page .related-section,
html[data-theme="light_apple"] .oshi-share-page .oshi-share-preview-shell,
html[data-theme="light"] .oshi-share-page .oshi-share-preview-shell,
html[data-theme="light_apple"] .oshi-share-page .oshi-share-selected-shell,
html[data-theme="light"] .oshi-share-page .oshi-share-selected-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-share-page .oshi-share-preview-shell,
html[data-theme="light"] .oshi-share-page .oshi-share-preview-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-share-page .oshi-share-selected-shell,
html[data-theme="light"] .oshi-share-page .oshi-share-selected-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-block,
html[data-theme="light"] .oshi-maker-page .oshi-maker-block {
    background: var(--bg-card) !important;
    border: none !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .section-title,
html[data-theme="light"] .oshi-maker-page .section-title,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-section-title,
html[data-theme="light"] .oshi-maker-page .oshi-song-section-title,
html[data-theme="light_apple"] .oshi-maker-page .oshi-member-name,
html[data-theme="light"] .oshi-maker-page .oshi-member-name,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-meta strong,
html[data-theme="light"] .oshi-maker-page .oshi-song-meta strong {
    color: #102433 !important;
}

html[data-theme="light_apple"] .oshi-maker-page .music-ranking-empty,
html[data-theme="light"] .oshi-maker-page .music-ranking-empty,
html[data-theme="light_apple"] .oshi-maker-page .oshi-field-label,
html[data-theme="light"] .oshi-maker-page .oshi-field-label,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-count,
html[data-theme="light"] .oshi-maker-page .oshi-song-count,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-section-count,
html[data-theme="light"] .oshi-maker-page .oshi-song-section-count,
html[data-theme="light_apple"] .oshi-maker-page .oshi-song-meta span,
html[data-theme="light"] .oshi-maker-page .oshi-song-meta span,
html[data-theme="light_apple"] .oshi-maker-page .history-affiliation,
html[data-theme="light"] .oshi-maker-page .history-affiliation {
    color: #3f5968 !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-input,
html[data-theme="light"] .oshi-maker-page .oshi-input,
html[data-theme="light_apple"] .oshi-maker-page .oshi-textarea,
html[data-theme="light"] .oshi-maker-page .oshi-textarea {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    color: #102433 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-input::placeholder,
html[data-theme="light"] .oshi-maker-page .oshi-input::placeholder,
html[data-theme="light_apple"] .oshi-maker-page .oshi-textarea::placeholder,
html[data-theme="light"] .oshi-maker-page .oshi-textarea::placeholder {
    color: #69818f !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-member-tag-chip,
html[data-theme="light"] .oshi-maker-page .oshi-member-tag-chip {
    background: #f4f8fc !important;
    border-color: transparent !important;
    color: #1b3340 !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-upload-box,
html[data-theme="light"] .oshi-maker-page .oshi-upload-box {
    background: var(--bg-card) !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    color: #16303d !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-type-tab,
html[data-theme="light"] .oshi-maker-page .oshi-song-type-tab {
    background: var(--bg-card) !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    color: #233c49 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-type-tab-meta,
html[data-theme="light"] .oshi-maker-page .oshi-song-type-tab-meta {
    color: #4b6474 !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-type-tab.is-active,
html[data-theme="light"] .oshi-maker-page .oshi-song-type-tab.is-active {
    background: #edf5ff !important;
    border-color: transparent !important;
    color: #0f2735 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-option-body,
html[data-theme="light"] .oshi-maker-page .oshi-song-option-body {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-option input:checked + .oshi-song-option-body,
html[data-theme="light"] .oshi-maker-page .oshi-song-option input:checked + .oshi-song-option-body {
    background: #fff2f6 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-option.is-unavailable .oshi-song-option-body,
html[data-theme="light"] .oshi-maker-page .oshi-song-option.is-unavailable .oshi-song-option-body {
    background: #fff8e8 !important;
    border-color: transparent !important;
}

html[data-theme="light_apple"] .oshi-maker-page .history-social-btn,
html[data-theme="light"] .oshi-maker-page .history-social-btn {
    background: var(--bg-card) !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    color: #1b3441 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-submit-btn,
html[data-theme="light"] .oshi-maker-page .oshi-maker-submit-btn {
    background: #fff2f6 !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    color: #8d2447 !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-maker-ranking-btn,
html[data-theme="light"] .oshi-maker-page .oshi-maker-ranking-btn {
    background: #f4f8fc !important;
    border-color: transparent !important;
    border-radius: var(--ui-radius) !important;
    color: #21435b !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-current-image-preview,
html[data-theme="light"] .oshi-maker-page .oshi-current-image-preview {
    border-radius: var(--ui-radius) !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-song-option-body img,
html[data-theme="light"] .oshi-maker-page .oshi-song-option-body img {
    border-radius: var(--ui-radius) !important;
}

html[data-theme="light_apple"] .oshi-maker-page .oshi-remove-image-chip,
html[data-theme="light"] .oshi-maker-page .oshi-remove-image-chip {
    border-radius: var(--ui-radius) !important;
}

/* Oshi share readability (light mode) */
html[data-theme="light_apple"] .oshi-share-page .oshi-share-hero,
html[data-theme="light"] .oshi-share-page .oshi-share-hero {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light_apple"] .oshi-share-page .oshi-share-created-note,
html[data-theme="light"] .oshi-share-page .oshi-share-created-note,
html[data-theme="light_apple"] .oshi-share-page .music-ranking-empty,
html[data-theme="light"] .oshi-share-page .music-ranking-empty {
    color: #3f5968 !important;
}

html[data-theme="light_apple"],
html[data-theme="light"] {
    --shadow-soft-1: none;
    --shadow-soft-2: none;
    --shadow-card: none;
    --shadow-glow: none;
    --ui-radius: 6px;
    --card-radius-md: var(--ui-radius);
    --card-radius-lg: var(--ui-radius);
}

html[data-theme="light_apple"] :where(
    .header-container,
    .panel,
    .section-card,
    .pill,
    .stream-card,
    .s-card,
    .graph-container,
    .related-section,
    .history-header,
    .history-fan-card,
    .history-live-card,
    .history-chat-card,
    .history-activity-card,
    .history-section,
    .history-next-panel,
    .search-panel,
    .ratio-card,
    .ranking-card-detailed,
    .timeline-section,
    .stats-hub-hero,
    .member-music-section,
    .music-ranking-list-panel,
    .dashboard-desc--hero,
    .music-ranking-filter,
    .members-toolbar,
    .members-search,
    .members-chips .chip,
    .members-section,
    .member-card,
    .member-card__group,
    .upcoming-event-box,
    .upcoming-event-item,
    .history-next-member-chip,
    .history-social-btn,
    .mobile-bottom-nav,
    .mb-nav-item,
    .theme-toggle-btn,
    .palette-toggle-btn,
    .share-x-btn,
    .hamburger-btn,
    .theme-mode-chip,
    .palette-popover,
    .palette-chip,
    .palette-chip-member,
    .mm-link,
    .header-search-input,
    .mm-search-input,
    .oshi-maker-block,
    .oshi-input,
    .oshi-textarea,
    .oshi-upload-box,
    .oshi-song-type-tab,
    .oshi-song-option-body,
    .oshi-current-image-preview,
    .oshi-remove-image-chip,
    .oshi-share-preview-card,
    .oshi-share-preview-list li,
    .site-footer-links a,
    [class*="-card"],
    [class*="-panel"],
    [class*="-chip"],
    [class*="-btn"]
),
html[data-theme="light"] :where(
    .header-container,
    .panel,
    .section-card,
    .pill,
    .stream-card,
    .s-card,
    .graph-container,
    .related-section,
    .history-header,
    .history-fan-card,
    .history-live-card,
    .history-chat-card,
    .history-activity-card,
    .history-section,
    .history-next-panel,
    .search-panel,
    .ratio-card,
    .ranking-card-detailed,
    .timeline-section,
    .stats-hub-hero,
    .member-music-section,
    .music-ranking-list-panel,
    .dashboard-desc--hero,
    .music-ranking-filter,
    .members-toolbar,
    .members-search,
    .members-chips .chip,
    .members-section,
    .member-card,
    .member-card__group,
    .upcoming-event-box,
    .upcoming-event-item,
    .history-next-member-chip,
    .history-social-btn,
    .mobile-bottom-nav,
    .mb-nav-item,
    .theme-toggle-btn,
    .palette-toggle-btn,
    .share-x-btn,
    .hamburger-btn,
    .theme-mode-chip,
    .palette-popover,
    .palette-chip,
    .palette-chip-member,
    .mm-link,
    .header-search-input,
    .mm-search-input,
    .oshi-maker-block,
    .oshi-input,
    .oshi-textarea,
    .oshi-upload-box,
    .oshi-song-type-tab,
    .oshi-song-option-body,
    .oshi-current-image-preview,
    .oshi-remove-image-chip,
    .oshi-share-preview-card,
    .oshi-share-preview-list li,
    .site-footer-links a,
    [class*="-card"],
    [class*="-panel"],
    [class*="-chip"],
    [class*="-btn"]
) {
    border: none !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html[data-theme="light_apple"] :is(
    .members-search,
    .members-chips .chip,
    .member-card,
    .member-card__group,
    .upcoming-event-box,
    .upcoming-event-item,
    .history-next-member-chip
),
html[data-theme="light"] :is(
    .members-search,
    .members-chips .chip,
    .member-card,
    .member-card__group,
    .upcoming-event-box,
    .upcoming-event-item,
    .history-next-member-chip
) {
    background: var(--bg-card) !important;
}

html[data-theme="light_apple"] .member-card::before,
html[data-theme="light"] .member-card::before {
    display: none !important;
}

html[data-theme="light_apple"] .oshi-share-page .oshi-share-member-tags .pill,
html[data-theme="light"] .oshi-share-page .oshi-share-member-tags .pill {
    background: #f4f8fc !important;
    border-color: transparent !important;
    color: #1b3340 !important;
}
