:root {
  /* Neon Petal Core Palette */
  --neon-pink: #EC2B7A;
  --pink-carnation: #FE7BBF;
  --chartreuse: #CEFF32;

  /* Ink & Legibility Tokens */
  --ink-primary: #17111C;
  --ink-secondary: #3E3046;
  --ink-muted: #5A4A63;
  --ink-success: #1D2D06;
  --ink-error: #7E1041;

  /* Liquid Glass Surfaces */
  --glass-bg-top: rgba(255, 255, 255, 0.64);
  --glass-bg-mid: rgba(255, 255, 255, 0.46);
  --glass-bg-bot: rgba(255, 255, 255, 0.36);
  --glass-border: rgba(255, 255, 255, 0.74);
  --glass-highlight: rgba(255, 255, 255, 0.92);
  --glass-well: rgba(255, 255, 255, 0.68);
  --glass-well-focus: rgba(255, 255, 255, 0.88);

  /* Radii */
  --radius-card: 32px;
  --radius-control: 18px;
  --radius-pill: 999px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;

  font-family: var(--font-sans);
  color: var(--ink-primary);
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
}

body {
  min-height: 100dvh;
  background-color: var(--pink-carnation);
  position: relative;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Bold Full Mesh Backdrop — Neon Petal (#EC2B7A · #FE7BBF · #CEFF32)
   ========================================================================== */

.mesh-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(115% 80% at 14% 8%, #EC2B7A 0%, rgba(236, 43, 122, 0.84) 36%, rgba(254, 123, 191, 0) 70%),
    radial-gradient(100% 78% at 92% 16%, #FE7BBF 0%, rgba(254, 123, 191, 0.82) 44%, rgba(254, 123, 191, 0) 76%),
    radial-gradient(120% 88% at 24% 96%, #CEFF32 0%, rgba(206, 255, 50, 0.92) 44%, rgba(206, 255, 50, 0) 78%),
    radial-gradient(105% 82% at 86% 90%, #CEFF32 0%, rgba(206, 255, 50, 0.78) 42%, rgba(254, 123, 191, 0) 76%),
    linear-gradient(168deg, #EC2B7A 0%, #FE7BBF 47%, #E9F66B 78%, #CEFF32 100%);
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}

.orb-pink {
  width: 58vmax;
  height: 58vmax;
  top: -22vmax;
  left: -12vmax;
  background: radial-gradient(circle, #EC2B7A 0%, rgba(236, 43, 122, 0) 68%);
  opacity: 0.9;
  animation: driftA 18s ease-in-out infinite alternate;
}

.orb-carnation {
  width: 54vmax;
  height: 54vmax;
  top: 10vmax;
  right: -16vmax;
  background: radial-gradient(circle, #FE7BBF 0%, rgba(254, 123, 191, 0) 70%);
  opacity: 0.88;
  animation: driftB 22s ease-in-out infinite alternate;
}

.orb-chartreuse {
  width: 64vmax;
  height: 60vmax;
  bottom: -24vmax;
  left: 8vmax;
  background: radial-gradient(circle, #CEFF32 0%, rgba(206, 255, 50, 0) 68%);
  opacity: 0.95;
  animation: driftC 20s ease-in-out infinite alternate;
}

.orb-mist {
  width: 38vmax;
  height: 38vmax;
  top: 28%;
  left: 34%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.65;
  animation: driftB 26s ease-in-out infinite alternate-reverse;
}

/* Ultra-fine procedural grain to keep gradients silky and banding-free */
.mesh-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Layout Shell & Single Liquid Glass Card
   ========================================================================== */

.shell {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vh, 26px);
  padding: clamp(24px, 5vh, 48px) 16px;
}

.hero-banner {
  width: 100%;
  max-width: 520px;
  container-type: inline-size;
  text-align: center;
}

.hero-banner h1 {
  margin: 0;
  font-size: clamp(2.4rem, 13.4vw, 4.75rem);
  font-size: clamp(2.4rem, 14.6cqi, 4.8rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #FFFFFF;
  text-shadow: 0 10px 30px rgba(132, 12, 64, 0.24);
}

.hero-dot {
  color: var(--chartreuse);
  text-shadow: 0 4px 18px rgba(102, 134, 8, 0.35);
}

.glass-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: linear-gradient(
    158deg,
    var(--glass-bg-top) 0%,
    var(--glass-bg-mid) 48%,
    var(--glass-bg-bot) 100%
  );
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(36px) saturate(165%);
  -webkit-backdrop-filter: blur(36px) saturate(165%);
  box-shadow:
    0 32px 72px -18px rgba(74, 14, 46, 0.24),
    0 10px 26px -10px rgba(74, 14, 46, 0.12),
    inset 0 1.5px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.36),
    inset 1px 0 0 rgba(255, 255, 255, 0.48);
  overflow: hidden;
}

/* Specular diagonal sheen across the liquid glass surface */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(85% 45% at 18% 0%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(128deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 42%);
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Card Header (Editorial Brand + Pill)
   ========================================================================== */

.card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  color: #FFFFFF;
  background: linear-gradient(145deg, #EC2B7A 0%, #FB64AE 62%, #E1FF5C 132%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 9px 20px -4px rgba(236, 43, 122, 0.46),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.78),
    inset 0 -2px 4px rgba(138, 13, 66, 0.24);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: 11px 11px 100% 100% / 10px 10px 7px 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px rgba(102, 10, 50, 0.28));
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.042em;
  text-transform: lowercase;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-dot {
  color: var(--neon-pink);
}

.meta-pill {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Card Lead Copy
   ========================================================================== */

.card-lead {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.56;
  color: var(--ink-secondary);
  max-width: 44ch;
}

.install-app {
  display: contents;
}

.install-app .paste-button {
  justify-self: end;
  background: var(--chartreuse);
  color: #000000;
}

.install-app .paste-button:hover:not(:disabled) {
  background: #DCFF73;
  color: #000000;
  border-color: rgba(255, 255, 255, 0.9);
}

.install-dialog {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 24px;
  overflow-y: auto;
  color: var(--ink-primary);
  background: linear-gradient(145deg, #FFF9FC, #FFE0EF);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(74, 14, 46, 0.25), inset 0 1px 0 #FFFFFF;
}

.install-dialog::backdrop {
  background: rgba(35, 13, 28, 0.35);
  backdrop-filter: blur(6px);
}

html:has(.install-dialog[open]) {
  overflow: hidden;
}

.install-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-dialog h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.install-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-primary);
}

.install-close svg {
  width: 20px;
  height: 20px;
}

.install-steps {
  margin: 18px 0;
  padding-left: 23px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.install-steps li + li {
  margin-top: 10px;
}

.install-note {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.install-done {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 13px;
  background: var(--chartreuse);
  color: #000000;
  font: inherit;
  font-weight: 650;
}

.install-app .paste-button:focus-visible,
.install-close:focus-visible,
.install-done:focus-visible {
  outline: 2px solid var(--ink-primary);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .install-dialog {
    inset: auto 0 0;
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: 0;
    padding: 12px 24px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
  }

  .install-dialog::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(62, 48, 70, 0.2);
  }
}

/* ==========================================================================
   Form Controls — Frosted Input Pill & Glossy Liquid CTA
   ========================================================================== */

form {
  margin-top: 22px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--ink-secondary);
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-control);
  background: var(--glass-well);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(74, 14, 46, 0.05),
    0 6px 18px -8px rgba(74, 14, 46, 0.14);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.input-wrap:focus-within {
  background: var(--glass-well-focus);
  border-color: var(--neon-pink);
  box-shadow:
    0 0 0 4px rgba(236, 43, 122, 0.2),
    0 10px 24px -10px rgba(236, 43, 122, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.input-wrap:has(input[aria-invalid="true"]) {
  border-color: var(--neon-pink);
  box-shadow:
    0 0 0 4px rgba(236, 43, 122, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  padding: 4px 0;
  color: var(--ink-primary);
  background: transparent;
  font-size: 0.96rem;
}

input::placeholder {
  color: #77657F;
}

input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.paste-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 100%);
  color: var(--ink-primary);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow:
    0 4px 12px -4px rgba(74, 14, 46, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition:
    transform 0.14s ease,
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.paste-button .btn-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.paste-button:hover:not(:disabled) {
  color: var(--neon-pink);
  border-color: rgba(236, 43, 122, 0.28);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF1F7 100%);
  box-shadow:
    0 6px 16px -6px rgba(236, 43, 122, 0.28),
    inset 0 1px 0 #FFFFFF;
}

.paste-button:active:not(:disabled) {
  transform: scale(0.97);
}

.paste-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.help {
  margin: 8px 2px 18px;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

/* YouTube quality uses the same frosted control surface. */
.quality-field select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  background: var(--glass-well);
  color: var(--ink-primary);
  font: inherit;
}

.quality-field select:focus-visible {
  outline: 3px solid var(--ink-primary);
  outline-offset: 3px;
}

.quality-field select:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Primary Glossy Liquid-Glass CTA */
.download-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 13px 22px;
  border-radius: var(--radius-control);
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 2px rgba(112, 10, 54, 0.32);
  background: linear-gradient(
    118deg,
    #DF1A6C 0%,
    #EC2B7A 46%,
    #F55BA3 84%,
    #E2FF5E 134%
  );
  box-shadow:
    0 16px 32px -10px rgba(236, 43, 122, 0.58),
    0 5px 14px -4px rgba(236, 43, 122, 0.3),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.72),
    inset 0 -3px 8px rgba(134, 12, 66, 0.28);
  overflow: hidden;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background 0.2s ease;
}

/* Top glossy specular dome highlight */
.download-button::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: 16px 16px 100% 100% / 14px 14px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.download-button:hover:not(:disabled) {
  transform: translateY(-1.5px);
  filter: saturate(1.06) brightness(1.03);
  box-shadow:
    0 20px 38px -10px rgba(236, 43, 122, 0.66),
    0 8px 18px -4px rgba(236, 43, 122, 0.34),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.8),
    inset 0 -3px 8px rgba(134, 12, 66, 0.26);
}

.download-button:active:not(:disabled) {
  transform: translateY(0.5px) scale(0.99);
}

.download-button:disabled {
  cursor: not-allowed;
  color: var(--ink-muted);
  text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.36) 100%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 4px 12px -6px rgba(74, 14, 46, 0.1);
}

.download-button:disabled::before {
  opacity: 0.35;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink-primary);
  outline-offset: 3px;
}

/* ==========================================================================
   Dynamic Status / Result Capsule (#result)
   ========================================================================== */

.result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px -10px rgba(74, 14, 46, 0.12);
  animation: popIn 0.22s ease;
}

.result-body {
  min-width: 0;
  flex: 1;
}

.result p {
  margin: 0;
  font-weight: 500;
}

.result[data-state="busy"] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(254, 123, 191, 0.22) 100%);
  border-color: rgba(255, 255, 255, 0.9);
}

.result[data-state="success"] {
  color: var(--ink-success);
  background: linear-gradient(135deg, rgba(206, 255, 50, 0.5) 0%, rgba(255, 255, 255, 0.78) 100%);
  border-color: rgba(206, 255, 50, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px -10px rgba(102, 134, 8, 0.24);
}

.result[data-state="error"] {
  color: var(--ink-error);
  background: linear-gradient(135deg, rgba(236, 43, 122, 0.16) 0%, rgba(255, 255, 255, 0.82) 100%);
  border-color: rgba(236, 43, 122, 0.42);
}

.save-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-success);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 45, 6, 0.16);
  box-shadow: 0 3px 10px -4px rgba(29, 45, 6, 0.18);
  transition: transform 0.14s ease, background-color 0.15s ease;
}

