/* =====================================================================================================
   PAGINA DE PROFIL (pag/profile.php) PE MOBIL, varianta C "etichete si sectiuni" (24.11.2026)
   Se incarca doar pe profil, dupa css/mobile.css. Aceleasi date si aceleasi linkuri; pe desktop ascunde doar banda noua.
   Regulile cu .profil-mobil se aplica dupa ce js/profil-mobil.js a pregatit pagina (altfel ramane aspectul dinainte).
   ===================================================================================================== */
#layout #profil-coperta {
	display:none;}

@media only screen and (max-width:768px) {

/* ---------->>> butoanele: Trimite mesaj, Chat (online), Cadou, impreuna, fixe deasupra barei <<<-----------*/
#layout #main:has(#profile-top) #profile-right {
	position:fixed;
	left:0;
	right:0;
	bottom:var(--bara-h);
	z-index:30;
	max-width:none;
	width:auto;
	display:flex;
	gap:8px;
	margin:0;
	padding:10px 16px;
	background:#FFF;
	border-top:1px solid var(--m-line);}
#layout #main:has(#profile-top)::after {
	content:none;}
#layout #main:has(#profile-top) :is(#btn-message, #btn-chat, #btn-gift) {
	position:static;
	width:auto;
	padding:0;
	background:none;}
#layout #main:has(#profile-top) #btn-message {
	flex:1;
	order:1;
	min-width:0;}
#layout #main:has(#profile-top) #btn-chat {
	order:2;}
#layout #main:has(#profile-top) #btn-gift {
	order:3;}
#layout #main:has(#profile-top) :is(#btn-message, #btn-chat, #btn-gift) a {
	display:flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	height:50px;
	padding:0 14px;
	box-sizing:border-box;
	line-height:1.2;
	white-space:nowrap;}
#layout #main:has(#profile-top) :is(#btn-message, #btn-chat, #btn-gift) a::before {
	content:"";
	flex:none;
	width:21px;
	height:21px;
	background:currentColor;
	-webkit-mask:var(--ic) center / contain no-repeat;
	mask:var(--ic) center / contain no-repeat;}
#btn-message a {
	--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");}
#btn-chat a {
	--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 21l1.9-5.4A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");}
/* cadoul: doar iconita (textul ramane pentru cititoarele de ecran) */
#layout #main:has(#profile-top) #btn-gift a {
	--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='5' rx='1'/%3E%3Cpath d='M5 13v8h14v-8M12 8v13M12 8c-1.5-3.5-6-4-6-1.5S9 8 12 8zm0 0c1.5-3.5 6-4 6-1.5S15 8 12 8z'/%3E%3C/svg%3E");
	gap:0;
	width:52px;
	padding:0;
	font-size:0;
	color:var(--m-red);}
#layout #main:has(#profile-top) #main-content {
	padding-bottom:24px;}
html body:has(#profile-top) {
	padding-bottom:calc(var(--bara-h) + 78px);}

/* ---------->>> poza mare cu banda <<<-----------*/
.profil-mobil #layout #profil-coperta {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	padding:76px 16px 16px 16px;
	font-size:15px;
	line-height:1.4;
	color:#FFF;
	background:linear-gradient(0deg, rgba(11,28,43,.92) 0, rgba(11,28,43,.68) 96px, rgba(11,28,43,0) 100%);
	pointer-events:none;}
#layout #profil-coperta .coperta-nume {
	font-size:26px;
	font-weight:700;
	line-height:1.2;
	overflow-wrap:anywhere;}
#layout #profil-coperta .coperta-vip {
	margin-bottom:6px;
	padding:3px 10px;
	font-size:13px;
	font-weight:700;
	background:var(--m-red);
	border-radius:8px;}
#layout #profil-coperta .coperta-stare i {
	display:inline-block;
	width:10px;
	height:10px;
	margin-right:6px;
	border-radius:50%;
	background:#3CCF6E;}
#layout .coperta-nr {
	position:absolute;
	top:14px;
	right:14px;
	padding:3px 11px;
	font-size:13px;
	font-weight:600;
	color:#FFF;
	background:rgba(31,36,48,.8);
	border-radius:12px;
	pointer-events:none;}
.profil-mobil .m-dots {
	display:none;}
.profil-mobil .m-back {
	width:44px;
	height:44px;}
.profil-mobil #layout .m-slides img[src$=".png"] {
	object-fit:contain;
	padding:24px 0 130px 0;
	box-sizing:border-box;
	background:none !important;
	mix-blend-mode:multiply;}       /* fondul alb al siluetei se pierde in roz */
