/**
 *                          ___                   _       _         _
 *                         / __)                 | |     | |       | |
 *     _ _ _ _ _ _ _ _ _ _| |__ _____  ____ _   _| |  _  | |__   __| |
 *    | | | | | | | | | (_   __|____ |/ ___) | | | |_/ ) |  _ \ / _  |
 *    | | | | | | | | | | | |  / ___ | |   | |_| |  _ ( _| |_) | (_| |
 *     \___/ \___/ \___(_)|_|  \_____|_|   |____/|_| \_|_)____/ \____|
 *
 *
 * 	Author: MD OMAR FARUK
 * 	Author URI: www.faruk.bd
 * 	Author Contact: https://faruk.bd/#contact
 * 	Author Email: info@faruk.bd | farukmr@gmail.com
 * 	Copyright © 2026
 *                          ___                   _       _         _
 *                         / __)                 | |     | |       | |
 *     _ _ _ _ _ _ _ _ _ _| |__ _____  ____ _   _| |  _  | |__   __| |
 *    | | | | | | | | | (_   __|____ |/ ___) | | | |_/ ) |  _ \ / _  |
 *    | | | | | | | | | | | |  / ___ | |   | |_| |  _ ( _| |_) | (_| |
 *     \___/ \___/ \___(_)|_|  \_____|_|   |____/|_| \_|_)____/ \____|
 *
 */
