/* Mô phỏng động (chạy lặp như GIF) giao diện Claude ở bước 2, 3 trang Bắt đầu (mo-phong.js). Luôn nền tối như Claude. */
.mp { margin:10px 0 6px; }
.mp-khung { position:relative; width:100%; overflow:hidden; border-radius:12px; border:1px solid var(--vien); background:#181818; box-shadow:0 8px 24px rgba(0,0,0,.35); }
.mp-san { position:absolute; left:0; top:0; width:380px; height:350px; transform-origin:0 0; overflow:hidden; background:#181818; color:#ececec;
  font:12px/1.4 -apple-system,system-ui,"Segoe UI",Roboto,sans-serif; user-select:none; }
.mp-cap { display:flex; gap:8px; align-items:flex-start; min-height:44px; margin:8px 0 0; font-size:14px; color:var(--chu); }
.mp-cap b.so { flex:none; min-width:30px; padding:1px 7px; border-radius:99px; font-size:12px; text-align:center; background:rgba(0,227,255,.1); color:var(--nhan); border:1px solid rgba(0,227,255,.35); }
.mp-cap b.so.xong { background:var(--tot); color:#03140c; border-color:var(--tot); }
ol.nho li { transition:color .3s; }
ol.nho li.dang { color:var(--nhan); }

/* thanh trình duyệt */
.mp-tren { height:30px; display:flex; align-items:center; gap:5px; padding:0 10px; background:#2b2c2f; border-bottom:1px solid #3a3a3a; }
.mp-tren > i { width:8px; height:8px; border-radius:50%; background:#55565a; }
.mp-url { flex:1; margin-left:8px; height:20px; line-height:20px; padding:0 10px; border-radius:99px; background:#3c3e41; color:#ddd; font-size:11px; white-space:nowrap; overflow:hidden; }
.mp-url.chon span { background:#2f5fb3; color:#fff; }
.mp-than { position:absolute; left:0; right:0; top:30px; bottom:0; display:flex; }
.mp-ray { width:34px; flex:none; background:#1d1d1d; border-right:1px solid #2a2a2a; display:flex; flex-direction:column; align-items:center; gap:10px; padding-top:12px; }
.mp-ray i { width:14px; height:14px; border-radius:4px; background:#3a3a3a; }
.mp-ray i:first-child { background:#d97757; border-radius:50%; }
.mp-giua { position:relative; flex:1; padding:16px 16px 0; }

/* chữ, ô, nút kiểu Claude */
.mp-tde { font:600 19px/1.2 Georgia,"Times New Roman",serif; color:#f2f2f2; }
.mp-nho { color:#9a9a9a; font-size:11px; }
.mp-o { margin-top:12px; height:58px; padding:9px 11px; border-radius:12px; background:#262626; border:1px solid #3a3a3a; color:#8a8a8a; }
.mp-hang { display:flex; gap:6px; margin-top:8px; }
.mp-chip { display:inline-flex; align-items:center; gap:4px; padding:4px 9px; border-radius:8px; border:1px solid #3a3a3a; background:#202020; color:#d6d6d6; font-size:11px; white-space:nowrap; }
.mp-nut { display:inline-block; padding:6px 12px; border-radius:8px; background:#f0eee6; color:#1a1a1a; font-weight:600; font-size:11.5px; white-space:nowrap; }
.mp-nut2 { display:inline-block; padding:6px 12px; border-radius:8px; border:1px solid #3a3a3a; color:#d6d6d6; font-size:11.5px; }
.mp-input { min-height:26px; margin:3px 0 8px; padding:5px 9px; border-radius:8px; background:#1f1f1f; border:1px solid #3a3a3a; color:#f2f2f2; white-space:pre-wrap; word-break:break-all; }
.mp-input.to { min-height:46px; max-height:46px; overflow:hidden; font-size:10px; color:#cfcfcf; }
.mp-input.go::after { content:'|'; color:#00e3ff; animation:mp-nhay .8s steps(1) infinite; }
.mp-nhan { font-size:11px; font-weight:600; color:#cfcfcf; }
.mp-dong { display:flex; align-items:center; gap:6px; padding:7px 2px; border-top:1px solid #2e2e2e; color:#e6e6e6; }
.mp-dong > span { margin-left:auto; color:#9a9a9a; font-size:11px; }
.mp-dong > span.tot { color:#3ddc97; }
.mp-dong::after { content:'›'; color:#777; font-size:14px; line-height:1; }
.mp-dong.cuoi::after { content:none; }
.mp-chon { display:flex; gap:5px; padding:0 2px 8px; }
.mp-chon > div { flex:1; padding:5px 0; text-align:center; border-radius:7px; border:1px solid #3a3a3a; color:#cfcfcf; font-size:11px; }
.mp-chon > div.co { border-color:#f0eee6; color:#fff; background:#2c2c2c; }
.mp-chan { display:flex; justify-content:flex-end; gap:6px; margin-top:8px; }

/* menu, hộp thoại */
.mp-menu, .mp-hop { position:absolute; z-index:5; opacity:0; transform:translateY(-4px) scale(.97); transition:opacity .25s, transform .25s; pointer-events:none; }
.mp-menu.mo, .mp-hop.mo { opacity:1; transform:none; }
.mp-menu { min-width:150px; padding:5px; border-radius:10px; background:#262626; border:1px solid #3d3d3d; box-shadow:0 10px 24px rgba(0,0,0,.5); }
.mp-menu .mp-nho { padding:3px 8px; }
.mp-muc { display:flex; gap:6px; align-items:center; padding:5px 8px; border-radius:6px; color:#e6e6e6; white-space:nowrap; }
.mp-muc b { margin-left:auto; color:#d97757; font-weight:400; }
.mp-menu hr { border:0; border-top:1px solid #3a3a3a; margin:4px 0; }
.mp-mo { position:absolute; inset:0; z-index:4; background:rgba(0,0,0,.55); opacity:0; transition:opacity .25s; }
.mp-mo.mo { opacity:1; }
.mp-hop { left:24px; right:24px; top:10px; max-height:312px; overflow:hidden; padding:12px 14px; border-radius:14px; background:#222; border:1px solid #3d3d3d; box-shadow:0 18px 40px rgba(0,0,0,.6); }
.mp-hop .mp-tde { font-size:15px; margin-bottom:8px; }
.mp-cuon { transition:transform .5s; }
.mp-the { display:flex; gap:12px; margin:2px 0 6px; font-size:11px; color:#9a9a9a; }
.mp-the b { color:#f2f2f2; font-weight:600; border-bottom:2px solid #d97757; padding-bottom:2px; }
.mp-token { display:flex; gap:6px; align-items:center; margin:8px 0; }
.mp-token .mp-input { flex:1; margin:0; font:11px ui-monospace,Menlo,monospace; color:#cfe9f2; }
.mp-an { display:none !important; }

/* con trỏ chuột, vòng bấm, chỗ cần bấm */
.mp-tro { position:absolute; left:0; top:0; z-index:20; width:18px; height:18px; margin:-2px 0 0 -3px; transition:transform .7s cubic-bezier(.45,0,.2,1); pointer-events:none; }
.mp-tro svg { width:18px; height:18px; display:block; fill:#fff; stroke:#000; stroke-width:1.4; stroke-linejoin:round; filter:drop-shadow(0 2px 3px rgba(0,0,0,.6)); transition:transform .12s; }
.mp-tro.bam svg { transform:scale(.8); }
.mp-gon { position:absolute; z-index:19; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:50%; border:2px solid #00e3ff; pointer-events:none; animation:mp-gon .55s ease-out forwards; }
.mp-phim { position:absolute; z-index:21; padding:2px 7px; border-radius:6px; background:#00e3ff; color:#03141a; font-weight:700; font-size:11px; pointer-events:none; animation:mp-phim .9s ease-out forwards; }
.mp-trung { box-shadow:0 0 0 2px #00e3ff, 0 0 14px rgba(0,227,255,.55) !important; transition:box-shadow .25s; }
@keyframes mp-gon { from { transform:scale(.3); opacity:1; } to { transform:scale(1.6); opacity:0; } }
@keyframes mp-phim { 0% { transform:translateY(4px); opacity:0; } 20%, 70% { transform:none; opacity:1; } 100% { opacity:0; } }
@keyframes mp-nhay { 50% { opacity:0; } }
.mp-noi { position:absolute; inset:0; }
/* nút chọn chữ English / Tiếng Việt (tiếng Việt = trình duyệt tự dịch trang Claude) */
.mp-lan { display:flex; align-items:center; gap:6px; margin-bottom:8px; font-size:13px; color:var(--phu); flex-wrap:wrap; }
.mp-lan span { margin-right:2px; }
.mp-lan button { padding:5px 12px; border-radius:99px; font-size:13px; font-weight:600; background:transparent; color:var(--phu); border:1px solid var(--vien); }
.mp-lan button.chon { background:rgba(0,227,255,.1); color:var(--nhan); border-color:rgba(0,227,255,.45); }
.mp-goc { font-weight:400; color:var(--phu); font-size:.9em; }
/* ô lời nhắn của routine: chữ + hàng dưới có ô chọn model (Opus 5.5 · Medium) */
.mp-ins > div:first-child { max-height:30px; overflow:hidden; font-size:10px; color:#cfcfcf; }
.mp-ins-chan { display:flex; align-items:center; gap:6px; margin-top:6px; padding-top:5px; border-top:1px solid #2e2e2e; font-size:10px; color:#8a8a8a; }
.mp-model { min-width:262px; }
.mp-model .mp-muc.co::after { content:'✓'; margin-left:auto; color:#d97757; }
.mp-chon.nho { flex-wrap:wrap; gap:3px; padding:2px 4px 4px; }
.mp-chon.nho > div { flex:none; padding:3px 5px; font-size:10px; }
.mp-ins-chan > span:first-child { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* tab trình duyệt + trang app bước 4 trong mô phỏng bước 3 */
.mp-tab { flex:none; height:22px; line-height:22px; padding:0 9px; border-radius:7px 7px 0 0; margin-top:8px; background:transparent; color:#9a9a9a; font-size:10.5px; white-space:nowrap; }
.mp-tab.co { background:#3c3e41; color:#f2f2f2; }
.mp-tab + .mp-tab { margin-left:-3px; }
.mp-tab ~ .mp-url { margin-left:4px; text-overflow:ellipsis; }
.mp-app { position:absolute; inset:0; z-index:8; padding:16px; background:radial-gradient(120% 60% at 50% -10%, #0d2a3d 0%, rgba(7,11,18,0) 60%) #070b12; color:#e9eef6; }
.mp-app-the { padding:14px; border-radius:14px; border:1px solid #1e2938; background:linear-gradient(180deg, #111a28, #0f1622); }
.mp-app-tde { display:flex; align-items:center; gap:8px; font-weight:700; font-size:14px; margin-bottom:10px; }
.mp-app-tde b { width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:12px; color:#00e3ff; background:rgba(0,227,255,.1); border:1px solid rgba(0,227,255,.35); }
.mp-app-nhan { font-weight:650; font-size:11px; color:#c9d3e1; }
.mp-app-o { margin:4px 0 10px; padding:8px 10px; border-radius:9px; border:1px solid #1e2938; background:#0a1019; color:#4f5b6d; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mp-app-o.day { color:#e9eef6; }
.mp-app-nut { margin-top:4px; padding:9px; border-radius:10px; background:#00e3ff; color:#03141a; font-weight:700; text-align:center; }
