.lbbp-front{--red:#b91c1c;--green:#15803d;--ink:#152238;--muted:#64748b;width:calc(100% - 32px);max-width:1580px;margin:24px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}.lbbp-front *{box-sizing:border-box}.lbbp-front-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.lbbp-front-header h2{margin:2px 0 0;font-size:30px}.lbbp-eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:#475569}.lbbp-user-name{font-weight:700;background:#e2e8f0;border-radius:999px;padding:8px 14px}.lbbp-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:26px}.lbbp-balances>div{background:#0f172a;color:#fff;border-radius:14px;padding:16px 18px}.lbbp-balances span{display:block;color:#cbd5e1;font-size:13px}.lbbp-balances strong{display:block;font-size:27px;margin-top:3px}.lbbp-open-events h3,.lbbp-user-bets h3{font-size:21px;margin:0 0 14px}.lbbp-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}.lbbp-event-card{background:#fff;border:1px solid #dbe1ea;border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.07);overflow:hidden;padding:18px}.lbbp-event-title{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.lbbp-event-title span{font-size:12px;color:var(--muted);font-weight:700}.lbbp-event-title h4{font-size:22px;margin:2px 0 0}.lbbp-live{color:#166534!important;background:#dcfce7;border-radius:999px;padding:6px 10px}.lbbp-pools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.lbbp-pool{border-radius:14px;padding:15px;color:#fff;text-align:center}.lbbp-pool--red{background:linear-gradient(145deg,#7f1d1d,#dc2626)}.lbbp-pool--green{background:linear-gradient(145deg,#14532d,#16a34a)}.lbbp-pool span,.lbbp-pool small,.lbbp-pool em{display:block}.lbbp-pool span{font-weight:900;letter-spacing:.08em}.lbbp-pool strong{display:block;font-size:30px;line-height:1.1;margin:4px 0}.lbbp-pool small{opacity:.85}.lbbp-pool em{font-size:11px;font-style:normal;margin-top:10px;min-height:30px}.lbbp-bet-form label{display:block;font-weight:700}.lbbp-bet-form input[type=number]{width:100%;min-height:46px;border:1px solid #94a3b8;border-radius:10px;margin-top:6px;padding:8px 12px;font-size:17px}.lbbp-bet-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.lbbp-bet-buttons button{border:0;border-radius:10px;color:#fff;min-height:46px;font-weight:900;cursor:pointer}.lbbp-bet-red{background:var(--red)}.lbbp-bet-green{background:var(--green)}.lbbp-estimate-note{font-size:12px;color:var(--muted);margin:10px 0 0;text-align:center}.lbbp-user-bets{margin-top:30px}.lbbp-front-table-wrap{overflow-x:auto;background:#fff;border:1px solid #dbe1ea;border-radius:14px}.lbbp-front table{width:100%;border-collapse:collapse}.lbbp-front th,.lbbp-front td{padding:12px 14px;text-align:left;border-bottom:1px solid #e2e8f0}.lbbp-front th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#475569}.lbbp-side-tag{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.lbbp-side-tag--red{background:#fee2e2;color:#991b1b}.lbbp-side-tag--green{background:#dcfce7;color:#166534}.lbbp-front-message,.lbbp-front-alert{padding:15px 17px;border-radius:12px;background:#f1f5f9;margin-bottom:16px}.lbbp-front-message--error,.lbbp-front-alert--error{background:#fee2e2;color:#991b1b}.lbbp-front-alert--success{background:#dcfce7;color:#166534}@media(max-width:650px){.lbbp-front{margin:15px}.lbbp-front-header{align-items:flex-start;flex-direction:column}.lbbp-balances{grid-template-columns:1fr}.lbbp-event-grid{grid-template-columns:1fr}.lbbp-bet-buttons{grid-template-columns:1fr}}

.lbbp-tournament-hero{margin-bottom:14px;padding:25px 28px;border-radius:18px;background:radial-gradient(circle at top right,#1d4ed8 0,#0f172a 52%,#020617 100%);color:#fff;box-shadow:0 16px 38px rgba(15,23,42,.18)}.lbbp-tournament-live{display:inline-flex;padding:5px 9px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px;font-weight:900;letter-spacing:.1em}.lbbp-tournament-hero h1{font-size:34px;line-height:1.1;margin:10px 0 6px;color:#fff}.lbbp-tournament-hero p{color:#bfdbfe;margin:0}.lbbp-tournament-description{margin-top:13px;max-width:800px;color:#e2e8f0}.lbbp-public-tournament-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 18px}.lbbp-public-tournament-stats>div{padding:13px 14px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff}.lbbp-public-tournament-stats span{display:block;font-size:12px;color:#475569}.lbbp-public-tournament-stats strong{display:block;font-size:23px;margin-top:2px}.lbbp-tournament-results{margin-top:30px}.lbbp-tournament-results h3,.lbbp-personal-history h3{font-size:21px;margin:0 0 14px}.lbbp-personal-history{padding-top:4px;border-top:1px solid #e2e8f0}@media(max-width:850px){.lbbp-public-tournament-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:500px){.lbbp-tournament-hero{padding:20px}.lbbp-tournament-hero h1{font-size:27px}.lbbp-public-tournament-stats{grid-template-columns:1fr}}

.lbbp-collaborator-panel{margin:0 0 18px;padding:18px 20px;border:1px solid #c4b5fd;border-radius:16px;background:linear-gradient(145deg,#faf5ff,#eef2ff)}.lbbp-collaborator-panel__head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.lbbp-collaborator-panel__head h3{margin:5px 0 4px;font-size:21px}.lbbp-collaborator-panel__head p{margin:0;color:#64748b;max-width:760px}.lbbp-collaborator-badge{font-size:11px;letter-spacing:.12em;font-weight:900;color:#6d28d9}.lbbp-collaborator-state{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:900}.lbbp-collaborator-state--active{background:#dcfce7;color:#166534}.lbbp-collaborator-state--inactive{background:#e2e8f0;color:#475569}.lbbp-collaborator-link{margin:14px 0}.lbbp-collaborator-link input{width:100%;min-height:42px;border:1px solid #a78bfa;border-radius:10px;padding:8px 12px;background:#fff}.lbbp-collaborator-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.lbbp-collaborator-stats>div{padding:11px 13px;border-radius:10px;background:#fff;border:1px solid #ddd6fe}.lbbp-collaborator-stats span{display:block;color:#64748b;font-size:12px}.lbbp-collaborator-stats strong{display:block;font-size:22px;margin-top:2px}.lbbp-collaborator-note{font-size:12px;color:#64748b;margin:12px 0 0}@media(max-width:700px){.lbbp-collaborator-panel__head{flex-direction:column}.lbbp-collaborator-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:430px){.lbbp-collaborator-stats{grid-template-columns:1fr}}

.lbbp-partner-panel{margin:18px 0;padding:20px;border-radius:16px;background:linear-gradient(135deg,#f5f3ff,#faf5ff);border:1px solid #c4b5fd}.lbbp-role-breakdown{margin-top:18px}.lbbp-role-breakdown h4{margin:0 0 9px}.lbbp-partner-panel .lbbp-front-table-wrap,.lbbp-collaborator-panel .lbbp-front-table-wrap{background:#fff;border-radius:10px}.lbbp-partner-panel .lbbp-partner-badge{background:#6d28d9;color:#fff}

.lbbp-event-state--provisional{background:#ede9fe;color:#5b21b6}

/* v1.1 — Sala del torneo y taquilla recuperable */
.lbbp-access-gate{margin:20px 0 28px;padding:28px;border:1px solid #bfdbfe;border-radius:20px;background:linear-gradient(145deg,#eff6ff,#f8fafc);box-shadow:0 16px 40px rgba(15,23,42,.08)}
.lbbp-access-gate__badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#0f172a;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em}
.lbbp-access-gate h2{margin:13px 0 10px;font-size:29px;line-height:1.15}
.lbbp-access-gate>p{max-width:900px;color:#334155;font-size:16px;line-height:1.65}
.lbbp-access-gate__note{padding:11px 13px;border-left:4px solid #2563eb;background:#fff;border-radius:8px;font-size:13px!important}
.lbbp-access-gate__numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}
.lbbp-access-gate__numbers>div{padding:14px;border:1px solid #dbeafe;border-radius:12px;background:#fff}
.lbbp-access-gate__numbers span{display:block;color:#64748b;font-size:12px}
.lbbp-access-gate__numbers strong{display:block;margin-top:3px;font-size:25px}
.lbbp-unlock-button{width:100%;min-height:54px;border:0;border-radius:12px;background:#0f172a;color:#fff;font-size:16px;font-weight:900;letter-spacing:.04em;cursor:pointer}
.lbbp-unlock-button:hover{background:#1e3a8a}
.lbbp-live-room{margin:20px 0 18px;padding:18px;border:1px solid #cbd5e1;border-radius:18px;background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.08)}
.lbbp-live-room__head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px}
.lbbp-live-room__head span{display:block;font-size:11px;font-weight:900;letter-spacing:.1em;color:#dc2626}
.lbbp-live-room__head h3{margin:2px 0 0;font-size:22px}
.lbbp-live-room__head>strong{padding:6px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px}
.lbbp-player-demo,.lbbp-player-frame{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:14px;background:#020617}
.lbbp-player-frame iframe{width:100%;height:100%;border:0}
.lbbp-player-demo{display:flex;align-items:center;justify-content:center;color:#fff;background:radial-gradient(circle at 50% 40%,#1e293b,#020617 68%)}
.lbbp-player-demo__signal{position:absolute;left:14px;top:14px;display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:rgba(15,23,42,.8);font-size:11px;font-weight:900;letter-spacing:.08em}
.lbbp-player-demo__signal span{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.16)}
.lbbp-player-demo__center{text-align:center;padding:20px}
.lbbp-player-demo__center strong{display:block;font-size:25px}
.lbbp-player-demo__center p{margin:8px 0 0;color:#cbd5e1}
.lbbp-access-progress{display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,2fr) minmax(120px,.7fr);align-items:center;gap:14px;margin-top:13px;padding:13px 14px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}
.lbbp-access-progress>div:first-child strong,.lbbp-access-progress>div:last-child strong{display:block}
.lbbp-access-progress span{display:block;color:#64748b;font-size:12px}
.lbbp-access-progress__bar{height:11px;overflow:hidden;border-radius:999px;background:#e2e8f0}
.lbbp-access-progress__bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#16a34a)}
.lbbp-balances--four{grid-template-columns:repeat(4,1fr)}
.lbbp-bet-buttons button:disabled{cursor:not-allowed;opacity:.45}
@media(max-width:780px){.lbbp-access-gate__numbers{grid-template-columns:repeat(2,1fr)}.lbbp-access-progress{grid-template-columns:1fr}.lbbp-balances--four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.lbbp-access-gate{padding:20px}.lbbp-access-gate h2{font-size:24px}.lbbp-access-gate__numbers,.lbbp-balances--four{grid-template-columns:1fr}.lbbp-player-demo__center strong{font-size:20px}}


/* v1.2 — Sala responsiva, apuestas sin recarga e historial visual */
.lbbp-front{max-width:1440px}
.lbbp-account-tools{margin:0 0 16px;border:1px solid #dbe1ea;border-radius:14px;background:#fff;overflow:hidden}
.lbbp-account-tools>summary{cursor:pointer;padding:13px 16px;font-weight:900;color:#334155;list-style:none}
.lbbp-account-tools>summary::-webkit-details-marker{display:none}
.lbbp-account-tools>summary:after{content:'+';float:right;font-size:22px;line-height:18px}
.lbbp-account-tools[open]>summary:after{content:'−'}
.lbbp-account-tools__content{padding:0 16px 16px}
.lbbp-account-tools__content>.lbbp-collaborator-panel,.lbbp-account-tools__content>.lbbp-partner-panel{margin:0}

.lbbp-stage-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(350px,27vw,420px);gap:20px;align-items:start;margin:18px 0}
.lbbp-stage-grid .lbbp-live-room{margin:0;min-width:0}
.lbbp-current-fight{min-width:0;border:1px solid #cbd5e1;border-radius:18px;background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.08);overflow:hidden}
.lbbp-current-fight__top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:17px 18px 15px;background:#0f172a;color:#fff}
.lbbp-current-fight__eyebrow{font-size:10px;font-weight:900;letter-spacing:.13em;color:#93c5fd}
.lbbp-current-fight__top h3{margin:3px 0 0;font-size:20px;line-height:1.2;color:#fff}
.lbbp-current-fight__meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:180px;text-align:center}
.lbbp-current-fight__meta>div{padding:7px 8px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.05)}
.lbbp-current-fight__meta span{display:block;font-size:9px;letter-spacing:.1em;color:#94a3b8}
.lbbp-current-fight__meta strong{display:block;margin-top:3px;font-size:14px}
.lbbp-state-pill{display:inline-flex!important;justify-content:center;border-radius:999px;padding:3px 7px}
.lbbp-state-pill--open{background:#dcfce7;color:#166534}
.lbbp-state-pill--closed{background:#e2e8f0;color:#475569}
.lbbp-current-pools{display:grid;grid-template-columns:1fr 1fr}
.lbbp-current-pool{padding:17px 12px;text-align:center;color:#fff}
.lbbp-current-pool--red{background:linear-gradient(145deg,#991b1b,#ef3340)}
.lbbp-current-pool--green{background:linear-gradient(145deg,#14532d,#159447)}
.lbbp-current-pool>span{display:block;font-size:15px;font-weight:900;letter-spacing:.08em}
.lbbp-current-pool>strong{display:block;margin:5px 0 1px;font-size:31px;line-height:1}
.lbbp-current-pool>small{display:block;opacity:.8}
.lbbp-current-pool>div{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.2);font-size:12px}
.lbbp-current-pool b{font-size:18px}
.lbbp-bet-box{padding:16px 18px 18px}
.lbbp-bet-box__balance{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:11px}
.lbbp-bet-box__balance span{font-size:13px;color:#64748b}
.lbbp-bet-box__balance strong{font-size:25px;color:#0f172a}
.lbbp-closed-banner{margin:0 0 11px;padding:9px 12px;border-radius:9px;background:#e2e8f0;color:#475569;text-align:center;font-size:12px;font-weight:900;letter-spacing:.1em}
.lbbp-bet-form>label{display:block;font-size:12px;font-weight:900;color:#334155;text-transform:uppercase;letter-spacing:.05em}
.lbbp-bet-form input[type=number]{width:100%;min-height:50px;margin-top:6px;padding:8px 13px;border:1px solid #94a3b8;border-radius:11px;background:#fff;font-size:19px}
.lbbp-bet-form input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}
.lbbp-quick-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}
.lbbp-quick-amounts button{min-height:37px;padding:5px;border:1px solid #94a3b8;border-radius:9px;background:#fff;color:#334155;font-weight:900;cursor:pointer}
.lbbp-quick-amounts button:hover:not(:disabled){border-color:#2563eb;color:#1d4ed8;background:#eff6ff}
.lbbp-quick-amounts button:disabled{opacity:.4;cursor:not-allowed}
.lbbp-current-fight .lbbp-bet-buttons{grid-template-columns:1fr 1fr}
.lbbp-current-fight .lbbp-bet-buttons button{min-height:49px}
.lbbp-current-fight.is-closed .lbbp-current-pool{filter:saturate(.72);opacity:.8}
.lbbp-current-fight.is-closed .lbbp-bet-box{background:#f8fafc}
.lbbp-inline-notice{display:none;margin-top:11px;padding:10px 11px;border-radius:9px;font-size:12px;font-weight:700}
.lbbp-inline-notice.is-loading,.lbbp-inline-notice.is-success,.lbbp-inline-notice.is-error{display:block}
.lbbp-inline-notice.is-loading{background:#eff6ff;color:#1e40af}
.lbbp-inline-notice.is-success{background:#dcfce7;color:#166534}
.lbbp-inline-notice.is-error{background:#fee2e2;color:#991b1b}
.lbbp-bet-form.is-busy{opacity:.72}

.lbbp-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:13px}
.lbbp-section-heading span{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:#2563eb}
.lbbp-section-heading h3{margin:2px 0 0;font-size:22px}
.lbbp-section-heading small{color:#64748b}
.lbbp-results-section,.lbbp-user-bets--scroll{margin-top:18px;padding:18px;border:1px solid #dbe1ea;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.lbbp-result-roadmap{overflow-x:auto;overflow-y:hidden;padding:14px 10px 20px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc;scroll-behavior:smooth;overscroll-behavior-inline:contain}
.lbbp-result-roadmap__track{display:flex;align-items:flex-start;min-width:max-content;padding:4px 20px 4px 5px}
.lbbp-result-column{position:relative;display:flex;flex-direction:column;gap:16px;margin-right:28px}
.lbbp-result-column:last-child{margin-right:0}
.lbbp-result-column+.lbbp-result-column:before{content:'';position:absolute;right:100%;top:21px;width:28px;height:3px;background:#94a3b8}
.lbbp-result-node{position:relative;display:grid;place-items:center;width:44px;height:44px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #94a3b8,0 4px 12px rgba(15,23,42,.16);font-weight:900;color:#fff;z-index:1}
.lbbp-result-node+.lbbp-result-node:before{content:'';position:absolute;left:50%;bottom:100%;width:3px;height:16px;transform:translateX(-50%);background:#94a3b8;z-index:-1}
.lbbp-result-column--red .lbbp-result-node{background:#dc2626}
.lbbp-result-column--green .lbbp-result-node{background:#16a34a}
.lbbp-result-column--draw .lbbp-result-node{background:#eab308;color:#422006}
.lbbp-result-node[aria-current=true]{box-shadow:0 0 0 3px #0f172a,0 5px 16px rgba(15,23,42,.22)}
.lbbp-result-node span{display:block;max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.lbbp-result-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:10px;font-size:11px;font-weight:800;color:#64748b}
.lbbp-result-legend span{display:inline-flex;align-items:center;gap:5px}
.lbbp-result-legend i{width:9px;height:9px;border-radius:50%}
.lbbp-result-legend .is-red{background:#dc2626}.lbbp-result-legend .is-green{background:#16a34a}.lbbp-result-legend .is-draw{background:#eab308}

.lbbp-user-bets--scroll .lbbp-front-table-wrap{max-height:360px;overflow:auto}
.lbbp-user-bets--scroll table thead th{position:sticky;top:0;z-index:2;background:#f8fafc}

.lbbp-history-drawer{position:fixed;right:0;top:38%;z-index:9999}
.lbbp-history-drawer>summary{display:block;cursor:pointer;writing-mode:vertical-rl;transform:rotate(180deg);padding:14px 9px;border-radius:12px 0 0 12px;background:#0f172a;color:#fff;font-size:12px;font-weight:900;letter-spacing:.06em;box-shadow:0 8px 22px rgba(15,23,42,.25);list-style:none}
.lbbp-history-drawer>summary::-webkit-details-marker{display:none}
.lbbp-history-drawer__panel{position:absolute;right:0;top:0;width:min(720px,88vw);max-height:62vh;padding:16px;border:1px solid #cbd5e1;border-radius:16px 0 0 16px;background:#fff;box-shadow:0 22px 60px rgba(15,23,42,.25);overflow:auto}
.lbbp-history-drawer:not([open]) .lbbp-history-drawer__panel{display:none}
.lbbp-history-drawer[open]>summary{position:absolute;right:min(720px,88vw);top:0}
.lbbp-history-drawer__head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}
.lbbp-history-drawer__head small{color:#64748b}

.lbbp-admin-technical{margin-top:18px;border:1px dashed #94a3b8;border-radius:14px;background:#f8fafc}
.lbbp-admin-technical>summary{padding:13px 16px;cursor:pointer;font-weight:900;color:#475569}
.lbbp-admin-technical__content{padding:0 16px 16px}

@media(max-width:980px){
	.lbbp-stage-grid{grid-template-columns:1fr}
	.lbbp-current-fight{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
	.lbbp-current-fight__top{grid-column:1/-1}
	.lbbp-current-pools{grid-column:1;grid-row:2}
	.lbbp-bet-box{grid-column:2;grid-row:2}
}
@media(max-width:720px){
	.lbbp-front{margin:10px}
	.lbbp-tournament-hero{padding:17px 18px}
	.lbbp-tournament-hero h1{font-size:25px}
	.lbbp-tournament-description{display:none}
	.lbbp-stage-grid{gap:12px;margin-top:12px}
	.lbbp-live-room,.lbbp-current-fight{border-radius:14px}
	.lbbp-live-room{padding:11px}
	.lbbp-live-room__head h3{font-size:17px}
	.lbbp-access-progress{padding:10px}
	.lbbp-current-fight{display:block}
	.lbbp-current-fight__top{padding:13px}
	.lbbp-current-fight__top h3{font-size:17px}
	.lbbp-current-fight__meta{min-width:145px}
	.lbbp-current-pool{padding:14px 8px}
	.lbbp-current-pool>strong{font-size:26px}
	.lbbp-current-pool b{font-size:16px}
	.lbbp-bet-box{padding:13px}
	.lbbp-quick-amounts{grid-template-columns:repeat(4,minmax(0,1fr))}
	.lbbp-results-section,.lbbp-user-bets--scroll{padding:14px;margin-top:12px;border-radius:14px}
	.lbbp-section-heading{align-items:flex-start;flex-direction:column}
	.lbbp-result-roadmap{margin-right:-4px;padding-left:6px}
	.lbbp-history-drawer{top:auto;bottom:12px;right:10px}
	.lbbp-history-drawer>summary{writing-mode:horizontal-tb;transform:none;border-radius:999px;padding:10px 14px}
	.lbbp-history-drawer__panel{position:fixed;left:8px;right:8px;bottom:8px;top:auto;width:auto;max-height:70vh;border-radius:16px}
	.lbbp-history-drawer[open]>summary{position:fixed;right:18px;bottom:18px;top:auto;z-index:2}
}
@media(max-width:430px){
	.lbbp-front-header{margin-bottom:12px}
	.lbbp-current-fight__top{display:block}
	.lbbp-current-fight__meta{margin-top:10px}
	.lbbp-current-pools{grid-template-columns:1fr 1fr}
	.lbbp-current-pool>span{font-size:13px}
	.lbbp-current-pool>strong{font-size:23px}
	.lbbp-current-pool>div{font-size:10px}
	.lbbp-quick-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}
	.lbbp-current-fight .lbbp-bet-buttons{grid-template-columns:1fr}
	.lbbp-result-column{margin-right:23px}
	.lbbp-result-column+.lbbp-result-column:before{width:23px}
}


/* v1.3 — reproductor 1280×720 dominante y panel al extremo derecho */
.lbbp-stage-grid .lbbp-live-room{padding:12px;width:100%}
.lbbp-stage-grid .lbbp-player-demo,.lbbp-stage-grid .lbbp-player-frame{width:100%;aspect-ratio:16/9;min-height:0}
.lbbp-stage-grid .lbbp-current-fight{width:100%;justify-self:end}
@media(min-width:981px){
	.lbbp-stage-grid{grid-template-columns:minmax(0,1fr) clamp(350px,27vw,420px)}
}
@media(max-width:980px){
	.lbbp-stage-grid{grid-template-columns:1fr}
	.lbbp-stage-grid .lbbp-current-fight{justify-self:stretch}
}
@media(max-width:720px){
	.lbbp-front{width:auto}
}


/* v1.3.1 — breakout de la columna angosta del tema en escritorio */
@media(min-width:1100px){
	.lbbp-front{
		width:min(1580px,calc(100vw - 48px));
		max-width:none;
		margin-left:50%;
		margin-right:0;
		transform:translateX(-50%);
	}
	.lbbp-stage-grid{
		grid-template-columns:minmax(0,1fr) minmax(380px,420px);
		gap:24px;
		align-items:start;
	}
	.lbbp-stage-grid .lbbp-live-room{
		min-width:0;
		width:100%;
	}
	.lbbp-stage-grid .lbbp-player-demo,
	.lbbp-stage-grid .lbbp-player-frame{
		display:flex;
		width:100%;
		aspect-ratio:16/9;
	}
	.lbbp-stage-grid .lbbp-current-fight{
		width:100%;
		max-width:420px;
		justify-self:end;
	}
}
@media(max-width:1099px){
	.lbbp-front{
		transform:none;
		margin-left:auto;
		margin-right:auto;
	}
}
@media(max-width:720px){
	.lbbp-front{
		width:calc(100% - 24px);
		margin:12px auto;
	}
}

/* v1.3.3 — ancho real de la Sala dentro de temas WordPress angostos */
@media(min-width:1100px){
	body.lbbp-room-page .lbbp-room-ancestor{
		max-width:none!important;
		overflow:visible!important;
	}
	body.lbbp-room-page main.lbbp-room-ancestor,
	body.lbbp-room-page article.lbbp-room-ancestor,
	body.lbbp-room-page .wp-block-post-content.lbbp-room-ancestor,
	body.lbbp-room-page .entry-content.lbbp-room-ancestor,
	body.lbbp-room-page .wp-block-shortcode.lbbp-room-ancestor,
	body.lbbp-room-page .wp-block-group__inner-container.lbbp-room-ancestor{
		width:100%!important;
		max-width:none!important;
	}
	body.lbbp-room-page .wp-block-shortcode.lbbp-room-ancestor{
		margin-left:0!important;
		margin-right:0!important;
	}
	body.lbbp-room-page .lbbp-front{
		width:min(1580px,calc(100vw - 48px))!important;
		max-width:none!important;
		margin:24px auto!important;
		transform:none!important;
	}
	body.lbbp-room-page .lbbp-stage-grid{
		display:grid;
		grid-template-columns:minmax(0,1fr) minmax(380px,420px)!important;
		gap:24px;
		align-items:start;
		width:100%;
	}
	body.lbbp-room-page .lbbp-stage-grid .lbbp-live-room{
		min-width:0;
		width:100%;
		margin:0;
	}
	body.lbbp-room-page .lbbp-stage-grid .lbbp-player-demo,
	body.lbbp-room-page .lbbp-stage-grid .lbbp-player-frame{
		display:flex;
		width:100%;
		max-width:none;
		aspect-ratio:16/9;
	}
	body.lbbp-room-page .lbbp-stage-grid .lbbp-current-fight{
		width:100%;
		max-width:420px;
		justify-self:end;
	}
}

@media(max-width:1099px){
	body.lbbp-room-page .lbbp-front{
		transform:none!important;
	}
}

/* Estado real de la conexión; ayuda a distinguir WebSocket de respaldo. */
.lbbp-realtime-status {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.25;
	opacity: .82;
}

.lbbp-realtime-status span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #8b949e;
	box-shadow: 0 0 0 3px rgba(139, 148, 158, .14);
	flex: 0 0 auto;
}

.lbbp-realtime-status[data-mode="socket"] span {
	background: #21a366;
	box-shadow: 0 0 0 3px rgba(33, 163, 102, .16);
}

.lbbp-realtime-status[data-mode="fallback"] span,
.lbbp-realtime-status[data-mode="connecting"] span {
	background: #d99a00;
	box-shadow: 0 0 0 3px rgba(217, 154, 0, .16);
}

.lbbp-realtime-status[data-mode="blocked"] span {
	background: #cf2e2e;
	box-shadow: 0 0 0 3px rgba(207, 46, 46, .16);
}

/* v1.4.5 — experiencia en vivo: avisos, apuesta actual y ganador visible */
body.lbbp-room-page .notice-wrap,
body.lbbp-room-page .mycred-notice-wrap,
body.lbbp-room-page #mycred-notifications{
	display:none!important;
}

.lbbp-my-current-bet{
	margin:0 0 11px;
	padding:10px 12px;
	border:1px solid #dbe4ef;
	border-left:4px solid #94a3b8;
	border-radius:10px;
	background:#f8fafc;
}
.lbbp-my-current-bet>span{
	display:block;
	margin-bottom:2px;
	font-size:9px;
	font-weight:900;
	letter-spacing:.11em;
	color:#64748b;
}
.lbbp-my-current-bet>strong{
	display:block;
	font-size:13px;
	line-height:1.25;
	color:#334155;
}
.lbbp-my-current-bet.is-red{border-left-color:#dc2626;background:#fff1f2}
.lbbp-my-current-bet.is-red>strong{color:#991b1b}
.lbbp-my-current-bet.is-green{border-left-color:#16a34a;background:#f0fdf4}
.lbbp-my-current-bet.is-green>strong{color:#166534}
.lbbp-my-current-bet.is-split{
	border-left-color:#7c3aed;
	background:linear-gradient(90deg,#fff1f2 0 49%,#f0fdf4 51% 100%);
}
.lbbp-my-current-bet.is-split>strong{color:#312e81}

.lbbp-current-pool{position:relative;transition:filter .24s ease,opacity .24s ease,transform .24s ease,box-shadow .24s ease}
.lbbp-winner-badge{
	display:none;
	position:absolute;
	top:8px;
	left:50%;
	transform:translateX(-50%);
	padding:3px 8px;
	border:1px solid rgba(255,255,255,.7);
	border-radius:999px;
	background:rgba(255,255,255,.94);
	font-size:9px;
	font-style:normal;
	font-weight:1000;
	letter-spacing:.1em;
	color:#0f172a;
	box-shadow:0 4px 12px rgba(15,23,42,.2);
	z-index:2;
}
.lbbp-current-fight.has-result .lbbp-current-pool{
	filter:saturate(.42) brightness(.74);
	opacity:.58;
}
.lbbp-current-fight.winner-red .lbbp-current-pool--red,
.lbbp-current-fight.winner-green .lbbp-current-pool--green{
	filter:saturate(1.28) brightness(1.06);
	opacity:1;
	transform:scale(1.018);
	box-shadow:inset 0 0 0 3px rgba(255,255,255,.92),0 0 24px rgba(255,255,255,.28);
	z-index:1;
}
.lbbp-current-fight.winner-red [data-lbbp-winner-badge="red"],
.lbbp-current-fight.winner-green [data-lbbp-winner-badge="green"]{display:block}
.lbbp-current-fight.result-draw .lbbp-current-pool{
	filter:saturate(.8);
	opacity:.9;
	box-shadow:inset 0 0 0 3px #facc15;
}

.lbbp-live-toast-region{
	position:fixed;
	top:82px;
	right:18px;
	z-index:2147483000;
	width:min(410px,calc(100vw - 24px));
	pointer-events:none;
}
.lbbp-live-toast{
	position:relative;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:12px;
	align-items:center;
	padding:14px 15px 13px;
	border:1px solid rgba(255,255,255,.62);
	border-left:5px solid #16a34a;
	border-radius:15px;
	background:rgba(255,255,255,.97);
	box-shadow:0 18px 50px rgba(15,23,42,.28);
	backdrop-filter:blur(12px);
	-webkit-backdrop-filter:blur(12px);
	opacity:0;
	transform:translateY(-12px) scale(.98);
	transition:opacity .22s ease,transform .22s ease;
	pointer-events:auto;
	overflow:hidden;
}
.lbbp-live-toast:before{
	content:'';
	position:absolute;
	inset:0;
	background:linear-gradient(115deg,rgba(22,163,74,.1),transparent 58%);
	pointer-events:none;
}
.lbbp-live-toast.is-debit{border-left-color:#dc2626}
.lbbp-live-toast.is-debit:before{background:linear-gradient(115deg,rgba(220,38,38,.11),transparent 58%)}
.lbbp-live-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.lbbp-live-toast.is-leaving{opacity:0;transform:translateY(-8px) scale(.985)}
.lbbp-live-toast__copy{position:relative;min-width:0}
.lbbp-live-toast__copy>span{
	display:block;
	font-size:13px;
	font-weight:1000;
	color:#0f172a;
}
.lbbp-live-toast__copy>strong{
	display:block;
	margin-top:2px;
	font-size:9px;
	letter-spacing:.11em;
	color:#16a34a;
}
.lbbp-live-toast.is-debit .lbbp-live-toast__copy>strong{color:#dc2626}
.lbbp-live-toast__copy>p{
	margin:5px 0 0;
	font-size:11px;
	line-height:1.3;
	color:#475569;
}
.lbbp-live-toast__amount{
	position:relative;
	font-size:31px;
	line-height:1;
	font-weight:1000;
	letter-spacing:-.04em;
	color:#15803d;
	white-space:nowrap;
}
.lbbp-live-toast.is-debit .lbbp-live-toast__amount{color:#b91c1c}
.lbbp-live-toast__close{
	position:absolute;
	top:5px;
	right:7px;
	z-index:3;
	width:28px;
	height:28px;
	padding:0;
	border:0;
	background:transparent;
	color:#64748b;
	font-size:22px;
	line-height:28px;
	cursor:pointer;
}

@media(max-width:720px){
	.lbbp-live-toast-region{
		top:12px;
		left:12px;
		right:12px;
		width:auto;
	}
	.lbbp-live-toast{padding:12px 13px 11px;gap:9px;border-radius:13px}
	.lbbp-live-toast__amount{font-size:27px}
	.lbbp-live-toast__copy>p{font-size:10px;max-width:230px}
	.lbbp-winner-badge{top:6px;font-size:8px;padding:2px 6px}
}


/* v1.4.6 — modo compacto exclusivo para teléfono */
.lbbp-mobile-amount-row{display:none}
.lbbp-manual-amount-toggle{display:none}
.lbbp-manual-amount>label{display:block;font-size:12px;font-weight:900;color:#334155;text-transform:uppercase;letter-spacing:.05em}

@media(max-width:720px){
	body.lbbp-room-page .lbbp-current-fight{
		border-radius:14px;
	}
	body.lbbp-room-page .lbbp-current-fight__top{
		display:grid;
		grid-template-columns:minmax(0,1fr) auto;
		align-items:center;
		gap:8px;
		padding:10px 11px;
	}
	body.lbbp-room-page .lbbp-current-fight__eyebrow{
		font-size:8px;
		letter-spacing:.12em;
	}
	body.lbbp-room-page .lbbp-current-fight__top h3{
		margin-top:1px;
		font-size:16px;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
	}
	body.lbbp-room-page .lbbp-current-fight__meta{
		display:block;
		min-width:0;
		margin:0;
	}
	body.lbbp-room-page .lbbp-current-fight__meta>div{
		padding:0;
		border:0;
		background:transparent;
	}
	body.lbbp-room-page .lbbp-current-fight__meta>div:nth-child(2){display:none}
	body.lbbp-room-page .lbbp-current-fight__meta span{display:none}
	body.lbbp-room-page .lbbp-current-fight__meta strong{
		margin:0;
		font-size:11px;
		white-space:nowrap;
	}
	body.lbbp-room-page .lbbp-state-pill{
		padding:5px 9px;
		font-size:11px!important;
		line-height:1;
	}

	body.lbbp-room-page .lbbp-current-pool{
		padding:10px 7px 9px;
	}
	body.lbbp-room-page .lbbp-current-pool>span{font-size:12px}
	body.lbbp-room-page .lbbp-current-pool>strong{
		margin:3px 0 0;
		font-size:23px;
	}
	body.lbbp-room-page .lbbp-current-pool>small{
		font-size:10px;
		line-height:1.1;
	}
	body.lbbp-room-page .lbbp-current-pool>div{
		margin-top:7px;
		padding-top:6px;
		font-size:9px;
		white-space:nowrap;
	}
	body.lbbp-room-page .lbbp-current-pool b{font-size:13px}

	body.lbbp-room-page .lbbp-bet-box{
		display:grid;
		grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
		gap:7px;
		padding:9px 10px 10px;
	}
	body.lbbp-room-page .lbbp-bet-box__balance{
		grid-column:1;
		display:flex;
		flex-direction:column;
		justify-content:center;
		align-items:flex-start;
		min-width:0;
		margin:0;
		padding:8px 9px;
		border:1px solid #dbe4ef;
		border-radius:9px;
		background:#f8fafc;
	}
	body.lbbp-room-page .lbbp-bet-box__balance span{
		font-size:9px;
		font-weight:800;
		line-height:1.15;
	}
	body.lbbp-room-page .lbbp-bet-box__balance strong{
		margin-top:2px;
		font-size:21px;
		line-height:1;
	}
	body.lbbp-room-page .lbbp-my-current-bet{
		grid-column:2;
		min-width:0;
		margin:0;
		padding:8px 9px;
		border-radius:9px;
	}
	body.lbbp-room-page .lbbp-my-current-bet>span{
		margin:0 0 2px;
		font-size:7px;
		letter-spacing:.09em;
	}
	body.lbbp-room-page .lbbp-my-current-bet>strong{
		font-size:11px;
		line-height:1.18;
	}
	body.lbbp-room-page .lbbp-closed-banner,
	body.lbbp-room-page .lbbp-bet-form,
	body.lbbp-room-page .lbbp-realtime-status,
	body.lbbp-room-page .lbbp-estimate-note{
		grid-column:1/-1;
	}
	body.lbbp-room-page .lbbp-closed-banner{
		margin:0;
		padding:7px 9px;
		font-size:10px;
	}

	body.lbbp-room-page .lbbp-bet-form{
		display:flex;
		flex-direction:column;
		min-width:0;
	}
	body.lbbp-room-page .lbbp-mobile-amount-row{
		order:1;
		display:flex;
		align-items:center;
		justify-content:space-between;
		gap:8px;
		margin:1px 0 6px;
	}
	body.lbbp-room-page .lbbp-mobile-amount-row>span{
		font-size:9px;
		font-weight:900;
		letter-spacing:.09em;
		color:#475569;
	}
	body.lbbp-room-page .lbbp-manual-amount-toggle{
		display:inline-flex;
		align-items:center;
		justify-content:center;
		min-height:28px;
		padding:4px 9px;
		border:1px solid #94a3b8;
		border-radius:999px;
		background:#fff;
		color:#334155;
		font-size:9px;
		font-weight:900;
		letter-spacing:.04em;
		cursor:pointer;
	}
	body.lbbp-room-page .lbbp-manual-amount-toggle.is-active{
		border-color:#2563eb;
		background:#eff6ff;
		color:#1d4ed8;
	}
	body.lbbp-room-page .lbbp-manual-amount-toggle:disabled{opacity:.42}
	body.lbbp-room-page .lbbp-quick-amounts{
		order:2;
		grid-template-columns:repeat(4,minmax(0,1fr));
		gap:5px;
		margin:0;
	}
	body.lbbp-room-page .lbbp-quick-amounts button{
		min-width:0;
		min-height:38px;
		padding:4px 2px;
		border-radius:8px;
		font-size:12px;
	}
	body.lbbp-room-page .lbbp-quick-amounts button.is-selected{
		border-color:#2563eb;
		background:#dbeafe;
		color:#1d4ed8;
		box-shadow:inset 0 0 0 1px #2563eb;
	}
	body.lbbp-room-page .lbbp-manual-amount{
		order:3;
		display:block;
		max-height:0;
		opacity:0;
		margin:0;
		overflow:hidden;
		pointer-events:none;
		transition:max-height .2s ease,opacity .18s ease,margin .2s ease;
	}
	body.lbbp-room-page .lbbp-manual-amount.is-open{
		max-height:82px;
		opacity:1;
		margin-top:7px;
		pointer-events:auto;
	}
	body.lbbp-room-page .lbbp-manual-amount label{
		display:block;
		font-size:9px;
	}
	body.lbbp-room-page .lbbp-manual-amount input[type=number]{
		min-height:43px;
		margin-top:4px;
		padding:6px 10px;
		font-size:16px;
	}
	body.lbbp-room-page .lbbp-current-fight .lbbp-bet-buttons{
		order:4;
		display:grid;
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		gap:7px;
		margin-top:8px;
	}
	body.lbbp-room-page .lbbp-current-fight .lbbp-bet-buttons button{
		min-width:0;
		min-height:43px;
		padding:7px 4px;
		border-radius:9px;
		font-size:11px;
		line-height:1.1;
	}
	body.lbbp-room-page .lbbp-inline-notice{
		order:5;
		margin-top:7px;
		padding:7px 9px;
		font-size:10px;
		line-height:1.2;
	}
	body.lbbp-room-page .lbbp-realtime-status{
		margin-top:0;
		font-size:9px;
		gap:5px;
	}
	body.lbbp-room-page .lbbp-realtime-status span{
		width:6px;
		height:6px;
		box-shadow:none!important;
	}
	body.lbbp-room-page .lbbp-estimate-note{
		display:none;
	}
}

@media(max-width:370px){
	body.lbbp-room-page .lbbp-current-fight .lbbp-bet-buttons button{font-size:10px}
	body.lbbp-room-page .lbbp-quick-amounts button{font-size:11px}
	body.lbbp-room-page .lbbp-my-current-bet>strong{font-size:10px}
}
