/* Tham tu Amateur - mini-game pha an "Dem cuoi cung tai Nha hat Lam".
   Moi rule deu nam trong .tta-c2 nen khong anh huong phan con lai cua trang.
   Ngoai le position: absolute duoc dung o dung hai cho va deu co chu thich:
   (1) lop phu toi tren anh nen hero, (2) cac la bai xep chong trong bo bai. */

:root {
  /* nen */
  --c2-bg: #080d12;
  --c2-bg-2: #111820;
  --c2-card: #18222a;
  --c2-card-hi: #1f2b35;
  --c2-line: #243039;
  --c2-line-soft: #1b242c;

  /* nhan va chu */
  --c2-gold: #c89b5a;
  --c2-gold-dim: #8d6c3c;
  --c2-gold-soft: rgba(200, 155, 90, 0.16);
  --c2-parchment: #e8dfd0;
  --c2-ivory: #d6cebe;
  --c2-burgundy: #612e32;
  --c2-burgundy-hi: #8d4348;
  --c2-text: #e8dfd0;
  --c2-text-2: #b8bec3;
  --c2-text-3: #7f8891;

  /* mau rieng tung nghi pham */
  --c2-crimson: #7d2f36;
  --c2-steel: #2f4a5c;
  --c2-plum: #5b3350;
  --c2-moss: #35503f;

  /* trang thai */
  --c2-ok: #6f9f6b;
  --c2-warn: #c2703f;

  /* chu */
  --c2-serif: 'Playfair Display', 'Be Vietnam Pro', Georgia, serif;
  --c2-sans: 'Be Vietnam Pro', system-ui, sans-serif;
  --c2-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* kich co */
  --c2-r: 3px;
  --c2-r-lg: 5px;
  --c2-gap: 0.85rem;
  --c2-pad: 1.15rem;
  --c2-tap: 2.95rem;
  --c2-speed: 220ms;
  --c2-ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* Elementor ep container cha thanh flex-direction row, nen toan bo man choi
   nam trong mot lop vo ta tu kiem soat. */
.tta-c2 {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 0;
  font-family: var(--c2-sans);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c2-text-2);
}

.tta-c2 .c2-shell {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1 1 100%;
  min-width: 0;
  width: 100%;
  background: var(--c2-bg);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r-lg);
  overflow: hidden;
}

.tta-c2 *,
.tta-c2 *::before,
.tta-c2 *::after { box-sizing: border-box; }

.tta-c2 p,
.tta-c2 h1,
.tta-c2 h2,
.tta-c2 h3,
.tta-c2 h4,
.tta-c2 ul,
.tta-c2 ol,
.tta-c2 li,
.tta-c2 figure { margin: 0; padding: 0; list-style: none; }

.tta-c2 [hidden] { display: none !important; }

.tta-c2 svg { display: block; width: 100%; height: 100%; }

.tta-c2 .c2-ico {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.tta-c2 .c2-ico svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ================= thanh tren ================= */
.tta-c2 .c2-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  padding: 0.65rem var(--c2-pad);
  background: var(--c2-bg-2);
  border-bottom: 1px solid var(--c2-line);
}

.tta-c2 .c2-wordmark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--c2-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c2-gold);
}

.tta-c2 .c2-wordmark .c2-ico { width: 1rem; height: 1rem; }



/* ---- trinh phat cot truyen, nam o goc doi dien wordmark ---- */
.tta-c2 .c2-bar { justify-content: space-between; }
.tta-c2 .c2-wordmark { flex: 0 0 auto; }

.tta-c2 .c2-audio {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 15rem;
  min-width: 0;
  max-width: 25rem;
  margin-left: auto;
}

.tta-c2 .c2-audio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  /* Astra dat padding 17px 40px cho moi <button> -> bo di */
  padding: 0;
  background: transparent;
  border: 1px solid var(--c2-gold-dim);
  border-radius: 50%;
  color: var(--c2-gold);
  cursor: pointer;
  transition: background-color var(--c2-speed) var(--c2-ease),
              border-color var(--c2-speed) var(--c2-ease),
              color var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-audio-btn .c2-ico { width: 1rem; height: 1rem; }
