:root{
  --bg:#08101d;
  --bg-2:#0d1830;
  --surface:#0f1b31;
  --surface-2:#132544;
  --stroke:rgba(255,255,255,.08);
  --text:#f8fbff;
  --muted:#9eb0c9;
  --blue:#4da3ff;
  --blue-2:#1d5ee0;
  --shadow:0 18px 44px rgba(0,0,0,.28);
  --radius:24px;
}
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  min-height:100%;
  background:
    radial-gradient(circle at top, #11203d 0%, var(--bg) 34%, #060b14 100%);
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI","Noto Sans Arabic","Tajawal",sans-serif;
}
button,input{font:inherit}
.hidden{display:none !important}

.site-shell{
  width:min(980px,100%);
  margin:0 auto;
  padding:14px 12px 24px;
}

.hero-card{
  margin:6px 0 12px;
  padding:16px 14px;
  border-radius:22px;
  background:
    linear-gradient(135deg, rgba(12,26,48,.96), rgba(21,58,102,.96)),
    radial-gradient(circle at 20% 20%, rgba(77,163,255,.12), transparent 30%);
  border:1px solid var(--stroke);
  box-shadow:0 14px 34px rgba(0,0,0,.32), inset 0 0 24px rgba(255,255,255,.03);
  text-align:center;
}
.hero-title{
  margin:0;
  font-size:22px;
  line-height:1.5;
  font-weight:800;
}
.hero-sub{
  margin:6px 0 0;
  color:#bfd0ea;
  font-size:13px;
  line-height:1.8;
}
.highlight{
  color:#57adff;
  text-shadow:0 0 8px rgba(87,173,255,.65),0 0 18px rgba(87,173,255,.35);
}

.search-block{
  margin:0 0 16px;
}
.search-field{
  display:flex;
  align-items:center;
  gap:10px;
  height:58px;
  padding:0 18px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(14,30,53,.96), rgba(12,26,46,.96));
  border:1px solid var(--stroke);
  box-shadow:0 10px 24px rgba(0,0,0,.20);
}
.search-icon{
  color:#9fb7d7;
  font-size:15px;
}
.search-field input{
  width:100%;
  background:transparent;
  border:0;
  outline:none;
  color:#fff;
  font-size:16px;
}
.search-field input::placeholder{color:#aab9d1}

.card-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.card{
  position:relative;
  min-height:160px;
  height:170px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  background:#09111f;
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:active{transform:scale(.985)}
.card-bg,
.card-bg-empty,
.card-bg-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.card-bg-empty{
  background:
    linear-gradient(180deg, rgba(25,46,78,.55), rgba(9,17,31,.95)),
    radial-gradient(circle at top, rgba(77,163,255,.20), transparent 30%);
}
.card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(4,8,15,.84) 0%,rgba(4,8,15,.28) 48%,rgba(4,8,15,.06) 100%);
}
.card-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:100%;
  padding:16px;
}
.card-top{display:flex;justify-content:flex-start}
.play-btn{width:42px;height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(8,16,31,.34);
  backdrop-filter:blur(4px);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:18px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.26);
}
.card.playing .play-btn{
  background:rgba(77,163,255,.92);
  border-color:rgba(255,255,255,.24);
}
.card-bottom{
  text-align:center;
  padding-top:12px;
}
.card-title{
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.card-performer{
  margin-top:6px;
  font-size:13px;
  color:#d1dced;
}
.card-actions{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:14px;
}
.small-btn{
  border-radius:14px;
  padding:9px 12px;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  min-width:88px;
}
.small-btn.primary{
  background:linear-gradient(180deg,var(--blue),var(--blue-2));
  border-color:transparent;
  color:#fff;
}
.empty-state{
  text-align:center;
  padding:22px 0;
  color:var(--muted);
}
.empty-state strong{display:block;color:#fff;margin-bottom:6px}

.modal{
  position:fixed;
  inset:0;
  z-index:1000;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,8,14,.72);
  backdrop-filter:blur(4px);
}
.modal-card{
  position:relative;
  z-index:1;
  width:min(720px,calc(100% - 20px));
  margin:30px auto 0;
  border-radius:24px;
  background:linear-gradient(180deg,#0f1b31,#12203a);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid var(--stroke);
}
.modal-title{font-weight:900}
.icon-btn{
  width:40px;height:40px;border-radius:12px;border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);color:#fff;cursor:pointer;
}
.modal-body{padding:16px}
.tone-modal-media{
  margin-bottom:14px;
  border-radius:20px;
  overflow:hidden;
  background:#0a1322;
}
.tone-modal-media img{
  display:block;
  width:100%;
  height:240px;
  object-fit:cover;
}
.name-dua-modal-surface{
  min-height:160px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:
    linear-gradient(135deg, rgba(12,26,48,.96), rgba(21,58,102,.96)),
    radial-gradient(circle at top, rgba(77,163,255,.16), transparent 30%);
  text-align:center;
  padding:20px;
}
.name-dua-modal-label{
  color:#bfd0ea;
  font-size:13px;
}
.name-dua-modal-title{
  font-size:24px;
  font-weight:900;
}
.modal-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:12px;
}
.carriers{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.carrier-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:10px 12px;
}
.c-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.c-left img{
  width:38px;
  height:38px;
  border-radius:10px;
  object-fit:contain;
  background:#fff;
  padding:4px;
}
.c-name{font-weight:800}
.c-sub{
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}
.c-btn{
  border:0;
  border-radius:14px;
  min-width:86px;
  padding:10px 12px;
  font-size:12px;
  font-weight:800;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(180deg,var(--blue),var(--blue-2));
}
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:#12203a;
  color:#fff;
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:10px 14px;
  z-index:1200;
  box-shadow:var(--shadow);
}
@media (max-width:640px){
  .site-shell{padding:12px 10px 22px}
  .hero-title{font-size:22px}
  .hero-sub{font-size:12px}
  .search-field{height:56px}
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .card{min-height:160px;height:170px}
  .modal-card{margin-top:16px}
  .tone-modal-media img{height:200px}
  .carrier-row{flex-direction:column;align-items:stretch}
  .c-btn{width:100%}
}


