/* Fanxing AI — platform notice center */

body:is(.chat-shell, .notice-center-host) #noticeModalOverlay {
    padding: 24px;
    background: rgba(3, 3, 8, 0.68);
    backdrop-filter: blur(18px) saturate(0.86);
    -webkit-backdrop-filter: blur(18px) saturate(0.86);
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

body:is(.chat-shell, .notice-center-host) #noticeModal {
    position: relative;
    width: min(980px, calc(100vw - 48px));
    max-width: 980px;
    height: min(720px, calc(100vh - 64px));
    max-height: 720px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 0%, rgba(119, 99, 238, 0.105), transparent 28%),
        linear-gradient(145deg, rgba(18, 19, 27, 0.985), rgba(10, 11, 16, 0.99));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 30px 90px rgba(0, 0, 0, 0.54);
    transform: translateY(18px) scale(0.975);
    overflow: hidden;
}

body:is(.chat-shell, .notice-center-host) #noticeModal::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #19c8d8 22%, #8f72ff 48%, #42d8c6 72%, transparent 100%);
    background-size: 220% 100%;
    opacity: 0.9;
    animation: noticeEnergyLine 5.5s linear infinite;
    pointer-events: none;
}

body:is(.chat-shell, .notice-center-host) #noticeModal::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -190px;
    left: -150px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 205, 218, 0.13), rgba(116, 91, 235, 0.06) 42%, transparent 70%);
    filter: blur(16px);
    opacity: 0.78;
    animation: noticeAmbientDrift 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes noticeEnergyLine {
    from { background-position: 180% 0; }
    to { background-position: -40% 0; }
}

@keyframes noticeAmbientDrift {
    from { transform: translate3d(-18px, -6px, 0) scale(0.94); opacity: 0.56; }
    to { transform: translate3d(90px, 42px, 0) scale(1.12); opacity: 0.86; }
}

