/* Дуракт тусгай элементүүд — БҮГД styles.css-ийн (лавлагааны) токен/фонт/хэлбэрээр загварчлагдана.
   Энд шинэ өнгө ЗОХИОГООГҮЙ: зөвхөн --gold / --cream / --suit-red / --panel* / --line ашиглана. */

/* ==================== Ширээ ====================
   Лавлагааны .table-area: хавтгай радиал фетр (body-гийн градиент) дээр төвлөрсөн дугуй фетр цагираг.
   Зууван felt + модон rail + felt-texture.png ХАСАГДСАН. */
/* Ээлжийн мөр — ширээний дээр төвлөрсөн (лавлагаанд .table-area-ийн эхний мөр) */
#turnLine {
  flex: none; align-self: center; max-width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#turnLine.mine.active-team0 {
  color: #fff;
  background: linear-gradient(180deg, #f04a58, #c91f30);
  border: 2px solid #ff7380;
  box-shadow: 0 4px 16px rgba(255,63,79,.42);
}
#turnLine.mine.active-team1 {
  color: #fff;
  background: linear-gradient(180deg, #262b28, #080a09);
  border: 2px solid #3b413d;
  box-shadow: 0 4px 16px rgba(8,10,9,.48);
}
.felt-wrap { position: relative; flex: 1; min-height: 0; width: 100%; }
.felt {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
/* ==================== Ноёлогч заагч (ref .turn-line-ийн plaque хэлбэр) ====================
   Зүүн ДООД буланд: дээр нь алтан ХАЯГ (ref .count-label), доор нь ноёлогчийн ил хөзөр.
   Ил хөзөр саны хажууд (зүүн ДЭЭД) байхад 5/6/8 суудлын pod-той давхцаж бүрхэгддэг байсан тул
   энэ plaque руу шилжүүлэв — ноёлогчийн бүх мэдээлэл нэг дор, ямар ч суудлын тоонд давхцахгүй. */
.trump-tag {
  position: absolute;
  right: max(clamp(2px, 1.5vw, 8px), env(safe-area-inset-right));
  top: 8px; z-index: 7; white-space: nowrap;
  display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 7px 10px; border-radius: 14px;
  background: rgba(5, 34, 23, .88); border: 1px solid rgba(212,175,55,.34);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.trump-tag .tt-lbl { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.trump-tag .tt-row { display: inline-flex; align-items: center; gap: 7px; }
/* Ноёлогчийн тэмдэг — жижиг cream хөзөр */
.trump-tag .tsuit {
  width: auto; height: auto; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; color: var(--ink);
}
.trump-tag .tsuit.r { color: var(--suit-red); }
/* Ноёлогчийн ил хөзөр — алтан тодруулгатай, plaque дотор */
.trump-tag .trump-under { display: inline-flex; flex: none; }
.trump-tag .trump-under .card {
  width: 32px; height: 44px; font-size: 8px;
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 14px rgba(212,175,55,.35), 0 3px 8px rgba(0,0,0,.45);
}
.ts-score {
  display: inline-flex; align-items: center; gap: 3px;
  font-family: "Noto Serif", serif; font-size: 14px; font-weight: 800;
  color: var(--gold-hi); font-variant-numeric: tabular-nums;
}
.ts-score .team0 { color: #ff3f4f; }
.ts-score .team1 { color: #080a09; text-shadow: none; }

/* ==================== Сан (talon) ==================== */
.pool {
  position: absolute;
  left: max(clamp(2px, 1.5vw, 8px), env(safe-area-inset-left));
  top: 8px; z-index: 2; text-align: center; overflow: visible;
}
.pool .talon-layout { display: flex; align-items: center; min-height: 64px; }
.pool .ground-trump { position: relative; z-index: 1; display: inline-flex; }
.pool .ground-trump .card { width: 46px; height: 64px; font-size: 11px; }
.pool .talon-layout .stack { margin-left: 4px; }
.pool .stack { position: relative; width: 46px; height: 44px; margin: 0 auto; }
.pool .stack .cardx {
  position: absolute; top: 0; width: 30px; height: 42px; border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,.45);
}
.pool .cnt {
  display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px;
  font-family: "Noto Serif", serif; font-size: 11px; font-weight: 800; color: var(--gold-hi);
  background: var(--panel); border: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.pool .trump-suit-icon {
  width: 46px; height: 64px; display: grid; place-items: center;
  color: var(--ink); font-size: 32px; line-height: 1; opacity: .55;
  text-shadow: 0 3px 8px rgba(0,0,0,.45);
}
.pool .trump-suit-icon.red { color: var(--suit-red); }

/* ==================== Тойрч дарах ГИНЖ ====================
   Багана = багц дахь байрлал; багана дотор дарсан хөзөр ДООШ цувна.
   Дарагдсан (дээд, хуучин) хөзөр саарал болж, идэвхтэй бай нь ЗӨВХӨН алтаар ялгарна. */
.battle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92%; min-height: 96px; z-index: 6; pointer-events: none;
  --chain-w: 52px; --chain-h: 74px; --chain-fs: 13px;
}
.battle[data-players="6"] { top: calc(48% + 10px); }
.battle[data-players="8"] { top: calc(47% + 10px); }
.battle .chain-card {
  position: absolute; left: 50%; top: 50%;
  width: var(--chain-w); height: var(--chain-h); font-size: var(--chain-fs);
  transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px)));
  filter: grayscale(.6) brightness(.82);   /* дарагдсан/хуучин — бүдэг саарал өнгө */
}
/* Одоо дарах ёстой бай — алтан хүрээ + зөөлөн glow (өөр өнгө байхгүй) */
.battle .chain-card.target {
  pointer-events: auto; filter: none;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,.45), 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.06);
}
/* Тавьсан мод — багцыг дуусгаагүй байхад гар руу чирж буцаана */
.battle .chain-card.undo { pointer-events: auto; cursor: grab; touch-action: none; filter: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.45); } /* хүрээгүй */
.battle .chain-card.target.drag-over {
  box-shadow: 0 0 18px rgba(212,175,55,.75), 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.06);
}
/* Баганын ДЭЭД (хамгийн урд) хөзөр — бүрэн өнгөтэй. Доорх нь л бүдэг саарал үлдэнэ,
   ингэснээр дээд хөзөр тод уншигдаж, доорхи нь зүгээр л "давхарга" болж харагдана. */
