/* تحدي اليوم: نفس شاشات جوال اللاعب، ومعها البداية والنتيجة. */
.d-logo { display: block; width: max-content; margin: 8px auto 0; text-decoration: none; }
.d-band { margin: 18px 0 6px; }
.d-title { font-size: 38px; text-align: center; margin: 10px 0 14px; }
.d-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d-facts li { background: var(--up); border-radius: var(--r); padding: 12px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 14px; color: var(--wool-dim); }
.d-facts b { font-size: 32px; line-height: 1.1; color: var(--accent-text); }
.d-line { text-align: center; margin: 16px 0 4px; }
.d-players { text-align: center; font-size: 14px; margin: 0; }

.d-points { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 30px 0 18px; }
.d-points b { font-size: 64px; color: var(--accent-text); line-height: 1; }
.d-points span { font-size: 22px; font-weight: 600; }
.d-points span.exact { color: var(--accent-text); }
.d-answer { padding: 16px 18px; }
.d-answer p { margin: 0 0 8px; }
.d-answer #rAnswer { font-weight: 600; font-size: 18px; }
.d-fact:empty, .d-source:empty { display: none; }
.d-source { margin-bottom: 0 !important; overflow-wrap: anywhere; }
.d-src-link { color: var(--accent-text); direction: ltr; unicode-bidi: isolate; }

.daily #done { align-items: stretch; gap: 10px; }
.d-num { text-align: center; margin: 6px 0 0; }
.d-score { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.d-score b { font-size: 84px; line-height: 1; color: var(--accent-text); }
.d-score span { font-size: 22px; }
.d-marks { display: flex; justify-content: center; gap: 8px; margin: 4px 0; }
.d-marks .mk { width: 30px; height: 30px; border-radius: 7px; }
.d-marks .mk.hi { background: var(--saffron); }
.d-marks .mk.mid { background: linear-gradient(to top, var(--saffron) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--saffron); }
.d-marks .mk.lo { box-shadow: inset 0 0 0 2px var(--wool-faint); }
.d-better { text-align: center; font-weight: 600; font-size: 18px; margin: 0; }
.d-streak { text-align: center; margin: 0; }
.d-streak:empty { display: none; }
.d-next { padding: 16px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.d-next p { margin: 0 0 4px; }
.d-next .btn { background: var(--deep); text-decoration: none; text-align: center; }
.daily .btn.wide { display: block; width: 100%; padding: 12px; font-size: 20px; }
.small { font-size: 13px; }
.ok { color: var(--accent-text); min-height: 1em; margin: 0; }
.center { text-align: center; }

/* Shadow or real photo, for questions where both items have a photo (the choice stays on this phone). */
.view-switch { position: absolute; top: 8px; left: 8px; display: flex; background: var(--up); border-radius: 999px; padding: 3px; gap: 2px; }
.view-switch button { border: 0; background: transparent; color: var(--wool-dim); font: inherit; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.view-switch button.on { background: var(--saffron); color: var(--on-accent); }
