:root {
  --navy: #04192c;
  --navy-2: #082746;
  --navy-3: #0b3154;
  --sky: #1e99ff;
  --sky-2: #0a78ea;
  --text: #16314f;
  --muted: #66809a;
  --bg: #f3f8fe;
  --card: #ffffff;
  --line: #d8e4f2;
  --radius: 8px;
  --shadow: 0 12px 28px rgba(16, 53, 91, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 9999;
}

.wt-shell {
  width: min(1180px, calc(100% - 52px));
  margin: 0 auto;
}

.wt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 54px;
  background: linear-gradient(180deg, rgba(2, 18, 35, 0.96), rgba(4, 26, 46, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.wt-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.wt-brand {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.wt-logo-orb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #79d3ff 0%, #1c8ee7 54%, #0b5fa8 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
  font-size: 17px;
}
.wt-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wt-brand strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.wt-brand strong span { color: #33a8ff; }
.wt-brand small {
  margin-top: 5px;
  font-size: 11px;
  color: #d8e8f6;
}
.wt-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  flex: 1;
  height: 100%;
}
.wt-nav a {
  display: flex;
  align-items: center;
  color: #dce8f5;
  text-decoration: none;
  font-size: 12px;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
}
.wt-nav a:hover,
.wt-nav a.active {
  color: #fff;
  border-color: #1f9cff;
}
.wt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wt-icon-btn,
.wt-mobile-menu {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #e3f0fb;
  cursor: pointer;
  font-size: 17px;
}
.wt-icon-btn:hover,
.wt-mobile-menu:hover { background: rgba(255,255,255,.08); }
.wt-mobile-menu { display: none; }

.wt-lang-wrap { position: relative; }
.wt-lang-btn {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 18px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
}
.wt-lang-menu {
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 160px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  display: none;
}
.wt-lang-wrap:hover .wt-lang-menu,
.wt-lang-wrap:focus-within .wt-lang-menu { display: block; }
.wt-lang-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.wt-lang-menu a:hover { background: #eff7ff; }

.wt-hero {
  position: relative;
  z-index: 30;
  min-height: 275px;
  overflow: visible;
  background: #05192c url('../images/hero-earth.webp') 62% center / cover no-repeat;
  color: #fff;
}
.wt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 21, 38, .98) 0%, rgba(3, 21, 38, .94) 34%, rgba(3, 21, 38, .48) 70%, rgba(3, 21, 38, .12) 100%);
}
.wt-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 250px;
  gap: 52px;
  align-items: center;
  padding: 35px 0 32px;
}
.wt-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 46px);
  line-height: .95;
  letter-spacing: -1.9px;
}
.wt-hero-copy h1 span { color: #2ea9ff; }
.wt-hero-copy p {
  max-width: 560px;
  margin: 0 0 24px;
  font-size: 14px;
  color: #eef7ff;
}
.wt-search {
  position: relative;
  z-index: 80;
  display: grid;
  grid-template-columns: 38px 1fr 98px;
  align-items: center;
  max-width: 610px;
  height: 42px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .20);
}
.wt-search-icon {
  color: #7b93aa;
  text-align: center;
  font-size: 22px;
}
.wt-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 12px;
  padding: 0 10px 0 0;
}
.wt-search button,
.wt-converter button,
.wt-call-card button,
.wt-primary-btn {
  border: 0;
  background: linear-gradient(180deg, #1ea0ff, #0b77eb);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(13, 120, 235, .22);
}
.wt-search button {
  height: 42px;
  border-radius: 30px;
  font-size: 15px;
}
.wt-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: min(360px, 52vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d7e4f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(5, 34, 62, .28);
  display: none;
  z-index: 9999;
}
.wt-search-results.open { display: block; }
.wt-search-results button {
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  text-align: left;
  padding: 12px 14px;
  box-shadow: none;
}
.wt-search-results button:hover { background: #f0f7ff; }
.wt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.wt-chips button {
  border: 0;
  border-radius: 8px;
  background: rgba(14, 61, 100, .65);
  color: #e7f4ff;
  font-size: 10px;
  padding: 6px 9px;
  cursor: pointer;
}
.wt-chips button:hover { background: rgba(26, 114, 182, .9); }
.wt-hero-clock {
  min-height: 208px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8, 39, 69, .82);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 44px rgba(0,0,0,.26);
}
.wt-hero-clock .hc-top {
  font-size: 12px;
  font-weight: 700;
}
.wt-hero-clock .hc-country {
  font-size: 10px;
  color: #d9e7f4;
  margin: 6px 0 22px;
}
.wt-hero-clock .hc-time {
  font-size: 31px;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 400;
}
.wt-hero-clock .hc-date {
  margin-top: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 10px;
  color: #dce9f7;
}
.wt-hero-clock .hc-weather {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 18px;
}
.wt-hero-clock .hc-weather .ico { font-size: 30px; }
.wt-hero-clock .hc-weather b {
  display: block;
  font-size: 17px;
  line-height: 1;
  margin-bottom: 4px;
  font-weight: 500;
}
.wt-hero-clock .hc-weather small {
  display: block;
  color: #ecf5fc;
  font-size: 10px;
  line-height: 1.35;
}

.wt-ad-wrap {
  width: min(1180px, calc(100% - 52px));
  min-height: 92px;
  margin: 16px auto;
  position: relative;
  border: 1px solid #cdd9e7;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.wt-ad-label {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  color: #8da0b3;
}
.wt-ad-inner { width: 100%; }
.wt-ad-link,
.wt-demo-ad {
  display: block;
  width: 100%;
  text-decoration: none;
}
.wt-demo-ad {
  position: relative;
  padding: 22px 26px;
  min-height: 92px;
  color: #1b3150;
  background: linear-gradient(90deg, #eef6ff 0%, #ddeeff 45%, #c7ebff 72%, #a9e4ff 100%);
}
.wt-demo-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.34), transparent 40%, rgba(0,114,255,.08) 78%, rgba(0,95,193,.20) 100%);
  pointer-events: none;
}
.wt-demo-ad strong,
.wt-demo-ad small,
.wt-demo-ad em,
.wt-demo-tag {
  position: relative;
  z-index: 1;
}
.wt-demo-tag {
  display: inline-block;
  font-size: 11px;
  color: #7e90a1;
  margin-bottom: 6px;
}
.wt-demo-ad strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 4px;
}
.wt-demo-ad small {
  display: block;
  font-size: 15px;
  color: #45617e;
}
.wt-demo-ad em {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: #fff;
  background: linear-gradient(180deg, #1f9cff, #0a77ea);
  padding: 12px 22px;
  border-radius: 24px;
  font-weight: 700;
}
.wt-demo-ad.mini {
  min-height: 54px;
  padding: 18px 26px;
}
.wt-demo-ad.mini strong { font-size: 23px; margin-bottom: 2px; }
.wt-demo-ad.mini small { font-size: 14px; }
.wt-demo-ad.wide strong { font-size: 26px; }

.wt-section {
  padding: 18px 0 23px;
  background: #fff;
}
.wt-section-alt {
  background: #f6fbff;
  border-top: 1px solid #e5eef8;
}
.wt-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.wt-section-head h2,
.wt-map-copy h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.8px;
  color: #1c3859;
}
.wt-section-head p,
.wt-map-copy p {
  margin: 2px 0 0 42px;
  color: var(--muted);
  font-size: 10px;
}
.wt-section-head > a {
  margin-top: 10px;
  color: #147fea;
  text-decoration: none;
  font-size: 10px;
}
.wt-section-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #1a8fff;
  color: #1a8fff;
  font-size: 17px;
}
.wt-section-head select {
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #5b738d;
  border-radius: 9px;
  padding: 12px 16px;
  min-width: 220px;
}

