/* likes.css - the "Like" page (likes.js) and the "New matches" row on the Chat page.
   Card frame comes from matches-v2.css (.mgrid / .mc2). Loads after matches-v2.css. */

/* ---------- Like page ---------- */
.lk-tip { margin: -8px 0 16px !important; font-size: 13px; }
.lk-up {
  display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 16px 18px;
  background: var(--s1); border-radius: 20px;
}
.lk-up b { display: block; font: 700 17px/1.3 var(--font-d); }
.lk-up p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.lk-up .btn { width: auto; flex: none; padding: 10px 18px; border-radius: 12px; clip-path: none; font: 700 14px var(--font-b); text-transform: none; letter-spacing: 0; }

/* answer buttons on a liker's card (Reserve and Black) */
.mgrid .mc2.lkc { cursor: pointer; }
.lk-acts { display: flex; gap: 8px; padding: 0 12px 12px; }
.lk-acts button {
  flex: 1; min-height: 38px; border: 0; cursor: pointer; font: 700 14px var(--font-b); color: #1B1A2E;
  border-radius: 12px; transition: transform .15s, filter .15s;
}
.lk-acts button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.lk-acts .lk-p { background: var(--s3); color: var(--t1); }
.lk-acts .lk-l { background: #FF6B5E; }

/* blurred cards for plans without "See who likes you": drawn shapes, not real photos */
.mgrid .mc2.lk-blur { padding: 0; border: 0; text-align: left; font: inherit; color: inherit; }
.lk-art { display: block; width: 100%; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--s2); }
.lk-art::before {
  content: ""; position: absolute; inset: -20%; filter: blur(18px);
  background:
    radial-gradient(circle at 50% 38%, #E9C9B8 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 92%, #CDB6A8 0 34%, transparent 35%),
    radial-gradient(circle at 18% 20%, #FFD9CF 0 22%, transparent 40%),
    var(--s3);
}
.lk-a1::before { filter: blur(20px) hue-rotate(25deg); }
.lk-a2::before { filter: blur(16px) hue-rotate(-30deg) saturate(.8); }
.lk-a3::before { filter: blur(22px) hue-rotate(60deg) saturate(.7); }
/* a real preview: the server's 10 x 12 picture, enlarged and softened (nothing more can be read from it) */
.lk-art.has::before { content: none; }
.mgrid .mc2 .lk-art img { position: absolute !important; inset: -12%; width: 124%; height: 124%; aspect-ratio: auto; object-fit: cover; filter: blur(9px) saturate(1.05); transform: none !important; }
.mc2.lk-blur .i2 { display: grid; gap: 6px; }
.lk-bar { display: block; height: 11px; width: 70%; border-radius: 6px; background: var(--s3); }
.lk-bar.s { width: 45%; height: 9px; }

/* ---------- Chat page: "New matches" row ---------- */
.dc-sub, .inbox-lbl { margin: 14px 8px 8px; font: 600 13px/1.4 var(--font-b); color: var(--t3); text-transform: none; letter-spacing: 0; }
.dc-h + .dc-sub { margin-top: 0; }
.newm { display: flex; gap: 12px; overflow-x: auto; padding: 2px 4px 10px; scrollbar-width: none; }
.newm::-webkit-scrollbar { display: none; }
/* Tinder-style "New matches": portrait photo cards with the name underneath */
.newm button {
  flex: none; display: grid; justify-items: start; gap: 6px; width: 84px; padding: 0; border: 0; background: none;
  color: var(--t1); cursor: pointer; font: 600 13px/1.3 var(--font-b); text-align: left;
}
.newm button .av {
  width: 84px; height: 112px; border-radius: 12px; clip-path: none; font-size: 30px; overflow: hidden;
  box-shadow: none; transition: transform .2s;
}
.newm button .av img { width: 100%; height: 100%; object-fit: cover; }
.newm button:hover .av, .newm button:hover .nm-pic { transform: translateY(-3px); }
.newm button.on .av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--acc); }
.newm button > span { max-width: 84px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the first card: how many players like you (blurred), opens the Like page */
.nm-pic {
  position: relative; display: flex; align-items: center; justify-content: center; width: 84px; height: 112px;
  border-radius: 12px; overflow: hidden; background: #FFD36E; box-shadow: inset 0 0 0 2px #E5B94E; transition: transform .2s;
}
.nm-pic img { position: absolute; inset: -15%; width: 130%; height: 130%; object-fit: cover; filter: blur(8px); }
.nm-pic b {
  position: relative; display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; box-sizing: border-box;
  border-radius: 19px; background: #FFD36E; color: #1B1A2E; font: 800 15px var(--font-d); box-shadow: 0 2px 8px rgba(27, 26, 46, .25);
}
.dc-newm { padding: 4px 8px 12px; }
/* end of likes.css */

/* Discover no longer shows the "N players like you / See who" bar: the Like page in the menu replaces it. */
#view .li.lkb { display: none !important; }
