:root {
  --bg: #101112;
  --surface: #17191a;
  --surface-soft: #1d2021;
  --line: #343638;
  --line-soft: rgba(255, 255, 255, .09);
  --text: #f1f0ed;
  --muted: #a0a2a2;
  --subtle: #6f7373;
  --accent: #8d3e46;
  --accent-bright: #b7626b;
  --accent-soft: rgba(141, 62, 70, .16);
  --shadow: 0 18px 50px rgba(0, 0, 0, .26);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; height: auto; margin: 0; overflow-x: hidden; overflow-y: auto; }
body { min-width: 280px; background: radial-gradient(circle at 82% -15%, rgba(141, 62, 70, .12), transparent 30%), var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button, a { font: inherit; }
button { color: inherit; }

.app-shell { width: 100vw; height: auto; min-height: 100dvh; padding: clamp(18px, 3.4vh, 42px) clamp(20px, 4.2vw, 76px) clamp(14px, 2.8vh, 32px); display: grid; grid-template-rows: 1fr; overflow: visible; }
.site-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.brand-lockup { min-width: 0; }
.eyebrow, .section-kicker, .media-type { color: var(--accent-bright); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 7px; font-size: clamp(24px, 2.3vw, 39px); line-height: .98; letter-spacing: -.045em; font-weight: 680; }
h1 span { color: var(--muted); font-weight: 400; }
.brand-lockup p { margin-top: 9px; color: var(--muted); font-size: 12px; letter-spacing: .01em; }
.header-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px rgba(183, 98, 107, .11); }
.notice-bar { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 9px 14px; border: 1px solid rgba(141, 62, 70, .45); background: linear-gradient(90deg, rgba(141, 62, 70, .16), rgba(141, 62, 70, .05)); color: #c8c7c3; }
.notice-icon { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--accent-bright); border-radius: 50%; color: var(--accent-bright); font-size: 12px; font-weight: 700; }
.notice-bar p { font-size: 11px; line-height: 1.35; }
.notice-code { margin-left: auto; color: var(--subtle); font-size: 9px; letter-spacing: .16em; white-space: nowrap; }
.content-area { width: min(100%, calc(100dvh - 40px), 620px); aspect-ratio: 1 / 1; min-height: 0; justify-self: center; align-self: center; display: grid; grid-template-rows: auto 1fr; gap: 0; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(255,255,255,.025), rgba(255,255,255,.008)); box-shadow: var(--shadow); overflow: hidden; }
.tab-list { display: flex; min-height: 49px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.1); }
.tab-button { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; border: 0; border-right: 1px solid var(--line-soft); background: transparent; color: var(--subtle); cursor: pointer; font-size: 11px; font-weight: 650; letter-spacing: .04em; transition: background .25s ease, color .25s ease; }
.tab-button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background .25s ease; }
.tab-button:hover, .tab-button:focus-visible { background: rgba(255,255,255,.04); color: var(--text); outline: none; }
.tab-button.is-active { background: var(--accent-soft); color: var(--text); }
.tab-button.is-active::after { background: var(--accent-bright); }
.tab-number { color: var(--accent-bright); font-size: 9px; letter-spacing: .14em; }
.tab-panels { min-height: 0; overflow: hidden; }
.tab-panel[hidden] { display: none; }
.tab-panel { height: 100%; min-height: 0; display: flex; flex-direction: column; padding: clamp(18px, 3.1vh, 34px) clamp(18px, 2.8vw, 46px); overflow: hidden; animation: panel-in .3s ease both; }
#panel-timeline { overflow: visible; }
.content-area:has(#panel-timeline.is-active) { display: block; aspect-ratio: auto; min-height: calc(100dvh - 40px); align-self: start; overflow: visible; }
.content-area:has(#panel-timeline.is-active) .tab-panels { overflow: visible; }
.content-area:has(#panel-timeline.is-active) #panel-timeline { height: auto; min-height: calc(100dvh - 90px); }
.content-area:has(#panel-media.is-active) { display: block; aspect-ratio: auto; min-height: calc(100dvh - 40px); align-self: start; overflow: visible; }
.content-area:has(#panel-media.is-active) .tab-panels { overflow: visible; }
.content-area:has(#panel-media.is-active) #panel-media { height: auto; min-height: calc(100dvh - 90px); overflow: visible; }
.content-area:has(#panel-video.is-active) { display: block; aspect-ratio: auto; min-height: calc(100dvh - 40px); align-self: start; overflow: visible; }
.content-area:has(#panel-video.is-active) .tab-panels { overflow: visible; }
.content-area:has(#panel-video.is-active) #panel-video { height: auto; min-height: calc(100dvh - 90px); overflow: visible; }
@keyframes panel-in { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(16px, 2.5vh, 28px); }
.section-heading h2 { margin-top: 6px; font-size: clamp(20px, 1.9vw, 30px); letter-spacing: -.04em; font-weight: 600; }
.author-tag { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: 6px 8px; border: 1px solid rgba(183, 98, 107, .48); color: var(--accent-bright); font-size: 8px; font-weight: 750; letter-spacing: .15em; white-space: nowrap; }

.profile-card { display: flex; align-items: center; gap: 15px; min-height: 100px; margin: -9px 0 13px; padding: 8px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.018); }
.profile-photo { position: relative; width: 86px; height: 86px; flex: 0 0 86px; padding: 0; border: 1px solid var(--line); background: var(--surface); overflow: hidden; cursor: pointer; }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.88); transition: transform .3s ease, filter .3s ease; }
.profile-photo span { position: absolute; right: 4px; bottom: 3px; padding: 1px 3px; background: rgba(16,17,18,.85); color: var(--accent-bright); font-size: 10px; }
.profile-photo:hover img, .profile-photo:focus-visible img { transform: scale(1.05); filter: saturate(1); }
.profile-photo:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.profile-copy { min-width: 0; }
.profile-kicker { color: var(--accent-bright); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.profile-copy h3 { margin-top: 4px; font-size: clamp(13px, 1.1vw, 17px); line-height: 1.1; font-weight: 650; }
.profile-copy p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.article-box { display: block; flex: 0 0 auto; min-height: 0; margin-bottom: 11px; padding: 10px 12px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.018); overflow: visible; }
.article-label { display: block; margin-bottom: 5px; color: var(--accent-bright); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.article-content h3 { max-width: 100%; margin: 0 0 11px; color: var(--text); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.12; font-weight: 650; }
.article-content h4 { margin: 17px 0 7px; color: var(--text); font-size: clamp(12px, 1vw, 15px); line-height: 1.2; font-weight: 650; }
.article-content p { margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.article-content p:last-child { margin-bottom: 0; }
.article-divider { height: 1px; margin: 5px 0 15px; background: var(--line-soft); }
.article-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.article-highlights span { padding: 5px 6px; border: 1px solid var(--line-soft); color: var(--muted); font-size: 8px; line-height: 1.2; }
.article-highlights b { display: block; margin-bottom: 2px; color: var(--accent-bright); font-size: 7px; letter-spacing: .08em; }
.article-note { margin-top: 10px; padding-top: 7px; border-top: 1px solid var(--line-soft); color: var(--subtle); font-size: 8px; line-height: 1.3; }

/* Хронология */
.timeline-grid { position: relative; display: grid; flex: 1 1 auto; grid-template-columns: repeat(4, 1fr); min-height: 0; }
.timeline-grid::before { content: ""; position: absolute; top: 26px; left: 0; right: 0; border-top: 1px solid var(--line); }
.event-card { position: relative; padding: 0 clamp(12px, 1.6vw, 25px); border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; min-width: 0; }
.event-card:first-child { padding-left: 0; border-left: 0; }
.event-index { position: relative; z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 21px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent-bright); font-size: 10px; font-weight: 700; }
.event-index span { position: absolute; width: 5px; height: 5px; right: -3px; bottom: -3px; background: var(--accent-bright); }
.event-card time, .media-meta time { color: var(--accent-bright); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.event-card h3 { margin: 9px 0 9px; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.15; font-weight: 650; }
.event-card p { max-width: 220px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.text-button { width: max-content; max-width: 100%; margin-top: auto; padding: 9px 0 0; border: 0; border-top: 1px solid var(--line-soft); background: transparent; color: #d3d2ce; cursor: pointer; font-size: 10px; text-align: left; }
.text-button span { margin-left: 5px; color: var(--accent-bright); }
.text-button:hover, .text-button:focus-visible { color: var(--accent-bright); outline: none; }
.panel-footnote { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: var(--subtle); font-size: 10px; }
.panel-footnote span { display: inline-grid; place-items: center; width: 15px; height: 15px; border: 1px solid var(--line); color: var(--muted); }

/* Фотогалерея первой вкладки */
.photo-gallery { display: grid; flex: 1 1 auto; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; min-height: 0; align-items: center; }
.gallery-arrow { width: 30px; height: 48px; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--accent-bright); cursor: pointer; font-size: 28px; line-height: 1; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { border-color: var(--accent-bright); background: var(--accent-soft); color: var(--text); outline: none; }
.gallery-image-button { position: relative; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 1px solid var(--line); background: var(--surface); overflow: hidden; cursor: pointer; text-align: left; }
.gallery-image-button img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #0e0f10; opacity: .92; transition: opacity .35s ease; }
.gallery-image-button:hover img, .gallery-image-button:focus-visible img { opacity: 1; }
.gallery-image-button:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
#panel-timeline .photo-gallery { flex: 0 0 clamp(180px, 25vw, 300px); }
.gallery-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: linear-gradient(transparent, rgba(8,9,10,.92)); }
.gallery-caption strong { padding-top: 8px; color: var(--text); font-size: 11px; font-weight: 650; }
.gallery-caption small { padding-top: 8px; color: var(--accent-bright); font-size: 9px; white-space: nowrap; }
.gallery-caption { display: none; }
.telegram-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; margin-top: 11px; padding: 8px 11px; border: 1px solid rgba(183, 98, 107, .48); background: var(--accent-soft); color: var(--text); text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.telegram-cta:hover, .telegram-cta:focus-visible { border-color: var(--accent-bright); background: rgba(141, 62, 70, .25); outline: none; }
.telegram-cta > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.telegram-cta strong { font-size: 10px; font-weight: 650; }
.telegram-cta small { color: var(--muted); font-size: 9px; }
.telegram-cta > span:last-child { color: var(--accent-bright); font-size: 16px; }

/* Фото и документы */
.media-grid { display: grid; flex: 1 1 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 20px); min-height: 0; align-content: start; }
.media-card { min-width: 0; min-height: 0; display: block; overflow: hidden; }
.media-preview { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; min-height: 0; padding: 0; border: 1px solid var(--line); background: var(--surface); overflow: hidden; cursor: pointer; text-align: left; }
.media-preview img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .4s ease, opacity .4s ease; }
.media-video-preview video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.media-preview:hover img, .media-preview:focus-visible img { transform: scale(1.04); opacity: 1; }
.media-preview:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.video-type-badge { position: absolute; z-index: 4; top: 8px; left: 8px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.3); background: rgba(16,17,18,.8); color: var(--text); font-size: 8px; font-weight: 750; letter-spacing: .08em; line-height: 1; pointer-events: none; }
.preview-action { position: absolute; right: 9px; bottom: 9px; padding: 5px 7px; background: rgba(16,17,18,.86); color: var(--text); font-size: 9px; }
.preview-action span { color: var(--accent-bright); }
.media-meta { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; }
.media-meta h3 { margin-top: 4px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-meta time { padding-top: 13px; font-size: 9px; white-space: nowrap; }
.two-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
.archive-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; overflow: visible; }
.continuation-panel { justify-content: center; }
.continuation-card { position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; border: 1px solid var(--line-soft); background: radial-gradient(circle at 50% 45%, rgba(141,62,70,.2), transparent 44%), rgba(255,255,255,.018); }
.continuation-index { position: absolute; top: 12px; left: 14px; color: var(--accent-bright); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.continuation-card p { color: var(--text); font-size: clamp(22px, 3vw, 42px); font-weight: 650; letter-spacing: -.04em; }
.privacy-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 11px; border: 1px solid var(--line-soft); color: var(--muted); }
.privacy-icon { color: var(--accent-bright); font-size: 19px; line-height: 1; }
.privacy-note p { font-size: 10px; line-height: 1.35; }

/* Видео */
.video-layout { display: grid; flex: 1 1 auto; grid-template-columns: minmax(0, 1.55fr) minmax(230px, .9fr); gap: clamp(18px, 3vw, 46px); min-height: 0; }
.player-column, .video-list { min-height: 0; }
.video-frame { position: relative; height: calc(100% - 45px); min-height: 175px; border: 1px solid var(--line); background: #0b0c0d; overflow: hidden; }
.video-frame video { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; }
.main-media-image { width: 100%; height: 100%; display: block; object-fit: contain; background: #0b0c0d; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .2em; pointer-events: none; }
.video-placeholder strong { color: rgba(255,255,255,.32); font-size: 13px; font-weight: 500; letter-spacing: .03em; }
.video-warning { display: flex; align-items: center; gap: 9px; min-height: 45px; color: var(--muted); }
.video-warning span { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 10px; }
.video-warning p { font-size: 10px; line-height: 1.35; }
.video-list { display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.video-item { display: flex; gap: 11px; min-height: 75px; padding: 9px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease; }
.video-item:hover, .video-item:focus-visible { border-color: var(--accent); outline: none; }
.video-item.is-selected { border-color: var(--accent-bright); background: var(--accent-soft); }
.video-thumb { position: relative; width: 58px; flex: 0 0 58px; display: grid; place-items: center; background: linear-gradient(135deg, #2c2425, #151819); color: var(--accent-bright); font-size: 12px; font-weight: 700; }
.video-thumb-image { overflow: hidden; }
.video-thumb-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-thumb em { position: absolute; right: 5px; bottom: 4px; color: var(--text); font-size: 9px; font-style: normal; }
.video-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.video-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 650; }
.video-copy small { color: var(--accent-bright); font-size: 9px; }
.video-copy b { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.25; }

/* Футер */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--subtle); }
.site-footer > p { max-width: 465px; font-size: 9px; line-height: 1.4; }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-link { padding: 4px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #b2b3b1; cursor: pointer; font-size: 9px; }
.footer-link span { margin-left: 4px; color: var(--accent-bright); }
.footer-link:hover, .footer-link:focus-visible { color: var(--text); border-color: var(--accent-bright); outline: none; }

/* Модальные окна */
.modal-backdrop[hidden] { display: none; }
.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(5,6,7,.82); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(620px, 100%); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid var(--line); background: #1a1c1d; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.modal-card h2 { margin: 7px 0 18px; font-size: 23px; letter-spacing: -.035em; }
.modal-close { position: absolute; top: 10px; right: 13px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 25px; line-height: 1; }
.modal-close:hover, .modal-close:focus-visible { color: var(--text); outline: none; }
.modal-image-wrap { max-height: calc(100dvh - 160px); border: 1px solid var(--line-soft); background: #101112; overflow: auto; text-align: center; }
.modal-image-wrap img { display: block; max-width: 100%; max-height: calc(100dvh - 165px); margin: auto; object-fit: contain; }
.media-modal-card { width: min(900px, 100%); padding: 16px; }
.media-modal-wrap { width: 100%; max-height: calc(100dvh - 70px); border: 1px solid var(--line-soft); background: #0b0c0d; overflow: hidden; }
.media-modal-wrap video { display: block; width: 100%; max-height: calc(100dvh - 72px); }
.contact-modal { width: min(470px, 100%); }
.contact-modal p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.contact-email { margin: -6px 0 17px !important; }
.contact-email a { color: var(--accent-bright); text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }
.contact-modal .author-tag { margin-top: 20px; }
@media (max-width: 800px) {
  .app-shell { min-height: 500px; padding: 15px 16px 12px; gap: 11px; }
  .header-status { font-size: 8px; }
  .notice-bar { min-height: 38px; padding: 7px 10px; }
  .notice-code { display: none; }
  .tab-button { padding: 0 13px; font-size: 10px; }
  .tab-panel { padding: 16px 17px; }
  .section-heading { margin-bottom: 15px; }
  .author-tag { font-size: 7px; }
  .timeline-grid { height: auto; }
  .event-card { padding: 0 10px; }
  .event-card p { font-size: 10px; }
  .event-card h3 { font-size: 13px; }
  .video-layout { grid-template-columns: minmax(0, 1.25fr) minmax(190px, .9fr); gap: 15px; }
  .video-item { min-height: 68px; padding: 7px; gap: 8px; }
  .video-thumb { width: 45px; flex-basis: 45px; }
}

@media (max-width: 560px) {
  .app-shell { min-height: 540px; }
  h1 { font-size: 24px; }
  .brand-lockup p { margin-top: 6px; font-size: 10px; }
  .header-status { max-width: 125px; }
  .notice-bar p { font-size: 9px; }
  .tab-button { flex: 1; justify-content: center; gap: 5px; padding: 0 5px; font-size: 9px; letter-spacing: 0; }
  .tab-number { display: none; }
  .section-heading h2 { font-size: 15px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 7px; }
  .tab-panel { padding: 9px 10px 7px; }
  .profile-card { min-height: 48px; gap: 7px; margin: -3px 0 5px; padding: 4px; }
  .profile-photo { width: 44px; height: 44px; flex-basis: 44px; }
  .profile-copy h3 { margin-top: 1px; font-size: 9px; }
  .profile-copy p { margin-top: 1px; font-size: 7px; }
  .article-box { flex: 0 0 auto; min-height: 0; margin-bottom: 5px; padding: 5px 7px; }
  .article-label { margin-bottom: 3px; font-size: 6px; }
  .article-content h3 { margin-bottom: 7px; font-size: 12px; }
  .article-content h4 { margin: 12px 0 4px; font-size: 9px; }
  .article-content p { margin-bottom: 8px; font-size: 8px; line-height: 1.3; }
  .article-divider { margin: 3px 0 9px; }
  .photo-gallery { flex: 0 0 55px; min-height: 55px; }
  .timeline-grid { height: auto; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .timeline-grid::before { top: 26px; left: 0; right: 0; }
  .event-card, .event-card:first-child { padding: 0 9px; border-left: 1px solid var(--line-soft); }
  .event-card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .event-index { width: 23px; height: 23px; margin-bottom: 5px; font-size: 9px; }
  .event-card time { font-size: 7px; }
  .event-card h3 { margin: 3px 0 2px; font-size: 9px; line-height: 1.05; }
  .event-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; font-size: 7px; line-height: 1.1; }
  .text-button { padding-top: 3px; font-size: 7px; }
  .panel-footnote { margin-top: 3px; font-size: 6px; line-height: 1.1; }
  .panel-footnote span { width: 12px; height: 12px; }
  .media-grid { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .two-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; max-height: none; overflow: visible; }
  .archive-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; max-height: none; overflow: visible; }
  .video-type-badge { top: 5px; left: 5px; padding: 4px 5px; font-size: 5px; }
  .photo-gallery { gap: 4px; }
  .gallery-arrow { width: 23px; height: 40px; font-size: 22px; }
  .gallery-caption { padding: 5px 6px; }
  .gallery-caption strong { padding-top: 7px; font-size: 8px; }
  .gallery-caption small { padding-top: 7px; font-size: 7px; }
  #panel-timeline .photo-gallery { flex-basis: 150px; min-height: 150px; }
  .telegram-cta { min-height: 28px; margin-top: 4px; padding: 4px 7px; }
  .telegram-cta strong { font-size: 8px; }
  .telegram-cta small { font-size: 7px; }
  .telegram-cta > span:last-child { font-size: 13px; }
  .media-meta { padding-top: 5px; }
  .media-meta h3 { font-size: 10px; }
  .media-meta time { padding-top: 10px; font-size: 8px; }
  .privacy-note { margin-top: 8px; padding: 6px 8px; }
  .privacy-note p { font-size: 8px; }
  .video-layout { display: flex; flex-direction: column; height: auto; gap: 8px; }
  .player-column { flex: 1 1 58%; }
  .video-frame { min-height: 130px; height: calc(100% - 35px); }
  .video-warning { min-height: 35px; }
  .video-warning p { font-size: 8px; }
  .video-list { flex: 1 1 42%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; overflow: auto; align-content: start; }
  .video-item { min-width: 0; display: block; padding: 5px; }
  .video-thumb { width: 100%; height: 27px; margin-bottom: 5px; }
  .video-copy { gap: 2px; }
  .video-copy strong { font-size: 9px; }
  .video-copy small, .video-copy b { font-size: 7px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .site-footer > p { max-width: none; font-size: 8px; }
  .footer-actions { width: 100%; justify-content: space-between; gap: 5px; }
  .footer-link { font-size: 8px; }
  .modal-card { padding: 19px; }
}

@media (max-height: 650px) and (min-width: 561px) {
  .app-shell { padding-top: 14px; padding-bottom: 10px; gap: 9px; }
  .brand-lockup p { margin-top: 5px; }
  .notice-bar { min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
  .tab-list { min-height: 42px; }
  .tab-panel { padding-top: 13px; padding-bottom: 11px; }
  .section-heading { margin-bottom: 11px; }
  .timeline-grid { min-height: 170px; }
  .event-index { margin-bottom: 14px; }
  .event-card p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
