/* V70 dark contrast — confirmed from 2026-10-13 screen capture.
   Keep cube sticker colors accurate, darken the surrounding panels instead. */
body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view),
body.rubik-guide-page.dark :is(.rubik-net-view,.rubik-full-view),
body.dark #academyRubikReader :is(.rubik-net-view,.rubik-full-view){
 background:#263b57!important;color:#f3f8ff!important;
 border:1px solid #7297bb!important;box-shadow:none!important;
}
body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view) h4,
body.rubik-guide-page.dark :is(.rubik-net-view,.rubik-full-view) h4,
body.dark #academyRubikReader :is(.rubik-net-view,.rubik-full-view) h4{
 color:#f4f9ff!important;font-weight:850!important;
 font-size:clamp(13px,.91vw,16px)!important;
 line-height:1.5!important;
}
body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view) small,
body.rubik-guide-page.dark :is(.rubik-net-view,.rubik-full-view) small,
body.dark #academyRubikReader :is(.rubik-net-view,.rubik-full-view) small{
 color:#d4e6f9!important;
}
body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view) .rubik-diagram,
body.rubik-guide-page.dark :is(.rubik-net-view,.rubik-full-view) .rubik-diagram,
body.dark #academyRubikReader :is(.rubik-net-view,.rubik-full-view) .rubik-diagram{
 background:#263b57!important;border-radius:9px!important;
}
body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view) :is(button,a),
body.rubik-guide-page.dark :is(.rubik-net-view,.rubik-full-view) :is(button,a),
body.dark #academyRubikReader :is(.rubik-net-view,.rubik-full-view) :is(button,a){
 color:#edf7ff!important;background:#315376!important;
 border-color:#8ab3d4!important;
}
body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view) :is(button,a):focus-visible,
body.rubik-guide-page.dark :is(.rubik-net-view,.rubik-full-view) :is(button,a):focus-visible{
 outline:3px solid #bde4ff!important;outline-offset:2px!important;
}
body.rubik-hub-page.dark :is(.rubik-section-header,.rubik-topic-nav,.rubik-card-actions,
.rubik-study-timeline,.rubik-lesson-simulator,.rubik-3d-controls,.rubik-controls,
.rubik-algorithm,.rubik-notation-live-guide,.rubik-studio-timeline,
.rubik-case-owner-hint,.rubik-lesson-navigation){
 color:#edf6ff!important;
}
body.rubik-hub-page.dark :is(.rubik-alg-filter,.rubik-alg-filters,.rubik-catalog-filters,
.rubik-notation-selection,.rubik-notation-explanation,.rubik-notation-group,
.rubik-stage-controls,.rubik-step-controls,.rubik-lesson-alg-list){
 background:#233650!important;border-color:#6484a6!important;
}
body.rubik-hub-page.dark :is(.rubik-alg-filter,.rubik-alg-filters,.rubik-catalog-filters,
.rubik-notation-selection,.rubik-notation-explanation,.rubik-notation-group)
:is(label,p,small,strong,h3,span){
 color:#ebf5ff!important;
}
body.rubik-hub-page.dark :is(.rubik-alg-filter,.rubik-alg-filters,.rubik-catalog-filters,
.rubik-notation-selection,.rubik-notation-explanation,.rubik-notation-group)
:is(input,select,button){
 color:#f2f8ff!important;background:#2f4b6d!important;
 border-color:#7398c1!important;
}
body.rubik-hub-page.dark :is(.rubik-training-stage,.rubik-studio-view) :is(.rubik-progress,.rubik-notation-live-status){
 color:#deedff!important;
}
/* Training studio has more specific legacy panel rules; do not inherit white
   card backgrounds with white controls and descriptions. */
body.rubik-hub-page.dark .rubik-studio-view .rubik-full-view,
body.rubik-hub-page.dark .rubik-studio-view .rubik-net-view,
body.rubik-hub-page.dark .rubik-notation-live .rubik-full-view,
body.rubik-hub-page.dark .rubik-notation-live .rubik-net-view{
 background:#263b57!important;color:#f3f8ff!important;
 border-color:#7297bb!important;
}
body.rubik-hub-page.dark .rubik-studio-view :is(.rubik-full-view,.rubik-net-view) h4,
body.rubik-hub-page.dark .rubik-notation-live :is(.rubik-full-view,.rubik-net-view) h4{
 color:#f5faff!important;
}
@media(prefers-reduced-motion:reduce){
 body.rubik-hub-page.dark :is(.rubik-net-view,.rubik-full-view){transition:none!important}
}
