.haiO { display: flex; gap: 10px; align-items: stretch; margin: 10px 0 4px; flex-wrap: wrap; }
.haiO .o { flex: 1; min-width: 220px; background: #fff; border: 2px dashed var(--vien); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.haiO .o.co { border-style: solid; border-color: var(--nhan); }
.haiO #doi { align-self: center; font-size: 20px; }
.nhanO { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; color: #fff; }
.nhanO.a { background: #d6336c; } .nhanO.b { background: #1971c2; }
#vung { position: relative; display: inline-block; max-width: 100%; }
#vung canvas { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: 0 1px 8px rgb(0 0 0/.35); }
#vung.canh { display: flex; gap: 12px; flex-wrap: wrap; }
.truot { position: relative; display: inline-block; cursor: ew-resize; touch-action: none; user-select: none; }
.truot .tren { position: absolute; inset: 0; overflow: hidden; }
.truot .tren canvas { position: absolute; left: 0; top: 0; max-width: none; height: 100%; width: 100%; box-shadow: none; }
.truot .tay { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--nhan); box-shadow: 0 0 0 1px #fff; }
.truot .tay::after { content: '⇆'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--nhan); color: #fff; width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; font-size: 18px; }
.dsTrang { max-height: 300px; overflow: auto; border: 1px solid var(--vien); border-radius: 6px; background: #fff; }
.dsTrang button { display: flex; justify-content: space-between; width: 100%; border: 0; border-bottom: 1px solid var(--vien); background: #fff; color: inherit; padding: 6px 10px; border-radius: 0; font-weight: 400; cursor: pointer; }
.dsTrang button.on { background: #e8f1fc; font-weight: 600; }
.dsTrang .them { color: #1971c2; } .dsTrang .bot { color: #d6336c; margin-left: 8px; }
.chuThich i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
