/* 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 '-'
(13,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(98,26): run-time error CSS1039: Token not allowed after unary operator: '-ticket-border'
(113,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(114,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(117,33): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(117,56): run-time error CSS1039: Token not allowed after unary operator: '-notch-y'
(117,67): run-time error CSS1038: Expected hex color, found '#0000'
(117,83): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(117,112): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(118,33): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(118,56): run-time error CSS1039: Token not allowed after unary operator: '-notch-y'
(118,67): run-time error CSS1038: Expected hex color, found '#0000'
(118,83): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(118,112): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(121,33): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(121,56): run-time error CSS1039: Token not allowed after unary operator: '-notch-y'
(121,67): run-time error CSS1038: Expected hex color, found '#0000'
(121,83): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(121,112): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(122,33): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(122,56): run-time error CSS1039: Token not allowed after unary operator: '-notch-y'
(122,67): run-time error CSS1038: Expected hex color, found '#0000'
(122,83): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(122,112): run-time error CSS1039: Token not allowed after unary operator: '-notch-r'
(131,27): run-time error CSS1039: Token not allowed after unary operator: '-ticket-border-soft'
(280,26): run-time error CSS1039: Token not allowed after unary operator: '-ticket-border'
(347,15): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(386,15): run-time error CSS1039: Token not allowed after unary operator: '-ink'
 */
:root {
  --pink:      #F6AFC3;
  --pink-lt:   #FFEAF1;
  --peach:     #FFE2CF;
  --cream:     #FFF9F1;
  --mint:      #A8DCC0;
  --mint-lt:   #EAF8F0;
  --yellow:    #FFE39A;
  --lav:       #E9DDF8;
  --blue-lt:   #EAF4FF;
  --ink:       #5A4A52;
  --ink-soft:  #9B818D;
  --cutout:    #FFF6F9;

  --ticket-border: rgba(205, 130, 155, .72);
  --ticket-border-soft: rgba(196, 115, 145, .68);
}

* {
  box-sizing: border-box;
}

/* ---------- Container lưới — theo layout default ---------- */
.card_curve__container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
    grid-auto-rows: 390px;
    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 wrapper trong suốt — chrome do .t-ticket lo */
.card_curve {
    position: relative;
    display: block;
    height: auto;
    text-decoration: none;
    background: none;
    border: none;
    box-shadow: none !important;
    overflow: visible;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto;
}

.card-hooks-hidden { display: none !important; }

/* ---------- khoi anh dung 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;
  z-index: 1;
}

.lb-photo__hint {
  position: relative;
  z-index: 2;
  font-family: "Quicksand", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(120, 95, 110, .52);
  letter-spacing: .08em;
  text-transform: uppercase;
  user-select: none;
}

/* 03 — VE / TICKET STUB */
.t-ticket {
  position: relative;
  width: 236px;
  overflow: visible;
  display: flex;
  flex-direction: column;

  border-radius: 0;
  border: 2px solid var(--ticket-border);

  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.28)),
    linear-gradient(135deg, #FFEAF1 0%, #EAF8F0 52%, #EAF4FF 100%);

  box-shadow:
    0 18px 38px rgba(230, 160, 185, .28),
    0 4px 0 rgba(255,255,255,.75) inset;

  transition:
    transform .35s cubic-bezier(.2,.8,.3,1),
    box-shadow .35s;

  /* khoet 2 lo notch tai duong xe */
  --notch-y: 164px;
  --notch-r: 14px;

  -webkit-mask:
    radial-gradient(circle var(--notch-r) at 0    var(--notch-y), #0000 calc(var(--notch-r) - .5px), #000 var(--notch-r)),
    radial-gradient(circle var(--notch-r) at 100% var(--notch-y), #0000 calc(var(--notch-r) - .5px), #000 var(--notch-r));
  -webkit-mask-composite: source-in;
          mask:
    radial-gradient(circle var(--notch-r) at 0    var(--notch-y), #0000 calc(var(--notch-r) - .5px), #000 var(--notch-r)),
    radial-gradient(circle var(--notch-r) at 100% var(--notch-y), #0000 calc(var(--notch-r) - .5px), #000 var(--notch-r));
          mask-composite: intersect;
}

/* vien dashed ben trong */
.t-ticket::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed var(--ticket-border-soft);
  border-radius: 0;
  pointer-events: none;
  z-index: 5;
}

/* so ve xoay doc — lay gia tri tu data-ticket-no */
.t-ticket::after {
  content: attr(data-ticket-no);
  position: absolute;
  right: -7px;
  bottom: 66px;
  transform: rotate(-90deg);
  transform-origin: center;
  font-family: "Baloo 2", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: rgba(153, 121, 137, .42);
  z-index: 6;
}

.t-ticket:hover {
  transform: translateY(-7px) rotate(-.4deg);
  box-shadow:
    0 24px 46px rgba(230, 160, 185, .36),
    0 4px 0 rgba(255,255,255,.8) inset;
}

/* phan anh */
.t-ticket__top {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;

  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 28%, rgba(255,255,255,.7) 0 2px, transparent 3px),
    linear-gradient(135deg, #FFDDE9 0%, #E8F7EF 55%, #E8F1FF 100%);
}

/* lop phu giay pastel tren anh */
.t-ticket__top::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background:
    linear-gradient(135deg, rgba(255,255,255,.25), transparent 45%),
    repeating-linear-gradient(
      -35deg,
      rgba(255,255,255,.18) 0 8px,
      rgba(255,255,255,0) 8px 16px
    );*/
  z-index: 2;
  pointer-events: none;
}

.t-ticket__top::after {
  content: none;
  display: none;
}

/* ảnh nằm gọn bên trong, bo tròn góc — override lb-photo > img */
.t-ticket__top > img.card__image {
  inset: 8px !important;
  width: calc(100% - 16px) !important;
  height: calc(100% - 16px) !important;
  border-radius: 8px !important;
}

/* emoji bar — override global (bottom:35px center) sang góc trái tuyệt đối */
.t-ticket__top .emoji-top-bar {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 10;
}

/* duong xe ve */
.t-ticket__perf {
  position: relative;
  height: 25px;
  margin: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0 16px,
      rgba(255,255,255,.55) 16px calc(100% - 16px),
      transparent calc(100% - 16px)
    );
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-ticket__perf::before {
  content: "";
  width: calc(100% - 46px);
  border-top: 2.5px dashed rgba(196, 115, 145, .65);
}

.t-ticket__perf::after {
  content: "✦  TEAR HERE  ✦";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 7px;
  background: #FDF6F6;

  font-family: "Baloo 2", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(151, 122, 137, .46);
}

/* notch hai ben */
.t-ticket__notch {
  position: absolute;
  top: 50%;
  width: 27px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 10;
  pointer-events: none;
}

.t-ticket__notch--l {
  left: 0;
  transform: translate(-50%, -52%);
}

.t-ticket__notch--r {
  right: 0;
  transform: translate(50%, -52%);
}

.t-ticket__notch::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ticket-border);
  border-radius: 50%;
  pointer-events: none;
}

