:root {
  --primary-color: #1F7A74;
  --primary-light: #3FBDB3;
  --primary-dark: #125550;

  --green: #22C55E;
  --blue: #0EA5E9;
  --gold: #F59E0B;
  --red: #EF4444;
  --lime: #84CC16;
  --yellow: #FACC15;
  --orange: #F97316;
  --purple: #8B5CF6;
  --pink: #EC4899;

  --font-color: #0F2A28;
  --font-color2: #4A6663;
  --hint-color: #5C7773;

  --bg-primary: #F5FAF9;
  --bg-secondary: #E3F2EF;
  --bg-secondary-light: #D4EBE7;
  --bg-glassy: rgba(15, 42, 40, 0.38);

  --border-color: #BFE3DE;
  --border-color2: #93CFC7;

  --bg-gradient: linear-gradient(135deg, #155E59 0%, #3FBDB3 52%, #F59E0B 130%);
  --match-gradient: linear-gradient(135deg, #1F7A74, #E11D48);
  --surface-gradient: linear-gradient(180deg, #F5FAF9 0%, #E3F2EF 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(21, 94, 89, 0.08);
  --shadow-md: 0 10px 30px rgba(21, 94, 89, 0.12);
  --shadow-lg: 0 18px 50px rgba(15, 42, 40, 0.16);
}

[data-theme="dark"] {
  --primary-color: #3FBDB3;
  --primary-light: #8FDAD3;
  --primary-dark: #1F7A74;

  --green: #22C55E;
  --blue: #38BDF8;
  --gold: #FBBF24;
  --red: #F87171;
  --lime: #A3E635;
  --yellow: #FDE047;
  --orange: #FB923C;
  --purple: #A78BFA;
  --pink: #F472B6;

  --font-color: #ECF7F5;
  --font-color2: #BFD9D5;
  --hint-color: #8FB0AB;

  --bg-primary: #0C1A19;
  --bg-secondary: #122826;
  --bg-secondary-light: #183633;
  --bg-glassy: rgba(0, 0, 0, 0.55);

  --border-color: #24433F;
  --border-color2: #2F5A55;

  --bg-gradient: linear-gradient(135deg, #125550 0%, #3FBDB3 70%);
  --match-gradient: linear-gradient(135deg, #3FBDB3, #FB7185);
  --surface-gradient: linear-gradient(180deg, #0F2321 0%, #0C1A19 100%);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #2a6bf6;
    --font-color: rgb(222, 222, 222);
    --hint-color: rgb(138, 138, 138);
    --bg-primary: #3a2323;
    --bg-secondary: #412525;
    --bg-secondary-light: #4b2a2a;
    --green: #0bcc7d;
    --blue: #2539ac;
    --gold: #ffc900;
    --purple: #944ce7;
    --border-color: #4f2e2e;
  }
} */
button.primary {
  background: var(--bg-gradient);
  color: white;
}

button.primary:focus,button.primary:hover {
  color: white;
}

button.vip {
  background: var(--match-gradient);
  color: white;
}

button.vip:focus {
  color: white;
}

.always {
  color: #2196f3 !important;
  border-color: #2196f3 !important;
}


.temp {
  color: #e44fae !important;
  border-color: #df53ab !important;
}

.friend {
  color: var(--orange) !important;
  border-color: var(--orange) !important;
}

.bg-always {
  background-color: #26a69a !important;
}

.bg-temp {
  background-color: #df53ab !important;
}

.bg-friend {
  background-color: var(--orange) !important;
}

.bg-primary {
  background-color: var(--bg-primary) !important;
}

.bg-secondary {
  background-color: var(--bg-secondary) !important;
}

.bg-secondary-light {
  background-color: var(--bg-secondary-light) !important;
}

.bg-gradient {
  background: var(--bg-gradient);
}

@font-face {
  font-family: 'iran';
  src: url('fonts/iran.woff');
  font-display: swap;
  font-weight: normal;
  font-style: normal
}

@font-face {
  font-family: 'yekan';
  src: url('fonts/Yekan.woff');
  font-display: swap;
  font-weight: normal;
  font-style: normal
}

html {
  direction: rtl !important;
  text-align: right;
}

.yekan {
  font-family: yekan;
}

* {
  text-decoration: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  user-select: none;
}

.blur>* {
  -webkit-filter: blur(5px);
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' ><filter id='blur5'><feGaussianBlur in='SourceGraphic' stdDeviation='5' /></filter></svg>#blur5");
  filter: blur(2px);
}

.blur .btn,
.blur button {
  opacity: 0;
}

select {
  text-align-last: center;
}

a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  text-decoration: none;
  font-size: inherit
}

.btn:focus,
input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.blur {
  /* filter:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' ><filter id='blur3'><feGaussianBlur in='SourceGraphic' stdDeviation='3' /></filter></svg>#blur3"); */
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

.ltr {
  direction: ltr;
}

.rtl {
  direction: rtl;
}
.en{
  font-family: Georgia, 'Times New Roman', Times, serif
}

.stretch {
  width: 100%;
}

header {
  background: var(--bg-gradient);
  color: white;
  padding: 0 16px;
  position: relative;
  height: 56px;
  transition: .3s;
  font-size: .85em;
  box-shadow: var(--shadow-sm);
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

header.msgheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
}

header .icon {
   font-size: 24px;
   position: relative !important;
   flex-shrink: 0;
   display: inline-block;
   align-items: center;
   justify-content: center;
   /* width: 32px; */
   /* height: 32px; */
   border-radius: 8px;
   cursor: pointer;
   transition: background-color 0.2s ease;
}

header .icofont-settings {
  position: static;
  font-size: 22px;
  cursor: pointer;
}

header .icofont-refresh {
  position: static;
  font-size: 22px;
  cursor: pointer;
}

header .title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

header .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 20px;
}

header .back-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

header .back-btn i {
  font-size: 20px;
}

header .add {
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

header .add:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

header .refresh {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.2s ease, transform 0.3s ease;
}

header .refresh:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

header .refresh.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

header .filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

header .filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

header .filter-btn i {
  font-size: 16px;
}

.box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  position: relative;
  padding: 25px 12px 20px 12px;
  border-radius: var(--radius-md);
  color: var(--font-color2);
  box-shadow: var(--shadow-sm);
}

.box .title {
  position: absolute;
  top: -13px;
  right: 12px;
  background-color: var(--bg-primary);
  border: 1px solid var(--primary-light);
  padding: 1px 10px 3px;
  font-size: 12px;
  border-radius: var(--radius-pill);
  color: var(--primary-color);
}

#profpage {
  background-color: var(--bg-primary);
  padding-bottom: 30px;
}

#profpage .profcontent {
  background: var(--bg-primary);
  border-radius: 26px 26px 0 0;
  margin-top: -26px;
  position: relative;
  z-index: 2;
  padding: 20px 14px 8px;
}

#profpage .box {
  background: var(--bg-primary);
  color: var(--font-color);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#profpage #moreInfo .box {
  background: var(--bg-primary);
  color: var(--font-color);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

#profpage .box .title {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: none;
  border-bottom: 1.5px solid var(--border-color);
  color: var(--font-color2);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 0;
  position: static;
  top: unset;
  right: unset;
  box-shadow: none;
  letter-spacing: 0.01em;
}

#profpage .box > *:not(.title) {
  padding: 12px 14px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--font-color);
  min-height: 20px;
}

#profpage .prof-glass-card .vname {
  font-size: 1.45em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#profpage .prof-glass-card .vnamerow {
  min-width: 0;
  flex: 1;
}

#profpage .prof-glass-card .blueTick {
  width: 24px;
  align-self: center;
}

#profpage .prof-glass-card .vage {
  align-self: center;
  flex-shrink: 0;
  white-space: nowrap;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.78em;
}

#profpage .prof-glass-card .vlsts {
  opacity: 0.85;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

#profpage .codepill {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.72em;
}

#profpage .backbtn {
  position: absolute;
  right: 12px;
  top: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 10, 16, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#profpage .backbtn i {
  color: #fff;
  font-size: 20px;
}

#profpage .sendMSG {
  width: 100%;
  border: none;
  background: var(--bg-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 26px rgba(31, 122, 116, 0.3);
}

#profpage .sendMSG i {
  font-size: 20px;
}

#profpage .actrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0 24px;
}

#profpage .actbtn {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 14px 4px 11px;
  font-size: 10px;
  font-weight: 600;
  color: var(--font-color2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  line-height: 1.3;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.18s ease,
              border-color 0.18s ease,
              background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

/* shimmer ripple on tap */
#profpage .actbtn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.22) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
#profpage .actbtn:active::after {
  opacity: 1;
}

/* icon container bubble */
#profpage .actbtn i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bg-secondary);
  color: var(--primary-color);
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1),
              background 0.18s ease,
              box-shadow 0.18s ease;
  flex-shrink: 0;
}

/* favourite — pink/red */
#profpage .actbtn.faveTgl i {
  color: #E11D48;
  background: rgba(225,29,72,0.10);
}
#profpage .actbtn.faveTgl:not(.deactive) i {
  background: rgba(225,29,72,0.16);
  box-shadow: 0 4px 12px rgba(225,29,72,0.28);
}
#profpage .actbtn.faveTgl i.red {
  color: #E11D48;
  background: rgba(225,29,72,0.18);
  box-shadow: 0 4px 14px rgba(225,29,72,0.38);
}

