/* GoFish.Rocks skin, round 22: "Backstage pass".
   Loaded into the widget's shadow root after widget.js's own styles when a
   page sets __chatBrand.skin, so every rule here replaces the comic look and
   TheFinalCode.com's chat never sees it.

   Matches the redesigned GoFish.Rocks site: Figtree at heavy weights, Barlow
   Condensed for numbers, navy glass, and aqua (#2EC4B6) as the one highlight.
   Orange is kept for the site's demo button, so nothing in here is orange.

   Images beside this file:
     gofish-pop.webp          the 3D shark's head and chest. The bottom 360x360 of
                              the picture is a circle; his head and fin rise
                              above it, so he pops out of every round badge.
     gofish-shark.webp        the 3D shark shredding his guitar, an animated
                              cut-out (loops back and forth, no jump).
     gofish-shark-still.webp  one still frame of him, used when the visitor's
                              device asks for reduced motion.
     gofish-stage.webp        the GoFish concert stage at the marina, empty, for
                              him to stand on.

   One thing moves at a time: the shark plays, the lights sweep slowly behind
   him, and everything else only moves when it arrives or is touched.
   Fonts: the page must load Figtree (400-900) and Barlow Condensed (700, 800);
   fonts cannot be loaded from inside a shadow root. */

:host, :host([data-theme="dark"]) {
  --L: 120px;
  --navy: #0B1F3A; --navy2: #13294A; --night: #071429; --blue: #2F5A92; --aqua: #2EC4B6; --aqua2: #5FE0D3; --teal: #06716A;
  --mist: #F4F7FA; --soft: #C9D6E6; --white: #FFFFFF; --body-c: #E9F0F8;
  --bg: #0A1C36; --surface: #13294A; --text: #FFFFFF; --muted: #C9D6E6; --ink: #0B1F3A; --paper: #FFFFFF;
  --line: rgba(201, 214, 230, .18); --hard: transparent; --focus: #2EC4B6;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  --edge: rgba(201, 214, 230, .2);
  --glow: 0 0 0 1px rgba(46, 196, 182, .55), 0 14px 34px -14px rgba(46, 196, 182, .75);
  --cue: #2EC4B6; --cue-ink: #0B1F3A;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-family: var(--body);
}
/* the brand's fallback palette is set inline on the host; inside the widget
   the comic rules that still read it get aqua instead */
.wrap { --red: #2EC4B6; --red6: #13294A; --red6b: #0B1F3A; --red7: #0B1F3A; --red8: #071429; --pink: #2EC4B6; --glove: #C9D6E6; --rgb: 46, 196, 182; --rgb8: 11, 31, 58; --deep: #071429; }

@keyframes g-rise { from { transform: translateY(16px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes g-pop { 0% { transform: scale(.86); opacity: 0 } 65% { transform: scale(1.04); opacity: 1 } 100% { transform: none; opacity: 1 } }
@keyframes g-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
@keyframes g-ping { 0% { transform: scale(1); opacity: .75 } 70%, 100% { transform: scale(1.55); opacity: 0 } }
@keyframes g-sweep { 0%, 100% { transform: rotate(-10deg) } 50% { transform: rotate(12deg) } }
@keyframes g-sweep2 { 0%, 100% { transform: rotate(9deg) } 50% { transform: rotate(-11deg) } }
@keyframes g-flash { from { transform: translateX(-130%) } to { transform: translateX(130%) } }
@keyframes g-arrive { 0% { translate: 0 60px; scale: .85; opacity: 0 } 60% { opacity: 1 } 100% { translate: 0 0; scale: 1; opacity: 1 } }
@keyframes g-rock { 0%, 100% { rotate: 0deg; scale: 1 } 20% { rotate: -5deg; scale: 1.06 } 45% { rotate: 4deg; scale: 1.05 } 70% { rotate: -2deg; scale: 1.02 } }
@keyframes g-rock2 { 0%, 100% { rotate: 0deg; scale: 1 } 20% { rotate: -5deg; scale: 1.06 } 45% { rotate: 4deg; scale: 1.05 } 70% { rotate: -2deg; scale: 1.02 } }
@keyframes g-flare { from { filter: brightness(1.9) saturate(1.3) } to { filter: brightness(1.05) saturate(1.1) } }
@keyframes g-flare2 { from { filter: brightness(1.9) saturate(1.3) } to { filter: brightness(1.05) saturate(1.1) } }
@keyframes g-burst { 0% { transform: translate(0, 0) rotate(0) scale(.2); opacity: 1 } 35% { transform: translate(var(--bx), var(--by)) rotate(calc(var(--r) * .5)) scale(1); opacity: 1 } 100% { transform: translate(calc(var(--bx) * 1.2), calc(var(--by) + 180px)) rotate(var(--r)) scale(.9); opacity: 0 } }
@keyframes g-burst2 { 0% { transform: translate(0, 0) rotate(0) scale(.2); opacity: 1 } 35% { transform: translate(var(--bx), var(--by)) rotate(calc(var(--r) * .5)) scale(1); opacity: 1 } 100% { transform: translate(calc(var(--bx) * 1.2), calc(var(--by) + 180px)) rotate(var(--r)) scale(.9); opacity: 0 } }
@keyframes g-bar { 0%, 100% { transform: scaleY(.35) } 50% { transform: scaleY(1) } }
@keyframes g-eq { 0%, 100% { background-size: 4px 40%, 4px 90%, 4px 60%, 4px 100% } 33% { background-size: 4px 90%, 4px 45%, 4px 100%, 4px 55% } 66% { background-size: 4px 55%, 4px 100%, 4px 40%, 4px 80% } }
@keyframes g-load { from { background-position: -100% 0 } to { background-position: 200% 0 } }
@keyframes g-live { 0% { box-shadow: 0 0 0 0 rgba(46, 196, 182, .7) } 70%, 100% { box-shadow: 0 0 0 7px rgba(46, 196, 182, 0) } }
@keyframes g-blink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes g-stamp { 0% { transform: rotate(8deg) scale(2.2); opacity: 0 } 60% { transform: rotate(8deg) scale(.92); opacity: 1 } 100% { transform: rotate(8deg) scale(1); opacity: 1 } }

/* ---- the round badge, wherever the shark's face is round: a lit navy disc
   with an aqua rim, his head rising out of the top of it. gofish-pop.webp is
   360x458: the circle is its bottom 360x360, so the picture is 127.2% as tall
   as the disc and starts 27.2% above it. ---- */
.launch .face, .hface, .av { border: 0; padding: 0; overflow: visible; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2F5A92 0%, #13294A 55%, #071429 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -6px 12px rgba(0, 0, 0, .45), 0 0 0 2.5px var(--aqua), 0 0 18px -2px rgba(46, 196, 182, .8); }
.launch .face img, .hface img, .av img { position: absolute; left: 0; top: -27.2%; width: 100%; height: 127.2%; max-width: none; border-radius: 0; object-fit: fill; pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(7, 20, 41, .45)); }
.launch .face::before, .hface::before, .av::before { content: none; }

/* ---- launcher: a small 3D badge, with a navy pill beside it ---- */
.launch { animation-name: g-pop; }
.launch::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); animation: g-ping 2.8s ease-out 1.2s infinite; pointer-events: none; }
.launch::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -10px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(7, 20, 41, .45), transparent); pointer-events: none; }
.launch .wig { animation: none; }
.launch .face { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -8px 14px rgba(0, 0, 0, .5), 0 0 0 3px var(--aqua), 0 16px 30px -10px rgba(7, 20, 41, .7), 0 0 26px -4px rgba(46, 196, 182, .85); animation: g-float 3.6s ease-in-out infinite; transition: transform .3s var(--spring); }
.launch:hover .face, .launch:focus-visible .face { transform: scale(1.08) rotate(-4deg); animation: none; }
.launch .tag { left: auto; right: calc(100% + 12px); bottom: 50%; transform: translateY(50%); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 13px;
  background: var(--navy); color: #fff; border: 1.5px solid rgba(46, 196, 182, .6); border-radius: 999px; font: 800 16px/1 var(--body); letter-spacing: 0; text-transform: none;
  box-shadow: 0 12px 26px -10px rgba(7, 20, 41, .7), 0 0 18px -6px rgba(46, 196, 182, .7); }
