:root {
  --infotimer-theme-color: #89ccfa;
  --infotimer-theme-soft: #d9efff;
  --infotimer-theme-deep: #123152;
  --infotimer-shell-accent: #ffd74d;
  --infotimer-shell-accent-soft: #fff1b8;
  --infotimer-shell-accent-deep: #7f5700;
  --infotimer-route-color: #7cfc00;
  --airshow-airport-dep-color: #b5e61d;
  --airshow-airport-dest-color: #ffff00;
  --infotimer-surface: rgba(16, 22, 34, 0.88);
  --infotimer-surface-strong: rgba(9, 14, 22, 0.94);
  --infotimer-line: rgba(255, 255, 255, 0.16);
  --infotimer-text: #ffffff;
  --infotimer-muted: rgba(241, 236, 222, 0.82);
  --infotimer-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --airshow-theme-panel-text-color: #ffffff;
  --airshow-bottombar-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  --airshow-ui-font-family: "Noto Sans KR", sans-serif;
  --airshow-ui-font-size-scale: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--infotimer-text);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 215, 77, 0.16), rgba(255, 215, 77, 0) 24%),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 18%),
    url("/images/startup/loading.webp") center center / cover no-repeat fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.46) 0%, rgba(8, 12, 18, 0.74) 100%),
    radial-gradient(circle at 50% 112%, rgba(255, 228, 176, 0.16), rgba(255, 228, 176, 0) 34%);
  z-index: 0;
}

.infotimer-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px 86px;
}

body.infotimer-launched .infotimer-wrap {
  place-items: stretch;
  padding: 0;
}

body.theme-cursor.infotimer-launched,
body.theme-cursor.infotimer-launched * {
  cursor: var(--airshow-theme-cursor) !important;
}

body.cursor-hidden.infotimer-launched,
body.cursor-hidden.infotimer-launched *,
body.airshow-cursor-hidden.infotimer-launched,
body.airshow-cursor-hidden.infotimer-launched * {
  cursor: none !important;
}

.infotimer-shell {
  width: min(1660px, 100%);
  display: grid;
  gap: 16px;
}

body.infotimer-launched .infotimer-shell {
  width: 100%;
  min-height: 100vh;
  gap: 0;
}

.infotimer-setup-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(400px, 680px) minmax(0, 780px);
  align-items: center;
  justify-content: center;
  column-gap: clamp(22px, 3vw, 40px);
}

body.infotimer-launched .infotimer-setup-layout {
  display: none;
}

.infotimer-setup-showcase {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 100%;
  padding-top: clamp(8px, 2.2vh, 24px);
}

.infotimer-setup-showcase-image {
  display: block;
  width: min(100%, 688px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.34));
}

.infotimer-setup-showcase-title {
  width: 100%;
  margin: 0 0 82px;
  font-size: clamp(22px, 2.2vw, 30px);
  text-align: left;
  white-space: nowrap;
  position: relative;
  top: -28px;
}

.infotimer-setup-showcase-copy {
  width: min(100%, 688px);
  margin: 18px 0 0;
  color: var(--infotimer-muted);
  font-size: 18px;
  line-height: 1.55;
  text-align: left;
}

body.infotimer-launched .infotimer-topbar {
  display: none;
}

.home-btn {
  position: absolute;
  top: 10px;
  right: 24px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 13, 22, 0.72);
  color: #fff;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.home-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.home-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

body.infotimer-launched .home-btn {
  display: none;
}

.site-bottom-info {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.48);
}

.site-bottom-info-right {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  margin-left: auto;
  justify-content: flex-end;
}

.site-bottom-info a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-bottom-info a:hover {
  text-decoration: underline;
}

body.infotimer-launched .site-bottom-info {
  display: none;
}

.infotimer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.infotimer-home-btn,
.infotimer-ghost-btn,
.infotimer-launch-btn {
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
}

.infotimer-home-btn,
.infotimer-ghost-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 215, 77, 0.26);
  background: rgba(16, 22, 34, 0.72);
  color: var(--infotimer-text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.infotimer-home-btn:hover,
.infotimer-ghost-btn:hover {
  background: rgba(26, 34, 48, 0.9);
  border-color: rgba(255, 215, 77, 0.38);
}

.infotimer-home-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.infotimer-panel {
  position: relative;
  border: 1px solid rgba(255, 215, 77, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(20, 26, 38, 0.92), rgba(10, 14, 22, 0.96)),
    var(--infotimer-surface);
  box-shadow: var(--infotimer-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.infotimer-panel::before {
  content: "";
  position: absolute;
  inset: -12% -10% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 215, 77, 0.18) 0%, rgba(255, 215, 77, 0) 72%);
  opacity: 0.28;
  pointer-events: none;
}

.infotimer-setup-panel {
  width: 100%;
  margin: 0;
  padding: 28px 28px 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.infotimer-setup-panel::before {
  display: none;
}

.infotimer-view-panel {
  width: min(1180px, 100%);
  padding: 26px 28px 20px;
}

body.infotimer-launched .infotimer-view-panel {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.infotimer-launched .infotimer-view-panel::before {
  content: none;
}

.topbar-close-label {
  line-height: 1;
  margin-left: 0;
}

.topbar-close-icon {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: rgba(191, 16, 16, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.topbar-flightinfo-popup {
  position: absolute;
  inset: 0;
  padding: 58px 22px 12px;
  color: #fff;
  font-family: var(--airshow-ui-font-family, "Noto Sans KR", sans-serif);
  background-color: #4f4f4f;
  background-image: url("/images/ui/info.webp"), linear-gradient(180deg, #3a3a3a 0%, #8a8a8a 100%);
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1;
  display: none;
  pointer-events: auto;
  overflow-y: auto;
  overflow-x: hidden;
  isolation: isolate;
}

.topbar-flightinfo-popup.open {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.infotimer-flightinfo-popup.topbar-flightinfo-popup.open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.topbar-flightinfo-close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  height: 30px;
  min-width: 96px;
  padding: 0 6px;
  border: 1px solid rgba(0, 0, 0, 0.52);
  border-radius: 4px;
  background: rgba(44, 44, 44, 0.62);
  color: #fff;
  font-size: calc(12px * var(--airshow-ui-font-size-scale, 1));
  font-weight: 400;
  letter-spacing: 0.35px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.topbar-flightinfo-close-btn:hover {
  background: rgba(54, 54, 54, 0.72);
}

.topbar-flightinfo-close-icon,
.topbar-flightinfo-close-text {
  opacity: 1;
}

.topbar-flightinfo-title {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 76px 24px 0;
  font-size: calc(clamp(38px, 4.8vw, 60px) * var(--airshow-ui-font-size-scale, 1));
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--airshow-theme-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.topbar-flightinfo-main {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 300px));
  margin: 0 auto;
  padding: 0;
  display: grid;
  row-gap: 22px;
  flex: 0 0 auto;
  align-content: start;
  align-self: center;
  transform: translateY(-8px);
}

.topbar-flightinfo-main.hidden {
  display: none;
}

.topbar-flightinfo-route-page {
  width: min(1080px, calc(100vw - 160px));
  margin: 0 auto 0;
  opacity: 0;
  transform: translateY(12px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: none;
}

.topbar-flightinfo-route-page.visible {
  margin-top: 16px;
  opacity: 1;
  transform: translateY(0);
  max-height: 720px;
  pointer-events: auto;
}

.topbar-flightinfo-route-stats {
  width: min(860px, 78%);
  margin: 20px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: visible;
}

.topbar-flightinfo-route-stats-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  padding: 11px 0 12px;
  background: rgba(10, 14, 22, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-flightinfo-route-stats-row:last-child {
  border-bottom: 0;
}

.topbar-flightinfo-route-stats-label {
  font-size: calc(clamp(24px, 2vw, 34px) * var(--airshow-ui-font-size-scale, 1));
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 18px;
  padding-bottom: 0.06em;
}

.topbar-flightinfo-route-stats-value {
  font-size: calc(clamp(26px, 2.2vw, 36px) * var(--airshow-ui-font-size-scale, 1));
  font-weight: 400;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.16;
  justify-self: end;
  width: auto;
  text-align: right;
  padding: 0 18px 0 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-bottom: 0.06em;
}

.topbar-flightinfo-route-stage {
  position: relative;
  margin-top: 10px;
  height: 300px;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.topbar-flightinfo-route-grid {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 8%;
  height: 66%;
  z-index: 0;
  background: none;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.98) 3%, rgba(0, 0, 0, 0.95) 38%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.34) 88%, rgba(0, 0, 0, 0.1) 95%, transparent 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.98) 3%, rgba(0, 0, 0, 0.95) 38%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.34) 88%, rgba(0, 0, 0, 0.1) 95%, transparent 100%);
  opacity: 0.84;
  display: block;
  overflow: hidden;
  transform: perspective(860px) rotateX(57deg) scaleY(1.08) translateY(2px);
  transform-origin: bottom center;
  backface-visibility: hidden;
  filter: drop-shadow(0 -1px 3px rgba(220, 236, 255, 0.08));
  pointer-events: none;
}

.topbar-flightinfo-route-grid::before,
.topbar-flightinfo-route-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.topbar-flightinfo-route-grid::before {
  background: repeating-linear-gradient(
    to top,
    rgba(236, 244, 255, 0.42) 0 2px,
    rgba(236, 244, 255, 0) 2px 16px
  );
  opacity: 0.86;
}

.topbar-flightinfo-route-grid::after {
  background: repeating-linear-gradient(
    to right,
    rgba(236, 244, 255, 0.3) 0 1px,
    rgba(236, 244, 255, 0) 1px 52px
  );
  opacity: 0.64;
}

.topbar-flightinfo-route-svg {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 28px;
  width: 90%;
  height: 200px;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.topbar-flightinfo-route-base,
.topbar-flightinfo-route-progress {
  fill: none;
  stroke: var(--airshow-theme-progress-color);
  stroke-width: 8;
  vector-effect: non-scaling-stroke;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.topbar-flightinfo-route-base {
  stroke-opacity: 0.7;
}

.topbar-flightinfo-route-progress {
  stroke-opacity: 1;
}

.topbar-flightinfo-route-plane image {
  filter:
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.topbar-flightinfo-route-plane {
  display: none;
}

.topbar-flightinfo-route-plane-overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.topbar-flightinfo-route-plane-overlay-img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  filter:
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.topbar-flightinfo-route-airport {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.topbar-flightinfo-route-airport .airport-marker {
  transform: scale(1.12);
  transform-origin: center center;
  opacity: 0.92;
}

.topbar-flightinfo-route-label {
  position: absolute;
  top: 0;
  max-width: 42%;
  font-size: calc(clamp(24px, 2.2vw, 34px) * var(--airshow-ui-font-size-scale, 1));
  font-weight: 700;
  line-height: 1.14;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  padding-bottom: 0.12em;
  pointer-events: none;
  transform: translateX(-50%);
  text-align: center;
}

#panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--airshow-theme-color);
  color: var(--airshow-theme-panel-text-color);
  font-size: calc(17px * var(--airshow-ui-font-size-scale, 1));
  line-height: 1.5;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  text-shadow: var(--airshow-bottombar-text-shadow);
  font-family: var(--airshow-ui-font-family, "Noto Sans KR", sans-serif);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

body.infotimer-launched #panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

#panel-inner {
  position: relative;
  overflow: hidden;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  gap: 6px;
}

.info-item .label {
  font-weight: 500;
  opacity: 0.9;
  margin-right: 0;
  font-size: calc(17px * var(--airshow-ui-font-size-scale, 1));
  line-height: 1.15;
}

.info-item .value {
  font-weight: 700;
  font-size: calc(19px * var(--airshow-ui-font-size-scale, 1));
  line-height: 1.15;
}

.info-item .label,
.info-item .value {
  text-shadow: var(--airshow-bottombar-text-shadow);
}

.infotimer-panel-header,
.infotimer-view-head {
  position: relative;
  z-index: 1;
}

.infotimer-panel-header {
  padding-right: 72px;
}

.infotimer-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.infotimer-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 215, 77, 0.92);
}

.infotimer-title,
.infotimer-view-title {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffd74d;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
}

.infotimer-subtitle,
.infotimer-view-subtitle {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(236, 246, 255, 0.9);
}

.infotimer-detail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 232, 168, 0.68);
}

.infotimer-detail-value {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.infotimer-form {
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.infotimer-field-grid,
.infotimer-timing-grid,
.infotimer-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.infotimer-mode-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.infotimer-timing-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 18px;
  margin-top: 16px;
}

.infotimer-field,
.infotimer-mode-card,
.infotimer-detail-card {
  min-width: 0;
}

.infotimer-field {
  display: grid;
  gap: 8px;
}

.infotimer-field-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(245, 239, 224, 0.92);
}

.infotimer-field input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 22, 0.72);
  color: #ffffff;
  padding: 0 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.infotimer-number-stepper {
  position: relative;
}

.infotimer-number-stepper input {
  appearance: textfield;
  -moz-appearance: textfield;
  padding-right: 54px;
}

.infotimer-field input::placeholder {
  color: rgba(241, 228, 184, 0.46);
}

.infotimer-field input:focus {
  border-color: rgba(255, 215, 77, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 215, 77, 0.14);
  background: rgba(12, 18, 28, 0.86);
}

.infotimer-number-stepper input::-webkit-outer-spin-button,
.infotimer-number-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.infotimer-number-stepper-buttons {
  position: absolute;
  top: 0;
  right: 6px;
  bottom: 0;
  width: 16px;
  display: grid;
  grid-template-rows: max-content max-content;
  align-content: center;
  row-gap: 1px;
}

.infotimer-number-stepper-btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.infotimer-number-stepper-btn:hover {
  color: #ffffff;
}

.infotimer-number-stepper-btn:active {
  opacity: 0.72;
}

.infotimer-number-stepper-chevron {
  width: 10px;
  height: 10px;
  display: block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.infotimer-number-stepper-chevron-up {
  transform: rotate(-135deg);
}

.infotimer-number-stepper-chevron-down {
  transform: rotate(45deg);
}

.infotimer-time-picker {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 22, 0.72);
  color: #ffffff;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 52px 10px 52px 60px;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  color-scheme: dark;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.infotimer-time-picker:focus-within {
  border-color: rgba(255, 215, 77, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 215, 77, 0.14);
  background: rgba(12, 18, 28, 0.86);
}

.infotimer-time-picker .infotimer-time-input {
  min-width: 0;
  width: 52px;
  max-width: 52px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  font-size: 18px;
  text-align: center;
  caret-color: #ffffff;
  justify-self: center;
}

.infotimer-time-picker .infotimer-time-input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.infotimer-time-picker .infotimer-time-input:focus {
  outline: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.infotimer-time-input-hour,
.infotimer-time-input-minute {
  width: 52px;
  max-width: 52px;
}

.infotimer-time-separator {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  justify-self: center;
}

.infotimer-time-period-btn {
  min-width: 60px;
  width: 60px;
  height: 30px;
  margin-left: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 215, 77, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  justify-self: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.infotimer-time-period-btn:hover {
  border-color: rgba(255, 215, 77, 0.44);
  background: rgba(255, 215, 77, 0.08);
}

.infotimer-time-period-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 77, 0.14);
}

.infotimer-time-picker.is-24h .infotimer-time-period-btn {
  display: none;
}

.infotimer-time-picker.is-24h {
  grid-template-columns: 52px 10px 52px;
}

.infotimer-mode-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.infotimer-mode-card-body {
  display: grid;
  gap: 5px;
  min-height: 112px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 16px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.infotimer-mode-card strong {
  font-size: 16px;
  font-weight: 700;
}

.infotimer-mode-card small {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(241, 236, 222, 0.74);
}

.infotimer-mode-card input:checked + .infotimer-mode-card-body {
  border-color: rgba(255, 215, 77, 0.42);
  background: linear-gradient(180deg, rgba(255, 239, 190, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.18),
    0 0 28px rgba(255, 215, 77, 0.12);
  transform: translateY(-1px);
}

.infotimer-timing-grid {
  margin-top: 0;
  width: min(560px, 100%);
  justify-self: start;
}

.infotimer-settings-note,
.infotimer-thanks-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--infotimer-muted);
}

.infotimer-form-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 98, 109, 0.34);
  background: rgba(66, 10, 18, 0.52);
  color: #ffd8dd;
  font-size: 14px;
  line-height: 1.5;
}