/* send pre-msg — primary gradient */
#profpage .actbtn.sendPreMSG i {
  color: var(--primary-color);
  background: rgba(31, 122, 116,0.10);
}

/* report — orange */
#profpage .actbtn.reportBtn i {
  color: #F97316;
  background: rgba(249,115,22,0.10);
}

/* ban — neutral → red when active */
#profpage .actbtn.banTgl i {
  color: var(--hint-color);
  background: rgba(167,139,160,0.12);
}
#profpage .actbtn.banTgl:not(.deactive) i {
  color: var(--red);
  background: rgba(239,68,68,0.12);
  box-shadow: 0 4px 12px rgba(239,68,68,0.22);
}
#profpage .actbtn.banTgl i.red {
  color: var(--red);
  background: rgba(239,68,68,0.15);
  box-shadow: 0 4px 14px rgba(239,68,68,0.30);
}

#profpage .sectitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--font-color);
  margin: 28px 2px 16px;
}

#profpage .sectitle i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--primary-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

#profpage .sectitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, var(--border-color), transparent);
  margin-right: 8px;
}


#profpage .vinterests {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

#profpage .vinterests .interest-chip {
  background-color: #3F4452;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 12px;
}

#searchbox {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 5px;
  position: fixed;
  top: 44px;
  width: 100%;
  left: 0px;
  right: 0px;
  z-index: 1031;
  padding-top: 20px;
  display: none;
}

#searchbox::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid var(--bg-primary);
}

#searchbox .icofont-toggle-off {
  color: var(--hint-color);
}

#searchbox .icofont-toggle-on {
  color: var(--primary-color);
}

#searchbox .icofont-refresh {
  position: absolute;
  left: 10px;
  font-size: 1.5em;
  color: var(--primary-color);
  top: 4px;
}

/* header::after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: -2px;
  height: 11px;
  left: 0;
  background-color: var(--bg-primary);
  border-top-left-radius: 10px;
} */

/* header.msgheader::after {
  background-color: var(--bg-secondary-light);
} */

header .btn {
  font-size: .8em;
  color: white;
  margin: 0 5px;
}

header .btn.act {
  color: var(--primary-color);
  background-color: white !important;
  border: 1px solid white !important;
}

.header2 {
  font-size: .9em;
  padding: 2px 10px;
  background-color: var(--bg-secondary-light);
}

a:hover {
  color: inherit;
  text-decoration: none;
  font-size: inherit
}

.modal-header {
  padding: 8px 10px !important;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.hint {
  color: var(--hint-color);
  /* font-family: yekan; */
}

.green {
  color: var(--green) !important;
}

.blue { color: var(--blue) !important; }

.gold {
  color: var(--gold) !important;
}

.red {
  color: var(--red) !important;
}

.yellow {
  color: var(--yellow) !important;
}

.orange {
  color: var(--orange) !important;
}

.pink {
  color: var(--pink) !important;
}

.lime {
  color: var(--lime) !important;
}

.primary-color {
  color: var(--primary-color);
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(1200px 400px at 100% -10%, rgba(63, 189, 179, 0.16), transparent 55%);
  /* paint the glow once at the top; short pages otherwise show a repeat seam */
  background-repeat: no-repeat;
  text-align: start;
  font-weight: normal;
  line-height: normal;
  color: var(--font-color);
  font-family: iran;
  -webkit-font-smoothing: antialiased;
}

.t-small {
  font-size: .9em
}

.t-smaller {
  font-size: .8em
}

.t-smallest {
  font-size: .7em
}

.t-big {
  font-size: 1.1em
}

.t-bigger {
  font-size: 1.2em
}

.t-biggest {
  font-size: 1.3em
}

.container-fluid {
  padding-right: 5px;
  padding-left: 5px;
}

.padd0 {
  padding-left: 0;
  padding-right: 0;
}

.padd2 {
  padding-left: 2px;
  padding-right: 2px;
}

.padd5 {
  padding-left: 5px;
  padding-right: 5px;
}

.padd10 {
  padding-left: 10px;
  padding-right: 10px;
}

.padd15 {
  padding-left: 15px;
  padding-right: 15px;
}

.padd20 {
  padding-left: 20px;
  padding-right: 20px;
}

.mbot5 {
  margin-bottom: 5px
}

.mbot10 {
  margin-bottom: 10px;
}

.mbot15 {
  margin-bottom: 15px
}

.mbot20 {
  margin-bottom: 20px
}

.mbot25 {
  margin-bottom: 25px
}

.mbot30 {
  margin-bottom: 30px
}

.relative {
  position: relative;
}

.opacity-9 {
  opacity: .9;
}

.opacity-8 {
  opacity: .8;
}

.opacity-7 {
  opacity: .7;
}

.opacity-6 {
  opacity: .6;
}

.opacity-5 {
  opacity: .5;
}

li {
  list-style-type: none;
}

#vp {
  width: 100%;
  margin: auto;
  transition: .3s;
  max-width: 500px;
  overflow: hidden;
  height: 100%;
  -webkit-transition: .3s -webkit-filter linear;
  -moz-transition: .3s -moz-filter linear;
  -moz-transition: .3s filter linear;
  -ms-transition: .3s -ms-filter linear;
  -o-transition: .3s -o-filter linear;
  transition: .3s filter linear, .3s -webkit-filter linear;
}

#vp iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#mloaderbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  background-color: var(--bg-primary);
  display: none;
  animation-duration: .3s !important;
}

#mloader {
  width: 100%;
  max-width: 500px;
  margin: auto;
  height: 100%;
  overflow-y: auto;
  background-color: var(--bg-primary);
  position: relative;
}

#ploaderbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: none;
  padding: 0px;
  background-color: rgba(0, 0, 0, 0);
  transition: 5s !important;
  max-width: 500px;
  margin: auto;
  animation-duration: .3s !important;
}

#ploaderbox.act {
  background-color: var(--bg-glassy);
  display: flex !important;
}

#ploader {
  position: absolute;
  left: 5%;
  right: 5%;
  overflow-y: auto;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  margin: auto;
  box-shadow: var(--shadow-lg);
  align-self: center;
  height: auto;
  min-height: 10vh;
  max-height: 90vh;
}

#mloader .wait,
#loader .wait {
  text-align: center;
  padding-top: calc(50vh - 50px);
  font-size: 50px;
  color: var(--gold);
}

nav {
  position: fixed;
  bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  left: 10px;
  width: calc(100% - 20px);
  height: 60px;
  text-align: center;
  background-color: color-mix(in srgb, var(--bg-primary) 52%, transparent);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  z-index: 10;
  max-width: 480px;
  border: 1px solid color-mix(in srgb, var(--border-color) 55%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

nav ul {
  width: 100%;
  display: flex;
  height: 100%;
  max-width: 500px;
  margin: auto;
  padding: 0;
}

nav ul li {
  display: grid;
  width: 20%;
  align-items: center;
  text-align: center;
  list-style-type: none;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  user-select: none;
  position: relative;
}

nav ul li i {
  font-size: 1.45em;
  color: var(--font-color);
  transition: .25s ease;
  opacity: 0.45;
}

.navli-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.navli .title {
  font-size: 10px;
  color: var(--font-color);
  transition: .3s;
  opacity: 0.4;
  margin-top: 2px;
}

.navli .bdg {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: var(--danger);
  color: white;
  font-size: 10px;
  border-radius: 50%;
  padding-top: 2px;
  text-align: center;
  top: 6px;
  left: calc(50% - 22px);
  display: none;
}

.navli .bdg.act {
  display: initial;
}

.navli.act .title {
  opacity: 1;
  font-size: 10.5px;
  color: var(--primary-color);
  font-weight: 700;
}

.modal-footer>:not(:last-child) {
  margin-left: 5px;
}

.modal-footer>:not(:first-child) {
  margin-left: unset;
}

nav ul li.act i {
  color: var(--primary-color);
  font-size: 1.65em;
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(31, 122, 116, 0.35));
}

.modal-content {
  font-family: inherit;
}

.form-control {
  border-radius: var(--radius-md);
  height: auto !important;
  border: 1px solid var(--border-color);
  -webkit-appearance: unset !important;
  transition: .25s;
  padding: 13px 16px;
  font-size: .86em;
  background-color: var(--bg-primary);
  color: var(--font-color);
}

button:focus {
  outline: none
}

.topgap {
  height: 56px;
}

.form-control:focus {
  border-color: var(--primary-light);
  outline: none;
  box-shadow: 0 0 0 4px rgba(63, 189, 179, 0.18);
}

::placeholder {
  color: var(--hint-color) !important;
}

.help-color {
  border: 2px solid;
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 50%;
  position: relative;
  top: 3px;
}

.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  max-width: calc(100% - 40px);
  z-index: 10000;
  pointer-events: none;
}

.notification>div {
  min-width: 200px;
  padding: 12px 30px 12px 26px;
  border-radius: 12px;
  position: relative;
  margin-bottom: 12px;
  display: none;
  -webkit-animation-duration: .4s;
  animation-duration: .4s;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.notification>div:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.pointer {
  cursor: pointer;
}

.notification span {
  text-align: justify;
  line-height: 22px;
  display: block;
  text-indent: 10px;
  font-size: .8em;
}

.notification .danger {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.92), rgba(127, 29, 29, 0.92));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.notification .warning {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.92), rgba(180, 83, 9, 0.92));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.notification .info {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(30, 64, 175, 0.92));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.notification .success {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.92), rgba(6, 95, 70, 0.92));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.notification>div::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 4px;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notification>div:hover::before {
  opacity: 1;
}

