:root {
  --bg: #fbfbf8;
  --ink: #090909;
  --muted: rgba(0, 0, 0, 0.52);
  --soft: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.74);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,1) 0%, rgba(251,251,248,1) 58%, rgba(242,242,238,1) 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home-page {
  position: fixed;
  inset: 0;
}

#stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.content {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 34px 34px 190px;
  pointer-events: none;
}

.hero {
  width: min(92vw, 1180px);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.art-card {
  width: 100%;
  max-height: calc(100vh - 260px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  animation: hero-in 1200ms cubic-bezier(.16, .95, .2, 1) forwards;
  will-change: transform;
}

.art-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 260px);
  object-fit: contain;
  user-select: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.10));
}

.wordmark {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 1000ms cubic-bezier(.16, .95, .2, 1) 320ms forwards;
  text-align: center;
}

.wordmark p {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(0,0,0,.58);
}

.wordmark span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(0,0,0,.34);
}

.player {
  position: fixed;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 4;
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 13px 15px 13px 18px;
  border: 1px solid rgba(0,0,0,.075);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow:
    0 18px 45px rgba(0,0,0,.075),
    inset 0 1px 0 rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fade-up-player 1000ms cubic-bezier(.16, .95, .2, 1) 540ms forwards;
}

.loop-status {
  min-width: 160px;
  max-width: 290px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.56);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(0,0,0,.20);
  box-shadow: 0 0 0 6px rgba(0,0,0,.035);
}

body.is-audible .status-dot {
  background: #0b0b0b;
  animation: soft-pulse 1350ms ease-in-out infinite;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0,0,0,.075);
  color: rgba(0,0,0,.68);
  font: inherit;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    color .18s ease,
    opacity .18s ease;
}

.control-button.primary {
  background: #0b0b0b;
  color: #fff;
}

.control-button:hover {
  transform: translateY(-1px);
  background: #000;
  color: #fff;
}

.control-button:active {
  transform: translateY(0);
}

.control-button:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 3px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.42);
}

.volume-control input {
  width: 96px;
  accent-color: #111;
  cursor: pointer;
}

.links {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 4;
  text-align: center;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up 1000ms cubic-bezier(.16, .95, .2, 1) 720ms forwards;
}

.links a,
.download-links a,
.back-link {
  color: rgba(0,0,0,.48);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.links a {
  margin: 0 13px;
}

.links a:hover,
.download-links a:hover,
.back-link:hover {
  color: #000;
}

.noscript-box {
  position: fixed;
  left: 50%;
  top: 20px;
  z-index: 10;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.downloads-page {
  min-height: 100%;
  overflow: auto;
  position: static;
}

.download-shell {
  width: min(900px, calc(100vw - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 52px 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 72px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.download-header {
  margin-bottom: 44px;
}

.download-header p {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .48em;
  text-transform: uppercase;
  color: rgba(0,0,0,.42);
}

.download-header h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 112px);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 750;
}

.download-header span {
  display: block;
  margin-top: 18px;
  color: rgba(0,0,0,.46);
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-item,
.empty-state {
  border: 1px solid rgba(0,0,0,.075);
  border-radius: 28px;
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0,0,0,.055);
}

.download-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.download-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.18);
}

.download-name {
  font-weight: 620;
}

.download-meta {
  color: rgba(0,0,0,.45);
  white-space: nowrap;
}

.empty-state {
  padding: 32px;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.empty-state p {
  margin: 0;
  color: rgba(0,0,0,.56);
}

.empty-state code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,.06);
}

.download-links {
  display: flex;
  gap: 24px;
  margin-top: 42px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up-player {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes soft-pulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(0,0,0,.035);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(0,0,0,.06);
  }
}

