
    #home { z-index: 10; background: #000; }
    #unit { z-index: 20; background: #000; display: none; }
    #reel { z-index: 30; background: #000; display: none; }

    #head,
    #console,
    #tools,
    #menu {
      position: fixed;
      z-index: 50;
    }

    #head {
      top: 0;
      left: 0;
      right: 0;
      height: calc(var(--head-h) + var(--safe-top));
      padding: calc(var(--safe-top) + 10px) 14px 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(180deg, rgba(0,0,0,.70), rgba(0,0,0,0));
      pointer-events: none;
    }

    #head > * {
      pointer-events: auto;
    }

    #console {
      left: 0;
      right: 0;
      bottom: 0;
      min-height: calc(var(--console-h) + var(--safe-bottom));
      padding: 18px 84px calc(20px + var(--safe-bottom)) 16px;
      background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,0));
      display: none;
    }

    #tools {
      right: 10px;
      bottom: calc(var(--console-h) + 0px + var(--safe-bottom) - 5px);
      width: 56px;
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }

    #menu {
      top: calc(var(--safe-top) + 58px);
      right: 12px;
      min-width: 170px;
      padding: 10px;
      background: rgba(10,10,10,.92);
      border: 1px solid var(--line);
      border-radius: 14px;
      display: none;
      box-shadow: 0 10px 30px rgba(0,0,0,.35);
    }

    .head-btn,
    .menu-btn,
    .tool-btn,
    .ghost-btn,
    .primary-btn {
      border: 0;
      background: transparent;
      color: #fff;
      cursor: pointer;
      font: inherit;
    }

    .head-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(0,0,0,.32);
      border: 1px solid rgba(255,255,255,.12);
      font-size: 24px;
      line-height: 1;

    }

      .head-arrow {
      width: 60px;
      height: 60px;
      display: grid;
      place-items: top;
      background: rgba(0,0,0,0);
      color:white;
      border: 0px;
      font-size: 40px;

    }



    .brand {
      font-size: 24px;
      font-weight: 800;
      text-align:right;
      margin-right:10px;
    }

    .menu-list {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .menu-btn {
      text-align: left;
      padding: 10px 12px;
      border-radius: 10px;
      color: #fff;
    }

    .menu-btn:hover {
      background: rgba(255,255,255,.08);
    }

    .viewport-list {
      width: 100%;
      height: 100%;
      overflow-y: auto;
      scroll-snap-type: y mandatory;
      scrollbar-width: none;
    }

    .viewport-list::-webkit-scrollbar { display: none; }

    .home-card,
    .reel-card {
      position: relative;
      width: 100%;
      height: 100dvh;
      min-height: 100dvh;
      scroll-snap-align: start;
      overflow: hidden;
      background: #000;
    }

    .home-media,
    .reel-media {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      background: #111;
    }

    .home-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.10) 40%, rgba(0,0,0,.68) 100%);
      display: flex;
      align-items: flex-end;
      padding: 18px 18px calc(var(--safe-bottom) + 24px);

    }

    .home-copy {
      max-width: min(600px, calc(100vw - 82px));
    }

    .home-copy h2 {
      margin: 0 0 8px;
      font-size: clamp(20px, 3vw, 28px);
      line-height: 1.1;
       max-width: min(600px, calc(100vw - 82px));
    }

    .home-meta,
    .console-meta {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.45;

    }

    .home-copy p,
    .console-text {
      margin: 8px 0 0;
      font-size: 14px;
      color: #fff;
      line-height: 1.5;
      font-weight: light;
      max-width: min(600px, calc(100vw - 82px));
    }

    .primary-btn,
    .ghost-btn {
      margin-top: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      font-size: 14px;
    }

    .primary-btn {
      background: rgba(255,255,255,.14);
      border: 1px solid rgba(255,255,255,.22);
    }

    .ghost-btn {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.16);
    }

    .unit-shell {
      width: 100%;
      height: 100%;
      overflow-y: auto;
      padding: calc(var(--head-h) + var(--safe-top) + 8px) 0 calc(var(--safe-bottom) + 24px);
      scrollbar-width: none;
    }

    .unit-shell::-webkit-scrollbar { display: none; }

    .unit-hero {
      width: 100%;
      aspect-ratio: 6 / 12;
      max-height: 42dvh;
      background: #111;
      overflow: hidden;
      position: relative;
    }

    .unit-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .unit-body {
      padding: 18px 16px 28px;
      max-width: 900px;
      margin: 0 auto;
    }

    .unit-title {
      margin: 0 0 6px;
      font-size: 26px;
      line-height: 1.1;
    }

    .unit-subtitle {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .unit-price {
      margin: 0 0 16px;
      font-size: 28px;
      font-weight: 700;
    }

    .spec-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 18px;
    }

    .spec {
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255,255,255,.03);
    }

    .spec small {
      display: block;
      color: var(--muted-2);
      font-size: 11px;
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .spec strong {
      font-size: 15px;
      font-weight: 600;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 18px;
    }

    .gallery-item {
      position: relative;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: 111;
      cursor: pointer;
      margin: 0px;
      padding:0px;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      margin: 0px;
    }

    .unit-content {
      margin-top: 18px;
      white-space: pre-line;
      line-height: 1.6;
      color: #f2f2f2;
    }

    .tool-btn {
      width: 42px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0px;
      color: #fff;
      font-size: 11px;
      font-weight:bold;
    }

    .tool-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 0px solid rgba(255,255,255,.16);
      display: grid;
      place-items: center;
      background: trasparent;
      font-size: 20px;
      font-weight:bold;
    }

    .console-title {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .empty-state {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 30px;
      text-align: center;
      color: var(--muted);
    }

    @media (min-width: 768px) {
      .spec-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }
