/* ==========================================================================
   Multigravity v1.2.8 — Bespoke Interactive Animated UI Showcases (#whatsnew)
   - Pillar 1 (#duoStage): Morphing iPhone Duo Hardware (Unfolded 180° / Book 90° / Cover 0°)
   - Pillar 2 (Card 01 #mgStage): Decoupled Multi-Gateway Swipe & Frosted Slide Picker
   - Pillar 3A (Card 02 #aiReplyStage): AI Next-Prompt Suggestions & Playable 1.5s Hold-to-Send
   - Pillar 3B (Card 03 #trStage — ZH/JA only): Live Shimmer-Morph Smart Translation Switches
   ========================================================================== */

/* ---------- Shared Controls & Bento Shell (high specificity vs inline <style>) ---------- */
#whatsnew .v128-stage-bar{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:26px;
}
#whatsnew .duo-tablist{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  max-width:100%;
}
#whatsnew .duo-tab{
  flex:none;
  padding:8px 17px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:600;
  color:#a1a1a6;
  white-space:nowrap;
  transition:background .22s var(--ease),color .22s var(--ease),box-shadow .22s var(--ease);
}
#whatsnew .duo-tab:hover{color:#f5f5f7}
#whatsnew .duo-tab[aria-selected="true"]{
  background:rgba(255,255,255,.16);
  color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.22);
}
#whatsnew .duo-tab:focus-visible,
#whatsnew .v128-pill-btn:focus-visible,
#whatsnew .duo-play-btn:focus-visible{
  outline:2px solid #2997ff;
  outline-offset:2px;
}
#whatsnew .duo-play-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 13px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  color:#a1a1a6;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.11);
  transition:color .2s,background .2s,border-color .2s;
}
#whatsnew .duo-play-btn:hover{
  color:#fff;
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.2);
}
#whatsnew .duo-play-btn .dp-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#30d158;
}
#whatsnew .duo-play-btn[data-paused="true"] .dp-dot{
  background:#636366;
}

/* ==========================================================================
   1. PILLAR 1: ZERO-FADE RIGID-BODY 3D HINGED IPHONE DUO (#duoStage)
      Cover screen mounted on physical backface of .duo-wing-left
   ========================================================================== */
#whatsnew .duo-stage{
  max-width:1080px;
  margin:0 auto 48px;
}
#whatsnew .duo-stage-wrap{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  overflow-x:clip;
}
#whatsnew .duo-stage-wrap::before{
  content:"";
  position:absolute;
  inset:2% 10% 18%;
  border-radius:50%;
  background:radial-gradient(closest-side,rgba(99,112,248,.22),rgba(41,151,255,.1) 52%,transparent 78%);
  filter:blur(44px);
  pointer-events:none;
}

/* 3D Perspective Root (fixed height = 0 CLS across 0° ↔ 180°) */
#whatsnew .duo-scene{
  position:relative;
  z-index:1;
  width:100%;
  height:596px;
  display:grid;
  place-items:center;
  perspective:2400px;
  perspective-origin:50% 48%;
  overflow-x:clip;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans",sans-serif;
  text-align:left;
  letter-spacing:-.01em;
  color:#f5f5f7;
}
#whatsnew .duo-floor-shadow{
  position:absolute;
  bottom:2px;
  left:50%;
  transform:translateX(-50%);
  width:var(--duo-shadow-w,82%);
  max-width:800px;
  height:36px;
  border-radius:50%;
  background:radial-gradient(closest-side,rgba(0,0,0,.92),rgba(0,0,0,.44) 58%,transparent 100%);
  filter:blur(16px);
  opacity:var(--duo-shadow-op,.84);
  pointer-events:none;
  z-index:0;
}

/* Rigid-Body 3D Chassis Rig — NEVER set overflow:hidden / filter / opacity<1 here! */
#whatsnew .duo-book-rig{
  position:relative;
  z-index:2;
  width:min(820px,100%);
  height:536px;
  transform-style:preserve-3d;
  transform:translateZ(var(--duo-z-push,0px)) scale(var(--duo-scale,1)) translateX(var(--duo-tx,0%)) rotateX(var(--duo-pitch-x,0deg));
  will-change:transform;
}

/* Center Brushed-Titanium Hinge Spine + Top/Bottom Barrel Caps (emerges as split docks to 50%) */
#whatsnew .duo-spine-hardware{
  position:absolute;
  top:-4px;
  bottom:-4px;
  left:var(--duo-split,50%);
  width:12px;
  margin-left:-6px;
  transform:translateZ(-2px);
  opacity:var(--duo-spine-op,0);
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
}
#whatsnew .duo-spine-rail{
  position:absolute;
  inset:3px 1px;
  border-radius:6px;
  background:linear-gradient(90deg,#16161b 0%,#525260 32%,#a8a8b8 50%,#3c3c46 68%,#131317 100%);
  box-shadow:0 0 18px rgba(0,0,0,.92);
}
#whatsnew .duo-cap-top,
#whatsnew .duo-cap-bot{
  position:relative;
  z-index:1;
  width:18px;
  height:10px;
  border-radius:5px;
  background:linear-gradient(90deg,#24242b 0%,#868696 42%,#d4d4e0 54%,#393943 100%);
  box-shadow:0 2px 7px rgba(0,0,0,.82),inset 0 1px 0 rgba(255,255,255,.45);
}

/* Rigid-Body 3D Left & Right Wings — Continuous 38% ↔ 50% Split, NEVER overflow:hidden/opacity<1! */
#whatsnew .duo-wing{
  position:absolute;
  top:0;
  height:100%;
  transform-style:preserve-3d;
  will-change:transform,width,left;
}
#whatsnew .duo-wing-left{
  left:0;
  width:var(--duo-split,38%);
  transform-origin:right center;
  transform:rotateY(var(--duo-left-y,0deg));
}
#whatsnew .duo-wing-right{
  left:var(--duo-split,38%);
  width:calc(100% - var(--duo-split,38%));
  transform-origin:left center;
  transform:rotateY(var(--duo-right-y,0deg));
}

/* Leaf Faces ONLY carry backface-visibility:hidden + overflow:hidden + border-radius */
#whatsnew .duo-face{
  position:absolute;
  inset:0;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  overflow:hidden;
}

/* Left Inner Face (Inbox Sidebar on front of Left Wing) */
#whatsnew .duo-inner-left{
  transform:translateZ(.5px);
  padding:9px 0 9px 9px;
  border-radius:34px 0 0 34px;
  background:linear-gradient(145deg,#43434b 0%,#141418 44%,#2c2c33 100%);
  box-shadow:-10px 24px 52px -18px rgba(0,0,0,.78),inset 1px 1px 0 rgba(255,255,255,.26),inset 0 -1px 0 rgba(255,255,255,.12);
}
#whatsnew .duo-inner-left .duo-wing-screen{
  border-radius:26px 0 0 26px;
  border-right:1px solid rgba(255,255,255,.09);
}

/* Outer Cover 0° Screen mounted physically on BACK FACE of Left Wing (ZERO FADE!) */
#whatsnew .duo-cover-face{
  transform:rotateY(180deg) translateZ(3.5px);
  padding:9px 9px 9px 19px;
  border-radius:14px 34px 34px 14px;
  background:linear-gradient(145deg,#44444d 0%,#121216 42%,#2d2d34 100%);
  box-shadow:0 34px 76px -20px rgba(0,0,0,.88),inset 0 1px 0 rgba(255,255,255,.32),inset 0 0 0 1px rgba(255,255,255,.16);
}
#whatsnew .duo-cover-hinge-edge{
  position:absolute;
  top:2px;
  bottom:2px;
  left:2px;
  width:13px;
  border-radius:11px 4px 4px 11px;
  background:linear-gradient(90deg,#2a2a32 0%,#787886 38%,#bdbdcb 52%,#4c4c56 76%,#141418 100%);
  box-shadow:inset -1px 0 0 rgba(0,0,0,.78),inset 1px 0 0 rgba(255,255,255,.32);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:32px 2px;
  pointer-events:none;
}
#whatsnew .duo-cover-hinge-edge i{
  display:block;
  width:100%;
  height:22px;
  border-radius:3px;
  background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(0,0,0,.35) 55%,rgba(255,255,255,.18));
  border-top:1px solid rgba(0,0,0,.45);
  border-bottom:1px solid rgba(0,0,0,.45);
}
#whatsnew .duo-cover-hinge-edge i.dch-mid{
  height:64px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.14),transparent);
  border:0;
}
#whatsnew .duo-cover-screen{
  position:relative;
  width:100%;
  height:100%;
  border-radius:9px 26px 26px 9px;
  background:#000;
  overflow:hidden;
  display:flex;
}
#whatsnew .duo-cover-inbox{
  flex:1;
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  padding:14px 9px 10px 13px;
  overflow:hidden;
}
#whatsnew .duo-cover-sheen{
  position:absolute;
  inset:-12%;
  pointer-events:none;
  z-index:6;
  background:linear-gradient(118deg,transparent 24%,rgba(255,255,255,.16) 47%,rgba(165,180,252,.08) 53%,transparent 72%);
  transform:translateX(var(--duo-cover-sheen-x,-20%));
  opacity:var(--duo-cover-sheen-op,.3);
}

/* 4px Brushed-Titanium Outer Lid Rim (gleams as cover passes 90° edge-on!) */
#whatsnew .duo-lid-edge{
  position:absolute;
  left:0;
  top:34px;
  width:4px;
  height:calc(100% - 68px);
  transform-origin:left center;
  transform:translateZ(.5px) rotateY(90deg);
  background:linear-gradient(180deg,#50505b 0%,#b8b8c6 30%,#44444e 65%,#9e9eac 100%);
  box-shadow:0 0 6px rgba(255,255,255,.22);
  pointer-events:none;
}

/* Right Inner Face (Swarm Squad on front of Right Wing) */
#whatsnew .duo-inner-right{
  transform:translateZ(0px);
  padding:9px 9px 9px 0;
  border-radius:0 34px 34px 0;
  background:linear-gradient(215deg,#43434b 0%,#141418 44%,#2c2c33 100%);
  box-shadow:10px 24px 52px -18px rgba(0,0,0,.78),inset -1px 1px 0 rgba(255,255,255,.26),inset 0 -1px 0 rgba(255,255,255,.12);
}
#whatsnew .duo-inner-right .duo-wing-screen{
  border-radius:0 26px 26px 0;
  background:#050507;
}

/* Right Rear Matte Dark Titanium Backplate */
#whatsnew .duo-back-right{
  transform:rotateY(180deg) translateZ(4px);
  border-radius:34px 0 0 34px;
  background:linear-gradient(145deg,#2a2a31 0%,#111115 48%,#35353e 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}

#whatsnew .duo-wing-screen{
  position:relative;
  width:100%;
  height:100%;
  background:#000;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

/* Physical Dynamic Lighting: V-Valley Crease Shadow + Lid Ambient Occlusion + Glass Specular Sheen */
#whatsnew .duo-wing-shade{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:4;
  opacity:var(--duo-crease,0);
}
#whatsnew .duo-inner-left .duo-wing-shade{
  background:linear-gradient(270deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.44) 14%,rgba(0,0,0,.15) 38%,rgba(0,0,0,.04) 70%,transparent 100%);
}
#whatsnew .duo-inner-right .duo-wing-shade{
  background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.34) 14%,rgba(0,0,0,.08) 40%,transparent 74%);
}
#whatsnew .duo-wing-dim{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.38) 55%,rgba(0,0,0,.18) 100%);
  opacity:var(--duo-right-ao,0);
  pointer-events:none;
  z-index:5;
}
#whatsnew .duo-wing-sheen{
  position:absolute;
  inset:-10%;
  pointer-events:none;
  z-index:6;
  background:linear-gradient(116deg,transparent 26%,rgba(255,255,255,.13) 48%,rgba(165,180,252,.07) 54%,transparent 72%);
  transform:translateX(var(--duo-sheen-x,-24%));
  opacity:var(--duo-sheen-op,0);
}
#whatsnew .duo-inner-left .duo-wing-sheen{
  background:linear-gradient(64deg,transparent 28%,rgba(255,255,255,.08) 48%,transparent 70%);
  transform:translateX(calc(-1 * var(--duo-sheen-x,-24%)));
}

/* Live Switchable Right-Pane Conversation Views (zero state loss on fold!) */
#whatsnew .duo-conv-pane{
  display:none;
  flex-direction:column;
  gap:9px;
  min-width:0;
}
#whatsnew .duo-conv-pane.active{
  display:flex;
}

/* Subtle Physical Crease Hairline (Book 90°, zero text on fold line) */
#whatsnew .duo-crease-overlay{
  position:absolute;
  top:9px;
  bottom:9px;
  left:50%;
  width:2px;
  margin-left:-1px;
  transform:translateZ(2px);
  pointer-events:none;
  opacity:var(--duo-crease-line,0);
}
#whatsnew .duo-crease-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 0%,rgba(129,140,248,.42) 18%,rgba(212,218,255,.72) 50%,rgba(129,140,248,.42) 82%,transparent 100%);
  box-shadow:0 0 10px rgba(129,140,248,.45);
}

/* Inner Left Pane inside 3D Left Wing */
#whatsnew .duo-left{
  position:relative;
  flex:1;
  width:100%;
  min-width:0;
  height:100%;
  background:#000;
  display:flex;
  flex-direction:column;
  padding:12px 11px 10px;
  overflow:hidden;
}

/* Top Sidebar Nav */
#whatsnew .duo-side-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
  height:28px;
  flex:none;
  overflow:hidden;
}
#whatsnew .duo-ico-btn{
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
  color:#8f96ff;
  display:grid;
  place-items:center;
  flex:none;
}
#whatsnew .duo-ico-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#whatsnew .duo-title{
  font-size:21px;
  font-weight:800;
  letter-spacing:-.03em;
  color:#fff;
  line-height:1.1;
  margin-bottom:8px;
}
#whatsnew .duo-quota{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 8px;
  border-radius:11px;
  background:#141417;
  border:1px solid rgba(255,255,255,.07);
  font-size:10px;
  margin-bottom:6px;
  white-space:nowrap;
  overflow:hidden;
}
#whatsnew .duo-quota .q-bolt{color:#34c759;font-weight:700;flex:none}
#whatsnew .duo-quota .q-lbl{color:#e5e5ea;font-weight:600;overflow:hidden;text-overflow:ellipsis}
#whatsnew .duo-quota .q-bar{
  flex:1;
  min-width:26px;
  height:5px;
  border-radius:99px;
  background:rgba(255,255,255,.12);
  position:relative;
  overflow:hidden;
}
#whatsnew .duo-quota .q-bar i{
  display:block;
  width:76%;
  height:100%;
  border-radius:99px;
  background:#34c759;
  transition:width .42s cubic-bezier(.22,1,.36,1);
}
#whatsnew .duo-quota .q-bar s{
  position:absolute;
  top:0;
  bottom:0;
  left:74%;
  width:1.5px;
  background:#fff;
}
#whatsnew .duo-quota b{color:#34c759;font-family:var(--mono);font-size:10px}
#whatsnew .duo-quota .q-dot{width:5px;height:5px;border-radius:50%;background:#34c759;flex:none}

