:root {
  color-scheme: light;
  --bg: #f4f7f3;
  --panel: #ffffff;
  --ink: #14201f;
  --muted: #5e6f6a;
  --accent: #1ad4c6;
  --accent-strong: #0f9e94;
  --line: #cddbd5;
  --control: 48px;
  --soft: #e8f2ee;
  --gold: #a76f14;
  font-family:
    Inter, "Segoe UI", Tahoma, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #f6f4f0;
}

button,
input {
  font: inherit;
}

.app-shell {
  min-height: 100svh;
}

.converter {
  --page-pad: 22px;
  width: 100%;
  min-height: 100svh;
  background: transparent;
  padding: max(22px, env(safe-area-inset-top)) var(--page-pad) max(22px, env(safe-area-inset-bottom));
}

.converter:has(.menu-bar) {
  padding-top: 0;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2.05rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-kicker {
  color: #d4b06a;
  text-align: center;
}

.brand {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  padding-inline-start: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.converter.home {
  display: flex;
  flex-direction: column;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  background-color: #08384a;
  background-image:
    linear-gradient(180deg, rgba(5, 26, 58, 0.92) 0%, rgba(5, 26, 58, 0) 25%),
    url("./banner.jpg?v=poolbg");
  background-repeat: no-repeat;
  background-attachment: scroll, fixed;
  background-size: 100% 100%, auto 190%;
  background-position: top left, 22% 48%;
}

.converter.home:has(.install-sheet:not([hidden])) {
  height: auto;
  max-height: none;
  overflow: visible;
}

.converter.home .langs {
  margin: 64px 0 2px;
}

.converter.home .langs button {
  color: #ffffff;
}

.converter.home .langs button.active {
  color: #d4b06a;
}

.converter.home .menu-list {
  gap: 6px;
  margin-top: 6px;
}

.converter.home #install-button {
  margin-top: 8px;
  color: #ffffff;
}

.icon-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.55rem;
}

.icon-button:active,
.menu-link:active,
.ghost-button:active,
.install-button:active {
  transform: translateY(1px);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #edf4f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 18px;
}

.segmented + .segmented {
  margin-top: -10px;
}

.segment {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}

.segment.active {
  background: linear-gradient(90deg, #6af4e8 0%, #3dba9a 100%);
  color: #06343a;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
}

.field input {
  width: 100%;
  height: var(--control);
  min-height: var(--control);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfdfc;
  font-size: 1.05rem;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 212, 198, 0.28);
  outline: 0;
}

.money-line {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 8px;
}

.result-panel {
  border: 1px solid rgba(26, 212, 198, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, #1ad4c6 0%, #0f9e94 100%);
  color: #ffffff;
  padding: 18px;
  margin-bottom: 16px;
}

.result-meta {
  margin: 6px 0 0;
  color: rgba(6, 52, 58, 0.82);
  font-weight: 700;
}

.result-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.result-panel strong {
  display: block;
  min-height: 48px;
  font-size: clamp(1.45rem, 7.2vw, 2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: nowrap;
}

.result-panel strong.result-long {
  font-size: clamp(1.2rem, 6.1vw, 1.68rem);
}

.result-panel strong.result-extra-long {
  font-size: clamp(1rem, 5.1vw, 1.38rem);
}

.result-panel strong.result-message {
  font-size: 1.1rem;
  white-space: normal;
}

.compact {
  margin-bottom: 12px;
}

.rate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.rate-row span {
  color: var(--ink);
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-row span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.ghost-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 750;
  padding: 0 14px;
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.install-button[hidden] {
  display: none;
}

.install-button {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 16px 0 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #6af4e8 0%, #3dba9a 100%);
  color: #06343a;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
}

#install-button {
  width: fit-content;
  min-height: 32px;
  margin: 22px auto 0;
  padding: 0 4px;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.install-sheet {
  position: fixed;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  margin: 0;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.16);
}

.install-sheet[hidden] {
  display: none;
}

.install-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.install-sheet-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
}

.install-sheet-close {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 750;
}

.install-sheet ol {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.install-sheet li + li {
  margin-top: 6px;
}

.langs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 4px;
}

.langs button {
  min-height: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.langs button.active {
  background: transparent;
  color: var(--accent);
  font-weight: 750;
}

.menu-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin: 0 calc(var(--page-pad) * -1) 16px;
  padding: env(safe-area-inset-top) 4px 0;
  min-height: calc(48px + env(safe-area-inset-top));
  background: var(--accent);
}

.menu-toggle {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: #ffffff;
}

.menu-brand {
  position: absolute;
  left: 50%;
  top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  height: 48px;
  color: #ffffff;
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  padding-inline-start: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.menu-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.menu-bar .menu-list {
  flex: 1 0 100%;
  margin: 0;
  padding: 12px;
  background: var(--panel);
}

.menu-list[hidden] {
  display: none;
}

.menu-link {
  display: flex;
  align-items: center;
  height: var(--control);
  min-height: var(--control);
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  text-align: start;
  text-decoration: none;
}

.menu-link.primary {
  background: linear-gradient(90deg, #6af4e8 0%, #3dba9a 100%);
  border-color: transparent;
  color: #06343a;
}

.converter.home .menu-link {
  position: relative;
  overflow: hidden;
  height: 72px;
  min-height: 72px;
  padding: 0 16px 0 14px;
  gap: 12px;
  border: 1.5px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    -3px -2px 6px rgba(25, 230, 200, 0.45),
    3px 3px 6px rgba(212, 168, 96, 0.4);
}

.converter.home .menu-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3.5px;
  background-image:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 1%, rgba(255, 255, 255, 0.17) 13%, rgba(255, 255, 255, 0.54) 20%, rgba(255, 255, 255, 0.75) 23%, rgba(255, 255, 255, 0.54) 26%, rgba(255, 255, 255, 0.17) 33%, rgba(255, 255, 255, 0) 46%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.17) 67%, rgba(255, 255, 255, 0.54) 74%, rgba(255, 255, 255, 0.75) 77%, rgba(255, 255, 255, 0.54) 80%, rgba(255, 255, 255, 0.17) 87%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(138deg, #8dfff2 0%, rgba(70, 210, 200, 0.35) 46%, #e0c48a 100%);
  background-size: 100% 3.5px, 100% 3.5px, auto;
  background-position: top left, bottom left, 0 0;
  background-repeat: no-repeat;
  background-origin: border-box, border-box, border-box;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.converter.home .menu-link::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: inherit;
  background-color: #08384a;
  background-image: url("./banner.jpg?v=poolbg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: auto 190%;
  background-position: 22% 48%;
  filter: url("#glass-lens");
  pointer-events: none;
  z-index: 0;
}

.converter.home .menu-link:active {
  box-shadow:
    -4px -3px 7px rgba(25, 230, 200, 0.55),
    4px 4px 7px rgba(224, 186, 112, 0.5);
}

.glass-tint {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(2, 42, 48, 0.46);
  pointer-events: none;
  z-index: 1;
}

.converter.home .menu-link > span:not(.glass-tint) {
  position: relative;
  z-index: 2;
}

.glass-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(120, 245, 230, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 10px rgba(25, 230, 200, 0.45),
    inset 0 1px 0 rgba(210, 255, 246, 0.4),
    inset 0 -3px 5px rgba(0, 0, 0, 0.4);
}

.glass-label {
  flex: 1;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

.glass-chevron {
  display: grid;
  place-items: center;
  flex: none;
}

[dir="rtl"] .glass-chevron {
  transform: scaleX(-1);
}

.glass-lens-def {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: none;
}

.tool-note {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.45;
}

.section-title {
  margin: 20px 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

#ride-cities {
  grid-template-columns: 1fr 1fr 1fr;
}

#ride-cities .segment {
  min-width: 0;
  padding: 6px 4px;
  line-height: 1.15;
}

#ride-list {
  margin-top: 0;
}

#ride-list .menu-link {
  gap: 10px;
}

.ride-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  flex: none;
}

.fare-result strong {
  min-height: 0;
  font-size: 1.45rem;
}

.fare-result strong + strong {
  margin-top: 8px;
}

.rules {
  margin: 16px 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 0;
}

.rules summary {
  height: var(--control);
  min-height: var(--control);
  display: flex;
  align-items: center;
  padding: 0 12px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
}

.rules[open] {
  padding-bottom: 12px;
}

#criteria-list {
  padding: 0 12px;
}

.display-row {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.display-segmented {
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 0;
}

.saved-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--control);
  min-height: var(--control);
  margin: 0 0 16px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 750;
  text-align: start;
  cursor: pointer;
}

#saved-units {
  margin: -4px 0 16px;
}

.criterion-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  margin-top: 8px;
}

.criterion-row input[type="range"],
.score-row input[type="range"] {
  --tone-track: #e6eeea;
  --tone-thumb: #8aa099;
  grid-column: 1 / -1;
  width: calc(100% - 48px);
  height: 44px;
  margin: 0 48px 0 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  touch-action: pan-y;
}

.criterion-row input[type="range"]::-webkit-slider-runnable-track,
.score-row input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--tone-track);
}

.criterion-row input[type="range"]::-webkit-slider-thumb,
.score-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 0;
  border-radius: 50%;
  background: var(--tone-thumb);
}