.profil-mobil .m-slides {
	background:#F4DDE4;}
/* numele si datele sunt pe poza: H1 ramane doar pentru cititoarele de ecran si Google */
.profil-mobil #layout #main-content > #profile-title {
	position:absolute;
	width:1px;
	height:1px;
	margin:0;
	overflow:hidden;
	clip-path:inset(50%);}
.profil-mobil #profile-top .middle p.vip, .profil-mobil #profile-top .middle p.desc:not(:has(a)) {
	display:none;}
/* toate pozele sunt deja in galerie */
.profil-mobil #layout #profile-menu {
	display:none;}

/* ---------->>> descrierea, linkul orasului, Salveaza / Blocheaza <<<-----------*/
.profil-mobil #layout #profile-top .middle {
	display:flex;
	flex-direction:column;
	margin-top:2px;}
.profil-mobil #layout #profile-top p.description {
	margin:14px 0 8px 0;
	font-size:17px;
	overflow-wrap:anywhere;}
.profil-mobil #layout #profile-top p.desc:has(a) {
	order:2;}
.profil-mobil #layout #main-content > #profile-subtitle {
	display:flex;
	flex-wrap:wrap;
	gap:0 20px;
	margin:6px 0 0 0;
	font-size:0;}
.profil-mobil #layout #profile-subtitle a {
	display:flex;
	align-items:center;
	gap:7px;
	min-height:44px;
	font-size:15px;
	color:var(--m-muted);
	text-decoration:none;}
.profil-mobil #layout #profile-subtitle a::before {
	content:"";
	width:19px;
	height:19px;
	background:currentColor;
	-webkit-mask:var(--ic) center / contain no-repeat;
	mask:var(--ic) center / contain no-repeat;
	--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E");}
.profil-mobil #layout #profile-subtitle a:last-of-type::before {
	--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");}

/* ---------->>> detaliile ca etichete <<<-----------*/
.profil-mobil #layout #profile-module #account-modul-body {
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin:0 0 14px 0;}
.profil-mobil #layout #profile-module #account-modul-body[hidden] {
	display:none;}
.profil-mobil #layout #account-modul-body > .details, .profil-mobil #layout #account-modul-body > .lastabout {
	display:inline-flex;
	justify-content:flex-start;
	align-items:baseline;
	flex-wrap:wrap;
	gap:0 6px;
	padding:8px 14px;
	border:0;
	border-radius:20px;
	background:var(--m-blush);}
.profil-mobil #layout #account-modul-body :is(label, p) {
	flex:none;
	max-width:100%;
	margin:0;
	font-size:15px;
	line-height:1.35;
	text-align:left;}
.profil-mobil #layout #account-modul-body p {
	font-weight:600;}
/* "Sunt aici pentru" */
.profil-mobil #layout #account-modul-body > .firstabout {
	display:block;
	width:100%;
	padding:0 0 8px 0;
	border:0;}
.profil-mobil #layout #account-modul-body > .firstabout label {
	display:block;
	margin-bottom:8px;
	padding-bottom:0;}
.profil-mobil #layout #account-modul-body > .firstabout p {
	display:flex;
	flex-wrap:wrap;
	gap:8px;}
.profil-mobil #layout .firstabout p span {
	padding:8px 14px;
	font-weight:500;
	color:#FFF;
	background:#0B3A5B;
	border-radius:20px;}

/* ---------->>> Personalitate si Ce caut: se deschid la apasare <<<-----------*/
.profil-mobil #layout #profile-module #profile-modul-title {
	margin:20px 0 10px 0;}
.profil-mobil #layout #profile-module #profile-modul-title:has(button) {
	margin:0;
	border-top:1px solid var(--m-line);}
.profil-mobil #layout #profile-module h3 button {
	display:flex;
	align-items:center;
	justify-content:space-between;
	width:100%;
	min-height:56px;
	padding:0 4px 0 0;
	font-size:18px;
	font-weight:700;
	text-align:left;
	color:var(--m-ink);
	background:none;
	border:0;}
.profil-mobil #layout #profile-module h3 button::after {
	content:"";
	width:9px;
	height:9px;
	margin-top:-5px;
	border:solid var(--m-rose);
	border-width:0 2.5px 2.5px 0;
	transform:rotate(45deg);}
.profil-mobil #layout #profile-module h3 button[aria-expanded=true]::after {
	margin-top:5px;
	transform:rotate(225deg);}
.profil-mobil #layout #account-modul-body.intrebari > .details {
	display:block;
	width:100%;
	padding:0 0 6px 0;
	background:none;}
.profil-mobil #layout #account-modul-body.intrebari label {
	display:block;}
.profil-mobil #layout #profile-module h3 button:focus-visible, .profil-mobil #layout #profile-subtitle a:focus-visible,
#profile-right a:focus-visible {
	outline:3px solid #2A7DB8;
	outline-offset:2px;}
}
