body.pg-living { overflow: hidden; background: #0c0d0c; }
.story { position: relative; height: calc(100vh - 3.25rem); height: calc(100dvh - 3.25rem); min-height: 22rem; outline: none; overflow: hidden; }
.story .plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease; }
.story .plate.fading { opacity: 0; }
.glass {
  position: absolute; inset-inline-start: var(--ap-page-gutter, 1.25rem); inset-block-end: var(--ap-page-gutter, 1.25rem); width: min(25rem, calc(100% - 2.5rem));
  padding: 1rem 1.2rem 1.1rem; border-radius: 1rem .94rem 1rem .9rem; color: #1d1e1b;
  background: rgba(251, 250, 246, .6); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 1.2rem 3rem -1.4rem rgba(0, 0, 0, .55);
}
:root[data-themed][data-theme="dark"] .glass { color: #e9e6db; background: rgba(14, 15, 13, .55); border-color: rgba(255, 255, 255, .12); }
@media (prefers-color-scheme: dark) { :root[data-themed]:not([data-theme="light"]) .glass { color: #e9e6db; background: rgba(14, 15, 13, .55); border-color: rgba(255, 255, 255, .12); } }
.glass .pg-label { color: inherit; opacity: .7; }
.glass h1 { margin: .15rem 0 .3rem; font:400 1.25rem/1.3 var(--pg-serif); }
.glass p { margin: .3rem 0; }
.glass .small { font-size: 12px; opacity: .72; }
.glass .steps { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; }
.glass .pg-text { color: inherit; opacity: .75; }
.glass .pg-action { color: inherit; border-color: currentColor; }
.empty { position: absolute; inset: 0; padding: 1.5rem var(--ap-page-gutter, 1.25rem); background: var(--pg-bg); overflow: auto; }
@media (prefers-reduced-motion: reduce) { .story .plate { transition: none; } }
@media (max-width: 630px) { .story { height: calc(100dvh - 5.5rem); } .glass { inset-inline: .625rem; width: auto; } }
.story .plate { object-position: 0% 100%; }
.story[data-lens="1"] .glass { inset-block: 1.25rem auto; }
.story .plate { background: #0c0d0c; }
.glass .dots { display: flex; gap: .35rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.glass .dots button { inline-size: 1.6rem; block-size: 1.6rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: .4rem; color: inherit; }
.glass .dots button::before { content: ""; inline-size: .4rem; block-size: .4rem; border-radius: 50%; border: 1px solid currentColor; opacity: .6; }
.glass .dots button[aria-current="true"]::before { background: currentColor; opacity: 1; }
.glass .dots button:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
noscript .ns { padding: 1.5rem var(--ap-page-gutter, 1.25rem); }
body.pg.pg-living .ap-masthead { background: var(--ap-mast-bg); }
@media (max-width: 720px), (max-aspect-ratio: 1/1) {
  body.pg-living { overflow: auto; }
  .story { height: auto; min-height: 0; overflow: visible; }
  .story .plate { position: static; display: block; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
  .glass, .story[data-lens="1"] .glass { position: static; inset: auto; width: auto; margin: .75rem .625rem 1.25rem; }
}
