/* pagesay.app: те же бумага, чернила и маркер, что в панели расширения; полоса вверху — как проигрыватель панели */
:root {
  --paper: #fcfcfd; --ink: #1f2430; --muted: #646b7a; --rule: #e2e5ec; --marker: #fff1a8;
  --deck: #1f2430; --deck-ink: #eef0f5; --key: #ffd95a; --link: #3346d3;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #16181d; --ink: #e6e8ee; --muted: #9aa1b0; --rule: #2b2f38; --marker: #5a4c14; --deck: #262a33; --deck-ink: #e6e8ee; --key: #f0cf55; --link: #8b97ff; }
}
@font-face { font-family: Literata; font-weight: 400 700; font-display: swap; src: url(/literata-latin.woff2) format('woff2'); }
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 Literata, Georgia, serif; font-optical-sizing: auto; }
a { color: var(--link); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.deck { background: var(--deck); color: var(--deck-ink); }
.deck nav { display: flex; align-items: center; gap: 20px; max-width: 46rem; margin: 0 auto; padding: 10px 16px; font: 15px/1.4 system-ui, sans-serif; }
.deck .home { display: flex; align-items: center; gap: 10px; margin-right: auto; color: inherit; text-decoration: none; font: 600 19px/1 Literata, Georgia, serif; }
.deck .home img { width: 32px; height: 32px; }
.deck a { color: inherit; }
.deck a[aria-current] { text-decoration: none; color: var(--key); }

main { max-width: 40rem; margin: 0 auto; padding: 40px 16px 64px; overflow-wrap: break-word; }
h1 { font-size: 2.1rem; line-height: 1.15; font-weight: 650; margin: 0 0 .6em; text-wrap: balance; }
h2 { font-size: 1.3rem; line-height: 1.25; font-weight: 650; margin: 2em 0 .5em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
.meta { color: var(--muted); font: 15px/1.4 system-ui, sans-serif; }
mark { background: var(--marker); color: inherit; border-radius: 3px; padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: 1.45rem; line-height: 1.55; }
.soon { display: inline-block; margin-top: .5em; padding: 10px 18px; border-radius: 22px; background: var(--key); color: #1f2430; font: 600 16px/1.3 system-ui, sans-serif; }
.restrictions { padding-left: 1.4em; }
.restrictions li { margin-bottom: .6em; }
.licenses { padding-left: 1.2em; }

footer { border-top: 1px solid var(--rule); }
footer div { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 40rem; margin: 0 auto; padding: 20px 16px 32px; color: var(--muted); font: 15px/1.4 system-ui, sans-serif; }
footer a { color: inherit; }
