/* Partake "Studio Wall" (album.html). Shell (sidebar, .nav, .mnav) comes from
   broken-head-inc.webflow.css; everything here is the content area. */

:root {
  --pt-paper: #FBFAFF;        /* print paper */
  --pt-index: #FFFDF8;        /* index card */
  --pt-sticky: #FFD9A8;       /* sticky note */
  --pt-warm: #FFE7C7;         /* hover warm */
  --pt-tint-1: #E1DEFB;
  --pt-tint-2: #EAE8FC;
  --pt-tint-3: #D6D2FA;       /* ruled lines, dots */
  --pt-tint-4: #B3AEF6;       /* ghost borders */
  --pt-placeholder: #8A82F0;
  --pt-backdrop: rgba(30, 20, 112, .72);
  --pt-dark: #1E1470;
  --pt-tape: rgba(254, 168, 65, .8);
  --pt-tape: color-mix(in srgb, var(--color-orange) 80%, transparent);
  --pt-serif: Hdmicrobic Condensed, Arial, sans-serif;
  --pt-mono: Hdmicrobic Mono, Arial, sans-serif;
  --pt-sans: Geist, Arial, sans-serif;
  --pt-hand: 'Rock Salt', 'Bradley Hand', cursive;  /* writing on the polaroids (Caveat also loaded) */
  --pt-gy: 34px;              /* masonry row gap (baked into row spans) */
  --pt-cols: 4;
}

/* ─── Page ─────────────────────────────────────────────── */
.container-donate.pt-page {
  margin-left: 235px;
  padding: calc(6vh + 30px) 32px 90px;
  min-height: 100vh;
  box-sizing: border-box;
  color: var(--color-blue);
  font-family: var(--pt-sans);
  background-image: radial-gradient(var(--pt-tint-3) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.pt-page *, .pt-lb * { box-sizing: border-box; }
:where(.pt-page, .pt-lb) :where(button, input, textarea) {
  font: inherit; color: inherit; border-radius: 0; margin: 0;
}
.pt-page ::placeholder, .pt-lb ::placeholder { color: var(--pt-placeholder); opacity: 1; }

.pt-page :focus-visible, .pt-lb :focus-visible, .pt-fab:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}
.pt-card:focus-visible { outline-offset: 6px; }
/* Touch screens: no ring on cards/slot. Focus returns to the card when a
   memory closes, and iOS paints that as a stuck outline. VoiceOver draws
   its own focus indicator. */
@media (hover: none) {
  .pt-card:focus-visible, .pt-slot:focus-visible { outline: none; }
}

.pt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pt-title {
  margin: 0; font: 400 58px/1 var(--pt-serif); color: var(--color-blue);
}
.pt-sub { margin: 12px 0 0; font: 500 17px/1.35 var(--pt-sans); }
.pt-count { margin: 0; font: 14px var(--pt-mono); white-space: nowrap; }

.pt-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.pt-tag {
  background: transparent; border: 1.5px solid var(--color-blue); color: var(--color-blue);
  font: 14px var(--pt-mono); text-transform: uppercase; padding: 6px 14px; cursor: pointer;
}
@media (hover: hover) { .pt-tag:hover { background: var(--pt-warm); } }
.pt-tag[aria-pressed="true"] { background: var(--color-orange); }

.pt-notice {
  margin: -10px 0 24px; padding: 10px 14px; max-width: 460px;
  background: var(--pt-sticky); border: 1.5px solid var(--color-blue);
  font: 14px/1.4 var(--pt-sans);
}
.pt-link {
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline;
  font: 13px var(--pt-mono); color: var(--color-blue);
}

/* ─── Grid + masonry ───────────────────────────────────── */
.pt-grid {
  display: grid;
  grid-template-columns: repeat(var(--pt-cols), minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: row dense;
  column-gap: 30px;
  row-gap: 0;
  padding: 0 6px;
  align-items: start;
}
.pt-cell { min-width: 0; align-self: start; position: relative; }
.pt-cell:focus-within { z-index: 2; }
@media (hover: hover) { .pt-cell:hover { z-index: 2; } }
.pt-cell.is-wide { grid-column: span 2; }
.pt-cell.is-full { grid-column: 1 / -1; }

@media (max-width: 1239px) { :root { --pt-cols: 3; } }
@media (max-width: 899px)  { :root { --pt-cols: 2; } }
@media (max-width: 767px)  { :root { --pt-cols: 1; --pt-gy: 30px; } }

/* ─── Cards ────────────────────────────────────────────── */
.pt-card {
  display: block; position: relative; isolation: isolate; cursor: pointer;
  color: var(--color-blue); text-decoration: none;
  transform: rotate(var(--rot, 0deg));
  transition: translate .15s ease-out;
}
@media (hover: hover) { .pt-card:hover { translate: 0 -4px; } }
.pt-card::after {            /* tape */
  content: ''; position: absolute; z-index: 3; top: -11px; left: 50%;
  width: 74px; height: 20px; margin-left: -37px; pointer-events: none;
  background: var(--pt-tape); transform: rotate(var(--tape, 0deg));
}
.pt-card.is-stack::before {  /* blank print behind a multi-photo post */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--pt-paper); border: 1.5px solid var(--color-blue);
  transform: rotate(4deg) translate(6px, 4px);
}
.pt-face { position: relative; }

.pt-print { background: var(--pt-paper); border: 1.5px solid var(--color-blue); padding: 10px 10px 12px; }
.pt-shot {
  border: 1.5px solid var(--color-blue); overflow: hidden; background: var(--pt-tint-1);
  max-height: 520px;
}
.pt-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-shot.is-natural img { height: auto; max-height: 520px; }
.pt-snip {
  margin: 8px 0 0; font: 400 12px/1.6 var(--pt-hand);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
}
.pt-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font: 700 12px/1.3 var(--pt-sans); }
.pt-foot span { font: 12px var(--pt-mono); white-space: nowrap; }
.pt-foot b { font: 400 12px/1.6 var(--pt-hand); }   /* signed in the same hand as the caption */

