/* ==========================================================================
   css/bop_pages.css - Bopster News (news.php), its articles (article.php) and
   Supported services (about_supportedservices.php).

   Same glass, buttons, colours and Bopstarr stage as the landing page, the
   Library and the Studio (index.php / library.php / studio.php), so these
   pages read as part of the same app. Everything is scoped under body.bp:
   the Tailwind CDN preflight is injected after this sheet and wins ties.
   Mobile first; live backdrop blur only from 1024px, as elsewhere.
   ========================================================================== */
html.bp-html { scroll-padding-top: 6rem; }
html.bp-html, html.bp-html > body { overflow-x: clip; }
body.bp {
    --bp-bg: #0c1020;
    --bp-muted: #aab2c8;
    --bp-soft: #d2d8e8;
    --bp-rim: rgba(255,255,255,.18);
    --bp-spec:
        inset 0 1px 1px rgba(255,255,255,.3),
        inset 0 -1px 1px rgba(255,255,255,.08),
        inset 1px 0 1px -.5px rgba(255,255,255,.16),
        inset -1px 0 1px -.5px rgba(255,255,255,.12);
    --bp-spring: cubic-bezier(.22, 1.35, .38, 1);
    --bp-out: cubic-bezier(.16, 1, .3, 1);
    margin: 0;
    min-height: 100vh;
    background: var(--bp-bg);
    color: #fff;
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
@supports (transition-timing-function: linear(0, 1)) {
    body.bp { --bp-spring: linear(0, .006, .025 2.4%, .101 5.1%, .287 9%, .539 13.7%, .721 17.6%, .865 21.9%, .974 26.7%, 1.048 31.9%, 1.089 37.6%, 1.105 44%, 1.102 51.2%, 1.087 59.3%, 1.067 68.4%, 1.045 78.8%, 1.024 91.1%, 1.012, 1.005, 1.002); }
}
.bp ::selection { background: #c026d3; color: #fff; }
.bp :is(a, button) { -webkit-tap-highlight-color: transparent; }
.bp :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid #e4b0ff; outline-offset: 3px; }
.bp [hidden] { display: none !important; }
.bp .bp-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bp svg { flex: none; }

/* A specular glint that follows the pointer (see home.php). */
.bp :is(.bp-glass, .bp-btn, .bp-chip, .bp-card, .bp-search, .bp-top, .bp-side, .bp-faq-item, .bp-svc, .bp-tab) {
    --bp-glass:
        radial-gradient(12rem circle at var(--lg-mx, 50%) var(--lg-my, -40%), rgba(255,255,255,.16), rgba(255,255,255,0) 60%),
        linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.02) 35%, rgba(255,255,255,0) 55%, rgba(255,255,255,.05));
}
.bp .bp-skip { position: fixed; left: 1rem; top: 1rem; z-index: 100000; transform: translateY(-200%); padding: .75rem 1rem; border-radius: .9rem; background: #fff; color: #111827; font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.bp .bp-skip:focus { transform: none; }

/* Ambient light + voxel dust ------------------------------------------------ */
.bp .bp-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bp .bp-orb { position: absolute; width: 75vmax; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--orb) 42%, transparent) 0, color-mix(in srgb, var(--orb) 14%, transparent) 38%, transparent 66%); }
.bp .bp-orb:nth-child(1) { --orb: #7e4ad8; top: -34vmax; right: -30vmax; }
.bp .bp-orb:nth-child(2) { --orb: #0f9fb8; bottom: -42vmax; left: -34vmax; }
.bp .bp-orb:nth-child(3) { --orb: #e055a2; top: 34vh; left: 30vw; width: 55vmax; opacity: .5; }
.bp .bp-ambient::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.6px); background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000, transparent 75%);
    opacity: .16;
}

