/* ===== 手機操作教學 ===== */

.mobile-guide{
    display: none; /* 預設隱藏 */
    background: #f5f7fb;
    padding: 40px 15px;
}

.guide-container{
    max-width: 1000px;
    margin: auto;
}

.guide-title{
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.guide-subtitle{
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.guide-step{
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.step-header{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.step-number{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #2f80ed;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.step-title{
    font-size: 24px;
    font-weight: bold;
    width:100%;
}

.step-content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mini-step{
    background: #fafafa;
    border-radius: 16px;
    padding: 15px;
    border: 1px solid #eee;
}

.phone-shot{
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid #222;
    background: #000;
    margin-bottom: 15px;
}

.phone-shot img{
    width: 100%;
    display: block;
}

.mini-title-text{
    display:block;
    width:100%;
    margin-top:10px;
    padding-left:2em;
}

.mini-text h4{
    margin-bottom: 8px;
    font-size: 18px;
}

.mini-text p{
    color: #666;
    line-height: 1.7;
}

/* 手機版 */
@media (max-width: 768px){

    .guide-title{
        font-size: 26px;
    }

    .step-content{
        grid-template-columns: 1fr;
    }

    .step-title{
        font-size: 20px;
    }
}
/* ===== 圖片放大層 ===== */

.image-viewer{
    display:none;

    position:fixed;
    inset:0;

    width:100vw;
    height:100vh;

    background:rgba(0,0,0,0.9);

    z-index:999999;

    justify-content:center;
    align-items:center;

    overflow:auto;

    /* 新增 */
    pointer-events:auto;

    overscroll-behavior:contain;
}

/* 放大圖片 */

.image-viewer img{
    max-width:90vw;
    max-height:90vh;

    border-radius:16px;

    display:block;

    margin:auto;

    box-shadow:0 0 30px rgba(0,0,0,0.5);

    /* 新增 */
    user-select:none;
    -webkit-user-drag:none;

    transition:transform 0.05s linear;

    transform-origin:center center;

    cursor:zoom-in;
}

/* 關閉按鈕 */

.close-btn{
    position:fixed;
    top:20px;
    right:30px;

    color:#fff;
    font-size:42px;

    cursor:pointer;

    z-index:1000000;

    user-select:none;
}

.highlight{
    color: red;
    font-weight: bold;
}