.bsc-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.theme-dark .bsc-card {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: none;
}

.bsc-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.bsc-left {
  padding: 2.5rem;
  border-right: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bsc-right {
  padding: 2.5rem;
  background: #fbfbfc;
  display: flex;
  flex-direction: column;
  position: relative;
}

.theme-dark .bsc-left {
  border-right-color: #1e293b;
}

.theme-dark .bsc-right {
  background: rgba(30, 41, 59, 0.15);
}

.bsc-section-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 950;
  text-transform: uppercase;
  color: #6366f1;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.bsc-section-marker::before {
  content: "";
  width: 16px;
  height: 2px;
  background: currentcolor;
  border-radius: 2px;
}

.bsc-brand-picker {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bsc-select-box {
  position: relative;
  width: 100%;
}

.bsc-select-box select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 2px solid #f1f5f9;
  padding: 1rem 3rem 1rem 1.25rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.theme-dark .bsc-select-box select {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

.bsc-select-box::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.bsc-unit-nav {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 100px;
  width: fit-content;
}

.theme-dark .bsc-unit-nav {
  background: #0f172a;
}

.bsc-unit-tab {
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 0.65rem;
  font-weight: 900;
  color: #94a3b8;
  cursor: pointer;
}

.bsc-unit-active {
  background: #fff;
  color: #6366f1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.theme-dark .bsc-unit-active {
  background: #1e293b;
  color: #818cf8;
}

.bsc-num-ctrl {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bsc-num-label {
  font-size: 0.825rem;
  font-weight: 850;
  color: #64748b;
  margin-bottom: 0;
}

.bsc-stepper-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #f1f5f9;
  padding: 0.4rem;
  border-radius: 18px;
  gap: 1rem;
}

.theme-dark .bsc-stepper-box {
  background: #0f172a;
  border-color: #1e293b;
}

.bsc-btn-step {
  width: 44px;
  height: 44px;
  border: none;
  background: #fff;
  border-radius: 12px;
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-dark .bsc-btn-step {
  background: #1e293b;
  color: #fff;
  border: 1px solid #334155;
}

.bsc-val-view {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.bsc-val-big {
  font-size: 1.6rem;
  font-weight: 950;
  color: #0f172a;
  line-height: 1;
}

.theme-dark .bsc-val-big {
  color: #f1f5f9;
}

.bsc-val-sub {
  font-size: 0.6rem;
  font-weight: 900;
  color: #cbd5e1;
  text-transform: uppercase;
  margin-top: 2px;
}

.bsc-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: #f1f5f9;
  border-radius: 100px;
  margin-top: 4px;
}

.bsc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #6366f1;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

.bsc-age-rack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 16px;
}

.theme-dark .bsc-age-rack {
  background: #0f172a;
}

.bsc-age-tile {
  padding: 1rem 0.25rem;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 950;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bsc-age-active {
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
  transform: translateY(-1px);
}

.theme-dark .bsc-age-active {
  background: #1e293b;
  color: #818cf8;
}

.bsc-res-header {
  text-align: center;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bsc-res-size-main {
  display: block;
  font-size: 4.5rem;
  font-weight: 950;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0.25rem 0 0.75rem;
}

.theme-dark .bsc-res-size-main {
  color: #f1f5f9;
}

.bsc-res-brand-hint {
  font-size: 0.75rem;
  font-weight: 950;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.bsc-share-btn {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: transparent;
  border: none;
  padding: 0.6rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.bsc-share-btn:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
}

.bsc-fit-label {
  display: inline-flex;
  padding: 0.4rem 1.25rem;
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 950;
  color: #64748b;
}

.bsc-fit-large {
  border-color: #10b981;
  color: #059669;
}

.bsc-fit-small {
  border-color: #f43f5e;
  color: #dc2626;
}

.bsc-equivalents-box {
  border-radius: 16px;
  width: 100%;
  border: 1px solid transparent;
}

.bsc-eq-head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 0.5rem 0.5rem 0.85rem;
  border-bottom: 2px solid #f8fafc;
}

.theme-dark .bsc-eq-head-row {
  border-bottom-color: #1e293b;
}

.bsc-eq-col-name {
  font-size: 0.6rem;
  font-weight: 950;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bsc-eq-data-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bsc-eq-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid rgba(241, 245, 249, 0.4);
}

.theme-dark .bsc-eq-data-row {
  border-bottom-color: rgba(30, 41, 59, 0.5);
}

.bsc-eq-data-row:last-child {
  border-bottom: none;
}

.bsc-eq-brand-v {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bsc-eq-brand-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1e293b;
}

.theme-dark .bsc-eq-brand-name {
  color: #f1f5f9;
}

.bsc-eq-fit-v {
  font-size: 0.525rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.bsc-eq-fit-large {
  color: #10b981;
}

.bsc-eq-fit-small {
  color: #f43f5e;
}

.bsc-eq-size-v {
  font-size: 1.25rem;
  font-weight: 950;
  color: #4f46e5;
}

.theme-dark .bsc-eq-size-v {
  color: #818cf8;
}

.bsc-clothes-meta {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px dashed #e2e8f0;
}

.theme-dark .bsc-clothes-meta {
  border-top-color: #334155;
}

.bsc-meta-title {
  font-size: 0.6rem;
  font-weight: 950;
  color: #cbd5e1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
  display: block;
}

.bsc-meta-vals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bsc-meta-cell {
  text-align: center;
}

.bsc-meta-cell label {
  font-size: 0.55rem;
  font-weight: 950;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}

.bsc-meta-cell span {
  font-size: 1.1rem;
  font-weight: 950;
  color: #1e293b;
}

.theme-dark .bsc-meta-cell span {
  color: #f1f5f9;
}

.bsc-pro-tip-footer {
  background: #0f172a;
  padding: 2.25rem 2.5rem;
  color: #fff;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.bsc-footer-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
  color: #6366f1;
}

.bsc-footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bsc-footer-text h5 {
  font-size: 1rem;
  font-weight: 950;
  color: #fff;
  margin: 0;
}

.bsc-footer-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.bsc-footer-text strong {
  color: #6366f1;
}

@media (max-width: 850px) {
  .bsc-main {
    grid-template-columns: 1fr;
  }

  .bsc-left {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.75rem;
  }

  .bsc-right {
    padding: 1.75rem;
  }

  .bsc-res-size-main {
    font-size: 3.5rem;
  }

  .bsc-age-rack {
    grid-template-columns: repeat(3, 1fr);
  }
}