.notification .danger::before { background: rgba(255, 255, 255, 0.35); }
.notification .warning::before { background: rgba(255, 255, 255, 0.35); }
.notification .info::before { background: rgba(255, 255, 255, 0.35); }
.notification .success::before { background: rgba(255, 255, 255, 0.35); }

.notification i {
  position: absolute;
  right: 8px;
  top: 10px;
  font-size: 24px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.notification>div:hover i {
  opacity: 1;
}

.notification .icofont-close {
  left: 6px;
  top: 6px;
  font-size: 1em;
  right: unset;
}

.notification .notif {
  font-size: .9em;
  padding: 7px 38px 7px 26px;
  margin-bottom: 15px;
}

.notification .notif .pic {
  background-image: url(img/noimg0.jpg);
  width: 50px;
  min-width: initial;
  height: 50px;
  background-size: cover;
  background-position: center;
  padding: 0;
  margin: 0;
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 25px);
  right: -12px;
}

.notif.warning .pic {
  border: 3px solid #fdd735;
}

.notif.success .pic {
  border: 3px solid #81c784;
}

.notif.danger .pic {
  border: 3px solid #ef9a9a;
}

.radius10 {
  border-radius: 10px
}

.radius20 {
  border-radius: 20px
}

.radius5 {
  border-radius: 5px
}

.radius {
  border-radius: 30px
}

#splash {
  background: var(--bg-gradient);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}



.beforeicon::before {
  font-family: 'icofont';
  content: attr(icon);
  position: absolute;
  right: -10px;
  top: 0;
  color: var(--primary-color);
  font-size: 17px;
}

.beforeicon::after {
  content: attr(label);
  position: absolute;
  right: 11px;
  top: 0;
  color: var(--primary-color);
  font-size: 12px;
}

.aftericon::after {
  font-family: 'icofont' !important;
  content: attr(icon) !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 2px !important;
  color: var(--primary-color) !important;
  font-size: 18px !important;
  -webkit-text-security: initial;
}

[contenteditable=true] {
  outline: none;
  border-bottom: 1px solid #356a5c;
  padding: 0 20px 0 10px;
  color: var(--font-color);
  word-wrap: break-word;
  margin-bottom: 8px;
  display: block;
  position: relative;
}

[contenteditable=true]:empty:before {
  content: attr(placeholder);
  color: var(--hint-color);
}

[contenteditable=true]:empty {
  content: attr(placeholder);
  -webkit-text-security: initial;
}

[contenteditable=true]::after {
  content: "\eded";
  font-family: 'icofont';
  position: absolute;
  right: -5px;
  bottom: 4px;
  color: var(--primary-color);
  font-size: 1em;
}

.editmode .hideedit {
  display: none !important;
}

.editmode .editcontent {
  display: inline-block !important;
}

.editmode .editcontent.d-block {
  display: block !important;
}

.editcontent,
.editcontent.d-block {
  display: none !important;
}

.gallery .icofont-check-circled {
  position: absolute;
  font-size: 3em;
  left: calc(50% - 24px);
  top: calc(50% - 27px);
  color: var(--hint-color);
  text-shadow: 0 0 2px #212121;
  cursor: pointer;
}

.gallery .icofont-ui-camera {
  position: absolute;
  font-size: 3em;
  left: calc(50% - 24px);
  top: calc(50% - 27px);
  color: var(--hint-color);
  cursor: pointer;
}

.gallery .icofont-ui-camera>i {
  position: absolute;
  color: var(--green);
  right: -13px;
  top: 2px;
  font-size: .4em
}

.gallery .icofont-check-circled.act {
  color: var(--green);
  text-shadow: 0 0 9px black;
}

.gallery .icofont-close {
  background-color: var(--red);
  color: white;
  padding: 5px;
  border-radius: 50%;
  position: absolute;
  top: -9px;
  right: -2px;
  cursor: pointer;
}

.profilepg header {
  background-color: var(--primary-color);
  position: relative;
  text-align: center;
  height: 180px;
  background-size: cover !important;
  background-position: center !important;
}

.profilepg header .overlay {
  background: linear-gradient(0deg, rgba(246, 42, 93, 1) 0%, rgba(246, 42, 93, .2) 100%);
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.optionmenu {
  position: absolute;
  width: max-content;
  left: 10px;
  top: 31px;
  background-color: var(--bg-primary);
  border: 1px solid var(--bg-secondary);
  font-size: 1.3em;
  display: none;
}

.optionmenu>div {
  padding: 5px 8px 4px 30px;
  border-bottom: 1px solid var(--bg-secondary);
  cursor: pointer;
}

.optionmenu>div:last-child {
  border-bottom: none;
}

.profilepg header img {
  width: 120px;
  position: absolute;
  border-radius: 50%;
  border: 7px solid var(--bg-primary);
  background-color: var(--bg-primary);
  bottom: -9px;
  left: calc(50% - 60px);
  z-index: 3;
}

.profilepg header .svg {
  width: 100%;
  height: 45px;
  background: var(--bg-secondary);
  background: linear-gradient(135deg, transparent 10px, #c00 0) top left, linear-gradient(225deg, transparent 10px, #c00 0) top right, linear-gradient(315deg, transparent 10px, #c00 0) bottom right, linear-gradient(45deg, transparent 10px, #c00 0) bottom left;
  background-image: radial-gradient(circle at 0 0, rgba(204, 0, 0, 0) 45px, var(--bg-secondary) 46px), radial-gradient(circle at 100% 0, rgba(204, 0, 0, 0) 45px, var(--bg-secondary) 46px);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 2;
  bottom: 0px;
}

.mybtn {
  background: var(--bg-gradient);
  color: white !important;
  font-size: .92em;
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  border: none;
  box-shadow: 0 10px 22px rgba(31, 122, 116, 0.28);
  letter-spacing: .3px;
}

.mybtn:hover {
  color: white !important;
}

.password.act {
  -webkit-text-security: initial;
}

.password {
  -webkit-text-security: disc;
}

.biobg {
  background-image: url(../img/noimg.jpg);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
  position: relative;
  padding-top: 100%;
}

.biobg .iconBox {
  position: absolute;
  top: 20px;
  left: 14px;
  direction: ltr;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.biobg .iconBox .icon {
  background-color: rgba(20, 10, 16, 0.35);
  padding: 6px 6px 6px 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  display: flex;
  gap: 5px;
  width: max-content;
  margin-bottom: 15px;
  direction: rtl;
}

.biobg .iconBox .icon i {
  font-size: 24px;
  align-self: center;
}

.biobg .iconBox .icon span {
  font-size: .8em;
  align-self: center;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.biobg .iconBox .icon.onlineStatus i {
  background-color: #b2acac;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 4px;
}

.biobg .iconBox .icon.onlineStatus.online i {
  background-color: #16b22a;
}

.biobg .shade {
  width: 100%;
  position: absolute;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgb(0 0 0 / 0%) 100%);
  bottom: 0;
  color: white;
}

.myInput {
  position: relative;
}

.myInput .title {
  position: absolute;
  top: -11px;
  right: 10px;
  background-color: var(--bg-primary);
  color: var(--font-color2);
  padding: 1px 10px;
  font-size: 11px;
}

.profileRow {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--bg-secondary);
  padding: 6px;
  cursor: pointer;
  line-height: 18px;
  display: flex;
}

.profileRow .city {
  background-color: var(--bg-secondary);
  padding: 6px 8px 6px 18px;
  border-radius: 8px;
  display: flex;
  gap: 5px;
  margin-left: 5px;
  align-items: center;
  font-size: .9em;
  white-space: nowrap;
}

.profileRow .city i {
  color: var(--blue);
}

.profileRow .city span {
  font-size: .8em;
  opacity: .9;
}

.profileRow .hint {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.profileRow .align-self-center {
  overflow: hidden;
}

.profileRow .picbox {
  width: 17vw;
  height: 17vw;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  margin: auto;
  position: relative;
}

.profileRow .picbox.vip {
  overflow: visible
}

.profileRow .picbox.vip {
  border-color: var(--gold) !important;
}

.profileRow .picbox.vip .pic {
  border-color: var(--gold) !important;
}

.profileRow .picbox .pic {
  width: 100%;
  height: 100%;
  background-size: cover;
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.profileRow .picbox .icofont-comment {
  position: absolute;
  z-index: 3;
  color: white !important;
  left: -2px;
  top: -2px;
  font-size: 12px;
  background-color: var(--success);
  border-radius: 50%;
  padding: 4px 3px 2px;
}

.profileRow .icofont-ui-press {
  color: var(--bg-secondary);
}

.profileRow.online .picbox {
  border: 3px solid var(--green) !important;
}

.profileRow.online .icofont-ui-press {
  color: var(--green);
}

.profileRow .boosted {
  position: absolute;
  top: -6px;
  right: -8px;
  color: var(--pink) !important;
  z-index: 2;
  font-size: 18px;
  opacity: .8;
}

.msgrow .unread {
  background-color: var(--primary-color);
  color: white;
  padding: 3px 0;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: block;
  text-align: center;
  font-size: 10px;
  font-family: iran;
}

.myProf .picbox {
  width: 22vw;
  height: 22vw;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary-light);
  margin: auto;
  position: relative;
}

.myProf .picbox.act {
  border: 3px solid var(--success);
}

.myProf .picbox .pic {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 50%;
}

.myProf .picbox i.camera {
  position: absolute;
  bottom: -12px;
  left: -12px;
  font-size: 16px;
  color: var(--bg-primary);
  border-radius: 50%;
  padding: 7px;
  background-color: var(--info);
  border: 3px solid var(--bg-primary);
}

.myProf .picbox i.delete {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 20px;
  color: var(--bg-primary);
  border-radius: 50%;
  padding: 2px;
  background-color: var(--red);
  border: 2px solid var(--bg-primary);
}

.blueTick {
  width: 18px;
  display: none;
}

.blueTick.act {
  display: initial;
}

.profileRow.online .picbox i {
  color: var(--green);
}

.profileRow.resume .picbox::after {
  content: "\eed7";
  font-family: 'icofont';
  position: absolute;
  left: calc(14% - 11px);
  top: calc(14% - 11px);
  color: var(--green);
  font-size: 22px;
  background-color: white;
  border-radius: 50%;
  padding: 0px;
}


header.chatheader {
  border-top-left-radius: 0;
  background-color: var(--bg-primary);
  color: var(--font-color);
  padding: 4px 5px 12px;
  height: 48px;
  z-index: 99;
}

.chatheader .editpanel {
  position: absolute;
  width: 170px;
  top: 0;
  left: 120px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: none;
  padding: 10px 0 4px;
  border-radius: 10px;
  font-size: 12px;
  z-index: 3;
}

.chatheader .editpanel .icofont-close {
  position: absolute;
  left: -12px;
  top: -12px;
  font-size: 16px;
  padding: 5px;
  border: 1px solid var(--border-color2);
  border-radius: 50%;
  background-color: var(--bg-primary);
}

.chatheader .editpanel>div {
  border-bottom: 1px solid var(--border-color);
  margin: 4px 0;
  padding: 4px 0 7px;
}

#msgloader .bg {
  position: absolute;
  background-color: #0000006c;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  display: none;
}

#chatinput.editmode {
  border-color: var(--pink) !important;
}

.chatheader .editpanel i {
  font-size: 20px;
}

.chatheader .editpanel .editBtn {
  opacity: .3;
  transition: .3s;
  cursor: initial;
}

.chatheader .editpanel.edit .editBtn {
  opacity: 1;
  cursor: pointer;
}

header.chatheader::after {
  background-color: var(--bg-secondary);
}

header.chatheader img {
  width: 45px;
  border-radius: 50%;
}

header.chatheader .picbox {
  display: inline-block;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  padding: 2px;
  background-color: var(--bg-primary);
  margin-left: 10px;
  width: 40px;
  height: 40px;
}

header.chatheader .picbox .pic {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 50%;
}

header.chatheader.online .picbox {
  border-color: var(--green);
}

header.chatheader .name {
  font-size: 1em;
  line-height: 17px;
}

header.chatheader .state {
  font-size: .8em;
  color: var(--hint-color);
}

header.chatheader.online .state {
  font-size: .6em;
  color: var(--green);
}

@media all and (max-width: 991px) {
  header .logo {
    left: 40px;
  }

  header .txtbox {
    padding: 130px 10px 45px 40px;
  }
}

.pg-box ul {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
}

.pg-box ul li {
  background-color: #FCFCFC;
  margin-bottom: 10px;
  padding: 7px 10px;
  margin-bottom: 12px;
  border: 1px solid #FCFCFC;
  transition: .3s;
  border-radius: 10px;
}

.pg-box ul li.act {
  border-color: #009e4f;
}

#msgloader {
  background-color: var(--bg-secondary);
  padding: 65px 0px 100px;
  font-size: .8em;
  color: white;
  min-height: 100%;
  position: relative;
}

