/* Page Billets : collection de billets de concert d'un joueur */
.tk-page {
  --tk-0: #9aa6bd;
  --tk-1: #38bdf8;
  --tk-2: #a78bfa;
  --tk-3: #fbbf24;
  --tk-4: #f472b6;
  --tk-5: #8fd3ff; /* 💎 Éternel : bleu diamant */
}
.tk-kicker {
  color: #2dd4bf;
}
.tk-count {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.35);
  color: #99f6e4;
}

/* Billets à ouvrir (propriétaire) */
.tk-pending {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #13203f;
  border: 1.5px solid #14b8a6;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.2);
}
.tk-pending-txt {
  font-weight: 600;
}
.tk-pending-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  background: #14b8a6;
  color: #04120f;
  font: 700 14px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.tk-pending-btn:hover {
  filter: brightness(1.1);
}

/* Compteurs / filtres par place */
.tk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.tk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 99px;
  background: #161e2e;
  border: 1px solid #1f2a40;
  color: #c9cee6;
  font: 600 13px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.tk-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--k);
}
.tk-chip .n {
  color: #8d94b3;
  font-variant-numeric: tabular-nums;
}
.tk-chip.on {
  border-color: #14b8a6;
  color: #fff;
  background: rgba(20, 184, 166, 0.12);
}

/* Mur de billets épinglés */
.tk-wall-box {
  margin-bottom: 16px;
}
.tk-wall-hd {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #e8eefc;
}
.tk-wall-hint {
  font-weight: 400;
  color: #8d94b3;
}
.tk-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 14px;
  padding: 22px 12px 18px;
  border-radius: 14px;
  border: 1px solid #232a45;
  background: repeating-linear-gradient(90deg, #141a2e 0 2px, #10152a 2px 26px);
}
.tk-pinwrap {
  position: relative;
  width: 210px;
  max-width: 100%;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.2s;
}
.tk-pinwrap:hover {
  transform: rotate(0deg) translateY(-3px);
}
/* punaise de la couleur de la place */
.tk-pinwrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -7px;
  width: 13px;
  height: 13px;
  margin-left: -6px;
  border-radius: 50%;
  z-index: 2;
  background: radial-gradient(circle at 35% 30%, #fff, var(--k, #9aa6bd) 60%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.tk-pinwrap:has(.tk-t[data-place='0'])::before { --k: var(--tk-0); }
.tk-pinwrap:has(.tk-t[data-place='1'])::before { --k: var(--tk-1); }
.tk-pinwrap:has(.tk-t[data-place='2'])::before { --k: var(--tk-2); }
.tk-pinwrap:has(.tk-t[data-place='3'])::before { --k: var(--tk-3); }
.tk-pinwrap:has(.tk-t[data-place='4'])::before { --k: var(--tk-4); }
.tk-pinwrap:has(.tk-t[data-place='5'])::before { --k: var(--tk-5); }
/* case vide du mur (propriétaire) : où va le prochain billet épinglé */
.tk-pinwrap.tk-pin-empty::before {
  background: #3a4263;
  box-shadow: none;
}
.tk-pinwrap.tk-pin-empty:hover {
  transform: rotate(var(--r, 0deg));
}
.tk-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  min-height: 66px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px dashed #3a4263;
  color: #6f7899;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.tk-t-pin {
  box-shadow: inset 0 0 0 1.5px var(--k), 0 10px 18px rgba(0, 0, 0, 0.5);
}
.tk-t-pin .tk-m small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* étoile du billet fétiche (classeur) */
.tk-fav {
  position: absolute;
  left: -6px;
  top: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #facc15;
  color: #1a1400;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: help;
}
/* fiche : boutons fétiche / épingler */
.tkc-mine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}
.tkc-mine button {
  flex: 1 1 180px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #2a3150;
  background: #161e2e;
  color: #e8eefc;
  font: 600 12.5px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.tkc-mine button:hover {
  border-color: #3b4a6b;
}
.tkc-mine .tkc-fav.on {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
}
.tkc-mine .tkc-pin.on {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.12);
  color: #99f6e4;
}

/* Recherche, tri, filtre par playlist */
.tk-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.tk-search {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff; /* fond blanc, texte noir : plus lisible */
  border: 1px solid #d6dbe6;
  color: #6b7280;
}
.tk-search:focus-within {
  border-color: #14b8a6;
}
.tk-search input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 0;
  outline: none;
  background: transparent;
  color: #111;
  font: 14px Inter, system-ui, sans-serif;
}
.tk-search input::placeholder {
  color: #6b7280;
}
.tk-tools select {
  height: 40px;
  min-width: 0; /* sinon la plus longue option l'empêche de rétrécir */
  max-width: 100%;
  padding: 0 10px;
  border-radius: 10px;
  background: #161e2e;
  border: 1px solid #1f2a40;
  color: #fff; /* texte blanc (avant : gris, peu lisible) */
  font: 600 13px Inter, system-ui, sans-serif;
  cursor: pointer;
  color-scheme: dark; /* liste déroulante sombre */
}
.tk-tools select:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 1px;
}
.tk-chip-vip {
  border-color: rgba(250, 204, 21, 0.4);
  color: #facc15;
}
.tk-chip-vip.on {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
}
.tk-meta {
  margin: 6px 0 0;
  min-height: 18px;
  font-size: 12px;
  color: #8d94b3;
}
.tk-flat {
  margin-top: 10px;
}
.tk-flat[hidden] {
  display: none;
}
/* playlist du billet : seulement dans les vues triées (pas de titre de groupe) */
.tk-m .tk-plname {
  display: none;
}
.tk-flat .tk-m .tk-plname {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #8d94b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Classeur par playlist */
.tk-sec {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8d94b3;
}
.tk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
}
.tk-t {
  display: flex;
  min-width: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, color-mix(in srgb, var(--k) 14%, #121733), #121733 60%);
  box-shadow: inset 0 0 0 1.5px var(--k);
}
.tk-t[data-place='3'],
.tk-t[data-place='4'] {
  box-shadow: inset 0 0 0 1.5px var(--k), 0 0 16px color-mix(in srgb, var(--k) 35%, transparent);
}
.tk-m {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border-right: 1.5px dashed rgba(255, 255, 255, 0.2);
}
.tk-m b,
.tk-m span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-m b {
  font-size: 14px;
  color: #fff;
}
.tk-m span {
  font-size: 12px;
  color: #c9cee6;
}
.tk-m small {
  font-size: 11px;
  color: #8d94b3;
  font-variant-numeric: tabular-nums;
}
.tk-s {
  width: 78px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  text-align: center;
  font-size: 10px; /* « BACKSTAGE » tient sur une ligne */
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--k);
}
.tk-t {
  position: relative;
}
/* Tampon VIP : record de la chanson détenu */
.tk-vip {
  position: absolute;
  right: 78px;
  top: 7px;
  transform: rotate(-12deg);
  padding: 0 6px;
  border: 2px solid #facc15;
  border-radius: 5px;
  background: rgba(250, 204, 21, 0.08);
  color: #facc15;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: help;
}
.tk-t:has(.tk-vip) .tk-m b {
  padding-right: 46px; /* le titre ne passe pas sous le tampon */
}
.tk-t.is-hidden,
.tk-group.is-hidden {
  display: none;
}

/* Billet cliquable */
.tk-t[data-id] {
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.tk-t[data-id]:hover,
.tk-t[data-id]:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.12);
  outline: none;
}

/* Fiche chanson */
.tkc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 7, 15, 0.72);
  animation: tkcIn 0.2s ease both;
}
.tkc-box {
  --k: #9aa6bd;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #111726;
  border: 1px solid #1f2a40;
  border-radius: 16px;
  color: #e8eefc;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--k) 45%, transparent), 0 20px 60px rgba(0, 0, 0, 0.5);
}
.tkc-load {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: #8d94b3;
}
.tkc-top {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 16px 44px 16px 16px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--k) 16%, transparent), transparent 70%);
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.16);
}
.tkc-cov {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #1e2650;
}
.tkc-id {
  min-width: 0;
}
.tkc-id b {
  display: block;
  font-size: 19px;
  color: #fff;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.tkc-id > span {
  display: block;
  font-size: 13px;
  color: #c9cee6;
}
.tkc-pl {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k);
}
.tkc-badge {
  display: inline-block;
  margin: 6px 0 0;
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--k) 45%, transparent);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k);
}
.tkc-play {
  display: block;
  margin-top: 10px;
  padding: 5px 12px;
  border: 1px solid var(--k);
  border-radius: 99px;
  background: transparent;
  color: #fff;
  font: 600 12px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.tkc-play:disabled {
  opacity: 0.55;
  cursor: default;
}
.tkc-x {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #c9cee6;
  font-size: 14px;
  cursor: pointer;
}
.tkc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 16px;
}
.tkc-c {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #161e2e;
}
.tkc-c p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8d94b3;
}
.tkc-c strong {
  display: block;
  font-size: 15px;
  color: #fff;
  overflow-wrap: anywhere;
}
.tkc-vip {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border: 1.5px solid #facc15;
  border-radius: 4px;
  color: #facc15;
  font-size: 10px;
  letter-spacing: 0.12em;
  transform: rotate(-8deg);
}
.tkc-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 16px 14px;
  font-size: 12px;
  color: #8d94b3;
}
@keyframes tkcIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .tk-tools select {
    flex: 1 1 45%;
  }
  .tk-pending {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .tk-grid {
    grid-template-columns: 1fr;
  }
}

/* Mur d'un autre joueur sans billet épinglé : cadre discret (le mur reste
   visible pour que la page ait la même forme pour tous) */
.tk-wall-none {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 66px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px dashed #3a4263;
  color: #6f7899;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

/* ── Invité : bandeau « crée ton compte » ── */
.tk-guest-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 4px;
  padding: 12px 14px;
  border: 1px solid #7c5cff;
  background: rgba(124, 92, 255, 0.12);
  border-radius: 12px;
}
.tk-guest-txt {
  flex: 1;
  min-width: 220px;
}
.tk-guest-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.tk-guest-text {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #c3c8d8;
}
.tk-guest-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  background: #7c5cff;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.tk-guest-btn:hover {
  background: #6a48f0;
}

/* ✦ Chromatique : version spéciale d'une Loge ou d'un Backstage.
   Le contour garde la couleur de la place ; titre et artiste en arc-en-ciel. */
.tk-t[data-chroma] {
  isolation: isolate;
}
.tk-t[data-chroma]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 60%) -150% 0 / 250% 100% no-repeat;
  animation: tkShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
