/* 📣 RAKAN Shouts page (owner 2026-10-29) — own colour identity: emerald → lime (#10b981 → #a3e635), scoped to body.shx.
   Gold = leaderboard, violet = trending, blue = the rest of the site, emerald = Shouts (the Telegram shout picture uses the same accent).
   Built on lb.css (scene, variables, base) — no inline styles (CSP). */
body.shx { --bg: #020c0a; --glass: rgba(10, 40, 32, .5); --glass2: rgba(12, 52, 40, .66); --line: rgba(110, 231, 183, .12); --line2: rgba(110, 231, 183, .24);
  --acc: #10b981; --acc2: #a3e635; --accg: linear-gradient(120deg, #10b981, #a3e635); --text: #dcf5ea; --mute: #8fb3a4; --dim: #5f8274; padding-bottom: 40px; }
.shx .scene::before { background: radial-gradient(640px 360px at 50% 22%, rgba(16, 185, 129, .2), transparent 70%), radial-gradient(520px 300px at 12% 8%, rgba(163, 230, 53, .1), transparent 70%), radial-gradient(460px 280px at 90% 16%, rgba(45, 212, 191, .1), transparent 70%); }
.shx .floor i { background-image: linear-gradient(rgba(52, 211, 153, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(52, 211, 153, .13) 1px, transparent 1px); }
.shm { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 26px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
/* hero */
.shh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; margin-bottom: 18px; }
.shk { display: inline-flex; align-items: center; gap: 8px; font: 700 .72rem/1 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--acc2); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(16, 185, 129, .08); }
.shk i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 0 0 rgba(163, 230, 53, .6); animation: shPulse 1.8s infinite; }
@keyframes shPulse { 70% { box-shadow: 0 0 0 9px rgba(163, 230, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); } }
.shh h1 { margin: 12px 0 6px; font: 800 clamp(2rem, 5.4vw, 3.3rem)/1.05 Sora, 'IBM Plex Sans Arabic', sans-serif; color: #fff; letter-spacing: -.02em; }
.shh h1 em { font-style: normal; background: var(--accg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shsub { margin: 0; color: var(--mute); max-width: 62ch; }
.shstats { display: flex; gap: 10px; flex-wrap: wrap; }
.shstat { min-width: 112px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--glass); backdrop-filter: blur(10px); }
.shstat b { display: block; font: 800 1.35rem/1.1 Sora, sans-serif; color: #fff; }
.shstat span { font-size: .76rem; color: var(--mute); }
/* filters */
.shbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 6px 0 16px; }
.shtags { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.shchip { appearance: none; border: 1px solid var(--line2); background: var(--glass); color: var(--text); font: 600 .84rem/1 Inter, 'IBM Plex Sans Arabic', sans-serif; padding: 9px 13px; border-radius: 999px; cursor: pointer; }
.shchip:hover { border-color: rgba(163, 230, 53, .5); }
.shchip[aria-pressed="true"] { color: #04140d; background: var(--accg); border-color: transparent; }
.shseg { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line2); background: var(--glass); }
.shseg button { appearance: none; border: 0; background: none; color: var(--mute); font: 700 .8rem/1 'JetBrains Mono', monospace; padding: 8px 12px; border-radius: 9px; cursor: pointer; }
.shseg button[aria-pressed="true"] { color: #04140d; background: var(--acc2); }
.shwho { display: none; align-items: center; gap: 8px; margin: -6px 0 14px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(16, 185, 129, .08); color: var(--text); font-size: .9rem; }
.shwho.on { display: flex; }
.shwho button { margin-inline-start: auto; appearance: none; border: 1px solid var(--line2); background: none; color: var(--acc2); border-radius: 8px; padding: 6px 10px; cursor: pointer; font: 600 .8rem/1 Inter, sans-serif; }
/* layout */
.shgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.shfeed { display: grid; gap: 14px; min-width: 0; }
/* a shout card */
.shc { position: relative; padding: 16px 16px 14px; border-radius: 18px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(14, 54, 42, .78), rgba(6, 26, 20, .86)); overflow: hidden; min-width: 0; }
.shc::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accg); opacity: .8; }
.shc.hr::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.shc-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.shlogo { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem/1 Sora, sans-serif; color: #04140d; background: var(--accg); overflow: hidden; box-shadow: 0 0 0 2px rgba(163, 230, 53, .35); }
.shlogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shc-id { min-width: 0; flex: 1 1 auto; }
.shc-sym { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shc-sym a { color: #fff; text-decoration: none; font: 800 1.2rem/1.1 Sora, sans-serif; overflow-wrap: anywhere; }
.shc-sym a:hover { text-decoration: underline; text-decoration-color: var(--acc2); }
.shnet { font: 600 .72rem/1 Inter, sans-serif; color: #bae6fd; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .08); }
.shtime { font-size: .78rem; color: var(--dim); }
.shx-big { flex: 0 0 auto; text-align: end; }
.shx-big b { display: block; font: 800 1.55rem/1 Sora, sans-serif; color: #fff; }
.shx-big b.shhit { color: #bef264; }
.shx-big span { font-size: .72rem; color: var(--mute); }
.shc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.shtag { font: 600 .76rem/1 Inter, 'IBM Plex Sans Arabic', sans-serif; padding: 6px 10px; border-radius: 999px; color: #d9f99d; border: 1px solid rgba(163, 230, 53, .35); background: rgba(163, 230, 53, .08); }
.shv { font: 700 .76rem/1 Inter, 'IBM Plex Sans Arabic', sans-serif; padding: 6px 10px; border-radius: 999px; border: 1px solid; }
.shv.v-low { color: #86efac; border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .1); }
.shv.v-cau { color: #fcd34d; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1); }
.shv.v-high { color: #fca5a5; border-color: rgba(239, 68, 68, .55); background: rgba(239, 68, 68, .12); }
.shv.v-na { color: #cbd5e1; border-color: rgba(148, 163, 184, .4); background: rgba(148, 163, 184, .08); }
.shmc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: .86rem; color: var(--mute); }
.shmc b { color: #fff; font-family: 'JetBrains Mono', monospace; }
.shmc .ar { color: var(--acc2); }
.shthesis { margin: 12px 0 0; padding: 10px 12px; border-inline-start: 3px solid var(--acc); border-radius: 0 10px 10px 0; background: rgba(16, 185, 129, .07); color: var(--text); font-size: .92rem; overflow-wrap: anywhere; }
html[dir="rtl"] .shthesis { border-radius: 10px 0 0 10px; }
.shc-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.shby { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); min-width: 0; }
.shby:hover .shnm { color: #fff; text-decoration: underline; }
.shav { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 .8rem/1 Sora, sans-serif; color: #04140d; background: linear-gradient(140deg, #34d399, #a3e635); overflow: hidden; }
.shav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shnm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.shlv { font-size: .76rem; color: var(--mute); white-space: nowrap; }
.shreact { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-inline-start: auto; }
.shreact span { font-size: .8rem; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); }
.shacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.shbtn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font: 700 .8rem/1 Inter, 'IBM Plex Sans Arabic', sans-serif; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line2); color: var(--text); background: var(--glass); }
.shbtn:hover { border-color: rgba(163, 230, 53, .55); color: #fff; }
.shbtn.pri { color: #04140d; background: var(--accg); border-color: transparent; }
/* side: top shouters */
.shside { position: sticky; top: 84px; display: grid; gap: 14px; }
.shpanel { padding: 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--glass); backdrop-filter: blur(12px); }
.shpanel h2 { margin: 0 0 4px; font: 800 1.05rem/1.2 Sora, 'IBM Plex Sans Arabic', sans-serif; color: #fff; }
.shpanel p.s { margin: 0 0 12px; font-size: .8rem; color: var(--mute); }
.shtop { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shtop li { display: grid; grid-template-columns: 22px 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.shtop .rk { font: 800 .82rem/1 'JetBrains Mono', monospace; color: var(--acc2); }
.shtop .who { min-width: 0; }
.shtop .who a { display: block; color: #fff; font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shtop .who small { display: block; color: var(--mute); font-size: .74rem; }
.shfollow { font: 700 .74rem/1 Inter, 'IBM Plex Sans Arabic', sans-serif; text-decoration: none; padding: 7px 9px; border-radius: 9px; color: #04140d; background: var(--accg); white-space: nowrap; }
.shhow { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .84rem; color: var(--mute); }
.shhow b { color: #fff; }
.shnote { margin: 18px auto 0; max-width: 780px; text-align: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--glass); color: var(--mute); font-size: .86rem; }
.shnote b { color: #fff; }
.shempty { padding: 28px 18px; text-align: center; border-radius: 18px; border: 1px dashed var(--line2); color: var(--mute); }
.shempty b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.shsk { height: 168px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(16, 185, 129, .05), rgba(163, 230, 53, .09), rgba(16, 185, 129, .05)); background-size: 200% 100%; animation: shSk 1.4s linear infinite; }
@keyframes shSk { to { background-position: -200% 0; } }
.shrise { animation: shRise .45s ease both; }
@keyframes shRise { from { opacity: 0; transform: translateY(10px); } }
.shfoot { position: relative; z-index: 1; margin-top: 18px; padding: 18px 16px; border-top: 1px solid var(--line); text-align: center; font-size: .84rem; color: var(--mute); }
.shfoot a { color: var(--text); margin: 0 8px; text-decoration: none; }
.shfoot a:hover { color: var(--acc2); }
@media (max-width: 980px) { .shgrid { grid-template-columns: minmax(0, 1fr); } .shside { position: static; } .shh { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .shm { padding-top: 16px; } .shstat { min-width: 0; flex: 1 1 30%; } .shx-big b { font-size: 1.25rem; } .shlogo { width: 42px; height: 42px; } .shreact { margin-inline-start: 0; } .shtags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .shtags::-webkit-scrollbar { display: none; } .shchip { flex: 0 0 auto; } }
@media (prefers-reduced-motion: reduce) { .shk i, .shsk, .shrise { animation: none; } }
html[dir="rtl"] .shk, html[dir="rtl"] .shseg button { font-family: 'IBM Plex Sans Arabic', Inter, sans-serif; letter-spacing: 0; text-transform: none; }
.shtop li.shempty { display: block; grid-template-columns: none; padding: 22px 16px; font-size: .86rem; line-height: 1.5; } /* the empty line is plain text, not a ranked row */
