/* SUTDA CSS — Poker-Matched Layout */

/* -- Design Tokens -- */
#sutdaGame {
  --felt-green: #0a4d2e;
  --felt-dark: #063821;
  --gold: #d4af37;
  --gold-dark: #aa8a2e;
  --gold-light: #ffd700;
  --bronze: #8a6914;
  --wood-dark: #3d2817;
  --wood-light: #5c3d2e;
  --red-bright: #e63946;
  --red-deep: #a4161a;
  --card-cream: #fdfbf7;
  --card-cream-dark: #f5f1e8;
  --hwatu-red: #cc1a33;
}

/* ===== Background Felt (poker-style) ===== */
.sutda-felt {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 40% 50%, #2a6b3a 0%, #1a4a28 40%, #0d2a14 80%, #061208 100%);
  border-radius: 12px;
  border: 3px solid #3a2a1a;
  box-shadow:
    0 0 0 2px #1a1008,
    0 0 0 5px #5a4a30,
    inset 0 0 60px rgba(0,0,0,0.3);
  overflow: hidden;
}
.sutda-felt::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='1' height='1' fill='rgba(0,0,0,0.05)'/%3E%3Crect x='2' y='2' width='1' height='1' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E");
  opacity: 0.8;
}
.sutda-felt::after {
  content: '';
  position: absolute;
  top: -40%; left: 10%; width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(80,160,90,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.sutda-content {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  padding: 10px;
  z-index: 2;
}

/* ===== Top Bar (poker-style compact) ===== */
.sutda-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  z-index: 10;
}
.sutda-top-bar .back-btn {
  background: rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 50% !important;
  width: 28px; height: 28px;
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  flex-shrink: 0;
}
.sutda-top-info {
  display: flex;
  gap: 6px;
  flex: 1;
}
.sutda-chip-display, .sutda-pot-display {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(180deg, rgba(40,28,14,0.9), rgba(20,12,4,0.95));
  border: 1.5px solid #8a7a50;
  border-radius: 20px;
  padding: 5px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.sutda-chip-icon { font-size: 14px; }
.sutda-chip-value {
  color: #ffe680;
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.sutda-pot-display {
  border-color: #aa8a30;
  background: linear-gradient(180deg, rgba(60,40,10,0.9), rgba(30,20,4,0.95));
}
.sutda-pot-label {
  color: #dda020;
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.sutda-pot-value {
  color: #ffd700;
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255,200,0,0.3), 0 1px 3px rgba(0,0,0,0.5);
}
.sutda-round-badge {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 4px 10px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ===== Opponents Area (poker-style compact) ===== */
.sutda-opponents {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 2px;
  z-index: 5;
  min-height: 28px;
}
/* Hide me-slot in portrait (hero cards already shown separately) */
.sutda-me-slot { display: none; }
.sutda-opp-slot {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
}
.sutda-opp-slot.died { opacity: 0.3; }
.sutda-opp-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: all 0.3s;
  flex-shrink: 0;
}
.sutda-opp-avatar.active-turn {
  box-shadow: 0 0 0 2px #ffd700, 0 0 12px rgba(255,200,0,0.5);
  animation: sutda-pulse 1.5s ease infinite;
}
@keyframes sutda-pulse {
  0%, 100% { box-shadow: 0 0 0 2px #ffd700, 0 0 12px rgba(255,200,0,0.5); }
  50% { box-shadow: 0 0 0 3px #ffd700, 0 0 20px rgba(255,200,0,0.7); }
}
.sutda-opp-name {
  color: rgba(255,255,200,0.7);
  font-size: 11px; font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  max-width: 50px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sutda-opp-chips {
  font-size: 10px; color: #ffd700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  font-weight: 700;
}
.sutda-opp-status {
  font-size: 10px; font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.sutda-opp-status.die { color: #e57373; }
.sutda-opp-status.call { color: #81c784; }
.sutda-opp-status.waiting { color: rgba(200,190,160,0.5); }
.sutda-opp-status.bet { color: #ffb74d; }
.sutda-opp-cards { display: flex; gap: 3px; }

/* ===== Hwatu Cards ===== */

/* -- Small (opponent) -- */
.hwatu-card {
  width: 26px;
  height: 37px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: all 0.3s;
  overflow: hidden;
}

/* -- Big (hero) — poker hero-card size -- */
.hwatu-card-big {
  width: 140px;
  height: 210px;
  border-radius: 14px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.5),
    0 3px 6px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Gwang Card: Cream + Red Seal + Gold border */
.hwatu-card.gwang {
  background:
    radial-gradient(circle at 75% 15%, rgba(204,26,51,0.15) 0%, transparent 40%),
    linear-gradient(135deg, var(--card-cream) 0%, var(--card-cream-dark) 100%);
  border: 1.5px solid var(--gold);
}
.hwatu-card-big.gwang {
  border: 3px solid var(--gold);
}

/* Red seal on gwang */
.hwatu-card.gwang::before {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-bright) 0%, var(--red-deep) 100%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 6px rgba(230,57,70,0.6);
}
.hwatu-card-big.gwang::before {
  width: 22px; height: 22px;
  top: 8px; right: 8px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(230,57,70,0.6), inset 0 2px 4px rgba(255,255,255,0.3);
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(230,57,70,0.6), inset 0 1px 2px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 25px rgba(230,57,70,0.9), inset 0 2px 4px rgba(255,255,255,0.5); }
}

/* Normal Card */
.hwatu-card.normal {
  background: linear-gradient(135deg, #f0e8d0 0%, #ddd2b8 100%);
  border: 1.5px solid var(--gold-dark);
}
.hwatu-card.normal::before {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #8a7a60, #6a5a40);
}
.hwatu-card-big.normal {
  border: 3px solid var(--gold-dark);
}
.hwatu-card-big.normal::before {
  width: 14px; height: 14px;
  top: 8px; right: 8px;
}

/* Card Number */
.hwatu-num {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 14px;
  line-height: 1;
  z-index: 1;
}
.hwatu-card-big .hwatu-num {
  font-size: 48px;
}
.hwatu-card.gwang .hwatu-num {
  color: var(--red-deep);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  font-weight: 900;
}
.hwatu-card.normal .hwatu-num {
  color: #3a3020;
}

/* Month Label */
.hwatu-month {
  font-size: 6px;
  font-weight: 700;
  z-index: 1;
  opacity: 0.8;
}
.hwatu-card-big .hwatu-month {
  font-size: 14px;
  width: 100%;
  text-align: center;
  border-top: 2px solid var(--gold);
  padding-top: 6px;
  margin-top: 4px;
}
.hwatu-card.gwang .hwatu-month { color: var(--bronze); }
.hwatu-card.normal .hwatu-month { color: #5a4a30; }

/* Gwang Text Badge */
.hwatu-gwang-text {
  position: absolute;
  bottom: 2px;
  font-size: 5px;
  font-weight: 900;
  color: var(--red-bright);
  letter-spacing: -0.5px;
}
.hwatu-card-big .hwatu-gwang-text {
  bottom: 8px;
  font-size: 13px;
  text-shadow: 0 0 6px rgba(230,57,70,0.4);
}

/* Inner Border */
.hwatu-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 2px;
  pointer-events: none;
}
.hwatu-card-big::after {
  inset: 5px;
  border-radius: 8px;
  border-color: rgba(212,175,55,0.2);
}

/* Stripe pattern on big cards */
.hwatu-card-big {
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 10px,
    rgba(212,175,55,0.05) 10px,
    rgba(212,175,55,0.05) 20px
  );
}

/* Card Back */
.hwatu-card.back {
  background:
    repeating-linear-gradient(
      45deg,
      #b71c1c 0px, #b71c1c 4px,
      #c62828 4px, #c62828 8px
    );
  border: 1.5px solid var(--gold);
}
.hwatu-card.back::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,215,0,0.15);
}
.hwatu-card.back::after {
  inset: 2px;
  border: 1px solid rgba(255,215,0,0.12);
}
.hwatu-card-big.back::before {
  width: 40px; height: 40px;
}
.hwatu-card-big.back {
  border: 3px solid var(--gold);
}

/* Month-specific gwang tints */
.hwatu-card.m1.gwang {
  background:
    radial-gradient(circle at 75% 15%, rgba(204,26,51,0.12) 0%, transparent 35%),
    linear-gradient(135deg, var(--card-cream) 0%, #ffe8b0 50%, var(--card-cream) 100%);
}
.hwatu-card.m3.gwang {
  background:
    radial-gradient(circle at 75% 15%, rgba(204,26,51,0.12) 0%, transparent 35%),
    linear-gradient(135deg, var(--card-cream) 0%, #f0d8d0 50%, var(--card-cream) 100%);
}
.hwatu-card.m8.gwang {
  background:
    radial-gradient(circle at 75% 15%, rgba(204,26,51,0.12) 0%, transparent 35%),
    linear-gradient(135deg, var(--card-cream) 0%, #e0dce8 50%, var(--card-cream) 100%);
}

/* ===== Center Pot Area (poker-style) ===== */
.sutda-center-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  z-index: 3;
}
.sutda-pot-glow {
  position: absolute;
  width: 80%; height: 80%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,200,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sutda-pot-center {
  text-align: center;
  margin-bottom: 8px;
}
.sutda-pot-center .sutda-pot-label {
  font-size: 11px;
  color: #dda020;
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}
.sutda-pot-center .sutda-pot-amount {
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 28px;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(255,215,0,0.4), 0 2px 4px rgba(0,0,0,0.6);
}
.sutda-turn-indicator {
  font-size: 13px;
  color: rgba(255,255,200,0.7);
  font-weight: 700;
  min-height: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  text-align: center;
}

/* ===== My Cards Area (poker hero-card style) ===== */
.sutda-my-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  padding: 0 0 8px;
}
.sutda-my-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
  perspective: 800px;
  width: 100%;
}
.sutda-my-cards .hwatu-card-big:nth-child(1) { transform: rotate(-3deg); }
.sutda-my-cards .hwatu-card-big:nth-child(2) { transform: rotate(2deg); }

.sutda-my-rank {
  text-align: center;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 28px;
  color: var(--red-bright);
  min-height: 24px;
  text-shadow:
    2px 2px 0 var(--red-deep),
    4px 4px 15px rgba(230,57,70,0.8);
  letter-spacing: 6px;
  animation: rankPulse 1.5s ease-in-out infinite;
}
@keyframes rankPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== Seryuk Panel ===== */
.sutda-seryuk-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,18,0.92);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.sutda-seryuk-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 28px;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(255,215,0,0.5), 0 2px 4px rgba(0,0,0,0.6);
}
.sutda-seryuk-desc {
  font-size: 13px;
  color: rgba(200,190,160,0.6);
  text-align: center;
}
.sutda-seryuk-buttons { display: flex; gap: 16px; }
.sutda-seryuk-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 32px; border: 2px solid transparent; border-radius: 14px;
  font-family: 'Black Han Sans', sans-serif; font-size: 20px;
  cursor: pointer; transition: all 0.2s;
}
.sutda-seryuk-btn:active { transform: scale(0.95); }
.sutda-seryuk-push {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
  color: #a5d6a7; border-color: #4caf50;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5);
}
.sutda-seryuk-chaos {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red-deep) 100%);
  color: #ef9a9a; border-color: #e53935;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5);
}
.sutda-seryuk-icon { font-size: 36px; }
.sutda-seryuk-sub { font-size: 12px; opacity: 0.7; }

/* ===== Action Bar (poker-style buttons) ===== */
.sutda-action-bar {
  display: flex;
  gap: 5px;
  z-index: 5;
  padding: 0 2px 4px;
}
.sutda-bet-btn {
  flex: 1;
  min-width: 0;
  padding: 12px 4px;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  letter-spacing: 1px;
  transition: all 0.12s;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}
.sutda-bet-btn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.sutda-bet-btn:active { transform: scale(0.95); }
.sutda-bet-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Raise buttons (green) */
.sutda-bet-10k, .sutda-bet-50k, .sutda-bet-100k {
  background: linear-gradient(180deg, #2a8a3a, #1a6a28, #0e4a18);
  color: #fff;
  border: 1.5px solid #4aba5a;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 -2px 3px rgba(0,0,0,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* Call (teal) */
.sutda-bet-call {
  background: linear-gradient(180deg, #3a6aaa, #2a4a8a, #1a3a6a);
  color: #fff;
  border: 1.5px solid #5a8aca;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 -2px 3px rgba(0,0,0,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* Die (fold, brown) */
.sutda-bet-die {
  background: linear-gradient(180deg, #5a4a30, #3a2a18, #2a1a0a);
  color: #ccc;
  border: 1.5px solid #8a7a50;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 -2px 3px rgba(0,0,0,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* All-In (red) */
.sutda-bet-allin {
  background: linear-gradient(180deg, #cc2020, #a01010, #7a0808);
  color: #fff;
  border: 1.5px solid #ee4040;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 -2px 3px rgba(0,0,0,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ===== Result Overlay ===== */
.sutda-result-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,18,0.95);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sutda-result-overlay.active { display: flex; }
.sutda-result-box {
  background: linear-gradient(135deg, rgba(30,30,40,0.98), rgba(20,20,28,0.99));
  border-radius: 16px;
  border: 2px solid rgba(255,215,0,0.3);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.15);
}
.sutda-result-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(255,215,0,0.5), 0 2px 4px rgba(0,0,0,0.6);
}
.sutda-result-winner {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
  color: #e8dcc8;
}
.sutda-result-rank {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 28px;
  color: var(--red-bright);
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 var(--red-deep), 5px 5px 20px rgba(230,57,70,0.8);
  letter-spacing: 6px;
}
.sutda-result-cards {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 12px;
}
/* Result winner cards — smaller size */
.sutda-result-cards .hwatu-card-big {
  width: 70px; height: 105px; border-radius: 10px;
}
.sutda-result-cards .hwatu-card-big .hwatu-num { font-size: 30px; }
.sutda-result-cards .hwatu-card-big .hwatu-month { font-size: 10px; padding-top: 3px; }
.sutda-result-cards .hwatu-card-big .hwatu-gwang-text { font-size: 8px; bottom: 4px; }
.sutda-result-cards .hwatu-card-big::before { width: 14px; height: 14px; top: 4px; right: 4px; border-width: 2px; }

.sutda-result-pot {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 22px; color: var(--gold-light); margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.sutda-result-all-hands {
  text-align: left; font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}
.sutda-result-hand-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sutda-result-hand-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.sutda-result-hand-name {
  flex: 1; font-weight: 700; font-size: 12px; color: #e8dcc8;
}
.sutda-result-hand-rank {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 13px; color: var(--red-bright);
  text-shadow: 0 0 6px rgba(230,57,70,0.3);
}
.sutda-result-hand-cards { display: flex; gap: 3px; }
.sutda-result-hand-cards .hwatu-num { font-size: 10px; }
.sutda-result-hand-cards .hwatu-month { font-size: 5px; }
.sutda-result-hand-cards .hwatu-gwang-text { font-size: 4px; bottom: 1px; }
.sutda-result-hand-row.winner-row {
  background: rgba(255,215,0,0.08);
  border-radius: 6px; padding: 6px 8px;
  border: 1px solid rgba(255,215,0,0.15);
}
.sutda-result-hand-row.died-row { opacity: 0.4; }

@keyframes sutdaReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  /* 모바일에서 내 패는 실물 화투패 체감 크기에 가깝게 유지 */
  .sutda-my-cards { gap: 12px; }
  .sutda-my-cards .hwatu-card-big {
    width: 3.2cm;
    height: 5.0cm;
    border-radius: 12px;
  }
  .sutda-my-cards .hwatu-card-big .hwatu-num { font-size: 44px; }
  .sutda-my-cards .hwatu-card-big .hwatu-month { font-size: 12px; padding-top: 5px; margin-top: 3px; }
  .sutda-my-cards .hwatu-card-big .hwatu-gwang-text { font-size: 11px; bottom: 6px; }
  .sutda-bet-btn { padding: 10px 3px; font-size: 11px; min-height: 38px; }
  .sutda-my-rank { font-size: 24px; letter-spacing: 4px; }
}
@media (max-width: 340px) {
  .sutda-my-cards { gap: 8px; }
  .sutda-my-cards .hwatu-card-big {
    width: 3.0cm;
    height: 4.7cm;
  }
  .sutda-my-cards .hwatu-card-big .hwatu-num { font-size: 40px; }
  .sutda-bet-btn { padding: 8px 2px; font-size: 10px; min-height: 34px; }
}
