/**
 * Observer Embed v1 — FROZEN
 * Canonical reference: Snowevo /weather/
 * @version 1.0.10
 *
 * Do not redesign layout, responsive behaviour, animations, or interactions
 * per destination. Copy this file verbatim; only OBSERVER_SHELL_CONFIG varies.
 */

.obs-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: #eef4fc;
  background: #060d18;
  scroll-margin-top: 80px;
}

/* Snowevo .section adds padding + glow — neutralize when obs-shell is also .section */
.obs-shell.section {
  padding: 0;
}

.obs-shell.section::before,
.obs-shell.section:before {
  content: none;
  display: none;
}

.obs-shell__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.02);
  z-index: 0;
}

.obs-shell__device-visual {
  display: none;
  width: min(100%, 220px);
  line-height: 0;
}

.obs-shell__device-behind {
  display: none;
  line-height: 0;
}

.obs-shell__device-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52svh, 420px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}

.obs-shell--has-device .obs-shell__device-visual {
  display: block;
}

.obs-shell--has-device .obs-shell__logo-visual {
  width: min(100%, 128px);
}

.obs-shell[data-atmosphere-family='moorish'] .obs-shell__bg {
  background-position: 38% center;
  opacity: 1;
}

.obs-shell[data-atmosphere-family='moorish'] .obs-shell__overlay {
  background: linear-gradient(
    118deg,
    rgba(6, 12, 22, 0.48) 0%,
    rgba(8, 18, 34, 0.38) 38%,
    rgba(5, 10, 18, 0.58) 100%
  );
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__bg {
  background-position: 38% center;
  opacity: 1;
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__overlay {
  background: linear-gradient(
    118deg,
    rgba(8, 16, 28, 0.52) 0%,
    rgba(10, 22, 38, 0.42) 38%,
    rgba(6, 12, 22, 0.22) 62%,
    rgba(6, 12, 22, 0.1) 100%
  );
}

/* Alps: device lives only behind logo column — never in weather panel area */
.obs-shell__device-layer {
  display: none !important;
}

.obs-shell[data-atmosphere-family='alps'],
.obs-shell[data-atmosphere-family='moorish'] {
  --obs-alps-device-opacity: 0.82;
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-col,
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-col {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  overflow: visible;
  padding-top: 12px;
}

.obs-shell[data-atmosphere-family='alps'].obs-shell--has-device .obs-shell__logo-col .obs-shell__device-behind,
.obs-shell[data-atmosphere-family='moorish'].obs-shell--has-device .obs-shell__logo-col .obs-shell__device-behind {
  display: block;
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 292px);
  pointer-events: none;
  opacity: var(--obs-alps-device-opacity, 0.82);
  transition: opacity 0.45s ease-out;
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-col .obs-shell__device-img,
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-col .obs-shell__device-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(56vh, 540px);
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 52%, transparent 100%);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.22));
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-visual,
.obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-type,
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-visual,
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-type {
  position: relative;
  z-index: 1;
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__device-visual,
.obs-shell[data-atmosphere-family='alps'] .obs-shell__device-behind:not([data-obs-device-wrap]),
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__device-visual,
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__device-behind:not([data-obs-device-wrap]) {
  display: none !important;
}

.obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-visual,
.obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-visual {
  width: min(100%, 196px);
}

.obs-shell__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    118deg,
    rgba(6, 12, 22, 0.92) 0%,
    rgba(8, 18, 34, 0.78) 42%,
    rgba(5, 10, 18, 0.88) 100%
  );
}

.obs-shell__inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 20px 24px;
}

.obs-shell__grid {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 24px 36px;
  align-items: center;
  min-width: 0;
}

.obs-shell__grid > * {
  min-width: 0;
}

.obs-shell__logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  padding: 4px 8px;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(10px);
  animation: obsLogoIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.obs-shell__logo-col:focus-visible {
  outline: 2px solid rgba(76, 184, 255, 0.55);
  outline-offset: 6px;
  border-radius: 4px;
}