#premsgbtn {
  position: fixed;
  left: 5px;
  bottom: 60px;
  font-size: 1.6em;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 10px 7px 6px 8px;
  border-radius: 50%;
  opacity: .5;
  transition: .3s;
  z-index: 2;
}

#premsgbtn.act {
  opacity: 1;
}

#premsgbtn:hover {
  opacity: 1;
}

#premsghelp {
  position: fixed;
  left: 34px;
  bottom: 67px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 12px;
  padding: 2px 0 2px 0;
  z-index: 1;
  border-radius: 5px;
  z-index: 1;
  width: 0px;
  overflow: hidden;
  white-space: nowrap;
  transition: .3s;
}

#premsghelp.act {
  width: 120px;
  padding: 2px 8px 2px 20px;
}

#chatSettingsBox {
  position: absolute;
  width: max-content;
  left: 4px;
  top: 42px;
  font-size: 13px;
  background-color: var(--bg-primary);
  border: 1px solid var(--hint-color);
  padding: 2px 0;
  border-radius: 6px;
  transition: .2s ease-in-out;
  z-index: 1100;
  height: max-content;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

#chatSettingsBox::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 6px;

  width: 0;
  height: 0;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--border-color2);
}

#chatSettingsBox.act {
  max-height: 300px;
  opacity: 1;
  overflow: visible
}

#chatSettingsBox>div {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 10px 12px 30px;
}

#chatSettingsBox>div:last-of-type {
  border: none;
}

#msgSelectOption {
  padding: 6px 20px;
  position: fixed;
  bottom: 0;
  background-color: var(--bg-primary);
  width: 100%;
  left: 0;
  z-index: 3;
  display: none;
  height: 55px;
}

#msgSelectOption.act {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#msgloader>div {
  margin-bottom: 10px;
  padding: 21px 5px 4px;
  transition: .3s;
  height: max-content;
  overflow: hidden;
}

#msgloader>div.delete {
  height: 0 !important;
  padding: 0;
  margin: 0;
}

#msgloader>div.selected {
  background-color: var(--bg-primary);
  z-index: 3;
}

#msginputbox {
  padding: 6px;
  position: fixed;
  bottom: 0;
  background-color: var(--bg-primary);
  width: 100%;
  left: 0;
  z-index: 2;
}

#msginputbox .inputbox {
  width: calc(100% - 110px);
  position: relative;
}

#msginputbox .inputbox i {
  font-size: 1.8em;
  position: absolute;
  right: 5px;
  top: 6px;
}

#msginputbox .cam {
  margin-left: 6px;
  font-size: 2.5em;
}

#msginputbox .inputbox input {
  width: 100%;
  border: 1px solid var(--bg-secondary);
  border-radius: 20px;
  font-size: .8em;
  padding: 4px 45px 4px 10px;
  height: 40px;
  background-color: var(--bg-secondary-light);
  color: var(--font-color);
}

#msginputbox .sendbtn {
  font-size: 25px;
  margin-right: 2px;
  background-color: var(--bg-secondary-light);
  border: 1px solid var(--border-color);
  padding: 5px 12px 6px 8px;
  border-radius: 5px;
}

#msgloader .send,
#msgloader .get {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

#msgloader .send .text,
#msgloader .get .text {
  padding: 16px 20px;
  border-radius: 8px;
  position: relative;
  min-width: 35%;
  max-width: 70%;
}

#msgloader .send .text {
  background-color: var(--primary-color);
}

#msgloader .get .text {
  background-color: #202036;
}

#msgloader .send {
  padding-right: 20px;
}

#msgloader.selectMode .send .radio {
  display: initial;
}

#msgloader .send .radio {
  margin-right: auto;
  padding: 10px;
  font-size: 18px;
  color: #1963c4;
  opacity: .8;
  transition: .2s linear;
  cursor: pointer;
  display: none;
}

#msgloader .send .radio.act {
  opacity: 1;
  font-size: 20px;
  padding: 9px;
}

#msgloader .send .radio i::before {
  font-size: 0;
  top: 10px;
  left: 10px;
  transition: .2s linear;
  opacity: 0;
}

#msgloader .send .radio.act i::before {
  font-size: 20px;
  top: 0;
  left: 0;
  opacity: 1;
}

#msgloader .get {
  direction: ltr;
  padding-left: 20px;
}

#msgloader .get .pic,
#msgloader .send .pic {
  border: 3px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  background-size: cover;
  z-index: 1;
  top: 0;
}

#msgloader .get .pic {
  left: 5px;
}

#msgloader .send .pic {
  right: 5px;
}

#msgloader .time {
  color: var(--hint-color);
  font-size: .9em;
}

#msgloader .text .chatpic {
  max-width: 100%;
  width: 200px;
  height: 120px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 3px solid white;
}


#msgloader .emoji-only .text {
  width: 120px !important;
  background-color: transparent !important;
  padding: 0;
  border-radius: 10px;
  position: relative;
  font-size: 50px;
  text-align: center;
}

#msgloader.online .get img {
  border: 3px solid var(--green);
}

#msgloader .emoji-only .text::before,
#msgloader .emoji-only.unread .text::after {
  color: var(--hint-color) !important;
}

.showmore span {
  background-color: var(--bg-primary);
  color: var(--hint-color);
  padding: 7px 10px;
  border-radius: 7px;
  font-size: .8em;
  cursor: pointer;
}

