        /* ── Hero Cinematic ── */
        .hero-cinematic {
            position: relative;
            min-height: 50vh;
            display: grid;
            grid-template-columns: 1fr;
            align-items: stretch;
            overflow: hidden;
            margin-bottom: 0;
        }

        @media (min-width: 768px) {
            .hero-cinematic {
                grid-template-columns: 5fr 7fr;
                min-height: 45vh;
            }
        }

        .hero-cinematic__bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .hero-cinematic__bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.35) contrast(1.1) saturate(1.2);
        }

        @media (min-width: 768px) {
            .hero-cinematic__bg img {
                mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
                -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
            }
        }

        .hero-cinematic__bg::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to top, var(--t-body, #0a0a12) 0%, transparent 100%);
            z-index: 1;
        }

        .hero-cinematic__overlay {
            position: absolute;
            inset: 0;
            z-index: 2;
            background:
                linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, transparent 50%),
                linear-gradient(to bottom, transparent 50%, var(--t-body, #0a0a12) 100%);
            pointer-events: none;
        }

        .hero-cinematic__content {
            position: relative;
            z-index: 5;
            padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 3vw, 2rem);
            display: flex;
            flex-direction: column;
            gap: clamp(0.75rem, 2vw, 1.25rem);
            justify-content: center;
        }

        .hero-cinematic__title {
            display: flex;
            flex-direction: column;
            line-height: 1;
        }

        .hero-cinematic__visual {
            position: relative;
            z-index: 3;
            cursor: pointer;
            overflow: hidden;
            display: none;
        }

        @media (min-width: 768px) {
            .hero-cinematic__visual {
                display: block;
                margin: 0.75rem 0.75rem 0.75rem 0;
                border-radius: 16px;
            }
        }

        .hero-article__img-wrap {
            position: absolute;
            inset: 0;
        }

        .hero-article__img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.4) contrast(1.1) brightness(0.7);
            transition: filter 0.7s ease, transform 0.8s ease;
        }

        .hero-cinematic__visual:hover .hero-article__img {
            filter: grayscale(0) contrast(1.05) brightness(0.8);
            transform: scale(1.03);
        }

        .hero-article__img-fade {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 70%);
            pointer-events: none;
            z-index: 1;
            border-radius: 16px;
        }

        .hero-article__overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 2;
            padding: 2rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .hero-article__tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--t-accent, #ef4444);
            background: var(--t-accent-muted, rgba(239, 68, 68, 0.15));
            border: 1px solid rgba(239, 68, 68, 0.3);
            padding: 0.3rem 0.85rem;
            width: fit-content;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .hero-article__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(1.5rem, 2vw + 0.5rem, 2.5rem);
            font-weight: 700;
            line-height: 1.1;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            color: var(--t-hero-text, #fff);
            max-width: 30ch;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
            transition: color 0.3s ease;
        }

        .hero-cinematic__visual:hover .hero-article__title {
            color: #fca5a5;
        }

        .hero-article__excerpt {
            font-size: 0.9rem;
            line-height: 1.6;
            color: var(--t-hero-excerpt, rgba(209, 213, 219, 0.85));
            max-width: 50ch;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
        }

        /* ── Hero Title ── */
        .hero-title__main {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
            font-weight: 800;
            letter-spacing: -0.04em;
            text-transform: uppercase;
            color: #fff;
            line-height: 0.9;
        }

        .hero-title__sub {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(1rem, 2vw + 0.3rem, 1.75rem);
            font-weight: 400;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--t-accent, #ef4444);
            opacity: 0.85;
            margin-top: 0.15em;
        }

        /* ── Hero Badge — Liquid Glass ── */
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.4rem 1rem;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 100px;
            width: fit-content;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .hero-badge__pulse {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--t-accent, #ef4444);
            box-shadow: 0 0 8px currentColor;
            animation: badge-pulse 2s ease-in-out infinite;
        }

        .hero-badge__text {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.85);
        }

        @keyframes badge-pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.4;
                transform: scale(0.85);
            }
        }

        /* ── Hero Taglines ── */
        .hero-taglines {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .hero-tagline {
            font-family: 'Inter', sans-serif;
            font-size: clamp(0.8rem, 1vw + 0.3rem, 1rem);
            font-weight: 300;
            color: rgba(255, 255, 255, 0.55);
            letter-spacing: 0.02em;
            margin: 0;
        }

        .hero-tagline--accent {
            color: var(--t-accent, #ef4444);
            font-weight: 500;
            opacity: 0.75;
        }

        /* ── Equalizer Animation ── */
        .hero-eq {
            display: flex;
            align-items: flex-end;
            gap: 3px;
            height: 24px;
            margin-top: 0.25rem;
        }

        .hero-eq__bar {
            width: 3px;
            border-radius: 2px;
            background: var(--t-accent, #ef4444);
            opacity: 0.6;
            animation: eq-bounce 1.2s ease-in-out infinite;
        }

        .hero-eq__bar:nth-child(1) {
            height: 40%;
            animation-delay: 0s;
        }

        .hero-eq__bar:nth-child(2) {
            height: 70%;
            animation-delay: 0.1s;
        }

        .hero-eq__bar:nth-child(3) {
            height: 50%;
            animation-delay: 0.2s;
        }

        .hero-eq__bar:nth-child(4) {
            height: 90%;
            animation-delay: 0.15s;
        }

        .hero-eq__bar:nth-child(5) {
            height: 60%;
            animation-delay: 0.25s;
        }

        .hero-eq__bar:nth-child(6) {
            height: 80%;
            animation-delay: 0.05s;
        }

        .hero-eq__bar:nth-child(7) {
            height: 45%;
            animation-delay: 0.3s;
        }

        @keyframes eq-bounce {

            0%,
            100% {
                transform: scaleY(0.3);
            }

            50% {
                transform: scaleY(1);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-eq__bar {
                animation: none;
            }

            .hero-badge__pulse {
                animation: none;
            }
        }

        /* ── Hero Form ── */
        .hero-form-area {
            margin-top: 0.5rem;
        }

        .hero-form {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            max-width: 500px;
        }

        .hero-form__input {
            flex: 1;
            height: 44px;
            padding: 0 1rem;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .hero-form__input::placeholder {
            color: rgba(255, 255, 255, 0.35);
        }

        .hero-form__input:focus {
            border-color: var(--t-accent, #ef4444);
            box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
        }

        .hero-form__btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            min-width: 44px;
            background: var(--t-accent, #ef4444);
            border: none;
            border-radius: 12px;
            color: #fff;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            flex-shrink: 0;
        }

        .hero-form__btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
        }

        .hero-form__btn:active {
            transform: scale(0.97);
        }

        .hero-form__expand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            height: 44px;
            padding: 0 1rem;
            background: none;
            border: none;
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: color 0.2s;
            flex-shrink: 0;
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        .hero-form__expand:hover {
            color: rgba(255, 255, 255, 0.9);
        }

        .hero-input--shake {
            animation: hero-shake 0.4s ease-in-out;
        }

        @keyframes hero-shake {

            0%,
            100% {
                transform: translateX(0)
            }

            20% {
                transform: translateX(-6px)
            }

            40% {
                transform: translateX(6px)
            }

            60% {
                transform: translateX(-4px)
            }

            80% {
                transform: translateX(4px)
            }
        }

        /* ── Hero Loading ── */
        .hero-loading-area {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            max-width: 500px;
            margin-top: 0.5rem;
        }

        .hero-loading__progress-track {
            height: 2px;
            background: var(--t-card-border, rgba(239, 68, 68, 0.1));
            border-radius: 1px;
            overflow: hidden;
        }

        .hero-loading__progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
            background-size: 200% 100%;
            border-radius: 1px;
            box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
            animation: hero-progress-glow 2s ease-in-out infinite;
        }

        @keyframes hero-progress-glow {

            0%,
            100% {
                background-position: 0% 50%
            }

            50% {
                background-position: 100% 50%
            }
        }

        .hero-log-line {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: var(--t-tagline-color, rgba(248, 113, 113, 0.7));
            letter-spacing: 0.05em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            animation: hero-log-fade 0.3s ease-out;
        }

        .hero-log-line--success {
            color: #22c55e;
        }

        .hero-log-line--error {
            color: #ef4444;
        }

        .hero-log-line--step {
            color: var(--t-tagline-color, rgba(248, 113, 113, 0.7));
        }

        @keyframes hero-log-fade {
            from {
                opacity: 0;
                transform: translateY(4px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        /* ── Ticker Bar ── */
        .ticker-bar {
            overflow: hidden;
            white-space: nowrap;
            background: var(--t-card-bg, rgba(255, 255, 255, 0.03));
            border-top: 1px solid var(--t-header-border, rgba(255, 255, 255, 0.06));
            border-bottom: 1px solid var(--t-header-border, rgba(255, 255, 255, 0.06));
            padding: 0.4rem 0;
            position: relative;
        }

        .ticker-bar__content {
            display: inline-block;
            animation: ticker-scroll 40s linear infinite;
            will-change: transform;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--t-accent, rgba(239, 68, 68, 0.6));
        }

        .ticker-bar__separator {
            display: inline-block;
            margin: 0 2rem;
            color: var(--t-text-muted, rgba(255, 255, 255, 0.15));
        }

        @keyframes ticker-scroll {
            0% {
                transform: translateX(0)
            }

            100% {
                transform: translateX(-50%)
            }
        }

        .ticker-bar::before,
        .ticker-bar::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 60px;
            z-index: 2;
            pointer-events: none;
        }

        .ticker-bar::before {
            left: 0;
            background: linear-gradient(to right, var(--t-body, #000), transparent);
        }

        .ticker-bar::after {
            right: 0;
            background: linear-gradient(to left, var(--t-body, #000), transparent);
        }

        /* ── Editorial Grid ── */
        .editorial-grid {
            display: grid;
            gap: 1.25rem;
            padding-bottom: 3rem;
            grid-template-columns: 1fr;
        }

        @media(min-width:768px) {
            .editorial-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .editorial-grid .ed-card--hero {
                grid-column: 1/-1;
            }
        }

        @media(min-width:1024px) {
            .editorial-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .editorial-grid .ed-card--hero {
                grid-column: 1/-1;
                display: grid;
                grid-template-columns: 1.2fr 1fr;
            }

            .editorial-grid .ed-card--featured {
                grid-column: span 1;
            }
        }

        /* ── Editorial Card ── */
        .ed-card {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            background: var(--t-card-bg, rgba(10, 5, 5, 0.6));
            border: 1px solid var(--t-card-border, rgba(239, 68, 68, 0.1));
            transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
            opacity: 0;
            transform: translateY(16px);
            animation: ed-card-in 0.5s ease-out forwards;
        }

        .ed-card:hover {
            border-color: rgba(239, 68, 68, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(239, 68, 68, 0.06);
            transform: translateY(-2px);
        }

        .ed-card::before,
        .ed-card::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            border-color: rgba(239, 68, 68, 0.25);
            border-style: solid;
            z-index: 10;
            transition: border-color 0.3s;
            pointer-events: none;
        }

        .ed-card::before {
            top: 6px;
            left: 6px;
            border-width: 1px 0 0 1px;
        }

        .ed-card::after {
            bottom: 6px;
            right: 6px;
            border-width: 0 1px 1px 0;
        }

        .ed-card:hover::before,
        .ed-card:hover::after {
            border-color: rgba(239, 68, 68, 0.6);
        }

        @keyframes ed-card-in {
            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        .ed-card__meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--t-text-muted, #6b7280);
            margin-bottom: 0.5rem;
        }

        .ed-card__tag {
            color: var(--t-accent, #ef4444);
        }

        .ed-card__image-wrap {
            position: relative;
            overflow: hidden;
        }

        .ed-card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.5);
            transition: filter 0.5s;
        }

        .ed-card__image-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(127, 29, 29, 0.35), rgba(239, 68, 68, 0.15));
            transition: opacity 0.5s;
            pointer-events: none;
        }

        .ed-card:hover .ed-card__image {
            filter: grayscale(0);
        }

        .ed-card:hover .ed-card__image-wrap::after {
            opacity: 0;
        }

        .ed-card__image-fade {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60%;
            background: linear-gradient(to top, var(--t-card-bg, rgba(10, 5, 5, 0.9)), transparent);
            pointer-events: none;
            z-index: 1;
        }

        .ed-card__body {
            padding: 1rem 1.25rem 1.25rem;
            position: relative;
            z-index: 2;
        }

        .ed-card__title {
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -0.01em;
            line-height: 1.1;
            color: var(--t-card-title, #fff);
            transition: color 0.3s;
            margin-bottom: 0.5rem;
        }

        .ed-card:hover .ed-card__title {
            color: #fca5a5;
        }

        .ed-card--hero .ed-card__title {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
        }

        .ed-card--featured .ed-card__title {
            font-size: 1.1rem;
        }

        .ed-card--standard .ed-card__title {
            font-size: 0.95rem;
        }

        .ed-card__excerpt {
            font-size: 0.8rem;
            line-height: 1.6;
            color: var(--t-card-text, #9ca3af);
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .ed-card__date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            color: var(--t-accent, #ef4444);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-top: 0.75rem;
            opacity: 0.7;
        }

        .ed-card--hero .ed-card__image-wrap {
            height: 100%;
            min-height: 280px;
        }

        .ed-card--featured .ed-card__image-wrap {
            height: 200px;
        }

        .ed-card--standard .ed-card__image-wrap {
            height: 160px;
        }

        /* ── Severity LED ── */
        .severity-led {
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .severity-led--defcon1,
        .severity-led--critical {
            background: #ef4444;
            box-shadow: 0 0 8px rgba(239, 68, 68, 0.8), 0 0 16px rgba(239, 68, 68, 0.4);
            animation: led-blink 1.5s ease-in-out infinite;
        }

        .severity-led--high {
            background: #f97316;
            box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
        }

        .severity-led--medium {
            background: #eab308;
            box-shadow: 0 0 4px rgba(234, 179, 8, 0.4);
        }

        .severity-led--low {
            background: #6b7280;
        }

        @keyframes led-blink {

            0%,
            100% {
                opacity: 1
            }

            50% {
                opacity: 0.4
            }
        }

        .ed-card[data-severity="defcon1"],
        .ed-card[data-severity="critical"] {
            border-left: 2px solid #ef4444;
            box-shadow: inset 3px 0 12px rgba(239, 68, 68, 0.08);
        }

        .ed-card[data-severity="high"] {
            border-left: 2px solid #f97316;
        }

        .ed-card[data-severity="medium"] {
            border-left: 2px solid #eab308;
        }

        .ed-card[data-severity="low"] {
            border-left: 2px solid rgba(107, 114, 128, 0.4);
        }

        /* ── Modal Animations ── */
        dialog::backdrop {
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .modal-card {
            position: relative;
            border-radius: 20px 20px 0 0;
            background: var(--t-modal-bg, #000);
            backdrop-filter: blur(24px) saturate(1.2);
            -webkit-backdrop-filter: blur(24px) saturate(1.2);
            border: 1px solid var(--t-glass-border, rgba(255, 255, 255, 0.08));
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 100vh;
        }

        @media(min-width:768px) {
            .modal-card {
                border-radius: 20px;
                max-height: 90vh;
            }
        }

        .modal-scroll {
            min-height: 0;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            scrollbar-width: thin;
            scrollbar-color: rgba(127, 29, 29, 0.45) transparent;
        }

        /* ── Modal Resize Handle ── */
        .modal-resize-handle {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 60;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 28px;
            cursor: ns-resize;
            touch-action: none;
            -webkit-user-select: none;
            user-select: none;
        }

        .modal-resize-handle__bar {
            width: 36px;
            height: 4px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.2);
            transition: background 0.2s, width 0.2s;
        }

        .modal-resize-handle:hover .modal-resize-handle__bar,
        .modal-resize-handle:active .modal-resize-handle__bar {
            background: rgba(255, 255, 255, 0.4);
            width: 48px;
        }

        .modal-card--resizing {
            transition: none !important;
        }

        .modal-card--resizing .modal-scroll {
            pointer-events: none;
        }

        /* ── Custom Scrollbar (JS-driven) ── */
        .hide-native-scrollbar {
            scrollbar-width: none !important;
        }

        .hide-native-scrollbar::-webkit-scrollbar {
            display: none !important;
        }

        .custom-scrollbar-track {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 60;
            background: transparent;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
        }

        .modal-card:hover .custom-scrollbar-track,
        .custom-scrollbar-track:hover {
            opacity: 1;
            pointer-events: auto;
        }

        .custom-scrollbar-thumb {
            position: absolute;
            top: 0;
            right: 2px;
            width: calc(100% - 4px);
            border-radius: 10px;
            background: rgba(127, 29, 29, 0.45);
            transition: background 0.2s, width 0.15s;
            cursor: grab;
        }

        .custom-scrollbar-thumb:hover,
        .custom-scrollbar-thumb.active {
            background: rgba(239, 68, 68, 0.6);
            cursor: grabbing;
        }

        @media (max-width: 767px) {
            .custom-scrollbar-track {
                display: none;
            }
        }

        /* ── Modal Action Buttons (close, delete) ── */
        .modal-header-actions {
            position: absolute;
            right: 1rem;
            top: 1rem;
            z-index: 50;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modal-header-actions button {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--t-glass-bg, rgba(0, 0, 0, 0.15));
            backdrop-filter: blur(24px) saturate(1.2);
            -webkit-backdrop-filter: blur(24px) saturate(1.2);
            border: 1px solid var(--t-glass-border, rgba(255, 255, 255, 0.08));
            color: var(--t-text-muted, rgba(255, 255, 255, 0.7));
            cursor: pointer;
            transition: all 0.2s;
            outline: none;
        }

        .modal-header-actions button:hover {
            background: rgba(0, 0, 0, 0.3);
            transform: scale(1.08);
            box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
        }

        .modal-header-actions button svg {
            width: 20px;
            height: 20px;
        }

        .modal-header-actions [data-modal-delete]:hover {
            color: #ef4444;
        }

        .modal-header-actions [data-modal-theme] {
            font-size: 20px;
        }

        .modal-header-actions [data-modal-close]:hover {
            color: var(--t-accent, #ef4444);
        }



        .add-modal-card {
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
            border-radius: 20px 20px 0 0;
            background: var(--t-modal-bg, rgba(0, 0, 0, 0.15));
            backdrop-filter: blur(24px) saturate(1.2);
            -webkit-backdrop-filter: blur(24px) saturate(1.2);
            border: 1px solid var(--t-glass-border, rgba(255, 255, 255, 0.08));
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            touch-action: pan-y;
            scrollbar-width: none;
            /* Firefox */
        }

        .add-modal-card::-webkit-scrollbar {
            display: none;
            /* Chrome/Safari */
        }

        @media(min-width:768px) {
            .add-modal-card {
                border-radius: 20px;
            }
        }

        dialog[open] .add-modal-card {
            transform: translateY(0);
        }



        .add-modal-close-btn {
            position: sticky;
            top: 1rem;
            float: right;
            margin-right: 1rem;
            margin-top: 1rem;
            margin-bottom: -44px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--t-glass-bg, rgba(0, 0, 0, 0.15));
            backdrop-filter: blur(24px) saturate(1.2);
            -webkit-backdrop-filter: blur(24px) saturate(1.2);
            border: 1px solid var(--t-glass-border, rgba(255, 255, 255, 0.08));
            color: var(--t-text-muted, rgba(255, 255, 255, 0.7));
            cursor: pointer;
            transition: all 0.2s;
            outline: none;
            z-index: 50;
        }

        .add-modal-close-btn:hover {
            background: rgba(0, 0, 0, 0.3);
            transform: scale(1.08);
            box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
            color: var(--t-accent, #ef4444);
        }

        .add-modal-close-btn svg {
            width: 20px;
            height: 20px;
        }

        .add-modal-progress {
            height: 3px;
            background: var(--t-input-border, rgba(255, 255, 255, 0.06));
            border-radius: 2px;
            overflow: hidden;
        }

        .add-modal-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #ef4444, #f97316);
            border-radius: 2px;
            transition: width 1s linear;
        }

        .add-modal-countdown {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: var(--t-text-muted, rgba(255, 255, 255, 0.4));
            text-align: center;
        }

        /* ── Confirm Dialog ── */
        .confirm-dialog {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s;
        }

        .confirm-dialog.active {
            opacity: 1;
            pointer-events: auto;
        }

        @media(min-width:768px) {
            .confirm-dialog {
                align-items: center;
                padding: 2rem;
            }
        }

        .confirm-dialog__body {
            width: 100%;
            max-width: 400px;
            background: var(--t-modal-bg, #0f0808);
            border: 1px solid var(--t-card-border, rgba(239, 68, 68, 0.25));
            border-radius: 20px 20px 0 0;
            padding: 2rem;
            text-align: center;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
            box-shadow: 0 0 40px rgba(239, 68, 68, 0.1), 0 25px 50px rgba(0, 0, 0, 0.5);
        }

        @media(min-width:768px) {
            .confirm-dialog__body {
                border-radius: 20px;
                transform: scale(0.9) translateY(10px);
            }
        }

        .confirm-dialog.active .confirm-dialog__body {
            transform: translateY(0);
        }

        @media(min-width:768px) {
            .confirm-dialog.active .confirm-dialog__body {
                transform: scale(1) translateY(0);
            }
        }

        .confirm-dialog__icon {
            margin-bottom: 1rem;
            color: var(--t-text-muted, rgba(255, 255, 255, 0.5));
        }

        .confirm-dialog__icon svg {
            margin: 0 auto;
        }

        .confirm-dialog__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--t-text-strong, #fff);
            margin-bottom: 0.5rem;
        }

        .confirm-dialog__message {
            font-size: 0.85rem;
            line-height: 1.5;
            color: var(--t-text-muted, rgba(255, 255, 255, 0.6));
            margin-bottom: 1.5rem;
        }

        .confirm-dialog__actions {
            display: flex;
            gap: 0.75rem;
        }

        .confirm-dialog__btn {
            flex: 1;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid transparent;
            outline: none;
        }

        .confirm-dialog__btn--cancel {
            background: var(--t-input-bg, rgba(255, 255, 255, 0.06));
            border-color: var(--t-input-border, rgba(255, 255, 255, 0.08));
            color: var(--t-text-muted, rgba(255, 255, 255, 0.6));
        }

        .confirm-dialog__btn--cancel:hover {
            background: var(--t-input-border, rgba(255, 255, 255, 0.1));
            color: var(--t-text-strong, #fff);
        }

        .confirm-dialog__btn--danger {
            background: #dc2626;
            color: #fff;
        }

        .confirm-dialog__btn--danger:hover {
            background: #ef4444;
        }

        .confirm-dialog__btn--warning {
            background: #d97706;
            color: #fff;
        }

        .confirm-dialog__btn--warning:hover {
            background: #f59e0b;
        }

        /* ── Sidebar ── */
        .sidebar-header {
            position: sticky;
            top: 0;
            z-index: 10;
            background: var(--t-sidebar-header, rgba(10, 5, 5, 0.95));
            border-bottom: 1px solid var(--t-glass-border, rgba(255, 255, 255, 0.06));
        }

        .sidebar-close-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--t-input-bg, rgba(255, 255, 255, 0.06));
            border: 1px solid var(--t-input-border, rgba(255, 255, 255, 0.08));
            color: var(--t-text-muted, rgba(255, 255, 255, 0.5));
            cursor: pointer;
            transition: all 0.2s;
        }

        .sidebar-close-btn:hover {
            color: var(--t-accent, #ef4444);
        }

        .sidebar-content {
            container-type: inline-size;
            container-name: sidebar;
        }

        @container sidebar (min-width:800px) {
            .sidebar-top-sections {
                display: grid !important;
                grid-template-columns: 1fr 1fr;
                gap: 1.25rem;
            }
        }

        /* ── FAB ── */
        .fab-add {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 90;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--t-glass-bg, rgba(10, 5, 5, 0.9));
            border: 1px solid var(--t-glass-border, rgba(255, 255, 255, 0.08));
            color: var(--t-accent, #ef4444);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(239, 68, 68, 0.15);
        }

        .fab-add:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(239, 68, 68, 0.3);
        }

        .fab-add:active {
            transform: scale(0.95);
        }

        .fab-add__icon {
            position: relative;
            width: 24px;
            height: 24px;
        }

        .fab-add__icon::before,
        .fab-add__icon::after {
            content: '';
            position: absolute;
            background: currentColor;
            border-radius: 2px;
        }

        .fab-add__icon::before {
            top: 50%;
            left: 0;
            width: 100%;
            height: 2px;
            transform: translateY(-50%);
        }

        .fab-add__icon::after {
            left: 50%;
            top: 0;
            width: 2px;
            height: 100%;
            transform: translateX(-50%);
        }

        dialog[open]~.fab-add {
            display: none;
        }

        /* ── PWA Standalone ── */
        .pwa-standalone header {
            padding-top: calc(env(safe-area-inset-top) - 6px);
        }

        .pwa-standalone .fab-add {
            bottom: calc(env(safe-area-inset-bottom, 20px) + 1rem);
        }

        .pwa-standalone .sidebar-header {
            padding-top: env(safe-area-inset-top);
        }

        @media (max-width: 767px) {

            /* Article modal — fullscreen edge-to-edge */
            #article-modal [data-modal-backdrop] {
                align-items: stretch !important;
                padding: 0;
            }

            #article-modal .modal-card {
                height: 100dvh;
                max-height: none !important;
                border-radius: 0;
                border: none;
            }

            .modal-header-actions {
                top: calc(env(safe-area-inset-top, 0px) + 2.5rem);
            }

            .pwa-standalone .modal-header-actions {
                top: calc(env(safe-area-inset-top, 0px) - 2px);
            }

            /* Add modal — bottom sheet card */
            .add-modal-card {
                height: auto;
                max-height: calc(100dvh - 3rem);
                border-radius: 24px 24px 0 0;
                border: none;
                border-top: 1px solid rgba(255, 255, 255, 0.12);
                background: color-mix(in oklch, var(--t-modal-bg, #0a0a12) 92%, transparent);
                backdrop-filter: blur(24px) saturate(180%);
                -webkit-backdrop-filter: blur(24px) saturate(180%);
                box-shadow:
                    0 -8px 40px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.08);
            }

            /* --- Disable hover effects on mobile (article modal) --- */
            .modal-header-actions button:hover {
                background: var(--t-glass-bg, rgba(0, 0, 0, 0.15));
                transform: none;
                box-shadow: none;
            }

            .modal-header-actions [data-modal-delete]:hover {
                color: var(--t-text-muted, rgba(255, 255, 255, 0.7));
            }

            .modal-header-actions [data-modal-close]:hover {
                color: var(--t-text-muted, rgba(255, 255, 255, 0.7));
            }
        }

        /* ── Reader Mode Grid ── */
        .reader-grid {
            display: grid;
            gap: 1px;
            background: var(--t-card-border, rgba(239, 68, 68, 0.08));
            grid-template-columns: 1fr;
        }

        @media(min-width:640px) {
            .reader-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media(min-width:1024px) {
            .reader-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .reader-grid .reader-breaking,
        .reader-grid .reader-headline {
            grid-column: 1/-1;
        }

        @media(min-width:640px) {
            .reader-grid .reader-standard {
                grid-column: span 1;
            }
        }

        .reader-card {
            background: var(--t-body, #000);
            padding: 1.25rem 1.5rem;
            cursor: pointer;
            transition: background 0.2s;
            opacity: 0;
            animation: readerFadeIn 0.4s ease-out forwards;
        }

        .reader-card:hover {
            background: var(--t-card-bg, rgba(10, 5, 5, 0.6));
        }

        @keyframes readerFadeIn {
            to {
                opacity: 1
            }
        }

        .reader-card__meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--t-text-muted, #6b7280);
            margin-bottom: 0.4rem;
        }

        .reader-card__severity {
            font-weight: 700;
        }

        .reader-card__severity--defcon1,
        .reader-card__severity--critical {
            color: #ef4444;
        }

        .reader-card__severity--high {
            color: #f97316;
        }

        .reader-card__severity--medium {
            color: #eab308;
        }

        .reader-card__severity--low {
            color: #6b7280;
        }

        .reader-card__tag {
            color: var(--t-accent, #ef4444);
        }

        .reader-card__date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            color: var(--t-text-muted, #6b7280);
        }

        .reader-breaking__image {
            position: relative;
            height: 200px;
            overflow: hidden;
            margin: -1.25rem -1.5rem 1rem;
        }

        .reader-breaking__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.3);
        }

        .reader-breaking__overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, var(--t-body, #000), transparent 60%);
        }

        .reader-breaking__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            font-weight: 700;
            line-height: 1.15;
            color: var(--t-text-strong, #fff);
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .reader-breaking__excerpt {
            font-size: 0.85rem;
            line-height: 1.6;
            color: var(--t-card-text, #9ca3af);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .reader-headline__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            line-height: 1.2;
            color: var(--t-text-strong, #fff);
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .reader-headline__quote {
            font-style: italic;
            font-size: 0.9rem;
            line-height: 1.7;
            color: var(--t-card-text, #9ca3af);
            border-left: 2px solid var(--t-accent, #ef4444);
            padding-left: 1rem;
            margin: 0;
        }

        .reader-standard__thumb {
            height: 120px;
            overflow: hidden;
            margin: -1.25rem -1.5rem 0.75rem;
        }

        .reader-standard__thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.4);
        }

        .reader-standard__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.2;
            color: var(--t-card-title, #e5e7eb);
            margin-bottom: 0.4rem;
        }

        .reader-standard__excerpt {
            font-size: 0.8rem;
            line-height: 1.5;
            color: var(--t-card-text, #9ca3af);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .reader-compact__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            line-height: 1.25;
            color: var(--t-card-title, #e5e7eb);
        }

        .reader-dimmed__title {
            font-size: 0.85rem;
            color: var(--t-text-muted, #6b7280);
        }

        /* ── Reader Hero ── */
        .reader-hero-wrapper {
            margin-bottom: 1px;
        }

        .reader-hero {
            display: grid;
            grid-template-columns: 1fr;
            cursor: pointer;
            background: var(--t-body, #000);
            overflow: hidden;
        }

        @media(min-width:768px) {
            .reader-hero {
                grid-template-columns: 1.2fr 1fr;
                min-height: 350px;
            }
        }

        .reader-hero__image-wrap {
            position: relative;
            height: 250px;
            overflow: hidden;
        }

        @media(min-width:768px) {
            .reader-hero__image-wrap {
                height: 100%;
            }
        }

        .reader-hero__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(0.3) contrast(1.1);
            transition: filter 0.5s, transform 0.6s;
        }

        .reader-hero:hover .reader-hero__image {
            filter: grayscale(0);
            transform: scale(1.03);
        }

        .reader-hero__image-fade {
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, transparent 50%, var(--t-body, #000));
        }

        .reader-hero__image-bottom {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: linear-gradient(to top, var(--t-body, #000), transparent);
        }

        .reader-hero__body {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.75rem;
        }

        .reader-hero__meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .reader-hero__severity {
            font-weight: 700;
        }

        .reader-hero__tag {
            color: var(--t-text-muted, #6b7280);
        }

        .reader-hero__label {
            color: var(--t-accent, #ef4444);
            font-weight: 700;
            border: 1px solid currentColor;
            padding: 0.15rem 0.5rem;
            margin-left: auto;
        }

        .reader-hero__title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            font-weight: 700;
            line-height: 1.1;
            color: var(--t-text-strong, #fff);
            text-transform: uppercase;
        }

        .reader-hero__excerpt {
            font-size: 0.9rem;
            line-height: 1.7;
            color: var(--t-card-text, #9ca3af);
            max-width: 50ch;
        }

        .reader-hero__date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            color: var(--t-text-muted, #6b7280);
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        /* ── Reader Mode ── */
        [data-reader] .hero-cinematic,
        [data-reader] .ticker-bar,
        [data-reader] .bg-blobs {
            display: none;
        }

        [data-reader] .editorial-grid {
            display: none;
        }

        [data-reader] .reader-grid {
            display: grid;
        }

        /* ── Mobile ── */
        @media(max-width:767px) {
            .hero-cinematic {
                grid-template-columns: 1fr;
                min-height: auto;
            }

            .hero-cinematic__content {
                padding: 2rem 1.5rem;
            }

            .hero-cinematic__visual {
                height: 280px;
                margin: 0;
                border-radius: 0;
            }

            .hero-article__img-fade {
                border-radius: 0;
            }

            .hero-article__overlay {
                padding: 1.5rem;
            }

            .hero-form__expand span {
                display: none;
            }
        }