@import url("wenkai-1.530/font.css");

:root {
  --paper: #fbf8ed;
  --ink: #443b2f;
  --green: #405936;
  --muted: #736951;
  --line: #d1c9ad;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--gallery-writing, serif);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer }
button, a { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 3px dashed #a45729; outline-offset: 5px }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(100%) }
.mast {
  min-height: 70px; padding: 0 max(5%,calc((100% - 1240px)/2));
  display: flex; align-items:center; justify-content:space-between; gap:18px;
  background:#fbf8ed; border-bottom:2px solid #d7cfb6;
}
.wordmark { display:inline-flex; align-items:center; gap:5px; font-size:21px; white-space:nowrap }
.wordmark i { font-style:normal; font-weight:400; color:var(--green); font-size:30px }
.crayon { position:relative; width:9px; height:25px; border:1.5px solid #66482d; background:repeating-linear-gradient(0deg,#bd603d 0 4px,#f2a668 5px 7px); transform:rotate(29deg); margin:0 9px }
.crayon:before { content:""; position:absolute; left:-1px; right:-1px; bottom:100%; height:9px; background:#7c503a;clip-path:polygon(50% 0,100% 100%,0 100%) }
.mast-tools { display:flex; align-items:center; gap:clamp(6px,1.6vw,24px); white-space:nowrap }
.upload-link { display:inline-flex; align-items:center; min-height:44px; padding:0 3px; font-size:15px; color:var(--green); text-decoration:underline; text-decoration-color:#9baf77; text-underline-offset:5px }
nav { display:flex; align-items:center; gap:32px; font-size:17px }
nav a { padding:12px 0; position:relative }
.tab[aria-current]:after { content:""; position:absolute; left:0;right:0;bottom:3px;height:4px;background:#9baf77; border-radius:60% 25% 50% 30%;transform:rotate(-3deg) }
#quiet { border:0; background:transparent; display:flex; gap:9px; align-items:center; padding:10px 0 10px 7px; font-size:15px }
.switch { display:inline-flex; align-items:center; width:31px; height:17px; padding:2px; border:1.4px solid var(--green); border-radius:13px; transform:rotate(-3deg) }
.switch:before { content:""; background:#8b916f; width:10px; height:10px; border-radius:50%; }
#quiet[aria-checked=true] .switch { background:#748a5b }
#quiet[aria-checked=true] .switch:before { margin-left:auto; background:var(--paper) }
#desk { position:relative }
.room {
  --scene-width:min(100vw,1480px);
  --scene-height:clamp(505px,44vw,650px);
  --backdrop-width:100vw;
  /* The inked rear edge begins at row 503 of the 941px room illustration. */
  --table-edge:calc(var(--scene-height) * 503 / 941);
  position:relative; isolation:isolate; overflow:clip;
  background:#f4e8cd url(worktable.webp) left center / var(--backdrop-width) 100% no-repeat;
}
.set { position:relative; margin:auto; height:var(--scene-height); max-width:1480px }
.window-curtain {
  position:absolute; top:0; left:0; width:calc(var(--backdrop-width) * .099); height:55.6%; pointer-events:none;
  filter:drop-shadow(2px 2px 1px #79623136); transform-origin:2% 0;
  animation:window-breeze 8s ease-in-out infinite;
}
.window-curtain::before {
  content:""; display:block; width:100%; height:100%; background:url(room.webp) left top / 1015% 178% no-repeat;
  clip-path:polygon(0 0,100% 0,94% 21%,85% 46%,77% 64%,76% 79%,81% 96%,76% 98%,69% 98%,63% 99%,55% 98.5%,47% 97.5%,38% 98%,28% 99%,17% 99%,9% 100%,0 99%);
}
@keyframes window-breeze {
  0%,100% {transform:rotate(-.4deg) skewX(.15deg)}
  33% {transform:rotate(-1.4deg) skewX(1.25deg)}
  72% {transform:rotate(.5deg) skewX(-.65deg)}
}
#desk[data-offscreen] .window-curtain, body:has(dialog[open]) .window-curtain {animation-play-state:paused}
.wall-pictures {position:absolute; inset:0; z-index:2; pointer-events:none}
.wall-picture {
  position:absolute; left:var(--pin-x); top:var(--pin-y); width:var(--sheet-width);
  display:block; transform:translateX(-50%) rotate(var(--slant)); transform-origin:50% 3%;
  appearance:none; border:0; padding:0; background:transparent; line-height:0;
  pointer-events:auto; touch-action:manipulation; cursor:zoom-in;
}
.wall-mount {
  position:relative; display:block; transform-origin:var(--zoom-origin,50% 38%);
  transform:translateY(var(--sheet-lift,0px)) rotate(var(--sheet-turn,0deg)) scale(var(--sheet-scale,1));
}
.wall-picture:focus-visible {outline:none}
.wall-picture[aria-expanded="true"] .wall-mount {visibility:hidden}
.wall-picture:focus-visible .wall-mount {outline:2px dashed #a45729; outline-offset:4px}
.wall-picture.pig {
  --pin-x:31%; --pin-y:13%; --sheet-width:clamp(72px,9.1vw,132px);
  --slant:-4deg; --tape:#e6cb8e; --tape-slant:-6deg; --breeze-delay:0s;
}
.wall-picture.apple {
  --pin-x:42.7%; --pin-y:23.5%; --sheet-width:clamp(64px,7.8vw,113px);
  --slant:3deg; --tape:#c3c99c; --tape-slant:7deg; --breeze-delay:-7.65s;
}
.wall-picture.rabbit {
  --pin-x:53.3%; --pin-y:11%; --sheet-width:clamp(69px,8.6vw,125px);
  --slant:-2deg; --tape:#e2c3a9; --tape-slant:4deg; --breeze-delay:-7.3s;
}
.wall-mount::after, .wall-frame::after {
  content:""; position:absolute; left:36%; top:-4.5%; width:29%; height:11%;
  transform:rotate(var(--tape-slant)); background:var(--tape) url(wall-pictures/paper-light.webp) center / 90px;
  background-blend-mode:multiply; opacity:.76;
  clip-path:polygon(2% 4%,98% 0,96% 20%,100% 39%,96% 57%,99% 79%,97% 98%,0 100%,3% 76%,0 55%,3% 33%,0 17%);
}
.wall-paper {
  position:relative; display:block; padding:2.2%; background:#f5eddb; border-radius:1px 1.5px .7px 1px;
  transform-origin:50% 2%; box-shadow:0 1px 1px #5d4c3530,2px 3px 4px -1px #59483240;
}
.wall-paper img {display:block; width:100%; height:auto; filter:saturate(.86) contrast(.92) sepia(.08) brightness(1.03)}
.wall-picture.apple img {filter:saturate(.87) contrast(.94) sepia(.16) brightness(1.09)}
.wall-paper::after {
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:linear-gradient(122deg,#fff5db5c 5%,transparent 62%,#8065401c),url(wall-pictures/paper-light.webp) center / cover;
  mix-blend-mode:soft-light; opacity:.46;
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-still]) .wall-paper {animation:paper-breeze 8s var(--breeze-delay) ease-in-out infinite}
  html:not([data-still]) .wall-mount {transition:transform .25s cubic-bezier(.2,.8,.25,1.08),box-shadow .23s ease-out}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html:not([data-still]) .wall-picture:hover {
    --sheet-scale:1.085; --sheet-turn:calc(var(--slant) * -.55); --sheet-lift:-4px;
  }
  html:not([data-still]) .wall-picture:hover .wall-mount {box-shadow:1px 3px 4px -1px #69513640}
}
@keyframes paper-breeze {
  0%,15%,70%,100% {transform:none}
  33% {
    transform:perspective(380px) rotateX(3deg) skewX(-.55deg);
    box-shadow:0 1px 1px #5d4c3530,3px 5px 5px -2px #59483248;
  }
  48% {transform:perspective(380px) rotateX(.4deg) skewX(.18deg)}
  57% {transform:perspective(380px) rotateX(1.3deg) skewX(-.23deg)}
}
#desk[data-offscreen] .wall-paper, body:has(dialog[open]) .wall-paper {animation-play-state:paused}
.artist-seat {
  --artist-width:min(calc(var(--scene-width) * .35),calc(var(--scene-height) * .65),465px);
  position:absolute; z-index:1; left:59%;
  /* Register the rear clip in the 500-unit SVG with the painted desk. */
  top:calc(var(--table-edge) - var(--artist-width) * 384 / 500);
  width:var(--artist-width);
}
.artist { touch-action:manipulation; background:transparent; border:0; display:block; width:100%; padding:0; line-height:0; }
.drawing { display:block; width:100%; height:auto; overflow:hidden }
.plane-flight { position:absolute; z-index:5; inset:0; overflow:hidden; pointer-events:none; contain:strict; transform:translateZ(0) }
#flying-plane { position:absolute; height:auto; transform:translate(-50%,-50%) }
.artist-hint { position:absolute; top:18%; left:78%; width:max-content; color:#705e42; font-size:16px; transform:rotate(6deg); pointer-events:none }
.artist-hint svg { position:absolute; top:80%; left:-19px; width:38px;height:23px;transform:scaleX(-1);fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round }
.desk-objects {position:absolute; inset:0; z-index:2; pointer-events:none; transform:translateY(var(--book,0px))}
.desk-objects a {pointer-events:auto; touch-action:manipulation}
.book-seat { position:absolute; left:32%; top:72%; width:min(20.5%,calc(var(--scene-height) * .435),290px); transform:translate(-50%,-50%); }
.cover {
  --lift:0px; display:block; position:relative; transform:perspective(850px) translateY(var(--lift)) rotateX(44deg) rotateZ(-12deg);
  transform-origin:50% 61%; filter:drop-shadow(1px 3px 0 #8f734a66) drop-shadow(3px 8px 4px #65472640);
}
.cover img { display:block; width:100%; height:auto }
.cover-action {
  position:absolute; left:29%; right:15%; bottom:8%; padding:2px 0; font-size:clamp(17px,1.65vw,24px);
  font-weight:500; color:#3e512e; text-align:center; background:#f9edb3;
  border-bottom:1.5px dashed #928050; transform:rotate(-1deg); line-height:1.18;
}
.cover-action b {font-weight:normal}
.desk-print {
  --lift:0px; --photo-width:calc(var(--scene-width) * .148); --photo-height:calc(var(--scene-height) * .30);
  position:absolute; display:grid; justify-items:center; align-content:center; width:max-content; min-width:46px; min-height:56px; max-width:calc(var(--photo-width) + 22px);
  padding:clamp(4px,.55vw,9px) clamp(4px,.55vw,9px) 3px; background:#fffaf0;
  box-shadow:0 1px 0 #b19b78,1px 3px 2px #7d5f3842,3px 10px 8px -5px #714d2e55;
  border-radius:2px 1px 3px 1px; cursor:zoom-in;
  transform:translate(-50%,-50%) translateY(var(--lift)) perspective(800px) rotateX(30deg) rotateZ(var(--turn));
}
.desk-print-1 { left:13%; top:75%; --turn:-13deg }
.desk-print-2 { left:51%; top:75.5%; --turn:10deg; --photo-width:calc(var(--scene-width) * .158) }
.desk-print img {display:block; max-width:min(var(--photo-width),235px); max-height:var(--photo-height); width:auto; height:auto}
.desk-print span {
  display:block; max-width:min(var(--photo-width),235px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  text-align:center; padding:2px 3px; font-size:clamp(12px,1.12vw,17px); line-height:1.25; color:#655343;
}
.pencil-place {position:absolute; z-index:3; transform:translateY(var(--front,0px))}
.pencil-place.blue {left:71%;top:71%; --roll-x:clamp(13px,2.2vw,33px); --roll-y:clamp(12px,2vw,28px); --tip-angle:6deg}
.pencil-place.coral {left:83%;top:80%; --roll-x:clamp(-27px,-1.5vw,-11px); --roll-y:clamp(-35px,-2vw,-13px); --tip-angle:-7deg}
.loose-pencil {
  padding:0; border:0; background:transparent; display:grid; place-items:center; min-height:44px; min-width:44px;
  width:clamp(54px,7vw,108px); color:inherit; touch-action:manipulation;
  filter:drop-shadow(1px 2px 1px #694b385e); transform:translate(0,0) rotate(0);
  transition:transform .68s cubic-bezier(.2,.68,.22,1);
}
.loose-pencil[data-rolled] {transform:translate(var(--roll-x),var(--roll-y)) rotate(var(--tip-angle))}
.pencil-shape {display:block; position:relative; width:100%; background-image:url(room.webp); background-repeat:no-repeat}
.pencil-shape::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(155deg,transparent 44%,#fff5d257 49%,transparent 55%) 0 0 / 100% 200%;
  transition:background-position .64s ease-out;
}
[data-rolled] .pencil-shape::after {background-position:0 100%}
.blue .pencil-shape {
  aspect-ratio:108/61; background-size:1548.15% 1542.62%; background-position:92.52% 86.36%;
  clip-path:polygon(1% 92%,2% 85%,5% 78%,13% 66%,15% 55%,21% 48%,80% 3%,85% 1%,90% 4%,94% 13%,98% 25%,99% 35%,98% 41%,95% 46%,91% 50%,29% 96%,26% 98%,24% 96%,7% 98%,3% 97%);
}
.coral .pencil-shape {
  aspect-ratio:111/51; background-size:1506.31% 1845.10%; background-position:97.69% 90.11%;
  clip-path:polygon(2% 74%,3% 62%,6% 53%,10% 46%,12% 39%,86% 1%,89% 1%,92% 6%,96% 14%,98% 25%,99% 35%,98.5% 45%,97% 53%,94% 58%,20% 97%,16% 93%,13% 90%,8% 86%,4% 82%);
}
.down { position:absolute; z-index:3; bottom:1%; left:66%;transform:translateX(-50%);font-size:14px; display:flex; min-height:42px; align-items:center; gap:9px; color:#675235; }
.down span { font-family:serif;font-size:22px }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html:not([data-still]) :is(.cover,.desk-print) {transition:transform .22s ease-out}
  html:not([data-still]) :is(.cover,.desk-print):is(:hover,:focus-visible) {--lift:-5px}
  html:not([data-still]) .mast a:hover,html:not([data-still]) #quiet:hover .switch { animation:nudge .35s ease-out }
}
:root[data-still] .window-curtain {animation:none}
:root[data-still] .loose-pencil,:root[data-still] .pencil-shape::after {transition:none}
@keyframes nudge { 40% { transform:translateY(-3px) rotate(-2deg) } }
#wall { position:relative; padding:36px max(6%,calc((100% - 1180px)/2)) 92px; background:var(--paper); }
#wall:before { content:""; position:absolute; inset:-9px 0 auto; height:10px; background:var(--paper);clip-path:polygon(0 45%,4% 60%,9% 31%,14% 55%,20% 38%,26% 70%,32% 42%,41% 67%,48% 24%,54% 50%,61% 34%,70% 64%,77% 19%,83% 45%,91% 35%,100% 52%,100% 100%,0 100%); }
.wall-head { display:flex;align-items:center;justify-content:space-between; gap:20px; margin-bottom:32px }
.wall-head h2 { margin:0; font-size:clamp(28px,3vw,42px); letter-spacing:.06em; font-weight:400;position:relative }
.wall-head h2:after { content:"";display:block;height:4px; background:#c6d49f; border-radius:45% 44% 28% 30%; transform:rotate(-2deg) }
.count { color:var(--muted); font-size:16px }
.art-wall { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(28px,4.2vw,61px);align-items:start; padding:12px 9px 15px }
.print { margin:0 }
.art-wall .print {
  justify-self:center; width:min(var(--print-width,96%),calc(var(--aspect,1) * 510px));
  margin-top:var(--hang,8px); transform:rotate(var(--tilt,-.6deg));
}
.art-wall a { position:relative;display:block;cursor:zoom-in;padding:9px;background:#fffdf5;box-shadow:1px 3px 5px #6a5e432a,0 0 0 1px #ded7c2 }
.art-wall a:before {
  content:""; position:absolute; left:var(--tape-left,36%);top:-9px;width:27%;height:17px;
  background-color:var(--tape-color,#eac980dc);
  background-image:repeating-linear-gradient(105deg,transparent 0 3px,#fff7dd32 3px 4px,transparent 4px 6px);
  transform:rotate(var(--tape-angle,-5deg)); clip-path:polygon(0 0,100% 2%,98% 25%,100% 52%,97% 74%,100% 100%,0 98%,3% 72%,0 48%,3% 28%);
}
.art-wall img { display:block;width:100%; height:auto }
figcaption,.caption { font-size:14px; line-height:1.6;color:#665f50; overflow-wrap:anywhere }
figcaption { margin-top:12px }
.coauthor-credit,.mention-credit {display:flex; align-items:center; flex-wrap:wrap; gap:2px 9px; width:fit-content; max-width:100%; margin:8px 0 2px; padding:3px 10px 4px 6px; border:1px solid #daae6e; border-radius:6px 12px 8px 10px; color:#74482e; background:#fff0cb; box-shadow:1px 2px 0 #cfac7354}
.mention-credit {border-color:#c8a9bb; border-radius:12px 7px 12px 7px; color:#77516a; background:#fceaf1; box-shadow:1px 2px 0 #c7a3b340}
.mention-flower {display:inline-block; flex:none; width:20px; color:#b9678c; font-style:normal; font-size:22px; line-height:1; text-align:center}
.credit-label {display:inline-flex; align-items:center; gap:3px; white-space:nowrap; font-size:13px}
.coauthor-credit strong,.mention-credit strong {font-size:16px; line-height:1.45; overflow-wrap:anywhere}
.credit-star {position:relative; display:inline-block; flex:none; width:24px; height:24px; vertical-align:middle; transform:rotate(-9deg); filter:drop-shadow(0 1px 0 #b47737)}
.credit-star::before {content:""; position:absolute; inset:0; background:radial-gradient(circle at 39% 48%,#704426 0 4%,transparent 5%),radial-gradient(circle at 63% 48%,#704426 0 4%,transparent 5%),radial-gradient(ellipse at 29% 57%,#ee997d 0 6%,transparent 7%),radial-gradient(ellipse at 73% 57%,#ee997d 0 6%,transparent 7%),#ffd568; clip-path:polygon(50% 2%,65% 30%,97% 35%,76% 59%,81% 92%,50% 77%,19% 92%,24% 60%,2% 35%,35% 30%)}
.credit-star::after {content:""; position:absolute; left:42%; top:49%; width:17%; height:12%; border-bottom:1.5px solid #704426; border-radius:50%}
body:has(dialog[open]) { overflow:hidden }
dialog { padding:0;border:0; color:var(--ink) }
dialog::backdrop { background:#353222b8 }
#album, #wall-preview { background:transparent; width:min(1220px,96vw);max-width:96vw;max-height:96dvh;overflow:auto;padding:0 7px 12px }
.album-layout {--notes-width:max(238px,30%); display:grid;grid-template-columns:minmax(0,1fr) var(--notes-width);padding:7px}
.binding {background:#64795a; border-radius:8px 13px 13px 7px;box-shadow:2px 4px 5px #262b1b77;color:#514332; perspective:1400px}
.leaf { position:relative;min-width:0; overflow:hidden;border-radius:3px 8px 7px 3px;border-bottom:4px double #d8cfb4; }
.album-photo-space {min-height:360px;height:min(79dvh,830px);display:grid;place-items:center;padding:16px 24px 19px 20px}
.art-leaf {background:linear-gradient(90deg,#fdfbf2 91%,#f2eddc 98%,#d5cfbb);border-radius:7px 2px 1px 6px}
.art-leaf img { width:100%;height:100%;min-height:0;object-fit:contain; }
#wall-preview {overflow:visible; cursor:zoom-out; overscroll-behavior:contain}
#wall-preview::backdrop {background:#38332640}
#wall-preview .album-layout {grid-template-columns:minmax(0,calc(100% - var(--notes-width))); justify-content:center}
#wall-preview .album-photo-space {container-type:size; min-height:min(360px,calc(100dvh - 28px)); overflow:visible; border-color:transparent}
.wall-frame {
  --rim:clamp(6px,.8vw,11px); position:relative; isolation:isolate; display:block;
  width:min(100cqi,100cqb,calc(100dvh - 60px)); aspect-ratio:1; border:0; padding:0; background:transparent; cursor:zoom-out;
}
.wall-frame::before {
  content:""; position:absolute; z-index:-1; inset:calc(0px - var(--rim)) calc(0px - var(--rim)) -27px;
  background:#f8f1de url(wall-pictures/paper-light.webp) center / cover no-repeat; border-radius:2px 1px 2px 1px;
  box-shadow:0 1px 2px #66543f44,2px 9px 17px -4px #45362366;
}
.wall-frame::after {
  left:50%; top:calc(0px - var(--rim)); width:clamp(42px,20%,110px); height:clamp(14px,4%,26px);
  transform:translate(-50%,-50%) rotate(var(--tape-slant));
}
.wall-preview-photo,.wall-preview-photo img {display:block; width:100%; height:100%; object-fit:contain}
.wall-preview-photo img[hidden] {display:none}
.wall-preview-hint {position:absolute; top:calc(100% + 3px); left:0; width:100%; color:#675a44; font-size:13px; line-height:20px; text-align:center}
.wall-frame:focus-visible {outline:none}
.wall-frame:focus-visible .wall-preview-hint {color:var(--green); text-decoration:underline; text-underline-offset:3px}
.notes { background:linear-gradient(90deg,#d6cdb5,#f4efdf 4%,#fbf7ea 13%,#fcf9ef);display:grid;align-content:center;padding:clamp(20px,4.5vw,68px);transform-origin:left center }
.bookmark { position:absolute;right:12%;top:0;width:19px;height:57px;background:#bc7257;clip-path:polygon(0 0,100% 0,100% 100%,50% 83%,0 100%) }
.entry h2 {font-size:clamp(25px,3vw,44px);font-weight:400;margin:0 0 12px;line-height:1.25}
.caption {margin:0}
.story {margin-top:40px}
.story h3 {color:#6a7154;font-size:17px;font-weight:500;margin:0 0 8px}
.story p { white-space:pre-wrap;margin:0;min-height:90px;line-height:30px;background:repeating-linear-gradient(transparent 0 29px,#d5ccb5 29px 30px);font-size:18px }
.book-tools {position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;gap:6px;margin-bottom:2px;pointer-events:none}
.book-tools button {pointer-events:auto;background:#f9f4de;border:1px solid #8c896d;border-radius:8px 8px 2px 2px;padding:7px 15px;min-height:44px;font-size:17px}
#expand-photo {background:#edf0df;color:var(--green)}
.shut span {margin-left:10px}
.turns { display:flex; align-items:center; gap:12px; margin-top:20px; color:var(--green); font-size:14px }
.turns button { background:transparent; border:1px solid var(--line); border-radius:50%; width:44px; height:44px; font-size:20px }
@media(max-width:700px){
  .mast { min-height:60px; padding:0 5%; gap:8px }.wordmark{font-size:16px}.wordmark i{font-size:23px}.crayon{margin:0 5px;height:18px;width:7px}
  nav{display:none}.upload-link{font-size:14px}#quiet{font-size:14px;min-height:44px}
  .room {
    --scene-height:clamp(440px,calc(100vw + 94px),560px); --window-pan:clamp(12px,4vw,24px);
    --backdrop-width:max(calc(100vw + var(--window-pan)),calc(var(--scene-height) * 1.25));
    background-position-x:calc(0px - var(--window-pan));
  }
  .window-curtain {left:calc(0px - var(--window-pan))}
  .wall-pictures {
    --small-sheet:clamp(46px,13.5vw,77px); --zoom-origin:65% 36%;
    left:calc(var(--backdrop-width) * .195 - var(--window-pan) + 7px); top:7%;
  }
  .wall-picture {transform:rotate(var(--slant))}
  .wall-picture.pig {--pin-x:0px; --pin-y:0px; --sheet-width:var(--small-sheet)}
  .wall-picture.apple {--pin-x:calc(var(--small-sheet) * .25); --pin-y:calc(var(--small-sheet) * 1.31); --sheet-width:calc(var(--small-sheet) * .96)}
  .wall-picture.rabbit {--pin-x:calc(var(--small-sheet) * 1.18); --pin-y:calc(var(--small-sheet) * -.06); --sheet-width:var(--small-sheet)}
  .artist-seat {--artist-width:min(calc(var(--scene-width) * .66),calc(var(--scene-height) * .66));left:auto;right:2.5%}
  .artist-hint {font-size:13px;left:auto;right:2%;top:-4%;transform:rotate(4deg)}
  .book-seat {width:34%;left:25%;top:62.5%}
  .cover {transform:perspective(700px) translateY(var(--lift)) rotateX(39deg) rotateZ(-14deg)}
  .cover-action {font-size:clamp(14px,3.8vw,18px);left:21%;right:10%;bottom:12%;padding:1px 0}
  .desk-print {--photo-width:calc(var(--scene-width) * .255);--photo-height:calc(var(--scene-height) * .188);padding:4px 4px 2px}
  .desk-print-1 {left:18.5%;top:85.5%;--turn:-11deg}
  .desk-print-2 {left:55.5%;top:78.5%;--turn:11deg;--photo-width:calc(var(--scene-width) * .30)}
  .desk-print span {font-size:12px}
  .pencil-place.blue {left:74%;top:69%}.pencil-place.coral {left:auto;right:3.5%;top:81%}
  .down {font-size:13px;bottom:0;min-height:36px}
  #wall{padding:26px 7% 46px}.wall-head{margin-bottom:20px}.count{font-size:14px}
  .art-wall{grid-template-columns:1fr;gap:30px;padding:8px 5px 0}
  .art-wall .print {width:var(--print-width,96%); margin-top:0; transform:translateX(var(--offset,0px)) rotate(var(--tilt,-.6deg))}
  .album-layout{display:block;padding:5px}
  .binding{border-radius:8px}
  #album,#wall-preview{width:94vw;padding:0 3px 4px;max-height:96dvh}
  .album-photo-space{--phone-photo-height:76dvh;min-height:0;height:auto;padding:12px}
  .art-leaf{background:#faf7eb;border-radius:5px 5px 0 0}
  #wall-preview .album-photo-space{container-type:inline-size;min-height:0}
  .wall-frame{width:min(100cqi,var(--phone-photo-height))}
  .notes{display:block;padding:14px 6% 15px;background:#fcf9ef;border-radius:0 0 5px 5px;transform-origin:top center}
  .entry h2{font-size:23px;margin-bottom:4px}
  .bookmark{height:25px;width:12px;right:8%}.story{margin-top:13px}.story h3{font-size:15px;margin-bottom:0}.story p{min-height:30px}
}
@media (min-width:480px) and (max-width:700px) {
  .book-seat {left:31.5%;top:72%;width:min(26%,160px)}
  .desk-print-1 {left:12.5%;top:82%;--photo-width:calc(var(--scene-width) * .185);--photo-height:calc(var(--scene-height) * .195)}
  .desk-print-2 {left:58%;top:82%;--photo-width:calc(var(--scene-width) * .21)}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}

/* The ruled area is the editor itself, even before the visitor signs it. */
.story:has(p:empty) { display:none }
.guestbook { margin-top:24px; font-size:16px }
.guestbook h3 { margin:0 0 8px; font-size:17px; font-weight:500; color:var(--green) }
.guestbook button { border:0; background:transparent; padding:4px 2px; color:var(--green) }
.guestbook button:disabled,.paper-dialog button:disabled { opacity:.55; cursor:default }
#messages { list-style:none; padding:0; margin:0 0 8px; max-height:160px; overflow:auto }
#messages:empty { display:none }
#messages li { display:flex; align-items:flex-start; gap:7px; margin:6px 0; padding:4px 0 }
#messages li>div { flex:1; min-width:0 }
#messages img,#role-grid img { border-radius:50% }
#messages img { width:26px; height:26px }
#messages .role-symbol {width:26px; text-align:center}
#messages strong {overflow-wrap:anywhere}
#messages strong { font-size:14px; color:var(--green) }
#messages p { margin:2px 0; line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere }
.comment-meta {display:block; font-size:11px; line-height:1.6; color:var(--muted); overflow-wrap:anywhere}
.comment-policy {margin:8px 0; font-size:11px; line-height:1.7; color:var(--muted)}
#comment-limit {color:var(--green)}
#messages button,#cancel-edit,#guest-status { font-size:13px; color:var(--muted) }
#composer { --rule:32px }
.note-lines { display:flex; align-items:flex-start; background:repeating-linear-gradient(transparent 0 calc(var(--rule) - 1px), #cec6ac calc(var(--rule) - 1px) var(--rule)); }
#role-picker { flex:none; max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:var(--rule); padding:0 3px 0 0; font-size:15px }
#my-role:not(:empty)::after { content:'⌄'; margin-left:2px; font-size:12px }
#message-body { display:block; flex:1; min-width:0; height:calc(var(--rule) * 3); padding:0; margin:0; border:0; border-radius:0; resize:none; background:transparent; color:var(--ink); font:inherit; line-height:var(--rule); caret-color:var(--green) }
#message-body:focus { outline:none }
.note-lines:focus-within { background-image:repeating-linear-gradient(transparent 0 calc(var(--rule) - 1px),#a9b394 calc(var(--rule) - 1px) var(--rule)) }
#choose-role {--role-row:36px; position:relative; display:grid; grid-template-columns:clamp(66px,32%,88px) minmax(0,1fr); gap:9px; align-items:start; margin:calc(-2 * var(--rule)) 0 5px; padding:8px; border:1px solid var(--line); background:#fffbed; border-radius:7px 10px 8px 6px; box-shadow:0 3px 8px #695d3e18}
.family-roles {min-width:0; padding-right:5px; border-right:1px dashed #d1c9ad}
.role-heading {display:block; margin:0 0 3px; color:#746a52; font-size:13px; line-height:19px}
.family-roles .role-heading {padding-left:3px}
.family-roles .role-heading span {font-family:system-ui,sans-serif; font-size:11px}
#role-grid {display:flex; flex-direction:column; height:calc(4 * var(--role-row)); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-color:#c8c0a8 transparent}
#role-grid button {display:flex; flex:0 0 var(--role-row); align-items:center; gap:3px; padding:0 2px; text-align:left; color:#655f4f; font-size:14px; border-radius:4px}
#role-grid img {width:21px; height:21px; flex:none}
.peer-roles {min-width:0}
.peer-choice,.coauthor-choice,.mention-choice {display:flex; width:100%; align-items:center; gap:6px; min-height:var(--role-row); text-align:left; overflow-wrap:anywhere; border-radius:6px}
.peer-roles :is(.coauthor-choice,.mention-choice) {padding:3px 7px; font-size:16px; font-weight:600}
.peer-roles .coauthor-choice {color:#73462c; background:#ffedc4; box-shadow:inset 0 0 0 1px #e4bf81}
.peer-roles .mention-choice {color:#77516a; background:#fceaf1; box-shadow:inset 0 0 0 1px #d9b7c8}
#coauthor-roles,#mention-roles {margin-bottom:6px}
#coauthor-options,#mention-options {display:grid; gap:3px; max-height:calc(3 * var(--role-row) + 6px); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin}
.role-symbol {display:inline-block; width:24px; flex:none; font-family:system-ui,sans-serif; text-align:center; font-size:18px}
#choose-role button[data-role]:is(:hover,[aria-pressed=true]) {background:#e8eddc}
#choose-role .coauthor-choice:is(:hover,[aria-pressed=true]) {background:#ffdf9f}
#choose-role .mention-choice:is(:hover,[aria-pressed=true]) {background:#f3cfdf}
#choose-role button:focus-visible,#custom-role:focus-visible {outline:2px dashed #956733; outline-offset:-2px}
.custom-row,.send-row,.dialog-actions { display:flex; align-items:center; gap:6px }
.custom-row {min-width:0; margin-top:3px; padding-top:4px; border-top:1px solid var(--line)}
.custom-row button {flex:none; min-height:var(--role-row); font-size:14px}
.custom-row input { min-width:0; flex:1; font:inherit; font-size:15px; background:transparent; border:0; border-bottom:1px solid var(--line); color:var(--ink) }
.send-row { justify-content:flex-end; flex-wrap:wrap }.send-row [role=status] { flex:1 }
#send-comment,#cancel-edit,#refresh-comments { margin-top:4px; font-size:14px }
.paper-dialog { width:min(400px,92vw); max-height:90dvh; padding:20px; background:#fcf8e9; border:2px solid #859272; border-radius:12px; box-shadow:0 8px 28px #2e362831 }
.paper-dialog h2 { font-size:23px; margin:0 0 15px }
.dialog-actions { margin-top:16px; justify-content:flex-end }
.dialog-actions button { min-height:40px; border:1px solid var(--line); border-radius:7px; padding:5px 10px; background:#f8f3e2 }
.dialog-actions .primary { color:#fffdf2; background:var(--green) }
.paper-dialog::backdrop { background:#34312277 }
@media(min-width:701px){
 .notes { display:block; align-content:start; min-height:360px; height:min(79dvh,830px); overflow:auto; padding:clamp(32px,13dvh,116px) clamp(21px,2.3vw,35px) 25px }
 .entry h2 { font-size:clamp(23px,2.4vw,34px); overflow-wrap:anywhere }
 .bookmark { width:13px; height:26px; right:6% }
}
@media(max-width:700px){
 #choose-role {--role-row:44px}
 .custom-row input { font-size:16px }
 .guestbook { margin-top:15px }
}

.gallery-footer {
  width:min(1240px,90%); margin:0 auto; padding:28px 0 24px;
  border-top:1px solid var(--line); color:var(--muted);
}
.footer-heading {display:flex; align-items:center; justify-content:space-between; gap:20px}
.footer-brand {display:inline-flex; align-items:baseline; gap:6px; color:var(--ink); font-size:18px}
.footer-brand i {font-style:normal; color:var(--green); font-size:27px}
.footer-return {display:inline-flex; align-items:center; gap:10px; min-height:44px; font-size:14px}
.footer-note {margin:6px 0 28px; font-size:14px; line-height:1.8}
.footer-copyright {margin:0; text-align:center; font-size:12px; line-height:1.8; text-wrap:balance}
.filing {display:flex; flex-wrap:wrap; justify-content:center; gap:0 22px; margin-top:6px; font-size:13px}
.filing a {display:inline-flex; align-items:center; min-height:44px; max-width:100%; overflow-wrap:anywhere}
.filing-status {display:inline-flex; align-items:center; gap:7px; min-height:44px}
.filing-status::before {content:""; width:5px; height:5px; border-radius:50%; background:#9e8045}
.gallery-footer a:hover {color:var(--green); text-decoration:underline; text-underline-offset:4px}
@media(max-width:700px) {
  .gallery-footer {padding-top:20px; padding-bottom:max(24px,env(safe-area-inset-bottom))}
  .footer-heading {gap:12px}.footer-brand {font-size:16px}.footer-brand i {font-size:24px}
  .footer-return {font-size:13px}.footer-note {font-size:13px; margin-bottom:22px}
  .filing {column-gap:16px; font-size:12px}
}
@media(max-width:360px) {
  .mast {padding-inline:8px;gap:4px}
  .wordmark {gap:3px;font-size:15px}.wordmark i {font-size:21px}
  .mast-tools {gap:4px}#quiet {padding-left:2px;gap:4px}
}

/* Mixed media stays in document/date order, with paper labels and filters. */
[hidden] { display:none!important }
.wall-filters { display:flex; flex-wrap:wrap; gap:12px; margin:0 0 30px }
.wall-filters button { min-height:44px; padding:6px 19px; background:#f5edda; border:1px solid #c4b99b; border-radius:3px 7px 4px 6px; box-shadow:1px 2px 0 #cfc5ab; transform:rotate(-2deg) }
.wall-filters button:nth-child(even) { transform:rotate(2deg) }
.wall-filters [aria-pressed=true] { background:#dce5c6; border-color:#73875c; box-shadow:1px 3px 0 #9ba780 }
.kind-label { display:inline-block; margin-top:12px; padding:2px 9px; font-size:13px; background:#eee4ca; border-radius:2px; transform:rotate(-3deg); color:#56613e }
figcaption { margin-top:6px }
.art-wall img { aspect-ratio:var(--aspect); object-fit:contain; background:#f3eedf }
.cassette,.audio-player { display:block; background:#e5b66e; border:2px solid #786044; border-radius:12px 9px 10px 8px; box-shadow:inset 0 0 0 5px #f3d59c,2px 3px 0 #81664133; padding:18px; color:#4a4534; width:100%; overflow:hidden }
.cassette { aspect-ratio:1.5; display:flex; flex-direction:column; justify-content:space-between; gap:10px }
.tape-label { display:block; margin:0; padding:7px 12px; background:#fdf5db; border-bottom:2px solid #a37b52; font-size:clamp(16px,2vw,25px); overflow-wrap:anywhere; transform:rotate(-1deg) }
.reels { text-align:center; font-family:monospace; font-size:clamp(24px,4vw,50px); letter-spacing:.08em; line-height:1.5; color:#615847 }
.tape-foot { text-align:center; font-size:12px }
.video-mark { position:absolute; inset:40% auto auto 42%; border-radius:50%; background:#faf7ebdd; border:2px solid #6b7153; padding:7px 15px; font-size:30px }
.audio-player { max-width:520px }
.wave-track { position:relative; height:64px; --progress:0%; background:linear-gradient(90deg,#73865455 var(--progress),#faf4dc99 var(--progress)); border-bottom:3px solid #71804d; border-radius:40% 3% 20% 8% / 2% 30% 10% 20%; margin:14px 0 }
.wave-track svg { display:block; width:100%; height:100%; fill:none; stroke:#6e6046; stroke-width:1.8; stroke-linecap:round }
.wave-track input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer }
.wave-track:focus-within { outline:3px dashed #a45729; outline-offset:4px }
.play-row { display:flex; align-items:center; justify-content:space-between; gap:10px; font-variant-numeric:tabular-nums }
.play-row button,.video-play { min-height:44px; padding:7px 14px; border:1.5px solid #7c7957; background:#fff7de; border-radius:8px 4px 7px 5px }
.media-status { display:block; font-size:13px; line-height:1.5; margin-top:6px }
.video-stage { width:100%; height:100%; min-height:0; display:grid; place-items:center; position:relative }
.art-leaf video { display:block; width:100%; height:100%; min-height:0; object-fit:contain }
.video-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); white-space:nowrap }
.video-stage .media-status { position:absolute; bottom:4px; background:var(--paper) }
#narration:not(:empty) { margin-top:24px }
#narration .audio-player { padding:12px }
#narration .tape-label { font-size:18px }
#narration .reels { display:none }
.turns { justify-content:space-between }
.turns button:disabled { opacity:.4; cursor:default }
@media(max-width:700px) {
 .art-leaf img,.art-leaf video { height:auto; max-height:var(--phone-photo-height); aspect-ratio:var(--work-aspect); object-fit:contain }
 .art-leaf[data-kind=audio] { padding:22px 12px }
 .video-stage { height:auto }
 .art-leaf video { width:100% }
 .audio-player { padding:15px }

 .wall-filters { gap:10px }
 .wall-filters button { padding-inline:16px }
}
.wall-wave { display:block; width:100%; height:34px; flex-shrink:0; stroke:#6e6046; stroke-width:1.8; stroke-linecap:round; fill:none }

.manage-gallery {margin:36px 0 0;text-align:right}
.manage-gallery a {display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:15px;text-decoration:underline;text-underline-offset:4px}
.missing-work {max-width:32rem;margin:18vh auto;padding:1.75rem}
.missing-work a {color:var(--green);text-decoration:underline;text-underline-offset:5px}

#image-view { position:fixed; inset:0; margin:0; padding:0; width:100vw; height:100vh; height:100dvh; max-width:none; max-height:none; overflow:hidden; background:#171916; color:#fff; overscroll-behavior:contain }
#image-view::backdrop { background:#171916 }
#image-stage { display:grid; grid-template-rows:auto minmax(0,1fr); gap:4px; width:100%; height:100%; padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); background:#171916 }
#image-stage:fullscreen { width:100%; height:100% }
#image-view img { display:block; grid-row:2; width:100%; height:100%; min-height:0; object-fit:contain }
#exit-image-view { grid-row:1; grid-column:1; justify-self:end; min-height:44px; padding:9px 16px; border:1px solid #ffffff90; border-radius:7px; background:#242721eb; color:#fff }
#image-view :focus-visible { outline-color:#ffe4a6; outline-offset:3px }


/* The editor lives above the artwork; only its own content scrolls. */
.single-owner-tools {display:flex;align-items:center;gap:8px;margin:16px 0;border-top:1px solid var(--line);padding-top:10px}
.single-owner-tools button,.owner-close {display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #c9c1a9;border-radius:12px;background:#f8f5e9;color:var(--green)}
.single-owner-tools svg,.owner-close svg {width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.single-owner-tools button:hover,.owner-close:hover {background:#eaf0de;border-color:#a6b599}
#single-owner-panel {
  width:min(900px,94vw);height:min(680px,88dvh);max-height:none;max-width:none;
  margin:auto;padding:0;overflow:hidden;border:1px solid #b9b19b;border-radius:17px;
  background:#fbf9f1;box-shadow:0 18px 74px #30281a38;color:var(--ink)
}
#single-owner-panel[open] {display:flex;flex-direction:column}
#single-owner-panel[data-tool=narration]:not([data-locked]) {width:min(440px,94vw);height:min(315px,88dvh)}
#single-owner-panel[data-locked] {width:min(500px,94vw);height:min(410px,88dvh)}
#single-owner-panel[data-tool=narration][data-locked] {width:min(440px,94vw);height:min(350px,88dvh)}
#single-owner-panel::backdrop {background:#302d2385}
.owner-heading {display:flex;flex:none;align-items:center;gap:13px;padding:13px 20px;border-bottom:1px solid #dcd5c1;background:#f8f4e6}
.owner-thumb {display:grid;place-items:center;flex:0 0 54px;height:54px;overflow:hidden;padding:3px;background:#fffdf5;border:1px solid #d8cfb7;border-radius:6px;font-size:28px;color:var(--green)}
.owner-thumb img,.owner-thumb video {width:100%;height:100%;object-fit:contain;min-height:0}
.owner-titles {min-width:0;flex:1}
.owner-mode {margin:0 0 2px;font-size:13px;color:var(--green)}
#owner-work-title {margin:0;font-size:clamp(18px,2.6vw,25px);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.owner-signout {flex:none;min-height:44px;border:none;background:none;color:var(--muted);font-size:14px;padding:0 4px}
.owner-close {flex:none;border-radius:50%;background:#fffcf1}
.owner-frame-slot {flex:1;min-height:0}
.single-owner-frame {display:block;width:100%;height:100%;border:0}
.owner-status {flex:none;margin:0;padding:6px 18px;font-size:14px;color:var(--green);background:#eff2e5}
.owner-status:empty {display:none}
@media(max-width:700px) {
  #single-owner-panel,#single-owner-panel[data-locked] {inset:auto 0 var(--owner-bottom,0px);width:100%;max-width:100%;margin:0;height:min(85dvh,var(--owner-visible-height,100dvh));border-radius:18px 18px 0 0;box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom)}
  #single-owner-panel[data-locked] {height:min(372px,var(--owner-visible-height,90dvh))}
  #single-owner-panel[data-tool=narration]:not([data-locked]) {width:100%;height:min(calc(300px + env(safe-area-inset-bottom)),var(--owner-visible-height,90dvh))}
  #single-owner-panel[data-tool=narration][data-locked] {width:100%;height:min(calc(330px + env(safe-area-inset-bottom)),var(--owner-visible-height,90dvh))}
  .owner-heading {gap:9px;padding:11px 12px}
  .owner-thumb {flex-basis:43px;height:43px}
  .owner-signout {font-size:13px}
}

.comment-voice {margin-top:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}
.comment-voice button {min-height:36px}
#comment-audio-preview {width:100%;display:flex;align-items:center;gap:10px}
#comment-audio-preview[hidden] {display:none}
#comment-audio-preview audio,#messages audio {display:block;width:min(100%,280px);height:38px;margin:5px 0}
#comment-audio-status {font-size:12px;color:var(--muted)}
#account-byline rachel-identity {display:inline-flex;align-items:center;gap:7px;margin-bottom:5px;font-size:14px}

/* Keep the gallery itself in view, with less frequent actions in the menu. */
#gallery-header { position:relative; z-index:6; display:flex; flex-flow:row nowrap; justify-content:flex-start; gap:clamp(12px,3vw,52px); padding:6px max(4%,calc((100% - 1240px)/2)); }
#gallery-header nav { gap:clamp(14px,2vw,32px); white-space:nowrap }
#gallery-header .mast-tools { margin-inline-start:auto; gap:6px; flex-wrap:nowrap }
#gallery-header .account-tools { margin:0 }
#header-language {display:flex;flex:none;align-items:center}
#gallery-header #header-language .language-toggle {display:grid;place-items:center;width:40px;min-height:40px;margin:0;padding:0;font-size:14px}
#gallery-header .account-tools:empty { display:none }
#gallery-header .open-pass { min-height:40px; border-radius:24px; padding:5px 13px; border-color:#b9c4a4; background:#eff2e4; color:var(--green); font-size:15px }
.gallery-menu { position:relative }
.gallery-menu summary { display:grid; place-items:center; width:44px; height:44px; border:1px solid transparent; border-radius:50%; cursor:pointer; list-style:none; color:var(--green) }
.gallery-menu summary::-webkit-details-marker {display:none}
.gallery-menu summary svg,.work-icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round }
.gallery-menu[open] summary,.gallery-menu summary:hover {border-color:#d3cbb6;background:#f3efdf}
.menu-panel { position:absolute; z-index:3; top:calc(100% + 8px); right:0; width:max-content; min-width:200px; max-width:calc(100vw - 20px); max-height:calc(100dvh - 80px); overflow:auto; padding:7px; border:1px solid #c9c1a9; border-radius:12px; background:#fffbf0; box-shadow:0 6px 22px #44352221 }
.menu-navigation {display:none}
.menu-settings {border-top:1px solid #e1dac6;margin-top:4px;padding-top:4px}
#gallery-header .menu-panel :is(a,button) {display:flex;align-items:center;width:100%;min-height:42px;padding:6px 12px;margin:0;text-align:start;border:0;border-radius:6px;background:transparent;color:var(--ink);text-decoration:none;font-size:16px}
#gallery-header .menu-panel :is(a,button):hover {background:#f0eedf;animation:none}
#gallery-header #quiet {flex-direction:row-reverse;justify-content:space-between}
@media (max-width:820px) {
  #gallery-header {padding-inline:clamp(8px,3vw,24px);min-height:58px;gap:8px}
  #gallery-header nav {display:none}
  .menu-navigation {display:block;border-bottom:1px solid #e1dac6;padding-bottom:4px;margin-bottom:4px}
  #gallery-header .mast-tools {gap:2px}
  #gallery-header .signed-card bdi {max-width:7ch}
}
@media (max-width:480px) {
  #gallery-header .wordmark {gap:2px;font-size:14px}
  #gallery-header .wordmark i {font-size:21px}
  #gallery-header .wordmark .crayon {margin-inline:3px;flex:none}
  #gallery-header .signed-card { padding:4px;border:0;background:transparent }
  #gallery-header .signed-card bdi {position:absolute;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}
}
#album .book-tools .work-icon,#image-stage .work-icon {
  display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;flex:none;
  padding:0;border:1px solid #c4b99b;border-radius:50%;background:#faf7e9;color:var(--ink);
}
#album .book-tools .work-icon:is(:hover,:focus-visible) {background:#e9ecd9}
#album #save-work[aria-pressed=true] {background:#e8eedb;color:var(--green)}
#album #save-work[aria-pressed=true] svg {fill:currentColor}
#image-stage #exit-image-view {color:white;background:#353931;border-color:#777d70}

#messages img {object-fit:cover}

#gallery-header .open-pass svg {display:none}
@media (max-width:350px) {
  #gallery-header {padding-inline:5px;gap:2px}
  #gallery-header .wordmark {gap:0;font-size:13px}
  #gallery-header .wordmark i {font-size:18px}
  #gallery-header .wordmark .crayon {display:none}
}
@media (max-width:480px) {
  #gallery-header .open-pass {width:42px;height:42px;min-height:42px;padding:0;border:0;background:#edf0e1}
  #gallery-header .open-pass svg {display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
  #gallery-header .open-pass span {display:none}
}

#messages li[data-account="true"] > div {padding-inline-start:33px}
#messages li[data-account="true"] strong {display:block}
#messages li[data-account="true"] rachel-identity {margin-inline-start:-33px;gap:7px}
#messages .account-avatar {width:26px;height:26px;font-size:14px}
#messages .account-avatar img {width:100%;height:100%}
