.recipeheadbuttons .atlas-share-trigger,.atlas-share-trigger {
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:46px;padding:8px 13px;border:1px solid #ae9370;border-radius:6px;
  background:#30231c;color:#f8ead4;font:570 1rem/1.22 var(--sans,sans-serif);cursor:pointer;
}
.atlas-share-trigger::before {
  content:"";width:18px;height:18px;flex:none;background:currentColor;
  mask:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3m-4 4 4-4 4 4M5 12v8h14v-8'/%3E%3C/svg%3E");
}
.atlas-share-trigger:hover {background:#4d3829;color:#fff5e3;}
.guest-serving-share {margin-block:1rem;}
dialog.atlas-share {
  box-sizing:border-box;position:fixed;inset:0;margin:auto;
  width:min(32rem,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);
  padding:clamp(20px,3vw,32px);overflow:auto;overscroll-behavior:contain;
  border:1px solid #584a3e;border-radius:18px;background:#29231f;color:#fbefdf;
  text-align:start;box-shadow:0 22px 78px #100a078c;
}
dialog.atlas-share::backdrop {background:rgb(16 12 10 / 64%);backdrop-filter:blur(2px);}
.atlas-share [hidden] {display:none!important;}
.atlas-share-header {display:flex;align-items:center;gap:16px;position:relative;}
.atlas-share-header img {flex:none;width:76px;height:76px;object-fit:cover;border-radius:12px;}
.atlas-share-heading {flex:1;min-width:0;}
.atlas-share .atlas-share-header h2 {margin:0 0 4px;color:#ddc8ad;font:550 1rem/1.3 var(--sans,sans-serif);letter-spacing:normal;}
.atlas-share .atlas-share-title {margin:0;color:#fff0d9;font:500 clamp(1.8rem,3vw,2.45rem)/1.08 var(--ser,serif);overflow-wrap:anywhere;}
.atlas-share [data-share-close] {
  display:grid;place-items:center;flex:none;align-self:flex-start;width:44px;height:44px;
  margin:-6px -6px 0 0;padding:0;border:0;border-radius:50%;color:#e6d6c4;background:#372f29;cursor:pointer;
}
.atlas-share [data-share-close] svg {width:19px;height:19px;}
.atlas-share-channels {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:6px;
  margin:clamp(20px,3vw,28px) 0;
}
.atlas-share-channels:has([data-share-facebook]) {grid-template-columns:repeat(5,minmax(0,1fr));}
.atlas-share-channels [data-share-facebook] {--share-icon-bg:#345baf;}
.atlas-share-channels form {display:flex;margin:0;}
.atlas-share .atlas-share-channels :is(a,button) {
  display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:9px;min-width:0;padding:4px 0 6px;border:0;border-radius:10px;text-align:center;
  color:#f9eede;background:transparent;cursor:pointer;text-decoration:none;font:560 1rem/1.35 var(--sans,sans-serif);
}
.atlas-share-channels svg {
  box-sizing:content-box;width:26px;height:26px;padding:13px;border-radius:50%;color:#fff;background:var(--share-icon-bg);
}
.atlas-share-channels [data-share-telegram] {--share-icon-bg:#267799;}
.atlas-share-channels [data-share-whatsapp] {--share-icon-bg:#35724d;}
.atlas-share-channels [data-share-max] {--share-icon-bg:#695393;}
.atlas-share-channels [data-share-vk] {--share-icon-bg:#385e94;}
.atlas-share-actions {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 16px;}
.atlas-share-actions button,.atlas-share-open {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 4px;border:0;
  border-radius:6px;color:#e7d5bd;background:transparent;font:560 1rem/1.35 var(--sans,sans-serif);cursor:pointer;
}
.atlas-share-actions :is([data-share-copy-url],:first-child[data-share-copy]) {
  flex:0 0 100%;min-height:50px;margin-bottom:2px;padding:10px 14px;border-radius:9px;
  color:#281e17;background:#ead1a8;font-weight:680;
}
.atlas-share-actions button::before {
  content:"";flex:none;width:18px;height:18px;background:currentColor;mask:var(--share-action-icon) center/contain no-repeat;
}
.atlas-share-actions [data-share-copy-url] {
  --share-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m9 15 6-6m-5 5a4 4 0 0 1 0-6l3-3a4 4 0 1 1 6 6l-2 2m-3-3a4 4 0 0 1 0 6l-3 3a4 4 0 0 1-6-6l2-2'/%3E%3C/svg%3E");
}
.atlas-share-actions [data-share-copy] {
  --share-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='8' y='7' width='12' height='14' rx='2'/%3E%3Cpath d='M16 4H5a1 1 0 0 0-1 1v12m7-5h6m-6 4h5'/%3E%3C/svg%3E");
}
.atlas-share-actions [data-share-system] {
  --share-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E");
}
.atlas-share-actions [data-share-browser-save] {
  --share-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h11v17l-5.5-3.6-5.5 3.6z'/%3E%3C/svg%3E");
}
.atlas-share .atlas-browser-help {
  box-sizing:border-box;flex-basis:100%;margin:3px 0 6px;padding:10px 14px;border-left:2px solid #c7a476;
  background:#342c26;color:#f6e8d6;font:400 1rem/1.5 var(--sans,sans-serif);text-align:start;
}
.atlas-browser-help a {color:#ffd49b;text-decoration:none;}
.atlas-browser-help a:hover {color:#fff1d5;}
.atlas-share .atlas-share-status,.atlas-share-preview {
  display:block;margin:12px 0 0;color:#eddec9;font:400 1rem/1.45 var(--sans,sans-serif);
}
.atlas-share .atlas-share-status:empty {margin:0;}
.atlas-share-preview textarea {box-sizing:border-box;width:100%;min-height:48px;max-height:26dvh;padding:8px;margin-top:4px;border:1px solid #86745d;border-radius:7px;background:#191613;color:#f7eddf;font:400 1rem/1.4 var(--sans,sans-serif);}
.atlas-share-trigger:focus-visible,.atlas-share :is(button,a,textarea):focus-visible {outline:2px solid #b8d7e6;outline-offset:2px;}
@media (hover:hover) {
  .atlas-share .atlas-share-channels :is(a,button):hover,.atlas-share [data-share-close]:hover {color:#ffdda9;background:#3a322c;}
  .atlas-share-actions button:hover {color:#fff0d5;background:#3a322c;}
  .atlas-share-actions :is([data-share-copy-url],:first-child[data-share-copy]):hover {color:#241c15;background:#f6dfbb;}
}
@media (max-width:540px) {
  dialog.atlas-share {
    inset:auto 0 0;margin:0 auto;width:100%;max-height:calc(100dvh - 8px);border-radius:16px 16px 0 0;
    padding:12px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  }
  .atlas-share-header {gap:10px;}
  .atlas-share-header img {width:46px;height:46px;border-radius:7px;}
  .atlas-share .atlas-share-header h2 {margin-bottom:2px;font-size:.8rem;}
  .atlas-share .atlas-share-title {font-size:1.4rem;line-height:1.08;}
  .atlas-share [data-share-close] {align-self:center;margin:0 -3px 0 0;background:transparent;}
  .atlas-share-channels {gap:2px;margin:10px 0 9px;}
  .atlas-share .atlas-share-channels :is(a,button) {
    align-items:center;justify-content:center;gap:3px;min-height:50px;padding:0;
    font-size:clamp(.69rem,2.85vw,.78rem);line-height:1.2;
  }
  .atlas-share-channels svg {width:18px;height:18px;padding:7px;}
  .atlas-share-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px;}
  .atlas-share-actions button,.atlas-share-actions :is([data-share-copy-url],:first-child[data-share-copy]) {
    gap:5px;min-width:0;min-height:44px;margin:0;padding:3px 5px;font-size:.82rem;line-height:1.25;
  }
  .atlas-share-actions button::before {width:15px;height:15px;}
  .atlas-share-actions [data-share-copy-url] {background:#ddc6a5;}
  .atlas-share-actions .atlas-browser-help {grid-column:1/-1;}
  .atlas-share:not(.atlas-share-keyboard) :is(button,a,textarea):focus-visible {outline:none;box-shadow:none;}
}
