﻿
.Liff-bg-grey {
    background: #eeeeee;
}

.Liff-popUp-title {
    width: 100%;
    text-align: center;
}

.Liff-popUp-title p {
    font-size: 16px;
    color: #707070;
    line-height: 1.6;
    padding: 20px 0;
}

.Liff-b_title {
    width: 100%;
    background-color: #fff;
    font-size: 22px;
    color: #444;
    font-weight: bold;
    padding: 13px 0;
}

.Liff-b_title img {
    margin: 0 8px;
    width: 45px;
    height: auto;
}

.Liff-container {
    width: 95%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.Liff-qrcode {
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.Liff-qrcode img {
    max-width: 230px;
    max-height: 230px;
}


.Liff-white-popup {
    margin: 0 auto;
    position: relative;
    width: 650px;
    max-width: 90%;
    margin: 20px auto;
    display: block;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* 關閉鈕:magnific 預設把 × 放在 top:0 right:0,44px 的鈕右上角正好卡在白框 10px 圓角的
   透明區、一半疊到框外的深色頁面背景上,又只有 0.65 透明度 → 使用者看不清也點不準。
   這裡把它往內縮進白框(落在標題列上、.Liff-bg-grey 範圍內),做成深色小圓鈕配白色 ×,
   不論底下是白色標題列或灰底都清楚可見。用 button.mfp-close 拉高選擇器權重,確保蓋得過
   magnific 自己的 .mfp-close-btn-in .mfp-close(否則同權重要看 CSS 載入順序)。
   只作用在本 Liff 彈窗,不影響其他頁的 magnific 關閉鈕。 */
.Liff-white-popup button.mfp-close {
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    opacity: 1;
    color: #707070;                          /* × 用彈窗既有的內文灰字色,不用白/黑 */
    font-size: 22px;
    font-weight: bold;
    background: #f4f4f4;                      /* 近白淺灰圓底,呼應 .Liff-bg-grey 的 #eee */
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); /* 靠柔和陰影浮出輪廓,不用深色塊也看得出是按鈕 */
}

    .Liff-white-popup button.mfp-close:hover,
    .Liff-white-popup button.mfp-close:focus {
        background: #e8e8e8;
        color: #333;
        opacity: 1;
    }
