/* bs-guohua-white-layers — DEFAULT (html.bs-white-layers on <html>).
   Peyton t1239–t1251: 工笔白描 — thin pale strokes, 淡墨晕染, 留白,
   no boxed frames; 纯白 / 浅白 / 灰白 on the rice-paper wall;
   fills a softer charcoal; duvet is a down comforter that floats on the paper.
   Revert by removing the class (and this stylesheet).
   Does not filter user media, the nose logo, or the duvet color Corgi.
   Layout, radii, and control sizes stay as they are. */

html.bs-white-layers {
  --wl-white: #FFFFFF;
  --wl-soft: #F7F4EE;      /* light-white inner fields */
  --wl-grey: #F0EDE7;      /* lighter grey-white chips */
  --wl-edge: #E7E3DC;      /* whisper edge, barely darker than paper */
  --wl-char: #3F3A36;      /* softer charcoal fills */
  --wl-mute: #5F5A55;      /* muted text, AA on white and paper */
  --wl-shadow: 0 14px 36px rgba(48, 42, 36, 0.055), 0 2px 8px rgba(48, 42, 36, 0.03);
  --pri: #3F3A36;
  --pri2: #3F3A36;
  --apr: #3F3A36;
  --ok: #3F3A36;
  --mute: #5F5A55;
  --mut: #5F5A55;
  --ink-fill: #3F3A36;
}

/* Muted / secondary copy — slightly lighter, still readable */
html.bs-white-layers .mute,
html.bs-white-layers label,
html.bs-white-layers .hint,
html.bs-white-layers .terms13,
html.bs-white-layers p.terms13,
html.bs-white-layers #consent,
html.bs-white-layers .vision-sub,
html.bs-white-layers p.vision-sub {
  color: #5F5A55 !important;
}

/* ---------- Surfaces: paper wall stays; cards are pure white, no dark frame ---------- */
html.bs-white-layers header,
html.bs-white-layers body[data-holiday] header {
  background-color: #F7F4EE !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(48, 42, 36, 0.04) !important;
}
html.bs-white-layers nav,
html.bs-white-layers html body nav.bs-nav5,
html.bs-white-layers body nav.bs-nav5,
html.bs-white-layers body[data-holiday] nav {
  background-color: #F7F4EE !important;
  border: 0 !important;
  border-top: 0 !important;
  border-color: transparent !important;
  box-shadow: 0 -8px 24px rgba(48, 42, 36, 0.04) !important;
}

html.bs-white-layers .card,
html.bs-white-layers body[data-holiday] .card,
html.bs-white-layers .home-post,
html.bs-white-layers .sheet,
html.bs-white-layers .bs-sheet,
html.bs-white-layers .panel,
html.bs-white-layers .rowcard,
html.bs-white-layers .tile,
html.bs-white-layers .me-prof-card,
html.bs-white-layers .ph-group-card,
html.bs-white-layers .adm-box,
html.bs-white-layers .adm-box-sec,
html.bs-white-layers .adm-lock-card,
html.bs-white-layers .bs-ann,
html.bs-white-layers #authCard,
html.bs-white-layers .card#authCard,
html.bs-white-layers .vision-hero,
html.bs-white-layers .vision-box,
html.bs-white-layers .vision-video-wrap,
html.bs-white-layers .scbox,
html.bs-white-layers .sm-pop,
html.bs-white-layers .ownban,
html.bs-white-layers .petask,
html.bs-white-layers .bhwarn,
html.bs-white-layers .shoot,
html.bs-white-layers #bsMoreMenu,
html.bs-white-layers .wc-fcard,
html.bs-white-layers .reels-hub-wrap,
html.bs-white-layers .offense-search-box,
html.bs-white-layers .offense-pet-row,
html.bs-white-layers .clist,
html.bs-white-layers .wc-dir-hd {
  background-color: #FFFFFF !important;
  background-image: none !important;
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  outline: 0 !important;
  outline-color: transparent !important;
  box-shadow: var(--wl-shadow) !important;
}

