.bc-panel {
  --bc-green: #1f9e5a;
  --bc-green-bright: #25b568;
  --bc-green-deep: #08493c;
  --bc-green-soft: rgba(31, 158, 90, 0.12);
  --bc-green-softer: rgba(31, 158, 90, 0.06);
  --bc-ink: #14211a;
  --bc-ink-soft: #475569;
  --bc-muted: #6b7280;
  --bc-faint: #9ca3af;
  --bc-border: #e5e7eb;
  --bc-border-soft: #f1f5f9;
  --bc-surface: #f8fafc;

  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  color: var(--bc-ink);
  overflow: hidden;
}

.bc-panel .rp-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.bc-root {
  display: contents;
}

.bc-hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(31, 158, 90, 0.10), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(143, 206, 58, 0.08), transparent 60%),
    #ffffff;
  isolation: isolate;
}

.bc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 33, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 26, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bc-hero-glow {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(99, 234, 113, 0.32), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
}

.bc-hero-left {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}

.bc-hero-title {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  font-family: "Archivo", "Outfit", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--bc-ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.bc-hero-title span {
  display: block;
}

.bc-hero-title-l1 {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bc-ink-soft);
  margin-bottom: 14px;
}

.bc-hero-title-l2 {
  background: linear-gradient(96deg, var(--bc-green-deep) 0%, var(--bc-green) 55%, #8fce3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.bc-hero-title-l3 {
  color: var(--bc-ink);
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 10px;
  opacity: 0.92;
}

.bc-hero-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bc-muted);
  max-width: 480px;
}

.bc-hero-ctas {
  margin-top: 30px;
  margin-bottom: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.bc-btn i {
  width: 17px;
  height: 17px;
  stroke-width: 2.1;
}

.bc-btn--primary {
  background: var(--bc-ink);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(20, 33, 26, 0.5);
}
.bc-btn--primary:hover {
  background: var(--bc-green-deep);
  transform: translateY(-1px);
}

.bc-btn--secondary {
  background: #ffffff;
  color: var(--bc-ink);
  border: 1px solid var(--bc-border);
}
.bc-btn--secondary:hover {
  background: var(--bc-surface);
  border-color: var(--bc-faint);
}

.bc-btn:active { transform: translateY(1px); }

.bc-hero-right {
  position: relative;
  z-index: 1;
  flex: 1 1 54%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px 32px 28px 12px;
  background: radial-gradient(60% 70% at 60% 50%, rgba(31, 158, 90, 0.06), transparent 70%);
}

.bc-hero-aura {
  position: absolute;
  width: 70%;
  padding-bottom: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 234, 113, 0.30), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
  animation: bcHeroAura 8s ease-in-out infinite;
}
@keyframes bcHeroAura {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}
.bc-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(20, 33, 26, 0.08);
  z-index: 0;
  pointer-events: none;
}
.bc-hero-ring--1 {
  width: 88%; padding-bottom: 88%;
  animation: bcHeroSpin 90s linear infinite;
}
.bc-hero-ring--2 {
  width: 64%; padding-bottom: 64%;
  border-color: rgba(31, 158, 90, 0.14);
  animation: bcHeroSpin 130s linear infinite reverse;
}
@keyframes bcHeroSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bc-hero-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 760px;
  max-height: 620px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 50px 90px -34px rgba(15, 23, 20, 0.35),
    0 18px 40px -14px rgba(15, 23, 20, 0.14);
}
.bc-hero-frame-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #f4f5f3;
  overflow: hidden;
}
.bc-hero-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f5f3;
  display: block;
  pointer-events: none;
}
@keyframes bcHeroCursor {
  0%   { transform: translate(82%, 95%); opacity: 0; }
  3%   { opacity: 1; }
  9%   { transform: translate(50%, 50%); opacity: 1; }
  10%  { transform: translate(50%, 50%) scale(0.78); }
  13%  { transform: translate(50%, 50%) scale(1); }
  18%  { transform: translate(50%, 50%); opacity: 1; }
  24%, 100% { transform: translate(82%, 95%); opacity: 0; }
}
@keyframes bcHeroClick {
  0%, 9%    { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  10%       { opacity: 0.55; transform: translate(-50%, -50%) scale(0.25); }
  16%       { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
  100%      { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
}

@media (prefers-reduced-motion: reduce) {
  .bc-hero-aura,
.bc-hero-ring {
    animation: none !important;
  }
}

.bc-builder-title {
  margin: 0;
  font-family: "Archivo", "Outfit", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--bc-ink);
  text-transform: uppercase;
}

.bc-builder-sub {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--bc-muted);
  line-height: 1.5;
}

.bc-section-title {
  font-family: "Archivo", "Outfit", sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bc-ink);
  line-height: 1.2;
}