#msgloader .send .text::after {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 9px;
  bottom: 4px;
  color: var(--bg-secondary);
  font-size: 14px;
}

#msgloader .send .text::before {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 3px;
  bottom: 4px;
  color: var(--bg-secondary);
  text-shadow: 0 0 2px var(--primary-color), 0 0 2px var(--primary-color), 0 0 2px var(--primary-color);
  font-size: 14px;
  z-index: 1;
}

#msgloader .send.unread .text::after {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 4px;
  bottom: 4px;
  color: var(--bg-secondary);
  font-size: 14px;
}

#msgloader .send.unread .text::before {
  content: "";
}

#msgloader .send.sending .text::after {
  content: "\eff6";
  font-family: 'icofont';
  position: absolute;
  left: 4px;
  bottom: 4px;
  color: var(--bg-secondary);
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

#msgloader .send.sending .text::before {
  content: "";
}

.msgrow .chk::after,
.msgrow .dblchk::after {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 0px;
  top: 15px;
  color: var(--hint-color);
}

.msgrow .dblchk::before {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 5px;
  top: 15px;
  color: var(--hint-color);
}

.loading-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  animation: bounce1 1.2s infinite ease-in-out;
}

/* Apply delay to each dot */
.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce1 {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin2 {
  0% {
    -transform: scale(1) rotate(0deg);
    ;
    -webkit-transform: scale(1) rotate(0deg);
    ;
  }

  50% {
    -transform: scale(1) rotate(360deg);
    -webkit-transform: scale(1) rotate(360deg);
  }

  70% {
    -transform: scale(0.82) rotate(504deg);
    -webkit-transform: scale(0.82) rotate(504deg);
  }

  90% {
    -transform: scale(0.82) rotate(648deg);
    -webkit-transform: scale(0.82) rotate(648deg);
  }

  100% {
    -transform: scale(1) rotate(720deg);
    -webkit-transform: scale(1) rotate(720deg);
  }
}

@-moz-keyframes spin2 {
  0% {
    -transform: scale(1) rotate(0deg);
    ;
    -webkit-transform: scale(1) rotate(0deg);
    ;
  }

  50% {
    -transform: scale(1) rotate(360deg);
    -webkit-transform: scale(1) rotate(360deg);
  }

  70% {
    -transform: scale(0.82) rotate(504deg);
    -webkit-transform: scale(0.82) rotate(504deg);
  }

  90% {
    -transform: scale(0.82) rotate(648deg);
    -webkit-transform: scale(0.82) rotate(648deg);
  }

  100% {
    -transform: scale(1) rotate(720deg);
    -webkit-transform: scale(1) rotate(720deg);
  }
}

@keyframes spin2 {
  0% {
    -transform: scale(1) rotate(0deg);
    ;
    -webkit-transform: scale(1) rotate(0deg);
    ;
  }

  50% {
    -transform: scale(1) rotate(360deg);
    -webkit-transform: scale(1) rotate(360deg);
  }

  70% {
    -transform: scale(0.82) rotate(504deg);
    -webkit-transform: scale(0.82) rotate(504deg);
  }

  90% {
    -transform: scale(0.82) rotate(648deg);
    -webkit-transform: scale(0.82) rotate(648deg);
  }

  100% {
    -transform: scale(1) rotate(720deg);
    -webkit-transform: scale(1) rotate(720deg);
  }
}

.spin {
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.emojilist {
  position: absolute;
  border: 1px solid var(--bg-secondary);
  bottom: 43px;
  padding: 4px;
  border-radius: 5px;
  background-color: var(--bg-primary);
  width: 120%;
  left: -10%;
  font-size: 1.5em;
  height: 250px;
  overflow-y: scroll
}

.emojilist span {
  padding: 5px !important;
  font-size: 26px;
  line-height: 26px;
  margin: 1px;
  display: inline-block;
}

.goldenbox {
  width: max-content;
}

.goldenbox .goldenuser {
  height: 18vh;
  width: 15vh;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 8px;
  position: relative;
  cursor: pointer;
  background-position: center;
}

.goldenbox .goldenuser .img {
  width: 11vh;
  height: 11vh;
  z-index: 2;
  position: absolute;
  left: 2vh;
  background-size: cover;
  top: 10%;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background-position: center;
}

.goldenuser .name {
  position: absolute;
  z-index: 2;
  color: white;
  bottom: 2px;
  width: 100%;
  text-align: center;
  left: 0;
  font-size: .8em;
}

.settingsbody {
  background-color: var(--bg-secondary);
}

.settingsbody header::after {
  background-color: var(--bg-secondary);
}

.stbtn {
  background-color: var(--bg-primary);
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  box-sizing: border-box;
  margin: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.stbtn:active {
  transform: scale(0.98);
}

.stbtn i {
  display: inline-block;
  font-size: 22px;
  flex-shrink: 0;
}

.stbtn span {
  font-size: 12.5px;
  line-height: 1.35;
  flex: 1;
  opacity: .84;
}

.stbtn .bdg {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: var(--danger);
  color: white;
  font-size: 10px;
  border-radius: 50%;
  padding-top: 2px;
  text-align: center;
  top: 6px;
  left: calc(40% - 22px);
  display: none;
}

.stbtn .bdg.act {
  display: initial
}

.settingsbody .dtl {
  background-color: var(--bg-primary);
  padding: 10px;
  text-align: center;
  font-size: .8em;
  border-radius: 5px;
}

.btngrp {
  display: inline-flex;
}

.btngrp>.btn {
  color: var(--font-color);
  background-color: var(--bg-secondary-light);
  border: 1px var(--bg-secondary) solid;
  padding: 4px 10px;
  font-size: .75em;
  display: inline-flex;
  border-radius: 0 !important;
}

.btngrp>.btn:first-child {
  border-radius: 0 5px 5px 0 !important;
}

.btngrp>.btn:last-child {
  border-radius: 5px 0 0 5px !important;
  border-right: none !important;
}

.btngrp>.btn:not(:first-child) {
  border-right: none !important;
}

.btngrp>.btn.act {
  background-color: var(--bg-primary);
}

.multibtn,
.multiselect {
  display: flex;
  flex-flow: wrap;
}

.multibtn>.btn,
.multiselect>.btn {
  color: var(--font-color);
  background-color: var(--bg-secondary);
  border: 1px var(--border-color) solid;
  padding: 10px 12px 10px 8px;
  font-size: .78em;
  flex: auto;
  border-radius: var(--radius-pill);
  margin: 0 3px;
  cursor: pointer;
  position: relative;
  margin-bottom: 6px;
  opacity: .9;
  transition: .25s;
}

.multibtn>.btn.act,
.multiselect>.btn.act {
  border: 1px solid transparent;
  background: var(--bg-gradient);
  color: #fff;
  opacity: 1;
  box-shadow: var(--shadow-sm);
}

.multibtn>.btn i,
.multiselect>.btn i {
  position: absolute;
  right: 8px;
  top: calc(50% - 10px);
  font-size: 19px;
}

.multibtn>.btn .ic2,
.multiselect>.btn .ic2 {
  font-size: 15px;
  position: absolute;
  right: 5px;
  top: 4px;
}

.biobox .bio .label {
  font-size: .86em;
  /* color: var(--primary-color); */
  margin-bottom: 2px;
}

.tabList {
  display: flex;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--primary-color);
  gap: 20px;
  justify-content: space-around;
  background-color: var(--bg-primary);
}

.tabList li {
  color: var(--hint-color);
  font-size: 12px;
  font-weight: 100;
  padding: 8px 12px;
  list-style-type: none;
  border-bottom: 2px solid transparent;
  transition: .3s;
}

.tabList li.act {
  border-bottom: 2px solid var(--primary-color);
  color: var(--font-color);
}

.loading {
  width: 80px;
  height: 80px;
  left: calc(50% - 40px);
  bottom: 70px;
  z-index: 10000;
  position: fixed;
  border-radius: 50%;
  padding: 12px;
}

.loading img {
  width: 100%;
}

.loading::before {
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../img/loading.png);
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
  background-size: cover;
}

[slider] {
  width: 100%;
  position: relative;
  height: 5px;
  margin: 10px 0;
}

[slider]>div {
  position: absolute;
  left: 13px;
  right: 15px;
  height: 5px;
}

[slider]>div>[inverse-left] {
  position: absolute;
  left: 0;
  height: 5px;
  border-radius: 10px;
  background-color: #CCC;
  margin: 0 7px;
  width: 100%;
}

[slider]>div>[inverse-right] {
  position: absolute;
  right: 0;
  height: 5px;
  border-radius: 10px;
  background-color: #CCC;
  margin: 0 7px;
  width: 100%;
}


[slider]>div>[range] {
  position: absolute;
  left: 0;
  height: 5px;
  border-radius: 14px;
  background-color: #356a5c;
}

[slider]>div>[thumb] {
  position: absolute;
  top: -7px;
  z-index: 2;
  height: 20px;
  width: 20px;
  margin-left: -11px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  background-color: #FFF;
  border-radius: 50%;
  outline: none;
  font-size: 10px;
  text-align: center;
  padding-top: 3px;
  color: var(--primary-color);
}

[slider]>input[type=range] {
  position: absolute;
  pointer-events: none;
  -webkit-appearance: none;
  z-index: 3;
  height: 14px;
  top: -2px;
  width: 100%;
  opacity: 0;
}

div[slider]>input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
  border: transparent;
}

