.friend-portrait{aspect-ratio:1/1.7;background-repeat:no-repeat;background-size:300% 100%;border-radius:28px}.friend-card{color:#234b49;border-radius:28px!important;padding:24px!important;display:block!important}.friend-card .friend-portrait{aspect-ratio:auto;background-size:300%;width:100%;height:240px;background-position-y:50%!important}.friend-card small{letter-spacing:.12em;color:#6760a3;margin-top:18px;font-weight:800;display:block}.friend-card h2{margin:12px 0}.friend-card p{line-height:1.7}.new-friend-grid{grid-template-columns:repeat(3,1fr);gap:22px;display:grid}.friends-game{color:#253f52;min-height:100vh;padding:24px 24px 110px}.friends-game button{cursor:pointer;color:#253f52;min-height:48px;font-weight:800;font:inherit;background:#fff;border:1px solid #ffffffc9;border-radius:18px;padding:12px 18px;box-shadow:0 4px #253f5212}.friends-game button:disabled{cursor:default;opacity:.55}:is(.friends-game button:focus-visible,.friends-game a:focus-visible){outline-offset:4px;outline:4px solid #ac5fe1}.friends-game button[aria-pressed=true]{background:#d9c9ff;border-color:#a687e7}.friends-nav{background:#fffb;border-radius:25px;justify-content:space-between;align-items:center;gap:12px;max-width:1250px;margin:auto;padding:16px 22px;display:flex}.friends-nav>div{align-items:center;gap:10px;display:flex}.friends-title{text-align:center;max-width:800px;margin:40px auto 30px}.friends-title>span{letter-spacing:.2em;font-size:12px;font-weight:800}.friends-title h1{margin:15px 0;font-size:clamp(30px,4vw,52px);line-height:1.15}.friends-title p{font-size:17px;line-height:1.6}.friends-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:24px;max-width:1250px;margin:auto;display:grid}.friends-console{background:#ffffffc9;border-radius:30px;padding:14px;box-shadow:0 20px 70px #38527514}.friends-hud{justify-content:space-between;align-items:center;padding:4px 10px 16px;display:flex}.friends-stage{background:linear-gradient(150deg,#e0f7f4,#c3e9f2);border-radius:24px;min-height:510px;position:relative;overflow:hidden}.friends-stage.luma{color:#fff;text-align:center;background:radial-gradient(at top,#4d4d8e,#202a4f);padding:16px}.friends-stage.toto{background:linear-gradient(#8fddfb,#e0f7f0)}.friends-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10;background:#f6f9ffcc;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.friends-overlay>div{text-align:center;color:#253f52;background:#fff;border-radius:30px;max-width:440px;padding:30px;box-shadow:0 15px 40px #31415b1a}.friends-overlay span{color:#9880ca;font-size:28px;font-weight:900}.friends-overlay h2{margin:14px 0;font-size:30px}.friends-overlay p{line-height:1.7}.friends-overlay button{margin:6px}.friends-game .friends-primary{color:#fff;background:#7656c6;padding:16px 30px}.friends-aside{background:#ffffffb8;border-radius:28px;padding:22px}.friends-aside>.friend-portrait{background-size:300% 100%;width:110px;height:180px;margin:auto}.friends-aside h2{margin:10px 0}.friends-aside p{font-size:14px;line-height:1.65}.friends-modes{gap:9px;margin:18px 0;display:grid}.friends-levels{gap:5px;margin-bottom:20px;display:flex}.friends-levels button{flex:1;padding:8px}.friends-aside small{margin:15px 0;line-height:1.6;display:block}.friends-aside a{font-weight:800}.friends-notice{min-height:52px;padding:4px 12px;font-size:15px;line-height:1.6}.workshop-orbit{height:365px;position:relative}.workshop-orbit>.friend-portrait{opacity:.3;width:26%;height:90%;position:absolute;top:5%;left:37%}.workshop-parts{position:absolute;inset:0}.friends-game .part{touch-action:none;background:#ffffffe6;border-radius:24px;place-items:center;width:70px;height:70px;padding:10px;animation:2.8s ease-in-out infinite part-bob;display:grid;position:absolute;box-shadow:0 9px #629b9b25}.friends-game .part.selected{outline:4px solid #ae75da;transform:scale(1.1)}.shape{background:#ed987c;width:35px;height:35px;display:block;box-shadow:inset -5px -5px 8px #0001}.shape-0{background:#41b7ba;border-radius:50%}.shape-1{clip-path:polygon(50% 0,100% 100%,0 100%);background:#a382dd}.shape-2{background:#f6b759;border-radius:6px}.shape-boxes{gap:12px;padding:15px;display:flex}.shape-boxes button{border-bottom:7px solid #c0d6d9;flex-direction:column;flex:1;align-items:center;gap:10px;min-height:100px;display:flex}.light-pads{grid-template-columns:1fr 1fr;gap:14px;max-width:390px;margin:12px auto;display:grid}.friends-game .light-pad{color:#fff;border:3px solid #fff5;min-height:100px;font-size:42px;transition:transform .15s,filter .15s;box-shadow:inset 0 -10px 20px #0002}.light-pad.pad-0{background:#cf7662}.light-pad.pad-1{background:#9c72d7}.light-pad.pad-2{background:#399e98}.light-pad.pad-3{background:#b6902d}.friends-game .light-pad:disabled{opacity:1}.light-pad.lit{filter:brightness(1.7);transform:scale(1.06);box-shadow:0 0 30px #fff8}.luma>.friend-portrait{width:88px;height:135px;margin:auto}.luma-dancing{animation:.5s ease-in-out infinite alternate luma-dance}.light-turn{min-height:24px;margin:6px;font-weight:800}.replay-lights{margin:8px}.flight-field{outline-offset:-6px;height:510px;position:relative;overflow:hidden}.friends-game .flight-lane{height:30%;box-shadow:none;background:0 0;border:0;border-bottom:2px dashed #fff7;border-radius:0;width:100%;position:absolute;left:0;right:0}.flight-lane:first-child{top:5%}.flight-lane:nth-child(2){top:35%}.flight-lane:nth-child(3){top:65%}.friends-game .flight-lane.current{background:#fff2}.toto-fly{pointer-events:none;z-index:2;width:90px;height:125px;transition:top .2s;position:absolute;left:10%;transform:rotate(7deg)}.toto-fly .friend-portrait{background-size:300% 100%;border-radius:50%;width:100%;height:100%}.toto-fly.bumped{transform:rotate(-12deg)}.flying-object{pointer-events:none;filter:drop-shadow(0 7px 5px #46748025);font-size:48px;position:absolute}.flying-object.letter{color:#8b62c1;text-align:center;background:#fff2c7;border-radius:12px;width:58px;height:52px;font-size:39px}.flying-object.cloud{color:#fff}.flight-controls{gap:14px;display:flex}.flight-controls button{flex:1}.friends-game .petu-guide{margin-top:18px}@keyframes part-bob{50%{translate:0 -10px}}@keyframes luma-dance{to{transform:rotate(8deg)translateY(-5px)}}@media (max-width:800px){.friends-layout{grid-template-columns:1fr}.friends-aside>.friend-portrait{float:right;margin:0 0 10px 15px}.new-friend-grid{grid-template-columns:1fr}.friends-aside{padding:20px}.friends-game{padding:12px 10px 110px}.friends-nav{flex-wrap:wrap;padding:12px}.friends-title{margin:28px auto}.friends-nav>strong{display:none}.friends-nav>div{gap:5px}.friends-nav button{padding:10px;font-size:12px}.friends-stage{min-height:460px}.workshop-orbit{height:310px}.friends-game .part{width:56px;height:56px;padding:8px}.shape-boxes{gap:6px;padding:10px}.shape-boxes button{padding:8px;font-size:12px}.shape{width:30px;height:30px}.flight-field{height:460px}.toto-fly{width:66px;height:100px}.friends-overlay>div{padding:20px}.friends-overlay h2{font-size:26px}.friend-card .friend-portrait{height:230px}.light-pads{gap:10px}.friends-game .light-pad{min-height:85px}}@media (prefers-reduced-motion:reduce){.part,.luma-dancing{animation:none!important}.toto-fly,.light-pad{transition:none!important}}
