/* Author: Badge's white theme and graphite buttons.
   Tokens from ~/Documents/badge.ar.io/landing/landing.css and buttons/buttons.css.
   Loaded last so they win over Records' colourful themes. The site is white only
   (color-scheme: only light), like Badge's landing. */

html, html[data-theme="light"] {
  --bg: #fbfaf5;
  --ink: #1d1f24;
  --muted: #5c5f66;
  --line: #e6e4dc;
  --accent: #1d1f24;
  --pe-accent: #1d1f24;
  --sel: #2a2c31;
  --graphite-top: #3a3d43;
  --graphite-bot: #2a2c31;
  --graphite-line: #1e2024;
  --ease: 0.18s ease;
  color-scheme: only light;
  background: #fbfaf5;
  background-color: #fbfaf5;
}
html, html[data-theme="light"] body {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}
/* No Records sky or scenic palette layers. */
.lp-stars, .lp-sky, .pal { display: none !important; }

/* --- Pen mark: the stroke only, sitting on the page background. White theme, so the PNG itself. --- */
.au-pen,
.rv-ph__home .au-pen {
  display: block;
  width: 42px;
  height: 22px;
  flex: none;
  object-fit: contain;
  background: none;
}
.rv-ph__home { color: var(--ink); gap: 10px; }

/* Records fades the foot of the landing main; Author has no long landing scroll. */
body.rv-home .rv-main {
  -webkit-mask-image: none;
  mask-image: none;
}