.battle .chain-card.top { filter: none; }
/* Хамгийн сүүлд тавьсан хөзөр — бүрэн өнгөтэй, зөөлөн pop-in */
.battle .chain-card.fresh { filter: none; animation: chainPop .22s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes chainPop { from { transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px))) scale(.55); opacity: .35; }
  to { transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px))) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .battle .chain-card.fresh { animation: none; } }
/* Унтах фаз. ⚠ opacity БҮҮ АШИГЛА — тунгалаг болгодог тул доорх хөзөр дундуур нь
   харагдаж, хоёр хөзөр давхарласан харагдана. Бүдгэрүүлэхдээ ЗӨВХӨН filter (хөзөр
   дүүрэн бүрхүүлтэй хэвээр). Баганын ДЭЭД хөзөр бүрэн өнгөтэй үлдэнэ. */
.battle.sleeping .chain-card {
  filter: grayscale(.55) brightness(.86); box-shadow: none;
  transition: filter .38s;
}
.battle.sleeping .chain-card.top { filter: none; } /* унтах үед ч дээд хөзөр тод хэвээр */
/* Олон хос — шатлан жижигрүүлнэ */
.battle[data-count="6"], .battle[data-count="7"] { --chain-w: 44px; --chain-h: 62px; --chain-fs: 11px; }
.battle[data-count="8"], .battle[data-count="9"] { --chain-w: 38px; --chain-h: 53px; --chain-fs: 10px; }
.battle[data-count="10"], .battle[data-count="11"], .battle[data-count="12"] { --chain-w: 34px; --chain-h: 48px; --chain-fs: 9px; }

