/* OZONS V68.2 — amélioration d'interface non déployée. Reste compatible avec le style V68.1. */
:root { --oz682-green:#193c34; --oz682-peach:#ee8b6d; --oz682-soft:#f5f8f4; }
.dialog:has(.oz-v682-detail),.dialog:has(.oz-v682-first-step),.dialog:has(.oz-v682-manage),.dialog:has(.oz-v682-inbox){width:min(720px,calc(100vw - 24px));}
.oz-v682-detail{display:flex;flex-direction:column;gap:14px;min-width:0}
.oz-v682-detail h2{margin-bottom:0;font-size:clamp(1.55rem,3.8vw,2.4rem)}
.oz-v682-about{display:flex;align-items:center;gap:18px;background:#f6f8f5;border:1px solid #e5e9e3;border-radius:16px;padding:17px;margin:0;min-width:0}
.oz-v682-about-text{flex:1;min-width:0}
.oz-v682-about-text p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.oz-v682-about-image{width:106px;height:106px;flex-shrink:0;border-radius:13px;object-fit:cover}
.oz-v682-moment-detail{margin-top:12px;display:grid;gap:3px;color:#496959;font-size:.86rem}
.oz-v682-detail .oz-public-member{margin:0}
.oz-v682-detail-privacy{margin:0;color:#61756a;font-size:.8rem}
.oz-v682-detail-footer{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#fff;padding:12px 0 max(6px,env(safe-area-inset-bottom));border-top:1px solid #edf0e9;position:sticky;bottom:0;z-index:5}
.oz-v682-contact{flex:1;max-width:380px;min-height:48px}
.oz-v682-options,.oz-v682-more-actions,.oz-v682-thread-menu{position:relative}
.oz-v682-options summary,.oz-v682-more-actions summary,.oz-v682-thread-menu summary{cursor:pointer;list-style:none;border:1px solid #d5e0d7;border-radius:11px;background:#f8faf8;color:#23483d;font-weight:780;padding:11px 15px;min-height:43px}
.oz-v682-options summary::-webkit-details-marker,.oz-v682-more-actions summary::-webkit-details-marker,.oz-v682-thread-menu summary::-webkit-details-marker{display:none}
.oz-v682-options-content,.oz-v682-more-actions>button,.oz-v682-thread-menu>div{position:absolute;z-index:12;min-width:190px;top:calc(100% + 6px);left:0;padding:7px;background:white;border:1px solid #d7e3da;border-radius:13px;box-shadow:0 12px 30px #233c2c24}
.oz-v682-options-content button,.oz-v682-more-actions>button{display:block;width:100%;text-align:left;background:transparent;color:#345a4b;border:0;padding:10px 12px;border-radius:8px;font-size:.88rem;font-weight:700;white-space:normal}
.oz-v682-options-content button:hover,.oz-v682-more-actions>button:hover{background:#f2f6f0}
.oz-v682-member-reviews{display:inline-flex;margin-top:8px;font-size:.81rem}
.oz-v682-first-step{text-align:center;background:radial-gradient(circle at 50% 40%,#fffdfa 20%,#fff 75%);padding:4px 10px 6px}
.oz-v682-first-step h2{font-size:clamp(1.75rem,4vw,2.55rem);max-width:460px;margin:9px auto 16px;line-height:1.12}
.oz-v682-first-kicker{display:inline-block;background:#e6f0e2;border-radius:100px;padding:7px 18px;font-weight:850;font-size:.72rem;letter-spacing:.13em;color:#315d45}
.oz-v682-first-bubbles{display:flex;align-items:center;justify-content:center;gap:5px;margin:17px auto 7px}
.oz-v682-first-bubbles span{position:relative;font-size:1.23rem;letter-spacing:1px;line-height:1;display:grid;place-items:center;width:53px;height:44px;border-radius:45%;border:3px solid #267454;color:#267454;background:white;transform:rotate(-6deg)}
.oz-v682-first-bubbles span:after{content:'';position:absolute;bottom:-8px;left:8px;border-top:11px solid #267454;border-right:10px solid transparent}
.oz-v682-first-bubbles span+span{border-color:var(--oz682-peach);color:var(--oz682-peach);transform:rotate(6deg)}
.oz-v682-first-bubbles span+span:after{border-top-color:var(--oz682-peach);left:auto;right:8px;transform:scaleX(-1)}
.oz-v682-first-activity{color:#65736c;font-size:1rem;margin:0 0 12px}
.oz-v682-first-intro{font-size:.89rem;color:#57665e;margin-bottom:16px}
.oz-v682-first-step .field{text-align:left}
.oz-v682-first-step .field textarea{min-height:114px}
.oz-v682-first-private{font-size:.76rem;color:#688072;margin:12px 0 4px}
.oz-v682-first-quote{font-size:.92rem;color:#406c57;font-style:italic;font-weight:650;margin-top:15px}
.oz-v682-first-success{display:grid;justify-items:center;gap:6px;border:1px solid #cde2d2;background:#f5fbf5;border-radius:15px;padding:14px 18px;margin:6px 0 15px;color:#265e45;text-align:center;animation:oz682Appear .45s ease both}
.oz-v682-first-success strong{font-size:1.12rem}
.oz-v682-first-success>span:last-child{font-size:.82rem}
.oz-v682-success-bubbles{display:flex;gap:0;align-items:center;justify-content:center}
.oz-v682-success-bubbles i{font-size:.84rem;font-style:normal;font-weight:900;display:grid;place-items:center;border:2px solid #397857;border-radius:100px;width:40px;height:36px;background:white;color:#397857;animation:oz682Bubbles .65s ease both}
.oz-v682-success-bubbles i+ i{border-color:var(--oz682-peach);color:#bf644c;animation-delay:.11s}
@keyframes oz682Appear{from{transform:translateY(9px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes oz682Bubbles{0%{transform:translateX(-10px) scale(.8);opacity:0}65%{transform:translateX(1px) scale(1.07);opacity:1}100%{transform:translateX(0) scale(1);opacity:1}}
/* Conversation — zone de lecture et rédaction distinctes, sans défilement inutile. */
.dialog:has(.oz-v682-thread){width:min(710px,calc(100vw - 22px));height:min(790px,calc(100dvh - 26px));max-height:calc(100dvh - 26px);display:flex;flex-direction:column;overflow:auto;}
.dialog:has(.oz-v682-thread) #dialogContent{min-height:0;display:flex;flex-direction:column;flex:1;}
.oz-v682-thread{display:flex;flex-direction:column;min-height:0;flex:1;gap:10px}
.oz-v682-thread-header{display:flex;align-items:start;gap:12px;justify-content:space-between;border-bottom:1px solid #e8eee8;padding:0 52px 12px 0}
.oz-v682-thread-title{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.oz-v682-thread-title .oz-thread-heading{margin:0;font-size:1.45rem}
.oz-v682-thread-title .muted{margin:3px 0 0;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:390px}
.oz-v682-thread-avatar,.oz-v682-inbox-avatar{width:44px;height:44px;min-width:44px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#eaf1e9;color:#37664a;font-size:1.1rem}
.oz-v682-thread-menu>div{left:auto;right:0;display:grid;gap:5px;min-width:170px}
.oz-v682-thread-menu>div button{width:100%}
.oz-v682-thread .oz-thread-live{margin:0;color:#6b7d70;font-size:.7rem;text-align:right}
.oz-v682-history{min-height:120px;flex:1;display:flex;flex-direction:column;background:#f8faf7;border:1px solid #e1e9e0;border-radius:15px;padding:9px;overflow:hidden}
.oz-v682-history #ozLoadOlder{align-self:center;margin-bottom:8px}
.oz-v682-thread #ozPrivateMessages.chat{flex:1;min-height:120px;max-height:none;overflow-y:auto;overscroll-behavior:contain;background:transparent;border:0;padding:8px 9px}
.oz-v682-thread .bubble{max-width:85%;border-radius:16px;margin-bottom:10px}
.oz-v682-thread .bubble.own{background:#fae3d8;color:#263b32}
.oz-v682-composer{position:sticky;bottom:0;z-index:4;background:white;border-top:1px solid #e1e7df;padding:11px 0 max(8px,env(safe-area-inset-bottom));}
.oz-v682-composer .field{margin:0 0 7px}
.oz-v682-composer .field textarea{min-height:66px;max-height:175px;resize:vertical}
.oz-v682-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.oz-v682-compose-actions .oz-thread-send{margin-left:auto;min-width:130px}
.oz-v682-composer .hint{font-size:.69rem;color:#718177;margin-top:6px}
.oz-v682-thread .oz-thread-disclosures{margin:0}
/* Liste des conversations en lignes très lisibles. */
.oz-v682-inbox{display:grid;gap:13px}
.oz-v682-inbox h2{margin:0}
.oz-v682-inbox-rows{display:grid;gap:0;border:1px solid #e0e7e1;border-radius:15px;overflow:hidden}
.oz-v682-inbox-row{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:0;border-bottom:1px solid #e6ece5;background:#fff;color:#203e34;padding:14px;min-height:84px;transition:background .12s}
.oz-v682-inbox-row:last-child{border-bottom:0}
.oz-v682-inbox-row:hover{background:#f5f9f5}
.oz-v682-inbox-row.is-unread{background:#f0f7ef}
.oz-v682-inbox-copy{display:grid;gap:2px;min-width:0;flex:1}
.oz-v682-inbox-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.oz-v682-inbox-top strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oz-v682-inbox-top time{font-size:.75rem;color:#7a8980;white-space:nowrap}
.oz-v682-inbox-subject{font-size:.78rem;color:#648071;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oz-v682-inbox-preview{font-size:.85rem;color:#5d6a64;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oz-v682-unread{background:#2b7c55;color:#fff;min-width:24px;height:24px;border-radius:50%;font-weight:750;font-size:.69rem;display:grid;place-items:center;padding:0 5px}
.oz-v682-inbox-arrow{font-size:1.4rem;color:#a6b6ad}
.oz-v682-inbox-empty{padding:30px;text-align:center;background:#fbfcfa;color:#506657}
.oz-v682-inbox-empty p{margin:8px 0 0;font-size:.86rem}
.oz-v682-inbox-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7d8b7f}
.oz-v682-inbox-tools button{opacity:.68}
/* Profil synthétique et galerie facultative « Mon univers ». */
.oz-v682-profile-accordion{margin:13px 0;border:1px solid #dce5dd;border-radius:14px;background:#fafcf9;overflow:hidden}
.oz-v682-profile-accordion>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 19px;cursor:pointer;color:#274638;min-height:59px}
.oz-v682-profile-accordion>summary::-webkit-details-marker{display:none}
.oz-v682-profile-accordion>summary:after{content:'⌄';font-size:1.25rem;font-weight:700;color:#537b66}
.oz-v682-profile-accordion[open]>summary:after{content:'⌃'}
.oz-v682-profile-accordion>summary>span{font-size:.81rem;color:#70867b;margin-left:auto}
.oz-v682-profile-accordion>.oz-avatar-card,.oz-v682-profile-accordion>p,.oz-v682-profile-accordion>.oz-v682-delete-link{margin:0 16px 14px}
.oz-v682-profile-accordion .oz-family-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.oz-v682-profile-accordion .oz-family-choice{min-width:0}
.oz-v682-profile-accordion .oz-family-choice img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.oz-v682-delete-link{color:#9c4c40;text-decoration:underline;background:transparent;border:0;padding:8px;cursor:pointer}
/* Annonces gérées sans affichage administratif de compte à rebours. */
.oz-v682-manage{display:grid;gap:16px}
.oz-v682-managed-item{padding:16px;border:1px solid #e0e7e0;border-radius:17px;background:#fcfdfb;display:grid;gap:12px}
.oz-v682-managed-head{display:flex;align-items:center;gap:15px}
.oz-v682-managed-visual{width:74px;height:74px;border-radius:13px;flex-shrink:0;object-fit:cover}
.oz-v682-managed-title{display:flex;flex-direction:column;gap:5px;min-width:0}
.oz-v682-managed-title>strong{font-size:1.06rem;color:#213e34;line-height:1.2}
.oz-v682-managed-title>small{font-size:.78rem;color:#74867a}
.oz-v682-state{align-self:start;display:inline-flex;max-width:max-content;border-radius:50px;background:#edf2ed;color:#446657;font-size:.72rem;font-weight:750;padding:3px 10px}
.oz-v682-state.online{background:#e8f4e8;color:#23613e}
.oz-v682-state.expired{background:#f8ede3;color:#935d3d}
.oz-v682-managed-note{font-size:.83rem;color:#66766d}
.oz-v682-renew-prompt{border:1px solid #ecd5c3;background:#fff8f1;border-radius:12px;padding:14px;display:grid;gap:9px;color:#375142}
.oz-v682-renew-prompt>p{font-size:.85rem;color:#5e7167}
.oz-v682-renew-actions{display:flex;gap:8px;flex-wrap:wrap}
.oz-v682-managed-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #e9eee7;padding-top:12px}
.oz-v682-managed-actions>.btn{font-size:.82rem}
.oz-v682-more-actions{margin-left:auto}
.oz-v682-more-actions>summary{min-width:43px;display:grid;place-items:center}
.oz-v682-more-actions>.oz-v682-delete-button{left:auto;right:0;color:#923f35}
.oz-v682-undo{border:0;background:#fff;color:#1c523a;border-radius:7px;margin-left:10px;padding:3px 10px;font-weight:750;text-decoration:underline}
@media(max-width:700px){
 .dialog:has(.oz-v682-detail),.dialog:has(.oz-v682-first-step),.dialog:has(.oz-v682-manage),.dialog:has(.oz-v682-inbox){width:100%;}
 .dialog:has(.oz-v682-thread){width:100%;height:100dvh;max-height:100dvh;}
 .oz-v682-thread-header{padding-right:36px}
 .oz-v682-detail-footer{gap:7px}
 .oz-v682-options summary span{display:none}
 .oz-v682-about{padding:12px;gap:11px}
 .oz-v682-about-image{width:78px;height:78px}
 .oz-v682-thread .bubble{max-width:95%}
 .oz-v682-composer{padding:8px 0 max(8px,env(safe-area-inset-bottom))}
 .oz-v682-managed-visual{width:65px;height:65px}
 .oz-v682-managed-actions .btn{min-height:42px;font-size:.77rem;padding:8px 10px}
 .oz-v682-inbox-row{padding:11px 9px;gap:10px}
 .oz-v682-profile-accordion .oz-family-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .oz-v682-profile-accordion>summary>span{font-size:.72rem}
 .oz-v682-first-step{padding-inline:0}
}
@media(prefers-reduced-motion:reduce){.oz-v682-first-success,.oz-v682-success-bubbles i{animation:none!important}}
