/* soft.css - the last stylesheet: no hard edges anywhere (owner, 2026-10-21: "no stiff buttons or frames").
   Even rounded corners on computers and phones, round floating buttons on photos, pill tags and toasts,
   soft cards instead of dashed boxes. Chat bubbles keep their small tail on purpose.
   Rollback: remove its <link> (the tail corners in the other files were evened out in place). */

/* Page-open animations must not leave a transform behind: with fill-mode "both" the browser keeps
   "translateY(0)" after the end, which pins every position:fixed child (the profile save bar, bottom bars)
   to the page instead of the screen. "backwards" still starts hidden and then lets the transform go. */
/* #view.vin too: its "both" fill left a transform on #view, so the phone profile save bar scrolled with the page */
#root.pg, #view.vin, #view.mv-in > *, #adm-view.fade { animation-fill-mode: backwards !important; }

/* buttons: real rounded corners instead of a clipped shape, so shadows and focus rings are not cut off */
.btn, .btn.sm, .btn.ghost, .btn.danger { clip-path: none !important; border-radius: 14px; }
.btn.sm { border-radius: 12px; }

/* photo tiles (Profile): remove and crop as round frosted buttons, the "Main photo" tag as a pill */
.slot .x, .slot .cr {
  display: grid !important; place-items: center; width: 34px !important; height: 34px !important; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important; background: rgba(20, 18, 31, .5) !important; color: #fff !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(20, 18, 31, .25);
  font-size: 18px !important; line-height: 1 !important; transition: transform .2s cubic-bezier(.22, 1.2, .36, 1), background .2s;
}
.slot .x:hover, .slot .cr:hover { background: rgba(20, 18, 31, .72) !important; }
.slot .x:active, .slot .cr:active { transform: scale(.9); }
.slot .cr svg { width: 16px !important; height: 16px !important; }
.slot .main {
  padding: 3px 10px !important; border-radius: 999px !important; font: 700 11px/1.5 var(--font-b) !important;
  letter-spacing: 0 !important; text-transform: none !important; box-shadow: 0 2px 8px rgba(20, 18, 31, .2);
}
.pf .slot, .slot { border-radius: 18px !important; clip-path: none !important; }
.pf .slot.add { border: 0 !important; background: var(--s2) !important; transition: background .2s, transform .2s; }
.pf .slot.add:hover { background: var(--s3) !important; }

/* toasts: a floating pill */
.toast { border-radius: 999px !important; padding: 12px 22px !important; box-shadow: 0 10px 30px rgba(20, 18, 31, .25) !important; }

/* soft cards instead of dashed boxes */
.pf .pf-acct { border: 0 !important; background: var(--s1) !important; box-shadow: var(--sh1); }
#view .adp-prof { border: 0 !important; border-radius: 20px !important; background: var(--s1); box-shadow: var(--sh1); }
.chip.lk { border: 1.5px solid var(--line) !important; }

/* inputs and selects: evenly rounded everywhere */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea { border-radius: 14px !important; }

/* small tags and chips */
.chip, .chip.tg, .tier-badge, .tagn, .ub, .gb, .rk, .dist { border-radius: 999px !important; clip-path: none !important; }

/* cards and panels on computers too */
.panel, .stat, .tw, .pm-card, .mc2, .modal, .ddm, .language-menu { clip-path: none !important; }
.panel, .stat, .tw, .pm-card { border-radius: 20px !important; }
.mc2 { border-radius: 18px !important; }
.modal { border-radius: 24px !important; }
.ddm, .language-menu { border-radius: 16px !important; }
.card { clip-path: none !important; }
@media (min-width: 900px) { .card { border-radius: 24px !important; } }
/* end of soft.css */
