/* Minification failed. Returning unminified contents.
(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 '-'
(13,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(84,64): run-time error CSS1039: Token not allowed after unary operator: '-pink'
(110,20): run-time error CSS1039: Token not allowed after unary operator: '-pink'
 */
/* =====================================================================
   CARD TILE — TEMPLATE "MINIMAL THANH LỊCH" (TileTypeId == MINIMAL = 5)
   Chỉ được load khi TileTypeId == MINIMAL (include theo điều kiện trong
   Views/Memory/Index.cshtml) nên dùng lại class hook (.card_curve,
   .card__image, .card__title...) mà không bị đè bởi template khác.
   Nguồn skin: WebOrderFood/TemplateCard/template-05-minimal.css
   ===================================================================== */

:root {
  --pink:     #F58AA8;
  --pink-lt:  #FFE3EC;
  --pink-bg:  #FFF1F5;
  --ink:      #5A4A52;
  --ink-soft: #8A7680;
}

/* ---------- Container lưới riêng ---------- */
.card_curve__container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(230px, 230px));
    grid-auto-rows: 420px;
    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-min 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;
}

/* 05 — MINIMAL ELEGANT */
.t-min {
  position: relative;
  width: 230px;
  height: 400px;
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 6px 20px rgba(150,130,140,.16);
  border: 1px solid #F0E7EA;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s, box-shadow .35s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.t-min:hover { transform: translateY(-5px); border-color: var(--pink); box-shadow: 0 14px 30px rgba(150,130,140,.24); }

.t-min__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg,#F3EEF0,#FBF7F8);
  border: 1px solid #EFE7EA;
}

/* Emoji bar (VIP): góc dưới trái của ảnh */
.t-min__photo .emoji-top-bar {
  left: 6px;
  bottom: 6px;
  right: auto;
  margin: 0;
}

.t-min__rule {
  display: block;
  flex-shrink: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
  margin: 18px 0 12px;
}

/* Vùng lời nhắn chiếm phần còn lại; clamp đặt ở phần tử con
   (Firefox blockify flex item -> mất -webkit-box clamp). */
.t-min__body {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  /* mờ dần mép dưới khi nội dung (nhất là form Q&A) bị cắt */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent);
}
.t-min__msg {
  margin: 0;
  /*font-family: "Be Vietnam Pro", sans-serif;*/
  font-weight: 300;
  font-size: 13px;
  line-height: 1.62;
  color: #4A4046;
  text-wrap: pretty;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
}

/* Q&A (form mode) */
.t-min__qa { height: 100%; overflow: hidden; }
.t-min__q {
  display: block;
  /*font-family: "Be Vietnam Pro", sans-serif;*/
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #C98AA0;
  margin-top: 4px;
}
.t-min__a {
  margin: 1px 0 4px;
  /*font-family: "Be Vietnam Pro", sans-serif;*/
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.45;
  color: #4A4046;
}

.t-min__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #F2ECEE;
}
.t-min__name {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  /*font-family: "Be Vietnam Pro", sans-serif;*/
  /*font-weight: 600;*/
  font-size: 13px;
  letter-spacing: .01em;
  color: #8A5C6C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-min__react { display: inline-flex; flex-shrink: 0; }

.card-lock-icon {
  top: 20px;
  right: 20px;
}

