/* App shell, tabs, search, souvenirs, scrubber, grid, lightbox, selection bar */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#0d0d0d;
  --bg2:#1c1c1c;
  --text:#ffffff;
  --muted:rgba(255,255,255,0.5);
  --accent:#FFFC00;
  --gap:2px;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
}

html,body{
  height:100%;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,'SF Pro Text','Inter','Helvetica Neue',sans-serif;
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ── App shell ── */
#app{
  height:100vh;
  max-width:600px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  position:relative;
}

/* ── Tabs ── */
.tabs{
  position:relative;
  background:rgba(13,13,13,0.92);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  padding-top:max(14px,var(--safe-top));
  flex-shrink:0;
  z-index:50;
}
.tabs-row{
  display:flex;
  position:relative;
  align-items:center;
}
.refresh-btn{
  flex-shrink:0;
  width:34px;height:34px;
  margin-right:6px;margin-bottom:10px;
  border:none;background:none;
  color:rgba(255,255,255,0.45);
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  transition:color 200ms,background 200ms;
  -webkit-tap-highlight-color:transparent;
}
.refresh-btn:hover{color:#fff;background:rgba(255,255,255,0.1)}
.refresh-btn.spinning svg{animation:spin 0.7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.tab{
  flex:1;
  text-align:center;
  padding:0 4px 12px;
  font-size:14px;
  font-weight:500;
  color:rgba(255,255,255,0.42);
  cursor:pointer;
  transition:color 250ms ease;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
  letter-spacing:-0.01em;
  white-space:nowrap;
}
.tab.active{color:#fff}
@media(max-width:520px){.tab{font-size:12.5px;padding:0 2px 12px}}
.tab-indicator{
  position:absolute;
  bottom:0;
  height:2px;
  background:#fff;
  border-radius:1px 1px 0 0;
  transition:transform 300ms cubic-bezier(0.4,0,0.2,1),
             width 300ms cubic-bezier(0.4,0,0.2,1);
  transform-origin:left center;
  pointer-events:none;
}
/* one-line description of the active tab — shown only in the web demo */
#tab-caption{display:none}
#app.demo #tab-caption{display:block;padding:9px 16px 3px;font-size:12.5px;
  color:rgba(255,255,255,0.55);text-align:center;line-height:1.45;background:var(--bg)}

/* ── Mes Souvenirs: Souvenirs | Stats switch (pill = .ch-seg, css/chats.css) ── */
.mem-seg{display:flex;justify-content:center;padding:8px 14px 6px;background:var(--bg);flex-shrink:0}

/* ── Search (Chat Media only; memories navigate via the scrubber) ── */
.search-wrap{
  padding:8px 14px 10px;
  background:var(--bg);
  flex-shrink:0;
}
.search-inner{
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.11);
  border-radius:999px;
  height:38px;
  padding:0 14px;
  transition:background 180ms ease;
}
.search-inner:focus-within{background:rgba(255,255,255,0.18)}
.search-icon{color:rgba(255,255,255,0.55);flex-shrink:0}
.search-inner input{
  flex:1;
  background:none;
  border:none;
  outline:none;
  color:#fff;
  font-size:14px;
  font-family:inherit;
}
.search-inner input::placeholder{color:rgba(255,255,255,0.42)}

/* ── Souvenirs carousel (flashbacks / voyages / au hasard / rétro) ── */
.souvenirs{
  display:flex;
  gap:11px;
  padding:4px 14px 14px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
.souvenirs[hidden]{display:none}
.souvenirs::-webkit-scrollbar{display:none}
.souv-card{
  position:relative;
  flex-shrink:0;
  width:150px;
  height:196px;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
  scroll-snap-align:start;
  background:rgba(255,255,255,0.06);
  -webkit-tap-highlight-color:transparent;
  transition:transform 140ms ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.35);
}
.souv-card:active{transform:scale(0.96)}
.souv-card img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.souv-card .souv-grad{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.82) 0%,rgba(0,0,0,0.25) 45%,rgba(0,0,0,0.05) 100%);
}
.souv-kind{
  position:absolute;top:9px;left:9px;
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(0,0,0,0.42);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:10.5px;font-weight:700;letter-spacing:0.01em;
  text-transform:uppercase;
}
.souv-txt{
  position:absolute;left:11px;right:11px;bottom:11px;
  color:#fff;
}
.souv-title{font-size:15px;font-weight:700;line-height:1.15;letter-spacing:-0.01em}
.souv-sub{margin-top:3px;font-size:11.5px;font-weight:500;color:rgba(255,255,255,0.82)}
.souv-reroll{
  position:absolute;top:7px;right:7px;
  width:28px;height:28px;
  display:flex;align-items:center;justify-content:center;
  border:none;border-radius:999px;
  background:rgba(0,0,0,0.42);backdrop-filter:blur(6px);
  color:#fff;font-size:15px;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.souv-reroll:active{transform:rotate(-40deg)}

/* ── Timeline scrubber (replaces the year/month chips) ── */
.scrubber{
  position:fixed;
  right:2px;
  width:30px;
  z-index:350;
  display:flex;flex-direction:column;align-items:stretch;
  justify-content:space-between;
  padding:4px 0;
  touch-action:none;
  opacity:0;
  transition:opacity 180ms ease;
}
.scrubber[hidden]{display:none}
.scrubber.ready{opacity:0.55}
.scrubber:hover,.scrubber.dragging{opacity:1}
.scrubber .sc-seg{
  flex:1;min-height:0;
  display:flex;flex-direction:column;align-items:flex-end;
  padding-right:5px;
  cursor:pointer;user-select:none;
  -webkit-tap-highlight-color:transparent;
}
.scrubber .sc-year{
  color:rgba(255,255,255,0.65);
  font-size:10px;font-weight:700;letter-spacing:0.02em;line-height:1;
}
.scrubber .sc-dots{
  flex:1;min-height:0;margin-top:2px;padding-right:2px;
  display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;
}
.scrubber .sc-dot{
  width:3px;height:3px;border-radius:50%;flex:none;
  background:rgba(255,255,255,0.16);
}
.scrubber .sc-dot.on{background:rgba(255,255,255,0.5)}
.scrubber .sc-dot.cur{background:var(--accent)}
.sc-bubble{
  position:fixed;
  right:40px;
  padding:7px 13px;
  border-radius:12px;
  background:var(--accent);
  color:#111;
  font-size:13px;font-weight:700;
  white-space:nowrap;
  transform:translateY(-50%);
  pointer-events:none;
  box-shadow:0 6px 18px rgba(0,0,0,0.4);
  opacity:0;transition:opacity 120ms ease;
  z-index:360;
}
.sc-bubble.show{opacity:1}

/* ── Scrollable content ── */
.content{
  flex:1;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.content::-webkit-scrollbar{width:0}

/* ── Date groups ── */
.date-label{
  padding:7px 12px 4px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.065em;
  color:rgba(255,255,255,0.65);
  text-transform:uppercase;
  position:sticky;
  top:0;
  background:rgba(13,13,13,0.88);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:5;
}

/* ── Media grid ── */
.media-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--gap);
  padding:0 var(--gap) var(--gap);
}