.criterion-row input[type="range"]::-moz-range-track,
.score-row input[type="range"]::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--tone-track);
}

.criterion-row input[type="range"]::-moz-range-thumb,
.score-row input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--tone-thumb);
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  margin-top: 14px;
}

.score-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.score-value {
  min-width: 1.4rem;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  text-align: end;
}

.score-flavor {
  min-width: 0;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}


.criterion-row input[type="text"],
.field select,
.note-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  font-size: 1.05rem;
}

.criterion-row input[type="text"],
.field select {
  height: var(--control);
  min-height: var(--control);
}

.score-title input[type="text"] {
  field-sizing: content;
  width: auto;
  min-width: 5.5rem;
  max-width: 12rem;
  flex: 0 1 auto;
}

.field select {
  max-height: var(--control);
  appearance: none;
  padding-inline-end: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 16px center, right 10px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

[dir="rtl"] .field select {
  background-position: left 16px center, left 10px center;
}

.note-input {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.warning {
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid #e6d3a8;
  border-radius: 8px;
  background: #fff6e8;
  color: #8a5a10;
  font-weight: 750;
  line-height: 1.4;
}

.warning[hidden] {
  display: none;
}

.unit-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.unit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.unit-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.unit-card p {
  margin: 0 0 4px;
  line-height: 1.4;
}

.unit-card a {
  color: var(--accent-strong);
  font-weight: 750;
}

.location-block {
  margin-bottom: 14px;
}

.location-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.location-actions {
  display: flex;
  gap: 12px;
}

.text-button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button[hidden],
.location-status[hidden] {
  display: none;
}

.unit-map {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e7eef0;
  touch-action: none;
  cursor: grab;
}

.unit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

iframe.unit-map {
  display: block;
  height: 220px;
  touch-action: auto;
  cursor: auto;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 42px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.map-pin[hidden],
#open-google[hidden] {
  display: none;
}

.map-zoom,
.map-locate {
  position: absolute;
  z-index: 2;
}

.map-zoom {
  top: 10px;
  inset-inline-end: 10px;
  display: grid;
  gap: 6px;
}

.map-zoom button,
.map-locate {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #1a73e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.map-locate {
  right: auto;
  bottom: 10px;
  inset-inline-start: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.map-locate svg {
  width: 22px;
  height: 22px;
}

.map-locate:disabled {
  opacity: 0.45;
}

.location-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.unit-map-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 750;
}

.unit-score {
  color: var(--accent-strong);
  font-weight: 750;
}

.unit-note {
  color: var(--muted);
}

@media (max-width: 360px) {
  .converter {
    --page-pad: 18px;
  }

  h1 {
    font-size: 1.72rem;
  }

  .result-panel strong {
    font-size: clamp(1.22rem, 6.8vw, 1.56rem);
  }

  .status-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) {
  body {
    background-color: #04050a;
    background-image:
      radial-gradient(1px 1px at 8% 16%, rgba(255, 255, 255, 0.75) 50%, transparent 52%),
      radial-gradient(1px 1px at 22% 68%, rgba(255, 255, 255, 0.4) 50%, transparent 52%),
      radial-gradient(1.4px 1.4px at 74% 20%, rgba(255, 255, 255, 0.6) 50%, transparent 52%),
      radial-gradient(1px 1px at 86% 58%, rgba(255, 255, 255, 0.35) 50%, transparent 52%),
      radial-gradient(1px 1px at 46% 42%, rgba(255, 255, 255, 0.3) 50%, transparent 52%),
      radial-gradient(1px 1px at 62% 84%, rgba(255, 255, 255, 0.45) 50%, transparent 52%),
      radial-gradient(ellipse 50% 38% at 16% 22%, rgba(42, 68, 150, 0.42), transparent 62%),
      radial-gradient(ellipse 42% 32% at 82% 16%, rgba(96, 42, 130, 0.3), transparent 60%),
      radial-gradient(ellipse 55% 42% at 64% 82%, rgba(16, 42, 88, 0.5), transparent 64%),
      radial-gradient(ellipse 28% 22% at 38% 58%, rgba(150, 110, 60, 0.08), transparent 70%);
    background-attachment: fixed;
  }

  .converter {
    width: 420px;
    max-width: 420px;
    margin-inline: auto;
    background: #f6f4f0;
  }

  .converter.home {
    background-attachment: scroll, scroll;
  }

  .converter.home .menu-link::before {
    background-image: none;
    background-color: transparent;
    filter: none;
  }

  .install-sheet {
    left: 50%;
    right: auto;
    width: 396px;
    transform: translateX(-50%);
  }
}
