/* DooPlay Auth v2 — style.css (đã tối ưu)
   --da       : accent color (injected by PHP)
   --da-dark  : darker shade for hover
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700&display=swap');

/* ══════════════════════════════════════
   FONT — ép Roboto toàn bộ, thắng theme WP
══════════════════════════════════════ */
.da-wrap,
.da-wrap * {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ── Reset ── */
.da-wrap *, .da-wrap *::before, .da-wrap *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}

/* ── Layout ── */
.da-wrap {
    display: flex;
    justify-content: center;
    padding: 48px 16px 64px;
}

/* ── Card ── */
.da-card {
    background: #171717;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 44px 40px;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 32px 80px rgb(41 41 41 / 24%);
}

/* ── Header ── */
.da-head { text-align: center; margin-bottom: 32px; }

.da-head h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f0f4ff;
    letter-spacing: -.5px;
    position: relative;
    display: inline-block;
}
.da-head h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 36px;
    background: var(--da, #e50914);
    border-radius: 2px;
    margin: 8px auto 0;
}
.da-head p { color: #9aa3bf; font-size: .875rem; margin-top: 6px; }

/* ── Message ── */
.da-msg {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .875rem;
    line-height: 1.5;
    margin-bottom: 22px;
}
.da-msg.ok  { background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3);  color: #4ade80; }
.da-msg.err { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #f87171; }

/* ── Fields ── */
.da-fields { display: flex; flex-direction: column; gap: 18px; }

.da-field { display: flex; flex-direction: column; gap: 7px; }

.da-field label {
    font-size: .75rem;
    font-weight: 600;
    color: #a0a8c0;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.da-field label em { color: var(--da, #e50914); font-style: normal; }

.da-field input[type=text],
.da-field input[type=email],
.da-field input[type=password] {
    width: 100%;
    background: #0c0c18;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    padding: 11px 14px;
    color: #dde3f5;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.da-field input:focus {
    border-color: var(--da, #e50914);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--da,#e50914) 20%, transparent);
}
.da-field input::placeholder { color: #3e4560; }
.da-field input.da-disabled  { opacity: .45; cursor: not-allowed; }

/* ── Password wrap ── */
.da-pw { position: relative; }
.da-pw input { padding-right: 42px; }
.da-eye {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    font-size: 1rem; color: #7880a0; padding: 4px; line-height: 1;
}

/* ── Remember + forgot row ── */
.da-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.da-check {
    display: flex; align-items: center; gap: 7px;
    font-size: .82rem; color: #9aa3bf; cursor: pointer;
}
.da-check input[type=checkbox] {
    accent-color: var(--da, #e50914);
    width: 15px; height: 15px; cursor: pointer;
}
.da-small { font-size: .82rem; }

/* ── Button ── */
.da-btn {
    width: 100%;
    background: var(--da, #e50914);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 13px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .1s;
}
.da-btn:hover    { background: var(--da-dark, #b0070f); }
.da-btn:active   { transform: scale(.98); }
.da-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── Footer ── */
.da-foot { text-align: center; margin-top: 26px; font-size: .85rem; color: #8890aa; }
.da-link { color: var(--da, #e50914); text-decoration: none; font-weight: 600; }
.da-link:hover { text-decoration: underline; }
.da-logout { display: inline-block; margin-top: 4px; }

/* ── Notice (already logged in) ── */
.da-notice { text-align: center; padding: 20px; color: #9aa3bf; }

/* ── Avatar area ── */
.da-avatar-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.da-av-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--da, #e50914);
    overflow: hidden;
    background: #0c0c18;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--da,#e50914) 18%, transparent);
}
.da-av-ring img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.da-av-label {
    background: transparent;
    border: 1px solid var(--da, #e50914);
    color: var(--da, #e50914);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: .8rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.da-av-label:hover { background: var(--da, #e50914); color: #fff; }
.da-av-hint { font-size: .72rem; color: #8890aa; }

/* ══════════════════════════════════════
   TABS
══════════════════════════════════════ */
.da-tabs {
    display: flex;
    width: 100%;
    gap: 4px;
    background: #0c0c18;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
}
.da-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .85rem;
    font-weight: 600;
    color: #8890aa;
    cursor: pointer;
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-align: center;
}
.da-tab-btn.active { background: var(--da, #e50914); color: #fff; }
.da-tab-btn:not(.active):hover { background: rgba(255,255,255,.06); color: #dde3f5; }
.da-tab-panel { display: none; box-sizing: border-box; width: 100%; overflow-x: hidden; }
.da-tab-panel.active { display: block; }

.da-badge {
    background: var(--da, #e50914);
    color: #fff;
    border-radius: 20px;
    padding: 1px 7px;
    font-size: .72rem;
    font-weight: 700;
}
.da-tab-btn.active .da-badge { background: rgba(255,255,255,.25); }

.da-badge--live {
    background: #ff4757;
    animation: da-pulse 1.6s infinite;
}
/* Giữ badge luôn màu đỏ, kể cả khi tab đang active
   (ghi đè rule .da-tab-btn.active .da-badge phía trên) */
.da-tab-btn.active .da-badge--live {
    background: #ff4757;
    color: #fff;
}
@keyframes da-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 71, 87, .55); }
    70%  { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* ══════════════════════════════════════
   LỊCH SỬ — toolbar
══════════════════════════════════════ */
.da-history-empty {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    padding: 48px 0; color: #8890aa;
}
.da-history-empty svg { opacity: .4; }
.da-history-empty p { font-size: .9rem; }

.da-history-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 8px;
}
.da-history-actions { display: flex; gap: 8px; align-items: center; }
.da-history-count { font-size: .8rem; color: #8890aa; }

.da-history-clear {
    background: transparent;
    border: 1px solid rgba(239,68,68,.4);
    color: #f87171;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: .78rem;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.da-history-clear:hover { background: rgba(239,68,68,.15); }
.da-history-clear:disabled { opacity: .4; cursor: not-allowed; }

.da-history-select-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    color: #9aa3bf;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: .78rem;
    cursor: pointer;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.da-history-select-btn:hover { background: rgba(255,255,255,.07); color: #dde3f5; }

.da-select-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 14px;
    font-size: .82rem;
    color: #9aa3bf;
}
.da-select-bar[hidden] { display: none !important; }
.da-select-bar > *:first-child { flex: 1; }

/* ══════════════════════════════════════
   LỊCH SỬ — group / list
══════════════════════════════════════ */
.da-history-groups {
    max-height: 560px;
    overflow-y: auto;
    padding-right: 4px;
}
.da-history-groups::-webkit-scrollbar { width: 4px; }
.da-history-groups::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.1); border-radius: 4px;
}

.da-history-group { margin-bottom: 20px; }

.da-history-date-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--da, #e50914);
    padding: 0 2px 8px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    margin-bottom: 10px;
}

.da-history-ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

/* ══════════════════════════════════════
   LỊCH SỬ — item
══════════════════════════════════════ */
.da-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0c0c18;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 8px 10px 8px 8px;
    transition: border-color .2s;
    position: relative;
}
.da-history-item:hover { border-color: rgba(255,255,255,.14); }
.da-history-item.is-selected {
    border-color: var(--da, #e50914);
    background: color-mix(in srgb, var(--da,#e50914) 8%, #0c0c18);
}

/* Checkbox */
.da-history-check {
    display: none;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    width: 20px; height: 20px;
}
.da-history-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.da-checkmark {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
    background: #12121e;
}
.da-history-check input:checked ~ .da-checkmark {
    background: var(--da, #e50914);
    border-color: var(--da, #e50914);
}
.da-history-check input:checked ~ .da-checkmark::after {
    content: '';
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none; border-left: none;
    transform: rotate(45deg) translateY(-1px);
    display: block;
}
/* Select mode: hiện checkbox */
.da-select-mode .da-history-check { display: flex; }
.da-select-mode .da-delete-one    { display: none; }

/* Poster */
.da-history-poster {
    position: relative;
    flex-shrink: 0;
    width: 54px;
    height: 78px;
    border-radius: 7px;
    overflow: hidden;
    display: block;
    background: #1a1a2e;
    text-decoration: none;
}
.da-history-poster img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.da-history-no-thumb {
    width: 100%; height: 100%;
    display: flex; align-items: center;
    justify-content: center; color: #404860;
}
.da-history-play-icon {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .8rem;
    opacity: 0; transition: opacity .2s;
}
.da-history-poster:hover .da-history-play-icon { opacity: 1; }

/* Info */
.da-history-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.da-history-title {
    font-size: .88rem; font-weight: 600;
    color: #dde3f5; text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.da-history-title:hover { color: var(--da, #e50914); }

.da-history-time {
    font-size: .74rem; color: #8890aa;
    display: flex; align-items: center; gap: 4px;
}
.da-watched-badge { display: none; }

/* Nút xoá lẻ */
.da-delete-one {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(239,68,68,.25);
    color: #f87171;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .2s, background .2s;
}
.da-history-item:hover .da-delete-one { opacity: 1; }
.da-delete-one:hover { background: rgba(239,68,68,.15); }

/* ══════════════════════════════════════
   GOOGLE BUTTON & DIVIDER
══════════════════════════════════════ */
.da-btn--google {
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    border-radius: 9px;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
    margin-bottom: 0;
}
.da-btn--google:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
    color: #3c4043;
}
.da-btn--google svg { flex-shrink: 0; }

.da-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8890aa;
    font-size: .8rem;
    margin: 16px 0;
}
.da-divider::before,
.da-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.08);
}

/* ══════════════════════════════════════
   TAB THÔNG BÁO
══════════════════════════════════════ */
.da-notif-panel {
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.da-notif-panel .da-history-toolbar { padding-top: 0; }

.da-notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.da-notif-item {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-left: 3px solid transparent;
    border-radius: 12px;
    transition: background .15s ease, border-color .15s ease;
}
.da-notif-item:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
}

/* Chưa đọc */
.da-notif-item.da-notif-unread {
    border-left-color: var(--da, #e50914);
    background: color-mix(in srgb, var(--da, #e50914) 9%, rgba(255,255,255,.03));
}
.da-notif-unread .da-notif-title { font-weight: 700; color: #ffffff; }
.da-notif-unread .da-notif-msg   { color: #c3cadd; }

/* Đã đọc */
.da-notif-item.da-notif-read { opacity: .62; }
.da-notif-read .da-notif-title { font-weight: 500; color: #c3cadd; }
.da-notif-read .da-notif-msg   { color: #767f96; }
.da-notif-item.da-notif-read:hover { opacity: .9; }

.da-notif-link {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
}

.da-notif-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--da, #e50914);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--da, #e50914) 25%, transparent);
    margin-top: 6px;
}

.da-notif-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.da-notif-icon--welcome { background: rgba(255, 193, 7, .14); }
.da-notif-icon--reply   { background: color-mix(in srgb, var(--da, #e50914) 18%, transparent); }

.da-notif-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.da-notif-title,
.da-notif-msg,
.da-notif-time {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.da-notif-title { font-size: 14px; line-height: 1.35; }

.da-notif-msg {
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.da-notif-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #6c7590;
    margin-top: 2px;
}

/* Nút xoá thông báo */
.da-notif-delete {
    align-self: center;
    flex-shrink: 0;
    margin-right: 12px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #8892a8;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.da-notif-delete:hover {
    background: rgba(255, 71, 87, .16);
    border-color: rgba(255, 71, 87, .35);
    color: #ff4757;
}

/* ══════════════════════════════════════
   FIX WIDTH — .da-card--wide cố định theo breakpoint
   (min-width = max-width tại mỗi breakpoint => không co giãn
   theo nội dung dài, nhưng vẫn đổi kích thước hợp lý theo màn hình)
══════════════════════════════════════ */
.da-card--wide {
    box-sizing: border-box;
}

/* Desktop / tablet lớn: cố định 480px */
@media (min-width: 521px) {
    .da-card--wide {
        min-width: 480px;
        max-width: 480px;
    }
}

/* ── Style dùng chung cho mọi mốc mobile (không đổi theo breakpoint) ── */
@media (max-width: 530px) {
    html, body { overflow-x: hidden; }

    .da-wrap {
        padding: 24px 8px 36px;
        overflow-x: hidden;
    }

    .da-card,
    .da-card--wide {
        box-sizing: border-box;
        padding: 20px 14px;
        border-radius: 14px;
        overflow-x: hidden;
    }

    /* Thu nhỏ 3 tab: Hồ sơ / Thông báo / Lịch sử xem */
    .da-tabs { padding: 3px; gap: 3px; margin-bottom: 18px; }
    .da-tab-btn { font-size: 12px; padding: 8px 4px; gap: 4px; }
    .da-badge, .da-badge--live { font-size: 10px; padding: 1px 5px; }

    .da-head h2 { font-size: 1.45rem; }

    /* ── FIX GỐC: toolbar (Đánh dấu đã đọc / Xoá tất cả / Chọn) từng
       gây tràn ngang vì 2 nút white-space:nowrap không có chỗ chứa ──*/
    .da-history-toolbar { flex-wrap: wrap; row-gap: 8px; }
    .da-history-actions { flex-wrap: wrap; width: 100%; justify-content: flex-start; }
    .da-history-select-btn,
    .da-history-clear { font-size: 11px; padding: 5px 9px; }

    /* Thông báo: icon nhỏ lại, chừa nhiều chỗ hơn cho chữ */
    .da-notif-icon { width: 36px; height: 36px; font-size: 16px; }
    .da-notif-panel { padding: 12px; }
    .da-notif-link { padding: 12px 8px; gap: 10px; }
    .da-notif-delete { width: 26px; height: 26px; margin-right: 8px; }

    /* Chặn cứng mọi trường hợp chuỗi dài không có khoảng trắng
       (link dài, chuỗi liền không dấu cách...) làm tràn ngang */
    .da-notif-title,
    .da-notif-msg { overflow-wrap: anywhere; word-break: break-word; }
}

/* ══════════════════════════════════════
   3 MỐC CHIỀU RỘNG CỐ ĐỊNH THEO YÊU CẦU
   (min-width = max-width => tuyệt đối không co giãn
   theo nội dung trong từng khoảng màn hình)
══════════════════════════════════════ */

/* Màn 411px – 530px → card cố định 360px */
@media (min-width: 411px) and (max-width: 530px) {
    .da-card,
    .da-card--wide {
        min-width: 360px;
        max-width: 360px;
        width: 360px;
    }
}

/* Màn 351px – 410px → card cố định 330px */
@media (min-width: 351px) and (max-width: 410px) {
    .da-card,
    .da-card--wide {
        min-width: 330px;
        max-width: 330px;
        width: 330px;
    }
    .da-wrap { padding: 22px 6px 32px; }
}

/* Màn nhỏ nhất – 350px → card cố định 290px */
@media (max-width: 350px) {
    .da-card,
    .da-card--wide {
        min-width: 290px;
        max-width: 290px;
        width: 290px;
        padding: 16px 10px;
    }
    .da-wrap { padding: 20px 4px 28px; }
    .da-tab-btn { font-size: 11px; padding: 7px 2px; }
    .da-notif-panel { padding: 10px; }
}

/* ══════════════════════════════════════
   MODAL CHI TIẾT THÔNG BÁO NỘI BỘ
   (welcome / system — không có link bài viết cụ thể)
══════════════════════════════════════ */
.da-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    opacity: 0;
    animation: da-modal-fade .18s ease forwards;
}
.da-modal-overlay[hidden] { display: none !important; }

@keyframes da-modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.da-modal-box {
    position: relative;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 32px 28px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
    box-sizing: border-box;
    transform: scale(.94) translateY(6px);
    animation: da-modal-pop .2s cubic-bezier(.2, .8, .3, 1.2) forwards;
}

@keyframes da-modal-pop {
    to { transform: scale(1) translateY(0); }
}

.da-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: #8890aa;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background .15s, color .15s;
}
.da-modal-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.da-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--da, #e50914) 16%, transparent);
    color: var(--da, #e50914);
    display: flex;
    align-items: center;
    justify-content: center;
}
.da-modal-icon svg { width: 26px; height: 26px; }

.da-modal-icon--welcome {
    background: rgba(255, 193, 7, .16);
    color: #ffc107;
}

.da-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0f4ff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.da-modal-message {
    font-size: .9rem;
    color: #c3cadd;
    line-height: 1.6;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.da-modal-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    color: #6c7590;
}

/* Thông báo dạng div (nội bộ, không có href) vẫn cần trỏ tay để rõ là bấm được */
.da-notif-link[role="button"] { cursor: pointer; }

@media (max-width: 420px) {
    .da-modal-box { padding: 26px 20px 22px; }
}