.profile-create-dialog{box-sizing:border-box;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);border:0;border-radius:0;background:var(--paper,#fffdf9);color:var(--ink,#193343);font-family:Georgia,"Times New Roman",serif;overflow:hidden;overscroll-behavior:contain}
.profile-create-dialog[open]{display:flex;flex-direction:column}
.profile-create-dialog{top:var(--profile-editor-top,0px);bottom:auto;height:var(--profile-editor-height,100dvh);overflow-y:auto}
.profile-create-dialog::backdrop{background:var(--paper,#fffdf9)}
.profile-editor-heading{box-sizing:border-box;display:flex;align-items:center;gap:12px;flex:none;width:min(760px,100%);margin:0 auto;padding:14px 18px;border-bottom:1px solid var(--line,#cbd5d8)}
.profile-editor-heading h2{flex:1;min-width:0;margin:0;color:var(--accent);font-size:1.1rem;line-height:1.25}
.profile-editor-heading .btn{flex:none;padding:10px 15px;font-size:.85rem}
.profile-create-close{flex:none;width:36px;height:36px;padding:0;border:1px solid var(--line,#cbd5d8);border-radius:50%;background:none;color:inherit;font:inherit;font-size:1.5rem;cursor:pointer}
.profile-create-dialog #profile-post-form{box-sizing:border-box;display:flex;flex-direction:column;flex:1;min-height:0;width:min(760px,100%);margin:0 auto}
.profile-editor-scroll{flex:1;min-height:0;overflow:auto;padding:20px;overscroll-behavior:contain}
.profile-editor-author{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.profile-editor-author img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:var(--soft,#e5eff2)}
.profile-editor-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.profile-create-dialog textarea{box-sizing:border-box;width:100%;min-height:96px;resize:none;padding:6px 0;border:0;border-radius:0;background:none;color:inherit;font:inherit;font-size:1.1rem;line-height:1.5;outline-offset:4px}
.profile-create-dialog textarea:focus-visible{outline:0;box-shadow:inset 0 -1px var(--accent)}
.profile-create-dialog textarea::placeholder{color:var(--muted,#586871);opacity:.8}
.profile-post-counter{text-align:end;font-size:.75rem;color:var(--muted,#586871);margin-top:6px}
.profile-editor-bottom{flex:none;padding:12px 20px 18px;border-top:1px solid var(--line,#cbd5d8)}
.profile-post-visibility{font-size:.75rem;line-height:1.4;color:var(--muted,#586871);margin:0 0 12px}
.profile-post-error{font-size:.85rem;color:var(--accent);overflow-wrap:anywhere}
.profile-post-error:empty{display:none}
.profile-post-attach-tools{display:flex;gap:8px;align-items:stretch;margin-bottom:14px}
.profile-post-attach-tools>button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 6px;border:1px solid var(--line,#cbd5d8);border-radius:12px;background:none;color:var(--ink,#193343);font:inherit;font-size:.75rem;line-height:1.2;cursor:pointer}
.profile-post-attach-tools svg{width:23px;height:23px;color:var(--accent)}
.profile-editor-add-recipe{display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;border:1px solid var(--line,#cbd5d8);border-radius:14px;background:var(--soft,#e5eff2);color:var(--ink,#193343);font:inherit;text-align:start;cursor:pointer}
.profile-editor-add-recipe>svg{flex:none;width:27px;height:27px;color:var(--accent)}
.profile-editor-add-recipe>span:nth-child(2){flex:1}
.profile-editor-add-recipe strong,.profile-editor-add-recipe small{display:block}
.profile-editor-add-recipe small{font-size:.75rem;margin-top:4px;color:var(--muted,#586871)}
.profile-create-dialog button:disabled{opacity:.55;cursor:wait}
.profile-create-dialog :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.profile-draft-photo{position:relative;margin:12px 0}
.profile-draft-photo>img{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:16px;background:var(--soft,#e5eff2)}
.profile-attachment-remove{flex:none;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--line,#cbd5d8);border-radius:50%;background:var(--paper,#fffdf9);color:var(--ink,#193343);font:inherit;font-size:1.3rem;cursor:pointer}
.profile-draft-photo>.profile-attachment-remove{position:absolute;top:8px;right:8px}
.profile-draft-recipe{display:flex;align-items:center;gap:10px;padding:12px;margin:12px 0;border:1px solid var(--line,#cbd5d8);border-radius:14px}
.profile-draft-recipe>img,.profile-draft-recipe>svg{flex:none;width:52px;height:52px;border-radius:10px;object-fit:cover}
.profile-draft-recipe>span{flex:1;min-width:0;overflow-wrap:anywhere}
.profile-draft-recipe small{display:block;font-size:.7rem;color:var(--muted,#586871);margin-bottom:4px}
.profile-draft-recipe strong{font-size:.9rem}
.profile-recipe-picker{box-sizing:border-box;flex:1;min-height:0;width:min(760px,100%);margin:0 auto;padding:20px;overflow:auto}
.profile-recipe-picker>p{font-size:.9rem;margin:0 0 14px}
.profile-recipe-picker>input{box-sizing:border-box;width:100%;padding:12px;margin-bottom:14px;border:1px solid var(--line,#cbd5d8);border-radius:12px;background:var(--paper,#fffdf9);color:inherit;font:inherit}
.profile-recipe-choice{display:flex;align-items:center;gap:12px;width:100%;padding:13px;margin-bottom:8px;border:1px solid var(--line,#cbd5d8);border-radius:12px;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer}
.profile-recipe-choice>svg{flex:none;width:24px;height:24px;color:var(--accent)}
.profile-recipe-choice>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.profile-recipe-choice small{display:block;font-size:.75rem;color:var(--muted,#586871);margin-top:4px}
.profile-post-attachments{display:grid;gap:10px;margin-top:12px}
.profile-post-photo{display:block;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--soft,#e5eff2);cursor:pointer}
.profile-post-photo img{display:block;width:100%;max-height:220px;aspect-ratio:4/3;object-fit:cover}
.profile-post-attached-recipe{display:flex;flex-direction:column;gap:8px;width:100%;padding:0 0 10px;border:1px solid var(--line,#cbd5d8);border-radius:12px;overflow:hidden;background:var(--paper,#fffdf9);color:inherit;font:inherit;text-align:start;cursor:pointer}
.profile-post-attached-recipe>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.profile-post-attached-recipe>span{padding:0 10px;overflow-wrap:anywhere}
.profile-post-attached-recipe small{display:block;margin:7px 0 4px;font-size:.7rem;color:var(--muted,#586871)}
.profile-post-attached-recipe strong{font-size:.9rem;line-height:1.3}
.profile-post-unavailable{font-size:.8rem;color:var(--muted,#586871);margin:0}
.profile-post-full-photo{display:block;width:100%;max-height:55vh;object-fit:contain;border-radius:12px}
.profile-post-reader .profile-post-attached-recipe{max-width:320px}
@media(max-width:400px){.profile-editor-heading{padding:12px;gap:9px}.profile-editor-heading h2{font-size:1rem}.profile-editor-scroll,.profile-recipe-picker{padding:16px}.profile-editor-bottom{padding:10px 16px 14px}.profile-post-attach-tools{gap:6px}.profile-post-attach-tools>button{font-size:.7rem}}

.profile-feed-grid>.profile-text-post{display:block;padding:14px;overflow:visible;overflow-wrap:anywhere}
.profile-text-post>header{position:relative;display:flex;min-height:0;padding:0 0 12px;gap:7px}
.profile-text-post>header>img{width:28px;height:28px}
.profile-text-post>header>div{flex:1;min-width:0}
.profile-text-post>header:has(.profile-post-menu)>div>p{padding-inline-end:22px}
.profile-text-post .profile-post-body{margin:0;white-space:pre-wrap;line-height:1.5;font-size:.95rem}
.profile-post-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;line-clamp:7;max-height:10.5em;overflow:hidden;overflow-wrap:anywhere}
.profile-post-footer{display:flex;align-items:center;margin-top:10px}
.profile-post-footer[hidden]{display:none!important}
.profile-post-read{padding:4px 0;min-height:28px;border:0;background:none;color:var(--accent);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;text-align:start}
.profile-post-menu{position:absolute;inset-inline-end:0;top:-3px;z-index:6}
.profile-post-menu>summary{display:grid;place-items:center;width:24px;height:28px;border:0;border-radius:8px;color:var(--muted,#586871);cursor:pointer;list-style:none}
.profile-post-menu>summary::-webkit-details-marker{display:none}
.profile-post-menu>summary svg{width:18px;height:18px}
.profile-post-menu[open]{z-index:8}
.profile-post-menu[open]>summary,.profile-post-menu>summary:hover{background:var(--soft,#e5eff2)}
/* 29/11/2026: the panel takes the width of its longest action (« Réserver à mes abonnés ») and is no longer cut by
   the post card while open. */
#main .profile-feed-event:has(.profile-post-menu[open]){overflow:visible!important;position:relative;z-index:6}
.profile-post-menu-panel button{white-space:nowrap;width:auto!important;text-align:start}
.profile-post-menu-panel{display:grid;position:absolute;inset-inline-end:0;top:30px;width:max-content;min-width:160px;max-width:calc(100vw - 48px);z-index:6;padding:5px;border:1px solid var(--line,#cbd5d8);border-radius:12px;background:var(--paper,#fffdf9);box-shadow:0 6px 18px rgb(20 43 38 / .12)}
.profile-post-menu-panel button{width:100%;padding:10px;border:0;border-radius:8px;background:none;color:var(--accent);font:inherit;font-size:.85rem;text-align:start;cursor:pointer}
.profile-post-menu-panel button:hover{background:var(--soft,#e5eff2)}
.profile-post-menu-panel button:disabled{opacity:.6;cursor:wait}
.profile-post-reader{box-sizing:border-box;width:min(620px,calc(100% - 28px));max-height:85vh;max-height:85dvh;padding:22px;border:1px solid var(--line,#cbd5d8);border-radius:22px;background:var(--paper,#fffdf9);color:var(--ink,#193343);font-family:Georgia,"Times New Roman",serif;overflow:auto}
.profile-post-reader::backdrop{background:rgb(16 36 48 / .45)}
.profile-post-reader>header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:8px}
.profile-post-reader h2{min-width:0;margin:0;font-size:1.15rem;line-height:1.35;overflow-wrap:anywhere}
.profile-post-reader>time{font-size:.75rem;color:var(--muted,#586871)}
.profile-post-full-body{margin:18px 0 0;font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-post-read:focus-visible,.profile-post-menu :focus-visible,.profile-post-reader :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.profile-post-notice{padding:12px 16px;border-radius:14px;background:var(--soft,#e5eff2);color:var(--ink,#193343);font-size:.9rem}
.profile-feed-action-bar{gap:10px;align-items:stretch}
.profile-feed-compose-open{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:9px 12px;border:1px solid var(--line,#cbd5d8);border-radius:14px;background:var(--paper,#fffdf9);color:var(--ink,#193343);font:inherit;font-size:.9rem;text-align:start;cursor:pointer}
.profile-feed-compose-open img{flex:none;width:30px;height:30px;border-radius:50%;object-fit:cover;background:var(--soft,#e5eff2)}
.profile-feed-compose-open span{flex:1;min-width:0}
.profile-feed-compose-open svg{flex:none;width:18px;height:18px;color:var(--accent)}
.profile-feed-compose-open:hover{border-color:var(--accent);background:var(--soft,#e5eff2)}
.profile-feed-compose-open:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.profile-create-launcher{position:fixed;inset-inline-end:12px;bottom:calc(118px + env(safe-area-inset-bottom,0px));z-index:46;display:flex;align-items:center;justify-content:flex-end;gap:8px;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
.profile-create-launcher:has(.profile-create-actions[hidden]){pointer-events:none}.profile-create-launcher>.profile-recipe-add{pointer-events:auto}
html[data-design] #main#main .profile-create-launcher>.profile-recipe-add{position:static;flex:none;margin:0}
.profile-create-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;flex:1;min-width:0}
.profile-create-actions[hidden]{display:none}
.profile-create-actions>button{box-sizing:border-box;min-width:0;min-height:48px;padding:9px 6px;border:1px solid var(--edge);border-radius:13px;background:var(--surface);color:var(--ink);font:600 clamp(12px,3.3vw,14px)/1.25 var(--al-font,Georgia,serif);text-align:center;white-space:nowrap;box-shadow:0 3px 12px #20344820;cursor:pointer}
.profile-create-actions>.profile-create-quick-recipe{border-color:var(--accent);background:var(--accent);color:var(--accent-text,#fff)}
.profile-create-actions>button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(min-width:901px){.profile-create-launcher{bottom:28px;inset-inline-end:28px}}
@media(max-width:400px){.profile-feed-grid>.profile-text-post{padding:12px}.profile-feed-compose-open{padding:8px;gap:7px;font-size:.85rem}.profile-feed-compose-open svg{width:16px;height:16px}}

.profile-feed-create-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1;min-width:0;border:1px solid var(--line,#cbd5d8);border-radius:14px;background:var(--paper,#fffdf9);overflow:hidden}
.profile-feed-create-split>.profile-feed-compose-open{width:100%;min-width:0;min-height:48px;border:0;border-radius:0;box-sizing:border-box;gap:7px}
.profile-feed-create-split>.profile-feed-recipe-open{border-inline-start:1px solid var(--line,#cbd5d8);text-align:center;justify-content:center}
.profile-feed-create-split>.profile-feed-compose-open:focus-visible{outline-offset:-3px}
@media(max-width:400px){.profile-feed-create-split .profile-feed-compose-open{padding:8px;gap:6px;font-size:.85rem}.profile-feed-create-split .profile-feed-compose-open img{width:24px;height:24px}}

.profile-feed-create-split>.profile-feed-recipe-open{background:var(--accent);color:var(--accent-text,#fff);border-color:var(--accent)}
.profile-feed-create-split>.profile-feed-recipe-open:hover{background:var(--accent);filter:brightness(.94)}
.profile-feed-create-split>.profile-feed-recipe-open svg{color:inherit}
.profile-feed-create-split>.profile-feed-recipe-open span{flex:0 1 auto}

/* Full source publication while composing a comment repost. */
.profile-draft-quote{min-width:0;margin:12px 0;border:1px solid var(--line,#cbd5d8);border-radius:16px;overflow:hidden}
.profile-draft-quote-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:var(--muted,#586871)}
.profile-draft-quote-content{min-width:0}.profile-draft-quote-content>header{display:flex;align-items:center;gap:10px;padding:8px 12px}.profile-draft-quote-content>header>img{width:36px;height:36px;border-radius:50%;object-fit:cover}.profile-draft-quote-content>header>div{display:grid;min-width:0;gap:3px;overflow-wrap:anywhere}.profile-draft-quote-content time{font-size:.75rem;color:var(--muted,#586871)}
.profile-draft-quote-body{margin:8px 12px 12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}
.profile-draft-quote .profile-post-attachments{margin:0}.profile-draft-quote .profile-post-full-photo{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.profile-draft-quote-content>.profile-draft-quote-content{margin:12px;border:1px solid var(--line,#cbd5d8);border-radius:12px;overflow:hidden}
