:root {
  color-scheme: light;
  --paper: #f7f7f5;
  --white: #ffffff;
  --ink: #1e2022;
  --muted: #6d7073;
  --wine: #742638;
  --wine-dark: #4d1723;
  --forest: #18372f;
  --blue: #9eb2bb;
  --rose: #d9a5ad;
  --gold: #c8a36b;
  --line: rgba(30, 32, 34, .15);
  --serif: "Iowan Old Style", "Baskerville", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: "Avenir Next", "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}
body, button, a { letter-spacing: 0; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--wine); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}
main:focus { outline: none; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  border-radius: 4px;
  background: var(--wine-dark);
  box-shadow: 0 8px 24px rgba(21,15,17,.18);
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 50;
  width: 0;
  height: 3px;
  background: var(--rose);
  opacity: 0;
  transition: width .1s linear, opacity .2s ease;
}
.article-mode .reading-progress { opacity: 1; }

.journal-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 max(30px, calc((100% - 1320px) / 2));
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.journal-header.is-scrolled {
  height: 64px;
  border-bottom-color: rgba(255,255,255,.12);
  background: var(--wine-dark);
  box-shadow: 0 8px 24px rgba(21,15,17,.12);
}

.journal-brand { display: inline-flex; align-items: center; gap: 13px; }
.journal-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  font: italic 14px/1 var(--serif);
}
.brand-copy strong { display: block; font: 600 18px/1 var(--serif); }
.brand-copy small { display: block; margin-top: 5px; color: rgba(255,255,255,.62); font-size: 9px; }
.journal-header nav { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: 12px; }
.journal-header nav > a { position: relative; padding: 8px 0; }
.journal-header nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right .24s ease;
}
.journal-header nav > a:hover::after,
.journal-header nav > a:focus-visible::after { right: 0; }
.journal-header .journal-manage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 4px;
}
.journal-header .journal-manage::after { display: none; }
.journal-header .journal-manage:hover { color: var(--wine-dark); background: #fff; }

.journal-hero {
  position: relative;
  min-height: 660px;
  height: calc(100svh - 48px);
  max-height: 880px;
  overflow: hidden;
  color: #fff;
  background: var(--wine);
}
.hero-color {
  position: absolute;
  inset: 0 58% 0 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 0 46px 5%;
  overflow: hidden;
  color: rgba(255,255,255,.07);
  background: var(--wine);
  font: italic 168px/.7 var(--serif);
}
.hero-color i { margin-bottom: 22px; color: rgba(255,255,255,.14); font-size: 52px; font-weight: 400; }
.hero-media {
  position: absolute;
  inset: 0 0 0 42%;
  overflow: hidden;
  background: var(--forest);
}
.hero-media picture { width: 100%; height: 100%; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 15, 13, .28); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.025); animation: hero-settle 1.5s ease forwards; }
.hero-media figcaption {
  position: absolute;
  right: 28px;
  bottom: 38px;
  z-index: 2;
  color: rgba(255,255,255,.62);
  font: italic 12px var(--serif);
  writing-mode: vertical-rl;
}
.journal-hero-copy {
  position: absolute;
  left: max(30px, calc((100% - 1320px) / 2));
  top: 50%;
  z-index: 3;
  width: min(680px, calc(100% - 60px));
  transform: translateY(-42%);
}
.hero-kicker { color: rgba(255,255,255,.68); font: italic 14px var(--serif); animation: rise-in .7s .1s both; }
.journal-hero h1 {
  margin-top: 18px;
  font: 500 92px/.86 var(--serif);
  animation: rise-in .75s .18s both;
}
.journal-hero h1 span, .journal-hero h1 em { display: block; }
.journal-hero h1 em { margin-left: 86px; color: #f1d8dc; font-weight: 400; }
.hero-cn { margin: 22px 0 0 94px; font-family: var(--serif); font-size: 17px; animation: rise-in .75s .25s both; }
.journal-hero blockquote {
  width: min(510px, 100%);
  margin: 36px 0 0 94px;
  padding-left: 22px;
  color: rgba(255,255,255,.78);
  border-left: 1px solid rgba(255,255,255,.45);
  font: 16px/1.9 var(--serif);
  animation: rise-in .75s .32s both;
}
.featured-link {
  width: min(520px, calc(100% - 94px));
  min-height: 64px;
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 42px 0 0 94px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
  animation: rise-in .75s .4s both;
}
.featured-link span { color: rgba(255,255,255,.58); font: italic 11px var(--serif); }
.featured-link strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.featured-link b { font-size: 19px; font-weight: 400; transition: transform .2s ease; }
.featured-link:hover b { transform: translate(3px, -3px); }
.journal-hero.is-settled .hero-kicker,
.journal-hero.is-settled h1,
.journal-hero.is-settled .hero-cn,
.journal-hero.is-settled blockquote,
.journal-hero.is-settled .featured-link {
  opacity: 1;
  transform: none;
  animation: none;
}
.hero-index {
  position: absolute;
  right: max(30px, calc((100% - 1320px) / 2));
  bottom: 44px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.62);
  font: 11px var(--serif);
}
.hero-index i { width: 62px; height: 1px; background: rgba(255,255,255,.42); }

.journal-note {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 90px;
  padding: 96px max(32px, calc((100% - 1120px) / 2));
  overflow: hidden;
  background: #fff;
}
.note-number {
  position: absolute;
  right: 3%;
  top: -24px;
  color: rgba(116,38,56,.055);
  font: italic 210px/1 var(--serif);
  pointer-events: none;
}
.journal-note .eyebrow { grid-column: 1; }
.journal-note h2 {
  grid-column: 1;
  margin-top: 22px;
  font: 500 46px/1.38 var(--serif);
}
.note-copy {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  max-width: 500px;
  padding: 28px 0 0 30px;
  color: #555b5d;
  border-left: 1px solid var(--line);
  font-size: 15px;
  line-height: 2.1;
}
.note-signature {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  margin-top: 54px;
  color: var(--wine);
  font: italic 28px var(--serif);
}
.note-signature i { margin: 0 8px; color: var(--gold); font-size: 18px; }

