/* ViGo — aksen Noken (vigo2)
   Lapisan motif di atas desain asli: hanya tekstur jaring noken pada panel biru.
   Tidak mengganti warna, huruf, tombol, atau tata letak lama.
   Setiap selector diawali html.tema-noken:not(#_) (lihat build_noken.py). */

html.tema-noken:not(#_) {
  --noken-jaring: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2746%27%20height%3D%2746%27%20viewBox%3D%270%200%2046%2046%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23FFE6A6%27%20stroke-opacity%3D%27.5%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%200C10%204%2019%2013%2023%2023S36%2042%2046%2046%27%2F%3E%3Cpath%20d%3D%27M46%200C42%2010%2033%2019%2023%2023S4%2036%200%2046%27%2F%3E%3Cellipse%20cx%3D%2723%27%20cy%3D%2723%27%20rx%3D%273.4%27%20ry%3D%272.3%27%20transform%3D%27rotate%2845%2023%2023%29%27%2F%3E%3Cellipse%20cx%3D%270%27%20cy%3D%270%27%20rx%3D%273.4%27%20ry%3D%272.3%27%20transform%3D%27rotate%2845%200%200%29%27%2F%3E%3Cellipse%20cx%3D%2746%27%20cy%3D%270%27%20rx%3D%273.4%27%20ry%3D%272.3%27%20transform%3D%27rotate%28-45%2046%200%29%27%2F%3E%3Cellipse%20cx%3D%270%27%20cy%3D%2746%27%20rx%3D%273.4%27%20ry%3D%272.3%27%20transform%3D%27rotate%28-45%200%2046%29%27%2F%3E%3Cellipse%20cx%3D%2746%27%20cy%3D%2746%27%20rx%3D%273.4%27%20ry%3D%272.3%27%20transform%3D%27rotate%2845%2046%2046%29%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Beranda: jaring di sisi kanan banner, di belakang foto pimpinan */
html.tema-noken:not(#_) .hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--noken-jaring) 0 0 / 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 80% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 85% at 80% 50%, #000 15%, transparent 72%);
  opacity: .9;
  pointer-events: none;
}
html.tema-noken:not(#_) .hero-copy, html.tema-noken:not(#_) .hero-visual { z-index: 2; }

/* Banner judul halaman portal dan panel jam agenda */
html.tema-noken:not(#_) .portal-hero::before,
html.tema-noken:not(#_) .agenda-display-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--noken-jaring) 0 0 / 46px 46px;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 62%);
  mask-image: linear-gradient(to left, #000 0%, transparent 62%);
  pointer-events: none;
}
html.tema-noken:not(#_) .portal-hero, html.tema-noken:not(#_) .agenda-display-header { position: relative; overflow: hidden; }
html.tema-noken:not(#_) .portal-hero > :not(.papua-scene), html.tema-noken:not(#_) .agenda-display-header > :not(.papua-scene) { position: relative; z-index: 1; }

/* Halaman masuk: jaring di sudut panel kiri */
html.tema-noken:not(#_) .visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--noken-jaring) 0 0 / 46px 46px;
  -webkit-mask-image:
    radial-gradient(ellipse 70% 55% at 100% 0%, #000 10%, transparent 70%),
    radial-gradient(ellipse 60% 45% at 0% 100%, #000 5%, transparent 70%);
  mask-image:
    radial-gradient(ellipse 70% 55% at 100% 0%, #000 10%, transparent 70%),
    radial-gradient(ellipse 60% 45% at 0% 100%, #000 5%, transparent 70%);
  pointer-events: none;
}

@media print {
  html.tema-noken:not(#_) .portal-hero::before, html.tema-noken:not(#_) .agenda-display-header::before, html.tema-noken:not(#_) .hero-card::after { display: none !important; }
}
