/* ===================== 基础 ===================== */
:root{
  --gold:#d9b45b;
  --gold-l:#f2dfa8;
  --gold-d:#8d6f2a;
  --bg:#070a0f;
  --bg2:#0c1119;
  --panel:#111823;
  --panel2:#0d131c;
  --line:rgba(217,180,91,.18);
  --txt:#e8e4d8;
  --dim:#8d94a3;
  --red:#e0574a;
  --green:#3fbf87;
  --cyan:#4fd1c5;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{width:100%;height:100%;overflow:hidden;}
body{
  background:var(--bg);
  color:var(--txt);
  font-family:"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:14px;
  -webkit-font-smoothing:antialiased;
  user-select:none;
  -webkit-user-select:none;
}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
.screen{position:absolute;inset:0;display:flex;flex-direction:column;}
.screen.hidden{display:none;}

/* ===================== 顶栏 ===================== */
.topbar{
  height:62px;flex:0 0 62px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 26px;
  border-bottom:1px solid rgba(255,255,255,.055);
  background:linear-gradient(180deg,rgba(17,24,35,.9),rgba(7,10,15,.6));
  position:relative;z-index:20;
}
.brand{display:flex;align-items:baseline;gap:10px;}
.brand-mark{font-size:20px;color:var(--gold);line-height:1;}
.brand-name{font-size:16px;letter-spacing:5px;font-weight:600;color:var(--gold-l);}
.brand-sub{font-size:11px;letter-spacing:3px;color:rgba(217,180,91,.45);}
.user{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--dim);letter-spacing:1px;}
.user .dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green);}

/* ===================== 大厅 ===================== */
.lobby-body{flex:1;display:flex;min-height:0;}

.side{
  width:190px;flex:0 0 190px;
  padding:26px 16px;
  border-right:1px solid rgba(255,255,255,.05);
  display:flex;flex-direction:column;gap:2px;
}
.nav-item{
  display:block;padding:10px 14px;border-radius:8px;
  font-size:13px;letter-spacing:2px;color:var(--dim);
  cursor:pointer;transition:.18s;
}
.nav-item:hover{color:var(--txt);background:rgba(255,255,255,.035);}
.nav-item.active{color:var(--gold-l);background:rgba(217,180,91,.09);box-shadow:inset 2px 0 0 var(--gold);}
.side-foot{margin-top:auto;padding:16px 14px;border-top:1px solid rgba(255,255,255,.05);}
.sf-num{font-size:26px;font-weight:700;color:var(--gold);line-height:1;}
.sf-label{font-size:11px;color:var(--dim);margin-top:6px;letter-spacing:1px;}

.hall{flex:1;overflow-y:auto;padding:34px 40px 60px;}
.hall-head{margin-bottom:26px;}
.hall-head h1{
  font-size:22px;font-weight:600;letter-spacing:8px;
  color:var(--gold-l);
  text-shadow:0 0 26px rgba(217,180,91,.22);
}
.hall-head p{font-size:12.5px;color:var(--dim);margin-top:8px;letter-spacing:1px;}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:20px;
  max-width:1180px;
}