#whatsnew .duo-bgpill{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:99px;
  background:rgba(99,102,241,.13);
  border:1px solid rgba(129,140,248,.28);
  font-size:10px;
  color:#e5e5f7;
  margin-bottom:8px;
  white-space:nowrap;
  overflow:hidden;
}
#whatsnew .duo-bgpill .bg-ico{
  padding:1px 4px;
  border-radius:4px;
  background:#6370f8;
  color:#fff;
  font-family:var(--mono);
  font-size:8.5px;
  font-weight:700;
}
#whatsnew .duo-bgpill span{overflow:hidden;text-overflow:ellipsis}
#whatsnew .duo-bgpill em{margin-left:auto;font-style:normal;color:#8f96ff;font-weight:600}

#whatsnew .duo-list{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  overflow:hidden;
}
#whatsnew .duo-row{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:8px 9px;
  border-radius:13px;
  background:#151518;
  border:1px solid rgba(255,255,255,.06);
  text-align:left;
  width:100%;
  transition:border-color .22s,background .22s;
}
#whatsnew .duo-row:hover{
  background:#1a1a20;
  border-color:rgba(255,255,255,.14);
}
#whatsnew .duo-row.active{
  background:#1b1d28;
  border-color:rgba(129,140,248,.42);
}
#whatsnew .duo-row-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  min-width:0;
}
#whatsnew .duo-row-t{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:11.5px;
  font-weight:650;
  color:#f5f5f7;
  min-width:0;
  flex:1;
}
#whatsnew .duo-row-t span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#whatsnew .duo-pin{color:#ff9f0a;font-size:10px;flex:none}
#whatsnew .duo-bee-ic{font-size:11px;flex:none}
#whatsnew .duo-badge{
  flex:none;
  font-size:9px;
  font-weight:700;
  padding:2px 6px;
  border-radius:6px;
  white-space:nowrap;
}
#whatsnew .duo-badge.act{background:rgba(10,132,255,.22);color:#5ac8fa}
#whatsnew .duo-badge.cmd{background:rgba(48,209,88,.18);color:#34c759}
#whatsnew .duo-badge.run{background:rgba(48,209,88,.15);color:#34c759}
#whatsnew .duo-row-sub{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  font-size:9.5px;
  color:#8e8e93;
  min-width:0;
}
#whatsnew .duo-row-sub span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}
#whatsnew .duo-search-bar{
  margin-top:6px;
  height:30px;
  border-radius:99px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.11);
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 11px;
  font-size:11px;
  color:#8e8e93;
  flex:none;
  overflow:hidden;
}
#whatsnew .duo-search-bar span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew .duo-search-bar{transition:height .45s cubic-bezier(.22,1,.36,1),margin-top .45s cubic-bezier(.22,1,.36,1),opacity .32s}
}
/* Right Pane inside 3D Right Wing */
#whatsnew .duo-right{
  position:relative;
  flex:1;
  width:100%;
  min-width:0;
  height:100%;
  background:#050507;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

#whatsnew .duo-detail-hd{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 13px 9px;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(12,12,16,.88);
  flex:none;
}
#whatsnew .duo-detail-ttl{
  flex:1;
  min-width:0;
  text-align:center;
}
#whatsnew .duo-detail-ttl b{
  display:block;
  font-size:12.5px;
  font-weight:700;
  color:#f5f5f7;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#whatsnew .duo-ctx-chip{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:2px;
  padding:1.5px 7px;
  border-radius:99px;
  background:rgba(48,209,88,.12);
  border:1px solid rgba(48,209,88,.25);
  color:#34c759;
  font-size:9.5px;
  font-family:var(--mono);
  font-weight:600;
}
#whatsnew .duo-top-status{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  color:#f5f5f7;
  flex:none;
}
#whatsnew .duo-ring-ic{
  width:22px;
  height:22px;
  border-radius:50%;
  border:2px solid #34c759;
  border-bottom-color:rgba(255,255,255,.25);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:9px;
}

#whatsnew .duo-search-bar svg{width:12px;height:12px;stroke:#a1a1a6;fill:none;stroke-width:2;flex:none}
#whatsnew .duo-detail-body{
  position:relative;
  flex:1;
  min-height:0;
  overflow:hidden;
  padding:11px 13px;
  display:flex;
  flex-direction:column;
  gap:9px;
}

/* Unfolded Pane: Parallel Sub-Agents Card */
#whatsnew .duo-phase-card{
  border-radius:15px;
  background:linear-gradient(180deg,rgba(45,48,74,.45),rgba(20,21,28,.9));
  border:1px solid rgba(129,140,248,.28);
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
#whatsnew .duo-phase-pills{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
#whatsnew .duo-pp{
  font-size:9.5px;
  font-weight:650;
  padding:3px 8px;
  border-radius:99px;
  background:rgba(255,255,255,.06);
  color:#c7c7cc;
  border:1px solid rgba(255,255,255,.09);
}
#whatsnew .duo-pp.done{
  background:rgba(99,102,241,.22);
  border-color:rgba(129,140,248,.42);
  color:#e5e5ff;
}
#whatsnew .duo-sub-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
#whatsnew .duo-sub-item{
  padding:7px 8px;
  border-radius:10px;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.07);
}
#whatsnew .duo-sub-item b{display:block;font-size:10.5px;color:#f5f5f7;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#whatsnew .duo-sub-item small{font-size:9px;color:#8e8e93}
#whatsnew .duo-sub-item small em{font-style:normal;color:#bf5af2;font-weight:700;margin-right:4px}
#whatsnew .duo-sub-item small em.fl{color:#5ac8fa}

#whatsnew .duo-msg-bubble{
  padding:10px 11px;
  border-radius:14px;
  background:#161619;
  border:1px solid rgba(255,255,255,.07);
  font-size:11px;
  line-height:1.48;
  color:#d1d1d6;
  overflow:hidden;
  min-width:0;
}
#whatsnew .duo-msg-bubble code{
  font-family:var(--mono);
  font-size:10px;
  color:#e5b962;
  background:rgba(229,185,98,.1);
  padding:1px 4px;
  border-radius:4px;
  overflow-wrap:anywhere;
  word-break:break-word;
}
#whatsnew .duo-running-box{
  padding:10px 11px;
  border-radius:14px;
  background:#141418;
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap:6px;
}
#whatsnew .duo-run-hd{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:650;
  color:#f5f5f7;
}
#whatsnew .duo-run-row{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10.5px;
  color:#c7c7cc;
  min-width:0;
}
#whatsnew .duo-run-row > span:first-of-type{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  min-width:0;
}
#whatsnew .duo-live-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#34c759;
  flex:none;
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew .duo-live-dot{animation:v128-pulse 1.8s ease-in-out infinite}
}
#whatsnew .duo-tag-pill{
  font-size:9px;
  padding:1.5px 6px;
  border-radius:6px;
  background:rgba(255,255,255,.09);
  color:#a1a1a6;
  font-family:var(--mono);
}
#whatsnew .duo-stop-btn{
  margin-left:auto;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#ff453a;
  display:grid;
  place-items:center;
  flex:none;
}
#whatsnew .duo-stop-btn::after{
  content:"";
  width:7px;
  height:7px;
  border-radius:1.5px;
  background:#fff;
}

