.phone{--u:calc(100cqw / 120);--pages:1;--step:calc(84 * var(--u));--at:calc(var(--shown) * -1 * var(--step));aspect-ratio:120/240;color:#2d2a24;-webkit-user-select:none;user-select:none;background:url(/examples/ink/components-children4-phone-case.svg) 0 0/100% no-repeat;width:100%;max-width:22rem;margin:0 auto;font-family:Shantell Sans,sans-serif;position:relative;container-type:inline-size}.phone:has(.screen:nth-child(2)){--pages:2}.phone:has(.screen:nth-child(3)){--pages:3}.phone:has(.screen:nth-child(4)){--pages:4}.phone:has(.screen:nth-child(5)){--pages:5}.phone:has(.screen:nth-child(6)){--pages:6}.phone .notch{z-index:1;top:calc(6 * var(--u));left:calc(44 * var(--u));width:calc(32 * var(--u));height:calc(9 * var(--u));background:url(/examples/ink/components-children4-phone-notch.svg) 0 0/100% no-repeat;position:absolute}.phone .glass{top:calc(6 * var(--u));left:calc(8 * var(--u));width:calc(104 * var(--u));height:calc(228 * var(--u));border-radius:calc(14 * var(--u));cursor:grab;touch-action:pan-y;position:absolute;overflow:hidden}.phone .glass:focus-visible{outline-offset:2px;outline:2px dashed #2d2a24}.phone .track{gap:calc(4 * var(--u));padding:calc(16 * var(--u)) 0 0 calc(12 * var(--u));translate:var(--at) 0;display:flex}.phone .held{cursor:grabbing}.phone .screen{width:calc(80 * var(--u));height:calc(186 * var(--u));background:url(/examples/ink/components-children4-phone-card.svg) 0 0/100% no-repeat;flex:none;position:relative}.phone .status{padding:calc(4 * var(--u)) calc(7 * var(--u)) 0;background:url(/examples/ink/components-children4-phone-status.svg) no-repeat;background-position:right calc(7 * var(--u)) bottom 0;background-size:calc(16 * var(--u));font-size:calc(6 * var(--u));font-weight:700;line-height:calc(8 * var(--u));margin:0}.phone .title{margin:calc(4 * var(--u)) calc(7 * var(--u));font-size:calc(12 * var(--u));font-weight:700;line-height:1.1}.phone .content{gap:calc(4 * var(--u));padding:0 calc(6 * var(--u));font-size:calc(7 * var(--u));flex-direction:column;display:flex}.phone .content p{margin:0}.phone .home-bar{bottom:calc(5 * var(--u));left:calc(25 * var(--u));width:calc(30 * var(--u));height:calc(3 * var(--u));background:url(/examples/ink/components-children4-phone-home-bar.svg) 0 0/100% no-repeat;position:absolute}.phone .bubble{max-width:76%;padding:calc(3 * var(--u)) calc(5 * var(--u)) calc(6 * var(--u));background:url(/examples/ink/components-children4-phone-theirs.svg) 0 0/100% 100% no-repeat;align-self:flex-start}.phone [data-from=me]{background-image:url(/examples/ink/components-children4-phone-mine.svg);align-self:flex-end}.phone .content:has(.tile){grid-template-columns:1fr 1fr;display:grid}.phone .tile{margin:0}.phone .tile i{aspect-ratio:1;background:url(/examples/ink/components-children4-phone-photos.svg) 0 0/400% 100% no-repeat;background-position:calc(var(--k,0) * 100% / 3) 0;display:block}.phone .cat{--k:1}.phone .hills{--k:2}.phone .cake{--k:3}.phone .song{align-items:center;gap:calc(4 * var(--u));padding-bottom:calc(3 * var(--u));border-bottom:1px solid #2d2a2440;display:flex}.phone .song:before,.phone .song:after{content:"";width:calc(12 * var(--u));aspect-ratio:1;background:url(/examples/ink/components-children4-phone-album.svg) 0 0/100% no-repeat;flex:none}.phone .song:after{width:calc(6 * var(--u));background-image:url(/examples/ink/components-children4-phone-play.svg);margin-left:auto}.phone .dots{top:calc(206 * var(--u));width:calc(var(--pages) * 9 * var(--u));height:calc(14 * var(--u));background:radial-gradient(circle, #2d2a2459 calc(2 * var(--u)), #0000 calc(2.4 * var(--u))) 0 50% / calc(9 * var(--u)) 100% repeat-x;cursor:pointer;margin:0;position:absolute;left:50%;translate:-50%}.phone .dots:after{content:"";top:0;left:calc(var(--shown) * 9 * var(--u));width:calc(9 * var(--u));background:radial-gradient(circle, #2d2a24 calc(2.4 * var(--u)), #0000 calc(2.8 * var(--u)));height:100%;position:absolute}.phone .dots:before{content:"swipe";padding-left:calc(18 * var(--u));background:url(/examples/ink/components-children4-phone-arrows.svg) 0 no-repeat;background-size:calc(16 * var(--u));color:#8a8478;font-size:calc(7 * var(--u));line-height:calc(14 * var(--u));pointer-events:none;position:absolute;top:90%;left:50%;translate:-50%}.phone:has(.swiped) .dots:before{content:none}@media (prefers-reduced-motion:no-preference){.phone .track:not(.held){transition:translate .26s cubic-bezier(.3,1.35,.5,1)}.phone .dots:after{transition:left .2s ease-out}}
