/* Muzi Gallery page styles: content inside the shared Muzi frame (kit-v2.0.0). The frame itself (header, drawer, footer) is the kit's and is never restyled here; this file only adds the own side-menu labels and the hub and entrance layout. Brand tokens come from kit/css/muzi-kit.css. */
:root { --lit-serif: var(--muzi-font-serif); --muzi-edge: 1.25rem; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fbf7ec; color: var(--muzi-text); font-family: var(--muzi-font-serif); line-height: 1.7; }
a { color: #6b4f10; }
/* own side-menu entries under the frame's site block */
.side-label { display: block; padding: 8px 10px 2px; font: 600 .75rem var(--muzi-font-sans); letter-spacing: .12em; color: var(--muzi-mist); }
.side-link { appearance: none; border: 0; background: none; font: inherit; color: inherit; text-align: left; width: 100%; padding: 8px 10px; cursor: pointer; }
.side-link:hover, .side-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
/* hub and entrance layout classes not covered by members.css */
.mc-mast { margin-bottom: 1.4rem; }
.mc-eyebrow { color: var(--mc-gold); letter-spacing: .14em; font-size: .85rem; }
.mc-mast h1 { margin: .2rem 0 .6rem; font-size: 2rem; line-height: 1.3; }
.mc-h2 { font-size: 1.2rem; margin: 1.6rem 0 .8rem; }
.mc-painters, .mc-samples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.2rem; }
.mc-painters a { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--mc-ink); }
.mc-painter-img { display: block; aspect-ratio: 3 / 4; background: #f1e7cf; border-radius: .5rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .5); }
.mc-painter-img img, .mc-sample img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-sample { display: flex; flex-direction: column; gap: .3rem; }
.mc-sample-poem p { margin: 0; }
.mc-sample-note { font-size: .85rem; color: var(--mc-soft); }
/* the hub panel: members.css (loaded later) resets its padding, so these rules are more specific; list and heading left-aligned with the panel padding */
.mc-joinbox[hidden], [data-guest-only][hidden] { display: none; }
/* lightbox (design: Neon proposal, MJOB10308/neon-lightbox-proposal.md): opaque viewing room, mounted leaf, wall label, mounted paper slip */
/* ==========================================================================
   Muzi Gallery Lightbox — Opaque Viewing Room, Mounted Leaf & Calligraphy Slip
   Replaces lightbox rules in both members.css and site.css
   ========================================================================== */

.mc-lightbox,
.mc-lightbox *,
.mc-lightbox *::before,
.mc-lightbox *::after {
  box-sizing: border-box;
}

/* --- (a) Opaque gallery stage with silk-weave texture & museum spotlight --- */
.mc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: 1rem 0.95rem 1.75rem;
  font-family: var(--muzi-font-serif, "Noto Serif SC", "Songti SC", SimSun, serif);
  color: #f3ecdc;
  background-color: #181511;
  background-image:
    /* Subtle cross-woven silk-linen wall grain */
    repeating-linear-gradient(
      0deg,
      rgba(255, 248, 232, 0.018) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 248, 232, 0.014) 0 1px,
      transparent 1px 5px
    ),
    /* Soft gallery spotlight centered behind the artwork */
    radial-gradient(
      ellipse 72% 58% at 50% 26%,
      rgba(68, 56, 38, 0.42) 0%,
      rgba(24, 21, 17, 0) 68%
    ),
    /* Quiet vignette toward the room edges */
    radial-gradient(
      ellipse 95% 95% at 50% 50%,
      transparent 52%,
      rgba(10, 8, 6, 0.62) 100%
    );
}

.mc-lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  max-width: 34rem;
  margin: auto;
}

/* --- Mounted album leaf (painting + xuan paper mat + slim rosewood frame) --- */
.mc-lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 58vh;
  margin: 0 auto;
  object-fit: contain;
  padding: 10px;
  background: #f5efe1;
  border: 5px solid #362616;
  border-radius: 1px;
  box-shadow:
    inset 0 0 0 1px #c9b68b,
    inset 0 0 10px rgba(48, 34, 14, 0.18),
    0 0 0 1px #1e140b,
    0 18px 42px rgba(0, 0, 0, 0.62),
    0 4px 12px rgba(0, 0, 0, 0.36);
}

