:root{--ink:#07080b;--body:#30343b;--muted:#5c626d;--blue:#2368e8;--line:rgba(8,12,20,.10)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;color:var(--ink);background:#dfe5ed}
button,input{font:inherit}.app{min-height:100vh;background:radial-gradient(circle at 50% -10%,#fff 0,#f5f7fb 42%,#e7ecf3 100%);overflow:hidden}.screen{min-height:100vh;padding:24px 24px 50px;display:flex;flex-direction:column;animation:in .32s cubic-bezier(.2,.8,.3,1)}.hidden{display:none!important}.micro-header{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:25px;flex:0 0 auto}.collab{font-size:11px;font-weight:720;letter-spacing:.055em;color:#747a84;white-space:nowrap}.testate-mark{position:relative;display:inline-flex;align-items:center;width:31px;height:20px}.testate-mark i{position:absolute;top:3px;width:14px;height:14px;border-radius:50%;background:#090a0d;transform:scale(1)}.testate-mark i:first-child{left:0}.testate-mark i:nth-child(2){right:0}.testate-mark b{position:absolute;left:50%;top:50%;opacity:0;font-size:22px;line-height:1;transform:translate(-50%,-50%) scale(.15) rotate(-18deg);font-style:normal}.screen:not(.hidden) .testate-mark i:first-child{animation:markLeftIn .48s cubic-bezier(.2,.9,.25,1) both}.screen:not(.hidden) .testate-mark i:nth-child(2){animation:markRightIn .48s cubic-bezier(.2,.9,.25,1) both}.testate-mark.bonk i:first-child{animation:markLeftHit .46s cubic-bezier(.2,1.4,.3,1) both}.testate-mark.bonk i:nth-child(2){animation:markRightHit .46s cubic-bezier(.2,1.4,.3,1) both}.testate-mark.bonk b{animation:markBurst .46s cubic-bezier(.18,1.5,.25,1) both}.brand{text-align:center;font-size:22px;font-weight:820;letter-spacing:-.05em}.impact-screen .brand,.result .brand{margin-bottom:14px;flex:0 0 auto}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.back{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 16px 0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:20px;line-height:1;color:#111;cursor:pointer}.back span{font-size:13px;font-weight:760;letter-spacing:-.01em}.step{font-size:11px;font-weight:820;color:#1856c5;letter-spacing:.1em;text-transform:uppercase}.progress-bar{height:3px;border-radius:999px;background:rgba(8,12,20,.08);margin:-10px 0 18px;overflow:hidden;flex:0 0 auto}.progress-bar span{display:block;height:100%;background:#1856c5;border-radius:999px;transition:width .35s ease}h1,h2{margin:0;color:#050507;letter-spacing:-.055em;line-height:.96;font-weight:830}h1{font-size:52px;text-align:center}h2{font-size:46px}.sub{font-size:15px;line-height:1.45;color:#555b65;margin:13px 0 22px}.primary,.secondary{min-height:58px;border:0;border-radius:18px;padding:0 22px;font-weight:740;cursor:pointer}.primary{background:#090a0d;color:#fff;margin-top:auto}.primary:disabled{opacity:.3}.secondary{background:#dfe4ea;color:#111}.hero{height:320px;display:flex;align-items:center;justify-content:center}.hero span{font-size:112px;filter:drop-shadow(0 18px 18px rgba(35,50,82,.13))}.hero span:first-child{transform:rotate(8deg) translateX(10px)}.hero span:last-child{transform:rotate(-8deg) translateX(-10px)}
.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:8px;margin:16px 0;max-height:64vh;overflow:auto;padding:4px}.avatar{aspect-ratio:1;border:2px solid transparent;border-radius:16px;background:rgba(255,255,255,.9);display:grid;place-items:center;font-size:29px;cursor:pointer;position:relative;box-shadow:0 4px 10px rgba(28,39,65,.06)}.avatar.selected{border-color:#1d9e75;background:#e1f5ee;box-shadow:0 0 0 3px rgba(29,158,117,.14)}.avatar.selected:after{content:'✓';position:absolute;right:-5px;top:-5px;width:20px;height:20px;border-radius:50%;background:#1d9e75;color:#fff;display:grid;place-items:center;font-size:10px;border:2px solid white;font-weight:900}
.chosen{display:flex;justify-content:center;align-items:center;gap:20px;margin:8px 0 16px}.chosen-face{width:82px;height:82px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:54px;box-shadow:0 12px 25px rgba(35,54,98,.12)}.arrow{font-size:25px;color:#555b65}
.pack-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;flex:1;min-height:0}.packs-column,.items-column{border:1px solid rgba(8,12,20,.08);border-radius:26px;background:rgba(255,255,255,.72);box-shadow:0 12px 30px rgba(28,39,65,.055);overflow:hidden}.packs-column{padding:12px;overflow:auto}.items-column{display:flex;flex-direction:column}.pack-button{width:100%;border:1px solid transparent;border-radius:20px;background:transparent;padding:13px;display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:center;text-align:left;color:#111;cursor:pointer;margin-bottom:6px}.pack-button.active{background:#fff;border-color:rgba(8,12,20,.08);box-shadow:0 8px 18px rgba(28,39,65,.07)}.pack-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;font-size:27px;background:var(--pack-bg,#edf2ff)}.pack-title{display:block;font-size:15px;font-weight:800}.pack-meta{display:block;font-size:12px;color:#626873;margin-top:4px}.chevron{font-size:22px;color:#676d77}.items-header{padding:22px 22px 18px;border-bottom:1px solid rgba(8,12,20,.07);display:flex;align-items:center;gap:14px}.items-header-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;font-size:28px;background:#edf2ff}.items-header h3{margin:0;font-size:22px;letter-spacing:-.035em}.items-header p{margin:4px 0 0;font-size:13px;color:#626873}.items-list{padding:12px;overflow:auto;display:grid;gap:8px;align-content:start}.testata{width:100%;border:1px solid rgba(8,12,20,.07);border-radius:18px;background:rgba(250,251,253,.88);padding:13px;display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;text-align:left;cursor:pointer}.testata.selected{background:#e8f0ff;border-color:rgba(35,104,232,.35);box-shadow:0 0 0 3px rgba(35,104,232,.08)}.testata-icon{width:44px;height:44px;border-radius:14px;background:#fff;display:grid;place-items:center;font-size:23px;box-shadow:0 5px 12px rgba(28,39,65,.07)}.testata strong{display:block;font-size:14px;color:#111318}.testata small{display:block;font-size:12px;color:#5d636d;margin-top:4px;line-height:1.35}.sound{font-size:11px;font-weight:820;color:#1856c5;background:#e1ebff;border-radius:999px;padding:6px 9px;white-space:nowrap}.mobile-packs{display:none}.footer-bar{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;margin-top:18px}.selection{min-height:62px;border-radius:20px;background:#101216;color:#fff;padding:10px 15px;display:flex;align-items:center;gap:12px;opacity:.45}.selection.visible{opacity:1}.selection-icon{width:42px;height:42px;background:#fff;border-radius:13px;display:grid;place-items:center;font-size:23px}.selection span{display:block;color:#b9bec7;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:750}.selection strong{display:block;font-size:14px;margin-top:4px}.continue{min-width:190px;height:62px;margin:0}.pair{display:flex;align-items:center;justify-content:center;margin:30px 0 18px}.pair span{font-size:92px;filter:drop-shadow(0 14px 15px rgba(35,50,82,.12))}label{font-size:12px;font-weight:760;color:#30343b;display:block;margin-top:13px}input{width:100%;margin-top:7px;border:1px solid rgba(8,12,20,.14);background:#f0f2f5;color:#111318;border-radius:15px;padding:15px 14px;font-size:15px;outline:none}.impact-screen{align-items:center;text-align:center;justify-content:center;position:relative;padding-top:77px}.impact-screen .micro-header{position:absolute;top:24px;left:24px;right:24px;margin-bottom:0}.impact-stage{width:min(900px,100%);height:430px;position:relative;overflow:hidden}.impact-face{position:absolute;top:145px;left:50%;font-size:128px;line-height:1;filter:drop-shadow(0 19px 18px rgba(35,49,80,.14));will-change:transform;z-index:2}.impact-face.left{transform:translateX(-520px) rotate(8deg)}.impact-face.right{transform:translateX(390px) rotate(-8deg)}.impact-stage.play .left{animation:leftCollision 2.45s cubic-bezier(.55,.03,.2,1) forwards}.impact-stage.play .right{animation:rightCollision 2.45s cubic-bezier(.55,.03,.2,1) forwards}.contact{position:absolute;left:50%;top:210px;font-size:70px;line-height:1;opacity:0;z-index:4;transform:translate(-50%,-50%) scale(.2) rotate(-14deg)}.impact-stage.play .contact{animation:contactFlash .7s 1.58s ease-out forwards}.sound-big{position:absolute;left:50%;top:55px;z-index:5;font-size:62px;font-weight:950;letter-spacing:-.06em;color:#050507;opacity:0;transform:translateX(-50%) scale(.2) rotate(-8deg)}.impact-stage.play .sound-big{animation:soundPop .85s 1.53s cubic-bezier(.15,1.75,.3,1) forwards}.result{text-align:center;align-items:center}.result .micro-header{align-self:stretch}.result-pair{height:280px;display:flex;align-items:center;justify-content:center;position:relative}.result-pair span{font-size:110px}.result-pair.loop #resultMine{animation:bonkLoopLeft 2.6s ease-in-out infinite}.result-pair.loop #resultTheirs{animation:bonkLoopRight 2.6s ease-in-out infinite}.result-spark{position:absolute;left:50%;top:50%;font-size:38px;line-height:1;opacity:0;transform:translate(-50%,-50%) scale(.2) rotate(-12deg);pointer-events:none;z-index:2}.result-pair.loop .result-spark{animation:resultSparkPulse 2.6s ease-in-out infinite}
@keyframes bonkLoopLeft{0%,42%,100%{transform:translateX(0) rotate(0deg)}52%{transform:translateX(16px) rotate(7deg)}60%{transform:translateX(4px) rotate(1deg)}68%{transform:translateX(10px) rotate(4deg)}}
@keyframes bonkLoopRight{0%,42%,100%{transform:translateX(0) rotate(0deg)}52%{transform:translateX(-16px) rotate(-7deg)}60%{transform:translateX(-4px) rotate(-1deg)}68%{transform:translateX(-10px) rotate(-4deg)}}
@keyframes resultSparkPulse{0%,48%,100%{opacity:0;transform:translate(-50%,-50%) scale(.2) rotate(-12deg)}55%{opacity:1;transform:translate(-50%,-50%) scale(1.3) rotate(6deg)}64%{opacity:0;transform:translate(-50%,-50%) scale(1.6) rotate(-4deg)}}
.success{width:57px;height:57px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:29px;margin-bottom:18px}.summary{width:min(600px,100%);background:#e9edf2;border-radius:19px;padding:15px;text-align:center;margin:18px 0}.summary p{margin:4px 0;color:#3f444d;font-size:13px}.actions{width:min(600px,100%);display:grid;gap:10px;margin-top:auto}.action-row.single{grid-template-columns:1fr}
@keyframes markLeftIn{0%{transform:translateX(-16px) scale(.82);opacity:0}70%{transform:translateX(1px) scale(1.05);opacity:1}100%{transform:none;opacity:1}}@keyframes markRightIn{0%{transform:translateX(16px) scale(.82);opacity:0}70%{transform:translateX(-1px) scale(1.05);opacity:1}100%{transform:none;opacity:1}}@keyframes markLeftHit{0%,100%{transform:none;opacity:1}40%{transform:translateX(6px) scale(1.08)}58%{transform:translateX(7px) scale(.72);opacity:.28}72%{transform:translateX(-2px) scale(1.12)}}@keyframes markRightHit{0%,100%{transform:none;opacity:1}40%{transform:translateX(-6px) scale(1.08)}58%{transform:translateX(-7px) scale(.72);opacity:.28}72%{transform:translateX(2px) scale(1.12)}}@keyframes markBurst{0%,28%{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(-20deg)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.25) rotate(8deg)}75%{opacity:.8;transform:translate(-50%,-50%) scale(.9) rotate(-3deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.3) rotate(10deg)}}@keyframes in{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}@keyframes leftCollision{0%{transform:translateX(-520px) rotate(8deg)}42%{transform:translateX(-300px) rotate(9deg)}67%{transform:translateX(-108px) rotate(13deg)}72%{transform:translateX(-96px) rotate(16deg)}80%{transform:translateX(-112px) rotate(10deg)}100%{transform:translateX(-103px) rotate(11deg)}}@keyframes rightCollision{0%{transform:translateX(390px) rotate(-8deg)}42%{transform:translateX(220px) rotate(-9deg)}67%{transform:translateX(-20px) rotate(-13deg)}72%{transform:translateX(-32px) rotate(-16deg)}80%{transform:translateX(-16px) rotate(-10deg)}100%{transform:translateX(-25px) rotate(-11deg)}}@keyframes contactFlash{0%{opacity:0;transform:translate(-50%,-50%) scale(.15) rotate(-16deg)}30%{opacity:1;transform:translate(-50%,-50%) scale(1.3) rotate(8deg)}60%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-4deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.6) rotate(6deg)}}@keyframes soundPop{0%{opacity:0;transform:translateX(-50%) scale(.2) rotate(-12deg)}60%{opacity:1;transform:translateX(-50%) scale(1.25) rotate(5deg)}100%{opacity:1;transform:translateX(-50%) scale(1) rotate(-2deg)}}
@media(max-width:760px){.screen{padding:20px 20px 44px;min-height:100svh}.micro-header{margin-bottom:20px}h1{font-size:44px}h2{font-size:38px}.hero{height:280px}.hero span{font-size:96px}.avatar-grid{grid-template-columns:repeat(4,1fr);max-height:52vh}.pack-layout{display:none}.mobile-packs{display:grid;gap:10px}.mobile-pack{border:1px solid rgba(8,12,20,.09);border-radius:22px;background:rgba(255,255,255,.88);overflow:hidden}.mobile-head{width:100%;border:0;background:transparent;padding:15px;display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:center;text-align:left}.mobile-list{max-height:0;overflow:hidden;transition:max-height .35s ease;border-top:0 solid rgba(8,12,20,.07)}.mobile-pack.open .mobile-list{max-height:650px;border-top-width:1px}.mobile-list .testata{border-radius:0;border-width:0 0 1px}.footer-bar{grid-template-columns:1fr}.continue{width:100%;min-width:0}.impact-stage{height:370px}.impact-face{font-size:96px;top:140px}.impact-face.left{transform:translateX(-320px) rotate(8deg)}.impact-face.right{transform:translateX(225px) rotate(-8deg)}.sound-big{font-size:48px}.pair span{font-size:78px}}

/* iPhone 13 / compact viewport refinements */
.pack-content{height:100%;display:flex;flex-direction:column;min-height:0}.pack-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#5d636d;padding:32px}.pack-placeholder span{font-size:44px}.pack-placeholder h3{margin:14px 0 5px;font-size:22px;color:#111318}.pack-placeholder p{margin:0;font-size:13px}.share-button{min-height:58px;border:0;border-radius:18px;background:#2368e8;color:#fff;font-weight:800;cursor:pointer}.share-button:disabled{opacity:.5;cursor:default}.action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action-row .primary{margin:0}.exit-button{display:block;text-align:center;color:#5c626d;text-decoration:none;font-size:13px;font-weight:760;letter-spacing:.02em;padding:12px 8px}.exit-button:hover{color:#111318;text-decoration:underline}.exit-button small{display:block;margin-top:4px;color:#8b8f98;font-size:10px;font-weight:600;letter-spacing:0}.actions{gap:10px}
@media(max-width:760px){
  html,body,.app{height:100%;min-height:100%;overflow:hidden}
  .screen{height:100svh;min-height:0;padding:max(14px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom));overflow:hidden}
  .micro-header{margin-bottom:10px;flex:0 0 auto}.top{margin-bottom:10px;flex:0 0 auto}.back{height:38px;padding:0 14px 0 10px}.back span{font-size:12px}.progress-bar{margin:-2px 0 12px}
  h1{font-size:39px}h2{font-size:32px}.sub{font-size:13px;margin:8px 0 12px}
  .hero{height:auto;flex:1;min-height:150px}.hero span{font-size:82px}
  .screen>.primary{position:sticky;bottom:0;flex:0 0 56px;min-height:56px;width:100%;margin-top:10px;z-index:20;box-shadow:0 -12px 28px rgba(231,236,243,.92)}
  .avatar-grid{grid-template-columns:repeat(5,1fr);gap:7px;margin:6px 0;max-height:none;min-height:0;flex:1;overflow:auto;padding:3px 3px 72px}.avatar{border-radius:15px;font-size:30px}
  .chosen{margin:5px 0 2px}.chosen-face{width:60px;height:60px;font-size:40px}
  [data-screen="type"]{padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .mobile-packs{display:block;min-height:0;overflow:auto;flex:1;padding:1px}.mobile-pack{margin-bottom:8px;border-radius:18px}.mobile-head{padding:10px 12px;grid-template-columns:42px 1fr auto;gap:10px}.mobile-head .pack-icon{width:42px;height:42px;border-radius:13px;font-size:23px}.mobile-list .testata{padding:10px 11px;grid-template-columns:38px 1fr auto;gap:9px}.mobile-list .testata-icon{width:38px;height:38px;border-radius:12px;font-size:20px}.mobile-list .testata strong{font-size:13px}.mobile-list .testata small{font-size:11px}.sound{font-size:9px;padding:5px 7px}
  .footer-bar{position:static;flex:0 0 auto;margin:10px 0 0;padding-bottom:max(6px,env(safe-area-inset-bottom))}
  [data-screen="confirm"]{overflow:auto;padding-bottom:84px}.pair{margin:9px 0 5px}.pair span{font-size:62px}label{margin-top:8px}input{margin-top:5px;padding:12px 13px}.impact-stage{height:300px;flex:0 0 300px}.impact-face{font-size:88px;top:112px}.impact-screen .sub{margin-top:0}.impact-screen{padding-top:54px}.impact-screen .micro-header{top:max(14px,env(safe-area-inset-top));left:16px;right:16px}
  [data-screen="result"]{overflow:auto;padding-bottom:max(10px,env(safe-area-inset-bottom))}.result-pair{height:160px;flex:0 0 160px}.result-pair span{font-size:76px}.success{width:46px;height:46px;font-size:23px;margin-bottom:10px}.result h2{font-size:30px}.summary{margin:10px 0;padding:12px}.actions{margin-top:auto;width:100%;padding-top:6px}.share-button{min-height:52px}.action-row{grid-template-columns:1fr 1fr}.action-row button{min-height:50px;padding:0 10px;font-size:13px}.exit-button small{font-size:9px}
}
@media(max-width:390px) and (max-height:844px){
  .collab{font-size:9px}.brand{font-size:19px}.hero span{font-size:74px}.avatar-grid{grid-template-columns:repeat(5,1fr)}.avatar{font-size:27px}.result-pair{height:140px;flex-basis:140px}.result-pair span{font-size:68px}.summary p{font-size:11px}
}

/* Final identity and delivery sequence */
.collab{display:inline-flex;align-items:center;color:#747a84;text-decoration:none;transition:opacity .2s ease,color .2s ease}.collab:hover{opacity:1;color:#090a0d}.system-footer{position:fixed;left:0;right:0;bottom:0;z-index:40;margin:0;padding:10px 16px;text-align:center;font-size:10px;font-weight:720;letter-spacing:.12em;color:#8b8f98;background:linear-gradient(180deg,rgba(231,236,243,0),rgba(231,236,243,.94) 45%);pointer-events:none}.screen>.primary+.system-footer{margin-top:0}.result .system-footer{width:100%}
.calibration-steps{width:min(360px,100%);display:grid;gap:8px;margin-top:22px;flex:0 0 auto}.calibration-steps p{margin:0;padding:11px 15px;border-radius:14px;background:#f0f2f5;color:#777e88;font-size:13px;opacity:.32;transform:translateY(4px);transition:.25s ease}.calibration-steps p.active{opacity:1;transform:none;color:#111318}.calibration-steps p.done{opacity:.62}
.install-table{border-radius:16px;background:#eef0f5;overflow:hidden;margin:24px 0 0;flex:0 0 auto}.install-table-caption{width:100%;border:0;background:transparent;cursor:pointer;padding:16px 54px 16px 18px;position:relative;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9a9fa8;text-align:center}.install-table-arrow{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:9px;background:#dbe6fb;color:#1856c5;display:grid;place-items:center;font-size:14px;transition:transform .3s ease}.install-table-caption[aria-expanded="true"] .install-table-arrow{transform:translateY(-50%) rotate(180deg)}.install-table-panel{max-height:0;overflow:hidden;transition:max-height .35s ease}.install-table-panel.open{max-height:700px}.install-table-row{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(8,12,20,.1);background:#fff}.install-col{padding:16px 18px;border-right:1px solid rgba(8,12,20,.1)}.install-col:last-child{border-right:0}.install-col-label{display:block;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8b8f98;margin-bottom:8px}.install-col p{margin:0;font-size:13px;line-height:1.5;color:#30343b}.install-col p b{color:#050507;font-weight:800}
@media(max-width:760px){.install-table-row{grid-template-columns:1fr}.install-col{border-right:0;border-bottom:1px solid rgba(8,12,20,.1)}.install-col:last-child{border-bottom:0}.install-table-panel.open{max-height:900px}}
@media(max-width:760px){.system-footer{font-size:8px;letter-spacing:.1em;padding:8px 16px calc(8px + env(safe-area-inset-bottom))}.screen{padding-bottom:calc(34px + max(10px,env(safe-area-inset-bottom)))}.screen>.primary+.system-footer{margin-top:0}.calibration-steps p{font-size:12px;padding:9px 13px}}
