*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0c0f;
  --surface: #111318;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaed;
  --muted: #8b949e;
  --accent: #00d4ff;
  --accent-dim: rgba(0,212,255,0.12);
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --code-bg: #1a1d24;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans Arabic', 'Figtree', sans-serif;
  line-height: 1.95;
  font-size: 1.05rem;
  direction: rtl;
  text-align: right;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

header {
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo:hover { text-decoration: none; opacity: 0.85; }

.logo span { color: var(--text); }

.header-sep,
.header-label,
.header-links {
  color: var(--muted);
  font-size: 0.85rem;
}

.header-label a,
.header-links a {
  color: var(--muted);
}

.header-label a:hover,
.header-links a:hover {
  color: var(--text);
}

.header-links {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.post-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 16px;
  color: var(--text);
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  unicode-bidi: plaintext;
}

h2 {
  font-size: 1.32rem;
  font-weight: 600;
  margin: 40px 0 14px;
  color: var(--text);
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
}

p { margin-bottom: 18px; }

ul, ol {
  padding-right: 1.4em;
  padding-left: 0;
  margin-bottom: 18px;
}

li { margin-bottom: 6px; }

strong { color: var(--text); }

em { color: #d7dce2; }

code {
  font-family: 'DM Mono', monospace;
  font-size: 0.88em;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent);
  direction: ltr;
  unicode-bidi: plaintext;
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 22px 0;
  overflow-x: auto;
  font-family: 'DM Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #d4d9e0;
  direction: ltr;
  text-align: left;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.table-wrap { overflow-x: auto; margin: 28px 0; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.92rem;
}

.comparison-table th {
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.comparison-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.service-block,
.verdict-card,
.stat-card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.service-block {
  padding: 22px 26px;
  margin: 24px 0;
}

.service-block h3 { margin-top: 0; }

.service-block .verdict {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 4px;
  padding: 2px 8px;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.verdict-card { padding: 20px 22px; }

.verdict-card h3 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  color: var(--accent);
}

.verdict-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.verdict-card li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 5px;
  padding-right: 1em;
  position: relative;
}

.verdict-card li::before {
  content: "←";
  position: absolute;
  right: 0;
  color: var(--accent);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.status-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}

.status-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.status-row:last-child { border-bottom: none; }

.status-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 2px;
}

.works { background: rgba(74,222,128,0.12); color: var(--success); }
.blocked { background: rgba(248,113,113,0.12); color: var(--danger); }
.varies { background: rgba(251,191,36,0.12); color: var(--warning); }

.status-site {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.status-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
  margin: 48px 0 40px;
}

.cta-box p {
  margin-bottom: 20px;
  color: var(--muted);
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #0a0c0f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
}

.cta-btn:hover {
  opacity: 0.88;
  text-decoration: none;
}

.related {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.related h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 18px;
}

.related ul {
  list-style: none;
  padding: 0;
}

.related li { margin-bottom: 10px; }

.post-grid {
  display: grid;
  gap: 20px;
}

.post-card {
  padding: 28px 32px;
  transition: border-color 0.15s ease;
}

.post-card:hover { border-color: rgba(0,212,255,0.35); }

.post-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 10px 0;
}

.post-card h2 a { color: var(--text); }

.post-card h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.post-excerpt {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.yes { color: var(--success); }
.partial { color: var(--warning); }
.no { color: var(--danger); }

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

footer p { unicode-bidi: plaintext; }

footer a { color: var(--muted); }

footer a:hover { color: var(--text); }

@media (max-width: 700px) {
  main { padding-top: 44px; }
  .verdict-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  header {
    align-items: flex-start;
    gap: 10px;
  }

  .header-links {
    width: 100%;
    margin-inline-start: 0;
  }

  .post-card,
  .cta-box,
  .service-block,
  .verdict-card {
    padding: 22px 20px;
  }
}
