/* Comic Section General Styles */
.comic-episode-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
    font-family: 'Shippori Mincho', serif;
}

.comic-archive {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    text-align: left;
}

.comic-archive h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.archive-list {
    list-style: none;
    padding: 0;
}

.archive-list li {
    margin-bottom: 8px;
}

.archive-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    padding: 5px;
    width: 100%;
    transition: color 0.3s ease, background 0.3s ease;
    border-radius: 4px;
}

.archive-btn:hover {
    color: #007bff;
    background: #f0f8ff;
}

.archive-btn.active {
    color: #007bff;
    font-weight: 700;
    background: #e6f2ff;
}

.comic-placeholder {
    text-align: center;
    color: var(--text-light);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.comic-placeholder h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Comic Panel Images */
.comic-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure entire image and bubbles are visible */
    transition: transform 0.5s ease;
}

.comic-panel:hover img {
    transform: scale(1.05);
}

/* Comic Description */
.comic-description {
    margin-bottom: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: center;
}

/* Comic Frame */
.comic-frame {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Comic Strip */
.comic-strip {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding-bottom: 5px;
}

.comic-panel {
    width: 100%;
    aspect-ratio: 1 / 0.75;
    background-color: #fff;
    border: 2px solid #333;
    overflow: hidden;
    position: relative;
}

/* SNS Section (Often associated with comic) */
.sns-section {
    margin-top: 2rem;
    text-align: center;
}

.sns-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    color: var(--primary-color);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sns-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sns-btn.twitter:hover {
    background-color: #000000;
}

.sns-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sns-btn.facebook:hover {
    background-color: #1877f2;
}

.sns-btn.tiktok:hover {
    background-color: #000000;
}