/* V2.1 "Glass everywhere" (Macky, 27 Nov 2026: "please make chat, leads forms, popups, bubbles (Maki voice bubbles),
   leads form etc. glass design"). LOOK ONLY, same words, same parts, same behaviour. The parts that were still flat
   now use the bubble's own glass (--mkv-glass, --mkv-glass-edge, --mkv-glass-sh, --mkv-glass-blur):
     - the "i" About / privacy pop-over and the "Maki noted" pop-over (.mkv-pop): were a solid leather sheet;
     - the typed-question field (.mkv-form): was a flat dark pill; now a darker see-through well with a rim and ONE gold
       focus ring on the whole capsule (no ring inside a ring);
     - the two small round controls above Maki (i, Close): their discs frost the page too.
   The bubble itself, the buttons, the orb and every colour are unchanged. Solid fallbacks: a browser without
   backdrop-filter, and the device setting "reduce transparency" (end of this file).

   RevPARGenius Maki Voice: V2.0 "Glass bubble" (Macky, 26 Nov 2026: "On top of it.. add bubble, with glass design,
   where u put the transcript.. make it simple as possible and remove the current overlay.").
   What V2.0 changes (LOOK ONLY; the orb, its size, place and motion, every word, limit, consent and lead rule are
   the same):
     - REMOVED: the dark feathered dim and the frosted patch behind Maki's corner (.mkv-panel::before / ::after),
       and the box-less floating captions layout.
     - ADDED: one liquid-glass speech bubble (.mkv-bubble) right above Maki, right aligned, at most 320 px wide.
       Inside it, top to bottom: a notice (if any), the live transcript (the same polite live region, .mkv-log),
       the status word (Connecting, Listening, Thinking, an error sentence) and the existing buttons.
       The bubble is not drawn when it has nothing to show (.mkv-bubble--empty).
     - Glass = the site's own glass plane (static/eg/eg-site.css --eg-glass, --eg-glass-edge, --eg-glass-sh,
       blur 28px saturate 135%) over a warm dark base, so cream text reads over dark AND light page areas.
       Contrast, worst case a pure white page behind the bubble: ground about rgb(85,70,59): ink 8.6:1,
       soft #D5C4AE 5.3:1, gold 4.8:1 (WCAG AA).
   The notes below describe V1.9 and earlier; where they speak of "no box" captions or "the dim", V2.0 replaced it.

   RevPARGenius Maki Voice: V1.9 "Live captions" (Macky, 19 Nov 2026, after testing the real call: "Maki works now.
   but please don't make it look cheap." / "I said no box.. and it does not have a fucking animation" / "who puts all
   privacy on a voice like that?"). Builds on V1.8 "Voice only" and V1.7 "Halo float".
   LOOK ONLY. The orb is still Macky's own drawing (<maki-gold>, maki-gold.js), untouched; the bottom-right corner,
   the launcher, auto-open and every behaviour, limit, consent and lead rule are the same (maki-voice-core.js).
   Every word is the same; one new screen-reader label is PROPOSED (see maki-voice.js).

   What V1.9 changes:
     - LIVE CAPTIONS, NO BOX: during the conversation the transcript floats left of / above Maki like premium live
       captions. Maki's current sentence is large serif, revealed word by word (soft fade + blur-in, 75 ms apart);
       the visitor's words are smaller, italic, softer. Only the latest three lines are drawn; older lines fade out
       upward under a top mask. No background, border or bubble: readability comes from a layered text shadow and
       the one feathered dim behind Maki's corner (no visible edge). Desktop at most 320 px wide and about 26% of the
       screen tall; phone full width minus margins, at most about 14% of the screen tall. Same live region.
     - MAKI ANIMATES: idle breathes; listening sends soft ripple rings out of the halo; thinking turns a slow
       shimmer on the ring; speaking pulses the halo with --mkv-level (a natural randomised pulse: the widget has no
       measure of Maki's voice loudness). Transform / opacity only. Pause motion and "reduce motion" stop all of it.
     - PRIVACY TUCKED AWAY: the fine-print row is gone. One small round "i" next to Close opens the solid pop-over:
       the AI line, the consent words, Privacy policy, Pause motion. Before the first Start, one tiny line under
       "Start talking": "AI assistant · no audio stored by RevPARGenius".
       CONSENT-PRESENTATION CHANGE (needs Macky's / counsel's OK): the consent words are one tap away (behind "i")
       and are the description of "Start talking" for screen readers.
     - Detail pass: spacing on 4/8/12/16/24; radii 999 (pills), 16 (pop-over), round controls; all icons drawn at
       the same visual stroke (about 1.65 px); gold only for the main action; tabular numbers on the status line.
   (V1.9 note, replaced by the V2.0 glass bubble for the words:)
   Colours: Macky's dark palette of 19 Nov 2026: #1A120E #3A2418 #6B4A2E #A88462 #D5C4AE #4A4A46, ink #FFF9F0,
   gold #D4B996. Contrast (WCAG AA), worst case a pure white page behind Maki: the dim behind the words is
   #0E0704 at 80% feathered, so the ground is at worst about rgb(77,72,70): ink 8.4:1, soft #D5C4AE 5.2:1,
   gold 4.7:1. Gold pill: #1A120E on #D4B996 9.6:1. Pop-over: solid espresso/leather.
   The colours are FIXED (the site's pages redefine their own variables). Every rule is scoped under .mkv. */