.bc-section-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--bc-muted);
}

.bc-section-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bc-input {
  width: 100%;
  appearance: none;
  border: 1px solid var(--bc-border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--bc-ink);
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  box-sizing: border-box;
}

.bc-input:focus {
  outline: none;
  border-color: var(--bc-green);
  box-shadow: 0 0 0 3px var(--bc-green-soft);
}

.bc-input::placeholder {
  color: var(--bc-faint);
}

.bc-row-remove {
  margin-left: auto;
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-faint);
  cursor: pointer;
  transition: all 0.15s;
}

.bc-row-remove i {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.bc-row-remove:hover {
  background: #fff1f2;
  color: #b91c1c;
  border-color: #fecdd3;
}

.bc-skill-row .bc-input {
  flex: 1 1 auto;
}

.bc-panel .rp-footer {
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--bc-border-soft);
}

.bc-panel--success .rp-footer {
  justify-content: flex-start;
  gap: 10px;
}

.bc-preview-iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #f4f5f3;
  display: block;
  min-height: 0;
}

.bc-building {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  padding: 60px 24px;
  gap: 14px;
}

.bc-building-orbit {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-building-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--bc-green-soft);
  border-top-color: var(--bc-green);
  animation: bcSpin 0.9s linear infinite;
}

.bc-building-ic {
  font-size: 28px;
  color: var(--bc-green-deep);
  animation: bcPulse 1.4s ease-in-out infinite;
}

@keyframes bcSpin { to { transform: rotate(360deg); } }
@keyframes bcPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.1); opacity: 1; }
}

.bc-building-title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bc-ink);
}

.bc-building-sub {
  font-size: 13.5px;
  color: var(--bc-muted);
  max-width: 36ch;
  line-height: 1.5;
}

.bc-s-hero {
  flex: 1 1 auto;
  display: flex;
  background: #fff;
  min-height: 0;
  overflow: hidden;
  color: var(--bc-ink);
}

.bc-s-hero-left {
  flex: 1 1 auto;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}

.bc-s-title {
  margin: 20px 0 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 440px;
  color: var(--bc-ink);
}

.bc-s-title-grad {
  background: linear-gradient(96deg, var(--bc-green-deep) 0%, var(--bc-green) 55%, #8fce3a 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.bc-s-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--bc-muted);
  max-width: 440px;
}

.bc-s-link-block {
  margin-top: 26px;
  max-width: 560px;
}

.bc-s-urlpill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 33, 26, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bc-s-urlpill:focus-within,
.bc-s-urlpill:hover {
  border-color: var(--bc-green);
  box-shadow: 0 6px 18px -10px rgba(31, 158, 90, 0.45);
}

.bc-s-urlpill-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc-faint);
}

.bc-s-urlpill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bc-s-urlpill-url {
  flex: 1;
  min-width: 0;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 13.5px;
  color: var(--bc-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-s-urlpill-url:hover { color: var(--bc-green-deep); }

.bc-s-urlpill-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bc-btn--sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
  gap: 7px;
}

.bc-btn--sm i {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.bc-s-hero-right {
  flex: 0 0 460px;
  position: relative;
  background: linear-gradient(160deg, var(--bc-green-softer), var(--bc-surface));
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--bc-border-soft);
  padding: 24px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.bc-s-preview {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bc-border-soft);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.04),
    0 18px 40px -22px rgba(15, 23, 42, 0.22),
    0 4px 10px -4px rgba(15, 23, 42, 0.05);
}

.bc-s-preview .browser-bar {
  border: 0;
  border-bottom: 1px solid var(--bc-border-soft);
  border-radius: 14px 14px 0 0;
}

.bc-s-preview .iframe-viewport {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 0 0 14px 14px;
  background: #f4f5f3;
}

.bc-s-preview .iframe-dim { display: none; }

.bc-s-preview-iframe {
  background: #f4f5f3;
  pointer-events: none;
}

.bc-s-preview-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}

.bc-s-preview-cover:focus-visible {
  outline: 2px solid var(--bc-green);
  outline-offset: -2px;
  border-radius: 14px;
}

.bc-edit-url { display: flex; flex-direction: column; gap: 14px; }

