:root {
  --black: #111318;
  --black-soft: #1c2028;
  --white: #ffffff;
  --off-white: #f5f6f8;
  --line: #e0e3e8;
  --text: #222631;
  --muted: #6f7682;
  --red: #d71920;
  --red-dark: #a80f15;
  --yellow: #ffbf2f;
  --shadow: 0 12px 30px rgba(17, 19, 24, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  color: var(--text);
  background: var(--off-white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, sans-serif;
  line-height: 1.7;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: var(--container);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--white);
  background: var(--black);
  border-bottom: 4px solid var(--red);
}

.header-inner,
.container,
.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: var(--radius);
}

.logo-mark-image {
  display: block;
  width: 56px;
  height: 36px;
  padding: 4px;
  box-sizing: border-box;
  background: var(--white);
  border-radius: 6px;
  object-fit: contain;
}

.logo-text { font-size: 1.35rem; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  color: rgba(255,255,255,.84);
  font-size: .92rem;
}

.header-nav a:hover { color: var(--white); }
.header-nav a.is-active {
  position: relative;
  color: var(--white);
  font-weight: 800;
}

.header-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 19, 24, 0.96), rgba(17, 19, 24, 0.8)),
    repeating-linear-gradient(135deg, #262b35 0 12px, #1a1e26 12px 24px);
}

.hero-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 58px 0 48px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 6px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.15;
}

.hero-copy {
  max-width: 760px;
  margin: 16px 0 28px;
  color: rgba(255,255,255,.84);
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 8px;
  max-width: 820px;
  padding: 6px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: 6px;
  outline: none;
  font-size: .92rem;
}

.search-box input:focus { border-color: var(--red); }

.search-box button,
.primary-button {
  min-height: 46px;
  padding: 0 14px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.search-box button:hover,
.primary-button:hover { background: var(--red-dark); }

.section {
  width: min(100% - 32px, var(--container));
  margin: 24px auto;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.section-title-row h2,
.card h2,
.card h3 { margin: 0; line-height: 1.3; }

.section-title-row h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.section-note {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.grid-2,
.feature-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(17,19,24,.06);
}

.card { overflow: hidden; }
.panel { padding: 22px; }
.card-body { padding: 18px; }

.bike-visual,
.card-thumb {
  display: grid;
  place-items: center;
  height: 150px;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), var(--red));
  font-size: 2rem;
  font-weight: 900;
}

.today-card .bike-visual {
  height: 210px;
  margin: 18px 0;
  border-radius: var(--radius);
}

.muted { color: var(--muted); }
.rating { color: var(--yellow); font-weight: 900; }

.tag-list,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
}

.status-pill {
  color: var(--red);
  background: #fff0f1;
  border-color: #ffd5d8;
}

.text-link { color: var(--red); font-weight: 900; }

.list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 11px 12px;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-admin-bike-entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.bp-admin-bike-entry-main {
  min-width: 0;
}

.bp-admin-bike-thumbnail {
  display: grid;
  place-items: center;
  width: 120px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}

.bp-admin-bike-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-admin-bike-thumbnail-fallback {
  padding: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  color: var(--muted);
  background: var(--off-white);
}

.source-box {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  background: var(--off-white);
  border-left: 4px solid var(--red);
  border-radius: 6px;
}

.source-box p {
  margin: 0;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.form-row textarea { min-height: 120px; }

.admin-image-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.admin-image-row img {
  width: 140px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--off-white);
}

.site-footer {
  margin-top: 46px;
  color: rgba(255,255,255,.78);
  background: var(--black);
}

.bp-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px 0;
  align-items: start;
}

.bp-footer-grid p {
  margin: 8px 0 0;
  max-width: 520px;
}

.bp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.bp-footer-links a.is-active {
  color: var(--white);
  font-weight: 800;
}
.bp-footer-links a {
  color: rgba(255,255,255,.84);
  font-size: .9rem;
}

.bp-footer-grid small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.58);
}

.bp-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 19, 24, 0.96), rgba(17, 19, 24, 0.82)),
    repeating-linear-gradient(135deg, #262b35 0 12px, #1a1e26 12px 24px);
}

.bp-hero-copy {
  max-width: 760px;
  color: rgba(255,255,255,.84);
}

.bp-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.bp-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(17,19,24,.06);
  overflow: hidden;
}

.bp-card-thumb,
.bp-bike-visual {
  display: grid;
  place-items: center;
  min-height: 112px;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), var(--red));
  font-size: 1.55rem;
  font-weight: 900;
}

.bp-card-thumb > span,
.bp-bike-visual > span {
  position: relative;
  z-index: 1;
}

.bp-card-thumb-image,
.bp-bike-visual-image {
  background-size: cover;
  background-position: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.bp-card-thumb-placeholder,
.bp-bike-visual-placeholder {
  background:
    radial-gradient(circle at 68% 48%, transparent 0 25px, rgba(255,255,255,.34) 26px 30px, transparent 31px),
    radial-gradient(circle at 32% 56%, transparent 0 24px, rgba(255,255,255,.30) 25px 29px, transparent 30px),
    linear-gradient(0deg, transparent 0 55%, rgba(255,255,255,.68) 56% 58%, transparent 59%),
    linear-gradient(14deg, transparent 0 42%, var(--red) 43% 53%, transparent 54%),
    linear-gradient(135deg, var(--black), #252b35 58%, var(--red-dark));
}

.bp-card-thumb-gear {
  min-height: 110px;
  font-size: 1.15rem;
}

.bp-bike-visual {
  min-height: 190px;
  border-radius: var(--radius);
}

.bp-muted {
  color: var(--muted);
}

.bp-link {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.bp-link:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

.bp-home-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 19, 24, 0.96), rgba(17, 19, 24, 0.82)),
    repeating-linear-gradient(135deg, #262b35 0 12px, #1a1e26 12px 24px);
  border-bottom: 4px solid var(--red);
}

.bp-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: center;
  padding: 38px 0 30px;
}

.bp-home-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  font-weight: 950;
}

.bp-home-lead {
  max-width: 780px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
}

.bp-home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.bp-hero-side {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
}

.bp-hero-side a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.bp-home-section {
  margin-top: 42px;
  margin-bottom: 42px;
}

.bp-section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.bp-section-heading-row h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 950;
}

.bp-today-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bp-today-photo {
  display: grid;
  place-items: end start;
  min-height: 360px;
  padding: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 66% 52%, transparent 0 48px, rgba(255,255,255,.36) 49px 56px, transparent 57px),
    radial-gradient(circle at 30% 60%, transparent 0 44px, rgba(255,255,255,.32) 45px 52px, transparent 53px),
    linear-gradient(0deg, transparent 0 55%, rgba(255,255,255,.72) 56% 58%, transparent 59%),
    linear-gradient(14deg, transparent 0 42%, var(--red) 43% 53%, transparent 54%),
    linear-gradient(135deg, var(--black), #252b35 58%, var(--red-dark));
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
}

.bp-today-photo-real {
  background-size: cover;
  background-position: center;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

.bp-today-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px;
}

.bp-today-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 950;
  line-height: 1;
}

.bp-today-meta,
.bp-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bp-feature-mini-grid,
.bp-note-grid,
.bp-gear-grid,
.bp-maker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bp-feature-mini,
.bp-note-card,
.bp-gear-card,
.bp-maker-card,
.bp-ai-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(17,19,24,.06);
}

.bp-feature-mini {
  padding: 22px;
  min-height: 170px;
}

.bp-feature-mini h2,
.bp-note-card h3,
.bp-gear-card h3 {
  margin: 0 0 8px;
  font-weight: 950;
}

.bp-ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bp-ranking-tile {
  display: grid;
  grid-template-columns: 42px 104px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(17,19,24,.06);
}

.bp-ranking-rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 950;
}

.bp-ranking-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), var(--red));
  border-radius: 6px;
  overflow: hidden;
  font-weight: 950;
}

.bp-ranking-thumb-real {
  background-size: cover;
  background-position: center;
}

.bp-ranking-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 950;
}

.bp-ranking-tile p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.bp-scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.bp-scroll-card {
  scroll-snap-align: start;
}

.bp-note-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.bp-note-card span {
  color: var(--red);
  font-size: .78rem;
  font-weight: 950;
}

.bp-note-card p,
.bp-gear-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--muted);
}

.bp-gear-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.bp-gear-thumb {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), var(--red-dark));
  border-radius: 6px;
  font-weight: 950;
  text-align: center;
}

.bp-ai-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.bp-ai-panel h2 {
  margin: 0;
  font-weight: 950;
}

.bp-ai-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 8px;
}

.bp-ai-example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.bp-ai-ask-grid {
  align-items: start;
}

.bp-ai-main-form {
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.bp-ai-main-form textarea {
  font-size: 1.05rem;
  line-height: 1.65;
}

.bp-ai-example-list button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--red);
  background: #fff5f5;
  border: 1px solid #ffd2d6;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.bp-ai-input input {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bp-ai-input button,
.bp-ai-template-grid button {
  min-height: 52px;
  padding: 0 16px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 6px;
  font-weight: 950;
}

.bp-ai-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
}

.bp-ai-template-grid button {
  width: 100%;
  height: 100%;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--line);
  text-align: left;
}

.bp-maker-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.bp-maker-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  color: var(--text);
}

.bp-maker-card strong {
  font-size: 1.45rem;
  font-weight: 950;
}

.bp-maker-card span {
  color: var(--muted);
  font-size: .88rem;
}

.bp-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 820px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bp-search .form-control,
.bp-search .btn {
  min-height: 54px;
}

.bp-search-hero {
  margin-top: 24px;
}

.bp-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-tag,
.bp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.bp-tag {
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--line);
}

.bp-badge {
  color: var(--white);
  background: var(--black-soft);
}

.bp-badge-classic {
  background: var(--red);
}

.bp-badge-current {
  background: #14532d;
}

.bp-badge-twostroke {
  background: #7c2d12;
}

.bp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  white-space: nowrap;
  font-size: .9rem;
}

.bp-rating strong {
  color: var(--text);
}

.bp-ranking-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-rank-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.bp-ranking-title {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.bp-good {
  color: var(--red);
  font-weight: 900;
  white-space: nowrap;
}

.bp-vehicle-stage {
  padding: 8px 0 8px;
  background: linear-gradient(180deg, #f7f8fa, #fff);
  border-bottom: 1px solid #dfe4dc;
}

.bp-vehicle-anchor-bar {
  position: sticky;
  top: 112px;
  z-index: 8;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(17, 19, 24, .05);
  backdrop-filter: blur(8px);
}

.bp-vehicle-anchor-bar .container {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

.bp-vehicle-anchor-bar a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--text);
  background: #f4f6f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 950;
  text-decoration: none;
}

.bp-vehicle-anchor-bar a:first-child,
.bp-vehicle-anchor-bar a:last-child {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.bp-vehicle-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: center;
}

.bp-vehicle-hero-copy {
  min-width: 0;
  order: 2;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 19, 24, .08);
}

.bp-vehicle-hero-copy h1 {
  margin: 0 0 5px;
  color: #111;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.bp-vehicle-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 6px;
}

.bp-vehicle-meta-strip span,
.bp-vehicle-stat-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  color: #1e3029;
  background: #f2f4f2;
  border: 1px solid #d7ded4;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 900;
}

.bp-vehicle-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  color: var(--black);
}

.bp-vehicle-stat-row strong {
  margin-right: 4px;
  font-size: 1.06em;
  font-weight: 950;
}

.bp-vehicle-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bp-vehicle-quick-links a {
  color: var(--white);
  background: #26372f;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-vehicle-quick-links a:first-child {
  background: var(--red);
}

.bp-vehicle-hero-photo {
  position: relative;
  order: 1;
  margin: 0;
  background: #ece8dd;
  border: 1px solid #d6d8cf;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(22, 32, 25, .18);
  overflow: hidden;
}

.bp-vehicle-hero-photo img,
.bp-vehicle-photo-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform-origin: center;
}

.bp-vehicle-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 54%, rgba(255,255,255,.32), transparent 28%),
    linear-gradient(135deg, #202821, #45604f);
  font-size: 1.7rem;
  font-weight: 950;
}

.bp-vehicle-hero-photo figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 4px 7px;
  color: var(--white);
  background: rgba(0,0,0,.56);
  border-radius: 5px;
  font-size: .68rem;
  font-weight: 800;
}

.bp-vehicle-connect-band {
  padding: 18px 0;
  background: #26372f;
  border-block: 1px solid rgba(255,255,255,.08);
}

.bp-vehicle-connect-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  color: var(--white);
}

.bp-vehicle-participation-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05)),
    rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.bp-vehicle-participation-card h2,
.bp-vehicle-participation-card p {
  margin: 0;
}