.eyebrow { color: var(--wine); font: italic 13px var(--serif); }
.collection { padding: 92px max(32px, calc((100% - 1120px) / 2)) 108px; background: #eef2f3; }
.collection-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 42px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.collection h2 { margin-top: 12px; font: 500 48px/1.15 var(--serif); }
.collection-intro { max-width: 380px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.filter-button span { margin-left: 6px; color: var(--blue); font: 11px var(--serif); }
.filter-button.is-active,
.filter-button:hover { color: #fff; border-color: var(--wine); background: var(--wine); }

.post-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; padding-top: 30px; }
.post-skeleton {
  grid-column: span 6;
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(30,32,34,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
  animation: skeleton-pulse 1.2s ease-in-out infinite alternate;
}
.post-skeleton-featured { grid-column: 1 / -1; min-height: 280px; }
.post-skeleton i, .post-skeleton b, .post-skeleton span { display: block; border-radius: 3px; background: #dfe5e6; }
.post-skeleton i { width: 64px; height: 9px; }
.post-skeleton b { width: min(420px,72%); height: 34px; }
.post-skeleton span { width: min(560px,88%); height: 12px; }
.post-row {
  position: relative;
  grid-column: span 6;
  min-height: 260px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px;
  border: 1px solid rgba(30,32,34,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.post-row:first-child { grid-column: span 12; min-height: 280px; }
.post-row:first-child.has-cover { min-height: 360px; grid-template-columns: 1fr minmax(260px, 42%); grid-template-rows: auto 1fr auto; gap: 0 44px; }
.post-row:first-child:not(.has-cover)::after {
  content: "ENTRE NOUS";
  position: absolute;
  right: 34px;
  bottom: 12px;
  color: rgba(116,38,56,.055);
  font: italic 66px/1 var(--serif);
  pointer-events: none;
}
.post-row:hover { border-color: rgba(116,38,56,.34); box-shadow: 0 20px 44px rgba(30,32,34,.1); transform: translateY(-5px); }
.post-number { color: var(--wine); font: italic 14px var(--serif); }
.post-number { grid-column: 1; grid-row: 1; }
.post-date { grid-column: 1; grid-row: 1; justify-self: end; color: var(--muted); font: 12px var(--serif); }
.post-main { grid-column: 1; grid-row: 2; align-self: center; padding: 30px 0; }
.post-main h3 { font: 500 30px/1.35 var(--serif); transition: color .18s ease; }
.post-main p { max-width: 470px; margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.post-row:hover .post-main h3 { color: var(--wine); }
.post-side { grid-column: 1; grid-row: 3; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-category { color: var(--wine); font: italic 12px var(--serif); }
.post-thumb { width: 100%; height: 100%; min-height: 300px; grid-column: 2; grid-row: 1 / 4; object-fit: cover; border-radius: 6px; }
.post-arrow { font-size: 22px; transition: transform .2s ease; }
.post-row:hover .post-arrow { transform: translate(4px, -4px); }
.post-row:not(:first-child) .post-thumb { display: none; }

.empty-state { grid-column: 1 / -1; padding: 90px 0; text-align: center; }
.empty-state span { color: var(--wine); font: italic 14px var(--serif); }
.empty-state h3 { margin-top: 18px; font: 32px var(--serif); }
.empty-state p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.empty-retry { min-height: 40px; display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 0 16px; color: #fff; border: 0; border-radius: 6px; background: var(--wine); font-size: 12px; }
.empty-retry:hover { background: var(--wine-dark); }
.empty-retry:disabled { cursor: wait; opacity: .62; }
.empty-retry b { font-size: 16px; font-weight: 400; }

.film-collection {
  min-height: 100svh;
  padding: 154px max(28px, calc((100% - 1180px) / 2)) 96px;
  background: var(--paper);
}
.film-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  align-items: end;
  gap: 72px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}
.film-masthead h1 { margin-top: 18px; font: 500 54px/1.2 var(--serif); text-wrap: balance; }
.film-masthead h1 em { color: var(--wine); font-weight: 400; }
.film-masthead > p { max-width: 330px; padding-left: 24px; color: var(--muted); border-left: 1px solid var(--rose); font: 14px/1.9 var(--serif); }
.film-toolbar { min-height: 92px; display: flex; align-items: center; gap: 30px; }
.film-toolbar > p:first-child { color: var(--muted); font: italic 12px var(--serif); text-transform: uppercase; }
.film-toolbar > p:first-child span { color: var(--wine); font-size: 22px; }
.film-filters { margin-left: auto; }
.film-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 22px; }
.film-card { min-width: 0; grid-column: span 4; }
.film-card:first-child { grid-column: span 7; }
.film-card:nth-child(2) { grid-column: span 5; }
.film-card-media {
  position: relative;
  aspect-ratio: var(--film-ratio, 1.7778);
  overflow: hidden;
  border-radius: 4px;
  background: #252827;
}
.film-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;
  pointer-events: none;
}
.film-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.72,.24,1), filter .3s ease; }
.film-card:hover .film-card-media img { filter: saturate(.9); transform: scale(1.025); }
.film-duration { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 5px 7px; color: #fff; border-radius: 3px; background: rgba(21,22,22,.78); font: 10px/1 var(--sans); }
.film-card-copy { padding-top: 18px; border-top: 1px solid transparent; transition: border-color .2s ease; }
.film-card:hover .film-card-copy { border-top-color: var(--rose); }
.film-card-copy > p:first-child { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font: italic 11px var(--serif); }
.film-card-copy > p:first-child span { color: var(--wine); }
.film-card-copy h2 { margin-top: 12px; font: 500 28px/1.35 var(--serif); transition: color .2s ease; }
.film-card:hover .film-card-copy h2 { color: var(--wine); }
.film-card-description { display: -webkit-box; margin-top: 10px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.film-card-action { display: inline-block; margin-top: 18px; color: var(--wine); font-size: 11px; }
.film-skeleton { min-height: 340px; grid-column: span 4; animation: skeleton-pulse 1.1s ease-in-out infinite alternate; }
.film-skeleton:first-child { grid-column: span 7; }
.film-skeleton:nth-child(2) { grid-column: span 5; }
.film-skeleton i { display: block; aspect-ratio: 16 / 9; background: #e5e7e6; }
.film-skeleton b, .film-skeleton span { display: block; height: 12px; margin-top: 18px; background: #e5e7e6; }
.film-skeleton b { width: 66%; height: 24px; }
.film-skeleton span { width: 42%; }
.film-empty { padding: 110px 0 50px; text-align: center; }
.film-empty > span { color: var(--wine); font: italic 14px var(--serif); }
.film-empty h2 { margin-top: 18px; font: 36px var(--serif); }
.film-empty p { margin-top: 12px; color: var(--muted); font-size: 13px; }

.article-view { min-height: 100svh; padding: 150px max(28px, calc((100% - 1180px) / 2)) 0; background: #fff; }
.article-mode .journal-header,
.video-mode .journal-header { color: var(--ink); border-bottom-color: var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.article-mode .journal-header.is-scrolled,
.video-mode .journal-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(21,25,27,.08); }
.article-mode .journal-mark,
.video-mode .journal-mark { border-color: var(--ink); }
.article-mode .brand-copy small,
.video-mode .brand-copy small { color: var(--muted); }
.article-mode .journal-header .journal-manage,
.video-mode .journal-header .journal-manage { border-color: var(--line); }
.article-mode .journal-header .journal-manage:hover,
.video-mode .journal-header .journal-manage:hover { color: #fff; background: var(--wine); }
.article-rail { display: flex; align-items: center; justify-content: space-between; }
.article-back, .copy-link {
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.article-back:hover, .copy-link:hover { color: var(--wine); }
.article-head { width: min(900px, 100%); margin: 72px auto 56px; text-align: center; }
.article-overline { color: var(--wine); font: italic 14px var(--serif); }
.article-meta { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 11px; }
.article-meta i { width: 18px; height: 1px; background: var(--rose); }
.article-head h1 { margin-top: 26px; font: 500 58px/1.28 var(--serif); text-wrap: balance; }
.article-head > p:last-child { width: min(650px,100%); margin: 24px auto 0; color: var(--muted); font: 16px/1.9 var(--serif); }
.article-cover-wrap { width: min(1080px, 100%); margin: 0 auto; }
.article-cover { width: 100%; max-height: 700px; object-fit: cover; }
.article-cover-wrap figcaption { margin-top: 10px; color: var(--muted); font: italic 11px var(--serif); text-align: right; }
.article-body { width: min(720px, 100%); margin: 64px auto 0; }
.article-dropcap { float: left; margin: 9px 10px 0 0; color: var(--wine); font: 60px/.74 var(--serif); }
.article-dropcap.is-compact { float: none; margin: 0 .08em 0 0; font-size: 1.35em; line-height: 1; }
.article-body p,
.article-body li { color: #363a3c; font: 17px/2.05 var(--serif); white-space: pre-line; }
.article-body p + p { margin-top: 26px; }
.article-body h2 { margin: 64px 0 24px; font: 500 34px/1.45 var(--serif); }
.article-body h3 { margin: 44px 0 20px; color: var(--wine); font: 500 24px/1.5 var(--serif); }
.article-body blockquote { margin: 46px -58px; padding: 34px 58px; color: var(--wine-dark); border-top: 1px solid var(--rose); border-bottom: 1px solid var(--rose); font: italic 24px/1.8 var(--serif); text-align: center; }
.article-body ul { margin: 26px 0; padding-left: 24px; }
.article-gallery { width: min(980px,100%); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 72px auto 0; }
.article-gallery img { width: 100%; height: 100%; max-height: 680px; object-fit: cover; background: #edf0f0; }
.article-gallery img:nth-child(3n) { grid-column: 1 / -1; }
.article-end { width: min(720px,100%); margin: 44px auto 0; padding: 46px 0 72px; border-top: 1px solid var(--line); text-align: center; }
.article-end span { display: block; color: var(--wine); font: italic 42px var(--serif); }
.article-end p { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.article-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; margin-top: 34px; text-align: left; }
.article-navigation > a { min-height: 78px; display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.article-navigation > a:hover { color: var(--wine); border-color: var(--rose); background: #fbf7f8; transform: translateY(-2px); }
.article-navigation small { color: var(--muted); font-size: 9px; }
.article-navigation strong { display: block; margin-top: 6px; overflow: hidden; font: 500 14px/1.45 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.article-navigation .article-all { min-height: 78px; align-items: center; color: var(--wine); font-size: 11px; text-align: center; }
.article-navigation.is-single { grid-template-columns: minmax(170px,220px); justify-content: center; }
.article-navigation.is-single .article-all { min-height: 52px; grid-column: 1; grid-row: 1; }
#article-next { text-align: right; }

.video-view { min-height: 100svh; padding: 150px max(28px, calc((100% - 1180px) / 2)) 0; background: #fff; }
.video-rail > a { color: var(--muted); font-size: 12px; }
.video-rail > a:hover { color: var(--wine); }
.video-head { width: min(900px, 100%); margin: 66px auto 48px; text-align: center; }
.video-head h1 { margin-top: 26px; font: 500 58px/1.25 var(--serif); text-wrap: balance; }
.video-head > p:last-child { width: min(650px, 100%); margin: 22px auto 0; color: var(--muted); font: 16px/1.9 var(--serif); }
.video-player-figure { width: min(1180px, 100%); margin: 0 auto; }
.video-player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: var(--video-ratio, 1.7778);
  overflow: hidden;
  background: #161817;
}
.video-player-shell video { width: 100%; height: 100%; display: block; object-fit: contain; background: #161817; }
.player-status { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; padding: 24px; color: #fff; background: rgba(18,20,19,.92); text-align: center; }
.player-status span { color: var(--rose); font: italic 12px var(--serif); }
.player-status p { margin-top: 12px; font: 18px/1.6 var(--serif); }
.player-status button { min-height: 40px; margin-top: 20px; padding: 0 16px; color: #fff; border: 1px solid rgba(255,255,255,.44); border-radius: 4px; background: transparent; cursor: pointer; }
.player-status button:hover { color: var(--wine-dark); background: #fff; }
.video-player-figure > figcaption { margin-top: 12px; color: var(--muted); font: italic 11px var(--serif); text-align: right; }
.video-end { margin-top: 70px; }
#video-next { text-align: right; }
.article-video-block {
  width: min(900px, calc(100vw - 56px));
  margin: 52px 50%;
  transform: translateX(-50%);
}
.article-video-block .video-player-shell { box-shadow: 0 18px 46px rgba(24,26,25,.12); }
.article-video-block figcaption { margin-top: 11px; color: var(--muted); font: italic 11px/1.6 var(--serif); text-align: right; }

.missing-view {
  min-height: max(560px, calc(100svh - 190px));
  padding: 150px max(28px, calc((100% - 1180px) / 2)) 76px;
  overflow: hidden;
  background: #fff;
}
.missing-view[hidden] { display: none; }
.missing-rail { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.missing-rail a { min-height: 44px; display: inline-flex; align-items: center; transition: color .2s ease; }
.missing-rail a:hover { color: var(--wine); }
.missing-rail span { color: var(--wine); font: italic 12px var(--serif); }
.missing-stage {
  position: relative;
  width: min(850px, 100%);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  text-align: center;
}
.missing-overline { position: relative; z-index: 1; color: var(--wine); font: italic 14px var(--serif); }
.missing-number {
  position: absolute;
  top: 12px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #f8eff1;
  font: 260px/.9 var(--serif);
  transform: translateX(-50%);
  user-select: none;
}
.missing-number i { color: var(--rose); font-size: 54px; }
.missing-stage h1 { position: relative; z-index: 1; margin-top: 28px; font: 500 52px/1.35 var(--serif); text-wrap: balance; }
.missing-stage > p:not(.missing-overline) { position: relative; z-index: 1; width: min(520px,100%); margin-top: 22px; color: var(--muted); font: 15px/1.9 var(--serif); }
.missing-action {
  position: relative;
  z-index: 1;
  min-width: 210px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 0 18px;
  color: var(--wine);
  border: 1px solid var(--rose);
  border-radius: 6px;
  font-size: 12px;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.missing-action:hover { color: #fff; border-color: var(--wine); background: var(--wine); transform: translateY(-2px); }

.journal-footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 42px max(30px, calc((100% - 1120px) / 2));
  color: rgba(255,255,255,.68);
  background: var(--forest);
  font-size: 11px;
}
.journal-footer > div:first-child strong { display: block; color: #fff; font: 24px var(--serif); }
.journal-footer > div:first-child span { display: block; margin-top: 6px; }
.journal-footer > p { color: var(--rose); font: italic 16px var(--serif); }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.journal-footer a:hover { color: #fff; }
.copy-toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; padding: 11px 16px; border-radius: 4px; color: #fff; background: var(--wine); font-size: 12px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, visibility 0s linear .2s, transform .2s ease; }
.copy-toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.copy-toast[data-tone="error"] { background: #702d28; }
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #fff;
  background: var(--wine-dark);
  box-shadow: 0 10px 26px rgba(77,23,35,.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top:hover { background: var(--wine); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.reveal { opacity: 1; transform: none; }

@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1.025); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes skeleton-pulse { from { opacity: .48; } to { opacity: 1; } }

@media (min-width: 641px) and (max-width: 1180px) {
  .hero-media::after {
    background: linear-gradient(
      90deg,
      rgba(70,20,34,.72) 0%,
      rgba(8,15,13,.48) 34%,
      rgba(8,15,13,.28) 68%,
      rgba(8,15,13,.28) 100%
    );
  }
  .journal-hero blockquote,
  .featured-link { text-shadow: 0 1px 12px rgba(12,8,9,.28); }
}

@media (max-width: 900px) {
  .journal-header { height: 74px; padding: 0 22px; }
  .journal-header nav { gap: 18px; }
  .journal-hero { min-height: 660px; }
  .hero-color { inset-right: 48%; }
  .hero-media { left: 52%; }
  .journal-hero-copy { left: 30px; width: calc(100% - 60px); }
  .journal-hero h1 { font-size: 76px; }
  .journal-hero h1 em { margin-left: 54px; }
  .hero-cn, .journal-hero blockquote, .featured-link { margin-left: 60px; }
  .journal-note { grid-template-columns: 1fr; column-gap: 0; padding-top: 90px; padding-bottom: 90px; }
  .note-copy { grid-column: 1; grid-row: auto; max-width: 620px; margin-top: 42px; }
  .note-signature { grid-column: 1; justify-self: start; }
  .collection-head { grid-template-columns: 1fr auto; }
  .collection-intro { grid-column: 1 / -1; grid-row: 2; }
  .filters { grid-column: 2; grid-row: 1; }
  .post-row, .post-row:first-child { grid-column: 1 / -1; }
  .post-skeleton { grid-column: 1 / -1; }
  .film-collection { padding-left: 24px; padding-right: 24px; }
  .film-masthead { grid-template-columns: 1fr; gap: 28px; }
  .film-masthead > p { max-width: 620px; }
  .film-card,
  .film-card:first-child,
  .film-card:nth-child(2),
  .film-skeleton,
  .film-skeleton:first-child,
  .film-skeleton:nth-child(2) { grid-column: span 6; }
}

@media (max-width: 640px) {
  .journal-header { height: 68px; padding: 0 16px; }
  .journal-header.is-scrolled { height: 58px; }
  .journal-mark { width: 36px; height: 36px; font-size: 12px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small, .journal-header nav > a:first-child { display: none; }
  .journal-header nav { gap: 12px; }
  .journal-header .journal-manage { padding: 7px 9px; }
  .journal-hero { min-height: 620px; height: 92svh; max-height: none; }
  .hero-color { inset: 0; height: 58%; padding-left: 16px; font-size: 110px; }
  .hero-media { inset: 54% 0 0 24%; }
  .hero-media::after { background: linear-gradient(90deg, rgba(8,15,13,.5), rgba(8,15,13,.22)); }
  .hero-media figcaption { right: 12px; bottom: 18px; }
  .journal-hero-copy { left: 20px; top: 118px; width: calc(100% - 40px); transform: none; }
  .hero-kicker { font-size: 11px; }
  .journal-hero h1 { margin-top: 12px; font-size: 60px; }
  .journal-hero h1 em { margin-left: 42px; }
  .hero-cn { margin: 14px 0 0 46px; font-size: 14px; }
  .journal-hero blockquote { width: calc(100% - 40px); margin: 26px 0 0 46px; color: rgba(255,255,255,.9); font-size: 14px; text-shadow: 0 2px 14px rgba(18,7,10,.42); }
  .featured-link {
    position: relative;
    z-index: 4;
    width: calc(100% - 46px);
    grid-template-columns: 84px minmax(0,1fr) auto;
    gap: 10px;
    margin: 25px 0 0 46px;
    padding: 12px 10px;
    border-color: rgba(255,255,255,.48);
    border-radius: 2px;
    background: var(--wine);
  }
  .featured-link span { color: rgba(255,255,255,.78); }
  .hero-index { display: none; }
  .journal-note { min-height: 0; padding: 64px 22px; }
  .note-number { right: -4px; top: 20px; font-size: 104px; }
  .journal-note h2 { font-size: 36px; }
  .note-copy { margin-top: 34px; padding-left: 20px; font-size: 14px; }
  .note-signature { margin-top: 40px; font-size: 24px; }
  .collection { padding: 64px 20px 76px; }
  .collection-head { grid-template-columns: 1fr; gap: 24px; }
  .collection h2 { font-size: 38px; }
  .filters { grid-column: 1; grid-row: 3; justify-content: flex-start; }
  .post-list { display: block; padding-top: 20px; }
  .post-row, .post-row:first-child, .post-row:first-child.has-cover { min-height: 250px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 0 14px; margin-top: 14px; padding: 22px; }
  .post-row:first-child { margin-top: 0; }
  .post-thumb, .post-row:first-child .post-thumb { display: none; }
  .post-row:first-child:not(.has-cover)::after { right: 16px; bottom: 14px; font-size: 38px; }
  .post-main { grid-column: 1 / -1; padding: 28px 0; }
  .post-main h3 { font-size: 27px; }
  .post-side { grid-column: 1 / -1; }
  .film-collection { padding: 112px 20px 72px; }
  .film-masthead { gap: 24px; padding-bottom: 38px; }
  .film-masthead h1 { font-size: 39px; }
  .film-masthead > p { padding-left: 18px; font-size: 13px; }
  .film-toolbar { min-height: 0; display: block; padding: 28px 0 22px; }
  .film-filters { justify-content: flex-start; margin-top: 18px; }
  .film-grid { display: block; }
  .film-card { display: block; margin-top: 38px; }
  .film-card:first-child { margin-top: 0; }
  .film-card-copy h2 { font-size: 27px; }
  .film-card-description { font-size: 13px; }
  .film-skeleton { min-height: 300px; margin-top: 24px; }
  .film-skeleton:first-child { margin-top: 0; }
  .film-empty { padding: 80px 0 30px; }
  .article-view { padding: 110px 20px 0; }
  .article-mode .journal-header,
  .video-mode .journal-header { background: rgba(255,255,255,.985); backdrop-filter: none; }
  .article-head { margin: 50px auto 40px; text-align: left; }
  .article-meta { justify-content: flex-start; flex-wrap: wrap; }
  .article-head h1 { font-size: 39px; }
  .article-head > p:last-child { margin-left: 0; }
  .article-body { margin-top: 46px; }
  .article-body p, .article-body li { font-size: 16px; }
  .article-dropcap { margin-top: 8px; margin-right: 8px; font-size: 52px; line-height: .76; }
  .article-body blockquote { margin: 38px 0; padding: 26px 0; font-size: 21px; }
  .article-end { margin-top: 28px; padding: 42px 0 64px; }
  .article-gallery { grid-template-columns: 1fr; }
  .article-gallery img:nth-child(3n) { grid-column: auto; }
  .article-navigation { grid-template-columns: 1fr 1fr; gap: 10px; }
  .article-navigation .article-all { grid-column: 1 / -1; grid-row: 2; min-height: 48px; }
  .article-navigation.is-single .article-all { min-height: 48px; }
  .article-navigation > a { min-width: 0; }
  .video-view { padding: 110px 20px 0; }
  .video-head { margin: 50px auto 36px; text-align: left; }
  .video-head .article-meta { justify-content: flex-start; flex-wrap: wrap; }
  .video-head h1 { font-size: 39px; }
  .video-head > p:last-child { margin-left: 0; font-size: 15px; }
  .video-player-figure > figcaption { text-align: left; }
  .video-end { margin-top: 48px; }
  .article-video-block { width: calc(100vw - 40px); margin-top: 40px; margin-bottom: 40px; }
  .article-video-block figcaption { text-align: left; }
  .player-status p { font-size: 16px; }
  .missing-view { min-height: max(540px, calc(100svh - 283px)); padding: 110px 20px 64px; }
  .missing-stage { min-height: 350px; margin-top: 12px; }
  .missing-number { top: 54px; gap: 14px; font-size: 150px; }
  .missing-number i { font-size: 34px; }
  .missing-stage h1 { margin-top: 24px; font-size: 36px; text-align: left; }
  .missing-stage > p:not(.missing-overline) { font-size: 14px; text-align: left; }
  .missing-action { width: 100%; margin-top: 28px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .journal-footer { grid-template-columns: 1fr; gap: 24px; padding: 44px 22px; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 360px) {
  .journal-hero blockquote {
    position: relative;
    z-index: 4;
    padding: 10px 12px 10px 18px;
    background: rgba(116,38,56,.84);
    border-left-color: rgba(255,255,255,.55);
  }
}

@media (max-width: 640px) and (max-height: 620px) {
  .journal-hero { min-height: 0; height: calc(100svh - 72px); }
  .hero-media { top: 52%; }
  .journal-hero-copy { top: 90px; }
  .journal-hero h1 { margin-top: 8px; font-size: 54px; }
  .journal-hero h1 em { margin-left: 38px; }
  .hero-cn { margin: 8px 0 0 42px; font-size: 13px; }
  .journal-hero blockquote {
    width: calc(100% - 32px);
    margin: 14px 0 0 42px;
    font-size: 13px;
    line-height: 1.7;
  }
  .featured-link {
    width: calc(100% - 42px);
    margin: 12px 0 0 42px;
    padding: 10px 8px;
  }
}

@media (min-width: 641px) and (max-height: 620px) {
  .journal-hero { min-height: 0; height: calc(100svh - 48px); }
}

@media (max-width: 640px), (pointer: coarse) {
  .skip-link,
  .journal-brand { min-height: 44px; }
  .skip-link { display: inline-flex; align-items: center; }
  .journal-header nav > a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .journal-header .journal-manage,
  .filter-button,
  .empty-retry,
  .article-back,
  .copy-link,
  .video-rail > a,
  .player-status button,
  .footer-links a { min-height: 44px; }
  .article-back,
  .copy-link,
  .video-rail > a,
  .footer-links a { display: inline-flex; align-items: center; }
  .back-to-top { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-kicker,
  .journal-hero h1,
  .hero-cn,
  .journal-hero blockquote,
  .featured-link { opacity: 1; transform: none; animation: none !important; }
}

/* 2026-08-31 · 拾光簿式公开端 */
:root {
  --social-blue: #576b95;
  --social-blue-dark: #3f527c;
  --social-bg: #f3f4f5;
  --social-panel: #f7f7f7;
  --social-line: #e6e7e8;
  --social-green: #07c160;
}

.moments-header .account-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: inherit;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 4px;
  background: rgba(0,0,0,.08);
  cursor: pointer;
}
.moments-header .account-button b { color: var(--social-green); font-size: 10px; }
.moments-header .account-button:hover { color: var(--wine-dark); background: #fff; }
.article-mode .moments-header .account-button,
.video-mode .moments-header .account-button { border-color: var(--line); background: transparent; }
.article-mode .moments-header .account-button:hover,
.video-mode .moments-header .account-button:hover { color: #fff; border-color: var(--wine); background: var(--wine); }

.moments-cover {
  min-height: 460px;
  height: min(62svh, 620px);
  max-height: 620px;
  overflow: visible;
  z-index: 2;
  background: #28322d;
}
.moments-cover .hero-media { inset: 0; }
.moments-cover .hero-media::after { display: none; }
.moments-cover .hero-media img { object-position: center 48%; }
.moments-cover .hero-media figcaption {
  right: auto;
  left: max(26px, calc((100% - 1040px) / 2));
  bottom: 26px;
  writing-mode: initial;
}
.moments-cover-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,16,14,.1) 30%, rgba(10,16,14,.74) 100%);
}
.moments-profile {
  left: 50%;
  top: auto;
  bottom: -54px;
  width: min(760px, calc(100% - 40px));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 22px;
  transform: translateX(-50%);
}
.moments-profile-copy { padding-bottom: 72px; text-align: right; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.moments-profile .hero-kicker { color: rgba(255,255,255,.72); font: italic 12px var(--serif); }
.moments-profile h1 { margin-top: 8px; font: 600 36px/1.2 var(--serif); }
.moments-profile blockquote {
  width: auto;
  margin: 10px 0 0;
  padding: 0;
  color: rgba(255,255,255,.8);
  border: 0;
  font: 13px/1.7 var(--serif);
}
.moments-owner-avatar {
  width: 108px;
  height: 108px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border: 4px solid #fff;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--wine), var(--forest));
  box-shadow: 0 12px 32px rgba(25,31,28,.24);
  font: italic 30px/1 var(--serif);
}
.moments-owner-avatar span { margin: 0 4px; color: var(--rose); font-size: 18px; }

.moments-welcome {
  width: min(760px, calc(100% - 40px));
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
  padding: 92px 0 38px;
  background: transparent;
  border-bottom: 1px solid var(--social-line);
}
.moments-welcome h2 { margin-top: 8px; font: 500 25px/1.4 var(--serif); }
.moments-welcome .note-copy {
  max-width: 520px;
  margin-top: 8px;
  padding: 0;
  color: var(--muted);
  border: 0;
  font: 13px/1.8 var(--sans);
}
.welcome-action {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 16px;
  color: var(--social-blue);
  border: 1px solid #cdd3df;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.welcome-action:hover { color: #fff; border-color: var(--social-blue); background: var(--social-blue); }

.moments-collection { padding: 30px 20px 100px; background: #fff; }
.moments-collection .collection-head {
  width: min(760px, 100%);
  grid-template-columns: 1fr auto;
  gap: 18px 32px;
  margin: 0 auto;
  padding: 10px 0 26px;
}
.moments-collection .collection-head > div:first-child { min-width: 0; }
.moments-collection h2 { margin-top: 6px; font: 500 34px/1.2 var(--serif); }
.moments-collection .collection-intro { grid-column: 1; max-width: 520px; }
.moments-collection .filters { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.moments-collection .filter-button.is-active,
.moments-collection .filter-button:hover { border-color: var(--social-blue); background: var(--social-blue); }
.moments-collection .post-list { width: min(760px, 100%); display: block; margin: 0 auto; padding-top: 0; }

.moment-skeleton {
  min-height: 220px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-content: start;
  gap: 14px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--social-line);
  border-radius: 0;
  background: #fff;
}
.moment-skeleton i { width: 48px; height: 48px; grid-row: 1 / 4; background: #e2e4e6; }
.moment-skeleton b { width: 38%; height: 18px; }
.moment-skeleton span { width: 78%; height: 12px; }

.moment-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--social-line);
}
.moment-avatar,
.comment-avatar,
.profile-avatar {
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--wine), var(--forest));
  font: italic 16px/1 var(--serif);
}
.moment-avatar { width: 48px; height: 48px; }
.moment-avatar img,
.comment-avatar img,
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.moment-main { min-width: 0; }
.moment-author { color: var(--social-blue); font-size: 15px; font-weight: 650; }
.moment-heading { margin-top: 9px; font: 500 22px/1.4 var(--serif); }
.moment-heading a:hover { color: var(--wine); }
.moment-text {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  color: #282b2d;
  font: 15px/1.72 var(--sans);
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
.moment-more { display: inline-flex; margin-top: 7px; color: var(--social-blue); font-size: 13px; }
.moment-location { margin-top: 9px; color: var(--social-blue); font-size: 11px; }
.moment-gallery {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 13px;
}
.moment-gallery[data-count="1"] { grid-template-columns: minmax(0, 360px); }
.moment-gallery[data-count="2"],
.moment-gallery[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.moment-gallery a { position: relative; aspect-ratio: 1; overflow: hidden; background: #eef0f1; }
.moment-gallery[data-count="1"] a { aspect-ratio: 4 / 3; }
.moment-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.moment-gallery a:hover img { transform: scale(1.025); }
.moment-video { width: min(520px, 100%); margin: 14px 0 0; transform: none; }
.moment-video .video-player-shell { box-shadow: none; }
.moment-video figcaption { text-align: left; }
.moment-meta { display: flex; align-items: center; gap: 10px; margin-top: 13px; color: #9a9c9e; font-size: 11px; }
.moment-delete-spacer { flex: 1; }
.moment-action {
  min-width: 66px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--social-blue);
  border: 0;
  border-radius: 4px;
  background: var(--social-panel);
  cursor: pointer;
}
.moment-action:hover { background: #eceef1; }
.moment-action.is-active { color: #c83f4f; }
.moment-action[aria-busy="true"] { opacity: .55; cursor: wait; }
.moment-action-icon { font-size: 14px; }

.moment-interactions { position: relative; margin-top: 10px; border-radius: 4px; background: var(--social-panel); }
.moment-interactions::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--social-panel);
  border-left: 8px solid transparent;
}
.moment-likes { display: flex; gap: 8px; padding: 10px 12px; color: var(--social-blue); font-size: 13px; line-height: 1.6; }
.moment-likes + .moment-comments { border-top: 1px solid #e2e3e4; }
.moment-like-heart { flex: 0 0 auto; color: #c83f4f; }
.moment-comments { padding: 7px 12px; }
.moment-comment {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.55;
}
.moment-comment-body { min-width: 0; overflow-wrap: anywhere; }
.comment-name { color: var(--social-blue); font-weight: 600; cursor: pointer; }
.comment-name:hover { text-decoration: underline; }
.comment-reply-to { color: #73777b; }
.comment-deleted { color: #9c9fa2; font-style: italic; }
.comment-delete { align-self: start; padding: 0; color: #a4a6a8; border: 0; background: transparent; cursor: pointer; font-size: 11px; }
.comment-delete:hover { color: #b33a45; }
.moment-comments-loading { padding: 10px 12px; color: #9a9c9e; font-size: 12px; }

.moment-composer { display: flex; gap: 8px; margin-top: 9px; }
.moment-composer input {
  min-width: 0;
  min-height: 39px;
  flex: 1;
  padding: 8px 11px;
  border: 1px solid #d9dbdd;
  border-radius: 4px;
  background: #fff;
}
.moment-composer input:focus { outline: 2px solid rgba(87,107,149,.18); border-color: var(--social-blue); }
.moment-composer button { min-width: 62px; border: 0; border-radius: 4px; color: #fff; background: var(--social-blue); cursor: pointer; }
.moment-composer button:hover { background: var(--social-blue-dark); }
.moment-composer button:disabled { opacity: .55; cursor: wait; }

.social-dialog {
  width: min(500px, calc(100% - 28px));
  max-height: min(760px, calc(100svh - 28px));
  padding: 34px;
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 90px rgba(15,20,18,.28);
}
.social-dialog::backdrop { background: rgba(18,24,21,.58); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 13px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 25px; font-weight: 300; }
.dialog-close:hover { background: var(--social-bg); }
.auth-intro { padding-right: 30px; }
.auth-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; border-radius: 8px; background: linear-gradient(145deg, var(--wine), var(--forest)); font: italic 15px var(--serif); }
.auth-intro h2, .profile-head h2 { margin-top: 6px; font: 500 30px/1.3 var(--serif); }
.auth-intro > p:last-child { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.auth-tabs, .profile-tabs { display: flex; gap: 22px; margin-top: 26px; border-bottom: 1px solid var(--social-line); }
.auth-tabs button, .profile-tabs button { position: relative; min-height: 42px; padding: 0; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 13px; }
.auth-tabs button[aria-selected="true"], .profile-tabs button[aria-selected="true"] { color: var(--social-blue); font-weight: 650; }
.auth-tabs button[aria-selected="true"]::after, .profile-tabs button[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--social-blue); }
.social-form { display: grid; gap: 15px; margin-top: 22px; }
.social-form label { display: grid; gap: 7px; color: #555a5c; font-size: 12px; }
.social-form input { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--ink); border: 1px solid #d9dbdd; border-radius: 5px; background: #fff; }
.social-form input:focus { outline: 2px solid rgba(87,107,149,.16); border-color: var(--social-blue); }
.form-submit { min-height: 44px; color: #fff; border: 0; border-radius: 5px; background: var(--social-blue); cursor: pointer; }
.form-submit:hover { background: var(--social-blue-dark); }
.form-submit:disabled { opacity: .58; cursor: wait; }
.form-hint { color: var(--muted); font-size: 11px; line-height: 1.6; }
.form-message { min-height: 18px; color: #b33a45; font-size: 12px; }
.form-message[data-tone="success"] { color: #2d7d50; }

.profile-dialog { width: min(620px, calc(100% - 28px)); }
.profile-head { display: flex; align-items: center; gap: 16px; padding-right: 34px; }
.profile-avatar { width: 64px; height: 64px; flex: 0 0 auto; font-size: 19px; }
#profile-username { margin-top: 4px; color: var(--muted); font-size: 12px; }
.profile-panel { max-height: 370px; overflow: auto; margin-top: 18px; }
.profile-panel.social-form { overflow: visible; }
.panel-loading, .profile-empty { padding: 42px 10px; color: var(--muted); text-align: center; font-size: 13px; }
.profile-event { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 13px 2px; border-bottom: 1px solid var(--social-line); }
.profile-event-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--social-blue); border-radius: 50%; background: #eef0f5; font-size: 13px; }
.profile-event p { font-size: 13px; line-height: 1.6; }
.profile-event a { color: var(--social-blue); }
.profile-event time { display: block; margin-top: 4px; color: #a0a3a5; font-size: 10px; }
.profile-logout { width: 100%; min-height: 42px; margin-top: 20px; color: #a43843; border: 1px solid #eedcdf; border-radius: 5px; background: #fff; cursor: pointer; }
.profile-logout:hover { background: #fff7f8; }

@media (max-width: 760px) {
  .moments-header .journal-brand { display: inline-flex; }
  .moments-header .brand-copy small { display: none; }
  .moments-header nav > a:first-child,
  .moments-header .journal-manage { display: none; }
  .moments-header nav { gap: 8px; }
  .moments-header .account-button { min-width: 44px; padding: 0 10px; }
  .moments-cover { min-height: 360px; height: 56svh; max-height: 500px; }
  .moments-cover .hero-media { inset: 0; }
  .moments-cover .hero-media figcaption { display: none; }
  .moments-profile { bottom: -44px; width: calc(100% - 28px); gap: 12px; }
  .moments-profile-copy { min-width: 0; padding-bottom: 59px; }
  .moments-profile h1 { font-size: 26px; }
  .moments-profile blockquote { max-width: 230px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
  .moments-owner-avatar { width: 88px; height: 88px; border-width: 3px; font-size: 24px; }
  .moments-welcome { width: calc(100% - 36px); align-items: flex-start; gap: 18px; padding: 75px 0 25px; }
  .moments-welcome h2 { font-size: 20px; }
  .moments-welcome .note-copy { font-size: 12px; }
  .welcome-action { min-width: 44px; width: 44px; padding: 0; overflow: hidden; color: transparent; }
  .welcome-action::after { content: "+"; color: var(--social-blue); font-size: 22px; }
  .welcome-action:hover::after { color: #fff; }
  .moments-collection { padding: 18px 18px 72px; }
  .moments-collection .collection-head { grid-template-columns: 1fr; padding-bottom: 20px; }
  .moments-collection h2 { font-size: 29px; }
  .moments-collection .collection-intro { grid-column: 1; }
  .moments-collection .filters { grid-column: 1; grid-row: 3; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .moment-card { grid-template-columns: 45px minmax(0,1fr); gap: 11px; padding: 24px 0 22px; }
  .moment-avatar { width: 42px; height: 42px; }
  .moment-author { font-size: 14px; }
  .moment-heading { font-size: 19px; }
  .moment-text { font-size: 14px; -webkit-line-clamp: 7; }
  .moment-meta { flex-wrap: wrap; gap: 8px; }
  .moment-delete-spacer { display: none; }
  .moment-action { margin-left: auto; }
  .moment-gallery { width: 100%; }
  .moment-interactions { margin-left: -2px; }
  .social-dialog { padding: 28px 22px 24px; }
  .auth-intro h2, .profile-head h2 { font-size: 26px; }
  .profile-tabs { gap: 18px; overflow-x: auto; }
}

@media (max-width: 390px) {
  .moments-header .account-button span { display: none; }
  .moments-profile .hero-kicker { display: none; }
  .moments-profile h1 { font-size: 24px; }
  .moment-card { grid-template-columns: 41px minmax(0,1fr); gap: 9px; }
  .moment-avatar { width: 39px; height: 39px; }
  .moment-gallery { gap: 3px; }
  .moment-meta > time { width: 100%; }
  .moment-action { margin-left: 0; }
}
