.tools .yp-sleep{--ink:#f5f2ff;--ink-soft:#d9d3f5;--ink-faint:#a79fd6;--line:#fff3;--glass-shadow:#08041e8c;border-radius:var(--r-xl);isolation:isolate;color:#f5f2ff;background:linear-gradient(#2b2263,#3a2b70 60%,#4a3577);width:100%;display:block;position:relative;overflow:hidden;box-shadow:0 26px 60px -30px #180c46a6}.tools .yp-sleep .yps-stage{--yps-inset-top:62px;--yps-inset-bottom:200px;--yps-inset-side:12px;height:clamp(520px, 72vh / var(--zoom,1), 700px);background:#2b2263;position:relative}.tools .yp-sleep .yps-stage.is-loading:after{content:"";border:3px solid #ffffff40;border-top-color:#fff;border-radius:50%;width:34px;height:34px;margin:-17px 0 0 -17px;animation:.9s linear infinite yps-spin;position:absolute;top:50%;left:50%}@keyframes yps-spin{to{transform:rotate(360deg)}}.tools .yp-sleep .yps-top{z-index:3;pointer-events:none;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex;position:absolute;inset:0 0 auto}.tools .yp-sleep .yps-top button{pointer-events:auto}.tools .yp-sleep .yps-ctl.glass{color:#fff;background:linear-gradient(#fff3,#ffffff12)}.tools .yp-sleep .yps-ctl[aria-pressed=true]{color:#2b2263;background:#fff}.tools .yp-sleep .yps-ctl svg{width:21px;height:21px}.tools .yp-sleep .yps-left{gap:8px;display:flex}.tools .yp-sleep .yps-pill{pointer-events:auto;-webkit-backdrop-filter:blur(14px);color:#fff;height:46px;font:inherit;cursor:pointer;background:linear-gradient(#fff3,#ffffff12);border:0;border-radius:999px;align-items:center;gap:4px;padding:0 16px 0 10px;font-size:.95rem;font-weight:600;display:inline-flex}.tools .yp-sleep .yps-pill svg{width:21px;height:21px}.tools .yp-sleep .yps-pill:focus-visible,.tools .yp-sleep .yps-ctl:focus-visible,.tools .yp-sleep .yps-chip:focus-visible,.tools .yp-sleep .yps-card button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.tools .yp-sleep .yps-vignette{z-index:1;pointer-events:none;background:radial-gradient(130% 100% at 50% 45%,#0a062200 60%,#0a062261);position:absolute;inset:0}.tools .yp-sleep .yps-player{pointer-events:auto;background:linear-gradient(#ffffff29,#ffffff0f);border-radius:999px;align-items:center;gap:12px;width:min(440px,100%);min-height:64px;padding:8px 8px 8px 22px;display:flex}.tools .yp-sleep .yps-prog{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.tools .yp-sleep .yps-prog b{color:#f2e3b3;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:700;line-height:1.2;overflow:hidden}.tools .yp-sleep .yps-bar{background:#ffffff2e;border-radius:2px;height:4px;display:block;overflow:hidden}.tools .yp-sleep .yps-bar i{background:#b9a6f2;border-radius:2px;width:0;min-width:4px;height:100%;transition:width 1.2s ease-in-out;display:block}.tools .yp-sleep .yps-prog-label{color:#bfb4d9;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:700;overflow:hidden}.tools .yp-sleep .yps-player .yps-ctl{color:#f2e3b3;background:0 0;flex:none}@media (hover:hover){.tools .yp-sleep .yps-player .yps-ctl:hover{background:#ffffff1f}}.tools .yp-sleep .yps-player .yps-ctl[aria-pressed=true]{color:#17122b;background:#f2e3b3}.tools .yp-sleep .yps-right{gap:8px;display:flex}.tools .yp-sleep .yps-bottom{z-index:3;pointer-events:none;background:linear-gradient(#140c3800,#140c3899);flex-direction:column;align-items:center;gap:12px;padding:48px 22px 26px;display:flex;position:absolute;inset:auto 0 0}.tools .yp-sleep .yps-chips{pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.tools .yp-sleep .yps-chip{color:#fff;font-variant-numeric:tabular-nums;border:0;border-radius:999px;align-items:center;gap:8px;height:38px;padding:0 15px;font-size:.9rem;font-weight:600;display:inline-flex}.tools .yp-sleep button.yps-chip{height:44px;font:inherit;font-size:.95rem;font-weight:600}.tools .yp-sleep .yps-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.9s linear infinite yps-spin}.tools .yp-sleep .yps-count{justify-content:center;min-width:76px}.tools .yp-sleep button.yps-chip{cursor:pointer}.tools .yp-sleep .yps-chip.glass{background:linear-gradient(#fff3,#ffffff12)}.tools .yp-sleep .yps-chip svg{width:18px;height:18px}.tools .yp-sleep .yps-line{pointer-events:auto;text-align:center;text-wrap:balance;color:#fff;text-shadow:0 2px 14px #0a0528b3;cursor:pointer;border-radius:16px;max-width:36rem;min-height:2.8em;font-size:clamp(1.05rem,2.3vw,1.4rem);font-weight:600;line-height:1.4;transition:opacity .35s,transform .35s;display:block}.tools .yp-sleep .yps-line:focus-visible{outline:3px solid var(--accent);outline-offset:6px}.tools .yp-sleep .yps-line.out{opacity:0;transform:translateY(6px)}.tools .yp-sleep .yps-line.ask:before{content:"";vertical-align:.12em;background:var(--accent);width:9px;height:9px;box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent);border-radius:50%;margin-right:12px;animation:1.8s ease-in-out infinite yps-pulse;display:inline-block}@keyframes yps-pulse{50%{box-shadow:0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent)}}.tools .yp-sleep .yps-card{z-index:4;border-radius:var(--r-xl);text-align:center;color:#fff;flex-direction:column;align-items:center;gap:10px;width:min(430px,100% - 32px);padding:26px 24px 24px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tools .yp-sleep .yps-card.glass{background:linear-gradient(#ffffff2b,#2c1e6e6b)}.tools .yp-sleep .yps-kicker{color:var(--ink-soft);font-size:.86rem;font-weight:600}.tools .yp-sleep .yps-card h2{letter-spacing:-.01em;font-size:clamp(1.5rem,3.4vw,2rem);font-weight:700;line-height:1.12}.tools .yp-sleep .yps-card p{color:var(--ink-soft);font-weight:400;line-height:1.5}.tools .yp-sleep .yps-card .btn-accent{height:50px;margin-top:6px;padding:0 28px;font-size:1.1875rem}.tools .yp-sleep .yps-card .yps-small{color:var(--ink-faint);font-size:.86rem}.tools .yp-sleep .yps-end-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px;display:flex}.tools .yp-sleep .yps-end-actions .btn-accent{margin-top:0}.tools .yp-sleep .yps-soft{color:#fff;height:50px;font:inherit;background:#ffffff29;padding:0 24px;font-weight:600}@media (hover:hover){.tools .yp-sleep .yps-soft:hover{background:#ffffff3d}}.tools .yp-sleep .yps-breath{z-index:3;pointer-events:none;text-align:center;flex-direction:column;align-items:center;gap:6px;width:min(360px,100% - 32px);display:flex;position:absolute;bottom:104px;left:50%;transform:translate(-50%)}.tools .yp-sleep .yps-breath-ring{will-change:transform;background:radial-gradient(circle,#ffffff80,#ffffff1f 70%);border-radius:50%;width:74px;height:74px;margin-bottom:8px;transform:scale(.62);box-shadow:0 0 0 2px #ffffff8c,0 0 34px #ffecbe73}.tools .yp-sleep .yps-breath-words{color:#fff;text-shadow:0 2px 14px #0a0528b3;font-size:clamp(1.15rem,2.5vw,1.45rem);font-weight:600}.tools .yp-sleep .yps-breath-count{min-height:1.2em;color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:.86rem;font-weight:600}.tools .yp-sleep .yps-fallback{z-index:2;color:var(--ink-soft);background:#2b2263;padding:80px 24px 28px;position:absolute;inset:0;overflow-y:auto}.tools .yp-sleep .yps-fallback-note{text-align:center;max-width:36rem;margin:0 auto 16px;font-weight:600}.tools .yp-sleep .yps-fallback-text{flex-direction:column;gap:10px;max-width:36rem;margin:0 auto;line-height:1.55;display:flex}.tools .yp-sleep .yps-fallback-text h3{color:#fff;font-size:1.3rem;font-weight:700}.tools .yp-sleep .yps-fallback-text .ask{color:#fff;font-weight:700}@media (min-width:521px){.tools .yp-sleep .yps-stage{height:clamp(340px, min(72svh / var(--zoom,1), var(--tool-room,100svh / var(--zoom,1) - 228px) - 24px), 700px)}}@media (max-width:520px){.tools .yp-sleep .yps-stage{--yps-inset-top:58px;--yps-inset-bottom:184px;height:clamp(400px, calc(var(--tool-room,100svh / var(--zoom,1) - 228px) - 24px), 620px)}.tools .yp-sleep .yps-top{gap:8px;padding:10px}.tools .yp-sleep .yps-bottom{padding:40px 14px 18px}.tools .yp-sleep .yps-card{padding:22px 18px 20px}.tools .yp-sleep .yps-fallback{padding:70px 18px 22px}}@media (max-height:560px) and (min-width:521px){.tools .yp-sleep .yps-stage{--yps-inset-top:58px;--yps-inset-bottom:150px;height:max(300px, calc(100svh / var(--zoom,1) - 80px))}.tools .yp-sleep .yps-top{padding:8px 12px}.tools .yp-sleep .yps-bottom{gap:8px;padding:28px 18px 12px}.tools .yp-sleep .yps-line{min-height:0;font-size:1.05rem}.tools .yp-sleep .yps-card{gap:6px;padding:16px 20px}.tools .yp-sleep .yps-card .btn-accent{margin-top:2px}.tools .yp-sleep .yps-card .yps-small{display:none}.tools .yp-sleep .yps-breath{bottom:84px}}@media (prefers-reduced-motion:reduce){.tools .yp-sleep .yps-line,.tools .yp-sleep .yps-dim,.tools .yp-sleep .yps-bar i{transition:none}.tools .yp-sleep .yps-line.ask:before,.tools .yp-sleep .yps-spinner,.tools .yp-sleep .yps-stage.is-loading:after{animation:none}}.tools .yp-sleep [hidden][hidden]{display:none}
.tools .yp-sleep .yps-picker{padding:26px 24px 28px}.tools .yp-sleep .yps-picker-head{flex-direction:column;gap:4px;margin-bottom:18px;display:flex}.tools .yp-sleep .yps-picker-head h2{letter-spacing:-.01em;color:#fff;font-size:clamp(1.4rem,3vw,1.85rem);font-weight:700;line-height:1.15}.tools .yp-sleep .yps-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.tools .yp-sleep .yps-story{width:100%;height:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:transform .18s var(--ease-out), background-color .18s var(--ease-out);background:#ffffff14;border:0;border-radius:22px;flex-direction:column;padding:8px 8px 14px;display:flex}.tools .yp-sleep .yps-story:active{transform:scale(.98)}.tools .yp-sleep .yps-story:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media (hover:hover){.tools .yp-sleep .yps-story:hover{background:#ffffff24}}.tools .yp-sleep .yps-poster{aspect-ratio:16/10;background:radial-gradient(120% 90% at 50% 100%,#6b5aa6,#2e2568);border-radius:16px;display:block;overflow:hidden}.tools .yp-sleep .yps-poster img{object-fit:cover;width:100%;height:100%;display:block}.tools .yp-sleep .yps-story-text{flex-direction:column;gap:4px;padding:12px 8px 0;display:flex}.tools .yp-sleep .yps-story-min{color:var(--ink-faint);font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:600}.tools .yp-sleep .yps-story-title{color:#fff;font-size:1.06rem;font-weight:700;line-height:1.25}.tools .yp-sleep .yps-story-summary{color:var(--ink-soft);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.45;display:-webkit-box;overflow:hidden}@media (max-width:1080px){.tools .yp-sleep .yps-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:900px) and (max-height:900px){.tools .yp-sleep .yps-shelf{grid-template-columns:repeat(4,minmax(0,1fr))}.tools .yp-sleep .yps-picker{padding-top:18px}.tools .yp-sleep .yps-poster{aspect-ratio:2}}@media (max-width:899px){.tools .yp-sleep .yps-picker{padding:22px 0}.tools .yp-sleep .yps-picker-head{padding:0 20px}.tools .yp-sleep .yps-shelf{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;padding:0 20px 6px;scroll-padding:0 20px;display:flex;overflow-x:auto}.tools .yp-sleep .yps-shelf::-webkit-scrollbar{display:none}.tools .yp-sleep .yps-shelf li{scroll-snap-align:start;flex:0 0 min(76%,300px)}}.tools .yp-sleep .yps-view{z-index:0;position:absolute;inset:0}.tools .yp-sleep .yps-view canvas{touch-action:pan-y;cursor:grab;outline:none;width:100%;height:100%;display:block}.tools .yp-sleep .yps-view canvas.dragging{cursor:grabbing}.tools .yp-sleep .yps-view canvas:focus-visible{outline:3px solid var(--accent);outline-offset:-8px;border-radius:var(--r-xl)}.tools .yp-sleep .yps-dim{z-index:1;opacity:0;pointer-events:none;background:#07051a;transition:opacity 8s ease-in;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.tools .yp-sleep .yps-story{transition:none}}
