.fc-skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 10000;
  padding: .65rem 1rem;
  color: #160f15;
  background: #f7dda8;
  border-radius: .25rem;
  transform: translateY(-200%);
}
.fc-skip:focus { transform: translateY(0); }
.opt-in-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.site-footer .fc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  grid-column: 1 / -1;
  flex-basis: 100%;
}
.fc-footer-links a, .fc-settings-link { color: #dfc4a4; text-decoration: underline; text-underline-offset: .2em; }
.fc-local-clock {
  color: #e0c4a0;
  font: 500 .625rem/1.1 var(--body, system-ui, sans-serif);
  white-space: nowrap;
}
.site-header > .fc-local-clock {
  grid-area: 1 / 1 / 2 / 3;
  align-self: end;
  justify-self: start;
  margin-block-end: .34rem;
}
.fc-local-clock time {
  color: #f5ca86;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.fc-public-brand { display: grid; justify-items: start; gap: .2rem; }
.fc-ticket-countdown {
  margin: 0;
  padding: .3rem clamp(.85rem, 3vw, 2.4rem);
  color: #e0c4a0;
  font-size: .75rem;
  text-align: end;
}
@media (max-width: 800px) {
  .site-header > .fc-local-clock { font-size: .6rem; }
}
.fc-local-clock[hidden], .fc-ticket-countdown[hidden] { display: none; }
.vale-home-link { display: inline-flex; align-items: center; gap: .2rem; flex: none; }
.vale-launcher {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.vale-launcher img {
  display: block;
  object-fit: contain;
  filter: contrast(1.045) saturate(1.06) drop-shadow(0 0 3px #e2a13f66);
  transition: filter .18s ease, transform .18s ease;
}
.vale-launcher:is(:hover, :focus-visible) img { filter: drop-shadow(0 0 4px #efad5290); }
.vale-launcher:focus-visible { outline: 2px solid #efc27b; outline-offset: -2px; }
.site-header[data-fc-phase="night"] .vale-launcher img,
.site-header[data-fc-phase="midnight"] .vale-launcher img,
.site-header[data-fc-phase="deepNight"] .vale-launcher img { filter: drop-shadow(0 0 4px #f1a94f82); }
.vale-moving-lantern > .vale-launcher { position: absolute; z-index: 2; }
.vale-moving-lantern > .vale-launcher.is-sliding { pointer-events: none; }
.vale-lantern-nav-slot, .vale-lantern-dock { inline-size: 44px; block-size: 44px; flex: none; pointer-events: none; }
.vale-lantern-nav-slot { margin-inline-end: -.65rem; }
.vale-lantern-dock { grid-area: 1 / 2; justify-self: start; }
.fc-site-header .vale-lantern-dock { grid-column: 3; }
@media (max-width: 1180px) {
  .site-header.vale-moving-lantern .main-nav {
    width: calc(100% - 52px);
    margin-inline-start: 52px;
  }
  .vale-lantern-nav-slot { display: none; }
}
.vale-launcher[hidden] { display: none; }
.reader-toolbar .vale-launcher { width: 32px; height: 36px; }
.reader-toolbar .vale-launcher img { width: 24px; height: 24px; }
body:has([data-puppet-show]:not([hidden]):is([data-phase="story"], [data-phase="choice"], [data-phase="ending"], [data-phase="turning"]),
  [data-room]:not([hidden])[data-phase="draw"], [data-room]:not([hidden])[data-phase="reading"]) .vale-launcher { visibility: hidden; }
@media (max-width: 800px) {
  .site-header .vale-launcher img { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .reader-toolbar .toolbar-top { gap: .35rem; }
  .reader-toolbar .vale-home-link { gap: 0; }
}
.vale-guide[hidden], .vale-farewell[hidden] { display: none; }
:root[data-fc-reduced] .vale-launcher img { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .vale-launcher img { transition: none; }
}
.fc-atmospheric-header {
  position: relative;
  isolation: isolate;
}
.fc-nav-sky, .fc-nav-sky-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fc-nav-sky {
  z-index: -1;
  overflow: hidden;
  --fc-sky-fade: 2.2s;
}
.fc-nav-sky-frame {
  background: linear-gradient(108deg, var(--fc-sky-shade), var(--fc-sky-base) 77%);
  background:
    radial-gradient(ellipse at 20% -80%, color-mix(in srgb, var(--fc-sky-accent) 12%, transparent), transparent 75%),
    linear-gradient(108deg, var(--fc-sky-shade), var(--fc-sky-base) 77%);
}
.fc-nav-sky-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 24%, #09091018);
}
.fc-time-emblem {
  position: relative;
  display: block;
  flex: none;
  width: var(--fc-emblem-size, 39px);
  height: var(--fc-emblem-size, 39px);
  border: 0;
  --fc-sky-fade: .45s;
}
.fc-time-emblem-face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.fc-sky-arriving { animation: fc-sky-appear var(--fc-sky-fade) ease-in-out both; }
@keyframes fc-sky-appear { from { opacity: 0; } to { opacity: 1; } }

.fc-sky-cloud {
  position: absolute;
  left: calc(0px - var(--fc-cloud-width));
  width: var(--fc-cloud-width);
  height: auto;
  filter: blur(.7px);
  mask-image: linear-gradient(0deg, transparent 5%, #000 39%);
  animation-name: var(--fc-cloud-motion, fc-cloud-drift);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes fc-cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 100%)); }
}
.fc-sky-star {
  position: absolute;
  width: var(--fc-star-size);
  height: var(--fc-star-size);
  border-radius: 50%;
  background: #e8efff;
  opacity: var(--fc-star-dim);
  animation-name: var(--fc-star-motion, fc-star-shine);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.fc-sky-star-ray {
  border-radius: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
@keyframes fc-star-shine {
  0%, 100% { opacity: var(--fc-star-dim); }
  52% { opacity: var(--fc-star-light); }
}
.fc-nav-sky[data-fc-paused] :is(.fc-sky-cloud, .fc-sky-star) { animation-play-state: paused; }
@media (max-width: 800px) {
  .fc-sky-star-desktop, .fc-sky-cloud:nth-of-type(n+3) { display: none; }
}
:root[data-fc-reduced] .fc-nav-sky {
  --fc-cloud-motion: none;
  --fc-star-motion: none;
}
:root[data-fc-reduced] .fc-sky-cloud { left: var(--fc-cloud-rest); transform: translateX(-50%); }
:root[data-fc-reduced] .fc-sky-arriving { animation-name: none; }
@media (prefers-reduced-motion: reduce) {
  .fc-nav-sky {
    --fc-cloud-motion: none;
    --fc-star-motion: none;
  }
  .fc-sky-cloud { left: var(--fc-cloud-rest); transform: translateX(-50%); }
  .fc-sky-arriving { animation-name: none; }
}
.fc-time-test {
  position: fixed;
  inset: auto auto 1rem 1rem;
  z-index: 90;
  padding: .55rem .75rem;
  border: 1px solid #ae895c;
  border-radius: .25rem;
  color: #f8e9d6;
  background: #211722;
  font-size: .8rem;
}
.fc-time-test summary { cursor: pointer; }
.fc-time-test select {
  display: block;
  margin-block-start: .5rem;
  min-height: 34px;
  color: inherit;
  background: #2f2232;
}
.fc-reading-funnel-scroll { max-width: 100%; overflow-x: auto; }
.fc-reading-funnel-table { border-collapse: collapse; }
.fc-reading-funnel-table :is(th,td) { min-width: 6rem; padding: .7rem; text-align: start; border-block-end: 1px solid #684a4a; }
.fc-static-note { margin: 1rem auto; padding-inline: 1rem; color: #f5dfb8; max-width: 64rem; }
.fc-static-note a { color: inherit; text-decoration: underline; }
.fc-entry-link { color: #eac18b; font-size: .85rem; text-decoration: underline; text-underline-offset: .18em; }
.fc-theme-example { margin-top: .8rem; color: #f4e6d5; }
.fc-theme-example summary { cursor: pointer; color: #eac18b; }
[data-fc-seo-result] dt { font-weight: 700; }
[data-fc-seo-result] dd { margin: 0 0 .65rem; overflow-wrap: anywhere; }
.fc-assistive-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:root :is(button,a,input,select,summary,textarea):focus-visible { outline: 2px solid #f9ce83; outline-offset: 3px; }
.fc-site-settings-dialog {
  max-width: min(30rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  overflow: auto;
  border: 1px solid #ae895c;
  border-radius: .5rem;
  background: #211722;
  color: #f8e9d6;
  padding: 1.25rem;
}
.fc-site-settings-dialog::backdrop { background: #0b070bbd; }
.fc-site-settings-dialog form { display: grid; gap: .85rem; }
.fc-site-settings-dialog label { display: flex; align-items: center; gap: .75rem; justify-content: space-between; }
.fc-site-settings-dialog label:has(input[type="checkbox"]) { justify-content: start; }
.fc-site-settings-dialog label input { accent-color: #d29360; min-width: 1.1rem; }
.fc-site-settings-dialog button {
  justify-self: start;
  min-height: 44px;
  border: 1px solid #b98b68;
  padding: .4rem 1rem;
  border-radius: .3rem;
  color: inherit;
  background: #45252e;
}
:root[data-fc-reduced] *, :root[data-fc-reduced] *::before, :root[data-fc-reduced] *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
