/* ---------- Coco (site/coco.js) ---------- */
.coco-layer { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; visibility: hidden; }
.coco-layer.is-in { visibility: visible; }
.coco-btn { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; will-change: transform; -webkit-tap-highlight-color: transparent; }
.coco-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: var(--radius-md); }
.coco-bubble { position: absolute; left: 0; top: 0; width: 310px; max-width: calc(100vw - 16px); padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface);
  box-shadow: var(--shadow-float); pointer-events: auto; }
.coco-bubble[hidden] { display: none; }
.coco-bubble__text { margin: 6px 0 14px; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.coco-bubble__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.coco-bubble__text b { font-weight: 500; color: var(--blue); }
.coco-bubble__close { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border: 0; border-radius: var(--radius-full); background: none; color: var(--ink-secondary); font-size: 22px; line-height: 1; cursor: pointer; }
.coco-bubble__close:hover { background: var(--canvas); color: var(--ink); }


/* The roaming Coco steps aside while the yard (with its own Coco) is on screen. */
.coco-layer .coco-btn { transition: opacity .3s ease; }
.coco-layer.is-away .coco-btn { opacity: 0; pointer-events: none; }