.tta-c2 .c2-audio-btn:hover { background: var(--c2-gold-soft); border-color: var(--c2-gold); }
.tta-c2 .c2-audio-btn.is-on { background: var(--c2-gold); border-color: var(--c2-gold); color: var(--c2-bg); }
.tta-c2 .c2-audio-btn:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 2px; }

.tta-c2 .c2-audio-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
}

.tta-c2 .c2-audio-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.tta-c2 .c2-audio-label,
.tta-c2 .c2-audio-time {
  font-family: var(--c2-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tta-c2 .c2-audio-label {
  color: var(--c2-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
}

.tta-c2 .c2-audio-time { flex: 0 0 auto; color: var(--c2-text-3); }

.tta-c2 .c2-audio-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

/* chon toc do doc - Astra to <select> rat nang nen reset lai tu dau */
.tta-c2 .c2-audio-rate {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0.24rem 1.1rem 0.24rem 0.45rem;
  font-family: var(--c2-mono);
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--c2-gold);
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  background-size: 0.55rem 0.55rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c89b5a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-audio-rate:hover { border-color: var(--c2-gold-dim); }
.tta-c2 .c2-audio-rate:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 2px; }

/* danh sach xo xuong do he dieu hanh ve -> dat mau de doc duoc tren nen toi */
.tta-c2 .c2-audio-rate option { color: #1a1a1a; background: var(--c2-parchment); }


/* thanh tua: to lai tu dau, phan da nghe to bang --c2-seek */
.tta-c2 .c2-audio-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.tta-c2 .c2-audio-seek::-webkit-slider-runnable-track {
  height: 4px;
  border: 0;
  /* Astra do bong 2.6px xuong duoi track -> thanh vet xam gia */
  box-shadow: none;
  border-radius: 2px;
  background: linear-gradient(to right,
    var(--c2-gold) var(--c2-seek, 0%), var(--c2-line) var(--c2-seek, 0%));
}

.tta-c2 .c2-audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.22rem;
  border: 0;
  box-shadow: none;
  border-radius: 50%;
  background: var(--c2-gold);
}

.tta-c2 .c2-audio-seek::-moz-range-track {
  height: 4px;
  border: 0;
  box-shadow: none;
  border-radius: 2px;
  background: var(--c2-line);
}

.tta-c2 .c2-audio-seek::-moz-range-progress {
  height: 4px;
  border: 0;
  box-shadow: none;
  border-radius: 2px;
  background: var(--c2-gold);
}

.tta-c2 .c2-audio-seek::-moz-range-thumb {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  box-shadow: none;
  border-radius: 50%;
  background: var(--c2-gold);
}

.tta-c2 .c2-audio-seek:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 3px; }

@media (max-width: 36rem) {
  .tta-c2 .c2-audio { flex: 1 1 100%; max-width: none; margin-left: 0; }
  /* rieng mot hang -> nut va thanh tua to len cho vua ngon tay */
  .tta-c2 .c2-audio-btn { width: 2.75rem; height: 2.75rem; }
  .tta-c2 .c2-audio-btn .c2-ico { width: 1.15rem; height: 1.15rem; }
  .tta-c2 .c2-audio-seek { height: 1.6rem; }
  .tta-c2 .c2-audio-seek::-webkit-slider-thumb { width: 0.85rem; height: 0.85rem; margin-top: -0.34rem; }
  .tta-c2 .c2-audio-seek::-moz-range-thumb { width: 0.85rem; height: 0.85rem; }
  .tta-c2 .c2-audio-rate {
    min-height: 2.2rem;
    padding: 0.4rem 1.25rem 0.4rem 0.55rem;
    font-size: 0.74rem;
    background-size: 0.62rem 0.62rem;
  }
}

/* ================= hero: gioi thieu vu an ================= */
.tta-c2 .c2-hero {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  min-height: 16rem;
}

.tta-c2 .c2-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 56%;
  min-width: 0;
  padding: 1.6rem var(--c2-pad);
}

