/* The phone: a generic modern smartphone (no real brand), calls (ringing, split screen, call card, voicemail),
   text threads (lock screen, notification banner, bubbles, typing dots, read ticks, reply chips, keyboard) and the
   present-day effects (camera flash bloom, headlights, power cut, club lights, livestream badge).
   Sizes are for the 1920x1080 stage, which main.js scales to the window. js/phone.js builds the DOM. */

#phonelayer { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; }
#phonelayer > * { pointer-events: none; }
#phonelayer .on, #phonelayer .live-ui { pointer-events: auto; }

/* ------------------------------------------------------------------ the device */
.phold { position: absolute; right: 150px; top: 104px; width: 440px; height: 906px; perspective: 1900px; opacity: 0; visibility: hidden; }
.phold.on { opacity: 1; visibility: visible; }
.psway { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform-style: preserve-3d; animation: psway 7.5s ease-in-out infinite alternate; }
@keyframes psway {
  0% { transform: translate3d(0, 0, 0) rotateX(3deg) rotateY(-9deg) rotateZ(1.2deg); }
  50% { transform: translate3d(-4px, -7px, 0) rotateX(3.6deg) rotateY(-7.6deg) rotateZ(.7deg); }
  100% { transform: translate3d(3px, -3px, 0) rotateX(2.4deg) rotateY(-10deg) rotateZ(1.6deg); }
}
.pshadow { position: absolute; left: -46px; right: 30px; top: 70px; bottom: -40px; border-radius: 90px; background: rgba(6, 2, 5, .62); filter: blur(34px); transform: translate3d(-34px, 46px, -60px) rotateZ(-3deg); }
.pbuzz { position: absolute; top: 0; right: 0; bottom: 0; left: 0; will-change: transform; }
.device {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 66px; padding: 7px;
  background: linear-gradient(140deg, #f4eff3 0%, #a39da8 14%, #e9e4ea 27%, #75707a 44%, #d6d0d8 60%, #8a8590 78%, #efeaf0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 2.5px rgba(40, 32, 44, .45), inset 0 2px 1px rgba(255, 255, 255, .6),
    0 2px 2px rgba(0, 0, 0, .25), 0 26px 50px rgba(0, 0, 0, .38);
}
.device::before { content: ''; position: absolute; left: 3px; top: 3px; right: 3px; bottom: 3px; border-radius: 63px; border: 1px solid rgba(255, 255, 255, .28); pointer-events: none; }
.pbtn { position: absolute; display: block; width: 5px; border-radius: 3px; background: linear-gradient(90deg, #6f6a74, #d9d4dc 60%, #8b8690); }
.pbtn.b1 { left: -4px; top: 196px; height: 74px; }
.pbtn.b2 { left: -4px; top: 286px; height: 74px; }
.pbtn.b3 { right: -4px; top: 238px; height: 112px; background: linear-gradient(270deg, #6f6a74, #d9d4dc 60%, #8b8690); }
.pscreen { position: absolute; left: 7px; top: 7px; right: 7px; bottom: 7px; border-radius: 59px; overflow: hidden; background: #020102; box-shadow: 0 0 0 6px #050305; isolation: isolate; }
.pscreen .cam { position: absolute; left: 50%; top: 18px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; z-index: 30;
  background: radial-gradient(circle at 36% 34%, rgba(120, 150, 255, .55) 0 2px, rgba(30, 40, 70, .9) 3px, #040305 6px); box-shadow: 0 0 0 2px #000; }
.pscreen .glass { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 31; pointer-events: none; border-radius: inherit; mix-blend-mode: screen;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .085) 42%, rgba(255, 255, 255, .02) 50%, rgba(255, 255, 255, 0) 58%) 0 0 / 260% 100% no-repeat,
    radial-gradient(120% 60% at 85% -10%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 55%);
  animation: glassmove 11s ease-in-out infinite alternate; }
@keyframes glassmove { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
.pscreen .wake { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 29; background: #000; opacity: 1; transition: opacity .45s ease; pointer-events: none; }
.pscreen.awake .wake { opacity: 0; }
/* the screen's light on the scene around the phone (stronger at night) */
.pglow { position: absolute; right: -120px; top: 40px; width: 980px; height: 1080px; border-radius: 50%; mix-blend-mode: screen; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(ellipse 46% 44% at 62% 52%, rgba(255, 214, 236, .32), rgba(240, 160, 205, .12) 46%, rgba(240, 160, 205, 0) 72%); }
.pglow.on { opacity: .55; }
#stage[data-atmo="night"] .pglow.on, #stage[data-atmo="storm"] .pglow.on, #stage[data-atmo="nightsnow"] .pglow.on { opacity: 1; }
.pglow.ring { background: radial-gradient(ellipse 46% 44% at 62% 52%, rgba(200, 255, 236, .34), rgba(140, 230, 210, .12) 46%, rgba(140, 230, 210, 0) 72%); }

.device.old { background: linear-gradient(140deg, #5a5560 0%, #2c2830 30%, #4a4550 60%, #222026 100%); }
.device.old .pscreen::before { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: 46%; z-index: 28; pointer-events: none; opacity: .5;
  background: linear-gradient(128deg, transparent 49.6%, rgba(255, 255, 255, .55) 50%, transparent 50.4%) 0 0 / 100% 100%,
    linear-gradient(162deg, transparent 49.7%, rgba(255, 255, 255, .45) 50%, transparent 50.3%) 30% 40% / 60% 70% no-repeat,
    linear-gradient(104deg, transparent 49.7%, rgba(255, 255, 255, .4) 50%, transparent 50.3%) 70% 80% / 50% 50% no-repeat; }
.device.old .pscreen { filter: sepia(.25) saturate(.8); }

/* the status bar */
.sbar { position: absolute; left: 0; right: 0; top: 0; height: 58px; z-index: 20; display: flex; align-items: center; padding: 6px 40px 0 46px; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.sbar .clk { flex: 1; }
.sbar .icons { display: flex; align-items: center; gap: 8px; }
.sbar svg { display: block; }
.sbar .bars i { display: inline-block; width: 4px; margin-left: 2px; border-radius: 1px; background: #fff; vertical-align: bottom; }
.sbar .bars i:nth-child(1) { height: 6px; } .sbar .bars i:nth-child(2) { height: 9px; } .sbar .bars i:nth-child(3) { height: 12px; } .sbar .bars i:nth-child(4) { height: 15px; }
.sbar .bars[data-n="0"] i, .sbar .bars[data-n="1"] i:nth-child(n+2), .sbar .bars[data-n="2"] i:nth-child(n+3), .sbar .bars[data-n="3"] i:nth-child(4) { background: rgba(255, 255, 255, .28); }
.sbar .bars.weak i:nth-child(1) { animation: weak 1.1s steps(2) infinite; }
@keyframes weak { 50% { background: rgba(255, 255, 255, .28); } }
.sbar .bat { position: relative; width: 30px; height: 15px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, .85); }
.sbar .bat::before { content: ''; position: absolute; left: 2px; top: 2px; bottom: 2px; width: 62%; border-radius: 1.5px; background: #fff; }
.sbar .bat::after { content: ''; position: absolute; right: -5px; top: 3px; width: 3px; height: 5px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, .85); }

/* views (one at a time, cross-faded) */
.pview { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.pview.on { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }

/* ------------------------------------------------------------------ lock screen + notification */
.v-lock { background: radial-gradient(130% 70% at 18% 8%, #2f5c6c 0%, #1b2c45 34%, #160d24 70%, #0d0610 100%); }
.v-lock::before { content: ''; position: absolute; left: -20%; right: -20%; bottom: -12%; height: 52%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(134, 227, 210, .22), rgba(134, 227, 210, 0) 62%); }
.v-lock::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: repeating-linear-gradient(176deg, rgba(255, 255, 255, 0) 0 22px, rgba(190, 240, 255, .035) 23px 25px); -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.lk-time { position: absolute; left: 0; right: 0; top: 128px; text-align: center; font-size: 112px; font-weight: 300; letter-spacing: -.02em; color: #fff; line-height: 1; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.lk-day { position: absolute; left: 0; right: 0; top: 96px; text-align: center; font-size: 23px; font-weight: 700; color: rgba(255, 255, 255, .86); letter-spacing: .02em; }
.lk-lock { position: absolute; left: 50%; top: 62px; width: 22px; height: 22px; margin-left: -11px; color: rgba(255, 255, 255, .8); }
.lk-hint { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: 17px; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.lk-bar { position: absolute; left: 50%; bottom: 14px; width: 150px; height: 6px; margin-left: -75px; border-radius: 3px; background: rgba(255, 255, 255, .8); }
.banner { position: absolute; left: 16px; right: 16px; top: 64px; z-index: 12; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px 18px; border-radius: 30px;
  background: rgba(46, 30, 44, .72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transform: translateY(-180px); opacity: 0; }
.banner.in { animation: bannerIn .7s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes bannerIn { 0% { transform: translateY(-36px); opacity: 0; } 100% { transform: none; opacity: 1; } }
/* on the lock screen the notification sits under the clock, as on a real phone */
.v-lock .banner { top: 272px; }
.banner .bt { flex: 1; min-width: 0; }
.banner .bn { display: flex; justify-content: space-between; font-size: 21px; font-weight: 800; color: #fff; }
.banner .bn i { font-style: normal; font-weight: 600; font-size: 17px; color: rgba(255, 255, 255, .6); }
.banner .bm { margin-top: 3px; font-size: 21px; line-height: 1.32; color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.banner .app { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.banner .app b { display: inline-block; width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(160deg, #ffd3e2, #e9b98d); }

/* round contact photos (a face crop of the sprite, or initials) */
.cph { position: relative; flex: none; border-radius: 50%; background-color: #3a2032; background-repeat: no-repeat; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); display: grid; place-items: center; color: #fff; font-weight: 800; }
.cph.init { background-image: linear-gradient(150deg, #7b5a8c, #3b2141); font-family: var(--serif); }
.cph.unknown { background-image: linear-gradient(150deg, #57525e, #2a2630); }
.cph.unknown svg { width: 54%; height: 54%; color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------------ incoming / outgoing call screen */
.v-call { overflow: hidden; }
.v-call .cbgph { position: absolute; top: -12%; right: -12%; bottom: -12%; left: -12%; background-size: 260% auto; background-position: 50% 18%; filter: blur(26px) saturate(1.35) brightness(.82); transform: scale(1.1); }
.v-call .cbgph::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(20, 8, 17, .12), rgba(20, 8, 17, .5) 52%, rgba(12, 5, 10, .9)); }
.v-call .who { position: absolute; left: 0; right: 0; top: 118px; display: flex; flex-direction: column; align-items: center; }
.v-call .kind { font-size: 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.v-call .nm { margin-top: 10px; padding: 0 30px; text-align: center; font-family: var(--serif); font-size: 46px; font-weight: 600; color: #fff; line-height: 1.12; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.v-call .st { margin-top: 10px; font-size: 22px; color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; min-height: 30px; }
.v-call .phwrap { position: relative; width: 190px; height: 190px; margin-top: 42px; }
.v-call .phwrap .cph { position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), 0 20px 50px rgba(0, 0, 0, .45); }
.v-call .ringr { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 2px solid rgba(160, 240, 220, .75); opacity: 0; }
.v-call.ringing .ringr { animation: ringr 3.2s cubic-bezier(.25, .5, .35, 1) infinite; }
.v-call.ringing .ringr:nth-child(2) { animation-delay: 1.07s; }
.v-call.ringing .ringr:nth-child(3) { animation-delay: 2.13s; }
.v-call.dialing .ringr { border-color: rgba(255, 220, 160, .6); animation: ringr 3s cubic-bezier(.2, .6, .3, 1) infinite; }
.v-call.dialing .ringr:nth-child(2) { animation-delay: 1.5s; }
@keyframes ringr { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.v-call .acts { position: absolute; left: 0; right: 0; bottom: 92px; display: flex; justify-content: space-around; padding: 0 44px; }
.v-call .act { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 18px; color: rgba(255, 255, 255, .82); }
.v-call .rb { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; border: 0; padding: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .3); transition: transform .18s ease, filter .18s ease; touch-action: none; }
.v-call .rb svg { width: 42px; height: 42px; }
.v-call .rb.yes { background: linear-gradient(180deg, #8eead2, #3fae96); }
.v-call .rb.no { background: linear-gradient(180deg, #ff9a8e, #df5263); }
.v-call .rb.no svg { transform: rotate(135deg); }
.v-call.ringing .rb.yes { animation: none; }
/* a call in a sad or tense moment (or a silent phone): no playful wiggle, slower rings */
.v-call.calm.ringing .rb.yes { animation: none; }
.v-call.calm.ringing .ringr { animation-duration: 3.4s; }
.v-call .rb:hover { filter: brightness(1.08); }
.v-call .rb.press { transform: scale(.9) !important; filter: brightness(1.15); animation: none !important; }
.v-call .hint { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; font-size: 17px; letter-spacing: .04em; color: rgba(255, 255, 255, .6);
  background: linear-gradient(90deg, rgba(255, 255, 255, .35) 30%, #fff 50%, rgba(255, 255, 255, .35) 70%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: none; -webkit-text-fill-color: rgba(255, 255, 255, .55); }
.v-call .grid { position: absolute; left: 50px; right: 50px; bottom: 210px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 0; justify-items: center; opacity: 0; transform: translateY(20px); transition: opacity .4s ease .15s, transform .5s cubic-bezier(.2, .9, .3, 1) .15s; }
.v-call.live .grid { opacity: 1; transform: none; }
.v-call .gk { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 16px; color: rgba(255, 255, 255, .75); }
.v-call .gk i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .13); }
.v-call .gk svg { width: 34px; height: 34px; }
.v-call.live .acts .act.ans, .v-call.dialing .acts .act.ans, .v-call.over .acts .act.ans, .v-call.fail .acts .act.ans { display: none; }
.v-call.live .hint, .v-call.dialing .hint, .v-call.over .hint, .v-call.vmode .hint, .v-call.fail .hint { display: none; }
.v-call.over .st { color: #ffb3b3; }
.v-call.over .rb { opacity: .5; }
.v-call.fail .st { color: #ffcf9e; }
/* voicemail screen */
.v-call .vm { position: absolute; left: 38px; right: 38px; bottom: 210px; display: none; flex-direction: column; gap: 14px; }
.v-call.vmode .vm { display: flex; }
.v-call.vmode .grid, .v-call.vmode .ringr { display: none; }
.vm .wave { display: flex; align-items: center; gap: 4px; height: 70px; }
.vm .wave i { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: background .2s; }
.vm .wave i.done { background: linear-gradient(180deg, #f7e2ae, #e8a6be); }
.vm .tm { display: flex; justify-content: space-between; font-size: 17px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the call card (floating) */
.ccard { position: absolute; right: 56px; top: 116px; width: 470px; display: flex; align-items: center; gap: 18px; padding: 18px 22px 18px 18px; border-radius: 36px;
  background: linear-gradient(160deg, rgba(52, 24, 44, .82), rgba(24, 10, 20, .88)); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(232, 196, 126, .4); box-shadow: 0 22px 54px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 236, 200, .16);
  opacity: 0; visibility: hidden; transform: translateY(-16px) scale(.94); transition: opacity .45s ease, transform .6s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .5s; }
.ccard.lft { right: auto; left: 56px; }
.ccard.mid { right: auto; left: 725px; }
.ccard.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.22, .61, .36, 1), visibility 0s; }
.ccard .pw { position: relative; width: 104px; height: 104px; flex: none; }
.ccard .pw .cph { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.ccard .pw::after { content: ''; position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; border-radius: 50%; border: 3px solid rgba(134, 227, 210, .9); opacity: 0; transform: scale(.94); transition: opacity .3s ease, transform .3s ease; }
.ccard.talk .pw::after { opacity: 1; transform: scale(1); }
.ccard .ct { flex: 1; min-width: 0; }
.ccard .cn { font-family: var(--serif); font-size: 34px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .cs { margin-top: 6px; display: flex; align-items: center; gap: 12px; font-size: 21px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ccard .cs .dot { width: 10px; height: 10px; border-radius: 50%; background: #86e3d2; }
.ccard.over .cs .dot { background: #ff8a8a; box-shadow: none; animation: none; }
.ccard .vw { display: flex; align-items: center; gap: 4px; height: 26px; margin-left: auto; }
.ccard .vw i { width: 5px; height: 8px; border-radius: 3px; background: var(--gold2); opacity: .35; transition: opacity .2s; }
.ccard.talk .vw i { opacity: 1; animation: vbar .9s ease-in-out infinite; }
.ccard.talk .vw i:nth-child(2) { animation-delay: .15s; } .ccard.talk .vw i:nth-child(3) { animation-delay: .3s; } .ccard.talk .vw i:nth-child(4) { animation-delay: .45s; } .ccard.talk .vw i:nth-child(5) { animation-delay: .6s; }
@keyframes vbar { 0%, 100% { height: 8px; } 50% { height: 18px; } }
.ccard .end { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ff9a8e, #df5263); color: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.ccard .end svg { width: 30px; height: 30px; transform: rotate(135deg); }
.ccard.over .end { transform: scale(.88); filter: brightness(1.15); transition: transform .2s ease; }

/* ------------------------------------------------------------------ split screen (inside #scene, so the scene's light grades it) */
#callsplit { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; visibility: hidden; }
#stage.split-on #eptitle { opacity: 0; }
#eptitle { transition: opacity .4s ease; }
#callsplit.on { visibility: visible; }
#callsplit .cpanel { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; transition: clip-path .75s cubic-bezier(.65, 0, .25, 1), filter .45s ease; }
#callsplit .cp1 { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
#callsplit .cp2 { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
#callsplit.open .cp1 { clip-path: polygon(0 0, 53.2% 0, 46.8% 100%, 0 100%); }
#callsplit.open .cp2 { clip-path: polygon(53.2% 0, 100% 0, 100% 100%, 46.8% 100%); }
#callsplit .cbg { position: absolute; top: -3%; right: -3%; bottom: -3%; left: -3%; background: #000 center / cover no-repeat; animation: kb3 40s ease-in-out infinite alternate; }
#callsplit .cp1 .cbg { left: -3%; right: 47%; }
#callsplit .cp2 .cbg { left: 47%; right: -3%; }
#callsplit .cfig { position: absolute; bottom: 0; height: 1080px; transform: translateX(-50%); transition: filter .45s ease; }
#callsplit .cfig img { height: 100%; width: auto; display: block; }
#callsplit .cfig img.next { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s ease; }
#callsplit .cfig img.next.show { opacity: 1; }
#callsplit .cp1 .cfig { left: 470px; }
#callsplit .cp2 .cfig { left: 1450px; }
#callsplit { --lift: 1; }
#stage[data-atmo="night"] #callsplit { --lift: 1.12; }
#stage[data-atmo="storm"] #callsplit { --lift: 1.32; }
#callsplit .cpanel { filter: brightness(var(--lift)); }
#callsplit.talk1 .cp2, #callsplit.talk2 .cp1 { filter: brightness(calc(var(--lift) * .64)) saturate(.78); }
#callsplit .seam { position: absolute; left: 50%; top: -10%; width: 6px; height: 120%; margin-left: -3px; transform: rotate(3.4deg) scaleY(0); transform-origin: 50% 50%;
  background: linear-gradient(180deg, rgba(247, 226, 174, 0), rgba(247, 226, 174, .95) 20%, #fff7e6 50%, rgba(247, 226, 174, .95) 80%, rgba(247, 226, 174, 0));
  box-shadow: 0 0 18px rgba(247, 226, 174, .75), 0 0 46px rgba(240, 143, 176, .45); transition: transform .8s cubic-bezier(.65, 0, .25, 1) .1s; }
#callsplit.open .seam { transform: rotate(3.4deg) scaleY(1); }
/* the call strip at the top, and the name tags (crisp, outside the colour grade) */
.chud { position: absolute; left: 50%; top: 22px; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 26px 0 8px; border-radius: 31px; transform: translate(-50%, -90px);
  background: rgba(22, 9, 18, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(232, 196, 126, .4);
  font-size: 23px; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); transition: transform .6s cubic-bezier(.22, .61, .36, 1); font-variant-numeric: tabular-nums; }
.chud.on { transform: translate(-50%, 0); }
.chud .cph { width: 46px; height: 46px; }
.chud .t { color: var(--gold2); font-weight: 800; }
.chud .dot { width: 10px; height: 10px; border-radius: 50%; background: #86e3d2; }
.chud.over .dot { background: #ff8a8a; box-shadow: none; animation: none; }
.ctag { position: absolute; top: 112px; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 8px; border-radius: 27px; opacity: 0; transform: translateY(-12px);
  background: rgba(22, 9, 18, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(232, 196, 126, .28); color: #fff;
  font-family: var(--serif); font-size: 27px; transition: opacity .45s ease .35s, transform .6s cubic-bezier(.22, .61, .36, 1) .35s, border-color .3s; }
.ctag.on { opacity: 1; transform: none; }
.ctag.l { left: 90px; }
.ctag.r { right: 90px; }
.ctag .cph { width: 40px; height: 40px; }
.ctag .vw { display: flex; align-items: center; gap: 3px; height: 22px; }
.ctag .vw i { width: 4px; height: 6px; border-radius: 2px; background: var(--gold2); opacity: .3; }
.ctag.talk { border-color: rgba(247, 226, 174, .8); }
.ctag.talk .vw i { opacity: 1; animation: vbar2 .9s ease-in-out infinite; }
.ctag.talk .vw i:nth-child(2) { animation-delay: .15s; } .ctag.talk .vw i:nth-child(3) { animation-delay: .3s; } .ctag.talk .vw i:nth-child(4) { animation-delay: .45s; }
@keyframes vbar2 { 0%, 100% { height: 6px; } 50% { height: 15px; } }
.ctag .loc { font-family: var(--sans); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold2); opacity: .85; }

/* ------------------------------------------------------------------ the text thread */
.v-thread { background: radial-gradient(130% 60% at 15% 0%, #3b1a33 0%, #1f0d1b 40%, #12070f 100%); }
.v-thread::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: .5;
  background: radial-gradient(circle at 80% 70%, rgba(134, 227, 210, .07), transparent 40%), radial-gradient(circle at 20% 40%, rgba(242, 143, 176, .06), transparent 45%); }
.th-head { position: absolute; left: 0; right: 0; top: 0; height: 154px; z-index: 5; display: flex; align-items: flex-end; gap: 14px; padding: 0 24px 16px 18px;
  background: linear-gradient(180deg, rgba(30, 12, 26, .96) 60%, rgba(30, 12, 26, .82)); border-bottom: 1px solid rgba(232, 196, 126, .16); }
.th-head .back { width: 34px; height: 54px; color: var(--gold2); display: grid; place-items: center; }
.th-head .back svg { width: 30px; height: 30px; }
.th-head .cph { width: 64px; height: 64px; }
.th-head .hn { flex: 1; min-width: 0; padding-bottom: 4px; }
.th-head .hn b { display: block; font-family: var(--serif); font-size: 29px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-head .hn span { display: block; font-size: 17px; color: var(--muted); height: 22px; transition: color .2s; }
.th-head .hn span.typ { color: #86e3d2; }
.th-head .hi { display: flex; gap: 18px; color: var(--gold2); padding-bottom: 14px; }
.th-head .hi svg { width: 28px; height: 28px; }
.th-list { position: absolute; left: 0; right: 0; top: 154px; bottom: 104px; overflow: hidden; z-index: 1; transition: bottom .42s cubic-bezier(.2, .9, .3, 1); }
.v-thread.kb .th-list { bottom: 404px; }
.v-thread.chips .th-list { bottom: var(--chipsH, 220px); }
.th-in { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 14px; transition: transform .36s cubic-bezier(.2, .9, .3, 1); }
.th-day { align-self: center; margin: 8px 0 10px; padding: 5px 16px; border-radius: 14px; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 226, 174, .8); background: rgba(255, 255, 255, .06); }
.bub { position: relative; max-width: 80%; padding: 11px 18px 12px; border-radius: 26px; font-size: 25px; line-height: 1.34; word-wrap: break-word; transform-origin: 0 100%; }
.bub .tx { display: inline; }
.bub .tm { display: inline-flex; align-items: center; gap: 4px; float: right; margin: 9px -4px -4px 14px; font-size: 14px; font-weight: 700; opacity: .62; font-variant-numeric: tabular-nums; }
.bub.bin { align-self: flex-start; color: #fbf1ea; background: rgba(255, 255, 255, .095); border: 1px solid rgba(232, 196, 126, .16); border-bottom-left-radius: 8px; }
.bub.bme { align-self: flex-end; color: #2b0f20; background: linear-gradient(160deg, #ffd8e6 0%, #f4abc4 55%, #ebbb90 100%); border-bottom-right-radius: 8px; transform-origin: 100% 100%; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.bub.bin + .bub.bin, .bub.bme + .bub.bme { margin-top: -2px; }
.bub.bin::after, .bub.bme::after { content: ''; position: absolute; bottom: -1px; width: 18px; height: 18px; }
.bub.bin::after { left: -7px; background: radial-gradient(circle at 0 0, transparent 13px, rgba(255, 255, 255, .095) 13.5px) ; clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); border-bottom-right-radius: 4px; }
.bub.bme::after { right: -7px; background: radial-gradient(circle at 100% 0, transparent 13px, #ebbb90 13.5px); clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%); }
.bub.pop { animation: bpop .5s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes bpop { 0% { transform: translateY(12px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bub.swoosh { animation: bswoosh .5s cubic-bezier(.2, 1, .3, 1) both; }
@keyframes bswoosh { 0% { transform: translate(-16px, 70px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
svg.emo { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; margin: 0 .04em; }
.chip svg.emo, .lg svg.emo, .banner svg.emo { color: #ffc6da; }
.bub.bme .tx svg.emo { color: #b4235b; }
.bub.bin .tx svg.emo { color: #ffc6da; }
.bub .tk { position: relative; width: 22px; height: 13px; }
.bub .tk svg { position: absolute; top: 0; width: 15px; height: 13px; }
.bub .tk svg:nth-child(1) { left: 0; }
.bub .tk svg:nth-child(2) { left: 6px; opacity: 0; transition: opacity .2s; }
.bub .tk path { stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .3s ease; }
.bub .tk.s1 svg:nth-child(1) path { stroke-dashoffset: 0; }
.bub .tk.s2 svg:nth-child(2) { opacity: 1; }
.bub .tk.s2 svg path { stroke-dashoffset: 0; }
.bub .tk.s3 { color: #8a3b6c; }
.bub.bme .tm { color: #5c2a45; opacity: .75; }
.bub.typing { padding: 16px 20px; }
.bub.typing i { display: inline-block; width: 11px; height: 11px; margin: 0 3px; border-radius: 50%; background: rgba(255, 236, 220, .8); animation: tdot 1.3s ease-in-out infinite; }
.bub.typing i:nth-child(2) { animation-delay: .18s; } .bub.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: .95; } }
.bub.gone { animation: bgone .3s ease forwards; }
@keyframes bgone { to { opacity: 0; transform: scale(.7); } }
/* the input bar, reply chips and the keyboard */
.th-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 0 18px 20px;
  background: rgba(24, 10, 20, .92); border-top: 1px solid rgba(232, 196, 126, .14); transition: transform .42s cubic-bezier(.2, .9, .3, 1); }
.v-thread.kb .th-bar { transform: translateY(-300px); }
.th-bar .plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold2); background: rgba(255, 255, 255, .07); }
.th-bar .plus svg { width: 26px; height: 26px; }
.th-bar .field { flex: 1; min-width: 0; min-height: 54px; display: flex; align-items: center; padding: 8px 20px; border-radius: 27px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(232, 196, 126, .2); font-size: 23px; color: #fff; line-height: 1.3; }
.th-bar .field .ph { color: rgba(255, 255, 255, .38); }
.th-bar .field .typed { white-space: pre-wrap; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th-bar .field .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: #ffc6da; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.th-bar .send { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #2b0f20; background: linear-gradient(160deg, #ffd8e6, #ebbb90); opacity: .4; transform: scale(.94); transition: opacity .2s, transform .25s ease-out; }
.th-bar .send.ready { opacity: 1; transform: scale(1); }
.th-bar .send.press { transform: scale(.82); }
.th-bar .send svg { width: 28px; height: 28px; }
.th-chips { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 7; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 10px 16px 14px; pointer-events: none; }
.th-chips.on { pointer-events: auto; }
.th-chips .lab { align-self: center; font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 226, 174, .75); margin-bottom: 2px; }
.chip { position: relative; max-width: 96%; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 24px; cursor: pointer; text-align: left;
  font: inherit; font-size: 22px; line-height: 1.3; color: #fff3ea; background: rgba(60, 26, 50, .9); border: 1px solid rgba(247, 226, 174, .5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); animation: chipin .5s cubic-bezier(.22, .61, .36, 1) both; transition: transform .15s, border-color .15s, background .15s; }
@keyframes chipin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chip .key { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 800; color: var(--gold2); border: 1px solid rgba(247, 226, 174, .45); }
.chip .t { flex: 1; }
.chip:hover, .chip.focus { transform: translateY(-2px); border-color: #fff3d8; background: rgba(78, 34, 62, .95); }
.chip.act { font-style: italic; color: var(--muted); border-style: dashed; }
.chip.prem { border: 1.5px solid #e2b66a; background: linear-gradient(180deg, rgba(74, 32, 52, .95), rgba(40, 14, 30, .95)); }
.chip .price { flex: none; display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px 0 8px; border-radius: 17px; background: linear-gradient(180deg, #f8e0a6, #c9974f); color: #2b1608; font-weight: 800; font-size: 19px; }
.chip .price .gem { width: 24px; height: 24px; }
.chip .price .ico { width: 16px; height: 16px; }
.chip .price.own { background: rgba(255, 255, 255, .08); color: var(--gold2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.chip.locked { opacity: .45; }
.chip.picked { border-color: #fff; box-shadow: 0 0 28px rgba(255, 220, 180, .45); }
.th-chips.closing .chip:not(.picked) { opacity: 0; transform: scale(.96); transition: opacity .2s, transform .2s; }
.th-chips.closing .chip.picked { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .25s ease .05s, transform .3s ease; }
.kbd { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 8; padding: 12px 6px 30px; background: linear-gradient(180deg, rgba(48, 30, 44, .96), rgba(34, 20, 31, .98));
  border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(100%); transition: transform .42s cubic-bezier(.2, .9, .3, 1); display: flex; flex-direction: column; gap: 9px; }
.v-thread.kb .kbd { transform: none; }
.kbd .row { display: flex; justify-content: center; gap: 6px; }
.kbd .k { position: relative; flex: 0 0 34px; height: 52px; border-radius: 9px; display: grid; place-items: center; font-size: 22px; color: #fff; background: rgba(255, 255, 255, .17); box-shadow: 0 2px 0 rgba(0, 0, 0, .35); transition: background .12s; }
.kbd .k.w { flex-basis: 56px; font-size: 15px; font-weight: 800; letter-spacing: .04em; background: rgba(255, 255, 255, .09); }
.kbd .k.sp { flex: 0 0 196px; font-size: 15px; color: rgba(255, 255, 255, .5); }
.kbd .k.rt { flex-basis: 92px; font-size: 15px; font-weight: 800; background: rgba(255, 255, 255, .09); }
.kbd .k.hit { background: rgba(255, 255, 255, .55); }
.kbd .k.hit::after { content: attr(data-c); position: absolute; left: 50%; bottom: 40px; width: 50px; height: 64px; margin-left: -25px; border-radius: 12px; display: grid; place-items: center;
  font-size: 32px; color: #2b0f20; background: #fbeef3; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.kbd .k.sp.hit::after, .kbd .k.w.hit::after, .kbd .k.rt.hit::after { display: none; }

/* ------------------------------------------------------------------ slide in / out */
.phold.slidein { animation: pin .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pin { 0% { transform: translate3d(140px, 980px, 0) rotate(9deg); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.phold.slideout { animation: pout .5s cubic-bezier(.55, 0, .75, .25) both; }
@keyframes pout { 0% { transform: none; opacity: 1; } 100% { transform: translate3d(110px, 960px, 0) rotate(7deg); opacity: 0; } }
.phold.tocard { animation: tocard .55s cubic-bezier(.55, 0, .3, 1) both; }
@keyframes tocard { 0% { transform: none; opacity: 1; } 100% { transform: translate3d(40px, -120px, 0) scale(.42); opacity: 0; } }
/* the dialogue box leaves room for the phone while a thread or a ringing phone is on screen */
#stage.phone-open #dialog { right: 680px; }
#stage.phone-open #toasts { margin-right: 600px; }

/* ------------------------------------------------------------------ the log (backlog) */
.lg.sms, .lg.call { padding-left: 54px; }
.lg.sms .li, .lg.call .li { position: absolute; left: 6px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(232, 196, 126, .12); color: var(--gold2); }
.lg.sms .li svg, .lg.call .li svg { width: 20px; height: 20px; }
.lg.sms .msg { display: inline-block; max-width: 86%; padding: 8px 18px; border-radius: 20px 20px 20px 6px; background: rgba(255, 255, 255, .08); font-size: 25px; }
.lg.sms.mine { text-align: right; padding-right: 70px; }
.lg.sms.mine .msg { border-radius: 20px 20px 6px 20px; background: linear-gradient(160deg, rgba(255, 216, 230, .9), rgba(235, 187, 144, .9)); color: #2b0f20; text-align: left; }
.lg.sms.mine b { text-align: right; }
.lg.call span { font-style: italic; color: var(--muted); }
.lg b .ph { display: inline-block; width: 22px; height: 22px; margin-left: 8px; vertical-align: -3px; color: var(--muted); }

/* ------------------------------------------------------------------ present-day effects */
#modernfx { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; overflow: hidden; }
#modernfx i { position: absolute; display: block; }
/* a camera flash: the burst, a bloom, a lens streak, and a coloured afterimage that fades slowly */
.mf-flash { top: 0; right: 0; bottom: 0; left: 0; background: #fff; opacity: 0; }
.mf-bloom { width: 1400px; height: 1400px; margin: -700px 0 0 -700px; border-radius: 50%; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 0%, rgba(255, 252, 240, .9) 6%, rgba(255, 240, 220, .35) 22%, rgba(255, 220, 200, 0) 55%); }
.mf-streak { width: 1700px; height: 26px; margin: -13px 0 0 -850px; opacity: 0; mix-blend-mode: screen; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .95), rgba(190, 220, 255, .55) 30%, rgba(160, 200, 255, 0) 70%); }
.mf-after { width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; opacity: 0; mix-blend-mode: screen; filter: blur(14px);
  background: radial-gradient(circle, rgba(140, 255, 210, .5), rgba(200, 120, 255, .28) 45%, rgba(200, 120, 255, 0) 70%); }
/* car headlights sweeping across the scene */
.mf-beam { top: -30%; height: 160%; width: 900px; opacity: 0; mix-blend-mode: screen; filter: blur(6px);
  background: radial-gradient(ellipse 35% 45% at 50% 55%, rgba(255, 250, 228, .85), rgba(255, 240, 200, .32) 45%, rgba(255, 230, 190, 0) 72%); }
.mf-lamp { width: 220px; height: 120px; margin: -60px 0 0 -110px; border-radius: 50%; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse, #fff, rgba(255, 246, 220, .7) 30%, rgba(255, 240, 210, 0) 70%); }
/* a power cut: the light drops, flickers and comes back */
.mf-dim { top: 0; right: 0; bottom: 0; left: 0; opacity: 0; background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(14, 18, 34, .45), rgba(6, 8, 18, .72)); transition: opacity .25s; }
#modernfx.cut .mf-dim { opacity: 1; }
/* club lights (DJ booth): slow coloured beams through haze, never a strobe */
.o-club { mix-blend-mode: screen; }
.o-club i { position: absolute; bottom: -10%; width: 260px; height: 140%; transform-origin: 50% 100%; opacity: .55; filter: blur(10px); }
.o-club .c1 { left: 18%; background: linear-gradient(0deg, rgba(90, 120, 255, .75), rgba(90, 120, 255, 0) 85%); clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); animation: beam1 9s ease-in-out infinite alternate; }
.o-club .c2 { left: 46%; background: linear-gradient(0deg, rgba(240, 90, 200, .7), rgba(240, 90, 200, 0) 85%); clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); animation: beam2 11s ease-in-out infinite alternate; }
.o-club .c3 { left: 72%; background: linear-gradient(0deg, rgba(110, 230, 255, .65), rgba(110, 230, 255, 0) 85%); clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); animation: beam3 13s ease-in-out infinite alternate; }
.o-club .haze { left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; transform: none; filter: none; opacity: .5;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(160, 120, 255, .22), transparent 70%), radial-gradient(ellipse 40% 30% at 20% 60%, rgba(255, 100, 200, .14), transparent 70%); animation: none; }
@keyframes beam1 { from { transform: rotate(-28deg); } to { transform: rotate(22deg); } }
@keyframes beam2 { from { transform: rotate(24deg); } to { transform: rotate(-26deg); } }
@keyframes beam3 { from { transform: rotate(-18deg); } to { transform: rotate(30deg); } }
/* a livestream: the LIVE badge, the audience count, hearts floating up */
.o-live { mix-blend-mode: normal; }
.o-live .badge { position: absolute; right: 44px; top: 112px; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px 0 6px; border-radius: 23px;
  background: rgba(20, 8, 17, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.o-live .badge b { padding: 4px 12px; border-radius: 16px; font-size: 16px; letter-spacing: .14em; background: linear-gradient(180deg, #ff6f8e, #e23c66); }
.o-live .badge b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #fff; vertical-align: 1px; }
.o-live .hearts { position: absolute; right: 70px; bottom: 300px; width: 120px; height: 520px; }
.o-live .hearts span { position: absolute; bottom: 0; left: 40px; width: 34px; height: 34px; color: #ff8fb3; opacity: 0; animation: heartup 3.4s ease-out forwards; }
.o-live .hearts span svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
@keyframes heartup { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 12% { opacity: .95; transform: translate(0, -40px) scale(1); } 100% { transform: translate(var(--dx, -30px), -480px) scale(.8); opacity: 0; } }
/* the phone camera viewfinder (a photo without flash) */
.vfind { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; }
.vfind.on { opacity: 1; transition: opacity .3s; }
.vfind .frame { position: absolute; left: 330px; right: 330px; top: 120px; bottom: 150px; border: 2px solid rgba(255, 255, 255, .0); }
.vfind .frame i { position: absolute; width: 60px; height: 60px; border-color: rgba(255, 255, 255, .85); border-style: solid; border-width: 0; }
.vfind .frame i:nth-child(1) { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.vfind .frame i:nth-child(2) { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.vfind .frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.vfind .frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.vfind .focus { position: absolute; width: 150px; height: 150px; margin: -75px 0 0 -75px; border: 2px solid #f7e2ae; border-radius: 8px; opacity: 0; transform: scale(1.5); }
.vfind.lock .focus { opacity: 1; transform: scale(1); transition: transform .4s cubic-bezier(.22, .61, .36, 1), opacity .25s; }
.vfind .mode { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); padding: 6px 16px; border-radius: 16px; background: rgba(0, 0, 0, .45); color: #f7e2ae; font-size: 18px; font-weight: 800; letter-spacing: .14em; }
.vfind .shut { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #000; opacity: 0; }
.vfind .thumb { position: absolute; left: 60px; bottom: 60px; width: 160px; height: 90px; border-radius: 10px; border: 2px solid #fff; background-size: cover; background-position: center; opacity: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------------ reduced motion: still pictures, fades only */
.still .psway, .still .pscreen .glass, .still .v-call .ringr, .still .v-call .rb.yes, .still .o-club i, .still .chip, .still .bub.pop, .still .bub.swoosh, .still .banner.in { animation: none !important; }
.still .banner.in { transform: none; opacity: 1; }
.still .bub.pop, .still .bub.swoosh { opacity: 1; transform: none; }
.still .phold.slidein { animation: fadeIn .3s ease both; }
.still .phold.slideout, .still .phold.tocard { animation: fadeOut .3s ease both; }
.still .v-call.ringing .ringr:nth-child(1) { animation: none; opacity: .6; transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .psway, .pscreen .glass, .v-call .ringr, .v-call .rb.yes, .o-club i, .chip, .bub.pop, .bub.swoosh, .banner.in, .o-live .hearts span { animation: none !important; }
  .banner.in, .bub.pop, .bub.swoosh { opacity: 1; transform: none; }
  .phold.slidein { animation: fadeIn .3s ease both; }
  .phold.slideout, .phold.tocard { animation: fadeOut .3s ease both; }
  #callsplit .cpanel, #callsplit .seam { transition-duration: .01s; }
}