/* Smart grid polish */
.card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,.35);
}


/* Smart responsive card sizing */
.card-content{
  padding:12px !important;
}
.card-title{
  font-size:15px !important;
}
.card-performer{
  margin-top:5px !important;
  font-size:12px !important;
}
.small-btn{
  padding:8px 10px !important;
  font-size:11px !important;
  min-width:76px !important;
}
.play-btn{
  width:42px !important;
  height:42px !important;
  font-size:16px !important;
}

@media (min-width:700px){
  .card-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:14px !important;
  }
  .card{
    min-height:185px !important;
    height:195px !important;
  }
}

@media (min-width:1024px){
  .site-shell{
    width:min(1180px, 100%) !important;
  }
  .card-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:16px !important;
  }
  .card{
    min-height:210px !important;
    height:220px !important;
  }
  .card-title{
    font-size:16px !important;
  }
}

@media (max-width:380px){
  .card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }
  .card{
    min-height:150px !important;
    height:160px !important;
  }
  .card-title{
    font-size:14px !important;
  }
  .small-btn{
    font-size:10px !important;
    min-width:70px !important;
  }
}


/* Pixel Perfect details modal */
.modal{
  position:fixed;
  inset:0;
  z-index:1000;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,8,14,.74);
  backdrop-filter:blur(4px);
}
.modal-card{
  position:relative;
  z-index:1;
  width:min(690px, calc(100% - 12px));
  margin:16px auto 0;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(22,38,66,.99), rgba(11,22,42,.99));
  box-shadow:0 26px 64px rgba(0,0,0,.38);
  max-height:calc(100dvh - 32px);
  display:flex;
  flex-direction:column;
}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 18px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
  flex:0 0 auto;
}
.modal-title{
  font-size:18px;
  font-weight:900;
}
.icon-btn{
  width:64px;
  height:64px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:30px;
  cursor:pointer;
}
.modal-body{
  padding:16px 16px 20px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  flex:1 1 auto;
}
.detail-hero{
  position:relative;
  margin-bottom:18px;
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(135deg, rgba(21,50,94,.96), rgba(9,18,34,.98));
  min-height:320px;
}
.detail-hero-image{
  display:block;
  width:100%;
  height:360px;
  object-fit:cover;
}
.detail-hero-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
}
.detail-fallback-inner{
  min-height:320px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  padding:28px 16px;
}
.detail-fallback-label{
  color:#d6e2f5;
  font-size:13px;
}
.detail-fallback-title{
  font-size:28px;
  font-weight:900;
  line-height:1.35;
}
.detail-share-btn{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  width:54px;
  height:54px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(7,16,31,.42);
  color:#fff;
  font-size:26px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.detail-play-btn{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  z-index:2;
  width:146px;
  height:146px;
  border-radius:999px;
  border:6px solid rgba(255,255,255,.88);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:66px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.detail-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:18px;
  padding:16px 18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
  color:#eef4ff;
  text-align:center;
  font-size:15px;
  font-weight:800;
}
.detail-note-icon{
  color:#b9d5ff;
  font-size:22px;
}
.detail-company-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.detail-company{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:22px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.detail-company-logo{
  width:60px;
  height:60px;
  flex:0 0 60px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.detail-company-logo img{
  width:60px;
  height:60px;
  border-radius:16px;
  background:#fff;
  padding:6px;
  object-fit:contain;
}
.detail-company-meta{
  flex:1 1 auto;
  min-width:0;
  text-align:right;
}
.detail-company-name{
  font-size:18px;
  font-weight:800;
  line-height:1.2;
  margin-bottom:6px;
}
.detail-company-line{
  font-size:14px;
  color:#cfd8e6;
  line-height:1.5;
}
.detail-company-btn{
  width:110px;
  min-width:110px;
  height:48px;
  border-radius:14px;
  background:transparent;
  font-size:16px;
  font-weight:700;
  color:#fff;
  cursor:pointer;
  border:2px solid rgba(255,255,255,.18);
}
.theme-red .detail-company-btn{ border-color:#ff7a7a; }
.theme-blue .detail-company-btn{ border-color:#6fa5ff; }
.theme-yellow .detail-company-btn{ border-color:#f3d36b; }

@media (max-width:640px){
  .modal-card{
    width:min(100% - 10px, 690px);
    margin:12px auto 0;
    max-height:calc(100dvh - 24px);
    border-radius:30px;
  }
  .modal-head{
    padding:16px 16px 14px;
  }
  .modal-title{ font-size:17px; }
  .icon-btn{
    width:58px;
    height:58px;
    border-radius:20px;
    font-size:28px;
  }
  .modal-body{ padding:14px 14px 18px; }
  .detail-hero{ min-height:280px; border-radius:28px; }
  .detail-hero-image{ height:300px; }
  .detail-fallback-inner{ min-height:280px; }
  .detail-fallback-title{ font-size:26px; }
  .detail-share-btn{
    width:48px; height:48px; border-radius:16px; font-size:24px; top:16px; left:16px;
  }
  .detail-play-btn{
    width:126px; height:126px; font-size:56px; border-width:5px;
  }
  .detail-note{
    font-size:14px; padding:14px 14px; border-radius:22px;
  }
  .detail-company{
    gap:10px;
    padding:13px;
    border-radius:20px;
  }
  .detail-company-logo{
    width:52px; height:52px; flex-basis:52px;
  }
  .detail-company-logo img{
    width:52px; height:52px; border-radius:14px; padding:5px;
  }
  .detail-company-name{
    font-size:16px;
    margin-bottom:4px;
  }
  .detail-company-line{
    font-size:13px;
    line-height:1.45;
  }
  .detail-company-btn{
    width:96px;
    min-width:96px;
    height:44px;
    border-radius:12px;
    font-size:15px;
  }
}


/* Final details cleanup */
.detail-share-btn,
.detail-play-btn{
  display:none !important;
}
.detail-hero{
  min-height:auto !important;
}
.detail-hero-image{
  height:240px !important;
}
.detail-hero-fallback{
  min-height:220px !important;
}
.detail-fallback-inner{
  min-height:220px !important;
}

@media (max-width:640px){
  .detail-hero-image{
    height:210px !important;
  }
  .detail-hero-fallback,
  .detail-fallback-inner{
    min-height:190px !important;
  }
}


/* Play button active state */
.play-btn{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.card.playing .play-btn{
  background:linear-gradient(180deg,#67b0ff,#2b73f0) !important;
  border-color:rgba(255,255,255,.28) !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(43,115,240,.32) !important;
}
.card.playing{
  box-shadow:0 18px 36px rgba(33,94,210,.18), 0 14px 34px rgba(0,0,0,.26) !important;
}


/* Empty state contact suggestion */
.empty-state{
  text-align:center;
}
.empty-actions{
  margin-top:12px;
}
.empty-whatsapp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  background:linear-gradient(180deg,#25D366,#1fa955);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(31,169,85,.25);
}
.empty-query-note{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
}



/* No-images clean fallback */
.name-fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  border-radius:20px;
  text-align:center;
  background:
    linear-gradient(135deg, rgba(27,60,107,.95), rgba(11,30,54,.98));
  box-shadow: inset 0 0 40px rgba(255,255,255,0.05);
}
.name-fallback-title{
  font-size:21px;
  font-weight:900;
  color:#ffffff;
  line-height:1.45;
}
@media (max-width:640px){
  .name-fallback-title{
    font-size:19px;
  }
}


/* Hide duplicate text on cards without images */
.card.no-image .card-bottom .card-title,
.card.no-image .card-bottom .card-performer{
  display:none !important;
}
.card.no-image .card-bottom{
  padding-top:0 !important;
}


/* Final fast clean mode: text-only cards without duplicate text */
.card.no-image .card-bottom .card-title,
.card.no-image .card-bottom .card-performer{
  display:none !important;
}

.card.no-image .card-bottom{
  padding-top:0 !important;
}

.card.no-image .name-fallback{
  background:
    linear-gradient(135deg, rgba(27,60,107,.95), rgba(11,30,54,.98));
}

.card.no-image .card-actions{
  margin-top:0 !important;
}

.card.no-image .small-btn{
  min-width:92px !important;
}

/* Keep the UI fast and simple */
.card,
.small-btn,
.play-btn{
  will-change:auto !important;
}


/* Text-only cards */
.text-only-card{
  aspect-ratio:auto !important;
  min-height:170px !important;
  height:170px !important;
  background:linear-gradient(145deg,#0f2a4a,#071b31) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  box-shadow:0 10px 25px rgba(0,0,0,.30) !important;
  border:1px solid rgba(255,255,255,.07) !important;
}
.text-only-card::after{
  display:none !important;
}
.text-card-inner{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  width:100%;
  height:100%;
  padding:14px 12px;
  text-align:center;
}
.text-card-top{
  width:100%;
  display:flex;
  justify-content:center;
}
.text-card-middle{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
.text-card-title{
  font-size:20px;
  font-weight:900;
  line-height:1.45;
  color:#fff;
}
.text-card-bottom{
  width:100%;
  display:flex;
  justify-content:center;
}
.text-only-card .small-btn{
  min-width:92px !important;
}
.text-only-card .play-btn{
  width:42px !important;
  height:42px !important;
  font-size:16px !important;
}
.text-only-card .card-bg,
.text-only-card .card-bg-empty,
.text-only-card .card-bg-img,
.text-only-card .name-fallback,
.text-only-card .card-content,
.text-only-card .card-top,
.text-only-card .card-bottom,
.text-only-card .card-title,
.text-only-card .card-performer{
  display:none !important;
}
.text-only-card.playing .play-btn{
  background:linear-gradient(180deg,#67b0ff,#2b73f0) !important;
  border-color:rgba(255,255,255,.28) !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(43,115,240,.32) !important;
}
@media (max-width:640px){
  .text-only-card{
    min-height:160px !important;
    height:160px !important;
    border-radius:20px !important;
  }
  .text-card-title{
    font-size:18px !important;
  }
}

/* disable legacy image fallback visuals */
.name-fallback,
.name-fallback-title{
  all:unset;
}

/* Play button top-right + musical note effect */
.text-card-top{
  width:100%;
  display:flex;
  justify-content:flex-end !important;
}


  100%{
    opacity:0;
    transform:translateY(-30px) scale(1.5);
  }
}

.play-btn{
  transition:all 0.3s ease;
}
.card.playing .play-btn{
  background:linear-gradient(180deg, #67b0ff, #2b73f0) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.3) !important;
  box-shadow:0 8px 20px rgba(43,115,240,.4) !important;
}

.text-card-top{
  justify-content:flex-start !important;
}

.play-btn{
  position:relative;
  color:transparent;
}

/* play icon */
.play-btn.play::before{
  content:"";
  position:absolute;
  left:14px;
  top:10px;
  border-left:12px solid #fff;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
}

/* pause icon */
.play-btn.pause::before,
.play-btn.pause::after{
  content:"";
  position:absolute;
  top:10px;
  width:4px;
  height:16px;
  background:#fff;
}

.play-btn.pause::before{ left:12px; }
.play-btn.pause::after{ right:12px; }


/* Animated play button: pulse + glow */
.play-btn{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.play-btn:active{
  transform:scale(.96);
}
.card.playing .play-btn{
  animation:playPulse 1.4s ease-in-out infinite;
}
@keyframes playPulse{
  0%{
    transform:scale(1);
    box-shadow:0 8px 20px rgba(43,115,240,.35), 0 0 0 0 rgba(103,176,255,.22);
  }
  50%{
    transform:scale(1.06);
    box-shadow:0 12px 28px rgba(43,115,240,.45), 0 0 0 10px rgba(103,176,255,0);
  }
  100%{
    transform:scale(1);
    box-shadow:0 8px 20px rgba(43,115,240,.35), 0 0 0 0 rgba(103,176,255,0);
  }
}

  15%{
    opacity:1;
  }
  100%{
    opacity:0;
    transform:translateY(-34px) translateX(10px) scale(1.18);
  }
}


/* Empty state WhatsApp CTA */
.empty-state{
  text-align:center;
}
.empty-actions{
  margin-top:12px;
}
.empty-whatsapp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  background:linear-gradient(180deg,#25D366,#1fa955);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(31,169,85,.25);
}
.empty-query-note{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
}




/* keep same detail layout, without images */
.detail-company-logo-text{
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:20px;
  color:#fff;
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.12);
}
.detail-company-logo-text img{
  display:none !important;
}


/* carrier icons in details */
.detail-company-logo{
  display:grid;
  place-items:center;
  overflow:hidden;
}
.detail-company-logo img{
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
}
.detail-company-logo-fallback{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.12);
}


/* final polish */
.hero-title{
  font-weight: 850;
  letter-spacing: .2px;
}
.hero-sub{
  color:#bfd0ea;
  line-height:1.8;
}
.search-field input{
  font-size:15px;
}
.empty-actions{
  display:flex;
  gap:8px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:12px;
}
.suggestion-action{
  min-width:120px;
}


/* final title polish */
.hero-card{
  padding: 18px 16px !important;
}
.hero-title{
  font-size: 21px !important;
  line-height: 1.7 !important;
  margin: 0 0 8px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}
.hero-sub{
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  color: #c8d7ea !important;
}
.highlight-word{
  color:#69b8ff;
  text-shadow:
    0 0 7px rgba(105,184,255,.42),
    0 0 15px rgba(105,184,255,.18);
}

/* detail note icon placement and pulse */
.detail-note{
  direction: rtl;
}
.detail-note strong{
  display:inline-block;
  margin-inline: 2px;
}
.detail-note-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-inline-start: 6px;
  color:#ffffff !important;
  font-size:20px !important;
  line-height:1;
  animation: detailPulse 1.4s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(255,255,255,.35);
}

@keyframes detailPulse{
  0%, 100%{
    transform: scale(1);
    opacity: .92;
  }
  50%{
    transform: scale(1.14);
    opacity: 1;
  }
}


/* ===== FINAL DEPLOY POLISH ===== */
.hero-title{
  font-size:21px !important;
  line-height:1.7 !important;
  margin:0 0 8px !important;
  font-weight:900 !important;
}
.hero-sub{
  margin:0 !important;
  font-size:13px !important;
  line-height:1.9 !important;
  color:#c8d7ea !important;
}
.highlight-word{
  color:#69b8ff;
  text-shadow:0 0 7px rgba(105,184,255,.42),0 0 15px rgba(105,184,255,.18);
}
.search-meta{
  min-height:0;
}
.suggestion-box.hidden,
.search-meta:empty{
  display:none !important;
}
.card.text-only-card{
  min-height:160px;
}
.detail-note{
  direction:rtl;
}
.detail-note-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-inline-start:6px;
  color:#ffffff !important;
  font-size:20px !important;
  line-height:1;
  animation:detailPulse 1.4s ease-in-out infinite;
  text-shadow:0 0 8px rgba(255,255,255,.35);
}
@keyframes detailPulse{
  0%,100%{transform:scale(1);opacity:.92}
  50%{transform:scale(1.14);opacity:1}
}


/* final clean optimizations */
.search-field input{font-size:15px}
.card{will-change:transform}


.skeleton-card{
  pointer-events:none;
}
.skeleton-circle,
.skeleton-line{
  display:block;
  background:linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.16), rgba(255,255,255,.08));
  background-size:200% 100%;
  animation:skeletonShimmer 1.15s linear infinite;
}
.skeleton-circle{
  width:50px;
  height:50px;
  border-radius:50%;
}
.skeleton-line{
  height:16px;
  border-radius:999px;
  margin-inline:auto;
}
.skeleton-line-lg{
  width:72%;
  height:24px;
}
.skeleton-line-btn{
  width:96px;
  height:36px;
}
@keyframes skeletonShimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}


/* Performance + UX refinements */
.hero-title .highlight-word{color:#57adff;text-shadow:0 0 8px rgba(87,173,255,.65),0 0 18px rgba(87,173,255,.35)}
.card,.modal-card,.hero-card,.search-field{content-visibility:auto;contain-intrinsic-size:1px 220px}
.text-card-inner{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:14px;background:linear-gradient(180deg,rgba(15,27,49,.92),rgba(10,18,33,.96))}
.text-card-top,.text-card-bottom{display:flex;justify-content:center}
.text-card-top{justify-content:flex-start}
.text-card-middle{display:grid;place-items:center;flex:1;padding:8px 0}
.text-card-title{font-weight:900;font-size:18px;line-height:1.45;text-align:center;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.play-btn::before{content:"▶"}
.play-btn.pause::before{content:"❚❚";font-size:14px}
.skeleton-card .text-card-inner{background:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.07),rgba(255,255,255,.03));background-size:220% 100%;animation:shimmer 1.4s linear infinite}
.skeleton-line,.skeleton-circle{display:block;background:rgba(255,255,255,.12);border-radius:999px}
.skeleton-circle{width:42px;height:42px}
.skeleton-line-lg{width:78%;height:20px;margin:auto}
.skeleton-line-btn{width:92px;height:38px;margin:auto}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.empty-whatsapp-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:14px;padding:11px 16px;font-size:13px;font-weight:800;background:linear-gradient(180deg,var(--blue),var(--blue-2));color:#fff;border:1px solid transparent}
.empty-query-note{margin-top:12px;font-size:13px;color:#d6e2f5}
.load-more-wrap{display:grid;place-items:center;gap:12px;margin:18px auto 8px}
.load-more-btn{min-width:140px}
.list-end-note{margin:18px auto 4px;text-align:center;color:#9eb0c9;font-size:13px}
.list-sentinel{width:100%;height:1px}
@media (max-width:640px){.text-card-title{font-size:16px}}


/* ===== Final mobile fixes ===== */
.play-btn{position:relative !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;width:56px !important;height:56px !important;min-width:56px !important;min-height:56px !important;padding:0 !important;color:transparent !important;font-size:0 !important;line-height:0 !important;border-radius:50% !important;background:rgba(8,16,31,.42) !important;border:1.5px solid rgba(255,255,255,.24) !important;-webkit-appearance:none;appearance:none;}
.play-btn::before,.play-btn::after,.play-btn .play-icon::before,.play-btn .play-icon::after{content:none !important;}
.play-btn .play-icon{position:relative;display:block;width:22px;height:22px;}
.play-btn.play .play-icon{margin-inline-start:4px;}
.play-btn.play .play-icon::before{content:"" !important;position:absolute;inset:0;width:0;height:0;border-style:solid;border-width:11px 0 11px 16px;border-color:transparent transparent transparent #fff;}
.play-btn.pause .play-icon::before,.play-btn.pause .play-icon::after{content:"" !important;position:absolute;top:1px;width:6px;height:20px;border-radius:2px;background:#fff;}
.play-btn.pause .play-icon::before{left:3px;}
.play-btn.pause .play-icon::after{right:3px;}
.card.playing .play-btn{background:linear-gradient(180deg,#67b0ff,#2b73f0) !important;box-shadow:0 8px 22px rgba(43,115,240,.42) !important;}
.text-only-card{min-height:196px;height:196px;}
.text-card-inner{padding:18px 16px 16px !important;}
.text-card-title{font-size:19px !important;line-height:1.5 !important;}
.load-more-wrap{margin:16px auto 10px !important;}
.load-more-btn{min-width:160px !important;}
@media (max-width:640px){.card-grid{gap:14px !important;}.text-only-card{min-height:190px;height:190px;}.text-card-title{font-size:17px !important;}}

@media (max-width:640px){
  .play-btn{width:42px;height:42px;font-size:14px}
}


/* Final mobile/player tuning */
.text-card-top{justify-content:flex-start !important;align-items:flex-start !important}
.play-btn{width:44px !important;height:44px !important;min-width:44px !important;min-height:44px !important;border-width:1.5px !important;box-shadow:0 6px 16px rgba(0,0,0,.22) !important}
.play-btn .play-icon{width:16px !important;height:16px !important}
.play-btn.play .play-icon{margin-inline-start:2px !important}
.play-btn.play .play-icon::before{border-width:8px 0 8px 12px !important}
.play-btn.pause .play-icon::before,.play-btn.pause .play-icon::after{top:1px !important;width:4px !important;height:14px !important}
.play-btn.pause .play-icon::before{left:3px !important}
.play-btn.pause .play-icon::after{right:3px !important}
@media (max-width:640px){
  .play-btn{width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important}
  .play-btn .play-icon{width:15px !important;height:15px !important}
  .play-btn.play .play-icon::before{border-width:7px 0 7px 11px !important}
  .play-btn.pause .play-icon::before,.play-btn.pause .play-icon::after{width:4px !important;height:13px !important}
}


body.modal-open{overflow:hidden}
.card{content-visibility:auto;contain-intrinsic-size:260px 220px}
.pull-refresh-indicator{
  --pull-distance:0px;
  position:fixed;
  top:0;
  left:50%;
  transform:translate(-50%, calc(-100% + var(--pull-distance)));
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(7,14,27,.88);
  box-shadow:0 8px 22px rgba(0,0,0,.24);
  color:#eef5ff;
  z-index:80;
  opacity:0;
  pointer-events:none;
  transition:transform .18s ease, opacity .18s ease;
  will-change:transform;
}
.pull-refresh-indicator.is-visible{opacity:1}
.pull-refresh-icon{display:inline-flex;font-size:16px;line-height:1;transition:transform .18s ease}
.pull-refresh-indicator.is-ready .pull-refresh-icon{transform:rotate(180deg)}
.pull-refresh-indicator.is-refreshing .pull-refresh-icon{animation:pullSpin .9s linear infinite}
@keyframes pullSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}

@media (max-width: 768px), (pointer: coarse){
  .hero-card,
  .search-block,
  .card,
  .modal-card,
  .detail-company,
  .play-btn,
  .small-btn{box-shadow:0 8px 18px rgba(0,0,0,.18) !important}
  .search-field,
  .hero-card,
  .modal-card,
  .detail-company,
  .list-tools,
  .card{backdrop-filter:none !important}
  .hero-title,
  .highlight,
  .text-card-title{text-shadow:none !important}
  .card,
  .small-btn,
  .play-btn,
  .modal-card{transition:transform .16s ease, border-color .16s ease, background .16s ease !important}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important;scroll-behavior:auto !important}
  .card,
  .small-btn,
  .play-btn,
  .modal-card,
  .pull-refresh-indicator{transition:none !important}
}


.skip-link{
  position:fixed;
  top:10px;
  right:10px;
  transform:translateY(-140%);
  background:#fff;
  color:#08101d;
  padding:10px 14px;
  border-radius:14px;
  z-index:1200;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.skip-link:focus{transform:translateY(0)}
.network-banner{
  position:sticky;
  top:8px;
  z-index:1100;
  width:min(980px,calc(100% - 24px));
  margin:10px auto 0;
  padding:11px 14px;
  border-radius:16px;
  background:rgba(255,196,0,.12);
  color:#ffe59f;
  border:1px solid rgba(255,196,0,.22);
  backdrop-filter:blur(6px);
  text-align:center;
  font-size:13px;
}
.results-meta{
  margin-top:10px;
  padding:0 4px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  min-height:22px;
}
.search-clear-btn{
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#dce7f7;
  display:grid;
  place-items:center;
  cursor:pointer;
  flex:0 0 auto;
}
.search-clear-btn:focus-visible,
.play-btn:focus-visible,
.small-btn:focus-visible,
.icon-btn:focus-visible,
.detail-company-btn:focus-visible,
.search-field input:focus-visible{
  outline:2px solid rgba(87,173,255,.9);
  outline-offset:2px;
}
.card{content-visibility:auto;contain-intrinsic-size:170px}
.card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.28)}
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:1200;
  background:rgba(7,15,28,.94);
  color:#fff;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  padding:10px 14px;
  box-shadow:0 10px 24px rgba(0,0,0,.24);
}
body.modal-open{overflow:hidden;touch-action:none}
@media (max-width:640px){
  .network-banner{top:6px;font-size:12px;padding:10px 12px}
  .results-meta{font-size:12px}
  .search-clear-btn{width:34px;height:34px}
}



/* prod7 interaction cleanup */
html{-webkit-tap-highlight-color:transparent}
.play-btn,
.small-btn,
.detail-company-btn,
.icon-btn,
.search-field input{
  -webkit-tap-highlight-color:transparent;
}
.results-meta,
.search-clear-btn{display:none !important}
.play-btn,
.small-btn,
.detail-company-btn,
.icon-btn{
  outline:none;
  -webkit-appearance:none;
  appearance:none;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.play-btn:active,
.small-btn:active,
.detail-company-btn:active,
.icon-btn:active{
  transform:scale(.97) translateZ(0) !important;
  box-shadow:none !important;
}
.play-btn:focus,
.small-btn:focus,
.detail-company-btn:focus,
.icon-btn:focus,
.search-field input:focus{outline:none}
.play-btn:focus-visible,
.small-btn:focus-visible,
.icon-btn:focus-visible,
.detail-company-btn:focus-visible,
.search-field input:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}
.small-btn.primary,
.detail-company-btn{
  transition:transform .12s ease, opacity .12s ease, background .16s ease, border-color .16s ease;
  will-change:transform;
}
.small-btn.primary:active,
.detail-company-btn:active{
  opacity:.92;
}
.detail-company-btn.is-loading{
  opacity:.88;
  pointer-events:none;
}

.list-tools{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:8px 0 14px;
}
.results-meta{
  color:#dbe7fb;
  font-size:13px;
  line-height:1.7;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(14,28,51,.42);
  border-radius:16px;
}
.list-tools-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.tool-chip-group{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.tool-chip-label{
  color:#aab9d1;
  font-size:12px;
  font-weight:700;
}
.tool-chip,
.tool-action-btn{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(19,38,68,.7);
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.tool-action-btn{
  background:rgba(255,255,255,.06);
}
.empty-suggestions{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}
.empty-suggestion-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.detail-secondary-actions{
  display:flex;
  justify-content:center;
  margin:12px 0 6px;
}
.share-name-btn{
  min-width:140px;
}
@media (max-width:640px){
  .list-tools-row{align-items:flex-start}
}
