    :root{
      --ff-display: ubuntu, sans-serif;
      --ff-body: museo-sans, sans-serif;

      --x: 50vw;
      --y: 50vh;
      --r: 170px;

      --bg: #0f0f0f;
      --text: #f1f1f1;
      --muted: #a8a8a8;
      --accent: #ff0033;
      --shadow: 0 10px 30px rgba(0,0,0,.45);

      /* marge de seguretat perquè overlays no tapin controls natius (aprox) */
      --native-controls-safe: 74px;
    }

    *{ box-sizing:border-box; font-family: var(--ff-body);}

    html, body{
      height: 100%;
      margin: 0;
      font-family: var(--ff-body);
      background: #000;
      color: var(--text);
      overflow: hidden;
    }

    /* Cursor oculto SOLO durante intro (linterna) */
    body.intro-active{ cursor: none; }
    body:not(.intro-active){ cursor: auto; }

    /* ---------- Intro global (pantalla completa) ---------- */
    .intro-screen{
      position: fixed;
      inset: 0;
      z-index: 200; /* por encima de TODO */
      background: #000;
      display: grid;
      place-items: center;
      transition: opacity .35s ease, transform .35s ease;
      opacity: 1;
    }
    .intro-screen.hidden{
      opacity: 0;
      transform: scale(1.01);
      pointer-events: none;
    }

    /* Intro images responsive */
    .intro-screen .intro-img{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      z-index: 0;
    }
    .intro-screen .intro-img--mobile{ display: none; }
    @media (max-width: 720px), (max-height: 520px), (orientation: portrait){
      .intro-screen .intro-img--desktop{ display: none; }
      .intro-screen .intro-img--mobile{ display: block; }
    }

    .intro-screen::after{
      content:"";
      position:absolute;
      inset:0;
      background: radial-gradient(900px 520px at 50% 55%, rgba(0,0,0,.10), rgba(0,0,0,.60));
      pointer-events:none;
      z-index: 1;
    }

    /* Linterna SOLO en intro */
    .intro-screen .halo{
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 2;
      mix-blend-mode: screen;
      background: radial-gradient(
        circle calc(var(--r) * 1.05) at var(--x) var(--y),
        rgba(255,255,255,0.35) 0%,
        rgba(255,255,255,0.18) 35%,
        rgba(255,255,255,0.06) 55%,
        rgba(255,255,255,0.0) 72%
      );
      filter: blur(1.5px);
    }
    .intro-screen .darkness{
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 3;
      background: radial-gradient(
        circle var(--r) at var(--x) var(--y),
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 55%,
        rgba(0,0,0,0.9) 75%,
        rgba(0,0,0,1) 100%
      );
    }

    /* Mensaje inferior centrado (solo móvil) */
    .intro-hint{
      position: absolute;
      left: 50%;
      bottom: 10vh;
      transform: translateX(-50%);
      z-index: 4;
      width: min(520px, 86vw);
      text-align: center;
      font-weight: 850;
      letter-spacing: .02em;
      font-size: clamp(16px, 4.5vw, 20px);
      line-height: 1.15;
      color: rgba(255,255,255,.92);
      text-shadow: 0 8px 28px rgba(0,0,0,.65);
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(0,0,0,.28);
      border: 1px solid rgba(255,255,255,.14);
      backdrop-filter: blur(6px);
      transition: opacity .35s ease, transform .35s ease;
      display: none;
    }
    @media (max-width: 720px), (orientation: portrait){
      .intro-hint{ display: block; }
    }
    .intro-screen.hint-hidden .intro-hint{
      /*opacity: 0;
      transform: translateX(-50%) translateY(6px) scale(.99);
      pointer-events: none;*/
    }

    /* Botón play reutilizado (intro + pause overlay) */
    .big-play{
      position: relative;
      z-index: 5; /* por encima de linterna y hint */
      width: 86px;
      height: 86px;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,.92);
      background: rgba(255,255,255,.16);
      display: none;
      place-items: center;
      cursor: pointer;
      backdrop-filter: blur(4px);
    }
    .intro-active .big-play{ display:grid;}
    .big-play.small{ display:grid;}

    .big-play:hover{ background: rgba(255,255,255,.26); }
    .big-play::before{
      content: "";
      width: 0; height: 0;
      border-left: 18px solid rgba(255,255,255,.95);
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
      margin-left: 4px;
    }
    .big-play.small{ width: 70px; height: 70px; }

    /* Play suave con mini-delay */
    .intro-screen .intro-play{
      opacity: 1;
      transform: translateY(0) scale(1);
      transition: opacity .35s ease .18s, transform .35s ease .18s;
    }
    /* En modo móvil: oculto hasta el primer toque */
    .intro-screen.needs-first-tap .intro-play{
      opacity: 0;
      transform: translateY(10px) scale(.98);
      pointer-events: none;
    }
    /* Tras el primer toque: aparece suave */
    .intro-screen.needs-first-tap.play-visible .intro-play{
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    /* ---------- Layout ---------- */
    .app{
      height: 100%;
      display: grid;
      grid-template-rows: 56px 1fr;
      background: var(--bg);
    }

    footer.site-footer{
      position: absolute;
      display: grid;
      width: 100%;
      height: 100px;
      overflow: hidden;
      z-index: 9999;
      bottom: 0;
      right: 0;
    }

    #CookiebotWidget-widgetContent, #CybotCookiebotDialog{ cursor: default;}
    .texto-developed{ display: none !important;}
    #developed{
      opacity: 0;
      transform: translateX(20px);
      pointer-events: none;
      animation: developedShow .35s ease forwards;
      animation-delay: 1s; /* 👈 delay */
    }

    @keyframes developedShow{
      to{
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
      }
    }

    header.site-header{
      position: sticky;
      top: 0;
      z-index: 20;
      display: grid;
      grid-template-columns: auto auto 1fr auto;
      align-items: center;

      padding: 8px 14px;
      min-height: 56px;
      border-bottom: 1px solid rgba(255,255,255,.06);
      background: rgba(15,15,15,.96);
      backdrop-filter: blur(10px);
    }

    .icon-btn{
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 0;
      background: transparent;
      color: var(--text);
      display: grid;
      place-items: center;
      cursor: pointer;
      text-decoration: none;
      user-select: none;
    }
    .icon-btn:hover{ background: rgba(255,255,255,.08); }

    #menuBtn{ margin-right: 5px;}
    .hamburger{ display: grid; gap: 4px; width: 18px; }
    .hamburger span{
      height: 2px;
      width: 18px;
      background: var(--text);
      border-radius: 10px;
      opacity: .9;
    }

    .brand{
      display: flex;
      align-items: center;
      gap: 10px;
      user-select: none;
      min-width: 0;
    }
    .brand img{
      height: 26px;
      width: auto;
      display: block;
      filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
    }

    .header-actions{ display: flex; align-items: center; gap: 6px; }

    .cta-donate{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.22);
      background: rgba(255,255,255,.06);
      color: var(--text);
      text-decoration: none;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
    }
    .cta-donate:hover{ background: rgba(255,255,255,.12); }

    /* Siempre: el botón del header pegado a la derecha */
    .header-actions{
      justify-self: end;
    }

    .no-drawer header.site-header .brand{
      justify-self: start;
    }


    main{
      height: calc(100vh - 56px);
      overflow: auto;
    }

    .page{
      max-width: 1240px;
      margin: 0 auto;
      padding: 18px 16px 60px;
      display: grid;
      gap: 14px;
    }

    /* ---------- Player ---------- */
    .player-wrap{
      position: relative;
      background: #000;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,.08);
      max-height: calc(100vh - 56px - 36px);
    }

    .player{
      position: relative;
      width: 100%;
      aspect-ratio: 9 / 16;
      background: #000;
      max-height: calc(100vh - 56px - 36px);
      margin-inline: auto;
    }

    .player video{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #000;
    }

    @media (max-width: 720px){
      .player video{ object-fit: cover; }
      .big-play.big-play.small{ display: none;}
    }

    /* Overlay play al pausar */
    .pause-overlay{
      position: absolute;
      inset: 0;
      z-index: 8;
      place-items: center;
      pointer-events: none;
      display:none;
      transition: opacity .18s ease;
    }
    .pause-overlay.visible{ display:grid; }
    .pause-overlay .big-play{ pointer-events: auto; }

    /* Botón overlay "Més informació" sobre el vídeo */
    .more-info-overlay{
      position: absolute;
      right: 12px;
      bottom: calc(var(--native-controls-safe) + 12px);
      z-index: 7;
      pointer-events: auto;

      border: 0;
      border-radius: 12px;
      padding: 10px 12px;
      background: rgba(0,0,0,.58);
      color: rgba(255,255,255,.92);
      border: 1px solid rgba(255,255,255,.18);
      backdrop-filter: blur(8px);
      font-weight: 850;
      white-space: nowrap;
      max-width: 56vw;
      overflow: hidden;
      text-overflow: ellipsis;

      cursor: not-allowed;
      opacity: .82;
      transition: opacity .2s ease, transform .2s ease, background .2s ease;
    }
    .more-info-overlay.ready{ cursor: pointer; opacity: 1; }
    .more-info-overlay.ready:hover{
      background: rgba(0,0,0,.70);
      transform: translateY(-1px);
    }

    /* ===== Video meta (debajo del player) ===== */
    .video-meta{
      display: grid;
      gap: 12px;
    }

    .video-title{
      margin: 0;
      padding: 6px 2px 0;
      font-size: clamp(18px, 2.2vw, 26px);
      font-weight: 780;
      letter-spacing: .02em;
      font-family: var(--ff-display);
    }

    .channel-row{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .channel-left{
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .channel-logo{
      height: 100px;
      filter: brightness(0) invert(1);
    }

    .channel-right{
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .pill-btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 999px;
      font-weight: 850;
      text-decoration: none;
      color: rgba(255,255,255,.92);
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.18);
      transition: background .15s ease, transform .15s ease;
      white-space: nowrap;
    }
    .pill-btn:hover{
      background: rgba(255,255,255,.16);
      transform: translateY(-1px);
    }
    .pill-btn--primary{
      background: rgba(255,255,255,.92);
      color: rgba(0,0,0,.88);
      border-color: rgba(255,255,255,.92);
    }
    .yellow-bg{ background: #F8AC30;}
    .pill-btn--primary:hover{ background: rgba(255,255,255,.98); }

    .social-actions{
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .share-wrap{
      position: relative;
      display: inline-flex;
    }

    /* Menú desplegable */
    .share-menu{
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      width: 150px;
      padding: 8px;
      border-radius: 14px;
      background: rgba(18,18,18,.96);
      border: 1px solid rgba(255,255,255,.12);
      box-shadow: 0 18px 50px rgba(0,0,0,.55);
      backdrop-filter: blur(10px);
      display: none;
      z-index: 50;
    }
    .share-wrap.open .share-menu{ display: grid; }

    .share-menu i{
      margin-right: 6px;
    }

    .share-item{
      appearance: none;
      border: 0;
      background: transparent;
      color: rgba(255,255,255,.92);
      text-decoration: none;
      font-weight: 800;
      font-size: 13px;
      padding: 10px 10px;
      border-radius: 12px;
      text-align: left;
      cursor: pointer;
    }
    .share-item:hover{ background: rgba(255,255,255,.10); }
    .share-item:active{ transform: translateY(1px); }
    .share-item.is-ok{ background: rgba(255,255,255,.12); }

    .desc-box{
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
      border-radius: 14px;
      padding: 12px 12px;
      margin-bottom: 70px;
    }
    .desc-section-title{
      padding-top: 12px;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .desc-title{ font-weight: 900; font-size: 17px; }
    .desc-tag{ color: rgba(255,255,255,.70); font-size: 12px; }
    .desc-text{
      margin: 0;
      color: rgba(255,255,255,.82);
      font-size: 15px;
      line-height: 1.3;
      padding: 6px 0;
    }
    .desc-text .strong2{
      font-size: 17px;
      line-height: 1.3;
    }

    .desc-more-btn{
      margin-top: 10px;
      border: 0;
      background: transparent;
      color: rgba(255,255,255,.92);
      font-weight: 900;
      cursor: pointer;
      padding: 6px 0;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .desc-more-btn:hover{
      color: rgba(255,255,255,1);
      text-decoration: underline;
    }
    .desc-more-btn::after{
      content: "›";
      font-size: 18px;
      line-height: 1;
      opacity: .9;
    }

    /* ---------- Drawer ---------- */
    .drawer-backdrop{
      position: fixed;
      inset: 56px 0 0 0;
      background: rgba(0,0,0,.55);
      opacity: 0;
      pointer-events: none;
      transition: opacity .22s ease;
      z-index: 30;
    }
    .drawer{
      position: fixed;
      top: 56px;
      left: 0;
      height: calc(100% - 56px);
      width: min(520px, 92vw);
      background: rgba(18,18,18,.98);
      border-right: 1px solid rgba(255,255,255,.10);
      transform: translateX(-102%);
      transition: transform .22s ease;
      z-index: 31;
      overflow: auto;
      box-shadow: 18px 0 40px rgba(0,0,0,.55);
    }
    .drawer.open{ transform: translateX(0); }
    .drawer-backdrop.open{ opacity: 1; pointer-events: auto; }
    .drawer-head{
      position: sticky;
      top: 0;
      z-index: 2;
      padding: 12px 14px;
      background: rgba(18,18,18,.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .drawer-head b{ font-size: 13px; letter-spacing: .08em; }
    .drawer-close{
      border: 0;
      background: rgba(255,255,255,.10);
      color: var(--text);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 10px;
      padding: 8px 10px;
      cursor: pointer;
      font-weight: 850;
    }
    .drawer-close:hover{ background: rgba(255,255,255,.16); }
    .drawer-body{ padding: 14px; display: grid; gap: 14px; }
    .landing-slot{
      background: rgba(255,255,255,.04);
      border: 1px dashed rgba(255,255,255,.18);
      border-radius: 14px;
      padding: 14px;
    }
    .landing-slot p{
      margin: 0 0 8px 0;
      color: rgba(255,255,255,.80);
      font-size: 13px;
      line-height: 1.35;
    }

    /* Ocultar burger + drawer si se deshabilita con clase */
    .no-drawer #menuBtn,
    .no-drawer #drawer,
    .no-drawer #drawerBackdrop{
      display: none !important;
    }

    @media (max-width: 720px){
      .channel-right{ justify-content: flex-start; }
      .more-info-overlay{ max-width: 86vw; }
    }