/* Book 90° Pane: Swarm Squad Banner + 4-Agent Bullets */
#whatsnew .duo-swarm-banner{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 11px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(255,159,10,.12),rgba(28,28,34,.92));
  border:1px solid rgba(255,159,10,.28);
}
#whatsnew .duo-swarm-bee{
  width:28px;
  height:28px;
  border-radius:9px;
  background:rgba(255,159,10,.16);
  display:grid;
  place-items:center;
  font-size:15px;
  flex:none;
}
#whatsnew .duo-swarm-meta{min-width:0;flex:1}
#whatsnew .duo-swarm-meta b{display:block;font-size:11.5px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#whatsnew .duo-swarm-meta small{display:block;font-size:9.5px;color:#ff9f0a;margin-top:1px}
#whatsnew .duo-swarm-meta span{display:block;font-size:9px;color:#a1a1a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#whatsnew .duo-swarm-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:0;
  margin:0;
}
#whatsnew .duo-swarm-list li{
  font-size:10.5px;
  line-height:1.45;
  color:#d1d1d6;
}
#whatsnew .duo-swarm-list li strong{color:#e5b962;font-family:var(--mono);font-size:10px}

/* Bottom Tightened Composer Bar on Right Pane */
#whatsnew .duo-composer{
  flex:none;
  padding:7px 12px 10px;
  border-top:1px solid rgba(255,255,255,.07);
  background:rgba(8,8,10,.96);
  display:flex;
  flex-direction:column;
  gap:6px;
}
#whatsnew .duo-comp-chips{
  display:flex;
  align-items:center;
  gap:5px;
  overflow:hidden;
}
#whatsnew .duo-comp-chips span{
  font-size:9.5px;
  font-weight:600;
  padding:3.5px 8px;
  border-radius:8px;
  background:#18181d;
  border:1px solid rgba(255,255,255,.11);
  color:#e5e5ea;
  white-space:nowrap;
}
#whatsnew .duo-comp-chips span.plus{color:#8f96ff;padding-inline:7px}
#whatsnew .duo-comp-input{
  display:flex;
  align-items:center;
  gap:7px;
}
#whatsnew .duo-comp-field{
  flex:1;
  min-width:0;
  height:28px;
  line-height:26px;
  border-radius:99px;
  background:#161619;
  border:1px solid rgba(255,255,255,.08);
  padding:0 11px;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:10.5px;
  color:#636366;
}
#whatsnew .duo-comp-stop{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#18181d;
  border:1px solid rgba(255,255,255,.1);
  display:grid;
  place-items:center;
  flex:none;
}
#whatsnew .duo-comp-stop::after{
  content:"";
  width:8px;
  height:8px;
  border-radius:2px;
  background:#ff453a;
}

/* Native iOS 27.1 Trailing Vertical Control Rail (inside Cover 0° Chassis) */
#whatsnew .duo-rail{
  flex:0 0 58px;
  width:58px;
  height:100%;
  background:#000;
  border-left:1px solid rgba(255,255,255,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:16px 0 14px;
  gap:11px;
  overflow:hidden;
}
#whatsnew .duo-rail-time{
  font-size:11.5px;
  font-weight:700;
  color:#fff;
  font-variant-numeric:tabular-nums;
}
#whatsnew .duo-rail-ring{
  width:34px;
  height:34px;
  border-radius:50%;
  border:2.5px solid #34c759;
  border-bottom-color:rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  position:relative;
  color:#fff;
  font-size:11px;
}
#whatsnew .duo-rail-dots{
  display:flex;
  gap:2px;
  margin-top:-7px;
}
#whatsnew .duo-rail-dots i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#fff;
}
#whatsnew .duo-rail-btn{
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.12);
  color:#8f96ff;
  display:grid;
  place-items:center;
}
#whatsnew .duo-rail-btn.search{
  margin-top:auto;
  color:#f5f5f7;
}
#whatsnew .duo-rail-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Tactile Continuous Hinge Angle Scrubber Bar (0° Cover ↔ 180° Unfolded) */
#whatsnew .duo-scrubber{
  position:relative;
  z-index:8;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  max-width:540px;
  margin:20px auto 0;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 32px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.08);
}
#whatsnew .duo-sc-end{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-family:var(--mono);
  font-size:11px;
  font-weight:700;
  color:#8e8e93;
  flex:none;
  user-select:none;
}
#whatsnew .duo-sc-end svg{
  width:13px;
  height:13px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#whatsnew input.duo-angle-range{
  -webkit-appearance:none;
  appearance:none;
  flex:1;
  min-width:90px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg,#6370f8 0%,#2997ff var(--duo-pct,100%),rgba(255,255,255,.14) var(--duo-pct,100%));
  outline:none;
  cursor:pointer;
}
#whatsnew input.duo-angle-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:20px;
  height:20px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#fff,#d8dcf8);
  border:2px solid #6370f8;
  box-shadow:0 2px 10px rgba(99,112,248,.65),0 0 0 3px rgba(99,112,248,.18);
  cursor:grab;
  transition:transform .16s var(--ease),box-shadow .16s var(--ease);
}
#whatsnew input.duo-angle-range:hover::-webkit-slider-thumb{
  transform:scale(1.1);
  box-shadow:0 2px 14px rgba(99,112,248,.85),0 0 0 5px rgba(99,112,248,.24);
}
#whatsnew input.duo-angle-range:active::-webkit-slider-thumb{cursor:grabbing;transform:scale(1.06)}
#whatsnew input.duo-angle-range::-moz-range-thumb{
  width:20px;
  height:20px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#fff,#d8dcf8);
  border:2px solid #6370f8;
  box-shadow:0 2px 10px rgba(99,112,248,.65);
  cursor:grab;
}
#whatsnew input.duo-angle-range:focus-visible{
  outline:2px solid #2997ff;
  outline-offset:5px;
}
#whatsnew .duo-angle-badge{
  flex:none;
  min-width:118px;
  text-align:center;
  font-family:var(--mono);
  font-size:11.5px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  color:#e5e8ff;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(99,112,248,.22);
  border:1px solid rgba(129,140,248,.42);
  white-space:nowrap;
}

#whatsnew .duo-caption{
  margin-top:20px;
  text-align:center;
  max-width:660px;
}
#whatsnew .duo-cap-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 11px;
  border-radius:999px;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.02em;
  color:#64d2ff;
  background:rgba(41,151,255,.14);
  border:1px solid rgba(41,151,255,.28);
  margin-bottom:9px;
}
#whatsnew .duo-caption h3{
  font-size:21px;
  font-weight:700;
  letter-spacing:-.02em;
  color:#f5f5f7;
  margin-bottom:6px;
}
#whatsnew .duo-caption p{
  font-size:15px;
  line-height:1.5;
  color:#a1a1a6;
}
#whatsnew .duo-caption p code{
  font-family:var(--mono);
  font-size:13px;
  color:#e5e5ea;
  background:rgba(255,255,255,.08);
  padding:1px 6px;
  border-radius:5px;
}

