:root {
  --felt-1: #15784f;
  --felt-2: #0b4f35;
  --felt-3: #06331f;
  --ink: #f5f0e3;
  --ink-dim: rgba(245, 240, 227, 0.72);
  --gold: #e9c25b;
  --gold-ink: #2a1f05;
  --card: #fffdf7;
  --card-edge: #d9d2c0;
  --red: #c62f3a;
  --black: #1c1c22;
  --panel: rgba(4, 28, 18, 0.92);
  --paper: #fbf7ec;
  --paper-ink: #1f1d18;
  --team0: #2f63a8;
  --team1: #a8432f;
  --pos: #1f8a4c;
  --neg: #c62f3a;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --cw: clamp(50px, 15.5vw, 92px); /* kart genişliği */
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--felt-3);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;
}

button { font: inherit; color: inherit; }

.screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 45%, var(--felt-1) 0%, var(--felt-2) 62%, var(--felt-3) 100%);
}

/* ---------- Düğmeler ---------- */

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.08s, background 0.15s;
}
.btn:active { transform: scale(0.96); }
.btn.primary { background: var(--gold); color: var(--gold-ink); }
.btn.ghost { background: transparent; color: var(--ink-dim); }
.btn.wide { width: 100%; }

.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}
.seg button {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 9px 4px;
  background: transparent;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-dim);
  cursor: pointer;
}
.seg button.on { background: var(--gold); color: var(--gold-ink); }
.seg button:disabled { opacity: 0.3; }

/* ---------- Kartlar ---------- */

