
body.vc-ho #touch-buttons { display: none !important; }
.vc-hud.vc-danh .vc-cum, .vc-hud.vc-danh .vc-loe { display: none !important; }
.vc-hud, .vc-vao, .vc-hop {
  --vk: #e8c46a; --vk-sang: #fbe7a6; --vk-dam: #8a6224;
  --muc1: rgba(46, 34, 18, 0.95); --muc2: rgba(18, 13, 8, 0.95);
  --chu: #f3e6c6; --ngoc: #9ff3df;
}
.vc-hud { position: fixed; inset: 0; pointer-events: none; z-index: 55; }
.vc-hud.hidden, .vc-vao.hidden, .vc-hud .hidden { display: none !important; }
.vc-ic { display: inline-block; line-height: 0; }
.vc-ic svg { width: 100%; height: 100%; image-rendering: pixelated; }
.vc-vao {
  position: fixed; left: 50%; top: max(64px, calc(env(safe-area-inset-top) + 56px));
  transform: translateX(-50%); z-index: 60; overflow: hidden;
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px 6px 8px; border-radius: 8px; cursor: pointer;
  background: linear-gradient(180deg, var(--muc1), var(--muc2));
  border: 1px solid var(--vk);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 226, 150, 0.25), 0 3px 10px rgba(0, 0, 0, 0.5);
  color: var(--vk-sang); font: 700 13px/1.2 var(--font-ui, sans-serif); letter-spacing: 0.02em;
  text-shadow: 0 1px 0 #000;
  animation: vc-vao-tho 2.6s ease-in-out infinite;
}
.vc-vao::before {
  content: ''; flex: none; width: 20px; height: 20px;
  background: var(--vc-ic) center / contain no-repeat; image-rendering: pixelated;
  animation: vc-lac 2.6s ease-in-out infinite; transform-origin: 20% 90%;
}
.vc-vao::after {                                   
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 190, 0.35), transparent);
  transform: skewX(-18deg); animation: vc-luot 3.2s ease-in-out infinite;
}
.vc-vao:hover { filter: brightness(1.12); }
@keyframes vc-vao-tho { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), 0 3px 10px rgba(0,0,0,.5), 0 0 0 rgba(232,196,106,0); }
  50% { box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), 0 3px 10px rgba(0,0,0,.5), 0 0 16px rgba(232,196,106,.55); } }