.tk-t[data-chroma] .tk-m b,
.tk-t[data-chroma] .tk-m span,
.tkc-chroma .tkc-id b,
.tkc-chroma .tkc-id > span {
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff, #ff5fd2) 0 0 / 160% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tkChromaTxt 6s linear infinite;
}
.tk-t[data-chroma] .tk-m span,
.tkc-chroma .tkc-id > span {
  filter: saturate(0.8) brightness(0.92);
}
.tk-t[data-chroma] .tk-s {
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.tk-chroma-tag,
.tkc-chroma-badge {
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tkChromaTxt 6s linear infinite;
}
.tk-chroma-tag {
  display: block;
  font-size: 7.5px;
}
.tkc-chroma-badge {
  display: inline-block;
  margin: 6px 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
}
.tk-chip-chroma .tk-chip-lbl {
  background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes tkChromaTxt {
  to { background-position: 266% 0; }
}
@keyframes tkShine {
  0%, 55% { background-position: -150% 0; }
  100% { background-position: 250% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-t[data-chroma]::after,
  .tk-t[data-chroma] .tk-m b,
  .tk-t[data-chroma] .tk-m span,
  .tkc-chroma .tkc-id b,
  .tkc-chroma .tkc-id > span,
  .tk-chroma-tag,
  .tkc-chroma-badge {
    animation: none;
  }
}
.tk-chip-chroma {
  border-color: rgba(167, 123, 255, 0.45);
}
.tk-chip-chroma.on {
  border-color: #c4a2ff;
  background: rgba(167, 123, 255, 0.14);
}

/* ⚗️ Transmutation (fiche d'un billet) */
.tkc-trm-open {
  padding: 0 16px 12px;
}
.tkc-trm-btn {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(192, 38, 211, 0.45);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.18), rgba(192, 38, 211, 0.18));
  color: #f0d9ff;
  font: 700 12.5px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.tkc-trm-btn:hover {
  border-color: #c026d3;
}
.tkc-alch {
  margin-left: 2px;
  font-size: 12px;
}
.tk-t[data-transmuted]::before {
  content: '⚗️';
  position: absolute;
  left: -6px;
  bottom: -7px;
  font-size: 13px;
  z-index: 2;
}
.trm-zone {
  margin: 0 0 4px;
  padding: 12px 18px 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}
.trm-zone h4 {
  margin: 0 0 8px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #e8eefc;
}
.trm-target {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trm-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8d94b3;
  margin: 4px 0 7px;
}
.trm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.trm-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1.5px solid color-mix(in srgb, var(--k) 55%, transparent);
  background: #151a38;
  color: var(--k);
  font: 700 12.5px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.trm-chip small {
  font-weight: 600;
  font-size: 10px;
  color: #8d94b3;
}
.trm-chip.on {
  background: color-mix(in srgb, var(--k) 16%, #151a38);
  border-color: var(--k);
  box-shadow: 0 0 12px color-mix(in srgb, var(--k) 35%, transparent);
}
.trm-chip.off {
  opacity: 0.38;
  cursor: not-allowed;
}
.trm-slots {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.trm-slot {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 6px;
  border-radius: 9px;
  border: 1.5px dashed #3a4263;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  color: #6f7899;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trm-slot.full {
  border-style: solid;
  border-color: #fbbf24;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.08);
}
.trm-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 190px;
  overflow: auto;
  padding: 8px 6px 4px;
  margin-bottom: 12px;
}
.trm-tk .tk-m {
  padding: 8px 10px;
}
.trm-tk .tk-s {
  width: 64px;
  font-size: 9px;
}
.trm-pick {
  cursor: pointer;
}
.trm-pick.sel {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}
.trm-pick.sel::before {
  content: '✓';
  position: absolute;
  left: -6px;
  top: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fbbf24;
  color: #111;
  font: 800 11px/18px Inter, sans-serif;
  text-align: center;
  z-index: 2;
}
.trm-pick.lock {
  opacity: 0.45;
  cursor: not-allowed;
}
.trm-pick.lock::before {
  content: '🔒';
  position: absolute;
  right: 4px;
  top: -8px;
  font-size: 12px;
  z-index: 2;
}
.trm-empty,
.trm-note {
  font-size: 11.5px;
  color: #8d94b3;
  margin: 0 0 12px;
}
.trm-empty {
  grid-column: 1 / -1;
}
.trm-confirm {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(192, 38, 211, 0.1);
  border: 1px solid rgba(192, 38, 211, 0.4);
  font-size: 12.5px;
  color: #e8eefc;
}
.trm-confirm.on {
  display: block;
}
.trm-act {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.trm-act button {
  font: 700 13.5px Inter, system-ui, sans-serif;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #2c3560;
  background: #161c3a;
  color: #c9cee6;
  cursor: pointer;
}
.trm-act .trm-go {
  background: linear-gradient(90deg, #7c3aed, #c026d3);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(192, 38, 211, 0.45);
}
.trm-act .trm-go:disabled {
  opacity: 0.4;
  box-shadow: none;
  cursor: not-allowed;
}
.trm-done {
  display: none;
  margin: 6px 0 0;
  text-align: center;
  font-weight: 700;
  color: #fde68a;
}
.trm-spark {
  position: fixed;
  z-index: 10060;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
}
.trm-wisp {
  position: fixed;
  z-index: 10060;
  width: 16px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  background: #fff;
  box-shadow: 0 0 10px #bfe9ff, 0 0 22px #bfe9ff, -14px 0 12px rgba(255, 255, 255, 0.5);
}
/* le haut de la fiche se reforme */
.tkc-top {
  transition: background 0.3s, box-shadow 0.3s;
}
.tkc-top.forge {
  background: rgba(160, 220, 255, 0.06);
  box-shadow: inset 0 0 0 2px #dff4ff, 0 0 18px #7dd3fc, 0 0 40px rgba(125, 211, 252, 0.55);
}
.tkc-top.forge::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 22px;
  pointer-events: none;
  background: radial-gradient(40% 60% at 25% 55%, rgba(255, 255, 255, 0.55), transparent 70%), radial-gradient(35% 50% at 70% 40%, rgba(200, 235, 255, 0.5), transparent 70%);
  filter: blur(12px);
  animation: trmMist 1.1s ease-in-out infinite alternate;
}
@keyframes trmMist {
  from { transform: translateX(-8px) scale(1); opacity: 0.75; }
  to { transform: translateX(8px) scale(1.06); opacity: 1; }
}
.tkc-top.forge .tkc-cov,
.tkc-top.forge .tkc-id b,
.tkc-top.forge .tkc-id > span,
.tkc-top.forge .tkc-badge,
.tkc-top.forge .tkc-pl,
.tkc-top.forge .tkc-play,
.tkc-top.forge .tkc-chroma-badge {
  opacity: 0;
  filter: blur(5px);
  transform: scale(1.2);
  transition: opacity 0.35s, filter 0.35s, transform 0.35s;
}
.tkc-top.forge .in {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
.tkc-top.flood {
  background: var(--k) !important;
  box-shadow: 0 0 30px var(--k), 0 0 70px var(--k) !important;
}
.tkc-top.flood * {
  color: #fff !important;
  border-color: #fff !important;
  text-shadow: none !important;
}
@media (max-width: 520px) {
  .trm-list { grid-template-columns: 1fr; }
}

/* Mise en scène de concert (Loge / Backstage) dans la scène d'ouverture */
#tko .stg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#tko .stg ~ .fan { position: relative; z-index: 2; }
#tko .stg-black { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, rgba(10, 4, 14, 0.82), rgba(0, 0, 0, 0.96)); opacity: 0; transition: opacity 0.25s; }
#tko .stg.on .stg-black { opacity: 1; }
#tko .stg.off .stg-black, #tko .stg.off .stg-laser, #tko .stg.off .stg-led, #tko .stg.off .stg-flame, #tko .stg.off .stg-smoke, #tko .stg.off .stg-beam { opacity: 0 !important; transition: opacity 0.7s; }
/* lasers rouges depuis les coins bas, qui balaient */
#tko .stg-laser { position: absolute; bottom: -10%; width: 26px; height: 130%; opacity: 0; transform-origin: 50% 100%;
  background: linear-gradient(to top, var(--c1), color-mix(in srgb, var(--c1) 50%, transparent) 60%, transparent); filter: blur(6px); mix-blend-mode: screen; }
#tko .stg-laser.l { left: 2%; --a0: 38deg; --a1: 22deg; }
#tko .stg-laser.r { right: 2%; --a0: -38deg; --a1: -22deg; }
#tko .stg-laser.b { background: linear-gradient(to top, #38bdf8, rgba(56, 189, 248, 0.4) 60%, transparent); width: 18px; }
#tko .stg-laser.l2 { left: 30%; --a0: 14deg; --a1: -8deg; }
#tko .stg-laser.r2 { right: 30%; --a0: -14deg; --a1: 8deg; }
#tko .stg.on .stg-laser { animation: stgLaser 1.6s ease-in-out infinite alternate, stgIn 0.3s 0.15s forwards; }
@keyframes stgLaser { from { transform: rotate(var(--a0)); } to { transform: rotate(var(--a1)); } }
@keyframes stgIn { to { opacity: 0.85; } }
/* panneau à LED */
#tko .stg-led { position: absolute; left: 50%; top: 6%; transform: translateX(-50%) scale(0.9); opacity: 0; border-radius: 6px; padding: 6px;
  background: #07070a; box-shadow: 0 0 0 3px #2a2a33, 0 0 0 5px #111, 0 10px 40px rgba(0, 0, 0, 0.7); animation: stgLed 0.35s forwards; }
#tko .stg-led canvas { display: block; width: 100%; height: 100%; }
@keyframes stgLed { to { opacity: 1; transform: translateX(-50%) scale(1); } }
#tko .stg-cv { position: absolute; inset: 0; }
/* Backstage : jets de flammes, fumée rouge, faisceaux bleus */
#tko .stg-flame { position: absolute; bottom: -6%; width: 16vw; max-width: 200px; height: 70%; border-radius: 50% 50% 20% 20%; filter: blur(14px); mix-blend-mode: screen;
  background: radial-gradient(ellipse at 50% 90%, #fff7c2 0 12%, #ffcc33 25%, #ff7a18 45%, rgba(255, 60, 20, 0.6) 62%, transparent 75%);
  transform-origin: 50% 100%; animation: stgFlame 0.16s ease-in-out infinite alternate, stgFlameLife 1.4s ease-out forwards; }
#tko .stg-flame.l { left: 4%; }
#tko .stg-flame.r { right: 4%; }
@keyframes stgFlame { from { transform: scaleY(0.92) scaleX(1.05); } to { transform: scaleY(1.08) scaleX(0.94); } }
@keyframes stgFlameLife { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: 0.9; } 100% { opacity: 0; } }
#tko .stg-smoke { position: absolute; top: 18%; width: 34vw; height: 40vh; border-radius: 50%; filter: blur(40px); opacity: 0;
  background: radial-gradient(circle, rgba(255, 90, 110, 0.75), rgba(255, 60, 90, 0.25) 55%, transparent 70%); animation: stgSmoke 2.6s ease-out forwards; }
#tko .stg-smoke.l { left: -10%; }
#tko .stg-smoke.r { right: -10%; }
@keyframes stgSmoke { 0% { opacity: 0; transform: scale(0.6); } 25% { opacity: 0.85; } 100% { opacity: 0; transform: scale(1.3) translateY(-40px); } }
#tko .stg-beam { position: absolute; bottom: -5%; width: 60px; height: 120%; transform-origin: 50% 100%; opacity: 0; filter: blur(10px); mix-blend-mode: screen;
  background: linear-gradient(to top, rgba(96, 200, 255, 0.95), rgba(96, 200, 255, 0.25) 70%, transparent); animation: stgBeam 1.8s ease-in-out forwards; }
#tko .stg-beam.a { left: 34%; --a0: -18deg; --a1: 6deg; }
#tko .stg-beam.b { right: 34%; --a0: 18deg; --a1: -6deg; }
@keyframes stgBeam { 0% { opacity: 0; transform: rotate(var(--a0)); } 20% { opacity: 0.8; } 100% { opacity: 0; transform: rotate(var(--a1)); } }
#tko .stg ~ .callout { opacity: 0 !important; }

/* ════════════════════════════════════════════════════════════════════════
   Design « vrai billet de concert » (2026-11-28)
   Scène (artiste, titre, playlist) | talon coloré (place, année, %, N°) | code-barres.
   La couleur de la place habille tout le billet : contour, scène, talon.
   ════════════════════════════════════════════════════════════════════════ */
.tk-page {
  --tk-hole: #0b0e14; /* fond de page : encoches de la perforation */
}
.tk-t.tk-x {
  --kd: #2f3747;
  --kl: #dfe4ee;
  display: flex;
  height: 148px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d1224;
  border: 3px solid var(--k);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s, box-shadow 0.18s;
}
.tk-t.tk-x.is-hidden { display: none; } /* filtres du classeur */
.tk-x[data-place='1'] { --kd: #0b3b5c; --kl: #bae6fd; }
.tk-x[data-place='2'] { --kd: #2e1765; --kl: #ddd6fe; box-shadow: 0 0 14px color-mix(in srgb, var(--k) 30%, transparent), 0 10px 24px rgba(0, 0, 0, 0.45); }
.tk-x[data-place='3'] { --kd: #6b3d02; --kl: #fde68a; box-shadow: 0 0 18px color-mix(in srgb, var(--k) 40%, transparent), 0 10px 24px rgba(0, 0, 0, 0.45); }
.tk-x[data-place='4'] { --kd: #701a43; --kl: #fbcfe8; box-shadow: 0 0 22px color-mix(in srgb, var(--k) 50%, transparent), 0 10px 24px rgba(0, 0, 0, 0.45); }
.tk-t.tk-x[data-id]:hover {
  transform: translateY(-3px);
  filter: none;
  box-shadow: 0 0 26px color-mix(in srgb, var(--k) 55%, transparent), 0 14px 30px rgba(0, 0, 0, 0.5);
}
/* Scène : faisceaux, halo et foule dans la couleur de la place */
.tk-x .tk-m {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 10px;
  border-right: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 105%, rgba(0, 0, 0, 0.75), transparent 70%),
    conic-gradient(from 160deg at 78% -10%, transparent 0 6deg, color-mix(in srgb, var(--kl) 40%, transparent) 9deg, transparent 13deg 22deg, color-mix(in srgb, var(--kl) 28%, transparent) 25deg, transparent 29deg 38deg, color-mix(in srgb, var(--kl) 34%, transparent) 41deg, transparent 45deg),
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--k) 60%, transparent), transparent 55%),
    linear-gradient(120deg, color-mix(in srgb, var(--kd) 70%, #05070f), var(--kd) 50%, color-mix(in srgb, var(--k) 45%, var(--kd)));
}
.tk-x .tk-m::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  opacity: 0.85;
  pointer-events: none;
  background:
    radial-gradient(circle at 6px 14px, #05070f 6px, transparent 7px) 0 6px / 16px 34px repeat-x,
    radial-gradient(circle at 13px 10px, #070a14 7px, transparent 8px) 0 0 / 22px 34px repeat-x,
    linear-gradient(transparent 55%, #05070f 55%);
}
.tk-x .tk-m > * {
  position: relative;
  z-index: 1;
}
.tk-x .tk-kick {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.28em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
}
.tk-x .tk-m .tk-artist {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin-top: 4px;
  font: 400 34px/0.92 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.tk-t.tk-x .tk-m .tk-title {
  max-width: 100%;
  margin-top: 2px;
  padding-right: 0;
  font: 400 17px 'Kaushan Script', cursive;
  color: #fff;
}
.tk-x .tk-m .tk-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 2px;
  margin-top: 1px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--k), transparent);
}
.tk-x .tk-m .tk-plname,
.tk-flat .tk-x .tk-m .tk-plname {
  display: block;
  margin-top: auto;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Talon coloré, séparé par la perforation */
.tk-t.tk-x .tk-s {
  position: relative;
  width: 132px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 12px 12px 10px 14px;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  color: #10131f;
  border-left: 2px dashed rgba(0, 0, 0, 0.35);
  background: linear-gradient(160deg, var(--kl), var(--k) 55%, color-mix(in srgb, var(--k) 70%, var(--kd)));
}
.tk-x .tk-s::before,
.tk-x .tk-s::after {
  content: '';
  position: absolute;
  left: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tk-hole);
}
.tk-x .tk-s::before { top: -11px; }
.tk-x .tk-s::after { bottom: -11px; }
/* Loge et Backstage : reflet qui passe sur le talon */
.tk-x[data-place='3'] .tk-s,
.tk-x[data-place='4'] .tk-s {
  background-image:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 45%, transparent 60%),
    linear-gradient(160deg, var(--kl), var(--k) 55%, color-mix(in srgb, var(--k) 70%, var(--kd)));
  background-size: 300% 100%, 100% 100%;
  animation: tkStub 4s ease-in-out infinite;
}
@keyframes tkStub {
  0% { background-position: 120% 0, 0 0; }
  60%, 100% { background-position: -120% 0, 0 0; }
}
.tk-x .tk-ph {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.55);
}
.tk-x .tk-pn {
  margin-top: 2px;
  font: 400 28px/1 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #10131f;
}
.tk-x .tk-chroma-tag {
  display: inline-block;
  width: fit-content;
  margin-top: 3px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b1020;
  background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff, #ff5fd2) 0 0 / 200% 100%;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}
.tk-x .tk-row {
  display: flex;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.tk-x .tk-row div {
  flex: 1;
  min-width: 0;
}
.tk-x .tk-row div + div {
  padding-left: 7px;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
}
.tk-x .tk-row small {
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.55);
}
.tk-x .tk-row b {
  font: 400 19px 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.tk-x .tk-no {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.55);
}
.tk-x .tk-no b {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #10131f;
}
/* Code-barres */
.tk-x .tk-bar {
  position: relative;
  width: 30px;
  flex: none;
  background: #eef0f5;
}
.tk-x .tk-bar::before {
  content: '';
  position: absolute;
  left: 5px;
  right: 13px;
  top: 10px;
  bottom: 10px;
  background: repeating-linear-gradient(#111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px, #111 7px 10px, transparent 10px 11px, #111 11px 12px, transparent 12px 15px);
}
.tk-x .tk-bar span {
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #333;
}
/* Tampon VIP, étoile fétiche, ⚗️ transmuté */
.tk-x .tk-vip {
  z-index: 3;
  right: 182px;
  top: 10px;
  background: rgba(0, 0, 0, 0.35);
}
.tk-x .tk-fav {
  z-index: 3;
  left: 8px;
  top: 8px;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
}
.tk-x .tk-fav ~ .tk-m .tk-kick {
  padding-left: 24px;
}
.tk-t.tk-x[data-transmuted]::before {
  left: auto;
  right: 40px;
  top: 8px;
  bottom: auto;
  z-index: 3;
}
/* Chromatique : contour de la place, artiste et titre en arc-en-ciel, reflet holographique */
.tk-x[data-chroma] {
  box-shadow: 0 0 24px color-mix(in srgb, var(--k) 55%, transparent), 0 10px 24px rgba(0, 0, 0, 0.45);
}
.tk-x[data-chroma] .tk-m::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 0, 128, 0.35), rgba(0, 255, 200, 0.35), rgba(255, 255, 0, 0.3), transparent 80%) 0 0 / 250% 100%;
  animation: tkChromaTxt 6s linear infinite;
}
.tk-x[data-chroma] .tk-m .tk-title::after {
  background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff);
}

