/* ==========================================================================
   iliuye.com — 桃李春风一杯酒 内页（春宴 / 桃花）
   暖桃纸底 / 酒红 / 花瓣 / 圆角诗句卡；不与其他页共用骨架。
   ========================================================================== */

.page-taoli {
  --t-bg: #fff6ec;
  --t-bg-2: #fbeadb;
  --t-card: #fffdf8;
  --t-ink: #43262a;
  --t-muted: #8d6a68;
  --t-wine: #9d2f3f;
  --t-pink: #e8a3ae;
  --t-green: #6f8a63;
  --t-line: rgba(67, 38, 42, .14);
  --t-line-soft: rgba(67, 38, 42, .08);
  background: var(--t-bg);
  color: var(--t-ink);
}
.page-taoli .site-footer { background: #21120f; }

/* ---------- Hero ---------- */
.tl-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 62px;
  border-bottom: 1px solid var(--t-line);
  background:
    radial-gradient(circle at 84% 18%, rgba(232, 163, 174, .2), transparent 42%),
    var(--t-bg);
}
.tl-petals { position: absolute; inset: 0; pointer-events: none; }
.tl-petals i {
  position: absolute;
  width: 18px; height: 11px;
  border-radius: 60% 40% 55% 45%;
  background: var(--t-pink);
  opacity: .55;
}
.tl-petals i:nth-child(1) { top: 16%; right: 12%; transform: rotate(24deg); }
.tl-petals i:nth-child(2) { top: 32%; right: 28%; width: 12px; height: 8px; transform: rotate(-18deg); opacity: .4; }
.tl-petals i:nth-child(3) { top: 58%; right: 8%; width: 14px; height: 9px; transform: rotate(42deg); opacity: .45; }
.tl-petals i:nth-child(4) { bottom: 18%; right: 34%; transform: rotate(10deg); opacity: .35; }
.tl-petals i:nth-child(5) { top: 10%; right: 42%; width: 10px; height: 7px; transform: rotate(-32deg); opacity: .3; }
.tl-crumb { position: relative; padding-bottom: 28px; color: var(--t-muted); }
.tl-crumb span:last-child { color: var(--t-wine); opacity: 1; }
.tl-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.tl-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--t-wine);
}
.tl-hero h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--t-ink);
}
.tl-hero h1 em {
  display: block;
  margin-top: 8px;
  font-family: var(--font);
  font-style: normal;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--t-muted);
}
.tl-lead {
  margin-top: 20px;
  max-width: 520px;
  font-size: 15px;
  line-height: 2.1;
  color: #6b4a49;
}
.tl-lead strong { color: var(--t-wine); }
.tl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tl-actions .btn-primary { background: var(--t-wine); color: #fff8f0; border-radius: 999px; box-shadow: 0 12px 26px rgba(157, 47, 63, .2); }
.tl-actions .btn-primary:hover { background: #842435; }
.tl-actions .btn-room { border-radius: 999px; color: var(--t-ink); border-color: var(--t-line); }
.tl-actions .btn-room b { color: var(--t-wine); }
.tl-figure {
  padding: 10px;
  background: #fffdf8;
  border: 1px solid var(--t-line);
  border-radius: 16px;
  box-shadow: 0 26px 54px rgba(120, 60, 50, .14);
  transform: rotate(.6deg);
}
.tl-figure img { width: 100%; border-radius: 10px; }
.tl-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 4px 2px;
  font-family: var(--serif);
  font-size: 11px;
  color: #a5827d;
}

/* ---------- 诗作信息 ---------- */
.tl-meta { background: var(--t-bg-2); border-bottom: 1px solid var(--t-line); }
.tl-meta-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.tl-meta-inner > div { padding: 15px 16px; border-left: 1px solid var(--t-line); }
.tl-meta-inner > div:first-child { border-left: 0; padding-left: 0; }
.tl-meta-inner span { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.8px; color: #b18c86; }
.tl-meta-inner strong { display: block; margin-top: 3px; font-family: var(--serif); font-size: 13.5px; font-weight: 600; color: var(--t-ink); }

/* ---------- section ---------- */
.tl-section { padding: 74px 0; }
.tl-section + .tl-section { border-top: 1px solid var(--t-line); }
.tl-section.is-peach { background: var(--t-bg-2); }
.tl-section .container.narrow { max-width: 900px; }
.tl-head { max-width: 760px; margin-bottom: 36px; }
.tl-head.center { margin-inline: auto; text-align: center; }
.tl-head h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.1vw, 38px);
  line-height: 1.34;
  font-weight: 700;
  color: var(--t-ink);
}
.tl-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.95; color: var(--t-muted); }

