/* ========================================
   カウントダウンウィジェット（無効化）
   ======================================== */

/* 全デバイスで非表示 */
.countdown-widget {
    display: none !important;
}

/* 元のスタイル定義（参考のため残す）
.countdown-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(99, 102, 241, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 24px;
    color: white;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    cursor: pointer;
}

.countdown-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.countdown-widget.expanded {
    padding: 20px 28px;
    transform: scale(1.05);
}

.countdown-content {
    text-align: center;
}

.countdown-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.countdown-time {
    font-size: 24px;
    font-weight: bold;
    margin: 8px 0;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.countdown-chapter {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 8px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* アニメーション */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.countdown-widget.pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   モバイル対応（非表示）
   ======================================== */

/* スマートフォン（768px以下）では非表示 */
@media (max-width: 768px) {
    .countdown-widget {
        display: none !important;
    }
}

/* タブレット縦向き（768px-1024px）でも非表示 */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .countdown-widget {
        display: none !important;
    }
}

/* デスクトップでの位置調整 */
@media (min-width: 1025px) {
    .countdown-widget {
        bottom: 40px;
        right: 40px;
    }
}

/* 大画面での調整 */
@media (min-width: 1440px) {
    .countdown-widget {
        bottom: 50px;
        right: 50px;
        padding: 20px 32px;
    }
    
    .countdown-time {
        font-size: 28px;
    }
    
    .countdown-label {
        font-size: 13px;
    }
    
    .countdown-chapter {
        font-size: 12px;
        max-width: 250px;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .countdown-widget {
        background: rgba(79, 70, 229, 0.95);
        box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    }
    
    .countdown-widget:hover {
        box-shadow: 0 15px 40px rgba(79, 70, 229, 0.5);
    }
}

/* プリント時は非表示 */
@media print {
    .countdown-widget {
        display: none !important;
    }
}