.bc-edit-url-input {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bc-edit-url-input:focus-within {
  border-color: var(--bc-green);
  box-shadow: 0 0 0 3px var(--bc-green-soft);
}

.bc-edit-url-origin {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  max-width: 50%;
  padding: 0 6px 0 12px;
  font-size: 13.5px;
  color: var(--bc-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
  background: var(--bc-surface);
  border-right: 1px solid var(--bc-border-soft);
}

.bc-edit-url-preview {
  color: var(--bc-ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-embed { display: flex; flex-direction: column; gap: 14px; }

.bc-embed-code {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 200px;
  overflow: auto;
  padding-right: 110px;
}

.bc-embed-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.bc-embed-copy:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.bc-embed-copy i { width: 13px; height: 13px; stroke-width: 2; }

#right-user-tools-content .bc-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

@media (max-width: 1100px) {
  .bc-hero-left { padding: 32px 32px; }
  .bc-hero-title { font-size: 38px; }
  .bc-hero-right { padding: 24px 24px 24px 8px; }
  .bc-hero-frame { max-width: 560px; max-height: 540px; }
  .bc-s-hero-left { padding: 32px 32px; }
  .bc-s-title { font-size: 34px; }
  .bc-s-hero-right { flex-basis: 380px; padding: 20px; }
}

@media (max-width: 860px) {
  .bc-hero,
  .bc-s-hero {
    flex-direction: column;
  }
  .bc-hero-left,
  .bc-s-hero-left {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--bc-border-soft);
  }
  .bc-hero-right {
    flex: 0 0 auto;
    width: 100%;
    min-height: 420px;
    padding: 24px;
    border-left: 0;
  }
  .bc-s-hero-right {
    flex: 0 0 420px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--bc-border-soft);
  }
}

@media (max-width: 560px) {
  .bc-hero-title { font-size: 30px; }
  .bc-hero-left { padding: 24px; }

  .bc-s-hero-left { padding: 28px 24px; }
  .bc-s-title { font-size: 30px; }
  .bc-s-title br { display: none; }
  .bc-s-urlpill { padding: 10px 12px; }
  .bc-s-urlpill-row { flex-wrap: wrap; gap: 8px; }
  .bc-s-urlpill-url { width: 100%; flex-basis: 100%; }
  .bc-s-urlpill-actions { width: 100%; justify-content: flex-end; }
  .bc-btn--sm { padding: 7px 12px; font-size: 12.5px; }
}

.bc-panel--builder .rp-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.bc-rt-builder-row {
  background: #ffffff;
}

.bc-rt-builder-row .rt-builder-left {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bc-rt-builder-row .rt-builder-content {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.bc-rt-builder-row .rt-builder-content .rt-sections-body {
  padding: 1.4rem 2.6rem 1.8rem;
}

.bc-rt-builder-row .rt-builder-content .rt-sections-stage {
  gap: 0.85rem;
}

.bc-rt-builder-row .bc-theme-strip-wrap {
  padding: 0.55rem 2.6rem 0.5rem;
}

.bc-preview-col {
  flex: 0 0 clamp(420px, 50%, 760px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bc-green-softer), var(--bc-surface));
  padding: 0.85rem 1.4rem 1rem 1.4rem;
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.bc-preview-shell {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bc-border);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.04),
    0 18px 40px -22px rgba(15, 23, 42, 0.22),
    0 4px 10px -4px rgba(15, 23, 42, 0.05);
}

.bc-preview-shell .browser-bar {
  border: 0;
  border-bottom: 1px solid var(--bc-border-soft);
  border-radius: 14px 14px 0 0;
}

.bc-preview-shell .iframe-viewport {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 0 0 14px 14px;
  background: #f4f5f3;
}

.bc-preview-shell .iframe-dim {
  display: none;
}

.bc-preview-shell iframe.bc-preview-iframe {
  background: #f4f5f3;
  pointer-events: auto !important;
}

.bc-preview-shell .iframe-scaler {
  pointer-events: auto !important;
}

@media (max-width: 760px) {
  .bc-rt-builder-row {
    flex-direction: column;
  }
  .bc-rt-builder-row .rt-builder-left {
    border-bottom: 1px solid var(--bc-border-soft);
  }
  .bc-preview-col {
    flex: 0 0 420px;
    padding: 14px;
  }
}

.bc-theme-strip-wrap {
  flex: 0 0 auto;
  position: relative;
  padding: 0.55rem 1.4rem 0.5rem;
  border-bottom: 1px solid var(--bc-border-soft);
  background: #ffffff;
}

.bc-theme-strip {
  display: flex;
  flex-direction: row;
  gap: 0.85rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 14px 16px;
}

.bc-theme-strip::-webkit-scrollbar {
  display: none;
}

.bc-theme-card {
  flex: 0 0 auto;
  width: 160px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font: inherit;
  color: inherit;
  text-align: left;
}

.bc-theme-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--bc-border-soft);
  box-shadow: 0 3px 12px -10px rgba(15, 23, 42, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              border-color 0.18s ease;
  padding: 10px;
}

.bc-theme-card:hover .bc-theme-card-thumb {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.28);
}