.bp-vehicle-participation-card h2 {
  margin-bottom: 4px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.bp-vehicle-participation-card p:last-child {
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  line-height: 1.65;
  font-weight: 750;
}

.bp-vehicle-participation-card .btn {
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(185, 28, 36, .28);
}

.bp-vehicle-connect-inner h2,
.bp-vehicle-connect-inner p {
  margin: 0;
}

.bp-vehicle-connect-inner h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.bp-vehicle-connect-inner > div > p:last-child {
  margin-top: 5px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  font-weight: 750;
}

.bp-vehicle-owner-strip {
  justify-content: flex-end;
  max-width: 430px;
}

.bp-vehicle-social-zone {
  padding: 26px 0 34px;
  background: #f8f7f3;
  border-bottom: 1px solid var(--line);
}

.bp-vehicle-social-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.bp-vehicle-social-head h2,
.bp-vehicle-social-head p {
  margin: 0;
}

.bp-vehicle-social-head p:last-child,
.bp-detail-deep-heading p:last-child {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  font-weight: 900;
}

.bp-detail-deep-heading {
  margin-bottom: 16px;
}

.bp-detail-deep-heading h2 {
  margin-bottom: 4px;
}

.bp-vehicle-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bp-vehicle-gallery-tile {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 8px;
  color: var(--black);
  background: var(--white);
  border: 1px solid #e1e3dc;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(24, 31, 26, .10);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.bp-vehicle-gallery-tile:hover {
  color: var(--black);
  border-color: #ffc6cb;
  box-shadow: 0 16px 34px rgba(24, 31, 26, .14);
  transform: translateY(-2px);
}

.bp-vehicle-gallery-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--off-white);
}

.bp-vehicle-gallery-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 7px;
  color: var(--white);
  background: rgba(38, 55, 47, .9);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 900;
}

.bp-vehicle-gallery-tile strong,
.bp-vehicle-gallery-tile small {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.bp-vehicle-gallery-tile strong {
  -webkit-line-clamp: 2;
  font-size: .9rem;
  font-weight: 950;
}

.bp-vehicle-gallery-tile small {
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}


.bp-vehicle-empty-gallery {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(38,55,47,.94), rgba(74,91,77,.92)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px);
  border: 1px solid #d8ded4;
  border-radius: 10px;
  color: var(--white);
}

.bp-vehicle-empty-gallery h3,
.bp-vehicle-empty-gallery p {
  margin: 0;
}

.bp-vehicle-empty-gallery p {
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.bp-detail-hero {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(17, 19, 24, .98) 0%, rgba(17, 19, 24, .88) 46%, rgba(120, 14, 19, .86) 100%),
    repeating-linear-gradient(135deg, #2a2f3a 0 12px, #171b22 12px 24px);
  border-bottom: 4px solid var(--red);
}

.bp-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 34px;
  align-items: center;
  min-height: 540px;
  padding: 54px 0;
}

.bp-detail-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .96;
  font-weight: 950;
}

.bp-detail-hero-copy .lead {
  max-width: 760px;
  color: rgba(255,255,255,.84);
}

.bp-bike-charm-copy {
  max-width: 760px;
  margin: 14px 0 12px;
  padding: 12px 14px;
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 850;
  line-height: 1.65;
}

.bp-detail-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin: 0 0 14px;
}

.bp-detail-fact-strip span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
}

.bp-detail-fact-strip small {
  color: rgba(255,255,255,.64);
  font-size: .72rem;
  font-weight: 900;
}

.bp-detail-fact-strip strong {
  overflow: hidden;
  color: var(--white);
  font-size: .9rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-detail-score-row,
.bp-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.bp-detail-living-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.bp-detail-living-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 7px 10px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.bp-detail-living-stats strong {
  color: var(--white);
  font-size: 1.02rem;
}

.bp-detail-score-row {
  color: rgba(255,255,255,.82);
}

.bp-detail-score-row .bp-rating strong {
  color: var(--white);
}

.bp-detail-actions {
  margin-top: 30px;
}

.bp-small-title {
  margin: 0 0 8px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  font-weight: 900;
}

.bp-photo-board {
  display: grid;
  gap: 12px;
}

.bp-photo-main,
.bp-photo-mini {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.bp-photo-main {
  min-height: 330px;
  background:
    radial-gradient(circle at 54% 58%, transparent 0 46px, rgba(255,255,255,.42) 47px 52px, transparent 53px),
    radial-gradient(circle at 25% 61%, transparent 0 43px, rgba(255,255,255,.38) 44px 49px, transparent 50px),
    linear-gradient(0deg, transparent 0 53%, rgba(255,255,255,.9) 54% 56%, transparent 57%),
    linear-gradient(12deg, transparent 0 37%, #d71920 38% 49%, transparent 50%),
    linear-gradient(155deg, transparent 0 37%, #f4f4f4 38% 45%, transparent 46%),
    linear-gradient(135deg, #2b303b, #0d1015 62%, #4e0c10);
}

.bp-photo-main::before {
  content: "";
  position: absolute;
  inset: 18% 10% 24%;
  background:
    linear-gradient(10deg, transparent 0 22%, #d71920 23% 42%, #f7f7f7 43% 48%, transparent 49%),
    linear-gradient(170deg, transparent 0 20%, rgba(255,255,255,.9) 21% 34%, transparent 35%),
    linear-gradient(20deg, transparent 0 40%, #111318 41% 48%, transparent 49%);
  filter: drop-shadow(0 20px 18px rgba(0,0,0,.42));
}

.bp-photo-real {
  display: block;
  background: #0d1015;
}

.bp-photo-real::before {
  display: none;
}

.bp-photo-real img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.bp-photo-real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.42));
  pointer-events: none;
}

.bp-image-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255,255,255,.76);
  font-size: .78rem;
}

.bp-image-credit strong {
  color: var(--white);
}

.bp-related-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.bp-related-card-large {
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--off-white);
}

.bp-related-large-list {
  gap: 14px;
}

.bp-related-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 50%, transparent 0 15px, rgba(255,255,255,.32) 16px 19px, transparent 20px),
    radial-gradient(circle at 32% 58%, transparent 0 14px, rgba(255,255,255,.28) 15px 18px, transparent 19px),
    linear-gradient(135deg, var(--black), #252b35 58%, var(--red-dark));
  border-radius: 6px;
  overflow: hidden;
  font-size: .86rem;
  font-weight: 950;
  text-align: center;
}

.bp-related-thumb-image {
  background-size: cover;
  background-position: center;
  text-indent: -999px;
}

.bp-related-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bp-photo-commuter {
  background:
    radial-gradient(circle at 58% 60%, transparent 0 40px, rgba(255,255,255,.42) 41px 46px, transparent 47px),
    radial-gradient(circle at 28% 63%, transparent 0 38px, rgba(255,255,255,.38) 39px 44px, transparent 45px),
    linear-gradient(0deg, transparent 0 55%, rgba(255,255,255,.82) 56% 58%, transparent 59%),
    linear-gradient(14deg, transparent 0 42%, #d71920 43% 52%, transparent 53%),
    linear-gradient(135deg, #303743, #12161d 64%, #204339);
}

.bp-photo-commuter::before {
  inset: 24% 13% 27%;
  background:
    linear-gradient(8deg, transparent 0 24%, #d71920 25% 38%, #f8f8f8 39% 44%, transparent 45%),
    linear-gradient(170deg, transparent 0 18%, rgba(255,255,255,.9) 19% 30%, transparent 31%),
    linear-gradient(18deg, transparent 0 38%, #111318 39% 45%, transparent 46%);
}

.bp-photo-label,
.bp-photo-caption {
  position: absolute;
  left: 22px;
  z-index: 1;
}

.bp-photo-label {
  bottom: 42px;
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
}

.bp-photo-caption {
  bottom: 20px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  font-weight: 800;
}

.bp-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bp-photo-mini {
  display: grid;
  place-items: end start;
  min-height: 110px;
  padding: 14px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 38%, rgba(255,255,255,.38), transparent 26%),
    linear-gradient(145deg, #2c323d, #111318 64%, #7c1218);
  font-size: .86rem;
  font-weight: 900;
}

.bp-detail-section {
  margin-top: 14px;
  margin-bottom: 36px;
}

.bp-detail-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  background:
    linear-gradient(135deg, rgba(215,25,32,.06), rgba(17,19,24,.02)),
    var(--white);
}

.bp-detail-bridge h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.bp-detail-bridge p:not(.bp-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.bp-owner-mini-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 286px;
}

.bp-owner-mini-strip a,
.bp-owner-mini-empty {
  width: 42px;
  height: 42px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 48%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(135deg, var(--black), var(--red-dark));
  border: 2px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  font-size: .62rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.bp-owner-mini-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-detail-bridge-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-detail-template-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
  gap: 22px;
  align-items: start;
}

.bp-detail-main,
.bp-detail-aside {
  display: grid;
  gap: 22px;
}

.bp-detail-card {
  padding: 18px;
  background: var(--white);
}

.bp-vehicle-connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-left: 4px solid var(--red);
}

.bp-vehicle-connect-panel h2,
.bp-vehicle-connect-panel p {
  margin: 0;
}

.bp-vehicle-connect-panel h2 {
  font-size: 1.42rem;
}

.bp-vehicle-connect-panel p:not(.bp-kicker) {
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.bp-vehicle-social-panel {
  scroll-margin-top: 136px;
  background:
    linear-gradient(180deg, rgba(215,25,32,.05), transparent 180px),
    #fbfbfa;
  border-top: 4px solid var(--red);
  box-shadow: 0 16px 36px rgba(17, 19, 24, .08);
}

#spec,
#strengths {
  scroll-margin-top: 136px;
}

.bp-vehicle-action-card {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.bp-vehicle-action-card form,
.bp-vehicle-action-buttons {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bp-vehicle-action-card .btn,
.bp-vehicle-action-card .bp-button {
  width: 100%;
  min-height: 44px;
  margin: 0;
}

.bp-garage-public-choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.bp-garage-public-choice input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.bp-garage-public-choice label {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.45;
}


.bp-garage-message {
  margin: 14px 0 0;
  padding: 11px 14px;
  color: #25633c;
  font-weight: 800;
  background: #edf8f1;
  border: 1px solid #b9dec6;
  border-radius: 6px;
}

.bp-garage-message[data-state="error"] {
  color: var(--red);
  background: #fff1f2;
  border-color: #f3b8bd;
}

.bp-section-heading {
  margin-bottom: 16px;
}

.bp-section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.bp-reading-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.95;
}

.bp-detail-story-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  background: #fff7f7;
  border: 1px solid #ffd6d8;
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

.bp-detail-story-cta p {
  flex: 1 1 260px;
  margin: 0;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 800;
}

.bp-detail-story-cta a {
  color: var(--red);
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.bp-editor-pick {
  margin-top: 20px;
  padding: 18px;
  background: #fff7f7;
  border-left: 4px solid var(--red);
  border-radius: 6px;
}

.bp-editor-pick p {
  margin: 8px 0 0;
}

.bp-detail-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bp-point-list,
.bp-note-list,
.bp-gear-list,
.bp-related-list {
  display: grid;
  gap: 12px;
}

.bp-point-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bp-point-item p,
.bp-note-list p,
.bp-gear-list p,
.bp-check-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.bp-point-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: #14532d;
  border-radius: 50%;
  font-weight: 900;
}

.bp-point-icon-warn {
  background: var(--red);
}

.bp-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.bp-spec-grid div {
  min-height: 86px;
  padding: 14px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bp-spec-grid span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.bp-spec-grid strong {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.bp-source-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-source-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.bp-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--red);
  background: #fff0f1;
  border: 1px solid #ffd5d8;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
}

.bp-source-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.bp-source-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-source-list a,
.bp-gear-list a {
  color: var(--red);
  font-weight: 900;
  word-break: break-all;
}

.bp-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 180px;
  padding: 28px;
  margin-bottom: 16px;
  color: var(--text);
  background: #fff;
  border: 2px dashed #d7dce2;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.bp-dropzone:hover,
.bp-dropzone.is-dragover {
  background: #fff6f6;
  border-color: var(--red);
  transform: translateY(-1px);
}

.bp-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.bp-upload-preview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 16px 0;
  padding: 14px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-upload-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
  border-radius: 6px;
}

.bp-asset-list {
  margin-top: 20px;
}

.bp-inline-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.bp-inline-metadata input {
  width: 100%;
}

.bp-photo-post-page {
  padding: 32px 0 64px;
  background: var(--off-white);
}

.bp-photo-post-container {
  width: min(100% - 48px, 760px);
  max-width: 760px;
  padding-left: 0;
  padding-right: 0;
}

.bp-photo-post-header {
  margin-bottom: 20px;
}

.bp-photo-post-header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.bp-post-invite {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 14px 16px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(190,18,31,.94), rgba(17,19,24,.92)),
    linear-gradient(135deg, #232832, var(--red-dark));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bp-post-invite strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.bp-post-invite span {
  color: rgba(255,255,255,.84);
  font-size: .92rem;
  line-height: 1.55;
}

.bp-owner-form {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-post-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: post-step;
}

.bp-post-flow li {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 6px;
  color: var(--red);
  background: #fff5f5;
  border: 1px solid #ffd6d9;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.bp-owner-form > * {
  min-width: 0;
  max-width: 100%;
}

.bp-owner-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 210px;
  padding: 26px;
  background: #fff8f8;
  border: 2px dashed #e1b4b8;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.bp-owner-dropzone::before {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  content: "+";
  color: var(--red);
  background: var(--white);
  border: 2px solid #ffd6d9;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.bp-owner-dropzone strong {
  font-size: 1.18rem;
  font-weight: 950;
}

.bp-owner-dropzone span {
  max-width: 420px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.bp-owner-dropzone input {
  max-width: 100%;
}

.bp-owner-dropzone.is-dragover {
  background: #fff0f1;
  border-color: var(--red);
}

.bp-owner-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
}

.bp-owner-preview-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: .78rem;
}

.bp-owner-preview-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #111;
}

