/* Stuck in chop? See the strikes price keeps pinning to. The base for the post: the wide hero slot, the window controls
   and full screen for every demo (blog-chop-fs.js), and the post's copy marks (pn-mark, pn-pull, pn-prompt, pn-avail,
   pn-answer). Ported from blog-realbet.css.
   Dark only, violet --lp-* tokens. Green #089981 and red #F23645 mean direction only. No gold, no yellow, never red
   next to blue. Loaded only on this post ({% blog_post_assets %}). Prose resets double their class to beat .lp-prose
   without sharing a class name with another file. */

/* The page header carries the title, so the cover is the tour alone, wider than the 960px cover. */
.lpb-cover--pn { --pn-w: min(1240px, calc(100vw - 32px)); width: var(--pn-w); max-width: none; margin-inline: calc(50% - var(--pn-w) / 2);
  aspect-ratio: auto; overflow: visible; background: none; border: 0; box-shadow: none; border-radius: var(--lp-r-lg); }
.lpb-cover--pn img { margin: 0; }

.pn-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------- window controls and full screen (blog-chop-fs.js), for every demo on the post ----------------
   The three dots marked data-pn-lights become close (to a tray chip), minimize (to the title bar) and full screen.
   Violet tints only. Each 10px dot sits in a 22px target; glyphs show on hover or keyboard focus, and on touch. */
