/* Langift public video library. Self-contained; no remote fonts or assets. */
body.lva {
  --lva-ink: #0b3340;
  --lva-paper: #faf7ef;
  --lva-gold: #edc55c;
  --lva-muted: #516268;
  --lva-line: #d8ded8;
  margin: 0;
  color: var(--lva-ink);
  background: var(--lva-paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.lva *, .lva *::before, .lva *::after { box-sizing: border-box; }
.lva a { color: inherit; text-underline-offset: .25em; }
.lva img { display: block; max-width: 100%; height: auto; }
.lva button, .lva input, .lva select { font: inherit; }
.lva button, .lva select { cursor: pointer; }
.lva button { color: inherit; }
.lva :focus-visible { outline: 3px solid #9a6400; outline-offset: 5px; }
.lva-skip { position: absolute; left: 12px; top: -90px; padding: 12px; z-index: 100; background: white; }
.lva-skip:focus { top: 12px; }
.lva h1, .lva h2, .lva h3, .lva p { margin-block-start: 0; }
.lva h1, .lva h2, .lva h3 { line-height: 1.55; overflow-wrap: anywhere; }
.lva-wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.lva-header { position: relative; z-index: 5; border-bottom: 1px solid var(--lva-line); background: var(--lva-paper); }
.lva-header > .lva-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 112px; }
.lva-logo { display: inline-flex; flex: 0 1 250px; align-items: center; text-decoration: none; }
.lva-logo img { width: 250px; max-height: 72px; object-fit: contain; object-position: left center; }
.lva-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 28px; font-size: 14px; font-weight: 600; letter-spacing: .025em; }
.lva-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid transparent; }
.lva-header nav a:hover, .lva-header nav a[aria-current="page"] { border-bottom-color: var(--lva-ink); }
.lva-header details { display: none; }
.lva-hero { position: relative; padding-block: 78px 62px; }
.lva-eyebrow, .lva-hero .eyebrow, .lva-feature-copy .eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.lva-eyebrow::before, .lva-hero .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px 4px 0; background: var(--lva-ink); }
.lva-hero h1 { max-width: 950px; margin-bottom: 22px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(34px, 4vw, 58px); font-weight: 600; line-height: 1.5; letter-spacing: .055em; }
.lva-hero > p { max-width: 800px; margin-bottom: 0; color: var(--lva-muted); }
.lva-hero-stat { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-top: 26px; padding-top: 15px; border-top: 1px solid var(--lva-line); font-size: 14px; color: var(--lva-muted); }
.lva-hero-stat strong { font-size: 24px; color: var(--lva-ink); font-variant-numeric: tabular-nums; }
.lva-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 82px; background: var(--lva-ink); color: var(--lva-paper); }
.lva-feature > * { min-width: 0; }
.lva-feature-image { display: block; position: relative; align-self: stretch; overflow: hidden; background: #06232e; }
.lva-feature-image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.lva-feature-image.is-short img { object-fit: contain; max-height: 440px; }
.lva-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 42px; }
.lva-feature-copy .lva-eyebrow, .lva-feature-copy .eyebrow { color: var(--lva-gold); }
.lva-feature-copy .lva-eyebrow::before { background: var(--lva-gold); }
.lva-feature-copy h2 { margin-bottom: 16px; font-size: clamp(23px, 2.2vw, 31px); font-weight: 600; }
.lva-feature-copy h2 a { text-decoration: none; }
.lva-feature-copy p { margin-bottom: 22px; font-size: 16px; color: #dde5e3; }
.lva-feature-copy .lva-meta { color: #d7dedb; }
.lva-feature-copy :focus-visible, .lva-footer :focus-visible { outline-color: var(--lva-gold); }
.lva-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15px; font-weight: 700; text-decoration: none; }
.lva-link::after { content: none; font-size: 21px; font-weight: 400; transition: transform .2s ease; }
.lva-link:hover::after { transform: translateX(4px); }
.lva-feature-copy .lva-link { color: var(--lva-gold); }
.lva-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--lva-line); }
.lva-section-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: .04em; }
.lva-section-head p { margin: 0; color: var(--lva-muted); font-size: 14px; }
.lva-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 24px; padding: 22px 24px; border: 1px solid var(--lva-line); background: #fffdf7; }
.lva-filters label { display: flex; flex: 1 1 180px; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; }
.lva-filters label:has(input[type="search"]), .lva-filters label:has(input[type="text"]) { flex-grow: 2; }
.lva-filters input, .lva-filters select { min-width: 0; max-width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9caeae; border-radius: 2px; background: #fff; color: var(--lva-ink); font-size: 16px; line-height: 1.5; }
.lva-filters input { flex: 2 1 220px; }
.lva-filters select { flex: 1 1 160px; }
.lva-filters label input, .lva-filters label select { width: 100%; flex: none; }
.lva-filters button { flex: 0 0 auto; min-height: 48px; padding: 10px 24px; border: 1px solid var(--lva-ink); border-radius: 2px; background: var(--lva-ink); color: #fff; font-size: 15px; font-weight: 700; }
.lva-filters button:hover { background: #174d5d; }
.lva-filters > a { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; }
.lva-results { margin-bottom: 24px; color: var(--lva-muted); font-size: 14px; }
.lva-results strong { color: var(--lva-ink); }
.lva-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; }
.lva-card { min-width: 0; border-bottom: 1px solid var(--lva-line); }
.lva-card > a { display: block; height: 100%; text-decoration: none; }
.lva-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lva-ink); }
.lva-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lva-cover.is-short img { object-fit: contain; }
.lva-cover.is-short { aspect-ratio: 1 / 1; }
.lva-card > a:hover .lva-cover img { transform: scale(1.035); }
.lva-card > a:hover h2, .lva-card > a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.lva-duration { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 2px; background: #082b37; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.7; font-variant-numeric: tabular-nums; }
.lva-card-copy { padding-block: 19px 25px; }
.lva-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; color: var(--lva-muted); font-size: 12px; line-height: 1.8; letter-spacing: .015em; }
.lva-meta > span { max-width: 100%; }
.lva-meta time { font-variant-numeric: tabular-nums; }
.lva-card-copy h2, .lva-card-copy h3 { margin-bottom: 12px; font-size: 22px; font-weight: 600; line-height: 1.65; }
.lva-card-copy p { margin-bottom: 0; color: var(--lva-muted); font-size: 15px; line-height: 1.85; }
.lva-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block: 52px 72px; }
.lva-pagination a, .lva-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--lva-line); font-size: 14px; line-height: 1.5; text-decoration: none; }
.lva-pagination [aria-current="page"], .lva-pagination .current { border-color: var(--lva-ink); background: var(--lva-ink); color: #fff; }
.lva-pagination a:hover { border-color: var(--lva-ink); }
.lva-breadcrumb { display: flex; flex-wrap: wrap; gap: 5px 10px; padding-block: 25px; color: var(--lva-muted); font-size: 12px; line-height: 1.8; }
.lva-breadcrumb a { text-decoration: none; }
.lva-breadcrumb a:hover { text-decoration: underline; }
.lva-watch-head { max-width: 1060px; padding-block: 22px 30px; }
.lva-watch-head h1 { margin-bottom: 20px; font-size: clamp(27px, 3.3vw, 44px); line-height: 1.6; letter-spacing: .025em; font-weight: 600; }
.lva-watch-head .lva-meta { font-size: 14px; }
.lva-player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 auto 32px; overflow: hidden; background: #06232e; }
.lva-player.is-short { max-width: 420px; aspect-ratio: 9 / 16; }
.lva-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.lva-play { display: block; position: relative; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #06232e; color: #fff !important; cursor: pointer; }
.lva-play > img { width: 100%; height: 100%; object-fit: cover; }
.lva-player.is-short .lva-play > img { object-fit: contain; }
.lva-play::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 60%)); pointer-events: none; }
.lva-play::after { content: "▶"; display: grid; position: absolute; z-index: 2; top: 50%; left: 50%; width: 76px; height: 76px; padding-left: 5px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; background: var(--lva-gold); color: var(--lva-ink); font-size: 26px; line-height: 1; place-items: center; transform: translate(-50%, -50%); transition: background .2s ease, box-shadow .2s ease; pointer-events: none; }
.lva-play:hover::after { background: #f5d781; box-shadow: 0 0 0 10px rgb(237 197 92 / 18%); }
.lva-play > span, .lva-play > strong { position: absolute; z-index: 3; inset-inline: 20px; bottom: 18px; color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
.lva-play:focus-visible { outline: 4px solid var(--lva-gold); outline-offset: -5px; }
.lva-watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 56px; margin-bottom: 72px; }
.lva-watch-layout > * { min-width: 0; }
.lva-copy { max-width: 880px; }
.lva-copy h2 { margin-top: 32px; margin-bottom: 16px; font-size: 25px; font-weight: 600; }
.lva-copy h3 { margin-top: 26px; font-size: 22px; }
.lva-copy p { margin-bottom: 24px; white-space: normal; }
.lva-copy ul, .lva-copy ol { padding-left: 1.5em; }
.lva-copy a { text-decoration-thickness: 1px; }
.lva-copy a:hover { text-decoration-thickness: 2px; }
.lva-callout { padding: 28px; border-top: 3px solid var(--lva-gold); background: #edf0e9; }
.lva-callout h2, .lva-callout h3 { margin-bottom: 16px; font-size: 23px; }
.lva-callout p { margin-bottom: 20px; color: var(--lva-muted); font-size: 15px; }
.lva-callout a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 10px 16px; border: 1px solid var(--lva-ink); background: var(--lva-ink); color: #fff; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.lva-callout a:hover { background: #174d5d; }
.lva-callout a:focus-visible { outline-offset: 4px; }
.lva-related { margin-block: 64px 80px; }
.lva-empty { padding: 50px 28px; border: 1px solid var(--lva-line); background: #fffdf7; text-align: center; }
.lva-empty h2 { font-size: 24px; }
.lva-empty p { margin-bottom: 0; color: var(--lva-muted); }
.lva-note { margin-block: 20px; color: var(--lva-muted); font-size: 13px; line-height: 1.85; }
.lva-footer { margin-top: 80px; padding-block: 42px; background: var(--lva-ink); color: var(--lva-paper); }
.lva-footer > .lva-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.lva-footer p { margin: 0; font-size: 13px; }
.lva-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.lva-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.lva-footer a:hover { text-decoration: underline; }
.lva-footer small { font-size: 12px; color: #cad5d2; }
.lva-footer .lva-note { color: #cad5d2; }
.lva .screen-reader-text, .lva .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .lva-wrap { width: calc(100% - 64px); }
  .lva-header > .lva-wrap { gap: 24px; }
  .lva-header nav { gap: 8px 18px; font-size: 13px; }
  .lva-logo { flex-basis: 210px; }
  .lva-logo img { width: 210px; }
  .lva-feature-copy { padding: 30px; }
  .lva-feature-image img { min-height: 300px; }
  .lva-watch-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .lva-callout { padding: 23px; }
}
@media (max-width: 900px) {
  .lva-header > .lva-wrap { min-height: 90px; }
  .lva-header > nav, .lva-header > .lva-wrap > nav { display: none; }
  .lva-header details { display: block; position: relative; flex: 0 0 auto; }
  .lva-header summary { display: flex; align-items: center; min-height: 44px; padding: 7px 12px; border: 1px solid var(--lva-line); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
  .lva-header summary::-webkit-details-marker { display: none; }
  .lva-header summary::after { content: "+"; margin-left: 14px; font-size: 20px; line-height: 1; }
  .lva-header details[open] summary::after { content: "−"; }
  .lva-header details nav { position: absolute; right: 0; top: calc(100% + 12px); display: flex; align-items: stretch; flex-direction: column; width: min(280px, calc(100vw - 48px)); padding: 14px 22px; border: 1px solid var(--lva-line); background: var(--lva-paper); box-shadow: 0 15px 35px rgb(11 51 64 / 12%); gap: 4px; }
  .lva-header details nav a { min-height: 48px; }
  .lva-hero { padding-block: 56px 44px; }
  .lva-feature { grid-template-columns: minmax(0, 1fr); margin-bottom: 58px; }
  .lva-feature-image { aspect-ratio: 16 / 9; }
  .lva-feature-image.is-short { aspect-ratio: 1 / 1; max-height: 440px; }
  .lva-feature-image img { min-height: 0; }
  .lva-feature-copy { padding: 30px 34px; }
  .lva-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .lva-watch-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lva-watch-layout aside { max-width: 100%; }
  .lva-callout { padding: 28px; }
}
@media (max-width: 600px) {
  .lva-wrap { width: calc(100% - 36px); }
  .lva-header > .lva-wrap { min-height: 80px; gap: 16px; }
  .lva-logo { flex: 0 1 182px; min-width: 0; }
  .lva-logo img { width: 182px; max-height: 54px; }
  .lva-header summary { padding-inline: 9px; font-size: 12px; }
  .lva-header summary::after { margin-left: 8px; }
  .lva-hero { padding-block: 42px 34px; }
  .lva-hero h1 { margin-bottom: 20px; font-size: clamp(30px, 8vw, 39px); line-height: 1.55; letter-spacing: .025em; }
  .lva-hero > p { font-size: 17px; line-height: 1.95; }
  .lva-eyebrow, .lva-hero .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .lva-hero-stat { margin-top: 22px; }
  .lva-feature { margin-bottom: 46px; }
  .lva-feature-copy { padding: 25px 22px 28px; }
  .lva-feature-copy h2 { font-size: 23px; }
  .lva-feature-copy p { font-size: 15px; }
  .lva-section-head { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 20px; padding-bottom: 16px; }
  .lva-section-head h2 { font-size: 27px; }
  .lva-filters { gap: 14px; padding: 18px; }
  .lva-filters label { flex-basis: 100%; }
  .lva-filters input, .lva-filters select { flex-basis: 100%; width: 100%; }
  .lva-filters button { flex: 1 1 100%; width: 100%; }
  .lva-filters > a { justify-content: center; width: 100%; min-height: 44px; }
  .lva-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .lva-card-copy { padding-block: 17px 23px; }
  .lva-card-copy h2, .lva-card-copy h3 { font-size: 22px; }
  .lva-pagination { gap: 6px; margin-block: 36px 52px; }
  .lva-pagination a, .lva-pagination span { padding-inline: 10px; }
  .lva-breadcrumb { padding-block: 20px; font-size: 11px; }
  .lva-watch-head { padding-block: 12px 22px; }
  .lva-watch-head h1 { font-size: 27px; }
  .lva-watch-head .lva-meta { font-size: 12px; }
  .lva-player { margin-bottom: 23px; }
  .lva-play::after { width: 60px; height: 60px; font-size: 22px; }
  .lva-play > span, .lva-play > strong { inset-inline: 12px; bottom: 12px; font-size: 12px; }
  .lva-copy h2 { font-size: 24px; }
  .lva-callout { padding: 24px; }
  .lva-callout a { width: 100%; }
  .lva-watch-layout { margin-bottom: 48px; }
  .lva-related { margin-block: 44px 56px; }
  .lva-empty { padding: 32px 20px; }
  .lva-footer { margin-top: 56px; padding-block: 30px; }
  .lva-footer > .lva-wrap { align-items: flex-start; flex-direction: column; gap: 18px; }
  .lva-footer nav { gap: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .lva *, .lva *::before, .lva *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.lva-watch-head h1 { text-wrap: balance; }

/* Explicit media-frame sizing: a later global img { height:auto } must not crop covers. */
.lva .lva-cover > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.lva .lva-cover.is-short > img {
  object-fit: contain;
  object-position: center;
}
.lva .lva-card > a:hover .lva-cover.is-short > img {
  transform: none;
}

/* Uniform landscape previews: portrait artwork stays centered with side gutters. */
.lva .lva-cover.is-short {
  aspect-ratio: 16 / 9;
}
.lva .lva-feature-image,
.lva .lva-feature-image.is-short {
  aspect-ratio: 16 / 9;
  align-self: center;
  max-height: none;
}
.lva .lva-feature-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}
.lva .lva-feature-image.is-short > img {
  object-fit: contain;
  object-position: center center;
}
