:root {
  color-scheme: dark;
  --bg: #090d14;
  --raised: #111722;
  --surface: #151b26;
  --line: #2c3442;
  --line-strong: #445065;
  --ink: #f2f5fa;
  --muted: #b5bfce;
  --faint: #8290a4;
  --blue: #2876f7;
  --blue-hi: #6ca2ff;
  --thinkpool-cobalt: #1a6ef4;
  --danger: #ef9387;
  --positive: #72c69b;
  --radius: 16px;
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-snap: 160ms;
  --motion-fast: 200ms;
  --motion-enter: 260ms;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}
html {
  height: 100%;
  background: var(--bg);
}
body {
  display: grid;
  height: 100dvh;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}

.search-bridge-page {
  display: grid;
  min-height: 100dvh;
  overflow-y: auto;
  place-items: center;
  padding: 28px;
}
.search-bridge-main {
  width: min(520px, 100%);
  overflow: visible;
  padding: 0;
}
.search-bridge-main .brand {
  margin-bottom: 20px;
}
.search-bridge-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(21, 27, 38, 0.94);
  padding: clamp(24px, 6vw, 40px);
  text-align: center;
  backdrop-filter: blur(12px);
}
.search-bridge-eyebrow {
  color: var(--blue-hi);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.search-bridge-card h1 {
  margin-top: 16px;
  font-size: clamp(2.35rem, 9vw, 4rem);
  line-height: 0.98;
}
.search-bridge-query {
  max-width: 38ch;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.search-bridge-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.search-bridge-actions .primary-button {
  width: 100%;
}
.search-bridge-copy {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}
.search-bridge-copy:hover {
  border-color: var(--blue-hi);
  color: var(--ink);
}
.search-bridge-note {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.55;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--blue);
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
}
.glow {
  position: fixed;
  inset: 0 0 auto;
  height: 560px;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(40, 118, 247, 0.18),
    transparent 65%
  );
}

.page-cluster {
  width: 100%;
  min-height: 0;
  max-height: 100%;
  align-self: safe center;
  overflow-y: auto;
  scrollbar-width: none;
}
.page-cluster::-webkit-scrollbar {
  display: none;
}

.topbar {
  position: relative;
  display: flex;
  width: min(1120px, 100%);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: 16px 28px 4px;
  flex-direction: column;
}
.page-cluster .topbar {
  top: 8px;
  padding-top: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 19px;
  flex-direction: column;
  font-size: 32px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 80px;
  height: 80px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(108, 162, 255, 0.55);
  border-radius: 20px;
  background: rgba(40, 118, 247, 0.12);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}
.brand-mark > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.service-rail {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--faint);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-rail svg {
  width: 14px;
  fill: none;
  stroke: var(--blue-hi);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  position: relative;
  display: flex;
  width: min(760px, 100%);
  min-height: 0;
  flex: 1 1 auto;
  margin: 0 auto;
  overflow-y: auto;
  padding: 4px 28px clamp(20px, 4vh, 28px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  scrollbar-width: none;
}
.page-cluster main {
  flex: none;
  overflow: visible;
  padding-bottom: 0;
}
main::-webkit-scrollbar {
  display: none;
}
.service-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.service-icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(17, 23, 34, 0.85);
}
.service-icon svg {
  width: 29px;
  height: 29px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.service-icon svg.apple {
  fill: currentColor;
  stroke: none;
}
.swap-icon {
  width: 19px;
  fill: none;
  stroke: var(--blue-hi);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1 {
  max-width: 680px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.8vw, 5.9rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.intro {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 550;
  line-height: 1.65;
}
.intro-tail {
  margin-top: 12px;
}

.converter {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(21, 27, 38, 0.9);
  padding: 16px;
  backdrop-filter: blur(12px);
}
#convert-form {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.input-shell {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 13, 20, 0.84);
  padding: 0 13px;
}
.input-shell:focus-within {
  border-color: var(--blue-hi);
  box-shadow: 0 0 0 3px rgba(40, 118, 247, 0.18);
}
.link-icon {
  width: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.6;
  stroke-linecap: round;
}
input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
input::placeholder {
  color: var(--faint);
}
.paste-button {
  min-width: 56px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--blue-hi);
  font-size: 13px;
  font-weight: 750;
  transition:
    background-color var(--motion-snap) var(--ease-settle),
    transform var(--motion-snap) var(--ease-settle);
}
.paste-button:hover {
  background: rgba(40, 118, 247, 0.12);
}
.paste-button:active {
  transform: scale(0.96);
}

.primary-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #07101d;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
  transition:
    background-color var(--motion-snap) var(--ease-settle),
    transform var(--motion-snap) var(--ease-settle);
}
.primary-button:hover {
  background: var(--blue-hi);
}
.primary-button:active {
  transform: translateY(1px) scale(0.985);
}
.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.external-icon {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(7, 16, 29, 0.28);
  border-top-color: #07101d;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#error-text {
  margin: 0;
  padding: 0 8px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
}