@media (max-width: 760px), (max-height: 760px) {
  .content {
    padding: 20px 16px 178px;
  }

  .hero {
    width: min(94vw, 760px);
    gap: 14px;
  }

  .art-card,
  .art-card img {
    max-height: calc(100vh - 300px);
  }

  .wordmark p {
    letter-spacing: .32em;
  }

  .player {
    width: calc(100vw - 28px);
    bottom: 72px;
    border-radius: 28px;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .loop-status {
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .player-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .volume-control input {
    width: 130px;
  }

  .links {
    bottom: 22px;
  }

  .links a {
    margin: 0 7px;
    letter-spacing: .12em;
  }

  .download-item {
    flex-direction: column;
  }

  .download-links {
    flex-wrap: wrap;
  }
}

@media (max-height: 620px) {
  .wordmark {
    display: none;
  }

  .art-card,
  .art-card img {
    max-height: calc(100vh - 230px);
  }
}

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

/* ------------------------------------------------------------
   Updated movement/layout layer
   ------------------------------------------------------------ */

.swim-layer {
  width: 100%;
  display: grid;
  place-items: center;
  transform-origin: 50% 52%;
  will-change: transform;
  animation: vogelbekdier-swim 9.5s ease-in-out infinite;
}

@keyframes vogelbekdier-swim {
  0% {
    transform: translate3d(-10px, 2px, 0) rotate(-0.8deg);
  }

  14% {
    transform: translate3d(4px, -8px, 0) rotate(0.6deg);
  }

  28% {
    transform: translate3d(17px, -14px, 0) rotate(1.8deg);
  }

  44% {
    transform: translate3d(12px, -3px, 0) rotate(0.5deg);
  }

  60% {
    transform: translate3d(-4px, 11px, 0) rotate(-1.1deg);
  }

  78% {
    transform: translate3d(-17px, 7px, 0) rotate(-2deg);
  }

  100% {
    transform: translate3d(-10px, 2px, 0) rotate(-0.8deg);
  }
}

@media (max-width: 720px) {
  .hero {
    transform: translateY(38px);
  }

  .wordmark {
    margin-top: 10px;
  }

  .player {
    bottom: 112px;
  }

  .links {
    bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swim-layer {
    animation: none !important;
  }
}

.art-card {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.art-card::before,
.art-card::after,
.swim-layer::before,
.swim-layer::after {
  display: none !important;
  content: none !important;
}

.art-card img {
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.14));
}

/* Mobile/Safari compositing fix:
   Keep the transparent PNG from being blended or filtered as a rectangular layer. */
.swim-layer,
.art-card {
  background: transparent !important;
  isolation: isolate;
}

.art-card {
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

.art-card::before,
.art-card::after,
.swim-layer::before,
.swim-layer::after {
  display: none !important;
  content: none !important;
}

.art-card img {
  background: transparent !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
  -webkit-mix-blend-mode: normal !important;
}

@supports (-webkit-touch-callout: none) {
  .art-card img {
    /* iOS Safari can show a subtle rectangular compositing box when
       transparent PNG + filter/blend + animated canvas sit together. */
    filter: none !important;
    -webkit-filter: none !important;
  }
}


/* Icon controls / social links */
.control-button.icon-button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.control-button.icon-button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-button.sound-button {
  position: relative;
}

.sound-button .sound-icon {
  display: grid;
  place-items: center;
}

.sound-button .sound-icon-on {
  display: none;
}

body.is-audible .sound-button .sound-icon-muted {
  display: none;
}

body.is-audible .sound-button .sound-icon-on {
  display: grid;
}

.transport-button {
  background: rgba(0,0,0,.065);
}

.icon-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.links.icon-links a.icon-link {
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.34);
  color: rgba(0,0,0,.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.links.icon-links a.icon-link:hover {
  color: #000;
  background: rgba(255,255,255,.68);
  transform: translateY(-1px);
}

.icon-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link[aria-label="YouTube"] svg path:first-child,
.icon-link[aria-label="Spotify"] svg circle {
  fill: currentColor;
  stroke: none;
}

.icon-link[aria-label="YouTube"] svg path:last-child {
  fill: rgba(255,255,255,.92);
  stroke: none;
}

.icon-link[aria-label="Spotify"] svg path {
  stroke: rgba(255,255,255,.92);
  stroke-width: 1.5;
}

@media (max-width: 760px), (max-height: 760px) {
  .control-button.icon-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .control-button.icon-button svg {
    width: 21px;
    height: 21px;
  }

  .icon-links {
    gap: 16px;
  }

  .links.icon-links a.icon-link {
    width: 42px;
    height: 42px;
  }

  .icon-link svg {
    width: 21px;
    height: 21px;
  }
}


/* Loop number input */
.loop-number-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.055);
  color: rgba(0,0,0,.52);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.loop-number-control span {
  color: rgba(0,0,0,.34);
}

.loop-number-control input {
  width: 42px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: rgba(0,0,0,.72);
  font: inherit;
  font-size: 12px;
  letter-spacing: .18em;
  text-align: center;
}

.loop-number-control input::placeholder {
  color: rgba(0,0,0,.26);
}

.loop-number-control:focus-within {
  background: rgba(0,0,0,.085);
}

@media (max-width: 760px), (max-height: 760px) {
  .loop-number-control {
    height: 42px;
    padding: 0 13px;
    font-size: 11px;
  }

  .loop-number-control input {
    width: 48px;
    font-size: 13px;
  }
}


/* Cleaner volume control: iconless compact slider, no visible "volume" text. */
.volume-control {
  margin-left: 0;
}

.volume-control input {
  width: 108px;
}

@media (max-width: 760px), (max-height: 760px) {
  .volume-control input {
    width: 132px;
  }
}


/* Final cleanup: the active loop is shown only in the 3-digit input field. */
.player .loop-status {
  display: none !important;
}


/* Invalid loop number feedback */
.loop-number-control input {
  transition: color 900ms ease, text-shadow 900ms ease;
}

.loop-number-control input.is-invalid {
  color: #e11d48 !important;
  text-shadow: 0 0 10px rgba(225, 29, 72, 0.28);
  transition: color 120ms ease, text-shadow 120ms ease;
}


/* Keep invalid loop number visible, then fade back before JS restores current loop. */
.loop-number-control input.is-invalid {
  color: #e11d48 !important;
  text-shadow: 0 0 10px rgba(225, 29, 72, 0.32);
}


/* iPhone/iPad: native/HLS audio ignores JavaScript volume.
   Hide the slider there; the speaker button remains the reliable mute/unmute control. */
body.is-ios-device .volume-control {
  display: none !important;
}


/* Downloads modal overlay */
.icon-link.download-modal-trigger {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.download-modal[hidden] {
  display: none !important;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, .24), transparent 28%),
    rgba(245, 246, 242, .42);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.download-modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  height: min(720px, 86vh);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 34px;
  background: rgba(255, 255, 255, .62);
  box-shadow:
    0 32px 110px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .48);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.download-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: rgba(0, 0, 0, .72);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.download-modal-close:hover {
  background: rgba(255, 255, 255, .94);
  color: #000;
}

.download-modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.download-modal-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

body.download-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .download-modal {
    padding: 10px;
  }

  .download-modal-card {
    width: 100%;
    height: min(760px, 88vh);
    border-radius: 26px;
  }

  .download-modal-close {
    top: 10px;
    right: 10px;
  }
}


/* Polished downloads icon + modal content */
.links.icon-links button.icon-link.download-modal-trigger {
  appearance: none !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  display: inline-grid !important;
  place-items: center !important;
  background: rgba(255,255,255,.34) !important;
  color: rgba(0,0,0,.48) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: none !important;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.links.icon-links button.icon-link.download-modal-trigger:hover {
  color: #000 !important;
  background: rgba(255,255,255,.68) !important;
  transform: translateY(-1px);
}

.links.icon-links button.icon-link.download-modal-trigger svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.download-modal[hidden] {
  display: none !important;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, .30), transparent 30%),
    rgba(246, 247, 243, .38);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.download-modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 94vw);
  max-height: min(720px, 86vh);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 34px;
  background: rgba(255, 255, 255, .68);
  box-shadow:
    0 32px 110px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .58);
  backdrop-filter: blur(24px) saturate(1.22);
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
}

