.proj-wrapper {
    --proj-p: #06b6d4;

    width: 100%;
    padding: 1rem 0;
  }

  .proj-card {
    background: var(--bg-surface);
    width: calc(100% - 24px);
    max-width: 960px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    color: var(--text-main);
  }

  @media (min-width: 768px) {
    .proj-card {
      flex-direction: row;
      min-height: 580px;
    }
  }

  .proj-left {
    flex: 0 0 auto;
    width: 100%;
    padding: 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  @media (min-width: 768px) {
    .proj-left {
      width: 360px;
      border-bottom: none;
      border-right: 1px solid var(--border-color);
    }
  }

  .proj-right {
    flex: 1;
    background: #020617;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
  }

  .proj-viz-dots {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    background-image: radial-gradient(#334155 1px, transparent 1px);
    background-size: 30px 30px;
  }

  .proj-sim-badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px 0;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #94a3b8;
  }

  .proj-sim-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--proj-p);
    animation: proj-pulse 2s infinite;
  }

  @keyframes proj-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .proj-lens-pulse {
    animation: proj-pulse 2s infinite;
  }

  .proj-svg {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .proj-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .proj-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 0;
  }

  .proj-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
  }

  .proj-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .proj-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .proj-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--proj-p);
  }

  .proj-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  .proj-slider {
    width: 100%;
    height: 6px;
    accent-color: var(--proj-p);
    cursor: pointer;
    border-radius: 9999px;
  }

  .proj-number-row {
    position: relative;
    display: flex;
    align-items: center;
  }

  .proj-number-input {
    width: 100%;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 4px 2rem 4px 0;
    outline: none;
    transition: border-color 0.2s;
  }

  .proj-number-input:focus {
    border-color: var(--proj-p);
  }

  .proj-number-unit {
    position: absolute;
    right: 4px;
    bottom: 8px;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
  }

  .proj-ratio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .proj-ratio-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
  }

  .proj-ratio-btn:hover {
    border-color: var(--proj-p);
    color: var(--text-main);
  }

  .proj-ratio-active {
    background: var(--proj-p);
    color: #fff;
    border-color: var(--proj-p);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
  }

  .proj-ratio-icon {
    display: block;
    border: 2px solid currentcolor;
    border-radius: 2px;
    opacity: 0.6;
  }

  .proj-ratio-active .proj-ratio-icon {
    opacity: 1;
    border-color: #fff;
  }

  .ratio-169 {
    width: 28px;
    height: 16px;
  }

  .ratio-219 {
    width: 36px;
    height: 14px;
  }

  .ratio-43 {
    width: 20px;
    height: 16px;
  }

  .proj-ratio-sub {
    font-size: 0.625rem;
    font-weight: 500;
    opacity: 0.75;
  }

  .proj-hint-wrap {
    position: relative;
  }

  .proj-hint-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    cursor: help;
  }

  .proj-hint-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    width: 220px;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 10;
    line-height: 1.5;
  }

  .proj-hint-wrap:hover .proj-hint-tooltip {
    opacity: 1;
  }

  .proj-throw-row {
    position: relative;
    display: flex;
    align-items: center;
  }

  .proj-throw-input {
    width: 100%;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 4px 3rem 4px 0;
    outline: none;
    transition: border-color 0.2s;
  }

  .proj-throw-input:focus {
    border-color: var(--proj-p);
  }

  .proj-throw-unit {
    position: absolute;
    right: 4px;
    bottom: 10px;
    font-size: 1.25rem;
    color: var(--text-muted);
  }

  .proj-results {
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 16px;
    padding: 18px;
  }

  .proj-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
  }

  .proj-res-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--proj-p);
    margin: 0 0 4px;
  }

  .proj-res-val {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
  }

  .proj-distance-val {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
  }