/* Flagship desk weather strip — shared module; wired on Snowshoe only for now */

.ll-desk-glance {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
}

.ll-desk-glance .ll-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.ll-desk-glance .ll-desk-weather {
  padding-top: 4px;
  padding-bottom: 0;
}

.ll-desk-glance .ll-desk-calendar {
  padding-top: 20px;
  padding-bottom: 28px;
}

.ll-desk-glance .ll-desk-calendar .cal-wrap--resort {
  margin-top: 0;
  margin-bottom: 0;
}

.ll-desk-weather--pending .ll-desk-weather-body {
  min-height: 48px;
}

.ll-desk-weather--pending .ll-desk-weather-body::after {
  content: "";
  display: block;
  width: 120px;
  height: 14px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--hair) 0%, #ecece8 50%, var(--hair) 100%);
  background-size: 200% 100%;
  animation: dw-shimmer 1.2s ease-in-out infinite;
}

.ll-desk-weather-body {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 18px 20px 16px;
}

.dw-current {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}

.dw-current-temp {
  font-family: "Archivo Narrow", sans-serif;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dw-current-summary {
  font-size: 17px;
  line-height: 1.4;
  color: var(--muted);
}

.dw-forecast {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.dw-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  min-width: 0;
}

.dw-day-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.dw-day-name {
  font-family: "Archivo Narrow", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--quiet);
}

.dw-day-temp {
  font-family: "Archivo Narrow", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.dw-day-summary {
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dw-attrib {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--quiet);
}

.dw-attrib a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dw-attrib a:hover {
  color: var(--ink);
}

@keyframes dw-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 900px) {
  .dw-forecast {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .dw-day {
    flex: 0 0 108px;
    scroll-snap-align: start;
  }
}

@media (max-width: 800px) {
  .ll-desk-glance {
    padding: 0 20px;
  }

  .ll-desk-glance .ll-desk-calendar .cal-layout {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-desk-weather--pending .ll-desk-weather-body::after {
    animation: none;
  }

  .dw-day {
    transition: none;
  }
}
