/* sorahub Transfer – Hochladen (/transfer), Download-Seite (/t/…), Anfordern (/r/…)
   Baut auf assets/site.css auf (Farben, Schriften, Buttons). */

/* ---------- /transfer: Kopfbereich ---------- */
.tr-hero { padding: 54px 0 90px; }
.tr-hero-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.tr-pitch .s-lead { margin-bottom: 22px; }
.tr-card {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 22px; min-width: 0;
}
@media (max-width: 960px) {
  .tr-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .tr-card { order: 2; }
  .tr-pitch { order: 1; }
  .tr-pitch .s-checks { display: none; }
}

/* ---------- Uploader ---------- */
.tu { position: relative; font-size: 15px; }
.tu-step { display: flex; flex-direction: column; gap: 12px; }
.tu-step[hidden] { display: none; }
.tu-center { align-items: center; text-align: center; padding: 18px 4px 6px; }

.tu-drop { position: relative; border-radius: 20px; border: 2px dashed var(--line-2); background: var(--surface-2); transition: border-color .15s, background .15s; }
.tu-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.tu-drop-main { display: flex; align-items: center; gap: 14px; padding: 18px; cursor: pointer; }
.tu-drop-ico { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-grad); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.tu-drop-text { display: flex; flex-direction: column; line-height: 1.3; }
.tu-drop-text b { font-size: 17px; }
.tu-drop-text small { color: var(--muted); font-size: 14px; }
.tu-drop.has-files .tu-drop-main { padding: 12px 14px; }
.tu-drop.has-files .tu-drop-ico { width: 38px; height: 38px; }
.tu-drop.has-files .tu-drop-text b { font-size: 15px; }

.tu-files { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.tu-files li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 7px 6px 7px 8px; border-radius: 12px; }
.tu-files li:hover { background: var(--surface-2); }
.tu-files .tu-fico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); overflow: hidden; }
.tu-files .tu-fico img { width: 100%; height: 100%; object-fit: cover; }
.tu-files .tu-fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.tu-files .tu-fsize { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.tu-files button { border: 0; background: none; color: var(--faint); cursor: pointer; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.tu-files button:hover { color: var(--text); background: var(--surface-2); }

.tu-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tu-meter b { color: var(--text); }
.tu-meter-bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.tu-meter-bar i { display: block; height: 100%; width: 0; background: var(--accent-grad); border-radius: 3px; transition: width .2s; }
.tu-meter.is-over .tu-meter-bar i { background: #e5484d; }
.tu-meter.is-over b { color: #e5484d; }

.tu-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.tu-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border: 0; border-radius: 11px; background: none; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.tu-seg button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.tu-field { display: flex; flex-direction: column; gap: 5px; }
.tu-field > span { font-weight: 600; font-size: 14px; }
.tu-field small { font-weight: 400; color: var(--faint); font-size: 12.5px; margin-left: 4px; }
.tu-field input, .tu-field textarea, .tu-field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 12px; min-width: 0;
}
.tu-field textarea { resize: vertical; min-height: 44px; }
.tu-field input:focus, .tu-field textarea:focus, .tu-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.tu-field.is-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 10px; }
.tu-field.is-locked { opacity: .6; }
.tu-badge { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; margin-left: 4px; vertical-align: 1px; }
.tu-as { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.tu-as svg { color: var(--good); }
.tu-tier { font-weight: 700; color: var(--accent-text); }

.tu-opts { border: 1px solid var(--line); border-radius: 14px; }
.tu-opts summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-weight: 600; font-size: 14px; }
.tu-opts summary::-webkit-details-marker { display: none; }
.tu-opts summary small { margin-left: auto; color: var(--muted); font-weight: 500; }
.tu-opts-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 14px 14px; }
.tu-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.tu-check[hidden] { display: none; }
.tu-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); }
.tu-check span { display: flex; flex-direction: column; }
.tu-check small { color: var(--muted); font-size: 13px; }
.tu-check.is-locked { opacity: .6; cursor: default; }

.tu-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #e5484d 12%, transparent); color: #c4282d; font-size: 14px; font-weight: 500; }
:root[data-theme="dark"] .tu-err { color: #ff8a8d; }
.tu-err a { color: inherit; font-weight: 700; }

.tu-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 75%, transparent); transition: transform .15s, opacity .15s;
}
.tu-step[data-step="select"] .tu-go { width: 100%; }
.tu-go:hover:not(:disabled) { transform: translateY(-1px); }
.tu-go:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.tu-fine { margin: 0; font-size: 12.5px; color: var(--faint); text-align: center; }
.tu-fine a { color: var(--accent-text); font-weight: 600; text-decoration: none; }

