/* Home page cards (operator 2026-11-19), site green/gold. Prefix hc- so nothing leaks into other pages. */
.hc-hero{position:relative;overflow:hidden;border-radius:22px;padding:38px 34px;color:#fff;margin:4px 0 8px;
  background:radial-gradient(circle at 15% 20%,#1a9b77 0,transparent 45%),linear-gradient(135deg,var(--green-dark,#065C45),#0b3d30)}
.hc-hero h1{margin:0 0 8px;font-size:clamp(24px,4vw,38px);line-height:1.35;color:#fff}.hc-hero h1 em{font-style:normal;color:var(--gold,#F2B84B)}
.hc-hero p{margin:0 0 20px;opacity:.88;max-width:620px}
.hc-hero h1,.hc-hero p,.hc-hero .hc-btn,.hc-chips{position:relative;z-index:2}
.hc-hero h1,.hc-hero p{max-width:62%}
.hc-btn{display:inline-block;padding:9px 22px;border-radius:12px;font-weight:700;text-decoration:none}
.hc-bp{background:var(--gold,#F2B84B);color:#101828}.hc-bg{border:1px solid #fff6;color:#fff;margin-inline-start:8px}
.hc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.hc-chips a{background:#ffffff18;border:1px solid #ffffff2a;border-radius:20px;padding:4px 12px;font-size:13px;color:#fff;text-decoration:none}
.hc-chips svg{width:15px;height:15px;vertical-align:-3px}

/* banner shapes */
.hc-s3d{position:absolute;inset:0;pointer-events:none;perspective:700px}
.hc-glass{position:absolute;left:6%;top:16%;width:250px;padding:12px 14px 6px;border-radius:18px;background:#ffffff14;border:1px solid #ffffff33;
  backdrop-filter:blur(6px);box-shadow:0 30px 50px #0006;transform:rotateY(22deg) rotateX(8deg);animation:hc-fl 7s ease-in-out infinite}
.hc-gh{display:flex;justify-content:space-between;font-size:13px;color:#fff;font-weight:700}.hc-gh b{color:#5fe0b4}
.hc-glass svg{width:100%;display:block}
.hc-line{stroke-dasharray:320;stroke-dashoffset:320;animation:hc-draw 4s ease-out infinite}
.hc-area{opacity:0;animation:hc-fade 4s ease-out infinite}.hc-dot{opacity:0;animation:hc-pop 4s infinite}
.hc-candles{position:absolute;left:30%;bottom:16%;display:flex;gap:9px;align-items:flex-end;height:90px;transform:rotateY(-18deg)}
.hc-candles i{position:relative;width:12px;height:var(--h);border-radius:3px;background:linear-gradient(90deg,#5fe0b4,#12a07a);box-shadow:4px 4px 0 #04412f;
  transform-origin:bottom;animation:hc-grow 3.2s var(--d) ease-in-out infinite}
.hc-candles i:before{content:"";position:absolute;left:5px;top:-10px;bottom:-8px;width:2px;background:#ffffff88;z-index:-1}
.hc-candles i.r{background:linear-gradient(90deg,#ff9d8f,#d65a4a);box-shadow:4px 4px 0 #7a2318}
.hc-stack{position:absolute;left:3%;bottom:12%;width:70px;height:80px;animation:hc-fl 5s -1s ease-in-out infinite}
.hc-stack span{position:absolute;left:0;width:70px;height:22px;border-radius:50%;background:radial-gradient(ellipse at 40% 35%,#fff3c4,#F2B84B 50%,#b07a12);box-shadow:0 5px 0 #a8730d,0 10px 14px #0005}
.hc-stack span:nth-child(1){bottom:0}.hc-stack span:nth-child(2){bottom:12px}.hc-stack span:nth-child(3){bottom:24px}.hc-stack span:nth-child(4){bottom:36px;animation:hc-flip 3s ease-in-out infinite}
.hc-ring{position:absolute;left:24%;top:8%;width:110px;height:110px;border:2px solid #F2B84B55;border-radius:50%;transform:rotateX(70deg);animation:hc-spin 6s linear infinite}
.hc-ring b{position:absolute;top:-7px;left:48px;width:14px;height:14px;border-radius:50%;background:#F2B84B;box-shadow:0 0 14px #F2B84B}
@keyframes hc-fl{50%{translate:0 -14px}}
@keyframes hc-draw{0%{stroke-dashoffset:320}60%,100%{stroke-dashoffset:0}}
@keyframes hc-fade{0%,40%{opacity:0}70%,100%{opacity:1}}
@keyframes hc-pop{0%,58%{opacity:0}66%,100%{opacity:1}}
@keyframes hc-grow{0%,100%{transform:scaleY(.55)}50%{transform:scaleY(1)}}
@keyframes hc-flip{0%,60%{transform:translateY(0) rotateX(0)}80%{transform:translateY(-30px) rotateX(180deg)}100%{transform:translateY(0) rotateX(360deg)}}
@keyframes hc-spin{to{transform:rotateX(70deg) rotateZ(360deg)}}
@media(max-width:1000px){.hc-s3d{opacity:.25}.hc-hero h1,.hc-hero p{max-width:none}}

/* market strip */
.hc-sec{font-size:20px;margin:30px 0 12px;display:flex;align-items:center;gap:10px}
.hc-sec:before{content:"";width:6px;height:22px;border-radius:3px;background:var(--gold,#F2B84B)}
.hc-mk{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hc-mk .c{background:var(--card,#fff);border:1px solid var(--line,#e4e8ef);border-radius:16px;padding:14px 16px}
.hc-mk .l,.hc-mk .s{font-size:13px;color:var(--muted,#5b6474)}.hc-mk .v{font-size:22px;font-weight:800}
.hc-mk .up{color:var(--green,#0A7A5C)}.hc-mk .dn{color:#C0392B}
@media(max-width:760px){.hc-mk{grid-template-columns:1fr 1fr}}

/* cards */
.hc-grid,.hc-grid2{display:grid;gap:18px;perspective:1200px}
.hc-grid{grid-template-columns:repeat(3,1fr)}.hc-grid2{grid-template-columns:1fr 1fr}
@media(max-width:960px){.hc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.hc-grid,.hc-grid2{grid-template-columns:1fr}}
.hc-card{position:relative;display:flex;flex-direction:column;background:var(--card,#fff);color:var(--ink,#101828);text-decoration:none;
  border:1px solid #dfe9e4;border-radius:20px;overflow:hidden;transform-style:preserve-3d;transition:transform .25s ease,box-shadow .25s ease;
  box-shadow:0 1px 0 #fff inset,0 8px 0 -2px #cfe3da,0 10px 0 -2px #0a7a5c22,0 22px 30px -12px #0a7a5c55}
.hc-card:hover{border-color:var(--gold,#F2B84B);box-shadow:0 12px 0 -2px #cfe3da,0 14px 0 -2px #F2B84B66,0 34px 44px -14px #0a7a5c77}
.hc-head{display:flex;align-items:center;gap:12px;padding:16px 18px 12px;background:linear-gradient(180deg,var(--green-soft,#E7F5EF),transparent);
  border-bottom:1px solid #e3efe9;transform:translateZ(30px)}
.hc-head b{font-size:16px;display:block}.hc-head small{display:block;color:var(--muted,#5b6474);font-size:12px}
.hc-tag{margin-inline-start:auto;font-size:11px;background:var(--gold-soft,#FEF3C7);color:#8a5a00;border-radius:10px;padding:1px 8px;font-weight:700}
.hc-ic{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(145deg,#12a07a,#065C45);box-shadow:0 6px 0 #04412f,0 10px 18px #0a7a5c55,inset 0 2px 0 #ffffff55;transform:translateZ(20px) rotateX(10deg)}
.hc-ic svg{width:22px;height:22px;stroke-width:2.2}
.hc-ic3{width:64px;height:64px;border-radius:18px;background:linear-gradient(145deg,#ffd27a,#d99a1e);box-shadow:0 7px 0 #a8730d,0 14px 24px #d99a1e66,inset 0 2px 0 #fff8;transform:none}
.hc-ic3 svg{width:32px;height:32px}
.hc-big{display:flex;gap:10px;padding:12px 18px 0;transform:translateZ(18px)}
.hc-big div{flex:1;background:var(--green-soft,#E7F5EF);border-radius:12px;padding:8px 10px}
.hc-big span{display:block;font-size:12px;color:var(--muted,#5b6474)}.hc-big b{font-size:20px;color:var(--green-dark,#065C45)}
.hc-rows{display:flex;flex-direction:column;gap:6px;padding:12px 18px 6px;font-size:14px;transform:translateZ(18px)}
.hc-rows div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed var(--line,#e4e8ef);padding-bottom:4px}
.hc-rows div:first-child{border-bottom:2px solid var(--gold,#F2B84B)}
.hc-rows div:first-child span:last-child{color:var(--green,#0A7A5C);font-weight:800}
.hc-note{margin:2px 0 0;font-size:12px;color:var(--muted,#5b6474)}
.hc-bl{filter:blur(5px);user-select:none}
.hc-more{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding:10px 18px 14px;color:var(--green-dark,#065C45);
  font-weight:700;font-size:14px;border-top:1px solid #eef3f0;transform:translateZ(10px)}
.hc-more i{font-style:normal;width:24px;height:24px;border-radius:50%;background:var(--gold,#F2B84B);color:#101828;display:grid;place-items:center;font-size:13px}
.hc-cur:after{content:"";display:inline-block;width:2px;height:1em;background:var(--green,#0A7A5C);margin-inline-start:2px;vertical-align:-2px;animation:hc-bk .7s steps(1) infinite}
@keyframes hc-bk{50%{opacity:0}}

/* the two trade cards */
.hc-trade{border:2px solid var(--green,#0A7A5C);box-shadow:0 8px 0 -2px #06573f,0 24px 34px -12px #0a7a5c88}
.hc-trade .hc-head{background:linear-gradient(135deg,var(--green,#0A7A5C),var(--green-dark,#065C45));color:#fff;border:0}
.hc-trade .hc-head small{color:#ffffffcc}
.hc-trade .hc-ic{background:linear-gradient(145deg,#fff,#e8efe9);color:var(--green-dark,#065C45);box-shadow:0 5px 0 #0002,0 8px 14px #0003,inset 0 2px 0 #fff}
.hc-long{border-color:var(--gold,#F2B84B);box-shadow:0 8px 0 -2px #c98c17,0 24px 34px -12px #d99a1e88}
.hc-long .hc-head{background:linear-gradient(135deg,var(--gold,#F2B84B),#e9a62c);color:#101828}.hc-long .hc-head small{color:#3d2a00}
.hc-long .hc-big div{background:var(--gold-soft,#FEF3C7)}
.hc-lock{position:absolute;inset-inline-end:14px;top:14px;z-index:3;font-size:11px;background:#fff;color:var(--green-dark,#065C45);border-radius:10px;padding:1px 9px;font-weight:700}

/* banners */
.hc-ban{border-radius:20px;padding:24px 28px;display:flex;align-items:center;gap:20px;margin:28px 0 6px;flex-wrap:wrap}
.hc-ban h3{margin:0;font-size:20px}.hc-ban p{margin:2px 0 0;opacity:.85}.hc-ban .hc-btn{margin-inline-start:auto}
.hc-gold{background:linear-gradient(120deg,var(--gold-soft,#FEF3C7),#fde7a8);color:#101828}.hc-gold .hc-btn{background:var(--green-dark,#065C45);color:#fff}
.hc-gold .hc-ic3{background:linear-gradient(145deg,#12a07a,#065C45);box-shadow:0 7px 0 #04412f,0 14px 24px #0a7a5c55,inset 0 2px 0 #fff6}
.hc-dark{background:#101828;color:#fff}.hc-dark h3{color:#fff}

@media(prefers-reduced-motion:reduce){.hc-s3d *{animation:none!important}.hc-line{stroke-dashoffset:0}.hc-area,.hc-dot{opacity:1}.hc-card{transform:none!important}}

/* «أسهم تحت الرادار» date chip (operator 2026-11-19) */
.hc-date { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; margin-inline-start: 8px; border-radius: 999px; background: rgba(10, 122, 92, .1); color: #0A7A5C; border: 1px solid rgba(10, 122, 92, .35); vertical-align: middle; }

/* «آراء ومقترحات الأعضاء» in the home card style (operator 2026-11-19) */
.hc-seclink{font-size:13px;font-weight:600;color:var(--green,#0A7A5C);margin-inline-start:12px;text-decoration:none;vertical-align:middle}
.hc-fbgrid{display:grid;gap:18px;grid-template-columns:repeat(4,1fr);perspective:1200px;margin-bottom:22px}
@media (max-width:1100px){.hc-fbgrid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.hc-fbgrid{grid-template-columns:1fr}}
.hc-fbc .hc-head{position:relative}
.hc-fbav{margin-inline-start:auto;width:38px;height:38px;border-radius:50%;overflow:hidden;flex:none;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.hc-fbav svg,.hc-fbav img{width:100%;height:100%;display:block}
.hc-fbmsg{position:relative;margin:0;padding:12px 18px 8px;font-size:14px;line-height:1.75;flex:1}
.hc-fbmsg>span{position:absolute;top:-6px;inset-inline-end:14px;font-size:44px;line-height:1;color:var(--gold,#F2B84B);opacity:.55;font-family:Georgia,serif}
.hc-fbrep{margin:0 18px 16px;padding:10px 12px;border-radius:12px;background:var(--green-soft,#E7F5EF);font-size:13px;line-height:1.7;border-inline-start:3px solid var(--green,#0A7A5C)}
.hc-fbrh{display:block;font-weight:700;color:var(--green-dark,#065C45);margin-bottom:2px}
.hc-fbrh b{display:inline-block;margin-inline-start:6px;padding:0 8px;border-radius:999px;background:#0A7A5C;color:#fff;font-size:11px}
.hc-fbc.fb-complaint .hc-ic{background:linear-gradient(160deg,#c0603b,#8f3f22)}
.hc-fbc.fb-enhancement .hc-ic{background:linear-gradient(160deg,#d9a23a,#a8761c)}

/* «صفقات المدى الأطول» mini cards (operator 2026-11-20) */
.hc-mdate { display: inline-block; margin: 2px 0 10px; padding: 3px 10px; border-radius: 999px; background: rgba(242, 184, 75, .18); font-weight: 700; font-size: .85rem; }
.hc-down { border: 1px solid rgba(192, 57, 43, .35); background: rgba(192, 57, 43, .06); border-radius: 12px; padding: 10px 12px; }
.hc-down p { margin: 6px 0 0; font-size: .88rem; line-height: 1.7; }
.hc-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.hc-mini { border: 1px solid var(--line, #e5e7eb); border-radius: 12px; padding: 10px; background: var(--card, #fff); box-shadow: 0 2px 8px rgba(0, 0, 0, .05); display: grid; gap: 8px; transition: box-shadow .2s, transform .2s; }
.hc-mini.hc-typing { box-shadow: 0 0 0 2px #F2B84B, 0 6px 16px rgba(242, 184, 75, .25); transform: translateY(-2px); }
.hc-mh { display: flex; align-items: center; gap: 8px; }
.hc-mh > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hc-mh b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-mh .stk-logo { width: 30px; height: 30px; }
.hc-nologo { display: inline-block; border-radius: 50%; background: var(--line, #e5e7eb); }
.hc-mp { display: flex; flex-direction: column; align-items: flex-end; }
.hc-ml { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; }
.hc-ml > div { background: rgba(0, 0, 0, .03); border-radius: 8px; padding: 4px 2px; display: flex; flex-direction: column; }
.hc-ml small, .hc-mp small { font-size: .7rem; color: var(--muted, #6b7280); }
.hc-ml b { font-size: .85rem; }
.hc-mini.hc-mlock b, .hc-mini.hc-mlock small[dir] { filter: blur(5px); user-select: none; }
.hc-mdate, .hc-minis, .hc-down { margin-inline: 18px; }
.hc-minis { grid-template-columns: 1fr; position: relative; }
.hc-mini:not(.hc-show) { display: none; }
.hc-mini.hc-skel b:empty, .hc-mini.hc-skel small[dir]:empty { display: block; min-height: 1em; min-width: 3em; border-radius: 6px; background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.12), rgba(0,0,0,.06)); background-size: 200% 100%; animation: hcSk 1.2s linear infinite; }
@keyframes hcSk { to { background-position: -200% 0; } }
.hc-mini.hc-skel .stk-logo { opacity: .25; transition: opacity .4s; }
.hc-mini { min-width: 0; overflow: hidden; }
.hc-mh { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; }
.hc-mh > div { overflow: hidden; }
.hc-mh b, .hc-mh small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-ml > div { min-width: 0; }
.hc-ml b { font-size: .8rem; }
.hc-mdate { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hc-mpos { direction: ltr; unicode-bidi: isolate; font-size: .75rem; color: var(--muted, #6b7280); }
.hc-mwait { margin: 8px 18px 0; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .035); font-size: .78rem; line-height: 1.7; color: var(--muted, #6b7280); }
.hc-rules .hc-rows > div { justify-content: flex-start; }
.hc-grid2 > .hc-rules { grid-column: 1 / -1; }
.hc-rules .hc-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 24px; }
/* «نتائج أعمال الشركات» home card (operator 2026-11-22) */
.hc-rper { justify-self: start; display: inline-block; font-size: .76rem; background: rgba(242, 184, 75, .18); border-radius: 999px; padding: 2px 10px; }
.hc-ramt b { font-size: 1.15rem; font-weight: 800; }
.hc-ramt small { font-size: .74rem; color: var(--muted, #6b7280); }
.hc-ramt.up b, .hc-rchg.up { color: #15803d; }
.hc-ramt.down b, .hc-rchg.down { color: #c0392b; }
.hc-rchg { font-size: .8rem; }
.hc-rmini .hc-mh { grid-template-columns: 30px minmax(0, 1fr); }
.hc-rmini.hc-skel span.hc-tw:empty { display: block; min-height: 1em; min-width: 6em; border-radius: 6px; background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.12), rgba(0,0,0,.06)); background-size: 200% 100%; animation: hcSk 1.2s linear infinite; }

/* «مصداقية الإشارات» card (operator 2026-11-23): signal · verdict · count · one stock */
.hc-srows{display:flex;flex-direction:column;gap:6px;padding:12px 18px 6px;font-size:13px;transform:translateZ(18px)}
.hc-srows div{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;border-bottom:1px dashed var(--line,#e4e8ef);padding-bottom:5px}
.hc-sname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hc-sv{font-size:11px;font-weight:700;padding:1px 8px;border-radius:999px;white-space:nowrap}
.hc-sv-good{background:#E7F6EC;color:#067647}.hc-sv-weak{background:#EEF4FF;color:#3538CD}.hc-sv-coin{background:#F2F4F7;color:#475467}
.hc-sv-bad{background:#FEF3F2;color:#B42318}.hc-sv-few{background:#FFFAEB;color:#B54708}
.hc-sn{color:var(--muted,#667085);white-space:nowrap}
.hc-ssym{color:var(--green,#0A7A5C);font-weight:800;min-width:48px;text-align:left}
