/* Remote demo (#remote) — desk + iPhone/iPad running the same show live */
#remote {
  position: relative; overflow: hidden;
  padding: clamp(3.4rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 45% at 85% 0%, rgba(76,141,255,.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 100%, rgba(45,212,168,.08), transparent 60%);
}
.rm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.rm-head .section-head { margin-bottom: 0; max-width: 700px; }
.rm-pills { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.rm-pills li {
  font: 500 .74rem "IBM Plex Mono", monospace; letter-spacing: .02em; color: var(--muted);
  padding: .42rem .75rem; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line);
}
.rm-pills li b { color: var(--accent); font-weight: 600; }

.rm-demo {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(14px, 2.4vw, 26px);
  align-items: center;
}

/* ───────── program renderer (shared by desk, phone, iPad) ───────── */
.rp {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #05070a;
  container-type: inline-size; isolation: isolate; user-select: none;
}
.rp-l { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); transition: opacity .38s ease, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.rp[data-scene="lecture"] .rp-lecture,
.rp[data-scene="game"] .rp-game,
.rp[data-scene="web"] .rp-web,
.rp[data-scene="guest"] .rp-guest { opacity: 1; transform: none; }

.rp-lecture { background: linear-gradient(135deg, #0c1119, #0a0d14); display: grid; grid-template-columns: 54% 1fr; grid-template-rows: minmax(0,1fr); gap: 3cqw; padding: 4cqw 4cqw 4cqw 4cqw; align-items: center; }
.rp-img { height: 100%; border-radius: 1.2cqw; overflow: hidden; background: #000; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); }
.rp-img img { width: 100%; height: 100%; object-fit: contain; }
.rp-txt { display: flex; flex-direction: column; gap: 1.2cqw; align-self: start; padding-top: 1cqw; }
.rp-txt small { font: 500 max(7px, 2.1cqw) "IBM Plex Mono", monospace; color: #2DD4A8; letter-spacing: .08em; }
.rp-txt b { font: 700 max(10px, 4.6cqw)/1.1 Sora, sans-serif; color: #fff; letter-spacing: -.02em; }
.rp-txt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9cqw; }
.rp-txt li { font: 400 max(7px, 2.4cqw)/1.25 "IBM Plex Sans", sans-serif; color: #aab4c0; padding-left: 2.4cqw; position: relative; }
.rp-txt li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1cqw; height: 1cqw; border-radius: 50%; background: #2DD4A8; }
.rp-lecture.swap .rp-img, .rp-lecture.swap .rp-txt { animation: rm-swap .45s cubic-bezier(.2,.8,.2,1); }
@keyframes rm-swap { from { opacity: 0; transform: translateX(2.4cqw); } to { opacity: 1; transform: none; } }

.rp-cam {
  position: absolute; right: 2.4cqw; bottom: 2.4cqw; width: 19cqw; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%;
  border-radius: 1.3cqw; border: .35cqw solid rgba(255,255,255,.85); box-shadow: 0 .8cqw 2.4cqw rgba(0,0,0,.5);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.rp-game video, .rp-game .rp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-game .rp-cam { width: 17cqw; }

.rp-web { background: #0a0d12; display: grid; place-items: center; }
.rp-browser { position: absolute; inset: 3cqw 5cqw; border-radius: 1.4cqw; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; }
.rp-browser > span { display: flex; align-items: center; gap: 1.2cqw; padding: 0 2cqw; height: 5.2cqw; flex: none; background: #1a1f2a; font: 500 max(6px, 1.9cqw) "IBM Plex Mono", monospace; color: #8c95a6; }
.rp-browser > span i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #e85d4c; box-shadow: 2cqw 0 #e8b23a, 4cqw 0 #2dd4a8; margin-right: 4.4cqw; }
.rp-browser img { width: 100%; flex: 1; min-height: 0; object-fit: cover; animation: rm-pan 14s ease-in-out infinite alternate; }
@keyframes rm-pan { from { object-position: 30% 50%; transform: scale(1.04); } to { object-position: 70% 50%; transform: scale(1.12); } }
.rp-play { position: absolute; left: 7cqw; right: 7cqw; bottom: 5.4cqw; height: .7cqw; border-radius: 9px; background: rgba(255,255,255,.28); }
.rp-play::after { content: ""; display: block; height: 100%; width: 38%; border-radius: inherit; background: #e85d4c; animation: rm-prog 12s linear infinite; }
@keyframes rm-prog { from { width: 8%; } to { width: 92%; } }

.rp-guest { background: #0a0d12; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; padding: 3cqw; }
.rp-guest figure { margin: 0; position: relative; border-radius: 1.4cqw; overflow: hidden; background: #111; }
.rp-guest figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.rp-guest figcaption { position: absolute; left: 1.6cqw; bottom: 1.4cqw; font: 600 max(6px, 2cqw) "IBM Plex Sans", sans-serif; color: #fff; padding: .5cqw 1.5cqw; border-radius: 99px; background: rgba(0,0,0,.55); }
.rp-guest figure.talk { outline: .45cqw solid #2DD4A8; outline-offset: -.45cqw; }

/* overlays */
.rp-lt {
  position: absolute; left: 4cqw; bottom: 4cqw; padding: 1.4cqw 3cqw 1.4cqw 2.2cqw; border-radius: .9cqw;
  background: linear-gradient(90deg, #2DD4A8, #26b48d); color: #06241c; display: flex; flex-direction: column; gap: .2cqw;
  transform: translateX(-120%); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s;
  box-shadow: 0 1cqw 3cqw rgba(0,0,0,.4);
}
.rp-lt b { font: 700 max(8px, 3cqw)/1.1 Sora, sans-serif; }
.rp-lt span { font: 500 max(6px, 1.9cqw) "IBM Plex Sans", sans-serif; opacity: .8; }
.rp[data-lt="1"] .rp-lt { transform: none; opacity: 1; }
.rp-logo {
  position: absolute; top: 2.6cqw; right: 2.6cqw; display: flex; align-items: center; gap: .9cqw;
  font: 700 max(7px, 2.3cqw) Sora, sans-serif; color: #fff; padding: .8cqw 1.8cqw .8cqw 1.2cqw; border-radius: 99px;
  background: rgba(10,13,18,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18);
  opacity: 0; transform: translateY(-1.5cqw); transition: .4s;
}
.rp-logo i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7ef0d2, #2DD4A8 55%, #1c8f72); }
.rp[data-logo="1"] .rp-logo { opacity: 1; transform: none; }
.rp-tick {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5.6cqw; background: rgba(8,10,14,.86); border-top: .25cqw solid #2DD4A8;
  display: flex; align-items: center; overflow: hidden; transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.rp[data-tick="1"] .rp-tick { transform: none; }
.rp-tick span { white-space: nowrap; font: 500 max(7px, 2.2cqw) "IBM Plex Sans", sans-serif; color: #e8edf2; animation: rm-tick 16s linear infinite; padding-left: 100%; }
.rp-tick em { color: #2DD4A8; font-style: normal; font-weight: 700; margin: 0 1.2cqw; }
@keyframes rm-tick { to { transform: translateX(-100%); } }
.rp-badges { position: absolute; top: 2.6cqw; left: 2.6cqw; display: flex; gap: 1cqw; }
.rp-badges em {
  font: 600 max(6px, 1.9cqw) "IBM Plex Mono", monospace; font-style: normal; letter-spacing: .06em; color: #fff;
  padding: .6cqw 1.4cqw; border-radius: .7cqw; display: none;
}
.rp-rec { background: rgba(232,93,76,.92); }
.rp-rec::before { content: ""; display: inline-block; width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #fff; margin-right: .9cqw; animation: rm-blink 1s steps(2) infinite; }
.rp-live { background: rgba(76,141,255,.92); }
@keyframes rm-blink { 50% { opacity: .15; } }
.rp[data-rec="1"] .rp-rec, .rp[data-live="1"] .rp-live { display: block; }

/* ───────── desk window ───────── */
.rm-desk { border-radius: 16px; border: 1px solid var(--line-strong); background: #0e1218; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.rm-bar { display: flex; align-items: center; gap: 7px; padding: 0 14px; height: 38px; background: #151a23; border-bottom: 1px solid var(--line); font: 500 .72rem "IBM Plex Mono", monospace; color: var(--muted); }
.rm-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #3a4150; }
.rm-bar > i:nth-child(1) { background: #e8665a; } .rm-bar > i:nth-child(2) { background: #e8b23a; } .rm-bar > i:nth-child(3) { background: #3fcf7f; }
.rm-bar span { margin-left: 8px; flex: 1; }
.rm-conn { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; }
.rm-conn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(45,212,168,.18); animation: rm-pulse 2s ease-in-out infinite; }
@keyframes rm-pulse { 50% { box-shadow: 0 0 0 6px rgba(45,212,168,0); } }
.rm-main { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; padding: 12px; }
.rm-mon { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); align-self: start; }
.rm-mon::after { content: "PROGRAM"; position: absolute; right: 8px; bottom: 7px; font: 600 .56rem "IBM Plex Mono", monospace; letter-spacing: .1em; color: #fff; background: rgba(232,93,76,.85); padding: 2px 6px; border-radius: 4px; }
.rm-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rm-cap { font: 600 .6rem "IBM Plex Mono", monospace; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; margin-bottom: 6px; }
.rm-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rm-key {
  position: relative; height: 54px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-strong);
  background: #1a2230 center/cover no-repeat; color: #fff; font: 600 .66rem "IBM Plex Sans", sans-serif; text-align: left; padding: 0; cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.rm-key::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)); }
.rm-key span { position: absolute; left: 7px; bottom: 5px; right: 6px; display: flex; justify-content: space-between; align-items: center; }
.rm-key kbd { font: 500 .52rem "IBM Plex Mono", monospace; opacity: .7; }
.rm-key:hover { transform: translateY(-1px); }
.rm-key.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 18px rgba(45,212,168,.35); }
.rm-key.on::after { content: "LIVE"; position: absolute; top: 4px; right: 5px; font: 700 .48rem "IBM Plex Mono", monospace; background: #e85d4c; border-radius: 3px; padding: 1px 4px; }
.rm-mix { display: grid; gap: 7px; }
.mx { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; font: 500 .62rem "IBM Plex Mono", monospace; color: var(--muted); }
.mx.muted { opacity: .5; text-decoration: line-through; }
.mt { height: 6px; border-radius: 4px; background: #1b212c; overflow: hidden; position: relative; }
.mt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2DD4A8 0 62%, #e8b23a 62% 84%, #e85d4c 84%); clip-path: inset(0 calc((1 - var(--lv, 0)) * 100%) 0 0); }
.rm-notes { padding: 10px 14px 12px; border-top: 1px solid var(--line); background: #0c1016; }
.rm-notes p { margin: 0; font: 400 .84rem/1.5 "IBM Plex Sans", sans-serif; color: #c4ccd6; min-height: 3em; }
.rm-log { border-top: 1px solid var(--line); background: #0a0d12; padding: 9px 14px; font: 400 .66rem/1.55 "IBM Plex Mono", monospace; color: var(--faint); min-height: 5.6em; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.rm-log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: rm-in .35s ease; }
.rm-log div:last-child { color: var(--text); }
.rm-log b { color: var(--accent); font-weight: 500; }
.rm-log .src-ipad b, .rm-log .src-desk b { color: var(--blue); }
@keyframes rm-in { from { opacity: 0; transform: translateY(5px); } }

/* ───────── device column ───────── */
.rm-dev { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.rm-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line); }
.rm-seg button { font: 500 .8rem "IBM Plex Sans", sans-serif; color: var(--muted); padding: .38rem 1rem; border-radius: 999px; cursor: pointer; transition: .2s; }
.rm-seg button.on { background: var(--text); color: #0B0D12; }
.rm-stagebox { position: relative; width: 100%; display: grid; place-items: center; min-height: 560px; }
.rm-frame {
  position: relative; background: #05070a; border: 2px solid #2b323f; box-shadow: 0 0 0 5px #0f131a, 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden; display: none; transition: opacity .3s;
}
.rm-frame.show { display: block; animation: rm-in .4s ease; }
.rm-frame.rm-phone { width: min(262px, 100%); aspect-ratio: 9 / 20; border-radius: 40px; }
.rm-frame.rm-ipad { width: 100%; max-width: 480px; aspect-ratio: 11 / 10; border-radius: 22px; }

.pwa { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0d0f14; color: #eef1f6; font: 13px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
.rm-phone .pwa { padding-top: 38px; }
.rm-phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 74px; height: 22px; border-radius: 99px; background: #000; z-index: 5; }
.pwa-top { display: flex; align-items: center; gap: 8px; padding: 6px 12px; flex: none; }
.pwa-top img, .pwa-top .ic { width: 22px; height: 22px; border-radius: 6px; background: radial-gradient(circle at 35% 35%, #7ef0d2, #2DD4A8 55%, #1c8f72); flex: none; }
.pwa-top b { font-size: 13px; flex: 1; }
.pwa-top em { font-style: normal; font-size: 10px; color: #31c46c; background: rgba(49,196,108,.14); padding: 2px 7px; border-radius: 99px; white-space: nowrap; }
.pwa-prev { margin: 0 10px; border-radius: 10px; overflow: hidden; flex: none; border: 1px solid #2a303c; position: relative; }
.pwa-prev .rp { border-radius: 0; }
.pwa-body { flex: 1; min-height: 0; padding: 8px 10px; position: relative; overflow: hidden; }
.pwa-view { display: none; flex-direction: column; gap: 6px; height: 100%; }
.pwa-view.on { display: flex; animation: rm-in .25s ease; }
.pwa-tabs { display: grid; grid-template-columns: repeat(4, 1fr); flex: none; border-top: 1px solid #232833; background: #11151c; padding: 5px 4px 14px; }
.rm-phone .pwa-tabs { padding-bottom: 18px; }
.pwa-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #8c95a6; padding: 4px 0; cursor: pointer; border-radius: 8px; }
.pwa-tab .g { font-size: 15px; line-height: 1; }
.pwa-tab.on { color: #3d8bff; }

.pb { /* generic phone button */
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 11px;
  background: #1e232d; border: 1px solid #2a303c; font-weight: 600; font-size: 12px; color: #eef1f6; cursor: pointer; padding: 0 8px; text-align: center;
  transition: background .15s, border-color .15s, transform .12s;
}
.pb:active, .pb.tap { transform: scale(.96); }
.pb.on { background: rgba(61,139,255,.18); border-color: #3d8bff; color: #fff; }
.pb.red.on { background: rgba(255,77,79,.2); border-color: #ff4d4f; }
.pb.green.on { background: rgba(49,196,108,.16); border-color: #31c46c; }
.pb.tall { min-height: 38px; }
.pb .k { display: block; font: 500 8.5px "IBM Plex Mono", monospace; color: #8c95a6; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pgrid.g3 { grid-template-columns: repeat(3, 1fr); }
.plabel { font: 600 9.5px "IBM Plex Mono", monospace; letter-spacing: .08em; color: #6b7380; text-transform: uppercase; margin-top: 2px; }
.ps { /* scene key with thumb */
  position: relative; overflow: hidden; border-radius: 11px; border: 1px solid #2a303c; background: #1e232d center/cover no-repeat;
  min-height: 40px; cursor: pointer; text-align: left; color: #fff; font-weight: 600; font-size: 11.5px; transition: border-color .15s, transform .12s;
}
.ps::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)); }
.ps span { position: absolute; left: 8px; bottom: 6px; }
.ps.on { border-color: #31c46c; box-shadow: 0 0 0 1px #31c46c; }
.ps.on::after { content: "LIVE"; position: absolute; top: 5px; right: 6px; font: 700 8px "IBM Plex Mono", monospace; background: #ff4d4f; border-radius: 4px; padding: 1px 5px; }
.ps:active, .ps.tap { transform: scale(.96); }
.srow { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: #161a22; border: 1px solid #2a303c; cursor: pointer; }
.srow .th { width: 58px; aspect-ratio: 16 / 9; border-radius: 6px; background: center/cover; flex: none; }
.srow b { flex: 1; font-size: 12px; } .srow small { color: #8c95a6; font: 500 9px "IBM Plex Mono", monospace; }
.srow.on { border-color: #31c46c; background: rgba(49,196,108,.1); }
.srow .st { font: 700 8px "IBM Plex Mono", monospace; color: #fff; background: #ff4d4f; padding: 2px 5px; border-radius: 4px; display: none; }
.srow.on .st { display: block; }
.trow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #161a22; border: 1px solid #2a303c; cursor: pointer; font-size: 12.5px; font-weight: 600; }
.trow span { flex: 1; }
.sw { width: 36px; height: 21px; border-radius: 99px; background: #2a303c; position: relative; transition: .2s; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: .2s; }
.trow.on .sw { background: #31c46c; } .trow.on .sw::after { transform: translateX(15px); }
.arow { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #161a22; border: 1px solid #2a303c; }
.arow b { font-size: 12px; } .arow .mb { font: 700 9px "IBM Plex Mono", monospace; padding: 4px 8px; border-radius: 7px; background: #1e232d; border: 1px solid #2a303c; cursor: pointer; color: #eef1f6; }
.arow.muted .mb { background: rgba(255,77,79,.2); border-color: #ff4d4f; color: #ff9fa0; }
.arow .mt { grid-column: 1 / -1; }
.arow input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: #3d8bff; height: 14px; margin: 0; }
.slidectl { display: grid; grid-template-columns: 1fr auto 1fr; gap: 7px; align-items: center; }
.slidectl .n { font: 600 10px "IBM Plex Mono", monospace; color: #8c95a6; text-align: center; min-width: 40px; }

/* iPad landscape layout */
.rm-ipad .pwa { padding-top: 0; }
.rm-ipad .pwa-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; padding: 0 12px 12px; }
.rm-ipad .pwa-left { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rm-ipad .pwa-left .pwa-prev { margin: 0; }
.rm-ipad .pwa-right { display: flex; flex-direction: column; gap: 5px; min-width: 0; overflow: hidden; }
.rm-ipad .pb { min-height: 30px; font-size: 11px; }
.rm-ipad .ps { min-height: 40px; font-size: 10.5px; }
.rm-ipad .trow { padding: 5px 10px; font-size: 11px; }
.rm-ipad .arow .mb { padding: 3px 7px; font-size: 8px; }
.rm-ipad .plabel { margin-top: 0; }
.rm-ipad .arow { padding: 4px 9px; grid-template-columns: 34px 1fr auto; }
.rm-ipad .arow .mt { grid-column: auto; }
.rm-ipad .arow input { display: none; }
.rm-ipad .pwa-top { padding: 9px 14px 6px; }

/* pairing splash */
.pwa-pair { position: absolute; inset: 0; z-index: 6; background: #0d0f14; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 22px; transition: opacity .5s, visibility .5s; }
.pwa-pair.done { opacity: 0; visibility: hidden; }
.pwa-pair .qr { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; width: 112px; padding: 9px; border-radius: 12px; background: #fff; position: relative; overflow: hidden; }
.pwa-pair .qr i { aspect-ratio: 1; background: #0d0f14; border-radius: 1px; }
.pwa-pair .qr i.o { background: transparent; }
.pwa-pair .qr::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #2DD4A8; box-shadow: 0 0 14px #2DD4A8; animation: rm-scan 1.3s ease-in-out infinite alternate; }
@keyframes rm-scan { from { top: 6%; } to { top: 92%; } }
.pwa-pair p { margin: 0; font-size: 12px; color: #8c95a6; }
.pwa-pair b { font-size: 14px; }
.pwa-pair .ok { color: #31c46c; font-weight: 700; display: none; }
.pwa-pair.ok .ok { display: block; } .pwa-pair.ok .scan { display: none; }

.rm-finger {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; z-index: 9; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,.35) 60%, transparent 70%); border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: 0 3px 12px rgba(0,0,0,.5); opacity: 0; transform: translate(var(--fx, 50px), var(--fy, 50px)) scale(1);
  transition: transform .75s cubic-bezier(.45,.05,.2,1), opacity .3s;
}
.rm-finger.vis { opacity: 1; }
.rm-finger.press { transform: translate(var(--fx), var(--fy)) scale(.72); transition: transform .12s; }
.rm-finger::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2DD4A8; opacity: 0; }
.rm-finger.press::after { animation: rm-rip .6s ease-out; }
@keyframes rm-rip { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(2.2); } }

.rm-hint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font: 500 .76rem "IBM Plex Mono", monospace; color: var(--muted); text-align: center; }
.rm-hint button { font: 500 .74rem "IBM Plex Mono", monospace; color: var(--accent); padding: .28rem .7rem; border-radius: 99px; border: 1px solid rgba(45,212,168,.4); background: var(--accent-dim); cursor: pointer; }
.rm-hint .auto { color: var(--accent); }

.rm-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(1.6rem, 3.4vw, 2.4rem); }
.rm-feat { padding: 1.15rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); }
.rm-feat h3 { font: 700 .98rem Sora, sans-serif; margin: .55rem 0 .35rem; letter-spacing: -.01em; }
.rm-feat p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.rm-feat .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-dim); border: 1px solid rgba(45,212,168,.3); color: var(--accent); font-size: 1rem; }

@media (max-width: 1000px) {
  .rm-demo { grid-template-columns: 1fr; }
  .rm-stagebox { min-height: 0; }
  .rm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .rm-main { grid-template-columns: 1fr; }
  .rm-keys { grid-template-columns: repeat(4, 1fr); }
  .rm-feats { grid-template-columns: 1fr; }
  .rm-conn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-tick span, .rp-play::after, .rp-browser img, .rm-conn::before, .pwa-pair .qr::after { animation: none; }
}
