/* "מה חדש" (Gal 06/10): direction ד (full screen, major release), direction ו (the pill, minor release), the archive,
   the green dot and the spotlight. Its own file so the hot app.css is not touched; app tokens only (--acc, --txt2, --gain...).
   One motion curve for all of it, the iOS sheet curve, no bounce (the mockup's round 2). z: above the tour (45), under the toast (50). */
:root{--wn-ios:cubic-bezier(.32,.72,0,1)}

/* ---- ד: the full screen ---- */
.wn-layer{position:fixed;inset:0;z-index:46}
.wn-layer,.wn-isl,.wn-tip{white-space:normal}   /* the pill sits on <body>, where a nowrap was inherited and pushed its rows off the left edge */
.wn-full{position:absolute;inset:0;background:#000;display:grid;grid-template-rows:1fr auto;
  padding:calc(var(--safe-t) + 48px) 24px calc(var(--safe-b) + 18px);transform:translateY(100%);transition:transform .5s var(--wn-ios)}
.wn-full.in{transform:none}
.wn-full.out{transform:translateY(100%);transition-duration:.36s}
.wn-scroll{overflow-y:auto;overscroll-behavior:contain;max-width:520px;width:100%;margin:0 auto;min-height:0}
.wn-app{width:52px;height:52px;border-radius:13px;background:linear-gradient(160deg,#2a93ff,#0057d6);display:grid;place-items:center;margin-bottom:14px;box-shadow:inset 0 .5px 0 rgba(255,255,255,.4)}
.wn-app .wn-ico{width:30px;height:30px;color:#fff}
.wn-full h2{margin:0;font-size:30px;line-height:1.1;font-weight:800;letter-spacing:-.03em}
.wn-brand{color:var(--acc)}
.wn-list{display:grid;gap:20px;margin-top:28px}
.wn-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:14px;align-items:start;text-align:start;background:none;border:0;padding:0;color:inherit;font:inherit;
  opacity:0;transform:translateY(12px);transition:opacity .45s,transform .6s var(--wn-ios)}
.wn-full.in .wn-row,.wn-isl.open .wn-row{opacity:1;transform:none}
.wn-full.in .wn-row:nth-child(1){transition-delay:.22s}.wn-full.in .wn-row:nth-child(2){transition-delay:.3s}.wn-full.in .wn-row:nth-child(3){transition-delay:.38s}
.wn-row.go{cursor:pointer}
.wn-row .chev{align-self:center;color:var(--txt2)}
.wn-ico{width:30px;height:30px;color:var(--acc)}
.wn-t b{display:block;font-size:16px;font-weight:700;color:var(--txt)}
.wn-t span{display:block;font-size:14.5px;color:var(--txt2);line-height:1.45;margin-top:2px}
.wn-bot{display:grid;gap:6px;justify-items:center;max-width:520px;width:100%;margin:0 auto;padding-top:14px}
.wn-go{width:100%;border-radius:14px;padding:15px;font-size:17px;font-weight:700}
.wn-txt{background:none;border:0;color:var(--acc);font:600 15px var(--font);padding:7px;cursor:pointer}
.wn-txt.mut{color:var(--txt2);font-weight:500;font-size:14px}
.wn-fb{display:grid;gap:8px;margin-top:26px}
.wn-fb[hidden]{display:none}
.wn-fb label{font-size:15px;font-weight:700}
.wn-fb textarea{width:100%;resize:none;border-radius:14px;border:1px solid var(--line2);background:rgba(255,255,255,.07);color:var(--txt);font:16px var(--font);padding:10px 12px}
.wn-fb-row{display:flex;justify-content:space-between;align-items:center}
.wn-cnt{font-size:12px;color:var(--txt2)}

/* ---- ו: the pill from the top ---- */
.wn-isl{position:fixed;top:calc(var(--safe-t) + 8px);left:50%;z-index:46;width:120px;height:0;margin-left:-60px;border-radius:27px;background:#000;overflow:hidden;
  box-shadow:0 0 0 .5px rgba(255,255,255,.12),0 16px 40px -12px rgba(0,0,0,.8);
  transition:width .55s var(--wn-ios),height .55s var(--wn-ios),margin .55s var(--wn-ios),border-radius .55s var(--wn-ios)}
.wn-isl.pill{width:min(300px,calc(100vw - 32px));height:56px;margin-left:calc(min(300px,calc(100vw - 32px)) / -2)}
.wn-isl.open{width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - var(--safe-t) - 40px);margin-left:calc(min(360px,calc(100vw - 24px)) / -2);border-radius:34px;overflow-y:auto}
.wn-pill{position:absolute;inset:0;display:flex;align-items:center;gap:10px;padding:0 12px;background:none;border:0;color:var(--txt);font:inherit;text-align:start;cursor:pointer;opacity:0;transition:opacity .2s}
.wn-isl.pill .wn-pill{opacity:1;transition-delay:.28s}
.wn-isl.open .wn-pill{display:none}
.wn-ap{width:34px;height:34px;border-radius:50%;background:var(--acc);display:grid;place-items:center;flex:none}
.wn-ap .wn-ico{width:20px;height:20px;color:#fff}
.wn-ap.sm{width:28px;height:28px;border-radius:8px}
.wn-ap.sm .wn-ico{width:17px;height:17px}
.wn-pt{flex:1;min-width:0;line-height:1.25}
.wn-pt b{display:block;font-size:14.5px}
.wn-pt small{font-size:12.5px;color:var(--txt2)}
.wn-ring{width:24px;height:24px;flex:none;transform:rotate(-90deg)}
.wn-ring circle{fill:none;stroke-width:2.6;stroke:rgba(255,255,255,.14)}
.wn-ring .pr{stroke:var(--acc);stroke-dasharray:62.8;stroke-dashoffset:0;stroke-linecap:round}
.wn-isl.pill .wn-ring .pr{animation:wnRing 6s linear .3s forwards}
@keyframes wnRing{to{stroke-dashoffset:62.8}}
.wn-open{display:none;padding:22px 20px 16px;gap:16px}
.wn-isl.open .wn-open{display:grid;animation:wnFade .3s .2s both}
.wn-oh{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:800}
.wn-open .wn-list{margin-top:0;gap:16px}
.wn-open .wn-ico{width:26px;height:26px}
.wn-open .wn-row{grid-template-columns:28px minmax(0,1fr) auto;gap:10px}
.wn-open .wn-t b{font-size:15px}
.wn-open .wn-t span{font-size:13.5px}
.wn-ob .btn{width:100%;border-radius:14px}
@keyframes wnFade{from{opacity:0}}

/* ---- the green dot: on a new thing until its first tap, and on the Settings row while there is something unread ---- */
.wn-dot{position:absolute;top:10px;inset-inline-end:10px;width:9px;height:9px;border-radius:50%;background:var(--gain);z-index:3;pointer-events:none;
  box-shadow:0 0 0 3px rgba(48,209,88,.22);animation:wnPulse 1.8s ease-in-out infinite}
.wn-dot.in{position:static;display:inline-block;flex:none;margin-inline-end:8px;vertical-align:middle;animation:none}
@keyframes wnPulse{50%{box-shadow:0 0 0 7px rgba(48,209,88,0)}}

/* ---- "תראה לי": the spotlight ---- */
.wn-spot{position:fixed;z-index:47;border-radius:24px;box-shadow:0 0 0 200vmax rgba(0,0,0,.68);pointer-events:none}
.wn-spot::after{content:"";position:absolute;inset:-4px;border-radius:28px;border:2px solid var(--acc);animation:wnRingPulse 1.4s ease-in-out infinite}
@keyframes wnRingPulse{50%{inset:-9px;opacity:.25}}
.wn-tip{position:fixed;z-index:48;inset-inline:22px;max-width:420px;margin:0 auto;background:var(--acc);color:#fff;border-radius:14px;padding:10px 14px;font-size:14.5px;font-weight:600;animation:wnFade .3s}
.wn-tip small{display:block;font-weight:400;opacity:.88;font-size:13px;margin-top:2px}
.wn-catch{position:fixed;inset:0;z-index:46}

/* the archive sheet */
.wn-arch .wn-ar{width:100%;text-align:start}

@media (prefers-reduced-motion:reduce){
  .wn-full,.wn-isl,.wn-row{transition-duration:.01ms!important}
  .wn-dot,.wn-spot::after,.wn-isl.pill .wn-ring .pr{animation:none!important}
}
