.moe-janken{font-family:inherit;max-width:780px;margin:24px auto;padding:24px;border:1px solid #f0d8e3;border-radius:22px;background:linear-gradient(160deg,#fff9fc,#fff);color:#343039;box-sizing:border-box}.moe-janken *{box-sizing:border-box}.mj-head{text-align:center}.mj-head h2{font-size:clamp(24px,5vw,34px);margin:8px 0}.mj-head p{color:#716875;margin:4px}.mj-kicker{color:#c23d79;font-weight:700;font-size:14px}.mj-sub{text-align:center;font-size:19px;margin:24px 0 14px}.mj-characters{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.mj-character{background:#fff;border:2px solid #e7dfe4;border-radius:16px;padding:8px;width:clamp(120px,30%,190px);cursor:pointer;color:inherit}.mj-character.selected{border-color:#db4e8b;box-shadow:0 0 0 3px #fbe3ee}.mj-character img{width:100%;height:200px;object-fit:contain;display:block}.mj-character span{font-weight:700;display:block;margin-top:6px}.mj-hands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mj-hands button{border:1px solid #eab7cc;border-radius:15px;background:#fff;color:#343039;cursor:pointer;font-size:17px;font-weight:700;padding:12px 3px}.mj-hands button span{display:block;font-size:40px}.mj-hands button:hover:not(:disabled){background:#ffe7f0}.mj-hands button:disabled,.mj-character:disabled{opacity:.6;cursor:default}.mj-note{text-align:center;color:#756a75;font-size:13px;margin:16px 0}.mj-outcome,.mj-done{text-align:center;background:#fff0f6;padding:20px;border-radius:16px;margin-top:20px}.mj-outcome h3{font-size:24px}.mj-show{font-size:22px;font-weight:700}.mj-tip{text-align:left;padding:16px;background:white;border-radius:12px;margin:14px 0}.mj-youtube{display:inline-block;background:#df1d34;color:white!important;text-decoration:none;padding:12px 18px;border-radius:10px;font-weight:700}.mj-ranking{margin-top:25px;border-top:1px solid #eedde5;padding-top:14px}.mj-ranking h3{font-size:18px}.mj-rank{display:flex;justify-content:space-between;border-bottom:1px solid #f2e6eb;padding:8px 2px}.mj-error{color:#b91c1c}@media(max-width:480px){.moe-janken{padding:14px}.mj-character img{height:150px}.mj-hands button span{font-size:32px}}

/* Version 1.2: images stay within the existing game result region */
.mj-stage{text-align:center;margin:16px auto;max-width:240px}.mj-call{font-size:28px;font-weight:800;color:#d43e7d;margin-bottom:8px}.mj-pose{display:block;width:100%;height:240px;object-fit:contain}.mj-shaking{animation:mj-small-bounce .42s ease-in-out infinite alternate}@keyframes mj-small-bounce{from{transform:translateY(-7px)}to{transform:translateY(7px)}}.mj-result-image{display:block;width:min(100%,220px);height:250px;object-fit:contain;margin:0 auto 10px}@media(prefers-reduced-motion:reduce){.mj-shaking{animation:none}}
