/* CM837 程式互動補充；設計稿樣式保留在 cm837.css。 */
/* 共用手機表頭已保留空間；表頭無佔位時由 JS 補足，避免重複 45px。 */
.MOBILE #CM837 .hero { margin-top: 0; }
#CM837 .the_menu.is-fixed .LM_MENU {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #ffbd50;
}
.PC #CM837 .LM_MENU li.LINK,
.MOBILE #CM837 .LM_MENU li.LINK { font-size: inherit; }
#CM837 .LM_MENU li.LINK a { color: #fff; background: #f58c00; }
.MOBILE #CM837 .LM_MENU li a { font-size: 1.1rem; }
#CM837 .cm837-video-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: #24182e;
    color: #fff;
    font: 18px "Microsoft JhengHei", sans-serif;
}
#CM837 .VIDEO { position: relative; }
#CM837 .VIDEO .cm837-video-pending { position: absolute; top: 0; left: 0; }
#CM837 .shorts_video_bg .cm837-video-pending { position: absolute; top: 0; left: 0; }
.cm837-ended { margin: 0; font: 16px/1.7 "Microsoft JhengHei", sans-serif; color: #555; }
.cm837-ended-backdrop { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); }
.cm837-ended-dialog { width: 420px; max-width: 90%; background: #fff; border: 3px solid #b892ce; border-radius: 6px; box-shadow: 0 3px 10px #777; }
.cm837-ended-title { height: 40px; background: #77259f; }
.cm837-ended-content { padding: 16px; }
.cm837-ended-content p { margin: 0 0 16px; }
.cm837-ended-content a { display: block; padding: 8px; border: 1px solid #aaa; border-radius: 4px; background: #ddd; color: #555; text-align: center; text-decoration: none; }
