

:root{
  --pink:#ff3f72;
  --pink-dark:#e81f57;
  --ink:#17213b;
  --muted:#667085;
  --soft:#fff3f7;
  --line:#eadde3;
  --white:#ffffff;
  --green:#18a66a;
  --shadow:0 16px 40px rgba(31,35,48,.10);
  --radius:22px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color:var(--ink);
  background:#fff;
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  touch-action:manipulation;
}

img{
  max-width:100%;
}

.wrap{
  width:min(1180px,calc(100% - 32px));
  margin:auto;
}


/* HEADER */

.nav{
  position:sticky;
  top:0;
  z-index:2000;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(234,221,227,.8);
}

.nav-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:23px;
  color:var(--pink);
  white-space:nowrap;
}

.heart{
  width:34px;
  height:30px;
  position:relative;
  transform:rotate(-45deg);
  border:3px solid var(--pink);
  border-radius:8px 0 8px 8px;
}

.heart:before,
.heart:after{
  content:"";
  position:absolute;
  background:#fff;
  border:3px solid var(--pink);
  border-bottom:0;
  border-right:0;
}

.heart:before{
  width:18px;
  height:18px;
  border-radius:50%;
  top:-12px;
  left:-3px;
}

.heart:after{
  width:18px;
  height:18px;
  border-radius:50%;
  right:-12px;
  bottom:-3px;
  transform:rotate(90deg);
}

.nav-links{
  display:flex;
  gap:24px;
  font-size:14px;
  font-weight:700;
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}


/* BUTTONS */

.btn{
  border:1px solid var(--pink);
  padding:12px 18px;
  min-height:44px;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
  background:#fff;
  color:var(--pink);
  transition:
    background .18s,
    transform .18s,
    box-shadow .18s;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

.btn.primary{
  background:var(--pink);
  color:#fff;
}

.btn.primary:hover{
  background:var(--pink-dark);
}

.btn.dark{
  background:#17213b;
  border-color:#17213b;
  color:#fff;
}

.wide{
  width:100%;
  margin-top:10px;
}


/* HERO */

.hero{
  background:
    radial-gradient(
      circle at 70% 35%,
      rgba(255,190,209,.55),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #fff 0%,
      #fff8fa 44%,
      #ffe9f0 100%
    );

  padding:64px 0 54px;
  border-bottom:1px solid #f7e8ed;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:46px;
  align-items:start;
}

.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:9px 13px;
  border-radius:999px;
  background:#fff0f5;
  color:var(--pink);
  font-size:13px;
  font-weight:800;
  border:1px solid #ffd0dd;
}

h1{
  font-size:clamp(42px,6vw,72px);
  line-height:1.03;
  margin:18px 0;
  letter-spacing:-.04em;
}

h1 span{
  color:var(--pink);
}

.lead{
  font-size:19px;
  line-height:1.6;
  color:#46506a;
  max-width:700px;
}

.hero-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}

.point{
  background:rgba(255,255,255,.82);
  border:1px solid #f2dfe6;
  border-radius:18px;
  padding:16px;
}

.point strong{
  display:block;
  margin-bottom:5px;
}

.point span{
  font-size:13px;
  color:var(--muted);
  line-height:1.45;
}


/* GENERAL CARD */

.card{
  background:#fff;
  border:1px solid #f0e1e6;
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:24px;
}

.signup h2{
  margin:0 0 6px;
  font-size:25px;
}

.signup p{
  margin:0 0 18px;
  color:var(--muted);
}

.seg{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:12px;
}

.seg button{
  min-height:44px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}

.seg button.active{
  border-color:var(--pink);
  color:var(--pink);
  background:#fff7fa;
}

.field{
  width:100%;
  min-height:48px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  margin:7px 0;
  outline:none;
  background:#fff;
  color:var(--ink);
}

.field:focus{
  border-color:var(--pink);
  box-shadow:0 0 0 3px rgba(255,63,114,.08);
}

textarea.field{
  resize:vertical;
}

.fine{
  font-size:12px;
  color:#8a91a1;
  line-height:1.5;
  margin-top:10px;
}