/* Welcome left bar and other accent strokes — gone */
html.bs-white-layers .bs-ann,
html.bs-white-layers .bhwarn {
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
}

/* Duvet floats on the rice-paper wall: no white stage, no frame, faint mist vignette.
   Padding, width, and aspect-ratio stay as they are. */
html.bs-white-layers .bs-duvet-hero,
html.bs-white-layers #bsDuvetHero,
html.bs-white-layers .bs-duvet-stage,
html.bs-white-layers #bsDuvetStage {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
html.bs-white-layers #bsDuvetStage {
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
}
html.bs-white-layers #bsDuvetStage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  background: radial-gradient(ellipse 90% 78% at 50% 48%,
    transparent 58%,
    rgba(237, 230, 216, 0.22) 82%,
    rgba(237, 230, 216, 0.55) 100%);
}

/* Inner fields: light white, no dark outline */
html.bs-white-layers .home-post-row textarea,
html.bs-white-layers .home-post-row input,
html.bs-white-layers input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
html.bs-white-layers textarea,
html.bs-white-layers select,
html.bs-white-layers .cs-form input,
html.bs-white-layers .cs-form textarea,
html.bs-white-layers .cs-form select,
html.bs-white-layers .irow,
html.bs-white-layers .offense-search-in {
  background: #F7F4EE !important;
  border-color: #E7E3DC !important;
  border-width: 1px !important;
  box-shadow: none !important;
  outline-color: #E7E3DC !important;
}

/* Grey-white chips / secondary / ghost / icon circles — no rings */
html.bs-white-layers .pill:not(.on),
html.bs-white-layers .mpill:not(.on),
html.bs-white-layers .mcat-pill:not(.on),
html.bs-white-layers .btn.ghost,
html.bs-white-layers a.btn.ghost,
html.bs-white-layers button.btn.ghost,
html.bs-white-layers .btn.skip,
html.bs-white-layers a.btn.skip,
html.bs-white-layers button.btn.skip,
html.bs-white-layers .btn.soft,
html.bs-white-layers .e-earn,
html.bs-white-layers button.e-earn,
html.bs-white-layers .cs-earn,
html.bs-white-layers .me-pet-pill,
html.bs-white-layers .me-acc-btn,
html.bs-white-layers .me-acc-btn.danger,
html.bs-white-layers .vision-pill,
html.bs-white-layers .fnd-pill,
html.bs-white-layers .fnd-ban,
html.bs-white-layers .cat,
html.bs-white-layers .cat.on,
html.bs-white-layers button.cat,
html.bs-white-layers button.cat.on,
html.bs-white-layers .scope button,
html.bs-white-layers .scope button.on,
html.bs-white-layers .tabs button,
html.bs-white-layers .tabs button.on,
html.bs-white-layers .atabs button:not(.on),
html.bs-white-layers .bs-ico-btn,
html.bs-white-layers .bs-ico-btn.solid,
html.bs-white-layers .bs-ico-btn.on,
html.bs-white-layers a.bs-ico-btn,
html.bs-white-layers a.bs-ico-btn.solid,
html.bs-white-layers button.bs-ico-btn,
html.bs-white-layers .vision-pillar .vp-ic,
html.bs-white-layers .bs-ann-ic {
  background: #F0EDE7 !important;
  background-image: none !important;
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: #3F3A36 !important;
}