body:is(.chat-shell, .notice-center-host) #noticeModalOverlay.active #noticeModal {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: noticeModalEnter 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes noticeModalEnter {
    from { opacity: 0; transform: translateY(18px) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-header {
    position: relative;
    z-index: 2;
    min-height: 76px;
    padding: 13px 18px 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(255, 255, 255, 0.018);
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-title { gap: 12px; }

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-icon-shell {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(147, 133, 255, 0.24);
    border-radius: 12px;
    color: #a99cff;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.15), transparent 42%),
        linear-gradient(145deg, rgba(121, 101, 231, 0.23), rgba(66, 100, 170, 0.13));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(35, 25, 100, 0.18);
    animation: noticeIconAura 3.8s ease-in-out infinite;
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-icon {
    color: currentColor;
    opacity: 1;
    transform-origin: 50% 18%;
    animation: noticeBell 3.8s ease-in-out infinite;
}

@keyframes noticeIconAura {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(35, 25, 100, 0.18), 0 0 0 rgba(125, 108, 238, 0); }
    50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 8px 22px rgba(35, 25, 100, 0.22), 0 0 20px rgba(125, 108, 238, 0.2); }
}

@keyframes noticeBell {
    0%, 82%, 100% { transform: rotate(0); }
    86% { transform: rotate(8deg); }
    90% { transform: rotate(-7deg); }
    94% { transform: rotate(4deg); }
    97% { transform: rotate(-2deg); }
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-title-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-kicker {
    color: rgba(174, 162, 250, 0.8);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-header h3 {
    margin: 0;
    color: rgba(249, 248, 253, 0.96);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.01em;
    background: none;
    -webkit-text-fill-color: currentColor;
    animation: none;
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-notice-count {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 999px;
    color: rgba(229, 227, 239, 0.72);
    font-size: 10px;
    background: rgba(255, 255, 255, 0.025);
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    color: rgba(220, 217, 232, 0.55);
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    outline: none;
    transform: translateZ(0) scale(1);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-close svg {
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-close:hover {
    color: #fff4f6;
    border-color: rgba(251, 113, 133, 0.42);
    background: rgba(244, 63, 94, 0.14);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.08), 0 8px 22px rgba(244, 63, 94, 0.16);
    transform: translateY(-1px) scale(1.06);
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-close:hover svg {
    transform: rotate(90deg);
}

body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-close:focus-visible {
    color: #fff4f6;
    border-color: rgba(251, 113, 133, 0.56);
    background: rgba(244, 63, 94, 0.15);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12), 0 8px 22px rgba(244, 63, 94, 0.14);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody {
    position: relative;
    z-index: 2;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    height: 100%;
    min-height: 0;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-index {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.012);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-index-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 18px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.052);
    color: rgba(238, 236, 247, 0.76);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.03em;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-index-head small {
    color: rgba(211, 208, 225, 0.6);
    font-size: 9px;
    font-weight: 500;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline {
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 10px 10px 16px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(134, 119, 230, 0.24) transparent;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 25px;
    width: 1px;
    background: linear-gradient(180deg, rgba(132, 117, 232, 0.38), rgba(108, 140, 211, 0.08));
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 86px;
    margin: 0 0 4px;
    padding: 11px 12px 10px 35px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item:hover {
    border-color: rgba(143, 128, 239, 0.15);
    background: rgba(125, 106, 226, 0.055);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    transform: translateX(3px);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item.active {
    border-color: rgba(142, 127, 241, 0.18);
    background: linear-gradient(110deg, rgba(116, 98, 223, 0.145), rgba(75, 106, 170, 0.055));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-dot {
    position: absolute;
    top: 17px;
    left: 11px;
    width: 9px;
    height: 9px;
    border: 2px solid #171821;
    border-radius: 50%;
    background: #666078;
    box-shadow: 0 0 0 1px rgba(155, 144, 207, 0.25);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item.active .ms-notice-timeline-dot {
    background: linear-gradient(135deg, #9586ff, #5aa6e2);
    box-shadow: 0 0 0 1px rgba(145, 130, 244, 0.34), 0 0 12px rgba(116, 99, 229, 0.42);
    animation: noticeDotPulse 2.4s ease-in-out infinite;
}

@keyframes noticeDotPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(145, 130, 244, 0.34), 0 0 8px rgba(116, 99, 229, 0.3); }
    50% { box-shadow: 0 0 0 4px rgba(145, 130, 244, 0.08), 0 0 16px rgba(116, 99, 229, 0.56); }
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item.is-unread:not(.active) .ms-notice-timeline-dot { background: #8274e6; }

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(197, 192, 215, 0.68);
    font-size: 9.5px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-date small {
    font-size: inherit;
    opacity: 0.72;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-title {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(244, 242, 249, 0.9);
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item.active .ms-notice-timeline-title { color: rgba(250, 249, 255, 0.96); }

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-tags,
body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-tags {
    display: flex;
    align-items: center;
    gap: 5px;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-tags .ms-notice-pin,
body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-tags .ms-notice-badge {
    padding: 1px 5px;
    font-size: 8px;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 86% 13%, rgba(52, 211, 226, 0.34) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 72%, rgba(143, 114, 255, 0.28) 0 1px, transparent 2px),
        radial-gradient(circle at 12% 62%, rgba(52, 211, 226, 0.2) 0 1px, transparent 2px);
    opacity: 0.36;
    animation: noticeStars 4.2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes noticeStars {
    from { opacity: 0.18; transform: translateY(2px); }
    to { opacity: 0.5; transform: translateY(-3px); }
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 34px 40px 28px;
    overflow-y: auto;
    color: rgba(242, 240, 248, 0.92);
    scrollbar-width: thin;
    scrollbar-color: rgba(136, 121, 229, 0.24) transparent;
    animation: noticeDetailIn 0.28s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail[hidden] { display: none; }

@keyframes noticeDetailIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-kicker {
    color: rgba(169, 153, 255, 0.88);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.16em;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-title {
    margin: 0;
    color: rgba(252, 251, 255, 0.97);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 670;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: rgba(207, 203, 220, 0.65);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-divider {
    width: 100%;
    height: 1px;
    margin: 23px 0 25px;
    background: linear-gradient(90deg, rgba(140, 124, 237, 0.28), rgba(255, 255, 255, 0.05) 52%, transparent);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-content {
    color: rgba(239, 237, 245, 0.9);
    font-size: 13.5px;
    font-weight: 450;
    line-height: 1.86;
    word-break: break-word;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-content p { margin: 0 0 13px; }

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-content strong,
body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-content b {
    color: rgba(255, 254, 255, 0.99);
    font-weight: 700;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-content img {
    max-width: 100%;
    min-height: 0;
    margin: 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    color: rgba(180, 175, 199, 0.36);
    font-size: 9px;
    letter-spacing: 0.05em;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-footer span {
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, #8b7af0, #5c9ed2);
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-pin,
body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-badge {
    min-height: 18px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 9px;
    line-height: 1.2;
    animation: none;
}

body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-empty-state {
    display: grid;
    height: 100%;
    place-items: center;
    padding: 40px;
    color: rgba(199, 195, 217, 0.48);
}

/* Light theme */
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalOverlay { background: rgba(31, 29, 47, 0.34); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal {
    border-color: rgba(48, 42, 78, 0.1);
    background:
        radial-gradient(circle at 8% 0%, rgba(120, 96, 235, 0.08), transparent 30%),
        linear-gradient(145deg, rgba(253, 253, 255, 0.99), rgba(246, 247, 251, 0.99));
    box-shadow: inset 0 1px 0 #ffffff, 0 30px 90px rgba(42, 36, 70, 0.22);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-header,
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-index-head { border-color: rgba(47, 42, 76, 0.075); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-header { background: rgba(255, 255, 255, 0.44); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-icon-shell {
    border-color: rgba(102, 83, 216, 0.14);
    color: #6d5bd6;
    background: linear-gradient(145deg, rgba(115, 93, 226, 0.11), rgba(73, 135, 200, 0.065));
    box-shadow: inset 0 1px 0 #ffffff, 0 7px 18px rgba(66, 50, 143, 0.08);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-header h3 { color: rgba(30, 27, 45, 0.94); }
body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-kicker { color: rgba(85, 65, 184, 0.76); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-notice-count,
body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-close {
    border-color: rgba(46, 40, 74, 0.08);
    color: rgba(52, 46, 70, 0.68);
    background: rgba(255, 255, 255, 0.56);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-close:hover {
    color: #d81b49;
    border-color: rgba(225, 29, 72, 0.26);
    background: rgba(255, 228, 233, 0.82);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.075), 0 8px 20px rgba(190, 24, 72, 0.12);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModal .ms-modal-close:focus-visible {
    color: #d81b49;
    border-color: rgba(225, 29, 72, 0.34);
    background: rgba(255, 228, 233, 0.86);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-index {
    border-color: rgba(49, 43, 77, 0.075);
    background: rgba(71, 56, 140, 0.018);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-index-head { color: rgba(45, 40, 65, 0.74); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-index-head small,
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline-date { color: rgba(62, 55, 84, 0.64); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline::before {
    background: linear-gradient(180deg, rgba(112, 92, 219, 0.25), rgba(87, 128, 190, 0.07));
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline-item:hover {
    border-color: rgba(103, 82, 217, 0.16);
    background: rgba(91, 72, 189, 0.055);
    box-shadow: 0 8px 20px rgba(61, 49, 108, 0.08);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline-item.active {
    border-color: rgba(104, 84, 217, 0.15);
    background: linear-gradient(110deg, rgba(108, 86, 222, 0.09), rgba(70, 127, 192, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline-dot {
    border-color: #f7f7fb;
    background: #aaa6b9;
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline-title { color: rgba(36, 32, 50, 0.86); }
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-timeline-item.active .ms-notice-timeline-title { color: rgba(30, 26, 45, 0.94); }
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-detail-title { color: rgba(28, 25, 42, 0.96); }
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-detail-kicker { color: rgba(91, 72, 193, 0.7); }
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-detail-date { color: rgba(55, 49, 73, 0.62); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-detail-divider {
    background: linear-gradient(90deg, rgba(103, 82, 217, 0.2), rgba(48, 42, 76, 0.07) 52%, transparent);
}

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-content { color: rgba(35, 31, 47, 0.86); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-content strong,
body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-content b { color: rgba(28, 25, 39, 0.9); }

body:is(.chat-shell, .notice-center-host).theme-light #noticeModalBody .ms-notice-detail-footer {
    border-color: rgba(48, 42, 75, 0.065);
    color: rgba(68, 61, 89, 0.38);
}

@media (max-width: 760px) {
    body:is(.chat-shell, .notice-center-host) #noticeModalOverlay { padding: 12px; }

    body:is(.chat-shell, .notice-center-host) #noticeModal {
        width: calc(100vw - 24px);
        height: calc(100vh - 24px);
        max-height: none;
        border-radius: 16px;
    }

    body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-header {
        min-height: 68px;
        padding: 10px 12px 10px 14px;
    }

    body:is(.chat-shell, .notice-center-host) #noticeModal .ms-notice-count { display: none; }

    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 190px minmax(0, 1fr);
    }

    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-index {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-index-head { height: 42px; }
    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline { padding-top: 7px; }

    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-item {
        min-height: 72px;
        padding-top: 8px;
        padding-bottom: 7px;
    }

    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail { padding: 24px 20px 22px; }
    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    body:is(.chat-shell, .notice-center-host) #noticeModal,
    body:is(.chat-shell, .notice-center-host) #noticeModal::before,
    body:is(.chat-shell, .notice-center-host) #noticeModal::after,
    body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-icon-shell,
    body:is(.chat-shell, .notice-center-host) #noticeModal .ms-modal-icon,
    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail-stage::after,
    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-timeline-dot,
    body:is(.chat-shell, .notice-center-host) #noticeModalBody .ms-notice-detail {
        transition: none;
        animation: none;
    }
}
