/* KOBAYASHI BACKGAMMON CLUB V6 — ciblé, aucune modification de couleurs/menu/jeu. */
/* En-têtes : intégrer le logo fourni dans les zones déjà prévues, sans ajouter de rangée. */
#menu-modal .menu-card>.eyebrow:has(.kb-logo-home),
#shop-modal .shop-card>.eyebrow:has(.kb-logo-shop){display:block!important;text-align:center;letter-spacing:normal!important}
#menu-modal .kb-logo-home{display:block;width:min(174px,62%);height:58px;object-fit:contain;margin:0 auto}
#shop-modal .kb-logo-shop{display:block;width:min(186px,62%);height:72px;object-fit:contain;margin:0 auto}
#profile-modal .kb-logo-profile{display:block;width:164px;max-width:100%;height:48px;object-fit:contain;object-position:left center}
#menu-modal .frbc-member-title .frbc-welcome-avatar,
#menu-modal .frbc-member-title .frbc-welcome-avatar.frbc-avatar-circle{width:80px!important;height:80px!important;flex:0 0 80px!important;font-size:36px!important;line-height:1!important}
#menu-modal .frbc-member-title .frbc-welcome-name{display:block!important;font-size:clamp(17px,1.6vw,25px)!important;line-height:1.15!important;overflow-wrap:anywhere!important;font-weight:780!important}
#profile-modal .inventory-avatar.frbc-avatar-circle{width:80px!important;height:80px!important;flex:0 0 80px!important}
/* Miniatures: keep source poster's native proportions and don't crop the new wall graphic. */
#shop-modal img[src*="assets/venator/preview.webp"],
#shop-modal img[src*="assets/shop-static/bundle-venator.webp"]{object-fit:cover;object-position:center center}
@media(max-width:750px) and (orientation:portrait){
 #menu-modal .kb-logo-home{height:48px;width:min(146px,60%)}
 #shop-modal .kb-logo-shop{height:55px;width:min(158px,64%)}
 #menu-modal .frbc-member-title .frbc-welcome-avatar,
 #menu-modal .frbc-member-title .frbc-welcome-avatar.frbc-avatar-circle{width:66px!important;height:66px!important;flex-basis:66px!important;font-size:30px!important}
 #menu-modal .frbc-member-title .frbc-welcome-name{font-size:19px!important}
 #profile-modal .inventory-avatar.frbc-avatar-circle{width:72px!important;height:72px!important;flex-basis:72px!important}
 #profile-modal .kb-logo-profile{height:37px;width:125px}
}
@media(orientation:landscape) and (max-height:540px){
 #menu-modal .kb-logo-home{height:32px;width:min(108px,52%)}
 #shop-modal .kb-logo-shop{height:36px;width:min(114px,48%)}
 #menu-modal .frbc-member-title .frbc-welcome-avatar,
 #menu-modal .frbc-member-title .frbc-welcome-avatar.frbc-avatar-circle{width:52px!important;height:52px!important;flex-basis:52px!important;font-size:25px!important}
 #menu-modal .frbc-member-title .frbc-welcome-name{font-size:15px!important;line-height:1.08!important}
 #profile-modal .inventory-avatar.frbc-avatar-circle{width:58px!important;height:58px!important;flex-basis:58px!important}
 #profile-modal .kb-logo-profile{height:33px;width:100px}
}