.pt-index {
  position: relative; background-color: var(--pt-index);
  background-image: repeating-linear-gradient(transparent 0 25px, var(--pt-tint-3) 25px 26px);
  border: 1.5px solid var(--color-blue); padding: 30px 16px 16px;
}
.pt-index::before {          /* header band */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 22px;
  border-bottom: 1.5px solid var(--color-orange);
}
.pt-index-text {
  font: 400 21px/26px var(--pt-serif); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.pt-index-by { font: 12px/1.4 var(--pt-mono); margin-top: 8px; }

/* Your-turn slot */
.pt-slot {
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  width: 100%; min-height: 250px; padding: 18px; cursor: pointer;
  border: 2px dashed var(--color-blue); background: rgba(248, 247, 255, .7); color: var(--color-blue);
  transform: rotate(-1.5deg); transition: background-color .15s ease-out;
}
@media (hover: hover) { .pt-slot:hover { background-color: var(--pt-warm); } }
.pt-slot-label { font: 13px var(--pt-mono); text-transform: uppercase; }
.pt-slot-big { display: block; font: 400 34px/1.05 var(--pt-serif); }
.pt-slot-small { display: block; font: 14px/1.4 var(--pt-sans); margin-top: 8px; }

/* Ghost / empty */
.pt-ghost { position: relative; border: 1.5px dashed var(--pt-tint-4); transform: rotate(var(--rot, 1deg)); }
.pt-ghost::after {
  content: ''; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; margin-left: -35px;
  background: var(--pt-tape); opacity: .6; transform: rotate(var(--tape, -3deg));
}
.pt-empty-msg { font: 400 38px/1.1 var(--pt-serif); max-width: 640px; margin: 10px 0 0; }

/* Thanks card */
.pt-thanks {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 18px;
  background: var(--color-orange); border: 1.5px solid var(--color-blue);
  box-shadow: 5px 5px 0 var(--color-blue); transform: rotate(1.2deg);
}
.pt-thanks-label { font: 13px var(--pt-mono); text-transform: uppercase; }
.pt-thanks-big { font: 400 30px/1.1 var(--pt-serif); }
.pt-thanks .pt-link { display: block; margin-top: 10px; }

/* Load more / error */
.pt-more { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 20px; min-height: 40px; }
.pt-sentinel { width: 100%; height: 1px; }
.pt-loadmore {
  background: transparent; border: 1.5px solid var(--color-blue); color: var(--color-blue);
  font: 14px var(--pt-mono); text-transform: uppercase; padding: 8px 18px; cursor: pointer;
}
@media (hover: hover) { .pt-loadmore:hover { background: var(--color-orange); } }
.pt-error { margin: 0; font: 14px var(--pt-mono); display: flex; gap: 12px; align-items: baseline; }
.pt-error[hidden], .pt-loadmore[hidden], .pt-notice[hidden] { display: none; }

/* ─── Contribute card ──────────────────────────────────── */
.pt-compose {
  position: relative; background: var(--pt-paper); border: 1.5px solid var(--color-blue);
  box-shadow: 6px 6px 0 var(--color-blue); padding: 20px; transform: rotate(-.6deg);
  display: flex; flex-direction: column; gap: 14px;
  animation: pt-pin .2s ease-out;
}
.pt-compose::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 110px; height: 24px; margin-left: -55px;
  background: var(--pt-tape); transform: rotate(2deg); pointer-events: none;
}
@keyframes pt-pin {
  from { transform: scale(.96) rotate(-2.4deg); }
  to   { transform: scale(1) rotate(-.6deg); }
}
.pt-sheet-backdrop { display: none; }
.pt-compose-head { display: none; }

