.banner-section {
            margin-bottom: 15px;
        }
        .banner-title {
            font-size: 1.1rem;
            color: var(--text-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            padding-bottom: 6px;
            border-bottom: 1px solid var(--border-color);
        }
        .banner-title i {
            margin-right: 8px;
            color: var(--primary-color);
        }
        .home-container .official-partners-banner {
            background: transparent;
            border-radius: 6px;
            overflow: hidden;
            border: none;
            transition: all 0.3s ease;
            height: auto;
            min-height: 180px;
            position: relative;
            margin-bottom: 12px;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 12px;
            box-shadow: none;
        }
        .home-container .official-partners-banner a {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
        }
        .home-container .official-partners-banner .banner-image {
            width: 100%;
            height: auto;
            max-height: 180px;
            object-fit: contain;
            border-radius: 6px;
            transition: opacity 0.3s ease;
            background-color: var(--block-bg);
        }
        .home-container .official-partners-banner .banner-image:not([src]) {
            display: none;
        }
        @media (max-width: 992px) {
            .home-container .official-partners-banner { min-height: 140px; }
            .home-container .official-partners-banner .banner-image { max-height: 140px; }
        }
        @media (max-width: 768px) {
            .home-container .official-partners-banner { min-height: 120px; }
            .home-container .official-partners-banner .banner-image { max-height: 120px; }
        }
        @media (max-width: 576px) {
            .home-container .official-partners-banner { min-height: 100px; }
            .home-container .official-partners-banner .banner-image { max-height: 100px; }
        }
        .home-container .partner-banner {
            background: transparent;
            border-radius: 6px;
            overflow: hidden;
            border: none;
            transition: all 0.3s ease;
            height: auto;
            min-height: 140px;
            position: relative;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: none;
        }
        .home-container .partner-banner .banner-image {
            width: 100%;
            height: auto;
            max-height: 140px;
            object-fit: contain;
            border-radius: 6px;
            transition: opacity 0.3s ease;
            background-color: var(--block-bg);
        }
        .home-container .partner-banner .banner-image:not([src]) { display: none; }
        .home-container .partner-banner a {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        @media (max-width: 992px) {
            .home-container .partner-banner { min-height: 120px; }
            .home-container .partner-banner .banner-image { max-height: 120px; }
        }
        @media (max-width: 768px) {
            .home-container .partner-banner { min-height: 100px; }
            .home-container .partner-banner .banner-image { max-height: 100px; }
        }
        @media (max-width: 576px) {
            .home-container .partner-banner { min-height: 80px; }
            .home-container .partner-banner .banner-image { max-height: 80px; }
        }
        .home-container .partner-banner:hover,
        .home-container .official-partners-banner:hover { transform: translateY(-2px); }
        .home-container .banner-image:hover { transform: scale(1.02); }
        .home-container .banner-image { opacity: 0; transition: opacity 0.3s ease; }
        .home-container .banner-image.loaded { opacity: 1; }
        .home-container .banner-image.error { display: none; }
        .home-container .banner-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            padding: 8px;
            text-align: center;
            height: 140px;
            width: 100%;
            background-color: rgba(var(--block-bg-rgb, 30, 36, 48), 0.3);
            border-radius: 6px;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) { .home-container .banner-placeholder { height: 120px; font-size: 0.85rem; } }
        @media (max-width: 768px) { .home-container .banner-placeholder { height: 100px; font-size: 0.8rem; } }
        @media (max-width: 576px) { .home-container .banner-placeholder { height: 80px; font-size: 0.75rem; padding: 6px; } }
        .homepage-partners-banner-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: start;
            column-gap: 0.75rem;
            row-gap: 0.25rem;
            margin: 0;
            padding: 0;
        }
        .homepage-partner-banner-item {
            margin: 0;
            padding: 0;
            min-height: 0;
            align-self: start;
        }
        .homepage-partner-banner-item--full {
            grid-column: 1 / -1;
        }
        .homepage-partners-banner-grid .partner-banner {
            min-height: 0;
            display: block;
            line-height: 0;
        }
        .homepage-partners-banner-grid .partner-banner a {
            display: block;
            line-height: 0;
        }
        .homepage-partners-banner-grid .partner-banner .banner-image {
            display: block;
            margin: 0;
        }
        @media (max-width: 767.98px) {
            .homepage-partners-banner-grid {
                grid-template-columns: 1fr;
            }
        }
        .row.g-3 { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
        @media (max-width: 576px) {
            .banner-section { margin-bottom: 10px; }
            .banner-title { font-size: 1rem; margin-bottom: 8px; padding-bottom: 4px; }
            .banner-title i { margin-right: 6px; font-size: 0.9rem; }
        }
        .home-container {
            padding: 8px 0 12px;
            max-width: 100%;
            overflow-x: hidden;
        }
        .home-row {
            flex: 0 0 auto !important;
            align-items: flex-start !important;
            margin-bottom: 10px !important;
            height: auto !important;
            min-height: 0 !important;
        }
        .container-box:has(.home-container) {
            height: auto !important;
            max-height: none !important;
            overflow-x: hidden !important;
            overflow-y: visible !important;
        }
        .home-row > [class*="col-"] {
            min-width: 0;
        }

        /* System announcements feed (left column) */
        .announcements-section {
            background: var(--block-bg);
            border-radius: 10px;
            padding: 14px;
            margin-bottom: 0;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 8px var(--block-shadow);
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .announcements-header {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
        }
        .announcements-header__icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 88, 166, 255), 0.2), rgba(var(--primary-color-rgb, 88, 166, 255), 0.06));
            color: var(--primary-color);
            font-size: 0.95rem;
        }
        .announcements-header__text {
            flex: 1;
            min-width: 0;
        }
        .announcements-header h3 {
            font-size: 1rem;
            margin: 0 0 2px;
            color: var(--text-color);
            font-weight: 700;
            letter-spacing: -0.01em;
        }
        .announcements-header__subtitle {
            font-size: 0.72rem;
            color: var(--text-muted);
            margin: 0;
            line-height: 1.35;
        }
        .announcements-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-height: 80px;
        }
        .announcement-card__new {
            display: inline-flex;
            align-items: center;
            padding: 2px 7px;
            border-radius: 4px;
            font-size: 0.58rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #fff;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
            animation: announcement-new-badge-pulse 1.4s ease-in-out infinite;
        }
        .announcement-card--unread {
            border-color: rgba(239, 68, 68, 0.45);
            box-shadow:
                0 0 0 1px rgba(239, 68, 68, 0.22),
                0 6px 18px rgba(239, 68, 68, 0.18);
            animation: announcement-unread-glow 2s ease-in-out infinite;
        }
        .announcement-card--unread::after {
            content: '';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ef4444;
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
            animation: announcement-unread-dot 1.4s ease-in-out infinite;
        }
        @keyframes announcement-unread-glow {
            0%, 100% {
                box-shadow:
                    0 0 0 1px rgba(239, 68, 68, 0.2),
                    0 4px 14px rgba(239, 68, 68, 0.12);
            }
            50% {
                box-shadow:
                    0 0 0 2px rgba(239, 68, 68, 0.4),
                    0 8px 22px rgba(239, 68, 68, 0.28);
            }
        }
        @keyframes announcement-unread-dot {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
            }
            50% {
                transform: scale(1.2);
                box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
            }
        }
        @keyframes announcement-new-badge-pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.72; }
        }
        .announcement-card {
            border-radius: 8px;
            border: 1px solid var(--border-color-light, rgba(255, 255, 255, 0.06));
            background: var(--menu-active-bg);
            padding: 12px 12px 12px 14px;
            border-left-width: 3px;
            position: relative;
        }
        .announcement-card--update { border-left-color: #58a6ff; }
        .announcement-card--maintenance { border-left-color: #f0883e; }
        .announcement-card--upgrade { border-left-color: #3fb950; }
        .announcement-card--info { border-left-color: #a371f7; }
        .announcement-card--sale { border-left-color: #f85149; }
        .announcement-card__meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            margin-bottom: 6px;
        }
        .announcement-card__badge {
            display: inline-block;
            padding: 2px 7px;
            border-radius: 4px;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #fff;
        }
        .announcement-card--update .announcement-card__badge {
            background: linear-gradient(135deg, #1e6fd4, #58a6ff);
        }
        .announcement-card--maintenance .announcement-card__badge {
            background: linear-gradient(135deg, #c45f12, #f0883e);
        }
        .announcement-card--upgrade .announcement-card__badge {
            background: linear-gradient(135deg, #238636, #3fb950);
        }
        .announcement-card--info .announcement-card__badge {
            background: linear-gradient(135deg, #6e40c9, #a371f7);
        }
        .announcement-card--sale .announcement-card__badge {
            background: linear-gradient(135deg, #da3633, #f85149);
        }
        .announcement-card__pin {
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--primary-color);
        }
        .announcement-card__date {
            margin-left: auto;
            font-size: 0.68rem;
            color: var(--text-muted);
            font-variant-numeric: tabular-nums;
        }
        .announcement-card__title {
            margin: 0 0 4px;
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--text-color);
            line-height: 1.3;
        }
        .announcement-card__body {
            margin: 0;
            font-size: 0.78rem;
            line-height: 1.45;
            color: var(--text-muted);
            white-space: pre-wrap;
        }
        .announcements-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 28px 12px;
            color: var(--text-muted);
            text-align: center;
            font-size: 0.82rem;
        }
        .announcements-empty i {
            font-size: 1.4rem;
            opacity: 0.7;
        }

        .notice-inline {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin: 0 0 12px;
            padding: 12px 14px 12px 16px;
            border-radius: 10px;
            border: 2px solid rgba(255, 59, 48, 0.55);
            border-left-width: 5px;
            border-left-color: #ff3b30;
            background: linear-gradient(
                105deg,
                rgba(255, 59, 48, 0.22) 0%,
                rgba(255, 59, 48, 0.1) 42%,
                rgba(248, 81, 73, 0.06) 100%
            );
            box-shadow:
                0 0 0 1px rgba(255, 59, 48, 0.12) inset,
                0 4px 18px rgba(255, 59, 48, 0.14);
            position: relative;
            overflow: hidden;
        }
        .notice-inline::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                -45deg,
                transparent,
                transparent 8px,
                rgba(255, 59, 48, 0.03) 8px,
                rgba(255, 59, 48, 0.03) 16px
            );
            pointer-events: none;
        }
        .notice-inline__icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 59, 48, 0.2);
            border: 1px solid rgba(255, 59, 48, 0.45);
            color: #ff6b63;
            font-size: 0.95rem;
            box-shadow: 0 0 12px rgba(255, 59, 48, 0.35);
            position: relative;
            z-index: 1;
            animation: notice-inline-icon-pulse 2.2s ease-in-out infinite;
        }
        @keyframes notice-inline-icon-pulse {
            0%, 100% {
                box-shadow: 0 0 12px rgba(255, 59, 48, 0.35);
            }
            50% {
                box-shadow: 0 0 18px rgba(255, 59, 48, 0.55);
            }
        }
        .notice-inline__text {
            flex: 1;
            min-width: 0;
            position: relative;
            z-index: 1;
        }
        .notice-inline__badge {
            display: inline-block;
            margin-bottom: 6px;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.58rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #fff;
            background: linear-gradient(135deg, #ff3b30, #d62828);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 2px 6px rgba(255, 59, 48, 0.35);
        }
        .notice-inline__lead {
            margin: 0;
            font-size: 0.82rem;
            line-height: 1.45;
            color: #ff8a84;
            font-weight: 600;
        }
        .notice-inline__lead strong {
            color: #fff;
            font-weight: 800;
        }
        @media (max-width: 991px) {
            .home-row > .col-lg-7 {
                margin-top: 4px;
            }
        }
        :root { --block-bg-rgb: 30, 36, 48; }
        [data-theme="light"] { --block-bg-rgb: 255, 255, 255; }
        [data-theme="dark"] { --block-bg-rgb: 30, 36, 48; }
