/* Viewport-fit workspace and its interactive glass controls. */
html,
body {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.app-shell {
  height: 100dvh;
  min-height: 0;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.header {
  flex: 0 0 auto;
  min-height: 64px;
  padding: 0;
}
.brand {
  font-size: 32px;
}
.brand-mark {
  width: 40px;
  height: 37px;
}
.nav-link {
  border-radius: 999px;
  font-size: 16px;
  min-height: 46px;
}
.nav-link::after {
  inset: 3px;
  border-radius: inherit;
}
.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}
.workspace:has(#upload-form) {
  max-width: none;
}
.screen {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.hero,
.recipient > h1 {
  flex-shrink: 0;
}
.hero h1,
.recipient h1,
.info-panel > h1 {
  font-size: clamp(30px, 6.5dvh, 72px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: clamp(12px, 3dvh, 30px) 0 clamp(16px, 3.5dvh, 36px);
}
#upload-form {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
.upload-grid {
  flex: 1;
  min-height: 0;
  grid-template: minmax(0, 1fr) auto / minmax(0, 1fr);
  padding: 0;
}
.dropzone {
  min-height: 0;
  padding: 24px 32px;
}
.drop-target {
  inset: 24px;
}
.drop-content {
  padding: 0;
  min-height: 0;
  max-height: 100%;
  justify-content: center;
}
.drop-symbol {
  height: clamp(72px, 19dvh, 180px);
  width: clamp(72px, 19dvh, 180px);
  flex-shrink: 1;
  min-height: 0;
}
.drop-icon {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}
.drop-title {
  font-size: clamp(24px, 4dvh, 42px);
  line-height: 1.15;
  margin-top: 8px;
  letter-spacing: -1px;
}
.drop-title.selected-name {
  font-size: clamp(22px, 3.5dvh, 34px);
  max-width: min(100%, 950px);
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: clip;
}
.drop-subtitle {
  font-size: clamp(16px, 2.6dvh, 24px);
  margin-top: 8px;
}
.drop-actions {
  gap: 2px;
  margin-top: 16px;
  width: 100%;
}
.choose-button {
  min-width: 0;
  width: min(100%, 320px);
  min-height: 56px;
  font-size: 26px;
  padding: 12px 22px;
}
.drop-actions .button-quiet {
  min-height: 32px;
  padding-block: 4px;
  font-size: 14px;
}
.settings {
  --setting-summary-height: 64px;
  --setting-icon-size: 50px;
  --switch-width: 64px;
  min-height: 0;
  grid-template: auto / repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.setting {
  min-height: 0;
  padding: 10px 16px;
  border-radius: 24px;
}
.setting::after {
  border-radius: 20px;
}
.setting .glass-icon {
  width: var(--setting-icon-size);
  height: var(--setting-icon-size);
}
.expiry-setting {
  display: grid;
  grid-template-columns: var(--setting-icon-size) minmax(0, 1fr);
  gap: 12px;
}
.setting-content {
  min-height: var(--setting-summary-height);
  display: grid;
  align-content: center;
  gap: 4px;
}
.setting-label {
  font-size: 17px;
  letter-spacing: -0.35px;
}
.password-summary {
  display: grid;
  grid-template-columns: var(--setting-icon-size) minmax(0, 1fr) var(--switch-width);
  min-height: var(--setting-summary-height);
  gap: 10px;
  align-items: center;
}
.password-summary .switch {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
}
.password-summary > .glass-icon {
  grid-row: auto;
}
.password-setting {
  justify-content: center;
}
.upload-password {
  margin-top: 16px;
  min-height: 0;
}
.upload-password .field-label {
  font-size: 16px;
  margin-bottom: 8px;
}
.upload-password input {
  height: 50px;
  font-size: 20px;
}
.upload-password .field-hint {
  font-size: 12px;
  margin-top: 6px;
}
.switch {
  width: var(--switch-width);
  height: 44px;
  border-radius: 16px;
}
.switch::after {
  width: 34px;
  height: 34px;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
}
.switch[aria-checked='true']::after {
  transform: translate(20px, -50%);
}
.select-wrap {
  margin-top: 0;
  --menu-gap: 6px;
}
.select-wrap::after {
  display: none;
}
.expiry-trigger {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid #777777;
  background: linear-gradient(145deg, rgb(220 220 220 / 0.1), rgb(27 27 27 / 0.55));
  box-shadow: inset 0 1px 3px rgb(236 236 236 / 0.17);
  color: var(--text);
  font-size: 16px;
  text-align: left;
}
.select-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 220ms var(--ease);
  flex-shrink: 0;
}
.expiry-trigger[aria-expanded='true'] .select-chevron {
  transform: translateY(2px) rotate(225deg);
}
.expiry-options {
  position: absolute;
  top: calc(100% + var(--menu-gap));
  left: 0;
  width: max(100%, 10rem);
  z-index: 30;
  border-radius: 20px;
  padding: 6px;
  overflow: clip;
  background-color: rgb(31 31 31 / 0.91);
  box-shadow:
    inset 0 1px 4px rgb(249 249 249 / 0.18),
    0 12px 30px rgb(9 9 9 / 0.7);
  --menu-travel: calc(-1 * var(--menu-gap));
  transform-origin: 50% 0;
  animation: expiry-glass-open 320ms var(--ease);
}
.expiry-options::before {
  inset: 0;
}
.expiry-options::after {
  border-radius: 16px;
}
.expiry-options.opens-up {
  top: auto;
  bottom: calc(100% + var(--menu-gap));
  --menu-travel: var(--menu-gap);
  transform-origin: 50% 100%;
}
@keyframes expiry-glass-open {
  from {
    opacity: 0;
    transform: translateY(var(--menu-travel)) scale(0.94, 0.58);
    border-radius: 32px;
  }
  to {
    opacity: 1;
    transform: none;
    border-radius: 20px;
  }
}
.expiry-options [role='option'] {
  display: block;
  width: 100%;
  padding: 8px 12px;
  min-height: 40px;
  text-align: left;
  border-radius: 13px;
  border: 1px solid transparent;
  background: linear-gradient(150deg, rgb(236 236 236 / 0), rgb(121 121 121 / 0));
  font-size: 15px;
  color: #e6e6e6;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.expiry-options [aria-selected='true'] {
  background-color: rgb(152 152 152 / 0.25);
  color: #f9f9f9;
}
.expiry-options [role='option']:hover,
.expiry-options [role='option']:focus-visible {
  background:
    linear-gradient(150deg, rgb(236 236 236 / 0.24), rgb(121 121 121 / 0.16)),
    rgb(159 159 159 / 0.45);
  border-color: rgb(225 225 225 / 0.68);
  box-shadow:
    inset 0 1px 3px rgb(245 245 245 / 0.35),
    inset 0 -1px 3px rgb(200 200 200 / 0.3);
  color: #fbfbfb;
  outline-offset: -2px;
}
.has-open-select {
  z-index: 20;
}
.drag-lightning,
.release-lightning {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 150ms ease;
  overflow: visible;
}
.drag-lightning path {
  fill: none;
  stroke: #ececec;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}
.drag-lightning path:nth-child(2) {
  stroke: #c4c4c4;
}
.drag-lightning path:nth-child(3) {
  stroke: #f7f7f7;
  stroke-width: 1.2;
}
.is-dragging .drag-lightning {
  opacity: 0.85;
}
.release-lightning rect {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  fill: none;
  stroke: #f0f0f0;
  stroke-width: 3;
  stroke-dasharray: 16 84;
  filter: drop-shadow(0 0 5px #c4c4c4);
}
.is-discharging .release-lightning {
  opacity: 1;
  animation: discharge-fade 800ms ease-out both;
}
.is-discharging .release-lightning rect {
  animation: contour-discharge 760ms linear both;
}
@keyframes contour-discharge {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes discharge-fade {
  0% {
    opacity: 0;
  }
  15%,
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.is-processing .drop-content {
  display: none;
}
.is-generating .upload-grid {
  grid-template-rows: minmax(0, 1fr);
}
.is-generating .settings {
  display: none;
}
.generation-stage {
  margin: 0;
  width: min(680px, 88%);
  text-align: center;
  position: relative;
}
.generation-title {
  font-size: clamp(25px, 4dvh, 40px);
  font-weight: 650;
  margin-bottom: 28px;
}
.elixir-vessel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 88px;
  width: 100%;
  border: 1px solid #8d8d8d;
  border-radius: 24px;
  background: linear-gradient(140deg, #262626, #151515);
  box-shadow:
    inset 0 2px 5px rgb(248 248 248 / 0.2),
    inset 0 -2px 8px rgb(113 113 113 / 0.2),
    0 10px 35px rgb(8 8 8 / 0.25);
}
.elixir-liquid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, #e5e5e5, transparent 70%),
    linear-gradient(180deg, #c6c6c6, #a4a4a4 55%, #656565);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 350ms var(--ease);
  box-shadow:
    inset 0 3px 7px #e8e8e8,
    inset 0 -3px 9px #6e6e6e;
}
.elixir-wave {
  position: absolute;
  inset: -60% -40%;
  border-radius: 43%;
  border: 2px solid rgb(246 246 246 / 0.22);
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 45%,
    rgb(242 242 242 / 0.15) 60%,
    transparent 75%
  );
  animation: elixir-flow 5s linear infinite;
}
.elixir-percent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fbfbfb;
  font-size: 27px;
  font-weight: 600;
  text-shadow: 0 2px 7px #3d3d3d;
}
.progress-caption {
  margin-top: 20px;
  font-size: 16px;
  color: #cfcfcf;
}
.generation-stage .button {
  margin-top: 12px;
}
.is-complete .elixir-liquid {
  transform: scaleX(1);
  animation: elixir-complete 420ms var(--ease) both;
}
.is-complete .elixir-wave {
  animation-iteration-count: 1;
}
.is-complete #share-link {
  animation: link-reveal 300ms 120ms var(--ease) both;
}
@keyframes elixir-flow {
  to {
    transform: rotate(360deg);
  }
}
@keyframes elixir-complete {
  from {
    transform: scaleX(0.9);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes link-reveal {
  from {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.recipient {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.recipient-grid {
  flex: 1;
  min-height: 0;
  width: 100%;
  grid-template-rows: minmax(0, 1fr);
}
.file-card,
.action-card {
  min-height: 0;
  padding: 28px;
  gap: 12px;
}
.file-sculpture {
  width: clamp(80px, 18dvh, 180px);
  height: clamp(80px, 18dvh, 180px);
  flex-shrink: 1;
  min-height: 0;
}
.file-name {
  font-size: clamp(24px, 4.5dvh, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
  max-height: 2.5em;
  overflow: auto;
}
.file-meta {
  font-size: 22px;
  margin-top: 6px;
}
.file-protection {
  font-size: 20px;
  gap: 12px;
}
.action-card .field-label {
  font-size: 32px;
  margin-bottom: 18px;
}
.action-card .password-field input {
  height: 68px;
  font-size: 28px;
  padding-left: 22px;
}
.action-card > .button-primary {
  margin-top: 30px;
  min-height: 66px;
  font-size: 28px;
  border-radius: 20px;
}
.download-card > .button-primary {
  margin-top: 0;
}
.action-card .notification {
  margin-top: 12px;
}
.share-stage {
  flex: 1;
  min-height: 0;
  width: min(100%, 1000px);
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}
.share-file {
  text-align: center;
  margin-bottom: 12px;
  max-width: 100%;
}
.share-file .file-name {
  font-size: 25px;
}
.share-file .file-meta {
  font-size: 16px;
}
.share-stage .elixir-vessel {
  width: min(100%, 680px);
  flex-shrink: 0;
}
.share-stage #share-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fbfbfb;
  text-shadow: 0 1px 3px #555555;
  text-align: center;
  padding: 14px 20px;
  font-size: 18px;
}
.share-stage > .button-primary {
  min-height: 52px;
  font-size: 22px;
  min-width: 200px;
  margin-top: 8px;
}
.share-stage .button-quiet {
  font-size: 14px;
  min-height: 32px;
  padding: 5px 12px;
}
.share-stage .error-message:not(:empty) {
  margin-top: 0;
  padding: 8px 14px;
}
.delete-confirmation {
  padding: 0;
}
.delete-confirmation p {
  margin-bottom: 6px;
}
.delete-confirmation .button {
  min-height: 36px;
  padding: 8px 12px;
}
.receive-card {
  flex: 1;
  min-height: 0;
  max-width: 800px;
  width: 100%;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5dvh, 60px);
  gap: 20px;
}
.receive-card .field-label {
  font-size: 28px;
  margin: 0;
}
.receive-card input {
  width: 100%;
  height: 64px;
  border-radius: 18px;
  border: 1px solid #818181;
  background: #272727;
  color: var(--text);
  padding: 18px;
  font-size: 20px;
}
.receive-card .button-primary {
  font-size: 24px;
  min-height: 60px;
}
.receive-card .button-quiet {
  align-self: center;
}
.empty-card {
  flex: 1;
  min-height: 0;
  width: 100%;
  justify-content: center;
  padding: 24px;
  gap: 20px;
}
.empty-card > .glass-icon {
  width: clamp(60px, 15dvh, 150px);
  height: clamp(60px, 15dvh, 150px);
}
.loading-state {
  min-height: 0;
  flex: 1;
}
.info-panel {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 8px 24px;
}
.help-grid {
  padding: 4px;
}
.error-message:not(:empty) {
  flex-shrink: 0;
  margin-top: 12px;
  padding: 10px 16px;
  font-size: 14px;
}
.retry-button {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 16px;
}
@media (max-width: 1100px) {
  .drop-title {
    font-size: 30px;
  }
  .choose-button {
    font-size: 23px;
  }
  .file-protection {
    font-size: 18px;
  }
  .action-card > .button-primary {
    font-size: 24px;
  }
  .shell {
    width: calc(100% - 48px);
  }
}
@media (max-width: 700px) {
  .app-shell {
    padding: 12px 0;
    gap: 8px;
  }
  .shell {
    width: calc(100% - 28px);
  }
  .header {
    gap: 10px;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .header nav {
    gap: 8px;
  }
  .nav-link {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .hero h1,
  .recipient h1 {
    font-size: 36px;
    margin: 16px 0 20px;
    letter-spacing: -1.3px;
  }
  .upload-grid {
    display: grid;
    gap: 12px;
  }
  .dropzone {
    padding: 18px;
  }
  .drop-target {
    inset: 18px;
  }
  .drop-symbol {
    width: clamp(60px, 15dvh, 130px);
    height: clamp(60px, 15dvh, 130px);
  }
  .drop-title,
  .drop-title.selected-name {
    font-size: 25px;
  }
  .drop-subtitle {
    font-size: 17px;
  }
  .drop-actions {
    margin-top: 12px;
  }
  .choose-button {
    font-size: 22px;
    min-height: 50px;
    max-width: 260px;
  }
  .settings {
    --switch-width: 48px;
    gap: 12px;
  }
  .setting {
    padding: 8px 10px;
  }
  .setting > .glass-icon,
  .password-summary > .glass-icon {
    display: none;
  }
  .expiry-setting {
    grid-template-columns: minmax(0, 1fr);
  }
  .setting-label {
    font-size: 15px;
  }
  .expiry-trigger {
    font-size: 14px;
    padding: 6px 8px;
  }
  .password-summary {
    grid-template-columns: minmax(0, 1fr) var(--switch-width);
    gap: 5px;
  }
  .switch::after {
    width: 24px;
    height: 30px;
  }
  .switch[aria-checked='true']::after {
    transform: translate(14px, -50%);
  }
  .upload-password {
    margin-top: 12px;
  }
  .upload-password .field-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .upload-password input {
    height: 44px;
    font-size: 16px;
    padding: 8px 42px 8px 10px;
  }
  .upload-password .icon-button {
    height: 38px;
    right: 2px;
  }
  .upload-password .field-hint {
    font-size: 10px;
  }
  .recipient-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 12px;
  }
  .file-card,
  .action-card {
    padding: 18px;
    gap: 8px;
  }
  .file-sculpture {
    width: 90px;
    height: 90px;
    flex-shrink: 1;
  }
  .file-name {
    font-size: 27px;
  }
  .file-meta {
    font-size: 18px;
    margin-top: 4px;
  }
  .file-protection {
    font-size: 16px;
    gap: 8px;
  }
  .file-protection .icon {
    width: 20px;
    height: 20px;
  }
  .action-card .field-label {
    font-size: 23px;
    margin-bottom: 10px;
  }
  .action-card .password-field input {
    height: 52px;
    font-size: 23px;
    border-radius: 15px;
  }
  .action-card > .button-primary {
    min-height: 52px;
    font-size: 23px;
    margin-top: 16px;
    border-radius: 16px;
  }
  .download-card > .button-primary {
    margin: 0;
  }
  .action-card .icon-button {
    height: 44px;
    width: 44px;
  }
  .action-card .icon-button .icon {
    width: 26px;
    height: 26px;
  }
  .action-card > .button-primary .icon {
    width: 26px;
    height: 26px;
  }
  .action-card .error-message:not(:empty) {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .share-stage {
    padding: 16px;
    gap: 8px;
  }
  .share-file {
    margin-bottom: 8px;
  }
  .share-file .file-name {
    font-size: 22px;
  }
  .share-stage .elixir-vessel {
    height: 74px;
  }
  .share-stage #share-link {
    font-size: 13px;
    padding: 12px;
  }
  .share-stage > .button-primary {
    min-height: 46px;
    font-size: 20px;
  }
  .share-stage .button-quiet {
    min-height: 30px;
    font-size: 13px;
  }
  .generation-stage {
    width: 90%;
  }
  .generation-title {
    font-size: 28px;
    margin-bottom: 22px;
  }
  .elixir-vessel {
    height: 74px;
    border-radius: 20px;
  }
  .elixir-percent {
    font-size: 24px;
  }
  .receive-card {
    padding: 24px;
    gap: 16px;
  }
  .receive-card .field-label {
    font-size: 23px;
  }
  .receive-card input {
    font-size: 16px;
    height: 54px;
  }
  .receive-card .button-primary {
    min-height: 52px;
    font-size: 22px;
  }
  .info-panel > h1 {
    font-size: 32px;
  }
  .empty-card p {
    font-size: 17px;
  }
  .error-message:not(:empty) {
    font-size: 12px;
    padding: 8px 12px;
    margin-top: 8px;
  }
}
@media (max-width: 460px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .header nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .nav-link {
    font-size: 13px;
    min-height: 36px;
    padding: 6px 12px;
  }
  .hero h1,
  .recipient h1 {
    font-size: 32px;
    margin: 14px 0 16px;
  }
  .drop-title,
  .drop-title.selected-name {
    font-size: 23px;
  }
  .choose-button {
    font-size: 20px;
    min-height: 48px;
  }
  .drop-subtitle {
    font-size: 16px;
  }
}
@media (max-height: 650px) {
  .app-shell {
    padding: 8px 0;
    gap: 6px;
  }
  .hero h1,
  .recipient h1 {
    font-size: 30px;
    margin: 10px 0 12px;
  }
  .dropzone {
    padding: 14px;
  }
  .drop-symbol {
    height: 70px;
    width: 70px;
  }
  .drop-title,
  .drop-title.selected-name {
    font-size: 23px;
  }
  .drop-subtitle {
    font-size: 15px;
    margin-top: 5px;
  }
  .drop-actions {
    margin-top: 8px;
  }
  .choose-button {
    min-height: 44px;
    font-size: 20px;
  }
  .drop-actions .button-quiet {
    min-height: 28px;
    font-size: 12px;
  }
  .upload-password {
    margin-top: 8px;
  }
  .upload-password input {
    height: 44px;
  }
  .upload-password .field-label {
    font-size: 13px;
    margin-bottom: 5px;
  }
  .upload-password .field-hint {
    font-size: 10px;
  }
  .elixir-vessel {
    height: 64px;
  }
  .generation-title {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .share-stage {
    gap: 6px;
    padding: 16px;
  }
  .share-file .file-name {
    font-size: 20px;
  }
  .share-file .file-meta {
    font-size: 14px;
  }
  .share-file {
    margin: 0;
  }
  .share-stage > .button-primary {
    min-height: 42px;
    font-size: 20px;
    margin-top: 2px;
  }
  .share-stage .button-quiet {
    min-height: 28px;
    padding: 4px 10px;
  }
  .file-sculpture {
    width: 70px;
    height: 70px;
  }
  .file-name {
    font-size: 25px;
  }
  .file-meta {
    font-size: 17px;
  }
  .file-protection {
    font-size: 15px;
  }
  .file-card,
  .action-card {
    padding: 14px;
    gap: 6px;
  }
  .action-card .field-label {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .action-card .password-field input {
    height: 52px;
  }
  .action-card > .button-primary {
    min-height: 48px;
    font-size: 22px;
    margin-top: 16px;
  }
  .download-card > .button-primary {
    margin-top: 0;
  }
}
@media (max-width: 700px) and (max-height: 650px) {
  .upload-password .field-label {
    display: none;
  }
  .upload-password .field-hint {
    font-size: 10px;
  }
  .drop-title,
  .drop-title.selected-name {
    font-size: 22px;
  }
  #upload-form:has(.has-password) .drop-symbol {
    display: none;
  }
  .recipient-grid {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }
  .file-card {
    gap: 4px;
  }
  .file-sculpture {
    width: 60px;
    height: 60px;
  }
  .file-name {
    font-size: 23px;
  }
  .file-meta {
    font-size: 16px;
  }
  .file-protection {
    font-size: 14px;
  }
  .action-card .field-label {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .action-card .password-field input {
    height: 46px;
  }
  .action-card > .button-primary {
    font-size: 20px;
    min-height: 44px;
    margin-top: 12px;
  }
  .download-card > .button-primary {
    margin: 0;
  }
  .elixir-vessel,
  .share-stage .elixir-vessel {
    height: 58px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drag-lightning,
  .release-lightning {
    display: none;
  }
  .elixir-wave {
    animation: none;
  }
  .is-complete #share-link {
    animation: none;
  }
  .elixir-liquid {
    transition: none;
  }
}
@media (min-width: 701px) {
  .recipient-grid {
    max-height: 620px;
  }
}
.drag-lightning {
  overflow: hidden;
  border-radius: inherit;
}
.is-dragging .drag-lightning path {
  stroke-dasharray: 28 3;
  animation: lightning-current 1.2s linear infinite;
}
@keyframes lightning-current {
  to {
    stroke-dashoffset: -62;
  }
}
