.reception { position: relative; isolation: isolate; min-height: calc(100dvh - 61px); background: #1d1914; }
.reception-backdrop, .reception::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.reception-backdrop { object-fit: cover; object-position: 64% 62%; z-index: -2; }
.reception::before { content: ""; z-index: -1; pointer-events: none; background: linear-gradient(90deg,#15110de0,#18120e62); }
.entry-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,370px);
  align-items: start;
  gap: clamp(22px,4vw,54px);
  margin-block: clamp(21px,4vw,52px) 32px;
  padding: clamp(18px,3vw,38px);
  color: var(--paper-ink);
  background: linear-gradient(#fff3da91,#fff3da91), var(--paper-texture) center / cover var(--paper);
  border: 1px solid #aa8b62;
  box-shadow: 0 13px 30px #0008;
}
h1, h2 { margin: 0; line-height: 1.12; word-break: keep-all; letter-spacing: -.065em; }
h1 { font-size: clamp(2.1rem,4.5vw,3.7rem); font-weight: 820; }
h2 { font-size: 1.65rem; }
.case-facts { margin: 11px 0 0; color: #503321; font-size: .95rem; font-weight: 720; }
.case-brief { margin-block: 10px 17px; }
.case-brief summary { width: fit-content; min-height: 44px; padding-block: 9px; cursor: pointer; color: #60371f; font-weight: 770; }
.case-brief summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.case-intro { margin: 4px 0 12px; max-width: 46ch; color: #36261d; word-break: keep-all; }
.case-file-page { position: relative; padding-inline-end: clamp(10px,2vw,22px); border-inline-end: 1px solid #ab9073; }
.case-number { margin: 0 0 8px; font-weight: 800; font-size: .84rem; color: #542f23; }
.case-photo figcaption { color: #503321; }
.case-photo > img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; border: 1px solid #a18e6e; }
.play { padding: clamp(12px,1.5vw,18px); scroll-margin-top: 14px; color-scheme: light; color: var(--paper-ink); background: var(--paper-reading); border: 1px solid #bba17b; border-block-start: 2px solid #986b4a; }
.entry-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 41px; }
#resume { display: inline-block; margin-top: 7px; color: #60401e; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.mode { display: flex; gap: 12px; margin-top: 9px; border-bottom: 1px solid #a38d70; }
.mode button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; padding: 5px 1px; background: transparent; color: #3d2c21; font-weight: 750; }
.mode button[aria-pressed=true] { border-bottom-color: #8a4d31; color: #572818; }
#mode-help { min-height: 0; margin: 11px 0 15px; color: #32241a; font-size: .98rem; word-break: keep-all; }
label { display: block; margin-bottom: 4px; font-weight: 710; }
input { display: block; width: 100%; min-height: 44px; padding: 7px 9px; border: 1px solid #a08466; border-radius: 3px; background: #fffdf4; color: var(--paper-ink); }
input::placeholder { color: #5e4c3c; }
.play :is(a, button, input):focus-visible { outline-color: #924f2f; }
#code-field { margin-top: 12px; }
#room-code { text-transform: uppercase; }
#form-status { margin: 0; color: #702b1c; font-size: .94rem; }
#form-status:not(:empty) { margin-top: 9px; }
#enter { width: 100%; margin-top: 15px; background: #283c30; color: #fbf1dc; }
#enter:hover:not(:disabled) { background: #37523f; }

@media (max-width: 750px) {
  .entry-layout { grid-template-columns: minmax(0,1fr); }
  .case-file-page { padding-inline-end: 0; border-inline-end: 0; }
  .case-photo > img { aspect-ratio: 2.1; }
}
.case-file-page :focus-visible { outline-color: #924f2f; }
