/* Trang chơi Thông Điệp Kim Cương (templates/la-tham.php). Màu theo quy chuẩn DCI. */
.dci-lt { --lt-electric: #0112BC; --lt-sky: #00B6FC; --lt-egg: #F7F6F5; --lt-dark: #000066; --lt-peri: #B0E1FF; --lt-green: #5FD5AB; --lt-golden: #FFCC00;
  --lt-muted: #3b3f7a; --lt-line: rgba(0, 0, 102, .12); --lt-nhan: #FFCC00;
  background: var(--lt-egg); color: var(--lt-dark); font-family: var(--dci-font, 'Montserrat', Arial, sans-serif); padding: 110px 0 60px; min-height: 70vh; }
@media (max-width: 980px) { .dci-lt { padding-top: 90px; } }
.dci-lt *, .dci-lt *::before, .dci-lt *::after { box-sizing: border-box; }
.dci-lt [hidden] { display: none !important; }
.dci-lt-khung { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.dci-lt button { font-family: inherit; cursor: pointer; }
.dci-lt h1, .dci-lt h2, .dci-lt h3 { font-family: var(--dci-font-head, 'Montserrat', sans-serif); color: var(--lt-dark); padding: 0; }
.dci-lt-tai { text-align: center; color: var(--lt-muted); padding: 40px 0; }

/* Nút chung */
.dci-lt-nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 700; font-size: 15px; line-height: 1.3; transition: transform .15s, background .2s; }
.dci-lt-nut:active { transform: scale(.98); }
.dci-lt-nut.chinh { background: var(--lt-electric); color: #fff; }
.dci-lt-nut.chinh:hover { background: var(--lt-dark); }
.dci-lt-nut.phu { background: var(--lt-egg); color: var(--lt-dark); border: 1px solid var(--lt-line); }
.dci-lt-nut.rong { width: 100%; }
.dci-lt-nut:disabled { opacity: .6; cursor: default; }
.dci-lt-nut:focus-visible, .dci-lt-lung:focus-visible, .dci-lt-qua-nut:focus-visible { outline: 3px solid var(--lt-sky); outline-offset: 2px; }

/* Hôm sau */
.dci-lt-hq { text-align: center; padding: 30px 0 50px; }
.dci-lt-hq h2 { font-size: 26px; margin: 12px 0; }
.dci-lt-hq p { color: var(--lt-muted); max-width: 420px; margin: 0 auto 22px; line-height: 1.6; }
.dci-lt-hang { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Chọn lá */
.dci-lt-chon { text-align: center; padding: 10px 0 30px; }
.dci-lt-chon h1 { font-weight: 700; font-size: clamp(28px, 7vw, 44px); color: var(--lt-electric); margin: 0; letter-spacing: -.5px; }
.dci-lt-phu-de { font-weight: 700; margin: 6px 0 0; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.dci-lt-ban-be { display: inline-block; margin: 16px 0 0; background: #fff; border: 1px solid var(--lt-line); border-radius: 99px; padding: 8px 16px; font-size: 14px; }
.dci-lt-chao { display: inline-block; margin: 0 0 14px; padding: 7px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--lt-line); font-size: 14px; font-weight: 600; color: var(--lt-dark); }
.dci-lt-gioi-thieu { max-width: 560px; margin: 16px auto 0; color: var(--lt-muted); font-size: 15.5px; line-height: 1.7; padding: 0; }
.dci-lt-cach-choi { list-style: none; display: flex; justify-content: center; gap: 12px; margin: 22px auto 0; padding: 0; max-width: 640px; }
.dci-lt-cach-choi li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--lt-line); border-radius: 14px; padding: 14px 10px; font-size: 13.5px; line-height: 1.45; color: var(--lt-muted); }
.dci-lt-cach-choi b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lt-golden); color: var(--lt-dark); font-size: 15px; }
.dci-lt-cach-choi strong { color: var(--lt-dark); }
@media (max-width: 520px) { .dci-lt-cach-choi { gap: 8px; } .dci-lt-cach-choi li { padding: 12px 6px; font-size: 12.5px; } }
.dci-lt-ghi-chu { max-width: 420px; margin: 26px auto 0; color: var(--lt-muted); font-size: 14px; line-height: 1.6; padding: 0; }
.dci-lt-nhac { color: var(--lt-muted); margin: 20px auto 26px; max-width: 340px; line-height: 1.6; font-size: 15px; }
.dci-lt-bo { display: flex; justify-content: center; gap: clamp(8px, 2.6vw, 28px); perspective: 1200px; }
/* Thẻ úp: rộng hơn (tỉ lệ 5:7), tối đa 240px; flex tự co cho vừa 3 thẻ trên điện thoại. */
.dci-lt-lung { flex: 0 1 240px; min-width: 0; aspect-ratio: 5 / 7; container-type: inline-size; border: 0; border-radius: 16px; position: relative; overflow: hidden; padding: 0;
  background: linear-gradient(160deg, var(--lt-electric) 0%, var(--lt-dark) 100%); box-shadow: 0 14px 30px rgba(0, 0, 102, .25);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s; animation: dci-lt-noi 4s ease-in-out infinite; }