.mkv{
  --mkv-espresso:#1A120E;
  --mkv-leather:#3A2418;
  --mkv-tan:#6B4A2E;
  --mkv-bronze:#A88462;
  --mkv-soft:#D5C4AE;
  --mkv-smoke:#4A4A46;
  --mkv-ink:#FFF9F0;
  --mkv-gold:#D4B996;
  --mkv-sheet:linear-gradient(160deg, #3A2418 0%, #2A1A12 55%, #1A120E 100%);
  --mkv-line:rgba(213,196,174,0.30);
  --mkv-line-strong:rgba(213,196,174,0.50);
  --mkv-dash:rgba(213,196,174,0.22);
  /* V2.0 glass bubble: the site's glass plane (eg-site.css --eg-glass / --eg-glass-edge / --eg-glass-sh) over a warm dark base. */
  /* V2.2 (Macky, 27 Nov 2026: "make this glass, a bit translucent"): about a fifth less tint, so the page shows through
     the frost; the blur stays, so the words still sit on a calm ground. Was 0.56 / 0.73 / 0.38 over 0.74. */
  --mkv-glass:linear-gradient(125deg, rgba(73,48,34,0.44), rgba(26,17,13,0.60) 52%, rgba(91,58,35,0.28)), rgba(20,14,10,0.58);
  --mkv-glass-solid:#281A13;
  --mkv-glass-edge:rgba(255,236,211,0.19);
  --mkv-glass-sh:inset 0 1px 0 rgba(255,245,224,0.15), 0 12px 38px rgba(0,0,0,0.38);
  --mkv-glass-blur:blur(28px) saturate(135%);
  --mkv-shadow-text:0 1px 2px rgba(0,0,0,0.90), 0 0 10px rgba(0,0,0,0.60);
  --mkv-feather-sheet:0 22px 50px -16px rgba(0,0,0,0.78), 0 2px 10px -2px rgba(0,0,0,0.40);
  --mkv-halo:0 0 0 1.5px rgba(212,185,150,0.70), 0 0 34px 6px rgba(212,185,150,0.35);
  --mkv-ease:cubic-bezier(0.22,1,0.36,1);
  --mkv-serif:'Iowan Old Style', 'Newsreader', Baskerville, Georgia, 'Times New Roman', serif;
  --mkv-sans:var(--sans, 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif);
  --mkv-lift:0px;
  --mkv-gap:24px;
  --mkv-side:104px;
  font-family:var(--mkv-sans);
  font-size:14px;
  line-height:1.5;
  color:var(--mkv-ink);
  text-align:left;
  letter-spacing:0;
}
.mkv[hidden], .mkv [hidden]{ display:none !important; }
.mkv *, .mkv *::before, .mkv *::after{ box-sizing:border-box; }
.mkv p, .mkv dl, .mkv dt, .mkv dd{ margin:0; }
.mkv button, .mkv input{ font:inherit; margin:0; letter-spacing:0; text-transform:none; }
/* The design system's focus ring: 2px gold, 3px away. Doubled class and !important, because the site has its own
   page-wide focus rule, which must not recolour Maki's. */
.mkv.mkv :focus-visible{ outline:2px solid var(--mkv-gold) !important; outline-offset:3px !important; }
/* The small round controls draw a 36px circle inside their 44px touch area: the ring hugs the circle (3px away). */
.mkv.mkv .mkv-close:focus-visible{ outline-offset:-1px !important; }
/* The panel itself takes the focus when it opens. It is a container, not a control: no ring on it. */
.mkv.mkv .mkv-panel:focus, .mkv.mkv .mkv-panel:focus-visible{ outline:none !important; }
.mkv .mkv-sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ==== launcher: Maki alone in the corner, with the halo, breathing slowly ==== */
.mkv .mkv-launcher{
  position:fixed; right:var(--mkv-gap); bottom:calc(var(--mkv-gap) + var(--mkv-lift)); z-index:1040;
  width:80px; height:80px; padding:0; border:0; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(closest-side, rgba(26,18,14,0.72), rgba(26,18,14,0.50) 72%, rgba(26,18,14,0) 100%);
  color:var(--mkv-ink); cursor:pointer; -webkit-appearance:none; appearance:none;
  transition:transform 180ms var(--mkv-ease);
}
.mkv .mkv-launcher::before{
  content:''; position:absolute; inset:2px; border-radius:50%; pointer-events:none;
  box-shadow:var(--mkv-halo); opacity:0.6; transition:opacity 220ms var(--mkv-ease);
}
.mkv .mkv-launcher:not(:hover)::before{ animation:mkv-breathe 5200ms ease-in-out infinite; }
.mkv .mkv-launcher:hover{ transform:translateY(-2px); }
.mkv .mkv-launcher:hover::before{ opacity:1; }
.mkv .mkv-launcher:active{ transform:translateY(0); }
.mkv .mkv-launcher maki-gold{ position:relative; pointer-events:none; }
/* With the panel open, Maki is drawn in the panel (same place): the launcher steps aside. */
.mkv:not([data-state="closed"]) .mkv-launcher{ display:none; }

/* ==== panel: a small corner, bottom right. V2.0: the glass bubble on top, Maki under it on the right, the typing
   field at the bottom. A grid, so every part is inside the corner's box. Nothing is drawn behind the corner any
   more (no dim, no frosted patch): the bubble carries all the words. ==== */
.mkv .mkv-panel{
  position:fixed; right:var(--mkv-gap); bottom:calc(var(--mkv-gap) + var(--mkv-lift)); z-index:1041;
  display:grid; column-gap:12px; row-gap:0;
  grid-template-columns:minmax(0, 1fr) var(--mkv-side);
  grid-template-rows:auto auto auto;
  grid-template-areas:"bubble bubble" ". side" "form form";
  align-items:end;
  width:min(320px, calc(100vw - 2 * var(--mkv-gap)));
  background:none; border:0; padding:0; box-shadow:none;
  color:var(--mkv-ink); text-shadow:var(--mkv-shadow-text);
  pointer-events:none;                    /* the empty space in the corner never blocks the page */
  /* 26 Nov 2026: "backwards", not "both". The fade looks exactly the same (it ends at fully visible, the panel's
     natural state), but an animation that keeps holding its last frame stops the browser frosting the page behind
     the glass bubble. */
  animation:mkv-fade 320ms var(--mkv-ease) backwards;
}
/* ---- V2.0: THE GLASS BUBBLE. One bubble right above Maki, right aligned, at most 320 px wide (the panel's width;
   on a 375 px phone that is 343 px between two 16 px gutters, so it never causes sideways scroll). ---- */
.mkv .mkv-bubble{
  grid-area:bubble; justify-self:end; position:relative;
  width:max-content; max-width:min(320px, 100%); min-width:0;
  margin:0 0 12px; padding:14px 16px;
  display:flex; flex-direction:column; align-items:stretch; gap:10px;
  background:var(--mkv-glass);
  -webkit-backdrop-filter:var(--mkv-glass-blur); backdrop-filter:var(--mkv-glass-blur);
  border:1px solid var(--mkv-glass-edge); border-radius:20px 20px 6px 20px;
  box-shadow:var(--mkv-glass-sh);
  color:var(--mkv-ink); text-shadow:none; text-align:left;
}
/* Nothing to show: the bubble is not drawn (it stays in the page, so its live regions keep announcing). */
.mkv .mkv-bubble.mkv-bubble--empty{
  position:absolute; width:1px; height:1px; min-height:0; margin:-1px; padding:0; border:0; overflow:hidden;
  clip:rect(0 0 0 0); box-shadow:none; background:none; -webkit-backdrop-filter:none; backdrop-filter:none;
}
/* A browser that cannot frost the page: the bubble is solid instead (the site's own fallback colour). */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .mkv .mkv-bubble{ background:var(--mkv-glass-solid); }
  .mkv .mkv-pop:not(.mkv-pop--sr){ background:var(--mkv-glass-solid); }
  .mkv .mkv-form{ background:var(--mkv-espresso); }
  .mkv .mkv-close::before{ background:var(--mkv-glass-solid); }
}
.mkv .mkv-bubble, .mkv .mkv-side, .mkv .mkv-form{ pointer-events:auto; }
.mkv .mkv-scrim{ display:none !important; }

