/* Refonte C, zone jeux (26/11/2026) : panel jeux et bots. Chargée seulement pour le compte #1. Grille 4 px. */
/* --- Barre d'onglets --- */
.j4-tabs.tc-tabs{gap:4px;padding:0 16px;scroll-padding:0 16px;overscroll-behavior-x:contain}
/* 28/11 : sur ordinateur tous les onglets restent visibles (à la ligne au lieu de défiler). */
@media (min-width:821px){.j4-tabs.tc-tabs{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none}}
.tc-tabs .v-tab{height:48px;padding:0 14px}
.tc-tabs .v-tab.is-active::after{left:12px;right:12px}
/* --- En-tête --- */
.j4-head{padding-top:20px;padding-bottom:20px;gap:16px 20px}
.j4-head .v-shead__row{gap:12px}
.j4-head .v-shead__meta{margin-top:8px;gap:12px}
.j4-meters{gap:24px}
.j4-meters small{margin-bottom:4px}
.j4-power{gap:8px}
/* --- Contenu : espacement régulier --- */
.j4 .j4-content{padding-top:24px;display:flex;flex-direction:column;gap:20px}
.j4 .j4-content>*{margin-top:0;margin-bottom:0}
.j4 .j4-page-head{margin:0}
.j4 .game-view{display:flex;flex-direction:column;gap:20px}
.j4 .game-view>*{margin-top:0;margin-bottom:0}
.j4 .game-view .card{padding:20px}
.j4 .game-view .card>h3,.j4 .game-view .card-head{margin-bottom:12px}
.j4 .game-view :is(.btn,.v-btn){min-height:36px;padding-left:14px;padding-right:14px}
.j4 .game-view :is(.btn,.v-btn)+:is(.btn,.v-btn){margin-left:0}
.j4 .game-view :is(.card,section,form) :is(p,.card-note,.field-hint)+:is(.btn,.v-btn,.btn-row,.actions){margin-top:12px}
.j4 .game-view :is(.actions,.btn-row,.card-actions,.game-page-actions){display:flex;flex-wrap:wrap;gap:8px}
.j4 .game-view :is(.rfx-tiles,.grid){gap:16px}
.j4 .game-view .field+.field{margin-top:16px}
/* --- Aperçu --- */
.tc-home{display:flex;flex-direction:column;gap:20px}
.tc-home .j41-strip{padding:4px 0}
.tc-home .j41-strip .v-stat{padding:16px 20px}
.tc-home .j41-strip .v-stat small{margin-bottom:8px}
.tc-home .j41-strip .v-stat em{display:block;margin-top:8px}
.tc-home .j41-term{order:2}
.tc-home .j41-charts{order:3;gap:16px}
.tc-home .j41-chart{padding:16px 20px 12px}
.tc-home .j41-chart__h{margin-bottom:8px}
.tc-home .j41-chart .chart-wrap{height:96px}
.tc-home .j4-term__bar{padding:8px 8px 8px 16px}
/* --- Mobile --- */
@media (max-width:640px){
  .j4-tabs.tc-tabs{padding:0 12px;scroll-padding:0 12px}
  .tc-tabs .v-tab{height:44px;padding:0 12px}
  .j4-head{gap:12px}
  .j4 .j4-content{padding-top:16px;gap:16px}
  .j4 .game-view{gap:16px}
  .j4 .game-view .card{padding:16px}
  .tc-home .j41-chart .chart-wrap{height:88px}
}

/* 28/11 : Outils séparés (diagnostic sous Console, fichiers de configuration sous Réglages) et SFTP sous Fichiers. */
html body .rf-tools[data-part=diag] .rf-only-config,html body .rf-tools[data-part=config] .rf-only-diag{display:none}
html body .rf-tools[data-part=diag] .rf-grid-main{grid-template-columns:minmax(0,1fr)}
.j4 .rf-sftp{margin-top:16px}
.j4 .rf-sftp>summary{cursor:pointer;font-weight:600;padding:10px 0}
.j4 #rf-ports .card-head{align-items:center}
.j4 #rf-ports .card-head .row-actions{margin-left:auto}
.j4 #rf-ports .card-head form{margin:0}
.j4 #rf-ports .table-wrap{margin-top:12px}
.j4 #rf-ports>ul{margin:14px 0 0;padding:0 20px 4px 34px}
/* 28/11 : un seul soulignement sous l onglet actif (ombre de zone-jeux4 + ::after de v4 faisaient deux traits). */
html body .j4-tabs.tc-tabs .v-tab::after{content:none}
