.tscope-wrapper {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-base);
    border-radius: 2rem;
    box-shadow: 0 40px 80px -20px var(--shadow-base);
    position: relative;
    overflow: hidden;
  }

  .tscope-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
  }

  @media (min-width: 850px) {
    .tscope-grid {
      grid-template-columns: 1.1fr 1fr;
      gap: 3.5rem;
    }
  }

  .tscope-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .tscope-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .tscope-control-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
  }

  .tscope-stepper {
    display: flex;
    align-items: center;
    background: var(--bg-muted);
    border: 1px solid var(--border-base);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
  }

  .tscope-stepper:focus-within {
    border-color: var(--color-purple, #a855f7);
  }

  .tscope-step-btn {
    width: 4rem;
    height: 4rem;
    border: none;
    background: var(--bg-muted);
    color: var(--color-purple, #a855f7);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tscope-step-btn:hover {
    background: var(--bg-page);
    color: var(--color-purple, #a855f7);
  }

  .tscope-stepper-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-base);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
    width: 100%;
  }

  .tscope-select-wrapper {
    position: relative;
    width: 100%;
  }

  .tscope-select-arrow {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--color-purple, #a855f7);
    pointer-events: none;
  }

  .tscope-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: var(--bg-muted);
    border: 1px solid var(--border-base);
    color: var(--text-base);
    padding: 1rem 3rem 1rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
  }

  .tscope-select:hover {
    border-color: var(--color-purple, #a855f7);
  }

  .tscope-select:focus {
    border-color: var(--color-purple, #a855f7);
  }

  .tscope-select option {
    background: var(--bg-surface);
    color: var(--text-base);
  }

  .tscope-range {
    width: 100%;
    appearance: none;
    background: var(--bg-muted);
    height: 10px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    border: 1px solid var(--border-base);
    accent-color: var(--color-purple, #a855f7);
  }

  .tscope-results {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0.5rem;
  }

  .tscope-main-result {
    text-align: center;
    background: var(--bg-muted);
    padding: 3rem 2rem;
    border-radius: 2rem;
    border: 1px solid var(--border-base);
  }

  .tscope-result-title {
    font-size: 0.9rem;
    color: var(--color-purple, #a855f7);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0 0 2rem;
  }

  .tscope-resolution-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .tscope-resolution-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.9;
    background: linear-gradient(to bottom, var(--text-base), var(--color-purple, #a855f7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 20px rgba(168, 85, 247, 0.4));
  }

  .tscope-resolution-unit {
    font-size: 1.15rem;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
    text-transform: lowercase;
    opacity: 0.8;
  }

  .tscope-comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .tscope-comp-card {
    background: var(--bg-muted);
    padding: 1.25rem;
    border-radius: 1.25rem;
    text-align: center;
    border: 1px solid var(--border-base);
    transition: transform 0.3s ease, border-color 0.2s ease;
  }

  .tscope-comp-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-purple, #a855f7);
  }

  .tscope-comp-title {
    font-size: 0.75rem;
    color: var(--text-muted, #64748b);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .tscope-comp-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-pink, #ec4899);
  }

  .tscope-seeing-alert {
    padding: 1.25rem;
    background: var(--bg-muted);
    border-left: 4px solid var(--color-warning, #f59e0b);
    border-radius: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: block;
  }

  .tscope-seeing-alert.visible {
    animation: tscope-slide-in 0.4s ease-out;
  }

  @keyframes tscope-slide-in {
    from {
      opacity: 0;
      transform: translateX(-10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .tscope-visualization {
    background: var(--bg-muted);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-base);
  }

  .tscope-vis-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted, #475569);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    text-align: center;
  }

  .tscope-sim-container {
    height: 140px;
    background: radial-gradient(circle at center, #0f172a 0%, #000 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(168, 85, 247, 0.1);
  }

  .tscope-binary-system {
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem;
  }

  .tscope-star {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    filter: blur(var(--star-blur, 0)) drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px var(--color-purple, #a855f7));
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
  }

  .tscope-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
  }

  .tscope-sim-explanation {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.02em;
    padding: 1rem;
    background: var(--bg-page);
    border-radius: 0.75rem;
    border: 1px dashed var(--border-base);
  }