/* Chay dua chu Han (public/js/tro-nha-chay.js) */
.tn-chaydua .tn-san { display: flex; justify-content: center; align-items: center; min-height: 0; padding: 0; overflow: hidden; }
.tn-cd-cv { display: block; max-width: 100%; border-radius: 18px; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; box-shadow: 0 6px 0 rgba(43, 29, 58, 0.25); }
.tn-cd-nut { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0 2px; }
.tn-cd-nut button {
  width: 64px; height: 52px; border-radius: 16px; border: 3px solid #2b1d3a; background: #ffd54f; color: #2b1d3a;
  font-size: 1.4rem; font-weight: 900; box-shadow: 0 4px 0 #2b1d3a; cursor: pointer; touch-action: manipulation;
}
.tn-cd-nut button:active { transform: translateY(3px); box-shadow: 0 1px 0 #2b1d3a; }
.tn-cd-nut button:focus-visible { outline: 3px solid #4f8cff; outline-offset: 3px; }
.tn-cd-goi { font-size: 0.82rem; font-weight: 600; color: var(--color-gray-600, #5f5952); text-align: center; max-width: 200px; }
.tn-cd-de { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.tn-cd-de small { font-size: 0.78rem; font-weight: 600; opacity: 0.8; }
.tn-cd-loa { border: 2px solid #2b1d3a; background: #fff3c4; border-radius: 12px; padding: 2px 10px; font-size: 1.1rem; cursor: pointer; margin-right: 6px; }
@media (max-width: 640px) {

  .tn-cd-goi { display: none; }
  .tn-cd-nut button { width: 96px; height: 56px; }
}
/* hang 3 o dap an duoi de */
.tn-chaydua .tn-de { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.tn-cd-lua { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 520px; }
.tn-cd-o {
  display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px 6px; min-height: 48px; border-radius: 12px;
  border: 2.5px solid #2b1d3a; background: #fffdf6; color: #2b1d3a; font: inherit; cursor: pointer; box-shadow: 0 3px 0 #2b1d3a;
}
.tn-cd-o i { font-style: normal; font-size: 0.7rem; opacity: 0.6; }
.tn-cd-o b { font-size: 0.95rem; line-height: 1.2; word-break: break-word; }
.tn-cd-lua.la-zh .tn-cd-o b { font-family: 'Noto Serif SC', serif; font-size: 1.35rem; }
.tn-cd-o.on { background: #ffe9a8; border-color: #e68a00; box-shadow: 0 3px 0 #e68a00; }
.tn-cd-o.dung { background: #8ff0a0; }
.tn-cd-o.sai { background: #ff9c9c; }
.tn-cd-o:disabled { cursor: default; }
.tn-cd-o:focus-visible { outline: 3px solid #4f8cff; outline-offset: 2px; }
