/* Fotos und Videos senden + Empfänger-Galerie */
.snd-main { max-width: 900px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.bad { color: var(--danger); }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }

.snd-drop { display: grid; justify-items: center; gap: 6px; padding: 34px 16px; border: 2px dashed var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.snd-drop:hover, .snd-drop:focus-visible, .snd-drop.over { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.snd-drop-ic { font-size: 2.4rem; }
.snd-drop b { font-size: 1.1rem; }
.snd-sum { margin: 14px 0 8px; font-weight: 600; }

.snd-grid, .rcv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.rcv-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.snd-tile, .rcv-tile { position: relative; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--accent-soft); border: 0; padding: 0; }
.rcv-tile { cursor: zoom-in; }
.snd-tile img, .rcv-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcv-tile:hover img { transform: scale(1.04); transition: transform .2s; }
.snd-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2rem; }
.snd-badge { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.6); color: #fff; border-radius: var(--r-pill); width: 26px; height: 26px; display: grid; place-items: center; font-size: .75rem; }
.snd-size { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; padding: 1px 6px; border-radius: 6px; }
.snd-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0; border-radius: var(--r-pill); background: rgba(0,0,0,.6); color: #fff; border: 0; font-size: .8rem; }

.snd-opts { margin-top: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.snd-opts h3 { margin: 0 0 10px; font-size: 1rem; }
.snd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.snd-chips .chip { padding: 7px 12px; border-radius: var(--r-pill); font-size: .9rem; }
.snd-chips .chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.snd-more { margin: 10px 0 14px; }
.snd-more summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.snd-field { display: grid; gap: 4px; margin: 10px 0; font-size: .9rem; }
.snd-field input { width: 100%; }
.snd-check { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-size: .92rem; }
.snd-go { width: 100%; padding: 14px; font-size: 1.05rem; }
.snd-tip { background: var(--accent-soft); border-radius: var(--r-m); padding: 10px 12px; font-size: .9rem; margin: 14px 0; }
.snd-login { background: var(--accent-soft); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.snd-login p { margin: 0 0 10px; }

.snd-uploading, .snd-done { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.snd-bar { height: 14px; border-radius: var(--r-pill); background: var(--border); overflow: hidden; }
.snd-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #22c55e); transition: width .3s; }
.snd-prog { font-weight: 600; }
.snd-share { margin-top: 12px; }
.snd-link input { width: 100%; font-size: 1rem; margin-bottom: 10px; }
.snd-qr { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 16px; }
.snd-qr svg { border-radius: var(--r-m); display: block; }

.snd-mine { margin-top: 28px; }
.snd-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-m); padding: 12px 14px; margin: 8px 0; }
.snd-item .snd-share { flex-basis: 100%; }

/* Empfänger */
.rcv-head { margin: 10px 0 16px; }
.rcv-head h1 { margin-bottom: 4px; }
.rcv-gone { text-align: center; padding: 30px 0; }
.rcv-gone .row { justify-content: center; }
.rcv-cta { display: grid; gap: 6px; justify-items: start; margin-top: 30px; padding: 16px; border-radius: var(--radius); background: var(--accent-soft); }
.rcv-lb { position: fixed; inset: 0; z-index: 100; background: rgba(8,10,16,.94); display: grid; grid-template-rows: 1fr auto; place-items: center; }
.rcv-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 48px 8px 8px; box-sizing: border-box; overflow: hidden; }
.rcv-stage img, .rcv-stage video { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 6px; }
.rcv-noprev { color: #fff; text-align: center; font-size: 3rem; }
.rcv-noprev p { font-size: 1rem; }
.rcv-lbbar { width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); color: #e5e7eb; background: rgba(0,0,0,.4); }
.rcv-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: var(--r-pill); padding: 0; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 1.1rem; }
.rcv-nav { position: absolute; top: 45%; z-index: 2; width: 46px; height: 64px; border-radius: var(--r-m); padding: 0; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2rem; }
.rcv-nav.prev { left: 8px; } .rcv-nav.next { right: 8px; }
@media (max-width: 600px) { .rcv-nav { display: none; } .rcv-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } }
.rcv-report { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 20px; width: min(460px, calc(100vw - 32px)); display: grid; gap: 10px; align-self: center; grid-row: 1 / span 2; }
.rcv-report h2 { margin: 0; }
.snd-drop-free { font-size: .86rem; font-weight: 600; color: var(--accent); }
details.snd-tip > summary { cursor: pointer; font-weight: 600; }
details.snd-tip p { margin: 8px 0 0; }
