.recipe-saves-layer{position:absolute;inset:0;z-index:200;display:flex;align-items:flex-end;background:transparent;transition:background 300ms ease;}
.recipe-saves-layer[hidden]{display:none;}
.recipe-saves-layer.is-open{background:rgba(0,0,0,.6);}
.recipe-saves-sheet{width:100%;height:309px;background:#fff;border-radius:10px 10px 0 0;overflow:hidden;transform:translateY(100%);transition:transform 300ms cubic-bezier(.22,.61,.36,1);outline:0;}
.is-open>.recipe-saves-sheet{transform:translateY(0);}
.recipe-saves-heading{height:63px;position:relative;display:flex;align-items:center;justify-content:center;gap:7px;padding-top:8px;box-sizing:border-box;background:linear-gradient(160.921deg,#e6003d 14.53%,#ff626a 81.837%);color:white;touch-action:none;}
.recipe-saves-heading em{font:italic 16px/19px Georgia,serif;}
.recipe-saves-handle{position:absolute;top:10px;left:calc(50% - 10px);width:20px;height:3px;border-radius:2px;background:white;}
.recipe-saves-content{height:186px;box-sizing:border-box;padding-top:16px;}
.recipe-saves-content p{font:500 14px/19px 'Avenir Next',sans-serif;margin:0 20px 16px;color:#000;}
.recipe-boards{display:flex;gap:20px;overflow-x:auto;padding:0 20px;scrollbar-width:none;overscroll-behavior-x:contain;}
.recipe-boards::-webkit-scrollbar{display:none;}
.recipe-board{flex:0 0 90px;display:flex;flex-direction:column;gap:5px;padding:0;border:0;background:none;text-align:left;color:#1c1c1c;font:600 12px/16px 'Avenir Next Condensed',sans-serif;cursor:pointer;}
.recipe-board-image{width:90px;height:90px;position:relative;overflow:hidden;border-radius:6px;display:block;}
.recipe-board-image>img:first-child{display:block;width:90px;height:90px;object-fit:cover;}
.recipe-board[aria-pressed=true] .recipe-board-image:after{content:'';position:absolute;inset:0;background:#0008;}
.recipe-board-image>.recipe-board-check{display:none;position:absolute;top:33px;left:33px;width:24px;height:24px;z-index:1;}
.recipe-board[aria-pressed=true] .recipe-board-check{display:block;}
.recipe-saves-done{width:100%;height:60px;border:0;background:white;color:#ff626a;font:600 14px 'Avenir Next',sans-serif;letter-spacing:1.4px;cursor:pointer;}
.recipe-board-form{padding:0 20px;font:500 14px 'Avenir Next',sans-serif;}
.recipe-board-form label{display:block;}
.recipe-board-form input{width:100%;box-sizing:border-box;padding:8px;border:1px solid #bbb;border-radius:4px;font:400 16px 'Avenir Next',sans-serif;margin:6px 0;}
.recipe-board-form button{border:0;background:white;color:#ff626a;padding:8px 12px;font:600 12px 'Avenir Next',sans-serif;letter-spacing:1px;}
.recipe-boards[hidden],.recipe-board-form[hidden]{display:none;}
@media(prefers-reduced-motion:reduce){.recipe-saves-layer,.recipe-saves-sheet{transition:none;}}
/* Keep focus navigation inside the sheet from scrolling the phone shell. */
.device:has(.recipe-saves-layer:not([hidden])){overflow:hidden;clip-path:inset(0 round 48px);}
body.frameless .device:has(.recipe-saves-layer:not([hidden])){clip-path:inset(0 round 24px);}
body.minimal-frame .device:has(.recipe-saves-layer:not([hidden])){clip-path:inset(0 round 32px);}
/* New Board state: Figma 350:17016 and 350:17724. */
.recipe-saves-sheet.is-new-board{height:538px;border-radius:10px 10px 0 0;position:relative;}
.is-new-board>.recipe-saves-heading,.is-new-board>.recipe-saves-done,.is-new-board>.recipe-saves-content>p{display:none;}
.is-new-board .recipe-saves-content{padding:0;height:100%;}
.is-new-board .recipe-board-form{position:absolute;inset:0;padding:0;}
.recipe-new-handle{position:absolute;top:14px;left:calc(50% - 10px);width:20px;height:4px;border-radius:2px;background:#c8c8c8;}
.is-new-board .recipe-board-form label{position:absolute;top:30px;left:50%;right:auto;width:max-content;transform:translateX(-50%);padding-left:2px;text-align:center;font:700 14px/19px 'Avenir Next',sans-serif;letter-spacing:2px;}
.is-new-board .recipe-board-cancel{position:absolute;right:10px;top:23px;padding:7px 6px;font:600 14px/19px 'Avenir Next',sans-serif;letter-spacing:0;}
.recipe-new-cover{position:absolute;top:59px;left:50%;transform:translateX(-50%);width:90px;height:90px;object-fit:cover;border-radius:6px;}
.is-new-board .recipe-board-form input{position:absolute;top:151px;left:20px;width:calc(100% - 40px);height:26px;padding:0;margin:0;border:0;border-radius:0;outline:0;background:white;text-align:center;color:#1c1c1c;caret-color:#1c1c1c;font:600 16px/22px 'Avenir Next Condensed',sans-serif;}

.is-new-board .recipe-board-form .recipe-board-save{position:absolute;top:193px;left:0;width:100%;height:60px;padding:0;border:0;border-radius:0;background:#ff626a;color:#fff;font:600 14px/20px 'Avenir Next',sans-serif;letter-spacing:1.4px;cursor:pointer;box-shadow:2px 2px 5px #0000001a;}
.is-new-board .recipe-board-form .recipe-board-save:disabled{background:#979797;opacity:1;cursor:default;}

.recipe-header-control.recipe-restored-focus{outline:none!important;box-shadow:none!important;}

/* Updated recipe controls from Figma 347:14207 and scroll states 347:13383. */
.recipe-updated-hero{position:absolute;inset:0 0 auto;height:311px;overflow:hidden;background:#fff;}
.recipe-updated-hero>.recipe-updated-photo{position:absolute;left:-49.547px;top:-5.831px;width:434.262px;height:325.578px;max-width:none;}
.recipe-updated-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,#0008,transparent 147px),#0000001a;pointer-events:none;}
.recipe-updated-hero>.recipe-play{position:absolute;left:305px;top:241px;width:50px;height:50px;z-index:1;}
.recipe-header-control{position:absolute;top:58px;width:38px;height:44px;border:0;background:transparent;padding:0;z-index:2;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.recipe-header-control img{display:block!important;margin:auto;width:18px!important;height:22px;object-fit:contain;}
.recipe-header-control[data-recipe-action=add]{left:252px;}
.recipe-header-control[data-recipe-action=add] img{width:23px!important;height:24px;}
.recipe-header-control[data-recipe-action=share]{left:288px;}
.recipe-header-control[data-recipe-action=save]{left:325px;}
.recipe-header-control[data-recipe-action=save] img{width:16px!important;height:21px;}
#recipe-hero-wrap>.hotspot{z-index:3;}
.recipe-updated-hero>.recipe-back-art{position:absolute;left:23px;top:73px;width:18px;height:14px;filter:brightness(0) invert(1);z-index:1;}

.demo-save-trigger:focus,.demo-save-trigger:focus-visible{outline:none!important;box-shadow:none!important;}/* Morph one drawer between its two states instead of stacking panels. */
.recipe-saves-sheet{position:relative;transition:transform 300ms cubic-bezier(.22,.61,.36,1),height 350ms cubic-bezier(.22,.61,.36,1);}
.recipe-saves-sheet.is-new-board .recipe-boards{display:none!important;}
.recipe-saves-sheet.is-new-board .recipe-board-form{background:#fff;}
.recipe-saves-sheet.is-new-board .recipe-board-form:not([hidden]){animation:board-content-in 350ms ease both;}
@keyframes board-content-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.recipe-saves-sheet{transition:none}.recipe-saves-sheet.is-new-board .recipe-board-form:not([hidden]){animation:none}}