/* Classeur : 2 billets par ligne */
.tk-grid {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}
.tk-sec {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 26px 0 12px;
  font: 400 24px 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #e8eefc;
}
.tk-sec::after {
  content: '';
  flex: 1;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, #2a3350, transparent);
}
.tk-sec .tk-sec-n {
  font: 600 13px Inter, system-ui, sans-serif;
  color: #7d88a6;
}

/* ── Paquet SongClash ─────────────────────────────────────────────────── */
.tk-pass {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  padding: 26px 16px 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #232a44;
  background: radial-gradient(ellipse 60% 70% at 50% 35%, rgba(168, 85, 247, 0.22), transparent 70%), linear-gradient(#141327, #0f1222);
}
.tk-pass::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: conic-gradient(from 200deg at 50% 0%, transparent 0 40deg, rgba(56, 189, 248, 0.08) 50deg, transparent 60deg 300deg, rgba(244, 114, 182, 0.08) 310deg, transparent 320deg);
}
.tk-pack-wrap {
  position: relative;
  margin-bottom: 18px;
  perspective: 900px;
  cursor: pointer;
  outline: none;
}
.tk-pack {
  position: relative;
  width: 200px;
  height: 290px;
  transition: transform 0.35s ease;
  animation: tkFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(168, 85, 247, 0.35));
}
.tk-pack-wrap:hover .tk-pack,
.tk-pack-wrap:focus-visible .tk-pack {
  animation-play-state: paused;
  transform: rotateY(-10deg) rotateX(6deg) scale(1.04);
}
@keyframes tkFloat {
  50% { transform: translateY(-8px) rotate(-1deg); }
}
.tk-crimp {
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: repeating-linear-gradient(90deg, #c9b8ff 0 3px, #8b7bd8 3px 6px);
}
.tk-crimp.top {
  top: 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 10px no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) 0 100% / 12px 6px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 10px no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) 0 100% / 12px 6px repeat-x;
}
.tk-crimp.bot {
  bottom: 0;
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% 10px no-repeat, conic-gradient(from 135deg at top, #000 90deg, #0000 0) 0 0 / 12px 6px repeat-x;
  mask: linear-gradient(#000 0 0) bottom / 100% 10px no-repeat, conic-gradient(from 135deg at top, #000 90deg, #0000 0) 0 0 / 12px 6px repeat-x;
}
.tk-pack-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  bottom: 14px;
  overflow: hidden;
  color: #fff;
  background:
    repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(165deg, #22d3ee 0%, #6366f1 38%, #a855f7 62%, #ec4899 100%);
}
.tk-pack-body::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  transform: translateX(-60%);
  transition: transform 0.8s;
}
.tk-pack-wrap:hover .tk-pack-body::after {
  transform: translateX(60%);
}
.tk-tear {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.55);
}
.tk-tear-t {
  position: absolute;
  right: 10px;
  top: 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}
