.poo-main{max-width:720px;margin-inline:auto}
.poo-upload{margin:.75rem 0 1.3rem;color:var(--red)}
.poo-upload summary{font-weight:800;cursor:pointer;min-height:44px;align-content:center;width:fit-content}
.poo-upload form{display:grid;gap:.7rem;max-width:26rem;padding:1rem;background:var(--cream);border:1px solid var(--line);color:var(--ink)}
.poo-upload form label{display:grid;gap:.2rem;font-weight:700}
.poo-upload input{min-width:0;max-width:100%;font:inherit}
.poo-upload form button{justify-self:start;padding:.4rem .95rem;min-height:44px;border:0;background:var(--red);color:white;font:inherit;font-weight:750;cursor:pointer}
.poo-upload-status,#poo-upload-status:empty{margin:0} #poo-upload-status:empty{display:none}
#poo-recent{display:grid;gap:clamp(14px,2.3vw,22px)}
#poo-recent:not(:empty){margin-block:1.5rem 2rem}
.poo-day-card{
 margin:0;min-width:0;padding:clamp(1rem,3vw,1.85rem);
 background:#fff;border:1px solid #e9ded5;border-radius:14px;
}
.poo-day-card time{display:block;margin-bottom:.75rem;color:#000;font-size:.8125rem}
.poo-day-card .poo-photo{margin:0;min-width:0}
.poo-day-card .poo-photo + .poo-photo{margin-top:clamp(.8rem,2vw,1.15rem);border-top:1px solid #eee6de;padding-top:clamp(.8rem,2vw,1.15rem)}
.poo-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center;background:var(--cream)}
/* At the same width, 117/160 is 1.3 times the landscape height, 9/16. */
.poo-photo img.poo-photo-portrait{aspect-ratio:160/117;background:#fff}
.poo-page .journal-history{margin-top:2rem}

.poo-photo figcaption{margin-top:.75rem;color:var(--ink);overflow-wrap:anywhere;text-align:center}
#poo-caption{box-sizing:border-box;width:100%;padding:.45rem;border:1px solid var(--line);background:white;color:var(--ink)}

.poo-subtitle{margin:.25rem 0 .85rem;color:var(--ink);font-size:1.1rem;font-weight:750}

.poo-archive-nav:not([hidden]){display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.25rem;text-align:center;margin:1rem 0}
.poo-archive-nav button{min-height:44px;padding:.2rem .45rem;background:transparent;color:var(--red);border:1px solid var(--line);font:inherit;font-size:.82rem;font-weight:750;white-space:nowrap;cursor:pointer}
.poo-archive-nav button:disabled{visibility:hidden}
.poo-archive-range{font-size:clamp(.74rem,2.8vw,.95rem);line-height:1.4}
.poo-day-card time,.poo-day-card .poo-photo{scroll-margin-top:calc(1rem + clamp(1rem,3vw,1.85rem))}

/* Unlike the journal, Scoop renders its weekdays and days as direct grid children. */
#poo-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.14rem 0}
#poo-days .poo-cal-cell{display:grid;place-items:center;min-width:0}
#poo-days .poo-cal-cell.outside-month .journal-day:not(.has-post){color:#786d67}
#poo-days .journal-day{width:100%;padding:0}

#poo-archive-nav{scroll-margin-top:max(.6rem,env(safe-area-inset-top))}

.poo-page .journal-month-bar button:disabled{opacity:.35;cursor:default}

/* Match the studio's section heroes. Fill the frame width without
   trimming the sides of the newspaper; crop its lower columns first. */
.poo-page .section-hero--poo .poo-news-scene img{object-position:center 5%}
@media(min-width:761px){
 .poo-page .section-hero--poo .soundstage-layout{
  min-height:clamp(33.1875vw,clamp(21rem,35vw,32rem),39.3333vw)
 }
}
@media(max-width:760px){
 .poo-page .section-hero--poo .poo-news-scene img{aspect-ratio:16/9}
}

.poo-upload form label.poo-upload-archive{display:flex;align-items:center;gap:.45rem;font-size:.875rem}
.poo-upload form label[hidden]{display:none}
.poo-upload form select{font:inherit;max-width:100%;min-width:0;padding:.45rem;border:1px solid var(--line);background:#fff;color:var(--ink)}

/* The January 16 master is 738 × 1600; trim 145px from each black edge.
   Keep the whole photo width and leave the original safely stored. */
#poo-photo-2026-01-16 figure[data-post-id="6c73379b-dd82-4ac6-844e-78416b20fe16"] > img {
  width:min(100%, 24rem);
  margin-inline:auto;
  aspect-ratio:738/1310;
  object-fit:cover;
  object-position:center;
}
