/* "Watch it install": a scripted Windows 11 desktop (demo.js). The stage is drawn at 1280 x 800
   and scaled to fit, so it stays sharp at any width. Shapes and names mimic Windows 11 without its
   logo or wallpaper; the installer and the app are drawn from their real layouts. */

.demo { display: none; margin-top: 1.4rem; }
.demo.demo-on { display: block; }
.demo > summary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 3rem; padding: 0.45rem 1.3rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: #e8f4ff; color: var(--deep);
  font-weight: 600; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.demo > summary::-webkit-details-marker { display: none; }
.demo > summary::before {           /* play / close */
  content: ""; flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--water) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5.5v9l7.5-4.5z' fill='%23fff'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.demo[open] > summary::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.demo > summary .len { font-weight: 400; color: var(--mist); font-size: 0.9rem; }
@media (hover: hover) { .demo > summary:hover { background: #d9edff; } }
.demo[open] > summary { margin-bottom: 1rem; }

.screen-box {
  position: relative; overflow: hidden;
  aspect-ratio: 1280 / 800;
  border-radius: 0.9rem;
  background: #cdeaff;
  box-shadow: 0 0 0 1px #c4def3, 0 1.2rem 2.4rem -1.4rem rgba(11, 74, 130, 0.45);
  user-select: none; -webkit-user-select: none;
}
.demo-bar { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.8rem; }
.demo-play {
  flex: none; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%;
  background: var(--water); cursor: pointer;
  background-position: center; background-size: 62%; background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 5h2.4v10H6.5zM11.1 5h2.4v10h-2.4z' fill='%23fff'/%3E%3C/svg%3E");
}
.demo-play.paused {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5.5v9l7.5-4.5z' fill='%23fff'/%3E%3C/svg%3E");
}
.demo-chapters { flex: 1; display: flex; gap: 0.3rem; min-width: 0; }
.demo-chapters button {
  position: relative; flex: 1; min-width: 0; height: 2.5rem; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.demo-chapters button::before, .demo-chapters button span {
  content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 3px); height: 6px; border-radius: 3px;
}
.demo-chapters button::before { background: var(--line); }
.demo-chapters button span { right: auto; width: 0; background: var(--water); }
.demo-cap { margin: 0.35rem 0 0; min-height: 1.5em; color: var(--mist); font-size: 0.9rem; }

/* ------------------------------------------------------------------ the stage */
.stage {
  position: absolute; left: 0; top: 0; width: 1280px; height: 800px;
  transform-origin: 0 0;
  font: 400 12px/1.4 "Segoe UI", system-ui, sans-serif; color: #1a1a1a;
  overflow: hidden;
}
.stage * { box-sizing: border-box; }
.stage.instant, .stage.instant * { transition: none !important; }
.stage.instant .anim { animation: none !important; }
.stage.paused *, .stage.paused { animation-play-state: paused !important; }
.stage svg { display: block; }
.wall { position: absolute; inset: 0; }

/* desktop icons */
.dicon {
  position: absolute; left: 14px; width: 84px; padding: 6px 4px 5px;
  border: 1px solid transparent; border-radius: 4px;
  color: #fff; text-align: center; font-size: 12px; line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  transition: opacity 0.25s, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.dicon img, .dicon svg { display: block; width: 46px; height: 46px; margin: 0 auto 4px; }
.dicon.later { opacity: 0; transform: scale(0.6); }
.dicon.later.on { opacity: 1; transform: none; }
.dicon.sel { background: rgba(255, 255, 255, 0.28); border-color: rgba(255, 255, 255, 0.55); }
.dicon .arrow { position: absolute; left: 22px; top: 36px; width: 15px; height: 15px; }

/* windows */
.win {
  position: absolute; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 22px 48px -10px rgba(0, 30, 70, 0.45);
  opacity: 0; visibility: hidden; transform: scale(0.965);
  transition: opacity 0.18s, transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0s 0.24s;
}
.win.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s, transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1); }
.bar {
  position: relative; height: 32px; display: flex; align-items: center; gap: 8px; padding-left: 12px;
  font-size: 12px; color: #1a1a1a; background: #fff;
}
.bar img, .bar .glyph { width: 16px; height: 16px; }
.bar .ctl { position: absolute; right: 0; top: 0; display: flex; }
.bar .ctl i { display: grid; place-items: center; width: 46px; height: 32px; }
.bar .ctl svg { width: 10px; height: 10px; }

/* installer (installer/setup.cpp, 540 x 430 + title bar) */
.inst { left: 300px; top: 120px; width: 540px; height: 462px; }
.inst .body { position: relative; height: 430px; background: #fff; }
.pg { position: absolute; inset: 0; visibility: hidden; }
.inst[data-page="welcome"] .pg-welcome, .inst[data-page="working"] .pg-working,
.inst[data-page="finished"] .pg-finished { visibility: visible; }
.pg .ic { position: absolute; left: 24px; top: 22px; width: 48px; height: 48px; }
.pg h3 { position: absolute; left: 88px; top: 28px; margin: 0; font: 600 21px/32px "Segoe UI", system-ui, sans-serif; }
.pg .txt { position: absolute; left: 88px; width: 430px; margin: 0; font-size: 12px; line-height: 1.33; white-space: pre-line; }
.pg .state { top: 74px; display: flex; gap: 6px; align-items: center; }
.pg .guide { top: 114px; }
.btn96 {
  position: absolute; top: 382px; width: 96px; height: 30px; border-radius: 4px;
  display: grid; place-items: center; font-size: 12px;
  background: #fdfdfd; border: 1px solid #d0d0d0;
}
.btn96.def { border: 2px solid #0067c0; }
.btn96.pressed { background: #e3eef9; }
.pbar { position: absolute; left: 88px; top: 160px; width: 430px; height: 16px; background: #e6e6e6; border-radius: 3px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: #06b025; }
.pstat { position: absolute; left: 88px; top: 184px; font-size: 12px; }
.chk { position: absolute; left: 88px; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.chk b { width: 16px; height: 16px; border-radius: 3px; background: #0067c0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.tick circle { stroke-dasharray: 141; animation: ring 0.42s ease-out both; }
.tick path { stroke-dasharray: 40; animation: tick 0.32s 0.3s ease-out both; }
@keyframes ring { from { stroke-dashoffset: 141; } }
@keyframes tick { from { stroke-dashoffset: 40; } }

/* the app as it draws itself (android_webcam.py): a black canvas, the picture between 46 px black bars
   that carry the title line and the chip bar, a 280 px drawer between the bars */
.app { left: 112px; top: 72px; width: 800px; height: 574px; }
.canvas { position: relative; height: 542px; background: #000; overflow: hidden; color: #e8e8e8; }
.pic { position: absolute; left: 0; right: 0; top: 46px; height: 450px; opacity: 0; transition: opacity 0.4s; }
.pic { overflow: hidden; }
.pic .feed { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed { transform-origin: 50% 50%; }
.app[data-mode="run"] .pic { opacity: 1; }
.idle { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; transition: opacity 0.3s; }
.app[data-mode="run"] .idle { opacity: 0; }
.idle b { font: 48px/1 "Pixel", Consolas, monospace; -webkit-font-smoothing: none; }
.idle span { margin-top: 18px; font: 13px/1 "Case", Consolas, monospace; color: #8a8a8a; }
.idle small { margin-top: 12px; font: 13px/1 "Case", Consolas, monospace; color: #3a3a3a; }
.hud-top { position: absolute; left: 14px; right: 14px; top: 10px; display: flex; align-items: baseline; gap: 12px; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.hud-top b { font: 16px/1 "Pixel", Consolas, monospace; -webkit-font-smoothing: none; }
.hud-top span { font: 13px/1 "Case", Consolas, monospace; color: #8a8a8a; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hud-top em { margin-left: auto; font: normal 16px/1 "Pixel", Consolas, monospace; color: #7fff7f; -webkit-font-smoothing: none; }
.chips { position: absolute; left: 14px; right: 14px; bottom: 0; height: 40px; display: flex; align-items: center; gap: 20px;
         font: 13px/1 "Case", Consolas, monospace; color: #8a8a8a; text-shadow: 0 1px 2px #000; }
.chips .sp { flex: 1; }
.chips .go { color: #7fff7f; }
.app[data-mode="run"] .chips .go { color: #ff7f7f; }
.chips .off { color: #505050; }
.chips .lit { color: #fff; }
.drawer {
  position: absolute; right: 0; top: 34px; bottom: 40px; width: 280px; padding: 0 14px;
  background: #0e0e0e; transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.drawer.open { transform: none; }
.drawer h4 { margin: 12px 0 3px; font: 400 16px/1 "Pixel", Consolas, monospace; color: #e8e8e8; -webkit-font-smoothing: none; }
.drawer p { margin: 3px 0 0; font: 12px/1.25 "Case", Consolas, monospace; color: #6a6a6a; }
.drawer .row { display: flex; gap: 6px; margin-bottom: 2px; }
.dbtn, .dent { display: inline-block; padding: 3px 8px; background: #1c1c1c; color: #cccccc; font: 13px/1.3 "Case", Consolas, monospace; }
.dent { width: 152px; padding: 4px; color: #e8e8e8; }
.dbtn.hot { background: #2a2a2a; color: #fff; }
.dlink { margin-top: 6px; font: 13px/1.3 "Case", Consolas, monospace; color: #aaaaaa; }
.dchk { display: flex; align-items: center; gap: 6px; height: 21px; margin-left: -4px; font: 13px/1 "Case", Consolas, monospace; color: #aaaaaa; }
.dchk i { width: 13px; height: 13px; background: #1c1c1c; box-shadow: inset 0 0 0 1px #4a4a4a; }
.dchk i.y { background: #1c1c1c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M3 6.8l2.4 2.4L10 4.4' stroke='%23e8e8e8' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* the meeting app: any app that uses a camera */
.meet { left: 200px; top: 92px; width: 700px; height: 500px; background: #1b2230; }
.meet .bar { background: #1b2230; color: #e6ebf2; }
.meet .bar .ctl svg path { stroke: #e6ebf2; }
.tile { position: absolute; left: 30px; top: 56px; width: 640px; height: 360px; border-radius: 12px; overflow: hidden; background: #273041; }
.tile .feed { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.35s; }
.meet[data-cam="on"] .tile .feed { opacity: 1; }
.tile .avatar { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%;
                background: #3d4a5f; display: grid; place-items: center; color: #e6ebf2; font: 600 30px/1 "Segoe UI", sans-serif; }
.tile .who { position: absolute; left: 12px; bottom: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 12px; }
.mrow { position: absolute; left: 30px; right: 30px; top: 436px; display: flex; align-items: center; gap: 10px; }
.mbtn { width: 40px; height: 40px; border-radius: 50%; background: #2e384a; display: grid; place-items: center; }
.mbtn svg { width: 18px; height: 18px; }
.msel { position: relative; width: 250px; height: 36px; padding: 0 12px; border-radius: 8px; background: #2e384a; color: #e6ebf2;
        display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.msel small { color: #9aa7ba; margin-right: 6px; font-size: 12px; }
.mlist { position: absolute; left: 0; bottom: 42px; width: 250px; padding: 4px; border-radius: 8px; background: #2e384a;
         box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); visibility: hidden; opacity: 0; transition: opacity 0.15s, visibility 0s 0.15s; }
.mlist.on { visibility: visible; opacity: 1; transition: opacity 0.15s; }
.mlist div { height: 34px; padding: 0 10px; border-radius: 6px; display: flex; align-items: center; color: #e6ebf2; font-size: 13px; }
.mlist div.hl { background: #3d4a5f; }
.leave { margin-left: auto; height: 36px; padding: 0 18px; border-radius: 18px; background: #d13438; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; }

/* taskbar */
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: rgba(240, 246, 252, 0.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}
.tb-mid { position: absolute; left: 50%; top: 4px; transform: translateX(-50%); display: flex; gap: 4px; align-items: center; }
.tb-mid > div { position: relative; width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; }
.tb-mid img, .tb-mid svg { width: 24px; height: 24px; }
.tb-mid .search { width: 150px; padding: 0 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.85); display: flex; gap: 8px; color: #555; }
.tb-mid .search svg { width: 14px; height: 14px; }
.tb-mid .app-ic { display: none; }
.tb-mid .app-ic.on { display: grid; background: rgba(255, 255, 255, 0.55); }
.tb-mid .app-ic::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 16px; margin-left: -8px; height: 3px; border-radius: 2px; background: #0067c0; }
.tb-right { position: absolute; right: 12px; top: 0; height: 48px; display: flex; align-items: center; gap: 12px; color: #1a1a1a; }
.tb-right svg { width: 16px; height: 16px; }
.clock { text-align: right; font-size: 12px; line-height: 1.35; }

/* the Windows prompt: the whole screen dims (taskbar too), the prompt rises over it */
.dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.58); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.dim.on { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.uac { position: absolute; left: 50%; top: 50%; width: 470px; margin: -168px 0 0 -235px; border-radius: 8px; overflow: hidden; background: #fff;
       box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); transform: translateY(14px) scale(0.97); opacity: 0;
       transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) 0.12s, opacity 0.22s 0.12s; }
.dim.on .uac { transform: none; opacity: 1; }
.uac header { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 20px 0; font-size: 12px; color: #1a1a1a; background: none; }
.uac header svg { width: 16px; height: 16px; }
.uac h5 { margin: 0; padding: 12px 20px 14px; font: 600 19px/1.3 "Segoe UI", sans-serif; color: #1a1a1a; }
.uac .who { display: flex; align-items: center; gap: 12px; padding: 0 20px; font-size: 14px; }
.uac .who img { width: 34px; height: 34px; }
.uac .meta { margin: 10px 20px 0; font-size: 12px; line-height: 1.5; color: #555; }
.uac .more { margin: 10px 20px 18px; font-size: 12px; color: #0067c0; }
.uac footer { display: flex; gap: 8px; margin: 0; padding: 16px 20px; background: #f3f3f3; color: #1a1a1a; font-size: 13px; }
.uac footer span { flex: 1; height: 32px; border-radius: 4px; display: grid; place-items: center; font-size: 13px; background: #fff; border: 1px solid #d0d0d0; }
.uac footer span.yes { background: #0067c0; border-color: #0067c0; color: #fff; transition: background 0.12s; }
.uac footer span.yes.hover { background: #1975c5; }
.uac footer span.yes.pressed { background: #00539c; }
.hud-top span.good { color: #7fff7f; transition: color 0.4s; }

/* the phone, plugged in: a real object, so above the screen and its prompt. Its screen is drawn at a
   third of a pixel per dp; installing the phone app brings it up close (3.2x), where its overlay reads. */
.near { position: absolute; inset: 0; background: rgba(10, 25, 45, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s 0.5s; }
.near.on { opacity: 1; visibility: visible; transition: opacity 0.5s; }
.phone {
  position: absolute; left: 932px; top: 430px; width: 320px; height: 160px; padding: 8px;
  border-radius: 26px; background: #1e2833;
  box-shadow: 0 18px 40px -8px rgba(0, 20, 50, 0.55), inset 0 0 0 2px #2c3a49;
  transform: translateX(380px); transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone.on { transform: none; }
.phone.on.big { transform: translate(-452px, -110px) scale(3.2); transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.25, 1); }
.phone::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #0c1218; z-index: 2; }
.cable { position: absolute; left: 316px; top: 70px; width: 120px; height: 20px; }
.pscreen { position: relative; height: 100%; border-radius: 19px; overflow: hidden; background: #fff; }
.ps { position: absolute; inset: 0; visibility: hidden; }
.phone[data-screen="settings"] .ps-settings, .phone[data-screen="allow"] .ps-settings,
.phone[data-screen="allow"] .ps-allow, .phone[data-screen="app"] .ps-app { visibility: visible; }
.ps-settings { padding: 14px 18px 0 30px; background: #f6f7f9; }
.ps-settings h6 { margin: 0 0 12px; font: 600 16px/1.2 "Segoe UI", sans-serif; }
.ps-settings .row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.ps-settings .row div { flex: 1; font-size: 12px; }
.ps-settings .row small { display: block; color: #777; font-size: 10px; }
.toggle { position: relative; width: 36px; height: 20px; border-radius: 10px; background: #c7ccd3; transition: background 0.2s; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.toggle.on { background: #136fcc; }
.toggle.on::after { transform: translateX(16px); }
.ps-allow { background: rgba(0, 0, 0, 0.45); display: grid; place-items: center; }
.ps-allow .card { width: 236px; padding: 12px 14px 6px; border-radius: 16px; background: #fff; font-size: 10px; color: #555; }
.ps-allow b { display: block; margin-bottom: 4px; font-size: 13px; color: #111; }
.ps-allow .cb { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ps-allow .cb i { width: 11px; height: 11px; border-radius: 3px; background: #136fcc; }
.ps-allow .acts { display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.ps-allow .acts span { padding: 5px 10px; border-radius: 12px; color: #136fcc; font-weight: 600; font-size: 11px; }
/* the phone app (MainActivity.java), sp and dp at a third: 60 % black strips, pixel title, hint, chips */
.ps-app { background: #000; }
.ps-app .feed { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; padding: 5.3px 10px 4px 20px;
          background: rgba(0, 0, 0, 0.6); white-space: nowrap; }
.pa-top b { font: 400 5.7px/1 "Pixel", Consolas, monospace; color: #e8e8e8; -webkit-font-smoothing: none; }
.pa-top span { flex: 1; margin-left: 4px; font: 4.3px/1 "Case", Consolas, monospace; color: #7fff7f; }
.pa-top em { font: normal 5.7px/1 "Pixel", Consolas, monospace; color: #7fff7f; -webkit-font-smoothing: none; }
.pa-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 6.7px 4px 15px; background: rgba(0, 0, 0, 0.6); }
.pa-foot .hint { padding: 2.7px 3.3px 0; font: 3.7px/1 "Case", Consolas, monospace; color: #505050; white-space: pre; }
.pchips { display: flex; align-items: center; white-space: nowrap; }
/* the phone app hides its overlay a moment after the last touch (MainActivity HUD_MS) */
.pa-top, .pa-foot { transition: opacity 0.3s; }
.ps-app.hud-off .pa-top, .ps-app.hud-off .pa-foot { opacity: 0; }
/* fingertips on the phone screen, like Android's "show taps": pinch, drag, hold */
.gest { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.gest i, .gest b, .gest s { position: absolute; left: 0; top: 0; opacity: 0; }
.gest i { width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55);
          border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.35); }
.gest b { width: 12px; height: 12px; margin: -6px; border-radius: 50%; border: 1.2px solid rgba(255, 255, 255, 0.95); }
.gest s { height: 1px; margin-top: -0.5px; background: rgba(255, 255, 255, 0.9); transform-origin: 0 50%; }
/* at its normal size a fingertip covers more of the phone screen, as a real one would */
.phone:not(.big) .gest i, .phone:not(.big) .gest b { width: 22px; height: 22px; margin: -11px; border-width: 1.5px; }
.pchips span { padding: 4.7px 3.3px; font: 5px/1 "Case", Consolas, monospace; color: #8a8a8a; }
.pchips .off { color: #505050; }
.pchips i { flex: 1; }

/* the pointer, and what a click or a tap leaves */
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 30px; z-index: 50; will-change: transform; pointer-events: none; }
.ripple { position: absolute; z-index: 49; width: 34px; height: 34px; margin: -17px; border-radius: 50%;
          border: 2px solid rgba(19, 111, 204, 0.85); background: rgba(19, 111, 204, 0.18); animation: ripple 0.5s ease-out forwards; pointer-events: none; }
.ripple.touch { width: 30px; height: 30px; margin: -15px; border-color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.35); }
@keyframes ripple { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* the box: 16:10 like the screen; narrower than 760 px it turns 4:3 and follows the action */
.demo { container-type: inline-size; }
.stage { transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1); }
@container (max-width: 759px) { .screen-box { aspect-ratio: 4 / 3; } }
@media (min-width: 60rem) { .setup-in:has(.demo[open]) .demo-cap { display: none; } }

/* the shade (MainActivity toggleShade): black over the picture and overlay, the pixel-font splash centred */
.pshade { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 2; }
.psplash { position: absolute; left: 0; right: 0; top: 50%; margin-top: -5px; text-align: center; z-index: 2; opacity: 0;
           font: 400 9px/10px "Pixel", Consolas, monospace; color: #b4b4b4; -webkit-font-smoothing: none; white-space: nowrap; }
.pchips .ink { color: #e8e8e8; }
/* Android's green camera dot, top corner on the camera's side; the shade covers it, as on a real phone */
.pdot { position: absolute; left: 11px; top: 4px; width: 3.6px; height: 3.6px; border-radius: 50%; background: #3ddc84;
        z-index: 1; opacity: 0; }
.pdot.on { opacity: 1; }

/* the app the person uses: the meeting app, or lightly themed Discord, Skype, OBS Studio */
.meet .bar .mico { display: inline-flex; width: 16px; height: 16px; }
.meet .bar .mico svg { width: 16px; height: 16px; }
.app-ic .glyph, .tb-mid .app-ic svg { width: 22px; height: 22px; }
.meet[data-app="discord"] { background: #313338; }
.meet[data-app="discord"] .bar { background: #1e1f22; color: #dbdee1; }
.meet[data-app="discord"] .tile { background: #232428; border-radius: 8px; }
.meet[data-app="discord"] .mbtn, .meet[data-app="discord"] .msel, .meet[data-app="discord"] .mlist { background: #2b2d31; }
.meet[data-app="discord"] .mlist div.hl { background: #5865f2; }
.meet[data-app="discord"] .leave { background: #da373c; border-radius: 8px; }
.meet[data-app="discord"] .avatar { background: #5865f2; }
.meet[data-app="skype"] { background: #f2f6fb; }
.meet[data-app="skype"] .bar { background: #f2f6fb; color: #1b2a41; }
.meet[data-app="skype"] .bar .ctl svg path { stroke: #1b2a41; }
.meet[data-app="skype"] .tile { background: #dce7f3; border-radius: 16px; }
.meet[data-app="skype"] .mbtn { background: #fff; box-shadow: 0 1px 3px rgba(20, 50, 90, 0.18); }
.meet[data-app="skype"] .mbtn [fill="#e6ebf2"] { fill: #0078d4; }
.meet[data-app="skype"] .mbtn [stroke="#e6ebf2"] { stroke: #0078d4; }
.meet[data-app="skype"] .msel, .meet[data-app="skype"] .mlist { background: #fff; color: #1b2a41; box-shadow: 0 1px 3px rgba(20, 50, 90, 0.18); }
.meet[data-app="skype"] .msel small { color: #5d6b80; }
.meet[data-app="skype"] .msel svg path { stroke: #1b2a41; }
.meet[data-app="skype"] .mlist div { color: #1b2a41; }
.meet[data-app="skype"] .mlist div.hl { background: #d6ecfb; }
.meet[data-app="skype"] .leave { background: #e3263b; }
.meet[data-app="skype"] .avatar { background: #00aff0; }
.meet[data-app="obs"] { background: #272a33; }
.meet[data-app="obs"] .bar { background: #1d1f26; color: #d2d4da; }
.meet[data-app="obs"] .tile { background: #000; border-radius: 0; outline: 1px solid #3c404d; }
.meet[data-app="obs"] .avatar { display: none; }
.meet[data-app="obs"] .mbtn { display: none; }
.meet[data-app="obs"] .msel, .meet[data-app="obs"] .mlist { background: #3a3e4c; border-radius: 3px; }
.meet[data-app="obs"] .mlist div { border-radius: 2px; }
.meet[data-app="obs"] .mlist div.hl { background: #4f6fbd; }
.meet[data-app="obs"] .leave { background: #3a3e4c; border: 1px solid #555a6b; border-radius: 3px; font-weight: 500; }
