:root {
  color-scheme: light;
  --desk: #d9cfbb;
  --paper: #f8f1e5;
  --paper-deep: #eadbc2;
  --ink: #221912;
  --muted: #6e6252;
  --light-ink: #92846f;
  --line: #d7bf94;
  --line-dark: #a98152;
  --plaque: #dec7ad;
  --plaque-edge: #85613f;
  --seal: #9a3f31;
  --olive: #6f774a;
  --shadow: 0 26px 54px rgba(75, 56, 35, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--desk);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(130, 154, 79, 0.2), transparent 6%, transparent 94%, rgba(130, 154, 79, 0.18)),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.48), transparent 36%),
    var(--desk);
  font-family: "Noto Serif SC", "Songti SC", "STSong", SimSun, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(135, 103, 62, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 103, 62, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

img {
  max-width: 100%;
}

.calendar-shell {
  position: relative;
  width: min(1640px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 46px;
}

.sample-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 12px 18px;
}

.eyebrow {
  margin-bottom: 5px;
  color: var(--seal);
  font: 600 12px/1.4 "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

h1 {
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 152px;
  max-width: 26vw;
  height: auto;
  object-fit: contain;
}

.spread-stack {
  display: grid;
  gap: 34px;
}

.spread {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 840px;
  overflow: hidden;
  border: 1px solid #c5ad88;
  background:
    linear-gradient(90deg, rgba(116, 87, 51, 0.12), transparent 3%, transparent 49.2%, rgba(63, 55, 48, 0.2) 49.82%, rgba(45, 39, 34, 0.62) 50%, rgba(63, 55, 48, 0.2) 50.18%, transparent 50.8%, transparent 97%, rgba(116, 87, 51, 0.12)),
    var(--paper);
  box-shadow: var(--shadow);
}

.spread::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 5;
  width: 28px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0, rgba(65, 56, 45, 0.2) 31%, rgba(35, 31, 28, 0.68) 50%, rgba(65, 56, 45, 0.2) 69%, transparent 100%);
  pointer-events: none;
}

.season-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(150px, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 38px 50px 32px;
  background:
    radial-gradient(circle at 18% 9%, rgba(255, 255, 255, 0.46), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent 12%, transparent 88%, rgba(159, 133, 92, 0.08)),
    var(--paper);
}

.season-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(213, 193, 156, 0.28);
  pointer-events: none;
}

.season-panel:nth-child(1) {
  padding-right: 64px;
}

.season-panel:nth-child(2) {
  padding-left: 64px;
}

.season-head {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  min-height: 152px;
  padding: 2px 148px 16px 0;
  border-bottom: 1px dashed rgba(168, 134, 83, 0.42);
}

.season-title-wrap {
  grid-column: 2;
}

.season-kicker {
  color: var(--light-ink);
  font: 600 12px/1.3 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  text-transform: uppercase;
}

.season-name {
  margin-top: 2px;
  font-size: 72px;
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: 0;
}

.season-theme {
  max-width: 460px;
  margin-top: 16px;
  color: #342b23;
  font-size: 20px;
  line-height: 1.5;
}

.totem-mark {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  margin-top: 0;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}

.totem-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.03);
}

.totem-mark.is-missing {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle, rgba(123, 148, 79, 0.76), rgba(123, 148, 79, 0.36) 58%, transparent 72%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 64px;
  font-weight: 700;
}

.season-date {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 136px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  background: #efe0ca;
  color: #55391f;
  text-align: center;
  font: 700 14px/1.35 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 235, 0.58);
}

.calendar-section {
  min-width: 0;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 9px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  border-top: 1px dashed var(--line);
}

.block-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 36px;
  margin: 0 14px;
  padding: 5px 24px 6px;
  border: 1px solid var(--plaque-edge);
  border-radius: 7px;
  background: linear-gradient(#e8d4bd, var(--plaque));
  color: #21160f;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow:
    inset 0 0 0 2px rgba(255, 247, 234, 0.55),
    0 2px 0 rgba(91, 64, 39, 0.16);
}

.block-label::before,
.block-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid var(--plaque-edge);
  background: #f3e6d4;
}

.block-label::before {
  left: -5px;
}

.block-label::after {
  right: -5px;
}

.care-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 20px;
  align-items: center;
}

.asset-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  border: 1px solid #d3bd97;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 252, 244, 0.72);
}

.asset-tile + .asset-tile {
  border-left: 1px solid #d3bd97;
}

.asset-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 252, 246, 0.8);
}

.asset-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset-frame.is-missing {
  border: 1px dashed #c5ae87;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent),
    rgba(250, 244, 233, 0.94);
}

.placeholder-text {
  width: 100%;
  padding: 4px 12px 12px;
  color: #9a8b78;
  font: 12px/1.45 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-wrap: anywhere;
  text-align: center;
}

.placeholder-label {
  align-self: end;
  color: #8d765b;
  font: 700 13px/1.35 "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.asset-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  padding: 5px 8px;
  border-top: 1px solid #d3bd97;
  background: #eadbc5;
  color: #5e503f;
  font: 13px/1.35 "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.asset-name {
  font-weight: 700;
}