/* Овоо (тойрогт хуримтлагдсан хөзөр) — тоо заагч */
.pile-tag {
  position: absolute; left: 50%; top: 76%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; z-index: 5; pointer-events: none;
  padding: 2px 10px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
}
.pile-tag .pile-n { font-family: "Noto Serif", serif; font-size: 12px; font-weight: 800; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

/* ==================== Тоглогчид (pods = лавлагааны .opp) ====================
   Дурак 2–8 хүнтэй тул суудал нь ширээг тойрсон % байрлалтай (ref-д зөвхөн top/left/right). */
.pods { position: absolute; inset: 0; z-index: 4; transform: translateY(10px); }
.pod {
  position: absolute; transform: translate(-50%, -50%); width: 86px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.pod.me { transform: translate(-50%, calc(-50% + 12px)); }
.pod-ava { position: relative; display: inline-flex; }
.pod .ava {
  width: 46px; height: 46px; font-size: 18px;
  border: 0; box-shadow: none;
}
.pod.turn .ava { border: 0; box-shadow: none; }
.pod.off { opacity: .85; }
.pod.off .ava { filter: grayscale(1) brightness(.65); }
.pod.kicked { opacity: .5; filter: grayscale(1); }
.pod .opp-name { display: flex; align-items: center; gap: 5px; max-width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .2px; }
.pod .pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.85); }
/* Хөзрийн тоо — ар талын жижиг фэн (ref .opp-fan/.mini-back) */
.pod .opp-fan {
  display: flex; justify-content: center; padding: 3px;
  border: 2px solid transparent; border-radius: 8px;
  transition: box-shadow .25s, border-color .25s;
}
.pod.turn .opp-fan { border-color: var(--gold); box-shadow: 0 0 16px rgba(212,175,55,.5); }
.pod .pinfo {
  font-family: "Noto Serif", serif; font-size: 11px; font-weight: 800; color: var(--gold-hi);
  background: var(--panel); border: 1px solid var(--line);
  padding: 1px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pod.off .pinfo, .pod.kicked .pinfo { color: var(--danger); border-color: rgba(255,138,148,.35); }
.pod .pinfo .donkey { font-size: 10px; opacity: .8; }
/* Ээлжийн шошго — алтан градиент pill (ref .ctrl-btn.primary өнгө) */
.pod .role-badge {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #2a210a;
}
.pod.team0 .role-badge {
  color: #fff; background: #d92f3d; border: 1px solid #ff7380;
}
.pod.team1 .role-badge {
  color: #fff; background: #0b0d0c; border: 1px solid rgba(255,255,255,.42);
}
.pod.team0 .seat-timer .ring-bg { stroke: rgba(255,63,79,.24); }
.pod.team0 .seat-timer .ring-fg { stroke: #ff3f4f; }
.pod.team1 .seat-timer svg { filter: drop-shadow(0 0 1px rgba(255,255,255,.85)); }
.pod.team1 .seat-timer .ring-bg { stroke: rgba(220,228,223,.38); }
.pod.team1 .seat-timer .ring-fg { stroke: #050605; }
.pod .act-flash {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%) scale(.85);
  background: var(--panel-2); border: 1px solid var(--gold-deep); color: var(--gold-hi);
  font-family: "Noto Serif", serif; font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s; z-index: 5;
}
.pod .act-flash.show { opacity: 1; transform: translateX(-50%) scale(1); }
.pod.won-trick .ava { animation: trickWin .9s ease-out; }
@keyframes trickWin {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,.85), 0 3px 10px rgba(0,0,0,.55); }
  100% { box-shadow: 0 0 0 14px rgba(212,175,55,0), 0 3px 10px rgba(0,0,0,.55); }
}
@media (prefers-reduced-motion: reduce) { .pod.won-trick .ava { animation: none; } }
.pod.me { cursor: pointer; }
/* 6–8 суудал — давхцлыг багасгах шахалт */
.pods.many .pod { width: 68px; gap: 2px; }
.pods.many .pod .ava { width: 34px; height: 34px; font-size: 14px; }
.pods.many .pod .opp-name { font-size: 9.5px; }
.pods.many .pod .mini-back { width: 13px; height: 18px; margin-left: -8px; }
.pods.many .pod .pinfo { font-size: 9.5px; padding: 0 7px; }
.pods.many .pod .role-badge { top: -6px; font-size: 9px; padding: 1px 6px; }
.pods.eight .pod { width: 62px; }
.pods.eight .pod .ava { width: 30px; height: 30px; font-size: 12px; }
.pods.eight .pod .opp-name { font-size: 8.5px; }
.pods.eight .pod .mini-back { width: 12px; height: 17px; margin-left: -7px; }
.pods.eight .pod .role-badge { top: -5px; font-size: 8px; padding: 1px 5px; }

