/* Sleep Meditation. Selectors are doubled-up (.pss-sl .pss-sl__x) so theme rules such as ".prose p/h2/label/fieldset/input" never override them. */
.pss-sl{
  position:relative;max-width:620px;margin:0 auto;overflow:hidden;overflow:clip;text-align:center;
  padding:clamp(26px,5vw,46px) clamp(16px,5vw,40px);border-radius:26px;color:var(--pss-ivory);
  background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(0,0,0,.28)),var(--pss-primary);
  box-shadow:var(--pss-shadow);
}
.pss-sl::before{content:'';position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid rgba(216,181,100,.18);right:-150px;top:-150px;pointer-events:none}
.pss-sl .pss-sl__eyebrow{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:var(--pss-gold-bright)}
.pss-sl .pss-sl__title{font-family:var(--pss-font-display);font-weight:500;font-size:clamp(1.6rem,4.4vw,2.2rem);line-height:1.2;color:var(--pss-white);margin:8px 0 6px}
.pss-sl .pss-sl__hint{font-size:.95rem;line-height:1.6;color:rgba(244,238,226,.78);max-width:48ch;margin:0 auto}

.pss-sl .pss-sl__sessions{border:0;margin:22px 0 0;padding:0;min-width:0;display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.pss-sl .pss-sl__session{position:relative;display:block;margin:0;cursor:pointer}
.pss-sl .pss-sl__card{
  display:flex;flex-direction:column;justify-content:center;gap:4px;height:100%;min-height:72px;box-sizing:border-box;padding:12px 14px;border-radius:18px;text-align:left;
  border:1.4px solid rgba(216,181,100,.35);transition:background .25s var(--pss-ease),border-color .25s var(--pss-ease);
}
.pss-sl .pss-sl__name{font-weight:700;font-size:.95rem;line-height:1.3;color:var(--pss-white)}
.pss-sl .pss-sl__meta{font-size:.78rem;color:rgba(244,238,226,.68)}
.pss-sl .pss-sl__session:hover .pss-sl__card{border-color:var(--pss-gold-bright)}
.pss-sl .pss-sl__session input:checked + .pss-sl__card{background:rgba(216,181,100,.16);border-color:var(--pss-gold-bright)}
.pss-sl .pss-sl__session input:checked + .pss-sl__card .pss-sl__meta{color:var(--pss-gold-bright)}
.pss-sl .pss-sl__session input:focus-visible + .pss-sl__card{outline:3px solid var(--pss-gold-bright);outline-offset:3px}
.pss-sl .pss-sl__session.is-soon{cursor:default}
.pss-sl .pss-sl__session.is-soon .pss-sl__card{opacity:.55;border-style:dashed}
.pss-sl .pss-sl__sessions:disabled .pss-sl__card{opacity:.55}
.pss-sl .pss-sl__summary{font-size:.92rem;line-height:1.6;color:rgba(244,238,226,.8);max-width:46ch;margin:14px auto 0;min-height:3em}

.pss-sl .pss-sl__controls{margin:20px 0 0;display:grid;gap:18px}
.pss-sl .pss-sl__group{border:0;margin:0;padding:0;min-width:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pss-sl .pss-sl__group legend{display:block;width:100%;padding:0;margin:0 0 10px;font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--pss-gold-bright);text-align:center}
.pss-sl .pss-sl__chip{position:relative;margin:0;cursor:pointer}
.pss-sl .pss-sl__chip span{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:56px;padding:0 16px;border-radius:100px;box-sizing:border-box;
  border:1.4px solid rgba(216,181,100,.4);color:var(--pss-ivory);font-weight:600;font-size:.92rem;
  transition:background .25s var(--pss-ease),color .25s var(--pss-ease),border-color .25s var(--pss-ease);
}
.pss-sl .pss-sl__chip:hover span{border-color:var(--pss-gold-bright)}
.pss-sl .pss-sl__chip input:checked + span{background:var(--pss-secondary);border-color:var(--pss-secondary);color:var(--pss-charcoal)}
.pss-sl .pss-sl__chip input:focus-visible + span{outline:3px solid var(--pss-gold-bright);outline-offset:3px}
.pss-sl .pss-sl__group:disabled .pss-sl__chip{opacity:.5;cursor:not-allowed}

.pss-sl .pss-sl__toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;margin:0 auto;min-height:44px;cursor:pointer;font-size:.95rem;color:var(--pss-ivory)}
.pss-sl .pss-sl__switch{position:relative;flex:0 0 46px;width:46px;height:26px;border-radius:100px;background:rgba(244,238,226,.22);transition:background .25s var(--pss-ease)}
.pss-sl .pss-sl__switch::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--pss-white);transition:transform .25s var(--pss-ease)}
.pss-sl .pss-sl__toggle input:checked ~ .pss-sl__switch{background:var(--pss-secondary)}
.pss-sl .pss-sl__toggle input:checked ~ .pss-sl__switch::after{transform:translateX(20px);background:var(--pss-charcoal)}
.pss-sl .pss-sl__toggle input:focus-visible ~ .pss-sl__switch{outline:3px solid var(--pss-gold-bright);outline-offset:3px}

.pss-sl .pss-sl__volume{display:flex;align-items:center;gap:14px;max-width:360px;width:100%;margin:0 auto}
.pss-sl .pss-sl__volumelabel{flex:0 0 auto;font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--pss-gold-bright)}
.pss-sl .pss-sl__volume input[type=range]{flex:1 1 auto;min-width:0;height:44px;margin:0;background:transparent;accent-color:var(--pss-secondary)}

.pss-sl .pss-sl__status{margin:22px 0 0;display:grid;gap:4px}
.pss-sl .pss-sl__left{font-family:var(--pss-font-display);font-size:1.25rem;color:var(--pss-white);font-variant-numeric:tabular-nums;min-height:1.5em}
.pss-sl .pss-sl__narr{font-size:.85rem;color:rgba(244,238,226,.72);font-variant-numeric:tabular-nums}
.pss-sl .pss-sl__msg{font-size:.9rem;line-height:1.5;color:var(--pss-gold-bright)}

.pss-sl .pss-sl__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:18px 0 0}
.pss-sl .pss-sl__actions .pss-btn{min-width:150px;min-height:48px}
.pss-sl .pss-btn[disabled]{opacity:.5;cursor:not-allowed}
.pss-sl .pss-sl__note{font-size:.78rem;line-height:1.6;color:rgba(244,238,226,.6);max-width:50ch;margin:18px auto 0}

@media (max-width:420px){
  .pss-sl .pss-sl__sessions{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .pss-sl .pss-sl__card,.pss-sl .pss-sl__chip span,.pss-sl .pss-sl__switch,.pss-sl .pss-sl__switch::after{transition:none}
}
