/* ===================== Bộ màu & chữ dùng chung (đợt 2) ===================== */
:root {
  --c-bg: #060a1c;                      /* nền */
  --c-surface: rgba(17, 24, 51, .72);   /* khung, thẻ */
  --c-surface-2: rgba(26, 35, 72, .9);  /* cửa sổ, menu */
  --c-line: rgba(148, 163, 255, .13);   /* viền */
  --c-text: #e5e9f5; --c-muted: #94a0bd;
  --c-accent: #6366f1; --c-gold: #fbbf24; --c-gem: #67e8f9; --c-danger: #f43f5e; --c-ok: #10b981;
  --r-panel: 1.1rem; --r-card: 1.5rem;
  --shadow-card: 0 24px 60px -12px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .06);
}
html, body { background: var(--c-bg); }
body {
  color: var(--c-text);
  font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 15% 8%, rgba(99,102,241,.2), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(245,158,11,.12), transparent 42%);
  background-attachment: fixed;
}
/* chữ: tiêu đề đậm hơi khít, số luôn thẳng cột */
.font-black { letter-spacing: -.01em; }
.tabular-nums, b, kbd { font-variant-numeric: tabular-nums; }
button { font-family: inherit; }
/* điện thoại: chữ quá nhỏ (10–11px) tăng 1px cho dễ đọc */
@media (max-width: 639.98px) {
  .text-\[10px\] { font-size: 11px !important; }
  .text-\[11px\] { font-size: 12px !important; }
}
/* khung chính */
.panel.panel { background: linear-gradient(180deg, rgba(30, 40, 82, .55), var(--c-surface)); border-color: var(--c-line); border-radius: var(--r-panel); }

