/* Small-window policy: preserve the full desktop canvas and allow horizontal
   scrolling instead of rearranging or compressing the original blog art.
   Historical narrow-screen rules below remain inactive on purpose. */
/* Painted chatroom shares the original blog sidebar and lace. */
.painted-room-nav{display:flex;flex-direction:column;gap:10px;margin:38px auto 0;width:190px}
.painted-room-nav a{font:18px/1.4 inherit;text-decoration:none;color:#8a583b;background:#fff1d6d9;border:2px solid #d9ac7d;border-radius:15px 12px 17px 11px;padding:10px 14px;box-shadow:0 3px 0 #ba805b38;transition:filter .2s,transform .2s}
.painted-room-nav a:hover,.painted-room-nav a[aria-current]{background:#ffe4bd;transform:translateY(-1px)}
.music-room[hidden],.painted-chat-scene[hidden]{display:none!important}
.painted-chat-scene{position:absolute;inset:0;background:#fffaf6;overflow:hidden}
.painted-chat-panel{position:absolute;left:62%;top:10.5%;width:29.5%;height:77%;display:flex;flex-direction:column;gap:6px;color:#855c3c;font-size:14px;line-height:1.3;min-height:0}
.painted-chat-panel h1{font:inherit;font-size:22px;margin:0;text-align:center;color:#93603d}
#angelStatus{margin:0;text-align:center;font-size:12px;min-height:16px}
.painted-chat-sender{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.painted-chat-panel input,.painted-chat-panel textarea{box-sizing:border-box;min-width:0;font:inherit;color:inherit;background:#fff9eab3;border:1px solid #d7b487;border-radius:7px;padding:7px;width:100%}
.painted-chat-private{font-size:12px;display:flex;align-items:center;gap:5px}.painted-chat-private input{width:auto;margin:0}
.chatmessages{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7a071 transparent;padding:4px 5px;background:#fffaf02b}
.chatbubble{margin:0 0 9px;padding:6px 2px;border-bottom:1px dashed #d9bb955e;white-space:normal;overflow-wrap:anywhere}.chatbubble b{color:#9a663e;font-weight:normal}.chattime{font-size:10px;opacity:.65;float:right}.chatsticker{max-width:42px;max-height:42px;vertical-align:middle;margin:3px}
.stickertray{display:flex;flex-wrap:wrap;gap:3px;flex:none}.stickertray button{border:0;background:transparent;padding:1px;width:27px;height:27px;cursor:pointer}.stickertray img{width:25px;height:25px;object-fit:contain}.stickertray button:hover{transform:translateY(-2px)}
.selectedstickers{display:flex;gap:3px;flex-wrap:wrap;max-height:38px;overflow:auto}.selectedstickers:empty{display:none}.stickerpick{position:relative;cursor:pointer}.selectedsticker{width:28px;height:28px;object-fit:contain}.stickerx{font-size:11px;vertical-align:top}
.painted-chat-compose{display:flex;gap:5px;align-items:center;flex:none}.painted-chat-compose textarea{height:55px;resize:none}.painted-chat-compose button{border:0;background:transparent;padding:0;cursor:pointer;width:44px;flex:none}.painted-chat-compose img{width:44px;height:44px;object-fit:contain}.painted-chat-notice{min-height:14px;margin:0;font-size:11px;text-align:center}
.painted-chat-panel button:focus-visible,.painted-room-nav a:focus-visible{outline:2px solid #a97740;outline-offset:3px}

.chat-message-text{white-space:pre-wrap}

.painted-inline-editor{box-sizing:border-box;flex:1;min-width:0;height:65px;overflow:auto;padding:7px;border:1px solid #d7b487;border-radius:7px;background:#fff9eab3;white-space:pre-wrap;overflow-wrap:anywhere;text-transform:lowercase;outline-color:#ba8a57}
.painted-inline-editor:empty:before{content:attr(data-placeholder);opacity:.7;pointer-events:none}.inline-sticker{display:inline-block;vertical-align:middle;width:30px;height:30px;margin:0 2px;cursor:pointer}.inline-sticker img{width:30px;height:30px;object-fit:contain;pointer-events:none}.chatsticker{vertical-align:middle}

/* Soft painted-paper speech bubbles, without a second frame around the board. */
.painted-chat-panel .chatmessages{padding:6px 8px 10px;background:transparent}
.painted-chat-panel .chatbubble{margin:0 0 13px;padding:0;border:0;white-space:normal}
.chat-bubble-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:0 5px 4px;font-size:12px}
.chat-bubble-heading .chattime{float:none;flex:none;font-size:10px;opacity:.75}
.painted-chat-panel .chat-message-text{position:relative;display:block;box-sizing:border-box;max-width:100%;padding:8px 11px;background:#fff9e9;border:2px solid #d9b88c;border-radius:15px 13px 17px 7px;box-shadow:inset 0 2px 0 #fffdf6,0 2px 0 #b98b5a20;color:#795a3d;line-height:1.5;min-height:34px}
.painted-chat-panel .chat-message-text:before{content:'';position:absolute;left:-5px;bottom:6px;width:8px;height:9px;background:#fff9e9;border-left:2px solid #d9b88c;border-bottom:2px solid #d9b88c;transform:skewY(-32deg);border-radius:0 0 0 4px}
.painted-chat-panel .chatsticker{max-width:35px;max-height:35px;vertical-align:middle;margin:0 2px}

/* Each letter is one content-sized bubble; sender stays inside it. */
.painted-chat-panel .chatmessages{display:flex;flex-direction:column;align-items:flex-start;padding:8px 10px 12px;gap:14px}
.painted-chat-panel .chatbubble{position:relative;flex:none;width:fit-content;min-width:118px;max-width:91%;box-sizing:border-box;margin:0;padding:9px 12px 10px;border:1.5px solid #cba776;border-radius:18px 19px 17px 5px;background:var(--sender-paper,#fff4df);box-shadow:0 2px 0 #a77b4a22;overflow:visible}
.painted-chat-panel .chatbubble:before{content:'';position:absolute;left:-6px;bottom:0;width:11px;height:12px;background:var(--sender-paper,#fff4df);border-left:1.5px solid #cba776;border-bottom:1.5px solid #cba776;border-radius:0 0 0 9px;transform:skewX(-18deg)}
.painted-chat-panel .chat-bubble-heading{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:0 0 5px;position:relative;z-index:1}
.painted-chat-panel .chat-bubble-heading b{font-size:15px;line-height:1.2;font-weight:700;color:var(--sender-ink,#795239)}
.painted-chat-panel .chat-bubble-heading .chattime{font-size:10px;color:#826c54;opacity:.8;line-height:1.2;white-space:nowrap}
.painted-chat-panel .chat-message-text{display:block;position:relative;z-index:1;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1.45;font-size:15px}
.painted-chat-panel .chat-message-text:before{display:none}
.painted-chat-panel .chatsticker{max-width:38px;max-height:38px}

/* Overlap the tail with the bubble fill so its seam stays closed. */
.painted-chat-panel .chatbubble:before{left:-5px;bottom:12px;width:9px;height:9px;transform:rotate(45deg);border-radius:0 0 0 3px;background:var(--sender-paper,#fff4df);border-left:1.5px solid #cba776;border-bottom:1.5px solid #cba776}
.painted-chat-panel .chatbubble:after{content:'';position:absolute;left:-1px;bottom:10px;width:4px;height:15px;background:var(--sender-paper,#fff4df);pointer-events:none}

/* Light acts on the existing paint, without duplicating a brighter image. */
.chat-scene-effects{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.chat-painted-object{position:absolute;border:0;padding:0;background:transparent;pointer-events:auto;cursor:pointer;overflow:hidden;outline:0;transform-origin:50% 90%}
.chat-object-ink{position:absolute;display:block;pointer-events:none}
/* The lamp stays stationary, but its painted ink copy is now used for
   the same silhouette-only hover brightness as the duck and wall picture. */
.chat-lamp,.chat-desk-duck,.chat-duck-picture{filter:none;backdrop-filter:brightness(1);-webkit-backdrop-filter:brightness(1);transition:backdrop-filter .32s,background-color .32s}
.chat-lamp{clip-path:polygon(2% 71%,3% 54%,8% 38%,17% 23%,29% 11%,41% 5%,54% 4%,67% 9%,79% 20%,88% 34%,94% 50%,98% 68%,97% 77%,91% 84%,80% 86%,69% 93%,57% 93%,46% 98%,34% 96%,24% 99%,16% 94%,8% 93%,3% 85%)}
/* Hovering a switched-off lamp does not turn it on. */
.lamp-is-on .chat-lamp{backdrop-filter:brightness(1.10);-webkit-backdrop-filter:brightness(1.10);background-color:#fff3b310}
.chat-lamp-light{position:absolute;left:13%;top:52%;width:25%;height:29%;pointer-events:none;opacity:0;transition:opacity .5s;background:radial-gradient(ellipse 46% 59% at 47% 28%,#ffe6a52b 0%,#ffe4a51c 28%,#ffe5a40c 52%,transparent 78%);mix-blend-mode:screen}
.lamp-is-on .chat-lamp-light{opacity:1}
/* Only the stuffed puppy uses a moving painted layer. */
.chat-puppy{pointer-events:none;cursor:default;filter:none;clip-path:polygon(9% 28%,24% 20%,30% 12%,44% 2%,59% 1%,73% 7%,83% 18%,83% 31%,94% 38%,99% 53%,94% 64%,86% 66%,86% 83%,78% 95%,62% 97%,51% 94%,33% 98%,12% 95%,6% 87%,6% 73%,1% 61%,0 49%,3% 36%);animation:chat-puppy-breathe 4s ease-in-out infinite;transform-origin:50% 95%}
@keyframes chat-puppy-breathe{0%,100%{transform:scale(1.018)}50%{transform:scale(1.035,1.045) rotate(.35deg)}}
/* Follow the scalloped stamp, including its cream border. */
.chat-duck-picture{clip-path:polygon(6% 4%,11% 2%,16% 6%,20% 2%,24% 2%,29% 6%,33% 2%,38% 2%,43% 5%,47% 2%,52% 2%,57% 6%,61% 2%,66% 2%,71% 6%,75% 2%,80% 2%,85% 6%,90% 3%,94% 4%,97% 8%,96% 15%,94% 20%,98% 26%,98% 32%,95% 36%,98% 42%,98% 48%,95% 53%,98% 60%,98% 65%,95% 70%,98% 76%,97% 81%,95% 86%,98% 91%,96% 96%,90% 97%,85% 94%,80% 98%,75% 98%,70% 94%,65% 98%,60% 98%,55% 94%,50% 98%,45% 98%,40% 94%,35% 98%,30% 98%,25% 94%,20% 98%,15% 98%,10% 94%,5% 96%,2% 92%,4% 85%,2% 79%,2% 73%,5% 69%,2% 63%,2% 57%,5% 52%,2% 46%,2% 40%,5% 35%,2% 29%,2% 23%,5% 18%,2% 12%,3% 7%)}
.chat-duck-picture:hover,.chat-duck-picture:focus-visible{backdrop-filter:brightness(1.085);-webkit-backdrop-filter:brightness(1.085);background-color:#fff7ce08}
.chat-desk-duck{clip-path:polygon(24% 8%,34% 3%,47% 3%,58% 9%,65% 22%,64% 35%,77% 41%,87% 52%,95% 67%,95% 79%,87% 89%,72% 95%,49% 98%,27% 94%,15% 88%,10% 78%,11% 64%,17% 54%,8% 49%,3% 43%,4% 35%,18% 30%,19% 19%)}
.chat-desk-duck:hover,.chat-desk-duck:focus-visible{backdrop-filter:brightness(1.10);-webkit-backdrop-filter:brightness(1.10);background-color:#fff5b508}
@media(prefers-reduced-motion:reduce){.chat-puppy{animation:none;transform:scale(1.02)}}

body,body input,body textarea,body button,body select,body [contenteditable],body input::placeholder,body textarea::placeholder{text-transform:lowercase!important}
.painted-chat-panel .chat-message-text{color:var(--sender-ink,#557b98)}

/* Source-traced silhouettes with a feathered inner edge. */
.chat-lamp{clip-path:none;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22186%22%20height%3D%22140%22%20viewBox%3D%220%200%20186%20140%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeMorphology%20in%3D%22SourceGraphic%22%20operator%3D%22erode%22%20radius%3D%221.2%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221.0%22%2F%3E%3CfeComposite%20in2%3D%22SourceGraphic%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22white%22%20filter%3D%22url%28%23soft%29%22%20d%3D%22M98%208h4v1H98zM103%208h9v1H103zM88%209h32v1H88zM83%2010h43v1H83zM80%2011h49v1H80zM77%2012h55v1H77zM72%2013h1v1H72zM74%2013h61v1H74zM70%2014h68v1H70zM68%2015h71v1H68zM64%2016h77v1H64zM63%2017h79v1H63zM61%2018h83v1H61zM59%2019h86v1H59zM57%2020h90v1H57zM56%2021h92v1H56zM54%2022h95v1H54zM53%2023h97v1H53zM51%2024h101v1H51zM50%2025h103v1H50zM48%2026h106v1H48zM47%2027h108v1H47zM46%2028h110v1H46zM44%2029h113v1H44zM43%2030h116v1H43zM42%2031h118v1H42zM40%2032h121v1H40zM40%2033h121v1H40zM39%2034h123v1H39zM38%2035h125v1H38zM37%2036h126v1H37zM36%2037h127v1H36zM35%2038h129v1H35zM34%2039h131v1H34zM33%2040h133v1H33zM32%2041h135v1H32zM31%2042h137v1H31zM30%2043h138v1H30zM30%2044h139v1H30zM29%2045h140v1H29zM28%2046h141v1H28zM27%2047h143v1H27zM26%2048h144v1H26zM26%2049h145v1H26zM25%2050h146v1H25zM24%2051h148v1H24zM24%2052h149v1H24zM23%2053h150v1H23zM22%2054h151v1H22zM21%2055h153v1H21zM21%2056h153v1H21zM20%2057h154v1H20zM20%2058h154v1H20zM19%2059h155v1H19zM18%2060h156v1H18zM18%2061h156v1H18zM18%2062h156v1H18zM18%2063h156v1H18zM17%2064h158v1H17zM16%2065h159v1H16zM16%2066h159v1H16zM16%2067h159v1H16zM15%2068h160v1H15zM15%2069h160v1H15zM15%2070h160v1H15zM14%2071h161v1H14zM14%2072h161v1H14zM13%2073h161v1H13zM13%2074h161v1H13zM13%2075h161v1H13zM12%2076h161v1H12zM12%2077h161v1H12zM12%2078h161v1H12zM12%2079h161v1H12zM12%2080h161v1H12zM12%2081h160v1H12zM12%2082h160v1H12zM11%2083h161v1H11zM11%2084h160v1H11zM11%2085h159v1H11zM11%2086h159v1H11zM11%2087h158v1H11zM11%2088h158v1H11zM11%2089h157v1H11zM11%2090h157v1H11zM11%2091h156v1H11zM11%2092h155v1H11zM11%2093h154v1H11zM11%2094h153v1H11zM12%2095h150v1H12zM12%2096h149v1H12zM12%2097h147v1H12zM12%2098h146v1H12zM12%2099h145v1H12zM12%20100h145v1H12zM13%20101h142v1H13zM13%20102h140v1H13zM13%20103h139v1H13zM13%20104h137v1H13zM13%20105h135v1H13zM13%20106h133v1H13zM14%20107h128v1H14zM15%20108h123v1H15zM15%20109h118v1H15zM16%20110h116v1H16zM16%20111h115v1H16zM17%20112h113v1H17zM17%20113h112v1H17zM17%20114h111v1H17zM17%20115h110v1H17zM19%20116h107v1H19zM19%20117h106v1H19zM20%20118h104v1H20zM21%20119h100v1H21zM23%20120h96v1H23zM24%20121h93v1H24zM25%20122h89v1H25zM27%20123h44v1H27zM74%20123h38v1H74zM29%20124h40v1H29zM76%20124h32v1H76zM34%20125h34v1H34zM78%20125h28v1H78zM36%20126h31v1H36zM82%20126h16v1H82zM101%20126h1v1H101zM37%20127h27v1H37zM85%20127h10v1H85zM40%20128h20v1H40z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22186%22%20height%3D%22140%22%20viewBox%3D%220%200%20186%20140%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeMorphology%20in%3D%22SourceGraphic%22%20operator%3D%22erode%22%20radius%3D%221.2%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221.0%22%2F%3E%3CfeComposite%20in2%3D%22SourceGraphic%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22white%22%20filter%3D%22url%28%23soft%29%22%20d%3D%22M98%208h4v1H98zM103%208h9v1H103zM88%209h32v1H88zM83%2010h43v1H83zM80%2011h49v1H80zM77%2012h55v1H77zM72%2013h1v1H72zM74%2013h61v1H74zM70%2014h68v1H70zM68%2015h71v1H68zM64%2016h77v1H64zM63%2017h79v1H63zM61%2018h83v1H61zM59%2019h86v1H59zM57%2020h90v1H57zM56%2021h92v1H56zM54%2022h95v1H54zM53%2023h97v1H53zM51%2024h101v1H51zM50%2025h103v1H50zM48%2026h106v1H48zM47%2027h108v1H47zM46%2028h110v1H46zM44%2029h113v1H44zM43%2030h116v1H43zM42%2031h118v1H42zM40%2032h121v1H40zM40%2033h121v1H40zM39%2034h123v1H39zM38%2035h125v1H38zM37%2036h126v1H37zM36%2037h127v1H36zM35%2038h129v1H35zM34%2039h131v1H34zM33%2040h133v1H33zM32%2041h135v1H32zM31%2042h137v1H31zM30%2043h138v1H30zM30%2044h139v1H30zM29%2045h140v1H29zM28%2046h141v1H28zM27%2047h143v1H27zM26%2048h144v1H26zM26%2049h145v1H26zM25%2050h146v1H25zM24%2051h148v1H24zM24%2052h149v1H24zM23%2053h150v1H23zM22%2054h151v1H22zM21%2055h153v1H21zM21%2056h153v1H21zM20%2057h154v1H20zM20%2058h154v1H20zM19%2059h155v1H19zM18%2060h156v1H18zM18%2061h156v1H18zM18%2062h156v1H18zM18%2063h156v1H18zM17%2064h158v1H17zM16%2065h159v1H16zM16%2066h159v1H16zM16%2067h159v1H16zM15%2068h160v1H15zM15%2069h160v1H15zM15%2070h160v1H15zM14%2071h161v1H14zM14%2072h161v1H14zM13%2073h161v1H13zM13%2074h161v1H13zM13%2075h161v1H13zM12%2076h161v1H12zM12%2077h161v1H12zM12%2078h161v1H12zM12%2079h161v1H12zM12%2080h161v1H12zM12%2081h160v1H12zM12%2082h160v1H12zM11%2083h161v1H11zM11%2084h160v1H11zM11%2085h159v1H11zM11%2086h159v1H11zM11%2087h158v1H11zM11%2088h158v1H11zM11%2089h157v1H11zM11%2090h157v1H11zM11%2091h156v1H11zM11%2092h155v1H11zM11%2093h154v1H11zM11%2094h153v1H11zM12%2095h150v1H12zM12%2096h149v1H12zM12%2097h147v1H12zM12%2098h146v1H12zM12%2099h145v1H12zM12%20100h145v1H12zM13%20101h142v1H13zM13%20102h140v1H13zM13%20103h139v1H13zM13%20104h137v1H13zM13%20105h135v1H13zM13%20106h133v1H13zM14%20107h128v1H14zM15%20108h123v1H15zM15%20109h118v1H15zM16%20110h116v1H16zM16%20111h115v1H16zM17%20112h113v1H17zM17%20113h112v1H17zM17%20114h111v1H17zM17%20115h110v1H17zM19%20116h107v1H19zM19%20117h106v1H19zM20%20118h104v1H20zM21%20119h100v1H21zM23%20120h96v1H23zM24%20121h93v1H24zM25%20122h89v1H25zM27%20123h44v1H27zM74%20123h38v1H74zM29%20124h40v1H29zM76%20124h32v1H76zM34%20125h34v1H34zM78%20125h28v1H78zM36%20126h31v1H36zM82%20126h16v1H82zM101%20126h1v1H101zM37%20127h27v1H37zM85%20127h10v1H85zM40%20128h20v1H40z%22%2F%3E%3C%2Fsvg%3E");mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.chat-desk-duck{clip-path:none;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22115%22%20height%3D%22112%22%20viewBox%3D%220%200%20115%20112%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeMorphology%20in%3D%22SourceGraphic%22%20operator%3D%22erode%22%20radius%3D%221.2%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221.0%22%2F%3E%3CfeComposite%20in2%3D%22SourceGraphic%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22white%22%20filter%3D%22url%28%23soft%29%22%20d%3D%22M42%2010h2v1H42zM47%2010h1v1H47zM33%2011h18v1H33zM31%2012h22v1H31zM28%2013h28v1H28zM27%2014h31v1H27zM25%2015h34v1H25zM23%2016h37v1H23zM21%2017h41v1H21zM20%2018h43v1H20zM20%2019h44v1H20zM20%2020h45v1H20zM19%2021h47v1H19zM18%2022h48v1H18zM17%2023h50v1H17zM17%2024h50v1H17zM17%2025h51v1H17zM16%2026h53v1H16zM16%2027h54v1H16zM15%2028h55v1H15zM14%2029h56v1H14zM15%2030h56v1H15zM15%2031h56v1H15zM13%2032h58v1H13zM13%2033h58v1H13zM14%2034h57v1H14zM14%2035h58v1H14zM14%2036h58v1H14zM14%2037h58v1H14zM12%2038h60v1H12zM9%2039h63v1H9zM8%2040h64v1H8zM7%2041h65v1H7zM7%2042h65v1H7zM6%2043h66v1H6zM6%2044h66v1H6zM6%2045h66v1H6zM6%2046h65v1H6zM6%2047h65v1H6zM7%2048h64v1H7zM7%2049h64v1H7zM78%2049h5v1H78zM8%2050h78v1H8zM9%2051h79v1H9zM11%2052h79v1H11zM15%2053h78v1H15zM16%2054h78v1H16zM15%2055h80v1H15zM16%2056h80v1H16zM16%2057h80v1H16zM15%2058h82v1H15zM13%2059h85v1H13zM12%2060h87v1H12zM12%2061h89v1H12zM11%2062h91v1H11zM10%2063h92v1H10zM10%2064h92v1H10zM9%2065h94v1H9zM9%2066h94v1H9zM9%2067h94v1H9zM8%2068h96v1H8zM8%2069h96v1H8zM8%2070h96v1H8zM8%2071h96v1H8zM8%2072h96v1H8zM7%2073h97v1H7zM7%2074h97v1H7zM7%2075h96v1H7zM8%2076h95v1H8zM8%2077h95v1H8zM8%2078h94v1H8zM9%2079h93v1H9zM9%2080h93v1H9zM9%2081h93v1H9zM10%2082h92v1H10zM10%2083h91v1H10zM10%2084h91v1H10zM11%2085h89v1H11zM11%2086h88v1H11zM12%2087h86v1H12zM13%2088h84v1H13zM13%2089h83v1H13zM14%2090h80v1H14zM15%2091h79v1H15zM15%2092h78v1H15zM16%2093h76v1H16zM18%2094h72v1H18zM20%2095h68v1H20zM22%2096h63v1H22zM24%2097h60v1H24zM26%2098h56v1H26zM34%2099h42v1H34zM37%20100h38v1H37zM46%20101h11v1H46zM59%20101h1v1H59z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22115%22%20height%3D%22112%22%20viewBox%3D%220%200%20115%20112%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeMorphology%20in%3D%22SourceGraphic%22%20operator%3D%22erode%22%20radius%3D%221.2%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221.0%22%2F%3E%3CfeComposite%20in2%3D%22SourceGraphic%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22white%22%20filter%3D%22url%28%23soft%29%22%20d%3D%22M42%2010h2v1H42zM47%2010h1v1H47zM33%2011h18v1H33zM31%2012h22v1H31zM28%2013h28v1H28zM27%2014h31v1H27zM25%2015h34v1H25zM23%2016h37v1H23zM21%2017h41v1H21zM20%2018h43v1H20zM20%2019h44v1H20zM20%2020h45v1H20zM19%2021h47v1H19zM18%2022h48v1H18zM17%2023h50v1H17zM17%2024h50v1H17zM17%2025h51v1H17zM16%2026h53v1H16zM16%2027h54v1H16zM15%2028h55v1H15zM14%2029h56v1H14zM15%2030h56v1H15zM15%2031h56v1H15zM13%2032h58v1H13zM13%2033h58v1H13zM14%2034h57v1H14zM14%2035h58v1H14zM14%2036h58v1H14zM14%2037h58v1H14zM12%2038h60v1H12zM9%2039h63v1H9zM8%2040h64v1H8zM7%2041h65v1H7zM7%2042h65v1H7zM6%2043h66v1H6zM6%2044h66v1H6zM6%2045h66v1H6zM6%2046h65v1H6zM6%2047h65v1H6zM7%2048h64v1H7zM7%2049h64v1H7zM78%2049h5v1H78zM8%2050h78v1H8zM9%2051h79v1H9zM11%2052h79v1H11zM15%2053h78v1H15zM16%2054h78v1H16zM15%2055h80v1H15zM16%2056h80v1H16zM16%2057h80v1H16zM15%2058h82v1H15zM13%2059h85v1H13zM12%2060h87v1H12zM12%2061h89v1H12zM11%2062h91v1H11zM10%2063h92v1H10zM10%2064h92v1H10zM9%2065h94v1H9zM9%2066h94v1H9zM9%2067h94v1H9zM8%2068h96v1H8zM8%2069h96v1H8zM8%2070h96v1H8zM8%2071h96v1H8zM8%2072h96v1H8zM7%2073h97v1H7zM7%2074h97v1H7zM7%2075h96v1H7zM8%2076h95v1H8zM8%2077h95v1H8zM8%2078h94v1H8zM9%2079h93v1H9zM9%2080h93v1H9zM9%2081h93v1H9zM10%2082h92v1H10zM10%2083h91v1H10zM10%2084h91v1H10zM11%2085h89v1H11zM11%2086h88v1H11zM12%2087h86v1H12zM13%2088h84v1H13zM13%2089h83v1H13zM14%2090h80v1H14zM15%2091h79v1H15zM15%2092h78v1H15zM16%2093h76v1H16zM18%2094h72v1H18zM20%2095h68v1H20zM22%2096h63v1H22zM24%2097h60v1H24zM26%2098h56v1H26zM34%2099h42v1H34zM37%20100h38v1H37zM46%20101h11v1H46zM59%20101h1v1H59z%22%2F%3E%3C%2Fsvg%3E");mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}


/* Tone the painted room only; chat paper, stickers and sender inks keep their colors. */
.painted-chat-scene{
  --chat-paint-tone: saturate(.97) contrast(1.045) brightness(1.005);
  background:none;
  isolation:isolate;
}
.painted-chat-scene::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:#fff2e7 url('/assets/blog/patterns/home-brush-daisies.jpg') center top / 480px auto repeat;
  filter:none;
}
.painted-chat-scene .chat-scene-effects{z-index:1}
.painted-chat-scene .painted-chat-panel{z-index:2}
.painted-chat-scene .chat-puppy .chat-object-ink{filter:var(--chat-paint-tone)}


/* Discoverable, but not pre-lit: hovering the painted lamp only brightens
   its masked shade very slightly and shows a tiny click instruction.
   The warm light cone still requires a real click. */
.chat-lamp:hover,
.chat-lamp:focus-visible {
  backdrop-filter: brightness(1.035) saturate(1.025);
  -webkit-backdrop-filter: brightness(1.035) saturate(1.025);
  background-color: #fff5ce12;
}
.lamp-is-on .chat-lamp:hover,
.lamp-is-on .chat-lamp:focus-visible {
  backdrop-filter: brightness(1.12) saturate(1.035);
  -webkit-backdrop-filter: brightness(1.12) saturate(1.035);
}
.chat-lamp-hint {
  position: absolute;
  z-index: 5;
  left: 23.5%;
  top: 39%;
  transform: translate(-50%,5px);
  max-width: 23%;
  padding: 5px 8px;
  border: 1px solid #e7d6ad;
  border-radius: 10px;
  background: #fffae9f0;
  box-shadow: 0 2px 6px #6f5d4230;
  color: #946e49;
  font: 12px/1.25 Basiic,RainyHearts,"Courier New",sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease,transform .18s ease,visibility .18s;
  pointer-events: none;
  text-align: center;
}
.chat-lamp-hint.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}
@media (prefers-reduced-motion: reduce) {
  .chat-lamp-hint { transition: none; }
}


/* Restore source-traced image glow for the desk duck and framed picture.
   Earlier CSS hid these painted copies, so hover only played the chime.
   CSS positions the copied full scene behind the existing masks; opacity 0
   makes them entirely invisible until the visitor points at either object. */
.chat-desk-duck .chat-object-ink,
.chat-duck-picture .chat-object-ink {
  display: block;
  opacity: 0;
  filter: var(--chat-paint-tone) brightness(1.19) saturate(1.07);
  transition: opacity .2s ease;
}
.chat-desk-duck:hover .chat-object-ink,
.chat-desk-duck:focus-visible .chat-object-ink,
.chat-duck-picture:hover .chat-object-ink,
.chat-duck-picture:focus-visible .chat-object-ink {
  opacity: 1;
}
/* Existing duck mask and framed-picture polygon confine the tinted ink. */
.chat-desk-duck:hover,
.chat-desk-duck:focus-visible,
.chat-duck-picture:hover,
.chat-duck-picture:focus-visible {
  background-color: #fff3bc12;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .chat-desk-duck .chat-object-ink,
  .chat-duck-picture .chat-object-ink { transition: none; }
}


/* Match the restored duck + framed-picture hover glow on the lamp.
   Full painted-scene ink aligns to the background via paintedObject(), while
   the lamp's source-traced SVG mask prevents brightening the surrounding wall.
   Hover brightens only the lamp; clicking still controls the separate light cone. */
.chat-lamp .chat-object-ink {
  display: block;
  opacity: 0;
  filter: var(--chat-paint-tone) brightness(1.28) saturate(1.10);
  transition: opacity .2s ease;
}
.chat-lamp:hover .chat-object-ink,
.chat-lamp:focus-visible .chat-object-ink { opacity: 1; }
/* The clicked-on lamp has a soft, sustained painted glow; the pool of light
   remains controlled exclusively by .lamp-is-on .chat-lamp-light. */
.lamp-is-on .chat-lamp .chat-object-ink { opacity: .55; }
.lamp-is-on .chat-lamp:hover .chat-object-ink,
.lamp-is-on .chat-lamp:focus-visible .chat-object-ink { opacity: 1; }
.chat-lamp:hover,
.chat-lamp:focus-visible {
  background-color: #fff2bb13;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .chat-lamp .chat-object-ink { transition: none; }
}


/* An actual OFF click cancels the lamp's bright hover silhouette immediately,
   even while the pointer or keyboard focus is still resting on its hotspot.
   The usual discovery glow is available again after leaving and re-entering. */
.chat-lamp.lamp-just-switched-off .chat-object-ink {
  opacity: 0;
  transition: none;
}
.chat-lamp.lamp-just-switched-off {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* New striped-star Chatroom wallpaper: a readable little letter card.
   The previous picture's lamp / duck / stamp hitboxes were fixed to a desk
   illustration that is no longer present; they must not intercept clicks. */
.painted-chat-scene .chat-scene-effects { display: none; }
.painted-chat-scene .painted-chat-panel {
  box-sizing: border-box;
  /* Restore the original small, right-side chat board placement. */
  left: 62%;
  top: 10.5%;
  transform: none;
  width: 29.5%;
  height: 77%;
  padding: 9px 10px;
  border: 1px solid #e3bacd;
  border-radius: 15px;
  background: #fffaf6e8;
  box-shadow: 0 3px 12px #a7819730;
  backdrop-filter: blur(3px);
  color: #916782;
}
.painted-chat-scene .painted-chat-panel input,
.painted-chat-scene .painted-chat-panel textarea,
.painted-chat-scene .painted-inline-editor {
  border-color: #e3b9cb;
  background: #fffefaec;
}
.painted-chat-scene .chatmessages { scrollbar-color: #d8abbf transparent; }
@media (max-width: 0px) {
  .painted-chat-scene .painted-chat-panel {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: min(410px, calc(100% - 24px));
    height: min(690px, calc(100% - 30px));
    padding: 11px;
    border-radius: 16px;
  }
}

/* Keep all 36 sticker choices in three even rows. */
.painted-chat-panel .stickertray {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px 2px;
  width: 100%;
  min-width: 0;
}
.painted-chat-panel .stickertray button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 27px;
  padding: 1px;
}
.painted-chat-panel .stickertray img {
  display: block;
  width: min(25px, 100%);
  height: 25px;
  object-fit: contain;
}
/* The animated cutout sits directly on the striped wallpaper. */
.pompom-garden {
  position: absolute;
  z-index: 1;
  left: 10%;
  top: 38%;
  width: 41%;
  max-width: 496px;
  margin: 0;
  pointer-events: none;
}
.pompom-garden picture, .pompom-garden img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .painted-chat-scene .painted-chat-panel {left: 56%; width: 40%;}
  .pompom-garden {left: 7%; width: 41%; top: 42%;}
}
@media (max-width: 0px) {
  .painted-chat-scene {overflow-y: auto; overscroll-behavior: contain;}
  .pompom-garden {
    position: relative;
    left: auto;
    top: auto;
    width: min(440px, calc(100% - 24px));
    margin: 0 auto 8px;
  }
  .painted-chat-scene .painted-chat-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(410px, calc(100% - 24px));
    height: min(690px, 78dvh);
    min-height: 480px;
    margin: 0 auto 18px;
  }
}

/* Native high-resolution cutouts and SVG stay clear without GIF resampling. */
.pompom-garden {pointer-events:auto;top:30%;}
.pompom-garden-art {display:block;width:100%;height:auto;overflow:visible;pointer-events:none;}
.pompom-garden-art image {image-rendering:auto;}
.garden-controls {display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 8px;min-height:36px;flex-wrap:wrap;}
.garden-water-button {font:inherit;font-size:15px;line-height:1.25;color:#8c506d;background:#ffe9f1;border:1.5px solid #cc97af;border-radius:13px 11px 14px 10px;padding:8px 16px;box-shadow:0 3px 0 #bd87a03b;touch-action:manipulation;}
.garden-water-button:hover {background:#ffdeeb;}
.garden-water-button:active {transform:translateY(2px);box-shadow:0 1px 0 #bd87a03b;}
.garden-water-button:focus-visible {outline:2px solid #a76083;outline-offset:4px;}
.garden-water-button:disabled {opacity:.55;}
.garden-progress {font-size:13px;color:#946e6c;}
@media (min-width:761px) and (max-width:1100px) {.pompom-garden {top:32%;}}
@media (max-width: 0px) {.pompom-garden {top:auto;}.garden-controls {gap:7px;margin-bottom:12px;}}

.garden-again-button {background:#fff5e7;color:#956378;border-color:#d5b1bf;box-shadow:0 3px 0 #bd87a025;padding-inline:13px;}
.garden-again-button:hover {background:#ffeddb;}
.garden-water-button:disabled {transform:none;box-shadow:none;}

/* Keep the progress above the controls, and lift the whole garden slightly. */
.pompom-garden {transform:translateY(-32px);}
.garden-controls {display:grid;grid-template-columns:max-content max-content;gap:7px 12px;justify-content:center;align-items:center;}
.garden-progress {grid-column:1 / -1;grid-row:1;text-align:center;line-height:1.3;}
.garden-controls button {grid-row:2;}
@media (max-width: 0px) {.pompom-garden {transform:translateY(-12px);}}

/* The garden status sits at the top of the entire illustration. */
.pompom-garden > .garden-progress {position:absolute;top:0;left:0;right:0;display:block;margin:0;text-align:center;line-height:1.3;}
.garden-controls button {grid-row:auto;}
@media (max-width: 0px) {.pompom-garden > .garden-progress {top:16px;}}

/* A fresh green title for the completed little tree. */
.pompom-garden[data-complete="true"] > .garden-progress {font-size:22px;line-height:1.25;color:#4c853e;}

/* A smaller letter board and garden leave more of the watercolor paper open. */
.painted-chat-scene .painted-chat-panel{left:calc(62% - 30px);top:16%;width:26%;max-width:340px;height:64%;padding:8px 9px;gap:5px;border-radius:13px;font-size:12px}
.painted-chat-panel #angelStatus{font-size:10px;min-height:14px}
.painted-chat-sender{gap:5px}
.painted-chat-panel input,.painted-chat-panel textarea{padding:6px;font-size:12px}
.painted-chat-panel .painted-chat-private{font-size:10px;gap:4px}
.painted-chat-panel .chatmessages{gap:10px;padding:6px 8px 8px}
.painted-chat-panel .chatbubble{min-width:98px;padding:7px 9px 8px;border-radius:15px 16px 14px 5px}
.painted-chat-panel .chat-bubble-heading{padding-bottom:4px}
.painted-chat-panel .chat-bubble-heading b{font-size:13px}
.painted-chat-panel .chat-bubble-heading .chattime{font-size:9px}
.painted-chat-panel .chat-message-text{font-size:13px;line-height:1.4}
.painted-chat-panel .chatsticker{max-width:30px;max-height:30px}
.painted-chat-panel .stickertray{gap:2px 1px}
.painted-chat-panel .stickertray button{height:23px}
.painted-chat-panel .stickertray img{width:min(21px,100%);height:21px}
.painted-chat-panel .painted-inline-editor{height:52px;padding:6px;font-size:12px}
.painted-chat-panel .painted-chat-compose button,.painted-chat-panel .painted-chat-compose img{width:36px;height:36px}
.painted-chat-panel .inline-sticker,.painted-chat-panel .inline-sticker img{width:25px;height:25px}
.pompom-garden{left:13.5%;width:30%;max-width:365px}
.garden-controls{gap:7px 10px}
.garden-water-button{font-size:13px;padding:7px 12px;border-radius:11px}
@media(min-width:761px) and (max-width:1100px){
 .painted-chat-scene .painted-chat-panel{left:calc(58% - 30px);width:30%;top:16%;height:64%}
 .pompom-garden{left:10.5%;width:30%}
}

/* Gentle feedback for chat stickers and send: never moves the scene painting. */
.painted-chat-panel .stickertray button,.painted-chat-panel .painted-chat-compose button{transition:transform .17s ease}
.painted-chat-panel .stickertray button:active{transform:translateY(1px) scale(.9)}
.painted-chat-panel .painted-chat-compose img{transition:transform .18s ease}
.painted-chat-panel .painted-chat-compose button:is(:hover,:focus-visible) img{transform:translateY(-2px) rotate(-4deg)}
.painted-chat-panel .painted-chat-compose button:active img{transform:translateY(1px) scale(.92)}
.garden-controls button:not(:disabled){transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease}
@media(prefers-reduced-motion:reduce){
 .painted-chat-panel .stickertray button,.painted-chat-panel .painted-chat-compose button,.painted-chat-panel .painted-chat-compose img,.garden-controls button{transition:none}
 .painted-chat-panel .stickertray button:is(:hover,:active),.painted-chat-panel .painted-chat-compose button:is(:hover,:focus-visible,:active) img{transform:none}
}


/* One cream-peach paper palette connects this room to the blog sidebar. */
.painted-chat-scene::before{background-blend-mode:multiply}
