@charset "UTF-8";

/* 第77期 page197-198 樣式 */
/**
 * 生成時間：2025-12-29 07:35:00
 * 功能描述：第77期雙月刊 page197-198 頁面樣式
 * 包含頁面：page197（批命延續+附二）、page198（附三）
 * 備註：繼承 p196 的命理格式樣式
 */

/* ============ 主容器 ============ */
.bundle-197-197 .container,
.bundle-198-198 .container {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 100px 20px 100px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: #fff;
    position: relative;
}

/* ============ 內容樣式 ============ */
.bundle-197-197 .content,
.bundle-198-198 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* ============ 附錄標題區塊 ============ */
.bundle-197-197 .appendix-header,
.bundle-198-198 .appendix-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.bundle-197-197 .appendix-number,
.bundle-198-198 .appendix-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6850a1;
    color: white;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.3em;
    white-space: nowrap;
}

.bundle-197-197 .appendix-title,
.bundle-198-198 .appendix-title {
    color: #231f20;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
}

/* ============ 命理項目樣式 ============ */
.bundle-197-197 .fortune-item,
.bundle-198-198 .fortune-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.bundle-197-197 .fortune-number,
.bundle-198-198 .fortune-number {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    color: #231f20;
    font-weight: bold;
    min-width: 60px;
    text-align: right;
}

.bundle-197-197 .fortune-age,
.bundle-198-198 .fortune-age {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    color: #231f20;
    font-weight: bold;
}

.bundle-197-197 .fortune-text,
.bundle-198-198 .fortune-text {
    font-size: 1rem;
    color: #231f20;
    flex: 1;
}

.bundle-197-197 .fortune-note,
.bundle-198-198 .fortune-note {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 12px 80px;
    line-height: 1.6;
}

/* ============ 頁碼樣式 ============ */
.bundle-197-197 .page-number,
.bundle-198-198 .page-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.bundle-197-197 .page-number .page-text,
.bundle-198-198 .page-number .page-text {
    color: #666;
}

.bundle-197-197 .page-number .page-circle,
.bundle-198-198 .page-number .page-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #6850a1;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

/* ============ RWD 響應式設計 ============ */

/* 平板尺寸 */
@media (max-width: 992px) {

    .bundle-197-197 .container,
    .bundle-198-198 .container {
        padding: 20px 60px;
    }

    .bundle-197-197 .appendix-title,
    .bundle-198-198 .appendix-title {
        font-size: 1.1rem;
    }
}

/* 手機尺寸 */

/* ============ 固定垂直標籤（Fixed Vertical Label）============ */
.bundle-197-197-active .fixed-vertical-label,
.bundle-198-198-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #823D5B;
    color: white;
    padding: 10px 8px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    z-index: 1000;
    font-weight: bold;
}

@media (max-width: 768px) {

    .bundle-197-197 .container,
    .bundle-198-198 .container {
        padding: 15px 30px;
    }

    .bundle-197-197 .appendix-header,
    .bundle-198-198 .appendix-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bundle-197-197 .appendix-title,
    .bundle-198-198 .appendix-title {
        font-size: 1rem;
    }

    .bundle-197-197 .fortune-item,
    .bundle-198-198 .fortune-item {
        gap: 15px;
    }

    .bundle-197-197 .fortune-number,
    .bundle-198-198 .fortune-number {
        min-width: 50px;
        font-size: 0.95rem;
    }

    .bundle-197-197 .fortune-text,
    .bundle-198-198 .fortune-text {
        font-size: 0.95rem;
    }

    .bundle-197-197 .fortune-note,
    .bundle-198-198 .fortune-note {
        margin-left: 65px;
    }

    /* 固定垂直標籤 RWD */
    .bundle-197-197-active .fixed-vertical-label,
    .bundle-198-198-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0;
        left: 0;
        line-height: 1.2;
    }
}

/* 小手機尺寸 */
@media (max-width: 576px) {

    .bundle-197-197 .container,
    .bundle-198-198 .container {
        padding: 10px 20px;
    }

    .bundle-197-197 .fortune-item,
    .bundle-198-198 .fortune-item {
        gap: 10px;
    }

    .bundle-197-197 .fortune-number,
    .bundle-198-198 .fortune-number {
        min-width: 45px;
        font-size: 0.9rem;
    }

    .bundle-197-197 .fortune-text,
    .bundle-198-198 .fortune-text {
        font-size: 0.9rem;
    }

    .bundle-197-197 .fortune-note,
    .bundle-198-198 .fortune-note {
        margin-left: 55px;
        font-size: 0.85rem;
    }
}