/* Letra on fibric.io (board X-letra): launcher, greeting, panel and tour ring.
   Everything is position:fixed or absolute, so nothing here shifts the page. */
.lg-launch,.lg-greet,.lg-panel{font-family:"Hanken Grotesk",-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;box-sizing:border-box;letter-spacing:normal;text-align:left}
.lg-launch *,.lg-greet *,.lg-panel *{box-sizing:border-box}
:where(.lg-greet,.lg-panel) button{font:inherit;color:inherit;background:none;border:0;margin:0;cursor:pointer;text-transform:none}
:where(.lg-panel,.lg-greet) p{margin:0}
.lg-mark{position:relative;display:inline-block;font-style:italic;font-weight:800;letter-spacing:-.06em;line-height:1}
.lg-mark i{position:absolute;width:.22em;height:.22em;border-radius:50%;background:#fff;right:-.3em;bottom:.1em}
.lg-launch:focus-visible,.lg-greet :focus-visible,.lg-panel :focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 4px #131417}

/* launcher */
.lg-launch{position:fixed;z-index:9400;right:24px;bottom:calc(24px + var(--lg-lift,0px));height:48px;padding:0 22px 0 20px;border:0;border-radius:999px;background:#1d3fd9;color:#fff;display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 14px 34px rgba(29,63,217,.35);transition:transform 220ms cubic-bezier(.23,1,.32,1),background-color 160ms ease,bottom 220ms ease,opacity 200ms ease,visibility 0s}
.lg-launch .lg-mark{font-size:17px}
.lg-launch:active{transform:scale(.97)}
.lg-open .lg-launch{background:#131417}
.lg-launch.lg-tuck{transform:translateX(calc(100% + 32px));opacity:0;visibility:hidden;transition:transform 220ms cubic-bezier(.23,1,.32,1),opacity 200ms ease,visibility 0s 220ms}
@media (hover:hover) and (pointer:fine){.lg-launch:hover{background:#2b4de6}.lg-open .lg-launch:hover{background:#2b2f36}}

/* greeting */
.lg-greet{position:fixed;z-index:9400;right:24px;bottom:calc(88px + var(--lg-lift,0px));width:330px;max-width:calc(100vw - 32px);background:#1d3fd9;color:#fff;border-radius:18px;padding:18px 18px 16px;box-shadow:0 2px 6px rgba(8,22,90,.2),0 30px 70px rgba(29,63,217,.35);opacity:0;transform:translateY(10px);transition:opacity 420ms cubic-bezier(.16,1,.3,1),transform 520ms cubic-bezier(.16,1,.3,1)}
.lg-greet.on{opacity:1;transform:none}
.lg-ghead{display:flex;align-items:center;gap:12px;font-size:12.5px;color:rgba(255,255,255,.85)}
.lg-ghead .lg-mark{font-size:20px}
.lg-greet p{margin-top:10px;font-size:18px;line-height:1.3;font-weight:700}

/* panel */
.lg-panel{position:fixed;z-index:9600;right:20px;top:20px;bottom:20px;width:380px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;background:#1d3fd9;color:#fff;border-radius:22px;overflow:auto;overscroll-behavior:contain;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 2px 6px rgba(8,22,90,.2),0 30px 70px rgba(29,63,217,.35);animation:lg-in 420ms cubic-bezier(.16,1,.3,1)}
.lg-panel[hidden]{display:none!important}
@keyframes lg-in{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.lg-head{display:flex;align-items:center;gap:12px;padding:16px 14px 0 20px}
.lg-title{margin:0;font-size:24px;line-height:1;font-weight:800;color:#fff;outline:none}
.lg-note{margin-left:auto;font-size:12px;line-height:1.3;color:#e3e8ff;text-align:right}
.lg-x{flex:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.lg-view{padding:18px 20px 0}
.lg-big{font-size:25px;line-height:1.12;font-weight:800;letter-spacing:-.035em;text-wrap:balance}
.lg-q{margin:0 0 14px auto!important;width:fit-content;max-width:290px;padding:10px 14px;border-radius:12px;background:#2b4de6;box-shadow:inset 0 1px 0 rgba(255,255,255,.14);font-size:14px;font-weight:600}
.lg-p{margin-top:12px!important;font-size:15px;line-height:1.5;color:#fff}
.lg-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.lg-btn{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;background:#fff;color:#131417!important;font-size:14px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.lg-btn.ghost{background:none;color:#fff!important;font-weight:700;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.lg-btn[disabled]{opacity:.45;cursor:default}
.lg-stops{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.lg-stop{display:grid!important;text-align:left;grid-template-columns:24px 1fr;gap:10px;align-items:start;width:100%;padding:13px 14px!important;border-radius:14px;background:#2b4de6!important;color:#fff!important;font-size:14.5px;line-height:1.42;text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12);transition:background-color 300ms ease,color 300ms ease}
.lg-stop.on{background:#fff!important;color:#131417!important}
.lg-n{width:24px;height:24px;border-radius:50%;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18)}
.lg-stop.on .lg-n{background:#131417;color:#fff}
.lg-count{margin-right:auto;font-size:13px;font-weight:700;color:#e3e8ff}
.lg-asks{margin-top:auto;padding:20px 14px 16px;display:flex;flex-wrap:wrap;gap:6px}
.lg-chip{height:34px;padding:0 12px!important;border-radius:999px;font-size:13px;font-weight:700;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);white-space:nowrap}
.lg-chip[aria-pressed="true"]{background:#fff;color:#131417}
@media (hover:hover) and (pointer:fine){.lg-chip:hover,.lg-btn.ghost:hover,.lg-x:hover{background:rgba(255,255,255,.12)}.lg-chip[aria-pressed="true"]:hover{background:#fff}.lg-stop:not(.on):hover{background:#3557ea!important}}

/* tour on Home: the panel steps aside so the page stays in view */
.lg-panel.is-tour{top:auto;bottom:20px;width:360px;max-height:calc(100vh - 120px)}
.lg-panel.is-tour .lg-asks{display:none}
.lg-panel.is-tour .lg-view{padding-bottom:18px}
.lg-ring{position:absolute;z-index:9300;left:0;top:0;width:0;height:0;border:3px solid #fff252;border-radius:16px;box-shadow:0 0 0 1px rgba(19,20,23,.55),0 0 0 200vmax rgba(19,20,23,.42);pointer-events:none;opacity:0;visibility:hidden;transition:left 700ms cubic-bezier(.23,1,.32,1),top 700ms cubic-bezier(.23,1,.32,1),width 700ms cubic-bezier(.23,1,.32,1),height 700ms cubic-bezier(.23,1,.32,1),opacity 300ms ease,visibility 0s 300ms}
.lg-ring.on{opacity:1;visibility:visible;transition:left 700ms cubic-bezier(.23,1,.32,1),top 700ms cubic-bezier(.23,1,.32,1),width 700ms cubic-bezier(.23,1,.32,1),height 700ms cubic-bezier(.23,1,.32,1),opacity 300ms ease}
.lg-rn{position:absolute;right:-13px;top:-13px;width:26px;height:26px;border-radius:50%;background:#131417;color:#fff;font:800 13px/1 "Hanken Grotesk",-apple-system,sans-serif;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff252}

@media (max-width:699px){
  .lg-launch{right:16px;bottom:calc(16px + var(--lg-lift,0px));height:44px;padding:0 18px 0 16px;font-size:14px}
  .lg-greet{right:16px;bottom:calc(72px + var(--lg-lift,0px))}
  .lg-open .lg-launch{visibility:hidden}
  .lg-panel{left:8px;right:8px;top:auto;bottom:8px;width:auto;max-width:none;max-height:min(82vh,640px);border-radius:20px}
  .lg-panel.is-tour{width:auto;max-height:46vh}
  .lg-panel.is-tour .lg-stops li:not(:has(.on)){display:none}
  .lg-panel.is-tour .lg-big{font-size:20px}
  .lg-ring{border-radius:12px}
  .lg-rn{right:4px;top:4px}
}
@media (prefers-reduced-motion:reduce){.lg-launch,.lg-greet,.lg-panel,.lg-ring,.lg-stop{transition:none!important;animation:none!important}}