.tta-c2 .c2-eyebrow {
  font-family: var(--c2-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c2-gold-dim);
}

.tta-c2 .c2-title {
  font-family: var(--c2-serif);
  font-weight: 700;
  font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--c2-parchment);
}

.tta-c2 .c2-lede p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--c2-text-2);
}

.tta-c2 .c2-lede { display: flex; flex-direction: column; gap: 0.6rem; }

.tta-c2 .c2-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  min-height: 2.2rem;
  margin-top: 0.15rem;
  padding: 0 0.1rem;
  font-family: var(--c2-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c2-gold);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.tta-c2 .c2-more .c2-ico {
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid var(--c2-gold-dim);
  border-radius: 50%;
  transition: transform var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-more[aria-expanded="true"] .c2-ico { transform: rotate(45deg); }
.tta-c2 .c2-more:hover { color: var(--c2-parchment); }
.tta-c2 .c2-more:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 3px; }

/* anh nen san khau: dung SVG + lop phu toi de chu luon doc duoc */
.tta-c2 .c2-hero-art {
  position: relative;          /* moc cho lop phu ben duoi */
  flex: 1 1 44%;
  min-width: 0;
  overflow: hidden;
  background: #0b1219;
}

.tta-c2 .c2-hero-art svg { width: 100%; height: 100%; }

/* Ngoai le 1/2: lop phu toi nam de len anh nen. */
.tta-c2 .c2-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--c2-bg) 0%, rgba(8, 13, 18, 0.55) 34%, rgba(8, 13, 18, 0.18) 70%),
    linear-gradient(0deg, rgba(8, 13, 18, 0.6), rgba(8, 13, 18, 0) 55%);
  pointer-events: none;
}

.tta-c2 .c2-quote {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.2rem;
  font-family: var(--c2-serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: right;
  color: var(--c2-ivory);
}

/* ---- toan bo cau chuyen ---- */
.tta-c2 .c2-story {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0 var(--c2-pad) 1.5rem;
  border-bottom: 1px solid var(--c2-line);
}

.tta-c2 .c2-story-block { display: flex; flex-direction: column; gap: 0.45rem; }

.tta-c2 .c2-story h4 {
  font-family: var(--c2-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c2-gold-dim);
}

.tta-c2 .c2-story p {
  max-width: 44rem;
  font-size: 0.89rem;
  line-height: 1.8;
  color: var(--c2-text-2);
}

.tta-c2 .c2-facts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  background: var(--c2-bg-2);
  border-left: 2px solid var(--c2-gold-dim);
  border-radius: var(--c2-r);
}

.tta-c2 .c2-facts li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--c2-text-2);
}

.tta-c2 .c2-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin-top: 0.62rem;
  background: var(--c2-gold-dim);
  border-radius: 50%;
}
/* ================= khu lam viec ================= */
.tta-c2 .c2-work {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--c2-gap);
  padding: 0 var(--c2-pad);
}

.tta-c2 .c2-main {
  display: flex;
  flex-direction: column;
  gap: var(--c2-gap);
  flex: 1 1 0;
  min-width: 0;
}

.tta-c2 .c2-side {
  display: flex;
  flex-direction: column;
  gap: var(--c2-gap);
  flex: 0 0 17.5rem;
  max-width: 17.5rem;
  min-width: 0;
}

.tta-c2 .c2-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.8rem;
}

.tta-c2 .c2-head h3 {
  font-family: var(--c2-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c2-gold);
}

.tta-c2 .c2-head .c2-hint-note {
  font-size: 0.76rem;
  color: var(--c2-text-3);
}

/* ---- hang nghi pham ---- */
.tta-c2 .c2-suspects {
  display: flex;
  flex-wrap: wrap;
  gap: var(--c2-gap);
}

.tta-c2 .c2-sus {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0;
  text-align: left;
  background: var(--c2-card);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
  overflow: hidden;
  transition: border-color var(--c2-speed) var(--c2-ease),
              box-shadow var(--c2-speed) var(--c2-ease);
}

/* the nghi pham chi de doc thong tin, mo bai bam o hang bo the ben duoi */