/* AIOMediaTools - module "content": blog, documentation, changelog and legal pages. Builds on assets/site.css (same colours). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-page a:focus-visible, .c-page button:focus-visible, .c-page input:focus-visible, .c-page textarea:focus-visible, .c-page summary:focus-visible { outline: 3px solid rgba(var(--brand-rgb),.45); outline-offset: 2px; border-radius: var(--r-s); }
.c-page .ci { flex: none; vertical-align: -3px; }
.c-preview { background: #FFF6D6; border-bottom: 1px solid color-mix(in srgb, var(--spark) 50%, var(--line)); color: #5C4A00; font-size: 14.5px; padding: 10px 0; }

/* ---- head of a list page */
.c-head { padding: 54px 0 34px; background: radial-gradient(560px 300px at 100% 0, rgba(var(--brand-rgb),.07), rgba(var(--brand-rgb),0) 70%), var(--g-plain); }
.c-head h1 { font-size: 44px; letter-spacing: -1.2px; }
.c-head .eyebrow { margin-bottom: 10px; }
.c-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.page-head .c-crumb { font-size: 13.5px; margin: 0 0 14px; }
.c-crumb a { color: var(--muted); text-decoration: none; }
.c-crumb a:hover { color: var(--red); }
.c-crumb span { color: var(--black); }
.c-crumb .ci { color: var(--line-2); }
.c-search, .d-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 24px; padding: 6px 6px 6px 16px; background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--r-s); color: var(--muted); }
.c-search:focus-within, .d-search:focus-within { border-color: var(--black); box-shadow: none; }
.c-search input, .d-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; }
.c-search button, .d-search button { flex: none; border: 0; cursor: pointer; background: var(--solid); color: #fff; font: inherit; font-weight: 700; font-size: 14.5px; padding: 10px 18px; border-radius: var(--r-s); }
.c-search button:hover, .d-search button:hover { background: var(--red); }
.c-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.c-cats a { padding: 6px 14px; border-radius: var(--r-s); background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.c-cats a small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.c-cats a:hover { border-color: var(--black); }
.c-cats a.on { background: var(--solid); border-color: var(--black); color: #fff; }
.c-cats a.on small { color: var(--line-2); }

/* ---- article cards */
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.c-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; }
.c-card:hover { box-shadow: none; transform: translateY(-2px); border-color: #D2D3D8; }
.c-card-img { display: block; aspect-ratio: 1200 / 630; background: var(--g-plain); overflow: hidden; }
.c-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-card-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; background: linear-gradient(135deg, var(--solid) 0%, var(--solid) 60%, var(--red) 140%); }
.c-card-b { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 20px; }
.c-cat { align-self: flex-start; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.c-cat:hover { text-decoration: underline; }
.c-card h2, .c-card h3 { font-size: 20px; line-height: 1.28; letter-spacing: -.3px; margin: 0 0 8px; }
.c-card h2 a, .c-card h3 a { color: var(--black); text-decoration: none; }
.c-card h2 a:hover, .c-card h3 a:hover { color: var(--red-d); }
.c-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.c-meta span { display: inline-flex; align-items: center; gap: 6px; }
.c-card .c-meta span + span:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin-right: 10px; }
.c-grid.has-lead .lead { grid-column: 1 / -1; flex-direction: row; }
.c-grid.has-lead .lead .c-card-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 320px; }
.c-grid.has-lead .lead .c-card-b { padding: 34px 36px; justify-content: center; }
.c-grid.has-lead .lead h2 { font-size: 30px; line-height: 1.18; letter-spacing: -.7px; margin-bottom: 12px; }
.c-grid.has-lead .lead p { font-size: 16.5px; -webkit-line-clamp: 4; }
.c-grid.has-lead .lead .c-meta { margin-top: 6px; }
.c-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 0; }
.c-pg { display: inline-flex; align-items: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 14px; justify-content: center; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
a.c-pg:hover { border-color: var(--black); }
.c-pg.on { background: var(--solid); border-color: var(--black); color: #fff; }
.c-tags { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.c-tags h2 { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.c-tags div, .c-post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.c-tags a, .c-post-tags a { padding: 4px 12px; border-radius: var(--r-s); background: var(--g-plain); border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.c-tags a:hover, .c-post-tags a:hover, .c-tags a.on { background: var(--red-l); border-color: var(--brand-l3); color: var(--red-d); }
.c-empty { max-width: 520px; margin: 20px auto; text-align: center; padding: 44px 28px; border: 1.5px dashed var(--line-2); border-radius: var(--r-s); }
.c-empty h2 { font-size: 22px; margin-bottom: 8px; }
.c-empty p { margin: 0 0 20px; color: var(--muted); }

/* ---- one article */
.c-post-head { padding: 50px 0 30px; background: radial-gradient(560px 300px at 100% 0, rgba(var(--brand-rgb),.07), rgba(var(--brand-rgb),0) 70%), var(--g-plain); border-bottom: 1px solid var(--line); }
.c-post-head .wrap, .c-post > .wrap { max-width: 1080px; }
.c-post-head h1 { font-size: 46px; line-height: 1.1; letter-spacing: -1.4px; font-weight: 800; max-width: 880px; }
.c-lead { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 16px 0 0; max-width: 780px; }
.c-post-head .c-meta { margin-top: 22px; font-size: 14px; }
.c-hero { margin: 34px 0 0; border-radius: var(--r-s); overflow: hidden; box-shadow: none; border: 1px solid var(--line); background: var(--g-plain); }
.c-hero img { display: block; width: 100%; height: auto; }
.c-post-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 46px; padding-bottom: 70px; align-items: start; }
.c-side { position: sticky; top: 92px; }
.c-toc h2 { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.c-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); counter-reset: toc; }
.c-toc li { margin: 0; }
.c-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.c-toc a:hover { color: var(--black); border-left-color: var(--red); }
.c-main { min-width: 0; max-width: 740px; }

/* ---- the text of an article, a documentation page, a legal page */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-size: 28px; line-height: 1.22; letter-spacing: -.6px; margin: 1.9em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.3px; margin: 1.7em 0 .5em; scroll-margin-top: 90px; }
.prose h4 { font-size: 17.5px; margin: 1.5em 0 .4em; color: var(--black); scroll-margin-top: 90px; }
.prose .anchor { margin-left: 6px; color: var(--line-2); text-decoration: none; font-weight: 400; opacity: 0; transition: opacity .15s; }
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose h4:hover .anchor, .prose .anchor:focus { opacity: 1; }
.prose .anchor:hover { color: var(--red); }
.prose a { color: var(--red-d); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--red); }
.prose strong { color: var(--black); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose li > ul, .prose li > ol { margin: .35em 0 .2em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-size: 19px; color: var(--black); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose code { font: 600 .88em/1.4 ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; background: var(--g-plain); border: 1px solid var(--line); border-radius: var(--r-s); padding: 2px 6px; color: var(--black); }
.prose pre { margin: 1.5em 0; padding: 18px 20px; background: #16161A; border-radius: var(--r-s); overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: #e3e6f0; font-weight: 400; font-size: 14.5px; line-height: 1.6; }
.prose kbd { display: inline-block; min-width: 1.7em; text-align: center; font: 700 .8em/1.5 "Segoe UI", system-ui, sans-serif; padding: 1px 7px; border-radius: var(--r-s); background: var(--card); color: var(--black); border: 1px solid var(--line-2); box-shadow: var(--sh-1); vertical-align: 1px; }
.prose figure { margin: 2em 0; }
.prose figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--r-s); border: 1px solid var(--line); box-shadow: none; }
.prose figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.tbl-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r-s); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th { text-align: left; background: var(--g-plain); color: var(--black); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.callout { margin: 1.6em 0; padding: 16px 20px 16px 18px; border-radius: var(--r-s); border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--g-plain); font-size: 16px; line-height: 1.65; }
.callout > :last-child { margin-bottom: 0; }
.callout p { margin: 0 0 .7em; }
.callout .callout-t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--black); margin-bottom: 6px; }
.callout-tip { border-left-color: #0E8A4F; background: color-mix(in srgb, #2E9E5B 16%, var(--card)); border-color: #CBEBD8; }
.callout-tip .callout-t { color: #0A6B3D; }
.callout-warning { border-left-color: #D97A00; background: color-mix(in srgb, var(--spark) 14%, var(--card)); border-color: #F5DDB3; }
.callout-warning .callout-t { color: #9A5600; }
.callout-important { border-left-color: var(--red); background: var(--red-l); border-color: var(--brand-l3); }
.callout-important .callout-t { color: var(--red-d); }

/* ---- below an article */
.c-post-tags { align-items: center; margin: 34px 0 0; color: var(--muted); }
.c-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-share-t { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-share-b { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.c-share-b:hover { border-color: var(--black); color: var(--black); }
.c-share-b.done { background: var(--solid); border-color: var(--black); color: #fff; }
.c-author { display: flex; gap: 18px; align-items: flex-start; margin: 30px 0 0; padding: 22px 24px; border-radius: var(--r-s); background: var(--g-plain); border: 1px solid var(--line); }
.c-author-i { flex: none; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--solid); color: #fff; }
.c-author b { color: var(--black); font-size: 16px; }
.c-author p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.c-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 0; }
.c-prevnext a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; background: var(--card); }
.c-prevnext a:hover { border-color: var(--black); }
.c-prevnext small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.c-prevnext b { color: var(--black); font-size: 16px; line-height: 1.35; display: block; }
.c-prevnext .pn-next { text-align: right; grid-column: 2; }
.c-prevnext .pn-next small { justify-content: flex-end; }
.c-related { padding: 60px 0 70px; }
.c-related > .wrap > h2 { font-size: 30px; letter-spacing: -.7px; margin-bottom: 26px; }

/* ---- documentation */
.d-hero { padding: 64px 0 50px; text-align: center; background: radial-gradient(620px 420px at 100% -10%, rgba(var(--brand-rgb),.10), rgba(var(--brand-rgb),0) 70%), radial-gradient(520px 380px at 0 110%, rgba(22,19,31,.06), rgba(22,19,31,0) 70%), var(--g-plain); border-bottom: 1px solid var(--line); }
.d-hero h1 { font-size: 48px; letter-spacing: -1.4px; font-weight: 800; line-height: 1.1; }
.d-hero h1 em { font-style: normal; color: var(--red); }
.d-hero p { max-width: 620px; margin: 14px auto 0; color: var(--muted); font-size: 18.5px; }
.d-hero .d-search { margin: 28px auto 0; max-width: 600px; box-shadow: none; }
.d-secs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.d-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 24px 24px 22px; display: flex; flex-direction: column; }
.d-sec:hover { border-color: var(--line-2); box-shadow: none; }
.d-sec-h { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.d-sec-h .ic { width: 46px; height: 46px; border-radius: var(--r-s); }
.d-sec:first-child .ic { background: var(--red); }
.d-sec h2 { font-size: 19px; letter-spacing: -.2px; }
.d-sec h2 a { color: var(--black); text-decoration: none; }
.d-sec h2 a:hover { color: var(--red-d); }
.d-sec small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.d-sec > p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.d-sec ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.d-sec li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.d-sec li a:hover { color: var(--red-d); }
.d-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--red-d); text-decoration: none; }
.d-bar { background: var(--g-plain); border-bottom: 1px solid var(--line); }
.d-bar .wrap { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.d-home { display: inline-flex; align-items: center; gap: 9px; color: var(--black); font-weight: 800; font-size: 15.5px; text-decoration: none; }
.d-home:hover { color: var(--red-d); }
.d-search.sm { margin: 0; flex: 0 1 380px; padding: 3px 4px 3px 12px; border-radius: var(--r-s); }
.d-search.sm input { font-size: 14.5px; padding: 6px 0; }
.d-search.sm button { padding: 7px 13px; font-size: 13.5px; }
.d-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 48px; padding-top: 36px; padding-bottom: 70px; align-items: start; }
.d-cols-2 { grid-template-columns: 250px minmax(0, 1fr); }
.d-side, .d-toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; }
.d-side-m { display: none; }
.d-nav details { margin-bottom: 4px; }
.d-nav summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--r-s); font-size: 14.5px; font-weight: 700; color: var(--black); }
.d-nav summary::-webkit-details-marker { display: none; }
.d-nav summary:after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); transform: rotate(-45deg); transition: transform .15s; }
.d-nav details[open] > summary:after { transform: rotate(45deg); }
.d-nav summary:hover { background: var(--g-plain); }
.d-nav ul { list-style: none; margin: 2px 0 10px 10px; padding: 0; border-left: 2px solid var(--line); }
.d-nav li a { display: block; padding: 6px 10px 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.d-nav li a:hover { color: var(--black); }
.d-nav li a.on { color: var(--red-d); font-weight: 700; border-left-color: var(--red); background: linear-gradient(90deg, var(--red-l), rgba(253,236,236,0)); }
.d-main { min-width: 0; }
.d-main h1 { font-size: 38px; line-height: 1.14; letter-spacing: -1px; font-weight: 800; }
.d-main .c-lead { font-size: 18.5px; margin-top: 12px; }
.d-main .prose { margin-top: 30px; font-size: 16.5px; line-height: 1.72; }
.d-main .prose h2 { font-size: 24px; padding-top: .3em; }
.d-main .prose h3 { font-size: 19px; }
.d-applies { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; }
.d-applies span { color: var(--muted); font-weight: 600; }
.d-applies b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: var(--r-s); background: var(--solid); color: #fff; font-weight: 700; font-size: 12.5px; }
.d-toc h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.d-toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.d-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 13.5px; line-height: 1.4; text-decoration: none; }
.d-toc .l3 a { padding-left: 26px; font-size: 13px; }
.d-toc a:hover { color: var(--black); border-left-color: var(--red); }
.d-related { margin: 36px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--g-plain); }
.d-related h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.d-related ul { margin: 0; padding-left: 1.2em; }
.d-related li { margin: 4px 0; }
.d-related li::marker { color: var(--red); }
.d-related a { font-weight: 600; }
.d-helpful { margin: 40px 0 0; padding: 26px 28px; border: 1px solid var(--line-2); border-radius: var(--r-s); text-align: center; }
.d-helpful h2 { font-size: 20px; margin-bottom: 16px; }
.d-faces { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.d-face { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 128px; padding: 14px 16px 12px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.d-face:hover { transform: translateY(-2px); border-color: var(--black); }
.d-face-3:hover, .d-face-3.on { background: color-mix(in srgb, #2E9E5B 16%, var(--card)); border-color: #0E8A4F; color: #0A6B3D; }
.d-face-2:hover, .d-face-2.on { background: color-mix(in srgb, var(--spark) 14%, var(--card)); border-color: #D97A00; color: #9A5600; }
.d-face-1:hover, .d-face-1.on { background: var(--red-l); border-color: var(--red); color: var(--red-d); }
.d-face.on { box-shadow: none; }
.d-note, .d-thanks { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.d-thanks { color: #0A6B3D; font-weight: 700; font-size: 14.5px; }
.d-comment { max-width: 520px; margin: 16px auto 0; text-align: left; }
.d-comment label { display: block; font-size: 13.5px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.d-comment textarea { display: block; width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); resize: vertical; margin-bottom: 10px; }
.d-comment textarea:focus { border-color: var(--black); outline: 0; }
.d-comment button { cursor: pointer; }
.d-updated { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.d-list { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: dl; }
.d-list li { counter-increment: dl; margin: 0 0 12px; }
.d-list a { position: relative; display: block; padding: 16px 20px 16px 62px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); text-decoration: none; }
.d-list a:before { content: counter(dl); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--solid); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.d-list a:hover { border-color: var(--black); }
.d-list a:hover:before { background: var(--red); }
.d-list b { display: block; color: var(--black); font-size: 17px; }
.d-list span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.d-count { margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.d-hits { list-style: none; margin: 0; padding: 0; }
.d-hits li { margin: 0 0 12px; }
.d-hits a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; background: var(--card); }
.d-hits a:hover { border-color: var(--black); }
.d-hits small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 3px; }
.d-hits b { display: block; color: var(--black); font-size: 17.5px; }
.d-hits span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.55; }
.d-hits mark { background: #FFE9A8; color: inherit; border-radius: 8px; padding: 0 2px; }

/* ---- changelog */
.l-feed { margin-top: 14px !important; font-size: 14.5px !important; }
.l-feed a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); text-decoration: none; }
.l-feed a:hover { color: var(--red); }
.l-cols { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1040px; }
.l-side { position: sticky; top: 92px; }
.l-side h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.l-side ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.l-side a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14.5px; }
.l-side a b { color: var(--ink); }
.l-side a:hover { border-left-color: var(--red); }
.l-side a:hover b { color: var(--red-d); }
.l-line { position: relative; }
.l-rel { position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 34px; padding: 0 0 46px 34px; scroll-margin-top: 90px; }
.l-rel:before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.l-rel:last-child:before { bottom: 46px; }
.l-rel:after { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); box-sizing: border-box; }
.l-rel.latest:after { border-color: var(--red); box-shadow: 0 0 0 5px var(--red-l); }
.l-when { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.l-ver { display: inline-block; padding: 4px 14px; border-radius: var(--r-s); background: var(--solid); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.l-rel.latest .l-ver { background: var(--red); }
.l-latest { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.l-when time { color: var(--muted); font-size: 14px; font-weight: 600; }
.l-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 24px 28px 22px; }
.l-rel.latest .l-body { border: 1px solid var(--line-2); box-shadow: none; }
.l-body > h2 { font-size: 24px; letter-spacing: -.5px; line-height: 1.25; }
.l-sum { font-size: 16px; line-height: 1.65; margin-top: 8px; color: var(--muted); }
.l-sum p:last-child { margin-bottom: 0; }
.l-group { margin-top: 18px; }
.l-group h3 { margin: 0 0 6px; line-height: 1; }
.l-badge { display: inline-block; padding: 4px 11px; border-radius: var(--r-s); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.l-new { background: #E8F6EE; color: #0A6B3D; }
.l-improved { background: #E9F0FE; color: #1B4FB8; }
.l-fixed { background: #FFF2DD; color: #8A4D00; }
.l-security { background: var(--red-l); color: var(--red-d); }
.l-group ul { list-style: none; margin: 0; padding: 0; }
.l-group li { position: relative; padding: 5px 0 5px 20px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.l-group li:before { content: ""; position: absolute; left: 3px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.l-group li strong { color: var(--black); }
.l-group li a { color: var(--red-d); }
.l-group li code { font: 600 .88em ui-monospace, Consolas, monospace; background: var(--g-plain); border: 1px solid var(--line); border-radius: var(--r-s); padding: 1px 5px; }

/* ---- legal */
.g-updated { font-size: 14px !important; font-weight: 600; margin-top: 14px !important; }
.g-cols { display: grid; grid-template-columns: 250px minmax(0, 740px); gap: 56px; align-items: start; }
.g-side { position: sticky; top: 92px; }
.g-others { display: grid; gap: 8px; margin-top: 26px; }
.g-others a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.g-others a:hover { border-color: var(--black); }
.g-text { font-size: 16.5px; }
.g-text h2 { font-size: 23px; }

@media (max-width: 1080px) {
    .c-grid, .d-secs { grid-template-columns: 1fr 1fr; }
    .d-cols { grid-template-columns: 230px minmax(0, 1fr); gap: 36px; }
    .d-toc { display: none; }
    .c-post-cols { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
    .c-grid.has-lead .lead .c-card-img { flex-basis: 50%; min-height: 280px; }
}
@media (max-width: 860px) {
    .c-head h1, .d-hero h1 { font-size: 34px; letter-spacing: -.9px; }
    .c-post-head h1 { font-size: 34px; letter-spacing: -.9px; }
    .c-post-cols, .g-cols { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 30px; }
    .c-side, .g-side, .l-side { position: static; }
    .c-toc, .g-side .c-toc { margin-bottom: 30px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--g-plain); }
    .g-others { margin: 0 0 26px; }
    .c-grid.has-lead .lead { flex-direction: column; }
    .c-grid.has-lead .lead .c-card-img { flex: none; aspect-ratio: 1200 / 630; min-height: 0; }
    .c-grid.has-lead .lead .c-card-b { padding: 22px; }
    .c-grid.has-lead .lead h2 { font-size: 24px; }
    .d-cols, .d-cols-2 { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 20px; }
    .d-side { position: static; max-height: none; margin-bottom: 22px; }
    .d-side-d { display: none; }
    .d-side-m { display: block; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--g-plain); }
    .d-side-m > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; padding: 12px 16px; font-weight: 700; color: var(--black); }
    .d-side-m > summary::-webkit-details-marker { display: none; }
    .d-side-m[open] > summary { border-bottom: 1px solid var(--line); }
    .d-side-m .d-nav { padding: 10px 10px 6px; }
    .d-main h1 { font-size: 30px; }
    .l-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .l-side { display: none; }
    .l-rel { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-left: 30px; }
    .l-when { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .c-grid, .d-secs { grid-template-columns: 1fr; gap: 18px; }
    .c-head { padding: 34px 0 26px; }
    .c-head h1, .d-hero h1, .c-post-head h1 { font-size: 29px; letter-spacing: -.7px; }
    .c-post-head { padding: 30px 0 24px; }
    .c-lead { font-size: 17.5px; }
    .c-hero { margin-top: 22px; border-radius: var(--r-s); }
    .prose { font-size: 16.5px; line-height: 1.7; }
    .prose h2 { font-size: 23px; }
    .prose h3 { font-size: 19px; }
    .prose blockquote { font-size: 17.5px; padding-left: 16px; }
    .c-search button, .d-search button { padding: 10px 13px; }
    .c-prevnext { grid-template-columns: 1fr; }
    .c-prevnext .pn-next { grid-column: 1; }
    .c-prevnext > span { display: none; }
    .c-author { padding: 18px; gap: 14px; }
    .d-hero { padding: 40px 0 34px; }
    .d-hero p { font-size: 16.5px; }
    .d-bar .wrap { flex-direction: column; align-items: stretch; gap: 10px; }
    .d-search.sm { flex: none; }
    .d-helpful { padding: 20px 14px; }
    .d-face { min-width: 0; flex: 1 1 30%; padding: 12px 6px 10px; font-size: 12.5px; }
    .l-body { padding: 20px 18px 18px; }
    .l-body > h2 { font-size: 21px; }
    .c-related { padding: 44px 0 50px; }
}

.c-share-b[hidden] { display: none; }

/* 1.1.0: a snippet of a search hit can carry a long run of letters (a table without its lines) - it must never widen the page */
.d-hits a { overflow-wrap: anywhere; min-width: 0; }
.d-hits li { min-width: 0; }

/* ---- the studio look (assets/site.css): the blog as cover cards, documentation and changelog on glass.
   Reading surfaces stay calm; the richness is in heads, cards and cover art. */
.c-head, .c-post-head, .d-hero { background: none; }
.d-hero { text-align: left; padding: 64px 0 46px; }
.d-hero h1, .d-hero p, .d-hero form, .d-hero .eyebrow, .d-hero .wrap > * { margin-left: 0; margin-right: 0; }
.d-hero h1 em { background: var(--sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-hero form { max-width: 560px; }
.c-search, .d-search { border: 1px solid var(--line-2); border-radius: 14px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-1); }
.c-search:focus-within, .d-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 24%, transparent); }
.c-search button, .d-search button { border-radius: 10px; background: var(--sig-2); box-shadow: 0 10px 22px -10px var(--brand); }
.c-search button:hover, .d-search button:hover { background: var(--sig-2); filter: brightness(1.1); }
.c-cats a, .c-cats span { border-radius: 99px !important; }
.c-grid, .c-grid.has-lead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border: 0; }
.c-card, .c-grid.has-lead .lead { flex-direction: column; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--glass); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s, border-color .25s, box-shadow .25s; }
.c-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); box-shadow: var(--sh-2), 0 30px 60px -36px var(--brand); }
.c-card-img { flex: none; width: 100%; aspect-ratio: 16 / 9; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--card-2); }
.c-card-b { padding: 20px 22px 22px; }
.c-card h2 a, .c-card h3 a { color: var(--ink); }
.c-card p { -webkit-line-clamp: 3; margin-bottom: 10px; color: var(--text); }
.c-cat { display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--link); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.c-grid.has-lead .lead { grid-column: 1 / -1; flex-direction: row; }
.c-grid.has-lead .lead .c-card-img { flex: 0 0 52%; min-height: 0; aspect-ratio: 16 / 9; border-bottom: 0; border-right: 1px solid var(--line); }
.c-grid.has-lead .lead .c-card-b { padding: 32px 34px; justify-content: center; }
.c-grid.has-lead .lead h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.035em; }
.c-tags a, .c-post-tags a { border-radius: 99px; background: var(--glass); border-color: var(--line-2); }
.c-share-b { border-radius: 99px; background: var(--glass); border-color: var(--line-2); }
.c-share-b:hover { border-color: var(--brand); color: var(--ink); }
.c-share-b.done { background: var(--sig-2); border-color: transparent; }
.c-author, .d-related { border-radius: var(--r); background: var(--glass); box-shadow: var(--sh-1); }
.c-author-i { background: var(--sig-2); box-shadow: 0 12px 24px -12px var(--brand); }
.c-prevnext a { border-radius: var(--r) !important; background: var(--glass); }
.c-prevnext a:hover { border-color: var(--brand) !important; }
.prose { font-size: 17.5px; line-height: 1.75; }
.prose h2 { font-weight: 900; letter-spacing: -.03em; }
.prose a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--hot) 70%, transparent); }
.prose li::marker { color: var(--hot); }
.prose code { border-radius: 6px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--ink); }
.prose pre { border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--page) 70%, #000); }
.prose blockquote { border-left: 3px solid var(--hot); background: var(--glass); border-radius: 0 var(--r-s) var(--r-s) 0; }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.d-sec { border: 1px solid var(--line); border-radius: var(--r-l); background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 62%), var(--glass); box-shadow: var(--sh-1); transition: transform .25s, border-color .25s, box-shadow .25s; }
.d-sec:nth-child(3n + 2) { background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 62%), var(--glass); }
.d-sec:nth-child(3n + 3) { background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--hot) 16%, transparent), transparent 62%), var(--glass); }
.d-sec:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--sh-2); }
.d-sec-h .ic { border-radius: 14px; background: var(--sig-2) !important; color: #fff; box-shadow: 0 12px 24px -12px var(--brand); }
.d-sec h2 a { color: var(--ink); }
.d-bar { background: color-mix(in srgb, var(--page) 70%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.d-nav summary { color: var(--ink); }
.d-nav summary:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.d-nav li a.on { color: var(--ink); border-left-color: var(--hot); background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 24%, transparent), transparent); border-radius: 0 8px 8px 0; }
.d-helpful { border: 1px solid var(--line); border-radius: var(--r-l); background: radial-gradient(60% 100% at 50% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), var(--glass); box-shadow: var(--sh-1); }
.d-face { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--glass-2); }
.d-face:hover { border-color: var(--brand); }
.d-face-3:hover, .d-face-3.on { color: var(--ink); border-color: #2E9E5B; }
.d-face-2:hover, .d-face-2.on { color: var(--ink); border-color: var(--spark); }
.d-face-1:hover, .d-face-1.on { color: var(--ink); background: color-mix(in srgb, var(--hot) 14%, var(--card)); border-color: var(--hot); }
.l-body { border: 1px solid var(--line) !important; border-radius: var(--r-l) !important; background: radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 62%), var(--glass) !important; box-shadow: var(--sh-1); }
.callout { border-radius: var(--r) !important; }
@media (max-width: 1000px) { .c-grid, .c-grid.has-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .c-grid, .c-grid.has-lead { grid-template-columns: 1fr; }
    .c-grid.has-lead .lead { flex-direction: column; }
    .c-grid.has-lead .lead .c-card-img { flex: none; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
    .c-grid.has-lead .lead .c-card-b { padding: 20px 22px 22px; }
}