/* ==========================================================================
   2. PILLARS 2 & 3 BENTO GRID (.v128-grid) & DARK IPHONE SHELL (.v128-phone)
   ========================================================================== */
#whatsnew .v128-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
#whatsnew .bc.v128-card{
  min-width:0;
  display:flex;
  flex-direction:column;
}
#whatsnew .v128-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:4px 11px;
  border-radius:999px;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--g,#2997ff);
  background:color-mix(in srgb,var(--g,#2997ff) 14%,transparent);
  border:1px solid color-mix(in srgb,var(--g,#2997ff) 30%,transparent);
  margin-bottom:14px;
}
#whatsnew .bc.v128-card h3{
  font-size:clamp(21px,2.2vw,26px);
  line-height:1.2;
  letter-spacing:-.025em;
  margin-bottom:10px;
  color:#f5f5f7;
}
#whatsnew .bc.v128-card > p,
#whatsnew .bc.v128-card .v128-wide-copy > p{
  font-size:15px;
  line-height:1.55;
  color:#a1a1a6;
}
#whatsnew .bc.v128-card > p code,
#whatsnew .bc.v128-card .v128-wide-copy > p code{
  font-family:var(--mono);
  font-size:13px;
  color:#e5e5ea;
  background:rgba(255,255,255,.08);
  padding:2px 6px;
  border-radius:6px;
  white-space:nowrap;
}
#whatsnew .v128-ctrl-bar{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0 16px;
}
#whatsnew .v128-pill-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 14px;
  border-radius:999px;
  font-size:12.5px;
  font-weight:600;
  color:#d1d1d6;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  transition:background .2s,border-color .2s,color .2s,transform .2s;
}
#whatsnew .v128-pill-btn:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}
#whatsnew .v128-pill-btn.active{
  background:rgba(99,112,248,.24);
  border-color:rgba(129,140,248,.58);
  color:#fff;
}

/* Sleek Dark iPhone Mockup Frame (Card 01, Card 02, Card 03) */
#whatsnew .v128-phone-wrap{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}
#whatsnew .v128-phone{
  position:relative;
  width:min(100%,318px);
  height:546px;
  padding:8px;
  border-radius:42px;
  background:linear-gradient(145deg,#3e3e44 0%,#0f0f12 42%,#2c2c32 100%);
  box-shadow:0 32px 68px -18px rgba(0,0,0,.82),0 0 0 1px rgba(255,255,255,.16) inset,0 1px 0 rgba(255,255,255,.28) inset;
}
#whatsnew .v128-screen{
  position:relative;
  width:100%;
  height:100%;
  border-radius:34px;
  background:#000;
  color:#f5f5f7;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans",sans-serif;
  text-align:left;
  letter-spacing:-.01em;
}
#whatsnew .v128-screen::after{
  content:"";
  position:absolute;
  bottom:6px;
  left:50%;
  transform:translateX(-50%);
  width:96px;
  height:4px;
  border-radius:99px;
  background:rgba(255,255,255,.26);
  pointer-events:none;
  z-index:14;
}
#whatsnew .v128-sb{
  height:36px;
  padding:10px 22px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  font-weight:700;
  color:#fff;
  flex:none;
  position:relative;
  z-index:5;
}
#whatsnew .v128-sb::after{
  content:"";
  position:absolute;
  top:9px;
  left:50%;
  transform:translateX(-50%);
  width:76px;
  height:20px;
  border-radius:99px;
  background:#0a0a0c;
  box-shadow:0 0 0 1px rgba(255,255,255,.06);
}
#whatsnew .v128-sb svg{height:10px;width:auto;fill:#fff}
#whatsnew .bc.v128-card p.v128-hint{
  margin-top:11px;
  font-size:12px;
  line-height:1.4;
  color:#8e8e93;
  text-align:center;
  text-wrap:balance;
}

/* ---------- Card 01: Multi-Gateway Swipe & Slide Picker (#mgStage) ---------- */
#whatsnew .mg-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 12px 6px;
  gap:6px;
  position:relative;
  z-index:6;
  flex:none;
}
#whatsnew .mg-host-btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 11px;
  border-radius:99px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:13.5px;
  font-weight:700;
  letter-spacing:-.02em;
  transition:background .2s,border-color .2s;
}
#whatsnew .mg-host-btn:hover{
  background:rgba(255,255,255,.11);
  border-color:rgba(129,140,248,.4);
}
#whatsnew .mg-chev{
  width:11px;
  height:11px;
  stroke:#a1a1a6;
  fill:none;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .28s var(--ease);
}
#whatsnew .mg-phone.picker-open .mg-chev{transform:rotate(180deg)}
#whatsnew .mg-pending-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#ff9f0a;
  box-shadow:0 0 8px rgba(255,159,10,.75);
  transition:opacity .25s,transform .25s;
}
#whatsnew .mg-pending-dot.hidden{opacity:0;transform:scale(0)}

#whatsnew .mg-body{
  position:relative;
  flex:1;
  min-height:0;
  padding:4px 11px 18px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
#whatsnew .mg-list-viewport{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  overflow:hidden;
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew .mg-list-viewport.sliding{
    animation:v128-slide-in .36s cubic-bezier(.22,1,.36,1);
  }
}
#whatsnew .mg-list-viewport .duo-row-t{font-size:11px}
#whatsnew .mg-list-viewport .duo-row{padding:7px 9px}
#whatsnew .mg-unread-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#6370f8;
  flex:none;
}

/* Centered Frosted-Glass GatewaySlidePickerOverlay */
#whatsnew .mg-picker-scrim{
  position:absolute;
  inset:0;
  z-index:10;
  background:rgba(0,0,0,.52);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:4px 12px 0;
  opacity:0;
  pointer-events:none;
  transition:opacity .26s var(--ease);
}
#whatsnew .mg-phone.picker-open .mg-picker-scrim{
  opacity:1;
  pointer-events:auto;
}
#whatsnew .mg-picker-card{
  width:100%;
  border-radius:20px;
  background:rgba(22,22,28,.95);
  -webkit-backdrop-filter:saturate(180%) blur(24px);
  backdrop-filter:saturate(180%) blur(24px);
  border:1px solid rgba(129,140,248,.34);
  box-shadow:0 24px 56px rgba(0,0,0,.85);
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:4px;
  transform:translateY(-10px) scale(.95);
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew .mg-picker-card{transition:transform .32s cubic-bezier(.22,1,.36,1)}
}
#whatsnew .mg-phone.picker-open .mg-picker-card{
  transform:none;
}
#whatsnew .mg-host-opt{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 9px;
  border-radius:13px;
  border:1px solid transparent;
  background:transparent;
  color:#f5f5f7;
  width:100%;
  text-align:left;
  transition:background .18s,border-color .18s;
}
#whatsnew .mg-host-opt:hover{background:rgba(255,255,255,.06)}
#whatsnew .mg-host-opt.selected{
  background:rgba(99,112,248,.16);
  border-color:rgba(129,140,248,.48);
}
#whatsnew .mg-os-ico{
  width:24px;
  height:24px;
  border-radius:7px;
  background:rgba(255,255,255,.08);
  color:#a1a1a6;
  display:grid;
  place-items:center;
  flex:none;
}
#whatsnew .mg-host-opt.selected .mg-os-ico{
  background:rgba(99,112,248,.28);
  color:#8f96ff;
}
#whatsnew .mg-os-ico svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#whatsnew .mg-host-name{
  font-size:12px;
  font-weight:650;
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
#whatsnew .mg-check{
  color:#8f96ff;
  font-size:11px;
  font-weight:800;
  opacity:0;
}
#whatsnew .mg-host-opt.selected .mg-check{opacity:1}
#whatsnew .mg-stat-pill{
  margin-left:auto;
  font-size:9.5px;
  font-weight:700;
  padding:2.5px 7px;
  border-radius:99px;
  white-space:nowrap;
}
#whatsnew .mg-stat-pill.work{background:rgba(10,132,255,.2);color:#5ac8fa}
#whatsnew .mg-stat-pill.pend{background:rgba(255,159,10,.2);color:#ff9f0a}
#whatsnew .mg-stat-pill.unrd{background:rgba(99,102,241,.22);color:#a5b4fc}
#whatsnew .mg-picker-ft{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 9px 5px;
  margin-top:3px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:11px;
}
#whatsnew .mg-add-host{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#8f96ff;
  font-weight:650;
}
#whatsnew .mg-add-host i{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#6370f8;
  color:#fff;
  font-style:normal;
  display:grid;
  place-items:center;
  font-size:12px;
  line-height:1;
}
#whatsnew .mg-qr-lbl{color:#8e8e93;font-size:10px}

