/* ================================================================
   QUALZY: AI-moderated chat page styles
   All styles specific to features/ai-moderated-interviews.html.
   Layout ideas from the "Let's chat" landing draft 0.4; colours and
   type from main.css. Everything is prefixed amc- (or scoped under
   .amc-live, the hero phone) so nothing leaks into shared classes.
   ================================================================ */

/* SHARED BITS
   ---------------------------------------------------------------- */
.amc-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.amc-p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--mid);
  max-width: 60ch;
}
.amc-p + .amc-p { margin-top: 14px; }
.amc-p strong { color: var(--dk); font-weight: 600; }
.amc-p a, .amc-more a, .amc-faq a, .amc-two-kinds a {
  color: var(--o2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.amc-p a:hover, .amc-more a:hover, .amc-faq a:hover { color: var(--o); }

/* HERO: dark, with a warm glow; the chat phone on the right reaches
   down into the light section below (the overlap is --amc-over, set
   by the page script to suit the phone's size)
   ---------------------------------------------------------------- */
.amc-hero {
  position: relative;
  z-index: 1;
  padding: 64px 80px 0; /* nav height offset */
  background:
    radial-gradient(70% 90% at 74% 0%, rgba(250,88,2,.28), rgba(250,88,2,0) 60%),
    var(--d2);
  color: var(--wh);
}
.amc-hero-in {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: start;
}
.amc-hero-txt { padding: 40px 0 88px; }

.amc-hero .ey {
  background: rgba(250,88,2,.14);
  border-color: rgba(251,122,53,.35);
  color: var(--ol);
}
.amc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 28px;
}
.amc-hero h1 em { font-style: normal; color: var(--ol); }
.amc-hsub {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(250,250,248,.78);
  max-width: 58ch;
}

.amc-live { --s: .78; margin-top: 32px; margin-bottom: calc(var(--amc-over, 200px) * -1); }

/* the "start" note and the player controls are for the moving version only */
.amc-live.still .ctl,
.amc-live.still .start { display: none; }

/* the section under the hero makes room for the phone */
.amc-after { padding-top: calc(var(--amc-over, 200px) + 72px); }

/* NAMING: "many researchers would call this an AI-moderated interview"
   ---------------------------------------------------------------- */
.amc-name { background: var(--wh); }
.amc-name-hd { max-width: none; }
.amc-two-kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}
.amc-kind {
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px 30px;
  background: #fff;
}
.amc-kind--ours {
  border-color: rgba(250,88,2,.35);
  background: var(--op);
}
.amc-kind h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--dk);
  margin-bottom: 10px;
}
.amc-kind p { font-size: 16.5px; line-height: 1.6; color: var(--mid); }

/* A WHOLE QUAL STUDY: three columns and the control box
   ---------------------------------------------------------------- */
.amc-whole { background: #fff; border-top: 1px solid var(--rule); }
.amc-whole-hd { max-width: none; margin-bottom: 56px; }
.amc-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.amc-col { border-top: 2px solid var(--dk); padding-top: 26px; }
.amc-col-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--o);
  margin-bottom: 16px;
}
.amc-col h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--dk);
  margin-bottom: 16px;
}
.amc-col p { font-size: 16.5px; line-height: 1.65; color: var(--mid); }
.amc-col p + p { margin-top: 14px; }
.amc-col strong { color: var(--dk); font-weight: 700; }

.amc-control {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 56px;
  padding: 26px 30px;
  border-radius: 18px;
  background: var(--om);
}
.amc-control-ast {
  flex: none;
  font: 800 34px/1 var(--font-display);
  color: var(--o);
}
.amc-control p { font-size: 17px; line-height: 1.6; color: var(--dk); }
.amc-control strong { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* FEATURE SECTIONS: copy one side, a film frame the other
   ---------------------------------------------------------------- */
.amc-feat { background: var(--wh); border-top: 1px solid var(--rule); }
.amc-feat--tint { background: var(--op); border-top: 0; }
.amc-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.amc-two--flip .amc-copy { order: 2; }
.amc-copy .stit { margin-bottom: 22px; }

.amc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.amc-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dk);
}
.amc-list li > span:first-child {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--op);
  color: var(--octa);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amc-feat--tint .amc-list li > span:first-child { background: #fff; }
.amc-list svg { width: 22px; height: 22px; }

.amc-more { margin-top: 26px; font-size: 15px; color: var(--mid); }

.amc-film { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.amc-filmbtn {
  position: relative;
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 488 / 988;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 12.3% / 6.07%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 50px 90px -40px rgba(26,25,21,.6);
}
.amc-filmbtn img { width: 100%; height: 100%; object-fit: cover; }
.amc-filmbtn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26,25,21,0);
  transition: background .3s;
}
.amc-filmbtn:hover::after { background: rgba(26,25,21,.12); }
.amc-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--octa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: transform var(--t-base), background var(--t-base);
}
.amc-play svg { width: 36px; height: 36px; margin-left: 4px; }
.amc-filmbtn:hover .amc-play, .amc-filmbtn:focus-visible .amc-play { transform: scale(1.06); background: var(--o2); }
.amc-film figcaption { font-size: 13.5px; font-weight: 600; color: var(--mu); }

