/* [welcome v17] The page asks who you are before the first run (welcome.js). One glass card in the guide line's place,
   in the dock's place (the dock waits); on a phone above the on-screen keyboard. Same material, type and motion as the page. */
.wl{position:fixed;z-index:24;left:0;right:0;margin:0 auto;bottom:var(--dock-bottom);
  width:min(35rem,calc(100vw - 32px));box-sizing:border-box;padding:1.375rem 1.5rem 1.125rem;border-radius:var(--r-lg);
  display:flex;flex-direction:column;gap:.875rem;overflow:hidden auto;overscroll-behavior:contain;transform-origin:50% 100%;
  box-shadow:var(--glass-edges),var(--glass-shadow),0 24px 60px -28px rgba(110,120,255,.45)}
.wl[hidden]{display:none}
/* the faint glow of the accent at its top edge, as the dock's Test run has */
.wl::after{content:"";position:absolute;left:12%;right:12%;top:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(185,174,255,.55),rgba(95,224,247,.5),transparent);opacity:.7}
.wl-h{font:600 1.1875rem/1.5rem var(--font-sans);letter-spacing:-.02em;color:var(--text-1)}
.wl-sub{margin:-.5rem 0 0;font:400 .875rem/1.25rem var(--font-sans);color:var(--text-3)}
.wl-fields{display:flex;gap:.625rem}
.wl-field{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:.5rem;height:2.75rem;padding:0 .875rem;border-radius:var(--r-pill);cursor:text;
  background:rgba(10,11,22,.66);box-shadow:inset 0 0 0 1px var(--obs-hairline),inset 0 1px 0 rgba(255,255,255,.05),0 10px 24px -16px #000;
  transition:box-shadow var(--d-3) var(--ease-out)}
.wl-field:focus-within{box-shadow:inset 0 0 0 1px rgba(143,184,255,.6),0 0 0 3px rgba(143,184,255,.13),0 0 26px -10px rgba(120,160,255,.7)}
.wl-field.wl-want{box-shadow:inset 0 0 0 1px rgba(255,143,171,.65),0 0 0 3px rgba(255,111,145,.12)}
.wl-ico svg{display:block;width:16px;height:16px;fill:none;stroke:var(--text-3);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;transition:stroke var(--d-2)}
.wl-field:focus-within .wl-ico svg{stroke:#8FB8FF}
.wl-in{flex:1;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--text-1);
  font:500 16px/1 var(--font-sans);letter-spacing:-.008em} /* 16 px: a phone never zooms on focus */
.wl-in::placeholder{color:var(--text-3);font-weight:400}
.wl-opt{flex:none;font:500 .75rem/1 var(--font-sans);color:var(--text-3);opacity:.85;transition:opacity var(--d-2)}
.wl-f-biz:focus-within .wl-opt,.wl-f-biz:has(.wl-in:not(:placeholder-shown)) .wl-opt{opacity:0}
.wl-trades{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem}
.wl-tl{font:500 .8125rem/1 var(--font-sans);color:var(--text-3);margin-right:.25rem}
.wl-chip{height:2rem;padding:0 .8rem;border:0;border-radius:var(--r-pill);font:500 .8125rem/1 var(--font-sans);color:var(--text-2);cursor:pointer;
  background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
  transition:color var(--d-2) var(--ease-out),box-shadow var(--d-2) var(--ease-out),background var(--d-2) var(--ease-out)}
.wl-chip:hover{color:var(--text-1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.wl-chip[aria-pressed="true"]{color:#fff;background:linear-gradient(135deg,rgba(185,174,255,.26),rgba(95,224,247,.18)),rgba(10,11,22,.8);
  box-shadow:inset 0 0 0 1px rgba(160,190,255,.6),0 0 18px -6px rgba(120,160,255,.75)}
.wl-chip:focus-visible,.wl-skip:focus-visible,.wl-go:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.wl-acts{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.125rem}
.wl-skip{padding:0;border:0;background:none;cursor:pointer;font:500 .8125rem/1.25rem var(--font-sans);color:var(--text-3);
  text-decoration:underline;text-decoration-color:rgba(163,168,186,.35);text-underline-offset:3px;transition:color var(--d-2),text-decoration-color var(--d-2)}
.wl-skip:hover{color:var(--text-2);text-decoration-color:currentColor}
.wl-go{display:inline-flex;align-items:center;gap:.5rem;height:2.75rem;padding:0 1.125rem 0 1.375rem;border:0;border-radius:var(--r-pill);cursor:pointer;
  font:600 .9375rem/1 var(--font-sans);letter-spacing:-.005em;color:#fff;
  background:linear-gradient(135deg,rgba(185,174,255,.30),rgba(95,224,247,.22)),var(--obs-fill);
  box-shadow:inset 0 0 0 1px rgba(160,190,255,.5),0 0 18px -6px rgba(120,160,255,.7);
  transition:box-shadow var(--d-2) var(--ease-out),transform var(--d-1) var(--ease-out)}
.wl-go svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--d-2) var(--ease-out)}
.wl-go:hover{box-shadow:inset 0 0 0 1px rgba(160,190,255,.85),0 0 24px -4px rgba(120,160,255,.9)}
.wl-go:hover svg{transform:translateX(2px)}
.wl-go:active{transform:scale(.98)}
/* once a name is in, "Show me" catches the light: it is the one thing left to do */
.wl.has-name .wl-go{box-shadow:inset 0 0 0 1px rgba(160,190,255,.75),0 0 26px -6px rgba(120,160,255,.95)}
/* one light along the rim, once, as the card arrives */
.wl-call::before{background:linear-gradient(100deg,rgba(255,255,255,.17) 30%,rgba(160,200,255,.65) 50%,rgba(255,255,255,.08) 70%) no-repeat;
  background-size:260% 100%;animation:wl-rim 1.8s var(--ease-std) 1 forwards}
