/* Founding a nation in the Mini App, and «شروع دوباره» after losing every city. */

.st-page { display: grid; gap: 12px; padding-bottom: 28px; }
.st-card { display: grid; gap: 10px; }
.st-card h3 { margin: 0; font-size: 17px; }
.st-lead { margin: 0; line-height: 1.9; color: var(--text); }
.st-err { margin: 0; color: var(--red); font-size: 13px; }
.st-back { justify-self: center; }

.st-steps { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.st-steps li { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--edge); color: var(--text-3); font-size: 13px; }
.st-steps li.on { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--sk-ffd278, 255, 210, 120), .14); }
.st-steps li.done { background: var(--gold); border-color: var(--gold); color: var(--bg0); }

.st-rules { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; line-height: 1.8; color: var(--text-2); }
.st-starter, .st-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-starter > div, .st-summary > div { display: grid; gap: 2px; padding: 8px; border-radius: 12px;
  background: var(--glass1); border: 1px solid var(--edge); min-width: 0; }
.st-starter small, .st-summary small { color: var(--text-3); font-size: 11px; }
.st-starter b, .st-summary b { font-size: 13px; overflow-wrap: anywhere; }

.st-govs, .st-sites { display: grid; gap: 10px; }
.st-gov { display: grid; gap: 4px; text-align: start; font: inherit; color: inherit; cursor: pointer; }
.st-gov.on, .st-site.on { border-color: var(--gold); }
.st-plus, .st-minus { font-size: 12.5px; line-height: 1.7; padding-inline-start: 16px; position: relative; color: var(--text-2); }
.st-plus::before, .st-minus::before { position: absolute; inset-inline-start: 0; font-weight: 700; }
.st-plus::before { content: "+"; color: var(--green); }
.st-minus::before { content: "−"; color: var(--red); }

.st-site { display: grid; gap: 6px; }
.st-site-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.st-site-top b { font-size: 15px; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.st-tags span { font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: var(--glass2); border: 1px solid var(--edge); }

.st-wait { text-align: center; justify-items: center; }
.st-clock { display: grid; gap: 4px; padding: 14px 22px; border-radius: 16px; border: 1px solid var(--gold);
  background: var(--glass1); }
.st-clock small { color: var(--text-3); }
.st-clock b { font-size: 26px; color: var(--gold); font-variant-numeric: tabular-nums; }

.st-restart-card { display: grid; gap: 8px; border: 1px solid var(--gold);
  background: linear-gradient(160deg, rgba(var(--sk-ffc45c, 255, 196, 92), .14), transparent 70%), var(--panel1); }
.st-restart-card p { margin: 0; line-height: 1.8; color: var(--text-2); }
.st-rc-head { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 16px; }
.st-restart-card { overflow: hidden; }
.st-rc-head svg, .st-rc-head .ic { width: 24px; height: 24px; flex: none; }
.st-rc-go { width: 100%; margin: 0; box-sizing: border-box; }