.tk-pack-logo {
  position: absolute;
  left: 50%;
  top: 48px;
  width: 92px;
  height: 92px;
  margin-left: -46px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 0 30px rgba(34, 211, 238, 0.6);
}
.tk-pack-logo img {
  display: block;
  width: 100%;
  height: 100%;
}
.tk-pack-name {
  position: absolute;
  left: 0;
  right: 0;
  top: 154px;
  text-align: center;
  font: 400 38px/0.9 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 255, 255, 0.35);
}
.tk-pack-sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 190px;
  text-align: center;
  font: 400 17px 'Kaushan Script', cursive;
}
.tk-pack-foot {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.tk-pack-foot b {
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  letter-spacing: 0;
}
.tk-pack-badge {
  position: absolute;
  right: -12px;
  top: -10px;
  z-index: 5;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 3px #141327, 0 4px 12px rgba(244, 63, 94, 0.6);
}
/* paquets en réserve, empilés derrière */
.tk-pack-ghost {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(165deg, #0e7490, #581c87);
  transform: translate(10px, 6px) rotate(4deg);
  opacity: 0.55;
}
.tk-pack-ghost.g2 {
  transform: translate(-10px, 8px) rotate(-5deg);
  opacity: 0.35;
}
.tk-pass-tiles {
  position: relative;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 440px;
}
.tk-tile {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #262d48;
}
.tk-tile b {
  display: block;
  font-size: 22px;
  color: #fff;
}
.tk-tile span {
  font-size: 12px;
  color: #8e98b5;
}
.tk-pass .tk-pending-btn {
  position: relative;
  margin-top: 14px;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #04121a;
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.35);
}
.tk-pass-hint {
  position: relative;
  margin: 8px 0 0;
  font-size: 12px;
  color: #8e98b5;
}
/* Déchirure : le haut s'envole, éclat de lumière */
.tk-pack.torn {
  animation: tkShake 0.45s ease;
}
.tk-pack.torn > .tk-crimp.top {
  visibility: hidden;
}
@keyframes tkShake {
  20% { transform: rotate(-3deg); }
  40% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(1deg); }
}
.tk-cap-fly {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  overflow: hidden;
  z-index: 6;
  animation: tkFly 0.9s 0.35s cubic-bezier(0.3, 0.6, 0.4, 1) forwards;
}
.tk-cap-fly .tk-pack-body {
  bottom: auto;
  height: 276px;
}
@keyframes tkFly {
  to { transform: translate(160px, -140px) rotate(38deg); opacity: 0; }
}
.tk-burst {
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 60px 30px rgba(255, 255, 255, 0.9), 0 0 120px 60px rgba(168, 85, 247, 0.7);
  animation: tkBurst 0.9s 0.5s forwards;
}
@keyframes tkBurst {
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(3); }
}

