/* Archivo analógico: paper, ink and hand-drawn strokes (Excalifont + rough.js). Photos keep their colour. */
@font-face {
  font-family: "Excalifont";
  src: url("fonts/excalifont-latin.woff2") format("woff2");
  unicode-range: U+20-7E, U+A0-FF, U+131, U+152-153, U+2BC, U+2C6, U+2DA, U+2DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2024-2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2212;
  font-display: swap;
}
@font-face {
  font-family: "Excalifont";
  src: url("fonts/excalifont-latin-ext.woff2") format("woff2");
  unicode-range: U+100-130, U+132-137, U+139-149, U+14C-151, U+154-17E, U+192, U+1FC-1FF, U+218-21B, U+237;
  font-display: swap;
}
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("fonts/permanent-marker-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("fonts/special-elite-latin.woff2") format("woff2"); font-display: swap; }
@property --spin { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  color-scheme: light;
  --paper: #faf9f5;
  --paper-2: #f1efe8;
  --ink: #1b1b1a;
  --ink-2: #55534e;
  --ink-3: #8d8a83;
  --film: #111110;
  --film-ink: #e9e6de;
  --hand: "Excalifont", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 48px);
  --cork: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .5 -.14'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --cork-dot: rgba(90, 70, 40, 0.09);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #141413;
    --paper-2: #1d1d1b;
    --ink: #ecebe6;
    --ink-2: #b4b1a9;
    --ink-3: #7c7a74;
    --film: #050505;
    --cork: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .28 0 0 0 .55 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --cork-dot: rgba(255, 238, 205, 0.05);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141413;
  --paper-2: #1d1d1b;
  --ink: #ecebe6;
  --ink-2: #b4b1a9;
  --ink-3: #7c7a74;
  --film: #050505;
  --cork: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .28 0 0 0 .55 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --cork-dot: rgba(255, 238, 205, 0.05);
}

* { box-sizing: border-box; }
/* hidden means hidden, whatever display a class gives (buttons are inline-flex) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.35 var(--hand); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px dashed var(--ink); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hand-drawn overlays (rough.js draws an SVG inside) */
.sk { position: relative; }
.sk-svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); pointer-events: none; overflow: visible; }
.sk-svg path { vector-effect: non-scaling-stroke; }
.icon { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
.icon svg { width: 100%; height: 100%; overflow: visible; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 20px var(--gutter) 6px; }
.brand { font-size: clamp(34px, 4.8vw, 52px); line-height: 1; }
.brand small { display: block; font-size: 19px; color: var(--ink-3); margin-top: 6px; }
.views { display: flex; gap: 20px; font-size: 22px; }
.views a { padding: 2px 4px; color: var(--ink-2); }
.views a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 18px; }
.btn:hover { background: var(--paper-2); }

/* ---------- timeline ---------- */
.tl-wrap { position: relative; min-height: calc(100vh - 120px); min-height: calc(100dvh - 120px); display: flex; flex-direction: column; }
.tl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); }
.tl-hint { color: var(--ink-2); font-size: 19px; margin: 8px 0 0; }
.tl { flex: 1; display: flex; align-items: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; cursor: grab; padding: 10px 0 24px; overscroll-behavior-x: contain; }
@media (hover: none) { .hint-mouse { display: none; } }
@media (hover: hover) { .hint-touch { display: none; } }
.tl.dragging { cursor: grabbing; }
.tl-track { list-style: none; margin: 0; padding: 30px var(--gutter) 10px; display: flex; align-items: flex-start; gap: 4px; min-height: 440px; position: relative; width: max-content; }
.tl-axis { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
/* years: hand-drawn boxes sitting on the line; their paper hides the line behind the number */
.tl-year { align-self: stretch; display: flex; flex-direction: column; align-items: center; padding: 0 22px 0 34px; }
.tl-year span { margin-top: calc(var(--axis-y, 244px) - 30px); transform: translateY(-50%) rotate(-3deg); font-size: 44px; line-height: 1; padding: 8px 18px 6px; background: var(--paper); color: var(--ink); }
.tl-year.undated span { font-size: 26px; color: var(--ink-2); }

/* mini timeline under the big one */
.tl-mini { position: relative; flex: none; width: min(560px, calc(100vw - 2 * var(--gutter))); height: 46px; margin: 0 auto 22px; cursor: pointer; touch-action: none; color: var(--ink-2); user-select: none; }
.tl-mini-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; font-family: var(--hand); font-size: 13px; }
.tl-mini-map text { fill: var(--ink-2); }
.tl-mini-view { position: absolute; left: 0; top: 6px; height: 28px; background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink); pointer-events: none; }
.tl-item { width: 190px; flex: none; }
.roll { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 4px 0; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.roll-meta { margin-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.roll-title { font-size: 21px; line-height: 1.1; }
.roll-date { font-size: 16px; color: var(--ink-2); }
.roll-film { font-size: 15px; color: var(--ink-3); }
.tl-controls { display: flex; gap: 8px; flex: none; }
.tl-controls button { width: 66px; height: 54px; display: grid; place-items: center; font-size: 30px; background: var(--paper); }

/* the 3D canister: faces of a cylinder with a sliding label (the light stays put while the label turns) */
/* the drawing's body sits 24 px left of the box's middle (the leader sticks out right): shift it so the
   can, its tick on the axis and the names below share one centre */
.can { position: relative; width: 180px; height: 220px; display: block; margin-left: 48px; }
.can-scene { position: absolute; left: 26px; top: 50px; width: 80px; height: 130px; perspective: 620px; }
.can-obj { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-10deg); --spin: 0; }
.can-face { position: absolute; left: 50%; top: 0; height: 100%; backface-visibility: hidden; background-repeat: repeat-x; background-color: var(--paper); }
.can-face::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--shade, 0)); }
.can-outline { position: absolute; left: 0; top: 0; width: 180px; height: 220px; overflow: visible; pointer-events: none; color: var(--ink); }
.roll:hover .can-obj, .roll:focus-visible .can-obj, .can.spin .can-obj { animation: spin 6s linear infinite; }
@keyframes spin { to { --spin: 1; } }
.leader { position: absolute; left: 100px; top: 108px; height: 38px; width: 24px; background: var(--film); overflow: hidden; display: flex; align-items: center; gap: 4px; padding: 0 3px 0 10px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 10px) 100%, 0 100%); transition: width 0.45s cubic-bezier(.2,.8,.2,1); }
.leader::before, .leader::after { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--paper) 0 4px, transparent 4px 9px); }
.leader::before { top: 2px; }
.leader::after { bottom: 2px; }
.leader img { height: 24px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0; transition: opacity 0.3s 0.15s; }
.roll:hover .leader, .roll:focus-visible .leader { width: 82px; }
.roll:hover .leader img, .roll:focus-visible .leader img { opacity: 1; }

