/* CLUB TOBY V5.5 - Cabecera consistente, boleta bajo la ruleta y asientos por estado.
   No afecta la lógica del monedero, el motor ni los premios. */
.site-header{position:sticky;top:0;z-index:40;background:#061611f8;border-bottom:1px solid #a98b5866;backdrop-filter:blur(14px)}
.site-header .top-inner{
 display:grid;grid-template-columns:minmax(235px,1fr) auto minmax(290px,1fr);
 max-width:1580px;width:100%;align-items:center;gap:16px;padding:9px 20px;
}
.site-header .brand{font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:700;letter-spacing:.025em}
.site-header .brand-text small{font-size:9px;letter-spacing:2.5px}
.site-header .nav{display:flex;gap:4px;justify-content:center;flex-wrap:nowrap;align-items:center;font-size:14px}
.site-header .nav a{display:inline-flex;align-items:center;padding:9px 13px;border-radius:10px;white-space:nowrap}
.site-header .nav a.active{background:#b49a6725;color:#f1d69e}
.site-header .account{display:flex;justify-content:flex-end;align-items:center;gap:9px;min-width:0}
.site-header .chip-money,.site-header .nav-user,.site-header .audio-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 border:1px solid #9e7f4c78;border-radius:11px;padding:6px 9px;
 min-height:38px;white-space:nowrap;color:#f3d9a1;background:#13271e;
 font-size:13px;font-weight:780;text-decoration:none;
}
.site-header .chip-money img{width:27px;height:27px;object-fit:contain}
.site-header .mini-avatar{width:33px;height:33px;object-fit:cover;border:2px solid #dbb677;border-radius:50%}
.site-header .audio-toggle{cursor:pointer;background:#10261d;color:#e7d1ad;font-size:11px}
.site-header .audio-toggle[aria-pressed="true"]{background:#24513b;border-color:#dfc688;color:#ffe7aa}
.site-header .audio-toggle:focus-visible,.site-header .nav a:focus-visible{outline:2px solid #f8dca0;outline-offset:2px}
.site-header .audio-icon{font-size:17px;line-height:1}
.page-title{align-items:center;justify-content:flex-start}
.page-title>div:first-child{max-width:100%}
/* Al no ocupar asiento, los asientos y el botón de entrada aparecen antes del tapete. */
.seat-slot:empty{display:none}
#pre-seat-slot .players-panel{margin:0 0 12px;padding:11px 14px;border-color:#b59a6d7d;background:linear-gradient(110deg,#143527,#091f18)}
#pre-seat-slot .players-head{padding-bottom:6px}
#pre-seat-slot .seats{padding:8px 0;grid-template-columns:repeat(6,minmax(0,1fr))}
#pre-seat-slot .seat{min-height:44px}
#pre-seat-slot .seat-actions{max-width:450px;margin:0 auto}
#pre-seat-slot #join{width:100%}
#post-seat-slot .players-panel{margin-top:13px}
.seat-actions button[hidden]{display:none!important}
/* La boleta se sitúa bajo la rueda, no debajo del tapete. */
.table-panel>.bet-summary{
 margin:14px 0 0;padding:14px 11px 11px;border:1px solid #a286577d;border-radius:12px;
 background:linear-gradient(160deg,#153d2d,#081f19);box-shadow:inset 0 0 18px #0004;
}
.table-panel>.bet-summary .between{align-items:center;gap:8px}
.table-panel>.bet-summary .between h3{font-size:15px}
.table-panel>.bet-summary .draft-entries{max-height:240px;min-height:31px}
.table-panel>.bet-summary .draft-row{grid-template-columns:25px minmax(0,1fr) auto 26px 26px;gap:4px;font-size:11px}
.table-panel>.bet-summary .draft-chip{width:25px;height:25px}
.table-panel>.bet-summary .draft-row button{min-width:24px;height:27px}
.table-panel>.bet-summary .total{display:flex;justify-content:space-between;align-items:baseline;margin:11px 0}
.table-panel>.bet-summary .bet-actions{display:grid;grid-template-columns:1fr;gap:7px}
.table-panel>.bet-summary .bet-actions button{min-height:37px;padding:8px 6px;font-size:12px}
.table-panel>.bet-summary>.quiet{font-size:10px;line-height:1.3}
/* Selector de tres juegos del salón: emblema propio sin emoji de feria. */
.games-switch .games-roulette-icon{width:26px;height:25px;object-fit:contain;vertical-align:middle;margin-right:3px}
@media(max-width:1190px){
 .site-header .top-inner{grid-template-columns:minmax(180px,1fr) auto minmax(235px,1fr);gap:7px;padding:9px 12px}
 .site-header .brand{font-size:18px}
 .site-header .brand-text small{font-size:7px;letter-spacing:1.6px}
 .site-header .nav a{padding:8px}
 .site-header .account{gap:4px}
 .site-header .chip-money,.site-header .nav-user,.site-header .audio-toggle{padding:5px 6px;font-size:11px}
 .site-header .audio-toggle #audio-label{display:none}
 .table-panel>.bet-summary{padding:11px 7px}
}
@media(max-width:840px){
 .site-header .top-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'brand account' 'nav nav';row-gap:4px}
 .site-header .brand{grid-area:brand}.site-header .nav{grid-area:nav;justify-content:center}.site-header .account{grid-area:account}
 #pre-seat-slot .seats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:580px){
 .site-header .top-inner{padding:7px 9px;column-gap:4px}
 .site-header .brand{font-size:13px}.site-header .brand-symbol{font-size:20px}
 .site-header .brand-text small{display:none}
 .site-header .chip-money{font-size:10px;min-height:30px;padding:3px 5px}
 .site-header .chip-money img{width:18px;height:18px}
 .site-header .mini-avatar{width:28px;height:28px}
 .site-header .nav-user span{display:none}
 .site-header .nav-user,.site-header .audio-toggle{min-height:30px;padding:2px 5px}
 .site-header .nav{font-size:11px;gap:2px}
 .site-header .nav a{padding:5px 13px}
 #pre-seat-slot .players-panel{padding:8px 7px}
 #pre-seat-slot .seats{gap:5px}
 #pre-seat-slot .seat{min-height:38px}
 .table-panel>.bet-summary .draft-row{font-size:10px}
}