.wt-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}

.wt-world-section {
  padding-top: 18px;
  padding-bottom: 24px;
}
.wt-world-head {
  margin-bottom: 14px;
}
.wt-world-head > a {
  margin-top: 9px;
  font-weight: 600;
}
.wt-clock-grid {
  gap: 17px;
}
.wt-city-card {
  min-width: 0;
  cursor: pointer;
  border-radius: 7px;
  outline: none;
}
.wt-city-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(24,143,255,.24);
}
.wt-city-scene {
  position: relative;
  height: 158px;
  border: 1px solid #a9bfd7;
  border-radius: 7px;
  overflow: hidden;
  background: #dceaf7;
  box-shadow: 0 3px 8px rgba(20, 58, 95, .14);
}
.wt-city-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.005);
}
.wt-city-photo-roma { object-position: 58% center; }
.wt-city-photo-new-york { object-position: 58% center; }
.wt-city-photo-londra { object-position: 62% center; }
.wt-city-photo-tokyo { object-position: 60% center; }
.wt-city-photo-sydney { object-position: 62% center; }
.wt-city-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(235,246,255,.22) 0%, rgba(255,255,255,0) 62%), linear-gradient(180deg, rgba(5,29,52,.04) 0%, rgba(5,29,52,.12) 100%);
  pointer-events: none;
}
.wt-city-head {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 9px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  text-shadow: 0 1px 3px rgba(255,255,255,.8);
}
.wt-flag {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
}
.wt-city-head strong,
.wt-city-name-inline strong {
  display: block;
  color: #102d4e;
  font-size: 10px;
  line-height: 1.05;
  font-weight: 800;
}
.wt-city-head small,
.wt-city-name-inline small {
  display: block;
  color: #385774;
  font-size: 8px;
  line-height: 1.05;
  margin-top: 2px;
  font-weight: 500;
}
.wt-city-name-inline { display: flex; align-items: center; gap: 7px; }
.wt-city-name-inline span { font-size: 10px; }
.wt-city-time-panel,
.wt-city-weather-panel {
  position: absolute;
  z-index: 2;
  left: 0;
  width: 88px;
  background: rgba(248, 251, 255, .88);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #153250;
}
.wt-city-time-panel {
  top: 41px;
  min-height: 57px;
  padding: 9px 10px 7px;
  border-radius: 0 9px 9px 0;
  box-shadow: 2px 2px 8px rgba(17,53,87,.06);
}
.wt-city-weather-panel {
  top: 99px;
  bottom: 0;
  padding: 8px 10px 7px;
  border-radius: 0 9px 0 0;
  background: rgba(241, 248, 255, .90);
}
.wt-bigtime {
  margin: 0;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  color: #17314f;
}
.wt-bigtime em { display: none; }
.wt-smallline {
  margin-top: 5px;
  font-size: 7px;
  line-height: 1.2;
  color: #5f7690;
  white-space: nowrap;
}
.wt-temp {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 10px;
  color: #16314f;
  white-space: nowrap;
}
.wt-temp-icon { font-size: 16px; line-height: 1; }
.wt-temp b {
  font-size: 14px;
  line-height: 1;
}
.wt-condition {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  line-height: 1.15;
  color: #3e5d79;
  max-width: 72px;
}
.wt-city-card:hover .wt-city-photo {
  transform: scale(1.025);
  transition: transform .25s ease;
}