.save-link::after {
  content: "↗";
  font-size: 0.9em;
}

.save-link:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2.5px solid rgba(236, 43, 122, 0.22);
  border-top-color: var(--neon-pink);
  animation: spin 0.82s linear infinite;
}

/* ==========================================================================
   Card Footer — Platform Chips & Note
   ========================================================================== */

.card-footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.56);
  text-align: center;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-chip {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.platform-chip[data-active="true"] {
  color: #FFFFFF;
  background: linear-gradient(125deg, #EC2B7A 0%, #FA62AB 100%);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 6px 14px -4px rgba(236, 43, 122, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

noscript {
  display: block;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-error);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Animations & Responsive Rules (Verified for 375x812+)
   ========================================================================== */

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

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6vw, 5vh, 0) scale(1.08);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-5vw, 7vh, 0) scale(1.06);
  }
}

@keyframes driftC {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, -6vh, 0) scale(1.09);
  }
}

@media (max-width: 480px) {
  .shell {
    gap: 16px;
    padding: 22px 14px;
  }

  .glass-card {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .card-top {
    column-gap: 8px;
    margin-bottom: 16px;
  }

  .card-top .brand {
    gap: 8px;
  }

  .card-top .brand-name {
    font-size: 0.9rem;
  }

  .card-top .paste-button {
    gap: 5px;
    padding: 0 9px;
    font-size: 0.8rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .card-lead {
    font-size: 0.91rem;
  }

  .input-wrap {
    padding: 5px 5px 5px 13px;
    border-radius: 16px;
  }

  .paste-button {
    padding: 0 11px;
    font-size: 0.84rem;
  }

  .download-button {
    min-height: 52px;
    border-radius: 16px;
  }
}

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