
  .tc-section {
    --bg: #000000;
    --fg: #ffffff;
    --ribbon: #b0473f;
    --sticker-yellow: #f4d54a;
    --sticker-red: #c94d3f;
    --card-w: 300px;
    --card-h: 420px;
    --ease: cubic-bezier(.19,1,.22,1);
    --dur: .85s;

    position: relative;
    background: var(--bg);
    color: var(--fg);
    padding: clamp(2.5rem, 7vw, 6rem) 0;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
  }

  .tc-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
  }

  .tc-hash {
    position: absolute;
    left: 3%;
    top: 4%;
    width: clamp(48px, 6vw, 78px);
    color: rgba(255,255,255,.85);
    z-index: 3;
  }
  .tc-scribble {
    position: absolute;
    right: 6%;
    top: -2%;
    width: clamp(56px, 7vw, 96px);
    color: #ff6a3d;
    z-index: 3;
    transform: rotate(6deg);
  }

  .tc-corner-badge {
    position: absolute;
    right: 3%;
    bottom: 14%;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: .45rem;
    background: #f4f1ea;
    color: #111;
    font-weight: 700;
    font-size: .95rem;
    padding: .55rem 1.1rem .55rem .6rem;
    border-radius: 999px;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
  }
  .tc-corner-badge__img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 50%;
    background: #1671e0;
    padding: 4px;
  }
  .tc-corner-badge__img:not([src]),
  .tc-corner-badge__img[src=""] { display: none; }

  /* ---------- Stage / fan-stack ---------- */

  .tc-stage {
    position: relative;
    height: clamp(380px, 54vw, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    z-index: 2;
    outline: none;
    cursor: none;
  }
  .tc-stage:focus-visible { box-shadow: 0 0 0 2px var(--sticker-yellow); border-radius: 14px; }

  .tc-list { position: relative; width: var(--card-w); height: var(--card-h); }

  .tc-card {
    position: absolute;
    inset: 0;
    margin: auto;
    width: var(--card-w);
    height: var(--card-h);
    border-radius: 14px;
    background: #fff;
    padding: 12px 12px 46px 12px;   /* polaroid-style thick white border */
    box-shadow: 0 30px 60px -22px rgba(0,0,0,.7);
    will-change: transform, opacity;
    transition: opacity .4s var(--ease);
  }
  .tc-card.is-settling { transition: transform var(--dur) var(--ease), opacity .4s var(--ease); }

  .tc-card__frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #ddd;
  }
  .tc-card__img,
  .tc-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity .4s var(--ease), transform 8s linear;
  }
  .tc-card__img { z-index: 1; }
  .tc-card__video { z-index: 2; opacity: 0; }
  .tc-card[data-hover="1"] .tc-card__video,
  .tc-card[data-state="active"] .tc-card__video { opacity: 1; }
  .tc-card[data-hover="1"] .tc-card__img,
  .tc-card[data-state="active"] .tc-card__img { transform: scale(1.05); }

  /* red ribbon tag, overlapping the bottom edge of the card */
  .tc-ribbon {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    background: var(--ribbon);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: .55rem 1.4rem;
    border-radius: 3px;
    white-space: nowrap;
    box-shadow: 0 10px 20px -8px rgba(0,0,0,.5);
    z-index: 4;
    opacity: 0;
    transition: opacity .35s var(--ease);
  }
  .tc-card[data-state="active"] .tc-ribbon { opacity: 1; }

  /* comic-style sticker, floats near the left of the active card */
  .tc-sticker {
    position: absolute;
    left: -6%;
    top: 42%;
    z-index: 5;
    transform: rotate(-8deg);
    opacity: 0;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    pointer-events: none;
  }
  .tc-card[data-state="active"] .tc-sticker { opacity: 1; transform: rotate(-8deg) scale(1); }
  .tc-sticker__img { max-width: 150px; display: block; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
  .tc-sticker__fallback {
    font-family: 'Comic Sans MS', 'Segoe UI', sans-serif;
    font-weight: 900;
    line-height: .95;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.5));
  }
  .tc-sticker__line1 {
    display: block;
    font-size: 1.9rem;
    color: var(--sticker-yellow);
    -webkit-text-stroke: 2px #111;
    text-stroke: 2px #111;
    transform: rotate(-4deg);
  }
  .tc-sticker__line2 {
    display: block;
    font-size: 2.3rem;
    color: var(--sticker-red);
    -webkit-text-stroke: 2.5px #111;
    text-stroke: 2.5px #111;
    margin-top: -.3rem;
    transform: rotate(2deg);
  }

  /* ---------- Mirrored info (title + CTA) ---------- */

  .tc-info { position: relative; z-index: 2; margin-top: 2rem; min-height: 70px; }
  .tc-info__item {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
    transition: opacity .4s var(--ease);
  }
  .tc-info__title { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600; margin: 0; color: rgba(255,255,255,.9); }

  /* ---------- Nav ---------- */

  .tc-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.5rem; }
  .tc-navbtn {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--fg);
    font-size: 1.05rem; cursor: pointer;
    transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  }
  .tc-navbtn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
  .tc-navbtn:active { transform: scale(.9); }
  .tc-dots { display: flex; gap: .4rem; }
  .tc-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; padding: 0; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
  .tc-dot.is-active { background: var(--sticker-yellow); transform: scale(1.4); }

  /* ---------- Custom cursor ---------- */

  .tc-cursor {
    position: fixed; top: 0; left: 0;
    width: 80px; height: 80px; margin-left: -40px; margin-top: -40px;
    border-radius: 50%;
    background: var(--sticker-yellow);
    color: #111;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
    pointer-events: none; z-index: 9999; opacity: 0;
    transform: translate3d(-100px,-100px,0) scale(.6);
    transition: opacity .25s var(--ease), transform .1s linear;
    will-change: transform, opacity;
  }
  .tc-cursor.is-visible { opacity: 1; }
  .tc-cursor.is-dragging { background: #fff; transform: scale(.85); }

  @media (hover: none) {
    .tc-cursor { display: none; }
    .tc-stage { cursor: grab; }
  }

  @media (max-width: 900px) { .tc-section { --card-w: 230px; --card-h: 330px; } }
  @media (max-width: 560px) {
    .tc-section { --card-w: 180px; --card-h: 260px; --dur: .65s; }
    .tc-ribbon { font-size: .85rem; padding: .4rem 1rem; }
    .tc-sticker__img { max-width: 100px; }
    .tc-sticker__line1 { font-size: 1.2rem; }
    .tc-sticker__line2 { font-size: 1.5rem; }
    .tc-corner-badge { font-size: .8rem; padding: .4rem .8rem .4rem .4rem; bottom: 10%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tc-section * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  }
