:root { color-scheme: light; font-family: Georgia, 'Times New Roman', serif; color: #181716; background: #e7e4dc; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 50% -15%, #fcfbf5 0, #ece9e0 47%, #ddd9ce 100%); }
main { width: min(100% - 2rem, 1100px); margin: 0 auto; padding: 3.5rem 0 5rem; }
.masthead { border-top: 1px solid #31312d; padding-top: .8rem; margin-bottom: 2.7rem; }
.eyebrow, .meta, .player-note, .provenance { font-family: Arial, Helvetica, sans-serif; }
.eyebrow { margin: 0 0 .65rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #59584f; }
h1 { margin: 0; font-size: clamp(2.8rem, 9vw, 5.4rem); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.meta { margin: 1.15rem 0 0; color: #5f5d56; font-size: .83rem; }
.player-section { margin: 0 0 3rem; }
.player-frame { position: relative; background: #000; border: 1px solid #cecbc2; box-shadow: 0 9px 34px rgba(45, 43, 36, .12); aspect-ratio: 4 / 3; overflow: hidden; }
#exquisite-copse-mount { width: 100%; height: 100%; background: #000; }
#exquisite-copse-player, ruffle-embed, ruffle-object { display: block; width: 100%; height: 100%; }
#exquisite-copse-player.intro-player { transform: scale(1.5); transform-origin: 50% 50%; }
.fullscreen-touch {
  position: absolute;
  z-index: 10;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: #f3f3f0;
  color: #000;
  box-shadow: none;
  cursor: pointer;
  opacity: .2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 120ms ease;
}
.fullscreen-touch:hover,
.fullscreen-touch:focus-visible,
.fullscreen-touch:active { background: #000; color: #f3f3f0; opacity: .4; }
.fullscreen-touch[aria-pressed="true"] { background: #f3f3f0; color: #000; opacity: .2; }
.fullscreen-touch[aria-pressed="true"]:hover,
.fullscreen-touch[aria-pressed="true"]:focus-visible,
.fullscreen-touch[aria-pressed="true"]:active { opacity: .4; }
.fullscreen-touch:focus-visible { outline: 2px solid #f3f3f0; outline-offset: 2px; }
.fullscreen-touch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; }
.fullscreen-touch__collapse { display: none; }
.fullscreen-touch[aria-pressed="true"] .fullscreen-touch__expand { display: none; }
.fullscreen-touch[aria-pressed="true"] .fullscreen-touch__collapse { display: block; }
.player-frame:fullscreen,
.player-frame:-webkit-full-screen { width: 100vw; height: 100vh; border: 0; aspect-ratio: auto; background: #000; }
.runtime-status { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: .8rem; }
.runtime-status[hidden] { display: none; }
.local-file-notice { display: grid; min-height: 100%; place-content: center; padding: 2rem; background: #181716; color: #f5f2e9; text-align: center; font-family: Arial, Helvetica, sans-serif; }
.local-file-notice[hidden] { display: none; }
.local-file-notice p { max-width: 28rem; margin: .35rem auto; font-size: .94rem; line-height: 1.45; }
.local-file-notice .notice-label { color: #d0caba; font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; }
.player-note { margin: .65rem 0 0; font-size: .74rem; color: #66635c; }
.record { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 760px; font-size: 1.05rem; line-height: 1.57; }
.record p { margin: 0 0 1rem; }
.intro { font-size: 1.27rem; line-height: 1.42; }
h2 { margin: 0 0 .8rem; padding-top: .5rem; border-top: 1px solid #bdb9ae; font-family: Arial, Helvetica, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.tour, .credits { margin: 1.25rem 0 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: .83rem; }
.tour div, .credits div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; border-top: 1px solid #d0ccc2; padding: .52rem 0; }
.tour dt, .credits dt { font-weight: 700; }
.tour dd, .credits dd { margin: 0; color: #625f57; text-align: right; }
.credits div { grid-template-columns: minmax(8rem, .34fr) 1fr; }
.credits dd { text-align: left; }
.credits code { font-size: .94em; }
.provenance { border-top: 1px solid #31312d; padding-top: 1rem; font-size: .75rem; line-height: 1.45; color: #5b5952; }
a { color: inherit; text-decoration-color: #8d8a7d; text-underline-offset: .16em; }
a:hover { text-decoration-color: currentColor; }
@media (max-width: 520px) { main { width: min(100% - 1.25rem, 760px); padding-top: 2rem; } .intro { font-size: 1.12rem; } .tour div, .credits div { grid-template-columns: 1fr; gap: .15rem; } .tour dd { text-align: left; } .fullscreen-touch { right: 9px; bottom: 9px; } }

/* Full-screen Computational presentation: preserve the Flash work at 4:3,
   with the minimal site scaffold positioned above it. */
:root { color-scheme: dark; }
body { background: #000; color: #fff; }
main { position: relative; width: 100%; min-height: 100svh; margin: 0; padding: 0; overflow: hidden; }
.site-header { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 28px; width: 100%; padding: 20px 20px 9px; border-bottom: 1px solid #444; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 14px; line-height: 1.35; }
.wordmark { font-weight: 700; text-decoration: none; text-transform: uppercase; }
.site-header nav { display: flex; gap: 26px; }
.screen-work-link { position: relative; z-index: 2; margin: 8px 20px 0; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 14px; line-height: 1.35; }
.screen-work-link a { color: inherit; }
/* The full-screen viewing scaffold keeps navigation and the return link unadorned. */
.site-header a, .screen-work-link a { text-decoration: none !important; }
html:not(.embed) main { display: grid; height: 100svh; grid-template-rows: auto auto minmax(0, 1fr); }
html:not(.embed) .player-section { position: relative; z-index: 0; inset: auto; display: grid; grid-row: 3; min-height: 0; margin: 14px 20px 20px; place-items: center; container-type: size; }
html:not(.embed) .player-frame { position: relative; top: auto; left: auto; width: min(100cqw, calc(100cqh * 4 / 3)); aspect-ratio: 4 / 3; overflow: hidden; border: 0; background: #000; box-shadow: none; transform: none; }
.fullscreen-touch, .player-note, .masthead, .record { display: none; }
html.embed,
html.embed body { width: 100%; height: 100%; overflow: hidden; background: #000; }
html.embed .site-header,
html.embed .screen-work-link { display: none; }
html.embed main { width: 100%; min-height: 100%; height: 100%; }
html.embed .player-section { position: absolute; inset: 0; margin: 0; }
html.embed .player-frame { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; transform: none; }
@media (max-width: 760px) {
  .site-header { gap: 12px; padding: 16px 8px 7px; font-size: 12px; }
  .site-header nav { gap: 16px; }
  .screen-work-link { margin: 8px 8px 0; font-size: 12px; }
}
