/* Feature cards drawn like the IcePad phone (cards.js). Sizes are in phone
   points; cards.js scales the whole component to fit the card. */
.pc-card { position: absolute; inset: 0; }
.pc-fit { position: absolute; left: 50%; top: 50%; transform-origin: center; --sys: Manrope, system-ui, sans-serif; font-family: var(--sys); }
.lp-inner { display: grid; place-items: center; }
.lp-inner.app, .lp-inner.macro, .lp-inner.sound { background: transparent; } /* appIconContent */
.lp-inner.action { background: #243b64; box-shadow: 0 1.6cqw 4cqw rgba(0, 0, 0, .35); } /* innerAppSquircle */
.app-ic { width: 76%; height: 76%; object-fit: contain; }             /* AppIcon at 76% */
/* Media key: one Ionicons outline icon at size * 0.46, or the play/pause
   pair at size * 0.34 each (App.js). */
.md { display: flex; align-items: center; justify-content: center; color: #eaf2ff; font-family: IcePadIonicons; font-size: 46cqw; line-height: 1; }
.md.pair { font-size: 34cqw; }
.md.pair span { margin: 0 -2cqw; }

/* ---- Mixer: VerticalSliderItem ---- */
.mx-row { display: flex; justify-content: space-around; align-items: center; width: 100%; height: 100%; padding: 0 8px; box-sizing: border-box; }
.mx-col { display: flex; flex-direction: column; align-items: center; min-width: 68px; }
.mx-ring { position: relative; box-sizing: border-box; border-radius: 24px; padding: 7px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 4px 8px rgba(0, 0, 0, .25); transition: opacity .12s ease; }
.mx-ring.pressed { opacity: .7; } /* TouchableOpacity activeOpacity 0.7 */
.mx-ring.master { border-color: rgba(134, 217, 241, .6); }
.mx-col.muted .mx-ring { border-color: rgba(255, 69, 58, .85); }
.mx-inner { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; }
.mx-ring.master .mx-inner { background: #007aff; box-shadow: 0 2px 5px rgba(0, 0, 0, .35); }
.mx-col.muted .mx-inner { background: #451416; box-shadow: 0 2px 5px rgba(0, 0, 0, .35); }
.mx-master { font-family: IcePadIonicons; font-size: 31px; line-height: 1; color: #fff; }
.mx-letter { font-size: 25px; font-weight: 700; line-height: 1; color: #fff; }
.mx-badge { display: none; position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; box-sizing: border-box; border-radius: 10px; background: #ff453a; border: 2px solid #061833; place-items: center; box-shadow: 0 2px 3px rgba(0, 0, 0, .4); }
.mx-col.muted .mx-badge { display: grid; }
.mx-badge .ion { font-family: IcePadIonicons; font-size: 12px; line-height: 1; color: #fff; }
.mx-label { margin: 4px 0 2px; max-width: 80px; font-size: 11px; font-weight: 700; letter-spacing: .2px; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-pill { margin-bottom: 6px; padding: 1.5px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.mx-pill span { font-size: 10px; font-weight: 800; letter-spacing: .2px; color: #86d9f1; font-variant-numeric: tabular-nums; }
.mx-col.muted .mx-pill { background: rgba(255, 59, 48, .18); border-color: rgba(255, 59, 48, .4); }
.mx-col.muted .mx-pill span { color: #ff453a; }
.mx-track { position: relative; width: 48px; display: flex; justify-content: center; }
.mx-back { position: relative; width: 14px; height: 100%; border-radius: 7px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.mx-back i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 7px; background: rgba(255, 255, 255, .9); }
.mx-col[data-id="master"] .mx-back i { background: #86d9f1; }
.mx-col.muted .mx-back i { background: rgba(255, 69, 58, .75); }
.mx-thumb { position: absolute; left: 50%; margin-left: -14px; width: 28px; height: 28px; box-sizing: border-box; border-radius: 14px; background: #fff; border: 1.5px solid rgba(255, 255, 255, .4); box-shadow: 0 3px 5px rgba(0, 0, 0, .5); display: grid; place-items: center; }
.mx-thumb i { width: 8px; height: 8px; border-radius: 4px; background: #010814; }
.mx-col.muted .mx-thumb { background: #ff453a; }
.mx-col.muted .mx-thumb i { background: #fff; }

/* ---- QR pairing: ScanScreen in landscape ---- */
.qs { position: relative; width: 844px; height: 390px; box-sizing: border-box; padding: 24px; display: flex; align-items: center; justify-content: center; gap: 24px; background: linear-gradient(135deg, #01060f, #031020, #061833); overflow: hidden; }
.qs-copy { flex: 1; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.qs-header { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qs-title { color: #edf3fc; font-size: 25px; font-weight: 600; text-align: center; }
.qs-hint { color: #bdcbe0; font-size: 14px; line-height: 21px; text-align: center; }
.qs-controls { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.qs-secondary { min-height: 48px; box-sizing: border-box; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #edf3fc; font-size: 14px; font-weight: 600; }
.qs-secondary .ion { font-family: IcePadIonicons; font-size: 18px; line-height: 1; color: #bdcbe0; }
.qs-foot { color: #9eafc6; font-size: 12px; line-height: 18px; text-align: center; }
.qs-legal { display: flex; justify-content: center; gap: 8px; padding: 6px 0; color: #9eafc6; font-size: 12px; }
.qs-legal span { color: rgba(255, 255, 255, .24); }
.qs-preview { position: relative; flex-shrink: 0; width: 280px; height: 280px; box-sizing: border-box; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; background: rgba(255, 255, 255, .04); }
.qs-camera { /* what the camera sees: the PC screen with its QR code */
  position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #1d2c3f, #0b1220 60%, #070b13);
}
.qs-screen {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; padding: 8px; box-sizing: border-box;
  border-radius: 10px; background: #fff; box-shadow: 0 0 40px rgba(160, 200, 255, .25);
  transform: translate(58px, 64px) rotate(-11deg) scale(.72); filter: blur(2.5px); opacity: .75;
  transition: transform 1.3s cubic-bezier(.25, .8, .25, 1), filter 1.1s ease, opacity 1.1s ease;
}
.qs-screen svg { display: block; width: 100%; height: 100%; }
.qs.aimed .qs-screen, .qs.paired .qs-screen { transform: translate(0, 0) rotate(-2deg) scale(1); filter: none; opacity: 1; }
.qs-c { position: absolute; width: 28px; height: 28px; box-sizing: border-box; border: 0 solid #86d9f1; }
.qs-c.tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.qs-c.tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.qs-c.bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.qs-c.br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }
.qs-pad { position: absolute; inset: 0; container-type: inline-size; --sys: Manrope, system-ui, sans-serif; opacity: 0; transform: scale(1.03); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.qs-pad .lp-screen { border-radius: 0; }
.qs.paired .qs-pad { opacity: 1; transform: none; }

/* ---- Macros: the macro's pad button and its steps ---- */

/* ---- Discord soundboard: sound buttons ---- */

/* ---- Apps: app and media-key buttons ---- */
.ap { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; }
.ap .lp-slot { width: 74px; height: 74px; }

/* ---- Multiple pages: the phone's vertical pager ---- */
.lp.pp { max-width: none; animation: none; }
.pp-pages { position: absolute; inset: 0; perspective: 142cqw; }
.pp-page { position: absolute; inset: 0; }
.pp-dots b { position: absolute; left: 0; top: 0; width: .77cqw; height: .77cqw; border-radius: 50%; background: #fff; box-shadow: 0 0 .6cqw rgba(134, 217, 241, .95); transition: transform .5s cubic-bezier(.2, 1.25, .4, 1); }