@keyframes vc-luot { 0%, 55% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(480%) skewX(-18deg); } }
@keyframes vc-lac { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
.vc-dau {
  position: absolute; left: 50%; top: max(10px, env(safe-area-inset-top)); transform: translateX(-50%);
  display: flex; align-items: center; pointer-events: auto;
  padding: 4px 5px 4px 10px; border-radius: 8px; white-space: nowrap;
  background: linear-gradient(180deg, var(--muc1), var(--muc2));
  border: 1px solid var(--vk);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 226, 150, 0.2), 0 3px 8px rgba(0, 0, 0, 0.45);
  color: var(--chu); font: 700 12px/1 var(--font-ui, sans-serif); text-shadow: 0 1px 0 #000;
}
.vc-dau > * { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-left: 1px solid rgba(232, 196, 106, 0.28); }
.vc-dau > :first-child, .vc-luat:empty + .vc-nl-o { border-left: 0; padding-left: 0; }
.vc-luat { color: #ffe1a8; }
.vc-luat-ic { font-style: normal; }
.vc-luat:empty { display: none !important; }
.vc-nl-o { position: relative; color: var(--ngoc); }
.vc-nl-o .vc-ic { width: 14px; height: 14px; }
.vc-nl-o.vc-nay { animation: vc-nay 0.42s cubic-bezier(.2, 1.6, .4, 1); }
.vc-cong {                                         
  position: absolute; left: 50%; top: -4px; color: #c8fff0; font: 900 13px/1 var(--font-ui, sans-serif);
  text-shadow: 0 0 6px rgba(80, 230, 200, 0.9), 0 1px 0 #000; pointer-events: none;
  animation: vc-cong 1.05s ease-out forwards;
}
@keyframes vc-cong { 0% { transform: translate(-50%, 6px) scale(0.6); opacity: 0; } 20% { transform: translate(-50%, -4px) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -26px) scale(1); opacity: 0; } }
.vc-gio-o svg { width: 15px; height: 15px; transform: rotate(-90deg); }
.vc-gio-nen { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 3; }
.vc-gio-vong { fill: none; stroke: var(--vk); stroke-width: 3; stroke-dasharray: 44 44; }
.vc-gio { min-width: 32px; font-variant-numeric: tabular-nums; }
.vc-gio-o.vc-gap { color: #ff8a6a; animation: vc-nhay 1s steps(2) infinite; }
.vc-gio-o.vc-gap .vc-gio-vong { stroke: #ff6a5a; }
.vc-ra {
  margin-left: 2px; border-left: 0 !important; padding: 5px 10px !important; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(232, 196, 106, 0.6); background: linear-gradient(180deg, #5a2c1a, #2a120a);
  color: #f6e3b8; font: 700 11px/1 var(--font-ui, sans-serif); text-shadow: 0 1px 0 #000;
}
.vc-ra:hover { filter: brightness(1.2); }
.vc-cum {
  position: absolute; right: max(12px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  width: 236px; height: 256px; pointer-events: none;
}
.vc-cum > .vc-nut, .vc-cum > .vc-thu { pointer-events: auto; }
.vc-moi { position: absolute; inset: 0; pointer-events: none; }
.vc-moi > * { pointer-events: auto; }
.vc-o0, .vc-o1, .vc-o2 { position: absolute; width: 50px; height: 50px; }
.vc-o0 { right: 134px; bottom: 40px; }
.vc-o1 { right: 107px; bottom: 105px; }
.vc-o2 { right: 42px; bottom: 132px; }
.vc-nut {
  position: absolute; right: 6px; bottom: 4px; width: 122px; height: 122px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer; touch-action: none; color: #fff8e2;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  --m1: #6fe8cf; --m2: #1f8a7c; --m3: #0b3b38;
  background: conic-gradient(from 210deg, #fbe7a6, #a8782c 18%, #f1cf7a 34%, #6e4a18 52%, #f1cf7a 70%, #c99a42 86%, #fbe7a6);
  box-shadow: 0 0 0 2px #1a1209, 0 6px 12px rgba(0, 0, 0, 0.55);
  transition: transform 0.08s;
}
.vc-nut::before, .vc-nut::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; opacity: 0;
}
.vc-nut-mat {
  position: absolute; inset: 11px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, var(--m1) 0%, var(--m2) 55%, var(--m3) 100%);
  box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.3), inset 0 -9px 14px rgba(0, 0, 0, 0.55), 0 0 0 2px #1a1209;
  transition: background 0.2s;
}
.vc-nut-mat::after {                               
  content: ''; position: absolute; left: 17%; right: 17%; top: 5%; height: 36%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}
.vc-nut-mat::before {                              
  content: ''; position: absolute; inset: 0; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 30%, rgba(255, 255, 255, 0) 62%);
}
.vc-nut-mat.vc-an::before { animation: vc-an 0.45s ease-out; }
@keyframes vc-an { 0% { opacity: 1; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.3); } }
.vc-nut-nuoc {                                     
  position: absolute; left: 0; right: 0; bottom: 0; height: 0; opacity: 0.72; transition: background 0.15s;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.45);
}
.vc-nut-vong { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.vc-vong-nen { fill: none; stroke: rgba(20, 12, 4, 0.82); stroke-width: 7; }
.vc-vung { fill: none; stroke-width: 7; opacity: 0; transition: opacity 0.2s; }
.vc-vung-vang { stroke: rgba(255, 192, 74, 0.45); }
.vc-vung-do { stroke: rgba(255, 80, 64, 0.6); }
.vc-vach { fill: none; stroke: #fff6d8; stroke-width: 9; opacity: 0; }
.vc-vong-sang { fill: none; stroke-width: 12; opacity: 0.28; stroke-linecap: round; stroke-dasharray: 0 999; }
.vc-vong { fill: none; stroke: #9fe0ff; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke 0.12s; }
.vc-nut-hinh {
  position: absolute; left: 50%; top: 25px; width: 44px; height: 44px; margin-left: -22px; line-height: 0;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.5));
}
.vc-nut-hinh svg { width: 100%; height: 100%; }
.vc-nut-chu {
  position: absolute; left: 0; right: 0; bottom: 24px; text-align: center;
  font: 800 16px/1 var(--font-ui, sans-serif); letter-spacing: 0.03em;
  text-shadow: 0 2px 0 #10241f, 1px 0 0 #10241f, -1px 0 0 #10241f, 0 -1px 0 #10241f;
}
.vc-nut-chu.vc-nay { animation: vc-nay 0.3s cubic-bezier(.2, 1.6, .4, 1); }
.vc-nut.vc-pha-ranh::after, .vc-nut.vc-pha-luc::after { box-shadow: 0 0 18px 4px rgba(120, 240, 210, 0.45); animation: vc-tho 2.4s ease-in-out infinite; }
.vc-nut.vc-pha-ranh .vc-nut-hinh { animation: vc-lac 2.4s ease-in-out infinite; transform-origin: 30% 90%; }
.vc-nut.vc-pha-luc .vc-vach { opacity: 0.9; }
.vc-nut.vc-pha-luc .vc-nut-hinh { transform: rotate(-22deg); transform-origin: 30% 90%; }
.vc-nut.vc-pha-cho { --m1: #5fb6c6; --m2: #1b5866; --m3: #0a2730; }
.vc-nut.vc-pha-cho .vc-nut-hinh { animation: vc-boi 1.6s ease-in-out infinite; }
.vc-nut.vc-pha-can { --m1: #fff0b0; --m2: #e0a22e; --m3: #6a3e0a; animation: vc-rung-nut 0.26s linear infinite; }
.vc-nut.vc-pha-can::before, .vc-nut.vc-pha-can::after { border: 3px solid #ffe17a; animation: vc-song-nut 0.75s ease-out infinite; }
.vc-nut.vc-pha-can::after { animation-delay: 0.37s; }
.vc-nut.vc-pha-can .vc-nut-hinh { animation: vc-giat-moc 0.26s ease-in-out infinite alternate; }
.vc-nut.vc-pha-can .vc-nut-chu { color: #fffbe8; text-shadow: 0 2px 0 #5a3206, 1px 0 0 #5a3206, -1px 0 0 #5a3206, 0 -1px 0 #5a3206; }
.vc-nut.vc-pha-keo { --m1: #6fd2e0; --m2: #1b6676; --m3: #082a33; }
.vc-nut.vc-pha-keo .vc-vung, .vc-nut.vc-pha-conKeo .vc-vung { opacity: 1; }
.vc-nut.vc-giu { transform: scale(0.955); }
.vc-nut.vc-giu .vc-nut-hinh svg { animation: vc-quay 0.55s linear infinite; }
.vc-nut.vc-vang .vc-nut-mat { box-shadow: inset 0 3px 5px rgba(255,255,255,.3), inset 0 -9px 14px rgba(0,0,0,.55), inset 0 0 18px rgba(255, 190, 70, 0.55), 0 0 0 2px #1a1209; }
.vc-nut.vc-do { animation: vc-rung-nut 0.18s linear infinite; }
.vc-nut.vc-do .vc-nut-nuoc, .vc-nut.vc-vo .vc-nut-nuoc {
  height: 100% !important; box-shadow: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 70, 50, 0.15) 20%, rgba(255, 40, 28, 0.85)) !important;
}
.vc-nut.vc-do .vc-nut-nuoc { animation: vc-tho 0.32s ease-in-out infinite; }
.vc-nut.vc-do::after { opacity: 1; box-shadow: 0 0 22px 6px rgba(255, 70, 50, 0.6); }
.vc-nut.vc-giay .vc-vong { animation: vc-nhay 0.22s steps(2) infinite; }
.vc-nut.vc-pha-conRanh { --m1: #a8c0ff; --m2: #2b4aa8; --m3: #0d1846; }
.vc-nut.vc-pha-conRanh::after { box-shadow: 0 0 22px 6px rgba(255, 211, 106, 0.55); animation: vc-tho 1.2s ease-in-out infinite; }
.vc-nut.vc-pha-conKeo { --m1: #7f9ef0; --m2: #233f8e; --m3: #0a1338; }
.vc-nut.vc-vo { animation: vc-vo 0.5s ease-out; }
.vc-nut.vc-vo .vc-nut-nuoc { animation: vc-tat 0.5s ease-out forwards; }
@keyframes vc-tho { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes vc-boi { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes vc-rung-nut { 0%, 100% { translate: 0 0; } 25% { translate: -2px 1px; } 75% { translate: 2px -1px; } }
@keyframes vc-song-nut { 0% { opacity: 1; transform: scale(0.92); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes vc-giat-moc { from { transform: translateY(3px) rotate(-6deg); } to { transform: translateY(-4px) rotate(6deg); } }
@keyframes vc-quay { to { transform: rotate(360deg); } }
@keyframes vc-vo { 0% { translate: 0 0; } 15% { translate: -6px 2px; } 30% { translate: 5px -2px; } 45% { translate: -4px 1px; } 60% { translate: 3px 0; } 100% { translate: 0 0; } }
@keyframes vc-tat { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vc-nay { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes vc-nhay { 50% { opacity: 0.35; } }
.vc-moi-nut {
  border-radius: 50%; padding: 0; cursor: pointer; touch-action: manipulation;
  border: 0; background: radial-gradient(circle at 50% 35%, #2f2617, #120d07 75%);
  box-shadow: 0 0 0 2px #1a1209, 0 0 0 3px rgba(232, 196, 106, 0.55), 0 3px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.12s, box-shadow 0.12s;
}
.vc-moi-nut .vc-ic { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -16px 0 0 -15px; }
.vc-moi-so {
  position: absolute; left: -5px; bottom: -3px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: #120d07; border: 1px solid rgba(232, 196, 106, 0.7); color: var(--vk-sang);
  font: 800 10px/14px var(--font-ui, sans-serif); text-align: center;
}
.vc-moi-nut.chon {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px #1a1209, 0 0 0 4px var(--vk), 0 0 14px 3px rgba(255, 215, 120, 0.55), 0 3px 6px rgba(0, 0, 0, 0.5);
}
.vc-moi-nut.vc-nay { animation: vc-nay 0.34s cubic-bezier(.2, 1.6, .4, 1); }
.vc-moi-nut:disabled { cursor: default; filter: grayscale(1) brightness(0.6); }
.vc-moi-nut:not(:disabled):active { transform: scale(0.92); }
.vc-moi-ten {                                      
  position: absolute; right: 6px; bottom: 196px; pointer-events: none;
  display: flex; align-items: center; gap: 5px; padding: 3px 9px 3px 5px; border-radius: 999px;
  background: linear-gradient(180deg, var(--muc1), var(--muc2)); border: 1px solid rgba(232, 196, 106, 0.6);
  color: var(--chu); font: 700 12px/1 var(--font-ui, sans-serif); text-shadow: 0 1px 0 #000; white-space: nowrap;
}
.vc-moi-ten svg { width: 18px; height: 18px; }
.vc-moi-ten small { color: var(--vk-sang); font-weight: 800; }
.vc-moi-ten.vc-nay { animation: vc-nay 0.34s cubic-bezier(.2, 1.6, .4, 1); transform-origin: right center; }
.vc-tu-quyet {
  position: absolute; right: 116px; bottom: 112px; display: flex; align-items: center; gap: 5px; padding: 4px 10px 4px 5px;
  border-radius: 16px; pointer-events: none; color: var(--q-mau, #fff); white-space: nowrap;
  background: radial-gradient(circle at 30% 40%, #1e2c30, #0a1214 80%);
  box-shadow: 0 0 0 2px #1a1209, 0 0 0 3px var(--q-mau, #fff), 0 0 14px var(--q-quang, rgba(255,255,255,.3));
  font: 800 12px/1 var(--font-ui, sans-serif); text-shadow: 0 1px 0 #000;
  animation: vc-tu-quyet 1.4s ease-out forwards;
}
.vc-tu-quyet .vc-ic { width: 22px; height: 22px; filter: drop-shadow(0 0 3px var(--q-quang, transparent)); }
@keyframes vc-tu-quyet {
  0% { opacity: 0; transform: scale(0.4); }
  14% { opacity: 1; transform: scale(1.15); }
  26% { transform: scale(1); }
  72% { opacity: 1; transform: translateY(-10px); }
  100% { opacity: 0; transform: translateY(-34px); }
}
.vc-thu {
  position: absolute; right: 132px; bottom: 4px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(232, 196, 106, 0.6); background: linear-gradient(180deg, var(--muc1), var(--muc2));
  color: var(--chu); font: 700 12px/1 var(--font-ui, sans-serif); text-shadow: 0 1px 0 #000;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
}
.vc-thu:active { transform: scale(0.94); }
.vc-day {
  position: absolute; right: 6px; bottom: 196px; width: 224px; height: 22px; border-radius: 11px; overflow: hidden;
  background: linear-gradient(180deg, #145061, #0a2830);
  border: 1px solid var(--vk);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 4px 6px rgba(160, 230, 255, 0.12), 0 3px 6px rgba(0, 0, 0, 0.5);
}
.vc-day::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(170, 235, 255, 0.13) 0 5px, transparent 5px 13px);
  background-size: 28px 22px; animation: vc-song-day 1.4s linear infinite;
}
@keyframes vc-song-day { to { background-position: -28px 0; } }
.vc-day > .vc-ic { position: absolute; left: 3px; top: 2px; width: 17px; height: 17px; z-index: 1; }
.vc-day-do {
  position: absolute; right: 0; top: 0; bottom: 0; width: 15%;
  background: linear-gradient(90deg, rgba(255, 70, 60, 0.05), rgba(255, 70, 60, 0.6));
  border-left: 1px dashed rgba(255, 150, 130, 0.8);
}
.vc-day.vc-day-xa .vc-day-do { animation: vc-nhay 0.3s steps(2) infinite; }
.vc-day-ca {
  position: absolute; top: 50%; width: 22px; height: 11px; margin: -6px 0 0 -11px; line-height: 0; z-index: 2;
  transition: left 0.12s linear; filter: drop-shadow(0 0 3px rgba(220, 250, 255, 0.8));
}
.vc-day-ca svg { width: 100%; height: 100%; }
.vc-day.vc-day-giay .vc-day-ca { animation: vc-rung-nut 0.12s linear infinite; }
.vc-goi {
  position: absolute; right: 6px; bottom: 222px; width: 224px; text-align: center; pointer-events: none;
  font: 900 22px/1 var(--font-ui, sans-serif); letter-spacing: 0.05em;
  text-shadow: 0 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 -2px 0 #000, 0 0 14px rgba(0, 0, 0, 0.6);
}
.vc-goi-tha { color: #ff7a5c; }
.vc-goi-nhip { color: #ffd27a; font-size: 18px; }
.vc-goi-keo { color: #8ff59a; }
.vc-goi.vc-goi-vao { animation: vc-goi 0.34s cubic-bezier(.2, 1.7, .4, 1); }
.vc-goi-tha.vc-goi-vao { animation: vc-goi 0.34s cubic-bezier(.2, 1.7, .4, 1), vc-nhay 0.3s 0.34s steps(2) infinite; }
@keyframes vc-goi { 0% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.vc-loe {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at center, transparent 52%, var(--loe, rgba(255, 214, 110, 0.55)) 100%);
}
.vc-loe-vang { --loe: rgba(255, 214, 110, 0.6); animation: vc-loe 0.65s ease-out; }
.vc-loe-do { --loe: rgba(255, 50, 36, 0.6); animation: vc-loe 0.7s ease-out; }
.vc-loe-xanh { --loe: rgba(110, 240, 205, 0.5); animation: vc-loe 0.8s ease-out; }
@keyframes vc-loe { 0% { opacity: 0; } 14% { opacity: 1; } 100% { opacity: 0; } }
.vc-hud::before {                                  
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 58%, rgba(255, 36, 24, 0.42) 100%);
}
.vc-hud.vc-cang-do::before { animation: vc-tho 0.5s ease-in-out infinite; }
.vc-bay-vay {
  position: fixed; width: 16px; height: 16px; margin: -8px 0 0 -8px; line-height: 0; pointer-events: none; z-index: 5;
  filter: drop-shadow(0 0 4px rgba(120, 250, 220, 0.9));
  animation: vc-bay 0.9s cubic-bezier(.55, 0, .7, .45) both;
}
.vc-bay-vay svg { width: 100%; height: 100%; }
@keyframes vc-bay {
  0% { transform: translate(0, 0) scale(0.3); opacity: 0; }
  14% { transform: translate(calc(var(--vx) * 0.5), -26px) scale(1.2); opacity: 1; }
  34% { transform: translate(var(--vx), -36px) scale(1); }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.55); opacity: 0.85; }
}
.vc-the {
  position: absolute; left: 50%; top: 7%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 220px; max-width: min(340px, calc(100vw - 24px)); padding: 6px 18px 10px; border-radius: 10px;
  background: linear-gradient(180deg, var(--muc1), var(--muc2));
  border: 1px solid var(--vk);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 226, 150, 0.22), 0 6px 18px rgba(0, 0, 0, 0.55);
  color: var(--chu); font: 600 13px/1.3 var(--font-ui, sans-serif); pointer-events: none;
}
.vc-the::before {                                  
  content: ''; position: absolute; left: 50%; top: -34px; width: 176px; height: 176px; margin-left: -88px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--bac, #fff) 0 7deg, transparent 7deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 0 14%, transparent 66%);
  mask: radial-gradient(circle, #000 0 14%, transparent 66%);
  opacity: 0; animation: vc-quay 10s linear infinite;
}
.vc-the::after {                                   
  content: ''; position: absolute; inset: 3px; border-radius: 7px; pointer-events: none;
  background:
    linear-gradient(var(--vk), var(--vk)) left top / 10px 2px no-repeat, linear-gradient(var(--vk), var(--vk)) left top / 2px 10px no-repeat,
    linear-gradient(var(--vk), var(--vk)) right top / 10px 2px no-repeat, linear-gradient(var(--vk), var(--vk)) right top / 2px 10px no-repeat,
    linear-gradient(var(--vk), var(--vk)) left bottom / 10px 2px no-repeat, linear-gradient(var(--vk), var(--vk)) left bottom / 2px 10px no-repeat,
    linear-gradient(var(--vk), var(--vk)) right bottom / 10px 2px no-repeat, linear-gradient(var(--vk), var(--vk)) right bottom / 2px 10px no-repeat;
}
.vc-the[data-bac="linh"]::before { opacity: 0.32; }
.vc-the[data-bac="yeu"]::before { opacity: 0.5; }
.vc-the[data-bac="giao"]::before, .vc-the[data-bac="con"]::before { opacity: 0.75; animation-duration: 6s; }
.vc-the[data-bac="la"]::before { opacity: 0.18; }
.vc-the[data-bac="con"]::before, .vc-the[data-bac="lan"]::before { top: -72px; }   
.vc-the[data-bac="lan"]::before { opacity: 0.15; }
.vc-the-can, .vc-the-chip, .vc-the-chu { position: relative; }                      
.vc-hud.vc-co-con .vc-the { top: calc(7% + 44px); }                                 
.vc-the-ca { position: relative; width: 144px; height: 72px; image-rendering: pixelated; }
.vc-the-ten { position: relative; font: 800 17px/1.15 var(--font-ui, sans-serif); letter-spacing: 0.02em; text-shadow: 0 2px 0 #000, 0 0 10px rgba(0, 0, 0, 0.6); text-align: center; }
.vc-the-can { display: flex; align-items: baseline; gap: 4px; }
.vc-the-can:empty, .vc-the-chip:empty { display: none; }
.vc-the-so { font: 900 26px/1 var(--font-ui, sans-serif); color: #fff4d6; font-variant-numeric: tabular-nums; text-shadow: 0 2px 0 #3a2508, 0 0 12px rgba(255, 210, 110, 0.55); }
.vc-the-dv { color: #d9c9a0; font-weight: 700; }
.vc-the-sao { margin-left: 4px; display: inline-flex; gap: 1px; }
.vc-the-sao i { font-style: normal; font-size: 15px; color: #ffd36a; text-shadow: 0 1px 0 #3a2508, 0 0 6px rgba(255, 200, 80, 0.8); animation: vc-sao 0.38s cubic-bezier(.2, 1.8, .4, 1) backwards; }
@keyframes vc-sao { 0% { transform: scale(0) rotate(-90deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.vc-the-chip { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 2px; }
.vc-chip {
  display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px;
  font: 800 11px/1 var(--font-ui, sans-serif); text-shadow: 0 1px 0 #000;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22); color: #e8e0cc;
  animation: vc-chip 0.3s cubic-bezier(.2, 1.5, .4, 1) backwards;
}
@keyframes vc-chip { 0% { transform: translateY(6px) scale(0.7); opacity: 0; } 100% { transform: none; opacity: 1; } }
.vc-chip-nl { color: var(--ngoc); border-color: rgba(120, 240, 210, 0.55); background: rgba(40, 140, 120, 0.22); }
.vc-chip-nl::before, .vc-gia::before {
  content: ''; width: 12px; height: 12px; flex: none; background: var(--vc-vay) center / contain no-repeat; image-rendering: pixelated;
}
.vc-chip-vang { color: #ffe08a; border-color: rgba(255, 210, 110, 0.6); background: rgba(200, 150, 40, 0.22); }
.vc-chip-ngoc { color: #bfe9ff; border-color: rgba(150, 210, 255, 0.55); background: rgba(60, 120, 200, 0.22); }
.vc-chip-xam { color: #b9c4c8; }
.vc-the-chu { max-width: 260px; font: italic 500 12px/1.35 var(--font-ui, sans-serif); color: #f3d9b8; text-align: center; }
.vc-the-vao { animation: vc-the 0.46s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes vc-the { from { transform: translate(-50%, -14px) scale(0.8); opacity: 0; } to { transform: translate(-50%, 0) scale(1); opacity: 1; } }
.vc-con {
  position: absolute; left: 50%; top: calc(max(10px, env(safe-area-inset-top)) + 36px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px; padding: 4px 10px 4px 6px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 28, 56, 0.95), rgba(8, 12, 28, 0.95));
  border: 1px solid var(--vk);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.45);
  color: #ffe9b8; font: 800 12px/1 var(--font-ui, sans-serif); white-space: nowrap; text-shadow: 0 1px 0 #000;
}
.vc-con > .vc-ic { width: 18px; height: 18px; }
.vc-con-k { position: relative; width: min(200px, 40vw); height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6); }
.vc-con-k b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #3f6fd0, #ffd36a); transition: width 0.2s linear; }
.vc-con-k b::after { content: ''; position: absolute; right: 0; top: -2px; bottom: -2px; width: 3px; background: #fffbe0; box-shadow: 0 0 6px #ffd36a; }
.vc-con-chu { color: #cfe0ff; font-weight: 700; }
.vc-con.vc-con-quay { animation: vc-rung 0.18s steps(2) infinite; border-color: #ff8a6a; }
@keyframes vc-rung { 50% { transform: translateX(calc(-50% + 2px)); } }
.vc-hop { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); }
.vc-hop-khung {
  position: relative; width: min(360px, calc(100vw - 32px)); max-height: 76vh; overflow: auto;
  padding: 12px 14px 14px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(46, 34, 18, 0.98), rgba(16, 12, 7, 0.98));
  border: 1px solid var(--vk);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 226, 150, 0.2), 0 10px 28px rgba(0, 0, 0, 0.6);
  color: var(--chu); font: 500 13px/1.45 var(--font-ui, sans-serif);
  animation: vc-the-hop 0.24s cubic-bezier(.2, 1.3, .4, 1);
}
@keyframes vc-the-hop { from { transform: scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
.vc-hop-dau { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(232, 196, 106, 0.3); font-size: 15px; color: var(--vk-sang); text-shadow: 0 1px 0 #000; }
.vc-hop-x { border: 0; background: none; color: var(--vk); font-size: 22px; cursor: pointer; line-height: 1; }
.vc-hop-phu { margin: 6px 0; color: #c8b896; }
.vc-gia { display: inline-flex; align-items: center; gap: 4px; }
.vc-quay-ghi { font-size: 0.86em; opacity: 0.8; }
.vc-quay-muc { margin: 10px 0 2px; padding: 3px 6px; border-left: 2px solid var(--vk); color: var(--vk-sang);
  font-size: 0.88em; font-weight: 700; letter-spacing: 0.02em; background: linear-gradient(90deg, rgba(232, 196, 106, 0.14), transparent); }
.vc-hang-tuan { display: block; margin-top: 2px; color: #c8b896; font-size: 0.8em; opacity: 0.85; }
.vc-hang-quyet { display: block; margin-top: 2px; color: #b8f5a8; font-size: 0.82em; font-weight: 600; opacity: 0.85; }
.vc-hang { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(232, 196, 106, 0.14); }
.vc-hang-doi, .vc-hang-tra {
  padding: 6px 11px; border-radius: 6px; cursor: pointer; font: 800 12px/1 var(--font-ui, sans-serif);
  border: 1px solid #7a5418; background: linear-gradient(180deg, #f6d77e, #c9962f); color: #2a1a06;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 #5a3c10;
}
.vc-hang-doi:active, .vc-hang-tra:active { transform: translateY(1px); }
.vc-hang-doi.vc-gia::before { width: 13px; height: 13px; }
.vc-hang-doi:disabled { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #9a9078; box-shadow: none; cursor: default; }
.vc-hang-tra:disabled { opacity: 0.5; cursor: default; }
.vc-lao { margin: 2px 0 8px; padding: 7px 10px; border-left: 3px solid #d8b07a; background: rgba(216, 176, 122, 0.1); color: #f1e2c4; font-style: italic; }
.vc-top { margin: 6px 0; padding-left: 22px; }
.vc-top li { padding: 2px 0; }
.vc-top li.vc-la-minh { color: var(--ngoc); font-weight: 700; }
.vc-hop-nut { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.vc-hop-khung.vc-quay {
  width: min(480px, calc(100vw - 24px)); max-height: min(640px, 86vh);
  display: flex; flex-direction: column; overflow: hidden; padding-bottom: 10px;
}
.vc-quay > * { flex: none; }
.vc-quay .vc-hop-dau { gap: 10px; }
.vc-quay .vc-hop-dau b { flex: 1; font-weight: 600; }
.vc-quay-nl {
  padding: 4px 10px 4px 7px; border-radius: 999px; font: 600 14px/1 var(--font-ui, sans-serif); color: var(--ngoc);
  background: rgba(40, 140, 120, 0.22); border: 1px solid rgba(120, 240, 210, 0.5); text-shadow: 0 1px 0 #000;
}
.vc-quay-nl::before { width: 15px; height: 15px; }
.vc-quay .vc-lao { margin: 0 0 8px; padding: 5px 9px; font-size: 12px; }
.vc-quay .vc-hang-ruou { gap: 8px; margin-bottom: 8px; padding: 6px 8px; border: 1px solid rgba(232, 196, 106, 0.45);
  border-radius: 8px; background: rgba(232, 196, 106, 0.1); }
.vc-quay .vc-hang-ruou .vc-hang-ten { flex: 1; }
.vc-quay-the { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 1px;
  border-bottom: 1px solid rgba(232, 196, 106, 0.3); }
.vc-quay-the::-webkit-scrollbar { display: none; }
.vc-quay-tab {
  flex: 1 0 auto; padding: 7px 10px 6px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0;
  background: none; color: #b9aa86; font: 600 12.5px/1 var(--font-ui, sans-serif); cursor: pointer; white-space: nowrap;
}
.vc-quay-tab:hover { color: var(--chu); }
.vc-quay-tab.vc-on {
  color: var(--vk-sang); border-color: rgba(232, 196, 106, 0.45);
  background: linear-gradient(180deg, rgba(232, 196, 106, 0.2), rgba(232, 196, 106, 0.04));
  box-shadow: inset 0 2px 0 var(--vk);
}
.vc-quay .vc-quay-ghi { margin: 7px 0 6px; font-size: 11.5px; color: #c8b896; opacity: 1; }
.vc-quay-luoi {
  flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; align-content: start;
  padding: 1px 2px 2px 0;
}
.vc-o {
  display: flex; flex-direction: column; gap: 5px; padding: 7px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(232, 196, 106, 0.18);
}
.vc-o-tren { display: flex; align-items: center; gap: 7px; min-height: 36px; }
.vc-o-ic {
  position: relative; flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(232, 196, 106, 0.22);
}
.vc-o-ic canvas { width: 32px; height: 32px; image-rendering: pixelated; }
.vc-o-n { position: absolute; right: -3px; bottom: -4px; padding: 1px 3px; border-radius: 4px; font: 600 10px/1 var(--font-ui, sans-serif);
  font-style: normal; color: #fff3cf; background: rgba(0, 0, 0, 0.75); }
.vc-o-ten { font-size: 12.5px; line-height: 1.25; color: var(--chu); }
.vc-o-phu { font-size: 10.5px; line-height: 1.2; color: #a99c80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-o-phu.vc-o-quyet { color: #b8f5a8; white-space: normal; }
.vc-quay .vc-quay-ghi.hidden { display: none; }
.vc-quay-the + .vc-quay-ghi.hidden + .vc-quay-luoi { margin-top: 8px; }
.vc-o-gia {
  display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: auto;
  padding: 6px 8px; border-radius: 6px; cursor: pointer; font: 600 13px/1 var(--font-ui, sans-serif);
  border: 1px solid #7a5418; background: linear-gradient(180deg, #f6d77e, #c9962f); color: #2a1a06;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 #5a3c10;
}
.vc-o-gia.vc-gia::before { width: 13px; height: 13px; }
.vc-o-gia:active { transform: translateY(1px); }
.vc-o-gia.vc-thieu { filter: grayscale(0.6) brightness(0.8); }
.vc-o-gia:disabled { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #9a9078; box-shadow: none; cursor: default; }
.vc-o.vc-o-xong { opacity: 0.6; }
.vc-o.vc-o-mua { animation: vc-o-mua 0.4s ease-out; }
@keyframes vc-o-mua { 0% { box-shadow: 0 0 0 0 rgba(159, 243, 223, 0.7); } 100% { box-shadow: 0 0 0 8px rgba(159, 243, 223, 0); } }
.vc-quay .vc-quay-chan { margin: 8px 0 0; font-size: 10.5px; text-align: center; opacity: 0.75; }
.vc-quay .vc-hop-nut { margin-top: 6px; }
@media (max-width: 420px) {
  .vc-hop-khung.vc-quay { padding-left: 10px; padding-right: 10px; }
  .vc-quay-the { gap: 2px; }
  .vc-quay-tab { padding: 7px 5px 6px; font-size: 12px; }
  .vc-quay-luoi { grid-template-columns: 1fr 1fr; }
  .vc-o-ten { font-size: 12px; }
}
@media (max-height: 460px) { .vc-hop-khung.vc-quay { max-height: 94vh; } .vc-quay .vc-lao { display: none; } }
.vc-pho { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin: 6px 0; }
.vc-pho-o {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 2px 6px;
  border-radius: 8px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(232, 196, 106, 0.18); text-align: center;
}
.vc-pho-o canvas { width: 96px; height: 48px; }
.vc-pho-o b { font-size: 11px; line-height: 1.2; }
.vc-pho-o small { color: #a99c80; font-size: 10px; }
@media (max-width: 520px) {
  .vc-cum { transform: scale(0.9); transform-origin: right bottom; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .vc-vao, .vc-dau { top: calc(env(safe-area-inset-top, 0px) + 206px); }
  .vc-con { top: calc(env(safe-area-inset-top, 0px) + 240px); }
  .vc-the { top: 22%; }
  .vc-hud.vc-co-con .vc-the { top: calc(env(safe-area-inset-top, 0px) + 278px); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .vc-dau { top: auto; bottom: max(8px, env(safe-area-inset-bottom)); }
  .vc-con { top: auto; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 38px); }
  .vc-hud.vc-co-con .vc-the { top: 7%; }
}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 700px) {
  .vc-luat-ten { display: none; }                  
}
.vc-hud.vc-nhe .vc-loe, .vc-hud.vc-nhe::before, .vc-hud.vc-nhe .vc-the::before, .vc-hud.vc-nhe .vc-day::before { display: none; }
.vc-hud.vc-nhe .vc-nut::before, .vc-hud.vc-nhe .vc-nut::after,
.vc-hud.vc-nhe .vc-nut-hinh, .vc-hud.vc-nhe .vc-nut-hinh svg { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .vc-vao, .vc-vao::before, .vc-vao::after, .vc-nut, .vc-nut::before, .vc-nut::after, .vc-nut-hinh, .vc-nut-hinh svg,
  .vc-nut-mat, .vc-goi, .vc-con.vc-con-quay, .vc-the::before, .vc-day::before, .vc-day-ca, .vc-tu-quyet,
  .vc-gio-o.vc-gap, .vc-hud::before, .vc-nut-nuoc { animation: none !important; }
}
