/* 一年一张 —— 简洁明亮 */
:root {
  --paper: #FFFFFF;
  --ground: #F7F7F4;
  --well: #ECEAE4;
  --line: #E4E2DB;
  --ink: #1A1A1A;
  --ink-2: #4A4944;
  --muted: #6B6A64;
  --accent: #B8400B;
  --accent-ink: #8A2F06;
  --accent-soft: #FBE9DD;
  --ok: #2F6B4F;
  --ok-soft: #EEF5F0;
  --num: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

/* 按钮 */
.btn { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid #D6D3CA; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500; }
.btn.dark:hover { background: #333; }
.btn.accent { border-color: var(--accent); color: var(--accent-ink); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 18px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--ground); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* 表单 */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); }
.input { min-height: 48px; padding: 10px 14px; border: 1px solid #D6D3CA; border-radius: 8px; background: var(--paper); font-size: 16px; width: 100%; }
.input:focus { border-color: var(--ink); outline: none; }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.7; }
.hint { font-size: 13px; color: var(--muted); }
.err { color: var(--accent-ink); font-size: 14px; min-height: 1em; }

/* 开关 */
.switch { width: 52px; height: 30px; border-radius: 15px; border: none; padding: 3px; background: #CFCCC3; display: inline-flex; flex-shrink: 0; transition: background .2s; }
.switch::after { content: ""; width: 24px; height: 24px; border-radius: 12px; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.switch-row { display: flex; align-items: center; gap: 12px; }

/* 状态标签 */
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; border: 1px solid var(--line); background: var(--ground); color: var(--muted); white-space: nowrap; }
.pill.on { border-color: #B9D3C4; background: var(--ok-soft); color: #1F4D38; }
.pill.main { background: var(--paper); color: var(--ink); border-color: transparent; font-weight: 500; }
.pill.warn { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }

/* 入口 */
.gate { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: var(--pad); background: var(--paper); }
.gate-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 22px; }
.gate-title { font-family: var(--serif); font-weight: 900; font-size: clamp(44px, 12vw, 64px); letter-spacing: 4px; line-height: 1.1; margin: 0; }
.gate-sub { color: var(--muted); margin: -12px 0 12px; }
.pin { letter-spacing: 12px; font-family: var(--num); font-size: 22px; }

/* 顶栏 */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; height: 68px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.brand b { font-family: var(--serif); font-weight: 900; font-size: 22px; letter-spacing: 2px; white-space: nowrap; }
.brand span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top nav { display: flex; align-items: center; gap: 8px; }
.avatar { width: 44px; height: 44px; border-radius: 22px; border: none; background: var(--well); font-weight: 700; font-size: 15px; display: grid; place-items: center; flex-shrink: 0; }
.menu { position: absolute; right: var(--pad); top: 62px; width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(26,26,26,.12); padding: 8px; display: flex; flex-direction: column; }
.menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.menu .who small { color: var(--muted); }
.menu button, .menu a { min-height: 44px; padding: 0 12px; border: none; background: none; text-align: left; border-radius: 6px; display: flex; align-items: center; font-size: 15px; }
.menu button:hover, .menu a:hover { background: var(--ground); }

/* 首页开场 */
.hero { padding: clamp(72px, 12vw, 140px) var(--pad) clamp(56px, 8vw, 96px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero-range { font-family: var(--num); font-size: 20px; color: var(--accent); letter-spacing: 2px; }
.hero h1 { margin: 18px 0 22px; font-family: var(--serif); font-weight: 900; font-size: clamp(52px, 10vw, 120px); line-height: 1.08; letter-spacing: .06em; white-space: pre-line; }
.hero p { margin: 0; max-width: 34em; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.9; color: var(--ink-2); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); writing-mode: vertical-rl; letter-spacing: 4px; }
.scroll-cue i { display: block; width: 1px; height: 64px; background: var(--ink); transform-origin: top; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 年轮 */
.rail { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.rail.show { opacity: 1; pointer-events: auto; }
.rail a { font-family: var(--num); font-size: 15px; color: #A3A199; padding: 4px 8px; text-align: right; transition: color .2s, font-size .2s; }
.rail a.on { color: var(--accent); font-size: 22px; }
.years { padding: 24px calc(var(--pad) + 72px) 0 var(--pad); display: flex; flex-direction: column; gap: clamp(96px, 14vw, 180px); }
.yr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; align-items: end; }
.yr-num { position: relative; z-index: 2; font-family: var(--num); font-weight: 400; font-size: clamp(110px, 17vw, 240px); line-height: .8; letter-spacing: -.04em; margin: 0 0 10px; will-change: transform; }
.yr-frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--well); }
.yr-frame img, .yr-frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.yr.in .yr-frame img, .yr.in .yr-frame video { transform: scale(1); }
.yr-frame .pill { position: absolute; left: 16px; top: 16px; }
.yr-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; text-align: center; padding: 20px; }
.yr-meta { display: flex; flex-direction: column; gap: 16px; }
.yr-cap { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.6; }
.yr-sub { font-size: 14px; color: var(--muted); }
.yr-go { font-size: 16px; font-weight: 500; color: var(--accent-ink); align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; line-height: 1.2; min-height: 0; padding: 10px 0 4px; }
/* 第一年：满幅 */
.yr.lead .yr-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.yr.lead .yr-frame { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.yr.lead .yr-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
/* 其他年份：左右交错 */
.yr.alt .yr-frame { grid-column: span 7; aspect-ratio: 4 / 3; }
.yr.alt .yr-meta { grid-column: span 5; }
.yr.alt.flip .yr-frame { order: 2; }
.yr.alt.flip .yr-meta { order: 1; align-items: flex-end; text-align: right; }
.yr.alt.flip .yr-go { align-self: flex-end; }
/* 渐入 */
.yr .yr-meta, .yr .yr-head { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.yr.in .yr-meta, .yr.in .yr-head { opacity: 1; transform: none; }

/* 快放入口 */
.reel { margin: clamp(120px, 14vw, 180px) var(--pad) 0; padding: clamp(32px, 5vw, 56px); border-radius: 6px; background: var(--ink); color: #FAFAF7; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.reel h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); letter-spacing: 2px; }
.reel p { margin: 0; color: #C9C7BF; }
.reel .play { width: 96px; height: 96px; border-radius: 48px; border: none; background: #FAFAF7; color: var(--ink); display: grid; place-items: center; }
.foot { padding: 56px var(--pad) 64px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot button { border: none; background: none; color: var(--accent-ink); padding: 0; min-height: 44px; }

.empty { padding: 80px var(--pad); text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* 年份详情 */
.yd-head { padding: 48px var(--pad) 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.yd-title { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.yd-title .yr-num { font-size: clamp(96px, 13vw, 170px); }
.yd-title div { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.yd-title small { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.yd-title strong { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
.yd-flags { display: flex; gap: 10px; flex-wrap: wrap; }
.yd-flags .switch-row { font-size: 14px; }
.yd-main { margin: 0 var(--pad); aspect-ratio: 21 / 9; position: relative; overflow: hidden; border-radius: 4px; background: var(--well); }
.yd-main img, .yd-main video { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.yd-main .pill { position: absolute; left: 16px; top: 16px; }
.yd-body { padding: 48px var(--pad) 96px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.yd-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.yd-bar h2 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 900; }
.seg { display: inline-flex; padding: 4px; background: var(--ground); border-radius: 22px; gap: 2px; }
.seg button { min-height: 36px; padding: 0 14px; border: none; border-radius: 18px; background: transparent; font-size: 14px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.feed { columns: 2 320px; column-gap: 24px; }
.card { break-inside: avoid; margin-bottom: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.card.is-hidden { border-style: dashed; border-color: var(--accent); opacity: .65; }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-head .avatar { width: 38px; height: 38px; font-size: 14px; }
.card-head div { flex-grow: 1; display: flex; flex-direction: column; line-height: 1.4; }
.card-head b { font-weight: 500; font-size: 15px; }
.card-head small { font-size: 13px; color: var(--muted); }
.card-text { margin: 0; white-space: pre-wrap; word-break: break-word; line-height: 1.85; color: #2E2D2A; }
.grid { display: grid; gap: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.n1 { grid-template-columns: 1fr; }
.grid.n2, .grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid button { border: none; padding: 0; background: var(--well); aspect-ratio: 1; overflow: hidden; border-radius: 3px; position: relative; }
.grid.n1 button { aspect-ratio: auto; max-height: 520px; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.grid .is-main::after { content: "主照片"; position: absolute; left: 8px; top: 8px; font-size: 12px; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 10px; }
.vid { position: relative; border-radius: 4px; overflow: hidden; background: #111; }
.vid video { width: 100%; max-height: 520px; background: #111; }
.card-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; border-top: 1px solid var(--ground); padding-top: 10px; }
.card-actions .grow { flex-grow: 1; }
.liked { color: var(--accent-ink) !important; }
.comments { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.cmt { display: flex; gap: 10px; font-size: 15px; }
.cmt .avatar { width: 30px; height: 30px; font-size: 12px; }
.cmt div { flex-grow: 1; line-height: 1.6; word-break: break-word; }
.cmt small { display: block; font-size: 12px; color: var(--muted); }
.cmt.is-hidden { opacity: .5; }
.cmt-form { display: flex; gap: 8px; }
.cmt-form .input { min-height: 44px; }
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.panel h3 { margin: 0; font-size: 17px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.picks:empty { display: none; }
.picks div { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--well); position: relative; }
.picks img, .picks video { width: 100%; height: 100%; object-fit: cover; }
.picks button { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; border-radius: 13px; border: none; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 1; }
.progress { height: 4px; background: var(--ground); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* 浮层 */
.layer { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(26,26,26,.45); }
.dialog { width: 100%; max-width: 420px; background: var(--paper); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; max-height: 90vh; overflow: auto; }
.dialog h3 { margin: 0; font-size: 20px; }
.dialog .row { display: flex; gap: 10px; justify-content: flex-end; }
.lb { background: rgba(10,10,10,.96); padding: 0; flex-direction: column; }
.lb-stage { flex-grow: 1; width: 100%; display: grid; place-items: center; padding: 64px 16px 16px; min-height: 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; }
.lb-bar { width: 100%; padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lb-bar .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.lb-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; border-radius: 22px; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 24px; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); left: 20px; color: #bbb; font-size: 14px; }

/* 时光快放 */
.player { position: fixed; inset: 0; z-index: 120; background: #FFFFFF; overflow: hidden; }
.player .shot { position: absolute; inset: 0; display: grid; place-items: center; padding: 6vh 6vw 22vh; opacity: 0; transition: opacity 1s ease; }
.player .shot.on { opacity: 1; }
.player .shot img, .player .shot video { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 60px rgba(26,26,26,.18); }
.player .shot.on img { animation: kb 3.2s ease-out forwards; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.player .big { position: absolute; left: 6vw; bottom: 4vh; font-family: var(--num); font-size: clamp(90px, 16vw, 220px); line-height: .8; letter-spacing: -.04em; color: var(--ink); }
.player .cap { position: absolute; right: 6vw; bottom: 5vh; max-width: 40vw; text-align: right; font-family: var(--serif); font-size: clamp(16px, 2vw, 24px); color: var(--ink-2); }
.player .bar { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); left: 16px; right: 16px; display: flex; gap: 4px; }
.player .bar i { flex: 1; height: 3px; background: var(--well); border-radius: 2px; overflow: hidden; }
.player .bar i b { display: block; height: 100%; width: 0; background: var(--accent); }
.player .bar i.done b { width: 100%; }
.player .bar i.now b { animation: fill var(--d) linear forwards; }
@keyframes fill { to { width: 100%; } }
.player .ctl { position: absolute; top: calc(32px + env(safe-area-inset-top, 0px)); right: 16px; display: flex; gap: 8px; }

/* 两年对比 */
.cmp { position: fixed; inset: 0; z-index: 110; background: var(--paper); display: flex; flex-direction: column; }
.cmp-head { padding: 16px var(--pad); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.cmp-head select { min-height: 44px; padding: 0 12px; border: 1px solid #D6D3CA; border-radius: 8px; background: var(--paper); font-family: var(--num); font-size: 18px; }
.cmp-stage { flex-grow: 1; position: relative; margin: 20px var(--pad); min-height: 0; overflow: hidden; background: var(--well); border-radius: 4px; touch-action: none; }
.cmp-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cmp-stage .top-img { clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: var(--x, 50%); width: 48px; height: 48px; border-radius: 24px; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0,0,0,.2); display: grid; place-items: center; pointer-events: none; font-size: 18px; }
.cmp-tag { position: absolute; bottom: 16px; font-family: var(--num); font-size: 44px; line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); pointer-events: none; }
.cmp-range { margin: 0 var(--pad) 24px; }

/* 管理后台 */
.admin { padding: 40px var(--pad) 96px; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.admin h1 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 900; }
.admin section { border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.admin h2 { margin: 0; font-size: 20px; }
.form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form2 .wide { grid-column: 1 / -1; }
.table { width: 100%; overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--ground); vertical-align: middle; }
.table td.num { font-family: var(--num); font-size: 26px; }
.table .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.log-time { white-space: nowrap; color: var(--muted); }

#toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 22px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; max-width: calc(100vw - 40px); text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .yd-body { grid-template-columns: 1fr; }
  .side { position: static; order: -1; }
  .rail { display: none; }
  .years { padding-right: var(--pad); }
}
@media (max-width: 720px) {
  .top { height: 60px; }
  .brand span, .top .hide-sm { display: none; }
  .menu { top: 56px; }
  .hero { flex-direction: column; align-items: flex-start; }
  .scroll-cue { writing-mode: horizontal-tb; flex-direction: row; }
  .scroll-cue i { width: 40px; height: 1px; }
  .yr.alt .yr-frame, .yr.alt .yr-meta { grid-column: 1 / -1; }
  .yr.alt.flip .yr-frame { order: 0; }
  .yr.alt.flip .yr-meta { align-items: flex-start; text-align: left; }
  .yr.alt.flip .yr-go { align-self: flex-start; }
  .yr.lead .yr-frame { aspect-ratio: 4 / 5; }
  .yd-main { aspect-ratio: 4 / 3; }
  .form2 { grid-template-columns: 1fr; }
  .player .cap { left: 6vw; right: 6vw; max-width: none; text-align: left; bottom: auto; top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .yr .yr-meta, .yr .yr-head { opacity: 1; transform: none; }
}
