/* ── 官方頁面 overlay ── */
#official-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}
#official-overlay.open {
    display: flex;
}
#official-modal {
    position: relative;
    width: 92vw;
    max-width: 640px;
    height: 85vh;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
#official-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}
#official-close-btn {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    border: none;
    background: transparent;
}
#official-close-btn:hover { background: #ddd; }
#official-frame {
    flex: 1;
    width: 100%;
    border: none;
}
#official-loading {
    position: absolute;
    inset: 40px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #888;
    pointer-events: none;
}