.download-modal-content {
  max-height: min(720px, 86vh);
  overflow: auto;
  padding: 34px;
  color: rgba(0, 0, 0, .72);
}

.download-eyebrow {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, .42);
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.download-modal-content h2 {
  margin: 0;
  color: rgba(0, 0, 0, .82);
  font-size: clamp(34px, 7vw, 64px);
  line-height: .9;
  letter-spacing: -.08em;
}

.download-intro {
  max-width: 480px;
  margin: 16px 0 24px;
  color: rgba(0, 0, 0, .48);
  font-size: 14px;
  line-height: 1.55;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.48);
  color: rgba(0,0,0,.72);
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.download-item:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.76);
  border-color: rgba(0,0,0,.14);
}

.download-item-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0,0,0,.07);
  color: rgba(0,0,0,.64);
}

.download-item-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-item-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.download-item-text strong {
  overflow: hidden;
  color: rgba(0,0,0,.78);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-item-text em {
  color: rgba(0,0,0,.38);
  font-size: 12px;
  font-style: normal;
}

.download-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(0,0,0,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.36);
  color: rgba(0,0,0,.55);
}

.download-empty strong {
  color: rgba(0,0,0,.72);
}

.download-empty a {
  color: rgba(0,0,0,.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: rgba(0, 0, 0, .72);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.download-modal-close:hover {
  background: rgba(255, 255, 255, .96);
  color: #000;
}

.download-modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

body.download-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .download-modal {
    padding: 10px;
  }

  .download-modal-card {
    width: 100%;
    max-height: 88vh;
    border-radius: 26px;
  }

  .download-modal-content {
    padding: 28px 18px 20px;
  }

  .download-modal-close {
    top: 10px;
    right: 10px;
  }
}