.pt-c-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.pt-dz {
  width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--color-blue); padding: 8px; cursor: pointer;
  font: 13px/1.3 var(--pt-mono);
  background: repeating-linear-gradient(135deg, var(--color-white) 0 7px, var(--pt-paper) 7px 14px);
}
.pt-dz.is-over { background: var(--pt-warm); }
@media (hover: hover) { .pt-dz:hover { background: var(--pt-warm); } }
.pt-dz .m { display: none; }
.pt-dz-note { font: 12px var(--pt-mono); margin: 8px 0 0; }
.pt-text {
  display: block; width: 100%; min-height: 150px; resize: none; border: 0; outline: 0; padding: 0;
  background: repeating-linear-gradient(transparent 0 29px, var(--pt-tint-3) 29px 30px);
  font: 400 24px/30px var(--pt-serif); color: var(--color-blue);
}
.pt-text:focus-visible { outline: 0; box-shadow: 0 2px 0 var(--color-blue); }
.pt-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 16px; }
.pt-photos:empty { display: none; }
.pt-ph { display: flex; gap: 8px; align-items: center; min-width: 0; }
.pt-ph-thumb {
  position: relative; flex: none; width: 52px; height: 52px; border: 1.5px solid var(--color-blue);
  background: repeating-linear-gradient(135deg, var(--pt-tint-1) 0 5px, var(--pt-tint-2) 5px 10px);
  overflow: hidden;
}
.pt-ph-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-ph input {
  flex: 1; min-width: 0; border: 0; border-bottom: 1.5px solid var(--color-blue); background: transparent;
  padding: 5px 0; font: 13px var(--pt-sans); outline: 0;
}
.pt-ph-x {
  flex: none; width: 26px; height: 26px; line-height: 1; padding: 0; cursor: pointer;
  background: transparent; border: 1.5px solid var(--color-blue); font: 16px var(--pt-mono);
}
@media (hover: hover) { .pt-ph-x:hover { background: var(--color-orange); } }
.pt-ph.is-preparing .pt-ph-thumb { animation: pt-pulse 1s ease-in-out infinite alternate; }
@keyframes pt-pulse { from { opacity: .55; } to { opacity: 1; } }

