/* pages2 (01-11-2026): the blocks of an Ape Site page (ape_pages.py), the same on the public page (templates/ape_site/page.html)
   and in the editor's canvas on /my-site (static/js/my-site-pages.js), so what the owner sees is what visitors get.
   Colours: the site's theme (--a1 --a2 --a3 --a-ink, the .ape-t-* classes); everything else has its own fallback. */
.pb { --pb-fg: #e9ecf5; --pb-muted: #a7adc4; --pb-line: rgba(255,255,255,0.1); --pb-pad: 30px; --pb-radius: 14px;
    display: flow-root; color: var(--pb-fg); font-size: 1.02rem; line-height: 1.72; }
.pb > * + * { margin-top: 22px; }
.pb > * + .pb-h { margin-top: 34px; }
.pb::after { content: ''; display: block; clear: both; }

/* ---- Cover ---- */
.pb-cover { position: relative; margin: calc(var(--pb-pad) * -1) calc(var(--pb-pad) * -1) 0; overflow: hidden; border-radius: inherit; }
.pb-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pb-cover--hero { height: clamp(260px, 42vw, 440px); display: flex; align-items: flex-end; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pb-cover--hero img { position: absolute; inset: 0; }
.pb-cover--hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,4,20,0) 30%, rgba(8,4,20,0.55) 62%, rgba(10,5,24,0.96)); }
.pb-cover--hero .pb-cover-text { position: relative; z-index: 1; padding: 0 var(--pb-pad) 26px; display: grid; gap: 8px; }
.pb-cover--banner { aspect-ratio: 21 / 8; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---- Text ---- */
.pb-text { overflow-wrap: anywhere; }
.pb-text p { margin: 0 0 1em; }
.pb-text > :last-child { margin-bottom: 0; }
.pb-text a { color: var(--a1, #f97316); text-decoration: underline; text-underline-offset: 3px; }
.pb-text .nb-h, .pb-text h3, .pb-text h4, .pb-text h5 { margin: 1.2em 0 0.4em; line-height: 1.25; color: #fff; }
.pb-text .nb-list { margin: 0.4em 0 1em; padding-left: 1.3em; }
.pb-text .nb-list li { margin: 0.2em 0; }
.pb-text .nb-list li::marker { color: var(--a1, #f97316); }
.pb-text .nb-center { text-align: center; } .pb-text .nb-right { text-align: right; }
.pb-h { margin-bottom: -6px; line-height: 1.2; color: #fff; font-weight: 900; text-wrap: balance; letter-spacing: -0.01em; }
.pb-h--2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.pb-h--3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.pb-quote { margin-left: 0; margin-right: 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--a1, #f97316); }
.pb-quote p { margin: 0; font-size: 1.22rem; line-height: 1.5; font-weight: 700; color: #fff; white-space: pre-line; }
.pb-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.9rem; color: var(--pb-muted); }
.pb-quote cite::before { content: '— '; }
.pb-btn-row { display: flex; }
.pb-btn-row--center { justify-content: center; }
.pb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 800; text-decoration: none;
    color: var(--a-ink, #1f0a00); background: linear-gradient(135deg, var(--a1, #f97316), var(--a2, #ec4899)); box-shadow: 0 10px 26px color-mix(in srgb, var(--a1, #f97316) 35%, transparent);
    transition: transform 0.2s, box-shadow 0.2s; }
.pb-btn:hover, .pb-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px color-mix(in srgb, var(--a1, #f97316) 50%, transparent); }
.pb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pb-btn--ghost { color: #fff; background: transparent; border: 1.5px solid color-mix(in srgb, var(--a1, #f97316) 70%, transparent); box-shadow: none; }
.pb-btn--ghost:hover, .pb-btn--ghost:focus-visible { background: color-mix(in srgb, var(--a1, #f97316) 14%, transparent); box-shadow: none; }
.pb-hr { border: 0; height: 1px; margin-block: 34px; background: var(--pb-line); }
.pb-hr--dots { height: 8px; background: radial-gradient(circle, var(--a1, #f97316) 2px, transparent 2.5px) center / 22px 8px repeat-x; width: 110px; margin-inline: auto; }
.pb-hr--glow { height: 2px; background: linear-gradient(90deg, transparent, var(--a1, #f97316), var(--a2, #ec4899), transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--a1, #f97316) 60%, transparent); }
.pb-space--s { height: 8px; } .pb-space--m { height: 28px; } .pb-space--l { height: 64px; }

/* ---- One picture or video ---- */
.pb-fig { margin-inline: 0; margin-bottom: 0; position: relative; }
.pb-fig.pb-a-left { float: left; width: var(--w, 50%); margin: 6px 26px 14px 0; }
.pb-fig.pb-a-right { float: right; width: var(--w, 50%); margin: 6px 0 14px 26px; }
.pb-fig.pb-a-center { width: var(--w, 100%); margin-inline: auto; clear: both; }
.pb-fig.pb-a-wide { width: 100%; clear: both; }
.pb-fig.pb-a-full { clear: both; margin-inline: calc(var(--pb-pad) * -1); width: calc(100% + var(--pb-pad) * 2); }
.pb-frame { position: relative; display: block; overflow: hidden; border-radius: var(--pb-radius); background: rgba(255,255,255,0.04); }
.pb-frame img, .pb-frame video { display: block; width: 100%; height: auto; }
.pb-fig figcaption, .pb-gal figcaption, .pb-cmp figcaption { margin-top: 8px; font-size: 0.86rem; line-height: 1.45; color: var(--pb-muted); text-align: center; }
.pb-a-full figcaption { padding-inline: var(--pb-pad); }
/* styles */
.pb-s-plain .pb-frame { border-radius: 3px; }
.pb-s-rounded .pb-frame { border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.pb-s-polaroid .pb-frame { padding: 10px 10px 34px; border-radius: 4px; background: #f8f4ea; box-shadow: 0 18px 40px rgba(0,0,0,0.5); transform: rotate(-1.6deg); }
.pb-s-polaroid .pb-frame img, .pb-s-polaroid .pb-frame video { border-radius: 2px; }
.pb-s-polaroid.pb-a-right .pb-frame { transform: rotate(1.6deg); }
.pb-s-glow .pb-frame { border-radius: 16px; box-shadow: 0 0 0 2px var(--a1, #f97316), 0 0 30px color-mix(in srgb, var(--a1, #f97316) 55%, transparent), 0 0 70px color-mix(in srgb, var(--a2, #ec4899) 30%, transparent); }
.pb-s-circle .pb-frame { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
.pb-s-circle .pb-frame img, .pb-s-circle .pb-frame video { height: 100%; object-fit: cover; }
.pb-s-gold .pb-frame { border-radius: 12px; padding: 6px; background: linear-gradient(135deg, #7a5200, #ffd76a 22%, #fff4c2 34%, #c8901a 55%, #ffe08a 74%, #8a5d00);
    box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 22px rgba(255,201,74,0.3); }
.pb-s-gold .pb-frame img, .pb-s-gold .pb-frame video { border-radius: 7px; }
.pb-a-full.pb-s-rounded .pb-frame, .pb-a-full.pb-s-plain .pb-frame, .pb-a-full.pb-s-glow .pb-frame { border-radius: 0; }
/* the enlarge button (only on pictures that open the viewer) */
.pb-zoom { all: unset; box-sizing: border-box; display: block; position: relative; overflow: hidden; cursor: zoom-in; border-radius: var(--pb-radius); background: rgba(255,255,255,0.04); }
.pb-zoom:focus-visible { outline: 2px solid var(--a1, #f97316); outline-offset: 3px; }
.pb-zoom-ic { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; z-index: 2;
    background: rgba(8,4,18,0.62); border: 1px solid rgba(255,255,255,0.28); opacity: 0; transform: scale(0.9); transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.pb-zoom-ic svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pb-zoom:hover .pb-zoom-ic, .pb-zoom:focus-visible .pb-zoom-ic { opacity: 1; transform: none; }
@media (hover: none) { .pb-zoom-ic { opacity: 0.85; transform: none; } }
.pb-zoom img { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.pb-zoom:hover img { transform: scale(1.02); }
.pb-gif { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 2px 7px; border-radius: 6px; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.06em; color: #fff; background: rgba(8,4,18,0.62); pointer-events: none; }
.pb-s-polaroid .pb-gif { bottom: 44px; }

/* ---- Picture + text ---- */
.pb-ti { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; clear: both; }
.pb-ti--right { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.pb-ti--right .pb-fig { order: 2; }

/* ---- Galleries ---- */
.pb-gal { clear: both; margin-inline: 0; margin-bottom: 0; }
.pb-gal-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-gal-grid .pb-frame { aspect-ratio: 1; }
.pb-gal-grid .pb-frame img, .pb-gal-grid .pb-frame video { height: 100%; object-fit: cover; }
.pb-gal-mas { columns: var(--cols, 3) 160px; column-gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-gal-mas li { break-inside: avoid; margin-bottom: 10px; }
.pb-gal li figcaption { margin-top: 5px; font-size: 0.78rem; }
.pb-gal.pb-s-polaroid .pb-frame { padding: 6px 6px 20px; }
.pb-gal.pb-s-circle .pb-frame img { aspect-ratio: 1; }

/* ---- The comic reader (one at a time, big) ---- */
.pb-reader { position: relative; display: grid; gap: 12px; outline: none; clear: both; }
.pb-reader-stage { position: relative; display: grid; place-items: center; min-height: 240px; border-radius: 20px; overflow: hidden; cursor: pointer;
    background: radial-gradient(80% 70% at 50% 20%, rgba(255,255,255,0.06), transparent), #0a0618; box-shadow: inset 0 0 0 1px var(--pb-line), 0 24px 60px rgba(0,0,0,0.45);
    user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.pb-reader-panel { grid-area: 1 / 1; margin: 0; width: 100%; display: grid; justify-items: center; gap: 10px; padding: 18px 64px; }
.pb-reader-panel[hidden] { display: none; }
.pb-reader-panel img, .pb-reader-panel video { display: block; max-width: 100%; max-height: min(78vh, 900px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.pb-reader-panel figcaption { max-width: 70ch; text-align: center; font-size: 0.95rem; color: #e3e7f2; }
.pb-reader-panel.is-in-next { animation: pb-in-next 0.32s cubic-bezier(.2,.8,.2,1); }
.pb-reader-panel.is-in-prev { animation: pb-in-prev 0.32s cubic-bezier(.2,.8,.2,1); }
@keyframes pb-in-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes pb-in-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.pb-reader-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18);
    display: grid; place-items: center; font: 800 1.9rem/1 system-ui, sans-serif; color: #fff; background: rgba(8,3,18,0.55); cursor: pointer; z-index: 2; transition: background 0.2s, box-shadow 0.2s, opacity 0.2s; }
.pb-reader-nav:hover, .pb-reader-nav:focus-visible { background: linear-gradient(135deg, var(--a1, #f97316), var(--a2, #ec4899)); color: var(--a-ink, #1f0a00); }
.pb-reader-prev { left: 12px; } .pb-reader-next { right: 12px; }
.pb-reader.is-first .pb-reader-prev, .pb-reader.is-last .pb-reader-next { opacity: 0.25; pointer-events: none; }
.pb-reader-bar { display: flex; align-items: center; gap: 10px; }
.pb-reader-step { flex: none; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--pb-line); background: rgba(255,255,255,0.04); color: #e6e9f3;
    font: 800 1rem/1 system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; }
.pb-reader-step:hover, .pb-reader-step:focus-visible { border-color: var(--a1, #f97316); color: #fff; }
.pb-reader-step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pb-reader-count { flex: none; min-width: 64px; text-align: center; font-weight: 800; font-size: 0.92rem; color: var(--pb-muted); font-variant-numeric: tabular-nums; }
.pb-reader-count b { color: #fff; }
.pb-reader-track { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.pb-reader-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--a1, #f97316), var(--a2, #ec4899), var(--a3, #facc15)); transition: width 0.3s ease; }
.pb-reader-thumbs { display: flex; gap: 8px; margin: 0; padding: 4px 2px 8px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.pb-reader-thumbs li { flex: none; }
.pb-reader-thumbs button { display: block; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: 0.55; background: #0a0618;
    transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s; }
.pb-reader-thumbs button:hover { opacity: 0.9; }
.pb-reader-thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--a1, #f97316); transform: translateY(-2px); }
.pb-reader-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pb-reader:fullscreen { background: #05020c; padding: 16px; align-content: center; }
.pb-reader:fullscreen .pb-reader-stage { min-height: 0; height: calc(100vh - 150px); }
.pb-reader:fullscreen .pb-reader-panel img { max-height: calc(100vh - 210px); }

/* ---- Before / after ---- */
.pb-cmp { margin-inline: 0; margin-bottom: 0; clear: both; }
.pb-cmp-box { position: relative; overflow: hidden; border-radius: 16px; --at: 50%; touch-action: pan-y; box-shadow: 0 18px 40px rgba(0,0,0,0.45); background: #0a0618; }
.pb-cmp-box img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pb-cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--at)); }
.pb-cmp-line { position: absolute; top: 0; bottom: 0; left: var(--at); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,0.5); pointer-events: none; }
.pb-cmp-line::after { content: ''; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45); background-image: linear-gradient(90deg, transparent 13px, #1d1b2b 13px 15px, transparent 15px 23px, #1d1b2b 23px 25px, transparent 25px); }
.pb-cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.pb-cmp-range:focus-visible + .pb-cmp-line::after { box-shadow: 0 0 0 3px var(--a1, #f97316); }
.pb-cmp-tag { position: absolute; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; color: #fff; background: rgba(8,4,18,0.65); pointer-events: none; }
.pb-cmp-tag--a { left: 12px; } .pb-cmp-tag--b { right: 12px; }

/* ---- Video ---- */
.pb-frame video { background: #000; }

@media (max-width: 640px) {
    .pb { --pb-pad: 18px; font-size: 1rem; }
    .pb-fig.pb-a-left, .pb-fig.pb-a-right { float: none; width: 100%; margin: 0; }
    .pb > * + .pb-fig.pb-a-left, .pb > * + .pb-fig.pb-a-right { margin-top: 22px; }
    .pb-gal-grid[style*="--cols: 3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pb-gal-grid:not([style*="--cols: 3"]) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .pb-gal-grid:not([style*="--cols: 3"]) > li:last-child:nth-child(odd) .pb-frame { aspect-ratio: 2; }
    .pb-ti .pb-fig.pb-s-circle { width: min(100%, 260px); justify-self: center; }
    .pb-fig.pb-a-center { width: max(var(--w, 100%), 70%); }
    .pb-ti, .pb-ti--right { grid-template-columns: 1fr; gap: 14px; }
    .pb-ti--right .pb-fig { order: 0; }
    .pb-gal-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); gap: 6px; }
    .pb-reader-panel { padding: 12px 8px; }
    .pb-reader-nav { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(8,3,18,0.45); }
    .pb-reader-prev { left: 6px; } .pb-reader-next { right: 6px; }
    .pb-reader-thumbs button { width: 52px; height: 52px; }
    .pb-cover--hero { height: 280px; }
}
/* the same in the editor's «Mobile» view (static/js/my-site-pages.js puts .pb--narrow on its page) */
.pb--narrow { --pb-pad: 18px; } .pb--narrow .pb { --pb-pad: 18px; font-size: 1rem; }
.pb--narrow .pb-fig.pb-a-left, .pb--narrow .pb-fig.pb-a-right { float: none; width: 100%; margin: 0; }
.pb--narrow .pb > * + .pb-fig.pb-a-left, .pb--narrow .pb > * + .pb-fig.pb-a-right { margin-top: 22px; }
.pb--narrow .pb-gal-grid[style*="--cols: 3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb--narrow .pb-gal-grid:not([style*="--cols: 3"]) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pb--narrow .pb-gal-grid:not([style*="--cols: 3"]) > li:last-child:nth-child(odd) .pb-frame { aspect-ratio: 2; }
.pb--narrow .pb-ti .pb-fig.pb-s-circle { width: min(100%, 260px); justify-self: center; }
.pb--narrow .pb-fig.pb-a-center { width: max(var(--w, 100%), 70%); }
.pb--narrow .pb-ti, .pb--narrow .pb-ti--right { grid-template-columns: 1fr; gap: 14px; }
.pb--narrow .pb-ti--right .pb-fig { order: 0; }
.pb--narrow .pb-gal-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); gap: 6px; }
.pb--narrow .pb-reader-panel { padding: 12px 8px; }
.pb--narrow .pb-reader-nav { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(8,3,18,0.45); }
.pb--narrow .pb-reader-prev { left: 6px; } .pb--narrow .pb-reader-next { right: 6px; }
.pb--narrow .pb-reader-thumbs button { width: 52px; height: 52px; }
.pb--narrow .pb-cover--hero { height: 280px; }
@media (prefers-reduced-motion: reduce) {
    .pb-reader-panel.is-in-next, .pb-reader-panel.is-in-prev { animation: none; }
    .pb-zoom img, .pb-btn, .pb-reader-track i { transition: none; }
    .pb-zoom:hover img { transform: none; }
}

/* ---- The viewer (a picture enlarged) ---- */
.pb-lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,1,14,0.96); color: #fff; overflow: hidden; }
.pb-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.pb-lb::backdrop { background: rgba(5,1,14,0.85); }
.pb-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(14px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.pb-lb-count { font-weight: 800; font-variant-numeric: tabular-nums; color: #cfd3e3; }
.pb-lb-tools { display: flex; gap: 6px; }
.pb-lb-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #fff; font: 800 1.15rem/1 system-ui, sans-serif;
    display: grid; place-items: center; cursor: pointer; transition: background 0.2s; }
.pb-lb-btn:hover, .pb-lb-btn:focus-visible { background: rgba(255,255,255,0.16); }
.pb-lb-btn:disabled { opacity: 0.3; cursor: default; }
.pb-lb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pb-lb-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; touch-action: none; }
.pb-lb-stage img, .pb-lb-stage video { max-width: calc(100% - 140px); max-height: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform-origin: center; transition: transform 0.2s ease; user-select: none; -webkit-user-drag: none; }
.pb-lb-stage.is-zoomed img { cursor: grab; transition: none; }
.pb-lb-nav { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-radius: 50%; z-index: 2; font-size: 1.8rem; }
.pb-lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); } .pb-lb-next { right: max(16px, env(safe-area-inset-right, 0px)); }
.pb-lb-cap { min-height: 1.4em; padding: 10px 16px 0; text-align: center; font-size: 0.95rem; color: #e6e8f2; }
.pb-lb-strip { display: flex; gap: 6px; justify-content: center; padding: 10px 16px max(14px, env(safe-area-inset-bottom, 0px)); overflow-x: auto; }
.pb-lb-strip button { flex: none; width: 54px; height: 40px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; opacity: 0.45; cursor: pointer; background: #111; transition: opacity 0.2s; }
.pb-lb-strip button.is-on { opacity: 1; outline: 2px solid var(--a1, #f97316); outline-offset: 2px; }
.pb-lb-strip img { width: 100%; height: 100%; object-fit: cover; }
.pb-lb.is-single .pb-lb-nav, .pb-lb.is-single .pb-lb-strip, .pb-lb.is-single .pb-lb-count { display: none; }
@media (max-width: 640px) {
    .pb-lb-stage img, .pb-lb-stage video { max-width: 100%; border-radius: 0; }
    .pb-lb-nav { display: none; }
}