.obs-shell__logo-visual {
  width: min(100%, 196px);
  line-height: 0;
}

.obs-shell__logo-orbit {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.4));
}

.obs-shell__logo-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  max-width: 18rem;
}

.obs-shell__logo-name {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.obs-shell__logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4cb8ff;
  line-height: 1.3;
}

.obs-shell__logo-tag {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(238, 244, 252, 0.72);
  line-height: 1.45;
  max-width: 16rem;
}

.obs-shell.is-in-view .obs-shell__orbit-halo {
  animation: obsHaloPulse 5.5s ease-in-out infinite;
}

.obs-shell.is-in-view .obs-shell__orbit-nodes {
  animation: obsNodesOrbit 36s linear infinite;
  transform-origin: 100px 100px;
}

.obs-shell.is-in-view .obs-shell__orbit-core-dot {
  animation: obsCorePulse 3.8s ease-in-out infinite;
}

.obs-shell.is-in-view .obs-shell__orbit-ring:nth-of-type(1) {
  animation: obsRingBreath 7s ease-in-out infinite;
}

.obs-shell.is-in-view .obs-shell__orbit-ring:nth-of-type(2) {
  animation: obsRingBreath 7s ease-in-out infinite 0.8s;
}

.obs-shell.is-in-view .obs-shell__orbit-ring:nth-of-type(3) {
  animation: obsRingBreath 7s ease-in-out infinite 1.6s;
}

@keyframes obsLogoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes obsHaloPulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes obsNodesOrbit {
  to { transform: rotate(360deg); }
}