.result {
  padding: 12px;
  text-align: left;
  transform-origin: 50% 0;
}
.track-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.artwork-shell {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 13px;
  background: var(--raised);
}
.artwork-shell img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artwork-shell img:not([src]) {
  display: none;
}
.artwork-fallback {
  position: absolute;
  inset: 29px;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.track-copy {
  min-width: 0;
}
.route-label {
  color: var(--blue-hi);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h2 {
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track-copy p {
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.copy-link-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.copy-link-button.copied {
  background: var(--positive);
}
.secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition:
    color var(--motion-snap) var(--ease-settle),
    transform var(--motion-snap) var(--ease-settle);
}
.secondary-link:hover {
  color: var(--ink);
}
.secondary-link:active {
  transform: scale(0.985);
}
.search-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.55;
}
.result-meta-actions {
  display: grid;
  margin-top: 14px;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.meta-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition:
    color var(--motion-snap) var(--ease-settle),
    background-color var(--motion-snap) var(--ease-settle),
    transform var(--motion-snap) var(--ease-settle);
}
.meta-action:hover {
  background: rgba(40, 118, 247, 0.08);
  color: var(--ink);
}
.meta-action:active {
  transform: scale(0.97);
}
.share-lynx-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-note {
  display: flex;
  width: 100%;
  min-height: 0;
  flex: none;
  align-items: center;
  margin: 0;
  color: var(--faint);
  flex-direction: column;
  font-size: 12px;
  gap: 1px;
}
.footer-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color var(--motion-snap) var(--ease-settle);
}
.footer-link:hover {
  color: var(--ink);
}
.about-dialog {
  width: min(430px, calc(100% - 44px));
  max-width: none;
  margin: auto;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--raised);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  color: var(--ink);
  padding: 26px;
}
.about-dialog::backdrop {
  background: rgba(3, 6, 12, 0.74);
  backdrop-filter: blur(7px);
  opacity: 1;
  transition: opacity var(--motion-fast) var(--ease-settle);
}
.about-dialog[data-closing]::backdrop {
  opacity: 0;
}
@starting-style {
  .about-dialog[open]::backdrop {
    opacity: 0;
  }
}
.about-dialog h2 {
  margin: 11px 0 0;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.about-dialog h2:focus {
  outline: none;
}
.privacy-copy {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.privacy-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.privacy-copy strong {
  color: var(--ink);
  font-weight: 750;
}
.about-byline {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.about-byline a {
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.about-done {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #07101d;
  font-size: 15px;
  font-weight: 800;
}

.shortcut-install {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid rgba(108, 162, 255, 0.4);
  border-radius: 999px;
  background: rgba(40, 118, 247, 0.1);
  padding: 8px 13px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  transition:
    border-color var(--motion-snap) var(--ease-settle),
    background-color var(--motion-snap) var(--ease-settle),
    transform var(--motion-snap) var(--ease-settle);
}
.shortcut-install:hover {
  border-color: rgba(108, 162, 255, 0.75);
  background: rgba(40, 118, 247, 0.18);
}
.shortcut-install:active {
  transform: scale(0.98);
}

.conversion-guide {
  width: 100%;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 36px 0 52px;
  text-align: left;
}
.conversion-guide h2 {
  max-width: 620px;
  overflow: visible;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-overflow: clip;
  text-wrap: balance;
  white-space: normal;
}
.conversion-guide-summary {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.conversion-steps {
  display: grid;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.conversion-steps li {
  display: grid;
  align-items: start;
  gap: 14px;
  grid-template-columns: 34px minmax(0, 1fr);
}
.conversion-step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue-hi);
  font-size: 13px;
  font-weight: 800;
}
.conversion-guide h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}
.conversion-guide p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.conversion-guide-notes {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.conversion-guide .conversion-guide-switch {
  margin-top: 30px;
  color: var(--faint);
}
.conversion-guide-switch a {
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.conversion-guide-switch a:hover {
  color: var(--blue-hi);
}
.shortcut-guide {
  width: min(460px, calc(100% - 44px));
  max-width: none;
  max-height: calc(100dvh - 44px);
  margin: auto;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--raised);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  color: var(--ink);
  padding: 26px;
}
.shortcut-guide::backdrop {
  background: rgba(3, 6, 12, 0.74);
  backdrop-filter: blur(7px);
  opacity: 1;
  transition: opacity var(--motion-fast) var(--ease-settle);
}
.shortcut-guide[data-closing]::backdrop {
  opacity: 0;
}
@starting-style {
  .shortcut-guide[open]::backdrop {
    opacity: 0;
  }
}
.shortcut-guide h2 {
  max-width: 330px;
  overflow: visible;
  margin: 11px 0 0;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-overflow: clip;
  white-space: normal;
}
.shortcut-guide-intro {
  max-width: 370px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.shortcut-steps {
  display: grid;
  gap: 10px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}
.shortcut-step {
  display: grid;
  min-height: 62px;
  align-items: center;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(9, 13, 20, 0.52);
  padding: 10px 12px;
}
.shortcut-step-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(40, 118, 247, 0.16);
  color: var(--blue-hi);
  font-size: 12px;
  font-weight: 800;
}
.shortcut-step-copy strong,
.shortcut-step-copy span {
  display: block;
}
.shortcut-step-copy strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}
.shortcut-step-copy span {
  margin-top: 3px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.35;
}
.shortcut-step-icon {
  width: 25px;
  height: 25px;
  justify-self: center;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shortcut-guide-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.shortcut-guide-install {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--blue);
  color: #07101d;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.shortcut-guide-dismiss {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

@keyframes lynx-enter-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lynx-enter-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lynx-mark-in {
  from {
    opacity: 0;
    transform: scale(0.76) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes lynx-result-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lynx-confirm {
  50% {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .about-dialog[open] {
    animation: lynx-enter-up var(--motion-enter) var(--ease-settle) both;
  }
  .about-dialog[open][data-closing] {
    animation: lynx-result-in var(--motion-fast) var(--ease-settle) reverse both;
  }
  .shortcut-guide[open] {
    animation: lynx-enter-up var(--motion-enter) var(--ease-settle) both;
  }
  .shortcut-guide[open][data-closing] {
    animation: lynx-result-in var(--motion-fast) var(--ease-settle) reverse both;
  }
  .topbar {
    animation: lynx-enter-down var(--motion-fast) var(--ease-settle) both;
  }
  .brand-mark {
    animation: lynx-mark-in var(--motion-enter) var(--ease-settle) 20ms both;
  }
  h1 {
    animation: lynx-enter-up var(--motion-enter) var(--ease-settle) 45ms both;
  }
  .intro {
    animation: lynx-enter-up var(--motion-enter) var(--ease-settle) 60ms both;
  }
  .converter {
    animation: lynx-enter-up var(--motion-enter) var(--ease-settle) 75ms both;
  }
  .footer-note {
    animation: lynx-enter-up var(--motion-fast) var(--ease-settle) 90ms both;
  }
  .result:not([hidden]) {
    animation: lynx-result-in var(--motion-fast) var(--ease-settle) both;
  }
  .copy-link-button.copied {
    animation: lynx-confirm var(--motion-fast) var(--ease-settle);
  }
}

@media (max-width: 600px) {
  .about-dialog {
    inset: auto 0 0;
    width: 100%;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 26px 26px 0 0;
    padding: 23px 19px max(16px, env(safe-area-inset-bottom));
  }
  .about-dialog::before {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: var(--line-strong);
    content: "";
    transform: translateX(-50%);
  }
  .shortcut-guide {
    inset: auto 0 0;
    width: 100%;
    max-height: calc(100dvh - 40px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 26px 26px 0 0;
    padding: 23px 19px max(16px, env(safe-area-inset-bottom));
  }
  .shortcut-guide::before {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: var(--line-strong);
    content: "";
    transform: translateX(-50%);
  }
  .shortcut-guide h2 {
    font-size: 25px;
  }
  .shortcut-guide-intro {
    padding-right: 20px;
  }
  .shortcut-steps {
    margin-top: 17px;
  }
  .shortcut-step {
    min-height: 59px;
  }
  .shortcut-guide-actions {
    margin-top: 15px;
  }
  .topbar {
    padding: 12px 19px 4px;
  }
  .service-rail {
    gap: 7px;
    font-size: 9px;
  }
  main {
    padding: 2px 19px 16px;
  }
  h1 {
    margin-top: 8px;
    font-size: clamp(2.75rem, 13vw, 3.5rem);
    line-height: 0.98;
  }
  .desktop-break {
    display: none;
  }
  .intro {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.5;
  }
  .intro-tail {
    margin-top: 10px;
  }
  .converter {
    margin-top: 18px;
    padding: 12px;
  }
  .conversion-guide {
    margin-top: 44px;
    padding: 30px 0 40px;
  }
  .conversion-guide h2 {
    font-size: 2rem;
  }
  .conversion-guide-summary {
    margin-top: 13px;
  }
  .conversion-steps {
    gap: 20px;
    margin-top: 27px;
  }
  .conversion-guide-notes {
    gap: 22px;
    margin-top: 27px;
    padding-top: 24px;
    grid-template-columns: 1fr;
  }
  .input-shell {
    padding-inline: 11px;
  }
  .result {
    padding: 7px;
  }
  .artwork-shell {
    width: 77px;
    height: 77px;
  }
  .artwork-fallback {
    inset: 22px;
  }
  h2 {
    font-size: 19px;
  }
  .footer-note {
    margin-top: 0;
  }
}

@media (min-width: 601px) and (max-height: 700px) {
  .topbar {
    padding: 12px 28px;
  }
  .page-cluster .topbar {
    top: 0;
    padding: 8px 28px 4px;
  }
  .brand {
    gap: 8px;
    flex-direction: row;
    font-size: 24px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  main {
    padding: 14px 28px 8px;
  }
  .service-icons {
    gap: 12px;
  }
  .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .service-icon svg {
    width: 26px;
    height: 26px;
  }
  .desktop-break {
    display: none;
  }
  h1 {
    max-width: none;
    margin-top: 12px;
    font-size: 47px;
    line-height: 0.96;
  }
  .intro {
    max-width: 760px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.4;
  }
  .converter {
    margin-top: 12px;
    padding: 12px;
  }
  .intro-tail {
    display: none;
  }
  #convert-form {
    gap: 10px;
  }
  .input-shell {
    min-height: 56px;
  }
  .primary-button {
    min-height: 52px;
  }
  .footer-note {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