.wt-weather-card {
  background: #fff;
  border: 1px solid #d9e4f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(18, 57, 97, .08);
  cursor: pointer;
}
.wt-city-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  min-height: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #eaf3fb;
}
.wt-weather-media {
  width: 100%;
  display: block;
  background: #eef4fa;
  overflow: visible;
  border-bottom: 1px solid #dbe6f1;
  line-height: 0;
}
.wt-weather-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: unset;
  object-position: center;
}
.wt-card-body { padding: 9px 10px 10px; }
.wt-weather-main {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  color: #17314f;
}
.wt-weather-main b { font-size: 18px; letter-spacing: -0.8px; }
.wt-weather-icon { font-size: 17px; }
.wt-weather-meta,
.wt-weather-more {
  display: block;
  color: #6d8299;
  font-size: 8px;
  margin-top: 4px;
}

.wt-timezone-compare {
  padding: 28px 0 30px;
  background: linear-gradient(135deg, #03182d 0%, #052745 58%, #082f50 100%);
  color: #fff;
}
.wt-tz-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.wt-tz-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  color: #fff;
}
.wt-tz-head p {
  margin: 5px 0 0 45px;
  color: #cfe0ef;
  font-size: 11px;
}
.wt-tz-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #dcecf9;
  font-size: 9px;
  white-space: nowrap;
}
.wt-tz-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28d27d;
  box-shadow: 0 0 0 4px rgba(40,210,125,.12);
}
.wt-tz-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 255px;
  gap: 16px;
  align-items: stretch;
}
.wt-tz-city-panel,
.wt-tz-summary {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(7, 42, 72, .82);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}
.wt-tz-city-panel { padding: 14px; }
.wt-tz-label,
.wt-tz-summary-kicker {
  display: block;
  margin-bottom: 8px;
  color: #8fcfff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}
.wt-tz-search-wrap { position: relative; }
.wt-tz-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: #7f9bb4;
  font-size: 14px;
  pointer-events: none;
}
.wt-tz-search-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: #15334f;
  font-size: 11px;
}
.wt-tz-search-wrap input:focus {
  border-color: #2d9cff;
  box-shadow: 0 0 0 3px rgba(45,156,255,.14);
}
.wt-tz-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  z-index: 40;
  display: none;
  max-height: 225px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #dbe7f2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}
