.sill-head,.sill-pad{padding:22px clamp(16px,4vw,30px);background:#1c2a22}
.sill-head h2,.sill-pad h3{color:#fff0d5;margin:5px 0 8px}.sill-head p,.sill-pad small{color:#c3cbb9}
.sill-view{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:end;padding:clamp(45px,10vw,82px) 5% 14px;background:linear-gradient(0deg,#20190ecf,transparent 85%),var(--scene) center 58%/cover;border-bottom:9px solid #73513b}
.sill-slot{display:grid;justify-items:center;align-content:end;min-width:0;min-height:74px;background:#1c271f66;color:#f2e6c8;border:1px dashed #ebe0b775;border-radius:7px;padding:5px}
.sill-slot img{height:65px;width:75%;object-fit:cover;border:4px solid #efe4c2;box-shadow:0 3px 8px #121c13;transform:rotate(-3deg)}.sill-slot span{font-size:12px;line-height:1.4;background:#243023e3;padding:2px 5px}
.sill-slot[aria-pressed=true],.sill-options button[aria-pressed=true]{outline:2px solid #f1ce7c;outline-offset:1px}
.sill-options,.sill-list{display:flex;gap:8px;flex-wrap:wrap}.sill-options button{min-height:36px;font-size:12px}
.sill-pad h3{margin:19px 0 12px}.sill-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.keepsake{display:flex;align-items:center;gap:9px;padding:7px;border:1px solid #566248;border-radius:8px;background:#243126}.keepsake img{width:46px;height:48px;object-fit:cover;border-radius:4px}.keepsake:not(.owned) img{filter:grayscale(.85);opacity:.65}.keepsake div{flex:1}.keepsake small{display:block;font-size:11px}.keepsake button{color:#f7dda0;padding:8px;font-size:12px}.keepsake button:disabled{color:#adb6a3}.sill-pad>small{display:block;margin-top:16px}
#print-preview{width:100%;max-height:51svh;object-fit:contain;margin:10px auto;background:#122018}.result-print [hidden]{display:none}
#play .puzzle-card{background:linear-gradient(0deg,#14251af4,#132319d9 47%,#0c1b1396),var(--scene) center/cover}
#play .board-well{background:linear-gradient(#14201799,#152118ce),var(--scene) center 58%/cover}
.film-strip{position:relative;display:flex;align-items:flex-end;justify-content:center;isolation:isolate;overflow:hidden;gap:4px;height:clamp(100px,15svh,150px);margin:0 0 10px;border-radius:10px;background:linear-gradient(0deg,#142018ae,transparent 60%),var(--scene) center var(--crop,55%)/cover}
.film-strip::after{content:"";position:absolute;bottom:3px;width:42%;border-bottom:4px solid #9a795b}
.film-strip .sill-actor{display:block;height:85%;width:auto;aspect-ratio:0.65;transform-origin:50% 98%;z-index:1}
.film-strip .sill-actor:nth-child(2){transform:scaleX(-1)}
.film-strip.water .sill-actor:first-child{animation:lift-sprout .65s both}
.film-strip.sunny .sill-actor:nth-child(2){animation:happy-pot .65s both}
.film-strip.together .sill-actor:first-child{animation:meet-left 1.35s both}
.film-strip.together .sill-actor:nth-child(2){animation:meet-right 1.35s both}
@keyframes lift-sprout{50%{transform:translateY(-9px) rotate(-7deg)}100%{transform:rotate(-4deg)}}
@keyframes happy-pot{30%{transform:scaleX(-1) translateY(-12px) rotate(7deg)}60%{transform:scaleX(-1) rotate(-6deg)}100%{transform:scaleX(-1)}}
@keyframes meet-left{100%{transform:translateX(6px) rotate(10deg)}}@keyframes meet-right{100%{transform:translateX(-6px) scaleX(-1) rotate(10deg)}}
.tile.linked::after{content:'⇄';position:absolute;top:0;right:2%;color:#ffdb7f;font:bold clamp(12px,2vw,19px) sans-serif;text-shadow:0 1px 2px #181409}
.sluice{display:flex;gap:8px;justify-content:center;align-items:center;width:100%;border:1px solid #d2ac65;background:#423b28;color:#ffe1a0;padding:9px;border-radius:8px;margin:8px 0 0}.sluice:disabled{opacity:.66}.sluice[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.film-strip .sill-actor{animation-duration:.01ms!important}}
.chapter strong,.stage-title h1,.section-head h2,.dialog-pad h2,.sill-head h2,.result-heading h2,.finale-credits h2,.film-finale h2,.companion-card h2{font-family:FilmDisplay,var(--serif);font-weight:500;letter-spacing:.005em}
.credit-link{color:#eddbb1;text-decoration:underline;text-underline-offset:3px}
#play[data-chapter="1"] .tile:not(.moss){background:var(--grain),linear-gradient(138deg,#60593d,#40482e 78%)}
#play[data-chapter="2"] .tile:not(.moss){background:var(--grain),linear-gradient(140deg,#514451,#303940 84%)}
#play[data-chapter="2"] .board-well{border-color:#a78c7699}
.finale-credits p{line-height:1.7;word-break:keep-all}

.tile[data-bloom]::after{content:attr(data-bloom);position:absolute;top:2px;right:2px;padding:.05em .28em;color:#fff1b5;background:#426846;border-radius:50%;font:bold clamp(12px,2vw,20px) Georgia;pointer-events:none}
.tile.asleep::after{background:#503d4a;color:#edbddb}.tile.asleep .track-art{opacity:.65}
.garden-studio{margin:1.4rem 0;padding:1rem;background:#17281e;border:1px solid #65745a;border-radius:1rem}.garden-studio canvas{width:100%;height:auto;border-radius:.5rem;cursor:crosshair}.garden-studio h3{margin:.8em 0}.garden-studio p,.garden-studio li{line-height:1.6}.garden-studio label{display:grid;gap:.3rem;font-size:.9rem}.garden-studio select{min-height:2.6rem;background:#293c30;color:#ffebc2;border:1px solid #70816d;border-radius:.4rem;padding:0 .4rem}.garden-studio #garden-tools,.garden-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:.8rem}.garden-sliders input{width:100%}
