.tw-weather {
  --tw-ink: #ffffff;
  --tw-muted: #f0f4ff;
  --tw-ground: #4c66a6;
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  margin: 0 0 18px;
  padding: 12px 14px 0;
  color: var(--tw-ink);
  background: linear-gradient(125deg, #4a62a2, #5774ad);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(38, 63, 118, .14), 0 1px 3px rgba(38, 63, 118, .14);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  isolation: isolate;
}
.tw-weather * { box-sizing: border-box; }
.tw-weather-main { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; min-height: 106px; }
.tw-weather-visual { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-width: 0; padding-right: 12px; padding-bottom: 20px; }
.tw-weather-description { margin: 0; color: var(--tw-muted); font-size: 13px; font-weight: 500; line-height: 1.35; max-width: 130px; }
.tw-weather-symbol { display: flex; align-items: center; justify-content: center; align-self: center; width: 96px; max-width: 100%; min-height: 68px; color: #78d0ef; }
.tw-weather-symbol svg { width: 96px; max-width: 100%; height: 68px; display: block; overflow: visible; }
.tw-weather-readings { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .4); }
.tw-weather-place { display: block; color: var(--tw-ink); font-size: 14px; font-weight: 650; line-height: 1.35; }
.tw-weather-date { display: block; margin-top: 2px; color: var(--tw-muted); font-size: 13px; line-height: 1.3; }
.tw-weather-temperature { display: block; margin-top: 6px; color: var(--tw-ink); font-size: 28px; font-weight: 650; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.7px; }
.tw-weather-clock { display: block; margin-top: 3px; color: var(--tw-ink); font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: .2px; font-variant-numeric: tabular-nums; }
.tw-weather-summary { position: relative; max-width: calc(46% - 12px); margin: -18px 0 0; padding-bottom: 6px; color: var(--tw-muted); font-size: 13px; line-height: 1.35; }
.tw-weather-details { margin: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.tw-weather-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; padding: 6px 0; color: var(--tw-ink); font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.tw-weather-details summary::-webkit-details-marker { display: none; }
.tw-weather-details summary>svg { width: 14px; height: 14px; transition: transform .2s ease; }
.tw-weather-details[open] summary>svg { transform: rotate(180deg); }
.tw-weather-days { display: grid; gap: 10px; margin: 7px 0 14px; }
.tw-weather-day { display: grid; grid-template-columns: minmax(72px, .75fr) auto minmax(90px, 1fr); align-items: baseline; gap: 12px; color: var(--tw-muted); font-size: 13px; }
.tw-weather-day strong { font-weight: 600; }
.tw-weather-day>span:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tw-weather-day>span:last-child { text-align: right; overflow-wrap: anywhere; }
.tw-weather-note,.tw-weather-credit { max-width: none; margin: 10px 0; color: var(--tw-muted); font-size: 13px; line-height: 1.6; }
.tw-weather-credit { margin-bottom: 16px; }
.tw-weather a { color: var(--tw-ink); text-underline-offset: 3px; }
.tw-weather a:hover { text-decoration-thickness: 2px; }
.tw-weather summary:focus-visible,.tw-weather a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.tw-weather-art-sun { fill: #ffe044; }
.tw-weather-art-rays { fill: none; stroke: #ffe044; stroke-width: 7; stroke-linecap: round; }
.tw-weather-art-cloud { fill: #63c9ed; }
.tw-weather-art-cloud-back { fill: #9ddcf3; }
.tw-weather-art-rain { fill: none; stroke: #8cddff; stroke-width: 5; stroke-linecap: round; }
.tw-weather-art-snow { fill: #fff; }
.tw-weather-art-moon { fill: #ffe7a5; }
.tw-weather-art-star { fill: #fff4d3; }
.tw-weather-art-bolt { fill: #ffe044; }
.tw-weather-art-fog { fill: none; stroke: #bed5eb; stroke-width: 5; stroke-linecap: round; }
@media (max-width: 360px) {
  .tw-weather { max-width: 100%; padding: 12px 12px 0; }
  .tw-weather-readings { padding-left: 12px; }
  .tw-weather-visual { padding-right: 10px; }
  .tw-weather-day { grid-template-columns: minmax(60px, .7fr) auto minmax(75px, 1fr); gap: 6px; }
}
@media (pointer: coarse) { .tw-weather-details summary { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .tw-weather * { transition: none; } }
