.mascot-speech { width: 242px; right: 112px; }
.mascot-quick-actions { display: grid; gap: .35rem; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid #14141440; }
.mascot-quick-actions button { pointer-events: auto; min-height: 44px; text-align: left; border: 0; font: 750 .875rem/1.4 var(--body); padding: .6rem .7rem; color: var(--ink); }
#mascot-primary { background: var(--lime); border: 1px solid var(--ink); }
#mascot-primary:hover { background: var(--pink); }
#mascot-more { background: transparent; text-decoration: underline; padding-left: 0; }
.mascot-menu { pointer-events: auto; position: absolute; right: 0; bottom: calc(100% + .5rem); width: min(330px,calc(100vw - 24px)); max-height: calc(100svh - 210px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border: 3px solid var(--ink); color: var(--ink); box-shadow: 6px 6px 0 var(--pink); padding: .9rem; z-index: 3; }
.mascot-menu[hidden] { display: none; }
.mascot-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; font: 600 1.4rem var(--heading); }
.mascot-menu-heading button { border: 2px solid var(--ink); background: var(--pink); width: 44px; height: 44px; font: 400 1.5rem var(--body); flex-shrink: 0; }
.mascot-menu-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.mascot-menu-grid button { min-height: 48px; padding: .6rem .65rem; text-align: left; color: var(--ink); background: transparent; border: 1px solid #14141460; font: 700 .875rem/1.35 var(--body); }
.mascot-menu-grid button:hover { background: var(--lime); border-color: var(--ink); }
.mascot-menu-grid button[data-mascot-action=ride] { background: var(--purple); border-color: var(--ink); }
.mascot-dock.is-menu-open > .mascot-speech { visibility: hidden; }
.mascot-menu :focus-visible,.mascot-quick-actions :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media(max-width:760px) {
  .mascot-speech { width: 205px; right: 84px; }
  .mascot-menu { right: 10px; max-height: calc(100svh - 160px); width: min(320px,calc(100vw - 24px)); }
}
@media(max-height:500px) {
  .mascot-speech { max-height: calc(100svh - 140px); overflow-y: auto; pointer-events: auto; }
}