.infotimer-actions {
  display: flex;
  justify-content: flex-start;
  align-self: end;
}

.infotimer-launch-btn {
  min-height: 52px;
  min-width: 168px;
  padding: 0 22px;
  border: 1px solid rgba(255, 215, 77, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 215, 77, 0.28), rgba(255, 215, 77, 0.08)),
    rgba(12, 18, 28, 0.9);
  color: #fff5d6;
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.24),
    0 0 26px rgba(255, 215, 77, 0.16);
  white-space: nowrap;
}

.infotimer-launch-btn:hover {
  filter: brightness(1.05);
}

.infotimer-launch-btn svg {
  width: 18px;
  height: 18px;
}

.infotimer-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.infotimer-status-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 77, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.infotimer-detail-grid {
  margin-top: 16px;
}

.infotimer-detail-card {
  border: 1px solid rgba(255, 215, 77, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px 16px;
}

.infotimer-route-page {
  margin-top: 18px;
}

.infotimer-route-stats {
  width: min(860px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 215, 77, 0.18);
  background: transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.infotimer-route-stats-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: center;
  padding: 12px 0 13px;
  background: rgba(12, 18, 28, 0.46);
  border-bottom: 1px solid rgba(255, 215, 77, 0.08);
}

.infotimer-route-stats-row:last-child {
  border-bottom: 0;
}

.infotimer-route-stats-label {
  font-size: calc(clamp(22px, 2vw, 34px) * var(--airshow-ui-font-size-scale, 1));
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.16;
  padding: 0 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.infotimer-route-stats-value {
  font-size: calc(clamp(24px, 2.1vw, 36px) * var(--airshow-ui-font-size-scale, 1));
  font-weight: 400;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.16;
  justify-self: end;
  text-align: right;
  padding: 0 18px 0 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.infotimer-route-stage {
  position: relative;
  margin-top: 10px;
  height: 320px;
  width: 100%;
  overflow: hidden;
}

.infotimer-route-grid {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 8%;
  height: 66%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.98) 3%, rgba(0, 0, 0, 0.95) 38%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.34) 88%, rgba(0, 0, 0, 0.1) 95%, transparent 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.98) 3%, rgba(0, 0, 0, 0.95) 38%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.34) 88%, rgba(0, 0, 0, 0.1) 95%, transparent 100%);
  opacity: 0.84;
  transform: perspective(860px) rotateX(57deg) scaleY(1.08) translateY(2px);
  transform-origin: bottom center;
  backface-visibility: hidden;
  filter: drop-shadow(0 -1px 3px rgba(255, 228, 176, 0.08));
  pointer-events: none;
}

