/* LAVO — profile section (ملفي). All selectors prefixed .prof- so sections cannot collide. */

/* header */
.prof-top{position:absolute;top:0;left:0;right:0;height:64px;z-index:5;animation:fadeIn .5s ease both}
.prof-title{position:absolute;top:25px;left:60px;right:60px;text-align:center;font-family:Aref;font-weight:700;font-size:17px;line-height:1.5;color:#f4ead0}
.prof-icbtn{position:absolute;top:23px;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;text-decoration:none;
 border:1px solid rgba(232,196,106,.32);background:linear-gradient(180deg,rgba(201,162,39,.05),rgba(201,162,39,.01));color:#e8c46a}
.prof-back{right:22px}
.prof-share{left:22px}

/* profile card */
.prof-card{position:absolute;top:64px;left:14px;right:14px;height:232px;border-radius:28px;overflow:hidden;z-index:4;
 border:1px solid rgba(232,196,106,.34);background:linear-gradient(180deg,#15111b,#0b0910 72%);
 box-shadow:0 18px 40px rgba(0,0,0,.45);animation:fadeUp .55s ease both}
.prof-card:before{content:'';position:absolute;inset:0;pointer-events:none;
 background:radial-gradient(56% 42% at 50% 16%,rgba(201,162,39,.26),transparent 70%),
 radial-gradient(42% 34% at 16% 62%,rgba(104,74,36,.30),transparent 70%),
 radial-gradient(44% 36% at 85% 66%,rgba(84,60,30,.34),transparent 72%);
 animation:profBlob 9s ease-in-out infinite alternate}
@keyframes profBlob{from{opacity:.75}to{opacity:1}}
.prof-bgpill{position:absolute;top:11px;right:22px;height:22px;padding:0 9px;display:flex;align-items:center;gap:5px;border-radius:11px;
 border:1px solid rgba(232,196,106,.35);background:rgba(10,8,14,.55);
 font-family:Tajawal;font-weight:700;font-size:9px;color:#e3cf9e;text-decoration:none}
.prof-ava{position:absolute;top:22px;left:50%;transform:translateX(-50%);width:126px;height:126px;border-radius:50%;padding:3px;overflow:hidden;
 background:linear-gradient(165deg,#f6e2ab,#c9a02f 42%,#8a6516 78%,#eecf92);
 animation:profAvaGlow 3.8s ease-in-out infinite}
@keyframes profAvaGlow{0%,100%{box-shadow:0 0 22px rgba(201,162,39,.22)}50%{box-shadow:0 0 38px rgba(232,196,106,.45)}}
.prof-ava img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;transform:scale(1.08);transform-origin:50% 38%}
.prof-lv{position:absolute;top:123px;left:243px;width:31px;height:34px;display:grid;place-items:center;
 clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
 background:linear-gradient(180deg,#f8e6b4,#d9ab3e 55%,#a67c1b);
 font-family:Tajawal;font-weight:800;font-size:12px;color:#2a1e06;filter:drop-shadow(0 3px 6px rgba(0,0,0,.45))}
.prof-name{position:absolute;z-index:6;top:158px;left:0;right:0;text-align:center;font-family:Amiri;font-weight:700;font-size:29px;line-height:1.5;letter-spacing:0;padding-top:6px}
.prof-chips{position:absolute;top:206px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:8px}
.prof-id{height:21px;padding:0 10px;display:flex;align-items:center;gap:5px;border-radius:11px;direction:ltr;
 border:1px solid rgba(232,196,106,.4);background:rgba(255,255,255,.04);
 font-family:Tajawal;font-weight:700;font-size:10px;color:#e8dcc0;text-decoration:none}
.prof-svip{height:21px;padding:0 10px;display:flex;align-items:center;gap:5px;border-radius:11px;direction:ltr;
 background:linear-gradient(180deg,#fbeec8,#e2bd6c 46%,#c9a02f);box-shadow:0 4px 12px rgba(201,162,39,.3);
 font-family:Tajawal;font-weight:800;font-size:10px;color:#2a1e06;text-decoration:none}

/* CP card */
.prof-cp{position:absolute;top:312px;left:30px;right:30px;height:66px;border-radius:22px;overflow:hidden;z-index:4;
 border:1px solid rgba(226,130,105,.30);background:linear-gradient(180deg,rgba(226,84,63,.08),rgba(20,14,18,.35)),#0e0a10;
 animation:fadeUp .55s ease both;animation-delay:.06s;text-decoration:none;display:block}
.prof-cp-av{position:absolute;top:12px;width:42px;height:42px;border-radius:13px;padding:2px;background:linear-gradient(160deg,#e8cd8e,#8f6d20);overflow:hidden}
.prof-cp-av img{width:100%;height:100%;border-radius:11px;object-fit:cover;display:block;transform:scale(1.4);transform-origin:50% 35%}
.prof-cp-avm{right:0}
.prof-cp-avf{right:70px}
.prof-cp-heart{position:absolute;top:26px;right:47px;width:15px;height:15px;color:#e2543f}
.prof-cp-t{position:absolute;top:12px;right:100px;font-family:Tajawal;font-weight:800;font-size:12px;color:#f3d9d0}
.prof-cp-bar{position:absolute;top:34px;left:73px;width:177px;height:5px;border-radius:3px;background:#2b2330}
.prof-cp-fill{position:absolute;top:0;right:0;height:100%;width:64%;border-radius:3px;background:linear-gradient(90deg,#e2543f,#f09a86)}
.prof-cp-sub{position:absolute;top:43px;right:120px;font-family:Tajawal;font-weight:500;font-size:9px;color:#a08d88;white-space:nowrap}
.prof-cp-lv{position:absolute;top:21px;left:-1px;height:24px;padding:0 11px;display:flex;align-items:center;gap:6px;border-radius:12px;
 background:linear-gradient(180deg,#fbeec8,#e2bd6c 46%,#c9a02f);box-shadow:0 4px 12px rgba(201,162,39,.28);
 font-family:Tajawal;font-weight:800;font-size:11px;color:#2a1e06}

/* stats */
.prof-stats{position:absolute;top:386px;left:27px;right:27px;height:46px;border-radius:18px;display:flex;align-items:center;z-index:4;
 border:1px solid rgba(214,178,94,.16);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
 animation:fadeUp .55s ease both;animation-delay:.12s}
.prof-stat{flex:1;text-align:center;position:relative;text-decoration:none;display:block}
.prof-stat+.prof-stat:before{content:'';position:absolute;inset-inline-start:0;top:50%;transform:translateY(-50%);width:1px;height:18px;
 background:linear-gradient(180deg,transparent,rgba(214,178,94,.22),transparent)}
.prof-stat b{display:block;font-family:Tajawal;font-weight:800;font-size:15px;color:#f2e6cd}
.prof-stat span{display:block;font-family:Tajawal;font-weight:500;font-size:9.5px;color:#8f8571;margin-top:3px}

/* section headers */
.prof-h2{position:absolute;left:16px;right:16px;display:flex;align-items:baseline;justify-content:space-between;z-index:4}
.prof-h2 b{font-family:Aref;font-weight:700;font-size:17px;line-height:1.4}
.prof-h2 span{font-family:Tajawal;font-weight:500;font-size:10px;color:#7d735f}
.prof-h2a{top:443px}
.prof-h2b{top:443px}

/* chairs */
.prof-chairs{position:absolute;top:466px;left:0;right:0;height:57px;z-index:4}
.prof-chair{position:absolute;top:0;width:54px;height:57px;border-radius:15px;padding:2px;text-decoration:none;
 background:linear-gradient(160deg,#e8cd8e,#8f6d20);animation:fadeUp .5s ease both}
.prof-chair .prof-cimg{position:absolute;inset:2px;border-radius:13px;overflow:hidden}
.prof-chair .prof-cimg img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.22);transform-origin:50% 18%}
.prof-chair .prof-num{position:absolute;left:-5px;bottom:-5px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;
 background:linear-gradient(180deg,#f8e6b4,#d9ab3e 60%,#a67c1b);border:1px solid #0c0a0e;
 font-family:Tajawal;font-weight:800;font-size:9px;color:#2a1e06}
.prof-c1{right:17px;animation-delay:.16s}
.prof-c2{right:77px;animation-delay:.20s}
.prof-c3{right:137px;animation-delay:.24s}
.prof-c4{right:197px;animation-delay:.28s}
.prof-c5{right:257px;animation-delay:.32s}
.prof-cadd{position:absolute;top:0;left:59px;width:54px;height:57px;border-radius:15px;display:grid;place-items:center;text-decoration:none;
 border:1.5px dashed rgba(232,196,106,.45);background:rgba(255,255,255,.02);color:#e8c46a;animation:fadeUp .5s ease both;animation-delay:.36s}

/* services */
.prof-svc{position:absolute;left:16px;right:16px;height:91px;display:flex;gap:11px;z-index:4}
.prof-svc1{top:469px}
.prof-svc2{top:571px}
.prof-tile{position:relative;flex:1;border-radius:18px;display:flex;flex-direction:column;align-items:center;text-decoration:none;
 border:1px solid rgba(214,178,94,.16);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
 animation:fadeUp .55s ease both}
.prof-svc1 .prof-tile:nth-child(1){animation-delay:.22s}
.prof-svc1 .prof-tile:nth-child(2){animation-delay:.26s}
.prof-svc1 .prof-tile:nth-child(3){animation-delay:.30s}
.prof-svc2 .prof-tile:nth-child(1){animation-delay:.34s}
.prof-svc2 .prof-tile:nth-child(2){animation-delay:.38s}
.prof-svc2 .prof-tile:nth-child(3){animation-delay:.42s}
.prof-ticon{margin-top:19px;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#eccf8e;
 background:rgba(201,162,39,.10);border:1px solid rgba(214,178,94,.28)}
.prof-tlabel{margin-top:8px;font-family:Tajawal;font-weight:700;font-size:11px;color:#e8dcc2}
.prof-tile-gold{background:linear-gradient(180deg,rgba(201,162,39,.24),rgba(201,162,39,.07))!important;border-color:rgba(232,196,106,.5)}
.prof-tbadge{position:absolute;top:10px;left:9px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;display:grid;place-items:center;
 background:linear-gradient(180deg,#f8e6b4,#d9ab3e 60%,#a67c1b);
 font-family:Tajawal;font-weight:800;font-size:9px;color:#2a1e06;animation:badgePulse 2.8s ease-in-out infinite}
.prof-ttag{position:absolute;top:11px;left:9px;height:15px;padding:0 7px;border-radius:8px;display:grid;place-items:center;
 border:1px solid rgba(232,196,106,.5);background:rgba(201,162,39,.12);
 font-family:Tajawal;font-weight:700;font-size:8px;color:#ecd28f}

/* gift banner */
.prof-gift{position:absolute;top:758px;left:30px;right:30px;height:66px;border-radius:22px;display:block;text-decoration:none;z-index:4;
 border:1px solid rgba(214,178,94,.34);
 background:radial-gradient(70% 130% at 92% 50%,rgba(201,162,39,.30),transparent 62%),linear-gradient(100deg,#241a0c,#120e08 62%);
 box-shadow:0 14px 30px rgba(0,0,0,.4);animation:fadeUp .55s ease both;animation-delay:.46s,breathe 5s ease-in-out infinite 1s}
.prof-gift img{position:absolute;top:5px;right:2px;height:56px;width:66px;object-fit:contain;mix-blend-mode:screen}
.prof-gift-t{position:absolute;top:14px;right:66px;font-family:Aref;font-weight:700;font-size:17px;line-height:1.4;color:#f7e6bd}
.prof-gift-s{position:absolute;top:43px;right:66px;font-family:Tajawal;font-weight:500;font-size:9px;color:#a99b80}
.prof-gift-chev{position:absolute;top:19px;left:12px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;
 border:1px solid rgba(232,196,106,.45);color:#e8c46a;background:rgba(201,162,39,.06)}

/* ---------- interactive layer (sheets, overlays, state) ---------- */
.prof-backdrop{position:absolute;inset:0;z-index:8;background:rgba(4,3,7,.62);opacity:0;pointer-events:none;transition:opacity .28s}
.prof-backdrop.open{opacity:1;pointer-events:auto}
.prof-sheet{position:absolute;left:0;right:0;bottom:0;z-index:9;max-height:78%;display:flex;flex-direction:column;
 border-radius:26px 26px 0 0;border-top:1px solid rgba(232,196,106,.35);
 background:linear-gradient(180deg,#17121e,#0b0910 40%);box-shadow:0 -18px 44px rgba(0,0,0,.55);
 transform:translateY(103%);transition:transform .32s cubic-bezier(.2,.8,.25,1)}
.prof-sheet.open{transform:translateY(0)}
.prof-sheet-grab{width:38px;height:4px;border-radius:2px;background:rgba(232,196,106,.35);margin:10px auto 4px}
.prof-sheet-t{text-align:center;font-family:Aref;font-weight:700;font-size:17px;color:#f0dfa8;padding:2px 20px 10px}
.prof-sheet-b{overflow-y:auto;padding:2px 20px 26px;scrollbar-width:none}
.prof-sheet-b::-webkit-scrollbar{display:none}
.prof-x{position:absolute;top:14px;left:14px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
 border:1px solid rgba(232,196,106,.35);background:rgba(201,162,39,.06);color:#e8c46a;cursor:pointer;z-index:2}

.prof-row{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid rgba(214,178,94,.09)}
.prof-row:last-child{border-bottom:0}
.prof-row-av{width:38px;height:38px;border-radius:12px;padding:1.5px;background:linear-gradient(160deg,#e8cd8e,#8f6d20);flex:none}
.prof-row-av img{width:100%;height:100%;border-radius:10px;object-fit:cover;display:block}
.prof-row-m{flex:1;min-width:0}
.prof-row-m b{display:block;font-family:Tajawal;font-weight:700;font-size:12px;color:#f2e6cd}
.prof-row-m span{display:block;font-family:Tajawal;font-weight:500;font-size:10px;color:#8f8571;margin-top:2px}
.prof-mini{flex:none;height:28px;padding:0 13px;border-radius:14px;display:grid;place-items:center;cursor:pointer;
 font-family:Tajawal;font-weight:700;font-size:10px;color:#f0dcaa;background:rgba(201,162,39,.14);border:1px solid rgba(214,178,94,.4)}
.prof-mini:active{transform:scale(.95)}

.prof-cta{display:block;width:100%;height:42px;margin-top:14px;border:0;border-radius:16px;cursor:pointer;
 font-family:Tajawal;font-weight:800;font-size:13px;color:#2a1e06;
 background:linear-gradient(180deg,#fbeec8,#e2bd6c 46%,#c9a02f);box-shadow:0 8px 20px rgba(201,162,39,.24)}
.prof-cta:active{transform:scale(.98)}
.prof-ghost{display:block;width:100%;height:38px;margin-top:9px;border-radius:15px;cursor:pointer;
 font-family:Tajawal;font-weight:700;font-size:11.5px;color:#d9c79d;background:rgba(201,162,39,.07);border:1px solid rgba(214,178,94,.22)}

.prof-swrow{display:flex;align-items:center;justify-content:space-between;padding:12px 2px;border-bottom:1px solid rgba(214,178,94,.09)}
.prof-swrow:last-child{border-bottom:0}
.prof-swrow b{font-family:Tajawal;font-weight:700;font-size:12.5px;color:#f2e6cd}
.prof-swrow span{display:block;font-family:Tajawal;font-weight:500;font-size:9.5px;color:#8f8571;margin-top:2px}
.prof-sw{position:relative;width:42px;height:24px;border-radius:12px;flex:none;cursor:pointer;
 background:rgba(255,255,255,.08);border:1px solid rgba(214,178,94,.25);transition:background .25s}
.prof-sw i{position:absolute;top:2px;inset-inline-start:2px;width:18px;height:18px;border-radius:50%;background:#8d8371;transition:all .25s}
.prof-sw.on{background:rgba(201,162,39,.35);border-color:rgba(232,196,106,.6)}
.prof-sw.on i{inset-inline-start:20px;background:linear-gradient(180deg,#fbeec8,#d9ab3e)}

.prof-pkgs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:6px}
.prof-pkg{position:relative;border-radius:16px;padding:13px 10px;text-align:center;cursor:pointer;
 border:1px solid rgba(214,178,94,.2);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012))}
.prof-pkg.sel{border-color:rgba(232,196,106,.65);box-shadow:0 0 0 1px rgba(232,196,106,.25),0 0 18px rgba(201,162,39,.18)}
.prof-pkg b{display:flex;align-items:center;justify-content:center;gap:6px;font-family:Tajawal;font-weight:800;font-size:15px;color:#f0dcaa}
.prof-pkg span{display:block;font-family:Tajawal;font-weight:500;font-size:9.5px;color:#8f8571;margin-top:4px}
.prof-coin{width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9a8,#c99a2b 70%,#8a6516)}

.prof-perk{display:flex;align-items:center;gap:9px;padding:8px 2px;border-bottom:1px solid rgba(214,178,94,.08);
 font-family:Tajawal;font-weight:500;font-size:11.5px;color:#e8dcc2}
.prof-perk:last-child{border-bottom:0}
.prof-perk svg{flex:none;color:#e8c46a}

.prof-viewer{position:absolute;inset:0;z-index:10;display:grid;place-items:center;background:rgba(4,3,7,.9);
 opacity:0;pointer-events:none;transition:opacity .3s}
.prof-viewer.open{opacity:1;pointer-events:auto}
.prof-viewer figure{margin:0;text-align:center}
.prof-viewer img{width:300px;height:300px;border-radius:34px;object-fit:cover;
 border:2px solid rgba(232,196,106,.55);box-shadow:0 0 60px rgba(201,162,39,.3)}
.prof-viewer figcaption{margin-top:14px;font-family:Aref;font-weight:700;font-size:22px;color:#f0dfa8}

.prof-cphead{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 0 4px}
.prof-cphead .prof-row-av{width:52px;height:52px;border-radius:16px}
.prof-cphead .prof-row-av img{border-radius:14px}
.prof-cpbar2{height:6px;border-radius:3px;background:#2b2330;margin:12px 2px 6px;position:relative}
.prof-cpbar2 i{position:absolute;top:0;right:0;height:100%;width:64%;border-radius:3px;background:linear-gradient(90deg,#e2543f,#f09a86)}
.prof-cpmeta{display:flex;justify-content:space-between;font-family:Tajawal;font-weight:500;font-size:9.5px;color:#a08d88;padding:0 2px}

.prof-empty{position:relative;width:54px;height:57px;border-radius:15px;display:grid;place-items:center;
 border:1.5px dashed rgba(232,196,106,.3);background:rgba(255,255,255,.015);
 font-family:Tajawal;font-weight:500;font-size:8.5px;color:#6f6656;text-align:center}
.prof-chair .prof-mute{position:absolute;top:-5px;right:-5px;width:16px;height:16px;border-radius:50%;display:none;place-items:center;
 background:#3a1620;border:1px solid rgba(226,84,63,.6);color:#f09a86;z-index:2}
.prof-chair.muted .prof-mute{display:grid}
.prof-chair.muted .prof-cimg{filter:grayscale(.6) brightness(.75)}

@media (prefers-reduced-motion: reduce){.prof-sheet,.prof-backdrop,.prof-viewer,.prof-sw,.prof-sw i{transition:none!important}}

/* bg themes cycled by the خلفية متحركة pill */
.prof-card.prof-bg1:before{background:radial-gradient(56% 42% at 50% 16%,rgba(201,80,60,.26),transparent 70%),
 radial-gradient(42% 34% at 16% 62%,rgba(120,50,40,.30),transparent 70%),
 radial-gradient(44% 36% at 85% 66%,rgba(96,40,36,.34),transparent 72%)}
.prof-card.prof-bg2:before{background:radial-gradient(56% 42% at 50% 16%,rgba(140,110,220,.24),transparent 70%),
 radial-gradient(42% 34% at 16% 62%,rgba(80,60,140,.28),transparent 70%),
 radial-gradient(44% 36% at 85% 66%,rgba(60,48,110,.32),transparent 72%)}
.prof-card.prof-noanim:before{animation:none}
.prof-chairs{overflow-x:auto;scrollbar-width:none;direction:rtl}
.prof-chairs::-webkit-scrollbar{display:none}
.prof-chairs-in{position:relative;height:57px;width:398px}

.scroll{padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 28px)!important}

/* ---------- narrow phones (360-400px): CP card, stats, services ---------- */
@media (max-width:400px){
 .prof-cp{top:306px!important;height:144px!important;min-height:0!important;border-radius:26px!important;overflow:visible!important;
  border:1px solid rgba(232,196,106,.30)!important;
  background:radial-gradient(60% 92% at 50% 0%,rgba(226,84,63,.16),transparent 68%),
   radial-gradient(72% 120% at 50% 122%,rgba(201,162,39,.10),transparent 70%),
   linear-gradient(180deg,#17111c,#0a0810 78%)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05)!important}
 .prof-cp-av{top:16px!important;right:auto!important;left:auto!important;width:62px!important;height:62px!important;border-radius:50%!important;padding:2.5px!important;
  background:linear-gradient(160deg,#f6e2ab,#c9a02f 45%,#8a6516 80%,#eecf92)!important;box-shadow:0 8px 20px rgba(0,0,0,.45)!important}
 .prof-cp-av img{border-radius:50%!important;transform:scale(1.15)!important}
 .prof-cp-avm{left:74px!important}
 .prof-cp-avf{left:164px!important}
 .prof-cp-heart{top:36px!important;right:auto!important;left:138px!important;width:24px!important;height:24px!important;color:#f2c75c!important;
  filter:drop-shadow(0 3px 9px rgba(242,199,92,.55));animation:cpHeart 2.6s ease-in-out infinite}
 .prof-cp-heart svg{width:24px!important;height:24px!important}
 .prof-cp-t{top:88px!important;left:0!important;right:0!important;text-align:center!important;font-family:Aref!important;font-size:15px!important;color:#f7e6bd!important}
 .prof-cp-bar{top:116px!important;left:34px!important;right:34px!important;width:auto!important;height:6px!important;border-radius:4px!important;
  background:rgba(255,255,255,.07)!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.6)}
 .prof-cp-fill{background:linear-gradient(90deg,#e2543f,#f5b48c)!important;box-shadow:0 0 12px rgba(240,154,134,.55)}
 .prof-cp-sub{top:127px!important;left:0!important;right:0!important;text-align:center!important;font-size:9.5px!important;color:#b5a291!important}
 .prof-cp-lv{display:none!important}
 .prof-stats{top:464px!important;height:44px!important}
 .prof-h2b{top:521px!important}
 .prof-svc1{top:545px!important}
 .prof-svc2{top:637px!important}
 .prof-svc{height:80px!important;gap:8px!important}
 .prof-tile{border-radius:16px!important}
 .prof-ticon{width:28px!important;height:28px!important;margin-top:13px!important;border-radius:9px!important}
 .prof-ticon svg{width:15px!important;height:15px!important}
 .prof-tlabel{font-size:10.5px!important;margin-top:6px!important}
 .prof-gift{top:731px!important}
}
@keyframes cpHeart{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