/* Day-groups are virtualized in JS (see virtualize()): only grids near the
   viewport hold their cells; the rest are empty with a reserved min-height, so
   the DOM stays small (hundreds of nodes, not 20k+) and scrolling is native. */

.media-cell{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:var(--bg2);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform 120ms ease,outline 100ms ease;
  outline:2.5px solid transparent;
  outline-offset:-2.5px;
}
.media-cell.selected{outline-color:#fff}
.media-cell.tap-flash{transform:scale(0.96) translateY(0)!important}

.media-cell img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.cell-by{position:absolute;left:0;right:0;bottom:0;padding:16px 7px 5px;pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.72),transparent);display:flex;flex-direction:column;
  font-size:10.5px;line-height:1.25;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.cell-by b,.cell-by span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cell-by b{font-weight:700}
.cell-by span{color:rgba(255,255,255,.72);font-size:10px}
.audio-cell .cell-by{background:linear-gradient(to top,rgba(0,0,0,.35),transparent)}
.video-badge{
  position:absolute;
  bottom:6px;right:7px;
  pointer-events:none;
  display:flex;align-items:center;gap:3px;
  font-size:11px;font-weight:700;line-height:1;color:#fff;font-variant-numeric:tabular-nums;
  text-shadow:0 1px 3px rgba(0,0,0,.85);
}
.video-badge svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.has-dur .cell-by{padding-right:46px}   /* sender name stops before the duration */
.audio-cell{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#5b57d6,#8a56d6);
}
.audio-cell .audio-icon{
  width:42%;height:42%;color:rgba(255,255,255,0.92);
}
.audio-player{
  display:flex;flex-direction:column;align-items:center;gap:22px;
  padding:26px;
}
.audio-player .audio-icon{
  width:84px;height:84px;color:#fff;opacity:0.92;
}
.check-circle{
  position:absolute;
  top:7px;right:7px;
  width:22px;height:22px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,0.75);
  background:rgba(0,0,0,0.25);
  display:flex;align-items:center;justify-content:center;
  opacity:0;
  transition:opacity 150ms,background 150ms,border-color 150ms;
  pointer-events:none;
}
.selecting .check-circle{opacity:1}
.media-cell.selected .check-circle{background:#fff;border-color:#fff}

/* ── Lightbox ── */
#lightbox{
  position:fixed;inset:0;
  z-index:999;
  background:#000;
  display:none;
  flex-direction:column;
  user-select:none;
}
#lightbox.opening,#lightbox.open{display:flex}

