/* 통통 샤봇 — 밤 도시 네온 */
.stage.fl {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(123, 108, 255, 0.28), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(255, 107, 90, 0.14), transparent 70%),
    #0e1030;
  touch-action: none;
  cursor: pointer;
}
.stage.fl::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.1;
  background-image: linear-gradient(#7b6cff 1px, transparent 1px), linear-gradient(90deg, #7b6cff 1px, transparent 1px);
  background-size: 40px 40px; }
.fl-cv { position: relative; display: block; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(123, 108, 255, 0.45), 0 0 40px rgba(123, 108, 255, 0.25), 0 20px 50px rgba(0, 0, 0, 0.5); }
@media (max-width: 480px) { .fl-cv { border-radius: 0; box-shadow: none; } }

/* 끝 화면: 어두운 판 */
.fl .overlay { background: rgba(8, 9, 30, 0.6); cursor: default; }
.fl .panel {
  --ink: #eef0ff; --ink-2: #b9bedf; --muted: #8a90b8; --panel: #1f2340; --panel-2: #282c4d; --line: #3a3f6b; --main: #7b6cff; --main-ink: #c9c1ff;
  background: linear-gradient(180deg, #232853, #1a1d3d);
  color: var(--ink);
  border: 1px solid rgba(123, 108, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(123, 108, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 22px 20px 18px;
}
.fl .panel h2 { font-size: 32px; margin: 0 0 10px; color: #fff; text-shadow: 0 0 18px rgba(255, 107, 90, 0.6); }
.fl .panel p { color: var(--ink-2); }
.fl .panel .newbest { color: #ffd23f; font-weight: 800; }
.fl .panel .end-msg { margin-bottom: 2px; }
.fl .panel .m-next { font-size: 14px; color: #3ee0b5; margin-bottom: 4px; }
.fl .panel .stats { margin: 12px 0 14px; }
.fl .panel .stats b { color: #fff; }
.fl .big-btn { background: linear-gradient(180deg, #8a7dff, #4f5bea); box-shadow: 0 8px 22px rgba(123, 108, 255, 0.45); cursor: pointer; }
.fl .big-btn:focus-visible, .fl .sub-btn:focus-visible { outline: 3px solid #3ee0b5; outline-offset: 2px; }
.fl .key-hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.fl .sub-btn { background: transparent; border-color: var(--line); color: var(--ink-2); }
.fl .sub-btn:hover { background: rgba(255, 255, 255, 0.05); }

/* 메달 */
.medal { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 10px; }
.medal .m-coin { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 34px; line-height: 1; color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2); position: relative; animation: medal-in 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both 0.1s; }
.medal .m-coin::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.45); }
.medal .m-name { font-weight: 800; font-size: 15px; color: #fff; }
.medal.none .m-coin { background: rgba(255, 255, 255, 0.06); color: #6e74a8; box-shadow: inset 0 0 0 2px #3a3f6b; text-shadow: none; animation: none; }
.medal.none .m-coin::after { display: none; }
.medal.none .m-name { color: var(--muted); font-weight: 600; }
.medal.bronze .m-coin { background: radial-gradient(circle at 35% 30%, #ffd2a6, #cd7f32 55%, #8a4f1c); box-shadow: 0 0 24px rgba(205, 127, 50, 0.55); }
.medal.silver .m-coin { background: radial-gradient(circle at 35% 30%, #ffffff, #c7d2e4 50%, #7d8aa6); box-shadow: 0 0 24px rgba(199, 210, 228, 0.55); }
.medal.gold .m-coin { background: radial-gradient(circle at 35% 30%, #fff6c2, #ffd23f 50%, #c48a00); box-shadow: 0 0 28px rgba(255, 210, 63, 0.65); }
.medal.plat .m-coin { background: conic-gradient(from 30deg, #a6fff0, #c9b8ff, #ffc6e8, #a6fff0, #c9b8ff, #a6fff0); box-shadow: 0 0 32px rgba(166, 255, 240, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.6); color: #5a4ad6; text-shadow: 0 1px 0 #fff; }
@keyframes medal-in { from { transform: scale(0.2) rotate(-90deg); opacity: 0; } }
@media (max-height: 560px) {
  .medal .m-coin { width: 54px; height: 54px; font-size: 26px; }
  .fl .panel h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .medal .m-coin { animation: none; } }

/* ==ARCADEKIT== 공통 아케이드 틀(대시 · 하늘 점프 · 통통 · 피하기 · 슈터 — 고치면 다섯 곳을 같이). 게임 색 = --ak-a · --ak-a2 · --ak-logo · --ak-logo2 · --ak-card1 · --ak-card2 */
.stage .ak-ov, .ak-ov { background: radial-gradient(120% 85% at 50% 38%, rgba(8, 10, 36, 0.08), rgba(6, 8, 28, 0.74)); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 12px 14px; overflow: hidden; cursor: default; }
.ak-title { position: relative; width: min(560px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: ak-in 0.55s cubic-bezier(.2, 1.4, .4, 1) both; touch-action: pan-y; }
.ak-tag { font-family: var(--title); font-size: 15px; line-height: 1.2; color: #fff; padding: 6px 16px 5px; border-radius: 99px; background: linear-gradient(180deg, var(--ak-a, #6470ff), var(--ak-a2, #3e48c8));
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45); max-width: 100%; }
.ak-logo { position: relative; margin: 2px 0 0; font-family: var(--logo, var(--title)); font-weight: 400; font-size: clamp(44px, 11vw, 92px); line-height: 1.02; letter-spacing: 0.01em; word-break: keep-all;
  color: #17123f; -webkit-text-stroke: 14px #17123f; paint-order: stroke fill; text-shadow: 0 8px 0 #17123f, 0 16px 28px rgba(0, 0, 0, 0.5); transform: rotate(-2.5deg); max-width: 100%; animation: ak-logo 3.2s ease-in-out infinite; }
.ak-logo::after { content: attr(data-t); position: absolute; inset: 0; -webkit-text-stroke: 0; text-shadow: none; pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, #fff6cf 34%, var(--ak-logo, #ffd23f) 58%, var(--ak-logo2, #ff8a3d) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ak-logo.long { font-size: clamp(34px, 8vw, 68px); }
html:not([lang='ko']) .ak-play, html:not([lang='ko']) .ak-tag, html:not([lang='ko']) .ak-end-title, html:not([lang='ko']) .ak-best, html:not([lang='ko']) .ak-ribbon, html:not([lang='ko']) .ak-tut b, html:not([lang='ko']) .ak-score b, html:not([lang='ko']) .ak-banner b { font-weight: 800; }
.ak-hero { line-height: 0; margin: -4px 0 -2px; }
.ak-hero svg { width: min(250px, 58vw); height: auto; animation: ak-bob 2.6s ease-in-out infinite; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35)); overflow: visible; }
.ak-play { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: min(300px, 88%); max-width: 100%; padding: 15px 34px 14px; border: 0; border-radius: 22px; cursor: pointer;
  font-family: var(--title); font-size: 30px; line-height: 1.1; color: #4a2200; background: linear-gradient(180deg, #fff3a6 0%, #ffd23f 42%, #ffa91c 100%);
  box-shadow: 0 7px 0 #c46a00, 0 14px 26px rgba(0, 0, 0, 0.42), inset 0 2px 0 rgba(255, 255, 255, 0.8), inset 0 -4px 0 rgba(200, 100, 0, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); animation: ak-breathe 1.9s ease-in-out infinite; transition: transform 0.08s, box-shadow 0.08s; -webkit-tap-highlight-color: transparent; }
.ak-play::after { content: ''; position: absolute; top: -30%; bottom: -30%; width: 34%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.8), transparent); transform: skewX(-20deg); animation: ak-shine 3s ease-in-out infinite; pointer-events: none; }
.ak-play i { display: block; width: 26px; height: 26px; flex: none; }
.ak-play i svg { display: block; width: 100%; height: 100%; }
.ak-play span { min-width: 0; }
.ak-play:hover { filter: brightness(1.06); }
.ak-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ak-play:active { transform: translateY(6px) scale(0.985); box-shadow: 0 1px 0 #c46a00, 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.6); animation: none; }
.ak-play.alt { color: #fff; background: linear-gradient(180deg, #6ff0cf 0%, #1fc4a0 45%, #10967b 100%); text-shadow: 0 2px 0 rgba(0, 70, 55, 0.5);
  box-shadow: 0 7px 0 #0a6b57, 0 14px 26px rgba(0, 0, 0, 0.42), inset 0 2px 0 rgba(255, 255, 255, 0.55), inset 0 -4px 0 rgba(0, 80, 60, 0.25); animation-delay: -0.9s; }
.ak-play.alt:active { box-shadow: 0 1px 0 #0a6b57, 0 4px 10px rgba(0, 0, 0, 0.35); }
.ak-best { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 7px; border-radius: 99px; background: rgba(8, 10, 34, 0.66); color: #ffd23f; font-family: var(--title); font-size: 18px; line-height: 1.2;
  box-shadow: inset 0 0 0 2px rgba(255, 210, 63, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3); }
.ak-best[hidden] { display: none; }
.ak-best svg { width: 26px; height: 26px; flex: none; }
.ak-how { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 100%; }
.ak-how span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 99px; background: rgba(8, 10, 34, 0.6); color: #eef0ff; font-size: 13.5px; font-weight: 700; line-height: 1.25; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ak-how svg { width: 22px; height: 22px; flex: none; }
@media (pointer: coarse) { .ak-how .ak-pc { display: none; } }
@media (pointer: fine) { .ak-how .ak-touch { display: none; } }

/* 결과 화면 */
.ak-end { position: relative; width: min(420px, 100%); max-height: 100%; overflow: auto; padding: 16px 20px 18px; border-radius: 28px; text-align: center; color: #fff; touch-action: pan-y;
  background: linear-gradient(180deg, var(--ak-card1, #2d3274) 0%, var(--ak-card2, #171a42) 100%); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14), 0 10px 0 rgba(0, 0, 0, 0.35), 0 30px 60px rgba(0, 0, 0, 0.55); }
.ak-end.in { animation: ak-in 0.55s cubic-bezier(.2, 1.4, .4, 1) both; }
.ak-end::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 120px; border-radius: 28px 28px 0 0; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(255, 220, 120, 0.28), transparent 70%); }
.ak-medal { position: relative; isolation: isolate; width: 84px; height: 94px; margin: 0 auto -2px; }
.ak-medal svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4)); }
.ak-end.in .ak-medal { animation: ak-medal 0.9s cubic-bezier(.2, 1.5, .4, 1) 0.15s both; }
.ak-medal.m3::after { content: ''; position: absolute; inset: -18px; z-index: -1; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 220, 90, 0.5), transparent 12%, rgba(255, 220, 90, 0.5) 25%, transparent 37%, rgba(255, 220, 90, 0.5) 50%, transparent 62%, rgba(255, 220, 90, 0.5) 75%, transparent 87%, rgba(255, 220, 90, 0.5));
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); animation: ak-spin 6s linear infinite; }
.ak-end-title { margin: 0; font-family: var(--title); font-weight: 400; font-size: 30px; line-height: 1.15; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.ak-stars { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: 4px 0 0; }
.ak-stars i { display: block; width: 52px; height: 52px; }
.ak-stars i:nth-child(2) { width: 66px; height: 66px; margin-bottom: 8px; }
.ak-stars svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ak-stars .b { fill: rgba(0, 0, 0, 0.35); }
.ak-stars .f { fill: #3d4280; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.ak-stars .h { stroke: transparent; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.ak-stars i.on { animation: ak-star 0.55s cubic-bezier(.2, 1.8, .4, 1) both; }
.ak-stars i.on .f { fill: #ffd23f; stroke: #b8700c; stroke-width: 1.2; }
.ak-stars i.on .b { fill: #b8700c; }
.ak-stars i.on .h { stroke: #fff; }
.ak-stars i.off { animation: ak-off 0.3s ease-out both; }
.ak-score { margin: 0; line-height: 1; }
.ak-score b { font-family: var(--title); font-weight: 400; font-size: 60px; line-height: 1; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 220, 120, 0.35); }
.ak-score small { font-family: var(--title); font-size: 20px; color: #cfd3ff; margin-left: 4px; }
.ak-score small:empty { display: none; }
.ak-ribbon { display: inline-block; margin: 6px auto 2px; padding: 6px 28px 5px; font-family: var(--title); font-size: 19px; color: #4a2200; background: linear-gradient(180deg, #fff3a6, #ffb21f);
  clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); animation: ak-rib 0.6s cubic-bezier(.2, 1.6, .4, 1) both; }
.ak-ribbon[hidden] { display: none; }
.ak-end .end-msg { margin: 6px 0 8px; font-size: 14.5px; line-height: 1.4; color: #dfe2ff; }
.ak-end .end-msg:empty { display: none; }
.ak-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0 6px; }
.ak-stats div { background: rgba(0, 0, 0, 0.26); border-radius: 14px; padding: 7px 4px 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); min-width: 0; }
.ak-stats b { display: block; font-family: var(--title); font-weight: 400; font-size: 22px; line-height: 1.15; color: #ffd23f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-stats span { display: block; font-size: 11.5px; line-height: 1.25; color: #b9bee8; }
.ak-next { margin: 4px 0 10px; font-size: 14px; color: #cfd3ff; font-weight: 700; }
.ak-next[hidden] { display: none; }
.ak-end .ak-play { width: 100%; min-width: 0; font-size: 26px; padding: 13px 20px 12px; }
.ak-link { display: inline-block; margin-top: 12px; font-size: 13.5px; color: #b9bee8; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 2px 6px; }
.ak-link:hover { color: #fff; }
.ak-keyhint { margin: 8px 0 0; font-size: 12.5px; color: #9aa0d0; }
@media (pointer: coarse) { .ak-keyhint { display: none; } }

/* 멈춤 단추 (게임 화면 오른쪽 위 — 다섯 게임 같은 모양) */
.ak-pause { position: absolute; top: 8px; right: 8px; z-index: 5; width: 42px; height: 42px; border-radius: 14px; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px;
  background: linear-gradient(180deg, rgba(44, 40, 104, 0.94), rgba(20, 16, 56, 0.94)); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), inset 0 10px 10px -8px rgba(255, 255, 255, 0.2); }
.ak-pause i { display: block; width: 5px; height: 16px; border-radius: 3px; background: #eef0ff; }
.ak-pause:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18); }
.ak-pause:focus-visible { outline: 3px solid #3ee0b5; outline-offset: 2px; }
.ak-pause[hidden] { display: none; }
/* 멈춤 판 */
.ak-pausecard { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 26px; border-radius: 26px; background: linear-gradient(180deg, var(--ak-card1, #2d3274), var(--ak-card2, #171a42));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14), 0 10px 0 rgba(0, 0, 0, 0.35), 0 30px 60px rgba(0, 0, 0, 0.55); animation: ak-in 0.4s cubic-bezier(.2, 1.4, .4, 1) both; max-width: 100%; }
.ak-pausecard h2 { margin: 0; font-family: var(--title); font-weight: 400; font-size: 34px; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }

/* 가운데 알림 띠 */
.ak-banner { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; text-align: center; white-space: nowrap; opacity: 0;
  padding: 9px 26px 7px; border-radius: 18px; background: linear-gradient(135deg, rgba(100, 112, 255, 0.95), rgba(68, 80, 220, 0.95)); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.5); max-width: calc(100% - 24px); }
.ak-banner b { display: block; font-family: var(--title); font-weight: 400; font-size: 36px; line-height: 1.12; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); overflow: hidden; text-overflow: ellipsis; }
.ak-banner span { display: block; font-family: var(--title); font-size: 17px; color: #e6e8ff; }
.ak-banner span:empty { display: none; }
.ak-banner.gold { background: linear-gradient(135deg, rgba(255, 200, 61, 0.97), rgba(255, 140, 70, 0.95)); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 3px #fff, 0 0 50px rgba(255, 200, 61, 0.7); }
.ak-banner.gold b { text-shadow: 0 3px 0 #c2410c, 0 0 18px rgba(255, 255, 255, 0.6); }
.ak-banner.gold span { color: #3a2400; }
.ak-banner.mint { background: linear-gradient(135deg, rgba(23, 179, 155, 0.96), rgba(15, 143, 124, 0.95)); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 2px #fff; }
.ak-banner.coral { background: linear-gradient(135deg, rgba(255, 107, 90, 0.95), rgba(210, 70, 80, 0.95)); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.7); }
.ak-banner.small { padding: 5px 18px 4px; background: rgba(20, 22, 58, 0.9); box-shadow: 0 0 0 1.5px rgba(143, 150, 255, 0.6), 0 10px 24px rgba(0, 0, 0, 0.4); }
.ak-banner.small b { font-size: 24px; }
.ak-banner.show { animation: ak-banner 1.6s ease-out both; }
@keyframes ak-banner {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  12% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
  20% { transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -70%) scale(1); }
}

/* 처음 안내 손가락 */
.ak-tut { position: absolute; z-index: 8; pointer-events: none; width: 0; height: 0; animation: ak-fade 0.3s ease-out both; }
.ak-tut.out { animation: ak-fadeout 0.3s ease-in both; }
.ak-tut .ak-hand { position: absolute; left: -19px; top: -4px; width: 54px; transform-origin: 19px 4px; animation: ak-drag 2.2s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.ak-tut .ak-hand svg { display: block; width: 100%; height: auto; }
.ak-tut .ak-dot { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; box-sizing: border-box; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.7); animation: ak-tap 2.2s ease-out infinite; }
.ak-tut .ak-trail { position: absolute; left: 0; top: 0; overflow: visible; }
.ak-tut .ak-trail path { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 12; animation: ak-dash 0.6s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6)); }
.ak-tut b { position: absolute; transform: translate(-50%, 0); white-space: nowrap; font-family: var(--title); font-weight: 400; font-size: 20px; line-height: 1.2; color: #fff; padding: 7px 15px 6px; border-radius: 14px;
  background: rgba(12, 14, 44, 0.88); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.18); animation: ak-bobc 1.6s ease-in-out infinite; }
.ak-tut.tap .ak-hand { animation-name: ak-tapHand; animation-duration: 0.9s; }
.ak-tut.tap .ak-dot { animation-duration: 0.9s; }
.ak-tut.hold .ak-hand { animation-name: ak-holdHand; }

@keyframes ak-in { 0% { opacity: 0; transform: translateY(24px) scale(0.92); } 100% { opacity: 1; transform: none; } }
@keyframes ak-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes ak-bobc { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@keyframes ak-logo { 0%, 100% { transform: rotate(-2.5deg) scale(1); } 50% { transform: rotate(-1.5deg) scale(1.025); } }
@keyframes ak-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes ak-shine { 0%, 55% { left: -50%; } 85%, 100% { left: 130%; } }
@keyframes ak-medal { 0% { opacity: 0; transform: translateY(-40px) scale(0.4) rotate(-30deg); } 100% { opacity: 1; transform: none; } }
@keyframes ak-spin { to { transform: rotate(360deg); } }
@keyframes ak-star { 0% { transform: scale(2.4) rotate(-40deg); opacity: 0; } 60% { transform: scale(0.88) rotate(6deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes ak-off { 0% { transform: scale(1.2); opacity: 0.3; } 100% { transform: none; opacity: 1; } }
@keyframes ak-rib { 0% { transform: scale(0.3) rotate(-8deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ak-fade { from { opacity: 0; } }
@keyframes ak-fadeout { to { opacity: 0; } }
@keyframes ak-dash { to { stroke-dashoffset: -14; } }
@keyframes ak-drag {
  0% { transform: translate(0, 0) scale(1.12); opacity: 0; } 10% { transform: translate(0, 0) scale(1.12); opacity: 1; } 20% { transform: translate(0, 0) scale(0.92); }
  62% { transform: translate(var(--dx), var(--dy)) scale(0.92); opacity: 1; } 72% { transform: translate(var(--dx), var(--dy)) scale(1.12); opacity: 1; } 88%, 100% { transform: translate(var(--dx), var(--dy)) scale(1.12); opacity: 0; } }
@keyframes ak-tapHand { 0%, 100% { transform: scale(1.1); } 30% { transform: scale(0.88); } 55% { transform: scale(1.1); } }
@keyframes ak-holdHand { 0%, 100% { transform: scale(1.1); } 15%, 70% { transform: scale(0.88); } 85% { transform: scale(1.1); } }
@keyframes ak-tap { 0%, 14% { transform: scale(0.3); opacity: 0; } 22% { transform: scale(0.6); opacity: 1; } 50% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }

@media (max-height: 640px) {
  .ak-title { gap: 7px; }
  .ak-hero svg { width: min(170px, 46vw); }
  .ak-logo { font-size: clamp(36px, 9vw, 64px); -webkit-text-stroke-width: 11px; }
  .ak-play { font-size: 25px; padding: 11px 26px 10px; }
  .ak-medal { width: 64px; height: 72px; }
  .ak-score b { font-size: 46px; }
  .ak-stars i { width: 40px; height: 40px; } .ak-stars i:nth-child(2) { width: 50px; height: 50px; }
}
@media (max-height: 460px) {
  .ak-hero { display: none; }
  .ak-how { display: none; }
  .ak-medal { display: none; }
  .ak-end { padding: 10px 16px 12px; }
  .ak-end .end-msg { display: none; }
  .ak-banner b { font-size: 26px; }
}
@media (max-width: 380px) { .ak-banner b { font-size: 28px; } .ak-play { font-size: 26px; padding: 13px 24px 12px; } }
@media (prefers-reduced-motion: reduce) { .ak-play, .ak-play::after, .ak-hero svg, .ak-medal.m3::after, .ak-logo { animation: none; } }
/* ==/ARCADEKIT== */

/* 통통 색 (공통 틀 위에) */
.stage.fl { --ak-a: #ff6b9a; --ak-a2: #c23d8a; --ak-logo: #ffd23f; --ak-logo2: #ff6b5a; --ak-card1: #3a2a7c; --ak-card2: #160f3a; }
.fl .ak-ov.ov-start { cursor: pointer; }