/* --- Right / lower column container --- */
.mc-lightbox-cap {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  color: #f3ecdc;
  line-height: 1.6;
}

/* --- (c) Museum wall label (Plaque: title, style, painter) --- */
.mc-plaque {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  padding: 0.1rem 0 0.15rem 0.95rem;
  border-left: 2px solid #a89263;
  background: transparent;
  text-align: left;
}

.mc-plaque strong {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #f3ecdc;
}

.mc-plaque .mc-plaque-style {
  font-size: 0.85rem;
  line-height: 1.5;
  font-style: italic;
  color: #c8bda6;
}

.mc-lightbox:lang(zh-Hans) .mc-plaque .mc-plaque-style,
.mc-lightbox:lang(zh-Hant) .mc-plaque .mc-plaque-style {
  font-style: normal;
  letter-spacing: 0.04em;
}

.mc-plaque .mc-credit {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #b8a47c;
}

.mc-plaque .mc-credit em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a6987d;
  margin-right: 0.45em;
}

.mc-lightbox:lang(zh-Hans) .mc-plaque .mc-credit em,
.mc-lightbox:lang(zh-Hant) .mc-plaque .mc-credit em {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

/* --- (b) Unboxed xuan-paper calligraphy slip (Plate: poem + colophon) --- */
.mc-plate {
  position: relative;
  padding: 1.45rem 1.35rem 1.3rem;
  color: #221c14;
  background-color: #f4ede0;
  background-image:
    /* Faint laid-paper horizontal fiber lines */
    repeating-linear-gradient(
      180deg,
      rgba(120, 96, 56, 0.032) 0 1px,
      transparent 1px 6px
    ),
    /* Warm natural xuan-paper tone shift */
    linear-gradient(
      180deg,
      #f6f0e3 0%,
      #f2e9d8 58%,
      #ece1cc 100%
    );
  /* Mounted top and bottom with silk-brocade bands; sides stay open */
  border-top: 2px solid #bca77c;
  border-bottom: 2px solid #bca77c;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow:
    inset 0 5px 0 0 #f4ede0,
    inset 0 6px 0 0 rgba(188, 167, 124, 0.55),
    inset 0 -5px 0 0 #ece1cc,
    inset 0 -6px 0 0 rgba(188, 167, 124, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.44);
}

/* --- Poem typography: shared base --- */
.mc-poem {
  margin: 0;
  padding: 0;
  color: #221c14;
}

.mc-poem p {
  margin: 0;
  color: #221c14;
}

/* English poem: horizontal four-couplet verse with graceful hanging indent */
.mc-poem:lang(en) {
  font-size: 0.94rem;
  line-height: 1.78;
  letter-spacing: 0.008em;
}

.mc-poem:lang(en) p {
  padding-left: 1.25em;
  text-indent: -1.25em;
}

.mc-poem:lang(en) p:nth-child(2n):not(:last-child) {
  margin-bottom: 0.55em;
}

/* Chinese poems (Simplified & Traditional): one tight text block, lines left-aligned, no gaps between couplets */
.mc-poem:lang(zh-Hans),
.mc-poem:lang(zh-Hant) {
  padding-block: 0.15rem;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: left;
}

.mc-poem:lang(zh-Hans) p,
.mc-poem:lang(zh-Hant) p {
  padding: 0;
  text-indent: 0;
  line-height: 1.2;  /* members.css sets 1.9 on the lines themselves: no line spacing */
}

/* --- Colophon: short note & writer credit with vermilion seal --- */
.mc-notation {
  display: block;
  position: relative;
  margin-top: 1.25rem;
  padding-top: 1rem;
  font-size: 0.84rem;
  line-height: 1.7;
  color: #4b3f2f;
}

/* Delicate short ink-hairline separating poem from colophon */
.mc-notation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: rgba(138, 112, 66, 0.55);
}

.mc-plate .mc-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45em;
  margin-top: 0.85rem;
  font-size: 0.81rem;
  letter-spacing: 0.04em;
  color: #5c492b;
  text-align: right;
}

.mc-plate .mc-credit em {
  font-style: normal;
  color: #63533a;
}