.lb-bg{
  position:absolute;inset:0;
  background:#000;
  opacity:0;
  transition:opacity 250ms ease;
}
#lightbox.open .lb-bg{opacity:1}

.lb-header{
  position:absolute;
  top:0;left:0;right:0;
  z-index:10;
  padding:max(18px,var(--safe-top)) 16px 24px;
  background:linear-gradient(to bottom,rgba(0,0,0,0.75) 0%,transparent 100%);
  display:flex;align-items:center;justify-content:space-between;
  opacity:0;
  transition:opacity 220ms ease;
  pointer-events:none;
}
#lightbox.open .lb-header{opacity:1;pointer-events:auto}

.lb-close{
  width:38px;height:38px;
  border-radius:50%;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(10px);
  border:none;color:#fff;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  -webkit-tap-highlight-color:transparent;
}
/* "Défilement auto": iOS-style switch (a native checkbox) */
.lb-auto{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:12.5px;font-weight:600;
  color:rgba(255,255,255,0.85);-webkit-tap-highlight-color:transparent}
.lb-auto input{appearance:none;-webkit-appearance:none;margin:0;flex:none;cursor:pointer;position:relative;
  width:44px;height:26px;border-radius:13px;background:rgba(255,255,255,0.22);transition:background 200ms ease}
.lb-auto input::after{content:"";position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;
  background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.35);transition:transform 220ms cubic-bezier(.3,1.3,.5,1)}
