/* A test of her idea, in plain stand in shapes: a playground, a fence of paper tabs that stays in front, and the inside of a
   house that rises over the scene, with a real hole for a window and something happening out there while you read.
   One colour scheme on purpose. */
:root { --cream: #f6ead9; --paper: #fffaf0; --sage: #6f8f5f; --moss: #47633c; --fox: #b63f7a; --gold: #b8923f; --plum: #2c1230; --wood: #8a6a4a; --wood2: #5f4630; --pea: #bcd66e; --fence: 124px; --ease: cubic-bezier(.62,.02,.2,1); }
html, body { height: 100%; }
body { margin: 0; background: var(--cream); color: var(--plum); font: 18px/1.55 'Crimson Pro', Georgia, serif; overflow: hidden; }
#stage { position: fixed; inset: 0; overflow: hidden; background: #d9ecf8; }
#world { position: absolute; inset: 0 0 calc(var(--fence) * .55) 0; transform-origin: 0 0; transition: transform 1.05s var(--ease); }
#world svg { width: 100%; height: 100%; overflow: visible; display: block; }
/* LESS FOR THE GRAPHICS CHIP TO HOLD (17 November: a friend on Android and in Chrome saw the page flicker, and so had she). Measured: the page was being painted as
   hundreds of separate sheets, two of them 12,000 by 12,000 and one nearly 9,000 wide, because of strings and a mask that reach far off the screen. The scene is now
   cut off a little way past the screen on every side, which changes nothing anyone can see. */
#scene { clip-path: inset(-40% -6% -80% -6%); }
#scene:not(.night) #stars .bob, #scene:not(.night) #stars .ray { animation: none; }   /* by day the stars are not there, so they need not keep moving */
.w { fill: none; stroke: var(--wood); stroke-width: 15; stroke-linecap: square; }
.w2 { fill: none; stroke: var(--wood2); stroke-width: 7; stroke-linecap: round; }
.chain { fill: none; stroke: #6d6458; stroke-width: 4; stroke-dasharray: 7 5; }
.ttl { font: 400 128px Berolina, 'Crimson Pro', Georgia, serif; fill: var(--plum); text-anchor: middle; letter-spacing: 2px; }
.sub { font: italic 34px Lora, Georgia, serif; fill: var(--fox); text-anchor: middle; }
[hidden] { display: none !important; }
.ttl, .sub { transition: opacity .5s ease, fill 3s ease; }
#scene.night .ttl { fill: #f6ead9; }
#scene.night .sub { fill: #f4bcd6; }
#sky { fill: #d9ecf8; transition: fill 3.2s ease; }
#scene.autumn #sky { fill: #d2dbe2; }
#scene.night #sky { fill: #2b2148; }
#l-lights { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 2.4s ease, visibility 0s 2.4s; }
#scene.night #l-lights { opacity: 1; visibility: visible; transition: opacity 3s ease 2.4s, visibility 0s; }
@keyframes lamp { 0% { opacity: 1; } 64%, 100% { opacity: 0; } }
#scene.night #l-lights .lamp { animation: lamp var(--d, 30s) steps(1) infinite; animation-delay: var(--w, 0s); }
@media (prefers-reduced-motion: reduce) { #scene.night #l-lights .lamp { animation: none; } }
/* THE NAME IS A STICKER (her words, 16 November: "like each letter is a sticker ... or like it's one combined sticker, but not like a big
   sticker over top that covers too much. Just the halo around everything. And leave it a white sticker ... leave it the same color at
   night"). An off white edge follows the shape of the letters and of the line under them, with a little shadow so it sits on the sky.
   The letters are thickened with a line of their own colour (Berolina has one weight) and are a purple with more colour and less black.
   Day and night are the same. The hanging board of earlier that day is gone. */
#scene { --ttlink: #4f1f6b; }
.ttl { fill: var(--ttlink); stroke: var(--ttlink); stroke-width: 3.2px; stroke-linejoin: round; paint-order: stroke fill; }
#scene.night .ttl { fill: var(--ttlink); }
#scene.night .sub { fill: var(--fox); }
/* her words, later 16 November: "a slightly darker edge on it, like a shadow edge, like it's sitting off of the page ... not a full drop
   shadow", and the shadow falls away from the sun, which hangs to the right of the name. First a hair of darker rim all round, then the
   small shadow to the left and down. The vines through the name and under the line are part of the same sticker and grow with it. */
#ttlboard { transition: opacity .5s ease; filter: drop-shadow(0 0 .9px #9c8a68) drop-shadow(-3px 2.5px 1.1px #2c12304d); }
#scene #ttlboard .stk, #scene #ttlsubstk .stk { fill: #fbf5e9; stroke: #fbf5e9; stroke-linejoin: round; stroke-linecap: round; }
#ttlsubstk { transition: opacity .5s ease; filter: drop-shadow(0 0 .9px #9c8a68) drop-shadow(-3px 2.5px 1.1px #2c12304d); }
#world.inside #ttlsubstk { opacity: 0; pointer-events: none; }
#scene #ttlboard .stalk { stroke: #fbf5e9; stroke-linejoin: round; }
#world.inside #ttlboard, #world.inside #ttlover3, #world.inside #ttlfront { opacity: 0; pointer-events: none; }
#ttlfront { transition: opacity .5s ease; }
#ttlover3 { transition: opacity .5s ease; }
#dusk { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 3.2s ease, visibility 0s 3.2s; }   /* hidden once fully faded, so by day the browser drops its 4400 by 5600 sheet (streamlining, 17 November) */
.ckp { transform-box: view-box; transform-origin: 50px -150px; animation: tock 2s ease-in-out infinite alternate; }
@keyframes tock { from { transform: rotate(-4.5deg); } to { transform: rotate(4.5deg); } }
.ckh, .ckm { transform-box: view-box; transform-origin: 50px -188px; }
@media (prefers-reduced-motion: reduce) { .ckp { animation: none; } }
/* the squirrels go in at dusk; the raccoon and the possum wander in from the sides once it is dark, and leave at dawn */
.dayonly { transition: opacity 2.4s ease; }
/* in a room the fork, its flower and the pea pod come last, once the vine along the ceiling has grown, and then the pod wiggles (her words, 16 November) */
.podfork { animation: podin .6s 5.500s both; }
#sp-pod.inroom { animation: podin .6s 6s both, podwig 3.6s 6.700s ease-in-out infinite !important; }   /* the seed pod's own wiggle rule was winning, so the pod showed before its vine */
@keyframes podin { from { opacity: 0; } to { opacity: 1; } }
@keyframes podwig { 0%, 62%, 100% { rotate: 0deg; } 70% { rotate: 9deg; } 78% { rotate: -7deg; } 86% { rotate: 5deg; } 93% { rotate: -2deg; } }
@media (prefers-reduced-motion: reduce) { .podfork, #sp-pod.inroom { animation: none !important; } }
#fence .gate.known .tag small { display: block; font-size: 8.500px; line-height: 1.05; margin-top: 1px; }   /* "we've been expecting you" is back for someone we have seen before */
/* the owl looks round, opens its wings now and then, and hoots (her words, 16 November) */
.owlhead { transform-box: fill-box; transform-origin: 50% 85%; animation: owllook 11s ease-in-out infinite; }
@keyframes owllook { 0%, 16%, 74%, 100% { transform: none; } 22%, 34% { transform: rotate(-24deg); } 42%, 56% { transform: rotate(22deg); } 64% { transform: rotate(-6deg); } }
.owlw { transform-box: fill-box; animation: owlwl 15s ease-in-out infinite; }
.owlw.l { transform-origin: 90% 5%; } .owlw.r { transform-origin: 10% 5%; animation-name: owlwr; }
@keyframes owlwl { 0%, 76%, 100% { transform: none; } 81% { transform: rotate(62deg); } 86% { transform: rotate(34deg); } 91% { transform: rotate(62deg); } 96% { transform: rotate(10deg); } }
@keyframes owlwr { 0%, 76%, 100% { transform: none; } 81% { transform: rotate(-62deg); } 86% { transform: rotate(-34deg); } 91% { transform: rotate(-62deg); } 96% { transform: rotate(-10deg); } }
.owlhoo { opacity: 0; animation: owlhoo 15s ease-in-out infinite; }
@keyframes owlhoo { 0%, 58%, 74%, 100% { opacity: 0; transform: none; } 62%, 70% { opacity: 1; transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .owlhead, .owlw, .owlhoo { animation: none; } }
/* the stars (her words, 16 November): a fat, rounded baby star, nearly white with a little yellow; behind it the glow reaches out from the points and flickers */
#stars .ray { fill: #ffeb9a; stroke: none; opacity: 0; }
#pins { opacity: 0; transition: opacity 3.2s ease; }
#scene.night #pins { opacity: 1; }
#scene.night #pins .tw { animation: flick 3.4s linear infinite; }
#scene.night #pins .tw:nth-child(10n) { animation-delay: -1.7s; }
@media (prefers-reduced-motion: reduce) { #scene.night #pins .tw { animation: none; } }
#scene.night #stars .bob:not(.ray) { fill: #fff8d8; stroke: #fff8d8; stroke-width: 2.6; filter: drop-shadow(0 0 2.500px #fff0a8); }
#scene.night #stars .ray { filter: blur(1.1px); animation: bob 7s ease-in-out infinite alternate, flick 1.5s linear infinite; }
#scene.night #stars .ray.b { animation-duration: 9s, 1.9s; }
#scene.night #stars .ray:nth-child(4n) { animation-delay: 0s, -.5s; }
#scene.night #stars .ray:nth-child(4n+2) { animation-delay: 0s, -1.1s; }
@keyframes flick { 0% { opacity: .5; } 18% { opacity: .95; } 31% { opacity: .62; } 47% { opacity: 1; } 60% { opacity: .45; } 74% { opacity: .85; } 88% { opacity: .58; } 100% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { #scene.night #stars .ray { animation: none; opacity: .75; } }
#scene.night #cloudsback path { fill: #fffdf6; }
#bar .w { stroke-width: 6; }
/* the possum comes from behind the tree, stops to peek beside the stall, then goes behind the counter and out the other side (her words, 16 November) */
.possum { opacity: 0; transform: translateX(300px); pointer-events: none; transition: opacity 1.5s ease; }
#scene.night .possum { opacity: 1; animation: possumwalk 16s ease-in-out 3s both; }
@keyframes possumwalk { 0% { transform: translateX(300px); opacity: 0; } 5% { opacity: 1; } 28% { transform: translateX(238px); } 32%, 50% { transform: translateX(228px); } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #scene.night .possum { animation: none; transform: none; } }
.sq { transform-box: fill-box; transform-origin: 50% 100%; animation: sqhop 4.6s ease-in-out infinite; }
@keyframes sqhop { 0%, 60%, 100% { transform: none; } 66% { transform: translateY(-8px) rotate(-7deg); } 72% { transform: none; } 78% { transform: translateY(-5px) rotate(5deg); } 84% { transform: none; } }
.peck { transform-box: fill-box; transform-origin: 30% 90%; animation: peck 3.8s ease-in-out infinite; }
@keyframes peck { 0%, 64%, 100% { transform: none; } 72% { transform: rotate(16deg) translateY(2px); } 80% { transform: none; } 88% { transform: rotate(12deg) translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .sq, .peck { animation: none; } }
#scene.night #puppet > g { filter: drop-shadow(0 0 1.2px #e9e2f4) drop-shadow(0 0 3px #e9e2f466); }   /* at night the magpie has a moonlit edge, so she can be seen against the dark sky */
#scene.night .dayonly { opacity: 0; }
.nightonly { opacity: 0; transform: translateX(var(--from, -200px)); transition: opacity 1.6s ease, transform 5s ease-out; pointer-events: none; }
#scene.night .nightonly { opacity: 1; transform: none; transition: opacity 2s ease 2.6s, transform 7s ease-out 2.6s; }
@media (prefers-reduced-motion: reduce) { .nightonly, #scene.night .nightonly { transition: opacity .01s; transform: none; } }
#scene.night #dusk { opacity: .44; visibility: visible; transition: opacity 3.2s ease, visibility 0s; }
.cut { stroke: #5f4630; stroke-width: 3; stroke-linejoin: round; }
.brace { fill: none; stroke: #5f4630; stroke-width: 7; }
.string { stroke: #5a5048; stroke-width: 1.6; }
.fly { transition: transform 3.2s cubic-bezier(.5,0,.3,1); cursor: pointer; }
#sun { transform: none; }
#moon, .star { transform: translateY(-4600px); }
#scene.night #sun { transform: translateY(-4600px); }
#scene.night #moon, #scene.night .star { transform: none; }
.star { cursor: default; transition-duration: 3.8s; }
#clouds .drift { touch-action: none; }
#bunting { transform: translateY(-4800px); cursor: default; pointer-events: none; }
#bunting.up { transform: none; }
.bob { animation: bob 7s ease-in-out infinite alternate; }
.bob.b { animation-duration: 9s; }
@keyframes bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
#world.inside .ttl, #world.inside .sub { opacity: 0; }
.pea { fill: var(--pea); stroke: var(--moss); stroke-width: 3; }
.podshell { fill: var(--sage); stroke: var(--moss); stroke-width: 4; }

/* vines, the same everywhere: a stalk that draws itself, leaves that pop out as it passes */
.stalk { fill: none; stroke: var(--moss); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.leaf { fill: var(--sage); stroke: var(--moss); stroke-width: 2; transform-box: fill-box; transform-origin: 0 50%; }
.curl { fill: none; stroke: var(--moss); stroke-width: 2.5; stroke-linecap: round; transform-box: fill-box; transform-origin: 0 100%; }
.vine.grow .stalk { animation: grow var(--t, 3s) ease-out both; }
.vine.grow .leaf, .vine.grow .curl { animation: pop .55s calc(var(--d) * var(--t, 3s)) ease-out both; }
@keyframes grow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* what happens out there while you read */
/* her words, 16 November: "what is the green dot on it? ... they can either just go away, and nothing is there yet, and it's just the design of the thing" */
#swingseat .pea, #plank .pea, #merryposts .pea { display: none; }
#swingseat2 { transform-origin: 444px 530px; transform: rotate(0deg); --amp: 13deg; }   /* at rest they hang straight (her words, 18 November: "like gravity", not "like they're in movement") */
.play #swingseat2 { animation: sway 3.4s ease-in-out -1.7s infinite; }
#swingseat { transform-origin: 356px 530px; transform: rotate(0deg); --amp: 18deg; }
.play #swingseat { animation: sway 3.4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(calc(var(--amp) * -1)); } 50% { transform: rotate(var(--amp)); } }
#plank { transform-origin: 1325px 812px; transform: rotate(-9deg); }
.drop { opacity: 0; }
#can { transform-origin: 120px 860px; }
.shook #can { animation: pour 4s ease-in-out infinite; }
@keyframes pour { 0%, 100% { transform: rotate(0); } 25%, 70% { transform: rotate(17deg); } }
.shook .drop { animation: drip 1.2s linear infinite; }
.shook .drop.b { animation-delay: .4s; }
.shook .drop.c { animation-delay: .8s; }
@keyframes drip { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 100% { opacity: 1; transform: translateY(95px); } }
#bar { transform-origin: 1330px 170px; }
.play #bar { animation: none; }   /* 5 November: the bar works her marionette now */
@keyframes rock { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
#plank.set { animation: none !important; transition: transform .3s ease; }
@keyframes tip { 0%, 38% { transform: rotate(-11deg); } 50%, 88% { transform: rotate(11deg); } 100% { transform: rotate(-11deg); } }
.rider { opacity: 0; }
.house .words .bedme { display: flow-root; }   /* the list keeps clear of the window now that the window stands in from the wall */
/* the pea pod's card: who is in the cooperative, by kind */
#podfolk { position: fixed; z-index: 60; box-sizing: border-box; width: min(250px, calc(100vw - 16px)); padding: 10px 14px 12px; background: var(--paper); color: var(--plum); border: 2px solid #3f6b34; border-radius: 10px 10px 10px 3px; box-shadow: 3px 4px 0 #2c123033; font: 16px/1.3 'Crimson Pro', Georgia, serif; }
#podfolk h3 { margin: 8px 0 2px; font: italic 700 15px/1.2 Lora, Georgia, serif; color: #2f5f2a; } #podfolk h3:first-child { margin-top: 0; }
#podfolk ul { margin: 0; padding: 0; list-style: none; } #podfolk li { margin: 1px 0; } #podfolk .none { margin: 0; font-style: italic; opacity: .7; }
.rider.go { animation: ride 2.8s linear 1 both; }
.pie { transform-box: fill-box; transform-origin: 50% 100%; animation: pie 2s ease-out forwards; }
@keyframes pie { 0% { transform: scale(0); } 12%, 40% { transform: scale(1); } 58% { transform: scale(.72); } 76% { transform: scale(.42); } 100% { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) { .pie { animation: none; } }
/* more peas, please: a pod is plucked, its peas pop out and are eaten, the pod grows back */
.ppod .pbody, .ppod .pin { transform-box: fill-box; transform-origin: 50% 0; }
.vine.grow .ppod .pin { animation: pop .55s calc(var(--d) * var(--t, 3s)) ease-out both; }
.ppod.gone .pbody { animation: pluck 1.1s ease-out forwards; }
.ppod.back .pbody { animation: regrow 1s ease-out both; }
@keyframes pluck { 0% { transform: none; opacity: 1; } 10% { transform: rotate(-18deg); } 22% { transform: rotate(14deg) translateY(6px); } 100% { transform: translateY(80px) rotate(55deg); opacity: 0; } }
@keyframes regrow { from { transform: scale(0); } to { transform: none; } }
.eatpea { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: eatpea 1.6s ease-out calc(var(--i) * .12s + .12s) forwards; }
@keyframes eatpea { 0% { opacity: 1; transform: none; } 35% { opacity: 1; transform: translate(var(--dx), -40px) scale(1.25); } 75% { opacity: 1; transform: translate(calc(var(--dx) * 1.5), -16px) scale(.9); } 100% { opacity: 0; transform: translate(calc(var(--dx) * 1.5), -16px) scale(0); } }
@media (prefers-reduced-motion: reduce) { .ppod.gone .pbody { animation: none; opacity: .25; } .ppod.back .pbody, .eatpea { animation: none; } }   /* one click, one squirrel, once down (her words, 16 November) */
.shook .rider:nth-child(2) { animation-delay: 1.5s; }
.shook .rider:nth-child(3) { animation-delay: 3s; }
@keyframes ride { 0% { opacity: 1; transform: translate(1055px,558px) rotate(-68deg); } 10% { transform: translate(1032px,605px) rotate(-49deg); } 21% { transform: translate(1009px,626px) rotate(-48deg); } 32% { transform: translate(987px,664px) rotate(-67deg); } 43% { transform: translate(964px,716px) rotate(-59deg); } 54% { transform: translate(941px,744px) rotate(-42deg); } 64% { transform: translate(918px,773px) rotate(-64deg); } 75% { transform: translate(895px,824px) rotate(-64deg); } 84% { transform: translate(876px,856px) rotate(-48deg); } 93% { opacity: 1; transform: translate(865px,868px) rotate(0deg); } 100% { opacity: 0; transform: translate(805px,874px) rotate(0deg); } }
.shook .fall { animation: fall 3.2s ease-in infinite; }
.shook .fall.b { animation-delay: 1.1s; }
.shook .fall.c { animation-delay: 2.2s; }
.new { transform-box: fill-box; transform-origin: 50% 100%; animation: pop .6s ease-out both; }
.piece { cursor: pointer; }
.signtext { font: italic 15px Lora, Georgia, serif; fill: var(--plum); text-anchor: middle; }
@keyframes fall { 0%, 25% { transform: none; opacity: 1; } 80% { transform: translateY(var(--drop, 200px)); opacity: 1; } 100% { transform: translate(14px, var(--drop, 200px)); opacity: 0; } }
#flag { transform-box: fill-box; transform-origin: 0 50%; }
.play #flag { animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(.86) skewY(7deg); } }

/* the house */
.house { position: absolute; inset: 0; transform: translateY(100%); transition: transform 1.05s var(--ease); display: flex; gap: clamp(24px, 4vw, 64px); align-items: stretch; justify-content: center; padding: 50px max(28px, 5vw) 0; box-sizing: border-box; pointer-events: none; }
.house.pos-l { flex-direction: row-reverse; }
.house.pos-top { flex-direction: column; align-items: center; gap: 12px; }
.house.pos-top .pane { order: -1; margin-bottom: 0; }
.house.pos-top .words { width: 100%; max-width: 46em; align-self: center; }
.house.in { transform: none; }
/* the yard showing past a room's walls is a way back too (her words, 16 November: "if you click outside ... it takes you back also, because that just feels intuitive") */
.roomout { position: absolute; top: 0; bottom: var(--fence); width: calc(var(--sidewall) - var(--wallend)); pointer-events: auto; cursor: pointer; z-index: 2; }
.roomout.l { left: calc(-1 * var(--sidewall)); } .roomout.r { right: calc(-1 * var(--sidewall)); }
/* A ROOF (her words, 16 November: "when the houses come up, they don't have roofs"). A gable of shingles stands on each room; it rises into view first and
   passes off the top, leaving its eave along the ceiling. */
.house .roof { position: absolute; left: calc(-1 * var(--wallend) - 30px); right: calc(-1 * var(--wallend) - 30px); bottom: calc(100% - 9px); height: min(38vh, 320px); z-index: 3; pointer-events: none; }
.house .roof::before { content: ""; position: absolute; inset: 0 0 8px 0; clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: radial-gradient(circle at 50% 0, #00000000 62%, #7a3f37 64%, #7a3f37 70%, #00000000 72%) 0 0 / 34px 22px, radial-gradient(circle at 50% 0, #00000000 62%, #7a3f37 64%, #7a3f37 70%, #00000000 72%) 17px 11px / 34px 22px, #b0675c; }
.house .roof::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; background: #f4ead6; border: 2px solid #5f4630; border-radius: 3px; box-sizing: border-box; }
.house.out { transform: translateY(-100%); }
/* SIDEWAYS (her words, 17 November: "if the page takes you to it, is when I wanted them to slide sideways"). A room opened from its sign comes up from
   below as always; a room a link inside another room takes you to comes in from the side, the one it was in going out the other way. Later rooms
   come from the right, earlier ones from the left. Past the side walls too, so no wall shows before it moves. */
.house.from-r, .house.out-r { transform: translateX(calc(100% + var(--sidewall))); }
.house.from-l, .house.out-l { transform: translateX(calc(-100% - var(--sidewall))); }
/* between two floors (her words, 16 November: "connected like a dollhouse would ... you see the floor and then the ceiling, right on top of each other") */
.house .joist { position: absolute; left: calc(-1 * var(--wallend)); right: calc(-1 * var(--wallend)); bottom: 100%; height: calc(var(--fence) - 44px); z-index: 3; pointer-events: none; border-top: 3px solid #3f2d20; border-bottom: 3px solid #3f2d20; box-sizing: border-box;
  background: repeating-linear-gradient(90deg, #5a4129 0 16px, #00000000 16px 96px) 0 0 / 100% 100%, linear-gradient(#8a6a4a, #6e5236); }
.wall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wall .solid { pointer-events: auto; }
.words { pointer-events: auto; position: relative; z-index: 1; flex: 1 1 0; min-width: 0; max-width: 36em; align-self: stretch; overflow-y: auto; margin-bottom: calc(var(--fence) + 26px); padding: 10px 16px 16px; font-size: 19.5px; background: #fffaf2e0; border-radius: 6px; box-shadow: 0 0 14px 6px #fffaf2b0;   /* her eyes, 5 November: a little bigger, and a soft paper so the stripes stay out of the words */ scrollbar-width: thin; scrollbar-color: #a98a63 transparent; outline: none; }
.words h2 { margin: 0 0 10px; font: 700 clamp(30px, 3.4vw, 44px)/1.08 'Crimson Pro', Georgia, serif; color: var(--fox); text-wrap: balance; }
.words h3 { margin: 22px 0 4px; font: 700 21px/1.25 'Crimson Pro', Georgia, serif; }
.words p { margin: 8px 0; }
.house .words, .house .words h3 { color: var(--ink, #3c1a52); }
/* THE HEADLINE (her words, 16 November: "an appropriately contrasting color to each room's decor. Make it bold and a little bit off to the
   side ... in the farthest corner, out of alignment with the text ... and make the text go around it"). It hangs out toward the corner
   away from the window, a little tipped, and the words flow round it. Berolina has one weight, so it is thickened with its own colour. */
.house > .roomhead { position: absolute; z-index: 2; top: 82px; left: calc(var(--headx, 40px)); margin: 0; max-width: 9em; font: 400 clamp(40px, 4.6vw, 62px)/1 Berolina, 'Crimson Pro', Georgia, serif; color: var(--head, #5c1f70); -webkit-text-stroke: 1.3px var(--head, #5c1f70); rotate: -2.5deg; pointer-events: none; }
.house.pos-l > .roomhead { left: auto; right: calc(var(--headx, 40px)); rotate: 2.5deg; }
.words .hole2 { float: left; width: 0; height: 0; }
.house.pos-l .words .hole2 { float: right; }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) { .house > .roomhead { top: 42px; font-size: 34px; max-width: 6.5em; } }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) { .house.framedroom > .roomhead { top: 54px; } }   /* her words, 19 November: upright, What? "needs moved down just a little bit" */
@media (orientation: landscape) and (max-height: 500px) { .house.framedroom > .roomhead { top: 60px; } }   /* and turned sideways, "moved up just a little bit" */
/* the headline is a sticker too (her words, 16 November): the same words again underneath, fat and off white, with the rim and small shadow the name has */
.house > .roomhead { isolation: isolate; text-shadow: none; filter: drop-shadow(0 0 .9px #9c8a68) drop-shadow(-2.5px 2.5px 1px #2c12304d); padding: 2px 4px; }
.house > .roomhead::before { content: attr(data-t); position: absolute; inset: 2px 4px; z-index: -1; color: #fbf5e9; -webkit-text-stroke: 13px #fbf5e9; }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) { .house .words h2, .house.pos-l .words h2 { float: none; margin: 0 0 8px; rotate: none; font-size: 34px; } }
.words ul { margin: 8px 0; padding-left: 22px; }
.words li { margin: 6px 0; }
.words h3.part { margin: 30px 0 6px; font: 700 clamp(25px, 2.6vw, 32px)/1.12 'Crimson Pro', Georgia, serif; color: var(--fox); }
.jumps { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 8px; }
.jumps button { padding: 5px 10px 6px; background: var(--paper); border: 1.5px solid #cdbb9c; border-radius: 2px; color: var(--plum); font: 16px/1.2 'Crimson Pro', Georgia, serif; cursor: pointer; }
.words .small { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 24px 0 0; font-size: 15px; }
.words .small a { color: inherit; }
.pane { position: relative; z-index: 1; flex: none; display: flex; flex-direction: column; align-items: center; gap: 30px; margin-bottom: calc(var(--fence) + 30px); }
.pane.hi { justify-content: flex-start; }
.pane.mid { justify-content: center; }
.pane.lo { justify-content: flex-end; }
.slot { position: relative; flex: none; }
.doors { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 4px 0 14px; }
.house.doorsbelow .words .doors { clear: both; }   /* below the window where the strip beside it is too narrow for a card */
.house.doorsbelow .words .door { flex: 1 1 40%; }
.door { display: block; max-width: 15em; padding: 7px 12px 8px; background: var(--paper); border: 1.5px solid #cdbb9c; border-left: 5px solid var(--wood); border-radius: 2px; box-shadow: 2px 3px 0 #2c123026; color: var(--plum); text-decoration: none; font: 16px/1.2 'Crimson Pro', Georgia, serif; }
.door b { display: block; color: var(--fox); font: 700 16.5px/1.15 'Crimson Pro', Georgia, serif; }
.door:hover, .door:focus-visible { background: #fbeaf2; outline: 2px solid var(--fox); }
.flown .doors { margin: 12px 0 2px; }
.act { position: relative; pointer-events: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.act button, .act label { padding: 6px 14px; background: var(--paper); border: 1.5px solid #cdbb9c; border-radius: 3px; box-shadow: 2px 3px 0 #2c123026; font: italic 15px/1.2 Lora, Georgia, serif; color: var(--plum); rotate: -1deg; }
.act button { cursor: pointer; }
.act button:hover, .act button:focus-visible { background: var(--fox); color: #fffdf4; outline: none; }
.act label { display: flex; gap: 8px; align-items: center; }
.act input[type=range] { width: 130px; accent-color: var(--fox); }
.act input[type=text] { width: 150px; padding: 5px 8px; border: 1.5px solid #cdbb9c; border-radius: 3px; background: var(--paper); font: 16px 'Crimson Pro', Georgia, serif; color: var(--plum); }
.act input:focus-visible { outline: 3px solid var(--gold); }
#over { position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); padding: 4px 10px; background: var(--paper); border: 1.5px solid #cdbb9c; border-radius: 3px; font: italic 13px Lora, Georgia, serif; color: var(--plum); cursor: pointer; }

/* the fence stays in front of everything */
#fence { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fence); z-index: 5; pointer-events: none; }
#fence::before, #fence::after { content: ""; position: absolute; left: 0; right: 0; height: 13px; background: #efe3cc; border: 2px solid var(--wood2); border-width: 2px 0; }
#fence::before, #fence::after { -webkit-mask: linear-gradient(to right, #000 var(--gl, 0), transparent var(--gl, 0), transparent var(--gr, 0), #000 var(--gr, 0)); mask: linear-gradient(to right, #000 var(--gl, 0), transparent var(--gl, 0), transparent var(--gr, 0), #000 var(--gr, 0)); }
#fence::before { bottom: 66px; }
#fence::after { bottom: 20px; }
.pickets { position: relative; z-index: 1; height: 100%; display: flex; justify-content: safe center; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; pointer-events: auto; }
.pickets::-webkit-scrollbar { display: none; }
.picket { position: relative; flex: 1 1 0; min-width: 54px; max-width: 78px; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; transition: transform .25s ease; transform: none; }
/* THE FENCE, a little fancier (her words, 16 November: "decorative pickets with the actual posts a little bit skinnier and the tags ... more like nailed in and
   decorated a little with something folk arty, like somebody made signs", and pickets "all the way down the row, even though they don't have anything to click") */
#fencerow, #fencerow2 { position: absolute; left: 0; right: 0; bottom: -6px; height: 112px; z-index: 1; pointer-events: none; }
#fencerow { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='112'%3E%3Cpath d='M8.83 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M39.50 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M70.17 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") calc(50% + 23px) bottom / 92px 112px repeat-x; -webkit-mask: linear-gradient(to right, #000 calc(50% - 483px), transparent calc(50% - 483px), transparent calc(50% + 483px), #000 calc(50% + 483px)); mask: linear-gradient(to right, #000 calc(50% - 483px), transparent calc(50% - 483px), transparent calc(50% + 483px), #000 calc(50% + 483px)); }
#fencerow2 { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='112'%3E%3Cpath d='M36 114V16l10-12 10 12V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom / 92px 112px repeat-x; -webkit-mask: linear-gradient(to right, transparent calc(50% - 483px), #000 calc(50% - 483px), #000 calc(50% - 138px), transparent calc(50% - 138px), transparent calc(50% + 138px), #000 calc(50% + 138px), #000 calc(50% + 483px), transparent calc(50% + 483px)); mask: linear-gradient(to right, transparent calc(50% - 483px), #000 calc(50% - 483px), #000 calc(50% - 138px), transparent calc(50% - 138px), transparent calc(50% + 138px), #000 calc(50% + 138px), #000 calc(50% + 483px), transparent calc(50% + 483px)); }   /* the still pickets between the sign posts */

/* the sign posts and the gate's posts are the same picket as the rest of the row (her words, 16 November: "let's make them all match") */
.pickets { position: relative; z-index: 2; }   /* every post stands in front of the rails */
.pickets .picket .post, .gate .gpost { width: 46px; height: 112px; margin-left: -23px; bottom: -6px; border: 0; border-radius: 0; box-shadow: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='112'%3E%3Cpath d='M16.5 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom / 46px 112px no-repeat; }
.pickets .picket .knob { display: none; }
/* THE SIGNS AND THE GATE, redone (her words, 16 November). The sign posts stand level with the pickets beside them and lift a little when touched. A sign is
   as wide as its words, with no nails drawn on. The gate is wider: two leaves of the same pickets, between square pillars with caps, and no arch over it. */
.pickets .picket .tag { left: 50%; right: auto; translate: -50% 0; white-space: nowrap; padding: 6px 11px; }
.pickets .picket .tag::after { content: none; }
#fence .gate { flex: 0 0 176px; }
#fence .gate .gpost { width: 30px; height: 94px; margin-left: 0; bottom: -6px; border: 2px solid var(--wood2); border-bottom: 0; border-radius: 0; background: linear-gradient(#d9ccb0, #d9ccb0) center 12px / 14px 56px no-repeat, #efe3cc; }
#fence .gate .gpost::before { content: ""; display: block; position: absolute; left: -7px; right: -7px; top: -9px; height: 10px; background: #f4ead6; border: 2px solid var(--wood2); border-radius: 3px; box-sizing: border-box; }
#fence .gate .gpost::after { content: ""; display: block; position: absolute; left: 50%; top: -27px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--wood2); box-sizing: border-box; }
#fence .gate .gleaf { width: calc(50% - 31px); height: 92px; bottom: 2px; box-shadow: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='112'%3E%3Cpath d='M15.5 114V16l7.5-10 7.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M23 39c-5.5-4.5 -2.7-8 0-5 2.7-3 5.5 0.5 0 5z' fill='%23b63f7a'/%3E%3C/svg%3E") left bottom / 27px 66px repeat-x, linear-gradient(#efe3cc, #efe3cc) 0 34px / 100% 8px no-repeat, linear-gradient(#efe3cc, #efe3cc) 0 70px / 100% 8px no-repeat; }
#fence .gate .gleaf.l { left: 31px; } #fence .gate .gleaf.r { right: 31px; }
#fence .gate .garch { display: none; }
#fence .gate .tag { left: 44px; right: 44px; bottom: 34px; }
/* ONE EVEN ROW (her words, 16 November: "the posts need to all be symmetrical, and then the ones that have signs tacked to them"). On a wide screen every post
   is the row's own, 46 apart; a sign hangs on every other one, so more signs can be added later. The gate is an archway: two taller posts in the same pattern,
   an iron arch over them, and double doors of iron filigree. */
/* SIMPLE AGAIN (her words, 16 November: "just plain pickets with little designs"), from her two pictures. The pickets stand 46 apart. Each sign is nailed to its
   own picket, and the picket and sign move together. The gate is shut until touched: two doors of pickets with a scooped top, between square pillars, under a
   small white arch whose feet stand on the pillars. Its sign hangs under the arch. */
@media all {   /* 17 November: the new fence and gate are for every screen now, phones too (her words: "translate it into the mobile version") */
  .pickets { overflow: visible; gap: 0; }
  .pickets .picket { flex: 0 0 92px; min-width: 0; max-width: none; }
  .pickets .picket .post { display: block; width: 92px; height: 112px; margin-left: -46px; bottom: -6px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='112'%3E%3Cpath d='M39.5 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom / 92px 112px no-repeat; }
  .pickets .picket .tag { bottom: 44px; }
  #fence .gate { flex: 0 0 184px; }
  #fence .gate .gpost { width: 40px; height: 130px; bottom: -6px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='138'%3E%3Crect x='6' y='30' width='28' height='110' fill='%23f4ead6' stroke='%235f4630' stroke-width='2'/%3E%3Cpath d='M12 42V130M28 42V130' stroke='%23dccfb4' stroke-width='1.500'/%3E%3Crect x='1.500' y='22' width='37' height='9' rx='1.500' fill='%23f4ead6' stroke='%235f4630' stroke-width='2'/%3E%3Cpath d='M5 22L20 11L35 22z' fill='%23f4ead6' stroke='%235f4630' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='20' cy='7.500' r='5' fill='%23b8923f' stroke='%235f4630' stroke-width='1.800'/%3E%3Cpath d='M20 66c-6-5-3-8.800 0-5.500 3-3.300 6 .5 0 5.500z' fill='%23b63f7a'/%3E%3C/svg%3E") center bottom / 40px 130px no-repeat; }
  #fence .gate .gpost::before, #fence .gate .gpost::after { display: none; }
  #fence .gate .garch { display: block; left: 11px; right: 11px; bottom: 108px; height: 46px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='64' viewBox='0 0 150 64' preserveAspectRatio='none'%3E%3Cpath d='M2 62A73 58 0 0 1 148 62h-13A60 46 0 0 0 15 62z' fill='%23f4ead6' stroke='%235f4630' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M22.8 38.5L12.4 33.5' stroke='%23dccfb4' stroke-width='1.300'/%3E%3Cpath d='M36.6 25.8L28.9 18.1' stroke='%23dccfb4' stroke-width='1.300'/%3E%3Cpath d='M54.6 17.8L50.5 8.4' stroke='%23dccfb4' stroke-width='1.300'/%3E%3Cpath d='M75.0 15.0L75.0 5.0' stroke='%23dccfb4' stroke-width='1.300'/%3E%3Cpath d='M95.4 17.8L99.5 8.4' stroke='%23dccfb4' stroke-width='1.300'/%3E%3Cpath d='M113.4 25.8L121.1 18.1' stroke='%23dccfb4' stroke-width='1.300'/%3E%3Cpath d='M127.2 38.5L137.6 33.5' stroke='%23dccfb4' stroke-width='1.300'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
  #fence .gate .gleaf { left: 40px; width: 52px; height: 90px; bottom: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90'%3E%3Cpath d='M2.0 92V13l4.500-9 4.500 9V92z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M14.5 92V25l4.500-9 4.500 9V92z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M27.0 92V34l4.500-9 4.500 9V92z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M39.5 92V39l4.500-9 4.500 9V92z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M3 80L49 48' stroke='%235f4630' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M3 80L49 48' stroke='%23e6d9bd' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='1' y='42' width='50' height='8' rx='1.500' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='6.5' cy='46' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.0' cy='46' r='.9' fill='%235f4630'/%3E%3Ccircle cx='31.5' cy='46' r='.9' fill='%235f4630'/%3E%3Ccircle cx='44.0' cy='46' r='.9' fill='%235f4630'/%3E%3Crect x='1' y='76' width='50' height='8' rx='1.500' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='6.5' cy='80' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.0' cy='80' r='.9' fill='%235f4630'/%3E%3Ccircle cx='31.5' cy='80' r='.9' fill='%235f4630'/%3E%3Ccircle cx='44.0' cy='80' r='.9' fill='%235f4630'/%3E%3C/svg%3E") center bottom / 52px 90px no-repeat; }
  #fence .gate .gleaf.r { left: auto; right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='100'%3E%3Cpath d='M40.5 102V13l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M27.5 102V19l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M14.5 102V24l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M1.5 102V28l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M49 73 L4 42' stroke='%235f4630' stroke-width='8'/%3E%3Cpath d='M49 73 L4 42' stroke='%23e6d9bd' stroke-width='5'/%3E%3Crect x='1.5' y='35' width='52.5' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='45.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='32.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='6.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Crect x='1.5' y='73' width='52.5' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='45.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='32.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='6.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3C/svg%3E"); }
  #fence .gate .tag { left: 42px; right: 42px; bottom: 88px; padding: 3px 3px; }
}
/* the signs: a board with the words cut into it. A stand in until she picks a real carved or scratched face. */
.pickets .picket .tag { background: #cfa873; border: 2px solid #6b4a2b; outline: 0; border-radius: 4px 7px 3px 6px; color: #3f2816; font: 700 15px/1.1 'Crimson Pro', Georgia, serif; letter-spacing: .6px; text-shadow: 0 1px 0 #f0d3a2, 0 -1px 0 #2a180c55; box-shadow: 2px 3px 0 #2c123033, inset 0 0 0 1px #e2c08e; }
.pickets .picket .tag::before { width: 5px; height: 5px; margin-left: -2.500px; top: 2px; background: #4a3626; }
.pickets .picket[aria-current="true"] .tag { background: #b63f7a; border-color: #7a1f4d; color: #fffdf4; text-shadow: 0 1px 0 #7a1f4d; }
/* her words, 16 November, later: planks with rough edges and a painted look, no odd sharp corner; narrower crossbars; the arch gone; Do come in small, on top of
   the gate, without its second line; When? and Who? closer to the gate. */
.pickets .picket .tag { border: 0; border-radius: 0; box-shadow: none; padding: 7px 12px 6px; background: repeating-linear-gradient(92deg, #00000000 0 7px, #5f463018 7px 8px, #00000000 8px 13px, #fffdf422 13px 14px), var(--paint, #cfa873);
  clip-path: polygon(1% 9%, 12% 2%, 31% 6%, 52% 1%, 74% 5%, 90% 2%, 99% 8%, 100% 46%, 98% 90%, 86% 97%, 63% 94%, 41% 99%, 18% 95%, 3% 98%, 0 60%, 2% 30%); }
.pickets .picket:nth-of-type(4n+1) .tag { --paint: #b9c9a3; }
.pickets .picket:nth-of-type(4n+2) .tag { --paint: #e6c3cb; }
.pickets .picket:nth-of-type(4n+3) .tag { --paint: #d9b98a; }
.pickets .picket:nth-of-type(4n) .tag { --paint: #bfd3da; }
.pickets .picket[aria-current="true"] .tag { background: repeating-linear-gradient(92deg, #00000000 0 7px, #5f463018 7px 8px, #00000000 8px 13px, #fffdf422 13px 14px), #b63f7a; }
#fence::before, #fence::after { height: 7px; }
#fence .gate .tag small { display: none; }
@media all {   /* 17 November: the new fence and gate are for every screen now, phones too (her words: "translate it into the mobile version") */
  /* three pickets to a sign. The pattern is laid out from the gate on each side, so both halves line up with their sign posts. */
  #fencerow { background-position: calc(50% + 23px) bottom; -webkit-mask: linear-gradient(to right, transparent calc(50% + 52px), #000 calc(50% + 52px)); mask: linear-gradient(to right, transparent calc(50% + 52px), #000 calc(50% + 52px)); }
  #fencerow2 { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='112'%3E%3Cpath d='M8.83 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M39.50 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M70.17 114V14l6.5-10 6.5 10V114z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") calc(50% - 23px) bottom / 92px 112px repeat-x; -webkit-mask: linear-gradient(to right, #000 calc(50% - 52px), transparent calc(50% - 52px)); mask: linear-gradient(to right, #000 calc(50% - 52px), transparent calc(50% - 52px)); }
  #fence .gate { flex: 0 0 138px; }
  #fence .gate .garch { display: none; }
  #fence .gate .gpost { width: 30px; height: 119px; background-size: 30px 119px; }
  #fence .gate .gleaf { left: 30px; width: 39px; background-size: 39px 90px; }
  #fence .gate .gleaf.r { left: auto; right: 30px; }
  #fence .gate .tag { left: 31px; right: 31px; bottom: 66px; padding: 3px 2px; border-radius: 2px; }
  #fence .gate .tag b { font-size: 11.500px; white-space: normal; line-height: 1.05; }
}
/* THE FENCE AND GATE, ONE SET OF HEIGHTS (her words, 16 November): pickets and top rail lower; the gate bigger; its doors hung between the posts with no gap, their
   crossbars at the height of the fence's rails. Rails at 20 and 58 up from the foot; pickets 96 tall. */
@media all {   /* 17 November: the new fence and gate are for every screen now, phones too (her words: "translate it into the mobile version") */
  #fence::before { bottom: 58px; } #fence::after { bottom: 20px; }
  #fencerow, #fencerow2 { height: 102px; }
  #fencerow { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='102'%3E%3Cpath d='M8.83 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M39.50 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M70.17 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") calc(50% + 46px) bottom / 92px 102px repeat-x; -webkit-mask: linear-gradient(to right, transparent calc(50% + 70px), #000 calc(50% + 70px)); mask: linear-gradient(to right, transparent calc(50% + 70px), #000 calc(50% + 70px)); }
  #fencerow2 { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='102'%3E%3Cpath d='M8.83 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M39.50 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M70.17 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") calc(50% - 46px) bottom / 92px 102px repeat-x; -webkit-mask: linear-gradient(to right, #000 calc(50% - 70px), transparent calc(50% - 70px)); mask: linear-gradient(to right, #000 calc(50% - 70px), transparent calc(50% - 70px)); }
  .pickets .picket .post { height: 102px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='102'%3E%3Cpath d='M39.50 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom / 92px 102px no-repeat; }
  .pickets .picket .tag { bottom: 46px; }
  #fence .gate { flex: 0 0 184px; }
  #fence .gate .gpost { width: 40px; height: 156px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='156'%3E%3Crect x='6' y='48' width='28' height='112' fill='%23f4ead6' stroke='%235f4630' stroke-width='2'/%3E%3Cpath d='M12 70V148M28 70V148' stroke='%23dccfb4' stroke-width='1.500'/%3E%3Crect x='1.500' y='40' width='37' height='9' rx='1.500' fill='%23f4ead6' stroke='%235f4630' stroke-width='2'/%3E%3Cpath d='M5 40L15 27H25L35 40z' fill='%23f4ead6' stroke='%235f4630' stroke-width='2' stroke-linejoin='round'/%3E%3Crect x='16.500' y='19.500' width='7' height='5' fill='%23b8923f' stroke='%235f4630' stroke-width='1.600'/%3E%3Crect x='12' y='23.500' width='16' height='4' rx='2' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.800'/%3E%3Cellipse cx='20' cy='10.5' rx='7' ry='9.300' fill='%23b8923f' stroke='%235f4630' stroke-width='1.800'/%3E%3Cpath d='M15 11.7q-3 1.500-3 4.500q3-.5 3-4.500zM25 11.7q3 1.500 3 4.500q-3-.5-3-4.500z' fill='%235c7d4a'/%3E%3Ccircle cx='20.0' cy='6.5' r='1.600' fill='%23b63f7a'/%3E%3Ccircle cx='22.3' cy='8.2' r='1.600' fill='%23b63f7a'/%3E%3Ccircle cx='21.4' cy='10.8' r='1.600' fill='%23b63f7a'/%3E%3Ccircle cx='18.6' cy='10.8' r='1.600' fill='%23b63f7a'/%3E%3Ccircle cx='17.7' cy='8.2' r='1.600' fill='%23b63f7a'/%3E%3Ccircle cx='20' cy='8.9' r='1.100' fill='%23f6e7b4'/%3E%3Cpath d='M20 63c-6-5-3-8.800 0-5.500 3-3.300 6 .5 0 5.500z' fill='%23b63f7a'/%3E%3C/svg%3E") center bottom / 40px 156px no-repeat; }
  #fence .gate .gleaf { left: 40px; width: 52px; height: 100px; bottom: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='100'%3E%3Cpath d='M1.5 102V13l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M14.5 102V19l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M27.5 102V24l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M40.5 102V28l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M3 73 L48 42' stroke='%235f4630' stroke-width='8'/%3E%3Cpath d='M3 73 L48 42' stroke='%23e6d9bd' stroke-width='5'/%3E%3Crect x='-2' y='35' width='52.5' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='6.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='32.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='45.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Crect x='-2' y='73' width='52.5' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='6.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='32.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='45.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3C/svg%3E") center bottom / 52px 100px no-repeat; }
  #fence .gate .gleaf.r { left: auto; right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='100'%3E%3Cpath d='M40.5 102V13l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M27.5 102V19l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M14.5 102V24l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M1.5 102V28l5-9 5 9V102z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.500' stroke-linejoin='round'/%3E%3Cpath d='M49 73 L4 42' stroke='%235f4630' stroke-width='8'/%3E%3Cpath d='M49 73 L4 42' stroke='%23e6d9bd' stroke-width='5'/%3E%3Crect x='1.5' y='35' width='52.5' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='45.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='32.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='6.5' cy='38.5' r='.9' fill='%235f4630'/%3E%3Crect x='1.5' y='73' width='52.5' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.500'/%3E%3Ccircle cx='45.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='32.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='19.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='6.5' cy='76.5' r='.9' fill='%235f4630'/%3E%3C/svg%3E"); }
  /* the gate's sign is a small heart hung on one door (her words, 16 November), and it asks: What are you waiting for? */
  #fence .gate .tag, #fence .gate:hover .tag, #fence .gate:focus-visible .tag { left: -10px; right: auto; width: 72px; height: 54px; bottom: 30px; padding: 0; box-sizing: border-box; border: 0; border-radius: 0; box-shadow: none; background: none; rotate: -7deg; filter: drop-shadow(1px 2px 0 #2c123033); }
  #fence .gate .tag svg { display: block; width: 100%; height: 100%; overflow: visible; }
  #fence .gate .tag b { font: italic 700 10px/1 Lora, Georgia, serif; white-space: normal; letter-spacing: 0; }
  #fence .gate .tag small, #fence .gate.known .tag small { display: none; }
  #fence .gate .gleaf.l { left: 40px; }   /* an older rule had it nine to the left, behind the post, which opened the gap in the middle */
}
/* A LITTLE TALLER ON A COMPUTER (her words and her white line, 18 November). The whole fence, gate and signs with it, is drawn 16% bigger, so every height
   set above stays in step. --fz is the one number to change. The box itself keeps its old height so the rooms above it do not move. */
@media (min-width: 900px) { #fence { --fz: 1; zoom: var(--fz); height: calc(var(--fence) / var(--fz)); } }
@media (min-width: 1180px) { #fence { --fz: 1.14; } }
/* HIGHER AGAIN (her words, 18 November, later): the top of the fence "just over the bottom of the wares and the merry-go-round". Only where the window is wide
   enough for every sign at this size; narrower windows keep a smaller fence so no sign is pushed off the side. */
@media (min-width: 1460px) { #fence { --fz: 1.28; } }
@media (min-width: 900px) {
  /* THE RAILS, THE SIGNS AND THE GATE, FROM HER DRAWING (18 November, white and red lines on a screenshot). Both rails are higher: the top one just under the
     points of the pickets, the bottom one where the signs used to hang. The signs hang between them still, so they are higher too. The gateposts come down to a
     little taller than the pickets. The doors are drawn again at their real width, with their crossbars at the rails' new heights. */
  #fence::before { bottom: 70px; } #fence::after { bottom: 40px; }
  .pickets .picket:not(.gate) .tag { bottom: 40px; }
  .pickets .picket:not(.gate) { z-index: 2; }   /* a sign beside the gate hangs in front of the gatepost, not behind it (her words: Who? "isn't on top of the post") */
  .pickets .gate { z-index: 1; }
  /* each gatepost stands one picket's width further out, on what was empty space (her words, earlier the same day: that space "gone") */
  #fence .gate .gpost { left: -30.67px; }
  /* THE FENCE IS TALLER, THE GATEPOSTS ARE NOT SHORTER (her words, 18 November, after the posts were cut down: "we shrunk the gateposts instead of made the fence
     taller"). The gateposts are back at full height. The pickets grow until their points reach the flat crown under each gatepost's finial, and the top rail
     runs just under the little heart on the post. */
  #fencerow, #fencerow2 { height: 116px; background-size: 92px 116px; }
  .pickets .picket .post { height: 116px; background-size: 92px 116px; }
  #fence .gate .gpost.r { left: auto; right: -30.67px; }
  #fence .gate .gleaf, #fence .gate .gleaf.l { left: 9.33px; width: 82.67px; height: 110px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='83' height='110' viewBox='0 0 83 110'%3E%3Cpath d='M1.5 112V13l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M15.1 112V18l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M28.7 112V23l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M42.3 112V27l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M55.9 112V30l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M69.5 112V32l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M4 66 L79 40' stroke='%235f4630' stroke-width='8'/%3E%3Cpath d='M4 66 L79 40' stroke='%23e6d9bd' stroke-width='5'/%3E%3Crect x='-2' y='33' width='87' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.5'/%3E%3Ccircle cx='6.5' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='20.1' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='33.7' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='47.3' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='60.9' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='74.5' cy='36.5' r='.9' fill='%235f4630'/%3E%3Crect x='-2' y='63' width='87' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.5'/%3E%3Ccircle cx='6.5' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='20.1' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='33.7' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='47.3' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='60.9' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='74.5' cy='66.5' r='.9' fill='%235f4630'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
  #fence .gate .gleaf.r { left: auto; right: 9.33px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='83' height='110' viewBox='0 0 83 110'%3E%3Cg transform='translate%2883 0%29 scale%28-1 1%29'%3E%3Cpath d='M1.5 112V13l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M15.1 112V18l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M28.7 112V23l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M42.3 112V27l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M55.9 112V30l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M69.5 112V32l5-9 5 9V112z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M4 66 L79 40' stroke='%235f4630' stroke-width='8'/%3E%3Cpath d='M4 66 L79 40' stroke='%23e6d9bd' stroke-width='5'/%3E%3Crect x='-2' y='33' width='87' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.5'/%3E%3Ccircle cx='6.5' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='20.1' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='33.7' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='47.3' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='60.9' cy='36.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='74.5' cy='36.5' r='.9' fill='%235f4630'/%3E%3Crect x='-2' y='63' width='87' height='7' fill='%23e6d9bd' stroke='%235f4630' stroke-width='1.5'/%3E%3Ccircle cx='6.5' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='20.1' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='33.7' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='47.3' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='60.9' cy='66.5' r='.9' fill='%235f4630'/%3E%3Ccircle cx='74.5' cy='66.5' r='.9' fill='%235f4630'/%3E%3C/g%3E%3C/svg%3E"); }
  /* the heart: bigger, a little higher, and in front of both doors (her words: it "got tucked behind the other side's gate") */
  #fence .gate .tag, #fence .gate:hover .tag, #fence .gate:focus-visible .tag { left: -8px; width: 98px; height: 74px; bottom: 26px; z-index: 4; }   /* down and to the left a little (her words, 18 November, later: "now it's up too high") */
  #fence .gate .tag b { font-size: 13.5px; }
}
/* the heart's two halves: each sits on its own door so that, shut, they make one heart centred where the doors meet */
#fence .gate .gleaf .tag.half { rotate: 0deg; width: 72px; height: 54px; bottom: 30px; z-index: 4; }
#fence .gate .gleaf .tag.half.l { left: 16px; right: auto; }
#fence .gate .gleaf .tag.half.r { left: -36px; right: auto; }
@media (min-width: 900px) {
  #fence .gate .gleaf .tag.half { width: 98px; height: 74px; bottom: 26px; }
  #fence .gate .gleaf .tag.half.l { left: 33.67px; }
  #fence .gate .gleaf .tag.half.r { left: -49px; }
}
/* THE SIGNS ROCK A LITTLE ON THEIR NAILS (her words, 18 November: "having the sign move back and forth just a little would be great"), a degree or so, slowly,
   each out of step with the next, so the fence reads as the way round without a mouse having to pass over it. */
@keyframes flit { 0%, 34% { transform: none; } 38% { transform: translate(-34px, -30px); } 42%, 66% { transform: translate(-74px, -8px) scaleX(-1); } 70% { transform: translate(-40px, -34px) scaleX(-1); } 74%, 100% { transform: none; } }
.flit { transform-box: fill-box; transform-origin: 50% 50%; animation: flit 11s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .flit { animation: none; } }
@keyframes signrock { from { rotate: -1.6deg; } to { rotate: 1.6deg; } }
.pickets .picket:not(.gate) .tag { transform-origin: 50% 3px; animation: signrock 3.4s ease-in-out infinite alternate; }
.pickets .picket:nth-of-type(3n) .tag { animation-duration: 4.1s; animation-delay: -1.3s; }
.pickets .picket:nth-of-type(3n+1) .tag { animation-duration: 3.7s; animation-delay: -2.6s; }
@media (prefers-reduced-motion: reduce) { .pickets .picket .tag { animation: none; } }
@media (max-width: 899px) and (pointer: coarse), (max-width: 899px) and (hover: none), (max-width: 559px) {
  /* ON A PHONE the fence slides sideways under your thumb, so the pickets ride on the signs themselves, three to a sign, and the long fixed row behind is left out. */
  #fencerow, #fencerow2 { display: none; }
  .pickets { overflow-x: auto; overflow-y: hidden; padding-top: 70px; margin-top: -70px; }   /* headroom, so the gate posts' tops are not cut off */
  .pickets .picket .post { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='102'%3E%3Cpath d='M8.83 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M39.50 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M70.17 104V14l6.5-10 6.5 10V104z' fill='%23f4ead6' stroke='%235f4630' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
.picket .post { position: absolute; left: 50%; bottom: -6px; width: 18px; height: 96px; margin-left: -9px; background: #f4ead6; border: 2px solid var(--wood2); border-bottom: 0; border-radius: 9px 9px 0 0; }
.picket .knob { position: absolute; left: 50%; bottom: 88px; width: 22px; height: 22px; margin-left: -11px; box-shadow: inset 0 0 0 3px #f4ead6, inset 0 0 0 5px #b63f7a; border-radius: 50%; background: var(--gold); border: 2px solid var(--wood2); }
.picket .tag::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 6px; margin-top: -3px; pointer-events: none; background: radial-gradient(circle 2.6px at 3px 3px, #6b4f38 98%, transparent) left / 6px 6px no-repeat, radial-gradient(circle 2.6px at 3px 3px, #6b4f38 98%, transparent) right / 6px 6px no-repeat; }
.picket .tag { position: absolute; left: -1px; right: -1px; bottom: 34px; padding: 7px 12px; background: #f6ead0; border: 2px solid #8a6a4a; border-radius: 5px 9px 4px 8px; outline: 1.5px dotted #b63f7a; outline-offset: -5px; box-shadow: 2px 3px 0 #2c123026; font: italic clamp(11.5px, .92vw, 13px)/1.12 Lora, Georgia, serif; text-align: center; rotate: var(--r, -2deg); transition: background .2s ease, color .2s ease; }
.picket .tag::before { content: ""; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--wood2); }
.picket.over, .picket.gate:hover, .picket:focus-visible { transform: translateY(-4px); outline: none; }
.pickets .picket:not(.gate) { cursor: default; } .pickets .picket.over { cursor: pointer; }
.picket:focus-visible .tag { outline: 3px solid var(--gold); }
.picket[aria-current="true"] { transform: translateY(-6px); }
.picket[aria-current="true"] .tag { background: var(--fox); border-color: #7a1f4d; color: #fffdf4; }
.picket.gatepost .tag { background: #e6dcc6; }
.picket.gatepost[aria-current="true"] .tag { background: #e6dcc6; border-color: #cdbb9c; color: var(--plum); }
.gate { position: relative; flex: 0 0 118px; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; perspective: 280px; }
.gpost { position: absolute; bottom: -6px; width: 20px; height: 100px; background: #f4ead6; border: 2px solid var(--wood2); border-bottom: 0; box-sizing: border-box; }
.gpost.l { left: 0; } .gpost.r { right: 0; }
.gpost::after { content: ""; position: absolute; left: 50%; top: -18px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--wood2); box-sizing: border-box; }
.gleaf { position: absolute; bottom: 0; width: calc(50% - 20px); height: 84px; background: linear-gradient(#f4ead6, #f4ead6) 0 16px / 100% 9px no-repeat, linear-gradient(#f4ead6, #f4ead6) 0 58px / 100% 9px no-repeat, repeating-linear-gradient(90deg, #f4ead6 0 11px, transparent 11px 16px); box-shadow: 0 1px 0 var(--wood2); transition: transform .9s var(--ease); }
.gleaf.l { left: 20px; transform-origin: 0 50%; }
.gleaf.r { right: 20px; transform-origin: 100% 50%; }
.gate.open .gleaf.l { transform: rotateY(76deg); }
.gate.open .gleaf.r { transform: rotateY(-76deg); }
/* her word, 5 November: "Think Cheshire Cat". The grin comes and goes in the arch. */
.grin { position: absolute; left: 50%; bottom: 98px; width: 50px; height: 19px; margin-left: -25px; opacity: 0; pointer-events: none; display: none; }
.gate.known .grin { display: block; animation: grin 34s ease-in-out infinite; }   /* the grin only for someone we’ve seen before */
.grin svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* now and then the rest of the cat shows, so the smile makes sense (her words, 16 November) */
.grin .catface { opacity: 0; } .gate.known .grin .catface { animation: catface 68s ease-in-out infinite; }
/* 18 November, her words: the grin and the face "needs to be slower and less often", and "every once in a while, do come in needs to spiral off of his
   mouth ... like the words get blown out of his mouth with smoke". The grin comes every 34 seconds and stays about five. On every second grin the face shows
   for a few seconds. On the other one the words curl up out of the grin and fade. */
/* 19 November, her words: "we need to redraw the Cheshire Cat to be cuter". He had ear outlines and slit eyes and no head. Now he has a round striped lilac head, big round eyes with a shine in them, pink cheeks and ear linings and a small nose. The grin is his old grin, and it still comes and goes without him most of the time. */
@keyframes catface { 0%, 86%, 97%, 100% { opacity: 0; } 89.5%, 94% { opacity: 1; } }
@keyframes grin { 0%, 62%, 100% { opacity: 0; } 72%, 88% { opacity: 1; } }
/* 18 November, evening, her words: "I think it might be a bit small ... I couldn't read it". Half as big again, and it holds about five seconds before it drifts off, where it had three. */
@keyframes catsay { 0%, 36.5% { opacity: 0; transform: translate(0, 4px) scale(.35) rotate(-10deg); } 38.5% { opacity: 1; transform: translate(4px, -6px) scale(.9) rotate(-2deg); } 46% { opacity: 1; transform: translate(10px, -18px) scale(1.15) rotate(6deg); } 50%, 100% { opacity: 0; transform: translate(18px, -34px) scale(1.4) rotate(14deg); } }
.grin .catsay { opacity: 0; transform-box: fill-box; transform-origin: 0% 100%; }
.gate.known .grin .catsay { animation: catsay 68s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .gate.known .grin .catsay { animation: none; } }
@media (prefers-reduced-motion: reduce) { .grin { animation: none; opacity: .8; } }
.garch { position: absolute; left: 10px; right: 10px; bottom: 88px; height: 26px; border: 5px solid var(--wood2); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-sizing: border-box; }
.gate .tag b { display: block; font-weight: 700; font-size: 13.5px; white-space: nowrap; letter-spacing: -.2px; }
.gate .tag small { display: block; margin-top: 1px; font-size: 10.5px; line-height: 1.08; }
.gate .tag { position: absolute; left: 22px; right: 22px; bottom: 30px; padding: 6px 5px; background: var(--gold); border: 1.5px solid #7a5c1f; border-radius: 3px; box-shadow: 2px 3px 0 #2c123026; font: italic 15px/1.15 Lora, Georgia, serif; color: #fffdf4; text-align: center; }
.gate:hover .tag, .gate:focus-visible .tag { background: var(--fox); border-color: #7a1f4d; }
.gate:focus-visible { outline: none; }
.flown { position: absolute; left: 50%; top: 12%; z-index: 4; width: min(88%, 30em); margin-left: calc(min(88%, 30em) / -2); padding: 18px 22px 20px; box-sizing: border-box; background: var(--paper); border: 3px solid var(--wood2); border-radius: 4px; box-shadow: 4px 6px 0 #2c123030; transform: translateY(-160%); transition: transform 1s var(--ease); }
.flown.down { transform: none; }
.flown::before, .flown::after { content: ""; position: absolute; bottom: 100%; width: 2px; height: 60vh; background: #5a5048; }
.flown::before { left: 14%; } .flown::after { right: 14%; }
.flown h2 { margin: 0 0 6px; font: 700 30px/1.1 'Crimson Pro', Georgia, serif; color: var(--fox); }
.flown p { margin: 6px 0; }
.flown button { margin-top: 8px; padding: 6px 16px; background: var(--paper); border: 1.5px solid #cdbb9c; border-radius: 3px; font: italic 16px Lora, Georgia, serif; color: var(--plum); cursor: pointer; box-shadow: 2px 3px 0 #2c123026; }
.flown button:hover, .flown button:focus-visible { background: var(--fox); color: #fffdf4; outline: none; }

/* titles in Berolina (her pick, 5 November) */
h1, h2, h3 { font-family: Berolina, 'Crimson Pro', Georgia, serif !important; font-weight: 400 !important; }
/* the whole yard fits any screen, and on a small one you can go in closer */
.drift { animation: drift var(--s) linear var(--w) infinite; }
.rise { animation: rise var(--r, 21s) ease-in-out infinite alternate; }
@keyframes rise { from { transform: translateY(-22px); } to { transform: translateY(22px); } }
@keyframes drift { from { transform: translateX(var(--a)); } to { transform: translateX(var(--b)); } }
@media (prefers-reduced-motion: reduce) { .drift, .rise { animation: none; } }
.ctl { stroke-width: 11; }
.pflower { opacity: 1; }
.vine.grow .pflower { animation: pop .55s calc(var(--d) * var(--t, 3s)) ease-out both; }
.petal { fill: #f3d6e6; stroke: var(--moss); stroke-width: 1; opacity: 0; }
.shook .petal { opacity: 1; }
#ttlunder, #ttlover { transition: opacity .5s ease; }
#world.inside #ttlunder, #world.inside #ttlover { opacity: 0; pointer-events: none; }
#scene.zoomable { touch-action: none; }
#l-front { pointer-events: none; }
#zoom { display: none !important; position: absolute; right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(var(--fence) + 8px); z-index: 3; display: flex; align-items: center; gap: 5px; padding: 3px 6px; background: #fffaf0d9; border: 1px solid #cdbb9c; border-radius: 3px; font: italic 13px Lora, Georgia, serif; color: var(--plum); }
@media (orientation: landscape) { #zoom { bottom: auto; top: calc(max(12px, env(safe-area-inset-top, 0px)) + 34px); } }
#zoom button { width: 26px; height: 26px; padding: 0; background: var(--paper); border: 1px solid var(--wood2); border-radius: 3px; font: 700 17px/1 'Crimson Pro', Georgia, serif; color: var(--plum); cursor: pointer; }
#zoom button:focus-visible { outline: 3px solid var(--gold); }
#zoom button:disabled { opacity: .45; cursor: default; }
.signpost { cursor: pointer; }
.foundkey { cursor: pointer; }
.foundkey .glint { transform-box: fill-box; transform-origin: center; animation: glint 3.6s ease-in-out infinite; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: scale(.3); } 82% { opacity: 1; transform: scale(1.2); } }

/* a thing to play with comes up in the room, and everything stays behind it */
.doorhead { margin: 10px 0 4px; font: italic 16px Lora, Georgia, serif; color: var(--fox); }
.inset { position: absolute; inset: 0 0 calc(var(--fence) - 6px) 0; z-index: 3; background: var(--cream); transform: translateY(101%); transition: transform .7s var(--ease); display: flex; flex-direction: column; box-shadow: 0 0 0 3px var(--wood2); }
.inset.in { transform: none; }
.inset iframe { flex: 1 1 0; width: 100%; min-height: 0; border: 0; background: var(--cream); }
.insetback { flex: none; align-self: flex-end; margin: 6px 10px; padding: 7px 14px; background: var(--paper); border: 1.5px solid #cdbb9c; border-radius: 3px; box-shadow: 2px 3px 0 #2c123026; font: italic 15px Lora, Georgia, serif; color: var(--plum); cursor: pointer; }
.insetback:hover, .insetback:focus-visible { background: var(--fox); color: #fffdf4; outline: none; }

/* everyone's beds */
/* THE WEB ROOM IS A DIRECTORY OF PLACES (her words, 2 December: "it just needs to be listed by place and then my name underneath them rather than
   grouped by person, because it's a directory of the websites and what the websites do ... Not a directory of the members of the cooperative"; and
   "so much extra space being taken up that doesn't need to be there"). One entry a place: its name, what it does, and the maker's name small beneath.
   The card is a mid tone with dark ink, never near white. */
.words .bedrow { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; text-shadow: none; }
.words .bedrow li { margin: 0; }
.bedrow a { display: block; padding: 6px 10px 7px; background: #d9c6ac; border: 1.5px solid #8a6a4a; border-left: 5px solid var(--moss); border-radius: 2px; box-shadow: 2px 3px 0 #2c123033; color: var(--plum); text-decoration: none; line-height: 1.25; }
.bedrow a:hover, .bedrow a:focus-visible { background: #cdb797; outline: 2px solid var(--fox); }
.bedrow b { display: block; font: 700 18px/1.2 'Crimson Pro', Georgia, serif; color: var(--plum); }
.bedrow span { display: block; font-size: 15px; line-height: 1.25; color: #3c2a1e; }
.bedrow i { display: block; margin-top: 2px; font: italic 13px/1.2 Lora, Georgia, serif; color: #4a3626; }
/* WHAT THE MAGPIE SAYS (2 December). A small bubble that follows her about the yard. Her words that evening: "make the chat bubble about the same
   color as the fence instead of this purple. And make it round." So: the pickets' own cream (#f4ead6) with their brown line (#5f4630), and an oval.
   A bubble with buttons in it (the tilt offer) is a rounded box, so the buttons keep clear of the edge. */
#birdsays { position: fixed; z-index: 30; box-sizing: border-box; width: max-content; max-width: min(230px, calc(100vw - 16px)); padding: 13px 24px 14px; background: #f4ead6; color: var(--plum); border: 2px solid #5f4630; border-radius: 50%; box-shadow: 3px 4px 0 #2c123040; font: 17px/1.25 'Crimson Pro', Georgia, serif; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#birdsays.long { max-width: min(260px, calc(100vw - 16px)); padding: 12px 16px 13px; border-radius: 26px; }
#birdsays[hidden] { display: none; }
#birdsays p { margin: 0; }
#birdsays .pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 9px; }
#birdsays .pick:empty { display: none; }
#birdsays button { font: inherit; font-weight: 700; padding: 5px 13px; border-radius: 999px; border: 2px solid #5f4630; background: #5f4630; color: #f4ead6; cursor: pointer; }
#birdsays button.soft { background: none; color: var(--plum); }
#birdsays .tail { position: absolute; bottom: -8px; width: 14px; height: 14px; margin-left: -8px; box-sizing: border-box; background: #f4ead6; border-right: 2px solid #5f4630; border-bottom: 2px solid #5f4630; rotate: 45deg; }
#birdsays.under .tail { bottom: auto; top: -8px; rotate: 225deg; }
#puppet .touch { cursor: pointer; }
.words .wname { font: 400 1.3em/1 Berolina, 'Crimson Pro', Georgia, serif; letter-spacing: -.01em; color: #5c1f70; -webkit-text-stroke: .5px #5c1f70;
  text-shadow: 1.6px 0 0 #fbf5e9, -1.6px 0 0 #fbf5e9, 0 1.6px 0 #fbf5e9, 0 -1.6px 0 #fbf5e9, 1.1px 1.1px 0 #fbf5e9, -1.1px -1.1px 0 #fbf5e9, 1.1px -1.1px 0 #fbf5e9, -1.1px 1.1px 0 #fbf5e9, -1px 2.5px 1.5px #2c123040; }
/* THE NAME IN A ROOM'S WORDS (her words, 17 November: twice the size, then "just a bit smaller", closer letters, then "smaller and then give it an
   outline, a different color ... in the font that it's used on the headline titles also"): the headline's lettering and purple, with the off white
   edge the name has on the garden. Inside a heading it is the heading's size. */
.words h3 .wname, .words .slip .wname { font-size: 1em; }
/* SLIPS PINNED TO THE WALL (her words, 17 November: "pieces of paper pinned to the wall that you click on for a question, just little slips of
   paper with the questions made even more summarized"). In ROOMS.md a line "? For me? | What could it do for me?" is a slip: the short words on
   the slip, the whole question over its answer. Touch a slip and its answer shows under the slips; touch it again and it goes. */
.words .slips { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 16px 0 10px; padding: 4px 2px 0; }
.words .slip { position: relative; padding: 15px 15px 9px; background: #fffdf6; border: 1px solid #d8cbb2; border-radius: 1px; color: #5c1f70;
  font: 400 22px/1.05 Berolina, 'Crimson Pro', Georgia, serif; cursor: pointer; rotate: var(--tilt, -2deg); box-shadow: 1px 2px 3px #2c123026;
  transition: rotate .2s ease, translate .2s ease, box-shadow .2s ease, background-color .2s ease; }
.words .slip::before { content: ""; position: absolute; top: 4px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ef9fc2, #b63f7a 60%, #7a1f4d); box-shadow: 0 1px 1px #2c123066; }
.words .slip:hover, .words .slip:focus-visible { translate: 0 -2px; box-shadow: 2px 5px 7px #2c123033; }
.words .slip:focus-visible { outline: 2px solid #b63f7a; outline-offset: 2px; }
.words .slip[aria-expanded="true"] { rotate: 0deg; background: #fbe9f1; border-color: #b63f7a; }
.words .answer { margin: 6px 0 10px; }
.words .answer[hidden] { display: none; }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) { .words .slip { font-size: 20px; } .words .slips { gap: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .words .slip { transition: none; } }
/* the slips hang less in a row and give a wiggle now and then, so they look like something to touch (her words, 17 November: "less in a row and more
   like kind of scattered, because that's how I am and how people actually pin things to walls ... they need to wiggle") */
.words .slips { justify-content: space-around; }
.words .slip:nth-child(3n+2) { margin-top: 16px; } .words .slip:nth-child(3n) { margin-top: 5px; } .words .slip:nth-child(4n+1) { margin-left: 8px; }
.words .slip, .frame { animation: nudge 11s ease-in-out var(--wait, 0s) infinite; transform-origin: 50% 0; }
.words .slip:nth-child(2) { --wait: 2.6s; } .words .slip:nth-child(3) { --wait: 5.1s; } .words .slip:nth-child(4) { --wait: 7.7s; } .words .slip:nth-child(5) { --wait: 9.3s; }
.words .slip:hover, .frame:hover, .frame:focus-visible { animation: wiggle .55s ease-in-out; }
@keyframes nudge { 0%, 91%, 100% { transform: none; } 93.5% { transform: rotate(3deg); } 96% { transform: rotate(-2.2deg); } 98% { transform: rotate(1deg); } }
@keyframes wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(3.5deg); } 60% { transform: rotate(-3deg); } 85% { transform: rotate(1.2deg); } }
/* picture frames with plaques, hung haphazardly on the wall (her trial on What?, 17 November) */
/* a Victorian gallery wall, close hung as one group (her words, 17 November: "haphazard like Victorian gallery wall haphazard, not like one random thing", and "all on the same row ish") */
.words.framed .frames { display: flex; justify-content: center; padding: 30px 16px 24px 4px; }
.frames .gallery { display: flex; align-items: center; gap: 0 14px; }
.frames .col { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.frame { position: relative; display: flex; flex-direction: column; align-items: center; padding: 11px; flex: none; border: 0; border-radius: 3px; cursor: pointer; rotate: var(--tilt, 0deg);
  background: linear-gradient(135deg, #a8772a, #e2c27a 28%, #8a5a22 52%, #d4a85a 78%, #7a4f1c); color: inherit; font: inherit; pointer-events: auto;
  box-shadow: inset 0 0 0 2px #5f4630, inset 0 0 0 5px #f3dc9a55, inset 0 0 0 7px #5f463099, 3px 6px 9px #2c123047; }
.frame.top::before { content: ""; position: absolute; top: -13px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9c3b8, #6d6458 65%, #3f3a33); box-shadow: 0 1px 1px #0006; }
.frame.top::after { content: ""; position: absolute; top: -9px; left: 22%; right: 22%; height: 10px; border: 1.5px solid #5a5048; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.frame.oval { border-radius: 50%; padding: 14px; }
.frame .pic, .house .turned .front .pic { display: grid; place-items: center; align-content: center; width: calc(var(--w, 140px) * var(--k, 1)); height: calc(var(--h, 110px) * var(--k, 1)); overflow: hidden; box-shadow: inset 0 0 0 2px #5f4630, inset 2px 3px 8px #0003; }
.frame.oval .pic { border-radius: 50%; }
.frame .pic.drawn, .house .turned .front .pic.drawn { position: relative; } .frame .pic.drawn svg, .house .turned .front .pic.drawn svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }   /* pictures drawn in the room's own flat shapes */
.frame .pic img, .house .turned .front .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame .pic b, .house .turned .front .pic b { font: 400 44px/1 Berolina, 'Crimson Pro', Georgia, serif; color: #5c1f7055; }
.frame .pic i, .house .turned .front .pic i { font: italic 13px/1.2 'Crimson Pro', Georgia, serif; color: #6d5a4a; }
.frame .plaque { position: absolute; left: 50%; bottom: -11px; translate: -50% 0; z-index: 1; white-space: nowrap; padding: 3px 10px 4px; border: 1px solid #6b4a1c; border-radius: 2px; text-align: center;
  background: linear-gradient(#f6e2a6, #cfa850 55%, #a77f2c); color: #3b2608; font: 700 14px/1.15 'Crimson Pro', Georgia, serif; letter-spacing: .3px; text-shadow: 0 1px 0 #f7e7b8; box-shadow: 0 1px 1px #0005; }
.frame .plaque .wname { font-size: 1em; text-shadow: none; -webkit-text-stroke: 0; color: inherit; font-family: inherit; }
.frame:focus-visible { outline: 3px solid #b63f7a; outline-offset: 4px; }
.house .sheetveil { position: absolute; inset: 0 0 var(--fence) 0; z-index: 6; overflow: hidden; background: #2c12302e; pointer-events: auto; animation: veilin .25s ease both; }
/* HOW A FRAME GIVES UP ITS WORDS (her pick, 17 November night): a letter falls out of a knocked frame and unfolds, or the frame turns over and
   its words are on its back. Paper is never plain white (her words: "muted but with enough contrast that it's easy to read ... some color, some
   sort of depth"): the letter is a warm parchment, the back is brown paper in a wooden frame, both with dark ink. */
.house .paperwords { color: #2b1736; }
.house .paperwords h3 { margin: 2px 0 10px 44px; font: 400 30px/1.12 Berolina, 'Crimson Pro', Georgia, serif; color: #4a1660; }
.house .paperwords h4 { margin: 16px 0 4px; font: 700 21px/1.25 'Crimson Pro', Georgia, serif; }
.house .paperwords p { margin: 8px 0; }
.house .paperwords ul { margin: 8px 0; padding-left: 22px; }
.house .paperwords .roomlink { color: inherit; text-decoration-color: #7a2a6a; }
/* the back of the picture: the frame's raw wooden back, brown paper inside it, the hanging wire across the top */
.house .turned { position: absolute; z-index: 1; perspective: 1500px; }
.house .turnin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.house .turned .face { position: absolute; inset: 0; box-sizing: border-box; border-radius: 3px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.house .turned .front { display: flex; padding: 11px; background: linear-gradient(135deg, #a8772a, #e2c27a 28%, #8a5a22 52%, #d4a85a 78%, #7a4f1c);
  box-shadow: inset 0 0 0 2px #5f4630, inset 0 0 0 5px #f3dc9a55, inset 0 0 0 7px #5f463099, 4px 14px 26px #2c123059; }
.house .turned.oval .front { border-radius: 50%; padding: 14px; }
.house .turned .front .pic { flex: 1; width: auto; height: auto; }
.house .turned.oval .front .pic { border-radius: 50%; }
.house .turned .rear { display: flex; flex-direction: column; padding: 14px; transform: rotateY(180deg); cursor: pointer;
  background: repeating-linear-gradient(90deg, #00000000 0 9px, #2e1c0e14 9px 10px, #00000000 10px 23px), linear-gradient(90deg, #4a2f19, #6b4626 12%, #5a3b20 50%, #6e4828 88%, #4a2f19);
  box-shadow: inset 0 0 0 2px #2e1c0e, inset 0 0 0 4px #7a573455, 4px 18px 34px #2c12305c; }
.house .turned .rear::before { content: ""; position: absolute; z-index: 2; left: 20%; right: 20%; top: 19px; height: 30px; border: 2px solid #3d3832; border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; pointer-events: none; opacity: .8; }
.house .turned .rear::after { content: ""; position: absolute; z-index: 2; left: calc(20% - 5px); right: calc(20% - 5px); top: 15px; height: 8px; pointer-events: none;
  background: radial-gradient(circle, #8f877c 0 2.5px, #4a443d 3px 4px, #0000 4.5px) left / 8px 8px no-repeat, radial-gradient(circle, #8f877c 0 2.5px, #4a443d 3px 4px, #0000 4.5px) right / 8px 8px no-repeat; }
.house .turned .backing { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 40px 26px 20px; cursor: auto; font-size: 19px; line-height: 1.55; outline: none;
  background: repeating-linear-gradient(8deg, #00000000 0 3px, #6a4a2210 3px 4px), radial-gradient(ellipse at 50% 38%, #c4a374, #b08d5d 72%, #9c7a4e);
  box-shadow: inset 0 0 0 1px #5e4329, inset 0 3px 12px #3a240f66; scrollbar-width: thin; scrollbar-color: #6e4c2a transparent; }
.house .turned .backing .paperwords { color: #23130a; }
.house .turned .backing .paperwords h3 { color: #3d1650; }
.house .turned .sheetback { left: 6px; top: 6px; z-index: 3; }
/* the oval frame turns over to an oval back (her words, 17 November: "when the mirror turns around, it turns into a square. It needs to stay a circle") */
.house .turned.oval .face { border-radius: 50%; }
.house .turned.oval .rear { padding: 16px; background: repeating-radial-gradient(ellipse at 50% 50%, #00000000 0 11px, #2e1c0e18 11px 12px), radial-gradient(ellipse at 50% 45%, #6e4828, #5a3b20 62%, #4a2f19); }
.house .turned.oval .rear::before { left: 37%; right: 37%; top: 12px; height: 24px; }
.house .turned.oval .rear::after { left: calc(37% - 5px); right: calc(37% - 5px); top: 8px; }
.house .turned.oval .backing { border-radius: 50%; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.house .turned.oval .backing .paperwords { box-sizing: border-box; width: 72%; max-height: 64%; margin-bottom: 6%; overflow-y: auto; padding: 6px 4px 14px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(#0000, #000 7%, #000 86%, #0000); mask-image: linear-gradient(#0000, #000 7%, #000 86%, #0000); }   /* the words sit inside the oval, and fade where there is more to scroll */
.house .turned.oval .backing .paperwords::-webkit-scrollbar { display: none; }
.house .turned.oval .backing .paperwords h3 { margin-left: 0; }
.house .turned.oval .sheetback { left: 50%; top: auto; bottom: 5%; translate: -50% 0; }
.house .turned.glass { perspective: none; box-shadow: 0 18px 40px #2a160d55; border-radius: 50%; }
.house .turned.glass .front { position: absolute; inset: 0; }
.house .turned.glass .glassread { position: absolute; inset: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; cursor: auto; outline: none;
  background: radial-gradient(ellipse at 50% 46%, #d9e2e4aa, #c3ced255 55%, #0000 74%); font-size: 19px; line-height: 1.55; }
.house .turned.glass .paperwords { box-sizing: border-box; width: 72%; max-height: 66%; overflow-y: auto; padding: 6px 4px 14px; color: #1c1a24; text-shadow: 0 1px 0 #eef3f466; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(#0000, #000 9%, #000 88%, #0000); mask-image: linear-gradient(#0000, #000 9%, #000 88%, #0000); }
.house .turned.glass .paperwords::-webkit-scrollbar { display: none; }
.house .turned.glass .paperwords h3 { margin-left: 0; color: #3d1650; }
.house .turned.glass .sheetback { position: absolute; left: 50%; top: auto; bottom: 4%; translate: -50% 0; z-index: 3; }
/* the letter: folded in three with a wax seal, it unfolds where you can read it; the creases stay in the paper */
.house .letter { position: absolute; z-index: 1; perspective: 1600px; transform-origin: 50% 50%; }
.house .letterread { position: absolute; inset: 0; box-sizing: border-box; overflow-y: auto; padding: 26px 30px 22px; border-radius: 2px; font-size: 19.5px; line-height: 1.55; outline: none;
  background: linear-gradient(#00000000 calc(33.33% - 1px), #5e45261f calc(33.33% - 1px), #fff4dc22 calc(33.33% + 1px), #00000000 calc(33.33% + 2px), #00000000 calc(66.66% - 1px), #5e45261f calc(66.66% - 1px), #fff4dc22 calc(66.66% + 1px), #00000000 calc(66.66% + 2px)),
    radial-gradient(ellipse at 50% 42%, #d6c198, #c9b083 70%, #b49a6e); box-shadow: inset 0 0 0 1px #9c825a66, 0 16px 32px #2c12305c; scrollbar-width: thin; scrollbar-color: #8c7048 transparent; }
.house .letter .folds { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.house .letter .lp { position: absolute; left: 0; right: 0; transform-style: preserve-3d; }
.house .letter .lp.top { transform-origin: 50% 100%; }
.house .letter .lp.bot { transform-origin: 50% 0; }
.house .letter .pf, .house .letter .pb { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.house .letter .pf .letterread { inset: auto 0; overflow: hidden; box-shadow: inset 0 0 0 1px #9c825a66; }
.house .letter .pb { transform: rotateX(180deg); background: radial-gradient(ellipse at 50% 50%, #cdb68b, #bba274); box-shadow: inset 0 0 0 1px #9c825a88, inset 0 -2px 6px #5e452633; }
.house .letter .seal { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 47% 53% 50% 48%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 34%, #9a4a8a, #6b2366 55%, #4a1449); box-shadow: 0 0 0 3px #6b236655, 0 2px 3px #2c123077; font: 400 21px/1 Berolina, 'Crimson Pro', Georgia, serif; color: #3a0f3c; text-shadow: 0 1px 0 #b46aa766; }
.sheetback { position: absolute; left: 10px; top: 10px; width: 40px; height: 31px; padding: 0; background: none; border: 0; cursor: pointer; filter: drop-shadow(0 0 .9px #9c8a68) drop-shadow(-2px 2px 1px #2c12304d); transition: transform .2s ease; }
.sheetback svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sheetback .edge { fill: #fbf5e9; stroke: #fbf5e9; stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.sheetback .arrow { fill: #c9bad6; stroke: #c9bad6; stroke-width: 1.5; stroke-linejoin: round; }
.sheetback:hover, .sheetback:focus-visible { transform: translateX(-4px) rotate(-6deg); outline: none; }
@keyframes veilin { from { opacity: 0; } to { opacity: 1; } }
@keyframes veilout { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) {
  .words.framed .frames { clear: left; padding: 108px 0 22px; }   /* beside the window on a phone, the same group made smaller to sit next to it (her words, 19 November) */
  .frame .pic b { font-size: 34px; } .frame .pic i { font-size: 11px; }
  .frame .plaque { font-size: 13px; }
  .house .letterread, .house .turned .backing { font-size: 18px; }
  .house .letterread { padding: 20px 18px 16px 20px; } .house .turned .backing { padding: 38px 16px 16px; }
  .house .paperwords h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .words .slip, .frame, .words .slip:hover, .frame:hover, .frame:focus-visible, .house .sheetveil { animation: none; } }
.words .roomlink { color: inherit; text-decoration-color: var(--fox); text-underline-offset: 3px; }   /* a link to another room, inside the words */

@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) {
  :root { --fence: 112px; }
  body { font-size: 17px; }
  .house, .house.pos-l, .house.pos-top { flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 38px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
  .pane, .house.pos-top .pane { order: -1; margin-bottom: 0; gap: 22px; }
  .words { width: 100%; flex: 1 1 0; min-height: 0; padding: 8px 10px 14px; font-size: 18.5px; }
  .picket { flex: 0 0 84px; max-width: none; }
  .gate { flex-basis: 124px; }
  .gate .tag { left: 22px; right: 22px; font-size: 13.5px; }
  .picket .tag { font-size: 12.5px; }
  .flown { top: 76px; max-height: calc(100% - 76px - var(--fence) - 26px); overflow-y: auto; }   /* Ship, 5 November: clear of the pod in its corner, and always ending above the fence so Back to the garden can be tapped */
  .flown h2 { padding-right: 46px; }
  .picket .post { height: 92px; }
  .picket .knob { bottom: 82px; }
  #fence::before { bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  #world, .house, .picket, .fly, .flown, .gleaf, #sky, #dusk, .inset { transition-duration: .01s; }
  .bob { animation: none; }
  .play *, .vine.grow * { animation: none !important; }
  .rider { opacity: 0; }
}

/* THE WORDS GO ROUND THE WINDOW (her words, 5 November). The window stays in the wall, off to its side; the words fill the room and wrap round it as they scroll. */
.house, .house.pos-l, .house.pos-r { display: block; padding: 0; }
.house .pane { position: absolute; z-index: 2; margin: 0; pointer-events: auto; }
.house.pos-r .pane { right: max(28px, 5vw); }
.house.pos-l .pane { left: max(28px, 5vw); }
.house .pane.hi { top: 64px; }
.house .pane.mid { top: calc((100% - var(--fence) - 26px) / 2 + 25px); transform: translateY(-50%); }
.house .pane.lo { bottom: calc(var(--fence) + 14px); }
.house .words { position: absolute; top: 56px; bottom: var(--fence); margin: 0; width: min(48em, calc(100% - 2 * max(28px, 5vw))); max-width: none; box-sizing: border-box; padding: 10px 6px 16px; background: none; box-shadow: none; border-radius: 0; overflow-anchor: none; text-shadow: 0 0 2px var(--halo, #e9dcc8), 0 0 5px var(--halo, #e9dcc8), 0 0 10px var(--halo, #e9dcc8), 0 0 16px var(--halo, #e9dcc8); }
.house.pos-r .words, .house.pos-l .words { left: 0; right: 0; width: auto; }   /* the scroll bar at the screen's edge (her words, 5 November) */
/* 17 November, her words: "how far the text is over on one side", "the text is all crunched". The words now start just past the headline and use the room's width, where they used to keep to a narrow column against the window's wall. */
.house.pos-r .words { padding-right: max(28px, 5vw); padding-left: max(28px, 5vw); }   /* the headline keeps its own corner clear (the words wrap round it), so no column is held back for it */
.house.pos-l .words { padding-left: max(28px, 5vw); padding-right: max(28px, 5vw); }
.words .hole { float: right; width: 0; height: 0; }
.house.pos-l .words .hole { float: left; }
/* A ROOM IN THE DOLLHOUSE (her words, 16 November: "we should see the sides of the dollhouse walls ... if we're looking into a room inside
   of the dollhouse, we should be able to see that box", so nobody thinks they left the page and presses the browser's back). The room
   stops short of the screen's sides, the yard shows past it, and each side has the cut end of a wall with its shadow falling into the room.
   A way back sits in the top corner as well as on the fence. */
:root { --sidewall: clamp(22px, 3.4vw, 60px); --wallend: clamp(10px, 1.3vw, 20px); }
.house, .house.pos-l, .house.pos-r { left: var(--sidewall); right: var(--sidewall); }
.house::before, .house::after { content: ""; position: absolute; top: 0; bottom: var(--wallfoot, 0px); width: var(--wallend); z-index: 3; pointer-events: none; background: linear-gradient(90deg, #4b3626, #8a6a4a 38%, #a98562 55%, #6b4f38); }
.house::before { left: calc(-1 * var(--wallend)); box-shadow: -3px 0 0 #3f2d20, 14px 0 16px -6px #2c123066; }
.house::after { right: calc(-1 * var(--wallend)); box-shadow: 3px 0 0 #3f2d20, -14px 0 16px -6px #2c123066; }
/* her words, 16 November: "we don't need to have it say back to the garden. It can just be a cutie little arrow ... a cutie little arrow sticker" */
.roomback { position: absolute; left: 12px; top: 6px; z-index: 4; width: 40px; height: 31px; padding: 0; background: none; border: 0; cursor: pointer; pointer-events: auto; filter: drop-shadow(0 0 .9px #9c8a68) drop-shadow(-2px 2px 1px #2c12304d); transition: transform .2s ease; }
.roomback svg { width: 100%; height: 100%; display: block; overflow: visible; }
.roomback .edge { fill: #fbf5e9; stroke: #fbf5e9; stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.roomback .arrow { fill: var(--halo, #c9bad6); stroke: var(--halo, #c9bad6); stroke-width: 1.5; stroke-linejoin: round; }   /* the wall's own colour, and smaller (her words, 16 November) */
.roomback:hover, .roomback:focus-visible { transform: translateX(-4px) rotate(-6deg); outline: none; }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) { :root { --sidewall: 12px; --wallend: 7px; } .roomback { left: 4px; top: 3px; width: 34px; height: 26px; } }
/* THE LINKS ARE SEED PACKETS (her words: "shuffling through things"): standing in a row on a shelf, each tipped a little, lifting when you reach for one */
.doors { gap: 16px 12px; margin: 12px 0 20px; padding: 8px 4px 12px; border-bottom: 6px solid var(--wood2); box-shadow: 0 5px 0 -2px #5f463055; }
.door { position: relative; width: 9.6em; max-width: none; min-height: 6.8em; box-sizing: border-box; padding: 27px 11px 11px; background: #fbf3e3; border: 1.5px solid #8a6a4a; border-left-width: 1.5px; border-radius: 3px; box-shadow: 2px 3px 0 #2c123026; font: italic 14.5px/1.22 Lora, Georgia, serif; text-shadow: none; rotate: -1.6deg; transition: transform .25s ease, rotate .25s ease, box-shadow .25s ease; }
.door:nth-child(3n+2) { rotate: 1.3deg; }
.door:nth-child(3n) { rotate: -.5deg; }
.door::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 17px; background: #b63f7a; border-bottom: 2px dashed #fbf3e3; border-radius: 2px 2px 0 0; }
.door:nth-child(4n+2)::before { background: #b8923f; }
.door:nth-child(4n+3)::before { background: #6f8f5f; }
.door:nth-child(4n)::before { background: #6b4f7a; }
.door b { margin-bottom: 4px; font-size: 17px; font-style: normal; }
.door:hover, .door:focus-visible { background: #fffaf0; transform: translateY(-10px); rotate: 0deg; box-shadow: 3px 9px 0 #2c12301f; outline: 2px solid var(--fox); }
@media (prefers-reduced-motion: reduce) { .door { transition: none; } }
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) {
  .house .pane, .house .pane.hi, .house .pane.mid, .house .pane.lo { top: 46px; bottom: auto; transform: none; gap: 10px; }
  .house.pos-r .pane { right: 12px; }
  .house.pos-l .pane { left: 12px; }
  .house .words, .house.pos-r .words, .house.pos-l .words { top: 38px; left: 0; right: 0; width: auto; padding: 8px 14px 14px 12px; font-size: 18.5px; }
  .house.pos-r .pane { right: 18px; }
  .door { width: calc(50% - 8px); min-height: 7.4em; }
  .house .words .door { width: auto; flex: 1 1 140px; max-width: 230px; }   /* her words, 6 November: the packets at the top pushed the words down past the window; now they sit beside it, one a row, then two a row below */
}

/* the fence's arrows, and the sizes from her walk (5 November): bigger words on a phone, smaller packets on a computer */
.fencego { position: absolute; bottom: 40px; z-index: 3; width: 34px; height: 44px; padding: 0; background: var(--paper); border: 2px solid var(--wood2); border-radius: 4px; box-shadow: 2px 3px 0 #2c123026; font: 700 30px/1 'Crimson Pro', Georgia, serif; color: var(--plum); cursor: pointer; pointer-events: auto; }
.fencego.l { left: 4px; } .fencego.r { right: 4px; }
.fencego:hover, .fencego:focus-visible { background: var(--fox); color: #fffdf4; outline: none; }
@media (min-width: 760px), (min-width: 560px) and (hover: hover) and (pointer: fine) {
  .door { width: 8.4em; min-height: 6em; padding: 23px 10px 9px; font-size: 13.5px; }
  .door b { font-size: 15.5px; }
  .door::before { height: 15px; }
}
@media (max-width: 759px) and (pointer: coarse), (max-width: 759px) and (hover: none), (max-width: 559px) {
  body { font-size: 18.5px; }
  .house .words, .house.pos-r .words, .house.pos-l .words { font-size: 20px; }
  .words h3 { font-size: 23px; }
  .door { font-size: 15.5px; }
  .door b { font-size: 18px; }
  .flown p { font-size: 18.5px; }
  .picket .tag { font-size: 13px; }
  .jumps button { font-size: 17px; }
}
/* A PHONE TURNED SIDEWAYS (30 November, for the testers): the room had about 200 pixels between the ceiling and the fence, so the words started under the fence.
   The fence is drawn smaller, the cards are smaller, and the window is sized for the short screen in buildWall. */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse), (orientation: landscape) and (max-height: 500px) and (hover: none) {
  :root { --fence: 86px; }
  #fence { --fz: .7; zoom: var(--fz); height: calc(var(--fence) / var(--fz)); }
  .house .words { top: 44px; }
  .door, .house .words .door { width: 8em; min-height: 0; padding: 18px 8px 6px; font-size: 12px; }
  .door b { font-size: 13.5px; margin-bottom: 2px; }
  .door::before { height: 11px; }
  .words.framed .frames { padding-top: 0; zoom: .62; }   /* What?'s frames sit up beside the window, not under the fence */
}
