html {
            scroll-padding-top: var(--site-header-offset, 5.5rem);
        }

        section[id],
        main [id] {
            scroll-margin-top: var(--site-header-offset, 5.5rem);
        }

        body {
            font-family: 'DM Sans', system-ui, sans-serif;
            background-color: #0c1220;
            color: #d1dae8;
        }

        /* Hide page until first Minecraft status check completes */
        body.is-status-loading {
            overflow: hidden;
        }

        body.is-status-loading > :not(#status-boot) {
            visibility: hidden;
            opacity: 0;
        }

        @keyframes status-page-in {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        body:not(.is-status-loading) > :not(#status-boot) {
            animation: status-page-in 0.45s ease both;
        }

        .status-boot {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #0c1220;
            transition: opacity 0.45s ease, visibility 0.45s ease;
        }

        .status-boot-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.25rem;
            animation: status-boot-inner-in 0.4s ease both;
        }

        /* TFW-style ring: track + spinning arc around logo */
        .status-boot-ring {
            position: relative;
            width: 10.5rem;
            height: 10.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .status-boot-ring-svg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            animation: status-boot-ring-spin 1.15s linear infinite;
        }

        .status-boot-ring-track {
            fill: none;
            stroke: #2a3a52;
            stroke-width: 2.5;
        }

        .status-boot-ring-spinner {
            fill: none;
            stroke: #f5c518;
            stroke-width: 3.5;
            stroke-linecap: round;
            stroke-dasharray: 82 245;
            stroke-dashoffset: 0;
        }

        .status-boot-logo {
            position: relative;
            z-index: 1;
            width: 6.75rem;
            height: 6.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background: transparent;
            border-radius: 0;
            overflow: visible;
        }

        .status-boot-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 0;
        }

        .status-boot-logo-fallback {
            display: none;
            font-family: 'Barlow Condensed', system-ui, sans-serif;
            font-weight: 800;
            font-size: 0.85rem;
            color: #f5c518;
            letter-spacing: 0.05em;
        }

        .status-boot-logo.show-fallback .status-boot-logo-fallback {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

        .status-boot-logo.show-fallback img {
            display: none;
        }

        .status-boot-label {
            font-size: 0.6875rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #64748b;
        }

        .status-boot.is-hiding {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .status-boot.is-hiding .status-boot-ring-svg {
            animation: status-boot-ring-complete 0.45s ease forwards;
        }

        .status-boot.is-hiding .status-boot-inner {
            animation: status-boot-inner-out 0.4s ease forwards;
        }

        @keyframes status-boot-ring-spin {
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes status-boot-ring-complete {
            to {
                transform: rotate(420deg);
                opacity: 0;
            }
        }

        @keyframes status-boot-inner-in {
            from {
                opacity: 0;
                transform: scale(0.94);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes status-boot-inner-out {
            to {
                opacity: 0;
                transform: scale(0.96);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .status-boot {
                transition: opacity 0.2s ease;
            }

            .status-boot-ring-svg {
                animation: status-boot-ring-spin 2.5s linear infinite;
            }

            .status-boot.is-hiding .status-boot-ring-svg {
                animation: none;
                opacity: 0;
            }

            .status-boot-inner {
                animation: none;
                opacity: 1;
                transform: none;
            }

            body:not(.is-status-loading) > :not(#status-boot) {
                animation: none;
            }
        }

        .font-display {
            font-family: 'Barlow Condensed', system-ui, sans-serif;
        }

        .font-mono {
            font-family: 'IBM Plex Mono', ui-monospace, monospace;
        }

        /* Platform hazard stripe */
        .platform-stripe {
            height: 6px;
            background: repeating-linear-gradient(-45deg,
                    #f5c518 0, #f5c518 12px,
                    #0c1220 12px, #0c1220 24px);
        }

        .track-bg {
            background-image:
                linear-gradient(90deg, rgba(61, 79, 102, 0.15) 1px, transparent 1px),
                linear-gradient(rgba(61, 79, 102, 0.08) 1px, transparent 1px);
            background-size: 48px 48px;
        }

        .sticky-header {
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .site-header {
            background: rgba(12, 18, 32, 0.94);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #2a3a52;
            box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.65);
        }

        .site-header-bar {
            border-bottom: 1px solid rgba(42, 58, 82, 0.55);
        }

        .site-header-brand {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            min-width: 0;
            text-decoration: none;
            color: inherit;
        }

        .site-header-brand-text {
            min-width: 0;
            display: none;
            flex-direction: column;
            line-height: 1.15;
        }

        @media (min-width: 480px) {
            .site-header-brand-text {
                display: flex;
            }
        }

        .site-header-brand-title {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: #fff;
        }

        .site-header-brand-sub {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.58rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #6b7d96;
        }

        .site-header-tools {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-shrink: 0;
        }

        .header-tool {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.35rem 0.6rem;
            border-radius: 4px;
            border: 1px solid #2a3a52;
            background: rgba(12, 18, 32, 0.65);
            text-decoration: none;
            color: inherit;
            cursor: pointer;
            transition:
                border-color 0.15s ease,
                background 0.15s ease,
                transform 0.15s ease,
                box-shadow 0.15s ease;
        }

        .header-tool:hover {
            transform: translateY(-1px);
        }

        .header-tool-icon {
            flex-shrink: 0;
            width: 1.65rem;
            height: 1.65rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 3px;
            font-size: 0.72rem;
        }

        .header-tool-copy {
            display: flex;
            flex-direction: column;
            gap: 0.05rem;
            min-width: 0;
            line-height: 1.15;
        }

        .header-tool-kicker {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.5rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #6b7d96;
        }

        .header-tool-label {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #e8edf5;
            white-space: nowrap;
        }

        .header-tool-external {
            flex-shrink: 0;
            font-size: 0.58rem;
            color: #6b7d96;
            transition: color 0.15s ease, transform 0.15s ease;
        }

        .header-tool--hire {
            border-color: rgba(245, 197, 24, 0.55);
            background: linear-gradient(135deg, rgba(245, 197, 24, 0.2) 0%, rgba(245, 197, 24, 0.08) 100%);
            box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.08) inset;
        }

        .header-tool--hire .header-tool-icon {
            background: rgba(245, 197, 24, 0.18);
            border: 1px solid rgba(245, 197, 24, 0.35);
            color: #f5c518;
        }

        .header-tool--hire .header-tool-kicker {
            color: #f5c518;
        }

        .header-tool--hire .header-tool-label {
            color: #fff;
        }

        .header-tool--hire:hover {
            border-color: #f5c518;
            background: linear-gradient(135deg, rgba(245, 197, 24, 0.28) 0%, rgba(245, 197, 24, 0.12) 100%);
            box-shadow: 0 6px 18px -12px rgba(245, 197, 24, 0.45);
        }

        .header-tool--status {
            cursor: default;
        }

        .header-tool--status:hover {
            transform: none;
        }

        .header-tool-status-dot {
            flex-shrink: 0;
            width: 0.55rem;
            height: 0.55rem;
            border-radius: 50%;
            background: #6b7d96;
        }

        .header-tool--status.service-pill--live {
            border-color: rgba(60, 184, 120, 0.45);
            background: rgba(60, 184, 120, 0.08);
        }

        .header-tool--status.service-pill--live .header-tool-status-dot {
            background: #3cb878;
            box-shadow: 0 0 8px #3cb878;
            animation: blink 2s ease-in-out infinite;
        }

        .header-tool--status.service-pill--live .header-tool-kicker {
            color: #5a9e78;
        }

        .header-tool--status.service-pill--live .header-tool-label {
            color: #8fd4a8;
        }

        .header-tool--status.service-pill--offline {
            border-color: rgba(248, 113, 113, 0.4);
            background: rgba(248, 113, 113, 0.06);
        }

        .header-tool--status.service-pill--offline .header-tool-status-dot {
            background: #ef4444;
            box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
        }

        .header-tool--status.service-pill--offline .header-tool-kicker {
            color: #b87a7a;
        }

        .header-tool--status.service-pill--offline .header-tool-label {
            color: #fca5a5;
        }

        .header-tool--status.service-pill--loading .header-tool-status-dot {
            background: #6b7d96;
            animation: blink 1.4s ease-in-out infinite;
        }

        .header-tool--portal {
            border-color: rgba(143, 163, 191, 0.35);
            background: rgba(20, 28, 46, 0.75);
        }

        .header-tool--portal .header-tool-icon {
            background: rgba(143, 163, 191, 0.12);
            border: 1px solid rgba(143, 163, 191, 0.25);
            color: #b8c6dc;
        }

        .header-tool--portal .header-tool-label {
            color: #d4deef;
        }

        .header-tool--portal:hover {
            border-color: rgba(245, 197, 24, 0.45);
            background: rgba(245, 197, 24, 0.06);
            box-shadow: 0 6px 18px -14px rgba(0, 0, 0, 0.55);
        }

        .header-tool--portal:hover .header-tool-label {
            color: #f5c518;
        }

        .header-tool--portal:hover .header-tool-external {
            color: #f5c518;
            transform: translate(1px, -1px);
        }

        @media (max-width: 639px) {
            .header-tool-copy {
                display: none;
            }

            .header-tool--hire,
            .header-tool--portal {
                padding: 0.35rem;
            }

            .header-tool--portal .header-tool-external {
                display: none;
            }
        }

        .site-header-menu-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.25rem;
            height: 2.25rem;
            padding: 0;
            border: 1px solid #2a3a52;
            border-radius: 3px;
            background: rgba(20, 28, 46, 0.65);
            color: #c8d4e8;
            cursor: pointer;
            transition: border-color 0.15s ease, color 0.15s ease;
        }

        .site-header-menu-btn:hover {
            border-color: rgba(245, 197, 24, 0.45);
            color: #f5c518;
        }

        .site-nav {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            padding: 0.3rem 0.45rem;
            border-radius: 4px;
            border: 1px solid #2a3a52;
            background: rgba(8, 12, 22, 0.55);
        }

        .site-nav-group {
            display: flex;
            align-items: center;
            gap: 0.15rem;
            flex-wrap: wrap;
        }

        .site-nav-kicker {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.56rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #6b7d96;
            padding: 0 0.35rem 0 0.2rem;
        }

        .site-nav-sep {
            width: 1px;
            align-self: stretch;
            min-height: 1.5rem;
            background: #2a3a52;
            flex-shrink: 0;
        }

        .site-nav-link {
            display: inline-flex;
            align-items: center;
            padding: 0.35rem 0.65rem;
            border-radius: 3px;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: #b8c6dc;
            text-decoration: none;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .site-nav-link:hover,
        .site-nav-link:focus-visible {
            background: rgba(245, 197, 24, 0.1);
            color: #f5c518;
        }

        .site-nav-link--route {
            color: #9aabc4;
        }

        .site-mobile-nav {
            border-top: 1px solid #2a3a52;
            background: linear-gradient(180deg, rgba(20, 28, 46, 0.98) 0%, rgba(12, 18, 32, 0.98) 100%);
        }

        .site-mobile-nav-inner {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            padding: 0.85rem 1rem 1rem;
        }

        .site-mobile-nav-label {
            margin: 0.55rem 0 0.15rem;
            padding: 0 0.5rem;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.58rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #6b7d96;
        }

        .site-mobile-nav-label:first-child {
            margin-top: 0;
        }

        .site-mobile-nav-link {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.55rem 0.65rem;
            border-radius: 3px;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.88rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #c8d4e8;
            text-decoration: none;
            background: transparent;
            border: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .site-mobile-nav-link:hover {
            background: rgba(245, 197, 24, 0.08);
            color: #f5c518;
        }

        .site-mobile-nav-link--accent {
            color: #f5c518;
        }

        .site-mobile-nav-footer {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            margin-top: 0.5rem;
            padding-top: 0.55rem;
            border-top: 1px solid #2a3a52;
        }

        /* Departure board panel */
        .board-panel {
            background: linear-gradient(180deg, #1e2a3d 0%, #141c2e 100%);
            border: 1px solid #2a3a52;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.06),
                0 20px 50px -20px rgba(0, 0, 0, 0.55);
        }

        .board-panel--cream {
            background: linear-gradient(180deg, #f8f5ef 0%, #ebe6dc 100%);
            border-color: #c9c2b4;
            color: #1a2438;
        }

        .board-text-glow {
            text-shadow: 0 0 24px rgba(245, 197, 24, 0.35);
        }

        .rail-card {
            background: linear-gradient(145deg, rgba(26, 36, 56, 0.95) 0%, rgba(20, 28, 46, 0.98) 100%);
            border: 1px solid #2a3a52;
            transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
        }

        .rail-card:hover {
            border-color: rgba(245, 197, 24, 0.45);
            transform: translateY(-2px);
            box-shadow: 0 12px 40px -16px rgba(245, 197, 24, 0.12);
        }

        .rail-card--accent {
            border-left: 4px solid #f5c518;
        }

        .service-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.35rem 0.75rem;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            border: 1px solid #2a3a52;
            background: rgba(12, 18, 32, 0.6);
            color: #b8c5d9;
        }

        .service-pill--live {
            border-color: rgba(60, 184, 120, 0.4);
            color: #7ee0a8;
        }

        .service-pill--live::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #3cb878;
            box-shadow: 0 0 8px #3cb878;
            animation: blink 2s ease-in-out infinite;
        }

        .service-pill--offline {
            border-color: rgba(248, 113, 113, 0.45);
            color: #fca5a5;
        }

        .service-pill--offline::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #ef4444;
            box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
        }

        .service-pill--loading {
            border-color: #3d4f66;
            color: #9ca3af;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.4;
            }
        }

        .path-timeline {
            position: relative;
            margin-top: 1.25rem;
        }

        .path-timeline-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        .path-timeline-list::before {
            content: '';
            position: absolute;
            left: 1.0625rem;
            top: 1.25rem;
            bottom: 1.25rem;
            width: 2px;
            background: linear-gradient(180deg,
                    rgba(245, 197, 24, 0.9) 0%,
                    rgba(245, 197, 24, 0.5) 55%,
                    rgba(42, 58, 82, 0.8) 100%);
            border-radius: 999px;
            pointer-events: none;
        }

        .path-step {
            display: flex;
            align-items: stretch;
            gap: 0.85rem;
            position: relative;
            z-index: 1;
        }

        .path-step-marker {
            flex-shrink: 0;
            width: 2.125rem;
            height: 2.125rem;
            margin-top: 0.65rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.65rem;
            font-weight: 600;
            color: #f5c518;
            background: #0c1220;
            border: 2px solid #f5c518;
            border-radius: 4px;
            box-shadow: 0 0 12px rgba(245, 197, 24, 0.15);
        }

        .path-step-body {
            flex: 1;
            min-width: 0;
            padding: 0.85rem 1rem;
            background: linear-gradient(135deg, rgba(12, 18, 32, 0.65) 0%, rgba(20, 28, 46, 0.85) 100%);
            border: 1px solid #2a3a52;
            border-radius: 4px;
            transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
        }

        .path-step:hover .path-step-body {
            border-color: rgba(245, 197, 24, 0.35);
            transform: translateX(2px);
        }

        .path-step-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.5rem 0.6rem;
        }

        .path-step-header .path-step-tag {
            margin-left: 0;
        }

        @media (min-width: 400px) {
            .path-step-header .path-step-tag {
                margin-left: auto;
            }
        }

        .path-step-icon {
            width: 1.75rem;
            height: 1.75rem;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 3px;
            background: rgba(245, 197, 24, 0.1);
            border: 1px solid rgba(245, 197, 24, 0.22);
            color: #f5c518;
            font-size: 0.75rem;
        }

        .path-step--final .path-step-marker {
            background: #f5c518;
            color: #0c1220;
            border-color: #ffe066;
            box-shadow: 0 0 18px rgba(245, 197, 24, 0.45);
        }

        .path-step--final .path-step-body {
            border-color: rgba(245, 197, 24, 0.55);
            background: linear-gradient(135deg, rgba(245, 197, 24, 0.12) 0%, rgba(20, 28, 46, 0.9) 100%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .path-step--final .path-step-icon {
            background: rgba(245, 197, 24, 0.25);
            border-color: rgba(245, 197, 24, 0.5);
        }

        .path-step-tag {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #6b7d96;
            padding: 0.15rem 0.4rem;
            border: 1px solid #2a3a52;
            border-radius: 2px;
            flex-shrink: 0;
        }

        .path-step--final .path-step-tag {
            color: #f5c518;
            border-color: rgba(245, 197, 24, 0.4);
            background: rgba(245, 197, 24, 0.08);
        }

        /* Discord community panel */
        .discord-panel {
            border-left: 4px solid #5865f2;
            overflow: hidden;
        }

        .discord-panel-bar {
            height: 3px;
            background: linear-gradient(90deg, #5865f2, #7289da, #5865f2);
        }

        .btn-discord {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            border-radius: 4px;
            background: #5865f2;
            color: #fff;
            transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
        }

        .btn-discord:hover {
            background: #4752c4;
            transform: translateY(-1px);
            box-shadow: 0 8px 24px -8px rgba(88, 101, 242, 0.55);
        }

        /* Roblox optional shifts */
        .roblox-panel {
            border-left: 4px solid #e2231a;
            overflow: hidden;
        }

        .roblox-panel-bar {
            height: 3px;
            background: linear-gradient(90deg, #393b3d, #e2231a, #393b3d);
        }

        .roblox-game-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid #2a3a52;
            border-radius: 4px;
            background: rgba(15, 26, 42, 0.65);
            overflow: hidden;
            transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
        }

        .roblox-game-card:hover {
            border-color: rgba(226, 35, 26, 0.55);
            transform: translateY(-2px);
            box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.55);
        }

        .roblox-game-thumb {
            aspect-ratio: 16 / 9;
            width: 100%;
            object-fit: cover;
            background: #0f1a2a;
        }

        .roblox-game-body {
            padding: 1rem 1.15rem 1.15rem;
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            min-height: 0;
            gap: 0.5rem;
        }

        .roblox-game-desc {
            flex: 1 1 auto;
            margin: 0;
        }

        .roblox-game-cta {
            flex-shrink: 0;
            margin-top: auto;
            padding-top: 0.75rem;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.65rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #e2231a;
        }

        .btn-roblox {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.65rem 1.1rem;
            border-radius: 4px;
            background: #393b3d;
            color: #fff;
            border: 1px solid #5c5f63;
            transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
        }

        .btn-roblox:hover {
            background: #2d2f31;
            border-color: #e2231a;
            transform: translateY(-1px);
        }

        .scr-portal-panel {
            border-left: 4px solid #f5c518;
        }

        .scr-portal-panel-bar {
            height: 3px;
            background: linear-gradient(90deg, transparent, #f5c518, transparent);
        }

        /* Operator livery strip */
        .livery-bar {
            height: 4px;
            border-radius: 999px 999px 0 0;
        }

        .livery-tfw {
            background: linear-gradient(90deg, #c8102e, #c8102e 50%, #fff 50%, #fff);
        }

        .livery-fb {
            background: linear-gradient(90deg, #e4002b, #662d91);
        }

        .livery-rur {
            background: linear-gradient(90deg, #2d6a4f, #95d5b2);
        }

        .livery-metro {
            background: linear-gradient(90deg, #e4002b, #b91c1c);
        }

        .livery-tfi {
            background: linear-gradient(90deg, #169b62 0%, #169b62 30%, #f5f5f5 45%, #ff883e 70%, #ff883e 100%);
        }

        .livery-nr {
            background: linear-gradient(90deg, #f58220, #e35205 55%, #1d1d1b 55%, #1d1d1b);
        }

        .mc-head--sm {
            width: 40px;
            height: 40px;
        }

        .authority-head {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            margin-top: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid #2a3a52;
        }

        /* Org diagram */
        .org-tier {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem;
        }

        .org-node {
            flex: 1 1 140px;
            max-width: 200px;
            text-align: center;
            padding: 1rem 0.75rem;
            background: rgba(12, 18, 32, 0.5);
            border: 1px solid #2a3a52;
            border-radius: 4px;
        }

        .org-node--wide {
            flex: 1 1 200px;
            max-width: 280px;
        }

        .org-node-name {
            font-family: 'Barlow Condensed', system-ui, sans-serif;
            font-size: 0.6875rem;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        @media (min-width: 640px) {
            .org-node-name {
                font-size: 0.8125rem;
            }
        }

        .org-connector {
            width: 2px;
            height: 1.5rem;
            background: #3d4f66;
            margin: 0 auto;
        }

        .faq-details summary {
            list-style: none;
            cursor: pointer;
        }

        .faq-details summary::-webkit-details-marker {
            display: none;
        }

        .faq-chevron {
            transition: transform 0.2s ease;
        }

        .faq-details[open] .faq-chevron {
            transform: rotate(180deg);
        }

        .nav-link {
            position: relative;
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            font-size: 0.9rem;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 2px;
            background: #f5c518;
            transition: width 0.2s ease;
        }

        .nav-link:hover::after,
        .nav-link:focus-visible::after {
            width: 100%;
        }

        .btn-primary {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: #f5c518;
            color: #0c1220;
            transition: background 0.2s ease, transform 0.15s ease;
        }

        .btn-primary:hover {
            background: #ffe066;
            transform: translateY(-1px);
        }

        .btn-secondary {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            border: 1px solid #3d4f66;
            background: transparent;
            color: #d1dae8;
            transition: border-color 0.2s ease, color 0.2s ease;
        }

        .btn-secondary:hover {
            border-color: #f5c518;
            color: #f5c518;
        }

        .nav-portal-btn {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.45rem 0.85rem;
            border-radius: 4px;
            border: 1px solid rgba(245, 197, 24, 0.55);
            background: rgba(245, 197, 24, 0.1);
            color: #f5c518;
            transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
            white-space: nowrap;
        }

        .nav-portal-btn:hover {
            background: rgba(245, 197, 24, 0.2);
            border-color: #f5c518;
            color: #ffe066;
        }

        .connection-tile {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.25rem;
            padding: 1rem 1.15rem;
            text-align: left;
            background: rgba(12, 18, 32, 0.45);
            border: 1px solid #2a3a52;
            border-radius: 4px;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .connection-tile:hover {
            border-color: rgba(245, 197, 24, 0.5);
            background: rgba(245, 197, 24, 0.06);
        }

        .connection-tile .code {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.65rem;
            color: #6b7d96;
            letter-spacing: 0.1em;
        }

        .network-pulse-rows {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }

        .network-pulse-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 0.75rem;
        }

        .network-pulse-label {
            flex-shrink: 0;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.58rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #5a6d88;
        }

        .network-pulse-value {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.72rem;
            color: #c8d4e8;
            text-align: right;
            line-height: 1.35;
        }

        .service-updates-dock {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 95;
            transform: translateY(100%);
            transition: transform 0.25s ease;
            border-top: 1px solid rgba(232, 168, 56, 0.35);
            background: linear-gradient(180deg, rgba(20, 28, 46, 0.97) 0%, rgba(12, 18, 32, 0.98) 100%);
            backdrop-filter: blur(8px);
            box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, 0.55);
        }

        .service-updates-dock.is-visible {
            transform: translateY(0);
        }

        body.has-service-dock {
            padding-bottom: 2.75rem;
        }

        .service-updates-dock-inner {
            max-width: 72rem;
            margin: 0 auto;
            padding: 0.55rem 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        @media (min-width: 640px) {
            .service-updates-dock-inner {
                padding: 0.6rem 1rem;
            }
        }

        .service-updates-dock-main {
            flex: 1;
            min-width: 0;
            display: flex;
            align-items: center;
            gap: 0.45rem;
            text-decoration: none;
            color: inherit;
        }

        .service-updates-dock-main:hover .service-updates-dock-title {
            color: #f5c518;
        }

        .service-updates-dock-icon {
            flex-shrink: 0;
            color: #e8a838;
            font-size: 0.75rem;
        }

        .service-updates-dock-label {
            flex-shrink: 0;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.58rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #e8a838;
        }

        .service-updates-dock-badge {
            flex-shrink: 0;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.52rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            padding: 0.12rem 0.35rem;
            border-radius: 2px;
            border: 1px solid #2a3a52;
        }

        .service-updates-dock-badge--works {
            color: #f5c518;
            border-color: rgba(245, 197, 24, 0.4);
            background: rgba(245, 197, 24, 0.08);
        }

        .service-updates-dock-badge--closed {
            color: #c8d0dc;
            border-color: rgba(92, 107, 127, 0.5);
            background: rgba(92, 107, 127, 0.12);
        }

        .service-updates-dock-badge--alert {
            color: #f87171;
            border-color: rgba(248, 113, 113, 0.4);
        }

        .service-updates-dock-title {
            min-width: 0;
            font-size: 0.78rem;
            color: #c8d4e8;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.15s ease;
        }

        .service-updates-dock-count {
            flex-shrink: 0;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.52rem;
            color: #6b7d96;
        }

        .service-updates-dock-view {
            flex-shrink: 0;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #8fa3bf;
            text-decoration: none;
            padding: 0.25rem 0.5rem;
            border: 1px solid #2a3a52;
            border-radius: 2px;
            transition: border-color 0.15s ease, color 0.15s ease;
        }

        .service-updates-dock-view:hover {
            border-color: #f5c518;
            color: #f5c518;
        }

        .service-updates-dock-dismiss {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 1.65rem;
            height: 1.65rem;
            padding: 0;
            border: 1px solid #2a3a52;
            border-radius: 2px;
            background: transparent;
            color: #6b7d96;
            cursor: pointer;
            transition: border-color 0.15s ease, color 0.15s ease;
        }

        .service-updates-dock-dismiss:hover {
            border-color: #8fa3bf;
            color: #c8d4e8;
        }

        @media (max-width: 479px) {
            .service-updates-dock-label {
                display: none;
            }
        }

        .network-pulse-footer .network-pulse-live {
            color: #8fd4a8;
        }

        .operator-lead {
            border-top: 1px solid #2a3a52;
            padding-top: 1.25rem;
            margin-top: 1.25rem;
        }

        .staff-card {
            display: flex;
            flex-direction: column;
            padding: 1.25rem;
            height: 100%;
        }

        .staff-card .staff-icon {
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            background: rgba(245, 197, 24, 0.1);
            border: 1px solid rgba(245, 197, 24, 0.25);
            color: #f5c518;
            font-size: 0.9rem;
            margin: 0 auto 0.75rem;
        }

        .staff-lead {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .staff-nr-btn {
            margin-top: 1rem;
            width: 100%;
        }

        .staff-nr-modal {
            position: fixed;
            inset: 0;
            z-index: 9000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
        }

        .staff-nr-modal[hidden] {
            display: none;
        }

        .staff-nr-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(6, 10, 18, 0.82);
            backdrop-filter: blur(4px);
        }

        .staff-nr-modal-panel {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 28rem;
            padding: 1.5rem;
        }

        .staff-nr-modal-close {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            width: 2.25rem;
            height: 2.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #2a3a52;
            border-radius: 4px;
            background: #0c1220;
            color: #9ca3af;
            transition: border-color 0.15s, color 0.15s;
        }

        .staff-nr-modal-close:hover {
            border-color: #f5c518;
            color: #f5c518;
        }

        body.staff-nr-modal-open,
        body.tff-modal-open {
            overflow: hidden;
        }

        /* Shared dialog (recruitment, etc.) */
        .tff-modal {
            position: fixed;
            inset: 0;
            z-index: 9000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
        }

        .tff-modal[hidden] {
            display: none;
        }

        .tff-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(6, 10, 18, 0.82);
            backdrop-filter: blur(4px);
        }

        .tff-modal-panel {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 32rem;
            max-height: min(90vh, 42rem);
            overflow-x: hidden;
            overflow-y: auto;
            padding: 1.5rem;
            box-sizing: border-box;
        }

        .tff-modal-panel--wide {
            max-width: 36rem;
        }

        /* Recruitment modal — vertical scroll only; compact when fewer than 4 roles */
        .recruitment-modal-panel {
            display: flex;
            flex-direction: column;
            max-height: min(92vh, 56rem);
            overflow: hidden;
            overflow-x: hidden;
            padding: 1.25rem 1.35rem 1.35rem;
        }

        .recruitment-modal-panel:not(.recruitment-modal--compact) {
            overflow: hidden;
            overflow-x: hidden;
        }

        .recruitment-modal-panel:not(.recruitment-modal--compact) .recruitment-modal-body {
            overflow-y: auto;
            overscroll-behavior: contain;
        }

        .recruitment-modal-panel.recruitment-modal--compact {
            max-height: min(92vh, 56rem);
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior-x: none;
        }

        .recruitment-modal-header,
        .recruitment-modal-footer {
            flex-shrink: 0;
        }

        .recruitment-modal-body {
            flex: 1 1 auto;
            min-height: 0;
            min-width: 0;
            overflow-x: hidden;
            overflow-y: auto;
            margin-top: 1rem;
        }

        .recruitment-modal--compact .recruitment-modal-body {
            overflow-y: visible;
            flex: 0 0 auto;
        }

        .recruitment-modal-footer {
            margin-top: 1rem;
            padding-top: 0.25rem;
            min-width: 0;
            max-width: 100%;
        }

        .recruitment-modal-footer .btn-discord {
            max-width: 100%;
            box-sizing: border-box;
        }

        .recruitment-modal-header {
            min-width: 0;
            max-width: 100%;
            overflow-wrap: break-word;
        }

        .tff-modal-close {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            width: 2.25rem;
            height: 2.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #2a3a52;
            border-radius: 4px;
            background: #0c1220;
            color: #9ca3af;
            transition: border-color 0.15s, color 0.15s;
        }

        .tff-modal-close:hover {
            border-color: #f5c518;
            color: #f5c518;
        }

        .recruitment-banner {
            border: 1px solid rgba(245, 197, 24, 0.35);
            background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(12, 18, 32, 0.4) 100%);
            padding: 1.25rem 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .recruitment-banner {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        .recruitment-roles {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            min-width: 0;
            max-width: 100%;
        }

        .recruitment-modal--compact .recruitment-roles {
            gap: 0.45rem;
        }

        .recruitment-role {
            border: 1px solid #2a3a52;
            border-radius: 4px;
            padding: 0.7rem 0.85rem;
            background: rgba(12, 18, 32, 0.5);
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }

        .recruitment-modal--compact .recruitment-role {
            padding: 0.6rem 0.75rem;
        }

        .recruitment-role--open {
            border-color: rgba(245, 197, 24, 0.4);
        }

        .recruitment-role--closed {
            opacity: 0.72;
        }

        .recruitment-role-head {
            display: flex;
            gap: 0.65rem;
            align-items: flex-start;
            min-width: 0;
            max-width: 100%;
        }

        .recruitment-role-copy {
            flex: 1 1 auto;
            min-width: 0;
            max-width: 100%;
        }

        .recruitment-role-title-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.35rem 0.5rem;
        }

        .recruitment-role-icon {
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(245, 197, 24, 0.12);
            border-radius: 4px;
            color: #f5c518;
            flex-shrink: 0;
        }

        .recruitment-role--closed .recruitment-role-icon {
            background: rgba(61, 79, 102, 0.35);
            color: #6b7f99;
        }

        .recruitment-role-title {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #fff;
            line-height: 1.2;
            min-width: 0;
        }

        .recruitment-modal--compact .recruitment-role-title {
            font-size: 0.9rem;
        }

        .recruitment-role-status {
            font-size: 0.55rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.15rem 0.4rem;
            border-radius: 2px;
            background: rgba(61, 79, 102, 0.5);
            color: #9ca3af;
        }

        .recruitment-role--open .recruitment-role-status {
            background: rgba(245, 197, 24, 0.2);
            color: #f5c518;
        }

        .recruitment-role-summary {
            font-size: 0.78rem;
            color: #9ca3af;
            margin-top: 0.2rem;
            line-height: 1.4;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .recruitment-role-details {
            font-size: 0.72rem;
            color: #6b7f99;
            margin: 0.4rem 0 0;
            line-height: 1.45;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .recruitment-modal--compact .recruitment-role-summary {
            font-size: 0.74rem;
            line-height: 1.35;
        }

        .recruitment-modal--compact .recruitment-role-details {
            font-size: 0.68rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
        }

        .recruitment-unpaid {
            font-family: 'IBM Plex Mono', ui-monospace, monospace;
            font-size: 0.65rem;
            letter-spacing: 0.04em;
            color: #8fa3bf;
            margin-top: 0.75rem;
            padding-top: 0.65rem;
            border-top: 1px solid #2a3a52;
            overflow-wrap: break-word;
        }

        .recruitment-modal--compact .recruitment-unpaid {
            margin-top: 0.6rem;
            padding-top: 0.5rem;
        }

        .mc-head {
            width: 72px;
            height: 72px;
            image-rendering: pixelated;
            border: 2px solid #2a3a52;
            border-radius: 4px;
            background: #0c1220;
            box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.15);
        }

        .mc-head-placeholder {
            width: 72px;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 1.25rem;
            font-weight: 600;
            color: #3d4f66;
            border: 2px dashed #2a3a52;
            border-radius: 4px;
            background: rgba(12, 18, 32, 0.8);
        }

        .authority-row {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid #2a3a52;
        }

        .authority-row:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .authority-row:first-child {
            padding-top: 0;
        }

        /* Network showcase */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }

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

        .stat-card {
            background: linear-gradient(180deg, #1e2a3d 0%, #141c2e 100%);
            border: 1px solid #2a3a52;
            border-radius: 4px;
            padding: 1rem 1.1rem;
            text-align: center;
        }

        .stat-card-value {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 2rem;
            font-weight: 800;
            line-height: 1;
            color: #f5c518;
        }

        .stat-card-value--live {
            color: #7ee0a8;
        }

        .stat-card-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #6b7d96;
            margin-top: 0.45rem;
        }

        .featured-build {
            display: grid;
            gap: 0;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .featured-build {
                grid-template-columns: 1.1fr 1fr;
            }
        }

        .featured-build-media {
            aspect-ratio: 16 / 10;
            background: #0f1a2a;
            min-height: 12rem;
        }

        .featured-build-media .tff-watermark-wrap,
        .featured-build-media .tff-watermark-wrap > img {
            width: 100%;
            height: 100%;
        }

        .featured-build-media .tff-watermark-wrap > img {
            object-fit: cover;
        }

        .featured-build-body {
            padding: 1.25rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .build-status {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.2rem 0.5rem;
            border-radius: 2px;
            border: 1px solid;
            width: fit-content;
        }

        .build-status--operational {
            color: #7ee0a8;
            border-color: rgba(60, 184, 120, 0.45);
            background: rgba(60, 184, 120, 0.1);
        }

        .build-status--construction {
            color: #f5c518;
            border-color: rgba(245, 197, 24, 0.45);
            background: rgba(245, 197, 24, 0.1);
        }

        .build-status--approved {
            color: #93c5fd;
            border-color: rgba(147, 197, 253, 0.45);
            background: rgba(147, 197, 253, 0.08);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 1rem;
        }

        .gallery-carousel {
            position: relative;
            width: 100%;
        }

        .gallery-carousel-viewport {
            position: relative;
            overflow: hidden;
            width: 100%;
            background: #0f1a2a;
        }

        .gallery-carousel-track {
            position: relative;
            aspect-ratio: 16 / 9;
            width: 100%;
        }

        .gallery-carousel-slide {
            position: absolute;
            inset: 0;
            margin: 0;
            opacity: 0;
            transition: opacity 0.7s ease;
            pointer-events: none;
            z-index: 0;
        }

        .gallery-carousel-slide.is-active {
            opacity: 1;
            pointer-events: auto;
            z-index: 1;
        }

        .gallery-carousel-photo {
            display: block;
            width: 100%;
            height: 100%;
            border: none;
            padding: 0;
            background: transparent;
            cursor: pointer;
        }

        .gallery-carousel-slide .tff-watermark-wrap,
        .gallery-carousel-slide .tff-watermark-wrap > img {
            width: 100%;
            height: 100%;
        }

        .gallery-carousel-slide .tff-watermark-wrap > img {
            object-fit: cover;
        }

        .gallery-carousel-shade {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            background: linear-gradient(
                180deg,
                transparent 45%,
                rgba(12, 18, 32, 0.35) 70%,
                rgba(12, 18, 32, 0.88) 100%
            );
        }

        .gallery-carousel-caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            padding: 1.25rem 1.25rem 1rem;
            pointer-events: none;
        }

        .gallery-carousel-operator {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #f5c518;
        }

        .gallery-carousel-title {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: clamp(1.05rem, 2.5vw, 1.35rem);
            font-weight: 700;
            line-height: 1.2;
            color: #fff;
            text-transform: uppercase;
            margin-top: 0.25rem;
        }

        .gallery-carousel-nav {
            position: absolute;
            inset: 0;
            z-index: 4;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.5rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .gallery-carousel-viewport:hover .gallery-carousel-nav,
        .gallery-carousel-viewport:focus-within .gallery-carousel-nav {
            opacity: 1;
        }

        .gallery-carousel-btn {
            pointer-events: auto;
            width: 2.25rem;
            height: 2.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            border-radius: 999px;
            background: rgba(12, 18, 32, 0.55);
            color: #f5c518;
            backdrop-filter: blur(4px);
            transition: background 0.15s ease, color 0.15s ease;
        }

        .gallery-carousel-btn:hover {
            background: rgba(245, 197, 24, 0.2);
            color: #fff;
        }

        .gallery-carousel-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 0.65rem;
        }

        .gallery-carousel-progress {
            flex: 1;
            height: 2px;
            background: #2a3a52;
            border-radius: 999px;
            overflow: hidden;
        }

        .gallery-carousel-progress-fill {
            display: block;
            height: 100%;
            width: 0;
            background: #f5c518;
            border-radius: inherit;
        }

        .gallery-carousel-progress-fill.is-animating {
            animation: gallery-progress linear forwards;
        }

        @keyframes gallery-progress {
            from {
                width: 0;
            }

            to {
                width: 100%;
            }
        }

        .gallery-carousel-count {
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #6b7d96;
            flex-shrink: 0;
        }

        @media (prefers-reduced-motion: reduce) {
            .gallery-carousel-slide {
                transition: none;
            }

            .gallery-carousel-nav {
                opacity: 1;
            }

            .gallery-carousel-progress-fill.is-animating {
                animation: none;
                width: 100%;
            }
        }

        .gallery-item {
            border: 1px solid #2a3a52;
            border-radius: 4px;
            overflow: visible;
            background: #141c2e;
            transition: border-color 0.2s ease;
            min-width: 0;
        }

        .gallery-item:hover {
            border-color: rgba(245, 197, 24, 0.45);
        }

        .gallery-photo-btn {
            display: block;
            width: 100%;
            overflow: hidden;
            border-radius: 3px 3px 0 0;
        }

        .gallery-item .tff-watermark-wrap {
            aspect-ratio: 16 / 9;
            background: #0f1a2a;
        }

        .gallery-item .tff-watermark-wrap > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-item-caption {
            padding: 0.75rem 1rem;
            overflow: visible;
        }

        .gallery-item-operator {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.6rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #f5c518;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }

        .gallery-item-title {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            text-transform: uppercase;
            margin-top: 0.2rem;
            line-height: 1.3;
            white-space: normal;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .gallery-all-modal {
            position: fixed;
            inset: 0;
            z-index: 9000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem;
        }

        .gallery-all-modal[hidden] {
            display: none;
        }

        .gallery-all-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(6, 10, 18, 0.88);
            backdrop-filter: blur(4px);
        }

        .gallery-all-modal-panel {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 64rem;
            max-height: min(88dvh, 900px);
            padding: 1.5rem 1.75rem 1.75rem;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            margin: auto;
        }

        .gallery-all-modal-close {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            width: 2.25rem;
            height: 2.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #2a3a52;
            border-radius: 4px;
            background: #0c1220;
            color: #9ca3af;
            transition: border-color 0.15s, color 0.15s;
        }

        .gallery-all-modal-close:hover {
            border-color: #f5c518;
            color: #f5c518;
        }

        .gallery-all-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1rem;
            overflow-y: auto;
            flex: 1;
            min-height: 0;
            padding: 0.15rem 0.35rem 0.15rem 0;
        }

        .gallery-all-grid .gallery-item {
            min-width: 0;
        }

        .gallery-all-grid .gallery-item-caption {
            padding: 0.85rem 1.1rem 1rem;
        }

        .gallery-all-grid .gallery-item-title {
            font-size: 0.9rem;
        }

        body.gallery-all-modal-open,
        body.showcase-lightbox-open {
            overflow: hidden;
        }

        .showcase-lightbox {
            position: fixed;
            inset: 0;
            z-index: 9100;
            background: rgba(12, 18, 32, 0.92);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }

        .showcase-lightbox.is-open {
            display: flex;
        }

        .showcase-lightbox-inner {
            max-width: min(1100px, 100%);
            width: 100%;
        }

        .showcase-lightbox-inner .tff-watermark-wrap > img {
            max-height: 75vh;
            width: 100%;
            object-fit: contain;
            background: #0f1a2a;
            border: 1px solid #2a3a52;
            border-radius: 4px;
        }

        .showcase-lightbox-caption {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.9rem;
            color: #b8c5d9;
        }

        .showcase-lightbox-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 2.5rem;
            height: 2.5rem;
            border: 1px solid #2a3a52;
            border-radius: 4px;
            background: #141c2e;
            color: #f5c518;
            font-size: 1.25rem;
            cursor: pointer;
        }

        .showcase-lightbox-close:hover {
            border-color: #f5c518;
        }

        /* Service updates ticker */
        .network-news-ticker {
            display: flex;
            align-items: stretch;
            gap: 0;
            background: #141c2e;
            border-bottom: 1px solid #2a3a52;
            min-height: 2.25rem;
        }

        .network-news-ticker-label {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            padding: 0 0.85rem;
            font-size: 0.6rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #0c1220;
            background: #f5c518;
        }

        .network-news-ticker-viewport {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .network-news-ticker-track {
            display: flex;
            align-items: center;
            min-width: 100%;
        }

        .network-news-ticker-run {
            display: inline-flex;
            align-items: center;
            gap: 1.75rem;
            padding: 0.45rem 0;
            white-space: nowrap;
            animation: network-news-scroll 42s linear infinite;
        }

        .network-news-ticker--static .network-news-ticker-track {
            flex-wrap: wrap;
            gap: 0.5rem 1.25rem;
            padding: 0.5rem 1rem;
        }

        .network-news-item {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-family: 'IBM Plex Mono', ui-monospace, monospace;
            font-size: 0.7rem;
            letter-spacing: 0.02em;
            color: #b8c5d6;
        }

        .network-news-item--good {
            color: #8fd4a8;
        }

        .network-news-item--works {
            color: #e8c06a;
        }

        .network-news-item--alert {
            color: #f0a0a0;
        }

        .network-news-item i {
            font-size: 0.65rem;
            opacity: 0.9;
        }

        .network-news-sep {
            color: #3d4f66;
            font-size: 0.45rem;
            user-select: none;
        }

        @keyframes network-news-scroll {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-50%);
            }
        }

        @media (prefers-reduced-motion: reduce) {

            .service-pill--live::before,
            [data-aos],
            .network-news-ticker-run {
                animation: none !important;
                transition: none !important;
            }
        }