/* Minification failed. Returning unminified contents.
(2,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(177,15): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(182,15): run-time error CSS1039: Token not allowed after unary operator: '-ink-soft'
(217,51): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(229,50): run-time error CSS1039: Token not allowed after unary operator: '-ink-soft'
(235,50): run-time error CSS1039: Token not allowed after unary operator: '-ink'
 */
:root {
  --pink:     #F58AA8;
  --pink-lt:  #FFE3EC;
  --pink-bg:  #FFF1F5;
  --cream:    #FFF8F0;
  --mint:     #9BD6B4;
  --mint-lt:  #E2F4EA;
  --yellow:   #FCD96B;
  --yellow-lt:#FFF6D6;
  --lav:      #E4D6F5;
  --ink:      #5A4A52;
  --ink-soft: #8A7680;
}

* { box-sizing: border-box; }

/* ---------- Container lưới (thay layout mặc định) ---------- */
.card_curve__container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
    grid-auto-rows: 410px;
    grid-auto-flow: row dense;
    gap: 2rem;
    padding: 20px;
    padding-bottom: 270px;
    list-style-type: none;
}

.card_curve__div {
    transition: all ease .3s;
    pointer-events: auto;
    scroll-margin-top: 70px;
}

/* Anchor trong suốt — chrome do .t-film lo */
.card_curve {
    position: relative;
    display: block;
    height: auto;
    text-decoration: none;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto;
}

.card-hooks-hidden { display: none !important; }

/* ---------- khối ảnh dùng chung ---------- */
.lb-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 10 — CUỘN PHIM / FILMSTRIP PASTEL */
.t-film {
  width: 230px;
  height: 400px;
  background: linear-gradient(180deg, #FFD6E4 0%, #FFF7EC 45%, #DDD2FF 100%);
  border: 3px solid rgba(245, 138, 168, .75);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 22px 45px rgba(245, 138, 168, .38),
    0 10px 20px rgba(90, 74, 82, .18),
    inset 0 0 0 2px rgba(255, 255, 255, .65);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}


/* Lớp ánh sáng nhẹ tạo chiều sâu */
/*.t-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.45) 0%,
    rgba(255,255,255,.12) 28%,
    transparent 52%
  );
  pointer-events: none;
  z-index: 0;
}*/

.t-film:hover {
  transform: translateY(-8px) rotate(-1.5deg) scale(1.02);
  box-shadow:
    0 28px 55px rgba(245, 138, 168, .46),
    0 14px 25px rgba(90, 74, 82, .2);
}

/* Đảm bảo nội dung nằm trên các pseudo-element */
.t-film__holes,
.t-film__frame,
.t-film__caption,
.t-film__name {
  position: relative;
  z-index: 1;
}

.t-film__holes {
  display: flex;
  justify-content: space-around;
  padding: 8px 8px;
  flex-shrink: 0;
}

.t-film__hole {
  width: 14px;
  height: 10px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 138, 168, .5);
  box-shadow:
    inset 0 2px 4px rgba(90, 74, 82, .12),
    0 1px 2px rgba(255,255,255,.9);
}

.t-film__frame {
  position: relative;
  width: calc(100% - 18px);
  height: 150px;
  margin: 0 auto;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.75), transparent 35%),
              linear-gradient(135deg, #FFE3EC 0%, #E2F4EA 55%, #E6F3FF 100%);
  border: 4px solid #FFFDF8;
  box-shadow:
    0 6px 14px rgba(90, 74, 82, .18),
    0 0 0 2px rgba(245, 138, 168, .32),
    inset 0 0 0 1px rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-film__frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Emoji bar: góc dưới trái của frame, nền sáng */
.t-film__frame .emoji-top-bar {
  left: 8px;
  bottom: 8px;
  right: auto;
  margin: 0;
  background: rgba(255, 255, 255, 0.88);
  /*backdrop-filter: blur(4px);*/
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.t-film__frame .emoji-count-center {
  color: var(--ink);
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}
.t-film__frame .emoji-main-icon {
  color: var(--ink-soft);
}

.t-film__caption {
  background: rgba(255, 255, 255, .92);
  margin: 0 10px 0;
  flex-shrink: 0;
  height: 165px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1.5px solid rgba(245, 138, 168, .35);
  box-shadow:
    0 8px 18px rgba(90, 74, 82, .12),
    inset 0 0 0 1px rgba(255,255,255,.8);
  display: flex;
  flex-direction: column;
}

/* Fade gradient ở cuối caption khi text tràn */
/*.t-film__caption::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.92));
  pointer-events: none;
  border-radius: 0 0 12px 12px;
}*/

.t-film__msg {
  margin: 0;
  flex: 1 1 0;
  min-height: 0;
  font-size: 14px; line-height: 1.45; color: var(--ink);
  text-wrap: pretty;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
}

.t-film__qa { margin: 0; flex: 1 1 0; min-height: 0; overflow: hidden; }
.t-film__q {
  display: block;
  font-size: 10px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: .03em; text-transform: uppercase;
  margin-top: 6px;
}
.t-film__a {
  margin: 2px 0 0;
  font-size: 13px; line-height: 1.4; color: var(--ink);
}

/* Tên người gửi: nằm dưới caption trên nền gradient, đẩy xuống bottom */
.t-film__name {
  margin-top: auto;
  margin-bottom: 5px;
  padding: 0 14px 0px;
  text-align: right;
  font-size: 15px;
  color: #C55A7A;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.card-lock-icon {
  top: 30px;
  right: 14px;
}