[data-pn-fs] { position: relative; }
.pn-h-fs-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; margin: 0; padding: 0 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--lp-primary, #9467fe) 35%, transparent); background: color-mix(in srgb, var(--lp-surface-2, #170c3c) 85%, transparent); color: var(--lp-text, #f1ecff); font: 600 12px/1 var(--lp-font, Inter, system-ui, sans-serif); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.pn-h-fs-btn:hover { border-color: var(--lp-primary, #9467fe); background: color-mix(in srgb, var(--lp-primary, #9467fe) 14%, var(--lp-surface-2, #170c3c)); }
.pn-h-fs-btn:focus-visible { outline: 2px solid var(--lp-accent, #c4a3ff); outline-offset: 2px; }
.pn-h-fs-btn svg { display: block; flex: none; }
.pn-h-fs-btn--pin { position: absolute; top: 10px; right: 10px; z-index: 5; }
[data-pn-fs]:fullscreen { overflow: auto; padding: clamp(12px, 3vw, 40px); background: var(--lp-bg, #0c0520); }
[data-pn-fs]:-webkit-full-screen { overflow: auto; padding: clamp(12px, 3vw, 40px); background: var(--lp-bg, #0c0520); }
[data-pn-fs].pn-fs-on { position: fixed; inset: 0; z-index: 2000; margin: 0; max-width: none; border-radius: 0; overflow: auto; padding: clamp(12px, 3vw, 40px); background: var(--lp-bg, #0c0520); }
html.pn-fs-lock, html.pn-fs-lock body { overflow: hidden; }

.pn-h-wc.pn-h-wc { display: inline-flex; align-items: center; gap: 0; flex: none; margin: 0 0 0 -6px; }
.pn-h-wc-b { position: relative; display: grid; place-items: center; width: 22px; height: 22px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pn-h-wc-b::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--pn-wc); transition: filter .15s ease, transform .15s ease; }
.pn-h-wc-b svg { position: relative; width: 8px; height: 8px; fill: none; stroke: var(--lp-bg, #0c0520); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .12s ease; }
.pn-h-wc-b--close { --pn-wc: var(--lp-accent, #c4a3ff); }
.pn-h-wc-b--min { --pn-wc: color-mix(in srgb, var(--lp-muted, #a29ec4) 70%, transparent); }
.pn-h-wc-b--max { --pn-wc: var(--lp-primary, #9467fe); }
.pn-h-wc:is(:hover, :focus-within) .pn-h-wc-b svg { opacity: 1; }
.pn-h-wc-b:hover::before { filter: brightness(1.12); }
.pn-h-wc-b:active::before { filter: brightness(.85); transform: scale(.9); }
.pn-h-wc-b:focus-visible { outline: 2px solid var(--lp-accent, #c4a3ff); outline-offset: -1px; }
@media (hover: none) { .pn-h-wc-b svg { opacity: .9; } }
[data-pn-fs] .pn-h-win-hide { display: none !important; }
[data-pn-fs].pn-h-win-min, [data-pn-fs] .pn-h-win-path { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }
.pn-h-win-min .pn-h-win-bar { cursor: pointer; border-bottom-color: transparent; }
[data-pn-fs].pn-h-win-closed { display: none !important; }
.pn-h-tray { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 8px 8px 8px 14px; border: 1px dashed var(--lp-border-strong, rgba(148,103,254,.3)); border-radius: 14px;
  background: color-mix(in srgb, var(--lp-surface, #10062a) 72%, transparent); font: 500 13px/1.3 var(--lp-font, Inter, system-ui, sans-serif); color: var(--lp-muted, #a29ec4); cursor: pointer;
  animation: pn-h-tray-in .32s cubic-bezier(.22, 1, .36, 1); transition: border-color .2s ease, background-color .2s ease; }
.pn-h-tray:hover { border-color: var(--lp-primary, #9467fe); background: var(--lp-surface-2, #170c3c); }
.pn-h-tray .pn-h-tray-logo { flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; object-fit: contain; }
.pn-h-tray-name { font-weight: 600; color: var(--lp-text, #f1ecff); }
.pn-h-tray-note::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--lp-muted, #a29ec4); vertical-align: 1px; }
.pn-h-tray-open { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-left: auto; padding: 0 14px; border-radius: 999px; border: 1px solid var(--lp-primary, #9467fe); background: var(--lp-primary-2, var(--lp-primary, #9467fe)); color: #fff; font: 600 12px/1 var(--lp-font, Inter, system-ui, sans-serif); cursor: pointer; transition: filter .2s ease; }
.pn-h-tray-open:hover { filter: brightness(1.1); }
.pn-h-tray-open:focus-visible { outline: 2px solid var(--lp-accent, #c4a3ff); outline-offset: 2px; }
@keyframes pn-h-tray-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } }

/* ---------------- copy marks in the post body ----------------
   theme3 gives every blockquote an absolute ::after bar and a quote-icon ::before; dropped on these quotes. */
mark.pn-mark.pn-mark { padding: .04em .16em; margin: 0 -.1em; border-radius: 3px; color: inherit; background: rgba(148, 103, 254, .2); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
blockquote.pn-pull.pn-pull { position: relative; margin: 2.2em 0; padding: 0 0 0 clamp(16px, 3vw, 28px); border: 0; border-left: 2px solid var(--lp-primary); border-radius: 0; background: none; font-family: var(--lp-font-title); font-weight: 500; font-size: clamp(20px, 3vw, 28px); line-height: 1.35; letter-spacing: -.01em; font-style: normal; color: var(--lp-text); }
blockquote.pn-pull.pn-pull p { margin: 0; font: inherit; }
blockquote.pn-prompt.pn-prompt { position: relative; margin: 1.6em 0; padding: 16px 20px 16px 44px; border: 1px solid color-mix(in srgb, var(--lp-primary) 22%, transparent); border-left: 2px solid var(--lp-primary); border-radius: 4px; background: var(--lp-surface-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--lp-fs-sm); line-height: 1.6; font-style: normal; color: var(--lp-text); }
blockquote.pn-prompt.pn-prompt::before { content: ">"; position: absolute; left: 18px; top: 16px; width: auto; height: auto; background: none; color: var(--lp-primary); font-weight: 700; }
:is(blockquote.pn-pull.pn-pull, blockquote.pn-prompt.pn-prompt)::after, blockquote.pn-pull.pn-pull::before { content: none; }
blockquote.pn-prompt.pn-prompt p { margin: 0; font: inherit; }
p.pn-avail.pn-avail { padding: 12px 16px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--lp-primary) 22%, transparent); background: color-mix(in srgb, var(--lp-primary) 6%, transparent); font-size: var(--lp-fs-sm); line-height: 1.55; color: var(--lp-muted); }
p.pn-avail.pn-avail strong, p.pn-avail.pn-avail b { color: var(--lp-text); }
.pn-answer.pn-answer { margin: 1.6em 0; padding: clamp(16px, 2.6vw, 22px) clamp(18px, 3vw, 26px); border: 1px solid var(--lp-border); border-left: 3px solid var(--lp-accent); border-radius: 0 var(--lp-r) var(--lp-r) 0; background: var(--lp-bg-2); color: var(--lp-text); font-size: var(--lp-fs-md); line-height: 1.6; font-style: normal; }
.pn-answer.pn-answer > :last-child { margin-bottom: 0; }
.pn-answer.pn-answer::before, .pn-answer.pn-answer::after { content: none; }

/* counters in the post body (blog-chop.js): the server text is the final value */
.pn-count { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .pn-h-tray, .pn-h-wc-b::before, .pn-h-wc-b svg { transition: none !important; animation: none !important; }
}