/* ---------- 全诗 ---------- */
.poem-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 40px;
  background: #fffdf8;
  border: 1px solid var(--t-line);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(120, 60, 50, .1);
}
.poem-lines p {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 2.1;
  letter-spacing: 2px;
  color: #5a3a3a;
  text-align: center;
}
.poem-lines p.is-key { color: var(--t-wine); font-weight: 600; }
.poem-stamp {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--t-wine);
  border-radius: 45% 55% 50% 50%;
  color: var(--t-wine);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 1px;
  transform: rotate(6deg);
  opacity: .75;
}
.tl-source { margin-top: 18px; text-align: center; font-size: 11.5px; color: #a5827d; }

/* ---------- 位置 ---------- */
.tl-position-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.tl-position-grid h2 { margin-top: 10px; font-family: var(--serif); font-size: clamp(27px, 3.1vw, 38px); font-weight: 700; }
.tl-position-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2.05; color: #6b4a49; }
.position-card { background: #fffdf8; border: 1px solid var(--t-line); border-radius: 14px; overflow: hidden; }
.pos-line { display: flex; align-items: baseline; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--t-line-soft); }
.pos-line:last-child { border-bottom: 0; }
.pos-line span { flex: none; width: 62px; font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; color: #b18c86; }
.pos-line p { font-family: var(--serif); font-size: 15px; color: #6b4a49; }
.pos-line.is-key { background: rgba(232, 163, 174, .18); }
.pos-line.is-key p { color: var(--t-wine); font-weight: 600; }
.pos-line.is-key2 { background: rgba(67, 38, 42, .05); }
.pos-line.is-key2 p { color: var(--t-ink); font-weight: 600; }

/* ---------- 逐句 ---------- */
.tl-gloss { border-top: 1px solid var(--t-line); }
.tl-gloss > div { display: grid; grid-template-columns: 210px 1fr; gap: 26px; padding: 13px 0; border-bottom: 1px solid var(--t-line); }
.tl-gloss dt { font-family: var(--serif); font-size: 16.5px; font-weight: 600; color: var(--t-ink); letter-spacing: 1px; }
.tl-gloss dd { font-size: 13px; line-height: 1.95; color: #6b4a49; }
.tl-gloss > div.is-key dt { color: var(--t-wine); }

/* ---------- 意象 ---------- */
.image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.image-grid article {
  padding: 28px 24px;
  background: #fffdf8;
  border: 1px solid var(--t-line);
  border-radius: 14px;
  text-align: center;
}
.img-glyph {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(232, 163, 174, .22);
  border: 1px solid rgba(157, 47, 63, .28);
  font-family: var(--serif);
  font-size: 18px;
  color: var(--t-wine);
  letter-spacing: 1px;
}
.image-grid h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.image-grid p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: var(--t-muted); text-align: left; }
.tl-quote {
  max-width: 720px;
  margin: 30px auto 0;
  padding: 22px 26px;
  border-radius: 12px;
  background: rgba(232, 163, 174, .16);
  border-left: 3px solid var(--t-wine);
}
.tl-quote p { font-family: var(--serif); font-size: 19px; line-height: 1.9; color: #5a3a3a; }
.tl-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 11px; color: #a5827d; }

/* ---------- 结构 ---------- */
.tl-struct-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.tl-struct-grid h2 { margin-top: 10px; font-family: var(--serif); font-size: clamp(27px, 3.1vw, 38px); font-weight: 700; }
.tl-struct-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2.05; color: #6b4a49; }
.struct-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.struct-col { padding: 24px 20px; border-radius: 14px; text-align: center; }
.struct-col.is-warm { background: #fff3e6; border: 1px solid rgba(157, 47, 63, .2); }
.struct-col.is-cold { background: #e9eef0; border: 1px solid rgba(40, 60, 80, .16); }
.struct-col span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: #a5827d; }
.struct-col b { display: block; margin-top: 8px; font-family: var(--serif); font-size: 16px; color: var(--t-ink); }
.struct-col em { display: block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; color: var(--t-wine); }
.struct-col.is-cold em { color: #3e5a6e; }

/* ---------- 背景 ---------- */
.context-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--t-line); border: 1px solid var(--t-line); border-radius: 12px; overflow: hidden; }
.context-row > div { padding: 20px 18px; background: #fffdf8; }
.context-row span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--t-wine); }
.context-row p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: #6b4a49; }

/* ---------- 表 ---------- */
.tl-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--t-line); border-radius: 12px; background: #fffdf8; }
.tl-table { min-width: 560px; font-size: 13px; }
.tl-table th, .tl-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--t-line-soft); }
.tl-table tbody tr:last-child th, .tl-table tbody tr:last-child td { border-bottom: 0; }
.tl-table thead th { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px; font-weight: 400; color: #fff8f0; background: var(--t-wine); }
.tl-table tbody th { font-family: var(--serif); color: var(--t-ink); font-weight: 600; white-space: nowrap; }
.tl-table tbody td { color: #6b4a49; }

/* ---------- 今用 ---------- */
.modern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.modern-grid article { padding: 22px 22px; background: #fffdf8; border: 1px solid var(--t-line); border-radius: 12px; }
.modern-grid span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--t-wine); }
.modern-grid h3 { margin-top: 7px; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.modern-grid p { margin-top: 5px; font-size: 12.5px; line-height: 1.9; color: var(--t-muted); }

/* ---------- 下句 ---------- */
.tl-pair-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.tl-pair-grid h2 { margin-top: 10px; font-family: var(--serif); font-size: clamp(27px, 3.1vw, 38px); font-weight: 700; }
.tl-pair-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2.05; color: #6b4a49; }
.tl-pair-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--t-wine);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--t-wine);
}
.pair-card {
  padding: 30px 26px;
  background: #1e2836;
  border-radius: 14px;
  color: #e8dfc8;
  text-align: center;
}
.pair-card span { font-family: var(--mono); font-size: 9px; letter-spacing: 2.4px; color: #9b8a6a; }
.pair-card b { display: block; margin-top: 10px; font-family: var(--serif); font-size: 24px; letter-spacing: 3px; }
.pair-card em { display: block; margin-top: 10px; font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.6px; color: #7e8da0; }

/* ---------- 折叠 ---------- */
.page-taoli .acc-trigger { font-family: var(--serif); font-size: 16.5px; font-weight: 600; }
.page-taoli .acc-panel p { font-size: 13px; line-height: 1.95; }
.page-taoli .acc-item.is-open .acc-trigger::after { color: var(--t-wine); }

/* ---------- 相关 ---------- */
.tl-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--t-line); border: 1px solid var(--t-line); border-radius: 12px; overflow: hidden; }
.tl-rel-grid a { padding: 20px 22px; background: #fffdf8; transition: background .2s; }
.tl-rel-grid a:hover { background: #fff; }
.tl-rel-grid span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: #b18c86; }
.tl-rel-grid h3 { margin-top: 7px; font-family: var(--serif); font-size: 17px; font-weight: 700; }
.tl-rel-grid p { margin-top: 4px; font-size: 12px; color: var(--t-muted); }

/* ---------- CTA ---------- */
.tl-cta { padding: 62px 0; background: var(--t-wine); color: #fff4ec; }
.tl-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.tl-cta h2 { margin-top: 10px; font-family: var(--serif); font-size: clamp(24px, 3vw, 35px); font-weight: 700; color: #fff; }
.tl-cta p { margin-top: 10px; max-width: 560px; font-size: 13.5px; color: #f5c9c4; }
.tl-cta p strong { color: #fff; }
.tl-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tl-cta-actions .btn-primary { background: #fff; color: var(--t-wine); border-radius: 999px; box-shadow: none; }
.tl-cta-actions .btn-room { border-radius: 999px; color: #fff; border-color: rgba(255, 255, 255, .5); }
.tl-cta-actions .btn-room b { color: #fff; }
.tl-cta .tl-kicker { color: #f5c9c4; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .tl-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .tl-figure { max-width: 640px; }
  .tl-meta-inner { grid-template-columns: repeat(3, 1fr); }
  .tl-meta-inner > div:nth-child(4) { border-left: 0; }
  .tl-position-grid, .tl-struct-grid, .tl-pair-grid { grid-template-columns: 1fr; gap: 26px; }
  .image-grid { grid-template-columns: 1fr; }
  .context-row { grid-template-columns: 1fr 1fr; }
  .modern-grid { grid-template-columns: 1fr; }
  .tl-gloss > div { grid-template-columns: 170px 1fr; gap: 18px; }
  .tl-rel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .tl-section { padding: 50px 0; }
  .tl-hero { padding: 20px 0 46px; }
  .tl-hero h1 { letter-spacing: 1px; }
  .tl-actions { flex-direction: column; }
  .tl-actions .btn { width: 100%; }
  .tl-meta-inner { grid-template-columns: 1fr 1fr; }
  .tl-meta-inner > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .poem-card { padding: 28px 18px; }
  .poem-lines p { font-size: 17px; letter-spacing: 1px; }
  .tl-gloss > div { grid-template-columns: 1fr; gap: 4px; }
  .context-row { grid-template-columns: 1fr; }
  .struct-compare { grid-template-columns: 1fr; }
  .tl-cta-actions { width: 100%; }
  .tl-cta-actions .btn { width: 100%; }
  .tl-figure { transform: none; }
}
