body.quini6-control-page{
  background:#FFFFFF;
  color:var(--brand-text,#081A37);
  overflow-x:hidden;
}
.q6-shell{
  width:min(1120px,calc(100% - 32px));
  margin:24px auto 72px;
}
.q6-center{text-align:center;margin-left:auto;margin-right:auto}
.q6-breadcrumb{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
  color:var(--brand-muted,#6B7280);
  font-size:.86rem;
}
.q6-breadcrumb a{
  color:var(--brand-primary,#F2293A);
  font-weight:850;
  text-decoration:none;
}
.q6-hero,
.q6-tool-card,
.q6-keyword-grid,
.q6-note,
.q6-result-wrap,
.q6-result-actions{
  border:1px solid var(--brand-border,#E5E5E5);
  background:#FFFFFF;
  box-shadow:none;
}
.q6-hero{
  border-radius:30px;
  padding:clamp(26px,4.8vw,56px);
}
.q6-kicker{
  margin:0 0 8px;
  color:var(--brand-primary,#F2293A);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.72rem;
}
.q6-hero h1,
.q6-section-head h2,
.q6-result-wrap h2{
  margin:0;
  color:var(--brand-text,#081A37);
  letter-spacing:-.035em;
  line-height:1.02;
}
.q6-hero h1{font-size:clamp(2rem,5.4vw,4.25rem)}
.q6-section-head h2{font-size:clamp(1.5rem,3.3vw,2.4rem)}
.q6-hero p:not(.q6-kicker),
.q6-section-head p,
.q6-keyword-grid article p,
.q6-note,
.q6-select-row p,
.q6-result-wrap p{
  color:var(--brand-muted,#6B7280);
  line-height:1.58;
}
.q6-hero p:not(.q6-kicker){max-width:820px;margin:14px auto 0;font-size:clamp(1rem,1.7vw,1.15rem)}
.q6-hero-actions,
.q6-result-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.q6-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid var(--brand-border,#E5E5E5);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.035em;
  text-decoration:none;
  cursor:pointer;
  box-shadow:none;
}
.q6-btn-primary{
  background:var(--brand-primary,#F2293A);
  border-color:var(--brand-primary,#F2293A);
  color:#FFFFFF;
}
.q6-btn-secondary{
  background:#FFFFFF;
  color:var(--brand-text,#081A37);
}
.q6-tool-card,
.q6-keyword-grid,
.q6-note,
.q6-result-wrap,
.q6-result-actions{
  margin-top:20px;
  border-radius:28px;
  padding:clamp(20px,3.6vw,38px);
}
.q6-section-head{max-width:820px;margin:0 auto 22px}
.q6-section-head p{margin:9px auto 0;max-width:760px}
.q6-form{display:grid;gap:18px}
.q6-number-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.q6-number-grid label{
  display:grid;
  gap:7px;
  min-width:0;
  color:var(--brand-text,#081A37);
  font-weight:900;
  text-align:center;
}
.q6-number-grid span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  margin:0 auto;
  border-radius:999px;
  background:#F3F3F3;
  color:var(--brand-muted,#6B7280);
  font-size:.78rem;
}
.q6-number-grid input{
  width:100%;
  min-width:0;
  height:64px;
  border:1px solid var(--brand-border,#E5E5E5);
  border-radius:20px;
  background:#F8F8F8;
  color:var(--brand-text,#081A37);
  text-align:center;
  font:950 1.55rem/1 var(--font-number,var(--font-mono,monospace));
  outline:none;
  box-sizing:border-box;
}
.q6-number-grid input:focus,
.q6-select-row select:focus{
  border-color:var(--brand-primary,#F2293A);
  box-shadow:0 0 0 4px rgba(242,41,58,.12);
}
.q6-number-grid input.is-filled{
  background:#FFFFFF;
  border-color:rgba(7,20,38,.22);
}
.q6-select-row{
  display:grid;
  gap:8px;
  max-width:520px;
  margin:0 auto;
  text-align:center;
}
.q6-select-row label{
  color:var(--brand-text,#081A37);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:.78rem;
}
.q6-select-row select{
  min-height:52px;
  border:1px solid var(--brand-border,#E5E5E5);
  border-radius:18px;
  background:#FFFFFF;
  color:var(--brand-text,#081A37);
  padding:0 16px;
  font-weight:850;
  text-align:center;
  outline:none;
}
.q6-select-row p{margin:0;font-size:.9rem}
.q6-error{
  min-height:1.3em;
  text-align:center;
  color:#B42318;
  font-weight:850;
}
.q6-submit{justify-self:center;min-width:230px}
.q6-keyword-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.q6-keyword-grid .q6-section-head{
  grid-column:1/-1;
  margin-bottom:4px;
}
.q6-keyword-grid article{
  border:1px solid var(--brand-border,#E5E5E5);
  border-radius:22px;
  background:#FAFAFA;
  padding:20px;
  text-align:center;
}
.q6-keyword-grid article strong{
  display:block;
  color:var(--brand-text,#081A37);
  font-size:1.05rem;
  margin-bottom:6px;
}
.q6-keyword-grid article p{margin:0}
.q6-note{max-width:none;line-height:1.6}
.q6-note strong{color:var(--brand-text,#081A37)}
.q6-result-wrap{
  display:grid;
  gap:16px;
}
.q6-summary-card,
.q6-modalidad-card,
.q6-empty-card{
  border:1px solid var(--brand-border,#E5E5E5);
  border-radius:24px;
  background:#FAFAFA;
  padding:20px;
  text-align:center;
  box-shadow:none;
}
.q6-summary-card h2,
.q6-modalidad-card h3,
.q6-empty-card h2{margin:0 0 8px;color:var(--brand-text,#081A37)}
.q6-balls{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  margin:14px 0;
}
.q6-ball{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid var(--brand-border,#E5E5E5);
  background:#FFFFFF;
  color:var(--brand-text,#081A37);
  font:950 1rem/1 var(--font-number,var(--font-mono,monospace));
}
.q6-ball.played{
  background:var(--brand-primary,#F2293A);
  border-color:var(--brand-primary,#F2293A);
  color:#FFFFFF;
}
.q6-ball.hit{
  background:#071426;
  border-color:#071426;
  color:#FFFFFF;
}
.q6-hitline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  background:#FFFFFF;
  border:1px solid var(--brand-border,#E5E5E5);
  color:var(--brand-text,#081A37);
  font-weight:900;
}
.q6-hitline strong{font-size:1.35em;color:var(--brand-primary,#F2293A);margin-right:4px}
.q6-modalidad-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.q6-modalidad-card p{margin:8px 0 0}
@media (max-width:760px){
  .q6-shell{width:min(100% - 18px,430px);margin:14px auto 48px}
  .q6-breadcrumb{font-size:.78rem;margin-bottom:10px}
  .q6-hero,.q6-tool-card,.q6-keyword-grid,.q6-note,.q6-result-wrap,.q6-result-actions{border-radius:22px;padding:18px}
  .q6-hero h1{font-size:clamp(1.75rem,8.2vw,2.45rem)}
  .q6-hero p:not(.q6-kicker),.q6-section-head p{font-size:.96rem;line-height:1.48}
  .q6-hero-actions,.q6-result-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .q6-btn{width:100%;min-height:46px;padding:0 14px;font-size:.82rem}
  .q6-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .q6-number-grid input{height:56px;border-radius:18px;font-size:1.36rem}
  .q6-select-row{max-width:100%}
  .q6-submit{min-width:0;width:100%}
  .q6-keyword-grid,.q6-modalidad-grid{grid-template-columns:1fr;gap:10px}
  .q6-keyword-grid article,.q6-summary-card,.q6-modalidad-card,.q6-empty-card{border-radius:18px;padding:16px}
  .q6-ball{width:42px;height:42px}
}
@media (max-width:370px){
  .q6-shell{width:min(100% - 14px,410px)}
  .q6-number-grid{gap:8px}
  .q6-number-grid input{height:52px;font-size:1.25rem}
}

/* ========================================================================== 
   B2.9.5.35 — Quini 6: controlador con diseño compacto tipo verificador
   ========================================================================== */
body.quini6-control-page{
  background:#FFFFFF;
}
.q6-shell--control{
  width:min(980px,calc(100% - 32px));
  margin:22px auto 68px;
}
.q6-control-hero{
  max-width:820px;
  margin:0 auto 18px;
  padding:18px 14px 8px;
  border:0;
  background:transparent;
  box-shadow:none;
}
.q6-control-hero h1{
  margin:0;
  color:#071426;
  font-size:clamp(2.05rem,5.2vw,4.15rem);
  line-height:1.02;
  letter-spacing:-.05em;
  text-align:center;
}
.q6-control-hero p:not(.q6-kicker){
  max-width:700px;
  margin:14px auto 0;
  color:#687386;
  font-size:clamp(.98rem,1.4vw,1.12rem);
  line-height:1.48;
}
.q6-play-card{
  width:min(640px,100%);
  margin:0 auto 20px;
  padding:clamp(22px,3.3vw,34px);
  border:1px solid rgba(7,20,38,.14);
  border-radius:26px;
  background:#FFFFFF;
  box-shadow:none;
  text-align:center;
}
.q6-play-card .q6-section-head{
  max-width:560px;
  margin:0 auto 18px;
}
.q6-play-card .q6-section-head h2{
  color:#071426;
  font-size:clamp(1.45rem,3vw,2rem);
  line-height:1.06;
  letter-spacing:-.035em;
}
.q6-play-card .q6-section-head p{
  max-width:520px;
  margin:9px auto 0;
  color:#5F6B7A;
  font-weight:750;
  line-height:1.42;
}
.q6-form--play{
  display:grid;
  gap:15px;
  justify-items:center;
}
.q6-number-grid--play{
  display:grid;
  grid-template-columns:repeat(6,48px);
  gap:8px;
  justify-content:center;
  width:auto;
}
.q6-number-grid--play label{
  display:block;
  width:48px;
}
.q6-number-grid--play label span{
  display:none !important;
}
.q6-number-grid--play input{
  width:48px;
  height:50px;
  min-width:48px;
  border:2px solid rgba(7,20,38,.16);
  border-radius:13px;
  background:#FFFFFF;
  color:#071426;
  text-align:center;
  font:950 1.25rem/1 var(--font-number,var(--font-mono,monospace));
  letter-spacing:-.03em;
  box-shadow:none;
}
.q6-number-grid--play input:focus{
  border-color:#071426;
  box-shadow:0 0 0 4px rgba(7,20,38,.08);
}
.q6-number-grid--play input.is-filled{
  background:#FAFAFB;
  border-color:#071426;
}
.q6-select-row--play{
  width:min(520px,100%);
  margin:2px auto 0;
  display:grid;
  gap:7px;
  text-align:center;
}
.q6-select-row--play label{
  color:#071426;
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.q6-select-row--play select{
  width:100%;
  min-height:46px;
  border:1px solid rgba(7,20,38,.14);
  border-radius:999px;
  background:#FFFFFF;
  color:#071426;
  padding:0 16px;
  font-weight:850;
  text-align:center;
  box-shadow:none;
}
.q6-select-row--play p{
  margin:0;
  color:#687386;
  font-size:.84rem;
  line-height:1.35;
}
.q6-form-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}
.q6-form-actions .q6-btn{
  width:auto;
  min-width:150px;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  box-shadow:none;
}
.q6-play-card .q6-btn-primary{
  background:#071426;
  border-color:#071426;
  color:#FFFFFF;
}
.q6-play-card .q6-btn-secondary{
  background:#FFFFFF;
  border-color:rgba(7,20,38,.18);
  color:#071426;
}
.q6-keyword-grid--clean{
  width:min(900px,100%);
  margin:20px auto 0;
  border:1px solid rgba(7,20,38,.10);
  border-radius:24px;
  background:#FFFFFF;
  box-shadow:none;
  text-align:center;
}
.q6-keyword-grid--clean article{
  background:#FAFAFB;
  border-color:rgba(7,20,38,.10);
  box-shadow:none;
}
@media (max-width:760px){
  .q6-shell--control{width:min(100% - 18px,430px);margin:14px auto 48px}
  .q6-control-hero{padding:10px 4px 4px;margin-bottom:12px}
  .q6-control-hero h1{font-size:clamp(1.84rem,9vw,2.65rem);letter-spacing:-.045em}
  .q6-control-hero p:not(.q6-kicker){font-size:.94rem;line-height:1.42;margin-top:10px}
  .q6-play-card{padding:18px 12px;border-radius:22px}
  .q6-play-card .q6-section-head{margin-bottom:14px}
  .q6-play-card .q6-section-head h2{font-size:1.42rem}
  .q6-play-card .q6-section-head p{font-size:.88rem;line-height:1.38}
  .q6-number-grid--play{grid-template-columns:repeat(6,42px);gap:5px}
  .q6-number-grid--play label{width:42px}
  .q6-number-grid--play input{width:42px;height:46px;min-width:42px;border-radius:12px;font-size:1.12rem}
  .q6-form-actions{display:grid;grid-template-columns:1fr;gap:9px;width:100%}
  .q6-form-actions .q6-btn{width:100%;min-width:0}
  .q6-keyword-grid--clean{border-radius:20px;padding:16px}
}
@media (max-width:370px){
  .q6-number-grid--play{grid-template-columns:repeat(6,39px);gap:4px}
  .q6-number-grid--play label{width:39px}
  .q6-number-grid--play input{width:39px;height:44px;min-width:39px;font-size:1.05rem}
}