.signup-legal{margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fffafb;}
.signup-legal label{display:flex;align-items:flex-start;gap:9px;margin:8px 0;font-size:12px;line-height:1.45;color:#586174;}
.signup-legal input[type="checkbox"]{width:18px;height:18px;margin-top:1px;flex:0 0 auto;}
.signup-legal details{margin-top:8px;border-top:1px solid #f0e1e6;padding-top:8px;}
.signup-legal summary{cursor:pointer;font-weight:800;color:var(--pink);}
.signup-legal .legal-copy{margin-top:8px;max-height:180px;overflow:auto;padding-right:4px;color:#667085;font-size:11px;line-height:1.55;}


/* HOME SECTIONS */

section{
  padding:72px 0;
}

.section-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 34px;
}

.section-head h2{
  font-size:38px;
  margin:0 0 12px;
  letter-spacing:-.03em;
}

.section-head p{
  color:var(--muted);
  font-size:17px;
  line-height:1.6;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.step{
  border:1px solid #eee4e8;
  border-radius:20px;
  padding:22px;
  background:#fff;
}

.num{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--pink);
  color:#fff;
  font-weight:800;
  margin-bottom:16px;
}

.step h3{
  margin:0 0 8px;
}

.step p{
  color:var(--muted);
  line-height:1.55;
  margin:0;
}


/* MATCH DEMO */

.match{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:26px;
  align-items:center;
  background:#fff7fa;
}

.match-card{
  padding:28px;
}

.match-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
}

.avatar{
  width:66px;
  height:66px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#ffb7ca,#ffe8ef);
  color:#b81e4b;
  font-weight:900;
  font-size:22px;
}

.profile{
  display:flex;
  gap:14px;
  align-items:center;
}

.score{
  font-size:42px;
  color:var(--pink);
  font-weight:900;
  line-height:1;
}

.score small{
  display:block;
  font-size:12px;
  text-align:right;
  margin-top:6px;
}

.bars{
  margin-top:24px;
  display:grid;
  gap:14px;
}

.bar-row{
  display:grid;
  grid-template-columns:150px 1fr 48px;
  gap:12px;
  align-items:center;
  font-size:14px;
}

.track{
  height:9px;
  background:#edf0f2;
  border-radius:999px;
  overflow:hidden;
}

.fill{
  height:100%;
  background:linear-gradient(90deg,var(--pink),#8fd2b1);
  border-radius:999px;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.tag{
  font-size:12px;
  padding:8px 10px;
  background:#fff;
  border:1px solid #eadde3;
  border-radius:999px;
}

.feature-list{
  display:grid;
  gap:14px;
}

.feature{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:#fff;
  border:1px solid #eee4e8;
  border-radius:18px;
  padding:18px;
}

.icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#fff0f5;
  color:var(--pink);
  font-size:20px;
  flex:0 0 auto;
}

.feature h3{
  margin:0 0 5px;
}

.feature p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.beta{
  background:linear-gradient(135deg,#17213b,#273452);
  color:#fff;
  border-radius:28px;
  padding:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.beta p{
  color:#d5daea;
  max-width:700px;
  line-height:1.6;
}

footer{
  padding:38px 0 54px;
  color:#7b8498;
  font-size:13px;
}

footer .row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}


/* ===================================== */
/* FULL SCREEN APPLICATION              */
/* ===================================== */

.app-overlay{
  position:fixed;
  inset:0;
  z-index:50000;
  background:#f7f8fb;
  width:100%;
  height:100vh;
  height:100dvh;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.app-topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  border-bottom:1px solid #e9e9ee;
}

.app-topbar-inner{
  max-width:1320px;
  min-height:72px;
  margin:auto;
  padding:10px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.app-title{
  font-size:25px;
  font-weight:900;
  letter-spacing:-.03em;
}

.app-subtitle{
  font-size:13px;
  color:var(--muted);
  margin-top:3px;
  line-height:1.45;
}

.app-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.app-container{
  width:min(1320px,calc(100% - 32px));
  margin:30px auto 80px;
}

.panel{
  background:#fff;
  border:1px solid #e9e5e8;
  border-radius:24px;
  box-shadow:0 10px 32px rgba(31,35,48,.05);
  padding:26px;
}

.panel-title{
  font-size:20px;
  font-weight:850;
  margin-bottom:5px;
}

.panel-description{
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
  margin-bottom:18px;
}


/* PROFILE */

.profile-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:22px;
  margin-top:22px;
}

.profile-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.preference-row{
  display:grid;
  grid-template-columns:1fr 180px;
  gap:10px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid #f1edf0;
}

.preference-row:last-child{
  border-bottom:0;
}


/* PROFILE PHOTOS */

.photo-section{
  background:linear-gradient(135deg,#fff,#fff5f8);
}

.photo-gallery{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-template-rows:190px 190px;
  gap:10px;
  margin-top:18px;
}

.photo-item{
  position:relative;
  min-height:0;
  border-radius:18px;
  overflow:hidden;
  background:#f2f3f6;
  border:1px solid #ebe4e7;
}

.photo-item.primary{
  grid-row:1 / span 2;
}

.photo-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.photo-overlay-actions{
  position:absolute;
  left:8px;
  right:8px;
  bottom:8px;
  display:flex;
  gap:6px;
}

.photo-mini-btn{
  border:0;
  border-radius:9px;
  background:rgba(23,33,59,.88);
  color:#fff;
  padding:7px 9px;
  cursor:pointer;
  font-size:11px;
  font-weight:800;
  backdrop-filter:blur(5px);
}

.photo-mini-btn.danger{
  background:rgba(155,24,61,.90);
}

.primary-badge{
  position:absolute;
  top:10px;
  left:10px;
  padding:7px 10px;
  background:var(--pink);
  color:#fff;
  font-size:11px;
  font-weight:900;
  border-radius:999px;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.photo-empty{
  display:grid;
  place-items:center;
  height:100%;
  min-height:150px;
  text-align:center;
  border:2px dashed #eadde3;
  border-radius:18px;
  color:#8a91a1;
  background:#fff;
  padding:20px;
}


/* DISCOVER */

.discover-filter{
  display:grid;
  grid-template-columns:repeat(6,minmax(130px,1fr));
  gap:10px;
  align-items:end;
}

.filter-label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#586174;
  margin-bottom:3px;
}

.discover-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:22px;
}

.discover-card{
  background:#fff;
  border:1px solid #e9e4e7;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 9px 28px rgba(31,35,48,.06);
  transition:.2s ease;
}

.discover-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(31,35,48,.11);
}

.discover-photo{
  position:relative;
  aspect-ratio:4/5;
  background:linear-gradient(135deg,#ffe5ed,#f0f1f5);
  overflow:hidden;
}

.discover-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.discover-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-size:60px;
  font-weight:900;
  color:#cc6b89;
}

.compatibility-badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 14px rgba(0,0,0,.12);
  font-size:13px;
  font-weight:900;
  color:var(--pink);
}

.discover-body{
  padding:17px;
}

.discover-name{
  font-size:21px;
  font-weight:900;
  letter-spacing:-.02em;
}

.discover-location{
  margin-top:5px;
  color:var(--muted);
  font-size:13px;
}

.discover-bio{
  color:#596173;
  font-size:13px;
  line-height:1.5;
  margin:12px 0;
  min-height:40px;
}

.empty-results{
  grid-column:1/-1;
  padding:50px 20px;
  text-align:center;
  border:2px dashed #e7dce0;
  border-radius:22px;
  color:var(--muted);
  background:#fff;
}


/* PUBLIC PROFILE */

.public-profile-wrap{
  width:min(1100px,calc(100% - 30px));
  margin:28px auto 70px;
}

.public-hero{
  display:grid;
  grid-template-columns:minmax(320px,.85fr) 1.15fr;
  gap:25px;
}

.public-main-photo{
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:26px;
  background:linear-gradient(135deg,#ffe6ee,#f1f3f6);
}

.public-main-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.public-info{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px;
  background:#fff;
  border:1px solid #ece5e8;
  border-radius:26px;
}

.public-name{
  font-size:40px;
  font-weight:900;
  letter-spacing:-.04em;
  margin-bottom:8px;
}

.public-meta{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.public-score{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-top:18px;
  padding:11px 16px;
  border-radius:999px;
  color:var(--pink);
  background:#fff0f5;
  border:1px solid #ffd4e0;
  font-weight:900;
}

.public-bio{
  margin-top:24px;
  color:#46506a;
  font-size:16px;
  line-height:1.7;
  white-space:pre-wrap;
}

.public-thumbs{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-top:18px;
}

.public-thumb{
  aspect-ratio:1;
  border-radius:15px;
  overflow:hidden;
  background:#eee;
  cursor:pointer;
  border:2px solid transparent;
}

.public-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.public-thumb:hover{
  border-color:var(--pink);
}


/* ===================================== */
/* COMPATIBILITY EXPERIENCE              */
/* ===================================== */

.compatibility-profile-promo{
  margin-bottom:22px;
  padding:24px;
  border-radius:24px;
  border:1px solid #ffd4e0;
  background:linear-gradient(135deg,#fff4f8 0%,#ffffff 58%,#fff0f5 100%);
  box-shadow:0 12px 30px rgba(255,63,114,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.compatibility-profile-promo h3{
  margin:0 0 7px;
  font-size:22px;
  letter-spacing:-.02em;
}

.compatibility-profile-promo p{
  margin:0;
  color:#667085;
  line-height:1.55;
  max-width:760px;
}

.compatibility-profile-promo .promo-kicker{
  display:inline-flex;
  margin-bottom:10px;
  padding:7px 11px;
  border-radius:999px;
  background:#ff3f72;
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.compatibility-question-card{
  transition:transform .22s ease, opacity .22s ease, box-shadow .22s ease;
}

.compatibility-question-card.is-moving{
  transform:translateY(8px);
  opacity:.45;
}

.compatibility-question-category{
  display:inline-flex;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#17213b;
  color:#fff;
  font-size:10px;
  font-weight:900;
}

.compatibility-answered-wrap{
  display:none;
  margin-top:28px;
  padding-top:8px;
  border-top:1px solid #eadde3;
}

.compatibility-answered-head{
  margin:18px 2px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.compatibility-answered-head strong{
  font-size:15px;
}

.compatibility-answered-head span{
  color:#7b8498;
  font-size:12px;
}

@media(max-width:768px){
  .compatibility-profile-promo{
    display:block;
    padding:18px;
    border-radius:18px;
    margin-bottom:12px;
  }

  .compatibility-profile-promo h3{
    font-size:19px;
  }

  .compatibility-profile-promo .btn{
    width:100%;
    margin-top:14px;
  }
}


/* ===================================== */
/* TABLET                                */
/* ===================================== */

@media(max-width:1100px){

  .discover-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .discover-filter{
    grid-template-columns:repeat(3,1fr);
  }

  .profile-layout{
    grid-template-columns:1fr;
  }

}


/* ===================================== */
/* MOBILE / TABLET                       */
/* ===================================== */

@media(max-width:900px){

  .nav-links{
    display:none;
  }

  .hero-grid,
  .match{
    grid-template-columns:1fr;
  }

  .hero-points,
  .steps{
    grid-template-columns:1fr 1fr;
  }

  .hero{
    padding-top:40px;
  }

  .photo-gallery{
    grid-template-columns:1.5fr 1fr;
    grid-template-rows:180px 180px 180px;
  }

  .photo-item.primary{
    grid-row:1 / span 2;
  }

  .discover-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .public-hero{
    grid-template-columns:1fr;
  }

}


/* ===================================== */
/* PHONE                                 */
/* ===================================== */

@media(max-width:768px){

  body{
    font-size:15px;
  }

  .wrap{
    width:calc(100% - 20px);
  }


  /* PHONE HEADER */

  .nav-inner{
    min-height:60px;
    padding:6px 0;
    gap:6px;
  }

  .brand{
    font-size:17px;
  }

  .heart{
    display:none;
  }

  .actions{
    margin-left:auto;
    gap:5px;
  }

  .actions .btn{
    min-height:38px;
    padding:8px 9px;
    border-radius:10px;
    font-size:11px;
  }

  #top-discover-button{
    width:38px;
    min-width:38px;
    height:38px;
    padding:0;
    font-size:0;
    border-radius:50%;
  }

  #top-discover-button:after{
    content:"🔎";
    font-size:17px;
  }


  /* PHONE HERO */

  .hero{
    padding:32px 0 36px;
  }

  .hero-grid{
    display:block;
  }

  .pill{
    font-size:11px;
    padding:7px 10px;
  }

  h1{
    font-size:39px;
    line-height:1.04;
    margin:15px 0;
  }

  .lead{
    font-size:16px;
    line-height:1.55;
  }

  .hero-points{
    grid-template-columns:1fr;
    gap:9px;
    margin-top:20px;
  }

  .point{
    padding:14px;
  }

  .signup{
    margin-top:24px;
  }

  .card{
    padding:18px;
    border-radius:18px;
  }

  .signup h2{
    font-size:23px;
  }

  .field{
    min-height:50px;
    padding:13px 12px;
    font-size:16px;
  }

  textarea.field{
    min-height:125px;
  }


  /* SECTIONS */

  section{
    padding:44px 0;
  }

  .section-head{
    margin-bottom:22px;
  }

  .section-head h2{
    font-size:29px;
  }

  .section-head p{
    font-size:15px;
  }

  .steps{
    grid-template-columns:1fr;
  }

  .match{
    display:block;
    padding-left:10px;
    padding-right:10px;
  }

  .match-card{
    padding:18px;
  }

  .bar-row{
    grid-template-columns:98px 1fr 38px;
    gap:7px;
    font-size:12px;
  }

  .score{
    font-size:32px;
  }

  .beta{
    display:block;
    padding:22px;
    border-radius:20px;
  }

  .beta h2{
    font-size:27px !important;
  }

  .beta .btn{
    width:100%;
    margin-top:15px;
  }


  /* PHONE APP HEADER */

  .app-topbar-inner{
    min-height:auto;
    padding:10px 10px 11px;
    display:block;
  }

  .app-title{
    font-size:21px;
  }

  .app-subtitle{
    font-size:11px;
    line-height:1.4;
  }

  .app-actions{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:6px;
    margin-top:9px;
  }

  .app-actions .btn{
    width:100%;
    min-height:40px;
    padding:8px 5px;
    font-size:11px;
  }

  .app-container{
    width:calc(100% - 14px);
    margin:12px auto 55px;
  }

  .panel{
    padding:16px;
    border-radius:17px;
  }

  .panel-title{
    font-size:18px;
  }

  .panel-description{
    font-size:12px;
    margin-bottom:14px;
  }


  /* PHONE PHOTO GALLERY */

  .photo-section{
    padding:14px;
  }

  .photo-section > div:first-child{
    display:block !important;
  }

  .photo-section > div:first-child > div:last-child{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:10px;
  }

  .photo-gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
    gap:7px;
    margin-top:13px;
  }

  .photo-item{
    aspect-ratio:1/1;
    border-radius:13px;
  }

  .photo-item.primary{
    grid-column:1/-1;
    grid-row:auto;
    aspect-ratio:16/10;
  }

  .primary-badge{
    top:7px;
    left:7px;
    padding:5px 8px;
    font-size:9px;
  }

  .photo-overlay-actions{
    left:5px;
    right:5px;
    bottom:5px;
    gap:4px;
  }

  .photo-mini-btn{
    flex:1;
    padding:7px 4px;
    font-size:10px;
  }

  #add-photo-button{
    min-height:40px;
    padding:8px 10px;
    font-size:11px;
  }


  /* PHONE PROFILE */

  .profile-layout{
    display:block;
    margin-top:12px;
  }

  .profile-layout > *{
    margin-bottom:12px;
  }

  .profile-two{
    grid-template-columns:1fr;
    gap:2px;
  }

  .preference-row{
    grid-template-columns:1fr;
    gap:2px;
    padding:9px 0;
  }


  /* PHONE FILTER */

  .discover-filter{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }

  .filter-label{
    font-size:11px;
  }


  /* PHONE PROFILE LIST */

  .discover-grid{
    grid-template-columns:1fr;
    gap:13px;
    margin-top:14px;
  }

  .discover-card{
    border-radius:18px;
  }

  .discover-photo{
    aspect-ratio:16/12;
  }

  .discover-body{
    padding:14px;
  }

  .discover-name{
    font-size:21px;
  }

  .discover-location{
    font-size:12px;
  }

  .discover-bio{
    font-size:13px;
    min-height:0;
  }

  .compatibility-badge{
    top:8px;
    right:8px;
    padding:6px 9px;
    font-size:11px;
  }


  /* PHONE PUBLIC PROFILE */

  .public-profile-wrap{
    width:calc(100% - 14px);
    margin:12px auto 50px;
  }

  .public-hero{
    display:block;
  }

  .public-main-photo{
    width:100%;
    aspect-ratio:4/5;
    border-radius:18px;
  }

  .public-info{
    padding:18px;
    margin-top:10px;
    border-radius:18px;
  }

  .public-name{
    font-size:31px;
  }

  .public-meta{
    font-size:14px;
  }

  .public-score{
    font-size:12px;
    padding:9px 12px;
    white-space:normal;
  }

  .public-bio{
    font-size:14px;
    line-height:1.6;
  }

  .public-thumbs{
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    margin-top:8px;
  }

  .public-thumb{
    border-radius:10px;
  }


  /* COMPATIBILITY */

  #compatibility-test-list .panel{
    padding:15px !important;
    margin-bottom:11px !important;
  }

  #compatibility-test-list .panel > div:first-child{
    font-size:17px !important;
  }


  /* FOOTER */

  footer{
    padding:28px 0;
  }

  footer .row{
    display:block;
    text-align:center;
    line-height:2;
  }

}


/* VERY SMALL PHONES */

@media(max-width:390px){

  h1{
    font-size:35px;
  }

  .brand{
    font-size:15px;
  }

  .actions .btn{
    font-size:10px;
    padding:7px;
  }

  .discover-filter{
    grid-template-columns:1fr;
  }

  .app-actions{
    grid-template-columns:1fr 1fr;
  }

  .public-name{
    font-size:28px;
  }

}



.public-answer-stat{
  margin-top:10px;
  padding:12px 14px;
  border:1px solid #eadde2;
  border-radius:14px;
  background:#fff9fb;
  color:#475467;
  font-size:13px;
  line-height:1.55;
}
.public-answer-stat strong{color:#b4235a;}
.public-message-button{margin-top:14px;}
.messages-wrap{max-width:900px;margin:0 auto;padding:28px 18px 60px;}
.message-empty{padding:40px 20px;text-align:center;color:#667085;background:#fff;border:1px solid #eee7ea;border-radius:18px;}
.inbox-list{display:grid;gap:10px;}
.inbox-item{width:100%;text-align:left;border:1px solid #eee7ea;background:#fff;border-radius:16px;padding:14px 16px;cursor:pointer;display:flex;gap:12px;align-items:center;}
.inbox-item:hover{border-color:#ff9ab5;box-shadow:0 8px 22px rgba(109,37,67,.08);}
.inbox-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff0f5;color:#b4235a;font-weight:800;flex:0 0 auto;}
.inbox-main{min-width:0;flex:1;}
.inbox-name{font-weight:800;color:#2f2330;margin-bottom:4px;}
.inbox-preview{font-size:13px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.inbox-side{text-align:right;font-size:11px;color:#98a2b3;}
.unread-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ff3f72;color:#fff;font-size:11px;font-weight:800;margin-top:5px;}
.mb-global-message-badge{display:none;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#ef3340;color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.16);vertical-align:middle;}
#top-messages-button{position:relative;}
#top-messages-button .mb-global-message-badge{position:absolute;right:-7px;top:-8px;margin:0;}
.mb-message-nav-with-badge{position:relative!important;}
.mb-message-nav-with-badge>.mb-global-message-badge{position:absolute;right:5px;top:4px;margin:0;}
.mb-message-heading-badge{margin-left:7px;transform:translateY(-1px);}
.conversation-wrap{max-width:820px;width:100%;margin:0 auto;padding:14px 16px 0;display:flex;flex-direction:column;flex:1;min-height:0;height:auto;}
#conversation-overlay{overflow:hidden;display:flex;flex-direction:column;height:var(--conversation-vh,100dvh);}
#conversation-overlay .app-topbar{flex:0 0 auto;}
.message-thread{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 4px 18px;display:flex;flex-direction:column;gap:8px;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;}
.message-row{display:flex;}
.message-row.mine{justify-content:flex-end;}
.message-bubble{max-width:min(78%,560px);padding:10px 13px;border-radius:16px;background:#f2f4f7;color:#344054;line-height:1.45;word-break:break-word;}
.message-row.mine .message-bubble{background:#050505;color:#fff;box-shadow:0 7px 18px rgba(0,0,0,.18);}
.message-time{font-size:10px;color:#98a2b3;margin-top:5px;}
.message-row.mine .message-time{color:#aeb9c8;}
.message-status{font-weight:800;}
.message-status.sent{color:#d8e0ea;}
.message-status.delivered{color:#62a7ff;}
.message-status.read{color:#72dc8b;}
.message-composer{flex:0 0 auto;display:flex;gap:8px;align-items:flex-end;padding:10px 0 calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee7ea;background:#fff;position:relative;z-index:5;}
.message-composer textarea{flex:1;min-width:0;min-height:46px;max-height:110px;resize:none;border:1px solid #d0d5dd;border-radius:14px;padding:11px 12px;font:inherit;font-size:16px;line-height:1.35;}
.message-composer .btn{flex:0 0 auto;min-height:46px;}
@media(max-width:640px){
  #conversation-overlay .app-topbar-inner{display:flex;align-items:center;gap:8px;padding:7px 8px;}
  #conversation-overlay .app-topbar-inner>div:first-child{min-width:0;flex:1;}
  #conversation-overlay .app-title{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  #conversation-overlay .app-subtitle{display:none;}
  #conversation-overlay .app-actions{width:auto;display:flex;grid-template-columns:none;gap:5px;margin-top:0;flex:0 0 auto;}
  #conversation-overlay .app-actions .btn{width:auto;min-height:36px;padding:8px 10px;font-size:12px;}
  #conversation-overlay .conversation-profile-btn{padding-left:8px!important;padding-right:8px!important;}
  .conversation-wrap{padding:8px 10px 0;}
  .message-bubble{max-width:88%;}
  .message-thread{padding-top:6px;padding-bottom:10px;}
  .message-composer{gap:6px;padding-top:8px;}
  .message-composer textarea{min-height:44px;max-height:96px;}
  .message-composer .btn{min-height:44px;padding:10px 12px;}
}

/* Social matching additions */
.compat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-top:14px}.compat-chip{border:1px solid #eee2e7;border-radius:14px;padding:12px;background:#fff}.compat-chip strong{display:block;font-size:20px;color:#e81f57}.trust-badge{display:inline-flex;margin-top:8px;padding:6px 10px;border-radius:999px;background:#fff3f7;color:#b4234d;font-weight:800;font-size:12px}.social-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.social-actions .btn{flex:1;min-width:130px}.match-banner{padding:12px 14px;border-radius:14px;background:#fff3f7;border:1px solid #ffd0df;margin:12px 0;font-weight:800;color:#b4234d}.safety-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.safety-actions button{font-size:12px}.profile-completion{margin-top:12px}.completion-track{height:9px;background:#eee7ea;border-radius:999px;overflow:hidden}.completion-fill{height:100%;background:linear-gradient(90deg,#ff3f72,#e81f57);border-radius:999px}.icebreaker{margin:12px 0;padding:12px;border-radius:14px;background:#faf7f8;border:1px solid #eee7ea;font-size:13px;line-height:1.5}.advanced-box{grid-column:1/-1;border-top:1px solid #eee7ea;padding-top:14px}.social-mini{font-size:12px;color:#667085;margin-top:8px}

body.is-authenticated .hero,
body.is-authenticated .landing,
body.is-authenticated .signup-card,
body.is-authenticated #signup-card,
body.is-authenticated #hero,
body.is-authenticated #home-hero,
body.is-authenticated .hero-section{display:none!important;}

/* Profilim: girişten sonra temel profil bilgileri ilk görünür */
#profile-account-container{
  display:flex;
  flex-direction:column;
}
#profile-account-container .photo-section{order:3;}
#blocked-quick-card{order:5;}
#admin-quick-card{order:6;}
#blocked-security-panel{order:7;}
#profile-final-actions{order:8;}

#profile-account-container .compatibility-profile-promo{order:-100;}
#profile-summary-card{order:1;}
#profile-edit-fields{order:2;display:none;}
#profile-edit-fields.is-open{display:block;}
#profile-main-info{order:initial;}
#profile-match-preferences{order:initial;}
#profile-account-container .photo-section{order:3;}
#blocked-quick-card{order:5;}
#admin-quick-card{order:6;}
#blocked-security-panel{order:7;}
#profile-final-actions{order:8;}
@media(max-width:640px){
  #profile-summary-content{grid-template-columns:1fr!important;}
}

#profile-account-container .compatibility-profile-promo{
  margin-top:0;
  margin-bottom:18px;
  border:1px solid #ffc2d2;
  box-shadow:0 8px 24px rgba(255,63,114,.07);
}

@media(max-width:760px){
  #account-overlay .app-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    width:100%!important;
  }
  #account-overlay .app-actions .btn{
    flex:1 1 calc(50% - 6px);
    min-width:145px;
  }
}

/* Romantik profil dekorları */
:root{
  --romance-pink:#ff3f72;
  --romance-soft:#fff1f5;
  --romance-line:#ffc2d2;
}

#profile-account-container{
  position:relative;
  overflow:hidden;
}

#profile-account-container::before{
  content:"";
  position:absolute;
  right:-45px;
  top:118px;
  width:260px;
  height:260px;
  opacity:.08;
  pointer-events:none;
  z-index:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='%23ff3f72'%3E%3Cpath d='M150 252c-13-13-86-73-86-128 0-34 23-57 55-57 18 0 33 9 41 23 9-14 24-23 42-23 32 0 55 23 55 57 0 55-74 115-87 128l-20 18-20-18z'/%3E%3C/g%3E%3C/svg%3E");
}

#profile-account-container > *{
  position:relative;
  z-index:1;
}

#profile-account-container .compatibility-profile-promo{
  position:relative;
  overflow:hidden;
  padding-right:280px!important;
  min-height:175px;
}

#profile-account-container .compatibility-profile-promo::after{
  content:"";
  position:absolute;
  right:24px;
  bottom:-8px;
  width:235px;
  height:165px;
  opacity:.20;
  pointer-events:none;
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 290'%3E%3Cg fill='none' stroke='%23ff3f72' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='155' cy='68' r='26'/%3E%3Ccircle cx='265' cy='68' r='26'/%3E%3Cpath d='M155 96c-28 22-38 70-38 118M265 96c28 22 38 70 38 118M155 110c19 11 36 25 55 42M265 110c-19 11-36 25-55 42M210 152c-20 4-33 15-41 29M210 152c20 4 33 15 41 29M117 214c24 12 53 17 93 17M303 214c-24 12-53 17-93 17'/%3E%3Cpath d='M204 46c10-15 31-12 36 4 5 17-18 31-30 42-12-11-35-25-30-42 5-16 26-19 36-4' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
}

#profile-summary-card{
  position:relative;
  overflow:hidden;
  padding-right:210px!important;
}

#profile-summary-card::after{
  content:"";
  position:absolute;
  right:26px;
  bottom:12px;
  width:170px;
  height:125px;
  opacity:.16;
  pointer-events:none;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 250'%3E%3Cg fill='%23ff3f72'%3E%3Ccircle cx='125' cy='58' r='22'/%3E%3Ccircle cx='235' cy='58' r='22'/%3E%3Cpath d='M105 90c-22 24-34 62-34 116h42c2-36 9-66 23-86l20 28 15-14-34-44zM255 90c22 24 34 62 34 116h-42c-2-36-9-66-23-86l-20 28-15-14 34-44z'/%3E%3Cpath d='M155 139c15-13 35-13 50 0l-8 11c-10-8-24-8-34 0z'/%3E%3C/g%3E%3C/svg%3E");
}

#profile-summary-card::before{
  content:"❤  ❤";
  position:absolute;
  right:62px;
  top:20px;
  font-size:18px;
  letter-spacing:16px;
  color:#ff3f72;
  opacity:.18;
  transform:rotate(-8deg);
  pointer-events:none;
}

.photo-section{
  position:relative;
  overflow:hidden;
}

.photo-section::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:18px;
  width:220px;
  height:105px;
  transform:translateX(-50%);
  opacity:.07;
  pointer-events:none;
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 220'%3E%3Cg fill='none' stroke='%23ff3f72' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M96 194c16-48 43-86 83-116M404 194c-16-48-43-86-83-116M180 80c26 15 48 40 70 76M320 80c-26 15-48 40-70 76M250 156c-18 0-35 7-49 22M250 156c18 0 35 7 49 22'/%3E%3Ccircle cx='175' cy='58' r='24'/%3E%3Ccircle cx='325' cy='58' r='24'/%3E%3C/g%3E%3C/svg%3E");
}

.romance-sparkles{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
}
.romance-sparkles span{
  position:absolute;
  color:#ff3f72;
  opacity:.10;
  font-size:22px;
}
.romance-sparkles span:nth-child(1){left:8%;top:23%;}
.romance-sparkles span:nth-child(2){left:44%;top:6%;font-size:16px;}
.romance-sparkles span:nth-child(3){right:13%;top:45%;font-size:28px;}
.romance-sparkles span:nth-child(4){right:32%;bottom:9%;font-size:18px;}

@media(max-width:900px){
  #profile-account-container .compatibility-profile-promo{
    padding-right:22px!important;
    padding-bottom:125px!important;
  }
  #profile-account-container .compatibility-profile-promo::after{
    right:50%;
    transform:translateX(50%);
    width:185px;
    height:120px;
  }
  #profile-summary-card{
    padding-right:18px!important;
    padding-bottom:130px!important;
  }
  #profile-summary-card::after{
    right:50%;
    transform:translateX(50%);
    width:155px;
  }
}

/* Üst dil seçici */
.site-language-switcher{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px;
  border:1px solid rgba(255,63,114,.24);
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 14px rgba(30,35,45,.08);
  flex:0 0 auto;
  vertical-align:middle;
}
.site-language-switcher button{
  border:0;
  border-radius:999px;
  background:transparent;
  color:#667085;
  font-weight:900;
  font-size:12px;
  padding:7px 10px;
  cursor:pointer;
}
.site-language-switcher button.active{
  background:var(--pink,#ff3f72);
  color:#fff;
}
.site-lang-separator{
  color:#98a2b3;
  font-size:12px;
  font-weight:900;
  line-height:1;
  user-select:none;
}
@media(max-width:700px){
  .site-language-switcher{padding:3px}
  .site-language-switcher button{padding:6px 8px;font-size:11px}
}


.mb-en{display:none;}
html[lang="en"] .mb-tr{display:none !important;}
html[lang="en"] .mb-en{display:inline !important;}
@media(max-width:900px){
  #admin-content .panel > div[style*="grid-template-columns:repeat(5"]{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:560px){
  #admin-content .panel > div[style*="grid-template-columns:repeat(5"]{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   V31 DESIGN EDITION — RESPONSIVE UI
   ========================================================= */
:root{
  --mb-ink:#172033;--mb-ink-soft:#334155;--mb-muted:#718096;--mb-bg:#f7f8fb;
  --mb-surface:rgba(255,255,255,.96);--mb-border:#e8eaf0;--mb-pink:#ff3f72;
  --mb-pink-deep:#e6275b;--mb-shadow:0 14px 40px rgba(31,41,55,.07);
}
body{background:radial-gradient(circle at 10% 0%,rgba(255,63,114,.045),transparent 28%),radial-gradient(circle at 88% 8%,rgba(109,75,195,.04),transparent 24%),var(--mb-bg);color:var(--mb-ink);}
.app-topbar{background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,228,234,.88)!important;box-shadow:0 8px 28px rgba(31,41,55,.035);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);}
.app-topbar-inner{max-width:1380px;min-height:82px;padding:13px 24px;}
.app-title{color:var(--mb-ink);font-size:27px;font-weight:900;letter-spacing:-.035em;}
.app-subtitle{color:#7b8495;font-size:13px;}
.btn{min-height:44px;border-radius:14px!important;border:1px solid #e3e5eb!important;background:rgba(255,255,255,.96)!important;color:#394255!important;font-weight:800!important;box-shadow:0 3px 9px rgba(31,41,55,.025);transition:.18s ease!important;}
.btn:hover{transform:translateY(-1px);border-color:#ffc0d1!important;box-shadow:0 8px 20px rgba(75,37,55,.08);background:#fff!important;}
.btn.primary{border-color:transparent!important;background:linear-gradient(135deg,var(--mb-pink),var(--mb-pink-deep))!important;color:#fff!important;box-shadow:0 10px 24px rgba(255,63,114,.22);}
.field{min-height:48px;border:1px solid #e1e4ea!important;border-radius:14px!important;background:#fff!important;color:var(--mb-ink)!important;padding:11px 13px!important;}
.field:focus{outline:none!important;border-color:#ff94b1!important;box-shadow:0 0 0 4px rgba(255,63,114,.09)!important;}
.app-container{width:min(1380px,calc(100% - 38px));margin:32px auto 88px;}
.panel{border:1px solid rgba(228,230,236,.9)!important;border-radius:28px!important;background:rgba(255,255,255,.96)!important;box-shadow:var(--mb-shadow)!important;padding:27px!important;}
.panel-title{color:var(--mb-ink);font-size:21px;font-weight:900;letter-spacing:-.02em;}
.panel-description{color:#7a8495;line-height:1.6;}
#discover-overlay .app-container > .panel:first-child{background:linear-gradient(135deg,#fff,#fff9fb)!important;}
#discover-overlay .app-container > .panel:first-child .btn{border-radius:999px!important;}
.discover-filter{gap:13px!important}.filter-label{margin-bottom:6px!important;color:#657086!important;}
.discover-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:24px;}
.discover-card{border:1px solid rgba(226,228,234,.95)!important;border-radius:26px!important;background:#fff!important;box-shadow:0 12px 34px rgba(31,41,55,.075)!important;transition:.22s ease!important;}
.discover-card:hover{transform:translateY(-5px)!important;border-color:#ffd0dc!important;box-shadow:0 25px 55px rgba(31,41,55,.14)!important;}
.discover-photo{background:linear-gradient(145deg,#ffe5ed,#f2f0fa)!important}.discover-photo img{transition:transform .4s ease}.discover-card:hover .discover-photo img{transform:scale(1.025);}
#discover-overlay .discover-photo{aspect-ratio:16/10!important;}
#discover-overlay .discover-body{padding:15px 16px 16px!important;}
.discover-detail-list{display:grid;gap:5px;margin:10px 0 14px;font-size:13px;line-height:1.35;color:#596579;}
.discover-detail-row{display:grid;grid-template-columns:18px 1fr;gap:6px;align-items:start;}
.discover-detail-row strong{color:#394255;font-weight:850;}
#discover-overlay .discover-name{margin-bottom:4px;}
.discover-body{padding:17px 17px 18px!important}.discover-name{font-size:22px!important;font-weight:900!important;color:var(--mb-ink)!important;letter-spacing:-.025em}.discover-location{color:#7c8697!important}.discover-bio{color:#586376!important;line-height:1.55!important;}
.compatibility-badge{border:1px solid rgba(255,255,255,.72)!important;background:rgba(26,31,44,.78)!important;color:#fff!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);box-shadow:0 8px 20px rgba(0,0,0,.15);}
.public-profile-wrap{width:min(1180px,calc(100% - 34px));margin:32px auto 86px}.public-hero{gap:30px!important}.public-main-photo{border-radius:30px!important}.public-info{border:1px solid var(--mb-border);border-radius:28px;background:#fff;padding:28px;box-shadow:var(--mb-shadow);}
.public-name{color:var(--mb-ink)!important;font-weight:950!important;letter-spacing:-.04em}.public-score{border-radius:999px!important;background:linear-gradient(135deg,#fff0f5,#f8f5ff)!important;color:#b4235a!important;border:1px solid #ffd4e0!important;font-weight:900!important;}
.compat-chip{border:1px solid #ece7ed!important;border-radius:17px!important;background:linear-gradient(180deg,#fff,#fffbfd)!important;padding:14px!important;}
.messages-wrap{max-width:980px!important}.inbox-list{gap:12px!important}.inbox-item{border-radius:19px!important;border:1px solid #e8e9ee!important;padding:15px 17px!important;box-shadow:0 6px 17px rgba(31,41,55,.035);transition:.18s ease!important}.inbox-item:hover{transform:translateY(-1px);border-color:#ffc2d3!important;box-shadow:0 13px 28px rgba(78,39,55,.08)!important}.inbox-avatar{width:50px!important;height:50px!important;background:linear-gradient(145deg,#fff0f5,#f3efff)!important;color:#a82b55!important;}
#admin-panel-overlay .app-container > div:first-child{padding:5px;background:rgba(255,255,255,.74);border:1px solid #e8eaf0;border-radius:18px;width:max-content;max-width:100%;}
#admin-users-list > div,#admin-feedback-list > div,#admin-reports-list > div{border-radius:19px!important;border:1px solid #e8eaf0!important;box-shadow:0 6px 18px rgba(31,41,55,.035);}
#admin-panel-overlay .admin-tab-btn{display:inline-flex;align-items:center;gap:8px;position:relative;}
#admin-panel-overlay .admin-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#ff5f52;color:#fff;font-size:12px;font-weight:950;line-height:1;box-shadow:0 4px 12px rgba(255,95,82,.22);}
#admin-panel-overlay .admin-tab-count.users{background:#2f3a4d;}
#admin-panel-overlay .admin-tab-count.is-zero{background:#eef1f5;color:#667085;box-shadow:none;}
#admin-panel-overlay .btn.primary .admin-tab-count{background:#fff;color:#e84d40;box-shadow:none;}
#admin-panel-overlay .btn.primary .admin-tab-count.users{background:#fff;color:#2f3a4d;}
.mb-mobile-dock{display:none;}
@media(max-width:1100px){.discover-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.app-container{width:calc(100% - 22px);margin:18px auto 105px}.panel{padding:20px!important;border-radius:22px!important}.discover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.public-profile-wrap{width:calc(100% - 22px);}}
@media(max-width:768px){
 body.is-authenticated{padding-bottom:82px!important}
 body.is-authenticated #top-discover-button,body.is-authenticated #top-messages-button,body.is-authenticated #top-login-button{display:none!important}
 body.is-authenticated #top-signup-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;min-height:36px!important;padding:7px 9px!important;font-size:10px!important;border-radius:11px!important}
 body.is-authenticated #top-language-switcher{display:flex;align-items:center;flex:0 0 auto}
 body.is-authenticated .site-language-switcher{gap:2px!important;padding:2px!important}
 body.is-authenticated .site-language-switcher button{padding:5px 6px!important;font-size:10px!important;min-width:0!important}
 body.is-authenticated .site-lang-separator{font-size:10px!important}
 .app-topbar{position:sticky;top:0;z-index:62000}.app-topbar-inner{min-height:68px!important;padding:10px 12px!important;display:flex!important;align-items:center!important;gap:8px!important}.app-topbar-inner>div:first-child{min-width:0;flex:1}.app-title{font-size:20px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-subtitle{display:none!important}.app-actions{width:auto!important;margin-top:0!important;display:flex!important;flex-wrap:nowrap!important;gap:5px!important}.app-actions .btn{width:auto!important;min-height:38px!important;padding:8px 10px!important;font-size:11px!important}.app-container{width:calc(100% - 14px)!important;margin:12px auto 100px!important}.panel{padding:16px!important;border-radius:19px!important;box-shadow:0 8px 24px rgba(31,41,55,.055)!important}.panel-title{font-size:18px!important}.discover-grid{grid-template-columns:1fr!important;gap:15px!important}.discover-card{border-radius:21px!important}.discover-photo{aspect-ratio:16/11!important}.discover-body{padding:15px!important}.discover-name{font-size:22px!important}.discover-filter{grid-template-columns:1fr 1fr!important;gap:9px!important}.field{min-height:45px!important;font-size:14px!important}.public-profile-wrap{width:calc(100% - 14px)!important;margin:10px auto 100px!important}.public-main-photo{border-radius:21px!important}.public-info{padding:18px!important;border-radius:21px!important}.public-name{font-size:31px!important}
 .mb-mobile-dock{position:fixed;left:8px;right:8px;bottom:8px;z-index:99000;display:grid;grid-template-columns:repeat(5,1fr);padding:6px;gap:4px;border:1px solid rgba(222,224,231,.96);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 14px 40px rgba(31,41,55,.17);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .mb-mobile-dock button{appearance:none;border:0;border-radius:16px;min-height:55px;padding:5px 2px;background:transparent;color:#697386;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.mb-mobile-dock button .mb-dock-icon{display:block;font-size:20px;line-height:1.15;margin-bottom:3px}.mb-mobile-dock button:active{background:#fff0f5;color:#d92d63}
 #admin-panel-overlay .app-container > div:first-child{width:100%;display:flex!important;overflow-x:auto;flex-wrap:nowrap!important;padding:5px!important;gap:5px!important;scrollbar-width:none}#admin-panel-overlay .app-container > div:first-child::-webkit-scrollbar{display:none}#admin-panel-overlay .app-container > div:first-child .btn{flex:0 0 auto;white-space:nowrap}
}
@media(max-width:420px){.discover-filter{grid-template-columns:1fr!important}.app-actions .btn{padding:7px 8px!important;font-size:10px!important}.mb-mobile-dock{left:5px;right:5px;bottom:5px;border-radius:20px}.mb-mobile-dock button{font-size:9px!important}.mb-mobile-dock button .mb-dock-icon{font-size:18px!important}.brand{font-size:14px!important}body.is-authenticated #top-signup-button{padding:6px 7px!important;font-size:9px!important}}


/* V10.04 — sitewide mobile QA hardening */
.app-overlay,.app-overlay *{box-sizing:border-box;}
.app-overlay{max-width:100vw;overflow-x:hidden;}
.app-overlay .app-container,.app-overlay .panel,.app-overlay .card{max-width:100%;min-width:0;}
.app-overlay input,.app-overlay select,.app-overlay textarea,.app-overlay button{max-width:100%;}
.app-overlay .app-title,.app-overlay .app-subtitle,.app-overlay .panel-title,.app-overlay .panel-description{overflow-wrap:anywhere;}
@media(max-width:700px){
  .app-overlay{padding-bottom:calc(84px + env(safe-area-inset-bottom));}
  .app-overlay .app-container{padding-left:12px!important;padding-right:12px!important;}
  .app-overlay .app-topbar-inner{min-width:0;}
  .app-overlay .app-actions{max-width:100%;min-width:0;}
  .discover-grid{grid-template-columns:1fr!important;}
}


/* V9.005 profile/settings information architecture */
#profile-account-container{display:flex!important;flex-direction:column!important;}
#profile-summary-card{order:1!important;}
#profile-edit-fields{order:2!important;}
#profile-account-container .photo-section{order:3!important;}
#account-settings-heading{order:20!important;}
#blocked-security-panel{order:21!important;}
#profile-status-card{order:22!important;}
#feedback-settings-card,#feedback-card{order:23!important;}
#daily-email-settings-card{order:24!important;}
#message-settings-card{order:25!important;}
#account-profile-switcher{order:26!important;}
#profile-final-actions{order:27!important;}
@media(max-width:900px){#profile-account-container>*{width:100%!important;max-width:100%!important;}#account-settings-heading{margin-top:12px!important;}}


/* V9.006 fixed primary navigation + contextual left submenu */
.mb-fixed-primary-nav{position:fixed;top:0;left:0;right:0;height:58px;z-index:99500;background:rgba(255,255,255,.97);border-bottom:1px solid var(--mb-line,#e7e7eb);display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);overflow-x:auto;scrollbar-width:none}
.mb-fixed-primary-nav::-webkit-scrollbar{display:none}.mb-fixed-primary-nav button{border:0;background:transparent;padding:9px 12px;border-radius:10px;font-weight:850;color:#5f6572;white-space:nowrap;cursor:pointer}.mb-fixed-primary-nav button:hover,.mb-fixed-primary-nav button.active{background:#fff0f3;color:var(--mb-red,#d92948)}
body.is-authenticated{padding-top:58px!important}.app-overlay{padding-top:58px!important}.app-overlay>.app-topbar{top:58px!important}.mb-coral-sidebar{top:58px!important}.mb-v906-subtitle{font-size:11px;font-weight:900;color:#9a9da5;text-transform:uppercase;letter-spacing:.08em;padding:9px 10px 5px}
@media(max-width:900px){.mb-fixed-primary-nav{justify-content:flex-start;height:54px;padding:6px 7px}.mb-fixed-primary-nav button{font-size:11px;padding:8px 9px}.app-overlay{padding-top:54px!important}.app-overlay>.app-topbar{top:54px!important}body.is-authenticated{padding-top:54px!important}}


/* V9.006 fixed primary navigation + contextual left submenu */
.mb-fixed-primary-nav{position:fixed;top:0;left:0;right:0;height:58px;z-index:99500;background:rgba(255,255,255,.97);border-bottom:1px solid var(--mb-line,#e7e7eb);display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);overflow-x:auto;scrollbar-width:none}
.mb-fixed-primary-nav::-webkit-scrollbar{display:none}.mb-fixed-primary-nav button{border:0;background:transparent;padding:9px 12px;border-radius:10px;font-weight:850;color:#5f6572;white-space:nowrap;cursor:pointer}.mb-fixed-primary-nav button:hover,.mb-fixed-primary-nav button.active{background:#fff0f3;color:var(--mb-red,#d92948)}
body.is-authenticated{padding-top:58px!important}.app-overlay{padding-top:58px!important}.app-overlay>.app-topbar{top:58px!important}.mb-coral-sidebar{top:58px!important}.mb-v906-subtitle{font-size:11px;font-weight:900;color:#9a9da5;text-transform:uppercase;letter-spacing:.08em;padding:9px 10px 5px}
@media(max-width:900px){.mb-fixed-primary-nav{justify-content:flex-start;height:54px;padding:6px 7px}.mb-fixed-primary-nav button{font-size:11px;padding:8px 9px}.app-overlay{padding-top:54px!important}.app-overlay>.app-topbar{top:54px!important}body.is-authenticated{padding-top:54px!important}}


/* V9.010: Settings contains settings only; profile information/photos stay in Profile */
body.mb-settings-view #profile-summary-card,
body.mb-settings-view #profile-edit-fields,
body.mb-settings-view #profile-account-container .photo-section{display:none!important;}

