/* Input and presentation inside the running sample. The surrounding viewer has its own chrome. */
html[data-motion-platform="ios"]{--scene-hit:44px}
html[data-motion-platform="android"]{--scene-hit:48px}
.platform-grip{display:none}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-cmd{
  min-height:var(--scene-hit);touch-action:manipulation;
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-help button{
  width:var(--scene-hit);height:var(--scene-hit)
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene:is([data-demo="10"],[data-demo="11"]) .ff-page{
  min-height:clamp(250px,78cqw,350px);overflow:hidden;align-content:center
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-modal{
  display:block;margin:auto;overflow:auto;border:0;overscroll-behavior:contain
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-modal>img{
  width:100%;aspect-ratio:auto;object-fit:cover
}
html[data-motion-platform="ios"] .foundation-scene .ff-modal{
  width:min(100%,274px);padding:0;background:#faf9f5;border-radius:18px;color:#20211f;
  text-align:center;box-shadow:0 6px 27px #12161137
}
html[data-motion-platform="ios"] .foundation-scene .ff-modal>img{height:clamp(52px,19cqw,90px)}
html[data-motion-platform="ios"] .foundation-scene .ff-modal .ff-heading{margin:13px 14px 4px}
html[data-motion-platform="ios"] .foundation-scene .ff-modal h3{font-size:18px;letter-spacing:-.035em}
html[data-motion-platform="ios"] .foundation-scene .ff-modal p{font-size:13px;line-height:1.5;margin:4px 14px 12px}
html[data-motion-platform="ios"] .foundation-scene .ff-modal button{
  display:block;width:100%;border:0;border-top:1px solid #cdcdc7;border-radius:0;background:none;color:#075986
}
html[data-motion-platform="android"] .foundation-scene .ff-modal{
  width:min(100%,315px);padding:clamp(13px,4cqw,22px);background:#f0f0e8;border-radius:26px;
  box-shadow:0 5px 18px #13170c33
}
html[data-motion-platform="android"] .foundation-scene .ff-modal>img{height:clamp(45px,16cqw,76px);border-radius:12px}
html[data-motion-platform="android"] .foundation-scene .ff-modal .ff-heading{margin:12px 0 4px}
html[data-motion-platform="android"] .foundation-scene .ff-modal h3{font-size:21px;font-weight:600;letter-spacing:-.04em}
html[data-motion-platform="android"] .foundation-scene .ff-modal p{font-size:13px;margin:5px 0 3px;line-height:1.45}
html[data-motion-platform="android"] .foundation-scene .ff-modal button{
  display:block;margin-left:auto;border:0;border-radius:22px;background:none;color:#365738;padding-inline:14px
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-drawer-layer{
  flex-direction:column;align-items:center;justify-content:flex-end;overflow:hidden
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-drawer{
  position:relative;display:flex;flex-direction:column;width:100%;max-width:510px;min-height:0;max-height:100%;
  padding:0;border:0;justify-content:flex-start;overscroll-behavior:contain;
  animation:platform-detail-sheet-in .32s cubic-bezier(.2,.75,.23,1)
}
@keyframes platform-detail-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .platform-grip{
  display:grid;flex:none;place-items:center;height:25px;cursor:grab;touch-action:none;user-select:none
}
.platform-grip:active{cursor:grabbing}
.platform-grip::before{content:"";width:36px;height:4px;border-radius:10px;background:#8a8b81}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-drawer>.ff-cmd{
  position:relative;order:1;align-self:flex-end;margin:0 12px 6px;min-width:var(--scene-hit);border:0
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene .ff-drawer-copy{
  padding:0 16px;overflow:auto;min-height:0
}
html[data-motion-platform="ios"] .foundation-scene .ff-drawer{border-radius:18px 18px 0 0;background:#faf9f5}
html[data-motion-platform="ios"] .foundation-scene .ff-drawer-copy img{border-radius:7px;height:clamp(62px,18cqw,98px)}
html[data-motion-platform="ios"] .foundation-scene .ff-drawer>.ff-cmd{background:transparent;color:#075986}
html[data-motion-platform="android"] .foundation-scene .ff-drawer{border-radius:28px 28px 0 0;background:#f0f0e8}
html[data-motion-platform="android"] .foundation-scene .ff-drawer-copy{
  display:grid;grid-template-columns:clamp(58px,21cqw,110px) 1fr;column-gap:14px;align-items:start
}
html[data-motion-platform="android"] .foundation-scene .ff-drawer-copy>img{
  grid-column:1;grid-row:1 / span 4;width:100%;height:auto;aspect-ratio:.82;border-radius:12px;margin:0
}
html[data-motion-platform="android"] .foundation-scene .ff-drawer-copy>:not(img){grid-column:2}
html[data-motion-platform="android"] .foundation-scene .ff-drawer-copy p{margin:5px 0}
html[data-motion-platform="android"] .foundation-scene .ff-drawer>.ff-cmd{padding-inline:15px;border-radius:24px;background:#e1e7d9;color:#30482c}
html[data-motion-platform="ios"] .foundation-scene .ff-toast{inset:10px 8px auto;border-radius:17px;background:#f9f8f3;color:#20231f}
html[data-motion-platform="ios"] .foundation-scene .ff-toast .ff-cmd{margin-left:auto;border:0;color:#075986}
html[data-motion-platform="android"] .foundation-scene .ff-toast{inset:auto 9px 9px;border-radius:6px;background:#30362e}
html[data-motion-platform="android"] .foundation-scene .ff-toast .ff-cmd{margin-left:auto;border:0;color:#dcf0ce}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .motion-plate :is(.cursor-area,.tilt-area){touch-action:none;cursor:default}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .motion-plate .magnet-button{min-height:var(--scene-hit);touch-action:manipulation}
html[data-motion-platform="ios"] .motion-plate .magnet-button{border-radius:12px}
html[data-motion-platform="android"] .motion-plate .magnet-button{border-radius:24px}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .motion-plate .magnet-button:active{background:#e4ddc7}
html:is([data-motion-platform="ios"],[data-motion-platform="android"])[data-platform-example="49"] #detail{
  padding:0;align-items:safe end;justify-items:center;overflow:auto;overscroll-behavior:contain
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"])[data-platform-example="49"] #detail .sheet{
  width:min(100%,490px)
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"])[data-platform-example="49"] #detail .sheet::before{border:0;border-radius:inherit}
html[data-motion-platform="ios"][data-platform-example="49"] #detail .sheet{border-radius:19px 19px 0 0}
html[data-motion-platform="android"][data-platform-example="49"] #detail .sheet{border-radius:28px 28px 0 0}
html:is([data-motion-platform="ios"],[data-motion-platform="android"])[data-platform-example="57"] #plate{touch-action:none;cursor:default}
html:is([data-motion-platform="ios"],[data-motion-platform="android"])[data-platform-example="57"] .levels button{
  min-width:var(--scene-hit);min-height:var(--scene-hit)
}
html:is([data-motion-platform="ios"],[data-motion-platform="android"]) .foundation-scene.ff-reduced .ff-drawer{animation:none}
@media(prefers-reduced-motion:reduce){
  html[data-motion-platform] .foundation-scene .ff-drawer{animation:none}
}
