/* ==========================================================================
   iliuye.com — 名爵168mjbot 内页（票券 / 联票）
   米纸底 / 墨绿票面 / 黄铜编号 / 打孔与副券；不与其他页共用骨架。
   ========================================================================== */

.page-ticket {
  --t-paper: #fbf6e9;
  --t-paper-2: #f3ead7;
  --t-teal: #0b4a42;
  --t-teal-2: #136b60;
  --t-ink: #2f2418;
  --t-muted: #7a6a50;
  --t-brass: #c9a25a;
  --t-line: rgba(47, 36, 24, .2);
  --t-line-soft: rgba(47, 36, 24, .1);
  background: var(--t-paper);
  color: var(--t-ink);
}
.page-ticket .site-footer { background: #15110b; }

/* ---------- Hero ---------- */
.tk-hero {
  padding: 26px 0 62px;
  border-bottom: 1px solid var(--t-line);
  background:
    radial-gradient(circle at 82% 22%, rgba(11, 74, 66, .07), transparent 42%),
    var(--t-paper);
}
.tk-crumb { padding-bottom: 28px; color: var(--t-muted); }
.tk-crumb span:last-child { color: var(--t-teal-2); opacity: 1; }
.tk-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.tk-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--t-teal-2);
}
.tk-hero h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--t-teal);
}
.tk-hero h1 em {
  display: block;
  margin-top: 14px;
  font-family: var(--font);
  font-style: normal;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--t-muted);
}
.tk-lead {
  margin-top: 20px;
  max-width: 540px;
  font-size: 15px;
  line-height: 2.05;
  color: #57452f;
}
.tk-lead strong { color: var(--t-teal); }
.tk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tk-actions .btn-primary { background: var(--t-teal); box-shadow: 0 12px 26px rgba(11, 74, 66, .18); }
.tk-actions .btn-primary:hover { background: var(--t-teal-2); }
.tk-actions .btn-room { color: var(--t-ink); border-color: var(--t-line); }
.tk-actions .btn-room b { color: var(--t-teal-2); }
.tk-figure {
  padding: 9px;
  background: #fffdf6;
  border: 1px solid var(--t-line);
  box-shadow: 0 26px 52px rgba(60, 45, 25, .16);
}
.tk-figure img { width: 100%; }
.tk-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #97815f;
}

/* ---------- 票面摘要 ---------- */
.tk-strip { background: var(--t-teal); color: #d8e5df; }
.tk-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.tk-strip-inner > div { padding: 16px 18px; border-left: 1px solid rgba(255, 255, 255, .13); }
.tk-strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.tk-strip-inner span {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1.8px;
  color: #9fc4b9;
}
.tk-strip-inner strong {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 14px;
  color: #fbf6e9;
}

/* ---------- section ---------- */
.tk-section { padding: 72px 0; }
.tk-section + .tk-section { border-top: 1px solid var(--t-line); }
.tk-section.is-teal { background: var(--t-paper-2); }
.tk-section .container.narrow { max-width: 900px; }
.tk-head { max-width: 760px; margin-bottom: 34px; }
.tk-head h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.32;
  font-weight: 700;
  color: var(--t-teal);
}
.tk-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.95; color: var(--t-muted); }

/* ---------- 三行 ---------- */
.three-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.three-lines article {
  position: relative;
  padding: 26px 24px;
  background: #fffdf6;
  border: 1px solid var(--t-line);
  border-top: 4px solid var(--t-teal);
}
.three-lines article.is-mid { border-top-color: var(--t-brass); }
.three-lines span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--t-muted); }
.three-lines strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--t-teal);
  letter-spacing: -1px;
}
.three-lines h3 { margin-top: 4px; font-family: var(--serif); font-size: 19px; font-weight: 700; }
.three-lines p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: #57452f; }

/* ---------- 副券 ---------- */
.tk-stub-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.tk-stub-grid h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 37px);
  font-weight: 700;
  color: var(--t-teal);
}
.tk-stub-grid > div > p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  color: #57452f;
}
.stub-note {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px dashed var(--t-teal);
  background: rgba(11, 74, 66, .04);
}
.stub-note span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--t-teal-2); }
.stub-note p { margin-top: 5px; font-family: var(--serif); font-size: 16px; color: var(--t-teal); }

.stub-mock {
  display: grid;
  grid-template-columns: 1fr 34px 120px;
  min-height: 240px;
  filter: drop-shadow(0 18px 30px rgba(60, 45, 25, .18));
}
.stub-main {
  background: var(--t-teal);
  color: #fbf6e9;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stub-main span, .stub-side span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 2px;
  color: #9fc4b9;
}
.stub-main b {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1px;
}
.stub-main em, .stub-side em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #9fc4b9;
}
.stub-cut {
  position: relative;
  background: transparent;
}
.stub-cut::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  border-left: 2px dashed rgba(11, 74, 66, .35);
}
.stub-cut::after {
  content: "";
  position: absolute;
  left: 50%; top: -8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--t-paper-2);
  border: 1px solid var(--t-line);
  transform: translateX(-50%);
}
.stub-side {
  background: #fffdf6;
  border: 1px solid var(--t-line);
  border-left: 0;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.stub-side b {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--t-teal);
  writing-mode: vertical-rl;
  letter-spacing: 3px;
}
.stub-side span, .stub-side em { color: var(--t-muted); }

