/* ============================================
   pages.css — ページ固有スタイル
   ============================================ */

/* --- レトロTV フレーム --- */
.retro-tv {
    padding: var(--space-lg) var(--space-md) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.retro-tv__antenna {
    position: relative;
    width: 60px;
    height: 40px;
    margin-bottom: -4px;
    z-index: 1;
}

.retro-tv__antenna-left,
.retro-tv__antenna-right {
    position: absolute;
    bottom: 0;
    width: 3px;
    height: 38px;
    background: linear-gradient(180deg, #F9A8C9, #E8619A);
    border-radius: 2px;
}

.retro-tv__antenna-left {
    left: 12px;
    transform: rotate(-20deg);
    transform-origin: bottom center;
}

.retro-tv__antenna-right {
    right: 12px;
    transform: rotate(20deg);
    transform-origin: bottom center;
}

.retro-tv__antenna-left::after,
.retro-tv__antenna-right::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #E8619A;
    border-radius: var(--radius-circle);
}

.retro-tv__body {
    width: 100%;
    max-width: 720px;
    background: linear-gradient(160deg, #FFB6D5 0%, #E8619A 40%, #D14D84 100%);
    border-radius: 20px;
    padding: 16px 16px 0;
    box-shadow:
        0 8px 32px rgba(232, 97, 154, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.retro-tv__body::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 1px;
}

.retro-tv__screen {
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid #1a1a2e;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.retro-tv__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 0 12px;
}

.retro-tv__dial {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-circle);
    border: 3px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #D14D84, #B03A6E);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.retro-tv__dial::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
}

.retro-tv__dial--2 {
    width: 20px;
    height: 20px;
}

.retro-tv__speaker {
    display: flex;
    gap: 3px;
    margin-left: 8px;
}

.retro-tv__speaker span {
    width: 2px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.retro-tv__feet {
    display: flex;
    gap: 60%;
    justify-content: center;
}

.retro-tv__foot {
    width: 20px;
    height: 10px;
    background: linear-gradient(180deg, #D14D84, #B03A6E);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* --- トップページ: ヒーローカルーセル（TV内画面） --- */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-carousel__slide {
    position: relative;
    min-width: 100%;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    overflow: hidden;
}

.hero-carousel__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
    transition: background 0.3s ease;
}

.hero-carousel__slide:hover::after {
    background: rgba(0, 0, 0, 0.05);
}

.hero-carousel__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-carousel__slide:hover .hero-carousel__thumb {
    transform: scale(1.03);
}

.hero-carousel__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.4);
}

/* 再生ボタン */
.hero-carousel__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 97, 154, 0.85);
    border-radius: var(--radius-circle);
    color: #fff;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(232, 97, 154, 0.4);
}

.hero-carousel__slide:hover .hero-carousel__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(232, 97, 154, 1);
    box-shadow: 0 6px 28px rgba(232, 97, 154, 0.5);
}

/* iframe 再生中は再生ボタンを隠す */
.hero-carousel__slide.is-playing .hero-carousel__play-btn,
.hero-carousel__slide.is-playing .hero-carousel__overlay,
.hero-carousel__slide.is-playing::after {
    display: none;
}

/* 動画再生中は矢印ナビを常時表示 */
.hero-carousel:has(.is-playing) .hero-carousel__arrow {
    opacity: 1;
}

.hero-carousel:has(.is-playing) .hero-carousel__dots {
    z-index: 10;
}

.hero-carousel__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-2xl) var(--space-md) var(--space-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    z-index: 1;
    pointer-events: none;
}