.bp-owner-preview-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-owner-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bp-owner-field label,
.bp-owner-checks label {
  font-weight: 900;
}

.bp-owner-field input,
.bp-owner-field select,
.bp-owner-field textarea,
.bp-admin-photo-actions textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.bp-owner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bp-owner-checks {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--off-white);
  border-radius: 8px;
}

.bp-owner-checks label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.bp-owner-checks input {
  width: 20px;
  height: 20px;
}

.bp-owner-safety,
.bp-admin-warning {
  padding: 14px;
  color: #4a1519;
  background: #fff3f3;
  border: 1px solid #ffd2d6;
  border-radius: 8px;
}

.bp-owner-submit {
  width: 100%;
  min-height: 52px;
}


.bp-owner-form-quick {
  gap: 18px;
}

.bp-post-anchor-flow li {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.bp-post-anchor-flow a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px;
  color: var(--red);
  background: #fff5f5;
  border: 1px solid #ffd6d9;
  border-radius: 8px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.bp-post-anchor-flow a:hover,
.bp-post-anchor-flow a:focus-visible {
  color: var(--white);
  background: var(--red);
  outline: none;
}

.bp-post-anchor-flow span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: .78rem;
}

.bp-post-anchor-flow a:hover span,
.bp-post-anchor-flow a:focus-visible span {
  color: var(--red);
  background: var(--white);
}

.bp-owner-required-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: #fffafa;
  border: 1px solid #ffd6d9;
  border-radius: 8px;
}

.bp-owner-required-summary strong {
  margin-right: 4px;
  color: var(--ink);
  font-weight: 950;
}

.bp-owner-required-summary span,
.bp-field-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 950;
  line-height: 1;
}

.bp-owner-required-summary span,
.bp-field-badge.is-required {
  color: var(--white);
  background: var(--red);
}

.bp-field-badge.is-optional {
  color: #59616c;
  background: #eef1f4;
}

.bp-owner-required-block {
  scroll-margin-top: 92px;
}

.bp-owner-label-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.bp-owner-label-row label {
  margin: 0;
}

.bp-owner-photo-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  color: #59616c;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-style: normal;
  font-size: .86rem;
  font-weight: 950;
}

.bp-owner-photo-count.has-files {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.bp-owner-quick-grid,
.bp-owner-optional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bp-owner-optional-panel {
  scroll-margin-top: 92px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.bp-owner-optional-panel summary {
  display: grid;
  gap: 4px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  background: #fafafa;
}

.bp-owner-optional-panel summary::-webkit-details-marker {
  display: none;
}

.bp-owner-optional-panel summary span {
  color: var(--ink);
  font-weight: 950;
}

.bp-owner-optional-panel summary small {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.bp-owner-optional-panel[open] summary {
  border-bottom: 1px solid var(--line);
}

.bp-owner-optional-panel > .bp-owner-optional-grid,
.bp-owner-optional-panel > .bp-owner-field {
  padding: 16px;
}

.bp-owner-optional-panel > .bp-owner-field {
  padding-top: 0;
}

.bp-owner-submit-block {
  display: grid;
  gap: 14px;
  scroll-margin-top: 92px;
}.bp-admin-photo-list {
  display: grid;
  gap: 16px;
}

.bp-admin-photo-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-admin-photo-preview img,
.bp-admin-photo-preview span {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-admin-photo-body h3 {
  margin: 10px 0 6px;
}

.bp-admin-photo-thumbs,
.bp-owner-photo-grid {
  display: grid;
  gap: 10px;
}

.bp-admin-photo-thumbs {
  grid-template-columns: repeat(6, 72px);
  margin: 10px 0;
}

.bp-admin-photo-thumbs img {
  width: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.bp-admin-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bp-admin-product-photos .bp-admin-photo-list,
.bp-admin-product-photos .bp-admin-photo-card,
.bp-admin-product-photos .bp-admin-photo-preview,
.bp-admin-product-photos .bp-admin-photo-body,
.bp-admin-product-photos .bp-admin-photo-actions,
.bp-admin-product-photos .bp-admin-photo-actions > form {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.bp-admin-product-photos .bp-admin-photo-body h3,
.bp-admin-product-photos .bp-admin-photo-body > p,
.bp-admin-product-photos .bp-admin-warning {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bp-admin-product-photos .bp-admin-photo-actions select {
  flex: 1 1 220px;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.bp-admin-product-photos .bp-admin-photo-actions > form {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 8px;
}

.bp-admin-product-photos .bp-admin-photo-actions > form.bp-admin-photo-action-link {
  flex: 1 1 300px;
  min-width: 260px;
}

.bp-admin-product-photos .bp-admin-photo-actions button {
  min-height: 44px;
}

.bp-admin-product-photos .bp-admin-photo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.bp-admin-product-photos .bp-admin-photo-tabs a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.bp-admin-product-photos .bp-admin-photo-tabs a:hover,
.bp-admin-product-photos .bp-admin-photo-tabs a:focus-visible,
.bp-admin-product-photos .bp-admin-photo-tabs a.is-active {
  color: var(--red);
  background: #fff1f2;
  border-color: #ffc6cb;
}

.bp-admin-product-photos .bp-admin-photo-meta {
  display: grid;
  gap: 4px;
  max-width: 100%;
  margin: 8px 0;
  padding: 10px 12px;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-admin-product-photos .bp-admin-photo-meta p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: .9rem;
}

.bp-admin-photo-tab-badge {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1;
}

.bp-admin-report-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bp-admin-report-message.is-success {
  color: #176b3a;
  border-color: #b8e2c9;
  background: #f0fbf4;
}

.bp-admin-report-message.is-error {
  color: #9f1d28;
  border-color: #ffc6cb;
  background: #fff5f5;
}

.bp-admin-report-list {
  display: grid;
  gap: 16px;
}

.bp-admin-report-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-admin-report-preview img,
.bp-admin-report-preview span {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-admin-report-body {
  min-width: 0;
}

.bp-admin-report-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bp-admin-report-heading p {
  margin: 0;
}

.bp-admin-report-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  color: var(--red);
  background: #fff1f2;
  border: 1px solid #ffc6cb;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
}

.bp-admin-report-detail,
.bp-admin-report-post-summary,
.bp-admin-report-deleted {
  padding: 10px 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: var(--off-white);
  border-radius: 6px;
}

.bp-admin-report-post-summary p,
.bp-admin-report-deleted {
  margin: 4px 0;
}

.bp-admin-report-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.bp-admin-report-actions form {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bp-admin-report-actions textarea {
  width: 100%;
  min-height: 44px;
  max-height: 96px;
  resize: vertical;
}

.bp-admin-report-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bp-admin-report-action-buttons button {
  min-height: 40px;
}

.bp-admin-report-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.bp-catalog-pagination {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}

.bp-catalog-pagination a,
.bp-catalog-pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--text);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bp-catalog-pagination a:hover {
  color: var(--red);
  border-color: var(--red);
}

.bp-catalog-pagination > span[aria-disabled="true"] {
  color: #a2a6ae;
  background: #f1f2f4;
}

.bp-catalog-pagination strong {
  color: #5e6570;
  font-size: .82rem;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .bp-catalog-pagination {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }
}

.bp-owner-photo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bp-owner-gallery-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.bp-owner-gallery-head .bp-section-heading {
  margin-bottom: 0;
}

.bp-owner-filter-pills {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin-bottom: 8px;
}

.bp-owner-filter-pills span {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.bp-owner-filter-pills span:first-child {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.bp-owner-photo-empty {
  display: grid;
  grid-template-columns: minmax(180px, .62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(215,25,32,.08), rgba(17,19,24,.03)),
    var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-owner-photo-empty-visual {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: grid;
  place-items: end start;
  padding: 14px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 40%, rgba(255,255,255,.28), transparent 36%),
    linear-gradient(135deg, #171b22, #3a0b0e 72%, #111318);
  border-radius: 8px;
}

.bp-owner-photo-empty-visual::before {
  content: "";
  position: absolute;
  inset: 28% 14% 22%;
  background:
    radial-gradient(circle at 80% 72%, transparent 0 28px, rgba(255,255,255,.56) 29px 34px, transparent 35px),
    radial-gradient(circle at 20% 74%, transparent 0 25px, rgba(255,255,255,.48) 26px 31px, transparent 32px),
    linear-gradient(12deg, transparent 0 34%, var(--red) 35% 46%, #f8f8f8 47% 51%, transparent 52%);
  filter: drop-shadow(0 18px 14px rgba(0,0,0,.38));
}

.bp-owner-photo-empty-visual span {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0;
}

.bp-owner-photo-empty h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.bp-owner-photo-empty p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}

.bp-owner-photo-prompt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.bp-owner-photo-prompt-list span {
  padding: 5px 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.bp-owner-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-owner-photo-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 14px;
  padding: 2px 0 4px;
}

.bp-owner-photo-card {
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-photo-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.bp-owner-photo-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: var(--white);
  background: rgba(0,0,0,.62);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
  pointer-events: none;
}

.bp-owner-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.bp-owner-photo-card div {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.bp-owner-photo-card h3,
.bp-owner-photo-card p {
  margin: 0;
}

.bp-owner-photo-card-actions,
.bp-report-details form {
  display: grid;
  gap: 8px;
}

.bp-owner-photo-card-actions .status-pill {
  white-space: nowrap;
}

.bp-detail-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(215,25,32,.08), rgba(255,255,255,.98)),
    var(--white);
  border-left: 4px solid var(--red);
}

.bp-detail-bottom-cta h2 {
  margin: 0 0 8px;
}

.bp-detail-bottom-cta p:not(.bp-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.bp-report-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.bp-report-details select,
.bp-report-details textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.bp-admin-ai-box,
.bp-admin-report-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bp-admin-ai-box p,
.bp-admin-report-box p {
  margin: 0;
}

.bp-lightbox {
  width: min(94vw, 980px);
  padding: 0;
  overflow: hidden;
  background: #0d1015;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.bp-lightbox::backdrop {
  background: rgba(0,0,0,.72);
}

.bp-lightbox img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.bp-lightbox p {
  margin: 0;
  padding: 12px 14px;
  color: var(--white);
}

.bp-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.bp-ai-card-list button {
  min-height: 56px;
  display: flex;
  align-items: center;
}

.bp-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bp-check-list article,
.bp-note-list div,
.bp-gear-list article {
  padding: 14px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bp-check-list span,
.bp-gear-list span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bp-check-list h3,
.bp-note-list h3,
.bp-gear-list h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.bp-related-list a {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
  font-weight: 900;
}

.bp-related-list a:hover {
  color: var(--red);
  border-color: #ffc6cb;
  background: #fff7f7;
}

.bp-related-list a {
  display: grid;
  gap: 4px;
}

.bp-related-list span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}

.footer-inner:not(.bp-footer-grid) {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p { margin: 6px 0 0; }

@media (max-width: 820px) {
  .header-inner,
  .section-title-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .search-box,
  .bp-home-hero-grid,
  .bp-today-feature,
  .bp-feature-mini-grid,
  .bp-ranking-grid,
  .bp-note-grid,
  .bp-gear-grid,
  .bp-ai-template-grid,
  .bp-maker-grid,
  .grid-2,
  .grid-3,
  .feature-layout,
  .bp-detail-hero-grid,
  .bp-detail-template-grid,
  .bp-detail-card-grid,
  .bp-spec-grid,
  .bp-check-list {
    grid-template-columns: 1fr;
  }

  .bp-home-hero-grid {
    align-items: start;
    padding: 28px 0 24px;
  }

  .bp-section-heading-row,
  .bp-footer-grid {
    grid-template-columns: 1fr;
  }

  .bp-section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .bp-today-photo {
    min-height: 250px;
  }

  .bp-today-copy {
    padding: 22px;
  }

  .bp-ranking-tile {
    grid-template-columns: 38px 86px minmax(0, 1fr);
  }

  .bp-ranking-tile .bp-good {
    grid-column: 2 / -1;
    width: fit-content;
  }

  .bp-ai-input {
    grid-template-columns: 1fr;
  }

  .bp-footer-links {
    justify-content: flex-start;
  }

  .bp-detail-hero-grid {
    min-height: auto;
    padding: 36px 0;
  }

  .bp-photo-main {
    min-height: 260px;
  }

  .bp-photo-strip {
    grid-template-columns: 1fr;
  }

  .admin-image-row {
    grid-template-columns: 1fr;
  }

  .admin-image-row img {
    width: 100%;
  }

  .bp-admin-bike-entry {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .bp-admin-bike-thumbnail {
    width: 88px;
  }

  .bp-upload-preview,
  .bp-inline-metadata,
  .bp-owner-grid,
  .bp-owner-quick-grid,
  .bp-owner-optional-grid,
  .bp-admin-photo-card,
  .bp-admin-report-card,
  .bp-admin-photo-actions,
  .bp-owner-photo-grid {
    grid-template-columns: 1fr;
  }

  .bp-owner-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-post-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-owner-required-summary {
    align-items: flex-start;
  }

  .bp-owner-label-row {
    align-items: flex-start;
  }

  .bp-owner-optional-panel summary {
    padding: 14px;
  }

  .bp-admin-photo-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .bp-admin-photo-thumbs img {
    width: 100%;
  }

  .bp-admin-product-photos {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .bp-admin-product-photos .bp-admin-photo-card {
    width: 100%;
  }

  .bp-admin-product-photos .bp-admin-photo-preview img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .bp-admin-product-photos .bp-admin-photo-thumbs {
    min-width: 0;
    max-width: 100%;
  }

  .bp-admin-product-photos .bp-admin-photo-thumbs img {
    max-width: 100%;
  }

  .bp-admin-product-photos .bp-admin-photo-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-admin-product-photos .bp-admin-photo-actions > form {
    width: 100%;
    margin: 0;
  }

  .bp-admin-product-photos .bp-admin-photo-actions > form.bp-admin-photo-action-link {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
  }

  .bp-admin-product-photos .bp-admin-photo-actions > form.bp-admin-photo-action-delete {
    grid-column: 1 / -1;
  }

  .bp-admin-product-photos .bp-admin-photo-actions select,
  .bp-admin-product-photos .bp-admin-photo-actions button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .bp-admin-report-actions form {
    grid-template-columns: 1fr;
  }

  .bp-admin-report-actions button {
    width: 100%;
    min-height: 44px;
  }
}

.bp-photo-detail-page {
  padding-top: 24px;
  padding-bottom: 52px;
}

.bp-photo-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .9rem;
}

.bp-photo-detail-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.bp-photo-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr);
  gap: 24px;
  align-items: start;
}

.bp-photo-detail-main,
.bp-photo-detail-panel {
  background: var(--white);
  border: 1px solid #e1e3dc;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(24, 31, 26, .08);
}

.bp-photo-detail-main {
  overflow: hidden;
}

.bp-photo-detail-figure {
  margin: 0;
  background: #111517;
}

.bp-photo-detail-figure [data-photo-gallery-main],
.bp-photo-detail-figure .bp-vehicle-photo-placeholder {
  width: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

.bp-photo-gallery-stage {
  position: relative;
  background: #111517;
  touch-action: pan-y;
}

.bp-photo-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 10, 12, .64);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.bp-photo-gallery-prev {
  left: 14px;
}

.bp-photo-gallery-next {
  right: 14px;
}

.bp-photo-gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 10, 12, .72);
  font-size: .84rem;
  font-weight: 900;
}

.bp-photo-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: #181c1f;
}

.bp-photo-gallery-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #0f1214;
}

.bp-photo-gallery-thumb.is-active {
  border-color: var(--red);
}

.bp-photo-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-photo-detail-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}
.bp-photo-detail-panel h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.16;
}

.bp-photo-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-photo-detail-meta span,
.bp-photo-detail-specs div {
  border: 1px solid #e1e3dc;
  border-radius: 999px;
  background: #f8faf7;
}

.bp-photo-detail-meta span {
  padding: 6px 10px;
  font-size: .86rem;
  font-weight: 850;
}

.bp-photo-detail-specs {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bp-photo-detail-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border-radius: 8px;
}

.bp-photo-detail-specs dt,
.bp-photo-detail-specs dd {
  margin: 0;
}

.bp-photo-detail-specs dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
}

.bp-photo-detail-specs dd {
  text-align: right;
  font-weight: 900;
}

.bp-photo-story-block {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #e1e3dc;
}

.bp-photo-story-block h2 {
  margin: 0;
  font-size: 1rem;
}

.bp-photo-story-block p {
  margin: 0;
  color: #4f5962;
  line-height: 1.85;
  font-weight: 650;
}

.bp-photo-detail-actions {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .bp-photo-detail-layout {
    grid-template-columns: 1fr;
  }

  .bp-photo-detail-figure [data-photo-gallery-main],
  .bp-photo-detail-figure .bp-vehicle-photo-placeholder {
    min-height: 280px;
    max-height: 520px;
  }

  .bp-photo-gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 1.7rem;
  }

  .bp-photo-gallery-thumb {
    flex-basis: 64px;
    width: 64px;
    height: 48px;
  }

}
/* Version1.5 dummy member UI */
.bp-header-auth {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bp-auth-login-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  font-size: .86rem;
  font-weight: 900;
  background: var(--red);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(196,24,34,.24);
}

.bp-auth-dialog {
  width: min(430px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--text);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17,19,24,.34);
  overflow: auto;
}

.bp-auth-dialog::backdrop {
  background: rgba(17,19,24,.68);
  backdrop-filter: blur(3px);
}

.bp-auth-dialog-card {
  position: relative;
  padding: 28px;
}

.bp-auth-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.bp-auth-dialog-close:hover {
  color: var(--text);
  background: var(--off-white);
}

.bp-auth-dialog-heading {
  margin: 0 36px 22px 0;
}

.bp-auth-dialog-heading span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bp-auth-dialog-heading h2 {
  margin: 4px 0 6px;
  font-size: 1.55rem;
}

.bp-auth-dialog-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.bp-auth-provider-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 850;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bp-auth-provider-button:hover {
  background: var(--off-white);
}

.bp-auth-provider-button > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #4285f4;
  font-weight: 950;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.bp-auth-line-button > span {
  width: auto;
  min-width: 36px;
  padding: 0 4px;
  color: var(--white);
  font-size: .6rem;
  letter-spacing: .02em;
  background: #06c755;
  border-color: #06c755;
  border-radius: 999px;
}

.bp-auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 750;
}

.bp-auth-separator::before,
.bp-auth-separator::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

.bp-auth-message {
  display: block;
  margin-top: 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 750;
}

.bp-email-auth-form {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bp-email-auth-form label {
  font-size: .78rem;
  font-weight: 850;
}

.bp-email-auth-form input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bp-email-auth-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--white);
  font-weight: 850;
  background: var(--red);
  border: 0;
  border-radius: 6px;
}

