:root {
  color-scheme: dark;
  --cream: #fff3da;
  --gold: #f3d598;
  --signal: #fff47a;
  --left: max(clamp(10px, 2.4vw, 36px), calc(env(safe-area-inset-left) + 6px));
  --right: max(clamp(10px, 2.4vw, 36px), calc(env(safe-area-inset-right) + 6px));
  --top: max(clamp(10px, 2.1dvh, 23px), calc(env(safe-area-inset-top) + 6px));
  --bottom: max(clamp(14px, 3.3dvh, 31px), calc(env(safe-area-inset-bottom) + 8px));
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--cream);
  background: #232b29;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  position: fixed;
  inset: 0;
}
button,
a,
input {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.42;
}
a {
  text-decoration: none;
}
button,
.wordmark {
  -webkit-user-select: none;
  user-select: none;
}
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.miniature,
[data-icon],
.reward-action i {
  display: block;
  flex: none;
}
.miniature {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
[data-icon],
.reward-action i {
  width: 30px;
  height: 30px;
  font-style: normal;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100%;
  height: 100dvh;
}
#viewport,
.world-backing,
.shade,
.orbit-cpu,
.actor-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#viewport {
  container-type: size;
  overflow: hidden;
}
.world-backing {
  background: #363b35 url('../assets/viste/albero-desktop.webp') center / cover no-repeat;
}
.shade {
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      #0d1828b5 0,
      #12202d1e 19%,
      transparent 33%,
      transparent 78%,
      #0c14224f 99%
    ),
    radial-gradient(ellipse at 50% 49%, transparent 55%, #0d172b35 100%);
}
.hero.has-gift .shade {
  background: linear-gradient(180deg, #0b142372, transparent 17%, transparent 82%, #0b142359);
}
#world {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}
#world,
.orbit-cpu,
.actor-loop {
  cursor: grab;
  touch-action: none;
}
#world:focus-visible,
.orbit-cpu:focus-visible {
  outline-offset: -4px;
}
#world.hold,
.orbit-cpu:active,
.actor-loop:active {
  cursor: grabbing;
}
#world.pick,
.orbit-cpu.pick {
  cursor: pointer;
}
.hero:not(.rendered) #world {
  opacity: 0;
}
.hero.software #world,
.poster-view #world {
  display: none;
}
.orbit-layers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orbit-layers > * {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  background-repeat: no-repeat;
}
.orbit-branch {
  mask-image: radial-gradient(ellipse at center, black 44%, transparent 76%);
}
.actor-loop {
  overflow: hidden;
  background: #26302a;
}
.actor-room-back {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  filter: blur(7px) brightness(0.77);
}
.actor-loop video {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(94%, calc(var(--stage-h) * 1.2));
  height: auto;
  aspect-ratio: 600 / 544;
  transform: translate(-50%, -50%) scale(var(--video-zoom, 1));
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  pointer-events: none;
}
/* The bezel edges keep their proportions when a rendered Blender surface is resized. */
.surface,
.day-tip {
  --skin: url('../assets/hud/superfici/pine.webp');
  --cut: 20;
  --rim: 8px;
  position: relative;
  isolation: isolate;
  border-radius: 8px;
}
.surface::before,
.day-tip::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  border: solid transparent;
  border-width: var(--rim);
  border-image-source: var(--skin);
  border-image-slice: var(--cut) fill;
  border-image-width: var(--rim);
  border-image-repeat: stretch;
  border-radius: inherit;
  background: var(--undercoat, #32413b) padding-box;
}
.hud,
.gift-path {
  position: absolute;
  z-index: 4;
  top: var(--top);
  left: var(--left);
  right: var(--right);
  pointer-events: none;
}
.hud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 6px;
  align-items: start;
}
.hud h1 {
  display: flex;
  justify-self: start;
  margin: 0;
  font-size: 1rem;
}
.hud button,
.hud a,
.hud-tools,
.gift-path > * {
  pointer-events: auto;
}
.wordmark,
.hud-tools,
.music-console,
.back-key,
.date-stepper,
.activity-key,
.world-state,
.day-tip,
#gift-note,
.reward-action,
.cta {
  filter: drop-shadow(0 3px 4px #0e120fc0);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 46px;
  padding: 2px 13px 3px 7px;
  white-space: nowrap;
  color: var(--cream);
}
.crest {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: none;
}
.game-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 1px 2px #172223;
}
.game-title small {
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: #f5dcad;
}
.game-title strong {
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.043em;
  font-weight: 850;
  font-style: italic;
  text-transform: uppercase;
}
.hud-tools,
.views,
.date-stepper,
.gift-path,
.hero-bottom,
.gift-actions,
#gift-links,
.back-key,
.activity-key,
.cta,
.reward-action {
  display: flex;
  align-items: center;
}
.hud-tools {
  justify-self: end;
  padding: 1px 4px;
  height: 46px;
}
.dock-key,
.date-stepper button,
.panel-close,
.slide-arrow,
.reel-rail button,
.reel-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 6px;
}
.dock-key {
  position: relative;
  gap: 4px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}
.dock-key i {
  width: 34px;
  height: 34px;
}
.view-tab {
  padding: 0 8px 0 4px;
}
.view-tab.active {
  display: none;
}
.hud-tools > .dock-key::after,
.date-stepper > button + button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 23%;
  bottom: 23%;
  width: 1px;
  background: #0d191a66;
  box-shadow: 1px 0 0 #f4e3b51a;
  pointer-events: none;
}
.dock-key[aria-expanded='true'],
.date-stepper button[aria-expanded='true'] {
  background: #0e1e1e61;
  box-shadow: inset 0 2px 3px #14211f8c;
}
.activity-key {
  grid-column: 2;
  justify-self: end;
  gap: 4px;
  padding: 3px 10px 4px 7px;
  min-height: 40px;
  font-size: 12px;
  font-weight: 620;
}
.activity-key i {
  width: 25px;
  height: 25px;
}
.gift-path {
  justify-content: space-between;
  align-items: flex-start;
}
.back-key {
  justify-content: center;
  min-height: 44px;
  gap: 4px;
  padding: 3px 12px 4px 7px;
  font-size: 13px;
  font-weight: 650;
}
.back-key i {
  width: 29px;
  height: 32px;
}
.date-stepper {
  padding: 1px 4px;
  min-height: 44px;
}
.date-stepper .step {
  width: 42px;
}
.date-stepper button {
  position: relative;
  gap: 4px;
}
.date-stepper .step i {
  width: 23px;
  height: 23px;
}
#choose-day {
  padding: 0 7px;
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}
#choose-day i {
  width: 26px;
  height: 28px;
}
/* The music plaque stays within reach during both the scenic view and the gift zoom. */
.music-console {
  position: absolute;
  top: var(--top);
  left: calc(var(--left) + 216px);
  z-index: 5;
  width: 127px;
  pointer-events: auto;
  color: var(--cream);
}
.has-gift .music-console {
  left: calc(var(--left) + 118px);
}
#music {
  --skin: url('../assets/hud/superfici/ivory.webp');
  --cut: 18;
  --rim: 7px;
  --undercoat: #d3c7b5;
  color: #332c21;
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 8px 4px 6px;
  border-radius: 8px;
}
#music i {
  width: 32px;
  height: 32px;
}
.music-caption {
  display: grid;
  gap: 1px;
  text-align: left;
}
.music-caption strong {
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 750;
}
.music-caption small {
  font-size: 10px;
  font-weight: 580;
  line-height: 1.2;
  color: #5b492d;
  white-space: nowrap;
}
.meters {
  height: 23px;
  align-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  width: 28px;
  padding: 3px 4px;
  border-radius: 4px;
  background: url('../assets/hud/superfici/pine.webp') center / 100% 100% no-repeat;
  box-shadow: inset 0 1px 2px #191a12;
}
.meters b {
  display: block;
  width: 4px;
  height: 100%;
  transform-origin: 50% 100%;
  transform: scaleY(var(--lamp, 0.2));
  background: url('../assets/hud/icone/meter.webp') center / 100% 100% no-repeat;
  opacity: 0.7;
}
.music-console[data-state='playing'] .meters b,
.music-console[data-state='fading'] .meters b {
  opacity: 1;
}
.music-console[data-state='playing'] .music-caption small {
  color: #344c36;
}
.music-level {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 0 3px;
  padding: 1px 11px 6px;
  border-top: 1px solid #d5bd8438;
}
.track-title {
  grid-column: 1 / -1;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #eedecc;
  margin-top: 3px;
}
.music-level output {
  font-size: 9px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
input[type='range'] {
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0;
  margin: 0;
  accent-color: #e3ba65;
  touch-action: pan-y;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, #dbb96c var(--played, 0%), #152322 var(--played, 0%));
  box-shadow:
    inset 0 1px 2px #0e181a,
    0 1px 0 #dac79866;
}
input[type='range']::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: #142421;
  box-shadow: 0 1px 0 #dac79866;
}
input[type='range']::-moz-range-progress {
  background: #dbb96c;
  height: 4px;
}
input[type='range']::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border: none;
  border-radius: 5px;
  background: url('../assets/hud/superfici/ivory.webp') center/100% 100%;
  filter: drop-shadow(0 1px 1px #0d161a);
}
input[type='range']::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 5px;
  background: url('../assets/hud/superfici/ivory.webp') center/100% 100%;
}
.hud-panel {
  --skin: url('../assets/hud/superfici/cabinet.webp');
  --cut: 19;
  --rim: 14px;
  position: absolute;
  z-index: 6;
  right: var(--right);
  top: calc(var(--top) + 55px);
  width: min(270px, calc(100vw - var(--left) - var(--right)));
  padding: 12px 17px 11px;
  filter: drop-shadow(0 6px 12px #0f1414ab);
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-top h2 {
  margin: 0;
  letter-spacing: -0.035em;
  font-weight: 760;
  font-size: 1.13rem;
}
.panel-close {
  min-width: 40px;
  min-height: 40px;
  margin-right: -5px;
}
.panel-close i {
  width: 24px;
  height: 24px;
}
#calendar-panel,
.credits-paper {
  --undercoat: #d8ccba;
  --skin: url('../assets/hud/superfici/paper.webp');
  --cut: 15;
  --rim: 10px;
  color: #332c21;
}
#calendar-panel {
  width: min(282px, calc(100vw - var(--left) - var(--right)));
  padding: 13px 15px 14px;
  margin-top: 9px;
}
.binding {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 79px;
  height: 30px;
  transform: translateX(-50%);
  pointer-events: none;
}
#calendar-title {
  font:
    700 22px/1.1 Georgia,
    'Times New Roman',
    serif;
  color: #3b3326;
}
#calendar-title small {
  font:
    650 11px/1 -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    sans-serif;
  letter-spacing: 0.04em;
  margin-left: 2px;
  color: #605646;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  margin: 2px 0 8px;
}
.ticket {
  --undercoat: #cec4b0;
  --skin: url('../assets/hud/superfici/ivory.webp');
  --cut: 18;
  --rim: 6px;
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  min-height: 41px;
  color: #3d3426;
  font:
    650 16px/1 Georgia,
    serif;
  font-variant-numeric: tabular-nums;
}
.ticket.open,
.cta,
.reward-action:not(.subtle) {
  --undercoat: #d7b26e;
  --skin: url('../assets/hud/superfici/honey.webp');
  --cut: 21;
  --rim: 8px;
  color: #2c2317;
}
.ticket .day-icon {
  position: absolute;
  right: 3px;
  top: 2px;
  width: 12px;
  height: 12px;
}
.ticket.open[aria-current='date'] .number {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #93702f;
}
.calendar-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #4a4236;
  padding: 0 1px;
}
.setting-switch,
.zoom-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  width: 100%;
  border-top: 1px solid #c5b88d3d;
  font-size: 14px;
  text-align: left;
}
.setting-switch b {
  margin-left: auto;
  width: 47px;
  height: 24px;
  background: url('../assets/hud/superfici/switch-off.webp') center/contain no-repeat;
}
.setting-switch[aria-pressed='true'] b {
  background-image: url('../assets/hud/superfici/switch-on.webp');
}
.zoom-row > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}
.zoom-row button {
  width: 38px;
  min-height: 40px;
  display: grid;
  place-items: center;
}
.zoom-row button i {
  width: 24px;
  height: 24px;
}
.gesture {
  color: #e8dfcb;
  font-size: 12px;
  line-height: 1.4;
  margin: 3px 0 0;
}
.text-key {
  font-size: 12px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 38px;
}
.hero-bottom,
.gift-actions {
  position: absolute;
  left: var(--left);
  right: var(--right);
  bottom: var(--bottom);
  z-index: 4;
  pointer-events: none;
  justify-content: center;
  gap: 6px;
}
.hero-bottom > *,
.gift-actions > * {
  pointer-events: auto;
}
.cta {
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 2px 16px 3px 9px;
  font-size: clamp(15px, 1.12vw, 17px);
  font-weight: 770;
  letter-spacing: -0.026em;
  text-shadow: 0 1px 0 #fff4ca9c;
}
.cta i {
  width: 40px;
  height: 40px;
}
.cta kbd {
  display: none;
  place-items: center;
  border: 1px solid #aa8749;
  border-radius: 4px;
  min-width: 19px;
  height: 20px;
  margin-left: 3px;
  background: url('../assets/hud/superfici/ivory.webp') center/100% 100%;
  font:
    650 11px/1 -apple-system,
    sans-serif;
  color: #443824;
}
#gift-note,
.world-state {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px 6px 9px;
  min-height: 39px;
  font-size: 13px;
  text-align: center;
}
#gift-note img,
.world-state > img,
.world-state i {
  width: 27px;
  height: 27px;
}
#gift-links {
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.reward-action {
  padding: 3px 12px 4px 8px;
  gap: 4px;
  font-size: 13px;
  font-weight: 680;
  min-height: 43px;
}
.reward-action i {
  width: 26px;
  height: 26px;
}
.day-tip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  padding: 6px 11px;
  font-size: 12px;
  color: var(--cream);
}
.world-state {
  pointer-events: none;
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  max-width: 80vw;
}
.world-state:not(.error) > img,
.world-state:not(.error) i {
  animation: turn 3s linear infinite;
}
@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}
#focus-marker {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 1px 2px #14212be8);
  background: url('../assets/hud/icone/expand.webp') center/contain no-repeat;
}
#reward-anchor {
  position: absolute;
  left: 50%;
  top: 67%;
  z-index: 3;
  pointer-events: none;
}
#reward-media {
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: auto;
  transform-origin: center bottom;
  transform: translate(
      calc(-50% + 17% * var(--rise, 0) + var(--fit-x, 0px)),
      calc((1 - var(--rise, 0)) * 14px - 8px)
    )
    scale(calc(0.12 + 0.88 * var(--rise, 0)));
  opacity: var(--rise, 0);
  filter: drop-shadow(0 10px 15px #10171c71);
  clip-path: inset(0 0 calc((1 - var(--rise, 0)) * 72%) 0 round 5px);
}
#reward-media[data-format='carousel'] {
  width: min(80cqw, 47cqh, 440px);
}
#reward-media[data-format='reel'] {
  width: min(77cqw, 32cqh, 328px);
}
.gift-reel {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 5px;
  background: #101a20;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f6f1dc;
  color: #14251e;
}
.slides {
  position: relative;
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: pan-x;
}
.slides:focus-visible {
  outline-offset: -3px;
}
.slides::-webkit-scrollbar {
  display: none;
}
.gift-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  container-type: inline-size;
}
.slide-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.slide-copy {
  height: 100%;
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.art-loaded .slide-copy {
  visibility: hidden;
}
.gift-slide[data-style='cover'] {
  color: #fcf1d6;
  background: #19493c;
}
.gift-slide[data-style='green'] {
  background: #e2e8cc;
}
.slide-kicker {
  font-size: clamp(9px, 3.6cqw, 14px);
  margin: 0 0 6%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.slide-copy h2,
.slide-copy h3 {
  margin: 0;
  font-size: clamp(18px, 8.8cqw, 36px);
  line-height: 1.05;
}
.slide-body {
  margin: 5% 0 0;
  font-size: clamp(12px, 4.5cqw, 18px);
  line-height: 1.32;
}
.hero:not([data-phase='revealed']) :is(.slide-bar, .reel-rail) {
  visibility: hidden;
}
.slide-bar,
.reel-rail,
.reel-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  padding: 0 2px;
  border-radius: 4px;
}
.slide-bar {
  min-height: 35px;
}
.slide-counter {
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.055em;
  font-variant-numeric: tabular-nums;
}
.slide-arrow {
  min-width: 42px;
  min-height: 35px;
}
.slide-arrow img {
  width: 24px;
  height: 23px;
}
.reel-shell {
  position: relative;
  isolation: isolate;
}
.reel-rail,
.reel-menu {
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  gap: 2px;
  z-index: 2;
}
.reel-rail {
  padding: 0 4px;
}
.reel-rail button,
.reel-menu button {
  min-width: 30px;
  min-height: 34px;
  flex-shrink: 0;
}
.reel-rail img,
.reel-menu img {
  width: 23px;
  height: 24px;
}
.reel-menu {
  left: auto;
  bottom: 40px;
  min-height: 32px;
  padding: 1px 3px;
}
.reel-menu [aria-pressed='true'] {
  box-shadow: inset 0 -2px 0 #dab671;
}
.reel-shell:fullscreen {
  background: #101917;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.reel-shell:fullscreen video {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.reel-shell:fullscreen .reel-rail {
  left: 50%;
  right: auto;
  width: min(380px, 92%);
  transform: translateX(-50%);
  bottom: max(15px, env(safe-area-inset-bottom));
}
.reel-shell:fullscreen .reel-menu {
  right: max(15px, env(safe-area-inset-right));
  bottom: 65px;
}
dialog {
  width: min(460px, calc(100% - 28px));
  max-height: 80dvh;
  margin: auto;
  padding: 0;
  color: #332c21;
  border: 0;
  border-radius: 9px;
  background: transparent;
}
dialog::backdrop {
  background: #101b1a99;
}
.credits-paper {
  padding: 11px 17px 16px;
}
#credit-list {
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#credit-list p {
  margin: 0.6em 0;
}
#credit-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #244a40;
}
#credit-list a i {
  display: none;
}
button:active:not(:disabled) > i,
.slide-arrow:active img,
.dock-key:active .miniature {
  transform: translateY(1px);
}
.cta:active,
.ticket:active,
.reward-action:active,
.activity-key:active,
.back-key:active {
  transform: translateY(2px);
}
@media (hover: hover) and (pointer: fine) {
  button:not(:disabled):hover > i,
  .slide-arrow:not(:disabled):hover img,
  .reward-action:hover i {
    filter: brightness(1.13);
  }
  .cta:hover,
  .reward-action:hover,
  .ticket:hover {
    filter: brightness(1.07) drop-shadow(0 2px 3px #1d27293b);
  }
  .dock-key:hover,
  .date-stepper button:not(:disabled):hover,
  .panel-close:hover {
    background: #e6c68815;
  }
}
@media (min-width: 740px) and (hover: hover) and (pointer: fine) {
  .cta kbd {
    display: grid;
  }
}
.still-parcel {
  position: absolute;
  z-index: 1;
  background: transparent no-repeat;
  background-size: 400% 300%;
  touch-action: manipulation;
}
.still-number {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: Georgia, serif;
  color: #ffe5a7;
  font-size: clamp(24px, 6cqw, 45px);
}
.poster-view[data-view='room'] .world-backing {
  background: #232b29 var(--room-still) center / contain no-repeat;
}
.poster-view.poster-focus .world-backing {
  filter: blur(3px) brightness(0.74);
  transform: scale(1.3);
}

@media (max-width: 700px) {
  .world-backing {
    background-image: url('../assets/viste/albero-mobile.webp');
  }
  .actor-loop video {
    width: 100%;
    mask-image: linear-gradient(180deg, transparent, black 6%, black 94%, transparent);
  }
}
@media (max-width: 570px) {
  .music-console,
  .has-gift .music-console {
    left: var(--left);
    top: calc(var(--top) + 50px);
    width: 119px;
  }
  #music {
    min-height: 43px;
    padding-block: 2px;
  }
  #music i {
    width: 29px;
    height: 29px;
  }
  .music-caption strong {
    font-size: 13px;
  }
  .hud-panel {
    top: calc(var(--top) + 104px);
  }
  .activity-key {
    min-height: 40px;
  }
  .game-title strong {
    font-size: 14px;
  }
  .game-title small {
    font-size: 7.5px;
  }
  .wordmark {
    gap: 3px;
    padding-right: 10px;
  }
  .wordmark .crest {
    width: 34px;
    height: 35px;
  }
  .dock-key {
    width: 43px;
    padding: 0 3px;
  }
  .view-tab span {
    position: absolute;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
  .cta {
    min-height: 47px;
  }
  .cta i {
    width: 37px;
    height: 37px;
  }
}
@media (max-aspect-ratio: 24/25) {
  .world-backing {
    background-image: url('../assets/viste/albero-mobile.webp');
  }
}
@media (min-aspect-ratio: 3/2) and (max-height: 540px) {
  :root {
    --top: max(5px, env(safe-area-inset-top));
    --bottom: max(6px, env(safe-area-inset-bottom));
  }
  #calendar-panel {
    width: min(433px, 90vw);
    padding: 7px 12px 10px;
  }
  .calendar-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    margin: 1px 0 6px;
    gap: 3px;
  }
  .ticket {
    min-height: 32px;
  }
  .hud-panel {
    top: calc(var(--top) + 47px);
  }
  .cta {
    min-height: 42px;
  }
  .cta i {
    width: 32px;
    height: 32px;
  }
  .slide-bar,
  .slide-arrow {
    min-height: 29px;
  }
  .reel-rail button,
  .reel-menu button {
    min-width: 23px;
    min-height: 27px;
  }
  .reel-rail img,
  .reel-menu img {
    width: 19px;
    height: 19px;
  }
  .reel-menu {
    bottom: 32px;
  }
  #reward-media[data-format='carousel'] {
    width: min(70cqw, 43cqh);
  }
  #reward-media[data-format='reel'] {
    width: min(68cqw, 28cqh);
  }
}
@media (max-width: 345px) {
  .dock-key {
    min-width: 40px;
    width: 40px;
  }
  .wordmark .crest {
    width: 29px;
  }
  .game-title strong {
    font-size: 13px;
  }
  .music-console,
  .has-gift .music-console {
    width: 112px;
  }
  #choose-day {
    padding: 0 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