.tta-c2 .c2-sus.is-active {
  border-color: var(--c2-gold);
  box-shadow: 0 0 0 1px var(--c2-gold-soft), 0 10px 22px rgba(0, 0, 0, 0.4);
}

.tta-c2 .c2-sus-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 6.4rem;
  padding-top: 0.7rem;
  color: rgba(232, 223, 208, 0.82);
  background: linear-gradient(170deg, var(--c2-tint, #2a3440) 0%, #121a21 92%);
  border-bottom: 1px solid var(--c2-line);
}

.tta-c2 .c2-sus-art svg {
  width: auto;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tta-c2 .c2-sus-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem 0.75rem;
}

.tta-c2 .c2-sus-name {
  font-family: var(--c2-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c2-parchment);
}

.tta-c2 .c2-sus-role { font-size: 0.76rem; color: var(--c2-text-3); }

.tta-c2 .c2-sus-short {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--c2-text-2);
}

.tta-c2 .c2-sus-open {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  font-family: var(--c2-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c2-gold);
}

.tta-c2 .c2-sus-open .c2-ico { width: 0.8rem; height: 0.8rem; }
/* ================= bo bai ================= */
.tta-c2 .c2-decks {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--c2-gap);
}

/* bo bai dang gap lai */
.tta-c2 .c2-deck {
  position: relative;          /* moc cho cac la xep chong ben duoi */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 9rem;
  min-width: 0;
  min-height: 12.5rem;
  padding: 0.55rem 0.6rem 0.65rem;
  background: linear-gradient(165deg, var(--c2-tint, #26313c) 0%, #141c24 85%);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
  cursor: pointer;
  transition: transform var(--c2-speed) var(--c2-ease),
              border-color var(--c2-speed) var(--c2-ease),
              box-shadow var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-deck:hover {
  transform: translateY(-3px);
  border-color: var(--c2-gold-dim);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.tta-c2 .c2-deck:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 2px; }
.tta-c2 .c2-deck.is-open { border-color: var(--c2-gold); }

.tta-c2 .c2-deck-tag {
  align-self: center;
  padding: 0.18rem 0.6rem;
  font-family: var(--c2-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2-parchment);
  background: rgba(8, 13, 18, 0.55);
  border: 1px solid var(--c2-gold-dim);
  border-radius: 2px;
}

/* khung chua cac la xep chong */
.tta-c2 .c2-deck-stack {
  position: relative;          /* moc cho cac la */
  flex: 1 1 auto;
  min-height: 7.5rem;
}

/* Ngoai le 2/2: cac la bai phai de len nhau moi ra dang mot co bai. */
.tta-c2 .c2-leaf {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.6rem;
  height: 6.4rem;
  background: linear-gradient(160deg, #1d2831 0%, #121a21 100%);
  border: 1px solid var(--c2-line);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: transform var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-leaf::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(200, 155, 90, 0.18);
  border-radius: 1px;
}

.tta-c2 .c2-leaf-1 { transform: translate(-50%, -50%) rotate(-11deg) translate(-9px, 4px); }
.tta-c2 .c2-leaf-2 { transform: translate(-50%, -50%) rotate(-4deg) translate(-3px, 0); }
.tta-c2 .c2-leaf-3 { transform: translate(-50%, -50%) rotate(4deg) translate(3px, -2px); }
.tta-c2 .c2-leaf-4 { transform: translate(-50%, -50%) rotate(11deg) translate(9px, -5px); }

.tta-c2 .c2-deck:hover .c2-leaf-1 { transform: translate(-50%, -50%) rotate(-16deg) translate(-14px, 2px); }
.tta-c2 .c2-deck:hover .c2-leaf-4 { transform: translate(-50%, -50%) rotate(16deg) translate(14px, -7px); }

.tta-c2 .c2-deck-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.7rem;
  font-family: var(--c2-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c2-text-3);
}

.tta-c2 .c2-deck-foot span { display: inline-flex; align-items: center; gap: 0.25rem; }
.tta-c2 .c2-deck-foot .c2-ico { width: 0.75rem; height: 0.75rem; }
.tta-c2 .c2-deck-foot .c2-clue-dot { color: var(--c2-gold); }
.tta-c2 .c2-deck-foot .c2-means-dot { color: var(--c2-burgundy-hi); }

.tta-c2 .c2-deck-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-family: var(--c2-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c2-gold);
}

.tta-c2 .c2-deck-state .c2-ico { width: 0.8rem; height: 0.8rem; }
/* ================= khu the bai da mo ================= */
.tta-c2 .c2-open {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0.95rem;
  background: var(--c2-bg-2);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
}

.tta-c2 .c2-open-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--c2-line-soft);
}

