/* Minification failed. Returning unminified contents.
(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 '-'
(161,15): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(188,15): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(202,15): run-time error CSS1039: Token not allowed after unary operator: '-ink'
 */
/* =====================================================================
   CARD TILE — TEMPLATE "BĂNG CASSETTE / MIXTAPE" (TileTypeId == RETRO = 6)
   Chỉ được load khi TileTypeId == RETRO (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-08-tape.css
   (bản gốc 450x280 nằm ngang -> chuyển sang dọc 244x400 cho đồng bộ lưới)
   ===================================================================== */

:root {
  --pink:     #F58AA8;
  --pink-lt:  #FFE3EC;
  --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(244px, 244px));
    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-tape 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;
}

/* 08 — BĂNG CASSETTE / MIXTAPE (dọc) */
.t-tape {
  position: relative;
  width: 244px;
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  background: #F58AA8;
  box-shadow: 0 12px 28px rgba(214,120,150,.4);
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
  display: flex;
  flex-direction: column;
}
.t-tape:hover { transform: translateY(-6px) rotate(-1deg); }

.t-tape__label {
  flex: 1 1 0;
  min-height: 0;
  margin: 12px 12px 0;
  padding: 12px;
  background: #FFF6F0;
  border-radius: 8px;
  border: 2px solid #FFD9C2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t-tape__brand {
  display: block;
  flex-shrink: 0;
  text-align: center;
  /*font-family: "Baloo 2", sans-serif;*/
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  color: #E0728E;
}

.t-tape__reels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.t-tape__reel {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, #EBD9CE 31% 100%);
  border: 3px solid #C9A98F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  animation: tapeSpin 3s linear infinite paused;
}
.t-tape:hover .t-tape__reel { animation-play-state: running; }
.t-tape__hub {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #C9A98F;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #C9A98F;
}
@keyframes tapeSpin { to { transform: rotate(360deg); } }

.t-tape__window {
  flex: 1;
  height: 96px;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg,#FFE3EC,#FFEFD9);
  border: 2px solid #E9CBBA;
}

/* Vùng lời nhắn chiếm phần còn lại; clamp đặt ở phần tử con */
.t-tape__body {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  margin-top: 4px;
  /* 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-tape__msg {
  margin: 0;
  /*font-family: "Quicksand", sans-serif;*/
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
  text-wrap: pretty;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}

/* Q&A (form mode) */
.t-tape__qa { height: 100%; overflow: hidden; text-align: center; }
.t-tape__q {
  display: block;
  /*font-family: "Baloo 2", sans-serif;*/
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #E0728E;
  margin-top: 2px;
}
.t-tape__a {
  margin: 0 0 4px;
  /*font-family: "Quicksand", sans-serif;*/
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}

/* Emoji bar (VIP): nằm in-flow cuối nhãn băng */
.t-tape__label .emoji-top-bar {
  position: static;
  flex-shrink: 0;
  margin: 0 auto;
  width: fit-content;
  background: rgba(224, 114, 142, .12);
  backdrop-filter: none;
  box-shadow: none;
}
.t-tape__label .emoji-count-center {
  color: var(--ink);
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
}

.t-tape__base {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 10px 12px 12px;
}
.t-tape__name {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  /*font-family: "Baloo 2", sans-serif;*/
  /*font-weight: 700;*/
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-tape__screw {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
}

.card-lock-icon {
  top: 20px;
  right: 20px;
}

.btnEditWish {
    color: white !important;
}

