/* Closeness Clips: one docked player for every audio clip on closeness.com */
#clcDock{--w:#4A1832;--w2:#2B0E1E;--g:#C9A96A;--c:#E8CB94;position:fixed;z-index:99980;left:50%;transform:translate(-50%,140%);bottom:calc(10px + env(safe-area-inset-bottom,0px));width:min(560px,calc(100% - 20px));box-sizing:border-box;padding:12px 14px 10px;border-radius:20px;background:linear-gradient(160deg,#5A1F3E 0%,#3A1128 55%,#2B0E1E 100%);border:1px solid rgba(232,203,148,.45);box-shadow:0 18px 40px -12px rgba(20,4,12,.65),0 0 0 4px rgba(232,203,148,.06);color:#F7EDE6;font-family:Manrope,system-ui,-apple-system,sans-serif;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .3s;opacity:0;-webkit-tap-highlight-color:transparent;text-align:left}
#clcDock.show{transform:translate(-50%,0);opacity:1}
#clcDock *{box-sizing:border-box}
#clcDock button{all:unset;box-sizing:border-box;cursor:pointer;-webkit-tap-highlight-color:transparent}
#clcDock .r1{display:flex;align-items:center;gap:12px}
#clcDock .pp{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#F6E5BE,#C9A96A 60%,#E8CB94);box-shadow:0 4px 14px -4px rgba(201,169,106,.7)}
#clcDock .pp svg{width:20px;height:20px;fill:#3A1128}
#clcDock .pp.wait svg{animation:clcPulse 1s ease-in-out infinite}
@keyframes clcPulse{50%{opacity:.35}}
#clcDock .m{flex:1;min-width:0}
#clcDock .t{display:block;font:400 16px/1.3 Prata,Georgia,serif;color:#FBF3EE;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#clcDock .s{display:block;margin-top:3px;font-size:12px;line-height:1.35;color:#E2CBD1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#clcDock .ls{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:4px}
#clcDock .sub{font-size:11.5px;font-weight:700;letter-spacing:.03em;color:#F6E5BE!important;text-decoration:none!important;padding:2px 9px;border-radius:999px;border:1px solid rgba(232,203,148,.45);line-height:1.4}
#clcDock .sub:hover{background:rgba(232,203,148,.12)}
#clcDock .l{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;letter-spacing:.02em;color:#E8CB94!important;text-decoration:none!important;border-bottom:1px solid rgba(232,203,148,.4);line-height:1.3}
#clcDock .l:hover{border-bottom-color:#E8CB94}
#clcDock .l svg{width:13px;height:13px;fill:currentColor;flex:none}
#clcDock .x{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(232,203,148,.45);color:#E8CB94;position:relative}
#clcDock .x:before,#clcDock .x:after{content:"";position:absolute;left:50%;top:50%;width:13px;height:1.6px;background:currentColor;border-radius:2px;transform:translate(-50%,-50%) rotate(45deg)}
#clcDock .x:after{transform:translate(-50%,-50%) rotate(-45deg)}
#clcDock .r2{display:flex;align-items:center;gap:10px;margin-top:8px}
#clcDock .bk{flex:none;display:inline-flex;align-items:center;gap:3px;height:30px;padding:0 9px;border-radius:999px;border:1px solid rgba(232,203,148,.4);color:#E8CB94;font-size:11.5px;font-weight:700;letter-spacing:.02em}
#clcDock .bk svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#clcDock .tm{flex:none;font-size:12px;font-variant-numeric:tabular-nums;color:#E2CBD1;min-width:32px;text-align:center}
#clcDock .tr{flex:1;height:34px;display:flex;align-items:center;cursor:pointer;touch-action:none;outline:none;position:relative}
#clcDock .rail{position:relative;width:100%;height:5px;border-radius:5px;background:rgba(232,203,148,.22)}
#clcDock .fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:5px;background:linear-gradient(90deg,#C9A96A,#F3DFB4)}
#clcDock .th{position:absolute;top:50%;left:0;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FFF6DF,#E8CB94 55%,#B48A45);box-shadow:0 2px 8px rgba(0,0,0,.45);transition:transform .15s}
#clcDock .tr.drag .th,#clcDock .tr:focus-visible .th{transform:scale(1.25)}
#clcDock .tr:focus-visible .rail{box-shadow:0 0 0 2px rgba(232,203,148,.5)}
@media(max-width:600px){#clcDock{padding:11px 12px 9px;border-radius:18px}#clcDock .t{font-size:15px}#clcDock .pp{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){#clcDock{transition:none}}
/* everything else steps aside while the dock is open */
#flPlayer{display:none!important}
body.clc-on .cl-mbar,body.clc-on .cl-txd{display:none!important}
@media(max-width:899px){body.clc-on #clTop,body.clc-on #clTop.lxl,body.clc-on #rfTop,body.clc-on .cl-totop{bottom:calc(var(--clc-h,0px) + 18px)!important}}
/* playing state on the page's own clip buttons and cards */
.clc-on.chip{border-color:#C9A96A!important;box-shadow:0 6px 18px -10px rgba(140,99,38,.6)}
.chip.clc-on i:before{border:0!important;width:3.5px;height:13px;margin:-6.5px 0 0 -5.5px;background:#3A1128;box-shadow:7px 0 0 #3A1128}
.chip.clc-on span:after{content:"Playing · tap to pause"!important}
.clc-bar{cursor:pointer;touch-action:none}

/* ---------- Gorgeous gold play buttons on every clip (1.0.2) ----------
   The Nov 15 "Listen as you read" circle used an invalid background (two images in one layer),
   so browsers dropped it and showed an empty disc. Every clip button now gets the same shiny gold. */
:root{--clc-pl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M16.5 12.5v15l12-7.5z' fill='%233A1128'/%3E%3C/svg%3E");--clc-pa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M15 13h3.6v14H15zM21.4 13H25v14h-3.6z' fill='%233A1128'/%3E%3C/svg%3E");--clc-gold:radial-gradient(circle at 34% 26%,#FFF8E4 0%,#F6E3B6 18%,#E2C27E 46%,#C49A4E 74%,#9C7230 100%);--clc-sheen:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.6) 48%,transparent 62%);--clc-glow:inset 0 1px 1px rgba(255,255,255,.85),inset 0 -3px 6px rgba(110,72,18,.35),0 5px 14px -4px rgba(140,99,38,.65),0 0 0 1px rgba(156,114,48,.35)}
@keyframes clcShine{0%,55%{background-position:center,-70px 0,center}85%,100%{background-position:center,70px 0,center}}
@keyframes clcShine2{0%,55%{background-position:-70px 0,center}85%,100%{background-position:70px 0,center}}
html body button[data-u][data-d]:not(.chip)::before,html body .cl-wa button[data-u]::before{content:""!important;flex:none!important;display:inline-block!important;width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:var(--clc-pl) center/100% no-repeat,var(--clc-sheen) -70px 0/220% 100% no-repeat,var(--clc-gold)!important;box-shadow:var(--clc-glow)!important;animation:clcShine 4.5s ease-in-out infinite;transition:transform .2s}
html body button[data-u][data-d]:not(.chip).clc-on::before,html body .cl-wa button[data-u].clc-on::before{background:var(--clc-pa) center/100% no-repeat,var(--clc-sheen) -70px 0/220% 100% no-repeat,var(--clc-gold)!important}
html body button[data-u][data-d]:not(.chip):hover::before{transform:scale(1.06)}
html body .med button[data-u][data-d]{gap:10px!important;padding:6px 16px 6px 6px!important}
html body .med button[data-u][data-d].clc-on{background:#fff!important;color:#4A1832!important;border-color:#C9A96A!important}
html body .cl-wa button[data-u].clc-on{background:#fff!important;color:#4A1832!important;border-color:#C9A96A!important}
html body .chip[data-u] i{background:var(--clc-sheen) -70px 0/220% 100% no-repeat,var(--clc-gold)!important;box-shadow:var(--clc-glow)!important;animation:clcShine2 4.5s ease-in-out infinite}
html body .clx[data-u] .cx-pl,html body .lxc[data-u] .lp,html body .clip[data-u] .pl,#clcDock .pp{background:var(--clc-sheen) -70px 0/220% 100% no-repeat,var(--clc-gold)!important;box-shadow:var(--clc-glow)!important;animation:clcShine2 4.5s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){html body [data-u]::before,html body [data-u] i,html body [data-u] .cx-pl,html body [data-u] .lp,html body [data-u] .pl,#clcDock .pp{animation:none!important}}

/* ---------- "Hear it from Tari" cards (moved here from the footer CL-CLIPS block, 1.1.0) ---------- */

.clx{--w:#4A1832;--g:#C9A96A;--c:#E8CB94;box-sizing:border-box;max-width:720px;margin:22px auto;padding:18px 20px 16px;border-radius:16px;background:linear-gradient(160deg,#FFFBF4,#F7ECDD);border:1px solid #E7D6C2;box-shadow:0 10px 28px -18px rgba(74,24,50,.45);font-family:Manrope,Arial,sans-serif;color:#4A1F35;text-align:left}
.clx *{box-sizing:border-box}
.clx .cx-top{display:flex;align-items:center;gap:14px}
.clx .cx-pl{all:unset;flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:linear-gradient(135deg,#F3DFB4,#C9A96A);box-shadow:0 6px 16px -6px rgba(140,99,38,.6);-webkit-tap-highlight-color:transparent;transition:transform .2s}
.clx .cx-pl:hover,.clx .cx-pl:focus-visible{transform:scale(1.05);background:linear-gradient(135deg,#F8E9C6,#D4B477)}
.clx .cx-pl svg{width:20px;height:20px;fill:#3A1128}
.clx .cx-tx{flex:1;min-width:0}
.clx .cx-eb{display:block;font-size:10.5px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:#8C6326;margin:0 0 4px}
.clx .cx-br{display:block;font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.5;color:#5E3A4C;margin:0 0 8px}
.clx .cx-q{display:block;font-family:Prata,Georgia,serif;font-size:18px;line-height:1.4;color:#4A1832;margin:0}
.clx .cx-bar{height:4px;border-radius:4px;background:rgba(201,169,106,.25);margin:14px 0 8px;overflow:hidden;cursor:pointer}
.clx .cx-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#C9A96A,#7A1F45);transition:width .25s linear}
.clx .cx-ft{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12.5px;color:#6A4E5B}
.clx .cx-ft a.cx-l{color:#7A1F45!important;text-decoration:none!important;font-weight:700;border-bottom:1px solid rgba(122,31,69,.3)}
.clx .cx-ft a.cx-l:hover{border-bottom-color:#7A1F45}
.clx.on{border-color:#C9A96A;box-shadow:0 12px 30px -16px rgba(140,99,38,.55)}
@media(max-width:600px){.clx .cx-br{font-size:14.5px}.clx{margin:18px 0;padding:15px 15px 13px}.clx .cx-q{font-size:16.5px}.clx .cx-pl{width:46px;height:46px}}

.clx .cx-ft a.cx-l{display:inline-flex;align-items:center;gap:5px}
.clx .cx-ft a.cx-l svg{width:14px;height:14px;fill:currentColor;flex:none}
/* 1.1.3: steady card footer. The time never wraps and keeps a fixed width; the link stays on one line and
   drops below the time as a whole when the card is narrow, so nothing shifts while a clip plays. */
.clx .cx-ft{flex-wrap:wrap;row-gap:6px}
.clx .cx-ft .cx-tm{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:6.2em}
.clx .cx-ft a.cx-l{white-space:nowrap;flex:none;margin-left:auto}
@media(max-width:600px){.clx .cx-ft a.cx-l{margin-left:0}}
/* 1.1.4: when a card's clip finishes, its link becomes "Subscribe on YouTube"; playing again brings the episode link back. */
.clx .cx-ft a.cx-sub{display:none;align-items:center;gap:5px;white-space:nowrap;flex:none;margin-left:auto;color:#7A1F45!important;text-decoration:none!important;font-weight:700;border-bottom:1px solid rgba(122,31,69,.3)}
.clx .cx-ft a.cx-sub svg{width:14px;height:14px;fill:currentColor;flex:none}
.clx.end .cx-ft a.cx-sub{display:inline-flex}
.clx.end .cx-ft a.cx-l{display:none}
@media(max-width:600px){.clx .cx-ft a.cx-sub{margin-left:0}}
