From a5a66a81f2b8a3c36f846fdd7b2d8c7add09346d Mon Sep 17 00:00:00 2001 From: rgriffith Date: Sat, 4 Apr 2026 14:05:33 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20correct=20card=20sizing=20=E2=80=94=20sh?= =?UTF-8?q?rink=20zones,=20enlarge=20hand=20cards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Red zones (Library/Exile/Grave/Commander): halved from original (63→32, 88→44). Blue zone (hand cards): doubled from original (32→64, 45→90) using new --hand-card-w/--hand-card-h variables so hand sizing is decoupled from zone sizing. Co-Authored-By: Claude Opus 4.6 --- lan-client/style.css | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/lan-client/style.css b/lan-client/style.css index bf63853..f4e581b 100644 --- a/lan-client/style.css +++ b/lan-client/style.css @@ -66,8 +66,10 @@ --p4: #d4930d; --p4-soft: rgba(212,147,13,0.15); --p4-glow: rgba(212,147,13,0.35); --p4-text: #f1c40f; /* Card dimensions */ - --card-w: 126px; - --card-h: 176px; + --card-w: 32px; + --card-h: 44px; + --hand-card-w: 64px; + --hand-card-h: 90px; --bf-card-w: 100px; --bf-card-h: 140px; --zone-radius: 8px; @@ -796,7 +798,7 @@ input { font-family: inherit; } .zone.hand { flex: 1; - height: var(--card-h); + height: var(--hand-card-h); min-width: 60px; flex-direction: row; gap: 3px; @@ -855,8 +857,8 @@ input { font-family: inherit; } /* Hand card thumbnails inside hand zone */ .hand-thumb { - width: 64px; - height: 90px; + width: var(--hand-card-w); + height: var(--hand-card-h); border-radius: 6px; overflow: hidden; flex-shrink: 0; @@ -2545,8 +2547,10 @@ kbd { ============================================================ */ @media (max-width: 768px) { :root { - --card-w: 84px; - --card-h: 116px; + --card-w: 21px; + --card-h: 29px; + --hand-card-w: 42px; + --hand-card-h: 58px; --bf-card-w: 72px; --bf-card-h: 100px; }