/* up.chaimgr.com — עיצוב */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; }

:root {
  color-scheme: dark;
  --bg: #0b0b14;
  --bg-2: #11111d;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --surface-solid: #161624;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ecebf5;
  --muted: #a3a1b8;
  --accent: #a894ff;
  --primary: #6d4dff;
  --primary-2: #5b3df5;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --danger: #dc2626;
  --danger-text: #fca5a5;
  --success: #34d399;
  --ring: #c4b5fd;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.25);
  --glow: 0 10px 40px -10px rgba(109, 77, 255, 0.65);
  --radius: 22px;
  --radius-sm: 14px;
  --blob-1: rgba(109, 77, 255, 0.35);
  --blob-2: rgba(34, 211, 238, 0.22);
  --blob-3: rgba(244, 114, 182, 0.18);
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f5fb;
    --bg-2: #eeecf8;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-2: rgba(255, 255, 255, 0.95);
    --surface-solid: #ffffff;
    --border: rgba(23, 22, 42, 0.09);
    --border-strong: rgba(23, 22, 42, 0.2);
    --text: #17162a;
    --muted: #56546e;
    --accent: #5b3df5;
    --danger-text: #b91c1c;
    --success: #047857;
    --ring: #6d4dff;
    --shadow: 0 20px 50px -24px rgba(40, 30, 110, 0.28), 0 2px 6px rgba(40, 30, 110, 0.06);
    --blob-1: rgba(109, 77, 255, 0.2);
    --blob-2: rgba(34, 211, 238, 0.18);
    --blob-3: rgba(244, 114, 182, 0.14);
  }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 10px; }

a { color: var(--accent); }

/* ── רקע אורורה ───────────────────────────────────────────── */
.aurora {
  position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 20% 15%, var(--blob-1), transparent 60%),
    radial-gradient(35vmax 35vmax at 85% 20%, var(--blob-2), transparent 60%),
    radial-gradient(35vmax 35vmax at 60% 90%, var(--blob-3), transparent 60%);
  filter: blur(20px);
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(3vmax, -2vmax, 0) rotate(8deg); }
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* ── לוגו ─────────────────────────────────────────────────── */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; direction: ltr;
}
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 45%, var(--cyan) 110%);
  color: #fff; box-shadow: var(--glow);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-word { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; }
.brand-lg .brand-mark { width: 64px; height: 64px; border-radius: 20px; }
.brand-lg .brand-mark svg { width: 36px; height: 36px; }
.brand-lg .brand-word { font-size: 2.6rem; }
.brand-sm .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.brand-sm .brand-word { font-size: 1.3rem; }

.grad {
  background: linear-gradient(100deg, var(--accent), var(--cyan) 55%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── כפתורים ──────────────────────────────────────────────── */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 18px; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease, border-color .15s ease;
  white-space: nowrap; color: var(--text);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { --h: 36px; padding: 0 12px; font-size: 0.88rem; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 1.05rem; border-radius: 15px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: 0 14px 44px -8px rgba(109, 77, 255, 0.85); }
.btn-ghost { background: var(--surface-2); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn.danger:hover { color: var(--danger-text); border-color: color-mix(in srgb, var(--danger) 50%, transparent); }

kbd {
  font: inherit; font-size: .78em; font-weight: 600; padding: 1px 6px; border-radius: 6px;
  border: 1px solid var(--border-strong); background: var(--surface-2); direction: ltr; display: inline-block;
}

/* ── מסך PIN ──────────────────────────────────────────────── */
.lock { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.lock-card {
  width: min(420px, 100%); padding: 40px 28px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: rise .5s cubic-bezier(.2,.8,.2,1);
}
.lock-title { font-size: 1.35rem; margin: 18px 0 0; font-weight: 700; }
.lock-sub { margin: 0 0 8px; color: var(--muted); }
.pin-input {
  width: 100%; text-align: center; font: inherit; font-size: 2rem; letter-spacing: .5em;
  padding: 14px 16px 14px calc(16px + .5em); border-radius: 16px; background: var(--surface-2);
  border: 1.5px solid var(--border-strong); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.pin-input::placeholder { color: var(--muted); opacity: .6; }
.pin-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(109,77,255,.25); }
.form-error { min-height: 1.4em; margin: 0; color: var(--danger-text); font-weight: 500; font-size: .92rem; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ── מבנה ─────────────────────────────────────────────────── */
.app { max-width: 980px; margin: 0 auto; padding: 0 16px; padding-bottom: env(safe-area-inset-bottom); }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0; padding-top: max(18px, env(safe-area-inset-top));
}
.topbar-actions { display: flex; gap: 8px; align-items: center; }

.hero { text-align: center; padding: 22px 0 26px; }
.hero-title { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { color: var(--muted); margin: 10px 0 0; font-size: 1.05rem; }

/* ── Composer ─────────────────────────────────────────────── */
.composer { padding: 16px; animation: rise .5s cubic-bezier(.2,.8,.2,1); }
.composer-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }

.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: .95rem; background: transparent; border: 0; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s;
}
.tab[aria-selected="true"] { background: var(--surface-solid); color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,.18); }

.expiry { display: flex; align-items: center; gap: 10px; border: 0; margin: 0; padding: 0; }
.expiry-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; float: inline-start; padding: 0; }
.segmented { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  padding: 6px 14px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s;
}
.segmented input:checked + label { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.segmented input:focus-visible + label { outline: 3px solid var(--ring); outline-offset: 2px; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 40px 20px; border-radius: 18px; cursor: pointer; text-align: center;
  border: 2px dashed var(--border-strong); background: var(--surface);
  transition: border-color .2s, background .2s, transform .2s;
}
.dropzone:hover, .dropzone.over { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, transparent); }
#fileInput:focus-visible + .dropzone, .dropzone:has(+ #fileInput:focus-visible) { outline: 3px solid var(--ring); outline-offset: 3px; }
.dz-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; margin-bottom: 6px;
  background: linear-gradient(135deg, rgba(109,77,255,.22), rgba(34,211,238,.18)); color: var(--accent);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.dz-icon svg { width: 30px; height: 30px; }
.dropzone:hover .dz-icon { transform: translateY(-4px); }
.dz-title { font-weight: 600; font-size: 1.08rem; }
.dz-title u { text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.dz-sub { color: var(--muted); font-size: .88rem; }
@media (hover: none) { .kbd-hint { display: none; } }

.text-form textarea {
  width: 100%; min-height: 128px; resize: vertical; font: inherit; font-size: 1rem; line-height: 1.6;
  padding: 14px 16px; border-radius: 16px; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border-strong); transition: border-color .15s, box-shadow .15s;
}
.text-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(109,77,255,.22); }
.text-form-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 12px; }
.char-count { color: var(--muted); font-size: .85rem; }

