
html,body{min-height:100%;}body{background:#f8eaf7!important;transition:background .2s}body.site-dark{background:#17121e!important;color:#fff}#wrap{margin:14px auto 22px!important;overflow:visible!important;border-radius:18px;box-shadow:0 12px 45px #6c367347}#stage{overflow:hidden;border-radius:18px}body.game-open #wrap{display:none}#gameShell{display:none;max-width:1280px;margin:16px auto;padding:0 18px 28px}body.game-open #gameShell{display:block}#gameFrame{width:100%;height:calc(100vh - 115px);min-height:690px;border:1px solid #eac4e5;border-radius:22px;background:#fff9ff}body.site-dark #gameFrame{border-color:#5c4469;background:#251a31}#gameTop{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 6px;color:#60266a;font-weight:900}body.site-dark #gameTop{color:#fce4ff}#homeBack{border:0;border-radius:22px;padding:10px 22px;background:linear-gradient(#ff94d1,#d92b98);color:white;font-weight:900;cursor:pointer}#gameTitleLabel{font-size:19px}@media(max-width:650px){#gameShell{padding:0 7px}#gameFrame{height:calc(100vh - 100px);min-height:650px}}

/* 메인 배경의 밝은 카드 위 문구는 밤 모드에도 항상 진한 색으로 고정 */
#stage .features,#stage .features .feat,#stage .features .feat span,#stage .features .feat small,#stage .template .tt,#stage .template .tt small{color:#5a2467!important;text-shadow:none!important}
#stage .features .feat:first-child,#stage .features .feat i{color:#9b358d!important}
body.site-dark #stage .features,body.site-dark #stage .template{background:linear-gradient(#fffafff5,#fbe6fcf5)!important}

/* V10: 메인 그림을 변경하지 않고 화면 상하단과 바깥 여백의 밤낮 색상을 일치 */
html {background:#ffffff!important;min-height:100%;}
html:has(body.site-dark) {background:#141020!important;}
body {background:#ffffff!important;min-height:100vh;}
body.site-dark {background:#141020!important;}
