/* frostyh.com shared look for every page (bar .n3 + footer .f3 written by tools/shell/build.cjs, the home page uses
   the same markup). Loaded LAST on each page.
   2026-11-25 v3 (owner: "clear glass design, mostly white and light colours, like the app pages"): the bar is a
   floating frosted pill that stays readable over anything, the footer is a light glass card with a big soft
   wordmark under it. Same tokens as the app pages (liner-apps.css): light ground, translucent white panels with real
   backdrop blur, hairlines instead of outlines, one dark button, no glow. */
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Satoshi V'; src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --t3-bg: #F5F6F8; --t3-ink: #101318; --t3-sub: #4B515C; --t3-muted: #656B76; --t3-line: rgba(16, 19, 24, .09); --t3-card: #FFFFFF; --t3-dark: #101318;
  --t3-glass: rgba(255, 255, 255, .72); --t3-glass-2: rgba(255, 255, 255, .9); --t3-fill: rgba(16, 19, 24, .05); --t3-fill-h: rgba(16, 19, 24, .085);
  --t3-hair: rgba(16, 19, 24, .07); --t3-blur: blur(20px) saturate(160%);
  --t3-shadow: 0 1px 2px rgba(16, 19, 24, .05), 0 18px 44px -24px rgba(16, 19, 24, .28);
  --t3-ice: #2D6FD0; --t3-ice-soft: #E4EEFB;
  --t3-display: 'Clash Display', 'Satoshi V', system-ui, sans-serif; --t3-body: 'Satoshi V', 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t3-out: cubic-bezier(.22, 1, .36, 1);
  /* the v4 page tokens */
  --sv-ground: #F5F6F8; --sv-paper: #FFFFFF; --sv-soft: #ECEEF1; --sv-ink: #101318; --sv-ink2: #3C424C; --sv-mute: #656B76;
  --sv-hair: rgba(16, 19, 24, .08); --sv-acc: #101318; --sv-acc-h: #262A32; --sv-acc-soft: #8A9099;
  --sv-display: 'Clash Display', 'Satoshi V', system-ui, sans-serif; --sv-body: 'Satoshi V', 'Satoshi', system-ui, sans-serif;
  --hv: #101318; --hv-rest: #C6CAD1;
}
html { scroll-padding-top: 96px; }

/* ---------------- bar: a floating frosted pill ---------------- */
.n3 { position: fixed; z-index: 60; top: 0; left: 0; right: 0; padding: calc(10px + env(safe-area-inset-top, 0px)) max(10px, 1.6vw) 0; color: var(--t3-ink); font-family: var(--t3-body); pointer-events: none; background: none !important; }
.n3-in { position: relative; pointer-events: auto; max-width: 1240px; height: 58px; margin: 0 auto; padding: 0 8px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 18px; background: var(--t3-glass); -webkit-backdrop-filter: var(--t3-blur); backdrop-filter: var(--t3-blur);
  box-shadow: 0 0 0 1px var(--t3-hair), 0 8px 28px -16px rgba(16, 19, 24, .3); transition: background-color .35s linear, box-shadow .35s linear; }