/* ---------- Card 02: AI Assist Next-Prompt & 1.5s Hold-to-Send (#aiReplyStage) ---------- */
#whatsnew .ai-chat-hd{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 11px 7px;
  border-bottom:1px solid rgba(255,255,255,.07);
  flex:none;
}
#whatsnew .ai-chat-meta{
  flex:1;
  min-width:0;
  text-align:center;
}
#whatsnew .ai-chat-meta b{
  display:block;
  font-size:11.5px;
  font-weight:700;
  color:#f5f5f7;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#whatsnew .ai-chat-chips{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:2px;
}
#whatsnew .ai-turn-chip{
  font-size:9px;
  font-weight:600;
  padding:1px 6px;
  border-radius:99px;
  background:rgba(99,102,241,.2);
  color:#a5b4fc;
}
#whatsnew .ai-chat-body{
  flex:1;
  min-height:0;
  padding:9px 11px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  overflow:hidden;
}
#whatsnew .ai-ub{
  align-self:flex-end;
  max-width:86%;
  padding:8px 11px;
  border-radius:15px;
  background:#6370f8;
  color:#fff;
  font-size:11px;
  line-height:1.42;
}
#whatsnew .ai-ab{
  align-self:flex-start;
  max-width:92%;
  padding:9px 11px;
  border-radius:15px;
  background:#17171b;
  border:1px solid rgba(255,255,255,.07);
  color:#e5e5ea;
  font-size:10.8px;
  line-height:1.44;
}
#whatsnew .ai-ab code{
  font-family:var(--mono);
  font-size:9.8px;
  color:#e5b962;
  background:none;
  padding:0;
}
#whatsnew .ai-sent-wrap{
  display:flex;
  flex-direction:column;
  gap:7px;
  max-height:0;
  opacity:0;
  overflow:hidden;
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew .ai-sent-wrap{transition:max-height .38s cubic-bezier(.22,1,.36,1),opacity .28s var(--ease)}
}
#whatsnew .ai-phone.sent .ai-sent-wrap{
  max-height:120px;
  opacity:1;
}
#whatsnew .ai-working-row{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10.5px;
  color:#a1a1a6;
  padding:2px 4px;
}
#whatsnew .ai-spin{
  width:11px;
  height:11px;
  border-radius:50%;
  border:2px solid rgba(129,140,248,.28);
  border-top-color:#818cf8;
  flex:none;
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew .ai-spin{animation:v128-spin .9s linear infinite}
}

/* Composer Dock + Playable Hold-to-Send Suggestion Chip */
#whatsnew .ai-dock{
  flex:none;
  padding:7px 10px 17px;
  border-top:1px solid rgba(255,255,255,.07);
  background:rgba(10,10,13,.96);
  display:flex;
  flex-direction:column;
  gap:7px;
}
#whatsnew .ai-chip-row{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:36px;
}
#whatsnew .ai-plus-sq{
  width:28px;
  height:28px;
  border-radius:8px;
  background:#18181d;
  border:1px solid rgba(255,255,255,.11);
  color:#8f96ff;
  font-size:16px;
  font-weight:500;
  display:grid;
  place-items:center;
  flex:none;
}
#whatsnew .ai-reply-chip{
  position:relative;
  flex:1;
  min-width:0;
  padding:6px 10px 7px;
  border-radius:11px;
  background:rgba(99,102,241,.14);
  border:1px solid rgba(129,140,248,.52);
  color:#a8b2ff;
  font-size:10px;
  line-height:1.3;
  font-weight:600;
  text-align:left;
  overflow:hidden;
  user-select:none;
  -webkit-user-select:none;
  touch-action:none;
  cursor:pointer;
  transition:opacity .25s,transform .22s var(--ease),border-color .2s;
}
#whatsnew .ai-reply-chip:hover{
  border-color:#8f96ff;
  background:rgba(99,102,241,.2);
}
#whatsnew .ai-reply-chip.holding{
  transform:scale(.985);
  border-color:#9aa3ff;
  box-shadow:0 0 18px rgba(99,112,248,.35);
}
#whatsnew .ai-phone.sent .ai-reply-chip,
#whatsnew .ai-phone.filled .ai-reply-chip{
  opacity:0;
  transform:scale(.92);
  pointer-events:none;
}
#whatsnew .ai-hold-fill{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(99,112,248,.46),rgba(129,140,248,.62));
  transform-origin:left center;
  transform:scaleX(var(--hold-p,0));
  pointer-events:none;
}
#whatsnew .ai-hold-bar{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:#7c86ff;
  box-shadow:0 0 8px #7c86ff;
  transform-origin:left center;
  transform:scaleX(var(--hold-p,0));
  pointer-events:none;
}
#whatsnew .ai-chip-txt{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  gap:5px;
}
#whatsnew .ai-chip-txt .sp{color:#9ea8ff;flex:none}
#whatsnew .ai-chip-txt em{
  font-style:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
#whatsnew .ai-input-row{
  display:flex;
  align-items:center;
  gap:7px;
}
#whatsnew .ai-composer-box{
  flex:1;
  min-width:0;
  height:34px;
  border-radius:99px;
  background:#161619;
  border:1px solid rgba(255,255,255,.09);
  padding:0 12px;
  display:flex;
  align-items:center;
  font-size:10.8px;
  color:#636366;
  overflow:hidden;
  transition:border-color .2s,color .2s;
}
#whatsnew .ai-composer-box span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#whatsnew .ai-phone.filled .ai-composer-box{
  border-color:rgba(129,140,248,.55);
  color:#f5f5f7;
}
#whatsnew .ai-send-btn{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#1c1c21;
  border:1px solid rgba(255,255,255,.1);
  color:#636366;
  display:grid;
  place-items:center;
  flex:none;
  transition:background .22s,color .22s,transform .18s;
}
#whatsnew .ai-phone.filled .ai-send-btn{
  background:#6370f8;
  border-color:#7c86ff;
  color:#fff;
}
#whatsnew .ai-send-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}

