/* Phai-M1 作品集（/gallery）。
   首页的 M1 区块是「深色的放映厅」，这一页就是放映厅本身：整页是银幕黑，画面是主角，
   文字退到画面下方。丝带渐变只用在「试用」按钮和放映进度上，其余一律中性。
   全页唯一的主动动效：首屏放映时，提示词随画面播放逐词亮起，把「一段话 → 一个镜头」演出来。 */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --screen: #03060e;
  --night: #081433;
  --night-2: #0e1d47;
  --ink: #eaf0ff;
  --ink-2: #a8b5d6;
  --ink-3: #7584a8;
  --line: rgba(196, 212, 255, .14);
  --line-2: rgba(196, 212, 255, .28);
  --cyan: #2bd4c6;
  --beam: linear-gradient(100deg, #1f5bff 0%, #2a9cf5 55%, #2bd4c6 100%);
  --sans: "Instrument Sans", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --bar-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--screen); }
body { margin: 0; background: var(--screen); color: var(--ink); font: 16px/1.75 var(--sans); font-kerning: normal; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { line-height: 1.6; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, blockquote, figure, ul, ol { margin: 0; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--ink); color: var(--screen); border-radius: 8px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; white-space: nowrap; transition: filter .15s, border-color .15s, background-color .15s; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
/* 渐变按 border-box 铺：.btn 有 1px 透明边框，默认按 padding-box 铺的渐变会在两侧边框里重复出对端颜色（左青右蓝的细边） */
.beam { background: var(--beam) border-box; color: #fff; box-shadow: 0 10px 30px -12px rgba(42, 156, 245, .7); }
.beam:hover { filter: brightness(1.1); }
.ghost { background: rgba(3, 6, 14, .35); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ghost:hover { border-color: var(--ink); }

/* ── Top bar：浮在首屏画面上，滚动后加底色 ───────────────── */
.bar { position: fixed; inset: 0 0 auto; z-index: 30; height: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; display: flex; align-items: center; gap: 28px; background: linear-gradient(rgba(3, 6, 14, .7), transparent); transition: background-color .25s; }
.bar.scrolled { background: rgba(3, 6, 14, .82); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 26px; height: auto; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.bar-nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.bar-nav a:hover, .bar-nav a[aria-current] { color: var(--ink); }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; flex: none; }
.lang-switch button { border: 0; background: none; padding: 2px 10px; border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--screen); }

/* ── Reel：首屏整幅放映 ──────────────────────────────────── */
.reel { position: relative; height: min(100svh, max(620px, 60vw)); min-height: 560px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: 1fr auto auto; column-gap: clamp(24px, 5vw, 80px); padding: calc(var(--bar-h) + 24px) var(--gutter) 0; }
.reel-screen { position: absolute; inset: 0; background: var(--screen); }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.reel-video.is-on { opacity: 1; }
.reel-shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(3, 6, 14, .92) 0%, rgba(3, 6, 14, .55) 26%, rgba(3, 6, 14, 0) 55%),
  linear-gradient(to right, rgba(3, 6, 14, .55) 0%, rgba(3, 6, 14, 0) 50%); }

.reel-copy { position: relative; grid-column: 1; grid-row: 2; align-self: end; padding-bottom: clamp(24px, 3vw, 40px); }
.reel h1 { font-size: clamp(44px, 6.6vw, 112px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; font-stretch: 75%; text-wrap: balance; }
html[lang="en"] .reel h1 { letter-spacing: -.015em; line-height: .98; }
.reel h1 span { display: block; }
.reel-lede { margin-top: 20px; max-width: 30em; font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-2); }
.reel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.reel-now { position: relative; grid-column: 2; grid-row: 2; align-self: end; justify-self: end; max-width: 32em; padding-bottom: clamp(24px, 3vw, 40px); }
.reel-now figcaption { display: flex; align-items: baseline; gap: 14px; }
.reel-index { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.reel-title-btn { border: 0; padding: 0; background: none; font-size: 17px; font-weight: 600; text-align: left; }
.reel-title-btn span { border-bottom: 1px solid var(--line-2); }
.reel-title-btn:hover span { border-bottom-color: var(--ink); }
.reel-prompt { margin-top: 12px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.65; color: var(--ink-3); }
/* 提示词随视频进度逐词亮起；不支持或「减少动态效果」时整段直接亮 */
.reel-prompt .w { transition: color .5s ease; }
.reel-prompt .w.lit { color: var(--ink); }

.reel-controls { position: relative; grid-column: 1 / -1; grid-row: 3; display: flex; gap: 8px; padding-bottom: 14px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 14px 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(3, 6, 14, .5); font-size: 13px; color: var(--ink-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip-btn:hover { color: var(--ink); border-color: var(--line-2); }
.chip-btn svg { width: 16px; height: 16px; fill: currentColor; }
#reel-play .ic-play, #reel-play[aria-pressed="false"] .ic-pause { display: none; }
#reel-play[aria-pressed="false"] .ic-play { display: inline; }
.chip-btn .wave { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .35; }
#reel-sound[aria-pressed="true"] { color: var(--ink); }
#reel-sound[aria-pressed="true"] .wave { opacity: 1; }
.reel.needs-tap #reel-play { background: var(--ink); color: var(--screen); border-color: var(--ink); }

.reel-track { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 3px; padding: 0; list-style: none; }
.reel-track li { flex: 1; }
.reel-track button { display: block; width: 100%; height: 14px; padding: 11px 0 0; border: 0; background: none; }
.reel-track button::before { content: ""; display: block; height: 3px; background: linear-gradient(to right, var(--cyan) 0 calc(var(--p, 0) * 100%), rgba(196, 212, 255, .22) 0); }
.reel-track .done button::before { background: rgba(196, 212, 255, .5); }
.reel-track .now button::before { background: linear-gradient(90deg, #1f5bff, #2bd4c6) 0 0 / calc(var(--p, 0) * 100%) 100% no-repeat, rgba(196, 212, 255, .22); }
.reel-track button:hover::before { height: 5px; margin-top: -2px; }

/* ── Speed：首屏之后的一句话卖点 ─────────────────────────── */
.speed { padding: clamp(96px, 13vw, 200px) var(--gutter) 0; }
.speed h2 { font-size: clamp(44px, 8.4vw, 136px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; font-stretch: 75%; }
.speed h2 span { display: block; }
.speed-key { width: fit-content; background: var(--beam); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.speed-note { margin-top: 28px; font-size: 11px; line-height: 1.5; letter-spacing: .01em; color: rgba(168, 181, 214, .55); }
.speed-sub { margin-top: .5em; font-size: .36em; font-stretch: 100%; letter-spacing: -.01em; color: var(--ink-2); }

/* ── Films：放映墙 ───────────────────────────────────────── */
.films { padding: clamp(72px, 9vw, 128px) var(--gutter) 0; }
.films-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 72px); align-items: end; }
.yours h2 { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; font-stretch: 80%; }
.films-head h2 { grid-column: 1 / -1; }
.films h2 { font-size: clamp(26px, 4.4vw, 64px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; font-stretch: 80%; }
.films h2 span { display: block; }
.films h2 span + span { color: var(--ink-3); }
.films-head p { max-width: 32em; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 20px; }
.filter { display: inline-flex; align-items: baseline; gap: 8px; min-height: 38px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: 14px; color: var(--ink-2); }
.filter small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--line-2); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--screen); }
.filter[aria-pressed="true"] small { color: var(--night-2); }

/* 三栏密排，主打作品占 2×2。所有画面都是 16:9，大格的高度正好是两行小格加一道缝 */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; padding: 0; list-style: none; }
.wall li { min-width: 0; }
.wall li[hidden] { display: none; }
.wall .lead { grid-column: span 2; grid-row: span 2; }
.wall .lead.right { grid-column: 2 / span 2; }
/* .tile 是整个可点的按钮：.tile-frame 是画面，.tile-cap 是只在手机上出现的文字说明 */
.tile { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; }
.tile-frame { position: relative; display: block; flex: 1; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--night); }
.wall .lead .tile-frame { aspect-ratio: auto; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile video { opacity: 0; transition: opacity .4s; }
.tile.playing video { opacity: 1; }
.tile-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 6, 14, .85), rgba(3, 6, 14, 0) 45%); pointer-events: none; }
.tile-cap { display: none; }
.tile-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.tile-name { font-size: 15px; font-weight: 600; }
.lead .tile-info { padding: 20px 22px; }
.lead .tile-name { font-size: clamp(18px, 1.8vw, 24px); }
.tile-meta { flex: none; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tile-line { display: none; }
.lead .tile-line { display: block; position: absolute; left: 22px; right: 22px; bottom: 56px; z-index: 1; max-width: 38em; font-size: 14px; line-height: 1.6; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.tile:hover .tile-line, .tile:focus-visible .tile-line { opacity: 1; transform: none; }
@media (hover: hover) { .tile:hover img { transform: scale(1.03); } }
.noscript { color: var(--ink-2); }
.noscript a { text-decoration: underline; }

/* ── Yours：把用户引到工作台 ─────────────────────────────── */
.yours { padding: clamp(96px, 12vw, 168px) var(--gutter); }
.yours-inner { max-width: 920px; }
.yours p { margin-top: 16px; max-width: 36em; color: var(--ink-2); }
.yours-form { margin-top: 36px; padding: 6px; border-radius: 18px; background: var(--beam); }
.yours-form textarea { display: block; width: 100%; min-height: 132px; resize: vertical; padding: 20px 22px; border: 0; border-radius: 13px 13px 0 0; background: var(--screen); color: var(--ink); font: 17px/1.7 var(--sans); }
.yours-form textarea::placeholder { color: var(--ink-3); }
.yours-form textarea:focus { outline: none; }
.yours-form:focus-within { box-shadow: 0 0 0 3px rgba(43, 212, 198, .25); }
.yours-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-radius: 0 0 13px 13px; background: var(--night); }
.yours-row .yours-hint { margin: 0; font-size: 13px; color: var(--ink-3); }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.foot-brand img { width: 20px; height: auto; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; }
.foot a:hover { color: var(--ink); }

/* ── Theater：点开一段，全屏放映 ─────────────────────────── */
.theater { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--screen); color: var(--ink); overflow: hidden; }
.theater[open] { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 420px); }
.theater::backdrop { background: var(--screen); }
.th-stage { position: relative; display: grid; place-items: center; min-width: 0; padding: clamp(16px, 3vw, 48px) clamp(56px, 5vw, 88px); background: #000; }
.th-stage video { width: 100%; max-height: calc(100dvh - 2 * clamp(16px, 3vw, 48px)); aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.th-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--ink-2); font-size: 14px; }
.th-error[hidden] { display: none; }
.th-side { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: var(--screen); }
.th-head { padding: 64px 28px 20px; border-bottom: 1px solid var(--line); }
.th-cat { font-size: 13px; color: var(--cyan); }
.th-head h2 { margin-top: 6px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; font-stretch: 85%; }
.th-spec { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.th-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 28px 28px; overscroll-behavior: contain; }
.th-label { margin-top: 22px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.th-label:first-child { margin-top: 0; }
/* 中文页先给中文描述，英文原文（模型真正收到的输入）放在下面；英文页只显示原文 */
.th-zh { margin-top: 8px; font-size: 16px; line-height: 1.85; color: var(--ink); }
.th-prompt { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
html[lang="en"] .th-zh, html[lang="en"] .th-orig { display: none; }
html[lang="en"] .th-prompt { font-size: 16px; color: var(--ink); }
.th-look { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.th-full { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--ink-3); }
.th-full summary { cursor: pointer; }
.th-full summary:hover { color: var(--ink-2); }
.th-full p { margin-top: 10px; line-height: 1.7; }
.th-seed { font-variant-numeric: tabular-nums; }
.th-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 28px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.th-actions .btn { flex: 1 1 auto; }
.th-x, .th-step { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(3, 6, 14, .6); color: var(--ink); }
.th-x:hover, .th-step:hover { border-color: var(--ink); }
.th-x svg, .th-step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th-x { top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; }
.th-step { top: 50%; transform: translateY(-50%); }
.th-step.prev { left: 10px; }
.th-step.next { right: calc(clamp(320px, 28vw, 420px) + 10px); }
body.theater-open { overflow: hidden; }

/* ── 首屏载入 ────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reel-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .reel-copy > :nth-child(2) { animation-delay: .12s; }
  .reel-copy > :nth-child(3) { animation-delay: .22s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-video, .tile img, .tile video, .reel-prompt .w { transition: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall .lead, .wall .lead.right { grid-column: 1 / -1; grid-row: auto; }
  .wall .lead .tile-frame { aspect-ratio: 16 / 9; }
  .lead .tile-line { display: none; }
  /* 竖屏的放映厅：画面吸在顶上，说明在下面滚，操作按钮吸在底部 */
  .theater[open] { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .th-stage { position: sticky; top: 0; z-index: 2; padding: calc(60px + env(safe-area-inset-top, 0px)) 0 0; }
  .th-stage video { max-height: 56dvh; }
  .th-side { border-left: 0; }
  .th-head { padding: 20px var(--gutter) 16px; }
  .th-body { overflow: visible; padding: 18px var(--gutter) 28px; }
  .th-actions { position: sticky; bottom: 0; z-index: 2; padding-inline: var(--gutter); background: var(--screen); }
  .th-x, .th-step { position: fixed; z-index: 3; top: calc(8px + env(safe-area-inset-top, 0px)); transform: none; }
  .th-step.prev { left: var(--gutter); }
  .th-step.next { left: calc(var(--gutter) + 52px); right: auto; }
  .th-x { right: var(--gutter); }
}
@media (max-width: 860px) {
  .bar-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .films-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ── 手机：大部分访客从这里来 ────────────────────────────── */
/* 首屏是整屏竖幅放映（portrait.mp4 是从原片按主体位置裁出的 1:2 竖幅，不是放大的横片），
   文字叠在画面下部；作品墙变成一列信息流，每格下面带一句描述。 */
@media (max-width: 700px) {
  :root { --bar-h: 56px; }
  .bar { gap: 10px; }
  .brand-name { font-size: 16px; }
  .bar .btn.small { min-height: 34px; padding: 0 14px; font-size: 13px; }
  .lang-switch button { padding: 2px 8px; }

  .reel { height: 100svh; min-height: 620px; max-height: 960px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); }
  .reel-shade { background: linear-gradient(to top, rgba(3, 6, 14, .96) 0%, rgba(3, 6, 14, .8) 34%, rgba(3, 6, 14, 0) 62%), linear-gradient(rgba(3, 6, 14, .5), rgba(3, 6, 14, 0) 18%); }
  .reel-controls { position: absolute; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 10px); left: var(--gutter); padding: 0; }
  .reel-now { order: 1; max-width: none; justify-self: auto; padding: 0; }
  .reel-prompt { margin-top: 8px; font-size: 14px; line-height: 1.6; }
  .reel-track { order: 2; position: relative; margin: 16px 0 22px; }
  .reel-copy { order: 3; padding: 0; }
  .reel h1 { font-size: clamp(36px, 10.6vw, 52px); line-height: 1.06; }
  .reel-lede { margin-top: 12px; font-size: 14px; line-height: 1.7; }
  .reel-actions { margin-top: 18px; gap: 10px; }
  .reel-actions .btn { flex: 1 1 0; min-height: 46px; padding: 0 12px; }

  .speed { padding-top: 88px; }
  .speed h2 { font-size: clamp(40px, 12vw, 60px); }
  .speed-sub { font-size: .44em; }
  .films { padding-top: 72px; }
  .films h2 { font-size: clamp(24px, 7.2vw, 40px); }
  .films-head p { font-size: 15px; }
  /* 筛选条吸在顶栏下面，横向滑动 */
  .filters { position: sticky; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); z-index: 5; flex-wrap: nowrap; overflow-x: auto; margin: 24px calc(-1 * var(--gutter)) 12px; padding: 10px var(--gutter); background: var(--screen); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; min-height: 36px; }
  .wall { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tile-frame { border-radius: 4px; }
  .tile-frame::after, .tile-info { display: none; }
  .tile-cap { display: block; padding-top: 12px; }
  .tile-cap b { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
  .tile-cap b small { font-size: 12px; font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .tile-cap span { display: -webkit-box; margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--ink-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .yours { padding: 88px var(--gutter) 72px; }
  .yours-form textarea { font-size: 16px; min-height: 150px; padding: 16px; }
  .yours-row { padding: 12px; }
  .yours-row .btn { flex: 1 1 100%; }

  .th-head h2 { font-size: 26px; }
  .th-actions .btn { min-height: 46px; padding: 0 14px; }
}
