/* Homepage announcement: burgundy theme, legacy iOS friendly. */
body.home-page .home-announcement-overlay {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 10000; display: none;
    -webkit-box-align: center; -webkit-align-items: center; align-items: center;
    -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
    padding: 18px; background: rgba(15, 3, 7, .76);
    box-sizing: border-box; overflow-y: auto;
}
body.home-page .home-announcement-overlay.active { display: -webkit-flex; display: flex; }
.home-announcement-shell { width: 100%; max-width: 440px; margin: auto; text-align: center; }
.home-announcement-card {
    position: relative; overflow: hidden; border: 1px solid #99515d; border-radius: 14px;
    background: #3b121a; background: linear-gradient(135deg, #652831, #2b0910 70%);
    padding: 12px 12px 0; box-shadow: 0 12px 36px rgba(0,0,0,.45);
}
.home-announcement-brand {
    height: 70px; margin: 0 0 12px; padding: 12px;
    border: 1px solid #85505a; border-radius: 12px;
    background: rgba(255,255,255,.035); box-sizing: border-box;
}
.home-announcement-brand img { width: auto; height: 100%; max-width: 100%; margin: 0 auto; }
.home-announcement-body {
    height: 290px; height: calc(65vh - 150px); min-height: 130px; max-height: 380px;
    padding: 16px 12px; border: 1px solid #773641; border-radius: 12px 12px 0 0;
    background: rgba(10,0,3,.25); color: #f5e5e6; overflow-y: auto;
    -webkit-overflow-scrolling: touch; text-align: left; box-sizing: border-box;
}
.home-announcement-body h3 {
    display: table; max-width: 100%; margin: 0 auto 18px; padding: 10px 18px;
    border: 1px solid #b26372; border-radius: 12px; color: #fff0f3;
    background: linear-gradient(180deg, #a94e60, #702536); font-size: 18px; line-height: 1.4;
    text-align: center; word-wrap: break-word;
}
.home-announcement-body .announcement-content { color: #f5e5e6; font-size: 14px; line-height: 1.8; word-wrap: break-word; }
.home-announcement-body .announcement-content img { max-width: 100%; height: auto; }
.home-announcement-body .announcement-content a { color: #ffc3d0; text-decoration: underline; }
.home-announcement-tabs {
    margin: 0 -12px; padding: 0; overflow-x: auto; overflow-y: hidden;
    white-space: nowrap; font-size: 0; text-align: left; background: #310d15;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.home-announcement-tabs::-webkit-scrollbar { display: none; }
.home-announcement-tab {
    display: inline-block; vertical-align: top; min-width: 120px; max-width: 240px;
    padding: 13px 14px; margin: 0; border: 0; border-right: 1px solid #763541;
    background: #42151f; color: #d9adb6; font-size: 13px; line-height: 20px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-announcement-tab.active { background: #8a3547; color: #fff2f5; }
.home-announcement-tab .announcement-envelope { margin-right: 6px; }
.home-announcement-next {
    position: absolute; right: 4px; top: 49%; width: 26px; height: 32px; padding: 0;
    border-radius: 16px; background: rgba(13,0,5,.4); color: #ffe5ed; font-size: 28px; line-height: 28px;
}
.home-announcement-close {
    display: block; width: 38px; height: 38px; margin: 18px auto 0; padding: 0;
    border: 2px solid #f4dce3; border-radius: 50%; background: transparent;
    color: #fff0f4; font-size: 32px; line-height: 30px;
}

.home-announcement-daily {
    display: block; margin: 12px auto 0; color: #efd2da; font-size: 13px; line-height: 20px;
}
.home-announcement-daily input {
    display: inline-block; width: 15px; height: 15px; margin: 0 6px 0 0;
    vertical-align: middle; -webkit-appearance: checkbox; appearance: checkbox;
}
.home-announcement-daily span { vertical-align: middle; }
.home-announcement-close { margin-top: 12px; }

/* Compact title and unframed brand mark. */
.home-announcement-body h3 { font-size: 15px; }
.home-announcement-brand {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    height: 58px;
    box-shadow: none;
}
