/* Xep cau (keo tha) va noi tu tren dien thoai — public/js/cau-dt.js; dung chung /choi, /dk */
.cdt { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.cdt-dich {
  min-height: 86px; display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: center; gap: 8px; padding: 12px;
  border: 3px dashed #cfb185; border-radius: 18px; background: #fffdf8; box-shadow: inset 0 3px 0 rgba(58, 42, 36, .05); transition: border-color .15s, background .15s;
}
.cdt-dich.du { border-style: solid; border-color: #e0a63a; background: #fff3d6; animation: cdtNay .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cdtNay { 50% { transform: scale(1.025); } }
.cdt-dich.cdt-sap-tha { border-color: #2f8a57; background: #eaf7e1; }
.cdt-goi { align-self: center; margin: auto; color: #8a7358; font-weight: 700; font-size: .92rem; }
.cdt-kho { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 58px; }
.cdt-the {
  min-width: 52px; min-height: 52px; padding: 10px 14px; border: 2.5px solid #2b1d3a; border-radius: 14px; background: #fff;
  box-shadow: 0 4px 0 rgba(43, 29, 58, .35); font-family: 'Noto Serif SC', serif; font-size: 1.55rem; font-weight: 700; color: #2b1d3a; line-height: 1.15;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .15s cubic-bezier(.3, 1.6, .5, 1);
}
.cdt-the:active { transform: translateY(2px) scale(.96); box-shadow: 0 2px 0 rgba(43, 29, 58, .35); }
.cdt-dich .cdt-the { border-color: #2b1d3a; box-shadow: 0 4px 0 #c98a1e; background: #ffe9a8; }
.cdt-trong { visibility: hidden; }
.cdt-dang-keo { opacity: .3; }
.cdt-bong { position: fixed; z-index: 9999; pointer-events: none; transform: rotate(-4deg) scale(1.08); box-shadow: 0 12px 24px rgba(43, 29, 58, .3); border-color: #e0a63a; cursor: grabbing; }
.cdt-nut { display: flex; gap: 10px; justify-content: center; }
.cdt-nut button { font: inherit; font-weight: 800; border-radius: 16px; padding: 12px 18px; min-height: 50px; border: 3px solid #2b1d3a; cursor: pointer; }
.cdt-lai { background: #fff; color: #6b5a4a; box-shadow: 0 4px 0 #2b1d3a; }
.cdt-gui { flex: 1; max-width: 260px; background: #2f8a57; color: #fff; box-shadow: 0 4px 0 #1d5c38; font-size: 1.1rem; }
.cdt-gui:disabled { background: #c8c2b8; box-shadow: 0 4px 0 #a39c90; color: #f7f3ec; cursor: default; }
.cdt-khoa { pointer-events: none; }
.cdt-khoa .cdt-the { cursor: default; }
/* noi tu */
.cdt-noi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cdt-cot { display: flex; flex-direction: column; gap: 10px; }
.cdt-o {
  display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 8px 12px; text-align: left;
  border: 2.5px solid #2b1d3a; border-radius: 16px; background: #fff; box-shadow: 0 4px 0 rgba(43, 29, 58, .3);
  font: inherit; font-weight: 700; font-size: 1rem; color: #2b1d3a; cursor: pointer;
}
.cdt-trai .cdt-o { font-family: 'Noto Serif SC', serif; font-size: 1.45rem; }
.cdt-o.chon { border-color: #2b1d3a; background: #fff3d6; transform: translateY(-2px); box-shadow: 0 6px 0 #2b1d3a, 0 0 0 4px rgba(233, 162, 59, .4); }
.cdt-o.co { border-color: var(--mau); box-shadow: 0 4px 0 var(--mau); background: #fffdf6; }
.cdt-so { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #4a3426; color: #fff; font: 800 .9rem 'Be Vietnam Pro', sans-serif; }
.cdt-o.co .cdt-so { background: var(--mau); }
.cdt-chu { background: #c79a5a; }
@media (max-width: 380px) { .cdt-the { font-size: 1.3rem; padding: 8px 11px; } .cdt-trai .cdt-o { font-size: 1.25rem; } }
