/* Laughing Bird Farm · Management hints and tap-to-hear stickers */
.mh-hint-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;margin-top:8px;border:1px dashed #803e40;background:#fff8ec;color:#803e40;border-radius:999px;padding:10px 16px;min-height:44px;cursor:pointer;font:700 14px system-ui;width:100%;transition:background .15s,transform .15s}
.mh-hint-btn:hover{background:#fbeede;transform:translateY(-1px)}
.mh-hint-btn:focus-visible{outline:3px solid #803e40;outline-offset:2px}

/* Stickers */
.mh-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,2.5vw,26px);margin:28px 0 8px}
.mh-seat{margin:0;text-align:center;position:relative}
.mh-seat figcaption{display:flex;flex-direction:column;align-items:center;gap:2px;font:14px/1.35 system-ui}
.mh-seat figcaption strong{font:700 17px Georgia,serif}
.mh-seat figcaption small{color:#5e685f}
.mh-badge{display:inline-block;margin-top:4px;background:#123e30;color:#fff;border-radius:999px;padding:2px 9px;font:700 11px system-ui;letter-spacing:.06em;text-transform:uppercase}
.mh-sticker{position:relative;display:block;width:100%;max-width:210px;margin:0 auto 6px;padding:0;border:0;background:none;cursor:pointer;border-radius:24px;-webkit-tap-highlight-color:transparent;transition:transform .2s cubic-bezier(.3,1.6,.5,1)}
.mh-sticker img{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 10px rgba(23,39,31,.22))}
.mh-sticker:hover{transform:rotate(-3deg) scale(1.04)}
.mh-sticker:active{transform:scale(.96)}
.mh-sticker:focus-visible{outline:3px solid #803e40;outline-offset:4px}
.mh-sticker.is-speaking{animation:mh-wiggle .5s ease-in-out infinite alternate}
.mh-sticker.is-speaking img{filter:drop-shadow(0 0 0 #fff) drop-shadow(0 8px 16px rgba(178,138,67,.55))}
@keyframes mh-wiggle{from{transform:rotate(-3deg) scale(1.03)}to{transform:rotate(3deg) scale(1.06)}}
.mh-wave{position:absolute;right:6%;top:6%;display:flex;gap:3px;align-items:flex-end;height:22px;padding:5px 7px;border-radius:999px;background:#123e30;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
.mh-wave i{display:block;width:3px;height:6px;background:#fff;border-radius:2px}
.mh-sticker:not(.is-speaking) .mh-wave{opacity:.85;transform:scale(.8)}
.mh-sticker:not(.is-speaking) .mh-wave i{display:none}
.mh-sticker:not(.is-speaking) .mh-wave::before{content:"▶";color:#fff;font:10px/12px system-ui}
.mh-sticker.is-speaking .mh-wave{opacity:1;transform:scale(1)}
.mh-sticker.is-speaking .mh-wave i{animation:mh-bar .6s ease-in-out infinite alternate}
.mh-sticker.is-speaking .mh-wave i:nth-child(2){animation-delay:.2s}
.mh-sticker.is-speaking .mh-wave i:nth-child(3){animation-delay:.4s}
@keyframes mh-bar{from{height:4px}to{height:14px}}
.mh-bubble:empty{display:none}
.mh-bubble{position:relative;margin-top:8px;background:#fff;border:1px solid #ddd5c3;border-radius:14px;padding:8px 12px;font:italic 14px/1.4 Georgia,serif;color:#17271f;max-width:240px;box-shadow:0 6px 14px rgba(23,39,31,.08);animation:mh-pop .25s cubic-bezier(.3,1.6,.5,1)}
.mh-bubble::before{content:"";position:absolute;top:-7px;left:50%;width:12px;height:12px;background:#fff;border-left:1px solid #ddd5c3;border-top:1px solid #ddd5c3;transform:translateX(-50%) rotate(45deg)}
@keyframes mh-pop{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
.mh-board .mh-seat:not(.mh-in-meeting){opacity:1}
[data-cast]:not([data-cast=""]) .mh-seat:not(.mh-in-meeting) .mh-sticker{max-width:150px;opacity:.85}

/* Family portrait */
.mh-portrait{margin:0;text-align:center}
.mh-portrait img{width:100%;max-width:880px;height:auto;filter:drop-shadow(0 10px 18px rgba(23,39,31,.18))}
.mh-portrait figcaption{font:italic 15px Georgia,serif;color:#5e685f;margin-top:6px}
.mh-section{text-align:center}
.mh-section>p{max-width:640px;margin-left:auto;margin-right:auto}

/* Dialog */
.mh-dialog{width:min(560px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:22px;background:transparent;overflow:visible;color:#17271f}
.mh-dialog::backdrop{background:rgba(18,32,25,.6);backdrop-filter:blur(2px)}
.mh-dialog[open]{animation:mh-in .3s cubic-bezier(.3,1.4,.5,1)}
@keyframes mh-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.mh-memo{position:relative;background:#fffdf7;background-image:repeating-linear-gradient(transparent 0 31px,#efe7d4 31px 32px);border:1px solid #ddd5c3;border-radius:22px;padding:104px clamp(18px,5vw,34px) 24px;max-height:calc(100dvh - 20px);overflow:auto;box-shadow:0 30px 60px rgba(0,0,0,.25)}
.mh-close{position:absolute;z-index:3;top:10px;right:10px;width:44px;height:44px;border-radius:50%;border:1px solid #ddd5c3;background:#fff;font:26px/1 system-ui;cursor:pointer;color:#17271f}
.mh-peek{position:absolute;top:8px;left:50%;transform:translateX(-50%);display:flex;align-items:flex-end;pointer-events:none}
.mh-peek img{width:76px;height:auto;filter:drop-shadow(0 6px 8px rgba(0,0,0,.2));animation:mh-peek .6s cubic-bezier(.3,1.5,.5,1) both}
.mh-peek .mh-peek-0{transform:rotate(-8deg);margin-right:-14px;animation-delay:.05s}
.mh-peek .mh-peek-1{width:88px;z-index:1;animation-delay:.15s}
.mh-peek .mh-peek-2{transform:rotate(8deg);margin-left:-14px;animation-delay:.25s}
@keyframes mh-peek{from{opacity:0;translate:0 30px}to{opacity:1;translate:0 0}}
.mh-gift .mh-stamp{animation:mh-stamp .45s .35s ease-out both}
@keyframes mh-stamp{from{transform:rotate(8deg) scale(2.2);opacity:0}to{transform:rotate(8deg) scale(1);opacity:.9}}
.mh-stamp{position:absolute;bottom:-11px;right:12px;background:#fffdf7;transform:rotate(8deg);border:2px solid #803e40;color:#803e40;border-radius:6px;padding:2px 8px;font:800 11px system-ui;letter-spacing:.2em;text-transform:uppercase;opacity:.85}
.mh-kicker{margin:0 0 4px;color:#803e40;text-transform:uppercase;letter-spacing:.16em;font:700 11px system-ui;text-align:center}
.mh-dialog h2{font-size:clamp(25px,5.5vw,32px);margin:4px 0 8px;text-align:center}
.mh-dialog h2:focus{outline:none}
.mh-lede{font-size:16px;margin:0 0 14px;text-align:center;color:#3d4b42}
.mh-gift{position:relative;display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #ddd5c3;border-radius:14px;padding:10px 12px;margin:0 0 14px}
.mh-gift img{width:72px;height:72px;object-fit:contain;flex-shrink:0}
.mh-gift small{display:block;color:#803e40;font:700 11px system-ui;letter-spacing:.12em;text-transform:uppercase}
.mh-gift strong{display:block;font:700 18px/1.2 Georgia,serif}
.mh-gift span{font:13px system-ui;color:#5e685f}
.mh-dialog form{display:flex;flex-direction:column}
.mh-dialog label{font:700 14px system-ui;margin:10px 0 5px}
.mh-dialog label span{font-weight:400;color:#5e685f}
.mh-dialog input:not([type=checkbox]),.mh-dialog textarea{width:100%;font:16px system-ui;padding:12px 13px;border:1px solid #c9bea6;border-radius:12px;background:#fff;color:#17271f}
.mh-dialog input:focus,.mh-dialog textarea:focus{outline:3px solid #b28a43;outline-offset:1px;border-color:#b28a43}
.mh-dialog [aria-invalid=true]{border-color:#a3302f;background:#fff6f5}
.mh-dialog textarea{resize:vertical;min-height:78px}
.mh-count{font:12px system-ui;color:#5e685f;margin-top:4px}
.mh-check{display:flex!important;gap:10px;align-items:flex-start;background:#f3efe2;border-radius:12px;padding:12px;margin-top:14px!important;cursor:pointer}
.mh-check input{width:22px;height:22px;margin:1px 0 0;accent-color:#123e30;flex-shrink:0}
.mh-check strong{display:block}
.mh-check small{display:block;font-weight:400;color:#4b5a50;margin-top:2px}
.mh-trap{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.mh-error{color:#a3302f;font:600 14px system-ui;margin:10px 0 0;min-height:1px}
.mh-error:empty{margin:0}
.mh-send{margin-top:14px;width:100%;min-height:50px;font-size:16px}
.mh-send:disabled{opacity:.7;cursor:progress}
.mh-fine{font:12.5px/1.5 system-ui;color:#5e685f;text-align:center;margin:10px 0 0}
.mh-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.mh-board-mini{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));margin:10px 0 0}
.mh-board-mini .mh-sticker{max-width:120px}
.mh-sent .mh-board-mini .mh-seat{animation:mh-peek .5s cubic-bezier(.3,1.5,.5,1) both}
.mh-sent .mh-board-mini .mh-seat:nth-child(2){animation-delay:.1s}
.mh-sent .mh-board-mini .mh-seat:nth-child(3){animation-delay:.2s}
.mh-sent .mh-board-mini .mh-seat:nth-child(4){animation-delay:.3s}

/* Meeting page */
.mh-meeting-hero{background:#f8f2e2;text-align:center}
.mh-meeting-hero .wrap{padding-top:48px;padding-bottom:30px}
.mh-meeting-hero h1{font-size:clamp(40px,7vw,72px);margin:12px 0}
.mh-gift-card{max-width:520px;margin:10px auto 0;background:#fff;border:1px solid #ddd5c3;border-radius:22px;padding:24px;text-align:center}
.mh-gift-card img{width:min(260px,70%);height:auto;object-fit:contain}
.mh-gift-card h2{font-size:clamp(28px,5vw,38px);margin:8px 0 4px}
.mh-exhibit{color:#803e40;font:700 12px system-ui;letter-spacing:.16em;text-transform:uppercase}

@media (max-width:640px){
  .mh-board{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mh-board-mini{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}
  .mh-peek img{width:66px}.mh-peek .mh-peek-1{width:76px}
  .mh-memo{padding-top:92px}
}
@media (prefers-reduced-motion:reduce){
  .mh-gift .mh-stamp,.mh-sticker,.mh-sticker.is-speaking,.mh-dialog[open],.mh-peek img,.mh-bubble,.mh-sent .mh-board-mini .mh-seat,.mh-sticker.is-speaking .mh-wave i{animation:none!important;transition:none!important}
  .mh-sticker:hover{transform:none}
}

/* Let the Management Help: optional, collapsed by default, never part of sending. */
.mh-help{margin:0 0 14px;border:1px dashed #cbbf9f;border-radius:14px;background:#fffaf0}
.mh-help summary{cursor:pointer;list-style:none;padding:11px 14px;min-height:44px;box-sizing:border-box;display:flex;align-items:center;gap:8px;font:700 14.5px system-ui,sans-serif;color:var(--forest,#123e30)}
.mh-help summary::-webkit-details-marker{display:none}
.mh-help summary:before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--forest,#123e30);color:#fff;font-size:15px;line-height:1}
.mh-help[open] summary:before{content:"–"}
.mh-help summary span{font-weight:500;color:#6b5d3e}
.mh-help-note{margin:0 14px 10px;font-size:13px;line-height:1.45;color:#4b5b52}
.mh-help-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 12px}
.mh-help-chips .vp{font-size:13.5px;min-height:44px;padding-right:12px}
@media (max-width:640px){.mh-help-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:10px}.mh-help-chips .vp{flex:none}}
.mh-sticker-still{cursor:default}