div[slider]>input[type=range]:focus {
  outline: none;
}

div[slider]>input[type=range]::-webkit-slider-thumb {
  pointer-events: all;
  width: 28px;
  height: 28px;
  border-radius: 0px;
  border: 0 none;
  background: red;
  -webkit-appearance: none;
}

div[slider]>input[type=range]::-ms-fill-lower {
  background: transparent;
  border: 0 none;
}

div[slider]>input[type=range]::-ms-fill-upper {
  background: transparent;
  border: 0 none;
}

div[slider]>input[type=range]::-ms-tooltip {
  display: none;
}

[slider]>div>[sign] {
  opacity: 0;
  position: absolute;
  margin-left: -11px;
  top: -39px;
  z-index: 3;
  background-color: #d02128;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 28px;
  -webkit-border-radius: 28px;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

[slider]>div>[sign]:after {
  position: absolute;
  content: '';
  left: 0;
  border-radius: 16px;
  top: 19px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top-width: 16px;
  border-top-style: solid;
  border-top-color: #d02128;
}

[slider]>div>[sign]>span {
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
}

[slider]:hover>div>[sign] {
  opacity: 1;
}

.regbox,
.loginbox,
.frgbox {
  -webkit-animation-duration: 0.6s !important;
  animation-duration: 0.6s !important;
}

.panel {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.panel-heading {
  background: var(--bg-gradient);
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  color: white;
}

.panel-body {
  padding: 10px;
}

.icofont-toggle-on {
  color: var(--primary-color);
}

.icofont-toggle-off {
  color: var(--hint-color);
}

.table {
  color: var(--font-color) !important;
}

.adminmsgbox {
  background-color: var(--bg-secondary);
  padding: 10px 8px 15px 8px;
  position: relative;
  border-radius: 5px;
}

.adminmsgbox .time {
  position: absolute;
  left: 5px;
  top: 5px;
}

.adminmsgbox .sender {
  color: var(--primary-color);
  position: relative;
  padding-right: 30px;
}

.adminmsgbox .sender i {
  position: absolute;
  right: 0;
  top: -2px;
}

.modal-footer {
  justify-content: flex-start !important;
  padding: 15px !important;
}

.modal-content {
  background-color: var(--bg-secondary) !important;
}

.modal-footer {
  border-top: 1px solid var(--bg-primary) !important;
}

.modal-body {
  font-size: .9em;
}

.modal-header {
  background: var(--bg-gradient);
  color: white;
  border-bottom: none;
}

#interestbox {
  position: absolute;
  left: 10px;
  top: 15px;
}

#interestbox .option {
  color: white;
  padding: 3px 8px 1px;
  margin-bottom: 8px;
  text-align: center;
  font-size: .75em;
  border-radius: 5px;
}

#splashvideo {
  position: relative;
  top: 0;
  left: 0;
  /* right: 0; */
  /* bottom: 0; */
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: .3s;
}

#pinpage {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--bg-primary);
  display: none;
  overflow: hidden;
}

/* subtle ambient glow behind the card */
#pinpage::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* centred column */
.pin-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 28px;
  gap: 0;
}

/* logo */
.pin-logo {
  margin-bottom: 28px;
}
.pin-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* icon badge */
.pin-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.13), rgba(139,92,246,0.11));
  border: 1.5px solid rgba(59,130,246,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(59,130,246,0.12);
}
.pin-hero-icon i {
  font-size: 28px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* texts */
.pin-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--font-color);
  margin: 0 0 6px;
  text-align: center;
}
.pin-sub {
  font-size: 12px;
  color: var(--font-color2);
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.6;
}

/* 5-digit row */
.pin-digits {
  display: flex;
  justify-content: center;
  gap: 10px;
  direction: ltr;
  margin-bottom: 8px;
}
.pin-digit {
  width: 52px;
  height: 58px;
  border-radius: 14px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-secondary);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--font-color);
  outline: none;
  caret-color: var(--primary-color);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  -moz-appearance: textfield;
}
.pin-digit::-webkit-outer-spin-button,
.pin-digit::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pin-digit:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 18%, transparent);
  transform: translateY(-2px);
  background: var(--bg-primary);
}

/* shake animation on wrong PIN */
@keyframes pin-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.pin-digits.shake {
  animation: pin-shake 0.4s ease;
}

/* error text */
.pin-error {
  min-height: 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  margin: 4px 0 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pin-error.visible {
  opacity: 1;
}

.loginbox .logindigit {
  display: inline-block;
  width: 52px;
  height: 56px !important;
  text-align: center;
  font-size: 24px;
  padding: 2px;
  -webkit-appearance: none;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  margin: 0 4px;
  transition: border-color .2s, box-shadow .2s;
}
.loginbox .logindigit:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(31, 122, 116, 0.15);
  outline: none;
}

.wheelbox {
  width: 280px;
  height: 280px;
  margin: auto;
  position: relative;
}

.wheelbox .wheelmark {
  position: absolute;
  top: 83px;
  width: 73px;
  left: 104px;
}

.wheel {
  width: 280px;
  height: 280px;
  background-image: url(../img/wheel.png);
  background-size: 100%;
  margin: auto;
  transition: 3s;
  position: relative;
}

.wheel span {
  color: white;
}

.wheel .w1 {
  transform: rotate(-90deg);
  position: absolute;
  left: 118px;
  top: 40px;
}

.wheel .w2 {
  transform: rotate(-51deg);
  position: absolute;
  left: 172px;
  top: 56px;
}

.wheel .w3 {
  transform: rotate(-19deg);
  position: absolute;
  left: 205px;
  top: 99px;
}

.wheel .w4 {
  transform: rotate(18deg);
  position: absolute;
  left: 206px;
  top: 152px;
}

.wheel .w5 {
  transform: rotate(56deg);
  position: absolute;
  left: 173px;
  top: 198px;
}

.wheel .w6 {
  transform: rotate(89deg);
  position: absolute;
  left: 122px;
  top: 215px;
}

.wheel .w7 {
  transform: rotate(129deg);
  position: absolute;
  left: 70px;
  top: 203px;
}

.wheel .w8 {
  transform: rotate(162deg);
  position: absolute;
  left: 35px;
  top: 158px;
}

.wheel .w9 {
  transform: rotate(200deg);
  position: absolute;
  left: 30px;
  top: 103px;
}

.wheel .w10 {
  transform: rotate(238deg);
  position: absolute;
  left: 68px;
  top: 57px;
}

.wheelwintext {
  color: #f2f2f2;
  text-shadow: 0 0 4px #004431;
  font-size: 1.2em;
  top: 60px;
  position: absolute;
  left: 0;
  width: 100%;
}

.multiselect.vinterests .btn {
  padding: 4px 8px;
  border-radius: 4px;
  margin: 0 3px;
  margin-bottom: 6px;
  font-size: 11px;
}
/* Timer & Countdown Styles */
.timer {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--red);
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* mailsgst - warning hint for invalid phone format */
.mailsgst {
    display: none;
}

/* digit-input - individual OTP digit inputs */
.digit-input {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--font-color);
    outline: none;
    transition: border-color .2s;
}
.digit-input:focus { border-color: var(--primary-color); }

/* verify-btn - submit verification button */
.verify-btn {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
    cursor: pointer;
    transition: background .2s;
}
.verify-btn:active { background: var(--bg-secondary); }
.verify-btn.danger { border-color: rgba(239,68,68,.35); }
.verify-btn.danger span { color: var(--red); }
.verify-btn.danger i  { color: var(--red); }

/* resend-btn - resend link */
.resend-btn {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--primary-color);
    text-align: center;
}

/* change-number - change number link */
.change-number {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--primary-color);
    text-align: center;
}

.cropper-modal {
  border-radius: 16px;
  overflow: hidden;
}
.cropper-modal .modal-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 0 !important;
}
.cropper-modal .modal-footer > * { margin: 0 !important; }

#global-upload-demo {
  width: 100%;
  margin: auto;
}

.cr-boundary {
  border-radius: 24px;
}

.cr-viewport {
  box-shadow:
    0 0 0 2000px rgba(0, 0, 0, .45) !important;
}

/* avatar guide: the round avatar shows the centre square of the 9:16 frame (cover fit) */
#global-upload-demo.preview-circle .cr-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.cropper-hint {
  margin: 10px 0 0;
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--font-color2);
  text-align: center;
}

.crop-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  direction: ltr;
}

.crop-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

#cropZoomRange {
  flex: 1;
}


@media all and (min-width: 501px) {
  nav {
    left: calc(50% - 240px);
  }

  .fixed-top {
    position: fixed;
    top: 0;
    right: unset;
    left: 0;
    z-index: 2;
    left: calc(50% - 250px);
    width: 100%;
    max-width: 500px
  }

  .fixed-bottom {
    position: fixed;
    bottom: 0;
    right: unset;
    left: 0;
    z-index: 2;
    left: calc(50% - 250px);
    width: 100%;
    max-width: 500px
  }

  #msginputbox {
    left: calc(50% - 250px);
    max-width: 500px
  }

  #vp,
  #loader {
    box-shadow: 0 0 40px rgba(21, 94, 89, 0.12);
  }

}

#splash .loading {
  bottom: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.navli.act .navli-content {
  position: relative;
}

