/* Screen time by age (/had-masa-skrin-anak/ and /en/screen-time-by-age/). Loads after site.css,
   seasons.css and answers.css and reuses their tiles. Adds only the by-age table, the four age
   band tiles with dot lists, and the numbered source list. Tokens only. */

/* by-age table: the activity column sheds on phones, the source column stays */
.st-table { margin: 0 0 var(--s4); }
.st-table table { font-size: var(--t-small); }
.st-table th, .st-table td { padding: var(--s4) var(--s5) var(--s4) 0; line-height: 1.45; vertical-align: top; text-align: left; }
.st-table thead th { border-bottom-color: var(--border); color: var(--muted); font-size: var(--t-meta); font-weight: var(--wt-strong); }
.st-table tbody th { font-weight: var(--wt-strong); width: 8.5rem; }
.st-table td b { font-weight: var(--wt-strong); }
.st-table td:last-child { padding-right: 0; color: var(--muted); font-size: var(--t-meta); }
.st-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 39.99rem) { .st-table .st-shed { display: none; } .st-table tbody th { width: 6rem; } }

/* four age bands: tiles in a 2 x 2 grid from tablet */
.st-bands { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 46rem) { .st-bands { grid-template-columns: repeat(2, 1fr); gap: var(--s5); } }
.st-bands > li { margin: 0; background: var(--tile); border-radius: var(--radius-card); padding: var(--s8) var(--pad-card); }
.st-bands .s-clay { width: 96px; height: 96px; margin: 0 0 var(--s4) -6px; }
.st-bands h3 { margin: 0 0 var(--s1); }
.st-limit { margin: 0 0 var(--s5); font-weight: var(--wt-medium); color: var(--text); }
.st-dots { margin: 0; padding-left: 1.1em; list-style: disc; }
.st-dots li { margin: 0 0 var(--s2); color: var(--muted); font-size: var(--t-body); line-height: 1.5; }
.st-dots li:last-child { margin-bottom: 0; }
.st-dots b { color: var(--text); font-weight: var(--wt-strong); }
@media (max-width: 45.99rem) {
  .st-bands > li { padding: var(--s6) var(--s5); }
  .st-bands .s-clay { width: 72px; height: 72px; margin: 0 0 var(--s3); }
}

/* questions before a first phone and the warning signs: plain dot lists inside the feature tile */
.s-feature .st-dots { margin: 0 0 var(--s4); }

/* sources: a numbered list at small size, links in full colour */
.st-src { max-width: 72ch; margin: 0; padding-left: 1.3em; }
.st-src li { margin: 0 0 var(--s3); color: var(--muted); font-size: var(--t-small); line-height: 1.5; }
.st-src a { font-weight: var(--wt-medium); }
@media (max-width: 39.99rem) { .st-table td:nth-child(3) { padding-right: 0; } }