/* ==================== Миний гар (ЛАВЛАГААНЫ фэн — margin-left-ээр, JS layoutHand) ==================== */
.hand-area {
  flex: none; margin-top: 8px;
  padding: 0 calc(env(safe-area-inset-right)) 0 calc(env(safe-area-inset-left));
}
.hand { display: flex; justify-content: center; align-items: flex-end; height: 122px; padding: 40px 6px 0; }
.hand .card {
  width: 52px; height: 74px; font-size: 13px;
  flex: 0 0 auto;                 /* margin-left-ийг карт бүрт JS-ийн layoutHand() тавина */
  position: relative; z-index: 1; /* сонгоогүй хөзөр УРД талд */
  cursor: pointer;
  touch-action: none;             /* чирэх үед хуудас гүйлгэхээс сэргийлнэ */
  transition: transform .14s cubic-bezier(.2,.8,.2,1), box-shadow .14s, border-color .14s;
}
/* сонгосон хөзөр фэнийн АРААС дээш гарна (z-index:0 — хөршөө хэзээ ч халхлахгүй) */
.hand .card.sel {
  transform: translateY(-34px);
  z-index: 0;
  border-color: var(--gold);
  box-shadow: 0 -3px 12px rgba(212,175,55,.55);
}
/* Хууль ёсны хөзрийг ГЭРЭЛТҮҮЛЭХГҮЙ — тоглож БОЛОХГҮЙг нь БҮДГЭРҮҮЛНЭ (хэрэглэгчийн тогтсон дүрэм).
   Алтан хүрээ/glow нь зөвхөн .sel-д хамаарна: боломжгүй хөзөр цагирагтай үлдвэл affordance урвуу болно. */
.hand .card.illegal {
  cursor: not-allowed;
  opacity: .42; filter: grayscale(.6) brightness(.82);
  border-color: transparent; box-shadow: none;
}
@media (prefers-reduced-motion: reduce) { .hand .card { transition: none; } }
/* Дарах хөзрийг тулаан руу чирэх — фэнээс салгалгүй (эгнээ үсрэхгүй), transform-оор хуруу дагана */
.hand .card.dragging {
  z-index: 999; pointer-events: none; touch-action: none;
  transform: translate(calc(var(--drag-x, 0px) - var(--org-x, 0px)), calc(var(--drag-y, 0px) - var(--org-y, 0px))) scale(1.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.55); border-color: var(--gold);
}

/* Удирдлага */
.controls { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; min-height: 50px; }
.controls .turn-hint {
  flex-basis: 100%; width: 100%; text-align: center; align-self: center;
  font-family: "Noto Serif", serif; font-size: 14px; font-weight: 800; color: var(--text);
}
.controls .turn-hint.warn { color: var(--danger); }

/* ==================== Багийн өнгө (казиногийн жетон: алт ↔ cream-мөнгө) ==================== */
:root { --team0: #d4af37; --team1: #cfd8d3; }
.pod.team0 .ava, .pod.team1 .ava { border: 0; box-shadow: none; }
.pod.team0 .pinfo { color: var(--team0); }
.pod.team1 .pinfo { color: var(--team1); }
b.team0, .team0 { color: var(--team0); }
b.team1, .team1 { color: var(--team1); }

/* ==================== Хүлээлгийн өрөө (ref .overlay-card + .lobby-row) ==================== */
#waiting { align-items: center; justify-content: flex-start; overflow-y: auto; }
#waiting .overlay-card { max-height: none; margin: auto 0; }
.players-list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; text-align: left; }
.seat {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06);
  border-radius: 11px; padding: 8px 13px;
}
.seat.me { border-color: var(--line); }
.seat .ava { width: 34px; height: 34px; font-size: 14px; border: 1px solid var(--gold-deep); }
.seat.me .ava { border-color: var(--gold); }
.s-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-name { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-you { flex: none; font-size: 9px; font-weight: 800; color: var(--gold); letter-spacing: .5px; text-transform: uppercase; }
.s-role { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-dim); }
.s-role.host { color: var(--gold); }
.s-role .ic, .s-role .ic-sm { width: 12px; height: 12px; flex: none; }
.st { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .3px; }
.st .ic-sm { width: 11px; height: 11px; }
.st.ready { background: rgba(127,227,166,.18); color: var(--good); }
.st.wait { background: rgba(255,255,255,.08); color: var(--text-dim); }
.st.off { background: rgba(179,32,46,.28); color: #ffc4c9; }
.st.wait .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: seatDot 2.4s ease-in-out infinite; }
@keyframes seatDot { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .st.wait .dot { animation: none; opacity: .6; } }
.seat.off { opacity: .5; }
.seat.off .ava { filter: grayscale(1); }
/* Хоосон суудал = товшиж СУУХ товч */
.seat.empty {
  width: 100%; min-height: 48px; cursor: pointer; text-align: left; font-family: inherit;
  background: rgba(0,0,0,.28); border: 1px dashed var(--line);
}
.seat.empty:active { background: rgba(0,0,0,.42); }
.seat.empty .s-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text-dim); }
.seat-hole {
  width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px dashed var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--gold-deep);
}
.sit-chip { flex: none; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text-dim); }

