/* 牌桌区（夜色背景由 .phone 提供） */
.table-area {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2px 3px;
}

/* 顶部信息条（叠在牌桌上方） */
.table-tags {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.ttag {
  font-size: 10px;
  font-weight: 700;
  color: #eef3f0;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 11px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ttag--clock {
  color: #ffe9cf;
  background: rgba(160, 90, 26, 0.55);
  border-color: rgba(240, 170, 90, 0.45);
  font-variant-numeric: tabular-nums;
}

/* 木质铜边（竖向椭圆/胶囊台） */
.felt-rim {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 128px;
  padding: 9px;
  background:
    /* 顶部反光带 + 底部暗部，制造圆弧立体 */
    linear-gradient(180deg, rgba(255, 232, 196, 0.4) 0%, rgba(255, 232, 196, 0) 9%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.5) 100%),
    /* 木纹横向高光环 */
    linear-gradient(150deg, #9a6f40 0%, #6b4827 22%, #3a2614 50%, #6b4827 78%, #9a6f40 100%);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.7),
    0 6px 16px rgba(0, 0, 0, 0.5),
    inset 0 3px 4px rgba(255, 222, 178, 0.55),
    inset 0 -7px 14px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
/* 铜边内圈光泽环 */
.felt-rim::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 118px;
  pointer-events: none;
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(214, 170, 120, 0.35);
}

/* 台面（绿色台呢） */
.felt {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 120px;
  background:
    /* 中央聚光 */
    radial-gradient(48% 30% at 50% 34%, rgba(255, 255, 255, 0.22), transparent 60%),
    /* 台呢本体 + 深暗角（更高端的祖母绿）*/
    radial-gradient(84% 70% at 50% 40%, #1c9560 0%, #137a4c 40%, #0c5b38 72%, #062c1b 100%);
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.45),
    inset 0 0 0 5px rgba(214, 178, 130, 0.12),
    inset 0 0 90px rgba(0, 0, 0, 0.5);
}
/* 下注分割线（德州桌经典金色椭圆环）*/
.felt::after {
  content: '';
  position: absolute;
  inset: 16% 13px;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(244, 210, 122, 0.16);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.25);
}
/* 台呢细腻绒布纹理 */
.felt::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.045) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 4px);
}

.felt__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(56% 22% at 50% 3%, rgba(255, 255, 255, 0.1), transparent 70%);
  pointer-events: none;
}

/* 桌边铆钉 */
.stud {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe6b0, #b07c3a 65%, #6e4a1e);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 0 1px rgba(255, 255, 255, 0.7);
  z-index: 2;
}
.stud--tl { top: 14%; left: 6px; }
.stud--tr { top: 14%; right: 6px; }
.stud--bl { bottom: 14%; left: 6px; }
.stud--br { bottom: 14%; right: 6px; }

/* 台面中央 */
.felt__center {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  z-index: 2;
}

/* 中央池组（桌池 / 休芒 / 皮池）—— 官方竖排小标签 */
.pool-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pool-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #eaf3ec;
  padding: 2px 12px 2px 8px;
  border-radius: 5px;
  background: rgba(8, 26, 18, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 2px 5px rgba(0, 0, 0, 0.35);
}
.pool-row b {
  font-size: 13px;
  font-weight: 900;
  color: #ffe9a8;
}
.pool-row__ic {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.pool-row--table .pool-row__ic {
  background: linear-gradient(180deg, #d9b36a, #9c7b32);
}
.pool-row--mango .pool-row__ic {
  background: linear-gradient(180deg, #2faf63, #16863f);
}
.pool-row--pi .pool-row__ic {
  background: linear-gradient(180deg, #f0973e, #d2691a);
}

/* 中央信息文字块（房号/底皮/动作/阶段/计时/变体） */
.table-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.5;
  color: rgba(226, 240, 231, 0.66);
  text-align: center;
}
.table-info__acts {
  color: rgba(255, 232, 170, 0.78);
  letter-spacing: 1.5px;
}
.table-info__phase {
  color: rgba(150, 220, 175, 0.85);
  font-weight: 700;
  letter-spacing: 1.5px;
}
.table-info__variant {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #e0483a;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* 台面水印 logo */
.felt__logo {
  position: absolute;
  top: 71%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  opacity: 0.16;
  user-select: none;
  pointer-events: none;
}
.felt__logo-main {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 10px;
  text-indent: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.felt__logo-sub {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 8px;
  text-indent: 8px;
  color: rgba(255, 255, 255, 0.55);
}

/* 座位定位（围绕椭圆台） */
.seat-slot {
  position: absolute;
  z-index: 3;
}
.pos-top {
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
}
.pos-left-top {
  top: 23%;
  left: 3%;
}
.pos-right-top {
  top: 23%;
  right: 3%;
}
.pos-left-low {
  top: 54%;
  left: 1%;
}
.pos-right-low {
  top: 54%;
  right: 1%;
}

/* 本人头像铭牌：底部左下角 */
.hero-pod-slot {
  z-index: 6;
  bottom: 6px;
  left: 6px;
}

/* 本人手牌：底部正中（按钮在其上方） */
.hero-cards-slot {
  z-index: 5;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

