/* BookBost V32 : bandeau sans fond blanc ; réglages identiques sur ordinateur clair/sombre. */
#bookbost31-bandeau {box-sizing:border-box;max-width:1040px;margin:8px auto 14px;padding:4px 10px;background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;text-align:center}
#bookbost31-bandeau * {box-sizing:border-box}
#bookbost31-bandeau details {margin:5px auto 0;padding:0;border:0!important;background:transparent!important;max-width:1000px}
#bookbost31-bandeau summary {display:inline-flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;text-align:center;text-decoration:none;transition:filter .15s;box-sizing:border-box;border-radius:7px}
#bookbost31-bandeau summary::-webkit-details-marker {display:none}
#bookbost31-bandeau summary:hover {filter:brightness(.92)}
/* Le bouton rouge V31 (13 px) passe a 21 px : environ +60 %. */
#bookbost31-bandeau #bb31-messages>summary {background:#ed0000!important;color:#fff!important;border:2px solid #a40000!important;font:900 21px/1.3 system-ui,Arial,sans-serif!important;padding:8px 15px!important;min-height:48px!important}
/* Le lien d'achat (13 px) passe a 26 px : deux fois plus grand et tres gras. */
#bookbost31-bandeau #bb31-amazon>summary {background:#192539!important;color:#ffffff!important;border:2px solid #e40000!important;font:900 26px/1.3 system-ui,Arial,sans-serif!important;padding:10px 18px!important;min-height:53px!important}
#bookbost31-bandeau :is(summary,a,button):focus-visible {outline:3px solid #ff9900!important;outline-offset:2px}
/* Aucun panneau blanc, meme sur un navigateur en mode clair. */
#bookbost31-bandeau .bb31-panel {background:#152339!important;color:#ffffff!important;border:1px solid #e40000;border-radius:8px;margin:7px auto 0;padding:12px;max-width:920px}
#bookbost31-bandeau #bb31-messages iframe {display:block;width:100%;height:min(74vh,760px);min-height:480px;border:0;background:#152021}
#bookbost31-bandeau .bb31-amazon-panel {text-align:left}
#bookbost31-bandeau .bb31-amazon-panel ul {list-style:none;margin:0;padding:0}
#bookbost31-bandeau .bb31-amazon-panel li {padding:13px 8px;border-bottom:1px solid #627186}
#bookbost31-bandeau .bb31-amazon-panel li:last-child {border-bottom:0}
#bookbost31-bandeau .bb31-amazon-panel a {display:block;font:800 23px/1.4 system-ui,Arial,sans-serif;color:#ffffff!important;text-decoration:underline;overflow-wrap:anywhere;word-break:break-word;padding:3px 0}
#bookbost31-bandeau .bb31-amazon-panel .bb31-url {font:750 20px/1.4 system-ui,Arial,sans-serif;color:#ffbbbb!important}
#bookbost31-bandeau .bb31-amazon-panel a:hover {color:#ffd8aa!important}
#bookbost31-bandeau .bb31-amazon-panel p {color:#ffffff!important;font:17px/1.5 system-ui,Arial,sans-serif}
/* Vignettes : un seul intitulé au-dessus de chaque carré, le nom du dossier. */
.category-tile .bb31-folder-title {display:block;min-height:28px;padding:5px 7px 3px;font:800 14px/1.3 system-ui,Arial,sans-serif;color:#ffffff;text-align:center;text-decoration:underline;overflow-wrap:anywhere}
.category-tile .bb31-folder-title:hover {color:#ffcaca}
.category-tile .bb31-folder-title:focus-visible {outline:3px solid #ffbb55;outline-offset:-1px}
.category-tile .featured-name,.category-tile .category-folder-link,.category-tile .video-notice {display:none!important}
@media(max-width:600px){#bookbost31-bandeau{margin:7px 0 12px;padding:6px}#bookbost31-bandeau #bb31-messages>summary{font-size:19px!important}#bookbost31-bandeau #bb31-amazon>summary{font-size:22px!important}.category-tile .bb31-folder-title{font-size:13px}}

/* V33 : aucun texte rouge sous la bannière, uniquement de petits pictogrammes son. */
#bookbost31-bandeau #bb33-audio {display:flex;gap:8px;justify-content:center;align-items:center;background:transparent!important;padding:0;margin:0 auto 3px;min-height:0}
#bookbost31-bandeau #bb33-audio button {border:1px solid #63758a!important;background:#25364a!important;color:#ffffff!important;font-size:15px!important;font-weight:750!important;border-radius:6px!important;min-width:34px;min-height:29px;padding:2px 7px!important;cursor:pointer!important}
#bookbost31-bandeau #bb33-audio button:hover {background:#395571!important}
#bookbost31-bandeau #bb33-audio button:focus-visible {outline:3px solid #ffcf64!important;outline-offset:2px}

/* BookBost 34 : bouton messages bleu marine et blanc (aucun rouge). */
#bookbost31-bandeau #bb31-messages>summary{background:#163b67!important;color:#fff!important;border:2px solid #78a3d5!important}
#bookbost31-bandeau #bb31-amazon>summary{border:2px solid #537cab!important}
#bookbost31-bandeau .bb31-panel{border-color:#537cab!important}
#bookbost31-bandeau #bb33-audio button{font-size:16px!important;min-height:38px;padding:7px 12px!important}
#bookbost31-bandeau #bb33-welcome-replay.bb34-needs-click{border:2px solid #ffd166!important}
