:root {
        color-scheme: dark;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        padding: 0;
        font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
        background: #000000;
        color: #f9fafb;
      }
      body.guide-lock {
        overflow: hidden;
      }
      .app {
        max-width: 480px;
        margin: 0 auto;
        min-height: 100vh;
        padding: 16px 16px 32px;
        background: radial-gradient(circle at top, #111827 0, #020617 55%, #000000 100%);
      }
      header {
        padding: 8px 0 24px;
        text-align: center;
      }
      .app-title {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #9ca3af;
        margin: 0;
      }
      .screen {
        display: none;
      }
      .screen-active {
        display: block;
      }
      .screen-title {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #9ca3af;
        margin: 0 0 14px;
      }
      .session-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 0;
      }
      .score-orb {
        flex: 0 0 auto;
      }
      .score-ring {
        width: 108px;
        height: 108px;
        border-radius: 999px;
        padding: 6px;
        background:
          conic-gradient(
            #22c55e var(--session-score-deg, 0deg),
            #1f2933 var(--session-score-deg, 0deg)
          );
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .cover-score-ring {
        width: 108px;
        height: 108px;
        border-radius: 999px;
        padding: 6px;
        background:
          conic-gradient(
            var(--shot-score-color, #22c55e) var(--shot-score-deg, 0deg),
            #1f2933 var(--shot-score-deg, 0deg)
          );
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .score-inner {
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: #020617;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      .score-value {
        font-size: 26px;
        font-weight: 600;
        margin: 0;
      }
      .score-percent {
        font-size: 20px;
        margin-left: 1px;
      }
      .score-caption {
        margin-top: 10px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #e5e7eb;
      }
      .session-meta {
        width: 100%;
        margin-top: 18px;
        padding: 0;
      }
      .session-meta-title {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #9ca3af;
        margin: 0 0 2px;
      }
      .session-meta-body {
        font-size: 11px;
        color: #9ca3af;
        margin: 0 0 6px;
      }
      .session-meta-tag {
        margin-top: 0;
      }
      .hero-card {
        position: relative;
        background: linear-gradient(135deg, #111827, #020617);
        border-radius: 16px;
        padding: 16px 14px 14px;
        margin-bottom: 18px;
        border: 1px solid #1f2937;
      }
      .hero-card-improvement {
        margin-top: 0;
        margin-bottom: 16px;
      }
      .hero-card-session {
        margin-top: 20px;
        margin-bottom: 16px;
      }
      .hero-card-tag {
        position: absolute;
        top: 14px;
        right: 14px;
      }
      .hero-card-metric {
        border: 1px solid #2a3142;
        background: linear-gradient(135deg, #111827, #0b1120);
        padding: 18px 16px 16px;
      }
      .metric-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0 0 8px;
      }
      .metric-header .hero-eyebrow {
        margin: 0;
      }
      .metric-actions {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .hero-card-metric .hero-title {
        margin: 0 0 6px;
      }
      .hero-card-metric .hero-body {
        margin: 0;
        color: #cbd5f5;
      }
      .info-button {
        width: 26px;
        height: 26px;
        border-radius: 999px;
        border: 1px solid #1f2937;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        background: rgba(148, 163, 184, 0.16);
        color: #e2e8f0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      .info-button:active {
        transform: translateY(1px);
      }
      .guide-button {
        border-radius: 999px;
        border: 1px solid #1f2937;
        padding: 6px 10px;
        font-size: 11px;
        font-weight: 600;
        background: rgba(148, 163, 184, 0.15);
        color: #e2e8f0;
        cursor: pointer;
      }
      .guide-button:active {
        transform: translateY(1px);
      }
      .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #9ca3af;
        margin: 0 0 6px;
      }
      .hero-title {
        font-size: 16px;
        line-height: 1.35;
        margin: 0 0 8px;
      }
      .cover-title {
        font-size: 20px;
        font-weight: 600;
        margin: 8px 0 10px;
      }
      .hero-issue {
        font-size: 12px;
        line-height: 1.4;
        margin: 0 0 8px;
        color: #9ca3af;
      }
      .hero-body {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 0 12px;
        color: #d1d5db;
      }
      .primary-button {
        width: 100%;
        border-radius: 999px;
        border: none;
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 600;
        background: #22c55e;
        color: #020617;
        cursor: pointer;
      }
      .primary-button[disabled] {
        opacity: 0.5;
        cursor: not-allowed;
      }
      .primary-button:active {
        transform: translateY(1px);
      }
      .shot-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .shot-segment {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 6px 4px 2px;
        color: #94a3b8;
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      .shot-segment::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #1f2937;
      }
      .shot-segment-title {
        margin: 0;
      }
      .shot-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(15, 23, 42, 0.92);
        border: 1px solid #1f2937;
        cursor: pointer;
      }
      .shot-card-muted {
        opacity: 0.55;
        cursor: default;
      }
      .shot-main {
        display: flex;
        flex-direction: column;
        gap: 2px;
      }
      .shot-title {
        font-size: 14px;
        margin: 0;
      }
      .shot-subtitle {
        font-size: 12px;
        margin: 0;
        color: #9ca3af;
      }
      .shot-meta {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
      }
      .shot-score {
        flex: 0 0 auto;
      }
      .shot-score-ring {
        width: 26px;
        height: 26px;
        border-radius: 999px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
          conic-gradient(
            var(--shot-score-color, #22c55e) var(--shot-score-deg, 0deg),
            #1f2937 var(--shot-score-deg, 0deg)
          );
      }
      .shot-score-inner {
        width: 78%;
        height: 78%;
        border-radius: 999px;
        background: #020617;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 600;
        color: #e5e7eb;
      }
      .shot-score-good {
        --shot-score-color: #22c55e;
      }
      .shot-score-good .shot-score-inner {
        color: #bbf7d0;
      }
      .shot-score-needs-improvement {
        --shot-score-color: #f97316;
      }
      .shot-score-needs-improvement .shot-score-inner {
        color: #fed7aa;
      }
      .shot-score-poor {
        --shot-score-color: #ef4444;
      }
      .shot-score-poor .shot-score-inner {
        color: #fecaca;
      }
      .status-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 3px 8px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
      }
      .status-good {
        background: #166534;
        color: #bbf7d0;
      }
      .status-needs-improvement {
        background: #92400e;
        color: #fed7aa;
      }
      .status-poor {
        background: #7f1d1d;
        color: #fecaca;
      }
      .status-improving {
        background: #0f766e;
        color: #a7f3d0;
      }
      .status-coming-soon {
        background: #111827;
        color: #9ca3af;
      }
      .status-live {
        background: rgba(34, 197, 94, 0.2);
        color: #22c55e;
        border: 1px solid rgba(34, 197, 94, 0.35);
      }
      .guide-overlay {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        background: rgba(2, 6, 23, 0.7);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 999;
      }
      .guide-overlay-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }
      .guide-sheet {
        width: min(520px, 92vw);
        background: #0b1120;
        border: 1px solid #1f2937;
        border-radius: 18px 18px 16px 16px;
        padding: 14px;
        margin: 0 0 18px;
        box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
        transform: translateY(16px);
        transition: transform 0.2s ease;
      }
      .guide-overlay-active .guide-sheet {
        transform: translateY(0);
      }
      .guide-handle {
        width: 40px;
        height: 4px;
        border-radius: 999px;
        background: #1f2937;
        margin: 2px auto 10px;
      }
      .guide-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }
      .guide-eyebrow {
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #94a3b8;
        margin: 0 0 4px;
      }
      .guide-title {
        font-size: 16px;
        margin: 0;
      }
      .guide-close {
        border: none;
        background: transparent;
        color: #94a3b8;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
      }
      .guide-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
      }
      .guide-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid #1f2937;
      }
      .guide-detail {
        font-size: 12px;
        color: #cbd5f5;
        text-align: right;
      }
      .guide-note {
        font-size: 12px;
        color: #9ca3af;
        margin: 10px 2px 0;
      }
      .info-overlay {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        background: rgba(2, 6, 23, 0.7);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 999;
      }
      .info-overlay-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }
      .info-sheet {
        width: min(520px, 92vw);
        background: #0b1120;
        border: 1px solid #1f2937;
        border-radius: 18px 18px 16px 16px;
        padding: 14px;
        margin: 0 0 18px;
        box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
        transform: translateY(16px);
        transition: transform 0.2s ease;
      }
      .info-overlay-active .info-sheet {
        transform: translateY(0);
      }
      .info-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }
      .info-eyebrow {
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #94a3b8;
        margin: 0 0 4px;
      }
      .info-title {
        font-size: 16px;
        margin: 0;
      }
      .info-list {
        margin: 12px 0 0;
        padding-left: 18px;
        color: #cbd5f5;
        font-size: 12px;
        line-height: 1.5;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      @media (max-width: 420px) {
        .guide-row {
          align-items: flex-start;
        }
        .guide-detail {
          text-align: left;
        }
      }
      .metric-headline {
        font-size: 14px;
        margin: 0 0 12px;
      }
      .summary-image {
        margin: 0 0 14px;
        border-radius: 16px;
        overflow: hidden;
        background: #020617;
        border: 1px solid #1f2937;
      }
      .summary-image img {
        display: block;
        width: 100%;
        height: auto;
      }
      .summary-caption {
        padding: 8px 10px 10px;
        font-size: 12px;
        color: #9ca3af;
      }
      .metric-slider {
        margin-top: 10px;
      }
      .slider-bar {
        position: relative;
        height: 10px;
        border-radius: 999px;
        background: linear-gradient(
          90deg,
          #7f1d1d 0%,
          #7f1d1d 17%,
          #f59e0b 23%,
          #f59e0b 37%,
          #16a34a 43%,
          #16a34a 57%,
          #f59e0b 63%,
          #f59e0b 77%,
          #7f1d1d 83%,
          #7f1d1d 100%
        );
        border: 1px solid #1f2937;
      }
      .slider-bar--two-sided {
        background-size: 100% 100%;
        background-position: center;
      }
      .slider-bar--one-sided {
        background: linear-gradient(
          90deg,
          #16a34a 0%,
          #16a34a 30.33%,
          #f59e0b 36.33%,
          #f59e0b 63.67%,
          #7f1d1d 69.67%,
          #7f1d1d 100%
        );
        background-size: 100% 100%;
        background-position: center;
      }
      .slider-bar--one-sided-high {
        background: linear-gradient(
          90deg,
          #7f1d1d 0%,
          #7f1d1d 30.33%,
          #f59e0b 36.33%,
          #f59e0b 63.67%,
          #16a34a 69.67%,
          #16a34a 100%
        );
        background-size: 100% 100%;
        background-position: center;
      }
      .slider-bar--front-foot-window {
        background: linear-gradient(
          90deg,
          #7f1d1d 0%,
          #7f1d1d 17%,
          #f59e0b 23%,
          #f59e0b 37%,
          #16a34a 43%,
          #16a34a 57%,
          #f59e0b 63%,
          #f59e0b 77%,
          #7f1d1d 83%,
          #7f1d1d 100%
        );
        background-size: 100% 100%;
        background-position: center;
      }
      .slider-bar--binary {
        background: linear-gradient(
          90deg,
          #16a34a 0%,
          #16a34a 47%,
          #7f1d1d 53%,
          #7f1d1d 100%
        );
      }
      .slider-marker {
        position: absolute;
        top: -6px;
        width: 2px;
        height: 22px;
        background: #f9fafb;
      }
      .slider-marker::after {
        content: "";
        position: absolute;
        top: -6px;
        left: -5px;
        width: 12px;
        height: 12px;
        border-radius: 999px;
        background: #f9fafb;
        border: 2px solid #111827;
      }
      .slider-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
        font-size: 12px;
        color: #e5e7eb;
      }
      .slider-value {
        font-weight: 600;
      }
      .metric-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.92);
        border: 1px solid #1f2937;
        margin-bottom: 10px;
      }
      .metric-row-clickable {
        cursor: pointer;
      }
      .metric-row-clickable:active {
        transform: translateY(1px);
      }
      .metric-row-muted {
        opacity: 0.6;
      }
      .metric-label {
        font-size: 13px;
      }
      .metric-value {
        font-size: 13px;
        color: #e5e7eb;
      }
      .video-wrapper {
        margin: 0 0 14px;
        border-radius: 16px;
        overflow: hidden;
        background: #020617;
        border: 1px solid #1f2937;
      }
      .shot-video {
        display: block;
        width: 100%;
        height: auto;
      }
      .weight-transfer-card {
        margin: 0 0 18px;
        padding: 14px;
        border-radius: 16px;
        background: linear-gradient(135deg, #0b1120, #111827);
        border: 1px solid #1f2937;
      }
      .weight-transfer-title {
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #94a3b8;
        margin-bottom: 10px;
      }
      .weight-transfer-bar {
        position: relative;
        height: 18px;
        border-radius: 999px;
        overflow: hidden;
        background: #0b1120;
        border: 1px solid #1f2937;
      }
      .weight-transfer-fill {
        position: absolute;
        top: 0;
        bottom: 0;
      }
      .weight-transfer-back {
        left: 0;
        background: linear-gradient(90deg, #dc2626, #f97316);
      }
      .weight-transfer-forward {
        right: 0;
        background: linear-gradient(90deg, #16a34a, #2563eb);
      }
      .weight-transfer-mid {
        position: absolute;
        top: -4px;
        bottom: -4px;
        left: 50%;
        width: 2px;
        background: rgba(226, 232, 240, 0.6);
      }
      .weight-transfer-labels {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        font-size: 12px;
        color: #e5e7eb;
      }
      .weight-transfer-label {
        display: flex;
        flex-direction: column;
        gap: 2px;
      }
      .weight-transfer-value {
        font-weight: 600;
        font-size: 13px;
      }
      .weight-transfer-caption {
        font-size: 10px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #94a3b8;
      }
      .weight-transfer-unavailable {
        display: none;
        margin-top: 8px;
      }
      .back-link {
        border: none;
        background: none;
        color: #9ca3af;
        font-size: 12px;
        padding: 0;
        margin-bottom: 6px;
        cursor: pointer;
      }
      .back-link span {
        display: inline-block;
        transform: translateY(1px);
      }
      .drill-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .drill-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 12px;
        border-radius: 14px;
        background: #111116;
        border: 1px solid #27272f;
      }
      .drill-meta {
        flex: 1 1 auto;
        padding-right: 8px;
      }
      .drill-title {
        font-size: 14px;
        margin: 0 0 4px;
      }
      .drill-cue {
        font-size: 12px;
        margin: 0 0 4px;
        color: #a1a1aa;
      }
      .drill-duration {
        font-size: 11px;
        margin: 0;
        color: #6b7280;
      }
      .drill-video-placeholder {
        margin: 8px 0 12px;
        border-radius: 16px;
        border: 1px dashed #4b5563;
        background: #020617;
        padding: 24px 16px;
        text-align: center;
      }
      .drill-video-placeholder p {
        margin: 0;
        font-size: 13px;
        color: #9ca3af;
      }
      .drill-description {
        font-size: 13px;
        line-height: 1.5;
        color: #d4d4d8;
      }
      .upload-placeholder {
        margin-top: 14px;
        padding: 14px 12px;
        border-radius: 14px;
        border: 1px dashed #4b5563;
        background: #020617;
      }
      .upload-title {
        font-size: 13px;
        margin: 0 0 6px;
        color: #e5e7eb;
      }
      .upload-text {
        font-size: 12px;
        margin: 0 0 10px;
        color: #9ca3af;
      }
      .upload-button {
        border-radius: 999px;
        border: none;
        padding: 7px 12px;
        font-size: 12px;
        font-weight: 500;
        background: #27272f;
        color: #6b7280;
        cursor: not-allowed;
      }
      .muted-text {
        font-size: 12px;
        color: #9ca3af;
      }
      footer {
        margin-top: 18px;
        font-size: 11px;
        color: #6b7280;
      }