@keyframes obsCorePulse {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

@keyframes obsRingBreath {
  0%, 100% { stroke-opacity: 0.42; }
  50% { stroke-opacity: 0.78; }
}

@media (min-width: 901px) {
  .obs-shell:not(.is-intelligence-open) {
    height: min(100svh, 920px);
    max-height: min(100svh, 920px);
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4.5vh, 52px) 20px 16px;
    box-sizing: border-box;
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__grid {
    flex: 1;
    min-height: 0;
    align-items: stretch;
    overflow: visible;
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__logo-col {
    align-self: center;
  }

  .obs-shell[data-atmosphere-family='alps'].obs-shell--has-device .obs-shell__logo-col,
  .obs-shell[data-atmosphere-family='moorish'].obs-shell--has-device .obs-shell__logo-col {
    min-height: min(380px, 46vh);
    padding-top: clamp(20px, 3.5vh, 44px);
    padding-bottom: 8px;
  }

  .obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-col .obs-shell__device-img,
  .obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-col .obs-shell__device-img {
    max-height: min(50vh, 480px);
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__intelligence {
    display: none;
  }

  .obs-shell__logo-visual {
    width: min(100%, 168px);
  }

  .obs-shell__logo-name {
    font-size: 1.15rem;
    letter-spacing: 0.28em;
  }

  .obs-shell__logo-sub {
    font-size: 0.62rem;
  }

  .obs-shell__logo-tag {
    font-size: 0.72rem;
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__panel {
    min-height: 0;
    max-height: 100%;
    gap: 8px;
    padding: 14px 16px 12px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .obs-shell__hero-row {
    gap: 6px 12px;
  }

  .obs-shell__temp {
    font-size: clamp(1.65rem, 2.6vw, 2.05rem);
  }

  .obs-shell__condition {
    font-size: 12px;
  }

  .obs-shell__metrics {
    gap: 8px;
  }

  .obs-shell__metric {
    padding: 9px 8px;
  }

  .obs-shell__metric-value {
    font-size: 15px;
  }

  .obs-shell__score-row {
    padding: 8px 10px;
    gap: 10px 14px;
  }

  .obs-shell__score-ring {
    width: 64px;
    height: 64px;
  }

  .obs-shell__score-value {
    font-size: 16px;
  }

  .obs-shell__score-copy strong,
  .obs-shell__score-copy span,
  .obs-shell__best-window {
    font-size: 11px;
    line-height: 1.35;
  }

  .obs-shell__forecast {
    gap: 6px;
  }

  .obs-shell__forecast-row {
    gap: 6px;
  }

  .obs-shell__forecast-day,
  .obs-shell__forecast-hour {
    min-width: 52px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .obs-shell__forecast-day-label,
  .obs-shell__forecast-hour time {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .obs-shell__forecast-day strong,
  .obs-shell__forecast-hour strong {
    font-size: 12px;
  }

  .obs-shell__toggle {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-shrink: 0;
    min-height: 38px;
    background: linear-gradient(155deg, rgba(12, 22, 38, 0.98), rgba(8, 14, 26, 0.95));
    box-shadow: 0 -10px 24px rgba(6, 12, 22, 0.55);
  }
}

/* Short laptop viewports: grow with page scroll — no nested panel scroll */
@media (min-width: 901px) and (max-height: 920px) {
  .obs-shell:not(.is-intelligence-open) {
    height: auto;
    max-height: none;
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__inner {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding-bottom: clamp(20px, 3vh, 32px);
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__grid {
    flex: 0 0 auto;
  }

  .obs-shell:not(.is-intelligence-open) .obs-shell__panel {
    overflow-x: hidden;
    overflow-y: visible;
    max-height: none;
  }

  .obs-shell__toggle {
    position: static;
    box-shadow: none;
  }
}

.obs-shell.is-intelligence-open {
  height: auto;
  max-height: none;
}

.obs-shell.is-intelligence-open .obs-shell__intelligence {
  display: grid;
}

.obs-shell.is-intelligence-open .obs-shell__panel {
  max-height: none;
  overflow: visible;
}

.obs-shell__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(126, 184, 247, 0.22);
  background: linear-gradient(155deg, rgba(12, 22, 38, 0.94), rgba(8, 14, 26, 0.88));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.obs-shell__panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}

.obs-shell__kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7eb8f7;
}

.obs-shell__location-select {
  min-width: min(100%, 280px);
  margin-top: 6px;
  padding: 10px 36px 10px 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23060d18' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: #060d18;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: light;
}

.obs-shell__location-select:hover {
  border-color: rgba(255, 255, 255, 0.62);
}

.obs-shell__location-select:focus {
  outline: 2px solid rgba(126, 184, 247, 0.55);
  outline-offset: 2px;
}

.obs-shell__location-select option {
  background: #fff;
  color: #060d18;
}

.obs-shell__hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
}

.obs-shell__temp {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

.obs-shell__condition {
  font-size: 14px;
  font-weight: 600;
  color: rgba(220, 232, 248, 0.88);
}

.obs-shell__metrics {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 0.68fr) minmax(0, 0.88fr) minmax(0, 1.1fr);
  gap: 8px;
}

.obs-shell__metric {
  padding: 10px 6px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.obs-shell__metric-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 220, 245, 0.72);
  margin-bottom: 4px;
}

.obs-shell__metric-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.obs-shell__metric--wind,
.obs-shell__metric--uv,
.obs-shell__metric--humidity {
  padding: 10px 4px;
}

.obs-shell__metric--wind .obs-shell__metric-label,
.obs-shell__metric--uv .obs-shell__metric-label,
.obs-shell__metric--humidity .obs-shell__metric-label {
  letter-spacing: 0.04em;
}

.obs-shell__metric--wind .obs-shell__metric-value,
.obs-shell__metric--uv .obs-shell__metric-value,
.obs-shell__metric--humidity .obs-shell__metric-value {
  font-size: 13px;
}

.obs-shell__score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 14px 16px;
  border-radius: 2px;
  border: 1px solid rgba(126, 184, 247, 0.2);
  background: rgba(126, 184, 247, 0.06);
}

.obs-shell__score-ring {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

.obs-shell__score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  display: block;
}

.obs-shell__score-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.obs-shell__score-copy {
  flex: 1;
  min-width: 0;
}

.obs-shell__score-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7eb8f7;
}

.obs-shell__score-copy span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(220, 232, 248, 0.86);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.obs-shell__forecast {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.obs-shell__forecast-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.obs-shell__forecast-day {
  flex: 0 0 auto;
  min-width: 76px;
  padding: 10px 8px;
  text-align: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
}

.obs-shell__forecast-day-label {
  display: block;
  font-weight: 700;
  color: rgba(200, 220, 245, 0.75);
  margin-bottom: 4px;
}

.obs-shell__forecast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-bottom: 4px;
}

.obs-shell__forecast-day strong {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
}

.obs-shell__forecast-day-sep {
  font-weight: 500;
  color: rgba(200, 220, 245, 0.55);
  margin: 0 1px;
}

.obs-shell__forecast-day-precip {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(126, 184, 247, 0.85);
}

.obs-shell__forecast-hour {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 10px 8px;
  text-align: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
}

.obs-shell__forecast-hour time {
  display: block;
  font-weight: 700;
  color: rgba(200, 220, 245, 0.75);
  margin-bottom: 4px;
}

.obs-shell__forecast-hour strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.obs-shell__best-window {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(220, 232, 248, 0.9);
  overflow-wrap: anywhere;
}

.obs-shell__best-window em {
  font-style: normal;
  font-weight: 800;
  color: #7eb8f7;
}

.obs-shell__toggle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(126, 184, 247, 0.35);
  border-radius: 2px;
  background: rgba(126, 184, 247, 0.1);
  color: #d8ebff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.obs-shell__toggle:hover,
.obs-shell__toggle:focus-visible {
  background: rgba(126, 184, 247, 0.18);
  border-color: rgba(126, 184, 247, 0.55);
  outline: none;
}

.obs-shell__toggle-icon {
  transition: transform 0.25s ease;
}

.obs-shell.is-intelligence-open .obs-shell__toggle-icon {
  transform: rotate(180deg);
}

.obs-shell__intelligence {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.obs-shell.is-intelligence-open .obs-shell__intelligence {
  grid-template-rows: 1fr;
}

.obs-shell__intelligence-inner {
  overflow: hidden;
}

.obs-shell__intelligence-panel {
  margin-top: 16px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(126, 184, 247, 0.18);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.96), rgba(5, 10, 18, 0.98));
}

.obs-shell__intelligence-head {
  margin-bottom: 14px;
}

.obs-shell__intelligence-head h3 {
  margin: 6px 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.obs-shell__intel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.obs-shell__intel-item {
  padding: 14px 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.obs-shell__intel-item span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 220, 245, 0.7);
  margin-bottom: 6px;
}

.obs-shell__intel-item strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.obs-shell__recommendation {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid #7eb8f7;
  background: rgba(126, 184, 247, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(230, 240, 252, 0.92);
}

.obs-shell__status {
  padding: 18px;
  font-size: 14px;
  color: rgba(220, 232, 248, 0.78);
}

.obs-shell__status--error {
  color: #ffb4b4;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .obs-shell__intel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .obs-shell__logo-col {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .obs-shell.is-in-view .obs-shell__orbit-halo,
  .obs-shell.is-in-view .obs-shell__orbit-nodes,
  .obs-shell.is-in-view .obs-shell__orbit-core-dot,
  .obs-shell.is-in-view .obs-shell__orbit-ring {
    animation: none;
  }
}

@media (max-width: 900px) {
  .obs-shell__inner {
    padding: 10px 0 10px;
  }

  .obs-shell__grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .obs-shell__logo-col {
    min-height: 0;
    padding: 8px 14px 2px;
    order: -1;
    gap: 8px;
  }

  .obs-shell.obs-shell--has-device .obs-shell__inner {
    padding-top: clamp(10px, 2.5svh, 20px);
  }

  .obs-shell--has-device .obs-shell__device-visual {
    width: min(72vw, 210px);
  }

  .obs-shell--has-device .obs-shell__device-img {
    max-height: min(34svh, 280px);
  }

  .obs-shell--has-device .obs-shell__logo-visual {
    width: min(100%, 108px);
  }

  .obs-shell[data-atmosphere-family='moorish'] .obs-shell__bg {
    background-position: center 42%;
  }

  .obs-shell[data-atmosphere-family='alps'] .obs-shell__bg {
    background-position: 42% 46%;
  }

  .obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-col,
  .obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-col {
    min-height: 220px;
    overflow: visible;
  }

  .obs-shell[data-atmosphere-family='alps'].obs-shell--has-device .obs-shell__logo-col,
  .obs-shell[data-atmosphere-family='moorish'].obs-shell--has-device .obs-shell__logo-col {
    min-height: min(340px, 50svh);
    padding-top: clamp(20px, 5svh, 40px);
    padding-bottom: 6px;
  }

  .obs-shell[data-atmosphere-family='alps'].obs-shell--has-device .obs-shell__logo-col .obs-shell__device-behind,
  .obs-shell[data-atmosphere-family='moorish'].obs-shell--has-device .obs-shell__logo-col .obs-shell__device-behind {
    width: min(74vw, 268px);
    bottom: 12%;
  }

  .obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-col .obs-shell__device-img,
  .obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-col .obs-shell__device-img {
    max-height: min(46svh, 320px);
    opacity: 0.84;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
  }

  .obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-visual,
  .obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-visual {
    width: min(46vw, 158px);
  }

  .obs-shell__logo-visual {
    width: min(46vw, 158px);
  }

  .obs-shell__logo-type {
    max-width: min(92vw, 20rem);
    gap: 4px;
    padding: 0 0.35rem;
  }

  .obs-shell__logo-name {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    letter-spacing: 0.22em;
    line-height: 1.1;
  }

  .obs-shell__logo-sub {
    font-size: clamp(0.72rem, 3vw, 0.88rem);
    letter-spacing: 0.16em;
  }

  .obs-shell__logo-tag {
    font-size: clamp(0.82rem, 3.2vw, 0.96rem);
    max-width: 18rem;
    line-height: 1.35;
    color: rgba(238, 244, 252, 0.84);
  }

  .obs-shell__panel {
    min-height: 0;
    padding: 10px 12px 10px;
    gap: 7px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .obs-shell__panel-head {
    gap: 6px 10px;
  }

  .obs-shell__location-select {
    width: 100%;
    max-width: none;
    margin-top: 4px;
    padding: 8px 34px 8px 10px;
    background-position: right 10px center;
    font-size: 13px;
  }

  .obs-shell__intelligence-inner {
    padding: 0 12px;
  }

  .obs-shell__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .obs-shell__metric--wind,
  .obs-shell__metric--uv,
  .obs-shell__metric--humidity {
    padding: 7px 6px;
  }

  .obs-shell__metric--wind .obs-shell__metric-value,
  .obs-shell__metric--uv .obs-shell__metric-value,
  .obs-shell__metric--humidity .obs-shell__metric-value {
    font-size: 14px;
  }

  .obs-shell__metric {
    padding: 7px 6px;
  }

  .obs-shell__metric-label {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .obs-shell__metric-value {
    font-size: 14px;
  }

  .obs-shell__intel-grid {
    grid-template-columns: 1fr;
  }

  .obs-shell__hero-row {
    gap: 4px 10px;
  }

  .obs-shell__temp {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  }

  .obs-shell__condition {
    font-size: 13px;
  }

  .obs-shell__score-row {
    gap: 8px 12px;
    padding: 8px 10px;
  }

  .obs-shell__score-ring {
    width: 64px;
    height: 64px;
  }

  .obs-shell__score-value {
    font-size: 17px;
  }

  .obs-shell__score-copy strong {
    font-size: 11px;
  }

  .obs-shell__score-copy span {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
  }

  .obs-shell__forecast {
    gap: 5px;
    padding-right: 52px;
  }

  .obs-shell__forecast-row {
    gap: 6px;
  }

  .obs-shell__forecast-day,
  .obs-shell__forecast-hour {
    min-width: 56px;
    padding: 6px 5px;
    font-size: 10px;
  }

  .obs-shell__forecast-day-label,
  .obs-shell__forecast-hour time {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .obs-shell__forecast-day strong,
  .obs-shell__forecast-hour strong {
    font-size: 13px;
  }

  .obs-shell__best-window {
    font-size: 12px;
    line-height: 1.35;
  }

  .obs-shell__toggle {
    min-height: 38px;
    position: relative;
    z-index: 3;
  }

  .obs-shell.is-intelligence-open {
    overflow: visible;
  }

  .obs-shell.is-intelligence-open .obs-shell__intelligence {
    display: grid;
    grid-template-rows: 1fr;
  }

  .obs-shell.is-intelligence-open .obs-shell__intelligence-inner {
    overflow: visible;
  }

  .obs-shell.is-intelligence-open .obs-shell__intelligence-panel {
    margin-top: 8px;
    padding: 14px 12px 16px;
  }
}

@media (max-width: 720px) {
  .obs-shell__inner {
    padding: 8px 0 8px;
  }

  .obs-shell.obs-shell--has-device .obs-shell__inner {
    padding-top: clamp(8px, 2svh, 16px);
  }

  .obs-shell--has-device .obs-shell__device-visual {
    width: min(68vw, 180px);
  }

  .obs-shell[data-atmosphere-family='alps'].obs-shell--has-device .obs-shell__logo-col,
  .obs-shell[data-atmosphere-family='moorish'].obs-shell--has-device .obs-shell__logo-col {
    min-height: min(310px, 48svh);
    padding-top: clamp(16px, 4.5svh, 32px);
  }

  .obs-shell[data-atmosphere-family='alps'].obs-shell--has-device .obs-shell__logo-col .obs-shell__device-behind,
  .obs-shell[data-atmosphere-family='moorish'].obs-shell--has-device .obs-shell__logo-col .obs-shell__device-behind {
    width: min(70vw, 248px);
    bottom: 10%;
  }

  .obs-shell[data-atmosphere-family='alps'] .obs-shell__logo-col .obs-shell__device-img,
  .obs-shell[data-atmosphere-family='moorish'] .obs-shell__logo-col .obs-shell__device-img {
    max-height: min(42svh, 290px);
    opacity: 0.82;
  }

  .obs-shell--has-device .obs-shell__device-img {
    max-height: min(30svh, 240px);
  }

  .obs-shell__logo-col {
    padding: 6px 12px 0;
    gap: 6px;
  }

  .obs-shell__logo-visual {
    width: min(42vw, 138px);
  }

  .obs-shell__logo-name {
    font-size: clamp(1.22rem, 5.6vw, 1.62rem);
  }

  .obs-shell__logo-tag {
    font-size: clamp(0.78rem, 3vw, 0.9rem);
  }

  .obs-shell__panel {
    padding: 8px 10px 8px;
    gap: 6px;
  }

  .obs-shell__intelligence-inner {
    padding: 0 10px;
  }

  .obs-shell__temp {
    font-size: clamp(1.7rem, 7.6vw, 2.1rem);
  }

  .obs-shell__metric {
    padding: 6px 5px;
  }

  .obs-shell__metric-value {
    font-size: 13px;
  }

  .obs-shell__score-ring {
    width: 58px;
    height: 58px;
  }

  .obs-shell__score-value {
    font-size: 16px;
  }

  .obs-shell__forecast-day,
  .obs-shell__forecast-hour {
    min-width: 52px;
    padding: 5px 4px;
  }

  .obs-shell__forecast-day strong,
  .obs-shell__forecast-hour strong {
    font-size: 12px;
  }

  .obs-shell__toggle {
    width: 100%;
    justify-content: center;
    min-height: 36px;
  }
}