.tta-c2 .c2-open-name {
  font-family: var(--c2-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c2-parchment);
}

.tta-c2 .c2-open-alibi {
  flex: 1 1 14rem;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--c2-text-3);
}

.tta-c2 .c2-row { display: flex; flex-direction: column; gap: 0.5rem; }

.tta-c2 .c2-row-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--c2-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tta-c2 .c2-row-label .c2-ico { width: 0.85rem; height: 0.85rem; }
.tta-c2 .c2-row--clue .c2-row-label { color: var(--c2-gold); }
.tta-c2 .c2-row--means .c2-row-label { color: var(--c2-burgundy-hi); }

.tta-c2 .c2-cards { display: flex; flex-wrap: wrap; gap: 0.55rem; }

/* ---- mot la bang chung ---- */
.tta-c2 .c2-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex: 1 1 7rem;
  min-width: 0;
  padding: 0.8rem 0.5rem 0.65rem;
  text-align: center;
  background: var(--c2-card);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  animation: c2-deal 320ms var(--c2-ease) forwards;
  transition: transform var(--c2-speed) var(--c2-ease),
              border-color var(--c2-speed) var(--c2-ease),
              box-shadow var(--c2-speed) var(--c2-ease),
              background-color var(--c2-speed) var(--c2-ease);
}

@keyframes c2-deal {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tta-c2 .c2-card:hover {
  transform: translateY(-3px);
  background: var(--c2-card-hi);
  border-color: var(--c2-gold-dim);
}

.tta-c2 .c2-card:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 2px; }

.tta-c2 .c2-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
}

.tta-c2 .c2-card-art .c2-ico { width: 1.45rem; height: 1.45rem; }

.tta-c2 .c2-card--clue .c2-card-art {
  color: var(--c2-ivory);
  background: rgba(214, 206, 190, 0.07);
  border: 1px solid rgba(214, 206, 190, 0.22);
}

.tta-c2 .c2-card--means .c2-card-art {
  color: #d79aa0;
  background: rgba(141, 67, 72, 0.16);
  border: 1px solid rgba(141, 67, 72, 0.5);
}

.tta-c2 .c2-card-title {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--c2-text);
}

.tta-c2 .c2-card-kind {
  font-family: var(--c2-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2-text-3);
}

.tta-c2 .c2-card.is-picked {
  transform: translateY(-4px);
  border-color: var(--c2-gold);
  background: var(--c2-card-hi);
  box-shadow: 0 0 0 1px var(--c2-gold-soft), 0 10px 22px rgba(0, 0, 0, 0.45);
}

.tta-c2 .c2-card-mark {
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--c2-bg);
  background: var(--c2-gold);
  border-radius: 50%;
}

.tta-c2 .c2-card-mark .c2-ico { width: 0.65rem; height: 0.65rem; }
.tta-c2 .c2-card-mark svg { stroke-width: 2.6; }
.tta-c2 .c2-card.is-picked .c2-card-mark { display: flex; }
/* ================= bang hint phap y ================= */
.tta-c2 .c2-hints {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.95rem;
  background: var(--c2-bg-2);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
}

.tta-c2 .c2-hints-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c2-gold);
}

.tta-c2 .c2-hints-head .c2-ico { width: 1.1rem; height: 1.1rem; }

.tta-c2 .c2-hints-head h3 {
  font-family: var(--c2-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  /* vang tren nen den qua toi o co chu nho -> dung mau giay cho sang */
  color: var(--c2-parchment);
}

.tta-c2 .c2-hints-intro {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--c2-text-3);
}

