dialog.greeting-card{
 --ink:#233c36;--edge:#c7bc97;
 width:min(365px,calc(100vw - 18px));max-width:none;max-height:min(620px,calc(100dvh - 20px));
 padding:13px;color:var(--ink);background:#fff8e8;border:2px solid #394e46;border-radius:15px;
 font:15px/1.4 "Segoe UI",system-ui,sans-serif;overscroll-behavior:contain;scrollbar-gutter:auto;
 box-shadow:0 3px 0 #42594d,0 8px 24px #1c302c45
}
.greeting-card .talk-header{position:static;inset:auto;width:auto;height:auto;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:0;background:transparent;pointer-events:auto;box-shadow:none;border:0}
.greeting-card .talk-header>div{min-width:0;flex:1}
.greeting-card .talk-header strong{display:block;font:700 20px/1.05 Georgia,serif}
.greeting-card .talk-header small{margin-top:3px;font-size:12px;color:#516257}
.greeting-card .talk-portrait{flex:none;width:51px;height:46px;background-color:#e4ead6;background-size:408px 322px;border-radius:10px;image-rendering:pixelated}
.greeting-card button.talk-close{flex:none;align-self:flex-start;margin:0;width:32px;height:32px;padding:0;background:transparent;border:0;color:#506559;font:23px/1 system-ui}
.greeting-card .talk-line{position:relative;margin:12px 0 6px;padding:11px 13px;background:#fffdf5;border:1px solid var(--edge);border-radius:3px 13px 13px 13px;overflow-wrap:anywhere}
.greeting-card .talk-line:before{content:"";position:absolute;top:-5px;left:16px;width:7px;height:7px;background:#fffdf5;border-top:1px solid var(--edge);border-left:1px solid var(--edge);transform:rotate(45deg)}
.greeting-card button.talk-next{padding:5px 0;margin:0 0 0 2px;background:transparent;border:0;color:#285d4b;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.greeting-card .resident-question{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;border:0;margin:9px 0;padding:0}
.greeting-card .resident-question input{width:100%;box-sizing:border-box;margin:0;padding:8px 10px;background:#fffdf7;border:1px solid var(--edge);border-radius:8px;font-size:16px}
.greeting-card .resident-question button[type=submit]{padding:6px 12px;margin:0;border:0;border-radius:8px;background:#305b4d;color:white;font:600 13px system-ui}
.greeting-card footer{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;border-top:1px solid #ddd3b9;padding-top:6px}
.greeting-card .talk-menu{min-width:0}.greeting-card .talk-menu[open]{width:100%}
.greeting-card summary{width:fit-content;cursor:pointer;color:#475b50;font-size:13px;padding:5px 2px}
.greeting-card .talk-menu button,.greeting-card .conversation-topics button{background:#edf0df;color:#314d40;border:1px solid #c8d0b8;border-radius:7px;padding:5px 8px;font:13px/1.25 system-ui}
.greeting-card .talk-menu small{font-size:12px;margin:5px 2px}
.greeting-card .talk-menu .conversation-topics{gap:3px;margin:4px 0}
.greeting-card :is(button,summary,input):focus-visible{outline:2px solid #367562;outline-offset:2px}
.local-speech:not([hidden]),.intro-bubble:not([hidden]){box-sizing:border-box;max-width:185px;padding:7px 10px;color:#293e36;background:#fff9e9;border:1px solid #68796b;border-radius:10px 10px 10px 3px;box-shadow:0 2px 0 #425b4e35;line-height:1.3;z-index:3}
.local-speech:not([hidden]):after{content:"";position:absolute;bottom:-4px;left:16px;width:6px;height:6px;background:#fff9e9;border-bottom:1px solid #68796b;border-right:1px solid #68796b;transform:rotate(45deg)}
.street-parcel{position:absolute;z-index:688;width:30px;height:27px;transform:translate(-50%,-100%);cursor:pointer;border:3px solid #25444c;border-radius:1px;background:linear-gradient(90deg,#48b29e 39%,#ffd479 39% 60%,#318b83 60%);box-shadow:inset 0 5px #efb961,2px 3px #36464780}
.street-parcel::before,.street-parcel::after{content:"";position:absolute;top:-11px;width:7px;height:5px;border:3px solid #d9a449}
.street-parcel::before{left:0;transform:skew(20deg)}.street-parcel::after{right:0;transform:skew(-20deg)}
.street-parcel[hidden]{display:none}.street-parcel:focus-visible{outline:3px solid white;outline-offset:5px}
.outing-note{position:fixed;z-index:1100;inset:auto max(14px,env(safe-area-inset-right)) max(48px,env(safe-area-inset-bottom)) auto;box-sizing:border-box;width:min(22rem,calc(100vw - 28px));padding:.8rem 1rem;color:#253e39;background:#fff2cf;border:2px solid #48564a;border-radius:7px;box-shadow:3px 4px #31443c54;font:600 .9rem/1.42 system-ui,sans-serif;text-align:left}
.outing-note[hidden],.outing-note button[hidden]{display:none}
.outing-note p{margin:0 0 .65rem}.outing-note div{display:flex;gap:.45rem;flex-wrap:wrap}
.outing-note button{font:inherit;padding:.4rem .65rem;border:1px solid #385c4e;border-radius:4px;background:#28564a;color:#fff7e0;cursor:pointer}
.outing-note button+button{color:#32483f;background:#fff7e0}.outing-note button:focus-visible{outline:3px solid #ad6930;outline-offset:2px}
@media(max-width:500px){.outing-note{bottom:60px}}
.greeting-card .story-choices[hidden]{display:none}.greeting-card .story-choices{display:grid;gap:5px}.greeting-card .story-choices button{text-align:left}.greeting-card .resident-question .conversation-topics{margin:0 0 3px}
