.dock-wrap{position:relative}
.mantra-player{position:absolute;left:50%;bottom:calc(100% + 18px);transform:translateX(-50%);width:min(354px,calc(100vw - 32px));max-height:calc(100dvh - 160px);overflow-y:auto;text-align:left;padding:23px 22px 15px;color:#fff5d9;background:linear-gradient(135deg,#193c39f2,#092a30f5);border:1px solid #bfa66f;outline:1px solid #d6d5aa30;outline-offset:4px;box-shadow:0 12px 40px #001b2580,inset 0 0 28px #f1d5a008;backdrop-filter:blur(20px);pointer-events:auto;animation:mantra-arrive .28s ease-out}
.mantra-player button{touch-action:manipulation;flex-shrink:0}
.mantra-close{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:0;color:#e5d3a9;font:22px/1 var(--serif)}
.mantra-close:hover{color:#fff7df}
.mantra-heading{display:flex;align-items:center;gap:14px;padding-right:12px;margin-bottom:17px}
.mantra-heading>div{min-width:0}
.mantra-heading h2{font:400 22px/1.15 var(--serif);letter-spacing:-.025em;margin:0 0 7px}
.mantra-heading p{font:12px/1.4 var(--serif);color:#d3d6bd;margin:0}
.mantra-heading p span{padding:0 4px;color:#bda375}
.mantra-play{width:48px;height:48px;display:grid;place-items:center;border:1px solid #c9b079;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#e9d29324,#e9d29308);color:#f4dfaa;transition:background .2s,box-shadow .2s}
.mantra-play:hover{background:#e9d29326;box-shadow:0 0 16px #e0c38918}
.mantra-play svg{width:24px;height:24px}
.mantra-play-icon{fill:currentColor;transform:translateX(-1px)}
.mantra-pause-icon{display:none;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.mantra-playing .mantra-play-icon{display:none}
.mantra-playing .mantra-pause-icon{display:block}
.mantra-range{--progress:0%;appearance:none;-webkit-appearance:none;display:block;width:100%;height:26px;margin:0;padding:0;background:transparent;cursor:pointer;accent-color:#e8cf99;border:0;border-radius:0;min-width:0;touch-action:pan-y}
.mantra-range::-webkit-slider-runnable-track{height:2px;background:linear-gradient(90deg,#e8cf99 var(--progress),#b7c3b64d var(--progress));border-radius:2px}
.mantra-range::-moz-range-track{height:2px;background:#b7c3b64d;border-radius:2px}
.mantra-range::-moz-range-progress{height:2px;background:#e8cf99;border-radius:2px}
.mantra-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;margin-top:-4px;border-radius:50%;border:0;background:#eddbb2;box-shadow:0 0 6px #f4dfa62b}
.mantra-range::-moz-range-thumb{width:10px;height:10px;border-radius:50%;border:0;background:#eddbb2}
.mantra-range:disabled{opacity:.45;cursor:default}
.mantra-range:focus-visible{outline:1px solid #f4dfaa;outline-offset:4px}
.mantra-times{display:flex;justify-content:space-between;font:11px/1.3 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:.025em;color:#c6cebd}
.mantra-options{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:4px}
.mantra-volume{display:flex;align-items:center;gap:4px;width:132px}
.mantra-volume input{flex:1;--progress:65%}
.mantra-mute{display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:0;color:#d2d9bf}
.mantra-mute svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}
.volume-muted{display:none}
.mantra-mute[aria-pressed="true"] .volume-waves{display:none}
.mantra-mute[aria-pressed="true"] .volume-muted{display:block}
.mantra-repeat{display:flex;align-items:center;gap:7px;min-height:44px;padding:5px 0 5px 8px;border:0;background:none;font:13px/1.2 var(--serif);color:#c6cebd}
.mantra-repeat>span{font:21px/1 var(--serif)}
.mantra-repeat[aria-pressed="true"]{color:#ffe5ab;text-shadow:0 0 10px #f3d39055}
.mantra-error{font:13px/1.5 var(--serif);margin:5px 0;color:#ffe2bc}
.mantra-error a{color:inherit;text-underline-offset:3px}
.mantra-playing [data-action="mantra"]{color:#ffe8b0;background:#cfddaa17}
.mantra-playing .mantra-dock-icon{filter:drop-shadow(0 0 5px #ffd596)}
.mantra-rest-toggle{display:none;position:absolute;top:calc(18px + env(safe-area-inset-top,0px));right:max(18px,env(safe-area-inset-right,0px));z-index:6;min-height:44px;padding:8px 13px;border:1px solid #c5b58055;background:#0a2d2dbd;backdrop-filter:blur(12px);color:#e9ddbc;font:13px/1.3 var(--serif)}
.contemplating .mantra-rest-toggle{display:block}
@keyframes mantra-arrive{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:370px){.mantra-player{padding:22px 17px 12px}.mantra-heading{gap:11px}.mantra-heading h2{font-size:21px}}
@media(max-height:560px) and (orientation:landscape){.mantra-player{bottom:calc(100% + 12px);max-height:calc(100dvh - 88px);padding-top:19px}.mantra-heading{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.mantra-player{animation:none}}