.infotimer-route-grid::before,
.infotimer-route-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.infotimer-route-grid::before {
  background:
    repeating-linear-gradient(
      to top,
      rgba(255, 241, 204, 0.34) 0 2px,
      rgba(255, 241, 204, 0) 2px 16px
    );
  opacity: 0.86;
}

.infotimer-route-grid::after {
  background:
    repeating-linear-gradient(
      to right,
      rgba(255, 241, 204, 0.24) 0 1px,
      rgba(255, 241, 204, 0) 1px 52px
    );
  opacity: 0.64;
}

.infotimer-route-svg {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 28px;
  width: 90%;
  height: 200px;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.infotimer-route-base,
.infotimer-route-progress {
  fill: none;
  stroke: var(--infotimer-route-color);
  stroke-width: 8;
  vector-effect: non-scaling-stroke;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.infotimer-route-base {
  stroke-opacity: 0.7;
}

.infotimer-route-progress {
  stroke-opacity: 1;
}

.infotimer-route-plane {
  display: none;
}

.infotimer-route-plane-overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.infotimer-route-plane-overlay-img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  filter:
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.infotimer-route-airport {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.infotimer-route-airport .airport-marker {
  transform: scale(1.12);
  transform-origin: center center;
  opacity: 0.92;
}

.infotimer-route-label {
  position: absolute;
  top: 0;
  max-width: 42%;
  font-size: calc(clamp(24px, 2.2vw, 34px) * var(--airshow-ui-font-size-scale, 1));
  font-weight: 700;
  line-height: 1.14;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: visible;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.airport-marker {
  width: 26px;
  height: 26px;
  position: relative;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  opacity: 0.8;
  animation: infotimerAirportGlow 2.8s ease-in-out infinite;
}

.airport-marker .core-svg {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.airport-marker .arcs {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  background: conic-gradient(
    from 0deg,
    currentColor 0 84deg,
    transparent 84deg 120deg,
    currentColor 120deg 204deg,
    transparent 204deg 240deg,
    currentColor 240deg 324deg,
    transparent 324deg 360deg
  );
  -webkit-mask: radial-gradient(closest-side, transparent 60%, #000 62%, #000 79%, transparent 81%);
  mask: radial-gradient(closest-side, transparent 60%, #000 62%, #000 79%, transparent 81%);
  animation: infotimerSpin 10s linear infinite;
  transform-origin: center;
}

.airport-marker.dep {
  color: var(--airshow-airport-dep-color);
}

.airport-marker.dest {
  color: var(--airshow-airport-dest-color);
}

.airport-marker.airport-marker-pin {
  width: 46px;
  height: 55px;
  opacity: 0.94;
  animation: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.airport-marker.airport-marker-pin .arcs {
  display: none;
}

.airport-marker.airport-marker-pin .core-svg {
  inset: 0;
  width: 100%;
  height: 100%;
}

.airport-marker.airport-marker-pin .pin-body {
  fill: currentColor;
  opacity: 0.97;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 5.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.airport-marker.airport-marker-pin .pin-center-icon {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: brightness(0) invert(1) saturate(0) contrast(1.2) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.airport-marker.airport-marker-pin.dest .pin-center-icon {
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: 50% 50%;
}

.airport-marker.airport-marker-pin .pin-center-ground {
  position: absolute;
  left: 50%;
  top: 52.8%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.airport-marker.airport-marker-simple {
  width: 30px;
  height: 30px;
  opacity: 1;
  animation: none;
  filter: none;
}

.airport-marker.airport-marker-simple .arcs,
.airport-marker.airport-marker-simple .core-svg {
  display: none;
}

.airport-marker.airport-marker-simple .simple-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.airport-marker.airport-marker-simple .simple-fill {
  fill: currentColor;
}

.airport-marker.airport-marker-simple .simple-ring {
  fill: none;
  stroke: #ffffff;
  stroke-width: 10;
}

.airport-marker.airport-marker-vertex {
  width: 30px;
  height: 30px;
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.airport-marker.airport-marker-vertex .arcs,
.airport-marker.airport-marker-vertex .core-svg {
  display: none;
}

.airport-marker.airport-marker-vertex .vertex-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.42));
}

.airport-marker.airport-marker-vertex .vertex-shape {
  transform: rotate(-30deg);
  transform-origin: 12px 12px;
}

.airport-marker.airport-marker-vertex .vertex-core {
  fill: currentColor;
}

.airport-marker.airport-marker-vertex .vertex-facet-light {
  fill: rgba(255, 255, 255, 0.34);
}

.airport-marker.airport-marker-vertex .vertex-facet-dark {
  fill: rgba(0, 0, 0, 0.3);
}

.airport-marker.airport-marker-vertex .vertex-shadow {
  fill: rgba(0, 0, 0, 0.24);
}

.airport-marker.airport-marker-vertex .vertex-highlight {
  fill: rgba(255, 255, 255, 0.24);
}

.airport-marker.airport-marker-vertex::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: -5px;
  bottom: -5px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, currentColor 0%, rgba(0, 0, 0, 0) 72%);
  opacity: 0.28;
  transform: scale(0.92);
  animation: infotimerAirportVertexHalo 2.8s ease-in-out infinite;
}

#return-home-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1315;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}

#return-home-confirm-overlay.open {
  display: flex;
}

.return-home-confirm-modal {
  width: min(92vw, 360px);
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.return-home-confirm-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.return-home-confirm-skip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  user-select: none;
  align-self: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.return-home-confirm-skip-wrap input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #be1f1f;
  cursor: pointer;
}

.return-home-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.return-home-confirm-btn {
  min-width: 94px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.return-home-confirm-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.46);
}

.return-home-confirm-btn-danger {
  background: rgba(174, 28, 28, 0.82);
  border-color: rgba(255, 255, 255, 0.26);
}

.return-home-confirm-btn-danger:hover {
  background: rgba(198, 37, 37, 0.9);
}

#return-home-confirm-overlay .return-home-confirm-modal {
  width: min(92vw, 442px);
  padding: 20px 18px 18px;
  border-radius: 10px;
  gap: 18px;
  border-color: rgba(173, 218, 255, 0.32);
  background: rgba(44, 44, 44, 0.62);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#return-home-confirm-overlay .return-home-confirm-title {
  font-size: 18px;
  color: #ffd74d;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
}

#return-home-confirm-overlay .return-home-confirm-skip-wrap {
  font-size: 13px;
  color: rgba(236, 246, 255, 0.9);
}

#return-home-confirm-overlay .return-home-confirm-actions {
  gap: 10px;
}

#return-home-confirm-overlay .return-home-confirm-skip-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(236, 246, 255, 0.2);
  display: inline-block;
  position: relative;
  cursor: pointer;
}

#return-home-confirm-overlay .return-home-confirm-skip-wrap input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid rgba(18, 24, 34, 0.92);
  border-bottom: 2px solid rgba(18, 24, 34, 0.92);
  transform: rotate(45deg);
  opacity: 0;
}