.hero-carousel__badges {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.hero-carousel__badges .badge--pinned {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(232, 97, 154, 0.9);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.hero-carousel__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-carousel__channel {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* 左右矢印ナビ */
.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-circle);
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.hero-carousel:hover .hero-carousel__arrow {
    opacity: 1;
}

.hero-carousel__arrow:hover {
    background: rgba(232, 97, 154, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel__arrow--prev {
    left: 12px;
}
.hero-carousel__arrow--prev svg {
    transform: rotate(180deg);
}

.hero-carousel__arrow--next {
    right: 12px;
}

/* ドットインジケーター */
.hero-carousel__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.hero-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel__dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(232, 97, 154, 0.5);
}

/* スライドカウンター */
.hero-carousel__counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    z-index: 10;
}

/* モバイルでは矢印を常に表示 + TV調整 */
@media (max-width: 768px) {
    .retro-tv {
        padding: var(--space-md) var(--space-sm) 0;
    }
    .retro-tv__body {
        padding: 10px 10px 0;
        border-radius: 16px;
    }
    .retro-tv__screen {
        border-width: 3px;
        border-radius: 8px;
    }
    .retro-tv__antenna { height: 30px; width: 50px; }
    .retro-tv__antenna-left,
    .retro-tv__antenna-right { height: 28px; }
    .retro-tv__dial { width: 20px; height: 20px; }
    .retro-tv__dial--2 { width: 16px; height: 16px; }
    .retro-tv__controls { padding: 8px 0 10px; gap: 12px; }
    .hero-carousel__arrow {
        opacity: 1;
        width: 34px;
        height: 34px;
    }
    .hero-carousel__arrow--prev { left: 8px; }
    .hero-carousel__arrow--next { right: 8px; }
    .hero-carousel__play-btn {
        width: 48px;
        height: 48px;
    }
}

/* --- トップページ: セクション背景色 --- */
[class*="section--"] {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-md) var(--space-sm);
}

.section--search {
    background: transparent;
    margin-top: 0;
}

.section--shows {
    background: linear-gradient(135deg, #FFF0F5 0%, #F5E6FF 50%, #E8F4FD 100%);
}

.section--poll {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE8F0 100%);
}

.section--column {
    background: linear-gradient(135deg, #F8E8FF 0%, #FFE8F5 50%, #FFF0F0 100%);
}

.section--news {
    background: linear-gradient(135deg, #E8F8FF 0%, #F0E8FF 100%);
}

.section--shindan {
    background: linear-gradient(135deg, #FFE8EC 0%, #FFD6E8 50%, #F0E0FF 100%);
}

.section--couple {
    background: linear-gradient(135deg, #FFE8F0 0%, #FFE0E8 50%, #FFF0E8 100%);
}

.section--cast {
    background: linear-gradient(135deg, #F0E8FF 0%, #FFE8F8 50%, #FFE8E8 100%);
}

/* --- 速報バー --- */
.breaking-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, #FFA07A, #FF6B9D);
    color: #fff;
    border-radius: 0;
}

.breaking-bar__title {
    font-size: 0.8125rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
}

/* --- 番組カード（横スクロール用） --- */
.show-card {
    position: relative;
    min-width: 130px;
    padding: var(--space-md);
    background: var(--color-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.show-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.show-card:active {
    transform: scale(0.97);
}

.show-card__emoji {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.show-card__name {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

/* --- 出演者カード --- */
.cast-card {
    min-width: 120px;
    padding: var(--space-md) var(--space-sm);
    background: var(--color-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--color-border);
}

.cast-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cast-card:hover .ig-avatar {
    background: linear-gradient(135deg, #FF6B9D, #C084FC, #FF6B9D);
    transform: scale(1.05);
    transition: transform 0.25s ease, background 0.3s ease;
}

.cast-card__name {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.cast-card__followers {
    font-size: 0.6875rem;
    color: var(--color-text-sub);
    margin-bottom: var(--space-sm);
}

.cast-card__sns {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

/* --- 放送スケジュール --- */
.section--schedule .scroll-x {
    display: flex;
    gap: var(--space-sm);
    padding-top: 14px;
}

.schedule-card {
    --platform-color: #E8619A;
    position: relative;
    flex: 0 0 100px;
    width: 100px;
    padding: var(--space-md) var(--space-sm);
    padding-top: 20px;
    background: var(--color-card);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid var(--color-border);
    border-top: 3px solid var(--platform-color);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    overflow: visible;
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(232, 97, 154, 0.16);
    border-color: var(--platform-color);
    border-top-width: 3px;
}

/* --- Today card: glow + gradient --- */
.schedule-card.is-today {
    background: linear-gradient(160deg, #fff5f9 0%, #fdf0ff 50%, #f0f0ff 100%);
    border-color: var(--color-primary);
    border-top-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(232, 97, 154, 0.25), 0 4px 24px rgba(192, 132, 252, 0.15);
    animation: schedule-glow 2.5s ease-in-out infinite;
}

.schedule-card.is-today:hover {
    box-shadow: 0 0 28px rgba(232, 97, 154, 0.35), 0 8px 28px rgba(192, 132, 252, 0.2);
}

@keyframes schedule-glow {
    0%, 100% {
        box-shadow: 0 0 16px rgba(232, 97, 154, 0.2), 0 4px 24px rgba(192, 132, 252, 0.1);
    }
    50% {
        box-shadow: 0 0 28px rgba(232, 97, 154, 0.35), 0 4px 24px rgba(192, 132, 252, 0.25);
    }
}

/* --- ON AIR badge --- */
.schedule-card__onair {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #FF6B9D, #C084FC);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(232, 97, 154, 0.3);
    z-index: 2;
}

.schedule-card__onair-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: onair-blink 1.2s ease-in-out infinite;
}

@keyframes onair-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* --- Day label --- */
.schedule-card__day-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.schedule-card__day-kanji {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--platform-color), #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schedule-card.is-today .schedule-card__day-kanji {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.35rem;
}

.schedule-card__day-suffix {
    font-size: 0.55rem;
    font-weight: 600;
    opacity: 0.5;
    margin-top: 1px;
}

/* --- Time --- */
.schedule-card__time {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 0.03em;
}

.schedule-card__time--empty {
    opacity: 0.25;
}

/* --- Thumbnail / Emoji circle --- */
.schedule-card__thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(192, 132, 252, 0.08));
    border: 2px solid rgba(232, 97, 154, 0.12);
    flex-shrink: 0;
    margin-top: 2px;
}

.schedule-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.schedule-card__emoji {
    font-size: 1.2rem;
    line-height: 1;
}

.schedule-card.is-today .schedule-card__thumb {
    border-color: rgba(232, 97, 154, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(192, 132, 252, 0.15));
}

/* --- Show name --- */
.schedule-card__show {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.schedule-card__show--empty {
    opacity: 0.25;
}

.schedule-card.is-today .schedule-card__show {
    font-weight: 700;
    color: var(--color-primary);
}

/* --- Platform tag --- */
.schedule-card__platform {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--platform-color);
    color: #fff;
    margin-top: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--platform-color) 30%, transparent);
}

/* (旧コラムスライダー → 人気記事ランキングに置換済み) */

/* --- 人気記事ランキング --- */
.section--popular {
    background: linear-gradient(135deg, #FFF8E8 0%, #FFE8F5 50%, #F0E8FF 100%);
}

.popular-ranking {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.popular-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--color-border);
}

.popular-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.popular-item__rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle);
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    background: var(--color-border);
}

.popular-item__rank--1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.popular-item__rank--2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.popular-item__rank--3 {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}

.popular-item__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--color-primary-light);
}

.popular-item__thumb--empty {
    display: block;
}

.popular-item__body {
    flex: 1;
    min-width: 0;
}

.popular-item__cat {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(232, 97, 154, 0.08);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-bottom: 4px;
}

.popular-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-item__views {
    font-size: 0.6875rem;
    color: var(--color-text-sub);
    margin-top: 2px;
    display: block;
}

/* --- カップルその後 --- */
.couple-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s ease;
}

.couple-item:hover {
    background: var(--color-primary-pale);
}

.couple-item:last-child {
    border-bottom: none;
}

.couple-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.couple-item__info {
    flex: 1;
    min-width: 0;
}

.couple-item__names {
    font-size: 0.875rem;
    font-weight: 700;
}

.couple-item__show {
    font-size: 0.6875rem;
    color: var(--color-text-sub);
}

/* --- 投票カード --- */
.poll-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    margin: 0 var(--space-md);
    border: 1px solid var(--color-border);
}

.poll-card__question {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.poll-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
}

.poll-option:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-pale);
    transform: translateX(4px);
}

