/* Eye and head control, shared by the home page and Talk Tiles:
   the red highlight that the eyes move, and a small camera panel. */
.gaze { outline: 7px solid #e0302a !important; outline-offset: 2px; position: relative; z-index: 1; }
svg .gaze { outline: none !important; stroke: #e0302a; stroke-width: 8; }
.gaze-pick { transform: scale(.9); filter: brightness(1.15); }
.eyes-panel {
  position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 9;
  display: flex; gap: 10px; align-items: center; max-width: 30rem; margin: 0 auto;
  background: var(--card); color: var(--ink); border: 2px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.eyes-panel video { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: #000; transform: scaleX(-1); flex: none; }
.eyes-panel.eyes-msg video, .eyes-panel.eyes-msg .eyes-bar, .eyes-panel.eyes-msg .eyes-tools { display: none; }
.eyes-info { flex: 1 1 auto; min-width: 0; }
.eyes-status { font-weight: 800; font-size: 1.05rem; min-height: 1.3em; }
.eyes-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 4px 0 6px; }
.eyes-bar i { display: block; height: 100%; width: 0; background: #e0302a; }
.eyes-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.eyes-tools button { font: inherit; font-weight: 700; font-size: .85rem; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 999px; padding: 6px 10px; min-height: 36px; cursor: pointer; }
#eyesBtn[aria-pressed="true"] { background: var(--brand); color: #1b1b1b; border-color: var(--brand-edge); }
/* While eye control is on, leave room above and below so the red box can sit mid-screen for every tile. */
body.eyes-on main { padding-top: 34vh; padding-bottom: 58vh; }
.eyes-help { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 8px 12px; margin: 0 0 12px; }
.gaze-ask { outline-color: #ff9800 !important; }
/* The Eyes button on the home page */
.eyes-slot { display: flex; justify-content: flex-end; margin: 10px 0 0; }
[dir="rtl"] .eyes-slot { justify-content: flex-start; }
.eyes-slot #eyesBtn {
  font: inherit; font-weight: 700; font-size: 1rem; color: var(--ink); background: var(--card);
  border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px; cursor: pointer;
}
.eyes-slot #eyesBtn:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.eyes-slot + .eyes-help { margin-top: 10px; }
.eyes-help p { margin: 4px 0; font-weight: 700; font-size: 1.05rem; }