.lb-auto input:checked{background:#34c759}
.lb-auto input:checked::after{transform:translateX(18px)}
.lb-auto input:focus-visible{outline:2px solid #fff;outline-offset:2px}
.lb-date{
  font-size:13px;
  color:rgba(255,255,255,0.78);
  font-weight:500;
}

.lb-media-wrap{
  flex:1;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  position:relative;
  touch-action:none;
}
.lb-slide{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  will-change:transform;
}
.lb-slide img,.lb-slide video{
  max-width:100%;max-height:100%;
  object-fit:contain;
  transform:scale(0.88);
  opacity:0;
  transition:transform 260ms cubic-bezier(0.16,1,0.3,1),opacity 220ms ease;
  display:block;
}
.lb-slide.loaded img,.lb-slide.loaded video{transform:scale(1);opacity:1}

/* ⋯ menu (header, right): informations, share, copy, download, folder, conversation */
.lb-right{display:flex;align-items:center;gap:14px}
.lb-more{position:relative}
.lb-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:220px;padding:6px;border-radius:14px;
  background:rgba(28,28,30,.97);border:1px solid rgba(255,255,255,.1);box-shadow:0 14px 40px rgba(0,0,0,.55);
  display:flex;flex-direction:column;transform-origin:top right;animation:lbMenu .14s ease-out}
.lb-menu[hidden]{display:none}
@keyframes lbMenu{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
.lb-menu button{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border:0;border-radius:9px;
  background:none;color:#fff;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.lb-menu button[hidden]{display:none}
.lb-menu button:hover,.lb-menu button:focus-visible{background:rgba(255,255,255,.09);outline:0}
.lb-menu svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.85}

/* Informations: light text at a FIXED place, bottom-left (above the video controls), so it
   never covers the photo's subject and never moves while swiping */
.lb-meta{
  position:absolute;
  left:14px;bottom:calc(max(16px,var(--safe-bottom)) + 6px);
  z-index:10;max-width:calc(100% - 28px);
  display:none;flex-direction:column;gap:3px;
  text-shadow:0 1px 6px rgba(0,0,0,.95);pointer-events:none;
}
.lb-meta a{pointer-events:auto}
#lightbox.has-video .lb-meta{bottom:calc(max(16px,var(--safe-bottom)) + 62px)}
/* clean display (a tap on the media): nothing but the photo or video */
#lightbox.clean .lb-header,#lightbox.clean .lb-nav{opacity:0!important;pointer-events:none!important}
#lightbox.clean .lb-meta{display:none!important}
.lb-slide img,.lb-slide video{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* touch: the side zones that catch a hold (lightbox.js lbHoldZones) */
.lb-hold{position:absolute;top:56px;bottom:72px;width:30%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.lb-hold.l{left:0}.lb-hold.r{right:0}
/* held at 2× */
#lightbox.fast::after{content:"2×";position:absolute;top:calc(max(18px,var(--safe-top)) + 6px);left:50%;transform:translateX(-50%);
  z-index:20;padding:5px 12px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:13px;font-weight:700;pointer-events:none}
#lightbox.open.info-on .lb-meta{display:flex}
.lb-meta-row{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13px;color:rgba(255,255,255,0.92);
  white-space:nowrap;overflow:hidden;
}
#lightbox.open.info-on .lb-meta.empty{display:none}   /* no time, place or sender: no card at all */
.lb-who-link{margin-left:4px;font-size:12px;opacity:.8}
.lb-meta-row a{
  color:rgba(255,255,255,0.92);
  text-decoration:underline;
  text-underline-offset:2px;
  overflow:hidden;text-overflow:ellipsis;
}

/* give video room for its native controls */
#lightbox.has-video .lb-slide video{
  max-height:calc(100% - 120px);
}

/* ── Lightbox nav arrows ── */
.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:11;
  width:40px;height:40px;
  border-radius:50%;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:none;color:#fff;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  opacity:0;
  transition:opacity 220ms ease,background 150ms ease;
  -webkit-tap-highlight-color:transparent;
  pointer-events:none;
}
#lightbox.open .lb-nav{opacity:1;pointer-events:auto}
.lb-nav:hover{background:rgba(0,0,0,0.7)}
.lb-nav-prev{left:10px}
.lb-nav-next{right:10px}
.lb-nav.edge{opacity:0.18!important}

/* ── Selection bar ── */
#sel-bar{
  position:fixed;
  bottom:calc(-90px - var(--safe-bottom));
  left:0;right:0;
  max-width:600px;
  margin:0 auto;
  z-index:200;
  background:rgba(16,16,16,0.96);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-top:1px solid rgba(255,255,255,0.08);
  padding:13px 24px max(18px,var(--safe-bottom));
  display:flex;align-items:center;justify-content:space-between;
  transition:bottom 320ms cubic-bezier(0.16,1,0.3,1);
}
#sel-bar.visible{bottom:0}
.sel-count{font-size:15px;font-weight:700;color:var(--accent)}
.sel-actions{display:flex;gap:22px}
.sel-btn{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.sel-btn span{font-size:11px;color:rgba(255,255,255,0.8)}

/* ── State views ── */
.state-view{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:60vh;gap:16px;
  color:var(--muted);font-size:14px;
}
@keyframes spin{to{transform:rotate(360deg)}}
.spinner{
  width:30px;height:30px;
  border:2.5px solid rgba(255,255,255,0.1);
  border-top-color:var(--accent);
  border-radius:50%;
  animation:spin 0.75s linear infinite;
}

/* ── Desktop ── */
@media(min-width:600px){
  #app{
    border-left:1px solid rgba(255,255,255,0.06);
    border-right:1px solid rgba(255,255,255,0.06);
  }
  .media-grid{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:900px){
  .media-grid{grid-template-columns:repeat(4,1fr)}
}

/* ── Voice notes: inline player (js/voice.js) ── */
.vn{display:flex;align-items:center;gap:10px;width:min(280px,100%);height:44px;margin:3px 0;padding:0 12px 0 6px;
  border-radius:999px;background:rgba(255,255,255,.08);cursor:pointer;user-select:none;-webkit-user-select:none}
.vn{position:relative;-webkit-touch-callout:none}
.vn.fast::after{content:"2×";position:absolute;top:-9px;right:-4px;padding:1px 7px;border-radius:999px;background:#8a56d6;
  color:#fff;font-size:11px;font-weight:700;pointer-events:none}
.vn-play{flex:none;width:32px;height:32px;border:0;border-radius:50%;padding:0;cursor:pointer;display:grid;place-items:center;
  background:linear-gradient(135deg,#5b57d6,#8a56d6);color:#fff}
.vn-play svg{width:15px;height:15px;fill:currentColor}
.vn .pa,.vn.playing .pl{display:none}
.vn.playing .pa{display:inline}
.vn-bars{flex:1;height:26px;display:flex;align-items:center;gap:2px;min-width:0}
.vn-bars i{flex:1;min-width:2px;height:calc(var(--h,.4) * 100%);border-radius:2px;background:rgba(255,255,255,.32);
  transition:height .09s linear,background-color .15s}
.vn-bars i.on{background:#fff}
.vn-time{flex:none;min-width:30px;text-align:right;font-size:12px;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.65)}
.vn.playing{background:rgba(138,86,214,.22)}

/* grid cell variant: the whole cell toggles playback (grid.js) */
.vn-cell{position:absolute;inset:0;width:auto;height:auto;margin:0;padding:18% 12% 30%;border-radius:0;background:none;
  flex-direction:column;justify-content:center;gap:12%;pointer-events:none}
.vn-cell .vn-play{width:34%;height:auto;aspect-ratio:1;background:rgba(255,255,255,.18)}
.vn-cell .vn-play svg{width:46%;height:46%}
.vn-cell .vn-bars{flex:none;width:100%;height:24%;gap:1.5px}
.vn-cell .vn-bars i{background:rgba(255,255,255,.4)}
.vn-cell .vn-bars i.on{background:#fff}
.audio-cell:has(.vn.playing){box-shadow:inset 0 0 0 2px #fff}
.vn-cell.playing{background:none}
.vn-cell.fast::after{top:6px;right:6px}

/* ── Chat Media filters (chips = .ch-chip, css/chats.css) ── */
.cm-filters{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin-top:9px}
.cm-filters[hidden]{display:none}
.cm-filters{justify-content:space-between}
.cm-sum{min-width:0;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-sum small{font-size:12px;color:rgba(255,255,255,.45);margin-left:2px}
.cm-sum em{font-style:normal;font-weight:500;color:rgba(255,255,255,.55);margin-left:6px}
.ch-menu #cm-conv{flex:none;width:auto;margin:2px 6px 6px}
#cm-conv{flex:0 0 136px;width:136px;margin-left:auto;text-overflow:ellipsis;height:32px;border:0;border-radius:999px;padding:0 12px;cursor:pointer;
  background:rgba(255,255,255,.11);color:#fff;font:inherit;font-size:12.5px;font-weight:600;outline:0}
#cm-conv option,#cm-conv optgroup{background:#1c1c1e;color:#fff}
#lb-toast{position:absolute;left:50%;bottom:max(24px,var(--safe-bottom));transform:translate(-50%,10px);z-index:20;
  padding:9px 16px;border-radius:999px;background:rgba(28,28,30,.95);color:#fff;font-size:13.5px;font-weight:600;
  opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
#lb-toast.on{opacity:1;transform:translate(-50%,0)}