/* Full-width section headers: the intro stops about 200px short of the container */
.amc-name-hd .amc-p, .amc-whole-hd .amc-p, .amc-clones-hd .amc-p, .amc-acts-hd .amc-p { max-width: 1000px; }

/* ACTIVITIES INSIDE THE CHAT: three films side by side
   ---------------------------------------------------------------- */
.amc-acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.amc-act .amc-film { margin-bottom: 26px; }
.amc-act .amc-filmbtn { width: min(100%, 250px); }
.amc-act .amc-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.amc-act .amc-play svg { width: 28px; height: 28px; }
.amc-act h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--dk);
  margin-bottom: 10px;
}
.amc-act p { font-size: 16px; line-height: 1.65; color: var(--mid); }
.amc-act p a { color: var(--o2); font-weight: 600; text-underline-offset: 3px; }
.amc-act p a:hover { color: var(--o); }

/* THE USUAL WORRIES (was "Attack of the clones"): three worries, each answered
   ---------------------------------------------------------------- */
.amc-clones { background: var(--om); }
.amc-clones-hd { max-width: none; }
.amc-worries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.amc-worry {
  background: #fff;
  border: 1px solid rgba(26,25,21,.08);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px -20px rgba(26,25,21,.25);
}
.amc-worry-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--o2);
}
.amc-worry h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--dk);
}
.amc-worry p { font-size: 15.5px; line-height: 1.6; color: var(--mid); }

/* PREFER A FORUM? A short band back to Qualzy Discussions
   ---------------------------------------------------------------- */
.amc-forum { background: #fff; border-top: 1px solid var(--rule); }
.amc-forum-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* FAQ: a plain ruled list
   ---------------------------------------------------------------- */
.amc-faq { background: var(--wh); border-top: 1px solid var(--rule); }
.amc-qas { max-width: 880px; margin-top: 36px; border-top: 1px solid rgba(26,25,21,.14); }
.amc-qas details { border-bottom: 1px solid rgba(26,25,21,.14); }
.amc-qas summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dk);
}
.amc-qas summary::-webkit-details-marker { display: none; }
.amc-qas summary::after { content: "+"; flex: none; color: var(--o); font-size: 24px; font-weight: 500; line-height: 1; }
.amc-qas details[open] summary::after { content: "–"; }
.amc-qas summary:hover { color: var(--o2); }
.amc-qas details p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.65; color: var(--mid); max-width: 76ch; }

/* FILM DIALOG
   ---------------------------------------------------------------- */
.amc-dlg {
  width: min(1200px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.amc-dlg::backdrop { background: rgba(18,18,20,.9); }
.amc-dlg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 600;
}
.amc-dlg-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  font: 600 16px var(--font-body);
  cursor: pointer;
}
.amc-dlg-close:hover { background: rgba(255,255,255,.26); }
.amc-dlg video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 120px);
  border-radius: 14px;
  background: #000;
}

/* RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1000px) {
  .amc-hero-in { grid-template-columns: 1fr; gap: 0; }
  .amc-hero-txt { padding: 32px 0 8px; }
  .amc-live { margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  .amc-hero { padding: 64px 24px 0; }
  .amc-after { padding-top: calc(var(--amc-over, 100px) + 56px); }
  .amc-two, .amc-forum-in, .amc-two-kinds { grid-template-columns: 1fr; gap: 40px; }
  .amc-two--flip .amc-copy { order: 0; }
  .amc-cols, .amc-worries, .amc-acts { grid-template-columns: 1fr; gap: 36px; }
  .amc-worries { gap: 16px; }
  .amc-control { padding: 22px; }
}
@media (max-width: 600px) {
  .amc-live { --s: .7; }

  .amc-hsub, .amc-p { font-size: 17px; }
  .amc-dlg { width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .amc-live *, .amc-filmbtn::after, .amc-play { transition: none !important; animation: none !important; }
}

/* THE HERO PHONE
   Ported from the draft and scoped under .amc-live. The phone is laid
   out at 410 x 815 and scaled with CSS zoom (--s), so text renders
   natively at the smaller size.
   ---------------------------------------------------------------- */
