:root { --site-wallpaper: url('/assets/odesa.jpg'); }
body::before { background: linear-gradient(180deg,#07102135,#07102116 48%,#07102165), var(--site-wallpaper) center/cover no-repeat !important; }
html:root body.smile-telegram-shell, html:root.smile-embedded body.smile-telegram-shell {
  background: #10191f var(--site-wallpaper) center/cover fixed no-repeat !important;
}
body.smile-telegram-shell::before { background: rgba(5,12,10,.12) !important; }
.wallpaper-preview { display: block; width: 100%; aspect-ratio: 16/9; max-height: 280px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); margin: 16px 0; }
.wallpaper-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wallpaper-upload { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 12px; background: rgba(var(--theme-rgb),.12); cursor: pointer; }
#wallpaperFile { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; border: 0; }
.wallpaper-actions:has(#wallpaperFile:focus-visible) .wallpaper-upload { outline: 3px solid var(--accent); outline-offset: 3px; }
.wallpaper-upload:hover { background: rgba(var(--theme-rgb),.22); }
@media(max-width:1000px) { .wallpaper-actions > label, .wallpaper-actions > button { flex: 1 1 140px; } }
