:root { --site-mode-row-height: 64px; --site-mode-visible-rows: 3; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #0b3a6f; color: #fff; }
.site-mode-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.site-mode-wrapper { display: flex; align-items: center; width: min(620px, calc(100vw - 50px)); }
.site-mode-side { flex: 0 0 150px; display: flex; justify-content: flex-end; padding-right: 28px; }
.site-mode-line { width: 2px; height: 72vh; max-height: 690px; min-height: 500px; background: rgba(255,255,255,.85); flex: 0 0 2px; }
.site-mode-content { width: 260px; margin-left: 28px; }
.site-mode-vertical { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 54px; font-weight: 800; letter-spacing: 4px; line-height: 1; }
.site-mode-content h1 { margin: 0 0 14px; font-size: 39px; line-height: 1.06; }
.site-mode-content h2 { margin: 0 0 24px; font-size: 22px; line-height: 1.15; font-weight: 400; }
.site-mode-multiline { white-space: pre-line; }
.site-mode-status { margin-bottom: 24px; font-style: italic; font-size: 15px; }
.site-mode-divider { height: 1px; width: 100%; background: rgba(255,255,255,.22); margin: 0 0 24px; }
.site-mode-fixed-language, .site-mode-row { font-size: 13px; line-height: 1.15; }
.site-mode-fixed-language { margin-bottom: 10px; }
.site-mode-code { font-size: 10px; font-weight: 800; margin-right: 6px; letter-spacing: .4px; }
.site-mode-elevator { position: relative; height: calc(var(--site-mode-row-height) * var(--site-mode-visible-rows)); overflow: hidden; margin-top: 10px; }
.site-mode-row { position: absolute; inset-inline: 0; height: var(--site-mode-row-height); overflow: hidden; opacity: 1; transform: translateY(calc(var(--site-mode-floor) * var(--site-mode-row-height))); transition: transform 1400ms cubic-bezier(.4,0,.2,1), opacity 200ms ease; }
.site-mode-row.is-entering { transform: translateY(calc(var(--site-mode-visible-rows) * var(--site-mode-row-height))); opacity: 0; }
.site-mode-row.is-exiting { transform: translateY(calc(-1 * var(--site-mode-row-height))); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .site-mode-row { transition: none; } }
@media (max-width: 720px) { .site-mode-wrapper { width: min(360px, calc(100vw - 40px)); } .site-mode-side, .site-mode-line { display: none; } .site-mode-content { width: 100%; margin-left: 0; } }