.amc-live .scr { line-height: 1.6; color: var(--dk); }
.amc-live{position:relative;width:calc(410px * var(--s));height:calc(815px * var(--s))}
.amc-live .ph{zoom:var(--s)}
.amc-live .ph{position:relative;width:410px;height:815px;border-radius:60px;background:linear-gradient(150deg,#9a9893 0%,#5d5c58 18%,#45443f 45%,#5d5c58 75%,#a3a19c 100%);padding:13px;box-shadow:0 50px 90px -40px rgba(26,25,21,.55),0 0 0 1px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.18),inset 0 0 0 2px rgba(0,0,0,.35)}
.amc-live .ph::before{content:"";position:absolute;inset:3px;border-radius:55px;background:#3A3936}
.amc-live .scr{position:relative;z-index:1;width:100%;height:100%;border-radius:46px;overflow:hidden;background:var(--wh);display:flex;flex-direction:column;font-size:13.5px}
.amc-live .isl{position:absolute;z-index:3;left:50%;top:10px;width:100px;height:28px;margin-left:-50px;border-radius:16px;background:#000}
.amc-live .sb{height:46px;padding:4px 28px 0 34px;display:flex;align-items:center;justify-content:space-between;background:#fff;font:600 14px var(--font-body);color:var(--d2)}
.amc-live .hd{display:flex;align-items:center;gap:10px;padding:8px 16px 10px;background:#fff;border-bottom:1px solid var(--rule)}
.amc-live .av{width:36px;height:36px;border-radius:50%;background:var(--op);color:var(--octa);font:600 13px var(--font-body);display:flex;align-items:center;justify-content:center}
.amc-live .hd .tt{font:600 14px var(--font-body);line-height:1.2;color:var(--d2)}
.amc-live .hd .st{font:400 11px var(--font-body);color:var(--octa)}
.amc-live .hd .mn{margin-left:auto;width:36px;height:36px;border-radius:50%;background:var(--op);display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center}
.amc-live .hd .mn i{display:block;height:2px;width:14px;background:var(--o);border-radius:2px}
.amc-live .chat{position:relative;flex:1;overflow:hidden}
/* the study's front page, over the chat until "Enter the chat" is tapped */
.amc-live .wel{position:absolute;inset:0;z-index:6;background:var(--wh);display:flex;flex-direction:column;transition:transform .55s cubic-bezier(.22,.61,.36,1)}
.amc-live .wel.off{transform:translateX(-100%)}
.amc-live .wel .hd{flex:none}
.amc-live .wel .body{padding:12px 14px 0;display:flex;flex-direction:column;gap:9px;flex:1;overflow:hidden;mask-image:linear-gradient(180deg,#000 88%,transparent)}
.amc-live .wel .wt{margin:0;font:800 19px/1.15 var(--font-display);letter-spacing:-.035em;color:var(--d2)}
.amc-live .wel .lead{font:300 12px/1.45 var(--font-body);color:var(--mid)}
.amc-live .wel .card{background:#fff;border:1px solid var(--rule);border-radius:12px;padding:11px 13px;display:flex;flex-direction:column;gap:5px;font-size:11.5px;line-height:1.45;color:var(--dk)}
.amc-live .wel .card p{margin:0}
.amc-live .wel .ic{width:14px;height:14px;color:var(--o);flex:none}
.amc-live .wel .cup{display:flex;justify-content:center;margin:2px 0 -2px}
.amc-live .wel .cup svg{width:46px;height:46px;color:var(--o);background:var(--op);border-radius:50%;padding:8px;box-sizing:border-box}
.amc-live .wel .lb{display:flex;align-items:center;gap:6px}
.amc-live .wel .how{display:flex;align-items:center;gap:7px}
.amc-live .wel .card .lb{font:600 9.5px var(--font-body);letter-spacing:.13em;color:var(--mu);text-transform:uppercase}
.amc-live .wel .enter{margin:auto 16px 20px;height:46px;border-radius:999px;background:var(--octa);color:#fff;font:600 14.5px var(--font-body);display:flex;align-items:center;justify-content:center;transition:transform .15s}
.amc-live .wel .enter.press{transform:scale(.96)}
.amc-live .wel .enter{position:relative;overflow:visible;cursor:pointer}
.amc-live .start{position:absolute;z-index:7;left:50%;margin-left:-150px;bottom:114px;width:280px;cursor:pointer;transition:opacity .3s;animation:amc-float 2.2s ease-in-out infinite}
.amc-live .start.off{opacity:0;pointer-events:none;animation:none}
.amc-live .start b{display:block;white-space:nowrap;font:800 19px/1.15 var(--font-display);letter-spacing:-.02em;color:var(--octa);transform:rotate(-5deg);text-shadow:0 0 6px var(--wh),0 0 12px var(--wh),0 0 18px var(--wh)}
.amc-live .start svg{position:absolute;left:100px;top:32px;width:70px;height:68px;fill:none;stroke:var(--octa);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px var(--wh))}
@keyframes amc-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.amc-live .ibar.next .end{transition:transform .15s}
.amc-live .ibar.next .end.press{transform:scale(.97)}
.amc-live .wel .enter .rip{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;border:2.5px solid rgba(255,255,255,.9);opacity:0;transform:scale(.4)}
.amc-live .wel .enter.press .rip{animation:amc-rip .55s ease-out}
@keyframes amc-rip{0%{opacity:.9;transform:scale(.4)}100%{opacity:0;transform:scale(3.2)}}
.amc-live .ctl{position:absolute;z-index:9;left:50%;transform:translateX(-50%);top:46px;display:flex;align-items:center;gap:6px;opacity:0;pointer-events:none;transition:opacity .25s}
.amc-live:hover .ctl,.amc-live.paused .ctl{opacity:1;pointer-events:auto}
.amc-live .ctl .snd{box-shadow:0 6px 18px rgba(26,25,21,.22)}
.amc-live{cursor:pointer}
.amc-live .snd{display:inline-flex;align-items:center;gap:8px;font:600 13px var(--font-body);color:var(--mid);background:var(--wh);border:1px solid var(--rule);border-radius:999px;padding:8px 14px;cursor:pointer;white-space:nowrap}
.amc-live .snd:hover{border-color:var(--d2)}
.amc-live .snd.on{color:var(--d2)}
.amc-live .snd svg{width:16px;height:16px;flex:none}
.amc-live .snd.ico{padding:8px;width:34px;height:34px;justify-content:center}
.amc-live .snd.ico .x{display:none}
.amc-live .snd.ico:not(.on) .x{display:block}
.amc-live .snd.ico:not(.on) .w1,.amc-live .snd.ico:not(.on) .w2{opacity:.35}
.amc-live .ptr{position:absolute;z-index:8;width:36px;height:36px;left:0;top:0;opacity:0;filter:drop-shadow(0 4px 8px rgba(0,0,0,.35));transition:opacity .3s,scale .15s;transform-origin:7px 4px;pointer-events:none}
.amc-live .ptr.show{opacity:1}
.amc-live .ptr.press{scale:.85}
.amc-live .chat{transition:transform .55s cubic-bezier(.22,.61,.36,1)}
.amc-live .chat.off{transform:translateX(100%)}
.amc-live .feed{position:absolute;left:0;right:0;top:0;padding:12px 14px 16px;display:flex;flex-direction:column;gap:10px;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.amc-live .sec{text-align:center;font:600 10px var(--font-body);letter-spacing:.13em;color:var(--octa);margin-top:4px}
.amc-live .msg{display:flex;flex-direction:column;gap:5px;max-width:84%;position:relative;opacity:0;transform:translateY(10px) scale(.96);transition:opacity .35s,transform .45s cubic-bezier(.34,1.4,.64,1)}
.amc-live .msg.in{opacity:1;transform:none}
.amc-live .msg.swap>.bub{animation:amc-bubin .32s cubic-bezier(.34,1.3,.64,1) both;transform-origin:0 0}
@keyframes amc-bubin{0%{opacity:0;transform:translateY(4px) scale(.97)}100%{opacity:1;transform:none}}
.amc-live .msg.q,.amc-live .msg.m{align-self:flex-start}
.amc-live .msg.u{align-self:flex-end;align-items:flex-end}
.amc-live .bub{padding:10px 13px;border-radius:14px;line-height:1.4;background:#fff;box-shadow:0 1px 2px rgba(26,25,21,.06);color:var(--d2)}
.amc-live .msg.u .bub{background:var(--octa);color:#fff}
.amc-live .msg.m .bub{background:var(--om)}
.amc-live .mlab{display:flex;align-items:center;gap:5px;font:600 9.5px var(--font-body);letter-spacing:.13em;color:var(--octa)}
.amc-live .mlab i{width:14px;height:14px;display:inline-block;background:var(--o);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2l1.8 5.2L17 9l-5.2 1.8L10 16l-1.8-5.2L3 9l5.2-1.8Z'/%3E%3Cpath d='M18.5 13l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2l1.8 5.2L17 9l-5.2 1.8L10 16l-1.8-5.2L3 9l5.2-1.8Z'/%3E%3Cpath d='M18.5 13l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9Z'/%3E%3C/svg%3E") center/contain no-repeat}
.amc-live .dots{display:inline-flex;gap:4px;padding:11px 13px;background:var(--om);border-radius:14px}
.amc-live .msg.q .dots{background:#fff;box-shadow:0 1px 2px rgba(26,25,21,.06)}
.amc-live .dots i{width:6px;height:6px;border-radius:50%;background:var(--ol);animation:amc-bob 1s infinite}
.amc-live .dots i:nth-child(2){animation-delay:.15s}.amc-live .dots i:nth-child(3){animation-delay:.3s}
@keyframes amc-bob{0%,60%,100%{transform:none}30%{transform:translateY(-4px)}}
.amc-live .bub.photo{position:relative;width:230px;padding:5px;border-radius:14px;background:var(--octa)}
.amc-live .bub.photo img{display:block;width:100%;aspect-ratio:761/567;object-fit:cover;border-radius:10px}
.amc-live .flag{position:absolute;left:12px;top:12px;display:inline-flex;align-items:center;background:rgba(26,25,21,.84);color:#fff;font:600 11px var(--font-body);padding:4px 9px 4px 7px;border-radius:999px;opacity:0;transform:scale(.7);transition:opacity .3s,transform .35s cubic-bezier(.34,1.4,.64,1)}
.amc-live .flag.in{opacity:1;transform:none}
.amc-live .flag svg{width:14px;height:14px;margin-right:6px;fill:none;stroke:var(--ol);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.amc-live .lbl{position:absolute;transform:translate(-50%,-50%) scale(.6);display:inline-flex;align-items:center;gap:4px;background:#fff;color:var(--d2);font:600 10.5px var(--font-body);padding:4px 8px 4px 6px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.25);white-space:nowrap;opacity:0;transition:opacity .3s,transform .35s cubic-bezier(.34,1.4,.64,1)}
.amc-live .lbl i{width:7px;height:7px;border-radius:50%;background:var(--o)}
.amc-live .lbl.in{opacity:1;transform:translate(-50%,-50%)}
.amc-live .act{align-self:stretch;max-width:none;align-items:stretch}
.amc-live .act .bub{background:#fff;border:1px solid var(--rule);display:flex;flex-direction:column;gap:8px}
.amc-live .act .lb{font:600 9.5px var(--font-body);letter-spacing:.13em;color:var(--mu)}
.amc-live .act .go{transition:transform .15s}
.amc-live .act .go.press{transform:scale(.94)}
.amc-live .act .go{align-self:flex-start;background:var(--octa);color:#fff;font:600 12.5px var(--font-body);padding:8px 14px;border-radius:999px}
.amc-live .msg.bnr{align-self:stretch;max-width:none}
.amc-live .msg.bnr .bub{position:relative;padding:0;overflow:hidden;border-radius:12px;background:none;box-shadow:none}
.amc-live .msg.bnr img{display:block;width:100%;aspect-ratio:1376/288;object-fit:cover}
.amc-live .msg.bnr b{position:absolute;left:12px;bottom:10px;color:#fff;font:800 15px var(--font-display);letter-spacing:-.03em}
.amc-live .msg.bnr span{position:absolute;right:10px;top:8px;background:var(--octa);color:#fff;font:600 9px var(--font-body);letter-spacing:.08em;padding:3px 8px;border-radius:999px}
.amc-live .bub.intro{background:#fff;border:1px solid var(--rule);display:flex;flex-direction:column;gap:5px;font-size:12px;line-height:1.45}
.amc-live .bub.intro .lb{font:600 9.5px var(--font-body);letter-spacing:.13em;color:var(--mu)}
.amc-live .bub.intro p{margin:0}
.amc-live .done{display:flex;flex-direction:column;align-items:center;gap:8px;padding:6px 0 4px;text-align:center}
.amc-live .done .rule{display:flex;align-items:center;gap:8px;width:100%;font:600 9.5px var(--font-body);letter-spacing:.12em;color:var(--octa)}
.amc-live .done .rule::before,.amc-live .done .rule::after{content:"";flex:1;height:1px;background:var(--om)}
.amc-live .done .ok{width:46px;height:46px;border-radius:50%;background:var(--o);color:#fff;display:flex;align-items:center;justify-content:center;font:700 20px var(--font-body);margin-top:14px}
.amc-live .done b{font:800 15px var(--font-display);letter-spacing:-.03em;color:var(--d2)}
.amc-live .done p{margin:0;font:400 12px/1.45 var(--font-body);color:var(--mu);max-width:26ch}
.amc-live .done .well{background:var(--op);color:var(--octa);font:600 12px var(--font-body);padding:6px 14px;border-radius:999px;margin-top:4px}
.amc-live .ibar.next{flex-direction:column;gap:7px;padding:18px 12px 18px}
.amc-live .ibar.next .go{position:relative;width:100%;height:42px;border-radius:999px;background:var(--o);color:#fff;font:600 13.5px var(--font-body);display:flex;align-items:center;justify-content:center;transition:transform .15s}
.amc-live .ibar.next .go.press{transform:scale(.97)}
.amc-live .ibar.next .end{width:100%;height:40px;border-radius:999px;background:#fff;border:1px solid var(--rule);color:var(--d2);font:600 13px var(--font-body);display:flex;align-items:center;justify-content:center}
.amc-live .ibar.media{flex-wrap:wrap;gap:8px;padding:9px 12px 16px}
.amc-live .ibar.media .field{flex:1 1 100%;height:52px;border-radius:14px;align-items:flex-start;padding:12px 14px;white-space:normal}
.amc-live .ibar.media .tools{display:flex;gap:6px;flex:1}
.amc-live .ibar.media .tools i,.amc-live .ibar.media .mic{width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid var(--rule);color:#6f6c66;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:14px}
.amc-live .ibar.media .tools i svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.amc-live .ibar.media .tools i{transition:transform .15s,background .15s}
.amc-live .ibar.media .tools i.press{background:var(--op);border-color:var(--o);color:var(--octa);transform:scale(.85)}
.amc-live .ibar.media .send{width:32px;height:32px}
.amc-live .msg.sys{align-self:center;max-width:none}
.amc-live .msg.sys .bub{display:flex;align-items:center;gap:7px;background:var(--d2);color:#fff;font:600 11.5px var(--font-body);padding:7px 14px 7px 8px;border-radius:999px}
.amc-live .msg.sys .bub i{width:18px;height:18px;border-radius:50%;background:var(--o);display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:11px}
.amc-live .ibar{display:flex;align-items:center;gap:7px;padding:9px 12px 20px;background:#fff;border-top:1px solid var(--rule);transition:opacity .4s}
.amc-live .ibar.hide{opacity:0}
.amc-live .field{flex:1;height:38px;border-radius:999px;background:#F2F1EE;display:flex;align-items:center;padding:0 14px;color:var(--mu);font-size:13px;overflow:hidden;white-space:nowrap}
.amc-live .mic{width:36px;height:36px;border-radius:50%;background:#F2F1EE;color:#8a8780;display:flex;align-items:center;justify-content:center;flex:none}
.amc-live .mic svg{width:15px;height:15px}
.amc-live .field.on{color:var(--d2)}
.amc-live .field .att{width:26px;height:26px;border-radius:7px;object-fit:cover;margin-right:8px;flex:none}
.amc-live .send{width:36px;height:36px;border-radius:50%;background:var(--o);display:flex;align-items:center;justify-content:center;flex:none;opacity:.55;transition:opacity .25s}
.amc-live .send svg{width:16px;height:16px}
.amc-live .send.on{opacity:1}
.amc-live .send{transition:opacity .25s,transform .15s}
.amc-live .send.press{transform:scale(.85)}
.amc-live .msg.q.act .note{left:10px;right:auto;top:auto;bottom:-13px}
.amc-live .msg.q.act:has(> .note) .bub.intro{padding-bottom:20px}
/* a note pinned to the message it is about; it scrolls with the chat */
.amc-live .note{position:absolute;display:inline-flex;align-items:center;background:var(--d2);color:#fff;font:600 11.5px var(--font-body);padding:5px 11px 5px 8px;border-radius:999px;box-shadow:0 6px 16px rgba(26,25,21,.28);white-space:nowrap;opacity:0;transform:translateX(140%);transition:opacity .35s,transform .55s cubic-bezier(.22,.61,.36,1);z-index:4;pointer-events:none}
.amc-live .note svg{width:15px;height:15px;margin-right:7px;flex:none;fill:none;stroke:var(--ol);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.amc-live .note.in{opacity:1;transform:none}
.amc-live .note.ok{background:#1f7a3a;box-shadow:0 6px 16px rgba(31,122,58,.3)}
.amc-live .note.ok svg{stroke:#fff}
.amc-live .chat{overflow:hidden}
/* under the reply, overlapping its bottom edge, tucked in from the right */
.amc-live .msg.u .note{right:10px;bottom:-13px;top:auto}
.amc-live .msg.u:has(.note){margin-bottom:12px}
.amc-live .msg.m .note,.amc-live .msg.act .note{right:-4px;top:-12px}
/* the pin task screen, which slides up over the chat (as in "Put a pin in it") */
.amc-live .pt{position:absolute;inset:0;z-index:7;background:rgba(18,18,20,.78);display:flex;align-items:center;justify-content:center;padding:0 14px;transition:opacity .35s}
.amc-live .pt.off{opacity:0;pointer-events:none}
.amc-live .ptc{width:100%;background:#1c1c1e;border-radius:18px;overflow:hidden;color:#fff;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,.5);transform:scale(.94);transition:transform .35s cubic-bezier(.22,.61,.36,1)}
.amc-live .pt:not(.off) .ptc{transform:none}
.amc-live .pt .pth{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;font:600 13.5px var(--font-body)}
.amc-live .pt .pth .zm{display:flex;align-items:center;gap:8px;font:500 12px var(--font-body);color:#ddd}
.amc-live .pt .pth .zm b,.amc-live .pt .pth .x{width:28px;height:28px;border-radius:50%;background:#3a3a3c;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:600 14px var(--font-body);transition:transform .15s}
.amc-live .pt .pth .x{margin-left:6px}
.amc-live .pt .pth .x.press{transform:scale(.88)}
.amc-live .pt .ar{position:relative}
.amc-live .pt .im{position:relative;width:100%}
.amc-live .pt .im img{display:block;width:100%}
.amc-live .pt .spot{position:absolute;left:71.6%;top:34.5%;width:2px;height:2px}
.amc-live .pt .ppin{position:absolute;left:71.6%;top:34.5%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#8D8D92;border:3px solid #fff;box-sizing:border-box;box-shadow:0 2px 6px rgba(0,0,0,.45);opacity:0;transform:scale(.4);transition:opacity .2s,transform .3s cubic-bezier(.34,1.4,.64,1),background .2s}
.amc-live .pt .ppin.in{opacity:1;transform:none}
.amc-live .pt .ppin.set{background:#1ee61e}
.amc-live .pt .pop{position:absolute;right:10px;top:39%;transform:scale(.9);transform-origin:70% 0;width:224px;background:#fff;color:var(--d2);border-radius:14px;padding:10px;box-shadow:0 12px 30px rgba(0,0,0,.35);opacity:0;transition:opacity .25s,transform .3s cubic-bezier(.34,1.4,.64,1);font:500 12px var(--font-body)}
.amc-live .pt .pop.in{opacity:1;transform:none}
.amc-live .pt .pop.off{opacity:0;transform:scale(.9)}
.amc-live .pt .pop .ch{display:flex;gap:8px}
.amc-live .pt .pop .ch span{flex:1;border:1px solid var(--rule);border-radius:999px;padding:6px;display:flex;align-items:center;justify-content:center;gap:6px;transition:transform .15s,background .2s,border-color .2s}
.amc-live .pt .pop .ch span i{width:8px;height:8px;border-radius:50%;background:#e03131}
.amc-live .pt .pop .ch span:last-child i{background:#2f9e44}
.amc-live .pt .pop .ch span.on{border-color:#2f9e44;background:#ebfbee}
.amc-live .pt .pop .ch span.press,.amc-live .pt .pop .bt span.press{transform:scale(.93)}
.amc-live .pt .pop .nt{position:relative;margin-top:8px;min-height:44px;border-radius:10px;background:#F2F1EE;padding:8px 30px 8px 10px;color:var(--mu);font-weight:400;line-height:1.3}
.amc-live .pt .pop .nt::after{content:'';position:absolute;right:7px;bottom:7px;width:16px;height:16px;border-radius:50%;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8A94' stroke-width='2' stroke-linecap='round'><rect x='9' y='3' width='6' height='11' rx='3'/><path d='M5 11a7 7 0 0 0 14 0M12 18v3'/></svg>") center/10px no-repeat}
.amc-live .pt .pop .nt.on{color:var(--d2)}
.amc-live .pt .pop .bt{display:flex;gap:8px;margin-top:8px}
.amc-live .pt .pop .bt span{border-radius:999px;padding:8px 10px;text-align:center;flex:1;border:1px solid var(--rule);transition:transform .15s}
.amc-live .pt .pop .bt .sv{background:#111;color:#fff;border-color:#111;flex:1.4;font-weight:600}
.amc-live .pt .ptf{display:flex;justify-content:space-between;align-items:center;padding:14px 14px;font:600 11px var(--font-body);letter-spacing:.04em}
.amc-live .pt .ptf em{font-style:normal;font-weight:400;color:#aaa;letter-spacing:0;transition:opacity .3s}
.amc-live .pt .ptf em.off{opacity:0}
.amc-live .pt .ptf .dn{position:absolute;right:12px;background:var(--o);color:#fff;padding:7px 12px;border-radius:999px;opacity:0;transform:scale(.9);transition:opacity .3s,transform .3s}
.amc-live .pt .ptf .dn.in{opacity:1;transform:none}
.amc-live .pt .ptf .dn.press{transform:scale(.92)}
.amc-live .pt .ptf{position:relative}
/* the pin, back in the chat */
.amc-live .bub.crop{padding:0;overflow:hidden;width:230px;border-radius:14px;background:#fff;border:1px solid var(--rule)}
.amc-live .bub.crop .cimg{position:relative}
.amc-live .bub.crop img{display:block;width:100%}
.amc-live .bub.crop .cpin{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:#1ee61e;border:3px solid #fff;box-sizing:border-box;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.amc-live .vma{font:400 10.5px var(--font-body);color:var(--mu);text-decoration:underline;margin-top:-1px}
.amc-live .bub.crop .yp{display:flex;align-items:center;gap:7px;padding:8px 12px 3px;font:500 10px var(--font-body);letter-spacing:.08em;color:var(--mu)}
.amc-live .bub.crop .yp em{font-style:normal;letter-spacing:0;font:600 11px var(--font-body);color:#fff;background:#2f9e44;border-radius:999px;padding:2px 8px}
.amc-live .bub.crop .yq{padding:0 12px 10px;font-size:12.5px;color:var(--d2)}
.amc-live .msg.u:has(> .note:not(.flyer)),.amc-live .msg.q:has(> .note),.amc-live .msg.m:has(> .note.under){margin-bottom:16px}
.amc-live .msg.clip:has(> .note){margin-bottom:0}
.amc-live .msg.m .note.under{left:10px;right:auto;top:auto;bottom:-13px}
/* video clips, as in the "Give it another shot" film */
.amc-live .bub.video{position:relative;width:150px;padding:5px;border-radius:16px;background:var(--octa)}
.amc-live .vid{position:relative;width:100%;aspect-ratio:489/760;border-radius:12px;overflow:hidden;background:#000}
.amc-live .vid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.amc-live .playb{position:absolute;z-index:1;left:11px;bottom:9px;width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent #fff}
.amc-live .durb{position:absolute;z-index:1;right:8px;bottom:8px;background:rgba(15,14,11,.72);color:#fff;font:600 10.5px var(--font-body);padding:2px 6px;border-radius:6px}
.amc-live .chips{position:absolute;right:122px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:flex-end;gap:6px;z-index:2}
.amc-live .msg.clip .bub.video{position:relative}
.amc-live .msg.m + .msg.clip{margin-top:12px}
.amc-live .msg.clip{overflow:visible}
.amc-live .chip{display:inline-flex;align-items:center;background:#fff;color:var(--d2);font:600 10.5px var(--font-body);padding:4px 9px 4px 7px;border-radius:999px;box-shadow:0 2px 8px rgba(26,25,21,.22);white-space:nowrap;opacity:0;transform:scale(.6);transform-origin:100% 50%;transition:opacity .3s,transform .4s cubic-bezier(.34,1.4,.64,1)}
.amc-live .chip.miss{background:#e03131;color:#fff}
.amc-live .chip.ok{background:#2f9e44;color:#fff}
.amc-live .chip svg{width:13px;height:13px;margin-right:5px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.amc-live .chip.flick{animation:amc-flick .34s ease-in-out}
@keyframes amc-flick{0%{transform:scaleY(1)}50%{transform:scaleY(.05)}100%{transform:scaleY(1)}}
.amc-live .chip.in{opacity:1;transform:none}
.amc-live .chip.pend{transform:none;transition:none}
.amc-live .chip.pend.in{background:#fff;color:var(--d2)}
.amc-live .hl{border-radius:4px;padding:0 3px;margin:0 -3px;transition:background .3s,color .3s}
.amc-live .hl.on{background:#fff;color:var(--d2);box-shadow:0 0 0 1px var(--rule),0 2px 6px rgba(26,25,21,.12)}
.amc-live .chip.flyer{position:absolute;z-index:9;opacity:1;transform:none;transition:transform .7s cubic-bezier(.4,0,.2,1)}
.amc-live .msg.clip .note{position:relative;right:auto;bottom:auto;top:auto;order:9;margin-top:4px}
.amc-live .msg.q .note{left:10px;right:auto;top:auto;bottom:-13px}
.amc-live .msg.q:has(.note){margin-bottom:12px}
.amc-live .sec{position:relative}
.amc-live .sec.hasnote{margin-bottom:22px}
.amc-live .ibar.next{position:relative;overflow:visible}
.amc-live .ibar.next .note{left:50%;right:auto;bottom:auto;top:-16px;transform:translateX(-50%) translateY(0) scale(.8)}
.amc-live .ibar.next .note.in{transform:translateX(-50%)}
.amc-live .msg.m{overflow:visible}