/* ===================== Cửa sổ ===================== */
.modal > .modal-card { background: linear-gradient(180deg, rgba(32, 42, 86, .97), rgba(15, 21, 46, .97)); box-shadow: var(--shadow-card); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.modal.flex > .modal-card { animation: cardIn .2s ease-out both; }
/* điện thoại: cửa sổ trượt lên từ đáy, có thanh nắm — kéo xuống / chạm nền tối để đóng */
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 639.98px) {
  body .modal { align-items: flex-end; padding: 0; }
  .modal > .modal-card { width: 100%; max-width: none; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
                         border-radius: var(--r-card) var(--r-card) 0 0; border-bottom-width: 0;
                         padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  .modal.flex > .modal-card { animation: sheetUp .28s cubic-bezier(.2, .9, .3, 1) both; }
  .modal > .modal-card::before { content: ''; display: block; width: 42px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.22); margin: -6px auto 12px; }
}
.no-select { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.touch-none-all, .touch-none-all * { touch-action: none; }
.pad-arrow { transition: background .08s, transform .08s, box-shadow .08s; }
.pad-arrow.pad-on { background: rgba(99,102,241,.55); transform: scale(.94); box-shadow: 0 0 18px rgba(99,102,241,.6); }
#bombBtn.pressed { transform: scale(.92); filter: brightness(1.25); }
/* thông báo 1 dòng: giữa phía trên, cái mới đè lên cái cũ (cùng 1 ô lưới) */
.toast-box { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); top: 4.25rem; width: min(92vw, 520px); display: grid; justify-items: center; }
.toast-line { grid-area: 1 / 1; max-width: 100%; text-align: center; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }   /* hiện đủ chữ (xuống dòng khi dài) */
.toast-line.long { border-radius: 18px !important; }
@media (max-width: 639.98px) { .toast-line { white-space: normal; font-size: .8rem; padding: .4rem .9rem; } }
body.play-mode .toast-box { top: 3.25rem; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px) scale(.97); } }
@keyframes toastBump { 40% { transform: scale(1.06); } }
.toast-bump { animation: toastBump .25s ease-out; }
.toast-in { animation: toastIn .22s ease-out both; }
.toast-out { animation: toastOut .25s ease-in both; }
@keyframes boxShake {
  0%,100% { transform: rotate(0) scale(1); }
  20% { transform: rotate(-12deg) scale(1.05); }
  40% { transform: rotate(10deg) scale(1.1); }
  60% { transform: rotate(-8deg) scale(1.15); }
  80% { transform: rotate(6deg) scale(1.2); }
}
.box-shake { animation: boxShake .45s ease-in-out infinite; }
@keyframes glowCycle {
  0% { box-shadow: 0 0 40px #94a3b8; } 25% { box-shadow: 0 0 50px #22c55e; }
  50% { box-shadow: 0 0 60px #38bdf8; } 75% { box-shadow: 0 0 70px #a855f7; } 100% { box-shadow: 0 0 80px #f59e0b; }
}
.glow-cycle { animation: glowCycle 1.3s linear infinite; }
@keyframes popIn { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
.pop-in { animation: popIn .4s cubic-bezier(.2,.9,.3,1.2) both; }
.scroll-thin::-webkit-scrollbar { width: 6px; }
.scroll-thin::-webkit-scrollbar-thumb { background: #334155; border-radius: 9px; }
#hPoolBox.pool-empty { background: rgba(244,63,94,.12); border-color: rgba(251,113,133,.4); }
#hPoolBox.pool-empty b { color: #fda4af; }
/* điện thoại: chạm 2 lần vào nút không phóng to trang, không chọn chữ khi giữ */
button:not(.touch-none-all) { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; }

/* chữ chạy chúc mừng */
#ticker { box-shadow: inset 0 0 18px rgba(251,191,36,.25); }
#tickerText .tk-hero { font-weight: 900; text-shadow: 0 0 10px currentColor; }

/* đồng vàng (thay biểu tượng 🪙 — trên iPhone/Mac 🪙 hiện thành đồng bạc): xoay lật 3D */
.coin { display: inline-block; position: relative; width: 1em; height: 1em; vertical-align: -0.16em; margin: 0 .04em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fffbe0 0 9%, #fde047 10% 42%, #f59e0b 72%, #b45309 100%);
  box-shadow: inset 0 0 0 .07em #92400e, inset 0 0 0 .13em #fcd34d, 0 0 .3em rgba(251,191,36,.45);
  animation: coinSpin 2.8s linear infinite; }
.coin::after { content: '★'; position: absolute; inset: 0; display: grid; place-items: center; font-size: .56em; line-height: 1;
  color: #b45309; text-shadow: 0 .04em 0 #fff3b0; font-family: ui-sans-serif, system-ui, sans-serif; }
@keyframes coinSpin { 0% { transform: scaleX(1); } 25% { transform: scaleX(.12); filter: brightness(1.25); }
  50% { transform: scaleX(-1); filter: brightness(.85); } 75% { transform: scaleX(-.12); } 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .coin { animation: none; } }

/* ===================== Bố cục mới (đợt 1) ===================== */
.cur-chip { display: flex; align-items: center; gap: .35rem; border-radius: .75rem; background: rgba(255,255,255,.05); border-width: 1px; padding: .25rem .55rem; font-size: .875rem; white-space: nowrap; }
.hd-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; border-radius: .75rem; padding: 0 .55rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .1s, background .15s; }
.hd-btn:hover { background: rgba(255,255,255,.1); } .hd-btn:active { transform: scale(.95); }
.menu-row { display: block; width: 100%; text-align: left; border-radius: .75rem; padding: .65rem .75rem; font-size: .875rem; font-weight: 700; color: #e2e8f0; }
.menu-row:hover { background: rgba(255,255,255,.06); }
.menu-row.hidden { display: none; }

/* HUD 1 hàng, cuộn ngang nếu thiếu chỗ */
.hud-row { display: flex; align-items: center; gap: .375rem; overflow-x: auto; scrollbar-width: none; }
.hud-row::-webkit-scrollbar { display: none; }
.hud-chip { flex: none; display: flex; align-items: center; gap: .3rem; white-space: nowrap; border-radius: .5rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: .25rem .55rem; }
.pool-bar { display: inline-block; width: 46px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.1); overflow: hidden; }
.pool-bar i { display: block; height: 100%; width: 100%; border-radius: 9px; background: linear-gradient(90deg,#10b981,#6ee7b7); transition: width .4s; }
#hPoolBox.pool-empty .pool-bar i { background: #fb7185; }

/* Thanh chế độ */
.mode-nav { display: flex; gap: .375rem; }
.nav-btn { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: .4rem; border-radius: .75rem; font-weight: 700; line-height: 1.1; text-align: center; transition: background .15s, color .15s; }
.nav-btn.hidden { display: none; }
.nav-ico { font-size: 1.15rem; line-height: 1; }
.nav-dot { position: absolute; top: .3rem; right: .4rem; width: .6rem; height: .6rem; border-radius: 9px; background: #f43f5e; }
.nav-btn.sheet-on { background: #6366f1; color: #fff; }
@media (min-width: 1024px) {
  .mode-nav { margin-bottom: .75rem; padding: .375rem; border-radius: 1rem; background: rgba(2,6,23,.6); border: 1px solid rgba(255,255,255,.1); }
  .nav-btn { padding: .6rem .5rem; font-size: .9rem; border: 1px solid rgba(255,255,255,.08); }
}
/* điện thoại / máy tính bảng: thanh điều hướng cố định ở đáy */
@media (max-width: 1023.98px) {
  .mode-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom)); gap: .25rem;
              background: rgba(2,6,23,.94); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav-btn { flex-direction: column; gap: .2rem; padding: .35rem .15rem; font-size: .68rem; min-height: 52px; }
  .nav-ico { font-size: 1.3rem; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  /* trang Hero: ngăn toàn màn hình phía trên thanh đáy */
  #sideBar { display: none; }
  #sideBar.sheet-open { display: block; position: fixed; left: 0; right: 0; top: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 35;
                        overflow-y: auto; padding: 1rem .75rem 1.5rem; background: #020617; }
  #sideBar.sheet-open > section { max-width: 40rem; margin-left: auto; margin-right: auto; }
  #sideBar.sheet-open #heroList { max-height: none; }
}

/* chơi toàn màn hình trên điện thoại (Phiêu lưu / Phó bản / Xếp hạng) */
/* màn chờ lúc mở game */
#bootLoader { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: radial-gradient(circle at 50% 40%, #1e1b4b 0%, #020617 70%); transition: opacity .35s ease; }
#bootLoader.gone { opacity: 0; pointer-events: none; }
#bootLoader .bl-logo { font-size: 56px; animation: blBob 1.2s ease-in-out infinite; filter: drop-shadow(0 8px 24px rgba(251,146,60,.45)); }
#bootLoader .bl-name { font-weight: 900; font-size: 20px; color: #fff; letter-spacing: .02em; }
#bootLoader .bl-bar { width: 160px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
#bootLoader .bl-bar i { display: block; width: 40%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f59e0b, #f43f5e); animation: blRun 1.1s ease-in-out infinite; }
#bootLoader .bl-text { font-size: 12px; color: #94a3b8; }
@keyframes blBob { 50% { transform: translateY(-8px) rotate(-6deg); } }
@keyframes blRun { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { #bootLoader .bl-logo, #bootLoader .bl-bar i { animation: none; } }
.play-peek { display: none; }
/* 📡 mất kết nối: huy hiệu nổi giữa trên cùng */
.net-badge { position: fixed; top: calc(.5rem + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 90; pointer-events: none;
  padding: .35rem .8rem; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff7ed; background: rgba(154,52,18,.92); border: 1px solid rgba(251,146,60,.6);
  box-shadow: 0 6px 20px rgba(0,0,0,.45); max-width: calc(100vw - 2rem); text-align: center; animation: netPulse 1.6s ease-in-out infinite; }
@keyframes netPulse { 50% { opacity: .75; } }
/* iPhone (tai thỏ / Dynamic Island) khi chạy như app: chừa vùng an toàn */
#topBar { padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
@media (max-width: 1023.98px) {
  body.play-mode:not(.chrome-peek) #topBar, body.play-mode:not(.chrome-peek) .mode-nav, body.play-mode footer { display: none; }
  body.play-mode:not(.chrome-peek) { padding-bottom: 0; }
  body.play-mode main { padding-top: .5rem; }
  body.play-mode .play-peek { display: grid; place-items: center; position: fixed; top: calc(.5rem + env(safe-area-inset-top)); right: calc(.5rem + env(safe-area-inset-right)); z-index: 45; width: 2.25rem; height: 2.25rem;
                              border-radius: .75rem; background: rgba(15,23,42,.85); border: 1px solid rgba(255,255,255,.15); font-weight: 900; }
  body.play-mode.chrome-peek .play-peek { top: auto; bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1023.98px) { body.play-mode #hudAdv, body.play-mode #hudCoop { padding-right: 2.75rem; } }
body.hero-sheet .mode-tab, body.hero-sheet #btnCoop, body.hero-sheet #btnPvp { background: transparent !important; color: #94a3b8 !important; box-shadow: none !important; }

/* ===================== Chuyển cảnh (đợt 3) ===================== */
@keyframes fxSwap { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.fx-swap { animation: fxSwap .34s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023.98px) { #sideBar.sheet-open { animation: sheetIn .28s cubic-bezier(.2, .9, .3, 1) both; } }

/* màn giới thiệu khi vào trận */
.mi { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.mi-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15,23,42,.82), rgba(2,6,23,.97)); animation: miFade .3s ease-out both; }
.mi-band { position: absolute; top: 27%; height: 46%; width: 75%; transform-origin: center; filter: drop-shadow(0 0 30px rgba(0,0,0,.6)); }
.mi-band.l { right: 50%; animation: miBandL .45s cubic-bezier(.2, .9, .3, 1) both; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.mi-band.r { left: 50%; animation: miBandR .45s cubic-bezier(.2, .9, .3, 1) both; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.mi-body { position: relative; width: min(94vw, 760px); text-align: center; }
.mi-chip { display: inline-block; padding: .25rem .8rem; border-radius: 99px; font-size: .75rem; font-weight: 900; letter-spacing: .12em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); animation: miPop .35s .05s cubic-bezier(.2, .9, .3, 1.3) both; }
.mi-title { margin-top: .4rem; font-size: clamp(1.8rem, 6vw, 3.2rem); font-weight: 900; letter-spacing: .02em; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.7), 0 0 24px var(--mi-glow, #6366f1); animation: miDrop .45s .1s cubic-bezier(.2, .9, .3, 1.2) both; }
.mi-sub { margin-top: .15rem; font-size: .9rem; font-weight: 700; color: #cbd5e1; animation: miFade .4s .3s both; }
.mi-teams { margin-top: 1.1rem; display: flex; align-items: center; justify-content: center; gap: clamp(.4rem, 2vw, 1.2rem); }
.mi-side { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 42%; }
.mi-side.solo { max-width: 100%; }
.mi-card { width: clamp(70px, 17vw, 104px); border-radius: 1rem; padding: .45rem .3rem .5rem; background: linear-gradient(180deg, rgba(30,41,82,.95), rgba(15,23,42,.95)); border: 2px solid var(--mi-c, rgba(255,255,255,.2)); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 18px var(--mi-c, transparent); }
.mi-side.left .mi-card { animation: miInL .42s cubic-bezier(.2, .9, .3, 1.15) both; }
.mi-side.right .mi-card { animation: miInR .42s cubic-bezier(.2, .9, .3, 1.15) both; }
.mi-side.solo .mi-card { animation: miPop .42s cubic-bezier(.2, .9, .3, 1.3) both; }
.mi-card img { width: 100%; aspect-ratio: 1; }
.mi-card .nm { font-size: .72rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-card .me { font-size: .6rem; font-weight: 900; color: #fde047; letter-spacing: .08em; }
.mi-vs { font-size: clamp(2rem, 8vw, 3.6rem); font-weight: 900; font-style: italic; color: #fde047; text-shadow: 0 0 24px rgba(253,224,71,.7), 0 4px 0 #b45309; animation: miSlam .5s .55s cubic-bezier(.2, .9, .3, 1.4) both; }
.mi-go { margin-top: 1.1rem; font-size: clamp(1.2rem, 4vw, 1.8rem); font-weight: 900; color: #fff; letter-spacing: .1em; opacity: 0; animation: miPop .35s var(--mi-go, 1.3s) cubic-bezier(.2, .9, .3, 1.5) both; }
.mi.out { animation: miOut .4s ease-in both; }
@keyframes miFade { from { opacity: 0; } }
@keyframes miBandL { from { transform: translateX(-120%) skewX(-12deg); } to { transform: skewX(-12deg); } }
@keyframes miBandR { from { transform: translateX(120%) skewX(-12deg); } to { transform: skewX(-12deg); } }
@keyframes miPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes miDrop { from { opacity: 0; transform: translateY(-30px) scale(1.4); } to { opacity: 1; transform: none; } }
@keyframes miInL { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes miInR { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes miSlam { from { opacity: 0; transform: scale(3.2) rotate(-8deg); } 70% { transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes miOut { to { opacity: 0; transform: scale(1.08); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { .mi *, .mi, .fx-swap { animation-duration: .01s !important; animation-delay: 0s !important; } }
/* âm lượng trong menu ☰ */
.vol-row { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem; }
.vol-btn { width: 2rem; height: 2rem; flex: none; border-radius: .6rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.vol-lbl { width: 4.2rem; flex: none; font-size: .78rem; font-weight: 700; color: #cbd5e1; }
.vol-range { flex: 1; min-width: 0; accent-color: #818cf8; }

/* ===================== BẢNG KẾT QUẢ (thắng / thua / qua màn / chào mừng trở lại) ===================== */
/* tông màu theo kết quả */
.rs-win   { --rs: #fbbf24; --rs2: #f97316; --rs3: #fff7d6; }
.rs-lose  { --rs: #fb7185; --rs2: #be123c; --rs3: #ffe4e6; }
.rs-draw  { --rs: #a5b4fc; --rs2: #475569; --rs3: #eef2ff; }
.rs-clear { --rs: #c4b5fd; --rs2: #7c3aed; --rs3: #f5f3ff; }
.rs-info  { --rs: #7dd3fc; --rs2: #0284c7; --rs3: #f0f9ff; }
.modal > .modal-card.rs-card {
  position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 1.4rem 1.25rem 1.25rem;
  border: 1.5px solid color-mix(in srgb, var(--rs) 55%, transparent);
  background:
    radial-gradient(120% 60% at 50% -8%, color-mix(in srgb, var(--rs) 30%, transparent), transparent 62%),
    radial-gradient(80% 50% at 50% 115%, color-mix(in srgb, var(--rs2) 22%, transparent), transparent 70%),
    linear-gradient(180deg, #1c2554 0%, #0d1330 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 80px -20px rgba(0,0,0,.85), 0 0 70px -12px color-mix(in srgb, var(--rs) 55%, transparent);
}
/* điện thoại: bảng kết quả hiện giữa màn hình (không phải tấm trượt đáy) */
@media (max-width: 639.98px) {
  body .modal.rs-modal { align-items: center; padding: 1rem; }
  .modal.rs-modal > .modal-card.rs-card { width: 100%; max-width: 26rem; border-radius: 28px; border-bottom-width: 1.5px; padding-bottom: 1.25rem; }
  .modal.rs-modal > .modal-card.rs-card::before { display: none; }
}
.modal.rs-modal.flex > .modal-card.rs-card { animation: rsIn .45s cubic-bezier(.2, .9, .3, 1.25) both; }
@keyframes rsIn { from { opacity: 0; transform: translateY(24px) scale(.88); } to { opacity: 1; transform: none; } }

/* huy hiệu: tia sáng xoay + đồng tiền tròn bóng + sao lấp lánh */
.rs-emblem { position: relative; width: 112px; height: 112px; margin: -.2rem auto .2rem; display: grid; place-items: center; }
.rs-rays { position: absolute; inset: -46px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rs) 42%, transparent) 0 7deg, transparent 7deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%);
  animation: rsSpin 14s linear infinite; }
.rs-lose .rs-rays { animation: none; opacity: .35; filter: saturate(.5); }
@keyframes rsSpin { to { transform: rotate(360deg); } }
.rs-medal { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, var(--rs3), var(--rs) 46%, var(--rs2) 100%);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), inset 0 -8px 16px rgba(0,0,0,.28), 0 0 0 5px color-mix(in srgb, var(--rs2) 70%, #000), 0 10px 30px -6px color-mix(in srgb, var(--rs) 80%, transparent);
  animation: rsMedal .7s .1s cubic-bezier(.2, .9, .3, 1.4) both; }
.rs-medal::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); }
.rs-medal span { position: relative; z-index: 1; font-size: 46px; line-height: 1; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
.rs-lose .rs-medal { animation: rsMedal .7s .1s cubic-bezier(.2, .9, .3, 1.4) both, rsShake .5s .8s both; filter: saturate(.85); }
@keyframes rsMedal { from { opacity: 0; transform: scale(.2) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes rsShake { 20%, 60% { transform: translateX(-6px) rotate(-4deg); } 40%, 80% { transform: translateX(6px) rotate(4deg); } }
.rs-spark { position: absolute; width: 10px; height: 10px; color: var(--rs3); font-style: normal; font-size: 13px; line-height: 10px; animation: rsTw 1.6s ease-in-out infinite; }
@keyframes rsTw { 0%, 100% { opacity: .15; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.2); } }
.rs-lose .rs-spark { display: none; }

.rs-title { font-size: clamp(1.7rem, 7vw, 2.1rem); font-weight: 900; letter-spacing: .02em; line-height: 1.45; padding-top: .12em; margin-top: 0;   /* chừa chỗ cho dấu tiếng Việt (Ế, Ắ…) không bị cắt */
  background: linear-gradient(180deg, #fff 18%, var(--rs) 70%, var(--rs2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); animation: rsDrop .5s .25s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes rsDrop { from { opacity: 0; transform: translateY(-14px) scale(1.15); } to { opacity: 1; transform: none; } }
.rs-sub { margin-top: .35rem; font-size: .85rem; color: #cbd5e1; animation: rsFade .4s .4s both; }
.rs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: .55rem; animation: rsFade .4s .45s both; }
.rs-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 99px; font-size: .75rem; font-weight: 800;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #e2e8f0; }
.rs-chip.hot { background: color-mix(in srgb, var(--rs) 22%, transparent); border-color: color-mix(in srgb, var(--rs) 60%, transparent); color: var(--rs3); }
@keyframes rsFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ô số liệu */
.rs-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
.rs-stat { border-radius: 16px; padding: .6rem .3rem; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09);
  animation: rsFade .4s both; }
.rs-stat i { display: block; font-style: normal; font-size: 1.15rem; line-height: 1.2; }
.rs-stat small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; margin-top: .1rem; }
.rs-stat b { display: block; font-size: 1.25rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.rs-stat.gold b { color: #fde047; } .rs-stat.best b { color: var(--rs); }

/* phần thưởng lớn có vệt sáng lướt qua */
.rs-reward { position: relative; overflow: hidden; margin-top: 1rem; border-radius: 18px; padding: .75rem; font-size: 2rem; font-weight: 900; color: #fde047;
  background: linear-gradient(180deg, rgba(250,204,21,.16), rgba(250,204,21,.04)); border: 1px solid rgba(250,204,21,.35); font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 0 18px rgba(250,204,21,.45); animation: rsFade .45s .5s both; }
.rs-reward::after, .rs-btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); animation: rsShine 2.6s 1s ease-in-out infinite; }
@keyframes rsShine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
.rs-reward small { display: block; font-size: .7rem; font-weight: 700; color: #fef3c7; letter-spacing: .05em; text-shadow: none; }

/* người chơi (Phó bản / Xếp hạng) */
.rs-rows { display: flex; flex-direction: column; gap: .45rem; margin-top: .9rem; }
.rs-row { display: flex; align-items: center; gap: .6rem; text-align: left; border-radius: 16px; padding: .5rem .65rem;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); animation: rsFade .4s both; }
.rs-row.me { background: color-mix(in srgb, var(--rs) 13%, transparent); border-color: color-mix(in srgb, var(--rs) 45%, transparent); }
.rs-ava { width: 42px; height: 42px; flex: none; border-radius: 12px; background: #0b1129; border: 2px solid var(--c, #64748b); box-shadow: 0 0 12px -2px var(--c, transparent); }
.rs-name { font-weight: 800; color: #fff; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-mini { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .15rem; }
.rs-mini span { font-size: .66rem; font-weight: 700; color: #cbd5e1; background: rgba(255,255,255,.06); border-radius: 99px; padding: .05rem .45rem; }
.rs-mini .tt { color: #fde68a; background: rgba(250,204,21,.12); }
.rs-gain { margin-left: auto; text-align: right; font-weight: 900; color: #fde047; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* nút */
.rs-btns { display: grid; gap: .5rem; margin-top: 1.1rem; }
.rs-btns.two { grid-template-columns: 1fr 1fr; }
.rs-btn { position: relative; overflow: hidden; border-radius: 16px; padding: .85rem .5rem; font-weight: 900; font-size: 1rem; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rs) 85%, #fff 15%), var(--rs2)); text-shadow: 0 1px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.25), 0 10px 24px -8px color-mix(in srgb, var(--rs2) 80%, transparent);
  transition: transform .1s, filter .15s; }
.rs-btn:hover { filter: brightness(1.08); } .rs-btn:active { transform: translateY(2px) scale(.98); }
.rs-btn:disabled { opacity: .5; }
.rs-btn2 { border-radius: 16px; padding: .8rem .5rem; font-weight: 800; color: #e2e8f0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .15s, transform .1s; }
.rs-btn2:hover { background: rgba(255,255,255,.1); } .rs-btn2:active { transform: scale(.98); }
.rs-btn kbd, .rs-btn2 kbd { font: inherit; font-size: .7rem; opacity: .7; }

/* pháo giấy khi thắng */
.rs-confetti { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; pointer-events: none; z-index: 0; animation: rsFall var(--d, 2.6s) var(--dl, 0s) cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes rsFall { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx, 0), 520px) rotate(var(--rot, 540deg)); opacity: 0; } }
.rs-card > *:not(.rs-confetti) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .rs-rays, .rs-confetti, .rs-reward::after, .rs-btn::after { animation: none !important; } }
.rs-stat.sm b { font-size: .95rem; line-height: 1.75rem; white-space: nowrap; }

/* ===================== Đội săn kho báu (gọn) ===================== */
.team-filter { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.team-filter::-webkit-scrollbar { display: none; }
.tf-chip { flex: none; border-radius: 99px; padding: .3rem .7rem; font-size: .72rem; font-weight: 700; color: #cbd5e1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.tf-chip b { margin-left: .2rem; color: #94a3b8; font-variant-numeric: tabular-nums; }
.tf-chip.on { background: #6366f1; border-color: #818cf8; color: #fff; } .tf-chip.on b { color: #e0e7ff; }
.tf-chip.warn { color: #fca5a5; border-color: rgba(248,113,113,.35); }
.tm-row { display: flex; align-items: center; gap: .6rem; border-radius: 14px; padding: .4rem .5rem .4rem .45rem; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); border-left: 3px solid var(--rc); }
.tm-row.working { background: linear-gradient(90deg, rgba(99,102,241,.14), rgba(255,255,255,.03) 60%); border-color: rgba(129,140,248,.35); border-left-color: var(--rc); }
.tm-ava { position: relative; width: 40px; height: 40px; flex: none; border-radius: 10px; background: color-mix(in srgb, var(--rc) 18%, #0b1129); }
.tm-ava img { width: 40px; height: 40px; }
.tm-badge { position: absolute; right: -5px; bottom: -5px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 10px;
  background: #0f172a; border: 1.5px solid var(--sc); }
.tm-name { display: flex; align-items: baseline; gap: .35rem; max-width: 100%; text-align: left; font-size: .85rem; font-weight: 700; color: #fff; }
.tm-name:hover .truncate { text-decoration: underline; }
.tm-name b { font-size: .62rem; font-weight: 800; flex: none; } .tm-lv { font-size: .62rem; color: #94a3b8; flex: none; }
.tm-bar { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; }
.tm-track { flex: 1; height: 6px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.tm-track > div { height: 100%; border-radius: 9px; transition: width .2s; }
.tm-bar span { font-size: .65rem; color: #cbd5e1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm-dur { color: #7dd3fc !important; } .tm-dur.bad { color: #fca5a5 !important; font-weight: 800; }
.tm-dur:empty { display: none; }
.tm-seg { display: flex; flex: none; padding: 2px; border-radius: 11px; background: rgba(2,6,23,.5); border: 1px solid rgba(255,255,255,.08); }
.tm-seg button { width: 30px; height: 28px; border-radius: 8px; font-size: .8rem; opacity: .45; transition: opacity .15s, background .15s, transform .1s; }
.tm-seg button:hover { opacity: .85; } .tm-seg button:active { transform: scale(.9); }
.tm-seg button.on { opacity: 1; background: color-mix(in srgb, var(--sc) 35%, transparent); box-shadow: inset 0 0 0 1px var(--sc); }

/* ===================== Bảng Xếp hạng ===================== */
.rb-chip { border-radius: 99px; padding: .35rem .8rem; font-size: .75rem; font-weight: 800; color: #cbd5e1; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.rb-chip.on { background: #d946ef; border-color: #e879f9; color: #fff; }
.rb-chip.gold.on { background: #f59e0b; border-color: #fbbf24; color: #1c1917; }
.rb-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: .45rem; margin-top: .4rem; }
.rb-pod { text-align: center; min-width: 0; animation: rsFade .45s both; }
.rb-pod.p1 { animation-delay: .05s; } .rb-pod.p2 { animation-delay: .15s; } .rb-pod.p3 { animation-delay: .25s; }
.rb-crown { height: 1.2rem; font-size: 1.1rem; animation: rbBob 1.6s ease-in-out infinite; }
@keyframes rbBob { 50% { transform: translateY(-3px); } }
.rb-medal { font-size: 2.2rem; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.rb-pod.p1 .rb-medal { font-size: 2.8rem; }
.rb-pname { margin-top: .2rem; font-size: .8rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-pod.me .rb-pname { color: #fde68a; }
.rb-pts { font-size: .75rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.rb-step { margin-top: .35rem; border-radius: 12px 12px 4px 4px; font-weight: 900; font-size: 1.3rem; color: rgba(255,255,255,.85); display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.25); }
.rb-pod.p1 .rb-step { height: 4.6rem; background: linear-gradient(180deg, #fde047, #ca8a04); color: #422006; }
.rb-pod.p2 .rb-step { height: 3.5rem; background: linear-gradient(180deg, #e2e8f0, #64748b); color: #1e293b; }
.rb-pod.p3 .rb-step { height: 2.8rem; background: linear-gradient(180deg, #fdba74, #9a3412); color: #431407; }
.rb-pod.empty .rb-step { opacity: .25; }
.rb-pod.me .rb-step { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.25), 0 0 0 2px #fde68a; }
.rb-row { display: flex; align-items: center; gap: .55rem; border-radius: 12px; padding: .5rem .75rem; font-size: .875rem; background: rgba(255,255,255,.03); }
.rb-row.me { background: rgba(245,158,11,.14); border: 1px solid rgba(251,191,36,.4); }
.rb-rank { width: 1.6rem; text-align: center; font-weight: 900; color: #64748b; font-variant-numeric: tabular-nums; }
.rb-me { position: sticky; bottom: -1rem; margin: .8rem -.25rem -.25rem; padding: .6rem; border-radius: 14px; text-align: center; font-size: .8rem; color: #e2e8f0;
  background: rgba(15,23,42,.95); border: 1px solid rgba(251,191,36,.3); }
.rb-me b { color: #fde68a; } .rb-me.muted { color: #94a3b8; border-color: rgba(255,255,255,.08); }
.tm-row { min-width: 0; }

/* ===================== 💬 Chat Online cạnh phòng chờ ===================== */
.lc-dock { display: none; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(32,42,86,.97), rgba(15,21,46,.97)); border: 1px solid rgba(103,232,249,.25); box-shadow: var(--shadow-card); }
.lc-head { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem .5rem; color: #fff; }
.lc-sub { font-size: .68rem; color: #94a3b8; }
.lc-x { margin-left: auto; width: 1.9rem; height: 1.9rem; border-radius: .6rem; background: rgba(255,255,255,.06); }
.lc-tabs { display: flex; gap: .3rem; padding: 0 .75rem .5rem; }
.lc-tabs button { position: relative; flex: 1; border-radius: .7rem; padding: .4rem .3rem; font-size: .75rem; font-weight: 800; color: #94a3b8; background: rgba(2,6,23,.5); border: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.lc-tabs button.on { background: #0891b2; color: #fff; border-color: #22d3ee; }
.lc-tabs i { position: absolute; top: -6px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: #f43f5e; color: #fff; font-style: normal; font-size: .62rem; line-height: 17px; }
.lc-list { flex: 1; min-height: 0; overflow-y: auto; padding: .4rem .75rem; display: flex; flex-direction: column; gap: .35rem; background: rgba(2,6,23,.35); }
.lc-msg { max-width: 92%; align-self: flex-start; border-radius: 4px 14px 14px 14px; padding: .35rem .6rem; background: rgba(255,255,255,.06); }
.lc-msg.me { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: rgba(8,145,178,.3); }
.lc-meta { display: flex; gap: .4rem; align-items: baseline; font-size: .68rem; }
.lc-meta b { color: #fcd34d; } .lc-msg.me .lc-meta b { color: #a5f3fc; } .lc-meta span { color: #64748b; }
.lc-text { font-size: .82rem; color: #f1f5f9; word-break: break-word; }
.lc-sys { align-self: center; font-size: .68rem; color: #64748b; font-style: italic; text-align: center; }
.lc-empty { margin: auto; font-size: .8rem; color: #64748b; text-align: center; padding: 2rem 0; }
.lc-form { display: flex; gap: .4rem; padding: .6rem .75rem .3rem; }
.lc-form input { flex: 1; min-width: 0; border-radius: .8rem; background: rgba(2,6,23,.7); border: 1px solid rgba(255,255,255,.1); padding: .6rem .75rem; color: #fff; font-size: .85rem; outline: none; }
.lc-form input:focus { border-color: #22d3ee; }
.lc-form button { flex: none; border-radius: .8rem; padding: 0 .8rem; font-weight: 900; font-size: .78rem; background: linear-gradient(90deg, #22d3ee, #0ea5e9); color: #082f49; }
.lc-form button:disabled { opacity: .4; }
.lc-hint { padding: 0 .9rem .7rem; font-size: .65rem; color: #64748b; min-height: .6rem; }
.lc-fab { display: none; }
/* máy tính: khung chat đứng cạnh phải cửa sổ */
@media (min-width: 1024px) {
  .modal.has-lc.flex { gap: 1rem; }
  .modal.has-lc .lc-dock { display: flex; width: 340px; flex: none; height: min(660px, 90vh); }
  .modal.has-lc .lc-x { display: none; }
  #coopChatSlot, #pvpChatSlot { display: none; }          /* chat phòng đã có ở khung bên phải */
}
/* điện thoại / máy tính bảng: nút 💬 nổi, bấm mở khung chat đè lên */
@media (max-width: 1023.98px) {
  .modal.has-lc .lc-fab { display: grid; place-items: center; position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 5;
    width: 54px; height: 54px; border-radius: 50%; font-size: 1.5rem; background: linear-gradient(135deg, #22d3ee, #0284c7);
    box-shadow: 0 10px 26px -6px rgba(14,165,233,.8), inset 0 1px 0 rgba(255,255,255,.4); }
  .lc-fab .lc-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #f43f5e; color: #fff; font-size: .7rem; font-weight: 900; line-height: 20px; }
  .lc-fab .lc-badge.hidden { display: none; }
  .modal.has-lc .lc-dock.lc-open { background: #111936; box-shadow: 0 -10px 40px rgba(0,0,0,.7), 0 0 0 1px rgba(103,232,249,.3); display: flex; position: fixed; left: 8px; right: 8px; bottom: calc(82px + env(safe-area-inset-bottom)); height: min(70vh, 560px); z-index: 6;
    animation: sheetUp .25s cubic-bezier(.2, .9, .3, 1) both; }
}
/* 📢 Loa: tin nổi bật trong kênh Chung */
.loud-btn { flex: none; width: 2.6rem; border-radius: .8rem; font-size: 1.1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); filter: grayscale(.7); opacity: .75; transition: all .15s; }
.loud-btn.on { filter: none; opacity: 1; background: linear-gradient(135deg, #fbbf24, #f97316); border-color: #fde68a; box-shadow: 0 0 16px rgba(251,191,36,.6); }
.loud-btn.hidden { display: none; }
.loud-msg { position: relative; overflow: hidden; border-radius: 14px; padding: .45rem .7rem; align-self: stretch;
  background: linear-gradient(135deg, rgba(251,191,36,.28), rgba(249,115,22,.18)); border: 1.5px solid rgba(253,224,71,.65); box-shadow: 0 0 18px -4px rgba(251,191,36,.6); }
.loud-msg::after { content: ''; position: absolute; top: 0; bottom: 0; width: 35%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); animation: rsShine 3s ease-in-out infinite; }
.loud-head { display: flex; align-items: baseline; gap: .35rem; font-size: .7rem; font-weight: 900; color: #fde68a; letter-spacing: .02em; }
.loud-head button { color: #fff; } .loud-head span { margin-left: auto; font-weight: 600; color: #fcd34d; opacity: .7; }
.loud-text { font-size: .9rem; font-weight: 700; color: #fff; word-break: break-word; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.loud-pin { position: sticky; top: -.5rem; z-index: 2; margin: -.25rem -.25rem .4rem; padding: .25rem; border-radius: 16px; background: rgba(11,17,41,.92); backdrop-filter: blur(6px);
  font-size: .62rem; font-weight: 800; color: #fbbf24; }
.loud-pin .loud-msg { margin-top: .15rem; }
/* thẻ mã phòng nổi bật */
.rc-card { min-width: 0; border-radius: 18px; padding: .55rem .7rem .65rem; border: 1.5px solid color-mix(in srgb, var(--rc) 60%, transparent);
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 60%), rgba(2,6,23,.55);
  box-shadow: 0 0 22px -6px color-mix(in srgb, var(--rc) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.08); }
.rc-label { font-size: .68rem; font-weight: 900; letter-spacing: .1em; color: var(--rc); white-space: nowrap; }
.rc-label span { font-weight: 600; letter-spacing: 0; color: #94a3b8; }
@media (max-width: 420px) { .rc-label span { display: none; } }
.rc-row { display: flex; align-items: center; gap: .55rem; margin-top: .35rem; }
.rc-tiles { display: flex; gap: .3rem; }
.rc-tiles span { display: grid; place-items: center; width: 2.35rem; height: 2.8rem; border-radius: .7rem; font: 900 1.65rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: #fff;
  background: linear-gradient(180deg, #1e293b, #0b1124); border: 1.5px solid color-mix(in srgb, var(--rc) 70%, transparent);
  text-shadow: 0 0 12px color-mix(in srgb, var(--rc) 90%, transparent); box-shadow: inset 0 -3px 0 rgba(0,0,0,.35), 0 4px 12px -4px rgba(0,0,0,.6);
  animation: rcPop .35s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes rcPop { from { opacity: 0; transform: translateY(6px) scale(.8); } }
.rc-copy { flex: none; border-radius: .75rem; padding: .55rem .75rem; font-weight: 900; font-size: .8rem; color: #0b1124; background: var(--rc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.2); transition: transform .1s, filter .15s; }
.rc-copy:hover { filter: brightness(1.1); } .rc-copy:active { transform: scale(.95); }
.rc-copy.ok { background: #34d399; }
/* hàng đầu phòng chờ: thẻ mã phòng + thông tin; hẹp thì thông tin xuống dòng dưới */
.rc-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.rc-wrap > .rc-card { flex: 1 1 16rem; }
.rc-wrap > :not(.rc-card) { flex: 1 1 9rem; }
/* trang Hero mở khi đang chơi toàn màn hình (Phiêu lưu / Phó bản): ẩn nút ☰ nổi để không đè nút ✕, hiện lại thanh đáy */
@media (max-width: 1023.98px) {
  body.hero-sheet .play-peek { display: none !important; }
  body.play-mode.hero-sheet .mode-nav { display: flex !important; }
  #sideBar.sheet-open { padding-top: calc(1rem + env(safe-area-inset-top)); }
}
/* tin Loa trong danh sách: gọn như tin thường, viền vàng bên trái */
.loud-line { border-radius: 4px 12px 12px 4px; padding: .3rem .6rem; background: rgba(251,191,36,.08); border-left: 3px solid #fbbf24; align-self: stretch; }
.lc-list .loud-line { max-width: 92%; align-self: flex-start; }
.loud-tag { font-size: .7rem; }
/* tin Loa đang ghim: nhỏ gọn hơn trước */
.loud-pin .loud-msg { padding: .3rem .6rem; margin-top: 0; }
.loud-pin .loud-text { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.loud-pin { top: -.4rem; }
/* ===== hiệu ứng chat ===== */
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.msg-in { animation: msgIn .32s cubic-bezier(.2, .9, .3, 1.15) both; }
.lc-msg.me.msg-in { transform-origin: right bottom; } .lc-msg.msg-in { transform-origin: left bottom; }
.loud-line.msg-in { animation: msgIn .32s cubic-bezier(.2, .9, .3, 1.15) both, loudFlash 1.6s .2s ease-out; }
@keyframes loudFlash { 0%, 100% { background: rgba(251,191,36,.08); } 25% { background: rgba(251,191,36,.35); box-shadow: 0 0 18px rgba(251,191,36,.5); } }
.loud-pin .loud-msg { animation: msgIn .35s ease-out both; }
/* 📢 biểu tượng loa: rung "phát tiếng" + sóng âm lan ra */
@keyframes loudShake { 0%, 60%, 100% { transform: rotate(0) scale(1); } 8% { transform: rotate(-14deg) scale(1.15); } 16% { transform: rotate(12deg) scale(1.15); } 24% { transform: rotate(-8deg) scale(1.1); } 32% { transform: rotate(5deg); } }
@keyframes loudWave { from { box-shadow: 0 0 0 0 rgba(251,191,36,.65); } to { box-shadow: 0 0 0 10px rgba(251,191,36,0); } }
.loud-tag, .loud-head { display: inline-block; }
.loud-tag { animation: loudShake 2.4s ease-in-out infinite; transform-origin: 30% 70%; }
.loud-icon { display: inline-block; animation: loudShake 1.8s ease-in-out infinite; transform-origin: 30% 70%; }
.loud-btn { position: relative; }
.loud-btn.on { animation: loudShake 1.6s ease-in-out infinite, loudWave 1.2s ease-out infinite; }
.loud-btn:not(.on):hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .msg-in, .loud-tag, .loud-icon, .loud-btn.on { animation: none !important; } }
.loud-head { display: flex; }
/* nút 🧪 nhanh trên hero cạn sức */
.tm-pot { flex: none; width: 1.7rem; height: 1.45rem; border-radius: .5rem; font-size: .8rem; background: rgba(236,72,153,.18); border: 1px solid rgba(244,114,182,.55);
  animation: potPulse 1.6s ease-in-out infinite; }
.tm-pot.hidden { display: none; } .tm-pot:active { transform: scale(.9); }
@keyframes potPulse { 50% { box-shadow: 0 0 10px rgba(244,114,182,.7); } }
/* nút trạng thái: biểu tượng rõ hơn khi chưa chọn */
.tm-seg button { opacity: .6; font-size: .9rem; }
.tm-seg button.on { opacity: 1; background: color-mix(in srgb, var(--sc) 45%, #0b1124); }
/* ===== thanh hành động dính đáy cửa sổ phòng chờ (Phó bản / Đấu trường) ===== */
.cp-actions { position: sticky; bottom: -1.25rem; z-index: 4; margin: .9rem -1.25rem -1.25rem; padding: .7rem 1.25rem calc(.9rem + env(safe-area-inset-bottom));
  background: #10162f; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -14px 18px -6px rgba(16,22,47,.95); }
.cp-actions.pulse { animation: actPulse 1.1s ease-out 1; }
@keyframes actPulse { 0% { box-shadow: inset 0 2px 0 rgba(251,191,36,.9), 0 -12px 30px -8px rgba(251,191,36,.6); } 100% { box-shadow: none; } }
@media (max-width: 639.98px) { .cp-actions { bottom: calc(-1.25rem - env(safe-area-inset-bottom)); } }
/* thông tin gập được */
.cp-info { margin-top: .6rem; }
.cp-info > summary { list-style: none; cursor: pointer; border-radius: .9rem; padding: .55rem .8rem; font-size: .8rem; font-weight: 800; color: #cbd5e1;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; }
.cp-info > summary::-webkit-details-marker { display: none; }
.cp-info > summary::after { content: '▾'; margin-left: auto; transition: transform .2s; }
.cp-info[open] > summary::after { transform: rotate(180deg); }
.cp-info[open] > summary { margin-bottom: .1rem; }
/* nút 💬 nổi nằm trên thanh hành động đáy */
@media (max-width: 1023.98px) { .modal.has-lc .lc-fab { bottom: calc(150px + env(safe-area-inset-bottom)); } }
/* điện thoại: bỏ làm mờ nền sau cửa sổ (rất tốn GPU khi game vẽ phía sau) — nền tối đậm hơn bù lại */
@media (max-width: 640px) {
  .modal.backdrop-blur-md { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(2, 6, 23, .86); }
}

/* 🎯 Mục tiêu tiếp theo (người mới) */
.goal-chip { position: relative; width: 100%; margin: 0 0 .6rem; display: flex; align-items: center; gap: .55rem;
  padding: .5rem .7rem; border-radius: 1rem; text-align: left; color: #e2e8f0;
  background: rgba(15, 23, 42, .94); border: 1px solid rgba(251, 191, 36, .45); box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .15s; }
.goal-chip:active { transform: scale(.97); }
.goal-chip.hidden { display: none; }
.goal-chip .gc-ico { font-size: 22px; flex: none; }
.goal-chip .gc-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.goal-chip .gc-top { font-size: 10px; font-weight: 800; color: #fbbf24; letter-spacing: .02em; }
.goal-chip .gc-name { font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goal-chip .gc-bar { display: block; height: 4px; border-radius: 9px; background: rgba(255,255,255,.1); margin-top: 3px; overflow: hidden; }
.goal-chip .gc-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #f59e0b, #f43f5e); }
.goal-chip .gc-act { flex: none; font-size: 12px; font-weight: 900; color: #fde68a; padding: .3rem .55rem; border-radius: .6rem; background: rgba(251,191,36,.12); }
.goal-chip.ready { border-color: #4ade80; animation: gcGlow 1.4s ease-in-out infinite; }
.goal-chip.ready .gc-act { background: #22c55e; color: #052e16; }
@keyframes gcGlow { 50% { box-shadow: 0 0 0 3px rgba(74,222,128,.35), 0 6px 18px rgba(0,0,0,.3); } }
@media (prefers-reduced-motion: reduce) { .goal-chip.ready { animation: none; } }
/* giới thiệu tính năng (lần đầu mở) */
.intro-card { position: fixed; z-index: 95; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translateX(-50%); width: min(380px, calc(100vw - 24px));
  padding: .9rem 1rem; border-radius: 1rem; background: rgba(30, 27, 75, .97); border: 1px solid rgba(165, 180, 252, .45); box-shadow: 0 16px 40px rgba(0,0,0,.55);
  animation: icIn .3s ease-out; transition: opacity .25s, transform .25s; }
.intro-card.out { opacity: 0; transform: translate(-50%, -10px); }
.intro-card .ic-title { font-weight: 900; color: #fff; font-size: 15px; }
.intro-card .ic-text { font-size: 13px; color: #cbd5e1; margin-top: .3rem; line-height: 1.5; }
.intro-card .ic-ok { margin-top: .6rem; width: 100%; padding: .55rem; border-radius: .7rem; font-weight: 900; background: #818cf8; color: #0f172a; }
@keyframes icIn { from { opacity: 0; transform: translate(-50%, -12px); } }

/* ===== Dễ bấm trên điện thoại: vùng bấm tối thiểu ~44px (không đổi kích thước nhìn thấy) ===== */
#btnTopup, [data-close].w-8 { position: relative; }
#btnTopup::after, [data-close].w-8::after, .lc-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
@media (pointer: coarse) {
  .tm-seg button { width: 38px; height: 36px; }
  .tm-pot { width: 2.4rem; height: 2.2rem; }
  .tf-chip { padding: .5rem .85rem; }
}
/* chữ nhỏ màu xám: sáng hơn chút cho dễ đọc trên nền tối (đạt độ tương phản tối thiểu) */
.text-slate-500 { color: #8a97ab; }
.text-slate-600 { color: #6f7d92; }
/* trên điện thoại: ô nhập chữ ≥ 16px để iPhone không tự phóng to khi bấm vào */
@media (max-width: 640px) { input, select, textarea { font-size: 16px !important; } }
/* khu chơi: không cuộn / phóng to nhầm khi chạm (vẫn phóng to được ở phần còn lại của trang) */
#game, #advControls, .dpad, .bomb-btn { touch-action: none; }
/* người dùng bật "giảm chuyển động" trong máy: tắt hiệu ứng nảy / nhấp nháy trang trí */
@media (prefers-reduced-motion: reduce) { .animate-bounce, .animate-pulse, .animate-spin { animation: none !important; } }

/* ===== Bàn phím điện thoại đang mở (--kb = chiều cao bàn phím, do boot.js đo bằng visualViewport) ===== */
html.kb-open .modal.has-lc .lc-dock.lc-open { bottom: calc(var(--kb, 0px) + 6px); height: min(calc(var(--vvh, 100vh) - 16px), 560px); }
html.kb-open .modal { padding-bottom: var(--kb, 0px); }

/* 🛡 vừa mất 1 khiên trong trận */
.sh-lost { animation: shLost .6s ease-out; }
@keyframes shLost { 0% { background: rgba(244,63,94,.55); transform: scale(1.12); } 100% { transform: scale(1); } }

/* 💳 đang chờ chuyển khoản */
.pay-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(103,232,249,.25); border-top-color: #67e8f9; animation: paySpin .8s linear infinite; flex: none; }
@keyframes paySpin { to { transform: rotate(360deg); } }
/* 🛠 bảo trì & 🔄 bản mới (boot.js) */
.maint-bar { position: fixed; z-index: 88; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 2rem);
  padding: .45rem .9rem; border-radius: 14px; font-size: 12.5px; font-weight: 800; line-height: 1.35; text-align: center; color: #fff7ed;
  background: rgba(146,64,14,.95); border: 1px solid rgba(251,191,36,.55); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.maint-bar:not(.upd) { pointer-events: none; opacity: .96; }   /* dải đếm ngược: bấm xuyên qua, không chặn nút bên dưới */
.maint-bar.upd { color: #ecfeff; background: rgba(14,116,144,.95); border-color: rgba(103,232,249,.55); display: flex; align-items: center; gap: .6rem; }
.maint-bar.upd.hidden { display: none; }
.maint-bar .mb-btn { padding: .3rem .75rem; border-radius: 10px; font-weight: 900; color: #083344; background: #67e8f9; }
@media (max-width: 1023.98px) { .maint-bar { bottom: calc(70px + env(safe-area-inset-bottom)); } body.play-mode .maint-bar { bottom: calc(.75rem + env(safe-area-inset-bottom)); } }
.maint-cover { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: radial-gradient(circle at 50% 30%, #1e1b4b, #070b1d 70%); }
.maint-cover.hidden { display: none; }
.maint-cover .mc-box { width: min(420px, 100%); text-align: center; padding: 1.75rem 1.25rem; border-radius: 24px; background: rgba(17,25,54,.9); border: 1px solid rgba(251,191,36,.35); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.maint-cover .mc-ico { font-size: 56px; line-height: 1; animation: mcSpin 3s ease-in-out infinite; }
@keyframes mcSpin { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.maint-cover .mc-title { margin-top: .75rem; font-size: 22px; font-weight: 900; color: #fde68a; }
.maint-cover .mc-text { margin-top: .4rem; font-size: 15px; color: #e2e8f0; }
.maint-cover .mc-msg { margin-top: .75rem; padding: .6rem .8rem; border-radius: 12px; font-size: 14px; color: #fef3c7; background: rgba(146,64,14,.35); white-space: pre-wrap; overflow-wrap: anywhere; }
.maint-cover .mc-sub { margin-top: .75rem; font-size: 13px; color: #94a3b8; }
.maint-cover .mc-acts { margin-top: 1.1rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.maint-cover .mc-btn { padding: .6rem 1.2rem; border-radius: 14px; font-weight: 900; color: #1c1917; background: #fbbf24; }
.maint-cover .mc-btn:disabled { opacity: .6; }
.maint-cover .mc-link { font-size: 12px; color: #64748b; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .maint-cover .mc-ico { animation: none; } }
/* 📜 Lịch sử hoạt động */
.act-tabs { position: sticky; top: -1rem; z-index: 2; display: flex; gap: .3rem; margin: 0 -.25rem .5rem; padding: .25rem; overflow-x: auto; scrollbar-width: none; background: rgba(15,23,42,.95); border-radius: 14px; }
.act-tab { flex: 1 0 auto; padding: .4rem .7rem; border-radius: 10px; font-size: 12px; font-weight: 800; color: #94a3b8; white-space: nowrap; }
.act-tab.on { color: #fff; background: #0284c7; }
.act-day { margin: .75rem 0 .35rem; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.act-row { margin-bottom: .4rem; padding: .55rem .7rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid #475569; }
.act-row.act-shop { border-left-color: #22d3ee; } .act-row.act-market { border-left-color: #a78bfa; } .act-row.act-gacha { border-left-color: #f472b6; }
.act-row.act-hero { border-left-color: #fb923c; } .act-row.act-reward { border-left-color: #facc15; }
.act-top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.act-title { font-size: 13px; font-weight: 800; color: #f1f5f9; min-width: 0; overflow-wrap: anywhere; }
.act-time { flex-shrink: 0; font-size: 11px; color: #64748b; font-variant-numeric: tabular-nums; }
.act-body { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.act-body:empty { display: none; }
.act-chip { padding: .1rem .45rem; border-radius: 8px; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.act-chip.up { color: #6ee7b7; background: rgba(16,185,129,.12); } .act-chip.down { color: #fda4af; background: rgba(244,63,94,.12); }
.act-hero { padding: .1rem .45rem; border-radius: 8px; font-size: 11.5px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.act-note { margin-top: .25rem; font-size: 11px; color: #94a3b8; overflow-wrap: anywhere; }
.act-more { display: block; width: 100%; margin-top: .5rem; padding: .55rem; border-radius: 12px; font-size: 13px; font-weight: 800; color: #bae6fd; background: rgba(14,165,233,.12); }
.act-more:disabled { opacity: .6; }
/* 🎓 hướng dẫn "làm luôn" */
.tut-spot.tut-press { animation: tutPress 1.1s ease-in-out infinite; }
@keyframes tutPress { 50% { box-shadow: 0 0 0 9999px rgba(2,6,23,.74), 0 0 0 6px rgba(251,191,36,.55), 0 0 40px rgba(251,191,36,.7); } }
.tut-prog { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: 12px; font-weight: 900; color: #fde68a; font-variant-numeric: tabular-nums; }
.tut-prog i { flex: 1; height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.tut-prog b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #fbbf24, #f97316); transition: width .3s; }
.tut-wait { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .8rem; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; font-weight: 800; color: #94a3b8; }
.tut-skipstep { font-size: 11px; color: #64748b; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tut-spot.tut-press { animation: none; } }
/* 🛍 avatar + khung (cosAv) */
.cav { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex-shrink: 0; vertical-align: middle; border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: inset 0 -2px 4px rgba(0,0,0,.25); }
.cav i { font-style: normal; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.cav-xs { width: 18px; height: 18px; font-size: 11px; } .cav-sm { width: 24px; height: 24px; font-size: 14px; }
.cav-md { width: 36px; height: 36px; font-size: 21px; } .cav-lg { width: 60px; height: 60px; font-size: 34px; }
.cav::before { content: ''; position: absolute; z-index: -1; inset: -2px; border-radius: 50%; background: rgba(148,163,184,.35); }
.cav-lg::before { inset: -4px; } .cav-md::before { inset: -3px; }
.cfr-silver::before { background: linear-gradient(135deg, #f8fafc, #94a3b8, #e2e8f0); }
.cfr-jade::before { background: linear-gradient(135deg, #a7f3d0, #059669, #6ee7b7); }
.cfr-gold::before { background: linear-gradient(135deg, #fef9c3, #eab308, #a16207, #fde047); box-shadow: 0 0 6px rgba(250,204,21,.6); }
.cfr-ice::before { background: linear-gradient(135deg, #ecfeff, #67e8f9, #0284c7, #cffafe); box-shadow: 0 0 7px rgba(103,232,249,.7); }
.cfr-fire::before { background: conic-gradient(#fde047, #f97316, #dc2626, #f97316, #fde047); box-shadow: 0 0 8px rgba(249,115,22,.75); animation: cavSpin 2.4s linear infinite; }
.cfr-rainbow::before { background: conic-gradient(#f472b6, #facc15, #4ade80, #22d3ee, #a78bfa, #f472b6); box-shadow: 0 0 8px rgba(244,114,182,.6); animation: cavSpin 3.5s linear infinite; }
@keyframes cavSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cfr-fire::before, .cfr-rainbow::before { animation: none; } }
.rb-av { display: grid; place-items: center; margin-bottom: .2rem; }
#userAv { display: inline-grid; place-items: center; }
/* 🛍 Cửa hàng & Túi đồ */
.cos-mode { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-bottom: .5rem; padding: .25rem; border-radius: 14px; background: rgba(255,255,255,.04); }
.cos-mode button { padding: .5rem; border-radius: 10px; font-size: 13px; font-weight: 900; color: #94a3b8; }
.cos-mode button.on { color: #1c1917; background: linear-gradient(90deg, #fbbf24, #f97316); }
.cos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 480px) { .cos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cos-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .6rem .35rem .5rem; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.cos-card.prem { background: linear-gradient(160deg, rgba(168,85,247,.16), rgba(255,255,255,.03) 60%); border-color: rgba(192,132,252,.3); }
.cos-card.on { border-color: #34d399; box-shadow: 0 0 0 1px #34d399 inset; }
.cos-tag { position: absolute; top: .35rem; right: .35rem; padding: 0 .3rem; border-radius: 6px; font-size: 9px; font-weight: 900; color: #fff; background: #a855f7; }
.cos-prev { display: grid; place-items: center; width: 64px; height: 64px; }
.cos-bomb { width: 64px; height: 64px; }
.cos-name { font-size: 12px; font-weight: 800; color: #f1f5f9; line-height: 1.2; min-height: 2.4em; display: grid; place-items: center; }
.cos-btn { width: 100%; padding: .35rem .2rem; border-radius: 10px; font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cos-btn.gold { color: #1c1917; background: linear-gradient(90deg, #fde047, #f59e0b); }
.cos-btn.gem { color: #fff; background: linear-gradient(90deg, #22d3ee, #8b5cf6); }
.cos-btn.use { color: #e0f2fe; background: rgba(14,165,233,.25); border: 1px solid rgba(56,189,248,.4); }
.cos-btn:disabled { opacity: .5; }
.cos-on { padding: .35rem 0; font-size: 12px; font-weight: 900; color: #6ee7b7; }
.cos-info { display: flex; align-items: center; gap: .75rem; padding: .75rem; border-radius: 14px; background: rgba(255,255,255,.04); }
.cos-item { display: flex; align-items: center; gap: .65rem; margin-bottom: .4rem; padding: .55rem .7rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