/* Small pure-CSS vermilion chop / seal mark (no hardcoded text) */
.mc-plate .mc-credit::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 0.88em;
  height: 0.88em;
  margin-left: 0.15em;
  background: #9e2a22;
  border: 1px solid #822019;
  border-radius: 1px;
  box-shadow:
    inset 0 0 0 1.5px #f1e8d6,
    inset 0 0 0 2.5px #9e2a22;
  opacity: 0.92;
}

/* --- Quiet Close control --- */
.mc-lightbox-close {
  order: -1; /* Top-right on mobile so dismissal needs no scrolling */
  align-self: flex-end;
  appearance: none;
  padding: 0.35rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(207, 196, 173, 0.38);
  border-radius: 0;
  background: none;
  color: #cfc4ad;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.mc-lightbox-close:hover {
  color: #f5efe1;
  border-bottom-color: #f5efe1;
}

.mc-lightbox-close:focus-visible {
  outline: 2px solid #e6c982;
  outline-offset: 4px;
  color: #f5efe1;
  border-bottom-color: #e6c982;
}

/* ==========================================================================
   900px+ — Tablet & small desktop: two-column gallery spread
   ========================================================================== */
@media (min-width: 900px) {
  .mc-lightbox {
    place-items: center;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    background-image:
      repeating-linear-gradient(
        0deg,
        rgba(255, 248, 232, 0.018) 0 1px,
        transparent 1px 4px
      ),
      repeating-linear-gradient(
        90deg,
        rgba(255, 248, 232, 0.014) 0 1px,
        transparent 1px 5px
      ),
      /* Shift spotlight toward the painting on the left */
      radial-gradient(
        ellipse 56% 72% at 34% 48%,
        rgba(68, 56, 38, 0.44) 0%,
        rgba(24, 21, 17, 0) 68%
      ),
      radial-gradient(
        ellipse 95% 95% at 50% 50%,
        transparent 52%,
        rgba(10, 8, 6, 0.64) 100%
      );
  }

  .mc-lightbox-inner {
    display: grid;
    grid-template-columns: max-content minmax(18rem, 22rem);
    grid-template-rows: 1fr auto;
    column-gap: clamp(1.4rem, 2.2vw, 2.2rem);
    justify-content: center;
    row-gap: 0.6rem;
    align-items: center;
    max-width: min(94vw, 72rem);
    max-height: 90vh;
    overflow: hidden;
  }

  .mc-lightbox-img {
    grid-column: 1;
    grid-row: 1 / 3;
    max-height: 86vh;
    padding: 15px;
    border-width: 6px;
  }

  .mc-lightbox-cap {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    max-height: calc(88vh - 3rem);
    overflow-y: auto;
    padding-right: 0.2rem;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(188, 167, 124, 0.35) transparent;
  }

  .mc-plaque strong {
    font-size: 1.28rem;
  }

  .mc-plate {
    padding: 1.6rem 1.55rem 1.4rem;
  }

  .mc-lightbox-close {
    order: 0;
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin-top: 0.2rem;
  }
}

/* ==========================================================================
   1100px+ — Standard desktop: wider text column for EN; balanced for ZH/TC
   ========================================================================== */