.launch .tag::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); animation: g-live 2.4s ease-out infinite; }
.launch.hide { transform: scale(.5) rotate(20deg); }
.launch .fx { display: none; }
.wrap.thinking .launch .face, .wrap.thinking .hface, .typing .av { animation: g-float .9s ease-in-out infinite; }

/* ---- teaser: a navy glass card pointing at the badge ---- */
.teaser { width: 288px; animation-name: g-pop; }
.teaser .tb, :host([data-theme="dark"]) .teaser .tb { position: relative; background: linear-gradient(160deg, #13294A, #0B1F3A); color: #fff; border: 1.5px solid rgba(46, 196, 182, .55); border-radius: 20px; padding: 16px 44px 17px 18px;
  box-shadow: 0 22px 48px -16px rgba(7, 20, 41, .75), 0 0 34px -12px rgba(46, 196, 182, .8); }
.teaser .tb::before { display: none; }
.teaser .tb::after { content: ""; display: block; position: absolute; right: 34px; bottom: -9px; width: 16px; height: 16px; border: 0; border-right: 1.5px solid rgba(46, 196, 182, .55); border-bottom: 1.5px solid rgba(46, 196, 182, .55); background: #0B1F3A; transform: rotate(45deg); border-radius: 0 0 4px 0; }
.teaser .pow, .teaser .powt { display: none; }
.teaser b { font: 900 25px/1.05 var(--body); letter-spacing: -.02em; text-transform: none; color: #fff; }
.teaser b em, :host([data-theme="dark"]) .teaser b em { font-style: normal; color: var(--aqua); }
.teaser small { margin-top: 8px; font: 600 16px/1.4 var(--body); color: var(--body-c); }
.teaser .tx, :host([data-theme="dark"]) .teaser .tx { top: -14px; right: -12px; width: 40px; height: 40px; border: 1.5px solid rgba(201, 214, 230, .35); background: #0B1F3A; color: #fff; box-shadow: 0 8px 18px -8px rgba(7, 20, 41, .8); }
.teaser .tx::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.teaser .tx .ic { width: 16px; height: 16px; stroke-width: 2.8; }
.teaser .tx:hover { background: var(--aqua); color: var(--navy); border-color: var(--aqua); }

/* ---- panel: navy glass with an aqua rim of light ---- */
.panel { width: 440px; border: 1.5px solid transparent; padding: 0; border-radius: 26px; overflow: hidden;
  background: linear-gradient(#0A1C36, #0A1C36) padding-box, linear-gradient(150deg, rgba(46, 196, 182, .95) 0%, rgba(47, 90, 146, .9) 40%, rgba(19, 41, 74, .9) 70%, rgba(46, 196, 182, .7) 100%) border-box;
  box-shadow: 0 40px 90px -24px rgba(7, 20, 41, .85), 0 0 70px -24px rgba(46, 196, 182, .6);
  transform: translateY(26px) scale(.94); transition: transform .42s var(--spring), opacity .2s, visibility 0s linear .42s, bottom .4s var(--ease), height .4s var(--ease); }
.panel::before { content: none; }
/* lights up: one sweep across the panel as it opens */
.panel::after { content: ""; position: absolute; z-index: 5; inset: 0; pointer-events: none; transform: translateX(-130%); background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%); }
.wrap.is-open .panel::after { animation: g-flash .9s .1s ease-out both; }
/* confetti only when you tap the shark */
.panel > .fx { position: absolute; z-index: 6; left: 74%; top: 300px; width: 0; height: 0; pointer-events: none; }
.panel > .fx i { position: absolute; left: 0; top: 0; width: 7px; height: 11px; border-radius: 1.5px; background: var(--c, var(--aqua)); opacity: 0; }
.panel > .fx i:nth-child(3n+1) { --c: var(--aqua); }
.panel > .fx i:nth-child(3n+2) { --c: #fff; }
.panel > .fx i:nth-child(3n) { --c: var(--aqua2); width: 6px; height: 6px; border-radius: 50%; }
.panel > .fx i:nth-child(1) { --bx: -170px; --by: -40px; --r: 520deg; }
.panel > .fx i:nth-child(2) { --bx: -140px; --by: -70px; --r: -380deg; }
.panel > .fx i:nth-child(3) { --bx: -112px; --by: -30px; --r: 640deg; }
.panel > .fx i:nth-child(4) { --bx: -90px; --by: -82px; --r: -300deg; }
.panel > .fx i:nth-child(5) { --bx: -64px; --by: -52px; --r: 460deg; }
.panel > .fx i:nth-child(6) { --bx: -44px; --by: -90px; --r: -700deg; }
.panel > .fx i:nth-child(7) { --bx: -24px; --by: -60px; --r: 340deg; }
.panel > .fx i:nth-child(8) { --bx: -8px; --by: -96px; --r: -520deg; }
.panel > .fx i:nth-child(9) { --bx: 12px; --by: -84px; --r: 600deg; }
.panel > .fx i:nth-child(10) { --bx: 30px; --by: -56px; --r: -420deg; }
.panel > .fx i:nth-child(11) { --bx: 50px; --by: -80px; --r: 720deg; }
.panel > .fx i:nth-child(12) { --bx: 70px; --by: -46px; --r: -360deg; }
.panel > .fx i:nth-child(13) { --bx: 88px; --by: -70px; --r: 480deg; }
.panel > .fx i:nth-child(14) { --bx: -120px; --by: -110px; --r: -640deg; }
.panel > .fx i:nth-child(15) { --bx: -60px; --by: -120px; --r: 300deg; }
.panel > .fx i:nth-child(16) { --bx: 40px; --by: -116px; --r: -560deg; }
.wrap.is-open[data-hit="a"] .panel > .fx i { animation: g-burst 1.4s cubic-bezier(.15, .7, .3, 1) both; }
.wrap.is-open[data-hit="b"] .panel > .fx i { animation: g-burst2 1.4s cubic-bezier(.15, .7, .3, 1) both; }

/* ---- header ---- */
.head { min-height: 82px; padding: 14px 14px 14px 88px; gap: 6px; border: 0; border-radius: 0; overflow: hidden;
  background: radial-gradient(90% 140% at 0% 0%, rgba(46, 196, 182, .22) 0%, transparent 60%), linear-gradient(180deg, #0B1F3A, #0A1C36); border-bottom: 1px solid var(--edge); }
.head::before, .head::after { content: none; }
.hface { z-index: 1; left: 18px; top: 22px; width: 54px; height: 54px; }
.wrap.is-open .hface { animation: g-pop .5s .12s both; }
.hface.nod { animation: g-rock .6s ease-in-out; }
.htext, .hbtn { position: relative; z-index: 1; }
.htext h2 { font: 900 22px/1 var(--body); letter-spacing: -.02em; color: #fff; text-shadow: none; text-transform: none; white-space: nowrap; }
/* the title says who this is; the subtitle only repeated it, and it pushed the
   header to two lines once the new-chat button shows */
.htext p { display: none; }
.hbtn, .head .hbtn { width: 42px; height: 42px; border: 1px solid rgba(201, 214, 230, .28); background: rgba(255, 255, 255, .06); color: #fff; box-shadow: none; transition: background .2s, border-color .2s, transform .2s var(--spring); }
.hbtn:hover { transform: none; background: rgba(46, 196, 182, .16); border-color: var(--aqua); box-shadow: none; }
.hbtn:active { transform: scale(.92); }
.hbtn .ic, .head .hbtn .ic { width: 18px; height: 18px; stroke-width: 2.5; }
.wrap.skinned .hbtn.vtog[aria-pressed="true"], .wrap.skinned .hbtn.vtog[aria-pressed="true"]:hover { background: var(--aqua); color: var(--navy); border-color: var(--aqua); }
.hbtn.vtog[aria-pressed="true"]::after { background: #fff; border-color: var(--navy); }
.hbtn.vtog.cue, .hbtn.vtog.cue:hover { background: var(--aqua); color: var(--navy); border-color: var(--aqua); }
.hbtn.vtog.cue::before { border-color: var(--aqua); }
.head :focus-visible, .strip :focus-visible { outline-color: var(--aqua); }

/* call or text, and a real person: one slim band */
.strip, :host([data-theme="dark"]) .strip { position: relative; gap: 8px; padding: 6px 14px; white-space: nowrap; background: #081830; border: 0; border-bottom: 1px solid var(--edge); font: 600 15px/1.2 var(--body); color: var(--soft); }
.strip::before { content: none; }
.strip a { min-height: 44px; padding: 4px 2px; gap: 7px; color: var(--soft); white-space: nowrap; }
.strip a b { font: 800 18px/1 var(--body); letter-spacing: -.01em; color: #fff; }
.strip .ic { width: 18px; height: 18px; color: var(--aqua); }
.strip button { flex: none; white-space: nowrap; min-height: 44px; padding: 0 15px 0 12px; gap: 8px; background: transparent; color: #fff; border: 1.5px solid var(--aqua); border-radius: 999px; font: 800 15px/1 var(--body); letter-spacing: 0; text-transform: none; box-shadow: none; transition: background .2s, color .2s; }
.strip button .ic { color: var(--aqua); }
.strip button:hover { transform: none; background: var(--aqua); color: var(--navy); }
.strip button:hover .ic { color: var(--navy); }

/* how I work */
.howto { gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--edge); background: #081830; font: 700 15px/1 var(--body); }
/* the three buttons explain themselves; the label made the row overflow */
.how-k { display: none; margin-right: 2px; color: #fff; font: 800 15px/1 var(--body); letter-spacing: 0; text-transform: none; }
.how-b { flex: 1 1 0; justify-content: center; min-height: 42px; gap: 7px; padding: 0 10px; border: 1px solid rgba(201, 214, 230, .3); background: rgba(255, 255, 255, .05); color: #fff; font: 700 15px/1 var(--body); transition: background .2s, border-color .2s; }
.how-b .ic { width: 16px; height: 16px; color: var(--aqua); }
.how-b:hover, .how-b:focus-visible { border-color: var(--aqua); background: rgba(46, 196, 182, .14); }
.how-b:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.how-b.on, .how-b.snd.cue { background: var(--aqua); border-color: var(--aqua); color: var(--navy); animation: none; }
.how-b.on .ic, .how-b.snd.cue .ic { color: var(--navy); }

.scroller { padding: 18px 16px 24px; background: radial-gradient(70% 30% at 100% 0%, rgba(46, 196, 182, .14), transparent 70%), radial-gradient(60% 30% at 0% 100%, rgba(47, 90, 146, .25), transparent 70%), #0A1C36; }
/* room to scroll the last line clear of the "Tap here and talk" tip */
.panel:has(.composer.tip-mic) .scroller { padding-bottom: 78px; }
.scroller::-webkit-scrollbar { width: 8px; }
.scroller::-webkit-scrollbar-thumb { background: rgba(201, 214, 230, .28); border: 2px solid #0A1C36; border-radius: 8px; }

/* ---- welcome: the shark on his stage ----
   A grid card, so the words set its height. Left: who he is, his line in a
   white bubble, and the line that changes. Right: the shark, tall enough to
   stand out over the top of the card. --px and --py come from the widget as
   the mouse moves; the card leans a little toward it. */
.stage, :host([data-theme="dark"]) .stage {
  --sh: 292px; --sw: calc(var(--sh) * .991);
  display: grid; grid-template-columns: minmax(0, 1fr) 168px; grid-template-rows: auto auto 1fr; row-gap: 12px;
  height: auto; min-height: 236px; margin: 30px 0 0; padding: 20px 0 18px 18px;
  overflow: visible; isolation: isolate; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  border: 1.5px solid transparent; border-radius: 22px; color: #fff;
  background: linear-gradient(#071429, #071429) padding-box, linear-gradient(140deg, var(--aqua) 0%, #2F5A92 50%, rgba(46, 196, 182, .5) 100%) border-box;
  box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .9), 0 0 40px -18px rgba(46, 196, 182, .8);
  transform: perspective(900px) rotateY(calc(var(--px, 0) * 3deg)) rotateX(calc(var(--py, 0) * -2deg)); transition: transform .35s ease-out; }
.stage .fx { position: absolute; inset: 0; pointer-events: none; }
.stage .fx i { position: absolute; display: block; }
.stage .fx.back, .stage .fx.front { border-radius: 20.5px; overflow: hidden; }
.stage .fx.back { z-index: 0; }
.stage .fx.front { z-index: 1; }
.stage .hero { display: none; }

/* behind him: the empty stage, two slow beams, a few lamps */
.stage .fx.back::before { content: ""; position: absolute; inset: -6% -5% -4%; background: url("gofish-stage.webp") 70% 40% / cover no-repeat; filter: brightness(1.05) saturate(1.1);
  transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -4px), 0); transition: transform .35s ease-out; }
.stage .fx.back::after { content: none; }
.stage .fx.back i:nth-child(-n+2) { top: -30%; width: 70%; height: 200%; mix-blend-mode: screen; filter: blur(4px); }
.stage .fx.back i:nth-child(1) { left: 34%; transform-origin: 30% 0; animation: g-sweep 9s ease-in-out infinite; background: conic-gradient(from 156deg at 30% 0, transparent 0, rgba(46, 196, 182, .42) 8deg, rgba(46, 196, 182, .08) 16deg, transparent 21deg); }
.stage .fx.back i:nth-child(2) { right: -16%; transform-origin: 70% 0; animation: g-sweep2 11s ease-in-out infinite; background: conic-gradient(from 183deg at 70% 0, transparent 0, rgba(255, 255, 255, .08) 5deg, rgba(200, 235, 255, .3) 12deg, transparent 20deg); }
.stage .fx.back i:nth-child(n+3) { display: none; }
/* a shade behind the words */
.stage .fx.front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 41, .96) 0%, rgba(7, 20, 41, .86) 44%, rgba(7, 20, 41, .25) 70%, rgba(7, 20, 41, 0) 100%), linear-gradient(0deg, rgba(7, 20, 41, .75), rgba(7, 20, 41, 0) 40%); }
.stage .fx.front i { display: none; }

/* the shark. His picture loads once the chat is opened */
.stage .fx.top { z-index: 2; inset: auto; right: -22px; bottom: 0; width: var(--sw); height: var(--sh); max-width: none; margin: 0;
  background: no-repeat 50% 100% / contain;
  filter: drop-shadow(0 0 16px rgba(46, 196, 182, .45)) drop-shadow(0 12px 14px rgba(0, 0, 0, .5));
  transform-origin: 50% 100%; translate: calc(var(--px, 0) * 6px) 0; transition: translate .3s ease-out; }
.wrap.is-open .stage .fx.top { background-image: url("gofish-shark.webp"); animation: g-arrive .7s var(--spring) .1s backwards; }
.stage .fx.top i { display: none; }

/* who he is */
.say, :host([data-theme="dark"]) .say { position: relative; z-index: 3; grid-column: 1; grid-row: 1; inset: auto; width: auto; margin: 0; padding: 0; display: block; background: none; border: 0; border-radius: 0; box-shadow: none; text-align: left; transform: none; translate: none; color: #fff; }
.say::before, .say::after { display: none; }
.wrap.is-open .say { animation: g-rise .5s var(--ease) .15s both; }
.say h3 { margin: 0; font: 900 36px/.95 var(--body); letter-spacing: -.03em; text-transform: none; color: #fff; text-shadow: 0 2px 14px rgba(7, 20, 41, .9); transform: none; }
.say h3 em, :host([data-theme="dark"]) .say h3 em { display: block; font-style: normal; color: var(--aqua); text-shadow: 0 0 22px rgba(46, 196, 182, .55); }

/* his line, in a white bubble pointing at him */
.caption, :host([data-theme="dark"]) .caption { position: relative; z-index: 3; grid-column: 1; grid-row: 2; inset: auto; display: block; width: auto; max-width: none; margin: 0 10px 0 0; padding: 11px 13px 12px; border: 0; border-radius: 16px;
  background: #fff; color: var(--navy); font: 700 16px/1.38 var(--body); text-align: left; text-shadow: none; transform: none; rotate: none;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .8); }
.caption::before { display: none; }
.caption::after { content: ""; display: block; position: absolute; right: -6px; top: 18px; width: 13px; height: 13px; border: 0; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.wrap.is-open .caption { animation: g-rise .5s var(--ease) .3s both; }

/* more than a chatbot: a glass chip whose line changes */
.more { position: relative; z-index: 3; grid-column: 1; grid-row: 3; align-self: end; inset: auto; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: #fff; font: 700 15px/1.25 var(--body); }
.wrap.is-open .more { animation: g-rise .5s var(--ease) .45s both; }
.more-k { margin: 0; opacity: 1; color: #fff; font: 800 15px/1.2 var(--body); letter-spacing: 0; text-transform: none; }
.more-w { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(11, 31, 58, .8); box-shadow: inset 0 0 0 1.5px rgba(46, 196, 182, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.more-w::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.more-t { color: #fff; white-space: nowrap; }

/* tap him and he rocks out: the lights flare and confetti flies */
.wrap.is-open[data-hit="a"] .stage .fx.top { animation: g-rock .8s ease-in-out; }
.wrap.is-open[data-hit="b"] .stage .fx.top { animation: g-rock2 .8s ease-in-out; }
.wrap[data-hit="a"] .stage .fx.back { animation: g-flare .8s ease-out; }
.wrap[data-hit="b"] .stage .fx.back { animation: g-flare2 .8s ease-out; }

/* ---- topics ---- */
.tilehead { margin: 24px 2px 14px; gap: 12px; }
.tilehead h3 { font: 900 21px/1.1 var(--body); letter-spacing: -.02em; text-transform: none; color: #fff; }
.tilehead h3 span { background: none; }
.tilehead .zig, :host([data-theme="dark"]) .tilehead .zig { flex: none; width: 26px; height: 18px; opacity: 1; animation: none;
  background: linear-gradient(var(--aqua), var(--aqua)) 0 100% no-repeat, linear-gradient(var(--aqua), var(--aqua)) 7px 100% no-repeat, linear-gradient(var(--aqua), var(--aqua)) 14px 100% no-repeat, linear-gradient(var(--aqua), var(--aqua)) 21px 100% no-repeat;
  background-size: 4px 40%, 4px 90%, 4px 60%, 4px 100%; }
.wrap.thinking .tilehead .zig { animation: g-eq .6s ease-in-out infinite; }

.tiles { gap: 12px; padding: 0; }
.tile, .tile.red, .tile.ink, .tile.glove, :host([data-theme="dark"]) .tile.ink { grid-template-columns: 40px minmax(0, 1fr); column-gap: 11px; row-gap: 4px; min-height: 80px; padding: 13px 12px; overflow: hidden;
  border: 1px solid var(--edge); border-radius: 18px; background: var(--glass), #102442; color: #fff; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .9); transform: none;
  transition: transform .22s var(--spring), box-shadow .22s, border-color .22s, background .22s; }
.wrap.is-open .tile { animation: g-pop .45s var(--ease) backwards; animation-delay: calc(.35s + var(--i) * 45ms); }
.tile:hover, .tile:focus-visible { transform: translateY(-3px); border-color: var(--aqua); box-shadow: var(--glow); }
.tile:active { transform: scale(.97); }
.tile .ti, .tile.red .ti, .tile.ink .ti, .tile.glove .ti { width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(46, 196, 182, .15); color: var(--aqua); box-shadow: inset 0 0 0 1px rgba(46, 196, 182, .45); }
.tile .ti .ic { width: 20px; height: 20px; }
.tile b { font: 800 18px/1.1 var(--body); letter-spacing: -.01em; text-transform: none; }
.tile small, .tile.ink small, .tile.glove small { font: 600 15px/1.3 var(--body); color: var(--soft); }
/* the two headline topics are lit aqua */
.tile.red { background: linear-gradient(160deg, #46D6C9, #2EC4B6 60%, #23A99C); color: var(--navy); border-color: transparent; box-shadow: 0 14px 28px -14px rgba(46, 196, 182, .9); }
.tile.red small { color: var(--navy); font-weight: 700; }
.tile.red .ti { background: var(--navy); color: var(--aqua); box-shadow: none; }
.tile.red:hover, .tile.red:focus-visible { border-color: #fff; box-shadow: 0 0 0 1.5px #fff, 0 16px 32px -12px rgba(46, 196, 182, 1); }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%); background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .22) 50%, transparent 68%); }
.tile:hover::after, .tile:focus-visible::after { transform: translateX(130%); transition: transform .6s ease; }
.ownq { margin: 18px 4px 0; font: 600 15px/1.4 var(--body); color: var(--soft); }

/* ---- conversation ---- */
.log { gap: 20px; }
.u, :host([data-theme="dark"]) .u { max-width: 86%; background: linear-gradient(160deg, #46D6C9, #2EC4B6); color: var(--navy); border: 0; border-radius: 20px 20px 6px 20px; padding: 11px 16px; font: 700 16px/1.45 var(--body); box-shadow: 0 12px 24px -14px rgba(46, 196, 182, .9); }
.bot { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 14px; }
.av { width: 44px; height: 44px; margin-top: 12px; }
.typing .av { margin-top: 10px; }
.bot.in .av { animation: g-pop .45s both; }
.bubble, :host([data-theme="dark"]) .bubble { background: var(--glass), #102442; border: 1px solid var(--edge); border-radius: 6px 20px 20px 20px; padding: 14px 16px 15px; box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .95), inset 3px 0 0 var(--aqua); }
.bubble::before { display: none; }
.bot.in .bubble { animation: g-rise .4s var(--ease) .05s backwards; }
.bubble p { margin-bottom: 12px; font: 500 16px/1.6 var(--body); color: var(--body-c); }
.who, :host([data-theme="dark"]) .who { margin-bottom: 7px; font: 800 15px/1 var(--body); letter-spacing: 0 !important; color: var(--aqua); }
.kick, :host([data-theme="dark"]) .kick, .ghead .kick { position: relative; display: block; margin: 4px 0 12px 2px; padding: 0 0 0 14px; background: none; color: #fff; border: 0; font: 900 18px/1.15 var(--body); letter-spacing: -.01em; text-transform: none; transform: none; box-shadow: none; }
.kick::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 4px; background: var(--aqua); }

/* the short guide: numbered panels */
.ghead { margin-bottom: 0; }
.ghead img, .ghead .gn { display: none; }
.secs { gap: 10px; }
.sec { counter-increment: p; }
.sec, .sec.v1, .sec.v2, .sec.v3, .sec.v4, :host([data-theme="dark"]) .sec.v1 { border: 1px solid var(--edge); border-radius: 18px; padding: 14px 16px 16px; background: var(--glass), #0F2240; color: #fff; box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 1); transform: none; }
.sec::after { display: none; }
.bot.in .sec { animation: g-rise .45s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * 90ms); }
.sec .sh { margin-bottom: 8px; gap: 12px; }
.sec .num { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; }
.sec .num svg, .sec .num span, .sec.v1 .num span, .sec.v2 .num span, .sec.v3 .num span, .sec.v4 .num span { display: none; }
.sec .num::after { content: counter(p, decimal-leading-zero); font: 800 34px/.85 var(--cond); color: var(--aqua); text-shadow: 0 0 16px rgba(46, 196, 182, .45); }
.sec h4 { font: 800 18px/1.15 var(--body); letter-spacing: -.01em; text-transform: none; }
.sec .si { display: none; }
.sec p { font: 500 16px/1.58 var(--body); color: var(--body-c); }

/* links: backstage passes. A dotted tear line and two notches before the stub */
.links { gap: 10px; }
.card, :host([data-theme="dark"]) .card { grid-template-columns: 42px minmax(0, 1fr) 36px; gap: 12px; min-height: 68px; padding: 12px 14px 12px 12px; border: 1px solid rgba(46, 196, 182, .45); border-radius: 18px; transform: none; color: #fff;
  background: repeating-linear-gradient(180deg, rgba(201, 214, 230, .5) 0 4px, transparent 4px 9px) right 61px top 0 / 1px 100% no-repeat, var(--glass), #102442;
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 1); transition: transform .22s var(--spring), border-color .2s, box-shadow .2s; }
.card::before, .card::after { content: ""; position: absolute; right: 54px; width: 15px; height: 15px; border-radius: 50%; background: #0A1C36; border: 1px solid rgba(46, 196, 182, .45); pointer-events: none; }
.card::before { top: -9px; clip-path: inset(8px 0 0 0); }
.card::after { bottom: -9px; clip-path: inset(0 0 8px 0); }
.bot.in .card { animation: g-rise .45s var(--ease) backwards; animation-delay: calc(.25s + var(--i) * 80ms); }
.card:hover, .card:focus-visible { transform: translateY(-2px); border-color: var(--aqua); box-shadow: var(--glow); }
.card .ci, .card:nth-child(1) .ci, .card:nth-child(2) .ci, :host([data-theme="dark"]) .card:nth-child(2) .ci { width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(46, 196, 182, .15); color: var(--aqua); box-shadow: inset 0 0 0 1px rgba(46, 196, 182, .45); }
.card .ct { font: 800 17px/1.15 var(--body); letter-spacing: -.01em; text-transform: none; }
.card .cw { margin-top: 3px; font: 600 15px/1.3 var(--body); color: var(--soft); }
.card .go { width: 36px; height: 36px; border: 0; background: var(--aqua); color: var(--navy); }
.card:hover .go { transform: translateX(3px); }
.card .go .ic { width: 16px; height: 16px; stroke-width: 3; }

/* follow-up questions */
.follow { gap: 10px; }
.chip, .chip:nth-child(2), .chip:nth-child(3), :host([data-theme="dark"]) .chip, :host([data-theme="dark"]) .chip:nth-child(2) { gap: 0; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--aqua); background: rgba(46, 196, 182, .1); color: #fff; font: 700 16px/1.3 var(--body); box-shadow: none; transition: background .18s, color .18s, transform .18s var(--spring); }
.chip .q { display: none; }
.chip:hover, .chip:focus-visible { transform: translateY(-2px); background: var(--aqua); color: var(--navy); box-shadow: 0 10px 22px -10px rgba(46, 196, 182, .9); }
.chip:active { transform: scale(.96); }
.bot.in .chip { animation: g-pop .4s var(--ease) backwards; animation-delay: calc(.35s + var(--i) * 70ms); }

/* thinking: three aqua bars keep time */
.typing { gap: 12px; }
.thought { gap: 12px; background: var(--glass), #102442; border: 1px solid var(--edge); border-radius: 18px; padding: 12px 16px; box-shadow: none; animation: g-rise .35s both; }
.thought::before, .thought::after { display: none; }
.dots { align-items: flex-end; height: 18px; gap: 4px; }
.dots i, .dots i:nth-child(2), .dots i:nth-child(3), :host([data-theme="dark"]) .dots i:nth-child(2) { width: 4px; height: 18px; border: 0; border-radius: 2px; background: var(--aqua); transform-origin: 50% 100%; animation: g-bar .7s ease-in-out infinite; }
.dots i:nth-child(2), :host([data-theme="dark"]) .dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.tl { font: 700 16px/1 var(--body); letter-spacing: 0; text-transform: none; color: #fff; }

/* ---- talk to a real person ---- */
.contact { border: 1.5px solid rgba(46, 196, 182, .6); border-radius: 22px; background: #0F2240; box-shadow: 0 0 40px -16px rgba(46, 196, 182, .8); }
.bot.in .contact { animation: g-pop .5s var(--ease) .2s backwards; }
.ctop { padding: 18px 18px 16px; border: 0; color: #fff; background: radial-gradient(80% 140% at 100% 0%, rgba(46, 196, 182, .35), transparent 60%), linear-gradient(135deg, #2F5A92, #13294A); }
.ctop h4 { font: 900 24px/1.1 var(--body); letter-spacing: -.02em; text-transform: none; text-shadow: none; }
.ctop p { margin-top: 6px; font: 600 16px/1.4 var(--body); color: var(--body-c); }
.cbody { padding: 16px 16px 18px; }
.call, :host([data-theme="dark"]) .call { gap: 14px; min-height: 68px; padding: 11px 16px 11px 12px; border: 1px solid rgba(46, 196, 182, .5); border-radius: 16px; background: #0A1C36; color: #fff; box-shadow: none; }
.call:hover, .call:focus-visible { transform: translateY(-2px); border-color: var(--aqua); box-shadow: var(--glow); }
.call .cc { width: 46px; height: 46px; border: 0; background: var(--aqua); color: var(--navy); }
.call small { font: 700 15px/1.2 var(--body); color: var(--soft); }
.call b { margin-top: 2px; font: 900 26px/1 var(--body); letter-spacing: -.01em; color: #fff; }
.or { margin: 16px 0 12px; font: 700 16px/1.4 var(--body); color: #fff; }
.fgrid { gap: 12px; }
.f label { margin: 0 0 6px 2px; font: 800 15px/1.2 var(--body); letter-spacing: 0; text-transform: none; color: #fff; }
.f label span { font: 600 15px/1.2 var(--body); color: var(--soft); }
.f input, .f textarea, :host([data-theme="dark"]) .f input, :host([data-theme="dark"]) .f textarea { min-height: 48px; padding: 11px 13px; border: 1px solid rgba(201, 214, 230, .32); border-radius: 12px; background: #081830; color: #fff; font: 500 16px/1.4 var(--body); }
.f input:focus, .f textarea:focus, :host([data-theme="dark"]) .f input:focus, :host([data-theme="dark"]) .f textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(46, 196, 182, .28); }
.f [aria-invalid="true"] { border-color: #F2777B; box-shadow: 0 0 0 3px rgba(242, 119, 123, .25); }
.fe, .ferr, :host([data-theme="dark"]) .fe, :host([data-theme="dark"]) .ferr { font: 700 15px/1.35 var(--body); color: #FF9EA1; }
.btn, :host([data-theme="dark"]) .btn { min-height: 52px; padding: 12px 20px; gap: 10px; border: 0; border-radius: 999px; background: var(--aqua); color: var(--navy); font: 800 17px/1 var(--body); letter-spacing: 0; text-transform: none; box-shadow: 0 14px 26px -14px rgba(46, 196, 182, .95); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(46, 196, 182, 1); filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn.ghost, :host([data-theme="dark"]) .btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(201, 214, 230, .45); box-shadow: none; }
.btn.ghost:hover { border-color: var(--aqua); }
.done { gap: 14px; padding: 16px; border: 1.5px solid var(--aqua); border-radius: 16px; background: rgba(46, 196, 182, .12); color: #fff; box-shadow: none; animation: g-pop .45s both; }
.done p { font: 700 16px/1.45 var(--body); }
.done:focus { outline: none; }
.done .ck { width: 42px; height: 42px; border: 0; background: var(--aqua); color: var(--navy); }
.done .sent { display: none; }
/* a message that went through gets stamped */
.done .sentt { display: grid; right: 12px; top: -16px; width: auto; height: auto; padding: 5px 10px 4px; border: 2px solid var(--aqua); border-radius: 7px; background: var(--navy); color: var(--aqua); font: 800 17px/1 var(--cond); letter-spacing: .08em; transform: rotate(8deg); box-shadow: 0 0 18px -4px var(--aqua); animation: g-stamp .45s .2s both; }

/* something went wrong */
.bubble.err, :host([data-theme="dark"]) .bubble.err { border-color: rgba(242, 119, 123, .55); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .95), inset 3px 0 0 #F2777B; }
.row { gap: 10px; margin-top: 14px; }
.row .btn { min-height: 46px; font-size: 16px; padding: 10px 16px; white-space: nowrap; }

/* the demo button under an answer: the one orange thing, like on the site */
.acta { min-height: 54px; border-radius: 999px; background: #CF4A1C; color: #fff; font: 800 17px/1.2 var(--body); box-shadow: 0 14px 28px -14px rgba(207, 74, 28, .9); }
.acta:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ---- under the conversation ---- */
.offline { padding: 9px 16px; background: #081830; border-top: 1px solid var(--edge); font: 600 15px/1.4 var(--body); color: var(--soft); }
.vlisten { gap: 12px; padding: 12px 16px; background: linear-gradient(90deg, rgba(46, 196, 182, .22), rgba(46, 196, 182, .06)), #0B1F3A; border-top: 1px solid rgba(46, 196, 182, .5); font: 700 16px/1.35 var(--body); color: #fff; }
.vlisten i { width: 12px; height: 12px; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); animation: g-blink 1s ease-in-out infinite; }
.vlisten.err { background: rgba(242, 119, 123, .14), #0B1F3A; background: linear-gradient(rgba(242, 119, 123, .16), rgba(242, 119, 123, .16)), #0B1F3A; border-top-color: rgba(242, 119, 123, .6); color: #fff; font-weight: 700; }

/* composer: the mic is the big, loud button */
.composer { position: relative; gap: 10px; padding: 12px 14px 13px; background: #081830; border-top: 1px solid rgba(46, 196, 182, .3); border-radius: 0; }
.composer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, var(--aqua), transparent) 0 0 / 50% 100% no-repeat; }
.wrap.thinking .composer::before { opacity: 1; animation: g-load 1s linear infinite; }
.composer textarea, :host([data-theme="dark"]) .composer textarea { min-height: 52px; padding: 14px 16px; border: 1px solid rgba(201, 214, 230, .3); border-radius: 18px; background: #0F2240; color: #fff; font: 500 16px/1.4 var(--body); }
.composer textarea::placeholder { color: var(--soft); }
.composer textarea:focus, :host([data-theme="dark"]) .composer textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(46, 196, 182, .22); }
.mic { width: 52px; height: 52px; border: 0; background: var(--aqua); color: var(--navy); box-shadow: 0 10px 22px -10px rgba(46, 196, 182, .95); }
.mic .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.mic:hover { transform: scale(1.06); }
.mic.on { background: #fff; color: var(--navy); border: 0; }
.mic.on::after { border-color: var(--aqua); }
.tip-mic .mic:not(.on) { background: var(--aqua); color: var(--navy); border: 0; }
.tip-mic .mic:not(.on)::after { border-color: var(--aqua); }
.mic-tip { right: -6px; padding: 11px 15px; border-radius: 14px; background: #fff; color: var(--navy); font: 800 16px/1.2 var(--body); box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .6), 0 0 0 2px var(--aqua); }
/* when a note shows between the conversation and the composer, the tip rises above it */
.panel:has(.offline:not([hidden])) .mic-tip, .panel:has(.vlisten:not([hidden])) .mic-tip { bottom: calc(100% + 84px); }
.mic-tip i { right: 22px; background: #fff; box-shadow: 2px 2px 0 0 var(--aqua); }
.send, :host([data-theme="dark"]) .send { width: 52px; height: 52px; border: 1px solid rgba(201, 214, 230, .3); border-radius: 50%; background: #13294A; color: var(--aqua); box-shadow: none; }
.send .ic { width: 22px; height: 22px; stroke-width: 2.8; }
.send:not([disabled]) { background: var(--aqua); color: var(--navy); border-color: var(--aqua); box-shadow: 0 10px 22px -10px rgba(46, 196, 182, .95); }
.send:not([disabled]):hover { transform: translateY(-2px) scale(1.04); }
.send:not([disabled]):active { transform: scale(.94); }
.send[disabled] { opacity: .55; }

.tfw { gap: 10px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); background: #081830; border-top: 1px solid var(--edge); font: 600 15px/1.3 var(--body); color: var(--soft); }
.tfw b { font-weight: 800; color: #fff; }
.tfw-priv, .vi-priv { font: 600 15px/1.35 var(--body); color: var(--soft); }
.tfw-priv { font-size: 15px !important; }

/* ---- the intro: the first thing a visitor sees when the chat opens ----
   First a clip: the shark playing on his stage, his lines arriving in a white
   bubble, sound off until you tap. Under it, who he is, the four ways to use
   him in one grouped card, and Start, sized so Start sits on the first
   screen of a phone. */
.vintro, .vintro.has-reel { container-type: size; padding: 16px 18px 12px; color: #fff; border-radius: 0;
  background: radial-gradient(120% 30% at 100% 0%, rgba(46, 196, 182, .16), transparent 70%), #0A1C36; }
.vintro .vi-in { max-width: 404px; gap: 13px; }
.vintro :focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

.vi-reel { height: 200px; height: clamp(124px, calc(100cqh - 470px), 250px); margin: 0; border-radius: 20px; isolation: isolate; border: 1.5px solid transparent; overflow: hidden;
  background: linear-gradient(90deg, rgba(7, 20, 41, .92) 0%, rgba(7, 20, 41, .55) 48%, rgba(7, 20, 41, .05) 100%) padding-box, url("gofish-stage.webp") 62% 42% / cover padding-box, linear-gradient(140deg, var(--aqua) 0%, #2F5A92 50%, rgba(46, 196, 182, .5) 100%) border-box;
  box-shadow: 0 22px 40px -24px rgba(0, 0, 0, 1), 0 0 34px -16px rgba(46, 196, 182, .8); }
.vi-reel::before { content: ""; position: absolute; z-index: 0; left: 46%; top: -20%; width: 70%; height: 160%; pointer-events: none; mix-blend-mode: screen; transform-origin: 30% 0; animation: g-sweep 9s ease-in-out infinite; filter: blur(4px);
  background: conic-gradient(from 156deg at 30% 0, transparent 0, rgba(46, 196, 182, .4) 8deg, rgba(46, 196, 182, .08) 16deg, transparent 21deg); }
.rl-pic { z-index: 1; height: 96%; bottom: 0; left: auto; right: -2%; translate: none; aspect-ratio: .991; transform-origin: 50% 100%;
  filter: drop-shadow(0 0 14px rgba(46, 196, 182, .45)) drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); animation: g-arrive .7s var(--spring) .1s backwards; }
.rl-pic img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.rl-bars { top: 11px; left: 14px; right: 14px; gap: 5px; }
.rl-bars i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.rl-bars b { background: var(--aqua); border-radius: 4px; }
/* his lines: a white bubble beside him, pointing at him */
.rl-cap { left: 14px; right: 38%; top: auto; bottom: 14px; text-align: left; font: 700 16px/1.35 var(--body); color: var(--navy); }
.rl-cap span { position: relative; display: inline-block; padding: 10px 13px 11px; border-radius: 16px; background: #fff; color: var(--navy); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .9); animation: g-pop .35s var(--spring); }
.rl-cap span::after { content: ""; position: absolute; right: -6px; bottom: 14px; width: 13px; height: 13px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.rl-cap .rl-dots { color: var(--blue); padding: 12px 14px !important; }
.rl-cap .rl-dots i { width: 7px; height: 7px; }
.rl-snd, .vi-reel .rl-snd:not(.on) { top: 24px; left: 14px; right: auto; gap: 7px; min-height: 40px; padding: 0 15px 0 12px; background: rgba(7, 20, 41, .7); color: #fff; box-shadow: inset 0 0 0 1.5px var(--aqua); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 800 15px/1 var(--body); animation: none; }
.rl-snd .ic { width: 17px; height: 17px; color: var(--aqua); }
.rl-snd.on { background: var(--aqua); color: var(--navy); box-shadow: none; }
.rl-snd.on .ic { color: var(--navy); }
/* when the clip ends, Play again takes the bubble's place */
.vi-reel.done .rl-cap { display: none; }
.rl-again { left: 14px; top: auto; bottom: 14px; translate: none; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; background: var(--aqua); color: var(--navy); font: 800 16px/1 var(--body); text-transform: none; box-shadow: 0 12px 24px -12px rgba(46, 196, 182, .95); }
.rl-again .ic { width: 17px; height: 17px; }

.vintro .vi-pic, .vintro.has-reel .vi-pic { display: none; }
.vintro .vi-hero { display: block; padding: 2px 2px 0; }
.vintro .vi-hero h2, .vintro.has-reel .vi-hero h2 { margin: 0 0 7px; font: 900 26px/1.08 var(--body); letter-spacing: -.025em; color: #fff; }
.vintro .vi-lead, .vintro.has-reel .vi-lead { font: 500 16px/1.45 var(--body); color: var(--body-c); opacity: 1; }

.vi-steps { gap: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--edge); background: var(--glass), #0F2240; }
.vi-steps li { position: relative; }
.vi-steps li + li::before { content: ""; position: absolute; z-index: 1; left: 70px; right: 0; top: 0; height: 1px; background: var(--edge); }
.vi-step, .vi-step.vi-person, .vi-big, .vintro .vi-big:not(.on) { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; min-height: 62px; padding: 10px 16px; border: 0; border-radius: 0; background: transparent; color: #fff; box-shadow: none; transition: background .2s; }
button.vi-step { padding-right: 40px; }
button.vi-step::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--aqua); border-width: 2.5px 2.5px 0 0; transform: rotate(45deg); transition: transform .2s var(--spring); }
.vi-step:hover, button.vi-step:hover { transform: none; background: rgba(46, 196, 182, .08); }
button.vi-step:hover::after { transform: translateX(3px) rotate(45deg); }
.vintro .vi-step:focus-visible { outline: none; border-radius: 20px; box-shadow: inset 0 0 0 2px var(--aqua); }
.vi-ico, .vi-step .vi-ico, button.vi-step .vi-ico, .vi-big .vi-ico, .vintro .vi-big:not(.on) .vi-ico { width: 42px; height: 42px; border-radius: 13px; background: rgba(46, 196, 182, .15); color: var(--aqua); box-shadow: inset 0 0 0 1px rgba(46, 196, 182, .45); animation: none; }
.vi-ico > .ic, .vi-big .vi-ico > .ic { width: 21px; height: 21px; stroke-width: 2.3; }
.vintro .vi-big:not(.on) .vi-ico::after { border-color: var(--aqua); border-radius: 15px; }
/* step one, the voice, is lit until it is on */
.vintro .vi-big:not(.on) .vi-ico { background: var(--aqua); color: var(--navy); box-shadow: none; }
.vi-big.on { background: rgba(46, 196, 182, .1); }
.vi-big.on .vi-ico { background: var(--aqua); color: var(--navy); box-shadow: none; }
.vi-ok { right: -6px; bottom: -6px; width: 22px; height: 22px; background: #fff; color: var(--navy); border: 2px solid #0F2240; }
.vi-ok .ic { width: 12px; height: 12px; }
.vi-n { display: none; }
.vi-t b, .vi-big .vi-t b { font: 800 17px/1.25 var(--body); letter-spacing: -.01em; color: #fff; }
.vi-t small { margin-top: 2px; font: 600 15px/1.35 var(--body); color: var(--soft); opacity: 1; }

.vi-start { min-height: 56px; margin: 0; padding: 12px 20px; gap: 10px; border-radius: 999px; background: linear-gradient(160deg, #46D6C9, #2EC4B6 60%, #23A99C); color: var(--navy);
  font: 900 20px/1 var(--body); letter-spacing: -.01em; text-transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 30px -14px rgba(46, 196, 182, .95); }
.vi-start .ic { width: 21px; height: 21px; stroke-width: 2.8; transition: transform .2s var(--spring); }
.vi-start:hover { transform: translateY(-2px); filter: brightness(1.05); }
.vi-start:hover .ic { transform: translateX(3px); }
.vi-type { margin: -4px 0 -6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; color: #fff; font: 700 16px/1.2 var(--body); text-decoration: underline; text-decoration-color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 4px; opacity: 1; }
.vi-note { max-width: 38ch; align-self: center; font: 600 15px/1.45 var(--body); color: var(--soft); opacity: 1; text-align: center; }
.vi-priv { font-size: 15px; }
.vi-mark { padding: 2px 8px; font: 600 15px/1.3 var(--body); color: var(--soft); opacity: 1; }
.vi-mark b { color: #fff; }

/* ---- phones: a full-screen sheet, safe areas kept ---- */
@media (max-width: 480px) {
  :host, :host([data-theme="dark"]) { --L: 92px; }
  .launch .tag { font-size: 15px; min-height: 38px; padding: 0 13px 0 11px; right: calc(100% + 10px); left: auto; }
  .teaser { width: min(268px, calc(100vw - 32px)); }
  .teaser .tb, :host([data-theme="dark"]) .teaser .tb { padding: 14px 42px 15px 16px; }
  .teaser b { font-size: 23px; }
  .teaser small { font-size: 15px; }
  .panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; background: #0A1C36; }
  .head { min-height: 72px; padding: calc(12px + env(safe-area-inset-top, 0px)) calc(12px + env(safe-area-inset-right, 0px)) 12px calc(80px + env(safe-area-inset-left, 0px)); gap: 6px; }
  .hface { top: calc(18px + env(safe-area-inset-top, 0px)); left: calc(16px + env(safe-area-inset-left, 0px)); width: 50px; height: 50px; border: 0; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -6px 12px rgba(0, 0, 0, .45), 0 0 0 2.5px var(--aqua), 0 0 18px -2px rgba(46, 196, 182, .8); }
  .htext h2 { font-size: 21px; }
  .htext p { display: none; }
  /* 44px buttons need the room; "how this chat works" lives in the row below */
  .head .hbtn, .head .hbtn.vhelp, .head .hbtn.vtog { width: 44px; height: 44px; }
  .head .hbtn.vhelp { display: none; }
  .strip { padding-top: 6px; padding-bottom: 6px; }
  .strip a, .strip button { white-space: nowrap; }
  .strip a span { display: none; }
  .howto { gap: 7px; padding: 8px 14px; }
  .how-k { display: none; }
  .how-b { flex: 1 1 0; justify-content: center; min-height: 44px; padding: 0 10px; }
  .scroller { padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(16px + env(safe-area-inset-right, 0px)); }
  .scroller { padding-top: 10px; }
  .stage, :host([data-theme="dark"]) .stage { --sh: 250px; grid-template-columns: minmax(0, 1fr) 132px; padding: 18px 0 16px 16px; min-height: 220px; margin-top: 26px; }
  .rl-cap { font-size: 15px; right: 34%; }
  .say h3 { font-size: 32px; }
  .caption, :host([data-theme="dark"]) .caption { font-size: 15px; }
  .tile, .tile.red, .tile.ink, .tile.glove, :host([data-theme="dark"]) .tile.ink { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; padding: 12px 11px; }
  .tile .ti, .tile.red .ti, .tile.ink .ti, .tile.glove .ti { width: 36px; height: 36px; }
  .tile b { font-size: 17px; }
  .mic { width: 50px; height: 50px; }
  .send, :host([data-theme="dark"]) .send { width: 50px; height: 50px; }
  .composer { padding: 10px calc(12px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px)); }
  .tfw.has-priv { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .tfw-priv .pv-l { display: none; }
  .tfw-priv .pv-s { display: inline; }
  .vintro, .vintro.has-reel { padding: calc(14px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px)); }
  .vintro .vi-in { gap: 12px; }
  .vi-reel { height: clamp(120px, calc(100cqh - 500px), 230px); }
  .vintro .vi-hero h2, .vintro.has-reel .vi-hero h2 { font-size: 24px; }
  .vi-step, .vi-step.vi-person, .vi-big, .vintro .vi-big:not(.on) { gap: 12px; padding: 9px 14px; min-height: 58px; }
  .vi-steps li + li::before { left: 66px; }
  .vi-t b, .vi-big .vi-t b { font-size: 16px; }
  .fgrid { grid-template-columns: 1fr; }
}
@media (max-width: 384px) {
  .stage, :host([data-theme="dark"]) .stage { --sh: 232px; grid-template-columns: minmax(0, 1fr) 118px; }
  .say h3 { font-size: 30px; }
  .how-b { gap: 0; padding: 0 6px; }
  .how-b .ic { display: none; }
  .strip { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .strip a b { font-size: 17px; }
  .strip button { padding: 0 12px 0 10px; }
  .vintro .vi-lead, .vintro.has-reel .vi-lead { font-size: 15px; }
}

/* reduced motion: a still shark, and nothing sweeps */
@media (prefers-reduced-motion: reduce) {
  .wrap.is-open .stage .fx.top { background-image: url("gofish-shark-still.webp"); }
  .rl-pic { background: url("gofish-shark-still.webp") 50% 100% / contain no-repeat; }
  .rl-pic img { visibility: hidden; }
  .panel::after, .tile::after, .panel > .fx { display: none; }
}

/* phones, round 22b (Ian's phone shot): the shark kept his own half of the stage, the bubble and chip
   were running over his face and body, and the "Tap here and talk" tip covered the topic tiles */
@media (max-width: 480px) {
  .stage, :host([data-theme="dark"]) .stage { --sh: 214px; grid-template-columns: 55% minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 214px; margin-top: 14px; padding: 16px 0 16px 15px; }
  .stage .fx.top { right: -10px; }
  .say h3 { font-size: 30px; }
  .caption, :host([data-theme="dark"]) .caption { align-self: end; margin-right: 4px; padding: 10px 12px 11px; font-size: 15px; line-height: 1.32; }
  .caption::after { top: auto; bottom: 22px; }
  .more { display: none; }
  .mic-tip { display: none !important; }
}
@media (max-width: 384px) {
  .stage, :host([data-theme="dark"]) .stage { --sh: 200px; grid-template-columns: 57% minmax(0, 1fr); }
  .say h3 { font-size: 28px; }
}

/* ---- Dec 3 2026 (Ian): the corner shark is a round badge again, no words, with the SAME guitar shark rocking out
   inside it (gofish-pop.webp is cut from gofish-shark.webp so every picture of him matches), plus light and pop. ---- */
.launch .tag { display: none !important; }
.launch .wig::before { content: ""; position: absolute; inset: -16%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(46, 196, 182, 0) 0deg, rgba(46, 196, 182, .75) 40deg, rgba(46, 196, 182, 0) 90deg, rgba(46, 196, 182, 0) 180deg, rgba(120, 230, 255, .6) 220deg, rgba(46, 196, 182, 0) 270deg);
  filter: blur(6px); animation: g-halo 4s linear infinite; }
.launch .face { background: radial-gradient(circle at 50% 35%, #1d4f86 0%, #0b1f3a 70%); }
.launch:hover .wig::before, .launch:focus-visible .wig::before { animation-duration: 1.2s; }
@keyframes g-halo { to { transform: rotate(360deg); } }
.launch .face img { animation: g-rock 1.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes g-rock { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .launch .wig::before, .launch .face img { animation: none; } }

/* ---- Dec 3 2026 (Ian): on the welcome stage the guide bubble covered the shark. He now sits smaller in his own right-hand
   column and the words keep to the left, at every width. ---- */
.stage, :host([data-theme="dark"]) .stage { --sh: 206px; grid-template-columns: minmax(0, 1fr) 51%; min-height: 236px; }
.stage .caption { font-size: 15px; }
.stage .fx.top { right: -26px; }
.caption, :host([data-theme="dark"]) .caption { margin-right: 8px; }
@media (max-width: 480px) {
  .stage, :host([data-theme="dark"]) .stage { --sh: 170px; grid-template-columns: minmax(0, 1fr) 48%; min-height: 214px; }
  .stage .fx.top { right: -20px; }
  .say h3 { font-size: 28px; }
}
@media (max-width: 384px) {
  .stage, :host([data-theme="dark"]) .stage { --sh: 160px; grid-template-columns: minmax(0, 1fr) 46%; }
  .say h3 { font-size: 26px; }
}

/* ---- Dec 3 2026: while his voice is off, the speaker button in the header says so out loud:
   a bright pill, "Tap to hear my voice", in place of the title. Once it's on it goes back to the
   small speaker and the title comes back. ---- */
.head:has(.hbtn.vtog[aria-pressed="false"]) .htext { display: none; }
.head .hbtn.vtog[aria-pressed="false"], .head .hbtn.vtog[aria-pressed="false"]:hover {
  width: auto; flex: 1 1 auto; min-width: 0; margin-right: 2px; padding: 0 16px 0 14px; gap: 9px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--aqua); border-color: var(--aqua); color: var(--navy);
  box-shadow: 0 0 22px -4px rgba(46, 196, 182, .9); animation: g-snd 1.8s ease-in-out infinite; }
.head .hbtn.vtog[aria-pressed="false"]::after {
  content: "Tap here to hear my voice"; position: static; width: auto; height: auto; border: 0; border-radius: 0; background: none;
  font: 800 16px/1.1 var(--body); letter-spacing: -.01em; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head .hbtn.vtog[aria-pressed="false"] .ic { flex: none; width: 20px; height: 20px; }
.head .hbtn.vtog[aria-pressed="false"]::before { content: none; }
/* the "new chat" button steps aside while the pill is showing, so the words always fit */
.head:has(.hbtn.vtog[aria-pressed="false"]) .hbtn:not(.vtog):not(:last-child) { display: none; }
@keyframes g-snd { 0%, 100% { box-shadow: 0 0 14px -4px rgba(46, 196, 182, .7); } 50% { box-shadow: 0 0 26px 0 rgba(46, 196, 182, 1); } }
@media (prefers-reduced-motion: reduce) { .head .hbtn.vtog[aria-pressed="false"] { animation: none; } }

/* ---- Dec 3 2026: the whole shark in the corner badge, legs and all. He stands in his circle, playing the
   full guitar animation (gofish-shark.webp, the same clip as the welcome stage), with his head and fin rising
   out of the top. The header avatar keeps the round head shot. ---- */
.launch .face img { opacity: 0; animation: none; }
.launch .face::after { content: ""; position: absolute; z-index: 2; left: 14%; width: 112%; bottom: 3%; aspect-ratio: 337 / 340;
  background: url("gofish-shark.webp") center bottom / contain no-repeat; pointer-events: none;
  filter: drop-shadow(0 5px 7px rgba(7, 20, 41, .5)); transform-origin: 50% 95%; animation: g-rock 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .launch .face::after { animation: none; background-image: url("gofish-shark-still.webp"); } }
@media (max-width: 400px) {
  .head .hbtn.vtog[aria-pressed="false"], .head .hbtn.vtog[aria-pressed="false"]:hover { padding: 0 10px; gap: 6px; }
  .head .hbtn.vtog[aria-pressed="false"]::after { font-size: 15px; letter-spacing: -.02em; }
  .head .hbtn.vtog[aria-pressed="false"] .ic { width: 18px; height: 18px; }
}
/* he's centered in the circle, so the guitar neck reaches past its right edge: the badge sits a little further
   in from the screen edge so the guitar never gets cut off */
.launch { right: 40px; }
@media (max-width: 480px) { .launch { right: 26px; } }

/* ======================================================================
   FinalWord engine parts (wp-ai-chatbot 2.10.0, GoFish build)
   TFC's design widget has its own controls; the plugin's widget names a few
   differently. When this skin was copied from the design folder, ".hbtn.snd"
   (and ":not(.snd)")
   became ".hbtn.vtog" (the read-aloud switch) and ".vmic" became ".mic".
   The rules below style the plugin's own parts in the backstage look: the
   speaker on each answer (.aloud), the recording notice (.priv) and the
   FinalWord credit (.credit), which sit under the typing box here instead of
   TFC's footer band (.tfw). Keep this block when a new skin comes from the
   design folder.
   ====================================================================== */
.aloud { color: var(--soft); }
.aloud:hover, .aloud.on { color: var(--navy); background: var(--aqua); }
.priv, .credit { color: var(--soft); font: 600 13px/1.35 var(--body); }
.priv { margin: 0 0 -2px; }
.priv a { color: #fff; white-space: nowrap; }
.credit a { color: var(--soft); }
.credit b { color: #fff; font-weight: 800; }
.mic.on::after { border-color: var(--aqua); }
