
@font-face {
  font-family: 'system';
  src: local('-apple-system');
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse 58% 40% at 50% 0%, #0b1b32 0%, #071326 47%, transparent 100%), #020810;
  background-attachment: fixed;
  color: #e6f1fb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
}

.page {
  max-width: 480px;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.wordmark {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 3px;
  margin: 0;
  background: linear-gradient(135deg, #e6f1fb, #85b7eb 60%, #378add);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(55, 138, 221, 0.45));
}

.reveal {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(3px);
  transition: opacity 1200ms ease-out, transform 1200ms ease-out, filter 1200ms ease-out;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.dropzone {
  width: 100%;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(20, 40, 70, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(55, 138, 221, 0.2);
  cursor: pointer;
}
.dropzone.dragover {
  border-color: rgba(133, 183, 235, 0.8);
  background: rgba(20, 40, 70, 0.4);
}
.dropzone p {
  font-size: 13px;
  color: #8fb3dd;
  margin: 10px 0 0;
}
.icon-upload {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #378add;
  border-radius: 4px;
  position: relative;
}
.icon-upload::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 10px;
  background: #378add;
  transform: translateX(-50%);
}

.file-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.file-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(20, 40, 70, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #bcdcff;
  border: 0.5px solid rgba(133, 183, 235, 0.2);
}

.send-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #378add, #0c447c);
  color: #e6f1fb;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(55, 138, 221, 0.4);
}
.send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.progress-wrap {
  width: 100%;
}
.hidden { display: none !important; }

.progress-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar {
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #0c447c, #378add);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(55,138,221,0.6);
  transition: width 200ms ease-out;
}
.progress-label {
  font-size: 11px;
  color: #8fb3dd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 10px 0 0;
}

.result-card, .transfer-state {
  width: 100%;
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(20, 40, 70, 0.35);
  backdrop-filter: blur(12px);
  border: 0.5px solid rgba(133, 183, 235, 0.25);
  box-shadow: 0 0 24px rgba(20, 60, 120, 0.25);
  text-align: center;
}
.result-label { font-size: 12px; color: #8fb3dd; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.result-link-row { display: flex; gap: 8px; }
.result-link {
  flex: 1;
  background: rgba(5, 11, 22, 0.6);
  border: 0.5px solid rgba(133, 183, 235, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  color: #e6f1fb;
  font-size: 13px;
}
.copy-btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: 0.5px solid rgba(133, 183, 235, 0.4);
  background: transparent;
  color: #e6f1fb;
  cursor: pointer;
  font-size: 13px;
}
.result-note { font-size: 11px; color: #6f93bd; margin: 10px 0 0; }

.file-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-card {
  width: 100%;
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(20, 40, 70, 0.4);
  backdrop-filter: blur(14px);
  border: 0.5px solid rgba(133, 183, 235, 0.3);
  box-shadow: 0 0 24px rgba(20, 60, 120, 0.3);
}
.media-card .label {
  font-size: 11px;
  color: #8fb3dd;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.video-frame {
  position: relative;
  background: rgba(5, 11, 22, 0.5);
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(133, 183, 235, 0.2);
}
.video-frame video {
  width: 100%;
  display: block;
  background: #000;
}

.image-frame img {
  width: 100%;
  border-radius: 10px;
  display: block;
  border: 0.5px solid rgba(133, 183, 235, 0.2);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(55, 138, 221, 0.2);
  color: #e6f1fb;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audio-icon {
  background: linear-gradient(135deg, #378add, #0c447c);
  box-shadow: 0 0 14px rgba(55, 138, 221, 0.5);
}
.progress-scrub {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.progress-scrub-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0c447c, #378add);
  border-radius: 2px;
}
.progress-scrub-thumb {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6f1fb;
  box-shadow: 0 0 8px rgba(230,241,251,0.8);
  transform: translate(-50%, -50%);
  left: 0%;
}
.time-label {
  font-size: 11px;
  color: #8fb3dd;
  min-width: 70px;
  text-align: right;
}

.file-row-plain {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.file-row-plain .name { font-size: 13px; color: #bcdcff; }
.download-link {
  font-size: 12px;
  color: #85b7eb;
  text-decoration: none;
  border: 0.5px solid rgba(133, 183, 235, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
}

/* --- v4: download page image/label helpers --- */
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.label-row .label { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convert-note {
  font-size: 12px;
  color: #6f93bd;
  text-align: center;
  padding: 1.25rem 0.5rem;
  margin: 0;
}
.share-more-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 0.5px solid rgba(133, 183, 235, 0.4);
  background: transparent;
  color: #e6f1fb;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
}
.share-more-btn:hover {
  background: rgba(55, 138, 221, 0.15);
  box-shadow: 0 0 20px rgba(55, 138, 221, 0.25);
}

/* --- v5: clickable wordmark that grows on hover --- */
.wordmark-link {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: transform 250ms ease-out;
}
.wordmark-link:hover { transform: scale(1.12); }

/* --- v9: alternate angled white logo (add class "wordmark-v2") --- */
.wordmark-v2 {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #ffffff;
  transform: skewX(-9deg) rotate(-3deg);
  transform-origin: left center;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.35));
}

/* --- v9: upload limits + megatransfer --- */
.limit-note {
  font-size: 11px;
  color: #6f93bd;
  letter-spacing: 0.5px;
  margin: -8px 0 0;
  text-align: center;
}
.limit-note-error { color: #e59a9a; }
.file-row-over {
  border-color: rgba(226, 120, 120, 0.5);
  color: #e59a9a;
}
.mega-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 226, 140, 0.55);
  background: linear-gradient(160deg, #b98a1e 0%, #f2d777 22%, #fdf0b8 38%, #d9ae3c 55%, #8f660d 100%);
  color: #1a1200;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 243, 195, 0.6);
  cursor: pointer;
  transition: transform 200ms ease-out, filter 200ms ease-out;
  animation: megaGlow 2.8s ease-in-out infinite;
}
.mega-btn:hover {
  transform: translateY(-1px) scale(1.015);
  filter: brightness(1.12);
}
.mega-btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: megaShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes megaShine {
  0%   { left: -80%; }
  55%  { left: 135%; }
  100% { left: 135%; }
}
@keyframes megaGlow {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.9), inset 0 -3px 7px rgba(80, 52, 0, 0.5), 0 0 16px rgba(230, 180, 60, 0.35);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.9), inset 0 -3px 7px rgba(80, 52, 0, 0.5), 0 0 30px rgba(245, 200, 85, 0.6);
  }
}
.mega-banner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(55, 138, 221, 0.14);
  border: 0.5px solid rgba(133, 183, 235, 0.4);
  font-size: 12px;
  color: #bcdcff;
  letter-spacing: 0.3px;
}
.mega-lock {
  font-size: 11px;
  color: #9ec6f0;
  background: transparent;
  border: 0.5px solid rgba(133, 183, 235, 0.4);
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.mega-lock:hover { background: rgba(55, 138, 221, 0.18); }

/* --- v7/v8: admin portal --- */
.admin-input { width: 100%; margin-bottom: 8px; }
.admin-sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6f93bd;
  margin: -8px 0 4px;
}
.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 4px;
}
.admin-count { font-size: 12px; color: #8fb3dd; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-card { padding: 1rem 1.1rem; }
.admin-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.admin-id { font-size: 14px; font-weight: 600; color: #bcdcff; font-family: ui-monospace, monospace; }
.admin-meta { font-size: 11px; color: #8fb3dd; }
.admin-files {
  font-size: 12px;
  color: #8fb3dd;
  margin: 0 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.admin-dates { font-size: 11px; color: #6f93bd; }
.admin-del {
  font-size: 11px;
  color: #e59a9a;
  background: transparent;
  border: 0.5px solid rgba(226, 120, 120, 0.35);
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.admin-del:hover { background: rgba(226, 75, 74, 0.15); }


/* --- QR code on the result card --- */
.qr-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 0.5px solid rgba(133, 183, 235, 0.35);
  background: transparent;
  color: #9ec6f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.qr-btn:hover { background: rgba(55, 138, 221, 0.12); }
.qr-btn:disabled { opacity: 0.5; cursor: default; }
.qr-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 16px;
  background: #0b1626;
  border: 0.5px solid rgba(133, 183, 235, 0.3);
  border-radius: 12px;
}
.qr-wrap img, .qr-wrap canvas { display: block; }
.qr-hint {
  font-size: 11px;
  color: #8fb3dd;
  text-align: center;
  margin: 10px 0 0;
}

/* --- v11: small gold V3 tag at the top-right of the wordmark --- */
.wordmark-tag {
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.5px;
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  vertical-align: top;
  position: relative;
  top: -6px;
  margin-left: 1px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}


/* --- v16: file remove, cancel upload, admin IP --- */
.file-row-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 10px;
}
.file-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.file-remove {
  background: transparent;
  border: none;
  color: #6f93bd;
  font-size: 17px;
  line-height: 1;
  padding: 1px 5px;
  border-radius: 6px;
  cursor: pointer;
}
.file-remove:hover {
  color: #e59a9a;
  background: rgba(226, 120, 120, 0.12);
}
.cancel-btn {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border-radius: 10px;
  border: 0.5px solid rgba(226, 120, 120, 0.4);
  background: transparent;
  color: #e59a9a;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.cancel-btn:hover { background: rgba(226, 120, 120, 0.1); }
.admin-ip {
  font-size: 11px;
  color: #8fb3dd;
  letter-spacing: 0.3px;
  margin: 2px 0 0;
}


/* --- v22: tagline under the wordmark --- */
.tagline {
  font-size: 11px;
  color: #9ec6f0;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin: -12px 0 0;
  opacity: 0.5;
  text-shadow: 0 0 12px rgba(55, 138, 221, 0.55);
}
.tagline .blur-word {
  filter: blur(0.7px);
}
/* reveal animation normally ends at opacity 1 — keep the tagline at 50% */
.tagline.reveal.in {
  opacity: 0.5;
}


/* --- FINAL: subtle Megatransfer hint under the limit note --- */
.mega-hint {
  font-size: 10px;
  color: #6f93bd;
  letter-spacing: 1px;
  text-align: center;
  margin: -14px 0 0;
  opacity: 0.5;
}
.mega-hint.reveal.in { opacity: 0.5; }
.mega-hint-word {
  color: #d9b23c;
  letter-spacing: 1.5px;
}

/* --- v28: icon-only per-file download --- */
.download-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #85b7eb;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s ease;
}
.download-icon:hover { color: #e8f2fd; }

/* --- v33: your transfers + share codes --- */
.history-wrap { margin-top: 30px; text-align: left; width: 100%; }
.history-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #e8f2fd; margin: 0 0 2px; }
.history-sub { font-size: 11px; color: #5d7ba1; margin: 0 0 12px; }
.h-row { background: rgba(13, 26, 44, 0.7); border: 0.5px solid rgba(133, 183, 235, 0.16); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.h-row-expired { opacity: 0.55; }
.h-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; }
.h-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #16273e; }
.h-thumb-icon { display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0.06em; color: #7d9fc8; }
.h-meta { flex: 1; min-width: 0; }
.h-name { margin: 0; font-size: 13px; color: #dcebfd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-link { margin: 2px 0 0; font-size: 11px; color: #5d7ba1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-pill { flex-shrink: 0; font-size: 10.5px; color: #9fd0a4; background: rgba(80, 160, 90, 0.12); padding: 3px 8px; border-radius: 20px; }
.h-pill-expired { color: #8fa4c0; background: rgba(133, 183, 235, 0.08); }
.h-chev { font-size: 12px; color: #5d7ba1; transition: transform 0.25s ease; flex-shrink: 0; }
.h-open-row .h-chev { transform: rotate(180deg); }
.h-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.h-open-row .h-panel { max-height: 120px; }
.h-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px 14px; border-top: 0.5px solid rgba(133, 183, 235, 0.1); }
.h-act { font-size: 11.5px; color: #85b7eb; background: none; border: 0.5px solid rgba(133, 183, 235, 0.3); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-family: inherit; transition: color 0.15s ease, border-color 0.15s ease; }
.h-act:hover { color: #e8f2fd; border-color: rgba(133, 183, 235, 0.6); }
.h-info { margin-left: auto; font-size: 11px; color: #5d7ba1; white-space: nowrap; }
.code-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.code-label { font-size: 12px; color: #5d7ba1; }
.code-input { width: 78px; text-align: center; letter-spacing: 0.35em; font-size: 15px; background: rgba(13, 26, 44, 0.7); border: 0.5px solid rgba(133, 183, 235, 0.25); border-radius: 8px; color: #e8f2fd; padding: 8px 0 8px 6px; font-family: inherit; }
.code-input:focus { outline: none; border-color: rgba(133, 183, 235, 0.6); }
.code-msg { font-size: 11px; color: #e08a8a; }
@keyframes codeshake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.code-shake { animation: codeshake 0.3s ease; }

/* --- v33: one-time what's new notice --- */
.wn-overlay { position: fixed; inset: 0; background: rgba(2, 6, 12, 0.7); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 20px; animation: wnfade 0.25s ease; }
.wn-card { background: #0b1626; border: 0.5px solid rgba(133, 183, 235, 0.3); border-radius: 14px; padding: 20px 22px; max-width: 380px; width: 100%; text-align: left; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); animation: wnpop 0.3s ease; }
@keyframes wnfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wnpop { from { opacity: 0; transform: scale(0.92) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.wn-title { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #e8f2fd; }
.wn-item { margin: 0 0 6px; font-size: 12px; color: #9db9dd; padding-left: 14px; position: relative; }
.wn-item::before { content: '\2022'; position: absolute; left: 2px; color: #85b7eb; }
.wn-dismiss { margin-top: 8px; font-size: 11.5px; color: #85b7eb; background: none; border: 0.5px solid rgba(133, 183, 235, 0.3); padding: 6px 14px; border-radius: 8px; cursor: pointer; font-family: inherit; }
.wn-dismiss:hover { color: #e8f2fd; border-color: rgba(133, 183, 235, 0.6); }

.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffc439;
  color: #12243a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.donate-btn:hover { background: #f5ba2b; }
.donate-btn svg { display: block; }

/* --- v42: mobile centering + folder-select button --- */
/* history rows used to size to their longest nowrap filename, overflowing the
   viewport on phones and shoving the whole page off-centre; width:100% above
   pins them to the page column, overflow-x is a belt-and-braces guard. */
body { overflow-x: hidden; }

.folder-btn {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #e8f2fd;
  background: rgba(133, 183, 235, 0.12);
  border: 0.5px solid rgba(133, 183, 235, 0.45);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  font-family: inherit;
  opacity: 0.25;
  transition: opacity 0.2s ease;
}
.folder-btn:hover,
.folder-btn:focus-visible { opacity: 0.65; }

/* Ambient depth study: keeps the original V42 layout and blue palette. */
body { position: relative; isolation: isolate; }
.page { position: relative; z-index: 1; }
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.mist-field { position: fixed; inset: -18%; z-index: -1; pointer-events: none; opacity: .3; filter: blur(34px); background: radial-gradient(ellipse at 24% 36%, rgba(27,82,145,.19), transparent 35%), radial-gradient(ellipse at 72% 28%, rgba(30,78,128,.16), transparent 33%), radial-gradient(ellipse at 55% 76%, rgba(20,58,106,.2), transparent 38%); animation: mist-drift 34s ease-in-out infinite alternate; transform: translate3d(var(--mist-x,0),var(--mist-y,0),0); }
@keyframes mist-drift { from { background-position: 0 0, 0 0, 0 0; transform: translate3d(-1.3%, .7%, 0) scale(1); } to { background-position: 5% -4%, -4% 5%, 3% 2%; transform: translate3d(1.5%, -1%, 0) scale(1.045); } }
.wordmark-tag { color: #e7c46b !important; -webkit-text-fill-color: #e7c46b !important; filter: drop-shadow(0 0 7px rgba(231,196,107,.34)); }
.dropzone { --tilt-x: 0deg; --tilt-y: 0deg; --spot-x: 50%; --spot-y: 38%; position: relative; transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .22s cubic-bezier(.2,.75,.25,1), border-color .25s ease, box-shadow .25s ease; box-shadow: 0 12px 28px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035); background-image: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(55,138,221,.12), transparent 55%); }
.dropzone:after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 28%, transparent 75%, rgba(55,138,221,.035)); opacity: .72; }
.dropzone.dragover { box-shadow: 0 16px 36px rgba(0,0,0,.3), 0 0 0 1px rgba(133,183,235,.18), inset 0 1px rgba(255,255,255,.08); }
.folder-btn { opacity: .78; border-radius: 999px; padding: 7px 16px; background: rgba(55,138,221,.12); box-shadow: 0 4px 12px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.08); transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease; }
.folder-btn:hover, .folder-btn:focus-visible { opacity: 1; transform: translateY(-1px); background: rgba(55,138,221,.19); box-shadow: 0 7px 16px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.12); }
.send-btn { position: relative; overflow: hidden; border: 1px solid rgba(133,183,235,.42); transform: translate3d(0,0,0) scale(1); box-shadow: 0 7px 18px rgba(5,26,49,.38), inset 0 1px rgba(255,255,255,.22), inset 0 -1px rgba(0,0,0,.2); transition: transform .72s cubic-bezier(.22,.61,.36,1), box-shadow .72s cubic-bezier(.22,.61,.36,1), filter .68s cubic-bezier(.22,.61,.36,1); }
.send-btn:not(:disabled):hover { transform: translate3d(0,-1.25px,0) scale(1.01); filter: brightness(1.05); box-shadow: 0 10px 23px rgba(5,26,49,.48), inset 0 1px rgba(255,255,255,.25); }
.send-btn:not(:disabled):active { transform: translate3d(0,0,0) scale(.996); box-shadow: 0 3px 9px rgba(5,26,49,.4), inset 0 2px 5px rgba(0,0,0,.18); }
.copy-btn, .qr-btn, .wn-dismiss { transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.copy-btn:hover, .qr-btn:hover, .wn-dismiss:hover { transform: translateY(-1px); box-shadow: 0 5px 13px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: reduce) {
  .mist-field { animation: none; }
  .dropzone, .folder-btn, .copy-btn, .qr-btn, .wn-dismiss { transition: none; }
  .send-btn { transition: transform .28s ease-out, box-shadow .3s ease-out, filter .28s ease-out; }
  .send-btn:not(:disabled):hover { transform: translate3d(0,-.5px,0) scale(1.005); }
}
/* Keep the original page readable even if preview JavaScript is blocked. */

.mist-field { transform: translate3d(var(--mist-x,0),var(--mist-y,0),0) scale(1.04); animation: mist-flow 32s ease-in-out infinite alternate; }
@keyframes mist-flow { from { background-position: 0 0, 0 0, 0 0; opacity: .22; } to { background-position: 5% -4%, -4% 5%, 3% 2%; opacity: .36; } }

/* Keep the glow on luminous controls and stars; leave all text crisp. */
.icon-upload { filter: drop-shadow(0 0 4px rgba(55,138,221,.38)); }
.send-btn { position: relative; z-index: 0; isolation: isolate; overflow: visible; }
.page > .send-btn {
  transform: translate3d(0,0,0) scale(1);
  transition: transform .72s cubic-bezier(.22,.61,.36,1), box-shadow .72s cubic-bezier(.22,.61,.36,1), filter .68s cubic-bezier(.22,.61,.36,1);
}
.send-btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -12px -18px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 56%, rgba(55,138,221,.32), rgba(41,116,184,.16) 42%, transparent 74%);
  filter: blur(10px);
  opacity: .34;
  pointer-events: none;
  transform: scale(.96,.94);
  transition: opacity .72s cubic-bezier(.16,1,.3,1), transform .82s cubic-bezier(.16,1,.3,1);
}
.send-btn:not(:disabled) { box-shadow: 0 0 10px rgba(75,158,232,.25), 0 0 28px rgba(42,117,184,.16), 0 7px 18px rgba(5,26,49,.38), inset 0 1px rgba(255,255,255,.22), inset 0 -1px rgba(0,0,0,.2); }
.send-btn:disabled::before { opacity: .68; }
.send-btn:not(:disabled):hover { box-shadow: 0 0 12px rgba(75,158,232,.3), 0 0 30px rgba(42,117,184,.2), 0 10px 23px rgba(5,26,49,.48), inset 0 1px rgba(255,255,255,.25); }
.send-btn:not(:disabled):active { box-shadow: 0 0 6px rgba(75,158,232,.2), 0 3px 9px rgba(5,26,49,.4), inset 0 2px 5px rgba(0,0,0,.18); }
.send-btn:not(:disabled):hover::before { opacity: .82; transform: scale(1.04,1.1); }
.send-btn:not(:disabled):active::before { opacity: .52; transform: scale(.98,.96); }

.code-row { width: 100%; gap: 0; }
.code-msg:empty { display: none; }
.code-msg:not(:empty) { margin-left: 8px; }
.code-label {
  padding: 8px 12px;
  border: 1px solid rgba(133,183,235,.27);
  border-radius: 999px;
  background: rgba(20,40,70,.28);
  color: #a9c9eb;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.code-label:hover, .code-label[aria-expanded="true"] { background: rgba(35,72,112,.44); border-color: rgba(133,183,235,.52); color: #d5e8fa; }
.code-label { transform: translateY(0); box-shadow: 0 0 0 rgba(55,138,221,0); transition: background .2s ease, border-color .2s ease, color .2s ease, transform .24s ease, box-shadow .24s ease; }
.code-label[aria-expanded="true"] { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(20,75,128,.22); }
.code-label:focus-visible, .about-link:focus-visible { outline: 2px solid rgba(133,183,235,.72); outline-offset: 3px; }
.code-input {
  width: 0;
  min-width: 0;
  padding: 8px 0;
  border-width: 0;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: width .28s cubic-bezier(.2,.75,.25,1), padding .28s ease, border-width .28s ease, opacity .18s ease, transform .28s cubic-bezier(.2,.75,.25,1);
}
.code-row.is-open .code-label { margin-right: 8px; }
.code-row.is-open .code-input { width: 78px; padding: 8px 0 8px 6px; border-width: .5px; opacity: 1; transform: translateX(0); pointer-events: auto; }
.about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(133,183,235,.27);
  border-radius: 999px;
  background: rgba(20,40,70,.28);
  color: #a9c9eb;
  font-family: inherit;
  font-size: 12px;
  opacity: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
body.page-enter .page > .reveal:not(.hidden) { animation: page-enter .48s cubic-bezier(.2,.75,.25,1) both var(--enter-delay,0ms); }
@keyframes page-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.send-btn.send-pop { animation: send-pop .42s cubic-bezier(.2,.75,.25,1); }
@keyframes send-pop { 0%,100% { transform: translateY(0) scale(1); } 38% { transform: translateY(-1px) scale(1.075); } 68% { transform: translateY(0) scale(1.02); } }
.file-row { animation: file-enter .24s cubic-bezier(.2,.75,.25,1) both; }
@keyframes file-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  body.page-enter .page > .reveal:not(.hidden), .send-btn.send-pop, #resultCard:not(.hidden), .file-row { animation: none; }
  .send-btn::before, .code-label, .about-link, .code-input { transition: none; }
}

/* A smaller, quieter nebula keeps the stars legible. */
.mist-field {
  inset: -7%; opacity: .12; filter: blur(25px);
  background: radial-gradient(ellipse at 27% 24%, rgba(27,82,145,.13), transparent 26%),
              radial-gradient(ellipse at 73% 34%, rgba(30,78,128,.11), transparent 25%),
              radial-gradient(ellipse at 49% 74%, rgba(20,58,106,.13), transparent 28%);
  animation: mist-soft-drift 40s ease-in-out infinite alternate;
}
@keyframes mist-soft-drift {
  from { opacity: .07; transform: translate3d(var(--mist-x,0),var(--mist-y,0),0) scale(.99); }
  to { opacity: .14; transform: translate3d(var(--mist-x,0),var(--mist-y,0),0) scale(1.025); }
}
.page { padding-bottom: 1.25rem; }
.about-wrap {
  position: relative; z-index: 2; align-self: stretch; width: 100%; margin-top: auto; padding-top: 22px;
  display: flex; justify-content: center; align-items: center;
}
.about-link {
  display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 8px 12px;
  border: 1px solid rgba(133,183,235,.13); border-radius: 8px; background: rgba(13,30,49,.38);
  color: #91b5db; font: inherit; font-size: 12px; cursor: pointer; opacity: .9;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.about-link:hover, .about-link:focus-visible {
  color: #d2e5f8; background: rgba(22,46,72,.7); border-color: rgba(133,183,235,.3); transform: translateY(-1px);
}
.about-link:focus-visible { outline: 2px solid rgba(133,183,235,.72); outline-offset: 3px; }
.about-popup {
  position: absolute; left: 50%; bottom: calc(100% + 4px); z-index: 3;
  width: min(360px, calc(100vw - 36px)); padding: 15px 17px;
  border: 0; border-radius: 12px; background: rgba(18,37,59,.96);
  box-shadow: 0 15px 38px rgba(0,0,0,.36), inset 0 1px rgba(210,231,250,.06);
  color: #c5d9ed; text-align: left; pointer-events: none; visibility: hidden; opacity: 0;
  transform: translate(-50%, 7px) scale(.985); transform-origin: 50% 100%;
  transition: opacity .18s ease, transform .22s cubic-bezier(.16,1,.3,1), visibility .18s;
}
.about-popup::after {
  content: ''; position: absolute; left: calc(50% - 5px); bottom: -5px; width: 10px; height: 10px;
  background: rgba(18,37,59,.96); transform: rotate(45deg);
}
.about-popup p { margin: 0; font-size: 12px; line-height: 1.55; }
.about-popup .about-popup-note { margin-top: 8px; color: #8fb3dd; font-size: 11px; }
.about-wrap:hover .about-popup, .about-wrap:focus-within .about-popup {
  visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1);
}

/* Upload motion follows one path: selected files, progress, then a calm success state. */
.dropzone.has-selection { border-color: rgba(82,155,220,.58); background-color: rgba(20,40,70,.34); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.folder-hint:empty { display: none; }
.dropzone p.folder-hint { margin: 9px 0 0; color: #e4b8a8; font-size: 11px; line-height: 1.45; }
#folderHint:not(:empty) { animation: status-in .3s ease both; }
.file-row { animation-duration: .3s; }
#limitNote:not(.hidden) { animation: status-in .32s cubic-bezier(.16,1,.3,1) both; }
@keyframes status-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.progress-wrap {
  padding: 16px 18px 13px; border-radius: 12px; text-align: left;
  background: linear-gradient(145deg, rgba(22,45,73,.72), rgba(10,24,42,.76));
  border: 1px solid rgba(117,167,218,.2);
  box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 1px rgba(210,231,250,.07);
  backdrop-filter: blur(14px);
}
#progressWrap:not(.hidden) { animation: progress-arrive .32s cubic-bezier(.16,1,.3,1) both; }
#progressWrap.is-leaving { animation: progress-leave .22s ease-in both; pointer-events: none; }
@keyframes progress-arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progress-leave { to { opacity: 0; transform: translateY(-4px); } }
.progress-bar-track { height: 5px; background: rgba(203,224,244,.1); border-radius: 999px; }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #bd7439 0%, #e7c46b 58%, #ffd08a 100%); box-shadow: 0 0 12px rgba(231,164,82,.4); }
.upload-status-slot { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; align-self: stretch; }
.upload-status-slot > #progressWrap, .upload-status-slot > #resultCard { grid-area: 1 / 1; align-self: start; width: 100%; }
.upload-status-slot > #progressWrap { z-index: 1; }
.upload-status-slot > #resultCard { z-index: 2; }
.progress-label { margin: 10px 0 0; color: #aac8e5; text-align: left; font-size: 12px; letter-spacing: .01em; text-transform: none; }
.cancel-btn { width: auto; margin-top: 9px; padding: 3px 0; border: 0; background: none; color: #799bbc; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.cancel-btn:hover { color: #d1e5f7; }
.send-btn.is-sending { filter: saturate(.82); opacity: .84; cursor: progress; }
.result-card {
  position: relative; isolation: isolate; overflow: hidden; text-align: left;
  padding: 20px 20px 17px; border: 1px solid rgba(117,167,218,.24); border-radius: 15px;
  background: linear-gradient(145deg, rgba(22,45,73,.78), rgba(10,24,42,.82));
  box-shadow: 0 16px 38px rgba(0,0,0,.28), inset 0 1px rgba(210,231,250,.08);
  backdrop-filter: blur(16px);
}
.result-card::before {
  content: ''; position: absolute; z-index: -1; top: -85px; left: 16%; width: 68%; height: 125px;
  border-radius: 50%; background: rgba(62,137,202,.15); filter: blur(32px); pointer-events: none;
}
#resultCard:not(.hidden) { animation: result-arrive .6s cubic-bezier(.16,1,.3,1) both; }
#resultCard.is-leaving { animation: result-leave .24s ease-in both; pointer-events: none; }
#resultCard.is-pending-reveal { visibility: hidden; opacity: 0; transform: none; filter: none; animation: none !important; }
#resultCard.is-pending-reveal > * { animation: none !important; }
@keyframes result-arrive {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes result-leave { to { opacity: 0; transform: translateY(-5px) scale(.99); filter: blur(2px); } }
.result-heading { display: flex; align-items: center; gap: 11px; margin: 0 0 16px; }
.result-check { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; color: #c2e4ff; background: rgba(65,143,204,.18); box-shadow: inset 0 0 0 1px rgba(139,193,234,.2); }
.result-check svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.result-title { margin: 0; color: #e0edf9; font-size: 15px; font-weight: 550; letter-spacing: .005em; }
.result-link-row { align-items: stretch; gap: 9px; }
.result-link { min-width: 0; background: rgba(3,10,19,.46); border-color: rgba(133,183,235,.17); }
.result-actions { display: flex; gap: 8px; }
.result-actions .qr-btn { flex: 1; width: auto; margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 12px; }
.result-card .copy-btn, .result-card .qr-btn { transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease; }
.result-card .copy-btn:hover, .result-card .qr-btn:hover { transform: translateY(-1px); color: #e8f3fc; border-color: rgba(133,183,235,.45); background: rgba(55,138,221,.12); }
.result-card > * { animation: result-detail-in .36s cubic-bezier(.16,1,.3,1) both; }
.result-card > :nth-child(1) { animation-delay: .07s; }
.result-card > :nth-child(2) { animation-delay: .11s; }
.result-card > :nth-child(3) { animation-delay: .15s; }
.result-card > :nth-child(6) { animation-delay: .19s; }
.result-card > :nth-child(7) { animation-delay: .22s; }
@keyframes result-detail-in { from { opacity: 0; } to { opacity: 1; } }
.wordmark { position: relative; display: inline-block; }
.wordmark-link { padding-right: 30px; }
.wordmark-tag {
  position: absolute; top: -.48em; right: -.78em; z-index: 2;
  display: inline-block; margin: 0; line-height: 1; vertical-align: baseline;
  transform: none; white-space: nowrap;
}
.wordmark-tag.glitch { animation: v3-glitch .68s steps(1,end) both; }
@keyframes v3-glitch {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 7px rgba(231,196,107,.34)); }
  12% { opacity: .68; filter: brightness(1.8) drop-shadow(0 0 12px rgba(114,220,255,.72)); }
  28% { opacity: 1; filter: brightness(1.32) drop-shadow(0 0 10px rgba(231,196,107,.85)); }
  46% { opacity: .76; filter: brightness(2) drop-shadow(0 0 12px rgba(114,220,255,.7)); }
  64% { opacity: 1; filter: brightness(1.5) drop-shadow(0 0 10px rgba(255,207,111,.9)); }
  78% { opacity: .82; filter: brightness(1.6) drop-shadow(0 0 9px rgba(231,196,107,.65)); }
}
.page.shake-settling, #starfield.shake-settling { transition: transform .32s ease-out; }
html { scrollbar-gutter: stable; }
html, body { overflow-x: clip; }
.roadster-flight {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: clamp(125px, 23vw, 250px); aspect-ratio: 2016 / 780;
  pointer-events: none; visibility: hidden; opacity: 0; perspective: 900px; transform: translate(-50%,-50%);
}
.roadster-model { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.roadster-flight img { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; opacity: .84; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-drag: none; cursor: grab; }
.roadster-flight.is-dragging img { cursor: grabbing; }
.roadster-flight.is-dragging .roadster-model { animation-play-state: paused; }
.roadster-flight.is-dragging .roadster-jet, .roadster-flight.is-dragging .roadster-side-jet { opacity: 0 !important; animation: none !important; }
.roadster-flight.is-flying { visibility: visible; will-change: transform, opacity, left, top; }
.roadster-flight.is-flying .roadster-model { animation: roadster-wobble 2.6s ease-in-out infinite; transform-origin: 52% 54%; }
.roadster-jet {
  position: absolute; z-index: 0; top: 73%; width: 2.6%; height: 56%;
  border-radius: 50% 50% 65% 65%; transform: scaleY(.32) scaleX(.72); transform-origin: 50% 0;
  opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(234,251,255,.98), rgba(139,216,255,.74) 17%, rgba(89,173,255,.28) 58%, rgba(56,137,255,.04) 100%);
  filter: blur(.8px) drop-shadow(0 0 6px rgba(115,198,255,.9));
  transition: opacity .34s ease, transform .42s ease;
}
.roadster-jet.is-on { opacity: .96; transform: scaleY(1) scaleX(1); animation: ion-pulse .58s ease-in-out infinite alternate; }
.roadster-jet--a { left: 35%; }
.roadster-jet--b { left: 44%; top: 75%; height: 53%; }
.roadster-jet--c { left: 73%; top: 74%; height: 55%; }
.roadster-jet--d { left: 88%; top: 75%; height: 53%; }
.roadster-side-jet {
  position: absolute; z-index: 2; left: 97.4%; top: 55.5%; width: 32%; height: 3.2%;
  border-radius: 50%; transform: scaleX(.12); transform-origin: 0 50%; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(234,251,255,.98), rgba(139,216,255,.76) 20%, rgba(89,173,255,.3) 62%, rgba(56,137,255,.02) 100%);
  filter: blur(.8px) drop-shadow(0 0 6px rgba(115,198,255,.9));
  transition: opacity .28s ease, transform .38s ease;
}
.roadster-side-jet.is-on { opacity: .96; transform: scaleX(1); animation: ion-pulse .58s ease-in-out infinite alternate; }
.roadster-flight.is-distant .roadster-jet.is-on,
.roadster-flight.is-distant .roadster-side-jet.is-on { opacity: .42; animation: none; filter: blur(1.3px) drop-shadow(0 0 3px rgba(115,198,255,.48)); }
.roadster-flight.is-vanishing .roadster-jet.is-on { opacity: 0; animation: none; transform: scaleY(.32) scaleX(.72); }
.roadster-flight.is-vanishing .roadster-side-jet.is-on { opacity: 0; animation: none; transform: scaleX(.12); }
.roadster-mist {
  position: absolute; z-index: 3; inset: -18% -12%; pointer-events: none; opacity: 0;
  border-radius: 42% 58% 51% 49% / 53% 45% 55% 47%;
  background: radial-gradient(ellipse 83% 82% at 50% 50%, rgba(2,8,16,.99) 0%, rgba(2,8,16,.98) 57%, rgba(2,8,16,.78) 72%, rgba(2,8,16,.38) 85%, rgba(2,8,16,0) 100%);
  filter: blur(20px); transform: scale(.78); transform-origin: center;
}
@keyframes roadster-wobble {
  0%, 100% {
    transform: translateY(var(--roadster-wobble-y-start,-2px)) rotateZ(var(--roadster-wobble-roll-start,-1.6deg)) rotateY(var(--roadster-wobble-yaw-start,-5deg));
  }
  50% {
    transform: translateY(var(--roadster-wobble-y-end,3px)) rotateZ(var(--roadster-wobble-roll-end,2.3deg)) rotateY(var(--roadster-wobble-yaw-end,6deg));
  }
}
@keyframes ion-pulse {
  from { opacity: .58; filter: blur(1px) drop-shadow(0 0 3px rgba(115,198,255,.65)); }
  to { opacity: 1; filter: blur(.7px) drop-shadow(0 0 7px rgba(151,221,255,.96)); }
}
@media (prefers-reduced-motion: reduce) { .roadster-flight, .roadster-flight.is-flying { display: none; animation: none !important; } }
@media (max-width: 520px) {
  .page { padding-top: 2.8rem; }
  .result-card { padding: 17px 15px 15px; }
  .result-link { padding: 9px 10px; font-size: 11px; }
  .result-card .copy-btn { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mist-field { animation: none; }
  .about-popup, .about-link, .progress-wrap, .result-card, .result-card > *, .file-row, #limitNote:not(.hidden), .wordmark-tag.glitch { animation: none !important; transition-duration: .01ms !important; }
  .page > .send-btn { transition-duration: .28s; }
  .progress-bar { transition-duration: .01ms; }
  .wordmark-tag.glitch { animation: v3-glitch-reduced .34s steps(2,end) both !important; }
  @keyframes v3-glitch-reduced {
    0%, 100% { filter: brightness(1); text-shadow: none; }
    35% { filter: brightness(1.42); text-shadow: 0 0 8px rgba(114,220,255,.82); }
    68% { filter: brightness(1.18); text-shadow: 0 0 5px rgba(245,215,122,.8); }
  }
}


/* Shared V3 motion for download previews and admin transfer cards. */
.media-card {
  transition: transform .34s cubic-bezier(.2,.75,.25,1), border-color .34s ease, box-shadow .34s ease;
}
.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(133,183,235,.42);
  box-shadow: 0 9px 28px rgba(20,60,120,.34);
}
.admin-card { animation: admin-card-enter .48s cubic-bezier(.16,1,.3,1) both; }
.admin-card:nth-child(2) { animation-delay: .035s; }
.admin-card:nth-child(3) { animation-delay: .07s; }
.admin-card:nth-child(4) { animation-delay: .105s; }
@keyframes admin-card-enter {
  from { opacity: 0; transform: translateY(9px) scale(.99); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.download-icon { transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease; }
.download-icon:hover { transform: translateY(-1px); box-shadow: 0 0 13px rgba(92,169,242,.18); }
@media (prefers-reduced-motion: reduce) {
  .media-card, .admin-card, .download-icon { animation: none !important; transition-duration: .01ms !important; }
}

