/* Home only. Other Studio screens keep their current layout. */
.home-screen{--home-ink:#17142c;--home-purple:#2b59ff;--home-pink:#ff5bb0;display:grid;gap:32px;color:var(--home-ink)}
.home-screen .home-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border:2px solid var(--home-ink);border-radius:24px;overflow:hidden;background:#fff;box-shadow:5px 5px 0 var(--home-ink)}
.home-screen .home-hero-copy{padding:36px;display:flex;flex-direction:column;align-items:flex-start;background:#fff}
.home-screen .home-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;line-height:1.5}
.home-screen h2{margin:8px 0 14px;font-size:28px;line-height:1.1;overflow-wrap:anywhere}
.home-screen .home-hero-copy>h2{font-size:clamp(32px,3.6vw,54px);margin-top:20px}
.home-screen p{line-height:1.6;margin:0 0 18px;color:#514961}
.home-screen .home-mode{font-size:12px;border:1px solid #9886b5;background:#ffffffaa;padding:7px 12px;border-radius:30px}
.home-screen .home-next{margin-top:32px;border-top:1px solid #c9b9e0;padding-top:24px;width:100%}
.home-screen h3{font-size:24px;margin:8px 0 10px}
.home-screen button.home-primary{background:#2b59ff;color:#fff;box-shadow:3px 3px 0 #17142c;display:flex;gap:28px;align-items:center}
.home-screen button:hover,.home-screen a.button:hover{transform:translateY(-2px)}
.home-screen button:focus-visible,.home-screen a:focus-visible,.home-screen summary:focus-visible{outline:3px solid #2b59ff;outline-offset:4px}
.home-screen .home-stage{padding:24px;min-width:0;background:#15172f;color:#fff}
.home-screen .home-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:16px}
.home-screen .home-preview-toolbar i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ffc64a;margin-right:6px}
.home-screen .home-preview-toolbar button{padding:7px 10px;font-size:12px}
.home-screen .home-preview-scroll{max-height:390px;overflow:auto;border-radius:16px;border:1px solid #ffffff40;scrollbar-width:thin}
.home-screen .store-preview{border:0;box-shadow:none;margin:0;min-height:300px;padding:24px}
.home-screen .store-preview h2{font-size:26px}
.home-screen .store-preview p{color:var(--game-text)}
.home-screen .store-preview .section-packs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-screen .store-preview .pack{padding:14px;min-width:0}
.home-screen .store-preview .pack h3{font-size:18px}
.home-screen .store-preview .pack p{font-size:12px}
.home-screen .home-preview-note{color:#cfc8e3;font-size:11px;margin:12px 0 0}
.home-screen .home-empty-store{text-align:center;padding:52px 20px;background:#2b2248}
.home-screen .home-empty-store>span{font-size:52px;color:#ffc64a}
.home-screen .home-empty-store p{color:#ddd2ec}
.home-screen .home-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}
.home-screen .home-progress-label{white-space:nowrap;font-size:13px;font-weight:700}
.home-screen .home-progress{width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;accent-color:#2b59ff;margin:8px 0 20px;background:#eee9f7}
.home-screen .home-progress::-webkit-progress-bar{background:#eee9f7}
.home-screen .home-progress::-webkit-progress-value{background:#2b59ff}
.home-screen .home-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-screen .home-step{display:flex;align-items:flex-start;gap:16px;text-align:left;border:1px solid #ddd4e9;border-radius:14px;padding:20px;background:#fff;box-shadow:none}
.home-screen .home-step-number{width:32px;height:32px;flex-shrink:0;border-radius:10px;display:grid;place-items:center;background:#edf1ff;color:#2b59ff;font-size:12px}
.home-screen .home-step.is-ready .home-step-number{background:#edf1ff;color:#2446b0}
.home-screen .home-step strong{display:block;font-size:16px}
.home-screen .home-step small{display:block;font-weight:400;font-size:13px;color:#635970;line-height:1.5;margin:6px 0 12px}
.home-screen .home-step b{font-size:11px;color:#2b59ff}
.home-screen .home-details{border-top:1px solid #e4ddea;margin-top:20px;padding-top:16px}
.home-screen summary{cursor:pointer;font-size:13px;font-weight:700;padding:8px 0}
.home-screen .home-details[open]>summary{margin-bottom:20px}
.home-screen .home-bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}
.home-screen .home-card{border:1px solid #ddd4e9;border-radius:18px;padding:24px;min-width:0}
.home-screen .home-card h2{font-size:24px}
.home-screen .home-status{font-size:11px;font-weight:700;padding:7px 10px;border-radius:20px;background:#eee7fa;white-space:nowrap}
.home-screen .home-share{display:flex;align-items:center;gap:20px;justify-content:space-between}
.home-screen .home-share>div{min-width:0}
.home-screen .home-share img{width:100px;height:100px}
.home-screen .home-caption{font-size:12px;margin:16px 0 0}
.home-screen .home-activity{padding:28px;border-radius:18px;background:#f7f4fb;border:1px solid #e4ddea}
.home-screen #test-dashboard .stat{box-shadow:none;border:1px solid #d4c9e2;background:#fff}
.home-screen #test-dashboard .stat:first-child{background:#edf1ff}
@media(max-width:1100px){.home-screen .home-hero-copy{padding:24px}.home-screen .home-bottom-grid{grid-template-columns:1fr}.home-screen .home-hero{grid-template-columns:1fr 1fr}}
@media(max-width:750px){.home-screen .home-hero,.home-screen .home-steps{grid-template-columns:1fr}.home-screen .home-hero-copy{padding:24px}.home-screen .home-section-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.home-screen .home-stage{padding:18px}.home-screen .home-next{margin-top:24px}.home-screen .home-share{flex-wrap:wrap}.home-screen .home-card,.home-screen .home-activity{padding:20px}.home-screen h2{font-size:26px}.home-screen .home-preview-scroll{max-height:360px}}
@media(prefers-reduced-motion:reduce){.home-screen button:hover,.home-screen a.button:hover{transform:none}}