.card {
  position: relative;
  width: var(--cw);
  height: calc(var(--cw) * 1.4);
  border-radius: calc(var(--cw) * 0.09);
  background: var(--card);
  border: 1px solid var(--card-edge);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.22);
  color: var(--black);
  font-weight: 800;
  flex: none;
}
.card.red { color: var(--red); }
.card .ix {
  position: absolute;
  left: calc(var(--cw) * 0.05);
  top: calc(var(--cw) * 0.05);
  width: calc(var(--cw) * 0.26);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.card .ix b { font-size: calc(var(--cw) * 0.27); letter-spacing: -0.06em; }
.card .ix i { font-style: normal; font-size: calc(var(--cw) * 0.24); margin-top: 1px; }
.card .pip {
  position: absolute;
  right: calc(var(--cw) * 0.1);
  bottom: calc(var(--cw) * 0.07);
  font-size: calc(var(--cw) * 0.5);
  line-height: 1;
}
.card .pip .face { font-size: calc(var(--cw) * 0.44); }

/* ---------- Ana menü ---------- */

.home {
  overflow-y: auto;
  padding: calc(var(--safe-top) + 20px) 16px calc(var(--safe-bottom) + 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.home > * { width: min(100%, 420px); }
.brand { text-align: center; }
.brand .fan {
  position: relative;
  height: calc(var(--cw) * 1.55);
  --cw: 62px;
}
.brand .fan .card {
  position: absolute;
  left: calc(50% - var(--cw) / 2);
  top: 6px;
  transform-origin: 50% 120%;
  transform: rotate(calc((var(--i) - 1.5) * 14deg));
}
.brand h1 {
  margin: 6px 0 0;
  font-size: 42px;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.brand .tag { margin: 0; color: var(--ink-dim); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }

.setup {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 18px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.setup h2 { margin: 0 0 2px; font-size: 18px; }
.setup label, .modal label { font-size: 13px; font-weight: 700; color: var(--ink-dim); margin-top: 4px; }
.setup .hint { margin: 0; font-size: 13px; color: var(--ink-dim); min-height: 1.3em; }
.setup .btn { margin-top: 8px; }
.links { display: flex; justify-content: center; gap: 8px; }

/* ---------- Masa ---------- */

.table {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 4px;
  flex-wrap: wrap;
}
.icon {
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  width: 38px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
}
.chip {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.suit { font-size: 1.15em; color: var(--ink); }
.suit.red { color: #ff6b74; }
.modal .suit { color: var(--black); }
.modal .suit.red { color: var(--red); }

.scores {
  display: flex;
  gap: 6px;
  padding: 2px 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sc {
  font-size: 12px;
  color: var(--ink-dim);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  padding: 3px 8px;
  white-space: nowrap;
}
.sc b { color: var(--ink); }
.sc.team0 { box-shadow: inset 3px 0 0 var(--team0); }
.sc.team1 { box-shadow: inset 3px 0 0 var(--team1); }

.felt { position: relative; min-height: 0; }

.seat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 96px;
}
.seat .av {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  background: #2b6b51;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.seat.team0 .av { background: var(--team0); }
.seat.team1 .av { background: var(--team1); }
.seat.turn .av {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(233, 194, 91, 0.28);
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(233, 194, 91, 0.08); } }
.seat .dealer, .seat .crown {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.seat .dealer { right: -4px; bottom: -3px; background: var(--paper); color: var(--paper-ink); }
.seat .crown { left: -4px; top: -4px; background: var(--gold); color: var(--gold-ink); }
.seat .nm { font-size: 12px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); max-width: 96px; text-align: center; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat .st {
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 1px 9px;
  min-width: 34px;
  text-align: center;
}
.seat .st.empty { visibility: hidden; }
.seat.bidder .st { background: var(--gold); color: var(--gold-ink); }

.pos-top { top: 4px; left: calc(50% - 48px); }
.pos-left { left: 0; top: calc(42% - 46px); }
.pos-right { right: 0; top: calc(42% - 46px); }

.trick {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
}
.trick .slot {
  position: absolute;
  left: calc(var(--cw) * -0.5);
  top: calc(var(--cw) * -0.7);
}

.bottom { position: relative; padding: 0 8px 8px; }
.me-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 6px;
  min-height: 34px;
}
.me-bar .seat { position: static; flex-direction: row; width: auto; gap: 8px; }
.me-bar .seat .av { width: 34px; height: 34px; font-size: 15px; }
.me-bar .seat.turn .av { animation: none; box-shadow: 0 0 0 4px rgba(233, 194, 91, 0.28); }
.me-bar .nm { display: none; }
.me-bar .msg { font-size: 14px; color: var(--ink-dim); font-weight: 600; }
.me-bar .msg.mine { color: var(--gold); }

.hand {
  position: relative;
  height: calc(var(--cw) * 1.4 + 12px);
}
.hand .card {
  position: absolute;
  bottom: 0;
  transition: transform 0.15s, filter 0.15s;
}
.hand .card.ok { cursor: pointer; transform: translateY(-10px); }
.hand .card.ok:active { transform: translateY(-16px); }
.hand .card.dim { filter: brightness(0.62) saturate(0.7); }
.hand.deal .card { animation: deal 0.38s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes deal { from { transform: translateY(-38vh) scale(0.5) rotate(-12deg); opacity: 0; } }

.panel {
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  width: min(calc(100vw - 24px), 420px);
  background: var(--panel);
  border: 1px solid rgba(233, 194, 91, 0.35);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: rise 0.2s ease-out;
}
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px); } }
.panel h3 { margin: 0 0 10px; font-size: 16px; text-align: center; }
.bids { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
.bids .btn { padding: 10px 0; font-size: 17px; }
.bids .pass { grid-column: span 2; background: rgba(255, 255, 255, 0.2); }
.suits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.suitbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--paper); color: var(--black); padding: 10px 0; }
.suitbtn span { font-size: 30px; line-height: 1; }
.suitbtn small { font-size: 12px; font-weight: 700; }
.suitbtn.red { color: var(--red); }

/* ---------- Modal ---------- */

.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  padding: 16px;
  animation: fade 0.15s;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  width: min(100%, 440px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color-scheme: light;
}
.modal h2 { margin: 0; font-size: 22px; text-align: center; }
.modal h3 { margin: 8px 0 0; font-size: 15px; }
.modal p { margin: 0; line-height: 1.45; font-size: 14px; }
.modal .sub, .modal .cl { text-align: center; color: #6b6352; }
.modal label { color: #6b6352; }
.modal .seg { background: #ebe4d2; }
.modal .seg button { color: #6b6352; }
.modal .btn { background: #ebe4d2; color: var(--paper-ink); }
.modal .btn.primary { background: var(--gold); color: var(--gold-ink); }
.modal .actions { display: flex; gap: 8px; margin-top: 8px; }
.modal .actions .btn { flex: 1; }
.modal .menu { display: flex; flex-direction: column; gap: 8px; }
.modal .confirm { text-align: center; font-size: 16px; padding: 8px 0; }

table.score { width: 100%; border-collapse: collapse; font-size: 15px; }
table.score th { font-size: 12px; color: #6b6352; font-weight: 700; padding: 4px; text-align: center; }
table.score td { padding: 7px 4px; text-align: center; border-top: 1px solid #e6dfcc; }
table.score td:first-child, table.score th:first-child { text-align: left; }
table.score tr.me td { font-weight: 800; }
.pos { color: var(--pos); font-weight: 700; }
.neg { color: var(--neg); font-weight: 700; }

.last { display: flex; justify-content: center; gap: 8px; --cw: 58px; padding: 6px 0; }
.last > div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.last > div.win .card { outline: 3px solid var(--gold); outline-offset: 1px; }

@media (min-height: 760px) and (min-width: 600px) {
  :root { --cw: clamp(60px, 9vw, 96px); }
}

/* ---------- Online ---------- */

.setup.center { text-align: center; align-items: stretch; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.row2 .btn, .setup .row2 .btn { margin-top: 0; }
.namerow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--ink-dim); }
.namerow b { color: var(--ink); }
.btn.small, .setup .btn.small { padding: 6px 10px; font-size: 13px; margin-top: 0; }
.code { font-size: 46px; font-weight: 900; letter-spacing: 0.1em; color: var(--gold); font-variant-numeric: tabular-nums; }
.big { margin: 4px 0; font-size: 44px; font-weight: 900; color: var(--gold); }
.seatlist { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.seatlist li { display: flex; justify-content: space-between; background: rgba(0, 0, 0, 0.22); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.seatlist li.empty { color: var(--ink-dim); font-weight: 600; font-style: italic; }

.codein {
  width: 100%;
  font: 800 28px/1.2 system-ui, sans-serif;
  text-align: center;
  letter-spacing: 0.2em;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d9d2c0;
  background: #fff;
  color: var(--paper-ink);
  -webkit-user-select: text;
  user-select: text;
}
.codein::placeholder { font-size: 15px; letter-spacing: 0; font-weight: 600; }

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 96px);
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  background: rgba(10, 14, 12, 0.92);
  color: var(--ink);
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: fade 0.15s;
}

.banner {
  position: absolute;
  z-index: 80;
  top: var(--safe-top);
  left: 0;
  right: 0;
  padding: 6px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--team1);
}

.seat.away .av { opacity: 0.45; }
.seat .botb { position: absolute; right: -6px; top: -6px; font-size: 13px; line-height: 1; }
.me-bar .msg.late { color: #ff8a8a; }
.modal .countdown { text-align: center; color: #6b6352; font-size: 14px; margin: 0; }
.modal .actions.col { flex-direction: column; }

/* ---------- Chip ---------- */

.home { padding-top: calc(var(--safe-top) + 56px); }
.chips-pill {
  position: absolute;
  top: calc(var(--safe-top) + 12px);
  right: 12px;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(233, 194, 91, 0.5);
  border-radius: 999px;
  padding: 6px 6px 6px 12px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 15px;
  cursor: pointer;
}
.chips-pill b { color: var(--gold); font-variant-numeric: tabular-nums; }
.chips-pill span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.seg button small { display: block; font-size: 11px; opacity: 0.8; margin-top: 1px; }

.modal .balance { text-align: center; font-size: 30px; margin: 0; }
.modal .balance b { font-variant-numeric: tabular-nums; }
.shopbtn { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 16px; }
.shopbtn em { font-style: normal; font-size: 12px; background: var(--red); color: #fff; border-radius: 6px; padding: 2px 6px; margin-left: 4px; }
.shopbtn:disabled { opacity: 0.45; }
.modal .btn.ghost { background: transparent; color: #6b6352; }
.modal .wide { width: 100%; }
.modal .actions p.wide { text-align: center; }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 10px; background: #ebe4d2; }
.day small { font-size: 10px; color: #6b6352; font-weight: 700; }
.day b { font-size: 13px; }
.day.done { background: #cfe7d6; }
.day.now { background: var(--gold); box-shadow: 0 0 0 2px var(--gold-ink) inset; }

.payout { text-align: center; font-size: 18px; margin: 0; }
.mock-ad .modal { text-align: center; }

/* ---------- Açmalı: açık el, sahibinin tarafında ---------- */

.dummy-side {
  position: absolute;
  z-index: 4;
  padding: 2px 4px 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  --cw: clamp(30px, 9vw, 56px);
}
.dummy-side.active { box-shadow: 0 0 0 2px var(--gold) inset; }
.dummy-side .dlabel { font-size: 11px; font-weight: 700; color: var(--ink-dim); padding: 0 4px 8px; white-space: nowrap; }
.dummy-side .hand { height: calc(var(--cw) * 1.4 + 6px); }
.dummy-side .hand .card.ok { transform: translateY(-6px); }
.dummy-side.pos-left { left: 2px; top: calc(42% + 34px); width: 34%; }
.dummy-side.pos-right { right: 2px; top: calc(42% + 34px); width: 34%; }
.dummy-side.pos-top { left: 2px; top: 2px; width: calc(50% - 64px); }

/* ---------- Masada telefon dik tutulursa: yan çevir (uygulamada yön kilitlenir, perde gerekmez) ---------- */

#rotate { display: none; }
@media (orientation: portrait) and (max-width: 760px) {
  html:not(.native) body.at-table #rotate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 45%, var(--felt-1), var(--felt-3));
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
  }
  #rotate .phone { font-size: 64px; animation: tilt 1.6s ease-in-out infinite; }
  @keyframes tilt { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
}

/* ---------- Yatay masa (telefonda zorunlu) ---------- */

@media (orientation: landscape) {
  :root { --cw: clamp(38px, min(8.5vw, 14.5vh), 96px); }
  .table {
    grid-template-rows: auto 1fr auto;
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }
  .topbar { padding: 6px 4px 2px; gap: 5px; }
  .topbar .chip { padding: 4px 9px; font-size: 12px; }
  .icon { width: 34px; height: 30px; font-size: 16px; }
  .scores {
    position: absolute;
    z-index: 3;
    top: calc(var(--safe-top) + 8px);
    right: max(8px, env(safe-area-inset-right, 0px));
    max-width: 40vw;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .seat { flex-direction: row; width: auto; gap: 6px; }
  .seat .av { width: 38px; height: 38px; font-size: 16px; flex: none; }
  .seat .nm { max-width: 120px; }
  .pos-top { top: 0; left: 50%; transform: translateX(-50%); }
  .pos-left { left: 2px; top: 47%; transform: translateY(-50%); }
  .pos-right { right: 2px; top: 47%; transform: translateY(-50%); flex-direction: row-reverse; }
  .trick { top: 55%; }
  .bottom { padding: 0 6px 4px; }
  .me-bar { min-height: 28px; padding: 0 4px 2px; }
  .me-bar .seat .av { width: 28px; height: 28px; font-size: 13px; }
  .hand { height: calc(var(--cw) * 1.4 + 10px); }
  .panel { max-height: 62vh; overflow-y: auto; width: min(calc(100vw - 24px), 520px); }
  .bids { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
  .dummy-side { --cw: clamp(28px, min(6vw, 10.5vh), 64px); }
  .dummy-side.pos-left { left: 2px; top: calc(47% + 24px); width: 33%; }
  .dummy-side.pos-right { right: 2px; top: calc(47% + 24px); width: 33%; }
  .dummy-side.pos-top { left: 2px; top: 0; width: calc(50% - 80px); }
  .home { padding-top: calc(var(--safe-top) + 16px); }
  .brand .fan { display: none; }
}

/* Açık el kutusu oyuncu koltuğunun pos-* kaydırmalarını almasın */
.dummy-side.pos-left, .dummy-side.pos-right, .dummy-side.pos-top { transform: none; }
@media (orientation: landscape) {
  .dummy-side .dlabel { padding-bottom: 6px; }
}

.modal .sweep { text-align: center; font-weight: 800; color: #9a6b00; font-size: 16px; margin: 0; }

/* ---------- Giriş ---------- */

.signbtn { font-weight: 800; }
.signbtn.apple { background: #000; color: #fff; }
.signbtn.google { background: #fff; color: #1f1f1f; }
.signbtn.google::before { content: 'G'; font-weight: 900; color: #4285f4; margin-right: 8px; }
.welcome .setup .btn { margin-top: 6px; }
.modal .acct { margin: 0; font-weight: 700; }
.modal .btn.danger { background: #f3d4d4; color: #8c1d1d; }

/* ---------- Koz duyurusu ---------- */

.trump-announce {
  position: fixed;
  z-index: 150;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 34px 16px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--black);
  border: 3px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.trump-announce small { font-size: 18px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #6b6352; }
.trump-announce b { font-size: 92px; line-height: 1; }
.trump-announce b.red { color: var(--red); }
.trump-announce span { font-size: 22px; font-weight: 800; }
@media (orientation: landscape) {
  .trick { top: 56%; }
}

.modal .pcode { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.modal .pcode b { letter-spacing: .08em; }

/* ---------- Masa rengi (chip ile açılır) ---------- */

.felts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.feltbtn { border: 2px solid transparent; border-radius: 12px; padding: 6px 4px 8px; background: rgba(255, 255, 255, 0.06);
  color: inherit; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.feltbtn i { width: 100%; height: 34px; border-radius: 8px; background: var(--fp); }
.feltbtn span { font-size: 13px; font-weight: 700; }
.feltbtn small { font-size: 11px; opacity: 0.8; }
.feltbtn.on { border-color: var(--gold); }
.feltbtn:disabled { opacity: 0.45; cursor: default; }
.feltbtn.felt-yesil { --fp: radial-gradient(#2b6a50, #143a2c); }
.feltbtn.felt-lacivert { --fp: radial-gradient(#2c4a7a, #121f38); }
.feltbtn.felt-bordo { --fp: radial-gradient(#7a2c36, #3a1218); }
.feltbtn.felt-siyah { --fp: radial-gradient(#3a3a3a, #121212); }