.wt-tz-results.open { display: block; }
.wt-tz-results button {
  width: 100%;
  display: grid;
  grid-template-columns: 25px minmax(0,1fr);
  gap: 8px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #173451;
  text-align: left;
  cursor: pointer;
}
.wt-tz-results button:hover { background: #eef7ff; }
.wt-tz-results strong { display: block; font-size: 11px; }
.wt-tz-results small { display: block; margin-top: 2px; color: #70859a; font-size: 9px; }
.wt-tz-card {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(17,70,113,.78), rgba(9,45,76,.86));
  border: 1px solid rgba(255,255,255,.08);
}
.wt-tz-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.wt-tz-place {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wt-tz-place .flag { font-size: 20px; }
.wt-tz-place strong { display: block; color: #fff; font-size: 14px; line-height: 1.1; }
.wt-tz-place small { display: block; color: #bcd0e2; font-size: 9px; margin-top: 2px; }
.wt-tz-offset {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #dcecf8;
  font-size: 9px;
}
.wt-tz-time {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.8px;
  color: #fff;
}
.wt-tz-time em {
  font-style: normal;
  font-size: 16px;
  vertical-align: 8px;
  color: #9fc1dd;
}
.wt-tz-date {
  margin-top: 7px;
  color: #c7d9e8;
  font-size: 9px;
}
.wt-tz-zone {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #89a9c4;
  font-size: 8px;
  word-break: break-word;
}
.wt-tz-swap {
  align-self: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: #0c6fc7;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease;
}
.wt-tz-swap:hover { transform: rotate(180deg); background: #168fff; }
.wt-tz-summary {
  padding: 16px;
  background: rgba(5, 36, 63, .88);
}
.wt-tz-difference {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.7px;
}
.wt-tz-summary > p {
  min-height: 38px;
  margin: 7px 0 14px;
  color: #c8dbe9;
  font-size: 10px;
  line-height: 1.4;
}
.wt-tz-summary-meta {
  display: grid;
  gap: 8px;
}
.wt-tz-summary-meta div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.wt-tz-summary-meta span { color: #86a5c0; font-size: 8px; }
.wt-tz-summary-meta strong { color: #fff; font-size: 8px; text-align: right; }


.wt-converter-section { background: #fff; }
.wt-converter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(210px, .62fr) minmax(220px, .68fr);
  gap: 14px;
  align-items: stretch;
}
.wt-converter {
  display: grid;
  grid-template-columns: minmax(128px,1.25fr) minmax(104px,.92fr) minmax(86px,.72fr) 26px minmax(128px,1.25fr) 104px;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dde7f2;
  border-radius: 10px;
  background: #f9fcff;
  min-width: 0;
  overflow: hidden;
}
.wt-converter label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wt-converter label span {
  font-size: 9px;
  color: #617c96;
}
.wt-converter select,
.wt-converter input {
  height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 9px;
  color: var(--text);
  font-size: 10px;
  background: #fff;
}
.wt-arrow {
  align-self: end;
  height: 38px;
  display: grid;
  place-items: center;
  color: #8aa0b8;
  font-size: 17px;
}
.wt-converter > button {
  align-self: end;
  width: 100%;
  height: 38px;
  min-width: 0;
  border-radius: 9px;
  font-size: 9px;
  white-space: nowrap;
}
.wt-result-card,
.wt-call-card {
  padding: 14px;
  border: 1px solid #dde7f2;
  border-radius: 12px;
  background: #fff;
}
.wt-result-card h3,
.wt-call-card h3 {
  margin: 0 0 10px;
  font-size: 12px;
  color: #1c395a;
}
.wt-result-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #edf3f8;
  font-size: 9px;
}
.wt-result-line:last-child { border-bottom: 0; }
.wt-call-card {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  min-width: 0;
}
.wt-call-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1387ff;
  border: 2px solid #1387ff;
  font-size: 13px;
}
.wt-call-card p { margin: 0 0 8px; color: var(--muted); font-size: 9px; }
.wt-call-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: 32px;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 9px;
  white-space: normal;
}
#wt-call-result {
  margin-top: 8px;
  color: #4b6480;
  font-size: 8px;
}

.wt-cta {
  color: #fff;
  background: #082742 url('../images/cta-world.webp') center / cover no-repeat;
}
.wt-cta-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}
.wt-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.05;
  max-width: 380px;
  letter-spacing: -0.9px;
}
.wt-cta p {
  margin: 0;
  font-size: 10px;
  color: #edf6fe;
}
.wt-primary-btn {
  height: 52px;
  padding: 0 22px;
  border-radius: 26px;
  font-size: 10px;
  white-space: nowrap;
}

.wt-footer {
  background: linear-gradient(180deg, #03172b, #051d35);
  color: #d6e7f6;
}
.wt-footer-main {
  padding: 24px 0 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.wt-brand-footer { min-width: 0; }
.wt-footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.wt-footer-nav a {
  color: #dce8f6;
  text-decoration: none;
  font-size: 14px;
}
.wt-socials {
  display: flex;
  gap: 10px;
}
.wt-socials span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.wt-footer-bottom {
  padding: 0 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #a9bed2;
  font-size: 13px;
}
.wt-footer-bottom a {
  color: #d9e8f6;
  text-decoration: none;
}


@media (max-width: 980px) {
  .wt-tz-tool { grid-template-columns: 1fr 44px 1fr; }
  .wt-tz-summary { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .wt-tz-head { flex-direction: column; }
  .wt-tz-head p { margin-left: 0; }
  .wt-tz-tool { grid-template-columns: 1fr; }
  .wt-tz-swap { justify-self: center; transform: rotate(90deg); }
  .wt-tz-swap:hover { transform: rotate(270deg); }
  .wt-tz-summary { grid-column: auto; }
}
html.wt-dark body { background: #071521; color: #d7e6f5; }
html.wt-dark .wt-section,
html.wt-dark .wt-section-alt,
html.wt-dark .wt-result-card,
html.wt-dark .wt-call-card,
html.wt-dark .wt-weather-card,
html.wt-dark .wt-converter,
html.wt-dark .wt-section-head select,
html.wt-dark .wt-converter select,
html.wt-dark .wt-converter input,
html.wt-dark .wt-search-results,
html.wt-dark .wt-lang-menu,
html.wt-dark .wt-ad-wrap { background: #0d2135; color: #dce9f6; }
html.wt-dark .wt-section,
html.wt-dark .wt-section-alt { border-color: #16314e; }
html.wt-dark .wt-city-overlay { background: linear-gradient(180deg, rgba(13, 33, 53, .84), rgba(13, 33, 53, .94)); }
html.wt-dark .wt-city-head strong,
html.wt-dark .wt-city-name-inline strong,
html.wt-dark .wt-bigtime,
html.wt-dark .wt-temp,
html.wt-dark .wt-weather-main b,
html.wt-dark .wt-section-head h2,
html.wt-dark .wt-result-card h3,
html.wt-dark .wt-call-card h3,
html.wt-dark .wt-section-head > a { color: #eaf4ff; }
html.wt-dark .wt-city-head small,
html.wt-dark .wt-smallline,
html.wt-dark .wt-condition,
html.wt-dark .wt-weather-meta,
html.wt-dark .wt-weather-more,
html.wt-dark .wt-section-head p,
html.wt-dark .wt-converter label span,
html.wt-dark .wt-call-card p,
html.wt-dark #wt-call-result { color: #9cb4cb; }
html.wt-dark .wt-demo-ad { color: #eef7ff; background: linear-gradient(90deg, #10273f, #13395d); }
html.wt-dark .wt-demo-ad small, html.wt-dark .wt-demo-tag { color: #bfd5ea; }
html.wt-dark .wt-search input,
html.wt-dark .wt-converter select,
html.wt-dark .wt-converter input,
html.wt-dark .wt-section-head select,
html.wt-dark .wt-lang-menu a,
html.wt-dark .wt-search-results button { color: #eaf4ff; }
html.wt-dark .wt-search-results button:hover,
html.wt-dark .wt-lang-menu a:hover { background: #133252; }
html.wt-dark .wt-footer { background: linear-gradient(180deg, #05111d, #091725); }

@media (max-width: 1180px) {
  .wt-shell, .wt-ad-wrap { width: min(1000px, calc(100% - 42px)); }
  .wt-card-grid { gap: 14px; }
  .wt-hero-grid { grid-template-columns: minmax(0, 1.45fr) 240px; gap: 34px; }
  .wt-converter-layout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .wt-mobile-menu { display: grid; }
  .wt-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 58px;
    height: auto;
    padding: 10px;
    background: #072540;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 2px;
  }
  .wt-nav.open { display: flex; }
  .wt-nav a { height: auto; padding: 12px 14px; border-bottom: 0; border-radius: 8px; }
  .wt-nav a.active, .wt-nav a:hover { background: rgba(255,255,255,.06); }
  .wt-lang-wrap { display: none; }
  .wt-hero { background-position: 58% center; }
  .wt-hero-grid { grid-template-columns: 1fr; gap: 18px; padding: 32px 0 25px; }
  .wt-hero-clock { max-width: 340px; }
  .wt-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wt-city-card:nth-child(5), .wt-weather-card:nth-child(5) { grid-column: 1 / -1; }
  .wt-map-grid { grid-template-columns: 1fr; }
  .wt-map-copy { display: grid; grid-template-columns: 1fr 1fr; }
  .wt-map-copy p { margin-left: 0; }
  .wt-legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; margin-top: 10px; }
  .wt-footer-main { grid-template-columns: 1fr; text-align: center; }
  .wt-brand-footer, .wt-footer-nav, .wt-socials { justify-content: center; }
  .wt-footer-bottom { justify-content: center; flex-wrap: wrap; text-align: center; }
}

@media (max-width: 760px) {
  .wt-shell, .wt-ad-wrap { width: calc(100% - 28px); }
  .wt-header { height: 60px; }
  .wt-header-inner { gap: 10px; }
  .wt-brand { min-width: 0; }
  .wt-brand strong { font-size: 18px; }
  .wt-brand small { font-size: 9px; }
  .wt-actions { margin-left: auto; }
  .wt-hero { min-height: auto; background-position: 62% center; }
  .wt-hero::before { background: linear-gradient(90deg,#04192c 0%,rgba(4,25,44,.96) 66%,rgba(4,25,44,.58) 100%); }
  .wt-hero-copy h1 { font-size: 34px; }
  .wt-hero-copy p { font-size: 14px; }
  .wt-search { grid-template-columns: 32px 1fr 80px; height: 44px; }
  .wt-search button { height: 44px; font-size: 11px; }
  .wt-search input { font-size: 12px; }
  .wt-hero-clock { max-width: none; min-height: 190px; }
  .wt-hero-clock .hc-time { font-size: 31px; }
  .wt-hero-clock .hc-weather b { font-size: 20px; }
  .wt-section-head, .wt-cta-inner { flex-direction: column; align-items: flex-start; }
  .wt-section-head p, .wt-map-copy p { margin-left: 0; }
  .wt-section-head h2, .wt-map-copy h2 { font-size: 20px; }
  .wt-section-head > a, .wt-section-head select { margin-top: 0; }
  .wt-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .wt-city-card:nth-child(5), .wt-weather-card:nth-child(5) { grid-column: 1 / -1; }
  .wt-city-scene { height: 176px; }
  .wt-converter { grid-template-columns: 1fr; }
  .wt-arrow { display: none; }
  .wt-converter button { height: 44px; }
  .wt-call-card { grid-template-columns: 1fr; }
  .wt-cta h2 { font-size: 24px; }
  .wt-cta p { font-size: 11px; }
  .wt-demo-ad { padding: 16px 16px 62px; }
  .wt-demo-ad strong { font-size: 20px; }
  .wt-demo-ad small { font-size: 12px; }
  .wt-demo-ad em { left: 16px; right: auto; top: auto; bottom: 14px; transform: none; }
}

@media (max-width: 430px) {
  .wt-card-grid { grid-template-columns: 1fr; }
  .wt-city-card:nth-child(5), .wt-weather-card:nth-child(5) { grid-column: auto; }
  .wt-city-scene { height: 200px; }
  .wt-map-wrap { overflow-x: auto; }
  .wt-map-overlay { min-width: 520px; }
  .wt-footer-nav { gap: 11px; }
}

/* Global search refinements */
.wt-search-results button {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
}
.wt-search-results button > span { font-size: 16px; }
.wt-search-results button > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt-search-results button > small { color: #6d8299; font-size: 9px; text-align: right; }
.wt-search-country { background: #f7fbff !important; }
.wt-search-empty { padding: 12px 14px; color: #6d8299; font-size: 10px; }

@media (max-width: 980px) {
  .wt-map-wrap { height: 330px; }
}

@media (max-width: 760px) {
  .wt-map-wrap { height: 340px; overflow: hidden; }
  .wt-leaflet-map { min-width: 0; }
  .wt-converter-layout { grid-template-columns: 1fr; }
  .wt-converter { grid-template-columns: 1fr 1fr; overflow: visible; }
  .wt-converter .wt-arrow { display: none; }
  .wt-converter > button { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .wt-map-wrap { overflow: hidden; }
  .wt-map-overlay { min-width: 0; }
  .wt-converter { grid-template-columns: 1fr; }
  .wt-converter > button { grid-column: auto; }
}

/* WorldTime v7 advertising layouts */
.wt-ad-wrap.wt-ad-leaderboard {
  width: min(970px, calc(100% - 52px));
  min-height: 90px;
}
.wt-ad-wrap.wt-ad-square {
  width: min(336px, 100%);
  min-height: 280px;
  margin: 0;
}
.wt-ad-wrap.wt-ad-square .wt-ad-inner {
  min-height: 280px;
  display: grid;
  place-items: center;
}
.wt-ad-wrap.wt-ad-square img {
  width: 100%;
  max-height: 336px;
  object-fit: contain;
}
.wt-square-ad-section {
  padding: 22px 0;
  background: #f6fbff;
  border-top: 1px solid #e5eef8;
  border-bottom: 1px solid #e5eef8;
}
.wt-square-ad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 336px));
  justify-content: center;
  gap: 24px;
}
@media (max-width: 760px) {
  .wt-ad-wrap.wt-ad-leaderboard { width: calc(100% - 28px); }
  .wt-square-ad-grid { grid-template-columns: minmax(0, 336px); }
}

/* Layering: search suggestions must always float above the sections below the hero. */
.wt-hero + .wt-ad-wrap,
.wt-hero ~ .wt-section,
.wt-hero ~ .wt-map-section,
.wt-hero ~ .wt-cta,
.wt-hero ~ .wt-footer {
  position: relative;
  z-index: 1;
}
.wt-search-results::-webkit-scrollbar { width: 10px; }
.wt-search-results::-webkit-scrollbar-track { background: #f3f7fb; }
.wt-search-results::-webkit-scrollbar-thumb { background: #b6c9db; border-radius: 10px; border: 2px solid #f3f7fb; }
.wt-search-results button:first-child { border-radius: 12px 12px 0 0; }
.wt-search-results button:last-child { border-radius: 0 0 12px 12px; }
.wt-search-results button + button { border-top: 1px solid #edf3f8; }

@media (max-width: 760px) {
  .wt-search-results {
    left: -4px;
    right: -4px;
    max-height: min(320px, 48vh);
    top: calc(100% + 7px);
  }
  .wt-search-results button {
    min-height: 48px;
    padding: 10px 12px;
  }
}

/* Converter city autocomplete */
.wt-city-autocomplete { position: relative; overflow: visible; }
.wt-city-autocomplete input[type="text"] {
  height: 38px;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 10px;
  color: var(--text);
  font-size: 10px;
  background: #fff;
}
.wt-city-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1200;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #dbe6f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(12, 45, 78, .18);
}
.wt-city-suggestions.open { display: block; }
.wt-city-suggestions button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #edf3f8;
  border-radius: 0;
  background: #fff;
  color: #17314f;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}
.wt-city-suggestions button:last-child { border-bottom: 0; }
.wt-city-suggestions button:hover { background: #f2f8ff; }
.wt-city-suggestions button > span:first-child { font-size: 18px; }
.wt-city-suggestions button strong { display: block; font-size: 11px; }
.wt-city-suggestions button small { display: block; margin-top: 2px; color: #6c8399; font-size: 8px; }
.wt-city-suggestions button em { font-style: normal; color: #8498ab; font-size: 8px; white-space: nowrap; }
.wt-city-suggestion-empty { padding: 12px; color: #6f8498; font-size: 10px; }
.wt-converter { overflow: visible; }
html.wt-dark .wt-city-autocomplete input[type="text"],
html.wt-dark .wt-city-suggestions,
html.wt-dark .wt-city-suggestions button { background: #0d2135; color: #eaf4ff; border-color: #1d3954; }
html.wt-dark .wt-city-suggestions button:hover { background: #133252; }
html.wt-dark .wt-city-suggestions button small,
html.wt-dark .wt-city-suggestions button em { color: #9db3c8; }

/* Functional converter feedback */
.wt-converter-loading,
.wt-converter-error,
.wt-converter-summary {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.45;
}
.wt-converter-loading { background: #eef6ff; color: #315d84; }
.wt-converter-error { background: #fff0f0; color: #a42b2b; border: 1px solid #f3cccc; }
.wt-converter-summary { background: #edf7ff; color: #194f7e; font-weight: 700; }
#wt-convert:disabled { opacity: .7; cursor: wait; }
html.wt-dark .wt-converter-loading,
html.wt-dark .wt-converter-summary { background: #0f3150; color: #dceeff; }
html.wt-dark .wt-converter-error { background: #401d24; color: #ffd8dd; border-color: #613039; }

/* =========================================================
   WorldTime v24 — Mobile-first hardening
   Final overrides intentionally placed last.
   ========================================================= */

html, body { max-width: 100%; overflow-x: clip; }
.wt-shell, .wt-ad-wrap, .wt-header-inner, .wt-hero-grid,
.wt-card-grid, .wt-converter-layout, .wt-footer-main, .wt-footer-bottom { min-width: 0; }

@supports (padding: max(0px)) {
  .wt-header-inner,
  .wt-shell,
  .wt-footer-main,
  .wt-footer-bottom {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

@media (max-width: 980px) {
  .wt-header { height: 60px; }
  .wt-header-inner { position: relative; gap: 12px; }
  .wt-brand { min-width: 0; flex: 1 1 auto; }
  .wt-brand-copy { min-width: 0; }
  .wt-brand strong { white-space: nowrap; }
  .wt-actions { margin-left: auto; flex: 0 0 auto; }
  .wt-icon-btn, .wt-mobile-menu { width: 44px; height: 44px; }
  .wt-mobile-menu { display: grid; }

  .wt-nav {
    position: fixed;
    z-index: 2000;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(4, 31, 54, .98);
    box-shadow: 0 18px 44px rgba(0,0,0,.32);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .wt-nav.open { display: flex; flex-direction: column; }
  .wt-nav a {
    min-height: 46px;
    justify-content: flex-start;
    padding: 11px 14px;
    border: 0;
    border-radius: 9px;
    font-size: 14px;
  }
  .wt-nav a.active, .wt-nav a:hover { background: rgba(255,255,255,.07); }

  .wt-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .wt-hero-clock { width: min(100%, 390px); max-width: none; }

  .wt-converter-layout { grid-template-columns: 1fr; }
  .wt-result-card, .wt-call-card { min-height: 0; }
}

@media (max-width: 760px) {
  :root { --mobile-gutter: 16px; }

  .wt-shell,
  .wt-ad-wrap,
  .wt-ad-wrap.wt-ad-leaderboard {
    width: calc(100% - (var(--mobile-gutter) * 2));
  }

  .wt-header { height: 58px; }
  .wt-header-inner { gap: 6px; }
  .wt-logo-orb { width: 30px; height: 30px; font-size: 15px; }
  .wt-brand { gap: 8px; }
  .wt-brand strong { font-size: 17px; }
  .wt-brand small { display: none; }
  .wt-icon-btn { display: none; }
  .wt-mobile-menu { width: 42px; height: 42px; font-size: 20px; }

  .wt-hero {
    min-height: 0;
    background-position: 68% center;
  }
  .wt-hero::before {
    background: linear-gradient(180deg, rgba(3,21,38,.82) 0%, rgba(3,21,38,.94) 50%, rgba(3,21,38,.99) 100%);
  }
  .wt-hero-grid { padding: 26px 0 24px; gap: 18px; }
  .wt-hero-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(32px, 10vw, 42px);
    line-height: .98;
    letter-spacing: -1.4px;
  }
  .wt-hero-copy p { margin-bottom: 18px; font-size: 13px; line-height: 1.45; }

  .wt-search {
    width: 100%;
    max-width: none;
    height: 48px;
    grid-template-columns: 40px minmax(0,1fr) 84px;
  }
  .wt-search input { min-width: 0; font-size: 13px; }
  .wt-search button { height: 48px; font-size: 11px; }
  .wt-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: min(340px, 46dvh);
  }
  .wt-search-results button { min-height: 52px; }
  .wt-search-results button > small { max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .wt-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1px 0 5px;
    margin-right: calc(var(--mobile-gutter) * -1);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .wt-chips::-webkit-scrollbar { display: none; }
  .wt-chips button { flex: 0 0 auto; min-height: 34px; padding: 7px 10px; }

  .wt-hero-clock {
    width: 100%;
    min-height: 0;
    padding: 16px;
  }
  .wt-hero-clock .hc-country { margin-bottom: 16px; }
  .wt-hero-clock .hc-time { font-size: 34px; }
  .wt-hero-clock .hc-weather { padding-top: 14px; }

  .wt-section { padding: 22px 0 26px; }
  .wt-section-head { gap: 8px; margin-bottom: 16px; }
  .wt-section-head h2 { font-size: 20px; line-height: 1.15; }
  .wt-section-head p { margin: 5px 0 0; font-size: 11px; line-height: 1.45; }
  .wt-section-head > a { margin-top: 2px; font-size: 11px; }
  .wt-section-icon { width: 34px; height: 34px; flex: 0 0 34px; }

  /* World clock: clean single-column cards, no text overflow. */
  .wt-card-grid,
  .wt-clock-grid { grid-template-columns: 1fr; gap: 12px; }
  .wt-city-card:nth-child(5), .wt-weather-card:nth-child(5) { grid-column: auto; }
  .wt-city-card { width: 100%; }
  .wt-city-scene { height: 190px; border-radius: 11px; }
  .wt-city-head { left: 12px; top: 11px; }
  .wt-city-head strong { font-size: 12px; }
  .wt-city-head small { font-size: 9px; }
  .wt-flag { font-size: 20px; }
  .wt-city-time-panel,
  .wt-city-weather-panel { width: min(44%, 155px); }
  .wt-city-time-panel { top: 48px; min-height: 66px; padding: 10px 12px 8px; }
  .wt-city-weather-panel { top: 115px; padding: 10px 12px 8px; }
  .wt-bigtime { font-size: 27px; }
  .wt-smallline {
    margin-top: 6px;
    font-size: 8px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .wt-temp b { font-size: 16px; }
  .wt-condition { max-width: 100%; font-size: 9px; }

  /* Weather cards */
  .wt-weather-grid { grid-template-columns: 1fr; }
  .wt-weather-card { border-radius: 12px; }
  .wt-weather-image { width: 100%; height: auto; }
  .wt-card-body { padding: 12px; }
  .wt-weather-main b { font-size: 20px; }
  .wt-weather-meta, .wt-weather-more { font-size: 10px; }

  /* Converter: every control gets its own row and full touch width. */
  .wt-converter-layout { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .wt-converter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    overflow: visible;
  }
  .wt-converter label { gap: 6px; }
  .wt-converter label span { font-size: 10px; }
  .wt-converter input,
  .wt-city-autocomplete input[type="text"] { height: 46px; font-size: 14px; padding: 0 12px; }
  .wt-arrow { display: none; }
  .wt-converter > button {
    grid-column: auto;
    height: 48px;
    margin-top: 2px;
    font-size: 12px;
    border-radius: 10px;
  }
  .wt-city-suggestions {
    z-index: 3000;
    max-height: min(300px, 42dvh);
  }
  .wt-city-suggestions button { min-height: 52px; padding: 9px 11px; }
  .wt-city-suggestions button strong { font-size: 12px; }
  .wt-result-card, .wt-call-card { padding: 15px; border-radius: 12px; }
  .wt-result-card h3, .wt-call-card h3 { font-size: 14px; }
  .wt-result-line { gap: 10px; font-size: 11px; }
  .wt-result-line span, .wt-result-line b { min-width: 0; overflow-wrap: anywhere; }
  .wt-call-card { grid-template-columns: 38px minmax(0,1fr); }
  .wt-call-card p { font-size: 10px; }
  .wt-call-card button { min-height: 42px; font-size: 10px; }

  /* Ads/sponsors */
  .wt-ad-wrap { min-height: 0; margin: 12px auto; }
  .wt-ad-inner img, .wt-ad-link img { width: 100%; height: auto; object-fit: contain; }
  .wt-demo-ad { min-height: 0; padding: 18px 16px 68px; }
  .wt-demo-ad strong { font-size: 20px; }
  .wt-demo-ad small { font-size: 12px; }
  .wt-demo-ad em { left: 16px; right: auto; bottom: 16px; top: auto; transform: none; }
  .wt-square-ad-section { padding: 18px 0; }
  .wt-square-ad-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .wt-ad-wrap.wt-ad-square { width: min(336px, 100%); margin: 0 auto; }

  .wt-cta-inner { min-height: 0; padding: 28px 0; gap: 18px; }
  .wt-cta h2 { font-size: 25px; line-height: 1.08; }
  .wt-cta p { font-size: 11px; line-height: 1.5; }
  .wt-primary-btn { width: 100%; min-height: 48px; height: auto; padding: 12px 18px; }

  .wt-footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0 18px;
    text-align: left;
  }
  .wt-brand-footer, .wt-footer-nav, .wt-socials { justify-content: flex-start; }
  .wt-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; }
  .wt-footer-nav a { min-height: 36px; display: flex; align-items: center; font-size: 13px; }
  .wt-socials span { width: 40px; height: 40px; }
  .wt-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    font-size: 11px;
    text-align: left;
  }
}

@media (max-width: 430px) {
  :root { --mobile-gutter: 14px; }
  .wt-brand strong { font-size: 16px; }
  .wt-hero-copy h1 { font-size: 34px; }
  .wt-search { grid-template-columns: 36px minmax(0,1fr) 74px; }
  .wt-search button { font-size: 10px; }
  .wt-search input { font-size: 12px; }
  .wt-city-scene { height: 178px; }
  .wt-city-time-panel,
  .wt-city-weather-panel { width: min(47%, 145px); }
  .wt-city-time-panel { top: 46px; }
  .wt-city-weather-panel { top: 111px; }
  .wt-bigtime { font-size: 25px; }
  .wt-footer-nav { grid-template-columns: 1fr; }
}
