:root {
  color-scheme: light;
  --ink: #163e43;
  --muted: #456467;
  --line: #dcebe7;
  --accent: #176e72;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button { font: inherit; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 3px solid #16838a; outline-offset: 4px; }
.wrap { width: min(1088px, calc(100% - 64px)); margin-inline: auto; }

.masthead {
  background:
    radial-gradient(ellipse 330px 230px at 96% 0%, #d1eeeb 0, transparent 99%),
    radial-gradient(ellipse 415px 240px at 79% 113%, #e4f1da 0, transparent 99%),
    #f2f9f7;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 24px; padding-block: 55px 56px; }
.brand-logo { display: block; width: 70px; height: 70px; object-fit: contain; flex: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(26px, 3.35vw, 45px); font-weight: 760; line-height: 1.24; }
.business { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); margin-top: 12px; font-size: 15px; line-height: 1.5; }
.business span + span { border-inline-start: 1px solid #98b5b1; padding-inline-start: 12px; }

.film-library { padding-block: 36px 34px; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 20px; line-height: 1.35; }
.section-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: #25949b; }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.film { min-width: 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; box-shadow: 0 12px 26px -22px #24585b59; }
.media-frame { position: relative; display: grid; aspect-ratio: 16 / 9; background: #102725; }
.cover { position: relative; display: grid; width: 100%; height: 100%; place-items: center; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.cover img, .media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cover:focus-visible, .media-frame video:focus-visible { outline-offset: -4px; }
.cover:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, #0b211c55 100%); pointer-events: none; }
.play-mark {
  z-index: 1; display: grid; place-items: center; width: 65px; height: 65px; border-radius: 50%;
  background: #f9fdfb; color: #145055; box-shadow: 0 3px 24px #10232263; transition: transform .2s ease, background .2s ease;
}
.play-mark:before { content: ""; border: 10px solid transparent; border-left: 15px solid currentColor; border-right: 0; margin-left: 4px; }
.cover:hover .play-mark, .cover:focus-visible .play-mark { transform: scale(1.08); background: #eefaef; }
.duration { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 5px; background: #0a211fdf; font-size: 13px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.film-copy { padding: 17px 20px 20px; }
.film-copy h3 { font-size: 22px; font-weight: 720; line-height: 1.35; }
.film-copy p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.loading, .playback-error { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; text-align: center; font-size: 15px; line-height: 1.5; }
.loading { pointer-events: none; background: #10272550; text-shadow: 0 1px 4px #000; font-weight: 600; }
.playback-error { background: #102725f1; }
.retry { min-width: 80px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 8px; background: #f5faf8; color: var(--accent); font-weight: 700; cursor: pointer; }
.no-script { margin-top: 12px; }
.no-script a { color: var(--accent); }
.footer { border-top: 1px solid var(--line); padding-block: 18px max(24px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .brand { flex-direction: column; align-items: flex-start; gap: 11px; padding-block: 23px 21px; }
  .brand-logo { width: 42px; height: 42px; }
  h1 { font-size: clamp(20px, 6vw, 27px); line-height: 1.25; }
  .business { gap: 5px 8px; margin-top: 8px; font-size: clamp(12px, 3.35vw, 14px); }
  .business span + span { padding-inline-start: 8px; }
  .film-library { padding-block: 21px 22px; }
  .section-title { margin-bottom: 11px; font-size: 18px; }
  .film-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .film { border-radius: 11px; }
  .film-copy { padding: 13px 14px 15px; }
  .film-copy h3 { font-size: 19px; }
  .film-copy p { margin-top: 4px; font-size: 14px; }
  .play-mark { width: 56px; height: 56px; }
  .duration { right: 9px; bottom: 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .play-mark { transition: none; }
}