.poll-option.is-selected {
    border-color: var(--color-primary);
    background: rgba(232, 97, 154, 0.06);
}

.poll-option__label {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
}

.poll-option__bar {
    height: 6px;
    border-radius: 3px;
    background: var(--color-border);
    margin-top: var(--space-xs);
    overflow: hidden;
}

.poll-option__bar-fill {
    height: 100%;
    background: var(--color-gradient);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.poll-option__pct {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    min-width: 40px;
    text-align: right;
}

/* --- ニュースカード --- */
.news-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    transition: background 0.2s ease, border-left-color 0.25s ease, transform 0.2s ease;
}

.news-card:hover {
    background: var(--color-primary-pale);
    border-left-color: var(--color-primary);
    transform: translateX(2px);
}

.news-card:last-child {
    border-bottom: none;
}

.news-card__body {
    flex: 1;
    min-width: 0;
}

.news-card__tag {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(232, 97, 154, 0.08);
    color: var(--color-primary);
}

.news-card__title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: var(--space-xs);
}

.news-card__time {
    font-size: 0.6875rem;
    color: var(--color-text-sub);
    margin-top: var(--space-xs);
}

.news-card__thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background-color: var(--color-primary-light);
}

/* --- アコーディオン（出演者DB） --- */
.accordion {}

.accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md);
    font-weight: 700;
    font-size: 0.9375rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.accordion__trigger:hover {
    background: var(--color-primary-pale);
    color: var(--color-primary);
}

.accordion__trigger::after {
    content: '\25B8';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.accordion__trigger.is-open::after {
    transform: rotate(90deg);
}

.accordion__content {
    display: none;
    padding: var(--space-md);
}

.accordion__content.is-open {
    display: block;
}

.accordion__sub-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    font-size: 0.8125rem;
    background: var(--color-primary-pale);
    border: none;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}

.accordion__sub-trigger:hover {
    background: var(--color-primary-light);
}

/* --- 出演者プロフィール --- */
.cast-profile-header {
    background: linear-gradient(135deg, #FF6B9D, #C084FC, #93C5FD);
    color: #fff;
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    position: relative;
    overflow: hidden;
}

/* ソフトなパターンオーバーレイ */
.cast-profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cast-profile-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.cast-profile-header__back {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    color: #fff;
    font-size: 1.25rem;
    z-index: 1;
}

.cast-profile-header__name {
    font-size: 1.5rem;
    margin-top: var(--space-md);
    position: relative;
    z-index: 1;
}

.cast-profile-header__meta {
    font-size: 0.8125rem;
    opacity: 0.9;
    margin-top: var(--space-xs);
    position: relative;
    z-index: 1;
}

.cast-profile-header__followers {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: var(--space-xs);
    position: relative;
    z-index: 1;
}

/* --- アフィリエイト / プロモバナー --- */
.affiliate-banner {
    display: block;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    color: #fff;
    text-align: center;
    margin: 0 var(--space-md) var(--space-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.affiliate-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* パターンオーバーレイ */
.affiliate-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.affiliate-banner__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.affiliate-banner__cta {
    display: inline-block;
    padding: 8px 24px;
    background: #fff;
    color: var(--color-text);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.8125rem;
    margin-top: var(--space-sm);
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-banner__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.affiliate-banner__pr {
    display: block;
    font-size: 0.625rem;
    opacity: 0.7;
    margin-top: var(--space-xs);
    position: relative;
    z-index: 1;
}

/* --- AdSense --- */
.adsense-slot {
    padding: var(--space-md);
    text-align: center;
}

/* --- 404 --- */
.page-404 {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
}

.page-404__emoji {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.page-404__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.page-404__text {
    color: var(--color-text-sub);
    font-size: 0.875rem;
}

/* --- 番組詳細タブ --- */
.show-tabs {
    overflow-x: auto;
    scrollbar-width: none;
}
.show-tabs::-webkit-scrollbar { display: none; }

.show-tab {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-sub);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.show-tab.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 700;
}

.show-tab:hover {
    color: var(--color-text);
}

.show-tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 相関図ライン --- */
.relation-line {
    transition: background-color 0.2s ease;
}
.relation-line:hover {
    background-color: rgba(232, 97, 154, 0.04);
}

/* --- エントリーコンテンツ（記事本文） --- */
.entry-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
    font-size: 1.125rem;
}

.entry-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
    margin-bottom: var(--space-md);
}

.entry-content ul li {
    list-style: disc;
    margin-bottom: var(--space-xs);
}

.entry-content ol li {
    list-style: decimal;
    margin-bottom: var(--space-xs);
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    background: rgba(232, 97, 154, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    font-size: 0.875rem;
}

.entry-content th,
.entry-content td {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    text-align: left;
}

.entry-content th {
    background: var(--color-primary-pale);
    font-weight: 700;
}

/* --- ページネーション --- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-links a {
    background: var(--color-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.nav-links a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.nav-links .current {
    background: var(--color-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(232, 97, 154, 0.2);
}

/* --- 番組診断 --- */
.shindan-step { display: none; }
.shindan-step.is-active { display: block; }
.shindan-progress__bar { height: 4px; background: var(--color-border); border-radius: 2px; overflow: hidden; }
.shindan-progress__fill { height: 100%; background: var(--color-gradient); transition: width 0.3s ease; border-radius: 2px; }
.shindan-progress__text { font-size: 0.75rem; color: var(--color-text-sub); margin-top: var(--space-xs); display: block; }

.shindan-question { font-size: 1.125rem; font-weight: 700; text-align: center; margin-bottom: var(--space-lg); }
.shindan-options { display: flex; flex-direction: column; gap: var(--space-sm); }
.shindan-option { background: var(--color-card); border: 2px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); font-size: 0.9375rem; text-align: center; cursor: pointer; transition: all 0.25s ease; }
.shindan-option:hover { border-color: var(--color-primary); background: var(--color-primary-pale); }
.shindan-option.is-selected { border-color: var(--color-primary); background: rgba(232, 97, 154, 0.06); }

.shindan-result-card { background: var(--color-card); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-card); max-width: 400px; margin: 0 auto; border: 1px solid var(--color-border); }
.shindan-result-card__emoji { font-size: 3rem; }
.shindan-result-card__title { font-size: 1.375rem; font-weight: 700; margin-top: var(--space-sm); background: var(--color-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.shindan-result-card__desc { font-size: 0.875rem; color: var(--color-text-sub); margin-top: var(--space-md); line-height: 1.8; }
.shindan-result-card__recs { margin-top: var(--space-md); text-align: left; }
.shindan-result-card__recs li { font-size: 0.8125rem; padding: 4px 0; }

.shindan-share { display: flex; gap: var(--space-sm); justify-content: center; margin-top: var(--space-lg); }
.shindan-share__btn { display: inline-flex; align-items: center; gap: var(--space-xs); padding: 8px 20px; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 700; text-decoration: none; color: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.shindan-share__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.shindan-share__btn--x { background: #000; }
.shindan-share__btn--line { background: #00B900; }

/* ============================================
   記事共通スタイル
   ============================================ */

/* 戻るリンク */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--color-text-sub);
    text-decoration: none;
    transition: color 0.2s ease;
}
.back-link:hover { color: var(--color-primary); }
.back-link svg { transform: rotate(180deg); }

/* ============================================
   ニュース記事テンプレート
   ============================================ */

.news-article__header {
    margin-top: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.news-article__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.badge--news {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.badge--tag {
    background: rgba(232, 97, 154, 0.08);
    color: var(--color-primary);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.2s ease;
}
.badge--tag:hover { background: rgba(232, 97, 154, 0.16); }

.news-article__title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: var(--space-sm);
}

.news-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: var(--color-text-sub);
}

.news-article__meta time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-article__updated { color: var(--color-text-sub); }

.news-article__eyecatch {
    margin-top: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.news-article__tags {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ============================================
   恋愛コラム記事テンプレート
   ============================================ */

.column-article__header {
    margin-top: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-primary);
    position: relative;
}

.column-article__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.badge--column {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-gradient);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.badge--cat {
    background: rgba(168, 85, 247, 0.1);
    color: #7C3AED;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.column-article__title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: var(--space-sm);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.column-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: var(--color-text-sub);
}

.column-article__meta time,
.column-article__readtime {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.column-article__updated { color: var(--color-text-sub); }

.column-article__eyecatch {
    margin-top: var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.column-article__tags {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-primary-light);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}
