
/* Partner Rubik: one modest outbound referral, NOT a second academy inside Sudoku. */
.rubikpro-partner-banner{
display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:13px!important;
max-width:1100px!important;width:calc(100% - 24px)!important;margin:18px auto 28px!important;padding:13px 17px!important;
border:1px solid #cbdbf1!important;border-radius:15px!important;
background:linear-gradient(115deg,#f0f4ff,#f9f7ff)!important;
box-shadow:0 4px 15px #244a8410!important;box-sizing:border-box!important;
}
.rubikpro-partner-banner .rp-cube-icon{display:flex;align-items:center;justify-content:center;width:66px;height:65px;flex:0 0 66px}
.rubikpro-partner-banner .rp-cube-icon img{width:64px;height:64px;object-fit:contain}
.rubikpro-partner-banner .rp-cross-copy{flex:1;min-width:0}
.rubikpro-partner-banner .rp-cross-copy strong{display:block;font-size:16px!important;color:#1b3d67!important;line-height:1.45;font-weight:850}
.rubikpro-partner-banner .rp-cross-copy p{font-size:13px!important;line-height:1.6;color:#4e6983!important;margin:2px 0 0!important}
.rubikpro-partner-banner a{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #325caf!important;border-radius:10px!important;background:#315cc7!important;color:white!important;padding:10px 16px!important;font-size:13px!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap}
.rubikpro-partner-banner a:hover{background:#254da2!important}
@media(max-width:650px){.rubikpro-partner-banner{padding:12px!important}.rubikpro-partner-banner .rp-cube-icon{flex-basis:49px;width:49px;height:49px}.rubikpro-partner-banner .rp-cube-icon img{width:48px;height:48px}.rubikpro-partner-banner a{width:100%}}
/* Extra protection: resident Rubik content inherited from the old combined
   Sudoku site must never appear in public Sudoku experience.
   The unchanged DOM ids remain available to historical scripts. */
body:not(.owner-console) #academyRubikTab,
body:not(.owner-console) #academyRubikView,
body:not(.owner-console) .rubik-academy-panel,
body:not(.owner-console) #rubikGuideCard,
body:not(.owner-console) .rubik-hub-teaser,
body:not(.owner-console) .sudoku-rubik-separate-banner {display:none!important}
.dual-academy-cards:has(.sudoku-academy-panel){grid-template-columns:1fr!important}
.dual-academy-cards .sudoku-academy-panel{max-width:950px;margin-inline:auto;width:100%}
.hero-dual-academy-choices:has(.hero-dual-academy-choice.sudoku){grid-template-columns:1fr!important}

/* The old page used a side-by-side two-academy marketing layout.
   Keep the genuine Sudoku Academy panel and its live controls at full width. */
.academy-dual-heroes{display:block!important}
.academy-dual-heroes .academy-welcome{max-width:100%!important;width:100%!important}
.hero-dual-academy-choices>.hero-dual-academy-choice.sudoku{width:100%!important;max-width:100%!important}
.hero-dual-academy-choices{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.dual-academy-cards>.sudoku-academy-panel{width:min(100%,950px)!important}
#academyRubikTab,#academyRubikView{display:none!important}