@keyframes wl-rim{0%{background-position:120% 0}100%{background-position:-30% 0}}

/* while the card is up: the "Make it yours" pill waits (it is the same question), the guide line is quiet, and the dock
   steps aside for it (the card sits in its place; Skip is the way to the plain example) */
.wl-on .bz,.wl-on .f10-say{visibility:hidden}
.wl-on #dock{opacity:0;visibility:hidden;transition:opacity var(--d-3),visibility 0s var(--d-3)}
/* a guide-line button styled as the contact link ("Now see it as your customer") */
.f10-say button.f10-link{border:0;cursor:pointer}
.f10-say button.f10-link:disabled{opacity:.6;cursor:default}

/* phones: the card covers the dock (it waits), stacks its fields, and sits above the on-screen keyboard */
@media (max-width:759px){
  .wl{bottom:calc(12px + var(--wl-kb,0px));padding:1.125rem 1rem .875rem;gap:.75rem;border-radius:var(--r-lg)}
  .wl-fields{flex-direction:column;gap:.5rem}
  .wl-field{flex:none;height:3rem}
  .wl-h{font-size:1.0625rem}
  .wl-trades{gap:.3rem}
  .wl-tl{width:100%;margin:0 0 .125rem}
  .wl-chip{padding:0 .6rem}
  .wl-acts{flex-direction:column-reverse;align-items:stretch;gap:.25rem}
  .wl-go{justify-content:center;height:3rem}
  .wl-skip{align-self:center;min-height:2.75rem}
}
@media (max-width:759px) and (max-height:560px){ .wl-sub{display:none} .wl-tl{display:none} }
@media (hover:none),(pointer:coarse){ .wl-chip{height:2.75rem} .wl-skip{min-height:2.75rem} }

/* fix round 1 */
/* 1. a banner says whose phone it is on: a small quiet tag, the owner's in the accent, the customer's in grey */
.ph-to{flex:none;margin-left:auto;padding:0 .45rem;border-radius:var(--r-pill);font:600 10.5px/16px var(--font-sans);letter-spacing:.01em;white-space:nowrap;
  color:var(--text-2);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)}
.ph-to-owner{color:#DCD6FF;background:linear-gradient(135deg,rgba(185,174,255,.20),rgba(95,224,247,.12));box-shadow:inset 0 0 0 1px rgba(160,190,255,.38)}
.ph-banner .ph-app{align-items:center}
/* 2. "Not Nikolay?" on touch: 44 px of hit area beyond its words on every side (the button beside it keeps its own) */
@media (hover:none),(pointer:coarse){
  .f10-say .pl-notme::after{width:auto;height:auto;left:-.75rem;right:-.75rem;top:-1.375rem;bottom:-1.375rem;transform:none}
  .f10-say .f10-link,.f10-say .f10-input,.f10-say .f10-go{position:relative;z-index:1}
  /* room under it, so that area is not under the dock (the line is anchored above the dock) */
  .f10-say .pl-notme{display:inline-block;margin-top:.5rem;margin-bottom:1.375rem}
}
/* 3. a banner at the top of a phone and the business pill never sit on each other: the pill waits while one is up */
.bz{transition:translate var(--d-4) var(--ease-out),top var(--d-3) var(--ease-out),opacity var(--d-3) var(--ease-out),visibility 0s}
@media (max-width:639px){ html:has(.ph-banners > .ph-banner) .bz{opacity:0;visibility:hidden;transition:opacity var(--d-3) var(--ease-out),visibility 0s var(--d-3)} }

/* fix round 2 */
/* 4. a long name fits the phone's label (cut with "…" inside the phone's width), and a message's first line may wrap to two */
.ph-cap{width:100%;min-width:0}
.ph-cap b,.ph-cap span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ph-ti{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
/* 5. a card whose words would reach its quiet count: the count steps back (welcome.js measures) */
.card.ac-tight .alive-count{opacity:0 !important}