.t-ticket__notch--l::after {
  clip-path: inset(0 0 0 50%);
}

.t-ticket__notch--r::after {
  clip-path: inset(0 50% 0 0);
}

/* phan stub noi dung — keo len de chong len stripe */
.t-ticket__stub {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 3;

  margin-top: 0px;
  padding: 18px 18px 14px;
  background:
    radial-gradient(circle at 16px 16px, rgba(255,255,255,.45) 0 2px, transparent 2.8px),
    linear-gradient(180deg, #FFF9F1 0%, #FFF2F6 100%);
}

.t-ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.t-ticket__kicker {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  color: #D68FA8;
  white-space: nowrap;
}

.t-ticket__head svg {
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 3px rgba(219, 151, 173, .18));
}

/* loi chuc: co dinh 80px, cat overflow voi ...; z-index cao hon stripe */
.t-ticket__msg {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 12px 12px 11px;

  height: 80px;
  flex: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;

  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);

  background: rgba(255,255,255,.56);
  border: 1px solid rgba(246, 175, 195, .32);
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(230, 170, 190, .12);
}

.t-ticket__msg::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -5px;
  width: 42px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 226, 154, .76);
  transform: rotate(-2deg);
}

/* QA mode */
.t-ticket__qa {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t-ticket__q {
  font-family: "Baloo 2", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #D68FA8;
  letter-spacing: .06em;
}

.t-ticket__a {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}

.t-ticket__meta {
  position: relative;
  display: block;
  margin-top: 12px;
  height: 38px;
}

.t-ticket__meta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1.5px dashed rgba(205, 143, 165, .38);
}

/* ten nguoi gui — nổi lên trên barcode */
.t-ticket__name {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;

  margin: 8px 0px 0px 4px;
  padding: 2px 8px;

  max-width: calc(100% - 8px);
  font-size: 14px;
  line-height: 1.3;
  color: #C9859C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  background: rgba(255,249,241,0.88);
  border-radius: 4px;
  /* border cùng màu background → cảm giác nổi lên trên barcode */
  box-shadow: 0 0 0 3px rgba(255,249,241,0.88);
}

/* barcode trải dài toàn bộ chiều ngang meta */
.t-ticket__barcode {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  width: 100%;
  height: 30px;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      90deg,
      #B7899A 0 2px,
      transparent 2px 4px,
      #B7899A 4px 5px,
      transparent 5px 8px,
      #B7899A 8px 10px,
      transparent 10px 13px
    );
  opacity: .45;
}