.tu-link { border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.tu-ghost { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; cursor: pointer; }
.tu-ghost:hover { background: var(--surface-2); }
.tu-h { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.tu-sub { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 34ch; font-variant-numeric: tabular-nums; }
.tu-sub b { color: var(--text); }

.tu-ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.tu-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.tu-ring circle { fill: none; stroke-width: 9; }
.tu-ring-bg { stroke: var(--surface-2); }
.tu-ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .3s; }
.tu-ring b { font-family: var(--display); font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.tu-big-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.tu-big-ico.is-good { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.tu-pin { width: 220px; text-align: center; font: 700 30px/1 var(--display); letter-spacing: .35em; padding: 12px 8px 12px 18px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--text); }
.tu-pin:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }

.tu-linkbox { display: flex; width: 100%; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface-2); }
.tu-linkbox input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--text); padding: 0 8px; }
.tu-copy { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--ink); color: var(--ink-text); font-weight: 700; font-size: 14px; cursor: pointer; }
.tu-done-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* Anzeige im Upload-Fenster */
.tu-promo { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tu-promo[hidden] { display: none; }
.tu-promo .tv-promo { padding: 18px; border-radius: 18px; box-shadow: none; }
.tu-promo .tv-promo h3 { font-size: 19px; }
.tu-promo .tv-promo p { font-size: 13.5px; margin-bottom: 12px; }
.tu-promo .tv-promo-img { width: calc(100% + 36px); margin: 0 -18px 14px; }

/* ---------- Tarif-Tabelle (/transfer) ---------- */
.tt-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tt { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tt th, .tt td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tt tbody th { text-align: left; font-weight: 600; }
.tt thead th { font-family: var(--display); font-size: 18px; }
.tt thead small { display: block; font-family: 'Inter', system-ui, sans-serif; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.tt tr:last-child th, .tt tr:last-child td { border-bottom: 0; }
.tt-yes { color: var(--good); display: inline-flex; }
.tt-no { color: var(--faint); display: inline-flex; }
.tt-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Download-Seite /t/… und Anfordern /r/… ---------- */
.tv-body { min-height: 100vh; display: flex; flex-direction: column; }
.tv-stage { position: relative; flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 34px 18px 60px; isolation: isolate; }
.tv-backdrop { position: absolute; inset: 0; z-index: -1; background: var(--tint-lav); overflow: hidden; }
.tv-backdrop.has-image::before { content: ""; position: absolute; inset: -40px; background: var(--tv-bg) center / cover no-repeat; filter: blur(38px) saturate(1.2); opacity: .55; }
.tv-backdrop.is-brand { background: color-mix(in srgb, var(--tv-accent) 16%, var(--bg)); }
.tv-layout { width: 100%; max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.tv-layout.is-solo { grid-template-columns: minmax(0, 720px); justify-content: center; }
.tv-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.tv-head { display: flex; gap: 14px; align-items: center; padding: 22px 24px 0; }
.tv-av { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: var(--tv-accent, var(--accent)); color: #fff; font: 800 22px/1 var(--display); }
.tv-av img { width: 100%; height: 100%; object-fit: cover; }
.tv-from { min-width: 0; }
.tv-from small { display: block; color: var(--muted); font-size: 13.5px; }
.tv-from b { display: block; font-size: 17px; overflow-wrap: anywhere; }
.tv-from a { color: inherit; text-decoration: none; }
.tv-from a:hover { text-decoration: underline; }
.tv-main { padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.tv-title { margin: 0; font-family: var(--display); font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.tv-msg { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); color: var(--text); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.tv-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tv-dl { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--tv-accent, var(--accent)); background-image: var(--tv-grad, var(--accent-grad)); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--tv-accent, var(--accent)) 80%, transparent); }
.tv-dl:hover { transform: translateY(-1px); }
.tv-hint { font-size: 13px; color: var(--muted); margin: 0; }
.tv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tv-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 40px; gap: 12px; align-items: center; padding: 10px 24px; border-bottom: 1px solid var(--line); }
.tv-list li:last-child { border-bottom: 0; }
.tv-ficon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.tv-ficon img { width: 100%; height: 100%; object-fit: cover; }
.tv-fname { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-fsize { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.tv-fdl { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text); text-decoration: none; }
.tv-fdl:hover { background: var(--surface-2); }

/* Galerie */
.tv-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 0 24px 24px; }
.tv-gal-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.tv-gal-item button.tv-open { all: unset; cursor: zoom-in; position: absolute; inset: 0; z-index: 1; }
.tv-gal-item button.tv-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 12px; }
.tv-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; pointer-events: none; }
.tv-gal-item:hover img { transform: scale(1.03); }
.tv-fav { position: absolute; z-index: 2; top: 7px; right: 7px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(0, 0, 0, .38); color: #fff; backdrop-filter: blur(6px); }
.tv-fav svg { fill: none; }
.tv-fav[aria-pressed="true"] { background: #e5484d; }
.tv-fav[aria-pressed="true"] svg { fill: currentColor; }
.tv-gal-item.is-file { display: grid; place-items: center; text-align: center; padding: 10px; font-size: 12.5px; color: var(--muted); }
.tv-pickbar { position: sticky; bottom: 14px; margin: 0 24px 20px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--ink-text); box-shadow: var(--shadow); }
.tv-pickbar[hidden] { display: none; }
.tv-pickbar b { font-variant-numeric: tabular-nums; }
.tv-pickbar button { margin-left: auto; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: #e5484d; color: #fff; font-weight: 700; cursor: pointer; }
.tv-lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 7, 14, .92); display: grid; grid-template-rows: auto 1fr auto; }
.tv-lb[hidden] { display: none; }
.tv-lb-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; font-size: 14px; }
.tv-lb-top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-lb-img { display: grid; place-items: center; min-height: 0; padding: 0 56px; }
.tv-lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.tv-lb-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; text-decoration: none; flex: none; }
.tv-lb-btn:hover { background: rgba(255, 255, 255, .22); }
.tv-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.tv-lb-nav.is-prev { left: 10px; }
.tv-lb-nav.is-next { right: 10px; }
.tv-lb-bar { display: flex; justify-content: center; gap: 10px; padding: 12px; }
.tv-lb-bar .tv-fav { position: static; width: auto; height: 42px; padding: 0 18px; border-radius: 999px; gap: 8px; display: inline-flex; align-items: center; font-weight: 700; }