/* Бот нэмэх */
.seat-add { width: 100%; justify-content: center; margin-bottom: 12px; }
.seat-add .sa-hole {
  width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
}
.seat-add .sa-hole .ic { width: 14px; height: 14px; }

/* Горим сонгогч (ref .count-row / .count-btn) */
.mode-opt { flex: 1 1 0; }

/* Багийн горим — 2 багана (тоглоомд багууд СОЛЖИН суудаг тул 2-тал ширээ дүрслэхгүй) */
.players-list.team-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.team-col { display: flex; flex-direction: column; gap: 6px; }
.team-col-head { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-align: center; }
.team-col.team0 .team-col-head { color: var(--team0); }
.team-col.team1 .team-col-head { color: var(--team1); }
.team-cols .seat { min-height: 44px; padding: 6px 8px; gap: 7px; }
.team-cols .seat .ava, .team-cols .seat-hole { width: 28px; height: 28px; font-size: 12px; }
.team-cols .s-name { font-size: 12px; }
.team-cols .s-role, .team-cols .s-you { display: none; }
.team-cols .st { padding: 3px 6px; font-size: 0; gap: 0; }
.team-cols .st .ic-sm { width: 11px; height: 11px; }
.team-cols .st.off::before { content: '✕'; font-size: 10px; }
.team-cols .seat.empty .s-name { font-size: 11px; }
.team-cols .sit-chip { font-size: 9px; padding: 2px 6px; }

/* Үйлдлийн мөр — 8 суудалтай жагсаалт урт тул картын доод ирмэгт наалдана (доод -26px = картын padding) */
.wait-actions {
  position: sticky; bottom: -26px; z-index: 5;
  display: flex; flex-direction: column; gap: 9px;
  padding: 10px 0 26px; margin-bottom: -26px;
  background: linear-gradient(to top, var(--felt-lo) 62%, rgba(0,0,0,0));
}

/* ==================== Үр дүн ==================== */
#result { align-items: center; justify-content: center; overflow-y: auto; }
#result .overlay-card { margin: auto 0; }
#resultBody { margin-top: 4px; }

/* ==================== Богино дэлгэц ==================== */
@media (max-height: 640px) {
  .hand { height: 108px; padding-top: 34px; }
  .battle { --chain-w: 46px; --chain-h: 65px; --chain-fs: 12px; }
}

/* ── Хөзөр ХҮРЭЭГҮЙ (хэрэглэгчийн хүсэлт): өнгөт хүрээ, алтан хүрээ, гэрэл байхгүй — зөвхөн сүүдэр ── */
.card, .card.joker, .hand .card.sel, .hand .card.dragging, .battle .chain-card.target { border-color: transparent !important; }
.hand .card.sel { box-shadow: 0 8px 16px rgba(0,0,0,.45) !important; }
.battle .chain-card.target, .battle .chain-card.target.drag-over { box-shadow: 0 3px 8px rgba(0,0,0,.45) !important; }
/* чирж буй мод аль бай дээр байгааг гэрлээр биш, томруулж харуулна */
.battle .chain-card.target.drag-over { transform: translate(calc(-50% + var(--cx, 0px)), calc(-50% + var(--cy, 0px))) scale(1.1); }