.pt-prompts { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; font: 13px var(--pt-mono); }
.pt-prompt {
  background: transparent; border: 0; border-bottom: 1.5px dotted var(--color-blue); padding: 2px 0;
  font: 13px var(--pt-sans); cursor: pointer; color: var(--color-blue);
}
@media (hover: hover) { .pt-prompt:hover { background: var(--pt-warm); } }
.pt-fields { display: grid; grid-template-columns: 1fr 1fr 90px; gap: 14px; }
.pt-field {
  width: 100%; min-width: 0; border: 0; border-bottom: 1.5px solid var(--color-blue); background: transparent;
  padding: 6px 0; font: 15px var(--pt-sans); outline: 0; border-radius: 0;
}
.pt-field:focus-visible { outline: 0; box-shadow: 0 2px 0 var(--color-blue); }
.pt-c-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-dtags { display: flex; gap: 6px; flex-wrap: wrap; }
.pt-dtag {
  background: transparent; border: 1.5px solid var(--color-blue); font: 11px var(--pt-mono);
  text-transform: uppercase; padding: 3px 7px; cursor: pointer;
}
.pt-dtag[aria-pressed="true"] { background: var(--color-orange); }
.pt-c-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.pt-pin {
  background: var(--color-blue); border: 1.5px solid var(--color-blue); color: var(--color-orange);
  font: 700 14px var(--pt-mono); text-transform: uppercase; padding: 8px 14px; cursor: pointer; white-space: nowrap;
}
.pt-pin:disabled { opacity: .6; cursor: default; }
.pt-form-error { margin: 0; font: 13px/1.4 var(--pt-mono); background: var(--pt-sticky); border: 1.5px solid var(--color-blue); padding: 6px 10px; }
.pt-form-error:empty { display: none; }
.pt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ─── Mobile FAB ───────────────────────────────────────── */
.pt-fab { display: none; }
@media (max-width: 767px) {
  .pt-fab {
    display: block; position: fixed; right: 18px; bottom: calc(16px + env(safe-area-inset-bottom));
    height: 52px; padding: 0 20px; z-index: 900; cursor: pointer;
    background: var(--color-orange); border: 1.5px solid var(--color-blue); box-shadow: 4px 4px 0 var(--color-blue);
    color: var(--color-blue); font: 700 15px var(--pt-mono); text-transform: uppercase;
  }
  .mnav.is-open ~ .pt-fab, html.pt-compose-open .pt-fab, html.pt-lb-open .pt-fab { display: none; }
}

/* ─── Lightbox ─────────────────────────────────────────── */
html.pt-lock, html.pt-lock body { overflow: hidden; }
.pt-lb { position: fixed; inset: 0; z-index: 2147483647; font-family: var(--pt-sans); color: var(--color-blue); }
.pt-lb-backdrop { position: absolute; inset: 0; background: var(--pt-backdrop); }
/* Sidebar sparkles (js/sparkle.js) share the max z-index and are appended
   after the overlay, so hide them while a backdrop is up. */