.asset-type {
  color: var(--olive);
  white-space: nowrap;
}

.text-block {
  min-width: 0;
}

.text-block p,
.movement-body p,
.decode-text {
  color: #332a22;
  font-size: 16px;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.care-copy {
  padding-left: 2px;
}

.care-copy p,
.food-copy p,
.movement-body p {
  text-align: justify;
}

.care-copy p::before,
.movement-body p::before,
.food-copy p::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: #a48a5d;
  vertical-align: 0.1em;
}

.food-body {
  min-height: 116px;
  padding: 15px 18px;
  border: 1px solid #d0b891;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 250, 238, 0.42), transparent 34%),
    rgba(232, 212, 184, 0.55);
}

.food-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.movement-body {
  min-height: 62px;
  padding: 7px 4px 0;
}

.wisdom-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 20px;
  align-self: end;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.wisdom-block {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.vertical-tag {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 126px;
  padding: 12px 6px;
  border: 1px solid var(--plaque-edge);
  border-radius: 7px;
  background: #decbb5;
  color: #24170f;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 235, 0.48);
}

.vertical-tag::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  width: 1px;
  height: 17px;
  background: var(--plaque-edge);
}

.vertical-tag::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border: 1px solid var(--plaque-edge);
  border-radius: 50%;
  background: var(--paper);
}

.classic-content {
  position: relative;
  min-height: 128px;
  display: grid;
  align-content: center;
}

.classic-content::before {
  content: "";
  position: absolute;
  inset: 5px auto auto 50%;
  width: 108px;
  height: 108px;
  transform: translateX(-50%);
  border: 1px solid rgba(188, 162, 119, 0.3);
  border-radius: 50%;
  opacity: 0.58;
}

.classic-text {
  position: relative;
  color: #231a13;
  font-size: 31px;
  line-height: 1.38;
  font-weight: 800;
}

.classic-name {
  position: relative;
  margin-top: 7px;
  color: #6f6254;
  font-size: 12px;
  line-height: 1.45;
}

.decode-block {
  border-left: 1px dashed var(--line);
  padding-left: 17px;
}

.decode-text {
  color: #4a4034;
}

.audit-strip {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #c5ad88;
  background: rgba(248, 241, 229, 0.82);
  box-shadow: 0 16px 34px rgba(75, 56, 35, 0.12);
}

.audit-strip h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audit-item {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 244, 0.7);
  font: 13px/1.55 "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.audit-item strong {
  color: var(--seal);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
}

.path-list {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.asset-path-line {
  display: block;
}

.path-list .ok,
.path-list .missing {
  display: inline-block;
  min-width: 72px;
  margin-right: 8px;
  font-weight: 700;
}

.path-list .ok {
  color: #62713d;
}

.path-list .missing {
  color: var(--seal);
}

.audit-risk,
.audit-note {
  color: var(--muted);
}

@media (max-width: 1280px) {
  .calendar-shell {
    width: min(100% - 28px, 1580px);
  }

  .spread {
    min-height: 0;
  }

  .season-panel {
    padding: 28px 38px 26px;
  }

  .season-panel:nth-child(1) {
    padding-right: 52px;
  }

  .season-panel:nth-child(2) {
    padding-left: 52px;
  }

  .season-head {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 130px;
    padding-right: 132px;
  }

  .totem-mark {
    width: 112px;
    height: 112px;
  }

  .season-name {
    font-size: 54px;
  }

  .care-body,
  .wisdom-footer {
    grid-template-columns: 1fr;
  }

  .decode-block {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .sample-header {
    align-items: flex-start;
  }

  .spread {
    grid-template-columns: 1fr;
  }

  .spread::before {
    display: none;
  }

  .season-panel:nth-child(1),
  .season-panel:nth-child(2),
  .season-panel {
    padding: 28px 24px;
  }

  .season-panel + .season-panel {
    border-top: 10px solid rgba(85, 69, 50, 0.28);
  }

  .season-panel::after {
    inset: 12px;
  }

  .audit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .calendar-shell {
    width: min(100% - 20px, 1580px);
    padding-top: 18px;
  }

  h1 {
    font-size: 23px;
  }

  .brand-mark {
    width: 112px;
  }

  .season-head {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 44px 0 14px;
  }

  .totem-mark {
    width: 104px;
    height: 104px;
    justify-self: start;
    grid-row: 1;
    grid-column: 1;
  }

  .season-title-wrap {
    grid-row: 2;
    grid-column: 1;
  }

  .season-name {
    font-size: 46px;
  }

  .season-theme {
    font-size: 17px;
  }

  .asset-row {
    grid-template-columns: 1fr;
  }

  .asset-tile + .asset-tile {
    border-left: 0;
    border-top: 1px solid #d3bd97;
  }

  .wisdom-block {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .classic-text {
    font-size: 25px;
  }
}