/* ---------- preview dialog ---------- */
dialog { color: var(--ink); background: var(--paper); border: 0; padding: 0; }
dialog::backdrop { background: color-mix(in srgb, var(--paper) 72%, transparent); backdrop-filter: blur(2px); }
.preview { width: min(980px, calc(100vw - 220px)); max-height: calc(100vh - 32px); overflow: visible; }
/* the zip-lock bag: tinted plastic with a sheen; the zip and outline are drawn by rough.js (data-sketch="bag") */
.preview { background: transparent; }
.bag { position: relative; padding: 52px 28px 28px; border-radius: 18px; background: color-mix(in srgb, var(--paper) 86%, #8fa6bd); }
.bag::after { content: ""; position: absolute; inset: 44px 8px 8px; border-radius: 0 0 14px 14px; pointer-events: none;
  background: linear-gradient(112deg, transparent 0 14%, rgba(255, 255, 255, 0.09) 19%, transparent 27% 58%, rgba(255, 255, 255, 0.06) 63%, transparent 70%); }
.bag-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.bag-left { position: relative; min-width: 0; }
.bag-right { min-width: 0; display: grid; gap: 22px; }
/* the white write-on panel, in marker */
.bag-label { display: inline-block; background: #f6f5f0; color: #1b1b1a; padding: 6px 16px 8px; transform: rotate(-1.6deg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); margin: 0 0 14px 4px; }
.bag-label h2 { font-size: 34px; font-weight: 400; margin: 0; line-height: 1.05; }
.pv-date { margin: 0; font-size: 18px; color: #4a4843; }
/* a lab print of the cover */
.pv-print { margin: 0; background: #f4f2ec; padding: 9px 9px 9px; transform: rotate(-1.8deg); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
.pv-print img { width: 100%; aspect-ratio: 3 / 2; max-height: 34vh; object-fit: cover; background: var(--film); }
/* negatives: the scans inverted over the film's base (orange for colour, grey for black and white) */
.pv-negs { position: relative; display: grid; gap: 4px; margin-top: -16px; padding: 0 6px; }
.neg { --base: #c9732f; --edge: #ffd28a; background: var(--base); padding: 2px 6px; transform: rotate(1.2deg); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); opacity: 0.94; }
.neg + .neg { transform: rotate(-0.7deg) translateX(18px); }
.neg.bw { --base: #d9d5cb; --edge: #3d3b37; }
.neg-frames { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 9px 0; }
.neg-frames::before, .neg-frames::after { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(90deg, rgba(20, 10, 0, 0.5) 0 5px, transparent 5px 11px); }
.neg-frames::before { top: 2px; }
.neg-frames::after { bottom: 2px; }
.neg-frame { background: var(--base); }
.neg-frame img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: invert(1) contrast(0.92); mix-blend-mode: multiply; }
.neg.bw .neg-frame img { filter: invert(1) grayscale(1) contrast(0.85); }
.neg-edge { display: flex; justify-content: space-between; font-size: 8px; line-height: 1.2; letter-spacing: 0.12em; color: var(--edge); }
.pv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* roll to roll: big hand-drawn boxes, like «ver película»; outside the bag, beside it */
.pv-close { position: absolute; right: -92px; top: 0; width: 68px; height: 68px; display: grid; place-items: center; font-size: 30px; background: var(--paper); z-index: 1; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 68px; height: 68px; display: grid; place-items: center; font-size: 32px; background: var(--paper); }
.pv-prev { left: -92px; }
.pv-next { right: -92px; }
.pv-close:hover, .pv-nav:hover, .tl-controls button:hover, .dt-bar button:hover { background: var(--paper-2); }

/* ---------- grid: a scrapbook on dark cork ---------- */
/* The thread (z 2) runs over everything except the pins (z 3). Nothing between the board and the pins may make a
   stacking context (no transform, opacity or z-index on .sb-roll or .sb-link), or the pins would sink under it. */
body:has(.scrap) {
  background-color: var(--paper);
  background-image: var(--cork), radial-gradient(circle at 30% 40%, var(--cork-dot) 0 1px, transparent 1.6px), radial-gradient(circle at 70% 20%, var(--cork-dot) 0 1.3px, transparent 1.9px);
  background-size: 260px 260px, 13px 17px, 29px 23px;
}
.scrap { padding: 4px var(--gutter) 120px; }
.sb-hint { color: var(--ink-2); font-size: 19px; margin: 8px 0 6px; }
.board { position: relative; isolation: isolate; } /* its own layer: what's sent back stays above the cork and can still be picked */
.threads { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
/* each block sits at --x between the left (0) and right (1) edges; neighbours overlap a little going down */
/* a roll's empty box overlaps its neighbours: only what's drawn in it takes clicks; any scrap opens the roll */
.sb-roll { pointer-events: none; }
.sb-roll > * { pointer-events: auto; cursor: pointer; }
.sb-roll { position: relative; margin-top: -22px; margin-left: calc(max(0px, 100% - var(--wpx)) * var(--x)); }
.sb-year-row + .sb-roll { margin-top: 0; }
.sb-year-row { position: relative; width: 150px; margin-left: calc((100% - 150px) * var(--x)); padding: 26px 0 18px; }
/* wide screens: the lanes sit side by side, so each roll starts partway down the previous one */
@media (min-width: 1150px) {
  .board { max-width: 1240px; margin: 0 auto; }
  .sb-roll { margin-top: calc(-1 * var(--up, 22px)); }
}
.sb-year { position: relative; display: inline-block; font-size: 44px; line-height: 1; padding: 8px 18px 6px; background: var(--paper); color: var(--ink); transform: rotate(-3deg); }
.sb-link { position: static; display: block; padding: 0; }
.sb-link:focus-visible { outline: none; }
.sb-link:focus-visible .sb-print { outline: 2px dashed var(--ink); outline-offset: 6px; }
/* prints */
.sb-print { position: absolute; margin: 0; background: #f4f2ec; padding: 10px; transform: rotate(var(--tilt, 0deg)); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease; }
.sb-print img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--film); }
.sb-link:hover .sb-print, .sb-link:focus-visible .sb-print { transform: rotate(calc(var(--tilt, 0deg) * 0.4)) scale(1.03); }
.sb-small { padding: 6px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45); }
.sb-small .corner { position: absolute; width: 38px; height: 14px; background: rgba(230, 221, 196, 0.85); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.sb-small .c1 { left: -12px; top: -4px; transform: rotate(-38deg); }
.sb-small .c2 { right: -12px; bottom: -4px; transform: rotate(-38deg); }
/* pushpins: drawn by site.js from --pin */
.pin { position: absolute; z-index: 3; width: 28px; height: 34px; pointer-events: none; }
.pin svg { width: 100%; height: 100%; overflow: visible; }
/* the roll's can, set down beside its print */
.sb-link .sb-can { position: absolute; margin: 0; transform: scale(0.6) rotate(var(--r, 0deg)); transform-origin: 0 0; pointer-events: none; }
.sb-link .leader { display: none; }
/* masking tape with the name */
.sb-tape { position: absolute; display: inline-flex; flex-direction: column; padding: 6px 14px 7px; background: #e6ddc4; color: #23201b; transform: rotate(var(--r, 0deg)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); white-space: nowrap; }
.sb-title { font-size: 21px; line-height: 1.1; }
.sb-sub { font-size: 14px; color: #5a554b; }
/* the month on a scrap of paper */
.sb-month { position: absolute; width: max-content; padding: 7px 18px 5px; font-size: 28px; line-height: 1; background: #f2ecdc; color: #23201b; transform: rotate(var(--r, 0deg)); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.35); }
.sb-month::before { content: ""; position: absolute; top: -10px; left: 50%; width: 56px; height: 19px; margin-left: -28px; background: rgba(233, 224, 199, 0.8); transform: rotate(5deg); }
/* negatives: same as the preview's, a little worn */
.sb-negs { position: absolute; transform: rotate(var(--r, 0deg)); }
.sb-negs .neg, .sb-negs .neg + .neg { transform: none; }
/* a lab ticket, typed */
.sb-ticket { position: absolute; width: max-content; display: flex; flex-direction: column; gap: 1px; padding: 9px 12px 10px; font-family: "Special Elite", var(--hand); font-size: 12px; line-height: 1.25; letter-spacing: 0.02em; color: #2c2924; background: #ece6d6; transform: rotate(var(--r, 0deg)); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  -webkit-mask: radial-gradient(circle 3px at 50% 0, transparent 98%, #000) 0 0 / 9px 100% repeat-x; mask: radial-gradient(circle 3px at 50% 0, transparent 98%, #000) 0 0 / 9px 100% repeat-x; }
.sb-ticket b { font-weight: 400; font-size: 13px; letter-spacing: 0.08em; border-bottom: 1px dashed #8d8676; padding-bottom: 3px; margin-bottom: 3px; }
/* notes in different hands: on the cork in white ink, or on a slip of paper */
.sb-note { position: absolute; width: max-content; max-width: 200px; color: var(--ink); line-height: 1.15; transform: rotate(var(--r, 0deg)); }
.sb-note.pen { font-family: "Caveat", var(--hand); font-size: 25px; }
.sb-note.marker { font-family: "Permanent Marker", var(--hand); font-size: 18px; }
.sb-note.hand { font-size: 20px; }
.sb-note.paper { padding: 8px 12px; background: #f2ecdc; color: #23201b; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); }

/* ---------- roll page ---------- */
.roll-head { padding: 6px var(--gutter) 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: end; }
.backs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 8px 0 14px; }
.back { font-size: 20px; padding: 10px 20px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 34px var(--gutter) 48px; }
.pager .btn { font-size: 22px; padding: 14px 26px; gap: 12px; }
.roll-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 400; margin: 0; line-height: 1; }
.roll-head .views { align-self: end; }
.roll-head .ficha { grid-column: 1 / -1; margin: 18px 0 4px; }
.hint { color: var(--ink-2); font-size: 18px; margin: 0; }
.roll-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 14px; }
.film-controls { display: flex; align-items: center; gap: 8px; }
.film-count { color: var(--ink-2); font-size: 18px; margin-right: 8px; white-space: nowrap; }
.film-controls button { width: 66px; height: 54px; display: grid; place-items: center; font-size: 30px; background: var(--paper); }
.film-controls button:hover { background: var(--paper-2); }

/* ---------- ficha técnica: a printed card filled in with a ballpoint ---------- */
.ficha { color-scheme: light; --card: #f2ecdc; --card-line: rgba(40, 34, 24, 0.28); background: var(--card); color: #2a261f; padding: 12px 18px 14px; transform: rotate(0.7deg); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28); }
.ficha-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 4px; padding-bottom: 5px; border-bottom: 2px solid currentColor; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.ficha dl { margin: 0; }
.ficha-row { display: grid; grid-template-columns: 7.6em 1fr; gap: 10px; align-items: baseline; padding: 5px 0 3px; border-bottom: 1px dashed var(--card-line); }
.ficha dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #77705f; }
.ficha dd { margin: 0; font-size: 18px; line-height: 1.2; color: #23408c; }
.ficha.wide { transform: rotate(0.25deg); }
.ficha.wide dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 22px; }
.ficha.wide .ficha-row { grid-template-columns: 1fr; gap: 0; }
.ficha.wide .ficha-row.notes { grid-column: 1 / -1; }

/* film strip view */
/* free scrolling (bar, wheel, drag, swipe); the arrows step frame by frame */
.film { overflow-x: auto; overflow-y: hidden; margin: 18px 0 0; padding: 0 0 30px; cursor: grab; scrollbar-width: thin; overscroll-behavior-x: contain; }
.film.dragging { cursor: grabbing; }
.film-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; width: max-content; }
.cell { --h: clamp(200px, 56vh, 600px); flex: none; }
.cell-film { position: relative; background: var(--film); padding: 40px 9px; }
.cell-film::before, .cell-film::after { content: ""; position: absolute; left: 0; right: 0; height: 11px; background: repeating-linear-gradient(90deg, transparent 0 7px, var(--paper) 7px 19px, transparent 19px 24px); border-radius: 2px; }
.cell-film::before { top: 8px; }
.cell-film::after { bottom: 8px; }
.cell:first-child .cell-film { border-radius: 4px 0 0 4px; }
.cell:last-child .cell-film { border-radius: 0 4px 4px 0; }
.edge { position: absolute; left: 14px; right: 14px; bottom: 23px; display: flex; justify-content: space-between; font-size: 12px; line-height: 1; color: var(--film-ink); opacity: 0.85; letter-spacing: 0.05em; pointer-events: none; }
.edge-top { top: 23px; bottom: auto; opacity: 0.55; text-transform: uppercase; font-size: 11px; }
.shot { display: block; position: relative; height: var(--h); width: calc(var(--h) * 1.5); background: #000; cursor: zoom-in; touch-action: pan-x; -webkit-touch-callout: none; user-select: none; -webkit-user-drag: none; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; pointer-events: none; }
.shot .orig { opacity: 0; transition: opacity 0.18s ease; }
.shot.show-orig .orig { opacity: 1; }
.shot .orig-label { position: absolute; left: 10px; top: 10px; padding: 2px 10px; background: var(--paper); color: var(--ink); font-size: 15px; opacity: 0; transition: opacity 0.18s; }
.shot.show-orig .orig-label { opacity: 1; }
.cell-tags { min-height: 44px; display: flex; justify-content: center; align-items: flex-start; padding: 12px 6px 0; }
.tag { display: inline-block; padding: 2px 10px; font-size: 15px; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.tag.muted { color: var(--ink-2); }

/* contact sheet view */
.sheet { padding: 18px var(--gutter) 40px; display: grid; gap: 20px; }
.strip6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--film); padding: 26px 10px 8px; gap: 10px; position: relative; border-radius: 3px; }
.strip6::before, .strip6::after { content: ""; position: absolute; left: 8px; right: 8px; height: 8px; background: repeating-linear-gradient(90deg, var(--paper) 0 10px, transparent 10px 22px); }
.strip6::before { top: 9px; }
.strip6::after { bottom: 5px; }
.strip6 .frame { margin: 0 0 14px; }
.strip6 .shot { height: auto; width: 100%; aspect-ratio: 3 / 2; }
.strip6 .frame-n { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding-top: 5px; font-size: 13px; color: var(--film-ink); }
.strip6 .frame-n .mini { font-size: 11px; opacity: 0.75; }

/* detail: your edit, the original below */
.detail { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; overflow-y: auto; background: var(--paper); }
.dt-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.dt-title { font-size: 24px; }
.dt-bar .spacer { flex: 1; }
.dt-bar .dt-tag[hidden] { display: none; }
.dt-bar button { width: 62px; height: 54px; display: grid; place-items: center; font-size: 28px; }
.dt-figs { display: grid; gap: 18px; padding: 4px var(--gutter) 8px; align-items: start; justify-items: center; }
.detail.compare .dt-figs { grid-template-columns: 1fr 1fr; }
.dt-fig { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.dt-fig img { max-height: calc(100vh - 150px); width: auto; height: auto; max-width: 100%; object-fit: contain; background: var(--film); }
.detail.compare .dt-fig img { max-height: calc(100vh - 190px); }
.dt-fig figcaption { margin-top: 8px; color: var(--ink-2); font-size: 16px; text-align: center; }
@media (max-width: 600px) {
  .dt-bar { flex-wrap: wrap; gap: 8px 10px; }
  .dt-title { font-size: 20px; }
  .dt-bar .dt-tag { order: 5; }
}
@media (max-width: 900px) {
  .detail.compare .dt-figs { grid-template-columns: 1fr; }
  .detail.compare .dt-fig img { max-height: 38vh; max-height: 38dvh; }
}

.empty { color: var(--ink-2); padding: 0 var(--gutter); }
footer { color: var(--ink-3); font-size: 14px; text-align: center; padding: 30px var(--gutter); }

@media (max-width: 760px) {
  .preview { width: calc(100vw - 32px); }
  .bag { padding-left: 16px; padding-right: 16px; }
  .bag-in { grid-template-columns: 1fr; gap: 20px; }
  .bag-label { margin-right: 70px; }
  .ficha-row { grid-template-columns: 6.8em 1fr; }
  .ficha dd { font-size: 17px; }
  .tl-track { min-height: 380px; }
  .tl-item { width: 160px; }
  .can { transform: scale(0.85); transform-origin: 50% 100%; }
  .board { zoom: 0.55; }
  .tl-year span { font-size: 34px; }
  .roll-head { grid-template-columns: 1fr; }
  .cell { --h: clamp(180px, 42vh, 420px); }
  .strip6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tl-controls { display: none; }
}
/* phones and short screens: the bag scrolls inside the dialog, and its buttons move inside it */
@media (max-width: 760px), (max-height: 800px) {
  .preview { overflow-y: auto; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overscroll-behavior: contain; }
  .bag { padding-bottom: 104px; }
  .pv-close { right: 10px; top: 4px; width: 52px; height: 52px; font-size: 26px; }
  .pv-nav { top: auto; bottom: 18px; transform: none; width: 64px; height: 64px; }
  .pv-prev { left: 18px; }
  .pv-next { right: 18px; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .preview { width: min(980px, calc(100vw - 40px)); }
  .bag-right { padding-top: 40px; }
}
/* ---------- animations: prints fly into the bag, photos into the detail (view transitions) ---------- */
@keyframes pin-pop { 0% { transform: none; } 45% { transform: translate(-4px, -26px) rotate(-28deg); } 100% { transform: translate(-14px, -12px) rotate(-70deg); opacity: 0; } }
@keyframes pin-in { 0% { transform: translateY(-34px) rotate(-20deg); opacity: 0; } 70% { transform: translateY(3px); opacity: 1; } 100% { transform: none; } }
.sb-roll.lifting .pin { animation: pin-pop 0.32s ease-in forwards; }
.sb-roll.landing .pin { animation: pin-in 0.42s ease-out; }
.sb-roll.lifting .sb-link .sb-print, .sb-roll.lifting .sb-small { transform: rotate(0deg) scale(1.07); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6); transition: transform 0.24s ease-out, box-shadow 0.24s ease-out; }
::view-transition-group(pv-print), ::view-transition-group(dt-photo) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.22, 0.9, 0.24, 1); }
::view-transition-old(pv-print), ::view-transition-new(pv-print), ::view-transition-old(dt-photo), ::view-transition-new(dt-photo) { animation-duration: 0.5s; height: 100%; object-fit: cover; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }
/* pages fade into each other (same-site navigation); the roll page settles in: the card drops, the film slides */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  @keyframes drop-in { from { opacity: 0; transform: translateY(-22px) rotate(-2deg); } }
  @keyframes slide-in { from { opacity: 0; transform: translateX(80px); } }
  @keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }
  .roll-head .ficha { animation: drop-in 0.5s cubic-bezier(0.2, 0.85, 0.25, 1) both; }
  .film-track { animation: slide-in 0.7s 0.08s cubic-bezier(0.2, 0.85, 0.25, 1) both; }
  .sheet .strip6 { animation: rise-in 0.5s cubic-bezier(0.2, 0.85, 0.25, 1) both; }
  .sheet .strip6:nth-child(2) { animation-delay: 0.05s; } .sheet .strip6:nth-child(3) { animation-delay: 0.1s; }
  .sheet .strip6:nth-child(4) { animation-delay: 0.15s; } .sheet .strip6:nth-child(n + 5) { animation-delay: 0.2s; }
  /* the can gives a quick turn as its bag comes out */
  .roll.opening .can-obj { animation: spin 0.6s cubic-bezier(0.3, 0.7, 0.4, 1) 1; }
}
/* at the end of something, its arrow fades out */
button:disabled { opacity: 0.22; cursor: default; pointer-events: none; }
/* back from a roll page: that roll shows where it is */
@keyframes here { 0%, 70% { background-color: color-mix(in srgb, #d8473f 55%, transparent); } }
.roll.here .roll-title { animation: here 2.6s ease-out; border-radius: 4px; padding: 0 6px; }
.roll.here .can-obj { animation: spin 3s linear 1; }
.sb-roll.here .sb-tape { animation: here 2.6s ease-out; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- editing your own rolls (see editor.js) ---------- */
.views .add-roll { padding: 4px 14px; font-size: 19px; color: var(--ink); }
.cell.is-hidden .shot, .frame.is-hidden .shot { opacity: 0.32; }
/* a photo's note: handwritten under it, in the film and on the contact sheet (and big in the detail) */
.cell-note { margin: 2px auto 0; max-width: calc(var(--h) * 1.5); padding: 0 12px; text-align: center; font-family: "Caveat", var(--hand); font-size: 27px; line-height: 1.1; color: var(--ink); white-space: pre-wrap; }
.frame-note { margin: 2px 2px 0; font-family: "Caveat", var(--hand); font-size: 19px; line-height: 1.1; color: var(--ink); white-space: pre-wrap; }
.dt-note { text-align: center; margin: 2px var(--gutter) 14px; font-family: "Caveat", var(--hand); font-size: 26px; color: var(--ink); }
.admin-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 14px 0 0; }
.btn.big { font-size: 21px; padding: 10px 22px; }
.btn.danger { color: #d8473f; }
.btn:disabled { opacity: 0.4; }
.editor { padding: 6px var(--gutter) 80px; max-width: 1100px; }
.editor h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 400; margin: 6px 0 16px; }
.form-card { transform: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 22px; padding-top: 6px; }
.field { display: flex; flex-direction: column; gap: 2px; padding: 5px 0 3px; border-bottom: 1px dashed var(--card-line, rgba(40, 34, 24, 0.28)); }
.field > span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #77705f; }
.field input, .field textarea, .field select { font: 19px/1.25 var(--hand); color: #23408c; background: transparent; border: 0; padding: 2px 0; outline: none; width: 100%; }
.field textarea { resize: vertical; }
.field select { cursor: pointer; }
.field input::placeholder { color: rgba(35, 64, 140, 0.35); }
.field.notes { grid-column: 1 / -1; }
.field.check { flex-direction: row; align-items: center; gap: 8px; font-size: 16px; color: #23408c; }
.field.check input { width: auto; accent-color: #23408c; }
.field:focus-within { border-bottom-color: #23408c; }
.form-actions, .editor-bar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 12px; margin-top: 16px; }
.form-actions .btn { color: #23201b; }
.up-msg, .up-status { margin: 0 auto 0 0; color: var(--ink-2); font-size: 18px; }
.up-msg.bad, .up-status.bad { color: #d8473f; }
.form-card .up-msg { color: #4a4843; }
.uploader { margin-top: 26px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; text-align: center; cursor: pointer; background: color-mix(in srgb, var(--paper) 88%, #8fa6bd); }
.drop b { font-weight: 400; font-size: 24px; }
.drop span { color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.drop.over, .drop:hover { background: color-mix(in srgb, var(--paper) 78%, #8fa6bd); }
.drop.busy { opacity: 0.6; pointer-events: none; }
.up-status { margin: 14px 0 6px; }
.review { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-top: 10px; }
.pair, .skipped { padding: 10px 12px 12px; background: var(--paper-2); }
.pair.is-hidden { opacity: 0.55; }
.skipped { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.skipped .pair-n { width: 100%; }
.pair-n { margin: 0 0 8px; font-size: 16px; color: var(--ink-2); }
.pair-slots { display: flex; gap: 10px; }
.slot { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.skipped .slot { flex: 0 0 150px; }
.slot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--film); }
.slot.empty { justify-content: center; align-items: center; min-height: 90px; border: 1px dashed var(--ink-3); color: var(--ink-3); font-size: 14px; }
.slot figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.slot select { font: 15px var(--hand); color: var(--ink); background: var(--paper); border: 1px solid var(--ink-3); border-radius: 4px; padding: 2px 4px; }
.slot small { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
dialog.add-photos { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; background: var(--paper); }
.ap { position: relative; padding: 26px 26px 22px; }
.ap h2 { font-size: 30px; font-weight: 400; margin: 0 70px 4px 0; }
.ap .pv-close { right: 12px; top: 10px; width: 52px; height: 52px; }
.dt-admin { max-width: 900px; margin: 0 auto 30px; padding: 12px var(--gutter) 0; }
.dt-admin .field { border-bottom-color: var(--ink-3); }
.dt-admin .field > span { color: var(--ink-3); }
.dt-admin .field textarea { color: var(--ink); }
.dt-admin-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; margin-top: 10px; }
.slot.doubtful img { outline: 2px dashed #e9b824; outline-offset: 2px; }
.slot .doubt { font-weight: 400; color: #e9b824; font-size: 14px; }
.slot { position: relative; }
.slot .x { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(20, 20, 19, 0.75); color: #f4f2ec; font: 20px/1 var(--hand); cursor: pointer; display: grid; place-items: center; }
.slot .x:hover { background: #d8473f; }

/* ---------- canister labels (editors) ---------- */
.cans-page { max-width: 1240px; }
.cans-missing { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-2); font-size: 18px; }
.can-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 20px; margin-top: 18px; }
.can-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 8px 14px; background: var(--paper-2); }
.can-card.new { justify-content: center; gap: 8px; min-height: 300px; }
.can-card .can, .ce-can .can { margin: 0 auto; pointer-events: none; }
.can-card .leader, .ce-can .leader { display: none; }
.can-card:hover .can-obj { animation: spin 6s linear infinite; }
.can-card h3 { font-size: 22px; font-weight: 400; margin: -6px 0 2px; }
.can-card .used { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 26ch; }
.can-card .kind { margin: 2px 0 10px; font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.can-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.can-btns .btn { font-size: 16px; padding: 4px 12px; }
.can-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: start; margin-top: 10px; }
.ce-left { position: sticky; top: 12px; display: grid; gap: 12px; }
.ce-can { display: flex; flex-direction: column; align-items: center; height: 340px; }
.ce-can .can { transform: scale(1.45); transform-origin: 50% 0; }
.ce-turn { display: flex; align-items: center; gap: 10px; margin-top: auto; color: var(--ink-2); font-size: 16px; }
.ce-turn input { width: 220px; accent-color: var(--ink); }
.ce-flat { position: relative; line-height: 0; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); touch-action: none; }
.ce-flat img { width: 100%; height: auto; cursor: crosshair; user-select: none; }
.ce-flat::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(127, 127, 127, 0.6); pointer-events: none; }
.ce-sel { position: absolute; outline: 2px dashed #e9b824; outline-offset: 1px; pointer-events: none; }
.ce-photo { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ce-photo-box { width: 100%; }
.ce-photo-box canvas { max-width: 100%; cursor: crosshair; display: block; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--ink-3); cursor: pointer; }
.ce-h { font-size: 24px; font-weight: 400; margin: 22px 0 8px; }
.ce-h small { font-size: 15px; color: var(--ink-3); }
.ce-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ce-item { background: var(--paper-2); padding: 6px 10px; }
.ce-item.open { outline: 1px dashed var(--ink-3); }
.ce-item .form-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); padding: 6px 0 4px; }
.ce-item .field { border-bottom-color: var(--ink-3); }
.ce-item .field > span { color: var(--ink-3); }
.ce-item .field input, .ce-item .field select, .ce-item .field textarea { color: var(--ink); }
.ce-item .field input[type="color"] { height: 30px; padding: 0; cursor: pointer; }
.ce-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ce-pick { flex: 1; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--ink); font: 18px var(--hand); text-align: left; cursor: pointer; padding: 4px 0; }
.ce-pick .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px var(--ink-3); flex: none; }
.ce-tools { display: flex; gap: 4px; }
.ce-tools button { width: 32px; height: 32px; background: none; border: 1px solid var(--ink-3); border-radius: 4px; color: var(--ink); font: 18px var(--hand); cursor: pointer; }
.ce-tools button:hover { background: var(--paper); }
.ce-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ce-add .btn { font-size: 16px; padding: 4px 12px; }
.form-card .field input[type="color"] { height: 32px; padding: 0; cursor: pointer; }
@media (max-width: 900px) {
  .can-editor { grid-template-columns: 1fr; }
  .ce-left { position: static; }
}

/* ---------- the grid as you arranged it (board.free) and what you stuck on it ---------- */
@media (min-width: 761px) {
  .board.free { width: var(--bw); height: var(--bh); max-width: none; margin: 0 auto; zoom: var(--fit, 1); }
  .board.free > .sb-roll, .board.free > .sb-year-row { position: absolute; margin: 0 !important; }
}
[data-hidden] { display: none !important; }
/* phones: an arranged board is stacked like the automatic one (each roll keeps its tweaks and stickers) */
@media (max-width: 760px) {
  .board.free > .sb-roll, .board.free > .sb-year-row { left: auto !important; top: auto !important; }
}
.sb-extra { position: absolute; z-index: 1; cursor: default; }
.sb-roll > .sb-extra { cursor: default; }
.x-sticker { width: 64px; height: 64px; }
.x-sticker svg { width: 100%; height: 100%; overflow: visible; }
.x-tape { width: 130px; height: 28px; background: var(--c, #e6ddc4); opacity: 0.88; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px)), radial-gradient(circle 3px at 0 50%, #000 98%, transparent) 0 0 / 6px 7px repeat-y; }
/* patterns in a second tone that always contrasts (--c2: darker on light tapes, lighter on dark ones) */
.x-tape[data-pattern="stripes"] { background: repeating-linear-gradient(-45deg, var(--c, #e6ddc4) 0 7px, var(--c2, #9b9381) 7px 12px); }
.x-tape[data-pattern="dots"] { background: radial-gradient(circle 2.8px, var(--c2, #9b9381) 98%, transparent) 0 0 / 11px 11px, var(--c, #e6ddc4); }
.x-tape[data-pattern="grid"] { background: linear-gradient(var(--c2, #9b9381) 1.5px, transparent 1.5px) 0 0 / 9px 9px, linear-gradient(90deg, var(--c2, #9b9381) 1.5px, transparent 1.5px) 0 0 / 9px 9px, var(--c, #e6ddc4); }
.x-note { min-width: 90px; max-width: 220px; padding: 8px 12px; background: var(--c, #f2ecdc); color: #23201b; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); font-family: "Caveat", var(--hand); font-size: 24px; line-height: 1.1; white-space: pre-wrap; }
.x-note[data-font="marker"] { font-family: "Permanent Marker", var(--hand); font-size: 18px; }
.x-note[data-font="type"] { font-family: "Special Elite", var(--hand); font-size: 14px; }
.x-note[data-font="hand"] { font-family: var(--hand); font-size: 20px; }
/* loose text, written straight on the cork (theme ink unless you pick a colour) */
.x-text { width: max-content; max-width: 280px; color: var(--c, var(--ink)); font-family: "Caveat", var(--hand); font-size: 26px; line-height: 1.12; white-space: pre-wrap; }
.x-text[data-font="marker"] { font-family: "Permanent Marker", var(--hand); font-size: 19px; }
.x-text[data-font="type"] { font-family: "Special Elite", var(--hand); font-size: 15px; }
.x-text[data-font="hand"] { font-family: var(--hand); font-size: 21px; }
/* a sign, like the year boxes */
.x-label { width: max-content; font-size: 40px; line-height: 1; padding: 8px 18px 6px; background: var(--paper); color: var(--c, var(--ink)); }
/* pieces of a roll: negatives, a print, the lab ticket */
.x-negs { width: 280px; }
.x-photo { width: 130px; }
.sb-extra.x-photo, .sb-extra.x-negs, .sb-extra.x-ticket { transform: none; }
.x-stamp { padding: 10px 14px; border: 2.5px dashed var(--c, #d8473f); border-radius: 50%; color: var(--c, #d8473f); font-family: "Special Elite", var(--hand); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; white-space: nowrap; }

/* editing the grid (editors, on wide screens) */
.sb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.board.editing { outline: 1px dashed var(--ink-3); outline-offset: 10px; }
.board.editing [data-part], .board.editing .sb-extra, .board.editing .sb-can { cursor: move; pointer-events: auto; }
.board.editing [data-hidden] { display: block !important; opacity: 0.25; }
/* while editing, nothing moves on its own: no spinning cans, no prints growing on hover */
.board.editing .sb-link .sb-print, .board.editing .sb-link:hover .sb-print, .board.editing .sb-link:focus-visible .sb-print { transition: none; transform: rotate(var(--tilt, 0deg)); }
.board.editing .can-obj { animation: none !important; }
.board.editing .sel { outline: 2px dashed #e9b824; outline-offset: 3px; }
.board.editing [contenteditable="true"] { outline: 2px solid #3d7fd6; cursor: text; }
.ed-grab { position: absolute; left: 6px; top: -6px; z-index: 6; padding: 3px 10px 4px; background: #e9b824; color: #23201b; font-size: 15px; border-radius: 4px; cursor: grab; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); white-space: nowrap; pointer-events: auto !important; }
.ed-grab:active { cursor: grabbing; }
.ed-frame { position: absolute; z-index: 8; border: 1px solid #e9b824; pointer-events: none; }
.ed-frame .h { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #e9b824; border: 2px solid #23201b; pointer-events: auto; }
.ed-frame .h-rot { left: 50%; top: -34px; margin-left: -9px; cursor: grab; }
.ed-frame .h-rot::after { content: ""; position: absolute; left: 7px; top: 16px; width: 1px; height: 18px; background: #e9b824; }
.ed-frame .h-scale { right: -11px; bottom: -11px; cursor: nwse-resize; border-radius: 3px; }
.ed-tools { position: absolute; z-index: 9; display: flex; gap: 6px; align-items: center; padding: 5px 7px; background: var(--paper); border: 1px solid var(--ink-3); border-radius: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); pointer-events: auto; white-space: nowrap; }
.ed-tools button, .ed-tools select { font: 15px var(--hand); color: var(--ink); background: var(--paper-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 3px 8px; cursor: pointer; }
.ed-tools input[type="color"] { width: 32px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.ed-palette { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; width: min(1100px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 12px; background: var(--paper); border: 1px solid var(--ink-3); border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.ed-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ed-row > b { font-weight: 400; color: var(--ink-3); font-size: 14px; min-width: 64px; letter-spacing: 0.08em; text-transform: uppercase; }
.ed-palette .chip:not(.tape-chip) { width: 44px; height: 44px; padding: 4px; background: var(--paper-2); border: 1px solid var(--ink-3); border-radius: 6px; cursor: pointer; }
.ed-palette .chip svg { width: 100%; height: 100%; overflow: visible; }
.ed-palette .chip.tape-chip { width: 64px; height: 24px; padding: 0; border: 0; border-radius: 2px; cursor: pointer; }
.ed-palette .btn { font-size: 16px; padding: 4px 12px; }
.ed-actions { justify-content: flex-end; }
.ed-actions .up-msg { margin-right: auto; }
.ed-tip { color: var(--ink-3); font-size: 14px; }
body.board-editing .scrap { padding-bottom: 220px; }

/* a progress bar drawn by hand (site.js pfProgress) */
.pf-progress { display: grid; gap: 4px; width: min(420px, 100%); color: var(--ink); }
.pf-progress svg { width: 100%; height: 26px; overflow: visible; }
.pf-progress-label { font-size: 16px; color: var(--ink-2); }
.form-card .pf-progress, .ce-photo .pf-progress { color: inherit; }

/* questions and notices (site.js ask) */
dialog.ask { width: min(520px, calc(100vw - 32px)); background: transparent; overflow: visible; }
.ask-box { position: relative; display: grid; gap: 16px; padding: 24px 26px 20px; background: var(--paper); color: var(--ink); }
.ask-box h2 { font-size: 28px; font-weight: 400; margin: 0; }
.ask-box p { margin: 0; font-size: 20px; line-height: 1.3; }
.ask-input { font: 20px var(--hand); color: var(--ink); background: var(--paper-2); border: 0; border-bottom: 1.5px dashed var(--ink-3); padding: 6px 4px; outline: none; }
.ask-input:focus { border-bottom-color: var(--ink); }
.ask-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.auto-pair { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 18px; cursor: pointer; }
.auto-pair input { width: 20px; height: 20px; accent-color: var(--ink); }
.up-explain { margin: 6px 0 0; max-width: 90ch; font-size: 15px; color: var(--ink-3); line-height: 1.35; }
.slot small { white-space: normal; overflow: visible; }

/* ---------- photos page: every photo, by roll ---------- */
.photos { padding: 6px var(--gutter) 80px; }
.photos h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 400; margin: 6px 0 10px; }
.ph-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 0; background: color-mix(in srgb, var(--paper) 94%, transparent); }
.ph-filter { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink-2); }
.ph-filter select { font: 18px var(--hand); color: var(--ink); background: var(--paper-2); border: 1px solid var(--ink-3); border-radius: 6px; padding: 3px 8px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-f { font: 16px var(--hand); color: var(--ink-2); background: none; border: 1px solid var(--ink-3); border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.chip-f.on { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.ph-count { margin: 0 0 0 auto; color: var(--ink-3); font-size: 16px; }
.ph-actions { position: sticky; top: 56px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; margin: 4px 0 10px; background: var(--paper-2); border: 1px solid var(--ink-3); border-radius: 8px; }
.ph-sel { margin-right: auto; font-size: 18px; }
.ph-roll { margin: 22px 0 10px; }
.ph-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 10px; font-size: 28px; font-weight: 400; }
.ph-head small { font-size: 16px; color: var(--ink-3); }
.ph-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.ph { position: relative; }
/* a card's photo: 3:2 box (the film strip's .shot sizes itself by --h; here the card's width rules) */
.ph .shot { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; padding: 0; border: 0; background: var(--film); cursor: zoom-in; line-height: 0; }
.ph .shot img.final, .ph .shot img.orig { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .shot img.orig { opacity: 0; transition: opacity 0.15s; }
.ph .shot.show-orig img.orig { opacity: 1; }
.ph .shot img.ph-inset { position: absolute; inset: auto 5px 5px auto; width: 34%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; z-index: 1; border: 2px solid #f4f2ec; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); }
.ph.is-hidden .shot { opacity: 0.35; }
.ph.picked .shot { outline: 3px solid #e9b824; outline-offset: 2px; }
.ph-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 5px 0 0; font-size: 14px; color: var(--ink-2); }
.ph-n { font-size: 16px; color: var(--ink); }
.ph-badge { padding: 0 7px; border: 1px solid var(--ink-3); border-radius: 999px; font-size: 13px; }
.ph-badge.hid { color: #e9b824; border-color: #e9b824; }
.ph-badge.cov { color: #3fa46a; border-color: #3fa46a; }
.ph-note { margin: 2px 0 0; font-family: "Caveat", var(--hand); font-size: 20px; line-height: 1.1; color: var(--ink); white-space: pre-wrap; }
.ph-tools { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 4px; padding: 5px; pointer-events: none; }
.ph-tools .spacer { flex: 1; }
.ph-tools > * { pointer-events: auto; }
.ph-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: rgba(20, 20, 19, 0.7); cursor: pointer; }
.ph-check input { width: 18px; height: 18px; accent-color: #e9b824; cursor: pointer; }
.ph-t { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: rgba(20, 20, 19, 0.7); color: #f4f2ec; font-size: 18px; cursor: pointer; }
.ph-t:hover { background: #d8473f; }
.ph-t[data-a="vis"]:hover { background: #3d7fd6; }
/* the eye and the × are always there for editors; a little quieter until you point at the photo */
.ph:not(:hover):not(.picked) .ph-tools > * { opacity: 0.75; }

/* help on a button: a little hand-drawn card (site.js initHelp; a popover, so the browser's own box styles are undone) */
.pf-tip { position: fixed; inset: auto; margin: 0; z-index: 1000; max-width: min(300px, calc(100vw - 12px)); padding: 6px 12px 7px; border: 0; overflow: visible; background: #f2ecdc; color: #2a261f; font: 16px/1.25 var(--hand); text-align: center; pointer-events: none; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); transform: rotate(-0.6deg); opacity: 0; transition: opacity 0.12s; }
.pf-tip.on { opacity: 1; }

/* ---------- members: the site's header, profiles, home, people, comments and reactions ---------- */
.site-top .brand { font-size: clamp(26px, 3.4vw, 36px); }
.site-nav { flex-wrap: wrap; align-items: center; gap: 6px 18px; }
/* links inside running text */
.post-head a, .side-list a, .comment .c-who, .person-name, .who-mini a { text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.post-head a:hover, .side-list a:hover, .comment .c-who:hover, .person-name:hover, .who-mini a:hover { text-decoration-style: solid; }
/* a profile: name, numbers, follow (or «editar perfil»), its views */
.who { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 20px; padding: 10px var(--gutter) 2px; }
.who-name { font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1; margin: 0; }
.who-sub { margin: 6px 0 0; color: var(--ink-3); font-size: 18px; }
.who-bio { margin: 6px 0 0; color: var(--ink-2); font-size: 18px; max-width: 70ch; }
.who-act { align-self: center; }
.who .views { grid-column: 1 / -1; margin-top: 4px; }
.who ~ .tl-wrap { min-height: calc(100vh - 210px); min-height: calc(100dvh - 210px); }
.who-mini { margin: 6px var(--gutter) 0; color: var(--ink-3); font-size: 18px; }
.who-mini a { color: var(--ink-2); }
.btn.follow.on { color: var(--ink-2); }
/* phones: a lighter header, so the rolls still show without scrolling */
@media (max-width: 600px) {
  .site-top { padding-top: 14px; }
  .site-top .brand { font-size: 26px; }
  .site-nav { gap: 2px 14px; font-size: 18px; }
  .site-nav .add-roll { padding: 2px 10px; font-size: 16px; }
  .who { padding-top: 6px; }
  .who-name { font-size: 36px; }
  .who-sub { font-size: 16px; }
  .who-act { align-self: start; }
  .who-act .btn { padding: 4px 10px; font-size: 16px; }
  .who ~ .tl-wrap { min-height: calc(100dvh - 240px); }
}

/* home: what's new */
.feed { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px 44px; align-items: start; max-width: 1240px; padding: 6px var(--gutter) 80px; }
.feed-title { font-size: clamp(34px, 5vw, 52px); font-weight: 400; margin: 6px 0 8px; }
.feed-tabs { margin: 0 0 10px; flex-wrap: wrap; }
.feed-main > .hint { margin: 0 0 10px; }
.post { padding: 16px 0 24px; border-bottom: 1px dashed var(--ink-3); }
.post-head { margin: 0; font-size: 21px; line-height: 1.3; }
.post-who { font-size: 23px; }
.post-when { margin-left: 10px; color: var(--ink-3); font-size: 15px; white-space: nowrap; }
.post-sub { margin: 2px 0 10px; color: var(--ink-3); font-size: 16px; }
/* the photos as a strip of film */
.post-film { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 26px 10px; background: var(--film); border-radius: 3px; }
.post-film::before, .post-film::after { content: ""; position: absolute; left: 8px; right: 8px; height: 8px; background: repeating-linear-gradient(90deg, var(--paper) 0 10px, transparent 10px 22px); }
.post-film::before { top: 9px; }
.post-film::after { bottom: 9px; }
.post-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #000; transition: transform 0.15s; }
.post-frame:hover img, .post-frame:focus-visible img { transform: scale(1.04); }
.post-talk { display: inline-flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.post-talk .pt { display: inline-flex; align-items: center; gap: 5px; }
.post-talk .icon { color: #d8473f; }
.feed-side { display: grid; gap: 26px; position: sticky; top: 16px; }
.side-box { padding: 14px 18px 16px; }
.side-box h2 { font-size: 23px; font-weight: 400; margin: 0 0 10px; }
.side-box > p { margin: 8px 0 0; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; line-height: 1.3; }
.side-list q { color: var(--ink-2); }
.side-list .icon { color: #d8473f; }
.side-list .post-when { margin-left: 4px; }
.people-mini li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.people-mini small { display: block; color: var(--ink-3); font-size: 14px; }
.people-mini .btn { font-size: 16px; padding: 4px 12px; }
@media (max-width: 900px) {
  .feed { grid-template-columns: 1fr; }
  .feed-side { position: static; }
}
@media (max-width: 700px) { .post-film { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* people: inviting, the members, managing them */
.people { max-width: 1000px; padding: 6px var(--gutter) 80px; }
.people h1, .settings h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 400; margin: 6px 0 16px; }
.invite { margin-bottom: 30px; }
.invite-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; }
.invite-form .field { flex: 1 1 260px; }
.invite-form .btn { color: #23201b; }
.invite .hint { margin-top: 8px; color: #5b564b; font-size: 16px; }
.invite .up-msg { margin-top: 8px; color: #4a4843; }
.invite .up-msg.bad { color: #d8473f; }
.invites { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.invites li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 6px; border-top: 1px dashed var(--card-line); color: #23408c; }
.invites small { color: #77705f; font-size: 14px; }
.invites .btn { margin-left: auto; padding: 2px 10px; font-size: 16px; color: #23201b; }
.people-list { list-style: none; margin: 0; padding: 0; }
.person { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; padding: 12px 0; border-bottom: 1px dashed var(--ink-3); }
.person-name { font-size: 24px; }
.person-handle { color: var(--ink-3); font-size: 17px; }
.person-sub { margin: 2px 0 0; color: var(--ink-2); font-size: 16px; }
.person-bio { margin: 4px 0 0; color: var(--ink-2); font-size: 17px; }
.person.is-blocked .person-id { opacity: 0.55; }
.person-admin { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink-3); font-size: 15px; }
.person-admin label { display: inline-flex; align-items: center; gap: 6px; }
.person-admin input { width: 64px; font: 16px var(--hand); color: var(--ink); background: var(--paper-2); border: 0; border-bottom: 1px dashed var(--ink-3); padding: 2px 4px; }
.person-admin input.saved { outline: 2px solid #3fa46a; }
.person-admin .btn { padding: 2px 10px; font-size: 15px; }
/* requests for more invites: a count by «gente» in the header, the list for whoever administers, the ask form */
.nav-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: #d8473f; color: #fff; font-size: 14px; line-height: 1; vertical-align: 2px; }
.asks { margin-bottom: 24px; }
.asks-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.asks-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 6px; border-top: 1px dashed var(--card-line); color: #23408c; }
.asks-list li:first-child { border-top: 0; }
.asks-list li > span { margin-right: auto; }
.asks-list b { font-weight: 400; color: #2a261f; }
.asks-list small { color: #77705f; font-size: 14px; }
.asks-list .btn { padding: 2px 12px; font-size: 16px; color: #23201b; }
.ask-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--card-line); color: #4a4843; font-size: 17px; }
.ask-more input { width: 60px; font: 18px var(--hand); color: #23408c; background: transparent; border: 0; border-bottom: 1px dashed var(--card-line); padding: 2px 4px; }
.ask-more .btn { padding: 2px 12px; font-size: 16px; color: #23201b; }
.invite-form .field.check { flex: 0 0 auto; align-self: flex-end; padding-bottom: 8px; }
.invite-hint { margin: 0 0 24px; }

/* your profile; the first visit */
.settings-more { display: grid; gap: 12px; margin-top: 34px; }
.settings-more h2 { font-size: 26px; font-weight: 400; margin: 0; }
.settings-more p { margin: 0; }
.settings-more p:not(.hint) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 19px; }
.welcome > p { font-size: 20px; max-width: 62ch; }
.welcome-form { max-width: 660px; margin: 18px 0 12px; }
/* signing in: the name big, a card with the Google button */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 30px var(--gutter); }
.login-brand { margin: 0; font-size: clamp(44px, 8vw, 80px); line-height: 1; text-align: center; transform: rotate(-1.5deg); }
.login-card { width: min(520px, 100%); display: grid; gap: 18px; padding: 16px 22px 24px; }
.login-text { margin: 0; font-size: 19px; line-height: 1.35; }
.login-google { justify-self: center; gap: 12px; color: #23201b; }
.login-google:hover { background: rgba(0, 0, 0, 0.05); }
.g-logo { width: 22px; height: 22px; flex: none; }
.login .up-msg { margin: 0; text-align: center; }
.login-foot { margin: 0; font-size: 16px; color: var(--ink-3); }
.login-or { display: flex; align-items: center; gap: 12px; margin: 0; color: #77705f; font-size: 15px; }
.login-or::before, .login-or::after { content: ""; flex: 1; border-top: 1px dashed var(--card-line); }
.login-mail { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.login-mail .field { flex: 1 1 220px; }
.login-mail .btn { color: #23201b; }
.login-code input[name="code"] { font-size: 28px; letter-spacing: 6px; }
.login-alt { margin: 0; font-size: 15px; color: #77705f; }
.login-alt a { color: #23408c; }
/* the privacy page */
.privacy-list { display: grid; gap: 14px; margin: 0 0 24px; max-width: 70ch; }
.privacy-list dt { font-size: 22px; }
.privacy-list dd { margin: 2px 0 0; color: var(--ink-2); font-size: 19px; line-height: 1.4; }

/* who sees a roll */
.audience { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding: 8px 0 0; border: 0; border-top: 1px dashed var(--card-line, var(--ink-3)); }
.audience legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #77705f; }
.audience label { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; color: #23408c; cursor: pointer; }
.audience input { accent-color: #23408c; }
.aud-people { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 6px 0 2px; }
.aud-person small { color: #77705f; }
.ask-box .audience { border-top-color: var(--ink-3); }
.ask-box .audience legend, .ask-box .aud-person small { color: var(--ink-3); }
.ask-box .audience label { color: var(--ink); }
.ask-box .audience input { accent-color: var(--ink); }
.ask-box .hint { font-size: 16px; }
.aud-now { font-weight: 400; text-decoration: underline dotted; text-underline-offset: 3px; }

/* reactions and comments: under a roll, and under each photo in the detail view */
.talk { max-width: 900px; margin: 10px auto 0; padding: 0 var(--gutter); }
.talk-roll { margin-top: 34px; }
.talk-h { font-size: 24px; font-weight: 400; margin: 0 0 8px; color: var(--ink-2); }
.talk.loading .comments, .talk.loading .reacts { opacity: 0.5; }
.reacts { display: flex; flex-wrap: wrap; gap: 6px; }
.react { display: inline-flex; align-items: center; gap: 5px; min-width: 54px; height: 42px; padding: 0 12px; border: 1.5px solid var(--ink-3); border-radius: 999px; color: var(--ink-2); font-size: 17px; }
.react .icon { width: 22px; height: 22px; }
.react:hover { border-color: var(--ink); color: var(--ink); }
.react.on { border-color: currentColor; }
.react.on svg path { fill: currentColor; fill-opacity: 0.22; }
.react[data-kind="heart"].on { color: #d8473f; }
.react[data-kind="star"].on { color: #d9a514; }
.react[data-kind="fire"].on { color: #e5762a; }
.react[data-kind="smile"].on { color: #3d7fd6; }
.comments { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.comment p { margin: 0; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.comment .c-who { margin-right: 6px; }
.comment small { color: var(--ink-3); font-size: 14px; }
.c-del { color: var(--ink-3); text-decoration: underline dotted; }
.c-del:hover { color: #d8473f; }
.say { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.say textarea { flex: 1; min-height: 44px; font: 19px/1.3 var(--hand); color: var(--ink); background: var(--paper-2); border: 0; border-bottom: 1.5px dashed var(--ink-3); padding: 9px 10px; resize: none; outline: none; }
.say textarea:focus { border-bottom-color: var(--ink); }
.dt-talk { margin-bottom: 20px; }
/* under a photo that has some */
.talk-mark { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; color: var(--ink-2); font-size: 15px; }
.talk-mark .icon { width: 16px; height: 16px; margin-left: 5px; }
.talk-mark .icon:first-child { margin-left: 0; }
.strip6 .talk-mark { margin-left: auto; color: var(--film-ink); font-size: 12px; }
.strip6 .talk-mark .icon { width: 13px; height: 13px; }
