From cf2903dc75515f32bf406376964556f4db2f85ee Mon Sep 17 00:00:00 2001 From: EJClaw Date: Wed, 14 Oct 2026 02:04:24 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=A0=EB=A6=AC=EA=B0=88=EB=A6=AC:=201280?= =?UTF-8?q?=C3=97800=20=EA=B0=99=EC=9D=80=20=EB=82=AE=EC=9D=80=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=EC=97=90=EC=84=9C=20=EB=82=B4=20=EC=9E=90=EB=A6=AC?= =?UTF-8?q?=EA=B0=80=20=EC=A2=85=EA=B3=BC=20=EA=B2=B9=EC=B9=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EA=B2=8C=20=EC=9E=90=EB=A6=AC=20=EC=97=AC=EB=B0=B1?= =?UTF-8?q?=EC=9D=84=20=EC=A4=84=EC=9D=B4=EA=B3=A0=20=EC=B0=A8=EB=A1=80=20?= =?UTF-8?q?=EB=A7=90=ED=91=9C=EB=A5=BC=20=EC=9D=B4=EB=A6=84=20=EC=9C=84=20?= =?UTF-8?q?=ED=85=8C=EB=91=90=EB=A6=AC=EC=97=90,=20=EC=A2=85=EC=9D=84=20?= =?UTF-8?q?=EB=95=8C=EB=A6=AC=EB=8A=94=20=EC=86=90=EC=9D=B4=20=EB=95=A1/?= =?UTF-8?q?=EC=82=90=20=EB=A7=90=ED=92=8D=EC=84=A0=20=EC=9C=84=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=B4=EC=9D=B4=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- apps/web/src/games/halli-galli/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/src/games/halli-galli/index.tsx b/apps/web/src/games/halli-galli/index.tsx index 60ca314..cdb667f 100644 --- a/apps/web/src/games/halli-galli/index.tsx +++ b/apps/web/src/games/halli-galli/index.tsx @@ -50,6 +50,7 @@ const CSS = ` padding: 4px 5px 5px; border-radius: 16px; background: rgba(0,0,0,.2); color: #fff; border: 3px solid transparent; z-index: 2; transition: background .3s ease; } .hg-seat[data-me='true'] { background: rgba(0,0,0,.34); } .hg-seat[data-turn='true'] { border-color: #fde047; animation: hg-blink 1.1s ease-in-out infinite; } +.hg-seat .nm { margin-top: 6px; } .hg-seat[data-out='true'] { opacity: .55; } .hg-seat[data-win='true'] { background: rgba(250,204,21,.38); } .hg-seat .nm { display: flex; align-items: center; gap: 4px; max-width: 100%; font-weight: 800; font-size: .86rem; line-height: 1.2; } @@ -69,12 +70,12 @@ const CSS = ` .hg-pile .face > .b { transform: rotateY(180deg); } .hg-pile .face[data-anim='true'] { animation: hg-flipin .5s cubic-bezier(.3,.7,.3,1) both; } .hg-pile .gauge { position: absolute; right: -12px; bottom: -8px; width: 30px; height: 30px; z-index: 2; } -.hg-turnchip { position: absolute; top: -21px; left: 50%; transform: translateX(-50%); background: #fde047; color: #422006; font-weight: 900; font-size: .72rem; border-radius: 999px; +.hg-turnchip { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #fde047; color: #422006; font-weight: 900; font-size: .72rem; border-radius: 999px; padding: 1px 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); animation: hg-bob 1.1s ease-in-out infinite; pointer-events: none; } .hg-float { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); font-weight: 900; font-size: 1.35rem; color: #fde047; text-shadow: 0 2px 0 #713f12, 0 0 8px rgba(0,0,0,.5); pointer-events: none; animation: hg-float 1.3s ease-out forwards; z-index: 4; white-space: nowrap; } .hg-float.bad { color: #fecaca; text-shadow: 0 2px 0 #7f1d1d, 0 0 8px rgba(0,0,0,.5); } -.hg-hand { position: absolute; width: calc(var(--bell) * .5); height: calc(var(--bell) * .5); transform: translate(-50%, -50%); z-index: 6; pointer-events: none; +.hg-hand { position: absolute; width: calc(var(--bell) * .5); height: calc(var(--bell) * .5); transform: translate(-50%, -50%); z-index: 8; pointer-events: none; animation: hg-slap .42s cubic-bezier(.5,.05,.4,1) forwards; left: var(--fx); top: var(--fy); } .hg-hand svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); } .hg-wave { position: absolute; left: 50%; top: 50%; width: var(--bell); height: var(--bell); border-radius: 50%; transform: translate(-50%, -50%) scale(.9); border: 6px solid #fde047; @@ -564,7 +565,7 @@ function HalliGalliBoard({ view: v, me, players, act, pending }: BoardProps= 5; const cw = phone ? (many ? 40 : 50) : many ? 64 : 80; const sw = Math.round(cw * 1.72 + 6 + 12); - const pos = seatPositions(rot.length, { w: sw, h: cw * 1.4 + (phone ? 50 : 58) + 34 }, phone ? 400 : 400, phone); + const pos = seatPositions(rot.length, { w: sw, h: cw * 1.4 + (phone ? 50 : 58) + 8 }, phone ? 400 : 400, phone); const posOf = (id: string) => pos[rot.findIndex((s) => s.id === id)] ?? CENTER; const mine = v.seats.find((s) => s.id === me) ?? null; const playing = v.phase === 'playing';