:root { --accent: #16A6C9; --bg: #0a1120; --card: #131d33; --text: #eef3ff; --muted: #a9b6d3; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); line-height: 1.7;
  font-family: "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
  background: var(--bg);
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 28%, var(--bg)) 0%, var(--bg) 60%) fixed, var(--bg);
}
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 18px calc(32px + env(safe-area-inset-bottom)); }
a { color: inherit; }
.brand a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--muted); }
.brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.hero { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin: 14px 0 10px;
  box-shadow: 0 12px 40px rgb(0 0 0 / .45), 0 0 0 1px rgb(255 255 255 / .06); }
h1 { font-size: 1.9rem; line-height: 1.3; margin: 10px 0 2px; }
h2 { font-size: 1.15rem; margin: 0 0 6px; }
.tag { color: var(--muted); margin: 0 0 16px; font-size: 1.05rem; }
.status { background: var(--card); border-radius: 16px; padding: 14px 16px; border: 1px solid rgb(255 255 255 / .07); }
.status .row { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.status .sub { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
.status[data-state="done"] .dot { background: #2fd27a; animation: none; }
.status[data-state="other"] .dot { background: #f5b83d; animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.btn { display: block; text-align: center; text-decoration: none; font-weight: 800; font-size: 1.2rem; margin: 14px 0 6px;
  padding: 15px 18px; border-radius: 16px; color: #fff; background: var(--accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn:active { transform: translateY(1px); }
.small { color: var(--muted); font-size: .9rem; margin: 6px 0; }
.steps { margin-top: 22px; background: var(--card); border-radius: 16px; padding: 14px 16px; border: 1px solid rgb(255 255 255 / .07); }
.steps ol { margin: 0; padding-inline-start: 1.3em; }
.steps li { margin: 6px 0; }
footer { margin-top: 22px; text-align: center; }
footer a { color: var(--muted); }
.cards { display: grid; gap: 14px; }
.card { display: block; text-decoration: none; background: var(--card); border-radius: 18px; overflow: hidden;
  border: 1px solid rgb(255 255 255 / .07); box-shadow: 0 8px 28px rgb(0 0 0 / .35); }
.card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { display: grid; gap: 2px; padding: 12px 14px 14px; }
.card-body strong { font-size: 1.25rem; }
.card-body span { color: var(--muted); }
.card-body em { font-style: normal; font-weight: 700; color: var(--accent); }
