/* The show picker (website/templates/shows.html), over site.css. COPIED from the old app's
 * add-show page as its catalogue picker: the light card on the day landscape, its heading, the
 * pick rows with their sliding arrow, the "Which show would you like next?" box (its frosted
 * field the old light .auth-input, over site.css's dark one), and the topbar's brand and back
 * link in the day ink (atmosphere.css; the back link with its touch-target size). Left out: the
 * title search and the build progress. Not the old app's: the line under the heading, the main
 * course after the shows, past an "or", its line inside its row, and the rows as links (the
 * trial's list, trial_shows.html: on the trial page's dusk, so site.css's light brand, and the
 * trial page's ways in for an account under the rows in the day ink).
 */
body:not(.picker-on-dusk) .brand { color: var(--ink-faint); }
.back-link {
  min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px;
  font: 300 14px/1 var(--font-en); color: var(--ink-soft);
  letter-spacing: 0.1em; text-transform: lowercase; text-decoration: none;
  transition: color 0.2s;
  opacity: 0; animation: backFade 0.3s 0.02s ease forwards;
}
@keyframes backFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.back-link:hover { color: var(--primary); }
.back-link:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 2px; border-radius: 4px; }

.picker-card {
  width: 100%; max-width: 400px; margin: -40px 16px 0;
  padding: 24px 28px 20px;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(74,72,120,0.07); border-radius: var(--radius-lg);
  box-shadow: 0 1px 1px rgba(46,40,70,0.04), 0 5px 12px -4px rgba(46,40,70,0.10),
              0 14px 32px -12px rgba(46,40,70,0.14);
  opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards;
}
.picker-title {
  font: 400 22px/1.2 var(--font-en); color: var(--ink); margin: 0 0 20px; letter-spacing: 0.01em;
}
.picker-lead { font: 400 13.5px/1.5 var(--font-en); color: var(--ink-muted); margin: -12px 0 16px; }

.picks-list { display: flex; flex-direction: column; gap: 8px; }
.pick {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--rule); background: rgba(255, 255, 255, 0.45);
  cursor: pointer; text-align: left; color: inherit; text-decoration: none;
  transition: border-color 0.2s var(--ease-out-expo), background 0.2s var(--ease-out-expo),
              transform 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo);
  animation: fadeUp 0.4s var(--ease-out-expo) both;
}
.pick:hover {
  border-color: var(--primary-soft); background: var(--primary-tint);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(74, 72, 120, 0.1);
}
.pick:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 2px; }
.pick-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pick-title { font: 600 14.5px/1.25 var(--font-en); color: var(--ink); letter-spacing: 0.01em; }
.pick-meta { font: 400 12px/1.3 var(--font-jp); color: var(--ink-muted); }
.pick-go {
  flex: none; font-size: 16px; color: var(--primary-soft);
  transition: transform 0.2s var(--ease-out-expo);
}
.pick:hover .pick-go { transform: translateX(3px); }

.picks-or {
  display: flex; align-items: center; gap: 12px; margin: 8px 0 0;
  font: 400 12px/1 var(--font-en); color: var(--ink-faint);
  letter-spacing: 0.12em; text-transform: lowercase;
}
.picks-or::before, .picks-or::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.pick--main { border-color: var(--primary-soft); background: rgba(255, 255, 255, 0.7); }
.pick-lead { font: 400 12px/1.3 var(--font-en); color: var(--ink-muted); }
.pick-pitch { font: 400 12.5px/1.45 var(--font-en); color: var(--ink-muted); margin-top: 3px; }

.picker-on-dusk .picker-card { margin-top: 0; }  /* the brand stays clear above a long list */
.picker-card .auth-links { color: var(--ink-muted); }
.picker-card .auth-links a { color: var(--primary); }
.picker-card .cal-try-skip a { color: inherit; }
.picker-card .auth-links a:hover { color: var(--ink); }

.req { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.req--alone { margin-top: 0; padding-top: 0; border-top: none; }
.req-lead { font: 400 13.5px/1.5 var(--font-en); color: var(--ink-muted); margin: 0 0 10px; }
.req-toggle {
  display: block; margin: 0 auto; cursor: pointer;
  background: none; border: none; padding: 4px 6px;
  font: 400 13px/1.4 var(--font-en); color: var(--ink-muted);
  transition: color 0.2s;
}
.req-toggle:hover, .req-toggle[aria-expanded="true"] { color: var(--primary); }
.req-toggle:focus-visible {
  outline: 2px solid var(--primary-soft); outline-offset: 2px; border-radius: 6px;
}
.req-toggle + .req-panel { margin-top: 10px; }
.req-panel:not([hidden]) { animation: fadeUp 0.35s var(--ease-out-expo) both; }
.req-form { display: flex; flex-wrap: wrap; gap: 8px; }
.req-input {
  flex: 999 1 230px; min-width: 0; padding: 11px 14px;
  font: 300 16px/1.3 var(--font-en);
  color: var(--ink); background: rgba(255,255,255,0.6);
  border: 1px solid rgba(74,72,120,0.12); outline: none;
}
.req-input::placeholder { color: var(--ink-faint); }
.req-send {
  flex: 1 0 auto; min-height: 44px; padding: 0 16px; border-radius: var(--radius); cursor: pointer;
  font: 500 13.5px/1 var(--font-en); letter-spacing: 0.02em;
  color: var(--primary); background: var(--primary-tint);
  border: 1px solid var(--primary-soft);
  transition: background 0.2s var(--ease-out-expo), transform 0.2s var(--ease-out-expo);
}
.req-send:hover { transform: translateY(-1px); }
.req-send:active { transform: scale(0.97); }
.req-send:disabled { opacity: 0.5; cursor: default; transform: none; }
.req-send:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 2px; }
.req-msg { font: 400 13px/1.4 var(--font-en); color: var(--primary); margin: 8px 0 0; }
.req-msg:empty { margin: 0; }
.req-msg.is-done { animation: fadeUp 0.45s var(--ease-out-expo) both; }
.req-msg.is-err { color: #c0392b; }
.req-msg a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .picker-card, .back-link { opacity: 1; animation: none; }
  .pick, .req-msg.is-done, .req-panel:not([hidden]) { animation: none; }
  .pick:hover, .pick:hover .pick-go, .req-send:hover, .req-send:active { transform: none; }
}