/* ---------- 步骤 ---------- */
.tk-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--t-teal); }
.tk-steps li { position: relative; padding: 24px 20px 0 0; }
.tk-steps li::before {
  content: "";
  position: absolute;
  left: 0; top: -5px;
  width: 8px; height: 8px;
  background: var(--t-paper);
  border: 2px solid var(--t-teal);
}
.tk-steps li + li { padding-left: 20px; border-left: 1px solid var(--t-line); }
.tk-steps span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; color: var(--t-teal-2); }
.tk-steps h3 { margin-top: 7px; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.tk-steps p { margin-top: 5px; font-size: 12.5px; line-height: 1.9; color: var(--t-muted); }

/* ---------- 版本线 ---------- */
.tk-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px dashed var(--t-line);
  background: #fffdf6;
}
.tk-timeline li {
  position: relative;
  padding: 22px 20px;
  border-right: 1px dashed var(--t-line);
}
.tk-timeline li:last-child { border-right: 0; }
.tk-timeline span { font-family: var(--mono); font-size: 9px; letter-spacing: 1.6px; color: var(--t-teal-2); }
.tk-timeline h3 { margin-top: 7px; font-family: var(--serif); font-size: 16.5px; font-weight: 700; }
.tk-timeline p { margin-top: 5px; font-size: 12px; line-height: 1.85; color: var(--t-muted); }

/* ---------- 表格 ---------- */
.tk-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--t-line); background: #fffdf6; }
.tk-table { min-width: 560px; font-size: 13px; }
.tk-table th, .tk-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--t-line-soft);
  border-right: 1px solid var(--t-line-soft);
}
.tk-table th:last-child, .tk-table td:last-child { border-right: 0; }
.tk-table tbody tr:last-child th,
.tk-table tbody tr:last-child td { border-bottom: 0; }
.tk-table thead th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  font-weight: 400;
  color: #fbf6e9;
  background: var(--t-teal);
}
.tk-table tbody th { color: var(--t-teal); font-weight: 700; white-space: nowrap; }
.tk-table tbody td { color: #57452f; }

/* ---------- 机器人 ---------- */
.tk-bot-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 54px; align-items: center; }
.tk-bot-copy h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 37px);
  font-weight: 700;
  color: var(--t-teal);
}
.tk-bot-copy p { margin-top: 14px; font-size: 14px; line-height: 2; color: #57452f; }
.tk-bot-copy a { color: var(--t-teal-2); border-bottom: 1px solid rgba(19, 107, 96, .35); }
.bot-loop { border-top: 2px solid var(--t-teal); }
.bot-loop li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--t-line);
}
.bot-loop b { flex: none; width: 30px; font-family: var(--mono); font-size: 10px; color: var(--t-teal-2); }
.bot-loop h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.bot-loop p { margin-top: 2px; font-size: 12.5px; color: var(--t-muted); }
.bot-loop li > *:nth-child(2) { min-width: 70px; }
.bot-loop li > p { flex: 1; }

/* ---------- 核对 ---------- */
.verify-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.verify-grid article { padding: 24px 22px; background: #fffdf6; border: 1px solid var(--t-line); }
.verify-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; color: var(--t-teal-2); }
.verify-grid h3 { margin-top: 8px; font-family: var(--serif); font-size: 19px; font-weight: 700; }
.verify-grid p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: var(--t-muted); }

/* ---------- 场景 ---------- */
.scene-list { border-top: 1px solid var(--t-line); }
.scene-list article {
  display: grid;
  grid-template-columns: 44px 170px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--t-line);
}
.scene-list span { font-family: var(--mono); font-size: 10px; color: var(--t-teal-2); }
.scene-list h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.scene-list p { font-size: 13px; line-height: 1.9; color: #57452f; }

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

/* ---------- 相关 ---------- */
.tk-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--t-line); border: 1px solid var(--t-line); }
.tk-rel-grid a { padding: 22px 24px; background: #fffdf6; transition: background .2s; }
.tk-rel-grid a:hover { background: #fff; }
.tk-rel-grid span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: #97815f; }
.tk-rel-grid h3 { margin-top: 7px; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.tk-rel-grid p { margin-top: 4px; font-size: 12.5px; color: var(--t-muted); }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .tk-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .tk-figure { max-width: 680px; }
  .three-lines { grid-template-columns: 1fr; }
  .tk-stub-grid { grid-template-columns: 1fr; gap: 28px; }
  .tk-bot-grid { grid-template-columns: 1fr; gap: 26px; }
  .tk-timeline { grid-template-columns: 1fr 1fr; }
  .tk-timeline li:nth-child(2) { border-right: 0; }
  .tk-timeline li:nth-child(-n+2) { border-bottom: 1px dashed var(--t-line); }
  .scene-list article { grid-template-columns: 34px 150px 1fr; }
}

@media (max-width: 760px) {
  .tk-section { padding: 50px 0; }
  .tk-hero { padding: 20px 0 44px; }
  .tk-actions { flex-direction: column; }
  .tk-actions .btn { width: 100%; }
  .tk-strip-inner { grid-template-columns: 1fr 1fr; }
  .tk-strip-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stub-mock { grid-template-columns: 1fr 24px 84px; }
  .stub-main { padding: 20px 18px; }
  .stub-main b { font-size: 24px; }
  .tk-steps { grid-template-columns: 1fr; }
  .tk-steps li { padding-left: 0 !important; border-left: 0 !important; padding-right: 0; }
  .tk-timeline { grid-template-columns: 1fr; }
  .tk-timeline li { border-right: 0; border-bottom: 1px dashed var(--t-line); }
  .tk-timeline li:last-child { border-bottom: 0; }
  .scene-list article { grid-template-columns: 30px 1fr; }
  .scene-list p { grid-column: 2; }
  .verify-grid { grid-template-columns: 1fr; }
  .tk-bot-copy p { font-size: 13.5px; }
  .tk-rel-grid { grid-template-columns: 1fr; }
  .tk-cta-actions { width: 100%; }
  .tk-cta-actions .btn { width: 100%; }
}
