/* Delivery viewer only. The site's original styles.css is unchanged. */
.experience {
  --bg: #050505;
  --surface: #0e0e0e;
  --raised: #141414;
  --fg: #f5f5f0;
  --muted: #aaa;
  --border: #444;
  --accent: #f5f5f0;
  --on-accent: #050505;
  color: var(--fg);
  font-family: var(--interface);
  background: var(--bg);
}
[data-theme="light"] .experience {
  --bg: #f5f5f0;
  --surface: #fff;
  --raised: #e8e8e3;
  --fg: #111;
  --muted: #555;
  --border: #bbb;
  --accent: #111;
  --on-accent: #fff;
}
.experience button,
.experience select {
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 9px 12px;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  min-width: 0;
}
.experience button {
  cursor: pointer;
  min-height: 40px;
}
.experience button:disabled {
  opacity: 0.45;
  cursor: default;
}
.experience :focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.experience label {
  color: var(--muted);
  font-size: 0.8rem;
}
.experience audio {
  max-width: 100%;
}
.experience summary {
  cursor: pointer;
}
.experience .empty {
  color: var(--muted);
  padding: 30px 10px;
}
.experience [hidden],
.experience .hidden {
  display: none !important;
}
.experience .experience-error {
  font-size: 0.9rem;
  color: var(--fg);
}
.experience .experience-error:empty {
  display: none;
}
.experience {
  min-width: 0;
}
.experience-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding: 10px 0 20px;
}
.experience-heading h2 {
  font-size: 1.65rem;
  margin: 0;
}
.experience-heading .eyebrow {
  margin-bottom: 6px;
}
.experience-details {
  max-width: 340px;
  font-size: 0.83rem;
}
.experience-details summary {
  padding: 6px 0;
}
.experience-details > div {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.experience-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-block: 1px solid var(--border);
  margin-bottom: 18px;
}
.experience-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.experience-toolbar button {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 8px 14px;
}
.experience-toolbar button[aria-pressed="true"] {
  background: var(--raised);
  color: var(--fg);
}
.experience-toolbar > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}
.experience-toolbar select {
  margin: 0;
  max-width: 250px;
  font-size: 0.82rem;
  padding: 8px;
}
.experience-stage {
  min-width: 0;
  scroll-margin-top: 85px;
}
:where(.experience) .visual-stage {
  height: clamp(260px, calc(100svh - 330px), 720px);
  background: var(--surface);
  border-radius: 8px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
:where(.experience) .visual-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
:where(.experience) .visual-stage img:not(.is-ready) {
  visibility: hidden;
}
:where(.experience) .visual-loading {
  position: absolute;
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}
:where(.experience) .visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 10px 0;
}
:where(.experience) .visual-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
:where(.experience) .visual-controls button {
  font-size: 0.8rem;
  padding: 9px 13px;
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
}
:where(.experience) .visual-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
}
:where(.experience) .visual-controls select {
  width: auto;
  margin: 0;
  padding: 7px;
}
:where(.experience) .image-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
}
:where(.experience) .image-thumbnails button {
  flex: 0 0 72px;
  height: 62px;
  padding: 0;
  background: var(--surface);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
:where(.experience) .image-thumbnails button[aria-pressed="true"] {
  border-color: var(--fg);
}
:where(.experience) .image-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:where(.experience) .image-thumbnails span {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 2px 5px;
  background: #111;
  color: #fff;
  font-size: 0.65rem;
}
.experience:has(.experience-audio) .visual-stage {
  height: clamp(220px, calc(100svh - 460px), 600px);
}
.experience-audio {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
  margin-top: 20px;
}
:where(.experience) .audio-heading {
  display: flex;
  align-items: end;
  gap: 14px;
}
:where(.experience) .audio-heading label:first-child {
  flex: 1;
}
:where(.experience) .audio-heading label {
  font-size: 0.72rem;
}
:where(.experience) .audio-heading button {
  font-size: 0.78rem;
  padding: 11px;
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
:where(.experience) .audio-heading select {
  padding: 8px;
  font-size: 0.83rem;
}
:where(.experience) .audio-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
:where(.experience) .audio-controls audio {
  width: 100%;
  min-width: 0;
  height: 42px;
}
:where(.experience) .audio-controls button {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
  padding: 8px;
}
:where(.experience) .audio-state {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 8px;
}
.experience-error {
  margin-top: 12px;
  font-size: 0.88rem;
}
:where(.experience) .reading-tools {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: end;
  margin: 20px 0;
}
:where(.experience) .reading-tools label {
  font-size: 0.75rem;
}
:where(.experience) .reading-tools button {
  font-size: 0.8rem;
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
:where(.experience) .work-prose {
  max-width: 68ch;
  margin: 30px auto;
  font:
    1.15rem/1.9 Georgia,
    serif;
  overflow-wrap: anywhere;
}
:where(.experience) .work-prose h3 {
  font-family: system-ui, sans-serif;
  font-size: 1.55rem;
  margin: 1em 0;
}
:where(.experience) .work-prose p {
  margin: 0 0 1em;
  white-space: pre-wrap;
}
:where(.experience) .reading-steps {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 28px auto;
  max-width: 780px;
}
:where(.experience) .reading-steps span {
  color: var(--muted);
  font-size: 0.8rem;
}
:where(.experience) .listening-intro {
  padding: 40px 20px;
  text-align: center;
  max-width: 650px;
  margin: auto;
}
:where(.experience) .listening-intro h3 {
  font:
    2rem/1.3 Georgia,
    serif;
}
:where(.experience) .listening-intro p {
  color: var(--muted);
}
:where(.experience) .sound-item,
:where(.experience) .file-item {
  border: 1px solid var(--border);
  padding: 22px;
  margin-bottom: 15px;
  border-radius: var(--radius);
}
:where(.experience) .sound-item audio {
  width: 100%;
  margin: 10px 0;
}
:where(.experience) .watch-item {
  margin: 20px 0;
}
:where(.experience) .watch-item video {
  max-height: 65svh;
  margin: auto;
}
:where(.experience) .embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
:where(.experience) .embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.experience-stage .file-item h3 {
  font-size: 1.1rem;
}
.experience-stage .file-item p {
  font-size: 0.8rem;
  color: var(--muted);
}
.experience-stage.is-immersive {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.experience-stage:is(:fullscreen,.is-immersive) {
  background: var(--bg);
  color: var(--fg);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: clamp(8px, 2vw, 24px);
  overflow: hidden;
}
.experience-stage:is(:fullscreen,.is-immersive) .visual-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  background: var(--bg);
}
.experience-stage:is(:fullscreen,.is-immersive) .visual-caption {
  flex: 0 0 auto;
  margin: 0;
}
.experience-stage:is(:fullscreen,.is-immersive) .visual-controls,
.experience-stage:is(:fullscreen,.is-immersive) .image-thumbnails {
  flex: 0 0 auto;
}
.experience-stage:is(:fullscreen,.is-immersive) .image-thumbnails {
  max-height: 74px;
  padding: 4px 0;
}
.experience-stage:is(:fullscreen,.is-immersive) .visual-stage img {
  object-fit: contain;
}

.experience .visual-stage {
  border-radius: 0;
  height: clamp(260px, 58svh, 680px);
}
.experience .work-prose {
  color: var(--fg);
}
.experience .work-prose p {
  color: inherit;
}
.experience .experience-audio {
  position: static;
  border-radius: 0;
}
.experience .story-chapter {
  max-width: 900px;
  margin: 12px auto 0;
  padding: 12px clamp(4px, 3vw, 28px) 22px;
}
.experience .story-chapter-count {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 18px 0 8px;
}
.experience .story-chapter .reading-chapter-title {
  font: 2.3rem/1.2 var(--reading, Georgia, serif);
  letter-spacing: -.035em;
  margin: 0 0 22px;
}
.experience .story-artwork {
  margin: 0 auto 10px;
  background: var(--surface);
  text-align: center;
}
.experience .story-artwork img {
  display: block;
  width: 100%;
  max-height: min(60svh, 600px);
  object-fit: contain;
  margin: auto;
}
.experience .story-artwork figcaption {
  padding: 9px 12px 4px;
  color: var(--muted);
  font-size: .8rem;
  text-align: left;
}
.experience .story-view-art,
.experience .story-play-chapter {
  margin: 8px 9px 8px 0;
  border-color: var(--border);
}
.experience .story-play-chapter {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.experience .story-chapter .work-prose {
  max-width: 62ch;
  margin: 24px auto 0;
}
.experience .reading-chapter:not(.story-chapter) .reading-chapter-title {
  max-width: 68ch;
  margin: 30px auto 0;
  font-size: 1.55rem;
}
.experience:has(.work-prose) .experience-audio {
  max-width: 780px;
  margin: 16px auto 40px;
}
@media (max-width: 760px) {
  .experience .experience-heading {
    display: block;
  }
  .experience .experience-heading h2 {
    font-size: 1.5rem;
  }
  .experience .experience-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .experience .experience-toolbar nav {
    width: 100%;
    flex-wrap: wrap;
  }
  .experience .experience-toolbar > label {
    width: 100%;
  }
  .experience .experience-toolbar select {
    max-width: 65%;
  }
  .experience .visual-stage {
    height: 42svh;
    min-height: 240px;
  }
  .experience-stage:is(:fullscreen,.is-immersive) .visual-stage {
    min-height: 0;
    height: auto;
  }
  .experience .visual-controls {
    flex-wrap: wrap;
    gap: 8px;
  }
  .experience .audio-heading {
    flex-wrap: wrap;
  }
  .experience .audio-heading label:first-child {
    min-width: 140px;
  }
  .experience .audio-controls {
    gap: 4px;
  }
  .experience .audio-controls button {
    padding: 7px;
  }
  .experience .reading-tools {
    flex-wrap: wrap;
  }
  .experience .work-prose {
    font-size: 1.05rem;
    line-height: 1.8;
  }
  .experience .story-chapter .reading-chapter-title {
    font-size: 1.8rem;
  }
  .experience .story-artwork img {
    max-height: 48svh;
  }
}
.experience .story-atmosphere {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 20px;
  padding: 16px;
  border: 1px solid var(--border);
}
.experience .story-atmosphere .eyebrow {
  width: 100%;
  margin: 0;
}
.experience .story-atmosphere label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.experience .story-atmosphere audio {
  width: 100%;
}
.experience .story-atmosphere [data-story-sound-status] {
  width: 100%;
  margin: 0;
}
@media print {
  .experience .experience-toolbar,
  .experience .experience-audio,
  .experience .story-atmosphere,
  .experience .reading-tools,
  .experience .reading-steps {
    display: none;
  }
}
