/* ============================================================
   SMILE — the cookies + notifications card, and the in-app banner (js/notify.js)
   ============================================================ */
.cs { position: fixed; inset-inline: 10px; bottom: calc(var(--nav-h, 64px) + var(--safe-b, 0px) + 10px); z-index: 70; max-width: 460px; margin: 0 auto;
  transform: translateY(calc(100% + 120px)); opacity: 0; transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .3s; }
html:not(.phone) .cs { bottom: 24px; inset-inline-start: 24px; inset-inline-end: auto; width: 420px; margin: 0; }
.cs.show { transform: none; opacity: 1; }
.cs__in { position: relative; padding: 18px 16px 12px; border-radius: 24px; background: #FFFFFF; color: #141413; box-shadow: 0 24px 60px -16px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); display: grid; gap: 10px; }
.cs__art { position: absolute; top: -26px; inset-inline-end: 18px; display: flex; }
.cs__art i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #FFFFFF; box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.cs__art svg { width: 24px; height: 24px; fill: none; stroke: #141413; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cs__bell { background: #FFE45C; transform: rotate(-10deg); }
.cs__cookie { background: #F3F3F1; margin-inline-start: -12px; transform: rotate(8deg); }
.cs__t { margin: 0; font: 700 23px/1.4 var(--font-display); padding-inline-end: 96px; }
.cs__t mark { background: linear-gradient(transparent 16%, #FFE45C 16%, #FFE45C 88%, transparent 88%); color: inherit; padding: 0 .1em; }
.cs__p { margin: 0; font-size: 13.5px; line-height: 1.7; color: #45443F; }
.cs__rows { display: none; gap: 2px; border-top: 1px solid #E3E3DF; padding-top: 6px; }
.cs--open .cs__rows { display: grid; }
.cs__row { display: flex; align-items: center; gap: 12px; padding: 8px 2px; cursor: pointer; }
.cs__row > span { flex: 1; display: grid; gap: 1px; }
.cs__row b { font-size: 14px; }
.cs__row small { font-size: 12px; color: #77766F; }
.cs__note { margin: 0 2px 4px; font-size: 12px; color: #9A5B00; }
.cs__sw { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 46px; height: 28px; border-radius: 999px; background: #D9D9D5; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.cs__sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.cs__sw:checked { background: #141413; }
.cs__sw:checked::after { transform: translateX(-18px); }
[dir="ltr"] .cs__sw::after { right: auto; left: 3px; } [dir="ltr"] .cs__sw:checked::after { transform: translateX(18px); }
.cs__sw:disabled { opacity: .55; cursor: default; }
.cs__sw:focus-visible { outline: 2px solid #141413; outline-offset: 2px; }
.cs__acts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.cs__acts .btn { height: 48px; padding-inline: 12px; }
.cs__acts .btn--ink { background: #141413; color: #FFFFFF; }
.cs__more { justify-self: center; font-size: 12px; color: #77766F; text-decoration: underline; text-underline-offset: 3px; padding: 2px 8px; }

/* the line on top of the bell's list */
.nt-set { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 10px; padding: 12px 14px; border: 0; border-radius: 14px; background: #F3F3F1; color: #141413; font: inherit; font-size: 14px; cursor: pointer; }
.nt-set em { font-style: normal; font-weight: 800; font-size: 13px; background: #FFE45C; border-radius: 999px; padding: 6px 12px; }

/* the in-app banner: slides down like a phone notification, swipe up or wait 7 seconds */
.ntb { position: fixed; top: calc(8px + env(safe-area-inset-top, 0px)); left: 50%; z-index: 92; width: min(420px, calc(100vw - 16px)); display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; border-radius: 20px; text-align: start; cursor: pointer; font: inherit; color: #141413;
  background: rgba(255,255,255,.96); box-shadow: 0 18px 40px -12px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); transform: translate(-50%, calc(-100% - 30px)); transition: transform .42s cubic-bezier(.2,.9,.25,1.05); }
.ntb.show { transform: translate(-50%, 0); }
.nt__logo { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: #FFE45C; display: grid; place-items: center; font: 700 20px/1 var(--font-display); color: #141413; }
.ntb__tx { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ntb__tx small { font-size: 11px; color: #77766F; }
.ntb__tx b { font-size: 14px; }
.ntb__tx span { font-size: 13px; color: #45443F; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ntb img { width: 46px; height: 54px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) { .cs, .ntb, .cs__sw::after { transition: none; } }