#return-home-confirm-overlay .return-home-confirm-skip-wrap input[type="checkbox"]:checked {
  background: rgba(247, 197, 74, 0.62);
  border-color: rgba(247, 197, 74, 0.92);
}

#return-home-confirm-overlay .return-home-confirm-skip-wrap input[type="checkbox"]:checked::after {
  opacity: 1;
}

#return-home-confirm-overlay .return-home-confirm-btn {
  min-width: 100px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 13, 22, 0.48);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#return-home-confirm-overlay .return-home-confirm-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

#return-home-confirm-overlay .return-home-confirm-btn-danger {
  background: rgba(164, 26, 44, 0.42);
  border-color: rgba(255, 116, 136, 0.68);
  box-shadow:
    0 0 0 1px rgba(255, 106, 128, 0.28),
    0 0 10px rgba(214, 56, 82, 0.35),
    0 0 20px rgba(214, 56, 82, 0.24);
}

#return-home-confirm-overlay .return-home-confirm-btn-danger:hover {
  background: rgba(188, 31, 51, 0.5);
  border-color: rgba(255, 143, 159, 0.84);
  box-shadow:
    0 0 0 1px rgba(255, 134, 152, 0.36),
    0 0 14px rgba(230, 70, 98, 0.44),
    0 0 28px rgba(230, 70, 98, 0.3);
}