.tta-c2 .c2-hint {
  display: flex;
  flex-direction: column;
  background: var(--c2-card);
  border: 1px solid var(--c2-line);
  border-left: 2px solid var(--c2-gold-dim);
  border-radius: var(--c2-r);
  overflow: hidden;
}

.tta-c2 .c2-hint-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-height: var(--c2-tap);
  padding: 0.6rem 0.7rem;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.tta-c2 .c2-hint-btn:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: -2px; }

.tta-c2 .c2-hint-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--c2-gold-dim);
  border: 1px solid var(--c2-line);
  border-radius: 50%;
  transition: color var(--c2-speed) var(--c2-ease),
              border-color var(--c2-speed) var(--c2-ease),
              transform var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-hint-lock .c2-ico { width: 0.85rem; height: 0.85rem; }

.tta-c2 .c2-hint.is-open .c2-hint-lock {
  color: var(--c2-gold);
  border-color: var(--c2-gold);
  transform: rotate(-8deg);
}

.tta-c2 .c2-hint-label { display: flex; flex-direction: column; gap: 0.1rem; flex: 1 1 auto; min-width: 0; }

.tta-c2 .c2-hint-code {
  font-family: var(--c2-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--c2-text-3);
}

.tta-c2 .c2-hint-title { font-size: 0.8rem; color: var(--c2-text); }

.tta-c2 .c2-hint-act {
  flex: 0 0 auto;
  font-family: var(--c2-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--c2-gold);
}

.tta-c2 .c2-hint-body {
  padding: 0 0.75rem 0.8rem 2.9rem;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--c2-text-2);
  animation: c2-reveal 320ms var(--c2-ease) both;
}

@keyframes c2-reveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================= bang ket luan ================= */
.tta-c2 .c2-verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.3rem;
  padding: 0.95rem var(--c2-pad) 1.15rem;
  background: var(--c2-bg-2);
  border-top: 1px solid var(--c2-line);
}

.tta-c2 .c2-verdict-intro { display: flex; align-items: center; gap: 0.6rem; flex: 1 1 13rem; min-width: 0; }
.tta-c2 .c2-verdict-intro .c2-ico { width: 1.5rem; height: 1.5rem; color: var(--c2-gold); }
.tta-c2 .c2-verdict-intro h3 {
  font-family: var(--c2-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c2-gold);
}
.tta-c2 .c2-verdict-intro p { font-size: 0.74rem; line-height: 1.5; color: var(--c2-text-3); }

.tta-c2 .c2-slots { display: flex; flex-wrap: wrap; gap: 0.5rem; flex: 2 1 22rem; min-width: 0; }

.tta-c2 .c2-slot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 9rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  background: var(--c2-card);
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
}

.tta-c2 .c2-slot .c2-ico { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; color: var(--c2-text-3); }
.tta-c2 .c2-slot-text { display: flex; flex-direction: column; min-width: 0; }
.tta-c2 .c2-slot-kind {
  font-family: var(--c2-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2-text-3);
}
.tta-c2 .c2-slot-value {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--c2-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tta-c2 .c2-slot.is-set { border-color: var(--c2-gold-dim); }
.tta-c2 .c2-slot.is-set .c2-ico { color: var(--c2-gold); }
.tta-c2 .c2-slot.is-set .c2-slot-value { color: var(--c2-parchment); }
/* ---- nut xac nhan ---- */
.tta-c2 .c2-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-height: var(--c2-tap);
  padding: 0.6rem 1.4rem;
  font-family: var(--c2-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #15202a;
  background: var(--c2-gold);
  border: 1px solid var(--c2-gold);
  border-radius: var(--c2-r);
  cursor: pointer;
  transition: background-color var(--c2-speed) var(--c2-ease),
              color var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-confirm:hover { background: var(--c2-parchment); border-color: var(--c2-parchment); }
.tta-c2 .c2-confirm:focus-visible { outline: 2px solid var(--c2-parchment); outline-offset: 3px; }

.tta-c2 .c2-confirm[disabled] {
  color: var(--c2-text-3);
  background: transparent;
  border-color: var(--c2-line);
  cursor: not-allowed;
}

.tta-c2 .c2-feedback {
  flex: 1 1 100%;
  min-width: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--c2-text-2);
  background: var(--c2-card);
  border-left: 2px solid var(--c2-warn);
  border-radius: var(--c2-r);
  animation: c2-reveal 280ms var(--c2-ease) both;
}

/* ================= ket qua ================= */
.tta-c2 .c2-result {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin: 0 var(--c2-pad) var(--c2-pad);
  padding: 1.3rem 1.2rem;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200, 155, 90, 0.1), rgba(200, 155, 90, 0) 60%),
    var(--c2-bg-2);
  border: 1px solid var(--c2-gold-dim);
  border-radius: var(--c2-r);
  animation: c2-reveal 420ms var(--c2-ease) both;
}