/* Avatars: no ring */
html.bs-white-layers .av,
html.bs-white-layers .av.lg,
html.bs-white-layers .home-post-av .av,
html.bs-white-layers .me-pet-pill .av {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Dividers: whisper grey, not a dark rule */
html.bs-white-layers .me-row,
html.bs-white-layers .me-account,
html.bs-white-layers .me-acc-h,
html.bs-white-layers .home-post-opts {
  border-color: #E7E3DC !important;
  border-top-color: #E7E3DC !important;
}

/* Catch-all: any leftover painted edge darker than a whisper becomes the light edge or none.
   Primary fills are restated below so this does not hollow out buttons. */
html.bs-white-layers .ownban,
html.bs-white-layers .petask,
html.bs-white-layers .cs-authnote,
html.bs-white-layers .cs-done .big,
html.bs-white-layers .pin-card-msg,
html.bs-white-layers .park-card-msg,
html.bs-white-layers .park-btn,
html.bs-white-layers .wc-fcard.pinned {
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: var(--wl-shadow) !important;
}

/* Selected-chip / map-pin rings that went black — drop the dark ring */
html.bs-white-layers .symHot.on {
  box-shadow: none !important;
}
html.bs-white-layers .bs-of-pk.on {
  border-color: transparent !important;
  box-shadow: none !important;
  background: #3F3A36 !important;
}
html.bs-white-layers .bs-live-pin.me {
  box-shadow: 0 0 0 3px #E7E3DC, 0 4px 10px rgba(0,0,0,.12) !important;
}

/* ---------- Softer charcoal fills (same size, white type) ---------- */
html.bs-white-layers body .btn:not(.ghost):not(.skip),
html.bs-white-layers body a.btn:not(.ghost):not(.skip),
html.bs-white-layers body button.btn:not(.ghost):not(.skip),
html.bs-white-layers body .btn.sm:not(.ghost):not(.skip),
html.bs-white-layers body header .btn:not(.ghost):not(.skip),
html.bs-white-layers body header a.btn:not(.ghost):not(.skip),
html.bs-white-layers body .home-post .btn:not(.ghost):not(.skip),
html.bs-white-layers body .reels-dash-btn,
html.bs-white-layers body .reels-mtab.on,
html.bs-white-layers body .reels-spill.on,
html.bs-white-layers body .pill.on,
html.bs-white-layers body .offense-pill.on,
html.bs-white-layers body .offense-fpill.on,
html.bs-white-layers body .wc-fact-btn.on,
html.bs-white-layers body .wc-dir-tab.on,
html.bs-white-layers body .mpill.on,
html.bs-white-layers body .mcat-pill.on,
html.bs-white-layers body .symChip.on,
html.bs-white-layers body .ph-az-btn.on,
html.bs-white-layers body .cs-btn,
html.bs-white-layers body .e-find,
html.bs-white-layers body button.e-find,
html.bs-white-layers body .cs-find .ic,
html.bs-white-layers body label.home-cam,
html.bs-white-layers body .home-cam,
html.bs-white-layers body .bs-call-accept,
html.bs-white-layers body button.bs-call-accept,
html.bs-white-layers body .atabs button.on,
html.bs-white-layers body #tUp.on,
html.bs-white-layers body #tIn.on {
  background: #3F3A36 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #3F3A36 !important;
  box-shadow: 0 8px 22px rgba(63, 58, 54, 0.18), 0 1px 4px rgba(63, 58, 54, 0.08) !important;
}

/* Map FAB: same 52px geometry and 4px white ring, softer charcoal fill, feathered shadow */
html.bs-white-layers body nav.bs-nav5 a.bs-nav-map b,
html.bs-white-layers body nav.bs-nav5 a.bs-nav-map b {
  background: #3F3A36 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(63, 58, 54, 0.22), 0 0 0 4px #fff !important;
}
html.bs-white-layers body nav.bs-nav5 a.bs-nav-map b svg { stroke: #FFFFFF !important; }
html.bs-white-layers body nav.bs-nav5 a.on::after { background: #3F3A36 !important; }

/* Badges stay charcoal-on-light, no peach, no harsh ring */
html.bs-white-layers body .bs-mini-bdg,
html.bs-white-layers body #notifBellBadge,
html.bs-white-layers body .notif-bdg,
html.bs-white-layers body .notif-udot,
html.bs-white-layers body span.bs-mini-bdg,
html.bs-white-layers body .bs-ico-btn .bs-mini-bdg {
  background: #3F3A36 !important;
  color: #FFFFFF !important;
  border-color: #3F3A36 !important;
  box-shadow: none !important;
}

/* Volume fill stays near-white on the dark pill; thumb stays ink-dark with a white rim.
   (earlier batch fix — do not regress) */

/* Never filter user media or the color bloom */
html.bs-white-layers .bs-pup-color,
html.bs-white-layers #bsPupColor,
html.bs-white-layers img.bs-pup-color,
html.bs-white-layers #headColor,
html.bs-white-layers #headColor img {
  /* no filter, no color override */
}

/* Hidden until match: "Find a sniff buddy nearby" — drop the #111 ring */
html.bs-white-layers body .bs-duvet-cta,
html.bs-white-layers body #bsDuvetCta {
  border: 1px solid #E7E3DC !important;
  background: #FFFFFF !important;
  color: #3F3A36 !important;
  box-shadow: 0 4px 14px rgba(48, 42, 36, 0.05) !important;
}

/* Hairline dividers: very pale, fading at both ends like a brush stroke */
html.bs-white-layers .me-row,
html.bs-white-layers .me-account,
html.bs-white-layers .me-acc-h,
html.bs-white-layers .home-post-opts {
  border-top-color: transparent !important;
  border-color: transparent !important;
  background-image: linear-gradient(90deg, transparent 0%, #E7E3DC 16%, #E7E3DC 84%, transparent 100%) !important;
  background-size: 100% 1px !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
}
html.bs-white-layers header::after,
html.bs-white-layers body[data-holiday] header::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #E7E3DC 18%, #E7E3DC 82%, transparent);
}
html.bs-white-layers body nav.bs-nav5::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #E7E3DC 18%, #E7E3DC 82%, transparent);
}

/* Thin 工笔 icon strokes in soft ink grey. Sizes and viewBoxes stay the same.
   White strokes on charcoal / dark pills are kept light. The nose logo is an image and is not touched. */
html.bs-white-layers nav a svg,
html.bs-white-layers body nav.bs-nav5 a svg,
html.bs-white-layers .hd-ico-btn svg,
html.bs-white-layers .eye-views-pill svg,
html.bs-white-layers .me-quick svg,
html.bs-white-layers .me-row svg,
html.bs-white-layers .home-post .x-act-btn svg,
html.bs-white-layers .bs-ico-btn svg,
html.bs-white-layers label.home-cam svg,
html.bs-white-layers .home-cam svg {
  stroke-width: 1.4px !important;
}
html.bs-white-layers body nav.bs-nav5 a:not(.bs-nav-map) svg {
  stroke: #6F6A64 !important;
}
html.bs-white-layers body nav.bs-nav5 a.on:not(.bs-nav-map) svg {
  stroke: #3F3A36 !important;
}
html.bs-white-layers body nav.bs-nav5 a.bs-nav-map b svg {
  stroke: #FFFFFF !important;
  stroke-width: 1.4px !important;
}
html.bs-white-layers .hd-ico-btn svg,
html.bs-white-layers .bs-ico-btn svg {
  stroke: #6F6A64 !important;
}
html.bs-white-layers label.home-cam svg,
html.bs-white-layers .home-cam svg {
  stroke: #FFFFFF !important;
}
html.bs-white-layers .bs-fs-btn svg,
html.bs-white-layers .bs-vol-pill svg,
html.bs-white-layers .eye-views-pill svg {
  stroke: #FFFFFF !important;
}

/* CTA after a match: no frame, only a whisper of wash */
html.bs-white-layers body .bs-duvet-cta,
html.bs-white-layers body #bsDuvetCta {
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(48, 42, 36, 0.06) !important;
}