/* ==========================================================================
   3. PILLAR 3B: LIVE SMART TRANSLATION (CARD 03 — ZH & JA ONLY, #trStage)
   ========================================================================== */
#whatsnew .bc.v128-card.v128-wide{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:32px;
  align-items:center;
}
#whatsnew .v128-wide-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
#whatsnew .tr-master-seg{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.11);
  width:max-content;
  max-width:100%;
  margin:18px 0 14px;
}
#whatsnew .tr-master-btn{
  padding:6px 14px;
  border-radius:999px;
  font-size:12.5px;
  font-weight:650;
  color:#a1a1a6;
  transition:background .2s,color .2s;
}
#whatsnew .tr-master-btn.active{
  background:#6370f8;
  color:#fff;
}

/* Authentic iOS Settings Card with 3 Purple Native Switches */
#whatsnew .tr-settings-card{
  border-radius:20px;
  background:rgba(28,28,34,.85);
  border:1px solid rgba(255,255,255,.1);
  overflow:hidden;
}
#whatsnew .tr-sw-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 16px;
  border-top:1px solid rgba(255,255,255,.07);
  cursor:pointer;
}
#whatsnew .tr-sw-row:first-child{border-top:0}
#whatsnew .tr-sw-txt{min-width:0;flex:1}
#whatsnew .tr-sw-txt b{
  display:block;
  font-size:14.5px;
  font-weight:650;
  color:#f5f5f7;
  margin-bottom:2px;
}
#whatsnew .tr-sw-txt small{
  display:block;
  font-size:12px;
  line-height:1.4;
  color:#8e8e93;
}
/* Accessible native <input type="checkbox" switch> styled identically to iOS purple toggle */
#whatsnew input.tr-ios-sw{
  -webkit-appearance:none;
  appearance:none;
  accent-color:#6b6ff7;
  position:relative;
  flex:none;
  width:46px;
  height:27px;
  border-radius:999px;
  background:#39393f;
  border:1px solid rgba(255,255,255,.08);
  margin:0;
  cursor:pointer;
  transition:background .24s var(--ease),border-color .24s var(--ease);
}
#whatsnew input.tr-ios-sw::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:21px;
  height:21px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: no-preference){
  #whatsnew input.tr-ios-sw::after{transition:transform .24s cubic-bezier(.22,1,.36,1)}
}
#whatsnew input.tr-ios-sw:checked{
  background:#6b6ff7;
  border-color:rgba(165,180,252,.4);
}
#whatsnew input.tr-ios-sw:checked::after{
  transform:translateX(19px);
}
#whatsnew input.tr-ios-sw:focus-visible{
  outline:3px solid #2997ff;
  outline-offset:3px;
}
#whatsnew .tr-footnote{
  margin-top:12px;
  font-size:12px;
  line-height:1.5;
  color:#8e8e93;
}

/* Right Smart Translation Phone Mockup (#trPhone) */
#whatsnew #trPhone.v128-phone{
  height:auto;
  min-height:546px;
  display:flex;
  flex-direction:column;
}
#whatsnew #trPhone .v128-screen{
  height:auto;
  flex:1;
}
#whatsnew .tr-body{
  flex:1;
  min-height:0;
  padding:7px 10px 18px;
  display:flex;
  flex-direction:column;
  gap:6px;
  overflow:hidden;
}
#whatsnew .tr-body .ai-ub{flex:none}
#whatsnew .tr-step-card{
  flex:none;
  border-radius:14px;
  background:#151519;
  border:1px solid rgba(255,255,255,.08);
  padding:8px 10px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
#whatsnew .tr-step{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10.5px;
  color:#a1a1a6;
}
#whatsnew .tr-step.now{color:#fff;font-weight:650}
#whatsnew .tr-step .st-ic{
  width:13px;
  height:13px;
  flex:none;
  display:grid;
  place-items:center;
  font-size:10px;
}
#whatsnew .tr-step .st-ic.ok{color:#8e8e93}
#whatsnew .tr-step .st-ic.run{color:#8f96ff}
#whatsnew .tr-focus-line{
  flex:none;
  font-size:9.8px;
  line-height:1.35;
  color:#c7c7cc;
  padding:2px 2px 1px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#whatsnew .tr-raw-en{
  flex:none;
  border-left:2px solid rgba(255,255,255,.22);
  padding:2px 0 2px 9px;
  display:flex;
  flex-direction:column;
  gap:3.5px;
}
#whatsnew .tr-raw-hd{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9.5px;
  color:#8e8e93;
}
#whatsnew .tr-raw-badge{
  font-family:var(--mono);
  font-size:8.5px;
  font-weight:700;
  padding:1px 5px;
  border-radius:4px;
  background:rgba(255,255,255,.08);
  color:#c7c7cc;
}
#whatsnew .tr-raw-en p{
  font-size:9.6px;
  line-height:1.38;
  color:#98989f;
  margin:0;
}
#whatsnew .tr-raw-cli{
  font-family:var(--mono);
  font-size:9px;
  color:#8e8e93;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#whatsnew .tr-tasks-box{
  flex:none;
  margin-top:auto;
  border-radius:14px;
  background:#151519;
  border:1px solid rgba(255,255,255,.08);
  padding:8px 9px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
#whatsnew .tr-tasks-hd{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10.5px;
  font-weight:650;
  color:#fff;
}
#whatsnew .tr-tasks-hd .cnt{
  padding:0 5px;
  border-radius:99px;
  background:rgba(255,255,255,.1);
  color:#c7c7cc;
  font-size:9px;
}
#whatsnew .tr-tasks-hd .term-pill{
  margin-left:auto;
  font-size:9px;
  padding:2px 7px;
  border-radius:7px;
  background:rgba(99,102,241,.2);
  color:#98a4ff;
}
#whatsnew .tr-cmd-line{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 7px;
  border-radius:8px;
  background:#0c0c0f;
  font-family:var(--mono);
  font-size:9px;
  color:#d1d1d6;
}
#whatsnew .tr-cmd-line > span:not(.duo-stop-btn){
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  flex:1;
  min-width:0;
}
#whatsnew .tr-cmd-line .duo-stop-btn{
  flex:none;
  width:18px;
  height:18px;
  margin-left:auto;
}
#whatsnew .tr-cmd-line b{color:#34c759;font-weight:700;flex:none}
#whatsnew .tr-cmd-line em{font-style:normal;color:#e5b962;flex:none}

/* Shimmer-Morph Highlight when a Translation Layer Toggles */
@media (prefers-reduced-motion: no-preference){
  #whatsnew .tr-morphing{
    animation:v128-shimmer .55s cubic-bezier(.22,1,.36,1);
  }
}

/* Secondary Bottom Strip */
#whatsnew .v128-also{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
}
#whatsnew .v128-also-lbl{
  font-size:12.5px;
  font-weight:600;
  color:#8e8e93;
  margin-right:4px;
}
#whatsnew .v128-also span{
  font-size:12.5px;
  color:#c7c7cc;
  padding:5px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
}

/* ---------- Keyframes ---------- */
@keyframes v128-pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(.82)}
}
@keyframes v128-spin{
  to{transform:rotate(360deg)}
}
@keyframes v128-slide-in{
  0%{opacity:.25;transform:translateX(18px)}
  100%{opacity:1;transform:translateX(0)}
}
@keyframes v128-shimmer{
  0%{opacity:.4;filter:brightness(1.35)}
  45%{opacity:1;filter:brightness(1.22)}
  100%{opacity:1;filter:brightness(1)}
}