.game-card{
  position:relative;
  background:linear-gradient(165deg,#141c28,#0d131c);
  border:1px solid rgba(255,255,255,.055);
  border-radius:14px;
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
  display:flex;flex-direction:column;
}
.game-card.live{cursor:pointer;}
.game-card.live:hover{
  transform:translateY(-3px);
  border-color:rgba(217,180,91,.4);
  box-shadow:0 14px 40px rgba(0,0,0,.55),0 0 0 1px rgba(217,180,91,.12);
}
.game-card.soon{opacity:.5;}

.thumb{
  height:132px;position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:radial-gradient(ellipse at 50% 120%,#0f3b2c,#0a1119 70%);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.mini-card{
  width:44px;height:62px;border-radius:6px;
  background:linear-gradient(180deg,#fff,#e6e1d6);
  color:#16181d;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  font-weight:700;line-height:1;
  box-shadow:0 6px 18px rgba(0,0,0,.55);
  transform:rotate(-9deg) translateY(4px);
  transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.mini-card:nth-child(2){transform:rotate(0deg) translateY(-4px);z-index:2;}
.mini-card:nth-child(3){transform:rotate(9deg) translateY(4px);}
.mini-card .mr{font-size:16px;}
.mini-card .ms{font-size:13px;margin-top:2px;}
.mini-card.red{color:#c0392b;}
.game-card.live:hover .mini-card:nth-child(1){transform:rotate(-15deg) translate(-6px,6px);}
.game-card.live:hover .mini-card:nth-child(3){transform:rotate(15deg) translate(6px,6px);}
.thumb-glow{
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 60%,rgba(217,180,91,.16),transparent 62%);
  pointer-events:none;
}
.thumb-ph span{
  font-size:15px;letter-spacing:5px;color:rgba(255,255,255,.16);
  border:1px dashed rgba(255,255,255,.12);padding:10px 20px;border-radius:8px;
}

.gc-body{padding:16px 18px 12px;flex:1;}
.gc-title{font-size:15px;font-weight:600;letter-spacing:2px;color:var(--txt);display:flex;align-items:center;gap:9px;}
.tag-hot{
  font-size:9px;letter-spacing:1px;padding:2px 6px;border-radius:3px;
  background:rgba(224,87,74,.16);color:#ff8b7e;border:1px solid rgba(224,87,74,.3);
  font-weight:600;
}
.gc-desc{font-size:12px;line-height:1.75;color:var(--dim);margin-top:9px;}
.gc-meta{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap;}
.meta-pill{
  font-size:10.5px;color:rgba(200,206,220,.6);
  padding:3px 8px;border-radius:4px;
  background:rgba(255,255,255,.04);
}
.gc-foot{
  padding:12px 18px;border-top:1px solid rgba(255,255,255,.05);
  display:flex;align-items:center;justify-content:space-between;
}
.online{font-size:11px;color:var(--green);display:flex;align-items:center;gap:6px;letter-spacing:1px;}
.online i{width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green);display:block;}
.offline{font-size:11px;color:rgba(255,255,255,.2);letter-spacing:1px;}
.gc-btn{
  font-size:12px;letter-spacing:2px;padding:8px 16px;border-radius:6px;
  background:linear-gradient(180deg,rgba(217,180,91,.22),rgba(217,180,91,.1));
  border:1px solid rgba(217,180,91,.4);
  color:var(--gold-l);
  transition:.18s;
}
.gc-btn:hover{background:rgba(217,180,91,.28);box-shadow:0 0 22px rgba(217,180,91,.25);}

/* ===================== 牌桌页 ===================== */
#game{background:radial-gradient(ellipse at 50% 30%,#0b131c,#05080d 75%);}
.game-top{height:56px;flex:0 0 56px;}
.ghost-btn{
  font-size:12px;letter-spacing:1px;color:var(--dim);
  padding:7px 14px;border-radius:6px;
  border:1px solid rgba(255,255,255,.09);
  transition:.18s;background:rgba(255,255,255,.02);
}
.ghost-btn:hover{color:var(--txt);border-color:rgba(255,255,255,.22);}
.ghost-btn.big{padding:10px 22px;font-size:13px;}
.room-title{display:flex;flex-direction:column;align-items:center;gap:3px;}
.rt-main{font-size:14px;letter-spacing:6px;color:var(--gold-l);font-weight:600;}
.rt-sub{font-size:9px;letter-spacing:3px;color:rgba(217,180,91,.35);}
.room-meta{display:flex;align-items:center;gap:12px;font-size:11.5px;color:var(--dim);letter-spacing:.5px;}
.room-meta b{color:var(--gold-l);font-weight:600;font-variant-numeric:tabular-nums;}
.room-meta .sep{width:1px;height:12px;background:rgba(255,255,255,.1);}

.table-area{flex:1;display:flex;min-height:0;position:relative;}

#table-wrap{
  position:relative;flex:1;min-width:0;
  overflow:hidden;
}

.table-felt{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(78%,980px);height:min(76%,600px);
  border-radius:50%;
  background:
    radial-gradient(ellipse at 50% 38%,#155640 0%,#0d3b2e 45%,#082019 78%,#050f0c 100%);
  box-shadow:
    inset 0 0 90px rgba(0,0,0,.75),
    inset 0 2px 0 rgba(255,255,255,.05),
    0 24px 60px rgba(0,0,0,.65),
    0 0 0 6px #16120a,
    0 0 0 7px rgba(217,180,91,.28);
}
.table-felt::after{
  content:"";
  position:absolute;inset:16px;border-radius:50%;
  border:1px solid rgba(217,180,91,.1);
  pointer-events:none;
}

.table-center{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  text-align:center;pointer-events:none;z-index:2;
}
.pot-label{font-size:10px;letter-spacing:5px;color:rgba(217,180,91,.55);}
.pot-val{
  font-size:34px;font-weight:700;color:var(--gold-l);
  font-variant-numeric:tabular-nums;line-height:1.15;
  text-shadow:0 0 30px rgba(217,180,91,.35);
}
.bet-info{font-size:11px;color:rgba(200,220,210,.5);letter-spacing:1px;margin-top:4px;}
.bet-info b{color:rgba(242,223,168,.85);font-weight:600;}
.bet-info .sep2{margin:0 7px;opacity:.4;}

/* ---------- 座位 ---------- */
#seats{position:absolute;inset:0;pointer-events:none;}

.seat{
  position:absolute;
  transform:translate(-50%,-50%);
  width:118px;
  display:flex;flex-direction:column;align-items:center;gap:5px;
  transition:left .45s cubic-bezier(.22,1,.36,1),top .45s cubic-bezier(.22,1,.36,1);
  pointer-events:auto;
}
.seat .hand{display:flex;gap:3px;height:44px;align-items:flex-end;}
.seat .avatar-wrap{position:relative;}
.seat .avatar{
  width:50px;height:50px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:23px;
  background:linear-gradient(165deg,#1d2735,#121a24);
  border:2px solid rgba(255,255,255,.11);
  transition:.25s;
  box-shadow:0 4px 14px rgba(0,0,0,.5);
}
.seat.active .avatar{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(217,180,91,.16),0 0 26px rgba(217,180,91,.5);
  animation:pulse 1.5s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 3px rgba(217,180,91,.16),0 0 22px rgba(217,180,91,.42);}
  50%{box-shadow:0 0 0 5px rgba(217,180,91,.1),0 0 34px rgba(217,180,91,.62);}
}
.seat.folded .avatar{opacity:.35;filter:grayscale(1);}
.seat.folded .hand{opacity:.25;}
.seat.winner .avatar{border-color:#ffe066;box-shadow:0 0 0 3px rgba(255,224,102,.2),0 0 40px rgba(255,224,102,.75);}

.seat .seat-info{
  text-align:center;line-height:1.3;
  background:rgba(6,10,14,.72);
  border:1px solid rgba(255,255,255,.07);
  border-radius:7px;padding:3px 9px;
  backdrop-filter:blur(4px);
  min-width:78px;
}
.seat .nm{font-size:11.5px;color:#cfd6e0;letter-spacing:.5px;white-space:nowrap;}
.seat .ch{font-size:10.5px;color:var(--gold);font-variant-numeric:tabular-nums;}
.seat.folded .nm,.seat.folded .ch{opacity:.45;}

.seat .dealer-chip{
  position:absolute;right:-4px;bottom:-2px;
  width:18px;height:18px;border-radius:50%;
  background:linear-gradient(180deg,#fff,#d8d2c4);
  color:#111;font-size:9px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(0,0,0,.25);
  display:none;
}
.seat.is-dealer .dealer-chip{display:flex;}

.seat .status-tag{
  position:absolute;left:-6px;top:-2px;
  font-size:9px;padding:1px 5px;border-radius:3px;
  letter-spacing:.5px;
  display:none;
}
.seat .status-tag.show{display:block;}
.status-tag.look{background:rgba(79,209,197,.16);color:#7fe8dd;border:1px solid rgba(79,209,197,.35);}
.status-tag.fold{background:rgba(255,255,255,.07);color:#7d8794;border:1px solid rgba(255,255,255,.13);}

.seat .bubble{
  position:absolute;left:50%;top:-46px;transform:translateX(-50%) scale(.85);
  background:rgba(20,26,36,.96);
  border:1px solid rgba(217,180,91,.3);
  color:#e8e0c8;
  font-size:11px;line-height:1.3;white-space:nowrap;
  padding:5px 10px;border-radius:8px;
  opacity:0;transition:.2s cubic-bezier(.34,1.56,.64,1);
  pointer-events:none;z-index:8;
  box-shadow:0 6px 20px rgba(0,0,0,.6);
}
.seat .bubble::after{
  content:"";position:absolute;left:50%;bottom:-4px;transform:translateX(-50%) rotate(45deg);
  width:7px;height:7px;background:rgba(20,26,36,.96);
  border-right:1px solid rgba(217,180,91,.3);border-bottom:1px solid rgba(217,180,91,.3);
}
.seat .bubble.show{opacity:1;transform:translateX(-50%) scale(1);}

.seat .bet-tag{
  position:absolute;right:-16px;top:14px;
  font-size:10px;font-weight:600;color:var(--gold-l);
  background:rgba(217,180,91,.14);
  border:1px solid rgba(217,180,91,.3);
  padding:2px 6px;border-radius:10px;
  font-variant-numeric:tabular-nums;
  opacity:0;transform:translateY(-4px);transition:.25s;
  white-space:nowrap;
}
.seat .bet-tag.show{opacity:1;transform:translateY(0);}

.seat.human .nm{color:var(--gold-l);font-weight:600;}

/* 自己座位的高亮（联机版：把自己也画进座位圈，标"我"） */
.seat.me .avatar{
  border-color:var(--cyan);
  box-shadow:0 0 0 3px rgba(79,209,197,.22),0 0 26px rgba(79,209,197,.55);
}
.seat.me .seat-info{border-color:rgba(79,209,197,.45);background:rgba(10,24,26,.8);}
.seat.me .nm{color:#7fe8dd;font-weight:600;}
.me-tag{
  font-size:9px;font-weight:700;font-style:normal;color:#04211d;
  background:linear-gradient(180deg,#7fe8dd,#3bb8ab);
  padding:1px 5px;border-radius:4px;margin-left:5px;letter-spacing:1px;
}

/* 可选比牌目标 */
.seat.compare-target{cursor:pointer;}
.seat.compare-target .avatar{
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(224,87,74,.18),0 0 26px rgba(224,87,74,.55);
  animation:pulse-red 1.1s ease-in-out infinite;
}
@keyframes pulse-red{
  0%,100%{box-shadow:0 0 0 3px rgba(224,87,74,.14),0 0 18px rgba(224,87,74,.4);}
  50%{box-shadow:0 0 0 5px rgba(224,87,74,.08),0 0 32px rgba(224,87,74,.62);}
}

/* ---------- 牌 ---------- */
.card{
  width:30px;height:42px;border-radius:4px;
  background:linear-gradient(180deg,#fffef9,#e8e3d8);
  color:#1a1c22;position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-weight:700;line-height:1;
  box-shadow:0 2px 7px rgba(0,0,0,.5);
  border:1px solid rgba(0,0,0,.14);
  flex:0 0 auto;
}
.card.red{color:#c0392b;}
.card .r{font-size:12px;letter-spacing:-.5px;}
.card .s{font-size:11px;margin-top:1px;}
.card.back{
  background:
    repeating-linear-gradient(45deg,#1d2f4d,#1d2f4d 3px,#16243a 3px,#16243a 6px);
  border:1px solid rgba(217,180,91,.4);
  box-shadow:0 2px 7px rgba(0,0,0,.5),inset 0 0 0 1px rgba(217,180,91,.1);
}
.card.back::after{
  content:"♠";position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;color:rgba(217,180,91,.3);
}
.card.big{width:50px;height:70px;border-radius:6px;}
.card.big .r{font-size:18px;}
.card.big .s{font-size:15px;}
.card.dim{opacity:.4;}

/* ---------- 日志 ---------- */
.log-panel{
  width:216px;flex:0 0 216px;
  display:flex;flex-direction:column;
  border-left:1px solid rgba(255,255,255,.05);
  background:rgba(9,13,19,.55);
  transition:flex-basis .25s,width .25s;
}
.log-panel.collapsed{width:44px;flex:0 0 44px;}
.log-panel.collapsed .log-list{display:none;}
.log-panel.collapsed .log-head span{display:none;}
.log-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 14px 10px;
  font-size:10px;letter-spacing:3px;color:rgba(217,180,91,.5);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.log-toggle{
  color:var(--dim);font-size:14px;padding:0 4px;line-height:1;
}
.log-toggle:hover{color:var(--gold);}
.log-list{
  flex:1;overflow-y:auto;padding:10px 12px;
  font-size:11.5px;line-height:1.7;
}
.log-list::-webkit-scrollbar{width:4px;}
.log-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:2px;}
.log-item{color:#9aa3b2;margin-bottom:3px;word-break:break-all;}
.log-item .who{color:#cfd6e0;}
.log-item.hl{color:var(--gold-l);}
.log-item.win{color:#ffe066;font-weight:600;}
.log-item.dim{color:rgba(255,255,255,.22);}
.log-item.sys{color:rgba(79,209,197,.65);}

/* ---------- 操作栏 ---------- */
.action-bar{
  flex:0 0 118px;height:118px;
  display:flex;align-items:center;gap:24px;
  padding:0 26px;
  border-top:1px solid rgba(217,180,91,.13);
  background:linear-gradient(180deg,rgba(9,13,19,.4),rgba(5,8,12,.96));
  position:relative;z-index:10;
}
.my-hand{display:flex;gap:8px;min-width:170px;}
.my-info{display:flex;flex-direction:column;gap:4px;min-width:96px;}
.my-name{font-size:13px;color:var(--gold-l);letter-spacing:2px;font-weight:600;}
.my-chips{font-size:11.5px;color:var(--dim);}
.my-chips b{color:var(--gold);font-variant-numeric:tabular-nums;}

.controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1;}
.controls .waiting{font-size:12px;color:var(--dim);letter-spacing:1px;}

.btn{
  padding:11px 20px;border-radius:8px;
  font-size:13px;letter-spacing:1.5px;font-weight:500;
  border:1px solid transparent;
  transition:.16s;
  white-space:nowrap;
}
.btn small{display:block;font-size:10px;opacity:.6;letter-spacing:.5px;margin-top:2px;font-weight:400;}
.btn:disabled{opacity:.32;cursor:not-allowed;}

.btn-look{
  background:rgba(79,209,197,.1);border-color:rgba(79,209,197,.35);color:#7fe8dd;
}
.btn-look:hover:not(:disabled){background:rgba(79,209,197,.2);}
.btn-call{
  background:linear-gradient(180deg,rgba(63,191,135,.24),rgba(63,191,135,.12));
  border-color:rgba(63,191,135,.45);color:#7ee0ae;
}
.btn-call:hover:not(:disabled){background:rgba(63,191,135,.28);box-shadow:0 0 20px rgba(63,191,135,.2);}
.btn-raise{
  background:linear-gradient(180deg,rgba(217,180,91,.24),rgba(217,180,91,.1));
  border-color:rgba(217,180,91,.5);color:var(--gold-l);
}
.btn-raise:hover:not(:disabled){background:rgba(217,180,91,.28);box-shadow:0 0 20px rgba(217,180,91,.25);}
.btn-compare{
  background:linear-gradient(180deg,rgba(224,87,74,.22),rgba(224,87,74,.1));
  border-color:rgba(224,87,74,.45);color:#ff9d92;
}
.btn-compare:hover:not(:disabled){background:rgba(224,87,74,.26);}
.btn-fold{
  background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12);color:#98a1af;
}
.btn-fold:hover:not(:disabled){background:rgba(255,255,255,.08);color:#cdd4de;}

.raise-menu{display:flex;gap:8px;align-items:center;}
.raise-menu .rm-label{font-size:11px;color:var(--dim);letter-spacing:1px;}
.raise-menu .btn{padding:9px 14px;font-size:12px;}

.hint-line{
  position:absolute;left:0;right:0;bottom:124px;
  text-align:center;font-size:11.5px;color:rgba(200,210,225,.5);
  letter-spacing:1px;pointer-events:none;z-index:9;
  transition:opacity .2s;
}
.hint-line.alert{color:#ffb3a8;}

/* ---------- 弹窗 ---------- */
.modal-mask{
  position:absolute;inset:0;z-index:60;
  display:flex;align-items:center;justify-content:center;
  background:rgba(3,5,8,.82);
  backdrop-filter:blur(5px);
  opacity:1;transition:opacity .22s;
}
.modal-mask.hidden{opacity:0;pointer-events:none;display:none;}
.modal{
  width:min(480px,90vw);
  background:linear-gradient(170deg,#141c27,#0b1119);
  border:1px solid rgba(217,180,91,.24);
  border-radius:16px;
  padding:30px 32px 26px;
  box-shadow:0 30px 90px rgba(0,0,0,.75);
  text-align:center;
}
.modal-title{font-size:18px;letter-spacing:8px;color:var(--gold-l);font-weight:600;}
.modal-sub{font-size:12px;color:var(--dim);margin-top:9px;letter-spacing:1px;}

.seat-picker{display:flex;gap:8px;margin:24px 0 18px;justify-content:center;flex-wrap:wrap;}
.seat-picker button{
  width:78px;padding:12px 0;border-radius:10px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  font-size:14px;color:#c3cbd8;letter-spacing:1px;
  transition:.16s;
}
.seat-picker button small{display:block;font-size:10px;color:var(--dim);margin-top:4px;letter-spacing:.5px;}
.seat-picker button:hover{border-color:rgba(217,180,91,.4);background:rgba(217,180,91,.08);}
.seat-picker button.on{
  border-color:var(--gold);color:var(--gold-l);
  background:rgba(217,180,91,.14);
  box-shadow:0 0 24px rgba(217,180,91,.18);
}

.modal-note{
  font-size:11.5px;line-height:1.9;color:rgba(180,190,205,.55);
  text-align:left;padding:14px 16px;border-radius:8px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
}
.modal-note b{color:var(--gold);font-weight:600;}
.modal-actions{display:flex;gap:12px;justify-content:center;margin-top:24px;}
.primary-btn{
  padding:11px 30px;border-radius:8px;
  font-size:13px;letter-spacing:3px;font-weight:600;
  background:linear-gradient(180deg,#e8cd85,#c9a24a);
  color:#1a1206;
  transition:.18s;
  box-shadow:0 6px 22px rgba(217,180,91,.28);
}
.primary-btn:hover{filter:brightness(1.08);box-shadow:0 8px 30px rgba(217,180,91,.45);}

/* 结算 */
.result-modal{width:min(560px,92vw);}
.res-winner{font-size:20px;color:#ffe066;margin-top:14px;font-weight:600;letter-spacing:2px;}
.res-cards{
  display:flex;gap:10px;margin:22px 0 4px;
  overflow-x:auto;justify-content:center;flex-wrap:wrap;
}
.res-row{
  min-width:104px;padding:10px 8px;border-radius:9px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  display:flex;flex-direction:column;align-items:center;gap:6px;
}
.res-row.win{border-color:rgba(255,224,102,.5);background:rgba(255,224,102,.07);}
.res-row .rn{font-size:11px;color:#c3cbd8;}
.res-row .rt{font-size:10px;color:var(--gold);letter-spacing:1px;}
.res-row .rc{display:flex;gap:3px;}
.res-row .rc .card{width:26px;height:36px;}
.res-row .rc .card .r{font-size:10px;}
.res-row .rc .card .s{font-size:9px;}

/* ===================== v2 追加 ===================== */
.top-actions{display:flex;align-items:center;gap:8px;margin-left:14px;}
.icon-btn{
  width:32px;height:32px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;color:var(--dim);
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.02);
  transition:.16s;
}
.icon-btn:hover{color:var(--gold-l);border-color:rgba(217,180,91,.4);background:rgba(217,180,91,.08);}
.icon-btn.off{opacity:.4;}

.gc-stats{
  margin-top:12px;padding-top:11px;
  border-top:1px dashed rgba(255,255,255,.07);
  font-size:11px;letter-spacing:.5px;color:rgba(180,195,215,.62);
  font-variant-numeric:tabular-nums;
}
.gc-stats b{color:var(--gold);font-weight:600;}
.gc-stats .up{color:#7ee0ae;}
.gc-stats .down{color:#ff9d92;}

/* 设置项 */
.modal{max-height:90vh;overflow-y:auto;}
.setup-grid{margin:22px 0 18px;display:flex;flex-direction:column;gap:10px;}
.setup-row{display:flex;align-items:center;gap:12px;}
.setup-label{
  width:70px;flex:0 0 70px;text-align:right;
  font-size:11.5px;letter-spacing:2px;color:rgba(180,195,215,.55);
}
.opt-group{display:flex;gap:6px;flex:1;flex-wrap:wrap;}
.opt-group button{
  min-width:44px;padding:8px 12px;border-radius:7px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  font-size:12.5px;color:#c3cbd8;letter-spacing:1px;
  transition:.15s;
}
.opt-group button:hover{border-color:rgba(217,180,91,.4);background:rgba(217,180,91,.07);}
.opt-group button.on{
  border-color:var(--gold);color:var(--gold-l);
  background:rgba(217,180,91,.15);
  box-shadow:0 0 18px rgba(217,180,91,.16);
}
.opt-group.wide button{flex:1;}

.res-pnl{
  font-size:22px;font-weight:700;margin-top:2px;
  font-variant-numeric:tabular-nums;letter-spacing:1px;
}
.res-pnl.up{color:#7ee0ae;}
.res-pnl.down{color:#ff9d92;}

/* 数据面板 */
.data-modal{width:min(680px,94vw);text-align:left;}
.modal-head{display:flex;align-items:center;justify-content:space-between;}
.modal-head .modal-title{font-size:15px;letter-spacing:6px;}
.data-status{
  margin-top:14px;padding:9px 12px;border-radius:7px;
  font-size:11.5px;letter-spacing:.5px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  color:rgba(180,195,215,.7);
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.data-status .ok{color:#7ee0ae;}
.data-status .warn{color:#ffcf7a;}
.data-status code{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:10.5px;color:rgba(217,180,91,.85);
  background:rgba(217,180,91,.08);padding:2px 6px;border-radius:4px;
}
.data-body{margin-top:16px;}
.dstat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px;}
.dstat{
  padding:12px 10px;border-radius:9px;
  background:rgba(255,255,255,.028);
  border:1px solid rgba(255,255,255,.055);
  text-align:center;
}
.dstat .k{font-size:10px;letter-spacing:1.5px;color:rgba(180,195,215,.5);}
.dstat .v{
  font-size:19px;font-weight:600;margin-top:6px;
  color:var(--gold-l);font-variant-numeric:tabular-nums;
}
.dstat .v.up{color:#7ee0ae;}
.dstat .v.down{color:#ff9d92;}

.dtable{width:100%;border-collapse:collapse;margin-top:16px;font-size:11.5px;}
.dtable th{
  text-align:left;font-weight:500;font-size:10px;letter-spacing:1.5px;
  color:rgba(180,195,215,.42);padding:7px 8px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.dtable td{
  padding:7px 8px;color:#b9c2d0;
  border-bottom:1px solid rgba(255,255,255,.035);
  font-variant-numeric:tabular-nums;
}
.dtable tr:last-child td{border-bottom:none;}
.dtable .up{color:#7ee0ae;}
.dtable .down{color:#ff9d92;}
.dtable .win-tag{color:#ffe066;}
.dsec-title{
  margin-top:20px;margin-bottom:4px;
  font-size:10px;letter-spacing:3px;color:rgba(217,180,91,.5);
}
.dempty{
  padding:26px 0;text-align:center;font-size:12px;
  color:rgba(180,195,215,.4);letter-spacing:1px;
}

/* ===================== 多游戏外壳 ===================== */
.stage{position:absolute;inset:0;display:flex;flex-direction:column;min-height:0;}
.stage.hidden{display:none;}
/* 联机版顶栏在 stage 之外，stage 作为 flex 子项自动排在顶栏下方，避免被顶栏压住 */
.stage.on-stage{position:relative;inset:auto;flex:1 1 auto;}

.thumb-ddz{background:radial-gradient(circle at 32% 18%,rgba(63,191,135,.16),transparent 62%),linear-gradient(135deg,#12211a,#0a1210);}
.thumb-holdem{background:radial-gradient(circle at 32% 18%,rgba(217,180,91,.16),transparent 62%),linear-gradient(135deg,#1e1710,#0d0b08);}
.mini-card.joker{color:var(--gold-l);}
.mini-card.joker .mr{font-size:13px;}

/* ===================== 纸牌通用 ===================== */
.pcard{
  position:relative;width:58px;height:82px;flex:0 0 auto;
  background:linear-gradient(160deg,#fdfbf4,#e9e3d3);
  border-radius:7px;border:1px solid rgba(0,0,0,.2);
  box-shadow:0 3px 9px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.55);
  color:#1b1d24;font-weight:700;line-height:1;
  transition:transform .12s,box-shadow .12s;
}
.pcard .pr{position:absolute;top:4px;left:5px;font-size:19px;letter-spacing:-.5px;}
.pcard .ps{position:absolute;bottom:3px;right:5px;font-size:19px;}
.pcard.red{color:#c0392b;}
.pcard.joker .pr{font-size:14px;top:7px;}
.pcard.joker .ps{font-size:13px;bottom:6px;}
.pcard.back{background:repeating-linear-gradient(45deg,#1d2b45 0 5px,#253757 5px 10px);border-color:rgba(217,180,91,.32);}
.pcard.back::after{content:'';position:absolute;inset:5px;border-radius:4px;border:1px solid rgba(217,180,91,.22);}
.pcard.mini{width:34px;height:48px;border-radius:5px;}
.pcard.mini .pr{font-size:13px;top:2px;left:3px;}
.pcard.mini .ps{font-size:12px;bottom:1px;right:3px;}

/* ===================== 斗地主 ===================== */
.ddz-table{flex:1;position:relative;min-height:0;overflow:hidden;}
.ddz-felt{
  position:absolute;inset:14px 34px 6px;border-radius:210px/150px;
  background:radial-gradient(ellipse at 50% 38%,#17503a,#0a1d16 72%);
  border:1px solid rgba(217,180,91,.14);
  box-shadow:inset 0 0 90px rgba(0,0,0,.62),0 0 60px rgba(0,0,0,.4);
}
.ddz-seat-layer{position:absolute;inset:0;}
.ddz-seat{
  position:absolute;display:flex;align-items:flex-start;gap:10px;
  padding:8px 12px;border-radius:12px;min-width:140px;
  background:rgba(12,18,26,.74);border:1px solid rgba(255,255,255,.06);
  transition:.2s;
}
.ddz-seat.active{border-color:rgba(217,180,91,.55);box-shadow:0 0 22px rgba(217,180,91,.18);}
.ddz-ava{
  width:36px;height:36px;flex:0 0 36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-size:19px;font-weight:600;color:#e2e9f4;
  border:1px solid rgba(255,255,255,.09);
}
.ddz-pname{font-size:12.5px;display:flex;align-items:center;gap:6px;letter-spacing:1px;}
.ddz-role{font-size:9px;padding:1px 5px;border-radius:4px;background:rgba(255,255,255,.07);color:var(--dim);letter-spacing:.5px;}
.ddz-role.lord{background:rgba(224,87,74,.18);color:#ff9d92;}
.ddz-pnum{font-size:11.5px;color:var(--gold-l);margin-top:5px;display:flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums;}
.mini-back{width:9px;height:13px;border-radius:2px;display:inline-block;background:linear-gradient(135deg,#253757,#1d2b45);border:1px solid rgba(217,180,91,.3);}
.ddz-ppts{font-size:10.5px;color:var(--dim);margin-top:3px;font-variant-numeric:tabular-nums;}
.ddz-bubble{
  position:absolute;left:50%;top:-24px;transform:translateX(-50%);
  background:linear-gradient(180deg,#f2dfa8,#d9b45b);color:#20180a;
  font-size:11px;font-weight:700;padding:3px 10px;border-radius:9px;white-space:nowrap;
  box-shadow:0 4px 12px rgba(0,0,0,.45);
}
.ddz-seat-layer.mode-3 .seat-1{left:6%;top:17%;}
.ddz-seat-layer.mode-3 .seat-2{right:6%;top:17%;}
.ddz-seat-layer.mode-4 .seat-1{left:4%;top:15%;}
.ddz-seat-layer.mode-4 .seat-2{left:50%;transform:translateX(-50%);top:3%;}
.ddz-seat-layer.mode-4 .seat-3{right:4%;top:15%;}

.ddz-bottom-zone{position:absolute;left:50%;top:9%;transform:translateX(-50%);text-align:center;}
.ddz-table.mode-4 .ddz-bottom-zone{top:23%;}
.ddz-blabel{font-size:9.5px;letter-spacing:3px;color:rgba(217,180,91,.5);margin-bottom:6px;}
.ddz-bcards{display:flex;gap:3px;justify-content:center;}

.ddz-play-zone{
  position:absolute;left:50%;top:44%;transform:translateX(-50%);
  min-width:220px;min-height:100px;display:flex;align-items:center;justify-content:center;
}
.ddz-play-inner{text-align:center;}
.ddz-play-inner.dim{opacity:.45;}
.ddz-play-who{font-size:11px;letter-spacing:1.5px;color:rgba(185,200,220,.62);margin-bottom:7px;}
.ddz-play-cards{display:flex;justify-content:center;gap:2px;}

.ddz-bar{flex:0 0 auto;padding:0 30px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;}
.ddz-hand-wrap{display:flex;justify-content:center;align-items:flex-end;min-height:104px;padding-top:18px;max-width:100%;}
.ddz-hand{display:flex;justify-content:center;align-items:flex-end;}
.ddz-hand .pcard{margin-left:-21px;cursor:pointer;}
.ddz-hand .pcard:first-child{margin-left:0;}
.ddz-hand .pcard:hover{transform:translateY(-9px);z-index:5;}
.ddz-hand .pcard.sel{transform:translateY(-17px);box-shadow:0 9px 20px rgba(0,0,0,.5),0 0 0 2px var(--gold);z-index:4;}
.ddz-controls{display:flex;justify-content:center;align-items:center;gap:10px;min-height:46px;}

.res-why{font-size:11.5px;color:var(--dim);margin-top:8px;letter-spacing:.5px;}
.res-list{margin-top:16px;display:flex;flex-direction:column;gap:6px;}
.res-row{
  display:flex;align-items:center;gap:12px;font-size:12.5px;
  padding:7px 12px;border-radius:8px;background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
}
.res-row .rn{flex:1;color:#c9d2e0;}
.res-row .rt{font-size:10.5px;color:var(--dim);letter-spacing:1px;}
.res-row .rv{font-variant-numeric:tabular-nums;font-weight:600;min-width:52px;text-align:right;}
.res-row .rv.up{color:#7ee0ae;}
.res-row .rv.down{color:#ff9d92;}
.room-meta b.hot{color:#ff9d92;}

/* ===================== 德州扑克 ===================== */
.he-table{flex:1;position:relative;min-height:0;overflow:hidden;}
.he-felt{
  position:absolute;inset:16px 38px 6px;border-radius:50%/32%;
  background:radial-gradient(ellipse at 50% 46%,#1b4c37,#08170f 74%);
  border:1px solid rgba(217,180,91,.15);
  box-shadow:inset 0 0 100px rgba(0,0,0,.66),0 0 60px rgba(0,0,0,.4);
}
.he-seat-layer{position:absolute;inset:0;}
.he-seat{
  position:absolute;transform:translateX(-50%);width:136px;
  padding:6px 8px 7px;border-radius:11px;text-align:center;
  background:rgba(10,16,24,.78);border:1px solid rgba(255,255,255,.06);
  transition:.2s;
}
.he-seat.active{border-color:rgba(217,180,91,.55);box-shadow:0 0 20px rgba(217,180,91,.18);}
.he-seat.folded{opacity:.42;}
.he-pname{font-size:11.5px;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:5px;}
.he-ava{font-size:13px;line-height:1;}
.he-btn{
  font-size:8.5px;width:14px;height:14px;line-height:14px;border-radius:50%;
  background:var(--gold);color:#1a1206;font-weight:700;display:inline-block;
}
.he-allin{font-size:8px;padding:1px 4px;border-radius:3px;background:rgba(224,87,74,.22);color:#ff9d92;letter-spacing:.5px;}
.he-cards{display:flex;justify-content:center;gap:2px;margin:4px 0 2px;}
.he-chips{font-size:11px;color:var(--gold-l);font-variant-numeric:tabular-nums;}
.he-act{font-size:10px;color:rgba(190,205,225,.72);margin-top:2px;min-height:13px;}
.he-betchip{
  position:absolute;right:-6px;bottom:-8px;
  background:linear-gradient(180deg,#e8c87a,#b8892f);
  color:#231a06;font-size:10px;font-weight:700;
  padding:1px 7px;border-radius:9px;box-shadow:0 3px 8px rgba(0,0,0,.5);
}
.he-center{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);text-align:center;}

/* ---------- 联机版德州：座位行 + 中央区走文档流，任何屏高都不会互相压住 ---------- */
.on-stage .he-table{display:flex;flex-direction:column;}
.on-stage .he-seat-layer{position:relative;inset:auto;flex:0 0 auto;display:flex;justify-content:center;align-items:flex-start;gap:6px;padding:8px 10px 0;z-index:2;}
.on-stage .he-seat{position:relative;transform:none;flex:0 1 130px;min-width:96px;padding:6px 6px 7px;}
.on-stage .he-center{position:relative;left:auto;top:auto;transform:none;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;z-index:1;}
.he-pot{font-size:12px;color:rgba(190,205,225,.65);letter-spacing:2px;margin-bottom:10px;}
.he-pot b{font-size:19px;color:var(--gold-l);margin-left:8px;font-variant-numeric:tabular-nums;letter-spacing:0;}
.he-board{display:flex;gap:7px;justify-content:center;}
.pcard.slot{background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.14);box-shadow:none;}
.pcard.slot::after{content:'';}
.he-street{font-size:10px;letter-spacing:4px;color:rgba(217,180,91,.45);margin-top:10px;min-height:12px;}

.he-bar{flex:0 0 auto;padding:0 30px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;}
.he-mine{display:flex;align-items:center;gap:18px;}
.he-mycards{display:flex;gap:6px;}
.he-myinfo{text-align:left;}
.he-myname{font-size:12.5px;letter-spacing:1px;}
.he-mychips{font-size:11.5px;color:var(--dim);margin-top:4px;font-variant-numeric:tabular-nums;}
.he-mychips b{color:var(--gold-l);}
.he-myhand{font-size:10.5px;color:var(--gold);margin-top:4px;letter-spacing:.5px;}

/* 德州操作按钮行 */
.he-controls{display:flex;justify-content:center;align-items:center;gap:10px;min-height:46px;}

/* 矮横屏（手机横握 / 牌桌被旋转 90°）：整体压缩，
   保证座位行 + 公共牌 + 我的底牌都不被挤掉。由 JS 打 .land-compact。 */
.land-compact .on-stage .he-seat{padding:4px 4px 5px;}
.land-compact .on-stage .he-seat .he-cards{gap:1px;margin:3px 0 1px;}
.land-compact .on-stage .he-seat .he-cards .pcard.mini{width:28px;height:40px;border-radius:4px;}
.land-compact .on-stage .he-seat .he-cards .pcard.mini .pr{font-size:11px;top:1px;left:2px;}
.land-compact .on-stage .he-seat .he-cards .pcard.mini .ps{font-size:10px;bottom:1px;right:2px;}
.land-compact .on-stage .he-seat .he-pname{font-size:10.5px;gap:3px;}
.land-compact .on-stage .he-seat .he-chips{font-size:10px;}
.land-compact .on-stage .he-seat .he-act{font-size:9px;min-height:0;margin-top:1px;}
.land-compact .on-stage .he-board{gap:5px;}
.land-compact .on-stage .he-board .pcard{width:46px;height:64px;border-radius:6px;}
.land-compact .on-stage .he-board .pcard .pr{font-size:15px;top:2px;left:3px;}
.land-compact .on-stage .he-board .pcard .ps{font-size:15px;bottom:1px;right:3px;}
.land-compact .on-stage .he-pot{margin-bottom:4px;font-size:10px;}
.land-compact .on-stage .he-pot b{font-size:16px;margin-left:5px;}
.land-compact .on-stage .he-street{margin-top:4px;font-size:9px;letter-spacing:3px;}
.land-compact .on-stage .he-bar{padding-bottom:4px;gap:4px;}
.land-compact .on-stage .he-mine{gap:12px;}
.land-compact .on-stage .he-mine .he-mycards{gap:4px;}
.land-compact .on-stage .he-mine .he-mycards .pcard{width:48px;height:68px;}
.land-compact .on-stage .he-mine .he-mycards .pcard .pr{font-size:16px;top:3px;left:4px;}
.land-compact .on-stage .he-mine .he-mycards .pcard .ps{font-size:16px;bottom:2px;right:4px;}
.land-compact .on-stage .he-myname{font-size:11.5px;}
.land-compact .on-stage .he-mychips{font-size:10.5px;margin-top:2px;}
.land-compact .on-stage .he-myhand{font-size:9.5px;margin-top:2px;}
.land-compact .on-stage .he-controls{min-height:38px;gap:8px;}

/* 斗地主在矮横屏里也同样压一压，手牌铺得开 */
.land-compact .on-stage .ddz-bar{padding:0 18px 4px;gap:3px;}
.land-compact .on-stage .ddz-hand-wrap{min-height:78px;padding-top:12px;}
.land-compact .on-stage .ddz-hand .pcard{width:48px;height:68px;margin-left:-14px;}
.land-compact .on-stage .ddz-hand .pcard .pr{font-size:16px;top:3px;left:4px;}
.land-compact .on-stage .ddz-hand .pcard .ps{font-size:15px;bottom:2px;right:4px;}
.land-compact .on-stage .ddz-controls{min-height:40px;gap:8px;}
.land-compact .on-stage .ddz-seat-layer.mode-3 .seat-1{left:5%;top:12%;}
.land-compact .on-stage .ddz-seat-layer.mode-3 .seat-2{right:5%;top:12%;}
.land-compact .on-stage .ddz-bottom-zone{top:6%;}
.land-compact .on-stage .ddz-play-zone{top:42%;min-height:76px;}
.land-compact .on-stage .ddz-bcards .pcard.mini{width:30px;height:42px;}

/* ===================== 牌桌旋转兜底（联机版） ===================== */
/* 竖屏设备进牌桌时整块牌桌被转 90°，此时视口宽度仍是竖屏的宽度，
   按视口宽度写媒体查询会误判（手机上看着宽，视口却说只有 390）。
   所以这里直接锚定 body.rot-on —— 只和"牌子是转过来的"有关，
   和屏幕多大无关。不支持 6.3 寸（约 393×852）以下的小屏。 */
body.rot-on .game-top{height:50px;flex:0 0 50px;padding:0 12px;}
body.rot-on .room-meta{gap:8px;font-size:10px;overflow:hidden;min-width:0;}
body.rot-on .room-meta .sep{display:none;}
body.rot-on .room-meta span{white-space:nowrap;}
body.rot-on .rt-sub{display:none;}

body.rot-on .action-bar{flex:0 0 auto;min-height:104px;height:auto;gap:12px;padding:8px 12px;flex-wrap:wrap;}
body.rot-on .my-hand{gap:5px;min-width:0;}
body.rot-on .my-hand .card{width:46px;height:64px;border-radius:6px;}
body.rot-on .my-hand .card .r{font-size:17px;}
body.rot-on .my-hand .card .s{font-size:15px;}
body.rot-on .my-info{min-width:0;}
body.rot-on .controls{flex:1 1 100%;gap:6px;flex-wrap:wrap;justify-content:flex-start;}
body.rot-on .btn{padding:9px 12px;font-size:12.5px;letter-spacing:1px;border-radius:7px;}
body.rot-on .btn small{font-size:9px;}
body.rot-on .raise-menu{gap:5px;flex-wrap:wrap;}
body.rot-on .raise-menu .btn{padding:8px 10px;font-size:11.5px;}
body.rot-on .hint-line{bottom:110px;font-size:10.5px;}

button,[data-open],[data-back],[data-leave],[data-sound],[data-data],
.game-card.live,.gc-btn,.nav-item,.opt-group button,.seat-picker button,
.btn,.pcard,.mini-card,.log-toggle,.icon-btn{touch-action:manipulation;}

/* ===================== 脚本没运行时的兜底提示 ===================== */
/* 正常情况下 html 上的 .no-js 会被 head 里的脚本立刻摘掉；
   摘不掉说明这个环境不执行 JS（微信/QQ 的文件预览最典型），
   而 CSS 一定能渲染，所以这条提示一定看得见。 */
html.no-js body::before{
  content:"⚠️ 脚本没有运行 —— 你现在看到的是「文件预览」，不是真正的网页。点右上角「···」选择「用浏览器打开」，或访问电脑的局域网地址。";
  position:fixed;left:0;right:0;top:0;z-index:999999;
  padding:14px 16px;font:13px/1.7 "Segoe UI","PingFang SC",sans-serif;
  color:#fff;background:#8c1f1f;letter-spacing:.5px;
  box-shadow:0 3px 16px rgba(0,0,0,.55);
}

/* 入座遮罩盖住整个舞台时，顶栏仍然保持可点（避免手机上像"卡住了"） */
.game-top{position:relative;z-index:70;}
#data-modal{z-index:80;}

/* 大厅里的自检标记：看不到这行字，说明这个环境没执行脚本 */
.boot-tag{font-size:10.5px;letter-spacing:1px;color:rgba(140,200,170,.55);margin-top:7px;}
html.no-js .boot-tag{display:none;}

/* 动作已发出、等服务器确认时，整块操作区变淡。
   走 Funnel 一个来回 1~2 秒，只锁住按钮不给任何视觉反馈，
   玩家会以为"点了没反应"，然后反复戳。 */
.acting{opacity:.42;filter:saturate(.45);transition:opacity .12s linear;}
