/* vinhlam.com V2 · round 2 — Works, Breakdown, Experimental + home strips.
   Same Look as site.css: tokens.css names only, square corners, hairlines, one lime use per screen. */

/* ---------- Experiments empty switch (data-empty on <html>, set in <head>) ---------- */
[data-empty] .nav-exp,
[data-empty] .home-exp,
[data-empty] .exp-populated { display: none !important; }
html:not([data-empty]) .exp-empty { display: none; }

/* ---------- section head with tools ---------- */
.strip-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 32px; margin-bottom: clamp(28px, 3.4vw, 56px);
}
.strip-head__tools { display: flex; align-items: center; gap: 8px; }
.strip-head__tools .text-link { margin-right: 12px; }
.page-intro { margin-top: 18px; color: var(--ink-2); }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- home · Experimental typographic wall (words + tiles, justified lines) ---------- */
.typo { font: 600 clamp(44px, 9vw, 176px)/1 var(--font-display); letter-spacing: -0.055em; }
.typo__line { display: flex; align-items: center; justify-content: space-between; gap: 0 0.18em; margin: 0 0 0.08em; }
.typo__line > span { white-space: nowrap; }
/* tiles fill the space left on their line, like the reference wall */
.typo .typo__tile { display: block; position: relative; flex: 1 1 0; min-width: 1.1em; height: 0.8em; gap: 0; }
.typo__tile .typo__media { position: absolute; inset: 0; aspect-ratio: auto; }
.typo .typo__media img, .typo .typo__media .wcard__preview { object-fit: cover; transition: transform .6s var(--ease); }
.typo__tile:hover .typo__media img, .typo__tile.is-on .typo__media img { transform: scale(1.06); }
.typo__n, .typo__cap { position: absolute; z-index: 1; letter-spacing: 0; background: var(--paper); color: var(--ink); padding: 3px 6px; line-height: 1.2; }
.typo__n { top: 0; left: 0; }
.typo__cap { bottom: 0; left: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.typo__tile:hover .typo__cap, .typo__tile.is-on .typo__cap { opacity: 1; transform: none; }
.typo__tile.is-on, .typo__tile:hover { outline: 2px solid var(--accent); outline-offset: 0; }
.typo-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px;
  margin-top: clamp(28px, 3vw, 48px); border-top: 1px solid var(--ink); padding-top: 16px; }
.typo-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, auto)); gap: 12px clamp(20px, 3vw, 48px); }
.typo-index__a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; text-decoration: none; color: inherit; }
.typo-index__n { grid-row: span 2; color: var(--ink-2); padding-top: 4px; }
.typo-index__t { font: 500 clamp(17px, 1.3vw, 20px)/1.3 var(--font-body); letter-spacing: -0.015em; }
.typo-index__m { color: var(--ink-2); }
.typo-index__a:hover .typo-index__t, .typo-index__a.is-on .typo-index__t, .typo-index__a:focus-visible .typo-index__t {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .typo { font-size: 13.5vw; }
  .typo__line { flex-wrap: wrap; justify-content: flex-start; gap: 0.1em 0.16em; }
  .typo .typo__tile { flex-basis: 1.6em; }
  .typo-index { grid-template-columns: 1fr 1fr; }
}
/* ---------- Work card ---------- */
.wcell { min-width: 0; }
.wcard { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.wcard__media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--film);
}
.wcard__media img, .wcard__preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.wcard__preview { opacity: 0; transition: opacity .35s var(--ease); background: var(--film); }
.wcard.is-previewing .wcard__preview { opacity: 1; }
.wcard__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); padding-top: 4px; }
.wcard__tag:empty::before { content: "\00a0"; }
.wcard__title {
  font: 500 clamp(17px, 1.3vw, 20px)/1.3 var(--font-body); letter-spacing: -0.015em;
  overflow-wrap: anywhere; text-wrap: pretty;
}
.wcard:hover .wcard__title, .wcard:focus-visible .wcard__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.wcard:focus-visible { outline-offset: 6px; }
.wcard__sample { color: var(--ink-2); }
.wnote { grid-column: 1 / -1; list-style: none; }

/* home · Selected Works and Experimental use the typographic wall above (.typo) */

/* grids */
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 48px) var(--gap); }
.wgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wgrid .wcell[hidden] { display: none; }

