/* «اشحن جنيهات» (shop.alzalat.com): the road-sign look of the game and of alzalat.com (about/about.css), on its own
   site: the fonts are served from here (fonts/, OFL), nothing from elsewhere */
@font-face { font-family: 'Lalezar'; font-display: swap; font-weight: 400; src: url(fonts/lalezar-arabic-400-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Lalezar'; font-display: swap; font-weight: 400; src: url(fonts/lalezar-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-display: swap; font-weight: 400; src: url(fonts/readex-pro-arabic-400-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Readex Pro'; font-display: swap; font-weight: 400; src: url(fonts/readex-pro-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-display: swap; font-weight: 600; src: url(fonts/readex-pro-arabic-600-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Readex Pro'; font-display: swap; font-weight: 600; src: url(fonts/readex-pro-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #11161c;
  --ink-2: #1a2129;
  --line: #2a333e;
  --text: #f6f3ea;
  --muted: #a9b3bd;
  --yellow: #f5c400;
  --yellow-ink: #1a1400;
  --yellow-shadow: #8a6e00;
  --green: #0b6b3a;
  --good: #7ee2a8;
  --bad: #ff8a80;
  --display: 'Lalezar', 'Readex Pro', sans-serif;
  --body: 'Readex Pro', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.8 var(--body); }
a { color: var(--yellow); }
main { max-width: 560px; margin: 0 auto; padding: 24px 16px 40px; }

header { text-align: center; padding: 8px 0 6px; }
.logo { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--yellow); -webkit-text-stroke: 1.5px var(--yellow-ink); text-shadow: 0 3px 0 var(--yellow-ink); margin: 0; }
.sign-tag { display: inline-block; margin-top: 10px; background: var(--green); border: 2px solid #fff; border-radius: 8px; padding: 2px 14px; color: #fff; font-weight: 600; font-size: 15px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.3; margin: 0; }
h1 { font-size: 30px; text-align: center; margin: 18px 0 4px; }
h2 { font-size: 22px; color: var(--yellow); }
p { margin: 0 0 8px; }
.lead { text-align: center; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }

/* the six cards, like a price board */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 4px; padding: 0; list-style: none; }
.values li { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 6px 4px 4px; text-align: center; font-family: var(--display); font-size: 22px; line-height: 1.2; color: var(--yellow); }
.values li small { display: block; font: 600 12px var(--body); color: var(--muted); }

.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 16px 0; }
.step { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.step.second { margin-top: 14px; }
.step b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); font-family: var(--display); font-weight: 400; font-size: 18px; }
label { display: block; font-weight: 600; margin: 10px 0 4px; }
.hint { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
input { width: 100%; min-height: 56px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--ink); color: var(--text);
  font: 600 24px var(--body); letter-spacing: 0.08em; direction: ltr; text-align: center; }
input::placeholder { color: #55606b; letter-spacing: 0.08em; }
input:focus { outline: none; border-color: var(--yellow); }
input:disabled { opacity: 0.7; }

button { width: 100%; min-height: 56px; margin-top: 14px; border: 0; border-radius: 16px; font: 24px var(--display); cursor: pointer; }
.go { background: var(--yellow); color: var(--yellow-ink); box-shadow: 0 5px 0 var(--yellow-shadow); }
.go:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--yellow-shadow); }
button:disabled { opacity: 0.55; cursor: default; transform: none; }
.plain { background: transparent; color: var(--yellow); min-height: 44px; margin-top: 6px; font: 600 16px var(--body); text-decoration: underline; }

.who { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(11, 107, 58, 0.25); border: 1px solid var(--green); }
.who span { font-weight: 600; }
.who bdi { font-family: var(--display); font-size: 22px; color: var(--good); }

.status { min-height: 1.8em; margin: 12px 0 0; font-weight: 600; text-align: center; }
.status.bad { color: var(--bad); }
.status.ok { color: var(--good); }

.done { text-align: center; }
.done .amount { font-family: var(--display); font-size: 48px; line-height: 1.1; color: var(--yellow); margin: 6px 0; }

.rules { padding-inline-start: 20px; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.rules li { margin-bottom: 4px; }
footer { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
[hidden] { display: none !important; }
