@charset "UTF-8";

:root {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color: #111b32;
  background: #f5f7fb;
  font-synthesis: none;
  --blue: #246bfd;
  --muted: #748099;
  --border: #e6ebf3;
  --green: #008c67;
  --amber: #a96700;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,input,a {
  -webkit-tap-highlight-color: transparent;
}

button,input {
  font: inherit;
}

button,a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

button:focus-visible,a:focus-visible,input:focus-visible {
  outline: 3px solid #9dbdff;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.page {
  max-width: 1240px;
  margin: auto;
  padding: 72px 44px 32px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #8792a7;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px 4px;
}

.tiny-dot {
  height: 5px;
  width: 5px;
  background: #246bfd;
  border-radius: 50%;
}

.navigation {
  background: white;
  border: 1px solid #e2e8f2;
  border-radius: 24px;
  box-shadow: 0 12px 50px #20396305,0 2px 5px #20396302;
  overflow: hidden;
}

.topbar {
  height: 94px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--blue);
}

.brand-period {
  padding-left: 3px;
  font-size: 40px;
}

.text-button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
}

.help-trigger {
  color: #5e6d85;
  gap: 13px;
}

.text-button:hover {
  color: #104fe0;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  padding: 48px 40px 40px;
  gap: 40px;
}

.introduction {
  padding-right: 39px;
  border-right: 1px solid var(--border);
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #7c88a0;
  margin: 0 0 15px;
}

h1 {
  font-size: 35px;
  letter-spacing: -1.5px;
  line-height: 1.4;
  margin: 0;
  font-weight: 750;
}

.description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 17px 0 28px;
}

.selection-panel {
  background: #f6f8fc;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  padding: 23px;
}

.panel-label {
  color: #7c87a0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.recommend-tag {
  color: var(--blue);
  background: #e8f0ff;
  font-size: 10px;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 5px;
  font-weight: 650;
}

.selection-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 17px 0 8px;
}

.selection-main strong {
  font-size: 20px;
  letter-spacing: -.5px;
}

.selection-latency {
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.selection-domain {
  margin: 0 0 24px;
  color: #76839c;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.button {
  min-height: 48px;
  width: 100%;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: background .18s,border-color .18s,transform .18s;
}

.button-primary {
  color: white;
  background: var(--blue);
  justify-content: space-between;
  padding: 0 18px;
  box-shadow: 0 3px 9px #246bfd13;
}

.button-primary:hover {
  background: #1559e5;
}

.button-primary:active {
  transform: translateY(1px);
}

.button-primary:disabled {
  background: #d8e0ed;
  color: #f8faff;
  box-shadow: none;
}

.button-arrow {
  font-size: 20px;
  font-weight: 400;
}

.button-secondary {
  background: white;
  border-color: #dfe6f1;
  margin-top: 10px;
  color: #495974;
}

.button-secondary:hover {
  background: #f1f5fc;
  border-color: #becfec;
}

.bookmark-hint {
  margin: 23px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #8590a5;
  font-size: 11px;
  line-height: 1.8;
}

.bookmark-hint strong {
  font-weight: 500;
}

.bookmark-hint p {
  margin: 2px 0 0;
  font-size: 10px;
  color: #98a1b2;
}

kbd {
  font: inherit;
  border: 1px solid #e3e9f2;
  background: #fafbfe;
  padding: 1px 4px;
  border-radius: 3px;
}

.bookmark-symbol {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 17px;
  flex-shrink: 0;
  background: currentColor;
  border-radius: 2px 2px 0 0;
  clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%);
  margin-top: 3px;
}

.bookmark-symbol::before {
  content: "";
  position: absolute;
  inset: 1.5px 1.5px 2.8px;
  background: var(--bookmark-cutout, #fff);
  clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%);
}

.help-icon .bookmark-symbol {
  --bookmark-cutout: #edf3ff;
}

.copy-symbol {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  flex-shrink: 0;
}

.copy-symbol:before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background: inherit;
}

.routes-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: -5px;
}

h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}

.route-count {
  font-size: 10px;
  color: #9ba5b8;
  font-weight: 500;
  margin-left: 8px;
  vertical-align: middle;
}

.refresh-symbol {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.retest-button:disabled {
  color: #9ba7bb;
}

.retest-button:disabled .refresh-symbol {
  animation: spin 1.2s linear infinite;
}

.measurement-note {
  font-size: 11px;
  color: #9aa4b6;
  margin: 0 0 24px;
  line-height: 1.6;
}

.note-divider {
  margin: 0 5px;
}

.routes {
  display: grid;
  gap: 12px;
}

.route-row {
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  transition: background .18s,border-color .18s;
}

.route-row.selected {
  background: #f2f6ff;
  border-color: #adc8ff;
}

.route-select {
  position: relative;
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  padding: 16px 6px 16px 18px;
  min-width: 0;
}

.route-select input {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid #b5bfd1;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  background: white;
}

.route-select input:checked {
  border: 5px solid var(--blue);
}

.route-select:has(input:focus-visible) {
  outline: 3px solid #9dbdff;
  outline-offset: 3px;
  border-radius: 10px;
}

.route-select input:focus-visible {
  outline: 0;
}

.route-copytext {
  min-width: 0;
  flex: 1;
}

.route-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.route-region {
  font-size: 11px;
  color: #6d7b94;
  margin: 1px 0 5px;
}

.route-domain {
  font-size: 10px;
  color: #8b96aa;
  display: block;
  white-space: nowrap;
}

.route-metrics {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  min-width: 65px;
}

.latency {
  font-size: 12px;
  background: #e6f6ef;
  color: var(--green);
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.latency.slow {
  color: var(--amber);
  background: #fff3df;
}

.latency.failed {
  background: #fff0f1;
  color: #c34a56;
}

.latency.pending {
  background: #edf1f7;
  color: #9aa5b7;
}

.route-status {
  font-size: 9px;
  color: var(--green);
  white-space: nowrap;
}

.route-status.failed {
  color: #bd5361;
}

.route-status.pending {
  color: #97a2b6;
}

.route-copy {
  background: transparent;
  border: 0;
  color: #9ca9bc;
  min-width: 34px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 8px;
}

.route-copy:hover {
  color: var(--blue);
}

.route-retry {
  font-size: 10px;
  color: var(--blue);
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
}

.route-explainer {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #98a3b5;
  margin-top: 23px;
}

.route-explainer p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}

.info-symbol {
  border: 1px solid #a8b3c5;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 3px;
  font-family: Georgia,serif;
}

.footer {
  margin: 0 40px;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #9aa5b7;
}

.footer a {
  color: #657591;
  margin-left: 8px;
}

.footer a:hover {
  color: var(--blue);
}

.footer a span {
  padding-left: 3px;
  color: #a5b0c3;
}

.publication-link {
  letter-spacing: .3px;
}

.below-page {
  display: flex;
  justify-content: space-between;
  color: #a2adbf;
  font-size: 10px;
  padding: 0 4px;
  margin-top: 20px;
}

.below-page span {
  font-size: 8px;
  letter-spacing: 1.3px;
}

.connection-notice {
  background: #fff4ee;
  color: #955b39;
  font-size: 12px;
  line-height: 1.8;
  padding: 13px 15px;
  border-radius: 10px;
  margin-top: 15px;
}

.mobile-dock,.mobile-summary {
  display: none;
}

dialog {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  max-width: 440px;
  width: calc(100% - 40px);
  color: #111b32;
  box-shadow: 0 24px 90px #14213d20;
}

dialog::backdrop {
  background: #16233c66;
  backdrop-filter: blur(3px);
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 14px;
}

.dialog-heading h2 {
  font-size: 22px;
}

.dialog-heading .section-kicker {
  margin-bottom: 7px;
}

.icon-button {
  border: 0;
  background: #f4f6fa;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 300;
  flex-shrink: 0;
  color: #6d7c96;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 18px 15px;
  border: 1px solid var(--border);
  background: #fafbfe;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  color: inherit;
}

.help-item:hover:not(.help-static) {
  background: #f0f5ff;
  border-color: #c6d8ff;
}

.help-item>span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.help-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.help-item small {
  display: block;
  font-size: 11px;
  color: #7c8ba3;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.help-icon {
  background: #edf3ff;
  color: var(--blue);
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 19px;
}

.help-arrow {
  color: #98a7c0;
  font-size: 18px;
}

.help-footnote {
  font-size: 11px;
  color: #99a3b5;
  line-height: 1.8;
  margin: 20px 0 0;
}

.mobile-bookmark,.sheet-grabber {
  display: none !important;
}

.copy-dialog>p {
  font-size: 13px;
  line-height: 1.8;
  color: #748099;
}

.copy-dialog input {
  width: 100%;
  border: 1px solid #c8d8f5;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  min-width: 0;
  background: #f4f7ff;
  color: #264777;
  margin: 6px 0 16px;
}

.copy-dialog .button-primary {
  justify-content: center;
}

.toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: #172237;
  color: white;
  border: 1px solid #354159;
  box-shadow: 0 12px 35px #14213d20;
  border-radius: 13px;
  z-index: 10;
  max-width: calc(100% - 32px);
  pointer-events: none;
  animation: toast-in .2s ease-out;
}

.toast strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}

.toast small {
  display: block;
  color: #aab7cc;
  margin-top: 5px;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.toast-check {
  background: #00a77f;
  color: white;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}

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

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  background: white;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 30px #14213d20;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.noscript a {
  color: var(--blue);
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

@keyframes toast-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (min-width:1400px) {
  .page {
    max-width: 1320px;
  }
  .workspace {
    padding: 54px 48px 46px;
    gap: 48px;
  }
  .topbar {
    padding: 0 48px;
  }
  .footer {
    margin: 0 48px;
  }
  h1 {
    font-size: 40px;
  }
  .route-select {
    min-height: 108px;
  }
}

@media (max-width:1000px) and (min-width:721px) {
  .page {
    padding: 40px 24px;
  }
  .workspace {
    gap: 24px;
    padding: 36px 26px;
  }
  .introduction {
    padding-right: 23px;
  }
  h1 {
    font-size: 28px;
  }
  .topbar {
    padding: 0 26px;
  }
  .selection-panel {
    padding: 18px;
  }
  .route-select {
    padding-left: 12px;
    gap: 9px;
  }
  .route-row {
    grid-template-columns: 1fr 27px;
  }
  .route-title {
    font-size: 12px;
  }
  .route-metrics {
    min-width: 54px;
  }
  .route-domain {
    font-size: 9px;
  }
  .footer {
    margin: 0 26px;
  }
}

@media (max-width:720px) {
  :root {
    background: white;
  }
  .page {
    padding: 0 0 calc(197px + env(safe-area-inset-bottom));
    display: block;
    min-height: 100dvh;
  }
  .eyebrow,.below-page,.desktop-only,.section-kicker,.selection-panel,.bookmark-hint {
    display: none;
  }
  .navigation {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .topbar {
    height: 84px;
    padding: 0 24px;
    border: 0;
  }
  .wordmark {
    font-size: 28px;
  }
  .brand-period {
    font-size: 35px;
  }
  .help-trigger {
    font-size: 12px;
  }
  .workspace {
    display: block;
    padding: 13px 24px 15px;
  }
  .introduction {
    padding: 0;
    border: 0;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 1.45;
  }
  .description {
    font-size: 13px;
    line-height: 1.9;
    margin: 13px 0 22px;
  }
  .mobile-summary {
    display: flex;
    align-items: center;
    background: #f0f5ff;
    border: 1px solid #e6efff;
    color: #55729b;
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 11px;
    margin: 0 0 27px;
    min-height: 43px;
  }
  .routes-heading {
    margin: 0;
  }
  .routes-heading h2 {
    font-size: 15px;
  }
  .route-count {
    font-size: 9px;
  }
  .text-button {
    font-size: 12px;
  }
  .measurement-note {
    font-size: 10px;
    margin: 2px 0 16px;
  }
  .routes {
    gap: 12px;
  }
  .route-row {
    grid-template-columns: 1fr;
  }
  .route-select {
    min-height: 104px;
    padding: 17px 15px;
    gap: 12px;
  }
  .route-select input {
    width: 18px;
    height: 18px;
  }
  .route-title {
    font-size: 14px;
  }
  .route-region {
    font-size: 12px;
    margin-top: 2px;
    margin-bottom: 5px;
  }
  .route-domain {
    font-size: 11px;
  }
  .route-metrics {
    min-width: 65px;
    gap: 8px;
  }
  .latency {
    font-size: 12px;
  }
  .route-status {
    font-size: 10px;
  }
  .route-copy {
    display: none;
  }
  .route-retry {
    position: absolute;
    right: 15px;
    bottom: 0;
    min-height: 28px;
    font-size: 11px;
  }
  .route-row:has(.route-retry:not([hidden])) .route-select {
    padding-bottom: 27px;
  }
  .route-explainer {
    margin-top: 18px;
  }
  .route-explainer p {
    font-size: 10px;
  }
  .footer {
    margin: 0 24px;
    padding: 20px 0;
    font-size: 10px;
  }
  .mobile-dock {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffffffa;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 13px 24px calc(12px + env(safe-area-inset-bottom));
    z-index: 3;
  }
  .dock-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #95a0b4;
    margin-bottom: 12px;
  }
  .dock-selection strong {
    color: #5d6f8c;
    font-weight: 550;
  }
  .mobile-dock .button-primary {
    font-size: 14px;
    min-height: 49px;
    border-radius: 10px;
  }
  .dock-copy {
    width: 100%;
    border: 0;
    background: none;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #6d7c96;
    font-size: 11px;
    padding-top: 9px;
  }
  .help-dialog {
    max-width: none;
    width: 100%;
    max-height: calc(100dvh - 60px);
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
    padding: 12px 24px calc(28px + env(safe-area-inset-bottom));
    border-bottom: 0;
  }
  .sheet-grabber {
    display: block !important;
    width: 35px;
    height: 4px;
    border-radius: 4px;
    background: #c6d0df;
    margin: 0 auto 22px;
  }
  .dialog-heading {
    margin-bottom: 23px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .help-item {
    padding: 17px 13px;
    min-height: 85px;
  }
  .help-item strong {
    font-size: 14px;
  }
  .help-item small {
    font-size: 12px;
  }
  .mobile-bookmark {
    display: block !important;
  }
  .desktop-bookmark {
    display: none !important;
  }
  .toast {
    bottom: calc(182px + env(safe-area-inset-bottom));
    width: max-content;
  }
  .copy-dialog {
    padding: 24px;
  }
  .connection-notice {
    font-size: 11px;
  }
}

@media (max-width:370px) {
  .workspace {
    padding-left: 18px;
    padding-right: 18px;
  }
  .topbar {
    padding: 0 18px;
  }
  .mobile-dock {
    padding-left: 18px;
    padding-right: 18px;
  }
  .route-select {
    gap: 9px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .route-title {
    font-size: 12px;
  }
  .route-domain {
    font-size: 10px;
  }
  .route-metrics {
    min-width: 60px;
  }
  h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep retry separate from the selectable radio row. */

.route-row {
  position: relative;
}

.route-row:has(.route-retry:not([hidden])) .route-copy {
  visibility: hidden;
}

.route-retry {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
}

.route-select:has(input:disabled) {
  cursor: default;
}

.route-select:has(input:disabled) input {
  cursor: default;
}

/* V2: one header title, with balanced selection and route columns. */
.page { max-width: 1180px; }
.topbar { height: 86px; }
.topbar .wordmark {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.5px;
  line-height: 1.4;
}
.workspace {
  grid-template-columns: .9fr 1.1fr;
  padding-top: 36px;
  padding-bottom: 36px;
  gap: 36px;
}
.introduction { display: flex; flex-direction: column; padding-right: 35px; }
.description { margin: 0 0 28px; font-size: 15px; line-height: 1.9; }
.selection-panel { padding: 26px 24px; }
.selection-main { margin-top: 22px; }
.selection-main strong { font-size: 24px; }
.selection-domain { margin-bottom: 28px; }
.bookmark-hint { margin-top: auto; padding-top: 28px; }

@media (max-width: 1000px) and (min-width: 721px) {
  .workspace { gap: 24px; }
  .introduction { padding-right: 23px; }
  .selection-panel { padding: 22px 18px; }
}
@media (max-width: 720px) {
  .page { padding-bottom: calc(148px + env(safe-area-inset-bottom)); }
  .topbar { height: 84px; border-bottom: 1px solid var(--border); }
  .topbar .wordmark { font-size: 19px; letter-spacing: -.5px; }
  .help-trigger { gap: 7px; font-size: 11px; }
  .workspace { padding-top: 24px; padding-bottom: 15px; }
  .introduction { display: block; padding: 0; }
  .description { font-size: 13px; line-height: 1.9; margin: 0 0 19px; }
  .mobile-summary { margin-bottom: 23px; }
  .bookmark-hint { display: none; }
  .mobile-dock { padding-top: 15px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(140px + env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
  .topbar .wordmark { font-size: 18px; }
}

@media (max-width:720px) {
  .route-retry {
    top: auto;
    right: 15px;
    bottom: 0;
    transform: none;
    width: auto;
  }
}