.bp-auth-spinner {
  display: none;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid rgba(255,255,255,.42);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: bp-auth-spin .7s linear infinite;
}

.bp-email-auth-form button[aria-busy="true"] .bp-auth-spinner,
.bp-email-auth-form button.is-loading .bp-auth-spinner {
  display: inline-block;
}

@keyframes bp-auth-spin {
  to { transform: rotate(360deg); }
}

.bp-email-auth-form button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.bp-email-auth-form .bp-email-auth-resend {
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--line);
}

.bp-email-auth-message {
  margin: 10px 0 0;
  color: #25633c;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.5;
}

.bp-email-auth-message[data-state="error"] {
  color: var(--red);
}

.bp-auth-menu {
  position: relative;
}

.bp-auth-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 10px 4px 4px;
  color: var(--white);
  list-style: none;
  cursor: pointer;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}

.bp-auth-menu summary::-webkit-details-marker {
  display: none;
}

.bp-auth-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--red), #701018);
  border-radius: 50%;
}

.bp-auth-name {
  max-width: 120px;
  overflow: hidden;
  font-size: .86rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-auth-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  display: grid;
  min-width: 172px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(17,19,24,.18);
}

.bp-auth-dropdown a {
  padding: 9px 10px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  border-radius: 8px;
}

.bp-auth-dropdown a:hover {
  color: var(--red);
  background: #fff3f4;
}

.bp-my-page {
  background: linear-gradient(180deg, #f6f7f9 0, #fff 42%);
}

.bp-my-container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.bp-my-hero,
.bp-my-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr);
  gap: 16px;
  align-items: stretch;
}

.bp-my-profile-card,
.bp-my-next-card,
.bp-my-stats article,
.bp-my-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(17,19,24,.065);
}

.bp-my-profile-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.bp-my-avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--red), #77111b);
  border-radius: 20px;
}

.bp-my-avatar-image {
  object-fit: cover;
}

.bp-my-profile-card h1,
.bp-my-panel h2 {
  margin: 0;
  font-weight: 950;
}

.bp-my-profile-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.65;
}

.bp-my-profile-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.bp-my-profile-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 850;
  border: 1px solid #ffd3d7;
  border-radius: 999px;
  background: #fff4f5;
  text-decoration: none;
}

.bp-my-profile-actions a:hover,
.bp-my-profile-actions a:focus-visible {
  color: var(--white);
  background: var(--red);
}

.bp-my-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.bp-my-profile-tags span,
.bp-my-panel-head > span {
  padding: 6px 10px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 900;
  background: #fff4f5;
  border: 1px solid #ffd3d7;
  border-radius: 999px;
}

.bp-my-next-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #181b22, #301014);
  color: var(--white);
}

.bp-my-next-card strong {
  font-size: 1.02rem;
}

.bp-my-next-card span {
  color: rgba(255,255,255,.74);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.6;
}

.bp-my-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.bp-my-stats article {
  display: grid;
  gap: 2px;
  padding: 14px;
}

.bp-my-stats span,
.bp-my-stats small,
.bp-my-garage-list span,
.bp-my-post-list span,
.bp-my-post-list small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.bp-my-stats strong {
  font-size: 1.7rem;
  font-weight: 950;
}

.bp-my-stats .bp-my-stat-pending {
  font-size: 1.1rem;
}

.bp-my-relationships {
  margin: 12px 0;
  padding: 16px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(17,19,24,.045);
}

.bp-my-relationships-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.bp-my-relationships-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 950;
}

.bp-my-relationships-head p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.bp-my-relationship-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bp-my-relationship-stats a {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
  background: #fafafa;
  border: 1px solid #e4e5e8;
  border-radius: 8px;
}

.bp-my-relationship-stats a:hover {
  border-color: #e2b8bd;
  background: #fff8f8;
}

.bp-my-relationship-stats span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
}

.bp-my-relationship-stats strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.bp-my-bike-friend-preview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.bp-my-bike-friend-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 7px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8e6e7;
  border-radius: 8px;
}

.bp-my-bike-friend-card:hover {
  border-color: #e2b8bd;
  background: #fffafa;
}

.bp-my-bike-friend-card img,
.bp-my-bike-friend-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  object-fit: cover;
  background: #555b66;
  border-radius: 50%;
}