/* ---------- filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  font: 500 14px/1 var(--font-body); color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip__n { font: 500 12px/1 var(--font-label); letter-spacing: .02em; color: var(--ink-2); }
.chip:hover { background: var(--paper-2); border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip[aria-pressed="true"] .chip__n { color: var(--accent-ink); }
.works-status { color: var(--ink-2); margin-bottom: clamp(28px, 3vw, 48px); min-height: 1.45em; }

/* ---------- Experimental empty state ---------- */
.exp-empty { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(24px, 4vw, 64px); border-top: 1px solid var(--ink); }
.exp-empty__frame {
  grid-column: 1 / span 5; aspect-ratio: 4 / 5; background: var(--paper-2);
  display: grid; place-items: center; position: relative;
}
.exp-empty__frame::before, .exp-empty__frame::after { content: ""; position: absolute; background: var(--rule); }
.exp-empty__frame::before { left: 50%; top: 18%; bottom: 18%; width: 1px; }
.exp-empty__frame::after { top: 50%; left: 18%; right: 18%; height: 1px; }
.exp-empty__frame .label { position: absolute; left: 16px; bottom: 14px; color: var(--ink-2); }
.exp-empty__body { grid-column: 7 / span 6; display: grid; gap: 20px; align-content: center; }
.exp-empty__title { font: 500 clamp(32px, 3.8vw, 64px)/1.02 var(--font-display); letter-spacing: -0.035em; }
.exp-empty__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* =====================================================================
   BREAKDOWN
   ===================================================================== */
.bd-film { padding-bottom: 0; }
.bd-film__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 3.4vw, 56px); max-width: 1180px; }
.bd-film__head .label { color: var(--film-ink-2); }
.bd-title { font-size: clamp(32px, 4.4vw, 76px); overflow-wrap: anywhere; }
.bd-back { color: var(--film-ink); }

.player {
  position: relative; display: block; width: 100%;
  aspect-ratio: var(--ar, 16 / 9); max-height: 86svh; background: #000; overflow: hidden;
}
.player--film { width: auto; margin-inline: calc(var(--pad) * -1); }
.player__poster, .player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.player__video { opacity: 0; }
.player.is-playing .player__video { opacity: 1; }
.player.is-playing .player__poster, .player.is-playing .player__cover { display: none; }
.player__cover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px;
  padding: clamp(18px, 4vw, 72px); color: var(--film-ink); text-align: left;
  background: linear-gradient(to top, oklch(0.1 0 0 / .5), transparent 50%);
}
.player__cover:hover .reel__play { background: color-mix(in oklch, var(--accent) 82%, white); }
.player__cover:focus-visible { outline: none; }
.player__cover:focus-visible .reel__play { outline: 2px solid var(--film-ink); outline-offset: 4px; }
.player.is-loading .player__cover { cursor: progress; }
.player__sub { color: var(--film-ink); }

.bd-sec .bd-h { font-size: clamp(38px, 5vw, 88px); margin-bottom: clamp(32px, 4vw, 64px); }
.blocks { display: grid; gap: clamp(48px, 6vw, 104px); }
.blk figcaption { margin-top: 12px; color: var(--ink-2); }
.blk img { width: 100%; height: auto; background: var(--paper-2); }

/* text */
.blk-text { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.blk-text__h { grid-column: 1 / span 4; font: 600 18px/1.35 var(--font-body); letter-spacing: -0.01em; padding-top: 4px; }
.blk-text__h:empty { display: none; }
.blk-text__body { grid-column: 6 / span 7; display: grid; gap: 1em; max-width: 62ch; }
.blk-text__body p { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; }

/* image row */
.blk-row { display: grid; gap: var(--gap); align-items: start; }
.blk-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blk-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery__btn { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--film); }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s var(--ease); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__btn:focus-visible { outline-offset: 2px; }
.blk-gallery__hint { margin-top: 12px; color: var(--ink-2); }

/* compare */
.compare { position: relative; aspect-ratio: var(--ar, 16 / 9); overflow: hidden; background: var(--film); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before.is-flat { filter: saturate(.12) contrast(.74) brightness(1.1); }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 3;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100vh; }
.compare__range::-moz-range-thumb { width: 44px; height: 100vh; border: 0; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 2;
  background: var(--film-ink); pointer-events: none;
}
.compare__handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  display: grid; place-items: center; background: var(--film-ink); color: var(--film);
  font: 500 20px/1 var(--font-body);
}
.compare__range:focus-visible ~ .compare__handle::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 10px; background: var(--film); color: var(--film-ink); pointer-events: none; }
.compare__tag--b { left: 14px; }
.compare__tag--a { right: 14px; }

