/* /share-your-story/ - the Classics fan upload page (D-8, 11/25/2026). Uses the Work Order tokens from
   /assets/p5/chrome.css (--p5-*); every class here is .st-* so nothing else on the site is affected. */
body.story { margin: 0; background: var(--p5-ground); color: var(--p5-ink); font-family: var(--p5-sans); font-size: 18px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
.story *, .story *::before, .story *::after { box-sizing: border-box; }
.story [hidden] { display: none !important; }   /* hidden always wins over display: flex/grid below */

.st-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--p5-pad); background: var(--p5-chip); }
.st-by { font-family: var(--p5-mono); font-size: 12px; letter-spacing: .06em; color: var(--p5-on-dark-muted); }
.st-by .p5-wordmark { font-size: 15px; margin-left: 4px; }
.st-brand { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 24px; }
.st-logo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--p5-ink); }
.st-brand.is-single .st-logo { width: 168px; height: 168px; }
/* Life Catlin: the site's own badge (images/logo-badge.png, white disc baked in, mark centred), shown as-is: no padding, crop or ring. */
.st-logo-lc { object-fit: contain; box-shadow: none; }
.st-bar-k { font-family: var(--p5-mono); font-size: 12px; letter-spacing: .08em; color: var(--p5-on-dark-muted); text-align: right; }

.st-sheet { max-width: 680px; margin: 0 auto; padding: clamp(24px, 5vw, 48px) var(--p5-pad) 48px; background: var(--p5-sheet); min-height: 70vh; }
@media (min-width: 720px) { .st-sheet { margin-top: 28px; border: 1px solid var(--p5-rule); } }

.st-eyebrow { margin: 0 0 12px; font-family: var(--p5-mono); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--p5-teal); }
.st-h1 { margin: 0; font-size: clamp(44px, 11vw, 76px); font-weight: 900; font-stretch: 75%; line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
.st-mark { background: linear-gradient(transparent 58%, var(--p5-mint) 58%, var(--p5-mint) 92%, transparent 92%); padding: 0 .06em; }
.st-lede { margin: 16px 0 8px; font-size: 19px; color: var(--p5-ink-2); max-width: 34em; }

.st-block { margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--p5-ink); }
.st-k { margin: 0 0 16px; font-family: var(--p5-mono); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.st-n { display: inline-block; min-width: 2.2em; color: var(--p5-muted); }

/* three ticket-stub choices */
.st-tiles { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .st-tiles { grid-template-columns: repeat(3, 1fr); } }
.st-tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left;
  min-height: 84px; padding: 16px 18px 16px 22px; border: 2px solid var(--p5-ink); border-radius: 10px; background: #FFFFFF; color: var(--p5-ink); cursor: pointer; font: inherit;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) , linear-gradient(#000, #000); -webkit-mask-composite: source-in; }
.st-tile::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; border-left: 2px dashed var(--p5-dots); }
.st-tile svg { grid-row: 1 / span 2; color: var(--p5-teal); }
.st-tile-t { font-size: 19px; font-weight: 800; line-height: 1.15; }
.st-tile-s { font-family: var(--p5-mono); font-size: 12px; color: var(--p5-muted); letter-spacing: .02em; }
.st-tile:hover, .st-tile[aria-expanded="true"] { background: var(--p5-mint); }
.st-tile:hover svg, .st-tile[aria-expanded="true"] svg { color: var(--p5-ink); }
@media (min-width: 560px) { .st-tile { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 6px; min-height: 150px; align-content: start; }
  .st-tile svg { grid-row: auto; } }
.story :focus-visible { outline: 3px solid var(--p5-teal); outline-offset: 3px; }

