/* 22 · 12306 捡漏放票时间 —— 铁路蓝 24 小时时间轴（独立布局） */
.tpc {
  --f34-a: #1a6cc4; --f34-a2: #58a3e8; --f34-soft: #e8f2ff;
  --tpc-band: #dceafb; --tpc-band2: #c4dcf7;
}
:root[data-theme="dark"] .tpc {
  --f34-a: #79b6f5; --f34-a2: #a7d0ff; --f34-soft: rgba(80, 150, 230, .17);
  --tpc-band: #1d3048; --tpc-band2: #264566;
}
.tpc-hero { background: linear-gradient(180deg, var(--f34-surface), var(--f34-soft)); }
.tpc-station { max-width: 236px; }
.tpc-inline { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--f34-ink-2); white-space: nowrap; }
.tpc-inline .f34-input { width: 146px; }
.tpc-axis { margin-top: 18px; }
.tpc-track { position: relative; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; padding: 12px 0 4px; }
.tpc-slot { position: relative; height: 56px; border-radius: 5px; background: var(--f34-line-2); transition: background .2s, transform .2s; }
.tpc-slot.has { background: var(--tpc-band2); }
.tpc-slot.is-on { background: var(--f34-a); transform: scaleY(1.18); box-shadow: 0 4px 14px color-mix(in srgb, var(--f34-a) 40%, transparent); }
.tpc-slot .hh { position: absolute; top: -22px; left: 0; width: 100%; text-align: center; font-size: 10px; color: var(--f34-ink-3); }
.tpc-slot.is-on .hh { color: var(--f34-a); font-weight: 700; }
.tpc-slot .mk { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--f34-ink-2); white-space: nowrap; }
.tpc-slot.is-on .mk { color: #fff; font-weight: 700; }
.tpc-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--f34-ink-3); }
.tpc-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .9fr); gap: 16px; margin-top: 16px; align-items: start; }
.tpc-table, .tpc-checklist { min-width: 0; }
.tpc-table .f34-tw { max-height: 330px; overflow: auto; }
.tpc-table tr.is-on { background: var(--f34-soft); }
.tpc-checks { display: grid; gap: 6px; }
.tpc-check { display: flex; align-items: center; gap: 9px; padding: 9px 11px; font-size: 13px; color: var(--f34-ink-2); background: var(--f34-surface-2); border: 1px solid var(--f34-line); border-radius: 10px; cursor: pointer; transition: border-color .16s, background .16s; }
.tpc-check:hover { border-color: var(--f34-a); }
.tpc-check input { width: 16px; height: 16px; accent-color: var(--f34-a); cursor: pointer; }
.tpc-check.is-on { background: var(--f34-soft); border-color: color-mix(in srgb, var(--f34-a) 40%, transparent); }
.tpc-check em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--f34-ink-3); }
.tpc-score { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--f34-ink-2); }
.tpc-score b { font-size: 30px; line-height: 1.2; font-weight: 750; color: var(--f34-a); }
.tpc-score-track { height: 9px; margin-top: 7px; border-radius: 999px; background: var(--f34-line); overflow: hidden; }
.tpc-score-track i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--f34-a2), var(--f34-a)); transition: width .3s; }
.tpc-plan { display: grid; gap: 0; counter-reset: tpc; }
.tpc-plan-row { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 11px 12px 11px 40px; border-bottom: 1px dashed var(--f34-line-2); }
.tpc-plan-row:last-child { border-bottom: 0; }
.tpc-plan-row::before { counter-increment: tpc; content: counter(tpc); position: absolute; left: 8px; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--f34-a); border-radius: 7px; }
.tpc-plan-row b { font-size: 13px; color: var(--f34-a); }
.tpc-plan-row p { font-size: 13.2px; line-height: 1.8; color: var(--f34-ink-2); }
.tpc-reflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpc-reflow div { padding: 12px 14px; border: 1px solid var(--f34-line); border-radius: 11px; background: var(--f34-surface-2); }
.tpc-reflow b { display: block; font-size: 14px; color: var(--f34-a); margin-bottom: 4px; }
.tpc-reflow p { font-size: 12.8px; line-height: 1.75; color: var(--f34-ink-2); }

@media (max-width: 980px) {
  .tpc-layout { grid-template-columns: 1fr; }
  .tpc-track { grid-template-columns: repeat(12, 1fr); }
  .tpc-slot:nth-child(n+13) .hh { display: none; }
  .tpc-reflow { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tpc-track { grid-template-columns: repeat(8, 1fr); }
  .tpc-station { max-width: none; width: 100%; }
  .tpc-inline { width: 100%; }
  .tpc-inline .f34-input { flex: 1; width: auto; }
  .tpc-plan-row { grid-template-columns: 1fr; gap: 3px; }
}
