/* CHOIR_ANNOUNCEMENTS_V2 */

.announcement-meta {
    margin: 7px 0 10px;
    color: #D4AF37;
    font-size: 11px;
    font-weight: 650;
}

.announcement-text {
    white-space: pre-line;
    line-height: 1.5;
}

.ann-screen {
    position: fixed;
    inset: 0;
    z-index: 10050;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #0D1B2E;
    color: #F5F2EB;
}

.ann-screen[hidden] {
    display: none !important;
}

.ann-inner {
    width: min(100%, 720px);
    min-height: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding:
        calc(20px + env(safe-area-inset-top))
        18px
        calc(45px + env(safe-area-inset-bottom));
}

.ann-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.ann-back {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    border-radius: 50%;
    background: #162B57;
    color: #F5F2EB;
    font-size: 27px;
}

.ann-title {
    font-size: 24px;
    font-weight: 750;
}

.ann-card {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: #162B57;
}

.ann-label {
    display: block;
    margin: 0 0 8px;
    color: #AEB8C9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.ann-select,
.ann-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(174,184,201,.20);
    border-radius: 14px;
    outline: none;
    background: #0D1B2E;
    color: #F5F2EB;
    font-size: 14px;
}

.ann-select {
    height: 46px;
    padding: 0 12px;
}

.ann-textarea {
    min-height: 160px;
    resize: vertical;
    padding: 13px;
    line-height: 1.5;
}

.ann-counter {
    margin-top: 7px;
    color: #AEB8C9;
    font-size: 11px;
    text-align: right;
}

.ann-primary,
.ann-secondary,
.ann-remove {
    min-height: 43px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 750;
}

.ann-primary {
    width: 100%;
    border: 0;
    background: #D4AF37;
    color: #0D1B2E;
}

.ann-secondary {
    width: 100%;
    border: 1px solid rgba(212,175,55,.35);
    background: transparent;
    color: #D4AF37;
}

.ann-preview[hidden],
.ann-editor[hidden] {
    display: none !important;
}

.ann-preview-box {
    padding: 17px;
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 17px;
    background: #0D1B2E;
}

.ann-preview-audience,
.ann-active-audience {
    color: #D4AF37;
    font-size: 12px;
    font-weight: 700;
}

.ann-preview-text,
.ann-active-text {
    margin-top: 12px;
    white-space: pre-line;
    line-height: 1.5;
}

.ann-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 14px;
}

.ann-section-label {
    margin: 27px 2px 12px;
    color: #AEB8C9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ann-active-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ann-active-card {
    padding: 16px;
    border-radius: 17px;
    background: #162B57;
}

.ann-active-date {
    margin-top: 4px;
    color: #AEB8C9;
    font-size: 11px;
}

.ann-remove {
    width: 100%;
    margin-top: 13px;
    border: 1px solid rgba(174,184,201,.20);
    background: transparent;
    color: #AEB8C9;
}

.ann-empty,
.ann-status {
    color: #AEB8C9;
    font-size: 12px;
    line-height: 1.45;
}

.ann-empty {
    padding: 17px;
    border-radius: 16px;
    background: #162B57;
    text-align: center;
}

.ann-status {
    margin-top: 12px;
}