/* ── Mur : petite scène avec guirlande, billets scotchés ──────────────── */
.tk-wall-box {
  margin-bottom: 22px;
}
.tk-wall {
  --tk-hole: #120d1d;
  position: relative;
  display: block;
  padding: 62px 18px 34px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2a2340;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
  background:
    radial-gradient(ellipse 30% 80% at 15% -10%, rgba(56, 189, 248, 0.16), transparent 70%),
    radial-gradient(ellipse 30% 80% at 85% -10%, rgba(244, 114, 182, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 110%, rgba(168, 85, 247, 0.18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px),
    linear-gradient(#151024, #0f0b1a);
}
.tk-lights {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46px;
  pointer-events: none;
}
.tk-lights svg {
  display: block;
  width: 100%;
  height: 46px;
}
.tk-bulb {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px 3px color-mix(in srgb, var(--c) 45%, transparent);
  animation: tkTwinkle 2.4s ease-in-out infinite;
}
@keyframes tkTwinkle {
  50% { opacity: 0.35; }
}
.tk-wall .tk-wall-hd {
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  margin: 0;
  text-align: center;
}
.tk-wall .tk-wall-title {
  font: 400 26px 'Kaushan Script', cursive;
  color: #fff;
  text-shadow: 0 0 6px #f472b6, 0 0 16px #f472b6, 0 0 30px #ec4899;
}
.tk-wall .tk-wall-hint {
  position: absolute;
  right: 16px;
  top: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #9a91b8;
}
.tk-wall .tk-wall-none {
  text-align: center;
}
.tk-wall-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 22px;
}
.tk-wall .tk-pinwrap {
  width: 410px;
  transform: rotate(var(--r, 0deg));
}
.tk-wall .tk-pinwrap:hover {
  z-index: 2;
  transform: rotate(0deg) scale(1.03);
}
.tk-wall .tk-pinwrap::before {
  display: none; /* scotch à la place de la punaise */
}
.tk-wall .tk-pin-empty:hover {
  transform: rotate(var(--r, 0deg));
}
.tk-t-pin.tk-x {
  height: 138px;
}
.tk-tape {
  position: absolute;
  z-index: 4;
  top: -10px;
  width: 62px;
  height: 20px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border-left: 2px dotted rgba(255, 255, 255, 0.15);
  border-right: 2px dotted rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.tk-tape.l { left: 18px; transform: rotate(-8deg); }
.tk-tape.r { right: 40px; transform: rotate(7deg); }
.tk-wall .tk-slot {
  height: 138px;
  gap: 8px;
  border-radius: 12px;
  border: 2px dashed #3a3256;
  color: #7d7499;
  font-size: 13px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px);
}

@media (max-width: 760px) {
  .tk-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .tk-t.tk-x { height: 132px; }
  .tk-x .tk-m { padding: 10px 10px 8px; }
  .tk-x .tk-kick { font-size: 8px; letter-spacing: 0.18em; }
  .tk-x .tk-m .tk-artist { font-size: 25px; }
  .tk-x .tk-m .tk-title { font-size: 15px; }
  .tk-x .tk-s { width: 96px; padding: 10px 8px 8px 10px; }
  .tk-x .tk-pn { font-size: 21px; }
  .tk-x .tk-row b { font-size: 16px; }
  .tk-x .tk-bar { width: 22px; }
  .tk-x .tk-bar::before { left: 4px; right: 9px; }
  .tk-x .tk-bar span { font-size: 6px; }
  .tk-x .tk-vip { right: 124px; top: 8px; }
  .tk-t.tk-x[data-transmuted]::before { right: 28px; }
  .tk-wall { padding: 88px 10px 24px; }
  .tk-wall .tk-wall-hint { position: static; display: block; margin-top: 2px; }
  .tk-wall .tk-pinwrap { width: 100%; }
  .tk-pack { width: 180px; height: 262px; }
  .tk-pack-logo { width: 80px; height: 80px; margin-left: -40px; top: 44px; }
  .tk-pack-name { top: 134px; font-size: 34px; }
  .tk-pack-sub { top: 166px; }
  .tk-cap-fly .tk-pack-body { height: 248px; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-pack,
  .tk-bulb,
  .tk-x[data-place='3'] .tk-s,
  .tk-x[data-place='4'] .tk-s,
  .tk-x[data-chroma] .tk-m::before {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Fiche d'un billet v2 : le haut est un vrai billet (pochette, titre, talon,
   code-barres) ; transmutation façon autel (emplacements autour d'un cercle).
   ════════════════════════════════════════════════════════════════════════ */
.tkc-box[data-place] {
  position: relative;
  --kd: #2f3747;
  --kl: #dfe4ee;
  max-width: 560px;
  background: #0f1422;
  border: 1px solid #222a44;
  transition: max-width 0.25s ease;
}
.tkc-box[data-place='1'] { --kd: #0b3b5c; --kl: #bae6fd; }
.tkc-box[data-place='2'] { --kd: #2e1765; --kl: #ddd6fe; }
.tkc-box[data-place='3'] { --kd: #6b3d02; --kl: #fde68a; }
.tkc-box[data-place='4'] { --kd: #701a43; --kl: #fbcfe8; }
.tkc-box[data-place='5'] { --kd: #13286b; --kl: #e0f2ff; }
.tkc-box[data-place] .tkc-x {
  z-index: 6;
  top: 10px;
  right: 10px;
  background: rgba(5, 7, 15, 0.55);
  color: #fff;
}
/* Le billet */
.tkc-box[data-place] .tkc-top {
  display: flex;
  gap: 0;
  margin: 14px 14px 0;
  padding: 0;
  min-height: 180px;
  border: 3px solid var(--k);
  border-radius: 14px;
  overflow: hidden;
  background: #0d1224;
  box-shadow: 0 0 22px color-mix(in srgb, var(--k) 35%, transparent), 0 12px 28px rgba(0, 0, 0, 0.5);
}
.tkc-scene {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 14px 26px 16px;
  background:
    radial-gradient(ellipse 70% 55% at 20% 105%, rgba(0, 0, 0, 0.75), transparent 70%),
    conic-gradient(from 160deg at 78% -10%, transparent 0 6deg, color-mix(in srgb, var(--kl) 40%, transparent) 9deg, transparent 13deg 22deg, color-mix(in srgb, var(--kl) 28%, transparent) 25deg, transparent 29deg 38deg, color-mix(in srgb, var(--kl) 34%, transparent) 41deg, transparent 45deg),
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--k) 60%, transparent), transparent 55%),
    linear-gradient(120deg, color-mix(in srgb, var(--kd) 70%, #05070f), var(--kd) 50%, color-mix(in srgb, var(--k) 45%, var(--kd)));
}
.tkc-scene::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  opacity: 0.85;
  pointer-events: none;
  background:
    radial-gradient(circle at 6px 14px, #05070f 6px, transparent 7px) 0 6px / 16px 30px repeat-x,
    radial-gradient(circle at 13px 10px, #070a14 7px, transparent 8px) 0 0 / 22px 30px repeat-x,
    linear-gradient(transparent 60%, #05070f 60%);
}
.tkc-scene > * {
  position: relative;
  z-index: 1;
}
.tkc-box[data-place] .tkc-cov {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 10px 22px rgba(0, 0, 0, 0.55);
}
.tkc-box[data-place] .tkc-pl {
  margin: 0 0 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.tkc-box[data-place] .tkc-id b {
  font: 400 34px/0.95 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.tkc-box[data-place] .tkc-id > span {
  margin-top: 2px;
  font: 400 17px 'Kaushan Script', cursive;
  color: #fff;
}
.tkc-box[data-place] .tkc-badge {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}
.tkc-box[data-place] .tkc-play {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}
.tkc-stub {
  position: relative;
  width: 118px;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 44px 12px 12px 14px;
  color: #10131f;
  border-left: 2px dashed rgba(0, 0, 0, 0.35);
  background: linear-gradient(160deg, var(--kl), var(--k) 55%, color-mix(in srgb, var(--k) 70%, var(--kd)));
}
.tkc-stub::before,
.tkc-stub::after {
  content: '';
  position: absolute;
  left: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f1422;
}
.tkc-stub::before { top: -12px; }
.tkc-stub::after { bottom: -12px; }
.tkc-stub i {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.55);
}
.tkc-stub strong {
  font: 400 26px/1 'Bebas Neue', Impact, sans-serif;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.tkc-stub small {
  margin-top: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.6);
}
.tkc-stub small b {
  display: block;
  font: 400 22px 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.06em;
  color: #10131f;
}
.tkc-bar {
  position: relative;
  width: 30px;
  flex: none;
  background: #eef0f5;
}
.tkc-bar::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 12px;
  bottom: 12px;
  background: repeating-linear-gradient(#111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px, #111 7px 10px, transparent 10px 11px, #111 11px 12px, transparent 12px 15px);
}
/* Chromatique : reflet holographique sur la scène */
.tkc-chroma .tkc-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 0, 128, 0.35), rgba(0, 255, 200, 0.35), rgba(255, 255, 0, 0.3), transparent 80%) 0 0 / 250% 100%;
  animation: tkChromaTxt 6s linear infinite;
}
/* Corps de la fiche */
.tkc-box[data-place] .tkc-grid {
  padding: 14px 14px 4px;
}
.tkc-box[data-place] .tkc-c {
  border: 1px solid #222a44;
  background: #151b2c;
}
.tkc-trm-lock {
  margin: 0 16px 12px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(167, 123, 255, 0.45);
  font-size: 12.5px;
  color: #c9bff0;
  text-align: center;
}

/* ── Transmutation : autel + explications ─────────────────────────────── */
.tkc-box.trm-wide {
  max-width: 900px;
}
.trm-zone {
  padding: 14px 16px 4px;
}
.trm-zone h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  font-size: 15px;
}
.trm-zone .trm-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.trm-zone .trm-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #262d48;
  background: #151b2c;
  color: #e8eefc;
  font: 700 13px Inter, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.trm-zone .trm-chip i {
  font-style: normal;
}
.trm-zone .trm-chip small {
  font-size: 11px;
  font-weight: 600;
  color: #8e98b5;
}
.trm-zone .trm-chip.on {
  border-color: var(--k);
  background: color-mix(in srgb, var(--k) 12%, #151b2c);
  box-shadow: 0 0 14px color-mix(in srgb, var(--k) 30%, transparent);
}
.trm-zone .trm-chip.off {
  opacity: 0.45;
  cursor: not-allowed;
}
.trm-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* Autel */
.trm-altar {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--t) 14%, transparent), transparent 60%), #0b0f1c;
  border: 1px solid #1f2640;
  overflow: hidden;
}
.trm-altar svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: color-mix(in srgb, var(--t) 55%, #3a3256);
  animation: trmSpin 60s linear infinite;
}
@keyframes trmSpin {
  to { transform: rotate(360deg); }
}
.trm-orb {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 20px Inter, system-ui, sans-serif;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--t) 40%, #fff), var(--t) 55%, color-mix(in srgb, var(--t) 50%, #000));
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--t) 14%, transparent), 0 0 40px color-mix(in srgb, var(--t) 70%, transparent);
  animation: trmPulse 2.4s ease-in-out infinite;
}
.trm-orb.full {
  animation-duration: 0.9s;
}
@keyframes trmPulse {
  50% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--t) 8%, transparent), 0 0 60px color-mix(in srgb, var(--t) 90%, transparent); }
}
.trm-zone .trm-slots {
  display: block;
  margin: 0;
}
.trm-zone .trm-slot {
  position: absolute;
  width: 46%;
  height: 58px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1.5px dashed color-mix(in srgb, var(--t) 60%, #3a3256);
  background: rgba(10, 12, 24, 0.75);
  color: color-mix(in srgb, var(--t) 80%, #fff);
  font-size: 26px;
  font-weight: 300;
  cursor: default;
}
.trm-zone .trm-slot.full {
  border: 0;
  background: none;
  cursor: pointer;
}
.trm-zone .trm-slot .trm-tk {
  width: 100%;
}
/* 3 emplacements : haut, bas gauche, bas droite ; 2 : gauche et droite */
.trm-slots[data-n='3'] .trm-slot:nth-child(1) { left: 27%; top: 8%; }
.trm-slots[data-n='3'] .trm-slot:nth-child(2) { left: 3%; top: 68%; }
.trm-slots[data-n='3'] .trm-slot:nth-child(3) { right: 3%; top: 68%; }
.trm-slots[data-n='2'] .trm-slot:nth-child(1) { left: 27%; top: 6%; }
.trm-slots[data-n='2'] .trm-slot:nth-child(2) { left: 27%; top: 76%; }
/* Explications */
.trm-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.trm-rate {
  margin: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #8e98b5;
}
.trm-rate b {
  display: block;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
  background: linear-gradient(90deg, #fbbf24, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trm-bar {
  height: 6px;
  margin: 6px 0 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #fbbf24, #f472b6, #a78bfa);
}
.trm-rules {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.45;
  color: #c3cae0;
}
.trm-rules li {
  margin-bottom: 5px;
}
.trm-rules b {
  color: #fff;
}
.trm-zone .trm-lbl {
  margin: 0 0 6px;
}
.trm-zone .trm-list {
  grid-template-columns: 1fr 1fr;
  max-height: 168px;
  margin-bottom: 10px;
}
.trm-tools {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.trm-tools button {
  flex: 1;
  padding: 9px;
  border-radius: 9px;
  border: 1px solid #2a3350;
  background: #151b2c;
  color: #e8eefc;
  font: 700 12.5px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.trm-tools button:disabled {
  opacity: 0.45;
  cursor: default;
}
.trm-zone .trm-act {
  margin-top: 4px;
}
.trm-zone .trm-act .trm-go {
  flex: 1;
  padding: 12px;
  font-size: 14px;
}
/* Mini billet (liste et emplacements) */
.tk-t.trm-tk {
  height: 56px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: none;
  border: 2px solid var(--k);
  background: linear-gradient(120deg, #0d1224, color-mix(in srgb, var(--k) 25%, #0d1224));
}
.tk-t.trm-tk .tk-m {
  padding: 7px 9px;
  border-right: 1.5px dashed rgba(255, 255, 255, 0.25);
}
.tk-t.trm-tk .tk-m b {
  font-size: 12.5px;
}
.tk-t.trm-tk .tk-m span {
  font-size: 11px;
}
.tk-t.trm-tk .tk-s {
  width: 60px;
  font-size: 8.5px;
  color: #10131f;
  background: var(--k);
}
.trm-zone .trm-pick.sel {
  outline: 2px solid #fff;
}
@media (max-width: 720px) {
  .trm-cols { grid-template-columns: 1fr; }
  .trm-altar { max-width: 320px; }
}
@media (max-width: 480px) {
  .tkc-box[data-place] .tkc-top { min-height: 0; margin: 10px 10px 0; }
  .tkc-scene { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px 26px; }
  .tkc-box[data-place] .tkc-cov { width: 64px; height: 64px; }
  .tkc-box[data-place] .tkc-id b { font-size: 26px; }
  .tkc-stub { width: 88px; padding: 40px 8px 10px 10px; }
  .tkc-stub strong { font-size: 22px; }
  .tkc-bar { width: 22px; }
  .trm-zone .trm-list { grid-template-columns: 1fr; }
}
/* Mur : consigne lisible sous l'enseigne */
.tk-wall .tk-wall-hd .tk-wall-hint {
  position: static;
  display: table;
  margin: 6px auto 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(5, 7, 15, 0.6);
  border: 1px solid #3a3256;
  font-size: 12.5px;
  font-weight: 600;
  color: #e4dcff;
}
.tk-wall {
  padding-top: 98px;
}
/* Chromatique : titre et artiste restent en arc-en-ciel */
.tkc-chroma[data-place] .tkc-id b,
.tkc-chroma[data-place] .tkc-id > span {
  color: transparent;
  text-shadow: none;
}

/* ── Paquet v3 : carte à collectionner (cadre doré fin, illustration de scène,
   bandeau de nom), dans les bleus nuit et violets de la page ─────────────── */
.tk-pack {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(124, 92, 255, 0.28));
}
.tk-crimp {
  background: repeating-linear-gradient(90deg, #d9bd7c 0 3px, #8a6a2e 3px 6px);
}
.tk-pack-body {
  border-radius: 6px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 92, 255, 0.28), transparent 70%),
    linear-gradient(170deg, #1a1f3d 0%, #121733 45%, #1d1238 100%);
  box-shadow: inset 0 0 0 1px #3b3566;
}
/* cadre doré double, coins coupés */
.tk-pack-body::before {
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 2;
  pointer-events: none;
  border: 1.5px solid #c9a45c;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #121733, inset 0 0 0 3px rgba(201, 164, 92, 0.45);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}
.tk-tear {
  top: 24px;
  left: 12px;
  right: 12px;
  border-top: 1px dashed rgba(217, 189, 124, 0.55);
}
.tk-tear-t {
  top: 10px;
  right: 16px;
  z-index: 3;
  font-size: 8px;
  color: #d9bd7c;
}
/* illustration : petite scène de concert, logo au centre */
.tk-pack-logo {
  left: 14px;
  right: 14px;
  top: 32px;
  width: auto;
  height: 122px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 1px solid rgba(201, 164, 92, 0.7);
  box-shadow: inset 0 -30px 30px rgba(5, 7, 15, 0.8);
  background:
    radial-gradient(circle at 6px 110px, #05070f 6px, transparent 7px) 0 0 / 15px 122px repeat-x,
    radial-gradient(circle at 12px 106px, #070a14 7px, transparent 8px) 0 0 / 21px 122px repeat-x,
    conic-gradient(from 160deg at 30% -5%, transparent 0 8deg, rgba(56, 189, 248, 0.45) 11deg, transparent 15deg),
    conic-gradient(from 165deg at 72% -5%, transparent 0 8deg, rgba(244, 114, 182, 0.45) 11deg, transparent 15deg),
    radial-gradient(circle at 50% 45%, rgba(124, 92, 255, 0.55), transparent 60%),
    linear-gradient(#1b1745, #0d1028);
}
.tk-pack-logo img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #d9bd7c, 0 0 26px rgba(56, 189, 248, 0.55);
}
/* bandeau du nom */
.tk-pack-name {
  left: 10px;
  right: 10px;
  top: 162px;
  z-index: 3;
  padding: 5px 0 3px;
  font-size: 30px;
  color: #f3e3b5;
  text-shadow: 0 1px 0 #5c4317, 0 0 14px rgba(217, 189, 124, 0.35);
  background: linear-gradient(90deg, transparent, #2a1f55 12%, #3a2a6e 50%, #2a1f55 88%, transparent);
  border-top: 1px solid rgba(201, 164, 92, 0.7);
  border-bottom: 1px solid rgba(201, 164, 92, 0.7);
}
.tk-pack-sub {
  top: 202px;
  z-index: 3;
  font-size: 15px;
  color: #c9c2ef;
}
.tk-pack-foot {
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  color: #d9bd7c;
}
.tk-pack-foot b {
  background: #d9bd7c;
  color: #1a1433;
}
.tk-pack-ghost {
  background: linear-gradient(170deg, #1a1f3d, #1d1238);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.5);
}
.tk-pack-badge {
  background: #d9bd7c;
  color: #1a1433;
  box-shadow: 0 0 0 3px #141327, 0 4px 12px rgba(217, 189, 124, 0.45);
}
.tk-burst {
  box-shadow: 0 0 60px 30px rgba(255, 244, 214, 0.9), 0 0 120px 60px rgba(124, 92, 255, 0.6);
}
@media (max-width: 480px) {
  .tk-pack-logo { top: 30px; height: 104px; }
  .tk-pack-logo img { width: 64px; height: 64px; }
  .tk-pack-name { top: 142px; font-size: 26px; }
  .tk-pack-sub { top: 178px; }
}

/* ── 🗿 Culte : chansons devenues des mèmes. Le contour et le talon gardent la
   couleur de la place ; la scène devient une « vidéo virale » (écran vidéo,
   légende de mème, compteur de vues, barre de lecture). ─────────────────── */
.tk-x[data-culte] .tk-m {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 80% 70% at 50% 45%, color-mix(in srgb, var(--k) 35%, #1b1b28), #0a0a12 80%);
}
.tk-x[data-culte] .tk-m::after { display: none; } /* pas de foule : une barre de lecture */
.tk-x[data-culte] .tk-kick { color: #ff4d4d; }
/* Légende de mème : capitales blanches à contour noir */
.tk-x[data-culte] .tk-m .tk-artist {
  font-family: Impact, 'Anton', 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
  color: #fff;
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000;
}
.tk-x[data-culte] .tk-m .tk-title { color: #f1f1f1; }
.tk-x[data-culte] .tk-m .tk-title::after { display: none; }
/* Pastille « ▶ » de lecture et compteur de vues */
.tk-cult-play {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 50%;
  width: 40px;
  height: 28px;
  margin-top: -20px;
  border-radius: 8px;
  background: #ff2d2d;
  box-shadow: 0 4px 12px rgba(255, 45, 45, 0.45);
  pointer-events: none;
}
.tk-cult-play::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 7px;
  border-left: 12px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.tk-x[data-culte] .tk-pl { display: flex; gap: 8px; align-items: center; margin-bottom: 9px; }
/* Barre de lecture en bas de la scène */
.tk-cult-bar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.tk-cult-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: #ff2d2d;
}
.tk-cult-bar::after {
  content: '';
  position: absolute;
  left: 62%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: #ff2d2d;
}
/* Étiquette « 🗿 CULTE » dans le talon (sous le nom de la place, qui garde sa couleur) */
.tk-cult-tag {
  display: inline-block;
  width: fit-content;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font: 800 8.5px Inter, system-ui, sans-serif;
  letter-spacing: 0.14em;
}
.tkc-cult-badge { display: inline-block; margin: 6px 0 0 6px; padding: 2px 7px; border-radius: 4px; background: #111; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.tk-chip-culte { border-color: rgba(255, 45, 45, 0.45); }
.tk-chip-culte.on { border-color: #ff4d4d; background: rgba(255, 45, 45, 0.12); }
@media (max-width: 480px) { .tk-cult-play { right: 10px; width: 32px; height: 23px; margin-top: -16px; } .tk-cult-play::before { left: 12px; top: 5px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; } .tk-cult-bar { right: 0; } }
/* Bouton ▶ et barre de lecture : dans la scène, au-dessus du contenu */
.tk-x .tk-m > .tk-cult-play, .tk-x .tk-m > .tk-cult-bar { position: absolute; display: block; z-index: 2; }

/* ── Mur plus compact : 3 billets par rangée sur ordinateur, le classeur reste visible ── */
.tk-wall { padding: 84px 14px 22px; }
.tk-wall-grid { gap: 16px 14px; }
.tk-wall .tk-pinwrap { width: 272px; }
.tk-wall .tk-t-pin.tk-x { height: 104px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m { padding: 8px 10px 7px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-kick { font-size: 7.5px; letter-spacing: 0.18em; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m .tk-artist { font-size: 23px; margin-top: 2px; -webkit-line-clamp: 1; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m .tk-title { font-size: 13px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m .tk-title::after { width: 50px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m .tk-plname { font-size: 8px; }
:is(.tk-wall, .tk-grid) .tk-t.tk-x .tk-s { width: 90px; padding: 8px 8px 7px 10px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-ph { font-size: 7.5px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-pn { font-size: 20px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-row { padding-top: 4px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-row small { font-size: 7px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-row b { font-size: 15px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-no { margin-top: 3px; font-size: 8px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-bar { width: 22px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-bar::before { left: 4px; right: 9px; top: 8px; bottom: 8px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-bar span { font-size: 6px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-vip { right: 126px; top: 6px; font-size: 9px; padding: 1px 4px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-chroma-tag { font-size: 7px; padding: 1px 4px; }
:is(.tk-wall, .tk-grid) .tk-cult-tag { font-size: 7px; padding: 1px 4px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m > .tk-cult-play { width: 30px; height: 21px; margin-top: -15px; }
:is(.tk-wall, .tk-grid) .tk-x .tk-m > .tk-cult-play::before { left: 11px; top: 5px; border-left-width: 9px; border-top-width: 5.5px; border-bottom-width: 5.5px; }
.tk-wall .tk-slot { height: 104px; font-size: 12px; }
.tk-wall .tk-tape { width: 48px; height: 16px; top: -8px; }
.tk-wall .tk-tape.r { right: 30px; }
@media (max-width: 480px) {
  .tk-wall .tk-pinwrap { width: 100%; }
}
/* Classeur : billets plus petits, 3 par rangée */
.tk-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.tk-grid .tk-t.tk-x { height: 108px; }
@media (max-width: 760px) { .tk-grid { grid-template-columns: 1fr; } }
/* Transmutation plus compacte en hauteur : tout tient sans défiler, confirmation comprise */
.tkc-box.trm-wide .tkc-top { min-height: 0; margin-top: 10px; }
.tkc-box.trm-wide .tkc-scene { padding: 10px 12px 22px 14px; gap: 12px; }
.tkc-box.trm-wide .tkc-cov { width: 62px; height: 62px; }
.tkc-box.trm-wide .tkc-id b { font-size: 26px; }
.tkc-box.trm-wide .tkc-id > span { font-size: 14px; }
.tkc-box.trm-wide .tkc-play { padding: 3px 10px; font-size: 11.5px; margin-top: 5px; }
.tkc-box.trm-wide .tkc-badge { margin-top: 4px; }
.tkc-box.trm-wide .tkc-stub { padding-top: 30px; }
.trm-zone { padding-top: 10px; }
.trm-zone h4 { margin-bottom: 8px; }
.trm-zone .trm-chips { margin-bottom: 10px; }
.trm-zone .trm-chip { padding: 6px 10px; }
.trm-altar { aspect-ratio: 1.3; max-width: 380px; }
.trm-orb { width: 76px; height: 76px; margin: -38px 0 0 -38px; font-size: 18px; }
.trm-slots[data-n='3'] .trm-slot:nth-child(1) { top: 5%; }
.trm-slots[data-n='3'] .trm-slot:nth-child(2), .trm-slots[data-n='3'] .trm-slot:nth-child(3) { top: 66%; }
.trm-slots[data-n='2'] .trm-slot:nth-child(2) { top: 70%; }
.trm-zone .trm-slot { height: 52px; }
.tk-t.trm-tk { height: 50px; }
.trm-rate b { font-size: 32px; }
.trm-bar { margin: 4px 0 8px; }
.trm-rules { font-size: 12px; line-height: 1.35; margin-bottom: 8px; }
.trm-rules li { margin-bottom: 3px; }
.trm-zone .trm-list { max-height: 116px; margin-bottom: 8px; }
/* l'étape « Sûr ? » remplace les règles au lieu de s'ajouter en dessous */
.trm-zone:has(.trm-confirm.on) .trm-rules { display: none; }
.tkc-box.trm-wide .tkc-foot { padding-top: 6px; padding-bottom: 10px; }
/* Consigne du mur : bien visible, au-dessus des billets (plus cachée par le scotch) */
.tk-wall { padding-top: 122px; }
.tk-wall .tk-wall-hd { z-index: 6; }
.tk-wall .tk-wall-hd .tk-wall-hint { position: relative; z-index: 6; margin-top: 8px; padding: 5px 14px; background: rgba(167, 139, 250, 0.22); border: 1px solid #a78bfa; color: #fff; font-weight: 700; box-shadow: 0 0 14px rgba(167, 139, 250, 0.35); }
@media (max-width: 480px) { .tk-wall { padding-top: 126px; } }
/* ☆ billet fétiche en un clic (coin du billet, propriétaire seulement) */
.tk-fav-btn { position: absolute; z-index: 4; right: 120px; bottom: 6px; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(251, 191, 36, 0.7); border-radius: 50%; background: rgba(10, 8, 20, 0.7); color: #fbbf24; font: 400 15px/24px Inter, sans-serif; text-align: center; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.tk-fav-btn:hover { transform: scale(1.15); background: rgba(251, 191, 36, 0.25); }
.tk-fav-btn.on { background: #fbbf24; color: #1a1200; box-shadow: 0 0 12px rgba(251, 191, 36, 0.7); }
@media (max-width: 480px) { .tk-fav-btn { right: 128px; } }
/* Étoile fétiche : dans le coin en haut à droite du billet */
.tk-fav-btn { right: 4px; top: 4px; bottom: auto; width: 24px; height: 24px; font-size: 14px; line-height: 22px; }
@media (max-width: 480px) { .tk-fav-btn { right: 3px; top: 3px; } }

/* ════════════════════════════════════════════════════════════════════════
   💎 Éternel (place 5, 2026-12-04) : billet holographique, bleu diamant.
   Plus rare que le Backstage (1 sur 5 000), jamais par transmutation.
   Chromatique : « holo de nuit » (onyx irisé) pour que l'arc-en-ciel ressorte.
   ════════════════════════════════════════════════════════════════════════ */
/* Contour irisé qui défile (padding-box / border-box : garde l'arrondi) */
.tk-t.tk-x[data-place='5'],
.tkc-box[data-place='5'] .tkc-top {
  border-color: transparent;
  background:
    linear-gradient(#0d1224, #0d1224) padding-box,
    linear-gradient(90deg, #8fd3ff, #c4b5fd, #f9a8d4, #a5f3fc, #e0f2ff, #93c5fd, #8fd3ff) 0 0 / 300% 100% border-box;
  box-shadow: 0 0 22px rgba(110, 195, 255, 0.5), 0 10px 24px rgba(0, 0, 0, 0.45);
  animation: tkEtBorder 6s linear infinite;
}
@keyframes tkEtBorder { to { background-position: 0 0, 300% 0; } }
/* Survol : le bleu diamant ressort, le holo s'allume */
.tk-t.tk-x[data-place='5'][data-id]:hover,
.tk-t.tk-x[data-place='5'][data-id]:focus-visible {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 0 0 1px rgba(224, 242, 255, 0.9), 0 0 26px 4px rgba(80, 180, 255, 0.85), 0 0 70px 10px rgba(60, 150, 255, 0.45), 0 14px 30px rgba(0, 0, 0, 0.5);
}
.tk-t.tk-x[data-place='5'][data-id]:hover .tk-m { filter: saturate(1.2) brightness(1.08); }
.tk-t.tk-x[data-place='5'][data-id]:hover .tk-m::before { opacity: 1; animation-duration: 0.9s; }
/* Scène : film holographique qui ondule */
.tk-x[data-place='5'] .tk-m,
.tkc-box[data-place='5'] .tkc-scene {
  transition: filter 0.2s;
  background:
    radial-gradient(ellipse 70% 55% at 20% 105%, rgba(5, 10, 40, 0.6), transparent 70%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0) 0 14px, rgba(255, 255, 255, 0.22) 20px, rgba(255, 255, 255, 0) 27px, rgba(20, 30, 90, 0.18) 34px, rgba(255, 255, 255, 0) 40px),
    radial-gradient(ellipse 60% 80% at 82% 0%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(115deg, #1d3fa8, #3b82f6 14%, #8b5cf6 28%, #ec4899 40%, #60a5fa 52%, #22d3ee 64%, #a78bfa 78%, #2563eb 90%, #1d3fa8) 0 0 / 300% 100%;
  animation: tkEtHolo 10s ease-in-out infinite alternate;
}
@keyframes tkEtHolo { to { background-position: 0 0, 60px 0, 0 0, 100% 0; } }
/* Éclats de diamant qui scintillent (remplacent le reflet des chromatiques) */
.tk-x[data-place='5'] .tk-m::before,
.tkc-box[data-place='5'] .tkc-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
  mix-blend-mode: normal;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 34% 70%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 58% 18%, #fff 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 76% 58%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 90% 30%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 46% 44%, #fff 0 0.8px, transparent 1.6px);
  animation: tkEtTwinkle 2.6s ease-in-out infinite alternate;
  transition: opacity 0.2s;
}
@keyframes tkEtTwinkle { 0% { opacity: 0.25; } 100% { opacity: 0.9; } }
.tk-x[data-place='5'] .tk-m::after,
.tkc-box[data-place='5'] .tkc-scene::after { opacity: 0.55; }
/* Écriture : blanc gravé, ombré de bleu nuit (lisible sur le holo clair) */
.tk-x[data-place='5'] .tk-kick { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 2px rgba(10, 20, 70, 0.7); }
.tk-x[data-place='5'] .tk-m .tk-artist,
.tkc-box[data-place='5'] .tkc-id b { color: #fff; text-shadow: 0 1px 0 rgba(15, 25, 90, 0.85), 0 2px 0 rgba(15, 25, 90, 0.45), 0 0 14px rgba(20, 40, 140, 0.55); }
.tk-t.tk-x[data-place='5'] .tk-m .tk-title,
.tkc-box[data-place='5'] .tkc-id > span,
.tkc-box[data-place='5'] .tkc-pl,
.tk-x[data-place='5'] .tk-m .tk-plname { text-shadow: 0 1px 2px rgba(10, 20, 70, 0.9); }
.tk-x[data-place='5'] .tk-m .tk-title::after { background: linear-gradient(90deg, #fff, #8fd3ff, transparent); }
/* Talon : argent holographique bleuté, reflet qui passe */
.tk-t.tk-x[data-place='5'] .tk-s,
.tkc-box[data-place='5'] .tkc-stub {
  color: #0b1d4a;
  border-left-color: rgba(11, 29, 74, 0.35);
  background-image:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.85) 45%, transparent 60%),
    linear-gradient(160deg, #f5fbff, #cfe6ff 25%, #e6d9ff 45%, #c8f1ff 62%, #a9cdfb 80%, #8fb8f5);
  background-size: 300% 100%, 100% 100%;
  animation: tkStub 3.2s ease-in-out infinite;
}
.tk-x[data-place='5'] .tk-pn { color: #0b1d4a; letter-spacing: 0.06em; }
.tk-x[data-place='5'] .tk-pn::before { content: '💎 '; font-size: 0.7em; vertical-align: 0.15em; }
/* ✦ Éternel chromatique : holo de nuit, artiste en arc-en-ciel */
.tk-x[data-place='5'][data-chroma] .tk-m,
.tkc-chroma.tkc-box[data-place='5'] .tkc-scene {
  background:
    radial-gradient(ellipse 70% 55% at 20% 105%, rgba(0, 0, 0, 0.7), transparent 70%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0) 0 14px, rgba(160, 200, 255, 0.12) 20px, rgba(255, 255, 255, 0) 27px, rgba(255, 255, 255, 0) 40px),
    radial-gradient(ellipse 60% 80% at 82% 0%, rgba(143, 211, 255, 0.28), transparent 60%),
    linear-gradient(115deg, #050a1f, #0d1d55 16%, #2a0f55 32%, #4a0d3c 44%, #0b2a5c 58%, #063a4a 70%, #1c1250 84%, #050a1f) 0 0 / 300% 100%;
}
.tk-x[data-place='5'][data-chroma] .tk-m .tk-artist,
.tkc-chroma.tkc-box[data-place='5'] .tkc-id b { color: transparent; text-shadow: none; filter: drop-shadow(0 0 8px rgba(143, 211, 255, 0.35)); }
.tk-x[data-place='5'][data-chroma] .tk-m .tk-title,
.tkc-chroma.tkc-box[data-place='5'] .tkc-id > span { text-shadow: none; }
/* Filtre « Éternel » du classeur : la pastille en holo */
.tk-chip[data-place='5'] i { background: linear-gradient(135deg, #8fd3ff, #c4b5fd, #f9a8d4, #a5f3fc); }
/* Scène d'ouverture : flammes et fumée bleu glacé pour l'Éternel (tickets-stage.js) */
#tko .stg.et .stg-flame { background: radial-gradient(ellipse at 50% 90%, #ffffff 0 12%, #cfe9ff 25%, #8fd3ff 45%, rgba(99, 102, 241, 0.6) 62%, transparent 75%); }
#tko .stg.et .stg-smoke { background: radial-gradient(circle, rgba(143, 211, 255, 0.75), rgba(196, 181, 253, 0.3) 55%, transparent 70%); }
#tko .stg.et .stg-black { background: radial-gradient(ellipse at 50% 60%, rgba(4, 10, 30, 0.85), rgba(0, 0, 0, 0.96)); }
@media (prefers-reduced-motion: reduce) {
  .tk-t.tk-x[data-place='5'], .tkc-box[data-place='5'] .tkc-top, .tk-x[data-place='5'] .tk-m, .tkc-box[data-place='5'] .tkc-scene,
  .tk-x[data-place='5'] .tk-m::before, .tkc-box[data-place='5'] .tkc-scene::before, .tk-t.tk-x[data-place='5'] .tk-s, .tkc-box[data-place='5'] .tkc-stub { animation: none; }
}
/* 💎 Éternel : sous le panneau LED, « 1 sur 5 000 · Nᵉ Éternel distribué » */
#tko .stg-sub { position: absolute; left: 50%; top: calc(6% + min(560px, 100vw - 40px) * 0.24 + 22px); transform: translateX(-50%); white-space: nowrap; opacity: 0;
  padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(143, 211, 255, 0.7); background: rgba(4, 10, 30, 0.75);
  font: 800 clamp(11px, 2.6vw, 15px) Inter, system-ui, sans-serif; letter-spacing: 0.18em; color: #e0f2ff; text-shadow: 0 0 10px rgba(143, 211, 255, 0.9);
  box-shadow: 0 0 18px rgba(143, 211, 255, 0.45); animation: stgSub 0.5s cubic-bezier(0.2, 1.3, 0.3, 1) forwards; }
@keyframes stgSub { from { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.8); } to { opacity: 1; transform: translateX(-50%); } }
#tko .stg.off .stg-sub { opacity: 0 !important; transition: opacity 0.7s; }


/* ═══ 🗿 Culte : rareté à part, toujours noir et or (quelle que soit la place tirée) ═══
   Cadre en dégradé or clair → bronze, talon noir écrit en or, « RARETÉ · CULTE ».
   Survol : anneau noir puis liseré or, le métal du cadre défile, lueur ambrée. */
.tk-page .tk-x[data-culte] { --k: #f5b52e !important; --kd: #3a2500; --kl: #ffe8b0; }
.tk-t.tk-x[data-culte] {
  border-color: transparent;
  background:
    linear-gradient(#0d0d12, #0d0d12) padding-box,
    linear-gradient(135deg, #fff0b8, #f5b52e 25%, #a8650a 50%, #f5b52e 75%, #fff0b8) 0 50% / 300% 300% border-box;
  box-shadow: 0 0 18px rgba(245, 160, 30, 0.35), 0 10px 24px rgba(0, 0, 0, 0.45);
}
.tk-t.tk-x[data-culte][data-id]:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px #000, 0 0 0 3px #ffe39a, 0 0 22px 5px rgba(245, 160, 30, 0.75), 0 0 60px 12px rgba(160, 90, 10, 0.45), 0 14px 30px rgba(0, 0, 0, 0.5);
  animation: tkCuMetal 2.4s linear infinite;
}
@keyframes tkCuMetal { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 300% 50%; } }
.tk-x[data-culte] .tk-m { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px), radial-gradient(ellipse 80% 70% at 50% 45%, #2a2010, #07060a 80%); }
.tk-x[data-culte] .tk-kick { color: #f5c451; }
.tk-x[data-culte] .tk-cult-bar::before,
.tk-x[data-culte] .tk-cult-bar::after { background: #f5b52e; }
.tk-t.tk-x[data-culte] .tk-s {
  color: #f5c451;
  border-left-color: rgba(245, 181, 46, 0.5);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 228, 150, 0.14) 45%, transparent 60%) 0 0 / 300% 100%, linear-gradient(160deg, #1a1408, #0a0805);
  animation: tkStub 3.2s ease-in-out infinite;
}
.tk-x[data-culte] .tk-s small, .tk-x[data-culte] .tk-ph, .tk-x[data-culte] .tk-no { color: #b8892e; }
.tk-x[data-culte] .tk-s b, .tk-x[data-culte] .tk-pn { background: linear-gradient(180deg, #fff0b8, #f5b52e 55%, #b8740c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-x[data-culte] .tk-pn::before { content: '🗿 '; font-size: 0.7em; vertical-align: 0.12em; color: #fff; -webkit-text-fill-color: #fff; }
.tk-x[data-culte] .tk-row div + div { border-left-color: rgba(245, 181, 46, 0.35); }
/* ✦ Culte chromatique : artiste et titre en arc-en-ciel (contour Impact gardé), ▶ et barre en arc-en-ciel */
.tk-x[data-culte][data-chroma] .tk-m .tk-artist { -webkit-text-stroke: 0; filter: drop-shadow(1.5px 0 0 #000) drop-shadow(-1.5px 0 0 #000) drop-shadow(0 1.5px 0 #000) drop-shadow(0 -1.5px 0 #000); }
.tk-x[data-culte][data-chroma] .tk-m .tk-cult-bar,
.tk-x[data-culte][data-chroma] .tk-m .tk-cult-play { -webkit-background-clip: border-box; background-clip: border-box; color: inherit; animation: none; filter: none; max-width: none; }
.tk-x[data-culte][data-chroma] .tk-m .tk-cult-bar { width: auto; background: rgba(255, 255, 255, 0.25); }
.tk-x[data-culte][data-chroma] .tk-m .tk-cult-play { width: 40px; background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff) 0 0 / 200% 100%; animation: tkChromaTxt 6s linear infinite; }
.tk-x[data-culte][data-chroma] .tk-cult-bar::before,
.tk-x[data-culte][data-chroma] .tk-cult-bar::after { background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff); }
@media (max-width: 480px) { .tk-x[data-culte][data-chroma] .tk-m .tk-cult-play { width: 32px; } }
.tk-chip-culte { border-color: rgba(245, 181, 46, 0.45); }
.tk-chip-culte.on { border-color: #f5b52e; background: rgba(245, 181, 46, 0.12); }
/* Fiche du billet */
.tkc-box.tkc-culte { --kd: #3a2500; --kl: #ffe8b0; border-color: rgba(245, 181, 46, 0.45); }
.tkc-culte .tkc-stub { color: #f5c451; border-left-color: rgba(245, 181, 46, 0.5); background: linear-gradient(160deg, #1a1408, #0a0805); }
.tkc-culte .tkc-stub i, .tkc-culte .tkc-stub small { color: #b8892e; }
.tkc-culte .tkc-stub strong { background: linear-gradient(180deg, #fff0b8, #f5b52e 55%, #b8740c); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .tk-t.tk-x[data-culte], .tk-t.tk-x[data-culte] .tk-s { animation: none !important; } }

/* ═══ ✦ Culte chromatique : « or prismatique » ═══
   Cadre or + arc-en-ciel qui tourne, reflet holo arc-en-ciel sur l'écran vidéo, artiste en légende de mème
   (blanc, contour noir) avec halo arc-en-ciel, titre arc-en-ciel pastel, talon noir aux lettres irisées. */
.tk-t.tk-x[data-culte][data-chroma] {
  background:
    linear-gradient(#0d0d12, #0d0d12) padding-box,
    linear-gradient(90deg, #fff0b8, #ff5fd2, #f5b52e, #52ff9a, #4fd2ff, #a77bff, #f5b52e, #fff0b8) 0 50% / 300% 100% border-box;
  box-shadow: 0 0 14px rgba(255, 95, 210, 0.35), 0 0 22px rgba(79, 210, 255, 0.3), 0 10px 24px rgba(0, 0, 0, 0.45);
  animation: tkCuPrism 5s linear infinite;
}
@keyframes tkCuPrism { to { background-position: 0 0, 300% 50%; } }
.tk-t.tk-x[data-culte][data-chroma][data-id]:hover {
  box-shadow: 0 0 0 2px #000, 0 0 0 3px #fff0b8, 0 0 22px 5px rgba(255, 95, 210, 0.55), 0 0 40px 8px rgba(79, 210, 255, 0.45), 0 0 70px 14px rgba(167, 123, 255, 0.35), 0 14px 30px rgba(0, 0, 0, 0.5);
  animation: tkCuPrism 1.6s linear infinite;
}
.tk-x[data-culte][data-chroma] .tk-m::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.55;
  background:
    linear-gradient(115deg, transparent 15%, rgba(255, 95, 210, 0.45) 30%, rgba(255, 201, 61, 0.4) 40%, rgba(82, 255, 154, 0.4) 50%, rgba(79, 210, 255, 0.45) 60%, rgba(167, 123, 255, 0.45) 70%, transparent 85%) 0 0 / 250% 100%,
    radial-gradient(circle at 18% 30%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 46% 72%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 70% 22%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 86% 64%, #fff 0 1.2px, transparent 2px);
  animation: tkCuHolo 4s ease-in-out infinite alternate;
}
@keyframes tkCuHolo { from { background-position: 100% 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: -20% 0, 0 0, 0 0, 0 0, 0 0; } }
.tk-x[data-culte][data-chroma] .tk-kick { background: linear-gradient(90deg, #ff5fd2, #ffc93d, #52ff9a, #4fd2ff, #a77bff) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tkChromaTxt 6s linear infinite; }
.tk-x[data-culte][data-chroma] .tk-m .tk-artist {
  background: none !important; color: #fff !important; -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; filter: none !important;
  animation: tkCuGlow 3s linear infinite !important;
}
@keyframes tkCuGlow {
  0%, 100% { text-shadow: 0 2px 0 #000, -3px 0 10px rgba(255, 95, 210, 0.85), 3px 0 10px rgba(79, 210, 255, 0.85), 0 0 18px rgba(255, 201, 61, 0.5); }
  50% { text-shadow: 0 2px 0 #000, -3px 0 10px rgba(82, 255, 154, 0.85), 3px 0 10px rgba(167, 123, 255, 0.85), 0 0 18px rgba(255, 95, 210, 0.5); }
}
.tk-x[data-culte][data-chroma] .tk-m .tk-title {
  background: linear-gradient(90deg, #ffb3ec, #ffe08a, #a6ffcb, #a6e8ff, #d7c2ff, #ffb3ec) 0 0 / 200% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; filter: none !important;
  animation: tkChromaTxt 6s linear infinite;
}
.tk-t.tk-x[data-culte][data-chroma] .tk-s {
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.16) 42%, rgba(255, 95, 210, 0.18) 48%, rgba(79, 210, 255, 0.18) 54%, transparent 62%) 0 0 / 300% 100%, linear-gradient(160deg, #15101c, #07060a);
  border-left-color: rgba(255, 255, 255, 0.35);
}
.tk-x[data-culte][data-chroma] .tk-pn,
.tk-x[data-culte][data-chroma] .tk-s b { background: linear-gradient(90deg, #fff0b8, #ff8fe0, #ffc93d, #7dffb5, #7ddcff, #c4a5ff, #fff0b8) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tkChromaTxt 5s linear infinite; }
.tk-x[data-culte][data-chroma] .tk-ph, .tk-x[data-culte][data-chroma] .tk-s small, .tk-x[data-culte][data-chroma] .tk-no { color: #bfb4d6; }
@media (prefers-reduced-motion: reduce) {
  .tk-t.tk-x[data-culte][data-chroma], .tk-x[data-culte][data-chroma] .tk-m::before, .tk-x[data-culte][data-chroma] .tk-m .tk-artist { animation: none !important; }
}

/* ═══ 🗿 Chansons cultes du site (bouton au bout des filtres + fenêtre « ??? ») ═══ */
.tk-cult-open {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 700; color: #ffe39a; border: 1px solid transparent;
  background: linear-gradient(#0d0d12, #0d0d12) padding-box, linear-gradient(90deg, #fff0b8, #f5b52e, #a8650a, #f5b52e, #fff0b8) 0 0 / 200% 100% border-box;
  animation: tkCultBtn 4s linear infinite;
}
.tk-cult-open .n { color: #b8892e; font-weight: 600; }
.tk-cult-open .n:empty { display: none; }
.tk-cult-open .n b { color: #fff; }
.tk-cult-open:hover, .tk-cult-open:focus-visible { box-shadow: 0 0 14px rgba(245, 160, 30, 0.45); outline: none; }
@keyframes tkCultBtn { to { background-position: 0 0, 200% 0; } }
.tk-empty + .tk-chips { justify-content: center; margin-top: 14px; }
.tkc-box.tkcu-box { max-width: 760px; padding: 22px; background: #0f0f15; border-color: #3a2c10; box-shadow: 0 0 40px rgba(245, 160, 30, 0.15); }
.tkcu-h { margin: 0 34px 0 0; font-size: 22px; background: linear-gradient(180deg, #fff0b8, #f5b52e 55%, #b8740c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tkcu-sub { color: #b9bdd3; font-size: 14px; line-height: 1.45; margin: 6px 0 12px; }
.tkcu-sub b { color: #ffe39a; }
.tkcu-bar { height: 8px; border-radius: 9px; background: #1c1d28; overflow: hidden; margin-bottom: 16px; }
.tkcu-bar span { display: block; height: 100%; background: linear-gradient(90deg, #fff0b8, #f5b52e); }
.tkcu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tkcu-s { border-radius: 12px; padding: 12px; min-height: 86px; position: relative; overflow: hidden; box-sizing: border-box; }
.tkcu-s.on { border: 2px solid transparent; background: linear-gradient(#0d0d12, #0d0d12) padding-box, linear-gradient(135deg, #fff0b8, #f5b52e, #8a5508) border-box; }
.tkcu-a { font-weight: 900; font-size: 15px; color: #fff; -webkit-text-stroke: 0.6px #000; text-transform: uppercase; overflow-wrap: anywhere; }
.tkcu-t { color: #f5c451; font-size: 13px; font-style: italic; margin-top: 2px; overflow-wrap: anywhere; }
.tkcu-who { color: #9a8a66; font-size: 11.5px; margin-top: 10px; }
.tkcu-who b, .tkcu-who a { color: #ffe39a; font-weight: 700; text-decoration: none; }
.tkcu-who a:hover { text-decoration: underline; }
.tkcu-mine { position: absolute; top: 8px; right: 9px; font-size: 10.5px; font-weight: 800; color: #0d0d12; background: #f5b52e; border-radius: 6px; padding: 2px 6px; }
.tkcu-s.on:has(.tkcu-mine) .tkcu-a { padding-right: 52px; }
.tkcu-s.off { border: 2px dashed #2a2b38; background: #101119; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.tkcu-q { font-size: 22px; font-weight: 900; color: #3b3d52; letter-spacing: 3px; }
.tkcu-m { font-size: 15px; filter: grayscale(1); opacity: 0.35; }
@media (max-width: 480px) { .tkcu-grid { grid-template-columns: repeat(2, 1fr); } .tkc-box.tkcu-box { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .tk-cult-open { animation: none; } }
/* ✕ de la fenêtre des cultes : dans le cadre, en haut à droite, reste visible quand la liste défile */
.tkc-box.tkcu-box { position: relative; }
.tkcu-box .tkc-x { position: sticky; top: 0; float: right; z-index: 3; margin: -6px -6px 0 8px; width: 34px; height: 34px; font-size: 16px; color: #ffe39a; background: #1c1810; border: 1px solid rgba(245, 181, 46, 0.45); }
.tkcu-box .tkc-x:hover { background: #2a2110; border-color: #f5b52e; }
.tkcu-h { margin-right: 0; }
/* Lisibilité : artiste en blanc net (sans contour), titre doré sans italique */
.tkcu-a { -webkit-text-stroke: 0; font-weight: 800; letter-spacing: 0.02em; line-height: 1.2; color: #fff; }
.tkcu-t { font-style: normal; font-weight: 600; color: #f5c451; }
.tkcu-who { color: #a89a7a; }
