/* Mobile App Development: a 3D carousel of premium app screens, built in HTML and CSS (assets/js/app-carousel.js). */
.ac-sec { position: relative; overflow: hidden; background: radial-gradient(80% 60% at 50% 55%, #10284d 0%, #071225 55%, #040a15 100%); color: #e8f1fb; }
.ac-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 30% at 50% 62%, rgba(0, 194, 255, 0.18), transparent 70%), radial-gradient(30% 25% at 20% 70%, rgba(125, 92, 255, 0.14), transparent 70%), radial-gradient(30% 25% at 80% 70%, rgba(0, 224, 164, 0.1), transparent 70%); pointer-events: none; }
.ac-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ac-headline { max-width: 760px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.canvas .ac-sec .kick { color: #5ac8ff; }
.canvas .ac-sec .h2 { color: #fff; }
.canvas .ac-sec .lead { color: #a9bbd0; }

/* Stage */
.ac { --pw: 290px; --ph: 600px; --k: 1; position: relative; width: 100%; height: calc(var(--ph) * var(--k) + 40px); perspective: 1800px; }
.ac-track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }
.canvas .ac-track { display: block; }
.canvas .ac-item { position: absolute; left: 50%; top: calc(20px - var(--ph) * (1 - var(--k)) / 2); width: var(--pw); height: var(--ph); margin-left: calc(var(--pw) / -2); padding: 0; transform-origin: 50% 50%; transform: translateX(calc(var(--o, 0) * var(--pw) * 0.86 * var(--k))) translateZ(calc(var(--ao, 0) * -160px)) rotateY(calc(clamp(-1, var(--o, 0), 1) * -24deg)) scale(calc(var(--k) * (1 - var(--ao, 0) * 0.08))); opacity: var(--op, 1); z-index: calc(10 - var(--ao, 0)); transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1), opacity 600ms ease, filter 600ms ease; filter: brightness(calc(1 - var(--ao, 0) * 0.22)) saturate(calc(1 - var(--ao, 0) * 0.15)); cursor: pointer; }
.canvas .ac-item::before { content: none; }
.ac-item.is-on { cursor: default; }
.ac-item[aria-hidden="true"] .ac-phone { pointer-events: none; } /* side phones stay clickable (the item), their contents do not */

/* Phone */
.ac-phone { position: relative; width: 100%; height: 100%; padding: 11px; border-radius: 50px; background: linear-gradient(145deg, #8e98a6, #3a4350 18%, #1b2029 50%, #444d5a 82%, #9aa4b1); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 50px 80px -30px rgba(0, 0, 0, 0.85), 0 30px 60px -40px rgba(0, 150, 255, 0.5); }
.ac-phone::after { content: ""; position: absolute; inset: 4px; border-radius: 46px; box-shadow: inset 0 0 0 2px #05070b; pointer-events: none; }
.ac-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #6d7684, #2a313b); }
.ac-btn.b1 { left: -2px; top: 120px; height: 28px; } .ac-btn.b2 { left: -2px; top: 166px; height: 52px; } .ac-btn.b3 { right: -2px; top: 180px; height: 80px; }
.ac-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 40px; background: #070d18; color: #eef4fb; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif; font-size: 12px; line-height: 1.3; -webkit-font-smoothing: antialiased; }
.ac-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0%, var(--tint, rgba(10, 132, 255, 0.28)), transparent 60%); pointer-events: none; }
.ac-screen::after { content: ""; position: absolute; inset: 0; border-radius: 40px; background: linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%); pointer-events: none; }
.as-status { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 24px 0 30px; font-size: 13px; font-weight: 600; }
.as-isl { position: absolute; left: 50%; top: 11px; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #000; }
.as-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.as-sig b { width: 3px; border-radius: 1px; background: #fff; }
.as-sig b:nth-child(1) { height: 4px; } .as-sig b:nth-child(2) { height: 6px; } .as-sig b:nth-child(3) { height: 8px; } .as-sig b:nth-child(4) { height: 10px; }
.as-sig em { width: 22px; height: 11px; margin-left: 5px; border-radius: 3px; box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, 0.6); background: linear-gradient(90deg, #fff 70%, transparent 70%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.as-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; height: calc(100% - 46px); padding: 6px 16px 78px; }
.as-hbar { position: absolute; z-index: 3; left: 50%; bottom: 8px; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: rgba(255, 255, 255, 0.85); }
.ai { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.as-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.as-head small { color: #8ea3bb; font-size: 11px; font-weight: 500; }
.as-head h4 { margin: 2px 0 0; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.as-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--a1, #0a84ff), var(--a2, #00c2ff)); color: #fff; font-weight: 700; font-size: 14px; }
.as-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 11px; font-weight: 600; }
.as-pill .ai { width: 13px; height: 13px; }
.as-pill.ok { color: #6ff0c0; } .as-pill.warn { color: #ffc46b; }
.as-dev { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font-weight: 600; }
.as-dev .ai { color: var(--a2, #5ac8ff); }
.as-dev em { margin-left: auto; color: #7fe3b5; font-style: normal; font-size: 11px; font-weight: 500; }
.as-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.as-tiles > div { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.as-tiles .ai { color: var(--a2, #5ac8ff); width: 14px; height: 14px; }
.as-tiles small { color: #8ea3bb; font-size: 10.5px; }
.as-tiles b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.as-tiles em, .as-screen em { font-style: normal; }
.as-tiles b em { margin-left: 1px; color: #8ea3bb; font-size: 10px; font-weight: 600; }
.as-tab { position: absolute; left: 12px; right: 12px; bottom: 20px; display: flex; justify-content: space-around; padding: 10px 6px; border-radius: 22px; background: rgba(20, 30, 48, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.as-tab span { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 12px; color: #6f839b; }
.as-tab span.on { color: #fff; background: linear-gradient(135deg, var(--a1, #0a84ff), var(--a2, #00c2ff)); box-shadow: 0 6px 16px -6px var(--a1, #0a84ff); }
.as-tab .ai { width: 18px; height: 18px; }

/* Pulse */
.as-pulse { --a1: #ff3b6b; --a2: #ff8a5c; --tint: rgba(255, 59, 107, 0.28); }
.p-ring { position: relative; width: 168px; height: 168px; margin: 2px auto 0; }
.p-ring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.p-trk { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 10; }
.p-val { fill: none; stroke: #ff4f72; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 92; filter: drop-shadow(0 0 8px rgba(255, 79, 114, 0.7)); }
.p-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.p-mid b { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.p-mid small { color: #8ea3bb; font-size: 11px; margin-top: 4px; }
.p-h { width: 20px; height: 20px; color: #ff4f72; fill: #ff4f72; margin-bottom: 4px; animation: as-beat 1s ease-in-out infinite; }
@keyframes as-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.p-ecg { width: 100%; height: 34px; }
.p-ecg path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.p-ecg .bg { stroke: rgba(255, 111, 138, 0.3); }
.p-ecg .fg { stroke: #ff6f8a; stroke-dasharray: 22 78; filter: drop-shadow(0 0 5px rgba(255, 79, 114, 0.9)); animation: as-ecg 2.2s linear infinite; }
@keyframes as-ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* Aura */
.as-aura { --a1: #7d5cff; --a2: #b48cff; --tint: rgba(125, 92, 255, 0.32); }
.a-hero { position: relative; height: 140px; display: grid; place-items: center; }
.a-hero img { position: relative; width: 170px; height: auto; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.6)); }
.a-glow { position: absolute; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(125, 92, 255, 0.45), transparent 65%); }
.a-bat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-bat > div { padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.a-bat small { display: block; color: #8ea3bb; font-size: 10.5px; }
.a-bat b { display: block; margin: 2px 0 6px; font-size: 15px; }
.a-bat i { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #7d5cff, #b48cff) 0 0 / var(--v) 100% no-repeat, rgba(255, 255, 255, 0.1); }
.a-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 11px; font-weight: 600; text-align: center; color: #8ea3bb; }
.a-seg span { padding: 7px 4px; border-radius: 9px; }
.a-seg span.on { color: #fff; background: linear-gradient(135deg, #7d5cff, #a27bff); box-shadow: 0 6px 14px -6px #7d5cff; }
.a-eq small { display: block; margin-bottom: 6px; color: #8ea3bb; font-size: 10.5px; }
.a-eqb { display: flex; align-items: flex-end; justify-content: space-between; height: 54px; }
.a-eqb i { width: 14px; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, #b48cff, #5b3bd6); animation: as-eq 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.17s); transform-origin: bottom; }
@keyframes as-eq { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }

/* Nearby */
.as-scan { --a1: #0a84ff; --a2: #00c2ff; }
.as-av.s { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.s-radar { position: relative; width: 190px; height: 190px; margin: 0 auto; }
.s-radar > i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(90, 200, 255, 0.22); }
.s-radar > i:nth-child(2) { inset: 30px; } .s-radar > i:nth-child(3) { inset: 60px; }
.s-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(0, 194, 255, 0.45), transparent 70deg); animation: as-spin 3.2s linear infinite; }
@keyframes as-spin { to { transform: rotate(360deg); } }
.s-me { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: linear-gradient(135deg, #0a84ff, #00c2ff); box-shadow: 0 0 24px rgba(0, 194, 255, 0.7); }
.s-me .ai { width: 20px; height: 20px; color: #fff; }
.s-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #7dffcf; box-shadow: 0 0 0 4px rgba(125, 255, 207, 0.2), 0 0 12px #7dffcf; animation: as-blip 3.2s ease-out infinite; }
.s-dot.d1 { left: 62%; top: 30%; } .s-dot.d2 { left: 22%; top: 58%; animation-delay: 1.1s; } .s-dot.d3 { left: 70%; top: 76%; animation-delay: 2s; }
@keyframes as-blip { 0%, 100% { opacity: 0.35; } 10% { opacity: 1; } }
.s-cap { margin: 0; text-align: center; color: #8ea3bb; font-size: 11px; }
.s-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.canvas .s-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: inherit; line-height: 1.3; }
.canvas .s-list li::before { content: none; }
.s-list li.on { background: rgba(10, 132, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(90, 200, 255, 0.35); }
.s-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #9fdcff; }
.s-list div { flex: 1; min-width: 0; }
.s-list b { display: block; font-size: 12.5px; }
.s-list small { color: #8ea3bb; font-size: 10.5px; }
.s-rs { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.s-rs i { width: 3px; border-radius: 1px; background: rgba(255, 255, 255, 0.2); }
.s-rs i:nth-child(1) { height: 4px; } .s-rs i:nth-child(2) { height: 6px; } .s-rs i:nth-child(3) { height: 9px; } .s-rs i:nth-child(4) { height: 12px; }
.s-rs.r4 i, .s-rs.r3 i:nth-child(-n+3), .s-rs.r2 i:nth-child(-n+2) { background: #5ac8ff; }
.s-list button { padding: 6px 12px; border: 0; border-radius: 999px; background: #fff; color: #06101f; font: 700 11px/1 inherit; }

/* Update */
.as-ota { --a1: #5ac8ff; --a2: #7d5cff; --tint: rgba(90, 160, 255, 0.28); }
.o-ring { position: relative; width: 176px; height: 176px; margin: 4px auto 0; }
.o-ring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.o-trk { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.o-val { fill: none; stroke: url(#og); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(90, 160, 255, 0.7)); animation: as-ota 6s ease-in-out infinite; }
@keyframes as-ota { 0% { stroke-dashoffset: 180; } 70%, 100% { stroke-dashoffset: 100; } }
.o-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.o-mid b { font-size: 42px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.o-mid b em { font-size: 18px; color: #8ea3bb; }
.o-mid small { margin-top: 6px; color: #8ea3bb; font-size: 11px; }
.o-steps { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 4px 0 0; list-style: none; }
.canvas .o-steps li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; padding: 6px 2px; color: #8ea3bb; line-height: 1.3; }
.canvas .o-steps li::before { content: none; }
.o-steps li span { color: #c9d6e4; font-weight: 600; }
.o-steps li small { font-size: 10.5px; }
.o-steps .ai { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #20c997; color: #04140d; stroke-width: 3; }
.o-steps li > i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.o-steps li.now > i { box-shadow: inset 0 0 0 2px #5ac8ff; border-top: 2px solid transparent; animation: as-spin 1s linear infinite; background: conic-gradient(#5ac8ff 0 25%, transparent 25%); -webkit-mask: radial-gradient(circle, transparent 5px, #000 5.5px); mask: radial-gradient(circle, transparent 5px, #000 5.5px); }
.o-steps li.now span { color: #fff; }
.o-note { display: flex; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: #a9bbd0; font-size: 11px; }
.o-note .ai { color: #ffd166; width: 15px; height: 15px; }

/* Home */
.ac-screen.as-home { --a1: #ff8a43; --a2: #ff5e62; --tint: rgba(255, 120, 70, 0.26); }
.h-dial { position: relative; width: 200px; height: 200px; margin: 4px auto 0; }
.h-dial > svg { width: 100%; height: 100%; transform: rotate(135deg); }
.h-trk { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 292 390; }
.h-val { fill: none; stroke: url(#hg); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 205 390; filter: drop-shadow(0 0 10px rgba(255, 110, 80, 0.6)); }
.h-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.h-mid b { font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.h-mid b em { font-size: 24px; vertical-align: top; }
.h-mid small { color: #8ea3bb; font-size: 11px; }
.h-btn { position: absolute; bottom: 4px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.h-btn.m { left: 14px; } .h-btn.p { right: 14px; }
.h-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-grid > div { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.h-grid > div.on { background: linear-gradient(145deg, rgba(255, 138, 67, 0.22), rgba(255, 94, 98, 0.1)); box-shadow: inset 0 0 0 1px rgba(255, 138, 67, 0.35); }
.h-grid .ai { color: #ffb37a; margin-bottom: 4px; }
.h-grid b { font-size: 12.5px; } .h-grid small { color: #8ea3bb; font-size: 10.5px; }
.tg { position: absolute; top: 11px; right: 11px; width: 28px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.15); }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 200ms; }
.tg.on { background: linear-gradient(90deg, #ff8a43, #ff5e62); } .tg.on::after { transform: translateX(12px); }

/* Track */
.as-track { --a1: #00c2a8; --a2: #5ae0c8; --tint: rgba(0, 194, 168, 0.24); }
.t-map { position: relative; height: 200px; border-radius: 18px; overflow: hidden; background: #0b1626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.t-map svg { width: 100%; height: 100%; }
.t-walls rect, .t-walls path { fill: none; stroke: rgba(150, 190, 230, 0.35); stroke-width: 1.5; }
.t-racks rect { fill: rgba(150, 190, 230, 0.14); }
.t-path { fill: none; stroke: #5ae0c8; stroke-width: 2; stroke-dasharray: 3 5; animation: as-dash 1.4s linear infinite; }
@keyframes as-dash { to { stroke-dashoffset: -16; } }
.t-anchor { fill: #ffd166; filter: drop-shadow(0 0 4px #ffd166); }
.t-pin { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #5ae0c8; box-shadow: 0 0 0 3px rgba(90, 224, 200, 0.25); }
.t-pin i { position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid #5ae0c8; animation: as-ping 2s ease-out infinite; }
.t-pin.warn { background: #ffc46b; box-shadow: 0 0 0 3px rgba(255, 196, 107, 0.25); } .t-pin.warn i { border-color: #ffc46b; }
.t-pin.p1 { left: 50%; top: 50%; animation: as-move 6s ease-in-out infinite alternate; } .t-pin.p2 { left: 80%; top: 72%; } .t-pin.p3 { left: 26%; top: 24%; }
@keyframes as-ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes as-move { from { left: 34%; top: 66%; } to { left: 66%; top: 52%; } }
.t-tip { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: rgba(6, 14, 26, 0.85); box-shadow: inset 0 0 0 1px rgba(90, 224, 200, 0.4); color: #bff5ea; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.t-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.canvas .t-list li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: inherit; line-height: 1.3; }
.canvas .t-list li::before { content: none; }
.t-list li > i { width: 8px; height: 8px; border-radius: 50%; background: #5ae0c8; box-shadow: 0 0 8px #5ae0c8; } .t-list li > i.warn { background: #ffc46b; box-shadow: 0 0 8px #ffc46b; }
.t-list div { flex: 1; } .t-list b { display: block; font-size: 12.5px; } .t-list small { color: #8ea3bb; font-size: 10.5px; }
.t-list em { color: #8ea3bb; font-size: 10.5px; font-style: normal; font-weight: 600; }

/* Vibe */
.as-vibe { --a1: #ffb020; --a2: #ff7a3d; --tint: rgba(255, 176, 32, 0.22); }
.v-score { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.v-score small { display: block; color: #8ea3bb; font-size: 10.5px; }
.v-score b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; } .v-score b em { font-size: 13px; color: #8ea3bb; }
.v-score svg { flex: 1; height: 40px; }
.v-trend { fill: none; stroke: #ffb020; stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 176, 32, 0.6)); }
.v-spec { position: relative; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.v-spec small { display: block; margin-bottom: 8px; color: #8ea3bb; font-size: 10.5px; }
.v-bars { display: flex; align-items: flex-end; gap: 3px; height: 92px; }
.v-bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #5ac8ff, rgba(10, 132, 255, 0.4)); animation: as-eq 1.3s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.09s); transform-origin: bottom; }
.v-bars i:nth-child(9), .v-bars i:nth-child(10) { --h: 96% !important; background: linear-gradient(180deg, #ffb020, rgba(255, 122, 61, 0.5)); }
.v-peak { position: absolute; left: 30%; top: 30px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 176, 32, 0.18); color: #ffd28a; font-size: 10px; font-weight: 700; }
.v-alert { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 16px; background: linear-gradient(145deg, rgba(255, 176, 32, 0.2), rgba(255, 122, 61, 0.08)); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, 0.4); }
.v-alert > .ai { color: #ffc46b; width: 20px; height: 20px; }
.v-alert div { flex: 1; } .v-alert b { display: block; font-size: 12.5px; } .v-alert small { color: #d9c3a0; font-size: 10.5px; }
.v-ch { color: #ffc46b; }

/* Arrows, caption, dots */
.ac-arrow { position: absolute; z-index: 20; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: background-color 200ms ease, transform 200ms ease; }
.ac-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ac-arrow.prev { left: max(0px, calc(50% - var(--pw) * 1.9 * var(--k))); } .ac-arrow.next { right: max(0px, calc(50% - var(--pw) * 1.9 * var(--k))); }
@media (hover: hover) and (pointer: fine) { .ac-arrow:hover { background: rgba(10, 132, 255, 0.5); } }
.ac-arrow:active { transform: scale(0.95); }
.ac-cap { min-height: 96px; text-align: center; max-width: 520px; }
.ac-cap .ac-kind { margin: 0; color: #5ac8ff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.canvas .ac-cap .ac-name { margin: 6px 0 4px; color: #fff; font-size: 1.75rem; letter-spacing: -0.02em; }
.canvas .ac-cap .ac-desc { margin: 0; color: #a9bbd0; }
.ac-cap.swap > * { animation: ac-in 500ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes ac-in { from { opacity: 0; transform: translateY(8px); } }
.ac-dots { display: flex; gap: 8px; }
.ac-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: width 300ms cubic-bezier(0.23, 1, 0.32, 1), background-color 300ms; }
.ac-dots button[aria-current="true"] { width: 28px; background: linear-gradient(90deg, #0a84ff, #00c2ff); }

@media (max-width: 900px) { .ac { --k: 0.82; } }
@media (max-width: 600px) { .ac { --k: 0.68; } .ac-arrow { width: 42px; height: 42px; margin-top: -21px; } }
@media (prefers-reduced-motion: reduce) {
	.canvas .ac-item { transition: none; }
	.ac-screen *, .ac-cap.swap > * { animation: none !important; }
}

/* Light apps: white UI, soft shadows, one strong accent each. */
.ac-screen.light { background: #f4f6fa; color: #0b1f36; }
.ac-screen.light::before { background: radial-gradient(120% 55% at 50% 0%, var(--tint, rgba(10, 132, 255, 0.14)), transparent 60%); }
.ac-screen.light::after { background: linear-gradient(115deg, rgba(255, 255, 255, 0.5) 0%, transparent 30%); }
.light .as-sig b { background: #0b1f36; }
.light .as-sig em { box-shadow: inset 0 0 0 1.2px rgba(11, 31, 54, 0.5); background: linear-gradient(90deg, #0b1f36 70%, transparent 70%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.light .as-head h4 { color: #0b1f36; }
.light .as-head small, .light .as-tiles small { color: #6b7a8c; }
.light .as-tiles > div, .light .as-dev { background: #fff; box-shadow: 0 1px 2px rgba(11, 31, 54, 0.06), 0 8px 20px -12px rgba(11, 31, 54, 0.18); }
.light .as-tiles b em { color: #6b7a8c; }
.light .as-pill { background: #fff; color: #0b1f36; box-shadow: 0 1px 2px rgba(11, 31, 54, 0.08), inset 0 0 0 1px rgba(11, 31, 54, 0.06); }
.light .as-pill.ok { color: #0f9d6b; }
.light .as-tab { background: rgba(255, 255, 255, 0.86); box-shadow: 0 10px 30px -12px rgba(11, 31, 54, 0.25), inset 0 0 0 1px rgba(11, 31, 54, 0.06); }
.light .as-tab span { color: #9aa7b6; }
.light .as-hbar { background: #0b1f36; }
.light .tg { background: #dde3ea; }

/* Glucose */
.as-gluco { --a1: #0fa37f; --a2: #3ccf9f; --tint: rgba(15, 163, 127, 0.16); }
.g-now { display: flex; align-items: flex-end; justify-content: space-between; padding: 16px; border-radius: 20px; background: linear-gradient(145deg, #0fa37f, #23c49a); color: #fff; box-shadow: 0 16px 30px -16px rgba(15, 163, 127, 0.8); }
.g-now b { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.g-now small { display: block; margin-top: 2px; opacity: 0.85; font-size: 11px; }
.g-trend { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 11px; font-weight: 600; }
.g-trend .ai { width: 14px; height: 14px; }
.g-trend em { font-style: normal; }
.g-chart { padding: 12px 12px 8px; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px -12px rgba(11, 31, 54, 0.18); }
.g-chart svg { display: block; width: 100%; height: 110px; overflow: visible; }
.g-band { fill: rgba(15, 163, 127, 0.1); }
.g-line { fill: none; stroke: #0fa37f; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.g-dot { fill: #fff; stroke: #0fa37f; stroke-width: 3; animation: as-blip 2s ease-in-out infinite; }
.g-ax { display: flex; justify-content: space-between; margin-top: 6px; color: #8a97a8; font-size: 10px; }

/* Lock */
.as-lock { --a1: #0b1f36; --a2: #34507a; --tint: rgba(10, 132, 255, 0.1); }
.l-btn { position: relative; display: grid; place-items: center; width: 176px; height: 176px; margin: 10px auto 0; }
.l-btn b { position: relative; z-index: 2; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(145deg, #1fbf75, #12a35f); color: #fff; box-shadow: 0 20px 40px -14px rgba(18, 163, 95, 0.75), inset 0 2px 0 rgba(255, 255, 255, 0.3); }
.l-btn b .ai { width: 40px; height: 40px; stroke-width: 1.8; }
.l-r1, .l-r2 { position: absolute; inset: 0; border-radius: 50%; background: rgba(31, 191, 117, 0.12); animation: l-pulse 2.4s ease-out infinite; }
.l-r2 { animation-delay: 1.2s; }
@keyframes l-pulse { from { transform: scale(0.65); opacity: 1; } to { transform: scale(1.05); opacity: 0; } }
.l-cap { margin: 0; text-align: center; }
.l-cap b { display: block; font-size: 18px; letter-spacing: -0.01em; } .l-cap small { color: #6b7a8c; font-size: 11px; }
.l-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.l-row > div { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px -12px rgba(11, 31, 54, 0.18); }
.l-row .ai { color: #12a35f; margin-bottom: 4px; } .l-row b { font-size: 12.5px; } .l-row small { color: #6b7a8c; font-size: 10.5px; }
.l-row .tg.on { background: linear-gradient(90deg, #1fbf75, #12a35f); }
.l-ch { position: absolute; top: 11px; right: 10px; color: #9aa7b6 !important; }
.l-log { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.canvas .l-log li { display: grid; grid-template-columns: 8px auto 1fr auto; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 14px; background: #fff; color: #0b1f36; line-height: 1.3; box-shadow: 0 1px 2px rgba(11, 31, 54, 0.05); }
.canvas .l-log li::before { content: none; }
.l-log li > i { width: 8px; height: 8px; border-radius: 50%; background: #1fbf75; }
.l-log b { font-size: 12px; } .l-log small { color: #6b7a8c; font-size: 10.5px; } .l-log em { color: #8a97a8; font-size: 10.5px; font-style: normal; }

/* Ride */
.as-ride { --a1: #ff6a00; --a2: #ffa142; --tint: rgba(255, 120, 30, 0.14); }
.r-gauge { position: relative; width: 230px; height: 140px; margin: 6px auto 0; }
.r-gauge svg { width: 100%; height: 100%; overflow: visible; }
.r-trk { fill: none; stroke: #e3e8ef; stroke-width: 14; stroke-linecap: round; }
.r-val { fill: none; stroke: #ff7a1a; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 252; stroke-dashoffset: 120; filter: drop-shadow(0 6px 10px rgba(255, 122, 26, 0.45)); animation: r-ride 5s ease-in-out infinite alternate; }
@keyframes r-ride { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 100; } }
.r-mid { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.r-mid b { display: block; font-size: 52px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; } .r-mid small { color: #6b7a8c; font-size: 11px; }
.r-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -12px rgba(11, 31, 54, 0.18); text-align: center; font-size: 11px; font-weight: 600; color: #6b7a8c; }
.r-modes span { padding: 8px 2px; border-radius: 10px; }
.r-modes span.on { background: linear-gradient(135deg, #ff7a1a, #ffa142); color: #fff; box-shadow: 0 8px 16px -8px rgba(255, 122, 26, 0.8); }
.as-ride .as-tiles .ai { color: #ff7a1a; }

/* Fleet */
.as-fleet { --a1: #0a84ff; --a2: #4aa8ff; --tint: rgba(10, 132, 255, 0.14); }
.as-fleet .as-av .ai { width: 16px; height: 16px; color: #fff; }
.f-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-kpi > div { padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px -12px rgba(11, 31, 54, 0.18); }
.f-kpi > div:first-child { background: linear-gradient(145deg, #0a84ff, #3a9cff); color: #fff; box-shadow: 0 16px 30px -16px rgba(10, 132, 255, 0.8); }
.f-kpi b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; } .f-kpi b em { font-style: normal; font-size: 13px; }
.f-kpi small { font-size: 11px; opacity: 0.8; }
.f-roll { padding: 13px; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px -12px rgba(11, 31, 54, 0.18); }
.f-rh { display: flex; justify-content: space-between; align-items: baseline; } .f-rh b { font-size: 13px; } .f-rh em { color: #0a84ff; font-size: 11px; font-style: normal; font-weight: 600; }
.f-bar { height: 8px; margin: 10px 0 8px; border-radius: 4px; background: #e6ebf2; overflow: hidden; }
.f-bar i { display: block; width: var(--v); height: 100%; border-radius: 4px; background: linear-gradient(90deg, #0a84ff, #4ad0ff); animation: f-grow 3s ease-out infinite alternate; }
@keyframes f-grow { from { width: 52%; } to { width: var(--v); } }
.f-roll small { color: #6b7a8c; font-size: 10.5px; }
.f-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.canvas .f-list li { display: grid; grid-template-columns: 8px 1fr auto auto; align-items: center; gap: 8px; padding: 10px 11px; border-radius: 14px; background: #fff; color: #0b1f36; line-height: 1.3; box-shadow: 0 1px 2px rgba(11, 31, 54, 0.05); }
.canvas .f-list li::before { content: none; }
.f-list li > i { width: 8px; height: 8px; border-radius: 50%; background: #1fbf75; } .f-list li > i.warn { background: #ffb020; }
.f-list b { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; } .f-list small { color: #6b7a8c; font-size: 10.5px; } .f-list em { color: #8a97a8; font-size: 10.5px; font-style: normal; }
.ac-screen b, .ac-screen strong { color: inherit; }
.ac-screen.light { --text: #0b1f36; }
.ac-screen.light .l-btn b { color: #fff; }
/* Side phones sit behind the track in 3D, so the track must not catch their clicks (#2479). */
.canvas .ac-track { pointer-events: none; }
.canvas .ac-item { pointer-events: auto; }
