.game.cake { text-align: center; }
.ck-head { display: flex; }
.ck-exit, .ck-quit { font-size: 1rem; border: 0; border-radius: 12px; padding: 8px 14px; background: #fff; color: #4a4a6a; box-shadow: 0 3px 0 #d5d9e6; cursor: pointer; font-family: inherit; }
.ck-title { font-size: 2.2rem; margin: 10px 0 4px; }
.ck-desc { font-size: 1.05rem; color: #555; }
.ck-best { font-size: 1.15rem; font-weight: 700; color: #e8590c; }
.ck-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 16px; }
.ck-stage { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 6px 0 #d8c3a5; cursor: pointer; font-family: inherit; }
.ck-stage:active { transform: translateY(3px); box-shadow: 0 3px 0 #d8c3a5; }
.ck-st-ico { font-size: 2.4rem; }
.ck-st-name { font-size: 1.2rem; font-weight: 800; color: #333; }
.ck-st-star { font-size: .9rem; }
.ck-hud { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; box-shadow: 0 3px 0 #e1e4ee; }
.ck-field { position: relative; height: 380px; border-radius: 20px; overflow: hidden; background: linear-gradient(#fff4e0, #ffd8a8); box-shadow: inset 0 -40px 0 rgba(150,90,40,.18); }
.ck-field.st2 { background: linear-gradient(#e3f6ff, #a5d8ff); }
.ck-field.st3 { background: linear-gradient(#fff0f6, #fcc2d7); }
.ck-field.st4 { background: linear-gradient(#f1f8ff, #c5e3f6); }
.ck-field.st5 { background: linear-gradient(#f8f0e3, #e0b98a); }
.ck-field.ouch { animation: ck-ouch .4s; }
.ck-player { position: absolute; left: 2%; top: 50%; transform: translateY(-50%); font-size: 3.6rem; z-index: 2; }
.ck-player.throw { animation: ck-throw .25s; }
.ck-robot { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); z-index: 1; }
.ck-face { font-size: 2.8rem; line-height: 1; animation: ck-walk .5s ease-in-out infinite alternate; }
.ck-word { margin-top: 2px; background: #fff; border-radius: 10px; padding: 2px 10px; font-size: 1.35rem; font-weight: 800; font-family: ui-monospace, Menlo, monospace; color: #333; box-shadow: 0 2px 0 rgba(0,0,0,.15); white-space: nowrap; }
.ck-word .ok { color: #2bb673; }
.ck-robot.target .ck-word { outline: 3px solid #ffd23f; }
.ck-robot.fast .ck-word { background: #f3e8ff; }
.ck-robot.heart .ck-word { background: #ffe3ec; }
.ck-robot.hit { animation: ck-pop .45s forwards; }
.ck-robot.bump { animation: ck-bump .3s forwards; }
.ck-cake { position: absolute; font-size: 2rem; z-index: 3; transition: left .25s linear, top .25s linear, transform .25s linear; pointer-events: none; }
.ck-banner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 900; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.3); background: rgba(0,0,0,.25); z-index: 5; animation: ck-banner 1.4s forwards; pointer-events: none; }
.ck-banner.lv { background: none; color: #ff6b00; text-shadow: 0 3px 0 #fff; }
.ck-buf { margin: 12px auto 4px; max-width: 360px; min-height: 56px; line-height: 56px; background: #fff; border-radius: 16px; font-size: 1.8rem; font-weight: 800; font-family: ui-monospace, Menlo, monospace; letter-spacing: 2px; box-shadow: 0 4px 0 #d5d9e6; }
.ck-buf.empty { color: #99a; font-size: 1.1rem; letter-spacing: 0; font-family: inherit; font-weight: 600; }
.ck-buf.wrong { color: #e5484d; }
.ck-buf.shake { animation: ck-shake .3s; }
.ck-hint { color: #e5484d; font-weight: 700; min-height: 1.4em; }
.ck-over-ico { font-size: 5rem; animation: ck-bounce 1s infinite alternate; }
.ck-result { font-size: 1.25rem; }
.ck-again { font-size: 1.3rem; border: 0; border-radius: 16px; padding: 14px 26px; margin: 8px; background: #ff8a3d; color: #fff; box-shadow: 0 5px 0 #c8641f; cursor: pointer; font-family: inherit; }
.ck-again.alt { background: #4a7cf7; box-shadow: 0 5px 0 #3a4fb8; }
@keyframes ck-ouch { 0%,100% { box-shadow: inset 0 0 0 0 rgba(229,72,77,0); } 50% { box-shadow: inset 0 0 0 12px rgba(229,72,77,.7); } }
@keyframes ck-throw { 50% { transform: translateY(-50%) rotate(-15deg) scale(1.1); } }
@keyframes ck-walk { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes ck-pop { to { transform: translateX(-50%) scale(1.6); opacity: 0; } }
@keyframes ck-bump { to { transform: translateX(-50%) scale(.6); opacity: 0; } }
@keyframes ck-banner { 0% { opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ck-shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes ck-bounce { to { transform: translateY(-10px); } }
@media (max-width: 600px) { .ck-field { height: 320px; } .ck-word { font-size: 1.1rem; } .ck-face { font-size: 2.2rem; } .ck-player { font-size: 2.8rem; } }