.dci-lt-lung:nth-child(2) { animation-delay: -1.3s; } .dci-lt-lung:nth-child(3) { animation-delay: -2.6s; }
.dci-lt-lung::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(176, 225, 255, .45); border-radius: 11px; }
.dci-lt-lung::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(0, 182, 252, .35), transparent 60%); }
.dci-lt-lung img { position: absolute; top: 11%; left: 50%; transform: translateX(-50%); width: 42%; height: auto; z-index: 1; }
.dci-lt-lung svg { position: absolute; top: 38%; left: 50%; transform: translateX(-50%); width: 40%; z-index: 1; }
/* Chữ co theo bề ngang thẻ (cqi) và xuống 2 dòng cân đối, không tràn khung viền. */
.dci-lt-lung span { position: absolute; bottom: 9%; left: 12%; right: 12%; color: var(--lt-peri); font-size: clamp(9px, 7cqi, 15px); line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; text-wrap: balance; overflow-wrap: break-word; z-index: 1; }
.dci-lt-lung:hover { transform: translateY(-10px); }
@keyframes dci-lt-noi { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.dci-lt-bo.da-chon .dci-lt-lung { animation: none; cursor: default; }
.dci-lt-bo.da-chon .dci-lt-lung:not(.chon) { opacity: 0; transform: scale(.85); }
.dci-lt-lung.chon { z-index: 2; }
.dci-lt-lung.lat { transform: var(--lt-ra-giua) scale(1.35) rotateY(90deg) !important; transition: transform .55s ease-in; }

/* Kết quả */
.dci-lt-bo-cuc { display: grid; gap: 24px; }
@media (min-width: 900px) { .dci-lt-bo-cuc { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; } .dci-lt-ben { position: sticky; top: 100px; } }
.dci-lt-the { position: relative; overflow: hidden; border-radius: 22px; padding: 28px 22px 22px; border: 1px solid var(--lt-line);
  background: radial-gradient(120% 60% at 85% 0%, rgba(0, 182, 252, .2), transparent 60%), radial-gradient(80% 50% at 0% 100%, rgba(95, 213, 171, .22), transparent 60%), linear-gradient(180deg, #fff 0%, var(--lt-egg) 55%, #eef7ff 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 102, .14); animation: dci-lt-lat-vao .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dci-lt-lat-vao { from { transform: perspective(1200px) rotateY(-90deg) scale(.9); } to { transform: none; } }
.dci-lt-the::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(1, 18, 188, .14); border-radius: 15px; pointer-events: none; }
.dci-lt-tia { position: absolute; top: -30%; right: -20%; width: 90%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 200deg, rgba(0, 182, 252, .07) 0 6deg, transparent 6deg 14deg); animation: dci-lt-xoay 60s linear infinite; }
@keyframes dci-lt-xoay { to { transform: rotate(360deg); } }
.dci-lt-the > *:not(.dci-lt-tia) { position: relative; }
.dci-lt-logo { display: block; height: 28px; width: auto; margin: 0 auto; }
.dci-lt-nhan { display: table; margin: 18px auto 0; background: var(--lt-nhan); color: var(--lt-dark); font-weight: 700; font-size: 19px; padding: 8px 22px; border-radius: 99px; }
.dci-lt-muc { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lt-electric); margin: 22px 0 10px; }
.dci-lt-muc::before, .dci-lt-muc::after { content: ""; height: 1px; width: 34px; background: rgba(1, 18, 188, .3); }
.dci-lt-chinh { font-family: var(--dci-font-head, 'Montserrat', sans-serif); font-weight: 700; text-align: center; font-size: clamp(20px, 5.6vw, 30px); line-height: 1.35; margin: 0; padding: 0; text-wrap: balance; color: var(--lt-dark); }
.dci-lt-chinh span { display: inline; }
.dci-lt-loi { text-align: center; font-size: 16px; line-height: 1.65; color: var(--lt-muted); max-width: 440px; margin: 0 auto; padding: 0; }
.dci-lt-o { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .85); border: 1px solid var(--lt-line); border-radius: 16px; padding: 16px; margin-top: 14px; }
.dci-lt-o .ic { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.dci-lt-o.hat .ic { background: var(--lt-green); } .dci-lt-o.hoi .ic { background: var(--lt-peri); }
.dci-lt-o h3 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lt-electric); margin: 0 0 6px; }
.dci-lt-o p { font-size: 15.5px; line-height: 1.6; font-style: italic; font-weight: 500; margin: 0; padding: 0; color: var(--lt-dark); }
.dci-lt-chan { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--lt-dark); margin: 20px 0 0; padding: 0; letter-spacing: .3px; }
.dci-lt-chan span { color: var(--lt-electric); font-weight: 600; }
.h { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.h.hien { opacity: 1; transform: none; }
.dci-lt-doc-cham { text-align: center; margin: 12px 0 0; font-size: 13px; color: var(--lt-muted); transition: opacity .4s; }
.dci-lt-doc-cham button { background: none; border: 0; color: var(--lt-electric); font-weight: 700; text-decoration: underline; font-size: 13px; padding: 0; }

/* Cột hành động */
.dci-lt-hop { background: #fff; border: 1px solid var(--lt-line); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.dci-lt-hop h2 { font-size: 20px; margin: 0 0 6px; }
.dci-lt-hop .mo-ta { font-size: 14px; color: var(--lt-muted); line-height: 1.6; margin: 0 0 14px; padding: 0; }
.dci-lt-da-ck { display: flex; align-items: center; gap: 14px; }
.dci-lt-da-ck svg { width: 64px; height: 64px; flex: 0 0 64px; }
.dci-lt-da-ck b { display: block; font-size: 18px; }
.dci-lt-da-ck small { color: var(--lt-muted); font-size: 13px; line-height: 1.5; }
.dci-lt-da-ck .moc path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: dci-lt-ve 1.4s ease forwards; }
.dci-lt-da-ck .moc .la { transform-origin: 32px 34px; transform: scale(0); animation: dci-lt-bung .6s .9s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.dci-lt-da-ck .moc .la path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
@keyframes dci-lt-ve { to { stroke-dashoffset: 0; } }
@keyframes dci-lt-bung { to { transform: scale(1); } }

.dci-lt-qua-nut { display: flex; align-items: center; gap: 14px; width: 100%; background: linear-gradient(135deg, #fffbe6, var(--lt-egg)); border: 1.5px dashed rgba(1, 18, 188, .35); border-radius: 14px; padding: 12px 14px; text-align: left; color: var(--lt-dark); transition: transform .2s; }
.dci-lt-qua-nut:hover { transform: translateY(-2px); }
.dci-lt-qua-nut b { display: block; font-size: 16px; line-height: 1.35; }
.dci-lt-qua-nut small { display: block; font-size: 13px; color: var(--lt-electric); font-weight: 700; margin-top: 3px; }
.dci-lt-qua-nut .hop { width: 56px; height: 56px; flex: 0 0 56px; overflow: visible; }
.dci-lt-qua-nut .nap { transform-origin: 12px 30px; animation: dci-lt-lac 2.4s ease-in-out infinite; }
@keyframes dci-lt-lac { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-6deg) translateY(-2px); } 90% { transform: rotate(4deg); } 95% { transform: rotate(-2deg); } }
.dci-lt-qua.mo .dci-lt-qua-nut { border-style: solid; cursor: default; }
.dci-lt-qua.mo .dci-lt-qua-nut small { display: none; }
.dci-lt-qua.mo .nap { animation: none; transform: rotate(-28deg) translate(-4px, -10px); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.dci-lt-qua-than { margin-top: 14px; animation: dci-lt-mo .45s ease both; }
@keyframes dci-lt-mo { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.dci-lt form .o { display: block; margin-bottom: 12px; }
.dci-lt form .o span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.dci-lt form input[type=text], .dci-lt form input[type=tel], .dci-lt form input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid rgba(0, 0, 102, .2); border-radius: 10px; background: var(--lt-egg); color: var(--lt-dark); }
.dci-lt form input:focus { outline: 2px solid var(--lt-sky); outline-offset: 1px; }
.dci-lt form .bay { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dci-lt form .ck { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--lt-muted); margin: 10px 0; }
.dci-lt form .ck input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--lt-electric); }
.dci-lt form .ck a { color: var(--lt-electric); }
.dci-lt form .loi { color: #c2240a; font-size: 13px; min-height: 18px; margin: 4px 0 8px; padding: 0; }
.dci-lt-ma { text-align: center; background: var(--lt-egg); border: 2px dashed var(--lt-electric); border-radius: 14px; padding: 16px; }
.dci-lt-ma b { display: block; font-size: 26px; letter-spacing: 3px; color: var(--lt-electric); margin: 6px 0; }
.dci-lt-ma small { color: var(--lt-muted); font-size: 12.5px; line-height: 1.5; display: block; }
.dci-lt-ma .dci-lt-nut { margin: 8px 0; }

.dci-lt-chia { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dci-lt-chia .rong { grid-column: 1 / -1; }
.dci-lt-kham-pha { display: block; text-decoration: none !important; color: #fff !important; border-radius: 18px; padding: 20px; background: linear-gradient(135deg, var(--lt-electric), var(--lt-dark)); margin-bottom: 16px; }
.dci-lt-kham-pha small { color: var(--lt-peri); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.dci-lt-kham-pha b { display: block; font-size: 19px; margin: 6px 0 4px; }
.dci-lt-kham-pha span { font-size: 14px; color: #dfe8ff; }
.dci-lt-mai { text-align: center; color: var(--lt-muted); font-size: 14px; padding: 6px 0 10px; margin: 0; }
.dci-lt-mai b { color: var(--lt-electric); font-variant-numeric: tabular-nums; }

.dci-lt-bao { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(30px); background: var(--lt-dark); color: #fff; padding: 10px 18px; border-radius: 99px; font-size: 14px; opacity: 0; transition: .3s; pointer-events: none; z-index: 99990; max-width: 90vw; text-align: center; }
.dci-lt-bao.hien { opacity: 1; transform: translateX(-50%); }

/* ---------- Thẻ hiếm (Bạc / Vàng / Kim Cương) ---------- */
.dci-lt { --kl1: #F4F6FA; --kl2: #A9B2C3; --kl3: #E6EAF2; --kl4: #7D879B; }
.dci-lt.hang-2 { --kl1: #FFF3B8; --kl2: #C9961A; --kl3: #FFCC00; --kl4: #9A6B00; }
.dci-lt.hang-3 { --kl1: #FFFFFF; --kl2: #B0E1FF; --kl3: #FFC5DD; --kl4: #00DDD7; }
.dci-lt-cot-the { display: grid; gap: 20px; }
.dci-lt-hiem { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 2 / 3; border-radius: 18px; overflow: hidden; overflow: clip; isolation: isolate; container-type: inline-size;
  background: linear-gradient(180deg, #F4F6FA, #C9D0DC); box-shadow: 0 26px 60px rgba(0, 0, 40, .35); animation: dci-lt-hiem-vao 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dci-lt-hiem-vao { 0% { transform: perspective(1200px) rotateY(-100deg) scale(.85); filter: brightness(2.2); } 60% { filter: brightness(1.4); } 100% { transform: none; filter: none; } }
.dci-lt.hang-2 .dci-lt-hiem { background: linear-gradient(180deg, #FFF3B8, #E0A93A); }
.dci-lt.hang-3 .dci-lt-hiem { background: linear-gradient(180deg, #1E5BFF, #0112BC); }
.dci-lt-hiem-nen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dci-lt-hiem-sang { position: absolute; inset: -40%; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%); animation: dci-lt-quet 4.5s ease-in-out 1s infinite; }
@keyframes dci-lt-quet { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
/* Ô chữ: 1/3 dưới thẻ, chỗ núi và mặt nước */
.dci-lt-hiem-o { position: absolute; z-index: 1; left: 8%; right: 8%; top: 56%; bottom: 8.5%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 7.5cqw 5cqw 4cqw; border-radius: 5cqw; text-align: center; color: #000066; background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0, 0, 60, .18); }
.dci-lt.hang-2 .dci-lt-hiem-o { background: rgba(255, 251, 238, .8); border-color: rgba(255, 236, 170, .95); box-shadow: 0 10px 30px rgba(120, 80, 0, .22); }
.dci-lt.hang-3 .dci-lt-hiem-o { color: #fff; background: rgba(0, 0, 102, .58); border-color: rgba(176, 225, 255, .55); box-shadow: 0 10px 30px rgba(0, 0, 40, .4); }
.dci-lt-hiem-hang { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.dci-lt-hiem-hang span { display: inline-block; padding: 1.6cqw 4.5cqw; border-radius: 99px; font-weight: 800; font-size: 3.1cqw; letter-spacing: .55cqw; text-transform: uppercase; color: #000066;
  background: linear-gradient(135deg, var(--kl1), var(--kl3) 50%, var(--kl2)); box-shadow: 0 4px 14px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .7) inset; }
.dci-lt-hiem-muc { margin: 0 0 1.6cqw; padding: 0; font-size: 2.6cqw; font-weight: 700; letter-spacing: .6cqw; text-transform: uppercase; color: #0112BC; }
.dci-lt.hang-2 .dci-lt-hiem-muc { color: #9A6B00; }
.dci-lt.hang-3 .dci-lt-hiem-muc { color: #B0E1FF; }
.dci-lt-hiem-cau { margin: 0; padding: 0; border: 0; font-family: var(--dci-font-head, 'Montserrat', sans-serif); font-size: 5.6cqw; line-height: 1.34; font-weight: 600; font-style: italic; color: inherit; text-wrap: balance; }
.dci-lt-hiem-cau::before { content: "\201C"; margin-right: .1em; color: var(--kl2); font-style: normal; }
.dci-lt-hiem-cau::after { content: "\201D"; margin-left: .1em; color: var(--kl2); font-style: normal; }
.dci-lt.hang-3 .dci-lt-hiem-cau::before, .dci-lt.hang-3 .dci-lt-hiem-cau::after { color: #FFC5DD; }
.dci-lt-hiem-chan { display: flex; align-items: center; justify-content: center; gap: 3cqw; margin-top: 2.8cqw; }
.dci-lt-hiem-nguoi { margin: 0; padding: 0; font-size: 3cqw; font-weight: 700; color: #0112BC; }
.dci-lt.hang-2 .dci-lt-hiem-nguoi { color: #9A6B00; }
.dci-lt.hang-3 .dci-lt-hiem-nguoi { color: #B0E1FF; }
.dci-lt-hiem-nguoi::before { content: "\2014  "; }
.dci-lt-hiem-logo { display: block; width: 11cqw; height: auto; padding-left: 3cqw; border-left: 1px solid currentColor; }
.dci-lt-hiem-logo.trang, .dci-lt.hang-3 .dci-lt-hiem-logo.mau { display: none; }
.dci-lt.hang-3 .dci-lt-hiem-logo.trang { display: block; }

.dci-lt-ghi-chu.nho { margin-top: 10px; font-size: 13.5px; }

/* Lật được thẻ hiếm: lóe sáng toàn trang */
.dci-lt-loe { position: fixed; inset: 0; z-index: 99980; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 40%, var(--kl1) 0%, var(--kl3) 18%, transparent 60%); animation: dci-lt-loe 1.3s ease-out forwards; }
@keyframes dci-lt-loe { 0% { opacity: 0; } 15% { opacity: .95; } 100% { opacity: 0; } }
.dci-lt.hang-1 .dci-lt-loe { animation-duration: 1.1s; }
.dci-lt.hang-3 .dci-lt-loe { animation-duration: 1.9s; background: radial-gradient(circle at 50% 40%, #fff 0%, #B0E1FF 22%, rgba(1, 18, 188, .35) 50%, transparent 75%); }
/* Hạt sáng (Vàng) và mảnh kim cương (Kim Cương) */
.dci-lt-hat { position: fixed; inset: 0; z-index: 99981; pointer-events: none; overflow: hidden; }
.dci-lt-hat i { position: absolute; left: var(--x); width: var(--c); height: var(--c); opacity: 0; animation: var(--d) cubic-bezier(.25, .6, .4, 1) var(--tre) forwards; }
.dci-lt-hat.hang2 i { bottom: -20px; border-radius: 50%; animation-name: dci-lt-bay-len;
  background: radial-gradient(circle, #fff 0%, #FFE680 30%, #FFCC00 55%, rgba(255, 204, 0, 0) 72%); box-shadow: 0 0 10px 2px rgba(255, 190, 0, .55); }
@keyframes dci-lt-bay-len { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--lech), -88vh) scale(1.15); } }
.dci-lt-hat.hang3 i { top: -30px; width: calc(var(--c) * .72); height: var(--c); animation-name: dci-lt-roi; animation-timing-function: cubic-bezier(.3, .2, .6, 1);
  clip-path: polygon(50% 0, 100% 34%, 50% 100%, 0 34%); background: linear-gradient(135deg, #fff 0%, #B0E1FF 50%, #FFC5DD 100%); filter: drop-shadow(0 0 5px rgba(176, 225, 255, .95)); }
.dci-lt-hat.hang3 i:nth-child(3n) { background: linear-gradient(135deg, #fff, #00DDD7); }
.dci-lt-hat.hang3 i:nth-child(4n) { background: linear-gradient(135deg, #fff, #FFC5DD); }
@keyframes dci-lt-roi { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--lech), 108vh) rotate(var(--xoay)); } }
/* Thẻ Kim Cương: sao lấp lánh liên tục + viền sáng thở */
.dci-lt.hang-3 .dci-lt-hiem { animation: dci-lt-hiem-vao 1.1s cubic-bezier(.2, .8, .2, 1) both, dci-lt-tho 3.2s ease-in-out 1.2s infinite; }
@keyframes dci-lt-tho { 0%, 100% { box-shadow: 0 26px 60px rgba(0, 0, 40, .35), 0 0 0 rgba(176, 225, 255, 0); } 50% { box-shadow: 0 26px 60px rgba(0, 0, 40, .35), 0 0 46px rgba(120, 190, 255, .75); } }
.dci-lt.hang-3 .dci-lt-hiem::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(3px 3px at 16% 20%, #fff, transparent), radial-gradient(2px 2px at 82% 12%, #B0E1FF, transparent), radial-gradient(3px 3px at 90% 46%, #fff, transparent),
  radial-gradient(2px 2px at 8% 52%, #FFC5DD, transparent), radial-gradient(2.5px 2.5px at 70% 30%, #fff, transparent), radial-gradient(2px 2px at 30% 8%, #00DDD7, transparent),
  radial-gradient(2.5px 2.5px at 50% 4%, #fff, transparent), radial-gradient(2px 2px at 24% 40%, #B0E1FF, transparent);
  animation: dci-lt-lap-lanh 1.6s ease-in-out infinite alternate; }
@keyframes dci-lt-lap-lanh { 0% { opacity: .25; } 100% { opacity: 1; } }

/* Tải thẻ */
.dci-lt-kho { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dci-lt-kho .dci-lt-nut { flex-direction: column; gap: 2px; padding: 11px 6px; }
.dci-lt-kho small { font-size: 12px; font-weight: 600; opacity: .8; }
.dci-lt-tai-the .o { display: block; margin-bottom: 12px; }
.dci-lt-tai-the .o span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.dci-lt-tai-the input { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid rgba(0, 0, 102, .2); border-radius: 10px; background: var(--lt-egg); color: var(--lt-dark); }
.dci-lt-het-han { font-size: 14px; color: var(--lt-muted); margin: 0; padding: 0; }

/* Liên kết dạng nút, xem thẻ cũ */
.dci-lt-lien-ket { background: none; border: 0; padding: 0; color: var(--lt-electric); font-weight: 700; text-decoration: underline; font-size: inherit; }
.dci-lt-so-mo { margin: 18px 0 0; font-size: 15px; }
.dci-lt-dang-xem { background: #fff; border: 1px solid var(--lt-line); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.dci-lt-so-nut { display: block; width: 100%; text-align: left; color: var(--lt-dark); }
.dci-lt-so-nut b { display: block; font-size: 17px; } .dci-lt-so-nut small { color: var(--lt-muted); font-size: 13px; }

/* Sổ thẻ */
.dci-lt-so { padding: 10px 0 30px; }
.dci-lt-so-dau { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dci-lt-so-dau h2 { margin: 0; font-size: 24px; }
.dci-lt-so-tong { color: var(--lt-muted); font-size: 14.5px; margin: 8px 0 16px; padding: 0; }
.dci-lt-so-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.dci-lt-so-o { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1px solid var(--lt-line); border-radius: 14px; padding: 12px; background: #fff; color: var(--lt-dark); min-height: 150px; }
.dci-lt-so-o .nhan { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--o-mau, #FFCC00); color: #000066; }
.dci-lt-so-o .td { font-size: 13px; line-height: 1.45; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dci-lt-so-o .ng { margin-top: auto; font-size: 12px; color: var(--lt-muted); }
.dci-lt-so-o.h1, .dci-lt-so-o.h2, .dci-lt-so-o.h3 { background: radial-gradient(120% 80% at 50% 0%, #0112BC, #000066); color: #fff; border: 2px solid #A9B2C3; }
.dci-lt-so-o.h2 { border-color: #FFCC00; } .dci-lt-so-o.h3 { border-color: #B0E1FF; box-shadow: 0 0 0 2px rgba(255, 197, 221, .5); }
.dci-lt-so-o.h1 .ng, .dci-lt-so-o.h2 .ng, .dci-lt-so-o.h3 .ng { color: var(--lt-peri); }
.dci-lt-so-o .hg { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #FFCC00; }
.dci-lt-so-o.h1 .hg { color: #E6EAF2; } .dci-lt-so-o.h3 .hg { color: #B0E1FF; }
.dci-lt-so-o .cho { font-size: 12px; font-weight: 700; color: #FFCC00; }
.dci-lt-so-ghi { font-size: 13px; color: var(--lt-muted); margin: 14px 0; padding: 0; }
.dci-lt-dk { max-width: 520px; }
.dci-lt-dk h3 { margin: 0 0 6px; font-size: 18px; }
.dci-lt-dk-xong { font-weight: 700; color: #0a7d55; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  .dci-lt *, .dci-lt *::before, .dci-lt *::after { animation: none !important; transition: none !important; }
  .dci-lt-loe, .dci-lt-hat { display: none; }
  .h { opacity: 1; transform: none; }
  .dci-lt-da-ck .moc path { stroke-dashoffset: 0; } .dci-lt-da-ck .moc .la { transform: none; }
}

/* Thể lệ chương trình (thu gọn) */
.dci-lt-the-le { max-width: 760px; margin: 28px auto 0; padding: 0 16px; font-size: 14px; color: var(--lt-muted); }
.dci-lt-the-le summary { cursor: pointer; text-align: center; font-weight: 600; color: var(--lt-electric); list-style: none; }
.dci-lt-the-le summary::-webkit-details-marker { display: none; }
.dci-lt-the-le summary::after { content: " ▾"; }
.dci-lt-the-le[open] summary::after { content: " ▴"; }
.dci-lt-the-le ol { margin: 12px 0 0; padding-left: 22px; line-height: 1.6; list-style: decimal; }
.dci-lt-the-le li { margin-bottom: 6px; list-style: decimal; }
.dci-lt-the-le a { color: var(--lt-electric); }
.dci-lt-da-gui b { font-size: 18px; letter-spacing: 0; word-break: break-all; }
.dci-lt form .o span small { font-weight: 400; color: var(--lt-muted); }
