/* Palat — DS-024 · TheLayoutLoft Parts Line
   Skin A: floating obsidian pill + linear fuse. All .pl- prefixed. */
.pl-stack {
  position:fixed; bottom:26px; left:50%; translate:-50% 0; z-index:10000;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font:400 13.5px/1.45 ui-sans-serif,system-ui,sans-serif;
}
.pl-pill {
  position:relative; display:flex; align-items:center; gap:14px;
  padding:11px 14px 13px 18px; border-radius:99px;
  background:#12151E; border:1px solid rgba(255,255,255,.12);
  color:#F8FAFC; box-shadow:0 14px 40px rgba(0,0,0,.5);
  opacity:0; transform:translateY(16px);
  transition:opacity .3s cubic-bezier(.34,1.56,.64,1), transform .3s cubic-bezier(.34,1.56,.64,1);
  overflow:hidden;
}
.pl-pill.pl-in { opacity:1; transform:translateY(0); }
.pl-pill.pl-out { opacity:0; transform:translateY(10px) scale(.96); }
.pl-pill.pl-hold { border-color:rgba(56,189,248,.45); }

.pl-msg { color:#C7CDDC; }
.pl-act {
  border:none; border-radius:99px; padding:7px 14px; cursor:pointer;
  background:#FBBF24; color:#1C1914; font:800 12.5px/1 inherit;
  transition:transform .15s, filter .15s;
}
.pl-act:hover { filter:brightness(1.1); transform:translateY(-1px); }
.pl-x {
  border:none; background:none; color:#565D72; cursor:pointer;
  font:700 15px/1 inherit; padding:4px;
}
.pl-x:hover { color:#F8FAFC; }

/* the fuse — a bottom edge bar that drains left→right */
.pl-fuse {
  position:absolute; left:0; bottom:0; height:2.5px; width:100%;
  background:linear-gradient(90deg,#38BDF8,#818CF8);
  transform-origin:left center; transform:scaleX(1);
  transition:none;
}
.pl-pill.pl-hold .pl-fuse { opacity:.4; }

@media (prefers-reduced-motion:reduce) {
  .pl-pill { transition:opacity .15s; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
