
*{box-sizing:border-box}
:root{--bg:#0b0713;--panel:#171020;--muted:#aaa1b6;--pink:#ff3b77;--purple:#9d54ff}
/* Scoped: dark theme applies ONLY inside the Likes/Matches screen, not the whole app */
.hc-native-discover-v3{min-height:100%;background:radial-gradient(circle at 50% -10%,#25143b,#0b0713 48%,#08050d);color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
button{font:inherit}
[hidden]{display:none!important}
.lh-shell{width:min(100%,560px);min-height:100dvh;margin:0 auto;padding:max(14px,env(safe-area-inset-top)) 14px calc(88px + env(safe-area-inset-bottom))}
.lh-header{display:grid;grid-template-columns:1fr auto 44px;align-items:center;gap:10px}
.lh-header h1{margin:0;font-size:27px;text-align:center}
.lh-feed{justify-self:start;border:1px solid rgba(255,255,255,.09);background:#21132f;color:#fff;border-radius:999px;padding:10px 13px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:850}
.lh-swipe{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.09);background:#21132f;color:#ff4380}
.lh-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:18px 0}
.lh-tabs button{border:1px solid rgba(255,255,255,.08);background:#1a1025;color:#aaa1b6;border-radius:999px;padding:11px 6px;font-size:11px;font-weight:850}
.lh-tabs button.active{background:linear-gradient(135deg,#9c4fff,#ff3677);color:#fff}
.lh-body{min-height:65vh}
.lh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.lh-card{overflow:hidden;border-radius:22px;background:#21142d;border:1px solid rgba(255,255,255,.09)}
.lh-card img{width:100%;height:190px;object-fit:cover;background:#2b193c;display:block}
.lh-card-info{padding:11px}
.lh-card-info strong{display:block;font-size:15px}
.lh-card-info span{display:block;color:#aaa1b6;font-size:11px;margin-top:4px}
.lh-actions{display:flex;gap:7px;margin-top:10px}
.lh-actions button{flex:1;border:0;border-radius:999px;padding:9px 6px;font-size:10px;font-weight:850}
.lh-view{background:#332044;color:#fff}.lh-message{background:#ff3b77;color:#fff}
.lh-loading,.lh-empty{min-height:55vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;color:#b6adbf}
.lh-loading span{width:34px;height:34px;border:4px solid rgba(255,255,255,.12);border-top-color:#9d54ff;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.lh-empty i{font-size:42px;color:#9d54ff}.lh-empty h2{margin:3px 0 0;color:#fff}.lh-empty p{margin:0;max-width:270px;font-size:13px}
.discover-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,560px);z-index:30;display:grid;grid-template-columns:repeat(5,1fr);padding:9px 4px calc(9px + env(safe-area-inset-bottom));background:rgba(11,7,15,.97);backdrop-filter:blur(16px);border-top:1px solid rgba(255,255,255,.08)}
.discover-nav button{border:0;background:none;color:#aaa1b6;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px}
.discover-nav i{font-size:18px}.discover-nav button.active{color:#ff4380}

/* Haitian Corner match empty-state icon */
.lh-empty .fa-user-group {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 38px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #003F87 0%,
        #003F87 48%,
        #D21034 52%,
        #D21034 100%
    );
    box-shadow: 0 14px 35px rgba(90, 55, 180, .28);
    margin-bottom: 10px;
}

/* ==========================================
   DISCOVER V3 — LOCKED / BLURRED LIKES
   ========================================== */

.lh-card-locked {
    position: relative;
}

.lh-locked-photo {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #2b193c;
}

.lh-locked-photo .lh-blurred-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: blur(18px);
    transform: scale(1.14);

    opacity: .82;
}

.lh-lock-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(12,7,17,.12),
            rgba(12,7,17,.52)
        );

    padding: 15px;
}

.lh-lock-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(18,10,26,.76);
    border: 1px solid rgba(255,255,255,.18);

    color: #fff;

    margin-bottom: 9px;

    backdrop-filter: blur(8px);
}

.lh-lock-overlay > strong {
    color: #fff;
    font-size: 14px;
}

.lh-lock-overlay > span {
    color: rgba(255,255,255,.76);
    font-size: 10px;
    margin-top: 4px;
}

.lh-locked-info > strong {
    color: #fff;
}

.lh-premium-note {
    margin-top: 10px;

    padding: 8px 9px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(156,79,255,.18),
            rgba(255,54,119,.13)
        );

    color: #d7c5e8;

    font-size: 9px;
    font-weight: 800;

    line-height: 1.35;
}

.lh-premium-note i {
    color: #f7c94b;
    margin-right: 4px;
}


/* ==========================================
   DISCOVER EVENT INVITE BADGE
   ========================================== */

.lh-invites-tab{
    position:relative;
}

.lh-invite-badge{
    display:inline-grid;
    place-items:center;

    min-width:18px;
    height:18px;

    margin-left:4px;
    padding:0 5px;

    border-radius:999px;

    background:#ff3b72;
    color:#fff;

    font-size:9px;
    font-weight:900;

    box-shadow:
        0 3px 10px rgba(255,59,114,.35);
}

.lh-invite-badge[hidden]{
    display:none !important;
}


.hc-native-discover-v3 {
    background: radial-gradient(circle at 50% -10%, #261343 0%, #12091f 48%, #0d0717 100%) !important;
    color:#fff !important;
}


/* Likes header alignment */
.lh-header h1{
    text-align:left !important;
    justify-self:start !important;
}

/* Full-bleed dark coverage for the embedded Likes/Matches screen (no white gaps) */
#likes.hc-native-discover-v3{
  min-height:100dvh !important;
  padding-bottom:0 !important;
  width:100% !important;
}

/* =========================================================
   DISCOVER LIKES — RECEIVED SUPER LIKE
   ========================================================= */

.lh-card-super{
  position:relative;
  border:2px solid #f5c542 !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,.10),
    0 0 0 3px rgba(245,197,66,.16) !important;
}

.lh-super-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:20;

  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:7px 11px;
  border-radius:999px;

  background:rgba(20,16,5,.90);
  color:#ffd84d;
  border:1px solid rgba(255,216,77,.72);

  box-shadow:0 4px 14px rgba(0,0,0,.24);

  font-size:11px;
  font-weight:900;
  letter-spacing:.45px;
  line-height:1;
}

.lh-super-badge i{
  color:#ffd84d;
  font-size:12px;
}

/*
 * Deliberately NO middle/bottom "Likes you" label.
 * Gold border + SUPER LIKE badge are the distinction.
 */

.lh-card-super img{
  outline:1px solid rgba(255,216,77,.20);
}

/* =========================================================
   DISCOVER LIKES — RECEIVED LIKE TYPE BADGES
   ========================================================= */

.lh-like-type-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:20;

  display:inline-flex;
  align-items:center;
  gap:7px;

  padding:8px 12px;
  border-radius:999px;

  font-size:11px;
  font-weight:900;
  letter-spacing:.45px;
  line-height:1;

  box-shadow:0 4px 14px rgba(0,0,0,.24);
}

/* Regular Like */
.lh-regular-like-badge{
  background:linear-gradient(135deg,#d91e5b,#f02e73);
  color:#fff;
  border:1px solid rgba(255,145,183,.75);
}

.lh-regular-like-badge i{
  color:#fff;
}

/* Super Like */
.lh-super-badge{
  background:rgba(20,16,5,.92);
  color:#ffd84d;
  border:1px solid rgba(255,216,77,.78);
}

.lh-super-badge i{
  color:#ffd84d;
}

/* Super Like card */
.lh-card-super{
  border:2px solid #f5c542 !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,.12),
    0 0 0 3px rgba(245,197,66,.16) !important;
}

/* Locked/free Super Like:
   keep anonymous, but clearly show it was special */
.lh-card-locked.lh-card-super{
  border:2px solid #f5c542 !important;
}

.lh-card-locked.lh-card-super .lh-lock-overlay strong{
  color:#ffd84d;
}

/* Make sure locked cards still show the type badge clearly */
.lh-card-locked .lh-like-type-badge{
  z-index:30;
}

/* =========================================================
   FINAL RECEIVED LIKE BADGE OVERRIDE
   ========================================================= */

.lh-card{
  position:relative;
}

.lh-like-type-badge{
  position:absolute !important;
  top:12px !important;
  left:12px !important;
  z-index:50 !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;

  min-height:36px;
  padding:8px 13px !important;
  border-radius:999px !important;

  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.45px !important;

  visibility:visible !important;
  opacity:1 !important;
}

/* ❤️ REGULAR LIKE */

.lh-regular-like-badge{
  background:linear-gradient(135deg,#d92366,#ff347d) !important;
  color:#fff !important;

  border:1px solid rgba(255,150,190,.85) !important;

  box-shadow:
    0 5px 15px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.08) !important;
}

.lh-regular-like-badge i{
  color:#fff !important;
  display:inline-block !important;
}

/* ⭐ SUPER LIKE */

.lh-super-badge{
  background:rgba(17,14,4,.94) !important;
  color:#ffd84d !important;

  border:1px solid #f5c542 !important;

  box-shadow:
    0 5px 15px rgba(0,0,0,.30),
    0 0 12px rgba(245,197,66,.15) !important;
}

.lh-super-badge i{
  color:#ffd84d !important;
}

/* Only Super Likes receive the gold card border */

.lh-card-super{
  border:2px solid #f5c542 !important;

  box-shadow:
    0 8px 24px rgba(0,0,0,.12),
    0 0 0 3px rgba(245,197,66,.16) !important;
}

/* Regular Likes keep normal card border */

.lh-card[data-like-type="like"]:not(.lh-card-super){
  border-color:rgba(255,255,255,.10);
}

/* Locked/free Super Like stays anonymous but visibly special */

.lh-card-locked.lh-card-super .lh-like-type-badge{
  display:inline-flex !important;
}


/* Matches — destructive Unmatch action */
.lh-unmatch{
  appearance:none;
  border:1px solid rgba(220,38,38,.35);
  background:rgba(220,38,38,.08);
  color:#dc2626;
  border-radius:10px;
  padding:9px 12px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:background .15s ease, opacity .15s ease;
}

.lh-unmatch:hover{
  background:rgba(220,38,38,.14);
}

.lh-unmatch:disabled{
  opacity:.55;
  cursor:default;
}

/* =========================================================
   PWA EMBEDDED MATCHES — UNMATCH LAYOUT
   Keep desktop standalone Likes page unchanged.
   ========================================================= */

#likes .lh-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  width:100%;
}

#likes .lh-actions .lh-view,
#likes .lh-actions .lh-message{
  flex:1 1 0;
  min-width:0;
}

#likes .lh-actions .lh-unmatch{
  display:flex !important;
  align-items:center;
  justify-content:center;

  flex:0 0 100%;
  width:100%;

  margin-top:1px;
  padding:9px 8px;

  border:1px solid rgba(255,75,82,.48) !important;
  border-radius:999px;

  background:rgba(212,24,28,.14) !important;
  color:#ff6268 !important;

  font-size:10px;
  font-weight:900;

  visibility:visible !important;
  opacity:1 !important;
}

#likes .lh-actions .lh-unmatch::before{
  content:'×';
  margin-right:5px;
  font-size:14px;
  line-height:1;
}

#likes .lh-actions .lh-unmatch:active{
  background:rgba(212,24,28,.25) !important;
}

#likes .lh-actions .lh-unmatch:disabled{
  opacity:.55 !important;
}

