@import url("./city-radio.css");
@import url("./city-fishing.css");
@import url("./city-weather.css");
@import url("./city-forecast.css");

#installation:not([data-sky]) .city-sky,
#installation[data-sky=""] .city-sky { display: none; }

.city-conditions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  color: #e4ecf1;
  pointer-events: auto;
}
.wrap > .city-conditions { padding: 18px clamp(14px, 4vw, 72px) 0; }
.city-conditions .wx {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 7px 13px; border: 1px solid #536679;
  border-radius: 6px; color: #ebf3f7; background: #14212f; font: inherit;
  text-align: left; white-space: nowrap;
}
.city-conditions .wx:not(:disabled):hover { border-color: #a1cfce; background: #192b38; }
.city-conditions .wx:disabled { cursor: default; }
.city-conditions .wx i { font-size: 27px; color: #aedad9; }
.city-conditions .wx .temp { display: block; font-size: 20px; line-height: 1.05; }
.city-conditions .wx .meta, .city-conditions .clock .d {
  display: block; color: #b6c6cf; margin: 2px 0 0; font-size: 12px; line-height: 1.3;
}
.city-conditions .clock { text-align: left; white-space: nowrap; }
.city-conditions .clock .t { font-size: 18px; line-height: 1.1; }
.exhibition .lab-widgets:has(#ticker) { justify-content: center; }
.exhibition .lab-widgets #ticker { justify-content: center; }
#installation .ac-top-tools:has(.city-conditions) {
  position: relative; inset: auto; margin: 0 0 8px; justify-content: flex-end;
}
#installation .ac-top-tools .city-conditions { margin-right: auto; }
@media(max-width: 620px) {
  #installation .ac-top-tools:has(.city-conditions) { flex-wrap: wrap; gap: 8px; }
  #installation .ac-top-tools .city-conditions { flex: 1 0 100%; justify-content: space-between; }
  .city-conditions .clock { text-align: right; }
}

body[data-study="10"] .lab-nav .app-emblem {
  font-family: Georgia, "Noto Serif", serif;
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.035em;
}
body[data-study="10"] .lab-nav .app-emblem span {
  color: #b7c6c4;
}

#installation .ac-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px clamp(14px, 4vw, 72px);
  font-family: Inter, system-ui, sans-serif;
  color: #e4ecf1;
  background: radial-gradient(
    ellipse at 54% 40%,
    #1c2b3f 0,
    #111c29 54%,
    #0c131d 89%
  );
}
#installation .ac-scene * {
  box-sizing: border-box;
}
#installation .ac-scene button,
#installation .ac-scene select {
  cursor: pointer;
  font: inherit;
  color: inherit;
}
#installation .ac-top-tools {
  position: absolute;
  top: 26px;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
#installation .ac-catalog {
  pointer-events: auto;
  background: #101b29;
  border: 1px solid #637385;
  padding: 11px 16px;
  font-size: 13px !important;
  min-height: 44px;
  border-radius: 5px;
}
body > .ac-radio {
  position: fixed;
  z-index: 9;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
}
.preview-heading > .ac-radio {
  margin-inline: auto 10px;
}
#installation .ac-pond {
  cursor: pointer;
  outline: none;
}
#installation .ac-pond:is(:hover, :focus-visible) .ac-shore {
  stroke: #b9ffe2;
  stroke-width: 3px;
}
#installation .ac-ripple {
  transform-box: fill-box;
  transform-origin: center;
  animation: ac-lake-ripple 4s ease-out infinite;
  pointer-events: none;
}
#installation .ac-ripple + .ac-ripple {
  animation-delay: -2s;
}
#installation .ac-paused * {
  animation-play-state: paused !important;
}
@keyframes ac-lake-ripple {
  from {
    transform: scale(0.55);
    opacity: 0.8;
  }
  to {
    transform: scale(1.45);
    opacity: 0.1;
  }
}
#installation .ac-outings {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 8px;
  margin: 0 0 14px;
}
#installation .ac-shift {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
#installation :is(.ac-work, .ac-pier-link) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 13px;
  background: #172431;
  border-radius: 5px;
  border: 1px solid #4d6271;
  font-size: 14px;
  font-weight: 550;
}
#installation .ac-work > span {
  font-size: 20px;
  line-height: 1;
  color: #ffd897;
}
#installation .ac-pier-link > span {
  font-size: 24px;
  color: #9de4dc;
  line-height: 1;
}
#installation :is(.ac-work, .ac-pier-link, .ac-saved button):hover {
  border-color: #a3dfce;
  background: #203542;
}
#installation .ac-dispatch {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 2px 12px;
  border-left: 2px solid #ecc98a;
  color: #ffe0a4;
}
#installation .ac-dispatch strong {
  font:
    600 15px/1.4 Inter,
    system-ui,
    sans-serif;
}
#installation .ac-dispatch p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #c3cfd5;
}
#installation .ac-dispatch time {
  font:
    600 16px/1.2 ui-monospace,
    monospace;
  white-space: nowrap;
}
#installation .ac-parcel {
  display: none;
}
#installation .ac-carrying .ac-parcel {
  display: inline;
}
#installation .ac-building.ac-delivery .ac-plot {
  fill: #ffc96c32;
  stroke: #ffce7d;
  stroke-width: 3;
}
#installation .ac-building.ac-delivery .ac-place-name {
  fill: #ffdb9a;
  text-decoration: underline;
}
#installation .ac-pin {
  border: 1px solid #506574;
  background: #172431;
  color: #d7e2e4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}
