/* الصفحة الرئيسية (التصميم الجديد). فاتحة دايمًا، مع أقسام غامقة بالأخضر. */
body.home {
  --brand: #0f8f69; --brand-deep: #0b6e51; --brand-tint: #e4f5ee; --coral: #ff7a59; --coral-tint: #ffece6;
  --bg: #fbfaf7; --surface: #ffffff; --ink: #10201b; --muted: #5b6a66; --line: #ebe7df; --forest: #0b3d2f; --sand: #f7f6f2;
  --shadow: 0 1px 2px rgba(16, 32, 27, .06), 0 18px 48px rgba(16, 32, 27, .12);
  color-scheme: light; background: var(--bg); color: var(--ink); line-height: 1.7;
}
.home .wrap { width: min(1144px, 100% - 56px); }
.home .btn.primary { color: #fff; }
.home .btn.coral { background: var(--coral); color: #2b0f05; height: 56px; border-radius: 16px; font-weight: 700; font-size: 17px; }
.home .btn.coral:hover { background: #ff8c6f; }
.home .btn.outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; height: 56px; border-radius: 16px; }
.home .btn.outline-light:hover { border-color: #fff; }
.home .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.home .h-final .btn.light { background: #fff; color: var(--brand-deep); height: 56px; border-radius: 16px; font-weight: 700; }
.home .nav .links { gap: 22px; }
@media (max-width: 1060px) { .home .nav .links { display: none; } }
.kick { color: #e0593a; font-weight: 600; font-size: 15px; }
.h-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.h-copy h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; font-weight: 700; }
.h-copy p { margin: 0; color: var(--muted); font-size: 18px; }
.h-copy p.small { font-size: 16px; }
.h-head { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 34px; }
.h-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; font-weight: 700; }
.h-head h2.xl { font-size: clamp(34px, 4vw, 46px); }
.h-head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 36em; }
.dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.dots li { display: flex; gap: 10px; align-items: center; }
.dots li::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--brand); flex: none; }
section[id] { scroll-margin-top: 76px; }

/* موجات الصوت (الأعمدة بتترسم من site.js) */
.bars { display: flex; align-items: center; gap: 3px; height: 22px; }
.bars i { width: 3px; border-radius: 2px; background: var(--brand); flex: none; }

/* شبكة ستيكرات قابلة للسمع */
.tile { position: relative; aspect-ratio: 1; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: var(--sand); display: flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; min-width: 0; }
.tile img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.tile .snd { position: absolute; bottom: 5px; right: 5px; width: 22px; height: 22px; border-radius: 11px; background: #fff; color: var(--muted); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(16, 32, 27, .25); }
.tile .snd svg { width: 12px; height: 12px; }
.tile.on { border-color: var(--brand); }
.tile.on .snd { background: var(--brand); color: #fff; }
.tile:focus-visible, .h-qchips button:focus-visible, .play:focus-visible, .listen:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.tile.skel, .tile.mute { cursor: default; }
.tile.skel::after { content: ""; width: 60%; height: 60%; border-radius: 10px; background: #ece9e1; }

/* ---------- البداية ---------- */
.h-hero { background: var(--forest); color: #fff; overflow: hidden; }
.h-hero .wrap { padding: 80px 0 100px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.h-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.h-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(255, 255, 255, .1); color: #b9ecd9; font-size: 14px; }
.h-pill i { width: 8px; height: 8px; border-radius: 4px; background: var(--coral); }
.h-hero h1 { margin: 0; font-size: clamp(38px, 4.6vw, 56px); line-height: 1.1; font-weight: 700; }
.h-hero h1 em { font-style: normal; color: var(--coral); }
.h-hero-text > p { margin: 0; font-size: 20px; color: #cfe7dc; max-width: 30em; }
.h-trust { display: flex; flex-wrap: wrap; gap: 6px 22px; color: #9fd2bf; font-size: 14.5px; padding: 0; margin: 0; list-style: none; }
.h-trust li::before { content: "✓ "; }
.h-hero-art { flex: 1 1 460px; min-width: 0; position: relative; display: flex; justify-content: center; }
.h-panel { width: 100%; max-width: 470px; background: #fff; color: var(--ink); border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.h-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 23px; background: #f2f1ec; color: var(--muted); font-size: 15px; }
.h-search svg { width: 18px; height: 18px; }
.h-search b { color: var(--ink); font-weight: 400; }
.h-search { cursor: text; border: 1.5px solid transparent; transition: border-color .15s, background .15s; margin: 0; }
.h-search:hover { background: #ecebe4; }
.h-search:focus-within { border-color: var(--brand); background: #fff; }
/* الخانة على قد الكلام (field-sizing) علشان المؤشر الوهمي يقعد بعد الكلمة؛ بيختفي أول ما الخانة تتلمس */
.h-search input { flex: 0 1 auto; field-sizing: content; min-width: 3ch; max-width: 100%; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; padding: 0; }
.h-search input::-webkit-search-cancel-button { display: none; }
.h-search:focus-within .caret { display: none; }
@supports not (field-sizing: content) { .h-search input { flex: 1; } .h-search .caret { display: none; } }
.caret { width: 2px; height: 18px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.h-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.h-chips button { height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: #f2f1ec; color: var(--muted); font: inherit; font-size: 13px; display: flex; align-items: center; cursor: pointer; }
.h-chips button:hover { color: var(--ink); }
.h-chips button.on { background: var(--brand-tint); color: var(--brand-deep); }
.h-hmsg { font-size: 13px; color: var(--muted); align-self: center; }
.h-hmsg[hidden] { display: none; }
.h-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.h-bubble { position: absolute; left: -6px; bottom: -38px; background: #d9fdd3; border-radius: 18px 18px 18px 4px; padding: 10px; display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); color: var(--ink); }
.h-bubble img { width: 74px; height: 74px; object-fit: contain; border-radius: 10px; }
.h-bubble > div { display: flex; flex-direction: column; gap: 6px; padding-left: 6px; }
.h-bubble small { font-size: 12.5px; color: #3d5650; }

/* ---------- الخمس حاجات ---------- */
.h-pillars { position: relative; margin-top: -36px; }
.h-pillars .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.h-pillars a { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 6px 20px rgba(16, 32, 27, .06); transition: transform .15s; }
.h-pillars a:hover { transform: translateY(-2px); }
.h-pillars b { font-size: 16px; font-weight: 600; }
.h-pillars a > span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.coral { background: #ffece6; color: #b3401f; }
.ic.green { background: #e4f5ee; color: #0b6e51; }
.ic.blue { background: #eef0fb; color: #3c3c99; }
.ic.amber { background: #fff4dc; color: #8a5a00; }
.ic.dark { background: var(--forest); color: var(--coral); }
@media (max-width: 980px) { .h-pillars .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-pillars a:last-child { grid-column: 1 / -1; } }

/* ---------- قسمين جنب بعض ---------- */
.h-split .wrap { padding: 100px 0 40px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.h-split .h-copy { flex: 1 1 400px; }
.h-player { flex: 1 1 440px; min-width: 0; max-width: 460px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.h-player .big { position: relative; width: 230px; height: 230px; padding: 0; border: 3px solid transparent; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(16, 32, 27, .12); display: flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.h-player .big.playing { border-color: var(--brand); }
.h-player .big:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.h-player .big .chip { position: absolute; bottom: -8px; left: -8px; width: 40px; height: 40px; border-radius: 20px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(16, 32, 27, .25); }
.h-player .big .chip svg { width: 18px; height: 18px; fill: currentColor; }
.h-player .big img { max-width: 92%; max-height: 92%; object-fit: contain; border-radius: 16px; }
.h-player .row { width: 100%; display: flex; align-items: center; gap: 14px; }
.play { flex: none; width: 52px; height: 52px; border-radius: 26px; border: 0; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.play svg, .listen svg { width: 22px; height: 22px; fill: currentColor; }
.i-stop { display: none; }
.playing .i-play { display: none; }
.playing .i-stop { display: inline; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 52px; }
.wave i { flex: 1; border-radius: 2px; background: #c9d2ce; transition: background .1s; }
.wave i.lit { background: var(--brand); }
.dur { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.h-player .cap { color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- اعمل ستيكرك ---------- */
.h-make .wrap { padding: 70px 0 90px; }
.h-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-cards li { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.h-cards h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.h-cards h3 b, .nums b, .h-start li > b { width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.h-cards p { margin: 0; color: var(--muted); font-size: 14.5px; }
.art { height: 170px; border-radius: 18px; background: var(--sand); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.art.video img { width: 78%; height: 78%; object-fit: cover; border-radius: 14px; }
.art .file { position: absolute; bottom: 14px; right: 14px; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(16, 32, 27, .75); color: #fff; font-size: 12.5px; display: flex; align-items: center; }
.art .pbtn { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 26px; background: rgba(255, 255, 255, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.art .pbtn svg { width: 22px; height: 22px; }
.art.trim { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; padding: 0 16px; }
.tw { position: relative; height: 70px; }
.tw .bars { height: 70px; gap: 2px; }
.tw .bars i { flex: 1; width: auto; background: #c9d2ce; }
.tw .bars i.lit { background: var(--brand); }
.tw .sel { position: absolute; top: 0; bottom: 0; left: 30%; width: 38%; border: 2px solid var(--brand); border-radius: 10px; }
.tw .h { position: absolute; top: 18px; bottom: 18px; width: 12px; border-radius: 6px; background: var(--brand); }
.tw .h.l { left: calc(30% - 6px); }
.tw .h.r { left: calc(68% - 6px); }
.tm { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.tm b { color: var(--brand-deep); font-weight: 600; }
.art.ready { gap: 14px; }
.stk { position: relative; width: 120px; height: 120px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(16, 32, 27, .12); }
.stk img { width: 104px; height: 104px; object-fit: cover; border-radius: 14px; }
.stk i { position: absolute; bottom: -6px; left: -6px; width: 30px; height: 30px; border-radius: 15px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.stk i svg { width: 14px; height: 14px; }
.art .meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.art .meta b { color: var(--ink); font-size: 14px; font-weight: 600; }
.h-note { margin: 34px auto 0; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px; border-radius: 23px; background: var(--brand-tint); color: var(--brand-deep); font-size: 15px; }
.h-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
@media (max-width: 900px) { .h-cards { grid-template-columns: 1fr; } }

/* ---------- البحث ---------- */
.h-search-sec { background: #fff; border-block: 1px solid var(--line); }
.h-search-sec .wrap { padding: 90px 0; display: flex; flex-wrap: wrap-reverse; gap: 56px; align-items: center; }
.h-search-sec .h-copy { flex: 1 1 380px; }
.h-try { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.h-input { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px; border-radius: 29px; background: #f2f1ec; color: var(--muted); }
.h-input:focus-within { box-shadow: 0 0 0 2px var(--brand); }
.h-input svg { width: 22px; height: 22px; flex: none; }
.h-input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: none; }
.h-qchips { display: flex; gap: 8px; flex-wrap: wrap; }
.h-qchips button { height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.h-qchips button[aria-pressed="true"] { background: var(--brand-tint); color: var(--brand-deep); border-color: transparent; }
.h-results { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.h-empty { margin: 0; color: var(--muted); }
.h-empty[hidden] { display: none; }
@media (max-width: 560px) { .h-results { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- كل يوم جديد ---------- */
.h-daily { padding: 100px 0 30px; overflow: hidden; }
.h-daily-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.h-today { flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cal { flex: none; width: 92px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); text-align: center; align-self: flex-start; display: flex; flex-direction: column; }
.cal b { background: var(--coral); color: #2b0f05; font-size: 13px; font-weight: 700; padding: 6px 0; }
.cal strong { font-size: 40px; font-weight: 700; line-height: 1.3; padding: 6px 0 2px; }
.cal span { color: var(--muted); font-size: 12.5px; padding-bottom: 8px; }
.h-today .txt { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.h-today .tag { height: 28px; padding: 0 12px; border-radius: 14px; background: #ffece6; color: #b3401f; font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.h-today .ttl { font-size: 26px; font-weight: 700; line-height: 1.3; }
.h-today .sub { color: var(--muted); font-size: 14.5px; }
.h-today .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.listen { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid #cfe7dc; background: #fff; color: var(--brand-deep); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.listen svg { width: 18px; height: 18px; }
.h-today .pic { flex: none; width: 160px; height: 160px; border-radius: 26px; background: var(--sand); display: flex; align-items: center; justify-content: center; position: relative; margin-inline: auto; }
.h-today .pic img { max-width: 142px; max-height: 142px; object-fit: contain; border-radius: 18px; }
.h-today .pic i { position: absolute; bottom: 10px; right: 10px; width: 32px; height: 32px; border-radius: 16px; background: var(--muted); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(16, 32, 27, .25); }
.h-today .pic i.on { background: var(--brand); }
.h-today .pic i svg { width: 15px; height: 15px; }
.h-drops { flex: 1 1 380px; min-width: 0; background: var(--forest); color: #fff; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.h-drops .ttl { font-size: 19px; font-weight: 600; }
.h-drops .banner { background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.h-drops .banner i { width: 10px; height: 10px; border-radius: 5px; background: var(--coral); flex: none; }
.h-drops .banner > span:nth-child(2) { flex: 1; }
.h-drops .go { height: 32px; padding: 0 14px; border-radius: 16px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; }
.h-drops .row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.h-drops .pics { display: flex; flex: none; padding-left: 12px; }
.h-drops .pics span { width: 44px; height: 44px; margin-left: -12px; border-radius: 12px; background: #fff; border: 2px solid var(--forest); padding: 3px; display: flex; align-items: center; justify-content: center; }
.h-drops .pics img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.h-drops .row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h-drops .row b { font-size: 15px; font-weight: 600; }
.h-drops .row small { color: #9fd2bf; font-size: 13px; }
.h-marquee { margin-top: 40px; }
.drop-track { display: flex; gap: 12px; width: max-content; animation: drop 60s linear infinite; }
.drop-track span { width: 96px; height: 96px; flex: none; border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 8px; display: flex; align-items: center; justify-content: center; }
.drop-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
@keyframes drop { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .drop-track, .caret { animation: none; } }

/* ---------- الترند ---------- */
#trend .wrap { padding-bottom: 70px; padding-top: 70px; }
.h-trend { flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px; }
.h-trend .hd { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.h-trend .hd i { width: 10px; height: 10px; border-radius: 5px; background: var(--coral); }
.h-trend .hd b { font-size: 17px; font-weight: 600; color: var(--ink); }
.h-trend .spacer { flex: 1; }
.h-trend ol { list-style: none; margin: 0; padding: 0; }
.h-trend li button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 0; border: 0; border-bottom: 1px solid #f2f1ec; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.h-trend li:last-child button { border-bottom: 0; }
.h-trend .rk { width: 26px; font-size: 18px; font-weight: 700; color: #9aa7a3; text-align: center; flex: none; }
.h-trend li:nth-child(-n+3) .rk { color: #e0593a; }
.h-trend .th { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--sand); padding: 4px; display: flex; align-items: center; justify-content: center; border: 2px solid transparent; }
.h-trend .on .th { border-color: var(--brand); }
.h-trend .th img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.h-trend .tt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h-trend .tt b { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-trend .tt small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-trend .pl { width: 32px; height: 32px; flex: none; border-radius: 16px; background: var(--brand-tint); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; }
.h-trend .pl svg { width: 14px; height: 14px; fill: currentColor; }
.h-trend .on .pl { background: var(--brand); color: #fff; }

/* ---------- السرعة ---------- */
.h-speed { background: var(--forest); color: #fff; }
.h-speed .wrap { padding: 90px 0; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.h-speed .h-copy { flex: 1 1 380px; gap: 14px; }
.h-speed .kick { color: #ff9a7f; }
.h-speed h2 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.1; }
.h-speed h2 em { font-style: normal; color: var(--coral); }
.h-speed .h-copy p { color: #cfe7dc; }
.h-bars { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.h-bars > div { display: flex; flex-direction: column; gap: 10px; }
.h-bars .lbl { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; flex-wrap: wrap; }
.h-bars .lbl b { font-weight: 600; }
.h-bars .lbl span { color: #9fd2bf; }
.h-bars .track { height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .08); }
.h-bars .track i { display: block; height: 100%; border-radius: 11px; }
.h-bars .fast { width: 30%; background: var(--coral); }
.h-bars .slow { width: 100%; background: rgba(255, 255, 255, .35); }

/* ---------- الموبايل ---------- */
.h-mobile .wrap { padding: 100px 0 30px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.h-mobile .h-copy { flex: 1 1 460px; gap: 18px; }
.h-mobile .kick { color: #c4532f; }
.h-mobile h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.15; }
.phone { flex: 0 0 290px; height: 560px; margin-inline: auto; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(16, 32, 27, .22); }
.screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #efeae2; display: flex; flex-direction: column; }
.screen .top { height: 64px; flex: none; background: var(--forest); color: #fff; display: flex; align-items: center; gap: 10px; padding: 18px 16px 0; }
.screen .av { width: 32px; height: 32px; border-radius: 16px; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.screen .top div { display: flex; flex-direction: column; line-height: 1.4; }
.screen .top b { font-size: 14px; font-weight: 600; }
.screen .top small { font-size: 11px; color: #9fd2bf; }
.screen .chat { flex: 1; padding: 18px 14px; display: flex; flex-direction: column; align-items: flex-end; }
.screen .msg { background: #d9fdd3; border-radius: 16px 16px 4px 16px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 16px rgba(16, 32, 27, .12); outline: 3px solid rgba(15, 143, 105, .35); }
.screen .msg img { width: 128px; height: 128px; object-fit: cover; border-radius: 12px; }
.screen .snd { display: flex; align-items: center; gap: 6px; }
.screen .snd i { width: 22px; height: 22px; border-radius: 11px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.screen .snd i svg { width: 11px; height: 11px; }
.screen .snd .bars { height: 16px; gap: 2px; }
.screen .snd .bars i { width: 2.5px; height: auto; background: var(--brand); border-radius: 2px; }
.sheet { background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 -10px 30px rgba(16, 32, 27, .15); }
.sheet .grip { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: #d8d3c9; margin-bottom: 8px; }
.sheet .it { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; color: var(--muted); font-size: 14.5px; }
.sheet .it svg { width: 20px; height: 20px; }
.sheet .it.on { height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; font-size: 15px; }
.nums { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16.5px; }
.nums li { display: flex; align-items: center; gap: 12px; }
.nums b { width: 32px; height: 32px; }
.nums em { font-style: normal; color: var(--muted); }
.remember { margin-top: 8px; border-radius: 20px; background: var(--forest); color: #fff; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.remember .ex { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--coral); color: #2b0f05; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.remember div { display: flex; flex-direction: column; gap: 6px; }
.remember b { font-size: 17px; font-weight: 600; }
.remember span { color: #cfe7dc; font-size: 15px; }

/* ---------- تبدأ في دقيقة ---------- */
.h-start .wrap { padding: 90px 0 10px; display: flex; flex-direction: column; gap: 30px; }
.h-start h2 { margin: 0; font-size: clamp(30px, 3.2vw, 38px); font-weight: 700; text-align: center; }
.h-start ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-start li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.h-start li > b { width: 38px; height: 38px; border-radius: 12px; }
.h-start h3 { margin: 0; font-size: 18px; font-weight: 600; }
.h-start p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .h-start ol { grid-template-columns: 1fr; } }

/* التثبيت اليدوي في الصفحة الجديدة */
.home .manual { padding-top: 90px; }
.home .install li::before { color: #fff; }

/* ---------- آخر دعوة ---------- */
.h-final { padding: 40px 0 90px; }
.h-final .box { background: var(--brand); color: #fff; border-radius: 30px; padding: 56px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.h-final h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.3; }
.h-final p { margin: 0; color: #d8f1e7; font-size: 18px; }
.h-final .btn.ghost { color: #fff; }

@media (max-width: 640px) {
  .home .wrap { width: calc(100% - 36px); }
  .h-hero .wrap { padding: 48px 0 90px; }
  .h-bubble { left: 4px; bottom: -48px; }
  .h-pillars { margin-top: 24px; }
  .h-split .wrap, .h-search-sec .wrap, .h-mobile .wrap { padding-top: 70px; }
  .h-today .pic { width: 150px; height: 150px; }
  .h-today .pic img { max-width: 132px; max-height: 132px; }
}

/* ---------- زرار «كل الستيكرات» + النافذة ---------- */
.h-all { height: 48px; border-radius: 14px; border: 1.5px dashed var(--brand); background: var(--brand-tint); color: var(--brand-deep); font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.h-all:hover { background: #d5efe4; }
.h-all:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.h-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.h-all span:not(:empty)::before { content: " · "; }
.h-dlg { width: min(820px, calc(100% - 24px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 30px; background: var(--bg); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); overflow: hidden; flex-direction: column; }
.h-dlg[open] { display: flex; animation: dlg .3s ease-out; }
.h-dlg::backdrop { background: rgba(6, 24, 19, .72); backdrop-filter: blur(3px); }
@keyframes dlg { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.h-dlg .hd { flex: none; padding: 24px 28px 18px; display: flex; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.h-dlg .hd > div { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.h-dlg .badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: #ffece6; color: #b3401f; font-size: 12.5px; font-weight: 600; }
.h-dlg .badge i { width: 7px; height: 7px; border-radius: 4px; background: var(--coral); }
.h-dlg h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.25; }
.h-dlg .hd p { margin: 0; color: var(--muted); font-size: 14.5px; }
.h-dlg .x { flex: none; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.h-dlg .x:hover { color: var(--ink); border-color: var(--muted); }
.h-dlg .body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 28px 4px; }
.h-dlg .grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.h-dlg .tile { background: #fff; border-radius: 16px; box-shadow: 0 2px 8px rgba(16, 32, 27, .05); }
.h-dlg .tile .snd { width: 24px; height: 24px; bottom: 6px; right: 6px; }
.h-dlg .rank { position: absolute; top: 6px; left: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: rgba(16, 32, 27, .72); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(16, 32, 27, .2); }
.h-dlg .rank.top { background: var(--coral); color: #2b0f05; }
.h-dlg .locked { position: relative; height: 92px; margin-top: 10px; border-radius: 18px; overflow: hidden; }
.h-dlg .blur { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; filter: blur(6px); opacity: .55; }
.h-dlg .blur span { aspect-ratio: 1; border-radius: 16px; background: #fff; padding: 6px; display: flex; align-items: center; justify-content: center; }
.h-dlg .blur img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.h-dlg .locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 250, 247, .2), var(--bg) 85%); }
.h-dlg .lock { position: absolute; z-index: 1; bottom: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.h-dlg .lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.h-dlg .why { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.h-dlg .why li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.h-dlg .why .ic { width: 32px; height: 32px; flex: none; border-radius: 10px; }
.h-dlg .why .ic svg { width: 16px; height: 16px; }
.h-dlg .ft { flex: none; padding: 20px 28px 24px; background: var(--forest); color: #fff; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.h-dlg .ft > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.h-dlg .ft b { font-size: 19px; font-weight: 700; }
.h-dlg .ft span { color: #9fd2bf; font-size: 14px; }
.pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 89, .55); } 60% { box-shadow: 0 0 0 12px rgba(255, 122, 89, 0); } }
@media (prefers-reduced-motion: reduce) { .h-dlg[open], .pulse { animation: none; } }
@media (max-width: 640px) {
  .h-dlg { border-radius: 22px; max-height: calc(100% - 24px); }
  .h-dlg .hd, .h-dlg .body, .h-dlg .ft { padding-inline: 16px; }
  .h-dlg h2 { font-size: 21px; }
  .h-dlg .grid, .h-dlg .blur { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .h-dlg .why { grid-template-columns: 1fr; }
  .h-dlg .ft .btn { width: 100%; }
}
body.dlg-open { overflow: hidden; }

/* لودينج الصوت: الأيقونة بتتشال ويظهر مكانها دايرة بتلف لحد ما الصوت يبدأ */
.loading .snd svg, .loading .chip svg, .loading .pl svg, .listen.loading svg, .h-today .pic i.on.wait svg { display: none; }
.loading .snd::after, .loading .chip::after, .loading .pl::after, .listen.loading::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite;
}
.loading .chip::after { width: 18px; height: 18px; border-width: 2.5px; }
.loading .pl::after { width: 14px; height: 14px; }
.listen.loading::before { width: 16px; height: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading .snd::after, .loading .chip::after, .loading .pl::after, .listen.loading::before { animation-duration: 1.6s; } }

/* التثبيت من المتجر (أساسي) */
.h-alt { margin: 12px 0 0; font-size: 15px; opacity: .85; }
.h-alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cta .btn svg { width: 20px; height: 20px; }
.store-install { padding: 56px 0 8px; }
.store-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 22px; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.store-card img { border-radius: 16px; flex: none; }
.store-info { flex: 1; min-width: 220px; }
.store-info h2 { margin: 0 0 4px; font-size: 26px; }
.store-info p { margin: 0; color: var(--muted); }
.store-card .btn svg { width: 20px; height: 20px; }
.store-alt { margin: 12px 4px 0; font-size: 14px; color: var(--muted); }
.manual .section-head h2 { font-size: 24px; }

/* التثبيت من المتجر: 3 خطوات */
.store-install { padding: 80px 0 24px; }
.install.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .install.three { grid-template-columns: 1fr; } }
.store-cta { margin-top: 28px; }
.store-install .store-alt { text-align: center; margin-top: 14px; }
.mock-cws .cws { display: flex; align-items: center; gap: 10px; width: calc(100% - 24px); padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e3e3e3; color: #202124; }
.mock-cws img { border-radius: 9px; flex: none; }
.mock-cws .cws-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.mock-cws .cws-t b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-cws .cws-t small { color: #5f6368; font-size: 10.5px; }
.mock-cws .cws-btn { flex: none; padding: 7px 12px; border-radius: 18px; background: #0b57d0; color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 4px rgba(11, 87, 208, .18); }
.mock-confirm .cdlg { width: calc(100% - 24px); padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #e3e3e3; color: #202124; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.mock-confirm .cdlg b { font-size: 13px; }
.mock-confirm .cdlg small { font-size: 11px; color: #5f6368; line-height: 1.5; }
.mock-confirm .cdlg-btns { display: flex; gap: 8px; justify-content: flex-start; margin-top: 2px; }
.mock-confirm .cdlg-btns span { padding: 5px 12px; border-radius: 16px; font-size: 11.5px; font-weight: 600; }
.mock-confirm .b1 { background: #0b57d0; color: #fff; box-shadow: 0 0 0 4px rgba(11, 87, 208, .18); }
.mock-confirm .b2 { border: 1px solid #c4c7c5; color: #0b57d0; }
.mock-wa .wa-bar { display: flex; align-items: center; gap: 10px; width: calc(100% - 24px); padding: 8px 10px; border-radius: 26px; background: #fff; border: 1px solid #e3e3e3; color: #54656f; }
.mock-wa .wa-i { width: 26px; height: 26px; display: grid; place-items: center; font-size: 18px; }
.mock-wa .wa-i svg { width: 22px; height: 22px; }
.mock-wa .wa-efeeh { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: #e4f5ee; box-shadow: 0 0 0 4px rgba(15, 143, 105, .25); }
.mock-wa .wa-efeeh img { border-radius: 7px; }
.mock-wa .wa-input { flex: 1; font-size: 12.5px; color: #8696a0; }

/* نافذة التثبيت اليدوي */
.m-dlg { width: min(1040px, calc(100% - 24px)); }
.m-dlg .body { padding: 20px 28px 24px; }
.m-dlg .hd p a { color: var(--brand); }
.m-dlg .install { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .m-dlg .install { grid-template-columns: 1fr; } }
.m-dlg .dl-card { margin-bottom: 18px; }
.m-dlg .notes { margin-top: 18px; }
.home .m-dlg.manual { padding: 0; }

/* البحث: «كل النتايج» + تذكير بالإضافة */
.h-qmore { margin: 4px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.h-qmore[hidden] { display: none; }
.h-qmore > a { color: var(--brand); font-weight: 600; text-decoration: none; }
.h-qmore > a:hover { text-decoration: underline; }
.h-qmore span a { color: var(--ink); font-weight: 600; }
/* الأشهر: سهم لصفحة الستيكر جنب زرار التشغيل */
.h-trend li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f2f1ec; }
.h-trend li:last-child { border-bottom: 0; }
.h-trend li button { flex: 1; min-width: 0; border-bottom: 0; }
.h-trend li .go { flex: none; width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); text-decoration: none; }
.h-trend li .go:hover { color: var(--brand); border-color: var(--brand); }
.h-trend li .go svg { width: 16px; height: 16px; }
/* شريط الوسوم الرفيع قبل الأسئلة */
.h-tagstrip { padding: 8px 0 28px; }
.h-tagstrip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.h-tagstrip .lbl { color: var(--muted); font-size: 14px; margin-inline-end: 4px; }
.h-tagstrip a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 17px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.h-tagstrip a:hover { border-color: var(--brand); color: var(--brand); }
.h-tagstrip a.all { border-style: dashed; color: var(--brand); }
/* البحث اللي فوق: الاقتراحات و«مفيش لسه» في سطر واحد دايمًا (اللوحة ما تطولش) */
.h-chips { flex-wrap: nowrap; overflow: hidden; }
.h-chips button { flex: none; }
.h-hmsg { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