/* The buttons block, inside the bubble under the transcript and the status word. */
.mkv .mkv-flow{
  min-width:0; min-height:0;
  display:flex; flex-direction:column; align-items:flex-start; gap:8px; text-align:left;
}
/* Maki's column: the two small controls (i, Close) above, Maki in the halo. */
.mkv .mkv-side{ grid-area:side; align-self:end; justify-self:end; display:flex; flex-direction:column; align-items:center; gap:4px; width:var(--mkv-side); }
.mkv .mkv-top{ display:flex; align-items:center; justify-content:center; gap:4px; }
/* The status word and a notice are lines inside the bubble. */
.mkv .mkv-label, .mkv .mkv-notice{ min-width:0; }

/* ---- the status word: "Talk to Maki" before the start, then the live state ---- */
.mkv .mkv-title, .mkv .mkv-label{
  font-family:var(--mkv-sans); font-size:12px; font-weight:600; line-height:16px;
  letter-spacing:0.12em; text-transform:uppercase; color:var(--mkv-ink);
  font-variant-numeric:tabular-nums;
}
.mkv .mkv-title em{ font-style:normal; color:var(--mkv-gold); }
/* After the start the title is said only to screen readers (it still names the panel); the label takes over. */
.mkv:not([data-state="idle"]) .mkv-title{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.mkv[data-live="true"]:not([data-state="connecting"]) .mkv-label::before{
  content:''; display:inline-block; width:6px; height:6px; margin:0 8px 1px 0; border-radius:50%;
  background:var(--mkv-ink); box-shadow:0 0 8px rgba(255,249,240,0.7); vertical-align:middle;
}
/* An error is the existing sentence: one short, small line (two at most where it fits) next to Maki. */
.mkv[data-state="error"] .mkv-label{
  font-size:12.5px; font-weight:500; line-height:1.4; letter-spacing:0; text-transform:none; color:var(--mkv-ink);
}
/* The label, the notice and the note message stay in the page when empty (so screen readers announce their
   changes), but take no room. */
.mkv .mkv-label:empty, .mkv .mkv-notice:empty, .mkv .mkv-note-msg:empty{
  position:absolute; width:1px; height:1px; min-height:0; margin:-1px; padding:0; border:0; overflow:hidden;
  clip:rect(0 0 0 0); box-shadow:none; background:none;
}

/* ---- a notice (microphone blocked, and so on): one short line, no box ---- */
.mkv .mkv-notice{ font-size:12.5px; line-height:1.4; color:var(--mkv-ink); }

/* ---- the two small round controls above Maki: "i" (About Maki and privacy) and Close.
   44px touch area, a 36px circle drawn inside, an 18px icon at the same visual stroke as the larger icons. ---- */
.mkv .mkv-close{
  position:relative; width:44px; height:44px; padding:0; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:transparent; border:0; border-radius:50%;
  font-size:0; line-height:0; color:transparent; text-shadow:none; overflow:visible;
  cursor:pointer; -webkit-appearance:none; appearance:none;
}
.mkv .mkv-close::before{
  content:''; position:absolute; inset:4px; border-radius:50%; pointer-events:none;
  background:rgba(26,18,14,0.62); box-shadow:inset 0 0 0 1px var(--mkv-line), inset 0 1px 0 rgba(255,245,224,0.15);
  -webkit-backdrop-filter:var(--mkv-glass-blur); backdrop-filter:var(--mkv-glass-blur);
  transition:box-shadow 180ms var(--mkv-ease);
}
.mkv .mkv-close::after{
  content:''; position:absolute; left:50%; top:50%; width:18px; height:18px; margin:-9px 0 0 -9px; pointer-events:none;
  background:var(--mkv-soft);
  -webkit-mask:var(--mkv-ico) center / contain no-repeat; mask:var(--mkv-ico) center / contain no-repeat;
  transition:background-color 180ms var(--mkv-ease);
}
.mkv .mkv-close:hover::before, .mkv .mkv-close[aria-expanded="true"]::before{ box-shadow:inset 0 0 0 1px var(--mkv-line-strong), inset 0 1px 0 rgba(255,245,224,0.15); }
.mkv .mkv-close:hover::after, .mkv .mkv-close[aria-expanded="true"]::after{ background:var(--mkv-ink); }
.mkv .mkv-close{ --mkv-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><path d='M6.5 6.5l11 11M17.5 6.5l-11 11'/></svg>"); }
.mkv .mkv-info-btn{ --mkv-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><path d='M12 11v7'/><path d='M12 6.4h.01' stroke-width='3'/></svg>"); }

/* ---- Maki in the halo. The dial's svg keeps its job: the arc shows the time used, thin, on the halo. ---- */
.mkv .mkv-dial{
  position:relative; width:var(--mkv-side); height:var(--mkv-side); flex:none;
  display:flex; align-items:center; justify-content:center;
}
.mkv .mkv-dial maki-gold{ position:relative; width:84px !important; height:84px !important; }
/* A soft dark pool behind Maki, so the drawing reads over a bright photo. Decoration only. */
.mkv .mkv-glow{
  position:absolute; inset:0; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(26,18,14,0.66), rgba(26,18,14,0.42) 70%, rgba(26,18,14,0) 100%);
}
/* The halo ring. */
.mkv .mkv-dial::before{
  content:''; position:absolute; inset:4px; border-radius:50%; pointer-events:none;
  box-shadow:var(--mkv-halo); opacity:0.55;
}
.mkv .mkv-dial-svg{ position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.mkv .mkv-dial-track{ fill:none; stroke:rgba(213,196,174,0.30); stroke-width:1; stroke-linecap:round; stroke-dasharray:0 3.4; }
.mkv .mkv-dial-base, .mkv .mkv-dial-inner{ display:none; }
.mkv .mkv-dial-arc{ fill:none; stroke:var(--mkv-gold); stroke-width:1.8; stroke-linecap:round; stroke-dasharray:0 100; }
.mkv .mkv-dial--empty .mkv-dial-arc{ opacity:0; }

/* ---- the halo's motion, one showpiece, per state (transform / opacity only) ----
   Layers (maki-voice.js, dial()): two ripple rings, a shimmer on the ring, a pulse ring. All are quiet (opacity 0)
   unless their state calls for them. */
.mkv .mkv-ripple, .mkv .mkv-shimmer, .mkv .mkv-pulse{
  position:absolute; border-radius:50%; pointer-events:none; opacity:0; will-change:transform, opacity;
}
.mkv .mkv-ripple{ inset:6px; box-shadow:0 0 0 1px rgba(212,185,150,0.60), 0 0 16px 1px rgba(212,185,150,0.22); }
.mkv .mkv-shimmer{
  inset:3px;
  background:conic-gradient(from 0deg, rgba(255,240,215,0) 0deg, rgba(255,240,215,0) 200deg, rgba(255,240,215,0.25) 260deg, rgba(255,244,226,0.95) 318deg, rgba(255,240,215,0) 360deg);
  -webkit-mask:radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px), #000 calc(100% - 1px), transparent 100%);
  mask:radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px), #000 calc(100% - 1px), transparent 100%);
}
.mkv .mkv-pulse{
  inset:4px;
  box-shadow:0 0 0 1.5px rgba(212,185,150,0.85), 0 0 30px 8px rgba(212,185,150,0.42);
  transform:scale(calc(1 + var(--mkv-level, 0) * 0.14));
  transition:transform 120ms ease-out, opacity 120ms ease-out;
}
/* Idle (before the start, typing, after the end): the halo breathes slowly. */
.mkv .mkv-dial[data-phase="idle"]::before, .mkv .mkv-dial[data-phase="typing"]::before,
.mkv .mkv-dial[data-phase="ended"]::before{ animation:mkv-breathe 5200ms ease-in-out infinite; }
/* Connecting: a short arc turns slowly round the halo. */
.mkv .mkv-dial[data-phase="connecting"] .mkv-dial-svg{ animation:mkv-turn 2400ms linear infinite; }
.mkv .mkv-dial[data-phase="connecting"] .mkv-dial-arc{ opacity:1; stroke-dasharray:12 100 !important; transition:none; }
/* Listening: soft rings spread out of the halo, one after the other, while the halo breathes. */
.mkv .mkv-dial[data-phase="listening"]::before{ animation:mkv-halo 3000ms ease-in-out infinite; }
.mkv .mkv-dial[data-phase="listening"] .mkv-ripple{ animation:mkv-ripple 2800ms cubic-bezier(0.2,0.6,0.3,1) infinite; }
.mkv .mkv-dial[data-phase="listening"] .mkv-ripple--b{ animation-delay:1400ms; }
/* Thinking: a slow shimmer turns on the ring. */
.mkv .mkv-dial[data-phase="thinking"]::before{ opacity:0.85; }
.mkv .mkv-dial[data-phase="thinking"] .mkv-shimmer{ opacity:1; animation:mkv-turn 2200ms linear infinite; }
/* Speaking: the ring pulses with --mkv-level (maki-voice.js, voicePulse). */
.mkv .mkv-dial[data-phase="speaking"]::before{ opacity:0.4; }
.mkv .mkv-dial[data-phase="speaking"] .mkv-pulse{ opacity:calc(0.30 + var(--mkv-level, 0) * 0.70); }
.mkv .mkv-dial[data-phase="error"]::before{ opacity:0.3; }

/* ---- the consent block: the two actions and, under them, the one tiny line (the words are behind "i") ---- */
.mkv .mkv-consent{ display:flex; flex-direction:column; align-items:flex-start; }
.mkv .mkv-ai-line{ margin-top:8px; font-size:11px; line-height:16px; color:var(--mkv-soft); text-align:left; }

/* ---- buttons: the single primary action is the solid gold pill; the rest are quiet ---- */
.mkv .mkv-actions{ display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:8px; flex:none; }
.mkv .mkv-btn{
  position:relative; min-height:44px; padding:0 16px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; border:1px solid transparent;
  font-family:var(--mkv-sans); font-size:14px; font-weight:600; line-height:1.2;
  text-decoration:none; white-space:nowrap; cursor:pointer; text-shadow:var(--mkv-shadow-text);
  -webkit-appearance:none; appearance:none;
  transition:transform 180ms var(--mkv-ease), background-color 180ms var(--mkv-ease), border-color 180ms var(--mkv-ease);
}
.mkv .mkv-btn:hover{ transform:translateY(-2px); }
.mkv .mkv-btn:active{ transform:translateY(0); }
.mkv .mkv-btn--primary{
  padding:0 24px;
  background:var(--mkv-gold); color:var(--mkv-espresso); border-color:var(--mkv-gold); text-shadow:none;
  box-shadow:0 10px 26px -12px rgba(212,185,150,0.65);
}
.mkv .mkv-btn--primary:hover{ background:#DEC6A6; }
.mkv .mkv-btn--ghost{ background:transparent; color:var(--mkv-ink); border-color:var(--mkv-line-strong); }
.mkv .mkv-btn--ghost:hover{ border-color:var(--mkv-ink); }
.mkv .mkv-btn--toggle.mkv-btn--on{ border-color:var(--mkv-ink); }
.mkv .mkv-btn:disabled{ opacity:0.5; cursor:default; transform:none; }

/* ---- round icon buttons (Type instead, Mute Maki, End conversation). The words stay in the button as its
   name for screen readers and voice control; only the icon is drawn. ---- */
.mkv .mkv-icon{
  width:44px; height:44px; min-width:44px; padding:0; border-radius:50%;
  font-size:0; color:transparent; text-shadow:none; overflow:hidden;
  background:rgba(26,18,14,0.62); border-color:var(--mkv-line);
}
.mkv .mkv-icon::before{
  content:''; position:absolute; left:50%; top:50%; width:22px; height:22px; margin:-11px 0 0 -11px;
  background:var(--mkv-ink);
  -webkit-mask:var(--mkv-ico) center / contain no-repeat; mask:var(--mkv-ico) center / contain no-repeat;
}
.mkv .mkv-icon:hover{ color:transparent; border-color:var(--mkv-line-strong); }
.mkv .mkv-btn--on.mkv-icon::before{ background:var(--mkv-soft); }
.mkv .mkv-icon[aria-pressed="true"]{ border-color:var(--mkv-ink); }
.mkv .mkv-icon--type{ --mkv-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='6' width='19' height='12' rx='2.5'/><path d='M6.5 10h.01M10 10h.01M13.5 10h.01M17 10h.01M7.5 14h9'/></svg>"); }
.mkv .mkv-icon--mute{ --mkv-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/><path d='M15.5 9a4.2 4.2 0 0 1 0 6'/><path d='M18.2 6.5a7.8 7.8 0 0 1 0 11'/></svg>"); }
.mkv .mkv-icon--mute.mkv-btn--on{ --mkv-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/><path d='M16 9.5l5 5M21 9.5l-5 5'/></svg>"); }
.mkv .mkv-icon--end{ --mkv-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2.8 14.2c5-4.6 13.4-4.6 18.4 0l-2.3 2.7-3.7-1.4v-2.6a12.5 12.5 0 0 0-6.4 0v2.6l-3.7 1.4z'/></svg>"); }
/* End conversation: the same quiet round control, a touch stronger ring so it is easy to find. */
.mkv .mkv-icon--end{ border-color:var(--mkv-line-strong); }
.mkv .mkv-icon--end:hover{ border-color:var(--mkv-ink); }

/* ---- THE TRANSCRIPT, inside the glass bubble: Maki's current sentence and the visitor's last words. The same
   polite live region as before. At most three lines are drawn (maki-voice.js); it has a height limit and is
   scrolled to the newest words. ---- */
.mkv .mkv-log{
  min-width:0; min-height:0; max-height:min(168px, 30vh);
  margin:0; padding:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
  display:flex; flex-direction:column; gap:8px;
  text-align:left; scrollbar-width:thin; scrollbar-color:rgba(213,196,174,0.35) transparent;
}
/* Connected but nobody has spoken yet: the empty transcript takes no room (it stays in the page as the live region). */
.mkv .mkv-log:empty{ margin-bottom:-10px; }
.mkv .mkv-line{ flex:none; margin:0; overflow-wrap:break-word; text-wrap:pretty; }
.mkv .mkv-line--maki{
  font-family:var(--mkv-serif); font-size:17px; line-height:1.4; font-weight:400; color:var(--mkv-ink);
}
.mkv .mkv-line--user{
  font-family:var(--mkv-serif); font-style:italic; font-size:14px; line-height:1.45; color:var(--mkv-soft);
  animation:mkv-cap-in 420ms var(--mkv-ease) both;
}
/* Maki's earlier sentence steps back a little; the newest one is full ink. */
.mkv .mkv-line--maki:not(.mkv-line--latest){ color:var(--mkv-soft); }
/* Older lines leave the drawing (they stay in the log for screen readers, which have already heard them). */
.mkv .mkv-line--fading, .mkv .mkv-line--gone{ display:none; }
/* Word by word: each word fades and un-blurs in, 75 ms after the one before (delays set in maki-voice.js). */
.mkv .mkv-word{ display:inline-block; animation:mkv-word 560ms var(--mkv-ease) both; }
.mkv .mkv-who{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.mkv .mkv-sample{ font-size:11px; line-height:16px; color:var(--mkv-soft); }

/* ---- "Maki noted": one chip line on screen ---- */
.mkv .mkv-note{ display:flex; align-items:center; justify-content:flex-start; gap:8px; min-height:24px; }
.mkv .mkv-kicker{
  font-family:var(--mkv-sans); font-size:11px; font-weight:600; line-height:16px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--mkv-ink);
}

/* ---- the small text toggle: "View" ---- */
.mkv .mkv-more{
  position:relative; display:inline-block; padding:4px 0; margin:0; border:0; border-radius:4px; background:none;
  font-size:12px; line-height:16px; color:var(--mkv-soft); text-decoration:underline; text-underline-offset:3px;
  text-shadow:var(--mkv-shadow-text); cursor:pointer; -webkit-appearance:none; appearance:none;
}
.mkv .mkv-more:hover{ color:var(--mkv-ink); }
.mkv .mkv-more::after{ content:''; position:absolute; left:-8px; right:-8px; top:50%; height:44px; margin-top:-30px; min-width:44px; }

/* ---- the small pop-over (V2.1: the bubble's own glass, it was a solid sheet): About Maki and privacy (the AI line, the consent words, the lead-notes words,
   Privacy policy, Pause motion), and what Maki noted ---- */
/* V2.0 review fix (26 Nov 2026): the pop-over opens in the bubble's own place (same grid cell, on top of it),
   not above the whole corner. With the bubble above Maki the corner is taller than before, and a pop-over above it
   was cut off at the top of a laptop screen during a conversation. */
.mkv .mkv-pop{
  grid-area:bubble; align-self:stretch; justify-self:end; position:relative; z-index:2; margin:0 0 12px;
  width:min(320px, calc(100vw - 2 * var(--mkv-gap))); max-height:min(360px, 52vh); overflow:auto; overscroll-behavior:contain;
  display:flex; flex-direction:column; gap:12px; padding:16px;
  /* V2.1: the same glass as the bubble it opens over (same fill, frost, hairline, top highlight, corner). It covers
     the bubble completely (same grid cell, stretched), and the fill is dense enough that nothing under it reads. */
  background:var(--mkv-glass);
  -webkit-backdrop-filter:var(--mkv-glass-blur); backdrop-filter:var(--mkv-glass-blur);
  border:1px solid var(--mkv-glass-edge); border-radius:20px 20px 6px 20px; box-shadow:var(--mkv-glass-sh);
  color:var(--mkv-soft); text-shadow:none; text-align:left; pointer-events:auto;
  scrollbar-width:thin; scrollbar-color:rgba(213,196,174,0.35) transparent;
  animation:mkv-rise 220ms var(--mkv-ease) both;
}
/* While closed, the note's pop-over is not drawn but stays for screen readers (its message is a live status). */
.mkv .mkv-pop.mkv-pop--sr{
  position:absolute; width:1px; height:1px; max-height:none; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; box-shadow:none; background:none; animation:none;
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
.mkv .mkv-pop-ai{
  font-size:11px; font-weight:600; line-height:16px; letter-spacing:0.12em; text-transform:uppercase; color:var(--mkv-ink);
}
.mkv .mkv-consent-text{ color:var(--mkv-soft); font-size:13px; line-height:1.55; }
.mkv .mkv-lead-line{ padding-left:12px; box-shadow:inset 1px 0 0 var(--mkv-line-strong); color:var(--mkv-ink); }
.mkv .mkv-pop-links{ display:flex; align-items:center; gap:24px; padding-top:12px; border-top:1px solid var(--mkv-line); }
.mkv .mkv-pop-links a, .mkv .mkv-quiet{
  position:relative; display:inline-block; padding:0; margin:0; border:0; border-radius:4px; background:none;
  font-size:13px; font-weight:500; line-height:20px; color:var(--mkv-ink); text-decoration:underline;
  text-underline-offset:3px; text-decoration-color:var(--mkv-line-strong); text-shadow:none;
  cursor:pointer; -webkit-appearance:none; appearance:none;
}
.mkv .mkv-pop-links a:hover, .mkv .mkv-quiet:hover{ text-decoration-color:var(--mkv-ink); }
/* Each has an invisible 44px touch area; the 24px gap keeps neighbouring touch areas apart. */
.mkv .mkv-pop-links a::after, .mkv .mkv-quiet::after{ content:''; position:absolute; left:-8px; right:-8px; top:50%; height:44px; margin-top:-22px; min-width:44px; }
.mkv .mkv-note-cards{ display:flex; flex-direction:column; gap:12px; }
.mkv .mkv-note-list{ display:grid; grid-template-columns:max-content 1fr; gap:0 12px; }
.mkv .mkv-note-list + .mkv-note-list{ padding-top:12px; border-top:1px solid var(--mkv-line); }
.mkv .mkv-note-list dt, .mkv .mkv-note-list dd{ padding:4px 0; border-bottom:1px dashed var(--mkv-dash); }
.mkv .mkv-note-list dt{ color:var(--mkv-soft); font-size:12px; line-height:1.45; white-space:nowrap; }
.mkv .mkv-note-list dd{ color:var(--mkv-ink); font-size:13px; line-height:1.4; overflow-wrap:anywhere; text-align:right; }
.mkv .mkv-note-msg{ color:var(--mkv-soft); font-size:12px; line-height:1.45; }
.mkv .mkv-forget{ align-self:flex-start; min-height:44px; padding:0 16px; font-size:13px; text-shadow:none; }

/* ---- typed question: a slim field (full width on a computer, beside Maki on a phone) ---- */
.mkv .mkv-form{
  grid-area:form; margin-top:8px; min-width:0;
  width:auto; display:flex; gap:4px; flex:none; padding:4px;
  /* V2.1: a darker see-through well (the page is frosted behind it), a visible rim, a top highlight, a soft shadow. */
  background:linear-gradient(180deg, rgba(12,8,6,0.74), rgba(20,14,10,0.80));
  -webkit-backdrop-filter:var(--mkv-glass-blur); backdrop-filter:var(--mkv-glass-blur);
  border:1px solid var(--mkv-line); border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,245,224,0.10), 0 10px 28px rgba(0,0,0,0.32);
  transition:border-color 180ms var(--mkv-ease), box-shadow 180ms var(--mkv-ease);
}
.mkv .mkv-input{
  flex:1 1 auto; min-width:0; min-height:44px; padding:8px 12px;
  background:transparent; color:var(--mkv-ink); text-shadow:none;
  border:1px solid transparent; border-radius:999px;
  font-size:16px;                       /* 16px stops phones zooming the page on focus */
  -webkit-appearance:none; appearance:none;
}
.mkv .mkv-input::placeholder{ color:var(--mkv-soft); opacity:1; }
.mkv .mkv-input:focus{ border-color:var(--mkv-line); }
/* V2.1: one clear gold ring on the whole capsule while the field has the focus, in place of a ring inside the rim.
   A browser without :has() keeps the field's own ring (the rule above and the widget's focus rule). */
@supports selector(:has(*)){
  .mkv .mkv-input:focus{ border-color:transparent; }
  .mkv.mkv .mkv-input:focus-visible{ outline:none !important; }
  .mkv .mkv-form:has(.mkv-input:focus){
    border-color:var(--mkv-gold);
    box-shadow:inset 0 1px 0 rgba(255,245,224,0.10), 0 10px 28px rgba(0,0,0,0.32), 0 0 0 3px rgba(212,185,150,0.30);
  }
}
.mkv .mkv-input:disabled{ opacity:0.5; }
.mkv .mkv-send{ flex:none; padding:0 16px; }

/* ---- after an ending or an error: the one action, compact. "Contact the team" is a quiet text link beside it. ---- */
.mkv .mkv-after{ gap:8px 12px; }
.mkv .mkv-after .mkv-btn{ padding:0 16px; font-size:13.5px; }
.mkv .mkv-after .mkv-contact:not(:only-child), .mkv .mkv-live ~ .mkv-after .mkv-contact{
  padding:0 4px; border:0; background:none; font-size:12.5px; font-weight:600; color:var(--mkv-ink);
  text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--mkv-line-strong);
}
.mkv .mkv-after .mkv-contact:not(:only-child):hover{ text-decoration-color:var(--mkv-ink); }

/* ---- while a conversation is connecting or live, Maki sits above the site's own 90-second pop-up and note
   (z-index 9000 and 8900 on the site), so "End conversation" can always be reached while the microphone is open.
   The cookie bar (99999) still stays on top. ---- */
.mkv[data-live="true"] .mkv-launcher{ z-index:9010; }
.mkv[data-live="true"] .mkv-panel{ z-index:9011; }

/* ---- the chat had to come back (chat_gate.html): Maki takes the bottom-left corner instead, mirrored ---- */
.mkv[data-chat="back"] .mkv-launcher{ right:auto; left:var(--mkv-gap); }
.mkv[data-chat="back"] .mkv-panel{
  right:auto; left:var(--mkv-gap);
  grid-template-columns:var(--mkv-side) minmax(0, 1fr);
  grid-template-areas:"bubble bubble" "side ." "form form";
}
.mkv[data-chat="back"] .mkv-bubble{ justify-self:start; border-radius:20px 20px 20px 6px; }
.mkv[data-chat="back"] .mkv-side{ justify-self:start; }
.mkv[data-chat="back"] .mkv-pop{ justify-self:start; border-radius:20px 20px 20px 6px; }

/* ---- motion: entrances ease out; only transform and opacity move (the words also un-blur); each runs once ---- */
@keyframes mkv-rise{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }
@keyframes mkv-fade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes mkv-pop{ from{ opacity:0; transform:scale(0.94); } to{ opacity:1; transform:scale(1); } }
@keyframes mkv-turn{ to{ transform:rotate(360deg); } }
@keyframes mkv-halo{ 0%,100%{ transform:scale(1); opacity:0.55; } 50%{ transform:scale(1.06); opacity:1; } }
@keyframes mkv-breathe{ 0%,100%{ transform:scale(1); opacity:0.42; } 50%{ transform:scale(1.035); opacity:0.9; } }
@keyframes mkv-ripple{ 0%{ transform:scale(0.94); opacity:0; } 12%{ opacity:0.75; } 100%{ transform:scale(1.5); opacity:0; } }
@keyframes mkv-word{ from{ opacity:0; filter:blur(6px); transform:translateY(0.2em); } to{ opacity:1; filter:blur(0); transform:translateY(0); } }
@keyframes mkv-cap-in{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
/* On opening, the parts come in one after another, 60 ms apart; Maki settles in. */
.mkv[data-enter="true"] .mkv-side{ animation:mkv-pop 360ms var(--mkv-ease) both; }
.mkv[data-enter="true"] .mkv-flow > *{ animation:mkv-rise 320ms var(--mkv-ease) both; }
.mkv[data-enter="true"] .mkv-flow > :nth-child(2){ animation-delay:60ms; }
.mkv[data-enter="true"] .mkv-flow > :nth-child(3){ animation-delay:120ms; }
.mkv[data-enter="true"] .mkv-flow > :nth-child(n+4){ animation-delay:180ms; }
.mkv[data-enter="true"] .mkv-form{ animation:mkv-rise 320ms var(--mkv-ease) 180ms both; }

/* ---- V2.2 details form (Macky, 27 Nov 2026: a form the visitor types, instead of spelling details aloud) and the
   small last-minute timer. Same glass family: dark see-through wells with a hairline rim, cream words. ---- */
.mkv .mkv-dform{ display:grid; gap:4px; margin:2px 0 0; }
/* while the form is open the bubble takes its full width (320 px, or the phone's width), so the fields are roomy */
.mkv .mkv-bubble:has(.mkv-dform:not([hidden])){ width:100%; }
.mkv .mkv-dform label{ font-size:12px; color:var(--mkv-soft); margin-top:4px; }
.mkv .mkv-dform input{
  width:100%; min-height:40px; padding:8px 12px; border-radius:12px;
  background:rgba(14,9,7,0.42); color:var(--mkv-ink); text-shadow:none;
  border:1px solid var(--mkv-line); font:16px/1.3 var(--mkv-sans); -webkit-appearance:none; appearance:none;
}
.mkv .mkv-dform input:focus{ border-color:var(--mkv-gold); }
.mkv .mkv-dform .mkv-btn{ margin-top:8px; justify-self:start; }
.mkv .mkv-dmsg{ font-size:13px; color:var(--mkv-gold); min-height:0; }
.mkv .mkv-dmsg:empty{ display:none; }
.mkv .mkv-timer{
  justify-self:start; align-self:flex-start; margin:0; padding:3px 10px; border-radius:999px;
  font:600 12px/1.4 var(--mkv-sans); letter-spacing:0.04em; font-variant-numeric:tabular-nums;
  color:var(--mkv-gold); background:rgba(212,185,150,0.10); border:1px solid rgba(212,185,150,0.40);
}
@media (prefers-reduced-transparency:reduce){ .mkv .mkv-dform input{ background:var(--mkv-espresso); } }

/* ---- V2.2 entrances (Macky, 27 Nov 2026: "Maki's entrance should be animated"). Maki arrives in the corner: rises,
   grows in with a small spring and sends out one gold ring. The bubble then grows out of Maki's corner with the same
   spring and the words come in after it. Transform and opacity only, each runs once; "backwards", so nothing holds a
   last frame (a held frame stops the glass frosting the page). Pause motion and reduce motion switch all of it off. ---- */
@keyframes mkv-arrive{ 0%{ opacity:0; transform:translateY(18px) scale(0.55); } 60%{ opacity:1; transform:translateY(-3px) scale(1.06); } 100%{ opacity:1; transform:translateY(0) scale(1); } }
@keyframes mkv-ring{ 0%{ opacity:0.9; transform:scale(0.8); } 100%{ opacity:0; transform:scale(1.9); } }
@keyframes mkv-bubble-in{ 0%{ opacity:0; transform:translateY(14px) scale(0.72); } 62%{ opacity:1; transform:translateY(-2px) scale(1.025); } 100%{ opacity:1; transform:translateY(0) scale(1); } }
.mkv .mkv-launcher{ animation:mkv-arrive 720ms var(--mkv-ease) backwards; }
.mkv .mkv-launcher::after{
  content:''; position:absolute; inset:0; border-radius:50%; pointer-events:none;
  border:1.5px solid rgba(212,185,150,0.85); opacity:0;
  animation:mkv-ring 1100ms var(--mkv-ease) 420ms backwards;
}
.mkv[data-enter="true"] .mkv-bubble{ transform-origin:100% 100%; animation:mkv-bubble-in 560ms var(--mkv-ease) 80ms backwards; }
.mkv[data-chat="back"][data-enter="true"] .mkv-bubble{ transform-origin:0 100%; }
.mkv[data-enter="true"] .mkv-bubble > *{ animation:mkv-rise 360ms var(--mkv-ease) 300ms backwards; }

/* ---- phones: the bubble runs above Maki (at most 320 px), Maki right, the typing field beside Maki ---- */
@media (max-width:479px){
  .mkv{ --mkv-gap:16px; --mkv-side:88px; }
  .mkv .mkv-launcher{ width:72px; height:72px; }
  .mkv .mkv-panel{
    left:var(--mkv-gap); right:var(--mkv-gap); z-index:1060;
    bottom:calc(12px + var(--mkv-lift) + env(safe-area-inset-bottom, 0px));
    width:auto; max-width:none; column-gap:12px;
    grid-template-columns:minmax(0, 1fr) var(--mkv-side);
    grid-template-rows:auto auto;
    grid-template-areas:"bubble bubble" "form side";
  }
  .mkv .mkv-bubble{ margin-bottom:8px; padding:12px 14px; }
  .mkv .mkv-log{ max-height:min(132px, 24vh); }
  .mkv .mkv-line--maki{ font-size:16px; line-height:1.4; }
  .mkv .mkv-line--user{ font-size:14px; }
  .mkv .mkv-form{ margin-top:0; padding:2px; align-self:end; }
  .mkv .mkv-note{ min-height:24px; }
  .mkv .mkv-side{ gap:0; }
  /* The site's chat has come back (its round button sits bottom right, 80px up): Maki moves left and the bubble
     and the typing field keep clear of that button. */
  .mkv[data-chat="back"] .mkv-panel{
    left:var(--mkv-gap); right:var(--mkv-gap);
    grid-template-columns:var(--mkv-side) minmax(0, 1fr);
    grid-template-areas:"bubble bubble" "side form";
  }
  .mkv[data-chat="back"] .mkv-bubble, .mkv[data-chat="back"] .mkv-form{ margin-right:68px; }
  .mkv .mkv-dial maki-gold{ width:70px !important; height:70px !important; }
  .mkv .mkv-pop{ width:auto; justify-self:stretch; margin-bottom:8px; max-height:min(360px, 55vh); }
  .mkv[data-chat="back"] .mkv-pop{ justify-self:stretch; margin-right:68px; }
}

/* ---- the quiet option ("Pause motion") and the device's own "reduce motion": nothing of the widget's moves,
   the halo, the ripples, the shimmer, the voice pulse and the word reveal included. Content is fully visible
   without animation. Maki's own drawing follows the device setting by its own rule; for "Pause motion" the page
   script asks the browser to hold Maki's drawing still (maki-voice.js, makiMotion) and stops the voice pulse. ---- */
.mkv[data-quiet="true"] *, .mkv[data-quiet="true"] *::before, .mkv[data-quiet="true"] *::after{ animation:none !important; transition:none !important; }
.mkv[data-quiet="true"] .mkv-btn:hover, .mkv[data-quiet="true"] .mkv-launcher:hover{ transform:none; }
.mkv[data-quiet="true"] .mkv-ripple, .mkv[data-quiet="true"] .mkv-shimmer{ opacity:0 !important; }
.mkv[data-quiet="true"] .mkv-pulse{ transform:none !important; }
@media (prefers-reduced-motion:reduce){
  .mkv *, .mkv *::before, .mkv *::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .mkv .mkv-btn:hover, .mkv .mkv-launcher:hover{ transform:none; }
  .mkv .mkv-ripple, .mkv .mkv-shimmer{ opacity:0 !important; }
  .mkv .mkv-pulse{ transform:none !important; }
}
/* ---- V2.1: the device setting "reduce transparency": every glass part is solid, nothing behind it is frosted ---- */
@media (prefers-reduced-transparency:reduce){
  .mkv .mkv-bubble:not(.mkv-bubble--empty), .mkv .mkv-pop:not(.mkv-pop--sr){
    background:var(--mkv-glass-solid); -webkit-backdrop-filter:none; backdrop-filter:none;
  }
  .mkv .mkv-form{ background:var(--mkv-espresso); -webkit-backdrop-filter:none; backdrop-filter:none; }
  .mkv .mkv-close::before{ background:var(--mkv-glass-solid); -webkit-backdrop-filter:none; backdrop-filter:none; }
}

/* APInex admin test mode (27 Nov 2026): the small "Test: APInex" label. Shown only in an admin test call with
   that mode on (the server's answer carries think_label); visitors never see it. */
.mkv .mkv-test-tag{ display:inline-block; margin:2px 0 0; padding:1px 8px; border-radius:999px; font:600 11px/1.6 ui-monospace,Menlo,monospace;
  letter-spacing:.04em; color:#1B120E; background:#E2BE92; align-self:flex-start; }
.mkv .mkv-test-tag[hidden]{ display:none; }