.bp-my-bike-friend-card strong {
  width: 100%;
  overflow: hidden;
  font-size: .76rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-my-relationship-empty {
  margin: 14px 0 0;
  padding: 12px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  background: #fafafa;
  border: 1px dashed #dfe1e4;
  border-radius: 8px;
}

.bp-my-relationships-more {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 8px 13px;
  color: #9d1f29;
  font-size: .8rem;
  font-weight: 850;
  text-decoration: none;
  background: #fff5f6;
  border: 1px solid #e7c9cd;
  border-radius: 7px;
}

.bp-my-panel {
  padding: 16px;
}

.bp-my-garage-panel {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: #fffafa;
  border-color: #eadcdf;
}

.bp-my-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bp-my-panel-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.bp-my-section-mark {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  color: #8f2029;
  background: #fff;
  border: 1px solid #eadcdf;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(62, 28, 32, .06);
}

.bp-my-section-mark::before,
.bp-my-section-mark::after,
.bp-my-section-mark i,
.bp-my-section-mark i::before,
.bp-my-section-mark i::after,
.bp-my-post-placeholder-mark::before,
.bp-my-post-placeholder-mark::after,
.bp-my-post-placeholder-mark i {
  position: absolute;
  display: block;
  content: "";
}

.bp-my-section-mark--garage::before {
  left: 10px;
  bottom: 11px;
  width: 25px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.bp-my-section-mark--garage::after {
  top: 9px;
  left: 10px;
  width: 23px;
  height: 23px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.bp-my-section-mark--garage i {
  right: 14px;
  bottom: 11px;
  width: 6px;
  height: 11px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.bp-my-section-mark--history::before,
.bp-my-section-mark--history::after {
  width: 22px;
  height: 25px;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.bp-my-section-mark--history::before {
  top: 9px;
  left: 9px;
  transform: rotate(-6deg);
}

.bp-my-section-mark--history::after {
  top: 11px;
  left: 15px;
  transform: rotate(5deg);
}

.bp-my-section-mark--history i {
  z-index: 1;
  left: 20px;
  bottom: 14px;
  width: 9px;
  height: 7px;
  border-bottom: 2px solid currentColor;
}

.bp-my-section-mark--camera::before,
.bp-my-post-placeholder-mark::before {
  left: 9px;
  top: 14px;
  width: 26px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.bp-my-section-mark--camera::after,
.bp-my-post-placeholder-mark::after {
  left: 18px;
  top: 19px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.bp-my-section-mark--camera i,
.bp-my-post-placeholder-mark i {
  left: 14px;
  top: 10px;
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}

.bp-my-section-mark--items::before {
  top: 13px;
  left: 11px;
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.bp-my-section-mark--items::after {
  top: 9px;
  left: 17px;
  width: 10px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.bp-my-section-mark--items i {
  top: 21px;
  left: 16px;
  width: 12px;
  border-top: 2px solid currentColor;
}

.bp-my-panel-count {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #5d626c;
  font-size: .74rem;
  font-weight: 850;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #e1e3e7;
  border-radius: 999px;
}

.bp-my-panel-copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
}

.bp-my-garage-list,
.bp-my-post-list {
  display: grid;
  gap: 10px;
}

.bp-my-garage-list,
.bp-my-item-groups,
.bp-my-item-list,
.bp-my-recent-post-list,
.bp-my-history-list {
  gap: 8px;
}

.bp-my-garage-list article,
.bp-my-post-list article {
  padding: 14px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.bp-my-garage-list article {
  padding: 12px;
}

.bp-my-garage-list .bp-my-garage-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
}

.bp-my-garage-list .bp-my-current-card {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding: 10px;
  background: #fff;
  border-color: #e6cfd2;
  box-shadow: 0 10px 24px rgba(63, 20, 26, .08);
}

.bp-my-garage-image {
  display: block;
  min-height: 102px;
  overflow: hidden;
  background: linear-gradient(135deg, #191c23, #80121c);
  border-radius: 7px;
}

.bp-my-current-card .bp-my-garage-image,
.bp-my-current-card .bp-my-garage-image img,
.bp-my-current-card .bp-my-garage-image span {
  min-height: 142px;
}

.bp-my-current-card .bp-my-garage-image {
  aspect-ratio: 4 / 3;
}

.bp-my-garage-image img {
  width: 100%;
  height: 100%;
  min-height: 102px;
  object-fit: cover;
}

.bp-my-garage-image span {
  display: grid;
  place-items: center;
  min-height: 102px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 950;
}

.bp-my-garage-content {
  min-width: 0;
}

.bp-garage-visibility-intro {
  margin: 0 0 14px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.6;
  background: #fff8f8;
  border-left: 3px solid #e9aeb4;
}

.bp-garage-visibility-state {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  color: #59606d;
  font-size: .75rem;
  font-weight: 900;
}

.bp-garage-visibility-form {
  display: grid;
  gap: 8px;
  margin-top: 11px;
  padding: 10px 11px;
  background: #fafafa;
  border: 1px solid #e1e3e7;
  border-radius: 7px;
}

.bp-garage-visibility-form button {
  width: fit-content;
  min-height: 38px;
  padding: 7px 13px;
  color: #3f4651;
  font-size: .8rem;
  font-weight: 900;
  background: #fff;
  border: 1px solid #cfd3da;
  border-radius: 6px;
  cursor: pointer;
}

.bp-garage-visibility-form button:hover {
  color: #9f1822;
  border-color: #e3a5ab;
}

.bp-my-current-card .bp-my-garage-content {
  align-self: center;
}

.bp-my-garage-list strong,
.bp-my-post-list strong {
  display: block;
  font-weight: 950;
}

.bp-my-current-card .bp-my-garage-content > strong {
  margin-top: 2px;
  font-size: 1.38rem;
  line-height: 1.25;
}

.bp-my-garage-maker {
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-my-current-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 9px;
  color: #b5101c !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  background: #fff0f2;
  border: 1px solid #f1bcc1;
  border-radius: 999px;
}

.bp-my-current-status::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(218, 31, 45, .10);
}

.bp-my-garage-year {
  display: inline-block;
  margin: 8px 0 0 6px;
}

.bp-my-garage-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.55;
}

.bp-my-garage-link,
.bp-my-empty a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
}

.bp-my-garage-primary-link {
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 7px;
  transition: background-color .16s ease, border-color .16s ease;
}

.bp-my-garage-primary-link:hover {
  color: var(--white);
  background: #b20f1b;
  border-color: #b20f1b;
}

.bp-my-garage-item-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 13px;
  color: #9f1822;
  font-size: .82rem;
  font-weight: 900;
  background: #fff5f6;
  border: 1px solid #efc6ca;
  border-radius: 7px;
}

.bp-my-garage-item-link:hover {
  color: #7f1019;
  background: #ffedef;
  border-color: #e9aeb4;
}

.bp-my-garage-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.bp-garage-item-add-page {
  min-height: calc(100vh - 180px);
  padding: 42px 20px 64px;
  background: #f7f8fa;
}

.bp-garage-item-add-shell {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(26, 31, 40, .07);
}

.bp-garage-item-add-heading h1 {
  margin: 4px 0 8px;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
}

.bp-garage-item-add-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.bp-garage-item-target {
  display: grid;
  gap: 3px;
  margin-top: 22px;
  padding: 15px 17px;
  background: #fff5f6;
  border-left: 3px solid var(--red);
  border-radius: 4px;
}

.bp-garage-item-target span,
.bp-garage-item-target small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.bp-garage-item-target strong {
  font-size: 1.15rem;
}

.bp-garage-item-message {
  margin-top: 18px;
  padding: 12px 14px;
  font-weight: 800;
  border: 1px solid #b9dfc7;
  border-radius: 6px;
  background: #f0faf4;
}

.bp-garage-item-message[data-state="error"] {
  color: #9d1720;
  background: #fff2f3;
  border-color: #efc0c4;
}

.bp-garage-item-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.bp-garage-item-field {
  display: grid;
  gap: 8px;
}

.bp-garage-item-field label {
  font-weight: 900;
}

.bp-garage-item-field label span,
.bp-garage-item-field small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.bp-garage-item-field select,
.bp-garage-item-field input[type="text"],
.bp-garage-item-field input[type="file"],
.bp-garage-item-field textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
  background: #fff;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
}

.bp-garage-item-field textarea {
  resize: vertical;
}

.bp-garage-item-field select:focus,
.bp-garage-item-field input[type="text"]:focus,
.bp-garage-item-field input[type="file"]:focus,
.bp-garage-item-field textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(218, 31, 45, .12);
}

.bp-garage-item-field > span {
  color: #a81620;
  font-size: .8rem;
  font-weight: 800;
}

.bp-garage-item-empty {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  background: #f5f6f8;
  border-radius: 6px;
}

.bp-garage-item-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bp-garage-item-form-actions button,
.bp-garage-item-form-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 900;
  border-radius: 7px;
}

.bp-garage-item-image {
  display: block;
  width: 100%;
  min-height: 94px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.bp-garage-section-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 10px;
  padding: 8px 13px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid #efc6ca;
  border-radius: 7px;
  background: #fff5f6;
}

.bp-garage-item-form-actions button {
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
}

.bp-garage-item-form-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.bp-garage-item-form-actions a {
  color: var(--text);
  border: 1px solid #d6dae0;
}

@media (max-width: 520px) {
  .bp-garage-item-add-page {
    padding: 22px 12px 40px;
  }

  .bp-garage-item-add-shell {
    padding: 20px 16px;
  }

  .bp-garage-item-form-actions {
    display: grid;
  }

  .bp-garage-item-form-actions button,
  .bp-garage-item-form-actions a,
  .bp-my-current-card .bp-my-garage-item-link {
    width: 100%;
  }
}

.bp-my-garage-edit-button,
.bp-my-garage-end-button {
  min-height: 36px;
  padding: 7px 13px;
  color: var(--text);
  font-size: .82rem;
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.bp-my-garage-edit-button:hover {
  color: var(--red);
  border-color: #ef9da4;
}

.bp-my-garage-end-button {
  color: #6e531f;
  background: #fffaf0;
  border-color: #dfcc9e;
}

.bp-my-garage-end-button:hover {
  color: #533b0d;
  border-color: #caae69;
}

.bp-my-history-panel {
  margin-top: 16px;
  background: #fbfbfa;
  border-color: #e3e1dd;
}

.bp-my-history-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-my-history-card {
  min-width: 0;
  padding: 9px !important;
  background: #f7f7f5 !important;
  border-color: #e3e4e7 !important;
  box-shadow: none;
}

.bp-my-history-card .bp-my-garage-image {
  height: 92px;
  min-height: 92px;
  opacity: .82;
}

.bp-my-history-card .bp-my-garage-image img,
.bp-my-history-card .bp-my-garage-image span {
  height: 92px;
  min-height: 92px;
  filter: saturate(.72);
}

.bp-my-history-card .bp-my-garage-content > strong {
  font-size: 1rem;
}

.bp-my-history-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 3px 8px;
  color: #6e531f !important;
  font-size: .72rem;
  font-weight: 900;
  background: #fff6df;
  border: 1px solid #dfcc9e;
  border-radius: 999px;
}

.bp-my-history-empty {
  margin: 0;
  color: var(--muted);
}

.bp-my-items-panel {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  background: #fffdfd;
  border-color: #eadfe1;
  box-shadow: 0 6px 18px rgba(63, 20, 26, .045);
}

.bp-my-item-groups,
.bp-my-item-list {
  display: grid;
  gap: 10px;
}

.bp-my-item-group {
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e2e3;
  border-radius: 8px;
}

.bp-my-item-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bp-my-item-group-head > div {
  min-width: 0;
}

.bp-my-item-group-head span,
.bp-my-item-group-head small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
}

.bp-my-item-group-head h3 {
  margin: 2px 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.35;
}

.bp-my-item-group-head a {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 10px;
  color: #9d1f29;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
  background: #fff5f6;
  border: 1px solid #e7c9cd;
  border-radius: 7px;
}

.bp-my-item-card {
  min-width: 0;
  padding: 10px;
  background: #f8f8f9;
  border: 1px solid #e5e6e9;
  border-radius: 7px;
}

.bp-my-item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bp-my-item-heading > div {
  min-width: 0;
}

.bp-my-item-heading span:first-child {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}

.bp-my-item-heading strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: .86rem;
  line-height: 1.45;
}

.bp-my-item-status {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #6f4d26;
  font-size: .66rem;
  font-weight: 850;
  background: #fff8e8;
  border: 1px solid #e8d6af;
  border-radius: 999px;
}

.bp-my-item-card p,
.bp-my-item-empty p,
.bp-my-item-more {
  margin: 7px 0 0;
  color: #666b74;
  font-size: .76rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.bp-my-item-empty {
  padding: 11px;
  background: #fafafa;
  border: 1px dashed #d9dadd;
  border-radius: 7px;
}

.bp-my-item-empty strong {
  font-size: .82rem;
}

.bp-my-item-empty-all {
  margin: 0;
}

.bp-my-item-more {
  font-weight: 800;
  text-align: right;
}

.bp-my-posts-panel {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  color: #525762;
  background: #faf9f8;
  border-color: #e6e2df;
  box-shadow: none;
}

.bp-my-posts-panel .bp-my-panel-head {
  margin-bottom: 10px;
}

.bp-my-posts-panel .bp-my-empty {
  display: grid;
  justify-items: center;
  padding: 16px 14px;
  text-align: center;
  background: rgba(255, 255, 255, .62);
  border-color: #dfe1e5;
}

.bp-my-post-placeholder-mark {
  position: relative;
  width: 44px;
  height: 40px;
  margin-bottom: 8px;
  color: #9b5b61;
}

.bp-my-posts-panel .bp-my-empty strong {
  font-size: .9rem;
}

.bp-my-posts-panel .bp-my-empty p {
  font-size: .78rem;
}

.bp-my-recent-post-list {
  display: grid;
  gap: 10px;
}

.bp-my-recent-post-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 10px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e1e2e5;
  border-radius: 8px;
}

.bp-my-recent-post-image {
  display: grid;
  min-height: 94px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: #353943;
  border-radius: 6px;
}

.bp-my-recent-post-image img {
  width: 100%;
  height: 100%;
  min-height: 94px;
  object-fit: cover;
}

.bp-my-recent-post-content {
  min-width: 0;
}

.bp-my-recent-post-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.bp-my-recent-post-heading strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: .96rem;
}

.bp-my-post-status {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #646a74;
  font-size: .68rem;
  font-weight: 900;
  background: #eceef1;
  border-radius: 999px;
}

.bp-my-post-status[data-status="Approved"] {
  color: #286343;
  background: #e8f5ed;
}

.bp-my-post-status[data-status="AutoHeld"] {
  color: #795816;
  background: #fff2cf;
}

.bp-my-recent-post-content p {
  display: -webkit-box;
  margin: 6px 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bp-my-recent-post-content time,
.bp-my-post-detail-pending {
  display: block;
  color: #7a808a;
  font-size: .7rem;
  font-weight: 700;
}

.bp-my-recent-post-content a,
.bp-my-post-create-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 8px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
}

.bp-my-post-create-link {
  padding: 8px 14px;
  color: #fff;
  line-height: 1.35;
  background: var(--red);
  border-radius: 6px;
}

.bp-my-post-create-link > span {
  display: inline-block !important;
  color: #fff !important;
  font-size: .82rem !important;
  line-height: 1.35 !important;
  white-space: nowrap;
}

.bp-my-posts-panel .bp-my-post-placeholder .bp-my-post-create-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 160px;
  min-height: 44px;
  color: #fff !important;
  font-size: .82rem !important;
  line-height: 1.35 !important;
  text-indent: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible;
}

.bp-my-post-create-link:hover {
  color: #fff;
  background: #b20f1b;
}

.bp-my-container > .bp-garage-message {
  margin: 0 0 16px;
}

.bp-garage-edit-dialog {
  width: min(500px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17,19,24,.34);
  overflow: auto;
}

.bp-garage-edit-dialog::backdrop {
  background: rgba(17,19,24,.68);
  backdrop-filter: blur(3px);
}

.bp-garage-edit-form {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.bp-garage-edit-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.bp-garage-edit-heading span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
}

.bp-garage-edit-heading h2 {
  margin: 3px 0 0;
  font-size: 1.35rem;
}

.bp-garage-edit-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  font-size: 1.4rem;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.bp-garage-edit-close:hover {
  color: var(--text);
  background: var(--off-white);
}

.bp-garage-edit-form label {
  margin-top: 5px;
  font-size: .82rem;
  font-weight: 900;
}

.bp-garage-edit-form input:not([type="hidden"]),
.bp-garage-edit-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
  background: var(--white);
  border: 1px solid #cfd4dd;
  border-radius: 7px;
}

.bp-garage-edit-form textarea {
  resize: vertical;
}

.bp-garage-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 12px;
}

.bp-garage-edit-actions button {
  min-height: 42px;
  padding: 9px 17px;
  font-weight: 900;
  border-radius: 7px;
}

.bp-garage-edit-cancel {
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
}

.bp-garage-edit-save {
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
}

