
/* Layout: one night scene from the single artwork. Header floats in the sky, every call is a light above the field,
   the rotary phone sits in the grass, and a message opens as a sheet rising from the ground. Single dark look on purpose. */
.pcth-night{
  color-scheme: dark;
  --night:#04060d;      /* top of the sky */
  --dusk:#111a2b;       /* sky near the horizon */
  --slate:#34505c;      /* the phone */
  --ember:#eeb065;      /* horizon glow, open lights */
  --straw:#b9a26a;      /* dry grass */
  --star:#f4ecdc;       /* reading text */
  --mist:rgba(244,236,220,.62);
  --faint:rgba(244,236,220,.34);
  --glass:rgba(11,15,25,.9);
  --line:rgba(244,236,220,.13);
  --display:"Fraunces", "Iowan Old Style", Georgia, serif;
  --body:"Figtree", -apple-system, "Segoe UI", system-ui, sans-serif;
  --hand:"Caveat", "Bradley Hand", "Segoe Print", cursive;
}
.pcth-night{background:var(--night);color:var(--star);font-family:var(--body);font-size:15px;line-height:1.5;overflow-x:hidden}
.pcth-night button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.pcth-night :focus-visible{outline:2px solid var(--ember);outline-offset:3px;border-radius:4px}

.pcth-night .scene{position:relative;min-height:100svh;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.pcth-night #sky{position:absolute;inset:0;width:100%;height:100%;z-index:-1;display:block}
.pcth-night .veil{position:absolute;inset:0;background:rgba(3,5,10,.5);opacity:0;transition:opacity .6s ease;pointer-events:none;z-index:1}
.pcth-night .scene.open .veil{opacity:0}

.pcth-night .head{position:relative;z-index:2;text-align:center;padding-block:30px 6px;
  padding-left:max(16px, env(safe-area-inset-left, 0px));padding-right:max(16px, env(safe-area-inset-right, 0px));
  text-shadow:0 1px 14px rgba(0,0,0,.9)}
.pcth-night .head .h1{font-family:var(--display);font-style:var(--t-style,italic);font-weight:var(--t-weight,400);font-size:calc(clamp(32px,6.4vw,58px) * var(--t-scale,1));line-height:1.02;margin:0;letter-spacing:var(--t-space,-.01em);text-transform:var(--t-case,none);text-wrap:balance}
.pcth-night .head .sub{margin:10px auto 0;color:var(--mist);max-width:34ch;font-size:16px;text-wrap:balance}
.pcth-night .head .count{margin:14px auto 0;font-size:12.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--mist)}
.pcth-night .head .count b{color:var(--ember);font-weight:600}
.pcth-night .chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}
.pcth-night .chip{padding:6px 14px;border:1px solid var(--line);border-radius:999px;font-size:13px;color:var(--mist);background:rgba(8,11,19,.45);transition:color .25s,border-color .25s,background .25s}
.pcth-night .chip:hover{color:var(--star);border-color:rgba(244,236,220,.3)}
.pcth-night .chip[aria-pressed="true"]{color:#1a1206;background:var(--ember);border-color:var(--ember);font-weight:600}

.pcth-night .sky{position:relative;flex:1 1 auto;min-height:360px;z-index:2}
.pcth-night .light{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;display:grid;place-items:center;transition:opacity .5s}
.pcth-night .light .core{width:9px;height:9px;border-radius:50%;background:#fff6e3;
  box-shadow:0 0 8px 3px rgba(255,226,170,.9),0 0 26px 10px rgba(238,176,101,.5),0 0 60px 22px rgba(238,176,101,.18);
  animation:breathe 4.6s ease-in-out infinite}
.pcth-night .light:nth-child(2n) .core{animation-duration:5.8s;animation-delay:-2s}
.pcth-night .light:nth-child(3n) .core{animation-duration:6.6s;animation-delay:-3.4s}
.pcth-night .light .ring{position:absolute;width:18px;height:18px;border-radius:50%;border:1px solid rgba(238,176,101,.7);opacity:0}
.pcth-night .light.active .ring{animation:ring 2.4s ease-out infinite}
.pcth-night .light.active .ring + .ring{animation-delay:1.2s}
.pcth-night .light .to{position:absolute;top:50%;transform:translateY(-54%);white-space:nowrap;font-family:var(--hand);font-size:21px;font-weight:500;color:var(--star);text-shadow:0 1px 10px #000,0 0 3px #000;transition:color .3s}
.pcth-night .light[data-side="r"] .to{left:36px}
.pcth-night .light[data-side="l"] .to{right:36px}
.pcth-night .light:hover .to,.pcth-night .light.active .to{color:var(--ember)}
.pcth-night .light.dim{opacity:.22}
.pcth-night .light.song .core{width:11px;height:11px;background:#fff;box-shadow:0 0 10px 4px rgba(255,240,210,.95),0 0 40px 16px rgba(238,176,101,.6)}
@keyframes breathe{0%,100%{transform:scale(.82);opacity:.82}50%{transform:scale(1.18);opacity:1}}
@keyframes ring{0%{transform:scale(1);opacity:.8}100%{transform:scale(4.2);opacity:0}}

.pcth-night .tip{position:absolute;z-index:3;transform:translate(-50%,-150%);padding:5px 11px;font-size:12.5px;color:var(--mist);background:var(--glass);border:1px solid var(--line);border-radius:4px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .3s}
.pcth-night .tip.on{opacity:1}

.pcth-night .field{position:relative;z-index:2;text-align:center;padding-block:0 22px}
.pcth-night .ground{position:relative;width:min(100%,640px);margin:0 auto}
.pcth-night .ground img{display:block;width:100%;height:auto;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 17%,#000 83%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 13%,#000 76%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 17%,#000 83%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 13%,#000 76%,transparent 100%);
  mask-composite:intersect}
.pcth-night .call{position:absolute;left:0;right:0;bottom:0;text-shadow:0 1px 12px #000,0 0 4px #000}
.pcth-night .field .eyebrow{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--mist)}
.pcth-night .field .number{font-family:var(--display);font-size:27px;letter-spacing:.02em;user-select:all;margin-top:2px}
.pcth-night .field .txt{padding-left:max(16px, env(safe-area-inset-left, 0px));padding-right:max(16px, env(safe-area-inset-right, 0px))}
.pcth-night .field .say{color:var(--mist);margin:10px auto 0;max-width:36ch;font-size:14px;text-wrap:balance}
.pcth-night .field .proto{margin:16px auto 0;font-size:11.5px;color:var(--faint);max-width:52ch}
.pcth-night .songplay{margin-top:16px;padding:9px 18px;border:1px solid rgba(238,176,101,.5);border-radius:999px;color:var(--ember);font-weight:600;font-size:14px}
.pcth-night .songplay:hover{background:rgba(238,176,101,.1)}

.pcth-night .views{display:inline-flex;margin-top:14px;border:1px solid var(--line);border-radius:999px;padding:3px;background:rgba(8,11,19,.5)}
.pcth-night .views button{padding:6px 16px;border-radius:999px;font-size:13px;color:var(--mist)}
.pcth-night .views button[aria-pressed="true"]{background:rgba(244,236,220,.16);color:var(--star);font-weight:600}
.pcth-night .worldnote{margin:14px auto 0;max-width:42ch;font-size:13.5px;color:var(--mist);text-wrap:balance}
.pcth-night .worldnote b{color:var(--ember);font-weight:600}
.pcth-night .scene.world .light{opacity:0;pointer-events:none}
.pcth-night .scene.world .sky{touch-action:none;cursor:grab;min-height:min(70vh,640px)}
.pcth-night .ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.pcth-night .ctl .time{margin:0 auto 0 0}
.pcth-night .ctl button{padding:5px 12px;border:1px solid var(--line);border-radius:999px;font-size:12.5px;color:var(--mist)}
.pcth-night .ctl button:hover{color:var(--star);border-color:rgba(244,236,220,.3)}
.pcth-night .ctl button[aria-pressed="true"]{color:var(--ember);border-color:rgba(238,176,101,.5)}
.pcth-night .bars{cursor:pointer}
.pcth-night .words li.credit{font-family:var(--body);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(244,236,220,.28)}
.pcth-night .words li.credit.lit{color:var(--ember)}

.pcth-night .zoom{position:absolute;left:max(16px, env(safe-area-inset-left, 0px));bottom:18px;display:grid;gap:8px;z-index:3}
.pcth-night .zoom button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--glass);font-size:21px;line-height:1;color:var(--star)}
.pcth-night .zoom button:hover{border-color:rgba(238,176,101,.6)}
.pcth-night .tourbtn{margin-top:12px;padding:9px 20px;border-radius:999px;background:var(--ember);color:#1a1206;font-weight:600;font-size:14px}
.pcth-night .tourbtn[aria-pressed="true"]{background:transparent;color:var(--ember);border:1px solid rgba(238,176,101,.55)}

/* calm sky: the five family stars sit quietly, names only on hover */
.pcth-night .sky .light .core{width:6px;height:6px;animation:none;background:#fff3dc;box-shadow:0 0 6px 2px rgba(255,226,170,.8),0 0 18px 7px rgba(238,176,101,.26)}
.pcth-night .sky .light::before,.pcth-night .sky .light::after{content:"";position:absolute;left:50%;top:50%;background:linear-gradient(90deg,transparent,rgba(255,236,200,.55),transparent);width:30px;height:1px;margin:-.5px 0 0 -15px;animation:glint 8s ease-in-out infinite}
.pcth-night .sky .light::after{transform:rotate(90deg)}
.pcth-night .sky .light:nth-child(2n)::before,.pcth-night .sky .light:nth-child(2n)::after{animation-delay:-3s}
.pcth-night .sky .light:nth-child(3n)::before,.pcth-night .sky .light:nth-child(3n)::after{animation-delay:-5.5s}
@keyframes glint{0%,100%{opacity:.25}50%{opacity:.85}}
.pcth-night .sky .light.active .ring{animation:none;opacity:0}
.pcth-night .sky .light .to{opacity:0;transition:opacity .45s,color .3s;font-size:19px}
.pcth-night .sky .light:hover .to,.pcth-night .sky .light:focus-visible .to{opacity:1}
.pcth-night .sky .light.song .to{opacity:.6;font-size:17px}
.pcth-night .sky .light.away{opacity:0;transition:opacity .5s}
.pcth-night .hint{margin:10px auto 0;font-size:13.5px;color:var(--mist);max-width:36ch;text-wrap:balance}
.pcth-night .gstar{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;display:grid;place-items:center;opacity:0;z-index:3;
  transition:left 1.8s cubic-bezier(.2,.7,.2,1),top 1.8s cubic-bezier(.2,.7,.2,1),opacity .9s}
.pcth-night .gstar.in{opacity:1}
.pcth-night .gstar .core{width:5px;height:5px;border-radius:50%;background:#fff6e3;box-shadow:0 0 6px 2px rgba(255,236,200,.85),0 0 16px 6px rgba(255,220,170,.25);transition:transform .3s}
.pcth-night .gstar:hover .core{transform:scale(1.5)}
.pcth-night .gstar .from{position:absolute;top:31px;left:50%;transform:translateX(-50%);white-space:nowrap;font-family:var(--hand);font-size:19px;color:var(--star);text-shadow:0 1px 8px #000,0 0 3px #000;opacity:0;transition:opacity .9s 1s,color .3s}
.pcth-night .gstar.in .from{opacity:.95}
.pcth-night .gstar:hover .from{color:var(--ember)}
.pcth-night .clabel{position:absolute;transform:translateX(-50%);white-space:nowrap;font-family:var(--hand);font-size:21px;color:var(--star);text-shadow:0 1px 8px #000,0 0 3px #000;z-index:3;opacity:0;transition:opacity .9s,color .3s;padding:6px 10px}
.pcth-night .clabel.on{opacity:1}
.pcth-night .clabel:not(:disabled):hover{color:var(--ember)}
.pcth-night .clabel:disabled{cursor:default}
.pcth-night .chart{position:absolute;z-index:3;top:24px;right:max(24px, env(safe-area-inset-right, 0px));width:clamp(170px,17vw,250px);aspect-ratio:2.6/1;cursor:pointer;border-radius:4px}
.pcth-night .chart::after{content:"where the calls come from";position:absolute;left:0;right:0;top:100%;margin-top:5px;text-align:center;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);white-space:nowrap}
@media (max-width:760px){ .pcth-night .chart{position:relative;top:auto;right:auto;flex:none;margin:12px auto 22px;width:190px} }
@media (prefers-reduced-motion:reduce){ .pcth-night .sky .light::before,.pcth-night .sky .light::after{animation:none} .pcth-night .gstar{transition:opacity .4s} }

.pcth-night .opts{display:inline-flex;margin-top:14px;border:1px solid var(--line);border-radius:999px;padding:3px;background:rgba(8,11,19,.5)}
.pcth-night .opts button{padding:6px 14px;border-radius:999px;font-size:12.5px;color:var(--mist)}
.pcth-night .opts button[aria-pressed="true"]{background:rgba(244,236,220,.16);color:var(--star);font-weight:600}
.pcth-night .scene.m2 .chart{top:304px;right:max(28px, env(safe-area-inset-right, 0px));width:min(42vw,580px)}
.pcth-night .scene.m3 .chart{display:none}
@media (max-width:760px){ .pcth-night .scene.m2 .chart{top:auto;right:auto;width:calc(100% - 32px);margin:14px auto 26px} }

.pcth-night .scene .opts{margin-top:14px}
.pcth-night .vlist{display:none;position:absolute;z-index:3;top:16px;right:max(28px, env(safe-area-inset-right, 0px));bottom:30px;width:310px;overflow-y:auto;
  background:rgba(8,11,19,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:6px;padding:4px 14px 10px;text-align:left}
.pcth-night .vlist h3{margin:12px 0 4px;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);font-weight:500}
.pcth-night .vlist ul{list-style:none;margin:0;padding:0}
.pcth-night .row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;text-align:left;padding:10px 2px;border-bottom:1px solid var(--line);font-size:14.5px;color:var(--star);transition:color .3s}
.pcth-night .row:hover{color:var(--ember)}
.pcth-night .row .dot{width:5px;height:5px;border-radius:50%;justify-self:center;background:#ffe9c9;box-shadow:0 0 6px 2px rgba(255,226,170,.55);transition:all .3s}
.pcth-night .row .nm2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcth-night .row.fam .nm2{font-family:var(--hand);font-size:20px;line-height:1.1}
.pcth-night .row .t{font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums}
.pcth-night .row.on{color:var(--ember)}
.pcth-night .row.on .dot{background:var(--ember);box-shadow:0 0 10px 4px rgba(238,176,101,.7);transform:scale(1.5)}
.pcth-night .nowbar{display:none;position:absolute;z-index:3;left:50%;bottom:22px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;text-align:center}
.pcth-night .scene .nowbar{display:flex}
.pcth-night .nowbar .from2{flex-basis:100%;font-family:var(--hand);font-style:var(--p-style,normal);letter-spacing:var(--p-space,0);text-transform:var(--p-case,none);font-size:calc(30px * var(--p-scale,1));line-height:1.1;color:var(--star);text-shadow:0 1px 10px #000,0 0 3px #000;min-height:34px}
.pcth-night .nowbar .nbcap{flex-basis:100%;font-family:var(--body);font-size:17px;line-height:1.4;color:rgba(240,234,222,.9);text-shadow:0 1px 8px #000,0 0 3px #000;min-height:26px;max-width:600px;margin:0 auto;transition:opacity .4s}
.pcth-night .nowbar .nbcap:empty{min-height:0}
.pcth-night .nowbar button{padding:9px 20px;border-radius:999px;border:1px solid rgba(238,176,101,.55);color:var(--ember);font-weight:600;font-size:14px;background:rgba(8,11,19,.55)}
.pcth-night .nowbar button.main{background:var(--ember);color:#1a1206;border-color:var(--ember)}
@media (max-width:899px){
  .pcth-night .scene.d1 .sky{min-height:600px}
  .pcth-night .scene.d2 .sky{min-height:560px}
  .pcth-night .vlist{left:16px;right:16px;top:170px;bottom:18px;width:auto}
  .pcth-night .nowbar .from2{font-size:25px}
}

.pcth-night .rot{position:absolute;left:0;right:0;z-index:3;pointer-events:none;overflow:hidden}
.pcth-night .scene.d1 .sky{min-height:520px}
.pcth-night .scene.d1 .rot{top:43%;bottom:132px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent)}
.pcth-night .scene.d2 .rot{bottom:118px;height:92px;-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}
.pcth-night .scene.d3 .rot{display:none}
.pcth-night .ritem{position:absolute;pointer-events:auto;display:flex;align-items:center;gap:12px;white-space:nowrap;text-align:left;color:var(--star);text-shadow:0 1px 10px #000,0 0 3px #000}
.pcth-night .ritem .pb{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid rgba(238,176,101,.6);display:grid;place-items:center;background:rgba(8,11,19,.55);transition:background .3s}
.pcth-night .ritem .pb::after{content:"";border-left:9px solid var(--ember);border-top:6px solid transparent;border-bottom:6px solid transparent;margin-left:3px}
.pcth-night .ritem .big{display:block;font-family:var(--hand);font-size:calc(30px * var(--p-scale,1));font-style:var(--p-style,normal);font-weight:var(--p-weight,500);letter-spacing:var(--p-space,0);text-transform:var(--p-case,none);line-height:1;transition:color .3s}
.pcth-night .ritem .small{display:block;font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--mist);margin-top:4px;min-height:12px}
.pcth-night .ritem:hover .big,.pcth-night .ritem.on .big{color:var(--ember)}
.pcth-night .ritem.on .pb{background:var(--ember)}
.pcth-night .ritem.on .pb::after{border-left-color:#1a1206}
.pcth-night .ritem:hover{animation-play-state:paused}
.pcth-night .scene.d1 .ritem{top:100%;animation:riseUp var(--dur,13s) linear forwards}
.pcth-night .scene.d2 .ritem{left:100%;top:50%;margin-top:-24px;animation:driftL var(--dur,40s) linear forwards}
@keyframes riseUp{0%{transform:translateY(0);opacity:0}14%{opacity:1}84%{opacity:1}100%{transform:translateY(calc(-1 * var(--travel,320px)));opacity:0}}
@keyframes driftL{0%{transform:translateX(0)}100%{transform:translateX(calc(-1 * var(--travel,1600px)))}}
@media (max-width:899px){ .pcth-night .ritem .big{font-size:calc(26px * var(--p-scale,1))} }
/* type options: the title and the floating places change together */
.pcth-night .scene.f2{--display:"Cormorant Garamond", Georgia, serif;--hand:"Cormorant Garamond", Georgia, serif;--t-weight:500;--t-scale:1.12;--p-style:italic;--p-scale:1.02}
.pcth-night .scene.f3{--display:"Playfair Display", Georgia, serif;--hand:"Shadows Into Light", "Bradley Hand", cursive;--p-scale:.9;--p-weight:400}
.pcth-night .scene.f4{--display:"DM Serif Display", Georgia, serif;--hand:"Josefin Sans", "Helvetica Neue", sans-serif;--t-style:normal;--t-space:.01em;--p-scale:.6;--p-space:.3em;--p-case:uppercase;--p-weight:300}
.pcth-night .scene.f5{--display:"Libre Caslon Display", Georgia, serif;--hand:"Special Elite", "Courier New", monospace;--t-style:normal;--t-scale:1.04;--p-scale:.68;--p-weight:400}
.pcth-night .scene.f6{--display:"Josefin Sans", "Helvetica Neue", sans-serif;--hand:"Cormorant Garamond", Georgia, serif;--t-style:normal;--t-weight:300;--t-scale:.74;--t-space:.26em;--t-case:uppercase;--p-style:italic;--p-scale:1.02}
.pcth-night .scene.p1{--hand:"Cormorant Garamond", Georgia, serif;--p-style:italic;--p-scale:1.02;--p-space:0;--p-case:none;--p-weight:500}
.pcth-night .scene.p2{--hand:"Josefin Sans", "Helvetica Neue", sans-serif;--p-style:normal;--p-scale:.6;--p-space:.3em;--p-case:uppercase;--p-weight:300}
.pcth-night .scene.p3{--hand:"Marcellus", Georgia, serif;--p-style:normal;--p-scale:.66;--p-space:.16em;--p-case:uppercase;--p-weight:400}
.pcth-night .scene.p4{--hand:"Caveat", "Bradley Hand", cursive;--p-style:normal;--p-scale:1;--p-space:0;--p-case:none;--p-weight:500}
.pcth-night .scene.p5{--hand:"Shadows Into Light", "Bradley Hand", cursive;--p-style:normal;--p-scale:.9;--p-space:.01em;--p-case:none;--p-weight:400}
.pcth-night .scene.p6{--hand:"Pinyon Script", "Snell Roundhand", cursive;--p-style:normal;--p-scale:1.12;--p-space:0;--p-case:none;--p-weight:400}
.pcth-night .scene.p7{--hand:"Special Elite", "Courier New", monospace;--p-style:normal;--p-scale:.68;--p-space:.02em;--p-case:none;--p-weight:400}
.pcth-night .scene.p8{--hand:"Fraunces", Georgia, serif;--p-style:italic;--p-scale:.86;--p-space:-.005em;--p-case:none;--p-weight:400}
.pcth-night .typeopts{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
.pcth-night .typeopts span{align-self:center;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-right:4px}
.pcth-night .typeopts button{padding:5px 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--mist);background:rgba(8,11,19,.45)}
.pcth-night .typeopts button[aria-pressed="true"]{color:var(--ember);border-color:rgba(238,176,101,.55)}
.pcth-night .homebtn{position:absolute;z-index:3;left:max(18px, env(safe-area-inset-left, 0px));top:12px;padding:6px 13px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--mist);background:rgba(8,11,19,.55)}
.pcth-night .homebtn:hover{color:var(--star)}

/* the message sheet */
.pcth-night .sheet{box-sizing:border-box;position:fixed;z-index:5;left:50%;bottom:calc(20px + env(safe-area-inset-bottom, 0px));width:min(560px, calc(100% - 32px));
  transform:translate(-50%, 30px);opacity:0;visibility:hidden;
  transition:transform .55s cubic-bezier(.2,.8,.2,1),opacity .4s ease,visibility 0s linear .55s;
  background:var(--glass);border:1px solid var(--line);border-top-color:rgba(238,176,101,.45);border-radius:6px;
  padding:22px 24px 20px;box-shadow:0 30px 80px rgba(0,0,0,.7);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);max-height:calc(100% - 40px);overflow:auto}
.pcth-night .sheet.on{transform:translate(-50%,0);opacity:1;visibility:visible;transition-delay:0s}
.pcth-night .sheet .x{position:absolute;top:8px;right:8px;width:40px;height:40px;font-size:22px;line-height:1;color:var(--mist)}
.pcth-night .sheet .x:hover{color:var(--star)}
.pcth-night .sheet h2{font-family:var(--hand);font-weight:600;font-size:32px;line-height:1.05;margin:0 44px 0 0;color:var(--ember)}
.pcth-night .sheet .bless{font-size:12px;color:var(--faint);margin-top:4px}

.pcth-night .player{display:flex;gap:16px;align-items:center;margin-top:18px}
.pcth-night .dial{flex:none;width:64px;height:64px;border-radius:50%;position:relative}
.pcth-night .dial svg{width:100%;height:100%;display:block}
.pcth-night .dial .hole{fill:rgba(244,236,220,.16);transition:fill .3s}
.pcth-night .dial .hole.on{fill:var(--ember)}
.pcth-night .tracks{flex:1 1 auto;min-width:0;display:grid;gap:8px}
.pcth-night .track{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.pcth-night .bars{display:flex;align-items:center;gap:3px;height:26px}
.pcth-night .bars i{flex:1 1 0;max-width:4px;min-width:1px;height:14%;background:var(--star);border-radius:2px;opacity:.75}
.pcth-night .bed{height:16px;overflow:hidden;position:relative}
.pcth-night .bed svg{position:absolute;left:0;top:0;height:16px;width:200%}
.pcth-night .bed path{fill:none;stroke:var(--ember);stroke-width:1.4;opacity:.8}
.pcth-night .music .bed svg{animation:slide 5s linear infinite}
@keyframes slide{to{transform:translateX(-50%)}}
.pcth-night .time{font-variant-numeric:tabular-nums;font-size:12px;color:var(--faint);margin-top:8px}

.pcth-night .words{margin:14px 0 0;padding:0 6px 0 0;list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;font-family:var(--display);font-size:18px;line-height:1.38;max-height:min(34vh,250px);overflow-y:auto;scroll-behavior:smooth}
.pcth-night .words li{color:rgba(244,236,220,.4);transition:color .9s ease}
.pcth-night .words li.lit{color:var(--star)}
.pcth-night .words .nm{font-family:var(--body);font-size:12px;letter-spacing:.04em;padding:1px 8px;border:1px dashed var(--faint);border-radius:999px;color:var(--faint);vertical-align:2px;white-space:nowrap}
.pcth-night .songcopy{margin:14px 0 0;font-size:16px;color:var(--mist);max-width:46ch}
.pcth-night .songcopy + .songcopy{margin-top:10px}
.pcth-night .songcopy b{color:var(--star);font-weight:500}

.pcth-night .acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px}
.pcth-night .leave{padding:10px 20px;border-radius:999px;background:var(--ember);color:#1a1206;font-weight:600;font-size:14.5px;transition:transform .2s,background .3s}
.pcth-night .leave:hover{transform:translateY(-1px)}
.pcth-night .leave[disabled]{background:transparent;color:var(--ember);border:1px solid rgba(238,176,101,.5);cursor:default;transform:none}
.pcth-night .acts .after{font-size:13.5px;color:var(--mist)}

@media (min-width:900px){
  .pcth-night .sheet.side{left:auto;right:max(24px, env(safe-area-inset-right, 0px));bottom:auto;top:54%;width:350px;transform:translate(24px,-50%)}
  .pcth-night .sheet.side.on{transform:translate(0,-50%)}
  .pcth-night .sheet.side .track{grid-template-columns:1fr;gap:3px}
}
@media (max-width:600px){
  .pcth-night .sheet{left:0;bottom:0;width:100%;transform:translate(0,30px);border-radius:10px 10px 0 0;border-left:0;border-right:0;border-bottom:0;
    padding:20px 18px calc(20px + env(safe-area-inset-bottom, 0px))}
  .pcth-night .sheet.on{transform:translate(0,0)}
  .pcth-night .track{grid-template-columns:1fr;gap:3px}
  .pcth-night .words{font-size:17px;max-height:min(24vh,180px)}
  .pcth-night .light .to{font-size:19px}
}
@media (prefers-reduced-motion:reduce){
  .pcth-night .light .core,.pcth-night .light.active .ring,.pcth-night .music .bed svg{animation:none}
  .pcth-night .sheet,.pcth-night .veil{transition:none}
}

.pcth-night{position:relative;overflow:hidden}
.pcth-night [hidden]{display:none!important}
.pcth-night img{max-width:100%}
.pcth-night .sheet{z-index:40}
.pcth-night .scene{box-sizing:border-box}