.pt-lb-open .sparkle { display: none; }
@media (max-width: 767px) { .pt-compose-open .sparkle { display: none; } }
.pt-lb-close {
  position: absolute; top: 14px; right: 24px; z-index: 2; background: none; border: 0; padding: 4px;
  font: 16px var(--pt-mono); color: var(--color-orange); cursor: pointer;
}
.pt-lb-close .m, .pt-lb-count { display: none; }
.pt-lb-close:focus-visible { outline-color: var(--color-orange); }
.pt-lb-stage {
  position: absolute; top: 0; bottom: 0; left: 285px; right: 60px; padding: 70px 8px 40px;
  overflow-y: auto; overscroll-behavior: contain;
}
.pt-lb-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.pt-lb.is-text .pt-lb-grid { grid-template-columns: minmax(0, 640px); justify-content: center; }
.pt-lb-bigprint {
  position: relative; transform: rotate(-1.2deg); background: var(--pt-paper);
  border: 1.5px solid var(--color-blue); padding: 16px 16px 18px;
}
.pt-lb-bigprint::before {
  content: ''; position: absolute; top: -13px; left: 50%; width: 120px; height: 26px; margin-left: -60px;
  background: var(--pt-tape); transform: rotate(2deg); z-index: 1;
}
.pt-lb-photo {
  position: relative; height: min(470px, 62vh); border: 1.5px solid var(--color-blue); overflow: hidden;
  background: var(--pt-tint-1); touch-action: pan-y;
}
.pt-lb-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.pt-lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 12px; font: 15px/1.35 var(--pt-mono); }
.pt-lb-cap { overflow-wrap: anywhere; font: 400 14px/1.6 var(--pt-hand); }
.pt-lb-pager { display: flex; gap: 8px; align-items: center; white-space: nowrap; margin-left: auto; }
.pt-lb-pager button {
  width: 32px; height: 32px; padding: 0; cursor: pointer; border: 1.5px solid var(--color-blue);
  background: transparent; font: 16px var(--pt-mono);
}
.pt-lb-pager button.next { background: var(--color-orange); }
.pt-lb-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pt-lb-index {
  position: relative; transform: rotate(.8deg); background-color: var(--pt-index);
  background-image: repeating-linear-gradient(transparent 0 31px, var(--pt-tint-3) 31px 32px);
  border: 1.5px solid var(--color-blue); padding: 36px 22px 20px;
}
.pt-lb-index::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 26px; border-bottom: 1.5px solid var(--color-orange); }
.pt-lb-text { margin: 0; font: 400 25px/32px var(--pt-serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.pt-lb-by { margin: 12px 0 0; font: 14px/1.4 var(--pt-mono); }
.pt-lb-by b { font-weight: 700; }
.pt-lb-replies { display: flex; flex-direction: column; gap: 14px; }
.pt-note {
  background: var(--pt-sticky); border: 1.5px solid var(--color-blue); padding: 10px 14px;
  font: 14px/1.4 var(--pt-sans); overflow-wrap: anywhere; white-space: pre-wrap;
}
.pt-note b { font-weight: 700; }
/* Hdmicrobic Mono has no bold cut, so browsers fake it (Safari barely).
   A hairline stroke gives the mono byline name real weight. */
.pt-lb-by b { -webkit-text-stroke: .5px currentColor; paint-order: stroke fill; }
.pt-left { display: block; text-align: right; font: 11px var(--pt-mono); color: var(--pt-placeholder); margin-top: 4px; }
.pt-lb-status { margin: 0; font: 13px var(--pt-mono); }
.pt-lb-togglenote {
  display: none; text-align: left; background: var(--pt-sticky); border: 1.5px solid var(--color-blue);
  padding: 10px 12px; font: 14px var(--pt-sans); margin-left: 20px; cursor: pointer;
}
.pt-reply { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pt-reply-main { display: flex; gap: 8px; }
.pt-reply-main input {
  flex: 1; min-width: 0; border: 1.5px solid var(--color-blue); background: var(--pt-paper);
  padding: 10px 12px; font: 15px var(--pt-sans); outline: 0;
}
.pt-reply-main button {
  background: var(--color-orange); border: 1.5px solid var(--color-blue); color: var(--color-blue);
  font: 700 13px var(--pt-mono); text-transform: uppercase; padding: 0 14px; cursor: pointer;
}
.pt-reply-main button:disabled { opacity: .6; cursor: default; }
.pt-reply-who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-reply .pt-field { background: var(--pt-paper); border: 1.5px solid var(--color-blue); padding: 7px 10px; font-size: 14px; }
.pt-lb-wait { margin: 0; padding: 10px 14px; background: var(--pt-sticky); border: 1.5px solid var(--color-blue); font: 14px var(--pt-sans); }

/* ─── ≤1040: shell is the 40px .mnav bar, no sidebar ───── */
@media (max-width: 1040px) {
  .container-donate.pt-page { margin-left: 0; padding: 60px 20px 96px; }
  .pt-title { font-size: 50px; }
  .pt-lb-stage { left: 40px; right: 40px; }
}

/* ─── ≤767: single column, sheet, full-screen memory ───── */
@media (max-width: 767px) {
  .container-donate.pt-page { padding: 60px 20px 110px; background-size: 20px 20px; }
  .pt-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pt-title { font-size: 44px; }
  .pt-sub { font-size: 15px; margin-top: 8px; }
  .pt-tags { flex-wrap: nowrap; overflow-x: auto; margin: 16px -20px 26px; padding: 0 20px 4px; gap: 8px; scrollbar-width: none; }
  .pt-tags::-webkit-scrollbar { display: none; }
  .pt-tag { flex: none; font-size: 13px; padding: 5px 11px; }
  .pt-grid { padding: 0 8px; }
  .pt-cell.is-wide { grid-column: span 1; }
  .pt-print { padding: 9px 9px 11px; }
  .pt-shot { max-height: 300px; }
  .pt-shot.is-natural img { max-height: 300px; }
  .pt-index { padding: 28px 14px 14px; }
  .pt-index-text { font-size: 20px; }
  .pt-slot { min-height: 180px; }

  /* contribute -> bottom sheet */
  .pt-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 2147483645; background: var(--pt-backdrop); }
  .pt-compose {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483646; transform: none; animation: pt-sheet .2s ease-out;
    max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
    border-width: 1.5px 0 0; box-shadow: none; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); gap: 14px;
  }
  .pt-compose::before { display: none; }
  @keyframes pt-sheet { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
  .pt-compose-head { display: flex; justify-content: space-between; font: 14px var(--pt-mono); }
  .pt-c-row { grid-template-columns: 1fr; gap: 12px; }
  .pt-c-row .pt-text-wrap { order: -1; }
  .pt-text { font-size: 21px; min-height: 150px; }
  .pt-dz { width: 76px; height: 76px; border-width: 2px; -webkit-appearance: none; appearance: none; }
  .pt-ghost { border-width: 2px; }
  .pt-dz .d { display: none; }
  .pt-dz .m { display: inline; }
  .pt-dz-note { display: none; }
  .pt-prompts { display: none; }
  .pt-fields { grid-template-columns: 1fr 90px; }
  .pt-fields .pt-f-name { grid-column: 1 / -1; }
  .pt-field { font-size: 16px; padding: 10px 0; }
  .pt-c-foot { flex-direction: column; align-items: stretch; }
  .pt-c-actions { margin: 0; flex-direction: row-reverse; }
  .pt-c-actions .pt-link { display: none; }
  .pt-pin { width: 100%; height: 50px; font-size: 15px; }
  .pt-photos { grid-template-columns: 1fr; }
  .pt-empty-msg { font-size: 30px; }

  /* memory -> full screen dark violet */
  .pt-lb-backdrop { background: var(--pt-dark); }
  .pt-lb-close { top: 12px; left: 14px; right: auto; font-size: 15px; }
  .pt-lb-close .d { display: none; }
  .pt-lb-close .m { display: inline; }
  .pt-lb-count { display: block; position: absolute; top: 16px; right: 18px; z-index: 2; font: 15px var(--pt-mono); color: var(--color-orange); }
  .pt-lb-stage { left: 0; right: 0; padding: 56px 18px calc(30px + env(safe-area-inset-bottom)); }
  .pt-lb-grid, .pt-lb.is-text .pt-lb-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pt-lb-bigprint { padding: 10px 10px 12px; transform: rotate(-1deg); }
  .pt-lb-bigprint::before { width: 90px; height: 22px; margin-left: -45px; top: -11px; }
  .pt-lb-photo { height: min(280px, 45vh); }
  .pt-lb-bar { font-size: 13px; margin-top: 8px; }
  .pt-lb-cap { font-size: 12px; }
  .pt-lb-pager { display: none; }
  .pt-lb-index { padding: 32px 14px 14px; background-image: none; }
  .pt-lb-index::before { height: 22px; }
  .pt-lb-text { font-size: 20px; line-height: 1.4; }
  .pt-lb-by { font-size: 12px; }
  .pt-lb-togglenote { display: block; }
  .pt-lb-side.notes-closed .pt-lb-replies, .pt-lb-side.notes-closed .pt-reply { display: none; }
}

/* ─── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pt-card, .pt-slot { transition: none; }
  .pt-card:hover { translate: none; }
  .pt-compose { animation: none; }
  .pt-ph.is-preparing .pt-ph-thumb { animation: none; }
}

@media (max-width: 767px) {
  html.pt-compose-open, html.pt-compose-open body { overflow: hidden; }
}