.tta-c2 .c2-result-head { display: flex; align-items: center; gap: 0.7rem; }
.tta-c2 .c2-result-head .c2-ico {
  width: 2rem;
  height: 2rem;
  padding: 0.35rem;
  color: var(--c2-gold);
  border: 1px solid var(--c2-gold-dim);
  border-radius: 50%;
}
.tta-c2 .c2-result-head h3 {
  font-family: var(--c2-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  color: var(--c2-parchment);
}

.tta-c2 .c2-result-lead { font-size: 0.88rem; line-height: 1.75; color: var(--c2-text); }

.tta-c2 .c2-answer { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tta-c2 .c2-answer > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--c2-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c2-parchment);
  background: var(--c2-card);
  border: 1px solid var(--c2-gold-dim);
  border-radius: 2px;
}

.tta-c2 .c2-points { display: flex; flex-direction: column; gap: 0.75rem; }

.tta-c2 .c2-point { display: flex; flex-direction: column; gap: 0.2rem; }

.tta-c2 .c2-point h4 {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--c2-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c2-gold);
}

.tta-c2 .c2-point h4::before {
  content: counter(c2point, decimal-leading-zero);
  counter-increment: c2point;
  color: var(--c2-gold-dim);
}

.tta-c2 .c2-points { counter-reset: c2point; }

.tta-c2 .c2-point p { font-size: 0.83rem; line-height: 1.75; color: var(--c2-text-2); }

.tta-c2 .c2-result-acts { display: flex; flex-wrap: wrap; gap: 0.55rem; padding-top: 0.3rem; }

.tta-c2 .c2-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--c2-tap);
  padding: 0.55rem 1.1rem;
  font-family: var(--c2-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2-parchment);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-r);
  cursor: pointer;
  transition: border-color var(--c2-speed) var(--c2-ease), color var(--c2-speed) var(--c2-ease);
}

.tta-c2 .c2-ghost:hover { color: var(--c2-gold); border-color: var(--c2-gold-dim); }
.tta-c2 .c2-ghost:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 2px; }
.tta-c2 .c2-ghost .c2-ico { width: 0.95rem; height: 0.95rem; }
/* ================= may tinh bang ================= */
@media (max-width: 62rem) {
  .tta-c2 .c2-work { flex-direction: column; }
  .tta-c2 .c2-side { flex: 1 1 auto; max-width: none; width: 100%; }
  .tta-c2 .c2-sus { flex-basis: 8.5rem; }
  .tta-c2 .c2-deck { flex-basis: 7.5rem; min-height: 11rem; }
}