.navli.act .navli-content::after {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 4px;
  background: var(--primary-color);
  margin-top: 3px;
}

.auth-page {
  min-height: 100%;
  background: var(--surface-gradient);
}

.auth-page #vp {
  height: 100% !important;
  max-width: 500px;
  padding: 28px 16px 40px !important;
}

.auth-hero {
  text-align: center;
  margin-bottom: 8px;
}

.auth-hero img {
  width: 42% !important;
  max-width: 180px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.auth-hero h1 {
  font-size: 1.35rem;
  margin: 18px 0 4px;
  font-weight: 700;
}

.auth-hero p {
  color: var(--font-color2);
  font-size: .86rem;
  margin: 0;
}

.auth-card {
  background: color-mix(in srgb, var(--bg-primary) 88%, white);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 28px 8px 8px;
  box-shadow: var(--shadow-md);
  margin-top: 18px;
}

[data-theme="dark"] .auth-card {
  background: color-mix(in srgb, var(--bg-secondary) 88%, black);
}

.auth-page .btn-success,
.auth-page .btn-info {
  border-radius: var(--radius-pill) !important;
  padding: 10px 8px;
  border: none;
  font-weight: 600;
}

.auth-page .btn-success {
  background: linear-gradient(135deg, #14B8A6, #0F766E) !important;
}

.auth-page .btn-info {
  background: var(--bg-secondary) !important;
  color: var(--font-color) !important;
  border: 1px solid var(--border-color) !important;
}

.auth-page .law-row {
  margin-top: 28px !important;
  padding-top: 0 !important;
  color: var(--font-color2);
}

.theme-option {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.theme-swatch {
  height: 64px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.theme-swatch.light {
  background: linear-gradient(135deg, #F5FAF9, #D4EBE7 55%, #3FBDB3);
}

.theme-swatch.dark {
  background: linear-gradient(135deg, #0C1A19, #24433F 55%, #3FBDB3);
}

.profileRow {
  margin: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 10px;
}

.auth-card .myInput .title {
  background: color-mix(in srgb, var(--bg-primary) 88%, white);
}

[data-theme="dark"] .auth-card .myInput .title {
  background: color-mix(in srgb, var(--bg-secondary) 88%, black);
}

.modal-content {
  border-radius: 20px !important;
  overflow: hidden;
  border: none !important;
}
/* =========================================
 * Modern UI utilities
 * ========================================= */

/* Skeleton shimmer */
.skeleton {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-secondary) 75%, transparent);
  border-radius: var(--radius-md);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shimmer 1.4s infinite;
}

[data-theme="dark"] .skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Entrance animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.4s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

/* Buttons */
.btn {
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:active {
  transform: scale(0.96);
}

/* Press feedback on list rows and cards */
.profileRow {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.profileRow:active {
  opacity: 0.75;
}

.match-item,
.stat-card,
.actbtn {
  transition: transform 0.18s ease, opacity 0.2s ease;
}

.match-item:active,
.stat-card:active,
.actbtn:active {
  transform: scale(0.94);
  opacity: 0.85;
}

/* Online dot (unified across lists) */
.onlinedot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 2.5px solid var(--bg-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Designed empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--font-color2);
}

.empty-state .eicon {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--primary-color);
  font-size: 34px;
  box-shadow: var(--shadow-sm);
}

.empty-state .etitle {
  font-weight: 700;
  color: var(--font-color);
  margin-bottom: 6px;
  font-size: 15px;
}

.empty-state .etext {
  font-size: 12px;
  margin-bottom: 18px;
  line-height: 1.9;
}

.empty-state .ebtn {
  display: inline-block;
  background: var(--bg-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(31, 122, 116, 0.25);
  cursor: pointer;
}

/* ============================================================
   گالری تصاویر کاربر در صفحات پروفایل (فقط نمایشی)
   مورد استفاده: plugin/profile/profile.html و myProf.html
   ============================================================ */
#profpage .prof-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 6px;
}

#profpage .prof-gallery .pg-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#profpage .prof-gallery .pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

#profpage .prof-gallery .pg-item:active {
  transform: scale(0.96);
  box-shadow: var(--shadow-md);
}

/* هدر بخش گالری */
#profpage .prof-gallery-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--font-color);
  margin: 24px 2px 14px;
}

#profpage .prof-gallery-head i.icofont-picture {
  color: var(--primary-color);
  font-size: 17px;
}

#profpage .prof-gallery-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

#profpage .prof-gallery-head .pg-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-color);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
}

#profpage .prof-gallery-head .pg-manage {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--bg-gradient);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

#profpage .prof-gallery-head .pg-manage i {
  font-size: 12px;
}

/* ============ Profile page UI refresh ============ */

/* هیرو بلندتر (۴:۵) + ورود نرم */
#profpage .biobg {
  padding-top: 125%;
  animation: profHeroIn 0.6s ease both;
}
@keyframes profHeroIn {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

/* گرادیان پایین عکس (محتوا به کارت شیشه‌ای منتقل شده) */
.biobg .shade {
  height: 150px;
  pointer-events: none;
}

/* کارت شیشه‌ای اطلاعات روی لبه عکس */
#profpage .prof-glass-card {
  position: relative;
  z-index: 3;
  margin: -72px 2px 20px;
  padding: 14px 16px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

#profpage .codepill {
  cursor: pointer;
  transition: transform 0.15s ease;
}
#profpage .codepill:active {
  transform: scale(0.95);
}

/* نقطه وضعیت آنلاین */
#profpage .vlsts {
  display: flex;
  align-items: center;
  gap: 7px;
}
#profpage .online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hint-color);
  flex: 0 0 auto;
}
#profpage .online-dot.on {
  background: #22c55e;
  animation: onlinePulse 1.6s infinite;
}
@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ورود پلکانی بخش‌ها */
#profpage .profcontent > *:not(.sendMSG) {
  animation: profFadeUp 0.45s ease both;
}
#profpage .profcontent > *:nth-child(1) { animation-delay: 0.02s; }
#profpage .profcontent > *:nth-child(2) { animation-delay: 0.08s; }
#profpage .profcontent > *:nth-child(3) { animation-delay: 0.14s; }
#profpage .profcontent > *:nth-child(4) { animation-delay: 0.2s; }
#profpage .profcontent > *:nth-child(5) { animation-delay: 0.26s; }
#profpage .profcontent > *:nth-child(6) { animation-delay: 0.32s; }
#profpage .profcontent > *:nth-child(7) { animation-delay: 0.38s; }
#profpage .profcontent > *:nth-child(8) { animation-delay: 0.44s; }
#profpage .profcontent > *:nth-child(n+9) { animation-delay: 0.5s; }
@keyframes profFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* امتیاز ستاره‌ای */
#profpage .rate-stars {
  direction: ltr;
  display: inline-flex;
  gap: 2px;
}
#profpage .rate-stars i {
  color: #fbbf24;
  font-size: 15px;
}
#profpage .rate-stars i.off {
  color: var(--hint-color);
  opacity: 0.35;
}

/* چیپ‌های علایق پاستلی */
#profpage .vinterests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#profpage .vinterests .interest-chip:nth-child(5n+1) { background: rgba(244, 63, 94, 0.16); color: #fb7185; }
#profpage .vinterests .interest-chip:nth-child(5n+2) { background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
#profpage .vinterests .interest-chip:nth-child(5n+3) { background: rgba(16, 185, 129, 0.16); color: #34d399; }
#profpage .vinterests .interest-chip:nth-child(5n+4) { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
#profpage .vinterests .interest-chip:nth-child(5n+5) { background: rgba(168, 85, 247, 0.16); color: #c084fc; }

/* مقدار خالی فیلد */
#profpage .is-empty {
  color: var(--hint-color);
}

/* آیکون کنار عنوان فیلدها */
#profpage .box .title i {
  font-size: 12px;
  color: var(--primary-color);
  margin-left: 6px;
  opacity: 0.8;
}

/* دکمه ارسال پیام چسبان پایین صفحه */
#profpage .sendMSG {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 472px;
  z-index: 20;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease;
}
#profpage .sendMSG:active {
  transform: translateX(-50%) scale(0.97);
}
#profpage .profcontent.hascta {
  padding-bottom: 96px;
}

/* فیدباک لمس دکمه‌های عملیات */
#profpage .actbtn:active {
  transform: scale(0.93);
  box-shadow: none;
}
#profpage .actbtn:active i {
  transform: scale(0.88);
}
#profpage .faveTgl i.red {
  animation: heartPop 0.45s ease;
}
@keyframes heartPop {
  0%   { transform: scale(0.3) rotate(-15deg); }
  55%  { transform: scale(1.4) rotate(8deg); }
  75%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* گالری: کاشی‌های هم‌اندازه، بج +N، اسکلت لودینگ، حالت خالی */
#profpage .prof-gallery .pg-item.pg-more::before {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
#profpage .prof-gallery .pg-item.pg-skel {
  pointer-events: none;
  background: linear-gradient(100deg, var(--bg-secondary) 40%, var(--bg-secondary-light) 50%, var(--bg-secondary) 60%);
  background-size: 200% 100%;
  animation: pgShimmer 1.2s infinite linear;
}
@keyframes pgShimmer {
  to { background-position: -200% 0; }
}
#profpage .prof-gallery .pg-empty {
  grid-column: 1 / -1;
  border: 2px dashed var(--border-color2);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--hint-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
