/* HELP VIDEOS (js/help-videos.js): "Help video · 0:37" under the screen's title and under Help's, and the player.
   The player is the setup videos' (css/onboarding.css), so both kinds of video look and work alike. */
/* UNDER THE TITLE, in the top bar (.topbar-titles): its ring pings while the video is new, shows how much was
   watched once opened, and is grey once watched to the end. */
.hv-link{--hv-p:0%;display:inline-flex;align-items:center;gap:6px;align-self:flex-start;max-width:100%;margin:3px 0 0;padding:1px 6px 1px 0;border:0;border-radius:6px;background:none;color:var(--green);font:inherit;font-size:12.5px;font-weight:700;line-height:1.3;white-space:nowrap;cursor:pointer}
@media (hover:hover){.hv-link:hover .hv-link-t{text-decoration:underline;text-underline-offset:2px}}   /* a phone's tap leaves :hover on */
.hv-link:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.hv-link-t{min-width:0;overflow:hidden;text-overflow:ellipsis}
.hv-ring{position:relative;flex:none;width:18px;height:18px;border-radius:50%}
.hv-arc{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 200deg,var(--green),var(--saffron),var(--green));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.2px),#000 calc(100% - 1.7px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.2px),#000 calc(100% - 1.7px))}
.hv-link[data-state="part"] .hv-arc{background:conic-gradient(var(--green) var(--hv-p),#cfd6e0 0)}
.hv-link[data-state="done"] .hv-arc{background:#c2cad6}
.hv-ring::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none}
.hv-link[data-state="new"] .hv-ring::after{animation:hv-ping 2.4s ease-out .6s 3}
@keyframes hv-ping{0%{box-shadow:0 0 0 0 rgba(249,115,22,.55)}70%,100%{box-shadow:0 0 0 7px rgba(249,115,22,0)}}
.hv-face{position:absolute;inset:3.5px;border-radius:50%;background:var(--green);display:grid;place-items:center}
.hv-face .hv-play{width:7px;height:7px;fill:#fff;margin-left:1px}
@media (min-width:881px){
  .hv-link{font-size:13px}
  .hv-ring{width:19px;height:19px}
}
@media (prefers-reduced-motion:reduce){.hv-ring::after{animation:none!important}}
/* On a place (js/help-videos.js PLACES): under the Lead 360 view's title, and under the AI Advisor's on its AI
   Advisor side only (Help keeps the screen's own card). The Advisor's head is purple there, so the line is white. */
#cpHv{display:none}
#copilotPanel.mode-coach #cpHv{display:block}
#copilotPanel.mode-coach .cp-head .hv-link{color:#fff}
#copilotPanel.mode-coach .cp-head .hv-link:focus-visible{outline-color:#fff}
#copilotPanel.mode-coach .cp-head .hv-arc{background:conic-gradient(from 200deg,#fff,#fdba74,#fff)}
#copilotPanel.mode-coach .cp-head .hv-link[data-state="part"] .hv-arc{background:conic-gradient(#fff var(--hv-p),rgba(255,255,255,.35) 0)}
#copilotPanel.mode-coach .cp-head .hv-link[data-state="done"] .hv-arc{background:rgba(255,255,255,.5)}
#copilotPanel.mode-coach .cp-head .hv-face{background:#fff}
#copilotPanel.mode-coach .cp-head .hv-face .hv-play{fill:#6d28d9}
/* In Help: the screen's line under "Help · about <screen>", on the Help side only. It was a card with the video's
   picture (owner, 18 Nov 2026: "big, make it a other help video icon"). */
#cpHvHelp{display:none}
#copilotPanel.mode-help #cpHvHelp{display:block}
/* On a computer the head's left column is about 120px beside Tour and the language box, which cut the line to "Help
   video · 0…". It runs on under them instead: they are one row tall, and the line is the head's third. */
#cpHvHelp .hv-link{max-width:none}
/* The player: over everything, the phone's Back included (js/tabs.js LAYERS). */
.hv-player{position:fixed;inset:0;z-index:6600;background:#0a0d14;display:flex;flex-direction:column;align-items:center}
.hv-player-bar{flex:none;width:100%;max-width:560px;height:64px;padding:0 12px;display:flex;align-items:center;justify-content:space-between}
.hv-player video{flex:1;min-height:0;width:100%;max-width:560px;object-fit:contain;background:#000}
.hv-player-x{width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:18px;display:grid;place-items:center;cursor:pointer}
.hv-player-x:focus-visible,.hv-player-lang button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hv-player-lang{display:flex;gap:3px;background:rgba(255,255,255,.14);border-radius:999px;padding:3px}
.hv-player-lang button{border:0;background:transparent;color:#fff;font:600 13px/1 inherit;padding:9px 13px;border-radius:999px;cursor:pointer}
.hv-player-lang button[aria-pressed="true"]{background:#fff;color:#111}
