    /* Sleek Obsidian Dark Theme & Variable Tokens */
    :root {
      --bg-dark: #07060b;
      --bg-card: rgba(16, 12, 28, 0.45);
      --bg-card-hover: rgba(24, 18, 42, 0.7);
      --border-color: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(139, 92, 246, 0.4);
      --text-main: #f4f1ff;
      --text-muted: rgba(244, 241, 255, 0.65);
      --text-faint: rgba(244, 241, 255, 0.38);

      /* Harmonious Palette (OKLCH Mapped) */
      --accent-violet: oklch(65% 0.22 288);
      --accent-cyan: oklch(72% 0.16 200);
      --accent-emerald: oklch(70% 0.18 145);
      --accent-amber: oklch(76% 0.15 48);
      --accent-pink: oklch(68% 0.22 340);

      --font-display: 'Outfit', -apple-system, sans-serif;
      --font-body: 'Inter', -apple-system, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;

      --shadow-premium: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
      --glass-backing: blur(20px) saturate(160%);
    }

    /* Base Reset */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      background-image:
        radial-gradient(80% 40% at 50% 0%, oklch(22% 0.08 288 / 0.5) 0%, transparent 100%),
        radial-gradient(50% 30% at 0% 15%, oklch(18% 0.06 200 / 0.35) 0%, transparent 100%),
        radial-gradient(60% 40% at 100% 90%, oklch(16% 0.05 340 / 0.25) 0%, transparent 100%);
      background-attachment: fixed;
      color: var(--text-main);
      font-family: var(--font-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      padding-bottom: 120px;
    }

    /* Scrollbars */
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.2);
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.16);
    }

    #combinator-list::-webkit-scrollbar {
      width: 4px;
    }
    #combinator-list::-webkit-scrollbar-track {
      background: transparent;
    }
    #combinator-list::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 2px;
    }
    #combinator-list::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.16);
    }

    /* Layout Containers */
    header {
      max-width: 1400px;
      margin: 0 auto;
      padding: 60px 40px 30px;
      position: relative;
    }

    .kicker {
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      color: var(--accent-cyan);
      margin-bottom: 10px;
      display: inline-block;
      text-shadow: 0 0 10px oklch(72% 0.16 200 / 0.4);
    }

    h1 {
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 16px;
      background: linear-gradient(135deg, #fff 30%, var(--text-muted) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .subtitle {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 800px;
      font-weight: 300;
    }

    /* Sticky Navigation Tabs */
    .tabs-wrapper {
      max-width: 1400px;
      margin: 0 auto 30px;
      padding: 0 40px;
      position: sticky;
      top: 20px;
      z-index: 100;
    }

    .tabs-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      background: rgba(14, 10, 24, 0.7);
      backdrop-filter: var(--glass-backing);
      -webkit-backdrop-filter: var(--glass-backing);
      border: 1px solid var(--border-color);
      padding: 6px;
      border-radius: 14px;
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }

    .tab-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      padding: 10px 18px;
      border-radius: 9px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tab-btn:hover {
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.04);
    }

    .tab-btn.active {
      color: #fff;
      background: var(--accent-violet);
      box-shadow: 0 4px 12px oklch(65% 0.22 288 / 0.35);
    }

    .tab-btn span.badge {
      font-family: var(--font-mono);
      font-size: 10px;
      background: rgba(0, 0, 0, 0.25);
      padding: 2px 6px;
      border-radius: 5px;
      color: var(--text-muted);
    }

    .tab-btn.active span.badge {
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
    }

    /* Filter & Search Bar */
    .filter-bar {
      max-width: 1400px;
      margin: 0 auto 30px;
      padding: 0 40px;
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .search-input {
      flex: 1;
      min-width: 280px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      padding: 12px 20px;
      border-radius: 10px;
      font-family: var(--font-body);
      font-size: 14px;
      color: #fff;
      outline: none;
      transition: all 0.25s ease;
    }

    .search-input:focus {
      border-color: var(--border-hover);
      background: rgba(255, 255, 255, 0.07);
      box-shadow: 0 0 15px oklch(65% 0.22 288 / 0.15);
    }

    .tag-filter-btn {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 500;
      padding: 8px 14px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .tag-filter-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
    }

    .tag-filter-btn.active {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      background: oklch(72% 0.16 200 / 0.08);
    }

    /* Cards Grid */
    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 40px;
    }

    .grid-cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
      gap: 20px;
      animation: fadeIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Glassmorphic Card */
    .card {
      background: var(--bg-card);
      backdrop-filter: var(--glass-backing);
      -webkit-backdrop-filter: var(--glass-backing);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    }

    .card:hover {
      transform: translateY(-5px);
      background: var(--bg-card-hover);
      border-color: var(--border-hover);
      box-shadow: 0 20px 40px -10px oklch(65% 0.22 288 / 0.15);
    }

    .card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .card-id {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 600;
      color: var(--accent-cyan);
      background: rgba(0, 0, 0, 0.3);
      padding: 3px 8px;
      border-radius: 6px;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .card-tag {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 10px;
      border-radius: 100px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .card-tag:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.12);
      filter: brightness(1.15);
    }

    .tag-fxinator {
      background: oklch(76% 0.15 48 / 0.08);
      color: var(--accent-amber);
      border: 1px solid oklch(76% 0.15 48 / 0.2);
    }

    .tag-chatfx {
      background: oklch(65% 0.22 288 / 0.08);
      color: var(--accent-violet);
      border: 1px solid oklch(65% 0.22 288 / 0.2);
    }

    .tag-stream {
      background: oklch(70% 0.18 145 / 0.08);
      color: var(--accent-emerald);
      border: 1px solid oklch(70% 0.18 145 / 0.2);
    }

    .tag-hybrid {
      background: oklch(68% 0.22 340 / 0.08);
      color: var(--accent-pink);
      border: 1px solid oklch(68% 0.22 340 / 0.2);
    }

    .tag-synthesis {
      background: oklch(72% 0.16 200 / 0.08);
      color: var(--accent-cyan);
      border: 1px solid oklch(72% 0.16 200 / 0.25);
    }

    h3 {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      color: #fff;
    }

    .desc {
      font-size: 13.5px;
      color: var(--text-muted);
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .math-block {
      background: rgba(0, 0, 0, 0.45);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 10px;
      padding: 12px 16px;
      margin-bottom: 14px;
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent-cyan);
      overflow-x: auto;
    }

    .math-title {
      display: block;
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-faint);
      margin-bottom: 4px;
    }

    .code-inspect {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-faint);
      background: rgba(0,0,0,0.25);
      padding: 10px 14px;
      border-radius: 8px;
      border-left: 3px solid var(--accent-violet);
      white-space: pre-wrap;
      word-break: break-all;
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
    }

    .code-inspect:hover {
      color: #fff;
      background: rgba(255,255,255,0.03);
    }

    /* Sandbox Container */
    .sandbox-layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 30px;
      min-height: 580px;
      margin-top: 20px;
    }

    .sandbox-controls {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 24px;
      backdrop-filter: var(--glass-backing);
      -webkit-backdrop-filter: var(--glass-backing);
    }

    .control-group {
      margin-bottom: 24px;
    }

    .control-group h4 {
      font-family: var(--font-display);
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent-cyan);
      margin-bottom: 12px;
    }

    .sandbox-presets-bar {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      background: rgba(0, 0, 0, 0.45);
      border: 1px solid var(--border-color);
      padding: 4px;
      border-radius: 12px;
      gap: 4px;
      margin-bottom: 8px;
    }

    .preset-btn {
      background: transparent;
      border: 1px solid transparent;
      color: var(--text-muted);
      font-family: var(--font-display);
      font-size: 11px;
      font-weight: 600;
      padding: 8px 4px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
      text-align: center;
    }

    .preset-btn:hover {
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.04);
    }

    .preset-btn.active {
      color: #fff;
      background: var(--accent-violet);
      box-shadow: 0 4px 12px oklch(65% 0.22 288 / 0.25);
    }

    .sandbox-slider {
      width: 100%;
      margin: 8px 0;
      accent-color: var(--accent-violet);
    }

    .combinator-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
      margin-bottom: 6px;
      background: rgba(255, 255, 255, 0.01);
    }

    .combinator-item:hover {
      background: rgba(255, 255, 255, 0.04);
      border-color: rgba(0, 240, 255, 0.15);
      transform: translateX(2px);
    }

    .combinator-item.checked {
      background: rgba(0, 240, 255, 0.05);
      border-color: rgba(0, 240, 255, 0.3);
      box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.03);
    }


    .sandbox-stage {
      background: #020205;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
      cursor: crosshair;
    }

    /* Sandbox Demos styling */
    .gooey-canvas-container {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      filter: url('#ferro-goo');
    }

    .gooey-blob {
      position: absolute;
      background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
      border-radius: 50%;
      pointer-events: none;
      mix-blend-mode: screen;
      transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .particle-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    /* 3D Perspective Grid */
    .perspective-grid-container {
      perspective: 350px;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      pointer-events: none;
    }

    .grid-floor {
      width: 200%;
      height: 200%;
      transform: rotateX(65deg) translateY(-25%);
      background-image:
        linear-gradient(rgba(139, 92, 246, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.15) 1px, transparent 1px);
      background-size: 40px 40px;
      background-position: center top;
      animation: gridScroll 10s linear infinite;
    }

    @keyframes gridScroll {
      0% { background-position-y: 0px; }
      100% { background-position-y: 400px; }
    }

    .grid-crt-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.3) 3px);
      pointer-events: none;
    }

    /* Liquid Frame Meniscus */
    .liquid-frame {
      width: 240px;
      height: 160px;
      border: 1px solid rgba(139,92,246,0.3);
      background: rgba(16,12,28,0.6);
      border-radius: 20px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: url('#ferro-goo');
    }

    .liquid-meniscus-blob {
      position: absolute;
      width: 100%;
      height: 100%;
      border: 6px solid var(--accent-cyan);
      border-radius: 20px;
      animation: waveMorph 4s ease-in-out infinite alternate;
    }

    @keyframes waveMorph {
      0% { border-radius: 20px 24px 18px 22px; }
      50% { border-radius: 24px 18px 22px 20px; }
      100% { border-radius: 18px 22px 20px 24px; }
    }

    /* Developer Integration tab styling */
    .dev-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .code-editor-frame {
      background: #0b0813;
      border: 1px solid var(--border-color);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow-premium);
    }

    .editor-header {
      background: rgba(0,0,0,0.4);
      padding: 12px 20px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .file-name {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent-cyan);
    }

    .editor-controls {
      display: flex;
      gap: 6px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
    }

    .dot-red { background: #ff5f56; }
    .dot-yellow { background: #ffbd2e; }
    .dot-green { background: #27c93f; }

    pre code {
      font-family: var(--font-mono);
      font-size: 13px;
      line-height: 1.5;
      color: #e2d9f3;
      display: block;
      padding: 24px;
      overflow-x: auto;
    }

    .keyword { color: #f43f5e; }
    .type { color: #8b5cf6; }
    .string { color: #10b981; }
    .comment { color: rgba(244, 241, 255, 0.35); }
    .attribute { color: #fbbf24; }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
    }

    /* Floating Toast helper */
    .toast {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: rgba(16, 12, 28, 0.9);
      border: 1px solid var(--border-hover);
      color: #fff;
      padding: 12px 24px;
      border-radius: 10px;
      font-size: 13px;
      font-family: var(--font-body);
      backdrop-filter: var(--glass-backing);
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      z-index: 1000;
    }

    .combinator-stack-badge {
      margin: 0 0 10px;
      padding: 8px 10px;
      border-radius: 8px;
      font-family: var(--font-mono);
      font-size: 10px;
      line-height: 1.4;
      color: var(--text-muted);
      background: rgba(0, 0, 0, 0.25);
      border: 1px dashed var(--border-color);
      transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    }

    .combinator-stack-badge--active {
      color: var(--accent-cyan);
      background: rgba(0, 240, 255, 0.06);
      border-color: rgba(0, 240, 255, 0.28);
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    /* Horizontal Target Aspect Selector and Interactive Overlays */
    .aspect-btn.active {
      color: #fff !important;
      background: var(--accent-cyan) !important;
      box-shadow: 0 4px 12px oklch(72% 0.16 200 / 0.25) !important;
    }

    .aspect-btn {
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .aspect-btn:hover:not(.active) {
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.04);
    }

    /* 1. Gooey Aspect Styles */
    .gooey-text-stage {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
      user-select: none;
    }

    .gooey-char-wrapper {
      display: flex;
      gap: 2px;
      font-family: var(--font-display);
      font-size: 38px;
      font-weight: 800;
      color: #fff;
      pointer-events: auto;
    }

    .gooey-char {
      display: inline-block;
      transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
      will-change: transform;
      pointer-events: auto;
    }

    .gooey-buttons-stage {
      display: flex;
      gap: 30px;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
    }

    .gooey-btn {
      background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
      border: none;
      border-radius: 25px;
      color: #fff;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      padding: 12px 28px;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
      position: relative;
      z-index: 10;
      pointer-events: auto;
      transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .gooey-btn:hover {
      transform: scale(1.08);
    }

    /* 2. Ash Aspect Styles */
    .ash-text-stage {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
    }

    .ash-char {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 42px;
      font-weight: 800;
      color: var(--accent-pink);
      cursor: pointer;
      user-select: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
      padding: 0 4px;
      pointer-events: auto;
    }

    .ash-buttons-stage {
      display: flex;
      gap: 30px;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
    }

    .ash-btn {
      background: rgba(10, 8, 16, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      color: #fff;
      font-family: var(--font-mono);
      font-size: 13px;
      padding: 12px 24px;
      cursor: pointer;
      position: relative;
      pointer-events: auto;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }

    .ash-btn:hover {
      border-color: var(--accent-cyan);
      box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
      transform: translateY(-2px);
    }

    /* 3. Grid Aspect Styles */
    .grid-hud-stage {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
      transform-style: preserve-3d;
    }

    .grid-hud-card {
      background: rgba(4, 8, 16, 0.85);
      border: 1px dashed var(--accent-cyan);
      border-radius: 8px;
      padding: 20px;
      width: 320px;
      font-family: var(--font-mono);
      color: var(--accent-cyan);
      text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
      transform-style: preserve-3d;
      will-change: transform;
      pointer-events: auto;
    }

    .grid-hud-card h5 {
      border-bottom: 1px dashed var(--accent-cyan);
      padding-bottom: 8px;
      margin-bottom: 10px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .grid-hud-card p {
      font-size: 10px;
      line-height: 1.5;
      margin-bottom: 6px;
    }

    .grid-buttons-stage {
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
      transform-style: preserve-3d;
    }

    .grid-btn {
      background: rgba(139, 92, 246, 0.15);
      border: 1px solid var(--accent-violet);
      border-radius: 6px;
      color: #fff;
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      padding: 10px 20px;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      pointer-events: auto;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      transform-style: preserve-3d;
    }

    .grid-btn:hover {
      background: var(--accent-violet);
      box-shadow: 0 0 15px oklch(65% 0.22 288 / 0.4);
      transform: translateZ(10px);
    }

    /* 4. Meniscus Aspect Styles */
    .meniscus-text-stage {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
    }

    .meniscus-envelope-card {
      background: rgba(12, 10, 20, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 24px;
      width: 290px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 15px 35px rgba(0,0,0,0.6);
      pointer-events: auto;
      transition: border-radius 0.2s ease, transform 0.2s ease;
      will-change: border-radius, transform;
    }

    .meniscus-envelope-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet));
    }

    .meniscus-envelope-card label {
      font-size: 8px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-faint);
      display: block;
      margin-bottom: 6px;
    }

    .meniscus-input-fake {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 6px;
      height: 38px;
      margin-bottom: 12px;
      width: 100%;
      display: flex;
      align-items: center;
      padding-left: 10px;
      font-size: 11px;
      color: var(--text-muted);
    }

    .meniscus-buttons-stage {
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
    }

    }

    /* ==========================================================================
       SWIFTUI LIQUID GLASS SYSTEM - PREMIUM MOCKUPS & WIDGETS
       ========================================================================== */
    .swiftui-aspect-screen {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 15;
      display: none;
    }

    /* Screen z-index hierarchies for cohesive app stacking */
    #screen-spatial { z-index: 2; }       /* viewfinder background */
    #screen-navigation { z-index: 85; }  /* top nav & bottom dock */
    #screen-input { z-index: 50; }       /* glass sliding keyboard */
    #screen-feedback { z-index: 90; }    /* top overlay notifications */
    #screen-identity { z-index: 75; }    /* FaceID center frame */
    
    /* Interactive pointer enabling */
    .swiftui-aspect-screen * {
      pointer-events: auto;
    }

    /* Premium Glassmorphic widgets */
    .glass-widget-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 14px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      color: var(--text-main);
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .glass-widget-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: 0 12px 40px rgba(0, 240, 255, 0.15);
    }

    /* Appearance card grid */
    .appearance-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      width: calc(100% - 32px);
      position: absolute;
      top: 90px;
      left: 16px;
    }
    .appearance-card {
      cursor: pointer;
      text-align: center;
      transform: scale(1);
      opacity: 1;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .appearance-card.hidden {
      transform: scale(0.6) translateY(20px);
      opacity: 0;
      pointer-events: none;
    }

    /* Tap / Press widgets */
    .tap-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .heart-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      align-self: center;
      position: relative;
    }
    .heart-btn.liked {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.4);
      color: #ef4444;
      transform: scale(1.15);
      box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    }
    
    /* Tactile segmented controllers */
    .segmented-control-glass {
      display: flex;
      background: rgba(0, 0, 0, 0.3);
      padding: 3px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      gap: 2px;
    }
    .segment-tab-glass {
      flex: 1;
      padding: 6px 0;
      text-align: center;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.25s ease;
    }
    .segment-tab-glass.active {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    /* Spring-based toggle switches */
    .spring-switch-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 4px 0;
    }
    .spring-switch-track {
      width: 44px;
      height: 24px;
      background: rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      position: relative;
      cursor: pointer;
      transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .spring-switch-track.active {
      background: var(--accent-emerald);
    }
    .spring-switch-thumb {
      width: 18px;
      height: 18px;
      background: #fff;
      border-radius: 50%;
      position: absolute;
      top: 3px;
      left: 3px;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .spring-switch-track.active .spring-switch-thumb {
      transform: translateX(20px);
    }

    /* Dragable elements */
    .drag-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    /* Rotary dial slider */
    .rotary-dial-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 10px;
    }
    .rotary-dial {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
      border: 1.5px solid rgba(255, 255, 255, 0.15);
      position: relative;
      cursor: grab;
      box-shadow: inset 0 2px 4px rgba(255,255,255,0.05), 0 6px 16px rgba(0,0,0,0.3);
      transition: transform 0.1s linear;
    }
    .rotary-dial:active {
      cursor: grabbing;
    }
    .rotary-dial.dial-detent-pulse {
      box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.05),
        0 0 0 2px rgba(0, 240, 255, 0.45),
        0 0 22px rgba(139, 92, 246, 0.55);
      transition: transform 0.08s linear, box-shadow 0.12s ease-out;
    }
    .rotary-indicator {
      width: 6px;
      height: 6px;
      background: var(--accent-cyan);
      border-radius: 50%;
      position: absolute;
      top: 10px;
      left: calc(50% - 3px);
      box-shadow: 0 0 8px var(--accent-cyan);
    }
    /* Draggable list card */
    .swipe-list-item {
      position: relative;
      height: 48px;
      border-radius: 12px;
      background: rgba(255, 68, 68, 0.15); /* Background delete color */
      overflow: hidden;
    }
    .swipe-foreground-card {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 0 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: grab;
      box-shadow: 0 3px 10px rgba(0,0,0,0.15);
      will-change: transform;
      user-select: none;
    }
    .swipe-foreground-card:active {
      cursor: grabbing;
    }

    /* Menus context card */
    .menus-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .settings-list-glass {
      display: flex;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      overflow: hidden;
    }
    .settings-row-glass {
      padding: 10px 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      cursor: pointer;
      transition: background 0.2s ease;
    }
    .settings-row-glass:last-child {
      border-bottom: none;
    }
    .settings-row-glass:hover {
      background: rgba(255, 255, 255, 0.05);
    }
    .long-press-indicator-ring {
      width: 100%;
      text-align: center;
      font-size: 10px;
      color: var(--text-faint);
      margin-top: 4px;
    }
    .context-modal-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .context-modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .context-modal-card {
      width: 180px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 16px;
      padding: 6px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.4);
      transform: scale(0.85);
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .context-modal-overlay.active .context-modal-card {
      transform: scale(1);
    }
    .context-option-glass {
      padding: 8px 12px;
      font-size: 12px;
      color: #fff;
      cursor: pointer;
      border-radius: 10px;
      transition: background 0.2s ease;
    }
    .context-option-glass:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    /* Navigation top header & floating dock */
    .frosted-top-header {
      position: absolute;
      top: 32px;
      left: 0;
      width: 100%;
      height: 52px;
      background: rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(25px) saturate(180%);
      -webkit-backdrop-filter: blur(25px) saturate(180%);
      border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px;
      color: #fff;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    .floating-app-dock {
      position: absolute;
      bottom: 24px;
      left: 12px;
      width: calc(100% - 24px);
      height: 60px;
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(30px) saturate(190%);
      -webkit-backdrop-filter: blur(30px) saturate(190%);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      box-shadow: 0 12px 35px rgba(0,0,0,0.3);
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 0 10px;
    }
    .dock-icon-glass {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      position: relative;
      transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .dock-icon-glass:hover {
      transform: translateY(-4px) scale(1.08);
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(0, 240, 255, 0.3);
      box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
    }
    .dock-indicator-dot {
      position: absolute;
      bottom: 4px;
      width: 4px;
      height: 4px;
      background: var(--accent-cyan);
      border-radius: 50%;
      box-shadow: 0 0 6px var(--accent-cyan);
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    .dock-icon-glass.active .dock-indicator-dot {
      opacity: 1;
    }

    /* Streaming widgets */
    .streaming-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .pulsing-audio-bars {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 3px;
      height: 40px;
      padding: 10px 0;
    }
    .audio-bar-glass {
      width: 4px;
      height: 6px;
      background: var(--accent-violet);
      border-radius: 2px;
      transition: height 0.1s ease;
    }
    .media-scrubber-track {
      width: 100%;
      height: 6px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 3px;
      position: relative;
      cursor: pointer;
    }
    .media-scrubber-progress {
      height: 100%;
      width: 35%;
      background: var(--accent-violet);
      border-radius: 3px;
      box-shadow: 0 0 8px var(--accent-violet);
    }
    .media-scrubber-knob {
      width: 12px;
      height: 12px;
      background: #fff;
      border-radius: 50%;
      position: absolute;
      top: -3px;
      left: calc(35% - 6px);
      box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    /* Input & Virtual Keyboard screen */
    .input-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .search-bar-glass {
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 6px 12px;
      gap: 8px;
    }
    .search-input-fake {
      flex: 1;
      font-size: 12px;
      color: #fff;
      font-family: var(--font-mono);
      min-height: 16px;
      text-align: left;
    }
    .input-pill-container {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .input-pill-tag {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      padding: 4px 10px;
      font-size: 9px;
      font-family: var(--font-display);
      font-weight: 500;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .input-pill-tag.active {
      background: rgba(139, 92, 246, 0.18);
      border-color: rgba(139, 92, 246, 0.4);
      color: #fff;
    }
    
    /* Glass keyboard */
    .glass-keyboard {
      position: absolute;
      bottom: 24px;
      left: 8px;
      width: calc(100% - 16px);
      background: rgba(15, 15, 20, 0.12);
      backdrop-filter: blur(35px) saturate(180%);
      -webkit-backdrop-filter: blur(35px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 8px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.4);
      display: flex;
      flex-direction: column;
      gap: 6px;
      transform: translateY(0);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .kbd-row {
      display: flex;
      justify-content: center;
      gap: 4px;
    }
    .kbd-key {
      flex: 1;
      height: 34px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 6px;
      color: #fff;
      font-size: 12px;
      font-family: var(--font-display);
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      user-select: none;
      transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
      box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    .kbd-key:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.2);
    }
    .kbd-key:active {
      transform: scale(0.85);
      background: rgba(255, 255, 255, 0.2);
      box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
    }

    /* Feedback & Alert banners */
    .feedback-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .gooey-checkmark-card {
      text-align: center;
      padding: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .gooey-checkmark-ring {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.12);
      border: 1.5px solid rgba(16, 185, 129, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-emerald);
      font-size: 18px;
      box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
    }
    .error-shaking-banner {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.3);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 12px;
      padding: 10px 14px;
      font-size: 11px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
      cursor: pointer;
      position: absolute;
      top: 32px;
      left: 12px;
      width: calc(100% - 24px);
      z-index: 120;
      opacity: 0;
      transform: translateY(-20px);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .error-shaking-banner.active {
      opacity: 1;
      transform: translateY(0);
    }
    .error-shaking-banner.shake {
      animation: shake-error 0.5s cubic-bezier(.36,.07,.19,.97) both;
    }
    @keyframes shake-error {
      10%, 90% { transform: translate3d(-1px, 0, 0); }
      20%, 80% { transform: translate3d(2px, 0, 0); }
      30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
      40%, 60% { transform: translate3d(4px, 0, 0); }
    }

    /* Identity & Spotlight Profile Avatars & FaceID */
    .identity-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      justify-content: space-around;
      padding: 10px;
    }
    .spotlit-avatar {
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1.5px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .spotlit-avatar::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .spotlit-avatar:hover::after {
      opacity: 1;
    }
    
    .faceid-scanner-overlay {
      position: absolute;
      top: calc(50% - 60px);
      left: calc(50% - 60px);
      width: 120px;
      height: 120px;
      border: 2px dashed rgba(0, 240, 255, 0.3);
      border-radius: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: rotate-scanner 12s linear infinite;
    }
    @keyframes rotate-scanner {
      100% { transform: rotate(360deg); }
    }
    .faceid-laser-line {
      position: absolute;
      left: 10px;
      width: 100px;
      height: 2px;
      background: var(--accent-cyan);
      box-shadow: 0 0 10px var(--accent-cyan);
      animation: scan-laser 2.5s ease-in-out infinite alternate;
    }
    @keyframes scan-laser {
      0% { top: 15px; }
      100% { top: 105px; }
    }

    /* Reveal Reward Card & Scratch canvas */
    .reveal-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .scratch-card-box {
      width: 160px;
      height: 160px;
      border-radius: 20px;
      background: radial-gradient(circle at center, #fbbf24, #d97706);
      border: 1px solid rgba(251, 191, 36, 0.3);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;
      box-shadow: 0 10px 30px rgba(217, 119, 6, 0.25);
    }
    .scratch-card-box .gold-badge {
      font-size: 40px;
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    }
    .voucher-scratch-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      cursor: crosshair;
      border-radius: 20px;
    }

    /* Data & Interactive Chart popup */
    .data-container {
      position: absolute;
      top: 90px;
      left: 16px;
      width: calc(100% - 32px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .chart-tooltip-glass {
      position: absolute;
      top: 15px;
      left: 15px;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      padding: 4px 8px;
      font-size: 9px;
      font-family: var(--font-mono);
      color: var(--accent-cyan);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s ease;
      z-index: 10;
    }
    .chart-dot-pulsing {
      width: 8px;
      height: 8px;
      background: #fff;
      border: 2px solid var(--accent-cyan);
      border-radius: 50%;
      position: absolute;
      transform: translate(-50%, -50%);
      pointer-events: none;
      opacity: 0;
      box-shadow: 0 0 8px var(--accent-cyan);
    }

    /* Spatial Viewfinder and crop box */
    .spatial-viewport-box {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 1.5px dashed rgba(0, 240, 255, 0.2);
      pointer-events: none;
    }
    .spatial-corner {
      position: absolute;
      width: 16px;
      height: 16px;
      border: 2px solid var(--accent-cyan);
      pointer-events: none;
    }
    .spatial-corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
    .spatial-corner.tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
    .spatial-corner.bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
    .spatial-corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }
    .spatial-horizon-line {
      position: absolute;
      top: 50%;
      left: 10%;
      width: 80%;
      height: 1px;
      background: rgba(255, 255, 255, 0.25);
      box-shadow: 0 0 4px rgba(255,255,255,0.4);
      transform-origin: center;
      transition: transform 0.1s linear;
    }

    /* ==========================================================================
       PHYSICAL DEVICE MOCKUP FRAME & TELEMETRY SYSTEMS (iOS 26 / iPhone 17 Pro)
       ========================================================================== */

    /* Sandbox Outer Dock Platform */
    .sandbox-stage-outer {
      flex: 1;
      min-height: 680px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle at center, rgba(15, 10, 30, 0.4) 0%, rgba(2, 2, 5, 0.8) 100%);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      overflow: hidden;
      padding: 20px;
      position: relative;
      box-shadow: inset 0 4px 30px rgba(0, 0, 0, 0.4);
    }

    /* Premium Physical Device Mockup Frame */
    .device-mock-frame {
      position: relative;
      background: #000;
      border: 8px solid #1a1a24;
      border-radius: 44px;
      box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(100, 80, 255, 0.08),
        inset 0 0 2px 2px rgba(255, 255, 255, 0.1),
        inset 0 0 10px rgba(0, 0, 0, 0.8);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-sizing: content-box;
      max-width: 100%;
    }

    /* Screen reflection shine */
    .device-glare {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
      pointer-events: none;
      z-index: 100;
    }

    /* Bezel metallic trim ring */
    .device-bezel-ring {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: inherit;
      pointer-events: none;
      z-index: 102;
    }

    /* Speaker Ear Piece */
    .device-speaker {
      position: absolute;
      top: 4px;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 3px;
      background: #111;
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 2px;
      z-index: 103;
      display: none;
    }

    /* Dynamic status bar style */
    .device-status-bar {
      height: 48px;
      width: 100%;
      background: rgba(2, 2, 5, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      font-size: 11px;
      font-family: var(--font-display);
      font-weight: 600;
      color: #fff;
      position: relative;
      z-index: 99;
      box-sizing: border-box;
      user-select: none;
      transition: all 0.3s ease;
    }

    /* Left side status metrics */
    .status-left {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
    }

    .status-time {
      font-feature-settings: "tnum";
    }

    /* CYBERPUNK iOS 26 Telemetry Widgets */
    .status-quantum-telemetry {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      opacity: 0.9;
    }
    .status-badge {
      font-size: 8px;
      font-weight: 700;
      padding: 1px 4px;
      border-radius: 4px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-family: var(--font-mono);
      animation: pulseQuantum 2s infinite ease-in-out;
    }

    @keyframes pulseQuantum {
      0%, 100% { opacity: 0.6; box-shadow: 0 0 2px var(--accent-cyan); }
      50% { opacity: 1; box-shadow: 0 0 8px var(--accent-cyan); }
    }

    /* Right side status metrics */
    .status-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex: 1;
    }

    .status-battery-container {
      display: flex;
      align-items: center;
    }

    .status-battery {
      display: flex;
      align-items: center;
      gap: 4px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 6px;
      padding: 1px 4px;
      font-family: var(--font-mono);
      font-size: 9px;
    }

    /* Dynamic Island notch design */
    .device-notch-island {
      width: 110px;
      height: 30px;
      background: #000;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      position: absolute;
      left: 50%;
      top: 9px;
      transform: translateX(-50%);
      transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.6);
      z-index: 101;
    }

    .device-notch-island:hover {
      width: 240px;
      height: 36px;
      box-shadow: 
        0 4px 30px rgba(0,0,0,0.8),
        0 0 15px rgba(0, 240, 255, 0.2);
      border-color: rgba(0, 240, 255, 0.3);
    }

    .island-camera {
      width: 8px;
      height: 8px;
      background: radial-gradient(circle, #081030 0%, #000 70%);
      border-radius: 50%;
      border: 1px solid #111;
      position: absolute;
      right: 18px;
    }

    /* Capacitor Home Button (For SE model) */
    .device-home-button {
      height: 60px;
      width: 100%;
      background: rgba(2, 2, 5, 0.95);
      display: none;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 99;
      border-top: 1px solid rgba(255,255,255,0.03);
      cursor: pointer;
    }

    .home-button-ring {
      width: 44px;
      height: 44px;
      border: 2px solid rgba(255, 255, 255, 0.15);
      border-radius: 50%;
      transition: all 0.2s ease;
      background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
      box-sizing: border-box;
    }

    .device-home-button:hover .home-button-ring {
      border-color: var(--accent-cyan);
      box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    }
    
    .device-home-button:active .home-button-ring {
      transform: scale(0.95);
      background: radial-gradient(circle, var(--accent-cyan) 10%, rgba(255,255,255,0.02) 80%);
      box-shadow: 
        0 0 20px var(--accent-cyan),
        inset 0 0 10px rgba(0,240,255,0.2);
    }

    /* Swipe home indicator */
    .device-home-indicator {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 130px;
      height: 5px;
      background: rgba(255, 255, 255, 0.45);
      border-radius: 3px;
      z-index: 100;
      pointer-events: none;
      transition: all 0.3s ease;
    }

    /* UI aspect checkbox indicators */
    .aspect-checkbox-indicator {
      width: 12px;
      height: 12px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 50%;
      display: inline-block;
      position: relative;
      transition: all 0.2s ease;
      background: rgba(0, 0, 0, 0.2);
      flex-shrink: 0;
    }
    .aspect-btn.active .aspect-checkbox-indicator {
      border-color: var(--accent-cyan);
      background: radial-gradient(circle, var(--accent-cyan) 60%, transparent 70%);
      box-shadow: 0 0 6px var(--accent-cyan);
    }

    /* CSS Override for sandbox stage nested in the physical device */
    .device-mock-frame .sandbox-stage {
      flex: 1;
      width: 100% !important;
      height: 100% !important;
      min-height: 0 !important;
      border: none !important;
      border-radius: 0 !important;
      box-shadow: none !important;
    }

    /* Empty state inside sandbox Stage */
    .sandbox-empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background: rgba(2, 2, 5, 0.9);
      z-index: 50;
      color: var(--text-faint);
      padding: 30px;
      text-align: center;
      animation: fadeIn 0.3s ease;
    }

    .sandbox-empty-state h5 {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .sandbox-empty-state p {
      font-size: 11px;
      line-height: 1.4;
      max-width: 200px;
      margin: 0;
    }

    /* ⚡ PREMIUM SYNTHESIS CUSTOM COMBINATOR STYLES */
    .combinator-goo-active {
      filter: url('#ferro-goo') !important;
    }
    .crystalline-active {
      clip-path: polygon(0% 0%, 100% 0%, 92% 100%, 8% 100%) !important;
      border: 1px solid rgba(0, 240, 255, 0.45) !important;
      box-shadow: 0 0 15px rgba(0, 240, 255, 0.25) !important;
      transition: clip-path 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .caustics-active {
      background-image: repeating-conic-gradient(from var(--caustics-angle, 0deg) at 50% 50%, var(--bg-card) 0%, oklch(58% 0.16 220 / 0.15) 10%, var(--bg-card) 20%) !important;
    }
    .scanlines-active {
      position: relative;
    }
    .scanlines-active::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 240, 255, 0.04) 1px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.08) 3px
      );
      pointer-events: none;
      z-index: 10;
      border-radius: inherit;
      animation: scanlineScroll 6s linear infinite;
    }
    @keyframes scanlineScroll {
      0% { background-position: 0 0; }
      100% { background-position: 0 100%; }
    }
    .noise-active {
      position: relative;
    }
    .noise-active::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.07'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 11;
      border-radius: inherit;
    }
    .aurora-active {
      position: relative;
    }
    .aurora-active::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(16, 185, 129, 0.22) 100%);
      mix-blend-mode: screen;
      pointer-events: none;
      z-index: 8;
      border-radius: inherit;
      animation: auroraWave 6s ease-in-out infinite alternate;
    }
    @keyframes auroraWave {
      0% { opacity: 0.3; filter: hue-rotate(0deg); }
      100% { opacity: 0.9; filter: hue-rotate(180deg); }
    }
    .taproot-active {
      box-shadow: 0 0 15px var(--accent-emerald), inset 0 0 8px rgba(16, 185, 129, 0.3) !important;
      border: 1px solid var(--accent-emerald) !important;
      transition: all 0.3s ease;
    }

    /* TYPING DYNAMIC AXES ANIMATIONS */
    .slipstream-char {
      display: inline-block;
      animation: slipstreamIn 0.35s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    }
    @keyframes slipstreamIn {
      0% { transform: translateX(35px) skewX(-20deg); filter: blur(4px); opacity: 0; }
      100% { transform: translateX(0) skewX(0deg); filter: blur(0px); opacity: 1; }
    }
    .drop-char {
      display: inline-block;
      animation: dropIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    @keyframes dropIn {
      0% { transform: translateY(-40px); opacity: 0; }
      60% { transform: translateY(5px); }
      80% { transform: translateY(-2px); }
      100% { transform: translateY(0); opacity: 1; }
    }
    .focus-char {
      display: inline-block;
      animation: focusIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    @keyframes focusIn {
      0% { transform: scale(2.5); filter: blur(6px); opacity: 0; }
      100% { transform: scale(1); filter: blur(0); opacity: 1; }
    }
    .splitflap-char {
      display: inline-block;
      perspective: 100px;
      transform-origin: center bottom;
      animation: splitflapIn 0.45s cubic-bezier(0.2, 0.85, 0.3, 1) forwards;
    }
    @keyframes splitflapIn {
      0% { transform: rotateX(-90deg); opacity: 0; }
      100% { transform: rotateX(0deg); opacity: 1; }
    }
    .rainbow-drift {
      animation: rainbowHue 8s linear infinite !important;
    }
    @keyframes rainbowHue {
      0% { color: oklch(75% 0.18 0) !important; }
      50% { color: oklch(75% 0.18 180) !important; }
      100% { color: oklch(75% 0.18 360) !important; }
    }
    .rainbow-drift-bg {
      animation: rainbowHueBg 8s linear infinite !important;
    }
    @keyframes rainbowHueBg {
      0% { background-color: oklch(50% 0.15 0 / 0.15) !important; border-color: oklch(50% 0.15 0 / 0.3) !important; }
      50% { background-color: oklch(50% 0.15 180 / 0.15) !important; border-color: oklch(50% 0.15 180 / 0.3) !important; }
      100% { background-color: oklch(50% 0.15 360 / 0.15) !important; border-color: oklch(50% 0.15 360 / 0.3) !important; }
    }

    .catalog-site-nav {
      position: fixed;
      top: 12px;
      left: 12px;
      z-index: 9999;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .catalog-site-nav a {
      font: 500 12px/1 -apple-system, system-ui, sans-serif;
      padding: 6px 12px;
      border-radius: 8px;
      background: rgba(12, 10, 8, 0.75);
      color: rgba(244, 241, 255, 0.9);
      text-decoration: none;
      border: 1px solid rgba(184, 149, 74, 0.35);
      backdrop-filter: blur(8px);
    }
    .catalog-site-nav a:hover {
      border-color: rgba(0, 240, 255, 0.35);
      color: #fff;
    }

    .combinator-category-hint {
      font-size: 10px;
      line-height: 1.45;
      color: var(--text-faint);
      margin: 0 0 10px;
    }
    .combinator-category-hint strong {
      color: var(--accent-cyan);
      font-weight: 600;
    }

    .preset-btn[data-category="custom"] {
      grid-column: span 2;
      color: var(--accent-cyan);
      border: 1px dashed oklch(72% 0.16 200 / 0.35);
      background: oklch(72% 0.16 200 / 0.04);
    }

    .combinator-search-input {
      width: 100%;
      margin-bottom: 8px;
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      background: rgba(0, 0, 0, 0.35);
      color: #fff;
      font-size: 12px;
      font-family: var(--font-body);
    }
    .combinator-search-input:focus {
      outline: none;
      border-color: rgba(0, 240, 255, 0.4);
    }

    .combinator-list-panel {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      max-height: min(42vh, 320px);
      overflow-y: auto;
      padding: 8px;
    }

    .friction-stall-active {
      transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .friction-stall-stage .glass-card-spatial,
    .friction-stall-stage .profile-card-glass {
      animation: frictionPulse 2.4s ease-in-out infinite;
    }
    @keyframes frictionPulse {
      0%, 35% { transform: translateX(0); }
      45% { transform: translateX(2px); }
      55%, 100% { transform: translateX(0); }
    }

    .phosphor-grid-active #grid-floor,
    .phosphor-grid-stage #grid-floor {
      background-size: 40px 40px;
      animation: gridScrollPhosphor 3s linear infinite;
    }
    @keyframes gridScrollPhosphor {
      0% { background-position: 0 0, 0 var(--grid-scroll-y, 0); }
      100% { background-position: 0 40px, 0 calc(40px + var(--grid-scroll-y, 0)); }
    }

    .ferro-ring-pulse {
      box-shadow: 0 0 0 2px oklch(70% 0.2 320 / 0.35);
    }

    .cascade-stagger-active {
      animation: cascadeIn 0.6s cubic-bezier(0.19, 1, 0.22, 1) backwards;
    }
    .cascade-stagger-stage .glass-card-spatial:nth-child(odd) { animation-delay: 0.05s; }
    .cascade-stagger-stage .glass-card-spatial:nth-child(even) { animation-delay: 0.12s; }
    @keyframes cascadeIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .tap-bloom-active {
      position: relative;
    }
    .tap-bloom-active::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: inherit;
      border: 2px solid oklch(72% 0.2 180 / 0.45);
      animation: tapBloomPulse 1.2s ease-out infinite;
      pointer-events: none;
    }
    @keyframes tapBloomPulse {
      0% { transform: scale(0.85); opacity: 0.9; }
      100% { transform: scale(1.15); opacity: 0; }
    }

    .magnet-snap-active {
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    .telescope-focus-active {
      transform: scale(1.04) !important;
      z-index: 20 !important;
      box-shadow: 0 0 40px oklch(65% 0.18 200 / 0.35) !important;
    }
    .telescope-focus-stage .glass-card-spatial:not(.telescope-focus-active) {
      opacity: 0.55;
      filter: blur(1px);
    }

    .shatter-implode-active {
      clip-path: polygon(8% 0, 92% 0, 100% 35%, 88% 100%, 12% 100%, 0 40%) !important;
      animation: shatterWobble 1.8s ease-in-out infinite alternate;
    }
    @keyframes shatterWobble {
      from { transform: scale(1) rotate(0deg); }
      to { transform: scale(0.98) rotate(0.4deg); }
    }

    .smoke-sort-active {
      filter: blur(2px) opacity(0.85);
      transition: filter 0.4s ease, opacity 0.4s ease;
    }

    .liquid-lens-active {
      backdrop-filter: blur(14px) saturate(180%) !important;
    }

    .meniscus-wave-active {
      animation: meniscusWave 3s ease-in-out infinite;
    }
    @keyframes meniscusWave {
      0%, 100% { border-radius: 18px 22px 20px 16px; }
      50% { border-radius: 24px 14px 26px 12px; }
    }

    .elastic-tether-active {
      outline: 1px dashed oklch(70% 0.16 280 / 0.5);
    }

    @media (max-width: 900px) {
      .sandbox-layout {
        grid-template-columns: 1fr;
      }
      .sandbox-controls {
        max-height: none;
      }
      .combinator-list-panel {
        max-height: min(36vh, 260px);
      }
      .tabs-wrapper,
      .filter-bar,
      header {
        padding-left: 20px;
        padding-right: 20px;
      }
      .catalog-site-nav {
        top: auto;
        bottom: 72px;
        left: 12px;
        right: 12px;
      }
    }
