/* Tàng Kinh Các LIVE — Trang giới thiệu & chọn thử nhân vật (/tang-kinh-cac) */
.tkc-hub {
  padding: 20px 0 36px;
}

.tkc-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 200, 106, 0.22), transparent 46%),
    radial-gradient(circle at 14% 88%, rgba(229, 98, 71, 0.22), transparent 48%),
    linear-gradient(135deg, #1a1016 0%, #2b1822 52%, #151320 100%);
  border: 1.5px solid rgba(244, 200, 106, 0.36);
  box-shadow: 0 22px 50px rgba(24, 12, 18, 0.22);
  color: #fdf6ec;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr);
  gap: 24px;
  align-items: center;
}

.tkc-hero-card:has(.tkc-quick-room) {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
}

.tkc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(244, 200, 106, 0.14);
  border: 1px solid rgba(244, 200, 106, 0.42);
  color: #f7d486;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tkc-hero-copy h1 {
  margin: 14px 0 12px;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.2;
  color: #fffaf2;
}

.tkc-hero-copy p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(253, 246, 236, 0.84);
  max-width: 640px;
}

.tkc-hero-copy p b {
  color: #f9d88b;
}

.tkc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tkc-hero-actions .btn-outline {
  border-color: rgba(255, 244, 224, 0.34);
  color: #fff6e6;
  background: rgba(255, 255, 255, 0.06);
}

.tkc-hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #f7d486;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #f7d588 0%, #dca03a 100%);
  color: #241407 !important;
  border: 1px solid rgba(255, 236, 190, 0.7);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(220, 160, 58, 0.28);
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.tkc-quick-room {
  background: rgba(16, 11, 16, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 200, 106, 0.34);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tkc-qr-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tkc-qr-head strong {
  font-size: 15px;
  color: #fff7e8;
}

.tkc-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #24d292;
  box-shadow: 0 0 0 4px rgba(36, 210, 146, 0.22);
}

.tkc-pin-pill {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(244, 200, 106, 0.18);
  border: 1px solid rgba(244, 200, 106, 0.44);
  color: #fbe09c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tkc-link-box label {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 245, 230, 0.72);
  margin-bottom: 5px;
  font-weight: 600;
}

.tkc-copy-row {
  display: flex;
  gap: 6px;
}

.tkc-copy-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff5e4;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Lưới 4 Nhân Vật Người Đọc Truyện */
.tkc-char-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.tkc-char-card {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #eadcd5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(42, 22, 28, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  display: flex;
  flex-direction: column;
}

.tkc-char-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(42, 22, 28, 0.12);
}

.tkc-char-art {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1216;
}

.tkc-char-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tkc-char-card:hover .tkc-char-art img {
  transform: scale(1.04);
}

.tkc-char-hall {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(20, 13, 18, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 200, 106, 0.5);
  color: #f9d88b;
  font-size: 11.5px;
  font-weight: 700;
}

.tkc-char-body {
  padding: 15px 16px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tkc-char-body h3 {
  margin: 0 0 4px;
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  color: var(--ink, #26181d);
}

.tkc-char-body p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted, #7b666d);
}

.tkc-char-btns {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tkc-char-btns .btn {
  justify-content: center;
  padding: 0 8px;
  font-size: 12.5px;
}

/* Hướng dẫn 3 bước */
.tkc-steps-panel {
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9 0%, #fcf4ee 100%);
}

.tkc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tkc-step {
  background: #fff;
  border: 1px solid var(--line, #eadcd5);
  border-radius: 16px;
  padding: 16px 18px;
}

.tkc-step b {
  display: inline-block;
  font-family: 'Lora', Georgia, serif;
  font-size: 24px;
  color: var(--brand, #e56247);
  margin-bottom: 6px;
}

.tkc-step strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--ink, #26181d);
}

.tkc-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted, #6f5b62);
}

.tkc-step code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f8ebe5;
  color: #b53f27;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .tkc-hero-card:has(.tkc-quick-room) {
    grid-template-columns: 1fr;
  }
  .tkc-char-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tkc-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tkc-char-grid {
    grid-template-columns: 1fr;
  }
  .tkc-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