#profpage .prof-gallery .pg-empty i {
  font-size: 26px;
  color: var(--primary-color);
}


/* =========================================
 * Auth shared styles (used across index/register/forget)
 * ========================================= */
.aw { min-height:100vh; display:flex; flex-direction:column; background:var(--bg-primary); }
.ah {
  position:relative; background:var(--bg-gradient);
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  padding:52px 20px 48px; text-align:center;
}
.ah::after {
  content:''; position:absolute; bottom:-1px; left:0; right:0;
  height:32px; background:var(--bg-primary); border-radius:28px 28px 0 0;
}
.ah .hl {
  width:76px; height:76px; border-radius:22px; object-fit:cover;
  border:3px solid rgba(255,255,255,.28); box-shadow:0 10px 32px rgba(0,0,0,.22); margin-bottom:14px;
}
.ah h1 { font-size:22px; font-weight:800; color:#fff; margin:0 0 6px; }
.ah p  { font-size:13px; color:rgba(255,255,255,.78); margin:0; }
.ab  { flex:1; padding:26px 20px 32px; }
.afg {
  background:var(--bg-secondary); border:1px solid var(--border-color);
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); margin-bottom:16px;
}
.af  { display:flex; align-items:center; padding:0 14px; height:56px; gap:12px; }
.af + .af { border-top:1px solid var(--border-color); }
.af .fi { color:var(--hint-color); font-size:19px; flex-shrink:0; }
.af input {
  flex:1; border:none !important; background:transparent !important;
  outline:none !important; box-shadow:none !important;
  font-size:14px; font-family:iran,sans-serif; color:var(--font-color);
  height:100%; direction:ltr; text-align:center; padding:0 !important;
}
.af input::placeholder { color:var(--hint-color) !important; font-size:13px; }
.af .tp { color:var(--hint-color); font-size:19px; cursor:pointer; padding:4px; flex-shrink:0; transition:color .2s; }
.af .tp:active { color:var(--primary-color); }
.abm {
  width:100%; height:54px; border:none; border-radius:var(--radius-lg);
  background:var(--bg-gradient); color:#fff; font-size:15px; font-weight:700;
  font-family:iran,sans-serif; cursor:pointer;
  box-shadow:0 8px 24px rgba(31, 122, 116,.28);
  transition:transform .15s, box-shadow .15s; margin-bottom:12px;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.abm:active { transform:scale(.97); box-shadow:0 4px 14px rgba(31, 122, 116,.18); }
.aar { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:22px; }
.aab {
  width:100%; height:50px; border-radius:var(--radius-md);
  background:var(--bg-secondary); font-size:13px; font-weight:600;
  font-family:iran,sans-serif; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:7px;
  transition:transform .15s;
}
.aab:active { transform:scale(.96); }
.aab.gb { border:1.5px solid rgba(34,197,94,.5); color:var(--green); }
.aab.bb { border:1.5px solid rgba(14,165,233,.5); color:var(--blue); }
.al { display:flex; align-items:center; justify-content:center; gap:7px; font-size:12px; color:var(--hint-color); }
.al input[type=checkbox] { width:16px; height:16px; accent-color:var(--primary-color); flex-shrink:0; cursor:pointer; }
.al a { color:var(--primary-color); font-weight:600; }

/* =========================================
 * Nav active pill indicator
 * ========================================= */
.navli.act .navli-content::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  background:rgba(31, 122, 116,.08);
}

/* =========================================
 * Settings page improvements
 * ========================================= */
.stbtn {
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; border-radius:var(--radius-md);
  background:var(--bg-primary); border:1px solid var(--border-color);
  margin-bottom:8px; cursor:pointer; transition:background .2s;
}
.stbtn:active { background:var(--bg-secondary); }
.stbtn.danger { border-color:rgba(239,68,68,.35); }
.stbtn.danger span { color:var(--red); }
.stbtn.danger i  { color:var(--red); }

/* =========================================
 * OTP boxes (forget.html)
 * ========================================= */
.otp-box { display:flex; gap:8px; justify-content:center; margin:14px 0; }
.otp-box input {
  width:48px; height:52px; text-align:center;
  font-size:20px; font-weight:700;
  border:2px solid var(--border-color); border-radius:12px;
  background:var(--bg-secondary); color:var(--font-color);
  outline:none; transition:border-color .2s;
}
.otp-box input:focus { border-color:var(--primary-color); }

/* =========================================
 * verify.html - digit input container
 * ========================================= */
.digit-input-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    direction: ltr;
}

.digit-input-group {
    width: 100%;
}

#cancelBtn {
    transition: all 0.2s ease;
}

#cancelBtn:hover {
    transform: translateY(-1px);
}


/* ============================================================
   Profile page — UX pass (hierarchy, spacing, type, a11y, motion)
   Scoped to #profpage / #reportModal; no JS or markup contract changes.
   ============================================================ */

/* ---- name card: readable on bright photos ---- */
#profpage .prof-glass-card {
  background: rgba(20, 10, 16, 0.42);
  border-color: rgba(255, 255, 255, 0.18);
  padding: 16px;
}
#profpage .prof-glass-card .vnamerow {
  flex-wrap: wrap;
  row-gap: 4px;
}
#profpage .prof-glass-card .vname {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#profpage .prof-glass-card .vage {
  font-size: 12px;
  padding: 4px 12px;
}
#profpage .prof-glass-card .vlsts {
  opacity: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin-top: 8px;
}
#profpage .codepill {
  position: relative;
  font-size: 12px;
  padding: 6px 12px;
  color: #fff;
}
/* extend the tap area to ~44px without changing the pill's look */
#profpage .codepill::after {
  content: "";
  position: absolute;
  inset: -8px -4px;
}

/* ---- back button: 44px, whole circle tappable, clear of the notch ---- */
#profpage .backbtn {
  width: 44px;
  height: 44px;
  top: calc(14px + env(safe-area-inset-top, 0px));
}
#profpage .backbtn i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ---- primary CTA ---- */
#profpage .sendMSG {
  font-size: 15px;
  min-height: 52px;
}

/* ---- action row: positive actions first, destructive ones set apart ---- */
#profpage .actrow {
  grid-template-columns: repeat(2, 1fr) 2px repeat(2, 1fr);
  column-gap: 8px;
  margin: 16px 0 8px;
}
#profpage .actrow .reportBtn { grid-column: 4; }
#profpage .actrow .banTgl    { grid-column: 5; }
#profpage .actrow::before {
  content: "";
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  height: 60%;
  background: var(--border-color);
  border-radius: 2px;
}
#profpage .actbtn {
  font-size: 12px;
  line-height: 1.35;
  padding: 12px 4px 10px;
  min-height: 88px;
  color: var(--font-color);
}
#profpage .actbtn.reportBtn,
#profpage .actbtn.banTgl {
  background: transparent;
  box-shadow: none;
  color: var(--font-color2);
}
#profpage .actbtn.reportBtn i {
  color: var(--font-color2);
  background: var(--bg-secondary);
}

/* ---- section rhythm on an 8px scale ---- */
#profpage .sectitle {
  font-size: 15px;
  font-weight: 700;
  margin: 32px 2px 16px;
}
#profpage .prof-gallery-head {
  margin: 32px 2px 16px;
}

/* ---- field cards: one grid, one gap ---- */
#profpage .profcontent > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
#profpage .profcontent > .row > [class*="col-"] {
  max-width: none;
  width: auto;
  padding: 0;
}
#profpage .profcontent > .row > .col-12 {
  grid-column: 1 / -1;
}
#profpage .profcontent > .row .box {
  height: 100%;
}
#profpage .box .title {
  font-size: 12px;
  font-weight: 600;
}
#profpage .box > *:not(.title) {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#profpage .box .vbio {
  font-weight: 400;
  white-space: pre-line;
}
/* "unknown" values: readable (>4.5:1) but visibly secondary */
#profpage .box .is-empty {
  color: var(--font-color2);
  font-weight: 400;
}

/* ---- report modal ---- */
#reportModal .modal-body {
  padding: 16px;
}
#reportModal .report-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--font-color);
  margin: 0 0 6px;
}
#reportModal .report-label ~ .report-label {
  margin-top: 16px;
}
#reportModal .form-control {
  font-size: 16px; /* avoids iOS zoom on focus */
  min-height: 44px;
  border-radius: var(--radius-sm);
  text-align: right;
  text-align-last: right;
}
#reportModal .report-help {
  font-size: 12px;
  color: var(--font-color2);
  margin-top: 6px;
}
#reportModal .report-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
#reportModal .report-actions .btn {
  flex: 1;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
#reportModal .report-send {
  background: var(--bg-gradient);
  color: #fff;
  border: none;
}
#reportModal .report-cancel {
  background: transparent;
  color: var(--font-color2);
  border: 1.5px solid var(--border-color);
}
#reportModal .report-close {
  width: 44px;
  height: 44px;
  margin: -8px -6px -8px 0;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  opacity: 1;
  text-shadow: none;
}

/* ---- respect reduced-motion for everything on the page ---- */
@media (prefers-reduced-motion: reduce) {
  #profpage *,
  #profpage *::before,
  #profpage *::after {
    animation: none !important;
    transition: none !important;
  }
}
