/* Kingdom Quest v55: renewed Classic Game Lab and simplified reading-plan controls. */
body[data-design="classic"].embedded-lab dialog.lab-studio-page{background:radial-gradient(circle at 82% 4%,rgba(246,189,69,.14),transparent 30rem),linear-gradient(rgba(73,119,178,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(73,119,178,.055) 1px,transparent 1px),linear-gradient(145deg,#061225,#0a1d39 60%,#0e2948);background-size:auto,38px 38px,38px 38px,auto}
body[data-design="classic"].embedded-lab .lab-studio-hero{padding:clamp(18px,2.5vw,30px);border:1px solid rgba(246,189,69,.34);border-radius:18px;background:linear-gradient(120deg,rgba(246,189,69,.1),rgba(10,29,57,.18));box-shadow:0 22px 60px rgba(0,0,0,.28)}
body[data-design="classic"].embedded-lab .lab-workflow span{border-color:#24415f}
body[data-design="classic"].embedded-lab .lab-workflow span:first-child{border-color:var(--gold);text-shadow:0 0 18px rgba(246,189,69,.42)}
body[data-design="classic"].embedded-lab .lab-activity-card,
body[data-design="classic"].embedded-lab .lab-saved-card{position:relative;overflow:hidden;border-color:#2c4867;background:linear-gradient(145deg,rgba(22,49,82,.96),rgba(8,24,47,.98));box-shadow:0 15px 34px rgba(0,0,0,.25);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
body[data-design="classic"].embedded-lab .lab-activity-card::before,
body[data-design="classic"].embedded-lab .lab-saved-card::before{content:"";position:absolute;inset:0 auto 0 -55%;width:36%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.12),transparent);transform:skewX(-18deg);transition:left .5s ease;pointer-events:none}
body[data-design="classic"].embedded-lab .lab-activity-card:hover,
body[data-design="classic"].embedded-lab .lab-saved-card:hover{border-color:var(--gold);box-shadow:0 20px 45px rgba(0,0,0,.34),0 0 0 1px rgba(246,189,69,.18);transform:translateY(-5px)}
body[data-design="classic"].embedded-lab .lab-activity-card:hover::before,
body[data-design="classic"].embedded-lab .lab-saved-card:hover::before{left:125%}
body[data-design="classic"].embedded-lab .lab-card-actions .use-game{box-shadow:0 8px 22px rgba(246,189,69,.18)}

.reading-plans:not(.plan-edit-mode) .reading-plan-actions button:not(#togglePlanEditing),
.reading-plans:not(.plan-edit-mode) .plan-card-heading span button,
.reading-plans:not(.plan-edit-mode) .plan-extra-actions,
.reading-plans:not(.plan-edit-mode) .reading-plan-editor{display:none!important}
.reading-plans #togglePlanEditing{border-color:var(--gold);color:#17130a;background:var(--gold);box-shadow:0 8px 22px rgba(246,189,69,.16)}
.reading-plans.plan-edit-mode{border-color:rgba(246,189,69,.5);box-shadow:0 0 0 2px rgba(246,189,69,.08)}
.reading-plans.plan-edit-mode #togglePlanEditing{color:var(--ink);background:rgba(255,255,255,.08)}
@media(max-width:700px){.reading-plan-actions{width:100%}.reading-plan-actions #togglePlanEditing{width:100%}}