.is-hidden {
  display: none !important;
}

@keyframes infotimerSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes infotimerAirportGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(181, 230, 29, 0.7)) drop-shadow(0 0 28px rgba(181, 230, 29, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 22px rgba(181, 230, 29, 0.95)) drop-shadow(0 0 40px rgba(181, 230, 29, 0.65));
  }
}

@keyframes infotimerAirportVertexHalo {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .infotimer-setup-layout {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .infotimer-setup-showcase {
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
  }

  .infotimer-view-panel,
  .infotimer-setup-panel {
    padding: 22px 18px 20px;
  }

  body.infotimer-launched .infotimer-view-panel {
    padding: 0;
  }

  .infotimer-field-grid,
  .infotimer-timing-grid,
  .infotimer-mode-group,
  .infotimer-detail-grid {
    grid-template-columns: 1fr;
  }

  .infotimer-timing-actions-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .infotimer-timing-grid {
    width: 100%;
  }

  .infotimer-setup-showcase-image,
  .infotimer-setup-showcase-title,
  .infotimer-setup-showcase-copy {
    width: min(100%, 520px);
  }

  .infotimer-setup-showcase-title,
  .infotimer-setup-showcase-copy {
    text-align: center;
  }

  .infotimer-view-head {
    flex-direction: column;
  }

  .infotimer-topbar {
    flex-wrap: wrap;
  }

  .topbar-flightinfo-route-page {
    width: calc(100vw - 28px);
  }

  .topbar-flightinfo-route-stats {
    width: 100%;
  }

  .topbar-flightinfo-route-stats-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0;
  }

  .topbar-flightinfo-route-stats-value {
    justify-self: start;
    text-align: left;
    padding: 0 18px;
  }

  .topbar-flightinfo-route-stage {
    height: 210px;
  }

  .topbar-flightinfo-route-svg {
    top: 20px;
    height: 138px;
    width: 92%;
    left: 4%;
    right: 4%;
  }

  .topbar-flightinfo-route-label {
    font-size: calc(20px * var(--airshow-ui-font-size-scale, 1));
    max-width: 46%;
  }

  .topbar-flightinfo-route-plane-overlay-img {
    width: 48px;
    height: 48px;
  }

  #panel {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .info-row {
    column-gap: 12px;
  }

  .infotimer-route-stats-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .infotimer-route-stats-value {
    justify-self: start;
    text-align: left;
    padding: 0 18px 0 18px;
  }
}

@media (max-width: 720px) {
  .home-btn {
    right: 10px;
  }

  .infotimer-wrap {
    padding: 18px 10px 76px;
  }

  body.infotimer-launched .infotimer-wrap {
    padding: 0;
  }

  .infotimer-title,
  .infotimer-view-title {
    font-size: 28px;
  }

  .infotimer-subtitle,
  .infotimer-view-subtitle {
    font-size: 15px;
  }

  .infotimer-route-stage {
    height: 252px;
  }

  .infotimer-route-svg {
    top: 24px;
    height: 156px;
  }

  .infotimer-route-label {
    max-width: 46%;
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .infotimer-route-plane-overlay-img {
    width: 48px;
    height: 48px;
  }

  .site-bottom-info {
    bottom: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-bottom-info-right {
    gap: 12px;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .topbar-flightinfo-title {
    margin-top: 74px;
    font-size: calc(clamp(32px, 7vw, 44px) * var(--airshow-ui-font-size-scale, 1));
  }

  .topbar-flightinfo-close-btn {
    right: 8px;
  }

  .topbar-flightinfo-route-stats-label {
    font-size: calc(18px * var(--airshow-ui-font-size-scale, 1));
    padding: 0 12px;
  }

  .topbar-flightinfo-route-stats-value {
    font-size: calc(21px * var(--airshow-ui-font-size-scale, 1));
  }

  .info-item {
    gap: 3px;
  }

  .info-item .label {
    font-size: calc(13px * var(--airshow-ui-font-size-scale, 1));
  }

  .info-item .value {
    font-size: calc(15px * var(--airshow-ui-font-size-scale, 1));
  }
}
