/* v1.8.0 — Private Match App Experience
   App-like dating UX inspired by common interaction patterns in modern dating apps.
   Brand, copy and assets remain original to Conexão 18+. */

.verified-inline{display:inline-grid;place-items:center;width:18px;height:18px;margin-left:5px;border-radius:50%;background:#27a9df;color:#fff;font-size:11px;font-style:normal;font-weight:900;vertical-align:2px;box-shadow:0 1px 4px rgba(0,0,0,.14)}
.verified-badge{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:3px 7px;border-radius:999px;background:#e7f7fb;color:#168aa0;border:1px solid #b9e4ec;font-size:.62rem;font-weight:900;letter-spacing:.04em}

/* Public experience */
body.public-template-private-match-entry{background:#f4f7f8;color:#27343a}
body.public-template-private-match-entry .topbar{background:rgba(255,255,255,.96);border-bottom:1px solid #dbe6e8;backdrop-filter:none;box-shadow:0 4px 18px rgba(32,66,73,.06)}
body.public-template-private-match-entry .brand{color:#27343a}
body.public-template-private-match-entry .container{max-width:1120px}
body.public-template-private-match-entry .home-hero{min-height:620px;grid-template-columns:1fr .82fr;gap:42px}
body.public-template-private-match-entry .home-hero h1{font-size:clamp(2.7rem,6vw,5rem);color:#25343a;letter-spacing:-.055em}
body.public-template-private-match-entry .home-hero p{color:#728087}
body.public-template-private-match-entry .eyebrow{color:#159bad}
body.public-template-private-match-entry .btn{background:#25b6c8;box-shadow:none;border-radius:999px}
body.public-template-private-match-entry .btn.secondary{background:#fff;color:#314047;border:1px solid #d6e3e6}
body.public-template-private-match-entry .premium-showcase{background:#fff;border-color:#d7e4e7;box-shadow:0 24px 70px rgba(28,86,97,.12);transform:rotate(1.3deg)}
body.public-template-private-match-entry .pulse{background:linear-gradient(155deg,#d9f6f8,#69cdd9 56%,#25b6c8)}
body.public-template-private-match-entry .pulse:after{content:"♡";color:#fff}
body.public-template-private-match-entry .card{background:#fff;border-color:#d8e4e7;box-shadow:0 12px 40px rgba(39,71,77,.07)}
body.public-template-private-match-entry .home-feature-card{border-radius:18px}
body.public-template-private-match-entry .home-strip{background:linear-gradient(115deg,#e9f8fa,#fff 58%,#fff3e7)}
body.public-template-private-match-entry .chips span,body.public-template-private-match-entry .pill{background:#edf5f6;border-color:#d8e5e7;color:#53666d}
body.public-template-private-match-entry .footer{background:#fff;border-color:#d9e5e7;color:#78888e}
body.public-template-private-match-entry.route-login .auth-login-card{background:#fff;border-color:#d8e5e7;box-shadow:0 24px 70px rgba(40,76,82,.08)}
body.public-template-private-match-entry.route-login .auth-promo{background:linear-gradient(160deg,#27b7c8,#1fa1b3 62%,#158497);border:0;color:#fff}
body.public-template-private-match-entry.route-login .auth-promo p,body.public-template-private-match-entry.route-login .auth-promo .eyebrow{color:#e7fbfd}
body.public-template-private-match-entry.route-login input,body.public-template-private-match-entry.route-register input,body.public-template-private-match-entry.route-register select,body.public-template-private-match-entry.route-register textarea{background:#f8fbfb;color:#27343a;border-color:#d8e5e7}

/* Private Match logged app */
body.user-template-private-match-app{background:#f1f5f6;color:#26363d;--shadow:0 8px 30px rgba(31,67,74,.09)}
body.user-template-private-match-app a{color:#248fa0}
body.user-template-private-match-app .topbar{height:58px;padding:7px max(14px,calc((100vw - var(--container,1180px))/2));background:#25b6c8;border:0;box-shadow:0 3px 14px rgba(18,126,141,.22);backdrop-filter:none;color:#fff}
body.user-template-private-match-app .topbar .brand{color:#fff;z-index:2}
body.user-template-private-match-app .topbar .brand-logo{max-height:40px;filter:brightness(0) invert(1)}
body.user-template-private-match-app .app-route-title{display:none!important}
body.user-template-private-match-app .topbar nav a,body.user-template-private-match-app .topbar .linkbtn{color:#fff}
body.user-template-private-match-app .nav-toggle{color:#fff;border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.12)}
body.user-template-private-match-app .container{width:min(1080px,calc(100% - 24px));margin:20px auto 92px}
body.user-template-private-match-app .card{background:#fff;border:1px solid #d9e5e7;box-shadow:0 8px 26px rgba(36,76,83,.07)}
body.user-template-private-match-app .btn{background:#25b6c8;border-radius:999px;box-shadow:none}
body.user-template-private-match-app .btn.secondary{background:#fff;color:#42545b;border-color:#d6e3e6}
body.user-template-private-match-app input,body.user-template-private-match-app select,body.user-template-private-match-app textarea{background:#f8fbfb;color:#26363d;border-color:#d6e3e6}
body.user-template-private-match-app label{color:#52656c}
body.user-template-private-match-app .eyebrow{color:#168ea0}
body.user-template-private-match-app .pill,body.user-template-private-match-app .chips span{background:#eef6f7;border-color:#d8e6e8;color:#53666d}
body.user-template-private-match-app .footer{display:none}

/* Explore / Discover */
body.user-template-private-match-app.route-discover .discover-page-head{margin:0 0 8px}
body.user-template-private-match-app.route-discover .discover-page-head>div:first-child{display:none}
body.user-template-private-match-app.route-discover .discover-head-actions{margin-left:auto}
body.user-template-private-match-app.route-discover .discover-count{display:none}
body.user-template-private-match-app.route-discover .mobile-filter-trigger{width:42px;height:42px;padding:0;font-size:0;border-radius:50%;background:#fff;border:1px solid #d4e4e6;color:#1c9daf;box-shadow:0 4px 14px rgba(35,90,99,.08)}
body.user-template-private-match-app.route-discover .mobile-filter-trigger:after{content:"☷";font-size:20px}
body.user-template-private-match-app .discover-mode-switch{margin:0 0 10px;background:#fff;border-color:#d9e5e7;border-radius:12px;box-shadow:none}
body.user-template-private-match-app .discover-mode-switch a{color:#708188}
body.user-template-private-match-app .discover-mode-switch a.active{background:#25b6c8;color:#fff}
body.user-template-private-match-app .pm-radar-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fff;border:1px solid #d8e5e7;border-radius:12px;margin:0 0 14px;overflow:hidden}
body.user-template-private-match-app .pm-radar-tabs a{padding:11px 8px;text-align:center;color:#718087;font-weight:800;font-size:.78rem;border-right:1px solid #e1ebed}
body.user-template-private-match-app .pm-radar-tabs a:last-child{border-right:0}
body.user-template-private-match-app .pm-radar-tabs a.active{color:#1698aa;background:#eaf8fa}
body.user-template-private-match-app .discover-shell{display:block}
body.user-template-private-match-app .discover-filter-panel{position:fixed;inset:0 0 0 auto;width:min(420px,100%);z-index:150;transform:translateX(105%);transition:.2s ease;background:#f5f8f9;padding:max(14px,env(safe-area-inset-top)) 14px max(20px,env(safe-area-inset-bottom));overflow:auto;box-shadow:-20px 0 60px rgba(27,67,74,.18)}
body.user-template-private-match-app .discover-filter-panel.is-open{transform:translateX(0)}
body.user-template-private-match-app .discover-filter-panel .mobile-filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
body.user-template-private-match-app .discover-filter-panel .discover-filters{display:grid;grid-template-columns:1fr;gap:12px;padding:18px;margin:0}
body.user-template-private-match-app .discover-filter-panel .filter-location{grid-column:auto;grid-template-columns:1fr}
body.user-template-private-match-app .discover-filter-panel .discover-filter-title{display:none}
body.user-template-private-match-app .mobile-filter-backdrop{z-index:145;background:rgba(33,58,63,.5);backdrop-filter:none}
body.user-template-private-match-app .discover-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 2px 10px}
body.user-template-private-match-app .discover-toolbar strong{font-size:.95rem}
body.user-template-private-match-app .discover-profile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.user-template-private-match-app .profile-card{display:block;position:relative;padding:0;overflow:hidden;border:0;border-radius:10px;background:#fff;box-shadow:0 3px 15px rgba(33,70,77,.08)}
body.user-template-private-match-app .profile-card:hover{transform:none}
body.user-template-private-match-app .profile-card-media{position:relative;width:100%;aspect-ratio:4/5;background:#dfecee;overflow:hidden}
body.user-template-private-match-app .profile-card-media .photo-avatar,body.user-template-private-match-app .profile-card-media>.avatar{width:100%;height:100%;border-radius:0;object-fit:cover;display:block}
body.user-template-private-match-app .profile-card-media:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,rgba(19,33,36,.78))}
body.user-template-private-match-app .profile-card-body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:10px;color:#fff}
body.user-template-private-match-app .profile-card-heading{display:flex;align-items:center;gap:4px;justify-content:flex-start}
body.user-template-private-match-app .profile-card-heading h3{font-size:.92rem;margin:0;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.45)}
body.user-template-private-match-app .profile-age{font-size:.76rem;color:#fff}
body.user-template-private-match-app .profile-card-type{font-size:.65rem;color:#e9f7f8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.user-template-private-match-app .profile-card-location{font-size:.64rem;color:#e8f4f5!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.user-template-private-match-app .profile-card-chips{display:none}
body.user-template-private-match-app .affinity-badge{top:8px;right:8px;background:rgba(255,255,255,.94);color:#1698aa;border:0;z-index:3}
body.user-template-private-match-app .pm-online-dot{position:absolute;z-index:4;left:8px;top:8px;width:11px;height:11px;border-radius:50%;background:#38d67a;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.2)}
body.user-template-private-match-app .demo-badge{font-size:.52rem;padding:3px 5px}

/* Profile */
body.user-template-private-match-app.route-profile .container{width:min(820px,100%);margin-top:0}
body.user-template-private-match-app .private-match-profile{padding-bottom:18px}
body.user-template-private-match-app .private-match-profile .profile-hero{position:relative;display:block;margin:0;border:0;border-radius:0;padding:0;overflow:hidden;box-shadow:none;background:#fff}
body.user-template-private-match-app .private-match-profile .profile-hero-media{width:100%;height:min(68vh,660px);background:#dfecee}
body.user-template-private-match-app .private-match-profile .profile-hero-media img,body.user-template-private-match-app .private-match-profile .profile-hero-media .avatar{width:100%;height:100%;max-width:none;border-radius:0;object-fit:cover}
body.user-template-private-match-app .private-match-profile .profile-hero-copy{padding:18px 18px 10px;background:#fff}
body.user-template-private-match-app .private-match-profile .profile-hero-copy h1{margin:.1rem 0;font-size:1.75rem;color:#26363d}
body.user-template-private-match-app .private-match-profile .profile-location{margin:.15rem 0;color:#77878d}
body.user-template-private-match-app .private-match-profile .profile-affinity{margin:12px 0;padding:10px 12px;border-radius:12px;background:#ecf8f9;color:#26727d}
body.user-template-private-match-app .private-match-profile .profile-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 18px 18px;background:#fff}
body.user-template-private-match-app .private-match-profile .profile-primary-actions>.pill{grid-column:1/-1;text-align:center;justify-content:center}
body.user-template-private-match-app .private-match-profile .profile-primary-actions form,body.user-template-private-match-app .private-match-profile .profile-primary-actions .btn{width:100%}
body.user-template-private-match-app .pm-profile-tabs{position:sticky;top:58px;z-index:12;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-bottom:1px solid #dce7e9;border-top:1px solid #e5edef}
body.user-template-private-match-app .pm-profile-tabs a{text-align:center;padding:12px;color:#718188;font-weight:800;font-size:.8rem}
body.user-template-private-match-app .pm-profile-tabs a:hover{color:#1499aa;background:#eefafa}
body.user-template-private-match-app .profile-layout{grid-template-columns:1fr;gap:10px;margin:10px 12px}
body.user-template-private-match-app .profile-security-card{order:2}
body.user-template-private-match-app .profile-about-card{order:1}
body.user-template-private-match-app .gallery-section,body.user-template-private-match-app .restricted-gallery-card{margin:10px 12px}
body.user-template-private-match-app .profile-photo-grid,body.user-template-private-match-app .restricted-photo-grid{grid-template-columns:repeat(3,1fr);gap:4px}
body.user-template-private-match-app .profile-photo-grid figure,body.user-template-private-match-app .restricted-photo-grid figure{border-radius:5px;border:0}
body.user-template-private-match-app .profile-photo-grid figcaption,body.user-template-private-match-app .restricted-photo-grid figcaption{display:none}

/* Likes / matches */
body.user-template-private-match-app .private-match-matches .matches-head h1{font-size:1.35rem}
body.user-template-private-match-app .matches-tabs{background:#fff;border:1px solid #d9e5e7;border-radius:12px;padding:4px;gap:2px}
body.user-template-private-match-app .matches-tabs a{border:0;border-radius:9px;color:#728188}
body.user-template-private-match-app .matches-tabs a:hover,body.user-template-private-match-app .matches-tabs a:focus{background:#eaf8fa;color:#1597a8}
body.user-template-private-match-app .match-card{border-color:#dae6e8;border-radius:12px;background:#fff;box-shadow:0 4px 18px rgba(32,73,81,.06)}
body.user-template-private-match-app .match-card-photo{border-radius:50%;aspect-ratio:1/1;width:76px;height:76px;margin:auto}
body.user-template-private-match-app .match-card-main{grid-template-columns:78px 1fr;align-items:center}
body.user-template-private-match-app .affinity-pill{background:#eaf8fa;color:#168fa0}

/* Chat */
body.user-template-private-match-app .private-match-chat-index .page-head{margin-bottom:8px}
body.user-template-private-match-app .conversation-list{border-radius:12px;border-color:#dae6e8;box-shadow:none}
body.user-template-private-match-app .conversation-list>a{background:#fff;border-color:#e3ecee;padding:13px 14px}
body.user-template-private-match-app .chat-list-avatar{overflow:hidden;background:#e4f1f3}
body.user-template-private-match-app .chat-list-avatar img{width:100%;height:100%;object-fit:cover}
body.user-template-private-match-app .private-match-chat-room .chat-shell{border:0;border-radius:0;max-width:780px;box-shadow:0 8px 24px rgba(31,74,82,.08);background:#eef4f5}
body.user-template-private-match-app .chat-head{background:#fff;border-color:#dce7e9;display:grid;grid-template-columns:auto 1fr auto;padding:10px 12px}
body.user-template-private-match-app .chat-peer-link{display:flex;align-items:center;gap:9px;color:#26363d;min-width:0}
body.user-template-private-match-app .chat-peer-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#dcecee;color:#1d9eb0}
body.user-template-private-match-app .chat-peer-avatar img{width:100%;height:100%;object-fit:cover}
body.user-template-private-match-app .chat-peer-link strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.user-template-private-match-app .chat-head-profile{color:#718188;font-size:1.3rem;padding:8px}
body.user-template-private-match-app .messages{background:#eef4f5}
body.user-template-private-match-app .message{background:#fff;color:#314148;border-radius:16px 16px 16px 5px;box-shadow:0 2px 6px rgba(40,76,82,.06)}
body.user-template-private-match-app .message.mine{background:#25b6c8;color:#fff;border-radius:16px 16px 5px 16px}
body.user-template-private-match-app .chat-compose{background:#fff;border-color:#dce7e9}
body.user-template-private-match-app .chat-compose textarea{background:#f1f6f7;border-radius:18px}

/* Notifications and forms */
body.user-template-private-match-app .profile-notifications,body.user-template-private-match-app .notification-list{background:#fff;border-color:#dbe6e8}
body.user-template-private-match-app .notification-list .notification-item{border-color:#e2ebed}
body.user-template-private-match-app .notification-list .notification-item.is-unread{background:#ecf8fa}
body.user-template-private-match-app .notification-avatar{background:#e1f1f3;color:#1696a8}

/* Admin preview cards */
.preview-private-match-entry,.preview-private-match-app{--p1:#25b6c8;--p2:#ff9e43;background:linear-gradient(180deg,#fff,#edf7f8)!important}
.preview-private-match-entry i,.preview-private-match-app i{background:#25b6c8!important}
.preview-private-match-entry b,.preview-private-match-app b{background:#d8eef1!important}
.preview-private-match-entry em,.preview-private-match-app em{background:#ffb566!important}

@media(max-width:900px){
  body.user-template-private-match-app .discover-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.user-template-private-match-app .topbar nav{background:#fff;color:#314148}
  body.user-template-private-match-app .topbar nav a,body.user-template-private-match-app .topbar .linkbtn{color:#314148}
}
@media(max-width:620px){
  body.public-template-private-match-entry .home-hero{padding-top:18px;display:block;min-height:auto}
  body.public-template-private-match-entry .premium-showcase{margin-top:24px;transform:none}
  body.user-template-private-match-app .container{width:100%;padding:0 10px;margin-top:12px}
  body.user-template-private-match-app.route-discover .container,body.user-template-private-match-app.route-profile .container,body.user-template-private-match-app.route-chat-room .container{padding:0;width:100%}
  body.user-template-private-match-app .discover-mode-switch{margin:0 10px 8px}
  body.user-template-private-match-app .pm-radar-tabs{margin:0 10px 10px}
  body.user-template-private-match-app.route-discover .discover-page-head{position:absolute;top:8px;right:10px;z-index:106;margin:0}
  body.user-template-private-match-app.route-discover .mobile-filter-trigger{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.45);color:#fff;box-shadow:none}
  body.user-template-private-match-app .discover-toolbar{padding:0 12px 8px}
  body.user-template-private-match-app .discover-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
  body.user-template-private-match-app .profile-card{border-radius:0;box-shadow:none}
  body.user-template-private-match-app .profile-card-media{aspect-ratio:3/4}
  body.user-template-private-match-app .profile-card-body{padding:8px}
  body.user-template-private-match-app .profile-card-heading h3{font-size:.86rem}
  body.user-template-private-match-app .profile-card-type,body.user-template-private-match-app .profile-card-location{font-size:.6rem}
  body.user-template-private-match-app .private-match-profile .profile-hero-media{height:58dvh;min-height:390px}
  body.user-template-private-match-app .profile-layout,body.user-template-private-match-app .gallery-section,body.user-template-private-match-app .restricted-gallery-card{margin-left:10px;margin-right:10px}
  body.user-template-private-match-app .profile-photo-grid,body.user-template-private-match-app .restricted-photo-grid{grid-template-columns:repeat(3,1fr);gap:2px}
  body.user-template-private-match-app .match-card-grid{grid-template-columns:1fr}
  body.user-template-private-match-app .match-card-main{grid-template-columns:70px 1fr}
  body.user-template-private-match-app .match-card-photo{width:64px;height:64px}
  body.user-template-private-match-app .mobile-bottom-nav{background:#fff;border-top:1px solid #d8e5e7;box-shadow:0 -4px 18px rgba(30,71,79,.07)}
  body.user-template-private-match-app .mobile-bottom-nav a{color:#88969b}
  body.user-template-private-match-app .mobile-bottom-nav a.active{color:#169caf}
  body.user-template-private-match-app .mobile-bottom-nav .mobile-nav-icon{font-size:1.28rem}
  body.user-template-private-match-app .private-match-chat-room .chat-shell{height:calc(100dvh - 58px - env(safe-area-inset-bottom));min-height:0}
}