/* ================= dien thoai ================= */
@media (max-width: 46rem) {
  :root { --c2-pad: 0.85rem; --c2-gap: 0.65rem; }

  .tta-c2 .c2-hero { flex-direction: column; }
  .tta-c2 .c2-hero-art { flex: 0 0 9.5rem; min-height: 9.5rem; order: -1; }
  .tta-c2 .c2-hero-text { flex: 1 1 auto; padding: 1.1rem var(--c2-pad) 1.3rem; }
  .tta-c2 .c2-quote { justify-content: flex-start; padding: 0.9rem; text-align: left; }

  .tta-c2 .c2-suspects > .c2-sus { flex: 1 1 calc(50% - var(--c2-gap)); }
  .tta-c2 .c2-sus-art { height: 5.2rem; }

  .tta-c2 .c2-decks > .c2-deck { flex: 1 1 calc(50% - var(--c2-gap)); min-height: 10.5rem; }
  .tta-c2 .c2-leaf { width: 3.9rem; height: 5.4rem; }

  .tta-c2 .c2-cards > .c2-card { flex: 1 1 calc(50% - 0.55rem); }

  .tta-c2 .c2-slots { flex: 1 1 100%; }
  .tta-c2 .c2-slot { flex: 1 1 100%; }
  .tta-c2 .c2-confirm { flex: 1 1 100%; }
  /* vung bam tren dien thoai toi thieu ~44px */
  .tta-c2 .c2-more { min-height: var(--c2-tap); }
  .tta-c2 .c2-sus,
  .tta-c2 .c2-deck,
  .tta-c2 .c2-card { min-height: var(--c2-tap); }
  .tta-c2 .c2-hint-body { padding-left: 0.75rem; }
}

@media (max-width: 30rem) {
  .tta-c2 .c2-suspects > .c2-sus { flex: 1 1 100%; }
  .tta-c2 .c2-sus { flex-direction: row; align-items: center; gap: 0.7rem; }
  .tta-c2 .c2-sus-art {
    flex: 0 0 4.6rem;
    height: 5rem;
    padding-top: 0.4rem;
    border-bottom: 0;
    border-right: 1px solid var(--c2-line);
  }
  .tta-c2 .c2-sus-body { padding: 0.6rem 0.7rem 0.6rem 0; }
}

/* ================= giam chuyen dong ================= */
@media (prefers-reduced-motion: reduce) {
  .tta-c2 *,
  .tta-c2 *::before,
  .tta-c2 *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
  .tta-c2 .c2-sus:hover,
  .tta-c2 .c2-deck:hover,
  .tta-c2 .c2-card:hover { transform: none; }
}
/* bang the mo ra nam full chieu rong, ngay duoi hang bo bai */
.tta-c2 .c2-open { width: 100%; }
.tta-c2 .c2-open:focus { outline: none; }
.tta-c2 .c2-open:focus-visible { outline: 2px solid var(--c2-gold); outline-offset: 2px; }

/* chan dung nghi pham: SVG tao hinh, cao bang khung */
.tta-c2 .c2-portrait {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.tta-c2 .c2-portrait svg {
  width: auto;
  height: 100%;
  max-width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ================= man thang: o dap an ================= */
/* icon phai dung dung icon cua tung the, va co kich thuoc cu the
   neu khong SVG se gian ra het o chua. */
.tta-c2 .c2-answer .c2-ico {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
}

.tta-c2 .c2-answer span b {
  font-weight: 400;
  white-space: nowrap;
}

.tta-c2 .c2-answer > span { max-width: 100%; }

/* ================= phao hoa ================= */
/* Ngoai le 3/3: cac tia phao hoa phai bay tu do tren khung ket qua. */
.tta-c2 .c2-result { position: relative; overflow: hidden; }

.tta-c2 .c2-fw {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tta-c2 .c2-spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  background: var(--c);
  border-radius: 50%;
  box-shadow: 0 0 6px 1px var(--c);
  opacity: 0;
  animation: c2-spark 1600ms cubic-bezier(0.16, 0.74, 0.3, 1) var(--d) both;
}

@keyframes c2-spark {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4); }
  12%  { opacity: 1; }
  65%  { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2); }
}

.tta-c2 .c2-burst {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border: 2px solid var(--c2-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(200, 155, 90, 0.5);
  opacity: 0;
  animation: c2-burst 900ms cubic-bezier(0.16, 0.74, 0.3, 1) var(--d) both;
}

@keyframes c2-burst {
  0%   { opacity: 0; transform: scale(0.2); }
  18%  { opacity: 0.75; }
  100% { opacity: 0; transform: scale(9); }
}

@media (prefers-reduced-motion: reduce) {
  .tta-c2 .c2-fw { display: none; }
}