@media (min-width: 1100px) {
  .mc-lightbox-inner {
    max-width: min(94vw, 84rem);
    grid-template-columns: max-content minmax(20rem, 24.5rem);
  }

  .mc-lightbox:lang(en) .mc-lightbox-inner {
    grid-template-columns: max-content minmax(24.5rem, 29rem);
  }

  .mc-poem:lang(en) {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .mc-poem:lang(zh-Hans),
  .mc-poem:lang(zh-Hant) {
    font-size: 1.12rem;
    line-height: 2;
  }
}

/* ==========================================================================
   1280px+ — Wide desktop: 60-character EN lines fit naturally on one row
   ========================================================================== */
@media (min-width: 1280px) {
  .mc-lightbox-inner {
    max-width: min(94vw, 90rem);
  }

  .mc-lightbox:lang(en) .mc-lightbox-inner {
    grid-template-columns: max-content minmax(33.5rem, 37rem);  /* wide enough for the longest real EN line (60 characters) on one row */
  }

  .mc-lightbox:lang(en) .mc-plate {
    padding: 1.7rem 1.5rem 1.45rem;
  }

  .mc-poem:lang(en) {
    font-size: 0.94rem;
    line-height: 1.82;
  }
}
/* landing hero and exhibition page */
.ex-landing, .ex-page { max-width: 66rem; }
.ex-hero { display: grid; gap: 1.6rem; align-items: center; margin: .4rem 0 2.4rem; }
.ex-hero-art { display: block; justify-self: center; }
.ex-hero-img { display: block; padding: 10px; background: #f4ecd6; border: 6px solid #4b3512; box-shadow: inset 0 0 0 1px #b99a55, 0 14px 30px rgba(60, 40, 10, .28); }
.ex-hero-img img { display: block; width: 100%; height: auto; max-width: 21rem; }
.ex-hero-text .mc-eyebrow { color: var(--mc-gold); letter-spacing: .16em; }
.ex-hero-text h1 { margin: .2rem 0 .3rem; font-size: 2.1rem; line-height: 1.25; }
.ex-hero-show { margin: 1.1rem 0 .5rem; padding-left: .9rem; border-left: 2px solid var(--mc-gold); font-size: 1.35rem; line-height: 1.3; font-weight: 600; }
.ex-hero-show span { display: block; margin-top: .15rem; font-size: .9rem; font-weight: 400; color: var(--mc-soft); letter-spacing: .04em; }
.ex-hero-intro { margin: 0 0 1.3rem; max-width: 38rem; line-height: 1.85; }
.ex-cta { display: inline-block; padding: .6rem 1.7rem; border: 1px solid #4b3512; border-radius: 99px; background: #3d3416; color: #f6efdc; text-decoration: none; letter-spacing: .08em; }
.ex-cta:hover, .ex-cta:focus-visible { background: #2c2510; }
.ex-cta:focus-visible { outline: 2px solid #8a6a1c; outline-offset: 3px; }
@media (min-width: 820px) { .ex-hero { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 3rem; } .ex-hero-art { justify-self: start; } }
.ex-head { text-align: center; margin: .6rem 0 1.8rem; }
.ex-head h1 { margin: .2rem 0 .2rem; font-size: 2.5rem; letter-spacing: .06em; }
.ex-sub { margin: 0; color: var(--mc-soft); letter-spacing: .1em; }
.ex-intro-row { display: grid; gap: 1.4rem; align-items: start; margin-bottom: 2.4rem; }
.ex-lead { margin: 0; justify-self: center; text-align: center; }
.ex-lead figcaption { margin-top: .5rem; font-size: .85rem; color: var(--mc-soft); letter-spacing: .08em; }
.ex-lede { margin: 0; font-size: 1.12rem; line-height: 1.95; max-width: 40rem; }
@media (min-width: 820px) { .ex-intro-row { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 2.6rem; } }
.ex-part { max-width: 44rem; margin: 0 auto 2.2rem; }
.ex-part h2 { margin: 0 0 .8rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(201, 164, 92, .55); font-size: 1.25rem; letter-spacing: .08em; }
.ex-part p { margin: 0 0 1rem; line-height: 1.95; }
.ex-part ul { margin: 0; padding-left: 1.2rem; }
.ex-part li { margin-bottom: .7rem; line-height: 1.85; }
.ex-leaves { max-width: 60rem; }
.ex-leaves ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.ex-leaves li { margin: 0; padding-left: .8rem; border-left: 2px solid rgba(201, 164, 92, .7); display: flex; flex-direction: column; gap: .15rem; }
.ex-leaf-n { font-size: .75rem; letter-spacing: .14em; color: var(--mc-gold); text-transform: uppercase; }
.ex-leaf-line { font-size: .9rem; line-height: 1.6; color: var(--mc-soft); }
.ex-end { text-align: center; margin: 2.4rem 0 .6rem; }
.ex-landing .mc-painters { display: block; }
.ex-card { padding: .3rem 0 .3rem 1.2rem; border-left: 3px solid var(--mc-gold); }
.ex-card-body .mc-eyebrow { color: var(--mc-gold); letter-spacing: .14em; font-size: .8rem; }
.ex-card-body h3 { margin: .15rem 0 .5rem; font-size: 1.3rem; }
.ex-card-body h3 a { color: inherit; text-decoration: none; }
.ex-card-body h3 a:hover, .ex-card-body h3 a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.ex-card-body p { margin: 0 0 .8rem; max-width: 40rem; line-height: 1.85; }
.ex-card-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; font-size: .9rem; color: var(--mc-soft); }
.ex-more { color: var(--mc-gold); text-decoration: underline; text-underline-offset: 4px; }
/* landing: one exhibit as one unified block */
.ex-block { margin: .6rem 0 2rem; padding: 1.6rem 1.4rem 1.4rem; border: 1px solid rgba(201, 164, 92, .6); border-radius: .8rem; background: rgba(246, 239, 220, .45); box-shadow: 0 10px 28px rgba(60, 40, 10, .1); }
.ex-block-main { display: grid; gap: 1.6rem; align-items: start; }
.ex-hero-art { justify-self: center; }
.ex-block-text .ex-hero-show { margin-top: .5rem; }
.ex-artist { padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--mc-gold); }
.ex-artist .mc-eyebrow { color: var(--mc-gold); letter-spacing: .14em; font-size: .8rem; }
.ex-artist h3 { margin: .15rem 0 .45rem; font-size: 1.25rem; }
.ex-artist h3 a { color: inherit; text-decoration: none; }
.ex-artist h3 a:hover, .ex-artist h3 a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.ex-artist p { margin: 0; max-width: 40rem; line-height: 1.85; }
.ex-block-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(201, 164, 92, .45); }
.ex-count { color: var(--mc-soft); font-size: .9rem; letter-spacing: .04em; }
@media (min-width: 820px) { .ex-block { padding: 2rem 2.2rem 1.6rem; } .ex-block-main { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1.8rem 2.6rem; } .ex-hero-art { justify-self: start; } .ex-portrait { justify-self: start; } .ex-block-text { align-self: center; } }
.ex-portrait { margin: 0; width: 100%; max-width: 10rem; justify-self: center; text-align: center; }
.ex-portrait img { display: block; width: 100%; height: auto; border-radius: 3px; border: 1px solid rgba(75, 53, 18, .55); box-shadow: 0 6px 16px rgba(60, 40, 10, .22); }
.ex-portrait figcaption { margin-top: .45rem; font-size: .8rem; line-height: 1.5; color: var(--mc-soft); }
/* exhibition page, signed-in member: each leaf card shows its painting (loaded from the private files, lazily) */
.ex-leaves ol.has-art { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.4rem 1.4rem; }
.ex-leaves ol.has-art li { padding-left: 0; border-left: 0; }
.ex-leaves .ex-leaf-art { display: block; width: 100%; margin: 0 0 .4rem; padding: 0; border: 0; background: none; cursor: pointer; }
.ex-leaves .ex-leaf-art .mc-frame { display: block; aspect-ratio: 3 / 4; }
.ex-leaves .ex-leaf-art:focus-visible { outline: 2px solid var(--mc-gold); outline-offset: 3px; }
/* content protection: no text selection, no image dragging or press-and-hold menu on the gallery content and the lightbox (a deterrent only) */
.mc-page, .mc-lightbox { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mc-page img, .mc-lightbox img { -webkit-user-drag: none; user-drag: none; pointer-events: none; -webkit-touch-callout: none; }
.mc-page input, .mc-page textarea { -webkit-user-select: text; user-select: text; }
/* a painting that cannot load: the striped frame keeps its size and carries the "unavailable" text inside it */
.mc-frame { position: relative; }
.mc-frame.is-failed img { display: none; }
.mc-frame.is-failed .mc-img-failed { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: .6rem; }
.mc-back { margin: 0 0 1rem; }
.mc-meta { color: var(--mc-soft); }

/* West Lake album (MJOB10313): fourteen views, four leaves each; painter and poet side by side */
.wl-people { display: grid; gap: 1.2rem 2.4rem; margin: 1.6rem 0 .4rem; }
@media (min-width: 820px) { .wl-people { grid-template-columns: 1fr 1fr; } }
.wl-leaves .wl-site { margin: 1.4rem 0 1.8rem; }
.wl-leaves .wl-site h3 { margin: 0 0 .7rem; font-size: 1.15rem; letter-spacing: .04em; }
.wl-leaves ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .wl-leaves ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }  /* four seasons in a row (user 2026-11-24) */
/* public thumbnails (user 2026-11-24: small, so little is given away); members get the full painting instead */
.wl-leaves li { flex-direction: row; align-items: flex-start; gap: .7rem; }
.wl-leaves .wl-thumb { flex: 0 0 auto; width: 4.5rem; height: auto; border-radius: .2rem; box-shadow: 0 1px 4px rgba(60, 40, 10, .25); }
.wl-leaves .wl-leaf-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.wl-leaves ol.has-art li { flex-direction: column; }
.wl-leaves ol.has-art .wl-thumb { display: none; }
.wl-samples { margin: 1.8rem 0 .6rem; }

/* ---- West Lake: the opening leaves (user 2026-11-24: a highlight, not a sample list) ---- */
.wl-opening { margin: 2.6rem 0 1rem; padding: 2.2rem 0 .6rem; border-top: 1px solid rgba(138, 106, 28, .28); }
.wl-opening-head { max-width: 36rem; margin: 0 auto 2rem; text-align: center; }
.wl-opening-head h2 { margin: .35rem 0 .5rem; font-size: 1.5rem; font-weight: 600; letter-spacing: .12em; color: #2b2416; }
.wl-opening-head p { margin: 0; color: #7a6a4a; line-height: 1.8; }
.wl-feat { display: grid; gap: 1.4rem; align-items: center; margin: 0 0 2.6rem; }
@media (min-width: 820px) {
  .wl-feat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.6rem; }
  .wl-feat.is-flip .wl-feat-art { order: 2; }
}
.wl-feat-art { display: block; padding: .8rem; background: #f3ecdc; border: 1px solid #d9cba8; box-shadow: 0 1px 0 #fff inset, 0 10px 26px rgba(60, 42, 12, .16); }
.wl-feat-art img { display: block; width: 100%; height: auto; }
.wl-feat-card { display: flex; flex-direction: column; gap: .3rem; }
.wl-feat-n { font-size: .8rem; letter-spacing: .18em; color: var(--mc-gold, #8a6a1c); }
.wl-feat-t { font-size: 1.2rem; letter-spacing: .06em; color: #2b2416; margin-bottom: .6rem; }
.wl-feat-plate { box-shadow: inset 0 5px 0 0 #f4ede0, inset 0 6px 0 0 rgba(188, 167, 124, .55), inset 0 -5px 0 0 #ece1cc, inset 0 -6px 0 0 rgba(188, 167, 124, .55), 0 6px 18px rgba(60, 42, 12, .12); }
/* the poem's own title, above the poem (lightbox and opening leaves) */
.mc-poem-title { margin: 0 0 .7rem; font-size: 1.02rem; font-weight: 600; letter-spacing: .14em; color: #3a2e1a; line-height: 1.4; }
.mc-poem:lang(en) .mc-poem-title { letter-spacing: .04em; font-style: italic; font-weight: 500; }

/* ---- West Lake: fourteen rooms (user 2026-11-24: each view a room, a doorway between rooms) ---- */
.wl-plan { margin: .6rem 0 1.6rem; }
.wl-plan ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr)); gap: .35rem .9rem; }
.wl-leaves .wl-plan li { display: block; margin: 0; padding: 0; border: 0; background: none; }
.wl-plan a { display: flex; align-items: baseline; gap: .55rem; padding: .3rem 0; border-bottom: 1px solid rgba(138, 106, 28, .18); color: #4a3d24; text-decoration: none; font-size: .92rem; }
.wl-plan a:hover, .wl-plan a:focus-visible { color: #8a3324; border-bottom-color: #a8432f; }
.wl-plan-n { flex: 0 0 1.7rem; font-size: .78rem; color: var(--mc-gold, #8a6a1c); letter-spacing: .06em; }
.wl-leaves .wl-room { position: relative; margin: 0 calc(-1 * var(--muzi-edge, 1.25rem)); padding: 0 var(--muzi-edge, 1.25rem) 2.2rem; scroll-margin-top: 4.5rem; }
.wl-leaves .wl-room.is-alt { background: linear-gradient(180deg, rgba(232, 221, 196, 0) 0, rgba(232, 221, 196, .42) 7rem, rgba(232, 221, 196, .42) calc(100% - 3rem), rgba(232, 221, 196, 0) 100%); }
/* the doorway: a moon gate in a whitewashed wall, a glimpse of the room's spring leaf through it */
.wl-gate { position: relative; display: flex; justify-content: center; align-items: center; padding: 2.2rem 0 1rem; }
.wl-gate::before, .wl-gate::after { content: ""; flex: 1 1 auto; height: 0; border-top: 1px solid rgba(110, 96, 70, .35); box-shadow: 0 3px 0 -2px rgba(110, 96, 70, .18); }
.wl-gate-peek { flex: 0 0 auto; width: 5.4rem; height: 5.4rem; margin: 0 1.1rem; border-radius: 50%; background: #efe6d2 center 38% / cover no-repeat;
  border: 3px solid #f8f3e7; outline: 1px solid rgba(90, 78, 56, .45); outline-offset: 2px; box-shadow: inset 0 0 0 1px rgba(60, 50, 30, .25), inset 0 0 18px rgba(40, 30, 10, .28);
  filter: saturate(.82) sepia(.08); transition: filter .6s ease; }
.wl-room:hover .wl-gate-peek { filter: none; }
.wl-leaves .wl-room h3 { display: flex; flex-direction: column; align-items: center; gap: .15rem; margin: 0 0 1.2rem; text-align: center; font-size: 1.25rem; font-weight: 600; letter-spacing: .14em; color: #2b2416; }
.wl-room-n { font-size: .78rem; font-weight: 400; letter-spacing: .3em; color: var(--mc-gold, #8a6a1c); }
/* entering a room: a quiet fade, only where the browser ties it to scrolling and the visitor allows motion */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wl-leaves .wl-room ol { animation: wl-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes wl-enter { from { opacity: .35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  }
}
/* each leaf hangs like a work on the wall, its label beneath (user 2026-11-24) */
.wl-leaves .wl-room li { flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding-left: 0; border-left: 0; }
.wl-leaves .wl-room .wl-thumb { width: 5rem; }
.wl-leaves .wl-room .wl-leaf-text { align-items: center; }
.wl-leaves .wl-room ol { row-gap: 1.6rem; }

/* ---- member box (user 2026-11-24): a distinct ink panel near the top of each exhibit, join and sign-in side by side ---- */
.mc-joinbox, .mc-page .mc-joinbox { position: relative; display: grid; gap: 1.1rem 2rem; align-items: center; margin: 2rem 0 1.4rem; padding: 1.6rem 1.6rem 1.5rem;
  border: 0; border-radius: .35rem; text-align: left; color: #efe6cf;
  background: radial-gradient(120% 140% at 0% 0%, #3d3424 0%, #2a241a 55%, #221d15 100%);
  box-shadow: 0 10px 26px rgba(40, 28, 8, .22); }
.mc-joinbox::before { content: ""; position: absolute; inset: .45rem; border: 1px solid rgba(201, 164, 92, .45); border-radius: .2rem; pointer-events: none; }
@media (min-width: 720px) { .mc-joinbox, .mc-page .mc-joinbox { grid-template-columns: minmax(0, 1fr) auto; padding: 1.7rem 2.2rem; } }
.mc-joinbox .mc-why-title, .mc-page .mc-joinbox .mc-why-title { margin: 0 0 .35rem; font-size: .82rem; font-weight: 400; letter-spacing: .3em; color: #c9a45c; text-align: left; }
.mc-joinbox .mc-why, .mc-page .mc-joinbox .mc-why { margin: 0; max-width: none; color: #f3ead4; font-size: 1.12rem; letter-spacing: .08em; line-height: 1.6; }
.mc-joinbox .mc-why li::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .7rem; vertical-align: .2em; background: #b0442f; border-radius: 1px; }
.mc-joinbox-acts { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.mc-joinbox .mc-join { padding: .6rem 1.6rem; border: 1px solid #d8bf86; background: #f1e4c2; color: #2a2114; letter-spacing: .12em; }
.mc-joinbox .mc-join:hover, .mc-joinbox .mc-join:focus-visible { background: #fbf2db; }
.mc-joinbox .mc-join-alt { background: transparent; color: #f1e4c2; border-color: rgba(216, 191, 134, .75); }
.mc-joinbox .mc-join-alt:hover, .mc-joinbox .mc-join-alt:focus-visible { background: rgba(241, 228, 194, .1); }
.mc-joinbox-or { font-size: .85rem; color: #b9aa86; letter-spacing: .06em; }
.mc-joinbox:focus-within::before { border-color: rgba(216, 191, 134, .8); }