/* recorder */
.st-recorder { margin-top: 14px; padding: 18px; border: 2px dashed var(--p5-ink); border-radius: 10px; background: #FBFCFA; }
.st-rec-row { display: flex; align-items: center; gap: 18px; }
.st-rec-btn { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--p5-ink); background: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.st-rec-dot { width: 30px; height: 30px; border-radius: 50%; background: #D92D20; transition: border-radius .15s, width .15s, height .15s; }
.st-rec-btn.is-rec .st-rec-dot { width: 26px; height: 26px; border-radius: 5px; }
.st-rec-btn.is-rec { animation: st-pulse 1.4s ease-in-out infinite; }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 10px rgba(217, 45, 32, .15); } }
@media (prefers-reduced-motion: reduce) { .st-rec-btn.is-rec { animation: none; } }
.st-rec-time { margin: 0; font-family: var(--p5-mono); font-size: 30px; font-weight: 700; }
.st-rec-fallback-msg { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.st-wide { width: 100%; }
.st-rec-hint { margin: 2px 0 0; font-size: 15px; color: var(--p5-muted); }

/* attached files */
.st-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.st-file { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--p5-rule); border-radius: 8px; background: #FFFFFF; }
.st-file img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.st-file audio { display: block; width: 100%; max-width: 100%; height: 40px; margin-top: 6px; }
.st-file-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 6px; background: var(--p5-chip); color: var(--p5-mint); font-family: var(--p5-mono); font-size: 12px; flex: 0 0 auto; }
.st-file-name { flex: 1 1 auto; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.st-file-name small { display: block; font-family: var(--p5-mono); font-size: 12px; color: var(--p5-muted); }
.st-x { flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--p5-ink); }
.st-x:hover { background: var(--p5-rule-faint); }

/* fields */
.st-label { display: block; margin: 18px 0 8px; font-family: var(--p5-mono); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--p5-ink-2); }
.st-opt { text-transform: none; color: var(--p5-muted); }
.story textarea, .story input[type=text], .story input[type=email] { width: 100%; font: inherit; font-size: 18px; color: var(--p5-ink); background: #FFFFFF;
  border: 2px solid var(--p5-ink); border-radius: 8px; padding: 12px 14px; }
.story textarea { min-height: 120px; resize: vertical; }
.story input:disabled { background: var(--p5-rule-faint); color: var(--p5-muted); }
.st-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { position: relative; }
.st-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 14px; border: 2px solid var(--p5-ink); border-radius: 6px; font-family: var(--p5-mono); font-size: 14px; font-weight: 700; background: #FFFFFF; }
.st-chip input:checked + span { background: var(--p5-ink); color: var(--p5-mint); }
.st-chip input:focus-visible + span { outline: 3px solid var(--p5-teal); outline-offset: 3px; }
.st-field.st-need .st-chip span { border-color: #B42318; }

.st-check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 0; padding: 12px; border: 1px solid var(--p5-rule); border-radius: 8px; background: #FFFFFF; font-size: 17px; cursor: pointer; }
.st-check input { flex: 0 0 auto; width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--p5-teal); cursor: pointer; }
.st-check-inline { border: 0; padding: 4px 0; background: transparent; font-size: 16px; }
.st-perm .st-check { border-width: 2px; border-color: var(--p5-ink); }
.st-perm .st-check:has(input:checked) { background: #E9FBF6; }

.st-send { margin-top: 30px; display: grid; gap: 12px; }
.st-send-btn { width: 100%; min-height: 58px; font-size: 20px; }
.st-send-btn:disabled { opacity: .55; cursor: not-allowed; }
.st-progress { height: 10px; border: 2px solid var(--p5-ink); border-radius: 6px; overflow: hidden; background: #FFFFFF; }
.st-progress-bar { height: 100%; width: 0; background: var(--p5-mint); transition: width .2s; }
.st-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.st-err { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid #B42318; background: #FEF3F2; color: #7A271A; font-size: 16px; }
.st-small { margin: 10px 0 0; font-size: 15px; color: var(--p5-muted); }
.st-small a, .st-linkbtn { color: var(--p5-teal); font-weight: 700; }
.st-linkbtn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

.st-done { text-align: left; padding: 20px 0; }
.st-done:focus { outline: none; }
.st-h1-done { margin-bottom: 8px; }
.st-done .p5-btn { margin-top: 18px; }

.st-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; max-width: 680px; margin: 0 auto; padding: 22px var(--p5-pad) 40px; font-family: var(--p5-mono); font-size: 13px; }
.st-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.st-foot a:not(.p5-wordmark) { color: var(--p5-ink-2); }
.st-foot .p5-wordmark { background: var(--p5-chip); padding: 4px 10px; border-radius: 4px; }
