/* ═══ meanwhile.css — MEANWHILE: the Lubyanka at 2 a.m. ═══
   Contract unchanged:
   <div class="meanwhile"><div class="mw-label"><span>MEANWHILE, IN MOSCOW</span><i></i></div><p class="mw-text">…</p></div>
   (the app writes the label: MEANWHILE · IN MOSCOW / IN WASHINGTON / IN BEIJING — and the text, which may be foreign)
   The scene is pure CSS/SVG-in-background: rain over the yellow block of the Lubyanka, a black ZIS-110 sliding past, one window lit with a man's silhouette
   who does not turn his light off. The venetian-blind drift (::before) is kept. Reduced motion: static. */

.meanwhile { position: relative; isolation: isolate; overflow: hidden; margin: 18px -2px; padding: 26px 20px 28px; border-radius: 3px; border-top: 5px solid #000; border-bottom: 5px solid #000; color: #d9cfb8;
  background:
    radial-gradient(60px 42px at 78% 38%, rgba(255, 205, 110, .34), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 220' preserveAspectRatio='xMaxYMax slice'%3E%3Crect width='390' height='220' fill='%2307060a'/%3E%3Cg fill='%2314110f'%3E%3Cpath d='M150 220V54h240v166z'/%3E%3Crect x='140' y='46' width='256' height='10' fill='%231c1814'/%3E%3C/g%3E%3Cg fill='%23251f18'%3E%3Cpath d='M160 66h10v14h-10zM182 66h10v14h-10zM204 66h10v14h-10zM226 66h10v14h-10zM248 66h10v14h-10zM270 66h10v14h-10zM292 66h10v14h-10zM314 66h10v14h-10zM336 66h10v14h-10zM358 66h10v14h-10zM160 94h10v14h-10zM182 94h10v14h-10zM204 94h10v14h-10zM248 94h10v14h-10zM270 94h10v14h-10zM292 94h10v14h-10zM314 94h10v14h-10zM336 94h10v14h-10zM358 94h10v14h-10zM160 122h10v14h-10zM182 122h10v14h-10zM226 122h10v14h-10zM248 122h10v14h-10zM292 122h10v14h-10zM314 122h10v14h-10zM358 122h10v14h-10z'/%3E%3C/g%3E%3Crect x='226' y='94' width='10' height='14' fill='%23f1c46a'/%3E%3Cpath d='M228 108v-7a3 3 0 1 1 6 0v7z' fill='%2307060a'/%3E%3Crect x='0' y='182' width='390' height='38' fill='%230d0b0d'/%3E%3Crect x='0' y='182' width='390' height='2' fill='%23342a1c'/%3E%3C/svg%3E") right bottom / cover no-repeat,
    #08070a;
  box-shadow: inset 0 22px 22px -12px #000, inset 0 -22px 22px -12px #000, 0 12px 30px -16px #000; }
/* blinds: slanted light strips drifting slowly across the frame (kept from the Capitol cutaway) */
.meanwhile::before { content: ""; position: absolute; inset: -4% -40px; z-index: 0; pointer-events: none; will-change: transform;
  background: repeating-linear-gradient(168deg, rgba(0, 0, 0, .5) 0 12px, rgba(255, 215, 150, .1) 12px 19px, rgba(0, 0, 0, .5) 19px 34px); animation: mw-drift 8s ease-in-out infinite alternate; }
/* rain streaks + a black ZIS-110 gliding along the street (the pseudo is a single transformed layer) */
.meanwhile::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(#000 0, transparent 20%, transparent 80%, #000 100%), radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .72)),
    repeating-linear-gradient(103deg, transparent 0 9px, rgba(190, 205, 230, .13) 9px 10px, transparent 10px 23px); animation: mw-rain 1.1s linear infinite; background-size: 100% 100%, 100% 100%, 46px 46px; }
.meanwhile .mw-car, .meanwhile > .mw-label::before { content: none; }
.mw-label { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mw-label span { font: 800 11px/1 var(--sans, -apple-system, sans-serif); letter-spacing: .5em; color: #ff4a52; text-shadow: 0 0 10px rgba(255, 74, 82, .5); padding-left: .5em; }
.mw-label i { flex: 1; height: 1px; background: linear-gradient(90deg, #ff4a52, rgba(255, 74, 82, 0)); }
.mw-text { position: relative; z-index: 3; font: italic 17px/1.55 var(--serif, Georgia, serif); color: #d9cfb8; text-shadow: 0 2px 10px #000; letter-spacing: .01em; max-width: 34em; }
/* the black car: draws with the first text node's section as an inline background (so no extra markup is needed) */
.mw-text::after { content: ""; position: absolute; left: -90px; bottom: -22px; width: 74px; height: 22px; z-index: 4; opacity: .95; animation: mw-car 9s linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 22'%3E%3Cpath d='M2 17c0-4 3-5 8-6l8-5h26l10 5c7 1 12 2 14 6v3H2z' fill='%23050405'/%3E%3Cpath d='M20 7h12v5H14zM34 7h10l7 5H34z' fill='%232a3038'/%3E%3Ccircle cx='17' cy='19' r='4' fill='%23050405'/%3E%3Ccircle cx='57' cy='19' r='4' fill='%23050405'/%3E%3Cpath d='M70 15l4-2' stroke='%23ffe9a8' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat center / contain; filter: drop-shadow(8px 0 10px rgba(255, 230, 160, .35)); }
@keyframes mw-drift { from { transform: translateX(-34px); } to { transform: translateX(34px); } }
@keyframes mw-rain { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, -12px 46px; } }
@keyframes mw-car { 0% { transform: translateX(0); } 100% { transform: translateX(520px); } }

@media (prefers-reduced-motion: reduce) { .meanwhile::before, .meanwhile::after, .mw-text::after { animation: none; } .mw-text::after { left: 55%; } }
