.share-launch{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px;border-left:5px solid var(--cyan)}.share-launch p{margin:4px 0 0}.share-launch h3{margin:0}.share-card-dialog{width:min(1100px,96vw);max-height:94dvh;overflow:auto;border:3px solid #b694ff;background:#191a30;color:#f3f5fb;padding:24px;box-shadow:8px 8px 0 #080b19;font-family:var(--pixel-font);font-size:22px}.share-card-dialog::backdrop{background:#070a18da}.share-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:2px dashed #726188;padding-bottom:12px;margin-bottom:18px}.share-card-heading h2{margin:4px 0}.share-card-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;align-items:start}.share-card-dialog .field{margin-bottom:12px;min-width:0}.share-card-dialog fieldset{border:1px solid #74618e;margin:14px 0;padding:12px}.share-card-dialog legend{color:#9ff2d9;font-size:23px}.share-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.share-presets label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px 5px;background:var(--share-bg);border:2px solid #74618e;cursor:pointer;text-align:center;color:var(--share-accent)}.share-presets label:has(input:checked){border-color:var(--share-accent);box-shadow:inset 0 -4px var(--share-accent)}.share-presets input{accent-color:var(--share-accent)}.share-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.share-options label{display:flex;align-items:center;gap:8px}.share-options input{width:20px;height:20px;accent-color:#79f4d0;flex-shrink:0}.share-preview-wrap{min-height:260px;display:flex;align-items:center;justify-content:center;background:#0a0e1c;border:2px solid #655477;padding:10px}.share-preview-wrap img{display:block;max-width:100%;max-height:65dvh;width:auto;height:auto;object-fit:contain}.share-card-dialog [hidden]{display:none!important}.share-card-actions{display:flex;gap:8px;flex-wrap:wrap}.share-card-dialog button{font-size:21px}.share-card-dialog .hint{font-size:18px;line-height:1.35}.share-card-dialog #shareCardLoading{padding:20px;text-align:center}.share-card-result{position:sticky;top:0}.share-card-dialog :focus-visible{outline:3px solid #79f4d0;outline-offset:3px}@media(max-width:700px){.share-card-dialog{padding:14px}.share-card-layout{grid-template-columns:1fr}.share-card-result{position:static}.share-preview-wrap img{max-height:none;width:100%}.share-options{grid-template-columns:1fr 1fr}.share-card-heading h2{font-size:32px}.share-card-dialog .form-grid{grid-template-columns:1fr}.share-launch button{width:100%}}
@media(min-width:701px){.share-preview-wrap img{max-height:45dvh}}
.share-mobile-jump{display:none}@media(max-width:700px){.share-card-dialog{width:calc(100vw - 28px);max-width:calc(100vw - 28px)}.share-mobile-jump{display:block;margin:0 0 14px}.share-card-result>.share-mobile-jump{margin-top:12px}}

button[data-share-card] {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 min-height:44px;
 max-width:100%;
 white-space:normal;
}
button[data-share-card] .companion-icon {
 flex:0 0 20px;
 width:20px;
 height:20px;
}
button[data-share-card]:focus-visible {
 outline:2px solid var(--cyan);
 outline-offset:2px;
}
@media(max-width:540px) {
 button[data-share-card] {width:100%}
}
.share-meal-options label:not(.share-avatar-choice){display:none}
#accountSharedMeals{scroll-margin-block-start:5rem}