/* Layout + type ---------------------------------------------------------------- */
.bp .bp-wrap { width: min(86rem, 100% - 2rem); margin-inline: auto; }
.bp .bp-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, #f0abfc); }
.bp .bp-eyebrow::before { content: ''; width: 1.6rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ec4899, #22d3ee); }
.bp .bp-h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.bp .bp-lead { margin: .9rem 0 0; max-width: 44rem; color: var(--bp-muted); font-size: clamp(.98rem, 1.4vw, 1.08rem); line-height: 1.7; text-wrap: pretty; }
.bp .bp-grad { background: linear-gradient(100deg, #f472b6, #c084fc 35%, #67e8f9 70%, #f472b6); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bp-shimmer 9s ease-in-out infinite alternate; }
@keyframes bp-shimmer { to { background-position: 100% 0; } }
.bp .bp-sec { padding-block: clamp(1.5rem, 4vw, 3rem); }
.bp .bp-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.5rem; }

/* Buttons ------------------------------------------------------------------------ */
.bp .bp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 3rem; padding: .7rem 1.2rem; border-radius: 1rem;
    font: inherit; font-size: .94rem; font-weight: 750; line-height: 1.15; color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer;
    border: 1px solid rgba(255,255,255,.16); border-top-color: rgba(255,255,255,.3);
    background: var(--bp-glass), rgba(255,255,255,.04);
    box-shadow: var(--bp-spec), 0 3px 8px #0000000d;
    transition: transform .45s var(--bp-spring), scale .35s var(--bp-spring), box-shadow .25s, background .2s, border-color .2s, opacity .2s;
}
.bp .bp-btn svg { width: 1.1rem; height: 1.1rem; }
.bp .bp-btn-primary { border-color: rgba(255,255,255,.25); border-top-color: rgba(255,255,255,.45); background: var(--bp-glass), linear-gradient(115deg, #ca438e, #8054d4); box-shadow: inset 0 1px 0 #ffffff25, 0 10px 28px -10px #d65bccaa; }
.bp .bp-btn-live { border-color: rgba(255,255,255,.25); border-top-color: rgba(255,255,255,.45); background: var(--bp-glass), linear-gradient(115deg, #087e98, #346ecc); box-shadow: inset 0 1px 0 #ffffff25, 0 10px 28px -10px #22d3eea0; }
.bp .bp-btn-sm { min-height: 2.5rem; padding: .5rem .85rem; font-size: .82rem; border-radius: .85rem; }
.bp .bp-btn-lg { min-height: 3.3rem; padding: .85rem 1.4rem; font-size: 1rem; border-radius: 1.1rem; }
.bp .bp-btn:active { scale: .96; }
@media (hover: hover) {
    .bp .bp-btn:hover { transform: translateY(-2px); }
    .bp .bp-btn-glass:hover { background: var(--bp-glass), rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
    .bp .bp-btn-primary:hover { box-shadow: inset 0 1px 0 #ffffff30, 0 16px 34px -12px #d65bcccc; }
    .bp .bp-btn-live:hover { box-shadow: inset 0 1px 0 #ffffff30, 0 16px 34px -12px #22d3eecc; }
}
.bp .bp-chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px;
    font-size: .74rem; font-weight: 700; color: #eef2ff; white-space: nowrap; text-decoration: none;
    background: var(--bp-glass), rgba(14,18,38,.74);
    border: 1px solid rgba(255,255,255,.18); border-top-color: rgba(255,255,255,.34);
    box-shadow: var(--bp-spec), 0 14px 30px -14px rgba(0,0,0,.85);
    -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
}
.bp .bp-chip svg { width: .9rem; height: .9rem; }

/* Glass ------------------------------------------------------------------------------ */
.bp .bp-glass { position: relative; border-radius: 1.6rem; background: var(--bp-glass), rgba(16,22,40,.5); border: 1px solid var(--bp-rim); border-top-color: rgba(255,255,255,.34); box-shadow: var(--bp-spec), 0 24px 60px -32px rgba(0,0,0,.75); }
@media (min-width: 1024px) {
    .bp .bp-glass { backdrop-filter: blur(22px) saturate(170%) brightness(1.06); -webkit-backdrop-filter: blur(22px) saturate(170%) brightness(1.06); }
}

/* Hero --------------------------------------------------------------------------------- */
.bp .bp-hero { position: relative; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.bp .bp-hero-grid { display: grid; gap: clamp(.5rem, 2vw, 2rem); align-items: center; }
.bp .bp-hero-grid > *, .bp .bp-ahero-grid > * { min-width: 0; }
@media (min-width: 1024px) { .bp .bp-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(40rem, calc(100svh - 64px)); } }
.bp .bp-h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.bp .bp-h1 > span { display: block; }
.bp .bp-hero-lead { margin: 1.25rem 0 0; max-width: 38rem; color: var(--bp-soft); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.65; }
.bp .bp-hero-lead b { color: #fff; font-variant-numeric: tabular-nums; }
.bp .bp-search {
    position: relative; display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; max-width: 36rem; padding: .4rem .4rem .4rem 1.1rem; border-radius: 1.3rem;
    background: var(--bp-glass), rgba(10,14,30,.66); border: 1px solid rgba(255,255,255,.2); border-top-color: rgba(255,255,255,.38);
    box-shadow: var(--bp-spec), 0 22px 44px -24px rgba(0,0,0,.9), 0 0 0 0 rgba(217,70,239,0);
    transition: box-shadow .3s, border-color .3s;
}
.bp .bp-search:focus-within { border-color: rgba(240,171,252,.55); box-shadow: var(--bp-spec), 0 22px 44px -24px rgba(0,0,0,.9), 0 0 0 4px rgba(217,70,239,.18); }
.bp .bp-search > svg { width: 1.25rem; height: 1.25rem; color: #f0abfc; }
.bp .bp-search input { flex: 1; min-width: 0; height: 2.9rem; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 1.02rem; font-weight: 600; }
.bp .bp-search input::placeholder { color: #8a93ab; font-weight: 500; }
.bp .bp-search input::-webkit-search-cancel-button { display: none; }
.bp .bp-kbd { display: none; padding: .2rem .5rem; border-radius: .45rem; font: 700 .72rem ui-monospace, monospace; color: #b6bdd2; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
@media (hover: hover) and (pointer: fine) { .bp .bp-search:not(:focus-within) .bp-kbd { display: inline-block; } }
.bp .bp-search .bp-btn { min-height: 2.9rem; }
.bp .bp-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.bp .bp-stats li { display: grid; gap: .1rem; }
.bp .bp-stats b { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.bp .bp-stats span { color: var(--bp-muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bp .bp-stats li:nth-child(1) b { color: #f9a8d4; } .bp .bp-stats li:nth-child(2) b { color: #d8b4fe; } .bp .bp-stats li:nth-child(3) b { color: #67e8f9; }
.bp .bp-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
@media (max-width: 1023.98px) {
    .bp .bp-hero-stage { order: -1; }
    .bp .bp-hero-copy { text-align: center; }
    .bp .bp-hero-copy .bp-eyebrow::before { display: none; }
    .bp .bp-hero-lead, .bp .bp-search { margin-inline: auto; }
    .bp .bp-hero-copy :is(.bp-stats, .bp-actions, .bp-tabs) { justify-content: center; }
}
@media (max-width: 539.98px) { .bp .bp-actions > .bp-btn { flex: 1 1 100%; } .bp .bp-search .bp-btn span { display: none; } }

/* The stage: Bopstarr on a light floor -------------------------------------------- */
.bp .bp-stage { --mx: 0; --my: 0; position: relative; width: min(100%, 34rem); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; isolation: isolate; }
@media (max-width: 1023.98px) { .bp .bp-stage { width: min(90%, 25rem); } }
@media (max-width: 459.98px) { .bp .bp-stage { width: min(84%, 20rem); } }
.bp .bp-stage-glow { position: absolute; inset: 0; z-index: -2; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(192,132,252,.42), rgba(236,72,153,.16) 38%, transparent 64%), radial-gradient(circle at 50% 85%, rgba(34,211,238,.22), transparent 45%); }
.bp .bp-stage-floor { position: absolute; left: 8%; width: 84%; top: 44%; aspect-ratio: 1; z-index: -1; transform: scaleY(.3); }
.bp .bp-stage-floor::before, .bp .bp-stage-floor::after { content: ''; position: absolute; inset: 0; border-radius: 50%; }
.bp .bp-stage-floor::before { background: repeating-radial-gradient(circle, rgba(255,255,255,.075) 0 1px, transparent 1.5px 9px), radial-gradient(circle, rgba(168,85,247,.4), rgba(34,211,238,.14) 52%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 60%, transparent 70%); mask: radial-gradient(circle, #000 60%, transparent 70%); }
.bp .bp-stage-floor::after { background: conic-gradient(from 0deg, transparent 0 6%, rgba(236,72,153,.7) 14%, transparent 25% 50%, rgba(34,211,238,.7) 64%, transparent 75%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 54% 66%, transparent 68%); mask: radial-gradient(circle, transparent 52%, #000 54% 66%, transparent 68%); animation: bp-spin 7s linear infinite; }
@keyframes bp-spin { to { transform: rotate(1turn); } }
.bp .bp-stage > bopstarr-3d { position: absolute; left: 50%; top: 2%; width: 66%; aspect-ratio: 4 / 5; translate: -50% 0; display: block; z-index: 2; }
.bp bopstarr-3d:not(:defined) { display: block; }
.bp bopstarr-3d:not(:defined) img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bp .bp-float { position: absolute; z-index: 4; transform: translate3d(calc(var(--mx) * var(--d, 12px)), calc(var(--my) * var(--d, 12px)), 0); transition: transform 1s var(--bp-out); }
.bp .bp-float-in { animation: bp-bob 6s ease-in-out infinite; }
@keyframes bp-bob { 50% { translate: 0 -10px; } }
.bp .bp-bubble {
    position: relative; display: block; width: 100%; padding: .7rem .85rem; border-radius: 1.1rem 1.1rem 1.1rem .35rem;
    font: inherit; font-size: .78rem; font-weight: 650; line-height: 1.35; color: #fff; text-align: left; text-decoration: none; cursor: pointer;
    border: 1px solid rgba(255,255,255,.25); border-top-color: rgba(255,255,255,.45);
    background: linear-gradient(135deg, rgba(202,67,142,.62), rgba(128,84,212,.62));
    box-shadow: inset 0 1px 0 #ffffff30, 0 16px 34px -16px #d65bcccc;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: transform .45s var(--bp-spring);
}
.bp a.bp-bubble:hover { transform: scale(1.04) rotate(-1deg); }
.bp .bp-bubble small { display: block; margin-bottom: .2rem; font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #fde68a; }
.bp .bp-bubble b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 750; }
.bp .bp-bubble em { display: inline-flex; align-items: center; gap: .25rem; margin-top: .35rem; font-style: normal; font-size: .7rem; font-weight: 800; color: #fbcfe8; }
.bp .bp-bubble em svg { width: .8rem; height: .8rem; }
.bp .bp-eq { display: inline-flex; align-items: end; gap: 3px; height: 1.4rem; }
.bp .bp-eq i { width: 4px; height: 100%; border-radius: 2px; background: linear-gradient(#f0abfc, #67e8f9); transform-origin: bottom; animation: bp-eq 1s ease-in-out infinite alternate; }
.bp .bp-eq i:nth-child(2) { animation-delay: -.3s; } .bp .bp-eq i:nth-child(3) { animation-delay: -.6s; } .bp .bp-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes bp-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* News hero: paper tiles flying round Bopstarr ------------------------------------- */
.bp .bp-paper {
    position: absolute; z-index: 3; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .55rem; align-items: center;
    width: 46cqi; padding: .45rem .6rem .45rem .45rem; border-radius: .95rem; color: #fff; text-decoration: none;
    background: var(--bp-glass, none), rgba(14,18,38,.82); border: 1px solid rgba(255,255,255,.18); border-top-color: rgba(255,255,255,.34);
    box-shadow: var(--bp-spec), 0 18px 36px -18px rgba(0,0,0,.95);
    -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
    transform: translate3d(calc(var(--mx) * var(--d, 12px)), calc(var(--my) * var(--d, 12px)), 0) rotate(var(--r, 0deg));
    transition: transform 1s var(--bp-out), border-color .25s;
}
.bp .bp-paper:hover { border-color: rgba(240,171,252,.55); }
.bp .bp-paper > span:first-child { display: block; width: 2.6rem; aspect-ratio: 1; overflow: hidden; border-radius: .6rem; }
.bp .bp-paper img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp .bp-paper .bp-art { width: 100%; height: 100%; }
.bp .bp-paper .bp-art svg { width: 1.1rem; height: 1.1rem; }
.bp .bp-paper small { display: block; font-size: .56rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--c, #f0abfc); }
.bp .bp-paper b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .7rem; font-weight: 750; line-height: 1.25; }
.bp .bp-paper.is-a { left: -3%; bottom: 14%; --d: 22px; --r: -5deg; animation: bp-paper 7s ease-in-out infinite; }
.bp .bp-paper.is-b { right: -4%; top: 34%; --d: -18px; --r: 4deg; animation: bp-paper 8s -3s ease-in-out infinite; }
.bp .bp-paper.is-c { right: 4%; bottom: 0; --d: 14px; --r: -2deg; animation: bp-paper 6.5s -1.5s ease-in-out infinite; }
@keyframes bp-paper { 50% { translate: 0 -9px; } }
.bp .bp-float.is-bubble { left: -2%; top: 3%; width: 42%; --d: -10px; }
.bp .bp-float.is-langs { right: 2%; top: 8%; --d: 26px; }
.bp .bp-float.is-langs .bp-float-in { animation-delay: -2.4s; }
.bp .bp-float.is-langs svg { color: #67e8f9; }
@media (max-width: 459.98px) {
    .bp .bp-float.is-bubble { width: 50%; top: -2%; }
    .bp .bp-bubble { font-size: .7rem; padding: .55rem .65rem; }
    .bp .bp-paper { width: 54cqi; }
    .bp .bp-paper.is-c, .bp .bp-float.is-langs { display: none; }
}

/* Category tabs ---------------------------------------------------------------------- */
.bp .bp-tabs { position: relative; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.bp .bp-tab {
    display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px;
    font: inherit; font-size: .82rem; font-weight: 750; color: #dbe2f0; text-decoration: none; cursor: pointer;
    background: var(--bp-glass), rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
    transition: background .2s, border-color .2s, color .2s, transform .45s var(--bp-spring);
}
.bp .bp-tab svg { width: .95rem; height: .95rem; }
.bp .bp-tab b { min-width: 1.5rem; padding: .05rem .4rem; border-radius: 999px; font-size: .7rem; font-weight: 900; text-align: center; background: rgba(0,0,0,.28); font-variant-numeric: tabular-nums; }
.bp .bp-tab:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); color: #fff; }
.bp .bp-tab[aria-current="true"] { color: #fff; border-color: rgba(255,255,255,.35); background: var(--bp-glass), linear-gradient(115deg, #ca438e, #8054d4); box-shadow: inset 0 1px 0 #ffffff25, 0 10px 24px -12px #d65bccaa; }

/* Headline ticker ------------------------------------------------------------------- */
.bp .bp-ticker { position: relative; overflow: hidden; padding: .75rem 0; border-block: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, rgba(202,67,142,.1), rgba(128,84,212,.08), rgba(34,211,238,.08));
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bp .bp-ticker-track { display: flex; width: max-content; animation: bp-ticker var(--dur, 60s) linear infinite; }
.bp .bp-ticker:hover .bp-ticker-track, .bp .bp-ticker:focus-within .bp-ticker-track { animation-play-state: paused; }
@keyframes bp-ticker { to { transform: translateX(-50%); } }
.bp .bp-ticker ul { display: flex; gap: 2.5rem; margin: 0; padding: 0 1.25rem; list-style: none; }
.bp .bp-ticker li { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; }
.bp .bp-ticker li::before { content: ''; width: .45rem; height: .45rem; border-radius: 2px; rotate: 45deg; background: linear-gradient(135deg, #ec4899, #22d3ee); }
.bp .bp-ticker a { color: #e6eaf5; font-size: .88rem; font-weight: 700; text-decoration: none; }
.bp .bp-ticker a:hover { color: #f0abfc; }
.bp .bp-ticker time { color: #8a93ab; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Covers (photo or drawn) + badges ------------------------------------------------- */
.bp .bp-art {
    position: relative; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.92);
    background:
        radial-gradient(circle at 26% 22%, hsl(var(--h) 90% 72% / .55), transparent 55%),
        radial-gradient(circle at 85% 90%, hsl(calc(var(--h) + 120) 85% 60% / .35), transparent 50%),
        linear-gradient(140deg, hsl(var(--h) 58% 36%), hsl(calc(var(--h) + 55) 52% 16%));
}
.bp .bp-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.5px); background-size: 14px 14px; -webkit-mask: linear-gradient(160deg, #000, transparent 70%); mask: linear-gradient(160deg, #000, transparent 70%); opacity: .5; }
.bp .bp-art > svg { position: relative; width: 26%; height: auto; max-width: 5rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.bp .bp-art > img.bp-art-bop { position: absolute; right: 4%; bottom: -6%; width: 34%; max-width: 9rem; height: auto; object-fit: contain; rotate: -8deg; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.bp .bp-art > .bp-art-word { position: absolute; left: 6%; top: 8%; font-size: clamp(.6rem, 1.4cqi, .8rem); font-weight: 900; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.bp .bp-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 1.1rem; background: rgba(0,0,0,.3); isolation: isolate; container-type: inline-size; }
.bp .bp-cover > img, .bp .bp-cover > .bp-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bp-out); }
.bp .bp-cover::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(155deg, rgba(255,255,255,.16), transparent 38%), linear-gradient(0deg, rgba(8,10,24,.55), transparent 45%); pointer-events: none; }
.bp .bp-badges { position: absolute; z-index: 2; left: .6rem; top: .6rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.bp .bp-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .5rem; border-radius: .5rem; font-size: .62rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: #fff; background: rgba(10,12,28,.66); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bp .bp-badge svg { width: .75rem; height: .75rem; }
.bp .bp-badge.is-news { background: linear-gradient(135deg, #0e7490d9, #2563ebd9); }
.bp .bp-badge.is-guide { background: linear-gradient(135deg, #be185dd9, #7c3aedd9); }
.bp .bp-badge.is-faq { color: #1c1300; background: linear-gradient(135deg, #fde68a, #f59e0b); border-color: transparent; }

/* Top story + side stories ------------------------------------------------------ */
.bp .bp-topgrid { display: grid; gap: 1rem; }
@media (min-width: 960px) { .bp .bp-topgrid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.25rem; } }
.bp :is(.bp-top, .bp-side) {
    position: relative; display: grid; gap: 1rem; padding: .75rem; border-radius: 1.75rem; color: inherit; text-decoration: none;
    background: var(--bp-glass), rgba(16,22,40,.55); border: 1px solid var(--bp-rim); border-top-color: rgba(255,255,255,.32);
    box-shadow: var(--bp-spec), 0 26px 50px -30px #000;
    transition: transform .45s var(--bp-spring), border-color .25s, box-shadow .3s;
}
.bp .bp-top { align-content: start; }
.bp .bp-top .bp-cover { aspect-ratio: 16 / 8.5; border-radius: 1.3rem; }
.bp .bp-top-body { padding: .25rem .6rem .7rem; }
.bp .bp-top h3 { margin: .55rem 0 0; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.bp .bp-top p { margin: .7rem 0 0; color: var(--bp-muted); font-size: 1rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp .bp-sidecol { display: grid; gap: 1rem; align-content: start; }
.bp .bp-side { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); align-items: center; padding: .6rem; border-radius: 1.4rem; }
.bp .bp-side .bp-cover { aspect-ratio: 1; border-radius: 1rem; }
.bp .bp-side .bp-badges { left: .4rem; top: .4rem; }
.bp .bp-side h3 { margin: .35rem 0 0; font-size: 1.02rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 459.98px) { .bp .bp-side { grid-template-columns: 6.5rem minmax(0, 1fr); } }
@media (hover: hover) {
    .bp :is(.bp-top, .bp-side, .bp-card):hover { transform: translateY(-4px); border-color: rgba(240,171,252,.45); box-shadow: var(--bp-spec), 0 30px 60px -28px #a855f7aa; }
    .bp :is(.bp-top, .bp-side, .bp-card):hover .bp-cover > :is(img, .bp-art) { transform: scale(1.06); }
}

/* Meta line + "read" link --------------------------------------------------------- */
.bp .bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; color: #94a0b8; font-size: .76rem; font-weight: 650; }
.bp .bp-meta > span { display: inline-flex; align-items: center; gap: .3rem; }
.bp .bp-meta svg { width: .85rem; height: .85rem; color: #f0abfc; }
.bp .bp-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; color: #f0abfc; font-size: .85rem; font-weight: 800; }
.bp .bp-more svg { width: 1rem; height: 1rem; transition: transform .45s var(--bp-spring); }
.bp :is(.bp-top, .bp-card):hover .bp-more svg { transform: translateX(4px); }

/* Story grid ------------------------------------------------------------------------ */
.bp .bp-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.bp .bp-card {
    position: relative; display: flex; flex-direction: column; gap: .9rem; padding: .65rem .65rem 1.1rem; border-radius: 1.5rem; color: inherit; text-decoration: none;
    background: var(--bp-glass), rgba(16,22,40,.55); border: 1px solid var(--bp-rim); border-top-color: rgba(255,255,255,.3);
    box-shadow: var(--bp-spec), 0 22px 44px -30px #000;
    transition: transform .45s var(--bp-spring), border-color .25s, box-shadow .3s;
}
.bp .bp-card-body { display: flex; flex: 1; flex-direction: column; padding: 0 .4rem; min-width: 0; }
.bp .bp-card h3 { margin: .45rem 0 0; font-size: 1.12rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.bp .bp-card p { margin: .5rem 0 0; color: #9aa6bd; font-size: .88rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp .bp-card .bp-more { margin-top: auto; padding-top: .9rem; }
.bp .bp-card.is-top-dup { display: none; }
.bp .bp-grid.is-filtering .bp-card.is-top-dup { display: flex; }
.bp .bp-results { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: #94a0b8; font-size: .85rem; font-weight: 700; }
.bp .bp-reset { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border: 0; border-radius: 999px; font: inherit; font-size: .76rem; font-weight: 800; color: #f9a8d4; background: rgba(236,72,153,.12); cursor: pointer; }
.bp .bp-reset svg { width: .8rem; height: .8rem; }
.bp .bp-empty { display: grid; justify-items: center; gap: .6rem; padding: clamp(2rem, 6vw, 4rem) 1.5rem; text-align: center; }
.bp .bp-empty img { width: 7rem; height: 7rem; animation: bp-search 3.2s ease-in-out infinite; filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); }
@keyframes bp-search { 0%, 100% { transform: rotate(-8deg) translateX(-10px); } 50% { transform: rotate(8deg) translateX(10px); } }
.bp .bp-empty h3 { margin: .4rem 0 0; font-size: 1.4rem; font-weight: 900; letter-spacing: -.03em; }
.bp .bp-empty p { margin: 0 0 .6rem; max-width: 26rem; color: var(--bp-muted); line-height: 1.6; }
.bp mark.bp-hit { padding: 0 .1em; border-radius: .25em; color: inherit; background: rgba(240,171,252,.3); }

/* FAQ accordion ---------------------------------------------------------------------- */
.bp .bp-faq { display: grid; gap: .65rem; max-width: 56rem; }
.bp .bp-faq-item { border-radius: 1.2rem; background: var(--bp-glass), rgba(16,22,40,.5); border: 1px solid rgba(255,255,255,.12); border-top-color: rgba(255,255,255,.24); box-shadow: var(--bp-spec); transition: border-color .25s, background .25s; }
.bp .bp-faq-item[open] { border-color: rgba(240,171,252,.38); background: var(--bp-glass), rgba(30,22,58,.55); }
.bp .bp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; font-size: 1rem; font-weight: 800; line-height: 1.35; cursor: pointer; list-style: none; }
.bp .bp-faq-item summary::-webkit-details-marker { display: none; }
.bp .bp-faq-item summary::after { content: ''; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(255,255,255,.07) center / .9rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0abfc' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: rotate .45s var(--bp-spring), background-color .2s; }
.bp .bp-faq-item[open] summary::after { rotate: 135deg; background-color: rgba(236,72,153,.2); }
.bp .bp-faq-a { padding: 0 1.15rem 1.1rem; color: #c3cbdc; font-size: .95rem; line-height: 1.7; }
.bp .bp-faq-a > :first-child { margin-top: 0; } .bp .bp-faq-a > :last-child { margin-bottom: 0; }
.bp .bp-faq-a p { margin: 0 0 .7rem; }
.bp .bp-faq-a a { color: #f9a8d4; }
.bp .bp-faq-src { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; color: #f0abfc; font-size: .8rem; font-weight: 800; text-decoration: none; }
.bp .bp-faq-src svg { width: .85rem; height: .85rem; }
@media (prefers-reduced-motion: no-preference) {
    .bp .bp-faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--bp-out), content-visibility .45s allow-discrete; }
    .bp .bp-faq-item[open]::details-content { block-size: auto; }
    @supports (interpolate-size: allow-keywords) { .bp .bp-faq { interpolate-size: allow-keywords; } }
}

/* Final call --------------------------------------------------------------------------- */
.bp .bp-final-sec { padding: clamp(1rem, 3vw, 2rem) 0 clamp(4rem, 8vw, 6rem); }
.bp .bp-final { display: grid; gap: 1rem; align-items: center; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 2rem; background: var(--bp-glass), radial-gradient(circle at 15% 50%, rgba(192,132,252,.35), transparent 40%), linear-gradient(135deg, rgba(202,67,142,.3), rgba(128,84,212,.24) 50%, rgba(34,211,238,.18)); }
@media (min-width: 900px) { .bp .bp-final { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 2.5rem; } }
.bp .bp-final-mascot { position: relative; width: min(100%, 14rem); margin-inline: auto; }
.bp .bp-final-mascot bopstarr-3d { display: block; width: 100%; aspect-ratio: 4 / 5; cursor: pointer; }
.bp .bp-final-mascot .bp-bubble { position: absolute; right: -2rem; top: -1.2rem; width: auto; max-width: 10rem; border-radius: 1.1rem 1.1rem .35rem 1.1rem; font-size: .74rem; cursor: default; }
.bp .bp-final p { margin: 1rem 0 0; max-width: 40rem; color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 899.98px) { .bp .bp-final { text-align: center; } .bp .bp-final .bp-actions { justify-content: center; } .bp .bp-final p { margin-inline: auto; } }

/* ==========================================================================
   Article page
   ========================================================================== */
.bp .bp-progress { position: fixed; left: 0; top: 0; z-index: 10001; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #ec4899, #a855f7, #22d3ee); box-shadow: 0 0 12px rgba(236,72,153,.7); pointer-events: none; }
@supports (animation-timeline: scroll()) {
    .bp .bp-progress { animation: bp-progress linear both; animation-timeline: scroll(root); }
    @keyframes bp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.bp .bp-draft { display: flex; align-items: center; gap: .7rem; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 1rem; color: #fde68a; font-size: .9rem; font-weight: 700; background: rgba(120,53,15,.45); border: 1px solid rgba(245,158,11,.5); }
.bp .bp-draft svg { width: 1.1rem; height: 1.1rem; }
.bp .bp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; color: #8a93ab; font-size: .8rem; font-weight: 700; }
.bp .bp-crumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.bp .bp-crumbs li + li::before { content: ''; width: .35rem; height: .35rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; rotate: 45deg; opacity: .6; }
.bp .bp-crumbs a { color: #c3cbdc; text-decoration: none; } .bp .bp-crumbs a:hover { color: #f0abfc; }
.bp .bp-ahero { padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(1rem, 2vw, 1.5rem); }
.bp .bp-ahero-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
@media (min-width: 1024px) { .bp .bp-ahero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.bp .bp-ah1 { margin: .9rem 0 0; font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.bp .bp-adeck { margin: 1rem 0 0; max-width: 42rem; color: var(--bp-soft); font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.65; text-wrap: pretty; }
.bp .bp-ameta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.3rem; color: #a9b1c7; font-size: .85rem; font-weight: 650; }
.bp .bp-ameta > span { display: inline-flex; align-items: center; gap: .35rem; }
.bp .bp-ameta svg { width: 1rem; height: 1rem; color: #f0abfc; }
.bp .bp-avatar { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font-size: .8rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, #ec4899, #8b5cf6); box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.bp .bp-langs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: 1rem; color: #8a93ab; font-size: .78rem; font-weight: 700; }
.bp .bp-langs a { padding: .25rem .55rem; border-radius: .55rem; color: #dbe2f0; text-decoration: none; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background .2s, border-color .2s; }
.bp .bp-langs a:hover { background: rgba(240,171,252,.12); border-color: rgba(240,171,252,.4); }
.bp .bp-acover { position: relative; }
.bp .bp-acover .bp-cover { aspect-ratio: 16 / 10; border-radius: 1.6rem; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px rgba(255,255,255,.14); }
.bp .bp-acover .bp-cover::after { background: linear-gradient(155deg, rgba(255,255,255,.18), transparent 35%); }
.bp .bp-acover::before { content: ''; position: absolute; inset: 8% -4% -6%; z-index: -1; border-radius: 2rem; background: radial-gradient(circle at 30% 30%, rgba(236,72,153,.45), transparent 60%), radial-gradient(circle at 80% 80%, rgba(34,211,238,.35), transparent 55%); filter: blur(30px); }

.bp .bp-alayout { display: grid; gap: 1.5rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1100px) { .bp .bp-alayout { grid-template-columns: minmax(0, 1fr) 17rem; gap: 2rem; align-items: start; } }
.bp .bp-aside { display: grid; gap: 1rem; }
@media (min-width: 1100px) { .bp .bp-aside { position: sticky; top: 5.5rem; order: 2; } }
@media (max-width: 1099.98px) { .bp .bp-buddy { display: none; } }
.bp .bp-toc { padding: 1.1rem 1.1rem 1rem; border-radius: 1.3rem; }
.bp .bp-toc h2 { margin: 0 0 .6rem; color: #91a1b8; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bp .bp-toc ol { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; max-height: min(50vh, 26rem); overflow: auto; scrollbar-width: thin; }
.bp .bp-toc a { position: relative; display: block; padding: .35rem .55rem .35rem .8rem; border-radius: .6rem; color: #b7c0d4; font-size: .84rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: background .2s, color .2s; }
.bp .bp-toc a::before { content: ''; position: absolute; left: 0; top: .45rem; bottom: .45rem; width: 3px; border-radius: 3px; background: transparent; transition: background .2s; }
.bp .bp-toc li.is-sub a { padding-left: 1.5rem; font-size: .8rem; font-weight: 600; }
.bp .bp-toc a:hover { color: #fff; background: rgba(255,255,255,.05); }
.bp .bp-toc a.is-on { color: #fff; background: rgba(240,171,252,.1); }
.bp .bp-toc a.is-on::before { background: linear-gradient(#ec4899, #22d3ee); }
@media (max-width: 1099.98px) {
    .bp .bp-toc { padding: 0; }
    .bp .bp-toc details summary { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.1rem; cursor: pointer; list-style: none; font-weight: 800; }
    .bp .bp-toc details summary::-webkit-details-marker { display: none; }
    .bp .bp-toc details ol { padding: 0 .8rem .9rem; }
}
.bp .bp-buddy { position: relative; padding: 1rem; border-radius: 1.3rem; text-align: center; }
.bp .bp-buddy bopstarr-3d { display: block; width: 72%; margin: -2.4rem auto 0; aspect-ratio: 4 / 5; }
.bp .bp-buddy p { margin: .4rem 0 0; color: #dbe2f0; font-size: .82rem; font-weight: 700; line-height: 1.4; min-height: 2.3em; }
.bp .bp-buddy-bar { height: .4rem; margin-top: .7rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.bp .bp-buddy-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, #ec4899, #a855f7, #22d3ee); transition: width .25s linear; }

.bp .bp-abody { min-width: 0; padding: clamp(1.25rem, 4vw, 3rem); border-radius: 1.8rem; }
.bp .bp-prose { max-width: 46rem; color: #cfd6e4; font-size: clamp(1rem, 1.3vw, 1.09rem); line-height: 1.8; overflow-wrap: break-word; }
.bp .bp-prose > :first-child { margin-top: 0; }
.bp .bp-prose :is(h2, h3, h4) { color: #fff; font-weight: 850; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; scroll-margin-top: 6rem; }
.bp .bp-prose h2 { margin: 2.6rem 0 1rem; padding-top: 1.4rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); border-top: 1px solid rgba(255,255,255,.1); }
.bp .bp-prose h3 { margin: 2rem 0 .75rem; font-size: clamp(1.2rem, 2vw, 1.4rem); }
.bp .bp-prose h4 { margin: 1.6rem 0 .6rem; font-size: 1.08rem; color: #f5d0fe; }
.bp .bp-prose p { margin: 0 0 1.2rem; }
.bp .bp-prose :is(strong, b) { color: #fff; }
.bp .bp-prose a { color: #f9a8d4; text-decoration: underline; text-decoration-color: rgba(249,168,212,.4); text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
.bp .bp-prose a:hover { color: #fff; text-decoration-color: #fff; }
.bp .bp-prose :is(ul, ol) { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.bp .bp-prose ul { list-style: none; padding-left: 1.4rem; }
.bp .bp-prose ul > li { position: relative; }
.bp .bp-prose ul > li::before { content: ''; position: absolute; left: -1.1rem; top: .72em; width: .42rem; height: .42rem; border-radius: 2px; rotate: 45deg; background: linear-gradient(135deg, #ec4899, #22d3ee); }
.bp .bp-prose ol { list-style: decimal; }
.bp .bp-prose ol > li::marker { color: #f0abfc; font-weight: 900; }
.bp .bp-prose li { margin: 0 0 .5rem; padding-left: .2rem; }
.bp .bp-prose li[class] { margin-left: 0; }
.bp .bp-prose blockquote { margin: 1.8rem 0; padding: 1.1rem 1.3rem; border-left: 4px solid #ec4899; border-radius: 0 1rem 1rem 0; color: #e5e9f2; font-style: italic; background: rgba(236,72,153,.08); }
.bp .bp-prose blockquote > :last-child { margin-bottom: 0; }
.bp .bp-prose img { display: block; max-width: 100%; height: auto; margin: 1.6rem 0; border-radius: 1.1rem; box-shadow: 0 24px 50px -24px #000, 0 0 0 1px rgba(255,255,255,.1); }
.bp .bp-prose figure { margin: 1.8rem 0; }
.bp .bp-prose figure img { margin: 0; }
.bp .bp-prose figcaption { margin-top: .6rem; color: #8a93ab; font-size: .85rem; text-align: center; }
.bp .bp-prose code { padding: .12rem .4rem; border-radius: .4rem; font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #f5d0fe; background: rgba(0,0,0,.3); }
.bp .bp-prose pre { margin: 1.6rem 0; padding: 1.1rem 1.2rem; overflow-x: auto; border-radius: 1rem; background: #0a0d1a; border: 1px solid rgba(255,255,255,.08); }
.bp .bp-prose pre code { padding: 0; background: none; color: #e5e9f2; }
.bp .bp-prose hr { margin: 2.4rem 0; border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); }
.bp .bp-prose .nw-table { margin: 1.6rem 0; overflow-x: auto; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); }
.bp .bp-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bp .bp-prose :is(th, td) { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.bp .bp-prose th { color: #fff; font-weight: 800; background: rgba(255,255,255,.05); }
.bp .bp-prose tr:last-child td { border-bottom: 0; }
.bp .bp-prose :is(.nw-callout, .nw-tip, .nw-warn, .nw-note) { margin: 1.6rem 0; padding: 1rem 1.2rem 1rem 3.2rem; border-radius: 1rem; position: relative; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.3); }
.bp .bp-prose :is(.nw-callout, .nw-tip, .nw-warn, .nw-note)::before { content: ''; position: absolute; left: 1.1rem; top: 1.15rem; width: 1.3rem; height: 1.3rem; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.bp .bp-prose .nw-tip { background: rgba(236,72,153,.08); border-color: rgba(236,72,153,.32); }
.bp .bp-prose .nw-tip::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9a8d4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.bp .bp-prose .nw-warn { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.35); }
.bp .bp-prose .nw-warn::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd34d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0zM12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.bp .bp-prose :is(.nw-callout, .nw-tip, .nw-warn, .nw-note) > :last-child { margin-bottom: 0; }
.bp .bp-prose .nw-steps { counter-reset: st; }
.bp .bp-notice { display: flex; gap: .6rem; margin-top: 2rem; padding: .85rem 1rem; border-radius: 1rem; color: #8f9ab1; font-size: .78rem; line-height: 1.55; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.bp .bp-notice svg { width: 1rem; height: 1rem; margin-top: .1rem; }
.bp .bp-afaq { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.1); }
.bp .bp-afaq h2 { margin: 0 0 1rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 900; letter-spacing: -.03em; }
.bp .bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.bp .bp-share h2 { margin: 0 .5rem 0 0; color: #91a1b8; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bp .bp-share .bp-btn { min-height: 2.6rem; }
.bp .bp-share .bp-ico { width: 2.6rem; padding: 0; border-radius: 50%; }
.bp .bp-share .bp-ico svg { width: 1.05rem; height: 1.05rem; }
.bp .bp-share .is-copied { border-color: rgba(74,222,128,.6); color: #bbf7d0; }

/* 404 ------------------------------------------------------------------------------------ */
.bp .bp-nf { display: grid; justify-items: center; gap: 1rem; padding: clamp(3rem, 8vw, 6rem) 0; text-align: center; }
.bp .bp-nf bopstarr-3d { display: block; width: min(16rem, 60vw); aspect-ratio: 4 / 5; }
.bp .bp-nf h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.bp .bp-nf p { margin: 0; max-width: 32rem; color: var(--bp-muted); font-size: 1.05rem; line-height: 1.65; }

.bp .bp-noscript { width: min(86rem, 100% - 2rem); margin: 1rem auto; padding: 1rem; border-radius: 1rem; border: 1px solid #f59e0b; color: #fde68a; background: rgba(120,53,15,.45); }

/* Hand-off to the Studio (see index.php): the nearest mascot is named
   "bopstarr" and studio.php lands him there. */
@view-transition { navigation: auto; }
html.vt-to-studio nav.glass-premium { view-transition-name: site-nav; }
html.vt-to-studio [data-vt-bopstarr] { view-transition-name: bopstarr; }
.bp.bp-launch main > :not(:has([data-vt-bopstarr])) { opacity: .2; transition: opacity .35s ease; }
.bp.bp-launch [data-vt-bopstarr] { filter: drop-shadow(0 0 26px rgba(240,171,252,.95)); }
.bp .bp-spawn { position: fixed; z-index: 100; width: 5.5rem; height: 5.5rem; translate: -50% -50%; pointer-events: none; animation: bp-spawn .45s var(--bp-spring) both; filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); }
@keyframes bp-spawn { from { opacity: 0; transform: scale(.2) rotate(-30deg); } }

/* Scroll reveal and the hero entrance. */
.bp-js .bp [data-reveal] { transition: opacity .8s ease, translate 1s var(--bp-out); transition-delay: var(--rd, 0s); }
.bp-js .bp [data-reveal]:not(.is-in) { opacity: 0; translate: 0 28px; }
.bp :is(.bp-hero-stage, .bp-hero-copy > *, .bp-ahero-grid > *) { animation: bp-rise .9s var(--bp-out) both; }
.bp .bp-hero-copy > :nth-child(2) { animation-delay: .05s; } .bp .bp-hero-copy > :nth-child(3) { animation-delay: .1s; }
.bp .bp-hero-copy > :nth-child(4) { animation-delay: .16s; } .bp .bp-hero-copy > :nth-child(n+5) { animation-delay: .22s; }
.bp .bp-ahero-grid > :nth-child(2) { animation-delay: .12s; }
@keyframes bp-rise { from { opacity: 0; translate: 0 18px; } }

@media (prefers-reduced-motion: reduce) {
    .bp *, .bp *::before, .bp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .bp-js .bp [data-reveal]:not(.is-in) { opacity: 1; translate: none; }
    .bp :is(.bp-float, .bp-paper) { transform: none !important; }
    .bp .bp-ticker { overflow-x: auto; -webkit-mask: none; mask: none; }
    .bp .bp-ticker-track > ul + ul { display: none; }
    .bp .bp-progress { animation: none; }
}

/* The contents box is a <details> so phones can fold it; on wide screens it
   is always open and the summary is only a heading. */
.bp .bp-toc summary { list-style: none; }
.bp .bp-toc summary::-webkit-details-marker { display: none; }
@media (min-width: 1100px) { .bp .bp-toc summary { pointer-events: none; } }
@media (max-width: 1099.98px) {
    .bp .bp-toc details summary::after { content: ''; width: .5rem; height: .5rem; border-right: 2px solid #f0abfc; border-bottom: 2px solid #f0abfc; rotate: 45deg; transition: rotate .35s var(--bp-spring); }
    .bp .bp-toc details[open] summary::after { rotate: 225deg; }
    .bp .bp-toc summary h2 { margin: 0 !important; }
}