/* quote */
.blk-quote { border-top: 1px solid var(--ink); padding-top: clamp(24px, 3vw, 40px); }
.blk-quote blockquote { margin: 0; font: 500 clamp(28px, 3.6vw, 60px)/1.1 var(--font-display); letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
.blk-quote figcaption { margin-top: 18px; }

/* credits */
.blk-credits { margin: 0; border-top: 1px solid var(--ink); }
.blk-credits div { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: var(--gap); padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.blk-credits dt { color: var(--ink-2); }
.blk-credits dd { margin: 0; font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; letter-spacing: -0.01em; }

/* prev / next */
.bd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pager__link { display: grid; gap: 12px; text-decoration: none; padding-top: 14px; border-top: 1px solid var(--ink); }
.pager__dir { color: var(--ink-2); }
.pager__media { display: block; aspect-ratio: 16 / 9; background: var(--film); overflow: hidden; }
.pager__img { width: 100%; height: 100%; object-fit: contain; }
.pager__tag { color: var(--ink-2); }
.pager__tag:empty { display: none; }
.pager__title { font: 500 clamp(20px, 2vw, 32px)/1.15 var(--font-display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.pager__link--next { text-align: right; }
.pager__link--next .pager__media { order: 0; }
.pager__link:hover .pager__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.bd-pager-wrap .footer { margin-top: clamp(64px, 8vw, 120px); }

/* lightbox */
.lightbox {
  width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--film); color: var(--film-ink);
}
.lightbox::backdrop { background: var(--film); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad); }
.lightbox__stage { position: relative; min-height: 0; padding: 0 var(--pad); display: grid; place-items: center; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad) 18px; }
.lightbox .sq-btn { border-color: var(--film-rule); color: var(--film-ink); }
.lightbox .sq-btn:hover { background: var(--film-2); }
.lightbox .sq-btn:focus-visible { outline-color: var(--film-ink); }
.lightbox__nav { display: flex; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .wgrid, .wgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blk-text__h { grid-column: 1 / -1; }
  .blk-text__body { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .wgrid, .wgrid--2, .wgrid--4 { grid-template-columns: 1fr; }
  .typo .typo__tile { min-width: 1.6em; }
  .strip-head__tools .sq-btn { display: none; }
  .strip-head__tools .text-link { margin-right: 0; }
  .chip { padding: 0 12px; font-size: 13px; }
  .blk-row--2, .blk-row--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blk-credits div { grid-template-columns: 1fr; gap: 4px; }
  .bd-pager { grid-template-columns: 1fr; gap: 40px; }
  .pager__link--next { text-align: left; }
  .exp-empty__frame { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .exp-empty__body { grid-column: 1 / -1; }
  .compare__tag { top: 10px; }
  .compare__tag--b { left: 10px; } .compare__tag--a { right: 10px; }
  .player__cover .player__sub { display: none; }
}

/* first section on index pages sits closer to the header than home sections */
.works-index, .exp-index { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 80px)); }
.bd-pager-wrap { padding-top: clamp(40px, 5vw, 80px); }
.blk-compare, .blk-video { max-width: 1440px; }

/* =====================================================================
   FAN ART (home) — typographic wall like Selected Works (.typo above); tiles are buttons into the lightbox
   ===================================================================== */
[data-fanart-empty] .fanart,
[data-fanart-empty] .nav-fanart { display: none !important; }
.fanart__tile { padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; font: inherit; }
.fanart__tile .typo__media img { object-position: 50% 22%; } /* faces sit in the upper third */
.fanart__tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fanart__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fanart__cta .text-link { color: var(--ink); min-height: 44px; }
.lightbox__stage { touch-action: none; user-select: none; -webkit-user-select: none; }
.lightbox__stage .lightbox__img { pointer-events: none; }
.orbit__price { color: var(--film-ink-2); letter-spacing: 0.02em; }

/* =====================================================================
   EXPERIMENTAL WALL (experimental/index.html, js/exp-wall.js) — ref: QClay curved poster wall.
   Full-screen film ground; portrait cards on a lens-bulged endless grid; corner UI; crosshair on the cursor.
   ===================================================================== */
html:not([data-empty]) .exp-index { display: none; }
.xwall {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--film); color: var(--film-ink);
  perspective: 1500px; touch-action: none; user-select: none; cursor: grab;
}
.xwall.is-dragging { cursor: grabbing; }
.xwall__stage { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.xcard {
  --dim: 0;
  position: absolute; left: 0; top: 0; padding: 0; border: 0; cursor: inherit;
  background: var(--film-2); overflow: hidden; border-radius: 4px;
  transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8);
}
.xcard img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: transform .6s var(--ease), filter .4s var(--ease); }
.xcard::after { content: ""; position: absolute; inset: 0; background: var(--film); opacity: var(--dim); pointer-events: none; transition: opacity .3s; }
.xcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; text-align: left;
  display: grid; gap: 4px; padding: 48px 14px 14px;
  background: linear-gradient(transparent, color-mix(in oklch, var(--film) 88%, transparent) 55%);
  color: var(--film-ink);
  opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.xcard__title { font-size: clamp(16px, 1.3vw, 22px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.xcard__meta { color: var(--film-ink-2); }
.xcard__go { color: var(--film-ink); margin-top: 6px; }
.xcard:hover img, .xcard:focus-visible img { transform: scale(1.05); }
.xcard:hover::after, .xcard:focus-visible::after { opacity: 0; }
.xcard:hover .xcard__cap, .xcard:focus-visible .xcard__cap { opacity: 1; transform: none; }
@media (hover: none) { .xcard__go { display: none; } }
.xcard:focus-visible { outline: 2px solid var(--film-ink); outline-offset: 3px; }
/* thin crosshair through the cursor, like the ref's guide lines */
.xwall__cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.xwall:hover .xwall__cross { opacity: 1; }
.xwall__cross::before, .xwall__cross::after { content: ""; position: absolute; background: color-mix(in oklch, var(--film-ink) 22%, transparent); }
.xwall__cross::before { left: 0; right: 0; top: var(--y, 50%); height: 1px; }
.xwall__cross::after { top: 0; bottom: 0; left: var(--x, 50%); width: 1px; }
@media (hover: none) { .xwall__cross { display: none; } }
/* corner UI sits over the wall; only its links take clicks */
.xwall__ui { position: absolute; inset: 0; pointer-events: none; padding: calc(var(--header-h) + 18px) var(--pad) 22px; display: grid; grid-template: auto 1fr auto / 1fr auto; }
.xwall__ui a { pointer-events: auto; }
/* top scrim so the title reads over bright cards */
.xwall__ui::before { content: ""; position: absolute; inset: 0 0 auto; height: 46%; background: linear-gradient(color-mix(in oklch, var(--film) 82%, transparent), transparent); pointer-events: none; }
.xwall__head, .xwall__count { position: relative; }
.xwall__head { grid-area: 1 / 1; max-width: 26ch; }
.xwall__h1 { margin: 0; font-size: clamp(36px, 5vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: .92; text-shadow: 0 2px 24px rgb(0 0 0 / .5); }
.xwall__intro { margin: 10px 0 0; color: var(--film-ink-2); font-size: 15px; line-height: 1.45; text-shadow: 0 1px 12px rgb(0 0 0 / .8); }
.xwall__count { grid-area: 1 / 2; align-self: start; justify-self: end !important; color: var(--film-ink-2); }
.xwall__hint { grid-area: 3 / 1; align-self: end; color: var(--film-ink-2); margin: 0; }
.xwall__ig { grid-area: 3 / 2; align-self: end; justify-self: end !important; color: var(--film-ink); }
.xwall__count, .xwall__hint, .xwall__ig { justify-self: start; width: max-content; background: color-mix(in oklch, var(--film) 70%, transparent); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* viewer */
.xview {
  width: min(1240px, 94vw); max-width: none; height: min(780px, 90svh); max-height: none; padding: 0; border: 0; border-radius: 8px;
  background: var(--film-2); color: var(--film-ink); overflow: hidden;
  display: none; grid-template-columns: minmax(0, 1fr) clamp(240px, 26%, 320px); grid-template-rows: minmax(0, 1fr);
}
.xview[open] { display: grid; animation: xview-in .35s var(--ease); }
.xview::backdrop { background: color-mix(in oklch, var(--film) 88%, transparent); backdrop-filter: blur(8px); }
@keyframes xview-in { from { opacity: 0; transform: scale(.97); } }
.xview__film { position: relative; background: #000; min-height: 0; }
.xview__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
/* 9:16 pieces: narrow the dialog to the film so it isn't a sliver between black bars */
.xview.is-portrait { width: min(94vw, calc(min(780px, 90svh) * 9 / 16 + clamp(240px, 26vw, 320px))); grid-template-columns: minmax(0, 1fr) clamp(240px, 26vw, 320px); }
.xview__info { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-left: 1px solid var(--film-rule); }
.xview__n, .xview__meta { color: var(--film-ink-2); margin: 0; }
.xview__title { margin: 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.xview__links { display: flex; gap: 16px; flex-wrap: wrap; margin: 4px 0 0; }
.xview__links .text-link { color: var(--film-ink); }
.xview__links [hidden] { display: none; }
.xview__nav { margin-top: auto; display: flex; gap: 8px; }
.xview__btn { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--film-rule); background: transparent; color: var(--film-ink); font: inherit; cursor: pointer; }
.xview__btn:hover, .xview__btn:focus-visible { background: var(--film-ink); color: var(--film); }
.xview__close { margin-left: auto; }
@media (max-width: 767px) {
  .xview, .xview.is-portrait { width: 100vw; height: 100svh; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .xview__info { border-left: 0; border-top: 1px solid var(--film-rule); padding: 16px var(--pad) 20px; gap: 8px; }
  .xview__nav { margin-top: 8px; }
  .xwall__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .xview[open] { animation: none; } .xcard img { transition: none; } }