.n3.solid .n3-in { background: var(--t3-glass-2); box-shadow: 0 0 0 1px var(--t3-hair), 0 12px 34px -14px rgba(16, 19, 24, .32); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .n3-in { background: rgba(255, 255, 255, .96); } }
.n3-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--t3-ink) !important; text-decoration: none; font: 700 17px/1 var(--t3-body); letter-spacing: 0; }
.mk3 { width: 34px; height: 34px; flex: none; color: var(--t3-ink); --fg: #fff; }
.n3-logo.is-app img { width: 34px; height: 34px; border-radius: 9px; }
.n3-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; font-size: 15px; font-weight: 500; }
.n3-links a { position: relative; z-index: 1; display: block; padding: 9px 13px; border-radius: 10px; color: var(--t3-muted) !important; text-decoration: none !important; white-space: nowrap; transition: color .25s linear; }
.n3-links a:hover, .n3-links a.on { color: var(--t3-ink) !important; }
.n3-end { display: flex; align-items: center; gap: 6px; }
.n3-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px 0 18px; border-radius: 12px; background: var(--t3-ink) !important; color: #fff !important; font: 500 15px/1 var(--t3-body); text-decoration: none !important; white-space: nowrap; transition: background-color .25s linear; }
.n3-btn:hover { background: #2A2E36 !important; }
.n3-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.n3-links a:focus-visible, .n3-btn:focus-visible, .n3-logo:focus-visible, .n3-menu:focus-visible, .n3-sheet a:focus-visible { outline: 2px solid var(--t3-ink); outline-offset: 2px; border-radius: 10px; }
/* the hover marker: a soft fill that glides behind the link you point at */
.n3-links .glide { position: absolute; z-index: 0; left: 0; top: 0; height: 100%; width: 0; border-radius: 10px; background: var(--t3-fill); opacity: 0; pointer-events: none; transition: translate .32s var(--t3-out), width .32s var(--t3-out), opacity .2s linear; }
.n3-links .glide.on { opacity: 1; }
.n3-links .glide.snap { transition: opacity .2s linear; }
/* phones: Menu opens the links in a glass sheet under the pill */
.n3-menu { display: none; align-items: center; gap: 9px; height: 42px; padding: 0 13px; border: 0; border-radius: 12px; background: var(--t3-fill); color: var(--t3-ink); font: 500 15px/1 var(--t3-body); cursor: pointer; transition: background-color .25s linear; }
.n3-menu:hover { background: var(--t3-fill-h); }
.n3-menu i { position: relative; width: 14px; height: 10px; }
.n3-menu i::before, .n3-menu i::after { content: ''; position: absolute; left: 0; width: 14px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--t3-out), top .4s var(--t3-out); }
.n3-menu i::before { top: 1.5px; } .n3-menu i::after { top: 7px; }
.n3-menu[aria-expanded="true"] i::before { top: 4.2px; transform: rotate(45deg); }
.n3-menu[aria-expanded="true"] i::after { top: 4.2px; transform: rotate(-45deg); }
.n3-sheet { position: relative; pointer-events: none; max-width: 1240px; margin: 8px auto 0; display: grid; grid-template-rows: 0fr; opacity: 0; translate: 0 -6px; transition: grid-template-rows .45s var(--t3-out), opacity .25s linear, translate .45s var(--t3-out); }
.n3-sheet-in { min-height: 0; overflow: hidden; display: grid; border-radius: 18px; background: var(--t3-glass-2); -webkit-backdrop-filter: var(--t3-blur); backdrop-filter: var(--t3-blur); box-shadow: 0 0 0 1px var(--t3-hair), 0 18px 40px -18px rgba(16, 19, 24, .35); }
.n3-sheet a { display: block; padding: 15px 20px; font: 500 20px/1.2 var(--t3-display); color: var(--t3-ink) !important; text-decoration: none !important; }
.n3-sheet a + a { box-shadow: 0 -1px 0 var(--t3-hair); }
.n3-sheet a[aria-current] { color: var(--t3-muted) !important; }
.n3.open .n3-sheet { pointer-events: auto; grid-template-rows: 1fr; opacity: 1; translate: 0 0; }
@media (max-width: 899px) { .n3-links { display: none; } .n3-menu { display: inline-flex; } }
@media (min-width: 900px) { .n3-sheet { display: none; } }
@media (max-width: 380px) { .n3-in { height: 54px; padding-left: 10px; } .n3-btn { height: 38px; padding: 0 12px; font-size: 14px; } .n3-btn svg { display: none; } .n3-menu { height: 38px; padding: 0 11px; } .n3-logo span { display: none; } }
/* pages on a black ground (the licence pages): the same pill in dark glass */
.n3[data-n3="dark"] .n3-in, .n3[data-n3="dark"] .n3-sheet-in { background: rgba(24, 26, 31, .72); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 28px -16px rgba(0, 0, 0, .6); }
.n3[data-n3="dark"].solid .n3-in { background: rgba(24, 26, 31, .9); }
.n3[data-n3="dark"] :is(.n3-logo, .n3-sheet a) { color: #F2F3F5 !important; }
.n3[data-n3="dark"] .n3-links a { color: #9AA0AA !important; } .n3[data-n3="dark"] .n3-links a:hover, .n3[data-n3="dark"] .n3-links a.on { color: #fff !important; }
.n3[data-n3="dark"] .n3-links .glide, .n3[data-n3="dark"] .n3-menu { background: rgba(255, 255, 255, .08); color: #F2F3F5; }
.n3[data-n3="dark"] .n3-btn { background: #fff !important; color: #101318 !important; } .n3[data-n3="dark"] .n3-btn:hover { background: #E4E6EA !important; }
.n3[data-n3="dark"] .mk3 { color: #fff; --fg: #101318; }
/* the old v4 bar is gone; make sure nothing of it shows if a page still has one */
.sn, .sn-sheet { display: none !important; }

/* ---------------- footer: a light glass card, a big soft wordmark under it ---------------- */
.f3 { position: relative; z-index: 2; overflow: hidden; background: transparent; color: var(--t3-ink); font-family: var(--t3-body); font-size: 15px; line-height: 1.5; padding-block: clamp(48px, 6vw, 88px) calc(clamp(64px, 11vw, 180px) + env(safe-area-inset-bottom, 0px)); }
.f3::after { content: 'Frostyh'; position: absolute; z-index: -1; left: 50%; bottom: -.22em; translate: -50% 0; font: 600 clamp(96px, 23vw, 380px)/1 var(--t3-display); letter-spacing: 0; color: rgba(16, 19, 24, .055); white-space: nowrap; pointer-events: none; }
.f3 a { color: inherit; text-decoration: none; }
.f3-wrap { width: min(1240px, calc(100% - 2 * max(12px, 1.6vw))); margin: 0 auto; padding: clamp(24px, 3.2vw, 48px); border-radius: 24px; background: var(--t3-glass); -webkit-backdrop-filter: var(--t3-blur); backdrop-filter: var(--t3-blur); box-shadow: 0 0 0 1px var(--t3-hair), var(--t3-shadow); }
.f3-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 64px; align-items: start; }
.f3-wm { display: inline-flex; align-items: center; gap: 14px; color: var(--t3-ink); font: 600 clamp(30px, 3vw, 42px)/1 var(--t3-display); letter-spacing: 0; }
.f3-wm .mk3 { width: 1.2em; height: 1.2em; color: var(--t3-ink); --fg: #fff; }
.f3-wm.is-app img { width: 1.2em; height: 1.2em; border-radius: .28em; }
.f3-brand p { margin: 16px 0 0; color: var(--t3-sub); font-size: 15.5px; font-weight: 400; max-width: 44ch; }
.f3-brand p a, .f3-note a { color: var(--t3-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(16, 19, 24, .25); }
.f3-k { margin: 0; font-size: 14px; font-weight: 500; color: var(--t3-muted); }
.f3-mail { display: inline-block; margin-top: 8px; font: 500 clamp(24px, 2.4vw, 34px)/1.15 var(--t3-display); color: var(--t3-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--t3-out); overflow-wrap: anywhere; }
.f3-mail:hover { background-size: 100% 1.5px; }
.f3-note { margin: 12px 0 0; font-size: 14.5px; color: var(--t3-sub); font-weight: 400; }
.f3-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: clamp(36px, 4vw, 56px); padding-top: 30px; border-top: 1px solid var(--t3-hair); }
.f3 .fc-t { margin: 0 0 14px; font: 600 14px/1.3 var(--t3-body); color: var(--t3-ink); }
.f3 .fc-h { display: none; }
.f3 .fc-b { display: grid; grid-template-rows: 1fr; }
.f3 .fc-b > ul { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.f3 .fc a { display: inline-block; font-size: 14.5px; font-weight: 400; line-height: 1.35; color: var(--t3-sub); text-decoration: none !important; transition: color .2s linear, translate .35s var(--t3-out); }
.f3 .fc a:hover, .f3 .fc a[aria-current] { color: var(--t3-ink); }
@media (hover: hover) { .f3 .fc a:hover { translate: 3px 0; } }
.f3-util { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--t3-hair); }
.f3-soc { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.f3-uk { font-size: 13px; color: var(--t3-muted); margin-right: 6px; }
.f3-soc a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--t3-fill); color: var(--t3-ink); transition: background-color .25s linear; }
.f3-soc a:hover { background: var(--t3-fill-h); }
.f3-soc svg { width: 18px; height: 18px; fill: currentColor; }
.f3-top { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; background: var(--t3-fill); color: var(--t3-ink) !important; font-size: 14px; font-weight: 500; transition: background-color .25s linear; }
.f3-top:hover { background: var(--t3-fill-h); }
.f3-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--t3-out); }
.f3-top:hover svg { translate: 0 -2px; }
.f3-bot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; flex-wrap: wrap; margin-top: 22px; font-size: 12.5px; color: var(--t3-muted); }
.f3-bot > span:first-child { max-width: 640px; }
.f3-legal { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.f3-bot a { transition: color .2s linear; }
.f3-bot a:hover, .f3-bot a[aria-current] { color: var(--t3-ink); }
/* page styles never underline footer links (some pages draw link underlines as background lines) */
.f3 .fc a, .f3-bot a, .f3-soc a, .f3-top, .f3-wm { background-image: none !important; border-bottom: 0 !important; text-decoration: none !important; }
/* pages on a black ground (the licence pages): the card in dark glass */
body:has(> .n3[data-n3="dark"]) .f3-wrap { background: rgba(24, 26, 31, .82); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 60px -30px rgba(0, 0, 0, .7); }
body:has(> .n3[data-n3="dark"]) .f3 { color: #F2F3F5; }
body:has(> .n3[data-n3="dark"]) .f3::after { color: rgba(255, 255, 255, .05); }
body:has(> .n3[data-n3="dark"]) .f3 :is(.f3-wm, .f3-mail, .fc-t, .fc-h, .f3-brand p a, .f3-note a) { color: #F2F3F5 !important; }
body:has(> .n3[data-n3="dark"]) .f3-wm .mk3 { color: #fff; --fg: #101318; }
body:has(> .n3[data-n3="dark"]) .f3 :is(.f3-brand p, .f3-note, .f3-k, .fc a, .f3-uk, .f3-bot, .f3-bot a) { color: #9AA0AA !important; }
body:has(> .n3[data-n3="dark"]) .f3 :is(.fc a:hover, .f3-bot a:hover, .fc a[aria-current], .f3-bot a[aria-current]) { color: #fff !important; }
body:has(> .n3[data-n3="dark"]) .f3 :is(.f3-soc a, .f3-top) { background: rgba(255, 255, 255, .08); color: #F2F3F5 !important; }
body:has(> .n3[data-n3="dark"]) .f3 :is(.f3-cols, .f3-util, .fc) { border-color: rgba(255, 255, 255, .08) !important; }
@media (max-width: 1060px) { .f3-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 900px) { .f3-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .f3-wrap { border-radius: 20px; }
  .f3-cols { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 4px; }
  .f3 .fc { border-bottom: 1px solid var(--t3-hair); }
  .f3 .fc-t { margin: 0; } .f3 .fc-l { display: none; }
  .f3 .fc-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; border: 0; background: none; color: var(--t3-ink); font: 600 16px var(--t3-body); cursor: pointer; text-align: left; }
  .f3 .fc-h i { position: relative; width: 12px; height: 12px; flex: none; }
  .f3 .fc-h i::before, .f3 .fc-h i::after { content: ''; position: absolute; left: 0; top: 5.2px; width: 12px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--t3-out); }
  .f3 .fc-h i::after { transform: rotate(90deg); } .f3 .fc.open .fc-h i::after { transform: rotate(0); }
  .f3 .fc-b { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--t3-out); }
  .f3 .fc.open .fc-b { grid-template-rows: 1fr; }
  .f3 .fc-b > ul { gap: 0; }
  .f3 .fc-b li > * { display: block; padding: 7px 0; }
  .f3 .fc-b li:last-child { padding-bottom: 14px; }
  .f3 .fc-b li { opacity: 0; translate: 0 -4px; transition: opacity .25s linear, translate .4s var(--t3-out); }
  .f3 .fc.open .fc-b li { opacity: 1; translate: 0 0; transition-delay: .06s; }
  .f3-util { border-top: 0; margin-top: 24px; padding-top: 0; }
  .f3-bot { flex-direction: column; }
}
.wo3 { font: inherit; color: inherit; }

/* ---------------- v4 pages (body.sv): legal, plugins docs, work, licence, 404 ---------------- */
body.sv { background: var(--t3-bg); color: var(--t3-ink); font-family: var(--t3-body); }
.sv-hero { background: var(--t3-bg); min-height: clamp(320px, 46svh, 540px); }
.sv-hero > img.sv-poster, .sv-poster { display: none !important; }
.sv-hero-in { padding-top: 132px; }
.sv-hero-in > p:first-child { font: 400 12.5px/1.3 'Plex Mono', ui-monospace, monospace; color: var(--t3-muted); }
.sv-h1 { font-family: var(--t3-display) !important; font-weight: 500 !important; letter-spacing: -.02em !important; line-height: .96 !important; text-wrap: balance; }
.sv h2, .sv h3 { font-family: var(--t3-display); font-weight: 500; letter-spacing: -.01em; }
.sv-lead { color: var(--t3-sub); }
.sv-card { border-radius: 14px; box-shadow: none; }
.sv-btn { border-radius: 12px !important; }
.sv-btn-arr { border-radius: 9px !important; color: var(--t3-ink) !important; }
.sv-badge span { border-radius: 6px !important; }
.sv-skip { border-radius: 10px !important; background: var(--t3-ink) !important; }
.sv-acc { color: inherit !important; }
.sv a:not([class]) { text-decoration-color: rgba(15, 15, 16, .3); }
/* pills -> calm corners (owner: rounded sometimes, sometimes not; never pills) */
.sv [class*="chip"], .sv [class*="pill"], .sv [class*="tag"], .sv .dp-filter button, .sv .dp-toc a { border-radius: 8px !important; }
.sv .sv-side ol a:hover, .sv .sv-side ol a.is-on { color: var(--t3-ink) !important; }
@media (prefers-reduced-motion: reduce) { .n3, .n3-btn, .f3 * { transition: none !important; } }

/* ---------------- app pages (Sculk, Calcite, Lapis, Sandstone, Garnet + licences) ----------------
   Same type and black and white as the portfolio: the hero film turns monochrome, headings in Clash Display,
   the app colour stays only in the app icon and the real screenshots. */
html body.fam, html body.fam-px, html body[class*="app-"], html body:has(.fh-top) {
  --app-acc: #FFFFFF; --fh-acc: #FFFFFF; --accent: #FFFFFF; --accent-hi: #E6E6E6; --accent-soft: rgba(255, 255, 255, .14);
  --fh-dot: 'Clash Display', 'Satoshi V', system-ui, sans-serif; --fh-word: 'Clash Display', 'Satoshi V', system-ui, sans-serif;
  --app-display: 'Clash Display', 'Satoshi V', system-ui, sans-serif; --ff-display: 'Clash Display', 'Satoshi V', system-ui, sans-serif;
  --display: 'Clash Display', 'Satoshi V', system-ui, sans-serif;
}
.fh-bg, .fh-bg video { filter: grayscale(1) contrast(1.05) brightness(.9); }
.fh-head { font-weight: 500 !important; letter-spacing: -.02em !important; }
.fh-head .w { color: #8E8E8B !important; text-shadow: none !important; font-family: inherit !important; font-size: 1em !important; }
:is(body.fam, body.fam-px, body[class*="app-"]) main h2, body:has(.fh-top) main h2 { font-family: 'Clash Display', 'Satoshi V', sans-serif !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
.fh-tpill { border-radius: 8px !important; }
.fh-cta, .fh-top a[class*="cta"] { border-radius: 12px !important; }
.fh-stat .i { color: #8E8E8B !important; }
/* ---------------- /websites/ (React page from D:\websites-v2, body.ws3) ---------------- */
body.ws3 { background: var(--t3-bg); }
body.ws3 #root .font-display { font-family: var(--t3-display) !important; font-weight: 500 !important; letter-spacing: -.02em; }
body.ws3 #root .wo svg { display: none; }
body.ws3 #root .wo .sr-only { position: static; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; white-space: nowrap; }
body.ws3 #root [class*="text-[#2d5b75]"], body.ws3 #root [class*="text-[#6b92aa]"], body.ws3 #root [class*="text-[#9cc3dc]"] { color: #8E8E8B !important; }
body.ws3 #root [class*="bg-[#2d5b75]"], body.ws3 #root [class*="bg-[#244a60]"] { background-color: var(--t3-ink) !important; }
body.ws3 #root [class*="bg-[#EFEFEF]"], body.ws3 #root [class*="bg-[#F5F5F5]"] { background-color: var(--t3-bg) !important; }
body.ws3 #root section#top { padding-top: 40px; }
body.ws3 #root [class*="rounded-full"] { border-radius: 10px !important; }
/* Sandstone has its own page markup (sandstone/styles.css) */
html body:has(.trust-pill) .bg, html body .bg-video { filter: grayscale(1) contrast(1.05) brightness(.9); }
html body .headline, html body .disp { font-family: var(--t3-display) !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
html body .headline .line { font-family: inherit !important; }
html body .trust-pill { border-radius: 8px !important; }
html body .page .cta, html body .get .cta { border-radius: 12px !important; }
html body .stn, html body .stat-icon, html body .glyph { color: #8E8E8B !important; }
/* Lapis: its navy ground and blue buttons go black and white too */
html body.app-lapis, html:has(body.app-lapis) { --ground: #0B0B0B; --panel: #141414; --raised: #1C1C1C; --ink: #F2F2F0; --mute: #A1A1A6; --accent: #FFFFFF; --a300: #D4D4D0; --a600: #8E8E8B; --on-accent: #0B0B0B; --app-acc: #FFFFFF; --app-btn: #FFFFFF; --app-btn-ink: #0B0B0B; --app-btn-h: #E6E6E6; --app-panel: #141414; --app-foot: #141414; background-color: #0B0B0B; }
html body.app-lapis :is([style*="#091217"], [style*="#142027"]) { background-color: #141414 !important; }html body[class*="app-"] h1, html body[class*="app-"] h2, html body.fam-px h2 { font-family: var(--t3-display) !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
html body [data-write] svg { display: none !important; }

/* ---------------- 2026-11-25 polish (owner: the site "feels kinda dead"; rules: less fade-ins, nothing teleports) ----------------
   - the nav gets one bar that glides under the link you point at and rests under the page you are on (site3.js)
   - arrows on buttons nudge forward on hover
   - the v4 pages' blur-in on every card and paragraph is gone: content is simply there; only headings rise in,
     and the hero entrance keeps its rise without the blur */
body.sv .rv { filter: none !important; }
body.sv .rv:not(h1):not(h2) { opacity: 1 !important; transform: none !important; transition: none !important; }
html body.sv h2.rv:not(.in), html .t3-h:not(.t3-in) { opacity: 0; transform: translate3d(0, 22px, 0); }
html body.sv h2.rv, html .t3-h { transition: opacity .55s var(--t3-out), transform .7s var(--t3-out); }
@keyframes sv-in { from { opacity: 0; transform: translate3d(0, 24px, 0); } }
.sv-in > * { animation-duration: .9s !important; }
@media (prefers-reduced-motion: reduce) { html .t3-h { opacity: 1 !important; transform: none !important; } .n3-links .glide { transition: opacity .2s linear; } }

/* plugin docs titles (2026-11-26): long names like PracticeCore broke mid-word (docs-v4 sets overflow-wrap: anywhere); keep words whole and let site3.js shrink the title to fit */
.dp-name, .sv-h1 { overflow-wrap: normal !important; word-break: normal !important; hyphens: manual; }

/* ux pass 2026-12-01 (ui-ux-pro-max rules): tap sizes, text floor, focus */
:where(.f3 .fc) a { padding-block: 2px; }
#pm-note { font-size: 12px; }
:where(a, button, [role="button"], [role="switch"], [role="tab"], summary):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (pointer: coarse) {
  .f3 .f3-cols .fc-b li > * { padding-block: 12px; }
  .su-pin { width: 44px; height: 44px; left: -22px; top: -22px; }
  .gal-th { width: 78px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }