:root {
  color-scheme: light;
  --bf-web-bg: #f7f6f3;
  --bf-web-paper: #ffffff;
  --bf-web-ink: #17171a;
  --bf-web-muted: #6f7077;
  --bf-web-line: rgba(24, 24, 27, 0.085);
  --bf-web-banana-red: #ff004f;
  --bf-web-banana-orange: #ff5a12;
  --bf-web-banana-gold: #ffb000;
  --bf-web-accent: #ff004f;
  --bf-web-accent-dark: #d90043;
  --bf-web-accent-soft: #fff0f5;
  --bf-web-accent-gradient: var(--bf-web-accent);
  --bf-web-success: #2f9b67;
  --bf-web-glass: rgba(255, 255, 255, 0.72);
  --bf-web-glass-strong: rgba(255, 255, 255, 0.86);
  --bf-web-glass-soft: rgba(255, 255, 255, 0.56);
  --bf-web-glass-line: rgba(255, 255, 255, 0.88);
  --bf-web-glass-shadow:
    0 28px 80px rgba(42, 32, 25, 0.1), 0 8px 24px rgba(42, 32, 25, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(25, 25, 28, 0.035);
  --bf-web-shadow:
    0 32px 90px rgba(42, 32, 25, 0.105), 0 8px 24px rgba(42, 32, 25, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  --bf-web-small-shadow:
    0 16px 42px rgba(42, 32, 25, 0.075), 0 4px 12px rgba(42, 32, 25, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --bf-web-accent-shadow:
    0 14px 30px rgba(255, 0, 79, 0.24), 0 4px 12px rgba(255, 0, 79, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(126, 0, 39, 0.16);
  --bf-web-dark-shadow:
    0 14px 30px rgba(17, 17, 19, 0.18), 0 4px 12px rgba(17, 17, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.bf-web-header *,
.bf-web-footer *,
.bf-community-home *,
.bf-search-page * {
  box-sizing: border-box;
}

.bf-web-header svg,
.bf-web-footer svg,
.bf-community-home svg,
.bf-search-page svg {
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

body.bf-web-page {
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background:
    radial-gradient(
      circle at 10% 0,
      rgba(255, 196, 94, 0.16),
      transparent 31rem
    ),
    radial-gradient(
      circle at 94% 8%,
      rgba(255, 111, 81, 0.1),
      transparent 30rem
    ),
    var(--bf-web-bg) !important;
  color: var(--bf-web-ink) !important;
}

.bf-web-header {
  position: sticky;
  z-index: 1900;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(29, 29, 31, 0.075);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(30, 25, 22, 0.025);
  color: var(--bf-web-ink);
  font-family: Inter, Arial, sans-serif;
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.bf-web-header-inner {
  display: flex;
  width: min(100% - 48px, 1240px);
  height: 76px;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
}

.bf-web-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--bf-web-ink);
  text-decoration: none;
}

.bf-web-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.085);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 20, 22, 0.09);
}

.bf-web-brand-mark img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.bf-web-brand-name {
  background: linear-gradient(
    135deg,
    var(--bf-web-banana-red) 0%,
    var(--bf-web-banana-orange) 50%,
    var(--bf-web-banana-gold) 100%
  );
  background-clip: text;
  color: transparent;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.055em;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bf-web-search {
  display: flex;
  height: 45px;
  min-width: 300px;
  flex: 1;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfdcd8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 25, 27, 0.035);
}

.bf-web-search:focus-within {
  border-color: rgba(255, 0, 79, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 0, 79, 0.09);
}
.bf-web-search > span:first-child {
  display: grid;
  place-items: center;
  padding-left: 12px;
  color: #929298;
}
.bf-web-search > span:first-child svg {
  width: 19px;
  height: 19px;
}
.bf-web-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--bf-web-ink);
  font-size: 12px;
}
.bf-web-search input::placeholder {
  color: #99999f;
}
.bf-web-search-place {
  display: inline-flex;
  height: 25px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-left: 1px solid var(--bf-web-line);
  color: #66676d;
  font-size: 11px;
  font-weight: 700;
}
.bf-web-search-place svg {
  width: 17px;
  height: 17px;
}
.bf-web-search button {
  display: grid;
  width: 37px;
  height: 37px;
  margin-right: 4px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--bf-web-accent-gradient);
  color: #fff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.bf-web-search button svg {
  width: 18px;
  height: 18px;
}

.bf-web-nav {
  display: flex;
  align-items: center;
  gap: 17px;
}
.bf-web-nav a {
  position: relative;
  padding: 10px 0;
  color: #56575d;
  font-size: 11px;
  font-weight: 730;
  text-decoration: none;
  white-space: nowrap;
}
.bf-web-nav a:hover,
.bf-web-nav a.is-active {
  color: var(--bf-web-ink);
}
.bf-web-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--bf-web-accent);
  content: "";
}

.bf-web-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}
.bf-web-create-plan {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 11px;
  background: var(--bf-web-accent-gradient);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(255, 88, 18, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 780;
  text-decoration: none;
}
.bf-web-create-plan:hover {
  filter: brightness(0.96);
}
.bf-web-create-plan svg {
  width: 17px;
  height: 17px;
}
.bf-web-icon-link,
.bf-web-menu-button {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #55565c;
  cursor: pointer;
  text-decoration: none;
}
.bf-web-icon-link:hover,
.bf-web-icon-link.is-active,
.bf-web-menu-button:hover {
  background: #f3f1ef;
  color: var(--bf-web-ink);
}
.bf-web-icon-link svg,
.bf-web-menu-button svg {
  width: 20px;
  height: 20px;
}
.bf-web-badge {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--bf-web-accent);
  color: #fff;
  font-size: 7px;
  font-weight: 850;
}
.bf-web-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bf-web-accent);
}
.bf-web-account {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: 1px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #202125, #6e7078);
  color: #fff;
  box-shadow: 0 0 0 1px #dedcd9;
  font-size: 10px;
  font-weight: 820;
  text-decoration: none;
}
.bf-web-account img,
.bf-web-account > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  object-fit: cover;
}
.bf-web-menu-button {
  display: none;
}
.bf-web-mobile-menu {
  display: none;
}

.bf-web-footer {
  border-top: 1px solid #e0dedb;
  background: #fff;
  color: var(--bf-web-ink);
  font-family: Inter, Arial, sans-serif;
}
.bf-web-footer-inner {
  display: flex;
  width: min(100% - 48px, 1180px);
  min-height: 105px;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.bf-web-footer .bf-web-brand-mark {
  width: 35px;
  height: 35px;
  border-radius: 11px;
}
.bf-web-footer .bf-web-brand-mark img {
  width: 27px;
  height: 27px;
}
.bf-web-footer .bf-web-brand-name {
  font-size: 15px;
}
.bf-web-footer nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 25px;
}
.bf-web-footer nav a {
  color: #6f7076;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}
.bf-web-footer nav a:hover {
  color: var(--bf-web-accent-dark);
}
.bf-web-footer-inner > span {
  color: #8d8d92;
  font-size: 9px;
}

/* Portada de comunidad */
.bf-community-home {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 36px 0 70px;
  color: var(--bf-web-ink);
  font-family: Inter, Arial, sans-serif;
}
.bf-community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--bf-web-shadow);
}
.bf-community-cover {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.bf-community-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 15, 0.02) 45%,
    rgba(10, 12, 15, 0.48) 100%
  );
  content: "";
}
.bf-community-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.bf-community-cover-label {
  position: absolute;
  z-index: 2;
  bottom: 21px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.46);
  color: #fff;
  backdrop-filter: blur(13px);
  font-size: 10px;
  font-weight: 750;
}
.bf-community-cover-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffbf36;
  box-shadow: 0 0 0 4px rgba(255, 191, 54, 0.18);
}
.bf-community-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 40px 39px 34px;
}
.bf-community-eyebrow {
  margin: 0 0 8px;
  color: var(--bf-web-accent-dark);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.bf-community-summary h1 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(31px, 3.2vw, 46px);
  font-weight: 790;
  letter-spacing: -0.052em;
  line-height: 1.04;
}
.bf-community-summary > p:not(.bf-community-eyebrow) {
  max-width: 500px;
  margin: 17px 0 0;
  color: var(--bf-web-muted);
  font-size: 14px;
  line-height: 1.55;
}
.bf-community-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 23px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bf-web-line);
  color: #57585e;
}
.bf-community-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.bf-community-facts svg {
  width: 18px;
  height: 18px;
  color: #88898e;
}
.bf-community-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.bf-member-stack {
  display: flex;
  align-items: center;
}
.bf-member-stack a,
.bf-member-stack > span {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9b7f, #e84c6c);
  color: #fff;
  box-shadow: 0 2px 7px rgba(29, 29, 31, 0.11);
  font-size: 9px;
  font-weight: 820;
  text-decoration: none;
}
.bf-member-stack > * + * {
  margin-left: -10px;
}
.bf-member-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bf-member-stack .bf-member-more {
  background: #f0ede8;
  color: #65656a;
}
.bf-community-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bf-community-buttons a,
.bf-community-buttons button {
  display: inline-flex;
  height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 770;
  text-decoration: none;
}
.bf-community-share {
  border: 1px solid var(--bf-web-line);
  background: #fff;
  color: #55565a;
}
.bf-community-join {
  border: 0;
  background: var(--bf-web-accent-gradient);
  color: #fff;
  box-shadow:
    0 12px 27px rgba(255, 88, 18, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.bf-community-buttons svg {
  width: 19px;
  height: 19px;
}

.bf-community-tabs {
  position: sticky;
  z-index: 1500;
  top: 76px;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  border-bottom: 1px solid #dedcd8;
  background: rgba(250, 249, 247, 0.93);
  backdrop-filter: blur(18px);
}
.bf-community-tabs nav {
  display: flex;
  height: 70px;
  align-items: stretch;
  gap: 28px;
}
.bf-community-tabs nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #717177;
  font-size: 12px;
  font-weight: 740;
  text-decoration: none;
  white-space: nowrap;
}
.bf-community-tabs nav a:hover,
.bf-community-tabs nav a.is-active {
  color: var(--bf-web-ink);
}
.bf-community-tabs nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--bf-web-accent);
  content: "";
}
.bf-community-tabs > a {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #dfdcd8;
  border-radius: 11px;
  background: #fff;
  color: var(--bf-web-ink);
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
}
.bf-community-tabs > a svg {
  width: 18px;
  height: 18px;
}

.bf-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 54px;
  padding: 50px 0 10px;
}
.bf-community-main {
  min-width: 0;
}
.bf-community-section + .bf-community-section {
  margin-top: 68px;
}
.bf-community-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.bf-community-heading h2,
.bf-community-card h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 790;
  letter-spacing: -0.045em;
}
.bf-community-heading > div > p:last-child {
  margin: 8px 0 0;
  color: var(--bf-web-muted);
  font-size: 12px;
}
.bf-community-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bf-web-accent-dark);
  font-size: 11px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}
.bf-community-heading > a svg {
  width: 17px;
  height: 17px;
}

.bf-plan-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bf-plan-card {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr) 104px;
  min-height: 166px;
  overflow: hidden;
  border: 1px solid var(--bf-web-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(36, 28, 23, 0.035);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.bf-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bf-web-small-shadow);
}
.bf-plan-image {
  position: relative;
  min-height: 166px;
  overflow: hidden;
}
.bf-plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bf-plan-date {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  width: 46px;
  height: 49px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bf-web-ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 14px rgba(20, 20, 22, 0.12);
}
.bf-plan-date strong {
  font-size: 18px;
  line-height: 1;
}
.bf-plan-date small {
  margin-top: 4px;
  color: var(--bf-web-accent-dark);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.bf-plan-body {
  min-width: 0;
  padding: 20px 16px 16px 20px;
}
.bf-plan-time {
  color: var(--bf-web-accent-dark);
  font-size: 9px;
  font-weight: 800;
  text-transform: capitalize;
}
.bf-plan-body h3 {
  margin: 9px 0 7px;
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -0.028em;
  line-height: 1.18;
}
.bf-plan-body h3 a {
  color: inherit;
  text-decoration: none;
}
.bf-plan-place {
  margin: 0;
  color: #77777d;
  font-size: 10px;
}
.bf-plan-people {
  margin-top: 15px;
  color: #5e5f65;
  font-size: 9px;
  font-weight: 740;
}
.bf-plan-people small {
  display: block;
  margin-top: 3px;
  color: #8a8a90;
  font-weight: 550;
}
.bf-plan-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px 14px 15px 0;
}
.bf-plan-actions a {
  display: inline-flex;
  height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 10px;
  background: #1d1d1f;
  color: #fff;
  font-size: 9px;
  font-weight: 780;
  text-decoration: none;
}
.bf-plan-actions a:hover {
  background: var(--bf-web-accent-dark);
}

.bf-community-aside {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.bf-community-card {
  padding: 24px;
  border: 1px solid var(--bf-web-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 17px rgba(36, 28, 23, 0.025);
}
.bf-community-card h2 {
  font-size: 22px;
  line-height: 1.15;
}
.bf-community-card > p:not(.bf-community-eyebrow) {
  margin: 13px 0 0;
  color: var(--bf-web-muted);
  font-size: 11px;
  line-height: 1.6;
}
.bf-community-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--bf-web-line);
  list-style: none;
}
.bf-community-card li {
  color: #515258;
  font-size: 10px;
  font-weight: 700;
}
.bf-community-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 7px;
  margin-top: 17px;
}
.bf-community-members a {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  color: #696a70;
  font-size: 8px;
  text-decoration: none;
}
.bf-community-members span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #69c7e3, #4266c5);
  color: #fff;
  box-shadow: 0 0 0 1px var(--bf-web-line);
  font-size: 11px;
  font-weight: 820;
}
.bf-community-members img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bf-community-organizer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.bf-community-organizer-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(20, 20, 22, 0.07);
}
.bf-community-organizer-logo img {
  width: 32px;
  height: 32px;
}
.bf-community-organizer > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.bf-community-organizer strong {
  font-size: 11px;
}
.bf-community-organizer small {
  margin-top: 3px;
  color: var(--bf-web-muted);
  font-size: 8px;
}
.bf-community-verified {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #248cff;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.bf-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, 145px);
  gap: 10px;
}
.bf-photo-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #e9e7e3;
}
.bf-photo-grid a:first-child {
  grid-row: 1 / span 2;
}
.bf-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bf-photo-grid a:hover img {
  transform: scale(1.035);
}
.bf-community-empty {
  padding: 25px;
  border: 1px dashed #d8d4cf;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--bf-web-muted);
  font-size: 11px;
  text-align: center;
}
.bf-community-cta {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  padding: 40px 45px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, #211d1d 0%, #382323 58%, #6b3326 100%);
  color: #fff;
  box-shadow: 0 25px 65px rgba(34, 25, 22, 0.18);
}
.bf-community-cta h2 {
  max-width: 640px;
  margin: 0;
  font-size: 31px;
  font-weight: 780;
  letter-spacing: -0.045em;
}
.bf-community-cta a {
  display: inline-flex;
  height: 47px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--bf-web-accent-gradient);
  color: #fff;
  box-shadow:
    0 12px 26px rgba(255, 88, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 780;
  text-decoration: none;
}
.bf-community-cta a svg {
  width: 19px;
  height: 19px;
}

/* Buscador */
.bf-search-page {
  width: min(100% - 48px, 1000px);
  min-height: calc(100vh - 181px);
  margin: 0 auto;
  padding: 46px 0 70px;
  color: var(--bf-web-ink);
  font-family: Inter, Arial, sans-serif;
}
.bf-search-page h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.05em;
}
.bf-search-page > p {
  margin: 10px 0 30px;
  color: var(--bf-web-muted);
  font-size: 13px;
}
.bf-search-section + .bf-search-section {
  margin-top: 38px;
}
.bf-search-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.035em;
}
.bf-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bf-search-result {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--bf-web-line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.bf-search-result:hover {
  box-shadow: var(--bf-web-small-shadow);
}
.bf-search-result img,
.bf-search-result > span:first-child {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #f1efec;
  object-fit: cover;
}
.bf-search-result.bf-search-person img,
.bf-search-result.bf-search-person > span:first-child {
  border-radius: 50%;
}
.bf-search-result > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.bf-search-result strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bf-search-result small {
  margin-top: 5px;
  overflow: hidden;
  color: var(--bf-web-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Adaptación de las páginas PHP existentes */
body.bf-web-page .pill-nav,
body.bf-web-page .bottom-nav {
  display: none !important;
}

body.bf-web-page > .feed,
body.bf-web-page > .app,
body.bf-web-page > .profile,
body.bf-web-page > .notifications-view,
body.bf-web-page > .pd-app {
  width: min(100% - 48px, 960px) !important;
  max-width: 960px !important;
  min-height: calc(100vh - 116px) !important;
  height: auto !important;
  margin: 28px auto 50px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.bf-page-planes > .app,
body.bf-page-plan-detail > .pd-app {
  width: min(100% - 48px, 1120px) !important;
  max-width: 1120px !important;
}
body.bf-page-feeds > .feed {
  width: min(100% - 48px, 780px) !important;
  max-width: 780px !important;
}

body.bf-web-page .header,
body.bf-web-page .feed-topbar,
body.bf-web-page .pd-topbar {
  position: sticky !important;
  z-index: 1200 !important;
  top: 92px !important;
  margin: 0 0 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: var(--bf-web-small-shadow) !important;
  color: var(--bf-web-ink) !important;
  backdrop-filter: blur(22px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
}

body.bf-page-feeds .feed-stories,
body.bf-page-feeds .post,
body.bf-page-chats .events-section,
body.bf-page-chats .chats-section,
body.bf-page-cuenta .profile,
body.bf-page-notifications .notifications-view,
body.bf-page-settings .settings,
body.bf-page-plan-detail .pd-hero-card,
body.bf-page-plan-detail .pd-card {
  border: 1px solid rgba(29, 29, 31, 0.075) !important;
  border-radius: 21px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--bf-web-small-shadow) !important;
  color: var(--bf-web-ink) !important;
}

body.bf-page-feeds .feed-stories {
  margin-bottom: 16px !important;
  padding: 18px !important;
}
body.bf-page-feeds .feed-posts {
  width: 100% !important;
  padding: 0 0 50px !important;
  gap: 16px !important;
}
body.bf-page-feeds .post {
  width: 100% !important;
  max-width: 780px !important;
  margin-bottom: 16px !important;
}
body.bf-page-feeds .post.post--with-media {
  padding: 14px !important;
}
body.bf-page-feeds .post-media {
  max-height: 700px !important;
  border-radius: 17px !important;
}
body.bf-page-conocer .discover-wrapper {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: calc(100vh - 170px) !important;
  min-height: 610px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(29, 29, 31, 0.075) !important;
  border-radius: 23px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: var(--bf-web-shadow) !important;
}
body.bf-page-vibes .creator-header,
body.bf-page-vibes .creator-shell {
  width: min(100%, 860px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
body.bf-page-chats .events-section {
  margin-bottom: 14px !important;
}
body.bf-page-chats .chat-item {
  border-color: var(--bf-web-line) !important;
  background: rgba(247, 245, 242, 0.84) !important;
  color: var(--bf-web-ink) !important;
}
body.bf-page-profile > .feed,
body.bf-page-chat-conversation > .feed,
body.bf-page-group-chat > .feed {
  height: calc(100vh - 132px) !important;
  min-height: 620px !important;
  overflow: hidden !important;
  border: 1px solid rgba(29, 29, 31, 0.075) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--bf-web-shadow) !important;
}
body.bf-page-chat-conversation .chat-messages,
body.bf-page-group-chat .chat-messages {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
}
body.bf-page-chat-conversation .chat-input,
body.bf-page-group-chat .chat-input {
  position: relative !important;
  bottom: auto !important;
  margin: 0 12px 12px !important;
  border: 1px solid var(--bf-web-line) !important;
  border-radius: 17px !important;
  background: rgba(247, 245, 242, 0.96) !important;
}

@media (max-width: 1120px) {
  .bf-web-header-inner {
    gap: 14px;
  }
  .bf-web-nav {
    gap: 12px;
  }
  .bf-web-search {
    min-width: 220px;
  }
  .bf-web-search-place {
    display: none;
  }
  .bf-community-hero {
    grid-template-columns: minmax(0, 1fr) minmax(355px, 0.9fr);
  }
  .bf-community-summary {
    padding: 34px 29px 30px;
  }
  .bf-community-hero-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .bf-community-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 34px;
  }
}

@media (max-width: 940px) {
  .bf-web-nav,
  .bf-web-create-plan {
    display: none;
  }
  .bf-web-search {
    min-width: 0;
  }
  .bf-web-menu-button {
    display: grid;
  }
  .bf-web-mobile-menu {
    position: absolute;
    top: 68px;
    right: 24px;
    display: grid;
    width: min(300px, calc(100vw - 32px));
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--bf-web-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--bf-web-shadow);
  }
  .bf-web-mobile-menu[hidden] {
    display: none !important;
  }
  .bf-web-mobile-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 10px;
    color: #56575d;
    font-size: 11px;
    font-weight: 720;
    text-decoration: none;
  }
  .bf-web-mobile-menu a:hover,
  .bf-web-mobile-menu a.is-active {
    background: #f5f3f1;
    color: var(--bf-web-ink);
  }
  .bf-web-mobile-menu span {
    display: grid;
    width: 22px;
    place-items: center;
  }
  .bf-web-mobile-menu svg {
    width: 19px;
    height: 19px;
  }
  .bf-web-mobile-menu .bf-web-mobile-create {
    margin-top: 4px;
    background: var(--bf-web-accent-gradient);
    color: #fff;
  }
  .bf-community-hero {
    grid-template-columns: 1fr;
  }
  .bf-community-cover {
    min-height: 350px;
  }
  .bf-community-summary {
    padding: 35px;
  }
  .bf-community-hero-footer {
    align-items: center;
    flex-direction: row;
  }
  .bf-community-grid {
    grid-template-columns: 1fr;
  }
  .bf-community-aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

@media (max-width: 680px) {
  .bf-web-header-inner,
  .bf-web-footer-inner,
  .bf-community-home,
  .bf-search-page {
    width: min(100% - 28px, 1180px);
  }
  .bf-web-header-inner {
    height: 67px;
    gap: 9px;
  }
  .bf-web-brand-name {
    display: none;
  }
  .bf-web-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .bf-web-search {
    display: none;
  }
  .bf-web-actions {
    margin-left: auto;
  }
  .bf-web-actions .bf-web-icon-link,
  .bf-web-account {
    display: none;
  }
  .bf-web-mobile-menu {
    top: 59px;
    right: 14px;
  }
  .bf-community-home {
    padding-top: 18px;
  }
  .bf-community-hero {
    border-radius: 20px;
  }
  .bf-community-cover {
    min-height: 235px;
  }
  .bf-community-summary {
    padding: 25px 20px 22px;
  }
  .bf-community-summary h1 {
    font-size: 31px;
  }
  .bf-community-summary > p:not(.bf-community-eyebrow) {
    margin-top: 13px;
    font-size: 12px;
  }
  .bf-community-hero-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .bf-community-buttons {
    display: grid;
    grid-template-columns: 45px 1fr;
  }
  .bf-community-share {
    width: 45px;
    padding: 0 !important;
    overflow: hidden;
    color: transparent !important;
  }
  .bf-community-share svg {
    color: #55565a;
  }
  .bf-community-tabs {
    top: 67px;
    min-height: 59px;
    margin-top: 11px;
    overflow: hidden;
  }
  .bf-community-tabs nav {
    height: 59px;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .bf-community-tabs > a {
    display: none;
  }
  .bf-community-grid {
    gap: 40px;
    padding-top: 34px;
  }
  .bf-community-heading {
    align-items: flex-start;
  }
  .bf-community-heading h2 {
    font-size: 24px;
  }
  .bf-plan-card {
    grid-template-columns: 1fr;
  }
  .bf-plan-image {
    min-height: 200px;
  }
  .bf-plan-actions {
    align-items: center;
    flex-direction: row;
    padding: 0 18px 18px;
  }
  .bf-community-aside {
    display: flex;
  }
  .bf-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 110px;
  }
  .bf-photo-grid a:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .bf-community-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 45px;
    padding: 30px 24px;
  }
  .bf-community-cta h2 {
    font-size: 25px;
  }
  .bf-web-footer-inner {
    min-height: 150px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 25px 0;
  }
  .bf-web-footer nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }
  .bf-search-results {
    grid-template-columns: 1fr;
  }
  body.bf-web-page > .feed,
  body.bf-web-page > .app,
  body.bf-web-page > .profile,
  body.bf-web-page > .notifications-view,
  body.bf-web-page > .pd-app {
    width: min(100% - 20px, 960px) !important;
    margin-top: 14px !important;
  }
  body.bf-web-page .header,
  body.bf-web-page .feed-topbar,
  body.bf-web-page .pd-topbar {
    top: 75px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ======================================================
   BANANA WEB · LIQUID GLASS PREMIUM 2026
   Capa visual compartida. No altera flujos ni estructura.
====================================================== */

body.bf-web-page {
  --accent-1: var(--bf-web-accent) !important;
  --accent-2: var(--bf-web-accent) !important;
  --accent-3: var(--bf-web-accent) !important;
  --accent-gradient: var(--bf-web-accent) !important;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(
      circle at 9% -8%,
      rgba(255, 176, 0, 0.17),
      transparent 28rem
    ),
    radial-gradient(
      circle at 96% 2%,
      rgba(255, 90, 18, 0.12),
      transparent 32rem
    ),
    radial-gradient(
      circle at 48% 112%,
      rgba(255, 0, 79, 0.055),
      transparent 38rem
    ),
    var(--bf-web-bg) !important;
}

body.bf-web-page ::selection {
  background: rgba(255, 90, 18, 0.18);
  color: var(--bf-web-ink);
}
body.bf-web-page :is(a, button, input, textarea, select, summary) {
  -webkit-tap-highlight-color: transparent;
}
body.bf-web-page
  :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(255, 90, 18, 0.24) !important;
  outline-offset: 3px !important;
}

/* Cabecera y navegación de cristal líquido */
.bf-web-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(250, 250, 248, 0.68);
  box-shadow:
    0 1px 0 rgba(25, 25, 28, 0.045),
    0 14px 42px rgba(42, 32, 25, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(32px) saturate(185%);
  -webkit-backdrop-filter: blur(32px) saturate(185%);
}

.bf-web-header-inner {
  height: 82px;
  gap: 20px;
}
.bf-web-brand {
  position: relative;
  isolation: isolate;
  gap: 11px;
  border-radius: 18px;
}
.bf-web-brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 13px 30px rgba(41, 31, 25, 0.12),
    0 3px 9px rgba(41, 31, 25, 0.06),
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(25, 25, 28, 0.055);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
}
.bf-web-brand-mark::before {
  position: absolute;
  z-index: 2;
  top: 3px;
  right: 7px;
  left: 7px;
  height: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.bf-web-brand-mark::after {
  position: absolute;
  z-index: 1;
  inset: 1px;
  border: 1px solid rgba(24, 24, 27, 0.035);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}
.bf-web-brand:hover .bf-web-brand-mark {
  transform: translateY(-1px) rotate(-1.5deg) scale(1.025);
  box-shadow:
    0 17px 36px rgba(255, 90, 18, 0.14),
    0 4px 10px rgba(41, 31, 25, 0.07),
    inset 0 1px 0 #fff;
}
.bf-web-brand-mark img {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: saturate(1.06) contrast(1.015)
    drop-shadow(0 5px 7px rgba(255, 70, 22, 0.12));
}
.bf-web-brand-name {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  filter: saturate(1.05);
}

.bf-web-search {
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 9px 24px rgba(42, 32, 25, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(24, 24, 27, 0.035);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}
.bf-web-search:focus-within {
  border-color: rgba(255, 90, 18, 0.34);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 4px rgba(255, 90, 18, 0.09),
    0 14px 32px rgba(42, 32, 25, 0.075),
    inset 0 1px 0 #fff;
  transform: translateY(-1px);
}
.bf-web-search input {
  font-size: 13px;
  font-weight: 520;
}

.bf-web-search button,
.bf-web-create-plan,
.bf-community-join,
.bf-community-cta a,
.bf-web-mobile-menu .bf-web-mobile-create {
  border: 1px solid rgba(202, 60, 0, 0.12) !important;
  background-color: var(--bf-web-accent) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: var(--bf-web-accent-shadow) !important;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    background-color 0.2s ease,
    filter 0.2s ease;
}
.bf-web-search button:hover,
.bf-web-create-plan:hover,
.bf-community-join:hover,
.bf-community-cta a:hover,
.bf-web-mobile-menu .bf-web-mobile-create:hover {
  background-color: var(--bf-web-accent-dark) !important;
  box-shadow:
    0 18px 36px rgba(255, 90, 18, 0.27),
    0 5px 14px rgba(255, 90, 18, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
  filter: none !important;
  transform: translateY(-2px);
}
.bf-web-search button:active,
.bf-web-create-plan:active,
.bf-community-join:active,
.bf-community-cta a:active,
.bf-web-mobile-menu .bf-web-mobile-create:active {
  box-shadow:
    0 7px 16px rgba(255, 90, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
  transform: translateY(0) scale(0.975);
}
.bf-web-create-plan {
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 820;
}
.bf-web-search button {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.bf-web-nav {
  gap: 7px;
}
.bf-web-nav a {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 11.5px;
  font-weight: 740;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.bf-web-nav a:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.bf-web-nav a.is-active {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 7px 20px rgba(42, 32, 25, 0.055),
    inset 0 1px 0 #fff;
}
.bf-web-nav a.is-active::after {
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
}

.bf-web-icon-link,
.bf-web-menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.bf-web-icon-link:hover,
.bf-web-icon-link.is-active,
.bf-web-menu-button:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 8px 22px rgba(42, 32, 25, 0.06),
    inset 0 1px 0 #fff;
  transform: translateY(-1px);
}
.bf-web-account {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  background: #242428;
  box-shadow:
    0 0 0 1px rgba(24, 24, 27, 0.09),
    0 10px 24px rgba(42, 32, 25, 0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.bf-web-account:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 2px rgba(255, 90, 18, 0.16),
    0 14px 28px rgba(42, 32, 25, 0.15);
}

body.bf-web-page :is(.banana-logo-mark, .planes-logo-mark, .brand-mark-logo) {
  box-sizing: border-box !important;
  padding: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 11px 26px rgba(41, 31, 25, 0.11),
    0 3px 8px rgba(41, 31, 25, 0.05),
    inset 0 1px 0 #fff !important;
  object-fit: contain !important;
  filter: saturate(1.06) contrast(1.015)
    drop-shadow(0 4px 6px rgba(255, 70, 22, 0.09)) !important;
}
body.bf-web-page .banana-logo-lockup .logo-text {
  filter: saturate(1.05);
  text-shadow: 0 7px 18px rgba(255, 90, 18, 0.08);
}

.bf-web-mobile-menu {
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background: rgba(250, 250, 248, 0.76) !important;
  box-shadow: var(--bf-web-glass-shadow) !important;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}
.bf-web-mobile-menu a {
  border: 1px solid transparent;
}
.bf-web-mobile-menu a:hover,
.bf-web-mobile-menu a.is-active {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 #fff;
}

/* Portada: jerarquía, profundidad y superficies líquidas */
.bf-community-home {
  padding-top: 42px;
}
.bf-community-hero {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--bf-web-shadow);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
}
.bf-community-cover {
  min-height: 440px;
}
.bf-community-cover-label {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(20, 20, 22, 0.38);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}
.bf-community-summary {
  padding: 46px 44px 40px;
}
.bf-community-summary h1 {
  font-size: clamp(34px, 3.25vw, 49px);
  font-weight: 810;
  letter-spacing: -0.058em;
  line-height: 1.015;
  text-wrap: balance;
}
.bf-community-summary > p:not(.bf-community-eyebrow) {
  font-size: 14.5px;
  line-height: 1.65;
}
.bf-community-eyebrow {
  color: var(--bf-web-accent-dark);
  font-size: 10px;
  font-weight: 850;
}
.bf-community-facts {
  border-color: rgba(24, 24, 27, 0.075);
}
.bf-member-stack a,
.bf-member-stack > span {
  box-shadow:
    0 5px 14px rgba(29, 29, 31, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.bf-member-stack a:hover {
  z-index: 2;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 9px 20px rgba(29, 29, 31, 0.16);
}
.bf-community-buttons a,
.bf-community-buttons button {
  height: 46px;
  border-radius: 14px;
  font-size: 11.5px;
}
.bf-community-share,
.bf-community-tabs > a {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 8px 22px rgba(42, 32, 25, 0.055),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.bf-community-share:hover,
.bf-community-tabs > a:hover {
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 13px 28px rgba(42, 32, 25, 0.08),
    inset 0 1px 0 #fff;
  transform: translateY(-1px);
}
.bf-community-tabs {
  top: 82px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(247, 246, 243, 0.68);
  box-shadow:
    0 10px 30px rgba(42, 32, 25, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
}
.bf-community-tabs nav a {
  font-size: 12px;
}

.bf-plan-card,
.bf-community-card,
.bf-search-result,
.bf-community-empty {
  border-color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.64)
  );
  box-shadow: var(--bf-web-small-shadow);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
}
.bf-plan-card {
  border-radius: 23px;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.bf-plan-card:hover,
.bf-search-result:hover {
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 24px 58px rgba(42, 32, 25, 0.11),
    0 6px 18px rgba(42, 32, 25, 0.05),
    inset 0 1px 0 #fff;
  transform: translateY(-3px);
}
.bf-community-card {
  border-radius: 23px;
}
.bf-plan-date {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 10px 26px rgba(20, 20, 22, 0.14),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
}
.bf-plan-actions a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #19191c;
  background-image: none;
  box-shadow: var(--bf-web-dark-shadow);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.bf-plan-actions a:hover {
  background-color: #29292d;
  box-shadow:
    0 16px 32px rgba(17, 17, 19, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}
.bf-photo-grid a {
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(42, 32, 25, 0.08);
}
.bf-community-cta {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background-color: #191719;
  background-image: none;
  box-shadow:
    0 30px 75px rgba(31, 23, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}
.bf-community-cta::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 84% 10%,
      rgba(255, 90, 18, 0.22),
      transparent 32%
    ),
    radial-gradient(circle at 4% 100%, rgba(255, 0, 79, 0.12), transparent 38%);
  content: "";
  pointer-events: none;
}

/* Páginas internas: una sola familia visual */
body.bf-web-page > :is(.feed, .app, .profile, .notifications-view, .pd-app) {
  margin-top: 32px !important;
}
body.bf-web-page .header,
body.bf-web-page .feed-topbar,
body.bf-web-page .pd-topbar {
  top: 98px !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 23px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: var(--bf-web-glass-shadow) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
}
body.bf-page-feeds .feed-stories,
body.bf-page-feeds .post,
body.bf-page-chats .events-section,
body.bf-page-chats .chats-section,
body.bf-page-cuenta .profile,
body.bf-page-notifications .notifications-view,
body.bf-page-settings .settings,
body.bf-page-plan-detail .pd-hero-card,
body.bf-page-plan-detail .pd-card,
body.bf-page-profile > .feed,
body.bf-page-chat-conversation > .feed,
body.bf-page-group-chat > .feed,
body.bf-page-conocer .discover-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: var(--bf-web-glass-shadow) !important;
  backdrop-filter: blur(28px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(175%) !important;
}
body.bf-page-feeds .post {
  border-radius: 24px !important;
}
body.bf-page-feeds .post.post--with-media {
  padding: 15px !important;
}
body.bf-page-feeds .post-media {
  border-radius: 20px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
body.bf-page-feeds .feed-stories {
  border-radius: 23px !important;
}
body.bf-page-conocer .discover-wrapper {
  border-radius: 28px !important;
}
body.bf-page-profile > .feed,
body.bf-page-chat-conversation > .feed,
body.bf-page-group-chat > .feed {
  border-radius: 27px !important;
}

body.bf-web-page
  :is(
    .chat-item,
    .notification-row,
    .stat-card,
    .settings-item,
    .pd-detail-item,
    .pg-card,
    .create-section-card,
    .discover-action-card
  ) {
  border-color: rgba(255, 255, 255, 0.84) !important;
  background-color: rgba(255, 255, 255, 0.62) !important;
  background-image: none !important;
  box-shadow:
    0 11px 28px rgba(42, 32, 25, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 0 0 1px rgba(24, 24, 27, 0.025) !important;
  backdrop-filter: blur(20px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(165%) !important;
}
body.bf-web-page
  :is(
    .chat-item,
    .notification-row,
    .stat-card,
    .settings-item,
    .discover-action-card
  ) {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease !important;
}
body.bf-web-page
  :is(
    .chat-item,
    .notification-row,
    .stat-card,
    .settings-item,
    .discover-action-card
  ):hover {
  background-color: rgba(255, 255, 255, 0.84) !important;
  box-shadow:
    0 17px 38px rgba(42, 32, 25, 0.08),
    inset 0 1px 0 #fff !important;
  transform: translateY(-2px);
}

body.bf-web-page
  :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
    textarea,
    select
  ) {
  border-color: rgba(24, 24, 27, 0.09) !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  background-image: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 20px rgba(42, 32, 25, 0.04) !important;
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease !important;
}
body.bf-web-page
  :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
    textarea,
    select
  ):focus {
  border-color: rgba(255, 90, 18, 0.42) !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 0 0 4px rgba(255, 90, 18, 0.09),
    0 10px 24px rgba(42, 32, 25, 0.055),
    inset 0 1px 0 #fff !important;
}

/* Botones primarios: naranja-rojo sólido, sin degradado */
body.bf-web-page
  :is(
    .publish-btn,
    .avatar-btn,
    .save-btn,
    .edit-submit,
    .ui-btn.primary,
    .ui-btn.peach,
    .btn-primary,
    .sheet-btn.primary,
    .glass-modal-btn.primary,
    .create-location-btn.active,
    .create-switch input:checked + .create-switch-ui,
    .create-primary-icon,
    .feed-login-gate-btn,
    .feed-inline-auth-btn,
    .comment-login-btn,
    .pd-inline-auth-btn,
    .radar-apply-btn
  ) {
  border-color: rgba(202, 60, 0, 0.14) !important;
  background-color: var(--bf-web-accent) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: var(--bf-web-accent-shadow) !important;
}
body.bf-web-page
  :is(
    .publish-btn,
    .avatar-btn,
    .save-btn,
    .edit-submit,
    .ui-btn.primary,
    .ui-btn.peach,
    .btn-primary,
    .sheet-btn.primary,
    .glass-modal-btn.primary,
    .create-location-btn.active,
    .feed-login-gate-btn,
    .feed-inline-auth-btn,
    .comment-login-btn,
    .pd-inline-auth-btn,
    .radar-apply-btn
  ):not(:disabled):hover {
  background-color: var(--bf-web-accent-dark) !important;
  box-shadow:
    0 18px 36px rgba(255, 90, 18, 0.27),
    0 5px 14px rgba(255, 90, 18, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
  filter: none !important;
  transform: translateY(-2px);
}

/* Botones oscuros también sólidos: la profundidad vive en las sombras. */
body.bf-web-page
  :is(
    .plan-join-btn,
    .pd-action-btn-primary,
    .create-submit,
    .biz-cta-primary,
    .superlike-pay-btn,
    .verified-buy-btn,
    .creator-next-btn,
    .creator-save-btn,
    .creator-gate-primary,
    .cu-primary
  ) {
  background-color: #17171a !important;
  background-image: none !important;
  border-color: #17171a !important;
  color: #fff !important;
  box-shadow: var(--bf-web-dark-shadow) !important;
}
body.bf-web-page .plan-join-btn.is-joined,
body.bf-web-page .pd-action-btn.is-joined {
  background-color: #123b7c !important;
  border-color: #123b7c !important;
}
body.bf-web-page .plan-join-btn.is-banned,
body.bf-web-page .pd-action-btn.is-banned {
  background-color: #7b1717 !important;
  border-color: #7b1717 !important;
}
body.bf-web-page .plan-join-btn.is-closed,
body.bf-web-page .plan-join-btn.is-expired {
  background-color: #333338 !important;
  border-color: #333338 !important;
}

body.bf-web-page
  :is(
    .action-btn,
    .pd-top-btn,
    .plan-action-btn,
    .plan-details-btn,
    .creator-top-create,
    .cu-iconbtn,
    .radar-close-btn,
    .radar-settings-btn
  ) {
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  background-color: rgba(255, 255, 255, 0.64) !important;
  background-image: none !important;
  box-shadow:
    0 10px 26px rgba(42, 32, 25, 0.07),
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(24, 24, 27, 0.025) !important;
  backdrop-filter: blur(20px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
}
body.bf-web-page
  :is(
    .action-btn,
    .pd-top-btn,
    .plan-action-btn,
    .plan-details-btn,
    .creator-top-create,
    .cu-iconbtn,
    .radar-close-btn,
    .radar-settings-btn
  ):hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 15px 32px rgba(42, 32, 25, 0.1),
    inset 0 1px 0 #fff !important;
  transform: translateY(-2px);
}

body.bf-web-page
  :is(
    .ui-modal-card,
    .glass-modal,
    .comments-sheet,
    .create-sheet,
    .edit-sheet,
    .edit-profile-sheet,
    .sheet,
    .pg-sheet,
    .attach-sheet,
    .acts-sheet,
    .gc-panel
  ) {
  border-color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(250, 250, 248, 0.82) !important;
  box-shadow:
    0 34px 100px rgba(27, 22, 20, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(34px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(34px) saturate(180%) !important;
}

.bf-web-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(250, 250, 248, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

@media (max-width: 1120px) {
  .bf-web-header-inner {
    gap: 12px;
  }
  .bf-web-nav a {
    padding-inline: 9px;
  }
}
@media (max-width: 940px) {
  .bf-web-header-inner {
    height: 76px;
  }
  .bf-web-mobile-menu {
    top: 70px;
    border-radius: 21px !important;
    padding: 12px;
  }
  .bf-community-tabs {
    top: 76px;
  }
}
@media (max-width: 680px) {
  .bf-web-header-inner {
    height: 68px;
  }
  .bf-web-brand-name {
    display: inline-block;
    font-size: 21px;
  }
  .bf-web-brand-mark {
    width: 41px;
    height: 41px;
    border-radius: 14px;
  }
  .bf-web-brand-mark img {
    width: 31px;
    height: 31px;
  }
  .bf-web-mobile-menu {
    top: 61px;
  }
  .bf-community-home {
    padding-top: 18px;
  }
  .bf-community-hero {
    border-radius: 25px;
  }
  .bf-community-cover {
    min-height: 250px;
  }
  .bf-community-summary {
    padding: 28px 22px 24px;
  }
  .bf-community-summary h1 {
    font-size: clamp(30px, 9vw, 38px);
  }
  .bf-community-tabs {
    top: 68px;
    margin-top: 14px;
    padding-inline: 10px;
    border-radius: 17px;
  }
  .bf-plan-card,
  .bf-community-card {
    border-radius: 21px;
  }
  .bf-community-cta {
    border-radius: 24px;
  }
  body.bf-web-page > :is(.feed, .app, .profile, .notifications-view, .pd-app) {
    margin-top: 14px !important;
  }
  body.bf-web-page .header,
  body.bf-web-page .feed-topbar,
  body.bf-web-page .pd-topbar {
    top: 76px !important;
    border-radius: 20px !important;
  }
  body.bf-page-feeds .post {
    border-radius: 21px !important;
  }
  body.bf-page-profile > .feed,
  body.bf-page-chat-conversation > .feed,
  body.bf-page-group-chat > .feed,
  body.bf-page-conocer .discover-wrapper {
    border-radius: 22px !important;
  }
}
@media (max-width: 430px) {
  .bf-web-header-inner,
  .bf-web-footer-inner,
  .bf-community-home,
  .bf-search-page {
    width: min(100% - 20px, 1180px);
  }
  .bf-web-brand-name {
    font-size: 19px;
  }
  .bf-web-brand-mark {
    width: 39px;
    height: 39px;
  }
  .bf-community-cover {
    min-height: 220px;
  }
  .bf-community-summary {
    padding: 25px 18px 21px;
  }
  .bf-community-facts {
    gap: 10px 14px;
  }
  .bf-community-buttons {
    grid-template-columns: 46px minmax(0, 1fr);
  }
  .bf-community-tabs nav {
    gap: 19px;
  }
  body.bf-web-page > :is(.feed, .app, .profile, .notifications-view, .pd-app) {
    width: calc(100% - 12px) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-web-brand:hover .bf-web-brand-mark,
  .bf-web-search:focus-within,
  .bf-plan-card:hover,
  .bf-search-result:hover,
  body.bf-web-page :is(a, button):hover {
    transform: none !important;
  }
}

/* ======================================================
   SISTEMA RESPONSIVE WEB · TYPOGRAPHY 2026
   Escala legible y fluida desde 360 px hasta escritorio.
====================================================== */
:root {
  --bf-type-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  --bf-type-sm: clamp(0.8125rem, 0.77rem + 0.16vw, 0.9rem);
  --bf-type-base: clamp(0.9375rem, 0.9rem + 0.14vw, 1rem);
  --bf-type-md: clamp(1rem, 0.94rem + 0.24vw, 1.125rem);
  --bf-type-lg: clamp(1.125rem, 1.02rem + 0.38vw, 1.35rem);
  --bf-type-xl: clamp(1.5rem, 1.3rem + 0.72vw, 1.9rem);
  --bf-type-hero: clamp(2.25rem, 1.76rem + 2.05vw, 3.45rem);
  --bf-space-page: clamp(1rem, 3.25vw, 3rem);
  --bf-control-height: 46px;
}

html {
  font-size: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body.bf-web-page {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;
  font-size: var(--bf-type-base) !important;
  line-height: 1.5 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.bf-web-page button,
body.bf-web-page input,
body.bf-web-page select,
body.bf-web-page textarea {
  font: inherit;
}

body.bf-web-page input,
body.bf-web-page select,
body.bf-web-page textarea {
  font-size: 16px !important;
}

body.bf-web-page :focus-visible {
  outline: 3px solid rgba(255, 90, 18, 0.34);
  outline-offset: 3px;
}

.bf-web-header-inner {
  width: min(calc(100% - (var(--bf-space-page) * 2)), 1240px);
  height: clamp(70px, 6vw, 78px);
}

.bf-web-brand-name {
  font-size: clamp(1.35rem, 1.25rem + 0.35vw, 1.6rem);
}
.bf-web-search {
  height: var(--bf-control-height);
}
.bf-web-search input {
  font-size: var(--bf-type-sm);
}
.bf-web-search-place {
  font-size: var(--bf-type-xs);
}
.bf-web-nav a {
  font-size: var(--bf-type-sm);
}
.bf-web-create-plan {
  min-height: 42px;
  font-size: var(--bf-type-xs);
}
.bf-web-badge {
  min-width: 18px;
  height: 18px;
  font-size: 0.6875rem;
}
.bf-web-account {
  font-size: var(--bf-type-xs);
}

.bf-web-footer-inner {
  width: min(calc(100% - (var(--bf-space-page) * 2)), 1180px);
  min-height: 116px;
}
.bf-web-footer .bf-web-brand-name {
  font-size: 1.125rem;
}
.bf-web-footer nav a,
.bf-web-footer-inner > span {
  font-size: var(--bf-type-xs);
  line-height: 1.45;
}

.bf-community-home,
.bf-search-page {
  width: min(calc(100% - (var(--bf-space-page) * 2)), 1180px);
}

.bf-community-home {
  padding-top: clamp(1.5rem, 3.5vw, 2.75rem);
}
.bf-community-hero {
  min-height: clamp(420px, 39vw, 500px);
}
.bf-community-cover {
  min-height: clamp(420px, 39vw, 500px);
}
.bf-community-cover-label {
  font-size: var(--bf-type-xs);
  line-height: 1.25;
}
.bf-community-summary {
  padding: clamp(2rem, 3.6vw, 3rem);
}
.bf-community-eyebrow {
  font-size: var(--bf-type-xs);
  line-height: 1.35;
}
.bf-community-summary h1 {
  max-width: 12.5em;
  font-size: var(--bf-type-hero);
  line-height: 1.02;
  letter-spacing: -0.047em;
  text-wrap: balance;
}
.bf-community-summary > p:not(.bf-community-eyebrow) {
  font-size: var(--bf-type-base);
  line-height: 1.65;
}
.bf-community-facts span {
  font-size: var(--bf-type-sm);
  line-height: 1.4;
}
.bf-member-stack a,
.bf-member-stack > span {
  width: 40px;
  height: 40px;
  font-size: var(--bf-type-xs);
}
.bf-community-buttons a,
.bf-community-buttons button {
  min-height: var(--bf-control-height);
  padding-right: 16px;
  padding-left: 16px;
  font-size: var(--bf-type-sm);
}

.bf-community-tabs {
  min-height: 72px;
}
.bf-community-tabs nav {
  height: 72px;
}
.bf-community-tabs nav a,
.bf-community-tabs > a {
  font-size: var(--bf-type-sm);
}

.bf-community-grid {
  gap: clamp(2rem, 4.5vw, 3.4rem);
  padding-top: clamp(2.25rem, 5vw, 3.4rem);
}
.bf-community-heading h2,
.bf-community-card h2 {
  font-size: var(--bf-type-xl);
  line-height: 1.15;
  text-wrap: balance;
}
.bf-community-heading > div > p:last-child {
  font-size: var(--bf-type-sm);
  line-height: 1.55;
}
.bf-community-heading > a {
  font-size: var(--bf-type-sm);
}

.bf-plan-card {
  grid-template-columns: 210px minmax(0, 1fr) 112px;
  min-height: 178px;
}
.bf-plan-image {
  min-height: 178px;
}
.bf-plan-date strong {
  font-size: 1.25rem;
}
.bf-plan-date small {
  font-size: 0.6875rem;
}
.bf-plan-time {
  font-size: var(--bf-type-xs);
}
.bf-plan-body h3 {
  font-size: var(--bf-type-lg);
}
.bf-plan-place {
  font-size: var(--bf-type-sm);
  line-height: 1.45;
}
.bf-plan-people {
  font-size: var(--bf-type-xs);
  line-height: 1.4;
}
.bf-plan-people small {
  font-size: inherit;
}
.bf-plan-actions a {
  min-height: 38px;
  font-size: var(--bf-type-xs);
}

.bf-community-card > p:not(.bf-community-eyebrow) {
  font-size: var(--bf-type-sm);
  line-height: 1.65;
}
.bf-community-card li {
  font-size: var(--bf-type-sm);
  line-height: 1.45;
}
.bf-community-members {
  gap: 16px 8px;
}
.bf-community-members a {
  gap: 7px;
  font-size: var(--bf-type-xs);
  line-height: 1.25;
}
.bf-community-members span {
  width: 48px;
  height: 48px;
  font-size: var(--bf-type-sm);
}
.bf-community-organizer strong {
  font-size: var(--bf-type-sm);
}
.bf-community-organizer small {
  font-size: var(--bf-type-xs);
}
.bf-community-empty {
  font-size: var(--bf-type-sm);
  line-height: 1.55;
}
.bf-community-cta h2 {
  font-size: clamp(1.75rem, 1.5rem + 0.9vw, 2.3rem);
  line-height: 1.12;
  text-wrap: balance;
}
.bf-community-cta a {
  min-height: 48px;
  font-size: var(--bf-type-sm);
}

.bf-search-page {
  min-height: calc(100vh - 194px);
  padding-top: clamp(2rem, 5vw, 3.5rem);
}
.bf-search-page h1 {
  font-size: clamp(2rem, 1.7rem + 1.1vw, 2.65rem);
  line-height: 1.08;
}
.bf-search-page > p {
  font-size: var(--bf-type-base);
  line-height: 1.6;
}
.bf-search-section h2 {
  font-size: var(--bf-type-lg);
}
.bf-search-result strong {
  font-size: var(--bf-type-base);
}
.bf-search-result small {
  font-size: var(--bf-type-xs);
  line-height: 1.45;
}

/* Módulos internos: mantiene jerarquía y evita textos de app demasiado pequeños en web. */
body.bf-web-page .post-name-text,
body.bf-web-page .comment-user,
body.bf-web-page .chat-name,
body.bf-web-page .event-title,
body.bf-web-page .notification-title,
body.bf-web-page .pd-detail-copy strong {
  font-size: var(--bf-type-base) !important;
}

body.bf-web-page .post-meta-inline,
body.bf-web-page .post-time,
body.bf-web-page .story-name,
body.bf-web-page .comment-date,
body.bf-web-page .chat-preview,
body.bf-web-page .event-weekday,
body.bf-web-page .event-hour,
body.bf-web-page .notification-time,
body.bf-web-page .pd-kicker,
body.bf-web-page .pd-stat-label,
body.bf-web-page .pd-action-copy small,
body.bf-web-page .pd-section-kicker,
body.bf-web-page .pd-detail-copy span,
body.bf-web-page .pd-comments-hint,
body.bf-web-page .pd-cdate,
body.bf-web-page .form-hint,
body.bf-web-page .form-field label {
  font-size: var(--bf-type-xs) !important;
  line-height: 1.45 !important;
}

body.bf-web-page .post-text,
body.bf-web-page .post-description,
body.bf-web-page .comment-text,
body.bf-web-page .notification-text,
body.bf-web-page .pd-body,
body.bf-web-page .pd-description {
  font-size: var(--bf-type-sm) !important;
  line-height: 1.6 !important;
}

body.bf-web-page .sheet-title,
body.bf-web-page .create-title,
body.bf-web-page .ui-modal-title {
  font-size: var(--bf-type-lg) !important;
  line-height: 1.2 !important;
}

body.bf-web-page .sheet-sub,
body.bf-web-page .create-subtitle,
body.bf-web-page .ui-modal-msg {
  font-size: var(--bf-type-sm) !important;
  line-height: 1.5 !important;
}

body.bf-web-page .sheet-btn,
body.bf-web-page .create-btn,
body.bf-web-page .registro-btn,
body.bf-web-page .pd-action,
body.bf-web-page .discover-inline-btn {
  min-height: 44px;
  font-size: var(--bf-type-sm) !important;
}

@media (max-width: 1120px) {
  .bf-web-header-inner {
    gap: 16px;
  }
  .bf-web-nav {
    gap: 14px;
  }
  .bf-web-search {
    min-width: 205px;
  }
  .bf-community-summary {
    padding: 2.25rem;
  }
  .bf-plan-card {
    grid-template-columns: 190px minmax(0, 1fr) 104px;
  }
}

@media (max-width: 940px) {
  .bf-web-mobile-menu {
    top: 68px;
  }
  .bf-web-mobile-menu a {
    min-height: 48px;
    font-size: var(--bf-type-base);
  }
  .bf-community-cover,
  .bf-community-hero {
    min-height: 0;
  }
  .bf-community-summary {
    padding: clamp(2rem, 5vw, 2.75rem);
  }
  .bf-community-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --bf-space-page: 0.875rem;
  }
  .bf-web-header-inner,
  .bf-web-footer-inner,
  .bf-community-home,
  .bf-search-page {
    width: calc(100% - (var(--bf-space-page) * 2));
  }
  .bf-web-header-inner {
    height: 66px;
  }
  .bf-web-mobile-menu {
    top: 58px;
  }
  .bf-community-home {
    padding-bottom: 3.5rem;
  }
  .bf-community-cover {
    min-height: clamp(230px, 64vw, 330px);
  }
  .bf-community-summary {
    padding: 1.6rem 1.25rem 1.45rem;
  }
  .bf-community-summary h1 {
    font-size: clamp(2rem, 8.6vw, 2.65rem);
  }
  .bf-community-summary > p:not(.bf-community-eyebrow) {
    font-size: var(--bf-type-base);
  }
  .bf-community-facts {
    gap: 10px 14px;
  }
  .bf-community-buttons {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .bf-community-share {
    width: 48px;
  }
  .bf-community-tabs {
    top: 66px;
  }
  .bf-community-tabs nav {
    gap: 24px;
  }
  .bf-community-heading {
    gap: 16px;
  }
  .bf-community-heading h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.8rem);
  }
  .bf-plan-card {
    grid-template-columns: 1fr;
  }
  .bf-plan-image {
    min-height: clamp(200px, 58vw, 290px);
  }
  .bf-plan-actions {
    padding: 0 18px 18px;
  }
  .bf-community-aside {
    display: flex;
  }
  .bf-community-cta {
    gap: 22px;
    padding: 1.8rem 1.4rem;
  }
  .bf-community-cta a {
    width: 100%;
    justify-content: center;
  }
  .bf-search-page {
    padding-bottom: 3rem;
  }
  body.bf-web-page > .feed,
  body.bf-web-page > .app,
  body.bf-web-page > .profile,
  body.bf-web-page > .notifications-view,
  body.bf-web-page > .pd-app {
    width: calc(100% - 1rem) !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 420px) {
  .bf-web-header-inner {
    width: calc(100% - 20px);
    gap: 7px;
  }
  .bf-web-brand-mark {
    width: 37px;
    height: 37px;
  }
  .bf-web-menu-button {
    width: 40px;
    height: 40px;
  }
  .bf-web-mobile-menu {
    right: 10px;
    width: calc(100vw - 20px);
  }
  .bf-community-home,
  .bf-search-page {
    width: calc(100% - 20px);
  }
  .bf-community-hero {
    border-radius: 18px;
  }
  .bf-community-cover {
    min-height: 220px;
  }
  .bf-community-cover-label {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: max-content;
    max-width: calc(100% - 24px);
  }
  .bf-community-summary {
    padding: 1.4rem 1rem 1.2rem;
  }
  .bf-community-summary h1 {
    font-size: clamp(1.9rem, 9.4vw, 2.35rem);
  }
  .bf-community-hero-footer {
    gap: 16px;
  }
  .bf-member-stack a,
  .bf-member-stack > span {
    width: 37px;
    height: 37px;
  }
  .bf-community-buttons a,
  .bf-community-buttons button {
    min-height: 46px;
  }
  .bf-community-tabs nav a {
    font-size: 0.8125rem;
  }
  .bf-community-heading {
    flex-direction: column;
  }
  .bf-plan-body {
    padding: 18px 16px 16px;
  }
  .bf-photo-grid {
    grid-template-rows: 190px 100px;
  }
  .bf-community-card {
    padding: 20px;
  }
  .bf-community-members {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bf-community-members span {
    width: 43px;
    height: 43px;
  }
  .bf-web-footer-inner {
    min-height: 165px;
    padding: 26px 0;
  }
  .bf-web-footer nav {
    gap: 12px 18px;
  }
}

/* --------------------------------------------------------------------------
   Cabecera · cápsula de comunicación inspirada en controles nativos
   -------------------------------------------------------------------------- */
.bf-web-actions {
  gap: 10px;
}

.bf-web-communication {
  position: relative;
  display: inline-flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 10px 26px rgba(28, 26, 37, 0.1),
    0 2px 7px rgba(28, 26, 37, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(32, 32, 35, 0.025);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}

.bf-web-communication::before {
  position: absolute;
  top: 2px;
  right: 18%;
  left: 18%;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  content: "";
  pointer-events: none;
}

.bf-web-communication::after {
  position: absolute;
  z-index: 0;
  top: 3px;
  left: 3px;
  width: 49px;
  height: 40px;
  border: 1px solid rgba(255, 0, 79, 0.11);
  border-radius: 999px;
  background: rgba(255, 0, 79, 0.075);
  box-shadow:
    0 5px 14px rgba(255, 0, 79, 0.085),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(0.86);
  transform-origin: center;
  transition:
    transform 300ms cubic-bezier(0.22, 0.88, 0.28, 1),
    opacity 160ms ease,
    background-color 180ms ease;
}

.bf-web-communication[data-bf-comm-target]::after {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.bf-web-communication[data-bf-comm-target="notifications"]::after {
  transform: translate3d(49px, 0, 0) scale(1);
}

.bf-web-communication .bf-web-icon-link {
  z-index: 1;
  position: relative;
  display: grid;
  width: 49px;
  height: 40px;
  flex: 0 0 49px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111114;
  box-shadow: none;
  text-decoration: none;
  transform: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bf-web-communication .bf-web-icon-link:hover,
.bf-web-communication .bf-web-icon-link.is-active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.bf-web-communication[data-bf-comm-target="messages"] .bf-web-message-link,
.bf-web-communication[data-bf-comm-target="notifications"]
  .bf-web-notification-link {
  color: #d90043;
  transform: translateY(-1px) scale(1.055);
}

.bf-web-communication .bf-web-icon-link:active {
  background: rgba(22, 21, 29, 0.11);
  transform: scale(0.92);
}

.bf-web-communication .bf-web-icon-link:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(255, 0, 79, 0.3);
  outline-offset: 1px;
}

.bf-web-communication .bf-web-icon-link svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  color: currentColor;
}

.bf-web-communication .bf-web-badge {
  top: -3px;
  right: -1px;
  min-width: 18px;
  height: 18px;
  border-color: rgba(255, 255, 255, 0.98);
  background: #ff004f;
  font-size: 10px;
  line-height: 1;
}

.bf-web-communication .bf-web-dot {
  top: 4px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-color: rgba(255, 255, 255, 0.98);
  background: #ff004f;
}

@supports not (
  (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
) {
  .bf-web-communication {
    background: #ffffff;
  }
}

/* El menú compacto pertenece únicamente al modo móvil. */
.bf-web-menu-button {
  display: none !important;
}

@media (min-width: 681px) and (max-width: 940px) {
  .bf-web-nav {
    display: flex;
  }
}

/* Placa de cristal bajo la foto de cuenta. */
.bf-web-account {
  position: relative;
  isolation: isolate;
  width: 48px;
  height: 48px;
  margin-left: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.bf-web-account::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 10px 25px rgba(27, 24, 48, 0.1),
    0 2px 7px rgba(27, 24, 48, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(42, 38, 70, 0.025);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  content: "";
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 220ms ease;
}

.bf-web-account::after {
  position: absolute;
  z-index: 1;
  top: 2px;
  right: 9px;
  left: 9px;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  content: "";
  pointer-events: none;
}

.bf-web-account img,
.bf-web-account > span {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: #27262e;
  box-shadow: 0 4px 12px rgba(24, 22, 38, 0.16);
}

.bf-web-account:hover::before {
  border-color: rgba(255, 0, 79, 0.17);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 14px 30px rgba(27, 24, 48, 0.13),
    0 3px 9px rgba(255, 0, 79, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

@media (max-width: 680px) {
  .bf-web-actions {
    gap: 8px;
  }

  .bf-web-actions .bf-web-communication {
    display: inline-flex;
    height: 44px;
  }

  .bf-web-actions .bf-web-communication .bf-web-icon-link {
    display: grid;
    width: 43px;
    height: 36px;
    flex-basis: 43px;
  }

  .bf-web-actions .bf-web-communication .bf-web-icon-link svg {
    width: 21px;
    height: 21px;
  }

  .bf-web-nav {
    display: none;
  }

  .bf-web-menu-button {
    display: grid !important;
  }

  .bf-web-communication::after {
    width: 43px;
    height: 36px;
  }

  .bf-web-communication[data-bf-comm-target="notifications"]::after {
    transform: translate3d(43px, 0, 0) scale(1);
  }
}

@media (max-width: 420px) {
  .bf-web-actions {
    gap: 6px;
  }

  .bf-web-communication {
    height: 42px;
    padding: 2px;
  }

  .bf-web-actions .bf-web-communication .bf-web-icon-link {
    width: 40px;
    height: 36px;
    flex-basis: 40px;
  }

  .bf-web-communication::after {
    top: 2px;
    left: 2px;
    width: 40px;
    height: 36px;
  }

  .bf-web-communication[data-bf-comm-target="notifications"]::after {
    transform: translate3d(40px, 0, 0) scale(1);
  }

  .bf-web-communication .bf-web-badge {
    top: -4px;
  }
}

/* --------------------------------------------------------------------------
   Ajustes de marca y comunidad · rojo Banana
   -------------------------------------------------------------------------- */
.bf-web-account img,
.bf-web-account > span {
  grid-area: 1 / 1;
}

.bf-web-account img[hidden],
.bf-web-account > span[hidden],
.bf-community-join-avatar img[hidden],
.bf-community-join-avatar > span[hidden] {
  display: none !important;
}

.bf-community-buttons {
  gap: 10px;
}

.bf-community-share {
  display: inline-grid !important;
  width: 48px !important;
  min-width: 48px;
  height: 48px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(24, 24, 27, 0.08) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: #202024 !important;
  box-shadow:
    0 5px 16px rgba(33, 28, 27, 0.07),
    inset 0 1px 0 #ffffff !important;
  font-size: 0 !important;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease !important;
}

.bf-community-share [data-share-icon] {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
}

.bf-community-share [data-share-icon] > span {
  display: grid;
  grid-area: 1 / 1;
  place-items: center;
  transition:
    opacity 160ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bf-community-share svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.bf-community-share .bf-share-success {
  color: #d90043;
  opacity: 0;
  transform: scale(0.72);
}

.bf-community-share:hover {
  border-color: rgba(255, 0, 79, 0.14) !important;
  background: #ffffff !important;
  box-shadow:
    0 8px 20px rgba(33, 28, 27, 0.09),
    inset 0 1px 0 #ffffff !important;
  transform: translateY(-1px) scale(1.025);
}

.bf-community-share:active {
  transform: scale(0.96);
}

.bf-community-share.is-copied .bf-share-default {
  opacity: 0;
  transform: scale(0.76);
}

.bf-community-share.is-copied .bf-share-success {
  opacity: 1;
  transform: scale(1);
}

.bf-community-join {
  display: inline-flex !important;
  min-width: 238px;
  height: 52px !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 9px !important;
  padding: 5px 16px 5px 6px !important;
  overflow: hidden;
  border: 1px solid rgba(183, 0, 56, 0.12) !important;
  border-radius: 999px !important;
  background-color: #ff004f !important;
  background-image: none !important;
  box-shadow:
    0 7px 18px rgba(255, 0, 79, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 180ms ease,
    box-shadow 180ms ease !important;
}

.bf-community-join:hover {
  background-color: #e50047 !important;
  box-shadow:
    0 9px 22px rgba(255, 0, 79, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px);
}

.bf-community-join:active {
  transform: scale(0.98);
}

.bf-community-join-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.bf-community-join-icon svg {
  width: 20px;
  height: 20px;
}

.bf-community-join-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.bf-community-join-copy strong {
  max-width: 158px;
  overflow: hidden;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 780;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bf-community-join-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.bf-community-join.is-member {
  justify-content: space-between !important;
  padding: 5px 6px 5px 17px !important;
}

.bf-community-join-avatar {
  position: relative;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 9px rgba(108, 0, 34, 0.16);
}

.bf-community-join-avatar img,
.bf-community-join-avatar > span {
  grid-area: 1 / 1;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  object-fit: cover;
}

.bf-community-buttons.has-member {
  align-items: flex-start;
}

.bf-community-member-state {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.bf-community-member-state .bf-community-join.is-member {
  width: auto;
  min-width: 194px;
  height: 50px !important;
  justify-content: center !important;
  gap: 11px !important;
  padding: 5px 5px 5px 17px !important;
  border: 1px solid rgba(20, 20, 22, 0.46) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #19191c !important;
  box-shadow: 0 4px 12px rgba(28, 26, 26, 0.06) !important;
}

.bf-community-member-state .bf-community-join.is-member:hover {
  border-color: rgba(20, 20, 22, 0.66) !important;
  background: #fbfbfb !important;
  box-shadow: 0 6px 16px rgba(28, 26, 26, 0.08) !important;
}

.bf-community-member-state .bf-community-join-copy {
  flex: 0 1 auto;
  align-items: center;
  text-align: center;
}

.bf-community-member-state .bf-community-join-copy strong {
  max-width: 145px;
  color: #19191c;
  font-size: 13px;
  font-weight: 750;
}

.bf-community-member-state .bf-community-join-avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-color: rgba(20, 20, 22, 0.09);
  background: #f2f2f3;
  box-shadow: none;
}

.bf-community-member-status {
  display: block;
  color: #6f7077;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.bf-community-tabs > .bf-community-create-plan {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 9px;
  padding: 4px 16px 4px 5px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #202024;
  box-shadow:
    0 6px 18px rgba(33, 28, 27, 0.07),
    inset 0 1px 0 #ffffff;
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  backdrop-filter: blur(20px) saturate(175%);
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.bf-community-tabs > .bf-community-create-plan svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 0, 79, 0.09);
  color: #d90043;
  stroke-width: 2.1;
}

.bf-community-tabs > .bf-community-create-plan:hover {
  border-color: rgba(255, 0, 79, 0.13);
  background: rgba(255, 255, 255, 0.93);
  box-shadow:
    0 9px 24px rgba(33, 28, 27, 0.09),
    inset 0 1px 0 #ffffff;
  transform: translateY(-1px);
}

.bf-community-tabs > .bf-community-create-plan:active {
  transform: scale(0.98);
}

.bf-community-tabs-placeholder {
  height: 0;
  margin: 0;
  padding: 0;
}

.bf-community-tabs.is-docked {
  position: fixed !important;
  z-index: 1800;
  top: var(--bf-tabs-top) !important;
  left: var(--bf-tabs-left) !important;
  width: var(--bf-tabs-width) !important;
  margin: 0 !important;
  background: rgba(247, 246, 243, 0.86);
  box-shadow:
    0 12px 34px rgba(42, 32, 25, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

#portada,
#planes,
#miembros,
#fotos {
  scroll-margin-top: 174px;
}

.bf-plan-place {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.bf-plan-place svg {
  width: 17px;
  height: 17px;
  color: #d90043;
  stroke-width: 2.1;
}

.bf-plan-place span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bf-community-cta a {
  background-color: #ff004f !important;
  background-image: none !important;
  box-shadow:
    0 12px 28px rgba(255, 0, 79, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

body.bf-auth-gate-open {
  overflow: hidden !important;
}

.bf-auth-gate[hidden] {
  display: none !important;
}

.bf-auth-gate {
  position: fixed;
  z-index: 2800;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.bf-auth-gate.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bf-auth-gate-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(20, 19, 22, 0.46);
  cursor: default;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.bf-auth-gate-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1080px, calc(100vw - 56px));
  height: min(780px, calc(100dvh - 48px));
  min-height: 590px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  background: rgba(249, 248, 246, 0.92);
  box-shadow:
    0 38px 110px rgba(20, 18, 20, 0.27),
    inset 0 1px 0 #ffffff;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  backdrop-filter: blur(34px) saturate(170%);
  transition:
    opacity 210ms ease,
    transform 230ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bf-auth-gate.is-open .bf-auth-gate-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bf-auth-gate-header {
  display: grid;
  min-height: 86px;
  grid-template-columns: minmax(0, 1fr) auto 46px;
  align-items: center;
  gap: 20px;
  padding: 16px 18px 16px 22px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.07);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 #ffffff;
}

.bf-auth-gate-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.bf-auth-gate-brand > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.bf-auth-gate-brand strong {
  color: #19191c;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.bf-auth-gate-brand small {
  margin-top: 4px;
  overflow: hidden;
  color: #77747a;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bf-auth-gate-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(24, 24, 27, 0.07);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(30, 26, 25, 0.08);
}

.bf-auth-gate-mark img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.bf-auth-gate-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(24, 24, 27, 0.07);
  border-radius: 999px;
  background: rgba(238, 236, 233, 0.78);
}

.bf-auth-gate-switch button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6d6b71;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.bf-auth-gate-switch button.is-active {
  background: #ffffff;
  color: #d90043;
  box-shadow:
    0 3px 10px rgba(27, 23, 22, 0.08),
    inset 0 1px 0 #ffffff;
}

.bf-auth-gate-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(24, 24, 27, 0.07);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #28272b;
  box-shadow:
    0 5px 14px rgba(31, 27, 25, 0.06),
    inset 0 1px 0 #ffffff;
  cursor: pointer;
}

.bf-auth-gate-close svg {
  width: 19px;
  height: 19px;
}

.bf-auth-gate-content {
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 0, 79, 0.055),
      transparent 26rem
    ),
    #f7f6f3;
}

.bf-auth-gate-content iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

@media (min-width: 941px) {
  #fotos.bf-community-section {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  #fotos .bf-community-heading {
    flex: 0 0 auto;
  }

  #fotos .bf-photo-grid,
  #fotos .bf-community-empty {
    min-height: 0;
    flex: 1 1 auto;
  }

  #fotos .bf-photo-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  #fotos .bf-community-empty {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 940px) {
  .bf-community-tabs > .bf-community-create-plan {
    display: none;
  }
}

@media (max-width: 680px) {
  .bf-community-buttons {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .bf-community-join {
    width: 100%;
    min-width: 0;
  }

  .bf-community-join-copy strong {
    max-width: min(42vw, 160px);
  }

  .bf-auth-gate {
    padding: 0;
  }

  .bf-auth-gate-card {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .bf-auth-gate-header {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  }

  .bf-auth-gate-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bf-auth-gate-brand small {
    white-space: normal;
  }

  .bf-auth-gate-close {
    grid-column: 2;
    grid-row: 1;
  }

  .bf-auth-gate-content {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 420px) {
  .bf-auth-gate-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 14px;
  }

  .bf-auth-gate-mark img {
    width: 33px;
    height: 33px;
  }

  .bf-auth-gate-brand strong {
    font-size: 15px;
  }

  .bf-auth-gate-brand small {
    font-size: 11px;
  }
}

/* Dos publicaciones recientes de usuarios distintos. */
#fotos .bf-photo-grid.bf-photo-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
}

#fotos .bf-photo-grid.bf-photo-grid--two .bf-community-moment,
#fotos .bf-photo-grid.bf-photo-grid--two .bf-community-moment:first-child {
  position: relative;
  min-width: 0;
  min-height: 0;
  grid-column: auto;
  grid-row: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #e9e7e3;
  isolation: isolate;
}

#fotos .bf-photo-grid.bf-photo-grid--two .bf-community-moment:only-child {
  grid-column: 1 / -1;
}

.bf-community-moment::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(15, 15, 17, 0.5));
  content: "";
  pointer-events: none;
}

#fotos .bf-community-moment > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bf-community-moment-user {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  min-width: 0;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.62);
  color: #ffffff;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.19);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.bf-community-moment-user > img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
}

.bf-community-moment:hover .bf-community-moment-user > img {
  transform: none;
}

.bf-community-moment-user > span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.bf-community-moment-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.bf-community-moment-name strong {
  min-width: 0;
}

#fotos .bf-community-moment-user .bf-community-moment-verified {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  transform: none;
}

.bf-community-moment-user strong,
.bf-community-moment-user small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bf-community-moment-user strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.25;
}

.bf-community-moment-user small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.25;
}

.bf-community-moment-user > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

body.bf-page-feeds article.post[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 940px) {
  #fotos .bf-photo-grid.bf-photo-grid--two {
    grid-template-rows: clamp(220px, 38vw, 300px);
  }
}

@media (max-width: 420px) {
  #fotos .bf-photo-grid.bf-photo-grid--two {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 215px);
  }

  #fotos .bf-photo-grid.bf-photo-grid--two .bf-community-moment:only-child {
    grid-column: auto;
  }

  .bf-community-moment-user {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

/* --------------------------------------------------------------------------
   Barra superior · escala y densidad para escritorio
   Conserva la estructura y el diseño; solo mejora tamaño y aprovechamiento.
   -------------------------------------------------------------------------- */
@media (min-width: 941px) {
  .bf-web-header-inner {
    box-sizing: border-box;
    width: min(calc(100% - (var(--bf-space-page) * 2)), 1180px);
    max-width: 1180px;
    height: 86px;
    gap: clamp(14px, 1.15vw, 22px);
    padding-right: 0;
    padding-left: 0;
  }

  .bf-web-brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }

  .bf-web-brand-mark img {
    width: 38px;
    height: 38px;
  }

  .bf-web-brand-name {
    font-size: clamp(1.5rem, 1.28rem + 0.38vw, 1.75rem);
  }

  .bf-web-search {
    height: 50px;
    min-width: 260px;
  }

  .bf-web-search input {
    font-size: 0.9375rem;
  }

  .bf-web-search-place {
    font-size: 0.8125rem;
  }

  .bf-web-nav {
    gap: 6px;
  }

  .bf-web-nav a {
    min-height: 46px;
    padding-right: clamp(12px, 0.9vw, 17px);
    padding-left: clamp(12px, 0.9vw, 17px);
    font-size: 1.0625rem;
  }

  .bf-web-actions {
    gap: 10px;
  }

  .bf-web-communication {
    height: 50px;
  }

  .bf-web-account {
    width: 50px;
    height: 50px;
  }

  .bf-web-account img,
  .bf-web-account > span {
    width: 40px;
    height: 40px;
  }
}

/* Modal de acceso móvil · solapa inferior. */
@media (max-width: 680px) {
  .bf-auth-gate {
    align-items: end;
    justify-items: stretch;
    padding: max(38px, env(safe-area-inset-top)) 0 0;
  }

  .bf-auth-gate-card {
    width: 100vw;
    height: min(92dvh, 780px);
    min-height: 0;
    justify-self: center;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    opacity: 0;
    transform: translateY(100%);
  }

  .bf-auth-gate.is-open .bf-auth-gate-card {
    opacity: 1;
    transform: translateY(0);
  }

  .bf-auth-gate-card::before {
    position: absolute;
    z-index: 3;
    top: 9px;
    left: 50%;
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: rgba(37, 35, 39, 0.2);
    content: "";
    transform: translateX(-50%);
    pointer-events: none;
  }

  .bf-auth-gate-header {
    padding-top: 22px;
  }

  .bf-auth-gate-content {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* --------------------------------------------------------------------------
   Navegación móvil · avatar como acceso principal
   Sustituye definitivamente el botón hamburguesa por la foto de cuenta.
   -------------------------------------------------------------------------- */
.bf-web-menu-button {
  display: none !important;
}

@media (max-width: 680px) {
  body.bf-web-page .bf-web-actions .bf-web-account {
    display: grid !important;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-left: 0;
    border-radius: 15px;
    -webkit-tap-highlight-color: transparent;
  }

  body.bf-web-page .bf-web-account::before {
    border-radius: 15px;
  }

  body.bf-web-page .bf-web-account img,
  body.bf-web-page .bf-web-account > span {
    width: 36px;
    height: 36px;
  }

  body.bf-web-page .bf-web-account.is-open::before {
    border-color: rgba(255, 92, 0, 0.34);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
      0 12px 28px rgba(27, 24, 48, 0.14),
      0 0 0 3px rgba(255, 92, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }

  body.bf-web-page .bf-web-mobile-menu {
    right: 14px;
    transform-origin: top right;
  }
}

@media (max-width: 420px) {
  body.bf-web-page .bf-web-actions .bf-web-account {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  body.bf-web-page .bf-web-account img,
  body.bf-web-page .bf-web-account > span {
    width: 35px;
    height: 35px;
  }
}

/* ========================================================================== 
   Navegación móvil de cristal · Inicio / Feeds / Planes
   Menú de cuenta reducido · Chats / Notificaciones / Ajustes
   ========================================================================== */
.bf-web-mobile-dock {
  display: none;
}

.bf-web-account-fallback {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}

.bf-web-account-guest {
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72) 34%, transparent 35%),
    linear-gradient(145deg, #f5f2ef, #ddd8d2);
  color: #202024;
}

.bf-web-account-guest svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.bf-web-account-initial {
  background: linear-gradient(145deg, #242329, #686973);
  color: #fff;
}

@media (max-width: 680px) {
  body.bf-web-page {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication {
    display: none !important;
  }

  body.bf-web-page .bf-web-account img,
  body.bf-web-page .bf-web-account > span {
    overflow: hidden;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
  }

  body.bf-web-page .bf-web-account.is-guest::before {
    border-color: rgba(255, 255, 255, 0.98);
    background: rgba(255, 255, 255, 0.8);
  }

  body.bf-web-page .bf-web-account.is-guest .bf-web-account-guest {
    border: 1px solid rgba(36, 35, 41, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(231, 227, 222, 0.95));
    box-shadow:
      0 4px 12px rgba(31, 29, 34, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }

  body.bf-web-page .bf-web-mobile-menu {
    top: 64px;
    right: 14px;
    width: min(268px, calc(100vw - 28px));
    gap: 5px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    background: rgba(249, 248, 247, 0.78);
    box-shadow:
      0 24px 60px rgba(30, 27, 31, 0.18),
      0 8px 22px rgba(30, 27, 31, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(28px) saturate(185%);
    backdrop-filter: blur(28px) saturate(185%);
  }

  body.bf-web-page .bf-web-mobile-menu::before {
    position: absolute;
    top: -7px;
    right: 18px;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.94);
    border-left: 1px solid rgba(255, 255, 255, 0.94);
    background: rgba(249, 248, 247, 0.82);
    content: "";
    transform: rotate(45deg);
    -webkit-backdrop-filter: blur(28px) saturate(185%);
    backdrop-filter: blur(28px) saturate(185%);
  }

  body.bf-web-page .bf-web-mobile-menu a {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 52px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 0 12px 0 9px;
    border-radius: 15px;
    color: #2c2b30;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  body.bf-web-page .bf-web-mobile-menu a:active {
    transform: scale(0.985);
  }

  body.bf-web-page .bf-web-mobile-menu a:hover,
  body.bf-web-page .bf-web-mobile-menu a.is-active {
    background: rgba(255, 255, 255, 0.7);
  }

  body.bf-web-page .bf-web-mobile-menu a > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(26, 25, 29, 0.055);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  body.bf-web-page .bf-web-mobile-menu a > span svg {
    width: 20px;
    height: 20px;
  }

  body.bf-web-page .bf-web-mobile-menu a strong {
    overflow: hidden;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bf-web-menu-count {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff5c00;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
  }

  .bf-web-menu-alert {
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: #ff5c00;
    box-shadow: 0 0 0 1px rgba(255, 92, 0, 0.12);
  }

  .bf-web-mobile-dock {
    position: fixed;
    z-index: 920;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 14px;
    display: grid;
    width: min(390px, calc(100vw - 28px));
    height: 76px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 5px;
    margin: 0 auto;
    padding: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 29px;
    background: rgba(246, 242, 239, 0.68);
    box-shadow:
      0 22px 55px rgba(31, 27, 29, 0.2),
      0 7px 18px rgba(31, 27, 29, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      inset 0 -1px 0 rgba(31, 27, 29, 0.045);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    backdrop-filter: blur(30px) saturate(190%);
  }

  .bf-web-mobile-dock::after {
    position: absolute;
    top: 2px;
    right: 22px;
    left: 22px;
    height: 1px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    content: "";
    pointer-events: none;
  }

  .bf-web-mobile-dock a {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    place-items: center;
    align-content: center;
    gap: 2px;
    overflow: hidden;
    border-radius: 23px;
    color: rgba(28, 27, 31, 0.64);
    text-decoration: none;
    transition: color 170ms ease, transform 170ms ease, background-color 170ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bf-web-mobile-dock a::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    content: "";
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
  }

  .bf-web-mobile-dock a.is-active {
    color: #17171a;
  }

  .bf-web-mobile-dock a.is-active::before {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
      0 6px 18px rgba(31, 27, 29, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
    opacity: 1;
    transform: scale(1);
  }

  .bf-web-mobile-dock a:active {
    transform: scale(0.96);
  }

  .bf-web-mobile-dock-icon {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
  }

  .bf-web-mobile-dock-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.15;
  }

  .bf-web-mobile-dock-label {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 760;
    letter-spacing: -0.01em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bf-web-mobile-dock a.is-active .bf-web-mobile-dock-label::after {
    display: block;
    width: 14px;
    height: 2px;
    margin: 4px auto 0;
    border-radius: 999px;
    background: #ff5c00;
    content: "";
  }
}

@media (max-width: 360px) {
  .bf-web-mobile-dock {
    right: 10px;
    left: 10px;
    width: calc(100vw - 20px);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (max-width: 680px) {
    body.bf-web-page .bf-web-mobile-menu,
    .bf-web-mobile-dock {
      background: rgba(250, 248, 246, 0.97);
    }
  }
}

@media (max-width: 680px) {
  .bf-web-mobile-dock svg {
    display: block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Ajuste compacto de la barra inferior móvil */
@media (max-width: 680px) {
  body.bf-web-page {
    padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }

  .bf-web-mobile-dock {
    bottom: calc(9px + env(safe-area-inset-bottom));
    width: min(360px, calc(100vw - 28px));
    height: 62px;
    gap: 3px;
    padding: 4px;
    border: 0;
    border-radius: 24px;
    box-shadow:
      0 16px 38px rgba(31, 27, 29, 0.17),
      0 5px 14px rgba(31, 27, 29, 0.07),
      inset 0 -1px 0 rgba(31, 27, 29, 0.045);
  }

  .bf-web-mobile-dock::after {
    display: none;
  }

  .bf-web-mobile-dock a {
    gap: 0;
    border-radius: 20px;
  }

  .bf-web-mobile-dock-icon {
    width: 27px;
    height: 27px;
  }

  .bf-web-mobile-dock-icon svg {
    width: 22px;
    height: 22px;
  }

  .bf-web-mobile-dock-label {
    font-size: 9px;
    line-height: 1;
  }

  .bf-web-mobile-dock a.is-active .bf-web-mobile-dock-label::after {
    width: 12px;
    margin-top: 2px;
  }
}


/* ========================================================================== 
   Cabecera móvil · Chats y notificaciones fuera del menú de cuenta
   ========================================================================== */
@media (max-width: 680px) {
  body.bf-web-page .bf-web-actions {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication {
    display: inline-flex !important;
    height: 44px;
    padding: 2px;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication .bf-web-icon-link {
    display: grid !important;
    width: 41px;
    height: 38px;
    flex: 0 0 41px;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication .bf-web-icon-link svg {
    width: 21px;
    height: 21px;
  }

  body.bf-web-page .bf-web-communication::after {
    top: 2px;
    left: 2px;
    width: 41px;
    height: 38px;
  }

  body.bf-web-page .bf-web-communication[data-bf-comm-target="notifications"]::after {
    transform: translate3d(41px, 0, 0) scale(1);
  }

  body.bf-web-page .bf-web-mobile-menu {
    width: min(218px, calc(100vw - 28px));
  }
}

@media (max-width: 420px) {
  body.bf-web-page .bf-web-actions {
    gap: 5px;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication {
    height: 42px;
    padding: 2px;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication .bf-web-icon-link {
    width: 38px;
    height: 36px;
    flex-basis: 38px;
  }

  body.bf-web-page .bf-web-actions .bf-web-communication .bf-web-icon-link svg {
    width: 20px;
    height: 20px;
  }

  body.bf-web-page .bf-web-communication::after {
    width: 38px;
    height: 36px;
  }

  body.bf-web-page .bf-web-communication[data-bf-comm-target="notifications"]::after {
    transform: translate3d(38px, 0, 0) scale(1);
  }
}

/* ========================================================================== 
   Inicio móvil · tarjetas laterales al ancho útil de la página
   Solo corrige el encaje horizontal; no altera su diseño ni contenido.
   ========================================================================== */
@media (max-width: 680px) {
  body.bf-page-home .bf-community-aside {
    width: 100%;
    min-width: 0;
  }

  body.bf-page-home #miembros,
  body.bf-page-home .bf-community-team-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    align-self: stretch;
    box-sizing: border-box;
  }
}

/* ========================================================================== 
   MODAL DE ACCESO · PRODUCCIÓN WEB/MÓVIL 2026
   El login utiliza una superficie compacta; el registro conserva su amplitud.
   ========================================================================== */
.bf-auth-gate {
  --bf-auth-viewport-height: 100dvh;
  --bf-auth-drag-y: 0px;
  --bf-auth-drag-opacity: 1;
  height: var(--bf-auth-viewport-height);
  overflow: hidden;
}

.bf-auth-gate-backdrop {
  cursor: pointer;
  opacity: var(--bf-auth-drag-opacity);
  transition: opacity 180ms ease, background-color 180ms ease;
}

.bf-auth-gate-card {
  max-height: calc(var(--bf-auth-viewport-height) - 48px);
  transition:
    width 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    height 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 210ms ease,
    transform 230ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bf-auth-gate.is-login-view .bf-auth-gate-card {
  width: min(680px, calc(100vw - 48px));
  height: min(650px, calc(var(--bf-auth-viewport-height) - 48px));
  min-height: 570px;
}

.bf-auth-gate.is-register-view .bf-auth-gate-card {
  width: min(1080px, calc(100vw - 56px));
  height: min(780px, calc(var(--bf-auth-viewport-height) - 48px));
  min-height: 590px;
}

.bf-auth-gate-close {
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.bf-auth-gate-close > span {
  display: none;
}

.bf-auth-gate-close:hover {
  border-color: rgba(255, 90, 18, 0.23);
  background: #fff5ef;
  color: #c54300;
  transform: translateY(-1px);
}

.bf-auth-gate-close:active {
  transform: scale(0.96);
}

.bf-auth-gate-content,
.bf-auth-gate-content iframe {
  overscroll-behavior: contain;
}

.bf-auth-gate.is-login-view .bf-auth-gate-content {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 90, 18, 0.055), transparent 21rem),
    #fff;
}

@media (max-width: 760px) {
  .bf-auth-gate {
    align-items: end;
    justify-items: stretch;
    padding: max(14px, env(safe-area-inset-top)) 6px 0;
  }

  .bf-auth-gate-card,
  .bf-auth-gate.is-login-view .bf-auth-gate-card,
  .bf-auth-gate.is-register-view .bf-auth-gate-card {
    width: calc(100vw - 12px);
    height: min(92dvh, calc(var(--bf-auth-viewport-height) - max(14px, env(safe-area-inset-top))));
    min-height: 0;
    max-height: none;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
    will-change: transform;
  }

  .bf-auth-gate.is-open .bf-auth-gate-card {
    transform: translate3d(0, var(--bf-auth-drag-y), 0);
  }

  .bf-auth-gate-card.is-dragging {
    transition: none !important;
  }

  .bf-auth-gate-card::before {
    top: 8px;
    width: 42px;
    height: 5px;
    background: rgba(37, 35, 39, 0.22);
  }

  .bf-auth-gate-header {
    position: relative;
    z-index: 4;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 12px 10px;
    padding: 22px 14px 12px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
  }

  .bf-auth-gate-brand {
    gap: 10px;
  }

  .bf-auth-gate-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }

  .bf-auth-gate-mark img {
    width: 32px;
    height: 32px;
  }

  .bf-auth-gate-brand strong {
    font-size: 15px;
  }

  .bf-auth-gate-brand small {
    display: -webkit-box;
    margin-top: 2px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .bf-auth-gate-close {
    width: auto;
    min-width: 72px;
    height: 42px;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: 17px auto;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 760;
  }

  .bf-auth-gate-close svg {
    width: 17px;
    height: 17px;
  }

  .bf-auth-gate-close > span {
    display: inline;
  }

  .bf-auth-gate-switch {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px;
  }

  .bf-auth-gate-switch button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 12px;
  }

  .bf-auth-gate-content {
    min-height: 0;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
  }

  .bf-auth-gate-content iframe {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .bf-auth-gate {
    padding-right: 0;
    padding-left: 0;
  }

  .bf-auth-gate-card,
  .bf-auth-gate.is-login-view .bf-auth-gate-card,
  .bf-auth-gate.is-register-view .bf-auth-gate-card {
    width: 100vw;
  }

  .bf-auth-gate-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .bf-auth-gate-close {
    min-width: 66px;
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-auth-gate,
  .bf-auth-gate *,
  .bf-auth-gate *::before,
  .bf-auth-gate *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* Normalización local: el modal no depende del box-model de cada página. */
.bf-auth-gate,
.bf-auth-gate *,
.bf-auth-gate *::before,
.bf-auth-gate *::after {
  box-sizing: border-box;
}

.bf-auth-gate svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

/* ========================================================================== 
   Acceso superadmin · cabecera pública
   Se renderiza únicamente tras validar el rol real contra la base de datos.
   ========================================================================== */
body.bf-web-page .bf-web-admin-link {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(15, 15, 18, 0.88);
  border-radius: 15px;
  background: #18181b;
  color: #fff;
  box-shadow:
    0 9px 22px rgba(15, 15, 18, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

body.bf-web-page .bf-web-admin-link::before {
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), transparent 45%);
  content: "";
  pointer-events: none;
}

body.bf-web-page .bf-web-admin-link:hover {
  background: #050506;
  box-shadow:
    0 13px 28px rgba(15, 15, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

body.bf-web-page .bf-web-admin-link:active {
  transform: scale(0.94);
}

body.bf-web-page .bf-web-admin-link:focus-visible {
  outline: 3px solid rgba(255, 91, 26, 0.28);
  outline-offset: 2px;
}

body.bf-web-page .bf-web-admin-link svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-web-page .bf-web-admin-indicator {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border: 2px solid #18181b;
  border-radius: 50%;
  background: #ff5b1a;
  box-shadow: 0 0 0 2px rgba(255, 91, 26, 0.13);
}

@media (max-width: 680px) {
  body.bf-web-page .bf-web-admin-link {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  body.bf-web-page .bf-web-admin-link {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 13px;
  }

  body.bf-web-page .bf-web-admin-link svg {
    width: 19px;
    height: 19px;
  }
}


/* ========================================================================== 
   MODAL LOGIN V2 · cabecera limpia + bottom sheet iOS
   Solo afecta a la vista de inicio de sesión; registro permanece intacto.
   ========================================================================== */
.bf-auth-gate.is-login-view [data-bf-auth-register-chrome] {
  display: none !important;
}

.bf-auth-gate.is-login-view .bf-auth-gate-card {
  grid-template-rows: minmax(0, 1fr);
  width: min(680px, calc(100vw - 48px));
  height: min(610px, calc(var(--bf-auth-viewport-height) - 48px));
  min-height: 560px;
  background: #fff;
}

.bf-auth-gate.is-login-view .bf-auth-gate-header {
  position: absolute;
  z-index: 8;
  top: 16px;
  right: 16px;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bf-auth-gate.is-login-view .bf-auth-gate-close {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-color: rgba(30, 29, 33, 0.08);
  border-radius: 50%;
  background: rgba(246, 246, 248, 0.94);
  color: #242327;
  box-shadow: 0 5px 16px rgba(26, 24, 29, 0.08);
}

.bf-auth-gate.is-login-view .bf-auth-gate-close > span {
  display: none !important;
}

.bf-auth-gate.is-login-view .bf-auth-gate-content {
  grid-row: 1;
  border-radius: inherit;
  background: #fff;
}

@media (max-width: 760px) {
  .bf-auth-gate.is-login-view {
    align-items: end;
    justify-items: stretch;
    padding: max(44px, env(safe-area-inset-top)) 0 0;
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-backdrop {
    background: rgba(14, 14, 16, 0.34);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-card {
    width: 100vw;
    height: min(760px, calc(var(--bf-auth-viewport-height) - max(44px, env(safe-area-inset-top))));
    min-height: 0;
    max-height: none;
    margin: auto 0 0;
    overflow: hidden;
    border: 0;
    border-radius: 30px 30px 0 0;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 -12px 44px rgba(12, 12, 14, 0.18);
    transform: translate3d(0, calc(100% + 28px), 0);
    transition:
      opacity 180ms ease,
      transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .bf-auth-gate.is-login-view.is-open .bf-auth-gate-card {
    transform: translate3d(0, var(--bf-auth-drag-y), 0);
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-card::before {
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 50%;
    display: block;
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: rgba(60, 60, 67, 0.28);
    content: "";
    transform: translateX(-50%);
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-header {
    top: 18px;
    right: 14px;
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-close {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border: 0;
    background: rgba(118, 118, 128, 0.12);
    box-shadow: none;
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-close svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.4;
  }

  .bf-auth-gate.is-login-view .bf-auth-gate-content {
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
  }
}
