/* wanas-qa-polish.css · final QA (28 Oct). Loaded LAST in every Journal 1 and Style Diary build.
   Only readability (text contrast ≥ 4.5:1, big text ≥ 3:1) and phone tap targets (≥ 44px). No layout, text or colour-story changes. */

/* ---------- shared: darker teal for white-text buttons («← افتحي الجورنال», «Skip this page 😉» …) */
:root { --turq: #06747a; --v45-teal: #0e6b67; }

/* ---------- Journal 1 · text on light backgrounds */
.section-counter { color: #6b4a63 !important; }
.v45-vhead .v45-vsub { color: #0b5f5b !important; }
.v45-fisha header small { color: #0b5f5b !important; }
.v45-jname small, .v45-ep, .listen-series, .music-symbol-label { color: #74466a !important; }
.v45-series { color: #a3245b !important; }
.paper .hint:not(.v35-radio *):not(.v36-cinema *) { color: #67485f; }
.v37-proverbframe figcaption { color: #a3245b !important; }
.day-card summary small, .v36-weekopen span, .dare-option small { color: #6b4a5c !important; }
/* the big first line of a page takes the page's accent colour: keep the hue, make it readable */
.v35-prose > p:first-child { color: #5b3a66; color: color-mix(in srgb, var(--a, #7b4fc4) 60%, #1b0f22); }
/* ribbons («الجزء الأول»…) and small white-on-colour chips */
.paper.v36.v36.v36.v36 .v36-ribbon { background: color-mix(in srgb, var(--a, #e8478b) 70%, #1b0f22) !important; }
.paper.v36.v36.v36.v36 .v36-adv-fashion .v36-advkind { background: #b8285f !important; }
.paper .j31-rule-index { background: #b0215f !important; }
/* headings on dark panels got the page's plum colour from a later layer: give them back their light colour */
#main .reader-body .j31-listening-guide.v35-radio h2 { color: #ffd76d !important; }
#main .reader-body .v36-marquee.v36-marquee.v36-marquee h3 { color: #ffd76d !important; }
#main .reader-body h3.v36-bahead.v36-bahead.v36-bahead { color: #fff !important; }
/* «كارت الجرأة» ticket: white text on the light orange end of the gradient */
#main .reader-body .v36-dareticket p { color: #34123f !important; }
#main .v36-day .step-badge, #main .v36-day .finish-day { background: #b8285f !important; }
.v42-bc-arrow { color: #0e6b67; }

/* ---------- Style Diary · text */
.lb60-sunny { color: #94520a !important; }
.lbm-stone { color: #2b1238 !important; }
.wj47-way-n { color: #3d2a4a !important; font-size: 12px !important; }
html.wj44 .wj45-star span { color: #9a8670; }
.lb60-wn { background: #2c7a5e !important; }

/* ---------- phones: tap targets ≥ 44px */
@media (max-width: 600px) {
  .v72-q { min-height: 44px; }
  .v72-how .v72-q { min-width: 44px; }
  header.top #sizeDown, header.top #sizeUp { min-width: 44px; min-height: 44px; }
  header.top a.brand { min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; }
  #main .battery-clicker .battery-cell.battery-cell { min-width: 44px !important; }
  .placed-sticker .sticker-controls { flex-wrap: wrap !important; justify-content: center; }
  .placed-sticker .sticker-controls button { min-width: 44px !important; min-height: 44px !important; }
  /* Style Diary */
  .lb60-stbtn, .lbt-chip, .lbm-walk, .lb60-sw, .lb60-mini, .lb60-lean { min-height: 44px; min-width: 44px; }
  #stickersOpen.lb60-stbtn { min-width: 44px !important; }
  .paper details > summary { min-height: 44px; }
  html.wj44 .paper label:has(> input[type=checkbox]), html.wj44 .paper label:has(> input[type=radio]) { min-height: 44px; display: inline-flex; align-items: center; gap: .4em; }
  html.wj44 .paper input[type=checkbox], html.wj44 .paper input[type=radio] { min-width: 22px; min-height: 22px; }
}
@media (max-width: 420px) {
  /* the bigger A− / A+ buttons need a little room: keep the journal name on one line */
  header.top a.brand { font-size: 14.5px !important; letter-spacing: -.1px; }
}
