
#lxEcStage { width: 100%; max-width: 680px; pointer-events: none; user-select: none; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.lxec-scaler { transform-origin: top left; width: 680px; }

.lxec-unit { position: relative; width: 680px; padding-bottom: 58px; }
.lxec-device { position: relative; z-index: 1; width: 680px; padding: 9px; background: #e3e5e9; border-radius: 24px; box-shadow: 0 26px 60px -26px rgba(20, 20, 30, .5), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 1px rgba(0, 0, 0, .12); }
.lxec-panel { position: relative; padding: 14px 11px 11px; background: #0d0e11; border-radius: 16px; }
.lxec-cam { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2px; border-radius: 50%; background: #262a33; box-shadow: inset 0 0 0 1px #050608, 0 0 0 1px #1a1d24; }
.lxec-screen { position: relative; width: 640px; height: 400px; border-radius: 7px; overflow: hidden; background: #8D75E6; color: #fff; }

.lxec-base { position: absolute; left: 50%; bottom: 0; width: 320px; height: 108px; transform: translateX(-50%); border-radius: 0 0 160px 160px / 0 0 108px 108px; background-color: #c9ccd1; background-image: radial-gradient(rgba(255, 255, 255, .55) 0.9px, transparent 1.2px), radial-gradient(rgba(70, 75, 85, .28) 0.9px, transparent 1.2px), linear-gradient(180deg, #d8dbdf, #b3b7bd); background-size: 5px 5px, 5px 5px, 100% 100%; background-position: 0 0, 2.5px 2.5px, 0 0; box-shadow: 0 18px 30px -18px rgba(20, 20, 30, .55), inset 0 -14px 24px -12px rgba(60, 64, 72, .45); }
[data-theme="dark"] .lxec-device { background: #30343c; box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 1px rgba(0, 0, 0, .5); }

.lxec-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.lxec-scene.is-on { opacity: 1; }
.lxec-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lxec-logo { width: 54px; height: 54px; object-fit: contain; display: block; }

.lxec-spec { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.lxec-spec span { width: 3px; border-radius: 2px; background: #fff; height: 30%; animation: lxec-bar 1.1s ease-in-out infinite alternate; }
.lxec-spec span:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.lxec-spec span:nth-child(3) { animation-duration: 1.3s; animation-delay: -.7s; }
.lxec-spec span:nth-child(4) { animation-duration: .9s; animation-delay: -.2s; }
.lxec-spec span:nth-child(5) { animation-duration: 1.2s; animation-delay: -.5s; }
@keyframes lxec-bar { from { height: 20%; } to { height: 100%; } }

.lxec-cap { position: absolute; left: 34px; right: 34px; top: 50%; transform: translateY(-58%); font-family: Georgia, 'Times New Roman', serif; font-size: 23px; line-height: 1.32; letter-spacing: -.005em; opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.lxec-scene.is-on .lxec-cap { opacity: 1; transform: translateY(-50%); }
.lxec-segs { position: absolute; left: 34px; right: 34px; bottom: 44px; display: flex; gap: 8px; }
.lxec-segs i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .32); overflow: hidden; }
.lxec-segs i b { display: block; height: 100%; width: 0; background: #fff; border-radius: 2px; transition: width linear; }
.lxec-segs i.is-done b { width: 100%; }
.lxec-foot { position: absolute; left: 34px; right: 34px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; opacity: .9; }

.lxec-badge { position: absolute; top: 16px; left: 18px; font-size: 10px; padding: 4px 9px; border-radius: 10px; background: rgba(255, 255, 255, .2); }
.lxec-quiz { position: absolute; left: 44px; right: 44px; top: 48px; bottom: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lxec-chip { font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.lxec-q { font-size: 19.5px; font-weight: 700; line-height: 1.25; text-align: center; letter-spacing: -.01em; margin: 0 0 16px; max-width: 520px; }
.lxec-rows { width: 100%; display: grid; gap: 9px; }
.lxec-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: rgba(255, 255, 255, .17); font-size: 12.5px; transition: background .35s ease, opacity .35s ease; }
.lxec-row i { width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 9.5px; font-weight: 700; flex-shrink: 0; }
.lxec-row.is-right { background: #2f9d86; }
.lxec-row.is-wrong { background: #d4534f; }
.lxec-row.is-dim { opacity: .55; }
.lxec-hint { font-size: 9.5px; opacity: .8; margin-top: 12px; height: 12px; }
.lxec-verdict { font-size: 10.5px; font-weight: 600; padding: 4px 11px; border-radius: 10px; background: rgba(255, 255, 255, .22); margin-top: 10px; opacity: 0; transition: opacity .3s ease; }
.lxec-verdict.is-on { opacity: 1; }
.lxec-score { position: absolute; left: 34px; right: 34px; bottom: 18px; display: flex; justify-content: space-between; font-size: 9.5px; opacity: .9; }
.lxec-score b { font-weight: 700; }

.lxec-end h3 { font-size: 21px; font-weight: 700; margin: 18px 0 2px; letter-spacing: -.01em; }
.lxec-end p { margin: 0; font-size: 11px; opacity: .85; }
.lxec-pct { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 14px 0 4px; }
.lxec-end small { display: block; font-size: 9.5px; opacity: .75; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
    .lxec-scene, .lxec-cap, .lxec-row, .lxec-verdict { transition: none !important; }
    .lxec-spec span { animation: none; height: 60%; }
}
