/* EnfinLire — sélecteur d'histoire commun (version 0.9.391).
   Un seul modèle DOM pour les sept éditeurs, les anciens contrôles restent cachés
   uniquement pour la compatibilité de leurs gestionnaires d'événements. */
.ef-story-start{max-width:1200px;margin-inline:auto}
.ef-story-start .eyebrow{margin-bottom:4px}
.ef-story-start .intro,.ef-story-start .ef-legacy-free{display:none!important}
.ef-story-start .ef-story-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:9px 0 15px;flex-wrap:wrap}
.ef-story-start .ef-story-head h1{font-size:clamp(21px,2vw,27px);margin:0;line-height:1.28;letter-spacing:-.03em}
.ef-story-start .ef-story-head .memory-search{width:min(100%,315px);max-width:315px;margin:0;height:43px}
.ef-story-start .album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ef-story-start .album-tile{min-width:0;min-height:77px;width:100%;display:flex;align-items:center;gap:10px;padding:9px;text-align:left;border:1px solid #e2e8ea;border-radius:13px;background:#fff;color:#17364c;cursor:pointer;box-shadow:none}
.ef-story-start .album-tile img,.ef-story-start .album-tile .album-icon{width:45px;height:58px;flex:0 0 45px;object-fit:contain;background:#f6f6f3;border-radius:5px}
.ef-story-start .album-title{display:block;font-size:12px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.ef-story-start .album-count{display:block;margin-top:4px;font-size:10px;color:#65788a}
.ef-story-start .ef-free-choice{border-color:#ead5a1;background:#fff9e9;order:-1}
.ef-story-start .ef-free-choice .ef-free-icon{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;font-size:25px;font-weight:400;border-radius:10px;background:#ffe9b5}
.ef-story-start .album-tile:hover,.ef-story-start .album-tile:focus-visible{border-color:#bd951c;outline-offset:2px}
.ef-story-start [id$="-album-status"],.ef-story-start [id$="-start-status"]{margin:0 0 8px;font-size:11px;color:#66798a}
/* Sélecteur d'histoire des panneaux gauches : même ordre, même espace. */
.ef-editor-story-select{display:grid;gap:7px;margin:12px 0 13px;min-width:0;color:#546d82;font-size:12px;font-weight:600}
.ef-editor-story-select select{width:100%;height:44px;min-width:0;padding:0 9px;border:1px solid #d4e0e7;border-radius:12px;background:#fff;color:#17364c;font:inherit;font-size:12px}
@media(max-width:950px){.ef-story-start .album-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:660px){.ef-story-start .album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-story-start .ef-story-head .memory-search{max-width:100%;width:100%}}

/* Écran d'entrée CAA : même cartes/recherche/gabarit que l'Atelier ; aucun style correctif d'éditeur. */
.el-caa-story-stage{box-sizing:border-box;position:fixed;inset:0;z-index:2147483599;overflow-y:auto;background:#f8f9f7;color:#18334d;font-family:Lexend,Arial,sans-serif}
.el-caa-story-stage .el-caa-story-content{box-sizing:border-box;width:min(1200px,100%);margin:0 auto;padding:70px 24px 40px}
.el-caa-story-stage .back-link{display:inline-flex;align-items:center;padding:11px 15px;margin:0 0 27px;border:1px solid #dbe3e7;border-radius:24px;background:#fff;color:#18334d;cursor:pointer;font:500 14px/1.4 Lexend,Arial,sans-serif}
.el-caa-story-stage .eyebrow{font:700 11px/1.5 Lexend,Arial,sans-serif;color:#93671e;letter-spacing:.11em;margin:0 0 7px}
.el-caa-story-stage .ef-story-head h1{font:700 clamp(23px,2.8vw,30px)/1.25 Lexend,Arial,sans-serif;letter-spacing:-.052em}
.el-caa-story-stage .ef-story-head .memory-search{box-sizing:border-box;max-width:320px;height:53px;border:1px solid #d5e0e6;border-radius:12px;padding:0 16px;background:#fff;font:400 13px Lexend,Arial,sans-serif;color:#18334d}
.el-caa-story-stage .ef-game-entry-status{font:400 12px Lexend,Arial,sans-serif;color:#65788a;margin:0 0 8px;min-height:14px}
.el-caa-story-stage .album-tile{font-family:Lexend,Arial,sans-serif}
@media(max-width:660px){.el-caa-story-stage .el-caa-story-content{padding:24px 16px 40px}.el-caa-story-stage .ef-story-head .memory-search{max-width:none}}
