/* The app block in an article (lead 18.11.2026; tools/tatako_blog.py, with_app_block): a card in the text after the first paragraph, never
   a window. The headline, three lines with the tick of the "try this" cards, Start a lesson with the Google Play badge and the iPhone and
   iPad button, then the line to Nuri (its button: assets/nuri-ask.css). tools/tatako_postbuild.py links this file on the pages that hold
   the block. A file of its own and not theme.css: theme.css goes into every share card and pin, and any change there draws them all again. */
.app-block { margin: var(--s6) 0; padding: var(--s5) var(--s5) var(--s4); background: var(--shell); border-radius: var(--r); border-end-start-radius: var(--r-sharp); }
/* .app-block .app-block-h, not .app-block-h: the headline is a p, and .post-body p (theme.css) would give it its own margin */
.app-block .app-block-h { margin: 0 0 var(--s3); font: 600 clamp(19px, 2vw, 21px)/1.3 var(--head); color: var(--ink); }
.post-body .app-block ul { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.post-body .app-block li { position: relative; margin: 0.4em 0; padding-inline-start: 32px; }
.post-body .app-block li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tomato) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231d1b4c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.app-block-go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.app-block-go .stores { margin: 0; }
/* the links of the text are tomato and underlined (.post-body a): the buttons keep their own look */
.post-body .app-block a.btn, .post-body .app-block a.btn:hover, .post-body .app-block a.ios-btn, .post-body .app-block a.ios-btn:hover { color: var(--ink); text-decoration: none; }
.app-block .ask-nuri { margin: var(--s4) 0 0; }
.app-block-lead { display: block; margin-bottom: var(--s2); font-size: var(--small); font-weight: 600; color: var(--ink-2); }
@media (max-width: 560px) {
  .app-block { padding: var(--s4) var(--s4) var(--s3); }
  .app-block-go .btn { flex: 1 1 100%; }
  /* the Nuri card: its arrow stays at the end of the question's row, never on a line of its own under it (lead 18.11.2026,
     screens-2026-11-18/en-390-app-block.png); nuri-ask.css wraps the row for a label, and the block's card has none */
  .app-block .app-block-nuri button { flex-wrap: nowrap; }
  .app-block .app-block-nuri .ask-nuri-q { flex-basis: auto; }
  .app-block .app-block-nuri .ask-nuri-go { margin-inline-start: 0; }
}
/* 19.11 (lead 18.11.2026 13:41; A's conclusions, mechanics 1 and 7; tools/tatako_blog.py, with_app_block and block_qr): the trust line
   under the buttons. */
.post-body .app-block p.app-block-trust { margin: var(--s3) 0 0; font-size: var(--small); line-height: 1.5; color: var(--ink-3); }
/* 19.11 (lead 18.11.2026 19:43, item 5; tools/tatako_blog.py, block_fresh): the line on the app's last update in Google Play, right under
   the buttons and above the trust line, in the same small type; the trust line then follows it closely. */
.post-body .app-block p.app-block-fresh { margin: var(--s3) 0 0; font-size: var(--small); line-height: 1.5; color: var(--ink-2); }
.post-body .app-block p.app-block-fresh + p.app-block-trust { margin-top: var(--s1); }
.app-block-fresh time { white-space: nowrap; }
/* the block's QR card, on a computer with a mouse: the code of the Scan to try card (tatako.com/qr) beside the headline, the same look in
   small; phones and tablets never show it (there the badge and the install bar do that job). While it is on screen the Scan to try card at
   the side waits (html.qr-in-block, assets/apps.js), so one code shows at a time. Under the code, as on that card, its name and then
   "Install and learn offline", smaller and lighter: the line stands here alone on a page (lead 18.11.2026 17:2x). */
.app-block-qr { display: none; }
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  .app-block-qr { display: flex; flex-direction: column; align-items: center; float: inline-end; width: 156px; margin: 0 0 var(--s3);
    margin-inline-start: var(--s5); padding: 12px 12px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    text-align: center; transition: transform .2s var(--ease); }
  .post-body .app-block a.app-block-qr, .post-body .app-block a.app-block-qr:hover { color: var(--ink); text-decoration: none; }
  .app-block-qr:hover { transform: translateY(-3px); }
  .app-block-qr:focus-visible { outline-offset: 3px; }
  .app-block-qr-t { font: 600 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato-text); }
  :is(:lang(ar), :lang(ja), :lang(ko), :lang(zh)) .app-block-qr-t { letter-spacing: 0; font-size: 12px; }
  .app-block-qr-code { position: relative; width: 128px; height: 128px; margin: 8px 0 6px; }
  .app-block-qr-img { display: block; width: 128px; height: 128px; }
  .app-block-qr-logo { position: absolute; left: 49.5px; top: 49.5px; width: 29px; height: 29px; border-radius: 7px; }
  .app-block-qr-s { display: flex; flex-direction: column; gap: 2px; font: 600 12.5px/1.35 var(--body); color: var(--ink); }
  .app-block-qr-s span { font-weight: 500; font-size: 12px; color: var(--ink-3); }
}
.qr-card { transition: transform .2s var(--ease), opacity .25s, visibility .25s; }
html.qr-in-block .qr-card { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .qr-card, .app-block-qr { transition: none; } .app-block-qr:hover { transform: none; } }
@media print { .app-block { display: none !important; } }