/* העלאות פעילות */
.uploads { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.uploads:not(:empty) { margin-top: 14px; }
.upload {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border);
}
.upload-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; text-align: right; }
.upload-pct { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; }
.upload-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.upload-bar > span {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan)); transition: width .25s ease;
}
.upload.error .upload-pct { color: var(--danger-text); }
.upload.error .upload-bar > span { background: var(--danger); }

/* ── רשימת פריטים ─────────────────────────────────────────── */
.items-section { margin-top: 36px; }
.items-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.items-head h2 { font-size: 1.3rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.count {
  font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
}
.count:empty { display: none; }
.items-status { color: var(--muted); }
.items-status:empty { display: none; }

.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.item {
  display: flex; flex-direction: column; overflow: hidden;
  animation: rise .45s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .2s ease, border-color .2s ease;
}
.item:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.item.removing { opacity: 0; transform: scale(.95); transition: opacity .25s, transform .25s; }

.thumb {
  position: relative; display: grid; place-items: center; height: 148px; flex-shrink: 0; overflow: hidden; margin: 0;
  border: 0; padding: 0; width: 100%; font: inherit; color: inherit; cursor: default;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tint, var(--primary)) 22%, transparent), color-mix(in srgb, var(--tint, var(--primary)) 6%, transparent));
  border-bottom: 1px solid var(--border);
}
button.thumb { cursor: zoom-in; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
button.thumb:hover img { transform: scale(1.04); }
.thumb-icon { width: 58px; height: 58px; color: var(--tint, var(--accent)); opacity: .95; }
.thumb-text {
  align-self: stretch; justify-self: stretch; margin: 0; padding: 16px 18px; text-align: start;
  font-size: .92rem; line-height: 1.55; color: var(--text); white-space: pre-wrap; word-break: break-word;
  overflow: hidden; mask-image: linear-gradient(#000 65%, transparent);
}
.thumb-text.is-link { direction: ltr; text-align: left; color: var(--accent); font-weight: 500; display: grid; place-items: center; mask-image: none; }
.badge {
  position: absolute; inset-block-start: 10px; inset-inline-start: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; border-radius: 99px;
  background: rgba(10, 10, 20, .6); color: #fff; backdrop-filter: blur(8px); direction: ltr;
}

.item-body { padding: 14px 16px 6px; min-width: 0; }
.item-name { font-weight: 600; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; text-align: right; }
.item-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.item-meta span { display: inline-flex; align-items: center; gap: 4px; }
.item-meta .soon { color: #fbbf24; }
@media (prefers-color-scheme: light) { .item-meta .soon { color: #b45309; } }

.item-actions { display: flex; gap: 6px; padding: 10px 12px 14px; align-items: center; }
.item-actions .btn { flex: 1; }
.item-actions .icon-btn { width: 42px; height: 42px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { color: var(--text); margin: 16px 0 6px; font-size: 1.15rem; }
.empty p { margin: 0; }
.empty-art {
  display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(109,77,255,.2), rgba(34,211,238,.15)); color: var(--accent);
  animation: float 3.5s ease-in-out infinite;
}
.empty-art svg { width: 38px; height: 38px; }
@keyframes float { 50% { transform: translateY(-8px); } }

.skeleton { height: 250px; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; border: 1px solid var(--border); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.footer { text-align: center; color: var(--muted); font-size: .82rem; padding: 48px 0 28px; }

/* ── גרירה על כל המסך ─────────────────────────────────────── */
.drop-overlay {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s;
}
.drop-overlay.show { opacity: 1; }
.drop-overlay-inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 1.4rem; font-weight: 700;
  padding: 48px 64px; border-radius: 28px; border: 3px dashed var(--primary); background: var(--surface);
}
.drop-overlay-inner svg { width: 56px; height: 56px; color: var(--accent); }

/* ── דיאלוגים ─────────────────────────────────────────────── */
.modal {
  border: 0; padding: 0; background: transparent; color: var(--text); width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
}
.modal-wide { width: min(860px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(5, 5, 12, .6); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .25s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(8px); } }
.modal-card {
  position: relative; background: var(--surface-solid); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; text-align: center;
}
.modal-close { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; }
.modal-title { margin: 0; font-size: 1.2rem; padding-inline: 44px; overflow-wrap: anywhere; }
.modal-sub { margin: 0; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 120px; }

.qr-box {
  align-self: center; background: #fff; padding: 14px; border-radius: 18px; width: min(280px, 100%);
  aspect-ratio: 1; display: grid; place-items: center;
}
.qr-box svg { width: 100%; height: 100%; }
.link-row { display: flex; gap: 8px; }
.link-row input {
  flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: 0 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
}

.preview-body { max-height: min(70dvh, 640px); overflow: auto; border-radius: 14px; background: var(--bg-2); }
.preview-body img, .preview-body video { display: block; max-width: 100%; max-height: min(70dvh, 640px); margin: 0 auto; }
.preview-body pre {
  margin: 0; padding: 18px; text-align: start; white-space: pre-wrap; word-break: break-word;
  font-family: var(--font); font-size: .95rem; line-height: 1.7;
  unicode-bidi: plaintext;
}
.confirm-icon {
  align-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger-text);
}
.confirm-icon svg { width: 26px; height: 26px; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 150;
  transform: translate(-50%, 120px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 14px; font-weight: 600;
  background: var(--surface-solid); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { color: var(--success); }
.toast.error svg { color: var(--danger-text); }

/* ── דף שיתוף ציבורי ─────────────────────────────────────── */
.share-wrap {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 32px 16px;
}
.share-card {
  width: min(560px, 100%); padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: rise .5s cubic-bezier(.2,.8,.2,1);
}
.share-image { max-width: 100%; max-height: 52dvh; border-radius: 16px; display: block; margin-bottom: 8px; box-shadow: var(--shadow); }
.share-icon {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(109,77,255,.25), rgba(34,211,238,.18)); color: var(--accent);
}
.share-icon svg { width: 44px; height: 44px; }
.share-icon-muted { background: var(--surface-2); color: var(--muted); }
.share-text {
  width: 100%; max-height: 50dvh; overflow: auto; margin: 0 0 8px; padding: 18px; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--border); text-align: start; white-space: pre-wrap; word-break: break-word;
  font-family: var(--font); font-size: 1rem; line-height: 1.7;
  unicode-bidi: plaintext;
}
.share-title { margin: 4px 0 0; font-size: 1.35rem; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.share-meta { margin: 0; color: var(--muted); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; width: 100%; }
.share-actions .btn { flex: 1 1 180px; }
.share-foot { color: var(--muted); font-size: .85rem; margin: 0; }
.share-body audio { width: 100%; margin-bottom: 8px; }

/* ── מובייל ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .composer-head { flex-direction: column; align-items: stretch; }
  .tabs { display: flex; }
  .tab { flex: 1; justify-content: center; }
  .expiry { justify-content: space-between; }
  .segmented { flex: 1; max-width: 260px; }
  .segmented label { flex: 1; text-align: center; padding-inline: 8px; }
  .dropzone { padding: 30px 16px; }
  .items { grid-template-columns: 1fr; }
  #installBtn span { display: none; }
  .hero { padding: 8px 0 20px; }
}

/* ── הפחתת תנועה ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