/* ---------- Responsive (Tablet <= 960px & Mobile <= 640px / 390px zero overflow) ---------- */
@media(max-width:960px){
  #whatsnew .v128-grid{grid-template-columns:minmax(0,1fr)}
  #whatsnew .bc.v128-card.v128-wide{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media(max-width:640px){
  #whatsnew .duo-tablist{flex-wrap:wrap;justify-content:center;border-radius:18px;gap:4px;padding:5px}
  #whatsnew .duo-tab{padding:7px 11px;font-size:12px}
  #whatsnew .duo-scene{height:540px;perspective:1500px}
  #whatsnew .duo-book-rig{position:absolute;left:50%;top:50%;width:460px;height:420px;margin-left:-230px;margin-top:-210px}
  #whatsnew .duo-inner-left{padding:7px 0 7px 7px;border-radius:26px 0 0 26px}
  #whatsnew .duo-inner-left .duo-wing-screen{border-radius:20px 0 0 20px}
  #whatsnew .duo-inner-right{padding:7px 7px 7px 0;border-radius:0 26px 26px 0}
  #whatsnew .duo-inner-right .duo-wing-screen{border-radius:0 20px 20px 0}
  #whatsnew .duo-back-right{border-radius:26px 0 0 26px}
  #whatsnew .duo-cover-face{padding:7px 7px 7px 14px;border-radius:11px 26px 26px 11px}
  #whatsnew .duo-cover-hinge-edge{width:10px;padding:24px 1.5px;border-radius:9px 3px 3px 9px}
  #whatsnew .duo-cover-screen{border-radius:7px 20px 20px 7px}
  #whatsnew .duo-cover-inbox{padding:10px 6px 8px 8px}
  #whatsnew .duo-lid-edge{top:26px;height:calc(100% - 52px)}
  #whatsnew .duo-left{padding:8px 7px}
  #whatsnew .duo-crease-overlay{top:7px;bottom:7px}
  #whatsnew .duo-side-top{height:22px;margin-bottom:5px}
  #whatsnew .duo-ico-btn{width:22px;height:22px}
  #whatsnew .duo-ico-btn svg{width:11px;height:11px}
  #whatsnew .duo-title{font-size:15px;margin-bottom:5px}
  #whatsnew .duo-quota{font-size:8.2px;padding:4px 6px;gap:4px;margin-bottom:5px}
  #whatsnew .duo-inner-left .duo-quota .q-bar{display:none}
  #whatsnew .duo-quota b{font-size:8.2px}
  #whatsnew .duo-bgpill{font-size:8px;padding:4px 6px;margin-bottom:5px}
  #whatsnew .duo-bgpill em{display:none}
  #whatsnew .duo-list{gap:4.5px}
  #whatsnew .duo-row{padding:5.5px 6px;border-radius:9px;gap:2.5px}
  #whatsnew .duo-row-t{font-size:9.2px}
  #whatsnew .duo-badge{font-size:7.2px;padding:1.5px 4px}
  #whatsnew .duo-inner-left .duo-badge{display:none}
  #whatsnew .duo-inner-left .duo-row-sub span:last-child,
  #whatsnew .duo-cover-inbox .duo-row-sub span:last-child{display:none}
  #whatsnew .duo-inner-left .duo-list > :nth-child(n+5){display:none}
  #whatsnew .duo-row-sub{font-size:7.8px}
  #whatsnew .duo-search-bar{height:22px;font-size:8.5px;padding:0 8px;margin-top:5px}
  #whatsnew .duo-detail-hd{padding:6px 8px 5px;gap:5px}
  #whatsnew .duo-detail-ttl b{font-size:10px}
  #whatsnew .duo-ctx-chip{font-size:7.8px;padding:1px 5px}
  #whatsnew .duo-top-status{display:none}
  #whatsnew .duo-detail-body,#whatsnew .duo-conv-pane{gap:5px}
  #whatsnew .duo-detail-body{padding:7px}
  #whatsnew .duo-sub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  #whatsnew .duo-sub-item{padding:4px 5.5px;border-radius:7px}
  #whatsnew .duo-sub-item b{font-size:8.2px;margin-bottom:1px}
  #whatsnew .duo-sub-item small{font-size:7.3px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #whatsnew .duo-phase-card{padding:6px;gap:4.5px;border-radius:11px}
  #whatsnew .duo-phase-pills{gap:3px}
  #whatsnew .duo-pp{font-size:7.4px;padding:1.5px 5px}
  #whatsnew .duo-msg-bubble{font-size:8.4px;line-height:1.34;padding:6px 7px;border-radius:10px}
  #whatsnew .duo-msg-bubble code{font-size:7.8px;padding:1px 3px}
  #whatsnew .duo-running-box{padding:6px 7px;gap:3.5px;border-radius:10px}
  #whatsnew .duo-run-hd{font-size:8.5px}
  #whatsnew .duo-run-row{font-size:8px;gap:4px}
  #whatsnew .duo-tag-pill{font-size:7.2px;padding:1px 4px;flex:none}
  #whatsnew .duo-run-row .duo-stop-btn{width:14px;height:14px}
  #whatsnew .duo-run-row .duo-stop-btn::after{width:5px;height:5px}
  #whatsnew .duo-swarm-banner{padding:5.5px 7px;gap:5px;border-radius:10px}
  #whatsnew .duo-swarm-bee{width:20px;height:20px;border-radius:6px;font-size:11px}
  #whatsnew .duo-swarm-meta b{font-size:9px}
  #whatsnew .duo-swarm-meta small,#whatsnew .duo-swarm-meta span{font-size:7.4px}
  #whatsnew .duo-swarm-list{gap:3.5px}
  #whatsnew .duo-swarm-list li{font-size:8.1px;line-height:1.3}
  #whatsnew .duo-swarm-list li strong{font-size:8px}
  #whatsnew .duo-composer{padding:4.5px 7px 6px;gap:3.5px}
  #whatsnew .duo-comp-chips{gap:3px}
  #whatsnew .duo-comp-chips span{font-size:7.6px;padding:1.5px 5px}
  #whatsnew .duo-comp-field{height:22px;line-height:20px;font-size:8.4px;padding:0 8px}
  #whatsnew .duo-comp-stop{width:22px;height:22px}
  #whatsnew .duo-rail{flex:0 0 38px;width:38px;padding:11px 0 9px;gap:8px}
  #whatsnew .duo-rail-time{font-size:9.5px}
  #whatsnew .duo-rail-ring{width:26px;height:26px;font-size:9px}
  #whatsnew .duo-rail-btn{width:26px;height:26px}
  #whatsnew .duo-rail-btn svg{width:13px;height:13px}
  #whatsnew .duo-scrubber{padding:8px 11px;gap:7px}
  #whatsnew .duo-sc-end{font-size:10px}
  #whatsnew .duo-sc-end svg{display:none}
  #whatsnew .duo-angle-badge{min-width:94px;font-size:10.5px;padding:3.5px 8px}
  #whatsnew .bc.v128-card{padding:26px 18px 24px;border-radius:26px}
  #whatsnew .v128-phone{width:min(100%,304px);height:532px;border-radius:38px;padding:7px}
  #whatsnew #trPhone.v128-phone{height:auto;min-height:532px}
  #whatsnew .v128-screen{border-radius:31px}
  #whatsnew .tr-focus-line{font-size:9.2px}
}