.bc-theme-card--selected .bc-theme-card-thumb {
  border-color: var(--bc-green, #1f9e5a);
  box-shadow: 0 0 0 3px var(--bc-green, #1f9e5a),
              0 12px 26px -12px rgba(31, 158, 90, 0.45);
  transform: translateY(-2px);
}

.bc-theme-card--selected:hover .bc-theme-card-thumb {
  box-shadow: 0 0 0 3px var(--bc-green, #1f9e5a),
              0 14px 30px -12px rgba(31, 158, 90, 0.55);
}

.bc-theme-card--selected .bc-theme-card-name {
  color: var(--bc-green-deep, #157a44);
  font-weight: 700;
}

.bc-theme-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--bc-green, #1f9e5a);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(31, 158, 90, 0.6),
              0 0 0 2px #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  z-index: 2;
}

.bc-theme-card-check i {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.bc-theme-card--selected .bc-theme-card-check {
  opacity: 1;
  transform: scale(1);
}

.bc-theme-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.bc-theme-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bc-theme-card-line {
  height: 3px;
  border-radius: 2px;
  flex: 1;
  max-width: 55%;
}

.bc-theme-card-logo {
  position: absolute;
  top: 32px;
  left: 10px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

.bc-theme-card-line-strong {
  position: absolute;
  top: 64px;
  left: 10px;
  height: 5px;
  border-radius: 3px;
  width: 65%;
}

.bc-theme-card-line-weak {
  position: absolute;
  top: 76px;
  left: 10px;
  height: 4px;
  border-radius: 2px;
  width: 42%;
}

.bc-theme-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0 2px;
}

.bc-theme-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bc-ink, #14181a);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-theme-strip-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--bc-border-soft);
  background: #fff;
  color: #334155;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.25);
  transition: background 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, transform 0.15s ease;
  padding: 0;
}

.bc-theme-strip-nav:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
  transform: translateY(-50%) scale(1.05);
}

.bc-theme-strip-nav i,
.bc-theme-strip-nav svg {
  width: 16px;
  height: 16px;
  display: block;
}

.bc-theme-strip-nav--left {
  left: 1.4rem;
}

.bc-theme-strip-nav--right {
  right: 1.4rem;
}

.bc-theme-strip-nav--hidden {
  display: none !important;
}

#bc-share-modal {
  --bc-green: #1f9e5a;
  --bc-green-bright: #25b568;
  --bc-green-deep: #08493c;
  --bc-green-soft: rgba(31, 158, 90, 0.12);
  --bc-green-softer: rgba(31, 158, 90, 0.06);
  --bc-ink: #14211a;
  --bc-ink-soft: #475569;
  --bc-muted: #6b7280;
  --bc-faint: #9ca3af;
  --bc-border: #e5e7eb;
  --bc-border-soft: #f1f5f9;
  --bc-surface: #f8fafc;
}

.bc-share-modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 2px 6px;
}

.bc-share-modal-urlbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  padding-left: 14px;
  background: rgba(20, 33, 26, 0.04);
  border: 1px solid rgba(20, 33, 26, 0.12);
  border-radius: 14px;
  transition: border-color 0.18s ease;
}

.bc-share-modal-urlbar:focus-within {
  border-color: var(--bc-green);
}

.bc-share-modal-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 13.5px;
  color: var(--bc-ink);
  padding: 0;
}

.bc-share-copy-btn {
  flex-shrink: 0;
}

.bc-share-copy-btn.bc-share-copy-btn--copied,
.bc-share-copy-btn.bc-share-copy-btn--copied:hover {
  background: var(--bc-green-deep);
}

.bc-share-modal-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bc-share-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  background: rgba(20, 33, 26, 0.04);
  border: 1px solid rgba(20, 33, 26, 0.12);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--bc-ink);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    background 0.2s ease, box-shadow 0.25s ease;
}

.bc-share-tile:hover {
  border-color: var(--bc-green);
  background: rgba(31, 158, 90, 0.09);
  color: var(--bc-green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgba(31, 158, 90, 0.55);
}

.bc-share-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-green);
  font-size: 22px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bc-share-tile-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

.bc-share-tile:hover .bc-share-tile-icon {
  color: var(--bc-green-deep);
  transform: scale(1.05);
}

.bc-share-tile-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 540px) {
  .bc-share-modal-socials {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .bc-share-tile { padding: 14px 6px; font-size: 11.5px; }
  .bc-share-tile-icon { font-size: 20px; }
  .bc-share-modal-urlbar { flex-wrap: wrap; padding-left: 12px; }
  .bc-share-modal-input { flex-basis: 100%; padding: 4px 0; }
  .bc-share-copy-btn { margin-left: auto; }
}
