/* Style 7 notice list: narrow-screen reading layout. */
@media (max-width: 768px) {
    body.style7-notice-page {
        background: #f5f7fa;
    }

    body.style7-notice-page .style7-notice-shell .app-wrapper {
        max-width: 100%;
        padding: 0 12px;
    }

    body.style7-notice-page .style7-notice-shell .notice-layout {
        padding-top: 10px;
        padding-bottom: 24px;
    }

    body.style7-notice-page .style7-notice-shell .page-header {
        padding: 12px 4px 14px;
    }

    body.style7-notice-page .style7-notice-shell .page-header h1 {
        margin: 0 0 4px;
        background: none;
        color: #182230;
        -webkit-text-fill-color: currentColor;
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
        font-size: 23px;
        font-weight: 700;
        line-height: 1.32;
        letter-spacing: 0;
    }

    body.style7-notice-page .style7-notice-shell .page-header .subtitle {
        color: #697586;
        font-size: 13px;
        line-height: 1.55;
        letter-spacing: 0;
    }

    body.style7-notice-page .style7-notice-shell .notice-content-shell {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    body.style7-notice-page .style7-notice-shell .notice-side {
        width: 100%;
        margin: 0;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__panel {
        padding: 0 0 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__title {
        display: none;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 2px 0 5px;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__item {
        min-width: 0;
        min-height: 34px;
        padding: 0 8px;
        border: 1px solid #e3e8ef;
        border-radius: 6px;
        background: #ffffff;
        box-shadow: none;
        color: #526071;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__item:hover {
        transform: none;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__item.is-active {
        border-color: transparent;
        background: linear-gradient(135deg, #ffbb00, #ff8c1a);
        box-shadow: 0 6px 14px rgba(255, 140, 26, 0.2);
        color: #ffffff;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__item.is-active .notice-side__itemLabel {
        color: #ffffff;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__itemLabel {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__itemArrow {
        display: none;
    }

    body.style7-notice-page .style7-notice-shell .notice-breadcrumb {
        gap: 7px;
        margin: 0 4px 10px;
        color: #8993a2;
        font-size: 12px;
        line-height: 1.4;
    }

    body.style7-notice-page .style7-notice-shell .notice-main {
        width: 100%;
        min-width: 0;
    }

    body.style7-notice-page .style7-notice-shell .announcement-list {
        gap: 10px;
        padding-bottom: 20px;
    }

    body.style7-notice-page .style7-notice-shell .announcement-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 16px;
        column-gap: 10px;
        row-gap: 7px;
        align-items: start;
        min-height: 0;
        padding: 14px 12px;
        border: 1px solid #e7ebf0;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(31, 41, 55, 0.035);
    }

    body.style7-notice-page .style7-notice-shell .announcement-item:active {
        transform: none;
        background: #fbfcfe;
    }

    body.style7-notice-page .style7-notice-shell .announcement-item.is-pinned {
        border-left: 3px solid #e8781a;
        background: #fffaf5;
    }

    body.style7-notice-page .style7-notice-shell .announcement__meta {
        display: flex;
        grid-column: 1 / -1;
        align-items: center;
        gap: 7px;
        width: auto;
        padding: 0;
        text-align: left;
    }

    body.style7-notice-page .style7-notice-shell .announcement__date {
        display: inline;
        color: #536071;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.45;
        white-space: nowrap;
    }

    body.style7-notice-page .style7-notice-shell .announcement__time {
        display: inline;
        margin: 0;
        color: #9aa4b2;
        font-size: 11px;
        line-height: 1.35;
    }

    body.style7-notice-page .style7-notice-shell .announcement__content {
        grid-column: 1;
        min-width: 0;
    }

    body.style7-notice-page .style7-notice-shell .announcement__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px 6px;
        margin: 0 0 5px;
    }

    body.style7-notice-page .style7-notice-shell .announcement__title {
        display: -webkit-box;
        flex: 0 0 100%;
        order: 3;
        overflow: hidden;
        color: #202b3a;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.style7-notice-page .style7-notice-shell .announcement__badge,
    body.style7-notice-page .style7-notice-shell .announcement__pin {
        min-height: 20px;
        margin: 0;
        padding: 2px 7px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.25;
    }

    body.style7-notice-page .style7-notice-shell .announcement__badge--system {
        background: #fff1df;
        color: #bd5c0f;
    }

    body.style7-notice-page .style7-notice-shell .announcement__pin {
        background: #ffe7d2;
        color: #bd5c0f;
    }

    body.style7-notice-page .style7-notice-shell .announcement__pin::before {
        display: none;
    }

    body.style7-notice-page .style7-notice-shell .announcement__summary {
        margin: 0;
        color: #6c7785;
        font-size: 13px;
        line-height: 1.62;
        -webkit-line-clamp: 2;
    }

    body.style7-notice-page .style7-notice-shell .announcement__arrow {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: center;
        align-self: stretch;
        color: #a2acb9;
        font-size: 22px;
        line-height: 1;
    }

    body.style7-notice-page .style7-notice-shell .announcement-empty {
        padding: 42px 20px;
        border: 1px dashed #d8dee7;
        border-radius: 8px;
        box-shadow: none;
    }

    body.style7-notice-page .style7-notice-shell .announcement-empty__title {
        font-size: 18px;
    }

    body.style7-notice-page .style7-notice-shell .notice-pagination-wrap {
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0;
        padding: 2px 0;
    }

    body.style7-notice-page .style7-notice-shell .notice-pagination-wrap .pagination {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    body.style7-notice-page .style7-notice-shell .agreement-article {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 18px 16px 22px;
        border: 1px solid #e7ebf0;
        border-radius: 8px;
        box-shadow: none;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__title {
        margin: 0 0 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid #edf0f3;
        color: #202b3a;
        font-size: 21px;
        font-weight: 700;
        line-height: 1.42;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__content {
        color: #465363;
        font-size: 15px;
        line-height: 1.82;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__content p {
        margin-bottom: 18px;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__content h1,
    body.style7-notice-page .style7-notice-shell .notice-detail__content h2,
    body.style7-notice-page .style7-notice-shell .notice-detail__content h3,
    body.style7-notice-page .style7-notice-shell .notice-detail__content h4 {
        margin: 24px 0 12px;
        color: #202b3a;
        font-size: 18px;
        line-height: 1.45;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__content h2,
    body.style7-notice-page .style7-notice-shell .notice-detail__content h3 {
        padding-left: 10px;
        border-left-width: 3px;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__content ul,
    body.style7-notice-page .style7-notice-shell .notice-detail__content ol {
        margin-left: 18px;
    }

    body.style7-notice-page .style7-notice-shell .notice-detail__content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        border-radius: 6px;
        -webkit-overflow-scrolling: touch;
    }

    body.style7-notice-page .style7-notice-shell .faq-item {
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 12px;
        background: #ffffff;
    }

    body.style7-notice-page .style7-notice-shell .faq-item .announcement__meta {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        width: 42px;
        min-height: 42px;
        padding: 4px;
        border-radius: 6px;
        background: #fff1df;
        text-align: center;
    }

    body.style7-notice-page .style7-notice-shell .faq-item .announcement__date {
        color: #bd5c0f;
        font-size: 13px;
    }

    body.style7-notice-page .style7-notice-shell .faq-item .announcement__time {
        color: #c77a3f;
        font-size: 9px;
    }

    body.style7-notice-page .style7-notice-shell .faq-item .announcement__content {
        grid-column: 2;
        grid-row: 1;
    }

    body.style7-notice-page .style7-notice-shell .faq-item .announcement__title {
        font-size: 16px;
    }

    body.style7-notice-page .style7-notice-shell .faq-answer {
        margin-top: 8px;
    }
}

@media (max-width: 374px) {
    body.style7-notice-page .style7-notice-shell .announcement-item {
        grid-template-columns: minmax(0, 1fr) 14px;
        column-gap: 8px;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.style7-notice-page .style7-notice-shell .announcement__date,
    body.style7-notice-page .style7-notice-shell .announcement__time {
        font-size: 10px;
    }

    body.style7-notice-page .style7-notice-shell .notice-side__itemLabel {
        font-size: 12px;
    }

    body.style7-notice-page .style7-notice-shell .announcement__title {
        font-size: 15px;
    }
}
