/* Телефон «Вольта»: 3D-корпус и пять живых экранов (HTML/CSS/SVG). Базовый размер 340×690, масштаб — переменная --ps. */
.phone-slot { position: relative; width: calc(340px * var(--ps, 1)); height: calc(690px * var(--ps, 1)); flex: none; }
.phone { --gx: 50%; --gy: 38%; position: absolute; left: 0; top: 0; width: 340px; height: 690px; transform: scale(var(--ps, 1)); transform-origin: 0 0; perspective: 1500px; perspective-origin: 50% 40%; }
.phone-body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(-12deg); will-change: transform; }
.phone-shadow { position: absolute; left: 8%; right: 8%; bottom: -34px; height: 56px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 77, 255, .65), transparent); filter: blur(14px); transform: translateZ(-80px); }
.phone-frame { position: absolute; inset: 0; border-radius: 54px; padding: 10px; background: linear-gradient(145deg, #3a2a7a, #0b0620 38%, #1c1148 70%, #3a2a7a); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .18), 0 50px 90px -20px rgba(0, 0, 0, .8), 0 0 80px -10px rgba(122, 77, 255, .55), 0 0 0 6px rgba(8, 3, 26, .6) inset; }
.phone-frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px #05010f, inset 0 0 18px rgba(182, 255, 59, .12); pointer-events: none; z-index: 5; }
.phone-island { position: absolute; z-index: 9; top: 18px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #03010a; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #14092f; color: var(--text); font: 600 12px/1.3 var(--f-body); }
.phone-home { position: absolute; z-index: 8; left: 50%; bottom: 7px; translate: -50% 0; width: 104px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.phone-glare { position: absolute; inset: 10px; border-radius: 44px; pointer-events: none; z-index: 10; background: radial-gradient(420px 320px at var(--gx) var(--gy), rgba(255, 255, 255, .16), transparent 60%); mix-blend-mode: screen; transform: translateZ(2px); }

/* экраны */
.ps { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility 0s .55s; overflow: hidden; background: #14092f; }
.ps.is-on { opacity: 1; visibility: visible; transition: opacity .55s var(--ease), visibility 0s; }
.ps small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.sbar { position: absolute; z-index: 6; top: 0; left: 0; right: 0; height: 46px; padding: 17px 26px 0 30px; display: flex; justify-content: space-between; align-items: flex-start; font: 800 12.5px var(--f-body); }
.sb-i { display: flex; gap: 5px; align-items: center; } .sb-i svg { height: 11px; width: auto; }

/* карта */
.cmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.st { stroke: #2e1c6c; stroke-width: 3; } .st-main { stroke: #4b2c9a; stroke-width: 6.5; }
.river { fill: none; stroke: #20186f; stroke-width: 34; stroke-linecap: round; } .river-glow { fill: none; stroke: #5a4bff; stroke-width: 46; opacity: .3; filter: blur(9px); stroke-linecap: round; }
.park { fill: rgba(182, 255, 59, .07); }
.zone-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.z-park-d { fill: rgba(182, 255, 59, .14); stroke: #b6ff3b; stroke-width: 2; stroke-dasharray: 6 6; animation: zdash 1.2s linear infinite; }
.z-nogo-d { fill: rgba(255, 61, 170, .26); stroke: #ff3daa; stroke-width: 2; }
@keyframes zdash { to { stroke-dashoffset: -12; } }
.pins { position: absolute; inset: 0; }
.pn { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(18, 10, 42, .92); box-shadow: 0 5px 14px -4px #000, 0 0 0 1px rgba(255, 255, 255, .12); transform: scale(0); opacity: 0; }
.pn svg { width: 100%; height: 100%; } .pn-t { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 3; } .pn-r { fill: none; stroke-width: 3; stroke-linecap: round; }
.ps.play .pn { animation: pop .55s var(--ease) forwards; }
.pn.d0 { animation-delay: .05s !important; } .pn.d1 { animation-delay: .12s !important; } .pn.d2 { animation-delay: .19s !important; } .pn.d3 { animation-delay: .26s !important; } .pn.d4 { animation-delay: .33s !important; } .pn.d5 { animation-delay: .40s !important; } .pn.d6 { animation-delay: .47s !important; } .pn.d7 { animation-delay: .54s !important; } .pn.d8 { animation-delay: .61s !important; } .pn.sel { animation-delay: .75s !important; }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.pn.sel { width: 44px; height: 44px; margin: -22px 0 0 -22px; box-shadow: 0 0 0 3px #b6ff3b, 0 0 26px 4px rgba(182, 255, 59, .6); }
.pn.sel::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #b6ff3b; animation: ping 1.8s ease-out infinite 1.2s; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.you { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #5ab0ff; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(90, 176, 255, .25); }
.top { position: absolute; z-index: 5; top: 46px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.pl { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 17px; background: rgba(20, 11, 48, .82); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); font: 700 13px var(--f-body); }
.pl svg { width: 15px; height: 15px; }
.card { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 20px; padding: 14px; border-radius: 24px; background: rgba(20, 11, 48, .94); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -14px 40px rgba(0, 0, 0, .5); transform: translateY(40px); opacity: 0; }
.ps.play .card { animation: rise .7s var(--ease) .3s forwards; }
@keyframes rise { to { transform: none; opacity: 1; } }
.c-top { display: flex; justify-content: space-between; align-items: flex-end; } .c-top b { font: 800 24px/1.05 var(--f-display); letter-spacing: .02em; } .c-bat { text-align: right; } .c-bat b { font-size: 18px; color: var(--lime); }
.bat { height: 5px; margin: 10px 0 8px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; } .bat i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, #7a4dff, #b6ff3b); transform-origin: left; transform: scaleX(0); }
.ps.play .bat i { animation: grow 1s var(--ease) .9s forwards; } @keyframes grow { to { transform: scaleX(1); } }
.c-price { font-size: 11.5px; color: var(--muted); margin-bottom: 11px; } .c-price b { color: var(--text); }
.c-btns, .r-btns { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; } .r-btns { grid-template-columns: 1fr 1fr 1.25fr; } .r-btns.one { grid-template-columns: 1fr; }
.b-ghost, .b-lime { display: grid; place-items: center; height: 40px; border-radius: 20px; font: 800 12.5px var(--f-body); white-space: nowrap; }
.b-ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); } .b-lime { background: #b6ff3b; color: #0d0620; box-shadow: 0 8px 22px -8px rgba(182, 255, 59, .7); }
.ps-map .b-lime { animation: glowbtn 2.2s ease-in-out infinite 1.4s; } @keyframes glowbtn { 50% { box-shadow: 0 0 0 6px rgba(182, 255, 59, .2), 0 8px 26px -6px rgba(182, 255, 59, .9); } }

/* разблокировка */
.ps-scan { background: radial-gradient(420px 300px at 50% 28%, #2a1670, #120a2a 70%); }
.scan-view { position: absolute; top: 74px; left: 0; right: 0; display: grid; justify-items: center; gap: 14px; text-align: center; font-weight: 700; color: var(--muted); }
.vf { position: relative; width: 168px; height: 168px; } .vf i { position: absolute; width: 34px; height: 34px; border: 3px solid #b6ff3b; border-radius: 10px; filter: drop-shadow(0 0 8px rgba(182, 255, 59, .8)); }
.vf i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; } .vf i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; } .vf i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; } .vf i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf u { position: absolute; left: 10px; right: 10px; top: 14px; height: 2px; background: linear-gradient(90deg, transparent, #b6ff3b, transparent); box-shadow: 0 0 14px 2px #b6ff3b; animation: scanline 2s ease-in-out infinite; } @keyframes scanline { 50% { transform: translateY(136px); } }
.scan-card { bottom: 26px; display: grid; gap: 12px; justify-items: center; padding: 16px 14px 18px; }
.ps.play .scan-card { animation-delay: .15s; }
.digits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; width: 100%; } .digits span { height: 48px; border-radius: 13px; display: grid; place-items: center; font: 800 22px var(--f-display); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); opacity: .25; }
.ps.play .digits span { animation: digit .35s var(--ease) calc(.5s + var(--i) * .22s) forwards; } @keyframes digit { to { opacity: 1; border-color: #b6ff3b; box-shadow: 0 0 14px -2px rgba(182, 255, 59, .6); transform: translateY(-2px); } }
.found-row { display: flex; justify-content: space-between; width: 100%; padding: 0 4px; opacity: 0; } .found-row b { font: 800 17px var(--f-display); } .found-row .lime { color: var(--lime); }
.ps.play .found-row { animation: fade .4s ease 1.7s forwards; } @keyframes fade { to { opacity: 1; } }
.unlock { position: relative; width: 78px; height: 78px; display: grid; place-items: center; } .unlock .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.rg-t { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 4; } .rg-p { fill: none; stroke: #b6ff3b; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; filter: drop-shadow(0 0 6px #b6ff3b); }
.ps.play .rg-p { animation: ringfill 1.2s ease-in-out 2s forwards; } @keyframes ringfill { to { stroke-dashoffset: 0; } }
.lock { width: 30px; height: 30px; color: #fff; } .shackle { transform-origin: 16px 11px; } .ps.play .shackle { animation: unlockit .5s var(--ease) 3.1s forwards; } @keyframes unlockit { to { transform: translateY(-3px) rotate(-28deg); } }
.ps.play .lock { animation: lockok .4s ease 3.1s forwards; } @keyframes lockok { to { color: #b6ff3b; } }
.u-txt { position: relative; height: 16px; width: 100%; text-align: center; font-weight: 700; } .u-txt span { position: absolute; inset: 0; } .u-a { color: var(--muted); } .u-b { color: var(--lime); opacity: 0; }
.ps.play .u-a { animation: fadeout .3s ease 3s forwards; } .ps.play .u-b { animation: fade .4s ease 3.1s forwards; } @keyframes fadeout { to { opacity: 0; } }

/* поездка */
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; } .route, .route-glow { fill: none; stroke-linecap: round; } .route { stroke: #b6ff3b; stroke-width: 4; stroke-dasharray: 340; stroke-dashoffset: 340; } .route-glow { stroke: rgba(182, 255, 59, .3); stroke-width: 12; stroke-dasharray: 340; stroke-dashoffset: 340; }
.ps.play .route, .ps.play .route-glow { animation: routedraw 2.4s ease-out .2s forwards; } @keyframes routedraw { to { stroke-dashoffset: 0; } }
.rider { position: absolute; left: var(--x); top: var(--y); width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; } .rider b { position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 255, 59, .6), transparent 70%); animation: ping 1.8s ease-out infinite; }
.rider svg { position: relative; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #b6ff3b; box-shadow: 0 0 0 3px rgba(18, 10, 42, .9), 0 0 24px 4px rgba(182, 255, 59, .7); }
.ps-ride .rider { offset-path: path('M60 360 C 100 330, 120 300, 170 292 S 232 250, 252 196'); left: 0; top: 0; margin: 0; offset-rotate: 0deg; offset-distance: 0%; }
.ps-ride.play .rider { animation: ridepath 2.6s ease-out .2s forwards; } @keyframes ridepath { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.ride-top { position: absolute; z-index: 5; top: 46px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.zchip { display: flex; gap: 8px; align-items: center; padding: 7px 12px 7px 10px; border-radius: 16px; background: rgba(20, 11, 48, .9); border: 1px solid rgba(255, 179, 64, .55); } .zchip b { display: block; font-size: 12.5px; } .zchip small { font-size: 10.5px; } .zchip .dot { width: 9px; height: 9px; border-radius: 50%; background: #ffb340; flex: none; }
.zchip.park { border-color: rgba(182, 255, 59, .6); } .zchip.park .dot { background: #b6ff3b; box-shadow: 0 0 10px #b6ff3b; }
.limit { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 5px solid #ff3d5a; color: #120a2a; font: 800 14px var(--f-display); }
.r-main { display: flex; justify-content: space-between; align-items: flex-end; } .r-main b { display: block; font: 800 32px/1.05 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .r-right { text-align: right; } .r-right b { color: var(--lime); text-shadow: 0 0 20px rgba(182, 255, 59, .45); }
.r-bar { height: 4px; margin: 9px 0 10px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; } .r-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #7a4dff, #b6ff3b); transform-origin: left; animation: minute 60s linear infinite; } @keyframes minute { from { transform: scaleX(.1); } to { transform: scaleX(1); } }
.r-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 11px; } .r-stats li { padding: 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, .06); } .r-stats b { font-size: 13px; font-variant-numeric: tabular-nums; }

/* парковка */
.park-card { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 16px 16px; } .p-t { font: 800 17px var(--f-display); } .p-s { font-size: 11.5px; color: var(--muted); font-weight: 500; line-height: 1.45; margin-bottom: 6px; }
.okring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #b6ff3b; color: #0d0620; box-shadow: 0 0 0 8px rgba(182, 255, 59, .15), 0 0 34px rgba(182, 255, 59, .55); transform: scale(0); } .okring svg { width: 28px; height: 28px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.ps.play .okring { animation: pop .6s var(--ease) .6s forwards; } .ps.play .okring svg { animation: draw .5s ease .95s forwards; } @keyframes draw { to { stroke-dashoffset: 0; } }
.rider.parked b { animation-duration: 2.4s; }

/* чек */
.ps-receipt { background: radial-gradient(420px 300px at 50% 0%, #2a1670, #120a2a 70%); }
.rc-wrap { position: absolute; left: 14px; right: 14px; top: 58px; padding: 18px 16px 16px; border-radius: 20px; background: #f4efff; color: #1b1040; display: grid; gap: 12px; transform: translateY(-30px); opacity: 0; -webkit-mask: radial-gradient(circle 8px at 8px 100%, #0000 98%, #000) -8px, radial-gradient(circle 8px at 50% 100%, #0000 98%, #000); }
.ps.play .rc-wrap { animation: rise .7s var(--ease) .1s forwards; }
.rc-head { display: grid; gap: 3px; justify-items: start; } .rc-head b { font: 800 17px var(--f-display); } .rc-head small { color: #5d4f8a; } .demo { padding: 2px 8px; border-radius: 8px; background: #fff0d4; border: 1px solid #f0c070; color: #8a5200; font: 800 10px var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.rc-lines { display: grid; gap: 9px; } .rc-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; opacity: 0; transform: translateY(8px); } .rc-lines .g { color: #3b7a00; } .rc-lines b { font-variant-numeric: tabular-nums; }
.rc-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 2px solid #1b1040; opacity: 0; } .rc-total b { font: 800 30px var(--f-display); letter-spacing: -.02em; }
.rc-eco { display: flex; gap: 8px; align-items: center; padding: 9px 11px; border-radius: 12px; background: #e4ffc0; color: #2c5a00; font-size: 12px; opacity: 0; } .rc-eco svg { width: 18px; height: 18px; flex: none; }
.ps.play .rc-lines li, .ps.play .rc-total, .ps.play .rc-eco { animation: print .5s var(--ease) calc(.5s + var(--i) * .22s) forwards; } @keyframes print { to { opacity: 1; transform: none; } }
.rc-foot { position: absolute; left: 14px; right: 14px; bottom: 24px; display: grid; } .rc-foot .b-lime { height: 44px; border-radius: 22px; }

/* плавающие чипы вокруг телефона (герой) */
.float-chip { position: absolute; z-index: 20; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 16px; background: rgba(20, 11, 48, .78); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); font: 700 13px var(--f-body); white-space: nowrap; transform: translateZ(70px); }
.float-chip b { color: var(--lime); } .float-chip svg { width: 18px; height: 18px; color: var(--lime); }
.float-chip.pink svg, .float-chip.pink b { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .ps .pn, .ps .card, .ps .rc-wrap, .ps .rc-lines li, .ps .rc-total, .ps .rc-eco, .ps .digits span, .ps .found-row, .ps .okring, .ps .u-b, .ps .bat i { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ps .route, .ps .route-glow, .ps .rg-p, .ps .okring svg { stroke-dashoffset: 0 !important; animation: none !important; }
  .ps-ride .rider { offset-distance: 100% !important; }
  .ps .u-a { opacity: 0 !important; }
}