/* --- Landing hero. The full cream tile stays here; the header uses only the stroke. --- */
.au-hero { min-height: calc(100vh - 65px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 32px 24px 12vh; text-align: center; }
.au-hero__logo { width: 112px; height: 112px; display: block; border-radius: 25px; box-shadow: 0 1px 2px rgba(17,17,17,.08), 0 8px 24px rgba(17,17,17,.12); }
.au-hero__name { margin: 28px 0 0; color: var(--ink); font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.au-hero__line { margin: 14px 0 0; max-width: 28ch; color: var(--muted); font-size: 20px; line-height: 1.4; font-weight: 400; }
.au-hero__cta { margin-top: 36px; }
@media (max-width: 520px) { .au-hero__name { font-size: 36px; } .au-hero__line { font-size: 18px; } }

/* The Sign in / enter buttons are Vanilla's Standalone button (class vn-button vn-button--standalone). */


/* --- Editor header crumb: live title, ellipsis when long. --- */
.rv-ph__path {
  min-width: 0;
  max-width: min(42vw, 28ch);
}
.rv-ph__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Resizable images (Tiptap Image resize NodeView). Handles show when the picture is selected. --- */
.pe-copy [data-resize-container] {
  display: inline-flex !important;
  width: max-content;
  max-width: 100%;
  margin: 0.4em 0;
  outline: none;
}
.pe-copy [data-resize-wrapper] {
  position: relative;
  display: block;
  max-width: 100%;
  line-height: 0;
}
.pe-copy [data-resize-container] img,
.pe-copy .pe-copy__content > img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.pe-copy [data-resize-container]:not([data-resize-state="true"]) img {
  height: auto !important;
}
.pe-copy [data-resize-container].ProseMirror-selectednode [data-resize-wrapper] {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.pe-copy [data-resize-handle] {
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  margin: -6px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.pe-copy [data-resize-handle="top-left"],
.pe-copy [data-resize-handle="bottom-right"] { cursor: nwse-resize; }
.pe-copy [data-resize-handle="top-right"],
.pe-copy [data-resize-handle="bottom-left"] { cursor: nesw-resize; }
.pe-copy [data-resize-container].ProseMirror-selectednode [data-resize-handle],
.pe-copy [data-resize-container][data-resize-state="true"] [data-resize-handle] {
  opacity: 1;
  pointer-events: auto;
}

/* S / M / L / Full presets, under the selected picture. */
.au-img-sizes {
  position: fixed;
  z-index: 60;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.1);
}
.au-img-sizes[hidden] { display: none; }
.au-img-sizes__btn {
  appearance: none;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.au-img-sizes__btn:hover,
.au-img-sizes__btn:focus-visible { background: #f3f2ee; }

/* --- Toolbar layouts (switch with /write?toolbar=a|b|c|d). --- */
body.au-tb-a .cr { padding-top: 64px; }

/* B: bubble on a text selection, plus a small insert chip. */
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-b #float.pe-float,
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-b #float.pe-float.btn--user-dark,
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-b #float.pe-float.btn--user-dark.is-placed {
  left: var(--au-tb-x, 50%) !important;
  top: var(--au-tb-y, 0px) !important;
  right: auto !important;
  bottom: auto !important;
  width: max-content !important;
  max-width: calc(100vw - 16px) !important;
  margin: 0 !important;
  transform: translate(-50%, calc(-100% - 8px)) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease;
}
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-b #float.pe-float.is-shown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.au-insert {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
}
.au-insert__btn {
  appearance: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.au-insert__btn:hover,
.au-insert__btn:focus-visible { background: #f3f2ee; }
.au-insert__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* C: compact sticky bottom pill; option rows open upward. */
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-c #float.pe-float,
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-c #float.pe-float.btn--user-dark,
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-c #float.pe-float.btn--user-dark.is-placed {
  top: auto !important;
  bottom: 20px !important;
  left: 50% !important;
  right: auto !important;
  width: max-content !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}
html body.au-tb-c .pe-tools { flex-direction: column-reverse; }
html body.au-tb-c .pe-tools__opts { border-top: 0; border-bottom: 1px solid var(--pe-line, var(--line)); padding-top: 0; padding-bottom: 4px; }
body.au-tb-c .cr { padding-bottom: 120px; }
body.au-tb-c .cr-status { margin-bottom: 72px; }


/* Hidden option rows must not stretch the bubble/pill (Records opts have a min-height). */
html body.au-tb-b #float .pe-tools__opts[hidden],
html body.au-tb-b #float .pe-tools__link[hidden],
html body.au-tb-c #float .pe-tools__opts[hidden],
html body.au-tb-c #float .pe-tools__link[hidden] {
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* D: left vertical rail; group options fly out to the right. Type / for a slash menu. */
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-d #float.pe-float,
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-d #float.pe-float.btn--user-dark,
html:not(#w0):not(#w1):not(#w2):not(#w3):not(#w4):not(#w5):not(#w6):not(#w7):not(#w8):not(#w9):not(#w10):not(#w11):not(#w12):not(#w13):not(#w14):not(#w15):not(#w16):not(#w17):not(#w18):not(#w19):not(#w20):not(#w21):not(#w22):not(#w23):not(#w24):not(#w25):not(#w26):not(#w27):not(#w28):not(#w29):not(#w30):not(#w31):not(#w32):not(#w33):not(#w34):not(#w35):not(#w36):not(#w37):not(#w38):not(#w39):not(#w40):not(#w41):not(#w42):not(#w43):not(#w44):not(#w45):not(#w46):not(#w47):not(#w48):not(#w49):not(#w50):not(#w51):not(#w52):not(#w53):not(#w54):not(#w55):not(#w56):not(#w57):not(#w58):not(#w59):not(#w60):not(#w61):not(#w62):not(#w63):not(#w64):not(#w65):not(#w66):not(#w67):not(#w68):not(#w69):not(#auTB) body.au-tb-d #float.pe-float.btn--user-dark.is-placed {
  top: 50% !important;
  left: 16px !important;
  right: auto !important;
  bottom: auto !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 8px 6px !important;
  transform: translateY(-50%) !important;
  flex-direction: column;
}
html body.au-tb-d .pe-tools,
html body.au-tb-d .pe-tools__row {
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: visible;
}
html body.au-tb-d .pe-tools { position: relative; }
html body.au-tb-d .pe-tools__opts:not([hidden]) {
  position: absolute;
  left: calc(100% + 8px);
  top: 0;
  z-index: 2;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
  animation: none;
}
html body.au-tb-d .pe-tools__link:not([hidden]) {
  position: absolute;
  left: calc(100% + 8px);
  top: 0;
  min-width: 260px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
}
@media (min-width: 900px) {
  body.au-tb-d .rv-main { padding-left: 88px; }
}
.au-slash {
  position: fixed;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 260px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.12);
}
.au-slash[hidden] { display: none; }
.au-slash__item {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.au-slash__item em { color: var(--muted); font-style: normal; font-size: 12px; }
.au-slash__item.is-active,
.au-slash__item:hover { background: #f3f2ee; }

/* --- Layout E: Badge-style bottom toolbar pill and the command menu. --- */
body.au-tb-e #float { display: none !important; }
body.au-tb-e .cr { padding-top: 16px; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }

/* The bottom toolbar is Vanilla's (components/toolbar.css); only where it sits is Author's. */
.au-toolbar {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
}
.au-toolbar__cmd { color: var(--muted); }
.au-toolbar__cmd[aria-expanded="true"] { color: var(--ink); }
@media (max-width: 520px) {
  .au-toolbar { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); --_btn: 34px; --_pad: 3px; }
  body.au-tb-e .cr { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

.au-cmd {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: start center;
  padding: 14vh 16px 16px;
  background: rgba(29, 31, 36, 0.18);
}
.au-cmd[hidden] { display: none; }
.au-cmd__panel {
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(17, 17, 17, 0.18);
}
.au-cmd__search {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: 400 16px/1.3 Inter, system-ui, sans-serif;
  outline: none;
}
.au-cmd__list { max-height: min(64vh, 560px); overflow: auto; padding: 6px; }
.au-cmd__group {
  padding: 8px 10px 4px;
  color: var(--muted);
  font: 600 11px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.au-cmd__item {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: 500 14px/1.2 Inter, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.au-cmd__item kbd {
  color: var(--muted);
  font: 500 12px/1 Inter, ui-monospace, monospace;
}
.au-cmd__item.is-active,
.au-cmd__item:hover { background: #f3f2ee; }
.au-cmd__empty {
  margin: 0;
  padding: 16px 10px;
  color: var(--muted);
  font: 400 13px/1.4 Inter, system-ui, sans-serif;
}
.au-cmd__foot {
  margin: 0;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 12px/1.4 Inter, system-ui, sans-serif;
}

.au-toolbar__cmdmark {
  font: 600 15px/1 system-ui, -apple-system, sans-serif;
}
.au-cmd__item kbd,
.au-cmd__foot,
.au-toolbar__cmd {
  font-family: system-ui, -apple-system, sans-serif;
}
.au-cmd__list { max-height: min(64vh, 560px); }

/* Author's header link colour must not win over Vanilla's Standalone button text. */
html body .rv-ph a.vn-button { color: var(--_text); text-decoration: none; }

/* Dev only (static/js/looks.js): the strip above the bottom toolbar for clicking through Vanilla's toolbar looks. */
.au-looks {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 70; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 5px 8px; max-width: calc(100vw - 24px);
  border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 6px 20px rgba(17, 17, 17, 0.1);
  font: 500 13px/1 Inter, system-ui, sans-serif; color: var(--ink);
}
.au-looks .vn-button { min-width: 0; height: 28px; padding: 0 12px; }
.au-looks__name { min-width: 130px; text-align: center; white-space: nowrap; }