.bp-garage-end-bike {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.bp-garage-end-bike span,
.bp-garage-end-bike small {
  color: var(--muted);
}

.bp-garage-end-bike strong {
  font-size: 1.05rem;
}

.bp-garage-end-note {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.bp-garage-end-confirm {
  color: #3f310f;
  background: #f5dfaa;
  border: 1px solid #d7bc7a;
}

.bp-my-empty {
  padding: 16px;
  text-align: center;
  background: #f8f9fb;
  border: 1px dashed #cfd4dd;
  border-radius: 10px;
}

.bp-my-empty strong {
  font-weight: 950;
}

.bp-my-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.55;
}

.bp-my-post-placeholder {
  text-align: left;
}

.bp-my-post-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* MY / Garage separation */
.bp-my-profile-card {
  position: relative;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 132px;
}

.bp-my-profile-copy {
  min-width: 0;
  padding-right: 220px;
}

.bp-my-profile-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  grid-column: auto;
  justify-content: flex-end;
  margin-top: 0;
}

.bp-my-profile-actions a {
  min-height: 44px;
  white-space: nowrap;
}

.bp-my-posts-panel {
  grid-column: auto;
  grid-row: auto;
  margin-top: 16px;
}

.bp-my-posts-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 9px 14px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  background: #fff4f5;
  border: 1px solid #ffd3d7;
  border-radius: 7px;
  text-decoration: none;
}

.bp-my-posts-link:hover,
.bp-my-posts-link:focus-visible {
  color: var(--white);
  background: var(--red);
}

.bp-my-posts-page {
  max-width: 860px;
}

.bp-my-posts-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bp-my-posts-page-heading h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 950;
}

.bp-my-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-my-post-list-full {
  display: grid;
  gap: 10px;
}

.bp-garage-page {
  min-height: calc(100vh - 180px);
  background: linear-gradient(180deg, #f6f7f9 0, #fff 48%);
}

.bp-garage-shell {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.bp-garage-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.bp-garage-heading h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 950;
}

.bp-garage-heading-icon {
  display: block;
  width: 42px;
  height: 42px;
  background: var(--text);
  -webkit-mask: url("/icons/fontawesome-motorcycle.svg") center / contain no-repeat;
  mask: url("/icons/fontawesome-motorcycle.svg") center / contain no-repeat;
}

.bp-garage-section {
  margin-top: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(17, 19, 24, .05);
}

.bp-garage-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bp-garage-section-heading h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 950;
}

.bp-garage-section-heading > span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 900;
}

.bp-garage-bike-list {
  display: grid;
  gap: 10px;
}

.bp-garage-bike-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e6e9;
  border-radius: 10px;
}

.bp-garage-bike-card--current {
  border-color: #e6cfd2;
  box-shadow: 0 8px 18px rgba(63, 20, 26, .06);
}

.bp-garage-bike-image {
  display: grid;
  min-height: 116px;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 950;
  background: linear-gradient(135deg, #191c23, #80121c);
  border-radius: 7px;
}

.bp-garage-bike-image img {
  width: 100%;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
}

.bp-garage-bike-content {
  min-width: 0;
  align-self: center;
}

.bp-garage-bike-maker {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bp-garage-bike-content > strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.bp-garage-bike-content > small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.bp-garage-bike-state {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.bp-garage-bike-state span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  color: #59606d;
  font-size: .72rem;
  font-weight: 900;
  background: #f3f4f6;
  border-radius: 999px;
}

.bp-garage-bike-state span:first-child {
  color: #b5101c;
  background: #fff0f2;
}

.bp-garage-bike-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
}

.bp-garage-primary-action,
.bp-garage-settings > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  font-size: .82rem;
  font-weight: 900;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
}

.bp-garage-primary-action {
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
}

.bp-garage-primary-action:hover,
.bp-garage-primary-action:focus-visible {
  color: var(--white);
  background: #b20f1b;
}

.bp-garage-settings {
  min-width: 0;
}

.bp-garage-settings > summary {
  color: #3f4651;
  background: #fff;
  border: 1px solid #cfd3da;
  list-style: none;
}

.bp-garage-settings > summary::-webkit-details-marker {
  display: none;
}

.bp-garage-settings[open] > summary {
  color: var(--red);
  border-color: #e3a5ab;
  background: #fff5f6;
}

.bp-garage-settings-panel {
  display: grid;
  min-width: min(300px, calc(100vw - 64px));
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  background: #fafafa;
  border: 1px solid #e1e3e7;
  border-radius: 8px;
}

.bp-garage-settings-panel > a,
.bp-garage-settings-panel button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  background: #fff;
  border: 1px solid #ead7d9;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

.bp-garage-settings-panel > a:hover,
.bp-garage-settings-panel button:hover {
  background: #fff0f2;
}

.bp-garage-settings-panel .bp-garage-visibility-form {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.bp-garage-visibility-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--text);
  font-size: .8rem;
  font-weight: 850;
}

.bp-garage-visibility-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}

.bp-garage-visibility-form button {
  justify-content: center;
}

.bp-garage-settings-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bp-garage-bike-list--past {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-garage-bike-list--past .bp-garage-bike-card {
  grid-template-columns: 104px minmax(0, 1fr);
}

.bp-garage-bike-list--past .bp-garage-bike-image,
.bp-garage-bike-list--past .bp-garage-bike-image img {
  min-height: 82px;
}

.bp-garage-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  background: #fafafa;
  border: 1px dashed #cfd4dd;
  border-radius: 9px;
}

.bp-garage-empty strong {
  font-weight: 950;
}

.bp-garage-empty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-garage-item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bp-garage-item-card {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 8px;
  color: var(--text);
  background: #fff;
  border: 1px solid #e3e4e8;
  border-radius: 8px;
  text-decoration: none;
}

.bp-garage-item-card:hover {
  border-color: #e3a5ab;
  background: #fffafa;
}

.bp-garage-item-visual {
  display: grid;
  min-height: 94px;
  place-items: center;
  color: var(--red);
  font-size: 2rem;
  font-weight: 950;
  background: linear-gradient(135deg, #fff0f2, #f1f3f6);
  border-radius: 6px;
}

.bp-garage-item-card strong {
  overflow-wrap: anywhere;
  font-size: .82rem;
  font-weight: 900;
}

.bp-garage-item-card small,
.bp-garage-item-card em {
  overflow: hidden;
  color: var(--muted);
  font-size: .7rem;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .bp-my-profile-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bp-my-profile-copy {
    padding-right: 0;
  }

  .bp-my-profile-actions {
    position: static;
    grid-column: 1;
    justify-content: stretch;
    margin-top: 2px;
  }

  .bp-my-profile-actions a {
    flex: 1 1 0;
    justify-content: center;
  }

  .bp-garage-shell,
  .bp-my-container {
    width: min(100% - 18px, var(--container));
  }

  .bp-garage-shell,
  .bp-my-container {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .bp-garage-section {
    padding: 14px;
  }

  .bp-garage-bike-card,
  .bp-garage-bike-list--past .bp-garage-bike-card {
    grid-template-columns: 1fr;
  }

  .bp-garage-bike-image,
  .bp-garage-bike-image img,
  .bp-garage-bike-list--past .bp-garage-bike-image,
  .bp-garage-bike-list--past .bp-garage-bike-image img {
    min-height: 150px;
  }

  .bp-garage-bike-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .bp-garage-primary-action,
  .bp-garage-settings,
  .bp-garage-settings > summary {
    width: 100%;
  }

  .bp-garage-primary-action,
  .bp-garage-settings > summary {
    text-align: center;
  }

  .bp-garage-settings-panel {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .bp-garage-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-garage-item-visual {
    min-height: 100px;
  }

  .bp-my-posts-page-heading {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 2px;
  }

  .bp-my-posts-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .bp-header-auth {
    width: 100%;
  }

  .bp-auth-login-button,
  .bp-auth-menu,
  .bp-auth-menu summary {
    width: 100%;
  }

  .bp-auth-login-button {
    justify-content: center;
  }

  .bp-auth-dialog-card {
    padding: 24px 20px;
  }

  .bp-auth-menu summary {
    justify-content: flex-start;
  }

  .bp-auth-dropdown {
    left: 0;
    right: auto;
  }

  .bp-my-hero,
  .bp-my-grid,
  .bp-my-stats {
    grid-template-columns: 1fr;
  }

  .bp-my-garage-panel,
  .bp-my-items-panel,
  .bp-my-posts-panel {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .bp-my-relationships {
    padding: 16px;
  }

  .bp-my-relationship-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .bp-my-relationship-stats a {
    padding: 10px 8px;
  }

  .bp-my-bike-friend-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-my-profile-card {
    grid-template-columns: 1fr;
  }

  .bp-my-profile-actions {
    grid-column: 1;
  }

  .bp-my-garage-list .bp-my-garage-card {
    grid-template-columns: 1fr;
  }

  .bp-my-garage-list .bp-my-current-card {
    grid-template-columns: 1fr;
  }

  .bp-my-panel-head {
    align-items: flex-start;
  }

  .bp-my-panel-title {
    gap: 9px;
  }

  .bp-my-section-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    transform: scale(.88);
    transform-origin: top left;
  }

  .bp-my-panel-count {
    padding: 4px 7px;
  }

  .bp-my-item-group-head {
    display: grid;
  }

  .bp-my-item-group-head a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }

  .bp-my-garage-image,
  .bp-my-garage-image img,
  .bp-my-garage-image span {
    min-height: 180px;
  }

  .bp-my-garage-link,
  .bp-my-garage-actions {
    margin-left: 0;
  }

  .bp-my-current-card .bp-my-garage-primary-link {
    display: flex;
    width: 100%;
    min-height: 44px;
  }

  .bp-garage-visibility-form button {
    width: 100%;
    min-height: 44px;
  }

  .bp-my-current-card .bp-my-garage-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  .bp-my-current-card .bp-my-garage-edit-button,
  .bp-my-current-card .bp-my-garage-end-button {
    width: 100%;
    min-height: 44px;
  }

  .bp-my-current-card .bp-my-garage-end-button {
    color: #76664a;
    background: #fffdf8;
    border-color: #ded5c3;
  }

  .bp-my-history-list {
    grid-template-columns: 1fr;
  }

  .bp-my-history-card .bp-my-garage-image,
  .bp-my-history-card .bp-my-garage-image img,
  .bp-my-history-card .bp-my-garage-image span {
    height: 150px;
    min-height: 150px;
  }

  .bp-garage-edit-form {
    padding: 20px;
  }

  .bp-garage-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bp-my-post-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .bp-my-recent-post-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .bp-my-recent-post-image,
  .bp-my-recent-post-image img {
    min-height: 104px;
  }

  .bp-my-post-create-link {
    width: 100%;
    min-height: 44px;
  }
}
/* Supabase auth UI polish */
.bp-auth-avatar-image {
  object-fit: cover;
}

.bp-auth-message {
  max-width: 210px;
  color: #ffd8dc;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.35;
}

.bp-auth-dropdown form {
  margin: 0;
}

.bp-auth-dropdown button {
  width: 100%;
  padding: 9px 10px;
  color: var(--text);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.bp-auth-dropdown button:hover {
  color: var(--red);
  background: #fff3f4;
}

.bp-auth-callback-page {
  min-height: 52vh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background: #f6f7f9;
}

.bp-auth-callback-card {
  width: min(100%, 560px);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17,19,24,.08);
}

.bp-auth-callback-card h1 {
  margin: 0 0 10px;
  font-size: 1.65rem;
}

.bp-auth-callback-card p:not(.bp-kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}
.bp-member-post-page {
  width: min(920px, calc(100% - 32px));
  margin: 34px auto 64px;
}

.bp-member-post-heading {
  margin-bottom: 22px;
}

.bp-member-post-heading h1 {
  margin: 4px 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}

.bp-member-post-heading > p:last-child {
  margin: 0;
  color: #626975;
}

.bp-member-post-form,
.bp-member-post-empty {
  padding: 24px;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(30, 34, 42, 0.06);
}

.bp-member-post-section {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  scroll-margin-top: 88px;
}

.bp-member-post-section legend,
.bp-member-post-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
  color: #222732;
  font-weight: 700;
}

.bp-member-post-section legend span,
.bp-member-post-label b {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  background: #df1f2d;
  color: #fff;
  font-size: 0.78rem;
}

.bp-member-post-label > span {
  display: inline-flex;
  align-items: center;
}

.bp-member-post-label small {
  color: #707682;
  font-weight: 500;
}

.bp-member-bike-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bp-member-bike-groups {
  display: grid;
  gap: 20px;
}

.bp-member-bike-group h2 {
  margin: 0 0 9px;
  color: #5f6672;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.bp-member-bike-help {
  margin: -2px 0 14px;
  color: #656b76;
  font-size: 0.86rem;
}

.bp-member-bike-option {
  min-width: 0;
  cursor: pointer;
}

.bp-member-bike-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bp-member-bike-option-body {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 94px;
  padding: 8px;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  background: #fafbfc;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bp-member-bike-option input:checked + .bp-member-bike-option-body {
  border-color: #df1f2d;
  box-shadow: 0 0 0 2px rgba(223, 31, 45, 0.12);
  background: #fff8f8;
}

.bp-member-bike-option-body::after {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 22px;
  height: 22px;
  content: "✓";
  place-items: center;
  border-radius: 50%;
  background: #df1f2d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.bp-member-bike-option input:checked + .bp-member-bike-option-body::after {
  opacity: 1;
  transform: scale(1);
}

.bp-member-bike-option input:focus-visible + .bp-member-bike-option-body {
  outline: 3px solid rgba(223, 31, 45, 0.22);
  outline-offset: 2px;
}

.bp-member-bike-option img,
.bp-member-bike-placeholder {
  width: 92px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  background: #eceef1;
}

.bp-member-bike-placeholder {
  display: grid;
  place-items: center;
  color: #8a8f99;
  font-weight: 800;
}

.bp-member-bike-option small,
.bp-member-bike-option strong,
.bp-member-bike-option em {
  display: block;
  overflow-wrap: anywhere;
}

.bp-member-bike-option small {
  color: #df1f2d;
  font-size: 0.72rem;
  font-weight: 700;
}

.bp-member-bike-option strong {
  margin-top: 2px;
  font-size: 1.05rem;
}

.bp-member-bike-option em {
  margin-top: 3px;
  color: #656b76;
  font-size: 0.84rem;
  font-style: normal;
}

.bp-member-bike-error {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-left: 3px solid #b51624;
  border-radius: 4px;
  background: #fff1f2;
  color: #a71621;
  font-size: 0.88rem;
  font-weight: 700;
}

.bp-member-bike-error.is-hidden {
  display: none;
}

.bp-member-photo-input,
.bp-member-post-section textarea {
  width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 7px;
  background: #fff;
}

.bp-member-photo-input {
  padding: 10px;
}

.bp-member-post-section textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.bp-member-photo-input:focus,
.bp-member-post-section textarea:focus {
  border-color: #df1f2d;
  outline: 3px solid rgba(223, 31, 45, 0.12);
}

.bp-member-photo-preview {
  margin-top: 14px;
}

.bp-member-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  width: min(100%, 560px);
}

.bp-member-photo-preview-item {
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  overflow: hidden;
  background: #f2f3f5;
}

.bp-member-photo-preview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bp-member-photo-count {
  margin: 8px 0 0;
  color: #666d78;
  font-size: 0.86rem;
  font-weight: 700;
}

.bp-member-post-confirmation,
.bp-member-post-client-error,
.bp-member-post-message,
.bp-form-note {
  font-size: 0.86rem;
}

.bp-form-note,
.bp-member-post-confirmation {
  color: #666d78;
}

.bp-member-post-message {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 7px;
}

.bp-member-post-message.is-error,
.bp-member-post-client-error {
  color: #a71621;
  background: #fff1f2;
}

.bp-member-post-message.is-success {
  color: #24613d;
  background: #edf8f1;
}

.bp-member-post-submit {
  position: relative;
  min-width: 190px;
}

.bp-member-post-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.bp-member-post-spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bp-member-post-spin 0.8s linear infinite;
}

.bp-member-post-submit.is-loading .bp-member-post-spinner {
  display: inline-block;
}

.bp-photo-detail-contributor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bp-photo-detail-contributor img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.bp-photo-author {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #5e626b;
  font-size: 0.86rem;
}

.bp-photo-author__avatar-link,
.bp-photo-author__avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.bp-photo-author__avatar-link {
  display: inline-flex;
  border-radius: 50%;
}

.bp-photo-author__avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
}

.bp-photo-author__avatar--fallback {
  background: #eceef1;
  color: #555b65;
  font-size: 0.75rem;
  font-weight: 700;
}

.bp-photo-author__name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.bp-photo-author.has-profile .bp-photo-author__name:hover {
  color: #d91f2d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-photo-author__avatar-link:focus-visible,
.bp-photo-author__name:focus-visible {
  outline: 2px solid #d91f2d;
  outline-offset: 2px;
}

.bp-owner-photo-author-row {
  display: flex !important;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 !important;
}

@keyframes bp-member-post-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .bp-member-post-page {
    width: min(100% - 20px, 920px);
    margin-top: 22px;
  }

  .bp-member-post-form,
  .bp-member-post-empty {
    padding: 17px;
  }

  .bp-member-bike-options {
    grid-template-columns: 1fr;
  }

  .bp-member-bike-option-body {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .bp-member-bike-option img,
  .bp-member-bike-placeholder {
    width: 80px;
    height: 68px;
  }

  .bp-member-post-submit {
    width: 100%;
    min-height: 46px;
  }
}
.bp-photo-like-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.bp-photo-like-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #d6d9df;
  border-radius: 999px;
  background: #fff;
  color: #292d35;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bp-photo-like-button:hover,
.bp-photo-like-button:focus-visible {
  border-color: #df2029;
  outline: none;
}

.bp-photo-like-button.is-liked {
  border-color: #df2029;
  background: #fff2f3;
  color: #c91822;
}

.bp-photo-like-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.bp-photo-like-message {
  flex-basis: 100%;
  color: #a3121a;
  font-size: 0.78rem;
}

.bp-photo-like-form-detail {
  margin-top: 0.9rem;
}

.bp-home-photo-section {
  background: #f8f8f7;
}

.bp-home-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bp-home-photo-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e2e5;
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(25, 28, 34, .06);
}

.bp-home-photo-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.bp-home-photo-link img,
.bp-home-photo-placeholder {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.bp-home-photo-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: #363b45;
}

.bp-home-photo-body {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 13px 82px 12px 14px;
}

.bp-home-photo-bike {
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
}

.bp-home-photo-title {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: .98rem;
  font-weight: 800;
  text-decoration: none;
}

.bp-home-photo-title:hover,
.bp-home-photo-title:focus-visible {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-home-photo-contributor {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.bp-home-photo-like {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0;
}

.bp-my-recent-post-like {
  margin-top: 7px;
}

.bp-my-recent-post-like .bp-photo-like-button {
  min-height: 32px;
  gap: .25rem;
  padding: .3rem .58rem;
  font-size: .72rem;
  font-weight: 750;
}

.bp-my-recent-post-like .bp-photo-like-button [data-photo-like-icon] {
  font-size: .86rem;
  line-height: 1;
}

.bp-my-post-like-static {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 7px;
  color: #777d86;
  font-size: .78rem;
  font-weight: 800;
}

.bp-vehicle-gallery-link {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.bp-vehicle-gallery-author {
  min-width: 0;
  padding: 4px 0.75rem 0;
}

.bp-vehicle-gallery-like {
  padding: 0 0.75rem 0.75rem;
}

.bp-vehicle-gallery-like .bp-photo-like-button {
  min-height: 44px;
}

/* Bike detail page density: keep the shared card system unchanged elsewhere. */
.bp-vehicle-body-section {
  margin-bottom: 20px;
}

.bp-vehicle-body-section .bp-detail-template-grid,
.bp-vehicle-body-section .bp-detail-main,
.bp-vehicle-body-section .bp-detail-aside {
  gap: 12px;
}

.bp-vehicle-body-section .bp-detail-card {
  padding: 14px;
}

.bp-vehicle-body-section .bp-vehicle-connect-panel h2 {
  font-size: 1.2rem;
}

.bp-vehicle-body-section .bp-vehicle-connect-panel h2 small {
  color: var(--muted);
  font-size: .76em;
  font-weight: 800;
  white-space: nowrap;
}

.bp-vehicle-body-section .bp-vehicle-connect-panel p:not(.bp-kicker) {
  margin-top: 3px;
  font-size: .82rem;
}

.bp-vehicle-body-section .bp-vehicle-social-head {
  margin-bottom: 8px;
}

.bp-vehicle-body-section .bp-vehicle-gallery-grid {
  gap: 8px;
}

.bp-vehicle-body-section .bp-vehicle-gallery-tile {
  gap: 3px;
  padding: 6px;
}

.bp-vehicle-body-section .bp-vehicle-gallery-author {
  padding: 3px 6px 0;
}

.bp-vehicle-body-section .bp-vehicle-gallery-like {
  justify-content: flex-start;
  padding: 3px 6px 2px;
}

.bp-vehicle-body-section .bp-vehicle-gallery-like .bp-photo-like-button {
  width: auto;
  min-width: 0;
  min-height: 36px;
  height: 36px;
  gap: 4px;
  padding: 5px 9px;
  font-size: .84rem;
  line-height: 1;
  white-space: nowrap;
}

.bp-vehicle-body-section .bp-vehicle-gallery-like .bp-photo-like-button [data-photo-like-icon] {
  font-size: .98rem;
  line-height: 1;
}

.bp-vehicle-body-section .bp-vehicle-spec-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.bp-vehicle-body-section .bp-vehicle-spec-heading > div {
  min-width: 0;
}

.bp-vehicle-body-section .bp-vehicle-spec-heading .bp-status-pill {
  min-height: 28px;
  padding: 0 8px;
  font-size: .72rem;
}

.bp-vehicle-body-section .bp-vehicle-spec-section .bp-spec-grid {
  grid-template-columns: 1fr;
}

.bp-vehicle-body-section .bp-vehicle-spec-section .bp-spec-grid > div {
  display: grid;
  grid-column: 1;
  grid-template-columns: minmax(74px, 80px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 0;
  padding: 8px 10px;
  border-right: 0;
}

.bp-vehicle-body-section .bp-vehicle-spec-section .bp-spec-grid span {
  font-size: .72rem;
  line-height: 1.4;
}

.bp-vehicle-body-section .bp-vehicle-spec-section .bp-spec-grid strong {
  min-width: 0;
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.bp-vehicle-body-section .bp-vehicle-spec-section .bp-source-panel {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
}

.bp-vehicle-body-section .bp-vehicle-spec-section .bp-source-panel p {
  margin: 0;
  font-size: .72rem;
  line-height: 1.4;
}

.bp-vehicle-body-section #knowledge .bp-note-list {
  gap: 8px;
}

.bp-vehicle-body-section #knowledge .bp-note-list > div {
  padding: 10px 12px;
}

.bp-vehicle-body-section #knowledge .bp-note-list p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 4px;
  line-height: 1.45;
}

.bp-vehicle-body-section .bp-related-large-list {
  gap: 10px;
}

.bp-vehicle-body-section .bp-related-card-large {
  padding: 8px;
}

.bp-vehicle-body-section .bp-gear-list {
  gap: 8px;
}

.bp-vehicle-body-section .bp-gear-list article {
  padding: 10px 12px;
}

@media (max-width: 900px) {
  .bp-home-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .bp-home-photo-grid {
    grid-template-columns: 1fr;
  }

  .bp-home-photo-link img,
  .bp-home-photo-placeholder {
    height: 190px;
  }

  .bp-photo-like-form-detail,
  .bp-photo-like-form-detail .bp-photo-like-button {
    width: 100%;
  }
}

.bp-public-profile__message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #d8e7dc;
  border-radius: 6px;
  color: #285a38;
  font-weight: 800;
  background: #f2faf4;
}

.bp-public-profile__message[data-state="error"] {
  border-color: #efd1d3;
  color: #8c252c;
  background: #fff5f5;
}

.bp-public-profile__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-public-profile__actions form {
  margin: 0;
}

.bp-public-profile__follow,
.bp-public-profile__following,
.bp-public-profile__unblock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.bp-public-profile__follow {
  border: 1px solid var(--red);
  color: #fff;
  background: var(--red);
}

.bp-public-profile__following,
.bp-public-profile__unblock {
  border: 1px solid #cfd3da;
  color: #363b45;
  background: #fff;
}

.bp-public-profile__friend-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #efc9cc;
  border-radius: 999px;
  color: #9e2931;
  font-size: .78rem;
  font-weight: 900;
  background: #fff3f4;
  white-space: nowrap;
}

.bp-public-profile__relationship-menu {
  position: relative;
}

.bp-public-profile__relationship-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d7dae0;
  border-radius: 6px;
  color: #626873;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.bp-public-profile__relationship-menu summary::-webkit-details-marker {
  display: none;
}

.bp-public-profile__relationship-menu > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 210px;
  padding: 8px;
  border: 1px solid #dfe1e5;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(34, 38, 46, .12);
  background: #fff;
}

.bp-public-profile__relationship-menu button {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #6f3035;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.bp-public-profile__relationship-menu button:hover {
  background: #fff4f4;
}

.bp-public-profile__unavailable form {
  margin-top: 18px;
}

.bp-rate-limit-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: #f5f6f8;
}

.bp-rate-limit-card {
  width: min(100%, 520px);
  padding: 42px 28px;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.bp-rate-limit-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: #343943;
}

.bp-rate-limit-card h1 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.bp-rate-limit-card p {
  margin: 12px 0 22px;
  color: #666d78;
}

.bp-rate-limit-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: var(--red);
}

@media (max-width: 430px) {
  .bp-public-profile__actions {
    width: 100%;
    justify-content: stretch;
  }

  .bp-public-profile__actions > form {
    flex: 1 1 calc(100% - 54px);
  }

  .bp-public-profile__follow,
  .bp-public-profile__following {
    width: 100%;
  }

  .bp-public-profile__friend-badge {
    flex-basis: 100%;
    width: fit-content;
  }

  .bp-public-profile__relationship-menu {
    flex: 0 0 44px;
  }

  .bp-public-profile__relationship-menu > div {
    max-width: calc(100vw - 28px);
  }
}

/* Public member profile */
.bp-public-profile {
  padding: 34px 18px 64px;
  background: #f5f6f8;
}

.bp-public-profile__inner {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.bp-public-profile__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid #e2e4e8;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 25, 31, .05);
}

.bp-public-profile__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}

.bp-public-profile__avatar {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px #d9dce2, 0 7px 18px rgba(22, 25, 31, .1);
}

.bp-public-profile__avatar--fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  background: #252932;
}

.bp-public-profile__intro {
  min-width: 0;
}

.bp-public-profile__intro .bp-kicker,
.bp-public-profile__section-head .bp-kicker,
.bp-public-profile__unavailable .bp-kicker {
  margin: 0 0 5px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 900;
}

.bp-public-profile__intro h1 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 2rem;
  letter-spacing: 0;
}

.bp-public-profile__handle,
.bp-my-profile-handle {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #68717d;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .02em;
  user-select: all;
}

.bp-public-profile__bio {
  max-width: 620px;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
  color: #555c67;
  line-height: 1.75;
  white-space: pre-wrap;
}

.bp-public-profile__bio--empty {
  color: #858a93;
}

.bp-public-profile__region {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
  color: #555c67;
  line-height: 1.65;
}

.bp-public-profile__region span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.bp-public-profile__my-link,
.bp-public-profile__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}

.bp-public-profile__my-link:hover,
.bp-public-profile__back:hover {
  color: #fff;
  background: var(--red);
}

.bp-public-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.bp-public-profile__stats a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: #fff7f7;
}

.bp-public-profile__stats a:hover {
  border-color: #e7bfc2;
  background: #fff1f2;
}

.bp-public-profile__stats span {
  color: #656b75;
  font-size: .82rem;
  font-weight: 800;
}

.bp-public-profile__stats strong {
  color: #20242c;
  font-size: 1.1rem;
  line-height: 1.25;
}

.bp-public-profile__posts {
  margin-top: 34px;
}

.bp-public-profile__bikes {
  margin-top: 34px;
}

.bp-public-profile__bike-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bp-public-profile__bike-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(22, 25, 31, .045);
}

.bp-public-profile__bike-image {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  background: #343943;
}

.bp-public-profile__bike-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-public-profile__bike-image > span:not(.bp-public-profile__bike-placeholder) {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  background: rgba(17, 19, 24, .72);
  border-radius: 999px;
}

.bp-public-profile__bike-placeholder {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.bp-public-profile__bike-body {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
}

.bp-public-profile__bike-status {
  width: fit-content;
  padding: 3px 8px;
  color: #9f1822;
  font-size: .72rem;
  font-weight: 900;
  background: #fff1f2;
  border: 1px solid #efc7ca;
  border-radius: 999px;
}

.bp-public-profile__bike-body h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.35;
}

.bp-public-profile__bike-body p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #656b75;
  font-size: .82rem;
}

.bp-public-profile__bike-body a,
.bp-public-profile__bike-empty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-public-profile__bike-body a:hover,
.bp-public-profile__bike-empty a:hover {
  text-decoration: underline;
}

.bp-public-profile__bike-empty {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 18px;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  background: #fff;
}

.bp-public-profile__bike-empty strong {
  color: var(--text);
}

.bp-public-profile__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.bp-public-profile__section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.bp-public-profile__section-head > p {
  max-width: 430px;
  margin: 0;
  color: #6b717c;
  font-size: .86rem;
  line-height: 1.65;
}

.bp-public-profile__post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bp-public-profile__post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(22, 25, 31, .045);
}

.bp-public-profile__post-image {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #343943;
}

.bp-public-profile__post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-public-profile__post-image span {
  place-self: center;
  font-size: 1.15rem;
  font-weight: 900;
}

.bp-public-profile__post-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.bp-public-profile__post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 10px;
}

.bp-public-profile__post-meta span {
  min-width: 0;
  overflow: hidden;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-public-profile__post-meta time {
  flex: 0 0 auto;
  color: #858a93;
  font-size: .72rem;
}

.bp-public-profile__post-body > p {
  min-height: 3.3em;
  margin: 0;
  overflow-wrap: anywhere;
  color: #4e545e;
  font-size: .86rem;
  line-height: 1.65;
}

.bp-public-profile__post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #eceef1;
}

.bp-public-profile__post-foot span {
  color: #777d87;
  font-size: .82rem;
  font-weight: 800;
}

.bp-public-profile__post-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-public-profile__empty,
.bp-public-profile__unavailable {
  display: grid;
  justify-items: center;
  padding: 46px 24px;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.bp-public-profile__empty > span {
  margin-bottom: 12px;
  color: #a1a5ad;
  font-size: .72rem;
  font-weight: 900;
}

.bp-public-profile__empty strong,
.bp-public-profile__unavailable h1 {
  color: var(--text);
}

.bp-public-profile__empty p,
.bp-public-profile__unavailable > p:not(.bp-kicker) {
  margin: 8px 0 0;
  color: #6e747e;
}

.bp-public-profile__unavailable {
  min-height: 360px;
  align-content: center;
}

.bp-public-profile__unavailable-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: #343943;
}

.bp-public-profile__unavailable h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0;
}

.bp-public-profile__unavailable .bp-public-profile__back {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .bp-public-profile {
    padding: 22px 14px 48px;
  }

  .bp-public-profile__hero,
  .bp-public-profile__section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .bp-public-profile__hero {
    padding: 22px 18px;
  }

  .bp-public-profile__my-link {
    width: 100%;
  }

  .bp-public-profile__post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-public-profile__bike-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .bp-public-profile__identity {
    align-items: flex-start;
    gap: 14px;
  }

  .bp-public-profile__avatar {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .bp-public-profile__intro h1 {
    font-size: 1.55rem;
  }

  .bp-public-profile__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-public-profile__stats a {
    min-height: 44px;
    padding: 10px 8px;
  }

  .bp-public-profile__post-grid {
    grid-template-columns: 1fr;
  }

  .bp-public-profile__bike-grid {
    grid-template-columns: 1fr;
  }

  .bp-public-profile__post-image {
    aspect-ratio: 16 / 10;
  }
}

/* Public relationship lists */
.bp-relationship-list {
  padding: 34px 18px 64px;
  background: #f7f8fa;
}

.bp-relationship-list__inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.bp-relationship-list__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.bp-relationship-list__header > div {
  min-width: 0;
}

.bp-relationship-list__header .bp-kicker {
  margin: 16px 0 4px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 900;
}

.bp-relationship-list__header h1 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  letter-spacing: 0;
}

.bp-relationship-list__back {
  color: #616873;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.bp-relationship-list__back::before {
  content: "←";
  margin-right: 6px;
}

.bp-relationship-list__back:hover {
  color: var(--red);
}

.bp-relationship-list__count {
  margin: 8px 0 0;
  color: #747a84;
  font-size: .86rem;
  font-weight: 800;
}

.bp-relationship-list__my-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #d9dce1;
  border-radius: 6px;
  color: #343943;
  font-size: .84rem;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}

.bp-relationship-list__my-link:hover {
  border-color: #e7bfc2;
  color: var(--red);
}

.bp-relationship-list__items {
  display: grid;
  gap: 10px;
}

.bp-relationship-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 35, 42, .035);
}

.bp-relationship-card__avatar-link {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  text-decoration: none;
}

.bp-relationship-card__avatar {
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid #e1e3e7;
  border-radius: 50%;
  object-fit: cover;
  background: #eceef1;
}

.bp-relationship-card__avatar--fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  background: #5e6570;
}

.bp-relationship-card__body {
  display: grid;
  align-content: center;
  min-width: 0;
}

.bp-relationship-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.bp-relationship-card__title-row > a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #22262e;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-relationship-card__title-row > a:hover {
  color: var(--red);
}

.bp-relationship-card__badges {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.bp-relationship-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #efc9cc;
  border-radius: 999px;
  color: #9e2931;
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
  background: #fff3f4;
}

.bp-relationship-card__body > p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #646b76;
  font-size: .84rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bp-relationship-card__body > p.bp-relationship-card__bio-empty {
  color: #9297a0;
}

.bp-relationship-card__profile-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 5px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.bp-relationship-list__empty {
  display: grid;
  justify-items: center;
  min-height: 250px;
  padding: 42px 22px;
  align-content: center;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.bp-relationship-list__empty span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  background: #6a707a;
}

.bp-relationship-list__empty p {
  margin: 15px 0 0;
  color: #646b76;
  font-weight: 800;
}

.bp-relationship-list__pagination {
  display: grid;
  grid-template-columns: 110px minmax(80px, auto) 110px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.bp-relationship-list__pagination a,
.bp-relationship-list__pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #d9dce1;
  border-radius: 6px;
  color: #363b44;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}

.bp-relationship-list__pagination a:hover {
  border-color: var(--red);
  color: var(--red);
}

.bp-relationship-list__pagination > span[aria-disabled="true"] {
  color: #a2a6ae;
  background: #f1f2f4;
}

.bp-relationship-list__pagination strong {
  text-align: center;
  color: #5e6570;
  font-size: .82rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .bp-relationship-list {
    padding: 22px 14px 48px;
  }

  .bp-relationship-list__header {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .bp-relationship-list__my-link {
    width: 100%;
  }

  .bp-relationship-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .bp-relationship-card__avatar-link,
  .bp-relationship-card__avatar {
    width: 58px;
    height: 58px;
  }

  .bp-relationship-card__title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .bp-relationship-card__badges {
    flex-wrap: wrap;
  }

  .bp-relationship-list__pagination {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }
}

/* Garage settings sheet */
body.bp-garage-settings-open {
  overflow: hidden;
}

.bp-garage-settings-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #d9dce1;
  border-radius: 12px;
  background: #fff;
  color: #3d434d;
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  cursor: pointer;
}

.bp-garage-settings-trigger:hover,
.bp-garage-settings-trigger:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.bp-garage-settings-sheet {
  width: min(540px, calc(100vw - 32px));
  max-width: 540px;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #252a32;
  box-shadow: 0 24px 80px rgba(18, 22, 30, .28);
  overflow: hidden;
}

.bp-garage-settings-sheet::backdrop {
  background: rgba(15, 18, 25, .46);
}

.bp-garage-settings-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 18px 14px 22px;
  border-bottom: 1px solid #eceef1;
}

.bp-garage-settings-sheet__header h2 {
  margin: 0;
  color: #252a32;
  font-size: 1.05rem;
  line-height: 1.35;
}

.bp-garage-settings-sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4f5660;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.bp-garage-settings-sheet__close:hover,
.bp-garage-settings-sheet__close:focus-visible {
  background: #eceef1;
  color: var(--red);
}

.bp-garage-settings-sheet__body {
  max-height: calc(min(760px, 100dvh - 32px) - 72px);
  padding: 8px 18px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.bp-garage-settings-sheet__menu {
  display: grid;
  gap: 4px;
  padding: 4px 0 10px;
  border-bottom: 1px solid #eceef1;
}

.bp-garage-settings-sheet__menu--edit {
  padding: 10px 0;
}

.bp-garage-settings-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #303640;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.bp-garage-settings-row:hover,
.bp-garage-settings-row:focus-visible {
  background: #f7f8f9;
  color: var(--red);
}

.bp-garage-settings-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1f3f5;
  color: #69727d;
  font-size: 1.05rem;
  font-weight: 700;
}

.bp-garage-settings-row__arrow {
  color: #a1a6ae;
  font-size: 1.35rem;
  line-height: 1;
}

.bp-garage-settings-sheet__visibility {
  display: grid;
  gap: 12px;
  padding: 18px 12px;
  border-bottom: 1px solid #eceef1;
}

.bp-garage-settings-sheet__visibility h3 {
  margin: 0;
  color: #6a717b;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.bp-garage-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  color: #303640;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
}

.bp-garage-switch-row input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bp-garage-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 32px;
  padding: 3px;
  border-radius: 999px;
  background: #cdd2d8;
  transition: background .16s ease;
}

.bp-garage-switch > span {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(18, 22, 30, .22);
  transition: transform .16s ease;
}

.bp-garage-switch-row input[type="checkbox"]:checked + .bp-garage-switch {
  background: var(--red);
}

.bp-garage-switch-row input[type="checkbox"]:checked + .bp-garage-switch > span {
  transform: translateX(20px);
}

.bp-garage-switch-row:focus-within .bp-garage-switch {
  outline: 3px solid rgba(211, 47, 47, .18);
  outline-offset: 2px;
}

.bp-garage-settings-save {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #e5b4b4;
  border-radius: 11px;
  background: #fff7f7;
  color: var(--red);
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  cursor: pointer;
}

.bp-garage-settings-save:hover,
.bp-garage-settings-save:focus-visible {
  background: #fff0f0;
  border-color: var(--red);
}

.bp-garage-settings-danger {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid #eccaca;
  border-radius: 12px;
  background: #fff;
  color: #b33a3a;
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  cursor: pointer;
}

.bp-garage-settings-danger:hover,
.bp-garage-settings-danger:focus-visible {
  background: #fff5f5;
  border-color: #d77a7a;
}

@media (prefers-reduced-motion: no-preference) {
  .bp-garage-settings-sheet[open] {
    animation: bp-garage-settings-sheet-in .2s ease-out both;
  }
}

@keyframes bp-garage-settings-sheet-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .bp-garage-settings-sheet {
    width: 100%;
    max-width: none;
    max-height: min(88dvh, 760px);
    margin: 0;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 22px 22px 0 0;
  }

  .bp-garage-settings-sheet__body {
    max-height: calc(min(88dvh, 760px) - 72px);
    padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .bp-garage-settings-sheet__header {
    padding-left: 18px;
  }
}