#installation .ac-pin[aria-pressed="true"] {
  color: #ffda8f;
  border-color: #a58a5b;
}
#installation .ac-saved {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 14px;
}
#installation .ac-saved > span {
  font-size: 13px;
  color: #c4cfd6;
}
#installation .ac-saved > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
#installation .ac-saved button {
  min-height: 38px;
  border: 1px solid #4d6271;
  color: #f3dfb6;
  padding: 6px 12px;
  background: #172431;
  border-radius: 4px;
  font-size: 13px;
}
#installation .ac-stage {
  position: relative;
  max-width: 1340px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #556f7e #131f2d;
  outline-offset: -4px;
}
#installation .ac-city {
  display: block;
  width: 100%;
  min-width: 920px;
  height: auto;
  aspect-ratio: 1112/652;
  max-height: clamp(500px, 69vh, 825px);
  touch-action: pan-x pan-y;
}
#installation .ac-pan-help {
  display: none;
}
#installation .ac-pans + .ac-pan-help {
  display: block;
  margin: 9px 0 13px;
  color: #b5c5d1;
  font-size: 12px;
}
#installation .ac-building {
  cursor: pointer;
  outline: none;
}
#installation .ac-building .ac-plot {
  stroke: transparent;
  stroke-width: 1.8;
}
#installation
  .ac-building:is([aria-pressed="true"], :focus-visible, :hover)
  .ac-plot {
  fill: #7dd9bc1f;
  stroke: #adedd4;
}
#installation .ac-place-name {
  font:
    600 17px/1.2 Inter,
    system-ui,
    sans-serif;
  fill: #f3f5ef;
  stroke: #121d2a;
  stroke-width: 4.7;
  paint-order: stroke;
  stroke-linejoin: round;
  cursor: pointer;
}
#installation
  .ac-building:is([aria-pressed="true"], :focus-visible, :hover)
  .ac-place-name {
  fill: #adffe0;
}
#installation .ac-actor-layer {
  pointer-events: none;
}
#installation .ac-leg,
#installation .ac-arm {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#installation .ac-leg {
  stroke: #d7e3db;
  stroke-width: 3.6;
}
#installation .ac-leg.far {
  stroke: #78909c;
}
#installation .ac-arm {
  stroke: #f4b599;
  stroke-width: 2.6;
}
#installation .ac-arm.far {
  stroke: #b98174;
}
#installation .ac-door-open .ac-door-leaf {
  opacity: 0;
}
#installation .ac-console {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #405263;
  padding: 16px 0;
}
#installation .ac-current {
  min-width: 0;
  flex: 1;
}
#installation .ac-current h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.045em;
}
#installation .ac-current p {
  margin: 3px 0 0;
  color: #b8cbd9;
  font-size: 13px;
}
#installation .ac-open {
  padding: 12px 22px;
  color: #101f20 !important;
  background: #a1ebce;
  border: 0;
  font-weight: 600 !important;
}
#installation .ac-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 0 2px;
  border-top: 1px solid #344658;
  color: #becad2;
  font-size: 12px;
  text-align: left;
}
#installation .ac-footer label {
  display: flex;
  align-items: center;
  gap: 10px;
}
#installation .ac-footer select {
  max-width: 210px;
  padding: 8px 12px;
  background: #172437;
  border: 1px solid #516578;
  min-height: 40px;
}
#installation .ac-about {
  background: transparent;
  border: 0;
  min-height: 36px;
  white-space: nowrap;
}
#installation .ac-scene :is(button, select, .ac-stage):focus-visible {
  outline: 2px solid #ffe9ae;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  #installation .ac-top-tools {
    position: relative;
    inset: auto;
    justify-content: flex-end;
    margin-bottom: 9px;
  }
  #installation .ac-stage {
    margin-inline: calc(-1 * clamp(14px, 4vw, 72px));
  }
  #installation .ac-city {
    max-height: none;
  }
  #installation .ac-place-name {
    font-size: 16px;
  }
  #installation .ac-footer > span {
    display: none;
  }
}
@media (max-width: 480px) {
  #installation .ac-top-tools .ac-catalog {
    background: transparent;
    border: 0;
    padding: 5px 8px;
  }
  #installation .ac-console {
    gap: 8px;
  }
  #installation .ac-shift:has(.ac-dispatch:not([hidden])) {
    width: 100%;
  }
  #installation .ac-dispatch {
    order: -1;
    width: 100%;
    justify-content: space-between;
  }
  #installation .ac-scene {
    padding-top: 14px;
  }
  #installation .ac-pan-help,
  #installation .ac-footer {
    line-height: 1.4;
  }
  #installation .ac-footer {
    gap: 8px;
  }
  #installation .ac-footer select {
    max-width: 165px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #installation .ac-scene * {
    transition: none !important;
    animation: none !important;
  }
}
