/* Whole-tour planner. Shared type, buttons, fields and the ticket stub come from styles.css.
   Only the setlist of stops and the share block live here. */

.tp-try { margin-top: var(--s4); }
.tp-status { color: var(--ink-2); margin-top: var(--s5); min-height: 26px; }
.tp-summary { font-family: var(--display); font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-top: var(--s8); max-width: 820px; }

/* the stops, as a handwritten setlist taped to the paper */
.tp-stops { list-style: none; padding: clamp(20px, 4vw, 48px); margin: var(--s7) 0 0; background: var(--card); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-photo); counter-reset: stop; position: relative; }
.tp-stops::before { content: ""; position: absolute; top: -14px; left: 50%; width: 140px; height: 28px; transform: translateX(-50%) rotate(2deg); background: var(--tape); }
.tp-stops li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: var(--s2) var(--s6); padding: var(--s5) 0; border-top: 1px dashed var(--line-strong); }
.tp-stops li:first-child { border-top: 0; }
.tp-stops li.tp-stop { counter-increment: stop; }
.tp-date { font-family: var(--type); font-size: var(--fs-md); }
.tp-date::before { content: counter(stop, decimal-leading-zero) "  "; color: var(--wine); white-space: pre; }
.tp-day { color: var(--ink-3); font-size: var(--fs-xs); margin-top: 2px; }
.tp-city { font-family: var(--type); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.tp-venue { font-family: var(--display); font-size: var(--fs-xl); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; margin-top: var(--s1); }
.tp-line { color: var(--ink-2); font-size: var(--fs-sm); margin-top: var(--s2); max-width: 560px; }
.tp-cost { font-family: var(--display); font-size: var(--fs-lg); font-weight: 700; text-align: right; white-space: nowrap; }
.tp-cost small { display: block; color: var(--ink-3); font-family: var(--body); font-size: var(--fs-xs); font-weight: 400; margin-top: var(--s1); }
.tp-votes { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s4); }
.tp-vote { text-align: left; }
.tp-vote.on { color: var(--ink); font-weight: 600; text-decoration-thickness: 2px; }
.tp-count { color: var(--ink-2); font-weight: 600; margin-left: 4px; }
.tp-voters { color: var(--ink-3); font-size: var(--fs-xs); margin-top: var(--s2); }
/* the drive between two shows, set small like a segue */
.tp-stops li.tp-leg { padding: var(--s3) 0; }
.tp-leg .tp-what { color: var(--ink-2); font-size: var(--fs-sm); font-family: var(--script); font-size: 20px; }
.tp-leg .tp-how { color: var(--wine); }
.tp-leg .tp-leg-cost { font-size: var(--fs-sm); color: var(--ink-2); }

.tp-name-row { margin-top: var(--s6); }
.tp-name-row form { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.tp-name-row label { font-weight: 600; }
.tp-name-row input { min-width: 200px; }

.tp-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); margin-top: var(--s8); align-items: start; }
.tp-verdict { font-size: var(--fs-lg); font-weight: 600; margin-top: var(--s3); }
.tp-share-block h3 { font-size: var(--fs-xl); }
.tp-share-block p { color: var(--ink-2); margin-top: var(--s3); }
.tp-share-link { display: inline-block; font-size: var(--fs-lg); margin-top: var(--s4); }
.tp-url { color: var(--ink-3); font-size: var(--fs-xs); word-break: break-all; margin-top: var(--s1); font-family: var(--type); }

@media (max-width: 834px) {
  .tp-stops li { grid-template-columns: 1fr; gap: var(--s1); }
  .tp-when { display: flex; gap: var(--s3); align-items: baseline; }
  .tp-cost { text-align: left; margin-top: var(--s3); }
  .tp-cost small { display: inline; margin-left: var(--s2); }
  .tp-stops li.tp-leg { grid-template-columns: 1fr auto; }
  .tp-leg .tp-cost { margin-top: 0; }
  .tp-stops li.tp-leg .tp-when { display: none; }
  .tp-bottom { grid-template-columns: 1fr; gap: var(--s7); }
}

/* ---------- Image tab: the same page as the tour planner, with a picture where the brief goes ---------- */
.lk-form { align-items: center; gap: var(--s5); }
.lk-drop { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--s5); min-height: 84px; padding: var(--s2) 0; cursor: pointer;
  color: var(--ink-3); font-size: var(--fs-lg); line-height: 1.45; border: 2px dashed transparent; transition: border-color 0.15s; }
.lk-drop.over { border-color: #8e1424; }
.lk-hint { color: #8a6f68; }
.lk-form.has-pic .lk-hint { font-size: var(--fs-md); }
.lk-drop img { width: 168px; height: 108px; object-fit: cover; flex: none; background: #fbf8f4; padding: 6px; box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25); transform: rotate(-2deg); }

/* results: the setlist, with each room's photo where the date goes */
.lk-list li.lk-row { grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; }
.lk-shot { display: block; background: #fbf8f4; padding: 6px 6px 18px; box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25); transform: rotate(var(--tilt, 0deg)); transition: transform 0.15s; }
.lk-shot:hover { transform: rotate(0) scale(1.03); }
.lk-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9dccd; }
.lk-row .tp-venue a { color: inherit; text-decoration: none; }
.lk-row .tp-venue a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lk-links { display: flex; gap: var(--s5); margin-top: var(--s3); }
@media (max-width: 834px) {
  .lk-list li.lk-row { grid-template-columns: 1fr; }
  .lk-shot { max-width: 260px; }
  .lk-drop img { width: 120px; height: 80px; }
}

/* the look words in the summary, cut out like the headings */
.lk-word.ransom { display: inline; font-size: 0.82em; line-height: 1.9; }
.lk-word.ransom .rn-line { display: inline; }
.lk-word.ransom .rn-w { margin-right: 0.18em; }
.look-page .tp-summary { line-height: 1.7; }