/* Dialoge (Passwort, Auswahl senden, Melden) */
.tv-dialog { border: 0; border-radius: 22px; padding: 0; width: min(440px, calc(100% - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.tv-dialog::backdrop { background: rgba(10, 8, 20, .5); }
.tv-dialog form { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.tv-dialog h2 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.tv-dialog p { margin: 0; color: var(--muted); font-size: 14px; }
.tv-dialog-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Seitenleiste: Werbung (Free/Plus) bzw. Bio-Seite (ab Pro) */
.tv-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 20px; }
.tv-promo { position: relative; display: block; border-radius: var(--r-lg); padding: 22px; color: #fff; text-decoration: none; overflow: hidden; background: var(--accent-grad); box-shadow: var(--shadow); }
.tv-promo.is-mint { background: linear-gradient(140deg, #0f9b6c, #14b885 60%, #63d6a8); }
.tv-promo.is-ink { background: linear-gradient(150deg, #16141f, #2a2540 70%, #463c7a); }
.tv-promo-tag { display: inline-block; margin-bottom: 14px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.tv-promo h3 { margin: 0 0 8px; font-family: var(--display); font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.tv-promo p { margin: 0 0 16px; font-size: 14.5px; opacity: .88; }
.tv-promo span.tv-promo-cta { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: #16141f; font-weight: 700; font-size: 14px; }
.tv-promo-art { position: absolute; right: -20px; bottom: -24px; width: 120px; height: 120px; border-radius: 34px; background: rgba(255, 255, 255, .14); transform: rotate(18deg); }
.tv-promo-note { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
/* Partner-Anzeige (includes/ads.php): neutral, damit sie klar als Anzeige erkennbar ist */
.tv-promo.is-partner { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.tv-promo.is-partner .tv-promo-tag { background: var(--surface-2); color: var(--muted); }
.tv-promo.is-partner p { opacity: 1; color: var(--muted); }
.tv-promo.is-partner span.tv-promo-cta { background: var(--ink); color: var(--ink-text); }
.tv-promo-img { display: block; width: calc(100% + 44px); max-width: none; margin: 0 -22px 16px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.tv-promo h3, .tv-promo p { overflow-wrap: anywhere; }
.tv-bio { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tv-bio .tv-av { width: 76px; height: 76px; border-radius: 50%; font-size: 30px; }
.tv-bio b { font-size: 18px; }
.tv-bio a { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--tv-accent); color: #fff; font-weight: 700; text-decoration: none; font-size: 14.5px; }

.tv-state { padding: 46px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.tv-state p { margin: 0; color: var(--muted); max-width: 40ch; }
.tv-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 14px 18px 20px; font-size: 13px; color: var(--muted); }
.tv-foot a, .tv-foot button { color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tv-owner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 24px; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; font-weight: 600; }
.tv-owner button, .tv-owner a { margin-left: auto; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; }

@media (max-width: 900px) {
  .tv-layout { grid-template-columns: minmax(0, 1fr); }
  .tv-side { position: static; }
}
@media (max-width: 560px) {
  .tv-stage { padding: 16px 10px 40px; }
  .tv-head, .tv-main { padding-left: 18px; padding-right: 18px; }
  .tv-list li { padding: 10px 18px; grid-template-columns: 36px minmax(0, 1fr) 36px; }
  .tv-list li .tv-fsize { display: none; }
  .tv-gal { padding: 0 12px 18px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .tv-lb-img { padding: 0 8px; }
  .tu-field.is-row { grid-template-columns: 1fr; }
  .tr-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tu-go, .tv-dl, .tv-gal-item img, .tu-ring-fg { transition: none; }
}

/* ---------- /transfer: Landingpage ---------- */
.tr-hero-grid.is-landing { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.tr-hero-grid.is-landing .s-actions { margin-bottom: 26px; }
.tr-hero-grid.is-landing .s-btn svg { margin-right: 4px; }
.tr-mock { position: relative; padding: 10px 30px 60px 10px; }
.tr-mock-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; transform: rotate(-1.5deg); }
.tr-mock-drop { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 2px dashed var(--line-2); background: var(--surface-2); }
.tr-mock-drop b { display: block; font-size: 15px; }
.tr-mock-drop small { color: var(--muted); font-size: 13px; }
.tr-mock-drop .tu-drop-ico { width: 44px; height: 44px; }
.tr-mock-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-mock-files li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.tr-mock-files b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-mock-files small { color: var(--muted); font-variant-numeric: tabular-nums; }
.tr-mock-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.tr-mock-ico.is-v { background: color-mix(in srgb, #e5484d 14%, transparent); color: #e5484d; }
.tr-mock-ico.is-i { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); }
.tr-mock-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.tr-mock-bar i { display: block; width: 68%; height: 100%; background: var(--accent-grad); border-radius: 4px; }
.tr-mock-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.tr-mock-row b { color: var(--text); font-variant-numeric: tabular-nums; }
.tr-mock-done { position: absolute; right: 0; bottom: 8px; display: flex; gap: 10px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(2deg); }
.tr-mock-done > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.tr-mock-done b { display: block; font-size: 14px; }
.tr-mock-done small { color: var(--muted); font-size: 12.5px; }
.tr-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 44px; border-radius: var(--r-xl); background: var(--accent-grad); color: #fff; }
.tr-cta h2 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.tr-cta p { margin: 0; opacity: .88; }
.tr-cta .s-btn svg { margin-right: 4px; }
@media (max-width: 960px) {
  .tr-hero-grid.is-landing { grid-template-columns: 1fr; }
  .tr-mock { max-width: 480px; }
}

/* ---------- /transfer/senden: Upload-Seite mit grosser Werbeflaeche ---------- */
.tw { background: var(--tint-lav); }
.tw-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 26px; max-width: 1280px; margin: 0 auto; padding: 24px 20px 56px; box-sizing: border-box; }
.tw-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tw-card { align-self: stretch; order: 0 !important; }
.tw-legal { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.tw-legal a { color: inherit; }
.tw-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tw-stage { position: relative; display: block; flex: 1; min-height: 560px; border-radius: 32px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(150deg, #16141f, #2a2540 60%, #463c7a); box-shadow: var(--shadow); isolation: isolate; }
.tw-stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tw-stage.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 100%); }
a.tw-stage:hover .tw-stage-img { transform: scale(1.02); }
.tw-stage-tag { position: absolute; top: 18px; left: 18px; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .42); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tw-stage-text { position: absolute; left: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); bottom: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 640px; }
.tw-stage-text b { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.tw-stage-text > span:not(.tw-stage-cta):not(.tw-calm-facts) { font-size: clamp(15px, 1.3vw, 18px); opacity: .9; max-width: 52ch; overflow-wrap: anywhere; }
.tw-stage-cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; margin-top: 6px; border-radius: 999px; background: #fff; color: #16141f; font-weight: 700; font-size: 15.5px; }
.tw-stage.is-house { background: var(--accent-grad); }
.tw-stage-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tw-stage-art i { position: absolute; border-radius: 48px; background: rgba(255, 255, 255, .12); transform: rotate(18deg); }
.tw-stage-art i:nth-child(1) { width: 360px; height: 360px; right: -60px; top: -80px; }
.tw-stage-art i:nth-child(2) { width: 220px; height: 220px; right: 200px; top: 160px; background: rgba(255, 255, 255, .08); }
.tw-stage-art i:nth-child(3) { width: 140px; height: 140px; right: 60px; top: 330px; background: rgba(255, 255, 255, .16); }
.tw-stage.is-calm { background: color-mix(in srgb, var(--tv-accent, var(--accent)) 85%, #16141f); }
.tw-calm-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tw-calm-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13.5px; font-weight: 600; }
.tw-note { margin: 0; font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 960px) {
  .tw-grid { grid-template-columns: 1fr; min-height: 0; padding: 16px 14px 40px; }
  .tw-stage { min-height: 380px; border-radius: 26px; }
  .tw-note { text-align: center; }
}
@media (max-width: 560px) {
  .tw-stage { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .tw-stage-img { transition: none; } }
